@synnaxlabs/x 0.44.2 → 0.44.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/.turbo/turbo-build.log +15 -15
  2. package/dist/bounds-8OC_obRs.js +186 -0
  3. package/dist/bounds-CRK04jp7.cjs +1 -0
  4. package/dist/bounds.cjs +1 -1
  5. package/dist/bounds.js +1 -1
  6. package/dist/deep.cjs +1 -1
  7. package/dist/deep.js +1 -1
  8. package/dist/{external-Birv9jaY.js → external-BM_NS5yM.js} +6 -6
  9. package/dist/external-E3ErJeeM.cjs +1 -0
  10. package/dist/index.cjs +3 -3
  11. package/dist/index.js +235 -229
  12. package/dist/{path-DVFrKaNI.js → path-Blh4wJuA.js} +24 -21
  13. package/dist/path-CPSfCjde.cjs +1 -0
  14. package/dist/{scale-C6qKDbRb.cjs → scale-C3fEtXxW.cjs} +1 -1
  15. package/dist/{scale-EWNUk-bn.js → scale-Db1Gunj0.js} +1 -1
  16. package/dist/scale.cjs +1 -1
  17. package/dist/scale.js +1 -1
  18. package/dist/series-BcF7A8Je.cjs +6 -0
  19. package/dist/{series-EA1uaEDj.js → series-Cl3Vh_u-.js} +588 -471
  20. package/dist/spatial.cjs +1 -1
  21. package/dist/spatial.js +2 -2
  22. package/dist/src/breaker/breaker.d.ts +2 -1
  23. package/dist/src/breaker/breaker.d.ts.map +1 -1
  24. package/dist/src/deep/path.d.ts.map +1 -1
  25. package/dist/src/id/id.d.ts +3 -1
  26. package/dist/src/id/id.d.ts.map +1 -1
  27. package/dist/src/math/math.d.ts +2 -1
  28. package/dist/src/math/math.d.ts.map +1 -1
  29. package/dist/src/status/status.d.ts +1 -0
  30. package/dist/src/status/status.d.ts.map +1 -1
  31. package/dist/src/strings/strings.d.ts +1 -1
  32. package/dist/src/strings/strings.d.ts.map +1 -1
  33. package/dist/src/telem/series.d.ts +7 -0
  34. package/dist/src/telem/series.d.ts.map +1 -1
  35. package/dist/src/telem/telem.d.ts +78 -1
  36. package/dist/src/telem/telem.d.ts.map +1 -1
  37. package/dist/src/zod/util.d.ts.map +1 -1
  38. package/dist/telem.cjs +1 -1
  39. package/dist/telem.js +1 -1
  40. package/dist/zod.cjs +1 -1
  41. package/dist/zod.js +1 -1
  42. package/package.json +3 -3
  43. package/src/breaker/breaker.ts +4 -0
  44. package/src/deep/path.spec.ts +14 -0
  45. package/src/deep/path.ts +9 -2
  46. package/src/id/id.ts +8 -4
  47. package/src/math/math.spec.ts +20 -0
  48. package/src/math/math.ts +32 -29
  49. package/src/spatial/bounds/bounds.ts +1 -1
  50. package/src/status/status.ts +11 -0
  51. package/src/strings/strings.spec.ts +3 -0
  52. package/src/strings/strings.ts +2 -1
  53. package/src/telem/series.spec.ts +543 -2
  54. package/src/telem/series.ts +28 -9
  55. package/src/telem/telem.spec.ts +556 -0
  56. package/src/telem/telem.ts +118 -5
  57. package/src/zod/util.ts +5 -3
  58. package/tsconfig.tsbuildinfo +1 -1
  59. package/dist/bounds-D6e9xoHt.cjs +0 -1
  60. package/dist/bounds-Dj9nG39I.js +0 -174
  61. package/dist/external-DsmsSN1Y.cjs +0 -1
  62. package/dist/path-BeMr8xWN.cjs +0 -1
  63. package/dist/series-CcA_WjbJ.cjs +0 -6
package/dist/index.js CHANGED
@@ -1,63 +1,64 @@
1
- import { array as jr } from "./array.js";
1
+ import { array as $r } from "./array.js";
2
2
  import { J as ge } from "./index-B5l_quQn.js";
3
- import { c as Tr } from "./index-B5l_quQn.js";
3
+ import { c as Er } from "./index-B5l_quQn.js";
4
4
  import h, { z as i } from "zod";
