react-semaphor 0.1.568 → 0.1.569

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 (126) hide show
  1. package/README.md +0 -7
  2. package/dist/analytics-protocol/index.js +434 -454
  3. package/dist/assistant-context/index.js +1 -1
  4. package/dist/brand-studio/index.js +10 -12
  5. package/dist/briefings/index.js +4 -4
  6. package/dist/chunks/{_commonjsHelpers-DimLPMtv.js → _commonjsHelpers-Bid1ZNYj.js} +271 -222
  7. package/dist/chunks/{assistant-chat-BN5I8KuN.js → assistant-chat-Dzf2Mbph.js} +107 -109
  8. package/dist/chunks/{bookmark-impact-CJ-65omV.js → bookmark-impact-Czg6FGt5.js} +2 -2
  9. package/dist/chunks/{bookmark-state-Du3s13_V.js → bookmark-state-CflS88gq.js} +251 -250
  10. package/dist/chunks/{card-filter-builder-BBuB99GZ.js → card-filter-builder-BS982X7x.js} +986 -985
  11. package/dist/chunks/{code-editor-DJNOsgJH.js → code-editor-BsxHzm9u.js} +43 -45
  12. package/dist/chunks/{comparison-window-caption-CMLb3mut.js → comparison-window-caption-lLTgzOkM.js} +252 -253
  13. package/dist/chunks/{dashboard-YnWZC4dK.js → dashboard-BiYSbxZv.js} +1 -1
  14. package/dist/chunks/{dashboard-briefing-launcher-BF89TU2h.js → dashboard-briefing-launcher-Bdj7luOr.js} +158 -159
  15. package/dist/chunks/{dashboard-controls-atHc1EjP.js → dashboard-controls-TViDsnb8.js} +17 -19
  16. package/dist/chunks/dashboard-json-Dg9dQd9U.js +66 -0
  17. package/dist/chunks/{dates-CKO05ino.js → dates-BsPrWZIP.js} +8 -8
  18. package/dist/chunks/{edit-dashboard-visual-DdmTfn-J.js → edit-dashboard-visual-C6hoIeEJ.js} +20 -21
  19. package/dist/chunks/{filter-reach-copy-jZGzK_IH.js → filter-reach-copy-hcQ4os0u.js} +695 -699
  20. package/dist/chunks/filter-value-text-CVxEEDVl.js +146 -0
  21. package/dist/chunks/{index-CPNZW0mu.js → index-G4q89J6O.js} +74 -76
  22. package/dist/chunks/{layout-grid-0hIlqEtk.js → layout-grid-BIcoFfdS.js} +1 -1
  23. package/dist/chunks/{list-filter-DkgoCeBm.js → list-filter-C6tYkHyv.js} +1 -1
  24. package/dist/chunks/matrix-analytical-definition-dkS8szLM.js +1253 -0
  25. package/dist/chunks/matrix-member-presentation-DRa-9e6Q.js +169 -0
  26. package/dist/chunks/{matrix-operation-contract-Eb6elidS.js → matrix-operation-contract-DCVinw1o.js} +122 -122
  27. package/dist/chunks/{metric-comparison-ChXUFaZu.js → metric-comparison-n9NsIa-2.js} +175 -128
  28. package/dist/chunks/{palette-4vf2BEEg.js → palette-NjHOE_6B.js} +1 -1
  29. package/dist/chunks/pivot-result-contract-expectations-DkmueDTW.js +55 -0
  30. package/dist/chunks/{pivot-result-identity-BlbLrqaC.js → pivot-result-identity-B89X5xjb.js} +1 -1
  31. package/dist/chunks/raw-temporal-value-DdT0s47W.js +159 -0
  32. package/dist/chunks/{report-preferences-dialog-Mbd-I0wV.js → report-preferences-dialog-Xc8_GFju.js} +26 -28
  33. package/dist/chunks/{report-runtime-context-DnA_PiKo.js → report-runtime-context-BhPzLTbS.js} +1 -1
  34. package/dist/chunks/{resolve-dashboard-input-context-Du0fjN3h.js → resolve-dashboard-input-context-KqvcLcTM.js} +4784 -4764
  35. package/dist/chunks/{save-D6pHmSSP.js → save-C6VmEJTA.js} +1 -1
  36. package/dist/chunks/{saved-dashboard-context-y8N6RvjS.js → saved-dashboard-context-BeXXyoD4.js} +6 -6
  37. package/dist/chunks/{semaphor-ready-indicator-BSEdUq40.js → semaphor-ready-indicator-BNkaANsG.js} +28395 -28384
  38. package/dist/chunks/{shelf-drop-preview-context-D7QqPl36.js → shelf-drop-preview-context-C_issPBA.js} +18 -20
  39. package/dist/chunks/{stored-dashboard-d3xQYxBD.js → stored-dashboard-B6_StAty.js} +263 -265
  40. package/dist/chunks/{table-export-sheet--DUKWk6o.js → table-export-sheet-BWP2joD1.js} +1 -1
  41. package/dist/chunks/{temporal-input-presentation--2r9BLr0.js → temporal-input-presentation-scSWQXAB.js} +4 -4
  42. package/dist/chunks/{token-types-C8JymO8s.js → token-types-iKMplaBL.js} +1 -1
  43. package/dist/chunks/{upload-Cf3wXZT8.js → upload-BRW4Mwrd.js} +1 -1
  44. package/dist/chunks/validators-B8fpdinG.js +3651 -0
  45. package/dist/chunks/{variable-draft-DOX03R4A.js → variable-draft-BQ3OMjvy.js} +4 -4
  46. package/dist/dashboard/index.js +2 -2
  47. package/dist/dashboard-authoring/index.js +1527 -1517
  48. package/dist/format-utils/index.js +230 -231
  49. package/dist/index.js +236 -237
  50. package/dist/report-runtime-context/index.js +1 -1
  51. package/dist/style.css +1 -1
  52. package/dist/surfboard/index.js +2 -2
  53. package/dist/types/components/surfboard/filter/types.d.ts +5 -4
  54. package/dist/types/components/ui-custom/date-range-presets.d.ts +1 -17
  55. package/dist/types/index.js +9 -9
  56. package/dist/types/lib/hooks/use-date-filter.d.ts +3 -3
  57. package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +1 -1
  58. package/dist/types/lib/types/explorer-types.d.ts +2 -2
  59. package/dist/types/lib/types/index.d.ts +1 -1
  60. package/dist/types/lib/utils/card-definition.d.ts +7 -7
  61. package/dist/types/shared/analytics-protocol/agent-time-window.d.ts +84 -0
  62. package/dist/types/shared/analytics-protocol/applied-constraints.d.ts +2 -2
  63. package/dist/types/shared/analytics-protocol/contracts.d.ts +8 -17
  64. package/dist/types/shared/analytics-protocol/fixtures.d.ts +3 -2
  65. package/dist/types/shared/analytics-protocol/index.d.ts +2 -4
  66. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +4 -4
  67. package/dist/types/shared/analytics-protocol/relative-date/describe.d.ts +18 -0
  68. package/dist/types/shared/analytics-protocol/relative-date/index.d.ts +7 -0
  69. package/dist/types/shared/analytics-protocol/relative-date/limits.d.ts +3 -0
  70. package/dist/types/shared/analytics-protocol/relative-date/presets.d.ts +11 -0
  71. package/dist/types/shared/analytics-protocol/relative-date/resolve.d.ts +49 -0
  72. package/dist/types/shared/analytics-protocol/relative-date/schemas.d.ts +76 -0
  73. package/dist/types/shared/analytics-protocol/relative-date/traits.d.ts +51 -0
  74. package/dist/types/shared/analytics-protocol/relative-date/window.d.ts +111 -0
  75. package/dist/types/shared/analytics-protocol/selection-contract.d.ts +1 -1
  76. package/dist/types/shared/assistant-protocol/context.d.ts +12 -12
  77. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +0 -2
  78. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +155 -1753
  79. package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +8 -4
  80. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +74 -74
  81. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +20 -20
  82. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +3 -0
  83. package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +10 -2
  84. package/dist/types/shared/format-utils/filter-detail.d.ts +2 -8
  85. package/dist/types/shared/format-utils/filter-line.d.ts +2 -2
  86. package/dist/types/shared/format-utils/matrix-continuation.d.ts +3 -3
  87. package/dist/types/shared/temporal/index.d.ts +0 -2
  88. package/dist/types/shared/temporal/temporal-parity-fixtures.d.ts +2 -2
  89. package/package.json +2 -24
  90. package/DATA_APP_SDK.md +0 -339
  91. package/dist/chunks/dashboard-json-Cxp3inxd.js +0 -68
  92. package/dist/chunks/filter-value-text-7zhmth1S.js +0 -163
  93. package/dist/chunks/index-CuHybtft.js +0 -51
  94. package/dist/chunks/matrix-analytical-definition-C9xB_T84.js +0 -717
  95. package/dist/chunks/matrix-card-BSUeSXpD.js +0 -42
  96. package/dist/chunks/matrix-member-presentation-DZNgQpUq.js +0 -105
  97. package/dist/chunks/operators-B3zZoskU.js +0 -66
  98. package/dist/chunks/pivot-result-contract-expectations-Ddh1rNz5.js +0 -56
  99. package/dist/chunks/raw-temporal-value-Bqz8wc7L.js +0 -242
  100. package/dist/chunks/selection-reducer-OaJ-N5uN.js +0 -46
  101. package/dist/chunks/source-entity-resolution-DF6GulDn.js +0 -607
  102. package/dist/chunks/validators-wtjw0aw6.js +0 -3332
  103. package/dist/data-app-sdk/index.js +0 -1412
  104. package/dist/data-app-sdk-adapters/index.js +0 -361
  105. package/dist/data-app-sdk-validation/index.js +0 -1031
  106. package/dist/types/data-app-sdk/adapters.d.ts +0 -35
  107. package/dist/types/data-app-sdk/builders.d.ts +0 -62
  108. package/dist/types/data-app-sdk/contracts.d.ts +0 -419
  109. package/dist/types/data-app-sdk/executor.d.ts +0 -5
  110. package/dist/types/data-app-sdk/field-catalog-validation.d.ts +0 -29
  111. package/dist/types/data-app-sdk/hooks.d.ts +0 -11
  112. package/dist/types/data-app-sdk/index.d.ts +0 -9
  113. package/dist/types/data-app-sdk/provider.d.ts +0 -8
  114. package/dist/types/data-app-sdk/relationship-aware-field-policy.d.ts +0 -21
  115. package/dist/types/data-app-sdk/selection.d.ts +0 -2
  116. package/dist/types/data-app-sdk/validation.d.ts +0 -58
  117. package/dist/types/data-app-sdk-adapters.d.ts +0 -2
  118. package/dist/types/data-app-sdk-validation.d.ts +0 -2
  119. package/dist/types/data-app-sdk.d.ts +0 -2
  120. package/dist/types/shared/analytics-protocol/relative-date-filter.d.ts +0 -68
  121. package/dist/types/shared/analytics-protocol/relative-date-label.d.ts +0 -20
  122. package/dist/types/shared/analytics-protocol/time-window-schema.d.ts +0 -314
  123. package/dist/types/shared/analytics-protocol/time-window.d.ts +0 -52
  124. package/dist/types/shared/temporal/relative-date.d.ts +0 -21
  125. package/dist/types/shared/temporal/time-window-periods.d.ts +0 -21
  126. package/src/data-app-sdk/README.md +0 -402
