@oomol-lab/open-flow 0.1.0-alpha.5 → 0.1.0-alpha.7

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 (40) hide show
  1. package/dist/browser/{addNodeOptions-B6tOfd2Y.js → addNodeOptions-DRndy4EK.js} +2237 -2599
  2. package/dist/browser/{createLucideIcon-BlEx4FzJ.js → createLucideIcon-CqjqCezK.js} +835 -869
  3. package/dist/browser/{createResourceDialog-CrBp3E8P.js → createResourceDialog-A64dDFCG.js} +140 -140
  4. package/dist/browser/{esm-CoE5_2w7.js → esm-YIGXG-Js.js} +1 -11
  5. package/dist/browser/{field-Daq9Lk-Y.js → field-CKGQHCIi.js} +88 -88
  6. package/dist/browser/{project-authoring-edge.d.ts → flow-authoring-edge.d.ts} +1 -1
  7. package/dist/browser/{project-authoring-module.d.ts → flow-authoring-module.d.ts} +1 -1
  8. package/dist/browser/{project-authoring-node.d.ts → flow-authoring-node.d.ts} +6 -12
  9. package/dist/browser/flow-authoring.d.ts +3 -0
  10. package/dist/browser/{project-authoring.js → flow-authoring.js} +72 -87
  11. package/dist/browser/{project-change.d.ts → flow-change.d.ts} +27 -36
  12. package/dist/browser/{project-change.js → flow-change.js} +69 -97
  13. package/dist/browser/{project-notifications.d.ts → flow-notifications.d.ts} +6 -3
  14. package/dist/browser/{flowWorkspace-CylW6hge.js → flowWorkspace-D7-rBA1-.js} +17147 -12754
  15. package/dist/browser/licenses.md +514 -0
  16. package/dist/browser/workbench-contract.d.ts +4 -4
  17. package/dist/browser/workbench.css +1 -1
  18. package/dist/browser/workbench.d.ts +1 -1
  19. package/dist/browser/workbench.js +969 -1073
  20. package/dist/common/control-api-conformance.js +219 -352
  21. package/dist/common/control-api-errors.d.ts +16 -24
  22. package/dist/common/control-api.d.ts +39 -68
  23. package/dist/common/control-api.js +136 -189
  24. package/dist/common/cron-trigger.d.ts +1 -1
  25. package/dist/common/flow-encoding.d.ts +11 -0
  26. package/dist/common/{project-encoding.js → flow-encoding.js} +14 -13
  27. package/dist/common/{project-notifications.d.ts → flow-notifications.d.ts} +6 -3
  28. package/dist/common/{project-semantics.d.ts → flow-semantics.d.ts} +9 -12
  29. package/dist/common/{project-semantics.js → flow-semantics.js} +591 -592
  30. package/dist/common/integration-trigger.d.ts +1 -1
  31. package/dist/common/poll-trigger.d.ts +1 -1
  32. package/dist/common/runtime-contract.d.ts +1 -1
  33. package/dist/common/scheduler.d.ts +3 -2
  34. package/dist/common/scheduler.js +159 -154
  35. package/dist/common/webhook-trigger.d.ts +1 -1
  36. package/dist/common/webhook-trigger.js +1 -1
  37. package/package.json +13 -13
  38. package/dist/browser/project-authoring-flow.d.ts +0 -4
  39. package/dist/browser/project-authoring.d.ts +0 -4
  40. package/dist/common/project-encoding.d.ts +0 -11
@@ -42,7 +42,7 @@ var C = typeof document < "u" ? h : m, w = (e) => [...e.values()], T = (e) => i(
42
42
  }, [s, c]);
43
43
  let u = k(l, o);
44
44
  return p(u), u;