5
- import { a as _, T as U, h as be } from "./series-EA1uaEDj.js";
6
- import { c as Er, D as Or, M as kr, R as Ar, S as Pr, d as Zr, b as Nr, g as Ir, f as Rr, j as Cr, m as Lr, i as qr, e as Wr, t as zr, u as Dr } from "./series-EA1uaEDj.js";
7
- import { a as Br } from "./index-D2xcvEO5.js";
8
- import { c as Hr } from "./change-DLl6DccR.js";
9
- import { c as Jr, s as Gr } from "./scale-EWNUk-bn.js";
10
- import { i as _e, a as ye, b as we, L as Z, G as N, E as ve } from "./index-CBMHFqs4.js";
11
- import { c as Yr, p as Kr } from "./index-CBMHFqs4.js";
12
- import { debounce as en, throttle as tn } from "./debounce.js";
13
- import { deep as nn } from "./deep.js";
14
- import { isObject as on } from "./identity.js";
15
- import { e as cn } from "./external-BYuXBYJh.js";
16
- import { link as un } from "./link.js";
17
- import { s as Se, g as xe, h as je, i as Me, j as Te, k as $e, l as Ee, n as Oe, m as ke, r as Ae, o as Pe } from "./bounds-Dj9nG39I.js";
18
- import { b as dn } from "./bounds-Dj9nG39I.js";
19
- import { observe as pn } from "./observe.js";
20
- import { r as gn } from "./record-CAcQ5PNX.js";
21
- import { e as _n } from "./external-BPgtxa8d.js";
22
- import { b as wn } from "./box-CO_2_DGG.js";
23
- import { d as Sn } from "./dimensions-CRgergMS.js";
24
- import { d as jn } from "./direction-8etxfKaR.js";
25
- import { l as Tn } from "./location-Ar5y2DX2.js";
26
- import { p as En } from "./position-PQ6op54I.js";
27
- import { s as kn } from "./spatial-BSWPzMkK.js";
28
- import { x as Pn } from "./xy-C_-hb3Q2.js";
29
- import { u as Nn } from "./index-D4NCYiQB.js";
30
- import { URL as Rn, buildQueryString as Cn } from "./url.js";
31
- import { RoutedWorker as qn, TypedWorker as Wn, createMockWorkers as zn } from "./worker.js";
32
- import { e as Un } from "./external-Birv9jaY.js";
33
- const Ze = 2, Ne = 3, Ie = 2, Re = (e, t) => {
5
+ import { a as _, T as U, h as be } from "./series-Cl3Vh_u-.js";
6
+ import { c as kr, D as Ar, M as Pr, R as Zr, S as Ir, d as Nr, b as Rr, g as Cr, f as Lr, j as qr, m as Wr, i as zr, e as Dr, t as Ur, u as Br } from "./series-Cl3Vh_u-.js";
7
+ import { a as Fr } from "./index-D2xcvEO5.js";
8
+ import { c as Jr } from "./change-DLl6DccR.js";
9
+ import { c as Qr, s as Yr } from "./scale-Db1Gunj0.js";
10
+ import { i as _e, a as ye, b as we, L as Z, G as I, E as ve } from "./index-CBMHFqs4.js";
11
+ import { c as Xr, p as en } from "./index-CBMHFqs4.js";
12
+ import { debounce as rn, throttle as nn } from "./debounce.js";
13
+ import { deep as on } from "./deep.js";
14
+ import { isObject as cn } from "./identity.js";
15
+ import { e as un } from "./external-BYuXBYJh.js";
16
+ import { link as dn } from "./link.js";
17
+ import { i as Se, j as xe, a as je, k as Me, d as $e, l as Te, n as Ee, o as Oe, p as ke, m as Ae, r as Pe, s as Ze } from "./bounds-8OC_obRs.js";
18
+ import { b as pn } from "./bounds-8OC_obRs.js";
19
+ import { observe as gn } from "./observe.js";
20
+ import { r as _n } from "./record-CAcQ5PNX.js";
21
+ import { e as wn } from "./external-BPgtxa8d.js";
22
+ import { b as Sn } from "./box-CO_2_DGG.js";
23
+ import { d as jn } from "./dimensions-CRgergMS.js";
24
+ import { d as $n } from "./direction-8etxfKaR.js";
25
+ import { l as En } from "./location-Ar5y2DX2.js";
26
+ import { p as kn } from "./position-PQ6op54I.js";
27
+ import { s as Pn } from "./spatial-BSWPzMkK.js";
28
+ import { x as In } from "./xy-C_-hb3Q2.js";
29
+ import { u as Rn } from "./index-D4NCYiQB.js";
30
+ import { URL as Ln, buildQueryString as qn } from "./url.js";
31
+ import { RoutedWorker as zn, TypedWorker as Dn, createMockWorkers as Un } from "./worker.js";
32
+ import { e as Vn } from "./external-BM_NS5yM.js";
33
+ const Ie = 2, Ne = 3, Re = 2, Ce = (e, t) => {
34
34
  if (Number.isNaN(e) || !Number.isFinite(e)) return e;
35
35
  const r = Se(t);
36
36
  if (r == 0) return e;
37
37
  let n;
38
- r >= 1e3 ? n = Ze : r >= 1 ? n = Ne : n = Math.ceil(-Math.log10(r)) + Ie;
38
+ r >= 1e3 ? n = Ie : r >= 1 ? n = Ne : n = Math.ceil(-Math.log10(r)) + Re;
39
39
  const s = 10 ** n;
40
40
  return Math.round(e * s) / s;
41
- }, nr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
+ }, or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42
42
  __proto__: null,
43
43
  abs: xe,
44
44
  add: je,
45
45
  closeTo: Me,
46
- div: Te,
47
- equal: $e,
48
- max: Ee,
49
- min: Oe,
50
- mult: ke,
51
- roundBySpan: Re,
52
- roundToNearestMagnitude: Ae,
53
- sub: Pe
46
+ div: $e,
47
+ equal: Te,
48
+ isInteger: Ee,
49
+ max: Oe,
50
+ min: ke,
51
+ mult: Ae,
52
+ roundBySpan: Ce,
53
+ roundToNearestMagnitude: Pe,
54
+ sub: Ze
54
55
  }, Symbol.toStringTag, { value: "Module" })), B = async (e) => await new Promise(
55
56
  (t) => setTimeout(t, _.fromMilliseconds(e).milliseconds)
56
- ), sr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
57
+ ), ir = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
57
58
  __proto__: null,
58
59
  sleep: B
59
60
  }, Symbol.toStringTag, { value: "Module" }));