@@ -1,23 +1,21 @@
1
- import { gT as co, cv as uo, bX as fo, aS as po, bb as mo, f as go, bP as yo, M as oe, gU as bo, gV as Ne, e1 as Rt, e4 as ho, bG as Co, gW as Io, at as vo, fH as Kt, fJ as Fo, gX as qt, O as So, fL as To, cW as Fe, s as _, fC as Se, n as Le, gY as Do, cQ as Nt, cS as Lt, cB as Mo, cV as Vo, cT as bt, cU as ko, b as Po, cD as xo, cP as wo, cN as Oo, a2 as q, gg as Ao, gZ as Te, g_ as jt, g$ as Eo, h0 as je, gv as De, h1 as Bo, h2 as ze, h3 as _o, h4 as Ro, h5 as Ko, h6 as qo, h7 as No, l as Ge, h8 as Lo, k as ee, r as jo, h as zo, h9 as U, gK as He, ha as ge, hb as zt, hc as Go, hd as Ho, he as $o, g7 as Uo, hf as Qo, hg as Wo, e as Yo, hh as Jo, hi as Gt, $ as Ht, hj as Xo, hk as Zo, hl as er, hm as $t, j as $e, cm as tr, a3 as nr, o as Ut, cl as or, gs as rr, q as ir, t as ht, C as sr, hn as ar, ho as lr, cn as cr, hp as ur } from "./resolve-dashboard-input-context-Du0fjN3h.js";
2
- import { av as dr, H as re, a1 as fr, R as pr, I as Oe, S as mr, am as Ct, q as Qt, aa as gr, v as yr } from "./validators-wtjw0aw6.js";
3
- import { v as Wt } from "./matrix-operation-contract-Eb6elidS.js";
4
- import { S as Ue } from "./analytics-base-schemas-BaIQrEzX.js";
5
- import { ZodError as br } from "zod";
6
- import "./index-CuHybtft.js";
7
- import { canonicalizeSupportedCurrencyCode as Yt } from "../value-format-preferences/index.js";
8
- import "./_commonjsHelpers-DimLPMtv.js";
9
- import { b as ye, r as hr, aW as Cr, i as Ir, aD as vr, aA as It } from "./temporal-input-presentation--2r9BLr0.js";
10
- import { aB as Jt, aC as Xt, aD as ke, $ as Fr, aE as Zt, aF as en, aA as tn, aG as nn, n as Sr, l as Tr, v as on, t as j, aH as rn, k as sn, C as Ae, aI as H, z as ie, i as an, o as Dr, u as Mr, B as Qe, aJ as Vr, ah as kr, F as ln, D as Pr, az as vt, N as cn, O as un, I as dn } from "./bookmark-state-Du3s13_V.js";
1
+ import { gW as co, cB as uo, c1 as fo, aT as po, bd as mo, f as go, bV as yo, N as oe, gX as bo, gY as Ne, e5 as Rt, e8 as ho, bM as Co, gZ as Io, au as vo, fL as Kt, fN as Fo, bx as Le, g_ as qt, P as So, fP as To, d0 as Fe, s as _, fG as Se, n as je, g$ as Do, cW as Nt, cY as Lt, cH as Mo, c$ as Vo, cZ as bt, c_ as ko, b as Po, cJ as xo, cV as wo, cT as Oo, bA as jt, a4 as q, gj as Ao, h0 as Te, h1 as zt, h2 as Eo, h3 as ze, gy as De, h4 as Bo, h5 as Ge, h6 as _o, h7 as Ro, h8 as Ko, h9 as qo, ha as No, l as He, hb as Lo, k as ee, r as jo, h as zo, hc as U, gN as $e, hd as ge, he as Gt, hf as Go, J as Ho, hg as $o, hh as Uo, gb as Qo, hi as Wo, hj as Yo, e as Jo, hk as Zo, hl as Ht, a0 as $t, hm as Xo, hn as er, ho as tr, hp as Ut, j as Ue, cs as nr, a5 as or, o as Qt, cr as rr, gv as ir, q as sr, t as ht, C as ar, hq as lr, hr as cr, ct as ur, hs as dr } from "./resolve-dashboard-input-context-KqvcLcTM.js";
2
+ import { ak as fr, a5 as re, J as pr, v as mr, aw as Oe, w as gr, a7 as Ct, ay as Wt, U as yr, r as br } from "./validators-B8fpdinG.js";
3
+ import { q as Yt } from "./matrix-operation-contract-DCVinw1o.js";
4
+ import { S as Qe } from "./analytics-base-schemas-BaIQrEzX.js";
5
+ import "./_commonjsHelpers-Bid1ZNYj.js";
6
+ import { canonicalizeSupportedCurrencyCode as Jt } from "../value-format-preferences/index.js";
7
+ import { ZodError as hr } from "zod";
8
+ import { b as ye, r as Cr, aW as Ir, i as vr, aD as Fr, aA as It } from "./temporal-input-presentation-scSWQXAB.js";
9
+ import { aB as Zt, aC as Xt, aD as ke, $ as Sr, aE as en, aF as tn, aA as nn, aG as on, n as Tr, l as Dr, v as rn, t as j, aH as sn, k as an, C as Ae, aI as H, z as ie, i as ln, o as Mr, u as Vr, B as We, aJ as kr, ah as Pr, F as cn, D as xr, az as vt, N as un, O as dn, I as fn } from "./bookmark-state-CflS88gq.js";
11
10
  import "./index-RNaTnE3m.js";
12
11
  import "./context-R31TSL5V.js";
13
- import { i as We, b as fn, r as xr } from "./matrix-card-BSUeSXpD.js";
14
- import { D as wr } from "./report-runtime-context-DnA_PiKo.js";
15
- import { r as Q, C as Or } from "./metric-comparison-ChXUFaZu.js";
16
- import { p as Ar, d as Er } from "./pivot-result-contract-expectations-Ddh1rNz5.js";
12
+ import { D as wr } from "./report-runtime-context-BhPzLTbS.js";
13
+ import { r as Q, C as Or } from "./metric-comparison-n9NsIa-2.js";
14
+ import { p as Ar, d as Er } from "./pivot-result-contract-expectations-DkmueDTW.js";
17
15
  import { isPdfTableCardType as Br, PDF_CAPACITY as _r } from "../pdf-export-policy/index.js";
18
16
  import { c as Rr } from "./selection-filter-compiler-CUDRnUxc.js";
19
- import { a as Kr, f as qr, b as Nr } from "./matrix-analytical-definition-C9xB_T84.js";
20
- import { r as Lr } from "./pivot-result-identity-BlbLrqaC.js";
17
+ import { a as Kr, h as qr, s as Nr } from "./matrix-analytical-definition-dkS8szLM.js";
18
+ import { r as Lr } from "./pivot-result-identity-B89X5xjb.js";
21
19
  const jr = (e, t) => {
22
20
  const n = {};
23
21
  if (e === null || t === null)
@@ -151,8 +149,8 @@ function Jr(e) {
151
149
  }
152
150
  return [n[0] >> 24 & 255, n[0] >> 16 & 255, n[0] >> 8 & 255, n[0] & 255, n[1] >> 24 & 255, n[1] >> 16 & 255, n[1] >> 8 & 255, n[1] & 255, n[2] >> 24 & 255, n[2] >> 16 & 255, n[2] >> 8 & 255, n[2] & 255, n[3] >> 24 & 255, n[3] >> 16 & 255, n[3] >> 8 & 255, n[3] & 255, n[4] >> 24 & 255, n[4] >> 16 & 255, n[4] >> 8 & 255, n[4] & 255];
153
151
  }
