@blocknote/shadcn 0.14.2 → 0.14.4

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.
@@ -6,13 +6,13 @@ import { cva as Q } from "class-variance-authority";
6
6
  import { clsx as ft } from "clsx";
7
7
  import { extendTailwindMerge as mt } from "tailwind-merge";
8
8
  import { Slot as Ye } from "@radix-ui/react-slot";
9
- import * as T from "@radix-ui/react-dropdown-menu";
9
+ import * as R from "@radix-ui/react-dropdown-menu";
10
10
  import { ChevronRight as Ue, Check as Ke, Circle as pt, ChevronDown as Je, ChevronUp as gt } from "lucide-react";
11
11
  import { FormProvider as vt, useFormContext as xt, useForm as ht } from "react-hook-form";
12
12
  import * as qe from "@radix-ui/react-label";
13
13
  import * as ee from "@radix-ui/react-popover";
14
14
  import * as D from "@radix-ui/react-select";
15
- import * as B from "@radix-ui/react-tabs";
15
+ import * as V from "@radix-ui/react-tabs";
16
16
  import * as Ge from "@radix-ui/react-toggle";
17
17
  import * as q from "@radix-ui/react-tooltip";
18
18
  var be = { exports: {} }, K = {};
@@ -30,16 +30,16 @@ function yt() {
30
30
  if (Be)
31
31
  return K;
32
32
  Be = 1;
33
- var r = ze, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, i = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
33
+ var r = ze, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, s = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
34
34
  function c(x, m, u) {
35
- var g, S = {}, _ = null, V = null;
36
- u !== void 0 && (_ = "" + u), m.key !== void 0 && (_ = "" + m.key), m.ref !== void 0 && (V = m.ref);
35
+ var g, j = {}, _ = null, F = null;
36
+ u !== void 0 && (_ = "" + u), m.key !== void 0 && (_ = "" + m.key), m.ref !== void 0 && (F = m.ref);
37
37
  for (g in m)
38
- a.call(m, g) && !d.hasOwnProperty(g) && (S[g] = m[g]);
38
+ a.call(m, g) && !d.hasOwnProperty(g) && (j[g] = m[g]);
39
39
  if (x && x.defaultProps)
40
40
  for (g in m = x.defaultProps, m)
41
- S[g] === void 0 && (S[g] = m[g]);
42
- return { $$typeof: t, type: x, key: _, ref: V, props: S, _owner: i.current };
41
+ j[g] === void 0 && (j[g] = m[g]);
42
+ return { $$typeof: t, type: x, key: _, ref: F, props: j, _owner: s.current };
43
43
  }
44
44
  return K.Fragment = n, K.jsx = c, K.jsxs = c, K;
45
45
  }
@@ -56,51 +56,51 @@ var J = {};
56
56
  var Ve;
57
57
  function wt() {
58
58
  return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && function() {
59
- var r = ze, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), x = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), V = Symbol.for("react.offscreen"), fe = Symbol.iterator, wn = "@@iterator";
59
+ var r = ze, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), x = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), fe = Symbol.iterator, wn = "@@iterator";
60
60
  function Cn(e) {
61
61
  if (e === null || typeof e != "object")
62
62
  return null;
63
- var s = fe && e[fe] || e[wn];
64
- return typeof s == "function" ? s : null;
63
+ var i = fe && e[fe] || e[wn];
64
+ return typeof i == "function" ? i : null;
65
65
  }
66
66
  var A = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
67
67
  function P(e) {
68
68
  {
69
- for (var s = arguments.length, l = new Array(s > 1 ? s - 1 : 0), f = 1; f < s; f++)
69
+ for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), f = 1; f < i; f++)
70
70
  l[f - 1] = arguments[f];
71
71
  Nn("error", e, l);
72
72
  }
73
73
  }
74
- function Nn(e, s, l) {
74
+ function Nn(e, i, l) {
75
75
  {
76
76
  var f = A.ReactDebugCurrentFrame, y = f.getStackAddendum();
77
- y !== "" && (s += "%s", l = l.concat([y]));
77
+ y !== "" && (i += "%s", l = l.concat([y]));
78
78
  var w = l.map(function(h) {
79
79
  return String(h);
80
80
  });
81
- w.unshift("Warning: " + s), Function.prototype.apply.call(console[e], console, w);
81
+ w.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, w);
82
82
  }
83
83
  }
84
84
  var jn = !1, Tn = !1, Rn = !1, Sn = !1, En = !1, me;
85
85
  me = Symbol.for("react.module.reference");
86
86
  function Dn(e) {
87
- return !!(typeof e == "string" || typeof e == "function" || e === a || e === d || En || e === i || e === u || e === g || Sn || e === V || jn || Tn || Rn || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === S || e.$$typeof === c || e.$$typeof === x || e.$$typeof === m || // This needs to include all possible module reference object
87
+ return !!(typeof e == "string" || typeof e == "function" || e === a || e === d || En || e === s || e === u || e === g || Sn || e === F || jn || Tn || Rn || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === j || e.$$typeof === c || e.$$typeof === x || e.$$typeof === m || // This needs to include all possible module reference object
88
88
  // types supported by any Flight configuration anywhere since
89
89
  // we don't know which Flight build this will end up being used
90
90
  // with.
91
91
  e.$$typeof === me || e.getModuleId !== void 0));
92
92
  }
