react-semaphor 0.1.494 → 0.1.496

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 (127) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +233 -218
  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 +5 -5
  7. package/dist/chunks/calculated-field-identity-Cq9GwHfE.js +1266 -0
  8. package/dist/chunks/calculated-field-identity-DTfyvvLC.cjs +1 -0
  9. package/dist/chunks/{constants-D47EhfJR.js → constants-CC3WKmqC.js} +14 -14
  10. package/dist/chunks/{constants-BMfm1XgO.cjs → constants-DIuhVR6J.cjs} +1 -1
  11. package/dist/chunks/{dashboard-briefing-launcher-DQFa0Ti1.js → dashboard-briefing-launcher-Bbz4cwHb.js} +9 -9
  12. package/dist/chunks/{dashboard-briefing-launcher-nWBKnd0X.cjs → dashboard-briefing-launcher-CM6LTGw5.cjs} +1 -1
  13. package/dist/chunks/{dashboard-controls-BbPWWVO-.cjs → dashboard-controls-B2nrczJl.cjs} +1 -1
  14. package/dist/chunks/{dashboard-controls-DWpnRtQI.js → dashboard-controls-BsgADy-S.js} +11 -11
  15. package/dist/chunks/{dashboard-date-comparison-definition-CKXgDzSB.js → dashboard-date-comparison-definition-Bqti6YAo.js} +1 -1
  16. package/dist/chunks/{dashboard-date-comparison-definition-DCIUwJnZ.cjs → dashboard-date-comparison-definition-C69F-zaC.cjs} +1 -1
  17. package/dist/chunks/{dashboard-json-DyTQysQF.js → dashboard-json-CA-BChbt.js} +7 -7
  18. package/dist/chunks/{dashboard-json-BFJNDHxv.cjs → dashboard-json-CwRRBSSL.cjs} +1 -1
  19. package/dist/chunks/edit-dashboard-visual-BlS27LDw.cjs +172 -0
  20. package/dist/chunks/{edit-dashboard-visual-D-gauuNQ.js → edit-dashboard-visual-CEiPgdkX.js} +7903 -7939
  21. package/dist/chunks/{editor-action-buttons-DMgnHVY1.js → editor-action-buttons-6HBjjcfK.js} +6 -6
  22. package/dist/chunks/{editor-action-buttons-B7YezrkC.cjs → editor-action-buttons-kk2BNiTe.cjs} +1 -1
  23. package/dist/chunks/{field-aggregations-J7de9KZm.js → field-aggregations-C8kZqMTD.js} +11 -11
  24. package/dist/chunks/{field-aggregations-hx8odlTh.cjs → field-aggregations-naKZ7S2Q.cjs} +1 -1
  25. package/dist/chunks/{index-DXQsuuMQ.cjs → index-BSRwdFTN.cjs} +226 -225
  26. package/dist/chunks/{index-Df4YBtX5.cjs → index-CCa-A-Yx.cjs} +1 -1
  27. package/dist/chunks/{index-CPWfCksu.js → index-Cgoz65yM.js} +39519 -38739
  28. package/dist/chunks/{index-BDtC8et3.js → index-oll4m-qi.js} +11 -11
  29. package/dist/chunks/{matrix-analytical-definition-DAFStKt2.js → matrix-analytical-definition-B1xhoCak.js} +1 -1
  30. package/dist/chunks/{matrix-analytical-definition-B3p3vF0K.cjs → matrix-analytical-definition-BK5y9XHH.cjs} +1 -1
  31. package/dist/chunks/{matrix-card-5R39CCdj.js → matrix-card-BEb6hr8i.js} +2 -2
  32. package/dist/chunks/{matrix-card-DzkJRoM4.cjs → matrix-card-Ii8yYSnw.cjs} +1 -1
  33. package/dist/chunks/{matrix-control-sources-BWbqiGmN.cjs → matrix-control-sources-CdegRBcA.cjs} +1 -1
  34. package/dist/chunks/{matrix-control-sources-DxjWV8ry.js → matrix-control-sources-cbYmqWNg.js} +5 -5
  35. package/dist/chunks/{matrix-definition-Z80mIEfu.cjs → matrix-definition-CSNthxru.cjs} +1 -1
  36. package/dist/chunks/{matrix-definition-BcJi7qGZ.js → matrix-definition-CZM5-YJX.js} +1 -1
  37. package/dist/chunks/{matrix-formatter-3QR1mqhn.cjs → matrix-formatter-C19PZAal.cjs} +1 -1
  38. package/dist/chunks/{matrix-formatter-youWVghC.js → matrix-formatter-CiXzpX6X.js} +27 -27
  39. package/dist/chunks/matrix-member-presentation-CQHvq18l.cjs +1 -0
  40. package/dist/chunks/matrix-member-presentation-CabW8mJc.js +105 -0
  41. package/dist/chunks/{matrix-operation-contract-D5I-t3i7.js → matrix-operation-contract-0Nor-C71.js} +21 -21
  42. package/dist/chunks/{matrix-operation-contract-BiUMcd6G.cjs → matrix-operation-contract-o9GXbiHw.cjs} +1 -1
  43. package/dist/chunks/{metric-comparison-vr9j4Z_Z.js → metric-comparison-Br8l0WkK.js} +1 -1
  44. package/dist/chunks/{metric-comparison-D1VRq5Os.cjs → metric-comparison-DeiOjEm5.cjs} +1 -1
  45. package/dist/chunks/{operators-C8TxpM4C.js → operators-B3zZoskU.js} +28 -10
  46. package/dist/chunks/operators-DEfKaU_V.cjs +1 -0
  47. package/dist/chunks/{pivot-header-presentation-Dcd4IBM5.cjs → pivot-header-presentation-DRv-cSIP.cjs} +1 -1
  48. package/dist/chunks/{pivot-header-presentation-BslEo_4O.js → pivot-header-presentation-DW-ti5ek.js} +3 -3
  49. package/dist/chunks/{pivot-result-identity-CmvwpG4K.cjs → pivot-result-identity-DEenUrMj.cjs} +1 -1
  50. package/dist/chunks/{pivot-result-identity-CMz27nri.js → pivot-result-identity-sZc1RaIz.js} +1 -1
  51. package/dist/chunks/{pivot-result-lifecycle-H_pntnd9.cjs → pivot-result-lifecycle-D81qcCcZ.cjs} +1 -1
  52. package/dist/chunks/{pivot-result-lifecycle-BCoOFUiU.js → pivot-result-lifecycle-DJ40gdwk.js} +7 -7
  53. package/dist/chunks/{raw-temporal-DcHmXurp.cjs → raw-temporal-DDTt2yv5.cjs} +1 -1
  54. package/dist/chunks/{raw-temporal-YWo1GEmr.js → raw-temporal-DHCZrFe7.js} +15 -15
  55. package/dist/chunks/{raw-temporal-contract-Bg1mtRGE.cjs → raw-temporal-contract-BcbV56Rc.cjs} +1 -1
  56. package/dist/chunks/{raw-temporal-contract-DY-Jd4Sc.js → raw-temporal-contract-CkvdtPYA.js} +1 -1
  57. package/dist/chunks/{report-preferences-dialog-Bt8T3To1.js → report-preferences-dialog-CVRJOCQu.js} +6 -6
  58. package/dist/chunks/{report-preferences-dialog-oT-C29vV.cjs → report-preferences-dialog-DGEq-iBF.cjs} +1 -1
  59. package/dist/chunks/{report-runtime-context-nCHl3uHC.js → report-runtime-context-BlDpc-F-.js} +1 -1
  60. package/dist/chunks/{report-runtime-context-Bb0ejvVq.cjs → report-runtime-context-lSIvyKm2.cjs} +1 -1
  61. package/dist/chunks/{semantic-format-CMPIcb8l.cjs → semantic-format--_VEin18.cjs} +1 -1
  62. package/dist/chunks/{semantic-format-UvUAyZS-.js → semantic-format-ew5zviaT.js} +2 -2
  63. package/dist/chunks/{source-entity-resolution-Dm4in31q.js → source-entity-resolution-79Rihbk3.js} +121 -107
  64. package/dist/chunks/source-entity-resolution-DPjslVgx.cjs +1 -0
  65. package/dist/chunks/{switch-DHOv6xHT.js → switch-BmyuyM7e.js} +4736 -4697
  66. package/dist/chunks/switch-nDjQC2y3.cjs +139 -0
  67. package/dist/chunks/{temporal-bucket-contract-CPuYzg7A.cjs → temporal-bucket-contract-BYR6tj6F.cjs} +1 -1
  68. package/dist/chunks/{temporal-bucket-contract-Bx5TJXF3.js → temporal-bucket-contract-C-kKQ_W4.js} +1 -1
  69. package/dist/chunks/{token-types-5buW2I6f.js → token-types-BIYFAsGq.js} +1 -1
  70. package/dist/chunks/{token-types-hl08eNuY.cjs → token-types-CkAGFhiW.cjs} +1 -1
  71. package/dist/chunks/{update-policy-BP_2uCgs.cjs → update-policy-BCtFr2Qh.cjs} +1 -1
  72. package/dist/chunks/{update-policy-D3I1J2kl.js → update-policy-CP_A1IVD.js} +2 -2
  73. package/dist/chunks/{validators-BpJDwDnG.js → validators-D-_IT-Xw.js} +1134 -1013
  74. package/dist/chunks/validators-ux2obZB9.cjs +1 -0
  75. package/dist/dashboard/index.cjs +1 -1
  76. package/dist/dashboard/index.js +1 -1
  77. package/dist/dashboard-authoring/index.cjs +3 -3
  78. package/dist/dashboard-authoring/index.js +157 -150
  79. package/dist/data-app-builder/index.cjs +1 -1
  80. package/dist/data-app-builder/index.js +2 -2
  81. package/dist/data-app-codegen/index.cjs +1 -1
  82. package/dist/data-app-codegen/index.js +2 -2
  83. package/dist/data-app-codegen-node/index.cjs +2 -2
  84. package/dist/data-app-codegen-node/index.js +33 -36
  85. package/dist/data-app-sdk/index.cjs +2 -2
  86. package/dist/data-app-sdk/index.js +232 -230
  87. package/dist/data-app-sdk-adapters/index.cjs +1 -1
  88. package/dist/data-app-sdk-adapters/index.js +3 -3
  89. package/dist/data-app-sdk-validation/index.cjs +1 -1
  90. package/dist/data-app-sdk-validation/index.js +5 -5
  91. package/dist/format-utils/index.cjs +1 -1
  92. package/dist/format-utils/index.js +26 -26
  93. package/dist/index.cjs +1 -1
  94. package/dist/index.js +15 -15
  95. package/dist/report-runtime-context/index.cjs +1 -1
  96. package/dist/report-runtime-context/index.js +2 -2
  97. package/dist/style.css +1 -1
  98. package/dist/surfboard/index.cjs +1 -1
  99. package/dist/surfboard/index.js +2 -2
  100. package/dist/types/analytics-protocol.d.ts +265 -1
  101. package/dist/types/briefings.d.ts +55 -0
  102. package/dist/types/dashboard-assistant.d.ts +55 -1
  103. package/dist/types/dashboard-authoring.d.ts +140 -2
  104. package/dist/types/dashboard.d.ts +57 -0
  105. package/dist/types/data-app-builder.d.ts +32 -1
  106. package/dist/types/data-app-codegen-node.d.ts +32 -1
  107. package/dist/types/data-app-codegen.d.ts +32 -1
  108. package/dist/types/data-app-sdk-adapters.d.ts +32 -1
  109. package/dist/types/data-app-sdk-validation.d.ts +55 -1
  110. package/dist/types/data-app-sdk.d.ts +60 -1
  111. package/dist/types/format-utils.d.ts +9 -0
  112. package/dist/types/index.cjs +1 -1
  113. package/dist/types/index.js +4 -4
  114. package/dist/types/main.d.ts +122 -1
  115. package/dist/types/shared.d.ts +55 -0
  116. package/dist/types/surfboard.d.ts +57 -0
  117. package/dist/types/types.d.ts +57 -0
  118. package/package.json +1 -1
  119. package/dist/chunks/calculated-field-identity-CSabKrXt.js +0 -1117
  120. package/dist/chunks/calculated-field-identity-D4VOHjBJ.cjs +0 -1
  121. package/dist/chunks/edit-dashboard-visual-Dtacp_qY.cjs +0 -172
  122. package/dist/chunks/matrix-member-presentation-BEWAH5xK.js +0 -24
  123. package/dist/chunks/matrix-member-presentation-DtLGyv8w.cjs +0 -1
  124. package/dist/chunks/operators-DrTQsJXv.cjs +0 -1
  125. package/dist/chunks/source-entity-resolution-DeH38dTU.cjs +0 -1
  126. package/dist/chunks/switch-CatLIoK-.cjs +0 -139
  127. package/dist/chunks/validators-4dRtYUI1.cjs +0 -1
