etudes 18.1.2 → 18.1.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.
package/build/etudes.js CHANGED
@@ -190,13 +190,13 @@ function Ns() {
190
190
  if (re)
191
191
  if (B(xe)) {
192
192
  for (re = 0; re < xe.length; re++)
193
- O(xe[re]);
193
+ P(xe[re]);
194
194
  Object.freeze && Object.freeze(xe);
195
195
  } else
196
196
  console.error(
197
197
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
198
198
  );
199
- else O(xe);
199
+ else P(xe);
200
200
  if (J.call(D, "key")) {
201
201
  xe = e(T);
202
202
  var q = Object.keys(D).filter(function(je) {
@@ -234,7 +234,7 @@ React keys must be passed directly to JSX without using spread:
234
234
  Te
235
235
  );
236
236
  }
237
- function O(T) {
237
+ function P(T) {
238
238
  typeof T == "object" && T !== null && T.$$typeof === $ && T._store && (T._store.validated = 1);
239
239
  }
240
240
  var C = bs, $ = Symbol.for("react.transitional.element"), R = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), W = Symbol.for("react.profiler"), K = Symbol.for("react.consumer"), U = Symbol.for("react.context"), H = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), X = Symbol.for("react.activity"), G = Symbol.for("react.client.reference"), te = C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, B = Array.isArray, z = console.createTask ? console.createTask : function() {
@@ -398,10 +398,10 @@ var de;
398
398
  });
399
399
  }
400
400
  e.toJSON = _;
401
- function O(w) {
401
+ function P(w) {
402
402
  return [w.x, w.y];
403
403
  }
404
- e.toArray = O;
404
+ e.toArray = P;
405
405
  function C(w) {
406
406
  return w instanceof Array ? !(w.length !== 2 || typeof w[0] != "number" || typeof w[1] != "number") : typeof w == "object" ? !(typeof w.x != "number" || typeof w.y != "number") : !1;
407
407
  }
@@ -524,10 +524,10 @@ var Me;
524
524
  });
525
525
  }
526
526
  e.toJSON = _;
527
- function O(w) {
527
+ function P(w) {
528
528
  return [w.width, w.height];
529
529
  }
530
- e.toArray = O;
530
+ e.toArray = P;
531
531
  function C(w) {
532
532
  return w instanceof Array ? !(w.length !== 2 || typeof w[0] != "number" || typeof w[1] != "number") : typeof w == "object" ? !(typeof w.width != "number" || typeof w.height != "number") : !1;
533
533
  }
@@ -671,7 +671,7 @@ var ge;
671
671
  }
672
672
  }
673
673
  e.intersecting = _;
