react-semaphor 0.1.563 → 0.1.564

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 (33) hide show
  1. package/dist/assistant-context/index.js +1 -1
  2. package/dist/briefings/index.js +1 -1
  3. package/dist/chunks/{assistant-chat-iIp02_77.js → assistant-chat-D1BEEHUF.js} +103 -103
  4. package/dist/chunks/{bookmark-impact-D4Kl4amw.js → bookmark-impact-XOsVUAqW.js} +1 -1
  5. package/dist/chunks/{dashboard-CmqeP3QZ.js → dashboard-DfYsASNd.js} +1 -1
  6. package/dist/chunks/{dashboard-briefing-launcher-TYlSW77S.js → dashboard-briefing-launcher-lvYfJoUQ.js} +1429 -1379
  7. package/dist/chunks/{dashboard-controls-B253nJS-.js → dashboard-controls-CJ8Dz50D.js} +58 -58
  8. package/dist/chunks/{dashboard-json-osQuinUZ.js → dashboard-json-D3uZxGO-.js} +1 -1
  9. package/dist/chunks/{dates-DFY7Gfss.js → dates-EvDtT25n.js} +5 -5
  10. package/dist/chunks/{edit-dashboard-visual-CMar-NhA.js → edit-dashboard-visual-CgHJXBQv.js} +8 -8
  11. package/dist/chunks/{filter-reach-copy-CvV7W5dd.js → filter-reach-copy-Cmb05jlE.js} +106 -106
  12. package/dist/chunks/{global-date-filter-utils-N1kcsOFE.js → global-date-filter-utils-ruJYwjgZ.js} +3034 -3023
  13. package/dist/chunks/{index-CNGkfUp4.js → index-CAgf2x4E.js} +2 -2
  14. package/dist/chunks/index-RNaTnE3m.js +585 -0
  15. package/dist/chunks/{report-preferences-dialog-l54wJyYE.js → report-preferences-dialog-DMqxSU4X.js} +7 -7
  16. package/dist/chunks/{resolve-dashboard-input-context-DaDrZGuA.js → resolve-dashboard-input-context-i_jCSYae.js} +370 -370
  17. package/dist/chunks/{saved-dashboard-context-DFYBrE6O.js → saved-dashboard-context-Dg3oDmH_.js} +2 -2
  18. package/dist/chunks/{semaphor-ready-indicator-C3EQEiD9.js → semaphor-ready-indicator-CFeCIuaw.js} +8045 -8041
  19. package/dist/chunks/{shelf-drop-preview-context-BODiBlqT.js → shelf-drop-preview-context-cEyVkKTF.js} +2 -2
  20. package/dist/chunks/{use-create-flow-overlay-state-BXY8-Cyz.js → use-create-flow-overlay-state-Dl6DCxh8.js} +2 -2
  21. package/dist/dashboard/index.js +1 -1
  22. package/dist/dashboard-authoring/index.js +615 -594
  23. package/dist/index.js +13 -13
  24. package/dist/layouts/index.js +1 -1
  25. package/dist/surfboard/index.js +1 -1
  26. package/dist/types/components/activity/activity-bell.d.ts +5 -1
  27. package/dist/types/components/activity/activity-types.d.ts +12 -4
  28. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +6 -1
  29. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +1 -1
  30. package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +8 -1
  31. package/dist/types/shared/dashboard-authoring/measure-calculations/schemas.d.ts +1 -1
  32. package/package.json +1 -1
  33. package/dist/chunks/index-CJW5BdWT.js +0 -583
@@ -1,22 +1,22 @@
1
- import { fM as Qo, ct as Ho, g as Y, fN as rt, bW as Wo, aP as Yo, bb as Jo, c as Xo, bO as Zo, bU as er, fO as An, T as Ie, fP as Pn, fQ as tr, fR as gt, dT as On, dW as nr, bD as ir, fS as or, aA as rr, e$ as _n, f1 as sr, fT as Nn, W as ar, f3 as lr, cV as je, s as R, eW as Le, n as yt, fU as cr, fV as Bn, fW as Rn, cP as qn, cR as Kn, cz as dr, cU as ur, cS as nn, cT as fr, cC as pr, cB as mr, cO as br, cM as gr, eQ as ht, j as It, fX as jn, eE as Ln, fY as yr, bY as zn, bZ as hr, bS as Ct, bX as $n, fZ as Ir, f_ as Cr, eF as vr, e as vt, a5 as B, fj as Gn, eT as be, fi as Fr, f$ as Sr, f as $, c1 as Ft, cq as Tr, b_ as Dr, c2 as Un, cp as kr, g0 as K, fp as L, g1 as St, d as oe, g2 as Tt, fn as Mr, g3 as Vr, fo as Ee, g4 as ze, fu as xr, g5 as Qn, g6 as Er, g7 as $e, fE as Ge, g8 as Dt, g9 as wr, r as Ar, h as Pr, ga as re, eU as kt, gb as we, gc as Hn, gd as Or, ge as _r, gf as Nr, gg as Br, gh as Rr, gi as qr, a as Kr, gj as Wn, a2 as Yn, gk as jr, ck as Lr, a7 as zr, a$ as Jn, cj as Xn, fB as $r, ac as Ue, ab as Mt, gl as Zn, gm as Gr, cl as Ur, gn as Qr, go as Hr, fC as ei, gp as on, gq as Wr, gr as Yr, gs as Jr } from "./global-date-filter-utils-N1kcsOFE.js";
1
+ import { fN as Qo, ct as Ho, g as Y, fO as rt, bW as Wo, aP as Yo, bb as Jo, c as Xo, bO as Zo, bU as er, fP as An, T as Ie, fQ as Pn, fR as tr, fS as bt, dU as On, dX as nr, bD as ir, fT as or, aA as rr, f0 as _n, f2 as sr, fU as Nn, W as ar, f4 as lr, cV as je, s as R, eX as Le, n as yt, fV as cr, fW as Bn, fX as Rn, cP as qn, cR as Kn, cz as dr, cU as ur, cS as nn, cT as fr, cC as pr, cB as mr, cO as gr, cM as br, eR as ht, j as It, fY as jn, eF as Ln, fZ as yr, bY as zn, bZ as hr, bS as Ct, bX as $n, f_ as Ir, f$ as Cr, eG as vr, e as vt, a5 as B, fk as Gn, eU as ge, fj as Fr, g0 as Sr, f as $, c1 as Ft, cq as Tr, b_ as Dr, c2 as Un, cp as kr, g1 as K, fq as L, g2 as St, d as oe, g3 as Tt, fo as Mr, g4 as Vr, fp as we, g5 as ze, fv as xr, g6 as Qn, g7 as wr, g8 as $e, fF as Ge, g9 as Dt, ga as Er, r as Ar, h as Pr, gb as re, eV as kt, gc as Ee, gd as Hn, ge as Or, gf as _r, gg as Nr, gh as Br, gi as Rr, gj as qr, a as Kr, gk as Wn, a2 as Yn, gl as jr, ck as Lr, a7 as zr, a$ as Jn, cj as Xn, fC as $r, ac as Ue, ab as Mt, gm as Zn, gn as Gr, cl as Ur, go as Qr, gp as Hr, fD as ei, gq as on, gr as Wr, gs as Yr, gt as Jr } from "./global-date-filter-utils-ruJYwjgZ.js";
2
2
  import { av as Xr, G as Z, I as te, H as se, a1 as Zr, R as es, S as ts, am as rn, q as ti, aa as ns, c as ne, z as sn, at as is, B as an, F as os, C as rs, v as ss } from "./validators-BIM0FE31.js";
3
- import { G as Qe, t as Vt, u as as, v as He, r as ge } from "./matrix-operation-contract-DsLdFdSa.js";
3
+ import { G as Qe, t as Vt, u as as, v as He, r as be } from "./matrix-operation-contract-DsLdFdSa.js";
4
4
  import { S as xt } from "./analytics-base-schemas-BaIQrEzX.js";
5
5
  import { ZodError as ls } from "zod";
6
6
  import "./index-CuHybtft.js";
7
7
  import { canonicalizeSupportedCurrencyCode as ni } from "../value-format-preferences/index.js";
8
8
  import "./_commonjsHelpers-DimLPMtv.js";
9
9
  import { b as Ae, r as cs, aV as ds, i as us, av as fs, aE as ln } from "./temporal-input-presentation-sk9gqLi6.js";
10
- import { H as ps, O as ii, n as ms, u as oi, t as W, k as ri, C as st, e as bs, c as si, K as gs, P as G, Q as ai, A as Ce, N as at, y as ve, i as li, l as ys, s as hs, B as Et, G as Is } from "./bookmark-state-CWeoGbrx.js";
11
- import "./index-CJW5BdWT.js";
10
+ import { H as ps, O as ii, n as ms, u as oi, t as W, k as ri, C as st, e as gs, c as si, K as bs, P as G, Q as ai, A as Ce, N as at, y as ve, i as li, l as ys, s as hs, B as wt, G as Is } from "./bookmark-state-CWeoGbrx.js";
11
+ import "./index-RNaTnE3m.js";
12
12
  import "./context-R31TSL5V.js";
13
- import { i as wt, b as ci, r as Cs } from "./matrix-card-CCh9JjP1.js";
13
+ import { i as Et, b as ci, r as Cs } from "./matrix-card-CCh9JjP1.js";
14
14
  import { D as vs } from "./report-runtime-context-BITkNSDa.js";
15
15
  import { r as ae, C as Fs, d as Ss } from "./metric-comparison-Bnso1cm1.js";
16
16
  import { p as Ts, d as Ds } from "./pivot-result-contract-expectations-B53jqszr.js";
17
17
  import { isPdfTableCardType as ks, FAST_PDF_POLICY as Ms } from "../pdf-export-policy/index.js";
18
18
  import { c as Vs } from "./selection-filter-compiler-CUDRnUxc.js";
19
- import { g as xs, f as Es, a as ws, h as As, j as Ps, e as Os } from "./matrix-analytical-definition-hEucouWM.js";
19
+ import { g as xs, f as ws, a as Es, h as As, j as Ps, e as Os } from "./matrix-analytical-definition-hEucouWM.js";
20
20
  import { r as _s } from "./pivot-result-identity-Dq5jm-EC.js";
21
21
  import { b as Ns } from "./source-entity-resolution-DdDVXFB8.js";
22
22
  const Bs = (e, t) => {
@@ -145,7 +145,7 @@ function Us(e) {
145
145
  a[p] = Ze(a[p - 3] ^ a[p - 8] ^ a[p - 14] ^ a[p - 16], 1);
146
146
  let l = n[0], c = n[1], d = n[2], u = n[3], f = n[4];
147
147
  for (let p = 0; p < 80; ++p) {
148
- const b = Math.floor(p / 20), m = Ze(l, 5) + Gs(b, c, d, u) + f + t[b] + a[p] >>> 0;
148
+ const g = Math.floor(p / 20), m = Ze(l, 5) + Gs(g, c, d, u) + f + t[g] + a[p] >>> 0;
149
149
  f = u, u = d, d = Ze(c, 30) >>> 0, c = l, l = m;
150
150
  }
151
151
  n[0] = n[0] + l >>> 0, n[1] = n[1] + c >>> 0, n[2] = n[2] + d >>> 0, n[3] = n[3] + u >>> 0, n[4] = n[4] + f >>> 0;
@@ -277,8 +277,8 @@ function Qu(e, t) {
277
277
  const p = c.entityId;
278
278
  c.fieldScope === "card" && (c.entityId = ((u = t.cardIds) == null ? void 0 : u[p]) ?? p), c.fieldScope === "sheet" && (c.entityId = ((f = t.sheetIds) == null ? void 0 : f[p]) ?? p);
279
279
  }
280
- for (const [p, b] of Object.entries(c))
281
- p !== "linkedReferenceOverrides" && i(b);
280
+ for (const [p, g] of Object.entries(c))
281
+ p !== "linkedReferenceOverrides" && i(g);
282
282
  };
283
283
  i(n), n.clickToFilter && (n.clickToFilter = Ho(n.clickToFilter, t));
284
284
  for (const l of Object.values(
@@ -315,7 +315,7 @@ function pi(e) {
315
315
  }
316
316
  function Hu(e, t, n, i, o, r, s) {
317
317
  const { measures: a, dimensions: l } = e, c = a == null ? void 0 : a.map(
318
- (b) => `${b.calc}(${b.name}) as ${b.calc}_${b.name.replace(/"/g, "")}`
318
+ (g) => `${g.calc}(${g.name}) as ${g.calc}_${g.name.replace(/"/g, "")}`
319
319
  ).join(", "), d = (l == null ? void 0 : l.join(", ")) || "";
320
320
  let u = "";
321
321
  const p = (i ? `${rt}.${i}` : s || mi({
@@ -323,7 +323,7 @@ function Hu(e, t, n, i, o, r, s) {
323
323
  tableName: n,
324
324
  databaseName: o,
325
325
  capabilities: r
326
- })).split(".").map((b) => Oe(b)).join(".");
326
+ })).split(".").map((g) => Oe(g)).join(".");
327
327
  if (c && d)
328
328
  return u = `SELECT ${d}, COUNT(*) as count, ${c} FROM ${p} GROUP BY ${d} ORDER BY ${d} DESC LIMIT 100`, u;
329
329
  if (!c && d)
@@ -451,7 +451,7 @@ function ca(e) {
451
451
  const i = Array.isArray(t.selectedEntities) ? t.selectedEntities.map((r) => r && typeof r == "object" && "connectionType" in r && !String(r.connectionType ?? "").trim() ? { ...r, connectionType: n } : r) : t.selectedEntities;
452
452
  return { ...e, dataSource: { ...t, connectionType: n, selectedEntities: i } };
453
453
  }
454
- function bi(e) {
454
+ function gi(e) {
455
455
  var s, a;
456
456
  const t = e;
457
457
  if (!Wo(t)) return { status: "not_legacy", card: e };
@@ -470,13 +470,13 @@ function bi(e) {
470
470
  }
471
471
  function ef(e) {
472
472
  if (!e.cards) return e;
473
- const t = e.cards.map((n) => bi(n).card);
473
+ const t = e.cards.map((n) => gi(n).card);
474
474
  return t.every((n, i) => n === e.cards[i]) ? e : { ...e, cards: t };
475
475
  }
476
476
  function da(e) {
477
477
  const t = [];
478
478
  return { dashboard: ps(e, (i, o) => {
479
- const r = bi(i);
479
+ const r = gi(i);
480
480
  return r.status === "routed" && r.gaps.length && t.push({ location: o, gaps: r.gaps }), r.card;
481
481
  }), routedWithGaps: t };
482
482
  }
@@ -563,18 +563,18 @@ function tf(e) {
563
563
  return "Comparison";
564
564
  }
565
565
  }
566
- function gi(e, t, n) {
566
+ function bi(e, t, n) {
567
567
  var i;
568
568
  if (((i = n == null ? void 0 : n.output) == null ? void 0 : i.availability.status) === "available" && n.output.comparisonColumnKey)
569
569
  return n.output.comparisonColumnKey;
570
570
  }
571
- function ba(e, t) {
571
+ function ga(e, t) {
572
572
  return `${e} Δ`;
573
573
  }
574
574
  function nf(e, t) {
575
575
  return An(e, t);
576
576
  }
577
- function ga(e, t) {
577
+ function ba(e, t) {
578
578
  return e.rawKey === t.rawKey && e.outputKey === t.outputKey;
579
579
  }
580
580
  function yi(e) {
@@ -588,7 +588,7 @@ function yi(e) {
588
588
  var d;
589
589
  if (o && l.id !== o) return !1;
590
590
  const c = (d = n.byMetricAlias) == null ? void 0 : d[ae(l)];
591
- return !!(c && ga(r, c));
591
+ return !!(c && ba(r, c));
592
592
  });
593
593
  return s.length === 1 ? s[0] : void 0;
594
594
  }
@@ -791,12 +791,12 @@ function Sa(e) {
791
791
  }
792
792
  }).memberLabels.map(
793
793
  (C) => C || "(Blank)"
794
- ), b = l.members.map((C) => C.value), m = Ca(u == null ? void 0 : u.valueAliases, b) || va(
794
+ ), g = l.members.map((C) => C.value), m = Ca(u == null ? void 0 : u.valueAliases, g) || va(
795
795
  u == null ? void 0 : u.aliasTemplate,
796
796
  c,
797
797
  p
798
- ), g = m ? [m] : p, y = s || (d.length > 1 ? (u == null ? void 0 : u.label) || (u == null ? void 0 : u.name) : void 0);
799
- return [...g, ...y ? [y] : []].join(" / ");
798
+ ), b = m ? [m] : p, y = s || (d.length > 1 ? (u == null ? void 0 : u.label) || (u == null ? void 0 : u.name) : void 0);
799
+ return [...b, ...y ? [y] : []].join(" / ");
800
800
  }
801
801
  function Q(e, t, n, i) {
802
802
  return e != null && e.length ? e.map(
@@ -833,12 +833,12 @@ function fn(e, t, n, i) {
833
833
  })), e.forEach(r), o;
834
834
  }
