react-semaphor 0.1.469 → 0.1.470

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +107 -106
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +4 -4
  5. package/dist/briefings/index.cjs +1 -1
  6. package/dist/briefings/index.js +4 -4
  7. package/dist/chunks/{analyze-result-contract-kaCNxjA7.js → analyze-result-contract-B3agc2XU.js} +1 -1
  8. package/dist/chunks/{analyze-result-contract-CMwVg9w2.cjs → analyze-result-contract-OgPk-zGu.cjs} +1 -1
  9. package/dist/chunks/{common-types-tRK8fhXV.cjs → common-types-C1IM7gao.cjs} +1 -1
  10. package/dist/chunks/{common-types-BgI-ymBp.js → common-types-g_1fKJLK.js} +1 -1
  11. package/dist/chunks/{dashboard-briefing-launcher-kKSBCRLE.js → dashboard-briefing-launcher-DEVbQCQE.js} +9 -9
  12. package/dist/chunks/{dashboard-briefing-launcher-BqxcYhO2.cjs → dashboard-briefing-launcher-exfJnSop.cjs} +1 -1
  13. package/dist/chunks/{dashboard-controls-Z8ow3GV6.cjs → dashboard-controls-8D1m_ECN.cjs} +1 -1
  14. package/dist/chunks/{dashboard-controls-DP2rftVR.js → dashboard-controls-DPK-CRWL.js} +9 -9
  15. package/dist/chunks/{dashboard-filter-value-compatibility-Ce7jUVh-.js → dashboard-filter-value-compatibility-BAaqJGjt.js} +77 -77
  16. package/dist/chunks/dashboard-filter-value-compatibility-CYrWe1U6.cjs +1 -0
  17. package/dist/chunks/{dashboard-input-contract-12mPNhCF.cjs → dashboard-input-contract-JFJZgenC.cjs} +1 -1
  18. package/dist/chunks/{dashboard-input-contract-Ciboc347.js → dashboard-input-contract-Vr_3ApfF.js} +1 -1
  19. package/dist/chunks/{dashboard-json-3qT123Xa.js → dashboard-json-DVWLTmIJ.js} +7 -7
  20. package/dist/chunks/{dashboard-json-CPq7IMvR.cjs → dashboard-json-DhKOoHwK.cjs} +1 -1
  21. package/dist/chunks/{edit-dashboard-visual-7eUCTZnx.cjs → edit-dashboard-visual-B6zidwTu.cjs} +1 -1
  22. package/dist/chunks/{edit-dashboard-visual-Clz6LQOX.js → edit-dashboard-visual-CxEC3bPx.js} +12 -12
  23. package/dist/chunks/{editor-action-buttons-WJFWflfs.cjs → editor-action-buttons-B3S00DsB.cjs} +1 -1
  24. package/dist/chunks/{editor-action-buttons-CFbMRQSE.js → editor-action-buttons-HfJ-Bohl.js} +6 -6
  25. package/dist/chunks/{index-CQN-X1jN.cjs → index-B4VxBoJg.cjs} +1 -1
  26. package/dist/chunks/{index-DKaQRhKm.cjs → index-DVBYvkj0.cjs} +40 -40
  27. package/dist/chunks/{index-DO4BESNy.js → index-oVXvCLH-.js} +9 -9
  28. package/dist/chunks/{index-8Cm77joZ.js → index-tsB3LfTQ.js} +8477 -8476
  29. package/dist/chunks/{matrix-result-contract-ClC6Pd_g.js → matrix-result-contract-DoU9diAh.js} +3 -3
  30. package/dist/chunks/{matrix-result-contract-DF-qt0jx.cjs → matrix-result-contract-SrzyG_KQ.cjs} +1 -1
  31. package/dist/chunks/{pivot-header-presentation-OpY8xzdT.js → pivot-header-presentation-BW0Ay7WV.js} +2 -2
  32. package/dist/chunks/{pivot-header-presentation-DyV0iOZ_.cjs → pivot-header-presentation-DVBTHug2.cjs} +1 -1
  33. package/dist/chunks/{pivot-result-identity-CCMpd8ZA.js → pivot-result-identity-5v4hRVbc.js} +1 -1
  34. package/dist/chunks/{pivot-result-identity-gsOwOjHi.cjs → pivot-result-identity-DRUlTWUq.cjs} +1 -1
  35. package/dist/chunks/{pivot-result-lifecycle-CEfU43GZ.cjs → pivot-result-lifecycle-DJgO2P0H.cjs} +1 -1
  36. package/dist/chunks/{pivot-result-lifecycle-B38AZx4a.js → pivot-result-lifecycle-O_roVguV.js} +7 -7
  37. package/dist/chunks/{raw-temporal-contract-r_EMdR85.js → raw-temporal-contract-BEMf3avg.js} +1 -1
  38. package/dist/chunks/{raw-temporal-contract-UdblxoVB.cjs → raw-temporal-contract-D8YuxTAg.cjs} +1 -1
  39. package/dist/chunks/{report-preferences-dialog-D-NDYRrk.js → report-preferences-dialog-D-VpoQJz.js} +6 -6
  40. package/dist/chunks/{report-preferences-dialog-C5UOCTwt.cjs → report-preferences-dialog-DvNWNrlj.cjs} +1 -1
  41. package/dist/chunks/{report-runtime-context-CcXUjpb-.js → report-runtime-context-DnNbpkGo.js} +1 -1
  42. package/dist/chunks/{report-runtime-context-CLtzrZdC.cjs → report-runtime-context-RFiWq4wK.cjs} +1 -1
  43. package/dist/chunks/{saved-temporal-bucket-format-hylaofsQ.js → saved-temporal-bucket-format-CygnBDO2.js} +24 -24
  44. package/dist/chunks/{saved-temporal-bucket-format-Ca4hUfTo.cjs → saved-temporal-bucket-format-DNMtD77o.cjs} +1 -1
  45. package/dist/chunks/{switch-BagpmPNw.js → switch-DnbD-yCM.js} +233 -233
  46. package/dist/chunks/{switch-DyE2_OmQ.cjs → switch-NAbuOQNg.cjs} +1 -1
  47. package/dist/chunks/{temporal-bucket-BDRcWdVv.cjs → temporal-bucket-9Wz9Ds6H.cjs} +1 -1
  48. package/dist/chunks/{temporal-bucket-Cc9fmx8s.js → temporal-bucket-CUKJktCl.js} +1 -1
  49. package/dist/chunks/{temporal-bucket-authoring-DjPFtRSF.js → temporal-bucket-authoring-CZoJV2L6.js} +3 -3
  50. package/dist/chunks/{temporal-bucket-authoring-C6sZAVqS.cjs → temporal-bucket-authoring-DSpzgXHc.cjs} +1 -1
  51. package/dist/chunks/{temporal-bucket-contract-vrOkax-r.cjs → temporal-bucket-contract-BD862TAa.cjs} +1 -1
  52. package/dist/chunks/{temporal-bucket-contract-DT4kU0VY.js → temporal-bucket-contract-Cno9TlYr.js} +1 -1
  53. package/dist/chunks/{token-types-DALtlgbG.cjs → token-types-CoHsSJ4E.cjs} +1 -1
  54. package/dist/chunks/{token-types-Z889rD6g.js → token-types-W3EHNW-D.js} +1 -1
  55. package/dist/chunks/{update-policy-Cyufdviq.cjs → update-policy-BGNXFgBU.cjs} +1 -1
  56. package/dist/chunks/{update-policy-Bu5Tw43R.js → update-policy-kRNJwwUV.js} +1 -1
  57. package/dist/chunks/{validators-DhTaCK1O.js → validators-B5t1s8oh.js} +274 -266
  58. package/dist/chunks/validators-DcshgK7w.cjs +1 -0
  59. package/dist/dashboard/index.cjs +1 -1
  60. package/dist/dashboard/index.js +2 -2
  61. package/dist/dashboard-authoring/index.cjs +1 -1
  62. package/dist/dashboard-authoring/index.js +4 -4
  63. package/dist/data-app-builder/index.cjs +1 -1
  64. package/dist/data-app-builder/index.js +2 -2
  65. package/dist/data-app-codegen/index.cjs +1 -1
  66. package/dist/data-app-codegen/index.js +2 -2
  67. package/dist/data-app-codegen-node/index.cjs +1 -1
  68. package/dist/data-app-codegen-node/index.js +3 -3
  69. package/dist/data-app-sdk/index.cjs +1 -1
  70. package/dist/data-app-sdk/index.js +3 -3
  71. package/dist/data-app-sdk-adapters/index.cjs +1 -1
  72. package/dist/data-app-sdk-adapters/index.js +2 -2
  73. package/dist/data-app-sdk-validation/index.cjs +1 -1
  74. package/dist/data-app-sdk-validation/index.js +3 -3
  75. package/dist/format-utils/index.cjs +1 -1
  76. package/dist/format-utils/index.js +12 -12
  77. package/dist/index.cjs +1 -1
  78. package/dist/index.js +14 -14
  79. package/dist/report-runtime-context/index.cjs +1 -1
  80. package/dist/report-runtime-context/index.js +2 -2
  81. package/dist/surfboard/index.cjs +1 -1
  82. package/dist/surfboard/index.js +3 -3
  83. package/dist/types/analytics-protocol.d.ts +13 -0
  84. package/dist/types/index.cjs +1 -1
  85. package/dist/types/index.js +4 -4
  86. package/package.json +1 -1
  87. package/dist/chunks/dashboard-filter-value-compatibility-iCPBcrRS.cjs +0 -1
  88. package/dist/chunks/validators-DO-YuzgO.cjs +0 -1
@@ -1,24 +1,24 @@
1
1
  import { j as mp, c as je, C as Rl } from "./x-CXDkqdur.js";
2
2
  import { jsx as w, jsxs as be, Fragment as Yn } from "react/jsx-runtime";
3
3
  import * as p from "react";
4
- import Ce, { useLayoutEffect as gp, useState as yp, forwardRef as bp, useRef as qa, useMemo as vp, useId as Cp, useImperativeHandle as Sp } from "react";
5
- import { e as _l, v as st, D as _r, B as Wi, f as Ip, h as Pl, r as wp, j as Ha, k as De } from "./saved-temporal-bucket-format-hylaofsQ.js";
6
- import { E as Ke, N as Ol, l as xp, ap as Ep, h as Pr, ah as Vn, B as Wa } from "./validators-DhTaCK1O.js";
7
- import "./analyze-result-contract-kaCNxjA7.js";
4
+ import Ce, { useLayoutEffect as gp, useState as yp, forwardRef as bp, useRef as za, useMemo as vp, useId as Cp, useImperativeHandle as Sp } from "react";
5
+ import { e as _l, v as st, D as _r, B as Wi, f as Ip, h as Pl, r as wp, j as Ha, k as De } from "./saved-temporal-bucket-format-CygnBDO2.js";
6
+ import { E as Ke, N as Ol, l as xp, aq as Ep, h as Pr, ai as Vn, B as Wa } from "./validators-B5t1s8oh.js";
7
+ import "./analyze-result-contract-B3agc2XU.js";
8
8
  import "../value-format-preferences/index.js";
9
9
  import * as Xr from "react-dom";
10
10
  import Tp from "react-dom";
11
11
  import { u as Fp } from "./appearance-context-DVXt8qjW.js";
12
12
  import "react-dom/client";
13
- import { D as Dp } from "./temporal-bucket-Cc9fmx8s.js";
14
- import { b as Ap } from "./report-runtime-context-CcXUjpb-.js";
13
+ import { D as Dp } from "./temporal-bucket-CUKJktCl.js";
14
+ import { b as Ap } from "./report-runtime-context-DnNbpkGo.js";
15
15
  import { createFrameLayouts as Rp } from "../layouts/index.js";
16
16
  import { t as Gi, c as Or, h as _p, j as Pp, f as Qr, k as Op, i as Zr } from "./format-types-CFHQoIuk.js";
17
17
  import { f as Dt } from "./index-CACdoqu3.js";
