react-semaphor 0.0.41 → 0.0.43

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.
@@ -5812,7 +5812,7 @@ function J9(e, { pages: t, pageParams: n }) {
5812
5812
  n
5813
5813
  );
5814
5814
  }
5815
- var $n, gs, ms, ec, tc, vs, nc, rc, pO, e8 = (pO = class {
5815
+ var $n, gs, ms, ec, tc, vs, nc, rc, pO, eF = (pO = class {
5816
5816
  constructor(e = {}) {
5817
5817
  qe(this, $n, void 0);
5818
5818
  qe(this, gs, void 0);
@@ -6003,7 +6003,7 @@ var $n, gs, ms, ec, tc, vs, nc, rc, pO, e8 = (pO = class {
6003
6003
  clear() {
6004
6004
  Z(this, $n).clear(), Z(this, gs).clear();
6005
6005
  }
6006
- }, $n = new WeakMap(), gs = new WeakMap(), ms = new WeakMap(), ec = new WeakMap(), tc = new WeakMap(), vs = new WeakMap(), nc = new WeakMap(), rc = new WeakMap(), pO), _r, en, yd, lr, Pa, ic, Gi, xd, oc, sc, Oa, $a, bs, ac, Ra, yu, wd, r0, _d, i0, Sd, o0, Cd, s0, Ed, a0, Pd, l0, Od, c0, Gp, VO, gO, t8 = (gO = class extends Rd {
6006
+ }, $n = new WeakMap(), gs = new WeakMap(), ms = new WeakMap(), ec = new WeakMap(), tc = new WeakMap(), vs = new WeakMap(), nc = new WeakMap(), rc = new WeakMap(), pO), _r, en, yd, lr, Pa, ic, Gi, xd, oc, sc, Oa, $a, bs, ac, Ra, yu, wd, r0, _d, i0, Sd, o0, Cd, s0, Ed, a0, Pd, l0, Od, c0, Gp, VO, gO, tF = (gO = class extends Rd {
6007
6007
  constructor(t, n) {
6008
6008
  super();
6009
6009
  qe(this, Ra);
@@ -6080,7 +6080,7 @@ var $n, gs, ms, ec, tc, vs, nc, rc, pO, e8 = (pO = class {
6080
6080
  }
6081
6081
  getOptimisticResult(t) {
6082
6082
  const n = Z(this, _r).getQueryCache().build(Z(this, _r), t), r = this.createResult(n, t);
6083
- return r8(this, r) && (Fe(this, lr, r), Fe(this, ic, this.options), Fe(this, Pa, Z(this, en).state)), r;
6083
+ return rF(this, r) && (Fe(this, lr, r), Fe(this, ic, this.options), Fe(this, Pa, Z(this, en).state)), r;
6084
6084
  }
6085
6085
  getCurrentResult() {
6086
6086
  return Z(this, lr);
@@ -6249,11 +6249,11 @@ var $n, gs, ms, ec, tc, vs, nc, rc, pO, e8 = (pO = class {
6249
6249
  });
6250
6250
  });
6251
6251
  }, gO);
6252
- function n8(e, t) {
6252
+ function nF(e, t) {
6253
6253
  return t.enabled !== !1 && !e.state.dataUpdatedAt && !(e.state.status === "error" && t.retryOnMount === !1);
6254
6254
  }
6255
6255
  function rC(e, t) {
6256
- return n8(e, t) || e.state.dataUpdatedAt > 0 && u0(e, t, t.refetchOnMount);
6256
+ return nF(e, t) || e.state.dataUpdatedAt > 0 && u0(e, t, t.refetchOnMount);
6257
6257
  }
6258
6258
  function u0(e, t, n) {
6259
6259
  if (t.enabled !== !1) {
@@ -6268,26 +6268,26 @@ function iC(e, t, n, r) {
6268
6268
  function Fy(e, t) {
6269
6269
  return e.isStaleByTime(t.staleTime);
6270
6270
  }
6271
- function r8(e, t) {
6271
+ function rF(e, t) {
6272
6272
  return !e0(e.getCurrentResult(), t);
6273
6273
  }
6274
6274
  var HO = de.createContext(
6275
6275
  void 0
6276
- ), i8 = (e) => {
6276
+ ), iF = (e) => {
6277
6277
  const t = de.useContext(HO);
6278
6278
  if (e)
6279
6279
  return e;
6280
6280
  if (!t)
6281
6281
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
6282
6282
  return t;
6283
- }, o8 = ({
6283
+ }, oF = ({
6284
6284
  client: e,
6285
6285
  children: t
6286
6286
  }) => (de.useEffect(() => (e.mount(), () => {
6287
6287
  e.unmount();
6288
- }), [e]), /* @__PURE__ */ de.createElement(HO.Provider, { value: e }, t)), WO = de.createContext(!1), s8 = () => de.useContext(WO);
6288
+ }), [e]), /* @__PURE__ */ de.createElement(HO.Provider, { value: e }, t)), WO = de.createContext(!1), sF = () => de.useContext(WO);
6289
6289
  WO.Provider;
6290
- function a8() {
6290
+ function aF() {
6291
6291
  let e = !1;
6292
6292
  return {
6293
6293
  clearReset: () => {
@@ -6299,33 +6299,33 @@ function a8() {
6299
6299
  isReset: () => e
6300
6300
  };
6301
6301
  }
6302
- var l8 = de.createContext(a8()), c8 = () => de.useContext(l8);
6303
- function u8(e, t) {
6302
+ var lF = de.createContext(aF()), cF = () => de.useContext(lF);
6303
+ function uF(e, t) {
6304
6304
  return typeof e == "function" ? e(...t) : !!e;
6305
6305
  }
6306
- var d8 = (e, t) => {
6306
+ var dF = (e, t) => {
6307
6307
  (e.suspense || e.throwOnError) && (t.isReset() || (e.retryOnMount = !1));
6308
- }, f8 = (e) => {
6308
+ }, fF = (e) => {
6309
6309
  de.useEffect(() => {
6310
6310
  e.clearReset();
6311
6311
  }, [e]);
6312
- }, h8 = ({
6312
+ }, hF = ({
6313
6313
  result: e,
6314
6314
  errorResetBoundary: t,
6315
6315
  throwOnError: n,
6316
6316
  query: r
6317
- }) => e.isError && !t.isReset() && !e.isFetching && r && u8(n, [e.error, r]), p8 = (e) => {
6317
+ }) => e.isError && !t.isReset() && !e.isFetching && r && uF(n, [e.error, r]), pF = (e) => {
6318
6318
  e.suspense && typeof e.staleTime != "number" && (e.staleTime = 1e3);
6319
- }, g8 = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, m8 = (e, t, n) => t.fetchOptimistic(e).catch(() => {
6319
+ }, gF = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, mF = (e, t, n) => t.fetchOptimistic(e).catch(() => {
6320
6320
  n.clearReset();
6321
6321
  });
6322
- function v8(e, t, n) {
6322
+ function vF(e, t, n) {
6323
6323
  if (process.env.NODE_ENV !== "production" && (typeof e != "object" || Array.isArray(e)))
6324
6324
  throw new Error(
6325
6325
  'Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object'
6326
6326
  );
6327
- const r = i8(n), i = s8(), o = c8(), s = r.defaultQueryOptions(e);
6328
- s._optimisticResults = i ? "isRestoring" : "optimistic", p8(s), d8(s, o), f8(o);
6327
+ const r = iF(n), i = sF(), o = cF(), s = r.defaultQueryOptions(e);
6328
+ s._optimisticResults = i ? "isRestoring" : "optimistic", pF(s), dF(s, o), fF(o);
6329
6329
  const [a] = de.useState(
6330
6330
  () => new t(
6331
6331
  r,
@@ -6345,9 +6345,9 @@ function v8(e, t, n) {
6345
6345
  () => a.getCurrentResult()
6346
6346
  ), de.useEffect(() => {
6347
6347
  a.setOptions(s, { listeners: !1 });
6348
- }, [s, a]), g8(s, l))
6349
- throw m8(s, a, o);
6350
- if (h8({
6348
+ }, [s, a]), gF(s, l))
6349
+ throw mF(s, a, o);
6350
+ if (hF({
6351
6351
  result: l,
6352
6352
  errorResetBoundary: o,
6353
6353
  throwOnError: s.throwOnError,
@@ -6357,7 +6357,7 @@ function v8(e, t, n) {
6357
6357
  return s.notifyOnChangeProps ? l : a.trackResult(l);
6358
6358
  }
6359
6359
  function Ur(e, t) {
6360
- return v8(e, t8, t);
6360
+ return vF(e, tF, t);
6361
6361
  }
6362
6362
  var cp = { exports: {} };
6363
6363
  /**
@@ -10034,12 +10034,12 @@ function print() { __p += __j.call(arguments, '') }
10034
10034
  Gs ? ((Gs.exports = fl)._ = fl, dm._ = fl) : Vn._ = fl;
10035
10035
  }).call(ds);
10036
10036
  })(cp, cp.exports);
10037
- var b8 = cp.exports;
10038
- const Ba = /* @__PURE__ */ $d(b8), y8 = {
10037
+ var bF = cp.exports;
10038
+ const Ba = /* @__PURE__ */ $d(bF), yF = {
10039
10039
  theme: "system",
10040
10040
  setTheme: () => null
10041
- }, qO = Ln(y8);
10042
- function x8({
10041
+ }, qO = Ln(yF);
10042
+ function xF({
10043
10043
  children: e,
10044
10044
  defaultTheme: t = "system",
10045
10045
  storageKey: n = "vite-ui-theme",
@@ -10071,7 +10071,7 @@ const jy = () => {
10071
10071
  throw new Error("useTheme must be used within a ThemeProvider");
10072
10072
  return e;
10073
10073
  };
10074
- async function w8(e, t) {
10074
+ async function wF(e, t) {
10075
10075
  return await (await fetch(
10076
10076
  `https://semaphor.cloud/api/v1/dashboard?id=${e}`,
10077
10077
  {
@@ -10087,10 +10087,10 @@ function oC(e, t) {
10087
10087
  { ...t == null ? void 0 : t.dark }
10088
10088
  ) : t == null ? void 0 : t.default;
10089
10089
  }
10090
- function _8(e, t, n, r, i, o) {
10090
+ function _F(e, t, n, r, i, o) {
10091
10091
  const { data: s, refetch: a, isLoading: l, isError: c } = Ur({
10092
10092
  queryKey: [e],
10093
- queryFn: () => w8(e, t == null ? void 0 : t.accessToken),
10093
+ queryFn: () => wF(e, t == null ? void 0 : t.accessToken),
10094
10094
  enabled: !1
10095
10095
  // this makes sure the query doesn't start on first render
10096
10096
  }), { theme: d, setTheme: f } = jy(), { setDashboard: g, setSelectedSheetId: p, setStyle: m, setOnSaveFunction: b } = we((P) => P.actions), y = we((P) => P.actions.setAuthToken), x = we(
@@ -10151,7 +10151,7 @@ function UO({
10151
10151
  ...c
10152
10152
  }) {
10153
10153
  we((m) => m.selectedSheetId);
10154
- const d = we((m) => m.themeStyle), f = we((m) => m.onEvent), { isLoading: g, isError: p } = _8(
10154
+ const d = we((m) => m.themeStyle), f = we((m) => m.onEvent), { isLoading: g, isError: p } = _F(
10155
10155
  s,
10156
10156
  a,
10157
10157
  t,
@@ -10241,10 +10241,10 @@ function jn(e, t = []) {
10241
10241
  };
10242
10242
  return i.scopeName = e, [
10243
10243
  r,
10244
- S8(i, ...t)
10244
+ SF(i, ...t)
10245
10245
  ];
10246
10246
  }
10247
- function S8(...e) {
10247
+ function SF(...e) {
10248
10248
  const t = e[0];
10249
10249
  if (e.length === 1)
10250
10250
  return t;
@@ -10275,19 +10275,19 @@ function S8(...e) {
10275
10275
  };
10276
10276
  return n.scopeName = t.scopeName, n;
10277
10277
  }
10278
- function C8(e, t) {
10278
+ function CF(e, t) {
10279
10279
  typeof e == "function" ? e(t) : e != null && (e.current = t);
10280
10280
  }
10281
10281
  function rg(...e) {
10282
10282
  return (t) => e.forEach(
10283
- (n) => C8(n, t)
10283
+ (n) => CF(n, t)
10284
10284
  );
10285
10285
  }
10286
10286
  function ct(...e) {
10287
10287
  return Ue(rg(...e), e);
10288
10288
  }
10289
10289
  const Io = /* @__PURE__ */ pe((e, t) => {
10290
- const { children: n, ...r } = e, i = ka.toArray(n), o = i.find(E8);
10290
+ const { children: n, ...r } = e, i = ka.toArray(n), o = i.find(EF);
10291
10291
  if (o) {
10292
10292
  const s = o.props.children, a = i.map((l) => l === o ? ka.count(s) > 1 ? ka.only(null) : /* @__PURE__ */ Bu(s) ? s.props.children : null : l);
10293
10293
  return /* @__PURE__ */ L(d0, le({}, r, {
@@ -10302,16 +10302,16 @@ Io.displayName = "Slot";
10302
10302
  const d0 = /* @__PURE__ */ pe((e, t) => {
10303
10303
  const { children: n, ...r } = e;
10304
10304
  return /* @__PURE__ */ Bu(n) ? /* @__PURE__ */ Yp(n, {
10305
- ...P8(r, n.props),
10305
+ ...PF(r, n.props),
10306
10306
  ref: t ? rg(t, n.ref) : n.ref
10307
10307
  }) : ka.count(n) > 1 ? ka.only(null) : null;
10308
10308
  });
10309
10309
  d0.displayName = "SlotClone";
10310
10310
  const GO = ({ children: e }) => /* @__PURE__ */ L(ur, null, e);
10311
- function E8(e) {
10311
+ function EF(e) {
10312
10312
  return /* @__PURE__ */ Bu(e) && e.type === GO;
10313
10313
  }
10314
- function P8(e, t) {
10314
+ function PF(e, t) {
10315
10315
  const n = {
10316
10316
  ...t
10317
10317
  };
@@ -10386,20 +10386,20 @@ function ig(e) {
10386
10386
  ];
10387
10387
  }
10388
10388
  const nr = globalThis != null && globalThis.document ? Kp : () => {
10389
- }, O8 = de.useId || (() => {
10389
+ }, OF = de.useId || (() => {
10390
10390
  });
10391
- let $8 = 0;
10391
+ let $F = 0;
10392
10392
  function Pr(e) {
10393
- const [t, n] = de.useState(O8());
10393
+ const [t, n] = de.useState(OF());
10394
10394
  return nr(() => {
10395
10395
  e || n(
10396
- (r) => r ?? String($8++)
10396
+ (r) => r ?? String($F++)
10397
10397
  );
10398
10398
  }, [
10399
10399
  e
10400
10400
  ]), e || (t ? `radix-${t}` : "");
10401
10401
  }
10402
- const R8 = [
10402
+ const RF = [
10403
10403
  "a",
10404
10404
  "button",
10405
10405
  "div",
@@ -10416,7 +10416,7 @@ const R8 = [
10416
10416
  "span",
10417
10417
  "svg",
10418
10418
  "ul"
10419
- ], Ge = R8.reduce((e, t) => {
10419
+ ], Ge = RF.reduce((e, t) => {
10420
10420
  const n = /* @__PURE__ */ pe((r, i) => {
10421
10421
  const { asChild: o, ...s } = r, a = o ? Io : t;
10422
10422
  return ve(() => {
@@ -10449,7 +10449,7 @@ function kn(e) {
10449
10449
  }
10450
10450
  function dr({ prop: e, defaultProp: t, onChange: n = () => {
10451
10451
  } }) {
10452
- const [r, i] = k8({
10452
+ const [r, i] = kF({
10453
10453
  defaultProp: t,
10454
10454
  onChange: n
10455
10455
  }), o = e !== void 0, s = o ? e : r, a = kn(n), l = Ue((c) => {
@@ -10469,7 +10469,7 @@ function dr({ prop: e, defaultProp: t, onChange: n = () => {
10469
10469
  l
10470
10470
  ];
10471
10471
  }
10472
- function k8({ defaultProp: e, onChange: t }) {
10472
+ function kF({ defaultProp: e, onChange: t }) {
10473
10473
  const n = Ce(e), [r] = n, i = ce(r), o = kn(t);
10474
10474
  return ve(() => {
10475
10475
  i.current !== r && (o(r), i.current = r);
@@ -10479,23 +10479,23 @@ function k8({ defaultProp: e, onChange: t }) {
10479
10479
  o
10480
10480
  ]), n;
10481
10481
  }
10482
- const M8 = /* @__PURE__ */ Ln(void 0);
10482
+ const MF = /* @__PURE__ */ Ln(void 0);
10483
10483
  function Ka(e) {
10484
- const t = Fn(M8);
10484
+ const t = Fn(MF);
10485
10485
  return e || t || "ltr";
10486
10486
  }
10487
- const Ev = "rovingFocusGroup.onEntryFocus", D8 = {
10487
+ const Ev = "rovingFocusGroup.onEntryFocus", DF = {
10488
10488
  bubbles: !1,
10489
10489
  cancelable: !0
10490
- }, zy = "RovingFocusGroup", [f0, KO, T8] = ig(zy), [A8, Ec] = jn(zy, [
10491
- T8
10492
- ]), [I8, N8] = A8(zy), L8 = /* @__PURE__ */ pe((e, t) => /* @__PURE__ */ L(f0.Provider, {
10490
+ }, zy = "RovingFocusGroup", [f0, KO, TF] = ig(zy), [AF, Ec] = jn(zy, [
10491
+ TF
10492
+ ]), [IF, NF] = AF(zy), LF = /* @__PURE__ */ pe((e, t) => /* @__PURE__ */ L(f0.Provider, {
10493
10493
  scope: e.__scopeRovingFocusGroup
10494
10494
  }, /* @__PURE__ */ L(f0.Slot, {
10495
10495
  scope: e.__scopeRovingFocusGroup
10496
- }, /* @__PURE__ */ L(F8, le({}, e, {
10496
+ }, /* @__PURE__ */ L(FF, le({}, e, {
10497
10497
  ref: t
10498
- }))))), F8 = /* @__PURE__ */ pe((e, t) => {
10498
+ }))))), FF = /* @__PURE__ */ pe((e, t) => {
10499
10499
  const { __scopeRovingFocusGroup: n, orientation: r, loop: i = !1, dir: o, currentTabStopId: s, defaultCurrentTabStopId: a, onCurrentTabStopIdChange: l, onEntryFocus: c, ...d } = e, f = ce(null), g = ct(t, f), p = Ka(o), [m = null, b] = dr({
10500
10500
  prop: s,
10501
10501
  defaultProp: a,
@@ -10507,7 +10507,7 @@ const Ev = "rovingFocusGroup.onEntryFocus", D8 = {
10507
10507
  return M.addEventListener(Ev, _), () => M.removeEventListener(Ev, _);
10508
10508
  }, [
10509
10509
  _
10510
- ]), /* @__PURE__ */ L(I8, {
10510
+ ]), /* @__PURE__ */ L(IF, {
10511
10511
  scope: n,
10512
10512
  orientation: r,
10513
10513
  dir: p,
@@ -10550,7 +10550,7 @@ const Ev = "rovingFocusGroup.onEntryFocus", D8 = {
10550
10550
  onFocus: ke(e.onFocus, (M) => {
10551
10551
  const I = !P.current;
10552
10552
  if (M.target === M.currentTarget && I && !y) {
10553
- const F = new CustomEvent(Ev, D8);
10553
+ const F = new CustomEvent(Ev, DF);
10554
10554
  if (M.currentTarget.dispatchEvent(F), !F.defaultPrevented) {
10555
10555
  const z = S().filter(
10556
10556
  (N) => N.focusable
@@ -10575,8 +10575,8 @@ const Ev = "rovingFocusGroup.onEntryFocus", D8 = {
10575
10575
  () => x(!1)
10576
10576
  )
10577
10577
  })));
10578
- }), j8 = "RovingFocusGroupItem", z8 = /* @__PURE__ */ pe((e, t) => {
10579
- const { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: o, ...s } = e, a = Pr(), l = o || a, c = N8(j8, n), d = c.currentTabStopId === l, f = KO(n), { onFocusableItemAdd: g, onFocusableItemRemove: p } = c;
10578
+ }), jF = "RovingFocusGroupItem", zF = /* @__PURE__ */ pe((e, t) => {
10579
+ const { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: o, ...s } = e, a = Pr(), l = o || a, c = NF(jF, n), d = c.currentTabStopId === l, f = KO(n), { onFocusableItemAdd: g, onFocusableItemRemove: p } = c;
10580
10580
  return ve(() => {
10581
10581
  if (r)
10582
10582
  return g(), () => p();
@@ -10608,7 +10608,7 @@ const Ev = "rovingFocusGroup.onEntryFocus", D8 = {
10608
10608
  }
10609
10609
  if (m.target !== m.currentTarget)
10610
10610
  return;
10611
- const b = H8(m, c.orientation, c.dir);
10611
+ const b = HF(m, c.orientation, c.dir);
10612
10612
  if (b !== void 0) {
10613
10613
  m.preventDefault();
10614
10614
  let x = f().filter(
@@ -10621,7 +10621,7 @@ const Ev = "rovingFocusGroup.onEntryFocus", D8 = {
10621
10621
  else if (b === "prev" || b === "next") {
10622
10622
  b === "prev" && x.reverse();
10623
10623
  const _ = x.indexOf(m.currentTarget);
10624
- x = c.loop ? W8(x, _ + 1) : x.slice(_ + 1);
10624
+ x = c.loop ? WF(x, _ + 1) : x.slice(_ + 1);
10625
10625
  }
10626
10626
  setTimeout(
10627
10627
  () => XO(x)
@@ -10629,7 +10629,7 @@ const Ev = "rovingFocusGroup.onEntryFocus", D8 = {
10629
10629
  }
10630
10630
  })
10631
10631
  })));
10632
- }), B8 = {
10632
+ }), BF = {
10633
10633
  ArrowLeft: "prev",
10634
10634
  ArrowUp: "prev",
10635
10635
  ArrowRight: "next",
@@ -10639,11 +10639,11 @@ const Ev = "rovingFocusGroup.onEntryFocus", D8 = {
10639
10639
  PageDown: "last",
10640
10640
  End: "last"
10641
10641
  };
10642
- function V8(e, t) {
10642
+ function VF(e, t) {
10643
10643
  return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
10644
10644
  }
10645
- function H8(e, t, n) {
10646
- const r = V8(e.key, n);
10645
+ function HF(e, t, n) {
10646
+ const r = VF(e.key, n);
10647
10647
  if (!(t === "vertical" && [
10648
10648
  "ArrowLeft",
10649
10649
  "ArrowRight"
@@ -10651,7 +10651,7 @@ function H8(e, t, n) {
10651
10651
  "ArrowUp",
10652
10652
  "ArrowDown"
10653
10653
  ].includes(r)))
10654
- return B8[r];
10654
+ return BF[r];
10655
10655
  }
10656
10656
  function XO(e) {
10657
10657
  const t = document.activeElement;
@@ -10659,20 +10659,20 @@ function XO(e) {
10659
10659
  if (n === t || (n.focus(), document.activeElement !== t))
10660
10660
  return;
10661
10661
  }
10662
- function W8(e, t) {
10662
+ function WF(e, t) {
10663
10663
  return e.map(
10664
10664
  (n, r) => e[(t + r) % e.length]
10665
10665
  );
10666
10666
  }
10667
- const By = L8, Vy = z8;
10668
- function q8(e, t) {
10667
+ const By = LF, Vy = zF;
10668
+ function qF(e, t) {
10669
10669
  return Ry((n, r) => {
10670
10670
  const i = t[n][r];
10671
10671
  return i ?? n;
10672
10672
  }, e);
10673
10673
  }
10674
10674
  const Cn = (e) => {
10675
- const { present: t, children: n } = e, r = U8(t), i = typeof n == "function" ? n({
10675
+ const { present: t, children: n } = e, r = UF(t), i = typeof n == "function" ? n({
10676
10676
  present: r.isPresent
10677
10677
  }) : ka.only(n), o = ct(r.ref, i.ref);
10678
10678
  return typeof n == "function" || r.isPresent ? /* @__PURE__ */ Yp(i, {
@@ -10680,8 +10680,8 @@ const Cn = (e) => {
10680
10680
  }) : null;
10681
10681
  };
10682
10682
  Cn.displayName = "Presence";
10683
- function U8(e) {
10684
- const [t, n] = Ce(), r = ce({}), i = ce(e), o = ce("none"), s = e ? "mounted" : "unmounted", [a, l] = q8(s, {
10683
+ function UF(e) {
10684
+ const [t, n] = Ce(), r = ce({}), i = ce(e), o = ce("none"), s = e ? "mounted" : "unmounted", [a, l] = qF(s, {
10685
10685
  mounted: {
10686
10686
  UNMOUNT: "unmounted",
10687
10687
  ANIMATION_OUT: "unmountSuspended"
@@ -10739,15 +10739,15 @@ function U8(e) {
10739
10739
  function Uf(e) {
10740
10740
  return (e == null ? void 0 : e.animationName) || "none";
10741
10741
  }
10742
- const QO = "Tabs", [G8, xfe] = jn(QO, [
10742
+ const QO = "Tabs", [GF, xfe] = jn(QO, [
10743
10743
  Ec
10744
- ]), ZO = Ec(), [Y8, Hy] = G8(QO), K8 = /* @__PURE__ */ pe((e, t) => {
10744
+ ]), ZO = Ec(), [YF, Hy] = GF(QO), KF = /* @__PURE__ */ pe((e, t) => {
10745
10745
  const { __scopeTabs: n, value: r, onValueChange: i, defaultValue: o, orientation: s = "horizontal", dir: a, activationMode: l = "automatic", ...c } = e, d = Ka(a), [f, g] = dr({
10746
10746
  prop: r,
10747
10747
  onChange: i,
10748
10748
  defaultProp: o
10749
10749
  });
10750
- return /* @__PURE__ */ L(Y8, {
10750
+ return /* @__PURE__ */ L(YF, {
10751
10751
  scope: n,
10752
10752
  baseId: Pr(),
10753
10753
  value: f,
@@ -10761,8 +10761,8 @@ const QO = "Tabs", [G8, xfe] = jn(QO, [
10761
10761
  }, c, {
10762
10762
  ref: t
10763
10763
  })));
10764
- }), X8 = "TabsList", Q8 = /* @__PURE__ */ pe((e, t) => {
10765
- const { __scopeTabs: n, loop: r = !0, ...i } = e, o = Hy(X8, n), s = ZO(n);
10764
+ }), XF = "TabsList", QF = /* @__PURE__ */ pe((e, t) => {
10765
+ const { __scopeTabs: n, loop: r = !0, ...i } = e, o = Hy(XF, n), s = ZO(n);
10766
10766
  return /* @__PURE__ */ L(By, le({
10767
10767
  asChild: !0
10768
10768
  }, s, {
@@ -10775,8 +10775,8 @@ const QO = "Tabs", [G8, xfe] = jn(QO, [
10775
10775
  }, i, {
10776
10776
  ref: t
10777
10777
  })));
10778
- }), Z8 = "TabsTrigger", J8 = /* @__PURE__ */ pe((e, t) => {
10779
- const { __scopeTabs: n, value: r, disabled: i = !1, ...o } = e, s = Hy(Z8, n), a = ZO(n), l = JO(s.baseId, r), c = e$(s.baseId, r), d = r === s.value;
10778
+ }), ZF = "TabsTrigger", JF = /* @__PURE__ */ pe((e, t) => {
10779
+ const { __scopeTabs: n, value: r, disabled: i = !1, ...o } = e, s = Hy(ZF, n), a = ZO(n), l = JO(s.baseId, r), c = e$(s.baseId, r), d = r === s.value;
10780
10780
  return /* @__PURE__ */ L(Vy, le({
10781
10781
  asChild: !0
10782
10782
  }, a, {
@@ -10807,8 +10807,8 @@ const QO = "Tabs", [G8, xfe] = jn(QO, [
10807
10807
  !d && !i && f && s.onValueChange(r);
10808
10808
  })
10809
10809
  })));
10810
- }), eF = "TabsContent", tF = /* @__PURE__ */ pe((e, t) => {
10811
- const { __scopeTabs: n, value: r, forceMount: i, children: o, ...s } = e, a = Hy(eF, n), l = JO(a.baseId, r), c = e$(a.baseId, r), d = r === a.value, f = ce(d);
10810
+ }), e8 = "TabsContent", t8 = /* @__PURE__ */ pe((e, t) => {
10811
+ const { __scopeTabs: n, value: r, forceMount: i, children: o, ...s } = e, a = Hy(e8, n), l = JO(a.baseId, r), c = e$(a.baseId, r), d = r === a.value, f = ce(d);
10812
10812
  return ve(() => {
10813
10813
  const g = requestAnimationFrame(
10814
10814
  () => f.current = !1
@@ -10842,7 +10842,7 @@ function JO(e, t) {
10842
10842
  function e$(e, t) {
10843
10843
  return `${e}-content-${t}`;
10844
10844
  }
10845
- const nF = K8, t$ = Q8, n$ = J8, r$ = tF, i$ = nF, o$ = de.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w.jsx(
10845
+ const n8 = KF, t$ = QF, n$ = JF, r$ = t8, i$ = n8, o$ = de.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w.jsx(
10846
10846
  t$,
10847
10847
  {
10848
10848
  ref: n,
@@ -11052,22 +11052,22 @@ var s$ = { exports: {} }, kd = {}, p0 = { exports: {} };
11052
11052
  })(p0, p0.exports);
11053
11053
  var Wy = p0.exports;
11054
11054
  const qy = /* @__PURE__ */ Dy(kL);
11055
- var Et = {}, rF = function(t, n, r) {
11055
+ var Et = {}, r8 = function(t, n, r) {
11056
11056
  return t === n ? !0 : t.className === n.className && r(t.style, n.style) && t.width === n.width && t.autoSize === n.autoSize && t.cols === n.cols && t.draggableCancel === n.draggableCancel && t.draggableHandle === n.draggableHandle && r(t.verticalCompact, n.verticalCompact) && r(t.compactType, n.compactType) && r(t.layout, n.layout) && r(t.margin, n.margin) && r(t.containerPadding, n.containerPadding) && t.rowHeight === n.rowHeight && t.maxRows === n.maxRows && t.isBounded === n.isBounded && t.isDraggable === n.isDraggable && t.isResizable === n.isResizable && t.allowOverlap === n.allowOverlap && t.preventCollision === n.preventCollision && t.useCSSTransforms === n.useCSSTransforms && t.transformScale === n.transformScale && t.isDroppable === n.isDroppable && r(t.resizeHandles, n.resizeHandles) && r(t.resizeHandle, n.resizeHandle) && t.onLayoutChange === n.onLayoutChange && t.onDragStart === n.onDragStart && t.onDrag === n.onDrag && t.onDragStop === n.onDragStop && t.onResizeStart === n.onResizeStart && t.onResize === n.onResize && t.onResizeStop === n.onResizeStop && t.onDrop === n.onDrop && r(t.droppingItem, n.droppingItem) && r(t.innerRef, n.innerRef);
11057
11057
  };
11058
11058
  Object.defineProperty(Et, "__esModule", {
11059
11059
  value: !0
11060
11060
  });
11061
11061
  Et.bottom = Uy;
11062
- Et.childrenEqual = aF;
11062
+ Et.childrenEqual = a8;
11063
11063
  Et.cloneLayout = a$;
11064
11064
  Et.cloneLayoutItem = Ma;
11065
11065
  Et.collides = og;
11066
11066
  Et.compact = c$;
11067
11067
  Et.compactItem = u$;
11068
- Et.compactType = wF;
11068
+ Et.compactType = w8;
11069
11069
  Et.correctBounds = d$;
11070
- Et.fastPositionEqual = cF;
11070
+ Et.fastPositionEqual = c8;
11071
11071
  Et.fastRGLPropsEqual = void 0;
11072
11072
  Et.getAllCollisions = f$;
11073
11073
  Et.getFirstCollision = va;
@@ -11077,21 +11077,21 @@ Et.modifyLayout = l$;
11077
11077
  Et.moveElement = wu;
11078
11078
  Et.moveElementAwayFromCollision = m0;
11079
11079
  Et.noop = void 0;
11080
- Et.perc = dF;
11081
- Et.resizeItemInDirection = vF;
11082
- Et.setTopLeft = yF;
11083
- Et.setTransform = bF;
11080
+ Et.perc = d8;
11081
+ Et.resizeItemInDirection = v8;
11082
+ Et.setTopLeft = y8;
11083
+ Et.setTransform = b8;
11084
11084
  Et.sortLayoutItems = ex;
11085
11085
  Et.sortLayoutItemsByColRow = v$;
11086
11086
  Et.sortLayoutItemsByRowCol = m$;
11087
- Et.synchronizeLayoutWithChildren = xF;
11087
+ Et.synchronizeLayoutWithChildren = x8;
11088
11088
  Et.validateLayout = b$;
11089
- Et.withLayoutItem = sF;
11090
- var sC = Wy, xu = iF(Ee);
11091
- function iF(e) {
11089
+ Et.withLayoutItem = s8;
11090
+ var sC = Wy, xu = i8(Ee);
11091
+ function i8(e) {
11092
11092
  return e && e.__esModule ? e : { default: e };
11093
11093
  }
11094
- const oF = process.env.NODE_ENV === "production";
11094
+ const o8 = process.env.NODE_ENV === "production";
11095
11095
  function Uy(e) {
11096
11096
  let t = 0, n;
11097
11097
  for (let r = 0, i = e.length; r < i; r++)
@@ -11110,7 +11110,7 @@ function l$(e, t) {
11110
11110
  t.i === e[r].i ? n[r] = t : n[r] = e[r];
11111
11111
  return n;
11112
11112
  }
11113
- function sF(e, t, n) {
11113
+ function s8(e, t, n) {
11114
11114
  let r = Gy(e, t);
11115
11115
  return r ? (r = n(Ma(r)), e = l$(e, r), [e, r]) : [e, null];
11116
11116
  }
@@ -11134,12 +11134,12 @@ function Ma(e) {
11134
11134
  isBounded: e.isBounded
11135
11135
  };
11136
11136
  }
11137
- function aF(e, t) {
11137
+ function a8(e, t) {
11138
11138
  return (0, sC.deepEqual)(xu.default.Children.map(e, (n) => n == null ? void 0 : n.key), xu.default.Children.map(t, (n) => n == null ? void 0 : n.key)) && (0, sC.deepEqual)(xu.default.Children.map(e, (n) => n == null ? void 0 : n.props["data-grid"]), xu.default.Children.map(t, (n) => n == null ? void 0 : n.props["data-grid"]));
11139
11139
  }
11140
- const lF = rF;
11141
- Et.fastRGLPropsEqual = lF;
11142
- function cF(e, t) {
11140
+ const l8 = r8;
11141
+ Et.fastRGLPropsEqual = l8;
11142
+ function c8(e, t) {
11143
11143
  return e.left === t.left && e.top === t.top && e.width === t.width && e.height === t.height;
11144
11144
  }
11145
11145
  function og(e, t) {
@@ -11153,12 +11153,12 @@ function c$(e, t, n, r) {
11153
11153
  }
11154
11154
  return s;
11155
11155
  }
11156
- const uF = {
11156
+ const u8 = {
11157
11157
  x: "w",
11158
11158
  y: "h"
11159
11159
  };
11160
11160
  function g0(e, t, n, r) {
11161
- const i = uF[r];
11161
+ const i = u8[r];
11162
11162
  t[r] += 1;
11163
11163
  const o = e.map((s) => s.i).indexOf(t.i);
11164
11164
  for (let s = o + 1; s < e.length; s++) {
@@ -11257,7 +11257,7 @@ function m0(e, t, n, r, i, o) {
11257
11257
  const c = s ? n.x + 1 : void 0, d = a ? n.y + 1 : void 0;
11258
11258
  return c == null && d == null ? e : wu(e, n, s ? n.x + 1 : void 0, a ? n.y + 1 : void 0, r, l, i);
11259
11259
  }
11260
- function dF(e) {
11260
+ function d8(e) {
11261
11261
  return e * 100 + "%";
11262
11262
  }
11263
11263
  const h$ = (e, t, n, r) => e + n > r ? t : n, p$ = (e, t, n) => e < 0 ? t : n, g$ = (e) => Math.max(0, e), Ky = (e) => Math.max(0, e), Xy = (e, t, n) => {
@@ -11312,32 +11312,32 @@ const h$ = (e, t, n, r) => e + n > r ? t : n, p$ = (e, t, n) => e < 0 ? t : n, g
11312
11312
  height: p$(r, e.height, o),
11313
11313
  top: Ky(r)
11314
11314
  };
11315
- }, fF = function() {
11315
+ }, f8 = function() {
11316
11316
  return Xy(arguments.length <= 0 ? void 0 : arguments[0], Qy(...arguments));
11317
- }, hF = function() {
11317
+ }, h8 = function() {
11318
11318
  return Xy(arguments.length <= 0 ? void 0 : arguments[0], Zy(...arguments));
11319
- }, pF = function() {
11319
+ }, p8 = function() {
11320
11320
  return Jy(arguments.length <= 0 ? void 0 : arguments[0], Qy(...arguments));
11321
- }, gF = function() {
11321
+ }, g8 = function() {
11322
11322
  return Jy(arguments.length <= 0 ? void 0 : arguments[0], Zy(...arguments));
11323
- }, mF = {
11323
+ }, m8 = {
11324
11324
  n: Xy,
11325
- ne: fF,
11325
+ ne: f8,
11326
11326
  e: Qy,
11327
- se: pF,
11327
+ se: p8,
11328
11328
  s: Jy,
11329
- sw: gF,
11329
+ sw: g8,
11330
11330
  w: Zy,
11331
- nw: hF
11331
+ nw: h8
11332
11332
  };
11333
- function vF(e, t, n, r) {
11334
- const i = mF[e];
11333
+ function v8(e, t, n, r) {
11334
+ const i = m8[e];
11335
11335
  return i ? i(t, {
11336
11336
  ...t,
11337
11337
  ...n
11338
11338
  }, r) : n;
11339
11339
  }
11340
- function bF(e) {
11340
+ function b8(e) {
11341
11341
  let {
11342
11342
  top: t,
11343
11343
  left: n,
@@ -11356,7 +11356,7 @@ function bF(e) {
11356
11356
  position: "absolute"
11357
11357
  };
11358
11358
  }
11359
- function yF(e) {
11359
+ function y8(e) {
11360
11360
  let {
11361
11361
  top: t,
11362
11362
  left: n,
@@ -11384,14 +11384,14 @@ function v$(e) {
11384
11384
  return t.x > n.x || t.x === n.x && t.y > n.y ? 1 : -1;
11385
11385
  });
11386
11386
  }
11387
- function xF(e, t, n, r, i) {
11387
+ function x8(e, t, n, r, i) {
11388
11388
  e = e || [];
11389
11389
  const o = [];
11390
11390
  xu.default.Children.forEach(t, (a) => {
11391
11391
  if ((a == null ? void 0 : a.key) == null)
11392
11392
  return;
11393
11393
  const l = Gy(e, String(a.key)), c = a.props["data-grid"];
11394
- l && c == null ? o.push(Ma(l)) : c ? (oF || b$([c], "ReactGridLayout.children"), o.push(Ma({
11394
+ l && c == null ? o.push(Ma(l)) : c ? (o8 || b$([c], "ReactGridLayout.children"), o.push(Ma({
11395
11395
  ...c,
11396
11396
  i: a.key
11397
11397
  }))) : o.push(Ma({
@@ -11419,25 +11419,25 @@ function b$(e) {
11419
11419
  throw new Error("ReactGridLayout: " + t + "[" + r + "]." + n[s] + " must be a number!");
11420
11420
  }
11421
11421
  }
11422
- function wF(e) {
11422
+ function w8(e) {
11423
11423
  const {
11424
11424
  verticalCompact: t,
11425
11425
  compactType: n
11426
11426
  } = e || {};
11427
11427
  return t === !1 ? null : n;
11428
11428
  }
11429
- const _F = () => {
11429
+ const _8 = () => {
11430
11430
  };
11431
- Et.noop = _F;
11431
+ Et.noop = _8;
11432
11432
  var io = {};
11433
11433
  Object.defineProperty(io, "__esModule", {
11434
11434
  value: !0
11435
11435
  });
11436
11436
  io.calcGridColWidth = sg;
11437
- io.calcGridItemPosition = SF;
11437
+ io.calcGridItemPosition = S8;
11438
11438
  io.calcGridItemWHPx = v0;
11439
- io.calcWH = EF;
11440
- io.calcXY = CF;
11439
+ io.calcWH = E8;
11440
+ io.calcXY = C8;
11441
11441
  io.clamp = ba;
11442
11442
  function sg(e) {
11443
11443
  const {
@@ -11451,7 +11451,7 @@ function sg(e) {
11451
11451
  function v0(e, t, n) {
11452
11452
  return Number.isFinite(e) ? Math.round(t * e + Math.max(0, e - 1) * n) : e;
11453
11453
  }
11454
- function SF(e, t, n, r, i, o) {
11454
+ function S8(e, t, n, r, i, o) {
11455
11455
  const {
11456
11456
  margin: s,
11457
11457
  containerPadding: a,
@@ -11459,7 +11459,7 @@ function SF(e, t, n, r, i, o) {
11459
11459
  } = e, c = sg(e), d = {};
11460
11460
  return o && o.resizing ? (d.width = Math.round(o.resizing.width), d.height = Math.round(o.resizing.height)) : (d.width = v0(r, c, s[0]), d.height = v0(i, l, s[1])), o && o.dragging ? (d.top = Math.round(o.dragging.top), d.left = Math.round(o.dragging.left)) : o && o.resizing && typeof o.resizing.top == "number" && typeof o.resizing.left == "number" ? (d.top = Math.round(o.resizing.top), d.left = Math.round(o.resizing.left)) : (d.top = Math.round((l + s[1]) * n + a[1]), d.left = Math.round((c + s[0]) * t + a[0])), d;
11461
11461
  }
11462
- function CF(e, t, n, r, i) {
11462
+ function C8(e, t, n, r, i) {
11463
11463
  const {
11464
11464
  margin: o,
11465
11465
  cols: s,
@@ -11472,7 +11472,7 @@ function CF(e, t, n, r, i) {
11472
11472
  y: f
11473
11473
  };
11474
11474
  }
11475
- function EF(e, t, n, r, i, o) {
11475
+ function E8(e, t, n, r, i, o) {
11476
11476
  const {
11477
11477
  margin: s,
11478
11478
  maxRows: a,
@@ -11497,7 +11497,7 @@ function tx() {
11497
11497
  return Pv = e, Pv;
11498
11498
  }
11499
11499
  var Ov, lC;
11500
- function PF() {
11500
+ function P8() {
11501
11501
  if (lC)
11502
11502
  return Ov;
11503
11503
  lC = 1;
@@ -11555,7 +11555,7 @@ var Gf = { exports: {} }, Lt = {};
11555
11555
  * LICENSE file in the root directory of this source tree.
11556
11556
  */
11557
11557
  var cC;
11558
- function OF() {
11558
+ function O8() {
11559
11559
  return cC || (cC = 1, process.env.NODE_ENV !== "production" && function() {
11560
11560
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
11561
11561
  function S(oe) {
@@ -11647,7 +11647,7 @@ var Ft = {};
11647
11647
  * LICENSE file in the root directory of this source tree.
11648
11648
  */
11649
11649
  var uC;
11650
- function $F() {
11650
+ function $8() {
11651
11651
  if (uC)
11652
11652
  return Ft;
11653
11653
  uC = 1;
@@ -11715,7 +11715,7 @@ function $F() {
11715
11715
  }
11716
11716
  var dC;
11717
11717
  function y$() {
11718
- return dC || (dC = 1, process.env.NODE_ENV === "production" ? Gf.exports = $F() : Gf.exports = OF()), Gf.exports;
11718
+ return dC || (dC = 1, process.env.NODE_ENV === "production" ? Gf.exports = $8() : Gf.exports = O8()), Gf.exports;
11719
11719
  }
11720
11720
  /*
11721
11721
  object-assign
@@ -11723,7 +11723,7 @@ object-assign
11723
11723
  @license MIT
11724
11724
  */
11725
11725
  var $v, fC;
11726
- function RF() {
11726
+ function R8() {
11727
11727
  if (fC)
11728
11728
  return $v;
11729
11729
  fC = 1;
@@ -11774,7 +11774,7 @@ function x$() {
11774
11774
  return hC || (hC = 1, Rv = Function.call.bind(Object.prototype.hasOwnProperty)), Rv;
11775
11775
  }
11776
11776
  var kv, pC;
11777
- function kF() {
11777
+ function k8() {
11778
11778
  if (pC)
11779
11779
  return kv;
11780
11780
  pC = 1;
@@ -11824,11 +11824,11 @@ function kF() {
11824
11824
  }, kv = i, kv;
11825
11825
  }
11826
11826
  var Mv, gC;
11827
- function MF() {
11827
+ function M8() {
11828
11828
  if (gC)
11829
11829
  return Mv;
11830
11830
  gC = 1;
11831
- var e = y$(), t = RF(), n = tx(), r = x$(), i = kF(), o = function() {
11831
+ var e = y$(), t = R8(), n = tx(), r = x$(), i = k8(), o = function() {
11832
11832
  };
11833
11833
  process.env.NODE_ENV !== "production" && (o = function(a) {
11834
11834
  var l = "Warning: " + a;
@@ -12146,10 +12146,10 @@ Valid keys: ` + JSON.stringify(Object.keys(R), null, " ")
12146
12146
  }, Mv;
12147
12147
  }
12148
12148
  if (process.env.NODE_ENV !== "production") {
12149
- var DF = y$(), TF = !0;
12150
- b0.exports = MF()(DF.isElement, TF);
12149
+ var D8 = y$(), T8 = !0;
12150
+ b0.exports = M8()(D8.isElement, T8);
12151
12151
  } else
12152
- b0.exports = PF()();
12152
+ b0.exports = P8()();
12153
12153
  var Ts = b0.exports, lg = { exports: {} }, w$ = {};
12154
12154
  function _$(e) {
12155
12155
  var t, n, r = "";
@@ -12169,35 +12169,35 @@ function mC() {
12169
12169
  (e = arguments[n++]) && (t = _$(e)) && (r && (r += " "), r += t);
12170
12170
  return r;
12171
12171
  }
12172
- const AF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12172
+ const A8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12173
12173
  __proto__: null,
12174
12174
  clsx: mC,
12175
12175
  default: mC
12176
- }, Symbol.toStringTag, { value: "Module" })), IF = /* @__PURE__ */ Dy(AF);
12176
+ }, Symbol.toStringTag, { value: "Module" })), I8 = /* @__PURE__ */ Dy(A8);
12177
12177
  var pn = {}, oo = {};
12178
12178
  Object.defineProperty(oo, "__esModule", {
12179
12179
  value: !0
12180
12180
  });
12181
- oo.dontSetMe = zF;
12182
- oo.findInArray = NF;
12183
- oo.int = jF;
12184
- oo.isFunction = LF;
12185
- oo.isNum = FF;
12186
- function NF(e, t) {
12181
+ oo.dontSetMe = z8;
12182
+ oo.findInArray = N8;
12183
+ oo.int = j8;
12184
+ oo.isFunction = L8;
12185
+ oo.isNum = F8;
12186
+ function N8(e, t) {
12187
12187
  for (let n = 0, r = e.length; n < r; n++)
12188
12188
  if (t.apply(t, [e[n], n, e]))
12189
12189
  return e[n];
12190
12190
  }
12191
- function LF(e) {
12191
+ function L8(e) {
12192
12192
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Function]";
12193
12193
  }
12194
- function FF(e) {
12194
+ function F8(e) {
12195
12195
  return typeof e == "number" && !isNaN(e);
12196
12196
  }
12197
- function jF(e) {
12197
+ function j8(e) {
12198
12198
  return parseInt(e, 10);
12199
12199
  }
12200
- function zF(e, t, n) {
12200
+ function z8(e, t, n) {
12201
12201
  if (e[t])
12202
12202
  return new Error("Invalid prop ".concat(t, " passed to ").concat(n, " - do not set this, set it on the child."));
12203
12203
  }
@@ -12206,7 +12206,7 @@ Object.defineProperty(Xa, "__esModule", {
12206
12206
  value: !0
12207
12207
  });
12208
12208
  Xa.browserPrefixToKey = C$;
12209
- Xa.browserPrefixToStyle = BF;
12209
+ Xa.browserPrefixToStyle = B8;
12210
12210
  Xa.default = void 0;
12211
12211
  Xa.getPrefix = S$;
12212
12212
  const Dv = ["Moz", "Webkit", "O", "ms"];
@@ -12224,12 +12224,12 @@ function S$() {
12224
12224
  return "";
12225
12225
  }
12226
12226
  function C$(e, t) {
12227
- return t ? "".concat(t).concat(VF(e)) : e;
12227
+ return t ? "".concat(t).concat(V8(e)) : e;
12228
12228
  }
12229
- function BF(e, t) {
12229
+ function B8(e, t) {
12230
12230
  return t ? "-".concat(t.toLowerCase(), "-").concat(e) : e;
12231
12231
  }
12232
- function VF(e) {
12232
+ function V8(e) {
12233
12233
  let t = "", n = !0;
12234
12234
  for (let r = 0; r < e.length; r++)
12235
12235
  n ? (t += e[r].toUpperCase(), n = !1) : e[r] === "-" ? n = !0 : t += e[r];
@@ -12240,24 +12240,24 @@ Object.defineProperty(pn, "__esModule", {
12240
12240
  value: !0
12241
12241
  });
12242
12242
  pn.addClassName = O$;
12243
- pn.addEvent = qF;
12243
+ pn.addEvent = q8;
12244
12244
  pn.addUserSelectStyles = nj;
12245
- pn.createCSSTransform = ZF;
12246
- pn.createSVGTransform = JF;
12245
+ pn.createCSSTransform = Z8;
12246
+ pn.createSVGTransform = J8;
12247
12247
  pn.getTouch = ej;
12248
12248
  pn.getTouchIdentifier = tj;
12249
12249
  pn.getTranslation = nx;
12250
- pn.innerHeight = KF;
12251
- pn.innerWidth = XF;
12250
+ pn.innerHeight = K8;
12251
+ pn.innerWidth = X8;
12252
12252
  pn.matchesSelector = P$;
12253
- pn.matchesSelectorAndParentsTo = WF;
12254
- pn.offsetXYFromParent = QF;
12255
- pn.outerHeight = GF;
12256
- pn.outerWidth = YF;
12253
+ pn.matchesSelectorAndParentsTo = W8;
12254
+ pn.offsetXYFromParent = Q8;
12255
+ pn.outerHeight = G8;
12256
+ pn.outerWidth = Y8;
12257
12257
  pn.removeClassName = $$;
12258
- pn.removeEvent = UF;
12258
+ pn.removeEvent = U8;
12259
12259
  pn.removeUserSelectStyles = rj;
12260
- var Xr = oo, vC = HF(Xa);
12260
+ var Xr = oo, vC = H8(Xa);
12261
12261
  function E$(e) {
12262
12262
  if (typeof WeakMap != "function")
12263
12263
  return null;
@@ -12266,7 +12266,7 @@ function E$(e) {
12266
12266
  return r ? n : t;
12267
12267
  })(e);
12268
12268
  }
12269
- function HF(e, t) {
12269
+ function H8(e, t) {
12270
12270
  if (!t && e && e.__esModule)
12271
12271
  return e;
12272
12272
  if (e === null || typeof e != "object" && typeof e != "function")
@@ -12288,7 +12288,7 @@ function P$(e, t) {
12288
12288
  return (0, Xr.isFunction)(e[n]);
12289
12289
  })), (0, Xr.isFunction)(e[Yf]) ? e[Yf](t) : !1;
12290
12290
  }
12291
- function WF(e, t, n) {
12291
+ function W8(e, t, n) {
12292
12292
  let r = e;
12293
12293
  do {
12294
12294
  if (P$(r, t))
@@ -12299,7 +12299,7 @@ function WF(e, t, n) {
12299
12299
  } while (r);
12300
12300
  return !1;
12301
12301
  }
12302
- function qF(e, t, n, r) {
12302
+ function q8(e, t, n, r) {
12303
12303
  if (!e)
12304
12304
  return;
12305
12305
  const i = {
@@ -12308,7 +12308,7 @@ function qF(e, t, n, r) {
12308
12308
  };
12309
12309
  e.addEventListener ? e.addEventListener(t, n, i) : e.attachEvent ? e.attachEvent("on" + t, n) : e["on" + t] = n;
12310
12310
  }
12311
- function UF(e, t, n, r) {
12311
+ function U8(e, t, n, r) {
12312
12312
  if (!e)
12313
12313
  return;
12314
12314
  const i = {
@@ -12317,27 +12317,27 @@ function UF(e, t, n, r) {
12317
12317
  };
12318
12318
  e.removeEventListener ? e.removeEventListener(t, n, i) : e.detachEvent ? e.detachEvent("on" + t, n) : e["on" + t] = null;
12319
12319
  }
12320
- function GF(e) {
12320
+ function G8(e) {
12321
12321
  let t = e.clientHeight;
12322
12322
  const n = e.ownerDocument.defaultView.getComputedStyle(e);
12323
12323
  return t += (0, Xr.int)(n.borderTopWidth), t += (0, Xr.int)(n.borderBottomWidth), t;
12324
12324
  }
12325
- function YF(e) {
12325
+ function Y8(e) {
12326
12326
  let t = e.clientWidth;
12327
12327
  const n = e.ownerDocument.defaultView.getComputedStyle(e);
12328
12328
  return t += (0, Xr.int)(n.borderLeftWidth), t += (0, Xr.int)(n.borderRightWidth), t;
12329
12329
  }
12330
- function KF(e) {
12330
+ function K8(e) {
12331
12331
  let t = e.clientHeight;
12332
12332
  const n = e.ownerDocument.defaultView.getComputedStyle(e);
12333
12333
  return t -= (0, Xr.int)(n.paddingTop), t -= (0, Xr.int)(n.paddingBottom), t;
12334
12334
  }
12335
- function XF(e) {
12335
+ function X8(e) {
12336
12336
  let t = e.clientWidth;
12337
12337
  const n = e.ownerDocument.defaultView.getComputedStyle(e);
12338
12338
  return t -= (0, Xr.int)(n.paddingLeft), t -= (0, Xr.int)(n.paddingRight), t;
12339
12339
  }
12340
- function QF(e, t, n) {
12340
+ function Q8(e, t, n) {
12341
12341
  const i = t === t.ownerDocument.body ? {
12342
12342
  left: 0,
12343
12343
  top: 0
@@ -12347,13 +12347,13 @@ function QF(e, t, n) {
12347
12347
  y: s
12348
12348
  };
12349
12349
  }
12350
- function ZF(e, t) {
12350
+ function Z8(e, t) {
12351
12351
  const n = nx(e, t, "px");
12352
12352
  return {
12353
12353
  [(0, vC.browserPrefixToKey)("transform", vC.default)]: n
12354
12354
  };
12355
12355
  }
12356
- function JF(e, t) {
12356
+ function J8(e, t) {
12357
12357
  return nx(e, t, "");
12358
12358
  }
12359
12359
  function nx(e, t, n) {
@@ -12829,7 +12829,7 @@ ar(dg, "defaultProps", {
12829
12829
  return l.default;
12830
12830
  }
12831
12831
  }), e.default = void 0;
12832
- var t = g(Ee), n = d(Ts), r = d(Xp), i = d(IF), o = pn, s = so, a = oo, l = d(cg), c = d(ug);
12832
+ var t = g(Ee), n = d(Ts), r = d(Xp), i = d(I8), o = pn, s = so, a = oo, l = d(cg), c = d(ug);
12833
12833
  function d(_) {
12834
12834
  return _ && _.__esModule ? _ : { default: _ };
12835
12835
  }
@@ -37695,8 +37695,8 @@ function oD() {
37695
37695
  function sD({
37696
37696
  children: e
37697
37697
  }) {
37698
- const t = new e8();
37699
- return /* @__PURE__ */ w.jsx(x8, { defaultTheme: "dark", storageKey: "vite-ui-theme", children: /* @__PURE__ */ w.jsx(mY, { delayDuration: 0, children: /* @__PURE__ */ w.jsx(o8, { client: t, children: e }) }) });
37698
+ const t = new eF();
37699
+ return /* @__PURE__ */ w.jsx(xF, { defaultTheme: "dark", storageKey: "vite-ui-theme", children: /* @__PURE__ */ w.jsx(mY, { delayDuration: 0, children: /* @__PURE__ */ w.jsx(oF, { client: t, children: e }) }) });
37700
37700
  }
37701
37701
  function $te(e) {
37702
37702
  return /* @__PURE__ */ w.jsx(sD, { children: /* @__PURE__ */ w.jsx(UO, { ...e, children: /* @__PURE__ */ w.jsx(oD, {}) }) });
@@ -39181,6 +39181,7 @@ function Nre() {
39181
39181
  filterOnClick: !0
39182
39182
  },
39183
39183
  type: "bar",
39184
+ sql: "select COUNT(*) from YOUR_TABLE",
39184
39185
  data: []
39185
39186
  };
39186
39187
  d(b.id, S), p(n, S.id), m(S);
@@ -40330,7 +40331,7 @@ function Pie({
40330
40331
  /* @__PURE__ */ w.jsxs(
40331
40332
  Rc,
40332
40333
  {
40333
- className: `w-full xbg-red-100 ${t === "api" ? "h-[74vh]" : "h-[60vh]"}`,
40334
+ className: `w-full ${t === "api" ? "h-[74vh]" : "h-[60vh]"}`,
40334
40335
  children: [
40335
40336
  n == null ? void 0 : n.map((f) => /* @__PURE__ */ w.jsxs(
40336
40337
  "div",
@@ -49444,12 +49445,12 @@ function Uue({
49444
49445
  }
49445
49446
  return /* @__PURE__ */ w.jsxs(k1, { open: e, onOpenChange: t, children: [
49446
49447
  /* @__PURE__ */ w.jsx(M1, { asChild: !0, children: /* @__PURE__ */ w.jsx(ut, { size: "sm", className: "", variant: "outline", children: /* @__PURE__ */ w.jsx(IY, { strokeWidth: 1, size: 16 }) }) }),
49447
- /* @__PURE__ */ w.jsxs(Wg, { className: "sm:max-w-[425px] md:min-w-[625px] md:max-h-[625px] flex flex-col justify-between overflow-auto", children: [
49448
+ /* @__PURE__ */ w.jsxs(Wg, { className: " border-muted sm:max-w-[425px] md:min-w-[625px] md:max-h-[625px] flex flex-col justify-between overflow-auto", children: [
49448
49449
  /* @__PURE__ */ w.jsxs(qg, { children: [
49449
49450
  /* @__PURE__ */ w.jsx(Ug, { children: "Ask" }),
49450
49451
  /* @__PURE__ */ w.jsx(Gg, { children: "Need assistance with SQL queries? Feel free to ask me any question!" })
49451
49452
  ] }),
49452
- /* @__PURE__ */ w.jsx(Rc, { className: "h-[625px] w-full border-t ", children: (!_ || !S) && /* @__PURE__ */ w.jsx(
49453
+ /* @__PURE__ */ w.jsx(Rc, { className: "h-[625px] w-full border-t border-t-muted ", children: (!_ || !S) && /* @__PURE__ */ w.jsx(
49453
49454
  Hue,
49454
49455
  {
49455
49456
  className: " pl-1 pr-3 py-1 w-full xbg-red-100 overflow-auto ",
@@ -51405,14 +51406,14 @@ function gfe() {
51405
51406
  "div",
51406
51407
  {
51407
51408
  role: "dashboard-plus-main",
51408
- className: ` flex grow ${n ? "hidden" : "block"} `,
51409
+ className: ` flex grow ${n ? "hidden" : "block"}`,
51409
51410
  children: [
51410
51411
  /* @__PURE__ */ w.jsx(oD, {}),
51411
51412
  t && /* @__PURE__ */ w.jsx(
51412
51413
  "div",
51413
51414
  {
51414
51415
  role: "filter-aside-container",
51415
- className: " border min-h-[80vh] w-[300px]",
51416
+ className: "",
51416
51417
  children: /* @__PURE__ */ w.jsx(pfe, {})
51417
51418
  }
51418
51419
  )
@@ -51470,9 +51471,9 @@ function Wfe({
51470
51471
  ...n
51471
51472
  }) {
51472
51473
  return we((r) => r.isVisualEditing), /* @__PURE__ */ w.jsxs(sD, { children: [
51473
- e && /* @__PURE__ */ w.jsx(Nre, {}),
51474
51474
  /* @__PURE__ */ w.jsx(mfe, {}),
51475
51475
  /* @__PURE__ */ w.jsxs(UO, { ...n, children: [
51476
+ e && /* @__PURE__ */ w.jsx(Nre, {}),
51476
51477
  /* @__PURE__ */ w.jsx(ffe, {}),
51477
51478
  /* @__PURE__ */ w.jsx(gfe, {})
51478
51479
  ] })