likec4 1.20.1 → 1.20.3

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.
@@ -152,12 +152,12 @@ var Za = du(), qo = function() {
152
152
  onScrollCapture: qo,
153
153
  onWheelCapture: qo,
154
154
  onTouchMoveCapture: qo
155
- }), r = o[0], s = o[1], a = e.forwardProps, i = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, p = e.sideCar, f = e.noIsolation, h = e.inert, m = e.allowPinchZoom, v = e.as, y = v === void 0 ? "div" : v, w = e.gapMode, b = Ua(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), S = p, x = lu([n, t]), C = Ye(Ye({}, b), r);
155
+ }), r = o[0], s = o[1], a = e.forwardProps, i = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, p = e.sideCar, f = e.noIsolation, h = e.inert, m = e.allowPinchZoom, y = e.as, v = y === void 0 ? "div" : y, w = e.gapMode, b = Ua(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), S = p, x = lu([n, t]), C = Ye(Ye({}, b), r);
156
156
  return N.createElement(
157
157
  N.Fragment,
158
158
  null,
159
159
  u && N.createElement(S, { sideCar: Za, removeScrollBar: l, shards: d, noIsolation: f, inert: h, setCallbacks: s, allowPinchZoom: !!m, lockRef: n, gapMode: w }),
160
- a ? N.cloneElement(N.Children.only(i), Ye(Ye({}, C), { ref: x })) : N.createElement(y, Ye({}, C, { className: c, ref: x }), i)
160
+ a ? N.cloneElement(N.Children.only(i), Ye(Ye({}, C), { ref: x })) : N.createElement(v, Ye({}, C, { className: c, ref: x }), i)
161
161
  );
162
162
  });