18
- import { a as Mp } from "./temporal-bucket-authoring-DjPFtRSF.js";
19
- import { o as Ml, l as kl, n as Nl, b as Jr, e as Vl, d as Yi, h as kp, r as Ga, g as Np, j as Vp } from "./dashboard-filter-value-compatibility-Ce7jUVh-.js";
20
- import { a as Ya, C as Ll } from "./common-types-BgI-ymBp.js";
21
- import { s as Lp, e as Bp, i as $p, a as Up, q as Ki, r as ci, f as Bl, g as Kn } from "./dashboard-input-contract-Ciboc347.js";
18
+ import { a as Mp } from "./temporal-bucket-authoring-CZoJV2L6.js";
19
+ import { o as Ml, l as kl, n as Nl, b as Jr, e as Vl, d as Yi, h as kp, r as Ga, g as Np, j as Vp } from "./dashboard-filter-value-compatibility-BAaqJGjt.js";
20
+ import { a as Ya, C as Ll } from "./common-types-g_1fKJLK.js";
21
+ import { s as Lp, e as Bp, i as $p, a as Up, q as Ki, r as ci, f as Bl, g as Kn } from "./dashboard-input-contract-Vr_3ApfF.js";
22
22
  const Ka = (e) => {
23
23
  let n;
24
24
  const t = /* @__PURE__ */ new Set(), r = (c, d) => {
@@ -29,8 +29,8 @@ const Ka = (e) => {
29
29
  }
30
30
  }, o = () => n, s = { setState: r, getState: o, getInitialState: () => l, subscribe: (c) => (t.add(c), () => t.delete(c)) }, l = n = e(r, o, s);
31
31
  return s;
32
- }, jp = (e) => e ? Ka(e) : Ka, zp = (e) => e;
33
- function qp(e, n = zp) {
32
+ }, jp = (e) => e ? Ka(e) : Ka, qp = (e) => e;
33
+ function zp(e, n = qp) {
34
34
  const t = Ce.useSyncExternalStore(
35
35
  e.subscribe,
36
36
  Ce.useCallback(() => n(e.getState()), [e, n]),
@@ -39,7 +39,7 @@ function qp(e, n = zp) {
39
39
  return Ce.useDebugValue(t), t;
40
40
  }
41
41
  const Xa = (e) => {
42
- const n = jp(e), t = (r) => qp(n, r);
42
+ const n = jp(e), t = (r) => zp(n, r);
43
43
  return Object.assign(t, n), t;
44
44
  }, sn = (e) => e ? Xa(e) : Xa;
45
45
  var $l = Symbol.for("immer-nothing"), Qa = Symbol.for("immer-draftable"), Q = Symbol.for("immer-state"), Hp = process.env.NODE_ENV !== "production" ? [
@@ -338,7 +338,7 @@ var Qi = {
338
338
  return Reflect.ownKeys(se(e));
339
339
  },
340
340
  set(e, n, t) {
341
- const r = zl(se(e), n);
341
+ const r = ql(se(e), n);
342
342
  if (r != null && r.set)
343
343
  return r.set.call(e.draft_, t), !0;
344
344
  if (!e.modified_) {
@@ -394,14 +394,14 @@ function Oo(e, n) {
394
394
  }
395
395
  function Jp(e, n, t) {
396
396
  var o;
397
- const r = zl(n, t);
397
+ const r = ql(n, t);
398
398
  return r ? "value" in r ? r.value : (
399
399
  // This is a very special case, if the prop is a getter defined by the
400
400
  // prototype, we should invoke it with the draft as context!
401
401
  (o = r.get) == null ? void 0 : o.call(e.draft_)
402
402
  ) : void 0;
403
403
  }
404
- function zl(e, n) {
404
+ function ql(e, n) {
405
405
  if (!(n in e))
406
406
  return;
407
407
  let t = Ln(e);
@@ -521,9 +521,9 @@ function jn(e, n) {
521
521
  return (n ? n.scope_ : Mr()).drafts_.push(t), t;
522
522
  }
523
523
  function th(e) {
524
- return tn(e) || he(10, e), ql(e);
524
+ return tn(e) || he(10, e), zl(e);
525
525
  }
526
- function ql(e) {
526
+ function zl(e) {
527
527
  if (!Xe(e) || no(e))
528
528
  return e;
529
529
  const n = e[Q];
@@ -537,7 +537,7 @@ function ql(e) {
537
537
  return Bn(
538
538
  t,
539
539
  (o, i) => {
540
- jl(t, o, ql(i));
540
+ jl(t, o, zl(i));
541
541
  },
542
542
  r
543
543
  ), n && (n.finalized_ = !1), t;
@@ -771,8 +771,8 @@ const ht = {
771
771
  subscribe: ah,
772
772
  emit: Ji,
773
773
  clear: sh
774
- }, mE = () => Ji("dashboard:load"), gE = () => Ji("dashboard:unload"), os = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, zn = /* @__PURE__ */ new Map(), ar = (e) => {
775
- const n = zn.get(e);
774
+ }, mE = () => Ji("dashboard:load"), gE = () => Ji("dashboard:unload"), os = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, qn = /* @__PURE__ */ new Map(), ar = (e) => {
775
+ const n = qn.get(e);
776
776
  return n ? Object.fromEntries(
777
777
  Object.entries(n.stores).map(([t, r]) => [t, r.getState()])
778
778
  ) : {};
@@ -782,18 +782,18 @@ const ht = {
782
782
  type: "untracked",
783
783
  connection: n.connect(t)
784
784
  };
785
- const r = zn.get(t.name);
785
+ const r = qn.get(t.name);
786
786
  if (r)
787
787
  return { type: "tracked", store: e, ...r };
788
788
  const o = {
789
789
  connection: n.connect(t),
790
790
  stores: {}
791
791
  };
792
- return zn.set(t.name, o), { type: "tracked", store: e, ...o };
792
+ return qn.set(t.name, o), { type: "tracked", store: e, ...o };
793
793
  }, ch = (e, n) => {
794
794
  if (n === void 0) return;
795
- const t = zn.get(e);
796
- t && (delete t.stores[n], Object.keys(t.stores).length === 0 && zn.delete(e));
795
+ const t = qn.get(e);
796
+ t && (delete t.stores[n], Object.keys(t.stores).length === 0 && qn.delete(e));
797
797
  }, dh = (e) => {
798
798
  var n, t;
799
799
  if (!e) return;
@@ -1616,20 +1616,20 @@ function Dh(e, n, t, r, o, i, a) {
1616
1616
  );
1617
1617
  if (D) {
1618
1618
  const _ = Fe.getState().interactionStates[n.id], L = (_ == null ? void 0 : _.breadcrumbs) || [], B = L.length;
1619
- let q;
1619
+ let z;
1620
1620
  if (D.type === "date" || D.baseField) {
1621
1621
  const M = Kl(D, n, L);
1622
- q = Yl(D, M);
1622
+ z = Yl(D, M);
1623
1623
  } else
1624
- q = D.steps[B];
1625
- q && (T = {
1624
+ z = D.steps[B];
1625
+ z && (T = {
1626
1626
  interactionMode: "drillDown",
1627
1627
  sourceCardId: n.id,
1628
1628
  hierarchyId: D.id,
1629
1629
  filterGroups: F,
1630
1630
  metric: (v = e.metrics) == null ? void 0 : v[0],
1631
- toField: q.field,
1632
- granularity: q.field.granularity
1631
+ toField: z.field,
1632
+ granularity: z.field.granularity
1633
1633
  });
1634
1634
  }
1635
1635
  } else if (d.mode === "drillThrough")
@@ -2432,7 +2432,7 @@ function VE(e, n) {
2432
2432
  function jh(e) {
2433
2433
  return e ? e != null && e.startsWith(`${_r}.`) ? e : `${_r}.${e}` : "";
2434
2434
  }
2435
- function zh({
2435
+ function qh({
2436
2436
  schemaName: e,
2437
2437
  tableName: n,
2438
2438
  databaseName: t,
@@ -2455,7 +2455,7 @@ function LE({
2455
2455
  tableName: n,
2456
2456
  databaseName: r,
2457
2457
  capabilities: o
2458
- }) : a = zh({
2458
+ }) : a = qh({
2459
2459
  schemaName: e,
2460
2460
  tableName: n,
2461
2461
  databaseName: r,
@@ -2477,12 +2477,12 @@ function oc({
2477
2477
  table: n
2478
2478
  });
2479
2479
  }
2480
- const qh = (e) => {
2480
+ const zh = (e) => {
2481
2481
  const n = new Date(e);
2482
2482
  return !isNaN(n.getTime());
2483
2483
  }, Hh = (e) => !isNaN(Number(e)) && !isNaN(parseFloat(e)), Wh = (e) => {
2484
2484
  let n;
2485
- return typeof e == "number" ? n = "number" : typeof e == "string" ? qh(e) ? n = "date" : Hh(e) ? n = "number" : n = "string" : typeof e == "boolean" ? n = "boolean" : e instanceof Date ? n = "date" : n = "unknown", n;
2485
+ return typeof e == "number" ? n = "number" : typeof e == "string" ? zh(e) ? n = "date" : Hh(e) ? n = "number" : n = "string" : typeof e == "boolean" ? n = "boolean" : e instanceof Date ? n = "date" : n = "unknown", n;
2486
2486
  };
2487
2487
  function Gh({
2488
2488
  get: e,
@@ -3256,7 +3256,7 @@ function Em(e, n, t = 1) {
3256
3256
  }
3257
3257
  return [It(r, n), Pe(r, n)];
3258
3258
  }
3259
- function zE(e) {
3259
+ function qE(e) {
3260
3260
  if (!e) return null;
3261
3261
  for (const [o, i] of Object.entries(Fm))
3262
3262
  if (Tm(i, e))
@@ -3406,7 +3406,7 @@ function so(e, n) {
3406
3406
  semanticContext: e.semanticContext
3407
3407
  };
3408
3408
  }
3409
- function qE(e, n) {
3409
+ function zE(e, n) {
3410
3410
  return e != null && e.length ? e.map((t) => so(t, n)).filter((t) => !!t) : [];
3411
3411
  }
3412
3412
  function yc(e, n) {
@@ -3477,7 +3477,7 @@ function HE(e) {
3477
3477
  });
3478
3478
  return Rm(d, i);
3479
3479
  }
3480
- function qn(e, n) {
3480
+ function zn(e, n) {
3481
3481
  return Object.prototype.hasOwnProperty.call(e || {}, n);
3482
3482
  }
3483
3483
  function bc(e) {
@@ -3510,7 +3510,7 @@ function la(e) {
3510
3510
  const n = {}, t = e.dashboardDefaultValues, r = bc(t);
3511
3511
  for (const o of e.controls || [])
3512
3512
  if (vc(o)) {
3513
- if (r && qn(t, o.id)) {
3513
+ if (r && zn(t, o.id)) {
3514
3514
  const i = t == null ? void 0 : t[o.id];
3515
3515
  i !== void 0 && (n[o.id] = i);
3516
3516
  continue;
@@ -3524,7 +3524,7 @@ function Mm(e) {
3524
3524
  return (e.controls || []).map((t) => {
3525
3525
  if (!vc(t))
3526
3526
  return t;
3527
- const r = qn(n, t.id) ? n[t.id] : void 0;
3527
+ const r = zn(n, t.id) ? n[t.id] : void 0;
3528
3528
  return t.defaultValue === r ? t : {
3529
3529
  ...t,
3530
3530
  defaultValue: r
@@ -3533,7 +3533,7 @@ function Mm(e) {
3533
3533
  }
3534
3534
  function Sc(e, n) {
3535
3535
  if (sa(e))
3536
- return e.scope === "dashboard" && bc(n) && qn(n, e.id) ? n == null ? void 0 : n[e.id] : e.defaultValue;
3536
+ return e.scope === "dashboard" && bc(n) && zn(n, e.id) ? n == null ? void 0 : n[e.id] : e.defaultValue;
3537
3537
  }
3538
3538
  function km(e) {
3539
3539
  const n = {};
@@ -3575,11 +3575,11 @@ function WE(e) {
3575
3575
  var t, r;
3576
3576
  const n = {};
3577
3577
  for (const o of e.relevantControlIds) {
3578
- if (qn(e.cardValues, o)) {
3578
+ if (zn(e.cardValues, o)) {
3579
3579
  n[o] = (t = e.cardValues) == null ? void 0 : t[o];
3580
3580
  continue;
3581
3581
  }
3582
- qn(e.dashboardValues, o) && (n[o] = (r = e.dashboardValues) == null ? void 0 : r[o]);
3582
+ zn(e.dashboardValues, o) && (n[o] = (r = e.dashboardValues) == null ? void 0 : r[o]);
3583
3583
  }
3584
3584
  return n;
3585
3585
  }
@@ -3645,7 +3645,7 @@ function jm(e, n, t) {
3645
3645
  );
3646
3646
  return e.replace(r, `[[param.${t}]]`);
3647
3647
  }
3648
- function zm(e, n) {
3648
+ function qm(e, n) {
3649
3649
  if (n.type === "rename") {
3650
3650
  const t = $m(
3651
3651
  e.controlBindings,
@@ -3669,13 +3669,13 @@ function zm(e, n) {
3669
3669
  ])
3670
3670
  };
3671
3671
  }
3672
- function qm(e, n) {
3672
+ function zm(e, n) {
3673
3673
  const t = new Set((e.controls || []).map((r) => r.id));
3674
3674
  return n.type === "rename" ? !t.has(n.oldId) && !t.has(n.newId) : !t.has(n.controlId);
3675
3675
  }
3676
3676
  function wc(e, n) {
3677
3677
  return e && e.map(
3678
- (t) => qm(t, n) ? zm(t, n) : t
3678
+ (t) => zm(t, n) ? qm(t, n) : t
3679
3679
  );
3680
3680
  }
3681
3681
  function Hm(e, n) {
@@ -6649,7 +6649,7 @@ function wi(e) {
6649
6649
  e.name
6650
6650
  ].join("::");
6651
6651
  }
6652
- function zg(e) {
6652
+ function qg(e) {
6653
6653
  if ("expression" in e)
6654
6654
  return e.expression || void 0;
6655
6655
  }
@@ -6658,10 +6658,10 @@ function Xt(e) {
6658
6658
  e.role || "field",
6659
6659
  Bc(e),
6660
6660
  e.name,
6661
- zg(e) || ""
6661
+ qg(e) || ""
6662
6662
  ].join("::");
6663
6663
  }
6664
- function qg(e) {
6664
+ function zg(e) {
6665
6665
  if (e.fieldScope === "domain")
6666
6666
  return `domain:${wi(e)}`;
6667
6667
  const n = Ii(e.id);
@@ -6681,7 +6681,7 @@ function Hg(e, n, t) {
6681
6681
  function Wg(e) {
6682
6682
  const n = /* @__PURE__ */ new Map();
6683
6683
  return e.forEach((t) => {
6684
- const r = qg(t);
6684
+ const r = zg(t);
6685
6685
  n.has(r) || n.set(r, t);
6686
6686
  }), Array.from(n.values());
6687
6687
  }
@@ -6894,13 +6894,13 @@ function jc(e, n) {
6894
6894
  (r, o) => o === t ? n : r
6895
6895
  );
6896
6896
  }
6897
- function zc(e) {
6897
+ function qc(e) {
6898
6898
  return (e == null ? void 0 : e.kind) === "document";
6899
6899
  }
6900
- function qc(e) {
6901
- return (e || []).filter((n) => !zc(n));
6900
+ function zc(e) {
6901
+ return (e || []).filter((n) => !qc(n));
6902
6902
  }
6903
- const MT = qc;
6903
+ const MT = zc;
6904
6904
  function Zg(e) {
6905
6905
  const n = Ol.safeParse(e.format), t = e.format !== void 0 && !(n.success && n.data.presentation.mode === "auto") || e.dateFormat !== void 0, r = e.semanticTemporalPresentation;
6906
6906
  return t || (r == null ? void 0 : r.granularity) !== e.granularity ? e : { ...e, format: r == null ? void 0 : r.format };
@@ -7103,7 +7103,7 @@ function iy(e, n) {
7103
7103
  function ay(e, n) {
7104
7104
  return iy(e.type, n);
7105
7105
  }
7106
- function zT(e) {
7106
+ function qT(e) {
7107
7107
  const n = sy(e.card);
7108
7108
  return e.control ? n.filter(
7109
7109
  (t) => ay(e.control, t.value)
@@ -7150,7 +7150,7 @@ function dy(e, n = "SUM") {
7150
7150
  aggregate: e.aggregate || n
7151
7151
  };
7152
7152
  }
7153
- function qT(e) {
7153
+ function zT(e) {
7154
7154
  const n = /* @__PURE__ */ new Map(), t = {};
7155
7155
  return e.filter(ly).filter((r) => typeof r.id == "string" && r.id.length > 0).forEach((r) => {
7156
7156
  const o = r.label || r.name || r.id, i = Yc(o, r.name || r.id);
@@ -8036,13 +8036,13 @@ function E0(e, n, t) {
8036
8036
  )
8037
8037
  };
8038
8038
  }
8039
- function zy(e) {
8039
+ function qy(e) {
8040
8040
  return e.kind === "filter" && $p(e);
8041
8041
  }
8042
8042
  function ue(e) {
8043
8043
  return typeof e == "string" ? e.trim() : "";
8044
8044
  }
8045
- function qy(e) {
8045
+ function zy(e) {
8046
8046
  const n = e.split(".");
8047
8047
  return n.length > 1 ? n.slice(0, -1).join(".") : "";
8048
8048
  }
@@ -8077,7 +8077,7 @@ function Wy(e, n, t) {
8077
8077
  var u;
8078
8078
  const r = n.fieldMeta;
8079
8079
  if (!r) return !0;
8080
- const o = qy(t), i = t.split("."), a = i[i.length - 1] || "", s = ue(
8080
+ const o = zy(t), i = t.split("."), a = i[i.length - 1] || "", s = ue(
8081
8081
  r.qualifiedFieldName
8082
8082
  );
8083
8083
  if (s && !Ki(
@@ -8294,7 +8294,7 @@ function R0(e) {
8294
8294
  e.dashboard.defaultInputValues,
8295
8295
  e.input,
8296
8296
  e.target
8297
- ), r = Xy(e.input, e.timezone), o = As(n) ? n : As(t) ? t : r, i = (n == null ? void 0 : n.comparisonSelection) ?? (t == null ? void 0 : t.comparisonSelection), a = zy(
8297
+ ), r = Xy(e.input, e.timezone), o = As(n) ? n : As(t) ? t : r, i = (n == null ? void 0 : n.comparisonSelection) ?? (t == null ? void 0 : t.comparisonSelection), a = qy(
8298
8298
  e.input
8299
8299
  ) ? i ?? ((o == null ? void 0 : o.status) === "set" ? { mode: "off" } : void 0) : void 0;
8300
8300
  return (o == null ? void 0 : o.status) === "set" ? {
@@ -8393,11 +8393,11 @@ function dd(e) {
8393
8393
  function ge(e) {
8394
8394
  const n = {};
8395
8395
  e.shared && Object.keys(e.shared).length > 0 && (n.shared = e.shared);
8396
- const t = zo(e.bySheetId);
8396
+ const t = qo(e.bySheetId);
8397
8397
  t && (n.bySheetId = t);
8398
- const r = zo(e.byCardId);
8398
+ const r = qo(e.byCardId);
8399
8399
  r && (n.byCardId = r);
8400
- const o = zo(e.byDocumentSectionId);
8400
+ const o = qo(e.byDocumentSectionId);
8401
8401
  return o && (n.byDocumentSectionId = o), n;
8402
8402
  }
8403
8403
  function jo(e) {
@@ -8406,7 +8406,7 @@ function jo(e) {
8406
8406
  Object.entries(e).map(([n, t]) => [n, { ...t }])
8407
8407
  );
8408
8408
  }
8409
- function zo(e) {
8409
+ function qo(e) {
8410
8410
  if (!e)
8411
8411
  return;
8412
8412
  const n = Object.fromEntries(
@@ -9152,7 +9152,7 @@ function hb(e) {
9152
9152
  };
9153
9153
  return { ok: !0, draft: t, input: f };
9154
9154
  }
9155
- function qo(e, n) {
9155
+ function zo(e, n) {
9156
9156
  const t = uo(e, n);
9157
9157
  return t != null && t.application ? t : void 0;
9158
9158
  }
@@ -9679,7 +9679,7 @@ function Ct(e, n) {
9679
9679
  controlValuesByInputId: {}
9680
9680
  }), e[n];
9681
9681
  }
9682
- function zs(e, n) {
9682
+ function qs(e, n) {
9683
9683
  var r;
9684
9684
  if (!e)
9685
9685
  return {};
@@ -9704,7 +9704,7 @@ function Go(e, n) {
9704
9704
  for (const t of Object.values(e))
9705
9705
  delete t[n];
9706
9706
  }
9707
- function qs(e, n, t, r) {
9707
+ function zs(e, n, t, r) {
9708
9708
  if (!e || n.size === 0)
9709
9709
  return e;
9710
9710
  const o = {
@@ -9938,7 +9938,7 @@ const Je = sn()(
9938
9938
  filters: (i.filters || []).map(
9939
9939
  (c) => c.id === r.id ? r : c
9940
9940
  )
9941
- } : i, s = !!qo(i, t.filterId), l = hb({
9941
+ } : i, s = !!zo(i, t.filterId), l = hb({
9942
9942
  dashboard: a,
9943
9943
  request: t
9944
9944
  });
@@ -10004,7 +10004,7 @@ const Je = sn()(
10004
10004
  },
10005
10005
  disableDashboardFilterMapping: (t, r, o) => {
10006
10006
  var d;
10007
- const i = n().dashboard, a = qo(
10007
+ const i = n().dashboard, a = zo(
10008
10008
  i,
10009
10009
  t
10010
10010
  ), s = (d = i.filters) == null ? void 0 : d.find(
@@ -10040,7 +10040,7 @@ const Je = sn()(
10040
10040
  };
10041
10041
  return e((u) => {
10042
10042
  var y, C, g;
10043
- const f = qo(
10043
+ const f = zo(
10044
10044
  u.dashboard,
10045
10045
  t
10046
10046
  );
@@ -10126,10 +10126,10 @@ const Je = sn()(
10126
10126
  e((r) => {
10127
10127
  r.dashboard.inputs = (r.dashboard.inputs || []).filter(
10128
10128
  (o) => o.id !== t
10129
- ), r.dashboard.defaultInputValues = zs(
10129
+ ), r.dashboard.defaultInputValues = qs(
10130
10130
  r.dashboard.defaultInputValues,
10131
10131
  t
10132
- ), r.dashboardInputValues = zs(
10132
+ ), r.dashboardInputValues = qs(
10133
10133
  r.dashboardInputValues,
10134
10134
  t
10135
10135
  );
@@ -11042,7 +11042,7 @@ const Je = sn()(
11042
11042
  (l) => l.kind === "global-date" && t.kind === "global-date"
11043
11043
  )) ?? -1) >= 0)
11044
11044
  return;
11045
- r.dashboard.filters ? (s = r.dashboard.filters) == null || s.push(t) : r.dashboard.filters = [t], qc(r.dashboard.sheets).forEach((l) => {
11045
+ r.dashboard.filters ? (s = r.dashboard.filters) == null || s.push(t) : r.dashboard.filters = [t], zc(r.dashboard.sheets).forEach((l) => {
11046
11046
  ds({
11047
11047
  id: t.id,
11048
11048
  layouts: l.layouts,
@@ -11132,12 +11132,12 @@ const Je = sn()(
11132
11132
  (u) => u.filterId === t ? { ...u, filterId: r } : u
11133
11133
  ), o.dashboard.defaultFilterValues = (o.dashboard.defaultFilterValues || []).map(
11134
11134
  (u) => u.filterId === t ? { ...u, filterId: r } : u
11135
- ), o.dashboard.defaultInputValues = qs(
11135
+ ), o.dashboard.defaultInputValues = zs(
11136
11136
  o.dashboard.defaultInputValues,
11137
11137
  d,
11138
11138
  t,
11139
11139
  r
11140
- ), o.dashboardInputValues = qs(
11140
+ ), o.dashboardInputValues = zs(
11141
11141
  o.dashboardInputValues,
11142
11142
  d,
11143
11143
  t,
@@ -11203,7 +11203,7 @@ const Je = sn()(
11203
11203
  var s, l, c;
11204
11204
  const a = (l = (s = i.dashboard) == null ? void 0 : s.sheets) == null ? void 0 : l.find((d) => d.id === t);
11205
11205
  if (a) {
11206
- if (zc(a))
11206
+ if (qc(a))
11207
11207
  return;
11208
11208
  a.frames || (a.frames = []);
11209
11209
  const d = typeof o == "string" ? { position: o } : o || {};
@@ -11947,7 +11947,7 @@ function Gs(e, ...n) {
11947
11947
  const ne = (e) => {
11948
11948
  const n = (t) => t[e] || [];
11949
11949
  return n.isThemeGetter = !0, n;
11950
- }, Sd = /^\[(?:([a-z-]+):)?(.+)\]$/i, Vb = /^\d+\/\d+$/, Lb = /* @__PURE__ */ new Set(["px", "full", "screen"]), Bb = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, $b = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ub = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, jb = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zb = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ge = (e) => Zt(e) || Lb.has(e) || Vb.test(e), ot = (e) => dn(e, "length", Qb), Zt = (e) => !!e && !Number.isNaN(Number(e)), Yo = (e) => dn(e, "number", Zt), Dn = (e) => !!e && Number.isInteger(Number(e)), qb = (e) => e.endsWith("%") && Zt(e.slice(0, -1)), j = (e) => Sd.test(e), it = (e) => Bb.test(e), Hb = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Wb = (e) => dn(e, Hb, Id), Gb = (e) => dn(e, "position", Id), Yb = /* @__PURE__ */ new Set(["image", "url"]), Kb = (e) => dn(e, Yb, Jb), Xb = (e) => dn(e, "", Zb), An = () => !0, dn = (e, n, t) => {
11950
+ }, Sd = /^\[(?:([a-z-]+):)?(.+)\]$/i, Vb = /^\d+\/\d+$/, Lb = /* @__PURE__ */ new Set(["px", "full", "screen"]), Bb = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, $b = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ub = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, jb = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qb = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ge = (e) => Zt(e) || Lb.has(e) || Vb.test(e), ot = (e) => dn(e, "length", Qb), Zt = (e) => !!e && !Number.isNaN(Number(e)), Yo = (e) => dn(e, "number", Zt), Dn = (e) => !!e && Number.isInteger(Number(e)), zb = (e) => e.endsWith("%") && Zt(e.slice(0, -1)), j = (e) => Sd.test(e), it = (e) => Bb.test(e), Hb = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Wb = (e) => dn(e, Hb, Id), Gb = (e) => dn(e, "position", Id), Yb = /* @__PURE__ */ new Set(["image", "url"]), Kb = (e) => dn(e, Yb, Jb), Xb = (e) => dn(e, "", Zb), An = () => !0, dn = (e, n, t) => {
11951
11951
  const r = Sd.exec(e);
11952
11952
  return r ? r[1] ? typeof n == "string" ? r[1] === n : n.has(r[1]) : t(r[2]) : !1;
11953
11953
  }, Qb = (e) => (
@@ -11955,8 +11955,8 @@ const ne = (e) => {
11955
11955
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
11956
11956
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
11957
11957
  $b.test(e) && !Ub.test(e)
11958
- ), Id = () => !1, Zb = (e) => jb.test(e), Jb = (e) => zb.test(e), Ys = () => {
11959
- const e = ne("colors"), n = ne("spacing"), t = ne("blur"), r = ne("brightness"), o = ne("borderColor"), i = ne("borderRadius"), a = ne("borderSpacing"), s = ne("borderWidth"), l = ne("contrast"), c = ne("grayscale"), d = ne("hueRotate"), u = ne("invert"), f = ne("gap"), m = ne("gradientColorStops"), b = ne("gradientColorStopPositions"), h = ne("inset"), y = ne("margin"), C = ne("opacity"), g = ne("padding"), v = ne("saturate"), S = ne("scale"), I = ne("sepia"), x = ne("skew"), E = ne("space"), F = ne("translate"), T = () => ["auto", "contain", "none"], D = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", j, n], _ = () => [j, n], L = () => ["", Ge, ot], B = () => ["auto", Zt, j], q = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], M = () => ["solid", "dashed", "dotted", "double", "none"], O = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], V = () => ["", "0", j], Z = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], J = () => [Zt, j];
11958
+ ), Id = () => !1, Zb = (e) => jb.test(e), Jb = (e) => qb.test(e), Ys = () => {
11959
+ const e = ne("colors"), n = ne("spacing"), t = ne("blur"), r = ne("brightness"), o = ne("borderColor"), i = ne("borderRadius"), a = ne("borderSpacing"), s = ne("borderWidth"), l = ne("contrast"), c = ne("grayscale"), d = ne("hueRotate"), u = ne("invert"), f = ne("gap"), m = ne("gradientColorStops"), b = ne("gradientColorStopPositions"), h = ne("inset"), y = ne("margin"), C = ne("opacity"), g = ne("padding"), v = ne("saturate"), S = ne("scale"), I = ne("sepia"), x = ne("skew"), E = ne("space"), F = ne("translate"), T = () => ["auto", "contain", "none"], D = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", j, n], _ = () => [j, n], L = () => ["", Ge, ot], B = () => ["auto", Zt, j], z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], M = () => ["solid", "dashed", "dotted", "double", "none"], O = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], V = () => ["", "0", j], Z = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], J = () => [Zt, j];
11960
11960
  return {
11961
11961
  cacheSize: 500,
11962
11962
  separator: ":",
@@ -11975,7 +11975,7 @@ const ne = (e) => {
11975
11975
  invert: V(),
11976
11976
  gap: _(),
11977
11977
  gradientColorStops: [e],
11978
- gradientColorStopPositions: [qb, ot],
11978
+ gradientColorStopPositions: [zb, ot],
11979
11979
  inset: A(),
11980
11980
  margin: A(),
11981
11981
  opacity: J(),
@@ -12079,7 +12079,7 @@ const ne = (e) => {
12079
12079
  * @see https://tailwindcss.com/docs/object-position
12080
12080
  */
12081
12081
  "object-position": [{
12082
- object: [...q(), j]
12082
+ object: [...z(), j]
12083
12083
  }],
12084
12084
  /**
12085
12085
  * Overflow
@@ -12888,7 +12888,7 @@ const ne = (e) => {
12888
12888
  * @see https://tailwindcss.com/docs/background-position
12889
12889
  */
12890
12890
  "bg-position": [{
12891
- bg: [...q(), Gb]
12891
+ bg: [...z(), Gb]
12892
12892
  }],
12893
12893
  /**
12894
12894
  * Background Repeat
@@ -14044,11 +14044,11 @@ function Xo(e, n, t) {
14044
14044
  function iv(e, n = "Unknown error", t = {}) {
14045
14045
  return wd(e, n, t) || n;
14046
14046
  }
14047
- function z0(e, n, t = {}) {
14047
+ function q0(e, n, t = {}) {
14048
14048
  const r = iv(n, "", t);
14049
14049
  return r ? `${e}: ${r}` : e;
14050
14050
  }
14051
- function q0(e) {
14051
+ function z0(e) {
14052
14052
  return ut(e) && typeof e.status == "number" ? e.status : void 0;
14053
14053
  }
14054
14054
  function H0(e) {
@@ -14792,7 +14792,7 @@ var Bv = "DismissableLayer", Pi = "dismissableLayer.update", $v = "dismissableLa
14792
14792
  onInteractOutside: a,
14793
14793
  onDismiss: s,
14794
14794
  ...l
14795
- } = e, c = p.useContext(Ad), [d, u] = p.useState(null), f = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, m] = p.useState({}), b = X(n, (E) => u(E)), h = Array.from(c.layers), [y] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), C = h.indexOf(y), g = d ? h.indexOf(d) : -1, v = c.layersWithOutsidePointerEventsDisabled.size > 0, S = g >= C, I = qv((E) => {
14795
+ } = e, c = p.useContext(Ad), [d, u] = p.useState(null), f = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, m] = p.useState({}), b = X(n, (E) => u(E)), h = Array.from(c.layers), [y] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), C = h.indexOf(y), g = d ? h.indexOf(d) : -1, v = c.layersWithOutsidePointerEventsDisabled.size > 0, S = g >= C, I = zv((E) => {
14796
14796
  const F = E.target, T = [...c.branches].some((D) => D.contains(F));
14797
14797
  !S || T || (o == null || o(E), a == null || a(E), E.defaultPrevented || s == null || s());
14798
14798
  }, f), x = Hv((E) => {
@@ -14831,7 +14831,7 @@ var Bv = "DismissableLayer", Pi = "dismissableLayer.update", $v = "dismissableLa
14831
14831
  }
14832
14832
  );
14833
14833
  po.displayName = Bv;
14834
- var jv = "DismissableLayerBranch", zv = p.forwardRef((e, n) => {
14834
+ var jv = "DismissableLayerBranch", qv = p.forwardRef((e, n) => {
14835
14835
  const t = p.useContext(Ad), r = p.useRef(null), o = X(n, r);
14836
14836
  return p.useEffect(() => {
14837
14837
  const i = r.current;
@@ -14841,8 +14841,8 @@ var jv = "DismissableLayerBranch", zv = p.forwardRef((e, n) => {
14841
14841
  };
14842
14842
  }, [t.branches]), /* @__PURE__ */ w(H.div, { ...e, ref: o });
14843
14843
  });
14844
- zv.displayName = jv;
14845
- function qv(e, n = globalThis == null ? void 0 : globalThis.document) {
14844
+ qv.displayName = jv;
14845
+ function zv(e, n = globalThis == null ? void 0 : globalThis.document) {
14846
14846
  const t = me(e), r = p.useRef(!1), o = p.useRef(() => {
14847
14847
  });
14848
14848
  return p.useEffect(() => {
@@ -15044,7 +15044,7 @@ function $t(e) {
15044
15044
  t((r) => r ?? String(eC++));
15045
15045
  }, [e]), n ? `radix-${n}` : "";
15046
15046
  }
15047
- const tC = ["top", "right", "bottom", "left"], ft = Math.min, Se = Math.max, zr = Math.round, gr = Math.floor, $e = (e) => ({
15047
+ const tC = ["top", "right", "bottom", "left"], ft = Math.min, Se = Math.max, qr = Math.round, gr = Math.floor, $e = (e) => ({
15048
15048
  x: e,
15049
15049
  y: e
15050
15050
  }), nC = {
@@ -15082,10 +15082,10 @@ function rC(e, n, t) {
15082
15082
  t === void 0 && (t = !1);
15083
15083
  const r = fn(e), o = Sa(e), i = Ca(o);
15084
15084
  let a = o === "x" ? r === (t ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
15085
- return n.reference[i] > n.floating[i] && (a = qr(a)), [a, qr(a)];
15085
+ return n.reference[i] > n.floating[i] && (a = zr(a)), [a, zr(a)];
15086
15086
  }
15087
15087
  function oC(e) {
15088
- const n = qr(e);
15088
+ const n = zr(e);
15089
15089
  return [Mi(e), n, Mi(n)];
15090
15090
  }
15091
15091
  function Mi(e) {
@@ -15109,7 +15109,7 @@ function lC(e, n, t, r) {
15109
15109
  let i = sC(Ze(e), t === "start", r);
15110
15110
  return o && (i = i.map((a) => a + "-" + o), n && (i = i.concat(i.map(Mi)))), i;
15111
15111
  }
15112
- function qr(e) {
15112
+ function zr(e) {
15113
15113
  const n = Ze(e);
15114
15114
  return nC[n] + e.slice(n.length);
15115
15115
  }
@@ -15329,12 +15329,12 @@ const dC = 50, uC = async (e, n, t) => {
15329
15329
  }, m = Sa(o), b = Ca(m), h = await a.getDimensions(c), y = m === "y", C = y ? "top" : "left", g = y ? "bottom" : "right", v = y ? "clientHeight" : "clientWidth", S = i.reference[b] + i.reference[m] - f[m] - i.floating[b], I = f[m] - i.reference[m], x = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
15330
15330
  let E = x ? x[v] : 0;
15331
15331
  (!E || !await (a.isElement == null ? void 0 : a.isElement(x))) && (E = s.floating[v] || i.floating[b]);
15332
- const F = S / 2 - I / 2, T = E / 2 - h[b] / 2 - 1, D = ft(u[C], T), A = ft(u[g], T), _ = D, L = E - h[b] - A, B = E / 2 - h[b] / 2 + F, q = Oi(_, B, L), M = !l.arrow && fn(o) != null && B !== q && i.reference[b] / 2 - (B < _ ? D : A) - h[b] / 2 < 0, O = M ? B < _ ? B - _ : B - L : 0;
15332
+ const F = S / 2 - I / 2, T = E / 2 - h[b] / 2 - 1, D = ft(u[C], T), A = ft(u[g], T), _ = D, L = E - h[b] - A, B = E / 2 - h[b] / 2 + F, z = Oi(_, B, L), M = !l.arrow && fn(o) != null && B !== z && i.reference[b] / 2 - (B < _ ? D : A) - h[b] / 2 < 0, O = M ? B < _ ? B - _ : B - L : 0;
15333
15333
  return {
15334
15334
  [m]: f[m] + O,
15335
15335
  data: {
15336
- [m]: q,
15337
- centerOffset: B - q - O,
15336
+ [m]: z,
15337
+ centerOffset: B - z - O,
15338
15338
  ...M && {
15339
15339
  alignmentOffset: O
15340
15340
  }
@@ -15366,7 +15366,7 @@ const dC = 50, uC = async (e, n, t) => {
15366
15366
  } = Qe(e, n);
15367
15367
  if ((t = i.arrow) != null && t.alignmentOffset)
15368
15368
  return {};
15369
- const C = Ze(o), g = Be(s), v = Ze(s) === s, S = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), I = f || (v || !h ? [qr(s)] : oC(s)), x = b !== "none";
15369
+ const C = Ze(o), g = Be(s), v = Ze(s) === s, S = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), I = f || (v || !h ? [zr(s)] : oC(s)), x = b !== "none";
15370
15370
  !f && x && I.push(...lC(s, h, b, S));
15371
15371
  const E = [s, ...I], F = await l.detectOverflow(n, y), T = [];
15372
15372
  let D = ((r = i.flip) == null ? void 0 : r.overflows) || [];
@@ -15379,8 +15379,8 @@ const dC = 50, uC = async (e, n, t) => {
15379
15379
  overflows: T
15380
15380
  }], !T.every((B) => B <= 0)) {
15381
15381
  var A, _;
15382
- const B = (((A = i.flip) == null ? void 0 : A.index) || 0) + 1, q = E[B];
15383
- if (q && (!(u === "alignment" ? g !== Be(q) : !1) || // We leave the current main axis only if every placement on that axis
15382
+ const B = (((A = i.flip) == null ? void 0 : A.index) || 0) + 1, z = E[B];
15383
+ if (z && (!(u === "alignment" ? g !== Be(z) : !1) || // We leave the current main axis only if every placement on that axis
15384
15384
  // overflows the main axis.
15385
15385
  D.every((P) => Be(P.placement) === g ? P.overflows[0] > 0 : !0)))
15386
15386
  return {
@@ -15389,7 +15389,7 @@ const dC = 50, uC = async (e, n, t) => {
15389
15389
  overflows: D
15390
15390
  },
15391
15391
  reset: {
15392
- placement: q
15392
+ placement: z
15393
15393
  }
15394
15394
  };
15395
15395
  let M = (_ = D.filter((O) => O.overflows[0] <= 0).sort((O, P) => O.overflows[1] - P.overflows[1])[0]) == null ? void 0 : _.placement;
@@ -15677,7 +15677,7 @@ function we(e) {
15677
15677
  var n;
15678
15678
  return (e == null || (n = e.ownerDocument) == null ? void 0 : n.defaultView) || window;
15679
15679
  }
15680
- function ze(e) {
15680
+ function qe(e) {
15681
15681
  var n;
15682
15682
  return (n = (Nd(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : n.documentElement;
15683
15683
  }
@@ -15760,7 +15760,7 @@ function pt(e) {
15760
15760
  e.assignedSlot || // DOM Element detected.
15761
15761
  e.parentNode || // ShadowRoot detected.
15762
15762
  ul(e) && e.host || // Fallback.
15763
- ze(e)
15763
+ qe(e)
15764
15764
  );
15765
15765
  return ul(n) ? n.host : n;
15766
15766
  }
@@ -15784,7 +15784,7 @@ function ki(e) {
15784
15784
  function Ld(e) {
15785
15785
  const n = ke(e);
15786
15786
  let t = parseFloat(n.width) || 0, r = parseFloat(n.height) || 0;
15787
- const o = tt(e), i = o ? e.offsetWidth : t, a = o ? e.offsetHeight : r, s = zr(t) !== i || zr(r) !== a;
15787
+ const o = tt(e), i = o ? e.offsetWidth : t, a = o ? e.offsetHeight : r, s = qr(t) !== i || qr(r) !== a;
15788
15788
  return s && (t = i, r = a), {
15789
15789
  width: t,
15790
15790
  height: r,
@@ -15803,7 +15803,7 @@ function Jt(e) {
15803
15803
  height: o,
15804
15804
  $: i
15805
15805
  } = Ld(n);
15806
- let a = (i ? zr(t.width) : t.width) / r, s = (i ? zr(t.height) : t.height) / o;
15806
+ let a = (i ? qr(t.width) : t.width) / r, s = (i ? qr(t.height) : t.height) / o;
15807
15807
  return (!a || !Number.isFinite(a)) && (a = 1), (!s || !Number.isFinite(s)) && (s = 1), {
15808
15808
  x: a,
15809
15809
  y: s
@@ -15844,7 +15844,7 @@ function kt(e, n, t, r) {
15844
15844
  }
15845
15845
  function yo(e, n) {
15846
15846
  const t = go(e).scrollLeft;
15847
- return n ? n.left + t : kt(ze(e)).left + t;
15847
+ return n ? n.left + t : kt(qe(e)).left + t;
15848
15848
  }
15849
15849
  function $d(e, n) {
15850
15850
  const t = e.getBoundingClientRect(), r = t.left + n.scrollLeft - yo(e, t), o = t.top + n.scrollTop;
@@ -15860,7 +15860,7 @@ function TC(e) {
15860
15860
  offsetParent: r,
15861
15861
  strategy: o
15862
15862
  } = e;
15863
- const i = o === "fixed", a = ze(r), s = n ? mo(n.floating) : !1;
15863
+ const i = o === "fixed", a = qe(r), s = n ? mo(n.floating) : !1;
15864
15864
  if (r === a || s && i)
15865
15865
  return t;
15866
15866
  let l = {
@@ -15884,7 +15884,7 @@ function FC(e) {
15884
15884
  return Array.from(e.getClientRects());
15885
15885
  }
15886
15886
  function DC(e) {
15887
- const n = ze(e), t = go(e), r = e.ownerDocument.body, o = Se(n.scrollWidth, n.clientWidth, r.scrollWidth, r.clientWidth), i = Se(n.scrollHeight, n.clientHeight, r.scrollHeight, r.clientHeight);
15887
+ const n = qe(e), t = go(e), r = e.ownerDocument.body, o = Se(n.scrollWidth, n.clientWidth, r.scrollWidth, r.clientWidth), i = Se(n.scrollHeight, n.clientHeight, r.scrollHeight, r.clientHeight);
15888
15888
  let a = -t.scrollLeft + yo(e);
15889
15889
  const s = -t.scrollTop;
15890
15890
  return ke(r).direction === "rtl" && (a += Se(n.clientWidth, r.clientWidth) - o), {
@@ -15896,7 +15896,7 @@ function DC(e) {
15896
15896
  }
15897
15897
  const fl = 25;
15898
15898
  function AC(e, n) {
15899
- const t = we(e), r = ze(e), o = t.visualViewport;
15899
+ const t = we(e), r = qe(e), o = t.visualViewport;
15900
15900
  let i = r.clientWidth, a = r.clientHeight, s = 0, l = 0;
15901
15901
  if (o) {
15902
15902
  i = o.width, a = o.height;
@@ -15929,7 +15929,7 @@ function pl(e, n, t) {
15929
15929
  if (n === "viewport")
15930
15930
  r = AC(e, t);
15931
15931
  else if (n === "document")
15932
- r = DC(ze(e));
15932
+ r = DC(qe(e));
15933
15933
  else if (Me(n))
15934
15934
  r = RC(n, t);
15935
15935
  else {
@@ -15991,7 +15991,7 @@ function OC(e) {
15991
15991
  };
15992
15992
  }
15993
15993
  function MC(e, n, t) {
15994
- const r = tt(n), o = ze(n), i = t === "fixed", a = kt(e, !0, i, n);
15994
+ const r = tt(n), o = qe(n), i = t === "fixed", a = kt(e, !0, i, n);
15995
15995
  let s = {
15996
15996
  scrollLeft: 0,
15997
15997
  scrollTop: 0
@@ -16023,7 +16023,7 @@ function hl(e, n) {
16023
16023
  if (n)
16024
16024
  return n(e);
16025
16025
  let t = e.offsetParent;
16026
- return ze(e) === t && (t = t.ownerDocument.body), t;
16026
+ return qe(e) === t && (t = t.ownerDocument.body), t;
16027
16027
  }
16028
16028
  function jd(e, n) {
16029
16029
  const t = we(e);
@@ -16060,7 +16060,7 @@ function NC(e) {
16060
16060
  }
16061
16061
  const VC = {
16062
16062
  convertOffsetParentRelativeRectToViewportRelativeRect: TC,
16063
- getDocumentElement: ze,
16063
+ getDocumentElement: qe,
16064
16064
  getClippingRect: PC,
16065
16065
  getOffsetParent: jd,
16066
16066
  getElementRects: kC,
@@ -16070,12 +16070,12 @@ const VC = {
16070
16070
  isElement: Me,
16071
16071
  isRTL: NC
16072
16072
  };
16073
- function zd(e, n) {
16073
+ function qd(e, n) {
16074
16074
  return e.x === n.x && e.y === n.y && e.width === n.width && e.height === n.height;
16075
16075
  }
16076
16076
  function LC(e, n) {
16077
16077
  let t = null, r;
16078
- const o = ze(e);
16078
+ const o = qe(e);
16079
16079
  function i() {
16080
16080
  var s;
16081
16081
  clearTimeout(r), (s = t) == null || s.disconnect(), t = null;
@@ -16104,7 +16104,7 @@ function LC(e, n) {
16104
16104
  a(!1, 1e-7);
16105
16105
  }, 1e3);
16106
16106
  }
16107
- E === 1 && !zd(c, e.getBoundingClientRect()) && a(), S = !1;
16107
+ E === 1 && !qd(c, e.getBoundingClientRect()) && a(), S = !1;
16108
16108
  }
16109
16109
  try {
16110
16110
  t = new IntersectionObserver(I, {
@@ -16146,7 +16146,7 @@ function BC(e, n, t, r) {
16146
16146
  l && y();
16147
16147
  function y() {
16148
16148
  const C = kt(e);
16149
- h && !zd(h, C) && t(), h = C, b = requestAnimationFrame(y);
16149
+ h && !qd(h, C) && t(), h = C, b = requestAnimationFrame(y);
16150
16150
  }
16151
16151
  return t(), () => {
16152
16152
  var C;
@@ -16155,7 +16155,7 @@ function BC(e, n, t, r) {
16155
16155
  }), u == null || u(), (C = m) == null || C.disconnect(), m = null, l && cancelAnimationFrame(b);
16156
16156
  };
16157
16157
  }
16158
- const pF = Md, $C = gC, UC = yC, jC = pC, zC = vC, qC = hC, ml = fC, HC = bC, WC = (e, n, t) => {
16158
+ const pF = Md, $C = gC, UC = yC, jC = pC, qC = vC, zC = hC, ml = fC, HC = bC, WC = (e, n, t) => {
16159
16159
  const r = /* @__PURE__ */ new Map(), o = {
16160
16160
  platform: VC,
16161
16161
  ...t
@@ -16200,11 +16200,11 @@ function Wr(e, n) {
16200
16200
  }
16201
16201
  return e !== e && n !== n;
16202
16202
  }
16203
- function qd(e) {
16203
+ function zd(e) {
16204
16204
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
16205
16205
  }
16206
16206
  function gl(e, n) {
16207
- const t = qd(e);
16207
+ const t = zd(e);
16208
16208
  return Math.round(n * t) / t;
16209
16209
  }
16210
16210
  function ni(e) {
@@ -16278,7 +16278,7 @@ function KC(e) {
16278
16278
  L();
16279
16279
  }
16280
16280
  }, [S, I, L, D, T]);
16281
- const q = p.useMemo(() => ({
16281
+ const z = p.useMemo(() => ({
16282
16282
  reference: x,
16283
16283
  floating: E,
16284
16284
  setReference: g,
@@ -16298,7 +16298,7 @@ function KC(e) {
16298
16298
  return s ? {
16299
16299
  ...P,
16300
16300
  transform: "translate(" + V + "px, " + Z + "px)",
16301
- ...qd(M.floating) >= 1.5 && {
16301
+ ...zd(M.floating) >= 1.5 && {
16302
16302
  willChange: "transform"
16303
16303
  }
16304
16304
  } : {
@@ -16310,10 +16310,10 @@ function KC(e) {
16310
16310
  return p.useMemo(() => ({
16311
16311
  ...d,
16312
16312
  update: L,
16313
- refs: q,
16313
+ refs: z,
16314
16314
  elements: M,
16315
16315
  floatingStyles: O
16316
- }), [d, L, q, M, O]);
16316
+ }), [d, L, z, M, O]);
16317
16317
  }
16318
16318
  const XC = (e) => {
16319
16319
  function n(t) {
@@ -16361,14 +16361,14 @@ const XC = (e) => {
16361
16361
  options: [e, n]
16362
16362
  };
16363
16363
  }, tS = (e, n) => {
16364
- const t = zC(e);
16364
+ const t = qC(e);
16365
16365
  return {
16366
16366
  name: t.name,
16367
16367
  fn: t.fn,
16368
16368
  options: [e, n]
16369
16369
  };
16370
16370
  }, nS = (e, n) => {
16371
- const t = qC(e);
16371
+ const t = zC(e);
16372
16372
  return {
16373
16373
  name: t.name,
16374
16374
  fn: t.fn,
@@ -16459,7 +16459,7 @@ var Ta = "PopperContent", [sS, lS] = Gd(Ta), Zd = p.forwardRef(
16459
16459
  boundary: A.filter(dS),
16460
16460
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
16461
16461
  altBoundary: _
16462
- }, { refs: B, floatingStyles: q, placement: M, isPositioned: O, middlewareData: P } = KC({
16462
+ }, { refs: B, floatingStyles: z, placement: M, isPositioned: O, middlewareData: P } = KC({
16463
16463
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
16464
16464
  strategy: "fixed",
16465
16465
  placement: T,
@@ -16480,8 +16480,8 @@ var Ta = "PopperContent", [sS, lS] = Gd(Ta), Zd = p.forwardRef(
16480
16480
  l && eS({ ...L }),
16481
16481
  tS({
16482
16482
  ...L,
16483
- apply: ({ elements: R, rects: z, availableWidth: $, availableHeight: U }) => {
16484
- const { width: ee, height: ce } = z.reference, ye = R.floating.style;
16483
+ apply: ({ elements: R, rects: q, availableWidth: $, availableHeight: U }) => {
16484
+ const { width: ee, height: ce } = q.reference, ye = R.floating.style;
16485
16485
  ye.setProperty("--radix-popper-available-width", `${$}px`), ye.setProperty("--radix-popper-available-height", `${U}px`), ye.setProperty("--radix-popper-anchor-width", `${ee}px`), ye.setProperty("--radix-popper-anchor-height", `${ce}px`);
16486
16486
  }
16487
16487
  }),
@@ -16502,8 +16502,8 @@ var Ta = "PopperContent", [sS, lS] = Gd(Ta), Zd = p.forwardRef(
16502
16502
  ref: B.setFloating,
16503
16503
  "data-radix-popper-content-wrapper": "",
16504
16504
  style: {
16505
- ...q,
16506
- transform: O ? q.transform : "translate(0, -200%)",
16505
+ ...z,
16506
+ transform: O ? z.transform : "translate(0, -200%)",
16507
16507
  // keep off the page when measuring
16508
16508
  minWidth: "max-content",
16509
16509
  zIndex: le,
@@ -16630,11 +16630,11 @@ vo.displayName = fS;
16630
16630
  function pS(e, n) {
16631
16631
  return p.useReducer((t, r) => n[t][r] ?? t, e);
16632
16632
  }
16633
- var qe = (e) => {
16633
+ var ze = (e) => {
16634
16634
  const { present: n, children: t } = e, r = hS(n), o = typeof t == "function" ? t({ present: r.isPresent }) : p.Children.only(t), i = X(r.ref, mS(o));
16635
16635
  return typeof t == "function" || r.isPresent ? p.cloneElement(o, { ref: i }) : null;
16636
16636
  };
16637
- qe.displayName = "Presence";
16637
+ ze.displayName = "Presence";
16638
16638
  function hS(e) {
16639
16639
  const [n, t] = p.useState(), r = p.useRef(null), o = p.useRef(e), i = p.useRef("none"), a = e ? "mounted" : "unmounted", [s, l] = pS(a, {
16640
16640
  mounted: {
@@ -16758,10 +16758,10 @@ var SS = p.forwardRef((e, n) => {
16758
16758
  if (F.target === F.currentTarget && T && !C) {
16759
16759
  const D = new CustomEvent(ri, gS);
16760
16760
  if (F.currentTarget.dispatchEvent(D), !D.defaultPrevented) {
16761
- const A = S().filter((M) => M.focusable), _ = A.find((M) => M.active), L = A.find((M) => M.id === h), q = [_, L, ...A].filter(
16761
+ const A = S().filter((M) => M.focusable), _ = A.find((M) => M.active), L = A.find((M) => M.id === h), z = [_, L, ...A].filter(
16762
16762
  Boolean
16763
16763
  ).map((M) => M.ref.current);
16764
- su(q, d);
16764
+ su(z, d);
16765
16765
  }
16766
16766
  }
16767
16767
  I.current = !1;
@@ -16861,7 +16861,7 @@ var TS = ou, FS = au, DS = function(e) {
16861
16861
  return null;
16862
16862
  var n = Array.isArray(e) ? e[0] : e;
16863
16863
  return n.ownerDocument.body;
16864
- }, zt = /* @__PURE__ */ new WeakMap(), br = /* @__PURE__ */ new WeakMap(), vr = {}, oi = 0, lu = function(e) {
16864
+ }, qt = /* @__PURE__ */ new WeakMap(), br = /* @__PURE__ */ new WeakMap(), vr = {}, oi = 0, lu = function(e) {
16865
16865
  return e && (e.host || lu(e.parentNode));
16866
16866
  }, AS = function(e, n) {
16867
16867
  return n.map(function(t) {
@@ -16885,8 +16885,8 @@ var TS = ou, FS = au, DS = function(e) {
16885
16885
  d(f);
16886
16886
  else
16887
16887
  try {
16888
- var m = f.getAttribute(r), b = m !== null && m !== "false", h = (zt.get(f) || 0) + 1, y = (i.get(f) || 0) + 1;
16889
- zt.set(f, h), i.set(f, y), a.push(f), h === 1 && b && br.set(f, !0), y === 1 && f.setAttribute(t, "true"), b || f.setAttribute(r, "true");
16888
+ var m = f.getAttribute(r), b = m !== null && m !== "false", h = (qt.get(f) || 0) + 1, y = (i.get(f) || 0) + 1;
16889
+ qt.set(f, h), i.set(f, y), a.push(f), h === 1 && b && br.set(f, !0), y === 1 && f.setAttribute(t, "true"), b || f.setAttribute(r, "true");
16890
16890
  } catch (C) {
16891
16891
  console.error("aria-hidden: cannot operate on ", f, C);
16892
16892
  }
@@ -16894,9 +16894,9 @@ var TS = ou, FS = au, DS = function(e) {
16894
16894
  };
16895
16895
  return d(n), s.clear(), oi++, function() {
16896
16896
  a.forEach(function(u) {
16897
- var f = zt.get(u) - 1, m = i.get(u) - 1;
16898
- zt.set(u, f), i.set(u, m), f || (br.has(u) || u.removeAttribute(r), br.delete(u)), m || u.removeAttribute(t);
16899
- }), oi--, oi || (zt = /* @__PURE__ */ new WeakMap(), zt = /* @__PURE__ */ new WeakMap(), br = /* @__PURE__ */ new WeakMap(), vr = {});
16897
+ var f = qt.get(u) - 1, m = i.get(u) - 1;
16898
+ qt.set(u, f), i.set(u, m), f || (br.has(u) || u.removeAttribute(r), br.delete(u)), m || u.removeAttribute(t);
16899
+ }), oi--, oi || (qt = /* @__PURE__ */ new WeakMap(), qt = /* @__PURE__ */ new WeakMap(), br = /* @__PURE__ */ new WeakMap(), vr = {});
16900
16900
  };
16901
16901
  }, cu = function(e, n, t) {
16902
16902
  t === void 0 && (t = "data-aria-hidden");
@@ -17082,10 +17082,10 @@ function jS() {
17082
17082
  var n = US();
17083
17083
  return n && e.setAttribute("nonce", n), e;
17084
17084
  }
17085
- function zS(e, n) {
17085
+ function qS(e, n) {
17086
17086
  e.styleSheet ? e.styleSheet.cssText = n : e.appendChild(document.createTextNode(n));
17087
17087
  }
17088
- function qS(e) {
17088
+ function zS(e) {
17089
17089
  var n = document.head || document.getElementsByTagName("head")[0];
17090
17090
  n.appendChild(e);
17091
17091
  }
@@ -17093,7 +17093,7 @@ var HS = function() {
17093
17093
  var e = 0, n = null;
17094
17094
  return {
17095
17095
  add: function(t) {
17096
- e == 0 && (n = jS()) && (zS(n, t), qS(n)), e++;
17096
+ e == 0 && (n = jS()) && (qS(n, t), zS(n)), e++;
17097
17097
  },
17098
17098
  remove: function() {
17099
17099
  e--, !e && n && (n.parentNode && n.parentNode.removeChild(n), n = null);
@@ -17207,7 +17207,7 @@ if (typeof window < "u")
17207
17207
  } catch {
17208
17208
  Vi = !1;
17209
17209
  }
17210
- var qt = Vi ? { passive: !1 } : !1, eI = function(e) {
17210
+ var zt = Vi ? { passive: !1 } : !1, eI = function(e) {
17211
17211
  return e.tagName === "TEXTAREA";
17212
17212
  }, hu = function(e, n) {
17213
17213
  if (!(e instanceof Element))
@@ -17355,10 +17355,10 @@ function dI(e) {
17355
17355
  onScrollCapture: u,
17356
17356
  onWheelCapture: u,
17357
17357
  onTouchMoveCapture: f
17358
- }), document.addEventListener("wheel", l, qt), document.addEventListener("touchmove", l, qt), document.addEventListener("touchstart", d, qt), function() {
17358
+ }), document.addEventListener("wheel", l, zt), document.addEventListener("touchmove", l, zt), document.addEventListener("touchstart", d, zt), function() {
17359
17359
  Ht = Ht.filter(function(h) {
17360
17360
  return h !== i;
17361
- }), document.removeEventListener("wheel", l, qt), document.removeEventListener("touchmove", l, qt), document.removeEventListener("touchstart", d, qt);
17361
+ }), document.removeEventListener("wheel", l, zt), document.removeEventListener("touchmove", l, zt), document.removeEventListener("touchstart", d, zt);
17362
17362
  };
17363
17363
  }, []);
17364
17364
  var m = e.removeScrollBar, b = e.inert;
@@ -17503,13 +17503,13 @@ var _a = "PopoverPortal", [CI, SI] = yu(_a, {
17503
17503
  forceMount: void 0
17504
17504
  }), wu = (e) => {
17505
17505
  const { __scopePopover: n, forceMount: t, children: r, container: o } = e, i = gt(_a, n);
17506
- return /* @__PURE__ */ w(CI, { scope: n, forceMount: t, children: /* @__PURE__ */ w(qe, { present: t || i.open, children: /* @__PURE__ */ w(vo, { asChild: !0, container: o, children: r }) }) });
17506
+ return /* @__PURE__ */ w(CI, { scope: n, forceMount: t, children: /* @__PURE__ */ w(ze, { present: t || i.open, children: /* @__PURE__ */ w(vo, { asChild: !0, container: o, children: r }) }) });
17507
17507
  };
17508
17508
  wu.displayName = _a;
17509
17509
  var rn = "PopoverContent", xu = p.forwardRef(
17510
17510
  (e, n) => {
17511
17511
  const t = SI(rn, e.__scopePopover), { forceMount: r = t.forceMount, ...o } = e, i = gt(rn, e.__scopePopover);
17512
- return /* @__PURE__ */ w(qe, { present: r || i.open, children: i.modal ? /* @__PURE__ */ w(wI, { ...o, ref: n }) : /* @__PURE__ */ w(xI, { ...o, ref: n }) });
17512
+ return /* @__PURE__ */ w(ze, { present: r || i.open, children: i.modal ? /* @__PURE__ */ w(wI, { ...o, ref: n }) : /* @__PURE__ */ w(xI, { ...o, ref: n }) });
17513
17513
  }
17514
17514
  );
17515
17515
  xu.displayName = rn;
@@ -17859,7 +17859,7 @@ var Lu = "TabsContent", Bu = p.forwardRef(
17859
17859
  return p.useEffect(() => {
17860
17860
  const f = requestAnimationFrame(() => u.current = !1);
17861
17861
  return () => cancelAnimationFrame(f);
17862
- }, []), /* @__PURE__ */ w(qe, { present: o || d, children: ({ present: f }) => /* @__PURE__ */ w(
17862
+ }, []), /* @__PURE__ */ w(ze, { present: o || d, children: ({ present: f }) => /* @__PURE__ */ w(
17863
17863
  H.div,
17864
17864
  {
17865
17865
  "data-state": d ? "active" : "inactive",
@@ -17887,7 +17887,7 @@ function $u(e, n) {
17887
17887
  function Uu(e, n) {
17888
17888
  return `${e}-content-${n}`;
17889
17889
  }
17890
- var UI = Ou, ju = ku, zu = Vu, qu = Bu;
17890
+ var UI = Ou, ju = ku, qu = Vu, zu = Bu;
17891
17891
  const bF = UI, jI = mt("text-muted-foreground", {
17892
17892
  variants: {
17893
17893
  variant: {
@@ -17915,7 +17915,7 @@ const bF = UI, jI = mt("text-muted-foreground", {
17915
17915
  variant: "segmented",
17916
17916
  size: "default"
17917
17917
  }
17918
- }), zI = mt(
17918
+ }), qI = mt(
17919
17919
  "inline-flex items-center justify-center whitespace-nowrap font-medium ring-offset-background transition-all focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50",
17920
17920
  {
17921
17921
  variants: {
@@ -17947,7 +17947,7 @@ const bF = UI, jI = mt("text-muted-foreground", {
17947
17947
  size: "default"
17948
17948
  }
17949
17949
  }
17950
- ), Hu = p.createContext({ variant: "segmented", size: "default" }), qI = p.forwardRef(({ className: e, variant: n, size: t, ...r }, o) => {
17950
+ ), Hu = p.createContext({ variant: "segmented", size: "default" }), zI = p.forwardRef(({ className: e, variant: n, size: t, ...r }, o) => {
17951
17951
  const i = n ?? "segmented", a = t ?? "default";
17952
17952
  return /* @__PURE__ */ w(
17953
17953
  Hu.Provider,
@@ -17970,15 +17970,15 @@ const bF = UI, jI = mt("text-muted-foreground", {
17970
17970
  }
17971
17971
  );
17972
17972
  });
17973
- qI.displayName = ju.displayName;
17973
+ zI.displayName = ju.displayName;
17974
17974
  const HI = p.forwardRef(({ className: e, variant: n, size: t, ...r }, o) => {
17975
17975
  const i = p.useContext(Hu);
17976
17976
  return /* @__PURE__ */ w(
17977
- zu,
17977
+ qu,
17978
17978
  {
17979
17979
  ref: o,
17980
17980
  className: re(
17981
- zI({
17981
+ qI({
17982
17982
  variant: n ?? i.variant,
17983
17983
  size: t ?? i.size
17984
17984
  }),
@@ -17988,7 +17988,7 @@ const HI = p.forwardRef(({ className: e, variant: n, size: t, ...r }, o) => {
17988
17988
  }
17989
17989
  );
17990
17990
  });
17991
- HI.displayName = zu.displayName;
17991
+ HI.displayName = qu.displayName;
17992
17992
  const WI = p.forwardRef(({ className: e, ...n }, t) => (
17993
17993
  // Radix sets `tabindex="0"` on content panels so keyboard users can
17994
17994
  // reach them. The default shadcn styling paints a 2px ring around the
@@ -17996,7 +17996,7 @@ const WI = p.forwardRef(({ className: e, ...n }, t) => (
17996
17996
  // rendered inside the panel. Inner controls have their own focus
17997
17997
  // indicators, so we suppress the panel-level halo entirely.
17998
17998
  /* @__PURE__ */ w(
17999
- qu,
17999
+ zu,
18000
18000
  {
18001
18001
  ref: t,
18002
18002
  className: re(
@@ -18007,7 +18007,7 @@ const WI = p.forwardRef(({ className: e, ...n }, t) => (
18007
18007
  }
18008
18008
  )
18009
18009
  ));
18010
- WI.displayName = qu.displayName;
18010
+ WI.displayName = zu.displayName;
18011
18011
  function Wu(e) {
18012
18012
  const n = p.useRef({ value: e, previous: e });
18013
18013
  return p.useMemo(() => (n.current.value !== e && (n.current.previous = n.current.value, n.current.value = e), n.current.previous), [e]);
@@ -18111,7 +18111,7 @@ var ew = Yu, tw = [" ", "Enter", "ArrowUp", "ArrowDown"], nw = [" ", "Enter"], N
18111
18111
  defaultProp: s,
18112
18112
  onChange: l,
18113
18113
  caller: Nt
18114
- }), A = p.useRef(null), _ = y ? b || !!y.closest("form") : !0, [L, B] = p.useState(/* @__PURE__ */ new Set()), q = Array.from(L).map((M) => M.props.value).join(";");
18114
+ }), A = p.useRef(null), _ = y ? b || !!y.closest("form") : !0, [L, B] = p.useState(/* @__PURE__ */ new Set()), z = Array.from(L).map((M) => M.props.value).join(";");
18115
18115
  return /* @__PURE__ */ w(Fa, { ...h, children: /* @__PURE__ */ be(
18116
18116
  ow,
18117
18117
  {
@@ -18165,7 +18165,7 @@ var ew = Yu, tw = [" ", "Enter", "ArrowUp", "ArrowDown"], nw = [" ", "Enter"], N
18165
18165
  Array.from(L)
18166
18166
  ]
18167
18167
  },
18168
- q
18168
+ z
18169
18169
  ) : null
18170
18170
  ]
18171
18171
  }
@@ -18282,7 +18282,7 @@ var _e = 10, [rf, bt] = mn(Vt), cw = "SelectContentImpl", dw = /* @__PURE__ */ G
18282
18282
  ...C
18283
18283
  } = e, g = yt(Vt, t), [v, S] = p.useState(null), [I, x] = p.useState(null), E = X(n, (k) => S(k)), [F, T] = p.useState(null), [D, A] = p.useState(
18284
18284
  null
18285
- ), _ = Eo(t), [L, B] = p.useState(!1), q = p.useRef(!1);
18285
+ ), _ = Eo(t), [L, B] = p.useState(!1), z = p.useRef(!1);
18286
18286
  p.useEffect(() => {
18287
18287
  if (v) return cu(v);
18288
18288
  }, [v]), _d();
@@ -18328,13 +18328,13 @@ var _e = 10, [rf, bt] = mn(Vt), cw = "SelectContentImpl", dw = /* @__PURE__ */ G
18328
18328
  Y && setTimeout(() => Y.ref.current.focus());
18329
18329
  }), ie = p.useCallback(
18330
18330
  (k, W, oe) => {
18331
- const Y = !q.current && !oe;
18332
- (g.value !== void 0 && g.value === W || Y) && (T(k), Y && (q.current = !0));
18331
+ const Y = !z.current && !oe;
18332
+ (g.value !== void 0 && g.value === W || Y) && (T(k), Y && (z.current = !0));
18333
18333
  },
18334
18334
  [g.value]
18335
18335
  ), Re = p.useCallback(() => v == null ? void 0 : v.focus(), [v]), te = p.useCallback(
18336
18336
  (k, W, oe) => {
18337
- const Y = !q.current && !oe;
18337
+ const Y = !z.current && !oe;
18338
18338
  (g.value !== void 0 && g.value === W || Y) && A(k);
18339
18339
  },
18340
18340
  [g.value]
@@ -18434,7 +18434,7 @@ var uw = "SelectItemAlignedPosition", af = p.forwardRef((e, n) => {
18434
18434
  if (i.trigger && i.valueNode && s && c && h && y && C) {
18435
18435
  const E = i.trigger.getBoundingClientRect(), F = c.getBoundingClientRect(), T = i.valueNode.getBoundingClientRect(), D = C.getBoundingClientRect();
18436
18436
  if (i.dir !== "rtl") {
18437
- const G = D.left - F.left, K = T.left - G, R = E.left - K, z = E.width + R, $ = Math.max(z, F.width), U = window.innerWidth - _e, ee = Li(K, [
18437
+ const G = D.left - F.left, K = T.left - G, R = E.left - K, q = E.width + R, $ = Math.max(q, F.width), U = window.innerWidth - _e, ee = Li(K, [
18438
18438
  _e,
18439
18439
  // Prevents the content from going off the starting edge of the
18440
18440
  // viewport. It may still go off the ending edge, but this can be
@@ -18443,15 +18443,15 @@ var uw = "SelectItemAlignedPosition", af = p.forwardRef((e, n) => {
18443
18443
  // https://github.com/radix-ui/primitives/issues/2049
18444
18444
  Math.max(_e, U - $)
18445
18445
  ]);
18446
- s.style.minWidth = z + "px", s.style.left = ee + "px";
18446
+ s.style.minWidth = q + "px", s.style.left = ee + "px";
18447
18447
  } else {
18448
- const G = F.right - D.right, K = window.innerWidth - T.right - G, R = window.innerWidth - E.right - K, z = E.width + R, $ = Math.max(z, F.width), U = window.innerWidth - _e, ee = Li(K, [
18448
+ const G = F.right - D.right, K = window.innerWidth - T.right - G, R = window.innerWidth - E.right - K, q = E.width + R, $ = Math.max(q, F.width), U = window.innerWidth - _e, ee = Li(K, [
18449
18449
  _e,
18450
18450
  Math.max(_e, U - $)
18451
18451
  ]);
18452
- s.style.minWidth = z + "px", s.style.right = ee + "px";
18452
+ s.style.minWidth = q + "px", s.style.right = ee + "px";
18453
18453
  }
18454
- const A = f(), _ = window.innerHeight - _e * 2, L = h.scrollHeight, B = window.getComputedStyle(c), q = parseInt(B.borderTopWidth, 10), M = parseInt(B.paddingTop, 10), O = parseInt(B.borderBottomWidth, 10), P = parseInt(B.paddingBottom, 10), V = q + M + L + P + O, Z = Math.min(y.offsetHeight * 5, V), J = window.getComputedStyle(h), ie = parseInt(J.paddingTop, 10), Re = parseInt(J.paddingBottom, 10), te = E.top + E.height / 2 - _e, le = _ - te, pe = y.offsetHeight / 2, k = y.offsetTop + pe, W = q + M + k, oe = V - W;
18454
+ const A = f(), _ = window.innerHeight - _e * 2, L = h.scrollHeight, B = window.getComputedStyle(c), z = parseInt(B.borderTopWidth, 10), M = parseInt(B.paddingTop, 10), O = parseInt(B.borderBottomWidth, 10), P = parseInt(B.paddingBottom, 10), V = z + M + L + P + O, Z = Math.min(y.offsetHeight * 5, V), J = window.getComputedStyle(h), ie = parseInt(J.paddingTop, 10), Re = parseInt(J.paddingBottom, 10), te = E.top + E.height / 2 - _e, le = _ - te, pe = y.offsetHeight / 2, k = y.offsetTop + pe, W = z + M + k, oe = V - W;
18455
18455
  if (W <= te) {
18456
18456
  const G = A.length > 0 && y === A[A.length - 1].ref.current;
18457
18457
  s.style.bottom = "0px";
@@ -18459,14 +18459,14 @@ var uw = "SelectItemAlignedPosition", af = p.forwardRef((e, n) => {
18459
18459
  le,
18460
18460
  pe + // viewport might have padding bottom, include it to avoid a scrollable viewport
18461
18461
  (G ? Re : 0) + K + O
18462
- ), z = W + R;
18463
- s.style.height = z + "px";
18462
+ ), q = W + R;
18463
+ s.style.height = q + "px";
18464
18464
  } else {
18465
18465
  const G = A.length > 0 && y === A[0].ref.current;
18466
18466
  s.style.top = "0px";
18467
18467
  const R = Math.max(
18468
18468
  te,
18469
- q + h.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
18469
+ z + h.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
18470
18470
  (G ? ie : 0) + pe
18471
18471
  ) + oe;
18472
18472
  s.style.height = R + "px", h.scrollTop = W - te + h.offsetTop;
@@ -18824,13 +18824,13 @@ var vf = p.forwardRef((e, n) => {
18824
18824
  }
18825
18825
  );
18826
18826
  Cf.displayName = yw;
18827
- var zi = "SelectArrow", bw = p.forwardRef(
18827
+ var qi = "SelectArrow", bw = p.forwardRef(
18828
18828
  (e, n) => {
18829
- const { __scopeSelect: t, ...r } = e, o = To(t), i = yt(zi, t), a = bt(zi, t);
18829
+ const { __scopeSelect: t, ...r } = e, o = To(t), i = yt(qi, t), a = bt(qi, t);
18830
18830
  return i.open && a.position === "popper" ? /* @__PURE__ */ w(Aa, { ...o, ...r, ref: n }) : null;
18831
18831
  }
18832
18832
  );
18833
- bw.displayName = zi;
18833
+ bw.displayName = qi;
18834
18834
  var vw = "SelectBubbleInput", Sf = p.forwardRef(
18835
18835
  ({ __scopeSelect: e, value: n, ...t }, r) => {
18836
18836
  const o = p.useRef(null), i = X(r, o), a = Wu(n);
@@ -19187,11 +19187,11 @@ var He = "ScrollAreaScrollbar", ka = p.forwardRef(
19187
19187
  const { forceMount: t, ...r } = e, o = Ae(He, e.__scopeScrollArea), { onScrollbarXEnabledChange: i, onScrollbarYEnabledChange: a } = o, s = e.orientation === "horizontal";
19188
19188
  return p.useEffect(() => (s ? i(!0) : a(!0), () => {
19189
19189
  s ? i(!1) : a(!1);
19190
- }), [s, i, a]), o.type === "hover" ? /* @__PURE__ */ w(zw, { ...r, ref: n, forceMount: t }) : o.type === "scroll" ? /* @__PURE__ */ w(qw, { ...r, ref: n, forceMount: t }) : o.type === "auto" ? /* @__PURE__ */ w($f, { ...r, ref: n, forceMount: t }) : o.type === "always" ? /* @__PURE__ */ w(Na, { ...r, ref: n }) : null;
19190
+ }), [s, i, a]), o.type === "hover" ? /* @__PURE__ */ w(qw, { ...r, ref: n, forceMount: t }) : o.type === "scroll" ? /* @__PURE__ */ w(zw, { ...r, ref: n, forceMount: t }) : o.type === "auto" ? /* @__PURE__ */ w($f, { ...r, ref: n, forceMount: t }) : o.type === "always" ? /* @__PURE__ */ w(Na, { ...r, ref: n }) : null;
19191
19191
  }
19192
19192
  );
19193
19193
  ka.displayName = He;
19194
- var zw = p.forwardRef((e, n) => {
19194
+ var qw = p.forwardRef((e, n) => {
19195
19195
  const { forceMount: t, ...r } = e, o = Ae(He, e.__scopeScrollArea), [i, a] = p.useState(!1);
19196
19196
  return p.useEffect(() => {
19197
19197
  const s = o.scrollArea;
@@ -19206,7 +19206,7 @@ var zw = p.forwardRef((e, n) => {
19206
19206
  window.clearTimeout(l), s.removeEventListener("pointerenter", c), s.removeEventListener("pointerleave", d);
19207
19207
  };
19208
19208
  }
19209
- }, [o.scrollArea, o.scrollHideDelay]), /* @__PURE__ */ w(qe, { present: t || i, children: /* @__PURE__ */ w(
19209
+ }, [o.scrollArea, o.scrollHideDelay]), /* @__PURE__ */ w(ze, { present: t || i, children: /* @__PURE__ */ w(
19210
19210
  $f,
19211
19211
  {
19212
19212
  "data-state": i ? "visible" : "hidden",
@@ -19214,7 +19214,7 @@ var zw = p.forwardRef((e, n) => {
19214
19214
  ref: n
19215
19215
  }
19216
19216
  ) });
19217
- }), qw = p.forwardRef((e, n) => {
19217
+ }), zw = p.forwardRef((e, n) => {
19218
19218
  const { forceMount: t, ...r } = e, o = Ae(He, e.__scopeScrollArea), i = e.orientation === "horizontal", a = Do(() => l("SCROLL_END"), 100), [s, l] = Uw("hidden", {
19219
19219
  hidden: {
19220
19220
  SCROLL: "scrolling"
@@ -19248,7 +19248,7 @@ var zw = p.forwardRef((e, n) => {
19248
19248
  };
19249
19249
  return c.addEventListener("scroll", f), () => c.removeEventListener("scroll", f);
19250
19250
  }
19251
- }, [o.viewport, i, l, a]), /* @__PURE__ */ w(qe, { present: t || s !== "hidden", children: /* @__PURE__ */ w(
19251
+ }, [o.viewport, i, l, a]), /* @__PURE__ */ w(ze, { present: t || s !== "hidden", children: /* @__PURE__ */ w(
19252
19252
  Na,
19253
19253
  {
19254
19254
  "data-state": s === "hidden" ? "hidden" : "visible",
@@ -19265,7 +19265,7 @@ var zw = p.forwardRef((e, n) => {
19265
19265
  a(s ? c : d);
19266
19266
  }
19267
19267
  }, 10);
19268
- return on(t.viewport, l), on(t.content, l), /* @__PURE__ */ w(qe, { present: r || i, children: /* @__PURE__ */ w(
19268
+ return on(t.viewport, l), on(t.content, l), /* @__PURE__ */ w(ze, { present: r || i, children: /* @__PURE__ */ w(
19269
19269
  Na,
19270
19270
  {
19271
19271
  "data-state": i ? "visible" : "hidden",
@@ -19460,10 +19460,10 @@ var zw = p.forwardRef((e, n) => {
19460
19460
  )
19461
19461
  }
19462
19462
  );
19463
- }), Yr = "ScrollAreaThumb", zf = p.forwardRef(
19463
+ }), Yr = "ScrollAreaThumb", qf = p.forwardRef(
19464
19464
  (e, n) => {
19465
19465
  const { forceMount: t, ...r } = e, o = Uf(Yr, e.__scopeScrollArea);
19466
- return /* @__PURE__ */ w(qe, { present: t || o.hasThumb, children: /* @__PURE__ */ w(Yw, { ref: n, ...r }) });
19466
+ return /* @__PURE__ */ w(ze, { present: t || o.hasThumb, children: /* @__PURE__ */ w(Yw, { ref: n, ...r }) });
19467
19467
  }
19468
19468
  ), Yw = p.forwardRef(
19469
19469
  (e, n) => {
@@ -19504,14 +19504,14 @@ var zw = p.forwardRef((e, n) => {
19504
19504
  );
19505
19505
  }
19506
19506
  );
19507
- zf.displayName = Yr;
19508
- var Va = "ScrollAreaCorner", qf = p.forwardRef(
19507
+ qf.displayName = Yr;
19508
+ var Va = "ScrollAreaCorner", zf = p.forwardRef(
19509
19509
  (e, n) => {
19510
19510
  const t = Ae(Va, e.__scopeScrollArea), r = !!(t.scrollbarX && t.scrollbarY);
19511
19511
  return t.type !== "scroll" && r ? /* @__PURE__ */ w(Kw, { ...e, ref: n }) : null;
19512
19512
  }
19513
19513
  );
19514
- qf.displayName = Va;
19514
+ zf.displayName = Va;
19515
19515
  var Kw = p.forwardRef((e, n) => {
19516
19516
  const { __scopeScrollArea: t, ...r } = e, o = Ae(Va, t), [i, a] = p.useState(0), [s, l] = p.useState(0), c = !!(i && s);
19517
19517
  return on(o.scrollbarX, () => {
@@ -19596,7 +19596,7 @@ function on(e, n) {
19596
19596
  }
19597
19597
  }, [e, t]);
19598
19598
  }
19599
- var Yf = Vf, Zw = Bf, Jw = qf;
19599
+ var Yf = Vf, Zw = Bf, Jw = zf;
19600
19600
  const ex = p.forwardRef(({ className: e, children: n, ...t }, r) => /* @__PURE__ */ be(
19601
19601
  Yf,
19602
19602
  {
@@ -19623,7 +19623,7 @@ const Kf = p.forwardRef(({ className: e, orientation: n = "vertical", ...t }, r)
19623
19623
  e
19624
19624
  ),
19625
19625
  ...t,
19626
- children: /* @__PURE__ */ w(zf, { className: "relative flex-1 rounded-full bg-border" })
19626
+ children: /* @__PURE__ */ w(qf, { className: "relative flex-1 rounded-full bg-border" })
19627
19627
  }
19628
19628
  ));
19629
19629
  Kf.displayName = ka.displayName;
@@ -19635,7 +19635,7 @@ function nx(e) {
19635
19635
  }
19636
19636
  var [Ao] = et("Tooltip", [
19637
19637
  hn
19638
- ]), Ro = hn(), Xf = "TooltipProvider", rx = 700, qi = "tooltip.open", [ox, La] = Ao(Xf), Qf = (e) => {
19638
+ ]), Ro = hn(), Xf = "TooltipProvider", rx = 700, zi = "tooltip.open", [ox, La] = Ao(Xf), Qf = (e) => {
19639
19639
  const {
19640
19640
  __scopeTooltip: n,
19641
19641
  delayDuration: t = rx,
@@ -19684,7 +19684,7 @@ var Wn = "Tooltip", [ix, rr] = Ao(Wn), Zf = (e) => {
19684
19684
  prop: r,
19685
19685
  defaultProp: o ?? !1,
19686
19686
  onChange: (E) => {
19687
- E ? (l.onOpen(), document.dispatchEvent(new CustomEvent(qi))) : l.onClose(), i == null || i(E);
19687
+ E ? (l.onOpen(), document.dispatchEvent(new CustomEvent(zi))) : l.onClose(), i == null || i(E);
19688
19688
  },
19689
19689
  caller: Wn
19690
19690
  }), v = p.useMemo(() => C ? y.current ? "delayed-open" : "instant-open" : "closed", [C]), S = p.useCallback(() => {
@@ -19754,13 +19754,13 @@ var Ba = "TooltipPortal", [ax, sx] = Ao(Ba, {
19754
19754
  forceMount: void 0
19755
19755
  }), ep = (e) => {
19756
19756
  const { __scopeTooltip: n, forceMount: t, children: r, container: o } = e, i = rr(Ba, n);
19757
- return /* @__PURE__ */ w(ax, { scope: n, forceMount: t, children: /* @__PURE__ */ w(qe, { present: t || i.open, children: /* @__PURE__ */ w(vo, { asChild: !0, container: o, children: r }) }) });
19757
+ return /* @__PURE__ */ w(ax, { scope: n, forceMount: t, children: /* @__PURE__ */ w(ze, { present: t || i.open, children: /* @__PURE__ */ w(vo, { asChild: !0, container: o, children: r }) }) });
19758
19758
  };
19759
19759
  ep.displayName = Ba;
19760
19760
  var an = "TooltipContent", tp = p.forwardRef(
19761
19761
  (e, n) => {
19762
19762
  const t = sx(an, e.__scopeTooltip), { forceMount: r = t.forceMount, side: o = "top", ...i } = e, a = rr(an, e.__scopeTooltip);
19763
- return /* @__PURE__ */ w(qe, { present: r || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ w(np, { side: o, ...i, ref: n }) : /* @__PURE__ */ w(lx, { side: o, ...i, ref: n }) });
19763
+ return /* @__PURE__ */ w(ze, { present: r || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ w(np, { side: o, ...i, ref: n }) : /* @__PURE__ */ w(lx, { side: o, ...i, ref: n }) });
19764
19764
  }
19765
19765
  ), lx = p.forwardRef((e, n) => {
19766
19766
  const t = rr(an, e.__scopeTooltip), r = La(an, e.__scopeTooltip), o = p.useRef(null), i = X(n, o), [a, s] = p.useState(null), { trigger: l, onClose: c } = t, d = o.current, { onPointerInTransitChange: u } = r, f = p.useCallback(() => {
@@ -19798,7 +19798,7 @@ var an = "TooltipContent", tp = p.forwardRef(
19798
19798
  onPointerDownOutside: a,
19799
19799
  ...s
19800
19800
  } = e, l = rr(an, t), c = Ro(t), { onClose: d } = l;
19801
- return p.useEffect(() => (document.addEventListener(qi, d), () => document.removeEventListener(qi, d)), [d]), p.useEffect(() => {
19801
+ return p.useEffect(() => (document.addEventListener(zi, d), () => document.removeEventListener(zi, d)), [d]), p.useEffect(() => {
19802
19802
  if (l.trigger) {
19803
19803
  const u = (f) => {
19804
19804
  const m = f.target;
@@ -20032,7 +20032,7 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20032
20032
  }
20033
20033
  `)
20034
20034
  ), Ox = Ee.forwardRef(function(n, t) {
20035
- var r = n.autoFocus, o = n.disabled, i = n.form, a = n.highlight, s = n.ignoreTabKey, l = s === void 0 ? !1 : s, c = n.insertSpaces, d = c === void 0 ? !0 : c, u = n.maxLength, f = n.minLength, m = n.name, b = n.onBlur, h = n.onClick, y = n.onFocus, C = n.onKeyDown, g = n.onKeyUp, v = n.onValueChange, S = n.padding, I = S === void 0 ? 0 : S, x = n.placeholder, E = n.preClassName, F = n.readOnly, T = n.required, D = n.style, A = n.tabSize, _ = A === void 0 ? 2 : A, L = n.textareaClassName, B = n.textareaId, q = n.value, M = Fx(n, ["autoFocus", "disabled", "form", "highlight", "ignoreTabKey", "insertSpaces", "maxLength", "minLength", "name", "onBlur", "onClick", "onFocus", "onKeyDown", "onKeyUp", "onValueChange", "padding", "placeholder", "preClassName", "readOnly", "required", "style", "tabSize", "textareaClassName", "textareaId", "value"]), O = Ee.useRef({
20035
+ var r = n.autoFocus, o = n.disabled, i = n.form, a = n.highlight, s = n.ignoreTabKey, l = s === void 0 ? !1 : s, c = n.insertSpaces, d = c === void 0 ? !0 : c, u = n.maxLength, f = n.minLength, m = n.name, b = n.onBlur, h = n.onClick, y = n.onFocus, C = n.onKeyDown, g = n.onKeyUp, v = n.onValueChange, S = n.padding, I = S === void 0 ? 0 : S, x = n.placeholder, E = n.preClassName, F = n.readOnly, T = n.required, D = n.style, A = n.tabSize, _ = A === void 0 ? 2 : A, L = n.textareaClassName, B = n.textareaId, z = n.value, M = Fx(n, ["autoFocus", "disabled", "form", "highlight", "ignoreTabKey", "insertSpaces", "maxLength", "minLength", "name", "onBlur", "onClick", "onFocus", "onKeyDown", "onKeyUp", "onValueChange", "padding", "placeholder", "preClassName", "readOnly", "required", "style", "tabSize", "textareaClassName", "textareaId", "value"]), O = Ee.useRef({
20036
20036
  stack: [],
20037
20037
  offset: -1
20038
20038
  }), P = Ee.useRef(null), V = Ee.useState(!0), Z = V[0], J = V[1], ie = {
@@ -20040,12 +20040,12 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20040
20040
  paddingRight: typeof I == "object" ? I.right : I,
20041
20041
  paddingBottom: typeof I == "object" ? I.bottom : I,
20042
20042
  paddingLeft: typeof I == "object" ? I.left : I
20043
- }, Re = a(q), te = function(R, z) {
20044
- return R.substring(0, z).split(`
20043
+ }, Re = a(z), te = function(R, q) {
20044
+ return R.substring(0, q).split(`
20045
20045
  `);
20046
- }, le = Ee.useCallback(function(R, z) {
20046
+ }, le = Ee.useCallback(function(R, q) {
20047
20047
  var $, U, ee;
20048
- z === void 0 && (z = !1);
20048
+ q === void 0 && (q = !1);
20049
20049
  var ce = O.current, ye = ce.stack, gn = ce.offset;
20050
20050
  if (ye.length && gn > -1) {
20051
20051
  O.current.stack = ye.slice(0, gn + 1);
@@ -20056,7 +20056,7 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20056
20056
  }
20057
20057
  }
20058
20058
  var Ne = Date.now();
20059
- if (z) {
20059
+ if (q) {
20060
20060
  var nt = O.current.stack[O.current.offset];
20061
20061
  if (nt && Ne - nt.timestamp < Rx) {
20062
20062
  var bn = /[^a-z0-9]([a-z0-9]+)$/i, ve = ($ = te(nt.value, nt.selectionStart).pop()) === null || $ === void 0 ? void 0 : $.match(bn), vn = (U = te(R.value, R.selectionStart).pop()) === null || U === void 0 ? void 0 : U.match(bn);
@@ -20070,29 +20070,29 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20070
20070
  }, []), pe = Ee.useCallback(function() {
20071
20071
  var R = P.current;
20072
20072
  if (R) {
20073
- var z = R.value, $ = R.selectionStart, U = R.selectionEnd;
20073
+ var q = R.value, $ = R.selectionStart, U = R.selectionEnd;
20074
20074
  le({
20075
- value: z,
20075
+ value: q,
20076
20076
  selectionStart: $,
20077
20077
  selectionEnd: U
20078
20078
  });
20079
20079
  }
20080
20080
  }, [le]), k = function(R) {
20081
- var z = P.current;
20082
- z && (z.value = R.value, z.selectionStart = R.selectionStart, z.selectionEnd = R.selectionEnd, v == null || v(R.value));
20081
+ var q = P.current;
20082
+ q && (q.value = R.value, q.selectionStart = R.selectionStart, q.selectionEnd = R.selectionEnd, v == null || v(R.value));
20083
20083
  }, W = function(R) {
20084
- var z = P.current, $ = O.current.stack[O.current.offset];
20085
- $ && z && (O.current.stack[O.current.offset] = ae(ae({}, $), { selectionStart: z.selectionStart, selectionEnd: z.selectionEnd })), le(R), k(R);
20084
+ var q = P.current, $ = O.current.stack[O.current.offset];
20085
+ $ && q && (O.current.stack[O.current.offset] = ae(ae({}, $), { selectionStart: q.selectionStart, selectionEnd: q.selectionEnd })), le(R), k(R);
20086
20086
  }, oe = function() {
20087
- var R = O.current, z = R.stack, $ = R.offset, U = z[$ - 1];
20087
+ var R = O.current, q = R.stack, $ = R.offset, U = q[$ - 1];
20088
20088
  U && (k(U), O.current.offset = Math.max($ - 1, 0));
20089
20089
  }, Y = function() {
20090
- var R = O.current, z = R.stack, $ = R.offset, U = z[$ + 1];
20091
- U && (k(U), O.current.offset = Math.min($ + 1, z.length - 1));
20090
+ var R = O.current, q = R.stack, $ = R.offset, U = q[$ + 1];
20091
+ U && (k(U), O.current.offset = Math.min($ + 1, q.length - 1));
20092
20092
  }, G = function(R) {
20093
20093
  if (!(C && (C(R), R.defaultPrevented))) {
20094
20094
  R.key === "Escape" && R.currentTarget.blur();
20095
- var z = R.currentTarget, $ = z.value, U = z.selectionStart, ee = z.selectionEnd, ce = (d ? " " : " ").repeat(_);
20095
+ var q = R.currentTarget, $ = q.value, U = q.selectionStart, ee = q.selectionEnd, ce = (d ? " " : " ").repeat(_);
20096
20096
  if (R.key === "Tab" && !l && Z)
20097
20097
  if (R.preventDefault(), R.shiftKey) {
20098
20098
  var ye = te($, U), gn = ye.length - 1, yn = te($, ee).length - 1, Ut = $.split(`
@@ -20115,8 +20115,8 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20115
20115
  var ye = te($, U), nt = ye.length - 1, bn = te($, ee).length - 1, Ne = ye[nt];
20116
20116
  W({
20117
20117
  value: $.split(`
20118
- `).map(function(ja, za) {
20119
- return za >= nt && za <= bn ? ce + ja : ja;
20118
+ `).map(function(ja, qa) {
20119
+ return qa >= nt && qa <= bn ? ce + ja : ja;
20120
20120
  }).join(`
20121
20121
  `),
20122
20122
  // Move the start cursor by number of characters added in first line of selection
@@ -20192,7 +20192,7 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20192
20192
  }));
20193
20193
  }
20194
20194
  }, K = function(R) {
20195
- var z = R.currentTarget, $ = z.value, U = z.selectionStart, ee = z.selectionEnd;
20195
+ var q = R.currentTarget, $ = q.value, U = q.selectionStart, ee = q.selectionEnd;
20196
20196
  le({
20197
20197
  value: $,
20198
20198
  selectionStart: U,
@@ -20218,7 +20218,7 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20218
20218
  Ee.createElement("pre", ae({ className: E, "aria-hidden": "true", style: ae(ae(ae({}, Rn.editor), Rn.highlight), ie) }, typeof Re == "string" ? { dangerouslySetInnerHTML: { __html: Re + "<br />" } } : { children: Re })),
20219
20219
  Ee.createElement("textarea", { ref: function(R) {
20220
20220
  return P.current = R;
20221
- }, style: ae(ae(ae({}, Rn.editor), Rn.textarea), ie), className: Rr + (L ? " ".concat(L) : ""), id: B, value: q, onChange: K, onKeyDown: G, onClick: h, onKeyUp: g, onFocus: y, onBlur: b, disabled: o, form: i, maxLength: u, minLength: f, name: m, placeholder: x, readOnly: F, required: T, autoFocus: r, autoCapitalize: "off", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "data-gramm": !1 }),
20221
+ }, style: ae(ae(ae({}, Rn.editor), Rn.textarea), ie), className: Rr + (L ? " ".concat(L) : ""), id: B, value: z, onChange: K, onKeyDown: G, onClick: h, onKeyUp: g, onFocus: y, onBlur: b, disabled: o, form: i, maxLength: u, minLength: f, name: m, placeholder: x, readOnly: F, required: T, autoFocus: r, autoCapitalize: "off", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "data-gramm": !1 }),
20222
20222
  Ee.createElement("style", { dangerouslySetInnerHTML: { __html: Px } })
20223
20223
  );
20224
20224
  }), Rn = {
@@ -20891,7 +20891,7 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20891
20891
  for (var D = 0; D < T.length; ++D) {
20892
20892
  if (E && E.cause == F + "," + D)
20893
20893
  return;
20894
- var A = T[D], _ = A.inside, L = !!A.lookbehind, B = !!A.greedy, q = A.alias;
20894
+ var A = T[D], _ = A.inside, L = !!A.lookbehind, B = !!A.greedy, z = A.alias;
20895
20895
  if (B && !A.pattern.global) {
20896
20896
  var M = A.pattern.toString().match(/[imsuy]*$/)[0];
20897
20897
  A.pattern = RegExp(A.pattern.source, M + "g");
@@ -20919,7 +20919,7 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20919
20919
  E && Y > E.reach && (E.reach = Y);
20920
20920
  var G = P.prev;
20921
20921
  W && (G = f(v, G, W), V += W.length), m(v, G, J);
20922
- var K = new l(F, _ ? s.tokenize(k, _) : k, q, k);
20922
+ var K = new l(F, _ ? s.tokenize(k, _) : k, z, k);
20923
20923
  if (P = f(v, G, K), oe && f(v, P, oe), J > 1) {
20924
20924
  var R = {
20925
20925
  cause: F + "," + D,
@@ -21968,7 +21968,7 @@ function $x({
21968
21968
  className: f,
21969
21969
  textareaId: m
21970
21970
  }, b) {
21971
- const h = qa(null), y = qa(null), C = s ? { top: 6, right: 8, bottom: 6, left: 8 } : {
21971
+ const h = za(null), y = za(null), C = s ? { top: 6, right: 8, bottom: 6, left: 8 } : {
21972
21972
  top: 16,
21973
21973
  right: 24,
21974
21974
  bottom: 16,
@@ -22069,7 +22069,7 @@ function $x({
22069
22069
  );
22070
22070
  }
22071
22071
  const FF = bp($x);
22072
- var _o = "Switch", [Ux] = et(_o), [jx, zx] = Ux(_o), lp = p.forwardRef(
22072
+ var _o = "Switch", [Ux] = et(_o), [jx, qx] = Ux(_o), lp = p.forwardRef(
22073
22073
  (e, n) => {
22074
22074
  const {
22075
22075
  __scopeSwitch: t,
@@ -22127,7 +22127,7 @@ var _o = "Switch", [Ux] = et(_o), [jx, zx] = Ux(_o), lp = p.forwardRef(
22127
22127
  lp.displayName = _o;
22128
22128
  var cp = "SwitchThumb", dp = p.forwardRef(
22129
22129
  (e, n) => {
22130
- const { __scopeSwitch: t, ...r } = e, o = zx(cp, t);
22130
+ const { __scopeSwitch: t, ...r } = e, o = qx(cp, t);
22131
22131
  return /* @__PURE__ */ w(
22132
22132
  H.span,
22133
22133
  {
@@ -22140,7 +22140,7 @@ var cp = "SwitchThumb", dp = p.forwardRef(
22140
22140
  }
22141
22141
  );
22142
22142
  dp.displayName = cp;
22143
- var qx = "SwitchBubbleInput", up = p.forwardRef(
22143
+ var zx = "SwitchBubbleInput", up = p.forwardRef(
22144
22144
  ({
22145
22145
  __scopeSwitch: e,
22146
22146
  control: n,
@@ -22181,7 +22181,7 @@ var qx = "SwitchBubbleInput", up = p.forwardRef(
22181
22181
  );
22182
22182
  }
22183
22183
  );
22184
- up.displayName = qx;
22184
+ up.displayName = zx;
22185
22185
  function fp(e) {
22186
22186
  return e ? "checked" : "unchecked";
22187
22187
  }
@@ -22231,7 +22231,7 @@ export {
22231
22231
  FF as C,
22232
22232
  lo as D,
22233
22233
  CT as E,
22234
- qI as F,
22234
+ zI as F,
22235
22235
  HI as G,
22236
22236
  ex as H,
22237
22237
  WI as I,
@@ -22270,7 +22270,7 @@ export {
22270
22270
  Ed as aC,
22271
22271
  sv as aD,
22272
22272
  $E as aE,
22273
- zc as aF,
22273
+ qc as aF,
22274
22274
  Ie as aG,
22275
22275
  ac as aH,
22276
22276
  VT as aI,
@@ -22284,10 +22284,10 @@ export {
22284
22284
  Kf as aQ,
22285
22285
  so as aR,
22286
22286
  jT as aS,
22287
- zT as aT,
22287
+ qT as aT,
22288
22288
  WT as aU,
22289
22289
  GT as aV,
22290
- zm as aW,
22290
+ qm as aW,
22291
22291
  ZT as aX,
22292
22292
  UT as aY,
22293
22293
  K0 as aZ,
@@ -22340,7 +22340,7 @@ export {
22340
22340
  k0 as bH,
22341
22341
  ha as bI,
22342
22342
  ld as bJ,
22343
- zy as bK,
22343
+ qy as bK,
22344
22344
  N0 as bL,
22345
22345
  M0 as bM,
22346
22346
  Ue as bN,
@@ -22388,13 +22388,13 @@ export {
22388
22388
  HE as c0,
22389
22389
  Dm as c1,
22390
22390
  Pm as c2,
22391
- qE as c3,
22391
+ zE as c3,
22392
22392
  un as c4,
22393
22393
  et as c5,
22394
22394
  N as c6,
22395
22395
  X as c7,
22396
22396
  Dd as c8,
22397
- qe as c9,
22397
+ ze as c9,
22398
22398
  RI as cA,
22399
22399
  Au as cB,
22400
22400
  mt as cC,
@@ -22442,8 +22442,8 @@ export {
22442
22442
  Aa as cr,
22443
22443
  Mt as cs,
22444
22444
  So as ct,
22445
- q0 as cu,
22446
- z0 as cv,
22445
+ z0 as cu,
22446
+ q0 as cv,
22447
22447
  G0 as cw,
22448
22448
  fF as cx,
22449
22449
  bv as cy,
@@ -22485,7 +22485,7 @@ export {
22485
22485
  g0 as dW,
22486
22486
  Em as dX,
22487
22487
  A0 as dY,
22488
- qc as dZ,
22488
+ zc as dZ,
22489
22489
  rF as d_,
22490
22490
  _E as da,
22491
22491
  Yt as db,
@@ -22504,7 +22504,7 @@ export {
22504
22504
  QC as dp,
22505
22505
  pF as dq,
22506
22506
  Se as dr,
22507
- zr as ds,
22507
+ qr as ds,
22508
22508
  ft as dt,
22509
22509
  ZC as du,
22510
22510
  eS as dv,
@@ -22519,11 +22519,11 @@ export {
22519
22519
  pc as e2,
22520
22520
  By as e3,
22521
22521
  hc as e4,
22522
- qo as e5,
22522
+ zo as e5,
22523
22523
  V0 as e6,
22524
22524
  fb as e7,
22525
22525
  Qy as e8,
22526
- zE as e9,
22526
+ qE as e9,
22527
22527
  xT as eA,
22528
22528
  wT as eB,
22529
22529
  Wg as eC,
@@ -22548,7 +22548,7 @@ export {
22548
22548
  fa as eV,
22549
22549
  BT as eW,
22550
22550
  hy as eX,
22551
- qT as eY,
22551
+ zT as eY,
22552
22552
  HT as eZ,
22553
22553
  Xc as e_,
22554
22554
  DE as ea,