60
- class Ce {
61
+ class Le {
61
62
  config;
62
63
  retries;
63
64
  interval;
@@ -73,26 +74,29 @@ class Ce {
73
74
  const { maxRetries: t, scale: r, sleepFn: n } = this.config;
74
75
  return this.retries >= t ? !1 : (await n(this.interval), this.interval = this.interval.mult(r), this.retries++, !0);
75
76
  }
77
+ get retryMessage() {
78
+ return `breaker triggered ${this.retries + 1}/${this.config.maxRetries} times, retrying in ${this.interval.toString()}`;
79
+ }
76
80
  reset() {
77
81
  this.retries = 0, this.interval = this.config.baseInterval;
78
82
  }
79
83
  }
80
- const Le = i.object({
84
+ const qe = i.object({
81
85
  baseInterval: _.z.optional(),
82
86
  maxRetries: i.number().optional(),
83
87
  scale: i.number().optional()
84
- }), or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
88
+ }), ar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
85
89
  __proto__: null,
86
- Breaker: Ce,
87
- breakerConfigZ: Le
88
- }, Symbol.toStringTag, { value: "Module" })), qe = /^#?([0-9a-f]{6}|[0-9a-f]{8})$/i, F = i.string().regex(qe), g = i.number().min(0).max(255), H = i.number().min(0).max(1), O = i.tuple([g, g, g, H]), We = i.tuple([g, g, g]), ze = i.object({ rgba255: O }), De = i.number().min(0).max(360), Ue = i.number().min(0).max(100), Be = i.number().min(0).max(100), V = i.tuple([De, Ue, Be, H]), k = i.union([F, We, O, V, ze]), A = k.transform((e) => d(e)), Fe = (e) => A.safeParse(e).success, He = (e) => O.safeParse(e).success, Ve = (e) => {
90
+ Breaker: Le,
91
+ breakerConfigZ: qe
92
+ }, Symbol.toStringTag, { value: "Module" })), We = /^#?([0-9a-f]{6}|[0-9a-f]{8})$/i, V = i.string().regex(We), g = i.number().min(0).max(255), F = i.number().min(0).max(1), O = i.tuple([g, g, g, F]), ze = i.tuple([g, g, g]), De = i.object({ rgba255: O }), Ue = i.number().min(0).max(360), Be = i.number().min(0).max(100), Ve = i.number().min(0).max(100), H = i.tuple([Ue, Be, Ve, F]), k = i.union([V, ze, O, H, De]), A = k.transform((e) => d(e)), Fe = (e) => A.safeParse(e).success, He = (e) => O.safeParse(e).success, Je = (e) => {
89
93
  if (e == null) return;
90
94
  const t = A.safeParse(e);
91
95
  if (t.success) return G(t.data);
92
96
  if (typeof e == "string") return e;
93
97
  throw t.error;
