etudes 16.0.0 → 16.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/etudes.js CHANGED
@@ -155,7 +155,7 @@ function Ss() {
155
155
  }
156
156
  function N(T, V, ne, re, le, pe, Ne, Te) {
157
157
  return ne = pe.ref, T = {
158
- $$typeof: I,
158
+ $$typeof: $,
159
159
  type: T,
160
160
  key: V,
161
161
  props: pe,
@@ -236,9 +236,9 @@ React keys must be passed directly to JSX without using spread:
236
236
  );
237
237
  }
238
238
  function P(T) {
239
- typeof T == "object" && T !== null && T.$$typeof === I && T._store && (T._store.validated = 1);
239
+ typeof T == "object" && T !== null && T.$$typeof === $ && T._store && (T._store.validated = 1);
240
240
  }
241
- var k = ys, I = Symbol.for("react.transitional.element"), M = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), K = Symbol.for("react.profiler"), W = Symbol.for("react.consumer"), F = Symbol.for("react.context"), Y = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), U = Symbol.for("react.activity"), G = Symbol.for("react.client.reference"), te = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, H = Array.isArray, z = console.createTask ? console.createTask : function() {
241
+ var k = ys, $ = Symbol.for("react.transitional.element"), M = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), K = Symbol.for("react.profiler"), W = Symbol.for("react.consumer"), F = Symbol.for("react.context"), Y = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), U = Symbol.for("react.activity"), G = Symbol.for("react.client.reference"), te = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, H = Array.isArray, z = console.createTask ? console.createTask : function() {
242
242
  return null;
243
243
  };
244
244
  k = {
@@ -249,7 +249,7 @@ React keys must be passed directly to JSX without using spread:
249
249
  var A, Q = {}, Z = k["react-stack-bottom-frame"].bind(
250
250
  k,
251
251
  u
252
- )(), ie = z(a(u)), D = {};
252
+ )(), se = z(a(u)), D = {};
253
253
  St.Fragment = b, St.jsx = function(T, V, ne, re, le) {
254
254
  var pe = 1e4 > te.recentlyCreatedOwnerStacks++;
255
255
  return _(
@@ -260,7 +260,7 @@ React keys must be passed directly to JSX without using spread:
260
260
  re,
261
261
  le,
262
262
  pe ? Error("react-stack-top-frame") : Z,
263
- pe ? z(a(T)) : ie
263
+ pe ? z(a(T)) : se
264
264
  );
265
265
  }, St.jsxs = function(T, V, ne, re, le) {
266
266
  var pe = 1e4 > te.recentlyCreatedOwnerStacks++;
@@ -272,7 +272,7 @@ React keys must be passed directly to JSX without using spread:
272
272
  re,
273
273
  le,
274
274
  pe ? Error("react-stack-top-frame") : Z,
275
- pe ? z(a(T)) : ie
275
+ pe ? z(a(T)) : se
276
276
  );
277
277
  };
278
278
  }()), St;
@@ -291,13 +291,13 @@ function Co(e) {
291
291
  } else for (s in e) e[s] && (a && (a += " "), a += s);
292
292
  return a;
293
293
  }
294
- function se() {
294
+ function ie() {
295
295
  for (var e, r, s = 0, a = "", l = arguments.length; s < l; s++) (e = arguments[s]) && (r = Co(e)) && (a && (a += " "), a += r);
296
296
  return a;
297
297
  }
298
- var In, uo;
298
+ var $n, uo;
299
299
  function _s() {
300
- return uo || (uo = 1, In = function e(r, s) {
300
+ return uo || (uo = 1, $n = function e(r, s) {
301
301
  if (r === s) return !0;
302
302
  if (r && s && typeof r == "object" && typeof s == "object") {
303
303
  if (r.constructor !== s.constructor) return !1;
@@ -322,7 +322,7 @@ function _s() {
322
322
  return !0;
323
323
  }
324
324
  return r !== r && s !== s;
325
- }), In;
325
+ }), $n;
326
326
  }
327
327
  var Os = /* @__PURE__ */ _s();
328
328
  const Ge = /* @__PURE__ */ ko(Os);
@@ -407,10 +407,10 @@ var de;
407
407
  return b instanceof Array ? !(b.length !== 2 || typeof b[0] != "number" || typeof b[1] != "number") : typeof b == "object" ? !(typeof b.x != "number" || typeof b.y != "number") : !1;
408
408
  }
409
409
  e.isValidDescriptor = k;
410
- function I(b) {
410
+ function $(b) {
411
411
  return typeof b == "object" && typeof b.x == "number" && typeof b.y == "number";
412
412
  }
413
- e.isPoint = I;
413
+ e.isPoint = $;
414
414
  function M(b) {
415
415
  return b.x === 0 && b.y === 0;
416
416
  }
@@ -533,10 +533,10 @@ var Me;
533
533
  return b instanceof Array ? !(b.length !== 2 || typeof b[0] != "number" || typeof b[1] != "number") : typeof b == "object" ? !(typeof b.width != "number" || typeof b.height != "number") : !1;
534
534
  }
535
535
  e.isValidDescriptor = k;
536
- function I(b) {
536
+ function $(b) {
537
537
  return typeof b == "object" && typeof b.width == "number" && typeof b.height == "number";
538
538
  }
539
- e.isSize = I;
539
+ e.isSize = $;
540
540
  function M(b) {
541
541
  return b.width === 0 && b.height === 0;
542
542
  }
@@ -690,7 +690,7 @@ var ge;
690
690
  });
691
691
  }
692
692
  e.concat = k;
