@danxbot/ui 14.0.0 → 14.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/dist/index.js CHANGED
@@ -162,10 +162,10 @@ const WM = {
162
162
  function Zw(e) {
163
163
  return sh.get(e);
164
164
  }
165
- function W7() {
165
+ function K7() {
166
166
  return [...sh.keys()].sort();
167
167
  }
168
- function K7(e) {
168
+ function q7(e) {
169
169
  return sh.has(e);
170
170
  }
171
171
  function Qw(e) {
@@ -13593,7 +13593,7 @@ function Yt({ content: e, children: t, side: n = "top", className: r, defaultOpe
13593
13593
  }
13594
13594
  );
13595
13595
  }
13596
- function q7({ children: e, delay: t = 0 }) {
13596
+ function Y7({ children: e, delay: t = 0 }) {
13597
13597
  return /* @__PURE__ */ h(oE, { delay: t, children: e });
13598
13598
  }
13599
13599
  const cE = ft({
@@ -13854,7 +13854,7 @@ function Et({
13854
13854
  });
13855
13855
  return !C || !m ? I : /* @__PURE__ */ h(Yt, { content: p, side: "top", children: I });
13856
13856
  }
13857
- function Y7({
13857
+ function X7({
13858
13858
  leading: e,
13859
13859
  detail: t,
13860
13860
  subline: n,
@@ -14172,7 +14172,7 @@ function uE({
14172
14172
  const l = j(l_({ shape: e, sweep: t }), n), c = { width: r, height: o, ...s };
14173
14173
  return a && a > 1 ? /* @__PURE__ */ h("span", { ref: i, className: "flex flex-col gap-3", "aria-busy": "true", "aria-label": "Loading", children: Array.from({ length: a }, (u, f) => /* @__PURE__ */ h("span", { "aria-hidden": !0, className: l, style: c }, f)) }) : /* @__PURE__ */ h("span", { ref: i, "aria-hidden": !0, className: l, style: c });
14174
14174
  }
14175
- function X7({ lines: e = 3, className: t }) {
14175
+ function Z7({ lines: e = 3, className: t }) {
14176
14176
  return /* @__PURE__ */ h("span", { className: j("flex flex-col gap-2", t), children: Array.from({ length: e }, (n, r) => /* @__PURE__ */ h(
14177
14177
  uE,
14178
14178
  {
@@ -14223,7 +14223,7 @@ function c_({ active: e, message: t, children: n, className: r }) {
14223
14223
  )
14224
14224
  ] });
14225
14225
  }
14226
- class Z7 extends BM {
14226
+ class Q7 extends BM {
14227
14227
  state = { error: null, resetKey: this.props.resetKey };
14228
14228
  static getDerivedStateFromError(t) {
14229
14229
  return { error: t };
@@ -15285,7 +15285,7 @@ function Xr({
15285
15285
  }
15286
15286
  );
15287
15287
  }
15288
- function Q7({ legend: e, description: t, className: n, children: r, ref: o }) {
15288
+ function J7({ legend: e, description: t, className: n, children: r, ref: o }) {
15289
15289
  return /* @__PURE__ */ O(CE, { ref: o, className: j("flex min-w-0 flex-col gap-3", n), children: [
15290
15290
  e && /* @__PURE__ */ h(kE, { className: "font-sans text-sm font-semibold text-primary", children: e }),
15291
15291
  t && /* @__PURE__ */ h("p", { className: "-mt-2 text-2xs text-tertiary", children: t }),
@@ -15426,7 +15426,7 @@ const x_ = ft({
15426
15426
  },
15427
15427
  defaultVariants: { size: "md", resize: "vertical" }
15428
15428
  });
15429
- function J7({ className: e, size: t, resize: n, rows: r = 4, ref: o, ...s }) {
15429
+ function e8({ className: e, size: t, resize: n, rows: r = 4, ref: o, ...s }) {
15430
15430
  return /* @__PURE__ */ h(
15431
15431
  gm,
15432
15432
  {
@@ -15822,7 +15822,7 @@ function C_({ delayMs: e, session: t, elRef: n, openRef: r, composingRef: o, ...
15822
15822
  }
15823
15823
  return { enabled: i, saving: a, seed: b, reset: x, noteText: w, save: S, cancel: R };
15824
15824
  }
15825
- function e8(e) {
15825
+ function t8(e) {
15826
15826
  const {
15827
15827
  value: t,
15828
15828
  onCommit: n,
@@ -16012,7 +16012,7 @@ function k_({
16012
16012
  function R_(e, t) {
16013
16013
  return e === "multiline" ? "whitespace-pre-wrap break-words" : e === "wrap" ? "whitespace-normal break-words" : t ? "whitespace-nowrap overflow-x-auto" : "truncate";
16014
16014
  }
16015
- function t8({ label: e, children: t, editing: n, onEditingChange: r, disabled: o, className: s }) {
16015
+ function n8({ label: e, children: t, editing: n, onEditingChange: r, disabled: o, className: s }) {
16016
16016
  bm("EditGutter", n, r);
16017
16017
  const [i, a] = Fs(n, !1, r), l = ye(null), c = ye(null), u = !i && !o;
16018
16018
  return M_(l, c, u), T_(l, c, i), /* @__PURE__ */ O(
@@ -17665,7 +17665,7 @@ function Mm({
17665
17665
  ] })
17666
17666
  ] });
17667
17667
  }
17668
- function n8({ children: e }) {
17668
+ function r8({ children: e }) {
17669
17669
  return /* @__PURE__ */ h(Ma, { render: e });
17670
17670
  }
17671
17671
  function YE({
@@ -18701,7 +18701,7 @@ function Uo(e, t, n, r, o) {
18701
18701
  }
18702
18702
  e.push({ start: t, end: n, type: r, lang: o });
18703
18703
  }
18704
- function r8(e, t) {
18704
+ function o8(e, t) {
18705
18705
  let n = 0;
18706
18706
  for (const r of t) {
18707
18707
  if (r.start !== n)
@@ -18724,10 +18724,10 @@ function oS(e, t) {
18724
18724
  function EV() {
18725
18725
  return ju(), mF();
18726
18726
  }
18727
- function o8(e) {
18727
+ function s8(e) {
18728
18728
  return ju(), hF(e);
18729
18729
  }
18730
- function s8(e) {
18730
+ function i8(e) {
18731
18731
  ju(), UE(e);
18732
18732
  }
18733
18733
  function SV(e, t) {
@@ -19569,7 +19569,7 @@ function mS({
19569
19569
  }
19570
19570
  );
19571
19571
  }
19572
- function i8({ className: e, children: t, ref: n, ...r }) {
19572
+ function a8({ className: e, children: t, ref: n, ...r }) {
19573
19573
  return /* @__PURE__ */ h(
19574
19574
  dS,
19575
19575
  {
@@ -19583,7 +19583,7 @@ function i8({ className: e, children: t, ref: n, ...r }) {
19583
19583
  }
19584
19584
  );
19585
19585
  }
19586
- function a8({ className: e }) {
19586
+ function l8({ className: e }) {
19587
19587
  return /* @__PURE__ */ h(
19588
19588
  uS,
19589
19589
  {
@@ -19591,7 +19591,7 @@ function a8({ className: e }) {
19591
19591
  }
19592
19592
  );
19593
19593
  }
19594
- function l8({
19594
+ function c8({
19595
19595
  variant: e,
19596
19596
  size: t,
19597
19597
  iconOnly: n,
@@ -19613,7 +19613,7 @@ function l8({
19613
19613
  }
19614
19614
  );
19615
19615
  }
19616
- function c8({ focusableWhenDisabled: e, ref: t, ...n }) {
19616
+ function u8({ focusableWhenDisabled: e, ref: t, ...n }) {
19617
19617
  return /* @__PURE__ */ h(
19618
19618
  hS,
19619
19619
  {
@@ -19623,7 +19623,7 @@ function c8({ focusableWhenDisabled: e, ref: t, ...n }) {
19623
19623
  }
19624
19624
  );
19625
19625
  }
19626
- function u8({ className: e, children: t, ref: n, ...r }) {
19626
+ function d8({ className: e, children: t, ref: n, ...r }) {
19627
19627
  return /* @__PURE__ */ h(
19628
19628
  fS,
19629
19629
  {
@@ -20471,7 +20471,7 @@ function $i(e, t, n = "after") {
20471
20471
  return i ? (i.setBaseAndExtent(o.node, o.offset, s.node, s.offset), !0) : !1;
20472
20472
  }
20473
20473
  const u$ = new Intl.Segmenter(void 0, { granularity: "grapheme" });
20474
- function d8(e, t, n) {
20474
+ function f8(e, t, n) {
20475
20475
  const r = Math.max(0, Math.min(t, e.length));
20476
20476
  if (n === 1 && r >= e.length) return e.length;
20477
20477
  if (n === -1 && r <= 0) return 0;
@@ -20856,7 +20856,7 @@ function M$(e = "", t) {
20856
20856
  };
20857
20857
  };
20858
20858
  }
20859
- function f8(e, t) {
20859
+ function p8(e, t) {
20860
20860
  if (!e.trim()) throw new Error("insertImage: src is required — an image with no source renders as a broken box");
20861
20861
  return (n, r) => {
20862
20862
  const { from: o, to: s } = qt(r), i = OS(e, t ?? n.slice(o, s)), a = DS(Mc(n), o);
@@ -24163,7 +24163,7 @@ function sz(e, t, n) {
24163
24163
  return null;
24164
24164
  }
24165
24165
  const NC = Rn(null);
24166
- function p8({ uploadImage: e, children: t }) {
24166
+ function h8({ uploadImage: e, children: t }) {
24167
24167
  return /* @__PURE__ */ h(NC.Provider, { value: e, children: t });
24168
24168
  }
24169
24169
  function iz(e) {
@@ -24780,7 +24780,7 @@ function xz({
24780
24780
  ] });
24781
24781
  }
24782
24782
  const vz = "An image is still uploading or failed to upload. Wait for it, or remove it, before saving.";
24783
- function h8(e) {
24783
+ function m8(e) {
24784
24784
  bm("InlineMarkdownEdit", e.editing, e.onEditingChange);
24785
24785
  const { editing: t, onEditingChange: n } = e, r = e.readOnly !== void 0, o = ye(null), s = ME({
24786
24786
  component: "InlineMarkdownEdit",
@@ -24937,7 +24937,7 @@ const Sz = ft({
24937
24937
  ]
24938
24938
  }
24939
24939
  });
24940
- function m8({
24940
+ function g8({
24941
24941
  value: e,
24942
24942
  onChange: t,
24943
24943
  configured: n,
@@ -26102,7 +26102,7 @@ function ay({ orientation: e = "horizontal", label: t, className: n, ref: r }) {
26102
26102
  }
26103
26103
  );
26104
26104
  }
26105
- function g8({ children: e, maxHeight: t, className: n }) {
26105
+ function b8({ children: e, maxHeight: t, className: n }) {
26106
26106
  return /* @__PURE__ */ O(MC, { className: j("relative min-w-0", n), children: [
26107
26107
  /* @__PURE__ */ h(
26108
26108
  OC,
@@ -26249,7 +26249,7 @@ const jz = {
26249
26249
  warning: "border-warning-border bg-warning-subtle text-warning-text",
26250
26250
  danger: "border-danger-border bg-danger-subtle text-danger-text"
26251
26251
  };
26252
- function b8({ items: e, className: t }) {
26252
+ function x8({ items: e, className: t }) {
26253
26253
  return /* @__PURE__ */ h("ol", { className: j("flex min-w-0 flex-col", t), children: e.map((n, r) => /* @__PURE__ */ O("li", { className: "relative flex min-w-0 gap-4 pb-6 last:pb-0", children: [
26254
26254
  r < e.length - 1 && /* @__PURE__ */ h(
26255
26255
  "span",
@@ -26429,7 +26429,7 @@ const jC = ft({
26429
26429
  ]
26430
26430
  }
26431
26431
  });
26432
- function x8(e) {
26432
+ function v8(e) {
26433
26433
  const {
26434
26434
  label: t,
26435
26435
  description: n,
@@ -26481,7 +26481,7 @@ function x8(e) {
26481
26481
  ] })
26482
26482
  ] });
26483
26483
  }
26484
- function v8({
26484
+ function y8({
26485
26485
  title: e,
26486
26486
  description: t,
26487
26487
  titleAs: n,
@@ -26511,7 +26511,7 @@ function Gz({ term: e, children: t, mono: n, className: r }) {
26511
26511
  }
26512
26512
  );
26513
26513
  }
26514
- function y8({ entries: e, children: t, className: n, ref: r, ...o }) {
26514
+ function w8({ entries: e, children: t, className: n, ref: r, ...o }) {
26515
26515
  return /* @__PURE__ */ h("dl", { ref: r, className: j("flex flex-col", n), ...o, children: e ? e.map(({ key: s, term: i, value: a, mono: l }) => /* @__PURE__ */ h(Gz, { term: i, mono: l, children: a }, s)) : t });
26516
26516
  }
26517
26517
  const Wz = {
@@ -26550,7 +26550,7 @@ const Wz = {
26550
26550
  function Kz() {
26551
26551
  return /* @__PURE__ */ h("span", { className: "grid size-9 shrink-0 place-items-center rounded-lg bg-surface-inset text-tertiary", children: /* @__PURE__ */ h(me, { name: "link", size: "md" }) });
26552
26552
  }
26553
- function w8({
26553
+ function E8({
26554
26554
  logo: e,
26555
26555
  name: t,
26556
26556
  description: n,
@@ -27538,7 +27538,7 @@ function tk({ size: e, className: t, ref: n, ...r }) {
27538
27538
  }
27539
27539
  ) });
27540
27540
  }
27541
- function E8({
27541
+ function S8({
27542
27542
  className: e,
27543
27543
  orientation: t = "vertical",
27544
27544
  children: n,
@@ -27559,7 +27559,7 @@ function E8({
27559
27559
  }
27560
27560
  );
27561
27561
  }
27562
- function S8({
27562
+ function C8({
27563
27563
  label: e,
27564
27564
  description: t,
27565
27565
  error: n,
@@ -27582,7 +27582,7 @@ function S8({
27582
27582
  }
27583
27583
  );
27584
27584
  }
27585
- function C8({
27585
+ function k8({
27586
27586
  label: e,
27587
27587
  description: t,
27588
27588
  error: n,
@@ -27605,7 +27605,7 @@ function C8({
27605
27605
  }
27606
27606
  );
27607
27607
  }
27608
- function k8({
27608
+ function R8({
27609
27609
  label: e,
27610
27610
  description: t,
27611
27611
  error: n,
@@ -27628,7 +27628,7 @@ function k8({
27628
27628
  }
27629
27629
  );
27630
27630
  }
27631
- function R8({ label: e, description: t, className: n, size: r, ...o }) {
27631
+ function N8({ label: e, description: t, className: n, size: r, ...o }) {
27632
27632
  return /* @__PURE__ */ O(
27633
27633
  "label",
27634
27634
  {
@@ -27691,7 +27691,7 @@ const i5 = ft({
27691
27691
  { key: "unset", value: null, pos: 0.5 },
27692
27692
  { key: "yes", value: !0, pos: 1 }
27693
27693
  ], l5 = (e) => Er.find((t) => t.value === e) ?? Er[1];
27694
- function N8({
27694
+ function I8({
27695
27695
  value: e,
27696
27696
  onValueChange: t,
27697
27697
  "aria-label": n,
@@ -28667,7 +28667,7 @@ const dy = {
28667
28667
  "bottom-right": "bottom-4 right-4",
28668
28668
  "bottom-center": "bottom-4 left-1/2 -translate-x-1/2"
28669
28669
  };
28670
- function I8({ position: e = "bottom-right" }) {
28670
+ function M8({ position: e = "bottom-right" }) {
28671
28671
  const { toasts: t } = hk(), n = e.startsWith("top");
28672
28672
  return /* @__PURE__ */ h(pk, { children: /* @__PURE__ */ h(
28673
28673
  rk,
@@ -28766,7 +28766,7 @@ function I8({ position: e = "bottom-right" }) {
28766
28766
  }
28767
28767
  ) });
28768
28768
  }
28769
- function M8({ children: e, limit: t = 3 }) {
28769
+ function T8({ children: e, limit: t = 3 }) {
28770
28770
  return /* @__PURE__ */ h(nk, { limit: t, children: e });
28771
28771
  }
28772
28772
  const fy = {
@@ -28778,7 +28778,7 @@ const fy = {
28778
28778
  /* A loading toast ends when the work does, not on a clock. */
28779
28779
  loading: 0
28780
28780
  };
28781
- function T8() {
28781
+ function P8() {
28782
28782
  const e = hk();
28783
28783
  return {
28784
28784
  show({ title: t, description: n, tone: r = "info", timeout: o, action: s, onClose: i }) {
@@ -30038,7 +30038,7 @@ function xy({
30038
30038
  n
30039
30039
  ] });
30040
30040
  }
30041
- function P8({ className: e, triggerClassName: t, iconOnly: n = !1 }) {
30041
+ function O8({ className: e, triggerClassName: t, iconOnly: n = !1 }) {
30042
30042
  const { theme: r, setTheme: o } = L5(), { scale: s, setScale: i } = B5(), { contrast: a, setContrast: l } = U5(), { motion: c, setMotion: u } = G5(), f = Lo.indexOf(s);
30043
30043
  return /* @__PURE__ */ h(
30044
30044
  Gn,
@@ -30166,7 +30166,7 @@ function K5(e) {
30166
30166
  ].join(" ");
30167
30167
  }
30168
30168
  const q5 = (e) => typeof e == "boolean";
30169
- function O8({
30169
+ function A8({
30170
30170
  brand: e,
30171
30171
  sections: t,
30172
30172
  activeId: n,
@@ -30915,7 +30915,7 @@ function rB({
30915
30915
  }
30916
30916
  );
30917
30917
  }
30918
- function A8({
30918
+ function D8({
30919
30919
  files: e = [],
30920
30920
  onFilesAdded: t,
30921
30921
  onFileRemoved: n,
@@ -31174,7 +31174,7 @@ function Uk({
31174
31174
  );
31175
31175
  }
31176
31176
  const aB = (e) => e.toLocaleDateString(void 0, { day: "numeric", month: "short", year: "numeric" });
31177
- function D8({
31177
+ function _8({
31178
31178
  value: e,
31179
31179
  onValueChange: t,
31180
31180
  range: n = !1,
@@ -31281,7 +31281,7 @@ function fB(e, t) {
31281
31281
  for (let i = n; Gi(i, o) <= 0; i = Cr(i, 1)) s.push(i);
31282
31282
  return s;
31283
31283
  }
31284
- function _8(e, t) {
31284
+ function F8(e, t) {
31285
31285
  const n = fa(e, t);
31286
31286
  return Array.from({ length: 7 }, (r, o) => Cr(n, o));
31287
31287
  }
@@ -31294,10 +31294,10 @@ function jk(e) {
31294
31294
  throw new Error(`${e} is not a real date — ${n}-${r} has ${Ys(n, r)} days`);
31295
31295
  return { year: n, month: r, day: o };
31296
31296
  }
31297
- function F8(e) {
31297
+ function V8(e) {
31298
31298
  return { ...e, hour: 0, minute: 0, second: 0, millisecond: 0 };
31299
31299
  }
31300
- function V8(e, t, n = 0) {
31300
+ function $8(e, t, n = 0) {
31301
31301
  return { ...e, hour: t, minute: n, second: 0, millisecond: 0 };
31302
31302
  }
31303
31303
  const ld = "—";
@@ -31431,7 +31431,7 @@ function Cy(e, t) {
31431
31431
  const [r, o] = (t || "00:00").split(":").map(Number);
31432
31432
  return n.setHours(r ?? 0, o ?? 0, 0, 0), n.toISOString();
31433
31433
  }
31434
- function $8({
31434
+ function L8({
31435
31435
  value: e,
31436
31436
  onValueChange: t,
31437
31437
  onEditingChange: n,
@@ -31474,7 +31474,7 @@ function $8({
31474
31474
  )
31475
31475
  ] });
31476
31476
  }
31477
- function L8({ nodes: e, defaultExpanded: t = [], selectedId: n, onSelect: r, className: o }) {
31477
+ function z8({ nodes: e, defaultExpanded: t = [], selectedId: n, onSelect: r, className: o }) {
31478
31478
  const [s, i] = Ee(new Set(t)), a = [], l = (d, p) => {
31479
31479
  for (const m of d)
31480
31480
  a.push({ node: m, depth: p }), m.children?.length && s.has(m.id) && l(m.children, p + 1);
@@ -31604,7 +31604,7 @@ function ky(e, t) {
31604
31604
  }
31605
31605
  return o < n.length ? -1 : s - r.length * 0.05;
31606
31606
  }
31607
- function z8({
31607
+ function B8({
31608
31608
  items: e,
31609
31609
  open: t,
31610
31610
  onOpenChange: n,
@@ -31735,7 +31735,7 @@ function z8({
31735
31735
  )
31736
31736
  ] }) });
31737
31737
  }
31738
- function B8(e = "k") {
31738
+ function H8(e = "k") {
31739
31739
  const [t, n] = Ee(!1);
31740
31740
  return $e(() => {
31741
31741
  function r(o) {
@@ -32711,7 +32711,7 @@ const r3 = new Intl.NumberFormat("en-US", {
32711
32711
  minimumFractionDigits: 2,
32712
32712
  maximumFractionDigits: 2
32713
32713
  });
32714
- function H8(e) {
32714
+ function U8(e) {
32715
32715
  return e == null || !Number.isFinite(e) ? ld : r3.format(e);
32716
32716
  }
32717
32717
  function o3(e) {
@@ -32772,7 +32772,7 @@ const s3 = ft({
32772
32772
  },
32773
32773
  defaultVariants: { size: "md", align: "center" }
32774
32774
  }), i3 = /[-−-‒–—﹣]/;
32775
- function U8({
32775
+ function j8({
32776
32776
  size: e,
32777
32777
  align: t,
32778
32778
  className: n,
@@ -33282,7 +33282,7 @@ const aR = /* @__PURE__ */ v.forwardRef(function(t, n) {
33282
33282
  });
33283
33283
  });
33284
33284
  process.env.NODE_ENV !== "production" && (aR.displayName = "OTPFieldInput");
33285
- function j8({
33285
+ function G8({
33286
33286
  length: e = 6,
33287
33287
  groupAfter: t,
33288
33288
  className: n,
@@ -35319,7 +35319,7 @@ function LR(e) {
35319
35319
  popupStyle: n === null ? void 0 : { width: `${n}px` }
35320
35320
  };
35321
35321
  }
35322
- function G8({
35322
+ function W8({
35323
35323
  placeholder: e = "Search…",
35324
35324
  emptyMessage: t = "Nothing matches that search.",
35325
35325
  className: n,
@@ -35379,7 +35379,7 @@ function G8({
35379
35379
  }
35380
35380
  );
35381
35381
  }
35382
- function W8({ className: e, children: t, ref: n, ...r }) {
35382
+ function K8({ className: e, children: t, ref: n, ...r }) {
35383
35383
  return /* @__PURE__ */ O(
35384
35384
  MR,
35385
35385
  {
@@ -35404,13 +35404,13 @@ function W8({ className: e, children: t, ref: n, ...r }) {
35404
35404
  }
35405
35405
  );
35406
35406
  }
35407
- function K8({ label: e, children: t }) {
35407
+ function q8({ label: e, children: t }) {
35408
35408
  return /* @__PURE__ */ O(CR, { children: [
35409
35409
  e && /* @__PURE__ */ h(kR, { className: "px-2 py-1.5 text-2xs font-semibold tracking-wide text-tertiary uppercase", children: e }),
35410
35410
  t
35411
35411
  ] });
35412
35412
  }
35413
- function q8({
35413
+ function Y8({
35414
35414
  placeholder: e = "Search…",
35415
35415
  emptyMessage: t = "Nothing matches that search.",
35416
35416
  renderChip: n,
@@ -36754,7 +36754,7 @@ function e4({ label: e, children: t }) {
36754
36754
  t
36755
36755
  ] });
36756
36756
  }
36757
- function Y8({ className: e }) {
36757
+ function X8({ className: e }) {
36758
36758
  return /* @__PURE__ */ h(q3, { className: j("my-1 h-px bg-border-subtle", e) });
36759
36759
  }
36760
36760
  function t4({
@@ -36930,7 +36930,7 @@ const tN = [
36930
36930
  },
36931
36931
  defaultVariants: { placement: "corner" }
36932
36932
  });
36933
- function X8({
36933
+ function Z8({
36934
36934
  identifier: e,
36935
36935
  title: t,
36936
36936
  subtitle: n,
@@ -36982,27 +36982,27 @@ function X8({
36982
36982
  }
36983
36983
  });
36984
36984
  }
36985
- function Z8({ className: e, children: t, ref: n }) {
36985
+ function Q8({ className: e, children: t, ref: n }) {
36986
36986
  const r = pi();
36987
36987
  return /* @__PURE__ */ h("span", { ref: n, className: j(r.handle(), e), children: t });
36988
36988
  }
36989
- function Q8({ className: e, children: t, ref: n }) {
36989
+ function J8({ className: e, children: t, ref: n }) {
36990
36990
  const r = pi();
36991
36991
  return /* @__PURE__ */ h("span", { ref: n, className: j(r.eyebrow(), e), children: t });
36992
36992
  }
36993
- function J8({ as: e = "h3", className: t, children: n, ref: r }) {
36993
+ function eK({ as: e = "h3", className: t, children: n, ref: r }) {
36994
36994
  const o = pi();
36995
36995
  return /* @__PURE__ */ h(e, { ref: r, className: j(o.title(), t), children: n });
36996
36996
  }
36997
- function eK({ className: e, children: t, ref: n }) {
36997
+ function tK({ className: e, children: t, ref: n }) {
36998
36998
  const r = pi();
36999
36999
  return /* @__PURE__ */ h("div", { ref: n, className: j(r.badges(), e), children: t });
37000
37000
  }
37001
- function tK({ placement: e, className: t, children: n, ref: r }) {
37001
+ function nK({ placement: e, className: t, children: n, ref: r }) {
37002
37002
  const o = pi({ placement: e });
37003
37003
  return /* @__PURE__ */ h("div", { ref: r, className: j(o.media(), t), children: n });
37004
37004
  }
37005
- function nK({ className: e, children: t, ref: n }) {
37005
+ function rK({ className: e, children: t, ref: n }) {
37006
37006
  const r = pi();
37007
37007
  return /* @__PURE__ */ h("div", { ref: n, className: j(r.meta(), e), children: t });
37008
37008
  }
@@ -37612,7 +37612,7 @@ function a4({ className: e, children: t, variant: n, ref: r, ...o }) {
37612
37612
  const s = fd({ variant: n });
37613
37613
  return /* @__PURE__ */ h(oN, { ref: r, className: j(s.tab(), e), ...o, children: t });
37614
37614
  }
37615
- function rK({ className: e, children: t, ref: n, ...r }) {
37615
+ function oK({ className: e, children: t, ref: n, ...r }) {
37616
37616
  const o = fd({ fill: Nn(cN) });
37617
37617
  return /* @__PURE__ */ h(
37618
37618
  iN,
@@ -38277,7 +38277,7 @@ const w4 = {
38277
38277
  label: "text-tertiary"
38278
38278
  }
38279
38279
  };
38280
- function oK({
38280
+ function sK({
38281
38281
  label: e,
38282
38282
  steps: t,
38283
38283
  current: n,
@@ -38487,7 +38487,7 @@ function By({
38487
38487
  }
38488
38488
  );
38489
38489
  }
38490
- function sK({
38490
+ function iK({
38491
38491
  label: e,
38492
38492
  states: t,
38493
38493
  items: n,
@@ -38545,7 +38545,7 @@ function xN(e) {
38545
38545
  return t;
38546
38546
  }
38547
38547
  const Hy = (e, t, n) => Math.min(n, Math.max(t, e)), S4 = (e) => typeof e == "object" && e !== null && !Array.isArray(e) && Object.values(e).every((t) => typeof t == "number" && Number.isFinite(t));
38548
- function iK({
38548
+ function aK({
38549
38549
  children: e,
38550
38550
  direction: t = "horizontal",
38551
38551
  narrowBelow: n = "md",
@@ -38732,7 +38732,7 @@ function iK({
38732
38732
  }
38733
38733
  ) });
38734
38734
  }
38735
- function aK({
38735
+ function lK({
38736
38736
  children: e,
38737
38737
  id: t,
38738
38738
  label: n,
@@ -38815,7 +38815,7 @@ function aK({
38815
38815
  }
38816
38816
  );
38817
38817
  }
38818
- function lK({
38818
+ function cK({
38819
38819
  label: e,
38820
38820
  step: t = 4,
38821
38821
  withGrip: n = !0,
@@ -39096,7 +39096,7 @@ function zc({ src: e, name: t, fallback: n, status: r, size: o, shape: s, classN
39096
39096
  r && /* @__PURE__ */ h("span", { className: j(l.status(), I4[r]), "aria-label": r, role: "img" })
39097
39097
  ] });
39098
39098
  }
39099
- function cK({ children: e, max: t = 4, size: n = "md", className: r }) {
39099
+ function uK({ children: e, max: t = 4, size: n = "md", className: r }) {
39100
39100
  const o = Array.isArray(e) ? e : [e], s = o.slice(0, t), i = o.length - s.length, a = SN({ size: n });
39101
39101
  return /* @__PURE__ */ O("div", { className: j("flex items-center", r), children: [
39102
39102
  s.map((l, c) => /* @__PURE__ */ h(
@@ -39211,7 +39211,7 @@ const A4 = ft({
39211
39211
  },
39212
39212
  defaultVariants: { size: "md", align: "start" }
39213
39213
  });
39214
- function uK({ stats: e, size: t = "md", align: n = "start", className: r, ref: o }) {
39214
+ function dK({ stats: e, size: t = "md", align: n = "start", className: r, ref: o }) {
39215
39215
  return e.length === 0 ? null : /* @__PURE__ */ h("div", { ref: o, className: j(A4({ size: t, align: n }), r), children: e.map((s, i) => (
39216
39216
  /* INDEX IS THE KEY DELIBERATELY. A readout is a fixed, hand-authored
39217
39217
  list per screen — never reordered, never filtered — so there is no
@@ -39225,7 +39225,7 @@ const D4 = {
39225
39225
  negative: "text-danger",
39226
39226
  neutral: "text-accent"
39227
39227
  };
39228
- function dK({ values: e, sentiment: t = "neutral", className: n }) {
39228
+ function fK({ values: e, sentiment: t = "neutral", className: n }) {
39229
39229
  if (e.length < 2) return null;
39230
39230
  const r = Math.min(...e), s = Math.max(...e) - r || 1, i = 100 / (e.length - 1), a = e.map((f, d) => [d * i, 30 - (f - r) / s * 26 - 2]), l = a.map(([f, d], p) => `${p ? "L" : "M"}${f.toFixed(2)} ${d.toFixed(2)}`).join(" "), [c, u] = a[a.length - 1];
39231
39231
  return /* @__PURE__ */ O(
@@ -41151,7 +41151,7 @@ const OH = [10, 25, 50, 100], Ky = {
41151
41151
  cozy: "px-4 text-sm",
41152
41152
  compact: "px-3 text-xs"
41153
41153
  };
41154
- function fK({
41154
+ function pK({
41155
41155
  data: e,
41156
41156
  columns: t,
41157
41157
  density: n = "cozy",
@@ -41389,7 +41389,7 @@ function AH({
41389
41389
  }) {
41390
41390
  return /* @__PURE__ */ h(nd, { icon: e, title: t, description: n, action: r });
41391
41391
  }
41392
- function pK({
41392
+ function hK({
41393
41393
  primary: e,
41394
41394
  secondary: t,
41395
41395
  mono: n = !1
@@ -41955,7 +41955,7 @@ function KH(e, t = {}) {
41955
41955
  };
41956
41956
  }
41957
41957
  const VN = Rn(null), qH = VN.Provider;
41958
- function hK(e) {
41958
+ function mK(e) {
41959
41959
  const t = Nn(VN);
41960
41960
  if (!t)
41961
41961
  throw new Error(`<${e}> must be rendered inside a <DragDrop>.`);
@@ -42891,7 +42891,7 @@ function bU(e, t) {
42891
42891
  );
42892
42892
  return { verdict: { ok: !0 }, commit: f };
42893
42893
  }
42894
- function mK(e, t, n) {
42894
+ function gK(e, t, n) {
42895
42895
  if (n.length === 0) return e.slice();
42896
42896
  if (n.length === 1 && n[0].from.columnId === n[0].to.columnId) {
42897
42897
  const a = n[0], l = a.from.columnId, c = /* @__PURE__ */ new Map();
@@ -43109,7 +43109,7 @@ const Qy = ft({
43109
43109
  },
43110
43110
  defaultVariants: { refusing: !1, fill: !0 }
43111
43111
  });
43112
- function gK({
43112
+ function bK({
43113
43113
  label: e,
43114
43114
  lanes: t,
43115
43115
  getItemId: n,
@@ -43381,7 +43381,7 @@ const yb = ft({
43381
43381
  },
43382
43382
  defaultVariants: { overWip: !1 }
43383
43383
  });
43384
- function bK({
43384
+ function xK({
43385
43385
  items: e,
43386
43386
  columns: t,
43387
43387
  accessors: n,
@@ -43443,10 +43443,10 @@ function bK({
43443
43443
  }
43444
43444
  );
43445
43445
  }
43446
- function xK({ className: e, children: t }) {
43446
+ function vK({ className: e, children: t }) {
43447
43447
  return /* @__PURE__ */ h(YN, { className: e, children: /* @__PURE__ */ h(eI.Provider, { value: !0, children: t }) });
43448
43448
  }
43449
- function vK({
43449
+ function yK({
43450
43450
  column: e,
43451
43451
  emptyState: t,
43452
43452
  className: n,
@@ -43508,7 +43508,7 @@ function NU({
43508
43508
  }
43509
43509
  );
43510
43510
  }
43511
- function yK({ id: e, index: t, label: n, className: r, children: o }) {
43511
+ function wK({ id: e, index: t, label: n, className: r, children: o }) {
43512
43512
  const { columnId: s } = CU("BoardCard"), i = ye(!1), a = Ne(() => (i.current = !0, () => {
43513
43513
  i.current = !1;
43514
43514
  }), []);
@@ -44036,7 +44036,7 @@ function Eb(e, t, n = "compatible") {
44036
44036
  const o = wb(t), s = Hc(e, o - 24 * Xs), i = Hc(e, o + 24 * Xs), a = i - s, l = o - s, c = o - i;
44037
44037
  return n === "earlier" ? Math.min(l, c) : a > 0 ? Math.max(l, c) : Math.min(l, c);
44038
44038
  }
44039
- function wK(e, t) {
44039
+ function EK(e, t) {
44040
44040
  const n = Vn(e, t);
44041
44041
  return { year: n.year, month: n.month, day: n.day };
44042
44042
  }
@@ -44063,7 +44063,7 @@ function Zs(e) {
44063
44063
  function Sb(e, t) {
44064
44064
  return ln(e, Zs(t)) - ln(e, t);
44065
44065
  }
44066
- function EK(e, t) {
44066
+ function SK(e, t) {
44067
44067
  return Sb(e, t) / Xs;
44068
44068
  }
44069
44069
  function ha(e, t, n) {
@@ -45087,7 +45087,7 @@ function XU({
45087
45087
  }
45088
45088
  );
45089
45089
  }
45090
- function SK({
45090
+ function CK({
45091
45091
  trigger: e,
45092
45092
  side: t = "top",
45093
45093
  align: n = "end",
@@ -45124,7 +45124,7 @@ function cI(e) {
45124
45124
  const t = e.replace(/(\.\d{3})\d+/, "$1"), n = Date.parse(t);
45125
45125
  return Number.isNaN(n) ? null : n;
45126
45126
  }
45127
- function CK(e, t = {}) {
45127
+ function kK(e, t = {}) {
45128
45128
  if (e == null || e === "") return ld;
45129
45129
  const n = cI(e);
45130
45130
  if (n === null) return String(e);
@@ -45132,7 +45132,7 @@ function CK(e, t = {}) {
45132
45132
  return `${pn(o.month)}/${pn(o.day)}/${o.year}, ${s}:${pn(o.minute)} ${i}`;
45133
45133
  }
45134
45134
  const ZU = /^(\d{1,2})\/(\d{1,2})\/(\d{4})(?:,?\s+(\d{1,2}):(\d{2})(?::(\d{2}))?\s*([AaPp][Mm]))?$/, QU = /^\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}(:\d{2}(\.\d+)?)?\s*(Z|[+-]\d{2}:?\d{2})$/;
45135
- function kK(e, t = {}) {
45135
+ function RK(e, t = {}) {
45136
45136
  const n = e.trim();
45137
45137
  if (n === "") return null;
45138
45138
  if (QU.test(n)) {
@@ -45154,12 +45154,12 @@ function kK(e, t = {}) {
45154
45154
  const u = { year: i, month: o, day: s, hour: a, minute: l, second: c, millisecond: 0 }, f = t.zone ?? lI();
45155
45155
  return new Date(Eb(f, u)).toISOString();
45156
45156
  }
45157
- function RK(e, t = {}) {
45157
+ function NK(e, t = {}) {
45158
45158
  if (e == null || !Number.isFinite(e)) return ld;
45159
45159
  const { decimals: n } = t, r = n === void 0 ? { maximumFractionDigits: 6 } : { minimumFractionDigits: n, maximumFractionDigits: n };
45160
45160
  return new Intl.NumberFormat("en-US", r).format(e);
45161
45161
  }
45162
- function NK(e) {
45162
+ function IK(e) {
45163
45163
  const t = e.trim();
45164
45164
  if (t === "") return null;
45165
45165
  const n = t.replace(/,/g, "");
@@ -45167,12 +45167,12 @@ function NK(e) {
45167
45167
  const r = Number(n);
45168
45168
  return Number.isFinite(r) ? r : null;
45169
45169
  }
45170
- function IK(e, t = {}) {
45170
+ function MK(e, t = {}) {
45171
45171
  const { trueLabel: n = "Yes", falseLabel: r = "No", unknownLabel: o = "Unknown" } = t;
45172
45172
  return e === !0 ? n : e === !1 ? r : o;
45173
45173
  }
45174
45174
  const JU = /* @__PURE__ */ new Set(["yes", "y", "true", "t", "1"]), ej = /* @__PURE__ */ new Set(["no", "n", "false", "f", "0"]);
45175
- function MK(e) {
45175
+ function TK(e) {
45176
45176
  const t = e.trim().toLowerCase();
45177
45177
  return JU.has(t) ? !0 : ej.has(t) ? !1 : null;
45178
45178
  }
@@ -45280,12 +45280,12 @@ function ow(e, t, n = 60) {
45280
45280
  }
45281
45281
  return i;
45282
45282
  }
45283
- function TK(e, t, n, r) {
45283
+ function PK(e, t, n, r) {
45284
45284
  if (r <= 0) throw new Error(`snapMinutes must be positive, got ${r}`);
45285
45285
  const o = ln(e, t), s = iI(e, t, n), i = r * 6e4;
45286
45286
  return o + Math.round((s - o) / i) * i;
45287
45287
  }
45288
- const PK = Dn, sw = /* @__PURE__ */ new Map();
45288
+ const OK = Dn, sw = /* @__PURE__ */ new Map();
45289
45289
  function _o(e, t) {
45290
45290
  const n = `${e ?? ""}|${JSON.stringify(t)}`;
45291
45291
  let r = sw.get(n);
@@ -45302,7 +45302,7 @@ function Hp(e, t, n) {
45302
45302
  function fI(e, t) {
45303
45303
  return _o(t, { ...hi, day: "numeric" }).format(Kr(e));
45304
45304
  }
45305
- function OK(e, t) {
45305
+ function AK(e, t) {
45306
45306
  return _o(t, { ...hi, year: "numeric", month: "long" }).format(Kr(e));
45307
45307
  }
45308
45308
  function Uc(e, t) {
@@ -45495,7 +45495,7 @@ const mj = ft({
45495
45495
  popoverList: "flex max-h-72 min-w-56 flex-col gap-1 overflow-y-auto"
45496
45496
  }
45497
45497
  }), Tf = 26;
45498
- function AK({
45498
+ function DK({
45499
45499
  month: e,
45500
45500
  zone: t,
45501
45501
  events: n,
@@ -46241,7 +46241,7 @@ function Ij({
46241
46241
  }) {
46242
46242
  return e ? /* @__PURE__ */ h(Gn, { side: "right", align: "start", trigger: n, children: t }) : /* @__PURE__ */ h(lt, { children: n });
46243
46243
  }
46244
- function DK({
46244
+ function _K({
46245
46245
  days: e,
46246
46246
  zone: t,
46247
46247
  events: n,
@@ -46587,11 +46587,11 @@ function DK({
46587
46587
  ] })
46588
46588
  ] });
46589
46589
  }
46590
- function _K(e) {
46590
+ function FK(e) {
46591
46591
  return e.allDay;
46592
46592
  }
46593
46593
  const mI = Rn(null);
46594
- function FK({
46594
+ function VK({
46595
46595
  currentUser: e,
46596
46596
  roles: t,
46597
46597
  permissions: n,
@@ -46672,7 +46672,7 @@ const jl = [
46672
46672
  "hover:bg-surface-hover hover:text-primary",
46673
46673
  "focus-visible:bg-surface-hover focus-visible:text-primary"
46674
46674
  ], uw = "text-2xs font-semibold tracking-widest text-tertiary uppercase";
46675
- function VK({
46675
+ function $K({
46676
46676
  onNavigateProfile: e,
46677
46677
  onNavigateRoles: t,
46678
46678
  onSwitchTeam: n,
@@ -46786,7 +46786,7 @@ function dw(e) {
46786
46786
  function Vj() {
46787
46787
  return Qs.networkSpeed;
46788
46788
  }
46789
- function $K() {
46789
+ function LK() {
46790
46790
  return Qs.dataSource;
46791
46791
  }
46792
46792
  const $j = [
@@ -46798,7 +46798,7 @@ const $j = [
46798
46798
  { value: "simulated", label: "Simulated" },
46799
46799
  { value: "live", label: "Live" }
46800
46800
  ];
46801
- function LK({ onOpenUseCaseLedger: e } = {}) {
46801
+ function zK({ onOpenUseCaseLedger: e } = {}) {
46802
46802
  const { canAccessDevTools: t, roles: n, viewingAsRoleId: r, setViewingAsRoleId: o, effectiveRole: s, isImpersonating: i } = vd(), { networkSpeed: a, dataSource: l } = Fj(), [c, u] = Ee(!1), [f, d] = Ee(!1);
46803
46803
  return t ? /* @__PURE__ */ h(
46804
46804
  Gn,
@@ -46976,7 +46976,7 @@ function Bj({ roles: e, permissions: t }) {
46976
46976
  ] }, o.label ?? `__section-${s}`)) })
46977
46977
  ] }) });
46978
46978
  }
46979
- function zK() {
46979
+ function BK() {
46980
46980
  const { actualUser: e, actualRole: t, effectiveRole: n, grantedPermissions: r, isImpersonating: o, currentTeam: s } = vd(), [i, a] = Ee(e.name), [l, c] = Ee(e.email);
46981
46981
  return /* @__PURE__ */ O("div", { className: "flex flex-col gap-6", children: [
46982
46982
  /* @__PURE__ */ O("div", { className: "flex items-center gap-4", children: [
@@ -47021,7 +47021,7 @@ function zK() {
47021
47021
  ] })
47022
47022
  ] });
47023
47023
  }
47024
- function BK() {
47024
+ function HK() {
47025
47025
  const { roles: e, permissions: t } = vd();
47026
47026
  return /* @__PURE__ */ O("div", { className: "flex flex-col gap-5", children: [
47027
47027
  /* @__PURE__ */ O("div", { children: [
@@ -47326,7 +47326,7 @@ function Jj(e, t) {
47326
47326
  if (n === -1) throw new Error(`No Phase with id "${t}" in the phases[] list.`);
47327
47327
  return { phase: e[n], index: n };
47328
47328
  }
47329
- function HK({
47329
+ function UK({
47330
47330
  domains: e,
47331
47331
  phases: t,
47332
47332
  items: n,
@@ -47398,7 +47398,7 @@ function HK({
47398
47398
  )) })
47399
47399
  ] });
47400
47400
  }
47401
- function UK({
47401
+ function jK({
47402
47402
  domains: e,
47403
47403
  phases: t,
47404
47404
  items: n,
@@ -47531,7 +47531,7 @@ function yI({
47531
47531
  ] })
47532
47532
  ] });
47533
47533
  }
47534
- function jK({
47534
+ function GK({
47535
47535
  phases: e,
47536
47536
  roadmapItems: t,
47537
47537
  onCreate: n,
@@ -47575,7 +47575,7 @@ function jK({
47575
47575
  }
47576
47576
  );
47577
47577
  }
47578
- function GK({
47578
+ function WK({
47579
47579
  tracks: e,
47580
47580
  useCases: t,
47581
47581
  onCreate: n,
@@ -47633,10 +47633,10 @@ function eG(e) {
47633
47633
  `received ${String(e)}, which is not a 0–1 score. If this is a rating on a small integer scale (say 4 out of 5), use ratedConfidence(rating, scale) — dividing it down into 0–1 makes it render as a percentage the scale cannot produce.`
47634
47634
  ), Number.isFinite(e) ? Math.max(0, Math.min(1, e)) : 0;
47635
47635
  }
47636
- function WK(e) {
47636
+ function KK(e) {
47637
47637
  return { kind: "score", score: eG(e) };
47638
47638
  }
47639
- function KK(e, t) {
47639
+ function qK(e, t) {
47640
47640
  return !Number.isFinite(e) || !Number.isFinite(t) || t < 1 ? (on(
47641
47641
  "ratedConfidence",
47642
47642
  `received ${String(e)} out of ${String(t)}, which is not a rating on a whole scale. Pass null instead of a rating you do not have — a bar at zero and a bar with nothing to show look identical and mean opposite things.`
@@ -47684,7 +47684,7 @@ function oG(e, t) {
47684
47684
  const n = Math.round(Math.min(e, t) / t * 5);
47685
47685
  return Math.max(1, Math.min(5, n));
47686
47686
  }
47687
- const qK = {
47687
+ const YK = {
47688
47688
  1: "Just a guess",
47689
47689
  2: "Somewhat unsure",
47690
47690
  3: "Fairly confident",
@@ -47794,7 +47794,7 @@ function EI({
47794
47794
  }
47795
47795
  );
47796
47796
  }
47797
- function YK(e) {
47797
+ function XK(e) {
47798
47798
  return wI[e].label;
47799
47799
  }
47800
47800
  const lG = {
@@ -47926,7 +47926,7 @@ function cG({
47926
47926
  ] })
47927
47927
  ] });
47928
47928
  }
47929
- function XK({
47929
+ function ZK({
47930
47930
  record: e,
47931
47931
  actions: t,
47932
47932
  emptyLabel: n = "No value",
@@ -48046,7 +48046,7 @@ async function Gl(e) {
48046
48046
  throw await mw(o), new mG("Simulated network failure (Flaky mode).");
48047
48047
  await mw(o);
48048
48048
  }
48049
- function ZK(e, t, n, r = {}) {
48049
+ function QK(e, t, n, r = {}) {
48050
48050
  const o = r.namespace ?? "demo", s = `${o}:${e}`;
48051
48051
  let i = vg(s, (p) => Array.isArray(p)) ?? t;
48052
48052
  const a = /* @__PURE__ */ new Set();
@@ -50347,7 +50347,7 @@ function W9({ label: e, memberCount: t, isGroup: n }) {
50347
50347
  ] })
50348
50348
  ] });
50349
50349
  }
50350
- function QK({
50350
+ function JK({
50351
50351
  graph: e,
50352
50352
  groups: t = [],
50353
50353
  label: n,
@@ -51456,21 +51456,24 @@ function xW({
51456
51456
  ] });
51457
51457
  }
51458
51458
  const nM = 10, vW = { x: 38, y: 36 }, yW = { x: 25, y: 23 }, Uw = { leftPct: 1, topPct: 9 }, Go = { leftPct: 50, topPct: 50 };
51459
- function wW(e, t, n) {
51460
- const o = (-90 + 360 / t * e) * Math.PI / 180;
51459
+ function wW(e) {
51460
+ return e === 2 ? -180 : -90;
51461
+ }
51462
+ function EW(e, t, n) {
51463
+ const o = (wW(t) + 360 / t * e) * Math.PI / 180;
51461
51464
  return {
51462
51465
  leftPct: Go.leftPct + n.x * Math.cos(o),
51463
51466
  topPct: Go.topPct + n.y * Math.sin(o)
51464
51467
  };
51465
51468
  }
51466
- function EW(e, t = nM) {
51469
+ function SW(e, t = nM) {
51467
51470
  const n = e.length, r = n > t;
51468
51471
  return e.map((o, s) => {
51469
51472
  const i = r && s % 2 === 1 ? 1 : 0;
51470
- return { id: o, tier: i, ...wW(s, n, i === 1 ? yW : vW) };
51473
+ return { id: o, tier: i, ...EW(s, n, i === 1 ? yW : vW) };
51471
51474
  });
51472
51475
  }
51473
- const SW = /* @__PURE__ */ new Set(["ArrowUp", "u", "U", "Backspace"]);
51476
+ const CW = /* @__PURE__ */ new Set(["ArrowUp", "u", "U", "Backspace"]);
51474
51477
  function jw(e) {
51475
51478
  if (!e || !cj(e))
51476
51479
  return {
@@ -51489,7 +51492,7 @@ function jw(e) {
51489
51492
  "--fw-pill-edge": t.edge
51490
51493
  };
51491
51494
  }
51492
- function CW({ node: e, context: t }) {
51495
+ function kW({ node: e, context: t }) {
51493
51496
  const { role: n, compact: r, active: o, selected: s, labelPlacement: i } = t, a = n === "center", l = n === "parent", c = a || o || s, u = a || s;
51494
51497
  return /* @__PURE__ */ O(
51495
51498
  "span",
@@ -51530,7 +51533,7 @@ function CW({ node: e, context: t }) {
51530
51533
  l ? "whitespace-nowrap text-secondary group-hover:text-primary" : "text-center text-balance",
51531
51534
  r ? "text-2xs" : "text-xs",
51532
51535
  u && "rounded-full border border-(--fw-pill-edge) bg-(--fw-pill) px-2.5 py-0.5 text-(--fw-pill-text) shadow-sm",
51533
- a && (r ? "max-w-32" : "max-w-48"),
51536
+ a && (r ? "max-w-32" : "max-w-72"),
51534
51537
  n === "ring" && (r ? "max-w-20" : "max-w-32"),
51535
51538
  n === "ring" && !u && (o ? "text-primary" : "text-secondary")
51536
51539
  ),
@@ -51541,13 +51544,13 @@ function CW({ node: e, context: t }) {
51541
51544
  }
51542
51545
  );
51543
51546
  }
51544
- function kW(e, t) {
51547
+ function RW(e, t) {
51545
51548
  return `calc(var(--spacing) * ${e === "center" ? t ? 14 : 16 : e === "ring" ? t ? 10 : 12 : 8})`;
51546
51549
  }
51547
- function RW(e, t) {
51550
+ function NW(e, t) {
51548
51551
  return e === "beside" ? "0 -50%" : t ? "-50% -50%" : e === "above" ? "-50% calc(-100% + var(--fw-disc-size) / 2)" : "-50% calc(var(--fw-disc-size) / -2)";
51549
51552
  }
51550
- function NW(e) {
51553
+ function IW(e) {
51551
51554
  const t = /* @__PURE__ */ new Set();
51552
51555
  for (const n of e) {
51553
51556
  if (t.has(n))
@@ -51555,10 +51558,10 @@ function NW(e) {
51555
51558
  t.add(n);
51556
51559
  }
51557
51560
  }
51558
- function IW(e) {
51561
+ function MW(e) {
51559
51562
  return e.map((t) => t.node.id).join("\0");
51560
51563
  }
51561
- function JK({
51564
+ function eq({
51562
51565
  center: e,
51563
51566
  ring: t,
51564
51567
  parent: n,
@@ -51570,13 +51573,13 @@ function JK({
51570
51573
  label: l,
51571
51574
  className: c
51572
51575
  }) {
51573
- const u = Ot(), f = De(() => EW(t.map((I) => I.id)), [t]), d = pd("sm"), p = De(() => {
51576
+ const u = Ot(), f = De(() => SW(t.map((I) => I.id)), [t]), d = pd("sm"), p = De(() => {
51574
51577
  const I = [];
51575
51578
  return n && I.push({ node: n, role: "parent", leftPct: Uw.leftPct, topPct: Uw.topPct, index: null, tier: null }), I.push({ node: e, role: "center", leftPct: Go.leftPct, topPct: Go.topPct, index: null, tier: null }), t.forEach((T, A) => {
51576
51579
  const D = f[A];
51577
51580
  I.push({ node: T, role: "ring", leftPct: D.leftPct, topPct: D.topPct, index: A, tier: D.tier });
51578
- }), NW(I.map((T) => T.node.id)), I;
51579
- }, [e, n, t, f]), m = IW(p), [g, b] = Ee(null), [x, w] = Ee(() => ({
51581
+ }), IW(I.map((T) => T.node.id)), I;
51582
+ }, [e, n, t, f]), m = MW(p), [g, b] = Ee(null), [x, w] = Ee(() => ({
51580
51583
  key: m,
51581
51584
  ids: new Set(p.map((I) => I.node.id)),
51582
51585
  entering: new Set(p.map((I) => I.node.id))
@@ -51621,7 +51624,7 @@ function JK({
51621
51624
  I.preventDefault(), C(T);
51622
51625
  return;
51623
51626
  default:
51624
- n && SW.has(I.key) && (I.preventDefault(), o?.());
51627
+ n && CW.has(I.key) && (I.preventDefault(), o?.());
51625
51628
  }
51626
51629
  }
51627
51630
  const M = d ? "3 / 4" : t.length > nM ? "16 / 9" : "12 / 5";
@@ -51688,12 +51691,12 @@ function JK({
51688
51691
  ...jw(T.paletteKey),
51689
51692
  left: `${I.leftPct}%`,
51690
51693
  top: `${I.topPct}%`,
51691
- translate: RW(P, !!a),
51692
- "--fw-disc-size": kW(A, d),
51694
+ translate: NW(P, !!a),
51695
+ "--fw-disc-size": RW(A, d),
51693
51696
  "--dx-fw-order": String(I.index ?? 0)
51694
51697
  },
51695
51698
  children: [
51696
- /* @__PURE__ */ h("div", { "aria-hidden": z ? "true" : void 0, children: a ? a(T, L) : /* @__PURE__ */ h(CW, { node: T, context: L }) }),
51699
+ /* @__PURE__ */ h("div", { "aria-hidden": z ? "true" : void 0, children: a ? a(T, L) : /* @__PURE__ */ h(kW, { node: T, context: L }) }),
51697
51700
  z && /* @__PURE__ */ h(
51698
51701
  "button",
51699
51702
  {
@@ -51730,14 +51733,14 @@ function JK({
51730
51733
  function Gw(e, t) {
51731
51734
  return `focus-web${e}-ring-${t}`;
51732
51735
  }
51733
- function MW(e) {
51736
+ function TW(e) {
51734
51737
  const t = [];
51735
51738
  for (const n of e)
51736
51739
  t.includes(n.actor) || t.push(n.actor), n.target && !t.includes(n.target) && t.push(n.target);
51737
51740
  return t;
51738
51741
  }
51739
- function eq({ label: e, steps: t, selectedIndex: n, onSelectIndex: r, className: o }) {
51740
- const s = De(() => MW(t), [t]), i = De(() => new Map(s.map((d, p) => [d, p])), [s]), a = ye([]), l = t[n], c = `repeat(${Math.max(s.length, 1)}, minmax(8rem, 1fr))`;
51742
+ function tq({ label: e, steps: t, selectedIndex: n, onSelectIndex: r, className: o }) {
51743
+ const s = De(() => TW(t), [t]), i = De(() => new Map(s.map((d, p) => [d, p])), [s]), a = ye([]), l = t[n], c = `repeat(${Math.max(s.length, 1)}, minmax(7rem, 1fr))`;
51741
51744
  function u(d) {
51742
51745
  r(d), a.current[d]?.focus();
51743
51746
  }
@@ -51759,7 +51762,7 @@ function eq({ label: e, steps: t, selectedIndex: n, onSelectIndex: r, className:
51759
51762
  return;
51760
51763
  }
51761
51764
  }
51762
- return /* @__PURE__ */ O("div", { className: j("flex min-w-max flex-col", o), children: [
51765
+ return /* @__PURE__ */ O("div", { className: j("flex w-full min-w-min flex-col", o), children: [
51763
51766
  /* @__PURE__ */ h("div", { className: "grid border-b border-border", style: { gridTemplateColumns: c }, children: s.map((d) => {
51764
51767
  const p = !!l && (l.actor === d || l.target === d);
51765
51768
  return /* @__PURE__ */ h(
@@ -51811,7 +51814,18 @@ function eq({ label: e, steps: t, selectedIndex: n, onSelectIndex: r, className:
51811
51814
  )
51812
51815
  }
51813
51816
  ),
51814
- /* @__PURE__ */ h("span", { className: "relative bg-surface px-1.5 text-sm whitespace-nowrap", children: d.action })
51817
+ !x && /* @__PURE__ */ h(
51818
+ "span",
51819
+ {
51820
+ "aria-hidden": "true",
51821
+ "data-arrowhead": g > m ? "right" : "left",
51822
+ className: j(
51823
+ "absolute top-1/2 size-0 -translate-y-1/2 border-y-[5px] border-y-transparent",
51824
+ g > m ? "right-1.5 border-l-[7px] border-l-secondary" : "left-1.5 border-r-[7px] border-r-secondary"
51825
+ )
51826
+ }
51827
+ ),
51828
+ /* @__PURE__ */ h("span", { className: "relative max-w-full bg-surface px-1.5 text-center text-sm leading-snug text-balance", children: d.action })
51815
51829
  ]
51816
51830
  }
51817
51831
  )
@@ -51840,24 +51854,24 @@ function Ed(e) {
51840
51854
  function rM(e) {
51841
51855
  return e.__stale === !0;
51842
51856
  }
51843
- function TW(e) {
51857
+ function PW(e) {
51844
51858
  const t = e.deleted_at ?? e.__deleted_at;
51845
51859
  if (t != null)
51846
51860
  return typeof t == "string" ? t : String(t);
51847
51861
  }
51848
- function PW(e) {
51862
+ function OW(e) {
51849
51863
  return e.__deleted_at === null || e.deleted_at === null;
51850
51864
  }
51851
- const OW = 1e11, AW = 1e8;
51852
- function DW(e) {
51865
+ const AW = 1e11, DW = 1e8;
51866
+ function _W(e) {
51853
51867
  if (e == null) return;
51854
51868
  let t = typeof e == "number" ? e : Number(e);
51855
51869
  if (!Number.isFinite(t) && typeof e == "string" && (t = Date.parse(e)), !Number.isFinite(t) || t <= 0) {
51856
51870
  on("recordStore", `ignoring an unreadable __timestamp: ${String(e)}`);
51857
51871
  return;
51858
51872
  }
51859
- if (t >= OW) return t;
51860
- if (t >= AW) return t * 1e3;
51873
+ if (t >= AW) return t;
51874
+ if (t >= DW) return t * 1e3;
51861
51875
  on(
51862
51876
  "recordStore",
51863
51877
  `__timestamp ${String(e)} is implausible in seconds OR milliseconds — ordering is disabled for this write rather than guessed at`
@@ -51867,7 +51881,7 @@ function oM(e) {
51867
51881
  return e.startsWith("__") || e === "deleted_at";
51868
51882
  }
51869
51883
  const Yc = /* @__PURE__ */ new Map();
51870
- function tq(e, t = {}) {
51884
+ function nq(e, t = {}) {
51871
51885
  const n = gi(e);
51872
51886
  n !== e && on(
51873
51887
  "defineRecordType",
@@ -51875,26 +51889,26 @@ function tq(e, t = {}) {
51875
51889
  );
51876
51890
  const r = t.staleFields ?? [], o = Yc.get(n);
51877
51891
  if (o)
51878
- return _W(o.staleFields, r) || on(
51892
+ return FW(o.staleFields, r) || on(
51879
51893
  "defineRecordType",
51880
51894
  `"${n}" is registered twice with different staleFields — the first registration wins.`
51881
51895
  ), o;
51882
51896
  const s = { type: n, staleFields: r };
51883
51897
  return Yc.set(n, s), s;
51884
51898
  }
51885
- function _W(e, t) {
51899
+ function FW(e, t) {
51886
51900
  return e === "*" || t === "*" ? e === t : e.length === t.length && e.every((n) => t.includes(n));
51887
51901
  }
51888
- function FW(e) {
51902
+ function VW(e) {
51889
51903
  return Yc.get(e)?.staleFields ?? [];
51890
51904
  }
51891
- function nq() {
51905
+ function rq() {
51892
51906
  Yc.clear();
51893
51907
  }
51894
51908
  const sM = -1, Wt = /* @__PURE__ */ new Map(), ur = /* @__PURE__ */ new Map(), Br = /* @__PURE__ */ new Map(), Hr = /* @__PURE__ */ new Map(), ba = /* @__PURE__ */ new Set(), uo = /* @__PURE__ */ new Map();
51895
51909
  let ts = 0, go;
51896
- function VW(e) {
51897
- e !== go && (go = e, Wt.clear(), ur.clear(), Br.clear(), zs.clear(), ts += 1, QW());
51910
+ function $W(e) {
51911
+ e !== go && (go = e, Wt.clear(), ur.clear(), Br.clear(), zs.clear(), ts += 1, JW());
51898
51912
  }
51899
51913
  function Sd() {
51900
51914
  return go;
@@ -51922,7 +51936,7 @@ function kr(e, t) {
51922
51936
  const r = { options: t, touched: /* @__PURE__ */ new Set(), inFlight: /* @__PURE__ */ new Map() }, o = iM(e, n, r);
51923
51937
  return o === "dropped-older" ? { verdict: o, keys: Kl, reason: `older than the stored ${n.key}` } : { verdict: o, keys: [...r.touched] };
51924
51938
  }
51925
- function $W(e, t) {
51939
+ function LW(e, t) {
51926
51940
  const n = [], r = /* @__PURE__ */ new Set();
51927
51941
  for (const o of e) {
51928
51942
  const s = kr(o, t);
@@ -51932,18 +51946,18 @@ function $W(e, t) {
51932
51946
  return { results: n, keys: [...r] };
51933
51947
  }
51934
51948
  function iM(e, t, n) {
51935
- const { key: r, type: o } = t, s = DW(e.__timestamp), i = Wt.get(r);
51949
+ const { key: r, type: o } = t, s = _W(e.__timestamp), i = Wt.get(r);
51936
51950
  if (i && i.timestamp !== void 0 && s !== void 0 && s < i.timestamp)
51937
51951
  return on("recordStore", `refused a strictly older write for ${r}`), "dropped-older";
51938
51952
  const a = i ?? aM(r, o);
51939
51953
  n.inFlight.set(e, r), n.touched.add(r);
51940
- const l = jW(e, n);
51954
+ const l = GW(e, n);
51941
51955
  let c = !1;
51942
51956
  a.hasBase || (a.hasBase = !0, c = !0);
51943
51957
  for (const [f, d] of Object.entries(l))
51944
51958
  (!(f in a.data) || !Qp(a.data[f], d)) && (a.data[f] = d, c = !0);
51945
- const u = TW(e);
51946
- return u !== void 0 ? a.deletedAt !== u && (a.deletedAt = u, c = !0) : PW(e) && a.deletedAt !== void 0 && (a.deletedAt = void 0, c = !0), n.options.source === "fetch" && n.options.tag !== void 0 && !a.tags.has(n.options.tag) && (a.tags.add(n.options.tag), c = !0), HW(o, a, n.options.source, new Set(Object.keys(l))) && (c = !0), s !== void 0 && (a.timestamp === void 0 || s > a.timestamp) && (a.timestamp = s), c ? (Cd(r, a), "applied") : "unchanged";
51959
+ const u = PW(e);
51960
+ return u !== void 0 ? a.deletedAt !== u && (a.deletedAt = u, c = !0) : OW(e) && a.deletedAt !== void 0 && (a.deletedAt = void 0, c = !0), n.options.source === "fetch" && n.options.tag !== void 0 && !a.tags.has(n.options.tag) && (a.tags.add(n.options.tag), c = !0), UW(o, a, n.options.source, new Set(Object.keys(l))) && (c = !0), s !== void 0 && (a.timestamp === void 0 || s > a.timestamp) && (a.timestamp = s), c ? (Cd(r, a), "applied") : "unchanged";
51947
51961
  }
51948
51962
  function aM(e, t) {
51949
51963
  const n = {
@@ -51982,7 +51996,7 @@ function Xc(e, t) {
51982
51996
  Cd(e, n);
51983
51997
  }
51984
51998
  }
51985
- function LW(e, t, n, r) {
51999
+ function zW(e, t, n, r) {
51986
52000
  const o = Wt.get(e);
51987
52001
  if (!o || n.length === 0) return;
51988
52002
  let s = !1;
@@ -51995,7 +52009,7 @@ function LW(e, t, n, r) {
51995
52009
  );
51996
52010
  i.length !== o.layers.length && (o.layers = i), s && Cd(e, o);
51997
52011
  }
51998
- function zW(e) {
52012
+ function BW(e) {
51999
52013
  return Wt.get(e)?.deletedAt !== void 0;
52000
52014
  }
52001
52015
  function Zc(e, t) {
@@ -52008,28 +52022,28 @@ function cM(e) {
52008
52022
  }
52009
52023
  return e.deletedAt;
52010
52024
  }
52011
- function BW(e) {
52025
+ function HW(e) {
52012
52026
  return e.layers.some((t) => t.created);
52013
52027
  }
52014
52028
  function Cd(e, t) {
52015
52029
  t.version += 1, ts += 1, dM(e);
52016
52030
  }
52017
- function HW(e, t, n, r) {
52031
+ function UW(e, t, n, r) {
52018
52032
  let o = !1;
52019
52033
  if (n === "fetch") {
52020
52034
  for (const s of r)
52021
52035
  t.stale.delete(s) && (o = !0);
52022
52036
  return o;
52023
52037
  }
52024
- for (const s of UW(e, t, r))
52038
+ for (const s of jW(e, t, r))
52025
52039
  t.stale.has(s) || (t.stale.add(s), o = !0);
52026
52040
  return o;
52027
52041
  }
52028
- function UW(e, t, n) {
52029
- const r = FW(e);
52042
+ function jW(e, t, n) {
52043
+ const r = VW(e);
52030
52044
  return r === "*" ? Object.keys(t.data).filter((o) => o !== "id" && !n.has(o)) : r.filter((o) => !n.has(o));
52031
52045
  }
52032
- function jW(e, t) {
52046
+ function GW(e, t) {
52033
52047
  const n = {};
52034
52048
  for (const [r, o] of Object.entries(e))
52035
52049
  oM(r) || (n[r] = Yp(o, t));
@@ -52052,17 +52066,17 @@ function Yp(e, t) {
52052
52066
  }
52053
52067
  return e;
52054
52068
  }
52055
- function GW(e) {
52069
+ function WW(e) {
52056
52070
  const t = ur.get(e);
52057
52071
  if (t) {
52058
52072
  if (t.atGlobal === ts) return t.value;
52059
- if (WW(t.deps))
52073
+ if (KW(t.deps))
52060
52074
  return t.atGlobal = ts, t.value;
52061
52075
  }
52062
52076
  const n = /* @__PURE__ */ new Map(), o = Xp(e, n, /* @__PURE__ */ new Map());
52063
52077
  return ur.set(e, { value: o, deps: n, atGlobal: ts }), o;
52064
52078
  }
52065
- function WW(e) {
52079
+ function KW(e) {
52066
52080
  for (const [t, n] of e) {
52067
52081
  const r = Wt.get(t);
52068
52082
  if ((r ? r.version : sM) !== n) return !1;
@@ -52112,16 +52126,16 @@ function qi(e, t, n) {
52112
52126
  return e;
52113
52127
  }
52114
52128
  const qa = Object.freeze({ status: "unknown" });
52115
- function KW() {
52129
+ function qW() {
52116
52130
  return qa;
52117
52131
  }
52118
52132
  function kd(e, t) {
52119
- const n = qW(e);
52133
+ const n = YW(e);
52120
52134
  if (n.status !== "present") return n;
52121
52135
  const r = Wt.get(e);
52122
- return r && (r.tags.has(t) || BW(r)) ? n : qa;
52136
+ return r && (r.tags.has(t) || HW(r)) ? n : qa;
52123
52137
  }
52124
- function qW(e) {
52138
+ function YW(e) {
52125
52139
  const t = Wt.get(e);
52126
52140
  if (!t)
52127
52141
  return Br.delete(e), qa;
@@ -52131,7 +52145,7 @@ function qW(e) {
52131
52145
  const i = Object.freeze({ status: "deleted", at: r });
52132
52146
  return Br.set(e, i), i;
52133
52147
  }
52134
- const o = GW(e);
52148
+ const o = WW(e);
52135
52149
  if (n && n.status === "present" && n.record === o && n.version === t.version)
52136
52150
  return n;
52137
52151
  const s = Object.freeze({
@@ -52142,33 +52156,33 @@ function qW(e) {
52142
52156
  });
52143
52157
  return Br.set(e, s), s;
52144
52158
  }
52145
- function rq(e, t, n) {
52159
+ function oq(e, t, n) {
52146
52160
  return kd(so(e, t), n);
52147
52161
  }
52148
52162
  let zs = /* @__PURE__ */ new Set(), Bn = null;
52149
52163
  const Ab = typeof requestAnimationFrame == "function", uM = typeof document < "u";
52150
- function YW() {
52164
+ function XW() {
52151
52165
  return uM && document.hidden;
52152
52166
  }
52153
- function XW(e) {
52154
- return Ab && !YW() ? requestAnimationFrame(e) : setTimeout(e, 0);
52167
+ function ZW(e) {
52168
+ return Ab && !XW() ? requestAnimationFrame(e) : setTimeout(e, 0);
52155
52169
  }
52156
52170
  function Db(e) {
52157
52171
  Ab && cancelAnimationFrame(e), clearTimeout(e);
52158
52172
  }
52159
52173
  function dM(e) {
52160
- zs.add(e), Bn === null && (Bn = XW(() => {
52174
+ zs.add(e), Bn === null && (Bn = ZW(() => {
52161
52175
  Bn = null, yo();
52162
52176
  }));
52163
52177
  }
52164
- function ZW() {
52178
+ function QW() {
52165
52179
  !uM || !Ab || document.addEventListener("visibilitychange", () => {
52166
52180
  !document.hidden || Bn === null || (Db(Bn), Bn = setTimeout(() => {
52167
52181
  Bn = null, yo();
52168
52182
  }, 0));
52169
52183
  });
52170
52184
  }
52171
- ZW();
52185
+ QW();
52172
52186
  function yo() {
52173
52187
  if (Bn !== null && (Db(Bn), Bn = null), zs.size === 0) return;
52174
52188
  const e = zs;
@@ -52189,7 +52203,7 @@ function yo() {
52189
52203
  }
52190
52204
  for (const n of [...ba]) n();
52191
52205
  }
52192
- function QW() {
52206
+ function JW() {
52193
52207
  for (const e of [...Hr.values()])
52194
52208
  for (const t of [...e]) t();
52195
52209
  for (const e of [...ba]) e();
@@ -52207,13 +52221,13 @@ function fM(e) {
52207
52221
  const Fb = Object.freeze([]);
52208
52222
  let Bi = Fb;
52209
52223
  function Vb() {
52210
- const e = e7();
52211
- return t7(Bi, e) || (Bi = Object.freeze(e)), Bi;
52224
+ const e = t7();
52225
+ return n7(Bi, e) || (Bi = Object.freeze(e)), Bi;
52212
52226
  }
52213
- function JW() {
52227
+ function e7() {
52214
52228
  return Fb;
52215
52229
  }
52216
- function e7() {
52230
+ function t7() {
52217
52231
  const e = /* @__PURE__ */ new Map();
52218
52232
  for (const [t, n] of Wt)
52219
52233
  if (n.stale.size !== 0)
@@ -52225,7 +52239,7 @@ function e7() {
52225
52239
  }
52226
52240
  return [...e].map(([t, n]) => ({ key: t, fields: Object.freeze([...n].sort()) })).sort((t, n) => t.key < n.key ? -1 : t.key > n.key ? 1 : 0);
52227
52241
  }
52228
- function t7(e, t) {
52242
+ function n7(e, t) {
52229
52243
  return e.length !== t.length ? !1 : e.every((n, r) => {
52230
52244
  const o = t[r];
52231
52245
  return n.key === o.key && n.fields.length === o.fields.length && n.fields.every((s, i) => s === o.fields[i]);
@@ -52244,7 +52258,7 @@ function $b(e) {
52244
52258
  }
52245
52259
  };
52246
52260
  }
52247
- function n7() {
52261
+ function r7() {
52248
52262
  const e = /* @__PURE__ */ new Set(), t = [...uo.keys()];
52249
52263
  for (const r of Hr.keys()) t.push(r);
52250
52264
  for (const [r, o] of Wt) o.layers.length > 0 && t.push(r);
@@ -52275,10 +52289,10 @@ function Zp(e, t) {
52275
52289
  if (ei(e))
52276
52290
  for (const n of Object.values(e)) Zp(n, t);
52277
52291
  }
52278
- function oq() {
52292
+ function sq() {
52279
52293
  Bn !== null && (Db(Bn), Bn = null), Wt.clear(), ur.clear(), Br.clear(), Hr.clear(), ba.clear(), uo.clear(), zs = /* @__PURE__ */ new Set(), Bi = Fb, ts = 0, go = void 0;
52280
52294
  }
52281
- function sq() {
52295
+ function iq() {
52282
52296
  return { records: Wt.size, memos: ur.size, roots: uo.size, listeners: Hr.size };
52283
52297
  }
52284
52298
  function ei(e) {
@@ -52296,7 +52310,7 @@ function Qp(e, t) {
52296
52310
  }
52297
52311
  return !1;
52298
52312
  }
52299
- function r7(e, t, n) {
52313
+ function o7(e, t, n) {
52300
52314
  const r = t == null ? null : so(e.type, t), o = n.needs, s = Ne(
52301
52315
  (l) => r === null ? () => {
52302
52316
  } : _b(r, l),
@@ -52304,10 +52318,10 @@ function r7(e, t, n) {
52304
52318
  ), i = Ne(
52305
52319
  () => r === null ? qa : kd(r, o),
52306
52320
  [r, o]
52307
- ), a = Ar(s, i, KW);
52321
+ ), a = Ar(s, i, qW);
52308
52322
  return $e(() => r === null ? void 0 : $b([r]), [r]), a;
52309
52323
  }
52310
- function iq(e, t, n) {
52324
+ function aq(e, t, n) {
52311
52325
  const r = n.needs, o = De(() => t.map((d) => so(e.type, d)), [e.type, t.join("\0")]), s = o.join("\0"), i = Ne(
52312
52326
  (d) => {
52313
52327
  const p = o.map((m) => _b(m, d));
@@ -52323,26 +52337,26 @@ function iq(e, t, n) {
52323
52337
  }, [s, r]), c = De(() => Object.freeze(o.map(() => qa)), [s]), u = Ne(() => c, [c]), f = Ar(i, l, u);
52324
52338
  return $e(() => $b(o), [s]), f;
52325
52339
  }
52326
- function aq() {
52327
- return Ar(fM, Vb, JW);
52340
+ function lq() {
52341
+ return Ar(fM, Vb, e7);
52328
52342
  }
52329
- const o7 = 6e4, s7 = 6e4, i7 = 1e3, a7 = 3e4, l7 = 6;
52343
+ const s7 = 6e4, i7 = 6e4, a7 = 1e3, l7 = 3e4, c7 = 6;
52330
52344
  let Rd = 0;
52331
52345
  const Qc = /* @__PURE__ */ new Set(), Jc = /* @__PURE__ */ new Set();
52332
- function c7() {
52346
+ function u7() {
52333
52347
  return Rd;
52334
52348
  }
52335
52349
  function Lb(e) {
52336
52350
  return Qc.add(e), () => Qc.delete(e);
52337
52351
  }
52338
- function u7(e) {
52352
+ function d7(e) {
52339
52353
  return Jc.add(e), () => Jc.delete(e);
52340
52354
  }
52341
- function d7() {
52355
+ function f7() {
52342
52356
  Rd += 1;
52343
52357
  for (const e of [...Qc]) e();
52344
52358
  }
52345
- function lq() {
52359
+ function cq() {
52346
52360
  Rd = 0, Qc.clear(), Jc.clear();
52347
52361
  }
52348
52362
  function Nd(e) {
@@ -52352,16 +52366,16 @@ function zb(e) {
52352
52366
  return e.kind === "all" ? "all" : e.kind === "ids" ? `ids:${e.ids.join(",")}` : `filter:${Jp(e.filter)}`;
52353
52367
  }
52354
52368
  function pM(e, t) {
52355
- const n = f7(t) ? t : Nd(t);
52369
+ const n = p7(t) ? t : Nd(t);
52356
52370
  return `${gi(e)}|${zb(n)}`;
52357
52371
  }
52358
- function f7(e) {
52372
+ function p7(e) {
52359
52373
  return typeof e == "object" && e !== null && !Array.isArray(e) && "kind" in e;
52360
52374
  }
52361
52375
  function Jp(e) {
52362
52376
  return e === null || typeof e != "object" ? JSON.stringify(e) ?? "null" : Array.isArray(e) ? `[${e.map(Jp).join(",")}]` : `{${Object.entries(e).sort(([n], [r]) => n < r ? -1 : n > r ? 1 : 0).map(([n, r]) => `${JSON.stringify(n)}:${Jp(r)}`).join(",")}}`;
52363
52377
  }
52364
- class p7 {
52378
+ class h7 {
52365
52379
  transport;
52366
52380
  entries = /* @__PURE__ */ new Map();
52367
52381
  channels = /* @__PURE__ */ new Map();
@@ -52377,11 +52391,11 @@ class p7 {
52377
52391
  disposed = !1;
52378
52392
  constructor(t) {
52379
52393
  this.transport = t.transport, this.tenant = t.tenant, this.options = {
52380
- keepaliveIntervalMs: t.keepaliveIntervalMs ?? o7,
52381
- expiryMarginMs: t.expiryMarginMs ?? s7,
52382
- baseBackoffMs: t.baseBackoffMs ?? i7,
52383
- maxBackoffMs: t.maxBackoffMs ?? a7,
52384
- maxAttempts: t.maxAttempts ?? l7,
52394
+ keepaliveIntervalMs: t.keepaliveIntervalMs ?? s7,
52395
+ expiryMarginMs: t.expiryMarginMs ?? i7,
52396
+ baseBackoffMs: t.baseBackoffMs ?? a7,
52397
+ maxBackoffMs: t.maxBackoffMs ?? l7,
52398
+ maxAttempts: t.maxAttempts ?? c7,
52385
52399
  createdEventName: t.createdEventName ?? "created",
52386
52400
  now: t.now ?? Date.now,
52387
52401
  isSelfEvent: t.isSelfEvent,
@@ -52553,7 +52567,7 @@ class p7 {
52553
52567
  try {
52554
52568
  const r = await this.transport.subscribe(this.requestFor(t, this.tenant));
52555
52569
  if (this.disposed) return;
52556
- t.registered = !0, t.everRegistered = !0, t.keepaliveFailed = !1, t.expiresAt = r?.expiresAt, t.serverKeys = r?.keys ?? [], t.attempts = 0, t.lastError = void 0, this.diagnose({ kind: n ? "resubscribed" : "subscribed", key: t.key, type: t.type }), n && d7();
52570
+ t.registered = !0, t.everRegistered = !0, t.keepaliveFailed = !1, t.expiresAt = r?.expiresAt, t.serverKeys = r?.keys ?? [], t.attempts = 0, t.lastError = void 0, this.diagnose({ kind: n ? "resubscribed" : "subscribed", key: t.key, type: t.type }), n && f7();
52557
52571
  } catch (r) {
52558
52572
  if (this.disposed) return;
52559
52573
  t.registered = !1, t.attempts += 1, t.lastError = oc(r), this.lastError = t.lastError, this.diagnose({
@@ -52681,7 +52695,7 @@ class p7 {
52681
52695
  this.diagnose({ kind: "self-event-dropped", type: t, event: n });
52682
52696
  return;
52683
52697
  }
52684
- const s = kr(r, { source: "broadcast", tenant: o }), i = s.verdict === "applied" || s.verdict === "unchanged" ? h7(r) : void 0;
52698
+ const s = kr(r, { source: "broadcast", tenant: o }), i = s.verdict === "applied" || s.verdict === "unchanged" ? m7(r) : void 0;
52685
52699
  this.diagnose({ kind: "event", type: t, event: n, key: i, message: s.verdict });
52686
52700
  const a = {
52687
52701
  type: t,
@@ -52769,7 +52783,7 @@ class p7 {
52769
52783
  this.options.onDiagnostic?.({ ...t, at: this.options.now() });
52770
52784
  }
52771
52785
  }
52772
- function h7(e) {
52786
+ function m7(e) {
52773
52787
  const t = e.__type, n = e.id;
52774
52788
  if (!(typeof t != "string" || t === "") && !(typeof n != "string" && typeof n != "number"))
52775
52789
  return so(t, n);
@@ -52785,22 +52799,22 @@ function Ai(e, t) {
52785
52799
  }
52786
52800
  }
52787
52801
  const hM = Rn(null);
52788
- function cq({
52802
+ function uq({
52789
52803
  transport: e,
52790
52804
  tenant: t,
52791
52805
  ownsStoreTenant: n = !0,
52792
52806
  children: r,
52793
52807
  ...o
52794
52808
  }) {
52795
- const [s] = Ee(() => new p7({ transport: e, tenant: t, ...o })), i = ye(t);
52809
+ const [s] = Ee(() => new h7({ transport: e, tenant: t, ...o })), i = ye(t);
52796
52810
  return $e(() => (s.start(), () => s.stop()), [s]), $e(() => {
52797
- i.current !== t && (i.current = t, s.setTenant(t)), n && VW(t);
52811
+ i.current !== t && (i.current = t, s.setTenant(t)), n && $W(t);
52798
52812
  }, [s, t, n]), /* @__PURE__ */ h(hM.Provider, { value: s, children: r });
52799
52813
  }
52800
52814
  function mM() {
52801
52815
  return Nn(hM);
52802
52816
  }
52803
- function uq(e, t, n) {
52817
+ function dq(e, t, n) {
52804
52818
  const r = mM(), o = zb(Nd(t)), s = [...n].sort().join(","), i = ye({ scope: t, events: n });
52805
52819
  i.current = { scope: t, events: n }, $e(() => {
52806
52820
  if (r)
@@ -52814,7 +52828,7 @@ const Ww = Object.freeze({
52814
52828
  epoch: 0,
52815
52829
  lastError: void 0
52816
52830
  });
52817
- function dq() {
52831
+ function fq() {
52818
52832
  const e = mM(), t = Ne(
52819
52833
  (o) => {
52820
52834
  if (!e) return () => {
@@ -52828,13 +52842,13 @@ function dq() {
52828
52842
  ), n = Ne(() => e ? e.readHealth() : Ww, [e]), r = Ne(() => Ww, []);
52829
52843
  return Ar(t, n, r);
52830
52844
  }
52831
- function fq() {
52832
- return Ar(Lb, c7, () => 0);
52845
+ function pq() {
52846
+ return Ar(Lb, u7, () => 0);
52833
52847
  }
52834
- const m7 = 1e3;
52848
+ const g7 = 1e3;
52835
52849
  class gM {
52836
52850
  constructor(t, n = {}) {
52837
- this.run = t, this.minIntervalMs = n.minIntervalMs ?? m7, this.now = n.now ?? Date.now;
52851
+ this.run = t, this.minIntervalMs = n.minIntervalMs ?? g7, this.now = n.now ?? Date.now;
52838
52852
  }
52839
52853
  run;
52840
52854
  inFlight = !1;
@@ -52886,32 +52900,32 @@ class gM {
52886
52900
  this.disposed = !0, this.timer !== null && (clearTimeout(this.timer), this.timer = null);
52887
52901
  }
52888
52902
  }
52889
- let g7 = 1;
52903
+ let b7 = 1;
52890
52904
  const Bs = /* @__PURE__ */ new Map();
52891
52905
  let eu = null, eh = null, tu = null;
52892
52906
  function bM(e) {
52893
- const t = g7++;
52894
- return Bs.set(t, e), b7(), () => {
52907
+ const t = b7++;
52908
+ return Bs.set(t, e), x7(), () => {
52895
52909
  Bs.delete(t), Bs.size === 0 && xM();
52896
52910
  };
52897
52911
  }
52898
- function b7() {
52899
- eu || (tu = Vb(), eu = fM(x7), eh = Lb(v7));
52912
+ function x7() {
52913
+ eu || (tu = Vb(), eu = fM(v7), eh = Lb(y7));
52900
52914
  }
52901
52915
  function xM() {
52902
52916
  eu?.(), eh?.(), eu = null, eh = null, tu = null;
52903
52917
  }
52904
- function x7() {
52918
+ function v7() {
52905
52919
  const e = Vb();
52906
52920
  if (e === tu || (tu = e, e.length === 0)) return;
52907
52921
  const t = new Set(e.map((n) => n.key));
52908
52922
  for (const n of [...Bs.values()])
52909
52923
  n.roots().some((o) => t.has(o)) && n.request();
52910
52924
  }
52911
- function v7() {
52925
+ function y7() {
52912
52926
  for (const e of [...Bs.values()]) e.request();
52913
52927
  }
52914
- function pq() {
52928
+ function hq() {
52915
52929
  Bs.clear(), xM();
52916
52930
  }
52917
52931
  const Id = Object.freeze({
@@ -52921,21 +52935,21 @@ const Id = Object.freeze({
52921
52935
  meta: void 0,
52922
52936
  keys: Object.freeze([])
52923
52937
  });
52924
- function y7() {
52938
+ function w7() {
52925
52939
  return Id;
52926
52940
  }
52927
52941
  const En = /* @__PURE__ */ new Map(), Os = /* @__PURE__ */ new Map();
52928
52942
  let ns = null;
52929
- function w7() {
52930
- ns || (ns = u7((e) => {
52931
- e.isCreate && R7(e);
52943
+ function E7() {
52944
+ ns || (ns = d7((e) => {
52945
+ e.isCreate && N7(e);
52932
52946
  }));
52933
52947
  }
52934
- function E7() {
52948
+ function S7() {
52935
52949
  En.size > 0 || !ns || (ns(), ns = null);
52936
52950
  }
52937
- function S7(e, t) {
52938
- const n = I7(t.type, t.createdScope);
52951
+ function C7(e, t) {
52952
+ const n = M7(t.type, t.createdScope);
52939
52953
  let r = En.get(e);
52940
52954
  r || (r = {
52941
52955
  id: e,
@@ -52953,7 +52967,7 @@ function S7(e, t) {
52953
52967
  retainRelease: null,
52954
52968
  snapshot: null,
52955
52969
  dirty: !0
52956
- }, En.set(e, r)), r.type = t.type, r.tag = t.tag, r.created = n, r.refs += 1, w7();
52970
+ }, En.set(e, r)), r.type = t.type, r.tag = t.tag, r.created = n, r.refs += 1, E7();
52957
52971
  let o = !1;
52958
52972
  return () => {
52959
52973
  if (o) return;
@@ -52961,25 +52975,25 @@ function S7(e, t) {
52961
52975
  const s = En.get(e);
52962
52976
  if (s && (s.refs -= 1, !(s.refs > 0))) {
52963
52977
  for (const i of s.memberReleases) i();
52964
- s.memberReleases = [], s.retainRelease?.(), s.retainRelease = null, En.delete(e), E7();
52978
+ s.memberReleases = [], s.retainRelease?.(), s.retainRelease = null, En.delete(e), S7();
52965
52979
  }
52966
52980
  };
52967
52981
  }
52968
- function C7(e, t, n, r = []) {
52982
+ function k7(e, t, n, r = []) {
52969
52983
  const o = En.get(e);
52970
52984
  if (!o) return;
52971
52985
  o.keys = [...t];
52972
52986
  const s = /* @__PURE__ */ new Set([...o.keys, ...r]);
52973
52987
  o.pending = o.pending.filter((i) => !s.has(i)), o.awaitingSettle = o.awaitingSettle.filter((i) => !s.has(i)), o.meta = n, Ya(o), Xa(o);
52974
52988
  }
52975
- function k7(e) {
52989
+ function R7(e) {
52976
52990
  return En.get(e)?.pending ?? Id.keys;
52977
52991
  }
52978
- function R7(e) {
52992
+ function N7(e) {
52979
52993
  const t = e.key;
52980
52994
  if (t) {
52981
52995
  for (const n of En.values())
52982
- if (!(n.type !== e.type || !N7(n, e)) && !(n.keys.includes(t) || n.pending.includes(t) || n.awaitingSettle.includes(t))) {
52996
+ if (!(n.type !== e.type || !I7(n, e)) && !(n.keys.includes(t) || n.pending.includes(t) || n.awaitingSettle.includes(t))) {
52983
52997
  if (n.optimisticHead.length > 0 || n.optimisticTail.length > 0) {
52984
52998
  n.awaitingSettle = [...n.awaitingSettle, t];
52985
52999
  continue;
@@ -52988,26 +53002,26 @@ function R7(e) {
52988
53002
  }
52989
53003
  }
52990
53004
  }
52991
- function N7(e, t) {
53005
+ function I7(e, t) {
52992
53006
  const n = e.created;
52993
53007
  return n ? n.scope.kind === "all" ? !0 : n.scope.kind === "ids" ? n.scope.ids.includes(String(t.payload.id)) : t.subscriptions === void 0 ? (on(
52994
53008
  "realtime",
52995
53009
  `a "${t.event}" for ${t.type} carried no subscription attribution, so a list filtered by ${n.key} cannot tell which subscription it was sent for, and does not count it. The transport needs \`subscriptionsOf\`, and the server has to name the subscriptions an event satisfied.`
52996
53010
  ), !1) : t.subscriptions.includes(n.key) : !1;
52997
53011
  }
52998
- function I7(e, t) {
53012
+ function M7(e, t) {
52999
53013
  return t === void 0 ? null : { scope: t, key: pM(e, t) };
53000
53014
  }
53001
53015
  function Ya(e) {
53002
53016
  for (const n of e.memberReleases) n();
53003
53017
  const t = Bb(e);
53004
- e.memberReleases = t.map((n) => _b(n, () => M7(e))), e.retainRelease?.(), e.retainRelease = $b(t);
53005
- }
53006
- function M7(e) {
53007
- En.has(e.id) && (T7(e), Xa(e));
53018
+ e.memberReleases = t.map((n) => _b(n, () => T7(e))), e.retainRelease?.(), e.retainRelease = $b(t);
53008
53019
  }
53009
53020
  function T7(e) {
53010
- const t = (s) => zW(s), n = e.keys.filter((s) => !t(s)), r = e.pending.filter((s) => !t(s)), o = e.awaitingSettle.filter((s) => !t(s));
53021
+ En.has(e.id) && (P7(e), Xa(e));
53022
+ }
53023
+ function P7(e) {
53024
+ const t = (s) => BW(s), n = e.keys.filter((s) => !t(s)), r = e.pending.filter((s) => !t(s)), o = e.awaitingSettle.filter((s) => !t(s));
53011
53025
  n.length === e.keys.length && r.length === e.pending.length && o.length === e.awaitingSettle.length || (e.keys = n, e.pending = r, e.awaitingSettle = o, Ya(e));
53012
53026
  }
53013
53027
  function Xa(e) {
@@ -53016,7 +53030,7 @@ function Xa(e) {
53016
53030
  if (t)
53017
53031
  for (const n of [...t]) n();
53018
53032
  }
53019
- function P7(e, t, n, r) {
53033
+ function O7(e, t, n, r) {
53020
53034
  const o = [];
53021
53035
  for (const s of En.values()) {
53022
53036
  if (s.type !== t) continue;
@@ -53042,23 +53056,23 @@ function Kw(e, t) {
53042
53056
  function Bb(e) {
53043
53057
  return [...e.optimisticHead, ...e.keys, ...e.optimisticTail, ...e.pending, ...e.awaitingSettle];
53044
53058
  }
53045
- function O7(e, t) {
53059
+ function A7(e, t) {
53046
53060
  let n = Os.get(e);
53047
53061
  return n || (n = /* @__PURE__ */ new Set(), Os.set(e, n)), n.add(t), () => {
53048
53062
  const r = Os.get(e);
53049
53063
  r && (r.delete(t), r.size === 0 && Os.delete(e));
53050
53064
  };
53051
53065
  }
53052
- function A7(e) {
53066
+ function D7(e) {
53053
53067
  const t = En.get(e);
53054
53068
  return t ? Bb(t) : Id.keys;
53055
53069
  }
53056
- function D7(e) {
53070
+ function _7(e) {
53057
53071
  const t = En.get(e);
53058
53072
  if (!t) return Id;
53059
53073
  if (!t.dirty && t.snapshot) return t.snapshot;
53060
53074
  const n = qw([...t.optimisticHead, ...t.keys, ...t.optimisticTail], t.tag), r = qw(t.pending, t.tag), o = Bb(t), s = t.snapshot;
53061
- if (t.dirty = !1, s && Yw(s.items, n) && Yw(s.pending, r) && s.pendingCount === t.pending.length && s.meta === t.meta && _7(s.keys, o))
53075
+ if (t.dirty = !1, s && Yw(s.items, n) && Yw(s.pending, r) && s.pendingCount === t.pending.length && s.meta === t.meta && F7(s.keys, o))
53062
53076
  return s;
53063
53077
  const i = Object.freeze({
53064
53078
  items: Object.freeze(n),
@@ -53080,10 +53094,10 @@ function qw(e, t) {
53080
53094
  function Yw(e, t) {
53081
53095
  return e.length === t.length && e.every((n, r) => n === t[r]);
53082
53096
  }
53083
- function _7(e, t) {
53097
+ function F7(e, t) {
53084
53098
  return e.length === t.length && e.every((n, r) => n === t[r]);
53085
53099
  }
53086
- function hq() {
53100
+ function mq() {
53087
53101
  for (const e of En.values()) {
53088
53102
  for (const t of e.memberReleases) t();
53089
53103
  e.retainRelease?.();
@@ -53091,8 +53105,8 @@ function hq() {
53091
53105
  En.clear(), Os.clear(), ns?.(), ns = null;
53092
53106
  }
53093
53107
  const sc = { inFlight: !1, settled: !1, error: void 0 };
53094
- function mq(e, t, n) {
53095
- const { tag: r, tenant: o, enabled: s = !0, minRefetchIntervalMs: i } = n, a = t == null ? null : so(e.type, t), l = r7(e, t, { needs: r }), [c, u] = Ee(sc), f = ye(n.fetch);
53108
+ function gq(e, t, n) {
53109
+ const { tag: r, tenant: o, enabled: s = !0, minRefetchIntervalMs: i } = n, a = t == null ? null : so(e.type, t), l = o7(e, t, { needs: r }), [c, u] = Ee(sc), f = ye(n.fetch);
53096
53110
  f.current = n.fetch;
53097
53111
  const d = ye(o);
53098
53112
  d.current = o;
@@ -53135,7 +53149,7 @@ function mq(e, t, n) {
53135
53149
  [l, c, g]
53136
53150
  );
53137
53151
  }
53138
- function gq(e, t) {
53152
+ function bq(e, t) {
53139
53153
  const { key: n, tag: r, tenant: o, enabled: s = !0, minRefetchIntervalMs: i, createdScope: a } = t, l = a === void 0 ? void 0 : Nd(a), c = l === void 0 ? "" : zb(l), u = ye(l);
53140
53154
  u.current = l;
53141
53155
  const [f, d] = Ee({ slot: n, status: sc }), p = f.slot === n ? f.status : sc, m = ye(t.fetch);
@@ -53146,27 +53160,27 @@ function gq(e, t) {
53146
53160
  $e(() => (b.current = !0, () => {
53147
53161
  b.current = !1;
53148
53162
  }), []), $e(
53149
- () => S7(n, { type: e.type, tag: r, createdScope: u.current }),
53163
+ () => C7(n, { type: e.type, tag: r, createdScope: u.current }),
53150
53164
  [n, e.type, r, c]
53151
53165
  );
53152
- const x = Ne((C) => O7(n, C), [n]), w = Ne(() => D7(n), [n]), y = Ar(x, w, y7), E = ye(null);
53166
+ const x = Ne((C) => A7(n, C), [n]), w = Ne(() => _7(n), [n]), y = Ar(x, w, w7), E = ye(null);
53153
53167
  $e(() => {
53154
53168
  if (!s) {
53155
53169
  E.current = null;
53156
53170
  return;
53157
53171
  }
53158
53172
  const C = new gM(async () => {
53159
- const k = g.current ?? Sd(), N = k7(n), M = (I) => d((T) => ({ slot: n, status: I(T.slot === n ? T.status : sc) }));
53173
+ const k = g.current ?? Sd(), N = R7(n), M = (I) => d((T) => ({ slot: n, status: I(T.slot === n ? T.status : sc) }));
53160
53174
  M((I) => ({ ...I, inFlight: !0 }));
53161
53175
  try {
53162
53176
  const I = await m.current();
53163
- $W(I.items, { source: "fetch", tag: r, tenant: k }), C7(n, I.items.map((T) => F7(T, e.type)).filter(V7), I.meta, N), b.current && M(() => ({ inFlight: !1, settled: !0, error: void 0 }));
53177
+ LW(I.items, { source: "fetch", tag: r, tenant: k }), k7(n, I.items.map((T) => V7(T, e.type)).filter($7), I.meta, N), b.current && M(() => ({ inFlight: !1, settled: !0, error: void 0 }));
53164
53178
  } catch (I) {
53165
53179
  b.current && M(() => ({ inFlight: !1, settled: !0, error: vM(I) }));
53166
53180
  }
53167
53181
  }, { minIntervalMs: i });
53168
53182
  E.current = C, C.runNow();
53169
- const R = bM({ roots: () => A7(n), request: () => C.request() });
53183
+ const R = bM({ roots: () => D7(n), request: () => C.request() });
53170
53184
  return () => {
53171
53185
  R(), C.dispose(), E.current === C && (E.current = null);
53172
53186
  };
@@ -53188,26 +53202,26 @@ function gq(e, t) {
53188
53202
  [y, p, s, S]
53189
53203
  );
53190
53204
  }
53191
- function bq(e, t) {
53205
+ function xq(e, t) {
53192
53206
  return kr(e, {
53193
53207
  source: "fetch",
53194
53208
  tag: t.tag,
53195
53209
  tenant: t.tenant ?? Sd()
53196
53210
  });
53197
53211
  }
53198
- function xq(e = 6e4) {
53212
+ function vq(e = 6e4) {
53199
53213
  $e(() => {
53200
- const t = setInterval(() => n7(), e);
53214
+ const t = setInterval(() => r7(), e);
53201
53215
  return () => clearInterval(t);
53202
53216
  }, [e]);
53203
53217
  }
53204
- function F7(e, t) {
53218
+ function V7(e, t) {
53205
53219
  const n = e.id;
53206
53220
  if (typeof n != "string" && typeof n != "number") return;
53207
53221
  const r = typeof e.__type == "string" && e.__type !== "" ? e.__type : t;
53208
53222
  return so(r, n);
53209
53223
  }
53210
- function V7(e) {
53224
+ function $7(e) {
53211
53225
  return e !== void 0;
53212
53226
  }
53213
53227
  function vM(e) {
@@ -53215,10 +53229,10 @@ function vM(e) {
53215
53229
  }
53216
53230
  let Xw = 0;
53217
53231
  const th = /* @__PURE__ */ new Map();
53218
- function $7(e, t) {
53232
+ function L7(e, t) {
53219
53233
  return t === void 0 ? e : `${e}\0${t}`;
53220
53234
  }
53221
- function L7(e, t, n) {
53235
+ function z7(e, t, n) {
53222
53236
  const r = {}, o = n === void 0 ? void 0 : nh(Zc(e, n));
53223
53237
  for (const s of t) r[s] = o === void 0 ? Zc(e, s) : o[s];
53224
53238
  return r;
@@ -53226,8 +53240,8 @@ function L7(e, t, n) {
53226
53240
  function nh(e) {
53227
53241
  return typeof e == "object" && e !== null && !Array.isArray(e) ? e : {};
53228
53242
  }
53229
- async function vq(e, t, n = {}) {
53230
- const r = z7(e, n);
53243
+ async function yq(e, t, n = {}) {
53244
+ const r = B7(e, n);
53231
53245
  let o;
53232
53246
  try {
53233
53247
  o = await t();
@@ -53236,10 +53250,10 @@ async function vq(e, t, n = {}) {
53236
53250
  }
53237
53251
  return r.commit(n.answer ? n.answer(o) : o), o;
53238
53252
  }
53239
- function z7(e, t = {}) {
53253
+ function B7(e, t = {}) {
53240
53254
  const n = t.tenant ?? Sd(), r = e.type.type;
53241
- if (e.kind === "create") return B7(e, r, n, t.tag);
53242
- const o = e.id, s = so(r, o), i = e.kind === "update" ? e.at : void 0, a = e.kind !== "update" ? {} : i === void 0 ? yM(e.patch) : H7(e.patch), l = e.kind === "delete" ? (/* @__PURE__ */ new Date()).toISOString() : void 0, c = lM(r, o, { fields: a, at: i, tombstone: l });
53255
+ if (e.kind === "create") return H7(e, r, n, t.tag);
53256
+ const o = e.id, s = so(r, o), i = e.kind === "update" ? e.at : void 0, a = e.kind !== "update" ? {} : i === void 0 ? yM(e.patch) : U7(e.patch), l = e.kind === "delete" ? (/* @__PURE__ */ new Date()).toISOString() : void 0, c = lM(r, o, { fields: a, at: i, tombstone: l });
53243
53257
  yo();
53244
53258
  let u = !1;
53245
53259
  return {
@@ -53248,7 +53262,7 @@ function z7(e, t = {}) {
53248
53262
  commit(f) {
53249
53263
  if (u) return;
53250
53264
  u = !0;
53251
- const d = $7(s, i), p = th.get(d);
53265
+ const d = L7(s, i), p = th.get(d);
53252
53266
  if (p !== void 0 && p.through > c) {
53253
53267
  const g = {};
53254
53268
  for (const b of Object.keys(a)) b in p.values && (g[b] = p.values[b]);
@@ -53259,21 +53273,21 @@ function z7(e, t = {}) {
53259
53273
  } else
53260
53274
  e.kind === "delete" ? kr({ __type: r, id: o, deleted_at: l }, { source: "fetch", tenant: n }) : t.answerStored || (rh(f) ? kr(f, { source: "fetch", tag: t.tag, tenant: n }) : i === void 0 ? kr({ ...a, __type: r, id: o }, { source: "fetch", tenant: n }) : kr({ __type: r, id: o, [i]: { ...nh(Zc(s, i)), ...a } }, { source: "fetch", tenant: n })), th.set(d, {
53261
53275
  through: c,
53262
- values: { ...p?.values ?? {}, ...L7(s, Object.keys(a), i) }
53276
+ values: { ...p?.values ?? {}, ...z7(s, Object.keys(a), i) }
53263
53277
  });
53264
- LW(s, c, Object.keys(a), i), Xc(s, c), yo();
53278
+ zW(s, c, Object.keys(a), i), Xc(s, c), yo();
53265
53279
  },
53266
53280
  rollback() {
53267
53281
  u || (u = !0, Xc(s, c), yo());
53268
53282
  }
53269
53283
  };
53270
53284
  }
53271
- function B7(e, t, n, r) {
53285
+ function H7(e, t, n, r) {
53272
53286
  Xw -= 1;
53273
53287
  const o = Xw, s = so(t, o), i = lM(t, o, {
53274
53288
  fields: { ...yM(e.fields), id: o },
53275
53289
  created: !0
53276
- }), a = P7(s, t, e.lists, e.position ?? "start");
53290
+ }), a = O7(s, t, e.lists, e.position ?? "start");
53277
53291
  yo();
53278
53292
  let l = !1;
53279
53293
  const c = () => {
@@ -53309,7 +53323,7 @@ function yM(e) {
53309
53323
  r === void 0 || oM(n) || n === "id" || (t[n] = r);
53310
53324
  return t;
53311
53325
  }
53312
- function H7(e) {
53326
+ function U7(e) {
53313
53327
  const t = {};
53314
53328
  for (const [n, r] of Object.entries(e)) r !== void 0 && (t[n] = r);
53315
53329
  return t;
@@ -53317,45 +53331,45 @@ function H7(e) {
53317
53331
  function rh(e) {
53318
53332
  return typeof e == "object" && e !== null && Ed(e) !== void 0;
53319
53333
  }
53320
- function yq() {
53334
+ function wq() {
53321
53335
  th.clear();
53322
53336
  }
53323
53337
  export {
53324
53338
  u4 as Accordion,
53325
53339
  d4 as AccordionItem,
53326
- VK as AccountMenu,
53340
+ $K as AccountMenu,
53327
53341
  YE as AlertDialog,
53328
53342
  yy as AmbiguousTimeError,
53329
- O8 as AppShell,
53343
+ A8 as AppShell,
53330
53344
  oI as Attachment,
53331
53345
  Jy as AttachmentAction,
53332
53346
  sI as AttachmentList,
53333
53347
  TU as AttachmentPreview,
53334
53348
  zc as Avatar,
53335
- cK as AvatarGroup,
53349
+ uK as AvatarGroup,
53336
53350
  Ut as Badge,
53337
- bK as Board,
53338
- yK as BoardCard,
53339
- xK as BoardCardSurface,
53340
- vK as BoardColumn,
53351
+ xK as Board,
53352
+ wK as BoardCard,
53353
+ vK as BoardCardSurface,
53354
+ yK as BoardColumn,
53341
53355
  h4 as Breadcrumb,
53342
53356
  Et as Button,
53343
53357
  Nr as CAMERA_DEFAULTS,
53344
53358
  fw as CATEGORY_TONES,
53345
53359
  Go as CENTER_POSITION,
53346
- qK as CONFIDENCE_LEVEL_LABELS,
53347
- AK as CalendarMonth,
53348
- DK as CalendarTimeGrid,
53360
+ YK as CONFIDENCE_LEVEL_LABELS,
53361
+ DK as CalendarMonth,
53362
+ _K as CalendarTimeGrid,
53349
53363
  tf as Callout,
53350
53364
  rd as Card,
53351
53365
  UC as CardFooter,
53352
53366
  HC as CardHeader,
53353
- pK as CellStack,
53367
+ hK as CellStack,
53354
53368
  XU as Chat,
53355
- SK as ChatPopover,
53369
+ CK as ChatPopover,
53356
53370
  aI as ChatStatus,
53357
53371
  Ip as Checkbox,
53358
- S8 as CheckboxField,
53372
+ C8 as CheckboxField,
53359
53373
  vS as CodeBlock,
53360
53374
  gS as CodeEditor,
53361
53375
  xS as CodeEditorCaption,
@@ -53367,30 +53381,30 @@ export {
53367
53381
  Uz as CollapsiblePanel,
53368
53382
  Bz as CollapsibleRoot,
53369
53383
  Hz as CollapsibleTrigger,
53370
- G8 as Combobox,
53371
- K8 as ComboboxGroup,
53372
- W8 as ComboboxItem,
53373
- z8 as CommandPalette,
53384
+ W8 as Combobox,
53385
+ q8 as ComboboxGroup,
53386
+ K8 as ComboboxItem,
53387
+ B8 as CommandPalette,
53374
53388
  PU as Composer,
53375
53389
  iG as ConfidenceBar,
53376
53390
  hw as ConfidenceMeter,
53377
53391
  aG as ConfidenceReadout,
53378
- w8 as ConnectionCard,
53392
+ E8 as ConnectionCard,
53379
53393
  LU as ContextMeter,
53380
53394
  $N as DEFAULT_DRAG_STRINGS,
53381
53395
  qU as DEFAULT_EFFORT_LEVELS,
53382
53396
  aw as DEFAULT_PALETTE_KEY,
53383
53397
  LN as DRAG_INSTRUCTIONS_ID,
53384
- fK as DataTable,
53398
+ pK as DataTable,
53385
53399
  Uk as DateCalendar,
53386
53400
  bB as DateField,
53387
- D8 as DatePicker,
53388
- $8 as DateTimeField,
53389
- y8 as DescriptionList,
53401
+ _8 as DatePicker,
53402
+ L8 as DateTimeField,
53403
+ w8 as DescriptionList,
53390
53404
  Gz as DescriptionListItem,
53391
- LK as DevToolsPopover,
53405
+ zK as DevToolsPopover,
53392
53406
  Mm as Dialog,
53393
- n8 as DialogClose,
53407
+ r8 as DialogClose,
53394
53408
  bb as DragDrop,
53395
53409
  xb as DragDropContainer,
53396
53410
  XN as DragDropHandle,
@@ -53401,30 +53415,30 @@ export {
53401
53415
  zH as DragSession,
53402
53416
  qH as DragSessionProvider,
53403
53417
  lj as EVENT_PALETTE,
53404
- t8 as EditGutter,
53418
+ n8 as EditGutter,
53405
53419
  YU as EffortControl,
53406
53420
  nd as EmptyState,
53407
- Z7 as ErrorBoundary,
53421
+ Q7 as ErrorBoundary,
53408
53422
  kj as EventActions,
53409
53423
  Xr as Field,
53410
- Q7 as FieldSet,
53411
- A8 as FileUpload,
53412
- JK as FocusWeb,
53424
+ J7 as FieldSet,
53425
+ D8 as FileUpload,
53426
+ eq as FocusWeb,
53413
53427
  xW as GraphExplorer,
53414
53428
  jm as HOTKEYS,
53415
53429
  me as Icon,
53416
53430
  Ht as IconButton,
53417
- e8 as InlineEdit,
53418
- h8 as InlineMarkdownEdit,
53431
+ t8 as InlineEdit,
53432
+ m8 as InlineMarkdownEdit,
53419
53433
  ko as Input,
53420
- gK as KanbanBoard,
53434
+ bK as KanbanBoard,
53421
53435
  jo as LAYOUT_DEFAULTS,
53422
- Y7 as ListItemButton,
53436
+ X7 as ListItemButton,
53423
53437
  c_ as LoadingOverlay,
53424
53438
  pI as MIN_DURATION_MINUTES,
53425
53439
  yS as Markdown,
53426
53440
  fz as MarkdownEditor,
53427
- p8 as MarkdownImageUploadProvider,
53441
+ h8 as MarkdownImageUploadProvider,
53428
53442
  Aa as MarkdownNodes,
53429
53443
  gL as MarkdownSurface,
53430
53444
  La as Menu,
@@ -53438,99 +53452,99 @@ export {
53438
53452
  WU as MessageScroller,
53439
53453
  Z5 as Meter,
53440
53454
  KU as ModelSelector,
53441
- q8 as MultiCombobox,
53442
- QK as NodeCanvas,
53443
- U8 as NumberInput,
53444
- j8 as OTPInput,
53455
+ Y8 as MultiCombobox,
53456
+ JK as NodeCanvas,
53457
+ j8 as NumberInput,
53458
+ G8 as OTPInput,
53445
53459
  Uw as PARENT_POSITION,
53446
53460
  m4 as Pagination,
53447
53461
  b4 as PaginationBar,
53448
- aK as Panel,
53449
- iK as PanelGroup,
53450
- lK as PanelResizer,
53451
- jK as PhaseManager,
53462
+ lK as Panel,
53463
+ aK as PanelGroup,
53464
+ cK as PanelResizer,
53465
+ GK as PhaseManager,
53452
53466
  Gn as Popover,
53453
53467
  Fi as PopoverClose,
53454
- zK as ProfilePage,
53468
+ BK as ProfilePage,
53455
53469
  X5 as Progress,
53456
53470
  tB as ProgressRing,
53457
53471
  af as ProjectionError,
53458
53472
  EI as ProvenanceBadge,
53459
53473
  cG as ProvenanceDetail,
53460
- XK as ProvenanceDisclosure,
53461
- FK as RBACProvider,
53474
+ ZK as ProvenanceDisclosure,
53475
+ VK as RBACProvider,
53462
53476
  tk as Radio,
53463
- R8 as RadioCard,
53464
- k8 as RadioField,
53465
- E8 as RadioGroup,
53477
+ N8 as RadioCard,
53478
+ R8 as RadioField,
53479
+ S8 as RadioGroup,
53466
53480
  xz as ReadMore,
53467
- cq as RealtimeProvider,
53468
- X8 as RecordCard,
53469
- eK as RecordCardBadges,
53470
- Q8 as RecordCardEyebrow,
53471
- Z8 as RecordCardHandle,
53472
- tK as RecordCardMedia,
53473
- nK as RecordCardMeta,
53474
- J8 as RecordCardTitle,
53481
+ uq as RealtimeProvider,
53482
+ Z8 as RecordCard,
53483
+ tK as RecordCardBadges,
53484
+ J8 as RecordCardEyebrow,
53485
+ Q8 as RecordCardHandle,
53486
+ nK as RecordCardMedia,
53487
+ rK as RecordCardMeta,
53488
+ eK as RecordCardTitle,
53475
53489
  gM as RefetchRunner,
53476
53490
  vI as RoadmapItemCard,
53477
- UK as RoadmapPage,
53491
+ jK as RoadmapPage,
53478
53492
  Xj as RoadmapSwimlaneBoard,
53479
53493
  Bj as RolePermissionMatrix,
53480
- BK as RolesPermissionsPage,
53481
- g8 as ScrollArea,
53482
- m8 as SecretField,
53494
+ HK as RolesPermissionsPage,
53495
+ b8 as ScrollArea,
53496
+ g8 as SecretField,
53483
53497
  vo as Select,
53484
53498
  e4 as SelectGroup,
53485
53499
  Mr as SelectItem,
53486
- Y8 as SelectSeparator,
53500
+ X8 as SelectSeparator,
53487
53501
  ay as Separator,
53488
- eq as SequenceDiagram,
53489
- v8 as SettingGroup,
53490
- x8 as SettingRow,
53502
+ tq as SequenceDiagram,
53503
+ y8 as SettingGroup,
53504
+ v8 as SettingRow,
53491
53505
  mG as SimNetworkError,
53492
53506
  uE as Skeleton,
53493
- X7 as SkeletonText,
53507
+ Z7 as SkeletonText,
53494
53508
  Ik as Slider,
53495
- dK as Sparkline,
53509
+ fK as Sparkline,
53496
53510
  us as Spinner,
53497
53511
  O4 as Stat,
53498
- uK as StatRow,
53499
- sK as StatusChecklist,
53512
+ dK as StatRow,
53513
+ iK as StatusChecklist,
53500
53514
  t4 as StatusSelect,
53501
- oK as Stepper,
53515
+ sK as Stepper,
53502
53516
  $U as StreamingMarkdown,
53503
- p7 as SubscriptionRegistry,
53517
+ h7 as SubscriptionRegistry,
53504
53518
  _c as Switch,
53505
- C8 as SwitchField,
53519
+ k8 as SwitchField,
53506
53520
  a4 as Tab,
53507
53521
  i4 as TabList,
53508
- rK as TabPanel,
53522
+ oK as TabPanel,
53509
53523
  AH as TableEmptyState,
53510
53524
  s4 as Tabs,
53511
- J7 as Textarea,
53512
- P8 as ThemeMenu,
53513
- b8 as Timeline,
53514
- M8 as ToastProvider,
53515
- I8 as Toaster,
53525
+ e8 as Textarea,
53526
+ O8 as ThemeMenu,
53527
+ x8 as Timeline,
53528
+ T8 as ToastProvider,
53529
+ M8 as Toaster,
53516
53530
  Nc as Toggle,
53517
53531
  mS as ToggleGroup,
53518
53532
  HU as ToolCall,
53519
- i8 as Toolbar,
53520
- l8 as ToolbarButton,
53521
- u8 as ToolbarGroup,
53522
- c8 as ToolbarInput,
53523
- a8 as ToolbarSeparator,
53533
+ a8 as Toolbar,
53534
+ c8 as ToolbarButton,
53535
+ d8 as ToolbarGroup,
53536
+ u8 as ToolbarInput,
53537
+ l8 as ToolbarSeparator,
53524
53538
  Yt as Tooltip,
53525
- q7 as TooltipProvider,
53526
- GK as TrackManager,
53527
- L8 as Tree,
53528
- N8 as TriStateSwitch,
53539
+ Y7 as TooltipProvider,
53540
+ WK as TrackManager,
53541
+ z8 as Tree,
53542
+ I8 as TriStateSwitch,
53529
53543
  qa as UNKNOWN_STATE,
53530
53544
  Wj as UseCaseCard,
53531
- HK as UseCaseLedgerPage,
53545
+ UK as UseCaseLedgerPage,
53532
53546
  nM as WIDE_RING_THRESHOLD,
53533
- S7 as acquireSlot,
53547
+ C7 as acquireSlot,
53534
53548
  Cr as addDays,
53535
53549
  mo as addDuration,
53536
53550
  Ey as addMonths,
@@ -53538,20 +53552,20 @@ export {
53538
53552
  v4 as advanceBlockReason,
53539
53553
  Ls as alignColumn,
53540
53554
  dI as allDayBandSegment,
53541
- R7 as appendCreated,
53542
- mK as applyBoardMoves,
53555
+ N7 as appendCreated,
53556
+ gK as applyBoardMoves,
53543
53557
  lw as applyCalendarDelta,
53544
53558
  DN as applyMove,
53545
- bq as applyMutationResult,
53559
+ xq as applyMutationResult,
53546
53560
  hd as assertSteps,
53547
- F8 as atMidnight,
53548
- V8 as atTime,
53561
+ V8 as atMidnight,
53562
+ $8 as atTime,
53549
53563
  KH as attachAutoScroll,
53550
53564
  sL as attachInput,
53551
53565
  WH as attachKeyboardSensor,
53552
53566
  HH as attachPointerSensor,
53553
53567
  UH as attachSessionWindowListeners,
53554
- z7 as beginOptimisticWrite,
53568
+ B7 as beginOptimisticWrite,
53555
53569
  Oc as blockAt,
53556
53570
  gU as buildBoardModel,
53557
53571
  Pf as calendarDragResult,
@@ -53560,7 +53574,7 @@ export {
53560
53574
  iw as cellLabel,
53561
53575
  as as cellsOf,
53562
53576
  Kp as centerOn,
53563
- r8 as checkCoverage,
53577
+ o8 as checkCoverage,
53564
53578
  W$ as chordsOf,
53565
53579
  eM as clampScale,
53566
53580
  F5 as clearStored,
@@ -53572,17 +53586,17 @@ export {
53572
53586
  Ac as constructAt,
53573
53587
  kC as convertBlock,
53574
53588
  WM as coreIcons,
53575
- ZK as createSimStore,
53589
+ QK as createSimStore,
53576
53590
  Hl as createdEvent,
53577
53591
  ha as dayFraction,
53578
- PK as dayKey,
53592
+ OK as dayKey,
53579
53593
  Sb as dayLengthMs,
53580
53594
  cB as dayOfWeek,
53581
53595
  ow as daySlots,
53582
53596
  Sy as daysBetween,
53583
53597
  Ys as daysInMonth,
53584
53598
  Ln as defineGrammar,
53585
- tq as defineRecordType,
53599
+ nq as defineRecordType,
53586
53600
  US as deleteColumn,
53587
53601
  HS as deleteRow,
53588
53602
  jS as deleteTable,
@@ -53594,7 +53608,7 @@ export {
53594
53608
  yp as domPointAt,
53595
53609
  QI as edgePath,
53596
53610
  KL as editConstruct,
53597
- y7 as emptySlotSnapshot,
53611
+ w7 as emptySlotSnapshot,
53598
53612
  dB as endOfMonth,
53599
53613
  jc as eventLabel,
53600
53614
  ui as fenceAround,
@@ -53602,40 +53616,40 @@ export {
53602
53616
  tM as fitBox,
53603
53617
  Y9 as fitBoxWithFloor,
53604
53618
  yo as flushRecordNotifications,
53605
- IK as formatBoolean,
53619
+ MK as formatBoolean,
53606
53620
  Ts as formatBytes,
53607
53621
  Y5 as formatCompactNumber,
53608
- H8 as formatCurrency,
53622
+ U8 as formatCurrency,
53609
53623
  pB as formatDate,
53610
53624
  oj as formatDateRange,
53611
- CK as formatDateTime,
53612
- RK as formatNumber,
53625
+ kK as formatDateTime,
53626
+ NK as formatNumber,
53613
53627
  Il as formatTokens,
53614
53628
  eW as frameBoxFor,
53615
- $K as getDataSource,
53629
+ LK as getDataSource,
53616
53630
  Zw as getIcon,
53617
53631
  Vj as getNetworkSpeed,
53618
53632
  Sd as getRecordStoreTenant,
53619
53633
  V$ as graphemeAfter,
53620
53634
  F$ as graphemeBefore,
53621
- K7 as hasIcon,
53635
+ q7 as hasIcon,
53622
53636
  v$ as headingLevel,
53623
53637
  q$ as hotkeyFor,
53624
- EK as hoursInDay,
53638
+ SK as hoursInDay,
53625
53639
  X$ as htmlFragmentToMarkdown,
53626
- W7 as iconNames,
53640
+ K7 as iconNames,
53627
53641
  S$ as indentLines,
53628
53642
  pj as initialFocusDay,
53629
53643
  Ep as insertColumn,
53630
- f8 as insertImage,
53644
+ p8 as insertImage,
53631
53645
  M$ as insertLink,
53632
53646
  wp as insertRow,
53633
53647
  I$ as insertRule,
53634
53648
  P$ as insertTable,
53635
53649
  iI as instantAtFraction,
53636
- wK as instantToPlainDate,
53650
+ EK as instantToPlainDate,
53637
53651
  Vn as instantToPlainDateTime,
53638
- _K as isAllDay,
53652
+ FK as isAllDay,
53639
53653
  Hj as isFullyBuilt,
53640
53654
  hj as isInMonth,
53641
53655
  $p as isNoOp,
@@ -53648,96 +53662,96 @@ export {
53648
53662
  wy as isoDateTimeString,
53649
53663
  J9 as layoutExplorerTree,
53650
53664
  ZI as layoutGraph,
53651
- EW as layoutRing,
53665
+ SW as layoutRing,
53652
53666
  jt as lineAt,
53653
53667
  $$ as lineStartStop,
53654
53668
  EV as listLanguages,
53655
53669
  Uc as longDate,
53656
53670
  fB as monthGridDays,
53657
- OK as monthTitle,
53671
+ AK as monthTitle,
53658
53672
  qn as nearestStop,
53659
53673
  JI as neighbourhood,
53660
53674
  tW as neighbourhoodTree,
53661
53675
  Zs as nextDay,
53662
53676
  uj as nextDayForKey,
53663
53677
  Nd as normalizeScope,
53664
- DW as normalizeTimestamp,
53678
+ _W as normalizeTimestamp,
53665
53679
  gi as normalizeTypeName,
53666
53680
  Hc as offsetAt,
53667
- vq as optimisticWrite,
53681
+ yq as optimisticWrite,
53668
53682
  C$ as outdentLines,
53669
53683
  uI as packBand,
53670
53684
  xj as packLanes,
53671
53685
  ma as paletteFor,
53672
- MK as parseBoolean,
53686
+ TK as parseBoolean,
53673
53687
  o3 as parseCurrency,
53674
53688
  gB as parseDate,
53675
- kK as parseDateTime,
53689
+ RK as parseDateTime,
53676
53690
  zE as parseMarkdown,
53677
- NK as parseNumber,
53691
+ IK as parseNumber,
53678
53692
  jk as parsePlainDate,
53679
- rq as peekRecord,
53693
+ oq as peekRecord,
53680
53694
  Eb as plainDateTimeToInstant,
53681
53695
  Mc as project,
53682
53696
  h$ as projectedText,
53683
- YK as provenanceStateLabel,
53684
- KK as ratedConfidence,
53685
- c7 as readRealtimeEpoch,
53697
+ XK as provenanceStateLabel,
53698
+ qK as ratedConfidence,
53699
+ u7 as readRealtimeEpoch,
53686
53700
  Ic as readSelection,
53687
- D7 as readSlot,
53701
+ _7 as readSlot,
53688
53702
  Vb as readStaleness,
53689
53703
  kd as readState,
53690
53704
  vg as readStored,
53691
53705
  so as recordKey,
53692
- sq as recordStoreStats,
53706
+ iq as recordStoreStats,
53693
53707
  bM as registerActiveRead,
53694
- s8 as registerGrammar,
53708
+ i8 as registerGrammar,
53695
53709
  _U as relativeAge,
53696
- pq as resetActiveReads,
53697
- yq as resetOptimisticWrites,
53698
- lq as resetRealtimeSignals,
53699
- oq as resetRecordStore,
53700
- nq as resetRecordTypes,
53710
+ hq as resetActiveReads,
53711
+ wq as resetOptimisticWrites,
53712
+ cq as resetRealtimeSignals,
53713
+ sq as resetRecordStore,
53714
+ rq as resetRecordTypes,
53701
53715
  Tj as resetSimStores,
53702
- hq as resetSlots,
53716
+ mq as resetSlots,
53703
53717
  Ti as resolveCalendarTarget,
53704
53718
  G$ as resolveKey,
53705
- o8 as resolveLanguage,
53719
+ s8 as resolveLanguage,
53706
53720
  bU as resolveMove,
53707
53721
  Nf as resolveTarget,
53708
53722
  $b as retainKeys,
53709
53723
  Vp as sameTarget,
53710
53724
  kc as sanitizeHref,
53711
53725
  zb as scopeKey,
53712
- WK as scoredConfidence,
53726
+ KK as scoredConfidence,
53713
53727
  Ll as scrollVelocity,
53714
53728
  WL as setFenceLanguage,
53715
53729
  co as setHeading,
53716
- VW as setRecordStoreTenant,
53730
+ $W as setRecordStoreTenant,
53717
53731
  dw as setSimSettings,
53718
53732
  Gl as simulateLatency,
53719
- A7 as slotKeys,
53733
+ D7 as slotKeys,
53720
53734
  A$ as smartEnter,
53721
53735
  KS as smartShiftTab,
53722
53736
  WS as smartTab,
53723
- TK as snapFractionToInstant,
53737
+ PK as snapFractionToInstant,
53724
53738
  yj as snapInstant,
53725
53739
  Qr as sourceOffsetAt,
53726
53740
  ln as startOfDay,
53727
53741
  uB as startOfMonth,
53728
53742
  fa as startOfWeek,
53729
- d8 as stepOffset,
53743
+ f8 as stepOffset,
53730
53744
  x4 as stepStatus,
53731
53745
  _$ as stepStop,
53732
53746
  y4 as stepperProgress,
53733
53747
  Ha as storageKey,
53734
53748
  _b as subscribeToKey,
53735
53749
  Lb as subscribeToRealtimeEpoch,
53736
- u7 as subscribeToRealtimeEvents,
53737
- O7 as subscribeToSlot,
53750
+ d7 as subscribeToRealtimeEvents,
53751
+ A7 as subscribeToSlot,
53738
53752
  fM as subscribeToStaleness,
53739
53753
  pM as subscriptionKey,
53740
- n7 as sweepRecords,
53754
+ r7 as sweepRecords,
53741
53755
  Va as tableAround,
53742
53756
  GS as tableTab,
53743
53757
  E4 as tallyChecklist,
@@ -53763,11 +53777,11 @@ export {
53763
53777
  qL as unwrapConstruct,
53764
53778
  JN as useBoard,
53765
53779
  wj as useCalendarDrag,
53766
- B8 as useCommandPalette,
53780
+ H8 as useCommandPalette,
53767
53781
  U5 as useContrast,
53768
53782
  YH as useCreateDragSession,
53769
53783
  JH as useDragAnnouncements,
53770
- hK as useDragSession,
53784
+ mK as useDragSession,
53771
53785
  gd as useDragState,
53772
53786
  XH as useDraggable,
53773
53787
  ZH as useDropContainer,
@@ -53778,26 +53792,26 @@ export {
53778
53792
  vj as useNow,
53779
53793
  Mk as usePersistedState,
53780
53794
  vd as useRBAC,
53781
- uq as useRealtime,
53782
- fq as useRealtimeEpoch,
53783
- dq as useRealtimeHealth,
53795
+ dq as useRealtime,
53796
+ pq as useRealtimeEpoch,
53797
+ fq as useRealtimeHealth,
53784
53798
  mM as useRealtimeRegistry,
53785
- r7 as useRecord,
53786
- gq as useRecordListRead,
53787
- mq as useRecordRead,
53788
- xq as useRecordStoreSweep,
53789
- iq as useRecords,
53799
+ o7 as useRecord,
53800
+ bq as useRecordListRead,
53801
+ gq as useRecordRead,
53802
+ vq as useRecordStoreSweep,
53803
+ aq as useRecords,
53790
53804
  Fj as useSimSettings,
53791
- aq as useStaleness,
53805
+ lq as useStaleness,
53792
53806
  L5 as useTheme,
53793
- T8 as useToast,
53807
+ P8 as useToast,
53794
53808
  B5 as useUiScale,
53795
- _8 as weekDays,
53809
+ F8 as weekDays,
53796
53810
  Hp as weekdayName,
53797
53811
  kr as write,
53798
- $W as writeAll,
53812
+ LW as writeAll,
53799
53813
  $i as writeSelection,
53800
- C7 as writeSlot,
53814
+ k7 as writeSlot,
53801
53815
  yg as writeStored,
53802
53816
  rj as zoneLabel,
53803
53817
  Hf as zoomAtPoint