@@ -1,10 +1,10 @@
1
1
  import { toSemaphorInputSnapshots as Gr, toSemaphorInputBinding as Jr, toSemaphorActiveInputSnapshots as Y, toSemaphorMatrixIntent as Yr, toSemaphorSqlIntent as Xr, toSemaphorInputOptionsIntent as Zr, toSemaphorRecordsIntent as et, toSemaphorAnalysisQueryOptions as rt, toSemaphorAnalysisIntent as tt, toSemaphorMetricIntent as nt, hasSemaphorInputValue as ue, normalizeSemaphorInputOptions as vr, toSemaphorInputSpec as wr } from "../data-app-sdk-adapters/index.js";
2
- import { jsxs as p, Fragment as Sr, jsx as l } from "react/jsx-runtime";
2
+ import { jsxs as p, Fragment as Sr, jsx as d } from "react/jsx-runtime";
3
3
  import { createContext as xe, useContext as Q, useState as z, useRef as E, useEffect as B, useMemo as I, Fragment as it, useId as Ir, useCallback as D, useReducer as ot } from "react";
4
- import { l as st, q as at, a2 as lt, aK as Se } from "../chunks/validators-BpJDwDnG.js";
5
- import { f as ho, aQ as bo } from "../chunks/validators-BpJDwDnG.js";
6
- import { u as dt, N as ut, L as ct } from "../chunks/matrix-operation-contract-D5I-t3i7.js";
7
- import { m as or } from "../chunks/matrix-formatter-youWVghC.js";
4
+ import { k as st, o as at, a8 as dt, aS as Se } from "../chunks/validators-D-_IT-Xw.js";
5
+ import { f as ho, aY as bo } from "../chunks/validators-D-_IT-Xw.js";
6
+ import { u as lt, N as ut, L as ct } from "../chunks/matrix-operation-contract-0Nor-C71.js";
7
+ import { m as or } from "../chunks/matrix-formatter-CiXzpX6X.js";
8
8
  import { M as ft, a as pt, S as gt, E as mt, C as yt } from "../chunks/search-BHsQIWBV.js";
9
9
  import { X as ht, C as bt, j as vt } from "../chunks/x-CXDkqdur.js";
