@aiquants/markdown-explorer 0.28.0 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
1
  import { jsx as m, jsxs as L, Fragment as Qe } from "react/jsx-runtime";
2
- import { u as Z, s as At, U as Pe, Q as Je, V as kt, B as Oe, W as Lt, X as Pt, n as Ot, Y as qt, Z as Ct, _ as Ft } from "./index-CdYr9OQ-.js";
2
+ import { u as $, t as At, V as Pe, R as Je, W as kt, G as Oe, X as Lt, Y as Pt, o as Ot, Z as qt, _ as Ct, $ as Ft } from "./index-awodBw8r.js";
3
3
  import * as f from "react";
4
4
  import { use as ye, createContext as qe, useState as F, useCallback as w, useMemo as C, useRef as E, useLayoutEffect as H, useEffect as D, useSyncExternalStore as Ce, Suspense as et, useId as Re } from "react";
5
- import { s as Mt, u as _t, v as tt, x as It, y as Dt, z as Ht, C as Zt, F as $t, A as Ve, B as Bt, D as zt, b as Ee, G as Vt } from "./location-CKuabtKl.js";
5
+ import { s as Mt, u as _t, v as tt, x as It, y as Dt, z as Ht, C as $t, F as Zt, A as Ve, B as Bt, D as zt, b as Ee, G as Vt } from "./location-CKuabtKl.js";
6
6
  import { useDirectoryTreeState as jt, DirectoryTree as Kt } from "@aiquants/directory-tree";
7
- import { T as Gt } from "./tapScrollCircle-B2A6CmmI.js";
8
- import { s as Ut } from "./storage-CmGHg7OA.js";
9
- import { PanelGroup as Wt, Panel as je, PanelResizeHandle as Xt } from "@aiquants/resize-panels";
7
+ import { TAP_SCROLL_CIRCLE as Gt } from "./tapScrollCircle-DYmzWI-8.js";
8
+ import { s as Wt } from "./storage-CmGHg7OA.js";
9
+ import { PanelGroup as Xt, Panel as je, PanelResizeHandle as Ut } from "@aiquants/resize-panels";
10
10
  import { a as Yt, u as Qt } from "./useSplitPersistence-Bf4M35Il.js";
11
11
  import { useLocation as Jt } from "react-router";
12
12
  function en({
@@ -97,7 +97,7 @@ function on({
97
97
  }));
98
98
  }
99
99
  const sn = /* @__PURE__ */ f.forwardRef(on), cn = () => {
100
- const { notices: e } = Z(), t = ye(e);
100
+ const { notices: e } = $(), t = ye(e);
101
101
  return t.length === 0 ? null : /* @__PURE__ */ m("div", { className: "aqmx-explorer-notices", children: t.map((n) => /* @__PURE__ */ L("div", { className: "aqmx-callout", "data-aqmx-tone": n.tone, "data-testid": "markdown-explorer-notice", "data-aqmx-notice": n.id, children: [
102
102
  /* @__PURE__ */ m("p", { className: "aqmx-callout-title", children: n.title }),
103
103
  n.body === void 0 ? null : /* @__PURE__ */ m("p", { className: "aqmx-callout-body", children: n.body }),
@@ -310,8 +310,8 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
310
310
  o((p) => p.state === "running" && p.opened === i ? p : { state: "running", opened: i });
311
311
  }, []);
312
312
  return C(() => ({ status: r, start: c, end: l, advance: a }), [r, c, l, a]);
313
- }, Ge = ["pointerdown", "wheel", "touchstart", "keydown", "focusin"], Pn = 8, Ue = { least: Number.POSITIVE_INFINITY, stalled: 0 }, On = ({ tree: e, container: t, path: n, chain: r, rows: o, cancel: c, displayed: l, placement: a }) => {
314
- const s = E(null), d = E(!0), u = E(Ue), i = E(null), p = E(null), h = E(r), g = E(a);
313
+ }, Ge = ["pointerdown", "wheel", "touchstart", "keydown", "focusin"], Pn = 8, We = { least: Number.POSITIVE_INFINITY, stalled: 0 }, On = ({ tree: e, container: t, path: n, chain: r, rows: o, cancel: c, displayed: l, placement: a }) => {
314
+ const s = E(null), d = E(!0), u = E(We), i = E(null), p = E(null), h = E(r), g = E(a);
315
315
  H(() => {
316
316
  h.current = r, g.current = a;
317
317
  }, [r, a]);
@@ -345,7 +345,7 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
345
345
  b.phase === "opening" && h.current?.progress(b.folders, A) !== "loading" && P();
346
346
  }));
347
347
  }, [e, t, v, P]), q = w(() => {
348
- d.current = !1, u.current = Ue, k();
348
+ d.current = !1, u.current = We, k();
349
349
  }, [k]);
350
350
  D(() => {
351
351
  const R = t.current;
@@ -375,9 +375,9 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
375
375
  }, [n, y, t, P, q]), D(() => {
376
376
  (i.current?.phase === "opening" || s.current !== null && !d.current) && q();
377
377
  }, [o, q]);
378
- const $ = E(c);
378
+ const Z = E(c);
379
379
  D(() => {
380
- $.current !== c && ($.current = c, P());
380
+ Z.current !== c && (Z.current = c, P());
381
381
  }, [c, P]);
382
382
  const N = E(l);
383
383
  D(() => {
@@ -407,12 +407,12 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
407
407
  a?.disconnect();
408
408
  };
409
409
  }, [e, t]), n;
410
- }, ot = "markdown-explorer-tree-scroll", Hn = 0.5, st = (e, t) => [...e.querySelectorAll(`[role="treeitem"][${ce}]`)].find((n) => n.getAttribute(ce) === t), Zn = (e, t) => {
410
+ }, ot = "markdown-explorer-tree-scroll", Hn = 0.5, st = (e, t) => [...e.querySelectorAll(`[role="treeitem"][${ce}]`)].find((n) => n.getAttribute(ce) === t), $n = (e, t) => {
411
411
  const n = st(e, t), r = n?.closest(`[data-testid="${ot}"]`);
412
412
  if (n === void 0 || r === null || r === void 0) return Number.POSITIVE_INFINITY;
413
413
  const o = r.getBoundingClientRect(), c = n.getBoundingClientRect(), l = o.top - c.top, a = c.height > o.height ? Math.abs(l) : Math.max(0, l) + Math.max(0, c.bottom - o.bottom);
414
414
  return a <= Hn ? 0 : a;
415
- }, $n = {
415
+ }, Zn = {
416
416
  testId: ot,
417
417
  overscanCount: 13,
418
418
  callbackThrottleMs: 13,
@@ -426,11 +426,11 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
426
426
  tapScrollCircleOptions: Gt
427
427
  },