45
- }, A = (e, t, r) => ee(n, e, t, r), j = (e, t) => A(i(e) ? e : e?.$, w, t), M = /* @__PURE__ */ c(null), N = ({ i18n: e, children: t }) => {
45
+ }, A = (e, t, r) => ee(n, e, t, r), j = (e, t) => A(i(e) ? e : e?.$, w, t), M = /* @__PURE__ */ c(null), te = ({ i18n: e, children: t }) => {
46
46
  let n = k(e.t$), r = f(M)?.t;
47
47
  return l(M.Provider, {
48
48
  value: g(() => ({
@@ -54,11 +54,11 @@ var C = typeof document < "u" ? h : m, w = (e) => [...e.values()], T = (e) => i(
54
54
  }), [n, r]),
55
55
  children: t
56
56
  });
57
- }, P = (e) => {
57
+ }, N = (e) => {
58
58
  let t = f(M);
59
59
  if (!t && !e) throw Error("I18nProvider not found");
60
60
  return t;
61
- }, F = (e) => P(e)?.t, te = (e) => P(e)?.i18n, ne = (e) => k(te(e)?.lang$), re = ({ message: e, children: t }) => {
61
+ }, P = (e) => N(e)?.t, ne = (e) => N(e)?.i18n, re = (e) => k(ne(e)?.lang$), ie = ({ message: e, children: t }) => {
62
62
  if (!e) return null;
63
63
  let n = g(() => {
64
64
  let t = [], n = /{{(\S+?)}}/gi, r, i = 0;
@@ -76,7 +76,7 @@ var C = typeof document < "u" ? h : m, w = (e) => [...e.values()], T = (e) => i(
76
76
  else a[1] = t || `{{${n[1]}}}`;
77
77
  return l(s, null, a);
78
78
  };
79
- function ie(e) {
79
+ function ae(e) {
80
80
  let t = e.trim();
81
81
  if (t.length == 0) return "empty";
82
82
  if (t.length > 80) return "tooLong";
@@ -86,28 +86,23 @@ function ie(e) {
86
86
  }
87
87
  if (!/^[\p{L}\p{N}](?:[\p{L}\p{N} _-]*[\p{L}\p{N}])?$/u.test(t)) return "specialCharacter";
88
88
  }
89
+ function F(e) {
90
+ return Object.fromEntries(e.map((e) => [e.handle, e]));
91
+ }
89
92
  var I = class extends Error {};
90
93
  function L() {
91
94
  throw new I();
92
95
  }
93
- function ae(e, t) {
94
- let n = t.kind == "flow" ? e.flows[t.id] : e.subflows[t.id];
96
+ function oe(e, t) {
97
+ if (t.kind == "flow") return e.graph;
98
+ let n = e.subflows[t.id];
95
99
  return n ?? L(), n.graph;
96
100
  }
97
- function oe(e, t, n) {
98
- if (t.kind == "flow") {
99
- let r = e.flows[t.id];
100
- return r ?? L(), {
101
- ...e,
102
- flows: {
103
- ...e.flows,
104
- [t.id]: {
105
- ...r,
106
- graph: n
107
- }
108
- }
109
- };
110
- }
101
+ function R(e, t, n) {
102
+ if (t.kind == "flow") return {
103
+ ...e,
104
+ graph: n
105
+ };
111
106
  let r = e.subflows[t.id];
112
107
  return r ?? L(), {
113
108
  ...e,
@@ -120,7 +115,7 @@ function oe(e, t, n) {
120
115
  }
121
116
  };
122
117
  }
123
- function R(e, t) {
118
+ function se(e, t) {
124
119
  if (!("inputs" in e)) return e;
125
120
  let n = { ...e.inputs };
126
121
  for (let [e, r] of Object.entries(n)) {
@@ -136,7 +131,7 @@ function R(e, t) {
136
131
  inputs: n
137
132
  };
138
133
  }
139
- function se(e, t) {
134
+ function z(e, t) {
140
135
  let n = { ...e.document }, r = { ...e.modules };
141
136
  for (let e of t) switch (e.kind) {
142
137
  case "binding.create":
@@ -157,31 +152,8 @@ function se(e, t) {
157
152
  delete t[e.bindingId], n.bindings = t;
158
153
  break;
159
154
  }
160
- case "flow.create":
161
- n.flows[e.flowId] != null && L(), n.flows = {
162
- ...n.flows,
163
- [e.flowId]: e.flow
164
- };
165
- break;
166
- case "flow.delete": {
167
- n.flows[e.flowId] ?? L();
168
- let t = { ...n.flows };
169
- delete t[e.flowId], n.flows = t;
170
- break;
171
- }
172
- case "flow.rename": {
173
- let t = n.flows[e.flowId];
174
- t ?? L(), n.flows = {
175
- ...n.flows,
176
- [e.flowId]: {
177
- ...t,
178
- name: e.name
179
- }
180
- };
181
- break;
182
- }
183
155
  case "graph.edge.connect": {
184
- let t = ae(n, e.target);
156
+ let t = oe(n, e.target);
185
157
  t.nodes[e.edge.source] ?? L();
186
158
  let r = t.nodes[e.edge.target];
187
159
  (r == null || !("inputs" in r)) && L();
@@ -201,14 +173,14 @@ function se(e, t) {
201
173
  }
202
174
  }
203
175
  };
204
- Object.assign(n, oe(n, e.target, { nodes: {
176
+ Object.assign(n, R(n, e.target, { nodes: {
205
177
  ...t.nodes,
206
178
  [e.edge.target]: s
207
179
  } }));
208
180
  break;
209
181
  }
210
182
  case "graph.edge.disconnect": {
211
- let t = ae(n, e.target), r = t.nodes[e.edge.target];
183
+ let t = oe(n, e.target), r = t.nodes[e.edge.target];
212
184
  (r == null || !("inputs" in r)) && L();
213
185
  let i = r.inputs[e.edge.targetHandle];
214
186
  i?.kind != "sources" && L();
@@ -218,7 +190,7 @@ function se(e, t) {
218
190
  a.length == 0 ? delete o[e.edge.targetHandle] : o[e.edge.targetHandle] = {
219
191
  kind: "sources",
220
192
  sources: a
221
- }, Object.assign(n, oe(n, e.target, { nodes: {
193
+ }, Object.assign(n, R(n, e.target, { nodes: {
222
194
  ...t.nodes,
223
195
  [e.edge.target]: {
224
196
  ...r,
@@ -228,22 +200,22 @@ function se(e, t) {
228
200
  break;
229
201
  }
230
202
  case "graph.node.create": {
231
- let t = ae(n, e.target);
232
- (t.nodes[e.nodeId] != null || e.target.kind == "subflow" && !("inputs" in e.node)) && L(), Object.assign(n, oe(n, e.target, { nodes: {
203
+ let t = oe(n, e.target);
204
+ (t.nodes[e.nodeId] != null || e.target.kind == "subflow" && !("inputs" in e.node)) && L(), Object.assign(n, R(n, e.target, { nodes: {
233
205
  ...t.nodes,
234
206
  [e.nodeId]: e.node
235
207
  } }));
236
208
  break;
237
209
  }
238
210
  case "graph.node.delete": {
239
- let t = ae(n, e.target);
211
+ let t = oe(n, e.target);
240
212
  t.nodes[e.nodeId] ?? L();
241
- let r = /* @__PURE__ */ new Set([e.nodeId]), i = Object.fromEntries(Object.entries(t.nodes).flatMap(([e, t]) => r.has(e) ? [] : [[e, R(t, r)]]));
242
- if (Object.assign(n, oe(n, e.target, { nodes: i })), e.target.kind == "subflow") {
243
- let t = n.subflows[e.target.id], i = Object.fromEntries(Object.entries(t.outputs).map(([e, t]) => [e, {
244
- ...t,
245
- sources: t.sources.filter((e) => e.kind != "node" || !r.has(e.nodeId))
246
- }]));
213
+ let r = /* @__PURE__ */ new Set([e.nodeId]), i = Object.fromEntries(Object.entries(t.nodes).flatMap(([e, t]) => r.has(e) ? [] : [[e, se(t, r)]]));
214
+ if (Object.assign(n, R(n, e.target, { nodes: i })), e.target.kind == "subflow") {
215
+ let t = n.subflows[e.target.id], i = t.outputs.map((e) => ({
216
+ ...e,
217
+ sources: e.sources.filter((e) => e.kind != "node" || !r.has(e.nodeId))
218
+ }));
247
219
  n.subflows = {
248
220
  ...n.subflows,
249
221
  [e.target.id]: {
@@ -255,8 +227,8 @@ function se(e, t) {
255
227
  break;
256
228
  }
257
229
  case "graph.node.replace": {
258
- let t = ae(n, e.target);
259
- (t.nodes[e.nodeId] == null || e.target.kind == "subflow" && !("inputs" in e.node)) && L(), Object.assign(n, oe(n, e.target, { nodes: {
230
+ let t = oe(n, e.target);
231
+ (t.nodes[e.nodeId] == null || e.target.kind == "subflow" && !("inputs" in e.node)) && L(), Object.assign(n, R(n, e.target, { nodes: {
260
232
  ...t.nodes,
261
233
  [e.nodeId]: e.node
262
234
  } }));
@@ -333,13 +305,13 @@ function se(e, t) {
333
305
  }
334
306
  //#endregion
335
307
  //#region ../../node_modules/.bun/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
336
- function z() {
308
+ function B() {
337
309
  return typeof window < "u";
338
310
  }
339
- function B(e) {
311
+ function V(e) {
340
312
  return le(e) ? (e.nodeName || "").toLowerCase() : "#document";
341
313
  }
342
- function V(e) {
314
+ function H(e) {
343
315
  var t;
344
316
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
345
317
  }
@@ -347,23 +319,23 @@ function ce(e) {
347
319
  return ((le(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
348
320
  }
349
321
  function le(e) {
350
- return z() ? e instanceof Node || e instanceof V(e).Node : !1;
322
+ return B() ? e instanceof Node || e instanceof H(e).Node : !1;
351
323
  }
352
324
  function ue(e) {
353
- return z() ? e instanceof Element || e instanceof V(e).Element : !1;
325
+ return B() ? e instanceof Element || e instanceof H(e).Element : !1;
354
326
  }
355
- function H(e) {
356
- return z() ? e instanceof HTMLElement || e instanceof V(e).HTMLElement : !1;
327
+ function U(e) {
328
+ return B() ? e instanceof HTMLElement || e instanceof H(e).HTMLElement : !1;
357
329
  }
358
330
  function de(e) {
359
- return !z() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof V(e).ShadowRoot;
331
+ return !B() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof H(e).ShadowRoot;
360
332
  }
361
333
  function fe(e) {
362
334
  let { overflow: t, overflowX: n, overflowY: r, display: i } = Ce(e);
363
335
  return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
364
336
  }
365
337
  function pe(e) {
366
- return /^(table|td|th)$/.test(B(e));
338
+ return /^(table|td|th)$/.test(V(e));
367
339
  }
368
340
  function me(e) {
369
341
  try {
@@ -382,7 +354,7 @@ function ye(e) {
382
354
  }
383
355
  function be(e) {
384
356
  let t = Te(e);
385
- for (; H(t) && !Se(t);) {
357
+ for (; U(t) && !Se(t);) {
386
358
  if (ye(t)) return t;
387
359
  if (me(t)) return null;
388
360
  t = Te(t);
@@ -393,10 +365,10 @@ function xe() {
393
365
  return ve ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), ve;
394
366
  }
395
367
  function Se(e) {
396
- return /^(html|body|#document)$/.test(B(e));
368
+ return /^(html|body|#document)$/.test(V(e));
397
369
  }
398
370
  function Ce(e) {
399
- return V(e).getComputedStyle(e);
371
+ return H(e).getComputedStyle(e);
400
372
  }
401
373
  function we(e) {
402
374
  return ue(e) ? {
@@ -408,17 +380,17 @@ function we(e) {
408
380
  };
409
381
  }
410
382
  function Te(e) {
411
- if (B(e) === "html") return e;
383
+ if (V(e) === "html") return e;
412
384
  let t = e.assignedSlot || e.parentNode || de(e) && e.host || ce(e);
413
385
  return de(t) ? t.host : t;
414
386
  }
415
387
  function Ee(e) {
416
388
  let t = Te(e);
417
- return Se(t) ? (e.ownerDocument || e).body : H(t) && fe(t) ? t : Ee(t);
389
+ return Se(t) ? (e.ownerDocument || e).body : U(t) && fe(t) ? t : Ee(t);
418
390
  }
419
391
  function De(e, t, n) {
420
392
  t === void 0 && (t = []), n === void 0 && (n = !0);
421
- let r = Ee(e), i = r === e.ownerDocument?.body, a = V(r);
393
+ let r = Ee(e), i = r === e.ownerDocument?.body, a = H(r);
422
394
  if (i) {
423
395
  let e = Oe(a);
424
396
  return t.concat(a, a.visualViewport || [], fe(r) ? r : [], e && n ? De(e) : []);
@@ -438,7 +410,7 @@ function Ae(e, t) {
438
410
  //#endregion
439
411
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useStableCallback.js
440
412
  var je = a[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0, -3)], Me = je && je !== a.useLayoutEffect ? je : (e) => e();
441
- function U(e) {
413
+ function W(e) {
442
414
  let t = Ae(Ne).current;
443
415
  return t.next = e, Me(t.effect), t.trampoline;
444
416
  }
@@ -468,7 +440,7 @@ function Ie(...e) {
468
440
  }
469
441
  //#endregion
470
442
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/safeReact.js
471
- var Le = { ...a }, W = typeof document < "u" ? a.useLayoutEffect : () => {};
443
+ var Le = { ...a }, G = typeof document < "u" ? a.useLayoutEffect : () => {};
472
444
  //#endregion
473
445
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/mergeObjects.js
474
446
  function Re(e, t) {
@@ -621,7 +593,7 @@ function at(e = {}) {
621
593
  u.disabled,
622
594
  l
623
595
  ]);
624
- return W(d, [d]), {
596
+ return G(d, [d]), {
625
597
  getButtonProps: a.useCallback((e = {}) => {
626
598
  let { onClick: n, onMouseDown: r, onKeyUp: a, onKeyDown: o, onPointerDown: s, ...c } = e;
627
599
  return Be({
@@ -669,13 +641,13 @@ function at(e = {}) {
669
641
  l,
670
642
  i
671
643
  ]),
672
- buttonRef: U((e) => {
644
+ buttonRef: W((e) => {
673
645
  s.current = e, d();
674
646
  })
675
647
  };
676
648
  }
677
649
  function ot(e) {
678
- return H(e) && e.tagName === "BUTTON";
650
+ return U(e) && e.tagName === "BUTTON";
679
651
  }
680
652
  function st(e) {
681
653
  return !!(e?.tagName === "A" && e?.href);
@@ -768,7 +740,7 @@ function vt(...e) {
768
740
  }
769
741
  //#endregion
770
742
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/empty.js
771
- function G() {}
743
+ function K() {}
772
744
  var yt = Object.freeze([]), bt = Object.freeze({});
773
745
  //#endregion
774
746
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/getStateAttributesProps.js
@@ -1132,17 +1104,17 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1132
1104
  return i(e, a), a;
1133
1105
  };
1134
1106
  return a = o, (...e) => a(hn(...e));
1135
- }, vn = [], K = (e) => {
1107
+ }, vn = [], q = (e) => {
1136
1108
  let t = (t) => t[e] || vn;
1137
1109
  return t.isThemeGetter = !0, t;
1138
- }, yn = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, bn = /^\((?:(\w[\w-]*):)?(.+)\)$/i, xn = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Sn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Cn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, wn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Tn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, En = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Dn = (e) => xn.test(e), q = (e) => !!e && !Number.isNaN(Number(e)), On = (e) => !!e && Number.isInteger(Number(e)), kn = (e) => e.endsWith("%") && q(e.slice(0, -1)), An = (e) => Sn.test(e), jn = () => !0, Mn = (e) => Cn.test(e) && !wn.test(e), Nn = () => !1, Pn = (e) => Tn.test(e), Fn = (e) => En.test(e), In = (e) => !J(e) && !Y(e), Ln = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Rn = (e) => $n(e, rr, Nn), J = (e) => yn.test(e), zn = (e) => $n(e, ir, Mn), Bn = (e) => $n(e, ar, q), Vn = (e) => $n(e, sr, jn), Hn = (e) => $n(e, or, Nn), Un = (e) => $n(e, tr, Nn), Wn = (e) => $n(e, nr, Fn), Gn = (e) => $n(e, cr, Pn), Y = (e) => bn.test(e), Kn = (e) => er(e, ir), qn = (e) => er(e, or), Jn = (e) => er(e, tr), Yn = (e) => er(e, rr), Xn = (e) => er(e, nr), Zn = (e) => er(e, cr, !0), Qn = (e) => er(e, sr, !0), $n = (e, t, n) => {
1110
+ }, yn = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, bn = /^\((?:(\w[\w-]*):)?(.+)\)$/i, xn = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Sn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Cn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, wn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Tn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, En = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Dn = (e) => xn.test(e), J = (e) => !!e && !Number.isNaN(Number(e)), On = (e) => !!e && Number.isInteger(Number(e)), kn = (e) => e.endsWith("%") && J(e.slice(0, -1)), An = (e) => Sn.test(e), jn = () => !0, Mn = (e) => Cn.test(e) && !wn.test(e), Nn = () => !1, Pn = (e) => Tn.test(e), Fn = (e) => En.test(e), In = (e) => !Y(e) && !X(e), Ln = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Rn = (e) => $n(e, rr, Nn), Y = (e) => yn.test(e), zn = (e) => $n(e, ir, Mn), Bn = (e) => $n(e, ar, J), Vn = (e) => $n(e, sr, jn), Hn = (e) => $n(e, or, Nn), Un = (e) => $n(e, tr, Nn), Wn = (e) => $n(e, nr, Fn), Gn = (e) => $n(e, cr, Pn), X = (e) => bn.test(e), Kn = (e) => er(e, ir), qn = (e) => er(e, or), Jn = (e) => er(e, tr), Yn = (e) => er(e, rr), Xn = (e) => er(e, nr), Zn = (e) => er(e, cr, !0), Qn = (e) => er(e, sr, !0), $n = (e, t, n) => {
1139
1111
  let r = yn.exec(e);
1140
1112
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
1141
1113
  }, er = (e, t, n = !1) => {
1142
1114
  let r = bn.exec(e);
1143
1115
  return r ? r[1] ? t(r[1]) : n : !1;
1144
1116
  }, tr = (e) => e === "position" || e === "percentage", nr = (e) => e === "image" || e === "url", rr = (e) => e === "length" || e === "size" || e === "bg-size", ir = (e) => e === "length", ar = (e) => e === "number", or = (e) => e === "family-name", sr = (e) => e === "number" || e === "weight", cr = (e) => e === "shadow", lr = /*#__PURE__*/ _n(() => {
1145
- let e = K("color"), t = K("font"), n = K("text"), r = K("font-weight"), i = K("tracking"), a = K("leading"), o = K("breakpoint"), s = K("container"), c = K("spacing"), l = K("radius"), u = K("shadow"), d = K("inset-shadow"), f = K("text-shadow"), p = K("drop-shadow"), m = K("blur"), h = K("perspective"), g = K("aspect"), _ = K("ease"), v = K("animate"), y = () => [
1117
+ let e = q("color"), t = q("font"), n = q("text"), r = q("font-weight"), i = q("tracking"), a = q("leading"), o = q("breakpoint"), s = q("container"), c = q("spacing"), l = q("radius"), u = q("shadow"), d = q("inset-shadow"), f = q("text-shadow"), p = q("drop-shadow"), m = q("blur"), h = q("perspective"), g = q("aspect"), _ = q("ease"), v = q("animate"), y = () => [
1146
1118
  "auto",
1147
1119
  "avoid",
1148
1120
  "all",
@@ -1167,8 +1139,8 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1167
1139
  "left-bottom"
1168
1140
  ], x = () => [
1169
1141
  ...b(),
1170
- Y,
1171
- J
1142
+ X,
1143
+ Y
1172
1144
  ], S = () => [
1173
1145
  "auto",
1174
1146
  "hidden",
@@ -1180,8 +1152,8 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1180
1152
  "contain",
1181
1153
  "none"
1182
1154
  ], w = () => [
1155
+ X,
1183
1156
  Y,
1184
- J,
1185
1157
  c
1186
1158
  ], T = () => [
1187
1159
  Dn,
@@ -1192,31 +1164,31 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1192
1164
  On,
1193
1165
  "none",
1194
1166
  "subgrid",
1195
- Y,
1196
- J
1167
+ X,
1168
+ Y
1197
1169
  ], D = () => [
1198
1170
  "auto",
1199
1171
  { span: [
1200
1172
  "full",
1201
1173
  On,
1202
- Y,
1203
- J
1174
+ X,
1175
+ Y
1204
1176
  ] },
1205
1177
  On,
1206
- Y,
1207
- J
1178
+ X,
1179
+ Y
1208
1180
  ], O = () => [
1209
1181
  On,
1210
1182
  "auto",
1211
- Y,
1212
- J
1183
+ X,
1184
+ Y
1213
1185
  ], k = () => [
1214
1186
  "auto",
1215
1187
  "min",
1216
1188
  "max",
1217
1189
  "fr",
1218
- Y,
1219
- J
1190
+ X,
1191
+ Y
1220
1192
  ], ee = () => [
1221
1193
  "start",
1222
1194
  "end",
@@ -1249,7 +1221,7 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1249
1221
  "max",
1250
1222
  "fit",
1251
1223
  ...w()
1252
- ], N = () => [
1224
+ ], te = () => [
1253
1225
  Dn,
1254
1226
  "screen",
1255
1227
  "full",
@@ -1260,7 +1232,7 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1260
1232
  "max",
1261
1233
  "fit",
1262
1234
  ...w()
1263
- ], P = () => [
1235
+ ], N = () => [
1264
1236
  Dn,
1265
1237
  "screen",
1266
1238
  "full",
@@ -1272,45 +1244,45 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1272
1244
  "max",
1273
1245
  "fit",
1274
1246
  ...w()
1275
- ], F = () => [
1247
+ ], P = () => [
1276
1248
  e,
1277
- Y,
1278
- J
1279
- ], te = () => [
1249
+ X,
1250
+ Y
1251
+ ], ne = () => [
1280
1252
  ...b(),
1281
1253
  Jn,
1282
1254
  Un,
1283
- { position: [Y, J] }
1284
- ], ne = () => ["no-repeat", { repeat: [
1255
+ { position: [X, Y] }
1256
+ ], re = () => ["no-repeat", { repeat: [
1285
1257
  "",
1286
1258
  "x",
1287
1259
  "y",
1288
1260
  "space",
1289
1261
  "round"
1290
- ] }], re = () => [
1262
+ ] }], ie = () => [
1291
1263
  "auto",
1292
1264
  "cover",
1293
1265
  "contain",
1294
1266
  Yn,
1295
1267
  Rn,
1296
- { size: [Y, J] }
1297
- ], ie = () => [
1268
+ { size: [X, Y] }
1269
+ ], ae = () => [
1298
1270
  kn,
1299
1271
  Kn,
1300
1272
  zn
1301
- ], I = () => [
1273
+ ], F = () => [
1302
1274
  "",
1303
1275
  "none",
1304
1276
  "full",
1305
1277
  l,
1306
- Y,
1307
- J
1308
- ], L = () => [
1278
+ X,
1279
+ Y
1280
+ ], I = () => [
1309
1281
  "",
1310
- q,
1282
+ J,
1311
1283
  Kn,
1312
1284
  zn
1313
- ], ae = () => [
1285
+ ], L = () => [
1314
1286
  "solid",
1315
1287
  "dashed",
1316
1288
  "dotted",
@@ -1333,7 +1305,7 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1333
1305
  "color",
1334
1306
  "luminosity"
1335
1307
  ], R = () => [
1336
- q,
1308
+ J,
1337
1309
  kn,
1338
1310
  Jn,
1339
1311
  Un
@@ -1341,23 +1313,23 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1341
1313
  "",
1342
1314
  "none",
1343
1315
  m,
1344
- Y,
1345
- J
1316
+ X,
1317
+ Y
1346
1318
  ], z = () => [
1347
1319
  "none",
1348
- q,
1349
- Y,
1350
- J
1320
+ J,
1321
+ X,
1322
+ Y
1351
1323
  ], B = () => [
1352
1324
  "none",
1353
- q,
1354
- Y,
1355
- J
1325
+ J,
1326
+ X,
1327
+ Y
1356
1328
  ], V = () => [
1357
- q,
1358
- Y,
1359
- J
1360
- ], ce = () => [
1329
+ J,
1330
+ X,
1331
+ Y
1332
+ ], H = () => [
1361
1333
  Dn,
1362
1334
  "full",
1363
1335
  ...w()
@@ -1413,7 +1385,7 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1413
1385
  ],
1414
1386
  radius: [An],
1415
1387
  shadow: [An],
1416
- spacing: ["px", q],
1388
+ spacing: ["px", J],
1417
1389
  text: [An],
1418
1390
  "text-shadow": [An],
1419
1391
  tracking: [
@@ -1430,8 +1402,8 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1430
1402
  "auto",
1431
1403
  "square",
1432
1404
  Dn,
1433
- J,
1434
1405
  Y,
1406
+ X,
1435
1407
  g
1436
1408
  ] }],
1437
1409
  container: ["container"],
@@ -1439,14 +1411,14 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1439
1411
  "",
1440
1412
  "normal",
1441
1413
  "size",
1442
- Y,
1443
- J
1414
+ X,
1415
+ Y
1444
1416
  ] }],
1445
1417
  "container-named": [Ln],
1446
1418
  columns: [{ columns: [
1447
- q,
1448
1419
  J,
1449
1420
  Y,
1421
+ X,
1450
1422
  s
1451
1423
  ] }],
1452
1424
  "break-after": [{ "break-after": y() }],
@@ -1545,8 +1517,8 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1545
1517
  z: [{ z: [
1546
1518
  On,
1547
1519
  "auto",
1548
- Y,
1549
- J
1520
+ X,
1521
+ Y
1550
1522
  ] }],
1551
1523
  basis: [{ basis: [
1552
1524
  Dn,
@@ -1567,32 +1539,32 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1567
1539
  "wrap-reverse"
1568
1540
  ] }],
1569
1541
  flex: [{ flex: [
1570
- q,
1542
+ J,
1571
1543
  Dn,
1572
1544
  "auto",
1573
1545
  "initial",
1574
1546
  "none",
1575
- J
1547
+ Y
1576
1548
  ] }],
1577
1549
  grow: [{ grow: [
1578
1550
  "",
1579
- q,
1580
- Y,
1581
- J
1551
+ J,
1552
+ X,
1553
+ Y
1582
1554
  ] }],
1583
1555
  shrink: [{ shrink: [
1584
1556
  "",
1585
- q,
1586
- Y,
1587
- J
1557
+ J,
1558
+ X,
1559
+ Y
1588
1560
  ] }],
1589
1561
  order: [{ order: [
1590
1562
  On,
1591
1563
  "first",
1592
1564
  "last",
1593
1565
  "none",
1594
- Y,
1595
- J
1566
+ X,
1567
+ Y
1596
1568
  ] }],
1597
1569
  "grid-cols": [{ "grid-cols": E() }],
1598
1570
  "col-start-end": [{ col: D() }],
@@ -1654,12 +1626,12 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1654
1626
  "space-y": [{ "space-y": w() }],
1655
1627
  "space-y-reverse": ["space-y-reverse"],
1656
1628
  size: [{ size: M() }],
1657
- "inline-size": [{ inline: ["auto", ...N()] }],
1658
- "min-inline-size": [{ "min-inline": ["auto", ...N()] }],
1659
- "max-inline-size": [{ "max-inline": ["none", ...N()] }],
1660
- "block-size": [{ block: ["auto", ...P()] }],
1661
- "min-block-size": [{ "min-block": ["auto", ...P()] }],
1662
- "max-block-size": [{ "max-block": ["none", ...P()] }],
1629
+ "inline-size": [{ inline: ["auto", ...te()] }],
1630
+ "min-inline-size": [{ "min-inline": ["auto", ...te()] }],
1631
+ "max-inline-size": [{ "max-inline": ["none", ...te()] }],
1632
+ "block-size": [{ block: ["auto", ...N()] }],
1633
+ "min-block-size": [{ "min-block": ["auto", ...N()] }],
1634
+ "max-block-size": [{ "max-block": ["none", ...N()] }],
1663
1635
  w: [{ w: [
1664
1636
  s,
1665
1637
  "screen",
@@ -1719,14 +1691,14 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1719
1691
  "extra-expanded",
1720
1692
  "ultra-expanded",
1721
1693
  kn,
1722
- J
1694
+ Y
1723
1695
  ] }],
1724
1696
  "font-family": [{ font: [
1725
1697
  qn,
1726
1698
  Hn,
1727
1699
  t
1728
1700
  ] }],
1729
- "font-features": [{ "font-features": [J] }],
1701
+ "font-features": [{ "font-features": [Y] }],
1730
1702
  "fvn-normal": ["normal-nums"],
1731
1703
  "fvn-ordinal": ["ordinal"],
1732
1704
  "fvn-slashed-zero": ["slashed-zero"],
@@ -1735,28 +1707,28 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1735
1707
  "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1736
1708
  tracking: [{ tracking: [
1737
1709
  i,
1738
- Y,
1739
- J
1710
+ X,
1711
+ Y
1740
1712
  ] }],
1741
1713
  "line-clamp": [{ "line-clamp": [
1742
- q,
1714
+ J,
1743
1715
  "none",
1744
- Y,
1716
+ X,
1745
1717
  Bn
1746
1718
  ] }],
1747
1719
  leading: [{ leading: [a, ...w()] }],
1748
1720
  "list-image": [{ "list-image": [
1749
1721
  "none",
1750
- Y,
1751
- J
1722
+ X,
1723
+ Y
1752
1724
  ] }],
1753
1725
  "list-style-position": [{ list: ["inside", "outside"] }],
1754
1726
  "list-style-type": [{ list: [
1755
1727
  "disc",
1756
1728
  "decimal",
1757
1729
  "none",
1758
- Y,
1759
- J
1730
+ X,
1731
+ Y
1760
1732
  ] }],
1761
1733
  "text-alignment": [{ text: [
1762
1734
  "left",
@@ -1766,28 +1738,28 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1766
1738
  "start",
1767
1739
  "end"
1768
1740
  ] }],
1769
- "placeholder-color": [{ placeholder: F() }],
1770
- "text-color": [{ text: F() }],
1741
+ "placeholder-color": [{ placeholder: P() }],
1742
+ "text-color": [{ text: P() }],
1771
1743
  "text-decoration": [
1772
1744
  "underline",
1773
1745
  "overline",
1774
1746
  "line-through",
1775
1747
  "no-underline"
1776
1748
  ],
1777
- "text-decoration-style": [{ decoration: [...ae(), "wavy"] }],
1749
+ "text-decoration-style": [{ decoration: [...L(), "wavy"] }],
1778
1750
  "text-decoration-thickness": [{ decoration: [
1779
- q,
1751
+ J,
1780
1752
  "from-font",
1781
1753
  "auto",
1782
- Y,
1754
+ X,
1783
1755
  zn
1784
1756
  ] }],
1785
- "text-decoration-color": [{ decoration: F() }],
1757
+ "text-decoration-color": [{ decoration: P() }],
1786
1758
  "underline-offset": [{ "underline-offset": [
1787
- q,
1759
+ J,
1788
1760
  "auto",
1789
- Y,
1790
- J
1761
+ X,
1762
+ Y
1791
1763
  ] }],
1792
1764
  "text-transform": [
1793
1765
  "uppercase",
@@ -1809,8 +1781,8 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1809
1781
  indent: [{ indent: w() }],
1810
1782
  "tab-size": [{ tab: [
1811
1783
  On,
1812
- Y,
1813
- J
1784
+ X,
1785
+ Y
1814
1786
  ] }],
1815
1787
  "vertical-align": [{ align: [
1816
1788
  "baseline",
@@ -1821,8 +1793,8 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1821
1793
  "text-bottom",
1822
1794
  "sub",
1823
1795
  "super",
1824
- Y,
1825
- J
1796
+ X,
1797
+ Y
1826
1798
  ] }],
1827
1799
  whitespace: [{ whitespace: [
1828
1800
  "normal",
@@ -1850,8 +1822,8 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1850
1822
  ] }],
1851
1823
  content: [{ content: [
1852
1824
  "none",
1853
- Y,
1854
- J
1825
+ X,
1826
+ Y
1855
1827
  ] }],
1856
1828
  "bg-attachment": [{ bg: [
1857
1829
  "fixed",
@@ -1869,9 +1841,9 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1869
1841
  "padding",
1870
1842
  "content"
1871
1843
  ] }],
1872
- "bg-position": [{ bg: te() }],
1873
- "bg-repeat": [{ bg: ne() }],
1874
- "bg-size": [{ bg: re() }],
1844
+ "bg-position": [{ bg: ne() }],
1845
+ "bg-repeat": [{ bg: re() }],
1846
+ "bg-size": [{ bg: ie() }],
1875
1847
  "bg-image": [{ bg: [
1876
1848
  "none",
1877
1849
  {
@@ -1887,99 +1859,99 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1887
1859
  "tl"
1888
1860
  ] },
1889
1861
  On,
1890
- Y,
1891
- J
1862
+ X,
1863
+ Y
1892
1864
  ],
1893
1865
  radial: [
1894
1866
  "",
1895
- Y,
1896
- J
1867
+ X,
1868
+ Y
1897
1869
  ],
1898
1870
  conic: [
1899
1871
  On,
1900
- Y,
1901
- J
1872
+ X,
1873
+ Y
1902
1874
  ]
1903
1875
  },
1904
1876
  Xn,
1905
1877
  Wn
1906
1878
  ] }],
1907
- "bg-color": [{ bg: F() }],
1908
- "gradient-from-pos": [{ from: ie() }],
1909
- "gradient-via-pos": [{ via: ie() }],
1910
- "gradient-to-pos": [{ to: ie() }],
1911
- "gradient-from": [{ from: F() }],
1912
- "gradient-via": [{ via: F() }],
1913
- "gradient-to": [{ to: F() }],
1914
- rounded: [{ rounded: I() }],
1915
- "rounded-s": [{ "rounded-s": I() }],
1916
- "rounded-e": [{ "rounded-e": I() }],
1917
- "rounded-t": [{ "rounded-t": I() }],
1918
- "rounded-r": [{ "rounded-r": I() }],
1919
- "rounded-b": [{ "rounded-b": I() }],
1920
- "rounded-l": [{ "rounded-l": I() }],
1921
- "rounded-ss": [{ "rounded-ss": I() }],
1922
- "rounded-se": [{ "rounded-se": I() }],
1923
- "rounded-ee": [{ "rounded-ee": I() }],
1924
- "rounded-es": [{ "rounded-es": I() }],
1925
- "rounded-tl": [{ "rounded-tl": I() }],
1926
- "rounded-tr": [{ "rounded-tr": I() }],
1927
- "rounded-br": [{ "rounded-br": I() }],
1928
- "rounded-bl": [{ "rounded-bl": I() }],
1929
- "border-w": [{ border: L() }],
1930
- "border-w-x": [{ "border-x": L() }],
1931
- "border-w-y": [{ "border-y": L() }],
1932
- "border-w-s": [{ "border-s": L() }],
1933
- "border-w-e": [{ "border-e": L() }],
1934
- "border-w-bs": [{ "border-bs": L() }],
1935
- "border-w-be": [{ "border-be": L() }],
1936
- "border-w-t": [{ "border-t": L() }],
1937
- "border-w-r": [{ "border-r": L() }],
1938
- "border-w-b": [{ "border-b": L() }],
1939
- "border-w-l": [{ "border-l": L() }],
1940
- "divide-x": [{ "divide-x": L() }],
1879
+ "bg-color": [{ bg: P() }],
1880
+ "gradient-from-pos": [{ from: ae() }],
1881
+ "gradient-via-pos": [{ via: ae() }],
1882
+ "gradient-to-pos": [{ to: ae() }],
1883
+ "gradient-from": [{ from: P() }],
1884
+ "gradient-via": [{ via: P() }],
1885
+ "gradient-to": [{ to: P() }],
1886
+ rounded: [{ rounded: F() }],
1887
+ "rounded-s": [{ "rounded-s": F() }],
1888
+ "rounded-e": [{ "rounded-e": F() }],
1889
+ "rounded-t": [{ "rounded-t": F() }],
1890
+ "rounded-r": [{ "rounded-r": F() }],
1891
+ "rounded-b": [{ "rounded-b": F() }],
1892
+ "rounded-l": [{ "rounded-l": F() }],
1893
+ "rounded-ss": [{ "rounded-ss": F() }],
1894
+ "rounded-se": [{ "rounded-se": F() }],
1895
+ "rounded-ee": [{ "rounded-ee": F() }],
1896
+ "rounded-es": [{ "rounded-es": F() }],
1897
+ "rounded-tl": [{ "rounded-tl": F() }],
1898
+ "rounded-tr": [{ "rounded-tr": F() }],
1899
+ "rounded-br": [{ "rounded-br": F() }],
1900
+ "rounded-bl": [{ "rounded-bl": F() }],
1901
+ "border-w": [{ border: I() }],
1902
+ "border-w-x": [{ "border-x": I() }],
1903
+ "border-w-y": [{ "border-y": I() }],
1904
+ "border-w-s": [{ "border-s": I() }],
1905
+ "border-w-e": [{ "border-e": I() }],
1906
+ "border-w-bs": [{ "border-bs": I() }],
1907
+ "border-w-be": [{ "border-be": I() }],
1908
+ "border-w-t": [{ "border-t": I() }],
1909
+ "border-w-r": [{ "border-r": I() }],
1910
+ "border-w-b": [{ "border-b": I() }],
1911
+ "border-w-l": [{ "border-l": I() }],
1912
+ "divide-x": [{ "divide-x": I() }],
1941
1913
  "divide-x-reverse": ["divide-x-reverse"],
1942
- "divide-y": [{ "divide-y": L() }],
1914
+ "divide-y": [{ "divide-y": I() }],
1943
1915
  "divide-y-reverse": ["divide-y-reverse"],
1944
1916
  "border-style": [{ border: [
1945
- ...ae(),
1917
+ ...L(),
1946
1918
  "hidden",
1947
1919
  "none"
1948
1920
  ] }],
1949
1921
  "divide-style": [{ divide: [
1950
- ...ae(),
1922
+ ...L(),
1951
1923
  "hidden",
1952
1924
  "none"
1953
1925
  ] }],
1954
- "border-color": [{ border: F() }],
1955
- "border-color-x": [{ "border-x": F() }],
1956
- "border-color-y": [{ "border-y": F() }],
1957
- "border-color-s": [{ "border-s": F() }],
1958
- "border-color-e": [{ "border-e": F() }],
1959
- "border-color-bs": [{ "border-bs": F() }],
1960
- "border-color-be": [{ "border-be": F() }],
1961
- "border-color-t": [{ "border-t": F() }],
1962
- "border-color-r": [{ "border-r": F() }],
1963
- "border-color-b": [{ "border-b": F() }],
1964
- "border-color-l": [{ "border-l": F() }],
1965
- "divide-color": [{ divide: F() }],
1926
+ "border-color": [{ border: P() }],
1927
+ "border-color-x": [{ "border-x": P() }],
1928
+ "border-color-y": [{ "border-y": P() }],
1929
+ "border-color-s": [{ "border-s": P() }],
1930
+ "border-color-e": [{ "border-e": P() }],
1931
+ "border-color-bs": [{ "border-bs": P() }],
1932
+ "border-color-be": [{ "border-be": P() }],
1933
+ "border-color-t": [{ "border-t": P() }],
1934
+ "border-color-r": [{ "border-r": P() }],
1935
+ "border-color-b": [{ "border-b": P() }],
1936
+ "border-color-l": [{ "border-l": P() }],
1937
+ "divide-color": [{ divide: P() }],
1966
1938
  "outline-style": [{ outline: [
1967
- ...ae(),
1939
+ ...L(),
1968
1940
  "none",
1969
1941
  "hidden"
1970
1942
  ] }],
1971
1943
  "outline-offset": [{ "outline-offset": [
1972
- q,
1973
- Y,
1974
- J
1944
+ J,
1945
+ X,
1946
+ Y
1975
1947
  ] }],
1976
1948
  "outline-w": [{ outline: [
1977
1949
  "",
1978
- q,
1950
+ J,
1979
1951
  Kn,
1980
1952
  zn
1981
1953
  ] }],
1982
- "outline-color": [{ outline: F() }],
1954
+ "outline-color": [{ outline: P() }],
1983
1955
  shadow: [{ shadow: [
1984
1956
  "",
1985
1957
  "none",
@@ -1987,32 +1959,32 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
1987
1959
  Zn,
1988
1960
  Gn
1989
1961
  ] }],
1990
- "shadow-color": [{ shadow: F() }],
1962
+ "shadow-color": [{ shadow: P() }],
1991
1963
  "inset-shadow": [{ "inset-shadow": [
1992
1964
  "none",
1993
1965
  d,
1994
1966
  Zn,
1995
1967
  Gn
1996
1968
  ] }],
1997
- "inset-shadow-color": [{ "inset-shadow": F() }],
1998
- "ring-w": [{ ring: L() }],
1969
+ "inset-shadow-color": [{ "inset-shadow": P() }],
1970
+ "ring-w": [{ ring: I() }],
1999
1971
  "ring-w-inset": ["ring-inset"],
2000
- "ring-color": [{ ring: F() }],
2001
- "ring-offset-w": [{ "ring-offset": [q, zn] }],
2002
- "ring-offset-color": [{ "ring-offset": F() }],
2003
- "inset-ring-w": [{ "inset-ring": L() }],
2004
- "inset-ring-color": [{ "inset-ring": F() }],
1972
+ "ring-color": [{ ring: P() }],
1973
+ "ring-offset-w": [{ "ring-offset": [J, zn] }],
1974
+ "ring-offset-color": [{ "ring-offset": P() }],
1975
+ "inset-ring-w": [{ "inset-ring": I() }],
1976
+ "inset-ring-color": [{ "inset-ring": P() }],
2005
1977
  "text-shadow": [{ "text-shadow": [
2006
1978
  "none",
2007
1979
  f,
2008
1980
  Zn,
2009
1981
  Gn
2010
1982
  ] }],
2011
- "text-shadow-color": [{ "text-shadow": F() }],
1983
+ "text-shadow-color": [{ "text-shadow": P() }],
2012
1984
  opacity: [{ opacity: [
2013
- q,
2014
- Y,
2015
- J
1985
+ J,
1986
+ X,
1987
+ Y
2016
1988
  ] }],
2017
1989
  "mix-blend": [{ "mix-blend": [
2018
1990
  ...oe(),
@@ -2034,51 +2006,51 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
2034
2006
  "intersect",
2035
2007
  "exclude"
2036
2008
  ] }],
2037
- "mask-image-linear-pos": [{ "mask-linear": [q] }],
2009
+ "mask-image-linear-pos": [{ "mask-linear": [J] }],
2038
2010
  "mask-image-linear-from-pos": [{ "mask-linear-from": R() }],
2039
2011
  "mask-image-linear-to-pos": [{ "mask-linear-to": R() }],
2040
- "mask-image-linear-from-color": [{ "mask-linear-from": F() }],
2041
- "mask-image-linear-to-color": [{ "mask-linear-to": F() }],
2012
+ "mask-image-linear-from-color": [{ "mask-linear-from": P() }],
2013
+ "mask-image-linear-to-color": [{ "mask-linear-to": P() }],
2042
2014
  "mask-image-t-from-pos": [{ "mask-t-from": R() }],
2043
2015
  "mask-image-t-to-pos": [{ "mask-t-to": R() }],
2044
- "mask-image-t-from-color": [{ "mask-t-from": F() }],
2045
- "mask-image-t-to-color": [{ "mask-t-to": F() }],
2016
+ "mask-image-t-from-color": [{ "mask-t-from": P() }],
2017
+ "mask-image-t-to-color": [{ "mask-t-to": P() }],
2046
2018
  "mask-image-r-from-pos": [{ "mask-r-from": R() }],
2047
2019
  "mask-image-r-to-pos": [{ "mask-r-to": R() }],
2048
- "mask-image-r-from-color": [{ "mask-r-from": F() }],
2049
- "mask-image-r-to-color": [{ "mask-r-to": F() }],
2020
+ "mask-image-r-from-color": [{ "mask-r-from": P() }],
2021
+ "mask-image-r-to-color": [{ "mask-r-to": P() }],
2050
2022
  "mask-image-b-from-pos": [{ "mask-b-from": R() }],
2051
2023
  "mask-image-b-to-pos": [{ "mask-b-to": R() }],
2052
- "mask-image-b-from-color": [{ "mask-b-from": F() }],
2053
- "mask-image-b-to-color": [{ "mask-b-to": F() }],
2024
+ "mask-image-b-from-color": [{ "mask-b-from": P() }],
2025
+ "mask-image-b-to-color": [{ "mask-b-to": P() }],
2054
2026
  "mask-image-l-from-pos": [{ "mask-l-from": R() }],
2055
2027
  "mask-image-l-to-pos": [{ "mask-l-to": R() }],
2056
- "mask-image-l-from-color": [{ "mask-l-from": F() }],
2057
- "mask-image-l-to-color": [{ "mask-l-to": F() }],
2028
+ "mask-image-l-from-color": [{ "mask-l-from": P() }],
2029
+ "mask-image-l-to-color": [{ "mask-l-to": P() }],
2058
2030
  "mask-image-x-from-pos": [{ "mask-x-from": R() }],
2059
2031
  "mask-image-x-to-pos": [{ "mask-x-to": R() }],
2060
- "mask-image-x-from-color": [{ "mask-x-from": F() }],
2061
- "mask-image-x-to-color": [{ "mask-x-to": F() }],
2032
+ "mask-image-x-from-color": [{ "mask-x-from": P() }],
2033
+ "mask-image-x-to-color": [{ "mask-x-to": P() }],
2062
2034
  "mask-image-y-from-pos": [{ "mask-y-from": R() }],
2063
2035
  "mask-image-y-to-pos": [{ "mask-y-to": R() }],
2064
- "mask-image-y-from-color": [{ "mask-y-from": F() }],
2065
- "mask-image-y-to-color": [{ "mask-y-to": F() }],
2066
- "mask-image-radial": [{ "mask-radial": [Y, J] }],
2036
+ "mask-image-y-from-color": [{ "mask-y-from": P() }],
2037
+ "mask-image-y-to-color": [{ "mask-y-to": P() }],
2038
+ "mask-image-radial": [{ "mask-radial": [X, Y] }],
2067
2039
  "mask-image-radial-from-pos": [{ "mask-radial-from": R() }],
2068
2040
  "mask-image-radial-to-pos": [{ "mask-radial-to": R() }],
2069
- "mask-image-radial-from-color": [{ "mask-radial-from": F() }],
2070
- "mask-image-radial-to-color": [{ "mask-radial-to": F() }],
2041
+ "mask-image-radial-from-color": [{ "mask-radial-from": P() }],
2042
+ "mask-image-radial-to-color": [{ "mask-radial-to": P() }],
2071
2043
  "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
2072
2044
  "mask-image-radial-size": [{ "mask-radial": [{
2073
2045
  closest: ["side", "corner"],
2074
2046
  farthest: ["side", "corner"]
2075
2047
  }] }],
2076
2048
  "mask-image-radial-pos": [{ "mask-radial-at": b() }],
2077
- "mask-image-conic-pos": [{ "mask-conic": [q] }],
2049
+ "mask-image-conic-pos": [{ "mask-conic": [J] }],
2078
2050
  "mask-image-conic-from-pos": [{ "mask-conic-from": R() }],
2079
2051
  "mask-image-conic-to-pos": [{ "mask-conic-to": R() }],
2080
- "mask-image-conic-from-color": [{ "mask-conic-from": F() }],
2081
- "mask-image-conic-to-color": [{ "mask-conic-to": F() }],
2052
+ "mask-image-conic-from-color": [{ "mask-conic-from": P() }],
2053
+ "mask-image-conic-to-color": [{ "mask-conic-to": P() }],
2082
2054
  "mask-mode": [{ mask: [
2083
2055
  "alpha",
2084
2056
  "luminance",
@@ -2092,31 +2064,31 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
2092
2064
  "stroke",
2093
2065
  "view"
2094
2066
  ] }],
2095
- "mask-position": [{ mask: te() }],
2096
- "mask-repeat": [{ mask: ne() }],
2097
- "mask-size": [{ mask: re() }],
2067
+ "mask-position": [{ mask: ne() }],
2068
+ "mask-repeat": [{ mask: re() }],
2069
+ "mask-size": [{ mask: ie() }],
2098
2070
  "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
2099
2071
  "mask-image": [{ mask: [
2100
2072
  "none",
2101
- Y,
2102
- J
2073
+ X,
2074
+ Y
2103
2075
  ] }],
2104
2076
  filter: [{ filter: [
2105
2077
  "",
2106
2078
  "none",
2107
- Y,
2108
- J
2079
+ X,
2080
+ Y
2109
2081
  ] }],
2110
2082
  blur: [{ blur: se() }],
2111
2083
  brightness: [{ brightness: [
2112
- q,
2113
- Y,
2114
- J
2084
+ J,
2085
+ X,
2086
+ Y
2115
2087
  ] }],
2116
2088
  contrast: [{ contrast: [
2117
- q,
2118
- Y,
2119
- J
2089
+ J,
2090
+ X,
2091
+ Y
2120
2092
  ] }],
2121
2093
  "drop-shadow": [{ "drop-shadow": [
2122
2094
  "",
@@ -2125,84 +2097,84 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
2125
2097
  Zn,
2126
2098
  Gn
2127
2099
  ] }],
2128
- "drop-shadow-color": [{ "drop-shadow": F() }],
2100
+ "drop-shadow-color": [{ "drop-shadow": P() }],
2129
2101
  grayscale: [{ grayscale: [
2130
2102
  "",
2131
- q,
2132
- Y,
2133
- J
2103
+ J,
2104
+ X,
2105
+ Y
2134
2106
  ] }],
2135
2107
  "hue-rotate": [{ "hue-rotate": [
2136
- q,
2137
- Y,
2138
- J
2108
+ J,
2109
+ X,
2110
+ Y
2139
2111
  ] }],
2140
2112
  invert: [{ invert: [
2141
2113
  "",
2142
- q,
2143
- Y,
2144
- J
2114
+ J,
2115
+ X,
2116
+ Y
2145
2117
  ] }],
2146
2118
  saturate: [{ saturate: [
2147
- q,
2148
- Y,
2149
- J
2119
+ J,
2120
+ X,
2121
+ Y
2150
2122
  ] }],
2151
2123
  sepia: [{ sepia: [
2152
2124
  "",
2153
- q,
2154
- Y,
2155
- J
2125
+ J,
2126
+ X,
2127
+ Y
2156
2128
  ] }],
2157
2129
  "backdrop-filter": [{ "backdrop-filter": [
2158
2130
  "",
2159
2131
  "none",
2160
- Y,
2161
- J
2132
+ X,
2133
+ Y
2162
2134
  ] }],
2163
2135
  "backdrop-blur": [{ "backdrop-blur": se() }],
2164
2136
  "backdrop-brightness": [{ "backdrop-brightness": [
2165
- q,
2166
- Y,
2167
- J
2137
+ J,
2138
+ X,
2139
+ Y
2168
2140
  ] }],
2169
2141
  "backdrop-contrast": [{ "backdrop-contrast": [
2170
- q,
2171
- Y,
2172
- J
2142
+ J,
2143
+ X,
2144
+ Y
2173
2145
  ] }],
2174
2146
  "backdrop-grayscale": [{ "backdrop-grayscale": [
2175
2147
  "",
2176
- q,
2177
- Y,
2178
- J
2148
+ J,
2149
+ X,
2150
+ Y
2179
2151
  ] }],
2180
2152
  "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
2181
- q,
2182
- Y,
2183
- J
2153
+ J,
2154
+ X,
2155
+ Y
2184
2156
  ] }],
2185
2157
  "backdrop-invert": [{ "backdrop-invert": [
2186
2158
  "",
2187
- q,
2188
- Y,
2189
- J
2159
+ J,
2160
+ X,
2161
+ Y
2190
2162
  ] }],
2191
2163
  "backdrop-opacity": [{ "backdrop-opacity": [
2192
- q,
2193
- Y,
2194
- J
2164
+ J,
2165
+ X,
2166
+ Y
2195
2167
  ] }],
2196
2168
  "backdrop-saturate": [{ "backdrop-saturate": [
2197
- q,
2198
- Y,
2199
- J
2169
+ J,
2170
+ X,
2171
+ Y
2200
2172
  ] }],
2201
2173
  "backdrop-sepia": [{ "backdrop-sepia": [
2202
2174
  "",
2203
- q,
2204
- Y,
2205
- J
2175
+ J,
2176
+ X,
2177
+ Y
2206
2178
  ] }],
2207
2179
  "border-collapse": [{ border: ["collapse", "separate"] }],
2208
2180
  "border-spacing": [{ "border-spacing": w() }],
@@ -2218,39 +2190,39 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
2218
2190
  "shadow",
2219
2191
  "transform",
2220
2192
  "none",
2221
- Y,
2222
- J
2193
+ X,
2194
+ Y
2223
2195
  ] }],
2224
2196
  "transition-behavior": [{ transition: ["normal", "discrete"] }],
2225
2197
  duration: [{ duration: [
2226
- q,
2198
+ J,
2227
2199
  "initial",
2228
- Y,
2229
- J
2200
+ X,
2201
+ Y
2230
2202
  ] }],
2231
2203
  ease: [{ ease: [
2232
2204
  "linear",
2233
2205
  "initial",
2234
2206
  _,
2235
- Y,
2236
- J
2207
+ X,
2208
+ Y
2237
2209
  ] }],
2238
2210
  delay: [{ delay: [
2239
- q,
2240
- Y,
2241
- J
2211
+ J,
2212
+ X,
2213
+ Y
2242
2214
  ] }],
2243
2215
  animate: [{ animate: [
2244
2216
  "none",
2245
2217
  v,
2246
- Y,
2247
- J
2218
+ X,
2219
+ Y
2248
2220
  ] }],
2249
2221
  backface: [{ backface: ["hidden", "visible"] }],
2250
2222
  perspective: [{ perspective: [
2251
2223
  h,
2252
- Y,
2253
- J
2224
+ X,
2225
+ Y
2254
2226
  ] }],
2255
2227
  "perspective-origin": [{ "perspective-origin": x() }],
2256
2228
  rotate: [{ rotate: z() }],
@@ -2266,8 +2238,8 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
2266
2238
  "skew-x": [{ "skew-x": V() }],
2267
2239
  "skew-y": [{ "skew-y": V() }],
2268
2240
  transform: [{ transform: [
2241
+ X,
2269
2242
  Y,
2270
- J,
2271
2243
  "",
2272
2244
  "none",
2273
2245
  "gpu",
@@ -2275,19 +2247,19 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
2275
2247
  ] }],
2276
2248
  "transform-origin": [{ origin: x() }],
2277
2249
  "transform-style": [{ transform: ["3d", "flat"] }],
2278
- translate: [{ translate: ce() }],
2279
- "translate-x": [{ "translate-x": ce() }],
2280
- "translate-y": [{ "translate-y": ce() }],
2281
- "translate-z": [{ "translate-z": ce() }],
2250
+ translate: [{ translate: H() }],
2251
+ "translate-x": [{ "translate-x": H() }],
2252
+ "translate-y": [{ "translate-y": H() }],
2253
+ "translate-z": [{ "translate-z": H() }],
2282
2254
  "translate-none": ["translate-none"],
2283
2255
  zoom: [{ zoom: [
2284
2256
  On,
2285
- Y,
2286
- J
2257
+ X,
2258
+ Y
2287
2259
  ] }],
2288
- accent: [{ accent: F() }],
2260
+ accent: [{ accent: P() }],
2289
2261
  appearance: [{ appearance: ["none", "auto"] }],
2290
- "caret-color": [{ caret: F() }],
2262
+ "caret-color": [{ caret: P() }],
2291
2263
  "color-scheme": [{ scheme: [
2292
2264
  "normal",
2293
2265
  "dark",
@@ -2333,8 +2305,8 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
2333
2305
  "nwse-resize",
2334
2306
  "zoom-in",
2335
2307
  "zoom-out",
2336
- Y,
2337
- J
2308
+ X,
2309
+ Y
2338
2310
  ] }],
2339
2311
  "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
2340
2312
  "pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -2345,8 +2317,8 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
2345
2317
  "x"
2346
2318
  ] }],
2347
2319
  "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
2348
- "scrollbar-thumb-color": [{ "scrollbar-thumb": F() }],
2349
- "scrollbar-track-color": [{ "scrollbar-track": F() }],
2320
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": P() }],
2321
+ "scrollbar-track-color": [{ "scrollbar-track": P() }],
2350
2322
  "scrollbar-gutter": [{ "scrollbar-gutter": [
2351
2323
  "auto",
2352
2324
  "stable",
@@ -2420,17 +2392,17 @@ var It = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Lt = Ft, Rt
2420
2392
  "scroll",
2421
2393
  "contents",
2422
2394
  "transform",
2423
- Y,
2424
- J
2395
+ X,
2396
+ Y
2425
2397
  ] }],
2426
- fill: [{ fill: ["none", ...F()] }],
2398
+ fill: [{ fill: ["none", ...P()] }],
2427
2399
  "stroke-w": [{ stroke: [
2428
- q,
2400
+ J,
2429
2401
  Kn,
2430
2402
  zn,
2431
2403
  Bn
2432
2404
  ] }],
2433
- stroke: [{ stroke: ["none", ...F()] }],
2405
+ stroke: [{ stroke: ["none", ...P()] }],
2434
2406
  "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
2435
2407
  },
2436
2408
  conflictingClassGroups: {
@@ -2624,7 +2596,7 @@ function ur(...e) {
2624
2596
  }
2625
2597
  //#endregion
2626
2598
  //#region src/ui/browser/button.tsx
2627
- var dr = Rt("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap no-underline transition-[color,background-color,border-color,box-shadow,opacity,transform] outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
2599
+ var dr = Rt("nodrag group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap no-underline transition-[color,background-color,border-color,box-shadow,opacity,transform] outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
2628
2600
  variants: {
2629
2601
  variant: {
2630
2602
  default: "bg-primary text-primary-foreground hover:bg-primary/80",
@@ -2697,23 +2669,23 @@ var dr = Rt("group/button inline-flex shrink-0 items-center justify-center round
2697
2669
  value: "",
2698
2670
  initialValue: null
2699
2671
  },
2700
- setValidityData: G,
2672
+ setValidityData: K,
2701
2673
  disabled: void 0,
2702
2674
  touched: hr.touched,
2703
- setTouched: G,
2675
+ setTouched: K,
2704
2676
  dirty: hr.dirty,
2705
- setDirty: G,
2677
+ setDirty: K,
2706
2678
  filled: hr.filled,
2707
- setFilled: G,
2679
+ setFilled: K,
2708
2680
  focused: hr.focused,
2709
- setFocused: G,
2681
+ setFocused: K,
2710
2682
  validate: () => null,
2711
2683
  validationMode: "onSubmit",
2712
2684
  validationDebounceTime: 0,
2713
2685
  shouldValidateOnChange: () => !1,
2714
2686
  state: gr,
2715
2687
  markedDirtyRef: { current: !1 },
2716
- registerFieldControl: G,
2688
+ registerFieldControl: K,
2717
2689
  validation: {
2718
2690
  getValidationProps: (e = bt) => e,
2719
2691
  getInputValidationProps: (e = bt) => e,
@@ -2724,7 +2696,7 @@ var dr = Rt("group/button inline-flex shrink-0 items-center justify-center round
2724
2696
  process.env.NODE_ENV !== "production" && (vr.displayName = "FieldRootContext");
2725
2697
  function yr(e = !0) {
2726
2698
  let t = a.useContext(vr);
2727
- if (t.setValidityData === G && !e) throw Error(process.env.NODE_ENV === "production" ? tt(28) : "Base UI: FieldRootContext is missing. Field parts must be placed within <Field.Root>.");
2699
+ if (t.setValidityData === K && !e) throw Error(process.env.NODE_ENV === "production" ? tt(28) : "Base UI: FieldRootContext is missing. Field parts must be placed within <Field.Root>.");
2728
2700
  return t;
2729
2701
  }
2730
2702
  //#endregion
@@ -2753,11 +2725,11 @@ function wr(e) {
2753
2725
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/labelable-provider/LabelableContext.js
2754
2726
  var Tr = /*#__PURE__*/ a.createContext({
2755
2727
  controlId: void 0,
2756
- registerControlId: G,
2728
+ registerControlId: K,
2757
2729
  labelId: void 0,
2758
- setLabelId: G,
2730
+ setLabelId: K,
2759
2731
  messageIds: [],
2760
- setMessageIds: G,
2732
+ setMessageIds: K,
2761
2733
  getDescriptionProps: (e) => e
2762
2734
  });
2763
2735
  process.env.NODE_ENV !== "production" && (Tr.displayName = "LabelableContext");
@@ -2767,11 +2739,11 @@ function Er() {
2767
2739
  //#endregion
2768
2740
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/labelable-provider/useLabelableId.js
2769
2741
  function Dr(e = {}) {
2770
- let { id: t, implicit: n = !1, controlRef: r } = e, { controlId: i, registerControlId: o } = Er(), s = wr(t), c = n ? i : void 0, l = Ae(() => Symbol("labelable-control")), u = a.useRef(!1), d = a.useRef(t != null), f = U(() => {
2771
- !u.current || o === G || (u.current = !1, o(l.current, void 0));
2742
+ let { id: t, implicit: n = !1, controlRef: r } = e, { controlId: i, registerControlId: o } = Er(), s = wr(t), c = n ? i : void 0, l = Ae(() => Symbol("labelable-control")), u = a.useRef(!1), d = a.useRef(t != null), f = W(() => {
2743
+ !u.current || o === K || (u.current = !1, o(l.current, void 0));
2772
2744
  });
2773
- return W(() => {
2774
- if (o === G) return;
2745
+ return G(() => {
2746
+ if (o === K) return;
2775
2747
  let e;
2776
2748
  if (n) {
2777
2749
  let n = r?.current;
@@ -2800,15 +2772,17 @@ function Dr(e = {}) {
2800
2772
  }
2801
2773
  //#endregion
2802
2774
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/owner.js
2803
- function X(e) {
2775
+ function Z(e) {
2804
2776
  return e?.ownerDocument || document;
2805
2777
  }
2806
2778
  //#endregion
2807
2779
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/detectBrowser.js
2808
- var Or = typeof navigator < "u", kr = zr(), Ar = Vr(), jr = Br(), Mr = typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter:none"), Nr = kr.platform === "MacIntel" && kr.maxTouchPoints > 1 || /iP(hone|ad|od)|iOS/.test(kr.platform), Pr = Or && /firefox/i.test(jr), Fr = Or && /apple/i.test(navigator.vendor);
2780
+ var Or = typeof navigator < "u", kr = Rr(), Ar = Br(), jr = zr(), Mr = typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter:none"), Nr = kr.platform === "MacIntel" && kr.maxTouchPoints > 1 || /iP(hone|ad|od)|iOS/.test(kr.platform);
2781
+ Or && /firefox/i.test(jr);
2782
+ var Pr = Or && /apple/i.test(navigator.vendor);
2809
2783
  Or && /Edg/i.test(jr);
2810
- var Ir = Or && /android/i.test(Ar) || /android/i.test(jr), Lr = Or && Ar.toLowerCase().startsWith("mac") && !navigator.maxTouchPoints, Rr = jr.includes("jsdom/");
2811
- function zr() {
2784
+ var Fr = Or && /android/i.test(Ar) || /android/i.test(jr), Ir = Or && Ar.toLowerCase().startsWith("mac") && !navigator.maxTouchPoints, Lr = jr.includes("jsdom/");
2785
+ function Rr() {
2812
2786
  if (!Or) return {
2813
2787
  platform: "",
2814
2788
  maxTouchPoints: -1
@@ -2822,27 +2796,27 @@ function zr() {
2822
2796
  maxTouchPoints: navigator.maxTouchPoints ?? -1
2823
2797
  };
2824
2798
  }
2825
- function Br() {
2799
+ function zr() {
2826
2800
  if (!Or) return "";
2827
2801
  let e = navigator.userAgentData;
2828
2802
  return e && Array.isArray(e.brands) ? e.brands.map(({ brand: e, version: t }) => `${e}/${t}`).join(" ") : navigator.userAgent;
2829
2803
  }
2830
- function Vr() {
2804
+ function Br() {
2831
2805
  if (!Or) return "";
2832
2806
  let e = navigator.userAgentData;
2833
2807
  return e?.platform ? e.platform : navigator.platform ?? "";
2834
2808
  }
2835
2809
  //#endregion
2836
2810
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/constants.js
2837
- var Hr = "data-base-ui-focusable", Ur = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])", Wr = "ArrowLeft", Gr = "ArrowRight", Kr = "ArrowUp", qr = "ArrowDown";
2811
+ var Vr = "data-base-ui-focusable", Hr = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])", Ur = "ArrowLeft", Wr = "ArrowRight", Gr = "ArrowUp", Kr = "ArrowDown";
2838
2812
  //#endregion
2839
2813
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/shadowDom.js
2840
- function Jr(e) {
2814
+ function qr(e) {
2841
2815
  let t = e.activeElement;
2842
2816
  for (; t?.shadowRoot?.activeElement != null;) t = t.shadowRoot.activeElement;
2843
2817
  return t;
2844
2818
  }
2845
- function Z(e, t) {
2819
+ function Q(e, t) {
2846
2820
  if (!e || !t) return !1;
2847
2821
  let n = t.getRootNode?.();
2848
2822
  if (e.contains(t)) return !0;
@@ -2855,53 +2829,53 @@ function Z(e, t) {
2855
2829
  }
2856
2830
  return !1;
2857
2831
  }
2858
- function Yr(e) {
2832
+ function Jr(e) {
2859
2833
  return "composedPath" in e ? e.composedPath()[0] : e.target;
2860
2834
  }
2861
2835
  //#endregion
2862
2836
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/element.js
2863
- function Xr(e, t) {
2837
+ function Yr(e, t) {
2864
2838
  if (!ue(e)) return !1;
2865
2839
  let n = e;
2866
2840
  if (t.hasElement(n)) return !n.hasAttribute("data-trigger-disabled");
2867
- for (let [, e] of t.entries()) if (Z(e, n)) return !e.hasAttribute("data-trigger-disabled");
2841
+ for (let [, e] of t.entries()) if (Q(e, n)) return !e.hasAttribute("data-trigger-disabled");
2868
2842
  return !1;
2869
2843
  }
2870
- function Zr(e, t) {
2844
+ function Xr(e, t) {
2871
2845
  if (t == null) return !1;
2872
2846
  if ("composedPath" in e) return e.composedPath().includes(t);
2873
2847
  let n = e;
2874
2848
  return n.target != null && t.contains(n.target);
2875
2849
  }
2876
- function Qr(e) {
2850
+ function Zr(e) {
2877
2851
  return e.matches("html,body");
2878
2852
  }
2853
+ function Qr(e) {
2854
+ return U(e) && e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])");
2855
+ }
2879
2856
  function $r(e) {
2880
- return H(e) && e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])");
2857
+ return e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${Hr}`) != null;
2881
2858
  }
2882
2859
  function ei(e) {
2883
- return e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${Ur}`) != null;
2860
+ return e ? e.getAttribute("role") === "combobox" && Qr(e) : !1;
2884
2861
  }
2885
2862
  function ti(e) {
2886
- return e ? e.getAttribute("role") === "combobox" && $r(e) : !1;
2887
- }
2888
- function ni(e) {
2889
- if (!e || Rr) return !0;
2863
+ if (!e || Lr) return !0;
2890
2864
  try {
2891
2865
  return e.matches(":focus-visible");
2892
2866
  } catch {
2893
2867
  return !0;
2894
2868
  }
2895
2869
  }
2896
- function ri(e) {
2870
+ function ni(e) {
2897
2871
  return e ? e.hasAttribute("data-base-ui-focusable") ? e : e.querySelector("[data-base-ui-focusable]") || e : null;
2898
2872
  }
2899
2873
  //#endregion
2900
2874
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/nodes.js
2901
- function ii(e, t, n = !0) {
2902
- return e.filter((e) => e.parentId === t).flatMap((t) => [...!n || t.context?.open ? [t] : [], ...ii(e, t.id, n)]);
2875
+ function ri(e, t, n = !0) {
2876
+ return e.filter((e) => e.parentId === t).flatMap((t) => [...!n || t.context?.open ? [t] : [], ...ri(e, t.id, n)]);
2903
2877
  }
2904
- function ai(e, t) {
2878
+ function ii(e, t) {
2905
2879
  let n = [], r = e.find((e) => e.id === t)?.parentId;
2906
2880
  for (; r;) {
2907
2881
  let t = e.find((e) => e.id === r);
@@ -2911,102 +2885,102 @@ function ai(e, t) {
2911
2885
  }
2912
2886
  //#endregion
2913
2887
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/event.js
2914
- function oi(e) {
2888
+ function ai(e) {
2915
2889
  e.preventDefault(), e.stopPropagation();
2916
2890
  }
2917
- function si(e) {
2891
+ function oi(e) {
2918
2892
  return "nativeEvent" in e;
2919
2893
  }
2920
- function ci(e) {
2921
- return e.pointerType === "" && e.isTrusted ? !0 : Ir && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
2894
+ function si(e) {
2895
+ return e.pointerType === "" && e.isTrusted ? !0 : Fr && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
2922
2896
  }
2923
- function li(e) {
2924
- return Rr ? !1 : !Ir && e.width === 0 && e.height === 0 || Ir && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse" || e.width < 1 && e.height < 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "touch";
2897
+ function ci(e) {
2898
+ return Lr ? !1 : !Fr && e.width === 0 && e.height === 0 || Fr && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse" || e.width < 1 && e.height < 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "touch";
2925
2899
  }
2926
- function ui(e, t) {
2900
+ function li(e, t) {
2927
2901
  let n = ["mouse", "pen"];
2928
2902
  return t || n.push("", void 0), n.includes(e);
2929
2903
  }
2930
- function di(e) {
2904
+ function ui(e) {
2931
2905
  let t = e.type;
2932
2906
  return t === "click" || t === "mousedown" || t === "keydown" || t === "keyup";
2933
2907
  }
2934
2908
  //#endregion
2935
2909
  //#region ../../node_modules/.bun/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
2936
- var fi = [
2910
+ var di = [
2937
2911
  "top",
2938
2912
  "right",
2939
2913
  "bottom",
2940
2914
  "left"
2941
- ], pi = Math.min, mi = Math.max, hi = Math.round, gi = Math.floor, _i = (e) => ({
2915
+ ], fi = Math.min, pi = Math.max, mi = Math.round, hi = Math.floor, gi = (e) => ({
2942
2916
  x: e,
2943
2917
  y: e
2944
- }), vi = {
2918
+ }), _i = {
2945
2919
  left: "right",
2946
2920
  right: "left",
2947
2921
  bottom: "top",
2948
2922
  top: "bottom"
2949
2923
  };
2950
- function yi(e, t, n) {
2951
- return mi(e, pi(t, n));
2924
+ function vi(e, t, n) {
2925
+ return pi(e, fi(t, n));
2952
2926
  }
2953
- function bi(e, t) {
2927
+ function yi(e, t) {
2954
2928
  return typeof e == "function" ? e(t) : e;
2955
2929
  }
2956
- function xi(e) {
2930
+ function bi(e) {
2957
2931
  return e.split("-")[0];
2958
2932
  }
2959
- function Si(e) {
2933
+ function xi(e) {
2960
2934
  return e.split("-")[1];
2961
2935
  }
2962
- function Ci(e) {
2936
+ function Si(e) {
2963
2937
  return e === "x" ? "y" : "x";
2964
2938
  }
2965
- function wi(e) {
2939
+ function Ci(e) {
2966
2940
  return e === "y" ? "height" : "width";
2967
2941
  }
2968
- function Ti(e) {
2942
+ function wi(e) {
2969
2943
  let t = e[0];
2970
2944
  return t === "t" || t === "b" ? "y" : "x";
2971
2945
  }
2972
- function Ei(e) {
2973
- return Ci(Ti(e));
2946
+ function Ti(e) {
2947
+ return Si(wi(e));
2974
2948
  }
2975
- function Di(e, t, n) {
2949
+ function Ei(e, t, n) {
2976
2950
  n === void 0 && (n = !1);
2977
- let r = Si(e), i = Ei(e), a = wi(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
2978
- return t.reference[a] > t.floating[a] && (o = Ii(o)), [o, Ii(o)];
2951
+ let r = xi(e), i = Ti(e), a = Ci(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
2952
+ return t.reference[a] > t.floating[a] && (o = Fi(o)), [o, Fi(o)];
2979
2953
  }
2980
- function Oi(e) {
2981
- let t = Ii(e);
2954
+ function Di(e) {
2955
+ let t = Fi(e);
2982
2956
  return [
2983
- ki(e),
2957
+ Oi(e),
2984
2958
  t,
2985
- ki(t)
2959
+ Oi(t)
2986
2960
  ];
2987
2961
  }
2988
- function ki(e) {
2962
+ function Oi(e) {
2989
2963
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
2990
2964
  }
2991
- var Ai = ["left", "right"], ji = ["right", "left"], Mi = ["top", "bottom"], Ni = ["bottom", "top"];
2992
- function Pi(e, t, n) {
2965
+ var ki = ["left", "right"], Ai = ["right", "left"], ji = ["top", "bottom"], Mi = ["bottom", "top"];
2966
+ function Ni(e, t, n) {
2993
2967
  switch (e) {
2994
2968
  case "top":
2995
- case "bottom": return n ? t ? ji : Ai : t ? Ai : ji;
2969
+ case "bottom": return n ? t ? Ai : ki : t ? ki : Ai;
2996
2970
  case "left":
2997
- case "right": return t ? Mi : Ni;
2971
+ case "right": return t ? ji : Mi;
2998
2972
  default: return [];
2999
2973
  }
3000
2974
  }
3001
- function Fi(e, t, n, r) {
3002
- let i = Si(e), a = Pi(xi(e), n === "start", r);
3003
- return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(ki)))), a;
2975
+ function Pi(e, t, n, r) {
2976
+ let i = xi(e), a = Ni(bi(e), n === "start", r);
2977
+ return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Oi)))), a;
3004
2978
  }
3005
- function Ii(e) {
3006
- let t = xi(e);
3007
- return vi[t] + e.slice(t.length);
2979
+ function Fi(e) {
2980
+ let t = bi(e);
2981
+ return _i[t] + e.slice(t.length);
3008
2982
  }
3009
- function Li(e) {
2983
+ function Ii(e) {
3010
2984
  return {
3011
2985
  top: e.top ?? 0,
3012
2986
  right: e.right ?? 0,
@@ -3014,15 +2988,15 @@ function Li(e) {
3014
2988
  left: e.left ?? 0
3015
2989
  };
3016
2990
  }
3017
- function Ri(e) {
2991
+ function Li(e) {
3018
2992
  return typeof e == "number" ? {
3019
2993
  top: e,
3020
2994
  right: e,
3021
2995
  bottom: e,
3022
2996
  left: e
3023
- } : Li(e);
2997
+ } : Ii(e);
3024
2998
  }
3025
- function zi(e) {
2999
+ function Ri(e) {
3026
3000
  let { x: t, y: n, width: r, height: i } = e;
3027
3001
  return {
3028
3002
  width: r,
@@ -3037,23 +3011,23 @@ function zi(e) {
3037
3011
  }
3038
3012
  //#endregion
3039
3013
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/composite.js
3040
- function Bi(e, t, n) {
3014
+ function zi(e, t, n) {
3041
3015
  return Math.floor(e / t) !== n;
3042
3016
  }
3043
- function Vi(e, t) {
3017
+ function Bi(e, t) {
3044
3018
  return t < 0 || t >= e.length;
3045
3019
  }
3046
- function Hi(e, t) {
3047
- return Q(e.current, { disabledIndices: t });
3020
+ function Vi(e, t) {
3021
+ return Ui(e.current, { disabledIndices: t });
3048
3022
  }
3049
- function Ui(e, t) {
3050
- return Q(e.current, {
3023
+ function Hi(e, t) {
3024
+ return Ui(e.current, {
3051
3025
  decrement: !0,
3052
3026
  startingIndex: e.current.length,
3053
3027
  disabledIndices: t
3054
3028
  });
3055
3029
  }
3056
- function Q(e, { startingIndex: t = -1, decrement: n = !1, disabledIndices: r, amount: i = 1 } = {}) {
3030
+ function Ui(e, { startingIndex: t = -1, decrement: n = !1, disabledIndices: r, amount: i = 1 } = {}) {
3057
3031
  let a = t;
3058
3032
  do
3059
3033
  a += n ? -i : i;
@@ -3099,7 +3073,7 @@ function Wi(e, { event: t, orientation: n, loopFocus: r, onLoop: i, rtl: a, cols
3099
3073
  }
3100
3074
  }, x = (t) => {
3101
3075
  if (!v || u === -1) return;
3102
- let n = u % y, i = t === "up" ? -y : y, a = l - l % y, o = gi(l / y) + 1;
3076
+ let n = u % y, i = t === "up" ? -y : y, a = l - l % y, o = hi(l / y) + 1;
3103
3077
  for (let t = u - n + i, c = 0; c < o; c += 1, t += i) {
3104
3078
  if (t < 0 || t > l) {
3105
3079
  if (!r) return;
@@ -3109,11 +3083,11 @@ function Wi(e, { event: t, orientation: n, loopFocus: r, onLoop: i, rtl: a, cols
3109
3083
  for (let r = Math.min(t + n, i); r >= t; --r) if (!Ji(e, r, s)) return r;
3110
3084
  }
3111
3085
  };
3112
- d && oi(t);
3086
+ d && ai(t);
3113
3087
  let S = b(p) ?? x(p);
3114
3088
  if (S !== void 0) f = S;
3115
3089
  else if (u === -1) f = p === "up" ? l : c;
3116
- else if (f = Q(e, {
3090
+ else if (f = Ui(e, {
3117
3091
  startingIndex: u,
3118
3092
  amount: y,
3119
3093
  decrement: p === "up",
@@ -3123,40 +3097,40 @@ function Wi(e, { event: t, orientation: n, loopFocus: r, onLoop: i, rtl: a, cols
3123
3097
  let e = u % y, n = l % y, r = l - (n - e);
3124
3098
  f = n === e ? l : n > e ? r : r - y, i && (f = i(t, u, f));
3125
3099
  }
3126
- p === "down" && u + y > l && (f = Q(e, {
3100
+ p === "down" && u + y > l && (f = Ui(e, {
3127
3101
  startingIndex: u % y - y,
3128
3102
  amount: y,
3129
3103
  disabledIndices: s
3130
3104
  }), i && (f = i(t, u, f)));
3131
3105
  }
3132
- Vi(e, f) && (f = u);
3106
+ Bi(e, f) && (f = u);
3133
3107
  }
3134
3108
  if (n === "both") {
3135
- let n = gi(u / o);
3136
- t.key === (a ? "ArrowLeft" : "ArrowRight") && (d && oi(t), u % o === o - 1 ? r && (f = Q(e, {
3109
+ let n = hi(u / o);
3110
+ t.key === (a ? "ArrowLeft" : "ArrowRight") && (d && ai(t), u % o === o - 1 ? r && (f = Ui(e, {
3137
3111
  startingIndex: u - u % o - 1,
3138
3112
  disabledIndices: s
3139
- }), i && (f = i(t, u, f))) : (f = Q(e, {
3113
+ }), i && (f = i(t, u, f))) : (f = Ui(e, {
3140
3114
  startingIndex: u,
3141
3115
  disabledIndices: s
3142
- }), r && Bi(f, o, n) && (f = Q(e, {
3116
+ }), r && zi(f, o, n) && (f = Ui(e, {
3143
3117
  startingIndex: u - u % o - 1,
3144
3118
  disabledIndices: s
3145
- }), i && (f = i(t, u, f)))), Bi(f, o, n) && (f = u)), t.key === (a ? "ArrowRight" : "ArrowLeft") && (d && oi(t), u % o === 0 ? r && (f = Q(e, {
3119
+ }), i && (f = i(t, u, f)))), zi(f, o, n) && (f = u)), t.key === (a ? "ArrowRight" : "ArrowLeft") && (d && ai(t), u % o === 0 ? r && (f = Ui(e, {
3146
3120
  startingIndex: u + (o - u % o),
3147
3121
  decrement: !0,
3148
3122
  disabledIndices: s
3149
- }), i && (f = i(t, u, f))) : (f = Q(e, {
3123
+ }), i && (f = i(t, u, f))) : (f = Ui(e, {
3150
3124
  startingIndex: u,
3151
3125
  decrement: !0,
3152
3126
  disabledIndices: s
3153
- }), r && Bi(f, o, n) && (f = Q(e, {
3127
+ }), r && zi(f, o, n) && (f = Ui(e, {
3154
3128
  startingIndex: u + (o - u % o),
3155
3129
  decrement: !0,
3156
3130
  disabledIndices: s
3157
- }), i && (f = i(t, u, f)))), Bi(f, o, n) && (f = u));
3158
- let c = gi(l / o) === n;
3159
- Vi(e, f) && (r && c ? (f = t.key === (a ? "ArrowRight" : "ArrowLeft") ? l : Q(e, {
3131
+ }), i && (f = i(t, u, f)))), zi(f, o, n) && (f = u));
3132
+ let c = hi(l / o) === n;
3133
+ Bi(e, f) && (r && c ? (f = t.key === (a ? "ArrowRight" : "ArrowLeft") ? l : Ui(e, {
3160
3134
  startingIndex: u - u % o - 1,
3161
3135
  disabledIndices: s
3162
3136
  }), i && (f = i(t, u, f))) : f = u);
@@ -3213,22 +3187,22 @@ function Qi(e) {
3213
3187
  return de(n) ? n.host : null;
3214
3188
  }
3215
3189
  function $i(e) {
3216
- for (let t of Array.from(e.children)) if (B(t) === "summary") return t;
3190
+ for (let t of Array.from(e.children)) if (V(t) === "summary") return t;
3217
3191
  return null;
3218
3192
  }
3219
3193
  function ea(e, t) {
3220
3194
  let n = $i(t);
3221
- return !!n && (e === n || Z(n, e));
3195
+ return !!n && (e === n || Q(n, e));
3222
3196
  }
3223
3197
  function ta(e) {
3224
- let t = e ? B(e) : "";
3225
- return e != null && e.matches(Zi) && (t !== "summary" || e.parentElement != null && B(e.parentElement) === "details" && $i(e.parentElement) === e) && (t !== "details" || $i(e) == null) && (t !== "input" || e.type !== "hidden");
3198
+ let t = e ? V(e) : "";
3199
+ return e != null && e.matches(Zi) && (t !== "summary" || e.parentElement != null && V(e.parentElement) === "details" && $i(e.parentElement) === e) && (t !== "details" || $i(e) == null) && (t !== "input" || e.type !== "hidden");
3226
3200
  }
3227
3201
  function na(e) {
3228
3202
  if (!ta(e) || !e.isConnected || e.matches(":disabled")) return !1;
3229
3203
  for (let t = e; t; t = Qi(t)) {
3230
- let n = t !== e, r = B(t) === "slot";
3231
- if (t.hasAttribute("inert") || n && B(t) === "details" && !t.open && !ea(e, t) || t.hasAttribute("hidden") || !r && !ra(t, n)) return !1;
3204
+ let n = t !== e, r = V(t) === "slot";
3205
+ if (t.hasAttribute("inert") || n && V(t) === "details" && !t.open && !ea(e, t) || t.hasAttribute("hidden") || !r && !ra(t, n)) return !1;
3232
3206
  }
3233
3207
  return !0;
3234
3208
  }
@@ -3239,13 +3213,13 @@ function ra(e, t) {
3239
3213
  function ia(e) {
3240
3214
  let t = e.tabIndex;
3241
3215
  if (t < 0) {
3242
- let t = B(e);
3243
- if (t === "details" || t === "audio" || t === "video" || H(e) && e.isContentEditable) return 0;
3216
+ let t = V(e);
3217
+ if (t === "details" || t === "audio" || t === "video" || U(e) && e.isContentEditable) return 0;
3244
3218
  }
3245
3219
  return t;
3246
3220
  }
3247
3221
  function aa(e) {
3248
- if (B(e) !== "input") return null;
3222
+ if (V(e) !== "input") return null;
3249
3223
  let t = e;
3250
3224
  return t.type === "radio" && t.name !== "" ? t : null;
3251
3225
  }
@@ -3262,11 +3236,11 @@ function oa(e, t) {
3262
3236
  }) === n;
3263
3237
  }
3264
3238
  function sa(e) {
3265
- if (H(e) && B(e) === "slot") {
3239
+ if (U(e) && V(e) === "slot") {
3266
3240
  let t = e.assignedElements({ flatten: !0 });
3267
3241
  if (t.length > 0) return t;
3268
3242
  }
3269
- return H(e) && e.shadowRoot ? Array.from(e.shadowRoot.children) : Array.from(e.children);
3243
+ return U(e) && e.shadowRoot ? Array.from(e.shadowRoot.children) : Array.from(e.children);
3270
3244
  }
3271
3245
  function ca(e, t) {
3272
3246
  sa(e).forEach((e) => {
@@ -3275,7 +3249,7 @@ function ca(e, t) {
3275
3249
  }
3276
3250
  function la(e, t, n) {
3277
3251
  sa(e).forEach((e) => {
3278
- H(e) && e.matches(t) && n.push(e), la(e, t, n);
3252
+ U(e) && e.matches(t) && n.push(e), la(e, t, n);
3279
3253
  });
3280
3254
  }
3281
3255
  function ua(e) {
@@ -3292,18 +3266,18 @@ function fa(e) {
3292
3266
  function pa(e, t) {
3293
3267
  let n = fa(e), r = n.length;
3294
3268
  if (r === 0) return;
3295
- let i = Jr(X(e)), a = n.indexOf(i);
3269
+ let i = qr(Z(e)), a = n.indexOf(i);
3296
3270
  return n[a === -1 ? t === 1 ? 0 : r - 1 : a + t];
3297
3271
  }
3298
3272
  function ma(e) {
3299
- return pa(X(e).body, 1) || e;
3273
+ return pa(Z(e).body, 1) || e;
3300
3274
  }
3301
3275
  function ha(e) {
3302
- return pa(X(e).body, -1) || e;
3276
+ return pa(Z(e).body, -1) || e;
3303
3277
  }
3304
3278
  function ga(e, t) {
3305
3279
  if (!e) return null;
3306
- let n = fa(X(e).body), r = n.length;
3280
+ let n = fa(Z(e).body), r = n.length;
3307
3281
  if (r === 0) return null;
3308
3282
  let i = n.indexOf(e);
3309
3283
  return i === -1 ? null : n[(i + t + r) % r];
@@ -3316,7 +3290,7 @@ function va(e) {
3316
3290
  }
3317
3291
  function ya(e, t) {
3318
3292
  let n = t || e.currentTarget, r = e.relatedTarget;
3319
- return !r || !Z(n, r);
3293
+ return !r || !Q(n, r);
3320
3294
  }
3321
3295
  function ba(e) {
3322
3296
  fa(e).forEach((e) => {
@@ -3424,7 +3398,7 @@ var Na = /*#__PURE__*/ function(e) {
3424
3398
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/useAnimationsFinished.js
3425
3399
  function La(e, t = !1, n = !0) {
3426
3400
  let r = ja();
3427
- return U((i, a = null) => {
3401
+ return W((i, a = null) => {
3428
3402
  r.cancel();
3429
3403
  let o = Ma(e);
3430
3404
  if (o == null) return;
@@ -3468,7 +3442,7 @@ function La(e, t = !1, n = !0) {
3468
3442
  //#endregion
3469
3443
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/useOpenChangeComplete.js
3470
3444
  function Ra(e) {
3471
- let { enabled: t = !0, open: n, ref: r, onComplete: i } = e, o = U(i), s = La(r, n, !1);
3445
+ let { enabled: t = !0, open: n, ref: r, onComplete: i } = e, o = W(i), s = La(r, n, !1);
3472
3446
  a.useEffect(() => {
3473
3447
  if (!t) return;
3474
3448
  let e = new AbortController();
@@ -3486,7 +3460,7 @@ function Ra(e) {
3486
3460
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/useTransitionStatus.js
3487
3461
  function za(e, t = !1, n = !1) {
3488
3462
  let [r, i] = a.useState(e && t ? "idle" : void 0), [o, s] = a.useState(e);
3489
- return e && !o && (s(!0), i("starting")), !e && o && r !== "ending" && !n && i("ending"), !e && !o && r === "ending" && i(void 0), W(() => {
3463
+ return e && !o && (s(!0), i("starting")), !e && o && r !== "ending" && !n && i("ending"), !e && !o && r === "ending" && i(void 0), G(() => {
3490
3464
  if (!e && o && r !== "ending" && n) {
3491
3465
  let e = Aa.request(() => {
3492
3466
  i("ending");
@@ -3500,7 +3474,7 @@ function za(e, t = !1, n = !1) {
3500
3474
  o,
3501
3475
  r,
3502
3476
  n
3503
- ]), W(() => {
3477
+ ]), G(() => {
3504
3478
  if (!e || t) return;
3505
3479
  let n = Aa.request(() => {
3506
3480
  i(void 0);
@@ -3508,7 +3482,7 @@ function za(e, t = !1, n = !1) {
3508
3482
  return () => {
3509
3483
  Aa.cancel(n);
3510
3484
  };
3511
- }, [t, e]), W(() => {
3485
+ }, [t, e]), G(() => {
3512
3486
  if (!e || !t) return;
3513
3487
  e && o && r !== "idle" && i("starting");
3514
3488
  let n = Aa.request(() => {
@@ -3577,7 +3551,7 @@ function Va(e) {
3577
3551
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/field-register-control/useRegisterFieldControl.js
3578
3552
  function Ha(e, t) {
3579
3553
  let { enabled: n = !0, getValue: r, id: i, value: o } = t, { registerFieldControl: s } = yr(), c = a.useRef(null);
3580
- c.current ||= Symbol(), W(() => {
3554
+ c.current ||= Symbol(), G(() => {
3581
3555
  let t = c.current;
3582
3556
  if (!(!t || !n)) return s(t, {
3583
3557
  controlRef: e,
@@ -3598,10 +3572,10 @@ function Ha(e, t) {
3598
3572
  }
3599
3573
  //#endregion
3600
3574
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/reason-parts.js
3601
- var Ua = "none", Wa = "trigger-press", Ga = "trigger-hover", Ka = "trigger-focus", qa = "outside-press", Ja = "item-press", Ya = "close-press", Xa = "clear-press", Za = "input-change", Qa = "input-clear", $a = "input-press", eo = "focus-out", to = "escape-key", no = "list-navigation", ro = "cancel-open", io = "sibling-open", ao = "disabled", oo = "imperative-action", so = "window-resize";
3575
+ var Ua = "none", Wa = "trigger-press", Ga = "trigger-hover", Ka = "trigger-focus", qa = "outside-press", Ja = "item-press", Ya = "close-press", Xa = "focus-out", Za = "escape-key", Qa = "list-navigation", $a = "cancel-open", eo = "sibling-open", to = "disabled", no = "imperative-action", ro = "window-resize";
3602
3576
  //#endregion
3603
3577
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/createBaseUIEventDetails.js
3604
- function co(e, t, n, r) {
3578
+ function io(e, t, n, r) {
3605
3579
  let i = !1, a = !1, o = r ?? bt;
3606
3580
  return {
3607
3581
  reason: e,
@@ -3622,22 +3596,14 @@ function co(e, t, n, r) {
3622
3596
  ...o
3623
3597
  };
3624
3598
  }
3625
- function lo(e, t, n) {
3626
- let r = n ?? bt;
3627
- return {
3628
- reason: e,
3629
- event: t ?? new Event("base-ui"),
3630
- ...r
3631
- };
3632
- }
3633
3599
  //#endregion
3634
3600
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/field/control/FieldControl.js
3635
- var uo = /*#__PURE__*/ a.forwardRef(function(e, t) {
3601
+ var ao = /*#__PURE__*/ a.forwardRef(function(e, t) {
3636
3602
  let { render: n, className: r, id: i, name: o, value: s, disabled: c = !1, onValueChange: l, defaultValue: u, autoFocus: d = !1, style: f, ...p } = e, { state: m, name: h, disabled: g, setTouched: _, setDirty: v, validityData: y, setFocused: b, setFilled: x, validationMode: S, validation: C } = yr(), w = g || c, T = h ?? o, E = {
3637
3603
  ...m,
3638
3604
  disabled: w
3639
3605
  }, { labelId: D } = Er(), O = Dr({ id: i });
3640
- W(() => {
3606
+ G(() => {
3641
3607
  let e = s != null;
3642
3608
  C.inputRef.current?.value || e && s !== "" ? x(!0) : e && s === "" && x(!1);
3643
3609
  }, [
@@ -3646,15 +3612,15 @@ var uo = /*#__PURE__*/ a.forwardRef(function(e, t) {
3646
3612
  s
3647
3613
  ]);
3648
3614
  let k = a.useRef(null);
3649
- W(() => {
3650
- d && k.current === Jr(X(k.current)) && b(!0);
3615
+ G(() => {
3616
+ d && k.current === qr(Z(k.current)) && b(!0);
3651
3617
  }, [d, b]);
3652
3618
  let [ee] = Ba({
3653
3619
  controlled: s,
3654
3620
  default: u,
3655
3621
  name: "FieldControl",
3656
3622
  state: "value"
3657
- }), A = s !== void 0, j = A ? ee : void 0, M = U(() => C.inputRef.current?.value);
3623
+ }), A = s !== void 0, j = A ? ee : void 0, M = W(() => C.inputRef.current?.value);
3658
3624
  return Ha(C.inputRef, {
3659
3625
  id: O,
3660
3626
  value: j,
@@ -3673,7 +3639,7 @@ var uo = /*#__PURE__*/ a.forwardRef(function(e, t) {
3673
3639
  ...A ? { value: j } : { defaultValue: u },
3674
3640
  onChange(e) {
3675
3641
  let t = e.currentTarget.value;
3676
- l?.(t, co(Ua, e.nativeEvent)), v(t !== y.initialValue), x(t !== "");
3642
+ l?.(t, io(Ua, e.nativeEvent)), v(t !== y.initialValue), x(t !== "");
3677
3643
  },
3678
3644
  onFocus() {
3679
3645
  b(!0);
@@ -3691,20 +3657,20 @@ var uo = /*#__PURE__*/ a.forwardRef(function(e, t) {
3691
3657
  stateAttributesMapping: _r
3692
3658
  });
3693
3659
  });
3694
- process.env.NODE_ENV !== "production" && (uo.displayName = "FieldControl");
3660
+ process.env.NODE_ENV !== "production" && (ao.displayName = "FieldControl");
3695
3661
  //#endregion
3696
3662
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/input/Input.js
3697
- var fo = /*#__PURE__*/ a.forwardRef(function(e, t) {
3698
- return /*#__PURE__*/ b(uo, {
3663
+ var oo = /*#__PURE__*/ a.forwardRef(function(e, t) {
3664
+ return /*#__PURE__*/ b(ao, {
3699
3665
  ref: t,
3700
3666
  ...e
3701
3667
  });
3702
3668
  });
3703
- process.env.NODE_ENV !== "production" && (fo.displayName = "Input");
3669
+ process.env.NODE_ENV !== "production" && (oo.displayName = "Input");
3704
3670
  //#endregion
3705
3671
  //#region src/ui/browser/input.tsx
3706
- var po = a.forwardRef(function({ className: e, type: t, ...n }, r) {
3707
- return /* @__PURE__ */ b(fo, {
3672
+ var so = a.forwardRef(function({ className: e, type: t, ...n }, r) {
3673
+ return /* @__PURE__ */ b(oo, {
3708
3674
  ref: r,
3709
3675
  type: t,
3710
3676
  "data-slot": "input",
@@ -3714,7 +3680,7 @@ var po = a.forwardRef(function({ className: e, type: t, ...n }, r) {
3714
3680
  });
3715
3681
  //#endregion
3716
3682
  //#region src/workbench/browser/runtime/icons.tsx
3717
- function mo(e) {
3683
+ function co(e) {
3718
3684
  switch (e) {
3719
3685
  case "alert": return /* @__PURE__ */ x(y, { children: [
3720
3686
  /* @__PURE__ */ b("circle", {
@@ -3886,7 +3852,7 @@ function mo(e) {
3886
3852
  case "trigger": return /* @__PURE__ */ b(y, { children: /* @__PURE__ */ b("path", { d: "M13 2 5 14h6l-1 8 8-12h-6z" }) });
3887
3853
  }
3888
3854
  }
3889
- function ho({ name: e, size: t = 18, ...n }) {
3855
+ function lo({ name: e, size: t = 18, ...n }) {
3890
3856
  return /* @__PURE__ */ b("svg", {
3891
3857
  "aria-hidden": "true",
3892
3858
  fill: "none",
@@ -3899,13 +3865,13 @@ function ho({ name: e, size: t = 18, ...n }) {
3899
3865
  strokeLinecap: "round",
3900
3866
  strokeLinejoin: "round",
3901
3867
  strokeWidth: "1.7",
3902
- children: mo(e)
3868
+ children: co(e)
3903
3869
  })
3904
3870
  });
3905
3871
  }
3906
3872
  //#endregion
3907
3873
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/visuallyHidden.js
3908
- var go = {
3874
+ var uo = {
3909
3875
  clipPath: "inset(50%)",
3910
3876
  overflow: "hidden",
3911
3877
  whiteSpace: "nowrap",
@@ -3914,28 +3880,28 @@ var go = {
3914
3880
  width: 1,
3915
3881
  height: 1,
3916
3882
  margin: -1
3917
- }, _o = {
3918
- ...go,
3883
+ }, fo = {
3884
+ ...uo,
3919
3885
  position: "fixed",
3920
3886
  top: 0,
3921
3887
  left: 0
3922
- }, vo = {
3923
- ...go,
3888
+ }, po = {
3889
+ ...uo,
3924
3890
  position: "absolute"
3925
3891
  };
3926
3892
  //#endregion
3927
3893
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useOnFirstRender.js
3928
- function yo(e) {
3894
+ function mo(e) {
3929
3895
  let t = a.useRef(!0);
3930
3896
  t.current && (t.current = !1, e());
3931
3897
  }
3932
3898
  //#endregion
3933
3899
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useValueAsRef.js
3934
- function bo(e) {
3935
- let t = Ae(xo, e).current;
3936
- return t.next = e, W(t.effect), t;
3900
+ function ho(e) {
3901
+ let t = Ae(go, e).current;
3902
+ return t.next = e, G(t.effect), t;
3937
3903
  }
3938
- function xo(e) {
3904
+ function go(e) {
3939
3905
  let t = {
3940
3906
  current: e,
3941
3907
  next: e,
@@ -3947,7 +3913,7 @@ function xo(e) {
3947
3913
  }
3948
3914
  //#endregion
3949
3915
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/store/createSelector.js
3950
- var So = (e, t, n, r, i, a, ...o) => {
3916
+ var _o = (e, t, n, r, i, a, ...o) => {
3951
3917
  if (o.length > 0) throw Error(process.env.NODE_ENV === "production" ? tt(1) : "Unsupported number of selectors");
3952
3918
  let s;
3953
3919
  if (e && t && n && r && i && a) s = (o, s, c, l) => a(e(o, s, c, l), t(o, s, c, l), n(o, s, c, l), r(o, s, c, l), i(o, s, c, l), s, c, l);
@@ -3958,10 +3924,10 @@ var So = (e, t, n, r, i, a, ...o) => {
3958
3924
  else if (e) s = e;
3959
3925
  else throw Error("Missing arguments");
3960
3926
  return s;
3961
- }, Co = /* @__PURE__ */ t(((e, t) => {
3927
+ }, vo = /* @__PURE__ */ t(((e, t) => {
3962
3928
  t.exports = { ...a };
3963
- })), wo = /* @__PURE__ */ t(((e) => {
3964
- var t = Co();
3929
+ })), yo = /* @__PURE__ */ t(((e) => {
3930
+ var t = vo();
3965
3931
  function n(e, t) {
3966
3932
  return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
3967
3933
  }
@@ -3998,7 +3964,7 @@ var So = (e, t, n, r, i, a, ...o) => {
3998
3964
  }
3999
3965
  var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;
4000
3966
  e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;
4001
- })), To = /* @__PURE__ */ t(((e) => {
3967
+ })), bo = /* @__PURE__ */ t(((e) => {
4002
3968
  process.env.NODE_ENV !== "production" && (function() {
4003
3969
  function t(e, t) {
4004
3970
  return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -4041,13 +4007,13 @@ var So = (e, t, n, r, i, a, ...o) => {
4041
4007
  return t();
4042
4008
  }
4043
4009
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
4044
- var a = Co(), o = typeof Object.is == "function" ? Object.is : t, s = a.useState, c = a.useEffect, l = a.useLayoutEffect, u = a.useDebugValue, d = !1, f = !1, p = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? i : n;
4010
+ var a = vo(), o = typeof Object.is == "function" ? Object.is : t, s = a.useState, c = a.useEffect, l = a.useLayoutEffect, u = a.useDebugValue, d = !1, f = !1, p = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? i : n;
4045
4011
  e.useSyncExternalStore = a.useSyncExternalStore === void 0 ? p : a.useSyncExternalStore, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
4046
4012
  })();
4047
- })), Eo = /* @__PURE__ */ t(((e, t) => {
4048
- t.exports = process.env.NODE_ENV === "production" ? wo() : To();
4049
- })), Do = /* @__PURE__ */ t(((e) => {
4050
- var t = Co(), n = Eo();
4013
+ })), xo = /* @__PURE__ */ t(((e, t) => {
4014
+ t.exports = process.env.NODE_ENV === "production" ? yo() : bo();
4015
+ })), So = /* @__PURE__ */ t(((e) => {
4016
+ var t = vo(), n = xo();
4051
4017
  function r(e, t) {
4052
4018
  return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
4053
4019
  }
@@ -4091,13 +4057,13 @@ var So = (e, t, n, r, i, a, ...o) => {
4091
4057
  f.hasValue = !0, f.value = p;
4092
4058
  }, [p]), l(p), p;
4093
4059
  };
4094
- })), Oo = /* @__PURE__ */ t(((e) => {
4060
+ })), Co = /* @__PURE__ */ t(((e) => {
4095
4061
  process.env.NODE_ENV !== "production" && (function() {
4096
4062
  function t(e, t) {
4097
4063
  return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
4098
4064
  }
4099
4065
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
4100
- var n = Co(), r = Eo(), i = typeof Object.is == "function" ? Object.is : t, a = r.useSyncExternalStore, o = n.useRef, s = n.useEffect, c = n.useMemo, l = n.useDebugValue;
4066
+ var n = vo(), r = xo(), i = typeof Object.is == "function" ? Object.is : t, a = r.useSyncExternalStore, o = n.useRef, s = n.useEffect, c = n.useMemo, l = n.useDebugValue;
4101
4067
  e.useSyncExternalStoreWithSelector = function(e, t, n, r, u) {
4102
4068
  var d = o(null);
4103
4069
  if (d.current === null) {
@@ -4138,44 +4104,44 @@ var So = (e, t, n, r, i, a, ...o) => {
4138
4104
  }, [p]), l(p), p;
4139
4105
  }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
4140
4106
  })();
4141
- })), ko = /* @__PURE__ */ t(((e, t) => {
4142
- t.exports = process.env.NODE_ENV === "production" ? Do() : Oo();
4143
- })), Ao = Eo(), jo = /* @__PURE__ */ e(ko()), Mo = [], No = void 0;
4144
- function Po() {
4145
- return No;
4107
+ })), wo = /* @__PURE__ */ t(((e, t) => {
4108
+ t.exports = process.env.NODE_ENV === "production" ? So() : Co();
4109
+ })), To = xo(), Eo = /* @__PURE__ */ e(wo()), Do = [], Oo = void 0;
4110
+ function ko() {
4111
+ return Oo;
4146
4112
  }
4147
- function Fo(e) {
4148
- Mo.push(e);
4113
+ function Ao(e) {
4114
+ Do.push(e);
4149
4115
  }
4150
- function Io(e) {
4116
+ function jo(e) {
4151
4117
  let t = (t, n) => {
4152
- let r = Ae(Ro).current, i;
4118
+ let r = Ae(No).current, i;
4153
4119
  try {
4154
- No = r;
4155
- for (let e of Mo) e.before(r);
4120
+ Oo = r;
4121
+ for (let e of Do) e.before(r);
4156
4122
  i = e(t, n);
4157
- for (let e of Mo) e.after(r);
4123
+ for (let e of Do) e.after(r);
4158
4124
  r.didInitialize = !0;
4159
4125
  } finally {
4160
- No = void 0;
4126
+ Oo = void 0;
4161
4127
  }
4162
4128
  return i;
4163
4129
  };
4164
4130
  return t.displayName = e.displayName || e.name, t;
4165
4131
  }
4166
- function Lo(e) {
4167
- return /*#__PURE__*/ a.forwardRef(Io(e));
4132
+ function Mo(e) {
4133
+ return /*#__PURE__*/ a.forwardRef(jo(e));
4168
4134
  }
4169
- function Ro() {
4135
+ function No() {
4170
4136
  return { didInitialize: !1 };
4171
4137
  }
4172
4138
  //#endregion
4173
4139
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/store/useStore.js
4174
- var zo = ht(19) ? Ho : Uo;
4175
- function Bo(e, t, n, r, i) {
4176
- return zo(e, t, n, r, i);
4140
+ var Po = ht(19) ? Lo : Ro;
4141
+ function Fo(e, t, n, r, i) {
4142
+ return Po(e, t, n, r, i);
4177
4143
  }
4178
- function Vo(e, t, n, r, i) {
4144
+ function Io(e, t, n, r, i) {
4179
4145
  let o = a.useCallback(() => t(e.getSnapshot(), n, r, i), [
4180
4146
  e,
4181
4147
  t,
@@ -4183,9 +4149,9 @@ function Vo(e, t, n, r, i) {
4183
4149
  r,
4184
4150
  i
4185
4151
  ]);
4186
- return (0, Ao.useSyncExternalStore)(e.subscribe, o, o);
4152
+ return (0, To.useSyncExternalStore)(e.subscribe, o, o);
4187
4153
  }
4188
- Fo({
4154
+ Ao({
4189
4155
  before(e) {
4190
4156
  e.syncIndex = 0, e.didInitialize || (e.syncTick = 1, e.syncHooks = [], e.didChangeStore = !0, e.getSnapshot = () => {
4191
4157
  let t = !1;
@@ -4205,12 +4171,12 @@ Fo({
4205
4171
  return () => {
4206
4172
  for (let e of r) e();
4207
4173
  };
4208
- }), (0, Ao.useSyncExternalStore)(e.subscribe, e.getSnapshot, e.getSnapshot));
4174
+ }), (0, To.useSyncExternalStore)(e.subscribe, e.getSnapshot, e.getSnapshot));
4209
4175
  }
4210
4176
  });
4211
- function Ho(e, t, n, r, i) {
4212
- let a = Po();
4213
- if (!a) return Vo(e, t, n, r, i);
4177
+ function Lo(e, t, n, r, i) {
4178
+ let a = ko();
4179
+ if (!a) return Io(e, t, n, r, i);
4214
4180
  let o = a.syncIndex;
4215
4181
  a.syncIndex += 1;
4216
4182
  let s;
@@ -4224,12 +4190,12 @@ function Ho(e, t, n, r, i) {
4224
4190
  didChange: !1
4225
4191
  }, a.syncHooks.push(s)), s.value;
4226
4192
  }
4227
- function Uo(e, t, n, r, i) {
4228
- return (0, jo.useSyncExternalStoreWithSelector)(e.subscribe, e.getSnapshot, e.getSnapshot, (e) => t(e, n, r, i));
4193
+ function Ro(e, t, n, r, i) {
4194
+ return (0, Eo.useSyncExternalStoreWithSelector)(e.subscribe, e.getSnapshot, e.getSnapshot, (e) => t(e, n, r, i));
4229
4195
  }
4230
4196
  //#endregion
4231
4197
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/store/Store.js
4232
- var Wo = class {
4198
+ var zo = class {
4233
4199
  constructor(e) {
4234
4200
  this.state = e, this.listeners = /* @__PURE__ */ new Set(), this.updateTick = 0;
4235
4201
  }
@@ -4266,20 +4232,20 @@ var Wo = class {
4266
4232
  this.setState(e);
4267
4233
  }
4268
4234
  use(e, t, n, r) {
4269
- return Bo(this, e, t, n, r);
4235
+ return Fo(this, e, t, n, r);
4270
4236
  }
4271
- }, Go = class extends Wo {
4237
+ }, Bo = class extends zo {
4272
4238
  constructor(e, t = {}, n) {
4273
4239
  super(e), this.context = t, this.selectors = n;
4274
4240
  }
4275
4241
  useSyncedValue(e, t) {
4276
- a.useDebugValue(e), W(() => {
4242
+ a.useDebugValue(e), G(() => {
4277
4243
  this.state[e] !== t && this.set(e, t);
4278
4244
  }, [e, t]);
4279
4245
  }
4280
4246
  useSyncedValueWithCleanup(e, t) {
4281
4247
  let n = this;
4282
- W(() => (n.state[e] !== t && n.set(e, t), () => {
4248
+ G(() => (n.state[e] !== t && n.set(e, t), () => {
4283
4249
  n.set(e, void 0);
4284
4250
  }), [
4285
4251
  n,
@@ -4294,14 +4260,14 @@ var Wo = class {
4294
4260
  let t = a.useRef(Object.keys(e)).current, n = Object.keys(e);
4295
4261
  (t.length !== n.length || t.some((e, t) => e !== n[t])) && console.error("ReactStore.useSyncedValues expects the same prop keys on every render. Keys should be stable.");
4296
4262
  }
4297
- W(() => {
4263
+ G(() => {
4298
4264
  t.update(e);
4299
4265
  }, [t, ...Object.values(e)]);
4300
4266
  }
4301
4267
  useControlledProp(e, t) {
4302
4268
  a.useDebugValue(e);
4303
4269
  let n = t !== void 0;
4304
- if (W(() => {
4270
+ if (G(() => {
4305
4271
  n && !Object.is(this.state[e], t) && super.setState({
4306
4272
  ...this.state,
4307
4273
  [e]: t
@@ -4322,11 +4288,11 @@ var Wo = class {
4322
4288
  return i(this.state, t, n, r);
4323
4289
  }
4324
4290
  useState(e, t, n, r) {
4325
- return a.useDebugValue(e), Bo(this, this.selectors[e], t, n, r);
4291
+ return a.useDebugValue(e), Fo(this, this.selectors[e], t, n, r);
4326
4292
  }
4327
4293
  useContextCallback(e, t) {
4328
4294
  a.useDebugValue(e);
4329
- let n = U(t ?? G);
4295
+ let n = W(t ?? K);
4330
4296
  this.context[e] = n;
4331
4297
  }
4332
4298
  useStateSetter(e) {
@@ -4350,7 +4316,7 @@ var Wo = class {
4350
4316
  };
4351
4317
  //#endregion
4352
4318
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/mergeCleanups.js
4353
- function Ko(...e) {
4319
+ function Vo(...e) {
4354
4320
  return () => {
4355
4321
  for (let t = 0; t < e.length; t += 1) {
4356
4322
  let n = e[t];
@@ -4367,10 +4333,10 @@ function $(e, t, n, r) {
4367
4333
  }
4368
4334
  //#endregion
4369
4335
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/FocusGuard.js
4370
- var qo = /*#__PURE__*/ a.forwardRef(function(e, t) {
4336
+ var Ho = /*#__PURE__*/ a.forwardRef(function(e, t) {
4371
4337
  let [n, r] = a.useState();
4372
- W(() => {
4373
- Fr && r("button");
4338
+ G(() => {
4339
+ Pr && r("button");
4374
4340
  }, []);
4375
4341
  let i = {
4376
4342
  tabIndex: 0,
@@ -4379,110 +4345,110 @@ var qo = /*#__PURE__*/ a.forwardRef(function(e, t) {
4379
4345
  return /*#__PURE__*/ b("span", {
4380
4346
  ...e,
4381
4347
  ref: t,
4382
- style: _o,
4348
+ style: fo,
4383
4349
  "aria-hidden": !n || void 0,
4384
4350
  ...i,
4385
4351
  "data-base-ui-focus-guard": ""
4386
4352
  });
4387
4353
  });
4388
- process.env.NODE_ENV !== "production" && (qo.displayName = "FocusGuard");
4354
+ process.env.NODE_ENV !== "production" && (Ho.displayName = "FocusGuard");
4389
4355
  //#endregion
4390
4356
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/createAttribute.js
4391
- function Jo(e) {
4357
+ function Uo(e) {
4392
4358
  return `data-base-ui-${e}`;
4393
4359
  }
4394
4360
  //#endregion
4395
4361
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/enqueueFocus.js
4396
- var Yo = 0;
4397
- function Xo(e, t = {}) {
4362
+ var Wo = 0;
4363
+ function Go(e, t = {}) {
4398
4364
  let { preventScroll: n = !1, cancelPrevious: r = !0, sync: i = !1 } = t;
4399
- r && cancelAnimationFrame(Yo);
4365
+ r && cancelAnimationFrame(Wo);
4400
4366
  let a = () => e?.focus({ preventScroll: n });
4401
- if (i) return a(), G;
4367
+ if (i) return a(), K;
4402
4368
  let o = requestAnimationFrame(a);
4403
- return Yo = o, () => {
4404
- Yo === o && (cancelAnimationFrame(o), Yo = 0);
4369
+ return Wo = o, () => {
4370
+ Wo === o && (cancelAnimationFrame(o), Wo = 0);
4405
4371
  };
4406
4372
  }
4407
4373
  //#endregion
4408
4374
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/markOthers.js
4409
- var Zo = {
4375
+ var Ko = {
4410
4376
  inert: /* @__PURE__ */ new WeakMap(),
4411
4377
  "aria-hidden": /* @__PURE__ */ new WeakMap()
4412
- }, Qo = "data-base-ui-inert", $o = {
4378
+ }, qo = "data-base-ui-inert", Jo = {
4413
4379
  inert: /* @__PURE__ */ new WeakSet(),
4414
4380
  "aria-hidden": /* @__PURE__ */ new WeakSet()
4415
- }, es = /* @__PURE__ */ new WeakMap(), ts = 0;
4416
- function ns(e) {
4417
- return $o[e];
4381
+ }, Yo = /* @__PURE__ */ new WeakMap(), Xo = 0;
4382
+ function Zo(e) {
4383
+ return Jo[e];
4418
4384
  }
4419
- function rs(e) {
4420
- return e ? de(e) ? e.host : rs(e.parentNode) : null;
4385
+ function Qo(e) {
4386
+ return e ? de(e) ? e.host : Qo(e.parentNode) : null;
4421
4387
  }
4422
- var is = (e, t) => t.map((t) => {
4388
+ var $o = (e, t) => t.map((t) => {
4423
4389
  if (e.contains(t)) return t;
4424
- let n = rs(t);
4390
+ let n = Qo(t);
4425
4391
  return e.contains(n) ? n : null;
4426
- }).filter((e) => e != null), as = (e) => {
4392
+ }).filter((e) => e != null), es = (e) => {
4427
4393
  let t = /* @__PURE__ */ new Set();
4428
4394
  return e.forEach((e) => {
4429
4395
  let n = e;
4430
4396
  for (; n && !t.has(n);) t.add(n), n = n.parentNode;
4431
4397
  }), t;
4432
- }, os = (e, t, n) => {
4398
+ }, ts = (e, t, n) => {
4433
4399
  let r = [], i = (e) => {
4434
4400
  !e || n.has(e) || Array.from(e.children).forEach((e) => {
4435
- B(e) !== "script" && (t.has(e) ? i(e) : r.push(e));
4401
+ V(e) !== "script" && (t.has(e) ? i(e) : r.push(e));
4436
4402
  });
4437
4403
  };
4438
4404
  return i(e), r;
4439
4405
  };
4440
- function ss(e, t, n, r, { mark: i = !0, markerIgnoreElements: a = [] }) {
4441
- let o = r ? "inert" : n ? "aria-hidden" : null, s = null, c = null, l = is(t, e), u = i ? is(t, a) : [], d = new Set(u), f = i ? os(t, as(l), new Set(l)).filter((e) => !d.has(e)) : [], p = [], m = [];
4406
+ function ns(e, t, n, r, { mark: i = !0, markerIgnoreElements: a = [] }) {
4407
+ let o = r ? "inert" : n ? "aria-hidden" : null, s = null, c = null, l = $o(t, e), u = i ? $o(t, a) : [], d = new Set(u), f = i ? ts(t, es(l), new Set(l)).filter((e) => !d.has(e)) : [], p = [], m = [];
4442
4408
  if (o) {
4443
- let e = Zo[o], n = ns(o);
4409
+ let e = Ko[o], n = Zo(o);
4444
4410
  c = n, s = e;
4445
- let r = is(t, Array.from(t.querySelectorAll("[aria-live]"))), i = l.concat(r);
4446
- os(t, as(i), new Set(i)).forEach((t) => {
4411
+ let r = $o(t, Array.from(t.querySelectorAll("[aria-live]"))), i = l.concat(r);
4412
+ ts(t, es(i), new Set(i)).forEach((t) => {
4447
4413
  let r = t.getAttribute(o), i = r !== null && r !== "false", a = (e.get(t) || 0) + 1;
4448
4414
  e.set(t, a), p.push(t), a === 1 && i && n.add(t), i || t.setAttribute(o, o === "inert" ? "" : "true");
4449
4415
  });
4450
4416
  }
4451
4417
  return i && f.forEach((e) => {
4452
- let t = (es.get(e) || 0) + 1;
4453
- es.set(e, t), m.push(e), t === 1 && e.setAttribute(Qo, "");
4454
- }), ts += 1, () => {
4418
+ let t = (Yo.get(e) || 0) + 1;
4419
+ Yo.set(e, t), m.push(e), t === 1 && e.setAttribute(qo, "");
4420
+ }), Xo += 1, () => {
4455
4421
  s && p.forEach((e) => {
4456
4422
  let t = (s.get(e) || 0) - 1;
4457
4423
  s.set(e, t), t || (!c?.has(e) && o && e.removeAttribute(o), c?.delete(e));
4458
4424
  }), i && m.forEach((e) => {
4459
- let t = (es.get(e) || 0) - 1;
4460
- es.set(e, t), t || e.removeAttribute(Qo);
4461
- }), --ts, ts || (Zo.inert = /* @__PURE__ */ new WeakMap(), Zo["aria-hidden"] = /* @__PURE__ */ new WeakMap(), $o.inert = /* @__PURE__ */ new WeakSet(), $o["aria-hidden"] = /* @__PURE__ */ new WeakSet(), es = /* @__PURE__ */ new WeakMap());
4425
+ let t = (Yo.get(e) || 0) - 1;
4426
+ Yo.set(e, t), t || e.removeAttribute(qo);
4427
+ }), --Xo, Xo || (Ko.inert = /* @__PURE__ */ new WeakMap(), Ko["aria-hidden"] = /* @__PURE__ */ new WeakMap(), Jo.inert = /* @__PURE__ */ new WeakSet(), Jo["aria-hidden"] = /* @__PURE__ */ new WeakSet(), Yo = /* @__PURE__ */ new WeakMap());
4462
4428
  };
4463
4429
  }
4464
- function cs(e, t = {}) {
4465
- let { ariaHidden: n = !1, inert: r = !1, mark: i = !0, markerIgnoreElements: a = [] } = t, o = X(e[0]).body;
4466
- return ss(e, o, n, r, {
4430
+ function rs(e, t = {}) {
4431
+ let { ariaHidden: n = !1, inert: r = !1, mark: i = !0, markerIgnoreElements: a = [] } = t, o = Z(e[0]).body;
4432
+ return ns(e, o, n, r, {
4467
4433
  mark: i,
4468
4434
  markerIgnoreElements: a
4469
4435
  });
4470
4436
  }
4471
4437
  //#endregion
4472
4438
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/constants.js
4473
- var ls = { style: { transition: "none" } }, us = "data-base-ui-click-trigger", ds = { fallbackAxisSide: "none" }, fs = { fallbackAxisSide: "end" }, ps = {
4439
+ var is = { style: { transition: "none" } }, as = "data-base-ui-click-trigger", os = { fallbackAxisSide: "none" }, ss = { fallbackAxisSide: "end" }, cs = {
4474
4440
  clipPath: "inset(50%)",
4475
4441
  position: "fixed",
4476
4442
  top: 0,
4477
4443
  left: 0
4478
- }, ms = /*#__PURE__*/ a.createContext(null);
4479
- process.env.NODE_ENV !== "production" && (ms.displayName = "PortalContext");
4480
- var hs = () => a.useContext(ms), gs = Jo("portal");
4481
- function _s(e = {}) {
4482
- let { ref: t, container: n, componentProps: r = bt, elementProps: i } = e, o = Cr(), s = hs()?.portalNode, [c, l] = a.useState(null), [u, d] = a.useState(null), f = U((e) => {
4444
+ }, ls = /*#__PURE__*/ a.createContext(null);
4445
+ process.env.NODE_ENV !== "production" && (ls.displayName = "PortalContext");
4446
+ var us = () => a.useContext(ls), ds = Uo("portal");
4447
+ function fs(e = {}) {
4448
+ let { ref: t, container: n, componentProps: r = bt, elementProps: i } = e, o = Cr(), s = us()?.portalNode, [c, l] = a.useState(null), [u, d] = a.useState(null), f = W((e) => {
4483
4449
  e !== null && d(e);
4484
4450
  }), p = a.useRef(null);
4485
- W(() => {
4451
+ G(() => {
4486
4452
  if (n === null) {
4487
4453
  p.current && (p.current = null, d(null), l(null));
4488
4454
  return;
@@ -4503,7 +4469,7 @@ function _s(e = {}) {
4503
4469
  ref: [t, f],
4504
4470
  props: [{
4505
4471
  id: o,
4506
- [gs]: ""
4472
+ [ds]: ""
4507
4473
  }, i]
4508
4474
  });
4509
4475
  return {
@@ -4511,8 +4477,8 @@ function _s(e = {}) {
4511
4477
  portalSubtree: c && m ? /*#__PURE__*/ S.createPortal(m, c) : null
4512
4478
  };
4513
4479
  }
4514
- var vs = /*#__PURE__*/ a.forwardRef(function(e, t) {
4515
- let { children: n, container: r, className: i, render: o, renderGuards: s, style: c, ...l } = e, { portalNode: u, portalSubtree: d } = _s({
4480
+ var ps = /*#__PURE__*/ a.forwardRef(function(e, t) {
4481
+ let { children: n, container: r, className: i, render: o, renderGuards: s, style: c, ...l } = e, { portalNode: u, portalSubtree: d } = fs({
4516
4482
  container: r,
4517
4483
  ref: t,
4518
4484
  componentProps: e,
@@ -4523,7 +4489,7 @@ var vs = /*#__PURE__*/ a.forwardRef(function(e, t) {
4523
4489
  function e(e) {
4524
4490
  u && e.relatedTarget && ya(e) && (e.type === "focusin" ? v.current &&= (xa(u), !1) : (ba(u), v.current = !0));
4525
4491
  }
4526
- return Ko($(u, "focusin", e, !0), $(u, "focusout", e, !0));
4492
+ return Vo($(u, "focusin", e, !0), $(u, "focusout", e, !0));
4527
4493
  }, [u, y]), a.useEffect(() => {
4528
4494
  !u || C !== !1 || (xa(u), v.current = !1);
4529
4495
  }, [C, u]);
@@ -4535,10 +4501,10 @@ var vs = /*#__PURE__*/ a.forwardRef(function(e, t) {
4535
4501
  portalNode: u,
4536
4502
  setFocusManagerState: _
4537
4503
  }), [u]);
4538
- return /*#__PURE__*/ x(a.Fragment, { children: [d, /*#__PURE__*/ x(ms.Provider, {
4504
+ return /*#__PURE__*/ x(a.Fragment, { children: [d, /*#__PURE__*/ x(ls.Provider, {
4539
4505
  value: T,
4540
4506
  children: [
4541
- w && u && /*#__PURE__*/ b(qo, {
4507
+ w && u && /*#__PURE__*/ b(Ho, {
4542
4508
  "data-type": "outside",
4543
4509
  ref: f,
4544
4510
  onFocus: (e) => {
@@ -4547,23 +4513,23 @@ var vs = /*#__PURE__*/ a.forwardRef(function(e, t) {
4547
4513
  }),
4548
4514
  w && u && /*#__PURE__*/ b("span", {
4549
4515
  "aria-owns": u.id,
4550
- style: ps
4516
+ style: cs
4551
4517
  }),
4552
4518
  u && /*#__PURE__*/ S.createPortal(n, u),
4553
- w && u && /*#__PURE__*/ b(qo, {
4519
+ w && u && /*#__PURE__*/ b(Ho, {
4554
4520
  "data-type": "outside",
4555
4521
  ref: p,
4556
4522
  onFocus: (e) => {
4557
- ya(e, u) ? h.current?.focus() : (ma(g ? g.domReference : null)?.focus(), g?.closeOnFocusOut && g?.onOpenChange(!1, co("focus-out", e.nativeEvent)));
4523
+ ya(e, u) ? h.current?.focus() : (ma(g ? g.domReference : null)?.focus(), g?.closeOnFocusOut && g?.onOpenChange(!1, io("focus-out", e.nativeEvent)));
4558
4524
  }
4559
4525
  })
4560
4526
  ]
4561
4527
  })] });
4562
4528
  });
4563
- process.env.NODE_ENV !== "production" && (vs.displayName = "FloatingPortal");
4529
+ process.env.NODE_ENV !== "production" && (ps.displayName = "FloatingPortal");
4564
4530
  //#endregion
4565
4531
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/createEventEmitter.js
4566
- function ys() {
4532
+ function ms() {
4567
4533
  let e = /* @__PURE__ */ new Map();
4568
4534
  return {
4569
4535
  emit(t, n) {
@@ -4579,9 +4545,9 @@ function ys() {
4579
4545
  }
4580
4546
  //#endregion
4581
4547
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingTreeStore.js
4582
- var bs = class {
4548
+ var hs = class {
4583
4549
  nodesRef = { current: [] };
4584
- events = ys();
4550
+ events = ms();
4585
4551
  addNode(e) {
4586
4552
  this.nodesRef.current.push(e);
4587
4553
  }
@@ -4589,17 +4555,17 @@ var bs = class {
4589
4555
  let t = this.nodesRef.current.findIndex((t) => t === e);
4590
4556
  t !== -1 && this.nodesRef.current.splice(t, 1);
4591
4557
  }
4592
- }, xs = /*#__PURE__*/ a.createContext(null);
4593
- process.env.NODE_ENV !== "production" && (xs.displayName = "FloatingNodeContext");
4594
- var Ss = /*#__PURE__*/ a.createContext(null);
4595
- process.env.NODE_ENV !== "production" && (Ss.displayName = "FloatingTreeContext");
4596
- var Cs = () => a.useContext(xs)?.id || null, ws = (e) => {
4597
- let t = a.useContext(Ss);
4558
+ }, gs = /*#__PURE__*/ a.createContext(null);
4559
+ process.env.NODE_ENV !== "production" && (gs.displayName = "FloatingNodeContext");
4560
+ var _s = /*#__PURE__*/ a.createContext(null);
4561
+ process.env.NODE_ENV !== "production" && (_s.displayName = "FloatingTreeContext");
4562
+ var vs = () => a.useContext(gs)?.id || null, ys = (e) => {
4563
+ let t = a.useContext(_s);
4598
4564
  return e ?? t;
4599
4565
  };
4600
- function Ts(e) {
4601
- let t = Cr(), n = ws(e), r = Cs();
4602
- return W(() => {
4566
+ function bs(e) {
4567
+ let t = Cr(), n = ys(e), r = vs();
4568
+ return G(() => {
4603
4569
  if (!t) return;
4604
4570
  let e = {
4605
4571
  id: t,
@@ -4614,9 +4580,9 @@ function Ts(e) {
4614
4580
  r
4615
4581
  ]), t;
4616
4582
  }
4617
- function Es(e) {
4618
- let { children: t, id: n } = e, r = Cs();
4619
- return /*#__PURE__*/ b(xs.Provider, {
4583
+ function xs(e) {
4584
+ let { children: t, id: n } = e, r = vs();
4585
+ return /*#__PURE__*/ b(gs.Provider, {
4620
4586
  value: a.useMemo(() => ({
4621
4587
  id: n,
4622
4588
  parentId: r
@@ -4624,33 +4590,33 @@ function Es(e) {
4624
4590
  children: t
4625
4591
  });
4626
4592
  }
4627
- function Ds(e) {
4628
- let { children: t, externalTree: n } = e, r = Ae(() => n ?? new bs()).current;
4629
- return /*#__PURE__*/ b(Ss.Provider, {
4593
+ function Ss(e) {
4594
+ let { children: t, externalTree: n } = e, r = Ae(() => n ?? new hs()).current;
4595
+ return /*#__PURE__*/ b(_s.Provider, {
4630
4596
  value: r,
4631
4597
  children: t
4632
4598
  });
4633
4599
  }
4634
4600
  //#endregion
4635
4601
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingFocusManager.js
4636
- function Os(e, t) {
4637
- let n = V(Yr(e));
4602
+ function Cs(e, t) {
4603
+ let n = H(Jr(e));
4638
4604
  return e instanceof n.KeyboardEvent ? "keyboard" : e instanceof n.FocusEvent ? t || "keyboard" : "pointerType" in e ? e.pointerType || "keyboard" : "touches" in e ? "touch" : e instanceof n.MouseEvent ? t || (e.detail === 0 ? "keyboard" : "mouse") : "";
4639
4605
  }
4640
- var ks = 20, As = [];
4641
- function js() {
4642
- As = As.filter((e) => e.deref()?.isConnected);
4606
+ var ws = 20, Ts = [];
4607
+ function Es() {
4608
+ Ts = Ts.filter((e) => e.deref()?.isConnected);
4643
4609
  }
4644
- function Ms(e) {
4645
- js(), e && B(e) !== "body" && (As.push(new WeakRef(e)), As.length > ks && (As = As.slice(-20)));
4610
+ function Ds(e) {
4611
+ Es(), e && V(e) !== "body" && (Ts.push(new WeakRef(e)), Ts.length > ws && (Ts = Ts.slice(-20)));
4646
4612
  }
4647
- function Ns() {
4648
- return js(), As[As.length - 1]?.deref();
4613
+ function Os() {
4614
+ return Es(), Ts[Ts.length - 1]?.deref();
4649
4615
  }
4650
- function Ps(e) {
4616
+ function ks(e) {
4651
4617
  return e ? ua(e) ? e : fa(e)[0] || e : null;
4652
4618
  }
4653
- function Fs(e, t) {
4619
+ function As(e, t) {
4654
4620
  if (e.hasAttribute("tabindex") && !e.hasAttribute("data-tabindex") || !t.current.includes("floating") && !e.getAttribute("role")?.includes("dialog")) return;
4655
4621
  let n = da(e).filter((e) => {
4656
4622
  let t = e.getAttribute("data-tabindex") || "";
@@ -4658,14 +4624,14 @@ function Fs(e, t) {
4658
4624
  }), r = e.getAttribute("tabindex");
4659
4625
  t.current.includes("floating") || n.length === 0 ? r !== "0" && e.setAttribute("tabindex", "0") : (r !== "-1" || e.hasAttribute("data-tabindex") && e.getAttribute("data-tabindex") !== "-1") && (e.setAttribute("tabindex", "-1"), e.setAttribute("data-tabindex", "-1"));
4660
4626
  }
4661
- function Is(e) {
4662
- let { context: t, children: n, disabled: r = !1, initialFocus: i = !0, returnFocus: o = !0, restoreFocus: s = !1, modal: c = !0, closeOnFocusOut: l = !0, openInteractionType: u = "", nextFocusableElement: d, previousFocusableElement: f, beforeContentFocusGuardRef: p, externalTree: m, getInsideElements: h } = e, g = "rootStore" in t ? t.rootStore : t, _ = g.useState("open"), v = g.useState("domReferenceElement"), y = g.useState("floatingElement"), { events: S, dataRef: C } = g.context, w = U(() => C.current.floatingContext?.nodeId), T = i === !1, E = ti(v) && T, D = a.useRef(["content"]), O = bo(i), k = bo(o), ee = bo(u), A = ws(m), j = hs(), M = a.useRef(!1), N = a.useRef(!1), P = a.useRef(!1), F = a.useRef(null), te = a.useRef(""), ne = a.useRef(""), re = a.useRef(null), ie = a.useRef(null), I = ct(re, p, j?.beforeInsideRef), L = ct(ie, j?.afterInsideRef), ae = Ea(), oe = Ea(), R = ja(), se = j != null, z = ri(y), B = U((e = z) => e ? fa(e) : []), V = U(() => h?.().filter((e) => e != null) ?? []);
4627
+ function js(e) {
4628
+ let { context: t, children: n, disabled: r = !1, initialFocus: i = !0, returnFocus: o = !0, restoreFocus: s = !1, modal: c = !0, closeOnFocusOut: l = !0, openInteractionType: u = "", nextFocusableElement: d, previousFocusableElement: f, beforeContentFocusGuardRef: p, externalTree: m, getInsideElements: h } = e, g = "rootStore" in t ? t.rootStore : t, _ = g.useState("open"), v = g.useState("domReferenceElement"), y = g.useState("floatingElement"), { events: S, dataRef: C } = g.context, w = W(() => C.current.floatingContext?.nodeId), T = i === !1, E = ei(v) && T, D = a.useRef(["content"]), O = ho(i), k = ho(o), ee = ho(u), A = ys(m), j = us(), M = a.useRef(!1), te = a.useRef(!1), N = a.useRef(!1), P = a.useRef(null), ne = a.useRef(""), re = a.useRef(""), ie = a.useRef(null), ae = a.useRef(null), F = ct(ie, p, j?.beforeInsideRef), I = ct(ae, j?.afterInsideRef), L = Ea(), oe = Ea(), R = ja(), se = j != null, z = ni(y), B = W((e = z) => e ? fa(e) : []), V = W(() => h?.().filter((e) => e != null) ?? []);
4663
4629
  a.useEffect(() => {
4664
4630
  if (r || !c) return;
4665
4631
  function e(e) {
4666
- e.key === "Tab" && Z(z, Jr(X(z))) && B().length === 0 && !E && oi(e);
4632
+ e.key === "Tab" && Q(z, qr(Z(z))) && B().length === 0 && !E && ai(e);
4667
4633
  }
4668
- return $(X(z), "keydown", e);
4634
+ return $(Z(z), "keydown", e);
4669
4635
  }, [
4670
4636
  r,
4671
4637
  v,
@@ -4676,18 +4642,18 @@ function Is(e) {
4676
4642
  B
4677
4643
  ]), a.useEffect(() => {
4678
4644
  if (r || !_) return;
4679
- let e = X(z);
4645
+ let e = Z(z);
4680
4646
  function t() {
4681
- P.current = !1;
4647
+ N.current = !1;
4682
4648
  }
4683
4649
  function n(e) {
4684
- let t = Yr(e), n = V(), r = Z(y, t) || Z(v, t) || Z(j?.portalNode, t) || n.some((e) => e === t || Z(e, t));
4685
- P.current = !r, ne.current = e.pointerType || "keyboard", t?.closest("[data-base-ui-click-trigger]") && (N.current = !0);
4650
+ let t = Jr(e), n = V(), r = Q(y, t) || Q(v, t) || Q(j?.portalNode, t) || n.some((e) => e === t || Q(e, t));
4651
+ N.current = !r, re.current = e.pointerType || "keyboard", t?.closest("[data-base-ui-click-trigger]") && (te.current = !0);
4686
4652
  }
4687
4653
  function i() {
4688
- ne.current = "keyboard";
4654
+ re.current = "keyboard";
4689
4655
  }
4690
- return Ko($(e, "pointerdown", n, !0), $(e, "pointerup", t, !0), $(e, "pointercancel", t, !0), $(e, "keydown", i, !0));
4656
+ return Vo($(e, "pointerdown", n, !0), $(e, "pointerup", t, !0), $(e, "pointercancel", t, !0), $(e, "keydown", i, !0));
4691
4657
  }, [
4692
4658
  r,
4693
4659
  y,
@@ -4698,53 +4664,53 @@ function Is(e) {
4698
4664
  V
4699
4665
  ]), a.useEffect(() => {
4700
4666
  if (r || !l) return;
4701
- let e = X(z);
4667
+ let e = Z(z);
4702
4668
  function t() {
4703
- N.current = !0, oe.start(0, () => {
4704
- N.current = !1;
4669
+ te.current = !0, oe.start(0, () => {
4670
+ te.current = !1;
4705
4671
  });
4706
4672
  }
4707
4673
  function n(e) {
4708
- let t = Yr(e);
4709
- ua(t) && (F.current = t);
4674
+ let t = Jr(e);
4675
+ ua(t) && (P.current = t);
4710
4676
  }
4711
4677
  function i(t) {
4712
- let n = t.relatedTarget, r = t.currentTarget, i = Yr(t);
4678
+ let n = t.relatedTarget, r = t.currentTarget, i = Jr(t);
4713
4679
  queueMicrotask(() => {
4714
- let a = w(), o = g.context.triggerElements, l = V(), u = n?.hasAttribute(Jo("focus-guard")) && [
4715
- re.current,
4680
+ let a = w(), o = g.context.triggerElements, l = V(), u = n?.hasAttribute(Uo("focus-guard")) && [
4716
4681
  ie.current,
4682
+ ae.current,
4717
4683
  j?.beforeInsideRef.current,
4718
4684
  j?.afterInsideRef.current,
4719
4685
  j?.beforeOutsideRef.current,
4720
4686
  j?.afterOutsideRef.current,
4721
4687
  Ma(f),
4722
4688
  Ma(d)
4723
- ].includes(n), p = !(Z(v, n) || Z(y, n) || Z(n, y) || Z(j?.portalNode, n) || l.some((e) => e === n || Z(e, n)) || n != null && o.hasElement(n) || o.hasMatchingElement((e) => Z(e, n)) || u || A && (ii(A.nodesRef.current, a).find((e) => Z(e.context?.elements.floating, n) || Z(e.context?.elements.domReference, n)) || ai(A.nodesRef.current, a).find((e) => [e.context?.elements.floating, ri(e.context?.elements.floating)].includes(n) || e.context?.elements.domReference === n)));
4724
- if (r === v && z && Fs(z, D), s && r !== v && !Xi(i) && Jr(e) === e.body) {
4725
- if (H(z) && (z.focus(), s === "popup")) {
4689
+ ].includes(n), p = !(Q(v, n) || Q(y, n) || Q(n, y) || Q(j?.portalNode, n) || l.some((e) => e === n || Q(e, n)) || n != null && o.hasElement(n) || o.hasMatchingElement((e) => Q(e, n)) || u || A && (ri(A.nodesRef.current, a).find((e) => Q(e.context?.elements.floating, n) || Q(e.context?.elements.domReference, n)) || ii(A.nodesRef.current, a).find((e) => [e.context?.elements.floating, ni(e.context?.elements.floating)].includes(n) || e.context?.elements.domReference === n)));
4690
+ if (r === v && z && As(z, D), s && r !== v && !Xi(i) && qr(e) === e.body) {
4691
+ if (U(z) && (z.focus(), s === "popup")) {
4726
4692
  R.request(() => {
4727
4693
  z.focus();
4728
4694
  });
4729
4695
  return;
4730
4696
  }
4731
- let e = B(), t = F.current, n = (t && e.includes(t) ? t : null) || e[e.length - 1] || z;
4732
- H(n) && n.focus();
4697
+ let e = B(), t = P.current, n = (t && e.includes(t) ? t : null) || e[e.length - 1] || z;
4698
+ U(n) && n.focus();
4733
4699
  }
4734
4700
  if (C.current.insideReactTree) {
4735
4701
  C.current.insideReactTree = !1;
4736
4702
  return;
4737
4703
  }
4738
- (E || !c) && n && p && !N.current && (E || n !== Ns()) && (M.current = !0, g.setOpen(!1, co(eo, t)));
4704
+ (E || !c) && n && p && !te.current && (E || n !== Os()) && (M.current = !0, g.setOpen(!1, io(Xa, t)));
4739
4705
  });
4740
4706
  }
4741
4707
  function a() {
4742
- P.current || (C.current.insideReactTree = !0, ae.start(0, () => {
4708
+ N.current || (C.current.insideReactTree = !0, L.start(0, () => {
4743
4709
  C.current.insideReactTree = !1;
4744
4710
  }));
4745
4711
  }
4746
- let o = H(v) ? v : null;
4747
- if (!(!y && !o)) return Ko(o && $(o, "focusout", i), o && $(o, "pointerdown", t), y && $(y, "focusin", n), y && $(y, "focusout", i), y && j && $(y, "focusout", a, !0));
4712
+ let o = U(v) ? v : null;
4713
+ if (!(!y && !o)) return Vo(o && $(o, "focusout", i), o && $(o, "pointerdown", t), y && $(y, "focusin", n), y && $(y, "focusout", i), y && j && $(y, "focusout", a, !0));
4748
4714
  }, [
4749
4715
  r,
4750
4716
  v,
@@ -4761,7 +4727,7 @@ function Is(e) {
4761
4727
  w,
4762
4728
  D,
4763
4729
  C,
4764
- ae,
4730
+ L,
4765
4731
  oe,
4766
4732
  R,
4767
4733
  d,
@@ -4769,11 +4735,11 @@ function Is(e) {
4769
4735
  V
4770
4736
  ]), a.useEffect(() => {
4771
4737
  if (r || !y || !_) return;
4772
- let e = Array.from(j?.portalNode?.querySelectorAll(`[${Jo("portal")}]`) || []), t = (A ? ai(A.nodesRef.current, w()) : []).find((e) => ti(e.context?.elements.domReference || null))?.context?.elements.domReference, n = cs([
4738
+ let e = Array.from(j?.portalNode?.querySelectorAll(`[${Uo("portal")}]`) || []), t = (A ? ii(A.nodesRef.current, w()) : []).find((e) => ei(e.context?.elements.domReference || null))?.context?.elements.domReference, n = rs([
4773
4739
  y,
4774
4740
  ...e,
4775
- re.current,
4776
4741
  ie.current,
4742
+ ae.current,
4777
4743
  j?.beforeOutsideRef.current,
4778
4744
  j?.afterOutsideRef.current,
4779
4745
  ...V(),
@@ -4784,7 +4750,7 @@ function Is(e) {
4784
4750
  ].filter((e) => e != null), {
4785
4751
  ariaHidden: c || E,
4786
4752
  mark: !1
4787
- }), i = cs([y, ...e].filter((e) => e != null));
4753
+ }), i = rs([y, ...e].filter((e) => e != null));
4788
4754
  return () => {
4789
4755
  i(), n();
4790
4756
  };
@@ -4802,14 +4768,14 @@ function Is(e) {
4802
4768
  d,
4803
4769
  f,
4804
4770
  V
4805
- ]), W(() => {
4806
- if (!_ || r || !H(z)) return;
4807
- let e = Jr(X(z));
4771
+ ]), G(() => {
4772
+ if (!_ || r || !U(z)) return;
4773
+ let e = qr(Z(z));
4808
4774
  queueMicrotask(() => {
4809
4775
  let t = O.current, n = typeof t == "function" ? t(ee.current || "") : t;
4810
- if (n === void 0 || n === !1 || Z(z, e)) return;
4776
+ if (n === void 0 || n === !1 || Q(z, e)) return;
4811
4777
  let r = null, i = () => (r ??= B(z), r[0] || z), a;
4812
- a = n === !0 || n === null ? i() : Ma(n), a ||= i(), Xo(a, { preventScroll: a === z });
4778
+ a = n === !0 || n === null ? i() : Ma(n), a ||= i(), Go(a, { preventScroll: a === z });
4813
4779
  });
4814
4780
  }, [
4815
4781
  r,
@@ -4819,17 +4785,17 @@ function Is(e) {
4819
4785
  B,
4820
4786
  O,
4821
4787
  ee
4822
- ]), W(() => {
4788
+ ]), G(() => {
4823
4789
  if (r || !z) return;
4824
- let e = X(z);
4825
- Ms(Jr(e));
4790
+ let e = Z(z);
4791
+ Ds(qr(e));
4826
4792
  function t(e) {
4827
- if (e.open || (te.current = Os(e.nativeEvent, ne.current)), e.reason === "trigger-hover" && e.nativeEvent.type === "mouseleave" && (M.current = !0), e.reason === "outside-press") {
4793
+ if (e.open || (ne.current = Cs(e.nativeEvent, re.current)), e.reason === "trigger-hover" && e.nativeEvent.type === "mouseleave" && (M.current = !0), e.reason === "outside-press") {
4828
4794
  if (e.nested) M.current = !1;
4829
- else if (ci(e.nativeEvent) || li(e.nativeEvent)) M.current = !1;
4795
+ else if (si(e.nativeEvent) || ci(e.nativeEvent)) M.current = !1;
4830
4796
  else {
4831
4797
  let e = !1;
4832
- X(z).createElement("div").focus({ get preventScroll() {
4798
+ Z(z).createElement("div").focus({ get preventScroll() {
4833
4799
  return e = !0, !1;
4834
4800
  } }), e ? M.current = !1 : M.current = !0;
4835
4801
  }
@@ -4837,21 +4803,21 @@ function Is(e) {
4837
4803
  }
4838
4804
  S.on("openchange", t);
4839
4805
  function n() {
4840
- let e = k.current, t = typeof e == "function" ? e(te.current) : e;
4806
+ let e = k.current, t = typeof e == "function" ? e(ne.current) : e;
4841
4807
  if (t === void 0 || t === !1) return null;
4842
4808
  if (t === null && (t = !0), typeof t == "boolean") {
4843
- let e = v || Ns();
4809
+ let e = v || Os();
4844
4810
  return e && e.isConnected ? e : null;
4845
4811
  }
4846
- let n = v || Ns();
4812
+ let n = v || Os();
4847
4813
  return Ma(t) || n || null;
4848
4814
  }
4849
4815
  return () => {
4850
4816
  S.off("openchange", t);
4851
- let r = Jr(e), i = V(), a = Z(y, r) || i.some((e) => e === r || Z(e, r)) || A && ii(A.nodesRef.current, w(), !1).some((e) => Z(e.context?.elements.floating, r)), o = k.current, s = n();
4817
+ let r = qr(e), i = V(), a = Q(y, r) || i.some((e) => e === r || Q(e, r)) || A && ri(A.nodesRef.current, w(), !1).some((e) => Q(e.context?.elements.floating, r)), o = k.current, s = n();
4852
4818
  queueMicrotask(() => {
4853
- let t = Ps(s), n = typeof o != "boolean";
4854
- o && !M.current && H(t) && (!(!n && t !== r && r !== e.body) || a) && t.focus({ preventScroll: !0 }), M.current = !1;
4819
+ let t = ks(s), n = typeof o != "boolean";
4820
+ o && !M.current && U(t) && (!(!n && t !== r && r !== e.body) || a) && t.focus({ preventScroll: !0 }), M.current = !1;
4855
4821
  });
4856
4822
  };
4857
4823
  }, [
@@ -4865,11 +4831,11 @@ function Is(e) {
4865
4831
  v,
4866
4832
  w,
4867
4833
  V
4868
- ]), W(() => {
4834
+ ]), G(() => {
4869
4835
  if (!Mr || _ || !y) return;
4870
- let e = Jr(X(y));
4871
- !H(e) || !$r(e) || Z(y, e) && e.blur();
4872
- }, [_, y]), W(() => {
4836
+ let e = qr(Z(y));
4837
+ !U(e) || !Qr(e) || Q(y, e) && e.blur();
4838
+ }, [_, y]), G(() => {
4873
4839
  if (!(r || !j)) return j.setFocusManagerState({
4874
4840
  modal: c,
4875
4841
  closeOnFocusOut: l,
@@ -4887,67 +4853,67 @@ function Is(e) {
4887
4853
  g,
4888
4854
  l,
4889
4855
  v
4890
- ]), W(() => {
4891
- if (!(r || !z)) return Fs(z, D), () => {
4892
- queueMicrotask(js);
4856
+ ]), G(() => {
4857
+ if (!(r || !z)) return As(z, D), () => {
4858
+ queueMicrotask(Es);
4893
4859
  };
4894
4860
  }, [
4895
4861
  r,
4896
4862
  z,
4897
4863
  D
4898
4864
  ]);
4899
- let ce = !r && (!c || !E) && (se || c);
4865
+ let H = !r && (!c || !E) && (se || c);
4900
4866
  return /*#__PURE__*/ x(a.Fragment, { children: [
4901
- ce && /*#__PURE__*/ b(qo, {
4867
+ H && /*#__PURE__*/ b(Ho, {
4902
4868
  "data-type": "inside",
4903
- ref: I,
4869
+ ref: F,
4904
4870
  onFocus: (e) => {
4905
4871
  if (c) {
4906
4872
  let e = B();
4907
- Xo(e[e.length - 1]);
4873
+ Go(e[e.length - 1]);
4908
4874
  } else j?.portalNode && (M.current = !1, ya(e, j.portalNode) ? ma(v)?.focus() : Ma(f ?? j.beforeOutsideRef)?.focus());
4909
4875
  }
4910
4876
  }),
4911
4877
  n,
4912
- ce && /*#__PURE__*/ b(qo, {
4878
+ H && /*#__PURE__*/ b(Ho, {
4913
4879
  "data-type": "inside",
4914
- ref: L,
4880
+ ref: I,
4915
4881
  onFocus: (e) => {
4916
- c ? Xo(B()[0]) : j?.portalNode && (l && (M.current = !0), ya(e, j.portalNode) ? ha(v)?.focus() : Ma(d ?? j.afterOutsideRef)?.focus());
4882
+ c ? Go(B()[0]) : j?.portalNode && (l && (M.current = !0), ya(e, j.portalNode) ? ha(v)?.focus() : Ma(d ?? j.afterOutsideRef)?.focus());
4917
4883
  }
4918
4884
  })
4919
4885
  ] });
4920
4886
  }
4921
4887
  //#endregion
4922
4888
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useDismiss.js
4923
- var Ls = {
4889
+ var Ms = {
4924
4890
  intentional: "onClick",
4925
4891
  sloppy: "onPointerDown"
4926
4892
  };
4927
- function Rs() {
4893
+ function Ns() {
4928
4894
  return !1;
4929
4895
  }
4930
- function zs(e) {
4896
+ function Ps(e) {
4931
4897
  return {
4932
4898
  escapeKey: typeof e == "boolean" ? e : e?.escapeKey ?? !1,
4933
4899
  outsidePress: typeof e == "boolean" ? e : e?.outsidePress ?? !0
4934
4900
  };
4935
4901
  }
4936
- function Bs(e, t = {}) {
4937
- let n = "rootStore" in e ? e.rootStore : e, r = n.useState("open"), i = n.useState("floatingElement"), { dataRef: o } = n.context, { enabled: s = !0, escapeKey: c = !0, outsidePress: l = !0, outsidePressEvent: u = "sloppy", referencePress: d = Rs, referencePressEvent: f = "sloppy", bubbles: p, externalTree: m } = t, h = ws(m), g = U(typeof l == "function" ? l : () => !1), _ = typeof l == "function" ? g : l, v = _ !== !1, y = U(() => u), b = a.useRef(!1), x = a.useRef(!1), S = a.useRef(!1), { escapeKey: C, outsidePress: w } = zs(p), T = a.useRef(null), E = Ea(), D = Ea(), O = U(() => {
4902
+ function Fs(e, t = {}) {
4903
+ let n = "rootStore" in e ? e.rootStore : e, r = n.useState("open"), i = n.useState("floatingElement"), { dataRef: o } = n.context, { enabled: s = !0, escapeKey: c = !0, outsidePress: l = !0, outsidePressEvent: u = "sloppy", referencePress: d = Ns, referencePressEvent: f = "sloppy", bubbles: p, externalTree: m } = t, h = ys(m), g = W(typeof l == "function" ? l : () => !1), _ = typeof l == "function" ? g : l, v = _ !== !1, y = W(() => u), b = a.useRef(!1), x = a.useRef(!1), S = a.useRef(!1), { escapeKey: C, outsidePress: w } = Ps(p), T = a.useRef(null), E = Ea(), D = Ea(), O = W(() => {
4938
4904
  D.clear(), o.current.insideReactTree = !1;
4939
- }), k = a.useRef(!1), ee = a.useRef(""), A = U(d), j = U((e) => {
4905
+ }), k = a.useRef(!1), ee = a.useRef(""), A = W(d), j = W((e) => {
4940
4906
  if (!r || !s || !c || e.key !== "Escape" || k.current) return;
4941
- let t = o.current.floatingContext?.nodeId, i = h ? ii(h.nodesRef.current, t) : [];
4907
+ let t = o.current.floatingContext?.nodeId, i = h ? ri(h.nodesRef.current, t) : [];
4942
4908
  if (!C && i.length > 0) {
4943
4909
  let e = !0;
4944
4910
  if (i.forEach((t) => {
4945
4911
  t.context?.open && !t.context.dataRef.current.__escapeKeyBubbles && (e = !1);
4946
4912
  }), !e) return;
4947
4913
  }
4948
- let a = co(to, si(e) ? e.nativeEvent : e);
4914
+ let a = io(Za, oi(e) ? e.nativeEvent : e);
4949
4915
  n.setOpen(!1, a), !C && !a.isPropagationAllowed && e.stopPropagation();
4950
- }), M = U(() => {
4916
+ }), M = W(() => {
4951
4917
  o.current.insideReactTree = !0, D.start(0, O);
4952
4918
  });
4953
4919
  a.useEffect(() => {
@@ -4979,8 +4945,8 @@ function Bs(e, t = {}) {
4979
4945
  return t === "intentional" && e.type !== "click" || t === "sloppy" && e.type === "click";
4980
4946
  }
4981
4947
  function m(e) {
4982
- let t = o.current.floatingContext?.nodeId, r = h && ii(h.nodesRef.current, t).some((t) => Zr(e, t.context?.elements.floating));
4983
- return Zr(e, n.select("floatingElement")) || Zr(e, n.select("domReferenceElement")) || r;
4948
+ let t = o.current.floatingContext?.nodeId, r = h && ri(h.nodesRef.current, t).some((t) => Xr(e, t.context?.elements.floating));
4949
+ return Xr(e, n.select("floatingElement")) || Xr(e, n.select("domReferenceElement")) || r;
4984
4950
  }
4985
4951
  function g(e) {
4986
4952
  if (p(e)) {
@@ -4991,16 +4957,16 @@ function Bs(e, t = {}) {
4991
4957
  O();
4992
4958
  return;
4993
4959
  }
4994
- let r = Yr(e), i = `[${Jo("inert")}]`, a = ue(r) ? r.getRootNode() : null, s = Array.from((de(a) ? a : X(n.select("floatingElement"))).querySelectorAll(i)), c = n.context.triggerElements;
4995
- if (r && (c.hasElement(r) || c.hasMatchingElement((e) => Z(e, r)))) return;
4960
+ let r = Jr(e), i = `[${Uo("inert")}]`, a = ue(r) ? r.getRootNode() : null, s = Array.from((de(a) ? a : Z(n.select("floatingElement"))).querySelectorAll(i)), c = n.context.triggerElements;
4961
+ if (r && (c.hasElement(r) || c.hasMatchingElement((e) => Q(e, r)))) return;
4996
4962
  let l = ue(r) ? r : null;
4997
4963
  for (; l && !Se(l);) {
4998
4964
  let e = Te(l);
4999
4965
  if (Se(e) || !ue(e)) break;
5000
4966
  l = e;
5001
4967
  }
5002
- if (s.length && ue(r) && !Qr(r) && !Z(r, n.select("floatingElement")) && s.every((e) => !Z(l, e))) return;
5003
- if (H(r) && !("touches" in e)) {
4968
+ if (s.length && ue(r) && !Zr(r) && !Q(r, n.select("floatingElement")) && s.every((e) => !Q(l, e))) return;
4969
+ if (U(r) && !("touches" in e)) {
5004
4970
  let t = Se(r), n = Ce(r), i = /auto|scroll/, a = t || i.test(n.overflowX), o = t || i.test(n.overflowY), s = a && r.clientWidth > 0 && r.scrollWidth > r.clientWidth, c = o && r.clientHeight > 0 && r.scrollHeight > r.clientHeight, l = n.direction === "rtl", u = c && (l ? e.offsetX <= r.offsetWidth - r.clientWidth : e.offsetX > r.clientWidth), d = s && e.offsetY > r.clientHeight;
5005
4971
  if (u || d) return;
5006
4972
  }
@@ -5010,20 +4976,20 @@ function Bs(e, t = {}) {
5010
4976
  return;
5011
4977
  }
5012
4978
  if (typeof _ == "function" && !_(e)) return;
5013
- let u = o.current.floatingContext?.nodeId, d = h ? ii(h.nodesRef.current, u) : [];
4979
+ let u = o.current.floatingContext?.nodeId, d = h ? ri(h.nodesRef.current, u) : [];
5014
4980
  if (d.length > 0) {
5015
4981
  let e = !0;
5016
4982
  if (d.forEach((t) => {
5017
4983
  t.context?.open && !t.context.dataRef.current.__outsidePressBubbles && (e = !1);
5018
4984
  }), !e) return;
5019
4985
  }
5020
- n.setOpen(!1, co(qa, e)), O();
4986
+ n.setOpen(!1, io(qa, e)), O();
5021
4987
  }
5022
4988
  function D(e) {
5023
- f() !== "sloppy" || e.pointerType === "touch" || !n.select("open") || !s || Zr(e, n.select("floatingElement")) || Zr(e, n.select("domReferenceElement")) || g(e);
4989
+ f() !== "sloppy" || e.pointerType === "touch" || !n.select("open") || !s || Xr(e, n.select("floatingElement")) || Xr(e, n.select("domReferenceElement")) || g(e);
5024
4990
  }
5025
4991
  function A(e) {
5026
- if (f() !== "sloppy" || !n.select("open") || !s || Zr(e, n.select("floatingElement")) || Zr(e, n.select("domReferenceElement"))) return;
4992
+ if (f() !== "sloppy" || !n.select("open") || !s || Xr(e, n.select("floatingElement")) || Xr(e, n.select("domReferenceElement"))) return;
5027
4993
  let t = e.touches[0];
5028
4994
  t && (T.current = {
5029
4995
  startTime: Date.now(),
@@ -5036,21 +5002,21 @@ function Bs(e, t = {}) {
5036
5002
  }));
5037
5003
  }
5038
5004
  function M(e, t) {
5039
- let n = Yr(e);
5005
+ let n = Jr(e);
5040
5006
  if (!n) return;
5041
5007
  let r = $(n, e.type, () => {
5042
5008
  t(e), r();
5043
5009
  });
5044
5010
  }
5045
- function N(e) {
5011
+ function te(e) {
5046
5012
  ee.current = "touch", M(e, A);
5047
5013
  }
5048
- function P(e) {
5014
+ function N(e) {
5049
5015
  E.clear(), e.type === "pointerdown" && (ee.current = e.pointerType), !(e.type === "mousedown" && T.current && !T.current.dismissOnMouseDown) && M(e, (e) => {
5050
5016
  e.type === "pointerdown" ? D(e) : g(e);
5051
5017
  });
5052
5018
  }
5053
- function F(e) {
5019
+ function P(e) {
5054
5020
  if (!b.current) return;
5055
5021
  let n = x.current;
5056
5022
  if (d(), f() === "intentional") {
@@ -5067,25 +5033,25 @@ function Bs(e, t = {}) {
5067
5033
  }
5068
5034
  }
5069
5035
  }
5070
- function te(e) {
5071
- if (f() !== "sloppy" || !T.current || Zr(e, n.select("floatingElement")) || Zr(e, n.select("domReferenceElement"))) return;
5036
+ function ne(e) {
5037
+ if (f() !== "sloppy" || !T.current || Xr(e, n.select("floatingElement")) || Xr(e, n.select("domReferenceElement"))) return;
5072
5038
  let t = e.touches[0];
5073
5039
  if (!t) return;
5074
5040
  let r = Math.abs(t.clientX - T.current.startX), i = Math.abs(t.clientY - T.current.startY), a = Math.sqrt(r * r + i * i);
5075
5041
  a > 5 && (T.current.dismissOnTouchEnd = !0), a > 10 && (g(e), E.clear(), T.current = null);
5076
5042
  }
5077
- function ne(e) {
5078
- M(e, te);
5079
- }
5080
5043
  function re(e) {
5081
- f() !== "sloppy" || !T.current || Zr(e, n.select("floatingElement")) || Zr(e, n.select("domReferenceElement")) || (T.current.dismissOnTouchEnd && g(e), E.clear(), T.current = null);
5044
+ M(e, ne);
5082
5045
  }
5083
5046
  function ie(e) {
5084
- M(e, re);
5047
+ f() !== "sloppy" || !T.current || Xr(e, n.select("floatingElement")) || Xr(e, n.select("domReferenceElement")) || (T.current.dismissOnTouchEnd && g(e), E.clear(), T.current = null);
5048
+ }
5049
+ function ae(e) {
5050
+ M(e, ie);
5085
5051
  }
5086
- let I = X(i), L = Ko(c && Ko($(I, "keydown", j), $(I, "compositionstart", a), $(I, "compositionend", l)), v && Ko($(I, "click", P, !0), $(I, "pointerdown", P, !0), $(I, "pointerup", F, !0), $(I, "pointercancel", F, !0), $(I, "mousedown", P, !0), $(I, "mouseup", F, !0), $(I, "touchstart", N, !0), $(I, "touchmove", ne, !0), $(I, "touchend", ie, !0)));
5052
+ let F = Z(i), I = Vo(c && Vo($(F, "keydown", j), $(F, "compositionstart", a), $(F, "compositionend", l)), v && Vo($(F, "click", N, !0), $(F, "pointerdown", N, !0), $(F, "pointerup", P, !0), $(F, "pointercancel", P, !0), $(F, "mousedown", N, !0), $(F, "mouseup", P, !0), $(F, "touchstart", te, !0), $(F, "touchmove", re, !0), $(F, "touchend", ae, !0)));
5087
5053
  return () => {
5088
- L(), e.clear(), t.clear(), d(), S.current = !1;
5054
+ I(), e.clear(), t.clear(), d(), S.current = !1;
5089
5055
  };
5090
5056
  }, [
5091
5057
  o,
@@ -5104,35 +5070,35 @@ function Bs(e, t = {}) {
5104
5070
  n,
5105
5071
  E
5106
5072
  ]), a.useEffect(O, [_, O]);
5107
- let N = a.useMemo(() => ({
5073
+ let te = a.useMemo(() => ({
5108
5074
  onKeyDown: j,
5109
- [Ls[f]]: (e) => {
5110
- A() && n.setOpen(!1, co(Wa, e.nativeEvent));
5075
+ [Ms[f]]: (e) => {
5076
+ A() && n.setOpen(!1, io(Wa, e.nativeEvent));
5111
5077
  },
5112
5078
  ...f !== "intentional" && { onClick(e) {
5113
- A() && n.setOpen(!1, co("trigger-press", e.nativeEvent));
5079
+ A() && n.setOpen(!1, io("trigger-press", e.nativeEvent));
5114
5080
  } }
5115
5081
  }), [
5116
5082
  j,
5117
5083
  n,
5118
5084
  f,
5119
5085
  A
5120
- ]), P = U((e) => {
5086
+ ]), N = W((e) => {
5121
5087
  if (!r || !s || e.button !== 0) return;
5122
- let t = Yr(e.nativeEvent);
5123
- Z(n.select("floatingElement"), t) && (b.current || (b.current = !0, x.current = !1));
5124
- }), F = U((e) => {
5088
+ let t = Jr(e.nativeEvent);
5089
+ Q(n.select("floatingElement"), t) && (b.current || (b.current = !0, x.current = !1));
5090
+ }), P = W((e) => {
5125
5091
  !r || !s || (e.defaultPrevented || e.nativeEvent.defaultPrevented) && b.current && (x.current = !0);
5126
- }), te = a.useMemo(() => ({
5092
+ }), ne = a.useMemo(() => ({
5127
5093
  onKeyDown: j,
5128
- onPointerDown: F,
5129
- onMouseDown: F,
5094
+ onPointerDown: P,
5095
+ onMouseDown: P,
5130
5096
  onClickCapture: M,
5131
5097
  onMouseDownCapture(e) {
5132
- M(), P(e);
5098
+ M(), N(e);
5133
5099
  },
5134
5100
  onPointerDownCapture(e) {
5135
- M(), P(e);
5101
+ M(), N(e);
5136
5102
  },
5137
5103
  onMouseUpCapture: M,
5138
5104
  onTouchEndCapture: M,
@@ -5140,29 +5106,29 @@ function Bs(e, t = {}) {
5140
5106
  }), [
5141
5107
  j,
5142
5108
  M,
5143
- P,
5144
- F
5109
+ N,
5110
+ P
5145
5111
  ]);
5146
5112
  return a.useMemo(() => s ? {
5147
- reference: N,
5148
- floating: te,
5149
- trigger: N
5113
+ reference: te,
5114
+ floating: ne,
5115
+ trigger: te
5150
5116
  } : {}, [
5151
5117
  s,
5152
- N,
5153
- te
5118
+ te,
5119
+ ne
5154
5120
  ]);
5155
5121
  }
5156
5122
  //#endregion
5157
5123
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingRootStore.js
5158
- var Vs = {
5159
- open: So((e) => e.open),
5160
- transitionStatus: So((e) => e.transitionStatus),
5161
- domReferenceElement: So((e) => e.domReferenceElement),
5162
- referenceElement: So((e) => e.positionReference ?? e.referenceElement),
5163
- floatingElement: So((e) => e.floatingElement),
5164
- floatingId: So((e) => e.floatingId)
5165
- }, Hs = class extends Go {
5124
+ var Is = {
5125
+ open: _o((e) => e.open),
5126
+ transitionStatus: _o((e) => e.transitionStatus),
5127
+ domReferenceElement: _o((e) => e.domReferenceElement),
5128
+ referenceElement: _o((e) => e.positionReference ?? e.referenceElement),
5129
+ floatingElement: _o((e) => e.floatingElement),
5130
+ floatingId: _o((e) => e.floatingId)
5131
+ }, Ls = class extends Bo {
5166
5132
  constructor(e) {
5167
5133
  let { syncOnly: t, nested: n, onOpenChange: r, triggerElements: i, ...a } = e;
5168
5134
  super({
@@ -5172,13 +5138,13 @@ var Vs = {
5172
5138
  }, {
5173
5139
  onOpenChange: r,
5174
5140
  dataRef: { current: {} },
5175
- events: ys(),
5141
+ events: ms(),
5176
5142
  nested: n,
5177
5143
  triggerElements: i
5178
- }, Vs), this.syncOnly = t;
5144
+ }, Is), this.syncOnly = t;
5179
5145
  }
5180
5146
  syncOpenEvent = (e, t) => {
5181
- (!e || !this.state.open || t != null && di(t)) && (this.context.dataRef.current.openEvent = e ? t : void 0);
5147
+ (!e || !this.state.open || t != null && ui(t)) && (this.context.dataRef.current.openEvent = e ? t : void 0);
5182
5148
  };
5183
5149
  dispatchOpenChange = (e, t) => {
5184
5150
  this.syncOpenEvent(e, t.event);
@@ -5198,7 +5164,7 @@ var Vs = {
5198
5164
  }
5199
5165
  this.dispatchOpenChange(e, t), this.context.onOpenChange?.(e, t);
5200
5166
  };
5201
- }, Us = class {
5167
+ }, Rs = class {
5202
5168
  constructor() {
5203
5169
  this.elementsSet = /* @__PURE__ */ new Set(), this.idMap = /* @__PURE__ */ new Map();
5204
5170
  }
@@ -5232,8 +5198,8 @@ var Vs = {
5232
5198
  };
5233
5199
  //#endregion
5234
5200
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useInteractions.js
5235
- function Ws(e = []) {
5236
- let t = e.map((e) => e?.reference), n = e.map((e) => e?.floating), r = e.map((e) => e?.item), i = e.map((e) => e?.trigger), o = a.useCallback((t) => Gs(t, e, "reference"), t), s = a.useCallback((t) => Gs(t, e, "floating"), n), c = a.useCallback((t) => Gs(t, e, "item"), r), l = a.useCallback((t) => Gs(t, e, "trigger"), i);
5201
+ function zs(e = []) {
5202
+ let t = e.map((e) => e?.reference), n = e.map((e) => e?.floating), r = e.map((e) => e?.item), i = e.map((e) => e?.trigger), o = a.useCallback((t) => Bs(t, e, "reference"), t), s = a.useCallback((t) => Bs(t, e, "floating"), n), c = a.useCallback((t) => Bs(t, e, "item"), r), l = a.useCallback((t) => Bs(t, e, "trigger"), i);
5237
5203
  return a.useMemo(() => ({
5238
5204
  getReferenceProps: o,
5239
5205
  getFloatingProps: s,
@@ -5246,17 +5212,17 @@ function Ws(e = []) {
5246
5212
  l
5247
5213
  ]);
5248
5214
  }
5249
- function Gs(e, t, n) {
5215
+ function Bs(e, t, n) {
5250
5216
  let r = /* @__PURE__ */ new Map(), i = n === "item", a = {};
5251
- n === "floating" && (a.tabIndex = -1, a[Hr] = "");
5217
+ n === "floating" && (a.tabIndex = -1, a[Vr] = "");
5252
5218
  for (let t in e) i && e && (t === "active" || t === "selected") || (a[t] = e[t]);
5253
5219
  for (let o = 0; o < t.length; o += 1) {
5254
5220
  let s, c = t[o]?.[n];
5255
- s = typeof c == "function" ? e ? c(e) : null : c, s && Ks(a, s, i, r);
5221
+ s = typeof c == "function" ? e ? c(e) : null : c, s && Vs(a, s, i, r);
5256
5222
  }
5257
- return Ks(a, e, i, r), a;
5223
+ return Vs(a, e, i, r), a;
5258
5224
  }
5259
- function Ks(e, t, n, r) {
5225
+ function Vs(e, t, n, r) {
5260
5226
  for (let i in t) {
5261
5227
  let a = t[i];
5262
5228
  n && (i === "active" || i === "selected") || (i.startsWith("on") ? (r.has(i) || r.set(i, []), typeof a == "function" && (r.get(i)?.push(a), e[i] = (...e) => r.get(i)?.map((t) => t(...e)).find((e) => e !== void 0))) : e[i] = a);
@@ -5264,17 +5230,17 @@ function Ks(e, t, n, r) {
5264
5230
  }
5265
5231
  //#endregion
5266
5232
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/useValueChanged.js
5267
- function qs(e, t) {
5268
- let n = a.useRef(e), r = U(t);
5269
- W(() => {
5233
+ function Hs(e, t) {
5234
+ let n = a.useRef(e), r = W(t);
5235
+ G(() => {
5270
5236
  n.current !== e && r(n.current);
5271
- }, [e, r]), W(() => {
5237
+ }, [e, r]), G(() => {
5272
5238
  n.current = e;
5273
5239
  }, [e]);
5274
5240
  }
5275
5241
  //#endregion
5276
5242
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useEnhancedClickHandler.js
5277
- function Js(e) {
5243
+ function Us(e) {
5278
5244
  let t = a.useRef(""), n = a.useCallback((n) => {
5279
5245
  n.defaultPrevented || (t.current = n.pointerType, e(n, n.pointerType));
5280
5246
  }, [e]);
@@ -5291,14 +5257,14 @@ function Js(e) {
5291
5257
  }
5292
5258
  //#endregion
5293
5259
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/useOpenInteractionType.js
5294
- function Ys(e) {
5295
- let [t, n] = a.useState(null), r = U((t, r) => {
5260
+ function Ws(e) {
5261
+ let [t, n] = a.useState(null), r = W((t, r) => {
5296
5262
  e || n(r || (Nr ? "touch" : ""));
5297
5263
  });
5298
- qs(e, (t) => {
5264
+ Hs(e, (t) => {
5299
5265
  t && !e && n(null);
5300
5266
  });
5301
- let { onClick: i, onPointerDown: o } = Js(r);
5267
+ let { onClick: i, onPointerDown: o } = Us(r);
5302
5268
  return a.useMemo(() => ({
5303
5269
  openMethod: t,
5304
5270
  triggerProps: {
@@ -5313,33 +5279,33 @@ function Ys(e) {
5313
5279
  }
5314
5280
  //#endregion
5315
5281
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/popupStateMapping.js
5316
- var Xs = function(e) {
5282
+ var Gs = function(e) {
5317
5283
  return e.open = "data-open", e.closed = "data-closed", e[e.startingStyle = Na.startingStyle] = "startingStyle", e[e.endingStyle = Na.endingStyle] = "endingStyle", e.anchorHidden = "data-anchor-hidden", e.side = "data-side", e.align = "data-align", e;
5318
- }({}), Zs = /*#__PURE__*/ function(e) {
5284
+ }({}), Ks = /*#__PURE__*/ function(e) {
5319
5285
  return e.popupOpen = "data-popup-open", e.pressed = "data-pressed", e;
5320
- }({}), Qs = { [Zs.popupOpen]: "" }, $s = {
5321
- [Zs.popupOpen]: "",
5322
- [Zs.pressed]: ""
5323
- }, ec = { [Xs.open]: "" }, tc = { [Xs.closed]: "" }, nc = { [Xs.anchorHidden]: "" }, rc = { open(e) {
5324
- return e ? Qs : null;
5325
- } }, ic = { open(e) {
5326
- return e ? $s : null;
5327
- } }, ac = {
5286
+ }({}), qs = { [Ks.popupOpen]: "" }, Js = {
5287
+ [Ks.popupOpen]: "",
5288
+ [Ks.pressed]: ""
5289
+ }, Ys = { [Gs.open]: "" }, Xs = { [Gs.closed]: "" }, Zs = { [Gs.anchorHidden]: "" }, Qs = { open(e) {
5290
+ return e ? qs : null;
5291
+ } }, $s = { open(e) {
5292
+ return e ? Js : null;
5293
+ } }, ec = {
5328
5294
  open(e) {
5329
- return e ? ec : tc;
5295
+ return e ? Ys : Xs;
5330
5296
  },
5331
5297
  anchorHidden(e) {
5332
- return e ? nc : null;
5298
+ return e ? Zs : null;
5333
5299
  }
5334
5300
  };
5335
5301
  //#endregion
5336
5302
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/inertValue.js
5337
- function oc(e) {
5303
+ function tc(e) {
5338
5304
  return ht(19) ? e : e ? "true" : void 0;
5339
5305
  }
5340
5306
  //#endregion
5341
5307
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/InternalBackdrop.js
5342
- var sc = /*#__PURE__*/ a.forwardRef(function(e, t) {
5308
+ var nc = /*#__PURE__*/ a.forwardRef(function(e, t) {
5343
5309
  let { cutout: n, ...r } = e, i;
5344
5310
  if (n) {
5345
5311
  let e = n.getBoundingClientRect();
@@ -5359,26 +5325,26 @@ var sc = /*#__PURE__*/ a.forwardRef(function(e, t) {
5359
5325
  }
5360
5326
  });
5361
5327
  });
5362
- process.env.NODE_ENV !== "production" && (sc.displayName = "InternalBackdrop");
5328
+ process.env.NODE_ENV !== "production" && (nc.displayName = "InternalBackdrop");
5363
5329
  //#endregion
5364
5330
  //#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useScrollLock.js
5365
- var cc = {}, lc = {}, uc = "";
5366
- function dc(e) {
5331
+ var rc = {}, ic = {}, ac = "";
5332
+ function oc(e) {
5367
5333
  if (typeof document > "u") return !1;
5368
- let t = X(e);
5369
- return V(t).innerWidth - t.documentElement.clientWidth > 0;
5334
+ let t = Z(e);
5335
+ return H(t).innerWidth - t.documentElement.clientWidth > 0;
5370
5336
  }
5371
- function fc(e) {
5337
+ function sc(e) {
5372
5338
  if (!(typeof CSS < "u" && CSS.supports && CSS.supports("scrollbar-gutter", "stable")) || typeof document > "u") return !1;
5373
- let t = X(e), n = t.documentElement, r = t.body, i = fe(n) ? n : r, a = i.style.overflowY, o = n.style.scrollbarGutter;
5339
+ let t = Z(e), n = t.documentElement, r = t.body, i = fe(n) ? n : r, a = i.style.overflowY, o = n.style.scrollbarGutter;
5374
5340
  n.style.scrollbarGutter = "stable", i.style.overflowY = "scroll";
5375
5341
  let s = i.offsetWidth;
5376
5342
  i.style.overflowY = "hidden";
5377
5343
  let c = i.offsetWidth;
5378
5344
  return i.style.overflowY = a, n.style.scrollbarGutter = o, s === c;
5379
5345
  }
5380
- function pc(e) {
5381
- let t = X(e), n = t.documentElement, r = t.body, i = fe(n) ? n : r, a = {
5346
+ function cc(e) {
5347
+ let t = Z(e), n = t.documentElement, r = t.body, i = fe(n) ? n : r, a = {
5382
5348
  overflowY: i.style.overflowY,
5383
5349
  overflowX: i.style.overflowX
5384
5350
  };
@@ -5389,16 +5355,16 @@ function pc(e) {
5389
5355
  Object.assign(i.style, a);
5390
5356
  };
5391
5357
  }
5392
- function mc(e) {
5393
- let t = X(e), n = t.documentElement, r = t.body, i = V(n), a = 0, o = 0, s = !1, c = Aa.create();
5358
+ function lc(e) {
5359
+ let t = Z(e), n = t.documentElement, r = t.body, i = H(n), a = 0, o = 0, s = !1, c = Aa.create();
5394
5360
  if (Mr && (i.visualViewport?.scale ?? 1) !== 1) return () => {};
5395
5361
  function l() {
5396
5362
  let t = i.getComputedStyle(n), c = i.getComputedStyle(r), l = (t.scrollbarGutter || "").includes("both-edges") ? "stable both-edges" : "stable";
5397
- a = n.scrollTop, o = n.scrollLeft, cc = {
5363
+ a = n.scrollTop, o = n.scrollLeft, rc = {
5398
5364
  scrollbarGutter: n.style.scrollbarGutter,
5399
5365
  overflowY: n.style.overflowY,
5400
5366
  overflowX: n.style.overflowX
5401
- }, uc = n.style.scrollBehavior, lc = {
5367
+ }, ac = n.style.scrollBehavior, ic = {
5402
5368
  position: r.style.position,
5403
5369
  height: r.style.height,
5404
5370
  width: r.style.width,
@@ -5408,7 +5374,7 @@ function mc(e) {
5408
5374
  scrollBehavior: r.style.scrollBehavior
5409
5375
  };
5410
5376
  let u = n.scrollHeight > n.clientHeight, d = n.scrollWidth > n.clientWidth, f = t.overflowY === "scroll" || c.overflowY === "scroll", p = t.overflowX === "scroll" || c.overflowX === "scroll", m = Math.max(0, i.innerWidth - r.clientWidth), h = Math.max(0, i.innerHeight - r.clientHeight), g = parseFloat(c.marginTop) + parseFloat(c.marginBottom), _ = parseFloat(c.marginLeft) + parseFloat(c.marginRight), v = fe(n) ? n : r;
5411
- if (s = fc(e), s) {
5377
+ if (s = sc(e), s) {
5412
5378
  n.style.scrollbarGutter = l, v.style.overflowY = "hidden", v.style.overflowX = "hidden";
5413
5379
  return;
5414
5380
  }
@@ -5426,7 +5392,7 @@ function mc(e) {
5426
5392
  }), r.scrollTop = a, r.scrollLeft = o, n.setAttribute("data-base-ui-scroll-locked", ""), n.style.scrollBehavior = "unset";
5427
5393
  }
5428
5394
  function u() {
5429
- Object.assign(n.style, cc), Object.assign(r.style, lc), s || (n.scrollTop = a, n.scrollLeft = o, n.removeAttribute("data-base-ui-scroll-locked"), n.style.scrollBehavior = uc);
5395
+ Object.assign(n.style, rc), Object.assign(r.style, ic), s || (n.scrollTop = a, n.scrollLeft = o, n.removeAttribute("data-base-ui-scroll-locked"), n.style.scrollBehavior = ac);
5430
5396
  }
5431
5397
  function d() {
5432
5398
  u(), c.request(l);
@@ -5437,7 +5403,7 @@ function mc(e) {
5437
5403
  c.cancel(), u(), typeof i.removeEventListener == "function" && f();
5438
5404
  };
5439
5405
  }
5440
- var hc = new class {
5406
+ var uc = new class {
5441
5407
  lockCount = 0;
5442
5408
  restore = null;
5443
5409
  timeoutLock = Ta.create();
@@ -5453,64 +5419,64 @@ var hc = new class {
5453
5419
  };
5454
5420
  lock(e) {
5455
5421
  if (this.lockCount === 0 || this.restore !== null) return;
5456
- let t = X(e).documentElement, n = V(t).getComputedStyle(t).overflowY;
5422
+ let t = Z(e).documentElement, n = H(t).getComputedStyle(t).overflowY;
5457
5423
  if (n === "hidden" || n === "clip") {
5458
- this.restore = G;
5424
+ this.restore = K;
5459
5425
  return;
5460
5426
  }
5461
- let r = Nr || !dc(e);
5462
- this.restore = r ? pc(e) : mc(e);
5427
+ let r = Nr || !oc(e);
5428
+ this.restore = r ? cc(e) : lc(e);
5463
5429
  }
5464
5430
  }();
5465
- function gc(e = !0, t = null) {
5466
- W(() => {
5467
- if (e) return hc.acquire(t);
5431
+ function dc(e = !0, t = null) {
5432
+ G(() => {
5433
+ if (e) return uc.acquire(t);
5468
5434
  }, [e, t]);
5469
5435
  }
5470
5436
  //#endregion
5471
5437
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/composite/composite.js
5472
- var _c = "ArrowUp", vc = "ArrowDown", yc = "ArrowLeft", bc = "ArrowRight", xc = "Home", Sc = /* @__PURE__ */ new Set([yc, bc]), Cc = /* @__PURE__ */ new Set([
5473
- yc,
5474
- bc,
5475
- xc,
5438
+ var fc = "ArrowUp", pc = "ArrowDown", mc = "ArrowLeft", hc = "ArrowRight", gc = "Home", _c = /* @__PURE__ */ new Set([mc, hc]), vc = /* @__PURE__ */ new Set([
5439
+ mc,
5440
+ hc,
5441
+ gc,
5476
5442
  "End"
5477
- ]), wc = /* @__PURE__ */ new Set([_c, vc]), Tc = /* @__PURE__ */ new Set([
5478
- _c,
5479
- vc,
5480
- xc,
5443
+ ]), yc = /* @__PURE__ */ new Set([fc, pc]), bc = /* @__PURE__ */ new Set([
5444
+ fc,
5445
+ pc,
5446
+ gc,
5481
5447
  "End"
5482
- ]), Ec = /* @__PURE__ */ new Set([...Sc, ...wc]), Dc = /* @__PURE__ */ new Set([
5483
- ...Ec,
5484
- xc,
5448
+ ]), xc = /* @__PURE__ */ new Set([..._c, ...yc]), Sc = /* @__PURE__ */ new Set([
5449
+ ...xc,
5450
+ gc,
5485
5451
  "End"
5486
- ]), Oc = /* @__PURE__ */ new Set([
5487
- _c,
5488
- vc,
5489
- yc,
5490
- bc,
5491
- xc,
5452
+ ]), Cc = /* @__PURE__ */ new Set([
5453
+ fc,
5454
+ pc,
5455
+ mc,
5456
+ hc,
5457
+ gc,
5492
5458
  "End"
5493
- ]), kc = /* @__PURE__ */ new Set([
5459
+ ]), wc = /* @__PURE__ */ new Set([
5494
5460
  "Shift",
5495
5461
  "Control",
5496
5462
  "Alt",
5497
5463
  "Meta"
5498
5464
  ]);
5499
- function Ac(e) {
5500
- return H(e) && e.tagName === "INPUT";
5465
+ function Tc(e) {
5466
+ return U(e) && e.tagName === "INPUT";
5501
5467
  }
5502
- function jc(e) {
5503
- return !!(Ac(e) && e.selectionStart != null || H(e) && e.tagName === "TEXTAREA");
5468
+ function Ec(e) {
5469
+ return !!(Tc(e) && e.selectionStart != null || U(e) && e.tagName === "TEXTAREA");
5504
5470
  }
5505
- function Mc(e, t, n, r) {
5471
+ function Dc(e, t, n, r) {
5506
5472
  if (!e || !t || !t.scrollTo) return;
5507
5473
  let i = e.scrollLeft, a = e.scrollTop, o = e.clientWidth < e.scrollWidth, s = e.clientHeight < e.scrollHeight;
5508
5474
  if (o && r !== "vertical") {
5509
- let r = Nc(e, t, "left"), a = Pc(e), o = Pc(t);
5475
+ let r = Oc(e, t, "left"), a = kc(e), o = kc(t);
5510
5476
  n === "ltr" && (r + t.offsetWidth + o.scrollMarginRight > e.scrollLeft + e.clientWidth - a.scrollPaddingRight ? i = r + t.offsetWidth + o.scrollMarginRight - e.clientWidth + a.scrollPaddingRight : r - o.scrollMarginLeft < e.scrollLeft + a.scrollPaddingLeft && (i = r - o.scrollMarginLeft - a.scrollPaddingLeft)), n === "rtl" && (r - o.scrollMarginRight < e.scrollLeft + a.scrollPaddingLeft ? i = r - o.scrollMarginLeft - a.scrollPaddingLeft : r + t.offsetWidth + o.scrollMarginRight > e.scrollLeft + e.clientWidth - a.scrollPaddingRight && (i = r + t.offsetWidth + o.scrollMarginRight - e.clientWidth + a.scrollPaddingRight));
5511
5477
  }
5512
5478
  if (s && r !== "horizontal") {
5513
- let n = Nc(e, t, "top"), r = Pc(e), i = Pc(t);
5479
+ let n = Oc(e, t, "top"), r = kc(e), i = kc(t);
5514
5480
  n - i.scrollMarginTop < e.scrollTop + r.scrollPaddingTop ? a = n - i.scrollMarginTop - r.scrollPaddingTop : n + t.offsetHeight + i.scrollMarginBottom > e.scrollTop + e.clientHeight - r.scrollPaddingBottom && (a = n + t.offsetHeight + i.scrollMarginBottom - e.clientHeight + r.scrollPaddingBottom);
5515
5481
  }
5516
5482
  e.scrollTo({
@@ -5519,12 +5485,12 @@ function Mc(e, t, n, r) {
5519
5485
  behavior: "auto"
5520
5486
  });
5521
5487
  }
5522
- function Nc(e, t, n) {
5488
+ function Oc(e, t, n) {
5523
5489
  let r = n === "left" ? "offsetLeft" : "offsetTop", i = 0;
5524
5490
  for (; t.offsetParent && (i += t[r], t.offsetParent !== e);) t = t.offsetParent;
5525
5491
  return i;
5526
5492
  }
5527
- function Pc(e) {
5493
+ function kc(e) {
5528
5494
  let t = getComputedStyle(e);
5529
5495
  return {
5530
5496
  scrollMarginTop: parseFloat(t.scrollMarginTop) || 0,
@@ -5539,7 +5505,7 @@ function Pc(e) {
5539
5505
  }
5540
5506
  //#endregion
5541
5507
  //#region ../../node_modules/.bun/lucide-react@0.468.0+f4eacebf2041cd4f/node_modules/lucide-react/dist/esm/shared/src/utils.js
5542
- var Fc = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Ic = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), Lc = {
5508
+ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), Mc = {
5543
5509
  xmlns: "http://www.w3.org/2000/svg",
5544
5510
  width: 24,
5545
5511
  height: 24,
@@ -5549,23 +5515,23 @@ var Fc = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Ic = (..
5549
5515
  strokeWidth: 2,
5550
5516
  strokeLinecap: "round",
5551
5517
  strokeLinejoin: "round"
5552
- }, Rc = u(({ color: e = "currentColor", size: t = 24, strokeWidth: n = 2, absoluteStrokeWidth: r, className: i = "", children: a, iconNode: o, ...s }, c) => l("svg", {
5518
+ }, Nc = u(({ color: e = "currentColor", size: t = 24, strokeWidth: n = 2, absoluteStrokeWidth: r, className: i = "", children: a, iconNode: o, ...s }, c) => l("svg", {
5553
5519
  ref: c,
5554
- ...Lc,
5520
+ ...Mc,
5555
5521
  width: t,
5556
5522
  height: t,
5557
5523
  stroke: e,
5558
5524
  strokeWidth: r ? Number(n) * 24 / Number(t) : n,
5559
- className: Ic("lucide", i),
5525
+ className: jc("lucide", i),
5560
5526
  ...s
5561
- }, [...o.map(([e, t]) => l(e, t)), ...Array.isArray(a) ? a : [a]])), zc = (e, t) => {
5562
- let n = u(({ className: n, ...r }, i) => l(Rc, {
5527
+ }, [...o.map(([e, t]) => l(e, t)), ...Array.isArray(a) ? a : [a]])), Pc = (e, t) => {
5528
+ let n = u(({ className: n, ...r }, i) => l(Nc, {
5563
5529
  ref: i,
5564
5530
  iconNode: t,
5565
- className: Ic(`lucide-${Fc(e)}`, n),
5531
+ className: jc(`lucide-${Ac(e)}`, n),
5566
5532
  ...r
5567
5533
  }));
5568
5534
  return n.displayName = `${e}`, n;
5569
5535
  };
5570
5536
  //#endregion
5571
- export { Lo as $, fr as $n, Ji as $t, Bs as A, $r as An, H as Ar, Ha as At, us as B, Pr as Bn, te as Br, ma as Bt, ic as C, li as Cn, B as Cr, Ua as Ct, Ws as D, ei as Dn, V as Dr, Ga as Dt, qs as E, ri as En, Te as Er, Ka as Et, Cs as F, qr as Fn, xe as Fr, Ia as Ft, Jo as G, X as Gn, j as Gr, Q as Gt, ds as H, Lr as Hn, F as Hr, va as Ht, ws as I, Wr as In, se as Ir, ja as It, Ko as J, wr as Jn, Wi as Jt, qo as K, Dr as Kn, Ki as Kt, bs as L, Gr as Ln, ie as Lr, Ta as Lt, Es as M, Jr as Mn, fe as Mr, za as Mt, Ds as N, Z as Nn, pe as Nr, Ra as Nt, Us as O, Xr as On, ye as Or, Wa as Ot, Ts as P, Yr as Pn, me as Pr, La as Pt, Io as Q, _r as Qn, Vi as Qt, vs as R, Kr as Rn, N as Rr, Ea as Rt, ac as S, ci as Sn, Oe as Sr, no as St, Ys as T, ii as Tn, De as Tr, io as Tt, fs as U, Fr as Un, A as Ur, ya as Ut, ls as V, Nr as Vn, ne as Vr, _a as Vt, Xo as W, Mr as Wn, k as Wr, Gi as Wt, Wo as X, yr as Xn, Hi as Xt, Go as Y, Cr as Yn, Ui as Yt, Bo as Z, hr as Zn, Xi as Zt, gc as _, zi as _n, U as _r, oo as _t, yc as a, Ei as an, bt as ar, _o as at, Xs as b, di as bn, be as br, $a as bt, Oc as c, Oi as cn, ct as cr, po as ct, Cc as d, Ii as dn, rt as dr, ro as dt, yi as en, ur as er, ko as et, kc as f, Ri as fn, tt as fr, Xa as ft, Mc as g, pi as gn, Ie as gr, eo as gt, jc as h, mi as hn, Le as hr, to as ht, Ec as i, Si as in, yt as ir, yo as it, Is as j, ni as jn, Se as jr, Ba as jt, Hs as k, ti as kn, ue as kr, so as kt, xc as l, Ci as ln, at as lr, co as lt, Tc as m, Ti as mn, W as mr, ao as mt, Dc as n, bi as nn, Ft as nr, So as nt, bc as o, Di as on, G as or, vo as ot, wc as p, xi as pn, Be as pr, Ya as pt, $ as q, Er as qn, qi as qt, vc as r, gi as rn, wt as rr, bo as rt, _c as s, wi as sn, vt as sr, ho as st, zc as t, _i as tn, Rt as tr, Co as tt, Sc as u, Fi as un, nt as ur, lo as ut, sc as v, hi as vn, Ae as vr, Za as vt, rc as w, oi as wn, we as wr, qa as wt, Zs as x, ui as xn, ce as xr, Ja as xt, oc as y, fi as yn, Ce as yr, Qa as yt, _s as z, Ir as zn, re as zr, Ca as zt };
5537
+ export { Mo as $, ct as $n, xi as $t, Fs as A, Kr as An, te as Ar, Ia as At, as as B, wr as Bn, Ui as Bt, $s as C, Yr as Cn, fe as Cr, Wa as Ct, zs as D, qr as Dn, z as Dr, za as Dt, Hs as E, ti as En, xe as Er, Ba as Et, vs as F, Pr as Fn, A as Fr, ma as Ft, Uo as G, ur as Gn, Vi as Gt, os as H, yr as Hn, qi as Ht, ys as I, Mr as In, k as Ir, _a as It, Vo as J, wt as Jn, Ji as Jt, Ho as K, Rt as Kn, Xi as Kt, hs as L, Z as Ln, j as Lr, va as Lt, xs as M, Wr as Mn, ne as Mr, Ta as Mt, Ss as N, Gr as Nn, re as Nr, Ea as Nt, Rs as O, Q as On, F as Or, Ra as Ot, bs as P, Ir as Pn, P as Pr, Ca as Pt, jo as Q, vt as Qn, hi as Qt, ps as R, Dr as Rn, ya as Rt, ec as S, $r as Sn, Se as Sr, Ga as St, Ws as T, Qr as Tn, me as Tr, Ha as Tt, ss as U, _r as Un, Wi as Ut, is as V, Cr as Vn, Ki as Vt, Go as W, fr as Wn, Hi as Wt, zo as X, bt as Xn, gi as Xt, Bo as Y, yt as Yn, vi as Yt, Fo as Z, K as Zn, yi as Zt, dc as _, si as _n, Te as _r, Qa as _t, mc as a, Pi as an, G as ar, fo as at, Gs as b, ri as bn, ue as br, eo as bt, Cc as c, bi as cn, W as cr, so as ct, vc as d, fi as dn, be as dr, Ya as dt, Ti as en, at as er, wo as et, wc as f, Ri as fn, ce as fr, to as ft, Dc as g, li as gn, De as gr, Ja as gt, Ec as h, ui as hn, we as hr, no as ht, xc as i, Si as in, Be as ir, mo as it, js as j, Ur as jn, ie as jr, ja as jt, Ls as k, Jr as kn, ae as kr, La as kt, gc as l, wi as ln, Ae as lr, io as lt, bc as m, di as mn, V as mr, Xa as mt, Sc as n, Ci as nn, rt as nr, _o as nt, hc as o, Fi as on, Le as or, po as ot, yc as p, mi as pn, Oe as pr, Za as pt, $ as q, Ft as qn, Bi as qt, pc as r, Di as rn, tt as rr, ho as rt, fc as s, Li as sn, Ie as sr, lo as st, Pc as t, Ei as tn, nt as tr, vo as tt, _c as u, pi as un, Ce as ur, $a as ut, nc as v, ci as vn, H as vr, Ua as vt, Qs as w, ei as wn, pe as wr, ro as wt, Ks as x, ni as xn, U as xr, Ka as xt, tc as y, ai as yn, ye as yr, qa as yt, fs as z, Er as zn, Gi as zt };