835
835
  function Ta(e, t) {
836
- var f, p, b;
836
+ var f, p, g;
837
837
  const { keys: n, card: i, columnKeyMap: o, resultColumns: r } = e;
838
838
  if (!((f = i.config.pivotByColumns) != null && f.length)) return null;
839
839
  if (!o || !(r != null && r.length)) return [...n];
840
840
  const s = n.every(
841
- (m) => r.some((g) => g.key === m)
841
+ (m) => r.some((b) => b.key === m)
842
842
  ), a = [
843
843
  ...Q(
844
844
  i.config.groupByColumns,
@@ -852,7 +852,7 @@ function Ta(e, t) {
852
852
  "metric",
853
853
  o
854
854
  )
855
- ].length === (((p = i.config.groupByColumns) == null ? void 0 : p.length) || 0) + (((b = i.config.metricColumns) == null ? void 0 : b.length) || 0);
855
+ ].length === (((p = i.config.groupByColumns) == null ? void 0 : p.length) || 0) + (((g = i.config.metricColumns) == null ? void 0 : g.length) || 0);
856
856
  if (!s || !a)
857
857
  return [...n];
858
858
  const l = r.filter(
@@ -906,12 +906,12 @@ function Da(e) {
906
906
  o
907
907
  );
908
908
  if (!p) return;
909
- const b = gi(
909
+ const g = bi(
910
910
  f,
911
911
  d,
912
912
  u
913
913
  );
914
- b && s.set(p, b);
914
+ g && s.set(p, g);
915
915
  });
916
916
  const a = (c) => s.get(c) ?? null;
917
917
  if (le(n)) {
@@ -1000,7 +1000,7 @@ function Ci(e, t) {
1000
1000
  if (!e)
1001
1001
  return;
1002
1002
  const n = { type: t.cardType, config: e };
1003
- return gt(n) ? xa(n, t) : e.matrix === void 0 ? {} : { matrix: e.matrix };
1003
+ return bt(n) ? xa(n, t) : e.matrix === void 0 ? {} : { matrix: e.matrix };
1004
1004
  }
1005
1005
  function xa(e, t = {}) {
1006
1006
  var r, s, a;
@@ -1024,12 +1024,12 @@ function xa(e, t = {}) {
1024
1024
  function Be(e) {
1025
1025
  return (e == null ? void 0 : e.type) === "number" || (e == null ? void 0 : e.type) === "currency";
1026
1026
  }
1027
- function Ea(e) {
1027
+ function wa(e) {
1028
1028
  return (e == null ? void 0 : e.type) === "number";
1029
1029
  }
1030
- function wa(e) {
1030
+ function Ea(e) {
1031
1031
  var n;
1032
- if (!Ea(e))
1032
+ if (!wa(e))
1033
1033
  return !1;
1034
1034
  const t = (n = e == null ? void 0 : e.numberFormat) == null ? void 0 : n.style;
1035
1035
  return t === void 0 || t === "decimal" || t === "currency";
@@ -1108,7 +1108,7 @@ function af(e, t) {
1108
1108
  };
1109
1109
  }
1110
1110
  function Si(e, t = []) {
1111
- const n = wt(e);
1111
+ const n = Et(e);
1112
1112
  if (n.status !== "ready") return [];
1113
1113
  const { spec: i, presentation: o } = n.config, r = Nn(t);
1114
1114
  return i.measures.map((s) => {
@@ -1173,8 +1173,8 @@ function Na(e, t = [], n) {
1173
1173
  measureId: I.measureId
1174
1174
  })
1175
1175
  ), f = c.filter((I) => {
1176
- var w, M;
1177
- return ((w = I.canonical) == null ? void 0 : w.type) === "number" || ((M = I.canonical) == null ? void 0 : M.type) === "currency";
1176
+ var E, M;
1177
+ return ((E = I.canonical) == null ? void 0 : E.type) === "number" || ((M = I.canonical) == null ? void 0 : M.type) === "currency";
1178
1178
  }).map(
1179
1179
  (I) => ({
1180
1180
  kind: "matrix_measure",
@@ -1192,13 +1192,13 @@ function Na(e, t = [], n) {
1192
1192
  kind: "metric",
1193
1193
  metricId: I.id
1194
1194
  })
1195
- ), b = [...new Set(t)], m = (r ? b : []).map(
1195
+ ), g = [...new Set(t)], m = (r ? g : []).map(
1196
1196
  (I) => ({
1197
1197
  kind: "column",
1198
1198
  columnKey: I
1199
1199
  })
1200
- ), g = (r ? b : []).filter(
1201
- (I) => wa(
1200
+ ), b = (r ? g : []).filter(
1201
+ (I) => Ea(
1202
1202
  a[I]
1203
1203
  )
1204
1204
  ).map(
@@ -1206,13 +1206,13 @@ function Na(e, t = [], n) {
1206
1206
  kind: "column",
1207
1207
  columnKey: I
1208
1208
  })
1209
- ), y = (i && e.type === "kpi" ? b.slice(0, 1) : []).map(
1209
+ ), y = (i && e.type === "kpi" ? g.slice(0, 1) : []).map(
1210
1210
  (I) => ({
1211
1211
  kind: "column",
1212
1212
  columnKey: I
1213
1213
  })
1214
1214
  ), C = i && e.type === "kpi" ? ct(e, {
1215
- resultColumnKey: b[0]
1215
+ resultColumnKey: g[0]
1216
1216
  }) : void 0, h = o && (C != null && C.currencyBindable) ? y : [];
1217
1217
  return {
1218
1218
  knownTargets: pn([
@@ -1223,7 +1223,7 @@ function Na(e, t = [], n) {
1223
1223
  eligibleTargets: pn([
1224
1224
  ...p,
1225
1225
  ...f,
1226
- ...g,
1226
+ ...b,
1227
1227
  ...h
1228
1228
  ])
1229
1229
  };
@@ -1507,7 +1507,7 @@ function La(e, t) {
1507
1507
  )
1508
1508
  };
1509
1509
  }
1510
- function bn(e = [], t) {
1510
+ function gn(e = [], t) {
1511
1511
  return [...e].map((n) => ja(n, t)).sort(
1512
1512
  (n, i) => n.id.localeCompare(i.id) || n.scope.localeCompare(i.scope) || n.type.localeCompare(i.type)
1513
1513
  );
@@ -1521,15 +1521,15 @@ function za(e = [], t) {
1521
1521
  }
1522
1522
  function $a(e, t) {
1523
1523
  return e ? R({
1524
- controlDefinitions: bn(e.controlDefinitions, t),
1525
- cardControlDefinitions: bn(
1524
+ controlDefinitions: gn(e.controlDefinitions, t),
1525
+ cardControlDefinitions: gn(
1526
1526
  e.cardControlDefinitions,
1527
1527
  t
1528
1528
  ),
1529
1529
  controlBindings: za(e.controlBindings, t)
1530
1530
  }) : "__none__";
1531
1531
  }
1532
- const Ga = ["table", "detailTable"], gn = (e) => Ga.includes(e.type), Ua = "calendar-context";
1532
+ const Ga = ["table", "detailTable"], bn = (e) => Ga.includes(e.type), Ua = "calendar-context";
1533
1533
  function Qa(e) {
1534
1534
  const { id: t, label: n, field: i, ...o } = e;
1535
1535
  return {
@@ -1631,9 +1631,9 @@ function Xa(e, {
1631
1631
  const { filterColumns: u, ...f } = e.queryConfig || {}, p = u == null ? void 0 : u.filter(
1632
1632
  (h) => {
1633
1633
  var D, I;
1634
- return (I = (D = e.queryConfig) == null ? void 0 : D.filters) == null ? void 0 : I.some((w) => w.filterColumnName === h.name);
1634
+ return (I = (D = e.queryConfig) == null ? void 0 : D.filters) == null ? void 0 : I.some((E) => E.filterColumnName === h.name);
1635
1635
  }
1636
- ), b = (e == null ? void 0 : e.sql) || "", m = yt((e == null ? void 0 : e.python) || ""), g = ["table", "detailTable", "matrixTable"].includes(
1636
+ ), g = (e == null ? void 0 : e.sql) || "", m = yt((e == null ? void 0 : e.python) || ""), b = ["table", "detailTable", "matrixTable"].includes(
1637
1637
  e.type
1638
1638
  ) ? "table" : e.type === "kpi" ? "kpi" : "chart", y = a || Ci(e.config, { cardType: e.type, dataSource: e.dataSource }), C = cr.includes(
1639
1639
  e.type
@@ -1641,8 +1641,8 @@ function Xa(e, {
1641
1641
  return [
1642
1642
  "query",
1643
1643
  e == null ? void 0 : e.id,
1644
- g,
1645
1644
  b,
1645
+ g,
1646
1646
  m,
1647
1647
  JSON.stringify(n),
1648
1648
  Ja(i, {
@@ -1672,7 +1672,7 @@ function Xa(e, {
1672
1672
  }
1673
1673
  function Za(e, t, n) {
1674
1674
  var a, l, c;
1675
- const i = Xa(e, t), o = R(i), r = ((a = n == null ? void 0 : n.resolvePaginationConfig) == null ? void 0 : a.call(n, o)) ?? e.paginationConfig, s = gn(e) && Le(e.config) || gn(e) && e.sql && ((c = (l = e.preferences) == null ? void 0 : l.tablePrefs) == null ? void 0 : c.enableDevModePagination);
1675
+ const i = Xa(e, t), o = R(i), r = ((a = n == null ? void 0 : n.resolvePaginationConfig) == null ? void 0 : a.call(n, o)) ?? e.paginationConfig, s = bn(e) && Le(e.config) || bn(e) && e.sql && ((c = (l = e.preferences) == null ? void 0 : l.tablePrefs) == null ? void 0 : c.enableDevModePagination);
1676
1676
  return {
1677
1677
  queryKey: [
1678
1678
  ...i,
@@ -1722,37 +1722,37 @@ function xi(e) {
1722
1722
  return Object.entries(e.comparisonMetadata || {}).forEach(
1723
1723
  ([f, p]) => {
1724
1724
  var y;
1725
- const b = p.output;
1726
- if (!b || b.outputId !== f || b.availability.status !== "available")
1725
+ const g = p.output;
1726
+ if (!g || g.outputId !== f || g.availability.status !== "available")
1727
1727
  return;
1728
1728
  const m = ((y = e.resolveMetricName) == null ? void 0 : y.call(e, {
1729
- metricId: b.metricId,
1730
- metricAlias: b.metricAlias
1731
- })) || p.displayName || b.metricId, g = p.displayLabel || "Comparison";
1732
- b.comparisonColumnKey && (d.set(
1733
- b.comparisonColumnKey,
1734
- `${m} (${g})`
1735
- ), u.set(b.comparisonColumnKey, {
1736
- metricId: b.metricId,
1737
- metricAlias: b.metricAlias,
1729
+ metricId: g.metricId,
1730
+ metricAlias: g.metricAlias
1731
+ })) || p.displayName || g.metricId, b = p.displayLabel || "Comparison";
1732
+ g.comparisonColumnKey && (d.set(
1733
+ g.comparisonColumnKey,
1734
+ `${m} (${b})`
1735
+ ), u.set(g.comparisonColumnKey, {
1736
+ metricId: g.metricId,
1737
+ metricAlias: g.metricAlias,
1738
1738
  kind: "comparison"
1739
- })), b.deltaColumnKey && l.has(b.deltaColumnKey) && (d.set(b.deltaColumnKey, `${m} Difference`), u.set(b.deltaColumnKey, {
1740
- metricId: b.metricId,
1741
- metricAlias: b.metricAlias,
1739
+ })), g.deltaColumnKey && l.has(g.deltaColumnKey) && (d.set(g.deltaColumnKey, `${m} Difference`), u.set(g.deltaColumnKey, {
1740
+ metricId: g.metricId,
1741
+ metricAlias: g.metricAlias,
1742
1742
  kind: "delta"
1743
- })), b.percentChangeColumnKey && l.has(b.percentChangeColumnKey) && (d.set(
1744
- b.percentChangeColumnKey,
1743
+ })), g.percentChangeColumnKey && l.has(g.percentChangeColumnKey) && (d.set(
1744
+ g.percentChangeColumnKey,
1745
1745
  `${m} Percent Change`
1746
- ), u.set(b.percentChangeColumnKey, {
1747
- metricId: b.metricId,
1748
- metricAlias: b.metricAlias,
1746
+ ), u.set(g.percentChangeColumnKey, {
1747
+ metricId: g.metricId,
1748
+ metricAlias: g.metricAlias,
1749
1749
  kind: "percent_change"
1750
- })), b.ratioColumnKey && l.has(b.ratioColumnKey) && (d.set(
1751
- b.ratioColumnKey,
1750
+ })), g.ratioColumnKey && l.has(g.ratioColumnKey) && (d.set(
1751
+ g.ratioColumnKey,
1752
1752
  `${m} Ratio (current ÷ comparison)`
1753
- ), u.set(b.ratioColumnKey, {
1754
- metricId: b.metricId,
1755
- metricAlias: b.metricAlias,
1753
+ ), u.set(g.ratioColumnKey, {
1754
+ metricId: g.metricId,
1755
+ metricAlias: g.metricAlias,
1756
1756
  kind: "ratio"
1757
1757
  }));
1758
1758
  }
@@ -1779,7 +1779,7 @@ function mf(e) {
1779
1779
  }
1780
1780
  });
1781
1781
  }
1782
- function bf(e) {
1782
+ function gf(e) {
1783
1783
  var n;
1784
1784
  return (((n = e.card.config) == null ? void 0 : n.metricColumns) || []).filter(
1785
1785
  (i) => {
@@ -1814,12 +1814,12 @@ function yn(e) {
1814
1814
  function tl(e, t) {
1815
1815
  var u, f;
1816
1816
  const n = [...t.keys], i = new Set(n), o = t.columnKeyMap, r = Bt(e).flatMap(
1817
- ({ role: p, fields: b }) => b.flatMap((m) => {
1818
- const g = Rt(m, p);
1819
- return g ? [
1817
+ ({ role: p, fields: g }) => g.flatMap((m) => {
1818
+ const b = Rt(m, p);
1819
+ return b ? [
1820
1820
  {
1821
- identity: g,
1822
- columnId: W(g),
1821
+ identity: b,
1822
+ columnId: W(b),
1823
1823
  field: m,
1824
1824
  // Identity comes from result metadata (PLAN B2): no key map, no address.
1825
1825
  outputKey: o ? Fe(m, p, n, o) : void 0
@@ -1833,64 +1833,64 @@ function tl(e, t) {
1833
1833
  ), l = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map();
1834
1834
  for (const p of r) {
1835
1835
  if (s.get(p.columnId) !== 1) continue;
1836
- const b = p.outputKey && a.get(p.outputKey) === 1 ? p.outputKey : void 0;
1836
+ const g = p.outputKey && a.get(p.outputKey) === 1 ? p.outputKey : void 0;
1837
1837
  l.set(p.columnId, {
1838
1838
  columnId: p.columnId,
1839
1839
  identity: p.identity,
1840
1840
  field: p.field,
1841
- baseKey: b,
1841
+ baseKey: g,
1842
1842
  // Today's header for the column's own key; a metric shown only as pivot
1843
1843
  // members is named by its field.
1844
- authorLabel: b ? hi(b, e, o) ?? b : p.field.label || p.field.name || p.columnId
1845
- }), b && c.set(b, { columnId: p.columnId, part: "base" });
1844
+ authorLabel: g ? hi(g, e, o) ?? g : p.field.label || p.field.name || p.columnId
1845
+ }), g && c.set(g, { columnId: p.columnId, part: "base" });
1846
1846
  }
1847
1847
  const d = e.config;
1848
1848
  if (e.type === "table" && ((u = d == null ? void 0 : d.pivotByColumns) != null && u.length) && ((f = t.columns) != null && f.length)) {
1849
1849
  const p = e;
1850
- for (const b of t.columns) {
1851
- if (!b.pivotIdentity || !i.has(b.key) || c.has(b.key))
1850
+ for (const g of t.columns) {
1851
+ if (!g.pivotIdentity || !i.has(g.key) || c.has(g.key))
1852
1852
  continue;
1853
1853
  const m = _t({
1854
- resultColumn: b,
1854
+ resultColumn: g,
1855
1855
  card: p,
1856
1856
  columnKeyMap: o
1857
1857
  });
1858
1858
  if (!m) continue;
1859
- const g = {
1859
+ const b = {
1860
1860
  kind: "metric",
1861
1861
  metricId: m.identity.metricId,
1862
1862
  metricAlias: m.identity.metricAlias
1863
- }, y = W(g);
1863
+ }, y = W(b);
1864
1864
  if (m.authoredMetric) {
1865
1865
  if (!l.has(y))
1866
1866
  continue;
1867
1867
  } else {
1868
1868
  if (m.identity.metricId !== xt)
1869
1869
  continue;
1870
- l.has(y) || l.set(y, { columnId: y, identity: g, authorLabel: "Count" });
1870
+ l.has(y) || l.set(y, { columnId: y, identity: b, authorLabel: "Count" });
1871
1871
  }
1872
- c.set(b.key, { columnId: y, part: "pivot-member" });
1872
+ c.set(g.key, { columnId: y, part: "pivot-member" });
1873
1873
  }
1874
1874
  }
1875
- for (const [p, b] of Object.entries(
1875
+ for (const [p, g] of Object.entries(
1876
1876
  t.comparisonMetadata ?? {}
1877
1877
  )) {
1878
- const m = b.output;
1878
+ const m = g.output;
1879
1879
  if (m.outputId !== p || m.availability.status !== "available")
1880
1880
  continue;
1881
- const g = W({
1881
+ const b = W({
1882
1882
  kind: "metric",
1883
1883
  metricId: m.metricId,
1884
1884
  metricAlias: m.metricAlias
1885
1885
  });
1886
- if (l.has(g))
1886
+ if (l.has(b))
1887
1887
  for (const y of [
1888
1888
  m.comparisonColumnKey,
1889
1889
  m.deltaColumnKey,
1890
1890
  m.percentChangeColumnKey,
1891
1891
  m.ratioColumnKey
1892
1892
  ])
1893
- y && !c.has(y) && c.set(y, { columnId: g, part: "comparison" });
1893
+ y && !c.has(y) && c.set(y, { columnId: b, part: "comparison" });
1894
1894
  }
1895
1895
  return { entries: l, owners: c };
1896
1896
  }
@@ -1907,7 +1907,7 @@ function nl(e) {
1907
1907
  }
1908
1908
  return { entries: t, owners: n };
1909
1909
  }
1910
- function gf(e) {
1910
+ function bf(e) {
1911
1911
  const t = /* @__PURE__ */ new Set();
1912
1912
  for (const n of e ?? [])
1913
1913
  if (n && typeof n == "object")
@@ -1925,9 +1925,9 @@ function ol(e, t, n, i) {
1925
1925
  const s = t.comparisonMetadata;
1926
1926
  if (n === "screen") {
1927
1927
  const f = Bn(s);
1928
- o = o.filter((b) => !f.internalKeys.has(b));
1928
+ o = o.filter((g) => !f.internalKeys.has(g));
1929
1929
  const p = e.type === "table" ? (l = e.preferences) == null ? void 0 : l.comparisonPresentation : void 0;
1930
- Rn(p) || (o = o.filter((b) => !f.comparisonColumnKeys.has(b)));
1930
+ Rn(p) || (o = o.filter((g) => !f.comparisonColumnKeys.has(g)));
1931
1931
  } else {
1932
1932
  const f = xi({
1933
1933
  comparisonMetadata: s,
@@ -1964,7 +1964,7 @@ function rl(e, t, n) {
1964
1964
  [...n],
1965
1965
  t.columnKeyMap
1966
1966
  )) continue;
1967
- const d = gi(
1967
+ const d = bi(
1968
1968
  s.label || s.name,
1969
1969
  a,
1970
1970
  l
@@ -1984,7 +1984,7 @@ function al(e, t, n) {
1984
1984
  if (!t.length) return [];
1985
1985
  const i = sl(e), o = [], r = /* @__PURE__ */ new Set();
1986
1986
  for (const s of t) {
1987
- const a = Es(i, s);
1987
+ const a = ws(i, s);
1988
1988
  if (!a) continue;
1989
1989
  const l = i[a.group], c = Rt(l.fields[a.index], l.role);
1990
1990
  if (!c) continue;
@@ -1999,7 +1999,7 @@ function al(e, t, n) {
1999
1999
  function ll(e, t) {
2000
2000
  return e ? "query" : t === "server" ? "page-only" : "browser";
2001
2001
  }
2002
- function Ei(e, t) {
2002
+ function wi(e, t) {
2003
2003
  var n, i, o;
2004
2004
  return !!t && ((o = (i = (n = e.preferences) == null ? void 0 : n.tablePrefs) == null ? void 0 : i.columnVisibility) == null ? void 0 : o[t]) === !1;
2005
2005
  }
@@ -2088,13 +2088,13 @@ function If(e) {
2088
2088
  const T = u(v);
2089
2089
  return d(c.entries.has(T) ? T : void 0) ?? ((V = c.entries.get(T)) == null ? void 0 : V.authorLabel);
2090
2090
  }
2091
- ), b = (v) => Ei(t, v), m = (v) => {
2091
+ ), g = (v) => wi(t, v), m = (v) => {
2092
2092
  const T = c.owners.get(v);
2093
2093
  if (!T || r === "card-type") return;
2094
2094
  const V = c.entries.get(T.columnId);
2095
- if (!(!V || V.baseKey && b(V.baseKey)))
2095
+ if (!(!V || V.baseKey && g(V.baseKey)))
2096
2096
  return T;
2097
- }, g = f.filter((v) => !b(v)), C = dt(g, m).flatMap(
2097
+ }, b = f.filter((v) => !g(v)), C = dt(b, m).flatMap(
2098
2098
  (v) => v.columnId ? [v.columnId] : []
2099
2099
  ), h = new Set(C), D = o ? al(
2100
2100
  t,
@@ -2105,7 +2105,7 @@ function If(e) {
2105
2105
  ...(s == null ? void 0 : s.hidden) ?? [],
2106
2106
  ...Object.keys((s == null ? void 0 : s.labels) ?? {}),
2107
2107
  ...((s == null ? void 0 : s.sort) ?? []).map((v) => v.columnId)
2108
- ], w = [
2108
+ ], E = [
2109
2109
  ...new Set(I.filter((v) => !h.has(v)))
2110
2110
  ];
2111
2111
  let M;
@@ -2130,16 +2130,16 @@ function If(e) {
2130
2130
  ),
2131
2131
  sort: M
2132
2132
  } : void 0
2133
- ), F = S == null ? void 0 : S.order, x = F ? ul(g, m, F, n.columns) : g, P = F ? [...x, ...f.filter(b)] : f, A = dt(x, m).flatMap(
2133
+ ), F = S == null ? void 0 : S.order, x = F ? ul(b, m, F, n.columns) : b, P = F ? [...x, ...f.filter(g)] : f, A = dt(x, m).flatMap(
2134
2134
  (v) => v.columnId ? [v.columnId] : []
2135
2135
  ), k = new Set((S == null ? void 0 : S.hidden) ?? []);
2136
2136
  A.length && A.every((v) => k.has(v)) && k.delete(A[0]);
2137
- const E = i === "screen" ? rl(t, n, f) : /* @__PURE__ */ new Map(), _ = (v, T) => {
2137
+ const w = i === "screen" ? rl(t, n, f) : /* @__PURE__ */ new Map(), _ = (v, T) => {
2138
2138
  const V = d(T == null ? void 0 : T.columnId);
2139
2139
  if ((T == null ? void 0 : T.part) === "base" && V) return V;
2140
- const U = E.get(v);
2140
+ const U = w.get(v);
2141
2141
  if (U)
2142
- return ba(
2142
+ return ga(
2143
2143
  ((T == null ? void 0 : T.part) === "comparison" ? V : void 0) ?? (U.metric.label || U.metric.name),
2144
2144
  U.kind
2145
2145
  );
@@ -2162,7 +2162,7 @@ function If(e) {
2162
2162
  outputKey: v,
2163
2163
  ...T ? { columnId: T.columnId } : {},
2164
2164
  part: (T == null ? void 0 : T.part) ?? ((V = c.owners.get(v)) == null ? void 0 : V.part) ?? "base",
2165
- visible: !b(v) && !(T && k.has(T.columnId)),
2165
+ visible: !g(v) && !(T && k.has(T.columnId)),
2166
2166
  label: _(v, T)
2167
2167
  };
2168
2168
  }), J = Object.fromEntries(
@@ -2172,7 +2172,7 @@ function If(e) {
2172
2172
  ), Uo = de.flatMap((v) => {
2173
2173
  var V;
2174
2174
  const T = (V = c.entries.get(v.columnId)) == null ? void 0 : V.baseKey;
2175
- return T && g.includes(T) ? [{ outputKey: T, desc: v.direction === "desc" }] : [];
2175
+ return T && b.includes(T) ? [{ outputKey: T, desc: v.direction === "desc" }] : [];
2176
2176
  }), Jt = !r && !!(S != null && S.order || S != null && S.hidden || S != null && S.labels);
2177
2177
  let De;
2178
2178
  if (r)
@@ -2208,7 +2208,7 @@ function If(e) {
2208
2208
  clientSort: Uo,
2209
2209
  panel: De,
2210
2210
  ...S ? { settings: S } : {},
2211
- dropped: w,
2211
+ dropped: E,
2212
2212
  isCustomized: Jt,
2213
2213
  canSort: r !== "card-type" && a !== "page-only",
2214
2214
  author: { order: C }
@@ -2216,9 +2216,9 @@ function If(e) {
2216
2216
  }
2217
2217
  function Cf(e, t) {
2218
2218
  var n;
2219
- return (n = wi(e, t)) == null ? void 0 : n.field;
2219
+ return (n = Ei(e, t)) == null ? void 0 : n.field;
2220
2220
  }
2221
- function wi(e, t) {
2221
+ function Ei(e, t) {
2222
2222
  const n = ri(t), i = e.config;
2223
2223
  if (!n || !i) return;
2224
2224
  let o = [], r;
@@ -2237,10 +2237,10 @@ function fl(e, t) {
2237
2237
  if (!n || !e.config || e.type !== "table" && e.type !== "detailTable" || Ie(e) !== "config")
2238
2238
  return e.config;
2239
2239
  const i = n.flatMap((o) => {
2240
- const r = wi(e, o.columnId);
2240
+ const r = Ei(e, o.columnId);
2241
2241
  if (!r) return [];
2242
- const s = ws(r.field, r.role);
2243
- return Ei(e, s) ? [] : [
2242
+ const s = Es(r.field, r.role);
2243
+ return wi(e, s) ? [] : [
2244
2244
  {
2245
2245
  ...r.field,
2246
2246
  alias: s,
@@ -2361,7 +2361,7 @@ function Tf(e) {
2361
2361
  }
2362
2362
  } : e;
2363
2363
  }
2364
- function bl(e, t, n) {
2364
+ function gl(e, t, n) {
2365
2365
  if (!Kt(e) || !Ai(e))
2366
2366
  return;
2367
2367
  const i = qt(e, t), o = new Set(
@@ -2415,7 +2415,7 @@ function Df(e) {
2415
2415
  }
2416
2416
  };
2417
2417
  }
2418
- const kf = 1e4, gl = 500, yl = 250;
2418
+ const kf = 1e4, bl = 500, yl = 250;
2419
2419
  function ut(e) {
2420
2420
  return e.type === "table" || e.type === "detailTable";
2421
2421
  }
@@ -2424,7 +2424,7 @@ function hl(e) {
2424
2424
  return !!((t = e.sql) != null && t.trim() && ut(e) && ((i = (n = e.preferences) == null ? void 0 : n.tablePrefs) != null && i.enableDevModePagination));
2425
2425
  }
2426
2426
  function Mf(e) {
2427
- return e === "export-full-with-cap" ? gl : yl;
2427
+ return e === "export-full-with-cap" ? bl : yl;
2428
2428
  }
2429
2429
  function Il({
2430
2430
  card: e,
@@ -2456,7 +2456,7 @@ function Vf({
2456
2456
  function xf(e, t, n) {
2457
2457
  return (e == null ? void 0 : e.queryInputIdentity) === n && e.page === t.page && e.pageSize === t.pageSize;
2458
2458
  }
2459
- function Ef(e, t) {
2459
+ function wf(e, t) {
2460
2460
  return !e || !t || e.page === t.page && e.pageSize === t.pageSize ? e : {
2461
2461
  ...e,
2462
2462
  page: t.page,
@@ -2474,7 +2474,7 @@ function Fl(e) {
2474
2474
  isTablePrintMode: ((s = e.display) == null ? void 0 : s.isTablePrintMode) ?? !1,
2475
2475
  isDocumentSectionRuntime: !!e.documentSection,
2476
2476
  documentTableDataPolicy: (a = e.documentSection) == null ? void 0 : a.documentTableDataPolicy
2477
- }), { page: i } = e, o = e.tableTotalsRequest ?? (e.documentSection ? void 0 : bl(t, e.finalConfig)), r = !!((l = e.display) != null && l.deliveryStrict && e.display.isTablePrintMode && !e.documentSection && ks(t.type));
2477
+ }), { page: i } = e, o = e.tableTotalsRequest ?? (e.documentSection ? void 0 : gl(t, e.finalConfig)), r = !!((l = e.display) != null && l.deliveryStrict && e.display.isTablePrintMode && !e.documentSection && ks(t.type));
2478
2478
  return {
2479
2479
  ...o ? { tableTotalsRequest: o } : {},
2480
2480
  ...r ? { sourceRowProbe: { limit: Ms.maxRows } } : {},
@@ -2502,7 +2502,7 @@ function Tl(e, t) {
2502
2502
  selectedEntities: []
2503
2503
  };
2504
2504
  }
2505
- function wf(e, t, n = {}) {
2505
+ function Ef(e, t, n = {}) {
2506
2506
  const i = Sl(e, n);
2507
2507
  if (!i)
2508
2508
  throw new Error("No connection ID found for card");
@@ -2540,48 +2540,48 @@ function kl(e) {
2540
2540
  let l;
2541
2541
  const c = () => {
2542
2542
  if (l) return l;
2543
- const m = e.catalog, g = /* @__PURE__ */ new Map();
2543
+ const m = e.catalog, b = /* @__PURE__ */ new Map();
2544
2544
  for (const y of m) {
2545
- const C = g.get(y.id) ?? [];
2546
- g.set(y.id, [...C, y]);
2545
+ const C = b.get(y.id) ?? [];
2546
+ b.set(y.id, [...C, y]);
2547
2547
  }
2548
- return l = { refs: m, byId: g }, l;
2549
- }, d = (m, g) => {
2550
- throw new br(m, {
2551
- code: gr,
2552
- ...g ? { controlId: g } : {}
2548
+ return l = { refs: m, byId: b }, l;
2549
+ }, d = (m, b) => {
2550
+ throw new gr(m, {
2551
+ code: br,
2552
+ ...b ? { controlId: b } : {}
2553
2553
  });
2554
- }, u = (m, g) => {
2554
+ }, u = (m, b) => {
2555
2555
  var C;
2556
2556
  if (m.derivedField) return m.derivedField.dataType;
2557
2557
  const y = c().refs.filter((h) => h.field.name === m.name && te(h.field.source ?? e.spec.source, m.source ?? e.spec.source));
2558
- return y.length > 1 ? d("The selected field is ambiguous in the authorized Matrix field catalog.", g) : se(((C = y[0]) == null ? void 0 : C.field.dataType) ?? m.dataType);
2559
- }, f = (m, g) => dr(m, g.target, (y) => u(y, g.controlId)), p = Zr.safeParse(t);
2558
+ return y.length > 1 ? d("The selected field is ambiguous in the authorized Matrix field catalog.", b) : se(((C = y[0]) == null ? void 0 : C.field.dataType) ?? m.dataType);
2559
+ }, f = (m, b) => dr(m, b.target, (y) => u(y, b.controlId)), p = Zr.safeParse(t);
2560
2560
  if (!p.success) return d(p.error.message);
2561
2561
  t = p.data;
2562
- const b = [...o, ...r].map((m) => {
2563
- const g = Kn({ binding: m, definitions: n, controlValues: e.controlValues }), y = !m.matrixTargetId && g !== void 0 && g !== st ? f(p.data, m) : [];
2562
+ const g = [...o, ...r].map((m) => {
2563
+ const b = Kn({ binding: m, definitions: n, controlValues: e.controlValues }), y = !m.matrixTargetId && b !== void 0 && b !== st ? f(p.data, m) : [];
2564
2564
  return {
2565
2565
  binding: m,
2566
- selectedValue: g,
2566
+ selectedValue: b,
2567
2567
  targetId: m.matrixTargetId ?? (y.length === 1 ? y[0].id : void 0)
2568
2568
  };
2569
2569
  });
2570
- for (const { binding: m, targetId: g, selectedValue: y } of b) {
2570
+ for (const { binding: m, targetId: b, selectedValue: y } of g) {
2571
2571
  if (y === void 0 || y === st)
2572
2572
  continue;
2573
2573
  const C = (F) => d(F, m.controlId), h = m.target === "config_metric_selector" || m.target === "config_aggregation", D = f(t, m);
2574
- (!g || !D.some((F) => F.id === g)) && C("Choose a valid Matrix level or measure target for this control.");
2575
- const I = `${m.target}:${g}`;
2574
+ (!b || !D.some((F) => F.id === b)) && C("Choose a valid Matrix level or measure target for this control.");
2575
+ const I = `${m.target}:${b}`;
2576
2576
  s.has(I) && C("Multiple controls cannot replace the same Matrix target."), s.add(I);
2577
- const w = (F) => {
2577
+ const E = (F) => {
2578
2578
  const x = (c().byId.get(F.id) ?? []).filter((A) => !F.source || te(F.source, A.field.source ?? e.spec.source));
2579
2579
  if (x.length !== 1) return C(x.length ? "The selected field is ambiguous in the authorized Matrix field catalog." : "The selected field is not in the authorized Matrix field catalog.");
2580
2580
  const P = ts.safeParse(x[0].field);
2581
2581
  return P.success ? P.data : C(P.error.message);
2582
2582
  }, M = m.target === "config_metric_selector" || m.target === "config_field_selector" ? m.mapping[y] : void 0, S = M && typeof M == "object" && "kind" in M && M.kind === "matrix_instance" ? M.id : void 0;
2583
2583
  if (h) {
2584
- a.set(g, m.controlId);
2584
+ a.set(b, m.controlId);
2585
2585
  const F = S === void 0 ? void 0 : p.data.measures.find(
2586
2586
  (k) => k.id === S && k.kind === "aggregate"
2587
2587
  );
@@ -2590,9 +2590,9 @@ function kl(e) {
2590
2590
  A && !A.success && C("This aggregation is not supported by Matrix."), t = {
2591
2591
  ...t,
2592
2592
  measures: t.measures.map(
2593
- (k) => k.id !== g || k.kind !== "aggregate" ? k : {
2593
+ (k) => k.id !== b || k.kind !== "aggregate" ? k : {
2594
2594
  ...k,
2595
- ...x ? { field: w(x) } : {},
2595
+ ...x ? { field: E(x) } : {},
2596
2596
  ...(F == null ? void 0 : F.kind) === "aggregate" ? { field: F.field } : {},
2597
2597
  aggregate: A != null && A.success ? A.data : k.aggregate
2598
2598
  }
@@ -2605,10 +2605,10 @@ function kl(e) {
2605
2605
  S !== void 0 && !F && C("The selected Matrix level is no longer available.");
2606
2606
  const x = m.target === "config_field_selector" && !F ? fr({ binding: m, selectedValue: y }) : void 0, P = m.target === "config_grain" ? nn({ binding: m, selectedValue: y }) : F ? F.grain : x == null ? void 0 : x.granularity;
2607
2607
  P !== void 0 && !Dl.has(P) && C("This time grain is not supported by Matrix.");
2608
- const A = (k) => k.map((E) => {
2609
- if (E.id !== g) return E;
2610
- const _ = (F == null ? void 0 : F.field) ?? (x ? w(x) : E.field), j = u(_, m.controlId), J = P ?? (x && rn(j) ? E.grain : void 0);
2611
- return J && !rn(j) && C("A time grain requires a temporal Matrix level."), { ...E, field: _, grain: J };
2608
+ const A = (k) => k.map((w) => {
2609
+ if (w.id !== b) return w;
2610
+ const _ = (F == null ? void 0 : F.field) ?? (x ? E(x) : w.field), j = u(_, m.controlId), J = P ?? (x && rn(j) ? w.grain : void 0);
2611
+ return J && !rn(j) && C("A time grain requires a temporal Matrix level."), { ...w, field: _, grain: J };
2612
2612
  });
2613
2613
  t = {
2614
2614
  ...t,
@@ -2617,11 +2617,11 @@ function kl(e) {
2617
2617
  };
2618
2618
  }
2619
2619
  }
2620
- for (const [m, g] of Array.from(a)) {
2620
+ for (const [m, b] of Array.from(a)) {
2621
2621
  const y = t.measures.find((h) => h.id === m);
2622
2622
  if (!y || y.kind !== "aggregate") continue;
2623
- const C = u(y.field, g);
2624
- pr(C).some((h) => h.value === y.aggregate) || d(`Aggregation '${y.aggregate}' is not eligible for this Matrix field datatype.`, g);
2623
+ const C = u(y.field, b);
2624
+ pr(C).some((h) => h.value === y.aggregate) || d(`Aggregation '${y.aggregate}' is not eligible for this Matrix field datatype.`, b);
2625
2625
  }
2626
2626
  try {
2627
2627
  return mr(p.data, t);
@@ -2663,7 +2663,7 @@ function xl(e) {
2663
2663
  });
2664
2664
  return t.kind === "resolved" ? t.entity : void 0;
2665
2665
  }
2666
- function El(e, t) {
2666
+ function wl(e, t) {
2667
2667
  const n = t.split(".").pop() || t;
2668
2668
  return e.fieldMeta && ne(e.fieldMeta) ? { column: t, nativeDataType: void 0, fieldMeta: void 0 } : {
2669
2669
  column: t,
@@ -2678,7 +2678,7 @@ function El(e, t) {
2678
2678
  } : {}
2679
2679
  };
2680
2680
  }
2681
- function wl(e) {
2681
+ function El(e) {
2682
2682
  return e != null && e.length ? e.every((t) => t.type === "model" ? !0 : t.type !== "dataset" ? !1 : t.datasetType !== "physical") : !1;
2683
2683
  }
2684
2684
  function Al(e) {
@@ -2705,7 +2705,7 @@ function Al(e) {
2705
2705
  function Pl(e, t, n) {
2706
2706
  if (!e && !t)
2707
2707
  return;
2708
- const i = (e == null ? void 0 : e.selectedEntities) || [], o = e && e.mode !== "semanticDomain" && n && !ne(n) && !wl(i) ? [
2708
+ const i = (e == null ? void 0 : e.selectedEntities) || [], o = e && e.mode !== "semanticDomain" && n && !ne(n) && !El(i) ? [
2709
2709
  xl({
2710
2710
  entities: i,
2711
2711
  connectionType: e.connectionType,
@@ -2734,10 +2734,10 @@ function hn(e) {
2734
2734
  return e != null && e.startsWith("card-source-") ? e.replace("card-source-", "") : e;
2735
2735
  }
2736
2736
  function _l(e, t) {
2737
- var m, g, y, C, h, D, I;
2737
+ var m, b, y, C, h, D, I;
2738
2738
  if (!e.fieldMeta)
2739
2739
  return e.column === t.qualifiedFieldName || e.column === t.name;
2740
- const n = hn((m = e.fieldMeta) == null ? void 0 : m.id), i = hn(t.id), o = ((g = e.fieldMeta) == null ? void 0 : g.qualifiedFieldName) || e.column, r = o === t.qualifiedFieldName || o === t.name, s = (y = e.fieldMeta) == null ? void 0 : y.qualifiedEntityName, a = !s || !t.qualifiedEntityName || s === t.qualifiedEntityName, l = (C = e.fieldMeta) == null ? void 0 : C.entityId, c = !l || !t.entityId || l === t.entityId, d = (h = e.fieldMeta) == null ? void 0 : h.fieldScope;
2740
+ const n = hn((m = e.fieldMeta) == null ? void 0 : m.id), i = hn(t.id), o = ((b = e.fieldMeta) == null ? void 0 : b.qualifiedFieldName) || e.column, r = o === t.qualifiedFieldName || o === t.name, s = (y = e.fieldMeta) == null ? void 0 : y.qualifiedEntityName, a = !s || !t.qualifiedEntityName || s === t.qualifiedEntityName, l = (C = e.fieldMeta) == null ? void 0 : C.entityId, c = !l || !t.entityId || l === t.entityId, d = (h = e.fieldMeta) == null ? void 0 : h.fieldScope;
2741
2741
  if (d && t.fieldScope && d !== t.fieldScope)
2742
2742
  return !1;
2743
2743
  const u = (D = e.fieldMeta) == null ? void 0 : D.role;
@@ -2748,8 +2748,8 @@ function _l(e, t) {
2748
2748
  return !0;
2749
2749
  if (!f && (!a || !c))
2750
2750
  return !1;
2751
- const p = (I = e.fieldMeta) == null ? void 0 : I.expression, b = t.expression;
2752
- return p || b ? r && a && c && p === b : r && a && c;
2751
+ const p = (I = e.fieldMeta) == null ? void 0 : I.expression, g = t.expression;
2752
+ return p || g ? r && a && c && p === g : r && a && c;
2753
2753
  }
2754
2754
  function Nl(e) {
2755
2755
  const t = e.qualifiedFieldName, i = (e.qualifiedEntityName || e.qualifiedFieldName.split(".").slice(0, -1).join(".")).split(".").map((r) => Oe(r)).join("."), o = Oe(e.name);
@@ -2818,10 +2818,10 @@ function Bi(e) {
2818
2818
  return e.database && e.schema ? `${e.database}.${e.schema}.${t}` : e.schema ? `${e.schema}.${t}` : e.database ? `${e.database}.${t}` : t;
2819
2819
  }
2820
2820
  function Kl(e, t) {
2821
- var u, f, p, b;
2821
+ var u, f, p, g;
2822
2822
  if (((u = t.cardDataSource) == null ? void 0 : u.mode) === "semanticDomain") return;
2823
2823
  const n = e.fieldMeta, i = /* @__PURE__ */ new Set();
2824
- bs(
2824
+ gs(
2825
2825
  n,
2826
2826
  i
2827
2827
  );
@@ -2833,8 +2833,8 @@ function Kl(e, t) {
2833
2833
  si(n, s);
2834
2834
  const a = new Set(
2835
2835
  r.map((m) => {
2836
- const g = m.split(".");
2837
- return g[g.length - 1];
2836
+ const b = m.split(".");
2837
+ return b[b.length - 1];
2838
2838
  })
2839
2839
  );
2840
2840
  if (Array.from(s).some(
@@ -2844,7 +2844,7 @@ function Kl(e, t) {
2844
2844
  const l = is(
2845
2845
  (p = t.cardDataSource) == null ? void 0 : p.connectionType
2846
2846
  ), c = [
2847
- ...(((b = t.cardDataSource) == null ? void 0 : b.selectedEntities) || []).map(
2847
+ ...(((g = t.cardDataSource) == null ? void 0 : g.selectedEntities) || []).map(
2848
2848
  (m) => Bi(m)
2849
2849
  ),
2850
2850
  t.targetQualifiedTableName,
@@ -2858,12 +2858,12 @@ function Kl(e, t) {
2858
2858
  );
2859
2859
  return r.every(
2860
2860
  (m) => d.some(
2861
- (g) => os({
2861
+ (b) => os({
2862
2862
  requested: an({
2863
2863
  qualifiedName: m,
2864
2864
  capabilities: l
2865
2865
  }),
2866
- allowed: g,
2866
+ allowed: b,
2867
2867
  capabilities: l
2868
2868
  })
2869
2869
  )
@@ -3258,8 +3258,8 @@ function Qi(e, t, n = It(t), i) {
3258
3258
  const r = (u = e.application) == null ? void 0 : u.cards.find((p) => p.cardId === o);
3259
3259
  if ((r == null ? void 0 : r.kind) === "bound") {
3260
3260
  if (r.target.kind === "relationship") {
3261
- const b = r.target.field.source;
3262
- return Ln(t) && b.kind === "semantic" && b.domainId === ((f = t.dataSource) == null ? void 0 : f.semanticDomainId) && yr(e, r.target) ? {
3261
+ const g = r.target.field.source;
3262
+ return Ln(t) && g.kind === "semantic" && g.domainId === ((f = t.dataSource) == null ? void 0 : f.semanticDomainId) && yr(e, r.target) ? {
3263
3263
  status: "relationship",
3264
3264
  route: { bindingId: r.bindingId, relationshipIds: [...r.target.relationshipIds] }
3265
3265
  } : { status: "stale", bindingId: r.bindingId };
@@ -3400,8 +3400,8 @@ function ic({
3400
3400
  });
3401
3401
  continue;
3402
3402
  }
3403
- const b = Qi(d, e, r, p);
3404
- switch (b.status) {
3403
+ const g = Qi(d, e, r, p);
3404
+ switch (g.status) {
3405
3405
  case "excluded":
3406
3406
  l.push({
3407
3407
  status: "skip",
@@ -3425,11 +3425,11 @@ function ic({
3425
3425
  });
3426
3426
  break;
3427
3427
  case "relationship": {
3428
- const m = b.route ? { ...p, relationshipRoute: { relationshipIds: b.route.relationshipIds } } : p;
3428
+ const m = g.route ? { ...p, relationshipRoute: { relationshipIds: g.route.relationshipIds } } : p;
3429
3429
  c.push(m), l.push({
3430
3430
  status: "apply",
3431
3431
  inputId: d.id,
3432
- ...b.route ? { bindingId: b.route.bindingId } : {},
3432
+ ...g.route ? { bindingId: g.route.bindingId } : {},
3433
3433
  filterValue: m
3434
3434
  });
3435
3435
  break;
@@ -3442,8 +3442,8 @@ function ic({
3442
3442
  });
3443
3443
  break;
3444
3444
  case "automatic":
3445
- if (!gs(
3446
- b.target.field.dataType,
3445
+ if (!bs(
3446
+ g.target.field.dataType,
3447
3447
  p.operation
3448
3448
  ))
3449
3449
  u({
@@ -3454,8 +3454,8 @@ function ic({
3454
3454
  else {
3455
3455
  const m = Cn(
3456
3456
  In(p),
3457
- b.target,
3458
- b.target.field.source,
3457
+ g.target,
3458
+ g.target.field.source,
3459
3459
  d.label
3460
3460
  );
3461
3461
  c.push(m), l.push({
@@ -3469,7 +3469,7 @@ function ic({
3469
3469
  u({
3470
3470
  status: "block",
3471
3471
  inputId: d.id,
3472
- bindingId: b.bindingId,
3472
+ bindingId: g.bindingId,
3473
3473
  reason: "unsupportedTarget"
3474
3474
  });
3475
3475
  break;
@@ -3477,7 +3477,7 @@ function ic({
3477
3477
  u({
3478
3478
  status: "block",
3479
3479
  inputId: d.id,
3480
- bindingId: b.bindingId,
3480
+ bindingId: g.bindingId,
3481
3481
  reason: "staleBinding"
3482
3482
  });
3483
3483
  break;
@@ -3485,28 +3485,28 @@ function ic({
3485
3485
  u({
3486
3486
  status: "block",
3487
3487
  inputId: d.id,
3488
- bindingId: b.bindingId,
3488
+ bindingId: g.bindingId,
3489
3489
  reason: "incompatibleValueType"
3490
3490
  });
3491
3491
  break;
3492
3492
  case "bound": {
3493
3493
  const m = Cn(
3494
3494
  In(p),
3495
- b.target,
3496
- b.validation.source,
3495
+ g.target,
3496
+ g.validation.source,
3497
3497
  d.label,
3498
- b.validation.executionIdentifier
3498
+ g.validation.executionIdentifier
3499
3499
  );
3500
3500
  c.push(m), l.push({
3501
3501
  status: "apply",
3502
3502
  inputId: d.id,
3503
- bindingId: b.bindingId,
3503
+ bindingId: g.bindingId,
3504
3504
  filterValue: m
3505
3505
  });
3506
3506
  break;
3507
3507
  }
3508
3508
  default: {
3509
- const m = b;
3509
+ const m = g;
3510
3510
  throw new Error(`Unhandled filter card target ${String(m.status)}`);
3511
3511
  }
3512
3512
  }
@@ -3629,10 +3629,10 @@ function mc(e, t) {
3629
3629
  ...e.rawTemporal ? { rawTemporal: e.rawTemporal } : {}
3630
3630
  };
3631
3631
  }
3632
- function bc(e, t) {
3633
- return gt(e) ? gc(e, t) : e.config ?? {};
3634
- }
3635
3632
  function gc(e, t) {
3633
+ return bt(e) ? bc(e, t) : e.config ?? {};
3634
+ }
3635
+ function bc(e, t) {
3636
3636
  var i;
3637
3637
  const n = (i = t == null ? void 0 : t.steps[t.steps.length - 1]) == null ? void 0 : i.toField;
3638
3638
  return n ? ma(e.config ?? {}, n, {
@@ -3696,7 +3696,7 @@ function Yi(e, t = {}) {
3696
3696
  id: As(e.id, o.id),
3697
3697
  kind: "filter",
3698
3698
  label: r,
3699
- variableName: o.variableName ? be(
3699
+ variableName: o.variableName ? ge(
3700
3700
  o.variableName,
3701
3701
  i
3702
3702
  ) : Fr(r, i),
@@ -3718,7 +3718,7 @@ function Yi(e, t = {}) {
3718
3718
  id: Ps(e.id, o.id),
3719
3719
  kind: "control",
3720
3720
  label: r,
3721
- variableName: be(
3721
+ variableName: ge(
3722
3722
  o.id,
3723
3723
  i
3724
3724
  ),
@@ -3773,7 +3773,7 @@ function Ji(e, t = {}) {
3773
3773
  id: Os(o.id),
3774
3774
  kind: "control",
3775
3775
  label: r,
3776
- variableName: be(
3776
+ variableName: ge(
3777
3777
  o.id,
3778
3778
  i
3779
3779
  ),
@@ -3832,9 +3832,9 @@ function Sc(e, t, n, i) {
3832
3832
  applyToCardIds: u,
3833
3833
  excludeCardIds: f,
3834
3834
  targetColumns: p,
3835
- ...b
3835
+ ...g
3836
3836
  } = e, m = {
3837
- ...b,
3837
+ ...g,
3838
3838
  kind: "field",
3839
3839
  id: t,
3840
3840
  hide: !0
@@ -3843,20 +3843,20 @@ function Sc(e, t, n, i) {
3843
3843
  if (i === "selectedColumn")
3844
3844
  return {
3845
3845
  ...m,
3846
- ...El(m, n.name)
3846
+ ...wl(m, n.name)
3847
3847
  };
3848
3848
  const {
3849
3849
  // Identity that the anchored value replaces.
3850
- table: g,
3850
+ table: b,
3851
3851
  database: y,
3852
3852
  qualifiedTableName: C,
3853
3853
  nativeDataType: h,
3854
3854
  fieldMeta: D,
3855
3855
  semanticContext: I,
3856
- ...w
3856
+ ...E
3857
3857
  } = m, M = n.fieldMeta, S = n.nativeDataType ?? (M == null ? void 0 : M.nativeDataType);
3858
3858
  return {
3859
- ...w,
3859
+ ...E,
3860
3860
  column: (M == null ? void 0 : M.name) || n.name,
3861
3861
  dataType: n.dataType || (M == null ? void 0 : M.dataType) || e.dataType,
3862
3862
  ...S ? { nativeDataType: S } : {},
@@ -3974,8 +3974,8 @@ function Kf(e) {
3974
3974
  );
3975
3975
  for (const p of c) {
3976
3976
  if (!vc(p)) continue;
3977
- const b = f.get(p.id), m = b == null ? void 0 : b.filterValue;
3978
- if (!(!b || !m || b.invalidFilterSelection)) {
3977
+ const g = f.get(p.id), m = g == null ? void 0 : g.filterValue;
3978
+ if (!(!g || !m || g.invalidFilterSelection)) {
3979
3979
  if ($(p.filter)) {
3980
3980
  if (!u) continue;
3981
3981
  a({
@@ -4022,7 +4022,7 @@ function xc(e) {
4022
4022
  (t) => t.definitions.length > 0 || t.selectionDefinitions.length > 0
4023
4023
  );
4024
4024
  }
4025
- const Ec = [
4025
+ const wc = [
4026
4026
  "interactionFilters",
4027
4027
  "full",
4028
4028
  "none"
@@ -4030,7 +4030,7 @@ const Ec = [
4030
4030
  function q(e) {
4031
4031
  return !!e && typeof e == "object" && !Array.isArray(e);
4032
4032
  }
4033
- const wc = /* @__PURE__ */ new Set([
4033
+ const Ec = /* @__PURE__ */ new Set([
4034
4034
  "=",
4035
4035
  ">",
4036
4036
  "<",
@@ -4067,7 +4067,7 @@ function Oc(e, t) {
4067
4067
  if (!q(e) || e.status !== "set" || !q(e.value))
4068
4068
  return;
4069
4069
  const n = e.value.filterValue;
4070
- if (!(e.value.kind !== "filter" || !q(n) || n.filterId !== t || typeof n.name != "string" || !Ac.has(String(n.valueType)) || !wc.has(String(n.operation)) || !Array.isArray(n.values) || !n.values.every(
4070
+ if (!(e.value.kind !== "filter" || !q(n) || n.filterId !== t || typeof n.name != "string" || !Ac.has(String(n.valueType)) || !Ec.has(String(n.operation)) || !Array.isArray(n.values) || !n.values.every(
4071
4071
  (i) => typeof i == "string" || typeof i == "number" || typeof i == "boolean"
4072
4072
  )))
4073
4073
  return e;
@@ -4085,7 +4085,7 @@ function _c(e, t) {
4085
4085
  function Nc(e) {
4086
4086
  if (!Array.isArray(e)) return;
4087
4087
  const t = e.flatMap((n) => {
4088
- if (!q(n) || typeof n.namespace != "string" || !n.namespace || !Ec.includes(n.contextMode))
4088
+ if (!q(n) || typeof n.namespace != "string" || !n.namespace || !wc.includes(n.contextMode))
4089
4089
  return [];
4090
4090
  const i = n.namespace;
4091
4091
  if (n.contextMode === "none")
@@ -4155,7 +4155,7 @@ function to({
4155
4155
  transientContexts: n
4156
4156
  }) {
4157
4157
  const i = B(e), o = i.issues.flatMap(
4158
- (b) => b.code === "contract" && b.contractIssue ? [b.contractIssue] : []
4158
+ (g) => g.code === "contract" && g.contractIssue ? [g.contractIssue] : []
4159
4159
  );
4160
4160
  if (o.length)
4161
4161
  throw new Dr(o);
@@ -4176,11 +4176,11 @@ function to({
4176
4176
  })
4177
4177
  ], f = new Set(
4178
4178
  [...r, ...u].map(
4179
- (b) => b.id
4179
+ (g) => g.id
4180
4180
  )
4181
4181
  ), p = [];
4182
- for (const b of n ?? [])
4183
- for (const m of b.definitions)
4182
+ for (const g of n ?? [])
4183
+ for (const m of g.definitions)
4184
4184
  f.has(m.id) || (f.add(m.id), p.push(m));
4185
4185
  return {
4186
4186
  authoredInputs: r,
@@ -4299,14 +4299,14 @@ function Rc(e, t) {
4299
4299
  }
4300
4300
  return Array.from(i.entries()).map(([o, r]) => {
4301
4301
  var u, f, p;
4302
- const s = n.get(o), a = s && typeof s == "object" ? s : void 0, l = ((u = r.find((b) => b.filterId)) == null ? void 0 : u.filterId) || O(a == null ? void 0 : a.filter, "id") || O(a == null ? void 0 : a.filterReference, "filterId"), c = (a == null ? void 0 : a.filter) ?? (l ? (f = t.findFilterInput({ filterId: l })) == null ? void 0 : f.input.filter : void 0), d = (p = r.find((b) => b.code !== "contract")) == null ? void 0 : p.code;
4302
+ const s = n.get(o), a = s && typeof s == "object" ? s : void 0, l = ((u = r.find((g) => g.filterId)) == null ? void 0 : u.filterId) || O(a == null ? void 0 : a.filter, "id") || O(a == null ? void 0 : a.filterReference, "filterId"), c = (a == null ? void 0 : a.filter) ?? (l ? (f = t.findFilterInput({ filterId: l })) == null ? void 0 : f.input.filter : void 0), d = (p = r.find((g) => g.code !== "contract")) == null ? void 0 : p.code;
4303
4303
  return {
4304
4304
  inputId: o,
4305
4305
  ...l ? { filterId: l } : {},
4306
4306
  label: O(s, "label") || O(c, "title") || O(c, "column") || (s ? void 0 : l) || o,
4307
- message: r.map((b) => {
4307
+ message: r.map((g) => {
4308
4308
  var m;
4309
- return ((m = b.contractIssue) == null ? void 0 : m.message) ?? b.message;
4309
+ return ((m = g.contractIssue) == null ? void 0 : m.message) ?? g.message;
4310
4310
  }).join(" "),
4311
4311
  ...d && d !== "contract" ? { modelIssueCode: d } : {}
4312
4312
  };
@@ -4471,7 +4471,7 @@ function fo({
4471
4471
  (c) => Vr(c, a) && oe(c, a)
4472
4472
  );
4473
4473
  for (const c of l) {
4474
- const d = Ee(
4474
+ const d = we(
4475
4475
  o,
4476
4476
  c,
4477
4477
  a
@@ -4539,15 +4539,15 @@ function Lc({
4539
4539
  f.sheetId && p && (o.bySheetId = {
4540
4540
  [f.sheetId]: { ...p }
4541
4541
  });
4542
- const b = f.cardId ? (d = e.byCardId) == null ? void 0 : d[f.cardId] : void 0;
4543
- f.cardId && b && (o.byCardId = {
4544
- [f.cardId]: { ...b }
4542
+ const g = f.cardId ? (d = e.byCardId) == null ? void 0 : d[f.cardId] : void 0;
4543
+ f.cardId && g && (o.byCardId = {
4544
+ [f.cardId]: { ...g }
4545
4545
  });
4546
4546
  const m = Object.entries(
4547
4547
  e.byDocumentSectionId || {}
4548
- ), g = (f.sectionId ? (u = e.byDocumentSectionId) == null ? void 0 : u[f.sectionId] : void 0) ?? (m.length === 1 ? m[0][1] : void 0);
4549
- return f.sectionId && g && (o.byDocumentSectionId = {
4550
- [f.sectionId]: { ...g }
4548
+ ), b = (f.sectionId ? (u = e.byDocumentSectionId) == null ? void 0 : u[f.sectionId] : void 0) ?? (m.length === 1 ? m[0][1] : void 0);
4549
+ return f.sectionId && b && (o.byDocumentSectionId = {
4550
+ [f.sectionId]: { ...b }
4551
4551
  }), K(o);
4552
4552
  }
4553
4553
  return o.bySheetId = it(
@@ -4679,12 +4679,12 @@ function Lf({
4679
4679
  continue;
4680
4680
  const p = ((d = f.filter) == null ? void 0 : d.id) || ((u = f.filterReference) == null ? void 0 : u.filterId);
4681
4681
  if (!p) continue;
4682
- const b = a.get(p), m = b ? Tt(b) : void 0, g = (m == null ? void 0 : m.status) === "set" ? m : { status: "cleared" };
4682
+ const g = a.get(p), m = g ? Tt(g) : void 0, b = (m == null ? void 0 : m.status) === "set" ? m : { status: "cleared" };
4683
4683
  l = Mr(
4684
4684
  l,
4685
4685
  f,
4686
4686
  { sheetId: i, cardId: o, sectionId: r },
4687
- g
4687
+ b
4688
4688
  );
4689
4689
  }
4690
4690
  return l;
@@ -4760,7 +4760,7 @@ function Gc({
4760
4760
  ), r = i[0] || o[0] || ee({
4761
4761
  ...n,
4762
4762
  sheetKind: t
4763
- }), s = bo(
4763
+ }), s = go(
4764
4764
  ...i.map(
4765
4765
  (l) => l.snapshot.dashboardInputValues
4766
4766
  ),
@@ -4817,7 +4817,7 @@ function Qc({
4817
4817
  ...n,
4818
4818
  snapshot: {
4819
4819
  ...n.snapshot,
4820
- dashboardInputValues: bo(
4820
+ dashboardInputValues: go(
4821
4821
  n.snapshot.dashboardInputValues,
4822
4822
  ...i.map(
4823
4823
  (r) => r.snapshot.dashboardInputValues
@@ -4910,7 +4910,7 @@ function Jc({
4910
4910
  calendar: s
4911
4911
  });
4912
4912
  }
4913
- function bo(...e) {
4913
+ function go(...e) {
4914
4914
  const t = {};
4915
4915
  for (const n of e)
4916
4916
  n.shared && (t.shared = {
@@ -4966,7 +4966,7 @@ function Ke(e, t, n) {
4966
4966
  const o = { ...i[t.scope] ?? {} };
4967
4967
  o[t.target] = { ...o[t.target], [t.inputId]: n }, i[t.scope] = o;
4968
4968
  }
4969
- function go(e, t, n) {
4969
+ function bo(e, t, n) {
4970
4970
  const i = Qn(
4971
4971
  e,
4972
4972
  t.controlOverrides,
@@ -4983,7 +4983,7 @@ function go(e, t, n) {
4983
4983
  function Ht(e, t, n) {
4984
4984
  return yo(
4985
4985
  e,
4986
- go(e, t, n),
4986
+ bo(e, t, n),
4987
4987
  n
4988
4988
  );
4989
4989
  }
@@ -5052,7 +5052,7 @@ function Xc(e, t) {
5052
5052
  const n = e.filter((o) => !t.has(o.filterId)), i = [...t.values()].filter(
5053
5053
  (o) => o !== null
5054
5054
  );
5055
- return wr(n, i);
5055
+ return Er(n, i);
5056
5056
  }
5057
5057
  function Io(e, t, n) {
5058
5058
  if (!Object.keys(n).length) return t;
@@ -5062,7 +5062,7 @@ function Io(e, t, n) {
5062
5062
  { hasExplicitRuntimeOverrides: t !== void 0 }
5063
5063
  );
5064
5064
  return {
5065
- ...Er({
5065
+ ...wr({
5066
5066
  dashboardValues: i.dashboardControlValues,
5067
5067
  cardValuesMap: i.cardControlValuesMap
5068
5068
  }),
@@ -5102,7 +5102,7 @@ function $f(e) {
5102
5102
  const { dashboard: t, capture: n, calendar: i } = e, o = jo(t, n.filterValues, {
5103
5103
  calendar: i
5104
5104
  }), r = n.dashboardInputExecutionSnapshot, s = n.controlValues, a = {
5105
- ...go(
5105
+ ...bo(
5106
5106
  t,
5107
5107
  {
5108
5108
  adHocFilterValues: o.adHocFilterValues,
@@ -5215,42 +5215,42 @@ function Fo(e, t, n, i) {
5215
5215
  if (!c) return;
5216
5216
  const d = {};
5217
5217
  for (const [f, p] of Object.entries(c)) {
5218
- const b = t.filterInputs.has(f) || t.controlInputIds.has(f) ? f : ((u = s.findFilterInput({ inputId: f })) == null ? void 0 : u.input.id) ?? f;
5219
- if (b !== f && c[b]) continue;
5220
- const m = vo(e, b);
5218
+ const g = t.filterInputs.has(f) || t.controlInputIds.has(f) ? f : ((u = s.findFilterInput({ inputId: f })) == null ? void 0 : u.input.id) ?? f;
5219
+ if (g !== f && c[g]) continue;
5220
+ const m = vo(e, g);
5221
5221
  if (m) {
5222
5222
  if (m !== "applies") {
5223
5223
  i.push({
5224
5224
  kind: "setting-no-longer-applies",
5225
5225
  target: "selection",
5226
- id: b,
5226
+ id: g,
5227
5227
  reason: m
5228
5228
  });
5229
5229
  continue;
5230
5230
  }
5231
- d[b] = p;
5231
+ d[g] = p;
5232
5232
  continue;
5233
5233
  }
5234
- const g = t.filterInputs.get(b);
5235
- if (!g && !t.controlInputIds.has(b)) {
5234
+ const b = t.filterInputs.get(g);
5235
+ if (!b && !t.controlInputIds.has(g)) {
5236
5236
  i.push({
5237
5237
  kind: "setting-no-longer-applies",
5238
5238
  target: "input",
5239
- id: b,
5239
+ id: g,
5240
5240
  reason: "removed"
5241
5241
  });
5242
5242
  continue;
5243
5243
  }
5244
- if (g && p.status === "set" && p.value.kind === "filter" && !$e(g, p.value.filterValue)) {
5244
+ if (b && p.status === "set" && p.value.kind === "filter" && !$e(b, p.value.filterValue)) {
5245
5245
  i.push({
5246
5246
  kind: "setting-no-longer-applies",
5247
5247
  target: "input",
5248
- id: b,
5248
+ id: g,
5249
5249
  reason: "incompatible"
5250
5250
  });
5251
5251
  continue;
5252
5252
  }
5253
- d[b] = p;
5253
+ d[g] = p;
5254
5254
  }
5255
5255
  return Object.keys(d).length ? d : void 0;
5256
5256
  }, l = (c, d) => {
@@ -5267,8 +5267,8 @@ function Fo(e, t, n, i) {
5267
5267
  });
5268
5268
  continue;
5269
5269
  }
5270
- const b = a(p);
5271
- b && (u[f] = b);
5270
+ const g = a(p);
5271
+ g && (u[f] = g);
5272
5272
  }
5273
5273
  return u;
5274
5274
  };
@@ -5354,9 +5354,9 @@ function X(e, t) {
5354
5354
  };
5355
5355
  }
5356
5356
  function Dn(e, t, n, i) {
5357
- const { dashboard: o, baseline: r } = e, s = [], a = li(t.state, Et), l = a.ok ? a.value : {};
5358
- for (const b of a.ok ? a.issues : [])
5359
- s.push(rd(b));
5357
+ const { dashboard: o, baseline: r } = e, s = [], a = li(t.state, wt), l = a.ok ? a.value : {};
5358
+ for (const g of a.ok ? a.issues : [])
5359
+ s.push(rd(g));
5360
5360
  const c = Co(o), d = ho(
5361
5361
  c.compatibility,
5362
5362
  Fo(o, c, l.inputs, s)
@@ -5395,10 +5395,10 @@ function Dn(e, t, n, i) {
5395
5395
  { ...f, ...p }
5396
5396
  ),
5397
5397
  rememberedWrites: i.writeRemembered ? Object.entries(f).filter(
5398
- ([b, m]) => !Wt(p[b], m)
5399
- ).map(([b, m]) => ({
5398
+ ([g, m]) => !Wt(p[g], m)
5399
+ ).map(([g, m]) => ({
5400
5400
  kind: "set",
5401
- cardId: b,
5401
+ cardId: g,
5402
5402
  settings: m
5403
5403
  })) : [],
5404
5404
  notices: s
@@ -5557,7 +5557,7 @@ function Wf(e) {
5557
5557
  if (e.appliedBookmark) {
5558
5558
  const l = li(
5559
5559
  e.appliedBookmark.state,
5560
- Et
5560
+ wt
5561
5561
  ), c = Co(t), d = ho(
5562
5562
  c.compatibility,
5563
5563
  Fo(
@@ -5623,7 +5623,7 @@ function Jf(e) {
5623
5623
  void 0
5624
5624
  ), s = i.selectedSheetId && i.selectedSheetId !== n.selectedSheetId && Te(t, i.selectedSheetId) ? i.selectedSheetId : void 0;
5625
5625
  return {
5626
- version: Et,
5626
+ version: wt,
5627
5627
  ...s ? { selectedSheetId: s } : {},
5628
5628
  ...he(o).length ? { inputs: o } : {},
5629
5629
  ...Object.keys(r).length ? { tableSettings: r } : {}
@@ -5820,14 +5820,14 @@ function xo(e) {
5820
5820
  ...n,
5821
5821
  filterId: t.id
5822
5822
  };
5823
- const r = n, s = r.temporalPrecision === "minute" || we(r.relativeMeta), a = !o && s, l = r.operation === "is null" || r.operation === "is not null" ? [] : a ? Mo(r.values, i) : r.values, c = o || !we(r.relativeMeta) ? r.relativeMeta : void 0, d = o && r.temporalPrecision === "minute" ? r.temporalPrecision : void 0, {
5823
+ const r = n, s = r.temporalPrecision === "minute" || Ee(r.relativeMeta), a = !o && s, l = r.operation === "is null" || r.operation === "is not null" ? [] : a ? Mo(r.values, i) : r.values, c = o || !Ee(r.relativeMeta) ? r.relativeMeta : void 0, d = o && r.temporalPrecision === "minute" ? r.temporalPrecision : void 0, {
5824
5824
  relativeMeta: u,
5825
5825
  temporalPrecision: f,
5826
5826
  values: p,
5827
- ...b
5827
+ ...g
5828
5828
  } = n;
5829
5829
  return {
5830
- ...b,
5830
+ ...g,
5831
5831
  filterId: t.id,
5832
5832
  values: l,
5833
5833
  ...c ? { relativeMeta: c } : {},
@@ -5846,7 +5846,7 @@ function pd(e) {
5846
5846
  allowMinutePrecision: n
5847
5847
  }) || i);
5848
5848
  }
5849
- function Eo(e) {
5849
+ function wo(e) {
5850
5850
  const {
5851
5851
  globalDateFilter: t,
5852
5852
  globalDateFilterValue: n,
@@ -5859,7 +5859,7 @@ function Eo(e) {
5859
5859
  return null;
5860
5860
  const a = n, l = Or(
5861
5861
  i.dataType
5862
- ), c = s && l, d = a.temporalPrecision === "minute" || we(a.relativeMeta), u = c && a.temporalPrecision === "minute" ? a.temporalPrecision : void 0, f = c || !we(a.relativeMeta) ? a.relativeMeta : void 0, p = !c && d;
5862
+ ), c = s && l, d = a.temporalPrecision === "minute" || Ee(a.relativeMeta), u = c && a.temporalPrecision === "minute" ? a.temporalPrecision : void 0, f = c || !Ee(a.relativeMeta) ? a.relativeMeta : void 0, p = !c && d;
5863
5863
  return {
5864
5864
  filterId: t.id,
5865
5865
  dateOwner: "global_date",
@@ -5905,7 +5905,7 @@ function md(e) {
5905
5905
  };
5906
5906
  }).filter((n) => n.domainId && n.datasetName);
5907
5907
  }
5908
- function bd(e) {
5908
+ function gd(e) {
5909
5909
  var l, c, d, u, f;
5910
5910
  if ($(e) || (l = e.sql) != null && l.trim())
5911
5911
  return null;
@@ -5922,22 +5922,22 @@ function bd(e) {
5922
5922
  datasetName: o
5923
5923
  } : null);
5924
5924
  }
5925
- function gd(e) {
5925
+ function bd(e) {
5926
5926
  var o, r;
5927
5927
  const { filter: t, semanticExecutionPayload: n } = e;
5928
5928
  if (!n)
5929
5929
  return null;
5930
- const i = bd(t);
5930
+ const i = gd(t);
5931
5931
  return i && ((r = (o = n.domainsById[i.domainId]) == null ? void 0 : o.datasetsByName[i.datasetName]) == null ? void 0 : r.primaryDateField) || null;
5932
5932
  }
5933
- function wo(e) {
5933
+ function Eo(e) {
5934
5934
  const t = re(e.filters);
5935
5935
  return t ? e.filterValues.filter(
5936
5936
  (n) => n.filterId !== t.id
5937
5937
  ) : e.filterValues;
5938
5938
  }
5939
5939
  function ep(e) {
5940
- const t = re(e.filters), n = wo({
5940
+ const t = re(e.filters), n = Eo({
5941
5941
  filters: e.filters,
5942
5942
  filterValues: e.filterValues
5943
5943
  });
@@ -5945,10 +5945,10 @@ function ep(e) {
5945
5945
  return n;
5946
5946
  const i = e.filterValues.find(
5947
5947
  (s) => s.filterId === t.id
5948
- ), o = gd({
5948
+ ), o = bd({
5949
5949
  filter: e.filter,
5950
5950
  semanticExecutionPayload: e.semanticExecutionPayload
5951
- }), r = Eo({
5951
+ }), r = wo({
5952
5952
  globalDateFilter: t,
5953
5953
  globalDateFilterValue: i,
5954
5954
  resolvedPrimaryDateField: o || void 0,
@@ -5969,7 +5969,7 @@ function yd(e) {
5969
5969
  cardConfig: e.cardConfig,
5970
5970
  resolvedFields: e.resolvedFields,
5971
5971
  semanticExecutionPayload: e.semanticExecutionPayload
5972
- }), r = Eo({
5972
+ }), r = wo({
5973
5973
  globalDateFilter: t,
5974
5974
  globalDateFilterValue: n,
5975
5975
  resolvedPrimaryDateField: o || void 0,
@@ -6004,7 +6004,7 @@ function yd(e) {
6004
6004
  function tp(e) {
6005
6005
  const t = re(e.filters), n = Vo(e), i = t ? e.filterValues.find(
6006
6006
  (s) => s.filterId === t.id
6007
- ) : void 0, o = wo(e);
6007
+ ) : void 0, o = Eo(e);
6008
6008
  return !t || !i || !Yt(i.operation) ? o : [
6009
6009
  {
6010
6010
  ...xo({
@@ -6024,7 +6024,7 @@ class hd extends Error {
6024
6024
  function np(e, t) {
6025
6025
  const n = new Map((e ? G(e) : []).map(({ card: i }) => [i.id, i]));
6026
6026
  return t && n.set(t.id, t), [...n.values()].flatMap((i) => {
6027
- const o = wt(i);
6027
+ const o = Et(i);
6028
6028
  return o.status === "ready" ? Ml(o.config.spec, i.controlBindings) : [];
6029
6029
  });
6030
6030
  }
@@ -6140,8 +6140,8 @@ function Po(e, t = {}) {
6140
6140
  };
6141
6141
  }
6142
6142
  function Sd(e, t, n) {
6143
- const i = bc(e, t);
6144
- return gt(e) ? Fd(
6143
+ const i = gc(e, t);
6144
+ return bt(e) ? Fd(
6145
6145
  { ...i, filters: n },
6146
6146
  e.type
6147
6147
  ) : i;
@@ -6224,7 +6224,7 @@ function kd({
6224
6224
  const p = Ti(t);
6225
6225
  for (const F of e.controlBindings || [])
6226
6226
  je(F) && p.add(F.controlId);
6227
- const { shouldApplyDashboardFilters: b } = Td(n), m = u != null && u.inputs.length ? u : void 0, g = Po(e, {
6227
+ const { shouldApplyDashboardFilters: g } = Td(n), m = u != null && u.inputs.length ? u : void 0, b = Po(e, {
6228
6228
  includeAuthoredFilters: f,
6229
6229
  // Blocked and skipped conditions are already projected away, so a
6230
6230
  // selection can only ever narrow this card on its own fields. Carried
@@ -6233,7 +6233,7 @@ function kd({
6233
6233
  (F) => F.status === "apply"
6234
6234
  ),
6235
6235
  drill: i == null ? void 0 : i.drill
6236
- }), y = Ao(g), C = f === !1 ? We(y, !0) : y, h = Sd(
6236
+ }), y = Ao(b), C = f === !1 ? We(y, !0) : y, h = Sd(
6237
6237
  e,
6238
6238
  i == null ? void 0 : i.drill,
6239
6239
  C
@@ -6245,7 +6245,7 @@ function kd({
6245
6245
  sql: e.sql,
6246
6246
  normalizedPython: yt(e.python || "")
6247
6247
  })
6248
- }) || D, w = vd(C) || "", M = m ? Oo(
6248
+ }) || D, E = vd(C) || "", M = m ? Oo(
6249
6249
  e,
6250
6250
  {
6251
6251
  controlValues: m.controlValues,
@@ -6266,7 +6266,7 @@ function kd({
6266
6266
  adHocFilterValues: r || [],
6267
6267
  selectedSheetId: s,
6268
6268
  inlineFilterValues: (a == null ? void 0 : a[e.id]) || [],
6269
- shouldApplyDashboardFilters: b,
6269
+ shouldApplyDashboardFilters: g,
6270
6270
  ...m ? {
6271
6271
  dashboardInputContext: {
6272
6272
  inputs: m.inputs,
@@ -6283,11 +6283,11 @@ function kd({
6283
6283
  },
6284
6284
  ...M,
6285
6285
  resolvedFilters: C,
6286
- resolvedFilterParts: g,
6286
+ resolvedFilterParts: b,
6287
6287
  drillSteps: ((S = i == null ? void 0 : i.drill) == null ? void 0 : S.steps) ?? cc,
6288
6288
  finalConfig: D,
6289
6289
  queryRelevantConfig: I,
6290
- finalFiltersKey: w
6290
+ finalFiltersKey: E
6291
6291
  };
6292
6292
  }
6293
6293
  function Md(e, t) {
@@ -6318,7 +6318,7 @@ function Vd(e) {
6318
6318
  function xd(e) {
6319
6319
  return `Set ${e.join(", ")} to run this card.`;
6320
6320
  }
6321
- function Ed({
6321
+ function wd({
6322
6322
  dashboardInputContext: e,
6323
6323
  shouldApplyDashboardFilters: t
6324
6324
  }) {
@@ -6333,7 +6333,7 @@ function Ed({
6333
6333
  (i) => n.has(i.filterId)
6334
6334
  );
6335
6335
  }
6336
- function wd({
6336
+ function Ed({
6337
6337
  dashboardInputFilterValues: e,
6338
6338
  adHocFilterValues: t
6339
6339
  }) {
@@ -6363,7 +6363,7 @@ function mt(e, t) {
6363
6363
  return d.kind === "filter" && ((u = d.compatibility) == null ? void 0 : u.source) === "cardInlineFilter" ? [d.filter.id] : [];
6364
6364
  }
6365
6365
  )
6366
- ), s = Ed({
6366
+ ), s = wd({
6367
6367
  dashboardInputContext: t.dashboardInputContext,
6368
6368
  shouldApplyDashboardFilters: t.shouldApplyDashboardFilters
6369
6369
  }).filter((d) => !o.has(d.filterId)), a = s.filter(
@@ -6383,7 +6383,7 @@ function mt(e, t) {
6383
6383
  } : {
6384
6384
  status: "ready",
6385
6385
  filterValues: [
6386
- ...wd({
6386
+ ...Ed({
6387
6387
  dashboardInputFilterValues: [
6388
6388
  ...a,
6389
6389
  ...c.filterValues
@@ -6421,7 +6421,7 @@ function Pd({
6421
6421
  }) {
6422
6422
  var m;
6423
6423
  const l = n.dashboardInputContext ? n.dashboardInputContext.inputs.flatMap(
6424
- (g) => g.kind === "filter" ? [g.filter] : []
6424
+ (b) => b.kind === "filter" ? [b.filter] : []
6425
6425
  ) : [], c = mt(e, n), d = Ad(
6426
6426
  n,
6427
6427
  c.mappingDispositions
@@ -6455,12 +6455,12 @@ function Pd({
6455
6455
  dateComparisonInputs: n.dateComparisonInputs,
6456
6456
  mappedFilterValuesByInputId: new Map(
6457
6457
  c.mappingDispositions.flatMap(
6458
- (g) => g.status === "apply" ? [[g.inputId, g.filterValue]] : []
6458
+ (b) => b.status === "apply" ? [[b.inputId, b.filterValue]] : []
6459
6459
  )
6460
6460
  )
6461
6461
  }), f = re(l), p = !!(f && u.cardFilterValues.some(
6462
- (g) => g.filterId === f.id
6463
- )), b = u.resolvedPrimaryDateField && !((m = e.sql) != null && m.trim()) ? u.dateComparisonPlan.inputs.length ? Vd({
6462
+ (b) => b.filterId === f.id
6463
+ )), g = u.resolvedPrimaryDateField && !((m = e.sql) != null && m.trim()) ? u.dateComparisonPlan.inputs.length ? Vd({
6464
6464
  card: e,
6465
6465
  resolution: u.dateComparisonPlan.resolution
6466
6466
  }) : p ? No(
@@ -6471,7 +6471,7 @@ function Pd({
6471
6471
  status: "ready",
6472
6472
  ...u,
6473
6473
  queryFilterDefinitions: l,
6474
- globalDateComparison: b,
6474
+ globalDateComparison: g,
6475
6475
  mappingDispositions: c.mappingDispositions
6476
6476
  };
6477
6477
  }
@@ -6512,7 +6512,7 @@ function Od(e, t, n) {
6512
6512
  o.queryContext,
6513
6513
  n.calendarContext,
6514
6514
  { resolvePaginationConfig: n.resolvePaginationConfig }
6515
- ), f = t.queryRelevantConfig, p = yt(e.python || ""), b = Yn({
6515
+ ), f = t.queryRelevantConfig, p = yt(e.python || ""), g = Yn({
6516
6516
  hasExecutableConfig: Le(f, e.type),
6517
6517
  sql: e.sql,
6518
6518
  normalizedPython: p
@@ -6528,7 +6528,7 @@ function Od(e, t, n) {
6528
6528
  cardId: e.id,
6529
6529
  sql: (e == null ? void 0 : e.sql) || "",
6530
6530
  python: p,
6531
- resultOwner: b,
6531
+ resultOwner: g,
6532
6532
  active_filters: s,
6533
6533
  controlValues: t.controlValues,
6534
6534
  controlDefinitions: t.controlDefinitions,
@@ -6622,7 +6622,7 @@ function rp({
6622
6622
  place: t,
6623
6623
  source: n
6624
6624
  }) {
6625
- const i = bt(e, t, n);
6625
+ const i = gt(e, t, n);
6626
6626
  return {
6627
6627
  card: i.card,
6628
6628
  context: i.context,
@@ -6668,21 +6668,21 @@ function jd({
6668
6668
  matrixCatalog: o,
6669
6669
  withRequest: r = !1
6670
6670
  }) {
6671
- var m, g;
6671
+ var m, b;
6672
6672
  const { dashboard: s } = n, a = e.id, l = (y, C) => {
6673
6673
  var D;
6674
6674
  let h;
6675
6675
  try {
6676
- const I = wt(y);
6676
+ const I = Et(y);
6677
6677
  if (I.status === "invalid") throw I.error;
6678
- const w = bt(
6678
+ const E = gt(
6679
6679
  y,
6680
6680
  C,
6681
6681
  n,
6682
6682
  I.status === "absent"
6683
6683
  );
6684
- if (h = w.context, I.status === "absent")
6685
- return { status: "ready", value: { assembled: w } };
6684
+ if (h = E.context, I.status === "absent")
6685
+ return { status: "ready", value: { assembled: E } };
6686
6686
  if (!o)
6687
6687
  return {
6688
6688
  status: "blocked",
@@ -6691,10 +6691,10 @@ function jd({
6691
6691
  context: h
6692
6692
  };
6693
6693
  const M = Vl(I.config.spec, h), S = o.filter(
6694
- (E) => E.field.source && M.some(
6695
- (_) => te(_, E.field.source)
6694
+ (w) => w.field.source && M.some(
6695
+ (_) => te(_, w.field.source)
6696
6696
  )
6697
- ), F = Id(y, S, h), { params: x } = w, P = x.dashboardInputContext;
6697
+ ), F = Id(y, S, h), { params: x } = E, P = x.dashboardInputContext;
6698
6698
  F.config = {
6699
6699
  ...F.config,
6700
6700
  presentation: qa(
@@ -6719,7 +6719,7 @@ function jd({
6719
6719
  const A = {
6720
6720
  ...y,
6721
6721
  config: { matrix: F.config }
6722
- }, k = bt(A, C, n, !1);
6722
+ }, k = gt(A, C, n, !1);
6723
6723
  return {
6724
6724
  status: "ready",
6725
6725
  value: {
@@ -6753,46 +6753,46 @@ function jd({
6753
6753
  s,
6754
6754
  i,
6755
6755
  n.calendar
6756
- ), p = d.context.filterCompilationInput, b = Lr(s);
6756
+ ), p = d.context.filterCompilationInput, g = Lr(s);
6757
6757
  try {
6758
- const y = mt(d.card, p), C = u && b && y.status === "ready" && y.filterValues.some((w) => w.filterId === b.id);
6758
+ const y = mt(d.card, p), C = u && g && y.status === "ready" && y.filterValues.some((E) => E.filterId === g.id);
6759
6759
  let h = f.allowGlobalDateMinutePrecision;
6760
6760
  if (C) {
6761
- const w = (m = p.dashboardInputContext) == null ? void 0 : m.inputs.find(
6762
- (k) => k.kind === "filter" && k.filter.id === b.id
6763
- ), S = zr(s, b).filter(
6764
- ({ card: k, sheet: E }) => !w || oe(w, {
6761
+ const E = (m = p.dashboardInputContext) == null ? void 0 : m.inputs.find(
6762
+ (k) => k.kind === "filter" && k.filter.id === g.id
6763
+ ), S = zr(s, g).filter(
6764
+ ({ card: k, sheet: w }) => !E || oe(E, {
6765
6765
  cardId: k.id,
6766
- sheetId: E.id,
6767
- sheetKind: Jn(E) ? "document" : "dashboard"
6766
+ sheetId: w.id,
6767
+ sheetKind: Jn(w) ? "document" : "dashboard"
6768
6768
  })
6769
- ).map(({ card: k, sheet: E }) => ({
6769
+ ).map(({ card: k, sheet: w }) => ({
6770
6770
  card: k,
6771
- value: k.id === a ? c : l(k, { kind: "sheet", sheetId: E.id })
6771
+ value: k.id === a ? c : l(k, { kind: "sheet", sheetId: w.id })
6772
6772
  })), F = new Map(
6773
- S.map(({ card: k, value: E }) => [
6773
+ S.map(({ card: k, value: w }) => [
6774
6774
  k.id,
6775
- E.status === "ready" ? E.value.assembled.card : null
6775
+ w.status === "ready" ? w.value.assembled.card : null
6776
6776
  ])
6777
6777
  ), x = new Map(
6778
- S.map(({ card: k, value: E }) => {
6778
+ S.map(({ card: k, value: w }) => {
6779
6779
  var _;
6780
6780
  return [
6781
6781
  k.id,
6782
- E.status === "ready" ? (_ = E.value.matrix) == null ? void 0 : _.fields : void 0
6782
+ w.status === "ready" ? (_ = w.value.matrix) == null ? void 0 : _.fields : void 0
6783
6783
  ];
6784
6784
  })
6785
6785
  ), P = S.flatMap(
6786
- ({ card: k, value: E }) => {
6787
- const _ = k.id, j = E.status === "ready" ? E.value.assembled.context : E.context;
6786
+ ({ card: k, value: w }) => {
6787
+ const _ = k.id, j = w.status === "ready" ? w.value.assembled.context : w.context;
6788
6788
  if (!j) return [_];
6789
- const J = E.status === "ready" ? E.value.assembled.card : k;
6789
+ const J = w.status === "ready" ? w.value.assembled.card : k;
6790
6790
  try {
6791
6791
  const de = mt(
6792
6792
  J,
6793
6793
  j.filterCompilationInput
6794
6794
  );
6795
- return de.status === "blocked" || de.filterValues.some((Xe) => Xe.filterId === b.id) ? [_] : [];
6795
+ return de.status === "blocked" || de.filterValues.some((Xe) => Xe.filterId === g.id) ? [_] : [];
6796
6796
  } catch {
6797
6797
  return F.set(_, null), [_];
6798
6798
  }
@@ -6800,12 +6800,12 @@ function jd({
6800
6800
  ), A = kt(
6801
6801
  s,
6802
6802
  i,
6803
- b,
6803
+ g,
6804
6804
  F,
6805
6805
  x,
6806
6806
  P
6807
6807
  );
6808
- if ((g = A.unresolvedCardIds) != null && g.length)
6808
+ if ((b = A.unresolvedCardIds) != null && b.length)
6809
6809
  return {
6810
6810
  status: "blocked",
6811
6811
  cardId: a,
@@ -6874,7 +6874,7 @@ function Ld(e) {
6874
6874
  cardControlValuesMap: e.cardControlValuesMap
6875
6875
  };
6876
6876
  }
6877
- function bt(e, t, n, i) {
6877
+ function gt(e, t, n, i) {
6878
6878
  const { dashboard: o } = n, r = Ld(n), s = t.kind === "documentSection" ? {
6879
6879
  ...Bd({
6880
6880
  card: e,
@@ -6978,19 +6978,19 @@ function ap({
6978
6978
  )
6979
6979
  )
6980
6980
  ).values()
6981
- ) : f(u), b = {
6981
+ ) : f(u), g = {
6982
6982
  ...s || {}
6983
6983
  }, m = r === "all" ? G({ sheets: (e == null ? void 0 : e.sheets) || [] }) : u ? G({ sheets: (e == null ? void 0 : e.sheets) || [] }).filter(
6984
6984
  (C) => C.sheet.id === u
6985
6985
  ) : [];
6986
6986
  for (const C of m)
6987
- Object.assign(b, (a == null ? void 0 : a[C.card.id]) || {});
6988
- const g = $r({
6987
+ Object.assign(g, (a == null ? void 0 : a[C.card.id]) || {});
6988
+ const b = $r({
6989
6989
  filterDefinitions: d,
6990
6990
  filterValues: p
6991
6991
  }), y = pd({
6992
6992
  filters: d,
6993
- filterValues: g,
6993
+ filterValues: b,
6994
6994
  dashboard: e,
6995
6995
  semanticExecutionPayload: l,
6996
6996
  timezone: c
@@ -6998,7 +6998,7 @@ function ap({
6998
6998
  return {
6999
6999
  selectedSheetId: u,
7000
7000
  filterValues: y,
7001
- controlValues: b
7001
+ controlValues: g
7002
7002
  };
7003
7003
  }
7004
7004
  function lp({
@@ -7016,15 +7016,15 @@ function lp({
7016
7016
  calendar: u,
7017
7017
  matrixCatalog: f,
7018
7018
  cardOverride: p,
7019
- sheetId: b,
7019
+ sheetId: g,
7020
7020
  documentSection: m,
7021
- editor: g,
7021
+ editor: b,
7022
7022
  withRequest: y
7023
7023
  }) {
7024
7024
  var D;
7025
7025
  if (!e)
7026
7026
  return null;
7027
- p && !at(e, t) && b && (e = { ...e, sheets: (D = e.sheets) == null ? void 0 : D.map((I) => I.id === b ? { ...I, cards: [...I.cards ?? [], p] } : I) });
7027
+ p && !at(e, t) && g && (e = { ...e, sheets: (D = e.sheets) == null ? void 0 : D.map((I) => I.id === g ? { ...I, cards: [...I.cards ?? [], p] } : I) });
7028
7028
  const C = at(e, t);
7029
7029
  if (!C)
7030
7030
  return null;
@@ -7046,7 +7046,7 @@ function lp({
7046
7046
  cardViewStates: i,
7047
7047
  viewerTableSettings: o,
7048
7048
  calendar: u,
7049
- ...g ? { editor: g } : {}
7049
+ ...b ? { editor: b } : {}
7050
7050
  },
7051
7051
  semanticExecutionPayload: r,
7052
7052
  matrixCatalog: f,
@@ -7114,7 +7114,7 @@ function dp({
7114
7114
  sheetId: n,
7115
7115
  inputId: i
7116
7116
  }) {
7117
- const o = be(
7117
+ const o = ge(
7118
7118
  e.id || e.label,
7119
7119
  t
7120
7120
  ), r = e.id === o ? e : { ...e, id: o };
@@ -7137,7 +7137,7 @@ function up({
7137
7137
  label: n,
7138
7138
  variableName: i
7139
7139
  }) {
7140
- const o = (n == null ? void 0 : n.trim()) || e.label, r = i === void 0 ? e.variableName : be(
7140
+ const o = (n == null ? void 0 : n.trim()) || e.label, r = i === void 0 ? e.variableName : ge(
7141
7141
  i,
7142
7142
  t.filter((a) => a.id !== e.id)
7143
7143
  );
@@ -7217,14 +7217,14 @@ function mp(e) {
7217
7217
  i.kind === "filter" && (t[i.id] = ((n = i.slot) == null ? void 0 : n.status) === "cleared" ? void 0 : i.filterValue);
7218
7218
  return t;
7219
7219
  }
7220
- function bp(e) {
7220
+ function gp(e) {
7221
7221
  var n;
7222
7222
  const t = {};
7223
7223
  for (const i of e)
7224
7224
  i.kind === "control" && ((n = i.slot) == null ? void 0 : n.status) === "set" && (t[i.id] = i.controlValue);
7225
7225
  return t;
7226
7226
  }
7227
- function gp({
7227
+ function bp({
7228
7228
  dashboard: e,
7229
7229
  sheetId: t,
7230
7230
  filterValuesByInputId: n,
@@ -7359,7 +7359,7 @@ function yp(e, t) {
7359
7359
  return [];
7360
7360
  }
7361
7361
  }
7362
- function En(e) {
7362
+ function wn(e) {
7363
7363
  var t;
7364
7364
  return [
7365
7365
  ...e.cards ?? [],
@@ -7395,12 +7395,12 @@ function Jd(e, t, n, i) {
7395
7395
  calendar: null
7396
7396
  }), a = (f) => {
7397
7397
  if (f.source !== "dashboardInputAlias") return f;
7398
- const p = s.variablesByName[f.variableName], b = p ? {
7398
+ const p = s.variablesByName[f.variableName], g = p ? {
7399
7399
  source: "dashboardInput",
7400
7400
  inputId: p.id,
7401
7401
  export: f.export ?? "label"
7402
7402
  } : f;
7403
- return p && (o[f.variableName] = b), b;
7403
+ return p && (o[f.variableName] = g), g;
7404
7404
  }, l = (f) => {
7405
7405
  f.type === "variable" && (f.ref = a(f.ref)), f.type === "link" && f.children.forEach(l);
7406
7406
  };
@@ -7412,13 +7412,13 @@ function Jd(e, t, n, i) {
7412
7412
  }
7413
7413
  function Xd(e, t) {
7414
7414
  var r;
7415
- const n = En(e);
7415
+ const n = wn(e);
7416
7416
  if (!n.some((s) => {
7417
7417
  var a;
7418
7418
  return (a = s.preferences) == null ? void 0 : a.textVisualOptions;
7419
7419
  }))
7420
7420
  return e;
7421
- const i = Pe(e), o = En(i);
7421
+ const i = Pe(e), o = wn(i);
7422
7422
  for (let s = 0; s < o.length; s++) {
7423
7423
  const a = Jd(
7424
7424
  o[s],
@@ -7477,7 +7477,7 @@ function nu(e) {
7477
7477
  }
7478
7478
  }
7479
7479
  function iu(e) {
7480
- const { card: t, clicked: n, sourceIndex: i } = e, o = ge(n), r = (d) => {
7480
+ const { card: t, clicked: n, sourceIndex: i } = e, o = be(n), r = (d) => {
7481
7481
  const u = Gi({
7482
7482
  sourceIndex: i,
7483
7483
  target: d
@@ -7516,7 +7516,7 @@ function iu(e) {
7516
7516
  return c.status === "ambiguous" ? { status: "block", clickedFieldKey: o, reason: "ambiguousAutomaticTarget" } : c.status === "matched" ? s(c.target, "automatic") : { status: "skip", clickedFieldKey: o, reason: "notApplicable" };
7517
7517
  }
7518
7518
  function ou(e, t, n) {
7519
- const i = e.field.nativeDataType && ge(e.field) === ge(t.field) ? e.field.nativeDataType : void 0;
7519
+ const i = e.field.nativeDataType && be(e.field) === be(t.field) ? e.field.nativeDataType : void 0;
7520
7520
  return {
7521
7521
  id: n,
7522
7522
  field: {
@@ -7534,7 +7534,7 @@ function ru(e) {
7534
7534
  const { card: t, input: n, value: i } = e, o = { inputId: n.id, sourceCardId: n.sourceCardId }, r = It(t), s = /* @__PURE__ */ new Map();
7535
7535
  for (const d of i.tuples)
7536
7536
  for (const u of d.conditions) {
7537
- const f = ge(u.field);
7537
+ const f = be(u.field);
7538
7538
  s.has(f) || s.set(f, u.field);
7539
7539
  }
7540
7540
  const a = tu({
@@ -7568,13 +7568,13 @@ function ru(e) {
7568
7568
  );
7569
7569
  const c = i.tuples.map((d, u) => ({
7570
7570
  conditions: d.conditions.flatMap((f, p) => {
7571
- const b = l.get(
7572
- ge(f.field)
7571
+ const g = l.get(
7572
+ be(f.field)
7573
7573
  );
7574
- return (b == null ? void 0 : b.status) === "apply" ? [
7574
+ return (g == null ? void 0 : g.status) === "apply" ? [
7575
7575
  ou(
7576
7576
  f,
7577
- b.target,
7577
+ g.target,
7578
7578
  `${n.id}:${u}:${p}`
7579
7579
  )
7580
7580
  ] : [];
@@ -7626,24 +7626,24 @@ function Je({
7626
7626
  target: c,
7627
7627
  calendar: a
7628
7628
  })
7629
- ), b = uu({
7629
+ ), g = uu({
7630
7630
  resolvedInputs: p,
7631
7631
  card: n
7632
- }), m = fu(p), g = (C = p.find(
7632
+ }), m = fu(p), b = (C = p.find(
7633
7633
  (h) => h.kind === "filter" && $(h.filter)
7634
7634
  )) == null ? void 0 : C.comparisonSelection, y = p.flatMap((h, D) => {
7635
7635
  var M;
7636
7636
  const I = f[D];
7637
7637
  if (!I || !ze(I) || !h.comparisonSelection)
7638
7638
  return [];
7639
- const w = ((M = h.slot) == null ? void 0 : M.status) === "set" && h.slot.value.kind === "filter" ? h.slot.value.filterValue : void 0;
7639
+ const E = ((M = h.slot) == null ? void 0 : M.status) === "set" && h.slot.value.kind === "filter" ? h.slot.value.filterValue : void 0;
7640
7640
  return [
7641
7641
  {
7642
7642
  inputId: h.id,
7643
7643
  filterId: I.filter.id,
7644
7644
  label: h.label,
7645
7645
  filter: I.filter,
7646
- filterValue: w,
7646
+ filterValue: E,
7647
7647
  selection: h.comparisonSelection
7648
7648
  }
7649
7649
  ];
@@ -7659,9 +7659,9 @@ function Je({
7659
7659
  inputs: u,
7660
7660
  transientContexts: s
7661
7661
  }),
7662
- ...b,
7662
+ ...g,
7663
7663
  ...m,
7664
- ...g ? { globalDateComparisonSelection: g } : {},
7664
+ ...b ? { globalDateComparisonSelection: b } : {},
7665
7665
  dateComparisonInputs: y,
7666
7666
  missingRequiredInputs: p.filter(
7667
7667
  (h) => h.missingRequiredValue
@@ -7726,11 +7726,11 @@ function Lo(e) {
7726
7726
  }
7727
7727
  function zo(e) {
7728
7728
  var u, f;
7729
- const t = Ee(
7729
+ const t = we(
7730
7730
  e.runtimeValues.dashboardInputValues,
7731
7731
  e.input,
7732
7732
  e.target
7733
- ), n = Ee(
7733
+ ), n = we(
7734
7734
  Hr(e.dashboard),
7735
7735
  e.input,
7736
7736
  e.target
@@ -7762,9 +7762,9 @@ function zo(e) {
7762
7762
  throw new Error(((f = p.errors[0]) == null ? void 0 : f.message) || "Invalid comparison selection.");
7763
7763
  }
7764
7764
  if (e.input.kind === "filter") {
7765
- const p = (l == null ? void 0 : l.kind) === "filter", b = p ? $o(e.input, l.filterValue) : void 0, m = gu({
7765
+ const p = (l == null ? void 0 : l.kind) === "filter", g = p ? $o(e.input, l.filterValue) : void 0, m = bu({
7766
7766
  input: e.input,
7767
- filterValue: b
7767
+ filterValue: g
7768
7768
  });
7769
7769
  return {
7770
7770
  id: e.input.id,
@@ -7773,13 +7773,13 @@ function zo(e) {
7773
7773
  variableName: e.input.variableName,
7774
7774
  requiredAtExecution: !!e.input.requiredAtExecution,
7775
7775
  slot: a,
7776
- rawValue: b ? Fu(b.values) : void 0,
7777
- displayValue: wn(m.label ?? m.value),
7776
+ rawValue: g ? Fu(g.values) : void 0,
7777
+ displayValue: En(m.label ?? m.value),
7778
7778
  exports: m,
7779
7779
  filter: e.input.filter,
7780
- filterValue: b,
7781
- ...p && !b ? { invalidFilterSelection: !0 } : {},
7782
- missingRequiredValue: !!e.input.requiredAtExecution && !b,
7780
+ filterValue: g,
7781
+ ...p && !g ? { invalidFilterSelection: !0 } : {},
7782
+ missingRequiredValue: !!e.input.requiredAtExecution && !g,
7783
7783
  ...o && (a != null && a.comparisonSelection) ? { comparisonSelection: a.comparisonSelection } : {}
7784
7784
  };
7785
7785
  }
@@ -7795,7 +7795,7 @@ function zo(e) {
7795
7795
  requiredAtExecution: !!e.input.requiredAtExecution,
7796
7796
  slot: a,
7797
7797
  rawValue: c,
7798
- displayValue: wn(d.label ?? d.value),
7798
+ displayValue: En(d.label ?? d.value),
7799
7799
  exports: d,
7800
7800
  control: e.input.control,
7801
7801
  controlValue: c,
@@ -7848,7 +7848,7 @@ function fu(e) {
7848
7848
  }
7849
7849
  function pu(e) {
7850
7850
  var s, a, l;
7851
- const t = (s = e.input.compatibility) == null ? void 0 : s.source, n = Ee(
7851
+ const t = (s = e.input.compatibility) == null ? void 0 : s.source, n = we(
7852
7852
  e.runtimeValues.dashboardInputValues,
7853
7853
  e.input,
7854
7854
  e.target
@@ -7931,15 +7931,15 @@ function $o(e, t) {
7931
7931
  // for the new field or clears both stale projections.
7932
7932
  sourceValue: n
7933
7933
  });
7934
- return bu(
7934
+ return gu(
7935
7935
  e.filter,
7936
7936
  Jr(e, a)
7937
7937
  );
7938
7938
  }
7939
- function bu(e, t) {
7939
+ function gu(e, t) {
7940
7940
  return !(t != null && t.fieldMeta) || !e.title || t.fieldMeta.label === e.title ? t : { ...t, fieldMeta: { ...t.fieldMeta, label: e.title } };
7941
7941
  }
7942
- function gu({
7942
+ function bu({
7943
7943
  input: e,
7944
7944
  filterValue: t
7945
7945
  }) {
@@ -8005,7 +8005,7 @@ function Go(e) {
8005
8005
  function Du(e) {
8006
8006
  return e instanceof Date ? e.toISOString() : typeof e == "string" ? e : typeof e == "number" || typeof e == "boolean" ? String(e) : e == null ? "" : JSON.stringify(e);
8007
8007
  }
8008
- function wn(e) {
8008
+ function En(e) {
8009
8009
  return e == null ? "" : String(e);
8010
8010
  }
8011
8011
  export {
@@ -8025,7 +8025,7 @@ export {
8025
8025
  oa as M,
8026
8026
  ra as N,
8027
8027
  la as O,
8028
- bi as P,
8028
+ gi as P,
8029
8029
  ef as Q,
8030
8030
  da as R,
8031
8031
  fa as S,
@@ -8048,7 +8048,7 @@ export {
8048
8048
  $l as a6,
8049
8049
  Gl as a7,
8050
8050
  dp as a8,
8051
- gn as a9,
8051
+ bn as a9,
8052
8052
  pf as aA,
8053
8053
  Oa as aB,
8054
8054
  af as aC,
@@ -8056,13 +8056,13 @@ export {
8056
8056
  Pi as aE,
8057
8057
  sp as aF,
8058
8058
  qd as aG,
8059
- En as aH,
8059
+ wn as aH,
8060
8060
  Yd as aI,
8061
8061
  Jd as aJ,
8062
8062
  Xd as aK,
8063
8063
  Yf as aL,
8064
8064
  Hf as aM,
8065
- go as aN,
8065
+ bo as aN,
8066
8066
  Wf as aO,
8067
8067
  qf as aP,
8068
8068
  Rf as aQ,
@@ -8077,21 +8077,21 @@ export {
8077
8077
  jf as aZ,
8078
8078
  $a as a_,
8079
8079
  If as aa,
8080
- gf as ab,
8080
+ bf as ab,
8081
8081
  Pa as ac,
8082
8082
  Aa as ad,
8083
- Ea as ae,
8083
+ wa as ae,
8084
8084
  cf as af,
8085
8085
  Si as ag,
8086
8086
  ct as ah,
8087
8087
  of as ai,
8088
8088
  ml as aj,
8089
- bl as ak,
8089
+ gl as ak,
8090
8090
  Na as al,
8091
8091
  ie as am,
8092
8092
  mf as an,
8093
8093
  Ra as ao,
8094
- bf as ap,
8094
+ gf as ap,
8095
8095
  Af as aq,
8096
8096
  $t as ar,
8097
8097
  zt as as,
@@ -8125,7 +8125,7 @@ export {
8125
8125
  ep as bI,
8126
8126
  Nf as bJ,
8127
8127
  oc as bK,
8128
- El as bL,
8128
+ wl as bL,
8129
8129
  Zf as bM,
8130
8130
  to as bN,
8131
8131
  xo as bO,
@@ -8133,7 +8133,7 @@ export {
8133
8133
  mt as bQ,
8134
8134
  lf as bR,
8135
8135
  hd as bS,
8136
- Eo as bT,
8136
+ wo as bT,
8137
8137
  cc as bU,
8138
8138
  At as bV,
8139
8139
  ff as bW,
@@ -8151,12 +8151,12 @@ export {
8151
8151
  ut as bh,
8152
8152
  hl as bi,
8153
8153
  Sl as bj,
8154
- Ef as bk,
8154
+ wf as bk,
8155
8155
  Ai as bl,
8156
8156
  op as bm,
8157
8157
  tp as bn,
8158
8158
  Fe as bo,
8159
- gi as bp,
8159
+ bi as bp,
8160
8160
  nf as bq,
8161
8161
  tf as br,
8162
8162
  sf as bs,
@@ -8179,9 +8179,9 @@ export {
8179
8179
  Mf as c8,
8180
8180
  kf as c9,
8181
8181
  yl as ca,
8182
- gp as cb,
8182
+ bp as cb,
8183
8183
  mp as cc,
8184
- bp as cd,
8184
+ gp as cd,
8185
8185
  Rl as ce,
8186
8186
  he as cf,
8187
8187
  zf as cg,
@@ -8195,7 +8195,7 @@ export {
8195
8195
  Qf as h,
8196
8196
  hf as i,
8197
8197
  Ut as j,
8198
- wf as k,
8198
+ Ef as k,
8199
8199
  sd as l,
8200
8200
  Gf as m,
8201
8201
  Pe as n,