428
428
  behaviorOptions: { enablePointerDrag: !0 }
429
- }, Bn = { hoverClassName: "", directorySelectedClassName: "", itemSelectedClassName: "" }, zn = { color: "inherit", fontSize: "inherit" }, Vn = { fontSize: "inherit" }, jn = /* @__PURE__ */ new Set(), Kn = /* @__PURE__ */ new Map(), Gn = { color: "var(--aqmx-tree-line)" }, Un = (e) => {
429
+ }, Bn = { hoverClassName: "", directorySelectedClassName: "", itemSelectedClassName: "" }, zn = { color: "inherit", fontSize: "inherit" }, Vn = { fontSize: "inherit" }, jn = /* @__PURE__ */ new Set(), Kn = /* @__PURE__ */ new Map(), Gn = { color: "var(--aqmx-tree-line)" }, Wn = (e) => {
430
430
  const t = e instanceof Element ? e.closest(`[${ce}]`) : null;
431
431
  return t === null || t.getAttribute("data-entry-type") !== "file" ? null : t.getAttribute(ce);
432
- }, ct = (e, t, n, r) => n === "folder-limit" ? e.expandAllFolderLimit(r, t.maxFolders, e.expandAll) : e.expandAllDepthLimit(r, t.maxDepth), Wn = (e, t, n) => n.kind === "done" ? e.expandAllDone(n.opened, n.failed, n.complete) : ct(e, t, n.kind, n.opened), it = () => {
433
- const { labels: e } = Z();
432
+ }, ct = (e, t, n, r) => n === "folder-limit" ? e.expandAllFolderLimit(r, t.maxFolders, e.expandAll) : e.expandAllDepthLimit(r, t.maxDepth), Xn = (e, t, n) => n.kind === "done" ? e.expandAllDone(n.opened, n.failed, n.complete) : ct(e, t, n.kind, n.opened), it = () => {
433
+ const { labels: e } = $();
434
434
  return /* @__PURE__ */ L("div", { className: "aqmx-explorer-loading", "aria-busy": "true", "data-testid": "markdown-explorer-tree-loading", children: [
435
435
  /* @__PURE__ */ m("p", { className: "aqmx-explorer-loading-text", children: e.treeLoading }),
436
436
  /* @__PURE__ */ L("div", { className: "aqmx-skeleton", "aria-hidden": "true", children: [
@@ -441,15 +441,15 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
441
441
  /* @__PURE__ */ m("span", {})
442
442
  ] })
443
443
  ] });
444
- }, Xn = () => {
445
- const { labels: e } = Z();
444
+ }, Un = () => {
445
+ const { labels: e } = $();
446
446
  return /* @__PURE__ */ L("div", { className: "aqmx-empty", "data-testid": "markdown-explorer-tree-empty", children: [
447
447
  /* @__PURE__ */ m(un, { className: "aqmx-explorer-empty-icon", "aria-hidden": "true" }),
448
448
  /* @__PURE__ */ m("p", { className: "aqmx-empty-title", children: e.treeEmptyTitle }),
449
449
  /* @__PURE__ */ m("p", { className: "aqmx-explorer-empty-body", children: e.treeEmptyBody })
450
450
  ] });
451
451
  }, Yn = ({ name: e, onRetry: t }) => {
452
- const { labels: n } = Z(), r = Re();
452
+ const { labels: n } = $(), r = Re();
453
453
  return /* @__PURE__ */ L("span", { className: "aqmx-explorer-folder-failed", children: [
454
454
  /* @__PURE__ */ m("span", { className: "aqmx-explorer-folder-name", children: e }),
455
455
  /* @__PURE__ */ m("span", { id: r, className: "aqmx-explorer-folder-error", children: n.folderLoadFailed }),
@@ -494,9 +494,9 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
494
494
  expandAll: v,
495
495
  revealCancel: P
496
496
  }) => {
497
- const { trees: k, documents: q, labels: y, locale: $, theme: N, data: R, config: A, sources: S, reveals: b } = Z(), _ = ye(Fe), [B] = F(wn), ie = E(null), { rowHeight: re, lineColor: K } = Dn(ie, N), { isExpanded: G, toggle: ae, expandMultiple: z, collapseMultiple: Q, expanded: J, isPending: ee } = i, { alwaysExpanded: M, sortMode: le, folderPlacement: de, readmePlacement: he } = o, { direct: oe, markDirect: U, unmarkDirect: te, pruneDirect: we } = h, { running: ue, advance: me } = v, xe = E(null), se = E(null), W = C(() => _t({ sortMode: le, folderPlacement: de, readmePlacement: he }), [le, de, he]), O = C(() => gn(W), [W]), I = w((x) => k.children(r, x), [k, r]), V = C(() => bn(e), [e]), ne = w((x) => !pe(x) && (G(x) || M && !V.has(x)), [G, M, V]), X = E({ shownExpanded: ne, isExpanded: G, unloadedFolders: V, entries: e, childrenOf: I });
497
+ const { trees: k, documents: q, labels: y, locale: Z, theme: N, data: R, config: A, sources: S, reveals: b } = $(), _ = ye(Fe), [B] = F(wn), ie = E(null), { rowHeight: re, lineColor: K } = Dn(ie, N), { isExpanded: G, toggle: ae, expandMultiple: z, collapseMultiple: Q, expanded: J, isPending: ee } = i, { alwaysExpanded: M, sortMode: le, folderPlacement: de, readmePlacement: he } = o, { direct: oe, markDirect: W, unmarkDirect: te, pruneDirect: we } = h, { running: ue, advance: me } = v, xe = E(null), se = E(null), X = C(() => _t({ sortMode: le, folderPlacement: de, readmePlacement: he }), [le, de, he]), O = C(() => gn(X), [X]), I = w((x) => k.children(r, x), [k, r]), V = C(() => bn(e), [e]), ne = w((x) => !pe(x) && (G(x) || M && !V.has(x)), [G, M, V]), U = E({ shownExpanded: ne, isExpanded: G, unloadedFolders: V, entries: e, childrenOf: I });
498
498
  H(() => {
499
- X.current = { shownExpanded: ne, isExpanded: G, unloadedFolders: V, entries: e, childrenOf: I };
499
+ U.current = { shownExpanded: ne, isExpanded: G, unloadedFolders: V, entries: e, childrenOf: I };
500
500
  }, [ne, G, V, e, I]);
501
501
  const Ie = w((x) => {
502
502
  xe.current?.scrollToPath(x, { align: "nearest" }), requestAnimationFrame(() => {
@@ -509,9 +509,9 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
509
509
  Ie(pn(x));
510
510
  return;
511
511
  }
512
- X.current.isExpanded(x) ? te([x]) : X.current.unloadedFolders.has(x) && U(x), ae(x);
512
+ U.current.isExpanded(x) ? te([x]) : U.current.unloadedFolders.has(x) && W(x), ae(x);
513
513
  },
514
- [Ie, U, te, ae]
514
+ [Ie, W, te, ae]
515
515
  ), Se = w(
516
516
  (x) => {
517
517
  const T = x.filter((j) => !pe(j));
@@ -521,7 +521,7 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
521
521
  ), xt = w(
522
522
  (x) => {
523
523
  const T = x.filter((j) => !pe(j));
524
- T.length !== 0 && (T.length < x.length && T.every((j) => X.current.shownExpanded(j)) ? Se(T) : z(T));
524
+ T.length !== 0 && (T.length < x.length && T.every((j) => U.current.shownExpanded(j)) ? Se(T) : z(T));
525
525
  },
526
526
  [z, Se]
527
527
  ), De = w(
@@ -530,14 +530,14 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
530
530
  {
531
531
  name: x.name,
532
532
  onRetry: () => {
533
- U(x.path), k.retryChildren(r, x.path), X.current.shownExpanded(x.path) || z([x.path]);
533
+ W(x.path), k.retryChildren(r, x.path), U.current.shownExpanded(x.path) || z([x.path]);
534
534
  }
535
535
  }
536
536
  ),
537
- [k, r, U, z]
538
- ), He = n === "multi" ? l : jn, { loopFolderName: Ze } = y, wt = C(() => B(e, { openPaths: He, childrenOf: I, renderFailedFolder: De, loopFolderName: Ze }), [B, e, He, I, De, Ze, t]), gt = kt(q, Un), $e = E([]), ge = w(() => {
539
- for (const x of $e.current) X.current.unloadedFolders.has(x) && U(x);
540
- }, [U]), { maxDepth: Te } = A.revealDocument, Be = E(u);
537
+ [k, r, W, z]
538
+ ), He = n === "multi" ? l : jn, { loopFolderName: $e } = y, wt = C(() => B(e, { openPaths: He, childrenOf: I, renderFailedFolder: De, loopFolderName: $e }), [B, e, He, I, De, $e, t]), gt = kt(q, Wn), Ze = E([]), ge = w(() => {
539
+ for (const x of Ze.current) U.current.unloadedFolders.has(x) && W(x);
540
+ }, [W]), { maxDepth: Te } = A.revealDocument, Be = E(u);
541
541
  H(() => {
542
542
  Be.current = u;
543
543
  }, [u]);
@@ -554,21 +554,21 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
554
554
  return Y.status !== "ok" || Y.source === null || Y.ancestors.length > Te ? null : Y.source === r ? Y.ancestors : (T.aborted || !S.some((fe) => fe.id === Y.source) || (b.move(Y.source, x, Y.ancestors), Be.current(Y.source)), null);
555
555
  },
556
556
  open: (x) => {
557
- $e.current = x ?? [], x !== null && (ge(), z([...x]));
557
+ Ze.current = x ?? [], x !== null && (ge(), z([...x]));
558
558
  },
559
- progress: (x, T) => En(X.current.entries, x, T, { isShownExpanded: X.current.shownExpanded, childrenOf: X.current.childrenOf })
559
+ progress: (x, T) => En(U.current.entries, x, T, { isShownExpanded: U.current.shownExpanded, childrenOf: U.current.childrenOf })
560
560
  }),
