react-semaphor 0.1.564 → 0.1.566

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 (138) hide show
  1. package/DATA_APP_SDK.md +3 -3
  2. package/README.md +2 -2
  3. package/dist/analytics-protocol/index.js +8 -8
  4. package/dist/assistant-context/index.js +3 -2
  5. package/dist/brand-studio/index.js +28 -29
  6. package/dist/briefings/index.js +53 -49
  7. package/dist/chunks/{assistant-chat-D1BEEHUF.js → assistant-chat-DNKAYSQL.js} +204 -204
  8. package/dist/chunks/{bookmark-impact-XOsVUAqW.js → bookmark-impact-BeUbq0jc.js} +2 -2
  9. package/dist/chunks/bookmark-state-ByODVqee.js +1613 -0
  10. package/dist/chunks/card-filter-builder-SXaRWbKr.js +4100 -0
  11. package/dist/chunks/{switch-BW4yXSYs.js → code-editor-DJNOsgJH.js} +463 -442
  12. package/dist/chunks/{comparison-window-caption-D1EUXzaR.js → comparison-window-caption-CMLb3mut.js} +451 -419
  13. package/dist/chunks/{dashboard-DfYsASNd.js → dashboard-Cni7nGhg.js} +1 -1
  14. package/dist/chunks/dashboard-briefing-launcher-CXeXRTem.js +4910 -0
  15. package/dist/chunks/{dashboard-controls-CJ8Dz50D.js → dashboard-controls-CsqKybrf.js} +685 -675
  16. package/dist/chunks/{dashboard-json-D3uZxGO-.js → dashboard-json-WWmw3Piu.js} +4 -4
  17. package/dist/chunks/{dates-EvDtT25n.js → dates-DJRUS-he.js} +12 -12
  18. package/dist/chunks/{edit-dashboard-visual-CgHJXBQv.js → edit-dashboard-visual-BrIEaBhc.js} +7724 -10341
  19. package/dist/chunks/filter-reach-copy-D5LqgrUf.js +4667 -0
  20. package/dist/chunks/{filter-value-text-CPwFkrMz.js → filter-value-text-7zhmth1S.js} +2 -2
  21. package/dist/chunks/{index-CAgf2x4E.js → index-Bq9UbCGk.js} +653 -574
  22. package/dist/chunks/{layout-grid-BM65viQh.js → layout-grid-0hIlqEtk.js} +1 -1
  23. package/dist/chunks/{list-filter-BoeLBfL3.js → list-filter-DkgoCeBm.js} +1 -1
  24. package/dist/chunks/{matrix-analytical-definition-hEucouWM.js → matrix-analytical-definition-C9xB_T84.js} +18 -18
  25. package/dist/chunks/{matrix-card-CCh9JjP1.js → matrix-card-BSUeSXpD.js} +2 -2
  26. package/dist/chunks/{matrix-member-presentation-DsAUbuoL.js → matrix-member-presentation-DZNgQpUq.js} +1 -1
  27. package/dist/chunks/{matrix-operation-contract-DsLdFdSa.js → matrix-operation-contract-Eb6elidS.js} +1 -1
  28. package/dist/chunks/{metric-comparison-Bnso1cm1.js → metric-comparison-ChXUFaZu.js} +1 -1
  29. package/dist/chunks/{palette-p1XSJFgB.js → palette-4vf2BEEg.js} +1 -1
  30. package/dist/chunks/{pivot-result-contract-expectations-B53jqszr.js → pivot-result-contract-expectations-Ddh1rNz5.js} +4 -4
  31. package/dist/chunks/{pivot-result-identity-Dq5jm-EC.js → pivot-result-identity-BlbLrqaC.js} +1 -1
  32. package/dist/chunks/{report-preferences-dialog-DMqxSU4X.js → report-preferences-dialog-CeHioJwL.js} +122 -131
  33. package/dist/chunks/{report-runtime-context-BITkNSDa.js → report-runtime-context-DnA_PiKo.js} +1 -1
  34. package/dist/chunks/resolve-dashboard-input-context-CwS-2r-b.js +21419 -0
  35. package/dist/chunks/{save-CHV1B1fL.js → save-D6pHmSSP.js} +1 -1
  36. package/dist/chunks/saved-dashboard-context-c-MZZTx2.js +629 -0
  37. package/dist/chunks/{selection-reducer-Bz5aywT4.js → selection-reducer-OaJ-N5uN.js} +1 -1
  38. package/dist/chunks/{semaphor-ready-indicator-CFeCIuaw.js → semaphor-ready-indicator-B2NpYRE-.js} +81034 -80950
  39. package/dist/chunks/{shelf-drop-preview-context-cEyVkKTF.js → shelf-drop-preview-context-DM7yypwC.js} +407 -407
  40. package/dist/chunks/{source-entity-resolution-DdDVXFB8.js → source-entity-resolution-DF6GulDn.js} +1 -1
  41. package/dist/chunks/stored-dashboard-DTWc2pzt.js +5026 -0
  42. package/dist/chunks/{table-export-sheet-bSXxGn-v.js → table-export-sheet--DUKWk6o.js} +1 -1
  43. package/dist/chunks/{temporal-input-presentation-sk9gqLi6.js → temporal-input-presentation--2r9BLr0.js} +392 -377
  44. package/dist/chunks/{token-types-BUK06hU2.js → token-types-C8JymO8s.js} +1 -1
  45. package/dist/chunks/{upload-BnmuyPqW.js → upload-Cf3wXZT8.js} +1 -1
  46. package/dist/chunks/{validators-BIM0FE31.js → validators-wtjw0aw6.js} +7 -7
  47. package/dist/chunks/variable-draft-DFizFCJu.js +241 -0
  48. package/dist/dashboard/index.js +2 -2
  49. package/dist/dashboard-authoring/index.js +2324 -1796
  50. package/dist/data-app-sdk/index.js +4 -4
  51. package/dist/data-app-sdk-adapters/index.js +2 -2
  52. package/dist/data-app-sdk-validation/index.js +5 -5
  53. package/dist/format-utils/index.js +174 -167
  54. package/dist/index.js +189 -187
  55. package/dist/pdf-export-policy/index.js +80 -28
  56. package/dist/pdf-table-layout/index.js +65 -65
  57. package/dist/report-runtime-context/index.js +1 -1
  58. package/dist/style.css +1 -1
  59. package/dist/surfboard/index.js +2 -2
  60. package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
  61. package/dist/types/briefings/delivery-outcome.d.ts +37 -0
  62. package/dist/types/briefings/index.d.ts +2 -0
  63. package/dist/types/briefings/run-outcomes.d.ts +6 -0
  64. package/dist/types/components/briefings/briefing-author/run-model.d.ts +9 -0
  65. package/dist/types/components/dashboard-variables/data-variables-menu.d.ts +8 -0
  66. package/dist/types/components/dashboard-variables/variable-editor-host.d.ts +1 -0
  67. package/dist/types/components/index.d.ts +2 -0
  68. package/dist/types/index.js +5 -5
  69. package/dist/types/lib/dashboard-inputs/build-normalized-dashboard-inputs.d.ts +62 -0
  70. package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-authoring.d.ts +33 -2
  71. package/dist/types/lib/dashboard-inputs/filter-settings.d.ts +7 -2
  72. package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +4 -2
  73. package/dist/types/lib/dashboard-variables/data-text.d.ts +33 -0
  74. package/dist/types/lib/dashboard-variables/types.d.ts +207 -0
  75. package/dist/types/lib/document/document-edits.d.ts +16 -1
  76. package/dist/types/lib/document/document-panel-target.d.ts +1 -1
  77. package/dist/types/lib/document/document-section-query-options.d.ts +29 -0
  78. package/dist/types/lib/document/document-table-data-policy.d.ts +0 -1
  79. package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +92 -0
  80. package/dist/types/lib/query-context/build-card-query-context.d.ts +6 -0
  81. package/dist/types/lib/query-context/dashboard-filter-mapping-resolution.d.ts +15 -3
  82. package/dist/types/lib/query-context/describe-card-execution-snapshot.d.ts +1 -0
  83. package/dist/types/lib/query-context/use-semantic-execution-payload-for-cards.d.ts +24 -0
  84. package/dist/types/lib/stores/dashboard-store.d.ts +36 -0
  85. package/dist/types/lib/text-variables/temporal-input-text.d.ts +28 -0
  86. package/dist/types/lib/text-variables/text-variable-types.d.ts +72 -0
  87. package/dist/types/lib/types/common-types.d.ts +155 -51
  88. package/dist/types/lib/utils/card-definition.d.ts +2 -2
  89. package/dist/types/shared/assistant-context/index.d.ts +1 -1
  90. package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +51 -1
  91. package/dist/types/shared/dashboard-authoring/card-query-request.d.ts +7 -1
  92. package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-highlights.d.ts +10 -0
  93. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +1 -0
  94. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +1087 -430
  95. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +20 -1
  96. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +1 -1
  97. package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +10 -0
  98. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +40 -40
  99. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +16 -16
  100. package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +1 -0
  101. package/dist/types/shared/dashboard-authoring/dashboard-filter-sql-subscription.d.ts +24 -0
  102. package/dist/types/shared/dashboard-authoring/dashboard-filter-targets.d.ts +29 -0
  103. package/dist/types/shared/dashboard-authoring/dashboard-input-scope.d.ts +7 -4
  104. package/dist/types/shared/dashboard-authoring/dashboard-variable-card.d.ts +159 -0
  105. package/dist/types/shared/dashboard-authoring/dashboard-variable-changes.d.ts +61 -0
  106. package/dist/types/shared/dashboard-authoring/document-section-cards.d.ts +7 -0
  107. package/dist/types/shared/dashboard-authoring/filter-model/index.d.ts +2 -0
  108. package/dist/types/shared/dashboard-authoring/filter-model/read-dashboard-filter-model.d.ts +10 -0
  109. package/dist/types/shared/dashboard-authoring/index.d.ts +6 -0
  110. package/dist/types/shared/dashboard-authoring/measure-calculations/comparison.d.ts +2 -0
  111. package/dist/types/shared/dashboard-authoring/operations/operation-sentences.d.ts +1 -1
  112. package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +50 -3
  113. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +48 -1
  114. package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +22 -6
  115. package/dist/types/shared/dashboard-authoring/text-card-words/blocks.d.ts +87 -13
  116. package/dist/types/shared/dashboard-authoring/text-card-words/chip-colors.d.ts +23 -0
  117. package/dist/types/shared/dashboard-authoring/text-card-words/index.d.ts +90 -8
  118. package/dist/types/shared/dashboard-authoring/text-card-words/rich-content.d.ts +31 -3
  119. package/dist/types/shared/dashboard-authoring/text-card-words/variable-words.d.ts +8 -0
  120. package/dist/types/shared/dashboard-authoring/variable-draft.d.ts +125 -0
  121. package/dist/types/shared/dashboard-authoring/variable-editability.d.ts +24 -0
  122. package/dist/types/shared/dashboard-authoring/variable-references.d.ts +39 -0
  123. package/dist/types/shared/format-utils/document-print.d.ts +4 -2
  124. package/dist/types/shared/format-utils/index.d.ts +1 -0
  125. package/dist/types/shared/format-utils/pdf-capacity-lines.d.ts +17 -0
  126. package/dist/types/shared/format-utils/pdf-delivery.d.ts +8 -1
  127. package/dist/types/shared/format-utils/pdf-export-policy.d.ts +74 -6
  128. package/dist/types/shared/format-utils/presentation-execution.d.ts +9 -0
  129. package/package.json +2 -2
  130. package/src/data-app-sdk/README.md +3 -3
  131. package/dist/chunks/bookmark-state-CWeoGbrx.js +0 -743
  132. package/dist/chunks/braces-DzgoQC64.js +0 -23
  133. package/dist/chunks/dashboard-briefing-launcher-lvYfJoUQ.js +0 -3878
  134. package/dist/chunks/filter-reach-copy-Cmb05jlE.js +0 -3965
  135. package/dist/chunks/global-date-filter-utils-ruJYwjgZ.js +0 -16733
  136. package/dist/chunks/resolve-dashboard-input-context-i_jCSYae.js +0 -8214
  137. package/dist/chunks/saved-dashboard-context-Dg3oDmH_.js +0 -564
  138. package/dist/chunks/use-create-flow-overlay-state-Dl6DCxh8.js +0 -1436