674
- function O(S, k = {}) {
674
+ function P(S, k = {}) {
675
675
  return r({
676
676
  x: typeof k.x == "number" ? k.x : S.left,
677
677
  y: typeof k.y == "number" ? k.y : S.top,
@@ -679,7 +679,7 @@ var ge;
679
679
  height: typeof k.height == "number" ? k.height : S.height
680
680
  });
681
681
  }
682
- e.clone = O;
682
+ e.clone = P;
683
683
  function C(S, k) {
684
684
  return r({
685
685
  x: Math.min(S.left, k.left),
@@ -842,7 +842,7 @@ const gr = /* @__PURE__ */ Pe(({
842
842
  numSegments: m = 1,
843
843
  orientation: E = "vertical",
844
844
  selection: _,
845
- selectionMode: O = "none",
845
+ selectionMode: P = "none",
846
846
  onActivateAt: C,
847
847
  onDeselectAt: $,
848
848
  onCustomEvent: R,
@@ -856,7 +856,7 @@ const gr = /* @__PURE__ */ Pe(({
856
856
  }, M = (B) => {
857
857
  if (k(B)) return;
858
858
  let z;
859
- switch (O) {
859
+ switch (P) {
860
860
  case "multiple": {
861
861
  z = (Z) => $o([...Z.filter((ie) => ie !== B), B]);
862
862
  break;
@@ -875,7 +875,7 @@ const gr = /* @__PURE__ */ Pe(({
875
875
  const z = (Z) => Z.filter((ie) => ie !== B), A = H, Q = z(H);
876
876
  te(A, Q);
877
877
  }, G = (B) => {
878
- C?.(B), O !== "none" && (a ? N(B) : M(B));
878
+ C?.(B), P !== "none" && (a ? N(B) : M(B));
879
879
  }, te = (B, z) => {
880
880
  if (Ge(B, z)) return;
881
881
  const A = B?.filter((Z) => z.indexOf(Z) === -1) ?? [], Q = z.filter((Z) => B?.indexOf(Z) === -1);
@@ -884,7 +884,7 @@ const gr = /* @__PURE__ */ Pe(({
884
884
  we(() => {
885
885
  const B = H;
886
886
  let z;
887
- switch (O) {
887
+ switch (P) {
888
888
  case "multiple":
889
889
  z = H;
890
890
  break;
@@ -896,7 +896,7 @@ const gr = /* @__PURE__ */ Pe(({
896
896
  break;
897
897
  }
898
898
  te(B, z);
899
- }, [O]);
899
+ }, [P]);
900
900
  const J = ze(r, {
901
901
  item: kt
902
902
  });
@@ -905,12 +905,12 @@ const gr = /* @__PURE__ */ Pe(({
905
905
  {
906
906
  ...K,
907
907
  ref: U,
908
- "aria-multiselectable": O === "multiple",
908
+ "aria-multiselectable": P === "multiple",
909
909
  className: se(e),
910
- role: g === "grid" ? "grid" : O === "none" ? "list" : "listbox",
910
+ role: g === "grid" ? "grid" : P === "none" ? "list" : "listbox",
911
911
  style: ce(s, S.root),
912
912
  children: /* @__PURE__ */ x.jsx(un, { in: d, children: (B, z) => {
913
- const A = g === "grid" ? "gridcell" : O === "none" ? "listitem" : "option", Q = k(z), Z = ce(S.item, {
913
+ const A = g === "grid" ? "gridcell" : P === "none" ? "listitem" : "option", Q = k(z), Z = ce(S.item, {
914
914
  pointerEvents: a !== !0 && k(z) ? "none" : "auto",
915
915
  ...z >= d.length - 1 ? {} : {
916
916
  ...g === "list" ? {
@@ -943,7 +943,7 @@ const gr = /* @__PURE__ */ Pe(({
943
943
  className: se({ active: Q }),
944
944
  element: J.item ?? /* @__PURE__ */ x.jsx(kt, {}),
945
945
  role: A,
946
- selectionMode: O,
946
+ selectionMode: P,
947
947
  style: Z,
948
948
  onActivateAt: C,
949
949
  onClick: () => G(z),
@@ -1016,7 +1016,7 @@ const js = /* @__PURE__ */ Pe(({
1016
1016
  selectionMode: m = "single",
1017
1017
  onActivateAt: E,
1018
1018
  onCollapseSectionAt: _,
1019
- onDeselectAt: O,
1019
+ onDeselectAt: P,
1020
1020
  onExpandedSectionsChange: C,
1021
1021
  onExpandSectionAt: $,
1022
1022
  onHeaderCustomEvent: R,
@@ -1069,7 +1069,7 @@ const js = /* @__PURE__ */ Pe(({
1069
1069
  const pe = F?.[le] ?? [], Ne = T[le] ?? [], Te = pe.filter((q) => Ne.indexOf(q) === -1), xe = Ne.filter((q) => pe?.indexOf(q) === -1);
1070
1070
  ne = [...ne, ...Te.map((q) => [q, le])], re = [...re, ...xe.map((q) => [q, le])];
1071
1071
  }
1072
- ne.forEach((le) => O?.(le[0], le[1])), re.forEach((le) => j?.(le[0], le[1])), W?.(T);
1072
+ ne.forEach((le) => P?.(le[0], le[1])), re.forEach((le) => j?.(le[0], le[1])), W?.(T);
1073
1073
  }, ie = ze(e, {
1074
1074
  collapseIcon: Mo,
1075
1075
  expandIcon: Ao,
@@ -1307,7 +1307,7 @@ const zo = /* @__PURE__ */ Pe(({
1307
1307
  ...d,
1308
1308
  ref: g,
1309
1309
  className: se(r, E.root),
1310
- children: /* @__PURE__ */ x.jsx(Bn, { count: l ? 2 : 1, children: (O) => /* @__PURE__ */ x.jsx("div", { "aria-hidden": !0, style: ce(_.section, _[`section${O}`]), children: /* @__PURE__ */ x.jsx(Bn, { count: u, children: (C) => /* @__PURE__ */ x.jsx(
1310
+ children: /* @__PURE__ */ x.jsx(Bn, { count: l ? 2 : 1, children: (P) => /* @__PURE__ */ x.jsx("div", { "aria-hidden": !0, style: ce(_.section, _[`section${P}`]), children: /* @__PURE__ */ x.jsx(Bn, { count: u, children: (C) => /* @__PURE__ */ x.jsx(
1311
1311
  he,
1312
1312
  {
1313
1313
  "aria-hidden": !0,
@@ -1316,10 +1316,10 @@ const zo = /* @__PURE__ */ Pe(({
1316
1316
  style: (() => {
1317
1317
  switch (u) {
1318
1318
  case 2:
1319
- return ce(_.bar, _[`bar${O}${C === 0 ? 0 : 2}`]);
1319
+ return ce(_.bar, _[`bar${P}${C === 0 ? 0 : 2}`]);
1320
1320
  case 3:
1321
1321
  default:
1322
- return ce(_.bar, _[`bar${O}${C}`]);
1322
+ return ce(_.bar, _[`bar${P}${C}`]);
1323
1323
  }
1324
1324
  })()
1325
1325
  }
@@ -1401,7 +1401,7 @@ const zs = /* @__PURE__ */ Pe(({
1401
1401
  onDeactivate: m,
1402
1402
  onToggle: E,
1403
1403
  ..._
1404
- }, O) => {
1404
+ }, P) => {
1405
1405
  const C = () => {
1406
1406
  const w = !a;
1407
1407
  E?.(w), w ? g?.() : m?.();
@@ -1414,7 +1414,7 @@ const zs = /* @__PURE__ */ Pe(({
1414
1414
  "button",
1415
1415
  {
1416
1416
  ..._,
1417
- ref: O,
1417
+ ref: P,
1418
1418
  "aria-expanded": a,
1419
1419
  className: se(r, $.root),
1420
1420
  style: ce(s, R.root),
@@ -1495,7 +1495,7 @@ function Hs(e, {
1495
1495
  onDragMove: l,
1496
1496
  onDragEnd: u
1497
1497
  }) {
1498
- const d = Ee(void 0), g = Ee(void 0), m = _e(a), E = _e(l), _ = _e(u), O = ye((R) => {
1498
+ const d = Ee(void 0), g = Ee(void 0), m = _e(a), E = _e(l), _ = _e(u), P = ye((R) => {
1499
1499
  if (!d.current) return;
1500
1500
  const w = de.make(R.clientX, R.clientY), j = de.subtract(w, g.current ?? d.current);
1501
1501
  g.current = w, E.current?.(j, w, d.current);
@@ -1503,14 +1503,14 @@ function Hs(e, {
1503
1503
  const w = e.current;
1504
1504
  if (!w || !d.current) return;
1505
1505
  const j = de.make(R.clientX, R.clientY), W = de.subtract(g.current ?? d.current, j);
1506
- _.current?.(j, W, d.current), d.current = void 0, g.current = void 0, w.removeEventListener("mousemove", O), w.removeEventListener("mouseup", C, { capture: !0 }), w.removeEventListener("mouseleave", C), s && (w.style.cursor = "grab");
1507
- }, [s, O]), $ = ye((R) => {
1506
+ _.current?.(j, W, d.current), d.current = void 0, g.current = void 0, w.removeEventListener("mousemove", P), w.removeEventListener("mouseup", C, { capture: !0 }), w.removeEventListener("mouseleave", C), s && (w.style.cursor = "grab");
1507
+ }, [s, P]), $ = ye((R) => {
1508
1508
  const w = e.current;
1509
1509
  if (!w) return;
1510
1510
  R.preventDefault();
1511
1511
  const j = de.make(R.clientX, R.clientY);
1512
- d.current = j, g.current = j, w.addEventListener("mousemove", O), w.addEventListener("mouseup", C, { capture: !0 }), w.addEventListener("mouseleave", C), s && (w.style.cursor = "grabbing"), m.current?.(j);
1513
- }, [s, O, C]);
1512
+ d.current = j, g.current = j, w.addEventListener("mousemove", P), w.addEventListener("mouseup", C, { capture: !0 }), w.addEventListener("mouseleave", C), s && (w.style.cursor = "grabbing"), m.current?.(j);
1513
+ }, [s, P, C]);
1514
1514
  Be(() => {
1515
1515
  const R = e.current;
1516
1516
  if (!R || !r || !s) return;
@@ -1522,9 +1522,9 @@ function Hs(e, {
1522
1522
  const R = e.current;
1523
1523
  if (!(!R || !r))
1524
1524
  return R.addEventListener("mousedown", $), () => {
1525
- R.removeEventListener("mousedown", $), R.removeEventListener("mousemove", O), R.removeEventListener("mouseup", C, { capture: !0 }), R.removeEventListener("mouseleave", C);
1525
+ R.removeEventListener("mousedown", $), R.removeEventListener("mousemove", P), R.removeEventListener("mouseup", C, { capture: !0 }), R.removeEventListener("mouseleave", C);
1526
1526
  };
1527
- }, [r, O, C, $]);
1527
+ }, [r, P, C, $]);
1528
1528
  }
1529
1529
  function Ys(e, {
1530
1530
  autoStarts: r = !0,
@@ -1552,7 +1552,7 @@ const Xs = /* @__PURE__ */ Pe(({
1552
1552
  onIndexChange: m,
1553
1553
  ItemComponent: E,
1554
1554
  ..._
1555
- }, O) => {
1555
+ }, P) => {
1556
1556
  const C = Ee(void 0), $ = Ee(null), R = Ee(void 0), w = Ee(void 0), j = Ee(void 0), W = 1e3, [K, U] = Se(An($, l)), [H, S] = Se(!1), k = Gs({ scrollSnapEnabled: !H, orientation: l }), N = e > 0, M = ye((A) => {
1557
1557
  m?.(A);
1558
1558
  }, [m]), X = ye((A) => {
@@ -1610,7 +1610,7 @@ const Xs = /* @__PURE__ */ Pe(({
1610
1610
  "div",
1611
1611
  {
1612
1612
  ..._,
1613
- ref: O,
1613
+ ref: P,
1614
1614
  role: "region",
1615
1615
  onClick: (A) => G(A),
1616
1616
  onPointerCancel: (A) => te(A),
@@ -1713,7 +1713,7 @@ const Lo = /* @__PURE__ */ Pe(({
1713
1713
  onUnfocus: m,
1714
1714
  onChange: E,
1715
1715
  ..._
1716
- }, O) => {
1716
+ }, P) => {
1717
1717
  const C = ye(($) => {
1718
1718
  const R = (d?.($) ?? $) || r;
1719
1719
  E?.(R);
@@ -1722,7 +1722,7 @@ const Lo = /* @__PURE__ */ Pe(({
1722
1722
  "input",
1723
1723
  {
1724
1724
  ..._,
1725
- ref: O,
1725
+ ref: P,
1726
1726
  "aria-disabled": s,
1727
1727
  "aria-placeholder": l,
1728
1728
  "aria-required": a,
@@ -1753,7 +1753,7 @@ const Ks = /* @__PURE__ */ Pe(({
1753
1753
  d?.(w(u - 1));
1754
1754
  }, _ = () => {
1755
1755
  d?.(w(u + 1));
1756
- }, O = (k) => {
1756
+ }, P = (k) => {
1757
1757
  W(k);
1758
1758
  }, C = (k) => {
1759
1759
  const N = R(k);
@@ -1792,7 +1792,7 @@ const Ks = /* @__PURE__ */ Pe(({
1792
1792
  isDisabled: !s,
1793
1793
  style: ce(Ut.textField),
1794
1794
  value: j,
1795
- onChange: O,
1795
+ onChange: P,
1796
1796
  onUnfocus: C
1797
1797
  }
1798
1798
  ),
@@ -1909,12 +1909,12 @@ function Zs({
1909
1909
  const _ = (C) => {
1910
1910
  const $ = C.currentTarget;
1911
1911
  m.current?.($);
1912
- }, O = (C) => {
1912
+ }, P = (C) => {
1913
1913
  const $ = C.currentTarget;
1914
1914
  E.current?.($);
1915
1915
  };
1916
- return d.current = new Image(), e && (d.current.src = e), r && (d.current.srcset = r), s && (d.current.sizes = s), g.current?.(d.current), d.current.addEventListener("load", _), d.current.addEventListener("error", O), () => {
1917
- d.current?.removeEventListener("load", _), d.current?.removeEventListener("error", O), d.current = void 0;
1916
+ return d.current = new Image(), e && (d.current.src = e), r && (d.current.srcset = r), s && (d.current.sizes = s), g.current?.(d.current), d.current.addEventListener("load", _), d.current.addEventListener("error", P), () => {
1917
+ d.current?.removeEventListener("load", _), d.current?.removeEventListener("error", P), d.current = void 0;
1918
1918
  };
1919
1919
  }, [e, r, s]);
1920
1920
  }
@@ -1928,12 +1928,12 @@ function Fo({
1928
1928
  onLoadComplete: u,
1929
1929
  onLoadError: d
1930
1930
  } = {}) {
1931
- const [g, m] = Se(), E = _e(l), _ = _e(u), O = _e(d), C = ye((w) => {
1931
+ const [g, m] = Se(), E = _e(l), _ = _e(u), P = _e(d), C = ye((w) => {
1932
1932
  a || m(void 0), E.current?.(w);
1933
1933
  }, [a]), $ = ye((w) => {
1934
1934
  m(Qs(w)), _.current?.(w);
1935
1935
  }, []), R = ye((w) => {
1936
- a || m(void 0), O.current?.(w);
1936
+ a || m(void 0), P.current?.(w);
1937
1937
  }, [a]);
1938
1938
  return Zs({ src: e, srcSet: r, sizes: s }, {
1939
1939
  onLoadStart: C,
@@ -1956,7 +1956,7 @@ const Do = /* @__PURE__ */ Pe(({
1956
1956
  onSizeChange: g,
1957
1957
  ...m
1958
1958
  }, E) => {
1959
- const _ = r ? on.asProps(r) : void 0, O = Fo({
1959
+ const _ = r ? on.asProps(r) : void 0, P = Fo({
1960
1960
  src: a,
1961
1961
  srcSet: _?.srcSet,
1962
1962
  sizes: _?.sizes
@@ -1966,8 +1966,8 @@ const Do = /* @__PURE__ */ Pe(({
1966
1966
  onLoadError: d
1967
1967
  });
1968
1968
  return we(() => {
1969
- g?.(O);
1970
- }, [O?.width, O?.height]), /* @__PURE__ */ x.jsx(
1969
+ g?.(P);
1970
+ }, [P?.width, P?.height]), /* @__PURE__ */ x.jsx(
1971
1971
  "img",
1972
1972
  {
1973
1973
  ...m,
@@ -1991,7 +1991,7 @@ const Vo = /* @__PURE__ */ Pe(({
1991
1991
  onSizeChange: g,
1992
1992
  ...m
1993
1993
  }, E) => /* @__PURE__ */ x.jsxs("picture", { ...m, ref: E, children: [
1994
- s.map((_) => /* @__PURE__ */ x.jsx("source", { ...on.asProps(_) })),
1994
+ s.map((_, P) => /* @__PURE__ */ x.jsx("source", { ...on.asProps(_) }, P)),
1995
1995
  /* @__PURE__ */ x.jsx(
1996
1996
  Do,
1997
1997
  {
@@ -2019,10 +2019,10 @@ const ea = /* @__PURE__ */ Pe(({
2019
2019
  onLoadComplete: m,
2020
2020
  onLoadError: E,
2021
2021
  ..._
2022
- }, O) => {
2022
+ }, P) => {
2023
2023
  const C = (k) => {
2024
2024
  j(k ? k.width / k.height : NaN);
2025
- }, $ = Ee(null), R = O ?? $, [w, j] = Se(NaN), W = isNaN(s) ? w : s, K = nt(R), U = K.width / K.height, H = Me.make(
2025
+ }, $ = Ee(null), R = P ?? $, [w, j] = Se(NaN), W = isNaN(s) ? w : s, K = nt(R), U = K.width / K.height, H = Me.make(
2026
2026
  U > 1 ? Math.max(K.width, K.height * W) : Math.max(K.width, Math.max(K.height, K.width / W) * W),
2027
2027
  U > 1 ? Math.max(K.height, Math.max(K.width, K.height * W) / W) : Math.max(K.height, K.width / W)
2028
2028
  ), S = ze(e, {
@@ -2103,14 +2103,14 @@ function na(e, {
2103
2103
  } = {}) {
2104
2104
  const [u, d] = Se(), g = _e(s), m = _e(a), E = _e(l), _ = ye(($) => {
2105
2105
  r || d(void 0), g.current?.($);
2106
- }, [r]), O = ye(($) => {
2106
+ }, [r]), P = ye(($) => {
2107
2107
  d(ra($)), m.current?.($);
2108
2108
  }, []), C = ye(($) => {
2109
2109
  r || d(void 0), E.current?.($);
2110
2110
  }, [r]);
2111
2111
  return ta(e, {
2112
2112
  onLoadStart: _,
2113
- onLoadComplete: O,
2113
+ onLoadComplete: P,
2114
2114
  onLoadError: C
2115
2115
  }), u;
2116
2116
  }
@@ -2130,7 +2130,7 @@ const Yo = /* @__PURE__ */ Pe(({
2130
2130
  onEnd: m,
2131
2131
  onFullscreenChange: E,
2132
2132
  onLoadMetadata: _,
2133
- onLoadMetadataComplete: O,
2133
+ onLoadMetadataComplete: P,
2134
2134
  onLoadMetadataError: C,
2135
2135
  onPause: $,
2136
2136
  onPlay: R,
@@ -2140,7 +2140,7 @@ const Yo = /* @__PURE__ */ Pe(({
2140
2140
  }, K) => {
2141
2141
  const U = Ee(null), H = K ?? U, S = na(d, {
2142
2142
  onLoadStart: _,
2143
- onLoadComplete: O,
2143
+ onLoadComplete: P,
2144
2144
  onLoadError: C
2145
2145
  });
2146
2146
  we(() => {
@@ -2212,7 +2212,7 @@ const oa = /* @__PURE__ */ Pe(({
2212
2212
  playsInline: m,
2213
2213
  posterSrc: E,
2214
2214
  src: _,
2215
- onCanPlay: O,
2215
+ onCanPlay: P,
2216
2216
  onEnd: C,
2217
2217
  onFullscreenChange: $,
2218
2218
  onLoadMetadata: R,
@@ -2255,7 +2255,7 @@ const oa = /* @__PURE__ */ Pe(({
2255
2255
  height: `${B.height}px`,
2256
2256
  maxWidth: "unset"
2257
2257
  }),
2258
- onCanPlay: O,
2258
+ onCanPlay: P,
2259
2259
  onEnd: C,
2260
2260
  onFullscreenChange: $,
2261
2261
  onLoadMetadata: R,
@@ -2305,7 +2305,7 @@ const ia = /* @__PURE__ */ Pe(({
2305
2305
  trackThickness: g = 2,
2306
2306
  ...m
2307
2307
  }, E) => {
2308
- const _ = u * 2, O = Math.max(0, Math.min(360, a)), C = ze(e, {
2308
+ const _ = u * 2, P = Math.max(0, Math.min(360, a)), C = ze(e, {
2309
2309
  track: Un,
2310
2310
  knob: qn
2311
2311
  }), $ = aa({ angle: s, diameter: _ });
@@ -2325,7 +2325,7 @@ const ia = /* @__PURE__ */ Pe(({
2325
2325
  /* @__PURE__ */ x.jsx("div", { style: ce($.knobContainer), children: /* @__PURE__ */ x.jsx("svg", { style: $.svgContainer, viewBox: `0 0 ${_} ${_}`, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ x.jsx(
2326
2326
  he,
2327
2327
  {
2328
- d: sa(u, u, u - l / 2 - (g - l) / 2, -O / 2, O / 2),
2328
+ d: sa(u, u, u - l / 2 - (g - l) / 2, -P / 2, P / 2),
2329
2329
  element: C.knob ?? /* @__PURE__ */ x.jsx(qn, {}),
2330
2330
  fill: "none",
2331
2331
  strokeWidth: l
@@ -2403,7 +2403,7 @@ const ca = /* @__PURE__ */ Pe(({
2403
2403
  layout: m = "list",
2404
2404
  isSelectionTogglable: E = !1,
2405
2405
  itemLength: _,
2406
- itemPadding: O = 0,
2406
+ itemPadding: P = 0,
2407
2407
  items: C = [],
2408
2408
  maxVisibleItems: $ = -1,
2409
2409
  numSegments: R = 1,
@@ -2421,7 +2421,7 @@ const ca = /* @__PURE__ */ Pe(({
2421
2421
  ToggleComponent: G,
2422
2422
  ...te
2423
2423
  }, J) => {
2424
- const B = Ee(null), z = nt(B), A = C.length, Q = da(C, $, R, m), Z = _ ?? (w === "vertical" ? z.height : z.width), ie = Z * Q + O * (Q - 1), F = ua(j, C), [T, D] = Se(u ?? !0), ne = pa({ isCollapsed: T, collectionPadding: l, isInverted: d, maxVisibleItems: $, menuLength: ie, numItems: A, orientation: w }), re = ze(e, {
2424
+ const B = Ee(null), z = nt(B), A = C.length, Q = da(C, $, R, m), Z = _ ?? (w === "vertical" ? z.height : z.width), ie = Z * Q + P * (Q - 1), F = ua(j, C), [T, D] = Se(u ?? !0), ne = pa({ isCollapsed: T, collectionPadding: l, isInverted: d, maxVisibleItems: $, menuLength: ie, numItems: A, orientation: w }), re = ze(e, {
2425
2425
  collapseIcon: qo,
2426
2426
  collection: Gn,
2427
2427
  expandIcon: Go,
@@ -2502,7 +2502,7 @@ const ca = /* @__PURE__ */ Pe(({
2502
2502
  isSelectionTogglable: E,
2503
2503
  ItemComponent: X,
2504
2504
  itemLength: Z,
2505
- itemPadding: O,
2505
+ itemPadding: P,
2506
2506
  items: C,
2507
2507
  layout: m,
2508
2508
  numSegments: R,
@@ -2652,21 +2652,21 @@ function xa(e, r) {
2652
2652
  ` && e[u] !== "\r"; u++)
2653
2653
  m += e[u];
2654
2654
  if (m = m.trim(), m[m.length - 1] === "/" && (m = m.substring(0, m.length - 1), u--), !Pa(m)) {
2655
- let O;
2656
- return m.trim().length === 0 ? O = "Invalid space after '<'." : O = "Tag '" + m + "' is an invalid name.", Ce("InvalidTag", O, Ae(e, u));
2655
+ let P;
2656
+ return m.trim().length === 0 ? P = "Invalid space after '<'." : P = "Tag '" + m + "' is an invalid name.", Ce("InvalidTag", P, Ae(e, u));
2657
2657
  }
2658
2658
  const E = Ea(e, u);
2659
2659
  if (E === !1)
2660
2660
  return Ce("InvalidAttr", "Attributes for '" + m + "' have open quote.", Ae(e, u));
2661
2661
  let _ = E.value;
2662
2662
  if (u = E.index, _[_.length - 1] === "/") {
2663
- const O = u - _.length;
2663
+ const P = u - _.length;
2664
2664
  _ = _.substring(0, _.length - 1);
2665
2665
  const C = yo(_, r);
2666
2666
  if (C === !0)
2667
2667
  a = !0;
2668
2668
  else
2669
- return Ce(C.err.code, C.err.msg, Ae(e, O + C.err.line));
2669
+ return Ce(C.err.code, C.err.msg, Ae(e, P + C.err.line));
2670
2670
  } else if (g)
2671
2671
  if (E.tagClosed) {
2672
2672
  if (_.trim().length > 0)
@@ -2674,12 +2674,12 @@ function xa(e, r) {
2674
2674
  if (s.length === 0)
2675
2675
  return Ce("InvalidTag", "Closing tag '" + m + "' has not been opened.", Ae(e, d));
2676
2676
  {
2677
- const O = s.pop();
2678
- if (m !== O.tagName) {
2679
- let C = Ae(e, O.tagStartPos);
2677
+ const P = s.pop();
2678
+ if (m !== P.tagName) {
2679
+ let C = Ae(e, P.tagStartPos);
2680
2680
  return Ce(
2681
2681
  "InvalidTag",
2682
- "Expected closing tag '" + O.tagName + "' (opened in line " + C.line + ", col " + C.col + ") instead of closing tag '" + m + "'.",
2682
+ "Expected closing tag '" + P.tagName + "' (opened in line " + C.line + ", col " + C.col + ") instead of closing tag '" + m + "'.",
2683
2683
  Ae(e, d)
2684
2684
  );
2685
2685
  }
@@ -2687,9 +2687,9 @@ function xa(e, r) {
2687
2687
  }
2688
2688
  } else return Ce("InvalidTag", "Closing tag '" + m + "' doesn't have proper closing.", Ae(e, u));
2689
2689
  else {
2690
- const O = yo(_, r);
2691
- if (O !== !0)
2692
- return Ce(O.err.code, O.err.msg, Ae(e, u - _.length + O.err.line));
2690
+ const P = yo(_, r);
2691
+ if (P !== !0)
2692
+ return Ce(P.err.code, P.err.msg, Ae(e, u - _.length + P.err.line));
2693
2693
  if (l === !0)
2694
2694
  return Ce("InvalidXml", "Multiple possible root nodes found.", Ae(e, u));
2695
2695
  r.unpairedTags.indexOf(m) !== -1 || s.push({ tagName: m, tagStartPos: d }), a = !0;
@@ -2704,10 +2704,10 @@ function xa(e, r) {
2704
2704
  } else
2705
2705
  break;
2706
2706
  else if (e[u] === "&") {
2707
- const O = Ta(e, u);
2708
- if (O == -1)
2707
+ const P = Ta(e, u);
2708
+ if (P == -1)
2709
2709
  return Ce("InvalidChar", "char '&' is not expected.", Ae(e, u));
2710
- u = O;
2710
+ u = P;
2711
2711
  } else if (l === !0 && !go(e[u]))
2712
2712
  return Ce("InvalidXml", "Extra text at the end", Ae(e, u));
2713
2713
  e[u] === "<" && u--;
@@ -3200,8 +3200,8 @@ const Ga = function(e) {
3200
3200
  const g = lt(e, ">", u, "Closing Tag is not closed.");
3201
3201
  let m = e.substring(u + 2, g).trim();
3202
3202
  if (this.options.removeNSPrefix) {
3203
- const O = m.indexOf(":");
3204
- O !== -1 && (m = m.substr(O + 1));
3203
+ const P = m.indexOf(":");
3204
+ P !== -1 && (m = m.substr(P + 1));
3205
3205
  }
3206
3206
  this.options.transformTagName && (m = this.options.transformTagName(m)), s && (a = this.saveTextToParentTag(a, s, l));
3207
3207
  const E = l.substring(l.lastIndexOf(".") + 1);
@@ -3235,7 +3235,7 @@ const Ga = function(e) {
3235
3235
  } else {
3236
3236
  let g = Jn(e, u, this.options.removeNSPrefix), m = g.tagName;
3237
3237
  const E = g.rawTagName;
3238
- let _ = g.tagExp, O = g.attrExpPresent, C = g.closeIndex;
3238
+ let _ = g.tagExp, P = g.attrExpPresent, C = g.closeIndex;
3239
3239
  this.options.transformTagName && (m = this.options.transformTagName(m)), s && a && s.tagname !== "!xml" && (a = this.saveTextToParentTag(a, s, l, !1));
3240
3240
  const $ = s;
3241
3241
  $ && this.options.unpairedTags.indexOf($.tagname) !== -1 && (s = this.tagsNodeStack.pop(), l = l.substring(0, l.lastIndexOf("."))), m !== r.tagname && (l += l ? "." + m : m);
@@ -3252,15 +3252,15 @@ const Ga = function(e) {
3252
3252
  u = W.i, w = W.tagContent;
3253
3253
  }
3254
3254
  const j = new at(m);
3255
- m !== _ && O && (j[":@"] = this.buildAttributesMap(_, l, m)), w && (w = this.parseTextData(w, m, l, !0, O, !0, !0)), l = l.substr(0, l.lastIndexOf(".")), j.add(this.options.textNodeName, w), this.addChild(s, j, l, R);
3255
+ m !== _ && P && (j[":@"] = this.buildAttributesMap(_, l, m)), w && (w = this.parseTextData(w, m, l, !0, P, !0, !0)), l = l.substr(0, l.lastIndexOf(".")), j.add(this.options.textNodeName, w), this.addChild(s, j, l, R);
3256
3256
  } else {
3257
3257
  if (_.length > 0 && _.lastIndexOf("/") === _.length - 1) {
3258
3258
  m[m.length - 1] === "/" ? (m = m.substr(0, m.length - 1), l = l.substr(0, l.length - 1), _ = m) : _ = _.substr(0, _.length - 1), this.options.transformTagName && (m = this.options.transformTagName(m));
3259
3259
  const w = new at(m);
3260
- m !== _ && O && (w[":@"] = this.buildAttributesMap(_, l, m)), this.addChild(s, w, l, R), l = l.substr(0, l.lastIndexOf("."));
3260
+ m !== _ && P && (w[":@"] = this.buildAttributesMap(_, l, m)), this.addChild(s, w, l, R), l = l.substr(0, l.lastIndexOf("."));
3261
3261
  } else {
3262
3262
  const w = new at(m);
3263
- this.tagsNodeStack.push(s), m !== _ && O && (w[":@"] = this.buildAttributesMap(_, l, m)), this.addChild(s, w, l, R), s = w;
3263
+ this.tagsNodeStack.push(s), m !== _ && P && (w[":@"] = this.buildAttributesMap(_, l, m)), this.addChild(s, w, l, R), s = w;
3264
3264
  }
3265
3265
  a = "", u = C;
3266
3266
  }
@@ -3350,8 +3350,8 @@ function Jn(e, r, s, a = ">") {
3350
3350
  g !== -1 && (m = u.substring(0, g), u = u.substring(g + 1).trimStart());
3351
3351
  const _ = m;
3352
3352
  if (s) {
3353
- const O = m.indexOf(":");
3354
- O !== -1 && (m = m.substr(O + 1), E = m !== l.data.substr(O + 1));
3353
+ const P = m.indexOf(":");
3354
+ P !== -1 && (m = m.substr(P + 1), E = m !== l.data.substr(P + 1));
3355
3355
  }
3356
3356
  return {
3357
3357
  tagName: m,
@@ -3519,7 +3519,7 @@ function Qo(e, r, s, a) {
3519
3519
  }
3520
3520
  let _ = a;
3521
3521
  _ !== "" && (_ += r.indentBy);
3522
- const O = xo(g[":@"], r), C = a + `<${m}${O}`, $ = Qo(g[m], r, E, _);
3522
+ const P = xo(g[":@"], r), C = a + `<${m}${P}`, $ = Qo(g[m], r, E, _);
3523
3523
  r.unpairedTags.indexOf(m) !== -1 ? r.suppressUnpairedNode ? l += C + ">" : l += C + "/>" : (!$ || $.length === 0) && r.suppressEmptyNode ? l += C + "/>" : $ && $.endsWith(">") ? l += C + `>${$}${a}</${m}>` : (l += C + ">", $ && a !== "" && ($.includes("/>") || $.includes("</")) ? l += a + r.indentBy + $ + a : l += $, l += `</${m}>`), u = !0;
3524
3524
  }
3525
3525
  return l;
@@ -3630,20 +3630,20 @@ rt.prototype.j2x = function(e, r, s) {
3630
3630
  const g = e[d].length;
3631
3631
  let m = "", E = "";
3632
3632
  for (let _ = 0; _ < g; _++) {
3633
- const O = e[d][_];
3634
- if (!(typeof O > "u")) if (O === null)
3633
+ const P = e[d][_];
3634
+ if (!(typeof P > "u")) if (P === null)
3635
3635
  d[0] === "?" ? l += this.indentate(r) + "<" + d + "?" + this.tagEndChar : l += this.indentate(r) + "<" + d + "/" + this.tagEndChar;
3636
- else if (typeof O == "object")
3636
+ else if (typeof P == "object")
3637
3637
  if (this.options.oneListGroup) {
3638
- const C = this.j2x(O, r + 1, s.concat(d));
3639
- m += C.val, this.options.attributesGroupName && O.hasOwnProperty(this.options.attributesGroupName) && (E += C.attrStr);
3638
+ const C = this.j2x(P, r + 1, s.concat(d));
3639
+ m += C.val, this.options.attributesGroupName && P.hasOwnProperty(this.options.attributesGroupName) && (E += C.attrStr);
3640
3640
  } else
3641
- m += this.processTextOrObjNode(O, d, r, s);
3641
+ m += this.processTextOrObjNode(P, d, r, s);
3642
3642
  else if (this.options.oneListGroup) {
3643
- let C = this.options.tagValueProcessor(d, O);
3643
+ let C = this.options.tagValueProcessor(d, P);
3644
3644
  C = this.replaceEntitiesValue(C), m += C;
3645
3645
  } else
3646
- m += this.buildTextValNode(O, d, "", r);
3646
+ m += this.buildTextValNode(P, d, "", r);
3647
3647
  }
3648
3648
  this.options.oneListGroup && (m = this.buildObjectNode(m, d, E, r)), l += m;
3649
3649
  } else if (this.options.attributesGroupName && d === this.options.attributesGroupName) {
@@ -3708,7 +3708,7 @@ const hc = /* @__PURE__ */ Pe(({
3708
3708
  shouldStripStyles: u = !0,
3709
3709
  ...d
3710
3710
  }, g) => {
3711
- const m = "@_", E = ["id"].map((R) => `${m}${R}`), _ = ["class"].map((R) => `${m}${R}`), O = ["fill", "stroke", "style"].map((R) => `${m}${R}`), C = ["x", "y"].map((R) => `${m}${R}`), $ = () => {
3711
+ const m = "@_", E = ["id"].map((R) => `${m}${R}`), _ = ["class"].map((R) => `${m}${R}`), P = ["fill", "stroke", "style"].map((R) => `${m}${R}`), C = ["x", "y"].map((R) => `${m}${R}`), $ = () => {
3712
3712
  const R = new ic({
3713
3713
  attributeNamePrefix: m,
3714
3714
  ignoreAttributes: !1,
@@ -3720,7 +3720,7 @@ const hc = /* @__PURE__ */ Pe(({
3720
3720
  if (u && W.toLowerCase() === "style") return !1;
3721
3721
  const H = Object.keys(U);
3722
3722
  for (const S of H)
3723
- W.toLowerCase() === "svg" && (l && C.includes(S.toLowerCase()) && delete U[S], e !== "preserve" && (S.toLowerCase() === `${m}width` && delete U[S], S.toLowerCase() === `${m}height` && delete U[S])), a && E.includes(S.toLowerCase()) && delete U[S], s && _.includes(S.toLowerCase()) && delete U[S], u && O.includes(S.toLowerCase()) && delete U[S];
3723
+ W.toLowerCase() === "svg" && (l && C.includes(S.toLowerCase()) && delete U[S], e !== "preserve" && (S.toLowerCase() === `${m}width` && delete U[S], S.toLowerCase() === `${m}height` && delete U[S])), a && E.includes(S.toLowerCase()) && delete U[S], s && _.includes(S.toLowerCase()) && delete U[S], u && P.includes(S.toLowerCase()) && delete U[S];
3724
3724
  if (W.toLowerCase() === "svg")
3725
3725
  switch (e) {
3726
3726
  case "fill":
@@ -3764,7 +3764,7 @@ const bo = "base-", gc = /* @__PURE__ */ Pe(({
3764
3764
  verticalSpacing: g = 0,
3765
3765
  ...m
3766
3766
  }, E) => {
3767
- const _ = Ee(null), [O, C] = Se(NaN), [$, R] = Se(NaN), [w, j] = Se(NaN), [W, K] = Se(NaN), U = () => ge.from(_.current)?.width ?? 0, H = () => ge.from(_.current)?.height ?? 0, S = () => {
3767
+ const _ = Ee(null), [P, C] = Se(NaN), [$, R] = Se(NaN), [w, j] = Se(NaN), [W, K] = Se(NaN), U = () => ge.from(_.current)?.width ?? 0, H = () => ge.from(_.current)?.height ?? 0, S = () => {
3768
3768
  const X = _.current;
3769
3769
  if (!X) return;
3770
3770
  const G = X.children, te = d;
@@ -3811,7 +3811,7 @@ const bo = "base-", gc = /* @__PURE__ */ Pe(({
3811
3811
  }
3812
3812
  }, k = ye((X) => {
3813
3813
  const G = ge.size(ge.from(X) ?? ge.zero), te = U(), J = H();
3814
- (O !== te || $ !== J || G.width !== w || G.height !== W) && (S(), j(G.width), K(G.height));
3814
+ (P !== te || $ !== J || G.width !== w || G.height !== W) && (S(), j(G.width), K(G.height));
3815
3815
  }, [e, a, l, d, g, u]);
3816
3816
  pr(_, {
3817
3817
  onResize: k
@@ -3824,7 +3824,7 @@ const bo = "base-", gc = /* @__PURE__ */ Pe(({
3824
3824
  B.src = J, B.onload = () => S();
3825
3825
  }
3826
3826
  }, [r]);
3827
- const N = mc({ orientation: u }), M = vc({ orientation: u, minHeight: $, minWidth: O });
3827
+ const N = mc({ orientation: u }), M = vc({ orientation: u, minHeight: $, minWidth: P });
3828
3828
  return /* @__PURE__ */ x.jsx(
3829
3829
  "div",
3830
3830
  {
@@ -3896,7 +3896,7 @@ const xc = /* @__PURE__ */ Pe(({
3896
3896
  }, u) => {
3897
3897
  const d = s.length - 1, g = s[e], m = typeof g == "string" ? g : g?.label, E = () => {
3898
3898
  if (r) return;
3899
- const _ = e < d ? e + 1 : 0, O = s[_], C = typeof O == "string" ? O : O?.value;
3899
+ const _ = e < d ? e + 1 : 0, P = s[_], C = typeof P == "string" ? P : P?.value;
3900
3900
  a?.(C, _);
3901
3901
  };
3902
3902
  return /* @__PURE__ */ x.jsx(
@@ -3964,17 +3964,17 @@ function wc() {
3964
3964
  }
3965
3965
  function E(n, t) {
3966
3966
  if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
3967
- n.prototype = Object.create(t && t.prototype, { constructor: { value: n, writable: !0, configurable: !0 } }), Object.defineProperty(n, "prototype", { writable: !1 }), t && O(n, t);
3967
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, writable: !0, configurable: !0 } }), Object.defineProperty(n, "prototype", { writable: !1 }), t && P(n, t);
3968
3968
  }
3969
3969
  function _(n) {
3970
3970
  return _ = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
3971
3971
  return t.__proto__ || Object.getPrototypeOf(t);
3972
3972
  }, _(n);
3973
3973
  }
3974
- function O(n, t) {
3975
- return O = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, i) {
3974
+ function P(n, t) {
3975
+ return P = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, i) {
3976
3976
  return o.__proto__ = i, o;
3977
- }, O(n, t);
3977
+ }, P(n, t);
3978
3978
  }
3979
3979
  function C(n) {
3980
3980
  if (n === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -4350,8 +4350,8 @@ function wc() {
4350
4350
  for (var h = [], v = 0, b = f.interactables.list; v < b.length; v++) {
4351
4351
  var y = b[v];
4352
4352
  if (y.options.drop.enabled) {
4353
- var P = y.options.drop.accept;
4354
- if (!(N.element(P) && P !== p || N.string(P) && !T(p, P) || N.func(P) && !P({ dropzone: y, draggableElement: p }))) for (var I = 0, V = y.getAllElements(); I < V.length; I++) {
4353
+ var O = y.options.drop.accept;
4354
+ if (!(N.element(O) && O !== p || N.string(O) && !T(p, O) || N.func(O) && !O({ dropzone: y, draggableElement: p }))) for (var I = 0, V = y.getAllElements(); I < V.length; I++) {
4355
4355
  var L = V[I];
4356
4356
  L !== p && h.push({ dropzone: y, element: L, rect: y.getRect(L) });
4357
4357
  }
@@ -4366,8 +4366,8 @@ function wc() {
4366
4366
  }
4367
4367
  function Or(n, t, o) {
4368
4368
  for (var i = n.dropState, c = n.interactable, f = n.element, p = [], h = 0, v = i.activeDrops; h < v.length; h++) {
4369
- var b = v[h], y = b.dropzone, P = b.element, I = b.rect, V = y.dropCheck(t, o, c, f, P, I);
4370
- p.push(V ? P : null);
4369
+ var b = v[h], y = b.dropzone, O = b.element, I = b.rect, V = y.dropCheck(t, o, c, f, O, I);
4370
+ p.push(V ? O : null);
4371
4371
  }
4372
4372
  var L = function(Y) {
4373
4373
  for (var oe, ee, ae, me = [], be = 0; be < Y.length; be++) {
@@ -4422,8 +4422,8 @@ function wc() {
4422
4422
  return function(p, h) {
4423
4423
  if (N.object(h)) {
4424
4424
  if (p.options.drop.enabled = h.enabled !== !1, h.listeners) {
4425
- var v = Ye(h.listeners), b = Object.keys(v).reduce(function(P, I) {
4426
- return P[/^(enter|leave)/.test(I) ? "drag".concat(I) : /^(activate|deactivate|move)/.test(I) ? "drop".concat(I) : I] = v[I], P;
4425
+ var v = Ye(h.listeners), b = Object.keys(v).reduce(function(O, I) {
4426
+ return O[/^(enter|leave)/.test(I) ? "drag".concat(I) : /^(activate|deactivate|move)/.test(I) ? "drop".concat(I) : I] = v[I], O;
4427
4427
  }, {}), y = p.options.drop.listeners;
4428
4428
  y && p.off(y), p.on(b), p.options.drop.listeners = b;
4429
4429
  }
@@ -4432,10 +4432,10 @@ function wc() {
4432
4432
  return N.bool(h) ? (p.options.drop.enabled = h, p) : p.options.drop;
4433
4433
  }(this, f);
4434
4434
  }, i.prototype.dropCheck = function(f, p, h, v, b, y) {
4435
- return function(P, I, V, L, Y, oe, ee) {
4435
+ return function(O, I, V, L, Y, oe, ee) {
4436
4436
  var ae = !1;
4437
- if (!(ee = ee || P.getRect(oe))) return !!P.options.drop.checker && P.options.drop.checker(I, V, ae, P, oe, L, Y);
4438
- var me = P.options.drop.overlap;
4437
+ if (!(ee = ee || O.getRect(oe))) return !!O.options.drop.checker && O.options.drop.checker(I, V, ae, O, oe, L, Y);
4438
+ var me = O.options.drop.overlap;
4439
4439
  if (me === "pointer") {
4440
4440
  var be = He(L, Y, "drag"), ue = wr(I);
4441
4441
  ue.x += be.x, ue.y += be.y;
@@ -4447,7 +4447,7 @@ function wc() {
4447
4447
  var Le = Oe.left + Oe.width / 2, De = Oe.top + Oe.height / 2;
4448
4448
  ae = Le >= ee.left && Le <= ee.right && De >= ee.top && De <= ee.bottom;
4449
4449
  }
4450
- return Oe && N.number(me) && (ae = Math.max(0, Math.min(ee.right, Oe.right) - Math.max(ee.left, Oe.left)) * Math.max(0, Math.min(ee.bottom, Oe.bottom) - Math.max(ee.top, Oe.top)) / (Oe.width * Oe.height) >= me), P.options.drop.checker && (ae = P.options.drop.checker(I, V, ae, P, oe, L, Y)), ae;
4450
+ return Oe && N.number(me) && (ae = Math.max(0, Math.min(ee.right, Oe.right) - Math.max(ee.left, Oe.left)) * Math.max(0, Math.min(ee.bottom, Oe.bottom) - Math.max(ee.top, Oe.top)) / (Oe.width * Oe.height) >= me), O.options.drop.checker && (ae = O.options.drop.checker(I, V, ae, O, oe, L, Y)), ae;
4451
4451
  }(this, f, p, h, v, b, y);
4452
4452
  }, o.dynamicDrop = function(f) {
4453
4453
  return N.bool(f) ? (n.dynamicDrop = f, o) : n.dynamicDrop;
@@ -4559,7 +4559,7 @@ function wc() {
4559
4559
  (function(t) {
4560
4560
  var o = t.iEvent, i = t.interaction;
4561
4561
  if (i.prepared.name === "resize" && i.prepared.edges) {
4562
- var c = o, f = i.interactable.options.resize.invert, p = f === "reposition" || f === "negate", h = i.rect, v = i._rects, b = v.start, y = v.corrected, P = v.delta, I = v.previous;
4562
+ var c = o, f = i.interactable.options.resize.invert, p = f === "reposition" || f === "negate", h = i.rect, v = i._rects, b = v.start, y = v.corrected, O = v.delta, I = v.previous;
4563
4563
  if (q(I, y), p) {
4564
4564
  if (q(y, h), f === "reposition") {
4565
4565
  if (y.top > y.bottom) {
@@ -4572,8 +4572,8 @@ function wc() {
4572
4572
  }
4573
4573
  }
4574
4574
  } else y.top = Math.min(h.top, b.bottom), y.bottom = Math.max(h.bottom, b.top), y.left = Math.min(h.left, b.right), y.right = Math.max(h.right, b.left);
4575
- for (var Y in y.width = y.right - y.left, y.height = y.bottom - y.top, y) P[Y] = y[Y] - I[Y];
4576
- c.edges = i.prepared.edges, c.rect = y, c.deltaRect = P;
4575
+ for (var Y in y.width = y.right - y.left, y.height = y.bottom - y.top, y) O[Y] = y[Y] - I[Y];
4576
+ c.edges = i.prepared.edges, c.rect = y, c.deltaRect = O;
4577
4577
  }
4578
4578
  })(n), jr(n);
4579
4579
  }, "interactions:action-end": function(n) {
@@ -4592,8 +4592,8 @@ function wc() {
4592
4592
  for (var b in v) v[b] = fi(b, h.edges[b], p, t._latestPointer.eventTarget, i, c, h.margin || Ue.defaultMargin);
4593
4593
  v.left = v.left && !v.right, v.top = v.top && !v.bottom, (v.left || v.right || v.top || v.bottom) && (n.action = { name: "resize", edges: v });
4594
4594
  } else {
4595
- var y = h.axis !== "y" && p.x > c.right - Ue.defaultMargin, P = h.axis !== "x" && p.y > c.bottom - Ue.defaultMargin;
4596
- (y || P) && (n.action = { name: "resize", axes: (y ? "x" : "") + (P ? "y" : "") });
4595
+ var y = h.axis !== "y" && p.x > c.right - Ue.defaultMargin, O = h.axis !== "x" && p.y > c.bottom - Ue.defaultMargin;
4596
+ (y || O) && (n.action = { name: "resize", axes: (y ? "x" : "") + (O ? "y" : "") });
4597
4597
  }
4598
4598
  return !n.action && void 0;
4599
4599
  }
@@ -4641,7 +4641,7 @@ function wc() {
4641
4641
  if (b.x || b.y) {
4642
4642
  var y = Ar(f);
4643
4643
  N.window(f) ? f.scrollBy(b.x, b.y) : f && (f.scrollLeft += b.x, f.scrollTop += b.y);
4644
- var P = Ar(f), I = { x: P.x - y.x, y: P.y - y.y };
4644
+ var O = Ar(f), I = { x: O.x - y.x, y: O.y - y.y };
4645
4645
  (I.x || I.y) && t.fire({ type: "autoscroll", target: o, interactable: t, delta: I, interaction: n, container: f });
4646
4646
  }
4647
4647
  fe.prevTime = p;
@@ -4654,10 +4654,10 @@ function wc() {
4654
4654
  var t = n.interaction, o = n.pointer;
4655
4655
  if (t.interacting() && fe.check(t.interactable, t.prepared.name)) if (t.simulation) fe.x = fe.y = 0;
4656
4656
  else {
4657
- var i, c, f, p, h = t.interactable, v = t.element, b = t.prepared.name, y = h.options[b].autoScroll, P = $r(y.container, h, v);
4658
- if (N.window(P)) p = o.clientX < fe.margin, i = o.clientY < fe.margin, c = o.clientX > P.innerWidth - fe.margin, f = o.clientY > P.innerHeight - fe.margin;
4657
+ var i, c, f, p, h = t.interactable, v = t.element, b = t.prepared.name, y = h.options[b].autoScroll, O = $r(y.container, h, v);
4658
+ if (N.window(O)) p = o.clientX < fe.margin, i = o.clientY < fe.margin, c = o.clientX > O.innerWidth - fe.margin, f = o.clientY > O.innerHeight - fe.margin;
4659
4659
  else {
4660
- var I = pe(P);
4660
+ var I = pe(O);
4661
4661
  p = o.clientX < I.left + fe.margin, i = o.clientY < I.top + fe.margin, c = o.clientX > I.right - fe.margin, f = o.clientY > I.bottom - fe.margin;
4662
4662
  }
4663
4663
  fe.x = c ? 1 : p ? -1 : 0, fe.y = f ? 1 : i ? -1 : 0, fe.isScrolling || (fe.margin = y.margin, fe.speed = y.speed, fe.start(t));
@@ -4699,9 +4699,9 @@ function wc() {
4699
4699
  var yi = { id: "auto-start/interactableMethods", install: function(n) {
4700
4700
  var t = n.Interactable;
4701
4701
  t.prototype.getAction = function(o, i, c, f) {
4702
- var p = function(h, v, b, y, P) {
4702
+ var p = function(h, v, b, y, O) {
4703
4703
  var I = h.getRect(y), V = v.buttons || { 0: 1, 1: 4, 3: 8, 4: 16 }[v.button], L = { action: null, interactable: h, interaction: b, element: y, rect: I, buttons: V };
4704
- return P.fire("auto-start:check", L), L.action;
4704
+ return O.fire("auto-start:check", L), L.action;
4705
4705
  }(this, i, c, f, n);
4706
4706
  return this.options.actionChecker ? this.options.actionChecker(o, i, p, this, f, c) : p;
4707
4707
  }, t.prototype.ignoreFrom = vt(function(o) {
@@ -4715,9 +4715,9 @@ function wc() {
4715
4715
  }
4716
4716
  function xi(n, t, o, i, c, f, p) {
4717
4717
  for (var h = 0, v = i.length; h < v; h++) {
4718
- var b = i[h], y = c[h], P = b.getAction(t, o, n, y);
4719
- if (P) {
4720
- var I = Mr(P, b, y, f, p);
4718
+ var b = i[h], y = c[h], O = b.getAction(t, o, n, y);
4719
+ if (O) {
4720
+ var I = Mr(O, b, y, f, p);
4721
4721
  if (I) return { action: I, interactable: b, element: y };
4722
4722
  }
4723
4723
  }
@@ -4743,8 +4743,8 @@ function wc() {
4743
4743
  function Rt(n, t, o, i) {
4744
4744
  var c = n.options, f = c[o.name].max, p = c[o.name].maxPerElement, h = i.autoStart.maxInteractions, v = 0, b = 0, y = 0;
4745
4745
  if (!(f && p && h)) return !1;
4746
- for (var P = 0, I = i.interactions.list; P < I.length; P++) {
4747
- var V = I[P], L = V.prepared.name;
4746
+ for (var O = 0, I = i.interactions.list; O < I.length; O++) {
4747
+ var V = I[O], L = V.prepared.name;
4748
4748
  if (V.interacting() && (++v >= h || V.interactable === n && ((b += L === o.name ? 1 : 0) >= f || V.element === t && (y++, L === o.name && y >= p))))
4749
4749
  return !1;
4750
4750
  }
@@ -4797,25 +4797,25 @@ function wc() {
4797
4797
  var p = Math.abs(c), h = Math.abs(f), v = o.interactable.options.drag, b = v.startAxis, y = p > h ? "x" : p < h ? "y" : "xy";
4798
4798
  if (o.prepared.axis = v.lockAxis === "start" ? y[0] : v.lockAxis, y !== "xy" && b !== "xy" && b !== y) {
4799
4799
  o.prepared.name = null;
4800
- for (var P = i, I = function(L) {
4800
+ for (var O = i, I = function(L) {
4801
4801
  if (L !== o.interactable) {
4802
4802
  var Y = o.interactable.options.drag;
4803
- if (!Y.manualStart && L.testIgnoreAllow(Y, P, i)) {
4804
- var oe = L.getAction(o.downPointer, o.downEvent, o, P);
4803
+ if (!Y.manualStart && L.testIgnoreAllow(Y, O, i)) {
4804
+ var oe = L.getAction(o.downPointer, o.downEvent, o, O);
4805
4805
  if (oe && oe.name === "drag" && function(ee, ae) {
4806
4806
  if (!ae) return !1;
4807
4807
  var me = ae.options.drag.startAxis;
4808
4808
  return ee === "xy" || me === "xy" || me === ee;
4809
- }(y, L) && En.validateAction(oe, L, P, i, t)) return L;
4809
+ }(y, L) && En.validateAction(oe, L, O, i, t)) return L;
4810
4810
  }
4811
4811
  }
4812
- }; N.element(P); ) {
4813
- var V = t.interactables.forEachMatch(P, I);
4812
+ }; N.element(O); ) {
4813
+ var V = t.interactables.forEachMatch(O, I);
4814
4814
  if (V) {
4815
- o.prepared.name = "drag", o.interactable = V, o.element = P;
4815
+ o.prepared.name = "drag", o.interactable = V, o.element = O;
4816
4816
  break;
4817
4817
  }
4818
- P = F(P);
4818
+ O = F(O);
4819
4819
  }
4820
4820
  }
4821
4821
  }
@@ -4892,8 +4892,8 @@ function wc() {
4892
4892
  }
4893
4893
  return g(n, [{ key: "start", value: function(t, o) {
4894
4894
  var i, c, f = t.phase, p = this.interaction, h = function(b) {
4895
- var y = b.interactable.options[b.prepared.name], P = y.modifiers;
4896
- return P && P.length ? P : ["snap", "snapSize", "snapEdges", "restrict", "restrictEdges", "restrictSize"].map(function(I) {
4895
+ var y = b.interactable.options[b.prepared.name], O = y.modifiers;
4896
+ return O && O.length ? O : ["snap", "snapSize", "snapEdges", "restrict", "restrictEdges", "restrictSize"].map(function(I) {
4897
4897
  var V = y[I];
4898
4898
  return V && V.enabled && { options: V, methods: V._methods };
4899
4899
  }).filter(function(I) {
@@ -4915,8 +4915,8 @@ function wc() {
4915
4915
  var o = t.phase, i = t.preEnd, c = t.skipModifiers, f = t.rect, p = t.edges;
4916
4916
  t.coords = q({}, t.pageCoords), t.rect = q({}, f), t.edges = q({}, p);
4917
4917
  for (var h = c ? this.states.slice(c) : this.states, v = Lt(t.coords, t.rect), b = 0; b < h.length; b++) {
4918
- var y, P = h[b], I = P.options, V = q({}, t.coords), L = null;
4919
- (y = P.methods) != null && y.set && this.shouldDo(I, i, o) && (t.state = P, L = P.methods.set(t), Re(t.edges, t.rect, { x: t.coords.x - V.x, y: t.coords.y - V.y })), v.eventProps.push(L);
4918
+ var y, O = h[b], I = O.options, V = q({}, t.coords), L = null;
4919
+ (y = O.methods) != null && y.set && this.shouldDo(I, i, o) && (t.state = O, L = O.methods.set(t), Re(t.edges, t.rect, { x: t.coords.x - V.x, y: t.coords.y - V.y })), v.eventProps.push(L);
4920
4920
  }
4921
4921
  q(this.edges, t.edges), v.delta.x = t.coords.x - t.pageCoords.x, v.delta.y = t.coords.y - t.pageCoords.y, v.rectDelta.left = t.rect.left - f.left, v.rectDelta.right = t.rect.right - f.right, v.rectDelta.top = t.rect.top - f.top, v.rectDelta.bottom = t.rect.bottom - f.bottom;
4922
4922
  var Y = this.result.coords, oe = this.result.rect;
@@ -4929,7 +4929,7 @@ function wc() {
4929
4929
  var o = this.interaction, i = t.phase, c = o.coords.cur, f = o.coords.start, p = this.result, h = this.startDelta, v = p.delta;
4930
4930
  i === "start" && q(this.startDelta, p.delta);
4931
4931
  for (var b = 0, y = [[f, h], [c, v]]; b < y.length; b++) {
4932
- var P = y[b], I = P[0], V = P[1];
4932
+ var O = y[b], I = O[0], V = O[1];
4933
4933
  I.page.x += V.x, I.page.y += V.y, I.client.x += V.x, I.client.y += V.y;
4934
4934
  }
4935
4935
  var L = this.result.rectDelta, Y = t.rect || o.rect;
@@ -4975,8 +4975,8 @@ function wc() {
4975
4975
  } }, { key: "restoreInteractionCoords", value: function(t) {
4976
4976
  var o = t.interaction, i = o.coords, c = o.rect, f = o.modification;
4977
4977
  if (f.result) {
4978
- for (var p = f.startDelta, h = f.result, v = h.delta, b = h.rectDelta, y = 0, P = [[i.start, p], [i.cur, v]]; y < P.length; y++) {
4979
- var I = P[y], V = I[0], L = I[1];
4978
+ for (var p = f.startDelta, h = f.result, v = h.delta, b = h.rectDelta, y = 0, O = [[i.start, p], [i.cur, v]]; y < O.length; y++) {
4979
+ var I = O[y], V = I[0], L = I[1];
4980
4980
  V.page.x -= L.x, V.page.y -= L.y, V.client.x -= L.x, V.client.y -= L.y;
4981
4981
  }
4982
4982
  c.left -= b.left, c.right -= b.right, c.top -= b.top, c.bottom -= b.bottom;
@@ -5037,8 +5037,8 @@ function wc() {
5037
5037
  function o(i, c, f, p, h, v, b) {
5038
5038
  var y;
5039
5039
  u(this, o), (y = t.call(this, i)).relatedTarget = null, y.screenX = void 0, y.screenY = void 0, y.button = void 0, y.buttons = void 0, y.ctrlKey = void 0, y.shiftKey = void 0, y.altKey = void 0, y.metaKey = void 0, y.page = void 0, y.client = void 0, y.delta = void 0, y.rect = void 0, y.x0 = void 0, y.y0 = void 0, y.t0 = void 0, y.dt = void 0, y.duration = void 0, y.clientX0 = void 0, y.clientY0 = void 0, y.velocity = void 0, y.speed = void 0, y.swipe = void 0, y.axes = void 0, y.preEnd = void 0, h = h || i.element;
5040
- var P = i.interactable, I = (P && P.options || Br).deltaSource, V = He(P, h, f), L = p === "start", Y = p === "end", oe = L ? C(y) : i.prevEvent, ee = L ? i.coords.start : Y ? { page: oe.page, client: oe.client, timeStamp: i.coords.cur.timeStamp } : i.coords.cur;
5041
- return y.page = q({}, ee.page), y.client = q({}, ee.client), y.rect = q({}, i.rect), y.timeStamp = ee.timeStamp, Y || (y.page.x -= V.x, y.page.y -= V.y, y.client.x -= V.x, y.client.y -= V.y), y.ctrlKey = c.ctrlKey, y.altKey = c.altKey, y.shiftKey = c.shiftKey, y.metaKey = c.metaKey, y.button = c.button, y.buttons = c.buttons, y.target = h, y.currentTarget = h, y.preEnd = v, y.type = b || f + (p || ""), y.interactable = P, y.t0 = L ? i.pointers[i.pointers.length - 1].downTime : oe.t0, y.x0 = i.coords.start.page.x - V.x, y.y0 = i.coords.start.page.y - V.y, y.clientX0 = i.coords.start.client.x - V.x, y.clientY0 = i.coords.start.client.y - V.y, y.delta = L || Y ? { x: 0, y: 0 } : { x: y[I].x - oe[I].x, y: y[I].y - oe[I].y }, y.dt = i.coords.delta.timeStamp, y.duration = y.timeStamp - y.t0, y.velocity = q({}, i.coords.velocity[I]), y.speed = pt(y.velocity.x, y.velocity.y), y.swipe = Y || p === "inertiastart" ? y.getSwipe() : null, y;
5040
+ var O = i.interactable, I = (O && O.options || Br).deltaSource, V = He(O, h, f), L = p === "start", Y = p === "end", oe = L ? C(y) : i.prevEvent, ee = L ? i.coords.start : Y ? { page: oe.page, client: oe.client, timeStamp: i.coords.cur.timeStamp } : i.coords.cur;
5041
+ return y.page = q({}, ee.page), y.client = q({}, ee.client), y.rect = q({}, i.rect), y.timeStamp = ee.timeStamp, Y || (y.page.x -= V.x, y.page.y -= V.y, y.client.x -= V.x, y.client.y -= V.y), y.ctrlKey = c.ctrlKey, y.altKey = c.altKey, y.shiftKey = c.shiftKey, y.metaKey = c.metaKey, y.button = c.button, y.buttons = c.buttons, y.target = h, y.currentTarget = h, y.preEnd = v, y.type = b || f + (p || ""), y.interactable = O, y.t0 = L ? i.pointers[i.pointers.length - 1].downTime : oe.t0, y.x0 = i.coords.start.page.x - V.x, y.y0 = i.coords.start.page.y - V.y, y.clientX0 = i.coords.start.client.x - V.x, y.clientY0 = i.coords.start.client.y - V.y, y.delta = L || Y ? { x: 0, y: 0 } : { x: y[I].x - oe[I].x, y: y[I].y - oe[I].y }, y.dt = i.coords.delta.timeStamp, y.duration = y.timeStamp - y.t0, y.velocity = q({}, i.coords.velocity[I]), y.speed = pt(y.velocity.x, y.velocity.y), y.swipe = Y || p === "inertiastart" ? y.getSwipe() : null, y;
5042
5042
  }
5043
5043
  return g(o, [{ key: "getSwipe", value: function() {
5044
5044
  var i = this._interaction;
@@ -5126,8 +5126,8 @@ function wc() {
5126
5126
  this.simulation || this.modification && this.modification.endResult || this.updatePointer(t, o, i, !1);
5127
5127
  var c, f, p = this.coords.cur.page.x === this.coords.prev.page.x && this.coords.cur.page.y === this.coords.prev.page.y && this.coords.cur.client.x === this.coords.prev.client.x && this.coords.cur.client.y === this.coords.prev.client.y;
5128
5128
  this.pointerIsDown && !this.pointerWasMoved && (c = this.coords.cur.client.x - this.coords.start.client.x, f = this.coords.cur.client.y - this.coords.start.client.y, this.pointerWasMoved = pt(c, f) > this.pointerMoveTolerance);
5129
- var h, v, b, y = this.getPointerIndex(t), P = { pointer: t, pointerIndex: y, pointerInfo: this.pointers[y], event: o, type: "move", eventTarget: i, dx: c, dy: f, duplicate: p, interaction: this };
5130
- p || (h = this.coords.velocity, v = this.coords.delta, b = Math.max(v.timeStamp / 1e3, 1e-3), h.page.x = v.page.x / b, h.page.y = v.page.y / b, h.client.x = v.client.x / b, h.client.y = v.client.y / b, h.timeStamp = b), this._scopeFire("interactions:move", P), p || this.simulation || (this.interacting() && (P.type = null, this.move(P)), this.pointerWasMoved && $t(this.coords.prev, this.coords.cur));
5129
+ var h, v, b, y = this.getPointerIndex(t), O = { pointer: t, pointerIndex: y, pointerInfo: this.pointers[y], event: o, type: "move", eventTarget: i, dx: c, dy: f, duplicate: p, interaction: this };
5130
+ p || (h = this.coords.velocity, v = this.coords.delta, b = Math.max(v.timeStamp / 1e3, 1e-3), h.page.x = v.page.x / b, h.page.y = v.page.y / b, h.client.x = v.client.x / b, h.client.y = v.client.y / b, h.timeStamp = b), this._scopeFire("interactions:move", O), p || this.simulation || (this.interacting() && (O.type = null, this.move(O)), this.pointerWasMoved && $t(this.coords.prev, this.coords.cur));
5131
5131
  } }, { key: "move", value: function(t) {
5132
5132
  t && t.event || xr(this.coords.delta), (t = q({ pointer: this._latestPointer.pointer, event: this._latestPointer.event, eventTarget: this._latestPointer.eventTarget, interaction: this }, t || {})).phase = "move", this._doPhase(t);
5133
5133
  } }, { key: "pointerUp", value: function(t, o, i, c) {
@@ -5155,8 +5155,8 @@ function wc() {
5155
5155
  return this.pointers[this.getPointerIndex(t)];
5156
5156
  } }, { key: "updatePointer", value: function(t, o, i, c) {
5157
5157
  var f, p, h, v = ht(t), b = this.getPointerIndex(t), y = this.pointers[b];
5158
- return c = c !== !1 && (c || /(down|start)$/i.test(o.type)), y ? y.pointer = t : (y = new Oi(v, t, o, null, null), b = this.pointers.length, this.pointers.push(y)), ci(this.coords.cur, this.pointers.map(function(P) {
5159
- return P.pointer;
5158
+ return c = c !== !1 && (c || /(down|start)$/i.test(o.type)), y ? y.pointer = t : (y = new Oi(v, t, o, null, null), b = this.pointers.length, this.pointers.push(y)), ci(this.coords.cur, this.pointers.map(function(O) {
5159
+ return O.pointer;
5160
5160
  }), this._now()), f = this.coords.delta, p = this.coords.prev, h = this.coords.cur, f.page.x = h.page.x - p.page.x, f.page.y = h.page.y - p.page.y, f.client.x = h.client.x - p.client.x, f.client.y = h.client.y - p.client.y, f.timeStamp = h.timeStamp - p.timeStamp, c && (this.pointerIsDown = !0, y.downTime = this.coords.cur.timeStamp, y.downTarget = i, It(this.downPointer, t), this.interacting() || ($t(this.coords.start, this.coords.cur), $t(this.coords.prev, this.coords.cur), this.downEvent = o, this.pointerWasMoved = !1)), this._updateLatestPointer(t, o, i), this._scopeFire("interactions:update-pointer", { pointer: t, event: o, eventTarget: i, down: c, pointerInfo: y, pointerIndex: b, interaction: this }), b;
5161
5161
  } }, { key: "removePointer", value: function(t, o) {
5162
5162
  var i = this.getPointerIndex(t);
@@ -5247,9 +5247,9 @@ function wc() {
5247
5247
  o.active && t();
5248
5248
  });
5249
5249
  } }, { key: "inertiaTick", value: function() {
5250
- var t, o, i, c, f, p, h, v = this, b = this.interaction, y = Ft(b).resistance, P = (b._now() - this.t0) / 1e3;
5251
- if (P < this.te) {
5252
- var I, V = 1 - (Math.exp(-y * P) - this.lambda_v0) / this.one_ve_v0;
5250
+ var t, o, i, c, f, p, h, v = this, b = this.interaction, y = Ft(b).resistance, O = (b._now() - this.t0) / 1e3;
5251
+ if (O < this.te) {
5252
+ var I, V = 1 - (Math.exp(-y * O) - this.lambda_v0) / this.one_ve_v0;
5253
5253
  this.isModified ? (t = 0, o = 0, i = this.targetOffset.x, c = this.targetOffset.y, f = this.modifiedOffset.x, p = this.modifiedOffset.y, I = { x: qr(h = V, t, i, f), y: qr(h, o, c, p) }) : I = { x: this.targetOffset.x * V, y: this.targetOffset.y * V };
5254
5254
  var L = { x: I.x - this.currentOffset.x, y: I.y - this.currentOffset.y };
5255
5255
  this.currentOffset.x += L.x, this.currentOffset.y += L.y, b.offsetBy(L), b.move(), this.onNextFrame(function() {
@@ -5364,7 +5364,7 @@ function wc() {
5364
5364
  return n === t || (typeof n == "boolean" ? !!t.capture === n && !t.passive : !!n.capture == !!t.capture && !!n.passive == !!t.passive);
5365
5365
  }
5366
5366
  var Li = { id: "events", install: function(n) {
5367
- var t, o = [], i = {}, c = [], f = { add: p, remove: h, addDelegate: function(y, P, I, V, L) {
5367
+ var t, o = [], i = {}, c = [], f = { add: p, remove: h, addDelegate: function(y, O, I, V, L) {
5368
5368
  var Y = xt(L);
5369
5369
  if (!i[I]) {
5370
5370
  i[I] = [];
@@ -5374,19 +5374,19 @@ function wc() {
5374
5374
  }
5375
5375
  }
5376
5376
  var ae = i[I], me = mt(ae, function(be) {
5377
- return be.selector === y && be.context === P;
5377
+ return be.selector === y && be.context === O;
5378
5378
  });
5379
- me || (me = { selector: y, context: P, listeners: [] }, ae.push(me)), me.listeners.push({ func: V, options: Y });
5380
- }, removeDelegate: function(y, P, I, V, L) {
5379
+ me || (me = { selector: y, context: O, listeners: [] }, ae.push(me)), me.listeners.push({ func: V, options: Y });
5380
+ }, removeDelegate: function(y, O, I, V, L) {
5381
5381
  var Y, oe = xt(L), ee = i[I], ae = !1;
5382
5382
  if (ee)
5383
5383
  for (Y = ee.length - 1; Y >= 0; Y--) {
5384
5384
  var me = ee[Y];
5385
- if (me.selector === y && me.context === P) {
5385
+ if (me.selector === y && me.context === O) {
5386
5386
  for (var be = me.listeners, ue = be.length - 1; ue >= 0; ue--) {
5387
5387
  var ve = be[ue];
5388
5388
  if (ve.func === V && Dt(ve.options, oe)) {
5389
- be.splice(ue, 1), be.length || (ee.splice(Y, 1), h(P, I, v), h(P, I, b, !0)), ae = !0;
5389
+ be.splice(ue, 1), be.length || (ee.splice(Y, 1), h(O, I, v), h(O, I, b, !0)), ae = !0;
5390
5390
  break;
5391
5391
  }
5392
5392
  }
@@ -5394,45 +5394,45 @@ function wc() {
5394
5394
  }
5395
5395
  }
5396
5396
  }, delegateListener: v, delegateUseCapture: b, delegatedEvents: i, documents: c, targets: o, supportsOptions: !1, supportsPassive: !1 };
5397
- function p(y, P, I, V) {
5397
+ function p(y, O, I, V) {
5398
5398
  if (y.addEventListener) {
5399
5399
  var L = xt(V), Y = mt(o, function(oe) {
5400
5400
  return oe.eventTarget === y;
5401
5401
  });
5402
- Y || (Y = { eventTarget: y, events: {} }, o.push(Y)), Y.events[P] || (Y.events[P] = []), mt(Y.events[P], function(oe) {
5402
+ Y || (Y = { eventTarget: y, events: {} }, o.push(Y)), Y.events[O] || (Y.events[O] = []), mt(Y.events[O], function(oe) {
5403
5403
  return oe.func === I && Dt(oe.options, L);
5404
- }) || (y.addEventListener(P, I, f.supportsOptions ? L : L.capture), Y.events[P].push({ func: I, options: L }));
5404
+ }) || (y.addEventListener(O, I, f.supportsOptions ? L : L.capture), Y.events[O].push({ func: I, options: L }));
5405
5405
  }
5406
5406
  }
5407
- function h(y, P, I, V) {
5407
+ function h(y, O, I, V) {
5408
5408
  if (y.addEventListener && y.removeEventListener) {
5409
5409
  var L = gt(o, function($e) {
5410
5410
  return $e.eventTarget === y;
5411
5411
  }), Y = o[L];
5412
- if (Y && Y.events) if (P !== "all") {
5413
- var oe = !1, ee = Y.events[P];
5412
+ if (Y && Y.events) if (O !== "all") {
5413
+ var oe = !1, ee = Y.events[O];
5414
5414
  if (ee) {
5415
5415
  if (I === "all") {
5416
5416
  for (var ae = ee.length - 1; ae >= 0; ae--) {
5417
5417
  var me = ee[ae];
5418
- h(y, P, me.func, me.options);
5418
+ h(y, O, me.func, me.options);
5419
5419
  }
5420
5420
  return;
5421
5421
  }
5422
5422
  for (var be = xt(V), ue = 0; ue < ee.length; ue++) {
5423
5423
  var ve = ee[ue];
5424
5424
  if (ve.func === I && Dt(ve.options, be)) {
5425
- y.removeEventListener(P, I, f.supportsOptions ? be : be.capture), ee.splice(ue, 1), ee.length === 0 && (delete Y.events[P], oe = !0);
5425
+ y.removeEventListener(O, I, f.supportsOptions ? be : be.capture), ee.splice(ue, 1), ee.length === 0 && (delete Y.events[O], oe = !0);
5426
5426
  break;
5427
5427
  }
5428
5428
  }
5429
5429
  }
5430
5430
  oe && !Object.keys(Y.events).length && o.splice(L, 1);
5431
- } else for (P in Y.events) Y.events.hasOwnProperty(P) && h(y, P, "all");
5431
+ } else for (O in Y.events) Y.events.hasOwnProperty(O) && h(y, O, "all");
5432
5432
  }
5433
5433
  }
5434
- function v(y, P) {
5435
- for (var I = xt(P), V = new zi(y), L = i[y.type], Y = Sr(y)[0], oe = Y; N.element(oe); ) {
5434
+ function v(y, O) {
5435
+ for (var I = xt(O), V = new zi(y), L = i[y.type], Y = Sr(y)[0], oe = Y; N.element(oe); ) {
5436
5436
  for (var ee = 0; ee < L.length; ee++) {
5437
5437
  var ae = L[ee], me = ae.selector, be = ae.context;
5438
5438
  if (T(oe, me) && Z(be, Y) && Z(be, oe)) {
@@ -5485,8 +5485,8 @@ function wc() {
5485
5485
  }
5486
5486
  if (t) return t;
5487
5487
  for (var b = 0, y = f.interactions.list; b < y.length; b++) {
5488
- var P = y[b];
5489
- if (!(P.pointerType !== i || /down/i.test(c) && P.simulation)) return P;
5488
+ var O = y[b];
5489
+ if (!(O.pointerType !== i || /down/i.test(c) && O.simulation)) return O;
5490
5490
  }
5491
5491
  return null;
5492
5492
  }, hasPointer: function(n) {
@@ -5518,7 +5518,7 @@ function wc() {
5518
5518
  if (/^touch/.test(o.type)) {
5519
5519
  t.prevTouchTime = t.now();
5520
5520
  for (var b = 0, y = o.changedTouches; b < y.length; b++) {
5521
- var P = y[b], I = { pointer: P, pointerId: ht(P), pointerType: c, eventType: o.type, eventTarget: p, curEventTarget: h, scope: t }, V = Qr(I);
5521
+ var O = y[b], I = { pointer: O, pointerId: ht(O), pointerType: c, eventType: o.type, eventTarget: p, curEventTarget: h, scope: t }, V = Qr(I);
5522
5522
  v.push([I.pointer, I.eventTarget, I.curEventTarget, V]);
5523
5523
  }
5524
5524
  } else {
@@ -5546,8 +5546,8 @@ function wc() {
5546
5546
  var o = n.doc, i = n.scope, c = n.options, f = i.interactions.docEvents, p = i.events, h = p[t];
5547
5547
  for (var v in i.browser.isIOS && !c.events && (c.events = { passive: !1 }), p.delegatedEvents) h(o, v, p.delegateListener), h(o, v, p.delegateUseCapture, !0);
5548
5548
  for (var b = c && c.events, y = 0; y < f.length; y++) {
5549
- var P = f[y];
5550
- h(o, P.type, P.listener, b);
5549
+ var O = f[y];
5550
+ h(o, O.type, O.listener, b);
5551
5551
  }
5552
5552
  }
5553
5553
  var Di = { id: "core/interactions", install: function(n) {
@@ -5560,11 +5560,11 @@ function wc() {
5560
5560
  for (var h = 0, v = n.interactions.list; h < v.length; h++) {
5561
5561
  var b = v[h];
5562
5562
  if (b.pointerIsDown && b.pointerType === "touch" && !b._interacting) for (var y = function() {
5563
- var V = I[P];
5563
+ var V = I[O];
5564
5564
  n.documents.some(function(L) {
5565
5565
  return Z(L.doc, V.downTarget);
5566
5566
  }) || b.removePointer(V.pointer, V.event);
5567
- }, P = 0, I = b.pointers; P < I.length; P++) y();
5567
+ }, O = 0, I = b.pointers; O < I.length; O++) y();
5568
5568
  }
5569
5569
  }
5570
5570
  (c = z.PointerEvent ? [{ type: f.down, listener: p }, { type: f.down, listener: t.pointerDown }, { type: f.move, listener: t.pointerMove }, { type: f.up, listener: t.pointerUp }, { type: f.cancel, listener: t.pointerUp }] : [{ type: "mousedown", listener: t.pointerDown }, { type: "mousemove", listener: t.pointerMove }, { type: "mouseup", listener: t.pointerUp }, { type: "touchstart", listener: p }, { type: "touchstart", listener: t.pointerDown }, { type: "touchmove", listener: t.pointerMove }, { type: "touchend", listener: t.pointerUp }, { type: "touchcancel", listener: t.pointerUp }]).push({ type: "blur", listener: function(h) {
@@ -5730,7 +5730,7 @@ function wc() {
5730
5730
  return this;
5731
5731
  }
5732
5732
  if (N.object(f)) {
5733
- for (var P in f) this.on(P, f[P], p);
5733
+ for (var O in f) this.on(O, f[O], p);
5734
5734
  return this;
5735
5735
  }
5736
5736
  return zt(f, this.scope.actions) ? this.globalEvents[f] ? this.globalEvents[f].push(p) : this.globalEvents[f] = [p] : this.scope.events.add(this.scope.document, f, p, { options: h }), this;
@@ -5743,7 +5743,7 @@ function wc() {
5743
5743
  return this;
5744
5744
  }
5745
5745
  if (N.object(f)) {
5746
- for (var P in f) this.off(P, f[P], p);
5746
+ for (var O in f) this.off(O, f[O], p);
5747
5747
  return this;
5748
5748
  }
5749
5749
  var I;
@@ -5841,8 +5841,8 @@ function wc() {
5841
5841
  var c = i[0], f = i[1];
5842
5842
  return c in n || f in n;
5843
5843
  }), o = function(i, c) {
5844
- for (var f = n.range, p = n.limits, h = p === void 0 ? { left: -1 / 0, right: 1 / 0, top: -1 / 0, bottom: 1 / 0 } : p, v = n.offset, b = v === void 0 ? { x: 0, y: 0 } : v, y = { range: f, grid: n, x: null, y: null }, P = 0; P < t.length; P++) {
5845
- var I = t[P], V = I[0], L = I[1], Y = Math.round((i - b.x) / n[V]), oe = Math.round((c - b.y) / n[L]);
5844
+ for (var f = n.range, p = n.limits, h = p === void 0 ? { left: -1 / 0, right: 1 / 0, top: -1 / 0, bottom: 1 / 0 } : p, v = n.offset, b = v === void 0 ? { x: 0, y: 0 } : v, y = { range: f, grid: n, x: null, y: null }, O = 0; O < t.length; O++) {
5845
+ var I = t[O], V = I[0], L = I[1], Y = Math.round((i - b.x) / n[V]), oe = Math.round((c - b.y) / n[L]);
5846
5846
  y[V] = Math.max(h.left, Math.min(h.right, Y * n[V] + b.x)), y[L] = Math.max(h.top, Math.min(h.bottom, oe * n[L] + b.y));
5847
5847
  }
5848
5848
  return y;
@@ -5854,12 +5854,12 @@ function wc() {
5854
5854
  } }, Gi = qi, Wi = { start: function(n) {
5855
5855
  var t = n.state, o = n.rect, i = n.edges, c = n.pageCoords, f = t.options, p = f.ratio, h = f.enabled, v = t.options, b = v.equalDelta, y = v.modifiers;
5856
5856
  p === "preserve" && (p = o.width / o.height), t.startCoords = q({}, c), t.startRect = q({}, o), t.ratio = p, t.equalDelta = b;
5857
- var P = t.linkedEdges = { top: i.top || i.left && !i.bottom, left: i.left || i.top && !i.right, bottom: i.bottom || i.right && !i.top, right: i.right || i.bottom && !i.left };
5857
+ var O = t.linkedEdges = { top: i.top || i.left && !i.bottom, left: i.left || i.top && !i.right, bottom: i.bottom || i.right && !i.top, right: i.right || i.bottom && !i.left };
5858
5858
  if (t.xIsPrimaryAxis = !(!i.left && !i.right), t.equalDelta) {
5859
- var I = (P.left ? 1 : -1) * (P.top ? 1 : -1);
5859
+ var I = (O.left ? 1 : -1) * (O.top ? 1 : -1);
5860
5860
  t.edgeSign = { x: I, y: I };
5861
- } else t.edgeSign = { x: P.left ? -1 : 1, y: P.top ? -1 : 1 };
5862
- if (h !== !1 && q(i, P), y != null && y.length) {
5861
+ } else t.edgeSign = { x: O.left ? -1 : 1, y: O.top ? -1 : 1 };
5862
+ if (h !== !1 && q(i, O), y != null && y.length) {
5863
5863
  var V = new Sn(n.interaction);
5864
5864
  V.copyFrom(n.interaction.modification), V.prepareStates(y), t.subModification = V, V.startAll(a({}, n));
5865
5865
  }
@@ -5897,8 +5897,8 @@ function wc() {
5897
5897
  if (t && h) {
5898
5898
  var b = it(p.restriction, c, f);
5899
5899
  if (b) {
5900
- var y = b.right - b.left - t.width, P = b.bottom - b.top - t.height;
5901
- y < 0 && (v.left += y, v.right += y), P < 0 && (v.top += P, v.bottom += P);
5900
+ var y = b.right - b.left - t.width, O = b.bottom - b.top - t.height;
5901
+ y < 0 && (v.left += y, v.right += y), O < 0 && (v.top += O, v.bottom += O);
5902
5902
  }
5903
5903
  v.left += o.left - t.width * h.left, v.top += o.top - t.height * h.top, v.right += o.right - t.width * (1 - h.right), v.bottom += o.bottom - t.height * (1 - h.bottom);
5904
5904
  }
@@ -5949,16 +5949,16 @@ function wc() {
5949
5949
  var y = je(v.offset, i, c, [o]);
5950
5950
  (t = ke(y) || { x: 0, y: 0 }).x += b.x, t.y += b.y;
5951
5951
  }
5952
- var P = v.relativePoints;
5953
- p.offsets = f && P && P.length ? P.map(function(I, V) {
5952
+ var O = v.relativePoints;
5953
+ p.offsets = f && O && O.length ? O.map(function(I, V) {
5954
5954
  return { index: V, relativePoint: I, x: h.left - f.width * I.x + t.x, y: h.top - f.height * I.y + t.y };
5955
5955
  }) : [{ index: 0, relativePoint: null, x: t.x, y: t.y }];
5956
5956
  }, set: function(n) {
5957
5957
  var t = n.interaction, o = n.coords, i = n.state, c = i.options, f = i.offsets, p = He(t.interactable, t.element, t.prepared.name), h = q({}, o), v = [];
5958
5958
  c.offsetWithOrigin || (h.x -= p.x, h.y -= p.y);
5959
- for (var b = 0, y = f; b < y.length; b++) for (var P = y[b], I = h.x - P.x, V = h.y - P.y, L = 0, Y = c.targets.length; L < Y; L++) {
5959
+ for (var b = 0, y = f; b < y.length; b++) for (var O = y[b], I = h.x - O.x, V = h.y - O.y, L = 0, Y = c.targets.length; L < Y; L++) {
5960
5960
  var oe = c.targets[L], ee = void 0;
5961
- (ee = N.func(oe) ? oe(I, V, t._proxy, P, L) : oe) && v.push({ x: (N.number(ee.x) ? ee.x : I) + P.x, y: (N.number(ee.y) ? ee.y : V) + P.y, range: N.number(ee.range) ? ee.range : c.range, source: oe, index: L, offset: P });
5961
+ (ee = N.func(oe) ? oe(I, V, t._proxy, O, L) : oe) && v.push({ x: (N.number(ee.x) ? ee.x : I) + O.x, y: (N.number(ee.y) ? ee.y : V) + O.y, range: N.number(ee.range) ? ee.range : c.range, source: oe, index: L, offset: O });
5962
5962
  }
5963
5963
  for (var ae = { target: null, inRange: !1, distance: 0, range: 0, delta: { x: 0, y: 0 } }, me = 0; me < v.length; me++) {
5964
5964
  var be = v[me], ue = be.range, ve = be.x - h.x, $e = be.y - h.y, Oe = pt(ve, $e), Le = Oe <= ue;
@@ -5975,8 +5975,8 @@ function wc() {
5975
5975
  for (var h = 0, v = c.targets || []; h < v.length; h++) {
5976
5976
  var b = v[h], y = void 0;
5977
5977
  if (y = N.func(b) ? b(p.x, p.y, t) : b) {
5978
- for (var P = 0, I = o.targetFields; P < I.length; P++) {
5979
- var V = I[P], L = V[0], Y = V[1];
5978
+ for (var O = 0, I = o.targetFields; O < I.length; O++) {
5979
+ var V = I[O], L = V[0], Y = V[1];
5980
5980
  if (L in y || Y in y) {
5981
5981
  y.x = y[L], y.y = y[Y];
5982
5982
  break;
@@ -6004,8 +6004,8 @@ function wc() {
6004
6004
  if (u(this, o), It(C(b = t.call(this, h)), f), f !== c && It(C(b), c), b.timeStamp = v, b.originalEvent = f, b.type = i, b.pointerId = ht(c), b.pointerType = Nr(c), b.target = p, b.currentTarget = null, i === "tap") {
6005
6005
  var y = h.getPointerIndex(c);
6006
6006
  b.dt = b.timeStamp - h.pointers[y].downTime;
6007
- var P = b.timeStamp - h.tapTime;
6008
- b.double = !!h.prevTap && h.prevTap.type !== "doubletap" && h.prevTap.target === b.target && P < 500;
6007
+ var O = b.timeStamp - h.tapTime;
6008
+ b.double = !!h.prevTap && h.prevTap.type !== "doubletap" && h.prevTap.target === b.target && O < 500;
6009
6009
  } else i === "doubletap" && (b.dt = c.timeStamp - h.tapTime, b.double = !0);
6010
6010
  return b;
6011
6011
  }
@@ -6031,12 +6031,12 @@ function wc() {
6031
6031
  n.duplicate || o.pointerIsDown && !o.pointerWasMoved || (o.pointerIsDown && In(n), Qe({ interaction: o, pointer: i, event: c, eventTarget: f, type: "move" }, t));
6032
6032
  }, "interactions:down": function(n, t) {
6033
6033
  (function(o, i) {
6034
- for (var c = o.interaction, f = o.pointer, p = o.event, h = o.eventTarget, v = o.pointerIndex, b = c.pointers[v].hold, y = Te(h), P = { interaction: c, pointer: f, event: p, eventTarget: h, type: "hold", targets: [], path: y, node: null }, I = 0; I < y.length; I++) {
6034
+ for (var c = o.interaction, f = o.pointer, p = o.event, h = o.eventTarget, v = o.pointerIndex, b = c.pointers[v].hold, y = Te(h), O = { interaction: c, pointer: f, event: p, eventTarget: h, type: "hold", targets: [], path: y, node: null }, I = 0; I < y.length; I++) {
6035
6035
  var V = y[I];
6036
- P.node = V, i.fire("pointerEvents:collect-targets", P);
6036
+ O.node = V, i.fire("pointerEvents:collect-targets", O);
6037
6037
  }
6038
- if (P.targets.length) {
6039
- for (var L = 1 / 0, Y = 0, oe = P.targets; Y < oe.length; Y++) {
6038
+ if (O.targets.length) {
6039
+ for (var L = 1 / 0, Y = 0, oe = O.targets; Y < oe.length; Y++) {
6040
6040
  var ee = oe[Y].eventable.options.holdDuration;
6041
6041
  ee < L && (L = ee);
6042
6042
  }
@@ -6056,11 +6056,11 @@ function wc() {
6056
6056
  function Qe(n, t) {
6057
6057
  var o = n.interaction, i = n.pointer, c = n.event, f = n.eventTarget, p = n.type, h = n.targets, v = h === void 0 ? ao(n, t) : h, b = new so(p, i, c, f, o, t.now());
6058
6058
  t.fire("pointerEvents:new", { pointerEvent: b });
6059
- for (var y = { interaction: o, pointer: i, event: c, eventTarget: f, targets: v, type: p, pointerEvent: b }, P = 0; P < v.length; P++) {
6060
- var I = v[P];
6059
+ for (var y = { interaction: o, pointer: i, event: c, eventTarget: f, targets: v, type: p, pointerEvent: b }, O = 0; O < v.length; O++) {
6060
+ var I = v[O];
6061
6061
  for (var V in I.props || {}) b[V] = I.props[V];
6062
6062
  var L = He(I.eventable, I.node);
6063
- if (b._subtractOrigin(L), b.eventable = I.eventable, b.currentTarget = I.node, I.eventable.fire(b), b._addOrigin(L), b.immediatePropagationStopped || b.propagationStopped && P + 1 < v.length && v[P + 1].node !== b.currentTarget) break;
6063
+ if (b._subtractOrigin(L), b.eventable = I.eventable, b.currentTarget = I.node, I.eventable.fire(b), b._addOrigin(L), b.immediatePropagationStopped || b.propagationStopped && O + 1 < v.length && v[O + 1].node !== b.currentTarget) break;
6064
6064
  }
6065
6065
  if (t.fire("pointerEvents:fired", y), p === "tap") {
6066
6066
  var Y = b.double ? Qe({ interaction: o, pointer: i, event: c, eventTarget: f, type: "doubletap" }, t) : b;
@@ -6071,8 +6071,8 @@ function wc() {
6071
6071
  function ao(n, t) {
6072
6072
  var o = n.interaction, i = n.pointer, c = n.event, f = n.eventTarget, p = n.type, h = o.getPointerIndex(i), v = o.pointers[h];
6073
6073
  if (p === "tap" && (o.pointerWasMoved || !v || v.downTarget !== f)) return [];
6074
- for (var b = Te(f), y = { interaction: o, pointer: i, event: c, eventTarget: f, type: p, path: b, targets: [], node: null }, P = 0; P < b.length; P++) {
6075
- var I = b[P];
6074
+ for (var b = Te(f), y = { interaction: o, pointer: i, event: c, eventTarget: f, type: p, path: b, targets: [], node: null }, O = 0; O < b.length; O++) {
6075
+ var I = b[O];
6076
6076
  y.node = I, t.fire("pointerEvents:collect-targets", y);
6077
6077
  }
6078
6078
  return p === "hold" && (y.targets = y.targets.filter(function(V) {
@@ -6137,10 +6137,10 @@ function wc() {
6137
6137
  n.actions.phases.reflow = !0, t.prototype.reflow = function(o) {
6138
6138
  return function(i, c, f) {
6139
6139
  for (var p = i.getAllElements(), h = f.window.Promise, v = h ? [] : null, b = function() {
6140
- var P = p[y], I = i.getRect(P);
6140
+ var O = p[y], I = i.getRect(O);
6141
6141
  if (!I) return 1;
6142
6142
  var V, L = mt(f.interactions.list, function(ee) {
6143
- return ee.interacting() && ee.interactable === i && ee.element === P && ee.prepared.name === c.name;
6143
+ return ee.interacting() && ee.interactable === i && ee.element === O && ee.prepared.name === c.name;
6144
6144
  });
6145
6145
  if (L) L.move(), v && (V = L._reflowPromise || new h(function(ee) {
6146
6146
  L._reflowResolve = ee;
@@ -6181,7 +6181,7 @@ function wc() {
6181
6181
  ve._reflowResolve = qe;
6182
6182
  }) : void 0;
6183
6183
  return ve._reflowPromise = De, ve.start(be, ae, me), ve._interacting ? (ve.move($e), ve.end(ue)) : (ve.stop(), ve._reflowResolve()), ve.removePointer(ue, ue), De;
6184
- }(f, i, P, c, oe);
6184
+ }(f, i, O, c, oe);
6185
6185
  }
6186
6186
  v && v.push(V);
6187
6187
  }, y = 0; y < p.length && !b(); y++) ;
@@ -6224,16 +6224,16 @@ function Sc(e, {
6224
6224
  const _ = Nc(E).draggable({
6225
6225
  inertia: !0,
6226
6226
  ...u,
6227
- onstart: ({ client: O }) => {
6228
- const C = de.make(O);
6227
+ onstart: ({ client: P }) => {
6228
+ const C = de.make(P);
6229
6229
  d.current?.(C);
6230
6230
  },
6231
- onmove: ({ client: O, clientX0: C, clientY0: $, dx: R, dy: w }) => {
6232
- const j = de.make(C, $), W = de.make(O), K = de.make(R, w);
6231
+ onmove: ({ client: P, clientX0: C, clientY0: $, dx: R, dy: w }) => {
6232
+ const j = de.make(C, $), W = de.make(P), K = de.make(R, w);
6233
6233
  g.current?.(K, W, j);
6234
6234
  },
6235
- onend: ({ client: O, clientX0: C, clientY0: $ }) => {
6236
- const R = de.make(C, $), w = de.make(O);
6235
+ onend: ({ client: P, clientX0: C, clientY0: $ }) => {
6236
+ const R = de.make(C, $), w = de.make(P);
6237
6237
  m.current?.(w, R);
6238
6238
  }
6239
6239
  });
@@ -6250,17 +6250,17 @@ function Ct(e, {
6250
6250
  onDragEnd: u,
6251
6251
  ...d
6252
6252
  }) {
6253
- const g = Ee(r), [m, E] = Se(!1), [_, O] = Se(!1), [C, $] = Se(r), R = _e(a), w = _e(l), j = _e(u), W = _e(s);
6253
+ const g = Ee(r), [m, E] = Se(!1), [_, P] = Se(!1), [C, $] = Se(r), R = _e(a), w = _e(l), j = _e(u), W = _e(s);
6254
6254
  return Sc(e, {
6255
6255
  onDragStart: (S) => {
6256
- E(!0), O(!1), R.current?.(S);
6256
+ E(!0), P(!1), R.current?.(S);
6257
6257
  },
6258
6258
  onDragMove: (S, k, N) => {
6259
6259
  const M = W.current(g.current, S.x, S.y);
6260
- So(g, M) && $(M), E(!0), O(!1), w.current?.(S, k, N);
6260
+ So(g, M) && $(M), E(!0), P(!1), w.current?.(S, k, N);
6261
6261
  },
6262
6262
  onDragEnd: (S, k) => {
6263
- E(!1), O(!0), j.current?.(S, k);
6263
+ E(!1), P(!0), j.current?.(S, k);
6264
6264
  },
6265
6265
  ...d
6266
6266
  }), we(() => {
@@ -6287,7 +6287,7 @@ const ti = /* @__PURE__ */ Pe(({
6287
6287
  onLoadImageStart: m,
6288
6288
  onLoadImageComplete: E,
6289
6289
  onLoadImageError: _,
6290
- onImageSizeChange: O,
6290
+ onImageSizeChange: P,
6291
6291
  ...C
6292
6292
  }, $) => {
6293
6293
  const R = ye((M, X, G) => M - X * r, [r]), w = Ee(null), j = nt(w), W = Fo({ src: s }, {
@@ -6311,7 +6311,7 @@ const ti = /* @__PURE__ */ Pe(({
6311
6311
  }, [S, W, j.width, j.height, a]), we(() => {
6312
6312
  l?.(K, H), u?.(K / 360, H);
6313
6313
  }, [K]), we(() => {
6314
- O?.(W);
6314
+ P?.(W);
6315
6315
  }, [W?.width, W?.height]);
6316
6316
  const N = Tc({ src: s, displacement: S });
6317
6317
  return /* @__PURE__ */ x.jsx(
@@ -6367,7 +6367,7 @@ const Oc = /* @__PURE__ */ Pe(({
6367
6367
  viewportSize: m,
6368
6368
  zeroAnchor: E = 0,
6369
6369
  onAngleChange: _,
6370
- onDragEnd: O,
6370
+ onDragEnd: P,
6371
6371
  onDragStart: C,
6372
6372
  onLoadImageComplete: $,
6373
6373
  onLoadImageError: R,
@@ -6386,8 +6386,8 @@ const Oc = /* @__PURE__ */ Pe(({
6386
6386
  }, [m?.width, m?.height, te, S.width, u])(), A = ye(() => S.width <= 0 ? E : ((S.width - B) * 0.5 + E * B) / S.width, [S.width, B, E])(), Q = ye(() => {
6387
6387
  X(!0), C?.();
6388
6388
  }, [C]), Z = ye(() => {
6389
- X(!1), O?.();
6390
- }, [O]), ie = ze(l, {
6389
+ X(!1), P?.();
6390
+ }, [P]), ie = ze(l, {
6391
6391
  track: Kt,
6392
6392
  reticle: er,
6393
6393
  indicator: Qn
@@ -6486,11 +6486,11 @@ const Cc = /* @__PURE__ */ Pe(({
6486
6486
  min: m,
6487
6487
  orientation: E = "vertical",
6488
6488
  range: _,
6489
- steps: O = -1,
6489
+ steps: P = -1,
6490
6490
  onChange: C,
6491
6491
  ...$
6492
6492
  }, R) => {
6493
- const w = Ee(null), j = nt(w), W = Ee(null), K = Ee(null), [U, H] = Se(_ ?? [m, g]), S = zc(m, g, O), [k, N] = U.map((ne) => st(ne, m, g, E, j, d, l, a)), M = N - k, X = ze(e, {
6493
+ const w = Ee(null), j = nt(w), W = Ee(null), K = Ee(null), [U, H] = Se(_ ?? [m, g]), S = zc(m, g, P), [k, N] = U.map((ne) => st(ne, m, g, E, j, d, l, a)), M = N - k, X = ze(e, {
6494
6494
  gutter: tr,
6495
6495
  highlight: nr,
6496
6496
  knob: Zt,
@@ -6750,10 +6750,10 @@ const Lc = Pe(({
6750
6750
  required: s,
6751
6751
  style: Fn.select,
6752
6752
  value: d,
6753
- onChange: (O) => g?.(O.target.value),
6753
+ onChange: (P) => g?.(P.target.value),
6754
6754
  children: [
6755
6755
  u !== void 0 && /* @__PURE__ */ x.jsx(he, { disabled: !0, hidden: !0, element: _.option ?? /* @__PURE__ */ x.jsx(Qt, {}), value: "", children: u }),
6756
- l.map((O, C) => /* @__PURE__ */ x.jsx(he, { element: _.option ?? /* @__PURE__ */ x.jsx(Qt, {}), value: O, children: O }, `${C}-${O}`))
6756
+ l.map((P, C) => /* @__PURE__ */ x.jsx(he, { element: _.option ?? /* @__PURE__ */ x.jsx(Qt, {}), value: P, children: P }, `${C}-${P}`))
6757
6757
  ]
6758
6758
  }
6759
6759
  ),
@@ -6794,7 +6794,7 @@ const Fc = /* @__PURE__ */ Pe(({
6794
6794
  onToggle: m,
6795
6795
  ...E
6796
6796
  }, _) => {
6797
- const O = () => {
6797
+ const P = () => {
6798
6798
  if (!a)
6799
6799
  if (l) {
6800
6800
  if (!s) return;
@@ -6812,7 +6812,7 @@ const Fc = /* @__PURE__ */ Pe(({
6812
6812
  "aria-selected": l,
6813
6813
  className: se(r, { active: l, disabled: a || l && !s }),
6814
6814
  disabled: a || l && !s,
6815
- onClick: O,
6815
+ onClick: P,
6816
6816
  children: e ?? u
6817
6817
  }
6818
6818
  );
@@ -6830,7 +6830,7 @@ const Dc = /* @__PURE__ */ Pe(({
6830
6830
  onlyDispatchesOnDragEnd: m = !1,
6831
6831
  orientation: E = "vertical",
6832
6832
  position: _ = 0,
6833
- trackPadding: O = 0,
6833
+ trackPadding: P = 0,
6834
6834
  labelProvider: C,
6835
6835
  onDragEnd: $,
6836
6836
  onDragStart: R,
@@ -6903,11 +6903,11 @@ const Dc = /* @__PURE__ */ Pe(({
6903
6903
  className: se(a ? "end" : "start", B.track),
6904
6904
  element: A.track ?? /* @__PURE__ */ x.jsx(en, {}),
6905
6905
  style: ce(z.track, E === "vertical" ? {
6906
- height: `calc(${G * 100}% - ${O <= 0 ? 0 : u * 0.5}px - ${O}px)`,
6906
+ height: `calc(${G * 100}% - ${P <= 0 ? 0 : u * 0.5}px - ${P}px)`,
6907
6907
  top: "0"
6908
6908
  } : {
6909
6909
  left: "0",
6910
- width: `calc(${G * 100}% - ${O <= 0 ? 0 : g * 0.5}px - ${O}px)`
6910
+ width: `calc(${G * 100}% - ${P <= 0 ? 0 : g * 0.5}px - ${P}px)`
6911
6911
  }),
6912
6912
  onClick: S,
6913
6913
  children: /* @__PURE__ */ x.jsx("div", { style: z.trackHitBox })
@@ -6920,10 +6920,10 @@ const Dc = /* @__PURE__ */ Pe(({
6920
6920
  element: A.track ?? /* @__PURE__ */ x.jsx(en, {}),
6921
6921
  style: ce(z.track, E === "vertical" ? {
6922
6922
  bottom: "0",
6923
- height: `calc(${(1 - G) * 100}% - ${O <= 0 ? 0 : u * 0.5}px - ${O}px)`
6923
+ height: `calc(${(1 - G) * 100}% - ${P <= 0 ? 0 : u * 0.5}px - ${P}px)`
6924
6924
  } : {
6925
6925
  right: "0",
6926
- width: `calc(${(1 - G) * 100}% - ${O <= 0 ? 0 : g * 0.5}px - ${O}px)`
6926
+ width: `calc(${(1 - G) * 100}% - ${P <= 0 ? 0 : g * 0.5}px - ${P}px)`
6927
6927
  }),
6928
6928
  onClick: S,
6929
6929
  children: /* @__PURE__ */ x.jsx("div", { style: z.trackHitBox })
@@ -7058,7 +7058,7 @@ const Hc = /* @__PURE__ */ Pe(({
7058
7058
  knobWidth: m = 30,
7059
7059
  labelProvider: E,
7060
7060
  onlyDispatchesOnDragEnd: _ = !1,
7061
- orientation: O = "vertical",
7061
+ orientation: P = "vertical",
7062
7062
  steps: C = Yc(10),
7063
7063
  trackPadding: $ = 0,
7064
7064
  onDragEnd: R,
@@ -7069,7 +7069,7 @@ const Hc = /* @__PURE__ */ Pe(({
7069
7069
  }, U) => {
7070
7070
  const H = Ee(null), S = Ee(null), k = nt(H), [N, M] = Se(s), X = ye((D, ne, re) => {
7071
7071
  const le = l ? et(D) : D;
7072
- switch (O) {
7072
+ switch (P) {
7073
7073
  case "horizontal": {
7074
7074
  const pe = a ? k.width - m : k.width, Ne = le * pe + ne, Te = qt(Ne / pe);
7075
7075
  return l ? et(Te) : Te;
@@ -7079,9 +7079,9 @@ const Hc = /* @__PURE__ */ Pe(({
7079
7079
  return l ? et(Te) : Te;
7080
7080
  }
7081
7081
  default:
7082
- return console.error(`[etudes::StepSlider] Invalid orientation: ${O}`), NaN;
7082
+ return console.error(`[etudes::StepSlider] Invalid orientation: ${P}`), NaN;
7083
7083
  }
7084
- }, [k.width, k.height, a, l, m, d, O]), { isDragging: G, isReleasing: te, value: J, setValue: B } = Ct(S, {
7084
+ }, [k.width, k.height, a, l, m, d, P]), { isDragging: G, isReleasing: te, value: J, setValue: B } = Ct(S, {
7085
7085
  initialValue: dt(s, C),
7086
7086
  transform: X,
7087
7087
  onDragStart: w,
@@ -7089,7 +7089,7 @@ const Hc = /* @__PURE__ */ Pe(({
7089
7089
  }), z = ye((D) => {
7090
7090
  if (!u) return;
7091
7091
  const ne = ge.fromViewport();
7092
- switch (O) {
7092
+ switch (P) {
7093
7093
  case "horizontal": {
7094
7094
  const re = (D.clientX + ne.left - k.left) / k.width, le = l ? et(re) : re, pe = Pt(le, C);
7095
7095
  if (pe === N) {
@@ -7111,9 +7111,9 @@ const Hc = /* @__PURE__ */ Pe(({
7111
7111
  break;
7112
7112
  }
7113
7113
  default:
7114
- console.error(`[etudes::StepSlider] Invalid orientation: ${O}`);
7114
+ console.error(`[etudes::StepSlider] Invalid orientation: ${P}`);
7115
7115
  }
7116
- }, [k.width, k.left, k.top, k.height, N, J, l, u, O, We(C)]), A = l ? et(J) : J, ie = Xc({ orientation: O, isAtEnd: l ? J === 0 : J === 1, isAtStart: l ? J === 1 : J === 0, isDragging: G, isReleasing: te }), F = Uc({ orientation: O, naturalPosition: A, isClipped: a, knobPadding: g, knobHeight: d, knobWidth: m, isTrackInteractive: u }), T = ze(e, {
7116
+ }, [k.width, k.left, k.top, k.height, N, J, l, u, P, We(C)]), A = l ? et(J) : J, ie = Xc({ orientation: P, isAtEnd: l ? J === 0 : J === 1, isAtStart: l ? J === 1 : J === 0, isDragging: G, isReleasing: te }), F = Uc({ orientation: P, naturalPosition: A, isClipped: a, knobPadding: g, knobHeight: d, knobWidth: m, isTrackInteractive: u }), T = ze(e, {
7117
7117
  knob: ar,
7118
7118
  knobContainer: cr,
7119
7119
  label: lr,
@@ -7147,7 +7147,7 @@ const Hc = /* @__PURE__ */ Pe(({
7147
7147
  {
7148
7148
  className: se(l ? "end" : "start", ie.track),
7149
7149
  element: T.track ?? /* @__PURE__ */ x.jsx(tn, {}),
7150
- style: ce(F.track, O === "vertical" ? {
7150
+ style: ce(F.track, P === "vertical" ? {
7151
7151
  height: `calc(${A * 100}% - ${$ <= 0 ? 0 : d * 0.5}px - ${$}px)`,
7152
7152
  top: "0"
7153
7153
  } : {
@@ -7163,7 +7163,7 @@ const Hc = /* @__PURE__ */ Pe(({
7163
7163
  {
7164
7164
  className: se(l ? "start" : "end", ie.track),
7165
7165
  element: T.track ?? /* @__PURE__ */ x.jsx(tn, {}),
7166
- style: ce(F.track, O === "vertical" ? {
7166
+ style: ce(F.track, P === "vertical" ? {
7167
7167
  bottom: "0",
7168
7168
  height: `calc(${et(A) * 100}% - ${$ <= 0 ? 0 : d * 0.5}px - ${$}px)`
7169
7169
  } : {
@@ -7328,7 +7328,7 @@ const qc = /* @__PURE__ */ Pe(({
7328
7328
  onSwipeUp: d,
7329
7329
  ...g
7330
7330
  }, m) => {
7331
- const [E, _] = Se(void 0), [O, C] = Se(void 0), [$, R] = Se(NaN), w = (U, H) => {
7331
+ const [E, _] = Se(void 0), [P, C] = Se(void 0), [$, R] = Se(NaN), w = (U, H) => {
7332
7332
  if (isNaN(U) || isNaN(H)) return K();
7333
7333
  _(de.make(U, H));
7334
7334
  }, j = (U, H) => {
@@ -7337,7 +7337,7 @@ const qc = /* @__PURE__ */ Pe(({
7337
7337
  const k = S.x !== U || S.y !== H, N = !isNaN($);
7338
7338
  k && (N || R(Date.now()), C(de.make(U, H)));
7339
7339
  }, W = () => {
7340
- const U = $, H = E, S = O;
7340
+ const U = $, H = E, S = P;
7341
7341
  if (isNaN(U) || H === void 0 || S === void 0) return;
7342
7342
  const k = Date.now() - U, N = S.x - H.x, M = S.y - H.y, X = N / k, G = M / k;
7343
7343
  r && (Math.abs(X) >= s && Math.abs(X) > Math.abs(G) ? X > 0 ? u?.() : l?.() : Math.abs(G) >= s && Math.abs(G) > Math.abs(X) && (G > 0 ? a?.() : d?.())), K();
@@ -7383,13 +7383,13 @@ const Wc = Pe(({
7383
7383
  onChange: d,
7384
7384
  ...g
7385
7385
  }, m) => {
7386
- const E = Ee(null), _ = Io(E), O = ze(r, {
7386
+ const E = Ee(null), _ = Io(E), P = ze(r, {
7387
7387
  knob: fr,
7388
7388
  track: ur
7389
7389
  }), C = Kc({ isOn: a }), $ = Jc({ isOn: a, isInverted: s, orientation: l, knobSize: _ });
7390
7390
  return /* @__PURE__ */ x.jsxs("label", { ...g, ref: m, className: se(e, C.root), style: ce(u, $.root), children: [
7391
7391
  /* @__PURE__ */ x.jsx("input", { checked: a, style: $.input, type: "checkbox", onChange: (R) => d?.(R.target.checked) }),
7392
- /* @__PURE__ */ x.jsx(he, { className: C.track, element: O.track ?? /* @__PURE__ */ x.jsx(ur, {}), style: $.track, children: /* @__PURE__ */ x.jsx("div", { style: { position: "relative", width: "100%", height: "100%" }, children: /* @__PURE__ */ x.jsx(he, { ref: E, className: C.knob, element: O.knob ?? /* @__PURE__ */ x.jsx(fr, {}), style: $.knob }) }) })
7392
+ /* @__PURE__ */ x.jsx(he, { className: C.track, element: P.track ?? /* @__PURE__ */ x.jsx(ur, {}), style: $.track, children: /* @__PURE__ */ x.jsx("div", { style: { position: "relative", width: "100%", height: "100%" }, children: /* @__PURE__ */ x.jsx(he, { ref: E, className: C.knob, element: P.knob ?? /* @__PURE__ */ x.jsx(fr, {}), style: $.knob }) }) })
7393
7393
  ] });
7394
7394
  }), ur = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("div", { ...r, children: e }), fr = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("div", { ...r, children: e });
7395
7395
  function Kc({ isOn: e = !1 }) {
@@ -7480,7 +7480,7 @@ function Zc({
7480
7480
  maxWidth: m = 200,
7481
7481
  threshold: E = 100
7482
7482
  }) {
7483
- const _ = Ee(null), O = Ee(void 0), C = nt(_), $ = ye(() => {
7483
+ const _ = Ee(null), P = Ee(void 0), C = nt(_), $ = ye(() => {
7484
7484
  const j = document.createElement("span");
7485
7485
  j.className = se(r), j.innerHTML = g, j.role = "tooltip";
7486
7486
  const W = a ?? (_.current ? el(_.current, E) : "tl"), K = Qc(j), U = rl({ alignment: W, arrowSize: Me.make(u, l), gap: d, maxDialogWidth: m, fullDialogWidth: K.width, targetWidth: C.width }), H = ce(s, U.dialog);
@@ -7488,14 +7488,14 @@ function Zc({
7488
7488
  const S = document.createElement("span");
7489
7489
  return Object.keys(U.arrow).forEach((k) => S.style[k] = U.arrow[k]), j.appendChild(S), j;
7490
7490
  }, [r, a, g, m, We(s), C.width, E, l, u, d]), R = ye(() => {
7491
- O.current && (O.current.style.opacity = "1", O.current.ariaHidden = "false");
7491
+ P.current && (P.current.style.opacity = "1", P.current.ariaHidden = "false");
7492
7492
  }, []), w = ye(() => {
7493
- O.current && (O.current.style.opacity = "0", O.current.ariaHidden = "true");
7493
+ P.current && (P.current.style.opacity = "0", P.current.ariaHidden = "true");
7494
7494
  }, []);
7495
7495
  return we(() => {
7496
7496
  const j = $();
7497
- return _.current?.appendChild(j), O.current = j, () => {
7498
- _.current?.removeChild(j), O.current = void 0;
7497
+ return _.current?.appendChild(j), P.current = j, () => {
7498
+ _.current?.removeChild(j), P.current = void 0;
7499
7499
  };
7500
7500
  }, [$]), /* @__PURE__ */ x.jsx(
7501
7501
  oi,