561
561
  [R, r, S, b, Te, ge, z]
562
562
  );
563
563
  D(() => ge(), [ge, V]);
564
- const bt = C(() => [e, t, J], [e, t, J]), Et = w((x) => se.current === null ? Number.POSITIVE_INFINITY : Zn(se.current, x), []);
564
+ const bt = C(() => [e, t, J], [e, t, J]), Et = w((x) => se.current === null ? Number.POSITIVE_INFINITY : $n(se.current, x), []);
565
565
  On({ tree: xe, container: se, path: c.path, chain: c.openFolders ? vt : null, rows: bt, cancel: P, displayed: _, placement: Et });
566
- const ze = w((x) => oe.has(x), [oe]), ve = C(() => vn(e, { isShownExpanded: ne, childrenOf: I, compare: W, isDirect: ze }), [e, ne, I, W, ze, t]), be = _ && g;
566
+ const ze = w((x) => oe.has(x), [oe]), ve = C(() => vn(e, { isShownExpanded: ne, childrenOf: I, compare: X, isDirect: ze }), [e, ne, I, X, ze, t]), be = _ && g;
567
567
  H(() => {
568
568
  p(e);
569
569
  }, [e, p]), H(() => () => p(null), [p]), D(() => k.claimChildren(r, be ? ve.folders : Kn), [k, r, be, ve]), D(() => we(V), [we, V]), D(() => {
570
- be && ue && me({ entries: e, isShownExpanded: ne, childrenOf: I, compare: W, expanded: J, waiting: ve.waiting, expansionPending: ee });
571
- }, [be, ue, me, e, ne, I, W, J, ve, ee]);
570
+ be && ue && me({ entries: e, isShownExpanded: ne, childrenOf: I, compare: X, expanded: J, waiting: ve.waiting, expansionPending: ee });
571
+ }, [be, ue, me, e, ne, I, X, J, ve, ee]);
572
572
  const yt = w(
573
573
  (x) => {
574
574
  const T = x.entry.absolutePath;
@@ -627,15 +627,15 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
627
627
  entryStyle: Vn,
628
628
  nameStyle: zn
629
629
  },
630
- virtualScroll: $n,
630
+ virtualScroll: Zn,
631
631
  sort: O,
632
- locale: $,
632
+ locale: Z,
633
633
  labels: Tt
634
634
  }