154
- const Xr = Wr("v5", 80, Jr), St = /\[\[\s*param\.([A-Za-z0-9_.-]+)\s*\]\]/g, Tt = /\bparam\s*\(\s*(['"])([^'"]+)\1/g;
155
- function Zr(e) {
152
+ const Zr = Wr("v5", 80, Jr), St = /\[\[\s*param\.([A-Za-z0-9_.-]+)\s*\]\]/g, Tt = /\bparam\s*\(\s*(['"])([^'"]+)\1/g;
153
+ function Xr(e) {
156
154
  const t = [];
157
155
  let n = 0;
158
156
  for (; n < e.length; ) {
@@ -179,7 +177,7 @@ function pn(e) {
179
177
  const i = (o = n[1]) == null ? void 0 : o.trim();
180
178
  i && t.add(i);
181
179
  }
182
- for (const i of Zr(e))
180
+ for (const i of Xr(e))
183
181
  for (Tt.lastIndex = 0; (n = Tt.exec(i)) !== null; ) {
184
182
  const s = (r = n[2]) == null ? void 0 : r.trim();
185
183
  s && t.add(s);
@@ -249,9 +247,9 @@ function ni(e, t) {
249
247
  o[i] = mn(s, t);
250
248
  return Object.keys(o).length && (n.inputAliases = o), n;
251
249
  }
252
- function nl(e, t) {
250
+ function el(e, t) {
253
251
  var r, i, s, a;
254
- const n = be(Jt(e));
252
+ const n = be(Zt(e));
255
253
  n.controlBindings = ti(
256
254
  e,
257
255
  new Map(Object.entries(t.controlIds ?? {}))
@@ -291,25 +289,25 @@ function nl(e, t) {
291
289
  const oi = "9677efdd-86ec-4afb-b9bb-5ead8b5442af";
292
290
  function ri(e) {
293
291
  let t = 0;
294
- return () => Xr(`${e}#${t++}`, oi);
292
+ return () => Zr(`${e}#${t++}`, oi);
295
293
  }
296
294
  const ii = [
297
295
  { code: "matrix_definition_incomplete", label: "Matrix definition" }
298
296
  ], si = [
299
297
  { code: "connection_type_unresolved", label: "Connection type" }
300
- ], Z = (e) => !Array.isArray(e) || e.length === 0;
298
+ ], X = (e) => !Array.isArray(e) || e.length === 0;
301
299
  function ai(e) {
302
300
  var i;
303
301
  const t = e.config ?? {};
304
- if ((i = e.sql) != null && i.trim() || !Z(t.pivotByColumns)) return "matrixTable";
305
- const n = !Z(t.groupByColumns), o = !Z(t.metricColumns), r = e.type === "pivotTable" && (n || o) && Z(t.rowAggregates) && Z(t.columnAggregates);
302
+ if ((i = e.sql) != null && i.trim() || !X(t.pivotByColumns)) return "matrixTable";
303
+ const n = !X(t.groupByColumns), o = !X(t.metricColumns), r = e.type === "pivotTable" && (n || o) && X(t.rowAggregates) && X(t.columnAggregates);
306
304
  return n && !o || r ? "table" : "matrixTable";
307
305
  }
308
306
  function li(e) {
309
307
  var r;
310
308
  const t = e.dataSource;
311
309
  if (!t || (r = t.connectionType) != null && r.trim()) return e;
312
- const n = dr(yo(t.selectedEntities));
310
+ const n = fr(yo(t.selectedEntities));
313
311
  if (!n) return e;
314
312
  const o = Array.isArray(t.selectedEntities) ? t.selectedEntities.map((i) => i && typeof i == "object" && "connectionType" in i && !String(i.connectionType ?? "").trim() ? { ...i, connectionType: n } : i) : t.selectedEntities;
315
313
  return { ...e, dataSource: { ...t, connectionType: n, selectedEntities: o } };
@@ -331,14 +329,14 @@ function gn(e) {
331
329
  ]
332
330
  };
333
331
  }
334
- function ol(e) {
332
+ function tl(e) {
335
333
  if (!e.cards) return e;
336
334
  const t = e.cards.map((n) => gn(n).card);
337
335
  return t.every((n, o) => n === e.cards[o]) ? e : { ...e, cards: t };
338
336
  }
339
337
  function ci(e) {
340
338
  const t = [];
341
- return { dashboard: Fr(e, (o, r) => {
339
+ return { dashboard: Sr(e, (o, r) => {
342
340
  const i = gn(o);
343
341
  return i.status === "routed" && i.gaps.length && t.push({ location: r, gaps: i.gaps }), i.card;
344
342
  }), routedWithGaps: t };
@@ -373,7 +371,7 @@ function di(e, t, n) {
373
371
  )
374
372
  };
375
373
  }
376
- function rl(e) {
374
+ function nl(e) {
377
375
  switch (e) {
378
376
  case "previous_period":
379
377
  return "Previous";
@@ -393,8 +391,8 @@ function yn(e, t, n) {
393
391
  function fi(e, t) {
394
392
  return `${e} Δ`;
395
393
  }
396
- function il(e, t) {
397
- return Zt(e, t);
394
+ function ol(e, t) {
395
+ return en(e, t);
398
396
  }
399
397
  function pi(e, t) {
400
398
  return e.rawKey === t.rawKey && e.outputKey === t.outputKey;
@@ -414,7 +412,7 @@ function bn(e) {
414
412
  });
415
413
  return s.length === 1 ? s[0] : void 0;
416
414
  }
417
- function sl(e, t) {
415
+ function rl(e, t) {
418
416
  return t ? { ...e, config: t } : e;
419
417
  }
420
418
  function mi(e) {
@@ -449,7 +447,7 @@ function we(e, t, n) {
449
447
  [t]: n
450
448
  } : null;
451
449
  }
452
- function al(e, t, n) {
450
+ function il(e, t, n) {
453
451
  if (!W(e) || !n) return null;
454
452
  const o = e.config;
455
453
  return e.type === "detailTable" ? we(
@@ -482,7 +480,7 @@ function yi(e) {
482
480
  var t, n, o, r, i, s;
483
481
  return W(e) ? e.type === "detailTable" ? !!((n = (t = e.config) == null ? void 0 : t.detailColumns) != null && n.length) : !!((r = (o = e.config) == null ? void 0 : o.groupByColumns) != null && r.length || (s = (i = e.config) == null ? void 0 : i.metricColumns) != null && s.length) : !1;
484
482
  }
485
- function ll(e, t) {
483
+ function sl(e, t) {
486
484
  return yi(e) && !!t;
487
485
  }
488
486
  function me(e, t, n) {
@@ -574,7 +572,7 @@ function Je(e) {
574
572
  columnKeyMap: e.columnKeyMap,
575
573
  metricId: t.metricId,
576
574
  metricAlias: t.metricAlias
577
- }), i = o.length === 0 && t.metricId === Ue;
575
+ }), i = o.length === 0 && t.metricId === Qe;
578
576
  if (!(!r && !i))
579
577
  return {
580
578
  resultColumn: e.resultColumn,
@@ -719,7 +717,7 @@ function Fi(e) {
719
717
  );
720
718
  const s = /* @__PURE__ */ new Map();
721
719
  (((c = n.config) == null ? void 0 : c.metricColumns) || []).forEach((l) => {
722
- const { comparisonKind: u, metadata: d } = en(o, l);
720
+ const { comparisonKind: u, metadata: d } = tn(o, l);
723
721
  if (u === "none") return;
724
722
  const f = l.label || l.name, m = se(
725
723
  l,
@@ -888,7 +886,7 @@ function Be(e, t = {}) {
888
886
  kind: "column",
889
887
  columnKey: t.resultColumnKey
890
888
  } : void 0, f = ye(
891
- hr({ card: e, column: { kind: "sqlKpiValue" }, surface: "kpiValue" }).format,
889
+ Cr({ card: e, column: { kind: "sqlKpiValue" }, surface: "kpiValue" }).format,
892
890
  { preserveOmittedProperties: !0 }
893
891
  );
894
892
  return {
@@ -919,7 +917,7 @@ function vn(e, t, n) {
919
917
  function Fn(e, t, n) {
920
918
  return e.kind === "calculated" ? e.definition.format : vn(e.field, t, n);
921
919
  }
922
- function cl(e, t) {
920
+ function al(e, t) {
923
921
  const n = qt(t), o = (r, i) => Object.fromEntries(r.flatMap((s) => {
924
922
  const a = i(s);
925
923
  return a ? [[s.id, a]] : [];
@@ -930,13 +928,13 @@ function cl(e, t) {
930
928
  };
931
929
  }
932
930
  function Sn(e, t = []) {
933
- const n = We(e);
931
+ const n = Le(e);
934
932
  if (n.status !== "ready") return [];
935
933
  const { spec: o, presentation: r } = n.config, i = qt(t);
936
934
  return o.measures.map((s) => {
937
935
  var m;
938
- const a = s.kind === "aggregate" ? i(s.field, o.source) : void 0, c = Cr(r.measureFormats[s.id], Fn(s, o.source, i)), l = s.kind === "calculated" ? s.definition.dataType : ["MIN", "MAX"].includes(s.aggregate) ? ((m = s.field.derivedField) == null ? void 0 : m.dataType) ?? (a == null ? void 0 : a.resolvedField.dataType) ?? s.field.dataType : "number", u = re(l) === "number", d = s.kind === "calculated" || !!(a || s.field.derivedField || s.field.name === "*"), f = c && Ir(c) ? c : !c && u && d ? { type: "number" } : void 0;
939
- return { measureId: s.id, label: vr(s, r), canonical: f };
936
+ const a = s.kind === "aggregate" ? i(s.field, o.source) : void 0, c = Ir(r.measureFormats[s.id], Fn(s, o.source, i)), l = s.kind === "calculated" ? s.definition.dataType : ["MIN", "MAX"].includes(s.aggregate) ? ((m = s.field.derivedField) == null ? void 0 : m.dataType) ?? (a == null ? void 0 : a.resolvedField.dataType) ?? s.field.dataType : "number", u = re(l) === "number", d = s.kind === "calculated" || !!(a || s.field.derivedField || s.field.name === "*"), f = c && vr(c) ? c : !c && u && d ? { type: "number" } : void 0;
937
+ return { measureId: s.id, label: Fr(s, r), canonical: f };
940
938
  });
941
939
  }
942
940
  function wi(e) {
@@ -945,7 +943,7 @@ function wi(e) {
945
943
  }
946
944
  function Tn(e) {
947
945
  return new Set(
948
- tn(e).flatMap(
946
+ nn(e).flatMap(
949
947
  (t) => (t.controlBindings || []).filter(Fe).map((n) => n.controlId)
950
948
  )
951
949
  );
@@ -1050,13 +1048,13 @@ function Ai(e, t = [], n) {
1050
1048
  ])
1051
1049
  };
1052
1050
  }
1053
- function ul(e, t) {
1051
+ function ll(e, t) {
1054
1052
  const n = Be(e, {
1055
1053
  resultColumnKey: t
1056
1054
  });
1057
1055
  return n.currencyBindable ? n.target : void 0;
1058
1056
  }
1059
- function dl(e) {
1057
+ function cl(e) {
1060
1058
  var t;
1061
1059
  return (t = e.card.sql) != null && t.trim() ? { kind: "column", columnKey: e.columnKey } : e.metricId ? { kind: "metric", metricId: e.metricId } : void 0;
1062
1060
  }
@@ -1075,7 +1073,7 @@ function Ei(e) {
1075
1073
  return { kind: "matrix_measure", measureId: t.measureId };
1076
1074
  }
1077
1075
  function Vt(e) {
1078
- const t = Yt(e);
1076
+ const t = Jt(e);
1079
1077
  return typeof e == "string" && e === t ? t : void 0;
1080
1078
  }
1081
1079
  function Dn(e) {
@@ -1096,7 +1094,7 @@ function Dn(e) {
1096
1094
  currencies: t
1097
1095
  };
1098
1096
  }
1099
- function fl(e) {
1097
+ function ul(e) {
1100
1098
  return "control" in Dn(e);
1101
1099
  }
1102
1100
  function Mn(e) {
@@ -1122,7 +1120,7 @@ function Mn(e) {
1122
1120
  )
1123
1121
  };
1124
1122
  }
1125
- function pl(e) {
1123
+ function dl(e) {
1126
1124
  return Mn({
1127
1125
  ...e,
1128
1126
  referencedControlIds: new Set(
@@ -1133,7 +1131,7 @@ function pl(e) {
1133
1131
  )
1134
1132
  });
1135
1133
  }
1136
- function ml(e) {
1134
+ function fl(e) {
1137
1135
  var t;
1138
1136
  return Mn({
1139
1137
  ...e,
@@ -1197,7 +1195,7 @@ function kn(e, t) {
1197
1195
  }
1198
1196
  };
1199
1197
  }
1200
- function gl(e) {
1198
+ function pl(e) {
1201
1199
  const t = Vn(e);
1202
1200
  return (e.bindings || []).flatMap((n) => {
1203
1201
  const o = kn(n, t);
@@ -1217,7 +1215,7 @@ function Bi(e) {
1217
1215
  if (!a || $(
1218
1216
  a.presentationTarget
1219
1217
  ) !== n) continue;
1220
- const l = Yt(
1218
+ const l = Jt(
1221
1219
  (r = e.values) == null ? void 0 : r[a.control.id]
1222
1220
  );
1223
1221
  if (!(!l || !a.currencies.includes(l)))
@@ -1356,7 +1354,7 @@ function Gi(e) {
1356
1354
  const { id: t, label: n, field: o, ...r } = e;
1357
1355
  return {
1358
1356
  ...r,
1359
- field: Xe(
1357
+ field: Ze(
1360
1358
  o
1361
1359
  )
1362
1360
  };
@@ -1371,7 +1369,7 @@ function Ve(e) {
1371
1369
  groups: o.map((i) => Ve(i))
1372
1370
  };
1373
1371
  }
1374
- function Xe(e) {
1372
+ function Ze(e) {
1375
1373
  var o, r;
1376
1374
  const { label: t, ...n } = e;
1377
1375
  return {
@@ -1380,7 +1378,7 @@ function Xe(e) {
1380
1378
  calculatedFormula: {
1381
1379
  ...e.calculatedFormula,
1382
1380
  inputFields: e.calculatedFormula.inputFields.map(
1383
- Xe
1381
+ Ze
1384
1382
  )
1385
1383
  }
1386
1384
  } : {},
@@ -1395,7 +1393,7 @@ function Xe(e) {
1395
1393
  };
1396
1394
  }
1397
1395
  function Hi(e) {
1398
- const t = (n) => n == null ? void 0 : n.map(Xe);
1396
+ const t = (n) => n == null ? void 0 : n.map(Ze);
1399
1397
  return {
1400
1398
  ...e,
1401
1399
  groupByColumns: t(e.groupByColumns),
@@ -1455,7 +1453,7 @@ function Wi(e, {
1455
1453
  var D, C;
1456
1454
  return (C = (D = e.queryConfig) == null ? void 0 : D.filters) == null ? void 0 : C.some((w) => w.filterColumnName === v.name);
1457
1455
  }
1458
- ), g = (e == null ? void 0 : e.sql) || "", p = Le((e == null ? void 0 : e.python) || ""), y = ["table", "detailTable", "matrixTable"].includes(
1456
+ ), g = (e == null ? void 0 : e.sql) || "", p = je((e == null ? void 0 : e.python) || ""), y = ["table", "detailTable", "matrixTable"].includes(
1459
1457
  e.type
1460
1458
  ) ? "table" : e.type === "kpi" ? "kpi" : "chart", h = a || In(e.config, { cardType: e.type, dataSource: e.dataSource }), I = Do.includes(
1461
1459
  e.type
@@ -1532,7 +1530,7 @@ function Pn(e) {
1532
1530
  deltaColumnKeys: i,
1533
1531
  percentChangeColumnKeys: s,
1534
1532
  ratioColumnKeys: a
1535
- } = nn(e.comparisonMetadata), c = /* @__PURE__ */ new Set();
1533
+ } = on(e.comparisonMetadata), c = /* @__PURE__ */ new Set();
1536
1534
  t.showComparison && (n === "difference" || n === "both") && i.forEach((f) => c.add(f)), t.showComparison && (n === "percent_change" || n === "both") && s.forEach((f) => c.add(f)), t.showComparison && n === "ratio" && a.forEach((f) => c.add(f));
1537
1535
  const l = new Set(o);
1538
1536
  t.showComparison || r.forEach((f) => l.add(f)), [i, s, a].forEach(
@@ -1585,7 +1583,7 @@ function Pn(e) {
1585
1583
  columnPresentationOwners: d
1586
1584
  };
1587
1585
  }
1588
- function yl(e) {
1586
+ function ml(e) {
1589
1587
  var t, n;
1590
1588
  return Pn({
1591
1589
  comparisonMetadata: e.comparisonMetadata,
@@ -1601,7 +1599,7 @@ function yl(e) {
1601
1599
  }
1602
1600
  });
1603
1601
  }
1604
- function bl(e) {
1602
+ function gl(e) {
1605
1603
  var n;
1606
1604
  return (((n = e.card.config) == null ? void 0 : n.metricColumns) || []).filter(
1607
1605
  (o) => {
@@ -1609,13 +1607,13 @@ function bl(e) {
1609
1607
  return ((r = o.comparison) == null ? void 0 : r.mode) === "explicit";
1610
1608
  }
1611
1609
  ).some(
1612
- (o) => !Zt(e.comparisonMetadata, o)
1610
+ (o) => !en(e.comparisonMetadata, o)
1613
1611
  );
1614
1612
  }
1615
- function Xi(e) {
1613
+ function Zi(e) {
1616
1614
  return e.part === "base" && !!e.columnId;
1617
1615
  }
1618
- function Ze(e) {
1616
+ function Xe(e) {
1619
1617
  const t = e.config ?? {};
1620
1618
  return e.type === "detailTable" ? [{ role: "detail", fields: t.detailColumns ?? [] }] : [
1621
1619
  { role: "groupby", fields: t.groupByColumns ?? [] },
@@ -1636,9 +1634,9 @@ function xt(e) {
1636
1634
  for (const n of e) t.set(n, (t.get(n) ?? 0) + 1);
1637
1635
  return t;
1638
1636
  }
1639
- function Zi(e, t) {
1637
+ function Xi(e, t) {
1640
1638
  var d, f;
1641
- const n = [...t.keys], o = new Set(n), r = t.columnKeyMap, i = Ze(e).flatMap(
1639
+ const n = [...t.keys], o = new Set(n), r = t.columnKeyMap, i = Xe(e).flatMap(
1642
1640
  ({ role: m, fields: g }) => g.flatMap((p) => {
1643
1641
  const y = et(p, m);
1644
1642
  return y ? [
@@ -1690,7 +1688,7 @@ function Zi(e, t) {
1690
1688
  if (!c.has(h))
1691
1689
  continue;
1692
1690
  } else {
1693
- if (p.identity.metricId !== Ue)
1691
+ if (p.identity.metricId !== Qe)
1694
1692
  continue;
1695
1693
  c.has(h) || c.set(h, { columnId: h, identity: y, authorLabel: "Count" });
1696
1694
  }
@@ -1732,7 +1730,7 @@ function es(e) {
1732
1730
  }
1733
1731
  return { entries: t, owners: n };
1734
1732
  }
1735
- function hl(e) {
1733
+ function yl(e) {
1736
1734
  const t = /* @__PURE__ */ new Set();
1737
1735
  for (const n of e ?? [])
1738
1736
  if (n && typeof n == "object")
@@ -1749,10 +1747,10 @@ function ns(e, t, n, o) {
1749
1747
  let r = [...t.keys], i = /* @__PURE__ */ new Map();
1750
1748
  const s = t.comparisonMetadata;
1751
1749
  if (n === "screen") {
1752
- const f = nn(s);
1750
+ const f = on(s);
1753
1751
  r = r.filter((g) => !f.internalKeys.has(g));
1754
1752
  const m = e.type === "table" ? (c = e.preferences) == null ? void 0 : c.comparisonPresentation : void 0;
1755
- rn(m) || (r = r.filter((g) => !f.comparisonColumnKeys.has(g)));
1753
+ sn(m) || (r = r.filter((g) => !f.comparisonColumnKeys.has(g)));
1756
1754
  } else {
1757
1755
  const f = Pn({
1758
1756
  comparisonMetadata: s,
@@ -1776,10 +1774,10 @@ function ns(e, t, n, o) {
1776
1774
  function os(e, t, n) {
1777
1775
  var r, i;
1778
1776
  const o = /* @__PURE__ */ new Map();
1779
- if (e.type !== "table" || !rn((r = e.preferences) == null ? void 0 : r.comparisonPresentation))
1777
+ if (e.type !== "table" || !sn((r = e.preferences) == null ? void 0 : r.comparisonPresentation))
1780
1778
  return o;
1781
1779
  for (const s of ((i = e.config) == null ? void 0 : i.metricColumns) ?? []) {
1782
- const { comparisonKind: a, metadata: c } = en(
1780
+ const { comparisonKind: a, metadata: c } = tn(
1783
1781
  t.comparisonMetadata,
1784
1782
  s
1785
1783
  );
@@ -1799,7 +1797,7 @@ function os(e, t, n) {
1799
1797
  return o;
1800
1798
  }
1801
1799
  function rs(e) {
1802
- const t = Ze(e);
1800
+ const t = Xe(e);
1803
1801
  return [
1804
1802
  ...t.filter((n) => n.role === "metric"),
1805
1803
  ...t.filter((n) => n.role !== "metric")
@@ -1829,7 +1827,7 @@ function xn(e, t) {
1829
1827
  return !!t && ((r = (o = (n = e.preferences) == null ? void 0 : n.tablePrefs) == null ? void 0 : o.columnVisibility) == null ? void 0 : r[t]) === !1;
1830
1828
  }
1831
1829
  function as(e) {
1832
- return e.type !== "table" && e.type !== "detailTable" ? "card-type" : on(e) ? void 0 : "author-disabled";
1830
+ return e.type !== "table" && e.type !== "detailTable" ? "card-type" : rn(e) ? void 0 : "author-disabled";
1833
1831
  }
1834
1832
  function _e(e, t) {
1835
1833
  const n = [], o = /* @__PURE__ */ new Map();
@@ -1885,23 +1883,23 @@ function cs(e, t, n, o) {
1885
1883
  ...de(e.slice(i + 1), t, n)
1886
1884
  ];
1887
1885
  }
1888
- function Cl(e) {
1886
+ function bl(e) {
1889
1887
  if (oe(e) !== "config") return;
1890
1888
  const t = /* @__PURE__ */ new Set();
1891
- for (const { role: n, fields: o } of Ze(e))
1889
+ for (const { role: n, fields: o } of Xe(e))
1892
1890
  for (const r of o) {
1893
1891
  const i = et(r, n);
1894
1892
  i && t.add(j(i));
1895
1893
  }
1896
1894
  return t;
1897
1895
  }
1898
- function Il(e) {
1899
- const t = sn(e);
1900
- return (t == null ? void 0 : t.kind) === "metric" && t.metricId === Ue;
1896
+ function hl(e) {
1897
+ const t = an(e);
1898
+ return (t == null ? void 0 : t.kind) === "metric" && t.metricId === Qe;
1901
1899
  }
1902
- function vl(e) {
1900
+ function Cl(e) {
1903
1901
  var ut, dt, ft, pt, mt, gt, yt;
1904
- const { card: t, result: n } = e, o = e.projection ?? "screen", r = oe(t) === "config", i = as(t), s = i === "card-type" ? void 0 : i === "author-disabled" ? (ut = e.settings) != null && ut.sort ? { sort: e.settings.sort } : void 0 : e.settings, a = ss(r, e.paginationMode), c = n.columnKeyMap, l = r ? Zi(t, n) : es(n), u = (b) => {
1902
+ const { card: t, result: n } = e, o = e.projection ?? "screen", r = oe(t) === "config", i = as(t), s = i === "card-type" ? void 0 : i === "author-disabled" ? (ut = e.settings) != null && ut.sort ? { sort: e.settings.sort } : void 0 : e.settings, a = ss(r, e.paginationMode), c = n.columnKeyMap, l = r ? Xi(t, n) : es(n), u = (b) => {
1905
1903
  var S, V;
1906
1904
  return b && ((V = (S = s == null ? void 0 : s.labels) == null ? void 0 : S[b]) == null ? void 0 : V.trim()) || void 0;
1907
1905
  }, d = (b) => j({ kind: "metric", ...b }), { keys: f, exportLabels: m } = ns(
@@ -1941,7 +1939,7 @@ function vl(e) {
1941
1939
  );
1942
1940
  A = b.length || !s.sort.length ? b : void 0;
1943
1941
  }
1944
- const M = Sr(
1942
+ const M = Tr(
1945
1943
  s ? {
1946
1944
  order: (ft = s.order) == null ? void 0 : ft.filter(
1947
1945
  (b) => v.has(b)
@@ -1976,7 +1974,7 @@ function vl(e) {
1976
1974
  );
1977
1975
  const J = m.get(b);
1978
1976
  if (J) return J;
1979
- const X = Ii({
1977
+ const Z = Ii({
1980
1978
  columnId: b,
1981
1979
  card: t,
1982
1980
  columnKeyMap: c,
@@ -1985,7 +1983,7 @@ function vl(e) {
1985
1983
  // as dates (its temporal activation covers group columns only).
1986
1984
  metricLabelOverride: (S == null ? void 0 : S.part) === "pivot-member" ? V : void 0
1987
1985
  });
1988
- return X || (hn(b, t, c) ?? b);
1986
+ return Z || (hn(b, t, c) ?? b);
1989
1987
  }, R = O.map((b) => {
1990
1988
  var K;
1991
1989
  const S = p(b), V = (S == null ? void 0 : S.part) ?? ((K = l.owners.get(b)) == null ? void 0 : K.part) ?? "base";
@@ -1995,7 +1993,7 @@ function vl(e) {
1995
1993
  part: V,
1996
1994
  visible: !g(b) && !(S && T.has(S.columnId)),
1997
1995
  label: E(b, S),
1998
- resizable: !i && Xi({ part: V, columnId: S == null ? void 0 : S.columnId })
1996
+ resizable: !i && Zi({ part: V, columnId: S == null ? void 0 : S.columnId })
1999
1997
  };
2000
1998
  }), z = Object.fromEntries(
2001
1999
  R.map((b) => [b.outputKey, b.label])
@@ -2012,7 +2010,7 @@ function vl(e) {
2012
2010
  var V;
2013
2011
  const S = (V = l.entries.get(b.columnId)) == null ? void 0 : V.baseKey;
2014
2012
  return S && y.includes(S) ? [{ outputKey: S, desc: b.direction === "desc" }] : [];
2015
- }), ct = !i && Tr(M);
2013
+ }), ct = !i && Dr(M);
2016
2014
  let ue;
2017
2015
  if (i)
2018
2016
  ue = { available: !1, reason: i };
@@ -2026,7 +2024,7 @@ function vl(e) {
2026
2024
  available: !0,
2027
2025
  canReset: ct,
2028
2026
  items: x.map((V) => {
2029
- const K = l.entries.get(V), J = T.has(V), X = ao.get(V);
2027
+ const K = l.entries.get(V), J = T.has(V), Z = ao.get(V);
2030
2028
  return {
2031
2029
  columnId: V,
2032
2030
  label: u(V) ?? K.authorLabel,
@@ -2034,7 +2032,7 @@ function vl(e) {
2034
2032
  hidden: J,
2035
2033
  isNew: F !== void 0 && !b.has(V),
2036
2034
  canHide: !J && S > 1,
2037
- ...X ? { sort: X } : {}
2035
+ ...Z ? { sort: Z } : {}
2038
2036
  };
2039
2037
  })
2040
2038
  };
@@ -2054,12 +2052,12 @@ function vl(e) {
2054
2052
  author: { order: I }
2055
2053
  };
2056
2054
  }
2057
- function Fl(e, t) {
2055
+ function Il(e, t) {
2058
2056
  var n;
2059
2057
  return (n = wn(e, t)) == null ? void 0 : n.field;
2060
2058
  }
2061
2059
  function wn(e, t) {
2062
- const n = sn(t), o = e.config;
2060
+ const n = an(t), o = e.config;
2063
2061
  if (!n || !o) return;
2064
2062
  let r = [], i;
2065
2063
  if (n.kind === "dimension")
@@ -2130,12 +2128,12 @@ function tt(e, t) {
2130
2128
  ...i.map((s) => ({ ...s, role: "metric" }))
2131
2129
  ].filter((s) => !!s.id);
2132
2130
  }
2133
- function Sl(e, t) {
2131
+ function vl(e, t) {
2134
2132
  return t ? !ae(e).some(
2135
2133
  (n) => t[n] === !1
2136
2134
  ) : !0;
2137
2135
  }
2138
- function Tl(e, t) {
2136
+ function Fl(e, t) {
2139
2137
  for (const n of ae(e))
2140
2138
  if (t != null && t[n])
2141
2139
  return n;
@@ -2160,7 +2158,7 @@ function fs(e, t, n) {
2160
2158
  (r) => o.some((i) => i.has(r))
2161
2159
  );
2162
2160
  }
2163
- function Dl({
2161
+ function Sl({
2164
2162
  card: e,
2165
2163
  effectiveCardConfig: t,
2166
2164
  visibleColumnIds: n,
@@ -2182,7 +2180,7 @@ function Dl({
2182
2180
  ])
2183
2181
  );
2184
2182
  }
2185
- function Ml(e) {
2183
+ function Tl(e) {
2186
2184
  var t, n, o, r, i, s;
2187
2185
  return nt(e) ? {
2188
2186
  ...e,
@@ -2236,7 +2234,7 @@ function ps(e, t, n) {
2236
2234
  columns: a
2237
2235
  } : void 0;
2238
2236
  }
2239
- function Vl(e) {
2237
+ function Dl(e) {
2240
2238
  var t, n, o, r, i, s;
2241
2239
  return {
2242
2240
  ...e,
@@ -2263,7 +2261,7 @@ function ys(e) {
2263
2261
  var t, n, o;
2264
2262
  return !!((t = e.sql) != null && t.trim() && Re(e) && ((o = (n = e.preferences) == null ? void 0 : n.tablePrefs) != null && o.enableDevModePagination));
2265
2263
  }
2266
- function kl(e) {
2264
+ function Ml(e) {
2267
2265
  return e === "export-full-with-cap" ? ms : gs;
2268
2266
  }
2269
2267
  function bs({
@@ -2280,7 +2278,7 @@ function hs(e) {
2280
2278
  var t, n, o;
2281
2279
  return ((t = e.paginationConfig) == null ? void 0 : t.pageSize) || ((o = (n = e.preferences) == null ? void 0 : n.tablePrefs) == null ? void 0 : o.pageSize) || 50;
2282
2280
  }
2283
- function Pl({
2281
+ function Vl({
2284
2282
  current: e,
2285
2283
  defaultPageSize: t,
2286
2284
  queryInputIdentity: n
@@ -2293,10 +2291,10 @@ function Pl({
2293
2291
  pageSize: (e == null ? void 0 : e.pageSize) ?? t
2294
2292
  };
2295
2293
  }
2296
- function xl(e, t, n) {
2294
+ function kl(e, t, n) {
2297
2295
  return (e == null ? void 0 : e.queryInputIdentity) === n && e.page === t.page && e.pageSize === t.pageSize;
2298
2296
  }
2299
- function wl(e, t) {
2297
+ function Pl(e, t) {
2300
2298
  return !e || !t || e.page === t.page && e.pageSize === t.pageSize ? e : {
2301
2299
  ...e,
2302
2300
  page: t.page,
@@ -2342,7 +2340,7 @@ function Fs(e, t) {
2342
2340
  selectedEntities: []
2343
2341
  };
2344
2342
  }
2345
- function Ol(e, t, n = {}) {
2343
+ function xl(e, t, n = {}) {
2346
2344
  const o = vs(e, n);
2347
2345
  if (!o)
2348
2346
  throw new Error("No connection ID found for card");
@@ -2396,7 +2394,7 @@ function Ts(e) {
2396
2394
  if (p.derivedField) return p.derivedField.dataType;
2397
2395
  const h = l().refs.filter((v) => v.field.name === p.name && Oe(v.field.source ?? e.spec.source, p.source ?? e.spec.source));
2398
2396
  return h.length > 1 ? u("The selected field is ambiguous in the authorized Matrix field catalog.", y) : re(((I = h[0]) == null ? void 0 : I.field.dataType) ?? p.dataType);
2399
- }, f = (p, y) => Mo(p, y.target, (h) => d(h, y.controlId)), m = fr.safeParse(t);
2397
+ }, f = (p, y) => Mo(p, y.target, (h) => d(h, y.controlId)), m = pr.safeParse(t);
2400
2398
  if (!m.success) return u(m.error.message);
2401
2399
  t = m.data;
2402
2400
  const g = [...r, ...i].map((p) => {
@@ -2417,7 +2415,7 @@ function Ts(e) {
2417
2415
  const w = (F) => {
2418
2416
  const k = (l().byId.get(F.id) ?? []).filter((x) => !F.source || Oe(F.source, x.field.source ?? e.spec.source));
2419
2417
  if (k.length !== 1) return I(k.length ? "The selected field is ambiguous in the authorized Matrix field catalog." : "The selected field is not in the authorized Matrix field catalog.");
2420
- const O = mr.safeParse(k[0].field);
2418
+ const O = gr.safeParse(k[0].field);
2421
2419
  return O.success ? O.data : I(O.error.message);
2422
2420
  }, A = p.target === "config_metric_selector" || p.target === "config_field_selector" ? p.mapping[h] : void 0, M = A && typeof A == "object" && "kind" in A && A.kind === "matrix_instance" ? A.id : void 0;
2423
2421
  if (v) {
@@ -2426,7 +2424,7 @@ function Ts(e) {
2426
2424
  (T) => T.id === M && T.kind === "aggregate"
2427
2425
  );
2428
2426
  M !== void 0 && !F && I("The selected Matrix aggregate measure is no longer available.");
2429
- const k = p.target === "config_metric_selector" && !F ? Vo({ binding: p, selectedValue: h }) : void 0, O = ((F == null ? void 0 : F.kind) === "aggregate" ? F.aggregate : k == null ? void 0 : k.aggregate) ?? (p.target === "config_aggregation" ? bt({ binding: p, selectedValue: h }) : void 0), x = O === void 0 ? void 0 : pr.safeParse(O);
2427
+ const k = p.target === "config_metric_selector" && !F ? Vo({ binding: p, selectedValue: h }) : void 0, O = ((F == null ? void 0 : F.kind) === "aggregate" ? F.aggregate : k == null ? void 0 : k.aggregate) ?? (p.target === "config_aggregation" ? bt({ binding: p, selectedValue: h }) : void 0), x = O === void 0 ? void 0 : mr.safeParse(O);
2430
2428
  x && !x.success && I("This aggregation is not supported by Matrix."), t = {
2431
2429
  ...t,
2432
2430
  measures: t.measures.map(
@@ -2466,14 +2464,14 @@ function Ts(e) {
2466
2464
  try {
2467
2465
  return xo(m.data, t);
2468
2466
  } catch (p) {
2469
- if (p instanceof br) return u(p.message);
2467
+ if (p instanceof hr) return u(p.message);
2470
2468
  throw p;
2471
2469
  }
2472
2470
  }
2473
2471
  function En(e, t) {
2474
2472
  const n = [], o = (r) => {
2475
2473
  if (r.source) {
2476
- const i = gr.safeParse(r.source);
2474
+ const i = yr.safeParse(r.source);
2477
2475
  if (i.success) n.push(i.data);
2478
2476
  else if (t) throw i.error;
2479
2477
  }
@@ -2488,11 +2486,11 @@ function En(e, t) {
2488
2486
  return n;
2489
2487
  }
2490
2488
  function Ds(e, t = [], n = []) {
2491
- return Qt([...fn(e), ...En(t), ...n]);
2489
+ return Wt([...jt(e), ...En(t), ...n]);
2492
2490
  }
2493
2491
  function Ms(e, t = {}) {
2494
2492
  const n = t.controlBindings ?? [], o = Nt(t.controlDefinitions ?? [], t.cardControlDefinitions ?? []), r = new Map(n.filter((i) => i.target === "config_field_selector" || i.target === "config_metric_selector").map((i) => [i, Lt({ binding: i, definitions: o, controlValues: t.controlValues })]));
2495
- return Qt([...fn(e), ...En(n, r)]);
2493
+ return Wt([...jt(e), ...En(n, r)]);
2496
2494
  }
2497
2495
  function Vs(e, t) {
2498
2496
  return {
@@ -2554,7 +2552,7 @@ function rt(e) {
2554
2552
  function ws(e) {
2555
2553
  return e === "exclude" ? "not in" : "in";
2556
2554
  }
2557
- function Al(e) {
2555
+ function wl(e) {
2558
2556
  var n;
2559
2557
  const t = (n = e.liveValue) == null ? void 0 : n.operation;
2560
2558
  return ot(t) ? rt(t) : e.pendingMode ?? e.authoredMode;
@@ -2588,13 +2586,13 @@ function Es(e, t) {
2588
2586
  function Bs(e) {
2589
2587
  return ot(e.operation) ? [rt(e.operation)] : [];
2590
2588
  }
2591
- function El(e) {
2592
- const t = Jt(e), o = q(t).issues.length ? t : Ba(t);
2589
+ function Ol(e) {
2590
+ const t = Zt(e), o = q(t).issues.length ? t : Ba(t);
2593
2591
  return ci(Os(o)).dashboard;
2594
2592
  }
2595
2593
  function it(e, t) {
2596
2594
  const n = {};
2597
- for (const o of tn(e)) {
2595
+ for (const o of nn(e)) {
2598
2596
  if (!o.inlineFilters || o.inlineFilters.length === 0)
2599
2597
  continue;
2600
2598
  const r = [];
@@ -2626,7 +2624,7 @@ function ve(e, t, n) {
2626
2624
  r[t.target] = { ...r[t.target], [t.inputId]: n }, o[t.scope] = r;
2627
2625
  }
2628
2626
  function Bn(e, t, n) {
2629
- const o = jt(
2627
+ const o = zt(
2630
2628
  e,
2631
2629
  t.controlOverrides,
2632
2630
  { hasExplicitRuntimeOverrides: t.controlOverrides !== void 0 }
@@ -2646,7 +2644,7 @@ function st(e, t, n) {
2646
2644
  n
2647
2645
  );
2648
2646
  }
2649
- function Bl(e, t, n) {
2647
+ function Al(e, t, n) {
2650
2648
  return _n(e, t, n);
2651
2649
  }
2652
2650
  function _n(e, t, n) {
@@ -2661,7 +2659,7 @@ function _n(e, t, n) {
2661
2659
  return i.reduce(
2662
2660
  (a, c) => {
2663
2661
  var l;
2664
- return ze(
2662
+ return Ge(
2665
2663
  a,
2666
2664
  _o({
2667
2665
  dashboard: e,
@@ -2715,7 +2713,7 @@ function _s(e, t) {
2715
2713
  }
2716
2714
  function Kn(e, t, n) {
2717
2715
  if (!Object.keys(n).length) return t;
2718
- const o = jt(
2716
+ const o = zt(
2719
2717
  e,
2720
2718
  t,
2721
2719
  { hasExplicitRuntimeOverrides: t !== void 0 }
@@ -2751,13 +2749,13 @@ function Ks(e, t, n) {
2751
2749
  for (const [s, a] of Object.entries(n)) {
2752
2750
  const c = o.get(s), l = (a ?? []).filter((u) => {
2753
2751
  const d = c == null ? void 0 : c.get(u.filterId);
2754
- return d ? je(d, u) : !1;
2752
+ return d ? ze(d, u) : !1;
2755
2753
  });
2756
2754
  De(l, i[s] ?? []) || (r = !0), i[s] = l;
2757
2755
  }
2758
2756
  return r ? i : void 0;
2759
2757
  }
2760
- function _l(e) {
2758
+ function El(e) {
2761
2759
  const { dashboard: t, capture: n, calendar: o } = e, r = so(t, n.filterValues, {
2762
2760
  calendar: o
2763
2761
  }), i = n.dashboardInputExecutionSnapshot, s = n.controlValues, a = {
@@ -2767,7 +2765,7 @@ function _l(e) {
2767
2765
  adHocFilterValues: r.adHocFilterValues,
2768
2766
  controlOverrides: s,
2769
2767
  // The snapshot replays exactly over the listed values.
2770
- dashboardInputValues: i ? ze(
2768
+ dashboardInputValues: i ? Ge(
2771
2769
  r.slots,
2772
2770
  qo({
2773
2771
  dashboard: t,
@@ -2787,7 +2785,7 @@ function _l(e) {
2787
2785
  ...c != null && c.length ? { transientContexts: c } : {}
2788
2786
  };
2789
2787
  }
2790
- function Rl(e, t) {
2788
+ function Bl(e, t) {
2791
2789
  const { controlContractOverrides: n, cardId: o } = t;
2792
2790
  if (!n || (n.controlDefinitions !== void 0 && (e.controls = n.controlDefinitions), typeof o != "string" || o.trim().length === 0))
2793
2791
  return e;
@@ -2804,7 +2802,7 @@ function Ns(e, t) {
2804
2802
  var d;
2805
2803
  if (l.status !== "set" || l.value.kind !== "filter") return !0;
2806
2804
  const u = (d = n.findFilterInput({ inputId: c })) == null ? void 0 : d.input.filter;
2807
- return !u || je(u, l.value.filterValue) ? !0 : (o = !0, !1);
2805
+ return !u || ze(u, l.value.filterValue) ? !0 : (o = !0, !1);
2808
2806
  });
2809
2807
  return Object.fromEntries(a);
2810
2808
  }, i = {
@@ -2827,7 +2825,7 @@ function le(e, t) {
2827
2825
  var n;
2828
2826
  return !!t && !!((n = e.sheets) != null && n.some((o) => o.id === t));
2829
2827
  }
2830
- function Kl(e) {
2828
+ function _l(e) {
2831
2829
  const { dashboard: t, host: n, calendar: o } = e, r = so(t, n.filterValues, {
2832
2830
  calendar: o
2833
2831
  }).slots, i = n.controlValues, s = le(t, n.selectedSheetId) ? n.selectedSheetId : Ls(t);
@@ -2849,19 +2847,19 @@ function Kl(e) {
2849
2847
  }
2850
2848
  function qn(e) {
2851
2849
  const t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Map();
2852
- for (const r of Ge(e))
2850
+ for (const r of He(e))
2853
2851
  r.kind === "filter" && r.filter ? t.set(r.id, r.filter) : r.kind === "control" && n.add(r.id), r.compatibility && o.set(r.id, r.compatibility);
2854
2852
  return { filterInputs: t, controlInputIds: n, compatibility: o };
2855
2853
  }
2856
2854
  function Nn(e, t) {
2857
- const n = Wt(t);
2855
+ const n = Yt(t);
2858
2856
  if (!n) return;
2859
2857
  const o = ie(e, n);
2860
2858
  return o ? Lo(o, e) ? "applies" : "not-eligible" : "removed";
2861
2859
  }
2862
- function ql(e, t) {
2860
+ function Rl(e, t) {
2863
2861
  const n = Nn(e, t);
2864
- return n ? n === "applies" : Ge(e).some(
2862
+ return n ? n === "applies" : He(e).some(
2865
2863
  (o) => o.id === t
2866
2864
  );
2867
2865
  }
@@ -2900,7 +2898,7 @@ function Ln(e, t, n, o) {
2900
2898
  });
2901
2899
  continue;
2902
2900
  }
2903
- if (y && m.status === "set" && m.value.kind === "filter" && !je(y, m.value.filterValue)) {
2901
+ if (y && m.status === "set" && m.value.kind === "filter" && !ze(y, m.value.filterValue)) {
2904
2902
  o.push({
2905
2903
  kind: "setting-no-longer-applies",
2906
2904
  target: "input",
@@ -2944,11 +2942,11 @@ function B(e, t, n, o = {}) {
2944
2942
  ), i = {};
2945
2943
  for (const [s, a] of Object.entries(t ?? {})) {
2946
2944
  const c = r.get(s);
2947
- if (c && on(c)) {
2948
- Dr(a) || (i[s] = a);
2945
+ if (c && rn(c)) {
2946
+ Mr(a) || (i[s] = a);
2949
2947
  continue;
2950
2948
  }
2951
- if (c && o.sessionSorts && Mr(c)) {
2949
+ if (c && o.sessionSorts && Vr(c)) {
2952
2950
  a.sort && (i[s] = { sort: a.sort });
2953
2951
  continue;
2954
2952
  }
@@ -3013,7 +3011,7 @@ function G(e, t) {
3013
3011
  };
3014
3012
  }
3015
3013
  function wt(e, t, n, o) {
3016
- const { dashboard: r, baseline: i } = e, s = [], a = an(t.state, Qe), c = a.ok ? a.value : {};
3014
+ const { dashboard: r, baseline: i } = e, s = [], a = ln(t.state, We), c = a.ok ? a.value : {};
3017
3015
  for (const g of a.ok ? a.issues : [])
3018
3016
  s.push(zs(g));
3019
3017
  const l = qn(r), u = Rn(
@@ -3038,7 +3036,7 @@ function wt(e, t, n, o) {
3038
3036
  u.controlValues
3039
3037
  ),
3040
3038
  // Overlay, never replacement: the bookmark's slots over the host's.
3041
- dashboardInputValues: ze(
3039
+ dashboardInputValues: Ge(
3042
3040
  i.hostInputValues,
3043
3041
  u.runtime
3044
3042
  ),
@@ -3107,7 +3105,7 @@ function Ot(e, t, n) {
3107
3105
  )
3108
3106
  };
3109
3107
  }
3110
- function Nl(e) {
3108
+ function Kl(e) {
3111
3109
  const { dashboard: t, baseline: n, event: o } = e, r = e.rememberedTableSettings;
3112
3110
  switch (o.kind) {
3113
3111
  case "initial-load":
@@ -3198,7 +3196,7 @@ function Nl(e) {
3198
3196
  }
3199
3197
  }
3200
3198
  }
3201
- function Ll(e) {
3199
+ function ql(e) {
3202
3200
  const { dashboard: t, calendar: n } = e, o = e.hostControlValues, r = {
3203
3201
  ...e.baseline,
3204
3202
  controlOverrides: o,
@@ -3214,9 +3212,9 @@ function Ll(e) {
3214
3212
  };
3215
3213
  let i = o;
3216
3214
  if (e.appliedBookmark) {
3217
- const c = an(
3215
+ const c = ln(
3218
3216
  e.appliedBookmark.state,
3219
- Qe
3217
+ We
3220
3218
  ), l = qn(t), u = Rn(
3221
3219
  l.compatibility,
3222
3220
  Ln(
@@ -3242,7 +3240,7 @@ function Ll(e) {
3242
3240
  }
3243
3241
  };
3244
3242
  }
3245
- function jl(e, t, n) {
3243
+ function Nl(e, t, n) {
3246
3244
  const o = jn(n.values);
3247
3245
  return {
3248
3246
  ...o,
@@ -3275,14 +3273,14 @@ function Hn(e, t) {
3275
3273
  o.has(i) || pe(s.slot) || ve(r, s, { status: "cleared" });
3276
3274
  return Te(r);
3277
3275
  }
3278
- function zl(e) {
3276
+ function Ll(e) {
3279
3277
  const { dashboard: t, baseline: n, current: o } = e, r = Hn(n.materializedInputs, o.inputs), i = B(
3280
3278
  t,
3281
3279
  o.tableSettings,
3282
3280
  void 0
3283
3281
  ), s = o.selectedSheetId && o.selectedSheetId !== n.selectedSheetId && le(t, o.selectedSheetId) ? o.selectedSheetId : void 0;
3284
3282
  return {
3285
- version: Qe,
3283
+ version: We,
3286
3284
  ...s ? { selectedSheetId: s } : {},
3287
3285
  ...ne(r).length ? { inputs: r } : {},
3288
3286
  ...Object.keys(i).length ? { tableSettings: i } : {}
@@ -3290,20 +3288,20 @@ function zl(e) {
3290
3288
  }
3291
3289
  function Gs(e) {
3292
3290
  const t = /* @__PURE__ */ new Map();
3293
- for (const n of Ge(e))
3291
+ for (const n of He(e))
3294
3292
  n.label && t.set(n.id, n.label);
3295
3293
  return t;
3296
3294
  }
3297
3295
  function Hs(e, t, n) {
3298
3296
  var r, i;
3299
- const o = Wt(n);
3297
+ const o = Yt(n);
3300
3298
  if (o) {
3301
3299
  const s = (i = (r = ie(e, o)) == null ? void 0 : r.title) == null ? void 0 : i.trim();
3302
3300
  return s ? `Selection in ${s}` : "Selection";
3303
3301
  }
3304
3302
  return t.get(n) ?? n;
3305
3303
  }
3306
- function Gl(e) {
3304
+ function jl(e) {
3307
3305
  var l, u;
3308
3306
  const { dashboard: t, opened: n, current: o } = e, r = [], i = Gs(t), s = /* @__PURE__ */ new Set();
3309
3307
  for (const d of ne(
@@ -3403,7 +3401,7 @@ function $s(e) {
3403
3401
  }
3404
3402
  } : { inputs: e.inputs, fieldCandidates: t, resolution: { status: "none" } };
3405
3403
  }
3406
- function Hl(e) {
3404
+ function zl(e) {
3407
3405
  var n, o;
3408
3406
  const t = {
3409
3407
  ownerCardCount: 0,
@@ -3460,7 +3458,7 @@ function $n(e, t) {
3460
3458
  ) : e;
3461
3459
  }
3462
3460
  function Un(e) {
3463
- return typeof e.allowMinutePrecision == "boolean" ? e.allowMinutePrecision : He(
3461
+ return typeof e.allowMinutePrecision == "boolean" ? e.allowMinutePrecision : $e(
3464
3462
  e.dashboard,
3465
3463
  e.semanticExecutionPayload
3466
3464
  ).allEligibleTargetsAreDateTime;
@@ -3479,7 +3477,7 @@ function Qn(e) {
3479
3477
  ...n,
3480
3478
  filterId: t.id
3481
3479
  };
3482
- const i = n, s = i.temporalPrecision === "minute" || ge(i.relativeMeta), a = !r && s, c = i.operation === "is null" || i.operation === "is not null" ? [] : a ? $n(i.values, o) : i.values, l = r || !ge(i.relativeMeta) ? i.relativeMeta : void 0, u = r && i.temporalPrecision === "minute" ? i.temporalPrecision : void 0, {
3480
+ const i = n, s = i.temporalPrecision === "minute" || ge(i.relativeMeta) === "minute", a = !r && s, c = i.operation === "is null" || i.operation === "is not null" ? [] : a ? $n(i.values, o) : i.values, l = r || ge(i.relativeMeta) !== "minute" ? i.relativeMeta : void 0, u = r && i.temporalPrecision === "minute" ? i.temporalPrecision : void 0, {
3483
3481
  relativeMeta: d,
3484
3482
  temporalPrecision: f,
3485
3483
  values: m,
@@ -3518,7 +3516,7 @@ function Wn(e) {
3518
3516
  return null;
3519
3517
  const a = n, c = Go(
3520
3518
  o.dataType
3521
- ), l = s && c, u = a.temporalPrecision === "minute" || ge(a.relativeMeta), d = l && a.temporalPrecision === "minute" ? a.temporalPrecision : void 0, f = l || !ge(a.relativeMeta) ? a.relativeMeta : void 0, m = !l && u;
3519
+ ), l = s && c, u = a.temporalPrecision === "minute" || ge(a.relativeMeta) === "minute", d = l && a.temporalPrecision === "minute" ? a.temporalPrecision : void 0, f = l || ge(a.relativeMeta) !== "minute" ? a.relativeMeta : void 0, m = !l && u;
3522
3520
  return {
3523
3521
  filterId: t.id,
3524
3522
  dateOwner: "global_date",
@@ -3553,7 +3551,7 @@ function Wn(e) {
3553
3551
  function N(e) {
3554
3552
  return typeof e == "string" ? e.trim() : "";
3555
3553
  }
3556
- function Xs(e) {
3554
+ function Zs(e) {
3557
3555
  var t;
3558
3556
  return (((t = e.semanticContext) == null ? void 0 : t.selectedEntities) || []).filter((n) => typeof n == "object" && n !== null).filter((n) => n.type === "dataset").map((n) => {
3559
3557
  var o;
@@ -3564,11 +3562,11 @@ function Xs(e) {
3564
3562
  };
3565
3563
  }).filter((n) => n.domainId && n.datasetName);
3566
3564
  }
3567
- function Zs(e) {
3565
+ function Xs(e) {
3568
3566
  var c, l, u, d, f;
3569
3567
  if (ee(e) || (c = e.sql) != null && c.trim())
3570
3568
  return null;
3571
- const t = Xs(e), n = N((l = e.semanticContext) == null ? void 0 : l.semanticDomainId), o = N((u = e.fieldMeta) == null ? void 0 : u.entityId), r = N((d = e.fieldMeta) == null ? void 0 : d.entityName), i = N((f = e.fieldMeta) == null ? void 0 : f.entityType) === "dataset", s = t.find(
3569
+ const t = Zs(e), n = N((l = e.semanticContext) == null ? void 0 : l.semanticDomainId), o = N((u = e.fieldMeta) == null ? void 0 : u.entityId), r = N((d = e.fieldMeta) == null ? void 0 : d.entityName), i = N((f = e.fieldMeta) == null ? void 0 : f.entityType) === "dataset", s = t.find(
3572
3570
  (m) => o && m.selectedEntityId === o
3573
3571
  );
3574
3572
  if (s)
@@ -3586,7 +3584,7 @@ function ea(e) {
3586
3584
  const { filter: t, semanticExecutionPayload: n } = e;
3587
3585
  if (!n)
3588
3586
  return null;
3589
- const o = Zs(t);
3587
+ const o = Xs(t);
3590
3588
  return o && ((i = (r = n.domainsById[o.domainId]) == null ? void 0 : r.datasetsByName[o.datasetName]) == null ? void 0 : i.primaryDateField) || null;
3591
3589
  }
3592
3590
  function Yn(e) {
@@ -3595,7 +3593,7 @@ function Yn(e) {
3595
3593
  (n) => n.filterId !== t.id
3596
3594
  ) : e.filterValues;
3597
3595
  }
3598
- function $l(e) {
3596
+ function Gl(e) {
3599
3597
  const t = U(e.filters), n = Yn({
3600
3598
  filters: e.filters,
3601
3599
  filterValues: e.filterValues
@@ -3623,7 +3621,7 @@ function ta(e) {
3623
3621
  (d) => d.filterId === t.id
3624
3622
  ) : void 0, o = t ? e.cardFilterValues.filter(
3625
3623
  (d) => d.filterId !== t.id
3626
- ) : e.cardFilterValues, r = e.resolvedPrimaryDateField ?? zt({
3624
+ ) : e.cardFilterValues, r = e.resolvedPrimaryDateField ?? Gt({
3627
3625
  card: e.card,
3628
3626
  cardConfig: e.cardConfig,
3629
3627
  resolvedFields: e.resolvedFields,
@@ -3660,7 +3658,7 @@ function ta(e) {
3660
3658
  dateComparisonPlan: l
3661
3659
  };
3662
3660
  }
3663
- function Ul(e) {
3661
+ function Hl(e) {
3664
3662
  const t = U(e.filters), n = Un(e), o = t ? e.filterValues.find(
3665
3663
  (s) => s.filterId === t.id
3666
3664
  ) : void 0, r = Yn(e);
@@ -3680,21 +3678,21 @@ function Ul(e) {
3680
3678
  }
3681
3679
  class na extends Error {
3682
3680
  }
3683
- function Ql(e, t) {
3681
+ function $l(e, t) {
3684
3682
  const n = new Map((e ? H(e) : []).map(({ card: o }) => [o.id, o]));
3685
3683
  return t && n.set(t.id, t), [...n.values()].flatMap((o) => {
3686
- const r = We(o);
3684
+ const r = Le(o);
3687
3685
  return r.status === "ready" ? Ds(r.config.spec, o.controlBindings) : [];
3688
3686
  });
3689
3687
  }
3690
3688
  function oa(e, t, n) {
3691
- const o = xr(e);
3689
+ const o = Ho(e);
3692
3690
  if (!o) throw new Error("Matrix card definition is required.");
3693
3691
  const r = n && Ts({
3694
3692
  ...n,
3695
3693
  spec: o.spec,
3696
3694
  catalog: t.map((u) => ({ ...u, id: u.resolvedField.id }))
3697
- }), i = r ? { ...o, spec: r.spec } : o, s = Ho(t), a = $o(t), c = (u) => {
3695
+ }), i = r ? { ...o, spec: r.spec } : o, s = $o(t), a = Uo(t), c = (u) => {
3698
3696
  const d = a(u, i.spec.source);
3699
3697
  if (!(!d && u.derivedField)) {
3700
3698
  if (!d) throw new na(`Matrix field metadata is unavailable: ${u.name}`);
@@ -3723,7 +3721,7 @@ function ra(e) {
3723
3721
  const t = e.filter(Boolean);
3724
3722
  if (t.length !== 0)
3725
3723
  return t.length === 1 ? t[0] : {
3726
- id: Uo(),
3724
+ id: Qo(),
3727
3725
  logicalOperator: "AND",
3728
3726
  negate: !1,
3729
3727
  conditions: [],
@@ -3752,9 +3750,9 @@ function ia(e) {
3752
3750
  function sa(e, t, n = {}) {
3753
3751
  const o = e.metricColumns || [];
3754
3752
  if (o.length === 0) return e;
3755
- const r = Qo.includes(
3753
+ const r = Wo.includes(
3756
3754
  t
3757
- ), i = Wo.includes(
3755
+ ), i = Yo.includes(
3758
3756
  t
3759
3757
  ), s = (l) => {
3760
3758
  var u;
@@ -3770,7 +3768,7 @@ function sa(e, t, n = {}) {
3770
3768
  const c = o.map(
3771
3769
  (l) => {
3772
3770
  var f;
3773
- const u = Vr(l);
3771
+ const u = kr(l);
3774
3772
  if (u === "none")
3775
3773
  return l;
3776
3774
  let d = l;
@@ -3785,15 +3783,15 @@ function sa(e, t, n = {}) {
3785
3783
  metricColumns: c
3786
3784
  } : e;
3787
3785
  }
3788
- function Wl(e, t = {}) {
3789
- return Jn(Xn(e, t));
3786
+ function Ul(e, t = {}) {
3787
+ return Jn(Zn(e, t));
3790
3788
  }
3791
3789
  function Jn(e) {
3792
3790
  return ra([e.authored, e.drill, e.selections]);
3793
3791
  }
3794
- function Xn(e, t = {}) {
3792
+ function Zn(e, t = {}) {
3795
3793
  return {
3796
- authored: t.includeAuthoredFilters === !1 ? void 0 : Yo(e),
3794
+ authored: t.includeAuthoredFilters === !1 ? void 0 : Jo(e),
3797
3795
  drill: xs(t.drill, e.id),
3798
3796
  selections: Rr(t.selections ?? [])
3799
3797
  };
@@ -3804,11 +3802,11 @@ function aa(e, t, n) {
3804
3802
  { ...o, filters: n },
3805
3803
  e.type,
3806
3804
  // A data variable's card keeps its own period comparison (P3b-03).
3807
- { keepsPeriodComparison: kr(e) }
3805
+ { keepsPeriodComparison: Pr(e) }
3808
3806
  ) : o;
3809
3807
  }
3810
3808
  function la(e) {
3811
- const t = Jo(e);
3809
+ const t = Zo(e);
3812
3810
  return {
3813
3811
  contextMode: t,
3814
3812
  shouldApplyDashboardFilters: !t || t === "full"
@@ -3819,10 +3817,10 @@ function ca(e) {
3819
3817
  ...t.map((r) => r.id),
3820
3818
  ...n.map((r) => r.id)
3821
3819
  ]);
3822
- return Zn(
3820
+ return Xn(
3823
3821
  e.card,
3824
3822
  {
3825
- controlValues: Gt({
3823
+ controlValues: Ht({
3826
3824
  relevantControlIds: o,
3827
3825
  dashboardValues: e.dashboardControlValues,
3828
3826
  cardValues: e.cardControlValues
@@ -3834,7 +3832,7 @@ function ca(e) {
3834
3832
  e.presentationControlIds
3835
3833
  );
3836
3834
  }
3837
- function Zn(e, t, n) {
3835
+ function Xn(e, t, n) {
3838
3836
  const r = t.controlBindings.filter(
3839
3837
  (f) => !Fe(f)
3840
3838
  ), i = new Set(
@@ -3857,7 +3855,7 @@ function Zn(e, t, n) {
3857
3855
  (f) => l.has(f.controlId)
3858
3856
  );
3859
3857
  return {
3860
- controlValues: Gt({
3858
+ controlValues: Ht({
3861
3859
  relevantControlIds: l,
3862
3860
  dashboardValues: t.controlValues
3863
3861
  }),
@@ -3885,7 +3883,7 @@ function ua({
3885
3883
  const m = Tn(t);
3886
3884
  for (const F of e.controlBindings || [])
3887
3885
  Fe(F) && m.add(F.controlId);
3888
- const { shouldApplyDashboardFilters: g } = la(n), p = d != null && d.inputs.length ? d : void 0, y = Xn(e, {
3886
+ const { shouldApplyDashboardFilters: g } = la(n), p = d != null && d.inputs.length ? d : void 0, y = Zn(e, {
3889
3887
  includeAuthoredFilters: f,
3890
3888
  // Blocked and skipped conditions are already projected away, so a
3891
3889
  // selection can only ever narrow this card on its own fields. Carried
@@ -3901,12 +3899,12 @@ function ua({
3901
3899
  ), D = us({ ...e, config: v }, r) ?? v, C = In(D, {
3902
3900
  cardType: e.type,
3903
3901
  dataSource: e.dataSource,
3904
- temporalResultOwner: Ht({
3902
+ temporalResultOwner: $t({
3905
3903
  hasExecutableConfig: Se(D, e.type),
3906
3904
  sql: e.sql,
3907
- normalizedPython: Le(e.python || "")
3905
+ normalizedPython: je(e.python || "")
3908
3906
  })
3909
- }) || D, w = ia(I) || "", A = p ? Zn(
3907
+ }) || D, w = ia(I) || "", A = p ? Xn(
3910
3908
  e,
3911
3909
  {
3912
3910
  controlValues: p.controlValues,
@@ -3987,7 +3985,7 @@ function ma({
3987
3985
  return e.activeFilters;
3988
3986
  const n = new Set(
3989
3987
  e.inputs.flatMap(
3990
- (o) => o.kind === "filter" && ln(o) ? [o.filter.id] : []
3988
+ (o) => o.kind === "filter" && cn(o) ? [o.filter.id] : []
3991
3989
  )
3992
3990
  );
3993
3991
  return e.activeFilters.filter(
@@ -4031,7 +4029,7 @@ function Ke(e, t) {
4031
4029
  (u) => !i.has(u.filterId)
4032
4030
  ), c = s.filter(
4033
4031
  (u) => i.has(u.filterId)
4034
- ), l = Zo({
4032
+ ), l = er({
4035
4033
  card: e,
4036
4034
  inputs: o,
4037
4035
  resolvedInputs: t.dashboardInputContext.resolvedInputs,
@@ -4067,7 +4065,7 @@ function ya(e, t) {
4067
4065
  return n.resolvedInputs.flatMap((i) => {
4068
4066
  if (!i.missingRequiredValue) return [];
4069
4067
  const s = r.get(i.id);
4070
- return s ? s.kind === "filter" && (!e.shouldApplyDashboardFilters && !ln(s) || o.has(s.id)) ? [] : [i.label] : [];
4068
+ return s ? s.kind === "filter" && (!e.shouldApplyDashboardFilters && !cn(s) || o.has(s.id)) ? [] : [i.label] : [];
4071
4069
  });
4072
4070
  }
4073
4071
  function ba({
@@ -4157,7 +4155,7 @@ function no(e, t, n) {
4157
4155
  }, compiledFilters: o };
4158
4156
  }
4159
4157
  function ha(e, t, n) {
4160
- const o = er(e), r = no(e, t, {
4158
+ const o = tr(e), r = no(e, t, {
4161
4159
  resolvedPrimaryDateField: n.resolvedPrimaryDateField,
4162
4160
  timezone: n.calendarContext.tz,
4163
4161
  allowMinutePrecision: n.allowGlobalDateMinutePrecision
@@ -4173,7 +4171,7 @@ function ha(e, t, n) {
4173
4171
  r.queryContext,
4174
4172
  n.calendarContext,
4175
4173
  { resolvePaginationConfig: n.resolvePaginationConfig }
4176
- ), f = t.queryRelevantConfig, m = Le(e.python || ""), g = Ht({
4174
+ ), f = t.queryRelevantConfig, m = je(e.python || ""), g = $t({
4177
4175
  hasExecutableConfig: Se(f, e.type),
4178
4176
  sql: e.sql,
4179
4177
  normalizedPython: m
@@ -4210,7 +4208,7 @@ function ha(e, t, n) {
4210
4208
  };
4211
4209
  }
4212
4210
  const Bt = [], Ca = [], Ia = {};
4213
- function Yl(e, t) {
4211
+ function Ql(e, t) {
4214
4212
  return {
4215
4213
  sheetId: e.sheetId,
4216
4214
  sectionId: e.sectionId,
@@ -4227,11 +4225,11 @@ function va({
4227
4225
  dashboardRuntimeValues: o,
4228
4226
  calendar: r
4229
4227
  }) {
4230
- const i = $t({
4228
+ const i = Ut({
4231
4229
  dashboard: t,
4232
4230
  dashboardInputValues: o.dashboardInputValues,
4233
4231
  transientContexts: void 0
4234
- }) ? $e({
4232
+ }) ? Ue({
4235
4233
  transientContexts: void 0,
4236
4234
  dashboard: t,
4237
4235
  sheetId: n.sheetId,
@@ -4279,7 +4277,7 @@ function Fa(e, t) {
4279
4277
  controls: Array.from(n.values())
4280
4278
  };
4281
4279
  }
4282
- function Jl({
4280
+ function Wl({
4283
4281
  card: e,
4284
4282
  place: t,
4285
4283
  source: n
@@ -4294,7 +4292,7 @@ function Jl({
4294
4292
  function Sa(e, t, n) {
4295
4293
  return {
4296
4294
  calendarContext: n ?? wr,
4297
- allowGlobalDateMinutePrecision: He(
4295
+ allowGlobalDateMinutePrecision: $e(
4298
4296
  e,
4299
4297
  t
4300
4298
  ).allEligibleTargetsAreDateTime,
@@ -4302,7 +4300,7 @@ function Sa(e, t, n) {
4302
4300
  globalCacheConfig: e.globalCacheConfig
4303
4301
  };
4304
4302
  }
4305
- function Xl(e, t) {
4303
+ function Yl(e, t) {
4306
4304
  return io(
4307
4305
  e,
4308
4306
  t,
@@ -4335,7 +4333,7 @@ function Da({
4335
4333
  var D;
4336
4334
  let v;
4337
4335
  try {
4338
- const C = We(h);
4336
+ const C = Le(h);
4339
4337
  if (C.status === "invalid") throw C.error;
4340
4338
  const w = qe(
4341
4339
  h,
@@ -4415,18 +4413,18 @@ function Da({
4415
4413
  s,
4416
4414
  o,
4417
4415
  n.calendar
4418
- ), m = u.context.filterCompilationInput, g = tr(s);
4416
+ ), m = u.context.filterCompilationInput, g = nr(s);
4419
4417
  try {
4420
4418
  const h = Ke(u.card, m), I = d && g && h.status === "ready" && h.filterValues.some((w) => w.filterId === g.id);
4421
4419
  let v = f.allowGlobalDateMinutePrecision;
4422
4420
  if (I) {
4423
4421
  const w = (p = m.dashboardInputContext) == null ? void 0 : p.inputs.find(
4424
4422
  (T) => T.kind === "filter" && T.filter.id === g.id
4425
- ), M = nr(s, g).filter(
4426
- ({ card: T, sheet: P }) => !w || Pr(w, {
4423
+ ), M = or(s, g).filter(
4424
+ ({ card: T, sheet: P }) => !w || xr(w, {
4427
4425
  cardId: T.id,
4428
4426
  sheetId: P.id,
4429
- sheetKind: Ut(P) ? "document" : "dashboard"
4427
+ sheetKind: Qt(P) ? "document" : "dashboard"
4430
4428
  })
4431
4429
  ).map(({ card: T, sheet: P }) => ({
4432
4430
  card: T,
@@ -4459,7 +4457,7 @@ function Da({
4459
4457
  return F.set(E, null), [E];
4460
4458
  }
4461
4459
  }
4462
- ), x = He(
4460
+ ), x = $e(
4463
4461
  s,
4464
4462
  o,
4465
4463
  g,
@@ -4561,11 +4559,11 @@ function oo(e, t) {
4561
4559
  }
4562
4560
  function Va(e, t, n, o, r) {
4563
4561
  var l, u;
4564
- const { dashboard: i } = n, s = oo(i, e.id), a = s ? void 0 : n.transientContexts, c = $t({
4562
+ const { dashboard: i } = n, s = oo(i, e.id), a = s ? void 0 : n.transientContexts, c = Ut({
4565
4563
  dashboard: i,
4566
4564
  dashboardInputValues: o.dashboardInputValues,
4567
4565
  transientContexts: a
4568
- }) ? $e({
4566
+ }) ? Ue({
4569
4567
  transientContexts: a,
4570
4568
  dashboard: i,
4571
4569
  sheetId: t,
@@ -4591,7 +4589,7 @@ function Va(e, t, n, o, r) {
4591
4589
  };
4592
4590
  }
4593
4591
  function ro({ card: e, context: t }, n) {
4594
- return zt({
4592
+ return Gt({
4595
4593
  card: e,
4596
4594
  cardConfig: t.queryRelevantConfig,
4597
4595
  resolvedFields: t.resolvedDateFields,
@@ -4612,7 +4610,7 @@ function io(e, t, n) {
4612
4610
  resolvedPrimaryDateField: r
4613
4611
  };
4614
4612
  }
4615
- function Zl({
4613
+ function Jl({
4616
4614
  dashboard: e,
4617
4615
  dashboardInputValues: t,
4618
4616
  adHocFilterValues: n,
@@ -4624,14 +4622,14 @@ function Zl({
4624
4622
  semanticExecutionPayload: c,
4625
4623
  timezone: l
4626
4624
  }) {
4627
- const u = e ? [...or(e)] : void 0, d = r ?? null, f = (I) => {
4625
+ const u = e ? [...rr(e)] : void 0, d = r ?? null, f = (I) => {
4628
4626
  var v;
4629
4627
  return e ? xa({
4630
4628
  dashboard: e,
4631
4629
  runtimeValues: { dashboardInputValues: t },
4632
4630
  adHocFilterValues: n,
4633
4631
  sheetId: I,
4634
- sheetKind: Ut(
4632
+ sheetKind: Qt(
4635
4633
  (v = e.sheets) == null ? void 0 : v.find((D) => D.id === I)
4636
4634
  ) ? "document" : "dashboard",
4637
4635
  calendar: o
@@ -4651,7 +4649,7 @@ function Zl({
4651
4649
  ) : [];
4652
4650
  for (const I of p)
4653
4651
  Object.assign(g, (a == null ? void 0 : a[I.card.id]) || {});
4654
- const y = rr({
4652
+ const y = ir({
4655
4653
  filterDefinitions: u,
4656
4654
  filterValues: m
4657
4655
  }), h = Js({
@@ -4667,7 +4665,7 @@ function Zl({
4667
4665
  controlValues: g
4668
4666
  };
4669
4667
  }
4670
- function ec({
4668
+ function Zl({
4671
4669
  dashboard: e,
4672
4670
  cardId: t,
4673
4671
  transientContexts: n,
@@ -4730,9 +4728,9 @@ function ec({
4730
4728
  };
4731
4729
  }
4732
4730
  function ka(e, t, n) {
4733
- const o = t === "date" && "relativeMeta" in e ? yr(e.relativeMeta) : void 0;
4731
+ const o = t === "date" && "relativeMeta" in e ? br(e.relativeMeta) : void 0;
4734
4732
  if (!o) return { values: e.values };
4735
- const r = lr(o, n ?? void 0), i = e.operation === "between" || e.operation === "not between";
4733
+ const r = cr(o, n ?? void 0), i = e.operation === "between" || e.operation === "not between";
4736
4734
  return {
4737
4735
  values: r && i ? r : e.values,
4738
4736
  relativeMeta: o,
@@ -4740,8 +4738,8 @@ function ka(e, t, n) {
4740
4738
  };
4741
4739
  }
4742
4740
  function Pa(e, t, n) {
4743
- const o = t, r = sr(e);
4744
- return ar({
4741
+ const o = t, r = ar(e);
4742
+ return lr({
4745
4743
  definition: e,
4746
4744
  sourceValue: o,
4747
4745
  value: {
@@ -4766,7 +4764,7 @@ function so(e, t, n) {
4766
4764
  s.push(a.filterId);
4767
4765
  continue;
4768
4766
  }
4769
- const u = ir(
4767
+ const u = sr(
4770
4768
  Pa(l.filter, a, n.calendar)
4771
4769
  );
4772
4770
  if (u) {
@@ -4774,8 +4772,8 @@ function so(e, t, n) {
4774
4772
  r = ht(r, l, {}, u);
4775
4773
  continue;
4776
4774
  }
4777
- for (const d of cn(e).values())
4778
- un(l, d) && (r = ht(
4775
+ for (const d of un(e).values())
4776
+ dn(l, d) && (r = ht(
4779
4777
  r,
4780
4778
  l,
4781
4779
  { sheetId: d.sheetId },
@@ -4788,8 +4786,8 @@ function so(e, t, n) {
4788
4786
  function xa(e) {
4789
4787
  const { dashboard: t, sheetId: n } = e, o = [];
4790
4788
  if (n)
4791
- for (const { input: r } of cr(t, n, e.sheetKind)) {
4792
- const i = ur({
4789
+ for (const { input: r } of ur(t, n, e.sheetKind)) {
4790
+ const i = dr({
4793
4791
  dashboard: t,
4794
4792
  input: r,
4795
4793
  runtimeValues: { dashboardInputValues: e.runtimeValues.dashboardInputValues },
@@ -4800,12 +4798,12 @@ function xa(e) {
4800
4798
  }
4801
4799
  return [...o, ...eo(e.adHocFilterValues, n)];
4802
4800
  }
4803
- function tc(e, t) {
4801
+ function Xl(e, t) {
4804
4802
  switch (t.runtimeScope) {
4805
4803
  case "shared":
4806
4804
  return [{}];
4807
4805
  case "perSheet":
4808
- return [...cn(e).values()].filter((n) => un(t, n)).map((n) => ({ sheetId: n.sheetId }));
4806
+ return [...un(e).values()].filter((n) => dn(t, n)).map((n) => ({ sheetId: n.sheetId }));
4809
4807
  case "perCard": {
4810
4808
  const n = q(e);
4811
4809
  return [
@@ -4832,7 +4830,7 @@ function _t(e) {
4832
4830
  ...e.cards ?? [],
4833
4831
  ...(e.frames ?? []).flatMap((n) => n.cards),
4834
4832
  ...(((t = e.document) == null ? void 0 : t.sections) ?? []).flatMap(
4835
- (n) => dn(n)
4833
+ (n) => fn(n)
4836
4834
  )
4837
4835
  ];
4838
4836
  }
@@ -4843,7 +4841,7 @@ function wa(e, t) {
4843
4841
  cardId: t.id,
4844
4842
  sheetKind: e.kind ?? "dashboard",
4845
4843
  sectionId: (o = (n = e.document) == null ? void 0 : n.sections.find(
4846
- (r) => dn(r).some(({ id: i }) => i === t.id)
4844
+ (r) => fn(r).some(({ id: i }) => i === t.id)
4847
4845
  )) == null ? void 0 : o.id
4848
4846
  };
4849
4847
  }
@@ -4851,7 +4849,7 @@ function Oa(e, t, n, o) {
4851
4849
  var l, u, d;
4852
4850
  const r = {}, i = (l = e.preferences) == null ? void 0 : l.textVisualOptions;
4853
4851
  if (!i) return r;
4854
- const s = $e({
4852
+ const s = Ue({
4855
4853
  // Authoring: carried drill context never applies to a dashboard being edited.
4856
4854
  transientContexts: void 0,
4857
4855
  dashboard: n,
@@ -4919,127 +4917,127 @@ export {
4919
4917
  rt as $,
4920
4918
  so as A,
4921
4919
  xa as B,
4922
- tc as C,
4920
+ Xl as C,
4923
4921
  da as D,
4924
4922
  eo as E,
4925
4923
  ni as F,
4926
- nl as G,
4924
+ el as G,
4927
4925
  di as H,
4928
4926
  Ts as I,
4929
4927
  Pt as J,
4930
- vl as K,
4928
+ Cl as K,
4931
4929
  oi as L,
4932
- hl as M,
4930
+ yl as M,
4933
4931
  xi as N,
4934
4932
  Pi as O,
4935
4933
  Vi as P,
4936
- dl as Q,
4934
+ cl as Q,
4937
4935
  Sn as R,
4938
4936
  Be as S,
4939
- sl as T,
4937
+ rl as T,
4940
4938
  fs as U,
4941
4939
  ps as V,
4942
4940
  Ai as W,
4943
4941
  $ as X,
4944
- yl as Y,
4942
+ ml as Y,
4945
4943
  Bi as Z,
4946
- bl as _,
4944
+ gl as _,
4947
4945
  Hs as a,
4948
4946
  tt as a$,
4949
4947
  ot as a0,
4950
4948
  jr as a1,
4951
- fl as a2,
4952
- gl as a3,
4949
+ ul as a2,
4950
+ pl as a3,
4953
4951
  wi as a4,
4954
- cl as a5,
4952
+ al as a5,
4955
4953
  nt as a6,
4956
4954
  An as a7,
4957
- Xl as a8,
4955
+ Yl as a8,
4958
4956
  Sa as a9,
4959
4957
  On as aA,
4960
- Yl as aB,
4961
- Ul as aC,
4958
+ Ql as aB,
4959
+ Hl as aC,
4962
4960
  se as aD,
4963
4961
  yn as aE,
4964
- il as aF,
4965
- rl as aG,
4966
- ll as aH,
4962
+ ol as aF,
4963
+ nl as aG,
4964
+ sl as aH,
4967
4965
  Da as aI,
4968
4966
  yi as aJ,
4969
- al as aK,
4970
- Ql as aL,
4967
+ il as aK,
4968
+ $l as aL,
4971
4969
  pn as aM,
4972
- pl as aN,
4973
- $l as aO,
4974
- Al as aP,
4970
+ dl as aN,
4971
+ Gl as aO,
4972
+ wl as aP,
4975
4973
  ws as aQ,
4976
- Hl as aR,
4974
+ zl as aR,
4977
4975
  Qn as aS,
4978
4976
  Ke as aT,
4979
- ul as aU,
4977
+ ll as aU,
4980
4978
  na as aV,
4981
4979
  Wn as aW,
4982
4980
  Ye as aX,
4983
- ml as aY,
4984
- Ml as aZ,
4985
- Vl as a_,
4981
+ fl as aY,
4982
+ Tl as aZ,
4983
+ Dl as a_,
4986
4984
  _t as aa,
4987
4985
  wa as ab,
4988
4986
  Oa as ac,
4989
4987
  Aa as ad,
4990
- Xi as ae,
4991
- jl as af,
4992
- Nl as ag,
4988
+ Zi as ae,
4989
+ Nl as af,
4990
+ Kl as ag,
4993
4991
  Bn as ah,
4994
- Ll as ai,
4992
+ ql as ai,
4995
4993
  Li as aj,
4996
4994
  pa as ak,
4997
- Zl as al,
4995
+ Jl as al,
4998
4996
  aa as am,
4999
- Wl as an,
5000
- Dl as ao,
5001
- Jl as ap,
4997
+ Ul as an,
4998
+ Sl as ao,
4999
+ Wl as ap,
5002
5000
  bs as aq,
5003
5001
  hs as ar,
5004
5002
  Ta as as,
5005
- Pl as at,
5006
- xl as au,
5003
+ Vl as at,
5004
+ kl as au,
5007
5005
  Is as av,
5008
5006
  Re as aw,
5009
5007
  ys as ax,
5010
5008
  vs as ay,
5011
- wl as az,
5012
- Cl as b,
5013
- Sl as b0,
5014
- Tl as b1,
5015
- kl as b2,
5009
+ Pl as az,
5010
+ bl as b,
5011
+ vl as b0,
5012
+ Fl as b1,
5013
+ Ml as b2,
5016
5014
  gs as b3,
5017
5015
  ne as b4,
5018
- Bl as b5,
5019
- Gl as b6,
5020
- zl as b7,
5016
+ Al as b5,
5017
+ jl as b6,
5018
+ Ll as b7,
5021
5019
  Ji as c,
5022
5020
  la as d,
5023
5021
  ei as e,
5024
- Fl as f,
5025
- Ol as g,
5026
- ql as h,
5027
- Il as i,
5028
- Rl as j,
5022
+ Il as f,
5023
+ xl as g,
5024
+ Rl as h,
5025
+ hl as i,
5026
+ Bl as j,
5029
5027
  be as k,
5030
5028
  Gs as l,
5031
- ec as m,
5032
- Kl as n,
5029
+ Zl as m,
5030
+ _l as n,
5033
5031
  st as o,
5034
- El as p,
5032
+ Ol as p,
5035
5033
  Pa as q,
5036
- _l as r,
5034
+ El as r,
5037
5035
  Ds as s,
5038
5036
  Ms as t,
5039
5037
  ri as u,
5040
5038
  ai as v,
5041
5039
  gn as w,
5042
- ol as x,
5040
+ tl as x,
5043
5041
  ci as y,
5044
5042
  Ba as z
5045
5043
  };