10
10
  function me(e, r, t) {
@@ -136,7 +136,7 @@ function Pe(e, r) {
136
136
  if (t)
137
137
  switch (t.kind) {
138
138
  case "records":
139
- return le({
139
+ return de({
140
140
  title: "Records",
141
141
  rowNoun: "rows",
142
142
  records: t.records,
@@ -144,7 +144,7 @@ function Pe(e, r) {
144
144
  rowCount: t.rowCount
145
145
  });
146
146
  case "sql":
147
- return le({
147
+ return de({
148
148
  title: "SQL Rows",
149
149
  rowNoun: "rows",
150
150
  records: t.records,
@@ -152,7 +152,7 @@ function Pe(e, r) {
152
152
  rowCount: t.rowCount
153
153
  });
154
154
  case "inputOptions":
155
- return le({
155
+ return de({
156
156
  title: "Options",
157
157
  rowNoun: "options",
158
158
  records: t.options.slice(0, ce).map((n) => {
@@ -175,7 +175,7 @@ function Pe(e, r) {
175
175
  case "metric":
176
176
  return wt(t, r);
177
177
  case "matrix":
178
- return le({
178
+ return de({
179
179
  title: "Matrix Cells",
180
180
  rowNoun: "cells",
181
181
  records: t.window.blocks.flatMap((n) => n.cells).slice(0, ce).map((n) => {
@@ -226,7 +226,7 @@ function wt(e, r) {
226
226
  t.push({ metric: `measure:${g}`, value: m });
227
227
  }), Object.entries((r == null ? void 0 : r.measureBindings) ?? {}).sort(([g], [m]) => g.localeCompare(m)).forEach(([g, m]) => {
228
228
  t.push({ metric: `binding:${g}`, value: m });
229
- }), le({
229
+ }), de({
230
230
  title: "Metric",
231
231
  rowNoun: "values",
232
232
  records: t,
@@ -237,7 +237,7 @@ function wt(e, r) {
237
237
  rowCount: t.length
238
238
  });
239
239
  }
240
- function le({
240
+ function de({
241
241
  title: e,
242
242
  rowNoun: r,
243
243
  records: t,
@@ -527,7 +527,7 @@ function _t(e) {
527
527
  color: "var(--sd-fg-muted)"
528
528
  };
529
529
  }
530
- const lr = "semaphor-devtools-stylesheet", R = "semaphor-devtools", Ft = `
530
+ const dr = "semaphor-devtools-stylesheet", R = "semaphor-devtools", Ft = `
531
531
  .${R} {
532
532
  --sd-bg: #ffffff;
533
533
  --sd-bg-muted: #fafafa;
@@ -645,10 +645,10 @@ const lr = "semaphor-devtools-stylesheet", R = "semaphor-devtools", Ft = `
645
645
  }
646
646
  `;
647
647
  function kr() {
648
- if (typeof document > "u" || document.getElementById(lr))
648
+ if (typeof document > "u" || document.getElementById(dr))
649
649
  return;
650
650
  const e = document.createElement("style");
651
- e.id = lr, e.textContent = Ft, document.head.appendChild(e);
651
+ e.id = dr, e.textContent = Ft, document.head.appendChild(e);
652
652
  }
653
653
  const ye = 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif', W = "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace", Ee = {
654
654
  color: "var(--sd-fg-muted)",
@@ -1612,7 +1612,7 @@ function Pt({
1612
1612
  c.open
1613
1613
  ]
1614
1614
  );
1615
- return /* @__PURE__ */ l(Ve.Provider, { value: f, children: /* @__PURE__ */ l(Qe.Provider, { value: y, children: r }) });
1615
+ return /* @__PURE__ */ d(Ve.Provider, { value: f, children: /* @__PURE__ */ d(Qe.Provider, { value: y, children: r }) });
1616
1616
  }
1617
1617
  function Ht(e) {
1618
1618
  const r = V.findIndex(
@@ -1638,7 +1638,7 @@ function ao({
1638
1638
  children: t
1639
1639
  }) {
1640
1640
  const n = I(() => ({ id: e, title: r }), [e, r]);
1641
- return /* @__PURE__ */ l(Ue.Provider, { value: n, children: t });
1641
+ return /* @__PURE__ */ d(Ue.Provider, { value: n, children: t });
1642
1642
  }
1643
1643
  function Qt({
1644
1644
  buttonPosition: e = "bottom-right",
@@ -1664,13 +1664,13 @@ function Qt({
1664
1664
  document.removeEventListener("pointerdown", w, !0), document.removeEventListener("mousedown", w, !0), document.removeEventListener("click", w, !0);
1665
1665
  };
1666
1666
  }, [b, k]);
1667
- const d = I(
1667
+ const l = I(
1668
1668
  () => Et(o.queries),
1669
1669
  [o.queries]
1670
1670
  ), h = I(
1671
1671
  () => He(o.queries),
1672
1672
  [o.queries]
1673
- ), K = mn(d), C = I(
1673
+ ), K = mn(l), C = I(
1674
1674
  () => yn(o.queries, c),
1675
1675
  [o.queries, c]
1676
1676
  ), M = I(
@@ -1692,7 +1692,7 @@ function Qt({
1692
1692
  style: {
1693
1693
  ...a.launcher,
1694
1694
  ...Bt(e),
1695
- ...Kt(d.severity),
1695
+ ...Kt(l.severity),
1696
1696
  ...i
1697
1697
  },
1698
1698
  onClick: () => {
@@ -1707,12 +1707,12 @@ function Qt({
1707
1707
  );
1708
1708
  },
1709
1709
  children: [
1710
- /* @__PURE__ */ l(Gt, {}),
1711
- /* @__PURE__ */ l("span", { style: a.launcherText, children: d.total }),
1712
- d.issueCount > 0 ? /* @__PURE__ */ p("span", { style: a.launcherIssueCount, children: [
1713
- d.issueCount,
1710
+ /* @__PURE__ */ d(Gt, {}),
1711
+ /* @__PURE__ */ d("span", { style: a.launcherText, children: l.total }),
1712
+ l.issueCount > 0 ? /* @__PURE__ */ p("span", { style: a.launcherIssueCount, children: [
1713
+ l.issueCount,
1714
1714
  " issue",
1715
- d.issueCount === 1 ? "" : "s"
1715
+ l.issueCount === 1 ? "" : "s"
1716
1716
  ] }) : null
1717
1717
  ]
1718
1718
  }
@@ -1733,24 +1733,24 @@ function Qt({
1733
1733
  children: [
1734
1734
  /* @__PURE__ */ p("div", { style: a.panelHeader, children: [
1735
1735
  /* @__PURE__ */ p("div", { style: a.panelTitleBlock, children: [
1736
- /* @__PURE__ */ l("div", { style: a.panelTitle, children: "Semaphor Inspector" }),
1736
+ /* @__PURE__ */ d("div", { style: a.panelTitle, children: "Semaphor Inspector" }),
1737
1737
  /* @__PURE__ */ p("div", { style: a.panelSubtitle, children: [
1738
- d.total,
1738
+ l.total,
1739
1739
  " queries · ",
1740
- d.loading,
1740
+ l.loading,
1741
1741
  " loading ·",
1742
1742
  " ",
1743
- d.failed,
1743
+ l.failed,
1744
1744
  " failed · ",
1745
- d.errorCount,
1745
+ l.errorCount,
1746
1746
  " errors ·",
1747
1747
  " ",
1748
- d.warningCount,
1748
+ l.warningCount,
1749
1749
  " warnings"
1750
1750
  ] })
1751
1751
  ] }),
1752
1752
  /* @__PURE__ */ p("div", { style: a.panelActions, children: [
1753
- /* @__PURE__ */ l(
1753
+ /* @__PURE__ */ d(
1754
1754
  "button",
1755
1755
  {
1756
1756
  type: "button",
@@ -1758,24 +1758,24 @@ function Qt({
1758
1758
  title: f ? "Exit fullscreen Semaphor Inspector" : "Enter fullscreen Semaphor Inspector",
1759
1759
  style: a.iconButton,
1760
1760
  onClick: () => g((w) => !w),
1761
- children: f ? /* @__PURE__ */ l(ft, { size: 15 }) : /* @__PURE__ */ l(pt, { size: 15 })
1761
+ children: f ? /* @__PURE__ */ d(ft, { size: 15 }) : /* @__PURE__ */ d(pt, { size: 15 })
1762
1762
  }
1763
1763
  ),
1764
- /* @__PURE__ */ l(
1764
+ /* @__PURE__ */ d(
1765
1765
  "button",
1766
1766
  {
1767
1767
  type: "button",
1768
1768
  "aria-label": "Close Semaphor Inspector",
1769
1769
  style: a.iconButton,
1770
1770
  onClick: s.closeDevtools,
1771
- children: /* @__PURE__ */ l(ht, { size: 15 })
1771
+ children: /* @__PURE__ */ d(ht, { size: 15 })
1772
1772
  }
1773
1773
  )
1774
1774
  ] })
1775
1775
  ] }),
1776
1776
  /* @__PURE__ */ p("label", { style: a.searchBox, children: [
1777
- /* @__PURE__ */ l(gt, { size: 14 }),
1778
- /* @__PURE__ */ l(
1777
+ /* @__PURE__ */ d(gt, { size: 14 }),
1778
+ /* @__PURE__ */ d(
1779
1779
  "input",
1780
1780
  {
1781
1781
  "aria-label": "Search Semaphor traces",
@@ -1786,7 +1786,7 @@ function Qt({
1786
1786
  }
1787
1787
  )
1788
1788
  ] }),
1789
- h.length ? /* @__PURE__ */ l(
1789
+ h.length ? /* @__PURE__ */ d(
1790
1790
  Zt,
1791
1791
  {
1792
1792
  issues: h,
@@ -1805,7 +1805,7 @@ function Qt({
1805
1805
  ...Nt(t)
1806
1806
  },
1807
1807
  children: [
1808
- /* @__PURE__ */ l(
1808
+ /* @__PURE__ */ d(
1809
1809
  "div",
1810
1810
  {
1811
1811
  style: {
@@ -1815,8 +1815,8 @@ function Qt({
1815
1815
  "aria-label": "Registered queries",
1816
1816
  children: C.length ? M.map((w) => /* @__PURE__ */ p("div", { style: a.queryGroup, children: [
1817
1817
  /* @__PURE__ */ p("div", { style: a.queryGroupHeader, children: [
1818
- /* @__PURE__ */ l("span", { children: w.title }),
1819
- /* @__PURE__ */ l("span", { style: a.queryGroupCount, children: w.traces.length })
1818
+ /* @__PURE__ */ d("span", { children: w.title }),
1819
+ /* @__PURE__ */ d("span", { style: a.queryGroupCount, children: w.traces.length })
1820
1820
  ] }),
1821
1821
  w.traces.length ? w.traces.map((S) => {
1822
1822
  var te;
@@ -1837,9 +1837,9 @@ function Qt({
1837
1837
  }),
1838
1838
  children: [
1839
1839
  /* @__PURE__ */ p("span", { style: a.queryListItemHeader, children: [
1840
- /* @__PURE__ */ l(en, { status: (te = S.latestAttempt) == null ? void 0 : te.status }),
1841
- /* @__PURE__ */ l("span", { style: a.queryListTitle, title: x, children: x }),
1842
- /* @__PURE__ */ l(
1840
+ /* @__PURE__ */ d(en, { status: (te = S.latestAttempt) == null ? void 0 : te.status }),
1841
+ /* @__PURE__ */ d("span", { style: a.queryListTitle, title: x, children: x }),
1842
+ /* @__PURE__ */ d(
1843
1843
  "span",
1844
1844
  {
1845
1845
  style: {
@@ -1849,17 +1849,17 @@ function Qt({
1849
1849
  children: O
1850
1850
  }
1851
1851
  ),
1852
- j > 0 ? /* @__PURE__ */ l("span", { style: a.queryListIssueBadge, children: j }) : null
1852
+ j > 0 ? /* @__PURE__ */ d("span", { style: a.queryListIssueBadge, children: j }) : null
1853
1853
  ] }),
1854
- /* @__PURE__ */ l(
1854
+ /* @__PURE__ */ d(
1855
1855
  "span",
1856
1856
  {
1857
1857
  className: `${R}-source`,
1858
1858
  style: a.queryListSource,
1859
1859
  title: re,
1860
1860
  children: ee.map((ne, ie) => /* @__PURE__ */ p(it, { children: [
1861
- ie > 0 ? /* @__PURE__ */ l("span", { style: a.queryListSubtitleSep, children: " · " }) : null,
1862
- /* @__PURE__ */ l("span", { children: ne })
1861
+ ie > 0 ? /* @__PURE__ */ d("span", { style: a.queryListSubtitleSep, children: " · " }) : null,
1862
+ /* @__PURE__ */ d("span", { children: ne })
1863
1863
  ] }, `${ne}:${ie}`))
1864
1864
  }
1865
1865
  )
@@ -1867,11 +1867,11 @@ function Qt({
1867
1867
  },
1868
1868
  Me(S)
1869
1869
  );
1870
- }) : /* @__PURE__ */ l("div", { style: a.queryGroupEmpty, children: "No input traces" })
1871
- ] }, w.title)) : /* @__PURE__ */ l("div", { style: a.emptyState, children: "No matching traces" })
1870
+ }) : /* @__PURE__ */ d("div", { style: a.queryGroupEmpty, children: "No input traces" })
1871
+ ] }, w.title)) : /* @__PURE__ */ d("div", { style: a.emptyState, children: "No matching traces" })
1872
1872
  }
1873
1873
  ),
1874
- /* @__PURE__ */ l(Jt, { trace: $ })
1874
+ /* @__PURE__ */ d(Jt, { trace: $ })
1875
1875
  ]
1876
1876
  }
1877
1877
  )
@@ -1924,15 +1924,15 @@ function lo({
1924
1924
  viewId: f.viewId
1925
1925
  }),
1926
1926
  children: [
1927
- /* @__PURE__ */ l(mt, { size: 13 }),
1928
- /* @__PURE__ */ l("span", { style: a.inspectButtonText, children: ((v = f.latestAttempt) == null ? void 0 : v.status) || "idle" })
1927
+ /* @__PURE__ */ d(mt, { size: 13 }),
1928
+ /* @__PURE__ */ d("span", { style: a.inspectButtonText, children: ((v = f.latestAttempt) == null ? void 0 : v.status) || "idle" })
1929
1929
  ]
1930
1930
  }
1931
1931
  );
1932
1932
  }
1933
1933
  function Er() {
1934
1934
  const e = Q(Ve);
1935
- return !e || !e.state.enabled ? Cr : de(e.state);
1935
+ return !e || !e.state.enabled ? Cr : le(e.state);
1936
1936
  }
1937
1937
  function Ut({
1938
1938
  spec: e,
@@ -1951,8 +1951,8 @@ function Ut({
1951
1951
  ), b = I(
1952
1952
  () => JSON.stringify(n || null),
1953
1953
  [n]
1954
- ), k = E(e), d = E(v), h = E(n), K = E(b), C = E(i), M = E(y), $ = Qn(o), w = JSON.stringify($ || []), S = E($), L = E(w);
1955
- d.current !== v && (d.current = v, k.current = e), K.current !== b && (K.current = b, h.current = n), M.current !== y && (M.current = y, C.current = i), L.current !== w && (L.current = w, S.current = $);
1954
+ ), k = E(e), l = E(v), h = E(n), K = E(b), C = E(i), M = E(y), $ = Qn(o), w = JSON.stringify($ || []), S = E($), L = E(w);
1955
+ l.current !== v && (l.current = v, k.current = e), K.current !== b && (K.current = b, h.current = n), M.current !== y && (M.current = y, C.current = i), L.current !== w && (L.current = w, S.current = $);
1956
1956
  const x = k.current, O = h.current, pe = C.current, ee = S.current, re = Ir(), T = I(
1957
1957
  () => g || `query_${Nr(t)}`,
1958
1958
  [t, g]
@@ -2107,7 +2107,7 @@ function Ut({
2107
2107
  );
2108
2108
  }
2109
2109
  function Gt() {
2110
- return /* @__PURE__ */ l("span", { style: a.logoMark, "aria-hidden": !0, children: /* @__PURE__ */ p(
2110
+ return /* @__PURE__ */ d("span", { style: a.logoMark, "aria-hidden": !0, children: /* @__PURE__ */ p(
2111
2111
  "svg",
2112
2112
  {
2113
2113
  viewBox: "0 0 100 100",
@@ -2116,10 +2116,10 @@ function Gt() {
2116
2116
  height: "16",
2117
2117
  focusable: "false",
2118
2118
  children: [
2119
- /* @__PURE__ */ l("rect", { x: "20", y: "15", width: "60", height: "12", rx: "6", fill: "currentColor" }),
2120
- /* @__PURE__ */ l("rect", { x: "20", y: "35", width: "40", height: "12", rx: "6", fill: "currentColor" }),
2121
- /* @__PURE__ */ l("rect", { x: "40", y: "55", width: "40", height: "12", rx: "6", fill: "currentColor" }),
2122
- /* @__PURE__ */ l("rect", { x: "20", y: "75", width: "60", height: "12", rx: "6", fill: "currentColor" })
2119
+ /* @__PURE__ */ d("rect", { x: "20", y: "15", width: "60", height: "12", rx: "6", fill: "currentColor" }),
2120
+ /* @__PURE__ */ d("rect", { x: "20", y: "35", width: "40", height: "12", rx: "6", fill: "currentColor" }),
2121
+ /* @__PURE__ */ d("rect", { x: "40", y: "55", width: "40", height: "12", rx: "6", fill: "currentColor" }),
2122
+ /* @__PURE__ */ d("rect", { x: "20", y: "75", width: "60", height: "12", rx: "6", fill: "currentColor" })
2123
2123
  ]
2124
2124
  }
2125
2125
  ) });
@@ -2129,7 +2129,7 @@ function Jt({
2129
2129
  }) {
2130
2130
  var $, w, S, L, x;
2131
2131
  if (!e)
2132
- return /* @__PURE__ */ l("div", { style: a.detailsPane, children: /* @__PURE__ */ l("div", { style: a.emptyState, children: "No traces registered yet" }) });
2132
+ return /* @__PURE__ */ d("div", { style: a.detailsPane, children: /* @__PURE__ */ d("div", { style: a.emptyState, children: "No traces registered yet" }) });
2133
2133
  const r = e.latestAttempt, t = r == null ? void 0 : r.executionResult, n = Oe(
2134
2134
  ($ = t == null ? void 0 : t.validation) == null ? void 0 : $.warnings
2135
2135
  ), i = Oe((w = t == null ? void 0 : t.validation) == null ? void 0 : w.errors), o = Bn(
@@ -2144,11 +2144,11 @@ function Jt({
2144
2144
  ...n,
2145
2145
  ...o,
2146
2146
  ...s
2147
- ], y = e.inputsApplied.length > 0, b = !!(c || f), k = An(e), d = En(r == null ? void 0 : r.rowCount), h = Rn(r == null ? void 0 : r.durationMs), K = e.sourceRefs.length, C = Or(e), M = Lr(C);
2147
+ ], y = e.inputsApplied.length > 0, b = !!(c || f), k = An(e), l = En(r == null ? void 0 : r.rowCount), h = Rn(r == null ? void 0 : r.durationMs), K = e.sourceRefs.length, C = Or(e), M = Lr(C);
2148
2148
  return /* @__PURE__ */ p("div", { style: a.detailsPane, children: [
2149
2149
  /* @__PURE__ */ p("div", { style: a.detailsHeader, children: [
2150
2150
  /* @__PURE__ */ p("div", { style: a.detailsHeaderTopRow, children: [
2151
- /* @__PURE__ */ l(
2151
+ /* @__PURE__ */ d(
2152
2152
  "span",
2153
2153
  {
2154
2154
  "aria-hidden": !0,
@@ -2158,8 +2158,8 @@ function Jt({
2158
2158
  }
2159
2159
  }
2160
2160
  ),
2161
- /* @__PURE__ */ l("span", { style: a.detailsTitle, children: qe(e) }),
2162
- /* @__PURE__ */ l(
2161
+ /* @__PURE__ */ d("span", { style: a.detailsTitle, children: qe(e) }),
2162
+ /* @__PURE__ */ d(
2163
2163
  "span",
2164
2164
  {
2165
2165
  style: {
@@ -2171,25 +2171,25 @@ function Jt({
2171
2171
  )
2172
2172
  ] }),
2173
2173
  /* @__PURE__ */ p("div", { style: a.metaStrip, children: [
2174
- /* @__PURE__ */ l("span", { style: a.metaStripItem, children: k }),
2175
- /* @__PURE__ */ l("span", { style: a.metaStripDot, children: "·" }),
2174
+ /* @__PURE__ */ d("span", { style: a.metaStripItem, children: k }),
2175
+ /* @__PURE__ */ d("span", { style: a.metaStripDot, children: "·" }),
2176
2176
  /* @__PURE__ */ p("span", { style: a.metaStripItem, children: [
2177
- d,
2177
+ l,
2178
2178
  " rows"
2179
2179
  ] }),
2180
- /* @__PURE__ */ l("span", { style: a.metaStripDot, children: "·" }),
2181
- /* @__PURE__ */ l("span", { style: a.metaStripItem, children: h }),
2180
+ /* @__PURE__ */ d("span", { style: a.metaStripDot, children: "·" }),
2181
+ /* @__PURE__ */ d("span", { style: a.metaStripItem, children: h }),
2182
2182
  K > 0 ? /* @__PURE__ */ p(Sr, { children: [
2183
- /* @__PURE__ */ l("span", { style: a.metaStripDot, children: "·" }),
2184
- /* @__PURE__ */ l("span", { style: a.metaStripItem, children: K === 1 ? "1 source" : `${K} sources` })
2183
+ /* @__PURE__ */ d("span", { style: a.metaStripDot, children: "·" }),
2184
+ /* @__PURE__ */ d("span", { style: a.metaStripItem, children: K === 1 ? "1 source" : `${K} sources` })
2185
2185
  ] }) : null
2186
2186
  ] })
2187
2187
  ] }),
2188
- m.length ? /* @__PURE__ */ l(dr, { tone: "error", title: "Error", items: m }) : null,
2189
- v.length ? /* @__PURE__ */ l(dr, { tone: "warning", title: "Warnings", items: v }) : null,
2190
- /* @__PURE__ */ l(rn, { trace: e }),
2191
- y ? /* @__PURE__ */ l(un, { inputs: e.inputsApplied }) : null,
2192
- /* @__PURE__ */ l(
2188
+ m.length ? /* @__PURE__ */ d(lr, { tone: "error", title: "Error", items: m }) : null,
2189
+ v.length ? /* @__PURE__ */ d(lr, { tone: "warning", title: "Warnings", items: v }) : null,
2190
+ /* @__PURE__ */ d(rn, { trace: e }),
2191
+ y ? /* @__PURE__ */ d(un, { inputs: e.inputsApplied }) : null,
2192
+ /* @__PURE__ */ d(
2193
2193
  Yt,
2194
2194
  {
2195
2195
  trace: e,
@@ -2213,11 +2213,11 @@ function Yt({
2213
2213
  r && o.push({
2214
2214
  id: "returned",
2215
2215
  label: "Returned",
2216
- render: () => /* @__PURE__ */ l(cn, { preview: r })
2216
+ render: () => /* @__PURE__ */ d(cn, { preview: r })
2217
2217
  }), i && o.push({
2218
2218
  id: "compiled",
2219
2219
  label: "Compiled",
2220
- render: () => /* @__PURE__ */ l(
2220
+ render: () => /* @__PURE__ */ d(
2221
2221
  fn,
2222
2222
  {
2223
2223
  compiledQuery: t,
@@ -2227,21 +2227,21 @@ function Yt({
2227
2227
  }), (e.sourceRefs.length || e.fieldRefs.length) && o.push({
2228
2228
  id: "lineage",
2229
2229
  label: "Sources",
2230
- render: () => /* @__PURE__ */ l(on, { trace: e })
2230
+ render: () => /* @__PURE__ */ d(on, { trace: e })
2231
2231
  }), (b = e.sourceHints) != null && b.length && o.push({
2232
2232
  id: "hints",
2233
2233
  label: "Hints",
2234
- render: () => /* @__PURE__ */ l(sn, { hints: e.sourceHints ?? [] })
2234
+ render: () => /* @__PURE__ */ d(sn, { hints: e.sourceHints ?? [] })
2235
2235
  }), o.push({
2236
2236
  id: "lifecycle",
2237
2237
  label: "Lifecycle",
2238
- render: () => /* @__PURE__ */ l(Xt, { trace: e })
2238
+ render: () => /* @__PURE__ */ d(Xt, { trace: e })
2239
2239
  }), o.push({
2240
2240
  id: "raw",
2241
2241
  label: "Raw",
2242
- render: () => /* @__PURE__ */ l("pre", { style: a.codeBlock, children: Ln(e) })
2242
+ render: () => /* @__PURE__ */ d("pre", { style: a.codeBlock, children: Ln(e) })
2243
2243
  });
2244
- const s = (k = o[0]) == null ? void 0 : k.id, c = e.traceId || `${e.viewId ?? ""}:${e.queryId}`, [u, f] = z(s), g = E(c), m = E(!1), v = o.map((d) => d.id).join("|");
2244
+ const s = (k = o[0]) == null ? void 0 : k.id, c = e.traceId || `${e.viewId ?? ""}:${e.queryId}`, [u, f] = z(s), g = E(c), m = E(!1), v = o.map((l) => l.id).join("|");
2245
2245
  B(() => {
2246
2246
  if (g.current !== c) {
2247
2247
  g.current = c, m.current = !1, f(s);
@@ -2253,11 +2253,11 @@ function Yt({
2253
2253
  }
2254
2254
  !m.current && u !== s && f(s);
2255
2255
  }, [u, s, v, c]);
2256
- const y = o.find((d) => d.id === u) ?? o[0];
2256
+ const y = o.find((l) => l.id === u) ?? o[0];
2257
2257
  return /* @__PURE__ */ p("div", { style: a.traceTabs, children: [
2258
- /* @__PURE__ */ l("div", { style: a.traceTabBar, role: "tablist", "aria-label": "Trace details", children: o.map((d) => {
2259
- const h = d.id === y.id;
2260
- return /* @__PURE__ */ l(
2258
+ /* @__PURE__ */ d("div", { style: a.traceTabBar, role: "tablist", "aria-label": "Trace details", children: o.map((l) => {
2259
+ const h = l.id === y.id;
2260
+ return /* @__PURE__ */ d(
2261
2261
  "button",
2262
2262
  {
2263
2263
  type: "button",
@@ -2269,33 +2269,33 @@ function Yt({
2269
2269
  ...h ? a.traceTabActive : null
2270
2270
  },
2271
2271
  onClick: () => {
2272
- m.current = !0, f(d.id);
2272
+ m.current = !0, f(l.id);
2273
2273
  },
2274
- children: d.label
2274
+ children: l.label
2275
2275
  },
2276
- d.id
2276
+ l.id
2277
2277
  );
2278
2278
  }) }),
2279
- /* @__PURE__ */ l("div", { style: a.traceTabPanel, role: "tabpanel", children: y.render() })
2279
+ /* @__PURE__ */ d("div", { style: a.traceTabPanel, role: "tabpanel", children: y.render() })
2280
2280
  ] });
2281
2281
  }
2282
2282
  function Xt({
2283
2283
  trace: e
2284
2284
  }) {
2285
- return e.recentEvents.length ? /* @__PURE__ */ l("div", { style: a.eventList, children: e.recentEvents.slice(-5).map((r, t) => /* @__PURE__ */ p("div", { style: a.eventRow, children: [
2286
- /* @__PURE__ */ l("span", { style: a.eventType, children: $n(r) }),
2287
- /* @__PURE__ */ l("span", { style: a.eventMeta, children: On(r) })
2288
- ] }, `${r.type}:${r.at}:${t}`)) }) : /* @__PURE__ */ l("div", { style: a.mutedText, children: "No attempts recorded" });
2285
+ return e.recentEvents.length ? /* @__PURE__ */ d("div", { style: a.eventList, children: e.recentEvents.slice(-5).map((r, t) => /* @__PURE__ */ p("div", { style: a.eventRow, children: [
2286
+ /* @__PURE__ */ d("span", { style: a.eventType, children: $n(r) }),
2287
+ /* @__PURE__ */ d("span", { style: a.eventMeta, children: On(r) })
2288
+ ] }, `${r.type}:${r.at}:${t}`)) }) : /* @__PURE__ */ d("div", { style: a.mutedText, children: "No attempts recorded" });
2289
2289
  }
2290
- function dr({
2290
+ function lr({
2291
2291
  tone: e,
2292
2292
  title: r,
2293
2293
  items: t
2294
2294
  }) {
2295
2295
  const n = e === "error" ? a.alertCardError : a.alertCardWarning;
2296
2296
  return /* @__PURE__ */ p("div", { style: { ...a.alertCard, ...n }, children: [
2297
- /* @__PURE__ */ l("div", { style: a.alertCardTitle, children: r }),
2298
- t.length > 1 ? /* @__PURE__ */ l("ul", { style: a.alertCardList, children: t.map((i, o) => /* @__PURE__ */ l("li", { children: i }, `${e}-${o}`)) }) : /* @__PURE__ */ l("div", { children: t[0] })
2297
+ /* @__PURE__ */ d("div", { style: a.alertCardTitle, children: r }),
2298
+ t.length > 1 ? /* @__PURE__ */ d("ul", { style: a.alertCardList, children: t.map((i, o) => /* @__PURE__ */ d("li", { children: i }, `${e}-${o}`)) }) : /* @__PURE__ */ d("div", { children: t[0] })
2299
2299
  ] });
2300
2300
  }
2301
2301
  function Zt({
@@ -2316,10 +2316,10 @@ function Zt({
2316
2316
  onClick: () => n((f) => !f),
2317
2317
  children: [
2318
2318
  /* @__PURE__ */ p("span", { style: a.issueSummaryHeaderLabel, children: [
2319
- t ? /* @__PURE__ */ l(bt, { size: 13 }) : /* @__PURE__ */ l(yt, { size: 13 }),
2320
- /* @__PURE__ */ l("span", { children: "Issues" })
2319
+ t ? /* @__PURE__ */ d(bt, { size: 13 }) : /* @__PURE__ */ d(yt, { size: 13 }),
2320
+ /* @__PURE__ */ d("span", { children: "Issues" })
2321
2321
  ] }),
2322
- /* @__PURE__ */ l("span", { style: a.issueSummaryCount, children: e.length })
2322
+ /* @__PURE__ */ d("span", { style: a.issueSummaryCount, children: e.length })
2323
2323
  ]
2324
2324
  }
2325
2325
  ),
@@ -2332,7 +2332,7 @@ function Zt({
2332
2332
  style: a.issueSummaryItem,
2333
2333
  onClick: () => r(f.trace),
2334
2334
  children: [
2335
- /* @__PURE__ */ l(
2335
+ /* @__PURE__ */ d(
2336
2336
  "span",
2337
2337
  {
2338
2338
  style: {
@@ -2343,8 +2343,8 @@ function Zt({
2343
2343
  }
2344
2344
  ),
2345
2345
  /* @__PURE__ */ p("span", { style: a.issueSummaryText, children: [
2346
- /* @__PURE__ */ l("span", { style: a.issueSummaryTitle, children: f.title }),
2347
- /* @__PURE__ */ l("span", { style: a.issueSummaryMessage, children: f.message })
2346
+ /* @__PURE__ */ d("span", { style: a.issueSummaryTitle, children: f.title }),
2347
+ /* @__PURE__ */ d("span", { style: a.issueSummaryMessage, children: f.message })
2348
2348
  ] })
2349
2349
  ]
2350
2350
  },
@@ -2365,7 +2365,7 @@ function Zt({
2365
2365
  function en({
2366
2366
  status: e
2367
2367
  }) {
2368
- return /* @__PURE__ */ l(
2368
+ return /* @__PURE__ */ d(
2369
2369
  "span",
2370
2370
  {
2371
2371
  "aria-hidden": !0,
@@ -2382,10 +2382,10 @@ function rn({
2382
2382
  var i;
2383
2383
  const r = (i = e.projectionFieldRefs) != null && i.length ? e.projectionFieldRefs : e.fieldRefs, t = e.inputFieldRefs || [], n = qn(r);
2384
2384
  return /* @__PURE__ */ p("div", { style: a.recipe, children: [
2385
- /* @__PURE__ */ l(tn, { sources: e.sourceRefs }),
2386
- /* @__PURE__ */ l(H, { title: "Measures", fields: n.measures }),
2387
- /* @__PURE__ */ l(H, { title: "Time fields", fields: n.timeFields }),
2388
- /* @__PURE__ */ l(
2385
+ /* @__PURE__ */ d(tn, { sources: e.sourceRefs }),
2386
+ /* @__PURE__ */ d(H, { title: "Measures", fields: n.measures }),
2387
+ /* @__PURE__ */ d(H, { title: "Time fields", fields: n.timeFields }),
2388
+ /* @__PURE__ */ d(
2389
2389
  H,
2390
2390
  {
2391
2391
  title: "Dimensions",
@@ -2393,9 +2393,9 @@ function rn({
2393
2393
  emptyText: "No dimensions selected"
2394
2394
  }
2395
2395
  ),
2396
- /* @__PURE__ */ l(H, { title: "Identifiers", fields: n.identifiers }),
2397
- /* @__PURE__ */ l(H, { title: "Other fields", fields: n.other }),
2398
- /* @__PURE__ */ l(
2396
+ /* @__PURE__ */ d(H, { title: "Identifiers", fields: n.identifiers }),
2397
+ /* @__PURE__ */ d(H, { title: "Other fields", fields: n.other }),
2398
+ /* @__PURE__ */ d(
2399
2399
  H,
2400
2400
  {
2401
2401
  title: "Input bindings (Filters)",
@@ -2409,10 +2409,10 @@ function tn({
2409
2409
  }) {
2410
2410
  return e.length ? /* @__PURE__ */ p("div", { style: a.recipeGroup, children: [
2411
2411
  /* @__PURE__ */ p("div", { style: a.recipeGroupHeader, children: [
2412
- /* @__PURE__ */ l("span", { style: a.recipeGroupTitle, children: "From" }),
2413
- /* @__PURE__ */ l("span", { style: a.recipeGroupCount, children: e.length })
2412
+ /* @__PURE__ */ d("span", { style: a.recipeGroupTitle, children: "From" }),
2413
+ /* @__PURE__ */ d("span", { style: a.recipeGroupCount, children: e.length })
2414
2414
  ] }),
2415
- /* @__PURE__ */ l("div", { style: a.sourcePillRow, children: e.map((r, t) => /* @__PURE__ */ l(
2415
+ /* @__PURE__ */ d("div", { style: a.sourcePillRow, children: e.map((r, t) => /* @__PURE__ */ d(
2416
2416
  nn,
2417
2417
  {
2418
2418
  source: r
@@ -2424,16 +2424,16 @@ function tn({
2424
2424
  function nn({ source: e }) {
2425
2425
  const r = F(e);
2426
2426
  return /* @__PURE__ */ p("span", { style: a.sourcePill, title: r, children: [
2427
- /* @__PURE__ */ l("span", { style: a.sourcePillLabel, children: r }),
2428
- /* @__PURE__ */ l("span", { style: a.sourcePillRole, children: e.kind })
2427
+ /* @__PURE__ */ d("span", { style: a.sourcePillLabel, children: r }),
2428
+ /* @__PURE__ */ d("span", { style: a.sourcePillRole, children: e.kind })
2429
2429
  ] });
2430
2430
  }
2431
2431
  function on({
2432
2432
  trace: e
2433
2433
  }) {
2434
2434
  return /* @__PURE__ */ p("div", { style: a.traceLineage, children: [
2435
- /* @__PURE__ */ l(an, { sources: e.sourceRefs }),
2436
- /* @__PURE__ */ l(
2435
+ /* @__PURE__ */ d(an, { sources: e.sourceRefs }),
2436
+ /* @__PURE__ */ d(
2437
2437
  H,
2438
2438
  {
2439
2439
  title: "All field refs",
@@ -2446,7 +2446,7 @@ function on({
2446
2446
  function sn({
2447
2447
  hints: e
2448
2448
  }) {
2449
- return /* @__PURE__ */ l("div", { style: a.recipeFieldList, children: e.map((r, t) => {
2449
+ return /* @__PURE__ */ d("div", { style: a.recipeFieldList, children: e.map((r, t) => {
2450
2450
  const n = Tn(r), i = r.component || r.exportName || n || "Source hint", o = [
2451
2451
  r.exportName && r.exportName !== i ? r.exportName : void 0,
2452
2452
  n,
@@ -2458,8 +2458,8 @@ function sn({
2458
2458
  style: a.recipeFieldRow,
2459
2459
  title: o || i,
2460
2460
  children: [
2461
- /* @__PURE__ */ l("span", { style: a.recipeFieldName, children: i }),
2462
- o ? /* @__PURE__ */ l("span", { style: a.recipeFieldMeta, children: o }) : null
2461
+ /* @__PURE__ */ d("span", { style: a.recipeFieldName, children: i }),
2462
+ o ? /* @__PURE__ */ d("span", { style: a.recipeFieldMeta, children: o }) : null
2463
2463
  ]
2464
2464
  },
2465
2465
  `${i}:${n}:${t}`
@@ -2471,21 +2471,21 @@ function an({
2471
2471
  }) {
2472
2472
  return /* @__PURE__ */ p("div", { style: a.recipeGroup, children: [
2473
2473
  /* @__PURE__ */ p("div", { style: a.recipeGroupHeader, children: [
2474
- /* @__PURE__ */ l("span", { style: a.recipeGroupTitle, children: "Sources" }),
2475
- /* @__PURE__ */ l("span", { style: a.recipeGroupCount, children: e.length })
2474
+ /* @__PURE__ */ d("span", { style: a.recipeGroupTitle, children: "Sources" }),
2475
+ /* @__PURE__ */ d("span", { style: a.recipeGroupCount, children: e.length })
2476
2476
  ] }),
2477
- e.length ? /* @__PURE__ */ l("div", { style: a.recipeFieldList, children: e.map((r, t) => /* @__PURE__ */ p(
2477
+ e.length ? /* @__PURE__ */ d("div", { style: a.recipeFieldList, children: e.map((r, t) => /* @__PURE__ */ p(
2478
2478
  "div",
2479
2479
  {
2480
2480
  style: a.recipeFieldRow,
2481
2481
  title: F(r),
2482
2482
  children: [
2483
- /* @__PURE__ */ l("span", { style: a.recipeFieldName, children: F(r) }),
2484
- /* @__PURE__ */ l("span", { style: a.recipeFieldMeta, children: r.kind })
2483
+ /* @__PURE__ */ d("span", { style: a.recipeFieldName, children: F(r) }),
2484
+ /* @__PURE__ */ d("span", { style: a.recipeFieldMeta, children: r.kind })
2485
2485
  ]
2486
2486
  },
2487
2487
  `${F(r)}:${t}`
2488
- )) }) : /* @__PURE__ */ l("div", { style: a.recipeEmptyText, children: "No sources captured" })
2488
+ )) }) : /* @__PURE__ */ d("div", { style: a.recipeEmptyText, children: "No sources captured" })
2489
2489
  ] });
2490
2490
  }
2491
2491
  function H({
@@ -2495,24 +2495,24 @@ function H({
2495
2495
  }) {
2496
2496
  return !r.length && !t ? null : /* @__PURE__ */ p("div", { style: a.recipeGroup, children: [
2497
2497
  /* @__PURE__ */ p("div", { style: a.recipeGroupHeader, children: [
2498
- /* @__PURE__ */ l("span", { style: a.recipeGroupTitle, children: e }),
2499
- /* @__PURE__ */ l("span", { style: a.recipeGroupCount, children: r.length })
2498
+ /* @__PURE__ */ d("span", { style: a.recipeGroupTitle, children: e }),
2499
+ /* @__PURE__ */ d("span", { style: a.recipeGroupCount, children: r.length })
2500
2500
  ] }),
2501
- r.length ? /* @__PURE__ */ l("div", { style: a.fieldChipList, children: r.map((n, i) => /* @__PURE__ */ l(
2502
- ln,
2501
+ r.length ? /* @__PURE__ */ d("div", { style: a.fieldChipList, children: r.map((n, i) => /* @__PURE__ */ d(
2502
+ dn,
2503
2503
  {
2504
2504
  field: n,
2505
2505
  groupTitle: e
2506
2506
  },
2507
2507
  `${Ge(n)}:${i}`
2508
- )) }) : /* @__PURE__ */ l("div", { style: a.recipeEmptyText, children: t })
2508
+ )) }) : /* @__PURE__ */ d("div", { style: a.recipeEmptyText, children: t })
2509
2509
  ] });
2510
2510
  }
2511
- function ln({
2511
+ function dn({
2512
2512
  field: e,
2513
2513
  groupTitle: r
2514
2514
  }) {
2515
- const t = kn(e), n = e.label || e.name, i = e.dataType && e.dataType !== "unknown" ? e.dataType : void 0, o = e.source ? F(e.source) : void 0, s = [t, i, o].filter(Boolean).join(" · "), c = dn(e, r);
2515
+ const t = kn(e), n = e.label || e.name, i = e.dataType && e.dataType !== "unknown" ? e.dataType : void 0, o = e.source ? F(e.source) : void 0, s = [t, i, o].filter(Boolean).join(" · "), c = ln(e, r);
2516
2516
  return /* @__PURE__ */ p(
2517
2517
  "div",
2518
2518
  {
@@ -2520,17 +2520,17 @@ function ln({
2520
2520
  style: a.fieldChip,
2521
2521
  title: s,
2522
2522
  children: [
2523
- /* @__PURE__ */ l("span", { style: { ...a.fieldGlyph, ...c.style }, children: c.text }),
2524
- e.aggregate ? /* @__PURE__ */ l("span", { style: a.fieldAggBadge, children: e.aggregate }) : null,
2525
- /* @__PURE__ */ l("span", { style: a.fieldChipName, children: n }),
2526
- i ? /* @__PURE__ */ l("span", { style: a.fieldChipMeta, children: i }) : null,
2527
- i && o ? /* @__PURE__ */ l("span", { style: a.fieldChipMetaDot, children: "·" }) : null,
2528
- o ? /* @__PURE__ */ l("span", { style: a.fieldChipMeta, children: o }) : null
2523
+ /* @__PURE__ */ d("span", { style: { ...a.fieldGlyph, ...c.style }, children: c.text }),
2524
+ e.aggregate ? /* @__PURE__ */ d("span", { style: a.fieldAggBadge, children: e.aggregate }) : null,
2525
+ /* @__PURE__ */ d("span", { style: a.fieldChipName, children: n }),
2526
+ i ? /* @__PURE__ */ d("span", { style: a.fieldChipMeta, children: i }) : null,
2527
+ i && o ? /* @__PURE__ */ d("span", { style: a.fieldChipMetaDot, children: "·" }) : null,
2528
+ o ? /* @__PURE__ */ d("span", { style: a.fieldChipMeta, children: o }) : null
2529
2529
  ]
2530
2530
  }
2531
2531
  );
2532
2532
  }
2533
- function dn(e, r) {
2533
+ function ln(e, r) {
2534
2534
  const t = e.dataType, n = e.role;
2535
2535
  return !!e.aggregate || n === "measure" || r === "Measures" ? {
2536
2536
  text: "Σ",
@@ -2574,10 +2574,10 @@ function un({
2574
2574
  }) {
2575
2575
  return /* @__PURE__ */ p("div", { style: a.inputsAppliedBlock, children: [
2576
2576
  /* @__PURE__ */ p("div", { style: a.inputsAppliedHeader, children: [
2577
- /* @__PURE__ */ l("span", { style: a.inputsAppliedTitle, children: "Active Inputs (Active Filters)" }),
2578
- /* @__PURE__ */ l("span", { style: a.inputsAppliedCount, children: e.length })
2577
+ /* @__PURE__ */ d("span", { style: a.inputsAppliedTitle, children: "Active Inputs (Active Filters)" }),
2578
+ /* @__PURE__ */ d("span", { style: a.inputsAppliedCount, children: e.length })
2579
2579
  ] }),
2580
- /* @__PURE__ */ l("div", { style: a.inputRecipeList, children: e.map((r) => {
2580
+ /* @__PURE__ */ d("div", { style: a.inputRecipeList, children: e.map((r) => {
2581
2581
  const t = Cn(r);
2582
2582
  return /* @__PURE__ */ p(
2583
2583
  "div",
@@ -2586,12 +2586,12 @@ function un({
2586
2586
  title: t.title,
2587
2587
  children: [
2588
2588
  /* @__PURE__ */ p("div", { style: a.inputRecipeHeader, children: [
2589
- /* @__PURE__ */ l("span", { style: a.inputRecipeLabel, title: t.title, children: t.label }),
2590
- t.showId ? /* @__PURE__ */ l("span", { style: a.inputRecipeId, title: r.inputId, children: r.inputId }) : null,
2591
- t.operator ? /* @__PURE__ */ l("span", { style: a.inputOperatorBadge, children: t.operator }) : null,
2592
- /* @__PURE__ */ l("span", { style: a.inputValuePreview, title: t.value, children: t.value })
2589
+ /* @__PURE__ */ d("span", { style: a.inputRecipeLabel, title: t.title, children: t.label }),
2590
+ t.showId ? /* @__PURE__ */ d("span", { style: a.inputRecipeId, title: r.inputId, children: r.inputId }) : null,
2591
+ t.operator ? /* @__PURE__ */ d("span", { style: a.inputOperatorBadge, children: t.operator }) : null,
2592
+ /* @__PURE__ */ d("span", { style: a.inputValuePreview, title: t.value, children: t.value })
2593
2593
  ] }),
2594
- t.binding ? /* @__PURE__ */ l("div", { style: a.inputRecipeBinding, title: t.binding, children: t.binding }) : null
2594
+ t.binding ? /* @__PURE__ */ d("div", { style: a.inputRecipeBinding, title: t.binding, children: t.binding }) : null
2595
2595
  ]
2596
2596
  },
2597
2597
  r.inputId
@@ -2604,12 +2604,12 @@ function cn({
2604
2604
  }) {
2605
2605
  return /* @__PURE__ */ p("div", { style: a.resultPreview, children: [
2606
2606
  /* @__PURE__ */ p("div", { style: a.resultPreviewHeader, children: [
2607
- /* @__PURE__ */ l("span", { style: a.resultPreviewTitle, children: e.title }),
2608
- /* @__PURE__ */ l("span", { style: a.resultPreviewSummary, children: e.summary })
2607
+ /* @__PURE__ */ d("span", { style: a.resultPreviewTitle, children: e.title }),
2608
+ /* @__PURE__ */ d("span", { style: a.resultPreviewSummary, children: e.summary })
2609
2609
  ] }),
2610
- /* @__PURE__ */ l("div", { style: a.resultPreviewScroller, children: /* @__PURE__ */ p("table", { style: a.resultPreviewTable, children: [
2611
- /* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: e.columns.map((r) => /* @__PURE__ */ l("th", { style: a.resultPreviewTh, children: r.label }, r.key)) }) }),
2612
- /* @__PURE__ */ l("tbody", { children: e.rows.length ? e.rows.map((r, t) => /* @__PURE__ */ l("tr", { children: e.columns.map((n) => /* @__PURE__ */ l("td", { style: a.resultPreviewTd, children: xt(r[n.key]) }, n.key)) }, t)) : /* @__PURE__ */ l("tr", { children: /* @__PURE__ */ l(
2610
+ /* @__PURE__ */ d("div", { style: a.resultPreviewScroller, children: /* @__PURE__ */ p("table", { style: a.resultPreviewTable, children: [
2611
+ /* @__PURE__ */ d("thead", { children: /* @__PURE__ */ d("tr", { children: e.columns.map((r) => /* @__PURE__ */ d("th", { style: a.resultPreviewTh, children: r.label }, r.key)) }) }),
2612
+ /* @__PURE__ */ d("tbody", { children: e.rows.length ? e.rows.map((r, t) => /* @__PURE__ */ d("tr", { children: e.columns.map((n) => /* @__PURE__ */ d("td", { style: a.resultPreviewTd, children: xt(r[n.key]) }, n.key)) }, t)) : /* @__PURE__ */ d("tr", { children: /* @__PURE__ */ d(
2613
2613
  "td",
2614
2614
  {
2615
2615
  colSpan: e.columns.length,
@@ -2633,24 +2633,24 @@ function fn({
2633
2633
  compiledSql: r
2634
2634
  }) {
2635
2635
  return (e == null ? void 0 : e.kind) === "sql" ? /* @__PURE__ */ p("div", { style: a.compiledQuery, children: [
2636
- /* @__PURE__ */ l(ur, { label: "SQL", value: e.sql }),
2637
- e.pythonCode ? /* @__PURE__ */ l($e, { label: "Python", value: e.pythonCode }) : null,
2638
- e.parameters ? /* @__PURE__ */ l(
2636
+ /* @__PURE__ */ d(ur, { label: "SQL", value: e.sql }),
2637
+ e.pythonCode ? /* @__PURE__ */ d($e, { label: "Python", value: e.pythonCode }) : null,
2638
+ e.parameters ? /* @__PURE__ */ d(
2639
2639
  $e,
2640
2640
  {
2641
2641
  label: "Parameters",
2642
2642
  value: _e(e.parameters)
2643
2643
  }
2644
2644
  ) : null
2645
- ] }) : r ? /* @__PURE__ */ l(ur, { label: "SQL", value: r }) : /* @__PURE__ */ l($e, { label: "Compiled Query", value: _e(e) });
2645
+ ] }) : r ? /* @__PURE__ */ d(ur, { label: "SQL", value: r }) : /* @__PURE__ */ d($e, { label: "Compiled Query", value: _e(e) });
2646
2646
  }
2647
2647
  function $e({
2648
2648
  label: e,
2649
2649
  value: r
2650
2650
  }) {
2651
2651
  return /* @__PURE__ */ p("div", { style: a.codeBlockGroup, children: [
2652
- /* @__PURE__ */ l("div", { style: a.codeBlockLabel, children: e }),
2653
- /* @__PURE__ */ l("pre", { style: a.codeBlock, children: r })
2652
+ /* @__PURE__ */ d("div", { style: a.codeBlockLabel, children: e }),
2653
+ /* @__PURE__ */ d("pre", { style: a.codeBlock, children: r })
2654
2654
  ] });
2655
2655
  }
2656
2656
  function ur({
@@ -2658,8 +2658,8 @@ function ur({
2658
2658
  value: r
2659
2659
  }) {
2660
2660
  return /* @__PURE__ */ p("div", { style: a.codeBlockGroup, children: [
2661
- /* @__PURE__ */ l("div", { style: a.codeBlockLabel, children: e }),
2662
- /* @__PURE__ */ l("pre", { style: a.codeBlock, children: gn(r) })
2661
+ /* @__PURE__ */ d("div", { style: a.codeBlockLabel, children: e }),
2662
+ /* @__PURE__ */ d("pre", { style: a.codeBlock, children: gn(r) })
2663
2663
  ] });
2664
2664
  }
2665
2665
  const pn = /* @__PURE__ */ new Set([
@@ -2704,7 +2704,7 @@ function gn(e) {
2704
2704
  return e.split(/(\s+|,|\(|\))/).map((t, n) => {
2705
2705
  if (!t) return null;
2706
2706
  const i = t.toUpperCase();
2707
- return pn.has(i) ? /* @__PURE__ */ l("span", { style: a.sqlKeyword, children: t }, n) : t.startsWith("$") || t.startsWith(":") || t.startsWith("?") ? /* @__PURE__ */ l("span", { style: a.sqlBindParam, children: t }, n) : /* @__PURE__ */ l("span", { children: t }, n);
2707
+ return pn.has(i) ? /* @__PURE__ */ d("span", { style: a.sqlKeyword, children: t }, n) : t.startsWith("$") || t.startsWith(":") || t.startsWith("?") ? /* @__PURE__ */ d("span", { style: a.sqlBindParam, children: t }, n) : /* @__PURE__ */ d("span", { children: t }, n);
2708
2708
  });
2709
2709
  }
2710
2710
  function mn(e) {
@@ -3115,7 +3115,7 @@ function ve(e) {
3115
3115
  } = e;
3116
3116
  return o;
3117
3117
  }
3118
- function de(e) {
3118
+ function le(e) {
3119
3119
  if (!e.enabled)
3120
3120
  return Cr;
3121
3121
  const r = e.order.map((n) => e.entries[n]).filter((n) => !!n).map(ve), t = He(r).map(Ct);
@@ -3134,10 +3134,10 @@ function de(e) {
3134
3134
  }
3135
3135
  function Hn(e) {
3136
3136
  return {
3137
- snapshot: () => $t(de(e())),
3138
- getQuery: (r) => ar(de(e()).getQuery(r)),
3139
- getQueries: (r) => de(e()).getQueries(r).map((t) => ar(t)).filter((t) => !!t),
3140
- getIssues: () => de(e()).issues
3137
+ snapshot: () => $t(le(e())),
3138
+ getQuery: (r) => ar(le(e()).getQuery(r)),
3139
+ getQueries: (r) => le(e()).getQueries(r).map((t) => ar(t)).filter((t) => !!t),
3140
+ getIssues: () => le(e()).issues
3141
3141
  };
3142
3142
  }
3143
3143
  function Vn(e) {
@@ -3386,7 +3386,7 @@ function si(e) {
3386
3386
  if (!r || typeof r != "object")
3387
3387
  return;
3388
3388
  const t = {};
3389
- return Fe(r.primaryValue) && (t.primaryValue = r.primaryValue), Fe(r.comparisonValue) && (t.comparisonValue = r.comparisonValue), typeof r.comparisonKind == "string" && (t.comparisonKind = r.comparisonKind), (typeof r.delta == "number" || r.delta === null) && (t.delta = r.delta), (typeof r.deltaPercent == "number" || r.deltaPercent === null) && (t.deltaPercent = r.deltaPercent), ai(r.measures) && (t.measures = r.measures), li(r.measureBindings) && (t.measureBindings = r.measureBindings), Array.isArray(r.missingMeasures) && (t.missingMeasures = r.missingMeasures.filter(
3389
+ return Fe(r.primaryValue) && (t.primaryValue = r.primaryValue), Fe(r.comparisonValue) && (t.comparisonValue = r.comparisonValue), typeof r.comparisonKind == "string" && (t.comparisonKind = r.comparisonKind), (typeof r.delta == "number" || r.delta === null) && (t.delta = r.delta), (typeof r.deltaPercent == "number" || r.deltaPercent === null) && (t.deltaPercent = r.deltaPercent), ai(r.measures) && (t.measures = r.measures), di(r.measureBindings) && (t.measureBindings = r.measureBindings), Array.isArray(r.missingMeasures) && (t.missingMeasures = r.missingMeasures.filter(
3390
3390
  (n) => typeof n == "string" && !!n
3391
3391
  )), Object.keys(t).length > 0 ? t : void 0;
3392
3392
  }
@@ -3396,7 +3396,7 @@ function Fe(e) {
3396
3396
  function ai(e) {
3397
3397
  return e !== null && typeof e == "object" && !Array.isArray(e) && Object.values(e).every(Fe);
3398
3398
  }
3399
- function li(e) {
3399
+ function di(e) {
3400
3400
  return e !== null && typeof e == "object" && !Array.isArray(e) && Object.values(e).every((r) => typeof r == "string");
3401
3401
  }
3402
3402
  function yr(e) {
@@ -3415,7 +3415,7 @@ function be() {
3415
3415
  function Je() {
3416
3416
  return typeof performance < "u" && performance.now ? performance.now() : Date.now();
3417
3417
  }
3418
- const di = [
3418
+ const li = [
3419
3419
  "primary",
3420
3420
  "comparisons",
3421
3421
  "contributors",
@@ -3464,7 +3464,7 @@ function Mr(e) {
3464
3464
  }
3465
3465
  function ci(e, r) {
3466
3466
  const t = fi(e.resultSets);
3467
- for (const i of di) {
3467
+ for (const i of li) {
3468
3468
  if (t[i])
3469
3469
  continue;
3470
3470
  const o = hi(e[i]);
@@ -3769,7 +3769,7 @@ function Ti(e) {
3769
3769
  function Ei(e) {
3770
3770
  const r = Y(e.inputs);
3771
3771
  try {
3772
- const t = Yr(e), n = dt.parse(e.matrixWindowRequest), i = Z(t);
3772
+ const t = Yr(e), n = lt.parse(e.matrixWindowRequest), i = Z(t);
3773
3773
  return i ? {
3774
3774
  error: i,
3775
3775
  activeInputs: r,
@@ -3852,7 +3852,7 @@ function Ri(e) {
3852
3852
  return e instanceof Error && e.kind === "data_app_query_error";
3853
3853
  }
3854
3854
  function Z(e, r = e.kind) {
3855
- const t = lt(e);
3855
+ const t = dt(e);
3856
3856
  if (t.ok)
3857
3857
  return null;
3858
3858
  const n = t.errors.map(
@@ -4255,45 +4255,45 @@ function po(e, r = {}) {
4255
4255
  i.success
4256
4256
  ]
4257
4257
  ), c = D(
4258
- (d) => {
4258
+ (l) => {
4259
4259
  var K, C, M, $, w, S, L, x, O;
4260
4260
  const h = n.request;
4261
4261
  if (h.intent)
4262
4262
  switch (n.queryKind) {
4263
4263
  case "metric":
4264
- return (K = d.executor) == null ? void 0 : K.executeMetric(
4264
+ return (K = l.executor) == null ? void 0 : K.executeMetric(
4265
4265
  h.intent,
4266
- d
4266
+ l
4267
4267
  );
4268
4268
  case "analysis":
4269
- return (M = (C = d.executor) == null ? void 0 : C.executeAnalysis) == null ? void 0 : M.call(
4269
+ return (M = (C = l.executor) == null ? void 0 : C.executeAnalysis) == null ? void 0 : M.call(
4270
4270
  C,
4271
4271
  h.intent,
4272
- d,
4272
+ l,
4273
4273
  h.analysisOptions
4274
4274
  );
4275
4275
  case "records":
4276
- return ($ = d.executor) == null ? void 0 : $.executeRecords(
4276
+ return ($ = l.executor) == null ? void 0 : $.executeRecords(
4277
4277
  h.intent,
4278
- d
4278
+ l
4279
4279
  );
4280
4280
  case "inputOptions":
4281
- return (w = d.executor) == null ? void 0 : w.executeInputOptions(
4281
+ return (w = l.executor) == null ? void 0 : w.executeInputOptions(
4282
4282
  h.intent,
4283
- d
4283
+ l
4284
4284
  );
4285
4285
  case "sql":
4286
- return (L = (S = d.executor) == null ? void 0 : S.executeSql) == null ? void 0 : L.call(
4286
+ return (L = (S = l.executor) == null ? void 0 : S.executeSql) == null ? void 0 : L.call(
4287
4287
  S,
4288
4288
  h.intent,
4289
- d
4289
+ l
4290
4290
  );
4291
4291
  case "matrix":
4292
4292
  if (!h.matrixWindowRequest) throw new Error("Matrix window request is required.");
4293
- return (O = (x = d.executor) == null ? void 0 : x.executeMatrix) == null ? void 0 : O.call(
4293
+ return (O = (x = l.executor) == null ? void 0 : x.executeMatrix) == null ? void 0 : O.call(
4294
4294
  x,
4295
4295
  { intent: h.intent, matrixWindowRequest: h.matrixWindowRequest },
4296
- d
4296
+ l
4297
4297
  );
4298
4298
  default:
4299
4299
  return we(n);
@@ -4308,13 +4308,13 @@ function po(e, r = {}) {
4308
4308
  s
4309
4309
  ), f = i.queryId, g = i.validationFailure;
4310
4310
  B(() => {
4311
- const d = n.request.error;
4312
- if (!d) {
4311
+ const l = n.request.error;
4312
+ if (!l) {
4313
4313
  o.current = null;
4314
4314
  return;
4315
4315
  }
4316
- const h = `${f}:${d.message}`;
4317
- o.current !== h && (o.current = h, g(d));
4316
+ const h = `${f}:${l.message}`;
4317
+ o.current !== h && (o.current = h, g(l));
4318
4318
  }, [
4319
4319
  n.request.error,
4320
4320
  n.request.queryKey,
@@ -4324,127 +4324,129 @@ function po(e, r = {}) {
4324
4324
  const m = n.request.error ? n.request.idleData : u.data, v = n.request.error ? "error" : u.status, y = !n.request.error && u.status === "loading", b = n.request.error || u.error, k = i.trace;
4325
4325
  switch (n.queryKind) {
4326
4326
  case "metric": {
4327
- const d = m, h = G({
4327
+ const l = m, h = G({
4328
4328
  queryKind: n.queryKind,
4329
4329
  status: v,
4330
4330
  isLoading: y,
4331
4331
  error: b,
4332
4332
  trace: k,
4333
- payload: d,
4333
+ payload: l,
4334
4334
  activeInputs: n.request.activeInputs,
4335
4335
  isStale: u.isStale
4336
4336
  });
4337
4337
  return {
4338
4338
  id: t.id,
4339
4339
  intent: n.request.intent,
4340
- primaryValue: (d == null ? void 0 : d.primaryValue) ?? null,
4341
- measures: d == null ? void 0 : d.measures,
4342
- measureBindings: d == null ? void 0 : d.measureBindings,
4343
- missingMeasures: d == null ? void 0 : d.missingMeasures,
4344
- comparisonValue: d == null ? void 0 : d.comparisonValue,
4345
- comparisonKind: d == null ? void 0 : d.comparisonKind,
4346
- delta: d == null ? void 0 : d.delta,
4347
- deltaPercent: d == null ? void 0 : d.deltaPercent,
4348
- records: d == null ? void 0 : d.records,
4340
+ primaryValue: (l == null ? void 0 : l.primaryValue) ?? null,
4341
+ measures: l == null ? void 0 : l.measures,
4342
+ measureBindings: l == null ? void 0 : l.measureBindings,
4343
+ missingMeasures: l == null ? void 0 : l.missingMeasures,
4344
+ comparisonValue: l == null ? void 0 : l.comparisonValue,
4345
+ comparisonKind: l == null ? void 0 : l.comparisonKind,
4346
+ delta: l == null ? void 0 : l.delta,
4347
+ deltaPercent: l == null ? void 0 : l.deltaPercent,
4348
+ records: l == null ? void 0 : l.records,
4349
4349
  ...h
4350
4350
  };
4351
4351
  }
4352
4352
  case "analysis": {
4353
- const d = Mr(m), h = G({
4353
+ const l = Mr(m), h = G({
4354
4354
  queryKind: n.queryKind,
4355
4355
  status: v,
4356
4356
  isLoading: y,
4357
4357
  error: b,
4358
4358
  trace: k,
4359
- payload: d,
4359
+ payload: l,
4360
4360
  activeInputs: n.request.activeInputs,
4361
4361
  isStale: u.isStale
4362
4362
  });
4363
4363
  return {
4364
4364
  id: t.id,
4365
4365
  intent: n.request.intent,
4366
- ...d || {},
4366
+ ...l || {},
4367
4367
  ...h
4368
4368
  };
4369
4369
  }
4370
4370
  case "records": {
4371
- const d = m, h = G({
4371
+ const l = m, h = G({
4372
4372
  queryKind: n.queryKind,
4373
4373
  status: v,
4374
4374
  isLoading: y,
4375
4375
  error: b,
4376
4376
  trace: k,
4377
- payload: d,
4377
+ payload: l,
4378
4378
  activeInputs: n.request.activeInputs,
4379
4379
  isStale: u.isStale
4380
4380
  });
4381
4381
  return {
4382
4382
  id: t.id,
4383
4383
  intent: n.request.intent,
4384
- records: (d == null ? void 0 : d.records) || [],
4385
- columns: d == null ? void 0 : d.columns,
4386
- rowCount: d == null ? void 0 : d.rowCount,
4387
- pagination: d == null ? void 0 : d.pagination,
4388
- totals: d == null ? void 0 : d.totals,
4384
+ records: (l == null ? void 0 : l.records) || [],
4385
+ columns: l == null ? void 0 : l.columns,
4386
+ rowCount: l == null ? void 0 : l.rowCount,
4387
+ pagination: l == null ? void 0 : l.pagination,
4388
+ totals: l == null ? void 0 : l.totals,
4389
4389
  ...h
4390
4390
  };
4391
4391
  }
4392
4392
  case "inputOptions": {
4393
- const d = m, h = G({
4393
+ const l = m, h = G({
4394
4394
  queryKind: n.queryKind,
4395
4395
  status: v,
4396
4396
  isLoading: y,
4397
4397
  error: b,
4398
4398
  trace: k,
4399
- payload: d,
4399
+ payload: l,
4400
4400
  activeInputs: n.request.activeInputs,
4401
4401
  isStale: u.isStale
4402
4402
  });
4403
4403
  return {
4404
4404
  id: t.id,
4405
4405
  intent: n.request.intent,
4406
- options: (d == null ? void 0 : d.options) || [],
4406
+ options: (l == null ? void 0 : l.options) || [],
4407
+ dependencyOutcomes: l == null ? void 0 : l.dependencyOutcomes,
4408
+ match: l == null ? void 0 : l.match,
4407
4409
  ...h
4408
4410
  };
4409
4411
  }
4410
4412
  case "sql": {
4411
- const d = m, h = G({
4413
+ const l = m, h = G({
4412
4414
  queryKind: n.queryKind,
4413
4415
  status: v,
4414
4416
  isLoading: y,
4415
4417
  error: b,
4416
4418
  trace: k,
4417
- payload: d,
4419
+ payload: l,
4418
4420
  activeInputs: n.request.activeInputs,
4419
4421
  isStale: u.isStale
4420
4422
  });
4421
4423
  return {
4422
4424
  id: t.id,
4423
4425
  intent: n.request.intent,
4424
- records: (d == null ? void 0 : d.records) || [],
4425
- columns: d == null ? void 0 : d.columns,
4426
- rowCount: d == null ? void 0 : d.rowCount,
4427
- pagination: d == null ? void 0 : d.pagination,
4428
- output: d == null ? void 0 : d.output,
4429
- rowLimitExceeded: d == null ? void 0 : d.rowLimitExceeded,
4426
+ records: (l == null ? void 0 : l.records) || [],
4427
+ columns: l == null ? void 0 : l.columns,
4428
+ rowCount: l == null ? void 0 : l.rowCount,
4429
+ pagination: l == null ? void 0 : l.pagination,
4430
+ output: l == null ? void 0 : l.output,
4431
+ rowLimitExceeded: l == null ? void 0 : l.rowLimitExceeded,
4430
4432
  ...h
4431
4433
  };
4432
4434
  }
4433
4435
  case "matrix": {
4434
- const d = m, h = G({
4436
+ const l = m, h = G({
4435
4437
  queryKind: n.queryKind,
4436
4438
  status: v,
4437
4439
  isLoading: y,
4438
4440
  error: b,
4439
4441
  trace: k,
4440
- payload: d,
4442
+ payload: l,
4441
4443
  activeInputs: n.request.activeInputs,
4442
4444
  isStale: u.isStale
4443
4445
  });
4444
4446
  return {
4445
4447
  id: t.id,
4446
4448
  intent: n.request.intent,
4447
- window: d == null ? void 0 : d.window,
4449
+ window: l == null ? void 0 : l.window,
4448
4450
  ...h,
4449
4451
  executionResult: Pi(h.executionResult) ? h.executionResult : void 0
4450
4452
  };
@@ -4607,9 +4609,9 @@ function go({
4607
4609
  }),
4608
4610
  [c, u, m, s]
4609
4611
  );
4610
- return /* @__PURE__ */ l(Pt, { debug: u, children: /* @__PURE__ */ p(Vr.Provider, { value: v, children: [
4612
+ return /* @__PURE__ */ d(Pt, { debug: u, children: /* @__PURE__ */ p(Vr.Provider, { value: v, children: [
4611
4613
  i,
4612
- f ? /* @__PURE__ */ l(Qt, { ...f }) : null
4614
+ f ? /* @__PURE__ */ d(Qt, { ...f }) : null
4613
4615
  ] }) });
4614
4616
  }
4615
4617
  export {