94
98
  }, d = (e, t = 1) => {
95
- if (e = k.parse(e), typeof e == "string") return st(e, t);
99
+ if (e = k.parse(e), typeof e == "string") return ot(e, t);
96
100
  if (Array.isArray(e)) {
97
101
  if (e.length < 3 || e.length > 4)
98
102
  throw new Error(`Invalid color: [${e.join(", ")}]`);
@@ -103,21 +107,21 @@ const Le = i.object({
103
107
  if (e == null || t == null) return e == t;
104
108
  const r = d(e), n = d(t);
105
109
  return r.every((s, o) => s === n[o]);
106
- }, Je = (e) => {
110
+ }, Ge = (e) => {
107
111
  if (e == null) return;
108
112
  const [t, r, n, s] = d(e);
109
- return `#${$(t)}${$(r)}${$(n)}${s === 1 ? "" : $(s * 255)}`;
113
+ return `#${T(t)}${T(r)}${T(n)}${s === 1 ? "" : T(s * 255)}`;
110
114
  }, G = (e) => {
111
115
  const [t, r, n, s] = d(e);
112
116
  return `rgba(${t}, ${r}, ${n}, ${s})`;
113
- }, Ge = (e) => `rgb(${Q(e)})`, Q = (e) => {
117
+ }, Qe = (e) => `rgb(${Q(e)})`, Q = (e) => {
114
118
  const [t, r, n] = d(e);
115
119
  return `${t}, ${r}, ${n}`;
116
- }, Qe = (e) => [...W(e), S(e)], W = (e) => [
120
+ }, Ye = (e) => [...W(e), S(e)], W = (e) => [
117
121
  y(e) / 255,
118
122
  w(e) / 255,
119
123
  v(e) / 255
120
- ], y = (e) => d(e)[0], w = (e) => d(e)[1], v = (e) => d(e)[2], S = (e) => d(e)[3], Ye = (e) => J(z, e), Ke = (e) => at(d(e)), Xe = (e, t) => {
124
+ ], y = (e) => d(e)[0], w = (e) => d(e)[1], v = (e) => d(e)[2], S = (e) => d(e)[3], Ke = (e) => J(z, e), Xe = (e) => ct(d(e)), et = (e, t) => {
121
125
  const [r, n, s] = d(e);
122
126
  if (t > 100)
123
127
  throw new Error(`Color opacity must be between 0 and 100, got ${t}`);
@@ -127,24 +131,24 @@ const Le = i.object({
127
131
  (s) => s <= 0.03928 ? s / 12.92 : ((s + 0.055) / 1.055) ** 2.4
128
132
  );
129
133
  return Number((0.2126 * t + 0.7152 * r + 0.0722 * n).toFixed(3));
130
- }, et = (e) => {
134
+ }, tt = (e) => {
131
135
  const [t, r, n] = W(e);
132
136
  return 1 - (Math.max(t, r, n) - Math.min(t, r, n));
133
137
  }, R = (e, t) => {
134
138
  const r = d(e), n = d(t), s = x(r), o = x(n);
135
139
  return (Math.max(s, o) + 0.5) / (Math.min(s, o) + 0.5);
136
- }, tt = (e, ...t) => {
140
+ }, rt = (e, ...t) => {
137
141
  if (t.length === 0)
138
142
  throw new Error("[Color.pickByContrast] - must provide at least one color");
139
143
  const r = d(e), [n] = t.sort((s, o) => R(r, o) - R(r, s));
140
144
  return d(n);
141
- }, rt = (e) => x(e) < 0.5, nt = (e) => x(e) > 0.5, st = (e, t = 1) => (e = F.parse(e), e = ot(e), [
145
+ }, nt = (e) => x(e) < 0.5, st = (e) => x(e) > 0.5, ot = (e, t = 1) => (e = V.parse(e), e = it(e), [
142
146
  E(e, 0),
143
147
  E(e, 2),
144
148
  E(e, 4),
145
149
  e.length === 8 ? E(e, 6) / 255 : t
146
- ]), z = [0, 0, 0, 0], $ = (e) => Math.floor(e).toString(16).padStart(2, "0"), E = (e, t) => parseInt(e.slice(t, t + 2), 16), ot = (e) => e.startsWith("#") ? e.slice(1) : e, it = (e) => {
147
- e = V.parse(e);
150
+ ]), z = [0, 0, 0, 0], T = (e) => Math.floor(e).toString(16).padStart(2, "0"), E = (e, t) => parseInt(e.slice(t, t + 2), 16), it = (e) => e.startsWith("#") ? e.slice(1) : e, at = (e) => {
151
+ e = H.parse(e);
148
152
  let [t, r, n] = e;
149
153
  const s = e[3];
150
154
  t /= 360, r /= 100, n /= 100;
@@ -153,10 +157,10 @@ const Le = i.object({
153
157
  o = a = f = n;
154
158
  else {
155
159
  const l = n < 0.5 ? n * (1 + r) : n + r - n * r, c = 2 * n - l;
156
- o = I(c, l, t + 1 / 3), a = I(c, l, t), f = I(c, l, t - 1 / 3);
160
+ o = N(c, l, t + 1 / 3), a = N(c, l, t), f = N(c, l, t - 1 / 3);
157
161
  }
158
162
  return [Math.round(o * 255), Math.round(a * 255), Math.round(f * 255), s];
159
- }, I = (e, t, r) => (r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (t - e) * 6 * r : r < 1 / 2 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e), at = (e) => {
163
+ }, N = (e, t, r) => (r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (t - e) * 6 * r : r < 1 / 2 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e), ct = (e) => {
160
164
  e = O.parse(e);
161
165
  let [t, r, n] = e;
162
166
  const s = e[3];
@@ -170,12 +174,12 @@ const Le = i.object({
170
174
  l = c > 0.5 ? u / (2 - o - a) : u / (o + a), o === t ? f = (r - n) / u + (r < n ? 6 : 0) : o === r ? f = (n - t) / u + 2 : f = (t - r) / u + 4, f /= 6;
171
175
  }
172
176
  return f *= 360, l *= 100, c *= 100, [Math.round(f), Math.round(l), Math.round(c), s];
173
- }, ct = d("#000000"), lt = d("#ffffff"), Y = i.object({
177
+ }, lt = d("#000000"), ut = d("#ffffff"), Y = i.object({
174
178
  key: i.string(),
175
179
  color: k,
176
180
  position: i.number(),
177
181
  switched: i.boolean().optional()
178
- }), ut = i.array(Y), ft = (e, t) => {
182
+ }), ft = i.array(Y), dt = (e, t) => {
179
183
  if (e.length === 0) return z;
180
184
  if (e = e.slice().sort((r, n) => r.position - n.position), t <= e[0].position) return d(e[0].color);
181
185
  if (t >= e[e.length - 1].position)
@@ -195,18 +199,18 @@ const Le = i.object({
195
199
  return d([l, c, u, p]);
196
200
  }
197
201
  return d(e[e.length - 1].color);
198
- }, dt = i.object({
202
+ }, ht = i.object({
199
203
  key: i.string(),
200
204
  name: i.string(),
201
205
  color: A
202
- }), ht = i.object({
206
+ }), pt = i.object({
203
207
  key: i.string(),
204
208
  name: i.string(),
205
- swatches: i.array(dt)
206
- }), ir = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
209
+ swatches: i.array(ht)
210
+ }), cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
207
211
  __proto__: null,
208
- BLACK: ct,
209
- WHITE: lt,
212
+ BLACK: lt,
213
+ WHITE: ut,
210
214
  ZERO: z,
211
215
  aValue: S,
212
216
  bValue: v,
@@ -214,31 +218,31 @@ const Le = i.object({
214
218
  construct: d,
215
219
  contrast: R,
216
220
  crudeZ: k,
217
- cssString: Ve,
221
+ cssString: Je,
218
222
  equals: J,
219
- fromGradient: ft,
220
- fromHSLA: it,
223
+ fromGradient: dt,
224
+ fromHSLA: at,
221
225
  gValue: w,
222
- gradientZ: ut,
223
- grayness: et,
224
- hex: Je,
225
- hsla: Ke,
226
+ gradientZ: ft,
227
+ grayness: tt,
228
+ hex: Ge,
229
+ hsla: Xe,
226
230
  isColor: He,
227
231
  isCrude: Fe,
228
- isDark: rt,
229
- isLight: nt,
230
- isZero: Ye,
232
+ isDark: nt,
233
+ isLight: st,
234
+ isZero: Ke,
231
235
  luminance: x,
232
- paletteZ: ht,
233
- pickByContrast: tt,
236
+ paletteZ: pt,
237
+ pickByContrast: rt,
234
238
  rValue: y,
235
- rgbCSS: Ge,
239
+ rgbCSS: Qe,
236
240
  rgbString: Q,
237
- rgba1: Qe,
241
+ rgba1: Ye,
238
242
  rgbaCSS: G,
239
- setAlpha: Xe,
243
+ setAlpha: et,
240
244
  stopZ: Y
241
- }, Symbol.toStringTag, { value: "Module" })), K = i.int().min(0).max(255), X = 255, ee = 0, pt = {
245
+ }, Symbol.toStringTag, { value: "Module" })), K = i.int().min(0).max(255), X = 255, ee = 0, mt = {
242
246
  lower: ee,
243
247
  upper: X + 1
244
248
  }, te = i.object({
@@ -248,7 +252,7 @@ const Le = i.object({
248
252
  subject: te,
249
253
  resource: e,
250
254
  authority: K
251
- }), mt = (...e) => (t) => t.filter((r) => {
255
+ }), gt = (...e) => (t) => t.filter((r) => {
252
256
  let n = !1;
253
257
  return r.to != null && (n = e.includes(r.to.resource)), r.from != null && !n && (n = e.includes(r.from.resource)), n;
254
258
  }), re = (e) => i.object({
@@ -257,38 +261,38 @@ const Le = i.object({
257
261
  }), ne = (e) => i.object({
258
262
  from: i.null(),
259
263
  to: j(e)
260
- }), gt = (e) => i.union([
264
+ }), bt = (e) => i.union([
261
265
  re(e),
262
266
  ne(e),
263
267
  i.object({
264
268
  from: j(e),
265
269
  to: j(e)
266
270
  })
267
- ]), ar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
271
+ ]), lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
268
272
  __proto__: null,
269
273
  ABSOLUTE_AUTHORITY: X,
270
- AUTHORITY_BOUNDS: pt,
274
+ AUTHORITY_BOUNDS: mt,
271
275
  ZERO_AUTHORITY: ee,
272
276
  acquireZ: ne,
273
277
  authorityZ: K,
274
- filterTransfersByChannelKey: mt,
278
+ filterTransfersByChannelKey: gt,
275
279
  releaseZ: re,
276
280
  stateZ: j,
277
281
  subjectZ: te,
278
- transferZ: gt
279
- }, Symbol.toStringTag, { value: "Module" })), bt = (e) => Object.getOwnPropertySymbols(globalThis).includes(e), _t = (e, t) => {
282
+ transferZ: bt
283
+ }, Symbol.toStringTag, { value: "Module" })), _t = (e) => Object.getOwnPropertySymbols(globalThis).includes(e), yt = (e, t) => {
280
284
  const r = Symbol.for(e);
281
- if (!bt(r)) {
285
+ if (!_t(r)) {
282
286
  const n = t();
283
287
  Object.defineProperty(globalThis, r, { value: n });
284
288
  }
285
289
  return () => globalThis[r];
286
- }, se = "sy_x_error", yt = (e) => (t) => t != null && typeof t == "object" && "type" in t && typeof t.type == "string" ? t.type.startsWith(e) : t instanceof Error ? t.message.startsWith(e) : typeof t != "string" ? !1 : t.startsWith(e), M = (e) => class b extends Error {
290
+ }, se = "sy_x_error", wt = (e) => (t) => t != null && typeof t == "object" && "type" in t && typeof t.type == "string" ? t.type.startsWith(e) : t instanceof Error ? t.message.startsWith(e) : typeof t != "string" ? !1 : t.startsWith(e), M = (e) => class b extends Error {
287
291
  static discriminator = se;
288
292
  discriminator = b.discriminator;
289
293
  static TYPE = e;
290
294
  type = b.TYPE;
291
- static matches = yt(e);
295
+ static matches = wt(e);
292
296
  matches = b.matches;
293
297
  constructor(r, n) {
294
298
  super(r, n), this.name = b.TYPE;
@@ -306,7 +310,7 @@ const Le = i.object({
306
310
  );
307
311
  return !0;
308
312
  }, m = "unknown", C = "nil";
309
- class wt {
313
+ class vt {
310
314
  providers = [];
311
315
  register(t) {
312
316
  this.providers.push(t);
@@ -336,28 +340,28 @@ class wt {
336
340
  return new L(t.data);
337
341
  }
338
342
  }
339
- const D = _t("synnax-error-registry", () => new wt()), vt = ({ encode: e, decode: t }) => D().register({ encode: e, decode: t }), St = (e) => D().encode(e), xt = (e) => e == null ? null : D().decode(e);
343
+ const D = yt("synnax-error-registry", () => new vt()), St = ({ encode: e, decode: t }) => D().register({ encode: e, decode: t }), xt = (e) => D().encode(e), jt = (e) => e == null ? null : D().decode(e);
340
344
  class L extends M("unknown") {
341
345
  }
342
- const jt = i.object({ type: i.string(), data: i.string() });
343
- class Mt extends M("canceled") {
346
+ const Mt = i.object({ type: i.string(), data: i.string() });
347
+ class $t extends M("canceled") {
344
348
  }
345
349
  class Tt extends M("not_implemented") {
346
350
  }
347
- const cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
351
+ const ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
348
352
  __proto__: null,
349
- Canceled: Mt,
353
+ Canceled: $t,
350
354
  NONE: C,
351
355
  NotImplemented: Tt,
352
356
  UNKNOWN: m,
353
357
  Unknown: L,
354
358
  createTyped: M,
355
- decode: xt,
356
- encode: St,
359
+ decode: jt,
360
+ encode: xt,
357
361
  isTyped: oe,
358
- payloadZ: jt,
359
- register: vt
360
- }, Symbol.toStringTag, { value: "Module" })), lr = () => Promise.resolve(), ur = () => new Promise((e) => setTimeout(e, 0)), fr = (e) => e ? -1 : 1, ie = h.object({
362
+ payloadZ: Mt,
363
+ register: St
364
+ }, Symbol.toStringTag, { value: "Module" })), fr = () => Promise.resolve(), dr = () => new Promise((e) => setTimeout(e, 0)), hr = (e) => e ? -1 : 1, ie = h.object({
361
365
  jsonrpc: h.literal("2.0"),
362
366
  method: h.string(),
363
367
  // params should be z.union([z.record(z.string(), z.json()),
@@ -368,9 +372,9 @@ const cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
368
372
  }), ae = h.object({
369
373
  jsonrpc: h.literal("2.0"),
370
374
  id: h.union([h.string(), h.number(), h.null()])
371
- }), $t = ae.extend({
372
- result: h.json()
373
375
  }), Et = ae.extend({
376
+ result: h.json()
377
+ }), Ot = ae.extend({
374
378
  error: h.object({
375
379
  code: h.number().int(),
376
380
  // This should be z.string(), but the VSCode JSON RPC implementation uses a looser
@@ -378,7 +382,7 @@ const cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
378
382
  message: h.string().optional(),
379
383
  data: h.json().optional()
380
384
  })
381
- }), ce = h.union([$t, Et]), le = h.union([ie, ce]), Ot = (e) => {
385
+ }), ce = h.union([Et, Ot]), le = h.union([ie, ce]), kt = (e) => {
382
386
  const t = new TextDecoder();
383
387
  let r = new Uint8Array(0), n = null;
384
388
  return (s) => {
@@ -401,41 +405,41 @@ const cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
401
405
  } else break;
402
406
  }
403
407
  };
404
- }, kt = (e) => {
408
+ }, At = (e) => {
405
409
  const t = JSON.stringify(e);
406
410
  return `Content-Length: ${new TextEncoder().encode(t).length}\r
407
411
  \r
408
412
  ` + t;
409
- }, dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
413
+ }, pr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
410
414
  __proto__: null,