@@ -3,19 +3,19 @@ var Cn = (e, t, n) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var $ = (e, t, n) => Cn(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { z as w } from "zod";
5
5
  import { E as Rt, l as Lt } from "./export-file-format-C-tJsxsf.js";
6
- import { b0 as Wt, a_ as Pn, aV as Yn, t as nt, H as zn, a3 as Un, b1 as An, l as Rn, a8 as Ln, a0 as q, o as Wn } from "./validators-BIM0FE31.js";
7
- import "./matrix-operation-contract-DsLdFdSa.js";
8
- import { k as jn, i as fe } from "./analytics-base-schemas-BaIQrEzX.js";
9
- import { b as Hn } from "./report-runtime-context-BITkNSDa.js";
10
- import { canonicalizeSupportedLocale as X, canonicalizeSupportedCurrencyCode as Ue, DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as qn } from "../value-format-preferences/index.js";
6
+ import { a_ as Wt, a$ as Pn, aV as Yn, t as nt, H as zn, a3 as Un, b0 as An, l as Rn, a8 as Ln, a0 as K, o as Wn } from "./validators-wtjw0aw6.js";
7
+ import "./matrix-operation-contract-Eb6elidS.js";
8
+ import { k as jn, i as he } from "./analytics-base-schemas-BaIQrEzX.js";
9
+ import { b as Hn } from "./report-runtime-context-DnA_PiKo.js";
10
+ import { canonicalizeSupportedLocale as Q, canonicalizeSupportedCurrencyCode as Ue, DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as qn } from "../value-format-preferences/index.js";
11
11
  import { p as Zn, a as Kn, c as Vn, e as Bn } from "./raw-temporal-value-Bqz8wc7L.js";
12
- function G(e) {
12
+ function J(e) {
13
13
  if (!e || typeof e != "object") return !1;
14
14
  const t = e.type;
15
15
  return t === "number" || t === "currency" || t === "percent" || t === "scientific";
16
16
  }
17
- function Ts(e) {
18
- return G(e) || !!e && typeof e == "object" && e.type === "duration";
17
+ function Ds(e) {
18
+ return J(e) || !!e && typeof e == "object" && e.type === "duration";
19
19
  }
20
20
  const jt = [
21
21
  "day",
@@ -130,11 +130,11 @@ function or(e, t) {
130
130
  throw new RangeError("Exact value is outside the Intl formatting range; use raw text.");
131
131
  return it(t, e);
132
132
  }
133
- function Q(e) {
133
+ function ee(e) {
134
134
  return typeof e == "number" ? e < 0 : e.value.startsWith("-");
135
135
  }
136
- function Z(e) {
137
- return typeof e == "number" ? Math.abs(e) : Q(e) ? { ...e, value: e.value.slice(1) } : e;
136
+ function V(e) {
137
+ return typeof e == "number" ? Math.abs(e) : ee(e) ? { ...e, value: e.value.slice(1) } : e;
138
138
  }
139
139
  function sr(e) {
140
140
  return typeof e == "number" ? e === 0 : /^-?0*(\.0*)?$/.test(e.value);
@@ -146,7 +146,7 @@ function Kt(e, t) {
146
146
  value: Wt(e.value, t)
147
147
  };
148
148
  }
149
- function de(e, t) {
149
+ function ge(e, t) {
150
150
  return t === 0 ? e : typeof e == "number" ? e / 10 ** t : {
151
151
  kind: "exact_number",
152
152
  type: "decimal",
@@ -162,46 +162,46 @@ function ot(e) {
162
162
  return t === "en-in" || t.startsWith("en-in-");
163
163
  }
164
164
  function st(e, t) {
165
- const n = Z(e), r = (a) => typeof n == "number" ? n >= a : Pn(n.value, String(a)) >= 0;
165
+ const n = V(e), r = (a) => typeof n == "number" ? n >= a : Pn(n.value, String(a)) >= 0;
166
166
  return r(1e12) ? { power: 12, suffix: "T" } : r(1e9) ? { power: 9, suffix: "B" } : ot(t) && r(1e7) ? { power: 7, suffix: "Cr" } : r(1e6) ? { power: 6, suffix: "M" } : ot(t) && r(1e5) ? { power: 5, suffix: "L" } : r(1e3) ? { power: 3, suffix: "K" } : { power: 0, suffix: "" };
167
167
  }
168
168
  function Re(e, t) {
169
169
  try {
170
- const n = R(t);
170
+ const n = W(t);
171
171
  return st(e, n);
172
172
  } catch {
173
173
  return st(e, "en-US");
174
174
  }
175
175
  }
176
- const Vt = 500, te = /* @__PURE__ */ new Map(), ne = /* @__PURE__ */ new Map();
176
+ const Vt = 500, re = /* @__PURE__ */ new Map(), ae = /* @__PURE__ */ new Map();
177
177
  function _(e, t = {}) {
178
178
  const n = `${e}|${JSON.stringify(t)}`;
179
- let r = te.get(n);
180
- return r || (r = new Intl.NumberFormat(e, t), te.size >= Vt && te.clear(), te.set(n, r)), r;
179
+ let r = re.get(n);
180
+ return r || (r = new Intl.NumberFormat(e, t), re.size >= Vt && re.clear(), re.set(n, r)), r;
181
181
  }
182
182
  function cr(e) {
183
- let t = ne.get(e);
183
+ let t = ae.get(e);
184
184
  if (t === void 0) {
185
185
  try {
186
186
  _(e), t = !0;
187
187
  } catch {
188
188
  t = !1;
189
189
  }
190
- ne.size >= Vt && ne.clear(), ne.set(e, t);
190
+ ae.size >= Vt && ae.clear(), ae.set(e, t);
191
191
  }
192
192
  return t;
193
193
  }
194
- function R(e) {
194
+ function W(e) {
195
195
  return e && cr(e) ? e : "en-US";
196
196
  }
197
197
  function qe(e, t) {
198
198
  if (e == null || Number.isNaN(e))
199
199
  return "";
200
- const n = R(t == null ? void 0 : t.locale);
200
+ const n = W(t == null ? void 0 : t.locale);
201
201
  let r = e;
202
202
  if (t != null && t.multiplyBy && (r = Kt(r, t.multiplyBy)), t != null && t.useSuffix) {
203
203
  const { power: i, suffix: o } = Re(r, n);
204
- r = de(r, i);
204
+ r = ge(r, i);
205
205
  const s = U(r, _(n, {
206
206
  minimumFractionDigits: (t == null ? void 0 : t.minimumFractionDigits) ?? 0,
207
207
  maximumFractionDigits: (t == null ? void 0 : t.maximumFractionDigits) ?? 2,
@@ -214,7 +214,7 @@ function qe(e, t) {
214
214
  maximumFractionDigits: (t == null ? void 0 : t.maximumFractionDigits) ?? 2,
215
215
  useGrouping: (t == null ? void 0 : t.useGrouping) ?? !0
216
216
  }));
217
- if (t != null && t.negativeInParentheses && Q(r)) {
217
+ if (t != null && t.negativeInParentheses && ee(r)) {
218
218
  const i = a.replace("-", "");
219
219
  return `(${(t == null ? void 0 : t.prefix) ?? ""}${i}${(t == null ? void 0 : t.suffix) ?? ""})`;
220
220
  }
@@ -223,10 +223,10 @@ function qe(e, t) {
223
223
  function Bt(e, t) {
224
224
  if (e == null || Number.isNaN(e))
225
225
  return "";
226
- const n = R(t == null ? void 0 : t.locale), r = (t == null ? void 0 : t.currency) || "USD", a = Q(e), i = !!(t != null && t.negativeInParentheses && a), o = i ? Z(e) : e;
226
+ const n = W(t == null ? void 0 : t.locale), r = (t == null ? void 0 : t.currency) || "USD", a = ee(e), i = !!(t != null && t.negativeInParentheses && a), o = i ? V(e) : e;
227
227
  try {
228
228
  if (t != null && t.useSuffix) {
229
- const { power: c, suffix: u } = Re(o, n), l = de(o, c), m = `${U(l, _(n, {
229
+ const { power: c, suffix: u } = Re(o, n), l = ge(o, c), m = `${U(l, _(n, {
230
230
  style: "currency",
231
231
  currency: r,
232
232
  minimumFractionDigits: (t == null ? void 0 : t.minimumFractionDigits) ?? 0,
@@ -244,8 +244,8 @@ function Bt(e, t) {
244
244
  }));
245
245
  return i ? `(${s})` : s;
246
246
  } catch {
247
- const s = Z(e), c = t != null && t.useSuffix ? Re(s, n) : { power: 0, suffix: "" }, u = qe(
248
- de(s, c.power),
247
+ const s = V(e), c = t != null && t.useSuffix ? Re(s, n) : { power: 0, suffix: "" }, u = qe(
248
+ ge(s, c.power),
249
249
  {
250
250
  locale: n,
251
251
  minimumFractionDigits: (t == null ? void 0 : t.minimumFractionDigits) ?? 0,
@@ -259,7 +259,7 @@ function Bt(e, t) {
259
259
  function Xt(e, t) {
260
260
  if (e == null || Number.isNaN(e))
261
261
  return "";
262
- const n = R(t == null ? void 0 : t.locale), a = (t == null ? void 0 : t.alreadyPercent) ?? (t == null ? void 0 : t.percentValueMode) === "whole" ? de(e, 2) : e;
262
+ const n = W(t == null ? void 0 : t.locale), a = (t == null ? void 0 : t.alreadyPercent) ?? (t == null ? void 0 : t.percentValueMode) === "whole" ? ge(e, 2) : e;
263
263
  return U(a, _(n, {
264
264
  style: "percent",
265
265
  minimumFractionDigits: (t == null ? void 0 : t.minimumFractionDigits) ?? 0,
@@ -270,7 +270,7 @@ function Xt(e, t) {
270
270
  function Gt(e, t) {
271
271
  if (e == null || Number.isNaN(e))
272
272
  return "";
273
- const n = R(t == null ? void 0 : t.locale);
273
+ const n = W(t == null ? void 0 : t.locale);
274
274
  return U(e, _(n, {
275
275
  notation: "scientific",
276
276
  minimumFractionDigits: (t == null ? void 0 : t.minimumFractionDigits) ?? 0,
@@ -278,10 +278,10 @@ function Gt(e, t) {
278
278
  }));
279
279
  }
280
280
  function ur(e, t) {
281
- const n = t ?? "auto", r = n === "never" ? Z(e) : e, a = !Q(r) && (n === "always" || n === "exceptZero" && !sr(r));
281
+ const n = t ?? "auto", r = n === "never" ? V(e) : e, a = !ee(r) && (n === "always" || n === "exceptZero" && !sr(r));
282
282
  return { value: r, plus: a };
283
283
  }
284
- function Ds(e) {
284
+ function xs(e) {
285
285
  if (!e || !("signDisplay" in e)) return e;
286
286
  const { signDisplay: t, ...n } = e;
287
287
  return n;
@@ -289,7 +289,7 @@ function Ds(e) {
289
289
  function Ze(e, t) {
290
290
  if (e == null || Number.isNaN(e))
291
291
  return "";
292
- const n = t.scale === void 0 ? e : Kt(e, t.scale), r = ur(n, t.signDisplay), a = r.value, i = r.plus ? "+" : "", o = t.negativeStyle === "parentheses" && Q(a), s = o ? Z(a) : a, c = {
292
+ const n = t.scale === void 0 ? e : Kt(e, t.scale), r = ur(n, t.signDisplay), a = r.value, i = r.plus ? "+" : "", o = t.negativeStyle === "parentheses" && ee(a), s = o ? V(a) : a, c = {
293
293
  style: t.type === "number" ? "decimal" : t.type,
294
294
  locale: t.locale,
295
295
  currency: t.currency,
@@ -317,7 +317,7 @@ function Ze(e, t) {
317
317
  const l = `${t.prefix ?? ""}${i}${u}${t.suffix ?? ""}`;
318
318
  return o ? `(${l})` : l;
319
319
  }
320
- function xs(e, t) {
320
+ function bs(e, t) {
321
321
  return t.type === "duration" ? e == null ? "" : Zt(e, t) : Ze(e, t);
322
322
  }
323
323
  function lr(e, t, n = "en-US") {
@@ -330,7 +330,7 @@ function lr(e, t, n = "en-US") {
330
330
  suffix: t.suffix,
331
331
  negativeStyle: t.negativeStyle
332
332
  });
333
- const r = R((t == null ? void 0 : t.locale) || n), a = (t == null ? void 0 : t.style) || "decimal", i = a === "decimal" ? "number" : a;
333
+ const r = W((t == null ? void 0 : t.locale) || n), a = (t == null ? void 0 : t.style) || "decimal", i = a === "decimal" ? "number" : a;
334
334
  return i === "currency" && _(r, {
335
335
  style: "currency",
336
336
  currency: (t == null ? void 0 : t.currency) || "USD"
@@ -349,7 +349,7 @@ function lr(e, t, n = "en-US") {
349
349
  suffix: t == null ? void 0 : t.suffix
350
350
  });
351
351
  }
352
- function bs(e, t, n) {
352
+ function vs(e, t, n) {
353
353
  const r = {
354
354
  style: t === "currency" ? "currency" : t === "percent" ? "percent" : "decimal",
355
355
  locale: n == null ? void 0 : n.locale,
@@ -380,32 +380,32 @@ function p(e) {
380
380
  function N(e, t) {
381
381
  return e instanceof Date ? new e.constructor(t) : new Date(t);
382
382
  }
383
- const Qt = 6048e5, mr = 864e5, Jt = 6e4, en = 36e5, vs = 525600, re = 43200, ct = 1440;
383
+ const Qt = 6048e5, mr = 864e5, Jt = 6e4, en = 36e5, Ss = 525600, ie = 43200, ct = 1440;
384
384
  let fr = {};
385
- function L() {
385
+ function j() {
386
386
  return fr;
387
387
  }
388
- function K(e, t) {
388
+ function B(e, t) {
389
389
  var s, c, u, l;
390
- const n = L(), r = (t == null ? void 0 : t.weekStartsOn) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.weekStartsOn) ?? n.weekStartsOn ?? ((l = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : l.weekStartsOn) ?? 0, a = p(e), i = a.getDay(), o = (i < r ? 7 : 0) + i - r;
390
+ const n = j(), r = (t == null ? void 0 : t.weekStartsOn) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.weekStartsOn) ?? n.weekStartsOn ?? ((l = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : l.weekStartsOn) ?? 0, a = p(e), i = a.getDay(), o = (i < r ? 7 : 0) + i - r;
391
391
  return a.setDate(a.getDate() - o), a.setHours(0, 0, 0, 0), a;
392
392
  }
393
- function he(e) {
394
- return K(e, { weekStartsOn: 1 });
393
+ function ye(e) {
394
+ return B(e, { weekStartsOn: 1 });
395
395
  }
396
396
  function tn(e) {
397
397
  const t = p(e), n = t.getFullYear(), r = N(e, 0);
398
398
  r.setFullYear(n + 1, 0, 4), r.setHours(0, 0, 0, 0);
399
- const a = he(r), i = N(e, 0);
399
+ const a = ye(r), i = N(e, 0);
400
400
  i.setFullYear(n, 0, 4), i.setHours(0, 0, 0, 0);
401
- const o = he(i);
401
+ const o = ye(i);
402
402
  return t.getTime() >= a.getTime() ? n + 1 : t.getTime() >= o.getTime() ? n : n - 1;
403
403
  }
404
404
  function ut(e) {
405
405
  const t = p(e);
406
406
  return t.setHours(0, 0, 0, 0), t;
407
407
  }
408
- function ge(e) {
408
+ function pe(e) {
409
409
  const t = p(e), n = new Date(
410
410
  Date.UTC(
411
411
  t.getFullYear(),
@@ -420,14 +420,14 @@ function ge(e) {
420
420
  return n.setUTCFullYear(t.getFullYear()), +e - +n;
421
421
  }
422
422
  function dr(e, t) {
423
- const n = ut(e), r = ut(t), a = +n - ge(n), i = +r - ge(r);
423
+ const n = ut(e), r = ut(t), a = +n - pe(n), i = +r - pe(r);
424
424
  return Math.round((a - i) / mr);
425
425
  }
426
426
  function hr(e) {
427
427
  const t = tn(e), n = N(e, 0);
428
- return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0), he(n);
428
+ return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0), ye(n);
429
429
  }
430
- function se(e, t) {
430
+ function ue(e, t) {
431
431
  const n = p(e), r = p(t), a = n.getTime() - r.getTime();
432
432
  return a < 0 ? -1 : a > 0 ? 1 : a;
433
433
  }
@@ -469,7 +469,7 @@ function vr(e) {
469
469
  return +xr(t) == +br(t);
470
470
  }
471
471
  function Sr(e, t) {
472
- const n = p(e), r = p(t), a = se(n, r), i = Math.abs(
472
+ const n = p(e), r = p(t), a = ue(n, r), i = Math.abs(
473
473
  wr(n, r)
474
474
  );
475
475
  let o;
@@ -477,8 +477,8 @@ function Sr(e, t) {
477
477
  o = 0;
478
478
  else {
479
479
  n.getMonth() === 1 && n.getDate() > 27 && n.setDate(30), n.setMonth(n.getMonth() - a * i);
480
- let s = se(n, r) === -a;
481
- vr(p(e)) && i === 1 && se(e, r) === 1 && (s = !1), o = a * (i - Number(s));
480
+ let s = ue(n, r) === -a;
481
+ vr(p(e)) && i === 1 && ue(e, r) === 1 && (s = !1), o = a * (i - Number(s));
482
482
  }
483
483
  return o === 0 ? 0 : o;
484
484
  }
@@ -568,12 +568,12 @@ const $r = {
568
568
  long: "MMMM do, y",
569
569
  medium: "MMM d, y",
570
570
  short: "MM/dd/yyyy"
571
- }, Or = {
571
+ }, Fr = {
572
572
  full: "h:mm:ss a zzzz",
573
573
  long: "h:mm:ss a z",
574
574
  medium: "h:mm:ss a",
575
575
  short: "h:mm a"
576
- }, Fr = {
576
+ }, Or = {
577
577
  full: "{{date}} 'at' {{time}}",
578
578
  long: "{{date}} 'at' {{time}}",
579
579
  medium: "{{date}}, {{time}}",
@@ -584,11 +584,11 @@ const $r = {
584
584
  defaultWidth: "full"
585
585
  }),
586
586
  time: ke({
587
- formats: Or,
587
+ formats: Fr,
588
588
  defaultWidth: "full"
589
589
  }),
590
590
  dateTime: ke({
591
- formats: Fr,
591
+ formats: Or,
592
592
  defaultWidth: "full"
593
593
  })
594
594
  }, Er = {
@@ -599,7 +599,7 @@ const $r = {
599
599
  nextWeek: "eeee 'at' p",
600
600
  other: "P"
601
601
  }, Cr = (e, t, n, r) => Er[e];
602
- function W(e) {
602
+ function H(e) {
603
603
  return (t, n) => {
604
604
  const r = n != null && n.context ? String(n.context) : "standalone";
605
605
  let a;
@@ -741,31 +741,31 @@ const Pr = {
741
741
  return n + "th";
742
742
  }, Wr = {
743
743
  ordinalNumber: Lr,
744
- era: W({
744
+ era: H({
745
745
  values: Pr,
746
746
  defaultWidth: "wide"
747
747
  }),
748
- quarter: W({
748
+ quarter: H({
749
749
  values: Yr,
750
750
  defaultWidth: "wide",
751
751
  argumentCallback: (e) => e - 1
752
752
  }),
753
- month: W({
753
+ month: H({
754
754
  values: zr,
755
755
  defaultWidth: "wide"
756
756
  }),
757
- day: W({
757
+ day: H({
758
758
  values: Ur,
759
759
  defaultWidth: "wide"
760
760
  }),
761
- dayPeriod: W({
761
+ dayPeriod: H({
762
762
  values: Ar,
763
763
  defaultWidth: "wide",
764
764
  formattingValues: Rr,
765
765
  defaultFormattingWidth: "wide"
766
766
  })
767
767
  };
768
- function j(e) {
768
+ function q(e) {
769
769
  return (t, n = {}) => {
770
770
  const r = n.width, a = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], i = t.match(a);
771
771
  if (!i)
@@ -878,32 +878,32 @@ const Zr = /^(\d+)(th|st|nd|rd)?/i, Kr = /\d+/i, Vr = {
878
878
  parsePattern: Kr,
879
879
  valueCallback: (e) => parseInt(e, 10)
880
880
  }),
881
- era: j({
881
+ era: q({
882
882
  matchPatterns: Vr,
883
883
  defaultMatchWidth: "wide",
884
884
  parsePatterns: Br,
885
885
  defaultParseWidth: "any"
886
886
  }),
887
- quarter: j({
887
+ quarter: q({
888
888
  matchPatterns: Xr,
889
889
  defaultMatchWidth: "wide",
890
890
  parsePatterns: Gr,
891
891
  defaultParseWidth: "any",
892
892
  valueCallback: (e) => e + 1
893
893
  }),
894
- month: j({
894
+ month: q({
895
895
  matchPatterns: Qr,
896
896
  defaultMatchWidth: "wide",
897
897
  parsePatterns: Jr,
898
898
  defaultParseWidth: "any"
899
899
  }),
900
- day: j({
900
+ day: q({
901
901
  matchPatterns: ea,
902
902
  defaultMatchWidth: "wide",
903
903
  parsePatterns: ta,
904
904
  defaultParseWidth: "any"
905
905
  }),
906
- dayPeriod: j({
906
+ dayPeriod: q({
907
907
  matchPatterns: na,
908
908
  defaultMatchWidth: "any",
909
909
  parsePatterns: ra,
@@ -926,25 +926,25 @@ function ia(e) {
926
926
  return dr(t, kr(t)) + 1;
927
927
  }
928
928
  function oa(e) {
929
- const t = p(e), n = +he(t) - +hr(t);
929
+ const t = p(e), n = +ye(t) - +hr(t);
930
930
  return Math.round(n / Qt) + 1;
931
931
  }
932
932
  function rn(e, t) {
933
933
  var l, f, m, h;
934
- const n = p(e), r = n.getFullYear(), a = L(), i = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (l = t == null ? void 0 : t.locale) == null ? void 0 : l.options) == null ? void 0 : f.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((h = (m = a.locale) == null ? void 0 : m.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, o = N(e, 0);
934
+ const n = p(e), r = n.getFullYear(), a = j(), i = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (l = t == null ? void 0 : t.locale) == null ? void 0 : l.options) == null ? void 0 : f.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((h = (m = a.locale) == null ? void 0 : m.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, o = N(e, 0);
935
935
  o.setFullYear(r + 1, 0, i), o.setHours(0, 0, 0, 0);
936
- const s = K(o, t), c = N(e, 0);
936
+ const s = B(o, t), c = N(e, 0);
937
937
  c.setFullYear(r, 0, i), c.setHours(0, 0, 0, 0);
938
- const u = K(c, t);
938
+ const u = B(c, t);
939
939
  return n.getTime() >= s.getTime() ? r + 1 : n.getTime() >= u.getTime() ? r : r - 1;
940
940
  }
941
941
  function sa(e, t) {
942
942
  var s, c, u, l;
943
- const n = L(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((l = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : l.firstWeekContainsDate) ?? 1, a = rn(e, t), i = N(e, 0);
944
- return i.setFullYear(a, 0, r), i.setHours(0, 0, 0, 0), K(i, t);
943
+ const n = j(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((l = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : l.firstWeekContainsDate) ?? 1, a = rn(e, t), i = N(e, 0);
944
+ return i.setFullYear(a, 0, r), i.setHours(0, 0, 0, 0), B(i, t);
945
945
  }
946
946
  function ca(e, t) {
947
- const n = p(e), r = +K(n, t) - +sa(n, t);
947
+ const n = p(e), r = +B(n, t) - +sa(n, t);
948
948
  return Math.round(r / Qt) + 1;
949
949
  }
950
950
  function y(e, t) {
@@ -1441,11 +1441,11 @@ const k = {
1441
1441
  return ft(r);
1442
1442
  case "XXXX":
1443
1443
  case "XX":
1444
- return F(r);
1444
+ return O(r);
1445
1445
  case "XXXXX":
1446
1446
  case "XXX":
1447
1447
  default:
1448
- return F(r, ":");
1448
+ return O(r, ":");
1449
1449
  }
1450
1450
  },
1451
1451
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -1456,11 +1456,11 @@ const k = {
1456
1456
  return ft(r);
1457
1457
  case "xxxx":
1458
1458
  case "xx":
1459
- return F(r);
1459
+ return O(r);
1460
1460
  case "xxxxx":
1461
1461
  case "xxx":
1462
1462
  default:
1463
- return F(r, ":");
1463
+ return O(r, ":");
1464
1464
  }
1465
1465
  },
1466
1466
  // Timezone (GMT)
@@ -1473,7 +1473,7 @@ const k = {
1473
1473
  return "GMT" + mt(r, ":");
1474
1474
  case "OOOO":
1475
1475
  default:
1476
- return "GMT" + F(r, ":");
1476
+ return "GMT" + O(r, ":");
1477
1477
  }
1478
1478
  },
1479
1479
  // Timezone (specific non-location)
@@ -1486,7 +1486,7 @@ const k = {
1486
1486
  return "GMT" + mt(r, ":");
1487
1487
  case "zzzz":
1488
1488
  default:
1489
- return "GMT" + F(r, ":");
1489
+ return "GMT" + O(r, ":");
1490
1490
  }
1491
1491
  },
1492
1492
  // Seconds timestamp
@@ -1505,9 +1505,9 @@ function mt(e, t = "") {
1505
1505
  return i === 0 ? n + String(a) : n + String(a) + t + y(i, 2);
1506
1506
  }
1507
1507
  function ft(e, t) {
1508
- return e % 60 === 0 ? (e > 0 ? "-" : "+") + y(Math.abs(e) / 60, 2) : F(e, t);
1508
+ return e % 60 === 0 ? (e > 0 ? "-" : "+") + y(Math.abs(e) / 60, 2) : O(e, t);
1509
1509
  }
1510
- function F(e, t = "") {
1510
+ function O(e, t = "") {
1511
1511
  const n = e > 0 ? "-" : "+", r = Math.abs(e), a = y(Math.trunc(r / 60), 2), i = y(r % 60, 2);
1512
1512
  return n + a + t + i;
1513
1513
  }
@@ -1577,7 +1577,7 @@ function pa(e, t, n) {
1577
1577
  const wa = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ta = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Da = /^'([^]*?)'?$/, xa = /''/g, ba = /[a-zA-Z]/;
1578
1578
  function Ke(e, t, n) {
1579
1579
  var l, f, m, h, d, S, et, tt;
1580
- const r = L(), a = (n == null ? void 0 : n.locale) ?? r.locale ?? nn, i = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((f = (l = n == null ? void 0 : n.locale) == null ? void 0 : l.options) == null ? void 0 : f.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((h = (m = r.locale) == null ? void 0 : m.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, o = (n == null ? void 0 : n.weekStartsOn) ?? ((S = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : S.weekStartsOn) ?? r.weekStartsOn ?? ((tt = (et = r.locale) == null ? void 0 : et.options) == null ? void 0 : tt.weekStartsOn) ?? 0, s = p(e);
1580
+ const r = j(), a = (n == null ? void 0 : n.locale) ?? r.locale ?? nn, i = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((f = (l = n == null ? void 0 : n.locale) == null ? void 0 : l.options) == null ? void 0 : f.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((h = (m = r.locale) == null ? void 0 : m.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, o = (n == null ? void 0 : n.weekStartsOn) ?? ((S = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : S.weekStartsOn) ?? r.weekStartsOn ?? ((tt = (et = r.locale) == null ? void 0 : et.options) == null ? void 0 : tt.weekStartsOn) ?? 0, s = p(e);
1581
1581
  if (!pr(s))
1582
1582
  throw new RangeError("Invalid time value");
1583
1583
  let c = t.match(Ta).map((v) => {
@@ -1620,7 +1620,7 @@ function va(e) {
1620
1620
  return t ? t[1].replace(xa, "'") : e;
1621
1621
  }
1622
1622
  function Sa(e, t, n) {
1623
- const r = L(), a = (n == null ? void 0 : n.locale) ?? r.locale ?? nn, i = 2520, o = se(e, t);
1623
+ const r = j(), a = (n == null ? void 0 : n.locale) ?? r.locale ?? nn, i = 2520, o = ue(e, t);
1624
1624
  if (isNaN(o))
1625
1625
  throw new RangeError("Invalid time value");
1626
1626
  const s = Object.assign({}, n, {
@@ -1629,7 +1629,7 @@ function Sa(e, t, n) {
1629
1629
  });
1630
1630
  let c, u;
1631
1631
  o > 0 ? (c = p(t), u = p(e)) : (c = p(e), u = p(t));
1632
- const l = Mr(u, c), f = (ge(u) - ge(c)) / 1e3, m = Math.round((l - f) / 60);
1632
+ const l = Mr(u, c), f = (pe(u) - pe(c)) / 1e3, m = Math.round((l - f) / 60);
1633
1633
  let h;
1634
1634
  if (m < 2)
1635
1635
  return n != null && n.includeSeconds ? l < 5 ? a.formatDistance("lessThanXSeconds", 5, s) : l < 10 ? a.formatDistance("lessThanXSeconds", 10, s) : l < 20 ? a.formatDistance("lessThanXSeconds", 20, s) : l < 40 ? a.formatDistance("halfAMinute", 0, s) : l < 60 ? a.formatDistance("lessThanXMinutes", 1, s) : a.formatDistance("xMinutes", 1, s) : m === 0 ? a.formatDistance("lessThanXMinutes", 1, s) : a.formatDistance("xMinutes", m, s);
@@ -1643,14 +1643,14 @@ function Sa(e, t, n) {
1643
1643
  } else {
1644
1644
  if (m < i)
1645
1645
  return a.formatDistance("xDays", 1, s);
1646
- if (m < re) {
1646
+ if (m < ie) {
1647
1647
  const d = Math.round(m / ct);
1648
1648
  return a.formatDistance("xDays", d, s);
1649
- } else if (m < re * 2)
1650
- return h = Math.round(m / re), a.formatDistance("aboutXMonths", h, s);
1649
+ } else if (m < ie * 2)
1650
+ return h = Math.round(m / ie), a.formatDistance("aboutXMonths", h, s);
1651
1651
  }
1652
1652
  if (h = Sr(u, c), h < 12) {
1653
- const d = Math.round(m / re);
1653
+ const d = Math.round(m / ie);
1654
1654
  return a.formatDistance("xMonths", d, s);
1655
1655
  } else {
1656
1656
  const d = h % 12, S = Math.trunc(h / 12);
@@ -1661,13 +1661,13 @@ function Ma(e, t) {
1661
1661
  return Sa(e, gr(e), t);
1662
1662
  }
1663
1663
  function ka() {
1664
- return Object.assign({}, L());
1664
+ return Object.assign({}, j());
1665
1665
  }
1666
- function Ss(e, t) {
1667
- const r = Oa(e);
1666
+ function Ms(e, t) {
1667
+ const r = Fa(e);
1668
1668
  let a;
1669
1669
  if (r.date) {
1670
- const c = Fa(r.date, 2);
1670
+ const c = Oa(r.date, 2);
1671
1671
  a = Ia(c.restDateString, c.year);
1672
1672
  }
1673
1673
  if (!a || isNaN(a.getTime()))
@@ -1694,26 +1694,26 @@ function Ss(e, t) {
1694
1694
  }
1695
1695
  return new Date(i + o + s);
1696
1696
  }
1697
- const ae = {
1697
+ const oe = {
1698
1698
  dateTimeDelimiter: /[T ]/,
1699
1699
  timeZoneDelimiter: /[Z ]/i,
1700
1700
  timezone: /([Z+-].*)$/
1701
1701
  }, _a = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, Na = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, $a = /^([+-])(\d{2})(?::?(\d{2}))?$/;
1702
- function Oa(e) {
1703
- const t = {}, n = e.split(ae.dateTimeDelimiter);
1702
+ function Fa(e) {
1703
+ const t = {}, n = e.split(oe.dateTimeDelimiter);
1704
1704
  let r;
1705
1705
  if (n.length > 2)
1706
1706
  return t;
1707
- if (/:/.test(n[0]) ? r = n[0] : (t.date = n[0], r = n[1], ae.timeZoneDelimiter.test(t.date) && (t.date = e.split(ae.timeZoneDelimiter)[0], r = e.substr(
1707
+ if (/:/.test(n[0]) ? r = n[0] : (t.date = n[0], r = n[1], oe.timeZoneDelimiter.test(t.date) && (t.date = e.split(oe.timeZoneDelimiter)[0], r = e.substr(
1708
1708
  t.date.length,
1709
1709
  e.length
1710
1710
  ))), r) {
1711
- const a = ae.timezone.exec(r);
1711
+ const a = oe.timezone.exec(r);
1712
1712
  a ? (t.time = r.replace(a[1], ""), t.timezone = a[1]) : t.time = r;
1713
1713
  }
1714
1714
  return t;
1715
1715
  }
1716
- function Fa(e, t) {
1716
+ function Oa(e, t) {
1717
1717
  const n = new RegExp(
1718
1718
  "^(?:(\\d{4}|[+-]\\d{" + (4 + t) + "})|(\\d{2}|[+-]\\d{" + (2 + t) + "})$)"
1719
1719
  ), r = e.match(n);
@@ -1728,7 +1728,7 @@ function Ia(e, t) {
1728
1728
  if (t === null) return /* @__PURE__ */ new Date(NaN);
1729
1729
  const n = e.match(_a);
1730
1730
  if (!n) return /* @__PURE__ */ new Date(NaN);
1731
- const r = !!n[4], a = H(n[1]), i = H(n[2]) - 1, o = H(n[3]), s = H(n[4]), c = H(n[5]) - 1;
1731
+ const r = !!n[4], a = Z(n[1]), i = Z(n[2]) - 1, o = Z(n[3]), s = Z(n[4]), c = Z(n[5]) - 1;
1732
1732
  if (r)
1733
1733
  return Aa(t, s, c) ? Pa(t, s, c) : /* @__PURE__ */ new Date(NaN);
1734
1734
  {
@@ -1736,7 +1736,7 @@ function Ia(e, t) {
1736
1736
  return !za(t, i, o) || !Ua(t, a) ? /* @__PURE__ */ new Date(NaN) : (u.setUTCFullYear(t, i, Math.max(a, o)), u);
1737
1737
  }
1738
1738
  }
1739
- function H(e) {
1739
+ function Z(e) {
1740
1740
  return e ? parseInt(e) : 1;
1741
1741
  }
1742
1742
  function Ea(e) {
@@ -1877,7 +1877,7 @@ const yt = 36e5, Ga = 6e4, $e = {
1877
1877
  timezoneHH: /^([+-]\d{2})$/,
1878
1878
  timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
1879
1879
  };
1880
- function xe(e, t, n) {
1880
+ function ve(e, t, n) {
1881
1881
  if (!e)
1882
1882
  return 0;
1883
1883
  let r = $e.timezoneZ.exec(e);
@@ -1932,7 +1932,7 @@ function ei(e) {
1932
1932
  const ti = 60 * 1e3, ni = {
1933
1933
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
1934
1934
  X: function(e, t, n) {
1935
- const r = Oe(n.timeZone, e);
1935
+ const r = Fe(n.timeZone, e);
1936
1936
  if (r === 0)
1937
1937
  return "Z";
1938
1938
  switch (t) {
@@ -1949,7 +1949,7 @@ const ti = 60 * 1e3, ni = {
1949
1949
  },
1950
1950
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
1951
1951
  x: function(e, t, n) {
1952
- const r = Oe(n.timeZone, e);
1952
+ const r = Fe(n.timeZone, e);
1953
1953
  switch (t) {
1954
1954
  case "x":
1955
1955
  return Tt(r);
@@ -1964,7 +1964,7 @@ const ti = 60 * 1e3, ni = {
1964
1964
  },
1965
1965
  // Timezone (GMT)
1966
1966
  O: function(e, t, n) {
1967
- const r = Oe(n.timeZone, e);
1967
+ const r = Fe(n.timeZone, e);
1968
1968
  switch (t) {
1969
1969
  case "O":
1970
1970
  case "OO":
@@ -1988,13 +1988,13 @@ const ti = 60 * 1e3, ni = {
1988
1988
  }
1989
1989
  }
1990
1990
  };
1991
- function Oe(e, t) {
1992
- const n = e ? xe(e, t, !0) / ti : (t == null ? void 0 : t.getTimezoneOffset()) ?? 0;
1991
+ function Fe(e, t) {
1992
+ const n = e ? ve(e, t, !0) / ti : (t == null ? void 0 : t.getTimezoneOffset()) ?? 0;
1993
1993
  if (Number.isNaN(n))
1994
1994
  throw new RangeError("Invalid time zone specified: " + e);
1995
1995
  return n;
1996
1996
  }
1997
- function ye(e, t) {
1997
+ function we(e, t) {
1998
1998
  const n = e < 0 ? "-" : "";
1999
1999
  let r = Math.abs(e).toString();
2000
2000
  for (; r.length < t; )
@@ -2002,21 +2002,21 @@ function ye(e, t) {
2002
2002
  return n + r;
2003
2003
  }
2004
2004
  function C(e, t = "") {
2005
- const n = e > 0 ? "-" : "+", r = Math.abs(e), a = ye(Math.floor(r / 60), 2), i = ye(Math.floor(r % 60), 2);
2005
+ const n = e > 0 ? "-" : "+", r = Math.abs(e), a = we(Math.floor(r / 60), 2), i = we(Math.floor(r % 60), 2);
2006
2006
  return n + a + t + i;
2007
2007
  }
2008
2008
  function Tt(e, t) {
2009
- return e % 60 === 0 ? (e > 0 ? "-" : "+") + ye(Math.abs(e) / 60, 2) : C(e, t);
2009
+ return e % 60 === 0 ? (e > 0 ? "-" : "+") + we(Math.abs(e) / 60, 2) : C(e, t);
2010
2010
  }
2011
2011
  function ri(e, t = "") {
2012
2012
  const n = e > 0 ? "-" : "+", r = Math.abs(e), a = Math.floor(r / 60), i = r % 60;
2013
- return i === 0 ? n + String(a) : n + String(a) + t + ye(i, 2);
2013
+ return i === 0 ? n + String(a) : n + String(a) + t + we(i, 2);
2014
2014
  }
2015
2015
  function Dt(e) {
2016
2016
  const t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
2017
2017
  return t.setUTCFullYear(e.getFullYear()), +e - +t;
2018
2018
  }
2019
- const sn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, Fe = 36e5, xt = 6e4, ai = 2, x = {
2019
+ const sn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, Oe = 36e5, xt = 6e4, ai = 2, x = {
2020
2020
  dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
2021
2021
  datePattern: /^([0-9W+-]+)(.*)/,
2022
2022
  // year tokens
@@ -2050,7 +2050,7 @@ const sn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)
2050
2050
  // time zone tokens (to identify the presence of a tz)
2051
2051
  timeZone: sn
2052
2052
  };
2053
- function pe(e, t = {}) {
2053
+ function Te(e, t = {}) {
2054
2054
  if (arguments.length < 1)
2055
2055
  throw new TypeError("1 argument required, but only " + arguments.length + " present");
2056
2056
  if (e === null)
@@ -2073,7 +2073,7 @@ function pe(e, t = {}) {
2073
2073
  if (r.time && (c = ci(r.time), c === null || isNaN(c)))
2074
2074
  return /* @__PURE__ */ new Date(NaN);
2075
2075
  if (r.timeZone || t.timeZone) {
2076
- if (u = xe(r.timeZone || t.timeZone, new Date(s + c)), isNaN(u))
2076
+ if (u = ve(r.timeZone || t.timeZone, new Date(s + c)), isNaN(u))
2077
2077
  return /* @__PURE__ */ new Date(NaN);
2078
2078
  } else
2079
2079
  u = Dt(new Date(s + c)), u = Dt(new Date(s + c + u));
@@ -2144,13 +2144,13 @@ function si(e, t) {
2144
2144
  function ci(e) {
2145
2145
  let t, n, r = x.HH.exec(e);
2146
2146
  if (r)
2147
- return t = parseFloat(r[1].replace(",", ".")), Ie(t) ? t % 24 * Fe : NaN;
2147
+ return t = parseFloat(r[1].replace(",", ".")), Ie(t) ? t % 24 * Oe : NaN;
2148
2148
  if (r = x.HHMM.exec(e), r)
2149
- return t = parseInt(r[1], 10), n = parseFloat(r[2].replace(",", ".")), Ie(t, n) ? t % 24 * Fe + n * xt : NaN;
2149
+ return t = parseInt(r[1], 10), n = parseFloat(r[2].replace(",", ".")), Ie(t, n) ? t % 24 * Oe + n * xt : NaN;
2150
2150
  if (r = x.HHMMSS.exec(e), r) {
2151
2151
  t = parseInt(r[1], 10), n = parseInt(r[2], 10);
2152
2152
  const a = parseFloat(r[3].replace(",", "."));
2153
- return Ie(t, n, a) ? t % 24 * Fe + n * xt + a * 1e3 : NaN;
2153
+ return Ie(t, n, a) ? t % 24 * Oe + n * xt + a * 1e3 : NaN;
2154
2154
  }
2155
2155
  return null;
2156
2156
  }
@@ -2194,7 +2194,7 @@ function di(e, t, n = {}) {
2194
2194
  t = String(t);
2195
2195
  const r = t.match(fi);
2196
2196
  if (r) {
2197
- const a = pe(n.originalDate || e, n);
2197
+ const a = Te(n.originalDate || e, n);
2198
2198
  t = r.reduce(function(i, o) {
2199
2199
  if (o[0] === "'")
2200
2200
  return i;
@@ -2205,8 +2205,8 @@ function di(e, t, n = {}) {
2205
2205
  return Ke(e, t, n);
2206
2206
  }
2207
2207
  function hi(e, t, n) {
2208
- e = pe(e, n);
2209
- const r = xe(t, e, !0), a = new Date(e.getTime() - r), i = /* @__PURE__ */ new Date(0);
2208
+ e = Te(e, n);
2209
+ const r = ve(t, e, !0), a = new Date(e.getTime() - r), i = /* @__PURE__ */ new Date(0);
2210
2210
  return i.setFullYear(a.getUTCFullYear(), a.getUTCMonth(), a.getUTCDate()), i.setHours(a.getUTCHours(), a.getUTCMinutes(), a.getUTCSeconds(), a.getUTCMilliseconds()), i;
2211
2211
  }
2212
2212
  function un(e, t, n, r) {
@@ -2216,17 +2216,17 @@ function un(e, t, n, r) {
2216
2216
  originalDate: e
2217
2217
  }, di(hi(e, t, { timeZone: r.timeZone }), n, r);
2218
2218
  }
2219
- function J(e, t, n) {
2219
+ function te(e, t, n) {
2220
2220
  if (typeof e == "string" && !e.match(sn))
2221
- return pe(e, { ...n, timeZone: t });
2222
- e = pe(e, n);
2223
- const r = Ve(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()).getTime(), a = xe(t, new Date(r));
2221
+ return Te(e, { ...n, timeZone: t });
2222
+ e = Te(e, n);
2223
+ const r = Ve(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()).getTime(), a = ve(t, new Date(r));
2224
2224
  return new Date(r + a);
2225
2225
  }
2226
- function Ms(e, t) {
2226
+ function ks(e, t) {
2227
2227
  return e && e !== "auto" ? e : t;
2228
2228
  }
2229
- function ks(e, t = /* @__PURE__ */ new Date()) {
2229
+ function _s(e, t = /* @__PURE__ */ new Date()) {
2230
2230
  try {
2231
2231
  const n = {
2232
2232
  timeZone: e,
@@ -2237,7 +2237,7 @@ function ks(e, t = /* @__PURE__ */ new Date()) {
2237
2237
  return e;
2238
2238
  }
2239
2239
  }
2240
- function _s(e) {
2240
+ function Ns(e) {
2241
2241
  try {
2242
2242
  const t = {
2243
2243
  timeZone: e,
@@ -2262,7 +2262,7 @@ function Be(e, t = "auto") {
2262
2262
  return new Date(i);
2263
2263
  }
2264
2264
  return new Date(e);
2265
- } else return t === "UTC" ? n ? new Date(e) : r ? new Date(e) : /* @__PURE__ */ new Date(e + "Z") : n || r || a ? new Date(e) : J(e, t);
2265
+ } else return t === "UTC" ? n ? new Date(e) : r ? new Date(e) : /* @__PURE__ */ new Date(e + "Z") : n || r || a ? new Date(e) : te(e, t);
2266
2266
  }
2267
2267
  const gi = "MM/dd/yyyy", yi = (e, t, n, r = "auto") => {
2268
2268
  if (!e)
@@ -2277,7 +2277,7 @@ const gi = "MM/dd/yyyy", yi = (e, t, n, r = "auto") => {
2277
2277
  return console.error("Date formatting error:", a), e;
2278
2278
  }
2279
2279
  };
2280
- function Ns(e, t, n = "auto") {
2280
+ function $s(e, t, n = "auto") {
2281
2281
  if (e)
2282
2282
  try {
2283
2283
  const r = Be(e, n);
@@ -2347,7 +2347,7 @@ function ln(e, t, n) {
2347
2347
  return String(a);
2348
2348
  }
2349
2349
  }
2350
- function $s(e, t) {
2350
+ function Fs(e, t) {
2351
2351
  return t.visibleColumns.map((n) => {
2352
2352
  const r = e[n], a = t.columnSettings[n];
2353
2353
  return ln(r, a, {
@@ -2357,22 +2357,22 @@ function $s(e, t) {
2357
2357
  });
2358
2358
  });
2359
2359
  }
2360
- const Ti = 5 * 1024 * 1024, Os = 64 * 1024 * 1024, we = w.number().int().positive().max(Number.MAX_SAFE_INTEGER), ce = w.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER), Te = ce.refine((e) => e > 0), Di = (e) => !!e && e !== "." && e !== ".." && !e.includes("/") && !e.includes("\\");
2360
+ const Ti = 5 * 1024 * 1024, Os = 64 * 1024 * 1024, De = w.number().int().positive().max(Number.MAX_SAFE_INTEGER), le = w.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER), xe = le.refine((e) => e > 0), Di = (e) => !!e && e !== "." && e !== ".." && !e.includes("/") && !e.includes("\\");
2361
2361
  function P(e, t) {
2362
2362
  const n = t.split("/");
2363
2363
  if (n.length !== 5 || n[0] !== "exports" || n[1] !== e || n[2] !== "attempts" || !n.every(Di))
2364
2364
  throw new Error("Invalid Matrix export artifact namespace.");
2365
2365
  return { attemptId: n[3], filename: n[4] };
2366
2366
  }
2367
- function Fs(e, t, n) {
2367
+ function Is(e, t, n) {
2368
2368
  const r = `exports/${e}/attempts/${t}/${n}`;
2369
2369
  return P(e, r), r;
2370
2370
  }
2371
- const Is = w.object({
2371
+ const Es = w.object({
2372
2372
  acquisition: w.literal("continuation"),
2373
2373
  jobId: w.string().min(1),
2374
- sequence: Te,
2375
- deadlineAt: we
2374
+ sequence: xe,
2375
+ deadlineAt: De
2376
2376
  }), xi = [
2377
2377
  "application/json",
2378
2378
  ...Rt.map((e) => Lt(e).partContentType)
@@ -2383,15 +2383,15 @@ const Is = w.object({
2383
2383
  encoding: w.literal("gzip-base64").optional()
2384
2384
  // Transport-only compression: JSON (layout, sheet layout) and Excel rows. CSV travels as it always has.
2385
2385
  }).refine((e) => !e.encoding || e.contentType === "application/json" || e.contentType === Lt("xlsx").partContentType, "Unsupported Matrix artifact encoding."), vi = w.discriminatedUnion("kind", [
2386
- w.object({ kind: w.literal("work"), sequence: Te, checkpointKey: w.string(), objects: w.array(bi).min(2).max(4), deadlineAt: we }),
2387
- w.object({ kind: w.literal("committed"), sequence: Te, done: w.boolean(), deadlineAt: we })
2386
+ w.object({ kind: w.literal("work"), sequence: xe, checkpointKey: w.string(), objects: w.array(bi).min(2).max(4), deadlineAt: De }),
2387
+ w.object({ kind: w.literal("committed"), sequence: xe, done: w.boolean(), deadlineAt: De })
2388
2388
  ]);
2389
2389
  function Si(e) {
2390
2390
  const t = JSON.stringify(e);
2391
2391
  if (t === void 0 || new TextEncoder().encode(t).byteLength > Ti)
2392
2392
  throw new RangeError("Matrix export batch exceeds its transport byte limit.");
2393
2393
  }
2394
- function Es(e, t) {
2394
+ function Cs(e, t) {
2395
2395
  const n = vi.parse(e);
2396
2396
  if (Si(e), n.deadlineAt !== t.deadlineAt) throw new Error("Matrix deadline does not match the job.");
2397
2397
  if (n.sequence !== t.sequence + (n.kind === "committed" ? 1 : 0))
@@ -2405,18 +2405,18 @@ function Es(e, t) {
2405
2405
  }
2406
2406
  const Mi = w.object({
2407
2407
  acquisition: w.literal("continuation"),
2408
- deadlineAt: we,
2409
- chunks: w.array(w.object({ chunkNumber: Te, dataKey: w.string() })).min(1),
2410
- totalRows: ce,
2411
- totalBytes: ce,
2408
+ deadlineAt: De,
2409
+ chunks: w.array(w.object({ chunkNumber: xe, dataKey: w.string() })).min(1),
2410
+ totalRows: le,
2411
+ totalBytes: le,
2412
2412
  fileKey: w.string().min(1).optional(),
2413
- fileSize: ce.optional(),
2413
+ fileSize: le.optional(),
2414
2414
  /** The file the job writes; absent means CSV (manifests from before Excel). */
2415
2415
  format: w.enum(Rt).optional(),
2416
2416
  /** Excel only: the sheet layout the layout batch stored, which compaction wraps the rows in. */
2417
2417
  sheetKey: w.string().min(1).optional()
2418
2418
  }).refine((e) => e.fileKey === void 0 == (e.fileSize === void 0), "Incomplete published Matrix artifact.").refine((e) => e.format === "xlsx" == (e.sheetKey !== void 0), "An Excel Matrix manifest names its sheet layout, and only it does.");
2419
- function Cs(e, t, n) {
2419
+ function Ps(e, t, n) {
2420
2420
  const r = Mi.parse(e);
2421
2421
  if (r.deadlineAt !== n) throw new Error("Matrix deadline does not match the job.");
2422
2422
  return r.chunks.forEach((a, i) => {
@@ -2447,7 +2447,7 @@ function kt(e) {
2447
2447
  if (!(!t || t.toLowerCase() === "none"))
2448
2448
  return t;
2449
2449
  }
2450
- function ue(e) {
2450
+ function me(e) {
2451
2451
  if (!(typeof e != "number" || !Number.isFinite(e)))
2452
2452
  return Math.max(0, Math.min(10, Math.trunc(e)));
2453
2453
  }
@@ -2455,7 +2455,7 @@ function Ni(e) {
2455
2455
  return e === "currency" ? 2 : e === "percent" ? 1 : e === "scientific" ? 2 : 0;
2456
2456
  }
2457
2457
  function $i(e, t, n) {
2458
- const r = ue(t.minimumFractionDigits), a = ue(t.maximumFractionDigits);
2458
+ const r = me(t.minimumFractionDigits), a = me(t.maximumFractionDigits);
2459
2459
  if (typeof r == "number" || typeof a == "number") {
2460
2460
  const s = r ?? 0, c = a ?? Math.max(s, 2);
2461
2461
  return {
@@ -2463,7 +2463,7 @@ function $i(e, t, n) {
2463
2463
  maximumFractionDigits: Math.max(s, c)
2464
2464
  };
2465
2465
  }
2466
- const i = ue(t.decimals);
2466
+ const i = me(t.decimals);
2467
2467
  if (typeof i == "number")
2468
2468
  return {
2469
2469
  minimumFractionDigits: i,
@@ -2477,12 +2477,12 @@ function $i(e, t, n) {
2477
2477
  maximumFractionDigits: o
2478
2478
  };
2479
2479
  }
2480
- function Oi(e, t) {
2480
+ function Fi(e, t) {
2481
2481
  if (!(typeof t != "string" || e === "percent" && t === "%"))
2482
2482
  return t;
2483
2483
  }
2484
2484
  function _t(e) {
2485
- const t = kt(e.locale), n = kt(e.currency), r = Oi(e.type, e.suffix);
2485
+ const t = kt(e.locale), n = kt(e.currency), r = Fi(e.type, e.suffix);
2486
2486
  return {
2487
2487
  ...e,
2488
2488
  ...t !== e.locale ? { locale: t } : {},
@@ -2490,9 +2490,9 @@ function _t(e) {
2490
2490
  ...r !== e.suffix ? { suffix: r } : {}
2491
2491
  };
2492
2492
  }
2493
- function O(e, t, n) {
2493
+ function F(e, t, n) {
2494
2494
  const r = { ...t, type: e };
2495
- if ((n == null ? void 0 : n.numericInput) === "canonical" && G(r))
2495
+ if ((n == null ? void 0 : n.numericInput) === "canonical" && J(r))
2496
2496
  return _t(r);
2497
2497
  const a = $i(e, t, n), i = typeof t.prefix == "string" ? t.prefix : void 0, o = {
2498
2498
  type: e,
@@ -2528,7 +2528,7 @@ function Ee(e) {
2528
2528
  return e === "millisecond" || e === "second" || e === "minute" || e === "hour" || e === "day";
2529
2529
  }
2530
2530
  function $t(e) {
2531
- const t = ue(e.maxUnits);
2531
+ const t = me(e.maxUnits);
2532
2532
  return {
2533
2533
  type: "duration",
2534
2534
  inputUnit: Ee(e.inputUnit) ? e.inputUnit : "second",
@@ -2541,34 +2541,34 @@ function $t(e) {
2541
2541
  negativeStyle: e.negativeStyle || "minus"
2542
2542
  };
2543
2543
  }
2544
- function Ot(e) {
2544
+ function Ft(e) {
2545
2545
  return {
2546
2546
  type: "string",
2547
2547
  prefix: e.prefix,
2548
2548
  suffix: e.suffix
2549
2549
  };
2550
2550
  }
2551
- function Fi(e, t) {
2551
+ function Oi(e, t) {
2552
2552
  if (!e)
2553
2553
  return;
2554
2554
  if (typeof e == "string") {
2555
2555
  const r = e.trim().toLowerCase();
2556
- return r === "currency" ? O(
2556
+ return r === "currency" ? F(
2557
2557
  "currency",
2558
2558
  { type: "currency" },
2559
2559
  t
2560
- ) : r === "percentage" || r === "percent" ? O(
2560
+ ) : r === "percentage" || r === "percent" ? F(
2561
2561
  "percent",
2562
2562
  {
2563
2563
  type: "percentage",
2564
2564
  percentValueMode: "fraction"
2565
2565
  },
2566
2566
  t
2567
- ) : r === "scientific" ? O(
2567
+ ) : r === "scientific" ? F(
2568
2568
  "scientific",
2569
2569
  { type: "scientific" },
2570
2570
  t
2571
- ) : r === "date" ? Nt({}) : r === "duration" ? $t({}) : r === "string" ? Ot({}) : r === "number" ? O(
2571
+ ) : r === "date" ? Nt({}) : r === "duration" ? $t({}) : r === "string" ? Ft({}) : r === "number" ? F(
2572
2572
  "number",
2573
2573
  { type: "number" },
2574
2574
  t
@@ -2581,11 +2581,11 @@ function Fi(e, t) {
2581
2581
  const n = e;
2582
2582
  if ((t == null ? void 0 : t.numericInput) === "canonical") {
2583
2583
  const r = n.type === "percentage" ? { ...n, type: "percent" } : n;
2584
- if (G(r))
2585
- return O(r.type, r, t);
2584
+ if (J(r))
2585
+ return F(r.type, r, t);
2586
2586
  }
2587
2587
  if (n.type === "percentage")
2588
- return O(
2588
+ return F(
2589
2589
  "percent",
2590
2590
  {
2591
2591
  ...n,
@@ -2594,7 +2594,7 @@ function Fi(e, t) {
2594
2594
  t
2595
2595
  );
2596
2596
  if (n.type === "number" || n.type === "currency" || n.type === "percent" || n.type === "scientific") {
2597
- const r = O(
2597
+ const r = F(
2598
2598
  n.type,
2599
2599
  n,
2600
2600
  t
@@ -2606,7 +2606,7 @@ function Fi(e, t) {
2606
2606
  if (n.type === "duration")
2607
2607
  return $t(n);
2608
2608
  if (n.type === "string")
2609
- return Ot(n);
2609
+ return Ft(n);
2610
2610
  }
2611
2611
  const Ii = Object.freeze({ source: "automatic" });
2612
2612
  function Ei(e, t) {
@@ -2622,7 +2622,7 @@ function Ei(e, t) {
2622
2622
  return;
2623
2623
  }
2624
2624
  }
2625
- function Ft(e, t) {
2625
+ function Ot(e, t) {
2626
2626
  const n = e.config;
2627
2627
  if (n)
2628
2628
  return [
@@ -2633,8 +2633,8 @@ function Ft(e, t) {
2633
2633
  ].find((r) => r.id === t);
2634
2634
  }
2635
2635
  function Ci(e, t) {
2636
- if (t.kind === "field") return Ft(e, t.fieldId);
2637
- if (t.kind === "pivot") return Ft(e, t.metricId);
2636
+ if (t.kind === "field") return Ot(e, t.fieldId);
2637
+ if (t.kind === "pivot") return Ot(e, t.metricId);
2638
2638
  }
2639
2639
  function Pi(e, t, n) {
2640
2640
  var r, a, i, o, s, c, u, l, f;
@@ -2678,7 +2678,7 @@ function Ui(e, t) {
2678
2678
  return JSON.stringify(n(e)) === JSON.stringify(n(t));
2679
2679
  }
2680
2680
  const Ai = ["metricColumns", "groupByColumns", "detailColumns", "pivotByColumns"], It = /* @__PURE__ */ new WeakMap();
2681
- function Ps(e, t) {
2681
+ function Ys(e, t) {
2682
2682
  const n = t == null ? void 0 : t.modelFormats;
2683
2683
  if (!e || !n || Object.keys(n).length === 0) return e;
2684
2684
  let r = It.get(e);
@@ -2740,7 +2740,7 @@ function Wi(e) {
2740
2740
  path: "type",
2741
2741
  message: "Expected number, currency, percent, or scientific."
2742
2742
  });
2743
- const r = e.locale === void 0 ? void 0 : X(e.locale);
2743
+ const r = e.locale === void 0 ? void 0 : Q(e.locale);
2744
2744
  e.locale !== void 0 && !r && t.push({ path: "locale", message: "Expected a supported BCP 47 locale." });
2745
2745
  const a = e.currency === void 0 ? void 0 : Ue(e.currency);
2746
2746
  e.currency !== void 0 && !a && t.push({
@@ -2815,7 +2815,7 @@ function ji(e) {
2815
2815
  message: "Resolved currency formats require an explicit currency."
2816
2816
  }), n.length > 0 ? { ok: !1, issues: n } : t;
2817
2817
  }
2818
- function Ys(e) {
2818
+ function zs(e) {
2819
2819
  var r;
2820
2820
  const t = /* @__PURE__ */ new Set();
2821
2821
  if (e.snapshot.resolvedFormats.forEach((a, i) => {
@@ -2877,7 +2877,7 @@ function qi(e) {
2877
2877
  };
2878
2878
  }
2879
2879
  function Zi(e, t, n) {
2880
- const r = X(e.locale) ?? t.locale, a = e.type === "number" || e.type === "currency" ? Ue(n) : void 0;
2880
+ const r = Q(e.locale) ?? t.locale, a = e.type === "number" || e.type === "currency" ? Ue(n) : void 0;
2881
2881
  if (!(e.type === "currency" || a !== void 0))
2882
2882
  return {
2883
2883
  ...e,
@@ -2913,7 +2913,7 @@ const Ki = [
2913
2913
  "HH",
2914
2914
  "mm",
2915
2915
  "ss"
2916
- ], Vi = /* @__PURE__ */ new Set([" ", "-", "/", ":", ".", ",", "T"]), ie = [
2916
+ ], Vi = /* @__PURE__ */ new Set([" ", "-", "/", ":", ".", ",", "T"]), se = [
2917
2917
  "day",
2918
2918
  "week",
2919
2919
  "month",
@@ -2926,10 +2926,10 @@ const Ki = [
2926
2926
  quarter_long: ["quarter"],
2927
2927
  fiscal_quarter_short: ["quarter"],
2928
2928
  fiscal_year: ["year"],
2929
- short: ie,
2930
- long: ie,
2931
- numeric: ie,
2932
- iso: ie
2929
+ short: se,
2930
+ long: se,
2931
+ numeric: se,
2932
+ iso: se
2933
2933
  };
2934
2934
  function Bi(e) {
2935
2935
  return typeof e == "string" && Object.prototype.hasOwnProperty.call(mn, e);
@@ -2939,7 +2939,7 @@ function Xi(e, t) {
2939
2939
  (n) => e.startsWith(n, t)
2940
2940
  );
2941
2941
  }
2942
- function ee(e) {
2942
+ function ne(e) {
2943
2943
  var a;
2944
2944
  if (!e || e.trim() !== e)
2945
2945
  return {
@@ -2991,7 +2991,7 @@ function Gi(e) {
2991
2991
  function Et(e, t) {
2992
2992
  return e.filter((n) => t.includes(n)).length === 1;
2993
2993
  }
2994
- function oe(e, t) {
2994
+ function ce(e, t) {
2995
2995
  return e.some((n) => t.includes(n));
2996
2996
  }
2997
2997
  function Qi(e) {
@@ -2999,14 +2999,14 @@ function Qi(e) {
2999
2999
  }
3000
3000
  function Ji(e, t) {
3001
3001
  if (Qi(e)) return !1;
3002
- const n = ["YYYY", "YY"], r = ["MMMM", "MMM", "MM"], a = ["HH", "mm", "ss"], i = Et(e, n), o = Et(e, r), s = e.includes("DD"), c = oe(e, a);
3002
+ const n = ["YYYY", "YY"], r = ["MMMM", "MMM", "MM"], a = ["HH", "mm", "ss"], i = Et(e, n), o = Et(e, r), s = e.includes("DD"), c = ce(e, a);
3003
3003
  switch (t) {
3004
3004
  case "second":
3005
- return e.includes("HH") && e.includes("mm") && e.includes("ss") && (!oe(e, [...n, ...r, "DD"]) || i && o && s);
3005
+ return e.includes("HH") && e.includes("mm") && e.includes("ss") && (!ce(e, [...n, ...r, "DD"]) || i && o && s);
3006
3006
  case "minute":
3007
- return e.includes("HH") && e.includes("mm") && (!oe(e, [...n, ...r, "DD"]) || i && o && s);
3007
+ return e.includes("HH") && e.includes("mm") && (!ce(e, [...n, ...r, "DD"]) || i && o && s);
3008
3008
  case "hour":
3009
- return e.includes("HH") && (!oe(e, [...n, ...r, "DD"]) || i && o && s);
3009
+ return e.includes("HH") && (!ce(e, [...n, ...r, "DD"]) || i && o && s);
3010
3010
  case "day":
3011
3011
  case "week":
3012
3012
  return i && o && s && !c;
@@ -3029,7 +3029,7 @@ function fn(e, t) {
3029
3029
  message: `Preset ${e.presentation.preset} requires ${r.join(", ")} granularity.`
3030
3030
  };
3031
3031
  }
3032
- const n = ee(e.presentation.pattern);
3032
+ const n = ne(e.presentation.pattern);
3033
3033
  return n.ok ? Ji(
3034
3034
  Gi(n.segments),
3035
3035
  t
@@ -3039,7 +3039,7 @@ function fn(e, t) {
3039
3039
  message: `Pattern ${e.presentation.pattern} is not compatible with ${t} granularity.`
3040
3040
  } : n;
3041
3041
  }
3042
- function zs(e, t) {
3042
+ function Us(e, t) {
3043
3043
  if (!(!e || !t))
3044
3044
  return fn(e, t).ok ? e : void 0;
3045
3045
  }
@@ -3171,7 +3171,7 @@ function dn(e) {
3171
3171
  }
3172
3172
  function hn(e, t) {
3173
3173
  if (e === "semaphor_tokens") {
3174
- const n = ee(t);
3174
+ const n = ne(t);
3175
3175
  n.ok || g(n.message);
3176
3176
  return;
3177
3177
  }
@@ -3192,10 +3192,10 @@ function Ge(e) {
3192
3192
  const t = ["type", "locale", "calendarTimezone", "presentation"], n = [...t, "sourceTimezone"];
3193
3193
  if (!T(e) || !M(e, t) && !M(e, n) || e.type !== "raw_temporal")
3194
3194
  return g("Resolved raw temporal format has an invalid shape.");
3195
- const r = X(e.locale);
3196
- return r ? typeof e.calendarTimezone != "string" || !fe(e.calendarTimezone) ? g(
3195
+ const r = Q(e.locale);
3196
+ return r ? typeof e.calendarTimezone != "string" || !he(e.calendarTimezone) ? g(
3197
3197
  "Raw temporal calendarTimezone must be a valid IANA timezone."
3198
- ) : e.sourceTimezone !== void 0 && (typeof e.sourceTimezone != "string" || !fe(e.sourceTimezone)) ? g(
3198
+ ) : e.sourceTimezone !== void 0 && (typeof e.sourceTimezone != "string" || !he(e.sourceTimezone)) ? g(
3199
3199
  "Raw temporal sourceTimezone must be a valid IANA timezone."
3200
3200
  ) : T(e.presentation) ? e.presentation.mode === "auto" ? M(e.presentation, ["mode", "styles"]) ? {
3201
3201
  type: "raw_temporal",
@@ -3260,7 +3260,7 @@ function gn(e) {
3260
3260
  }
3261
3261
  }
3262
3262
  const t = (s = e.format) == null ? void 0 : s.timezone, n = (c = e.format) == null ? void 0 : c.sourceTimezone, r = t && t !== "auto" ? t : e.calendar.tz, a = n && n !== "auto" ? n === "local" ? Intl.DateTimeFormat().resolvedOptions().timeZone : n : void 0;
3263
- if (t !== void 0 && t !== "auto" && !fe(r) || a !== void 0 && !fe(a))
3263
+ if (t !== void 0 && t !== "auto" && !he(r) || a !== void 0 && !he(a))
3264
3264
  return g("Authored raw temporal timezone is invalid.");
3265
3265
  const i = ((u = e.format) == null ? void 0 : u.presentation) ?? { mode: "auto" }, o = {
3266
3266
  type: "raw_temporal",
@@ -3277,7 +3277,7 @@ function gn(e) {
3277
3277
  };
3278
3278
  return Ge(o);
3279
3279
  }
3280
- function Us(e) {
3280
+ function As(e) {
3281
3281
  const t = /* @__PURE__ */ new Set();
3282
3282
  let n = !1;
3283
3283
  for (const r of e.values) {
@@ -3301,7 +3301,7 @@ function Us(e) {
3301
3301
  }
3302
3302
  };
3303
3303
  }
3304
- function As(e) {
3304
+ function Rs(e) {
3305
3305
  return {
3306
3306
  version: 1,
3307
3307
  columns: Object.fromEntries(
@@ -3335,7 +3335,7 @@ function oo(e) {
3335
3335
  }
3336
3336
  return { version: 1, columns: t };
3337
3337
  }
3338
- function Rs(e) {
3338
+ function Ls(e) {
3339
3339
  if (e.length === 0) return;
3340
3340
  const t = e.map(oo), n = Object.keys(t[0].columns).sort();
3341
3341
  for (let r = 1; r < t.length; r += 1) {
@@ -3363,7 +3363,7 @@ function We(e) {
3363
3363
  }
3364
3364
  function Qe(e, t) {
3365
3365
  const n = e.fraction ? `.${e.fraction.padEnd(3, "0").slice(0, 3)}` : "";
3366
- return J(
3366
+ return te(
3367
3367
  `${String(e.year).padStart(4, "0")}-${String(e.month).padStart(2, "0")}-${String(e.day).padStart(2, "0")}T${String(e.hour).padStart(2, "0")}:${String(e.minute).padStart(2, "0")}:${String(e.second).padStart(2, "0")}${n}`,
3368
3368
  t
3369
3369
  );
@@ -3522,7 +3522,7 @@ function co(e, t, n, r) {
3522
3522
  }
3523
3523
  function pn(e, t, n) {
3524
3524
  const r = t === "date_fns" ? dn(n) : (() => {
3525
- const i = ee(n);
3525
+ const i = ne(n);
3526
3526
  return i.ok ? i.segments : g(i.message);
3527
3527
  })(), a = r.filter((i) => i.kind === "token").map((i) => i.value);
3528
3528
  return e === "date" && a.some((i) => ro.has(i)) ? g("Date patterns cannot contain time tokens.") : e !== "instant" && a.some((i) => ao.has(i)) ? g("Timezone pattern tokens require an instant value.") : r;
@@ -3650,7 +3650,7 @@ const po = {
3650
3650
  dateStyle: "short",
3651
3651
  dateTime: { dateStyle: "short", timeStyle: "short" }
3652
3652
  };
3653
- class le extends Error {
3653
+ class fe extends Error {
3654
3654
  constructor(n, r) {
3655
3655
  super(r);
3656
3656
  $(this, "code");
@@ -3700,7 +3700,7 @@ function bo(e, t, n) {
3700
3700
  const r = [0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4], a = t < 3 ? e - 1 : e;
3701
3701
  return (a + Math.floor(a / 4) - Math.floor(a / 100) + Math.floor(a / 400) + r[t - 1] + n) % 7;
3702
3702
  }
3703
- function be(e) {
3703
+ function Se(e) {
3704
3704
  var t;
3705
3705
  return (t = e.calendar.fiscalCalendar) == null ? void 0 : t.yearStartMonth;
3706
3706
  }
@@ -3708,7 +3708,7 @@ function vo(e, t) {
3708
3708
  return (e - t + 12) % 12 % 3 === 0;
3709
3709
  }
3710
3710
  function So(e, t) {
3711
- const { granularity: n } = t, r = be(t) ?? 1;
3711
+ const { granularity: n } = t, r = Se(t) ?? 1;
3712
3712
  switch (n) {
3713
3713
  case "second":
3714
3714
  return !0;
@@ -3747,10 +3747,10 @@ function xn(e, t) {
3747
3747
  `Canonical value ${e} is not aligned to ${t.granularity} granularity and its governed Calendar.`
3748
3748
  );
3749
3749
  }
3750
- function Ls(e) {
3750
+ function Ws(e) {
3751
3751
  const { granularity: t, calendar: n } = e, r = (o, s) => new Intl.DateTimeFormat("en-US", { ...o, timeZone: "UTC" }).format(s), a = [`by ${t} in the ${n.tz} calendar`];
3752
3752
  t === "week" && a.push(`weeks starting on ${r({ weekday: "long" }, new Date(Date.UTC(2023, 0, 1 + n.weekStart)))}`);
3753
- const i = be(e);
3753
+ const i = Se(e);
3754
3754
  return i && (t === "quarter" || t === "year") && a.push(`the fiscal year starting in ${r({ month: "long" }, new Date(Date.UTC(2e3, i - 1, 1)))}`), `${a.join(", ")}; each value is a bucket's start`;
3755
3755
  }
3756
3756
  function bn(e) {
@@ -3779,7 +3779,7 @@ function bn(e) {
3779
3779
  if (typeof r.pattern != "string" || !r.pattern)
3780
3780
  t.push({ path: "presentation.pattern", message: "Expected a non-empty pattern." });
3781
3781
  else {
3782
- const c = ee(r.pattern);
3782
+ const c = ne(r.pattern);
3783
3783
  c.ok || t.push({
3784
3784
  path: "presentation.pattern",
3785
3785
  message: c.message
@@ -3802,7 +3802,7 @@ function bn(e) {
3802
3802
  } else
3803
3803
  t.push({ path: "presentation.mode", message: "Expected auto, preset, or pattern." });
3804
3804
  }
3805
- const a = X(e.locale);
3805
+ const a = Q(e.locale);
3806
3806
  if (a || t.push({ path: "locale", message: "Expected a supported base BCP 47 locale." }), t.length > 0 || !a || !T(r))
3807
3807
  return { ok: !1, issues: t };
3808
3808
  if (r.mode === "auto") {
@@ -3853,9 +3853,9 @@ function Pt(e, t) {
3853
3853
  }
3854
3854
  function Sn(e) {
3855
3855
  var a;
3856
- const t = X(e.locale);
3856
+ const t = Q(e.locale);
3857
3857
  if (!t)
3858
- throw new le(
3858
+ throw new fe(
3859
3859
  "invalid_temporal_bucket_format",
3860
3860
  "Temporal bucket locale must be a supported base BCP 47 locale."
3861
3861
  );
@@ -3878,7 +3878,7 @@ function Sn(e) {
3878
3878
  function D(e, t = 2) {
3879
3879
  return String(e).padStart(t, "0");
3880
3880
  }
3881
- function V(e, t, n) {
3881
+ function X(e, t, n) {
3882
3882
  if (t === "en-US")
3883
3883
  return (n === "short" ? wo : To)[e - 1];
3884
3884
  const r = new Date(Date.UTC(2e3, e - 1, 15));
@@ -3897,9 +3897,9 @@ function ko(e, t, n) {
3897
3897
  case "YY":
3898
3898
  return D(e.year % 100);
3899
3899
  case "MMMM":
3900
- return V(e.month, n, "long");
3900
+ return X(e.month, n, "long");
3901
3901
  case "MMM":
3902
- return V(e.month, n, "short");
3902
+ return X(e.month, n, "short");
3903
3903
  case "MM":
3904
3904
  return D(e.month);
3905
3905
  case "DD":
@@ -3920,7 +3920,7 @@ function Y(e, t) {
3920
3920
  const a = new Intl.DateTimeFormat(e, t);
3921
3921
  return Yt.set(n, a), a;
3922
3922
  }
3923
- function B(e) {
3923
+ function G(e) {
3924
3924
  const t = /* @__PURE__ */ new Date(0);
3925
3925
  return t.setUTCFullYear(e.year, e.month - 1, e.day), t.setUTCHours(e.hour, e.minute, e.second, 0), t;
3926
3926
  }
@@ -3929,7 +3929,7 @@ function zt(e, t, n) {
3929
3929
  calendar: "gregory",
3930
3930
  dateStyle: n,
3931
3931
  timeZone: "UTC"
3932
- }).format(B(e));
3932
+ }).format(G(e));
3933
3933
  }
3934
3934
  function _o(e, t, n) {
3935
3935
  return Y(t, {
@@ -3939,12 +3939,12 @@ function _o(e, t, n) {
3939
3939
  // append a zone label that the canonical value does not semantically own.
3940
3940
  timeStyle: n.timeStyle === "long" ? "medium" : n.timeStyle,
3941
3941
  timeZone: "UTC"
3942
- }).format(B(e));
3942
+ }).format(G(e));
3943
3943
  }
3944
3944
  function No(e, t, n) {
3945
3945
  var a;
3946
3946
  if (n === "short") {
3947
- const i = B(e), o = Y(t, {
3947
+ const i = G(e), o = Y(t, {
3948
3948
  calendar: "gregory",
3949
3949
  dateStyle: "short",
3950
3950
  timeZone: "UTC"
@@ -3964,7 +3964,7 @@ function No(e, t, n) {
3964
3964
  month: n === "short" ? "numeric" : n === "medium" ? "short" : "long",
3965
3965
  timeZone: "UTC",
3966
3966
  year: "numeric"
3967
- }).format(B(e));
3967
+ }).format(G(e));
3968
3968
  }
3969
3969
  function Mn(e, t) {
3970
3970
  return Math.floor((e.month - t + 12) % 12 / 3) + 1;
@@ -3985,7 +3985,7 @@ function Ye(e, t, n) {
3985
3985
  day: "numeric",
3986
3986
  year: "numeric",
3987
3987
  timeZone: "UTC"
3988
- }).format(B(e));
3988
+ }).format(G(e));
3989
3989
  }
3990
3990
  function $o(e, t, n, r) {
3991
3991
  const a = Mn(e, 1);
@@ -3993,7 +3993,7 @@ function $o(e, t, n, r) {
3993
3993
  case "week":
3994
3994
  return t === "numeric" || t === "iso" ? Ye(e, t, n) : `Week of ${Ye(e, t, n)}`;
3995
3995
  case "month":
3996
- return t === "iso" ? `${D(e.year, 4)}-${D(e.month)}` : t === "numeric" ? `${D(e.month)}/${D(e.year, 4)}` : `${V(e.month, n, t === "long" ? "long" : "short")} ${e.year}`;
3996
+ return t === "iso" ? `${D(e.year, 4)}-${D(e.month)}` : t === "numeric" ? `${D(e.month)}/${D(e.year, 4)}` : `${X(e.month, n, t === "long" ? "long" : "short")} ${e.year}`;
3997
3997
  case "quarter":
3998
3998
  return t === "iso" ? `${D(e.year, 4)}-Q${a}` : t === "long" ? `${kn(a)} Quarter ${e.year}` : `Q${a} ${e.year}`;
3999
3999
  case "year":
@@ -4005,12 +4005,12 @@ function $o(e, t, n, r) {
4005
4005
  function je(e, t, n, r) {
4006
4006
  if (_n(t))
4007
4007
  return $o(e, t, n, r.granularity);
4008
- const a = be(r) ?? 1, i = Mn(e, a);
4008
+ const a = Se(r) ?? 1, i = Mn(e, a);
4009
4009
  switch (t) {
4010
4010
  case "week_of_short":
4011
- return `Week of ${V(e.month, n, "short")} ${e.day}, ${e.year}`;
4011
+ return `Week of ${X(e.month, n, "short")} ${e.day}, ${e.year}`;
4012
4012
  case "week_of_long":
4013
- return `Week of ${V(e.month, n, "long")} ${e.day}, ${e.year}`;
4013
+ return `Week of ${X(e.month, n, "long")} ${e.day}, ${e.year}`;
4014
4014
  case "quarter_short":
4015
4015
  return `Q${i} ${e.year}`;
4016
4016
  case "quarter_long":
@@ -4021,8 +4021,8 @@ function je(e, t, n, r) {
4021
4021
  return `FY${Ut(e, a)}`;
4022
4022
  }
4023
4023
  }
4024
- function Oo(e, t, n, r) {
4025
- const a = be(t);
4024
+ function Fo(e, t, n, r) {
4025
+ const a = Se(t);
4026
4026
  switch (t.granularity) {
4027
4027
  case "second":
4028
4028
  case "minute":
@@ -4045,7 +4045,7 @@ function Oo(e, t, n, r) {
4045
4045
  return a ? je(e, "fiscal_year", n, t) : String(e.year);
4046
4046
  }
4047
4047
  }
4048
- function Ws(e, t) {
4048
+ function js(e, t) {
4049
4049
  if (t.granularity !== "second" && t.granularity !== "minute" && t.granularity !== "hour" && t.granularity !== "day" && t.granularity !== "month")
4050
4050
  return;
4051
4051
  const n = xn(e, t);
@@ -4056,20 +4056,20 @@ function Ws(e, t) {
4056
4056
  function Nn(e) {
4057
4057
  const t = bn(e.format);
4058
4058
  if (!t.ok || !vn(t.value, e.metadata))
4059
- throw new le(
4059
+ throw new fe(
4060
4060
  "invalid_temporal_bucket_format",
4061
4061
  "Resolved temporal bucket format is invalid or inapplicable to its metadata."
4062
4062
  );
4063
4063
  const n = xn(e.value, e.metadata);
4064
4064
  if (!n.ok)
4065
- throw new le(
4065
+ throw new fe(
4066
4066
  n.error.code,
4067
4067
  n.error.message
4068
4068
  );
4069
4069
  if (n.value === null) return "(Blank)";
4070
4070
  const { presentation: r, locale: a } = t.value;
4071
4071
  if (r.mode === "auto")
4072
- return Oo(
4072
+ return Fo(
4073
4073
  n.value,
4074
4074
  e.metadata,
4075
4075
  a,
@@ -4082,15 +4082,15 @@ function Nn(e) {
4082
4082
  a,
4083
4083
  e.metadata
4084
4084
  );
4085
- const i = ee(r.pattern);
4085
+ const i = ne(r.pattern);
4086
4086
  if (!i.ok)
4087
- throw new le(
4087
+ throw new fe(
4088
4088
  "invalid_temporal_bucket_format",
4089
4089
  i.message
4090
4090
  );
4091
4091
  return ko(n.value, i.segments, a);
4092
4092
  }
4093
- function Fo(e, t) {
4093
+ function Oo(e, t) {
4094
4094
  var a;
4095
4095
  const n = e[e.length - 1];
4096
4096
  if (!n) return "";
@@ -4101,15 +4101,15 @@ function Fo(e, t) {
4101
4101
  function Io(e, t, n) {
4102
4102
  return e === "grand_total" ? n ?? "Grand Total" : e === "subtotal" ? (n == null ? void 0 : n.split(Un).join(t)) ?? `${t} Total` : t;
4103
4103
  }
4104
- function js(e, t, n, r) {
4104
+ function Hs(e, t, n, r) {
4105
4105
  var o;
4106
4106
  const a = e[e.length - 1], i = t === "grand_total" ? n.grand.label : a ? (o = n.levels[a.levelId]) == null ? void 0 : o.label : void 0;
4107
- return Io(t, Fo(e, r), i);
4107
+ return Io(t, Oo(e, r), i);
4108
4108
  }
4109
- function Hs(e, t, n) {
4109
+ function qs(e, t, n) {
4110
4110
  return e.kind === "value" ? (t == null ? void 0 : t(e.value)) ?? "" : e.kind === "null" ? n.nullText : n.emptyText;
4111
4111
  }
4112
- function qs(e) {
4112
+ function Zs(e) {
4113
4113
  const { path: t, previousPath: n, role: r, repeatLabels: a, levelCount: i } = e;
4114
4114
  return Array.from({ length: i }, (o, s) => {
4115
4115
  const c = t.slice(0, s + 1), u = r === "grand_total" ? s === 0 : r === "subtotal" && s === t.length - 1, l = n && n.length > s && nt(n.slice(0, s + 1)) === nt(c);
@@ -4124,12 +4124,12 @@ function Eo(e) {
4124
4124
  return (e == null ? void 0 : e.type) === "date" ? { type: "raw_temporal", timezone: e.timezone, sourceTimezone: e.sourceTimezone, presentation: eo(e) } : void 0;
4125
4125
  }
4126
4126
  function Co(e, t) {
4127
- return Fi(Xe({ override: e, model: t }).format, {
4127
+ return Oi(Xe({ override: e, model: t }).format, {
4128
4128
  preserveOmittedProperties: !0,
4129
4129
  numericInput: "canonical"
4130
4130
  });
4131
4131
  }
4132
- function Zs(e, t, n) {
4132
+ function Ks(e, t, n) {
4133
4133
  const r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), i = (o, s) => {
4134
4134
  const c = (s === "levels" ? t.levelFormats : t.measureFormats)[o.id], u = o.semanticFormat, l = Co(c, u);
4135
4135
  s === "measures" && r.set(o.id, {
@@ -4166,7 +4166,7 @@ function Zs(e, t, n) {
4166
4166
  return S.ok ? S.text : f(d);
4167
4167
  };
4168
4168
  }
4169
- if (G(l)) {
4169
+ if (J(l)) {
4170
4170
  const m = Zi(l, n.valueFormat);
4171
4171
  return s === "measures" && a.set(o.id, m), (h) => typeof h == "number" || typeof h == "object" && h !== null ? Ze(h, m) : f(h);
4172
4172
  }
@@ -4187,13 +4187,13 @@ function Zs(e, t, n) {
4187
4187
  absence: t.absence
4188
4188
  };
4189
4189
  }
4190
- function Ks(e, t) {
4190
+ function Vs(e, t) {
4191
4191
  return t.levelLabels[e.id] ?? e.field.label ?? e.field.name;
4192
4192
  }
4193
- function Vs(e, t) {
4193
+ function Bs(e, t) {
4194
4194
  return t.measureLabels[e.id] ?? (e.kind === "aggregate" ? e.field.label ?? e.field.name : e.definition.label);
4195
4195
  }
4196
- function Bs(e) {
4196
+ function Xs(e) {
4197
4197
  return Wn.parse(Po(e));
4198
4198
  }
4199
4199
  function Po(e) {
@@ -4225,13 +4225,13 @@ function Po(e) {
4225
4225
  });
4226
4226
  }
4227
4227
  function Yo(e, t) {
4228
- const n = new Map(e.map((r) => [q(r), r]));
4229
- for (const r of t ?? []) n.set(q(r), r);
4228
+ const n = new Map(e.map((r) => [K(r), r]));
4229
+ for (const r of t ?? []) n.set(K(r), r);
4230
4230
  return [...n.values()];
4231
4231
  }
4232
- function Xs(e) {
4232
+ function Gs(e) {
4233
4233
  const { spec: t, presentation: n, defaults: r, session: a } = Ln.parse(e), i = new Map(
4234
- Yo(t.sorts, a == null ? void 0 : a.sorts).map((s) => [q(s), s])
4234
+ Yo(t.sorts, a == null ? void 0 : a.sorts).map((s) => [K(s), s])
4235
4235
  );
4236
4236
  for (const s of ["rows", "columns"])
4237
4237
  for (const c of t[s]) {
@@ -4243,7 +4243,7 @@ function Xs(e) {
4243
4243
  direction: "asc",
4244
4244
  nulls: "last"
4245
4245
  };
4246
- i.has(q(u)) || i.set(q(u), u);
4246
+ i.has(K(u)) || i.set(K(u), u);
4247
4247
  }
4248
4248
  const o = (s, c) => ({
4249
4249
  depth: Math.min(s.depth, Math.max(0, c - 1)),
@@ -4275,7 +4275,7 @@ class At extends Error {
4275
4275
  this.name = "PresentationExecutionSnapshotError";
4276
4276
  }
4277
4277
  }
4278
- class Gs extends Error {
4278
+ class Qs extends Error {
4279
4279
  constructor(n) {
4280
4280
  super(
4281
4281
  `missing_resolved_raw_temporal_format: Column "${n}" has no captured presentation. Resave this report before running it again.`
@@ -4440,7 +4440,7 @@ function qo(e) {
4440
4440
  e.attachmentIndex ?? null
4441
4441
  ];
4442
4442
  }
4443
- function De(e) {
4443
+ function be(e) {
4444
4444
  switch (e.kind) {
4445
4445
  case "metric":
4446
4446
  return [e.kind, e.metricId];
@@ -4454,11 +4454,11 @@ function De(e) {
4454
4454
  return [e.kind, e.axisInstanceId];
4455
4455
  }
4456
4456
  }
4457
- function ve(e, t) {
4457
+ function R(e, t) {
4458
4458
  return e.dashboardId === t.dashboardId && e.cardId === t.cardId && e.attachmentIndex === t.attachmentIndex;
4459
4459
  }
4460
- function Se(e, t) {
4461
- const n = De(e), r = De(t);
4460
+ function L(e, t) {
4461
+ const n = be(e), r = be(t);
4462
4462
  return n.length === r.length && n.every((a, i) => a === r[i]);
4463
4463
  }
4464
4464
  function Zo(e) {
@@ -4538,7 +4538,7 @@ function Zo(e) {
4538
4538
  }
4539
4539
  const s = JSON.stringify([
4540
4540
  ...qo(o.scope),
4541
- ...De(o.target)
4541
+ ...be(o.target)
4542
4542
  ]);
4543
4543
  if (t.has(s))
4544
4544
  throw new Error(
@@ -4575,42 +4575,56 @@ function Ko(e) {
4575
4575
  );
4576
4576
  }
4577
4577
  }
4578
- function Qs(e) {
4578
+ function Vo(e) {
4579
4579
  return Ko({
4580
4580
  version: 1,
4581
4581
  reportContext: e.reportContext,
4582
4582
  resolvedFormats: [...e.resolvedFormats]
4583
4583
  });
4584
4584
  }
4585
- function Js(e) {
4586
- const t = Vo(e);
4587
- return G(t) ? t : void 0;
4588
- }
4589
- function Vo(e) {
4590
- const t = e.snapshot.resolvedFormats.find(
4591
- (n) => n.format.type !== "temporal_bucket" && n.format.type !== "raw_temporal" && n.format.type !== "date" && ve(n.scope, e.scope) && Se(n.target, e.target)
4585
+ function Js(e, t) {
4586
+ const n = t.filter(
4587
+ (r, a) => !e.resolvedFormats.some(
4588
+ (i) => R(i.scope, r.scope) && L(i.target, r.target)
4589
+ ) && // One entry per target, as the snapshot's parser requires.
4590
+ t.findIndex(
4591
+ (i) => R(i.scope, r.scope) && L(i.target, r.target)
4592
+ ) === a
4592
4593
  );
4593
- return t == null ? void 0 : t.format;
4594
+ return n.length === 0 ? e : Vo({
4595
+ reportContext: e.reportContext,
4596
+ resolvedFormats: [...e.resolvedFormats, ...n]
4597
+ });
4594
4598
  }
4595
4599
  function ec(e) {
4600
+ const t = Bo(e);
4601
+ return J(t) ? t : void 0;
4602
+ }
4603
+ function Bo(e) {
4596
4604
  const t = e.snapshot.resolvedFormats.find(
4597
- (n) => n.format.type === "date" && ve(n.scope, e.scope) && Se(n.target, e.target)
4605
+ (n) => n.format.type !== "temporal_bucket" && n.format.type !== "raw_temporal" && n.format.type !== "date" && R(n.scope, e.scope) && L(n.target, e.target)
4598
4606
  );
4599
4607
  return t == null ? void 0 : t.format;
4600
4608
  }
4601
4609
  function tc(e) {
4602
4610
  const t = e.snapshot.resolvedFormats.find(
4603
- (n) => n.format.type === "raw_temporal" && ve(n.scope, e.scope) && Se(n.target, e.target)
4611
+ (n) => n.format.type === "date" && R(n.scope, e.scope) && L(n.target, e.target)
4604
4612
  );
4605
4613
  return t == null ? void 0 : t.format;
4606
4614
  }
4607
4615
  function nc(e) {
4608
4616
  const t = e.snapshot.resolvedFormats.find(
4609
- (n) => n.format.type === "temporal_bucket" && ve(n.scope, e.scope) && Se(n.target, e.target)
4617
+ (n) => n.format.type === "raw_temporal" && R(n.scope, e.scope) && L(n.target, e.target)
4610
4618
  );
4611
4619
  return t == null ? void 0 : t.format;
4612
4620
  }
4613
4621
  function rc(e) {
4622
+ const t = e.snapshot.resolvedFormats.find(
4623
+ (n) => n.format.type === "temporal_bucket" && R(n.scope, e.scope) && L(n.target, e.target)
4624
+ );
4625
+ return t == null ? void 0 : t.format;
4626
+ }
4627
+ function ac(e) {
4614
4628
  var a;
4615
4629
  const t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
4616
4630
  if (e.snapshot.resolvedFormats.forEach((i, o) => {
@@ -4623,7 +4637,7 @@ function rc(e) {
4623
4637
  `resolvedFormats.${o}.scope must match the executing dashboard/card`
4624
4638
  );
4625
4639
  if (i.target.kind === "field" && i.format.type === "temporal_bucket") {
4626
- const s = JSON.stringify(De(i.target));
4640
+ const s = JSON.stringify(be(i.target));
4627
4641
  if (n.has(s))
4628
4642
  throw new Error(
4629
4643
  `resolvedFormats.${o} duplicates export field "${i.target.fieldId}"`
@@ -4651,36 +4665,36 @@ function rc(e) {
4651
4665
  `resolvedFormats is missing visible export column "${r}"`
4652
4666
  );
4653
4667
  }
4654
- const Bo = /* @__PURE__ */ new Set(["short", "medium", "long"]), Xo = /^(\d{4})-(\d{2})-(\d{2})$/, Go = /^\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}(?::\d{2}(?:\.\d{1,9})?)?$/, Qo = /^\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}(?::\d{2}(?:\.\d{1,9})?)?(?:Z|[+-]\d{2}:\d{2})$/, Je = " – ";
4655
- function ac(e) {
4668
+ const Xo = /* @__PURE__ */ new Set(["short", "medium", "long"]), Go = /^(\d{4})-(\d{2})-(\d{2})$/, Qo = /^\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}(?::\d{2}(?:\.\d{1,9})?)?$/, Jo = /^\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}(?::\d{2}(?:\.\d{1,9})?)?(?:Z|[+-]\d{2}:\d{2})$/, Je = " – ";
4669
+ function ic(e) {
4656
4670
  if (!T(e)) return;
4657
4671
  const t = Object.keys(e);
4658
4672
  if (e.mode === "period_label" && t.length === 1)
4659
4673
  return { mode: "period_label" };
4660
- if (e.mode === "style" && t.length === 2 && typeof e.dateStyle == "string" && Bo.has(e.dateStyle))
4674
+ if (e.mode === "style" && t.length === 2 && typeof e.dateStyle == "string" && Xo.has(e.dateStyle))
4661
4675
  return { mode: "style", dateStyle: e.dateStyle };
4662
- if (e.mode === "pattern" && t.length === 3 && e.dialect === "semaphor_tokens" && typeof e.pattern == "string" && Jo(e.pattern) === null)
4676
+ if (e.mode === "pattern" && t.length === 3 && e.dialect === "semaphor_tokens" && typeof e.pattern == "string" && es(e.pattern) === null)
4663
4677
  return {
4664
4678
  mode: "pattern",
4665
4679
  dialect: "semaphor_tokens",
4666
4680
  pattern: e.pattern
4667
4681
  };
4668
4682
  }
4669
- function Jo(e) {
4683
+ function es(e) {
4670
4684
  try {
4671
4685
  return uo({ dialect: "semaphor_tokens", pattern: e }), null;
4672
4686
  } catch (t) {
4673
4687
  return t instanceof Error ? t.message : "The pattern is invalid.";
4674
4688
  }
4675
4689
  }
4676
- function ic(e) {
4690
+ function oc(e) {
4677
4691
  const { value: t, part: n, presentation: r, preferences: a, calendar: i } = e;
4678
4692
  if ((r == null ? void 0 : r.mode) === "period_label" && t.periodLabel && n === "range")
4679
4693
  return { ok: !0, text: t.periodLabel };
4680
4694
  const [o, s] = t.bounds, u = s === void 0 || n === "start" ? [{ raw: o, role: "start" }] : n === "end" ? [{ raw: s, role: "end" }] : [
4681
4695
  { raw: o, role: "start" },
4682
4696
  { raw: s, role: "end" }
4683
- ], l = u.map(({ raw: d }) => rs(d, i.tz));
4697
+ ], l = u.map(({ raw: d }) => as(d, i.tz));
4684
4698
  if (l.some((d) => d === null))
4685
4699
  return {
4686
4700
  ok: !1,
@@ -4691,26 +4705,26 @@ function ic(e) {
4691
4705
  }
4692
4706
  };
4693
4707
  const f = t.precision === "day" ? l.map(
4694
- (d, S) => is(d, u[S].role, i.tz)
4708
+ (d, S) => os(d, u[S].role, i.tz)
4695
4709
  ) : [], m = f.length > 0 && f.every((d) => d !== null) ? f : null;
4696
- return { ok: !0, text: m ? es(m, r, a, i) : ts(
4697
- l.map((d) => as(d, i.tz)),
4710
+ return { ok: !0, text: m ? ts(m, r, a, i) : ns(
4711
+ l.map((d) => is(d, i.tz)),
4698
4712
  r,
4699
4713
  a,
4700
4714
  i
4701
4715
  ) };
4702
4716
  }
4703
- function es(e, t, n, r) {
4717
+ function ts(e, t, n, r) {
4704
4718
  const [a, i = a] = e;
4705
4719
  if ((t == null ? void 0 : t.mode) === "pattern")
4706
- return Fn(
4720
+ return On(
4707
4721
  e.map(
4708
- (c) => On(He(c), "date", t.pattern, n, r)
4722
+ (c) => Fn(He(c), "date", t.pattern, n, r)
4709
4723
  )
4710
4724
  );
4711
4725
  const o = (t == null ? void 0 : t.mode) === "style" ? t.dateStyle : n.dateStyle;
4712
4726
  if (!t || t.mode === "period_label") {
4713
- const c = os(a, i, r);
4727
+ const c = ss(a, i, r);
4714
4728
  if (c)
4715
4729
  return Nn({
4716
4730
  value: He(a),
@@ -4735,13 +4749,13 @@ function es(e, t, n, r) {
4735
4749
  timeZone: "UTC",
4736
4750
  dateStyle: o
4737
4751
  });
4738
- return cs(a, i) ? s.format(me(a)) : $n(s, me(a), me(i));
4752
+ return us(a, i) ? s.format(de(a)) : $n(s, de(a), de(i));
4739
4753
  }
4740
- function ts(e, t, n, r) {
4754
+ function ns(e, t, n, r) {
4741
4755
  if ((t == null ? void 0 : t.mode) === "pattern")
4742
- return Fn(
4756
+ return On(
4743
4757
  e.map(
4744
- (s) => On(
4758
+ (s) => Fn(
4745
4759
  s.toISOString(),
4746
4760
  "instant",
4747
4761
  t.pattern,
@@ -4762,7 +4776,7 @@ function $n(e, t, n) {
4762
4776
  const r = e;
4763
4777
  return typeof r.formatRange == "function" ? r.formatRange(t, n) : `${e.format(t)}${Je}${e.format(n)}`;
4764
4778
  }
4765
- function On(e, t, n, r, a) {
4779
+ function Fn(e, t, n, r, a) {
4766
4780
  const i = gn({
4767
4781
  format: {
4768
4782
  type: "raw_temporal",
@@ -4774,187 +4788,188 @@ function On(e, t, n, r, a) {
4774
4788
  defaultCurrency: qn.defaultCurrency
4775
4789
  },
4776
4790
  calendar: { tz: a.tz }
4777
- }), o = t === "date" && ns(n) ? "instant" : t;
4791
+ }), o = t === "date" && rs(n) ? "instant" : t;
4778
4792
  return go({
4779
- value: o === t ? e : J(`${e}T00:00:00`, a.tz).toISOString(),
4793
+ value: o === t ? e : te(`${e}T00:00:00`, a.tz).toISOString(),
4780
4794
  metadata: { kind: "raw_temporal", valueKind: o },
4781
4795
  format: i
4782
4796
  }).text;
4783
4797
  }
4784
- function ns(e) {
4798
+ function rs(e) {
4785
4799
  return /HH|mm|ss/.test(e);
4786
4800
  }
4787
- function Fn(e) {
4801
+ function On(e) {
4788
4802
  return e[1] === void 0 || e[0] === e[1] ? e[0] : e.join(Je);
4789
4803
  }
4790
- function rs(e, t) {
4791
- const n = Xo.exec(e);
4804
+ function as(e, t) {
4805
+ const n = Go.exec(e);
4792
4806
  if (n) {
4793
4807
  const a = {
4794
4808
  year: Number(n[1]),
4795
4809
  month: Number(n[2]),
4796
4810
  day: Number(n[3])
4797
4811
  };
4798
- return us(a) ? { kind: "date", date: a } : null;
4812
+ return ls(a) ? { kind: "date", date: a } : null;
4799
4813
  }
4800
- const r = Qo.test(e) ? new Date(e.replace(" ", "T")) : Go.test(e) ? J(e.replace(" ", "T"), t) : null;
4814
+ const r = Jo.test(e) ? new Date(e.replace(" ", "T")) : Qo.test(e) ? te(e.replace(" ", "T"), t) : null;
4801
4815
  return r && !Number.isNaN(r.getTime()) ? { kind: "instant", instant: r } : null;
4802
4816
  }
4803
- function as(e, t) {
4804
- return e.kind === "instant" ? e.instant : J(`${He(e.date)}T00:00:00`, t);
4817
+ function is(e, t) {
4818
+ return e.kind === "instant" ? e.instant : te(`${He(e.date)}T00:00:00`, t);
4805
4819
  }
4806
- function is(e, t, n) {
4820
+ function os(e, t, n) {
4807
4821
  if (e.kind === "date") return e.date;
4808
4822
  const r = Bn(e.instant, n), a = { year: r.year, month: r.month, day: r.day };
4809
- if (r.hour === 0 && r.minute === 0 && r.second === 0 && e.instant.getUTCMilliseconds() === 0) return t === "start" ? a : ss(a, -1);
4823
+ if (r.hour === 0 && r.minute === 0 && r.second === 0 && e.instant.getUTCMilliseconds() === 0) return t === "start" ? a : cs(a, -1);
4810
4824
  const o = r.hour === 23 && r.minute === 59 && r.second === 59;
4811
4825
  return t === "end" && o ? a : null;
4812
4826
  }
4813
- function os(e, t, n) {
4827
+ function ss(e, t, n) {
4814
4828
  return n.fiscalCalendar || e.day !== 1 || e.year !== t.year || t.day !== In(t.year, t.month) ? null : e.month === t.month ? "month" : e.month % 3 === 1 && t.month === e.month + 2 ? "quarter" : e.month === 1 && t.month === 12 ? "year" : null;
4815
4829
  }
4816
4830
  function He(e) {
4817
4831
  return `${String(e.year).padStart(4, "0")}-${String(e.month).padStart(2, "0")}-${String(e.day).padStart(2, "0")}`;
4818
4832
  }
4819
- function me(e) {
4833
+ function de(e) {
4820
4834
  const t = /* @__PURE__ */ new Date(0);
4821
4835
  return t.setUTCFullYear(e.year, e.month - 1, e.day), t.setUTCHours(0, 0, 0, 0), t;
4822
4836
  }
4823
- function ss(e, t) {
4824
- const n = me(e);
4837
+ function cs(e, t) {
4838
+ const n = de(e);
4825
4839
  return n.setUTCDate(n.getUTCDate() + t), {
4826
4840
  year: n.getUTCFullYear(),
4827
4841
  month: n.getUTCMonth() + 1,
4828
4842
  day: n.getUTCDate()
4829
4843
  };
4830
4844
  }
4831
- function cs(e, t) {
4845
+ function us(e, t) {
4832
4846
  return e.year === t.year && e.month === t.month && e.day === t.day;
4833
4847
  }
4834
4848
  function In(e, t) {
4835
4849
  return new Date(Date.UTC(e, t, 0)).getUTCDate();
4836
4850
  }
4837
- function us(e) {
4851
+ function ls(e) {
4838
4852
  return e.year >= 1 && e.month >= 1 && e.month <= 12 && e.day >= 1 && e.day <= In(e.year, e.month);
4839
4853
  }
4840
4854
  export {
4841
4855
  rc as $,
4842
4856
  Os as A,
4843
- we as B,
4857
+ De as B,
4844
4858
  P as C,
4845
- Fs as D,
4846
- Is as E,
4859
+ Is as D,
4860
+ Es as E,
4847
4861
  vi as F,
4848
4862
  Si as G,
4849
- Es as H,
4863
+ Cs as H,
4850
4864
  Mi as I,
4851
- Cs as J,
4852
- Zs as K,
4865
+ Ps as J,
4866
+ Ks as K,
4853
4867
  Wi as L,
4854
4868
  Ti as M,
4855
4869
  ji as N,
4856
- Ys as O,
4870
+ zs as O,
4857
4871
  Hi as P,
4858
4872
  Zi as Q,
4859
4873
  At as R,
4860
- Gs as S,
4874
+ Qs as S,
4861
4875
  zo as T,
4862
4876
  Zo as U,
4863
4877
  Ko as V,
4864
- Qs as W,
4878
+ Vo as W,
4865
4879
  Js as X,
4866
4880
  ec as Y,
4867
4881
  tc as Z,
4868
4882
  nc as _,
4869
- xs as a,
4870
- Io as a$,
4871
- Ki as a0,
4872
- Bi as a1,
4873
- ee as a2,
4874
- fn as a3,
4875
- zs as a4,
4876
- po as a5,
4877
- le as a6,
4878
- xn as a7,
4879
- Ls as a8,
4880
- bn as a9,
4881
- Fo as aA,
4882
- js as aB,
4883
- qs as aC,
4884
- Hs as aD,
4885
- un as aE,
4886
- Ss as aF,
4887
- Ke as aG,
4888
- Sa as aH,
4883
+ bs as a,
4884
+ Eo as a$,
4885
+ ac as a0,
4886
+ Ki as a1,
4887
+ Bi as a2,
4888
+ ne as a3,
4889
+ fn as a4,
4890
+ Us as a5,
4891
+ po as a6,
4892
+ fe as a7,
4893
+ xn as a8,
4894
+ Ws as a9,
4895
+ un as aA,
4896
+ Ms as aB,
4897
+ _i as aC,
4898
+ Bs as aD,
4899
+ Xs as aE,
4900
+ Po as aF,
4901
+ Yo as aG,
4902
+ Ke as aH,
4889
4903
  ki as aI,
4890
4904
  ur as aJ,
4891
- L as aK,
4892
- nn as aL,
4893
- se as aM,
4894
- p as aN,
4895
- Tr as aO,
4896
- ge as aP,
4897
- ct as aQ,
4898
- re as aR,
4899
- vs as aS,
4900
- Jt as aT,
4901
- gr as aU,
4902
- Co as aV,
4903
- $t as aW,
4904
- O as aX,
4905
- Nt as aY,
4906
- kt as aZ,
4907
- Eo as a_,
4908
- Sn as aa,
4909
- Ws as ab,
4910
- Nn as ac,
4911
- eo as ad,
4912
- A as ae,
4913
- Ge as af,
4914
- gn as ag,
4915
- Us as ah,
4905
+ Sa as aK,
4906
+ j as aL,
4907
+ nn as aM,
4908
+ ue as aN,
4909
+ p as aO,
4910
+ Tr as aP,
4911
+ pe as aQ,
4912
+ ct as aR,
4913
+ ie as aS,
4914
+ Ss as aT,
4915
+ Jt as aU,
4916
+ gr as aV,
4917
+ Co as aW,
4918
+ $t as aX,
4919
+ F as aY,
4920
+ Nt as aZ,
4921
+ kt as a_,
4922
+ bn as aa,
4923
+ Sn as ab,
4924
+ js as ac,
4925
+ Nn as ad,
4926
+ eo as ae,
4927
+ A as af,
4928
+ Ge as ag,
4929
+ gn as ah,
4916
4930
  As as ai,
4917
- oo as aj,
4918
- Rs as ak,
4919
- uo as al,
4920
- Dn as am,
4921
- go as an,
4922
- yo as ao,
4923
- ac as ap,
4924
- Jo as aq,
4925
- ic as ar,
4926
- Xs as as,
4927
- _i as at,
4928
- Ks as au,
4929
- Vs as av,
4930
- Bs as aw,
4931
- Po as ax,
4932
- Yo as ay,
4933
- Ds as az,
4934
- Fi as b,
4935
- J as b0,
4936
- Ts as c,
4931
+ Rs as aj,
4932
+ oo as ak,
4933
+ Ls as al,
4934
+ uo as am,
4935
+ Dn as an,
4936
+ go as ao,
4937
+ yo as ap,
4938
+ ic as aq,
4939
+ es as ar,
4940
+ oc as as,
4941
+ Gs as at,
4942
+ xs as au,
4943
+ Oo as av,
4944
+ Hs as aw,
4945
+ Zs as ax,
4946
+ qs as ay,
4947
+ Vs as az,
4948
+ Oi as b,
4949
+ Io as b0,
4950
+ te as b1,
4951
+ Ds as c,
4937
4952
  qe as d,
4938
4953
  Bt as e,
4939
- Vo as f,
4954
+ Bo as f,
4940
4955
  Xt as g,
4941
4956
  Gt as h,
4942
- G as i,
4957
+ J as i,
4943
4958
  Ze as j,
4944
4959
  lr as k,
4945
- bs as l,
4960
+ vs as l,
4946
4961
  qt as m,
4947
4962
  Zt as n,
4948
4963
  yi as o,
4949
4964
  Xe as p,
4950
4965
  pi as q,
4951
4966
  zi as r,
4952
- Ns as s,
4953
- Ms as t,
4954
- ks as u,
4955
- _s as v,
4956
- Ps as w,
4967
+ $s as s,
4968
+ ks as t,
4969
+ _s as u,
4970
+ Ns as v,
4971
+ Ys as w,
4957
4972
  Be as x,
4958
4973
  ln as y,
4959
- $s as z
4974
+ Fs as z
4960
4975
  };