93
- function _n(e, s, l) {
93
+ function _n(e, i, l) {
94
94
  var f = e.displayName;
95
95
  if (f)
96
96
  return f;
97
- var y = s.displayName || s.name || "";
97
+ var y = i.displayName || i.name || "";
98
98
  return y !== "" ? l + "(" + y + ")" : l;
99
99
  }
100
100
  function pe(e) {
101
101
  return e.displayName || "Context";
102
102
  }
103
- function F(e) {
103
+ function O(e) {
104
104
  if (e == null)
105
105
  return null;
106
106
  if (typeof e.tag == "number" && P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -114,7 +114,7 @@ function wt() {
114
114
  return "Portal";
115
115
  case d:
116
116
  return "Profiler";
117
- case i:
117
+ case s:
118
118
  return "StrictMode";
119
119
  case u:
120
120
  return "Suspense";
@@ -124,20 +124,20 @@ function wt() {
124
124
  if (typeof e == "object")
125
125
  switch (e.$$typeof) {
126
126
  case x:
127
- var s = e;
128
- return pe(s) + ".Consumer";
127
+ var i = e;
128
+ return pe(i) + ".Consumer";
129
129
  case c:
130
130
  var l = e;
131
131
  return pe(l._context) + ".Provider";
132
132
  case m:
133
133
  return _n(e, e.render, "ForwardRef");
134
- case S:
134
+ case j:
135
135
  var f = e.displayName || null;
136
- return f !== null ? f : F(e.type) || "Memo";
136
+ return f !== null ? f : O(e.type) || "Memo";
137
137
  case _: {
138
138
  var y = e, w = y._payload, h = y._init;
139
139
  try {
140
- return F(h(w));
140
+ return O(h(w));
141
141
  } catch {
142
142
  return null;
143
143
  }
@@ -145,7 +145,7 @@ function wt() {
145
145
  }
146
146
  return null;
147
147
  }
148
- var O = Object.assign, W = 0, ge, ve, xe, he, ye, we, Ce;
148
+ var L = Object.assign, W = 0, ge, ve, xe, he, ye, we, Ce;
149
149
  function Ne() {
150
150
  }
151
151
  Ne.__reactDisabledLog = !0;
@@ -181,25 +181,25 @@ function wt() {
181
181
  writable: !0
182
182
  };
183
183
  Object.defineProperties(console, {
184
- log: O({}, e, {
184
+ log: L({}, e, {
185
185
  value: ge
186
186
  }),
187
- info: O({}, e, {
187
+ info: L({}, e, {
188
188
  value: ve
189
189
  }),
190
- warn: O({}, e, {
190
+ warn: L({}, e, {
191
191
  value: xe
192
192
  }),
193
- error: O({}, e, {
193
+ error: L({}, e, {
194
194
  value: he
195
195
  }),
196
- group: O({}, e, {
196
+ group: L({}, e, {
197
197
  value: ye
198
198
  }),
199
- groupCollapsed: O({}, e, {
199
+ groupCollapsed: L({}, e, {
200
200
  value: we
201
201
  }),
202
- groupEnd: O({}, e, {
202
+ groupEnd: L({}, e, {
203
203
  value: Ce
204
204
  })
205
205
  });
@@ -208,7 +208,7 @@ function wt() {
208
208
  }
209
209
  }
210
210
  var te = A.ReactCurrentDispatcher, re;
211
- function G(e, s, l) {
211
+ function G(e, i, l) {
212
212
  {
213
213
  if (re === void 0)
214
214
  try {
@@ -226,7 +226,7 @@ function wt() {
226
226
  var Mn = typeof WeakMap == "function" ? WeakMap : Map;
227
227
  H = new Mn();
228
228
  }
229
- function je(e, s) {
229
+ function je(e, i) {
230
230
  if (!e || oe)
231
231
  return "";
232
232
  {
@@ -241,7 +241,7 @@ function wt() {
241
241
  var w;
242
242
  w = te.current, te.current = null, Pn();
243
243
  try {
244
- if (s) {
244
+ if (i) {
245
245
  var h = function() {
246
246
  throw Error();
247
247
  };
@@ -276,35 +276,35 @@ function wt() {
276
276
  if (M && f && typeof M.stack == "string") {
277
277
  for (var v = M.stack.split(`
278
278
  `), I = f.stack.split(`
279
- `), j = v.length - 1, E = I.length - 1; j >= 1 && E >= 0 && v[j] !== I[E]; )
279
+ `), T = v.length - 1, E = I.length - 1; T >= 1 && E >= 0 && v[T] !== I[E]; )
280
280
  E--;
281
- for (; j >= 1 && E >= 0; j--, E--)
282
- if (v[j] !== I[E]) {
283
- if (j !== 1 || E !== 1)
281
+ for (; T >= 1 && E >= 0; T--, E--)
282
+ if (v[T] !== I[E]) {
283
+ if (T !== 1 || E !== 1)
284
284
  do
285
- if (j--, E--, E < 0 || v[j] !== I[E]) {
285
+ if (T--, E--, E < 0 || v[T] !== I[E]) {
286
286
  var k = `
287
- ` + v[j].replace(" at new ", " at ");
287
+ ` + v[T].replace(" at new ", " at ");
288
288
  return e.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", e.displayName)), typeof e == "function" && H.set(e, k), k;
289
289
  }
290
- while (j >= 1 && E >= 0);
290
+ while (T >= 1 && E >= 0);
291
291
  break;
292
292
  }
293
293
  }
294
294
  } finally {
295
295
  oe = !1, te.current = w, In(), Error.prepareStackTrace = y;
296
296
  }
297
- var z = e ? e.displayName || e.name : "", L = z ? G(z) : "";
298
- return typeof e == "function" && H.set(e, L), L;
297
+ var z = e ? e.displayName || e.name : "", B = z ? G(z) : "";
298
+ return typeof e == "function" && H.set(e, B), B;
299
299
  }
300
- function kn(e, s, l) {
300
+ function kn(e, i, l) {
301
301
  return je(e, !1);
302
302
  }
303
303
  function Fn(e) {
304
- var s = e.prototype;
305
- return !!(s && s.isReactComponent);
304
+ var i = e.prototype;
305
+ return !!(i && i.isReactComponent);
306
306
  }
307
- function X(e, s, l) {
307
+ function X(e, i, l) {
308
308
  if (e == null)
309
309
  return "";
310
310
  if (typeof e == "function")
@@ -321,12 +321,12 @@ function wt() {
321
321
  switch (e.$$typeof) {
322
322
  case m:
323
323
  return kn(e.render);
324
- case S:
325
- return X(e.type, s, l);
324
+ case j:
325
+ return X(e.type, i, l);
326
326
  case _: {
327
327
  var f = e, y = f._payload, w = f._init;
328
328
  try {
329
- return X(w(y), s, l);
329
+ return X(w(y), i, l);
330
330
  } catch {
331
331
  }
332
332
  }
@@ -336,12 +336,12 @@ function wt() {
336
336
  var Y = Object.prototype.hasOwnProperty, Te = {}, Re = A.ReactDebugCurrentFrame;
337
337
  function Z(e) {
338
338
  if (e) {
339
- var s = e._owner, l = X(e.type, e._source, s ? s.type : null);
339
+ var i = e._owner, l = X(e.type, e._source, i ? i.type : null);
340
340
  Re.setExtraStackFrame(l);
341
341
  } else
342
342
  Re.setExtraStackFrame(null);
343
343
  }
344
- function On(e, s, l, f, y) {
344
+ function On(e, i, l, f, y) {
345
345
  {
346
346
  var w = Function.call.bind(Y);
347
347
  for (var h in e)
@@ -352,9 +352,9 @@ function wt() {
352
352
  var I = Error((f || "React class") + ": " + l + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
353
353
  throw I.name = "Invariant Violation", I;
354
354
  }
355
- v = e[h](s, h, f, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
356
- } catch (j) {
357
- v = j;
355
+ v = e[h](i, h, f, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
356
+ } catch (T) {
357
+ v = T;
358
358
  }
359
359
  v && !(v instanceof Error) && (Z(y), P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", f || "React class", l, h, typeof v), Z(null)), v instanceof Error && !(v.message in Te) && (Te[v.message] = !0, Z(y), P("Failed %s type: %s", l, v.message), Z(null));
360
360
  }
@@ -366,7 +366,7 @@ function wt() {
366
366
  }
367
367
  function Bn(e) {
368
368
  {
369
- var s = typeof Symbol == "function" && Symbol.toStringTag, l = s && e[Symbol.toStringTag] || e.constructor.name || "Object";
369
+ var i = typeof Symbol == "function" && Symbol.toStringTag, l = i && e[Symbol.toStringTag] || e.constructor.name || "Object";
370
370
  return l;
371
371
  }
372
372
  }
@@ -393,30 +393,30 @@ function wt() {
393
393
  se = {};
394
394
  function $n(e) {
395
395
  if (Y.call(e, "ref")) {
396
- var s = Object.getOwnPropertyDescriptor(e, "ref").get;
397
- if (s && s.isReactWarning)
396
+ var i = Object.getOwnPropertyDescriptor(e, "ref").get;
397
+ if (i && i.isReactWarning)
398
398
  return !1;
399
399
  }
400
400
  return e.ref !== void 0;
401
401
  }
402
402
  function zn(e) {
403
403
  if (Y.call(e, "key")) {
404
- var s = Object.getOwnPropertyDescriptor(e, "key").get;
405
- if (s && s.isReactWarning)
404
+ var i = Object.getOwnPropertyDescriptor(e, "key").get;
405
+ if (i && i.isReactWarning)
406
406
  return !1;
407
407
  }
408
408
  return e.key !== void 0;
409
409
  }
410
- function Wn(e, s) {
411
- if (typeof e.ref == "string" && U.current && s && U.current.stateNode !== s) {
412
- var l = F(U.current.type);
413
- se[l] || (P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', F(U.current.type), e.ref), se[l] = !0);
410
+ function Wn(e, i) {
411
+ if (typeof e.ref == "string" && U.current && i && U.current.stateNode !== i) {
412
+ var l = O(U.current.type);
413
+ se[l] || (P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', O(U.current.type), e.ref), se[l] = !0);
414
414
  }
415
415
  }
416
- function Yn(e, s) {
416
+ function Yn(e, i) {
417
417
  {
418
418
  var l = function() {
419
- De || (De = !0, P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
419
+ De || (De = !0, P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
420
420
  };
421
421
  l.isReactWarning = !0, Object.defineProperty(e, "key", {
422
422
  get: l,
@@ -424,10 +424,10 @@ function wt() {
424
424
  });
425
425
  }
426
426
  }
427
- function Un(e, s) {
427
+ function Un(e, i) {
428
428
  {
429
429
  var l = function() {
430
- _e || (_e = !0, P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
430
+ _e || (_e = !0, P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
431
431
  };
432
432
  l.isReactWarning = !0, Object.defineProperty(e, "ref", {
433
433
  get: l,
@@ -435,13 +435,13 @@ function wt() {
435
435
  });
436
436
  }
437
437
  }
438
- var Kn = function(e, s, l, f, y, w, h) {
438
+ var Kn = function(e, i, l, f, y, w, h) {
439
439
  var v = {
440
440
  // This tag allows us to uniquely identify this as a React Element
441
441
  $$typeof: t,
442
442
  // Built-in properties that belong on the element
443
443
  type: e,
444
- key: s,
444
+ key: i,
445
445
  ref: l,
446
446
  props: h,
447
447
  // Record the component responsible for creating this element.
@@ -464,16 +464,16 @@ function wt() {
464
464
  value: y
465
465
  }), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
466
466
  };
467
- function Jn(e, s, l, f, y) {
467
+ function Jn(e, i, l, f, y) {
468
468
  {
469
469
  var w, h = {}, v = null, I = null;
470
- l !== void 0 && (Ee(l), v = "" + l), zn(s) && (Ee(s.key), v = "" + s.key), $n(s) && (I = s.ref, Wn(s, y));
471
- for (w in s)
472
- Y.call(s, w) && !An.hasOwnProperty(w) && (h[w] = s[w]);
470
+ l !== void 0 && (Ee(l), v = "" + l), zn(i) && (Ee(i.key), v = "" + i.key), $n(i) && (I = i.ref, Wn(i, y));
471
+ for (w in i)
472
+ Y.call(i, w) && !An.hasOwnProperty(w) && (h[w] = i[w]);
473
473
  if (e && e.defaultProps) {
474
- var j = e.defaultProps;
475
- for (w in j)
476
- h[w] === void 0 && (h[w] = j[w]);
474
+ var T = e.defaultProps;
475
+ for (w in T)
476
+ h[w] === void 0 && (h[w] = T[w]);
477
477
  }
478
478
  if (v || I) {
479
479
  var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
@@ -485,7 +485,7 @@ function wt() {
485
485
  var ie = A.ReactCurrentOwner, Pe = A.ReactDebugCurrentFrame;
486
486
  function $(e) {
487
487
  if (e) {
488
- var s = e._owner, l = X(e.type, e._source, s ? s.type : null);
488
+ var i = e._owner, l = X(e.type, e._source, i ? i.type : null);
489
489
  Pe.setExtraStackFrame(l);
490
490
  } else
491
491
  Pe.setExtraStackFrame(null);
@@ -498,7 +498,7 @@ function wt() {
498
498
  function Ie() {
499
499
  {
500
500
  if (ie.current) {
501
- var e = F(ie.current.type);
501
+ var e = O(ie.current.type);
502
502
  if (e)
503
503
  return `
504
504
 
@@ -510,10 +510,10 @@ Check the render method of \`` + e + "`.";
510
510
  function qn(e) {
511
511
  {
512
512
  if (e !== void 0) {
513
- var s = e.fileName.replace(/^.*[\\\/]/, ""), l = e.lineNumber;
513
+ var i = e.fileName.replace(/^.*[\\\/]/, ""), l = e.lineNumber;
514
514
  return `
515
515
 
516
- Check your code at ` + s + ":" + l + ".";
516
+ Check your code at ` + i + ":" + l + ".";
517
517
  }
518
518
  return "";
519
519
  }
@@ -521,37 +521,37 @@ Check your code at ` + s + ":" + l + ".";
521
521
  var Me = {};
522
522
  function Gn(e) {
523
523
  {
524
- var s = Ie();
525
- if (!s) {
524
+ var i = Ie();
525
+ if (!i) {
526
526
  var l = typeof e == "string" ? e : e.displayName || e.name;
527
- l && (s = `
527
+ l && (i = `
528
528
 
529
529
  Check the top-level render call using <` + l + ">.");
530
530
  }
531
- return s;
531
+ return i;
532
532
  }
533
533
  }
534
- function ke(e, s) {
534
+ function ke(e, i) {
535
535
  {
536
536
  if (!e._store || e._store.validated || e.key != null)
537
537
  return;
538
538
  e._store.validated = !0;
539
- var l = Gn(s);
539
+ var l = Gn(i);
540
540
  if (Me[l])
541
541
  return;
542
542
  Me[l] = !0;
543
543
  var f = "";
544
- e && e._owner && e._owner !== ie.current && (f = " It was passed a child from " + F(e._owner.type) + "."), $(e), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, f), $(null);
544
+ e && e._owner && e._owner !== ie.current && (f = " It was passed a child from " + O(e._owner.type) + "."), $(e), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, f), $(null);
545
545
  }
546
546
  }
547
- function Fe(e, s) {
547
+ function Fe(e, i) {
548
548
  {
549
549
  if (typeof e != "object")
550
550
  return;
551
551
  if (ae(e))
552
552
  for (var l = 0; l < e.length; l++) {
553
553
  var f = e[l];
554
- de(f) && ke(f, s);
554
+ de(f) && ke(f, i);
555
555
  }
556
556
  else if (de(e))
557
557
  e._store && (e._store.validated = !0);
@@ -559,39 +559,39 @@ Check the top-level render call using <` + l + ">.");
559
559
  var y = Cn(e);
560
560
  if (typeof y == "function" && y !== e.entries)
561
561
  for (var w = y.call(e), h; !(h = w.next()).done; )
562
- de(h.value) && ke(h.value, s);
562
+ de(h.value) && ke(h.value, i);
563
563
  }
564
564
  }
565
565
  }
566
566
  function Hn(e) {
567
567
  {
568
- var s = e.type;
569
- if (s == null || typeof s == "string")
568
+ var i = e.type;
569
+ if (i == null || typeof i == "string")
570
570
  return;
571
571
  var l;
572
- if (typeof s == "function")
573
- l = s.propTypes;
574
- else if (typeof s == "object" && (s.$$typeof === m || // Note: Memo only checks outer props here.
572
+ if (typeof i == "function")
573
+ l = i.propTypes;
574
+ else if (typeof i == "object" && (i.$$typeof === m || // Note: Memo only checks outer props here.
575
575
  // Inner props are checked in the reconciler.
576
- s.$$typeof === S))
577
- l = s.propTypes;
576
+ i.$$typeof === j))
577
+ l = i.propTypes;
578
578
  else
579
579
  return;
580
580
  if (l) {
581
- var f = F(s);
581
+ var f = O(i);
582
582
  On(l, e.props, "prop", f, e);
583
- } else if (s.PropTypes !== void 0 && !le) {
583
+ } else if (i.PropTypes !== void 0 && !le) {
584
584
  le = !0;
585
- var y = F(s);
585
+ var y = O(i);
586
586
  P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
587
587
  }
588
- typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
588
+ typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
589
589
  }
590
590
  }
591
591
  function Xn(e) {
592
592
  {
593
- for (var s = Object.keys(e.props), l = 0; l < s.length; l++) {
594
- var f = s[l];
593
+ for (var i = Object.keys(e.props), l = 0; l < i.length; l++) {
594
+ var f = i[l];
595
595
  if (f !== "children" && f !== "key") {
596
596
  $(e), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), $(null);
597
597
  break;
@@ -601,7 +601,7 @@ Check the top-level render call using <` + l + ">.");
601
601
  }
602
602
  }
603
603
  var Oe = {};
604
- function Le(e, s, l, f, y, w) {
604
+ function Le(e, i, l, f, y, w) {
605
605
  {
606
606
  var h = Dn(e);
607
607
  if (!h) {
@@ -609,14 +609,14 @@ Check the top-level render call using <` + l + ">.");
609
609
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
610
610
  var I = qn(y);
611
611
  I ? v += I : v += Ie();
612
- var j;
613
- e === null ? j = "null" : ae(e) ? j = "array" : e !== void 0 && e.$$typeof === t ? (j = "<" + (F(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : j = typeof e, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, v);
612
+ var T;
613
+ e === null ? T = "null" : ae(e) ? T = "array" : e !== void 0 && e.$$typeof === t ? (T = "<" + (O(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : T = typeof e, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, v);
614
614
  }
615
- var E = Jn(e, s, l, y, w);
615
+ var E = Jn(e, i, l, y, w);
616
616
  if (E == null)
617
617
  return E;
618
618
  if (h) {
619
- var k = s.children;
619
+ var k = i.children;
620
620
  if (k !== void 0)
621
621
  if (f)
622
622
  if (ae(k)) {
@@ -628,28 +628,28 @@ Check the top-level render call using <` + l + ">.");
628
628
  else
629
629
  Fe(k, e);
630
630
  }
631
- if (Y.call(s, "key")) {
632
- var L = F(e), M = Object.keys(s).filter(function(rt) {
631
+ if (Y.call(i, "key")) {
632
+ var B = O(e), M = Object.keys(i).filter(function(rt) {
633
633
  return rt !== "key";
634
634
  }), ce = M.length > 0 ? "{key: someKey, " + M.join(": ..., ") + ": ...}" : "{key: someKey}";
635
- if (!Oe[L + ce]) {
635
+ if (!Oe[B + ce]) {
636
636
  var tt = M.length > 0 ? "{" + M.join(": ..., ") + ": ...}" : "{}";
637
637
  P(`A props object containing a "key" prop is being spread into JSX:
638
638
  let props = %s;
639
639
  <%s {...props} />
640
640
  React keys must be passed directly to JSX without using spread:
641
641
  let props = %s;
642
- <%s key={someKey} {...props} />`, ce, L, tt, L), Oe[L + ce] = !0;
642
+ <%s key={someKey} {...props} />`, ce, B, tt, B), Oe[B + ce] = !0;
643
643
  }
644
644
  }
645
645
  return e === a ? Xn(E) : Hn(E), E;
646
646
  }
647
647
  }
648
- function Zn(e, s, l) {
649
- return Le(e, s, l, !0);
648
+ function Zn(e, i, l) {
649
+ return Le(e, i, l, !0);
650
650
  }
651
- function Qn(e, s, l) {
652
- return Le(e, s, l, !1);
651
+ function Qn(e, i, l) {
652
+ return Le(e, i, l, !1);
653
653
  }
654
654
  var et = Qn, nt = Zn;
655
655
  J.Fragment = a, J.jsx = et, J.jsxs = nt;
@@ -707,14 +707,14 @@ const Tt = Q(
707
707
  }
708
708
  }
709
709
  ), He = p.forwardRef(
710
- ({ className: r, variant: t, size: n, asChild: a = !1, ...i }, d) => {
710
+ ({ className: r, variant: t, size: n, asChild: a = !1, ...s }, d) => {
711
711
  const c = a ? Ye : "button";
712
712
  return /* @__PURE__ */ o.jsx(
713
713
  c,
714
714
  {
715
715
  className: b(Tt({ variant: t, size: n, className: r })),
716
716
  ref: d,
717
- ...i
717
+ ...s
718
718
  }
719
719
  );
720
720
  }
@@ -773,10 +773,10 @@ const Dt = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__ */ o.jsx(
773
773
  }
774
774
  ));
775
775
  Dt.displayName = "CardFooter";
776
- const _t = T.Root, Pt = T.Trigger, It = T.Sub, Qe = p.forwardRef(({ className: r, inset: t, children: n, ...a }, i) => /* @__PURE__ */ o.jsxs(
777
- T.SubTrigger,
776
+ const _t = R.Root, Pt = R.Trigger, It = R.Sub, Qe = p.forwardRef(({ className: r, inset: t, children: n, ...a }, s) => /* @__PURE__ */ o.jsxs(
777
+ R.SubTrigger,
778
778
  {
779
- ref: i,
779
+ ref: s,
780
780
  className: b(
781
781
  "bn-flex bn-cursor-default bn-select-none bn-items-center bn-rounded-sm bn-px-2 bn-py-1.5 bn-text-sm bn-outline-none focus:bn-bg-accent data-[state=open]:bn-bg-accent",
782
782
  t && "bn-pl-8",
@@ -789,9 +789,9 @@ const _t = T.Root, Pt = T.Trigger, It = T.Sub, Qe = p.forwardRef(({ className: r
789
789
  ]
790
790
  }
791
791
  ));
792
- Qe.displayName = T.SubTrigger.displayName;
792
+ Qe.displayName = R.SubTrigger.displayName;
793
793
  const en = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__ */ o.jsx(
794
- T.SubContent,
794
+ R.SubContent,
795
795
  {
796
796
  ref: n,
797
797
  className: b(
@@ -801,11 +801,11 @@ const en = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__ */ o.jsx(
801
801
  ...t
802
802
  }
803
803
  ));
804
- en.displayName = T.SubContent.displayName;
804
+ en.displayName = R.SubContent.displayName;
805
805
  const nn = p.forwardRef(({ className: r, sideOffset: t = 4, ...n }, a) => (
806
806
  // <DropdownMenuPrimitive.Portal>
807
807
  /* @__PURE__ */ o.jsx(
808
- T.Content,
808
+ R.Content,
809
809
  {
810
810
  ref: a,
811
811
  sideOffset: t,
@@ -817,9 +817,9 @@ const nn = p.forwardRef(({ className: r, sideOffset: t = 4, ...n }, a) => (
817
817
  }
818
818
  )
819
819
  ));
820
- nn.displayName = T.Content.displayName;
820
+ nn.displayName = R.Content.displayName;
821
821
  const tn = p.forwardRef(({ className: r, inset: t, ...n }, a) => /* @__PURE__ */ o.jsx(
822
- T.Item,
822
+ R.Item,
823
823
  {
824
824
  ref: a,
825
825
  className: b(
@@ -830,11 +830,11 @@ const tn = p.forwardRef(({ className: r, inset: t, ...n }, a) => /* @__PURE__ */
830
830
  ...n
831
831
  }
832
832
  ));
833
- tn.displayName = T.Item.displayName;
834
- const rn = p.forwardRef(({ className: r, children: t, checked: n, ...a }, i) => /* @__PURE__ */ o.jsxs(
835
- T.CheckboxItem,
833
+ tn.displayName = R.Item.displayName;
834
+ const rn = p.forwardRef(({ className: r, children: t, checked: n, ...a }, s) => /* @__PURE__ */ o.jsxs(
835
+ R.CheckboxItem,
836
836
  {
837
- ref: i,
837
+ ref: s,
838
838
  className: b(
839
839
  "bn-relative bn-flex bn-cursor-default bn-select-none bn-items-center bn-rounded-sm bn-py-1.5 bn-pl-8 bn-pr-2 bn-text-sm bn-outline-none bn-transition-colors focus:bn-bg-accent focus:bn-text-accent-foreground data-[disabled]:bn-pointer-events-none data-[disabled]:bn-opacity-50",
840
840
  r
@@ -842,14 +842,14 @@ const rn = p.forwardRef(({ className: r, children: t, checked: n, ...a }, i) =>
842
842
  checked: n,
843
843
  ...a,
844
844
  children: [
845
- /* @__PURE__ */ o.jsx("span", { className: "bn-absolute bn-left-2 bn-flex bn-h-3.5 bn-w-3.5 bn-items-center bn-justify-center", children: /* @__PURE__ */ o.jsx(T.ItemIndicator, { children: /* @__PURE__ */ o.jsx(Ke, { className: "bn-h-4 bn-w-4" }) }) }),
845
+ /* @__PURE__ */ o.jsx("span", { className: "bn-absolute bn-left-2 bn-flex bn-h-3.5 bn-w-3.5 bn-items-center bn-justify-center", children: /* @__PURE__ */ o.jsx(R.ItemIndicator, { children: /* @__PURE__ */ o.jsx(Ke, { className: "bn-h-4 bn-w-4" }) }) }),
846
846
  t
847
847
  ]
848
848
  }
849
849
  ));
850
- rn.displayName = T.CheckboxItem.displayName;
850
+ rn.displayName = R.CheckboxItem.displayName;
851
851
  const Mt = p.forwardRef(({ className: r, children: t, ...n }, a) => /* @__PURE__ */ o.jsxs(
852
- T.RadioItem,
852
+ R.RadioItem,
853
853
  {
854
854
  ref: a,
855
855
  className: b(
@@ -858,14 +858,14 @@ const Mt = p.forwardRef(({ className: r, children: t, ...n }, a) => /* @__PURE__
858
858
  ),
859
859
  ...n,
860
860
  children: [
861
- /* @__PURE__ */ o.jsx("span", { className: "bn-absolute bn-left-2 bn-flex bn-h-3.5 bn-w-3.5 bn-items-center bn-justify-center", children: /* @__PURE__ */ o.jsx(T.ItemIndicator, { children: /* @__PURE__ */ o.jsx(pt, { className: "bn-h-2 bn-w-2 bn-fill-current" }) }) }),
861
+ /* @__PURE__ */ o.jsx("span", { className: "bn-absolute bn-left-2 bn-flex bn-h-3.5 bn-w-3.5 bn-items-center bn-justify-center", children: /* @__PURE__ */ o.jsx(R.ItemIndicator, { children: /* @__PURE__ */ o.jsx(pt, { className: "bn-h-2 bn-w-2 bn-fill-current" }) }) }),
862
862
  t
863
863
  ]
864
864
  }
865
865
  ));
866
- Mt.displayName = T.RadioItem.displayName;
866
+ Mt.displayName = R.RadioItem.displayName;
867
867
  const on = p.forwardRef(({ className: r, inset: t, ...n }, a) => /* @__PURE__ */ o.jsx(
868
- T.Label,
868
+ R.Label,
869
869
  {
870
870
  ref: a,
871
871
  className: b(
@@ -876,16 +876,16 @@ const on = p.forwardRef(({ className: r, inset: t, ...n }, a) => /* @__PURE__ */
876
876
  ...n
877
877
  }
878
878
  ));
879
- on.displayName = T.Label.displayName;
879
+ on.displayName = R.Label.displayName;
880
880
  const an = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__ */ o.jsx(
881
- T.Separator,
881
+ R.Separator,
882
882
  {
883
883
  ref: n,
884
884
  className: b("bn--mx-1 bn-my-1 bn-h-px bn-bg-muted", r),
885
885
  ...t
886
886
  }
887
887
  ));
888
- an.displayName = T.Separator.displayName;
888
+ an.displayName = R.Separator.displayName;
889
889
  const kt = Q(
890
890
  "bn-text-sm bn-font-medium bn-leading-none peer-disabled:bn-cursor-not-allowed peer-disabled:bn-opacity-70"
891
891
  ), ue = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__ */ o.jsx(
@@ -900,7 +900,7 @@ ue.displayName = qe.Root.displayName;
900
900
  const Ft = vt, Ot = p.createContext(
901
901
  {}
902
902
  ), ne = () => {
903
- const r = p.useContext(Ot), t = p.useContext(sn), { getFieldState: n, formState: a } = xt(), i = n(r.name, a);
903
+ const r = p.useContext(Ot), t = p.useContext(sn), { getFieldState: n, formState: a } = xt(), s = n(r.name, a);
904
904
  if (!r)
905
905
  throw new Error("useFormField should be used within <FormField>");
906
906
  const { id: d } = t;
@@ -910,7 +910,7 @@ const Ft = vt, Ot = p.createContext(
910
910
  formItemId: `${d}-form-item`,
911
911
  formDescriptionId: `${d}-form-item-description`,
912
912
  formMessageId: `${d}-form-item-message`,
913
- ...i
913
+ ...s
914
914
  };
915
915
  }, sn = p.createContext(
916
916
  {}
@@ -920,26 +920,26 @@ const Ft = vt, Ot = p.createContext(
920
920
  });
921
921
  Lt.displayName = "FormItem";
922
922
  const Bt = p.forwardRef(({ className: r, ...t }, n) => {
923
- const { error: a, formItemId: i } = ne();
923
+ const { error: a, formItemId: s } = ne();
924
924
  return /* @__PURE__ */ o.jsx(
925
925
  ue,
926
926
  {
927
927
  ref: n,
928
928
  className: b(a && "bn-text-destructive", r),
929
- htmlFor: i,
929
+ htmlFor: s,
930
930
  ...t
931
931
  }
932
932
  );
933
933
  });
934
934
  Bt.displayName = "FormLabel";
935
935
  const Vt = p.forwardRef(({ ...r }, t) => {
936
- const { error: n, formItemId: a, formDescriptionId: i, formMessageId: d } = ne();
936
+ const { error: n, formItemId: a, formDescriptionId: s, formMessageId: d } = ne();
937
937
  return /* @__PURE__ */ o.jsx(
938
938
  Ye,
939
939
  {
940
940
  ref: t,
941
941
  id: a,
942
- "aria-describedby": n ? `${i} ${d}` : `${i}`,
942
+ "aria-describedby": n ? `${s} ${d}` : `${s}`,
943
943
  "aria-invalid": !!n,
944
944
  ...r
945
945
  }
@@ -960,7 +960,7 @@ const At = p.forwardRef(({ className: r, ...t }, n) => {
960
960
  });
961
961
  At.displayName = "FormDescription";
962
962
  const $t = p.forwardRef(({ className: r, children: t, ...n }, a) => {
963
- const { error: i, formMessageId: d } = ne(), c = i ? String(i == null ? void 0 : i.message) : t;
963
+ const { error: s, formMessageId: d } = ne(), c = s ? String(s == null ? void 0 : s.message) : t;
964
964
  return c ? /* @__PURE__ */ o.jsx(
965
965
  "p",
966
966
  {
@@ -988,12 +988,12 @@ const ln = p.forwardRef(
988
988
  )
989
989
  );
990
990
  ln.displayName = "Input";
991
- const zt = ee.Root, Wt = ee.Trigger, dn = p.forwardRef(({ className: r, align: t = "center", sideOffset: n = 4, ...a }, i) => (
991
+ const zt = ee.Root, Wt = ee.Trigger, dn = p.forwardRef(({ className: r, align: t = "center", sideOffset: n = 4, ...a }, s) => (
992
992
  // <PopoverPrimitive.Portal>
993
993
  /* @__PURE__ */ o.jsx(
994
994
  ee.Content,
995
995
  {
996
- ref: i,
996
+ ref: s,
997
997
  align: t,
998
998
  sideOffset: n,
999
999
  className: b(
@@ -1047,12 +1047,12 @@ const un = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__ */ o.jsx(
1047
1047
  }
1048
1048
  ));
1049
1049
  un.displayName = D.ScrollDownButton.displayName;
1050
- const fn = p.forwardRef(({ className: r, children: t, position: n = "popper", ...a }, i) => (
1050
+ const fn = p.forwardRef(({ className: r, children: t, position: n = "popper", ...a }, s) => (
1051
1051
  // <SelectPrimitive.Portal>
1052
1052
  /* @__PURE__ */ o.jsxs(
1053
1053
  D.Content,
1054
1054
  {
1055
- ref: i,
1055
+ ref: s,
1056
1056
  className: b(
1057
1057
  "bn-relative bn-z-50 bn-max-h-96 bn-min-w-[8rem] bn-overflow-hidden bn-rounded-md bn-border bn-bg-popover bn-text-popover-foreground bn-shadow-md data-[state=open]:bn-animate-in data-[state=closed]:bn-animate-out data-[state=closed]:bn-fade-out-0 data-[state=open]:bn-fade-in-0 data-[state=closed]:bn-zoom-out-95 data-[state=open]:bn-zoom-in-95 data-[side=bottom]:bn-slide-in-from-top-2 data-[side=left]:bn-slide-in-from-right-2 data-[side=right]:bn-slide-in-from-left-2 data-[side=top]:bn-slide-in-from-bottom-2",
1058
1058
  n === "popper" && "data-[side=bottom]:bn-translate-y-1 data-[side=left]:bn--translate-x-1 data-[side=right]:bn-translate-x-1 data-[side=top]:bn--translate-y-1",
@@ -1115,8 +1115,8 @@ const Jt = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__ */ o.jsx(
1115
1115
  }
1116
1116
  ));
1117
1117
  Jt.displayName = D.Separator.displayName;
1118
- const qt = B.Root, pn = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__ */ o.jsx(
1119
- B.List,
1118
+ const qt = V.Root, pn = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__ */ o.jsx(
1119
+ V.List,
1120
1120
  {
1121
1121
  ref: n,
1122
1122
  className: b(
@@ -1126,9 +1126,9 @@ const qt = B.Root, pn = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__
1126
1126
  ...t
1127
1127
  }
1128
1128
  ));
1129
- pn.displayName = B.List.displayName;
1129
+ pn.displayName = V.List.displayName;
1130
1130
  const gn = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__ */ o.jsx(
1131
- B.Trigger,
1131
+ V.Trigger,
1132
1132
  {
1133
1133
  ref: n,
1134
1134
  className: b(
@@ -1138,9 +1138,9 @@ const gn = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__ */ o.jsx(
1138
1138
  ...t
1139
1139
  }
1140
1140
  ));
1141
- gn.displayName = B.Trigger.displayName;
1141
+ gn.displayName = V.Trigger.displayName;
1142
1142
  const vn = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__ */ o.jsx(
1143
- B.Content,
1143
+ V.Content,
1144
1144
  {
1145
1145
  ref: n,
1146
1146
  className: b(
@@ -1150,7 +1150,7 @@ const vn = p.forwardRef(({ className: r, ...t }, n) => /* @__PURE__ */ o.jsx(
1150
1150
  ...t
1151
1151
  }
1152
1152
  ));
1153
- vn.displayName = B.Content.displayName;
1153
+ vn.displayName = V.Content.displayName;
1154
1154
  const Gt = Q(
1155
1155
  "bn-inline-flex bn-items-center bn-justify-center bn-rounded-md bn-text-sm bn-font-medium bn-ring-offset-background bn-transition-colors hover:bn-bg-muted hover:bn-text-muted-foreground focus-visible:bn-outline-none focus-visible:bn-ring-2 focus-visible:bn-ring-ring focus-visible:bn-ring-offset-2 disabled:bn-pointer-events-none disabled:bn-opacity-50 data-[state=on]:bn-bg-accent data-[state=on]:bn-text-accent-foreground",
1156
1156
  {
@@ -1170,10 +1170,10 @@ const Gt = Q(
1170
1170
  size: "default"
1171
1171
  }
1172
1172
  }
1173
- ), xn = p.forwardRef(({ className: r, variant: t, size: n, ...a }, i) => /* @__PURE__ */ o.jsx(
1173
+ ), xn = p.forwardRef(({ className: r, variant: t, size: n, ...a }, s) => /* @__PURE__ */ o.jsx(
1174
1174
  Ge.Root,
1175
1175
  {
1176
- ref: i,
1176
+ ref: s,
1177
1177
  className: b(Gt({ variant: t, size: n, className: r })),
1178
1178
  ...a
1179
1179
  }
@@ -1252,14 +1252,14 @@ const Qt = {
1252
1252
  TooltipTrigger: Zt
1253
1253
  }
1254
1254
  }, yn = ot(void 0);
1255
- function R() {
1255
+ function S() {
1256
1256
  return at(yn);
1257
1257
  }
1258
1258
  const er = (r) => {
1259
1259
  const { children: t, ...n } = r;
1260
1260
  C(n);
1261
- const a = R(), i = ht();
1262
- return /* @__PURE__ */ o.jsx(a.Form.Form, { ...i, children: t });
1261
+ const a = S(), s = ht();
1262
+ return /* @__PURE__ */ o.jsx(a.Form.Form, { ...s, children: t });
1263
1263
  }, nr = (r) => N(
1264
1264
  (t, n) => /* @__PURE__ */ o.jsx(
1265
1265
  r,
@@ -1268,8 +1268,8 @@ const er = (r) => {
1268
1268
  a.nativeEvent.fakeEvent || (a.ctrlKey = !0);
1269
1269
  },
1270
1270
  onPointerUp: (a) => {
1271
- const i = new PointerEvent("pointerdown", a.nativeEvent);
1272
- i.fakeEvent = !0, a.target.dispatchEvent(i);
1271
+ const s = new PointerEvent("pointerdown", a.nativeEvent);
1272
+ s.fakeEvent = !0, a.target.dispatchEvent(s);
1273
1273
  },
1274
1274
  ...t,
1275
1275
  ref: n
@@ -1281,12 +1281,12 @@ const er = (r) => {
1281
1281
  onOpenChange: n,
1282
1282
  position: a,
1283
1283
  // Unused
1284
- sub: i,
1284
+ sub: s,
1285
1285
  ...d
1286
1286
  } = r;
1287
1287
  C(d);
1288
- const c = R();
1289
- return i ? /* @__PURE__ */ o.jsx(
1288
+ const c = S();
1289
+ return s ? /* @__PURE__ */ o.jsx(
1290
1290
  c.DropdownMenu.DropdownMenuSub,
1291
1291
  {
1292
1292
  onOpenChange: n,
@@ -1296,18 +1296,18 @@ const er = (r) => {
1296
1296
  }, rr = (r) => {
1297
1297
  const { children: t, sub: n, ...a } = r;
1298
1298
  C(a);
1299
- const i = R(), d = We(
1299
+ const s = S(), d = We(
1300
1300
  () => nr(
1301
- i.DropdownMenu.DropdownMenuTrigger
1301
+ s.DropdownMenu.DropdownMenuTrigger
1302
1302
  ),
1303
- [i.DropdownMenu.DropdownMenuTrigger]
1303
+ [s.DropdownMenu.DropdownMenuTrigger]
1304
1304
  );
1305
- return n ? /* @__PURE__ */ o.jsx(i.DropdownMenu.DropdownMenuSubTrigger, { children: t }) : /* @__PURE__ */ o.jsx(d, { asChild: !0, ...a, children: t });
1305
+ return n ? /* @__PURE__ */ o.jsx(s.DropdownMenu.DropdownMenuSubTrigger, { children: t }) : /* @__PURE__ */ o.jsx(d, { asChild: !0, ...a, children: t });
1306
1306
  }, or = N((r, t) => {
1307
- const { className: n, children: a, sub: i, ...d } = r;
1307
+ const { className: n, children: a, sub: s, ...d } = r;
1308
1308
  C(d);
1309
- const c = R();
1310
- return i ? /* @__PURE__ */ o.jsx(
1309
+ const c = S();
1310
+ return s ? /* @__PURE__ */ o.jsx(
1311
1311
  c.DropdownMenu.DropdownMenuSubContent,
1312
1312
  {
1313
1313
  className: n,
@@ -1323,11 +1323,11 @@ const er = (r) => {
1323
1323
  }
1324
1324
  );
1325
1325
  }), ar = N((r, t) => {
1326
- const { className: n, children: a, icon: i, checked: d, subTrigger: c, onClick: x, ...m } = r;
1326
+ const { className: n, children: a, icon: s, checked: d, subTrigger: c, onClick: x, ...m } = r;
1327
1327
  C(m);
1328
- const u = R();
1328
+ const u = S();
1329
1329
  return c ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
1330
- i,
1330
+ s,
1331
1331
  a
1332
1332
  ] }) : d !== void 0 ? /* @__PURE__ */ o.jsxs(
1333
1333
  u.DropdownMenu.DropdownMenuCheckboxItem,
@@ -1338,7 +1338,7 @@ const er = (r) => {
1338
1338
  onClick: x,
1339
1339
  ...m,
1340
1340
  children: [
1341
- i,
1341
+ s,
1342
1342
  a
1343
1343
  ]
1344
1344
  }
@@ -1350,7 +1350,7 @@ const er = (r) => {
1350
1350
  onClick: x,
1351
1351
  ...m,
1352
1352
  children: [
1353
- i,
1353
+ s,
1354
1354
  a,
1355
1355
  c && /* @__PURE__ */ o.jsx(Ue, { className: "bn-ml-auto bn-h-4 bn-w-4" })
1356
1356
  ]
@@ -1359,18 +1359,18 @@ const er = (r) => {
1359
1359
  }), sr = N((r, t) => {
1360
1360
  const { className: n, ...a } = r;
1361
1361
  C(a);
1362
- const i = R();
1362
+ const s = S();
1363
1363
  return /* @__PURE__ */ o.jsx(
1364
- i.DropdownMenu.DropdownMenuSeparator,
1364
+ s.DropdownMenu.DropdownMenuSeparator,
1365
1365
  {
1366
1366
  className: n,
1367
1367
  ref: t
1368
1368
  }
1369
1369
  );
1370
1370
  }), ir = N((r, t) => {
1371
- const { className: n, children: a, ...i } = r;
1372
- C(i);
1373
- const d = R();
1371
+ const { className: n, children: a, ...s } = r;
1372
+ C(s);
1373
+ const d = S();
1374
1374
  return /* @__PURE__ */ o.jsx(
1375
1375
  d.DropdownMenu.DropdownMenuLabel,
1376
1376
  {
@@ -1383,7 +1383,7 @@ const er = (r) => {
1383
1383
  const {
1384
1384
  className: n,
1385
1385
  tabs: a,
1386
- defaultOpenTab: i,
1386
+ defaultOpenTab: s,
1387
1387
  openTab: d,
1388
1388
  setOpenTab: c,
1389
1389
  loading: x,
@@ -1391,14 +1391,14 @@ const er = (r) => {
1391
1391
  ...m
1392
1392
  } = r;
1393
1393
  C(m);
1394
- const u = R();
1394
+ const u = S();
1395
1395
  return /* @__PURE__ */ o.jsxs(
1396
1396
  u.Tabs.Tabs,
1397
1397
  {
1398
1398
  className: b(n, "bn-bg-popover bn-p-2 bn-rounded-lg"),
1399
1399
  ref: t,
1400
1400
  value: d,
1401
- defaultValue: i,
1401
+ defaultValue: s,
1402
1402
  onValueChange: c,
1403
1403
  children: [
1404
1404
  /* @__PURE__ */ o.jsx(u.Tabs.TabsList, { children: a.map((g) => /* @__PURE__ */ o.jsx(u.Tabs.TabsTrigger, { value: g.name, children: g.name }, g.name)) }),
@@ -1407,9 +1407,9 @@ const er = (r) => {
1407
1407
  }
1408
1408
  );
1409
1409
  }), dr = N((r, t) => {
1410
- const { className: n, children: a, onClick: i, label: d, ...c } = r;
1410
+ const { className: n, children: a, onClick: s, label: d, ...c } = r;
1411
1411
  C(c);
1412
- const x = R();
1412
+ const x = S();
1413
1413
  return /* @__PURE__ */ o.jsx(
1414
1414
  x.Button.Button,
1415
1415
  {
@@ -1417,14 +1417,14 @@ const er = (r) => {
1417
1417
  className: n,
1418
1418
  "aria-label": d,
1419
1419
  ref: t,
1420
- onClick: i,
1420
+ onClick: s,
1421
1421
  children: a
1422
1422
  }
1423
1423
  );
1424
1424
  }), cr = N((r, t) => {
1425
- const { className: n, accept: a, value: i, placeholder: d, onChange: c, ...x } = r;
1425
+ const { className: n, accept: a, value: s, placeholder: d, onChange: c, ...x } = r;
1426
1426
  C(x);
1427
- const m = R();
1427
+ const m = S();
1428
1428
  return /* @__PURE__ */ o.jsx(
1429
1429
  m.Input.Input,
1430
1430
  {
@@ -1432,14 +1432,14 @@ const er = (r) => {
1432
1432
  className: n,
1433
1433
  ref: t,
1434
1434
  accept: a,
1435
- value: i ? i.name : void 0,
1435
+ value: s ? s.name : void 0,
1436
1436
  onChange: async (u) => c == null ? void 0 : c(u.target.files[0]),
1437
1437
  placeholder: d
1438
1438
  }
1439
1439
  );
1440
1440
  }), br = N((r, t) => {
1441
- const { className: n, children: a, ...i } = r;
1442
- return C(i), /* @__PURE__ */ o.jsx(
1441
+ const { className: n, children: a, ...s } = r;
1442
+ return C(s), /* @__PURE__ */ o.jsx(
1443
1443
  "div",
1444
1444
  {
1445
1445
  className: b(
@@ -1451,9 +1451,9 @@ const er = (r) => {
1451
1451
  }
1452
1452
  );
1453
1453
  }), ur = N((r, t) => {
1454
- const { className: n, value: a, placeholder: i, onKeyDown: d, onChange: c, ...x } = r;
1454
+ const { className: n, value: a, placeholder: s, onKeyDown: d, onChange: c, ...x } = r;
1455
1455
  C(x);
1456
- const m = R();
1456
+ const m = S();
1457
1457
  return /* @__PURE__ */ o.jsx(
1458
1458
  m.Input.Input,
1459
1459
  {
@@ -1461,7 +1461,7 @@ const er = (r) => {
1461
1461
  className: b(n, "bn-w-80"),
1462
1462
  ref: t,
1463
1463
  value: a,
1464
- placeholder: i,
1464
+ placeholder: s,
1465
1465
  onKeyDown: d,
1466
1466
  onChange: c
1467
1467
  }
@@ -1472,22 +1472,22 @@ const er = (r) => {
1472
1472
  opened: n,
1473
1473
  position: a,
1474
1474
  // unused
1475
- ...i
1475
+ ...s
1476
1476
  } = r;
1477
- C(i);
1478
- const d = R();
1477
+ C(s);
1478
+ const d = S();
1479
1479
  return /* @__PURE__ */ o.jsx(d.Popover.Popover, { open: n, children: t });
1480
1480
  }, mr = N(
1481
1481
  (r, t) => {
1482
1482
  const { children: n, ...a } = r;
1483
1483
  C(a);
1484
- const i = R();
1485
- return /* @__PURE__ */ o.jsx(i.Popover.PopoverTrigger, { ref: t, asChild: !0, children: n });
1484
+ const s = S();
1485
+ return /* @__PURE__ */ o.jsx(s.Popover.PopoverTrigger, { ref: t, asChild: !0, children: n });
1486
1486
  }
1487
1487
  ), pr = N((r, t) => {
1488
- const { className: n, variant: a, children: i, ...d } = r;
1488
+ const { className: n, variant: a, children: s, ...d } = r;
1489
1489
  C(d);
1490
- const c = R();
1490
+ const c = S();
1491
1491
  return /* @__PURE__ */ o.jsx(
1492
1492
  c.Popover.PopoverContent,
1493
1493
  {
@@ -1498,17 +1498,17 @@ const er = (r) => {
1498
1498
  a === "panel-popover" ? "bn-p-0 bn-border-none bn-shadow-none bn-max-w-none bn-w-fit" : ""
1499
1499
  ),
1500
1500
  ref: t,
1501
- children: i
1501
+ children: s
1502
1502
  }
1503
1503
  );
1504
1504
  }), gr = N((r, t) => {
1505
- const { className: n, children: a, ...i } = r;
1506
- return C(i, !1), /* @__PURE__ */ o.jsx("div", { className: n, ref: t, ...i, children: a });
1505
+ const { className: n, children: a, ...s } = r;
1506
+ return C(s, !1), /* @__PURE__ */ o.jsx("div", { className: n, ref: t, ...s, children: a });
1507
1507
  }), vr = N((r, t) => {
1508
1508
  const {
1509
1509
  className: n,
1510
1510
  children: a,
1511
- icon: i,
1511
+ icon: s,
1512
1512
  onClick: d,
1513
1513
  onDragEnd: c,
1514
1514
  onDragStart: x,
@@ -1517,9 +1517,9 @@ const er = (r) => {
1517
1517
  ...g
1518
1518
  } = r;
1519
1519
  C(g, !1);
1520
- const S = R();
1520
+ const j = S();
1521
1521
  return /* @__PURE__ */ o.jsxs(
1522
- S.Button.Button,
1522
+ j.Button.Button,
1523
1523
  {
1524
1524
  variant: "ghost",
1525
1525
  className: b(n, "bn-text-gray-400"),
@@ -1531,17 +1531,17 @@ const er = (r) => {
1531
1531
  draggable: m,
1532
1532
  ...g,
1533
1533
  children: [
1534
- i,
1534
+ s,
1535
1535
  a
1536
1536
  ]
1537
1537
  }
1538
1538
  );
1539
1539
  }), xr = N((r, t) => {
1540
- const { className: n, children: a, id: i, ...d } = r;
1540
+ const { className: n, children: a, id: s, ...d } = r;
1541
1541
  return C(d), /* @__PURE__ */ o.jsx(
1542
1542
  "div",
1543
1543
  {
1544
- id: i,
1544
+ id: s,
1545
1545
  role: "listbox",
1546
1546
  className: b(
1547
1547
  "bn-z-50 bn-min-w-[8rem] bn-overflow-auto bn-rounded-md bn-border bn-bg-popover bn-p-1 bn-text-popover-foreground bn-shadow-md data-[state=open]:bn-animate-in data-[state=closed]:bn-animate-out data-[state=closed]:bn-fade-out-0 data-[state=open]:bn-fade-in-0 data-[state=closed]:bn-zoom-out-95 data-[state=open]:bn-zoom-in-95 data-[side=bottom]:bn-slide-in-from-top-2 data-[side=left]:bn-slide-in-from-right-2 data-[side=right]:bn-slide-in-from-left-2 data-[side=top]:bn-slide-in-from-bottom-2",
@@ -1552,8 +1552,8 @@ const er = (r) => {
1552
1552
  }
1553
1553
  );
1554
1554
  }), hr = N((r, t) => {
1555
- const { className: n, children: a, ...i } = r;
1556
- return C(i), /* @__PURE__ */ o.jsx(
1555
+ const { className: n, children: a, ...s } = r;
1556
+ return C(s), /* @__PURE__ */ o.jsx(
1557
1557
  "div",
1558
1558
  {
1559
1559
  className: b(
@@ -1565,7 +1565,7 @@ const er = (r) => {
1565
1565
  }
1566
1566
  );
1567
1567
  }), yr = N((r, t) => {
1568
- const n = R(), { className: a, item: i, isSelected: d, onClick: c, id: x, ...m } = r;
1568
+ const n = S(), { className: a, item: s, isSelected: d, onClick: c, id: x, ...m } = r;
1569
1569
  C(m);
1570
1570
  const u = st(null);
1571
1571
  return it(() => {
@@ -1586,18 +1586,18 @@ const er = (r) => {
1586
1586
  role: "option",
1587
1587
  "aria-selected": d || void 0,
1588
1588
  children: [
1589
- i.icon && /* @__PURE__ */ o.jsx("div", { className: "bn-p-3", "data-position": "left", children: i.icon }),
1589
+ s.icon && /* @__PURE__ */ o.jsx("div", { className: "bn-p-3", "data-position": "left", children: s.icon }),
1590
1590
  /* @__PURE__ */ o.jsxs("div", { className: "bn-flex-1", children: [
1591
- /* @__PURE__ */ o.jsx("div", { className: "bn-text-base", children: i.title }),
1592
- /* @__PURE__ */ o.jsx("div", { className: "bn-text-xs", children: i.subtext })
1591
+ /* @__PURE__ */ o.jsx("div", { className: "bn-text-base", children: s.title }),
1592
+ /* @__PURE__ */ o.jsx("div", { className: "bn-text-xs", children: s.subtext })
1593
1593
  ] }),
1594
- i.badge && /* @__PURE__ */ o.jsx("div", { "data-position": "right", className: "bn-text-xs", children: /* @__PURE__ */ o.jsx(n.Badge.Badge, { variant: "secondary", children: i.badge }) })
1594
+ s.badge && /* @__PURE__ */ o.jsx("div", { "data-position": "right", className: "bn-text-xs", children: /* @__PURE__ */ o.jsx(n.Badge.Badge, { variant: "secondary", children: s.badge }) })
1595
1595
  ]
1596
1596
  }
1597
1597
  );
1598
1598
  }), wr = N((r, t) => {
1599
- const { className: n, children: a, ...i } = r;
1600
- return C(i), /* @__PURE__ */ o.jsx(
1599
+ const { className: n, children: a, ...s } = r;
1600
+ return C(s), /* @__PURE__ */ o.jsx(
1601
1601
  "div",
1602
1602
  {
1603
1603
  className: b("bn-px-2 bn-py-1.5 bn-text-sm bn-font-semibold", n),
@@ -1606,13 +1606,13 @@ const er = (r) => {
1606
1606
  }
1607
1607
  );
1608
1608
  }), Cr = N((r, t) => {
1609
- const { className: n, children: a, ...i } = r;
1610
- return C(i), /* @__PURE__ */ o.jsx("div", { className: n, ref: t, children: a });
1609
+ const { className: n, children: a, ...s } = r;
1610
+ return C(s), /* @__PURE__ */ o.jsx("div", { className: n, ref: t, children: a });
1611
1611
  }), Nr = N((r, t) => {
1612
1612
  const {
1613
1613
  className: n,
1614
1614
  children: a,
1615
- draggable: i,
1615
+ draggable: s,
1616
1616
  onDragStart: d,
1617
1617
  onDragEnd: c,
1618
1618
  style: x,
@@ -1620,7 +1620,7 @@ const er = (r) => {
1620
1620
  ...u
1621
1621
  } = r;
1622
1622
  C(u, !1);
1623
- const g = R();
1623
+ const g = S();
1624
1624
  return /* @__PURE__ */ o.jsx(
1625
1625
  g.Button.Button,
1626
1626
  {
@@ -1628,7 +1628,7 @@ const er = (r) => {
1628
1628
  className: b(n, "bn-p-0 bn-h-fit bn-w-fit bn-text-gray-400"),
1629
1629
  ref: t,
1630
1630
  "aria-label": m,
1631
- draggable: i,
1631
+ draggable: s,
1632
1632
  onDragStart: d,
1633
1633
  onDragEnd: c,
1634
1634
  style: x,
@@ -1636,59 +1636,58 @@ const er = (r) => {
1636
1636
  children: a
1637
1637
  }
1638
1638
  );
1639
- }), jr = N(
1640
- (r) => {
1641
- const {
1642
- className: t,
1643
- name: n,
1644
- label: a,
1645
- icon: i,
1646
- // TODO: implement
1647
- value: d,
1648
- autoFocus: c,
1649
- placeholder: x,
1650
- onKeyDown: m,
1651
- onChange: u,
1652
- onSubmit: g,
1653
- ...S
1654
- } = r;
1655
- C(S);
1656
- const _ = R();
1657
- return a ? /* @__PURE__ */ o.jsxs("div", { children: [
1658
- /* @__PURE__ */ o.jsx(_.Label.Label, { htmlFor: a, children: a }),
1659
- /* @__PURE__ */ o.jsx(
1660
- _.Input.Input,
1661
- {
1662
- className: t,
1663
- id: a,
1664
- name: n,
1665
- autoFocus: c,
1666
- placeholder: x,
1667
- value: d,
1668
- onKeyDown: m,
1669
- onChange: u,
1670
- onSubmit: g
1671
- }
1672
- )
1673
- ] }) : /* @__PURE__ */ o.jsx(
1674
- _.Input.Input,
1639
+ }), jr = N((r, t) => {
1640
+ const {
1641
+ className: n,
1642
+ name: a,
1643
+ label: s,
1644
+ icon: d,
1645
+ // TODO: implement
1646
+ value: c,
1647
+ autoFocus: x,
1648
+ placeholder: m,
1649
+ onKeyDown: u,
1650
+ onChange: g,
1651
+ onSubmit: j,
1652
+ ..._
1653
+ } = r;
1654
+ C(_);
1655
+ const F = S();
1656
+ return s ? /* @__PURE__ */ o.jsxs("div", { children: [
1657
+ /* @__PURE__ */ o.jsx(F.Label.Label, { htmlFor: s, children: s }),
1658
+ /* @__PURE__ */ o.jsx(
1659
+ F.Input.Input,
1675
1660
  {
1676
- "aria-label": n,
1677
- name: n,
1678
- autoFocus: c,
1679
- placeholder: x,
1680
- value: d,
1681
- onKeyDown: m,
1682
- onChange: u,
1683
- onSubmit: g
1661
+ className: n,
1662
+ id: s,
1663
+ name: a,
1664
+ autoFocus: x,
1665
+ placeholder: m,
1666
+ value: c,
1667
+ onKeyDown: u,
1668
+ onChange: g,
1669
+ onSubmit: j
1684
1670
  }
1685
- );
1686
- }
1687
- ), Ae = N(
1671
+ )
1672
+ ] }) : /* @__PURE__ */ o.jsx(
1673
+ F.Input.Input,
1674
+ {
1675
+ "aria-label": a,
1676
+ name: a,
1677
+ autoFocus: x,
1678
+ placeholder: m,
1679
+ value: c,
1680
+ onKeyDown: u,
1681
+ onChange: g,
1682
+ onSubmit: j,
1683
+ ref: t
1684
+ }
1685
+ );
1686
+ }), Ae = N(
1688
1687
  (r, t) => {
1689
- const { className: n, children: a, onMouseEnter: i, onMouseLeave: d, ...c } = r;
1688
+ const { className: n, children: a, onMouseEnter: s, onMouseLeave: d, ...c } = r;
1690
1689
  C(c);
1691
- const x = R();
1690
+ const x = S();
1692
1691
  return /* @__PURE__ */ o.jsx(x.Tooltip.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ o.jsx(
1693
1692
  "div",
1694
1693
  {
@@ -1697,7 +1696,7 @@ const er = (r) => {
1697
1696
  "bn-flex bn-gap-1 bn-p-1 bn-bg-popover bn-text-popover-foreground bn-border bn-rounded-lg bn-shadow-md"
1698
1697
  ),
1699
1698
  ref: t,
1700
- onMouseEnter: i,
1699
+ onMouseEnter: s,
1701
1700
  onMouseLeave: d,
1702
1701
  children: a
1703
1702
  }
@@ -1708,17 +1707,17 @@ const er = (r) => {
1708
1707
  const {
1709
1708
  className: n,
1710
1709
  children: a,
1711
- mainTooltip: i,
1710
+ mainTooltip: s,
1712
1711
  secondaryTooltip: d,
1713
1712
  icon: c,
1714
1713
  isSelected: x,
1715
1714
  isDisabled: m,
1716
1715
  onClick: u,
1717
1716
  label: g,
1718
- ...S
1717
+ ...j
1719
1718
  } = r;
1720
- C(S, !1);
1721
- const _ = R(), V = x === void 0 ? /* @__PURE__ */ o.jsxs(
1719
+ C(j, !1);
1720
+ const _ = S(), F = x === void 0 ? /* @__PURE__ */ o.jsxs(
1722
1721
  _.Button.Button,
1723
1722
  {
1724
1723
  className: n,
@@ -1727,7 +1726,7 @@ const er = (r) => {
1727
1726
  onClick: u,
1728
1727
  ref: t,
1729
1728
  "aria-label": g,
1730
- ...S,
1729
+ ...j,
1731
1730
  children: [
1732
1731
  c,
1733
1732
  a
@@ -1747,7 +1746,7 @@ const er = (r) => {
1747
1746
  "data-state": x ? "on" : "off",
1748
1747
  "data-disabled": m,
1749
1748
  ref: t,
1750
- ...S,
1749
+ ...j,
1751
1750
  children: [
1752
1751
  c,
1753
1752
  a
@@ -1755,13 +1754,13 @@ const er = (r) => {
1755
1754
  }
1756
1755
  );
1757
1756
  return /* @__PURE__ */ o.jsxs(_.Tooltip.Tooltip, { children: [
1758
- /* @__PURE__ */ o.jsx(_.Tooltip.TooltipTrigger, { asChild: !0, children: V }),
1757
+ /* @__PURE__ */ o.jsx(_.Tooltip.TooltipTrigger, { asChild: !0, children: F }),
1759
1758
  /* @__PURE__ */ o.jsxs(
1760
1759
  _.Tooltip.TooltipContent,
1761
1760
  {
1762
1761
  className: "bn-flex bn-flex-col bn-items-center",
1763
1762
  children: [
1764
- /* @__PURE__ */ o.jsx("span", { children: i }),
1763
+ /* @__PURE__ */ o.jsx("span", { children: s }),
1765
1764
  d && /* @__PURE__ */ o.jsx("span", { children: d })
1766
1765
  ]
1767
1766
  }
@@ -1769,9 +1768,9 @@ const er = (r) => {
1769
1768
  ] });
1770
1769
  }
1771
1770
  ), Tr = N((r, t) => {
1772
- const { className: n, items: a, isDisabled: i, ...d } = r;
1771
+ const { className: n, items: a, isDisabled: s, ...d } = r;
1773
1772
  C(d);
1774
- const c = R(), x = (u) => /* @__PURE__ */ o.jsxs("div", { className: "bn-flex bn-gap-1 bn-items-center", children: [
1773
+ const c = S(), x = (u) => /* @__PURE__ */ o.jsxs("div", { className: "bn-flex bn-gap-1 bn-items-center", children: [
1775
1774
  u.icon,
1776
1775
  u.text
1777
1776
  ] }), m = a.filter((u) => u.isSelected)[0];
@@ -1780,10 +1779,10 @@ const er = (r) => {
1780
1779
  {
1781
1780
  value: m.text,
1782
1781
  onValueChange: (u) => {
1783
- var g, S;
1784
- return (S = (g = a.find((_) => _.text === u)).onClick) == null ? void 0 : S.call(g);
1782
+ var g, j;
1783
+ return (j = (g = a.find((_) => _.text === u)).onClick) == null ? void 0 : j.call(g);
1785
1784
  },
1786
- disabled: i,
1785
+ disabled: s,
1787
1786
  children: [
1788
1787
  /* @__PURE__ */ o.jsx(c.Select.SelectTrigger, { className: "bn-border-none", children: /* @__PURE__ */ o.jsx(c.Select.SelectValue, {}) }),
1789
1788
  /* @__PURE__ */ o.jsx(c.Select.SelectContent, { className: n, ref: t, children: a.map((u) => /* @__PURE__ */ o.jsx(
@@ -1850,11 +1849,11 @@ const Rr = {
1850
1849
  }
1851
1850
  }
1852
1851
  }, Or = (r) => {
1853
- const { className: t, shadCNComponents: n, ...a } = r, i = We(() => ({
1852
+ const { className: t, shadCNComponents: n, ...a } = r, s = We(() => ({
1854
1853
  ...Qt,
1855
1854
  ...n
1856
1855
  }), [n]);
1857
- return /* @__PURE__ */ o.jsx(yn.Provider, { value: i, children: /* @__PURE__ */ o.jsx(bt.Provider, { value: Rr, children: /* @__PURE__ */ o.jsx(
1856
+ return /* @__PURE__ */ o.jsx(yn.Provider, { value: s, children: /* @__PURE__ */ o.jsx(bt.Provider, { value: Rr, children: /* @__PURE__ */ o.jsx(
1858
1857
  ut,
1859
1858
  {
1860
1859
  className: lt("bn-shadcn", t || ""),