411
- encodeMessage: kt,
415
+ encodeMessage: At,
412
416
  messageZ: le,
413
417
  requestZ: ie,
414
418
  responseZ: ce,
415
- streamDecodeChunks: Ot
416
- }, Symbol.toStringTag, { value: "Module" })), At = (e, t, r) => {
419
+ streamDecodeChunks: kt
420
+ }, Symbol.toStringTag, { value: "Module" })), Pt = (e, t, r) => {
417
421
  const n = e.get(t);
418
422
  return n === void 0 ? (e.set(t, r), r) : n;
419
- }, hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
423
+ }, mr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
420
424
  __proto__: null,
421
- getOrSetDefault: At
422
- }, Symbol.toStringTag, { value: "Module" })), q = i.string().regex(/^\d+\.\d+\.\d+$/), T = (e, t, r = {}) => {
425
+ getOrSetDefault: Pt
426
+ }, Symbol.toStringTag, { value: "Module" })), q = i.string().regex(/^\d+\.\d+\.\d+$/), $ = (e, t, r = {}) => {
423
427
  r.checkMajor ??= !0, r.checkMinor ??= !0, r.checkPatch ??= !0;
424
428
  const n = q.parse(e), s = q.parse(t), [o, a, f] = n.split(".").map(Number), [l, c, u] = s.split(".").map(Number);
425
429
  if (r.checkMajor) {
426
430
  if (o < l) return Z;
427
- if (o > l) return N;
431
+ if (o > l) return I;
428
432
  }
429
433
  if (r.checkMinor) {
430
434
  if (a < c) return Z;
431
- if (a > c) return N;
435
+ if (a > c) return I;
432
436
  }
433
437
  if (r.checkPatch) {
434
438
  if (f < u) return Z;
435
- if (f > u) return N;
439
+ if (f > u) return I;
436
440
  }
437
441
  return ve;
438
- }, Pt = (e, t, r = {}) => _e(T(e, t, r)), ue = (e, t, r = {}) => ye(T(e, t, r)), Zt = (e, t, r = {}) => we(T(e, t, r)), Nt = ({
442
+ }, Zt = (e, t, r = {}) => _e($(e, t, r)), ue = (e, t, r = {}) => ye($(e, t, r)), It = (e, t, r = {}) => we($(e, t, r)), Nt = ({
439
443
  name: e,
440
444
  migrate: t
441
445
  }) => (r) => {
@@ -445,14 +449,14 @@ const cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
445
449
  } catch (n) {
446
450
  throw console.log(`${e} failed to migrate from ${r.version}`), console.error(n), n;
447
451
  }
448
- }, It = ({
452
+ }, Rt = ({
449
453
  name: e,
450
454
  migrations: t,
451
455
  targetSchema: r,
452
456
  defaultVersion: n,
453
457
  def: s
454
458
  }) => {
455
- const o = Object.keys(t).sort(T).pop();
459
+ const o = Object.keys(t).sort($).pop();
456
460
  if (o == null)
457
461
  return (c) => {
458
462
  if (c.version ??= n, c.version !== s.version)
@@ -497,16 +501,16 @@ const cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
497
501
  return console.log(`${e} failed to parse final result. Exiting with default`), console.error(u), s;
498
502
  }
499
503
  };
500
- }, pr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
504
+ }, gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
501
505
  __proto__: null,