163
163
  Un.defaultProps = {
@@ -190,7 +190,7 @@ function gu(e) {
190
190
  var t = document.head || document.getElementsByTagName("head")[0];
191
191
  t.appendChild(e);
192
192
  }
193
- var vu = function() {
193
+ var yu = function() {
194
194
  var e = 0, t = null;
195
195
  return {
196
196
  add: function(n) {
@@ -200,8 +200,8 @@ var vu = function() {
200
200
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
201
201
  }
202
202
  };
203
- }, yu = function() {
204
- var e = vu();
203
+ }, vu = function() {
204
+ var e = yu();
205
205
  return function(t, n) {
206
206
  N.useEffect(function() {
207
207
  return e.add(t), function() {
@@ -210,7 +210,7 @@ var vu = function() {
210
210
  }, [t && n]);
211
211
  };
212
212
  }, Ja = function() {
213
- var e = yu(), t = function(n) {
213
+ var e = vu(), t = function(n) {
214
214
  var o = n.styles, r = n.dynamic;
215
215
  return e(o, r), null;
216
216
  };
@@ -359,8 +359,8 @@ var It = mr ? { passive: !1 } : !1, _u = function(e) {
359
359
  }, ku = function(e, t, n, o, r) {
360
360
  var s = Au(e, window.getComputedStyle(t).direction), a = s * o, i = n.target, c = t.contains(i), l = !1, u = a > 0, d = 0, p = 0;
361
361
  do {
362
- var f = ni(e, i), h = f[0], m = f[1], v = f[2], y = m - v - s * h;
363
- (h || y) && ti(e, i) && (d += y, p += h), i instanceof ShadowRoot ? i = i.host : i = i.parentNode;
362
+ var f = ni(e, i), h = f[0], m = f[1], y = f[2], v = m - y - s * h;
363
+ (h || v) && ti(e, i) && (d += v, p += h), i instanceof ShadowRoot ? i = i.host : i = i.parentNode;
364
364
  } while (
365
365
  // portaled content
366
366
  !c && i !== document.body || // self content
@@ -389,19 +389,19 @@ function Ou(e) {
389
389
  if (e.inert) {
390
390
  document.body.classList.add("block-interactivity-".concat(r));
391
391
  var m = ou([e.lockRef.current], (e.shards || []).map(Js), !0).filter(Boolean);
392
- return m.forEach(function(v) {
393
- return v.classList.add("allow-interactivity-".concat(r));
392
+ return m.forEach(function(y) {
393
+ return y.classList.add("allow-interactivity-".concat(r));
394
394
  }), function() {
395
- document.body.classList.remove("block-interactivity-".concat(r)), m.forEach(function(v) {
396
- return v.classList.remove("allow-interactivity-".concat(r));
395
+ document.body.classList.remove("block-interactivity-".concat(r)), m.forEach(function(y) {
396
+ return y.classList.remove("allow-interactivity-".concat(r));
397
397
  });
398
398
  };
399
399
  }
400
400
  }, [e.inert, e.lockRef.current, e.shards]);
401
- var i = N.useCallback(function(m, v) {
401
+ var i = N.useCallback(function(m, y) {
402
402
  if ("touches" in m && m.touches.length === 2 || m.type === "wheel" && m.ctrlKey)
403
403
  return !a.current.allowPinchZoom;
404
- var y = Mn(m), w = n.current, b = "deltaX" in m ? m.deltaX : w[0] - y[0], S = "deltaY" in m ? m.deltaY : w[1] - y[1], x, C = m.target, _ = Math.abs(b) > Math.abs(S) ? "h" : "v";
404
+ var v = Mn(m), w = n.current, b = "deltaX" in m ? m.deltaX : w[0] - v[0], S = "deltaY" in m ? m.deltaY : w[1] - v[1], x, C = m.target, _ = Math.abs(b) > Math.abs(S) ? "h" : "v";
405
405
  if ("touches" in m && _ === "h" && C.type === "range")
406
406
  return !1;
407
407
  var P = Qs(_, C);
@@ -412,26 +412,26 @@ function Ou(e) {
412
412
  if (!o.current && "changedTouches" in m && (b || S) && (o.current = x), !x)
413
413
  return !0;
414
414
  var A = o.current || x;
415
- return ku(A, v, m, A === "h" ? b : S, !0);
415
+ return ku(A, y, m, A === "h" ? b : S, !0);
416
416
  }, []), c = N.useCallback(function(m) {
417
- var v = m;
417
+ var y = m;
418
418
  if (!(!Dt.length || Dt[Dt.length - 1] !== s)) {
419
- var y = "deltaY" in v ? Zs(v) : Mn(v), w = t.current.filter(function(x) {
420
- return x.name === v.type && (x.target === v.target || v.target === x.shadowParent) && Mu(x.delta, y);
419
+ var v = "deltaY" in y ? Zs(y) : Mn(y), w = t.current.filter(function(x) {
420
+ return x.name === y.type && (x.target === y.target || y.target === x.shadowParent) && Mu(x.delta, v);
421
421
  })[0];
422
422
  if (w && w.should) {
423
- v.cancelable && v.preventDefault();
423
+ y.cancelable && y.preventDefault();
424
424
  return;
425
425
  }
426
426
  if (!w) {
427
427
  var b = (a.current.shards || []).map(Js).filter(Boolean).filter(function(x) {
428
- return x.contains(v.target);
429
- }), S = b.length > 0 ? i(v, b[0]) : !a.current.noIsolation;
430
- S && v.cancelable && v.preventDefault();
428
+ return x.contains(y.target);
429
+ }), S = b.length > 0 ? i(y, b[0]) : !a.current.noIsolation;
430
+ S && y.cancelable && y.preventDefault();
431
431
  }
432
432
  }
433
- }, []), l = N.useCallback(function(m, v, y, w) {
434
- var b = { name: m, delta: v, target: y, should: w, shadowParent: Lu(y) };
433
+ }, []), l = N.useCallback(function(m, y, v, w) {
434
+ var b = { name: m, delta: y, target: v, should: w, shadowParent: Lu(v) };
435
435
  t.current.push(b), setTimeout(function() {
436
436
  t.current = t.current.filter(function(S) {
437
437
  return S !== b;
@@ -668,7 +668,7 @@ function Ce(e) {
668
668
  function le(e) {
669
669
  return e === void 0 ? "var(--mantine-radius-default)" : J(e, "mantine-radius");
670
670
  }
671
- function ye(e) {
671
+ function ve(e) {
672
672
  return J(e, "mantine-font-size");
673
673
  }
674
674
  function Yu(e) {
@@ -705,7 +705,7 @@ function Qu() {
705
705
  const [e, t] = W(-1);
706
706
  return [e, { setHovered: t, resetHovered: () => t(-1) }];
707
707
  }
708
- function vt(e, t, n) {
708
+ function yt(e, t, n) {
709
709
  return t === void 0 && n === void 0 ? e : t !== void 0 && n === void 0 ? Math.max(e, t) : Math.min(t === void 0 && n !== void 0 ? e : Math.max(e, t), n);
710
710
  }
711
711
  function Zu(e = "mantine-") {
@@ -947,10 +947,10 @@ function hi(e, t) {
947
947
  serialize: d = (p) => ud(p, t)
948
948
  }) {
949
949
  const p = K(
950
- (y) => {
950
+ (v) => {
951
951
  let w;
952
952
  try {
953
- w = typeof window > "u" || !(e in window) || window[e] === null || !!y;
953
+ w = typeof window > "u" || !(e in window) || window[e] === null || !!v;
954
954
  } catch {
955
955
  w = !0;
956
956
  }
@@ -961,28 +961,28 @@ function hi(e, t) {
961
961
  },
962
962
  [i, c]
963
963
  ), [f, h] = W(p(l)), m = K(
964
- (y) => {
965
- y instanceof Function ? h((w) => {
966
- const b = y(w);
964
+ (v) => {
965
+ v instanceof Function ? h((w) => {
966
+ const b = v(w);
967
967
  return r(i, d(b)), window.dispatchEvent(
968
- new CustomEvent(n, { detail: { key: i, value: y(w) } })
968
+ new CustomEvent(n, { detail: { key: i, value: v(w) } })
969
969
  ), b;
970
- }) : (r(i, d(y)), window.dispatchEvent(new CustomEvent(n, { detail: { key: i, value: y } })), h(y));
970
+ }) : (r(i, d(v)), window.dispatchEvent(new CustomEvent(n, { detail: { key: i, value: v } })), h(v));
971
971
  },
972
972
  [i]
973
- ), v = K(() => {
973
+ ), y = K(() => {
974
974
  s(i), window.dispatchEvent(new CustomEvent(n, { detail: { key: i, value: c } }));
975
975
  }, []);
976
- return mn("storage", (y) => {
977
- y.storageArea === window[e] && y.key === i && h(u(y.newValue ?? void 0));
978
- }), mn(n, (y) => {
979
- y.detail.key === i && h(y.detail.value);
976
+ return mn("storage", (v) => {
977
+ v.storageArea === window[e] && v.key === i && h(u(v.newValue ?? void 0));
978
+ }), mn(n, (v) => {
979
+ v.detail.key === i && h(v.detail.value);
980
980
  }), X(() => {
981
981
  c !== void 0 && f === void 0 && m(c);
982
982
  }, [c, f, m]), X(() => {
983
- const y = p();
984
- y !== void 0 && m(y);
985
- }, [i]), [f === void 0 ? c : f, m, v];
983
+ const v = p();
984
+ v !== void 0 && m(v);
985
+ }, [i]), [f === void 0 ? c : f, m, y];
986
986
  };
987
987
  }
988
988
  function Fb(e) {
@@ -1004,8 +1004,8 @@ function de(...e) {
1004
1004
  }
1005
1005
  function Vb(e) {
1006
1006
  return {
1007
- x: vt(e.x, 0, 1),
1008
- y: vt(e.y, 0, 1)
1007
+ x: yt(e.x, 0, 1),
1008
+ y: yt(e.y, 0, 1)
1009
1009
  };
1010
1010
  }
1011
1011
  function md(e, t, n = "ltr") {
@@ -1019,18 +1019,18 @@ function md(e, t, n = "ltr") {
1019
1019
  o.current.style.userSelect = "none";
1020
1020
  const S = o.current.getBoundingClientRect();
1021
1021
  if (S.width && S.height) {
1022
- const x = vt((w - S.left) / S.width, 0, 1);
1022
+ const x = yt((w - S.left) / S.width, 0, 1);
1023
1023
  e({
1024
1024
  x: n === "ltr" ? x : 1 - x,
1025
- y: vt((b - S.top) / S.height, 0, 1)
1025
+ y: yt((b - S.top) / S.height, 0, 1)
1026
1026
  });
1027
1027
  }
1028
1028
  }
1029
1029
  });
1030
1030
  }, u = () => {
1031
- document.addEventListener("mousemove", m), document.addEventListener("mouseup", f), document.addEventListener("touchmove", y), document.addEventListener("touchend", f);
1031
+ document.addEventListener("mousemove", m), document.addEventListener("mouseup", f), document.addEventListener("touchmove", v), document.addEventListener("touchend", f);
1032
1032
  }, d = () => {
1033
- document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", f), document.removeEventListener("touchmove", y), document.removeEventListener("touchend", f);
1033
+ document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", f), document.removeEventListener("touchmove", v), document.removeEventListener("touchend", f);
1034
1034
  }, p = () => {
1035
1035
  !s.current && r.current && (s.current = !0, typeof t?.onScrubStart == "function" && t.onScrubStart(), c(!0), u());
1036
1036
  }, f = () => {
@@ -1039,13 +1039,13 @@ function md(e, t, n = "ltr") {
1039
1039
  }, 0));
1040
1040
  }, h = (w) => {
1041
1041
  p(), w.preventDefault(), m(w);
1042
- }, m = (w) => l({ x: w.clientX, y: w.clientY }), v = (w) => {
1043
- w.cancelable && w.preventDefault(), p(), y(w);
1044
- }, y = (w) => {
1042
+ }, m = (w) => l({ x: w.clientX, y: w.clientY }), y = (w) => {
1043
+ w.cancelable && w.preventDefault(), p(), v(w);
1044
+ }, v = (w) => {
1045
1045
  w.cancelable && w.preventDefault(), l({ x: w.changedTouches[0].clientX, y: w.changedTouches[0].clientY });
1046
1046
  };
1047
- return o.current?.addEventListener("mousedown", h), o.current?.addEventListener("touchstart", v, { passive: !1 }), () => {
1048
- o.current && (o.current.removeEventListener("mousedown", h), o.current.removeEventListener("touchstart", v));
1047
+ return o.current?.addEventListener("mousedown", h), o.current?.addEventListener("touchstart", y, { passive: !1 }), () => {
1048
+ o.current && (o.current.removeEventListener("mousedown", h), o.current.removeEventListener("touchstart", y));
1049
1049
  };
1050
1050
  }, [n, e]), { ref: o, active: i };
1051
1051
  }
@@ -1063,7 +1063,7 @@ function Ue({
1063
1063
  };
1064
1064
  return e !== void 0 ? [e, o, !0] : [r, a, !1];
1065
1065
  }
1066
- function vi(e, t) {
1066
+ function yi(e, t) {
1067
1067
  return ci("(prefers-reduced-motion: reduce)", e, t);
1068
1068
  }
1069
1069
  const hd = {
@@ -1090,7 +1090,7 @@ function gd(e) {
1090
1090
  s?.disconnect(), t.current && cancelAnimationFrame(t.current);
1091
1091
  }), [n.current]), [n, o];
1092
1092
  }
1093
- function vd(e) {
1093
+ function yd(e) {
1094
1094
  const [t, { width: n, height: o }] = gd(e);
1095
1095
  return { ref: t, width: n, height: o };
1096
1096
  }
@@ -1106,7 +1106,7 @@ function Wb() {
1106
1106
  }, []);
1107
1107
  return mn("resize", n, na), mn("orientationchange", n, na), X(n, []), e;
1108
1108
  }
1109
- function yd(e) {
1109
+ function vd(e) {
1110
1110
  const t = e.toLowerCase().split("+").map((s) => s.trim()), n = {
1111
1111
  alt: t.includes("alt"),
1112
1112
  ctrl: t.includes("ctrl"),
@@ -1131,14 +1131,14 @@ function bd(e, t) {
1131
1131
  return !1;
1132
1132
  return a !== d ? !1 : !!(i && (p.toLowerCase() === i.toLowerCase() || t.code.replace("Key", "").toLowerCase() === i.toLowerCase()));
1133
1133
  }
1134
- function yi(e) {
1135
- return (t) => bd(yd(e), t);
1134
+ function vi(e) {
1135
+ return (t) => bd(vd(e), t);
1136
1136
  }
1137
1137
  function jb(e) {
1138
1138
  return (t) => {
1139
1139
  const n = "nativeEvent" in t ? t.nativeEvent : t;
1140
1140
  e.forEach(([o, r, s = { preventDefault: !0 }]) => {
1141
- yi(o)(n) && (s.preventDefault && t.preventDefault(), r(n));
1141
+ vi(o)(n) && (s.preventDefault && t.preventDefault(), r(n));
1142
1142
  });
1143
1143
  };
1144
1144
  }
@@ -1149,7 +1149,7 @@ function Sd(e, t = ["INPUT", "TEXTAREA", "SELECT"], n = !1) {
1149
1149
  X(() => {
1150
1150
  const o = (r) => {
1151
1151
  e.forEach(([s, a, i = { preventDefault: !0 }]) => {
1152
- yi(s)(r) && wd(r, t, n) && (i.preventDefault && r.preventDefault(), a(r));
1152
+ vi(s)(r) && wd(r, t, n) && (i.preventDefault && r.preventDefault(), a(r));
1153
1153
  });
1154
1154
  };
1155
1155
  return document.documentElement.addEventListener("keydown", o), () => document.documentElement.removeEventListener("keydown", o);
@@ -1483,7 +1483,7 @@ function xe(e, t) {
1483
1483
  const n = Et({ color: e || t.primaryColor, theme: t });
1484
1484
  return n.variable ? `var(${n.variable})` : e;
1485
1485
  }
1486
- function vr(e, t) {
1486
+ function yr(e, t) {
1487
1487
  const n = {
1488
1488
  from: e?.from || t.defaultGradient.from,
1489
1489
  to: e?.to || t.defaultGradient.to,
@@ -1626,8 +1626,8 @@ const Ot = Ke, Vd = ({
1626
1626
  color: e,
1627
1627
  border: `${R(1)} solid transparent`
1628
1628
  } : n === "gradient" ? {
1629
- background: vr(o, t),
1630
- hover: vr(o, t),
1629
+ background: yr(o, t),
1630
+ hover: yr(o, t),
1631
1631
  color: "var(--mantine-color-white)",
1632
1632
  border: "none"
1633
1633
  } : n === "default" ? {
@@ -2289,7 +2289,7 @@ function nf({
2289
2289
  forceColorScheme: f,
2290
2290
  stylesTransform: h
2291
2291
  }) {
2292
- const { colorScheme: m, setColorScheme: v, clearColorScheme: y } = ef({
2292
+ const { colorScheme: m, setColorScheme: y, clearColorScheme: v } = ef({
2293
2293
  defaultColorScheme: u,
2294
2294
  forceColorScheme: f,
2295
2295
  manager: l,
@@ -2303,8 +2303,8 @@ function nf({
2303
2303
  {
2304
2304
  value: {
2305
2305
  colorScheme: m,
2306
- setColorScheme: v,
2307
- clearColorScheme: y,
2306
+ setColorScheme: y,
2307
+ clearColorScheme: v,
2308
2308
  getRootElement: d,
2309
2309
  classNamesPrefix: c,
2310
2310
  getStyleNonce: n,
@@ -2473,9 +2473,9 @@ function pf({
2473
2473
  })[r]
2474
2474
  ).reduce((s, a) => ({ ...s, ...a }), {});
2475
2475
  }
2476
- function yr({ style: e, theme: t }) {
2476
+ function vr({ style: e, theme: t }) {
2477
2477
  return Array.isArray(e) ? [...e].reduce(
2478
- (n, o) => ({ ...n, ...yr({ style: o, theme: t }) }),
2478
+ (n, o) => ({ ...n, ...vr({ style: o, theme: t }) }),
2479
2479
  {}
2480
2480
  ) : typeof e == "function" ? e(t) : e ?? {};
2481
2481
  }
@@ -2520,11 +2520,11 @@ function gf({
2520
2520
  ...!p && hn({ theme: e, styles: i, props: r, stylesCtx: s })[n],
2521
2521
  ...!p && hn({ theme: e, styles: o?.styles, props: o?.props || r, stylesCtx: s })[n],
2522
2522
  ...hf({ theme: e, props: r, stylesCtx: s, vars: l, varsResolver: u, selector: n, themeName: t, headless: d }),
2523
- ...a === n ? yr({ style: c, theme: e }) : null,
2524
- ...yr({ style: o?.style, theme: e })
2523
+ ...a === n ? vr({ style: c, theme: e }) : null,
2524
+ ...vr({ style: o?.style, theme: e })
2525
2525
  };
2526
2526
  }
2527
- function vf({ props: e, stylesCtx: t, themeName: n }) {
2527
+ function yf({ props: e, stylesCtx: t, themeName: n }) {
2528
2528
  const o = we(), r = Dd()?.();
2529
2529
  return {
2530
2530
  getTransformedStyles: (a) => r ? [
@@ -2552,16 +2552,16 @@ function q({
2552
2552
  vars: u,
2553
2553
  varsResolver: d
2554
2554
  }) {
2555
- const p = we(), f = Ad(), h = kd(), m = Md(), v = (Array.isArray(e) ? e : [e]).filter((b) => b), { withStylesTransform: y, getTransformedStyles: w } = vf({
2555
+ const p = we(), f = Ad(), h = kd(), m = Md(), y = (Array.isArray(e) ? e : [e]).filter((b) => b), { withStylesTransform: v, getTransformedStyles: w } = yf({
2556
2556
  props: n,
2557
2557
  stylesCtx: o,
2558
- themeName: v
2558
+ themeName: y
2559
2559
  });
2560
2560
  return (b, S) => ({
2561
2561
  className: ff({
2562
2562
  theme: p,
2563
2563
  options: S,
2564
- themeName: v,
2564
+ themeName: y,
2565
2565
  selector: b,
2566
2566
  classNamesPrefix: f,
2567
2567
  classNames: c,
@@ -2577,7 +2577,7 @@ function q({
2577
2577
  }),
2578
2578
  style: gf({
2579
2579
  theme: p,
2580
- themeName: v,
2580
+ themeName: y,
2581
2581
  selector: b,
2582
2582
  options: S,
2583
2583
  props: n,
@@ -2588,11 +2588,11 @@ function q({
2588
2588
  vars: u,
2589
2589
  varsResolver: d,
2590
2590
  headless: m,
2591
- withStylesTransform: y
2591
+ withStylesTransform: v
2592
2592
  })
2593
2593
  });
2594
2594
  }
2595
- function yf(e, t) {
2595
+ function vf(e, t) {
2596
2596
  return typeof e == "boolean" ? e : t.autoContrast;
2597
2597
  }
2598
2598
  function ua(e) {
@@ -2680,8 +2680,8 @@ function Dr(e) {
2680
2680
  pt: f,
2681
2681
  pb: h,
2682
2682
  pl: m,
2683
- pr: v,
2684
- pe: y,
2683
+ pr: y,
2684
+ pe: v,
2685
2685
  ps: w,
2686
2686
  bd: b,
2687
2687
  bg: S,
@@ -2737,8 +2737,8 @@ function Dr(e) {
2737
2737
  pt: f,
2738
2738
  pb: h,
2739
2739
  pl: m,
2740
- pr: v,
2741
- pe: y,
2740
+ pr: y,
2741
+ pe: v,
2742
2742
  ps: w,
2743
2743
  bd: b,
2744
2744
  bg: S,
@@ -3017,8 +3017,8 @@ const Ei = Z(
3017
3017
  __size: p,
3018
3018
  ...f
3019
3019
  }, h) => {
3020
- const m = we(), v = e || "div", { styleProps: y, rest: w } = Dr(f), S = Id()?.()?.(y.sx), x = Lr(), C = Pi({
3021
- styleProps: y,
3020
+ const m = we(), y = e || "div", { styleProps: v, rest: w } = Dr(f), S = Id()?.()?.(v.sx), x = Lr(), C = Pi({
3021
+ styleProps: v,
3022
3022
  theme: m,
3023
3023
  data: Sf
3024
3024
  }), _ = {
@@ -3051,7 +3051,7 @@ const Ei = Z(
3051
3051
  media: C.media
3052
3052
  }
3053
3053
  ),
3054
- typeof d == "function" ? d(_) : /* @__PURE__ */ g(v, { ..._ })
3054
+ typeof d == "function" ? d(_) : /* @__PURE__ */ g(y, { ..._ })
3055
3055
  ] });
3056
3056
  }
3057
3057
  );
@@ -3117,7 +3117,7 @@ const Hf = Z((e, t) => {
3117
3117
  scrollHideDelay: 1e3,
3118
3118
  type: "hover"
3119
3119
  }, Ai = Z((e, t) => {
3120
- const n = E("ScrollAreaRoot", Wf, e), { type: o, scrollHideDelay: r, scrollbars: s, ...a } = n, [i, c] = W(null), [l, u] = W(null), [d, p] = W(null), [f, h] = W(null), [m, v] = W(null), [y, w] = W(0), [b, S] = W(0), [x, C] = W(!1), [_, P] = W(!1), A = de(t, (O) => c(O));
3120
+ const n = E("ScrollAreaRoot", Wf, e), { type: o, scrollHideDelay: r, scrollbars: s, ...a } = n, [i, c] = W(null), [l, u] = W(null), [d, p] = W(null), [f, h] = W(null), [m, y] = W(null), [v, w] = W(0), [b, S] = W(0), [x, C] = W(!1), [_, P] = W(!1), A = de(t, (O) => c(O));
3121
3121
  return /* @__PURE__ */ g(
3122
3122
  Ff,
3123
3123
  {
@@ -3134,7 +3134,7 @@ const Hf = Z((e, t) => {
3134
3134
  scrollbarXEnabled: x,
3135
3135
  onScrollbarXEnabledChange: C,
3136
3136
  scrollbarY: m,
3137
- onScrollbarYChange: v,
3137
+ onScrollbarYChange: y,
3138
3138
  scrollbarYEnabled: _,
3139
3139
  onScrollbarYEnabledChange: P,
3140
3140
  onCornerWidthChange: w,
@@ -3146,7 +3146,7 @@ const Hf = Z((e, t) => {
3146
3146
  ...a,
3147
3147
  ref: A,
3148
3148
  __vars: {
3149
- "--sa-corner-width": s !== "xy" ? "0px" : `${y}px`,
3149
+ "--sa-corner-width": s !== "xy" ? "0px" : `${v}px`,
3150
3150
  "--sa-corner-height": s !== "xy" ? "0px" : `${b}px`
3151
3151
  }
3152
3152
  }
@@ -3207,9 +3207,9 @@ const [Kf, Di] = Me(
3207
3207
  onWheelScroll: l,
3208
3208
  onResize: u,
3209
3209
  ...d
3210
- } = e, p = Le(), [f, h] = W(null), m = de(t, (P) => h(P)), v = G(null), y = G(""), { viewport: w } = p, b = n.content - n.viewport, S = Ct(l), x = Ct(i), C = Qn(u, 10), _ = (P) => {
3211
- if (v.current) {
3212
- const A = P.clientX - v.current.left, O = P.clientY - v.current.top;
3210
+ } = e, p = Le(), [f, h] = W(null), m = de(t, (P) => h(P)), y = G(null), v = G(""), { viewport: w } = p, b = n.content - n.viewport, S = Ct(l), x = Ct(i), C = Qn(u, 10), _ = (P) => {
3211
+ if (y.current) {
3212
+ const A = P.clientX - y.current.left, O = P.clientY - y.current.top;
3213
3213
  c({ x: A, y: O });
3214
3214
  }
3215
3215
  };
@@ -3238,13 +3238,13 @@ const [Kf, Di] = Me(
3238
3238
  "data-mantine-scrollbar": !0,
3239
3239
  style: { position: "absolute", ...d.style },
3240
3240
  onPointerDown: Pt(e.onPointerDown, (P) => {
3241
- P.preventDefault(), P.button === 0 && (P.target.setPointerCapture(P.pointerId), v.current = f.getBoundingClientRect(), y.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", _(P));
3241
+ P.preventDefault(), P.button === 0 && (P.target.setPointerCapture(P.pointerId), y.current = f.getBoundingClientRect(), v.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", _(P));
3242
3242
  }),
3243
3243
  onPointerMove: Pt(e.onPointerMove, _),
3244
3244
  onPointerUp: Pt(e.onPointerUp, (P) => {
3245
3245
  P.preventDefault();
3246
3246
  const A = P.target;
3247
- A.hasPointerCapture(P.pointerId) && A.releasePointerCapture(P.pointerId), document.body.style.webkitUserSelect = y.current, v.current = null;
3247
+ A.hasPointerCapture(P.pointerId) && A.releasePointerCapture(P.pointerId), document.body.style.webkitUserSelect = v.current, y.current = null;
3248
3248
  })
3249
3249
  }
3250
3250
  )
@@ -3566,8 +3566,8 @@ const Br = Xf, Vi = {
3566
3566
  viewportRef: f,
3567
3567
  onScrollPositionChange: h,
3568
3568
  children: m,
3569
- offsetScrollbars: v,
3570
- scrollbars: y,
3569
+ offsetScrollbars: y,
3570
+ scrollbars: v,
3571
3571
  onBottomReached: w,
3572
3572
  onTopReached: b,
3573
3573
  ...S
@@ -3589,7 +3589,7 @@ const Br = Xf, Vi = {
3589
3589
  type: u === "never" ? "always" : u,
3590
3590
  scrollHideDelay: d,
3591
3591
  ref: t,
3592
- scrollbars: y,
3592
+ scrollbars: v,
3593
3593
  ..._("root"),
3594
3594
  ...S,
3595
3595
  children: [
@@ -3599,8 +3599,8 @@ const Br = Xf, Vi = {
3599
3599
  ...p,
3600
3600
  ..._("viewport", { style: p?.style }),
3601
3601
  ref: f,
3602
- "data-offset-scrollbars": v === !0 ? "xy" : v || void 0,
3603
- "data-scrollbars": y || void 0,
3602
+ "data-offset-scrollbars": y === !0 ? "xy" : y || void 0,
3603
+ "data-scrollbars": v || void 0,
3604
3604
  onScroll: (P) => {
3605
3605
  p?.onScroll?.(P), h?.({ x: P.currentTarget.scrollLeft, y: P.currentTarget.scrollTop });
3606
3606
  const { scrollTop: A, scrollHeight: O, clientHeight: z } = P.currentTarget;
@@ -3609,7 +3609,7 @@ const Br = Xf, Vi = {
3609
3609
  children: m
3610
3610
  }
3611
3611
  ),
3612
- (y === "xy" || y === "x") && /* @__PURE__ */ g(
3612
+ (v === "xy" || v === "x") && /* @__PURE__ */ g(
3613
3613
  wr,
3614
3614
  {
3615
3615
  ..._("scrollbar"),
@@ -3621,7 +3621,7 @@ const Br = Xf, Vi = {
3621
3621
  children: /* @__PURE__ */ g(Sr, { ..._("thumb") })
3622
3622
  }
3623
3623
  ),
3624
- (y === "xy" || y === "y") && /* @__PURE__ */ g(
3624
+ (v === "xy" || v === "y") && /* @__PURE__ */ g(
3625
3625
  wr,
3626
3626
  {
3627
3627
  ..._("scrollbar"),
@@ -3662,13 +3662,13 @@ const Fr = F((e, t) => {
3662
3662
  variant: f,
3663
3663
  viewportProps: h,
3664
3664
  scrollbars: m,
3665
- style: v,
3666
- vars: y,
3665
+ style: y,
3666
+ vars: v,
3667
3667
  onBottomReached: w,
3668
3668
  onTopReached: b,
3669
3669
  ...S
3670
3670
  } = E("ScrollAreaAutosize", Vi, e);
3671
- return /* @__PURE__ */ g(I, { ...S, ref: t, style: [{ display: "flex", overflow: "auto" }, v], children: /* @__PURE__ */ g(I, { style: { display: "flex", flexDirection: "column", flex: 1 }, children: /* @__PURE__ */ g(
3671
+ return /* @__PURE__ */ g(I, { ...S, ref: t, style: [{ display: "flex", overflow: "auto" }, y], children: /* @__PURE__ */ g(I, { style: { display: "flex", flexDirection: "column", flex: 1 }, children: /* @__PURE__ */ g(
3672
3672
  Ut,
3673
3673
  {
3674
3674
  classNames: o,
@@ -3683,7 +3683,7 @@ const Fr = F((e, t) => {
3683
3683
  unstyled: p,
3684
3684
  variant: f,
3685
3685
  viewportProps: h,
3686
- vars: y,
3686
+ vars: v,
3687
3687
  scrollbars: m,
3688
3688
  onBottomReached: w,
3689
3689
  onTopReached: b,
@@ -3847,7 +3847,7 @@ function Vr(e) {
3847
3847
  }
3848
3848
  function sp(e) {
3849
3849
  let t = st(e);
3850
- for (; Ae(t) && !yt(t); ) {
3850
+ for (; Ae(t) && !vt(t); ) {
3851
3851
  if (Vr(t))
3852
3852
  return t;
3853
3853
  if (ao(t))
@@ -3859,7 +3859,7 @@ function sp(e) {
3859
3859
  function io() {
3860
3860
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
3861
3861
  }
3862
- function yt(e) {
3862
+ function vt(e) {
3863
3863
  return ["html", "body", "#document"].includes(Qt(e));
3864
3864
  }
3865
3865
  function Oe(e) {
@@ -3888,7 +3888,7 @@ function st(e) {
3888
3888
  }
3889
3889
  function Yi(e) {
3890
3890
  const t = st(e);
3891
- return yt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Ae(t) && $n(t) ? t : Yi(t);
3891
+ return vt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Ae(t) && $n(t) ? t : Yi(t);
3892
3892
  }
3893
3893
  function ot(e, t, n) {
3894
3894
  var o;
@@ -3911,7 +3911,7 @@ function ma(e) {
3911
3911
  }
3912
3912
  return t;
3913
3913
  }
3914
- function vn(e, t) {
3914
+ function yn(e, t) {
3915
3915
  if (!e || !t)
3916
3916
  return !1;
3917
3917
  const n = t.getRootNode == null ? void 0 : t.getRootNode();
@@ -3986,7 +3986,7 @@ const pp = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([co
3986
3986
  function mp(e) {
3987
3987
  return Ae(e) && e.matches(pp);
3988
3988
  }
3989
- const Te = Math.min, ve = Math.max, Wn = Math.round, On = Math.floor, bt = (e) => ({
3989
+ const Te = Math.min, ye = Math.max, Wn = Math.round, On = Math.floor, bt = (e) => ({
3990
3990
  x: e,
3991
3991
  y: e
3992
3992
  }), hp = {
@@ -3999,7 +3999,7 @@ const Te = Math.min, ve = Math.max, Wn = Math.round, On = Math.floor, bt = (e) =
3999
3999
  end: "start"
4000
4000
  };
4001
4001
  function $r(e, t, n) {
4002
- return ve(e, Te(t, n));
4002
+ return ye(e, Te(t, n));
4003
4003
  }
4004
4004
  function at(e, t) {
4005
4005
  return typeof e == "function" ? e(t) : e;
@@ -4022,13 +4022,13 @@ function it(e) {
4022
4022
  function Gr(e) {
4023
4023
  return Wr(it(e));
4024
4024
  }
4025
- function vp(e, t, n) {
4025
+ function yp(e, t, n) {
4026
4026
  n === void 0 && (n = !1);
4027
4027
  const o = Zt(e), r = Gr(e), s = jr(r);
4028
4028
  let a = r === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
4029
4029
  return t.reference[s] > t.floating[s] && (a = jn(a)), [a, jn(a)];
4030
4030
  }
4031
- function yp(e) {
4031
+ function vp(e) {
4032
4032
  const t = jn(e);
4033
4033
  return [Pr(e), t, Pr(t)];
4034
4034
  }
@@ -4156,14 +4156,14 @@ const xp = async (e, t, n) => {
4156
4156
  } = ga(l, o, c), p = o, f = {}, h = 0;
4157
4157
  for (let m = 0; m < i.length; m++) {
4158
4158
  const {
4159
- name: v,
4160
- fn: y
4159
+ name: y,
4160
+ fn: v
4161
4161
  } = i[m], {
4162
4162
  x: w,
4163
4163
  y: b,
4164
4164
  data: S,
4165
4165
  reset: x
4166
- } = await y({
4166
+ } = await v({
4167
4167
  x: u,
4168
4168
  y: d,
4169
4169
  initialPlacement: o,
@@ -4179,8 +4179,8 @@ const xp = async (e, t, n) => {
4179
4179
  });
4180
4180
  u = w ?? u, d = b ?? d, f = {
4181
4181
  ...f,
4182
- [v]: {
4183
- ...f[v],
4182
+ [y]: {
4183
+ ...f[y],
4184
4184
  ...S
4185
4185
  }
4186
4186
  }, x && h <= 50 && (h++, typeof x == "object" && (x.placement && (p = x.placement), x.rects && (l = x.rects === !0 ? await a.getElementRects({
@@ -4216,8 +4216,8 @@ async function Yr(e, t) {
4216
4216
  elementContext: d = "floating",
4217
4217
  altBoundary: p = !1,
4218
4218
  padding: f = 0
4219
- } = at(t, e), h = Kr(f), v = i[p ? d === "floating" ? "reference" : "floating" : d], y = Gt(await s.getClippingRect({
4220
- element: (n = await (s.isElement == null ? void 0 : s.isElement(v))) == null || n ? v : v.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(i.floating)),
4219
+ } = at(t, e), h = Kr(f), y = i[p ? d === "floating" ? "reference" : "floating" : d], v = Gt(await s.getClippingRect({
4220
+ element: (n = await (s.isElement == null ? void 0 : s.isElement(y))) == null || n ? y : y.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(i.floating)),
4221
4221
  boundary: l,
4222
4222
  rootBoundary: u,
4223
4223
  strategy: c
@@ -4239,10 +4239,10 @@ async function Yr(e, t) {
4239
4239
  strategy: c
4240
4240
  }) : w);
4241
4241
  return {
4242
- top: (y.top - x.top + h.top) / S.y,
4243
- bottom: (x.bottom - y.bottom + h.bottom) / S.y,
4244
- left: (y.left - x.left + h.left) / S.x,
4245
- right: (x.right - y.right + h.right) / S.x
4242
+ top: (v.top - x.top + h.top) / S.y,
4243
+ bottom: (x.bottom - v.bottom + h.bottom) / S.y,
4244
+ left: (v.left - x.left + h.left) / S.x,
4245
+ right: (x.right - v.right + h.right) / S.x
4246
4246
  };
4247
4247
  }
4248
4248
  const Cp = (e) => ({
@@ -4266,10 +4266,10 @@ const Cp = (e) => ({
4266
4266
  const d = Kr(u), p = {
4267
4267
  x: n,
4268
4268
  y: o
4269
- }, f = Gr(r), h = jr(f), m = await a.getDimensions(l), v = f === "y", y = v ? "top" : "left", w = v ? "bottom" : "right", b = v ? "clientHeight" : "clientWidth", S = s.reference[h] + s.reference[f] - p[f] - s.floating[h], x = p[f] - s.reference[f], C = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l));
4269
+ }, f = Gr(r), h = jr(f), m = await a.getDimensions(l), y = f === "y", v = y ? "top" : "left", w = y ? "bottom" : "right", b = y ? "clientHeight" : "clientWidth", S = s.reference[h] + s.reference[f] - p[f] - s.floating[h], x = p[f] - s.reference[f], C = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l));
4270
4270
  let _ = C ? C[b] : 0;
4271
4271
  (!_ || !await (a.isElement == null ? void 0 : a.isElement(C))) && (_ = i.floating[b] || s.floating[h]);
4272
- const P = S / 2 - x / 2, A = _ / 2 - m[h] / 2 - 1, O = Te(d[y], A), z = Te(d[w], A), H = O, j = _ - m[h] - z, B = _ / 2 - m[h] / 2 + P, V = $r(H, B, j), D = !c.arrow && Zt(r) != null && B !== V && s.reference[h] / 2 - (B < H ? O : z) - m[h] / 2 < 0, L = D ? B < H ? B - H : B - j : 0;
4272
+ const P = S / 2 - x / 2, A = _ / 2 - m[h] / 2 - 1, O = Te(d[v], A), z = Te(d[w], A), H = O, j = _ - m[h] - z, B = _ / 2 - m[h] / 2 + P, V = $r(H, B, j), D = !c.arrow && Zt(r) != null && B !== V && s.reference[h] / 2 - (B < H ? O : z) - m[h] / 2 < 0, L = D ? B < H ? B - H : B - j : 0;
4273
4273
  return {
4274
4274
  [f]: p[f] + L,
4275
4275
  data: {
@@ -4302,16 +4302,16 @@ const Cp = (e) => ({
4302
4302
  fallbackStrategy: f = "bestFit",
4303
4303
  fallbackAxisSideDirection: h = "none",
4304
4304
  flipAlignment: m = !0,
4305
- ...v
4305
+ ...y
4306
4306
  } = at(e, t);
4307
4307
  if ((n = s.arrow) != null && n.alignmentOffset)
4308
4308
  return {};
4309
- const y = je(r), w = it(i), b = je(i) === i, S = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), x = p || (b || !m ? [jn(i)] : yp(i)), C = h !== "none";
4309
+ const v = je(r), w = it(i), b = je(i) === i, S = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), x = p || (b || !m ? [jn(i)] : vp(i)), C = h !== "none";
4310
4310
  !p && C && x.push(...wp(i, m, h, S));
4311
- const _ = [i, ...x], P = await Yr(t, v), A = [];
4311
+ const _ = [i, ...x], P = await Yr(t, y), A = [];
4312
4312
  let O = ((o = s.flip) == null ? void 0 : o.overflows) || [];
4313
- if (u && A.push(P[y]), d) {
4314
- const B = vp(r, a, S);
4313
+ if (u && A.push(P[v]), d) {
4314
+ const B = yp(r, a, S);
4315
4315
  A.push(P[B[0]], P[B[1]]);
4316
4316
  }
4317
4317
  if (O = [...O, {
@@ -4363,7 +4363,7 @@ const Cp = (e) => ({
4363
4363
  };
4364
4364
  };
4365
4365
  function Ui(e) {
4366
- const t = Te(...e.map((s) => s.left)), n = Te(...e.map((s) => s.top)), o = ve(...e.map((s) => s.right)), r = ve(...e.map((s) => s.bottom));
4366
+ const t = Te(...e.map((s) => s.left)), n = Te(...e.map((s) => s.top)), o = ye(...e.map((s) => s.right)), r = ye(...e.map((s) => s.bottom));
4367
4367
  return {
4368
4368
  x: t,
4369
4369
  y: n,
@@ -4398,7 +4398,7 @@ const _p = function(e) {
4398
4398
  } = at(e, t), u = Array.from(await (s.getClientRects == null ? void 0 : s.getClientRects(o.reference)) || []), d = Pp(u), p = Gt(Ui(u)), f = Kr(i);
4399
4399
  function h() {
4400
4400
  if (d.length === 2 && d[0].left > d[1].right && c != null && l != null)
4401
- return d.find((v) => c > v.left - f.left && c < v.right + f.right && l > v.top - f.top && l < v.bottom + f.bottom) || p;
4401
+ return d.find((y) => c > y.left - f.left && c < y.right + f.right && l > y.top - f.top && l < y.bottom + f.bottom) || p;
4402
4402
  if (d.length >= 2) {
4403
4403
  if (it(n) === "y") {
4404
4404
  const O = d[0], z = d[d.length - 1], H = je(n) === "top", j = O.top, B = z.bottom, V = H ? O.left : z.left, D = H ? O.right : z.right, L = D - V, T = B - j;
@@ -4413,7 +4413,7 @@ const _p = function(e) {
4413
4413
  y: j
4414
4414
  };
4415
4415
  }
4416
- const v = je(n) === "left", y = ve(...d.map((O) => O.right)), w = Te(...d.map((O) => O.left)), b = d.filter((O) => v ? O.left === w : O.right === y), S = b[0].top, x = b[b.length - 1].bottom, C = w, _ = y, P = _ - C, A = x - S;
4416
+ const y = je(n) === "left", v = ye(...d.map((O) => O.right)), w = Te(...d.map((O) => O.left)), b = d.filter((O) => y ? O.left === w : O.right === v), S = b[0].top, x = b[b.length - 1].bottom, C = w, _ = v, P = _ - C, A = x - S;
4417
4417
  return {
4418
4418
  top: S,
4419
4419
  bottom: x,
@@ -4505,13 +4505,13 @@ const Rp = function(e) {
4505
4505
  mainAxis: s = !0,
4506
4506
  crossAxis: a = !1,
4507
4507
  limiter: i = {
4508
- fn: (v) => {
4508
+ fn: (y) => {
4509
4509
  let {
4510
- x: y,
4510
+ x: v,
4511
4511
  y: w
4512
- } = v;
4512
+ } = y;
4513
4513
  return {
4514
- x: y,
4514
+ x: v,
4515
4515
  y: w
4516
4516
  };
4517
4517
  }
@@ -4523,11 +4523,11 @@ const Rp = function(e) {
4523
4523
  }, u = await Yr(t, c), d = it(je(r)), p = Wr(d);
4524
4524
  let f = l[p], h = l[d];
4525
4525
  if (s) {
4526
- const v = p === "y" ? "top" : "left", y = p === "y" ? "bottom" : "right", w = f + u[v], b = f - u[y];
4526
+ const y = p === "y" ? "top" : "left", v = p === "y" ? "bottom" : "right", w = f + u[y], b = f - u[v];
4527
4527
  f = $r(w, f, b);
4528
4528
  }
4529
4529
  if (a) {
4530
- const v = d === "y" ? "top" : "left", y = d === "y" ? "bottom" : "right", w = h + u[v], b = h - u[y];
4530
+ const y = d === "y" ? "top" : "left", v = d === "y" ? "bottom" : "right", w = h + u[y], b = h - u[v];
4531
4531
  h = $r(w, h, b);
4532
4532
  }
4533
4533
  const m = i.fn({
@@ -4563,7 +4563,7 @@ const Rp = function(e) {
4563
4563
  y: o
4564
4564
  }, d = it(r), p = Wr(d);
4565
4565
  let f = u[p], h = u[d];
4566
- const m = at(i, t), v = typeof m == "number" ? {
4566
+ const m = at(i, t), y = typeof m == "number" ? {
4567
4567
  mainAxis: m,
4568
4568
  crossAxis: 0
4569
4569
  } : {
@@ -4572,12 +4572,12 @@ const Rp = function(e) {
4572
4572
  ...m
4573
4573
  };
4574
4574
  if (c) {
4575
- const b = p === "y" ? "height" : "width", S = s.reference[p] - s.floating[b] + v.mainAxis, x = s.reference[p] + s.reference[b] - v.mainAxis;
4575
+ const b = p === "y" ? "height" : "width", S = s.reference[p] - s.floating[b] + y.mainAxis, x = s.reference[p] + s.reference[b] - y.mainAxis;
4576
4576
  f < S ? f = S : f > x && (f = x);
4577
4577
  }
4578
4578
  if (l) {
4579
- var y, w;
4580
- const b = p === "y" ? "width" : "height", S = ["top", "left"].includes(je(r)), x = s.reference[d] - s.floating[b] + (S && ((y = a.offset) == null ? void 0 : y[d]) || 0) + (S ? 0 : v.crossAxis), C = s.reference[d] + s.reference[b] + (S ? 0 : ((w = a.offset) == null ? void 0 : w[d]) || 0) - (S ? v.crossAxis : 0);
4579
+ var v, w;
4580
+ const b = p === "y" ? "width" : "height", S = ["top", "left"].includes(je(r)), x = s.reference[d] - s.floating[b] + (S && ((v = a.offset) == null ? void 0 : v[d]) || 0) + (S ? 0 : y.crossAxis), C = s.reference[d] + s.reference[b] + (S ? 0 : ((w = a.offset) == null ? void 0 : w[d]) || 0) - (S ? y.crossAxis : 0);
4581
4581
  h < x ? h = x : h > C && (h = C);
4582
4582
  }
4583
4583
  return {
@@ -4606,11 +4606,11 @@ const Rp = function(e) {
4606
4606
  } = o.floating;
4607
4607
  let h, m;
4608
4608
  l === "top" || l === "bottom" ? (h = l, m = u === (await (r.isRTL == null ? void 0 : r.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (m = l, h = u === "end" ? "top" : "bottom");
4609
- const v = f - c.top - c.bottom, y = p - c.left - c.right, w = Te(f - c[h], v), b = Te(p - c[m], y), S = !t.middlewareData.shift;
4609
+ const y = f - c.top - c.bottom, v = p - c.left - c.right, w = Te(f - c[h], y), b = Te(p - c[m], v), S = !t.middlewareData.shift;
4610
4610
  let x = w, C = b;
4611
- if (d ? C = u || S ? Te(b, y) : y : x = u || S ? Te(w, v) : v, S && !u) {
4612
- const P = ve(c.left, 0), A = ve(c.right, 0), O = ve(c.top, 0), z = ve(c.bottom, 0);
4613
- d ? C = p - 2 * (P !== 0 || A !== 0 ? P + A : ve(c.left, c.right)) : x = f - 2 * (O !== 0 || z !== 0 ? O + z : ve(c.top, c.bottom));
4611
+ if (d ? C = u || S ? Te(b, v) : v : x = u || S ? Te(w, y) : y, S && !u) {
4612
+ const P = ye(c.left, 0), A = ye(c.right, 0), O = ye(c.top, 0), z = ye(c.bottom, 0);
4613
+ d ? C = p - 2 * (P !== 0 || A !== 0 ? P + A : ye(c.left, c.right)) : x = f - 2 * (O !== 0 || z !== 0 ? O + z : ye(c.top, c.bottom));
4614
4614
  }
4615
4615
  await a({
4616
4616
  ...t,
@@ -4676,8 +4676,8 @@ function Nt(e, t, n, o) {
4676
4676
  const p = _e(s), f = o && se(o) ? _e(o) : o;
4677
4677
  let h = p, m = h.frameElement;
4678
4678
  for (; m && o && f !== h; ) {
4679
- const v = Vt(m), y = m.getBoundingClientRect(), w = Oe(m), b = y.left + (m.clientLeft + parseFloat(w.paddingLeft)) * v.x, S = y.top + (m.clientTop + parseFloat(w.paddingTop)) * v.y;
4680
- c *= v.x, l *= v.y, u *= v.x, d *= v.y, c += b, l += S, h = _e(m), m = h.frameElement;
4679
+ const y = Vt(m), v = m.getBoundingClientRect(), w = Oe(m), b = v.left + (m.clientLeft + parseFloat(w.paddingLeft)) * y.x, S = v.top + (m.clientTop + parseFloat(w.paddingTop)) * y.y;
4680
+ c *= y.x, l *= y.y, u *= y.x, d *= y.y, c += b, l += S, h = _e(m), m = h.frameElement;
4681
4681
  }
4682
4682
  }
4683
4683
  return Gt({
@@ -4720,10 +4720,10 @@ function Ji(e) {
4720
4720
  return Nt(dt(e)).left + lo(e).scrollLeft;
4721
4721
  }
4722
4722
  function Op(e) {
4723
- const t = dt(e), n = lo(e), o = e.ownerDocument.body, r = ve(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), s = ve(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
4723
+ const t = dt(e), n = lo(e), o = e.ownerDocument.body, r = ye(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), s = ye(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
4724
4724
  let a = -n.scrollLeft + Ji(e);
4725
4725
  const i = -n.scrollTop;
4726
- return Oe(o).direction === "rtl" && (a += ve(t.clientWidth, o.clientWidth) - r), {
4726
+ return Oe(o).direction === "rtl" && (a += ye(t.clientWidth, o.clientWidth) - r), {
4727
4727
  width: r,
4728
4728
  height: s,
4729
4729
  x: a,
@@ -4754,7 +4754,7 @@ function zp(e, t) {
4754
4754
  y: l
4755
4755
  };
4756
4756
  }
4757
- function va(e, t, n) {
4757
+ function ya(e, t, n) {
4758
4758
  let o;
4759
4759
  if (t === "viewport")
4760
4760
  o = Lp(e, n);
@@ -4774,7 +4774,7 @@ function va(e, t, n) {
4774
4774
  }
4775
4775
  function el(e, t) {
4776
4776
  const n = st(e);
4777
- return n === t || !se(n) || yt(n) ? !1 : Oe(n).position === "fixed" || el(n, t);
4777
+ return n === t || !se(n) || vt(n) ? !1 : Oe(n).position === "fixed" || el(n, t);
4778
4778
  }
4779
4779
  function Bp(e, t) {
4780
4780
  const n = t.get(e);
@@ -4783,7 +4783,7 @@ function Bp(e, t) {
4783
4783
  let o = ot(e, [], !1).filter((i) => se(i) && Qt(i) !== "body"), r = null;
4784
4784
  const s = Oe(e).position === "fixed";
4785
4785
  let a = s ? st(e) : e;
4786
- for (; se(a) && !yt(a); ) {
4786
+ for (; se(a) && !vt(a); ) {
4787
4787
  const i = Oe(a), c = Vr(a);
4788
4788
  !c && i.position === "fixed" && (r = null), (s ? !c && !r : !c && i.position === "static" && !!r && ["absolute", "fixed"].includes(r.position) || $n(a) && !c && el(e, a)) ? o = o.filter((u) => u !== a) : r = i, a = st(a);
4789
4789
  }
@@ -4797,9 +4797,9 @@ function Fp(e) {
4797
4797
  strategy: r
4798
4798
  } = e;
4799
4799
  const a = [...n === "clippingAncestors" ? ao(t) ? [] : Bp(t, this._c) : [].concat(n), o], i = a[0], c = a.reduce((l, u) => {
4800
- const d = va(t, u, r);
4801
- return l.top = ve(d.top, l.top), l.right = Te(d.right, l.right), l.bottom = Te(d.bottom, l.bottom), l.left = ve(d.left, l.left), l;
4802
- }, va(t, i, r));
4800
+ const d = ya(t, u, r);
4801
+ return l.top = ye(d.top, l.top), l.right = Te(d.right, l.right), l.bottom = Te(d.bottom, l.bottom), l.left = ye(d.left, l.left), l;
4802
+ }, ya(t, i, r));
4803
4803
  return {
4804
4804
  width: c.right - c.left,
4805
4805
  height: c.bottom - c.top,
@@ -4840,7 +4840,7 @@ function Vp(e, t, n) {
4840
4840
  function sr(e) {
4841
4841
  return Oe(e).position === "static";
4842
4842
  }
4843
- function ya(e, t) {
4843
+ function va(e, t) {
4844
4844
  return !Ae(e) || Oe(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
4845
4845
  }
4846
4846
  function tl(e, t) {
@@ -4849,17 +4849,17 @@ function tl(e, t) {
4849
4849
  return n;
4850
4850
  if (!Ae(e)) {
4851
4851
  let r = st(e);
4852
- for (; r && !yt(r); ) {
4852
+ for (; r && !vt(r); ) {
4853
4853
  if (se(r) && !sr(r))
4854
4854
  return r;
4855
4855
  r = st(r);
4856
4856
  }
4857
4857
  return n;
4858
4858
  }
4859
- let o = ya(e, t);
4859
+ let o = va(e, t);
4860
4860
  for (; o && rp(o) && sr(o); )
4861
- o = ya(o, t);
4862
- return o && yt(o) && sr(o) && !Vr(o) ? n : o || sp(e) || n;
4861
+ o = va(o, t);
4862
+ return o && vt(o) && sr(o) && !Vr(o) ? n : o || sp(e) || n;
4863
4863
  }
4864
4864
  const Wp = async function(e) {
4865
4865
  const t = this.getOffsetParent || tl, n = this.getDimensions, o = await n(e.floating);
@@ -4905,9 +4905,9 @@ function Kp(e, t) {
4905
4905
  } = e.getBoundingClientRect();
4906
4906
  if (i || t(), !d || !p)
4907
4907
  return;
4908
- const f = On(u), h = On(r.clientWidth - (l + d)), m = On(r.clientHeight - (u + p)), v = On(l), w = {
4909
- rootMargin: -f + "px " + -h + "px " + -m + "px " + -v + "px",
4910
- threshold: ve(0, Te(1, c)) || 1
4908
+ const f = On(u), h = On(r.clientWidth - (l + d)), m = On(r.clientHeight - (u + p)), y = On(l), w = {
4909
+ rootMargin: -f + "px " + -h + "px " + -m + "px " + -y + "px",
4910
+ threshold: ye(0, Te(1, c)) || 1
4911
4911
  };
4912
4912
  let b = !0;
4913
4913
  function S(x) {
@@ -4943,31 +4943,31 @@ function Yp(e, t, n, o) {
4943
4943
  layoutShift: i = typeof IntersectionObserver == "function",
4944
4944
  animationFrame: c = !1
4945
4945
  } = o, l = qr(e), u = r || s ? [...l ? ot(l) : [], ...ot(t)] : [];
4946
- u.forEach((y) => {
4947
- r && y.addEventListener("scroll", n, {
4946
+ u.forEach((v) => {
4947
+ r && v.addEventListener("scroll", n, {
4948
4948
  passive: !0
4949
- }), s && y.addEventListener("resize", n);
4949
+ }), s && v.addEventListener("resize", n);
4950
4950
  });
4951
4951
  const d = l && i ? Kp(l, n) : null;
4952
4952
  let p = -1, f = null;
4953
- a && (f = new ResizeObserver((y) => {
4954
- let [w] = y;
4953
+ a && (f = new ResizeObserver((v) => {
4954
+ let [w] = v;
4955
4955
  w && w.target === l && f && (f.unobserve(t), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
4956
4956
  var b;
4957
4957
  (b = f) == null || b.observe(t);
4958
4958
  })), n();
4959
4959
  }), l && !c && f.observe(l), f.observe(t));
4960
4960
  let h, m = c ? Nt(e) : null;
4961
- c && v();
4962
- function v() {
4963
- const y = Nt(e);
4964
- m && (y.x !== m.x || y.y !== m.y || y.width !== m.width || y.height !== m.height) && n(), m = y, h = requestAnimationFrame(v);
4961
+ c && y();
4962
+ function y() {
4963
+ const v = Nt(e);
4964
+ m && (v.x !== m.x || v.y !== m.y || v.width !== m.width || v.height !== m.height) && n(), m = v, h = requestAnimationFrame(y);
4965
4965
  }
4966
4966
  return n(), () => {
4967
- var y;
4967
+ var v;
4968
4968
  u.forEach((w) => {
4969
4969
  r && w.removeEventListener("scroll", n), s && w.removeEventListener("resize", n);
4970
- }), d?.(), (y = f) == null || y.disconnect(), f = null, c && cancelAnimationFrame(h);
4970
+ }), d?.(), (v = f) == null || v.disconnect(), f = null, c && cancelAnimationFrame(h);
4971
4971
  };
4972
4972
  }
4973
4973
  const qp = Rp, Xp = Ep, Up = $p, Qp = Ap, ba = Cp, Zp = _p, Jp = Tp, em = (e, t, n) => {
@@ -5050,11 +5050,11 @@ function tm(e) {
5050
5050
  isPositioned: !1
5051
5051
  }), [p, f] = N.useState(o);
5052
5052
  Gn(p, o) || f(o);
5053
- const [h, m] = N.useState(null), [v, y] = N.useState(null), w = N.useCallback((T) => {
5053
+ const [h, m] = N.useState(null), [y, v] = N.useState(null), w = N.useCallback((T) => {
5054
5054
  T !== C.current && (C.current = T, m(T));
5055
5055
  }, []), b = N.useCallback((T) => {
5056
- T !== _.current && (_.current = T, y(T));
5057
- }, []), S = s || h, x = a || v, C = N.useRef(null), _ = N.useRef(null), P = N.useRef(u), A = c != null, O = ar(c), z = ar(r), H = ar(l), j = N.useCallback(() => {
5056
+ T !== _.current && (_.current = T, v(T));
5057
+ }, []), S = s || h, x = a || y, C = N.useRef(null), _ = N.useRef(null), P = N.useRef(u), A = c != null, O = ar(c), z = ar(r), H = ar(l), j = N.useCallback(() => {
5058
5058
  if (!C.current || !_.current)
5059
5059
  return;
5060
5060
  const T = {
@@ -5249,7 +5249,7 @@ function fm(e, t) {
5249
5249
  mouseOnly: u = !1,
5250
5250
  restMs: d = 0,
5251
5251
  move: p = !0
5252
- } = t, f = Qr(), h = Ur(), m = ir(l), v = ir(c), y = ir(n), w = N.useRef(), b = N.useRef(-1), S = N.useRef(), x = N.useRef(-1), C = N.useRef(!0), _ = N.useRef(!1), P = N.useRef(() => {
5252
+ } = t, f = Qr(), h = Ur(), m = ir(l), y = ir(c), v = ir(n), w = N.useRef(), b = N.useRef(-1), S = N.useRef(), x = N.useRef(-1), C = N.useRef(!0), _ = N.useRef(!1), P = N.useRef(() => {
5253
5253
  }), A = N.useRef(!1), O = N.useCallback(() => {
5254
5254
  var L;
5255
5255
  const T = (L = r.current.openEvent) == null ? void 0 : L.type;
@@ -5278,9 +5278,9 @@ function fm(e, t) {
5278
5278
  }, [a.floating, n, o, i, m, O]);
5279
5279
  const z = N.useCallback(function(L, T, $) {
5280
5280
  T === void 0 && (T = !0), $ === void 0 && ($ = "hover");
5281
- const k = Vn(v.current, "close", w.current);
5281
+ const k = Vn(y.current, "close", w.current);
5282
5282
  k && !S.current ? (clearTimeout(b.current), b.current = window.setTimeout(() => o(!1, L, $), k)) : T && (clearTimeout(b.current), o(!1, L, $));
5283
- }, [v, o]), H = nt(() => {
5283
+ }, [y, o]), H = nt(() => {
5284
5284
  P.current(), S.current = void 0;
5285
5285
  }), j = nt(() => {
5286
5286
  if (_.current) {
@@ -5291,11 +5291,11 @@ function fm(e, t) {
5291
5291
  N.useEffect(() => {
5292
5292
  if (!i) return;
5293
5293
  function L(M) {
5294
- if (clearTimeout(b.current), C.current = !1, u && !Cr(w.current) || d > 0 && !Vn(v.current, "open"))
5294
+ if (clearTimeout(b.current), C.current = !1, u && !Cr(w.current) || d > 0 && !Vn(y.current, "open"))
5295
5295
  return;
5296
- const Y = Vn(v.current, "open", w.current);
5296
+ const Y = Vn(y.current, "open", w.current);
5297
5297
  Y ? b.current = window.setTimeout(() => {
5298
- y.current || o(!0, M, "hover");
5298
+ v.current || o(!0, M, "hover");
5299
5299
  }, Y) : n || o(!0, M, "hover");
5300
5300
  }
5301
5301
  function T(M) {
@@ -5318,7 +5318,7 @@ function fm(e, t) {
5318
5318
  };
5319
5319
  return;
5320
5320
  }
5321
- (w.current === "touch" ? !vn(a.floating, M.relatedTarget) : !0) && z(M);
5321
+ (w.current === "touch" ? !yn(a.floating, M.relatedTarget) : !0) && z(M);
5322
5322
  }
5323
5323
  function $(M) {
5324
5324
  B() || r.current.floatingContext && (m.current == null || m.current({
@@ -5341,7 +5341,7 @@ function fm(e, t) {
5341
5341
  n && M.removeEventListener("mouseleave", $), (Y = a.floating) == null || Y.removeEventListener("mouseleave", $), p && M.removeEventListener("mousemove", L), M.removeEventListener("mouseenter", L), M.removeEventListener("mouseleave", T);
5342
5342
  };
5343
5343
  }
5344
- }, [a, i, e, u, d, p, z, H, j, o, n, y, f, v, m, r, B]), qe(() => {
5344
+ }, [a, i, e, u, d, p, z, H, j, o, n, v, f, y, m, r, B]), qe(() => {
5345
5345
  var L;
5346
5346
  if (i && n && (L = m.current) != null && L.__options.blockPointerEvents && O()) {
5347
5347
  _.current = !0;
@@ -5373,12 +5373,12 @@ function fm(e, t) {
5373
5373
  nativeEvent: $
5374
5374
  } = T;
5375
5375
  function k() {
5376
- !C.current && !y.current && o(!0, $, "hover");
5376
+ !C.current && !v.current && o(!0, $, "hover");
5377
5377
  }
5378
5378
  u && !Cr(w.current) || n || d === 0 || A.current && T.movementX ** 2 + T.movementY ** 2 < 2 || (clearTimeout(x.current), w.current === "touch" ? k() : (A.current = !0, x.current = window.setTimeout(k, d)));
5379
5379
  }
5380
5380
  };
5381
- }, [u, o, n, y, d]), D = N.useMemo(() => ({
5381
+ }, [u, o, n, v, d]), D = N.useMemo(() => ({
5382
5382
  onMouseEnter() {
5383
5383
  clearTimeout(b.current);
5384
5384
  },
@@ -5496,7 +5496,7 @@ const hm = "data-floating-ui-focusable", gm = {
5496
5496
  pointerdown: "onPointerDown",
5497
5497
  mousedown: "onMouseDown",
5498
5498
  click: "onClick"
5499
- }, vm = {
5499
+ }, ym = {
5500
5500
  pointerdown: "onPointerDownCapture",
5501
5501
  mousedown: "onMouseDownCapture",
5502
5502
  click: "onClickCapture"
@@ -5507,7 +5507,7 @@ const hm = "data-floating-ui-focusable", gm = {
5507
5507
  outsidePress: typeof e == "boolean" ? e : (n = e?.outsidePress) != null ? n : !0
5508
5508
  };
5509
5509
  };
5510
- function ym(e, t) {
5510
+ function vm(e, t) {
5511
5511
  t === void 0 && (t = {});
5512
5512
  const {
5513
5513
  open: n,
@@ -5524,7 +5524,7 @@ function ym(e, t) {
5524
5524
  ancestorScroll: p = !1,
5525
5525
  bubbles: f,
5526
5526
  capture: h
5527
- } = t, m = Qr(), v = nt(typeof c == "function" ? c : () => !1), y = typeof c == "function" ? v : c, w = N.useRef(!1), b = N.useRef(!1), {
5527
+ } = t, m = Qr(), y = nt(typeof c == "function" ? c : () => !1), v = typeof c == "function" ? y : c, w = N.useRef(!1), b = N.useRef(!1), {
5528
5528
  escapeKey: S,
5529
5529
  outsidePress: x
5530
5530
  } = Pa(f), {
@@ -5559,20 +5559,20 @@ function ym(e, t) {
5559
5559
  const L = w.current;
5560
5560
  w.current = !1;
5561
5561
  const T = b.current;
5562
- if (b.current = !1, l === "click" && T || L || typeof y == "function" && !y(V))
5562
+ if (b.current = !1, l === "click" && T || L || typeof v == "function" && !v(V))
5563
5563
  return;
5564
5564
  const $ = Bt(V), k = "[" + Zr("inert") + "]", M = $t(r.floating).querySelectorAll(k);
5565
5565
  let Y = se($) ? $ : null;
5566
- for (; Y && !yt(Y); ) {
5566
+ for (; Y && !vt(Y); ) {
5567
5567
  const U = st(Y);
5568
- if (yt(U) || !se(U))
5568
+ if (vt(U) || !se(U))
5569
5569
  break;
5570
5570
  Y = U;
5571
5571
  }
5572
5572
  if (M.length && se($) && !fp($) && // Clicked on a direct ancestor (e.g. FloatingOverlay).
5573
- !vn($, r.floating) && // If the target root element contains none of the markers, then the
5573
+ !yn($, r.floating) && // If the target root element contains none of the markers, then the
5574
5574
  // element was injected after the floating element rendered.
5575
- Array.from(M).every((U) => !vn(Y, U)))
5575
+ Array.from(M).every((U) => !yn(Y, U)))
5576
5576
  return;
5577
5577
  if (Ae($) && B) {
5578
5578
  const U = $.clientWidth > 0 && $.scrollWidth > $.clientWidth, ne = $.clientHeight > 0 && $.scrollHeight > $.clientHeight;
@@ -5629,7 +5629,7 @@ function ym(e, t) {
5629
5629
  );
5630
5630
  }
5631
5631
  const $ = $t(r.floating);
5632
- i && ($.addEventListener("keydown", C ? O : A, C), $.addEventListener("compositionstart", L), $.addEventListener("compositionend", T)), y && $.addEventListener(l, _ ? H : z, _);
5632
+ i && ($.addEventListener("keydown", C ? O : A, C), $.addEventListener("compositionstart", L), $.addEventListener("compositionend", T)), v && $.addEventListener(l, _ ? H : z, _);
5633
5633
  let k = [];
5634
5634
  return p && (se(r.domReference) && (k = ot(r.domReference)), se(r.floating) && (k = k.concat(ot(r.floating))), !se(r.reference) && r.reference && r.reference.contextElement && (k = k.concat(ot(r.reference.contextElement)))), k = k.filter((M) => {
5635
5635
  var Y;
@@ -5639,13 +5639,13 @@ function ym(e, t) {
5639
5639
  passive: !0
5640
5640
  });
5641
5641
  }), () => {
5642
- i && ($.removeEventListener("keydown", C ? O : A, C), $.removeEventListener("compositionstart", L), $.removeEventListener("compositionend", T)), y && $.removeEventListener(l, _ ? H : z, _), k.forEach((M) => {
5642
+ i && ($.removeEventListener("keydown", C ? O : A, C), $.removeEventListener("compositionstart", L), $.removeEventListener("compositionend", T)), v && $.removeEventListener(l, _ ? H : z, _), k.forEach((M) => {
5643
5643
  M.removeEventListener("scroll", D);
5644
5644
  }), window.clearTimeout(V);
5645
5645
  };
5646
- }, [s, r, i, y, l, n, o, p, a, S, x, A, C, O, z, _, H]), N.useEffect(() => {
5646
+ }, [s, r, i, v, l, n, o, p, a, S, x, A, C, O, z, _, H]), N.useEffect(() => {
5647
5647
  w.current = !1;
5648
- }, [y, l]);
5648
+ }, [v, l]);
5649
5649
  const j = N.useMemo(() => ({
5650
5650
  onKeyDown: A,
5651
5651
  [gm[d]]: (V) => {
@@ -5659,7 +5659,7 @@ function ym(e, t) {
5659
5659
  onMouseUp() {
5660
5660
  b.current = !0;
5661
5661
  },
5662
- [vm[l]]: () => {
5662
+ [ym[l]]: () => {
5663
5663
  w.current = !0;
5664
5664
  }
5665
5665
  }), [A, l]);
@@ -5731,21 +5731,21 @@ function Jr(e) {
5731
5731
  // `null` to support `positionReference` + an unstable `reference`
5732
5732
  // callback ref.
5733
5733
  b !== null && !se(b)) && f.refs.setReference(b);
5734
- }, [f.refs]), v = N.useMemo(() => ({
5734
+ }, [f.refs]), y = N.useMemo(() => ({
5735
5735
  ...f.refs,
5736
5736
  setReference: m,
5737
5737
  setPositionReference: h,
5738
5738
  domReference: d
5739
- }), [f.refs, m, h]), y = N.useMemo(() => ({
5739
+ }), [f.refs, m, h]), v = N.useMemo(() => ({
5740
5740
  ...f.elements,
5741
5741
  domReference: u
5742
5742
  }), [f.elements, u]), w = N.useMemo(() => ({
5743
5743
  ...f,
5744
5744
  ...o,
5745
- refs: v,
5746
- elements: y,
5745
+ refs: y,
5746
+ elements: v,
5747
5747
  nodeId: t
5748
- }), [f, v, y, t, o]);
5748
+ }), [f, y, v, t, o]);
5749
5749
  return qe(() => {
5750
5750
  o.dataRef.current.floatingContext = w;
5751
5751
  const b = p?.nodesRef.current.find((S) => S.id === t);
@@ -5753,9 +5753,9 @@ function Jr(e) {
5753
5753
  }), N.useMemo(() => ({
5754
5754
  ...f,
5755
5755
  context: w,
5756
- refs: v,
5757
- elements: y
5758
- }), [f, v, y, w]);
5756
+ refs: y,
5757
+ elements: v
5758
+ }), [f, y, v, w]);
5759
5759
  }
5760
5760
  function wm(e, t) {
5761
5761
  t === void 0 && (t = {});
@@ -5817,11 +5817,11 @@ function wm(e, t) {
5817
5817
  },
5818
5818
  onBlur(f) {
5819
5819
  l.current = !1;
5820
- const h = f.relatedTarget, m = f.nativeEvent, v = se(h) && h.hasAttribute(Zr("focus-guard")) && h.getAttribute("data-type") === "outside";
5820
+ const h = f.relatedTarget, m = f.nativeEvent, y = se(h) && h.hasAttribute(Zr("focus-guard")) && h.getAttribute("data-type") === "outside";
5821
5821
  u.current = window.setTimeout(() => {
5822
- var y;
5822
+ var v;
5823
5823
  const w = ma(a.domReference ? a.domReference.ownerDocument : document);
5824
- !h && w === a.domReference || vn((y = s.current.floatingContext) == null ? void 0 : y.refs.floating.current, w) || vn(a.domReference, w) || v || o(!1, m, "focus");
5824
+ !h && w === a.domReference || yn((v = s.current.floatingContext) == null ? void 0 : v.refs.floating.current, w) || yn(a.domReference, w) || y || o(!1, m, "focus");
5825
5825
  });
5826
5826
  }
5827
5827
  }), [s, a.domReference, o, c]);
@@ -5859,7 +5859,7 @@ function cr(e, t, n) {
5859
5859
  (d = o.get(l)) == null || d.push(u), a[l] = function() {
5860
5860
  for (var p, f = arguments.length, h = new Array(f), m = 0; m < f; m++)
5861
5861
  h[m] = arguments[m];
5862
- return (p = o.get(l)) == null ? void 0 : p.map((v) => v(...h)).find((v) => v !== void 0);
5862
+ return (p = o.get(l)) == null ? void 0 : p.map((y) => y(...h)).find((y) => y !== void 0);
5863
5863
  };
5864
5864
  }
5865
5865
  } else
@@ -5935,9 +5935,9 @@ function Cm(e, t) {
5935
5935
  }, [i, r, c, a]), f = N.useCallback((h) => {
5936
5936
  let {
5937
5937
  active: m,
5938
- selected: v
5938
+ selected: y
5939
5939
  } = h;
5940
- const y = {
5940
+ const v = {
5941
5941
  role: "option",
5942
5942
  ...m && {
5943
5943
  id: r + "-option"
@@ -5946,12 +5946,12 @@ function Cm(e, t) {
5946
5946
  switch (a) {
5947
5947
  case "select":
5948
5948
  return {
5949
- ...y,
5950
- "aria-selected": m && v
5949
+ ...v,
5950
+ "aria-selected": m && y
5951
5951
  };
5952
5952
  case "combobox":
5953
5953
  return {
5954
- ...y,
5954
+ ...v,
5955
5955
  ...m && {
5956
5956
  "aria-selected": !0
5957
5957
  }
@@ -6259,16 +6259,16 @@ function Tm({
6259
6259
  enterDelay: c,
6260
6260
  exitDelay: l
6261
6261
  }) {
6262
- const u = we(), d = vi(), p = u.respectReducedMotion ? d : !1, [f, h] = W(p ? 0 : e), [m, v] = W(o ? "entered" : "exited"), y = G(-1), w = G(-1), b = G(-1), S = (C) => {
6262
+ const u = we(), d = yi(), p = u.respectReducedMotion ? d : !1, [f, h] = W(p ? 0 : e), [m, y] = W(o ? "entered" : "exited"), v = G(-1), w = G(-1), b = G(-1), S = (C) => {
6263
6263
  const _ = C ? r : s, P = C ? a : i;
6264
- window.clearTimeout(y.current);
6264
+ window.clearTimeout(v.current);
6265
6265
  const A = p ? 0 : C ? e : t;
6266
- h(A), A === 0 ? (typeof _ == "function" && _(), typeof P == "function" && P(), v(C ? "entered" : "exited")) : b.current = requestAnimationFrame(() => {
6266
+ h(A), A === 0 ? (typeof _ == "function" && _(), typeof P == "function" && P(), y(C ? "entered" : "exited")) : b.current = requestAnimationFrame(() => {
6267
6267
  tu.flushSync(() => {
6268
- v(C ? "pre-entering" : "pre-exiting");
6268
+ y(C ? "pre-entering" : "pre-exiting");
6269
6269
  }), b.current = requestAnimationFrame(() => {
6270
- typeof _ == "function" && _(), v(C ? "entering" : "exiting"), y.current = window.setTimeout(() => {
6271
- typeof P == "function" && P(), v(C ? "entered" : "exited");
6270
+ typeof _ == "function" && _(), y(C ? "entering" : "exiting"), v.current = window.setTimeout(() => {
6271
+ typeof P == "function" && P(), y(C ? "entered" : "exited");
6272
6272
  }, A);
6273
6273
  });
6274
6274
  });
@@ -6288,7 +6288,7 @@ function Tm({
6288
6288
  x(o);
6289
6289
  }, [o]), X(
6290
6290
  () => () => {
6291
- window.clearTimeout(y.current), cancelAnimationFrame(b.current);
6291
+ window.clearTimeout(v.current), cancelAnimationFrame(b.current);
6292
6292
  },
6293
6293
  []
6294
6294
  ), {
@@ -6364,7 +6364,7 @@ const pl = Am, km = {}, ts = F((e, t) => {
6364
6364
  duration: p.transitionProps?.duration ?? 150,
6365
6365
  keepMounted: p.keepMounted,
6366
6366
  exitDuration: typeof p.transitionProps?.exitDuration == "number" ? p.transitionProps.exitDuration : p.transitionProps?.duration,
6367
- children: (v) => /* @__PURE__ */ g(co, { active: p.trapFocus && p.opened, innerRef: m, children: /* @__PURE__ */ Q(
6367
+ children: (y) => /* @__PURE__ */ g(co, { active: p.trapFocus && p.opened, innerRef: m, children: /* @__PURE__ */ Q(
6368
6368
  I,
6369
6369
  {
6370
6370
  ...h,
@@ -6384,7 +6384,7 @@ const pl = Am, km = {}, ts = F((e, t) => {
6384
6384
  styles: u,
6385
6385
  style: [
6386
6386
  {
6387
- ...v,
6387
+ ...y,
6388
6388
  zIndex: p.zIndex,
6389
6389
  top: p.y ?? 0,
6390
6390
  left: p.x ?? 0,
@@ -6586,8 +6586,8 @@ function Re(e) {
6586
6586
  withArrow: f,
6587
6587
  arrowSize: h,
6588
6588
  arrowOffset: m,
6589
- arrowRadius: v,
6590
- arrowPosition: y,
6589
+ arrowRadius: y,
6590
+ arrowPosition: v,
6591
6591
  unstyled: w,
6592
6592
  classNames: b,
6593
6593
  styles: S,
@@ -6679,8 +6679,8 @@ function Re(e) {
6679
6679
  withArrow: f,
6680
6680
  arrowSize: h,
6681
6681
  arrowOffset: m,
6682
- arrowRadius: v,
6683
- arrowPosition: y,
6682
+ arrowRadius: y,
6683
+ arrowPosition: v,
6684
6684
  placement: re.floating.placement,
6685
6685
  trapFocus: O,
6686
6686
  withinPortal: C,
@@ -6720,18 +6720,18 @@ const We = Bm, gl = Z(({ className: e, ...t }, n) => /* @__PURE__ */ Q(I, { comp
6720
6720
  /* @__PURE__ */ g("span", { className: We.bar })
6721
6721
  ] }));
6722
6722
  gl.displayName = "@mantine/core/Bars";
6723
- const vl = Z(({ className: e, ...t }, n) => /* @__PURE__ */ Q(I, { component: "span", className: ge(We.dotsLoader, e), ...t, ref: n, children: [
6723
+ const yl = Z(({ className: e, ...t }, n) => /* @__PURE__ */ Q(I, { component: "span", className: ge(We.dotsLoader, e), ...t, ref: n, children: [
6724
6724
  /* @__PURE__ */ g("span", { className: We.dot }),
6725
6725
  /* @__PURE__ */ g("span", { className: We.dot }),
6726
6726
  /* @__PURE__ */ g("span", { className: We.dot })
6727
6727
  ] }));
6728
- vl.displayName = "@mantine/core/Dots";
6729
- const yl = Z(({ className: e, ...t }, n) => /* @__PURE__ */ g(I, { component: "span", className: ge(We.ovalLoader, e), ...t, ref: n }));
6730
- yl.displayName = "@mantine/core/Oval";
6728
+ yl.displayName = "@mantine/core/Dots";
6729
+ const vl = Z(({ className: e, ...t }, n) => /* @__PURE__ */ g(I, { component: "span", className: ge(We.ovalLoader, e), ...t, ref: n }));
6730
+ vl.displayName = "@mantine/core/Oval";
6731
6731
  const bl = {
6732
6732
  bars: gl,
6733
- oval: yl,
6734
- dots: vl
6733
+ oval: vl,
6734
+ dots: yl
6735
6735
  }, Fm = {
6736
6736
  loaders: bl,
6737
6737
  type: "oval"
@@ -6755,7 +6755,7 @@ const bl = {
6755
6755
  variant: f,
6756
6756
  children: h,
6757
6757
  ...m
6758
- } = n, v = q({
6758
+ } = n, y = q({
6759
6759
  name: "Loader",
6760
6760
  props: n,
6761
6761
  classes: We,
@@ -6767,10 +6767,10 @@ const bl = {
6767
6767
  vars: a,
6768
6768
  varsResolver: Hm
6769
6769
  });
6770
- return h ? /* @__PURE__ */ g(I, { ...v("root"), ref: t, ...m, children: h }) : /* @__PURE__ */ g(
6770
+ return h ? /* @__PURE__ */ g(I, { ...y("root"), ref: t, ...m, children: h }) : /* @__PURE__ */ g(
6771
6771
  I,
6772
6772
  {
6773
- ...v("root"),
6773
+ ...y("root"),
6774
6774
  ref: t,
6775
6775
  component: p[s],
6776
6776
  variant: f,
@@ -6839,7 +6839,7 @@ const ka = {}, jm = (e, { radius: t, color: n, gradient: o, variant: r, autoCont
6839
6839
  groupSection: {
6840
6840
  "--section-height": J(a, "section-height"),
6841
6841
  "--section-padding-x": J(a, "section-padding-x"),
6842
- "--section-fz": ye(a),
6842
+ "--section-fz": ve(a),
6843
6843
  "--section-radius": t === void 0 ? void 0 : le(t),
6844
6844
  "--section-bg": n || r ? i.background : void 0,
6845
6845
  "--section-color": i.color,
@@ -6910,8 +6910,8 @@ const Gm = {}, Km = (e, { size: t, radius: n, variant: o, gradient: r, color: s,
6910
6910
  radius: f,
6911
6911
  __staticSelector: h,
6912
6912
  gradient: m,
6913
- vars: v,
6914
- children: y,
6913
+ vars: y,
6914
+ children: v,
6915
6915
  disabled: w,
6916
6916
  "data-disabled": b,
6917
6917
  autoContrast: S,
@@ -6926,7 +6926,7 @@ const Gm = {}, Km = (e, { size: t, radius: n, variant: o, gradient: r, color: s,
6926
6926
  classNames: a,
6927
6927
  styles: i,
6928
6928
  unstyled: r,
6929
- vars: v,
6929
+ vars: y,
6930
6930
  varsResolver: Km
6931
6931
  });
6932
6932
  return /* @__PURE__ */ Q(
@@ -6942,7 +6942,7 @@ const Gm = {}, Km = (e, { size: t, radius: n, variant: o, gradient: r, color: s,
6942
6942
  mod: [{ loading: l, disabled: w || b }, x],
6943
6943
  children: [
6944
6944
  /* @__PURE__ */ g(ft, { mounted: !!l, transition: "slide-down", duration: 150, children: (P) => /* @__PURE__ */ g(I, { component: "span", ..._("loader", { style: P }), "aria-hidden": !0, children: /* @__PURE__ */ g(Tt, { color: "var(--ai-color)", size: "calc(var(--ai-size) * 0.55)", ...u }) }) }),
6945
- /* @__PURE__ */ g(I, { component: "span", mod: { loading: l }, ..._("icon"), children: y })
6945
+ /* @__PURE__ */ g(I, { component: "span", mod: { loading: l }, ..._("icon"), children: v })
6946
6946
  ]
6947
6947
  }
6948
6948
  );
@@ -6998,8 +6998,8 @@ const Sl = Ym, qm = {
6998
6998
  disabled: f,
6999
6999
  variant: h,
7000
7000
  icon: m,
7001
- mod: v,
7002
- ...y
7001
+ mod: y,
7002
+ ...v
7003
7003
  } = n, w = q({
7004
7004
  name: "CloseButton",
7005
7005
  props: n,
@@ -7016,11 +7016,11 @@ const Sl = Ym, qm = {
7016
7016
  ut,
7017
7017
  {
7018
7018
  ref: t,
7019
- ...y,
7019
+ ...v,
7020
7020
  unstyled: d,
7021
7021
  variant: h,
7022
7022
  disabled: f,
7023
- mod: [{ disabled: f || p }, v],
7023
+ mod: [{ disabled: f || p }, y],
7024
7024
  ...w("root", { variant: h, active: !f && !p }),
7025
7025
  children: [
7026
7026
  m || /* @__PURE__ */ g(wl, {}),
@@ -7064,8 +7064,8 @@ const xl = Qm, Zm = {
7064
7064
  grow: f,
7065
7065
  preventGrowOverflow: h,
7066
7066
  vars: m,
7067
- variant: v,
7068
- __size: y,
7067
+ variant: y,
7068
+ __size: v,
7069
7069
  mod: w,
7070
7070
  ...b
7071
7071
  } = n, S = Um(c), x = S.length, C = Ce(l ?? "md"), P = { childWidth: `calc(${100 / x}% - (${C} - ${C} / ${x}))` }, A = q({
@@ -7086,9 +7086,9 @@ const xl = Qm, Zm = {
7086
7086
  {
7087
7087
  ...A("root"),
7088
7088
  ref: t,
7089
- variant: v,
7089
+ variant: y,
7090
7090
  mod: [{ grow: f }, w],
7091
- size: y,
7091
+ size: v,
7092
7092
  ...b,
7093
7093
  children: S
7094
7094
  }
@@ -7106,7 +7106,7 @@ const $l = eh, th = {
7106
7106
  "--overlay-radius": s === void 0 ? void 0 : le(s),
7107
7107
  "--overlay-z-index": a?.toString()
7108
7108
  }
7109
- }), yn = pe((e, t) => {
7109
+ }), vn = pe((e, t) => {
7110
7110
  const n = E("Overlay", th, e), {
7111
7111
  classNames: o,
7112
7112
  className: r,
@@ -7121,8 +7121,8 @@ const $l = eh, th = {
7121
7121
  zIndex: f,
7122
7122
  gradient: h,
7123
7123
  blur: m,
7124
- color: v,
7125
- backgroundOpacity: y,
7124
+ color: y,
7125
+ backgroundOpacity: v,
7126
7126
  mod: w,
7127
7127
  ...b
7128
7128
  } = n, S = q({
@@ -7139,13 +7139,13 @@ const $l = eh, th = {
7139
7139
  });
7140
7140
  return /* @__PURE__ */ g(I, { ref: t, ...S("root"), mod: [{ center: u, fixed: l }, w], ...b, children: d });
7141
7141
  });
7142
- yn.classes = $l;
7143
- yn.displayName = "@mantine/core/Overlay";
7142
+ vn.classes = $l;
7143
+ vn.displayName = "@mantine/core/Overlay";
7144
7144
  const [oh, pt] = Me(
7145
7145
  "ModalBase component was not found in tree"
7146
7146
  );
7147
7147
  function rh({ opened: e, transitionDuration: t }) {
7148
- const [n, o] = W(e), r = G(-1), a = vi() ? 0 : t;
7148
+ const [n, o] = W(e), r = G(-1), a = yi() ? 0 : t;
7149
7149
  return X(() => (e ? (o(!0), window.clearTimeout(r.current)) : a === 0 ? o(!1) : r.current = window.setTimeout(() => o(!1), a), () => window.clearTimeout(r.current)), [e, a]), n;
7150
7150
  }
7151
7151
  function sh({
@@ -7191,8 +7191,8 @@ const rs = Z(
7191
7191
  lockScroll: f,
7192
7192
  children: h,
7193
7193
  zIndex: m,
7194
- shadow: v,
7195
- padding: y,
7194
+ shadow: y,
7195
+ padding: v,
7196
7196
  __vars: w,
7197
7197
  unstyled: b,
7198
7198
  removeScrollProps: S,
@@ -7233,8 +7233,8 @@ const rs = Z(
7233
7233
  __vars: {
7234
7234
  ...w,
7235
7235
  "--mb-z-index": (m || be("modal")).toString(),
7236
- "--mb-shadow": Er(v),
7237
- "--mb-padding": Ce(y)
7236
+ "--mb-shadow": Er(y),
7237
+ "--mb-padding": Ce(v)
7238
7238
  },
7239
7239
  children: h
7240
7240
  }
@@ -7363,7 +7363,7 @@ const cs = Z(
7363
7363
  ...i,
7364
7364
  transition: "fade",
7365
7365
  children: (c) => /* @__PURE__ */ g(
7366
- yn,
7366
+ vn,
7367
7367
  {
7368
7368
  ref: s,
7369
7369
  fixed: !0,
@@ -7415,7 +7415,7 @@ const [dh, fo] = Sn({
7415
7415
  var fh = { wrapper: "m_6c018570", input: "m_8fb7ebe7", section: "m_82577fc2", placeholder: "m_88bacfd0", root: "m_46b77525", label: "m_8fdc1311", required: "m_78a94662", error: "m_8f816625", description: "m_fe47ce59" };
7416
7416
  const ze = fh, Ma = {}, ph = (e, { size: t }) => ({
7417
7417
  description: {
7418
- "--input-description-size": t === void 0 ? void 0 : `calc(${ye(t)} - ${R(2)})`
7418
+ "--input-description-size": t === void 0 ? void 0 : `calc(${ve(t)} - ${R(2)})`
7419
7419
  }
7420
7420
  }), po = F((e, t) => {
7421
7421
  const n = E("InputDescription", Ma, e), {
@@ -7442,7 +7442,7 @@ const ze = fh, Ma = {}, ph = (e, { size: t }) => ({
7442
7442
  rootSelector: "description",
7443
7443
  vars: c,
7444
7444
  varsResolver: ph
7445
- }), v = d && h?.getStyles || m;
7445
+ }), y = d && h?.getStyles || m;
7446
7446
  return /* @__PURE__ */ g(
7447
7447
  I,
7448
7448
  {
@@ -7450,7 +7450,7 @@ const ze = fh, Ma = {}, ph = (e, { size: t }) => ({
7450
7450
  ref: t,
7451
7451
  variant: p,
7452
7452
  size: l,
7453
- ...v("description", h?.getStyles ? { className: r, style: s } : void 0),
7453
+ ...y("description", h?.getStyles ? { className: r, style: s } : void 0),
7454
7454
  ...f
7455
7455
  }
7456
7456
  );
@@ -7459,7 +7459,7 @@ po.classes = ze;
7459
7459
  po.displayName = "@mantine/core/InputDescription";
7460
7460
  const mh = {}, hh = (e, { size: t }) => ({
7461
7461
  error: {
7462
- "--input-error-size": t === void 0 ? void 0 : `calc(${ye(t)} - ${R(2)})`
7462
+ "--input-error-size": t === void 0 ? void 0 : `calc(${ve(t)} - ${R(2)})`
7463
7463
  }
7464
7464
  }), mo = F((e, t) => {
7465
7465
  const n = E("InputError", mh, e), {
@@ -7486,7 +7486,7 @@ const mh = {}, hh = (e, { size: t }) => ({
7486
7486
  rootSelector: "error",
7487
7487
  vars: c,
7488
7488
  varsResolver: hh
7489
- }), m = fo(), v = d && m?.getStyles || h;
7489
+ }), m = fo(), y = d && m?.getStyles || h;
7490
7490
  return /* @__PURE__ */ g(
7491
7491
  I,
7492
7492
  {
@@ -7494,7 +7494,7 @@ const mh = {}, hh = (e, { size: t }) => ({
7494
7494
  ref: t,
7495
7495
  variant: p,
7496
7496
  size: l,
7497
- ...v("error", m?.getStyles ? { className: r, style: s } : void 0),
7497
+ ...y("error", m?.getStyles ? { className: r, style: s } : void 0),
7498
7498
  ...f
7499
7499
  }
7500
7500
  );
@@ -7505,7 +7505,7 @@ const Ia = {
7505
7505
  labelElement: "label"
7506
7506
  }, gh = (e, { size: t }) => ({
7507
7507
  label: {
7508
- "--input-label-size": ye(t),
7508
+ "--input-label-size": ve(t),
7509
7509
  "--input-asterisk-color": void 0
7510
7510
  }
7511
7511
  }), ho = F((e, t) => {
@@ -7523,8 +7523,8 @@ const Ia = {
7523
7523
  onMouseDown: f,
7524
7524
  children: h,
7525
7525
  __staticSelector: m,
7526
- variant: v,
7527
- mod: y,
7526
+ variant: y,
7527
+ mod: v,
7528
7528
  ...w
7529
7529
  } = E("InputLabel", Ia, n), b = q({
7530
7530
  name: ["InputWrapper", m],
@@ -7544,11 +7544,11 @@ const Ia = {
7544
7544
  {
7545
7545
  ...x("label", S?.getStyles ? { className: r, style: s } : void 0),
7546
7546
  component: l,
7547
- variant: v,
7547
+ variant: y,
7548
7548
  size: u,
7549
7549
  ref: t,
7550
7550
  htmlFor: l === "label" ? p : void 0,
7551
- mod: [{ required: d }, y],
7551
+ mod: [{ required: d }, v],
7552
7552
  onMouseDown: (C) => {
7553
7553
  f?.(C), !C.defaultPrevented && C.detail > 1 && C.preventDefault();
7554
7554
  },
@@ -7600,27 +7600,27 @@ const Da = {}, ds = F((e, t) => {
7600
7600
  });
7601
7601
  ds.classes = ze;
7602
7602
  ds.displayName = "@mantine/core/InputPlaceholder";
7603
- function vh(e, { hasDescription: t, hasError: n }) {
7603
+ function yh(e, { hasDescription: t, hasError: n }) {
7604
7604
  const o = e.findIndex((c) => c === "input"), r = e.slice(0, o), s = e.slice(o + 1), a = t && r.includes("description") || n && r.includes("error");
7605
7605
  return { offsetBottom: t && s.includes("description") || n && s.includes("error"), offsetTop: a };
7606
7606
  }
7607
- const yh = {
7607
+ const vh = {
7608
7608
  labelElement: "label",
7609
7609
  inputContainer: (e) => e,
7610
7610
  inputWrapperOrder: ["label", "description", "input", "error"]
7611
7611
  }, bh = (e, { size: t }) => ({
7612
7612
  label: {
7613
- "--input-label-size": ye(t),
7613
+ "--input-label-size": ve(t),
7614
7614
  "--input-asterisk-color": void 0
7615
7615
  },
7616
7616
  error: {
7617
- "--input-error-size": t === void 0 ? void 0 : `calc(${ye(t)} - ${R(2)})`
7617
+ "--input-error-size": t === void 0 ? void 0 : `calc(${ve(t)} - ${R(2)})`
7618
7618
  },
7619
7619
  description: {
7620
- "--input-description-size": t === void 0 ? void 0 : `calc(${ye(t)} - ${R(2)})`
7620
+ "--input-description-size": t === void 0 ? void 0 : `calc(${ve(t)} - ${R(2)})`
7621
7621
  }
7622
7622
  }), fs = F((e, t) => {
7623
- const n = E("InputWrapper", yh, e), {
7623
+ const n = E("InputWrapper", vh, e), {
7624
7624
  classNames: o,
7625
7625
  className: r,
7626
7626
  style: s,
@@ -7634,8 +7634,8 @@ const yh = {
7634
7634
  inputWrapperOrder: f,
7635
7635
  label: h,
7636
7636
  error: m,
7637
- description: v,
7638
- labelProps: y,
7637
+ description: y,
7638
+ labelProps: v,
7639
7639
  descriptionProps: w,
7640
7640
  errorProps: b,
7641
7641
  labelElement: S,
@@ -7661,7 +7661,7 @@ const yh = {
7661
7661
  size: l,
7662
7662
  variant: u,
7663
7663
  __staticSelector: d
7664
- }, B = Ze(_), V = typeof C == "boolean" ? C : P, D = b?.id || `${B}-error`, L = w?.id || `${B}-description`, T = B, $ = !!m && typeof m != "boolean", k = !!v, M = `${$ ? D : ""} ${k ? L : ""}`, Y = M.trim().length > 0 ? M.trim() : void 0, ee = y?.id || `${B}-label`, fe = h && /* @__PURE__ */ g(
7664
+ }, B = Ze(_), V = typeof C == "boolean" ? C : P, D = b?.id || `${B}-error`, L = w?.id || `${B}-description`, T = B, $ = !!m && typeof m != "boolean", k = !!y, M = `${$ ? D : ""} ${k ? L : ""}`, Y = M.trim().length > 0 ? M.trim() : void 0, ee = v?.id || `${B}-label`, fe = h && /* @__PURE__ */ g(
7665
7665
  ho,
7666
7666
  {
7667
7667
  labelElement: S,
@@ -7669,7 +7669,7 @@ const yh = {
7669
7669
  htmlFor: T,
7670
7670
  required: V,
7671
7671
  ...j,
7672
- ...y,
7672
+ ...v,
7673
7673
  children: h
7674
7674
  },
7675
7675
  "label"
@@ -7680,7 +7680,7 @@ const yh = {
7680
7680
  ...j,
7681
7681
  size: w?.size || j.size,
7682
7682
  id: w?.id || L,
7683
- children: v
7683
+ children: y
7684
7684
  },
7685
7685
  "description"
7686
7686
  ), U = /* @__PURE__ */ g(qa, { children: p(x) }, "input"), ne = $ && /* @__PURE__ */ dn(
@@ -7715,7 +7715,7 @@ const yh = {
7715
7715
  describedBy: Y,
7716
7716
  inputId: T,
7717
7717
  labelId: ee,
7718
- ...vh(f, { hasDescription: k, hasError: $ })
7718
+ ...yh(f, { hasDescription: k, hasError: $ })
7719
7719
  },
7720
7720
  children: /* @__PURE__ */ g(
7721
7721
  I,
@@ -7745,7 +7745,7 @@ const wh = {
7745
7745
  "--input-margin-top": n.offsetTop ? "calc(var(--mantine-spacing-xs) / 2)" : void 0,
7746
7746
  "--input-margin-bottom": n.offsetBottom ? "calc(var(--mantine-spacing-xs) / 2)" : void 0,
7747
7747
  "--input-height": J(t.size, "input-height"),
7748
- "--input-fz": ye(t.size),
7748
+ "--input-fz": ve(t.size),
7749
7749
  "--input-radius": t.radius === void 0 ? void 0 : le(t.radius),
7750
7750
  "--input-left-section-width": t.leftSectionWidth !== void 0 ? R(t.leftSectionWidth) : void 0,
7751
7751
  "--input-right-section-width": t.rightSectionWidth !== void 0 ? R(t.rightSectionWidth) : void 0,
@@ -7768,8 +7768,8 @@ const wh = {
7768
7768
  error: f,
7769
7769
  disabled: h,
7770
7770
  leftSection: m,
7771
- leftSectionProps: v,
7772
- leftSectionWidth: y,
7771
+ leftSectionProps: y,
7772
+ leftSectionWidth: v,
7773
7773
  rightSection: w,
7774
7774
  rightSectionProps: b,
7775
7775
  rightSectionWidth: S,
@@ -7829,11 +7829,11 @@ const wh = {
7829
7829
  m && /* @__PURE__ */ g(
7830
7830
  "div",
7831
7831
  {
7832
- ...v,
7832
+ ...y,
7833
7833
  "data-position": "left",
7834
7834
  ...Y("section", {
7835
- className: v?.className,
7836
- style: v?.style
7835
+ className: y?.className,
7836
+ style: y?.style
7837
7837
  }),
7838
7838
  children: m
7839
7839
  }
@@ -7889,8 +7889,8 @@ function xh(e, t, n) {
7889
7889
  __stylesApiProps: f,
7890
7890
  errorProps: h,
7891
7891
  labelProps: m,
7892
- descriptionProps: v,
7893
- wrapperProps: y,
7892
+ descriptionProps: y,
7893
+ wrapperProps: v,
7894
7894
  id: w,
7895
7895
  size: b,
7896
7896
  style: S,
@@ -7912,7 +7912,7 @@ function xh(e, t, n) {
7912
7912
  __stylesApiProps: f || o,
7913
7913
  errorProps: h,
7914
7914
  labelProps: m,
7915
- descriptionProps: v,
7915
+ descriptionProps: y,
7916
7916
  unstyled: d,
7917
7917
  styles: l,
7918
7918
  size: b,
@@ -7923,7 +7923,7 @@ function xh(e, t, n) {
7923
7923
  variant: P,
7924
7924
  id: w,
7925
7925
  mod: O,
7926
- ...y
7926
+ ...v
7927
7927
  };
7928
7928
  return {
7929
7929
  ...j,
@@ -7979,8 +7979,8 @@ const _l = Ph, _h = {}, Nl = pe((e, t) => {
7979
7979
  justify: f,
7980
7980
  wrap: h,
7981
7981
  direction: m,
7982
- ...v
7983
- } = n, y = q({
7982
+ ...y
7983
+ } = n, v = q({
7984
7984
  name: "Flex",
7985
7985
  classes: _l,
7986
7986
  props: n,
@@ -8008,11 +8008,11 @@ const _l = Ph, _h = {}, Nl = pe((e, t) => {
8008
8008
  I,
8009
8009
  {
8010
8010
  ref: t,
8011
- ...y("root", {
8011
+ ...v("root", {
8012
8012
  className: b,
8013
8013
  style: Xt(S.inlineStyles)
8014
8014
  }),
8015
- ...v
8015
+ ...y
8016
8016
  }
8017
8017
  )
8018
8018
  ] });
@@ -8041,8 +8041,8 @@ function Rh({
8041
8041
  ), l = () => {
8042
8042
  if (!e || !t || !n.current)
8043
8043
  return;
8044
- const f = e.getBoundingClientRect(), h = t.getBoundingClientRect(), m = window.getComputedStyle(e), v = window.getComputedStyle(t), y = gt(m.borderTopWidth) + gt(v.borderTopWidth), w = gt(m.borderLeftWidth) + gt(v.borderLeftWidth), b = {
8045
- top: f.top - h.top - y,
8044
+ const f = e.getBoundingClientRect(), h = t.getBoundingClientRect(), m = window.getComputedStyle(e), y = window.getComputedStyle(t), v = gt(m.borderTopWidth) + gt(y.borderTopWidth), w = gt(m.borderLeftWidth) + gt(y.borderLeftWidth), b = {
8045
+ top: f.top - h.top - v,
8046
8046
  left: f.left - h.left - w,
8047
8047
  width: f.width,
8048
8048
  height: f.height
@@ -8113,13 +8113,13 @@ const Rl = Eh, Th = {}, Ah = (e, { transitionDuration: t }) => ({
8113
8113
  unstyled: i,
8114
8114
  vars: c,
8115
8115
  varsResolver: Ah
8116
- }), v = G(null), { initialized: y, hidden: w } = Rh({
8116
+ }), y = G(null), { initialized: v, hidden: w } = Rh({
8117
8117
  target: l,
8118
8118
  parent: u,
8119
- ref: v,
8119
+ ref: y,
8120
8120
  displayAfterTransitionEnd: f
8121
- }), b = de(t, v);
8122
- return !l || !u ? null : /* @__PURE__ */ g(I, { ref: b, mod: [{ initialized: y, hidden: w }, p], ...m("root"), ...h });
8121
+ }), b = de(t, y);
8122
+ return !l || !u ? null : /* @__PURE__ */ g(I, { ref: b, mod: [{ initialized: v, hidden: w }, p], ...m("root"), ...h });
8123
8123
  });
8124
8124
  ps.displayName = "@mantine/core/FloatingIndicator";
8125
8125
  ps.classes = Rl;
@@ -8154,8 +8154,8 @@ const El = kh, Mh = {}, Ih = (e, { radius: t, color: n, variant: o, autoContrast
8154
8154
  id: f,
8155
8155
  icon: h,
8156
8156
  withCloseButton: m,
8157
- onClose: v,
8158
- closeButtonLabel: y,
8157
+ onClose: y,
8158
+ closeButtonLabel: v,
8159
8159
  variant: w,
8160
8160
  autoContrast: b,
8161
8161
  ...S
@@ -8192,11 +8192,11 @@ const El = kh, Mh = {}, Ih = (e, { radius: t, color: n, variant: o, autoContrast
8192
8192
  At,
8193
8193
  {
8194
8194
  ...x("closeButton"),
8195
- onClick: v,
8195
+ onClick: y,
8196
8196
  variant: "transparent",
8197
8197
  size: 16,
8198
8198
  iconSize: 16,
8199
- "aria-label": y,
8199
+ "aria-label": v,
8200
8200
  unstyled: i
8201
8201
  }
8202
8202
  )
@@ -8218,9 +8218,9 @@ const Lh = {
8218
8218
  inherit: !1
8219
8219
  }, zh = (e, { variant: t, lineClamp: n, gradient: o, size: r, color: s }) => ({
8220
8220
  root: {
8221
- "--text-fz": ye(r),
8221
+ "--text-fz": ve(r),
8222
8222
  "--text-lh": Yu(r),
8223
- "--text-gradient": t === "gradient" ? vr(o, e) : void 0,
8223
+ "--text-gradient": t === "gradient" ? yr(o, e) : void 0,
8224
8224
  "--text-line-clamp": typeof n == "number" ? n.toString() : void 0,
8225
8225
  "--text-color": s ? xe(s, e) : void 0
8226
8226
  }
@@ -8239,8 +8239,8 @@ const Lh = {
8239
8239
  classNames: f,
8240
8240
  styles: h,
8241
8241
  unstyled: m,
8242
- variant: v,
8243
- mod: y,
8242
+ variant: y,
8243
+ mod: v,
8244
8244
  size: w,
8245
8245
  ...b
8246
8246
  } = n, S = q({
@@ -8261,7 +8261,7 @@ const Lh = {
8261
8261
  ...S("root", { focusable: !0 }),
8262
8262
  ref: t,
8263
8263
  component: c ? "span" : "p",
8264
- variant: v,
8264
+ variant: y,
8265
8265
  mod: [
8266
8266
  {
8267
8267
  "data-truncate": Oh(r),
@@ -8269,7 +8269,7 @@ const Lh = {
8269
8269
  "data-inline": s,
8270
8270
  "data-inherit": a
8271
8271
  },
8272
- y
8272
+ v
8273
8273
  ],
8274
8274
  size: w,
8275
8275
  ...b
@@ -8413,7 +8413,7 @@ const Yh = {
8413
8413
  return /* @__PURE__ */ g(Re.Target, { ref: t, refProp: o, children: n });
8414
8414
  });
8415
8415
  Ol.displayName = "@mantine/core/ComboboxDropdownTarget";
8416
- const qh = {}, vs = F((e, t) => {
8416
+ const qh = {}, ys = F((e, t) => {
8417
8417
  const { classNames: n, className: o, style: r, styles: s, vars: a, ...i } = E(
8418
8418
  "ComboboxEmpty",
8419
8419
  qh,
@@ -8428,9 +8428,9 @@ const qh = {}, vs = F((e, t) => {
8428
8428
  }
8429
8429
  );
8430
8430
  });
8431
- vs.classes = Ne;
8432
- vs.displayName = "@mantine/core/ComboboxEmpty";
8433
- function ys({
8431
+ ys.classes = Ne;
8432
+ ys.displayName = "@mantine/core/ComboboxEmpty";
8433
+ function vs({
8434
8434
  onKeyDown: e,
8435
8435
  withKeyboardNavigation: t,
8436
8436
  withAriaAttributes: n,
@@ -8486,7 +8486,7 @@ const Xh = {
8486
8486
  throw new Error(
8487
8487
  "Combobox.EventsTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"
8488
8488
  );
8489
- const u = Be(), d = ys({
8489
+ const u = Be(), d = vs({
8490
8490
  targetType: i,
8491
8491
  withAriaAttributes: s,
8492
8492
  withKeyboardNavigation: r,
@@ -8592,13 +8592,13 @@ const Jh = {}, xs = F((e, t) => {
8592
8592
  disabled: f,
8593
8593
  selected: h,
8594
8594
  mod: m,
8595
- ...v
8596
- } = n, y = Be(), w = Nr(), b = l || w;
8595
+ ...y
8596
+ } = n, v = Be(), w = Nr(), b = l || w;
8597
8597
  return /* @__PURE__ */ g(
8598
8598
  I,
8599
8599
  {
8600
- ...y.getStyles("option", { className: r, classNames: o, styles: a, style: s }),
8601
- ...v,
8600
+ ...v.getStyles("option", { className: r, classNames: o, styles: a, style: s }),
8601
+ ...y,
8602
8602
  ref: t,
8603
8603
  id: b,
8604
8604
  mod: [
@@ -8608,13 +8608,13 @@ const Jh = {}, xs = F((e, t) => {
8608
8608
  ],
8609
8609
  role: "option",
8610
8610
  onClick: (S) => {
8611
- f ? S.preventDefault() : (y.onOptionSubmit?.(n.value, n), c?.(S));
8611
+ f ? S.preventDefault() : (v.onOptionSubmit?.(n.value, n), c?.(S));
8612
8612
  },
8613
8613
  onMouseDown: (S) => {
8614
8614
  S.preventDefault(), d?.(S);
8615
8615
  },
8616
8616
  onMouseOver: (S) => {
8617
- y.resetSelectionOnOptionHover && y.store.resetSelectedOption(), p?.(S);
8617
+ v.resetSelectionOnOptionHover && v.store.resetSelectedOption(), p?.(S);
8618
8618
  }
8619
8619
  }
8620
8620
  );
@@ -8656,7 +8656,7 @@ const tg = {
8656
8656
  withKeyboardNavigation: l,
8657
8657
  size: u,
8658
8658
  ...d
8659
- } = n, p = Be(), f = p.getStyles("search"), h = ys({
8659
+ } = n, p = Be(), f = p.getStyles("search"), h = vs({
8660
8660
  targetType: "input",
8661
8661
  withAriaAttributes: i,
8662
8662
  withKeyboardNavigation: l,
@@ -8701,7 +8701,7 @@ const ng = {
8701
8701
  throw new Error(
8702
8702
  "Combobox.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"
8703
8703
  );
8704
- const u = Be(), d = ys({
8704
+ const u = Be(), d = vs({
8705
8705
  targetType: i,
8706
8706
  withAriaAttributes: s,
8707
8707
  withKeyboardNavigation: r,
@@ -8757,21 +8757,21 @@ function Fl({
8757
8757
  defaultValue: e,
8758
8758
  finalValue: !1,
8759
8759
  onChange: n
8760
- }), l = G(null), u = G(-1), d = G(null), p = G(null), f = G(-1), h = G(-1), m = G(-1), v = K(
8760
+ }), l = G(null), u = G(-1), d = G(null), p = G(null), f = G(-1), h = G(-1), m = G(-1), y = K(
8761
8761
  (D = "unknown") => {
8762
8762
  i || (c(!0), r?.(D));
8763
8763
  },
8764
8764
  [c, r, i]
8765
- ), y = K(
8765
+ ), v = K(
8766
8766
  (D = "unknown") => {
8767
8767
  i && (c(!1), o?.(D));
8768
8768
  },
8769
8769
  [c, o, i]
8770
8770
  ), w = K(
8771
8771
  (D = "unknown") => {
8772
- i ? y(D) : v(D);
8772
+ i ? v(D) : y(D);
8773
8773
  },
8774
- [y, v, i]
8774
+ [v, y, i]
8775
8775
  ), b = K(() => {
8776
8776
  const D = document.querySelector(`#${l.current} [data-combobox-selected]`);
8777
8777
  D?.removeAttribute("data-combobox-selected"), D?.removeAttribute("aria-selected");
@@ -8852,8 +8852,8 @@ function Fl({
8852
8852
  []
8853
8853
  ), {
8854
8854
  dropdownOpened: i,
8855
- openDropdown: v,
8856
- closeDropdown: y,
8855
+ openDropdown: y,
8856
+ closeDropdown: v,
8857
8857
  toggleDropdown: w,
8858
8858
  selectedOptionIndex: u.current,
8859
8859
  getSelectedOptionIndex: V,
@@ -8881,12 +8881,12 @@ const ag = {
8881
8881
  transitionProps: { transition: "fade", duration: 0 }
8882
8882
  }, ig = (e, { size: t, dropdownPadding: n }) => ({
8883
8883
  options: {
8884
- "--combobox-option-fz": ye(t),
8884
+ "--combobox-option-fz": ve(t),
8885
8885
  "--combobox-option-padding": J(t, "combobox-option-padding")
8886
8886
  },
8887
8887
  dropdown: {
8888
8888
  "--combobox-padding": n === void 0 ? void 0 : R(n),
8889
- "--combobox-option-fz": ye(t),
8889
+ "--combobox-option-fz": ve(t),
8890
8890
  "--combobox-option-padding": J(t, "combobox-option-padding")
8891
8891
  }
8892
8892
  });
@@ -8906,7 +8906,7 @@ function te(e) {
8906
8906
  __staticSelector: f,
8907
8907
  readOnly: h,
8908
8908
  ...m
8909
- } = t, v = Fl(), y = a || v, w = q({
8909
+ } = t, y = Fl(), v = a || y, w = q({
8910
8910
  name: f || "Combobox",
8911
8911
  classes: Ne,
8912
8912
  props: t,
@@ -8916,14 +8916,14 @@ function te(e) {
8916
8916
  vars: i,
8917
8917
  varsResolver: ig
8918
8918
  }), b = () => {
8919
- l?.(), y.closeDropdown();
8919
+ l?.(), v.closeDropdown();
8920
8920
  };
8921
8921
  return /* @__PURE__ */ g(
8922
8922
  Gh,
8923
8923
  {
8924
8924
  value: {
8925
8925
  getStyles: w,
8926
- store: y,
8926
+ store: v,
8927
8927
  onOptionSubmit: c,
8928
8928
  size: u,
8929
8929
  resetSelectionOnOptionHover: p,
@@ -8932,7 +8932,7 @@ function te(e) {
8932
8932
  children: /* @__PURE__ */ g(
8933
8933
  Re,
8934
8934
  {
8935
- opened: y.dropdownOpened,
8935
+ opened: v.dropdownOpened,
8936
8936
  ...m,
8937
8937
  onChange: (S) => !S && b(),
8938
8938
  withRoles: !1,
@@ -8952,7 +8952,7 @@ te.Dropdown = gs;
8952
8952
  te.Options = Cs;
8953
8953
  te.Option = xs;
8954
8954
  te.Search = $s;
8955
- te.Empty = vs;
8955
+ te.Empty = ys;
8956
8956
  te.Chevron = hs;
8957
8957
  te.Footer = bs;
8958
8958
  te.Header = Ss;
@@ -9097,8 +9097,8 @@ function fg({
9097
9097
  unstyled: f,
9098
9098
  labelId: h,
9099
9099
  renderOption: m,
9100
- scrollAreaProps: v,
9101
- "aria-label": y
9100
+ scrollAreaProps: y,
9101
+ "aria-label": v
9102
9102
  }) {
9103
9103
  Vl(e);
9104
9104
  const b = typeof r == "string" ? (o || Hl)({
@@ -9117,7 +9117,7 @@ function fg({
9117
9117
  },
9118
9118
  bn(C) ? C.group : C.value
9119
9119
  ));
9120
- return /* @__PURE__ */ g(te.Dropdown, { hidden: t || n && S, children: /* @__PURE__ */ Q(te.Options, { labelledBy: h, "aria-label": y, children: [
9120
+ return /* @__PURE__ */ g(te.Dropdown, { hidden: t || n && S, children: /* @__PURE__ */ Q(te.Options, { labelledBy: h, "aria-label": v, children: [
9121
9121
  i ? /* @__PURE__ */ g(
9122
9122
  Ut.Autosize,
9123
9123
  {
@@ -9125,7 +9125,7 @@ function fg({
9125
9125
  type: "scroll",
9126
9126
  scrollbarSize: "var(--combobox-padding)",
9127
9127
  offsetScrollbars: "y",
9128
- ...v,
9128
+ ...y,
9129
9129
  children: x
9130
9130
  }
9131
9131
  ) : x,
@@ -9168,8 +9168,8 @@ const jl = pg, mg = {}, hg = (e, { radius: t, color: n, gradient: o, variant: r,
9168
9168
  rightSection: f,
9169
9169
  children: h,
9170
9170
  variant: m,
9171
- fullWidth: v,
9172
- autoContrast: y,
9171
+ fullWidth: y,
9172
+ autoContrast: v,
9173
9173
  circle: w,
9174
9174
  mod: b,
9175
9175
  ...S
@@ -9191,7 +9191,7 @@ const jl = pg, mg = {}, hg = (e, { radius: t, color: n, gradient: o, variant: r,
9191
9191
  variant: m,
9192
9192
  mod: [
9193
9193
  {
9194
- block: v,
9194
+ block: y,
9195
9195
  circle: w,
9196
9196
  "with-right-section": !!f,
9197
9197
  "with-left-section": !!p
@@ -9212,7 +9212,7 @@ const jl = pg, mg = {}, hg = (e, { radius: t, color: n, gradient: o, variant: r,
9212
9212
  Gl.classes = jl;
9213
9213
  Gl.displayName = "@mantine/core/Badge";
9214
9214
  var gg = { root: "m_fea6bf1a", burger: "m_d4fb9cad" };
9215
- const Kl = gg, vg = {}, yg = (e, { color: t, size: n, lineSize: o, transitionDuration: r, transitionTimingFunction: s }) => ({
9215
+ const Kl = gg, yg = {}, vg = (e, { color: t, size: n, lineSize: o, transitionDuration: r, transitionTimingFunction: s }) => ({
9216
9216
  root: {
9217
9217
  "--burger-color": t ? xe(t, e) : void 0,
9218
9218
  "--burger-size": J(n, "burger-size"),
@@ -9221,7 +9221,7 @@ const Kl = gg, vg = {}, yg = (e, { color: t, size: n, lineSize: o, transitionDur
9221
9221
  "--burger-transition-timing-function": s
9222
9222
  }
9223
9223
  }), Yl = F((e, t) => {
9224
- const n = E("Burger", vg, e), {
9224
+ const n = E("Burger", yg, e), {
9225
9225
  classNames: o,
9226
9226
  className: r,
9227
9227
  style: s,
@@ -9244,7 +9244,7 @@ const Kl = gg, vg = {}, yg = (e, { color: t, size: n, lineSize: o, transitionDur
9244
9244
  styles: a,
9245
9245
  unstyled: i,
9246
9246
  vars: c,
9247
- varsResolver: yg
9247
+ varsResolver: vg
9248
9248
  });
9249
9249
  return /* @__PURE__ */ Q(ut, { ...m("root"), ref: t, ...h, children: [
9250
9250
  /* @__PURE__ */ g(I, { mod: ["reduce-motion", { opened: l }], ...m("burger") }),
@@ -9310,7 +9310,7 @@ const La = {}, Sg = (e, { radius: t, color: n, gradient: o, variant: r, autoCont
9310
9310
  groupSection: {
9311
9311
  "--section-height": J(a, "section-height"),
9312
9312
  "--section-padding-x": J(a, "section-padding-x"),
9313
- "--section-fz": a?.includes("compact") ? ye(a.replace("compact-", "")) : ye(a),
9313
+ "--section-fz": a?.includes("compact") ? ve(a.replace("compact-", "")) : ve(a),
9314
9314
  "--section-radius": t === void 0 ? void 0 : le(t),
9315
9315
  "--section-bg": n || r ? i.background : void 0,
9316
9316
  "--section-color": i.color,
@@ -9365,7 +9365,7 @@ const xg = {
9365
9365
  "--button-justify": a,
9366
9366
  "--button-height": J(s, "button-height"),
9367
9367
  "--button-padding-x": J(s, "button-padding-x"),
9368
- "--button-fz": s?.includes("compact") ? ye(s.replace("compact-", "")) : ye(s),
9368
+ "--button-fz": s?.includes("compact") ? ve(s.replace("compact-", "")) : ve(s),
9369
9369
  "--button-radius": t === void 0 ? void 0 : le(t),
9370
9370
  "--button-bg": n || r ? c.background : void 0,
9371
9371
  "--button-hover": n || r ? c.hover : void 0,
@@ -9374,7 +9374,7 @@ const xg = {
9374
9374
  "--button-hover-color": n || r ? c.hoverColor : void 0
9375
9375
  }
9376
9376
  };
9377
- }, vo = pe((e, t) => {
9377
+ }, yo = pe((e, t) => {
9378
9378
  const n = E("Button", Cg, e), {
9379
9379
  style: o,
9380
9380
  vars: r,
@@ -9389,8 +9389,8 @@ const xg = {
9389
9389
  radius: f,
9390
9390
  loading: h,
9391
9391
  loaderProps: m,
9392
- gradient: v,
9393
- classNames: y,
9392
+ gradient: y,
9393
+ classNames: v,
9394
9394
  styles: w,
9395
9395
  unstyled: b,
9396
9396
  "data-disabled": S,
@@ -9403,7 +9403,7 @@ const xg = {
9403
9403
  classes: en,
9404
9404
  className: s,
9405
9405
  style: o,
9406
- classNames: y,
9406
+ classNames: v,
9407
9407
  styles: w,
9408
9408
  unstyled: b,
9409
9409
  vars: r,
@@ -9446,15 +9446,15 @@ const xg = {
9446
9446
  }
9447
9447
  );
9448
9448
  });
9449
- vo.classes = en;
9450
- vo.displayName = "@mantine/core/Button";
9451
- vo.Group = Ps;
9452
- vo.GroupSection = _s;
9449
+ yo.classes = en;
9450
+ yo.displayName = "@mantine/core/Button";
9451
+ yo.Group = Ps;
9452
+ yo.GroupSection = _s;
9453
9453
  const [Pg, _g] = Me(
9454
9454
  "Card component was not found in tree"
9455
9455
  );
9456
9456
  var Ng = { root: "m_e615b15f", section: "m_599a2148" };
9457
- const Ns = Ng, Rg = {}, yo = pe((e, t) => {
9457
+ const Ns = Ng, Rg = {}, vo = pe((e, t) => {
9458
9458
  const n = E("CardSection", Rg, e), { classNames: o, className: r, style: s, styles: a, vars: i, withBorder: c, inheritPadding: l, mod: u, ...d } = n, p = _g();
9459
9459
  return /* @__PURE__ */ g(
9460
9460
  I,
@@ -9466,8 +9466,8 @@ const Ns = Ng, Rg = {}, yo = pe((e, t) => {
9466
9466
  }
9467
9467
  );
9468
9468
  });
9469
- yo.classes = Ns;
9470
- yo.displayName = "@mantine/core/CardSection";
9469
+ vo.classes = Ns;
9470
+ vo.displayName = "@mantine/core/CardSection";
9471
9471
  const Eg = {}, Tg = (e, { padding: t }) => ({
9472
9472
  root: {
9473
9473
  "--card-padding": Ce(t)
@@ -9484,15 +9484,15 @@ const Eg = {}, Tg = (e, { padding: t }) => ({
9484
9484
  unstyled: i,
9485
9485
  vars: c,
9486
9486
  varsResolver: Tg
9487
- }), f = Xa.toArray(l), h = f.map((m, v) => typeof m == "object" && m && "type" in m && m.type === yo ? lt(m, {
9488
- "data-first-section": v === 0 || void 0,
9489
- "data-last-section": v === f.length - 1 || void 0
9487
+ }), f = Xa.toArray(l), h = f.map((m, y) => typeof m == "object" && m && "type" in m && m.type === vo ? lt(m, {
9488
+ "data-first-section": y === 0 || void 0,
9489
+ "data-last-section": y === f.length - 1 || void 0
9490
9490
  }) : m);
9491
9491
  return /* @__PURE__ */ g(Pg, { value: { getStyles: p }, children: /* @__PURE__ */ g(ro, { ref: t, unstyled: i, ...p("root"), ...d, children: h }) });
9492
9492
  });
9493
9493
  Rs.classes = Ns;
9494
9494
  Rs.displayName = "@mantine/core/Card";
9495
- Rs.Section = yo;
9495
+ Rs.Section = vo;
9496
9496
  var Ag = { root: "m_4451eb3a" };
9497
9497
  const ql = Ag, kg = {}, Xl = pe((e, t) => {
9498
9498
  const n = E("Center", kg, e), { classNames: o, className: r, style: s, styles: a, unstyled: i, vars: c, inline: l, mod: u, ...d } = n, p = q({
@@ -9578,7 +9578,7 @@ const Zl = Og, za = {
9578
9578
  children: f,
9579
9579
  variant: h,
9580
9580
  ...m
9581
- } = E("ColorSwatch", za, n), v = q({
9581
+ } = E("ColorSwatch", za, n), y = q({
9582
9582
  name: "ColorSwatch",
9583
9583
  props: n,
9584
9584
  classes: Zl,
@@ -9596,13 +9596,13 @@ const Zl = Og, za = {
9596
9596
  ref: t,
9597
9597
  variant: h,
9598
9598
  size: u,
9599
- ...v("root", { focusable: !0 }),
9599
+ ...y("root", { focusable: !0 }),
9600
9600
  ...m,
9601
9601
  children: [
9602
- /* @__PURE__ */ g("span", { ...v("alphaOverlay") }),
9603
- p && /* @__PURE__ */ g("span", { ...v("shadowOverlay") }),
9604
- /* @__PURE__ */ g("span", { ...v("colorOverlay", { style: { backgroundColor: l } }) }),
9605
- /* @__PURE__ */ g("span", { ...v("childrenOverlay"), children: f })
9602
+ /* @__PURE__ */ g("span", { ...y("alphaOverlay") }),
9603
+ p && /* @__PURE__ */ g("span", { ...y("shadowOverlay") }),
9604
+ /* @__PURE__ */ g("span", { ...y("colorOverlay", { style: { backgroundColor: l } }) }),
9605
+ /* @__PURE__ */ g("span", { ...y("childrenOverlay"), children: f })
9606
9606
  ]
9607
9607
  }
9608
9608
  );
@@ -9771,21 +9771,21 @@ function Jg(e) {
9771
9771
  return;
9772
9772
  }
9773
9773
  }
9774
- function ev(e) {
9774
+ function ey(e) {
9775
9775
  if (e === "top" || e === "bottom")
9776
9776
  return "0 0 calc(100% - var(--drawer-offset, 0rem) * 2)";
9777
9777
  }
9778
- const tv = {
9778
+ const ty = {
9779
9779
  top: "slide-down",
9780
9780
  bottom: "slide-up",
9781
9781
  left: "slide-right",
9782
9782
  right: "slide-left"
9783
- }, nv = {
9783
+ }, ny = {
9784
9784
  top: "slide-down",
9785
9785
  bottom: "slide-up",
9786
9786
  right: "slide-right",
9787
9787
  left: "slide-left"
9788
- }, ov = {
9788
+ }, oy = {
9789
9789
  closeOnClickOutside: !0,
9790
9790
  withinPortal: !0,
9791
9791
  lockScroll: !0,
@@ -9795,17 +9795,17 @@ const tv = {
9795
9795
  keepMounted: !1,
9796
9796
  zIndex: be("modal"),
9797
9797
  position: "left"
9798
- }, rv = (e, { position: t, size: n, offset: o }) => ({
9798
+ }, ry = (e, { position: t, size: n, offset: o }) => ({
9799
9799
  root: {
9800
9800
  "--drawer-size": J(n, "drawer-size"),
9801
- "--drawer-flex": ev(t),
9801
+ "--drawer-flex": ey(t),
9802
9802
  "--drawer-height": t === "left" || t === "right" ? void 0 : "var(--drawer-size)",
9803
9803
  "--drawer-align": Jg(t),
9804
9804
  "--drawer-justify": t === "right" ? "flex-end" : void 0,
9805
9805
  "--drawer-offset": R(o)
9806
9806
  }
9807
9807
  }), $o = F((e, t) => {
9808
- const n = E("DrawerRoot", ov, e), {
9808
+ const n = E("DrawerRoot", oy, e), {
9809
9809
  classNames: o,
9810
9810
  className: r,
9811
9811
  style: s,
@@ -9827,14 +9827,14 @@ const tv = {
9827
9827
  styles: a,
9828
9828
  unstyled: i,
9829
9829
  vars: c,
9830
- varsResolver: rv
9831
- }), v = (h === "rtl" ? nv : tv)[u];
9830
+ varsResolver: ry
9831
+ }), y = (h === "rtl" ? ny : ty)[u];
9832
9832
  return /* @__PURE__ */ g(Kg, { value: { scrollAreaComponent: l, getStyles: m, radius: p }, children: /* @__PURE__ */ g(
9833
9833
  rs,
9834
9834
  {
9835
9835
  ref: t,
9836
9836
  ...m("root"),
9837
- transitionProps: { transition: v, ...d },
9837
+ transitionProps: { transition: y, ...d },
9838
9838
  unstyled: i,
9839
9839
  ...f
9840
9840
  }
@@ -9842,11 +9842,11 @@ const tv = {
9842
9842
  });
9843
9843
  $o.classes = mt;
9844
9844
  $o.displayName = "@mantine/core/DrawerRoot";
9845
- const [sv, av] = Sn();
9845
+ const [sy, ay] = Sn();
9846
9846
  function rc({ children: e }) {
9847
9847
  const [t, n] = W([]), [o, r] = W(be("modal"));
9848
9848
  return /* @__PURE__ */ g(
9849
- sv,
9849
+ sy,
9850
9850
  {
9851
9851
  value: {
9852
9852
  stack: t,
@@ -9865,8 +9865,8 @@ function rc({ children: e }) {
9865
9865
  );
9866
9866
  }
9867
9867
  rc.displayName = "@mantine/core/DrawerStack";
9868
- const iv = {}, Po = F((e, t) => {
9869
- const n = E("DrawerTitle", iv, e), { classNames: o, className: r, style: s, styles: a, vars: i, ...c } = n, l = tn();
9868
+ const iy = {}, Po = F((e, t) => {
9869
+ const n = E("DrawerTitle", iy, e), { classNames: o, className: r, style: s, styles: a, vars: i, ...c } = n, l = tn();
9870
9870
  return /* @__PURE__ */ g(
9871
9871
  us,
9872
9872
  {
@@ -9878,7 +9878,7 @@ const iv = {}, Po = F((e, t) => {
9878
9878
  });
9879
9879
  Po.classes = mt;
9880
9880
  Po.displayName = "@mantine/core/DrawerTitle";
9881
- const lv = {
9881
+ const ly = {
9882
9882
  closeOnClickOutside: !0,
9883
9883
  withinPortal: !0,
9884
9884
  lockScroll: !0,
@@ -9901,7 +9901,7 @@ const lv = {
9901
9901
  stackId: l,
9902
9902
  zIndex: u,
9903
9903
  ...d
9904
- } = E("Drawer", lv, e), p = av(), f = !!n || s, h = p && l ? {
9904
+ } = E("Drawer", ly, e), p = ay(), f = !!n || s, h = p && l ? {
9905
9905
  closeOnEscape: p.currentId === l,
9906
9906
  trapFocus: p.currentId === l,
9907
9907
  zIndex: p.getZIndex(l)
@@ -9960,16 +9960,16 @@ function Ba({ color: e, theme: t, defaultShade: n }) {
9960
9960
  const o = Et({ color: e, theme: t });
9961
9961
  return o.isThemeColor ? o.shade === void 0 ? `var(--mantine-color-${o.color}-${n})` : `var(${o.variable})` : e;
9962
9962
  }
9963
- var cv = { root: "m_bcb3f3c2" };
9964
- const ac = cv, uv = {
9963
+ var cy = { root: "m_bcb3f3c2" };
9964
+ const ac = cy, uy = {
9965
9965
  color: "yellow"
9966
- }, dv = (e, { color: t }) => ({
9966
+ }, dy = (e, { color: t }) => ({
9967
9967
  root: {
9968
9968
  "--mark-bg-dark": Ba({ color: t, theme: e, defaultShade: 5 }),
9969
9969
  "--mark-bg-light": Ba({ color: t, theme: e, defaultShade: 2 })
9970
9970
  }
9971
9971
  }), Es = F((e, t) => {
9972
- const n = E("Mark", uv, e), { classNames: o, className: r, style: s, styles: a, unstyled: i, vars: c, color: l, variant: u, ...d } = n, p = q({
9972
+ const n = E("Mark", uy, e), { classNames: o, className: r, style: s, styles: a, unstyled: i, vars: c, color: l, variant: u, ...d } = n, p = q({
9973
9973
  name: "Mark",
9974
9974
  props: n,
9975
9975
  className: r,
@@ -9979,7 +9979,7 @@ const ac = cv, uv = {
9979
9979
  styles: a,
9980
9980
  unstyled: i,
9981
9981
  vars: c,
9982
- varsResolver: dv
9982
+ varsResolver: dy
9983
9983
  });
9984
9984
  return /* @__PURE__ */ g(I, { component: "mark", ref: t, variant: u, ...p("root"), ...d });
9985
9985
  });
@@ -9988,7 +9988,7 @@ Es.displayName = "@mantine/core/Mark";
9988
9988
  function Fa(e) {
9989
9989
  return e.replace(/[-[\]{}()*+?.,\\^$|#]/g, "\\$&");
9990
9990
  }
9991
- function fv(e, t) {
9991
+ function fy(e, t) {
9992
9992
  if (t == null)
9993
9993
  return [{ chunk: e, highlighted: !1 }];
9994
9994
  const n = Array.isArray(t) ? t.map(Fa) : Fa(t);
@@ -9997,12 +9997,12 @@ function fv(e, t) {
9997
9997
  const r = typeof n == "string" ? n.trim() : n.filter((i) => i.trim().length !== 0).map((i) => i.trim()).sort((i, c) => c.length - i.length).join("|"), s = new RegExp(`(${r})`, "gi");
9998
9998
  return e.split(s).map((i) => ({ chunk: i, highlighted: s.test(i) })).filter(({ chunk: i }) => i);
9999
9999
  }
10000
- const pv = {}, Ts = pe((e, t) => {
10000
+ const py = {}, Ts = pe((e, t) => {
10001
10001
  const { unstyled: n, children: o, highlight: r, highlightStyles: s, color: a, ...i } = E(
10002
10002
  "Highlight",
10003
- pv,
10003
+ py,
10004
10004
  e
10005
- ), c = fv(o, r);
10005
+ ), c = fy(o, r);
10006
10006
  return /* @__PURE__ */ g(_n, { unstyled: n, ref: t, ...i, __staticSelector: "Highlight", children: c.map(
10007
10007
  ({ chunk: l, highlighted: u }, d) => u ? /* @__PURE__ */ g(
10008
10008
  Es,
@@ -10019,24 +10019,24 @@ const pv = {}, Ts = pe((e, t) => {
10019
10019
  });
10020
10020
  Ts.classes = _n.classes;
10021
10021
  Ts.displayName = "@mantine/core/Highlight";
10022
- const [mv, ic] = Me(
10022
+ const [my, ic] = Me(
10023
10023
  "HoverCard component was not found in the tree"
10024
- ), hv = {};
10024
+ ), hy = {};
10025
10025
  function lc(e) {
10026
10026
  const { children: t, onMouseEnter: n, onMouseLeave: o, ...r } = E(
10027
10027
  "HoverCardDropdown",
10028
- hv,
10028
+ hy,
10029
10029
  e
10030
10030
  ), s = ic(), a = $e(n, s.openDropdown), i = $e(o, s.closeDropdown);
10031
10031
  return /* @__PURE__ */ g(Re.Dropdown, { onMouseEnter: a, onMouseLeave: i, ...r, children: t });
10032
10032
  }
10033
10033
  lc.displayName = "@mantine/core/HoverCardDropdown";
10034
- const gv = {
10034
+ const gy = {
10035
10035
  refProp: "ref"
10036
10036
  }, cc = Z((e, t) => {
10037
10037
  const { children: n, refProp: o, eventPropsWrapperName: r, ...s } = E(
10038
10038
  "HoverCardTarget",
10039
- gv,
10039
+ gy,
10040
10040
  e
10041
10041
  );
10042
10042
  if (!ct(n))
@@ -10050,7 +10050,7 @@ const gv = {
10050
10050
  ) });
10051
10051
  });
10052
10052
  cc.displayName = "@mantine/core/HoverCardTarget";
10053
- const vv = {
10053
+ const yy = {
10054
10054
  openDelay: 0,
10055
10055
  closeDelay: 150,
10056
10056
  initiallyOpened: !1
@@ -10058,23 +10058,23 @@ const vv = {
10058
10058
  function _o(e) {
10059
10059
  const { children: t, onOpen: n, onClose: o, openDelay: r, closeDelay: s, initiallyOpened: a, ...i } = E(
10060
10060
  "HoverCard",
10061
- vv,
10061
+ yy,
10062
10062
  e
10063
10063
  ), [c, { open: l, close: u }] = xd(a, { onClose: o, onOpen: n }), { openDropdown: d, closeDropdown: p } = sc({ open: l, close: u, openDelay: r, closeDelay: s });
10064
- return /* @__PURE__ */ g(mv, { value: { openDropdown: d, closeDropdown: p }, children: /* @__PURE__ */ g(Re, { ...i, opened: c, __staticSelector: "HoverCard", children: t }) });
10064
+ return /* @__PURE__ */ g(my, { value: { openDropdown: d, closeDropdown: p }, children: /* @__PURE__ */ g(Re, { ...i, opened: c, __staticSelector: "HoverCard", children: t }) });
10065
10065
  }
10066
10066
  _o.displayName = "@mantine/core/HoverCard";
10067
10067
  _o.Target = cc;
10068
10068
  _o.Dropdown = lc;
10069
10069
  _o.extend = (e) => e;
10070
- var yv = { root: "m_9e117634" };
10071
- const uc = yv, bv = {}, wv = (e, { radius: t, fit: n }) => ({
10070
+ var vy = { root: "m_9e117634" };
10071
+ const uc = vy, by = {}, wy = (e, { radius: t, fit: n }) => ({
10072
10072
  root: {
10073
10073
  "--image-radius": t === void 0 ? void 0 : le(t),
10074
10074
  "--image-object-fit": n
10075
10075
  }
10076
10076
  }), dc = pe((e, t) => {
10077
- const n = E("Image", bv, e), {
10077
+ const n = E("Image", by, e), {
10078
10078
  classNames: o,
10079
10079
  className: r,
10080
10080
  style: s,
@@ -10088,8 +10088,8 @@ const uc = yv, bv = {}, wv = (e, { radius: t, fit: n }) => ({
10088
10088
  fallbackSrc: f,
10089
10089
  mod: h,
10090
10090
  ...m
10091
- } = n, [v, y] = W(!u);
10092
- X(() => y(!u), [u]);
10091
+ } = n, [y, v] = W(!u);
10092
+ X(() => v(!u), [u]);
10093
10093
  const w = q({
10094
10094
  name: "Image",
10095
10095
  classes: uc,
@@ -10100,9 +10100,9 @@ const uc = yv, bv = {}, wv = (e, { radius: t, fit: n }) => ({
10100
10100
  styles: a,
10101
10101
  unstyled: i,
10102
10102
  vars: c,
10103
- varsResolver: wv
10103
+ varsResolver: wy
10104
10104
  });
10105
- return v && f ? /* @__PURE__ */ g(
10105
+ return y && f ? /* @__PURE__ */ g(
10106
10106
  I,
10107
10107
  {
10108
10108
  component: "img",
@@ -10121,7 +10121,7 @@ const uc = yv, bv = {}, wv = (e, { radius: t, fit: n }) => ({
10121
10121
  ...w("root"),
10122
10122
  src: u,
10123
10123
  onError: (b) => {
10124
- l?.(b), y(!0);
10124
+ l?.(b), v(!0);
10125
10125
  },
10126
10126
  mod: h,
10127
10127
  ...m
@@ -10130,12 +10130,12 @@ const uc = yv, bv = {}, wv = (e, { radius: t, fit: n }) => ({
10130
10130
  });
10131
10131
  dc.classes = uc;
10132
10132
  dc.displayName = "@mantine/core/Image";
10133
- var Qb = Xn, Sv = { root: "m_6e45937b", loader: "m_e8eb006c", overlay: "m_df587f17" };
10134
- const fc = Sv, Ha = {
10133
+ var Qb = Xn, Sy = { root: "m_6e45937b", loader: "m_e8eb006c", overlay: "m_df587f17" };
10134
+ const fc = Sy, Ha = {
10135
10135
  transitionProps: { transition: "fade", duration: 0 },
10136
10136
  overlayProps: { backgroundOpacity: 0.75 },
10137
10137
  zIndex: be("overlay")
10138
- }, xv = (e, { zIndex: t }) => ({
10138
+ }, xy = (e, { zIndex: t }) => ({
10139
10139
  root: {
10140
10140
  "--lo-z-index": t?.toString()
10141
10141
  }
@@ -10153,7 +10153,7 @@ const fc = Sv, Ha = {
10153
10153
  visible: p,
10154
10154
  zIndex: f,
10155
10155
  ...h
10156
- } = n, m = we(), v = q({
10156
+ } = n, m = we(), y = q({
10157
10157
  name: "LoadingOverlay",
10158
10158
  classes: fc,
10159
10159
  props: n,
@@ -10163,25 +10163,25 @@ const fc = Sv, Ha = {
10163
10163
  styles: a,
10164
10164
  unstyled: i,
10165
10165
  vars: c,
10166
- varsResolver: xv
10167
- }), y = { ...Ha.overlayProps, ...d };
10168
- return /* @__PURE__ */ g(ft, { transition: "fade", ...l, mounted: !!p, children: (w) => /* @__PURE__ */ Q(I, { ...v("root", { style: w }), ref: t, ...h, children: [
10169
- /* @__PURE__ */ g(Tt, { ...v("loader"), unstyled: i, ...u }),
10166
+ varsResolver: xy
10167
+ }), v = { ...Ha.overlayProps, ...d };
10168
+ return /* @__PURE__ */ g(ft, { transition: "fade", ...l, mounted: !!p, children: (w) => /* @__PURE__ */ Q(I, { ...y("root", { style: w }), ref: t, ...h, children: [
10169
+ /* @__PURE__ */ g(Tt, { ...y("loader"), unstyled: i, ...u }),
10170
10170
  /* @__PURE__ */ g(
10171
- yn,
10171
+ vn,
10172
10172
  {
10173
- ...y,
10174
- ...v("overlay"),
10173
+ ...v,
10174
+ ...y("overlay"),
10175
10175
  darkHidden: !0,
10176
10176
  unstyled: i,
10177
10177
  color: d?.color || m.white
10178
10178
  }
10179
10179
  ),
10180
10180
  /* @__PURE__ */ g(
10181
- yn,
10181
+ vn,
10182
10182
  {
10183
- ...y,
10184
- ...v("overlay"),
10183
+ ...v,
10184
+ ...y("overlay"),
10185
10185
  lightHidden: !0,
10186
10186
  unstyled: i,
10187
10187
  color: d?.color || m.colors.dark[5]
@@ -10191,14 +10191,14 @@ const fc = Sv, Ha = {
10191
10191
  });
10192
10192
  pc.classes = fc;
10193
10193
  pc.displayName = "@mantine/core/LoadingOverlay";
10194
- const [Cv, Nn] = Me(
10194
+ const [Cy, Nn] = Me(
10195
10195
  "Menu component was not found in the tree"
10196
10196
  );
10197
- var $v = { dropdown: "m_dc9b7c9f", label: "m_9bfac126", divider: "m_efdf90cb", item: "m_99ac2aa1", itemLabel: "m_5476e0d3", itemSection: "m_8b75e504" };
10198
- const nn = $v, Pv = {}, As = F((e, t) => {
10197
+ var $y = { dropdown: "m_dc9b7c9f", label: "m_9bfac126", divider: "m_efdf90cb", item: "m_99ac2aa1", itemLabel: "m_5476e0d3", itemSection: "m_8b75e504" };
10198
+ const nn = $y, Py = {}, As = F((e, t) => {
10199
10199
  const { classNames: n, className: o, style: r, styles: s, vars: a, ...i } = E(
10200
10200
  "MenuDivider",
10201
- Pv,
10201
+ Py,
10202
10202
  e
10203
10203
  ), c = Nn();
10204
10204
  return /* @__PURE__ */ g(
@@ -10212,7 +10212,7 @@ const nn = $v, Pv = {}, As = F((e, t) => {
10212
10212
  });
10213
10213
  As.classes = nn;
10214
10214
  As.displayName = "@mantine/core/MenuDivider";
10215
- const _v = {}, ks = F((e, t) => {
10215
+ const _y = {}, ks = F((e, t) => {
10216
10216
  const {
10217
10217
  classNames: n,
10218
10218
  className: o,
@@ -10224,12 +10224,12 @@ const _v = {}, ks = F((e, t) => {
10224
10224
  onKeyDown: l,
10225
10225
  children: u,
10226
10226
  ...d
10227
- } = E("MenuDropdown", _v, e), p = G(null), f = Nn(), h = $e(l, (y) => {
10228
- (y.key === "ArrowUp" || y.key === "ArrowDown") && (y.preventDefault(), p.current?.querySelectorAll("[data-menu-item]:not(:disabled)")[0]?.focus());
10227
+ } = E("MenuDropdown", _y, e), p = G(null), f = Nn(), h = $e(l, (v) => {
10228
+ (v.key === "ArrowUp" || v.key === "ArrowDown") && (v.preventDefault(), p.current?.querySelectorAll("[data-menu-item]:not(:disabled)")[0]?.focus());
10229
10229
  }), m = $e(
10230
10230
  i,
10231
10231
  () => (f.trigger === "hover" || f.trigger === "click-hover") && f.openDropdown()
10232
- ), v = $e(
10232
+ ), y = $e(
10233
10233
  c,
10234
10234
  () => (f.trigger === "hover" || f.trigger === "click-hover") && f.closeDropdown()
10235
10235
  );
@@ -10238,7 +10238,7 @@ const _v = {}, ks = F((e, t) => {
10238
10238
  {
10239
10239
  ...d,
10240
10240
  onMouseEnter: m,
10241
- onMouseLeave: v,
10241
+ onMouseLeave: y,
10242
10242
  role: "menu",
10243
10243
  "aria-orientation": "vertical",
10244
10244
  ref: de(t, p),
@@ -10261,7 +10261,7 @@ const _v = {}, ks = F((e, t) => {
10261
10261
  });
10262
10262
  ks.classes = nn;
10263
10263
  ks.displayName = "@mantine/core/MenuDropdown";
10264
- const Nv = {}, Ms = pe((e, t) => {
10264
+ const Ny = {}, Ms = pe((e, t) => {
10265
10265
  const {
10266
10266
  classNames: n,
10267
10267
  className: o,
@@ -10275,14 +10275,14 @@ const Nv = {}, Ms = pe((e, t) => {
10275
10275
  children: d,
10276
10276
  disabled: p,
10277
10277
  ...f
10278
- } = E("MenuItem", Nv, e), h = Nn(), m = we(), { dir: v } = St(), y = G(null), w = h.getItemIndex(y.current), b = f, S = $e(b.onMouseLeave, () => h.setHovered(-1)), x = $e(
10278
+ } = E("MenuItem", Ny, e), h = Nn(), m = we(), { dir: y } = St(), v = G(null), w = h.getItemIndex(v.current), b = f, S = $e(b.onMouseLeave, () => h.setHovered(-1)), x = $e(
10279
10279
  b.onMouseEnter,
10280
- () => h.setHovered(h.getItemIndex(y.current))
10280
+ () => h.setHovered(h.getItemIndex(v.current))
10281
10281
  ), C = $e(b.onClick, () => {
10282
10282
  typeof c == "boolean" ? c && h.closeDropdownImmediately() : h.closeOnItemClick && h.closeDropdownImmediately();
10283
10283
  }), _ = $e(
10284
10284
  b.onFocus,
10285
- () => h.setHovered(h.getItemIndex(y.current))
10285
+ () => h.setHovered(h.getItemIndex(v.current))
10286
10286
  ), P = i ? m.variantColorResolver({ color: i, theme: m, variant: "light" }) : void 0, A = i ? Et({ color: i, theme: m }) : null;
10287
10287
  return /* @__PURE__ */ Q(
10288
10288
  ut,
@@ -10292,7 +10292,7 @@ const Nv = {}, Ms = pe((e, t) => {
10292
10292
  tabIndex: h.menuItemTabIndex,
10293
10293
  onFocus: _,
10294
10294
  ...h.getStyles("item", { className: o, style: r, styles: s, classNames: n }),
10295
- ref: de(y, t),
10295
+ ref: de(v, t),
10296
10296
  role: "menuitem",
10297
10297
  disabled: p,
10298
10298
  "data-menu-item": !0,
@@ -10307,7 +10307,7 @@ const Nv = {}, Ms = pe((e, t) => {
10307
10307
  parentSelector: "[data-menu-dropdown]",
10308
10308
  activateOnFocus: !1,
10309
10309
  loop: h.loop,
10310
- dir: v,
10310
+ dir: y,
10311
10311
  orientation: "vertical",
10312
10312
  onKeyDown: b.onKeyDown
10313
10313
  }),
@@ -10325,10 +10325,10 @@ const Nv = {}, Ms = pe((e, t) => {
10325
10325
  });
10326
10326
  Ms.classes = nn;
10327
10327
  Ms.displayName = "@mantine/core/MenuItem";
10328
- const Rv = {}, Is = F((e, t) => {
10328
+ const Ry = {}, Is = F((e, t) => {
10329
10329
  const { classNames: n, className: o, style: r, styles: s, vars: a, ...i } = E(
10330
10330
  "MenuLabel",
10331
- Rv,
10331
+ Ry,
10332
10332
  e
10333
10333
  ), c = Nn();
10334
10334
  return /* @__PURE__ */ g(
@@ -10342,10 +10342,10 @@ const Rv = {}, Is = F((e, t) => {
10342
10342
  });
10343
10343
  Is.classes = nn;
10344
10344
  Is.displayName = "@mantine/core/MenuLabel";
10345
- const Ev = {
10345
+ const Ey = {
10346
10346
  refProp: "ref"
10347
10347
  }, mc = Z((e, t) => {
10348
- const { children: n, refProp: o, ...r } = E("MenuTarget", Ev, e);
10348
+ const { children: n, refProp: o, ...r } = E("MenuTarget", Ey, e);
10349
10349
  if (!ct(n))
10350
10350
  throw new Error(
10351
10351
  "Menu.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"
@@ -10366,7 +10366,7 @@ const Ev = {
10366
10366
  }) });
10367
10367
  });
10368
10368
  mc.displayName = "@mantine/core/MenuTarget";
10369
- const Tv = {
10369
+ const Ty = {
10370
10370
  trapFocus: !0,
10371
10371
  closeOnItemClick: !0,
10372
10372
  clickOutsideEvents: ["mousedown", "touchstart", "keydown"],
@@ -10377,7 +10377,7 @@ const Tv = {
10377
10377
  menuItemTabIndex: -1
10378
10378
  };
10379
10379
  function xt(e) {
10380
- const t = E("Menu", Tv, e), {
10380
+ const t = E("Menu", Ty, e), {
10381
10381
  children: n,
10382
10382
  onOpen: o,
10383
10383
  onClose: r,
@@ -10392,8 +10392,8 @@ function xt(e) {
10392
10392
  openDelay: f,
10393
10393
  closeDelay: h,
10394
10394
  classNames: m,
10395
- styles: v,
10396
- unstyled: y,
10395
+ styles: y,
10396
+ unstyled: v,
10397
10397
  variant: w,
10398
10398
  vars: b,
10399
10399
  menuItemTabIndex: S,
@@ -10404,8 +10404,8 @@ function xt(e) {
10404
10404
  classes: nn,
10405
10405
  props: t,
10406
10406
  classNames: m,
10407
- styles: v,
10408
- unstyled: y
10407
+ styles: y,
10408
+ unstyled: v
10409
10409
  }), [P, { setHovered: A, resetHovered: O }] = Qu(), [z, H] = Ue({
10410
10410
  value: s,
10411
10411
  defaultValue: a,
@@ -10419,13 +10419,13 @@ function xt(e) {
10419
10419
  z ? V() : D();
10420
10420
  }, { openDropdown: T, closeDropdown: $ } = sc({ open: D, close: V, closeDelay: h, openDelay: f }), k = (ee) => Uu("[data-menu-item]", "[data-menu-dropdown]", ee), { resolvedClassNames: M, resolvedStyles: Y } = Ir({
10421
10421
  classNames: m,
10422
- styles: v,
10422
+ styles: y,
10423
10423
  props: t
10424
10424
  });
10425
10425
  return rt(() => {
10426
10426
  O();
10427
10427
  }, [z]), /* @__PURE__ */ g(
10428
- Cv,
10428
+ Cy,
10429
10429
  {
10430
10430
  value: {
10431
10431
  getStyles: _,
@@ -10442,7 +10442,7 @@ function xt(e) {
10442
10442
  closeDropdownImmediately: V,
10443
10443
  loop: u,
10444
10444
  trigger: p,
10445
- unstyled: y,
10445
+ unstyled: v,
10446
10446
  menuItemTabIndex: S
10447
10447
  },
10448
10448
  children: /* @__PURE__ */ g(
@@ -10457,7 +10457,7 @@ function xt(e) {
10457
10457
  __staticSelector: "Menu",
10458
10458
  classNames: M,
10459
10459
  styles: Y,
10460
- unstyled: y,
10460
+ unstyled: v,
10461
10461
  variant: w,
10462
10462
  keepMounted: x,
10463
10463
  children: n
@@ -10474,12 +10474,12 @@ xt.Label = Is;
10474
10474
  xt.Dropdown = ks;
10475
10475
  xt.Target = mc;
10476
10476
  xt.Divider = As;
10477
- const [Av, on] = Me(
10477
+ const [Ay, on] = Me(
10478
10478
  "Modal component was not found in tree"
10479
10479
  );
10480
- var kv = { root: "m_9df02822", content: "m_54c44539", inner: "m_1f958f16", header: "m_d0e2b9cd" };
10481
- const ht = kv, Mv = {}, No = F((e, t) => {
10482
- const n = E("ModalBody", Mv, e), { classNames: o, className: r, style: s, styles: a, vars: i, ...c } = n, l = on();
10480
+ var ky = { root: "m_9df02822", content: "m_54c44539", inner: "m_1f958f16", header: "m_d0e2b9cd" };
10481
+ const ht = ky, My = {}, No = F((e, t) => {
10482
+ const n = E("ModalBody", My, e), { classNames: o, className: r, style: s, styles: a, vars: i, ...c } = n, l = on();
10483
10483
  return /* @__PURE__ */ g(
10484
10484
  ss,
10485
10485
  {
@@ -10491,8 +10491,8 @@ const ht = kv, Mv = {}, No = F((e, t) => {
10491
10491
  });
10492
10492
  No.classes = ht;
10493
10493
  No.displayName = "@mantine/core/ModalBody";
10494
- const Iv = {}, Ro = F((e, t) => {
10495
- const n = E("ModalCloseButton", Iv, e), { classNames: o, className: r, style: s, styles: a, vars: i, ...c } = n, l = on();
10494
+ const Iy = {}, Ro = F((e, t) => {
10495
+ const n = E("ModalCloseButton", Iy, e), { classNames: o, className: r, style: s, styles: a, vars: i, ...c } = n, l = on();
10496
10496
  return /* @__PURE__ */ g(
10497
10497
  as,
10498
10498
  {
@@ -10504,8 +10504,8 @@ const Iv = {}, Ro = F((e, t) => {
10504
10504
  });
10505
10505
  Ro.classes = ht;
10506
10506
  Ro.displayName = "@mantine/core/ModalCloseButton";
10507
- const Dv = {}, Eo = F((e, t) => {
10508
- const n = E("ModalContent", Dv, e), { classNames: o, className: r, style: s, styles: a, vars: i, children: c, __hidden: l, ...u } = n, d = on(), p = d.scrollAreaComponent || Pl;
10507
+ const Dy = {}, Eo = F((e, t) => {
10508
+ const n = E("ModalContent", Dy, e), { classNames: o, className: r, style: s, styles: a, vars: i, children: c, __hidden: l, ...u } = n, d = on(), p = d.scrollAreaComponent || Pl;
10509
10509
  return /* @__PURE__ */ g(
10510
10510
  is,
10511
10511
  {
@@ -10530,8 +10530,8 @@ const Dv = {}, Eo = F((e, t) => {
10530
10530
  });
10531
10531
  Eo.classes = ht;
10532
10532
  Eo.displayName = "@mantine/core/ModalContent";
10533
- const Ov = {}, To = F((e, t) => {
10534
- const n = E("ModalHeader", Ov, e), { classNames: o, className: r, style: s, styles: a, vars: i, ...c } = n, l = on();
10533
+ const Oy = {}, To = F((e, t) => {
10534
+ const n = E("ModalHeader", Oy, e), { classNames: o, className: r, style: s, styles: a, vars: i, ...c } = n, l = on();
10535
10535
  return /* @__PURE__ */ g(
10536
10536
  ls,
10537
10537
  {
@@ -10543,8 +10543,8 @@ const Ov = {}, To = F((e, t) => {
10543
10543
  });
10544
10544
  To.classes = ht;
10545
10545
  To.displayName = "@mantine/core/ModalHeader";
10546
- const Lv = {}, Ao = F((e, t) => {
10547
- const n = E("ModalOverlay", Lv, e), { classNames: o, className: r, style: s, styles: a, vars: i, ...c } = n, l = on();
10546
+ const Ly = {}, Ao = F((e, t) => {
10547
+ const n = E("ModalOverlay", Ly, e), { classNames: o, className: r, style: s, styles: a, vars: i, ...c } = n, l = on();
10548
10548
  return /* @__PURE__ */ g(
10549
10549
  cs,
10550
10550
  {
@@ -10556,7 +10556,7 @@ const Lv = {}, Ao = F((e, t) => {
10556
10556
  });
10557
10557
  Ao.classes = ht;
10558
10558
  Ao.displayName = "@mantine/core/ModalOverlay";
10559
- const zv = {
10559
+ const zy = {
10560
10560
  __staticSelector: "Modal",
10561
10561
  closeOnClickOutside: !0,
10562
10562
  withinPortal: !0,
@@ -10568,7 +10568,7 @@ const zv = {
10568
10568
  zIndex: be("modal"),
10569
10569
  transitionProps: { duration: 200, transition: "fade-down" },
10570
10570
  yOffset: "5dvh"
10571
- }, Bv = (e, { radius: t, size: n, yOffset: o, xOffset: r }) => ({
10571
+ }, By = (e, { radius: t, size: n, yOffset: o, xOffset: r }) => ({
10572
10572
  root: {
10573
10573
  "--modal-radius": t === void 0 ? void 0 : le(t),
10574
10574
  "--modal-size": J(n, "modal-size"),
@@ -10576,7 +10576,7 @@ const zv = {
10576
10576
  "--modal-x-offset": R(r)
10577
10577
  }
10578
10578
  }), ko = F((e, t) => {
10579
- const n = E("ModalRoot", zv, e), {
10579
+ const n = E("ModalRoot", zy, e), {
10580
10580
  classNames: o,
10581
10581
  className: r,
10582
10582
  style: s,
@@ -10590,8 +10590,8 @@ const zv = {
10590
10590
  centered: f,
10591
10591
  xOffset: h,
10592
10592
  __staticSelector: m,
10593
- ...v
10594
- } = n, y = q({
10593
+ ...y
10594
+ } = n, v = q({
10595
10595
  name: m,
10596
10596
  classes: ht,
10597
10597
  props: n,
@@ -10601,27 +10601,27 @@ const zv = {
10601
10601
  styles: a,
10602
10602
  unstyled: i,
10603
10603
  vars: c,
10604
- varsResolver: Bv
10604
+ varsResolver: By
10605
10605
  });
10606
- return /* @__PURE__ */ g(Av, { value: { yOffset: l, scrollAreaComponent: u, getStyles: y, fullScreen: p }, children: /* @__PURE__ */ g(
10606
+ return /* @__PURE__ */ g(Ay, { value: { yOffset: l, scrollAreaComponent: u, getStyles: v, fullScreen: p }, children: /* @__PURE__ */ g(
10607
10607
  rs,
10608
10608
  {
10609
10609
  ref: t,
10610
- ...y("root"),
10610
+ ...v("root"),
10611
10611
  "data-full-screen": p || void 0,
10612
10612
  "data-centered": f || void 0,
10613
10613
  unstyled: i,
10614
- ...v
10614
+ ...y
10615
10615
  }
10616
10616
  ) });
10617
10617
  });
10618
10618
  ko.classes = ht;
10619
10619
  ko.displayName = "@mantine/core/ModalRoot";
10620
- const [Fv, Hv] = Sn();
10620
+ const [Fy, Hy] = Sn();
10621
10621
  function hc({ children: e }) {
10622
10622
  const [t, n] = W([]), [o, r] = W(be("modal"));
10623
10623
  return /* @__PURE__ */ g(
10624
- Fv,
10624
+ Fy,
10625
10625
  {
10626
10626
  value: {
10627
10627
  stack: t,
@@ -10640,8 +10640,8 @@ function hc({ children: e }) {
10640
10640
  );
10641
10641
  }
10642
10642
  hc.displayName = "@mantine/core/ModalStack";
10643
- const Vv = {}, Mo = F((e, t) => {
10644
- const n = E("ModalTitle", Vv, e), { classNames: o, className: r, style: s, styles: a, vars: i, ...c } = n, l = on();
10643
+ const Vy = {}, Mo = F((e, t) => {
10644
+ const n = E("ModalTitle", Vy, e), { classNames: o, className: r, style: s, styles: a, vars: i, ...c } = n, l = on();
10645
10645
  return /* @__PURE__ */ g(
10646
10646
  us,
10647
10647
  {
@@ -10653,7 +10653,7 @@ const Vv = {}, Mo = F((e, t) => {
10653
10653
  });
10654
10654
  Mo.classes = ht;
10655
10655
  Mo.displayName = "@mantine/core/ModalTitle";
10656
- const Wv = {
10656
+ const Wy = {
10657
10657
  closeOnClickOutside: !0,
10658
10658
  withinPortal: !0,
10659
10659
  lockScroll: !0,
@@ -10678,11 +10678,11 @@ const Wv = {
10678
10678
  stackId: u,
10679
10679
  zIndex: d,
10680
10680
  ...p
10681
- } = E("Modal", Wv, e), f = Hv(), h = !!n || s, m = f && u ? {
10681
+ } = E("Modal", Wy, e), f = Hy(), h = !!n || s, m = f && u ? {
10682
10682
  closeOnEscape: f.currentId === u,
10683
10683
  trapFocus: f.currentId === u,
10684
10684
  zIndex: f.getZIndex(u)
10685
- } : {}, v = o === !1 ? !1 : u && f ? f.currentId === u : l;
10685
+ } : {}, y = o === !1 ? !1 : u && f ? f.currentId === u : l;
10686
10686
  return X(() => {
10687
10687
  f && u && (l ? f.addModal(u, d || be("modal")) : f.removeModal(u));
10688
10688
  }, [l, u, d]), /* @__PURE__ */ Q(
@@ -10698,7 +10698,7 @@ const Wv = {
10698
10698
  o && /* @__PURE__ */ g(
10699
10699
  Ao,
10700
10700
  {
10701
- visible: v,
10701
+ visible: y,
10702
10702
  transitionProps: f && u ? { duration: 0 } : void 0,
10703
10703
  ...r
10704
10704
  }
@@ -10731,14 +10731,14 @@ Ge.Header = To;
10731
10731
  Ge.Title = Mo;
10732
10732
  Ge.CloseButton = Ro;
10733
10733
  Ge.Stack = hc;
10734
- const [Zb, gc] = Sn(), [jv, Gv] = Sn();
10735
- var Kv = { root: "m_7cda1cd6", "root--default": "m_44da308b", "root--contrast": "m_e3a01f8", label: "m_1e0e6180", remove: "m_ae386778", group: "m_1dcfd90b" };
10736
- const Io = Kv, Yv = {}, qv = (e, { gap: t }, { size: n }) => ({
10734
+ const [Zb, gc] = Sn(), [jy, Gy] = Sn();
10735
+ var Ky = { root: "m_7cda1cd6", "root--default": "m_44da308b", "root--contrast": "m_e3a01f8", label: "m_1e0e6180", remove: "m_ae386778", group: "m_1dcfd90b" };
10736
+ const Io = Ky, Yy = {}, qy = (e, { gap: t }, { size: n }) => ({
10737
10737
  group: {
10738
10738
  "--pg-gap": t !== void 0 ? J(t) : J(n, "pg-gap")
10739
10739
  }
10740
10740
  }), Ds = F((e, t) => {
10741
- const n = E("PillGroup", Yv, e), { classNames: o, className: r, style: s, styles: a, unstyled: i, vars: c, size: l, disabled: u, ...d } = n, f = gc()?.size || l || void 0, h = q({
10741
+ const n = E("PillGroup", Yy, e), { classNames: o, className: r, style: s, styles: a, unstyled: i, vars: c, size: l, disabled: u, ...d } = n, f = gc()?.size || l || void 0, h = q({
10742
10742
  name: "PillGroup",
10743
10743
  classes: Io,
10744
10744
  props: n,
@@ -10748,24 +10748,24 @@ const Io = Kv, Yv = {}, qv = (e, { gap: t }, { size: n }) => ({
10748
10748
  styles: a,
10749
10749
  unstyled: i,
10750
10750
  vars: c,
10751
- varsResolver: qv,
10751
+ varsResolver: qy,
10752
10752
  stylesCtx: { size: f },
10753
10753
  rootSelector: "group"
10754
10754
  });
10755
- return /* @__PURE__ */ g(jv, { value: { size: f, disabled: u }, children: /* @__PURE__ */ g(I, { ref: t, size: f, ...h("group"), ...d }) });
10755
+ return /* @__PURE__ */ g(jy, { value: { size: f, disabled: u }, children: /* @__PURE__ */ g(I, { ref: t, size: f, ...h("group"), ...d }) });
10756
10756
  });
10757
10757
  Ds.classes = Io;
10758
10758
  Ds.displayName = "@mantine/core/PillGroup";
10759
- const Xv = {
10759
+ const Xy = {
10760
10760
  variant: "default"
10761
- }, Uv = (e, { radius: t }, { size: n }) => ({
10761
+ }, Uy = (e, { radius: t }, { size: n }) => ({
10762
10762
  root: {
10763
10763
  "--pill-fz": J(n, "pill-fz"),
10764
10764
  "--pill-height": J(n, "pill-height"),
10765
10765
  "--pill-radius": t === void 0 ? void 0 : le(t)
10766
10766
  }
10767
10767
  }), Os = F((e, t) => {
10768
- const n = E("Pill", Xv, e), {
10768
+ const n = E("Pill", Xy, e), {
10769
10769
  classNames: o,
10770
10770
  className: r,
10771
10771
  style: s,
@@ -10779,10 +10779,10 @@ const Xv = {
10779
10779
  removeButtonProps: f,
10780
10780
  radius: h,
10781
10781
  size: m,
10782
- disabled: v,
10783
- mod: y,
10782
+ disabled: y,
10783
+ mod: v,
10784
10784
  ...w
10785
- } = n, b = Gv(), S = gc(), x = m || b?.size || void 0, C = S?.variant === "filled" ? "contrast" : l || "default", _ = q({
10785
+ } = n, b = Gy(), S = gc(), x = m || b?.size || void 0, C = S?.variant === "filled" ? "contrast" : l || "default", _ = q({
10786
10786
  name: "Pill",
10787
10787
  classes: Io,
10788
10788
  props: n,
@@ -10792,7 +10792,7 @@ const Xv = {
10792
10792
  styles: a,
10793
10793
  unstyled: i,
10794
10794
  vars: c,
10795
- varsResolver: Uv,
10795
+ varsResolver: Uy,
10796
10796
  stylesCtx: { size: x }
10797
10797
  });
10798
10798
  return /* @__PURE__ */ Q(
@@ -10804,8 +10804,8 @@ const Xv = {
10804
10804
  size: x,
10805
10805
  ..._("root", { variant: C }),
10806
10806
  mod: [
10807
- { "with-remove": d && !v, disabled: v || b?.disabled },
10808
- y
10807
+ { "with-remove": d && !y, disabled: y || b?.disabled },
10808
+ v
10809
10809
  ],
10810
10810
  ...w,
10811
10811
  children: [
@@ -10838,16 +10838,16 @@ const Xv = {
10838
10838
  Os.classes = Io;
10839
10839
  Os.displayName = "@mantine/core/Pill";
10840
10840
  Os.Group = Ds;
10841
- var Qv = { root: "m_a513464", icon: "m_a4ceffb", loader: "m_b0920b15", body: "m_a49ed24", title: "m_3feedf16", description: "m_3d733a3a", closeButton: "m_919a4d88" };
10842
- const vc = Qv, Zv = {
10841
+ var Qy = { root: "m_a513464", icon: "m_a4ceffb", loader: "m_b0920b15", body: "m_a49ed24", title: "m_3feedf16", description: "m_3d733a3a", closeButton: "m_919a4d88" };
10842
+ const yc = Qy, Zy = {
10843
10843
  withCloseButton: !0
10844
- }, Jv = (e, { radius: t, color: n }) => ({
10844
+ }, Jy = (e, { radius: t, color: n }) => ({
10845
10845
  root: {
10846
10846
  "--notification-radius": t === void 0 ? void 0 : le(t),
10847
10847
  "--notification-color": n ? xe(n, e) : void 0
10848
10848
  }
10849
- }), yc = F((e, t) => {
10850
- const n = E("Notification", Zv, e), {
10849
+ }), vc = F((e, t) => {
10850
+ const n = E("Notification", Zy, e), {
10851
10851
  className: o,
10852
10852
  color: r,
10853
10853
  radius: s,
@@ -10861,23 +10861,23 @@ const vc = Qv, Zv = {
10861
10861
  closeButtonProps: f,
10862
10862
  classNames: h,
10863
10863
  style: m,
10864
- styles: v,
10865
- unstyled: y,
10864
+ styles: y,
10865
+ unstyled: v,
10866
10866
  variant: w,
10867
10867
  vars: b,
10868
10868
  mod: S,
10869
10869
  ...x
10870
10870
  } = n, C = q({
10871
10871
  name: "Notification",
10872
- classes: vc,
10872
+ classes: yc,
10873
10873
  props: n,
10874
10874
  className: o,
10875
10875
  style: m,
10876
10876
  classNames: h,
10877
- styles: v,
10878
- unstyled: y,
10877
+ styles: y,
10878
+ unstyled: v,
10879
10879
  vars: b,
10880
- varsResolver: Jv
10880
+ varsResolver: Jy
10881
10881
  });
10882
10882
  return /* @__PURE__ */ Q(
10883
10883
  I,
@@ -10901,7 +10901,7 @@ const vc = Qv, Zv = {
10901
10901
  iconSize: 16,
10902
10902
  color: "gray",
10903
10903
  ...f,
10904
- unstyled: y,
10904
+ unstyled: v,
10905
10905
  onClick: p,
10906
10906
  ...C("closeButton")
10907
10907
  }
@@ -10910,16 +10910,16 @@ const vc = Qv, Zv = {
10910
10910
  }
10911
10911
  );
10912
10912
  });
10913
- yc.classes = vc;
10914
- yc.displayName = "@mantine/core/Notification";
10915
- const ey = {
10913
+ vc.classes = yc;
10914
+ vc.displayName = "@mantine/core/Notification";
10915
+ const ev = {
10916
10916
  duration: 100,
10917
10917
  transition: "fade"
10918
10918
  };
10919
- function ty(e, t) {
10920
- return { ...ey, ...t, ...e };
10919
+ function tv(e, t) {
10920
+ return { ...ev, ...t, ...e };
10921
10921
  }
10922
- function ny({
10922
+ function nv({
10923
10923
  offset: e,
10924
10924
  position: t,
10925
10925
  defaultOpened: n
@@ -10934,18 +10934,18 @@ function ny({
10934
10934
  })
10935
10935
  ]
10936
10936
  }), p = d.includes("right") ? e : t.includes("left") ? e * -1 : 0, f = d.includes("bottom") ? e : t.includes("top") ? e * -1 : 0, h = K(
10937
- ({ clientX: m, clientY: v }) => {
10937
+ ({ clientX: m, clientY: y }) => {
10938
10938
  l.setPositionReference({
10939
10939
  getBoundingClientRect() {
10940
10940
  return {
10941
10941
  width: 0,
10942
10942
  height: 0,
10943
10943
  x: m,
10944
- y: v,
10944
+ y,
10945
10945
  left: m + p,
10946
- top: v + f,
10946
+ top: y + f,
10947
10947
  right: m,
10948
- bottom: v
10948
+ bottom: y
10949
10949
  };
10950
10950
  }
10951
10951
  });
@@ -10956,33 +10956,33 @@ function ny({
10956
10956
  if (l.floating.current) {
10957
10957
  const m = s.current;
10958
10958
  m.addEventListener("mousemove", h);
10959
- const v = ot(l.floating.current);
10960
- return v.forEach((y) => {
10961
- y.addEventListener("scroll", u);
10959
+ const y = ot(l.floating.current);
10960
+ return y.forEach((v) => {
10961
+ v.addEventListener("scroll", u);
10962
10962
  }), () => {
10963
- m.removeEventListener("mousemove", h), v.forEach((y) => {
10964
- y.removeEventListener("scroll", u);
10963
+ m.removeEventListener("mousemove", h), y.forEach((v) => {
10964
+ v.removeEventListener("scroll", u);
10965
10965
  });
10966
10966
  };
10967
10967
  }
10968
10968
  }, [c.reference, l.floating.current, u, h, o]), { handleMouseMove: h, x: a, y: i, opened: o, setOpened: r, boundaryRef: s, floating: l.setFloating };
10969
10969
  }
10970
- var oy = { tooltip: "m_1b3c8819", arrow: "m_f898399f" };
10971
- const Do = oy, ry = {
10970
+ var ov = { tooltip: "m_1b3c8819", arrow: "m_f898399f" };
10971
+ const Do = ov, rv = {
10972
10972
  refProp: "ref",
10973
10973
  withinPortal: !0,
10974
10974
  offset: 10,
10975
10975
  defaultOpened: !1,
10976
10976
  position: "right",
10977
10977
  zIndex: be("popover")
10978
- }, sy = (e, { radius: t, color: n }) => ({
10978
+ }, sv = (e, { radius: t, color: n }) => ({
10979
10979
  tooltip: {
10980
10980
  "--tooltip-radius": t === void 0 ? void 0 : le(t),
10981
10981
  "--tooltip-bg": n ? xe(n, e) : void 0,
10982
10982
  "--tooltip-color": n ? "var(--mantine-color-white)" : void 0
10983
10983
  }
10984
10984
  }), Ls = F((e, t) => {
10985
- const n = E("TooltipFloating", ry, e), {
10985
+ const n = E("TooltipFloating", rv, e), {
10986
10986
  children: o,
10987
10987
  refProp: r,
10988
10988
  withinPortal: s,
@@ -10996,8 +10996,8 @@ const Do = oy, ry = {
10996
10996
  label: f,
10997
10997
  offset: h,
10998
10998
  position: m,
10999
- multiline: v,
11000
- zIndex: y,
10999
+ multiline: y,
11000
+ zIndex: v,
11001
11001
  disabled: w,
11002
11002
  defaultOpened: b,
11003
11003
  variant: S,
@@ -11015,8 +11015,8 @@ const Do = oy, ry = {
11015
11015
  unstyled: u,
11016
11016
  rootSelector: "tooltip",
11017
11017
  vars: x,
11018
- varsResolver: sy
11019
- }), { handleMouseMove: O, x: z, y: H, opened: j, boundaryRef: B, floating: V, setOpened: D } = ny({
11018
+ varsResolver: sv
11019
+ }), { handleMouseMove: O, x: z, y: H, opened: j, boundaryRef: B, floating: V, setOpened: D } = nv({
11020
11020
  offset: h,
11021
11021
  position: m,
11022
11022
  defaultOpened: b
@@ -11038,7 +11038,7 @@ const Do = oy, ry = {
11038
11038
  ...A("tooltip", {
11039
11039
  style: {
11040
11040
  ..._i(a, P),
11041
- zIndex: y,
11041
+ zIndex: v,
11042
11042
  display: !w && j ? "block" : "none",
11043
11043
  top: (H && Math.round(H)) ?? "",
11044
11044
  left: (z && Math.round(z)) ?? ""
@@ -11046,7 +11046,7 @@ const Do = oy, ry = {
11046
11046
  }),
11047
11047
  variant: S,
11048
11048
  ref: V,
11049
- mod: { multiline: v },
11049
+ mod: { multiline: y },
11050
11050
  children: f
11051
11051
  }
11052
11052
  ) }),
@@ -11060,24 +11060,24 @@ const Do = oy, ry = {
11060
11060
  });
11061
11061
  Ls.classes = Do;
11062
11062
  Ls.displayName = "@mantine/core/TooltipFloating";
11063
- const bc = qt(!1), ay = bc.Provider, iy = () => wt(bc), ly = {
11063
+ const bc = qt(!1), av = bc.Provider, iv = () => wt(bc), lv = {
11064
11064
  openDelay: 0,
11065
11065
  closeDelay: 0
11066
11066
  };
11067
11067
  function zs(e) {
11068
- const { openDelay: t, closeDelay: n, children: o } = E("TooltipGroup", ly, e);
11069
- return /* @__PURE__ */ g(ay, { value: !0, children: /* @__PURE__ */ g(pm, { delay: { open: t, close: n }, children: o }) });
11068
+ const { openDelay: t, closeDelay: n, children: o } = E("TooltipGroup", lv, e);
11069
+ return /* @__PURE__ */ g(av, { value: !0, children: /* @__PURE__ */ g(pm, { delay: { open: t, close: n }, children: o }) });
11070
11070
  }
11071
11071
  zs.displayName = "@mantine/core/TooltipGroup";
11072
11072
  zs.extend = (e) => e;
11073
- function cy(e) {
11073
+ function cv(e) {
11074
11074
  if (e === void 0)
11075
11075
  return { shift: !0, flip: !0 };
11076
11076
  const t = { ...e };
11077
11077
  return e.shift === void 0 && (t.shift = !0), e.flip === void 0 && (t.flip = !0), t;
11078
11078
  }
11079
- function uy(e) {
11080
- const t = cy(e.middlewares), n = [ol(e.offset)];
11079
+ function uv(e) {
11080
+ const t = cv(e.middlewares), n = [ol(e.offset)];
11081
11081
  return t.shift && n.push(
11082
11082
  Xr(
11083
11083
  typeof t.shift == "boolean" ? { padding: 8 } : { padding: 8, ...t.shift }
@@ -11088,8 +11088,8 @@ function uy(e) {
11088
11088
  typeof t.inline == "boolean" ? fn() : fn(t.inline)
11089
11089
  ) : e.inline && n.push(fn()), n;
11090
11090
  }
11091
- function dy(e) {
11092
- const [t, n] = W(e.defaultOpened), r = typeof e.opened == "boolean" ? e.opened : t, s = iy(), a = Ze(), { delay: i, currentId: c, setCurrentId: l } = ll(), u = K(
11091
+ function dv(e) {
11092
+ const [t, n] = W(e.defaultOpened), r = typeof e.opened == "boolean" ? e.opened : t, s = iv(), a = Ze(), { delay: i, currentId: c, setCurrentId: l } = ll(), u = K(
11093
11093
  (C) => {
11094
11094
  n(C), C && l(a);
11095
11095
  },
@@ -11100,14 +11100,14 @@ function dy(e) {
11100
11100
  context: f,
11101
11101
  refs: h,
11102
11102
  update: m,
11103
- placement: v,
11104
- middlewareData: { arrow: { x: y, y: w } = {} }
11103
+ placement: y,
11104
+ middlewareData: { arrow: { x: v, y: w } = {} }
11105
11105
  } = Jr({
11106
11106
  strategy: e.strategy,
11107
11107
  placement: e.position,
11108
11108
  open: r,
11109
11109
  onOpenChange: u,
11110
- middleware: uy(e)
11110
+ middleware: uv(e)
11111
11111
  });
11112
11112
  mm(f, { id: a });
11113
11113
  const { getReferenceProps: b, getFloatingProps: S } = Sm([
@@ -11119,7 +11119,7 @@ function dy(e) {
11119
11119
  wm(f, { enabled: e.events?.focus, visibleOnly: !0 }),
11120
11120
  Cm(f, { role: "tooltip" }),
11121
11121
  // Cannot be used with controlled tooltip, page jumps
11122
- ym(f, { enabled: typeof e.opened > "u" })
11122
+ vm(f, { enabled: typeof e.opened > "u" })
11123
11123
  ]);
11124
11124
  hl({
11125
11125
  opened: r,
@@ -11127,13 +11127,13 @@ function dy(e) {
11127
11127
  positionDependencies: e.positionDependencies,
11128
11128
  floating: { refs: h, update: m }
11129
11129
  }), rt(() => {
11130
- e.onPositionChange?.(v);
11131
- }, [v]);
11130
+ e.onPositionChange?.(y);
11131
+ }, [y]);
11132
11132
  const x = r && c && c !== a;
11133
11133
  return {
11134
11134
  x: d,
11135
11135
  y: p,
11136
- arrowX: y,
11136
+ arrowX: v,
11137
11137
  arrowY: w,
11138
11138
  reference: h.setReference,
11139
11139
  floating: h.setFloating,
@@ -11141,7 +11141,7 @@ function dy(e) {
11141
11141
  getReferenceProps: b,
11142
11142
  isGroupPhase: x,
11143
11143
  opened: r,
11144
- placement: v
11144
+ placement: y
11145
11145
  };
11146
11146
  }
11147
11147
  const Va = {
@@ -11160,7 +11160,7 @@ const Va = {
11160
11160
  zIndex: be("popover"),
11161
11161
  positionDependencies: [],
11162
11162
  middlewares: { flip: !0, shift: !0, inline: !1 }
11163
- }, fy = (e, { radius: t, color: n }) => ({
11163
+ }, fv = (e, { radius: t, color: n }) => ({
11164
11164
  tooltip: {
11165
11165
  "--tooltip-radius": t === void 0 ? void 0 : le(t),
11166
11166
  "--tooltip-bg": n ? xe(n, e) : void 0,
@@ -11181,8 +11181,8 @@ const Va = {
11181
11181
  radius: f,
11182
11182
  color: h,
11183
11183
  classNames: m,
11184
- styles: v,
11185
- unstyled: y,
11184
+ styles: y,
11185
+ unstyled: v,
11186
11186
  style: w,
11187
11187
  className: b,
11188
11188
  withArrow: S,
@@ -11209,7 +11209,7 @@ const Va = {
11209
11209
  floatingStrategy: ae,
11210
11210
  middlewares: U,
11211
11211
  ...ne
11212
- } = E("Tooltip", Va, n), { dir: he } = St(), me = G(null), ue = dy({
11212
+ } = E("Tooltip", Va, n), { dir: he } = St(), me = G(null), ue = dv({
11213
11213
  position: cl(he, r),
11214
11214
  closeDelay: c,
11215
11215
  openDelay: i,
@@ -11231,17 +11231,17 @@ const Va = {
11231
11231
  className: b,
11232
11232
  style: w,
11233
11233
  classNames: m,
11234
- styles: v,
11235
- unstyled: y,
11234
+ styles: y,
11235
+ unstyled: v,
11236
11236
  rootSelector: "tooltip",
11237
11237
  vars: Y,
11238
- varsResolver: fy
11238
+ varsResolver: fv
11239
11239
  });
11240
11240
  if (!ct(o))
11241
11241
  throw new Error(
11242
11242
  "[@mantine/core] Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported"
11243
11243
  );
11244
- const et = de(ue.reference, Zn(o), t), Ee = ty(O, { duration: 100, transition: "fade" }), ie = o.props;
11244
+ const et = de(ue.reference, Zn(o), t), Ee = tv(O, { duration: 100, transition: "fade" }), ie = o.props;
11245
11245
  return /* @__PURE__ */ Q(Se, { children: [
11246
11246
  /* @__PURE__ */ g(Pn, { ...ee, withinPortal: p, children: /* @__PURE__ */ g(
11247
11247
  ft,
@@ -11310,10 +11310,10 @@ Oo.classes = Do;
11310
11310
  Oo.displayName = "@mantine/core/Tooltip";
11311
11311
  Oo.Floating = Ls;
11312
11312
  Oo.Group = zs;
11313
- var py = { root: "m_cf365364", indicator: "m_9e182ccd", label: "m_1738fcb2", input: "m_1714d588", control: "m_69686b9b", innerLabel: "m_78882f40" };
11314
- const wc = py, my = {
11313
+ var pv = { root: "m_cf365364", indicator: "m_9e182ccd", label: "m_1738fcb2", input: "m_1714d588", control: "m_69686b9b", innerLabel: "m_78882f40" };
11314
+ const wc = pv, mv = {
11315
11315
  withItemsBorders: !0
11316
- }, hy = (e, { radius: t, color: n, transitionDuration: o, size: r, transitionTimingFunction: s }) => ({
11316
+ }, hv = (e, { radius: t, color: n, transitionDuration: o, size: r, transitionTimingFunction: s }) => ({
11317
11317
  root: {
11318
11318
  "--sc-radius": t === void 0 ? void 0 : le(t),
11319
11319
  "--sc-color": n ? xe(n, e) : void 0,
@@ -11321,10 +11321,10 @@ const wc = py, my = {
11321
11321
  "--sc-transition-duration": o === void 0 ? void 0 : `${o}ms`,
11322
11322
  "--sc-transition-timing-function": s,
11323
11323
  "--sc-padding": J(r, "sc-padding"),
11324
- "--sc-font-size": ye(r)
11324
+ "--sc-font-size": ve(r)
11325
11325
  }
11326
11326
  }), Sc = F((e, t) => {
11327
- const n = E("SegmentedControl", my, e), {
11327
+ const n = E("SegmentedControl", mv, e), {
11328
11328
  classNames: o,
11329
11329
  className: r,
11330
11330
  style: s,
@@ -11338,8 +11338,8 @@ const wc = py, my = {
11338
11338
  size: f,
11339
11339
  name: h,
11340
11340
  disabled: m,
11341
- readOnly: v,
11342
- fullWidth: y,
11341
+ readOnly: y,
11342
+ fullWidth: v,
11343
11343
  orientation: w,
11344
11344
  radius: b,
11345
11345
  color: S,
@@ -11360,7 +11360,7 @@ const wc = py, my = {
11360
11360
  styles: a,
11361
11361
  unstyled: i,
11362
11362
  vars: c,
11363
- varsResolver: hy
11363
+ varsResolver: hv
11364
11364
  }), j = we(), B = l.map(
11365
11365
  (U) => typeof U == "string" ? { label: U, value: U } : U
11366
11366
  ), V = _d(), [D, L] = W(null), [T, $] = W({}), k = (U, ne) => {
@@ -11387,7 +11387,7 @@ const wc = py, my = {
11387
11387
  value: U.value,
11388
11388
  id: `${ee}-${U.value}`,
11389
11389
  checked: M === U.value,
11390
- onChange: () => !v && Y(U.value),
11390
+ onChange: () => !y && Y(U.value),
11391
11391
  "data-focus-ring": j.focusRing,
11392
11392
  key: `${U.value}-input`
11393
11393
  }
@@ -11400,7 +11400,7 @@ const wc = py, my = {
11400
11400
  mod: {
11401
11401
  active: M === U.value && !(m || U.disabled),
11402
11402
  disabled: m || U.disabled,
11403
- "read-only": v
11403
+ "read-only": y
11404
11404
  },
11405
11405
  htmlFor: `${ee}-${U.value}`,
11406
11406
  ref: (ne) => k(ne, U.value),
@@ -11421,7 +11421,7 @@ const wc = py, my = {
11421
11421
  ref: ae,
11422
11422
  mod: [
11423
11423
  {
11424
- "full-width": y,
11424
+ "full-width": v,
11425
11425
  orientation: w,
11426
11426
  initialized: V,
11427
11427
  "with-items-borders": A
@@ -11449,13 +11449,13 @@ const wc = py, my = {
11449
11449
  });
11450
11450
  Sc.classes = wc;
11451
11451
  Sc.displayName = "@mantine/core/SegmentedControl";
11452
- const gy = {
11452
+ const gv = {
11453
11453
  searchable: !1,
11454
11454
  withCheckIcon: !0,
11455
11455
  allowDeselect: !0,
11456
11456
  checkIconPosition: "left"
11457
11457
  }, xc = F((e, t) => {
11458
- const n = E("Select", gy, e), {
11458
+ const n = E("Select", gv, e), {
11459
11459
  classNames: o,
11460
11460
  styles: r,
11461
11461
  unstyled: s,
@@ -11469,8 +11469,8 @@ const gy = {
11469
11469
  onClick: f,
11470
11470
  onChange: h,
11471
11471
  data: m,
11472
- value: v,
11473
- defaultValue: y,
11472
+ value: y,
11473
+ defaultValue: v,
11474
11474
  selectFirstOptionOnChange: w,
11475
11475
  onOptionSubmit: b,
11476
11476
  comboboxProps: S,
@@ -11504,8 +11504,8 @@ const gy = {
11504
11504
  scrollAreaProps: et,
11505
11505
  ...Ee
11506
11506
  } = n, ie = _t(() => Hh(m), [m]), oe = _t(() => Il(ie), [ie]), ce = Ze(ae), [re, kt, sn] = Ue({
11507
- value: v,
11508
- defaultValue: y,
11507
+ value: y,
11508
+ defaultValue: v,
11509
11509
  finalValue: null,
11510
11510
  onChange: h
11511
11511
  }), Ie = typeof re == "string" ? oe[re] : void 0, Tn = $d(Ie), [tt, Mt] = Ue({
@@ -11530,8 +11530,8 @@ const gy = {
11530
11530
  X(() => {
11531
11531
  w && Ve.selectFirstOption();
11532
11532
  }, [w, re]), X(() => {
11533
- v === null && Mt(""), typeof v == "string" && Ie && (Tn?.value !== Ie.value || Tn?.label !== Ie.label) && Mt(Ie.label);
11534
- }, [v, Ie]);
11533
+ y === null && Mt(""), typeof y == "string" && Ie && (Tn?.value !== Ie.value || Tn?.label !== Ie.label) && Mt(Ie.label);
11534
+ }, [y, Ie]);
11535
11535
  const Ys = U && !!re && !C && !x && /* @__PURE__ */ g(
11536
11536
  te.ClearButton,
11537
11537
  {
@@ -11632,7 +11632,7 @@ const gy = {
11632
11632
  });
11633
11633
  xc.classes = { ...go.classes, ...te.classes };
11634
11634
  xc.displayName = "@mantine/core/Select";
11635
- function vy({
11635
+ function yv({
11636
11636
  spacing: e,
11637
11637
  verticalSpacing: t,
11638
11638
  cols: n,
@@ -11656,10 +11656,10 @@ function vy({
11656
11656
  function ur(e) {
11657
11657
  return typeof e == "object" && e !== null ? Pe(e) : [];
11658
11658
  }
11659
- function yy(e) {
11659
+ function vv(e) {
11660
11660
  return e.sort((t, n) => pn(t) - pn(n));
11661
11661
  }
11662
- function by({
11662
+ function bv({
11663
11663
  spacing: e,
11664
11664
  verticalSpacing: t,
11665
11665
  cols: n
@@ -11671,9 +11671,9 @@ function by({
11671
11671
  ...ur(n)
11672
11672
  ])
11673
11673
  );
11674
- return yy(o);
11674
+ return vv(o);
11675
11675
  }
11676
- function wy({
11676
+ function wv({
11677
11677
  spacing: e,
11678
11678
  verticalSpacing: t,
11679
11679
  cols: n,
@@ -11683,7 +11683,7 @@ function wy({
11683
11683
  "--sg-spacing-x": Ce(Ht(e)),
11684
11684
  "--sg-spacing-y": Ce(Ht(r)),
11685
11685
  "--sg-cols": Ht(n)?.toString()
11686
- }), a = by({ spacing: e, verticalSpacing: t, cols: n }), i = a.reduce(
11686
+ }), a = bv({ spacing: e, verticalSpacing: t, cols: n }), i = a.reduce(
11687
11687
  (l, u) => (l[u] || (l[u] = {}), typeof e == "object" && e[u] !== void 0 && (l[u]["--sg-spacing-x"] = Ce(e[u])), typeof r == "object" && r[u] !== void 0 && (l[u]["--sg-spacing-y"] = Ce(r[u])), typeof n == "object" && n[u] !== void 0 && (l[u]["--sg-cols"] = n[u]), l),
11688
11688
  {}
11689
11689
  ), c = a.map((l) => ({
@@ -11692,13 +11692,13 @@ function wy({
11692
11692
  }));
11693
11693
  return /* @__PURE__ */ g(to, { styles: s, container: c, selector: o });
11694
11694
  }
11695
- var Sy = { container: "m_925c2d2c", root: "m_2415a157" };
11696
- const Cc = Sy, xy = {
11695
+ var Sv = { container: "m_925c2d2c", root: "m_2415a157" };
11696
+ const Cc = Sv, xv = {
11697
11697
  cols: 1,
11698
11698
  spacing: "md",
11699
11699
  type: "media"
11700
11700
  }, $c = F((e, t) => {
11701
- const n = E("SimpleGrid", xy, e), {
11701
+ const n = E("SimpleGrid", xv, e), {
11702
11702
  classNames: o,
11703
11703
  className: r,
11704
11704
  style: s,
@@ -11722,16 +11722,16 @@ const Cc = Sy, xy = {
11722
11722
  vars: c
11723
11723
  }), m = Lr();
11724
11724
  return p === "container" ? /* @__PURE__ */ Q(Se, { children: [
11725
- /* @__PURE__ */ g(wy, { ...n, selector: `.${m}` }),
11725
+ /* @__PURE__ */ g(wv, { ...n, selector: `.${m}` }),
11726
11726
  /* @__PURE__ */ g("div", { ...h("container"), children: /* @__PURE__ */ g(I, { ref: t, ...h("root", { className: m }), ...f }) })
11727
11727
  ] }) : /* @__PURE__ */ Q(Se, { children: [
11728
- /* @__PURE__ */ g(vy, { ...n, selector: `.${m}` }),
11728
+ /* @__PURE__ */ g(yv, { ...n, selector: `.${m}` }),
11729
11729
  /* @__PURE__ */ g(I, { ref: t, ...h("root", { className: m }), ...f })
11730
11730
  ] });
11731
11731
  });
11732
11732
  $c.classes = Cc;
11733
11733
  $c.displayName = "@mantine/core/SimpleGrid";
11734
- const [Cy, Lo] = Me(
11734
+ const [Cv, Lo] = Me(
11735
11735
  "SliderProvider was not found in tree"
11736
11736
  ), Pc = Z(
11737
11737
  ({ size: e, disabled: t, variant: n, color: o, thumbSize: r, radius: s, ...a }, i) => {
@@ -11768,8 +11768,8 @@ const _c = Z(
11768
11768
  showLabelOnHover: f,
11769
11769
  isHovered: h,
11770
11770
  children: m = null,
11771
- disabled: v
11772
- }, y) => {
11771
+ disabled: y
11772
+ }, v) => {
11773
11773
  const { getStyles: w } = Lo(), [b, S] = W(!1), x = l || s || b || f && h;
11774
11774
  return /* @__PURE__ */ Q(
11775
11775
  I,
@@ -11780,10 +11780,10 @@ const _c = Z(
11780
11780
  "aria-valuemax": e,
11781
11781
  "aria-valuemin": t,
11782
11782
  "aria-valuenow": n,
11783
- ref: y,
11783
+ ref: v,
11784
11784
  __vars: { "--slider-thumb-offset": `${o}%` },
11785
11785
  ...w("thumb", { focusable: !0 }),
11786
- mod: { dragging: s, disabled: v },
11786
+ mod: { dragging: s, disabled: y },
11787
11787
  onFocus: (C) => {
11788
11788
  S(!0), typeof d == "function" && d(C);
11789
11789
  },
@@ -11816,7 +11816,7 @@ function Nc({ value: e, min: t, max: n }) {
11816
11816
  const o = (e - t) / (n - t) * 100;
11817
11817
  return Math.min(Math.max(o, 0), 100);
11818
11818
  }
11819
- function $y({ mark: e, offset: t, value: n, inverted: o = !1 }) {
11819
+ function $v({ mark: e, offset: t, value: n, inverted: o = !1 }) {
11820
11820
  return o ? typeof t == "number" && e.value <= t || e.value >= n : typeof t == "number" ? e.value >= t && e.value <= n : e.value <= n;
11821
11821
  }
11822
11822
  function Rc({ marks: e, min: t, max: n, disabled: o, value: r, offset: s, inverted: a }) {
@@ -11834,7 +11834,7 @@ function Rc({ marks: e, min: t, max: n, disabled: o, value: r, offset: s, invert
11834
11834
  I,
11835
11835
  {
11836
11836
  ...i("mark"),
11837
- mod: { filled: $y({ mark: l, value: r, offset: s, inverted: a }), disabled: o }
11837
+ mod: { filled: $v({ mark: l, value: r, offset: s, inverted: a }), disabled: o }
11838
11838
  }
11839
11839
  ),
11840
11840
  l.label && /* @__PURE__ */ g("div", { ...i("markLabel"), children: l.label })
@@ -11870,7 +11870,7 @@ function Ec({
11870
11870
  ] }) });
11871
11871
  }
11872
11872
  Ec.displayName = "@mantine/core/SliderTrack";
11873
- function Py({
11873
+ function Pv({
11874
11874
  value: e,
11875
11875
  containerWidth: t,
11876
11876
  min: n,
@@ -11884,7 +11884,7 @@ function Py({
11884
11884
  function zn(e, t) {
11885
11885
  return parseFloat(e.toFixed(t));
11886
11886
  }
11887
- function _y(e) {
11887
+ function _v(e) {
11888
11888
  if (!e)
11889
11889
  return 0;
11890
11890
  const t = e.toString().split(".");
@@ -11906,8 +11906,8 @@ function ja(e) {
11906
11906
  const t = [...e].sort((n, o) => n.value - o.value);
11907
11907
  return t.length > 0 ? t[t.length - 1].value : 100;
11908
11908
  }
11909
- var Ny = { root: "m_dd36362e", label: "m_c9357328", thumb: "m_c9a9a60a", trackContainer: "m_a8645c2", track: "m_c9ade57f", bar: "m_38aeed47", markWrapper: "m_b7b0423a", mark: "m_dd33bc19", markLabel: "m_68c77a5b" };
11910
- const Tc = Ny, Ry = {
11909
+ var Nv = { root: "m_dd36362e", label: "m_c9357328", thumb: "m_c9a9a60a", trackContainer: "m_a8645c2", track: "m_c9ade57f", bar: "m_38aeed47", markWrapper: "m_b7b0423a", mark: "m_dd33bc19", markLabel: "m_68c77a5b" };
11910
+ const Tc = Nv, Rv = {
11911
11911
  radius: "xl",
11912
11912
  min: 0,
11913
11913
  max: 100,
@@ -11920,7 +11920,7 @@ const Tc = Ny, Ry = {
11920
11920
  showLabelOnHover: !0,
11921
11921
  disabled: !1,
11922
11922
  scale: (e) => e
11923
- }, Ey = (e, { size: t, color: n, thumbSize: o, radius: r }) => ({
11923
+ }, Ev = (e, { size: t, color: n, thumbSize: o, radius: r }) => ({
11924
11924
  root: {
11925
11925
  "--slider-size": J(t, "slider-size"),
11926
11926
  "--slider-color": n ? xe(n, e) : void 0,
@@ -11928,7 +11928,7 @@ const Tc = Ny, Ry = {
11928
11928
  "--slider-thumb-size": o !== void 0 ? R(o) : "calc(var(--slider-size) * 2)"
11929
11929
  }
11930
11930
  }), Ac = F((e, t) => {
11931
- const n = E("Slider", Ry, e), {
11931
+ const n = E("Slider", Rv, e), {
11932
11932
  classNames: o,
11933
11933
  styles: r,
11934
11934
  value: s,
@@ -11942,8 +11942,8 @@ const Tc = Ny, Ry = {
11942
11942
  defaultValue: f,
11943
11943
  name: h,
11944
11944
  marks: m,
11945
- label: v,
11946
- labelTransitionProps: y,
11945
+ label: y,
11946
+ labelTransitionProps: v,
11947
11947
  labelAlwaysOn: w,
11948
11948
  thumbLabel: b,
11949
11949
  showLabelOnHover: S,
@@ -11968,17 +11968,17 @@ const Tc = Ny, Ry = {
11968
11968
  styles: r,
11969
11969
  style: z,
11970
11970
  vars: H,
11971
- varsResolver: Ey,
11971
+ varsResolver: Ev,
11972
11972
  unstyled: _
11973
11973
  }), { dir: T } = St(), [$, k] = W(!1), [M, Y] = Ue({
11974
- value: typeof s == "number" ? vt(s, l, u) : s,
11975
- defaultValue: typeof f == "number" ? vt(f, l, u) : f,
11976
- finalValue: vt(0, l, u),
11974
+ value: typeof s == "number" ? yt(s, l, u) : s,
11975
+ defaultValue: typeof f == "number" ? yt(f, l, u) : f,
11976
+ finalValue: yt(0, l, u),
11977
11977
  onChange: a
11978
- }), ee = G(M), fe = G(null), ae = G(null), U = Nc({ value: M, min: l, max: u }), ne = P(M), he = typeof v == "function" ? v(ne) : v, me = p ?? _y(d), ue = K(
11978
+ }), ee = G(M), fe = G(null), ae = G(null), U = Nc({ value: M, min: l, max: u }), ne = P(M), he = typeof y == "function" ? y(ne) : y, me = p ?? _v(d), ue = K(
11979
11979
  ({ x: ie }) => {
11980
11980
  if (!C) {
11981
- const oe = Py({
11981
+ const oe = Pv({
11982
11982
  value: ie,
11983
11983
  min: l,
11984
11984
  max: u,
@@ -12078,7 +12078,7 @@ const Tc = Ny, Ry = {
12078
12078
  }
12079
12079
  }
12080
12080
  };
12081
- return /* @__PURE__ */ g(Cy, { value: { getStyles: L }, children: /* @__PURE__ */ Q(
12081
+ return /* @__PURE__ */ g(Cv, { value: { getStyles: L }, children: /* @__PURE__ */ Q(
12082
12082
  Pc,
12083
12083
  {
12084
12084
  ...D,
@@ -12114,7 +12114,7 @@ const Tc = Ny, Ry = {
12114
12114
  dragging: et,
12115
12115
  label: he,
12116
12116
  ref: ae,
12117
- labelTransitionProps: y,
12117
+ labelTransitionProps: v,
12118
12118
  labelAlwaysOn: w,
12119
12119
  thumbLabel: b,
12120
12120
  showLabelOnHover: S,
@@ -12133,21 +12133,21 @@ const Tc = Ny, Ry = {
12133
12133
  });
12134
12134
  Ac.classes = Tc;
12135
12135
  Ac.displayName = "@mantine/core/Slider";
12136
- const Ty = {}, Ay = F((e, t) => {
12137
- const { w: n, h: o, miw: r, mih: s, ...a } = E("Space", Ty, e);
12136
+ const Tv = {}, Av = F((e, t) => {
12137
+ const { w: n, h: o, miw: r, mih: s, ...a } = E("Space", Tv, e);
12138
12138
  return /* @__PURE__ */ g(I, { ref: t, ...a, w: n, miw: r ?? n, h: o, mih: s ?? o });
12139
12139
  });
12140
- Ay.displayName = "@mantine/core/Space";
12141
- var ky = { root: "m_559cce2d", content: "m_b912df4e", control: "m_b9131032" };
12142
- const kc = ky, My = {
12140
+ Av.displayName = "@mantine/core/Space";
12141
+ var kv = { root: "m_559cce2d", content: "m_b912df4e", control: "m_b9131032" };
12142
+ const kc = kv, Mv = {
12143
12143
  maxHeight: 100,
12144
12144
  initialState: !1
12145
- }, Iy = (e, { transitionDuration: t }) => ({
12145
+ }, Iv = (e, { transitionDuration: t }) => ({
12146
12146
  root: {
12147
12147
  "--spoiler-transition-duration": t !== void 0 ? `${t}ms` : void 0
12148
12148
  }
12149
12149
  }), Mc = F((e, t) => {
12150
- const n = E("Spoiler", My, e), {
12150
+ const n = E("Spoiler", Mv, e), {
12151
12151
  classNames: o,
12152
12152
  className: r,
12153
12153
  style: s,
@@ -12161,8 +12161,8 @@ const kc = ky, My = {
12161
12161
  children: f,
12162
12162
  controlRef: h,
12163
12163
  transitionDuration: m,
12164
- id: v,
12165
- expanded: y,
12164
+ id: y,
12165
+ expanded: v,
12166
12166
  onExpandedChange: w,
12167
12167
  ...b
12168
12168
  } = n, S = q({
@@ -12175,13 +12175,13 @@ const kc = ky, My = {
12175
12175
  styles: a,
12176
12176
  unstyled: i,
12177
12177
  vars: c,
12178
- varsResolver: Iy
12179
- }), x = Ze(v), C = `${x}-region`, [_, P] = Ue({
12180
- value: y,
12178
+ varsResolver: Iv
12179
+ }), x = Ze(y), C = `${x}-region`, [_, P] = Ue({
12180
+ value: v,
12181
12181
  defaultValue: l,
12182
12182
  finalValue: !1,
12183
12183
  onChange: w
12184
- }), { ref: A, height: O } = vd(), z = _ ? d : p, H = z !== null && u < O;
12184
+ }), { ref: A, height: O } = yd(), z = _ ? d : p, H = z !== null && u < O;
12185
12185
  return /* @__PURE__ */ Q(
12186
12186
  I,
12187
12187
  {
@@ -12222,19 +12222,19 @@ const kc = ky, My = {
12222
12222
  });
12223
12223
  Mc.classes = kc;
12224
12224
  Mc.displayName = "@mantine/core/Spoiler";
12225
- var Dy = { root: "m_6d731127" };
12226
- const Ic = Dy, Oy = {
12225
+ var Dv = { root: "m_6d731127" };
12226
+ const Ic = Dv, Ov = {
12227
12227
  gap: "md",
12228
12228
  align: "stretch",
12229
12229
  justify: "flex-start"
12230
- }, Ly = (e, { gap: t, align: n, justify: o }) => ({
12230
+ }, Lv = (e, { gap: t, align: n, justify: o }) => ({
12231
12231
  root: {
12232
12232
  "--stack-gap": Ce(t),
12233
12233
  "--stack-align": n,
12234
12234
  "--stack-justify": o
12235
12235
  }
12236
12236
  }), Dc = F((e, t) => {
12237
- const n = E("Stack", Oy, e), {
12237
+ const n = E("Stack", Ov, e), {
12238
12238
  classNames: o,
12239
12239
  className: r,
12240
12240
  style: s,
@@ -12256,18 +12256,18 @@ const Ic = Dy, Oy = {
12256
12256
  styles: a,
12257
12257
  unstyled: i,
12258
12258
  vars: c,
12259
- varsResolver: Ly
12259
+ varsResolver: Lv
12260
12260
  });
12261
12261
  return /* @__PURE__ */ g(I, { ref: t, ...h("root"), variant: p, ...f });
12262
12262
  });
12263
12263
  Dc.classes = Ic;
12264
12264
  Dc.displayName = "@mantine/core/Stack";
12265
- const [zy, Bs] = Me(
12265
+ const [zv, Bs] = Me(
12266
12266
  "Tabs component was not found in the tree"
12267
12267
  );
12268
- var By = { root: "m_89d60db1", "list--default": "m_576c9d4", list: "m_89d33d6d", panel: "m_b0c91715", tab: "m_4ec4dce6", tabSection: "m_fc420b1f", "tab--default": "m_539e827b", "list--outline": "m_6772fbd5", "tab--outline": "m_b59ab47c", "tab--pills": "m_c3381914" };
12269
- const Rn = By, Fy = {}, Fs = F((e, t) => {
12270
- const n = E("TabsList", Fy, e), { children: o, className: r, grow: s, justify: a, classNames: i, styles: c, style: l, mod: u, ...d } = n, p = Bs();
12268
+ var Bv = { root: "m_89d60db1", "list--default": "m_576c9d4", list: "m_89d33d6d", panel: "m_b0c91715", tab: "m_4ec4dce6", tabSection: "m_fc420b1f", "tab--default": "m_539e827b", "list--outline": "m_6772fbd5", "tab--outline": "m_b59ab47c", "tab--pills": "m_c3381914" };
12269
+ const Rn = Bv, Fv = {}, Fs = F((e, t) => {
12270
+ const n = E("TabsList", Fv, e), { children: o, className: r, grow: s, justify: a, classNames: i, styles: c, style: l, mod: u, ...d } = n, p = Bs();
12271
12271
  return /* @__PURE__ */ g(
12272
12272
  I,
12273
12273
  {
@@ -12300,8 +12300,8 @@ const Rn = By, Fy = {}, Fs = F((e, t) => {
12300
12300
  });
12301
12301
  Fs.classes = Rn;
12302
12302
  Fs.displayName = "@mantine/core/TabsList";
12303
- const Hy = {}, Hs = F((e, t) => {
12304
- const n = E("TabsPanel", Hy, e), { children: o, className: r, value: s, classNames: a, styles: i, style: c, mod: l, keepMounted: u, ...d } = n, p = Bs(), f = p.value === s, h = p.keepMounted || u || f ? o : null;
12303
+ const Hv = {}, Hs = F((e, t) => {
12304
+ const n = E("TabsPanel", Hv, e), { children: o, className: r, value: s, classNames: a, styles: i, style: c, mod: l, keepMounted: u, ...d } = n, p = Bs(), f = p.value === s, h = p.keepMounted || u || f ? o : null;
12305
12305
  return /* @__PURE__ */ g(
12306
12306
  I,
12307
12307
  {
@@ -12324,8 +12324,8 @@ const Hy = {}, Hs = F((e, t) => {
12324
12324
  });
12325
12325
  Hs.classes = Rn;
12326
12326
  Hs.displayName = "@mantine/core/TabsPanel";
12327
- const Vy = {}, Vs = F((e, t) => {
12328
- const n = E("TabsTab", Vy, e), {
12327
+ const Vv = {}, Vs = F((e, t) => {
12328
+ const n = E("TabsTab", Vv, e), {
12329
12329
  className: o,
12330
12330
  children: r,
12331
12331
  rightSection: s,
@@ -12339,8 +12339,8 @@ const Vy = {}, Vs = F((e, t) => {
12339
12339
  classNames: f,
12340
12340
  styles: h,
12341
12341
  vars: m,
12342
- mod: v,
12343
- tabIndex: y,
12342
+ mod: y,
12343
+ tabIndex: v,
12344
12344
  ...w
12345
12345
  } = n, b = we(), { dir: S } = St(), x = Bs(), C = i === x.value, _ = (A) => {
12346
12346
  x.onChange(x.allowTabDeactivation && i === x.value ? null : i), c?.(A);
@@ -12361,13 +12361,13 @@ const Vy = {}, Vs = F((e, t) => {
12361
12361
  inverted: x.inverted,
12362
12362
  placement: x.orientation === "vertical" && x.placement
12363
12363
  },
12364
- v
12364
+ y
12365
12365
  ],
12366
12366
  ref: t,
12367
12367
  role: "tab",
12368
12368
  id: x.getTabId(i),
12369
12369
  "aria-selected": C,
12370
- tabIndex: y || C || x.value === null ? 0 : -1,
12370
+ tabIndex: v || C || x.value === null ? 0 : -1,
12371
12371
  "aria-controls": x.getPanelId(i),
12372
12372
  onClick: _,
12373
12373
  __vars: { "--tabs-color": d ? xe(d, b) : void 0 },
@@ -12390,7 +12390,7 @@ const Vy = {}, Vs = F((e, t) => {
12390
12390
  });
12391
12391
  Vs.classes = Rn;
12392
12392
  Vs.displayName = "@mantine/core/TabsTab";
12393
- const Ga = "Tabs.Tab or Tabs.Panel component was rendered with invalid value or without value", Wy = {
12393
+ const Ga = "Tabs.Tab or Tabs.Panel component was rendered with invalid value or without value", Wv = {
12394
12394
  keepMounted: !0,
12395
12395
  orientation: "horizontal",
12396
12396
  loop: !0,
@@ -12400,14 +12400,14 @@ const Ga = "Tabs.Tab or Tabs.Panel component was rendered with invalid value or
12400
12400
  inverted: !1,
12401
12401
  variant: "default",
12402
12402
  placement: "left"
12403
- }, jy = (e, { radius: t, color: n, autoContrast: o }) => ({
12403
+ }, jv = (e, { radius: t, color: n, autoContrast: o }) => ({
12404
12404
  root: {
12405
12405
  "--tabs-radius": le(t),
12406
12406
  "--tabs-color": xe(n, e),
12407
- "--tabs-text-color": yf(o, e) ? Mr({ color: n, theme: e, autoContrast: o }) : void 0
12407
+ "--tabs-text-color": vf(o, e) ? Mr({ color: n, theme: e, autoContrast: o }) : void 0
12408
12408
  }
12409
12409
  }), En = F((e, t) => {
12410
- const n = E("Tabs", Wy, e), {
12410
+ const n = E("Tabs", Wv, e), {
12411
12411
  defaultValue: o,
12412
12412
  value: r,
12413
12413
  onChange: s,
@@ -12421,8 +12421,8 @@ const Ga = "Tabs.Tab or Tabs.Panel component was rendered with invalid value or
12421
12421
  color: f,
12422
12422
  radius: h,
12423
12423
  inverted: m,
12424
- placement: v,
12425
- keepMounted: y,
12424
+ placement: y,
12425
+ keepMounted: v,
12426
12426
  classNames: w,
12427
12427
  styles: b,
12428
12428
  unstyled: S,
@@ -12447,13 +12447,13 @@ const Ga = "Tabs.Tab or Tabs.Panel component was rendered with invalid value or
12447
12447
  styles: b,
12448
12448
  unstyled: S,
12449
12449
  vars: _,
12450
- varsResolver: jy
12450
+ varsResolver: jv
12451
12451
  });
12452
12452
  return /* @__PURE__ */ g(
12453
- zy,
12453
+ zv,
12454
12454
  {
12455
12455
  value: {
12456
- placement: v,
12456
+ placement: y,
12457
12457
  value: H,
12458
12458
  orientation: a,
12459
12459
  id: z,
@@ -12467,7 +12467,7 @@ const Ga = "Tabs.Tab or Tabs.Panel component was rendered with invalid value or
12467
12467
  color: f,
12468
12468
  radius: h,
12469
12469
  inverted: m,
12470
- keepMounted: y,
12470
+ keepMounted: v,
12471
12471
  unstyled: S,
12472
12472
  getStyles: B
12473
12473
  },
@@ -12481,7 +12481,7 @@ const Ga = "Tabs.Tab or Tabs.Panel component was rendered with invalid value or
12481
12481
  {
12482
12482
  orientation: a,
12483
12483
  inverted: a === "horizontal" && m,
12484
- placement: a === "vertical" && v
12484
+ placement: a === "vertical" && y
12485
12485
  },
12486
12486
  A
12487
12487
  ],
@@ -12498,8 +12498,8 @@ En.displayName = "@mantine/core/Tabs";
12498
12498
  En.Tab = Vs;
12499
12499
  En.Panel = Hs;
12500
12500
  En.List = Fs;
12501
- var Gy = { root: "m_7341320d" };
12502
- const Oc = Gy, Ky = {}, Yy = (e, { size: t, radius: n, variant: o, gradient: r, color: s, autoContrast: a }) => {
12501
+ var Gv = { root: "m_7341320d" };
12502
+ const Oc = Gv, Kv = {}, Yv = (e, { size: t, radius: n, variant: o, gradient: r, color: s, autoContrast: a }) => {
12503
12503
  const i = e.variantColorResolver({
12504
12504
  color: s || e.primaryColor,
12505
12505
  theme: e,
@@ -12517,7 +12517,7 @@ const Oc = Gy, Ky = {}, Yy = (e, { size: t, radius: n, variant: o, gradient: r,
12517
12517
  }
12518
12518
  };
12519
12519
  }, Lc = F((e, t) => {
12520
- const n = E("ThemeIcon", Ky, e), { classNames: o, className: r, style: s, styles: a, unstyled: i, vars: c, autoContrast: l, ...u } = n, d = q({
12520
+ const n = E("ThemeIcon", Kv, e), { classNames: o, className: r, style: s, styles: a, unstyled: i, vars: c, autoContrast: l, ...u } = n, d = q({
12521
12521
  name: "ThemeIcon",
12522
12522
  classes: Oc,
12523
12523
  props: n,
@@ -12527,20 +12527,20 @@ const Oc = Gy, Ky = {}, Yy = (e, { size: t, radius: n, variant: o, gradient: r,
12527
12527
  styles: a,
12528
12528
  unstyled: i,
12529
12529
  vars: c,
12530
- varsResolver: Yy
12530
+ varsResolver: Yv
12531
12531
  });
12532
12532
  return /* @__PURE__ */ g(I, { ref: t, ...d("root"), ...u });
12533
12533
  });
12534
12534
  Lc.classes = Oc;
12535
12535
  Lc.displayName = "@mantine/core/ThemeIcon";
12536
- const qy = ["h1", "h2", "h3", "h4", "h5", "h6"], Xy = ["xs", "sm", "md", "lg", "xl"];
12537
- function Uy(e, t) {
12536
+ const qv = ["h1", "h2", "h3", "h4", "h5", "h6"], Xv = ["xs", "sm", "md", "lg", "xl"];
12537
+ function Uv(e, t) {
12538
12538
  const n = t !== void 0 ? t : `h${e}`;
12539
- return qy.includes(n) ? {
12539
+ return qv.includes(n) ? {
12540
12540
  fontSize: `var(--mantine-${n}-font-size)`,
12541
12541
  fontWeight: `var(--mantine-${n}-font-weight)`,
12542
12542
  lineHeight: `var(--mantine-${n}-line-height)`
12543
- } : Xy.includes(n) ? {
12543
+ } : Xv.includes(n) ? {
12544
12544
  fontSize: `var(--mantine-font-size-${n})`,
12545
12545
  fontWeight: `var(--mantine-h${e}-font-weight)`,
12546
12546
  lineHeight: `var(--mantine-h${e}-line-height)`
@@ -12550,11 +12550,11 @@ function Uy(e, t) {
12550
12550
  lineHeight: `var(--mantine-h${e}-line-height)`
12551
12551
  };
12552
12552
  }
12553
- var Qy = { root: "m_8a5d1357" };
12554
- const zc = Qy, Zy = {
12553
+ var Qv = { root: "m_8a5d1357" };
12554
+ const zc = Qv, Zv = {
12555
12555
  order: 1
12556
- }, Jy = (e, { order: t, size: n, lineClamp: o, textWrap: r }) => {
12557
- const s = Uy(t, n);
12556
+ }, Jv = (e, { order: t, size: n, lineClamp: o, textWrap: r }) => {
12557
+ const s = Uv(t, n);
12558
12558
  return {
12559
12559
  root: {
12560
12560
  "--title-fw": s.fontWeight,
@@ -12565,7 +12565,7 @@ const zc = Qy, Zy = {
12565
12565
  }
12566
12566
  };
12567
12567
  }, Bc = F((e, t) => {
12568
- const n = E("Title", Zy, e), {
12568
+ const n = E("Title", Zv, e), {
12569
12569
  classNames: o,
12570
12570
  className: r,
12571
12571
  style: s,
@@ -12579,7 +12579,7 @@ const zc = Qy, Zy = {
12579
12579
  textWrap: f,
12580
12580
  mod: h,
12581
12581
  ...m
12582
- } = n, v = q({
12582
+ } = n, y = q({
12583
12583
  name: "Title",
12584
12584
  props: n,
12585
12585
  classes: zc,
@@ -12589,12 +12589,12 @@ const zc = Qy, Zy = {
12589
12589
  styles: a,
12590
12590
  unstyled: i,
12591
12591
  vars: l,
12592
- varsResolver: Jy
12592
+ varsResolver: Jv
12593
12593
  });
12594
12594
  return [1, 2, 3, 4, 5, 6].includes(c) ? /* @__PURE__ */ g(
12595
12595
  I,
12596
12596
  {
12597
- ...v("root"),
12597
+ ...y("root"),
12598
12598
  component: `h${c}`,
12599
12599
  variant: d,
12600
12600
  ref: t,
@@ -12663,12 +12663,12 @@ function Ws({
12663
12663
  }
12664
12664
  }
12665
12665
  b.nativeEvent.code === "Space" && (d && (b.stopPropagation(), b.preventDefault(), o.toggleExpanded(e.value)), p && (b.stopPropagation(), b.preventDefault(), o.isNodeChecked(e.value) ? o.uncheckNode(e.value) : o.checkNode(e.value)));
12666
- }, v = (b) => {
12666
+ }, y = (b) => {
12667
12667
  b.stopPropagation(), u && b.shiftKey && o.anchorNode ? (o.setSelectedState(Ka(o.anchorNode, e.value, l)), f.current?.focus()) : (r && o.toggleExpanded(e.value), s && o.select(e.value), f.current?.focus());
12668
- }, y = o.selectedState.includes(e.value), w = {
12668
+ }, v = o.selectedState.includes(e.value), w = {
12669
12669
  ...t("label"),
12670
- onClick: v,
12671
- "data-selected": y || void 0,
12670
+ onClick: y,
12671
+ "data-selected": v || void 0,
12672
12672
  "data-value": e.value,
12673
12673
  "data-hovered": o.hoveredNode === e.value || void 0
12674
12674
  };
@@ -12679,9 +12679,9 @@ function Ws({
12679
12679
  style: { "--label-offset": `calc(var(--level-offset) * ${i - 1})` }
12680
12680
  }),
12681
12681
  role: "treeitem",
12682
- "aria-selected": y,
12682
+ "aria-selected": v,
12683
12683
  "data-value": e.value,
12684
- "data-selected": y || void 0,
12684
+ "data-selected": v || void 0,
12685
12685
  "data-hovered": o.hoveredNode === e.value || void 0,
12686
12686
  "data-level": i,
12687
12687
  tabIndex: n === 0 ? 0 : -1,
@@ -12697,7 +12697,7 @@ function Ws({
12697
12697
  typeof c == "function" ? c({
12698
12698
  node: e,
12699
12699
  level: i,
12700
- selected: y,
12700
+ selected: v,
12701
12701
  tree: o,
12702
12702
  expanded: o.expandedState[e.value] || !1,
12703
12703
  hasChildren: Array.isArray(e.children) && e.children.length > 0,
@@ -12783,7 +12783,7 @@ function sb({
12783
12783
  onNodeCollapse: r,
12784
12784
  onNodeExpand: s
12785
12785
  } = {}) {
12786
- const [a, i] = W([]), [c, l] = W(n), [u, d] = W(e), [p, f] = W(t), [h, m] = W(null), [v, y] = W(null), w = K(
12786
+ const [a, i] = W([]), [c, l] = W(n), [u, d] = W(e), [p, f] = W(t), [h, m] = W(null), [y, v] = W(null), w = K(
12787
12787
  ($) => {
12788
12788
  l((k) => Vc(k, $, u)), f((k) => rb(k, $)), i($);
12789
12789
  },
@@ -12871,8 +12871,8 @@ function sb({
12871
12871
  deselect: O,
12872
12872
  clearSelected: z,
12873
12873
  setSelectedState: d,
12874
- hoveredNode: v,
12875
- setHoveredNode: y,
12874
+ hoveredNode: y,
12875
+ setHoveredNode: v,
12876
12876
  getCheckedNodes: () => zo(a, p).result,
12877
12877
  isNodeChecked: ($) => tb($, a, p),
12878
12878
  isNodeIndeterminate: ($) => ob($, a, p)
@@ -12906,8 +12906,8 @@ const ib = {
12906
12906
  selectOnClick: f,
12907
12907
  clearSelectionOnOutsideClick: h,
12908
12908
  allowRangeSelection: m,
12909
- expandOnSpace: v,
12910
- levelOffset: y,
12909
+ expandOnSpace: y,
12910
+ levelOffset: v,
12911
12911
  checkOnSpace: w,
12912
12912
  ...b
12913
12913
  } = n, S = sb(), x = d || S, C = q({
@@ -12939,7 +12939,7 @@ const ib = {
12939
12939
  renderNode: p,
12940
12940
  flatValues: A,
12941
12941
  allowRangeSelection: m,
12942
- expandOnSpace: v,
12942
+ expandOnSpace: y,
12943
12943
  checkOnSpace: w
12944
12944
  },
12945
12945
  z.value
@@ -13132,7 +13132,7 @@ function qn(e, t = document) {
13132
13132
  return null;
13133
13133
  }
13134
13134
  function Bo(e, t) {
13135
- const n = t.getState(), o = n.listId ? qn(`#${n.listId}`) : null, r = o?.querySelector("[data-selected]"), s = o?.querySelectorAll("[data-action]") ?? [], a = e === -1 ? s.length - 1 : e === s.length ? 0 : e, i = vt(a, 0, s.length - 1);
13135
+ const n = t.getState(), o = n.listId ? qn(`#${n.listId}`) : null, r = o?.querySelector("[data-selected]"), s = o?.querySelectorAll("[data-action]") ?? [], a = e === -1 ? s.length - 1 : e === s.length ? 0 : e, i = yt(a, 0, s.length - 1);
13136
13136
  return r?.removeAttribute("data-selected"), s[i]?.scrollIntoView({ block: "nearest" }), s[i]?.setAttribute("data-selected", "true"), Xc(i, t), i;
13137
13137
  }
13138
13138
  function mb(e) {
@@ -13147,13 +13147,13 @@ function gb(e) {
13147
13147
  `#${t.listId} [data-selected]`
13148
13148
  )?.click();
13149
13149
  }
13150
- function vb(e, t) {
13150
+ function yb(e, t) {
13151
13151
  const n = t.getState();
13152
13152
  return n.registeredActions.add(e), () => {
13153
13153
  n.registeredActions.delete(e);
13154
13154
  };
13155
13155
  }
13156
- function yb(e, t) {
13156
+ function vb(e, t) {
13157
13157
  Yt(() => ({ query: e }), t), Promise.resolve().then(() => {
13158
13158
  Bo(0, t), Yt(
13159
13159
  (n) => ({
@@ -13182,8 +13182,8 @@ const Xe = {
13182
13182
  selectNextAction: mb,
13183
13183
  selectPreviousAction: hb,
13184
13184
  triggerSelectedAction: gb,
13185
- registerAction: vb,
13186
- setQuery: yb,
13185
+ registerAction: yb,
13186
+ setQuery: vb,
13187
13187
  clearSpotlightState: bb
13188
13188
  };
13189
13189
  function wb() {
@@ -13257,8 +13257,8 @@ const Qe = _b, Nb = {
13257
13257
  dimmedSections: f,
13258
13258
  highlightQuery: h,
13259
13259
  highlightColor: m,
13260
- closeSpotlightOnTrigger: v,
13261
- onClick: y,
13260
+ closeSpotlightOnTrigger: y,
13261
+ onClick: v,
13262
13262
  onMouseDown: w,
13263
13263
  keywords: b,
13264
13264
  vars: S,
@@ -13284,7 +13284,7 @@ const Qe = _b, Nb = {
13284
13284
  A.preventDefault(), w?.(A);
13285
13285
  },
13286
13286
  onClick: (A) => {
13287
- y?.(A), (v ?? C.closeOnActionTrigger) && Xe.close(C.store);
13287
+ v?.(A), (y ?? C.closeOnActionTrigger) && Xe.close(C.store);
13288
13288
  },
13289
13289
  tabIndex: -1,
13290
13290
  children: p || /* @__PURE__ */ Q(Se, { children: [
@@ -13424,8 +13424,8 @@ const Mb = {
13424
13424
  transitionProps: f,
13425
13425
  clearQueryOnClose: h,
13426
13426
  shortcut: m,
13427
- tagsToIgnore: v,
13428
- triggerOnContentEditable: y,
13427
+ tagsToIgnore: y,
13428
+ triggerOnContentEditable: v,
13429
13429
  disabled: w,
13430
13430
  onSpotlightOpen: b,
13431
13431
  onSpotlightClose: S,
@@ -13446,7 +13446,7 @@ const Mb = {
13446
13446
  styles: a,
13447
13447
  unstyled: i
13448
13448
  });
13449
- return Sd(kb(m, l), v, y), rt(() => {
13449
+ return Sd(kb(m, l), y, v), rt(() => {
13450
13450
  z ? b?.() : S?.();
13451
13451
  }, [z]), w ? null : /* @__PURE__ */ g(
13452
13452
  Pb,
@@ -13553,8 +13553,8 @@ const Db = {
13553
13553
  onChange: a
13554
13554
  }), h = Zc(r(p, i), u).map((m) => {
13555
13555
  if (Qc(m)) {
13556
- const v = m.actions.map(({ id: y, ...w }) => /* @__PURE__ */ g(wn, { highlightQuery: l, ...w }, y));
13557
- return /* @__PURE__ */ g(Ho, { label: m.group, children: v }, m.group);
13556
+ const y = m.actions.map(({ id: v, ...w }) => /* @__PURE__ */ g(wn, { highlightQuery: l, ...w }, v));
13557
+ return /* @__PURE__ */ g(Ho, { label: m.group, children: y }, m.group);
13558
13558
  }
13559
13559
  return /* @__PURE__ */ g(wn, { highlightQuery: l, ...m }, m.id);
13560
13560
  });
@@ -13579,41 +13579,41 @@ Fe.open = Fo.open;
13579
13579
  Fe.close = Fo.close;
13580
13580
  Fe.toggle = Fo.toggle;
13581
13581
  export {
13582
- Hs as $,
13583
- Tl as A,
13582
+ Vs as $,
13583
+ ms as A,
13584
13584
  I as B,
13585
13585
  Rs as C,
13586
- Dc as D,
13587
- ms as E,
13588
- Os as F,
13586
+ Yb as D,
13587
+ Ze as E,
13588
+ Dc as F,
13589
13589
  Cl as G,
13590
- oc as H,
13590
+ Os as H,
13591
13591
  dc as I,
13592
- Oo as J,
13593
- Wb as K,
13594
- Hb as L,
13592
+ oc as J,
13593
+ Oo as K,
13594
+ Wb as L,
13595
13595
  Tr as M,
13596
- Qn as N,
13597
- co as O,
13596
+ Hb as N,
13597
+ Qn as O,
13598
13598
  ro as P,
13599
- dl as Q,
13599
+ co as Q,
13600
13600
  Bu as R,
13601
13601
  Fe as S,
13602
13602
  Lc as T,
13603
- At as U,
13604
- Gl as V,
13605
- Nl as W,
13606
- ns as X,
13607
- En as Y,
13608
- Fs as Z,
13609
- Vs as _,
13603
+ dl as U,
13604
+ At as V,
13605
+ Gl as W,
13606
+ Nl as X,
13607
+ ns as Y,
13608
+ En as Z,
13609
+ Fs as _,
13610
13610
  _n as a,
13611
- Ut as a0,
13612
- ut as a1,
13613
- Vg as a2,
13611
+ Hs as a0,
13612
+ Ut as a1,
13613
+ ut as a2,
13614
13614
  Ql as a3,
13615
13615
  de as a4,
13616
- yc as a5,
13616
+ vc as a5,
13617
13617
  Gb as a6,
13618
13618
  ps as a7,
13619
13619
  Ue as a8,
@@ -13632,7 +13632,7 @@ export {
13632
13632
  md as aa,
13633
13633
  _o as ab,
13634
13634
  cc as ac,
13635
- yn as ad,
13635
+ vn as ad,
13636
13636
  lc as ae,
13637
13637
  ew as af,
13638
13638
  Tt as ag,
@@ -13644,7 +13644,7 @@ export {
13644
13644
  Is as am,
13645
13645
  As as an,
13646
13646
  zs as ao,
13647
- Ay as ap,
13647
+ Av as ap,
13648
13648
  Ms as aq,
13649
13649
  Jl as ar,
13650
13650
  cg as as,
@@ -13655,29 +13655,29 @@ export {
13655
13655
  $c as ax,
13656
13656
  Je as ay,
13657
13657
  xc as az,
13658
- yo as b,
13658
+ vo as b,
13659
13659
  ge as c,
13660
13660
  Xl as d,
13661
13661
  tc as e,
13662
13662
  Bc as f,
13663
- vo as g,
13663
+ yo as g,
13664
13664
  Jn as h,
13665
13665
  Qb as i,
13666
13666
  Ct as j,
13667
- jb as k,
13668
- sb as l,
13669
- Gc as m,
13670
- xt as n,
13671
- uo as o,
13672
- Ub as p,
13673
- qb as q,
13667
+ Vg as k,
13668
+ uo as l,
13669
+ jb as m,
13670
+ sb as n,
13671
+ Tl as o,
13672
+ Gc as p,
13673
+ xt as q,
13674
13674
  R as r,
13675
- Re as s,
13675
+ Ub as s,
13676
13676
  Jb as t,
13677
13677
  bf as u,
13678
- ml as v,
13679
- ts as w,
13680
- Fr as x,
13681
- Yb as y,
13682
- Ze as z
13678
+ qb as v,
13679
+ Re as w,
13680
+ ml as x,
13681
+ ts as y,
13682
+ Fr as z
13683
13683
  };