635
635
  )
636
636
  ] });
637
637
  }, Jn = ({ pending: e, status: t }) => {
638
- const { labels: n } = Z(), r = t.state !== "running", [o, c] = F(0), l = E(!0);
638
+ const { labels: n } = $(), r = t.state !== "running", [o, c] = F(0), l = E(!0);
639
639
  H(() => {
640
640
  const s = l.current;
641
641
  if (l.current = r, !r || e > 0 && !s) {
@@ -656,19 +656,19 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
656
656
  /* @__PURE__ */ m("span", { children: t.state === "running" ? n.expandAllProgress(t.opened, a) : n.foldersLoading(a) })
657
657
  ] });
658
658
  }, er = ({ stop: e, opened: t, budget: n }) => {
659
- const { labels: r } = Z();
659
+ const { labels: r } = $();
660
660
  return /* @__PURE__ */ m("p", { className: "aqmx-explorer-expand-all-stop", "data-testid": "markdown-explorer-expand-all-stop", "data-aqmx-stop": e, children: ct(r, n, e, t) });
661
661
  }, tr = ({ entries: e, ...t }) => {
662
- const { trees: n } = Z(), r = Ce(n.subscribe, n.version, n.version), { sourceId: o } = t, [c] = F(mn), l = C(() => c(e, (a) => n.children(o, a)), [c, e, n, o, r]);
663
- return l.length === 0 ? /* @__PURE__ */ m(Xn, {}) : /* @__PURE__ */ m(Qn, { entries: l, version: r, ...t });
662
+ const { trees: n } = $(), r = Ce(n.subscribe, n.version, n.version), { sourceId: o } = t, [c] = F(mn), l = C(() => c(e, (a) => n.children(o, a)), [c, e, n, o, r]);
663
+ return l.length === 0 ? /* @__PURE__ */ m(Un, {}) : /* @__PURE__ */ m(Qn, { entries: l, version: r, ...t });
664
664
  }, nr = ({ result: e, onRetry: t, ...n }) => {
665
- const { renderTreeFailure: r } = Z(), o = ye(e);
665
+ const { renderTreeFailure: r } = $(), o = ye(e);
666
666
  if (o.status === "deferred") return /* @__PURE__ */ m(it, {});
667
667
  if (o.status === "ok") return /* @__PURE__ */ m(tr, { entries: o.entries, ...n });
668
668
  const c = r?.(o.failure);
669
669
  return /* @__PURE__ */ m("div", { className: "aqmx-explorer-tree-message", "data-testid": "markdown-explorer-tree-failure", "data-aqmx-failure": o.failure.reason, children: c !== void 0 ? c : /* @__PURE__ */ m(At, { failure: o.failure, alert: !0, onRetry: t, testId: null }) });
670
670
  }, rr = ({ onControls: e, ...t }) => {
671
- const { trees: n, storageNamespace: r, labels: o, announcer: c, config: l } = Z(), { sourceId: a } = t, s = jt({ storageKey: Ut(r).treeExpansion(a) });
671
+ const { trees: n, storageNamespace: r, labels: o, announcer: c, config: l } = $(), { sourceId: a } = t, s = jt({ storageKey: Wt(r).treeExpansion(a) });
672
672
  Ce(n.subscribe, n.version, n.version);
673
673
  const d = n.read(a), u = w(() => n.retry(a), [n, a]);
674
674
  H(() => n.open(a), [n, a]);
@@ -676,7 +676,7 @@ const un = /* @__PURE__ */ f.forwardRef(dn), Fe = qe(!0), nt = "\0loop\0", rt =
676
676
  H(() => {
677
677
  q.current = p;
678
678
  }, [p]);
679
- const y = l.expandAll, $ = w(() => c.announce(o.expandAllStarted), [c, o]), N = w((M) => c.announce(Wn(o, y, M)), [c, o, y]), R = Ln({ budget: y, expandMultiple: h, onStart: $, onFinish: N }), { status: A, start: S, end: b, advance: _ } = R, B = A.state === "running", ie = C(() => ({ running: B, advance: _ }), [B, _]), re = E(null), [K, G] = F(!1), ae = w((M) => {
679
+ const y = l.expandAll, Z = w(() => c.announce(o.expandAllStarted), [c, o]), N = w((M) => c.announce(Xn(o, y, M)), [c, o, y]), R = Ln({ budget: y, expandMultiple: h, onStart: Z, onFinish: N }), { status: A, start: S, end: b, advance: _ } = R, B = A.state === "running", ie = C(() => ({ running: B, advance: _ }), [B, _]), re = E(null), [K, G] = F(!1), ae = w((M) => {
680
680
  re.current = M, G(M !== null);
681
681
  }, []);
682
682
  D(
@@ -722,10 +722,10 @@ function ar({
722
722
  clipRule: "evenodd"
723
723
  }));
724
724
  }
725
- const dt = /* @__PURE__ */ f.forwardRef(ar), We = "markdown-explorer-selection-remove", lr = ({ selection: e, onRemove: t, onClear: n, onOpenSelection: r, onLeave: o }) => {
726
- const { labels: c } = Z(), l = Re(), a = E(null), s = [...e], d = (i, p) => {
725
+ const dt = /* @__PURE__ */ f.forwardRef(ar), Xe = "markdown-explorer-selection-remove", lr = ({ selection: e, onRemove: t, onClear: n, onOpenSelection: r, onLeave: o }) => {
726
+ const { labels: c } = $(), l = Re(), a = E(null), s = [...e], d = (i, p) => {
727
727
  if (p.ownerDocument.activeElement === p) {
728
- const h = a.current === null ? [] : [...a.current.querySelectorAll(`[data-testid="${We}"]`)], g = h.indexOf(p), v = [h[g + 1], h[g - 1]].find((P) => P !== void 0);
728
+ const h = a.current === null ? [] : [...a.current.querySelectorAll(`[data-testid="${Xe}"]`)], g = h.indexOf(p), v = [h[g + 1], h[g - 1]].find((P) => P !== void 0);
729
729
  v === void 0 ? o() : v.focus();
730
730
  }
731
731
  t(i);
@@ -747,7 +747,7 @@ const dt = /* @__PURE__ */ f.forwardRef(ar), We = "markdown-explorer-selection-r
747
747
  className: "aqmx-icon-button aqmx-explorer-tray-remove",
748
748
  "aria-label": c.removeFromSelection(p),
749
749
  title: c.removeFromSelection(p),
750
- "data-testid": We,
750
+ "data-testid": Xe,
751
751
  "data-aqmx-path": i,
752
752
  onClick: (h) => d(i, h.currentTarget),
753
753
  children: /* @__PURE__ */ m(dt, { "aria-hidden": "true" })
@@ -1069,7 +1069,7 @@ const Fr = /* @__PURE__ */ f.forwardRef(Cr), Mr = Object.freeze({
1069
1069
  if (typeof n != "string") throw new TypeError(`[markdown-explorer] the tree setting ${t.key} must name a string label; labels.${t.labelKey} is a ${typeof n}`);
1070
1070
  return n;
1071
1071
  }, _r = ({ id: e, settings: t, descriptors: n, onAdvance: r, onClose: o, ref: c }) => {
1072
- const { labels: l } = Z(), a = E([]);
1072
+ const { labels: l } = $(), a = E([]);
1073
1073
  D(() => {
1074
1074
  a.current[0]?.focus();
1075
1075
  }, []);
@@ -1131,7 +1131,7 @@ const Fr = /* @__PURE__ */ f.forwardRef(Cr), Mr = Object.freeze({
1131
1131
  );
1132
1132
  }) });
1133
1133
  }, Ir = ({ settings: e, descriptors: t, onAdvance: n }) => {
1134
- const { labels: r, announcer: o } = Z(), [c, l] = F(!1), a = E(null), s = E(null), d = E(null), u = Re(), i = w(() => {
1134
+ const { labels: r, announcer: o } = $(), [c, l] = F(!1), a = E(null), s = E(null), d = E(null), u = Re(), i = w(() => {
1135
1135
  a.current?.focus(), l(!1);
1136
1136
  }, []);
1137
1137
  D(() => {
@@ -1181,12 +1181,12 @@ const Fr = /* @__PURE__ */ f.forwardRef(Cr), Mr = Object.freeze({
1181
1181
  menu: c ? /* @__PURE__ */ m(_r, { ref: s, id: u, settings: e, descriptors: t, onAdvance: h, onClose: i }) : null
1182
1182
  };
1183
1183
  }, Dr = () => {
1184
- const { treeSettings: e } = Z();
1184
+ const { treeSettings: e } = $();
1185
1185
  return { settings: Ce(e.subscribe, e.getSnapshot, e.getServerSnapshot), advance: e.advance };
1186
- }, Xe = /* @__PURE__ */ new Set(), Hr = '[role="tree"] [role="treeitem"][tabindex="0"]', Zr = "[data-directory-tree-tab-stop]", ca = (e) => {
1187
- const { mode: t, sourceId: n, currentPath: r, openPaths: o, onOpenDocument: c, onSourceChange: l, onRevealSource: a, viewSwitch: s } = e, { labels: d, sources: u, trees: i, documents: p, announcer: h, reveals: g } = Z(), { settings: v, advance: P } = Dr(), k = C(() => It(t === "tree"), [t]), q = t === "tree" && v.selectionMode === "multiple";
1186
+ }, Ue = /* @__PURE__ */ new Set(), Hr = '[role="tree"] [role="treeitem"][tabindex="0"]', $r = "[data-directory-tree-tab-stop]", ca = (e) => {
1187
+ const { mode: t, sourceId: n, currentPath: r, openPaths: o, onOpenDocument: c, onSourceChange: l, onRevealSource: a, viewSwitch: s } = e, { labels: d, sources: u, trees: i, documents: p, announcer: h, reveals: g } = $(), { settings: v, advance: P } = Dr(), k = C(() => It(t === "tree"), [t]), q = t === "tree" && v.selectionMode === "multiple";
1188
1188
  cr(q);
1189
- const y = e.mode === "tree" ? e.tray.onGatheredChange : null, $ = e.mode === "tree" ? e.onOpenSelection : void 0, N = e.mode === "tree" ? e.onOpenFolder : null, R = e.mode === "tree" && e.currentFolder, A = C(() => N === null ? null : { current: r, open: N }, [N, r]), S = e.mode === "tree" && q ? e.tray.gathered : ke, b = w(
1189
+ const y = e.mode === "tree" ? e.tray.onGatheredChange : null, Z = e.mode === "tree" ? e.onOpenSelection : void 0, N = e.mode === "tree" ? e.onOpenFolder : null, R = e.mode === "tree" && e.currentFolder, A = C(() => N === null ? null : { current: r, open: N }, [N, r]), S = e.mode === "tree" && q ? e.tray.gathered : ke, b = w(
1190
1190
  (O) => {
1191
1191
  const I = P(O);
1192
1192
  return I.selectionMode !== "multiple" && y?.(ke), I;
@@ -1195,8 +1195,8 @@ const Fr = /* @__PURE__ */ f.forwardRef(Cr), Mr = Object.freeze({
1195
1195
  ), _ = Ir({ settings: v, descriptors: k, onAdvance: b }), B = w((O) => y?.((I) => or(I, O)), [y]), ie = w((O) => y?.((I) => sr(I, O)), [y]), re = w(() => y?.(ke), [y]), K = E(null), G = w(() => {
1196
1196
  const O = K.current;
1197
1197
  if (O === null) return;
1198
- [Hr, Zr, '[data-testid="markdown-explorer-tree-settings"]'].map((V) => O.querySelector(V)).find((V) => V !== null)?.focus();
1199
- }, []), ae = C(() => new Set(S.keys()), [S]), z = C(() => r === null ? Xe : /* @__PURE__ */ new Set([r]), [r]), Q = C(() => {
1198
+ [Hr, $r, '[data-testid="markdown-explorer-tree-settings"]'].map((V) => O.querySelector(V)).find((V) => V !== null)?.focus();
1199
+ }, []), ae = C(() => new Set(S.keys()), [S]), z = C(() => r === null ? Ue : /* @__PURE__ */ new Set([r]), [r]), Q = C(() => {
1200
1200
  if (t === "multi") return { mode: "multiple", items: o, shownPath: null, onChange: null };
1201
1201
  switch (v.selectionMode) {
1202
1202
  case "single":
@@ -1204,30 +1204,30 @@ const Fr = /* @__PURE__ */ f.forwardRef(Cr), Mr = Object.freeze({
1204
1204
  case "multiple":
1205
1205
  return { mode: "multiple", items: ae, shownPath: r, onChange: B };
1206
1206
  case "none":
1207
- return { mode: "none", items: Xe, shownPath: null, onChange: null };
1207
+ return { mode: "none", items: Ue, shownPath: null, onChange: null };
1208
1208
  }
1209
1209
  }, [t, o, v.selectionMode, z, r, ae, B]), J = C(() => v.revealDocument ? { path: r, openFolders: !R } : { path: Q.shownPath, openFolders: !1 }, [v.revealDocument, r, R, Q.shownPath]), ee = w(
1210
1210
  (O) => {
1211
1211
  r !== null && g.settle(r), l(O);
1212
1212
  },
1213
1213
  [r, g, l]
1214
- ), [M, le] = F(null), [de, he] = F(!1), [oe, U] = F(null), te = E(!1), we = w(async () => {
1214
+ ), [M, le] = F(null), [de, he] = F(!1), [oe, W] = F(null), te = E(!1), we = w(async () => {
1215
1215
  if (!te.current) {
1216
- te.current = !0, he(!0), U(null);
1216
+ te.current = !0, he(!0), W(null);
1217
1217
  try {
1218
1218
  const O = await i.refresh(n);
1219
1219
  if (O.status === "superseded") return;
1220
- p.invalidate(), O.status === "failed" ? U({ sourceId: n, failure: O.failure }) : h.announce(d.treeRefreshed);
1220
+ p.invalidate(), O.status === "failed" ? W({ sourceId: n, failure: O.failure }) : h.announce(d.treeRefreshed);
1221
1221
  } finally {
1222
1222
  te.current = !1, he(!1);
1223
1223
  }
1224
1224
  }
1225
- }, [i, p, n, h, d]), ue = M === null ? null : M.expandAll, me = M?.expanding === !0, xe = u.find((O) => O.id === n), se = s.target === "multi" ? sn : ln, W = s.target === "multi" ? d.switchToMulti : d.switchToTree;
1225
+ }, [i, p, n, h, d]), ue = M === null ? null : M.expandAll, me = M?.expanding === !0, xe = u.find((O) => O.id === n), se = s.target === "multi" ? sn : ln, X = s.target === "multi" ? d.switchToMulti : d.switchToTree;
1226
1226
  return /* @__PURE__ */ L("nav", { ref: K, "aria-label": d.explorerRegion, className: "aqmx-explorer", "data-testid": "markdown-explorer-explorer", "data-aqmx-mode": t, children: [
1227
1227
  /* @__PURE__ */ L("div", { className: "aqmx-explorer-header", children: [
1228
1228
  u.length > 1 ? /* @__PURE__ */ m("select", { className: "aqmx-explorer-source", "aria-label": d.sourceLabel, title: xe?.label, value: n, onChange: (O) => ee(O.currentTarget.value), "data-testid": "markdown-explorer-source-select", children: u.map((O) => /* @__PURE__ */ m("option", { value: O.id, children: O.label }, O.id)) }) : null,
1229
1229
  /* @__PURE__ */ L("div", { className: "aqmx-explorer-actions", children: [
1230
- /* @__PURE__ */ m(Pt, { to: s.href, navigation: "switch-view", className: "aqmx-icon-button", "aria-label": W, title: W, "data-testid": "markdown-explorer-view-switch", "data-aqmx-target": s.target, children: /* @__PURE__ */ m(se, { "aria-hidden": "true" }) }),
1230
+ /* @__PURE__ */ m(Pt, { to: s.href, navigation: "switch-view", className: "aqmx-icon-button", "aria-label": X, title: X, "data-testid": "markdown-explorer-view-switch", "data-aqmx-target": s.target, children: /* @__PURE__ */ m(se, { "aria-hidden": "true" }) }),
1231
1231
  /* @__PURE__ */ L(
1232
1232
  "button",
1233
1233
  {
@@ -1270,12 +1270,12 @@ const Fr = /* @__PURE__ */ f.forwardRef(Cr), Mr = Object.freeze({
1270
1270
  oe !== null && oe.sourceId === n ? /* @__PURE__ */ m("p", { role: "alert", className: "aqmx-explorer-refresh-failure", "data-testid": "markdown-explorer-refresh-failure", "data-aqmx-failure": oe.failure.reason, children: d.treeRefreshFailed(Ot(d, oe.failure.reason)) }) : null,
1271
1271
  /* @__PURE__ */ m(et, { fallback: null, children: /* @__PURE__ */ m(cn, {}) }),
1272
1272
  /* @__PURE__ */ m(rr, { mode: t, sourceId: n, settings: v, reveal: J, openPaths: o, selection: Q, onOpenDocument: c, folders: A, onRevealSource: a, onControls: le }, n),
1273
- q && S.size > 0 ? /* @__PURE__ */ m(lr, { selection: S, onRemove: ie, onClear: re, onOpenSelection: $, onLeave: G }) : null,
1273
+ q && S.size > 0 ? /* @__PURE__ */ m(lr, { selection: S, onRemove: ie, onClear: re, onOpenSelection: Z, onLeave: G }) : null,
1274
1274
  _.menu
1275
1275
  ] })
1276
1276
  ] });
1277
1277
  };
1278
- function $r({
1278
+ function Zr({
1279
1279
  title: e,
1280
1280
  titleId: t,
1281
1281
  ...n
@@ -1296,12 +1296,12 @@ function $r({
1296
1296
  clipRule: "evenodd"
1297
1297
  }));
1298
1298
  }
1299
- const Br = /* @__PURE__ */ f.forwardRef($r), zr = ({ explorer: e, toggleRef: t, covered: n, onNoticeSlotChange: r, dismissals: o }) => {
1300
- const { labels: c } = Z(), l = Jt(), { location: a } = qt(), [s, d] = F(!1), [u, i] = F({ navigated: l, source: a.source }), [p, h] = F(!1);
1299
+ const Br = /* @__PURE__ */ f.forwardRef(Zr), zr = ({ explorer: e, toggleRef: t, covered: n, onNoticeSlotChange: r, dismissals: o }) => {
1300
+ const { labels: c } = $(), l = Jt(), { location: a } = qt(), [s, d] = F(!1), [u, i] = F({ navigated: l, source: a.source }), [p, h] = F(!1);
1301
1301
  u.navigated !== l && (i({ navigated: l, source: a.source }), u.source === a.source && !p && d(!1));
1302
1302
  const [g, v] = F(o);
1303
1303
  g !== o && (v(o), d(!1));
1304
- const P = E(null), k = E(null), q = E(null), y = E(!1), $ = Re();
1304
+ const P = E(null), k = E(null), q = E(null), y = E(!1), Z = Re();
1305
1305
  H(() => {
1306
1306
  const b = P.current;
1307
1307
  b !== null && (s && !b.open ? (b.showModal(), k.current?.focus()) : !s && b.open && (b.close(), t.current?.focus()), r(s ? q.current : null));
@@ -1317,11 +1317,11 @@ const Br = /* @__PURE__ */ f.forwardRef($r), zr = ({ explorer: e, toggleRef: t,
1317
1317
  d(!1);
1318
1318
  }, []);
1319
1319
  return /* @__PURE__ */ L(Qe, { children: [
1320
- /* @__PURE__ */ m("div", { className: "aqmx-sheet-bar", inert: n, children: /* @__PURE__ */ L("button", { ref: t, type: "button", className: "aqmx-sheet-toggle", "aria-haspopup": "dialog", "aria-expanded": s, "aria-controls": $, "data-testid": "markdown-explorer-sheet-toggle", onClick: () => d(!0), children: [
1320
+ /* @__PURE__ */ m("div", { className: "aqmx-sheet-bar", inert: n, children: /* @__PURE__ */ L("button", { ref: t, type: "button", className: "aqmx-sheet-toggle", "aria-haspopup": "dialog", "aria-expanded": s, "aria-controls": Z, "data-testid": "markdown-explorer-sheet-toggle", onClick: () => d(!0), children: [
1321
1321
  /* @__PURE__ */ m(Br, { "aria-hidden": "true" }),
1322
1322
  /* @__PURE__ */ m("span", { children: c.showExplorer })
1323
1323
  ] }) }),
1324
- /* @__PURE__ */ m("dialog", { ref: P, id: $, className: "aqmx-sheet", "aria-label": c.explorerRegion, "data-testid": "markdown-explorer-sheet", onKeyDown: N, onPointerDown: R, onClick: A, onClose: S, children: /* @__PURE__ */ L("div", { className: "aqmx-sheet-panel", children: [
1324
+ /* @__PURE__ */ m("dialog", { ref: P, id: Z, className: "aqmx-sheet", "aria-label": c.explorerRegion, "data-testid": "markdown-explorer-sheet", onKeyDown: N, onPointerDown: R, onClick: A, onClose: S, children: /* @__PURE__ */ L("div", { className: "aqmx-sheet-panel", children: [
1325
1325
  /* @__PURE__ */ L("div", { className: "aqmx-sheet-header", children: [
1326
1326
  /* @__PURE__ */ m("div", { ref: q, className: "aqmx-sheet-notice-slot" }),
1327
1327
  /* @__PURE__ */ m("button", { ref: k, type: "button", className: "aqmx-sheet-close", "aria-label": c.hideExplorer, title: c.hideExplorer, "data-testid": "markdown-explorer-sheet-close", onClick: () => d(!1), children: /* @__PURE__ */ m(dt, { "aria-hidden": "true" }) })
@@ -1330,13 +1330,13 @@ const Br = /* @__PURE__ */ f.forwardRef($r), zr = ({ explorer: e, toggleRef: t,
1330
1330
  /* @__PURE__ */ m(Ct, { holds: s, testId: "markdown-explorer-sheet-announcer" })
1331
1331
  ] }) })
1332
1332
  ] });
1333
- }, Vr = qe(null), Me = "aqmx-explorer", ft = "aqmx-content", jr = "--aqmx-split-band", _e = '[role="tree"] [role="treeitem"]', Kr = `${_e}[tabindex="0"]`, Gr = "[data-directory-tree-tab-stop]", Ur = (e, t) => {
1333
+ }, Vr = qe(null), Me = "aqmx-explorer", ft = "aqmx-content", jr = "--aqmx-split-band", _e = '[role="tree"] [role="treeitem"]', Kr = `${_e}[tabindex="0"]`, Gr = "[data-directory-tree-tab-stop]", Wr = (e, t) => {
1334
1334
  for (const n of e.querySelectorAll(`[data-panel-id="${Me}"] ${_e}`)) if (n.getAttribute(ce) === t) return n;
1335
1335
  return null;
1336
1336
  }, Ye = (e, t) => ({
1337
1337
  inlineSize: e > 0 ? e : null,
1338
1338
  rootFontPixels: t > 0 ? t : Vt
1339
- }), Wr = (e, t) => {
1339
+ }), Xr = (e, t) => {
1340
1340
  const [n, r] = F(() => Ye(0, 0));
1341
1341
  return H(() => {
1342
1342
  const o = e.current, c = t.current;
@@ -1355,7 +1355,7 @@ const Br = /* @__PURE__ */ f.forwardRef($r), zr = ({ explorer: e, toggleRef: t,
1355
1355
  });
1356
1356
  return s.observe(o), s.observe(c), () => s.disconnect();
1357
1357
  }, [e, t]), n;
1358
- }, pt = (e) => `aqmx-split-handle-${e}`, Xr = (e, { frameRef: t, sheetToggleRef: n, handleId: r }) => {
1358
+ }, pt = (e) => `aqmx-split-handle-${e}`, Ur = (e, { frameRef: t, sheetToggleRef: n, handleId: r }) => {
1359
1359
  const o = E(!1), c = E(null), l = E(!1);
1360
1360
  H(() => {
1361
1361
  const s = t.current;
@@ -1397,7 +1397,7 @@ const Br = /* @__PURE__ */ f.forwardRef($r), zr = ({ explorer: e, toggleRef: t,
1397
1397
  if (a.current !== e || !o.current) return;
1398
1398
  const u = c.current, i = `[data-panel-id="${Me}"]`;
1399
1399
  d([
1400
- u === null ? null : Ur(s, u),
1400
+ u === null ? null : Wr(s, u),
1401
1401
  s.querySelector(`${i} ${Kr}`),
1402
1402
  s.querySelector(`${i} ${Gr}`),
1403
1403
  s.querySelector(`[data-resize-handle-id="${r}"]`)
@@ -1405,8 +1405,8 @@ const Br = /* @__PURE__ */ f.forwardRef($r), zr = ({ explorer: e, toggleRef: t,
1405
1405
  });
1406
1406
  }, [e, t, n, r]);
1407
1407
  }, ia = ({ view: e, explorer: t, content: n, contentCoversPage: r = !1, sheetDismissals: o = 0, onDraggingChange: c }) => {
1408
- const l = E(null), [a, s] = F(null), d = E(null), u = E(null), { inlineSize: i, rootFontPixels: p } = Wr(l, d), h = i !== null && i < Dt(p);
1409
- return Xr(h, { frameRef: l, sheetToggleRef: u, handleId: pt(e) }), /* @__PURE__ */ L("div", { ref: l, className: "aqmx-split-frame", "data-aqmx-explorer-mode": h ? "sheet" : "split", children: [
1408
+ const l = E(null), [a, s] = F(null), d = E(null), u = E(null), { inlineSize: i, rootFontPixels: p } = Xr(l, d), h = i !== null && i < Dt(p);
1409
+ return Ur(h, { frameRef: l, sheetToggleRef: u, handleId: pt(e) }), /* @__PURE__ */ L("div", { ref: l, className: "aqmx-split-frame", "data-aqmx-explorer-mode": h ? "sheet" : "split", children: [
1410
1410
  /* @__PURE__ */ m("span", { ref: d, className: "aqmx-rem-probe", "aria-hidden": "true", "data-aqmx-rem-probe": "" }),
1411
1411
  h ? /* @__PURE__ */ m(zr, { explorer: t, toggleRef: u, covered: r, onNoticeSlotChange: s, dismissals: o }) : null,
1412
1412
  /* @__PURE__ */ m(Vr, { value: h ? a : null, children: /* @__PURE__ */ m(Yr, { view: e, sheet: h, explorer: t, content: n, contentCoversPage: r, onDraggingChange: c, explorerMinPixels: Ht(p) }) })
@@ -1420,7 +1420,7 @@ const Br = /* @__PURE__ */ f.forwardRef($r), zr = ({ explorer: e, toggleRef: t,
1420
1420
  onDraggingChange: c,
1421
1421
  explorerMinPixels: l
1422
1422
  }) => {
1423
- const { viewSettings: a, labels: s } = Z(), u = Ft((N) => e === "tree" ? N.treeExplorer : N.multiExplorer) ?? (e === "tree" ? Bt : zt), i = E(!1), [p, h] = F(!1), g = E(c);
1423
+ const { viewSettings: a, labels: s } = $(), u = Ft((N) => e === "tree" ? N.treeExplorer : N.multiExplorer) ?? (e === "tree" ? Bt : zt), i = E(!1), [p, h] = F(!1), g = E(c);
1424
1424
  H(() => {
1425
1425
  g.current = c;
1426
1426
  }, [c]);
@@ -1442,19 +1442,19 @@ const Br = /* @__PURE__ */ f.forwardRef($r), zr = ({ explorer: e, toggleRef: t,
1442
1442
  },
1443
1443
  []
1444
1444
  );
1445
- const k = Qt() ? Zt : $t, q = C(() => ({ [jr]: `${String(t ? 0 : k)}px` }), [t, k]), y = w(
1445
+ const k = Qt() ? $t : Zt, q = C(() => ({ [jr]: `${String(t ? 0 : k)}px` }), [t, k]), y = w(
1446
1446
  (N, R) => {
1447
1447
  const [A = 0, S = 0] = N;
1448
1448
  N.length === 2 && S > 0 && h(A <= 0), v.layoutChanged(N, R);
1449
1449
  },
1450
1450
  [v]
1451
- ), $ = w(
1451
+ ), Z = w(
1452
1452
  (N) => {
1453
1453
  i.current = N, c?.(N), v.draggingChanged(N);
1454
1454
  },
1455
1455
  [c, v]
1456
1456
  );
1457
- return /* @__PURE__ */ L(Wt, { id: `aqmx-split-${e}`, direction: "horizontal", onLayout: y, className: "aqmx-split", style: q, "data-aqmx-split": e, children: [
1457
+ return /* @__PURE__ */ L(Xt, { id: `aqmx-split-${e}`, direction: "horizontal", onLayout: y, className: "aqmx-split", style: q, "data-aqmx-split": e, children: [
1458
1458
  t ? null : /* @__PURE__ */ m(
1459
1459
  je,
1460
1460
  {
@@ -1470,14 +1470,14 @@ const Br = /* @__PURE__ */ f.forwardRef($r), zr = ({ explorer: e, toggleRef: t,
1470
1470
  }
1471
1471
  ),
1472
1472
  t ? null : /* @__PURE__ */ m(
1473
- Xt,
1473
+ Ut,
1474
1474
  {
1475
1475
  id: pt(e),
1476
1476
  thickness: k,
1477
1477
  indicator: { visible: !0, thickness: Ee.gripThickness, length: Ee.gripLength, barThickness: Ee.barThickness, barLength: Ee.barLength },
1478
1478
  title: s.resizeExplorer,
1479
1479
  "aria-label": s.resizeExplorer,
1480
- onDragging: $,
1480
+ onDragging: Z,
1481
1481
  inert: o,
1482
1482
  className: "aqmx-split-handle"
1483
1483
  }