502
- compareSemVer: T,
506
+ compareSemVer: $,
503
507
  createMigration: Nt,
504
- migrator: It,
508
+ migrator: Rt,
505
509
  semVerNewer: ue,
506
- semVerOlder: Zt,
510
+ semVerOlder: It,
507
511
  semVerZ: q,
508
- versionsEqual: Pt
509
- }, Symbol.toStringTag, { value: "Module" })), fe = ["standard", "scientific", "engineering"], Rt = i.enum(fe), Ct = (e, t, r) => {
512
+ versionsEqual: Zt
513
+ }, Symbol.toStringTag, { value: "Module" })), fe = ["standard", "scientific", "engineering"], Ct = i.enum(fe), Lt = (e, t, r) => {
510
514
  if (Number.isNaN(e)) return "NaN";
511
515
  if (e === 1 / 0) return "∞";
512
516
  if (e === -1 / 0) return "-∞";
@@ -515,31 +519,31 @@ const cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
515
519
  return t === 0 ? "0ᴇ0" : `0.${"0".repeat(t)}ᴇ0`;
516
520
  let n;
517
521
  return r === "scientific" ? n = Math.floor(Math.log10(Math.abs(e))) : n = Math.floor(Math.log10(Math.abs(e)) / 3) * 3, `${(e / 10 ** n).toFixed(t)}ᴇ${n}`;
518
- }, mr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
522
+ }, br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
519
523
  __proto__: null,
520
524
  NOTATIONS: fe,