693
- function I(S) {
693
+ function $(S) {
694
694
  return r({
695
695
  x: S.left,
696
696
  y: S.top,
@@ -698,7 +698,7 @@ var ge;
698
698
  height: S.width
699
699
  });
700
700
  }
701
- e.invert = I;
701
+ e.invert = $;
702
702
  function M(S, C) {
703
703
  return !(S.top !== C.top || S.right !== C.right || S.bottom !== C.bottom || S.left !== C.left || S.width !== C.width || S.height !== C.height);
704
704
  }
@@ -843,7 +843,7 @@ const hr = /* @__PURE__ */ Oe(({
843
843
  selection: _,
844
844
  selectionMode: P = "none",
845
845
  onActivateAt: k,
846
- onDeselectAt: I,
846
+ onDeselectAt: $,
847
847
  onCustomEvent: M,
848
848
  onSelectAt: b,
849
849
  onSelectionChange: j,
@@ -857,7 +857,7 @@ const hr = /* @__PURE__ */ Oe(({
857
857
  let z;
858
858
  switch (P) {
859
859
  case "multiple": {
860
- z = (Z) => Io([...Z.filter((ie) => ie !== H), H]);
860
+ z = (Z) => $o([...Z.filter((se) => se !== H), H]);
861
861
  break;
862
862
  }
863
863
  case "single": {
@@ -871,14 +871,14 @@ const hr = /* @__PURE__ */ Oe(({
871
871
  te(A, Q);
872
872
  }, U = (H) => {
873
873
  if (!C(H)) return;
874
- const z = (Z) => Z.filter((ie) => ie !== H), A = Y, Q = z(Y);
874
+ const z = (Z) => Z.filter((se) => se !== H), A = Y, Q = z(Y);
875
875
  te(A, Q);
876
876
  }, G = (H) => {
877
877
  k?.(H), P !== "none" && (a ? E(H) : R(H));
878
878
  }, te = (H, z) => {
879
879
  if (Ge(H, z)) return;
880
880
  const A = H?.filter((Z) => z.indexOf(Z) === -1) ?? [], Q = z.filter((Z) => H?.indexOf(Z) === -1);
881
- A.forEach((Z) => I?.(Z)), Q.forEach((Z) => b?.(Z)), j?.(z);
881
+ A.forEach((Z) => $?.(Z)), Q.forEach((Z) => b?.(Z)), j?.(z);
882
882
  };
883
883
  be(() => {
884
884
  const H = Y;
@@ -905,7 +905,7 @@ const hr = /* @__PURE__ */ Oe(({
905
905
  ...W,
906
906
  ref: F,
907
907
  "aria-multiselectable": P === "multiple",
908
- className: se(e),
908
+ className: ie(e),
909
909
  role: g === "grid" ? "grid" : P === "none" ? "list" : "listbox",
910
910
  style: ce(s, S.root),
911
911
  children: /* @__PURE__ */ x.jsx(ln, { in: p, children: (H, z) => {
@@ -925,7 +925,7 @@ const hr = /* @__PURE__ */ Oe(({
925
925
  K,
926
926
  {
927
927
  "aria-selected": Q,
928
- className: se({ active: Q }),
928
+ className: ie({ active: Q }),
929
929
  index: z,
930
930
  isSelected: C(z),
931
931
  item: H,
@@ -933,13 +933,13 @@ const hr = /* @__PURE__ */ Oe(({
933
933
  role: A,
934
934
  style: Z,
935
935
  onClick: () => G(z),
936
- onCustomEvent: (ie, D) => M?.(z, ie, D)
936
+ onCustomEvent: (se, D) => M?.(z, se, D)
937
937
  }
938
938
  ) : /* @__PURE__ */ x.jsx(
939
939
  he,
940
940
  {
941
941
  "aria-selected": Q,
942
- className: se({ active: Q }),
942
+ className: ie({ active: Q }),
943
943
  element: J.item ?? /* @__PURE__ */ x.jsx(kt, {}),
944
944
  role: A,
945
945
  selectionMode: P,
@@ -957,9 +957,9 @@ function ks(e, r) {
957
957
  return !!(isNaN(e) || e >= r.length || e < 0);
958
958
  }
959
959
  function Cs(e, r) {
960
- return Io(e).filter((s) => !ks(s, r));
960
+ return $o(e).filter((s) => !ks(s, r));
961
961
  }
962
- function Io(e) {
962
+ function $o(e) {
963
963
  return e.sort((r, s) => r - s);
964
964
  }
965
965
  function js({ itemLength: e = NaN, itemPadding: r = 0, layout: s = "collection", numSegments: a = 1, orientation: l = "vertical" }) {
@@ -1003,7 +1003,7 @@ function js({ itemLength: e = NaN, itemPadding: r = 0, layout: s = "collection",
1003
1003
  };
1004
1004
  }
1005
1005
  process.env.NODE_ENV !== "production" && (hr.displayName = "Collection", kt.displayName = "CollectionItem");
1006
- const Is = /* @__PURE__ */ Oe(({
1006
+ const $s = /* @__PURE__ */ Oe(({
1007
1007
  children: e,
1008
1008
  style: r,
1009
1009
  autoCollapseSections: s = !1,
@@ -1017,7 +1017,7 @@ const Is = /* @__PURE__ */ Oe(({
1017
1017
  onCollapseSectionAt: _,
1018
1018
  onDeselectAt: P,
1019
1019
  onExpandedSectionsChange: k,
1020
- onExpandSectionAt: I,
1020
+ onExpandSectionAt: $,
1021
1021
  onHeaderCustomEvent: M,
1022
1022
  onItemCustomEvent: b,
1023
1023
  onSelectAt: j,
@@ -1059,7 +1059,7 @@ const Is = /* @__PURE__ */ Oe(({
1059
1059
  }, Q = (D, T) => {
1060
1060
  if (Ge(D, T)) return;
1061
1061
  const V = D?.filter((re) => T.indexOf(re) === -1) ?? [], ne = T.filter((re) => D?.indexOf(re) === -1);
1062
- V.forEach((re) => _?.(re)), ne.forEach((re) => I?.(re)), k?.(T);
1062
+ V.forEach((re) => _?.(re)), ne.forEach((re) => $?.(re)), k?.(T);
1063
1063
  }, Z = (D, T) => {
1064
1064
  if (Ge(D, T)) return;
1065
1065
  const V = p.length;
@@ -1069,9 +1069,9 @@ const Is = /* @__PURE__ */ Oe(({
1069
1069
  ne = [...ne, ...Te.map((q) => [q, le])], re = [...re, ...xe.map((q) => [q, le])];
1070
1070
  }
1071
1071
  ne.forEach((le) => P?.(le[0], le[1])), re.forEach((le) => j?.(le[0], le[1])), K?.(T);
1072
- }, ie = ze(e, {
1072
+ }, se = ze(e, {
1073
1073
  collapseIcon: Ao,
1074
- expandIcon: $o,
1074
+ expandIcon: Io,
1075
1075
  header: Fn,
1076
1076
  item: Dn,
1077
1077
  section: fo
@@ -1081,7 +1081,7 @@ const Is = /* @__PURE__ */ Oe(({
1081
1081
  return /* @__PURE__ */ x.jsxs(
1082
1082
  he,
1083
1083
  {
1084
- element: ie.section ?? /* @__PURE__ */ x.jsx(fo, {}),
1084
+ element: se.section ?? /* @__PURE__ */ x.jsx(fo, {}),
1085
1085
  style: ce(R.section, l === "vertical" ? {
1086
1086
  marginTop: T === 0 ? "0px" : `${u}px`,
1087
1087
  ...Ve.height > 0 ? {
@@ -1107,7 +1107,7 @@ const Is = /* @__PURE__ */ Oe(({
1107
1107
  W,
1108
1108
  {
1109
1109
  "aria-expanded": !ke,
1110
- className: se({ collapsed: ke, expanded: !ke }),
1110
+ className: ie({ collapsed: ke, expanded: !ke }),
1111
1111
  index: T,
1112
1112
  isCollapsed: ke,
1113
1113
  role: "button",
@@ -1120,18 +1120,18 @@ const Is = /* @__PURE__ */ Oe(({
1120
1120
  he,
1121
1121
  {
1122
1122
  "aria-expanded": !ke,
1123
- className: se({ collapsed: ke, expanded: !ke }),
1124
- element: ie.header ?? /* @__PURE__ */ x.jsx(Fn, {}),
1123
+ className: ie({ collapsed: ke, expanded: !ke }),
1124
+ element: se.header ?? /* @__PURE__ */ x.jsx(Fn, {}),
1125
1125
  role: "button",
1126
1126
  style: ce(R.header),
1127
1127
  onClick: () => H(T),
1128
1128
  children: [
1129
1129
  /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: D.label } }),
1130
- ie.expandIcon && /* @__PURE__ */ x.jsx(
1130
+ se.expandIcon && /* @__PURE__ */ x.jsx(
1131
1131
  he,
1132
1132
  {
1133
- className: se({ collapsed: ke, expanded: !ke }),
1134
- element: ke ? ie.collapseIcon ?? ie.expandIcon : ie.expandIcon,
1133
+ className: ie({ collapsed: ke, expanded: !ke }),
1134
+ element: ke ? se.collapseIcon ?? se.expandIcon : se.expandIcon,
1135
1135
  style: ce(ke ? R.collapseIcon : R.expandIcon)
1136
1136
  }
1137
1137
  )
@@ -1160,7 +1160,7 @@ const Is = /* @__PURE__ */ Oe(({
1160
1160
  children: /* @__PURE__ */ x.jsx(
1161
1161
  hr,
1162
1162
  {
1163
- className: se({ collapsed: ke, expanded: !ke }),
1163
+ className: ie({ collapsed: ke, expanded: !ke }),
1164
1164
  isSelectionTogglable: pe,
1165
1165
  ItemComponent: F,
1166
1166
  itemLength: re,
@@ -1176,7 +1176,7 @@ const Is = /* @__PURE__ */ Oe(({
1176
1176
  onCustomEvent: (Re, He, Ye) => b?.(Re, T, He, Ye),
1177
1177
  onDeselectAt: (Re) => A(Re, T),
1178
1178
  onSelectAt: (Re) => z(Re, T),
1179
- children: !F && (ie.item ?? /* @__PURE__ */ x.jsx(Dn, {}))
1179
+ children: !F && (se.item ?? /* @__PURE__ */ x.jsx(Dn, {}))
1180
1180
  }
1181
1181
  )
1182
1182
  }
@@ -1185,11 +1185,11 @@ const Is = /* @__PURE__ */ Oe(({
1185
1185
  }
1186
1186
  );
1187
1187
  } }) });
1188
- }), Fn = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("button", { ...r, children: e }), $o = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("figure", { ...r, children: e }), Ao = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("figure", { ...r, children: e }), fo = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("div", { ...r, children: e }), Dn = kt;
1188
+ }), Fn = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("button", { ...r, children: e }), Io = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("figure", { ...r, children: e }), Ao = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("figure", { ...r, children: e }), fo = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("div", { ...r, children: e }), Dn = kt;
1189
1189
  function Mo(e, r) {
1190
1190
  return e >= r.length || e < 0;
1191
1191
  }
1192
- function $s(e, r, s) {
1192
+ function Is(e, r, s) {
1193
1193
  if (Mo(r, s)) return !0;
1194
1194
  const a = s[r].items ?? [];
1195
1195
  return e >= a.length || e < 0;
@@ -1202,7 +1202,7 @@ function Ms(e, r) {
1202
1202
  for (const a in r) {
1203
1203
  if (!Object.hasOwn(r, a)) continue;
1204
1204
  const l = nn([...e[a] ?? []]);
1205
- s[Number(a)] = nn(l).filter((u) => !$s(u, Number(a), r));
1205
+ s[Number(a)] = nn(l).filter((u) => !Is(u, Number(a), r));
1206
1206
  }
1207
1207
  return s;
1208
1208
  }
@@ -1269,7 +1269,7 @@ function Rs({ orientation: e = "vertical" }) {
1269
1269
  }
1270
1270
  };
1271
1271
  }
1272
- process.env.NODE_ENV !== "production" && (Is.displayName = "Accordion", Fn.displayName = "AccordionHeader", $o.displayName = "AccordionExpandIcon", Ao.displayName = "AccordionCollapseIcon", Dn.displayName = "AccordionItem");
1272
+ process.env.NODE_ENV !== "production" && ($s.displayName = "Accordion", Fn.displayName = "AccordionHeader", Io.displayName = "AccordionExpandIcon", Ao.displayName = "AccordionCollapseIcon", Dn.displayName = "AccordionItem");
1273
1273
  function Vn({
1274
1274
  count: e = 1,
1275
1275
  children: r,
@@ -1293,10 +1293,10 @@ const Ro = /* @__PURE__ */ Oe(({
1293
1293
  const m = ze(e, {
1294
1294
  bar: rn
1295
1295
  }), N = {
1296
- root: se({
1296
+ root: ie({
1297
1297
  active: s
1298
1298
  }),
1299
- bar: se({
1299
+ bar: ie({
1300
1300
  active: s
1301
1301
  })
1302
1302
  }, _ = zs({ isSplit: l, isActive: s, isTailHidden: a });
@@ -1305,12 +1305,12 @@ const Ro = /* @__PURE__ */ Oe(({
1305
1305
  {
1306
1306
  ...p,
1307
1307
  ref: g,
1308
- className: se(r, N.root),
1308
+ className: ie(r, N.root),
1309
1309
  children: /* @__PURE__ */ x.jsx(Vn, { count: l ? 2 : 1, children: (P) => /* @__PURE__ */ x.jsx("div", { "aria-hidden": !0, style: ce(_.section, _[`section${P}`]), children: /* @__PURE__ */ x.jsx(Vn, { count: u, children: (k) => /* @__PURE__ */ x.jsx(
1310
1310
  he,
1311
1311
  {
1312
1312
  "aria-hidden": !0,
1313
- className: se(N.bar),
1313
+ className: ie(N.bar),
1314
1314
  element: m.bar ?? /* @__PURE__ */ x.jsx(rn, {}),
1315
1315
  style: (() => {
1316
1316
  switch (u) {
@@ -1404,8 +1404,8 @@ const Ls = /* @__PURE__ */ Oe(({
1404
1404
  const k = () => {
1405
1405
  const b = !a;
1406
1406
  N?.(b), b ? g?.() : m?.();
1407
- }, I = {
1408
- root: se({
1407
+ }, $ = {
1408
+ root: ie({
1409
1409
  active: a
1410
1410
  })
1411
1411
  }, M = Ds();
@@ -1415,7 +1415,7 @@ const Ls = /* @__PURE__ */ Oe(({
1415
1415
  ..._,
1416
1416
  ref: P,
1417
1417
  "aria-expanded": a,
1418
- className: se(r, I.root),
1418
+ className: ie(r, $.root),
1419
1419
  style: ce(s, M.root),
1420
1420
  onClick: k,
1421
1421
  children: /* @__PURE__ */ x.jsx(
@@ -1452,7 +1452,7 @@ function Vs(e) {
1452
1452
  ...g,
1453
1453
  "aria-disabled": u,
1454
1454
  "aria-label": p,
1455
- className: se(l, { disabled: u }),
1455
+ className: ie(l, { disabled: u }),
1456
1456
  to: r,
1457
1457
  children: s ?? p
1458
1458
  }
@@ -1466,7 +1466,7 @@ function Vs(e) {
1466
1466
  ...p,
1467
1467
  "aria-disabled": l,
1468
1468
  "aria-label": u,
1469
- className: se(a, { disabled: l }),
1469
+ className: ie(a, { disabled: l }),
1470
1470
  to: r,
1471
1471
  children: s ?? u
1472
1472
  }
@@ -1480,7 +1480,7 @@ function Vs(e) {
1480
1480
  ...g,
1481
1481
  "aria-disabled": l,
1482
1482
  "aria-label": u,
1483
- className: se(a, { disabled: l }),
1483
+ className: ie(a, { disabled: l }),
1484
1484
  href: r,
1485
1485
  rel: p ? "noopener,noreferrer" : void 0,
1486
1486
  target: p ? "_blank" : void 0,
@@ -1537,7 +1537,7 @@ function Us(e, {
1537
1537
  if (!b || !p.current) return;
1538
1538
  const j = de.make(M.clientX, M.clientY), K = de.subtract(g.current ?? p.current, j);
1539
1539
  _.current?.(j, K, p.current), p.current = void 0, g.current = void 0, b.removeEventListener("mousemove", P), b.removeEventListener("mouseup", k, { capture: !0 }), b.removeEventListener("mouseleave", k), s && (b.style.cursor = "grab");
1540
- }, [s, P]), I = me((M) => {
1540
+ }, [s, P]), $ = me((M) => {
1541
1541
  const b = e.current;
1542
1542
  if (!b) return;
1543
1543
  M.preventDefault();
@@ -1554,10 +1554,10 @@ function Us(e, {
1554
1554
  }, [r, s]), Be(() => {
1555
1555
  const M = e.current;
1556
1556
  if (!(!M || !r))
1557
- return M.addEventListener("mousedown", I), () => {
1558
- M.removeEventListener("mousedown", I), M.removeEventListener("mousemove", P), M.removeEventListener("mouseup", k, { capture: !0 }), M.removeEventListener("mouseleave", k);
1557
+ return M.addEventListener("mousedown", $), () => {
1558
+ M.removeEventListener("mousedown", $), M.removeEventListener("mousemove", P), M.removeEventListener("mouseup", k, { capture: !0 }), M.removeEventListener("mouseleave", k);
1559
1559
  };
1560
- }, [r, P, k, I]);
1560
+ }, [r, P, k, $]);
1561
1561
  }
1562
1562
  function qs(e, {
1563
1563
  autoStarts: r = !0,
@@ -1586,26 +1586,26 @@ const Gs = /* @__PURE__ */ Oe(({
1586
1586
  ItemComponent: N,
1587
1587
  ..._
1588
1588
  }, P) => {
1589
- const k = Ee(void 0), I = Ee(null), M = Ee(void 0), b = Ee(void 0), j = Ee(void 0), K = 1e3, [W, F] = Se($n(I, l)), [Y, S] = Se(!1), C = Js({ scrollSnapEnabled: !Y, orientation: l }), E = e > 0, R = me((A) => {
1589
+ const k = Ee(void 0), $ = Ee(null), M = Ee(void 0), b = Ee(void 0), j = Ee(void 0), K = 1e3, [W, F] = Se(In($, l)), [Y, S] = Se(!1), C = Js({ scrollSnapEnabled: !Y, orientation: l }), E = e > 0, R = me((A) => {
1590
1590
  m?.(A);
1591
1591
  }, [m]), U = me((A) => {
1592
1592
  M.current = de.make(A.clientX, A.clientY), S(!0);
1593
1593
  }, []), G = me((A) => {
1594
1594
  const Q = M.current, Z = b.current;
1595
1595
  if (!Q || !Z) return;
1596
- const ie = 5, D = de.subtract(Q, Z);
1597
- (Math.abs(D.x) > ie || Math.abs(D.y) > ie) && A.stopPropagation(), M.current = void 0, b.current = void 0;
1596
+ const se = 5, D = de.subtract(Q, Z);
1597
+ (Math.abs(D.x) > se || Math.abs(D.y) > se) && A.stopPropagation(), M.current = void 0, b.current = void 0;
1598
1598
  }, []), te = me((A) => {
1599
1599
  b.current = de.make(A.clientX, A.clientY), Y && S(!1);
1600
1600
  }, [Y]), J = me(() => {
1601
- Ws(I, r, l), clearTimeout(j.current), j.current = setTimeout(() => {
1601
+ Ws($, r, l), clearTimeout(j.current), j.current = setTimeout(() => {
1602
1602
  clearTimeout(j.current), j.current = void 0;
1603
1603
  }, K);
1604
- }, [I.current, r, l, K]), H = me(() => {
1604
+ }, [$.current, r, l, K]), H = me(() => {
1605
1605
  const A = (r + a.length + 1) % a.length;
1606
1606
  R(A);
1607
1607
  }, [Y, r, a.length, R]), z = me(({ x: A, y: Q }) => {
1608
- const Z = I.current;
1608
+ const Z = $.current;
1609
1609
  switch (l) {
1610
1610
  case "horizontal":
1611
1611
  requestAnimationFrame(() => {
@@ -1620,21 +1620,21 @@ const Gs = /* @__PURE__ */ Oe(({
1620
1620
  default:
1621
1621
  console.error(`[etudes::Carousel] Unsupported orientation: ${l}`);
1622
1622
  }
1623
- }, [l, I.current]);
1623
+ }, [l, $.current]);
1624
1624
  return be(() => {
1625
- const A = I.current;
1625
+ const A = $.current;
1626
1626
  if (!A) return;
1627
- const Q = k.current === void 0, Z = k.current === r, ie = (D) => {
1628
- if (u && F($n(I, l)), j.current !== void 0) return;
1627
+ const Q = k.current === void 0, Z = k.current === r, se = (D) => {
1628
+ if (u && F(In($, l)), j.current !== void 0) return;
1629
1629
  const T = Math.round(l === "horizontal" ? A.scrollLeft / A.clientWidth : A.scrollTop / A.clientHeight), V = Math.max(0, Math.min(a.length - 1, T));
1630
1630
  V !== r && (k.current = V, R(V));
1631
1631
  };
1632
- return A.addEventListener("scroll", ie), u && F($n(I, l)), Z || (k.current = r, Q || (R(r), J())), () => {
1633
- A.removeEventListener("scroll", ie);
1632
+ return A.addEventListener("scroll", se), u && F(In($, l)), Z || (k.current = r, Q || (R(r), J())), () => {
1633
+ A.removeEventListener("scroll", se);
1634
1634
  };
1635
1635
  }, [r, l, u]), be(() => {
1636
1636
  E && (Y ? p?.() : g?.());
1637
- }, [Y, E]), Us(I, {
1637
+ }, [Y, E]), Us($, {
1638
1638
  isEnabled: s && a.length > 1,
1639
1639
  onDragMove: z
1640
1640
  }), qs(Y || !E ? -1 : e, {
@@ -1650,7 +1650,7 @@ const Gs = /* @__PURE__ */ Oe(({
1650
1650
  onPointerDown: (A) => U(A),
1651
1651
  onPointerLeave: (A) => te(A),
1652
1652
  onPointerUp: (A) => te(A),
1653
- children: /* @__PURE__ */ x.jsx("div", { ref: I, style: ce(C.viewport), children: /* @__PURE__ */ x.jsx(ln, { in: a, children: ({ style: A, ...Q }, Z) => /* @__PURE__ */ x.jsx("div", { style: ce(C.itemContainer), children: /* @__PURE__ */ x.jsx(
1653
+ children: /* @__PURE__ */ x.jsx("div", { ref: $, style: ce(C.viewport), children: /* @__PURE__ */ x.jsx(ln, { in: a, children: ({ style: A, ...Q }, Z) => /* @__PURE__ */ x.jsx("div", { style: ce(C.itemContainer), children: /* @__PURE__ */ x.jsx(
1654
1654
  N,
1655
1655
  {
1656
1656
  "aria-hidden": Z !== r,
@@ -1668,7 +1668,7 @@ function Ws(e, r, s) {
1668
1668
  const l = s === "horizontal" ? 0 : a.clientHeight * r, u = s === "horizontal" ? a.clientWidth * r : 0;
1669
1669
  a.scrollTop === l && a.scrollLeft === u || a.scrollTo({ top: l, left: u, behavior: "smooth" });
1670
1670
  }
1671
- function $n(e, r) {
1671
+ function In(e, r) {
1672
1672
  const s = e?.current;
1673
1673
  if (!s) return;
1674
1674
  const a = [];
@@ -1747,8 +1747,8 @@ const zo = /* @__PURE__ */ Oe(({
1747
1747
  onChange: N,
1748
1748
  ..._
1749
1749
  }, P) => {
1750
- const k = me((I) => {
1751
- const M = (p?.(I) ?? I) || r;
1750
+ const k = me(($) => {
1751
+ const M = (p?.($) ?? $) || r;
1752
1752
  N?.(M);
1753
1753
  }, [N, p]);
1754
1754
  return /* @__PURE__ */ x.jsx(
@@ -1759,15 +1759,15 @@ const zo = /* @__PURE__ */ Oe(({
1759
1759
  "aria-disabled": s,
1760
1760
  "aria-placeholder": l,
1761
1761
  "aria-required": a,
1762
- className: se(e, { disabled: s }),
1762
+ className: ie(e, { disabled: s }),
1763
1763
  disabled: s,
1764
1764
  placeholder: l,
1765
1765
  required: a,
1766
1766
  type: "text",
1767
1767
  value: u || r,
1768
- onBlur: ({ target: I }) => m?.(I.value),
1769
- onChange: ({ target: I }) => k(I.value),
1770
- onFocus: ({ target: I }) => g?.(I.value)
1768
+ onBlur: ({ target: $ }) => m?.($.value),
1769
+ onChange: ({ target: $ }) => k($.value),
1770
+ onFocus: ({ target: $ }) => g?.($.value)
1771
1771
  }
1772
1772
  );
1773
1773
  });
@@ -1790,18 +1790,18 @@ const Qs = /* @__PURE__ */ Oe(({
1790
1790
  K(C);
1791
1791
  }, k = (C) => {
1792
1792
  const E = M(C);
1793
- E !== u ? p?.(E) : K(I(E));
1794
- }, I = (C) => C.toLocaleString(), M = (C) => {
1793
+ E !== u ? p?.(E) : K($(E));
1794
+ }, $ = (C) => C.toLocaleString(), M = (C) => {
1795
1795
  const E = parseInt(C, 10);
1796
1796
  return E.toString() !== C.replace(/^0+/, "") ? u : b(E);
1797
1797
  }, b = (C) => {
1798
1798
  let E = C;
1799
1799
  return isNaN(l) || (E = Math.max(l, E)), isNaN(a) || (E = Math.min(a, E)), E;
1800
- }, [j, K] = Se(I(u)), W = Zs(u), F = !isNaN(a) && u + 1 > a, Y = !isNaN(l) && u - 1 < l;
1800
+ }, [j, K] = Se($(u)), W = Zs(u), F = !isNaN(a) && u + 1 > a, Y = !isNaN(l) && u - 1 < l;
1801
1801
  be(() => {
1802
1802
  if (W === void 0 || W === u) return;
1803
1803
  const C = b(u);
1804
- K(I(C));
1804
+ K($(C));
1805
1805
  }, [u, l, a]);
1806
1806
  const S = ze(e, {
1807
1807
  textField: Bn,
@@ -1812,7 +1812,7 @@ const Qs = /* @__PURE__ */ Oe(({
1812
1812
  /* @__PURE__ */ x.jsx(
1813
1813
  he,
1814
1814
  {
1815
- className: se({ disabled: Y }),
1815
+ className: ie({ disabled: Y }),
1816
1816
  element: S.subscribeButton ?? /* @__PURE__ */ x.jsx(Yn, {}),
1817
1817
  style: ce(Ut.subtract),
1818
1818
  onClick: () => N()
@@ -1832,7 +1832,7 @@ const Qs = /* @__PURE__ */ Oe(({
1832
1832
  /* @__PURE__ */ x.jsx(
1833
1833
  he,
1834
1834
  {
1835
- className: se({ disabled: F }),
1835
+ className: ie({ disabled: F }),
1836
1836
  element: S.addButton ?? /* @__PURE__ */ x.jsx(Hn, {}),
1837
1837
  style: ce(Ut.add),
1838
1838
  onClick: () => _()
@@ -1893,11 +1893,11 @@ function ta({
1893
1893
  const p = Ee(void 0), g = _e(a), m = _e(l), N = _e(u);
1894
1894
  Be(() => {
1895
1895
  const _ = (k) => {
1896
- const I = k.currentTarget;
1897
- m.current?.(I);
1896
+ const $ = k.currentTarget;
1897
+ m.current?.($);
1898
1898
  }, P = (k) => {
1899
- const I = k.currentTarget;
1900
- N.current?.(I);
1899
+ const $ = k.currentTarget;
1900
+ N.current?.($);
1901
1901
  };
1902
1902
  return p.current = new Image(), e && (p.current.src = e), r && (p.current.srcset = r), s && (p.current.sizes = s), g.current?.(p.current), p.current.addEventListener("load", _), p.current.addEventListener("error", P), () => {
1903
1903
  p.current?.removeEventListener("load", _), p.current?.removeEventListener("error", P), p.current = void 0;
@@ -1916,14 +1916,14 @@ function Lo({
1916
1916
  } = {}) {
1917
1917
  const [g, m] = Se(), N = _e(l), _ = _e(u), P = _e(p), k = me((b) => {
1918
1918
  a || m(void 0), N.current?.(b);
1919
- }, [a]), I = me((b) => {
1919
+ }, [a]), $ = me((b) => {
1920
1920
  m(na(b)), _.current?.(b);
1921
1921
  }, []), M = me((b) => {
1922
1922
  a || m(void 0), P.current?.(b);
1923
1923
  }, [a]);
1924
1924
  return ta({ src: e, srcSet: r, sizes: s }, {
1925
1925
  onLoadStart: k,
1926
- onLoadComplete: I,
1926
+ onLoadComplete: $,
1927
1927
  onLoadError: M
1928
1928
  }), g;
1929
1929
  }
@@ -1976,7 +1976,7 @@ const Fo = /* @__PURE__ */ Oe(({
1976
1976
  return;
1977
1977
  }
1978
1978
  return M && (W = `${M} ${W}`), W;
1979
- }).filter(Boolean).join(", "), I = Lo({
1979
+ }).filter(Boolean).join(", "), $ = Lo({
1980
1980
  src: a,
1981
1981
  srcSet: P,
1982
1982
  sizes: k
@@ -1986,8 +1986,8 @@ const Fo = /* @__PURE__ */ Oe(({
1986
1986
  onLoadError: g
1987
1987
  });
1988
1988
  return be(() => {
1989
- m?.(I);
1990
- }, [I?.width, I?.height]), /* @__PURE__ */ x.jsx(
1989
+ m?.($);
1990
+ }, [$?.width, $?.height]), /* @__PURE__ */ x.jsx(
1991
1991
  "img",
1992
1992
  {
1993
1993
  ...N,
@@ -2015,7 +2015,7 @@ const ra = /* @__PURE__ */ Oe(({
2015
2015
  onLoadError: _,
2016
2016
  ...P
2017
2017
  }, k) => {
2018
- const I = (E) => {
2018
+ const $ = (E) => {
2019
2019
  K(E ? E.width / E.height : NaN);
2020
2020
  }, M = Ee(null), b = k ?? M, [j, K] = Se(NaN), W = isNaN(a) ? j : a, F = nt(b), Y = F.width / F.height, S = Me.make(
2021
2021
  Y > 1 ? Math.max(F.width, F.height * W) : Math.max(F.width, Math.max(F.height, F.width / W) * W),
@@ -2046,7 +2046,7 @@ const ra = /* @__PURE__ */ Oe(({
2046
2046
  onLoadComplete: N,
2047
2047
  onLoadError: _,
2048
2048
  onLoadStart: m,
2049
- onSizeChange: (E) => I(E)
2049
+ onSizeChange: (E) => $(E)
2050
2050
  }
2051
2051
  ),
2052
2052
  C.viewport && /* @__PURE__ */ x.jsx(
@@ -2097,12 +2097,12 @@ function ia(e, {
2097
2097
  onLoadComplete: a,
2098
2098
  onLoadError: l
2099
2099
  } = {}) {
2100
- const [u, p] = Se(), g = _e(s), m = _e(a), N = _e(l), _ = me((I) => {
2101
- r || p(void 0), g.current?.(I);
2102
- }, [r]), P = me((I) => {
2103
- p(sa(I)), m.current?.(I);
2104
- }, []), k = me((I) => {
2105
- r || p(void 0), N.current?.(I);
2100
+ const [u, p] = Se(), g = _e(s), m = _e(a), N = _e(l), _ = me(($) => {
2101
+ r || p(void 0), g.current?.($);
2102
+ }, [r]), P = me(($) => {
2103
+ p(sa($)), m.current?.($);
2104
+ }, []), k = me(($) => {
2105
+ r || p(void 0), N.current?.($);
2106
2106
  }, [r]);
2107
2107
  return oa(e, {
2108
2108
  onLoadStart: _,
@@ -2128,7 +2128,7 @@ const Bo = /* @__PURE__ */ Oe(({
2128
2128
  onLoadMetadata: _,
2129
2129
  onLoadMetadataComplete: P,
2130
2130
  onLoadMetadataError: k,
2131
- onPause: I,
2131
+ onPause: $,
2132
2132
  onPlay: M,
2133
2133
  onSizeChange: b,
2134
2134
  onTimeUpdate: j,
@@ -2164,7 +2164,7 @@ const Bo = /* @__PURE__ */ Oe(({
2164
2164
  }, E = (H) => {
2165
2165
  M?.();
2166
2166
  }, R = (H) => {
2167
- I?.();
2167
+ $?.();
2168
2168
  }, U = (H) => {
2169
2169
  m?.();
2170
2170
  }, G = (H) => {
@@ -2210,7 +2210,7 @@ const aa = /* @__PURE__ */ Oe(({
2210
2210
  src: _,
2211
2211
  onCanPlay: P,
2212
2212
  onEnd: k,
2213
- onFullscreenChange: I,
2213
+ onFullscreenChange: $,
2214
2214
  onLoadMetadata: M,
2215
2215
  onLoadMetadataComplete: b,
2216
2216
  onLoadMetadataError: j,
@@ -2253,7 +2253,7 @@ const aa = /* @__PURE__ */ Oe(({
2253
2253
  }),
2254
2254
  onCanPlay: P,
2255
2255
  onEnd: k,
2256
- onFullscreenChange: I,
2256
+ onFullscreenChange: $,
2257
2257
  onLoadMetadata: M,
2258
2258
  onLoadMetadataComplete: b,
2259
2259
  onLoadMetadataError: j,
@@ -2304,9 +2304,9 @@ const ca = /* @__PURE__ */ Oe(({
2304
2304
  const _ = u * 2, P = Math.max(0, Math.min(360, a)), k = ze(e, {
2305
2305
  track: Xn,
2306
2306
  knob: Un
2307
- }), I = ua({ angle: s, diameter: _ });
2308
- return /* @__PURE__ */ x.jsxs("div", { ...m, ref: N, style: ce(r, I.root), children: [
2309
- /* @__PURE__ */ x.jsx("div", { style: I.trackContainer, children: /* @__PURE__ */ x.jsx("svg", { height: _, style: I.svgContainer, viewBox: `0 0 ${_} ${_}`, width: _, children: /* @__PURE__ */ x.jsx(
2307
+ }), $ = ua({ angle: s, diameter: _ });
2308
+ return /* @__PURE__ */ x.jsxs("div", { ...m, ref: N, style: ce(r, $.root), children: [
2309
+ /* @__PURE__ */ x.jsx("div", { style: $.trackContainer, children: /* @__PURE__ */ x.jsx("svg", { height: _, style: $.svgContainer, viewBox: `0 0 ${_} ${_}`, width: _, children: /* @__PURE__ */ x.jsx(
2310
2310
  he,
2311
2311
  {
2312
2312
  cx: u,
@@ -2318,7 +2318,7 @@ const ca = /* @__PURE__ */ Oe(({
2318
2318
  strokeWidth: g
2319
2319
  }
2320
2320
  ) }) }),
2321
- /* @__PURE__ */ x.jsx("div", { style: ce(I.knobContainer), children: /* @__PURE__ */ x.jsx("svg", { style: I.svgContainer, viewBox: `0 0 ${_} ${_}`, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ x.jsx(
2321
+ /* @__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(
2322
2322
  he,
2323
2323
  {
2324
2324
  d: la(u, u, u - l / 2 - (g - l) / 2, -P / 2, P / 2),
@@ -2401,7 +2401,7 @@ const fa = /* @__PURE__ */ Oe(({
2401
2401
  itemLength: _,
2402
2402
  itemPadding: P = 0,
2403
2403
  items: k = [],
2404
- maxVisibleItems: I = -1,
2404
+ maxVisibleItems: $ = -1,
2405
2405
  numSegments: M = 1,
2406
2406
  orientation: b = "vertical",
2407
2407
  selection: j = [],
@@ -2417,7 +2417,7 @@ const fa = /* @__PURE__ */ Oe(({
2417
2417
  ToggleComponent: G,
2418
2418
  ...te
2419
2419
  }, J) => {
2420
- const H = Ee(null), z = nt(H), A = k.length, Q = ga(k, I, M, m), Z = _ ?? (b === "vertical" ? z.height : z.width), ie = Z * Q + P * (Q - 1), D = pa(j, k), [T, V] = Se(u ?? !0), ne = ma({ isCollapsed: T, collectionPadding: l, isInverted: p, maxVisibleItems: I, menuLength: ie, numItems: A, orientation: b }), re = ze(e, {
2420
+ const H = Ee(null), z = nt(H), A = k.length, Q = ga(k, $, M, m), Z = _ ?? (b === "vertical" ? z.height : z.width), se = Z * Q + P * (Q - 1), D = pa(j, k), [T, V] = Se(u ?? !0), ne = ma({ isCollapsed: T, collectionPadding: l, isInverted: p, maxVisibleItems: $, menuLength: se, numItems: A, orientation: b }), re = ze(e, {
2421
2421
  collapseIcon: Xo,
2422
2422
  collection: qn,
2423
2423
  expandIcon: Uo,
@@ -2456,7 +2456,7 @@ const fa = /* @__PURE__ */ Oe(({
2456
2456
  {
2457
2457
  ...te,
2458
2458
  ref: J,
2459
- className: se(r, { collapsed: T, expanded: !T }),
2459
+ className: ie(r, { collapsed: T, expanded: !T }),
2460
2460
  style: ce(s, ne.root),
2461
2461
  children: /* @__PURE__ */ x.jsxs("div", { ref: H, style: ce(ne.body), children: [
2462
2462
  G ? /* @__PURE__ */ x.jsx(
@@ -2464,7 +2464,7 @@ const fa = /* @__PURE__ */ Oe(({
2464
2464
  {
2465
2465
  "aria-expanded": !T,
2466
2466
  "aria-haspopup": "listbox",
2467
- className: se({ collapsed: T, expanded: !T }),
2467
+ className: ie({ collapsed: T, expanded: !T }),
2468
2468
  style: ce(ne.toggle),
2469
2469
  onClick: Ne,
2470
2470
  onCustomEvent: (xe, q) => R?.(xe, q)
@@ -2474,7 +2474,7 @@ const fa = /* @__PURE__ */ Oe(({
2474
2474
  {
2475
2475
  "aria-expanded": !T,
2476
2476
  "aria-haspopup": "listbox",
2477
- className: se({ collapsed: T, expanded: !T }),
2477
+ className: ie({ collapsed: T, expanded: !T }),
2478
2478
  element: re.toggle ?? /* @__PURE__ */ x.jsx(Wn, {}),
2479
2479
  style: ce(ne.toggle),
2480
2480
  onClick: Ne,
@@ -2483,7 +2483,7 @@ const fa = /* @__PURE__ */ Oe(({
2483
2483
  re.expandIcon && /* @__PURE__ */ x.jsx(
2484
2484
  he,
2485
2485
  {
2486
- className: se({ collapsed: T, expanded: !T }),
2486
+ className: ie({ collapsed: T, expanded: !T }),
2487
2487
  element: T ? re.collapseIcon ?? re.expandIcon : re.expandIcon,
2488
2488
  style: ce(T ? ne.collapseIcon : ne.expandIcon)
2489
2489
  }
@@ -2896,7 +2896,7 @@ const ja = {
2896
2896
  },
2897
2897
  // skipEmptyListItem: false
2898
2898
  captureMetaData: !1
2899
- }, Ia = function(e) {
2899
+ }, $a = function(e) {
2900
2900
  return Object.assign({}, ja, e);
2901
2901
  };
2902
2902
  let on;
@@ -2916,7 +2916,7 @@ class at {
2916
2916
  return on;
2917
2917
  }
2918
2918
  }
2919
- function $a(e, r) {
2919
+ function Ia(e, r) {
2920
2920
  const s = {};
2921
2921
  if (e[r + 3] === "O" && e[r + 4] === "C" && e[r + 5] === "T" && e[r + 6] === "Y" && e[r + 7] === "P" && e[r + 8] === "E") {
2922
2922
  r = r + 9;
@@ -3221,7 +3221,7 @@ const Ja = function(e) {
3221
3221
  }
3222
3222
  u = g;
3223
3223
  } else if (e.substr(u + 1, 2) === "!D") {
3224
- const g = $a(e, u);
3224
+ const g = Ia(e, u);
3225
3225
  this.docTypeEntities = g.entities, u = g.i;
3226
3226
  } else if (e.substr(u + 1, 2) === "![") {
3227
3227
  const g = lt(e, "]]>", u, "CDATA is not closed.") - 2, m = e.substring(u + 9, g);
@@ -3233,8 +3233,8 @@ const Ja = function(e) {
3233
3233
  const N = g.rawTagName;
3234
3234
  let _ = g.tagExp, P = g.attrExpPresent, k = g.closeIndex;
3235
3235
  this.options.transformTagName && (m = this.options.transformTagName(m)), s && a && s.tagname !== "!xml" && (a = this.saveTextToParentTag(a, s, l, !1));
3236
- const I = s;
3237
- I && this.options.unpairedTags.indexOf(I.tagname) !== -1 && (s = this.tagsNodeStack.pop(), l = l.substring(0, l.lastIndexOf("."))), m !== r.tagname && (l += l ? "." + m : m);
3236
+ const $ = s;
3237
+ $ && this.options.unpairedTags.indexOf($.tagname) !== -1 && (s = this.tagsNodeStack.pop(), l = l.substring(0, l.lastIndexOf("."))), m !== r.tagname && (l += l ? "." + m : m);
3238
3238
  const M = u;
3239
3239
  if (this.isItStopNode(this.options.stopNodes, l, m)) {
3240
3240
  let b = "";
@@ -3434,7 +3434,7 @@ function ac(e, r) {
3434
3434
  }
3435
3435
  class cc {
3436
3436
  constructor(r) {
3437
- this.externalEntities = {}, this.options = Ia(r);
3437
+ this.externalEntities = {}, this.options = $a(r);
3438
3438
  }
3439
3439
  /**
3440
3440
  * Parse XML dats to JS object
@@ -3515,8 +3515,8 @@ function Jo(e, r, s, a) {
3515
3515
  }
3516
3516
  let _ = a;
3517
3517
  _ !== "" && (_ += r.indentBy);
3518
- const P = yo(g[":@"], r), k = a + `<${m}${P}`, I = Jo(g[m], r, N, _);
3519
- r.unpairedTags.indexOf(m) !== -1 ? r.suppressUnpairedNode ? l += k + ">" : l += k + "/>" : (!I || I.length === 0) && r.suppressEmptyNode ? l += k + "/>" : I && I.endsWith(">") ? l += k + `>${I}${a}</${m}>` : (l += k + ">", I && a !== "" && (I.includes("/>") || I.includes("</")) ? l += a + r.indentBy + I + a : l += I, l += `</${m}>`), u = !0;
3518
+ const P = yo(g[":@"], r), k = a + `<${m}${P}`, $ = Jo(g[m], r, N, _);
3519
+ r.unpairedTags.indexOf(m) !== -1 ? r.suppressUnpairedNode ? l += k + ">" : l += k + "/>" : (!$ || $.length === 0) && r.suppressEmptyNode ? l += k + "/>" : $ && $.endsWith(">") ? l += k + `>${$}${a}</${m}>` : (l += k + ">", $ && a !== "" && ($.includes("/>") || $.includes("</")) ? l += a + r.indentBy + $ + a : l += $, l += `</${m}>`), u = !0;
3520
3520
  }
3521
3521
  return l;
3522
3522
  }
@@ -3704,7 +3704,7 @@ const vc = /* @__PURE__ */ Oe(({
3704
3704
  shouldStripStyles: u = !0,
3705
3705
  ...p
3706
3706
  }, g) => {
3707
- const m = "@_", N = ["id"].map((M) => `${m}${M}`), _ = ["class"].map((M) => `${m}${M}`), P = ["fill", "stroke", "style"].map((M) => `${m}${M}`), k = ["x", "y"].map((M) => `${m}${M}`), I = () => {
3707
+ const m = "@_", N = ["id"].map((M) => `${m}${M}`), _ = ["class"].map((M) => `${m}${M}`), P = ["fill", "stroke", "style"].map((M) => `${m}${M}`), k = ["x", "y"].map((M) => `${m}${M}`), $ = () => {
3708
3708
  const M = new cc({
3709
3709
  attributeNamePrefix: m,
3710
3710
  ignoreAttributes: !1,
@@ -3743,7 +3743,7 @@ const vc = /* @__PURE__ */ Oe(({
3743
3743
  {
3744
3744
  ...p,
3745
3745
  ref: g,
3746
- dangerouslySetInnerHTML: { __html: I() },
3746
+ dangerouslySetInnerHTML: { __html: $() },
3747
3747
  role: "img"
3748
3748
  }
3749
3749
  );
@@ -3760,7 +3760,7 @@ const xo = "base-", yc = /* @__PURE__ */ Oe(({
3760
3760
  verticalSpacing: g = 0,
3761
3761
  ...m
3762
3762
  }, N) => {
3763
- const _ = Ee(null), [P, k] = Se(NaN), [I, M] = Se(NaN), [b, j] = Se(NaN), [K, W] = Se(NaN), F = () => ge.from(_.current)?.width ?? 0, Y = () => ge.from(_.current)?.height ?? 0, S = () => {
3763
+ const _ = Ee(null), [P, k] = Se(NaN), [$, M] = Se(NaN), [b, j] = Se(NaN), [K, W] = Se(NaN), F = () => ge.from(_.current)?.width ?? 0, Y = () => ge.from(_.current)?.height ?? 0, S = () => {
3764
3764
  const U = _.current;
3765
3765
  if (!U) return;
3766
3766
  const G = U.children, te = p;
@@ -3772,10 +3772,10 @@ const xo = "base-", yc = /* @__PURE__ */ Oe(({
3772
3772
  const J = [...new Array(te)].map(() => 0);
3773
3773
  for (const A of Array.from(G)) {
3774
3774
  if (!(A instanceof HTMLElement)) continue;
3775
- const Q = wo(A, p), [Z, ie] = bo(J, Q);
3776
- A.role = "gridcell", A.style.position = "absolute", A.style.width = `calc(${100 / te * Q}% - ${a * (te - 1) / te * Q}px + ${a * (Q - 1)}px)`, A.style.height = "", A.style.left = `calc(${100 / te * Z}% - ${a * (te - 1) / te * Z}px + ${a * Z}px)`, A.style.top = `${ie + (ie === 0 ? 0 : g)}px`;
3775
+ const Q = wo(A, p), [Z, se] = bo(J, Q);
3776
+ A.role = "gridcell", A.style.position = "absolute", A.style.width = `calc(${100 / te * Q}% - ${a * (te - 1) / te * Q}px + ${a * (Q - 1)}px)`, A.style.height = "", A.style.left = `calc(${100 / te * Z}% - ${a * (te - 1) / te * Z}px + ${a * Z}px)`, A.style.top = `${se + (se === 0 ? 0 : g)}px`;
3777
3777
  for (let D = 0; D < Q; D++)
3778
- J[Z + D] = ie + (ie === 0 ? 0 : g) + (ge.from(A)?.height ?? 0);
3778
+ J[Z + D] = se + (se === 0 ? 0 : g) + (ge.from(A)?.height ?? 0);
3779
3779
  if (e && Z + Q === te) {
3780
3780
  const D = Pt(J);
3781
3781
  for (let T = 0; T < te; T++)
@@ -3790,10 +3790,10 @@ const xo = "base-", yc = /* @__PURE__ */ Oe(({
3790
3790
  const J = [...new Array(te)].map(() => 0);
3791
3791
  for (const A of Array.from(G)) {
3792
3792
  if (!(A instanceof HTMLElement)) continue;
3793
- const Q = wo(A, p), [Z, ie] = bo(J, Q);
3794
- A.style.position = "absolute", A.style.width = "", A.style.height = `calc(${100 / te * Q}% - ${g * (te - 1) / te * Q}px + ${g * (Q - 1)}px)`, A.style.top = `calc(${100 / te * Z}% - ${g * (te - 1) / te * Z}px + ${g * Z}px)`, A.style.left = `${ie + (ie === 0 ? 0 : a)}px`;
3793
+ const Q = wo(A, p), [Z, se] = bo(J, Q);
3794
+ A.style.position = "absolute", A.style.width = "", A.style.height = `calc(${100 / te * Q}% - ${g * (te - 1) / te * Q}px + ${g * (Q - 1)}px)`, A.style.top = `calc(${100 / te * Z}% - ${g * (te - 1) / te * Z}px + ${g * Z}px)`, A.style.left = `${se + (se === 0 ? 0 : a)}px`;
3795
3795
  for (let D = 0; D < Q; D++)
3796
- J[Z + D] = ie + (ie === 0 ? 0 : a) + (ge.from(A)?.width ?? 0);
3796
+ J[Z + D] = se + (se === 0 ? 0 : a) + (ge.from(A)?.width ?? 0);
3797
3797
  if (e && Z + Q === te) {
3798
3798
  const D = Pt(J);
3799
3799
  for (let T = 0; T < te; T++)
@@ -3807,7 +3807,7 @@ const xo = "base-", yc = /* @__PURE__ */ Oe(({
3807
3807
  }
3808
3808
  }, C = me((U) => {
3809
3809
  const G = ge.size(ge.from(U) ?? ge.zero), te = F(), J = Y();
3810
- (P !== te || I !== J || G.width !== b || G.height !== K) && (S(), j(G.width), W(G.height));
3810
+ (P !== te || $ !== J || G.width !== b || G.height !== K) && (S(), j(G.width), W(G.height));
3811
3811
  }, [e, a, l, p, g, u]);
3812
3812
  dr(_, {
3813
3813
  onResize: C
@@ -3820,13 +3820,13 @@ const xo = "base-", yc = /* @__PURE__ */ Oe(({
3820
3820
  H.src = J, H.onload = () => S();
3821
3821
  }
3822
3822
  }, [r]);
3823
- const E = xc({ orientation: u }), R = bc({ orientation: u, minHeight: I, minWidth: P });
3823
+ const E = xc({ orientation: u }), R = bc({ orientation: u, minHeight: $, minWidth: P });
3824
3824
  return /* @__PURE__ */ x.jsx(
3825
3825
  "div",
3826
3826
  {
3827
3827
  ...m,
3828
3828
  ref: N,
3829
- className: se(s, E.root),
3829
+ className: ie(s, E.root),
3830
3830
  role: "grid",
3831
3831
  children: /* @__PURE__ */ x.jsx("div", { ref: _, style: R.body, children: r })
3832
3832
  }
@@ -3834,7 +3834,7 @@ const xo = "base-", yc = /* @__PURE__ */ Oe(({
3834
3834
  });
3835
3835
  function xc({ orientation: e = "horizontal" }) {
3836
3836
  return {
3837
- root: se(e)
3837
+ root: ie(e)
3838
3838
  };
3839
3839
  }
3840
3840
  function bc({ orientation: e = "horizontal", minHeight: r = NaN, minWidth: s = NaN }) {
@@ -3976,7 +3976,7 @@ function Sc() {
3976
3976
  if (n === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3977
3977
  return n;
3978
3978
  }
3979
- function I(n) {
3979
+ function $(n) {
3980
3980
  var t = function() {
3981
3981
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
3982
3982
  if (typeof Proxy == "function") return !0;
@@ -4107,7 +4107,7 @@ function Sc() {
4107
4107
  }
4108
4108
  return !1;
4109
4109
  }
4110
- function ie(n, t) {
4110
+ function se(n, t) {
4111
4111
  for (; E.element(n); ) {
4112
4112
  if (T(n, t)) return n;
4113
4113
  n = D(n);
@@ -4166,7 +4166,7 @@ function Sc() {
4166
4166
  return n;
4167
4167
  }
4168
4168
  function Fe(n, t, o) {
4169
- return n === "parent" ? D(o) : n === "self" ? t.getRect(o) : ie(o, n);
4169
+ return n === "parent" ? D(o) : n === "self" ? t.getRect(o) : se(o, n);
4170
4170
  }
4171
4171
  function je(n, t, o, i) {
4172
4172
  var c = n;
@@ -4209,7 +4209,7 @@ function Sc() {
4209
4209
  var pt = function(n, t) {
4210
4210
  return Math.sqrt(n * n + t * t);
4211
4211
  }, ii = ["webkit", "moz"];
4212
- function It(n, t) {
4212
+ function $t(n, t) {
4213
4213
  n.__set || (n.__set = {});
4214
4214
  var o = function(c) {
4215
4215
  if (ii.some(function(f) {
@@ -4224,7 +4224,7 @@ function Sc() {
4224
4224
  for (var i in t) o(i);
4225
4225
  return n;
4226
4226
  }
4227
- function $t(n, t) {
4227
+ function It(n, t) {
4228
4228
  n.page = n.page || {}, n.page.x = t.page.x, n.page.y = t.page.y, n.client = n.client || {}, n.client.x = t.client.x, n.client.y = t.client.y, n.timeStamp = t.timeStamp;
4229
4229
  }
4230
4230
  function yr(n) {
@@ -4310,7 +4310,7 @@ function Sc() {
4310
4310
  return n[gt(n, t)];
4311
4311
  }, ut = function(n) {
4312
4312
  N(o, n);
4313
- var t = I(o);
4313
+ var t = $(o);
4314
4314
  function o(i, c, f) {
4315
4315
  var d;
4316
4316
  u(this, o), (d = t.call(this, c._interaction)).dropzone = void 0, d.dragEvent = void 0, d.relatedTarget = void 0, d.draggable = void 0, d.propagationStopped = !1, d.immediatePropagationStopped = !1;
@@ -4347,8 +4347,8 @@ function Sc() {
4347
4347
  var y = w[v];
4348
4348
  if (y.options.drop.enabled) {
4349
4349
  var O = y.options.drop.accept;
4350
- if (!(E.element(O) && O !== d || E.string(O) && !T(d, O) || E.func(O) && !O({ dropzone: y, draggableElement: d }))) for (var $ = 0, B = y.getAllElements(); $ < B.length; $++) {
4351
- var L = B[$];
4350
+ if (!(E.element(O) && O !== d || E.string(O) && !T(d, O) || E.func(O) && !O({ dropzone: y, draggableElement: d }))) for (var I = 0, B = y.getAllElements(); I < B.length; I++) {
4351
+ var L = B[I];
4352
4352
  L !== d && h.push({ dropzone: y, element: L, rect: y.getRect(L) });
4353
4353
  }
4354
4354
  }
@@ -4362,15 +4362,15 @@ function Sc() {
4362
4362
  }
4363
4363
  function Or(n, t, o) {
4364
4364
  for (var i = n.dropState, c = n.interactable, f = n.element, d = [], h = 0, v = i.activeDrops; h < v.length; h++) {
4365
- var w = v[h], y = w.dropzone, O = w.element, $ = w.rect, B = y.dropCheck(t, o, c, f, O, $);
4365
+ var w = v[h], y = w.dropzone, O = w.element, I = w.rect, B = y.dropCheck(t, o, c, f, O, I);
4366
4366
  d.push(B ? O : null);
4367
4367
  }
4368
4368
  var L = function(X) {
4369
4369
  for (var oe, ee, ae, ve = [], we = 0; we < X.length; we++) {
4370
4370
  var ue = X[we], ye = X[oe];
4371
4371
  if (ue && we !== oe) if (ye) {
4372
- var $e = V(ue), Pe = V(ye);
4373
- if ($e !== ue.ownerDocument) if (Pe !== ue.ownerDocument) if ($e !== Pe) {
4372
+ var Ie = V(ue), Pe = V(ye);
4373
+ if (Ie !== ue.ownerDocument) if (Pe !== ue.ownerDocument) if (Ie !== Pe) {
4374
4374
  ve = ve.length ? ve : ne(ye);
4375
4375
  var Le = void 0;
4376
4376
  if (ye instanceof z.HTMLElement && ue instanceof z.SVGElement && !(ue instanceof z.SVGSVGElement)) {
@@ -4418,8 +4418,8 @@ function Sc() {
4418
4418
  return function(d, h) {
4419
4419
  if (E.object(h)) {
4420
4420
  if (d.options.drop.enabled = h.enabled !== !1, h.listeners) {
4421
- var v = Ye(h.listeners), w = Object.keys(v).reduce(function(O, $) {
4422
- return O[/^(enter|leave)/.test($) ? "drag".concat($) : /^(activate|deactivate|move)/.test($) ? "drop".concat($) : $] = v[$], O;
4421
+ var v = Ye(h.listeners), w = Object.keys(v).reduce(function(O, I) {
4422
+ return O[/^(enter|leave)/.test(I) ? "drag".concat(I) : /^(activate|deactivate|move)/.test(I) ? "drop".concat(I) : I] = v[I], O;
4423
4423
  }, {}), y = d.options.drop.listeners;
4424
4424
  y && d.off(y), d.on(w), d.options.drop.listeners = w;
4425
4425
  }
@@ -4428,22 +4428,22 @@ function Sc() {
4428
4428
  return E.bool(h) ? (d.options.drop.enabled = h, d) : d.options.drop;
4429
4429
  }(this, f);
4430
4430
  }, i.prototype.dropCheck = function(f, d, h, v, w, y) {
4431
- return function(O, $, B, L, X, oe, ee) {
4431
+ return function(O, I, B, L, X, oe, ee) {
4432
4432
  var ae = !1;
4433
- if (!(ee = ee || O.getRect(oe))) return !!O.options.drop.checker && O.options.drop.checker($, B, ae, O, oe, L, X);
4433
+ if (!(ee = ee || O.getRect(oe))) return !!O.options.drop.checker && O.options.drop.checker(I, B, ae, O, oe, L, X);
4434
4434
  var ve = O.options.drop.overlap;
4435
4435
  if (ve === "pointer") {
4436
- var we = He(L, X, "drag"), ue = br($);
4436
+ var we = He(L, X, "drag"), ue = br(I);
4437
4437
  ue.x += we.x, ue.y += we.y;
4438
- var ye = ue.x > ee.left && ue.x < ee.right, $e = ue.y > ee.top && ue.y < ee.bottom;
4439
- ae = ye && $e;
4438
+ var ye = ue.x > ee.left && ue.x < ee.right, Ie = ue.y > ee.top && ue.y < ee.bottom;
4439
+ ae = ye && Ie;
4440
4440
  }
4441
4441
  var Pe = L.getRect(X);
4442
4442
  if (Pe && ve === "center") {
4443
4443
  var Le = Pe.left + Pe.width / 2, De = Pe.top + Pe.height / 2;
4444
4444
  ae = Le >= ee.left && Le <= ee.right && De >= ee.top && De <= ee.bottom;
4445
4445
  }
4446
- return Pe && E.number(ve) && (ae = Math.max(0, Math.min(ee.right, Pe.right) - Math.max(ee.left, Pe.left)) * Math.max(0, Math.min(ee.bottom, Pe.bottom) - Math.max(ee.top, Pe.top)) / (Pe.width * Pe.height) >= ve), O.options.drop.checker && (ae = O.options.drop.checker($, B, ae, O, oe, L, X)), ae;
4446
+ return Pe && E.number(ve) && (ae = Math.max(0, Math.min(ee.right, Pe.right) - Math.max(ee.left, Pe.left)) * Math.max(0, Math.min(ee.bottom, Pe.bottom) - Math.max(ee.top, Pe.top)) / (Pe.width * Pe.height) >= ve), O.options.drop.checker && (ae = O.options.drop.checker(I, B, ae, O, oe, L, X)), ae;
4447
4447
  }(this, f, d, h, v, w, y);
4448
4448
  }, o.dynamicDrop = function(f) {
4449
4449
  return E.bool(f) ? (n.dynamicDrop = f, o) : n.dynamicDrop;
@@ -4555,8 +4555,8 @@ function Sc() {
4555
4555
  (function(t) {
4556
4556
  var o = t.iEvent, i = t.interaction;
4557
4557
  if (i.prepared.name === "resize" && i.prepared.edges) {
4558
- var c = o, f = i.interactable.options.resize.invert, d = f === "reposition" || f === "negate", h = i.rect, v = i._rects, w = v.start, y = v.corrected, O = v.delta, $ = v.previous;
4559
- if (q($, y), d) {
4558
+ var c = o, f = i.interactable.options.resize.invert, d = f === "reposition" || f === "negate", h = i.rect, v = i._rects, w = v.start, y = v.corrected, O = v.delta, I = v.previous;
4559
+ if (q(I, y), d) {
4560
4560
  if (q(y, h), f === "reposition") {
4561
4561
  if (y.top > y.bottom) {
4562
4562
  var B = y.top;
@@ -4568,7 +4568,7 @@ function Sc() {
4568
4568
  }
4569
4569
  }
4570
4570
  } else y.top = Math.min(h.top, w.bottom), y.bottom = Math.max(h.bottom, w.top), y.left = Math.min(h.left, w.right), y.right = Math.max(h.right, w.left);
4571
- for (var X in y.width = y.right - y.left, y.height = y.bottom - y.top, y) O[X] = y[X] - $[X];
4571
+ for (var X in y.width = y.right - y.left, y.height = y.bottom - y.top, y) O[X] = y[X] - I[X];
4572
4572
  c.edges = i.prepared.edges, c.rect = y, c.deltaRect = O;
4573
4573
  }
4574
4574
  })(n), Cr(n);
@@ -4631,14 +4631,14 @@ function Sc() {
4631
4631
  }, stop: function() {
4632
4632
  fe.isScrolling = !1, fe.interaction && (fe.interaction.autoScroll = null), Ke.cancel(fe.i);
4633
4633
  }, scroll: function() {
4634
- var n = fe.interaction, t = n.interactable, o = n.element, i = n.prepared.name, c = t.options[i].autoScroll, f = Ir(c.container, t, o), d = fe.now(), h = (d - fe.prevTime) / 1e3, v = c.speed * h;
4634
+ var n = fe.interaction, t = n.interactable, o = n.element, i = n.prepared.name, c = t.options[i].autoScroll, f = $r(c.container, t, o), d = fe.now(), h = (d - fe.prevTime) / 1e3, v = c.speed * h;
4635
4635
  if (v >= 1) {
4636
4636
  var w = { x: fe.x * v, y: fe.y * v };
4637
4637
  if (w.x || w.y) {
4638
- var y = $r(f);
4638
+ var y = Ir(f);
4639
4639
  E.window(f) ? f.scrollBy(w.x, w.y) : f && (f.scrollLeft += w.x, f.scrollTop += w.y);
4640
- var O = $r(f), $ = { x: O.x - y.x, y: O.y - y.y };
4641
- ($.x || $.y) && t.fire({ type: "autoscroll", target: o, interactable: t, delta: $, interaction: n, container: f });
4640
+ var O = Ir(f), I = { x: O.x - y.x, y: O.y - y.y };
4641
+ (I.x || I.y) && t.fire({ type: "autoscroll", target: o, interactable: t, delta: I, interaction: n, container: f });
4642
4642
  }
4643
4643
  fe.prevTime = d;
4644
4644
  }
@@ -4650,19 +4650,19 @@ function Sc() {
4650
4650
  var t = n.interaction, o = n.pointer;
4651
4651
  if (t.interacting() && fe.check(t.interactable, t.prepared.name)) if (t.simulation) fe.x = fe.y = 0;
4652
4652
  else {
4653
- var i, c, f, d, h = t.interactable, v = t.element, w = t.prepared.name, y = h.options[w].autoScroll, O = Ir(y.container, h, v);
4653
+ var i, c, f, d, h = t.interactable, v = t.element, w = t.prepared.name, y = h.options[w].autoScroll, O = $r(y.container, h, v);
4654
4654
  if (E.window(O)) d = o.clientX < fe.margin, i = o.clientY < fe.margin, c = o.clientX > O.innerWidth - fe.margin, f = o.clientY > O.innerHeight - fe.margin;
4655
4655
  else {
4656
- var $ = pe(O);
4657
- d = o.clientX < $.left + fe.margin, i = o.clientY < $.top + fe.margin, c = o.clientX > $.right - fe.margin, f = o.clientY > $.bottom - fe.margin;
4656
+ var I = pe(O);
4657
+ d = 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;
4658
4658
  }
4659
4659
  fe.x = c ? 1 : d ? -1 : 0, fe.y = f ? 1 : i ? -1 : 0, fe.isScrolling || (fe.margin = y.margin, fe.speed = y.speed, fe.start(t));
4660
4660
  }
4661
4661
  } };
4662
- function Ir(n, t, o) {
4662
+ function $r(n, t, o) {
4663
4663
  return (E.string(n) ? Fe(n, t, o) : n) || Y(o);
4664
4664
  }
4665
- function $r(n) {
4665
+ function Ir(n) {
4666
4666
  return E.window(n) && (n = window.document.body), { x: n.scrollLeft, y: n.scrollTop };
4667
4667
  }
4668
4668
  var di = { id: "auto-scroll", install: function(n) {
@@ -4696,7 +4696,7 @@ function Sc() {
4696
4696
  var t = n.Interactable;
4697
4697
  t.prototype.getAction = function(o, i, c, f) {
4698
4698
  var d = function(h, v, w, y, O) {
4699
- var $ = h.getRect(y), B = v.buttons || { 0: 1, 1: 4, 3: 8, 4: 16 }[v.button], L = { action: null, interactable: h, interaction: w, element: y, rect: $, buttons: B };
4699
+ var I = h.getRect(y), B = v.buttons || { 0: 1, 1: 4, 3: 8, 4: 16 }[v.button], L = { action: null, interactable: h, interaction: w, element: y, rect: I, buttons: B };
4700
4700
  return O.fire("auto-start:check", L), L.action;
4701
4701
  }(this, i, c, f, n);
4702
4702
  return this.options.actionChecker ? this.options.actionChecker(o, i, d, this, f, c) : d;
@@ -4713,8 +4713,8 @@ function Sc() {
4713
4713
  for (var h = 0, v = i.length; h < v; h++) {
4714
4714
  var w = i[h], y = c[h], O = w.getAction(t, o, n, y);
4715
4715
  if (O) {
4716
- var $ = Ar(O, w, y, f, d);
4717
- if ($) return { action: $, interactable: w, element: y };
4716
+ var I = Ar(O, w, y, f, d);
4717
+ if (I) return { action: I, interactable: w, element: y };
4718
4718
  }
4719
4719
  }
4720
4720
  return { action: null, interactable: null, element: null };
@@ -4739,8 +4739,8 @@ function Sc() {
4739
4739
  function Rt(n, t, o, i) {
4740
4740
  var c = n.options, f = c[o.name].max, d = c[o.name].maxPerElement, h = i.autoStart.maxInteractions, v = 0, w = 0, y = 0;
4741
4741
  if (!(f && d && h)) return !1;
4742
- for (var O = 0, $ = i.interactions.list; O < $.length; O++) {
4743
- var B = $[O], L = B.prepared.name;
4742
+ for (var O = 0, I = i.interactions.list; O < I.length; O++) {
4743
+ var B = I[O], L = B.prepared.name;
4744
4744
  if (B.interacting() && (++v >= h || B.interactable === n && ((w += L === o.name ? 1 : 0) >= f || B.element === t && (y++, L === o.name && y >= d))))
4745
4745
  return !1;
4746
4746
  }
@@ -4793,7 +4793,7 @@ function Sc() {
4793
4793
  var d = Math.abs(c), h = Math.abs(f), v = o.interactable.options.drag, w = v.startAxis, y = d > h ? "x" : d < h ? "y" : "xy";
4794
4794
  if (o.prepared.axis = v.lockAxis === "start" ? y[0] : v.lockAxis, y !== "xy" && w !== "xy" && w !== y) {
4795
4795
  o.prepared.name = null;
4796
- for (var O = i, $ = function(L) {
4796
+ for (var O = i, I = function(L) {
4797
4797
  if (L !== o.interactable) {
4798
4798
  var X = o.interactable.options.drag;
4799
4799
  if (!X.manualStart && L.testIgnoreAllow(X, O, i)) {
@@ -4806,7 +4806,7 @@ function Sc() {
4806
4806
  }
4807
4807
  }
4808
4808
  }; E.element(O); ) {
4809
- var B = t.interactables.forEachMatch(O, $);
4809
+ var B = t.interactables.forEachMatch(O, I);
4810
4810
  if (B) {
4811
4811
  o.prepared.name = "drag", o.interactable = B, o.element = O;
4812
4812
  break;
@@ -4889,11 +4889,11 @@ function Sc() {
4889
4889
  return g(n, [{ key: "start", value: function(t, o) {
4890
4890
  var i, c, f = t.phase, d = this.interaction, h = function(w) {
4891
4891
  var y = w.interactable.options[w.prepared.name], O = y.modifiers;
4892
- return O && O.length ? O : ["snap", "snapSize", "snapEdges", "restrict", "restrictEdges", "restrictSize"].map(function($) {
4893
- var B = y[$];
4892
+ return O && O.length ? O : ["snap", "snapSize", "snapEdges", "restrict", "restrictEdges", "restrictSize"].map(function(I) {
4893
+ var B = y[I];
4894
4894
  return B && B.enabled && { options: B, methods: B._methods };
4895
- }).filter(function($) {
4896
- return !!$;
4895
+ }).filter(function(I) {
4896
+ return !!I;
4897
4897
  });
4898
4898
  }(d);
4899
4899
  this.prepareStates(h), this.startEdges = q({}, d.edges), this.edges = q({}, this.startEdges), this.startOffset = (i = d.rect, c = o, i ? { left: c.x - i.left, top: c.y - i.top, right: i.right - c.x, bottom: i.bottom - c.y } : { left: 0, top: 0, right: 0, bottom: 0 }), this.startDelta = { x: 0, y: 0 };
@@ -4911,8 +4911,8 @@ function Sc() {
4911
4911
  var o = t.phase, i = t.preEnd, c = t.skipModifiers, f = t.rect, d = t.edges;
4912
4912
  t.coords = q({}, t.pageCoords), t.rect = q({}, f), t.edges = q({}, d);
4913
4913
  for (var h = c ? this.states.slice(c) : this.states, v = Lt(t.coords, t.rect), w = 0; w < h.length; w++) {
4914
- var y, O = h[w], $ = O.options, B = q({}, t.coords), L = null;
4915
- (y = O.methods) != null && y.set && this.shouldDo($, i, o) && (t.state = O, L = O.methods.set(t), Re(t.edges, t.rect, { x: t.coords.x - B.x, y: t.coords.y - B.y })), v.eventProps.push(L);
4914
+ var y, O = h[w], I = O.options, B = q({}, t.coords), L = null;
4915
+ (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 - B.x, y: t.coords.y - B.y })), v.eventProps.push(L);
4916
4916
  }
4917
4917
  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;
4918
4918
  var X = this.result.coords, oe = this.result.rect;
@@ -4925,8 +4925,8 @@ function Sc() {
4925
4925
  var o = this.interaction, i = t.phase, c = o.coords.cur, f = o.coords.start, d = this.result, h = this.startDelta, v = d.delta;
4926
4926
  i === "start" && q(this.startDelta, d.delta);
4927
4927
  for (var w = 0, y = [[f, h], [c, v]]; w < y.length; w++) {
4928
- var O = y[w], $ = O[0], B = O[1];
4929
- $.page.x += B.x, $.page.y += B.y, $.client.x += B.x, $.client.y += B.y;
4928
+ var O = y[w], I = O[0], B = O[1];
4929
+ I.page.x += B.x, I.page.y += B.y, I.client.x += B.x, I.client.y += B.y;
4930
4930
  }
4931
4931
  var L = this.result.rectDelta, X = t.rect || o.rect;
4932
4932
  X.left += L.left, X.right += L.right, X.top += L.top, X.bottom += L.bottom, X.width = X.right - X.left, X.height = X.bottom - X.top;
@@ -4972,7 +4972,7 @@ function Sc() {
4972
4972
  var o = t.interaction, i = o.coords, c = o.rect, f = o.modification;
4973
4973
  if (f.result) {
4974
4974
  for (var d = f.startDelta, h = f.result, v = h.delta, w = h.rectDelta, y = 0, O = [[i.start, d], [i.cur, v]]; y < O.length; y++) {
4975
- var $ = O[y], B = $[0], L = $[1];
4975
+ var I = O[y], B = I[0], L = I[1];
4976
4976
  B.page.x -= L.x, B.page.y -= L.y, B.client.x -= L.x, B.client.y -= L.y;
4977
4977
  }
4978
4978
  c.left -= w.left, c.right -= w.right, c.top -= w.top, c.bottom -= w.bottom;
@@ -5029,12 +5029,12 @@ function Sc() {
5029
5029
  return n.interaction.modification.stop(n);
5030
5030
  } } }, Dr = Ti, Vr = { base: { preventDefault: "auto", deltaSource: "page" }, perAction: { enabled: !1, origin: { x: 0, y: 0 } }, actions: {} }, Sn = function(n) {
5031
5031
  N(o, n);
5032
- var t = I(o);
5032
+ var t = $(o);
5033
5033
  function o(i, c, f, d, h, v, w) {
5034
5034
  var y;
5035
5035
  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;
5036
- var O = i.interactable, $ = (O && O.options || Vr).deltaSource, B = He(O, h, f), L = d === "start", X = d === "end", oe = L ? k(y) : i.prevEvent, ee = L ? i.coords.start : X ? { page: oe.page, client: oe.client, timeStamp: i.coords.cur.timeStamp } : i.coords.cur;
5037
- return y.page = q({}, ee.page), y.client = q({}, ee.client), y.rect = q({}, i.rect), y.timeStamp = ee.timeStamp, X || (y.page.x -= B.x, y.page.y -= B.y, y.client.x -= B.x, y.client.y -= B.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 = w || f + (d || ""), y.interactable = O, y.t0 = L ? i.pointers[i.pointers.length - 1].downTime : oe.t0, y.x0 = i.coords.start.page.x - B.x, y.y0 = i.coords.start.page.y - B.y, y.clientX0 = i.coords.start.client.x - B.x, y.clientY0 = i.coords.start.client.y - B.y, y.delta = L || X ? { x: 0, y: 0 } : { x: y[$].x - oe[$].x, y: y[$].y - oe[$].y }, y.dt = i.coords.delta.timeStamp, y.duration = y.timeStamp - y.t0, y.velocity = q({}, i.coords.velocity[$]), y.speed = pt(y.velocity.x, y.velocity.y), y.swipe = X || d === "inertiastart" ? y.getSwipe() : null, y;
5036
+ var O = i.interactable, I = (O && O.options || Vr).deltaSource, B = He(O, h, f), L = d === "start", X = d === "end", oe = L ? k(y) : i.prevEvent, ee = L ? i.coords.start : X ? { page: oe.page, client: oe.client, timeStamp: i.coords.cur.timeStamp } : i.coords.cur;
5037
+ return y.page = q({}, ee.page), y.client = q({}, ee.client), y.rect = q({}, i.rect), y.timeStamp = ee.timeStamp, X || (y.page.x -= B.x, y.page.y -= B.y, y.client.x -= B.x, y.client.y -= B.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 = w || f + (d || ""), y.interactable = O, y.t0 = L ? i.pointers[i.pointers.length - 1].downTime : oe.t0, y.x0 = i.coords.start.page.x - B.x, y.y0 = i.coords.start.page.y - B.y, y.clientX0 = i.coords.start.client.x - B.x, y.clientY0 = i.coords.start.client.y - B.y, y.delta = L || X ? { 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 = X || d === "inertiastart" ? y.getSwipe() : null, y;
5038
5038
  }
5039
5039
  return g(o, [{ key: "getSwipe", value: function() {
5040
5040
  var i = this._interaction;
@@ -5123,7 +5123,7 @@ function Sc() {
5123
5123
  var c, f, d = 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;
5124
5124
  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);
5125
5125
  var h, v, w, y = this.getPointerIndex(t), O = { pointer: t, pointerIndex: y, pointerInfo: this.pointers[y], event: o, type: "move", eventTarget: i, dx: c, dy: f, duplicate: d, interaction: this };
5126
- d || (h = this.coords.velocity, v = this.coords.delta, w = Math.max(v.timeStamp / 1e3, 1e-3), h.page.x = v.page.x / w, h.page.y = v.page.y / w, h.client.x = v.client.x / w, h.client.y = v.client.y / w, h.timeStamp = w), this._scopeFire("interactions:move", O), d || this.simulation || (this.interacting() && (O.type = null, this.move(O)), this.pointerWasMoved && $t(this.coords.prev, this.coords.cur));
5126
+ d || (h = this.coords.velocity, v = this.coords.delta, w = Math.max(v.timeStamp / 1e3, 1e-3), h.page.x = v.page.x / w, h.page.y = v.page.y / w, h.client.x = v.client.x / w, h.client.y = v.client.y / w, h.timeStamp = w), this._scopeFire("interactions:move", O), d || this.simulation || (this.interacting() && (O.type = null, this.move(O)), this.pointerWasMoved && It(this.coords.prev, this.coords.cur));
5127
5127
  } }, { key: "move", value: function(t) {
5128
5128
  t && t.event || yr(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);
5129
5129
  } }, { key: "pointerUp", value: function(t, o, i, c) {
@@ -5153,7 +5153,7 @@ function Sc() {
5153
5153
  var f, d, h, v = ht(t), w = this.getPointerIndex(t), y = this.pointers[w];
5154
5154
  return c = c !== !1 && (c || /(down|start)$/i.test(o.type)), y ? y.pointer = t : (y = new _i(v, t, o, null, null), w = this.pointers.length, this.pointers.push(y)), si(this.coords.cur, this.pointers.map(function(O) {
5155
5155
  return O.pointer;
5156
- }), this._now()), f = this.coords.delta, d = this.coords.prev, h = this.coords.cur, f.page.x = h.page.x - d.page.x, f.page.y = h.page.y - d.page.y, f.client.x = h.client.x - d.client.x, f.client.y = h.client.y - d.client.y, f.timeStamp = h.timeStamp - d.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: w, interaction: this }), w;
5156
+ }), this._now()), f = this.coords.delta, d = this.coords.prev, h = this.coords.cur, f.page.x = h.page.x - d.page.x, f.page.y = h.page.y - d.page.y, f.client.x = h.client.x - d.client.x, f.client.y = h.client.y - d.client.y, f.timeStamp = h.timeStamp - d.timeStamp, c && (this.pointerIsDown = !0, y.downTime = this.coords.cur.timeStamp, y.downTarget = i, $t(this.downPointer, t), this.interacting() || (It(this.coords.start, this.coords.cur), It(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: w, interaction: this }), w;
5157
5157
  } }, { key: "removePointer", value: function(t, o) {
5158
5158
  var i = this.getPointerIndex(t);
5159
5159
  if (i !== -1) {
@@ -5211,7 +5211,7 @@ function Sc() {
5211
5211
  }, "interactions:stop": function(n) {
5212
5212
  var t = n.interaction;
5213
5213
  t.offset.total.x = 0, t.offset.total.y = 0, t.offset.pending.x = 0, t.offset.pending.y = 0;
5214
- } } }, Xr = ji, Ii = function() {
5214
+ } } }, Xr = ji, $i = function() {
5215
5215
  function n(t) {
5216
5216
  u(this, n), this.active = !1, this.isModified = !1, this.smoothEnd = !1, this.allowResume = !1, this.modification = void 0, this.modifierCount = 0, this.modifierArg = void 0, this.startCoords = void 0, this.t0 = 0, this.v0 = 0, this.te = 0, this.targetOffset = void 0, this.modifiedOffset = void 0, this.currentOffset = void 0, this.lambda_v0 = 0, this.one_ve_v0 = 0, this.timeout = void 0, this.interaction = void 0, this.interaction = t;
5217
5217
  }
@@ -5245,9 +5245,9 @@ function Sc() {
5245
5245
  } }, { key: "inertiaTick", value: function() {
5246
5246
  var t, o, i, c, f, d, h, v = this, w = this.interaction, y = Ft(w).resistance, O = (w._now() - this.t0) / 1e3;
5247
5247
  if (O < this.te) {
5248
- var $, B = 1 - (Math.exp(-y * O) - this.lambda_v0) / this.one_ve_v0;
5249
- this.isModified ? (t = 0, o = 0, i = this.targetOffset.x, c = this.targetOffset.y, f = this.modifiedOffset.x, d = this.modifiedOffset.y, $ = { x: Ur(h = B, t, i, f), y: Ur(h, o, c, d) }) : $ = { x: this.targetOffset.x * B, y: this.targetOffset.y * B };
5250
- var L = { x: $.x - this.currentOffset.x, y: $.y - this.currentOffset.y };
5248
+ var I, B = 1 - (Math.exp(-y * O) - this.lambda_v0) / this.one_ve_v0;
5249
+ this.isModified ? (t = 0, o = 0, i = this.targetOffset.x, c = this.targetOffset.y, f = this.modifiedOffset.x, d = this.modifiedOffset.y, I = { x: Ur(h = B, t, i, f), y: Ur(h, o, c, d) }) : I = { x: this.targetOffset.x * B, y: this.targetOffset.y * B };
5250
+ var L = { x: I.x - this.currentOffset.x, y: I.y - this.currentOffset.y };
5251
5251
  this.currentOffset.x += L.x, this.currentOffset.y += L.y, w.offsetBy(L), w.move(), this.onNextFrame(function() {
5252
5252
  return v.inertiaTick();
5253
5253
  });
@@ -5262,7 +5262,7 @@ function Sc() {
5262
5262
  } else o.offsetBy({ x: this.targetOffset.x - this.currentOffset.x, y: this.targetOffset.y - this.currentOffset.y }), this.end();
5263
5263
  } }, { key: "resume", value: function(t) {
5264
5264
  var o = t.pointer, i = t.event, c = t.eventTarget, f = this.interaction;
5265
- f.offsetBy({ x: -this.currentOffset.x, y: -this.currentOffset.y }), f.updatePointer(o, i, c, !0), f._doPhase({ interaction: f, event: i, phase: "resume" }), $t(f.coords.prev, f.coords.cur), this.stop();
5265
+ f.offsetBy({ x: -this.currentOffset.x, y: -this.currentOffset.y }), f.updatePointer(o, i, c, !0), f._doPhase({ interaction: f, event: i, phase: "resume" }), It(f.coords.prev, f.coords.cur), this.stop();
5266
5266
  } }, { key: "end", value: function() {
5267
5267
  this.interaction.move(), this.interaction.end(), this.stop();
5268
5268
  } }, { key: "stop", value: function() {
@@ -5273,12 +5273,12 @@ function Sc() {
5273
5273
  var t = n.interactable, o = n.prepared;
5274
5274
  return t && t.options && o.name && t.options[o.name].inertia;
5275
5275
  }
5276
- var $i = { id: "inertia", before: ["modifiers", "actions"], install: function(n) {
5276
+ var Ii = { id: "inertia", before: ["modifiers", "actions"], install: function(n) {
5277
5277
  var t = n.defaults;
5278
5278
  n.usePlugin(Xr), n.usePlugin(Dr), n.actions.phases.inertiastart = !0, n.actions.phases.resume = !0, t.perAction.inertia = { enabled: !1, resistance: 10, minSpeed: 100, endSpeed: 10, allowResume: !0, smoothEndDuration: 300 };
5279
5279
  }, listeners: { "interactions:new": function(n) {
5280
5280
  var t = n.interaction;
5281
- t.inertia = new Ii(t);
5281
+ t.inertia = new $i(t);
5282
5282
  }, "interactions:before-action-end": function(n) {
5283
5283
  var t = n.interaction, o = n.event;
5284
5284
  return (!t._interacting || t.simulation || !t.inertia.start(o)) && null;
@@ -5311,7 +5311,7 @@ function Sc() {
5311
5311
  function qr(n, t, o, i) {
5312
5312
  return -o * (n /= i) * (n - 2) + t;
5313
5313
  }
5314
- var Ai = $i;
5314
+ var Ai = Ii;
5315
5315
  function Gr(n, t) {
5316
5316
  for (var o = 0; o < t.length; o++) {
5317
5317
  var i = t[o];
@@ -5343,7 +5343,7 @@ function Sc() {
5343
5343
  } }]), n;
5344
5344
  }(), Mi = function() {
5345
5345
  function n(t) {
5346
- u(this, n), this.currentTarget = void 0, this.originalEvent = void 0, this.type = void 0, this.originalEvent = t, It(this, t);
5346
+ u(this, n), this.currentTarget = void 0, this.originalEvent = void 0, this.type = void 0, this.originalEvent = t, $t(this, t);
5347
5347
  }
5348
5348
  return g(n, [{ key: "preventOriginalDefault", value: function() {
5349
5349
  this.originalEvent.preventDefault();
@@ -5360,21 +5360,21 @@ function Sc() {
5360
5360
  return n === t || (typeof n == "boolean" ? !!t.capture === n && !t.passive : !!n.capture == !!t.capture && !!n.passive == !!t.passive);
5361
5361
  }
5362
5362
  var Ri = { id: "events", install: function(n) {
5363
- var t, o = [], i = {}, c = [], f = { add: d, remove: h, addDelegate: function(y, O, $, B, L) {
5363
+ var t, o = [], i = {}, c = [], f = { add: d, remove: h, addDelegate: function(y, O, I, B, L) {
5364
5364
  var X = xt(L);
5365
- if (!i[$]) {
5366
- i[$] = [];
5365
+ if (!i[I]) {
5366
+ i[I] = [];
5367
5367
  for (var oe = 0; oe < c.length; oe++) {
5368
5368
  var ee = c[oe];
5369
- d(ee, $, v), d(ee, $, w, !0);
5369
+ d(ee, I, v), d(ee, I, w, !0);
5370
5370
  }
5371
5371
  }
5372
- var ae = i[$], ve = mt(ae, function(we) {
5372
+ var ae = i[I], ve = mt(ae, function(we) {
5373
5373
  return we.selector === y && we.context === O;
5374
5374
  });
5375
5375
  ve || (ve = { selector: y, context: O, listeners: [] }, ae.push(ve)), ve.listeners.push({ func: B, options: X });
5376
- }, removeDelegate: function(y, O, $, B, L) {
5377
- var X, oe = xt(L), ee = i[$], ae = !1;
5376
+ }, removeDelegate: function(y, O, I, B, L) {
5377
+ var X, oe = xt(L), ee = i[I], ae = !1;
5378
5378
  if (ee)
5379
5379
  for (X = ee.length - 1; X >= 0; X--) {
5380
5380
  var ve = ee[X];
@@ -5382,7 +5382,7 @@ function Sc() {
5382
5382
  for (var we = ve.listeners, ue = we.length - 1; ue >= 0; ue--) {
5383
5383
  var ye = we[ue];
5384
5384
  if (ye.func === B && Dt(ye.options, oe)) {
5385
- we.splice(ue, 1), we.length || (ee.splice(X, 1), h(O, $, v), h(O, $, w, !0)), ae = !0;
5385
+ we.splice(ue, 1), we.length || (ee.splice(X, 1), h(O, I, v), h(O, I, w, !0)), ae = !0;
5386
5386
  break;
5387
5387
  }
5388
5388
  }
@@ -5390,25 +5390,25 @@ function Sc() {
5390
5390
  }
5391
5391
  }
5392
5392
  }, delegateListener: v, delegateUseCapture: w, delegatedEvents: i, documents: c, targets: o, supportsOptions: !1, supportsPassive: !1 };
5393
- function d(y, O, $, B) {
5393
+ function d(y, O, I, B) {
5394
5394
  if (y.addEventListener) {
5395
5395
  var L = xt(B), X = mt(o, function(oe) {
5396
5396
  return oe.eventTarget === y;
5397
5397
  });
5398
5398
  X || (X = { eventTarget: y, events: {} }, o.push(X)), X.events[O] || (X.events[O] = []), mt(X.events[O], function(oe) {
5399
- return oe.func === $ && Dt(oe.options, L);
5400
- }) || (y.addEventListener(O, $, f.supportsOptions ? L : L.capture), X.events[O].push({ func: $, options: L }));
5399
+ return oe.func === I && Dt(oe.options, L);
5400
+ }) || (y.addEventListener(O, I, f.supportsOptions ? L : L.capture), X.events[O].push({ func: I, options: L }));
5401
5401
  }
5402
5402
  }
5403
- function h(y, O, $, B) {
5403
+ function h(y, O, I, B) {
5404
5404
  if (y.addEventListener && y.removeEventListener) {
5405
- var L = gt(o, function($e) {
5406
- return $e.eventTarget === y;
5405
+ var L = gt(o, function(Ie) {
5406
+ return Ie.eventTarget === y;
5407
5407
  }), X = o[L];
5408
5408
  if (X && X.events) if (O !== "all") {
5409
5409
  var oe = !1, ee = X.events[O];
5410
5410
  if (ee) {
5411
- if ($ === "all") {
5411
+ if (I === "all") {
5412
5412
  for (var ae = ee.length - 1; ae >= 0; ae--) {
5413
5413
  var ve = ee[ae];
5414
5414
  h(y, O, ve.func, ve.options);
@@ -5417,8 +5417,8 @@ function Sc() {
5417
5417
  }
5418
5418
  for (var we = xt(B), ue = 0; ue < ee.length; ue++) {
5419
5419
  var ye = ee[ue];
5420
- if (ye.func === $ && Dt(ye.options, we)) {
5421
- y.removeEventListener(O, $, f.supportsOptions ? we : we.capture), ee.splice(ue, 1), ee.length === 0 && (delete X.events[O], oe = !0);
5420
+ if (ye.func === I && Dt(ye.options, we)) {
5421
+ y.removeEventListener(O, I, f.supportsOptions ? we : we.capture), ee.splice(ue, 1), ee.length === 0 && (delete X.events[O], oe = !0);
5422
5422
  break;
5423
5423
  }
5424
5424
  }
@@ -5428,15 +5428,15 @@ function Sc() {
5428
5428
  }
5429
5429
  }
5430
5430
  function v(y, O) {
5431
- for (var $ = xt(O), B = new Mi(y), L = i[y.type], X = Nr(y)[0], oe = X; E.element(oe); ) {
5431
+ for (var I = xt(O), B = new Mi(y), L = i[y.type], X = Nr(y)[0], oe = X; E.element(oe); ) {
5432
5432
  for (var ee = 0; ee < L.length; ee++) {
5433
5433
  var ae = L[ee], ve = ae.selector, we = ae.context;
5434
5434
  if (T(oe, ve) && Z(we, X) && Z(we, oe)) {
5435
5435
  var ue = ae.listeners;
5436
5436
  B.currentTarget = oe;
5437
5437
  for (var ye = 0; ye < ue.length; ye++) {
5438
- var $e = ue[ye];
5439
- Dt($e.options, $) && $e.func(B);
5438
+ var Ie = ue[ye];
5439
+ Dt(Ie.options, I) && Ie.func(B);
5440
5440
  }
5441
5441
  }
5442
5442
  }
@@ -5514,8 +5514,8 @@ function Sc() {
5514
5514
  if (/^touch/.test(o.type)) {
5515
5515
  t.prevTouchTime = t.now();
5516
5516
  for (var w = 0, y = o.changedTouches; w < y.length; w++) {
5517
- var O = y[w], $ = { pointer: O, pointerId: ht(O), pointerType: c, eventType: o.type, eventTarget: d, curEventTarget: h, scope: t }, B = Zr($);
5518
- v.push([$.pointer, $.eventTarget, $.curEventTarget, B]);
5517
+ var O = y[w], I = { pointer: O, pointerId: ht(O), pointerType: c, eventType: o.type, eventTarget: d, curEventTarget: h, scope: t }, B = Zr(I);
5518
+ v.push([I.pointer, I.eventTarget, I.curEventTarget, B]);
5519
5519
  }
5520
5520
  } else {
5521
5521
  var L = !1;
@@ -5556,11 +5556,11 @@ function Sc() {
5556
5556
  for (var h = 0, v = n.interactions.list; h < v.length; h++) {
5557
5557
  var w = v[h];
5558
5558
  if (w.pointerIsDown && w.pointerType === "touch" && !w._interacting) for (var y = function() {
5559
- var B = $[O];
5559
+ var B = I[O];
5560
5560
  n.documents.some(function(L) {
5561
5561
  return Z(L.doc, B.downTarget);
5562
5562
  }) || w.removePointer(B.pointer, B.event);
5563
- }, O = 0, $ = w.pointers; O < $.length; O++) y();
5563
+ }, O = 0, I = w.pointers; O < I.length; O++) y();
5564
5564
  }
5565
5565
  }
5566
5566
  (c = z.PointerEvent ? [{ type: f.down, listener: d }, { 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: d }, { 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) {
@@ -5568,7 +5568,7 @@ function Sc() {
5568
5568
  w[v].documentBlur(h);
5569
5569
  } }), n.prevTouchTime = 0, n.Interaction = function(h) {
5570
5570
  N(w, h);
5571
- var v = I(w);
5571
+ var v = $(w);
5572
5572
  function w() {
5573
5573
  return u(this, w), v.apply(this, arguments);
5574
5574
  }
@@ -5713,7 +5713,7 @@ function Sc() {
5713
5713
  var v = i.interactables.getExisting(d, h);
5714
5714
  return v || ((v = i.interactables.new(d, h)).events.global = f.globalEvents), v;
5715
5715
  };
5716
- return c.getPointerAverage = wr, c.getTouchBBox = fn, c.getTouchDistance = dn, c.getTouchAngle = pn, c.getElementRect = Ne, c.getElementClientRect = pe, c.matchesSelector = T, c.closest = ie, c.globalEvents = {}, c.version = "1.10.27", c.scope = i, c.use = function(f, d) {
5716
+ return c.getPointerAverage = wr, c.getTouchBBox = fn, c.getTouchDistance = dn, c.getTouchAngle = pn, c.getElementRect = Ne, c.getElementClientRect = pe, c.matchesSelector = T, c.closest = se, c.globalEvents = {}, c.version = "1.10.27", c.scope = i, c.use = function(f, d) {
5717
5717
  return this.scope.usePlugin(f, d), this;
5718
5718
  }, c.isSet = function(f, d) {
5719
5719
  return !!this.scope.interactables.get(f, d && d.context);
@@ -5742,8 +5742,8 @@ function Sc() {
5742
5742
  for (var O in f) this.off(O, f[O], d);
5743
5743
  return this;
5744
5744
  }
5745
- var $;
5746
- return zt(f, this.scope.actions) ? f in this.globalEvents && ($ = this.globalEvents[f].indexOf(d)) !== -1 && this.globalEvents[f].splice($, 1) : this.scope.events.remove(this.scope.document, f, d, h), this;
5745
+ var I;
5746
+ return zt(f, this.scope.actions) ? f in this.globalEvents && (I = this.globalEvents[f].indexOf(d)) !== -1 && this.globalEvents[f].splice(I, 1) : this.scope.events.remove(this.scope.document, f, d, h), this;
5747
5747
  }, "The interact.off() method is being deprecated"), c.debug = function() {
5748
5748
  return this.scope;
5749
5749
  }, c.supportsTouch = function() {
@@ -5766,7 +5766,7 @@ function Sc() {
5766
5766
  var o = this;
5767
5767
  this.Interactable = function(i) {
5768
5768
  N(f, i);
5769
- var c = I(f);
5769
+ var c = $(f);
5770
5770
  function f() {
5771
5771
  return u(this, f), c.apply(this, arguments);
5772
5772
  }
@@ -5828,7 +5828,7 @@ function Sc() {
5828
5828
  function Qr(n) {
5829
5829
  return n && n.replace(/\/.*$/, "");
5830
5830
  }
5831
- var eo = new Bi(), Ie = eo.interactStatic, Hi = typeof globalThis < "u" ? globalThis : window;
5831
+ var eo = new Bi(), $e = eo.interactStatic, Hi = typeof globalThis < "u" ? globalThis : window;
5832
5832
  eo.init(Hi);
5833
5833
  var Yi = Object.freeze({ __proto__: null, edgeTarget: function() {
5834
5834
  }, elements: function() {
@@ -5838,7 +5838,7 @@ function Sc() {
5838
5838
  return c in n || f in n;
5839
5839
  }), o = function(i, c) {
5840
5840
  for (var f = n.range, d = n.limits, h = d === void 0 ? { left: -1 / 0, right: 1 / 0, top: -1 / 0, bottom: 1 / 0 } : d, v = n.offset, w = v === void 0 ? { x: 0, y: 0 } : v, y = { range: f, grid: n, x: null, y: null }, O = 0; O < t.length; O++) {
5841
- var $ = t[O], B = $[0], L = $[1], X = Math.round((i - w.x) / n[B]), oe = Math.round((c - w.y) / n[L]);
5841
+ var I = t[O], B = I[0], L = I[1], X = Math.round((i - w.x) / n[B]), oe = Math.round((c - w.y) / n[L]);
5842
5842
  y[B] = Math.max(h.left, Math.min(h.right, X * n[B] + w.x)), y[L] = Math.max(h.top, Math.min(h.bottom, oe * n[L] + w.y));
5843
5843
  }
5844
5844
  return y;
@@ -5852,8 +5852,8 @@ function Sc() {
5852
5852
  d === "preserve" && (d = o.width / o.height), t.startCoords = q({}, c), t.startRect = q({}, o), t.ratio = d, t.equalDelta = w;
5853
5853
  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 };
5854
5854
  if (t.xIsPrimaryAxis = !(!i.left && !i.right), t.equalDelta) {
5855
- var $ = (O.left ? 1 : -1) * (O.top ? 1 : -1);
5856
- t.edgeSign = { x: $, y: $ };
5855
+ var I = (O.left ? 1 : -1) * (O.top ? 1 : -1);
5856
+ t.edgeSign = { x: I, y: I };
5857
5857
  } else t.edgeSign = { x: O.left ? -1 : 1, y: O.top ? -1 : 1 };
5858
5858
  if (h !== !1 && q(i, O), y != null && y.length) {
5859
5859
  var B = new Nn(n.interaction);
@@ -5936,8 +5936,8 @@ function Sc() {
5936
5936
  o.options = { endOnly: f.endOnly, inner: q({}, bt.noInner), outer: q({}, bt.noOuter) }, c.top ? (o.options.inner.top = i.bottom - d.height, o.options.outer.top = i.bottom - h.height) : c.bottom && (o.options.inner.bottom = i.top + d.height, o.options.outer.bottom = i.top + h.height), c.left ? (o.options.inner.left = i.right - d.width, o.options.outer.left = i.right - h.width) : c.right && (o.options.inner.right = i.left + d.width, o.options.outer.right = i.left + h.width), bt.set(n), o.options = f;
5937
5937
  }
5938
5938
  }, defaults: { min: null, max: null, endOnly: !1, enabled: !1 } }, "restrictSize"), kn = { start: function(n) {
5939
- var t, o = n.interaction, i = n.interactable, c = n.element, f = n.rect, d = n.state, h = n.startOffset, v = d.options, w = v.offsetWithOrigin ? function($) {
5940
- var B = $.interaction.element, L = ke(je($.state.options.origin, null, null, [B])), X = L || He($.interactable, B, $.interaction.prepared.name);
5939
+ var t, o = n.interaction, i = n.interactable, c = n.element, f = n.rect, d = n.state, h = n.startOffset, v = d.options, w = v.offsetWithOrigin ? function(I) {
5940
+ var B = I.interaction.element, L = ke(je(I.state.options.origin, null, null, [B])), X = L || He(I.interactable, B, I.interaction.prepared.name);
5941
5941
  return X;
5942
5942
  }(n) : { x: 0, y: 0 };
5943
5943
  if (v.offset === "startCoords") t = { x: o.coords.start.page.x, y: o.coords.start.page.y };
@@ -5946,19 +5946,19 @@ function Sc() {
5946
5946
  (t = ke(y) || { x: 0, y: 0 }).x += w.x, t.y += w.y;
5947
5947
  }
5948
5948
  var O = v.relativePoints;
5949
- d.offsets = f && O && O.length ? O.map(function($, B) {
5950
- return { index: B, relativePoint: $, x: h.left - f.width * $.x + t.x, y: h.top - f.height * $.y + t.y };
5949
+ d.offsets = f && O && O.length ? O.map(function(I, B) {
5950
+ return { index: B, relativePoint: I, x: h.left - f.width * I.x + t.x, y: h.top - f.height * I.y + t.y };
5951
5951
  }) : [{ index: 0, relativePoint: null, x: t.x, y: t.y }];
5952
5952
  }, set: function(n) {
5953
5953
  var t = n.interaction, o = n.coords, i = n.state, c = i.options, f = i.offsets, d = He(t.interactable, t.element, t.prepared.name), h = q({}, o), v = [];
5954
5954
  c.offsetWithOrigin || (h.x -= d.x, h.y -= d.y);
5955
- for (var w = 0, y = f; w < y.length; w++) for (var O = y[w], $ = h.x - O.x, B = h.y - O.y, L = 0, X = c.targets.length; L < X; L++) {
5955
+ for (var w = 0, y = f; w < y.length; w++) for (var O = y[w], I = h.x - O.x, B = h.y - O.y, L = 0, X = c.targets.length; L < X; L++) {
5956
5956
  var oe = c.targets[L], ee = void 0;
5957
- (ee = E.func(oe) ? oe($, B, t._proxy, O, L) : oe) && v.push({ x: (E.number(ee.x) ? ee.x : $) + O.x, y: (E.number(ee.y) ? ee.y : B) + O.y, range: E.number(ee.range) ? ee.range : c.range, source: oe, index: L, offset: O });
5957
+ (ee = E.func(oe) ? oe(I, B, t._proxy, O, L) : oe) && v.push({ x: (E.number(ee.x) ? ee.x : I) + O.x, y: (E.number(ee.y) ? ee.y : B) + O.y, range: E.number(ee.range) ? ee.range : c.range, source: oe, index: L, offset: O });
5958
5958
  }
5959
5959
  for (var ae = { target: null, inRange: !1, distance: 0, range: 0, delta: { x: 0, y: 0 } }, ve = 0; ve < v.length; ve++) {
5960
- var we = v[ve], ue = we.range, ye = we.x - h.x, $e = we.y - h.y, Pe = pt(ye, $e), Le = Pe <= ue;
5961
- ue === 1 / 0 && ae.inRange && ae.range !== 1 / 0 && (Le = !1), ae.target && !(Le ? ae.inRange && ue !== 1 / 0 ? Pe / ue < ae.distance / ae.range : ue === 1 / 0 && ae.range !== 1 / 0 || Pe < ae.distance : !ae.inRange && Pe < ae.distance) || (ae.target = we, ae.distance = Pe, ae.range = ue, ae.inRange = Le, ae.delta.x = ye, ae.delta.y = $e);
5960
+ var we = v[ve], ue = we.range, ye = we.x - h.x, Ie = we.y - h.y, Pe = pt(ye, Ie), Le = Pe <= ue;
5961
+ ue === 1 / 0 && ae.inRange && ae.range !== 1 / 0 && (Le = !1), ae.target && !(Le ? ae.inRange && ue !== 1 / 0 ? Pe / ue < ae.distance / ae.range : ue === 1 / 0 && ae.range !== 1 / 0 || Pe < ae.distance : !ae.inRange && Pe < ae.distance) || (ae.target = we, ae.distance = Pe, ae.range = ue, ae.inRange = Le, ae.delta.x = ye, ae.delta.y = Ie);
5962
5962
  }
5963
5963
  return ae.inRange && (o.x = ae.target.x, o.y = ae.target.y), i.closest = ae, ae;
5964
5964
  }, defaults: { range: 1 / 0, targets: null, offset: null, offsetWithOrigin: !0, origin: null, relativePoints: null, endOnly: !1, enabled: !1 } }, os = Je(kn, "snap"), Ht = { start: function(n) {
@@ -5971,8 +5971,8 @@ function Sc() {
5971
5971
  for (var h = 0, v = c.targets || []; h < v.length; h++) {
5972
5972
  var w = v[h], y = void 0;
5973
5973
  if (y = E.func(w) ? w(d.x, d.y, t) : w) {
5974
- for (var O = 0, $ = o.targetFields; O < $.length; O++) {
5975
- var B = $[O], L = B[0], X = B[1];
5974
+ for (var O = 0, I = o.targetFields; O < I.length; O++) {
5975
+ var B = I[O], L = B[0], X = B[1];
5976
5976
  if (L in y || X in y) {
5977
5977
  y.x = y[L], y.y = y[X];
5978
5978
  break;
@@ -5994,10 +5994,10 @@ function Sc() {
5994
5994
  }
5995
5995
  } }, as = ss, io = function(n) {
5996
5996
  N(o, n);
5997
- var t = I(o);
5997
+ var t = $(o);
5998
5998
  function o(i, c, f, d, h, v) {
5999
5999
  var w;
6000
- if (u(this, o), It(k(w = t.call(this, h)), f), f !== c && It(k(w), c), w.timeStamp = v, w.originalEvent = f, w.type = i, w.pointerId = ht(c), w.pointerType = Er(c), w.target = d, w.currentTarget = null, i === "tap") {
6000
+ if (u(this, o), $t(k(w = t.call(this, h)), f), f !== c && $t(k(w), c), w.timeStamp = v, w.originalEvent = f, w.type = i, w.pointerId = ht(c), w.pointerType = Er(c), w.target = d, w.currentTarget = null, i === "tap") {
6001
6001
  var y = h.getPointerIndex(c);
6002
6002
  w.dt = w.timeStamp - h.pointers[y].downTime;
6003
6003
  var O = w.timeStamp - h.tapTime;
@@ -6027,8 +6027,8 @@ function Sc() {
6027
6027
  n.duplicate || o.pointerIsDown && !o.pointerWasMoved || (o.pointerIsDown && jn(n), Qe({ interaction: o, pointer: i, event: c, eventTarget: f, type: "move" }, t));
6028
6028
  }, "interactions:down": function(n, t) {
6029
6029
  (function(o, i) {
6030
- for (var c = o.interaction, f = o.pointer, d = o.event, h = o.eventTarget, v = o.pointerIndex, w = c.pointers[v].hold, y = Te(h), O = { interaction: c, pointer: f, event: d, eventTarget: h, type: "hold", targets: [], path: y, node: null }, $ = 0; $ < y.length; $++) {
6031
- var B = y[$];
6030
+ for (var c = o.interaction, f = o.pointer, d = o.event, h = o.eventTarget, v = o.pointerIndex, w = c.pointers[v].hold, y = Te(h), O = { interaction: c, pointer: f, event: d, eventTarget: h, type: "hold", targets: [], path: y, node: null }, I = 0; I < y.length; I++) {
6031
+ var B = y[I];
6032
6032
  O.node = B, i.fire("pointerEvents:collect-targets", O);
6033
6033
  }
6034
6034
  if (O.targets.length) {
@@ -6053,10 +6053,10 @@ function Sc() {
6053
6053
  var o = n.interaction, i = n.pointer, c = n.event, f = n.eventTarget, d = n.type, h = n.targets, v = h === void 0 ? so(n, t) : h, w = new io(d, i, c, f, o, t.now());
6054
6054
  t.fire("pointerEvents:new", { pointerEvent: w });
6055
6055
  for (var y = { interaction: o, pointer: i, event: c, eventTarget: f, targets: v, type: d, pointerEvent: w }, O = 0; O < v.length; O++) {
6056
- var $ = v[O];
6057
- for (var B in $.props || {}) w[B] = $.props[B];
6058
- var L = He($.eventable, $.node);
6059
- if (w._subtractOrigin(L), w.eventable = $.eventable, w.currentTarget = $.node, $.eventable.fire(w), w._addOrigin(L), w.immediatePropagationStopped || w.propagationStopped && O + 1 < v.length && v[O + 1].node !== w.currentTarget) break;
6056
+ var I = v[O];
6057
+ for (var B in I.props || {}) w[B] = I.props[B];
6058
+ var L = He(I.eventable, I.node);
6059
+ if (w._subtractOrigin(L), w.eventable = I.eventable, w.currentTarget = I.node, I.eventable.fire(w), w._addOrigin(L), w.immediatePropagationStopped || w.propagationStopped && O + 1 < v.length && v[O + 1].node !== w.currentTarget) break;
6060
6060
  }
6061
6061
  if (t.fire("pointerEvents:fired", y), d === "tap") {
6062
6062
  var X = w.double ? Qe({ interaction: o, pointer: i, event: c, eventTarget: f, type: "doubletap" }, t) : w;
@@ -6068,8 +6068,8 @@ function Sc() {
6068
6068
  var o = n.interaction, i = n.pointer, c = n.event, f = n.eventTarget, d = n.type, h = o.getPointerIndex(i), v = o.pointers[h];
6069
6069
  if (d === "tap" && (o.pointerWasMoved || !v || v.downTarget !== f)) return [];
6070
6070
  for (var w = Te(f), y = { interaction: o, pointer: i, event: c, eventTarget: f, type: d, path: w, targets: [], node: null }, O = 0; O < w.length; O++) {
6071
- var $ = w[O];
6072
- y.node = $, t.fire("pointerEvents:collect-targets", y);
6071
+ var I = w[O];
6072
+ y.node = I, t.fire("pointerEvents:collect-targets", y);
6073
6073
  }
6074
6074
  return d === "hold" && (y.targets = y.targets.filter(function(B) {
6075
6075
  var L, X;
@@ -6133,8 +6133,8 @@ function Sc() {
6133
6133
  n.actions.phases.reflow = !0, t.prototype.reflow = function(o) {
6134
6134
  return function(i, c, f) {
6135
6135
  for (var d = i.getAllElements(), h = f.window.Promise, v = h ? [] : null, w = function() {
6136
- var O = d[y], $ = i.getRect(O);
6137
- if (!$) return 1;
6136
+ var O = d[y], I = i.getRect(O);
6137
+ if (!I) return 1;
6138
6138
  var B, L = mt(f.interactions.list, function(ee) {
6139
6139
  return ee.interacting() && ee.interactable === i && ee.element === O && ee.prepared.name === c.name;
6140
6140
  });
@@ -6142,7 +6142,7 @@ function Sc() {
6142
6142
  L._reflowResolve = ee;
6143
6143
  }));
6144
6144
  else {
6145
- var X = Ve($), oe = /* @__PURE__ */ function(ee) {
6145
+ var X = Ve(I), oe = /* @__PURE__ */ function(ee) {
6146
6146
  return { coords: ee, get page() {
6147
6147
  return this.coords.page;
6148
6148
  }, get client() {
@@ -6171,12 +6171,12 @@ function Sc() {
6171
6171
  } };
6172
6172
  }({ page: { x: X.x, y: X.y }, client: { x: X.x, y: X.y }, timeStamp: f.now() });
6173
6173
  B = function(ee, ae, ve, we, ue) {
6174
- var ye = ee.interactions.new({ pointerType: "reflow" }), $e = { interaction: ye, event: ue, pointer: ue, eventTarget: ve, phase: "reflow" };
6175
- ye.interactable = ae, ye.element = ve, ye.prevEvent = ue, ye.updatePointer(ue, ue, ve, !0), yr(ye.coords.delta), xn(ye.prepared, we), ye._doPhase($e);
6174
+ var ye = ee.interactions.new({ pointerType: "reflow" }), Ie = { interaction: ye, event: ue, pointer: ue, eventTarget: ve, phase: "reflow" };
6175
+ ye.interactable = ae, ye.element = ve, ye.prevEvent = ue, ye.updatePointer(ue, ue, ve, !0), yr(ye.coords.delta), xn(ye.prepared, we), ye._doPhase(Ie);
6176
6176
  var Pe = ee.window, Le = Pe.Promise, De = Le ? new Le(function(qe) {
6177
6177
  ye._reflowResolve = qe;
6178
6178
  }) : void 0;
6179
- return ye._reflowPromise = De, ye.start(we, ae, ve), ye._interacting ? (ye.move($e), ye.end(ue)) : (ye.stop(), ye._reflowResolve()), ye.removePointer(ue, ue), De;
6179
+ return ye._reflowPromise = De, ye.start(we, ae, ve), ye._interacting ? (ye.move(Ie), ye.end(ue)) : (ye.stop(), ye._reflowResolve()), ye.removePointer(ue, ue), De;
6180
6180
  }(f, i, O, c, oe);
6181
6181
  }
6182
6182
  v && v.push(B);
@@ -6192,11 +6192,11 @@ function Sc() {
6192
6192
  i.splice(i.indexOf(c), 1);
6193
6193
  }(t.interactions.list, o));
6194
6194
  } } }, vs = ms;
6195
- if (Ie.use(Fr), Ie.use(Xr), Ie.use(gs), Ie.use(Ai), Ie.use(as), Ie.use(Ei), Ie.use(fi), Ie.use(pi), Ie.use(vs), Ie.default = Ie, l(e) === "object" && e) try {
6196
- e.exports = Ie;
6195
+ if ($e.use(Fr), $e.use(Xr), $e.use(gs), $e.use(Ai), $e.use(as), $e.use(Ei), $e.use(fi), $e.use(pi), $e.use(vs), $e.default = $e, l(e) === "object" && e) try {
6196
+ e.exports = $e;
6197
6197
  } catch {
6198
6198
  }
6199
- return Ie.default = Ie, Ie;
6199
+ return $e.default = $e, $e;
6200
6200
  });
6201
6201
  }(Wt)), Wt.exports;
6202
6202
  }
@@ -6224,12 +6224,12 @@ function Oc(e, {
6224
6224
  const k = de.make(P);
6225
6225
  p.current?.(k);
6226
6226
  },
6227
- onmove: ({ client: P, clientX0: k, clientY0: I, dx: M, dy: b }) => {
6228
- const j = de.make(k, I), K = de.make(P), W = de.make(M, b);
6227
+ onmove: ({ client: P, clientX0: k, clientY0: $, dx: M, dy: b }) => {
6228
+ const j = de.make(k, $), K = de.make(P), W = de.make(M, b);
6229
6229
  g.current?.(W, K, j);
6230
6230
  },
6231
- onend: ({ client: P, clientX0: k, clientY0: I }) => {
6232
- const M = de.make(k, I), b = de.make(P);
6231
+ onend: ({ client: P, clientX0: k, clientY0: $ }) => {
6232
+ const M = de.make(k, $), b = de.make(P);
6233
6233
  m.current?.(b, M);
6234
6234
  }
6235
6235
  });
@@ -6246,14 +6246,14 @@ function Ct(e, {
6246
6246
  onDragEnd: u,
6247
6247
  ...p
6248
6248
  }) {
6249
- const g = Ee(r), [m, N] = Se(!1), [_, P] = Se(!1), [k, I] = Se(r), M = _e(a), b = _e(l), j = _e(u), K = _e(s);
6249
+ const g = Ee(r), [m, N] = Se(!1), [_, P] = Se(!1), [k, $] = Se(r), M = _e(a), b = _e(l), j = _e(u), K = _e(s);
6250
6250
  return Oc(e, {
6251
6251
  onDragStart: (S) => {
6252
6252
  N(!0), P(!1), M.current?.(S);
6253
6253
  },
6254
6254
  onDragMove: (S, C, E) => {
6255
6255
  const R = K.current(g.current, S.x, S.y);
6256
- No(g, R) && I(R), N(!0), P(!1), b.current?.(S, C, E);
6256
+ No(g, R) && $(R), N(!0), P(!1), b.current?.(S, C, E);
6257
6257
  },
6258
6258
  onDragEnd: (S, C) => {
6259
6259
  N(!1), P(!0), j.current?.(S, C);
@@ -6265,7 +6265,7 @@ function Ct(e, {
6265
6265
  isDragging: m,
6266
6266
  isReleasing: _,
6267
6267
  value: k,
6268
- setValue: I
6268
+ setValue: $
6269
6269
  };
6270
6270
  }
6271
6271
  function No(e, r) {
@@ -6285,7 +6285,7 @@ const Qo = /* @__PURE__ */ Oe(({
6285
6285
  onLoadImageError: _,
6286
6286
  onImageSizeChange: P,
6287
6287
  ...k
6288
- }, I) => {
6288
+ }, $) => {
6289
6289
  const M = me((R, U, G) => R - U * r, [r]), b = Ee(null), j = nt(b), K = Lo({ src: s }, {
6290
6290
  onLoadStart: m,
6291
6291
  onLoadComplete: N,
@@ -6314,7 +6314,7 @@ const Qo = /* @__PURE__ */ Oe(({
6314
6314
  "div",
6315
6315
  {
6316
6316
  ...k,
6317
- ref: I,
6317
+ ref: $,
6318
6318
  "aria-valuenow": W,
6319
6319
  role: "slider",
6320
6320
  children: /* @__PURE__ */ x.jsx("div", { ref: b, style: E.body })
@@ -6365,7 +6365,7 @@ const jc = /* @__PURE__ */ Oe(({
6365
6365
  onAngleChange: _,
6366
6366
  onDragEnd: P,
6367
6367
  onDragStart: k,
6368
- onLoadImageComplete: I,
6368
+ onLoadImageComplete: $,
6369
6369
  onLoadImageError: M,
6370
6370
  onLoadImageStart: b,
6371
6371
  onImageSizeChange: j,
@@ -6383,17 +6383,17 @@ const jc = /* @__PURE__ */ Oe(({
6383
6383
  U(!0), k?.();
6384
6384
  }, [k]), Z = me(() => {
6385
6385
  U(!1), P?.();
6386
- }, [P]), ie = ze(l, {
6386
+ }, [P]), se = ze(l, {
6387
6387
  track: Kt,
6388
6388
  reticle: Qn,
6389
6389
  indicator: Zn
6390
- }), D = Ic({ autoDimension: a, panoramaRect: S, aspectRatio: te, reticleWidth: H });
6390
+ }), D = $c({ autoDimension: a, panoramaRect: S, aspectRatio: te, reticleWidth: H });
6391
6391
  return /* @__PURE__ */ x.jsxs(
6392
6392
  "div",
6393
6393
  {
6394
6394
  ...W,
6395
6395
  ref: F,
6396
- className: se(e, { dragging: R }),
6396
+ className: ie(e, { dragging: R }),
6397
6397
  style: ce(r, D.root),
6398
6398
  children: [
6399
6399
  /* @__PURE__ */ x.jsx(
@@ -6409,23 +6409,23 @@ const jc = /* @__PURE__ */ Oe(({
6409
6409
  onDragEnd: Z,
6410
6410
  onDragStart: Q,
6411
6411
  onImageSizeChange: E,
6412
- onLoadImageComplete: I,
6412
+ onLoadImageComplete: $,
6413
6413
  onLoadImageError: M,
6414
6414
  onLoadImageStart: b,
6415
6415
  onPositionChange: K
6416
6416
  }
6417
6417
  ),
6418
6418
  /* @__PURE__ */ x.jsx("div", { style: D.body, children: /* @__PURE__ */ x.jsxs("div", { style: D.controls, children: [
6419
- /* @__PURE__ */ x.jsx(he, { className: se({ dragging: R }), element: ie.track ?? /* @__PURE__ */ x.jsx(Kt, {}), style: D.track }),
6420
- /* @__PURE__ */ x.jsx(he, { className: se({ dragging: R }), element: ie.reticle ?? /* @__PURE__ */ x.jsx(Qn, {}), style: D.reticle }),
6421
- /* @__PURE__ */ x.jsx(he, { className: se({ dragging: R }), element: ie.track ?? /* @__PURE__ */ x.jsx(Kt, {}), style: D.track })
6419
+ /* @__PURE__ */ x.jsx(he, { className: ie({ dragging: R }), element: se.track ?? /* @__PURE__ */ x.jsx(Kt, {}), style: D.track }),
6420
+ /* @__PURE__ */ x.jsx(he, { className: ie({ dragging: R }), element: se.reticle ?? /* @__PURE__ */ x.jsx(Qn, {}), style: D.reticle }),
6421
+ /* @__PURE__ */ x.jsx(he, { className: ie({ dragging: R }), element: se.track ?? /* @__PURE__ */ x.jsx(Kt, {}), style: D.track })
6422
6422
  ] }) }),
6423
- /* @__PURE__ */ x.jsx(he, { className: se({ dragging: R }), element: ie.indicator ?? /* @__PURE__ */ x.jsx(Zn, {}), style: D.indicator })
6423
+ /* @__PURE__ */ x.jsx(he, { className: ie({ dragging: R }), element: se.indicator ?? /* @__PURE__ */ x.jsx(Zn, {}), style: D.indicator })
6424
6424
  ]
6425
6425
  }
6426
6426
  );
6427
6427
  }), Zn = ({ ...e }) => /* @__PURE__ */ x.jsx("div", { ...e }), Qn = ({ ...e }) => /* @__PURE__ */ x.jsx("div", { ...e }), Kt = ({ ...e }) => /* @__PURE__ */ x.jsx("div", { ...e });
6428
- function Ic({ autoDimension: e = "width", panoramaRect: r = ge.zero, aspectRatio: s = 0, reticleWidth: a = 0 }) {
6428
+ function $c({ autoDimension: e = "width", panoramaRect: r = ge.zero, aspectRatio: s = 0, reticleWidth: a = 0 }) {
6429
6429
  return {
6430
6430
  root: {
6431
6431
  ...e === "width" ? {
@@ -6470,7 +6470,7 @@ function Ic({ autoDimension: e = "width", panoramaRect: r = ge.zero, aspectRatio
6470
6470
  };
6471
6471
  }
6472
6472
  process.env.NODE_ENV !== "production" && (jc.displayName = "PanoramaSlider", Zn.displayName = "PanoramaSliderIndicator", Qn.displayName = "PanoramaSliderReticle", Kt.displayName = "PanoramaSliderTrack");
6473
- const $c = /* @__PURE__ */ Oe(({
6473
+ const Ic = /* @__PURE__ */ Oe(({
6474
6474
  children: e,
6475
6475
  className: r,
6476
6476
  decimalPlaces: s = 2,
@@ -6484,7 +6484,7 @@ const $c = /* @__PURE__ */ Oe(({
6484
6484
  range: _,
6485
6485
  steps: P = -1,
6486
6486
  onChange: k,
6487
- ...I
6487
+ ...$
6488
6488
  }, M) => {
6489
6489
  const b = Ee(null), j = nt(b), K = Ee(null), W = Ee(null), [F, Y] = Se(_ ?? [m, g]), S = Dc(m, g, P), [C, E] = F.map((ne) => st(ne, m, g, N, j, p, l, a)), R = E - C, U = ze(e, {
6490
6490
  gutter: er,
@@ -6501,28 +6501,28 @@ const $c = /* @__PURE__ */ Oe(({
6501
6501
  }, [p, l, a, m, g, N, F[0], ge.toString(j)]), { isDragging: J, isReleasing: H, value: z, setValue: A } = Ct(K, {
6502
6502
  initialValue: _?.[0] ?? m,
6503
6503
  transform: G
6504
- }), { isDragging: Q, isReleasing: Z, value: ie, setValue: D } = Ct(W, {
6504
+ }), { isDragging: Q, isReleasing: Z, value: se, setValue: D } = Ct(W, {
6505
6505
  initialValue: _?.[1] ?? g,
6506
6506
  transform: te
6507
6507
  }), T = Ac({ isDraggingEndKnob: Q, isDraggingStartKnob: J, isReleasingEndKnob: Z, isReleasingStartKnob: H }), V = Mc({ orientation: N, highlightLength: R, start: C, knobPadding: u, knobWidth: p, knobHeight: l });
6508
6508
  return be(() => {
6509
- Y([z, ie]);
6510
- }, [z, ie]), be(() => {
6509
+ Y([z, se]);
6510
+ }, [z, se]), be(() => {
6511
6511
  k?.(F);
6512
6512
  }, [F[0], F[1]]), be(() => {
6513
6513
  J || Q || Z || Ge(_, F) || (Y(_ ?? [m, g]), A(_?.[0] ?? m), D(_?.[1] ?? g));
6514
6514
  }, [_?.[0], _?.[1], J, Q, Z]), be(() => {
6515
6515
  S && A(To(z, S));
6516
6516
  }, [H, We(S)]), be(() => {
6517
- !S || !Z || D(To(ie, S));
6517
+ !S || !Z || D(To(se, S));
6518
6518
  }, [Z, We(S)]), /* @__PURE__ */ x.jsx(
6519
6519
  "div",
6520
6520
  {
6521
- ...I,
6521
+ ...$,
6522
6522
  ref: M,
6523
6523
  "aria-valuemax": g,
6524
6524
  "aria-valuemin": m,
6525
- className: se(r, N),
6525
+ className: ie(r, N),
6526
6526
  role: "slider",
6527
6527
  children: /* @__PURE__ */ x.jsxs("div", { ref: b, style: V.body, children: [
6528
6528
  /* @__PURE__ */ x.jsx(he, { element: U.gutter ?? /* @__PURE__ */ x.jsx(er, {}), style: ce(V.gutter) }),
@@ -6532,10 +6532,10 @@ const $c = /* @__PURE__ */ Oe(({
6532
6532
  {
6533
6533
  ref: K,
6534
6534
  className: T.startKnobContainer,
6535
- disabled: Ge([z, ie], [m, m]),
6535
+ disabled: Ge([z, se], [m, m]),
6536
6536
  element: U.knobContainer ?? /* @__PURE__ */ x.jsx(zn, {}),
6537
6537
  style: ce(V.knobContainer, {
6538
- pointerEvents: Ge([z, ie], [m, m]) ? "none" : "auto"
6538
+ pointerEvents: Ge([z, se], [m, m]) ? "none" : "auto"
6539
6539
  }, N === "horizontal" ? {
6540
6540
  left: `${C}px`,
6541
6541
  top: `${j.height * 0.5}px`
@@ -6554,10 +6554,10 @@ const $c = /* @__PURE__ */ Oe(({
6554
6554
  {
6555
6555
  ref: W,
6556
6556
  className: T.endKnobContainer,
6557
- disabled: Ge([z, ie], [g, g]),
6557
+ disabled: Ge([z, se], [g, g]),
6558
6558
  element: U.knobContainer ?? /* @__PURE__ */ x.jsx(zn, {}),
6559
6559
  style: ce(V.knobContainer, {
6560
- pointerEvents: Ge([z, ie], [g, g]) ? "none" : "auto"
6560
+ pointerEvents: Ge([z, se], [g, g]) ? "none" : "auto"
6561
6561
  }, N === "horizontal" ? {
6562
6562
  left: `${E}px`,
6563
6563
  top: `${j.height * 0.5}px`
@@ -6567,7 +6567,7 @@ const $c = /* @__PURE__ */ Oe(({
6567
6567
  }),
6568
6568
  children: /* @__PURE__ */ x.jsxs(he, { className: T.endKnob, element: U.knob ?? /* @__PURE__ */ x.jsx(Zt, {}), style: ce(V.knob), children: [
6569
6569
  /* @__PURE__ */ x.jsx("div", { style: V.knobHitBox }),
6570
- U.label && /* @__PURE__ */ x.jsx(he, { className: T.endLabel, element: U.label ?? /* @__PURE__ */ x.jsx(Jt, {}), style: ce(V.label), children: Number(ie.toFixed(s)).toLocaleString() })
6570
+ U.label && /* @__PURE__ */ x.jsx(he, { className: T.endLabel, element: U.label ?? /* @__PURE__ */ x.jsx(Jt, {}), style: ce(V.label), children: Number(se.toFixed(s)).toLocaleString() })
6571
6571
  ] })
6572
6572
  }
6573
6573
  )
@@ -6577,27 +6577,27 @@ const $c = /* @__PURE__ */ Oe(({
6577
6577
  }), er = ({ ...e }) => /* @__PURE__ */ x.jsx("div", { ...e }), Jt = ({ ...e }) => /* @__PURE__ */ x.jsx("div", { ...e }), tr = ({ ...e }) => /* @__PURE__ */ x.jsx("div", { ...e }), Zt = ({ ...e }) => /* @__PURE__ */ x.jsx("div", { ...e }), zn = ({ ...e }) => /* @__PURE__ */ x.jsx("button", { ...e });
6578
6578
  function Ac({ isDraggingStartKnob: e = !1, isReleasingStartKnob: r = !1, isDraggingEndKnob: s = !1, isReleasingEndKnob: a = !1 }) {
6579
6579
  return {
6580
- startKnobContainer: se({
6580
+ startKnobContainer: ie({
6581
6581
  dragging: e,
6582
6582
  releasing: r
6583
6583
  }),
6584
- startKnob: se({
6584
+ startKnob: ie({
6585
6585
  dragging: e,
6586
6586
  releasing: r
6587
6587
  }),
6588
- startLabel: se({
6588
+ startLabel: ie({
6589
6589
  dragging: e,
6590
6590
  releasing: r
6591
6591
  }),
6592
- endKnobContainer: se({
6592
+ endKnobContainer: ie({
6593
6593
  dragging: s,
6594
6594
  releasing: a
6595
6595
  }),
6596
- endKnob: se({
6596
+ endKnob: ie({
6597
6597
  dragging: s,
6598
6598
  releasing: a
6599
6599
  }),
6600
- endLabel: se({
6600
+ endLabel: ie({
6601
6601
  dragging: s,
6602
6602
  releasing: a
6603
6603
  })
@@ -6719,7 +6719,7 @@ function Dc(e, r, s) {
6719
6719
  r
6720
6720
  ];
6721
6721
  }
6722
- process.env.NODE_ENV !== "production" && ($c.displayName = "RangeSlider", er.displayName = "RangeSliderGutter", Jt.displayName = "RangeSliderLabel", tr.displayName = "RangeSliderHighlight", Zt.displayName = "RangeSliderKnob");
6722
+ process.env.NODE_ENV !== "production" && (Ic.displayName = "RangeSlider", er.displayName = "RangeSliderGutter", Jt.displayName = "RangeSliderLabel", tr.displayName = "RangeSliderHighlight", Zt.displayName = "RangeSliderKnob");
6723
6723
  const Vc = Oe(({
6724
6724
  children: e,
6725
6725
  id: r,
@@ -6806,7 +6806,7 @@ const Bc = /* @__PURE__ */ Oe(({
6806
6806
  "aria-disabled": a,
6807
6807
  "aria-label": u,
6808
6808
  "aria-selected": l,
6809
- className: se(r, { active: l, disabled: a || l && !s }),
6809
+ className: ie(r, { active: l, disabled: a || l && !s }),
6810
6810
  disabled: a || l && !s,
6811
6811
  onClick: P,
6812
6812
  children: e ?? u
@@ -6828,12 +6828,12 @@ const Hc = /* @__PURE__ */ Oe(({
6828
6828
  position: _ = 0,
6829
6829
  trackPadding: P = 0,
6830
6830
  labelProvider: k,
6831
- onDragEnd: I,
6831
+ onDragEnd: $,
6832
6832
  onDragStart: M,
6833
6833
  onChange: b,
6834
6834
  ...j
6835
6835
  }, K) => {
6836
- const W = Ee(null), F = Ee(null), Y = me((Q, Z, ie) => {
6836
+ const W = Ee(null), F = Ee(null), Y = me((Q, Z, se) => {
6837
6837
  const D = ge.from(W.current) ?? ge.zero, T = a ? 1 - Q : Q;
6838
6838
  switch (N) {
6839
6839
  case "horizontal": {
@@ -6841,7 +6841,7 @@ const Hc = /* @__PURE__ */ Oe(({
6841
6841
  return a ? 1 - re : re;
6842
6842
  }
6843
6843
  case "vertical": {
6844
- const V = s ? D.height - u : D.height, ne = T * V + ie, re = Math.max(0, Math.min(1, ne / V));
6844
+ const V = s ? D.height - u : D.height, ne = T * V + se, re = Math.max(0, Math.min(1, ne / V));
6845
6845
  return a ? 1 - re : re;
6846
6846
  }
6847
6847
  default:
@@ -6849,15 +6849,15 @@ const Hc = /* @__PURE__ */ Oe(({
6849
6849
  }
6850
6850
  }, [W.current, s, a, g, u, N]), S = me((Q) => {
6851
6851
  if (!l) return;
6852
- const Z = ge.from(W.current) ?? ge.zero, ie = ge.fromViewport();
6852
+ const Z = ge.from(W.current) ?? ge.zero, se = ge.fromViewport();
6853
6853
  switch (N) {
6854
6854
  case "horizontal": {
6855
- const D = (Q.clientX + ie.left - Z.left) / Z.width, T = a ? 1 - D : D;
6855
+ const D = (Q.clientX + se.left - Z.left) / Z.width, T = a ? 1 - D : D;
6856
6856
  U(T);
6857
6857
  break;
6858
6858
  }
6859
6859
  case "vertical": {
6860
- const D = (Q.clientY + ie.top - Z.top) / Z.height, T = a ? 1 - D : D;
6860
+ const D = (Q.clientY + se.top - Z.top) / Z.height, T = a ? 1 - D : D;
6861
6861
  U(T);
6862
6862
  break;
6863
6863
  }
@@ -6868,7 +6868,7 @@ const Hc = /* @__PURE__ */ Oe(({
6868
6868
  initialValue: _,
6869
6869
  transform: Y,
6870
6870
  onDragStart: M,
6871
- onDragEnd: I
6871
+ onDragEnd: $
6872
6872
  }), G = a ? 1 - R : R, H = Yc({ orientation: N, isAtEnd: a ? R === 0 : R === 1, isAtStart: a ? R === 1 : R === 0, isDragging: C, isReleasing: E }), z = Xc({ orientation: N, isClipped: s, naturalPosition: G, knobPadding: p, knobHeight: u, knobWidth: g, isTrackInteractive: l });
6873
6873
  be(() => {
6874
6874
  C || _ === R || U(_);
@@ -6890,12 +6890,13 @@ const Hc = /* @__PURE__ */ Oe(({
6890
6890
  ref: K,
6891
6891
  "aria-orientation": N,
6892
6892
  "aria-valuenow": R,
6893
- className: se(r, H.root),
6893
+ className: ie(r, H.root),
6894
6894
  role: "slider",
6895
6895
  children: /* @__PURE__ */ x.jsxs("div", { ref: W, style: z.body, children: [
6896
6896
  /* @__PURE__ */ x.jsx(
6897
6897
  he,
6898
6898
  {
6899
+ className: ie(a ? "end" : "start", H.track),
6899
6900
  element: A.track ?? /* @__PURE__ */ x.jsx(en, {}),
6900
6901
  style: ce(z.track, N === "vertical" ? {
6901
6902
  height: `calc(${G * 100}% - ${P <= 0 ? 0 : u * 0.5}px - ${P}px)`,
@@ -6911,6 +6912,7 @@ const Hc = /* @__PURE__ */ Oe(({
6911
6912
  /* @__PURE__ */ x.jsx(
6912
6913
  he,
6913
6914
  {
6915
+ className: ie(a ? "start" : "end", H.track),
6914
6916
  element: A.track ?? /* @__PURE__ */ x.jsx(en, {}),
6915
6917
  style: ce(z.track, N === "vertical" ? {
6916
6918
  bottom: "0",
@@ -6927,12 +6929,12 @@ const Hc = /* @__PURE__ */ Oe(({
6927
6929
  he,
6928
6930
  {
6929
6931
  ref: F,
6930
- className: se(H.knobContainer),
6932
+ className: ie(H.knobContainer),
6931
6933
  element: A.knobContainer ?? /* @__PURE__ */ x.jsx(or, {}),
6932
6934
  style: z.knobContainer,
6933
- children: /* @__PURE__ */ x.jsxs(he, { className: se(H.knob), element: A.knob ?? /* @__PURE__ */ x.jsx(rr, {}), style: ce(z.knob), children: [
6935
+ children: /* @__PURE__ */ x.jsxs(he, { className: ie(H.knob), element: A.knob ?? /* @__PURE__ */ x.jsx(rr, {}), style: ce(z.knob), children: [
6934
6936
  /* @__PURE__ */ x.jsx("div", { style: z.knobHitBox }),
6935
- k && /* @__PURE__ */ x.jsx(he, { className: se(H.label), element: A.label ?? /* @__PURE__ */ x.jsx(ir, {}), style: ce(z.label), children: k(R) })
6937
+ k && /* @__PURE__ */ x.jsx(he, { className: ie(H.label), element: A.label ?? /* @__PURE__ */ x.jsx(ir, {}), style: ce(z.label), children: k(R) })
6936
6938
  ] })
6937
6939
  }
6938
6940
  )
@@ -6942,31 +6944,31 @@ const Hc = /* @__PURE__ */ Oe(({
6942
6944
  }), en = ({ ...e }) => /* @__PURE__ */ x.jsx("div", { ...e }), rr = ({ ...e }) => /* @__PURE__ */ x.jsx("div", { ...e }), or = ({ ...e }) => /* @__PURE__ */ x.jsx("button", { ...e }), ir = ({ ...e }) => /* @__PURE__ */ x.jsx("div", { ...e });
6943
6945
  function Yc({ orientation: e = "vertical", isAtEnd: r = !1, isAtStart: s = !1, isDragging: a = !1, isReleasing: l = !1 }) {
6944
6946
  return {
6945
- root: se(e, {
6947
+ root: ie(e, {
6946
6948
  "at-end": r,
6947
6949
  "at-start": s,
6948
6950
  dragging: a,
6949
6951
  releasing: l
6950
6952
  }),
6951
- track: se(e, {
6953
+ track: ie(e, {
6952
6954
  "at-end": r,
6953
6955
  "at-start": s,
6954
6956
  dragging: a,
6955
6957
  releasing: l
6956
6958
  }),
6957
- knob: se(e, {
6959
+ knob: ie(e, {
6958
6960
  "at-end": r,
6959
6961
  "at-start": s,
6960
6962
  dragging: a,
6961
6963
  releasing: l
6962
6964
  }),
6963
- knobContainer: se(e, {
6965
+ knobContainer: ie(e, {
6964
6966
  "at-end": r,
6965
6967
  "at-start": s,
6966
6968
  dragging: a,
6967
6969
  releasing: l
6968
6970
  }),
6969
- label: se(e, {
6971
+ label: ie(e, {
6970
6972
  "at-end": r,
6971
6973
  "at-start": s,
6972
6974
  dragging: a,
@@ -7054,7 +7056,7 @@ const Uc = /* @__PURE__ */ Oe(({
7054
7056
  onlyDispatchesOnDragEnd: _ = !1,
7055
7057
  orientation: P = "vertical",
7056
7058
  steps: k = qc(10),
7057
- trackPadding: I = 0,
7059
+ trackPadding: $ = 0,
7058
7060
  onDragEnd: M,
7059
7061
  onDragStart: b,
7060
7062
  onIndexChange: j,
@@ -7107,7 +7109,7 @@ const Uc = /* @__PURE__ */ Oe(({
7107
7109
  default:
7108
7110
  console.error(`[etudes::StepSlider] Invalid orientation: ${P}`);
7109
7111
  }
7110
- }, [C.width, C.left, C.top, C.height, E, J, l, u, P, We(k)]), A = l ? et(J) : J, ie = Gc({ orientation: P, isAtEnd: l ? J === 0 : J === 1, isAtStart: l ? J === 1 : J === 0, isDragging: G, isReleasing: te }), D = Wc({ orientation: P, naturalPosition: A, isClipped: a, knobPadding: g, knobHeight: p, knobWidth: m, isTrackInteractive: u }), T = ze(e, {
7112
+ }, [C.width, C.left, C.top, C.height, E, J, l, u, P, We(k)]), A = l ? et(J) : J, se = Gc({ orientation: P, isAtEnd: l ? J === 0 : J === 1, isAtStart: l ? J === 1 : J === 0, isDragging: G, isReleasing: te }), D = Wc({ orientation: P, naturalPosition: A, isClipped: a, knobPadding: g, knobHeight: p, knobWidth: m, isTrackInteractive: u }), T = ze(e, {
7111
7113
  knob: sr,
7112
7114
  knobContainer: ar,
7113
7115
  label: cr,
@@ -7133,20 +7135,20 @@ const Uc = /* @__PURE__ */ Oe(({
7133
7135
  ...W,
7134
7136
  ref: F,
7135
7137
  "aria-valuenow": E,
7136
- className: se(r, ie.root),
7138
+ className: ie(r, se.root),
7137
7139
  role: "slider",
7138
7140
  children: /* @__PURE__ */ x.jsxs("div", { ref: Y, style: D.body, children: [
7139
7141
  /* @__PURE__ */ x.jsx(
7140
7142
  he,
7141
7143
  {
7142
- className: se(l ? "end" : "start", ie.track),
7144
+ className: ie(l ? "end" : "start", se.track),
7143
7145
  element: T.track ?? /* @__PURE__ */ x.jsx(tn, {}),
7144
7146
  style: ce(D.track, P === "vertical" ? {
7145
- height: `calc(${A * 100}% - ${I <= 0 ? 0 : p * 0.5}px - ${I}px)`,
7147
+ height: `calc(${A * 100}% - ${$ <= 0 ? 0 : p * 0.5}px - ${$}px)`,
7146
7148
  top: "0"
7147
7149
  } : {
7148
7150
  left: "0",
7149
- width: `calc(${A * 100}% - ${I <= 0 ? 0 : m * 0.5}px - ${I}px)`
7151
+ width: `calc(${A * 100}% - ${$ <= 0 ? 0 : m * 0.5}px - ${$}px)`
7150
7152
  }),
7151
7153
  onClick: z,
7152
7154
  children: /* @__PURE__ */ x.jsx("div", { style: D.trackHitBox })
@@ -7155,14 +7157,14 @@ const Uc = /* @__PURE__ */ Oe(({
7155
7157
  /* @__PURE__ */ x.jsx(
7156
7158
  he,
7157
7159
  {
7158
- className: se(l ? "start" : "end", ie.track),
7160
+ className: ie(l ? "start" : "end", se.track),
7159
7161
  element: T.track ?? /* @__PURE__ */ x.jsx(tn, {}),
7160
7162
  style: ce(D.track, P === "vertical" ? {
7161
7163
  bottom: "0",
7162
- height: `calc(${et(A) * 100}% - ${I <= 0 ? 0 : p * 0.5}px - ${I}px)`
7164
+ height: `calc(${et(A) * 100}% - ${$ <= 0 ? 0 : p * 0.5}px - ${$}px)`
7163
7165
  } : {
7164
7166
  right: "0",
7165
- width: `calc(${et(A) * 100}% - ${I <= 0 ? 0 : m * 0.5}px - ${I}px)`
7167
+ width: `calc(${et(A) * 100}% - ${$ <= 0 ? 0 : m * 0.5}px - ${$}px)`
7166
7168
  }),
7167
7169
  onClick: z,
7168
7170
  children: /* @__PURE__ */ x.jsx("div", { style: D.trackHitBox })
@@ -7172,12 +7174,12 @@ const Uc = /* @__PURE__ */ Oe(({
7172
7174
  he,
7173
7175
  {
7174
7176
  ref: S,
7175
- className: se(ie.knobContainer),
7177
+ className: ie(se.knobContainer),
7176
7178
  element: T.knobContainer ?? /* @__PURE__ */ x.jsx(ar, {}),
7177
7179
  style: ce(D.knobContainer),
7178
- children: /* @__PURE__ */ x.jsxs(he, { className: se(ie.knob), element: T.knob ?? /* @__PURE__ */ x.jsx(sr, {}), style: ce(D.knob), children: [
7180
+ children: /* @__PURE__ */ x.jsxs(he, { className: ie(se.knob), element: T.knob ?? /* @__PURE__ */ x.jsx(sr, {}), style: ce(D.knob), children: [
7179
7181
  /* @__PURE__ */ x.jsx("div", { style: D.knobHitBox }),
7180
- k && N && /* @__PURE__ */ x.jsx(he, { className: se(ie.label), element: T.label ?? /* @__PURE__ */ x.jsx(cr, {}), style: ce(D.label), children: N(J, Ot(J, k)) })
7182
+ k && N && /* @__PURE__ */ x.jsx(he, { className: ie(se.label), element: T.label ?? /* @__PURE__ */ x.jsx(cr, {}), style: ce(D.label), children: N(J, Ot(J, k)) })
7181
7183
  ] })
7182
7184
  }
7183
7185
  )
@@ -7208,31 +7210,31 @@ function dt(e, r) {
7208
7210
  }
7209
7211
  function Gc({ orientation: e = "vertical", isAtEnd: r = !1, isAtStart: s = !1, isDragging: a = !1, isReleasing: l = !1 }) {
7210
7212
  return {
7211
- root: se(e, {
7213
+ root: ie(e, {
7212
7214
  "at-end": r,
7213
7215
  "at-start": s,
7214
7216
  dragging: a,
7215
7217
  releasing: l
7216
7218
  }),
7217
- track: se(e, {
7219
+ track: ie(e, {
7218
7220
  "at-end": r,
7219
7221
  "at-start": s,
7220
7222
  dragging: a,
7221
7223
  releasing: l
7222
7224
  }),
7223
- knob: se(e, {
7225
+ knob: ie(e, {
7224
7226
  "at-end": r,
7225
7227
  "at-start": s,
7226
7228
  dragging: a,
7227
7229
  releasing: l
7228
7230
  }),
7229
- knobContainer: se(e, {
7231
+ knobContainer: ie(e, {
7230
7232
  "at-end": r,
7231
7233
  "at-start": s,
7232
7234
  dragging: a,
7233
7235
  releasing: l
7234
7236
  }),
7235
- label: se(e, {
7237
+ label: ie(e, {
7236
7238
  "at-end": r,
7237
7239
  "at-start": s,
7238
7240
  dragging: a,
@@ -7322,16 +7324,16 @@ const Kc = /* @__PURE__ */ Oe(({
7322
7324
  onSwipeUp: p,
7323
7325
  ...g
7324
7326
  }, m) => {
7325
- const [N, _] = Se(void 0), [P, k] = Se(void 0), [I, M] = Se(NaN), b = (F, Y) => {
7327
+ const [N, _] = Se(void 0), [P, k] = Se(void 0), [$, M] = Se(NaN), b = (F, Y) => {
7326
7328
  if (isNaN(F) || isNaN(Y)) return W();
7327
7329
  _(de.make(F, Y));
7328
7330
  }, j = (F, Y) => {
7329
7331
  const S = N;
7330
7332
  if (S === void 0) return;
7331
- const C = S.x !== F || S.y !== Y, E = !isNaN(I);
7333
+ const C = S.x !== F || S.y !== Y, E = !isNaN($);
7332
7334
  C && (E || M(Date.now()), k(de.make(F, Y)));
7333
7335
  }, K = () => {
7334
- const F = I, Y = N, S = P;
7336
+ const F = $, Y = N, S = P;
7335
7337
  if (isNaN(F) || Y === void 0 || S === void 0) return;
7336
7338
  const C = Date.now() - F, E = S.x - Y.x, R = S.y - Y.y, U = E / C, G = R / C;
7337
7339
  r && (Math.abs(U) >= s && Math.abs(U) > Math.abs(G) ? U > 0 ? u?.() : l?.() : Math.abs(G) >= s && Math.abs(G) > Math.abs(U) && (G > 0 ? a?.() : p?.())), W();
@@ -7380,17 +7382,17 @@ const Zc = Oe(({
7380
7382
  const N = Ee(null), _ = jo(N), P = ze(r, {
7381
7383
  knob: ur,
7382
7384
  track: lr
7383
- }), k = Qc({ isOn: a }), I = el({ isOn: a, isInverted: s, orientation: l, knobSize: _ });
7384
- return /* @__PURE__ */ x.jsxs("label", { ...g, ref: m, className: se(e, k.root), style: ce(u, I.root), children: [
7385
- /* @__PURE__ */ x.jsx("input", { checked: a, style: I.input, type: "checkbox", onChange: (M) => p?.(M.target.checked) }),
7386
- /* @__PURE__ */ x.jsx(he, { className: k.track, element: P.track ?? /* @__PURE__ */ x.jsx(lr, {}), style: I.track, children: /* @__PURE__ */ x.jsx("div", { style: { position: "relative", width: "100%", height: "100%" }, children: /* @__PURE__ */ x.jsx(he, { ref: N, className: k.knob, element: P.knob ?? /* @__PURE__ */ x.jsx(ur, {}), style: I.knob }) }) })
7385
+ }), k = Qc({ isOn: a }), $ = el({ isOn: a, isInverted: s, orientation: l, knobSize: _ });
7386
+ return /* @__PURE__ */ x.jsxs("label", { ...g, ref: m, className: ie(e, k.root), style: ce(u, $.root), children: [
7387
+ /* @__PURE__ */ x.jsx("input", { checked: a, style: $.input, type: "checkbox", onChange: (M) => p?.(M.target.checked) }),
7388
+ /* @__PURE__ */ x.jsx(he, { className: k.track, element: P.track ?? /* @__PURE__ */ x.jsx(lr, {}), style: $.track, children: /* @__PURE__ */ x.jsx("div", { style: { position: "relative", width: "100%", height: "100%" }, children: /* @__PURE__ */ x.jsx(he, { ref: N, className: k.knob, element: P.knob ?? /* @__PURE__ */ x.jsx(ur, {}), style: $.knob }) }) })
7387
7389
  ] });
7388
7390
  }), lr = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("div", { ...r, children: e }), ur = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("div", { ...r, children: e });
7389
7391
  function Qc({ isOn: e = !1 }) {
7390
7392
  return {
7391
- root: se({ active: e }),
7392
- knob: se({ active: e }),
7393
- track: se({ active: e })
7393
+ root: ie({ active: e }),
7394
+ knob: ie({ active: e }),
7395
+ track: ie({ active: e })
7394
7396
  };
7395
7397
  }
7396
7398
  function el({ isOn: e = !1, isInverted: r = !1, knobSize: s = Me.zero, orientation: a = "horizontal" }) {
@@ -7474,9 +7476,9 @@ function tl({
7474
7476
  maxWidth: m = 200,
7475
7477
  threshold: N = 100
7476
7478
  }) {
7477
- const _ = Ee(null), P = Ee(void 0), k = nt(_), I = me(() => {
7479
+ const _ = Ee(null), P = Ee(void 0), k = nt(_), $ = me(() => {
7478
7480
  const j = document.createElement("span");
7479
- j.className = se(r), j.innerHTML = g, j.role = "tooltip";
7481
+ j.className = ie(r), j.innerHTML = g, j.role = "tooltip";
7480
7482
  const K = a ?? (_.current ? rl(_.current, N) : "tl"), W = nl(j), F = sl({ alignment: K, arrowSize: Me.make(u, l), gap: p, maxDialogWidth: m, fullDialogWidth: W.width, targetWidth: k.width }), Y = ce(s, F.dialog);
7481
7483
  Object.keys(Y).forEach((C) => j.style[C] = Y[C]);
7482
7484
  const S = document.createElement("span");
@@ -7487,11 +7489,11 @@ function tl({
7487
7489
  P.current && (P.current.style.opacity = "0", P.current.ariaHidden = "true");
7488
7490
  }, []);
7489
7491
  return be(() => {
7490
- const j = I();
7492
+ const j = $();
7491
7493
  return _.current?.appendChild(j), P.current = j, () => {
7492
7494
  _.current?.removeChild(j), P.current = void 0;
7493
7495
  };
7494
- }, [I]), /* @__PURE__ */ x.jsx(
7496
+ }, [$]), /* @__PURE__ */ x.jsx(
7495
7497
  ni,
7496
7498
  {
7497
7499
  ref: _,
@@ -7772,10 +7774,10 @@ function El(e, r, {
7772
7774
  mapStateToSearchParam: a,
7773
7775
  shouldPopulateDefaultState: l = !1
7774
7776
  } = {}) {
7775
- const u = me((k, I) => s ? s(k) : k || I, [s]), p = me((k) => a ? a(k) : !l && k === r ? void 0 : `${k}`, [r, l, a]), [g, m] = Es(), N = u(g.get(e) ?? void 0, r), [_, P] = Se(N);
7777
+ const u = me((k, $) => s ? s(k) : k || $, [s]), p = me((k) => a ? a(k) : !l && k === r ? void 0 : `${k}`, [r, l, a]), [g, m] = Es(), N = u(g.get(e) ?? void 0, r), [_, P] = Se(N);
7776
7778
  return be(() => {
7777
- const k = g.get(e), I = p(_);
7778
- I !== k && (I ? g.set(e, I) : g.delete(e), m(g));
7779
+ const k = g.get(e), $ = p(_);
7780
+ $ !== k && ($ ? g.set(e, $) : g.delete(e), m(g));
7779
7781
  }, [_, p]), [_, P];
7780
7782
  }
7781
7783
  function Nl(e, {
@@ -7930,9 +7932,9 @@ function _o(e) {
7930
7932
  return e == null ? "" : Array.isArray(e) ? JSON.stringify(e.map(_o)) : typeof e == "object" ? JSON.stringify(Object.entries(e).sort(([r], [s]) => r.localeCompare(s)).map(([r, s]) => [r, _o(s)])) : We(e);
7931
7933
  }
7932
7934
  export {
7933
- Is as Accordion,
7935
+ $s as Accordion,
7934
7936
  Ao as AccordionCollapseIcon,
7935
- $o as AccordionExpandIcon,
7937
+ Io as AccordionExpandIcon,
7936
7938
  Fn as AccordionHeader,
7937
7939
  Dn as AccordionItem,
7938
7940
  fo as AccordionSection,
@@ -7981,7 +7983,7 @@ export {
7981
7983
  Zn as PanoramaSliderIndicator,
7982
7984
  Qn as PanoramaSliderReticle,
7983
7985
  Kt as PanoramaSliderTrack,
7984
- $c as RangeSlider,
7986
+ Ic as RangeSlider,
7985
7987
  er as RangeSliderGutter,
7986
7988
  tr as RangeSliderHighlight,
7987
7989
  Zt as RangeSliderKnob,