521
- notationZ: Rt,
522
- stringifyNumber: Ct
523
- }, Symbol.toStringTag, { value: "Module" })), gr = (e) => {
525
+ notationZ: Ct,
526
+ stringifyNumber: Lt
527
+ }, Symbol.toStringTag, { value: "Module" })), _r = (e) => {
524
528
  if (e === void 0 || typeof e == "string" || typeof e == "number")
525
529
  return e;
526
530
  if (e.toString === void 0) throw new Error("invalid renderer");
527
531
  return e.toString();
528
- }, br = (e) => Array.isArray(e) ? [...e] : typeof e == "object" && e !== null ? { ...e } : e, de = i.enum([
532
+ }, yr = (e) => Array.isArray(e) ? [...e] : typeof e == "object" && e !== null ? { ...e } : e, de = i.enum([
529
533
  "success",
530
534
  "info",
531
535
  "warning",
532
536
  "error",
533
537
  "loading",
534
538
  "disabled"
535
- ]), Lt = (e) => i.object({
539
+ ]), qt = (e) => i.object({
536
540
  key: i.string(),
537
541
  variant: de,
538
542
  message: i.string(),
539
543
  description: i.string().optional(),
540
544
  time: U.z,
541
545
  details: e ?? i.unknown().optional()
542
- }), qt = (e, t) => {
546
+ }), Wt = (e, t) => {
543
547
  if (!(e instanceof Error)) throw e;
544
548
  return he({
545
549
  variant: "error",
@@ -553,16 +557,18 @@ const cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
553
557
  key: be(),
554
558
  time: U.now(),
555
559
  ...e
556
- }), _r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
560
+ }), zt = (e, t = []) => Array.isArray(t) ? t.includes(e) ? e : void 0 : t === e ? e : void 0, wr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
557
561
  __proto__: null,
558
562
  create: he,
559
- fromException: qt,
560
- statusZ: Lt,
563
+ filterVariant: zt,
564
+ fromException: Wt,
565
+ statusZ: qt,
561
566
  variantZ: de
562
- }, Symbol.toStringTag, { value: "Module" })), Wt = (e, t = "") => {
567
+ }, Symbol.toStringTag, { value: "Module" })), Dt = (e, t = "") => {
568
+ if (typeof e == "string") return e;
563
569
  const r = e.length;
564
570
  return r === 0 ? t : r === 1 ? e[0] : r === 2 ? `${e[0]} and ${e[1]}` : `${e.slice(0, -1).join(", ")}, and ${e[r - 1]}`;
565
- }, zt = (e) => {
571
+ }, Ut = (e) => {
566
572
  const t = e.split(" "), r = /* @__PURE__ */ new Set(), n = t.map((l) => l.charAt(0).toLowerCase()).join("");
567
573
  r.add(n.replace(/-/g, "_")), r.add(n.replace(/(.)(.)/g, "$1_$2").replace(/-/g, "_"));
568
574
  const s = /\d+/g;
@@ -580,13 +586,13 @@ const cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
580
586
  return r.add(a.join("").replace(/-/g, "_")), r.add(a.join("_").replace(/-/g, "_")), Array.from(r).filter(
581
587
  (l) => l.length >= 2 && l.length <= 12 && !/^\d/.test(l)
582
588
  );
583
- }, Dt = (e, t) => e.startsWith(t) ? e.slice(t.length) : e, yr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
589
+ }, Bt = (e, t) => e.startsWith(t) ? e.slice(t.length) : e, vr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
584
590
  __proto__: null,
585
- createShortIdentifiers: zt,
586
- naturalLanguageJoin: Wt,
587
- trimPrefix: Dt
588
- }, Symbol.toStringTag, { value: "Module" })), Ut = new Error("request for lock canceled");
589
- var Bt = function(e, t, r, n) {
591
+ createShortIdentifiers: Ut,
592
+ naturalLanguageJoin: Dt,
593
+ trimPrefix: Bt
594
+ }, Symbol.toStringTag, { value: "Module" })), Vt = new Error("request for lock canceled");
595
+ var Ft = function(e, t, r, n) {
590
596
  function s(o) {
591
597
  return o instanceof r ? o : new r(function(a) {
592
598
  a(o);
@@ -613,8 +619,8 @@ var Bt = function(e, t, r, n) {
613
619
  c((n = n.apply(e, t || [])).next());
614
620
  });
615
621
  };
616
- class Ft {
617
- constructor(t, r = Ut) {
622
+ class Ht {
623
+ constructor(t, r = Vt) {
618
624
  this._value = t, this._cancelError = r, this._queue = [], this._weightedWaiters = [];
619
625
  }
620
626
  acquire(t = 1, r = 0) {
@@ -626,7 +632,7 @@ class Ft {
626
632
  });
627
633
  }
628
634
  runExclusive(t) {
629
- return Bt(this, arguments, void 0, function* (r, n = 1, s = 0) {
635
+ return Ft(this, arguments, void 0, function* (r, n = 1, s = 0) {
630
636
  const [o, a] = yield this.acquire(n, s);
631
637
  try {
632
638
  return yield r(o);
@@ -639,7 +645,7 @@ class Ft {
639
645
  if (t <= 0)
640
646
  throw new Error(`invalid weight ${t}: must be positive`);
641
647
  return this._couldLockImmediately(t, r) ? Promise.resolve() : new Promise((n) => {
642
- this._weightedWaiters[t - 1] || (this._weightedWaiters[t - 1] = []), Ht(this._weightedWaiters[t - 1], { resolve: n, priority: r });
648
+ this._weightedWaiters[t - 1] || (this._weightedWaiters[t - 1] = []), Jt(this._weightedWaiters[t - 1], { resolve: n, priority: r });
643
649
  });
644
650
  }
645
651
  isLocked() {
@@ -694,7 +700,7 @@ class Ft {
694
700
  return (this._queue.length === 0 || this._queue[0].priority < r) && t <= this._value;
695
701
  }
696
702
  }
697
- function Ht(e, t) {
703
+ function Jt(e, t) {
698
704
  const r = pe(e, (n) => t.priority <= n.priority);
699
705
  e.splice(r + 1, 0, t);
700
706
  }
@@ -704,7 +710,7 @@ function pe(e, t) {
704
710
  return r;
705
711
  return -1;
706
712
  }
707
- var Vt = function(e, t, r, n) {
713
+ var Gt = function(e, t, r, n) {
708
714
  function s(o) {
709
715
  return o instanceof r ? o : new r(function(a) {
710
716
  a(o);
@@ -731,12 +737,12 @@ var Vt = function(e, t, r, n) {
731
737
  c((n = n.apply(e, t || [])).next());
732
738
  });
733
739
  };
734
- class Jt {
740
+ class Qt {
735
741
  constructor(t) {
736
- this._semaphore = new Ft(1, t);
742
+ this._semaphore = new Ht(1, t);
737
743
  }
738
744
  acquire() {
739
- return Vt(this, arguments, void 0, function* (t = 0) {
745
+ return Gt(this, arguments, void 0, function* (t = 0) {
740
746
  const [, r] = yield this._semaphore.acquire(1, t);
741
747
  return r;
742
748
  });
@@ -757,91 +763,91 @@ class Jt {
757
763
  return this._semaphore.cancel();
758
764
  }
759
765
  }
760
- class me extends Jt {
766
+ class me extends Qt {
761
767
  constructor(t) {
762
768
  super(), Object.assign(this, t);
763
769
  }
764
770
  }
765
- const Gt = (e) => new me(e), wr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
771
+ const Yt = (e) => new me(e), Sr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
766
772
  __proto__: null,
767
773
  mutex: me,
768
- newMutex: Gt
769
- }, Symbol.toStringTag, { value: "Module" })), Qt = (e) => JSON.stringify(e, (t, r) => typeof r == "bigint" ? r.toString() : r), Yt = async (e, t = 200, r = 20) => {
774
+ newMutex: Yt
775
+ }, Symbol.toStringTag, { value: "Module" })), Kt = (e) => JSON.stringify(e, (t, r) => typeof r == "bigint" ? r.toString() : r), Xt = async (e, t = 200, r = 20) => {
770
776
  const n = Date.now();
771
777
  for (; Date.now() - n < t; )
772
778
  await e(), await new Promise((s) => setTimeout(s, r));
773
- }, vr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
779
+ }, xr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
774
780
  __proto__: null,
775
- expectAlways: Yt,
776
- toString: Qt
781
+ expectAlways: Xt,
782
+ toString: Kt
777
783
  }, Symbol.toStringTag, { value: "Module" }));
778
784
  export {
779
- Er as DataType,
780
- Or as Density,
781
- kr as MultiSeries,
782
- Ar as Rate,
783
- qn as RoutedWorker,
784
- Pr as Series,
785
- Zr as Size,
786
- Nr as TimeRange,
785
+ kr as DataType,
786
+ Ar as Density,
787
+ Pr as MultiSeries,
788
+ Zr as Rate,
789
+ zn as RoutedWorker,
790
+ Ir as Series,
791
+ Nr as Size,
792
+ Rr as TimeRange,
787
793
  _ as TimeSpan,
788
794
  U as TimeStamp,
789
- Wn as TypedWorker,
790
- Rn as URL,
791
- Ir as addSamples,
792
- jr as array,
793
- Tr as binary,
794
- dn as bounds,
795
- wn as box,
796
- or as breaker,
797
- Cn as buildQueryString,
798
- Br as caseconv,
799
- Hr as change,
800
- Jr as clamp,
801
- ir as color,
802
- Yr as compare,
803
- ar as control,
804
- Rr as convertDataType,
805
- gr as convertRenderV,
806
- zn as createMockWorkers,
807
- en as debounce,
808
- nn as deep,
809
- Sn as dimensions,
810
- jn as direction,
811
- cr as errors,
812
- lr as flushMicrotasks,
813
- ur as flushTaskQueue,
814
- Cr as id,
815
- Lr as instance,
816
- fr as invert,
817
- qr as isCrudeSeries,
818
- on as isObject,
819
- Wr as isTelemValue,
820
- dr as jsonRPC,
821
- cn as kv,
822
- un as link,
823
- Tn as location,
824
- hr as map,
825
- nr as math,
826
- pr as migrate,
827
- mr as notation,
828
- pn as observe,
829
- En as position,
830
- Kr as primitive,
831
- gn as record,
832
- _n as runtime,
833
- Gr as scale,
834
- br as shallowCopy,
835
- sr as sleep,
836
- kn as spatial,
837
- _r as status,
838
- yr as strings,
839
- wr as sync,
840
- vr as testutil,
841
- tn as throttle,
842
- zr as typedArrayZ,
843
- Nn as unique,
844
- Dr as uuid,
845
- Pn as xy,
846
- Un as zod
795
+ Dn as TypedWorker,
796
+ Ln as URL,
797
+ Cr as addSamples,
798
+ $r as array,
799
+ Er as binary,
800
+ pn as bounds,
801
+ Sn as box,
802
+ ar as breaker,
803
+ qn as buildQueryString,
804
+ Fr as caseconv,
805
+ Jr as change,
806
+ Qr as clamp,
807
+ cr as color,
808
+ Xr as compare,
809
+ lr as control,
810
+ Lr as convertDataType,
811
+ _r as convertRenderV,
812
+ Un as createMockWorkers,
813
+ rn as debounce,
814
+ on as deep,
815
+ jn as dimensions,
816
+ $n as direction,
817
+ ur as errors,
818
+ fr as flushMicrotasks,
819
+ dr as flushTaskQueue,
820
+ qr as id,
821
+ Wr as instance,
822
+ hr as invert,
823
+ zr as isCrudeSeries,
824
+ cn as isObject,
825
+ Dr as isTelemValue,
826
+ pr as jsonRPC,
827
+ un as kv,
828
+ dn as link,
829
+ En as location,
830
+ mr as map,
831
+ or as math,
832
+ gr as migrate,
833
+ br as notation,
834
+ gn as observe,
835
+ kn as position,
836
+ en as primitive,
837
+ _n as record,
838
+ wn as runtime,
839
+ Yr as scale,
840
+ yr as shallowCopy,
841
+ ir as sleep,
842
+ Pn as spatial,
843
+ wr as status,
844
+ vr as strings,
845
+ Sr as sync,
846
+ xr as testutil,
847
+ nn as throttle,
848
+ Ur as typedArrayZ,
849
+ Rn as unique,
850
+ Br as uuid,
851
+ In as xy,
852
+ Vn as zod
847
853
  };