@feedmepos/mf-report 5.4.36 → 5.5.0-beta.1

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 (31) hide show
  1. package/dist/{App-DcfI_XNW.js → App-C8OrqIII.js} +42 -42
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-i3aSXdHt.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-Xex8S8XX.js} +2 -2
  3. package/dist/Default.vue_vue_type_script_setup_true_lang-BLozzioO.js +41 -0
  4. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-C6n257cI.js +1004 -0
  5. package/dist/{InsightView-PI6dgol0.js → InsightView-D6SS99hR.js} +11 -12
  6. package/dist/{Integration-C1po_0N1.js → Integration-bg1bO0u3.js} +1319 -1319
  7. package/dist/{Integrations-BqqDb5qr.js → Integrations-B6ACZi86.js} +3 -3
  8. package/dist/{Layout-BUWlLMP4.js → Layout-Ddcn-nHV.js} +1 -1
  9. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-DmU--6is.js +101 -0
  10. package/dist/NavigationTab.vue_vue_type_script_setup_true_lang-OVySbMGt.js +34665 -0
  11. package/dist/{NoData.vue_vue_type_script_setup_true_lang-BFnX-1M0.js → NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js} +1 -1
  12. package/dist/{OverviewView-CoubbhjM.js → OverviewView-U5_KCGUs.js} +5 -5
  13. package/dist/{Report-bQSl3Plq.js → Report-C6XBxHBU.js} +4 -4
  14. package/dist/{ReportEditor-DswBRaYe.js → ReportEditor-CACAI5rx.js} +5 -5
  15. package/dist/{ReportView-BoipuiKU.js → ReportView-CXuc9Ou0.js} +72 -61
  16. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-C_5JqpZI.js → SelectComponent.vue_vue_type_script_setup_true_lang-BVs1C4af.js} +1 -1
  17. package/dist/{Setting-D1cxNFnN.js → Setting-Bikoxb1y.js} +4 -4
  18. package/dist/{TileEditor-BmWA9yaI.js → TileEditor-DnDiDIo3.js} +8 -8
  19. package/dist/{TransitionFade-Bl7Fs0Kr.js → TransitionFade-DBduwk2M.js} +264 -264
  20. package/dist/app.js +17 -14
  21. package/dist/{global-loader-j3FZYjO_.js → global-loader-BqFQzk46.js} +1021 -1023
  22. package/dist/{index-BsN83BDH.js → index-Cmh079Bh.js} +1 -1
  23. package/dist/{report-schema-Bk6c6uMR.js → report-schema-OJAFh4P6.js} +1 -1
  24. package/dist/{v4-BdEILobK.js → v4-BS8SFGqd.js} +471 -434
  25. package/package.json +1 -1
  26. package/dist/Default.vue_vue_type_script_setup_true_lang-BvcF29hM.js +0 -41
  27. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-B6izaIir.js +0 -999
  28. package/dist/LocationSelect.vue_vue_type_script_setup_true_lang-CF4VlKJk.js +0 -7988
  29. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-CkQjrXwQ.js +0 -276
  30. package/dist/NavigationTab.vue_vue_type_script_setup_true_lang-CoAZxwTP.js +0 -26128
  31. package/dist/timeFormat-DJ-S2Pv8.js +0 -9
@@ -1,81 +1,81 @@
1
- import { j as xe, a as ae, F as oe, h as ie, b as Ie, c as ke, m as We, d as ue, e as Ye, k as je } from "./global-loader-j3FZYjO_.js";
2
- import { storeToRefs as Z, defineStore as He } from "pinia";
3
- import { ref as X, computed as Ae, h as ze, watch as Ke } from "vue";
4
- import { useSnackbar as Xe, components as Ze } from "@feedmepos/ui-library";
5
- import { useRouter as et } from "vue-router";
6
- function qe(L) {
7
- throw new Error('Could not dynamically require "' + L + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1
+ import { j as xe, a as te, F as re, h as X, b as Je, c as ke, n as Ye, d as ue, e as je, k as ze } from "./global-loader-BqFQzk46.js";
2
+ import { storeToRefs as W, defineStore as He } from "pinia";
3
+ import { ref as K, computed as Ae, h as Ke, watch as Xe } from "vue";
4
+ import { useSnackbar as Ze, components as et } from "@feedmepos/ui-library";
5
+ import { useRouter as tt } from "vue-router";
6
+ function qe(O) {
7
+ throw new Error('Could not dynamically require "' + O + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
8
8
  }
9
- var Me = {};
10
- (function(L) {
11
- var x = typeof xe < "u" ? xe : window, w = Object.create(x);
12
- w.scheduleImmediate = typeof setImmediate < "u" ? function(Q) {
13
- setImmediate(Q);
14
- } : function(Q) {
15
- setTimeout(Q, 0);
16
- }, w.exports = L, typeof process < "u" && (w.process = process), typeof __dirname < "u" && (w.__dirname = __dirname), typeof __filename < "u" && (w.__filename = __filename), typeof Buffer < "u" && (w.Buffer = Buffer);
17
- var B = !x.window;
9
+ var Ie = {};
10
+ (function(O) {
11
+ var J = typeof xe < "u" ? xe : window, w = Object.create(J);
12
+ w.scheduleImmediate = typeof setImmediate < "u" ? function(q) {
13
+ setImmediate(q);
14
+ } : function(q) {
15
+ setTimeout(q, 0);
16
+ }, w.exports = O, typeof process < "u" && (w.process = process), typeof __dirname < "u" && (w.__dirname = __dirname), typeof __filename < "u" && (w.__filename = __filename), typeof Buffer < "u" && (w.Buffer = Buffer);
17
+ var U = !J.window;
18
18
  try {
19
- typeof WorkerGlobalScope < "u" && x instanceof WorkerGlobalScope && (B = !1), typeof process < "u" && process.versions && process.versions.hasOwnProperty("electron") && process.versions.hasOwnProperty("node") && (B = !0);
19
+ typeof WorkerGlobalScope < "u" && J instanceof WorkerGlobalScope && (U = !1), typeof process < "u" && process.versions && process.versions.hasOwnProperty("electron") && process.versions.hasOwnProperty("node") && (U = !0);
20
20
  } catch {
21
21
  }
22
- if (B) {
22
+ if (U) {
23
23
  var k = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : qe)("url");
24
24
  Object.defineProperty(w, "location", {
25
25
  value: {
26
26
  get href() {
27
27
  return k.pathToFileURL ? k.pathToFileURL(process.cwd()).href + "/" : "file://" + function() {
28
- var Q = process.cwd();
29
- return process.platform != "win32" ? Q : "/" + Q.replace(/\\/g, "/");
28
+ var q = process.cwd();
29
+ return process.platform != "win32" ? q : "/" + q.replace(/\\/g, "/");
30
30
  }() + "/";
31
31
  }
32
32
  }
33
33
  }), function() {
34
- function Q() {
34
+ function q() {
35
35
  try {
36
36
  throw new Error();
37
- } catch (V) {
38
- var P = V.stack, q = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg"), U = null;
37
+ } catch (G) {
38
+ var N = G.stack, B = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg"), Q = null;
39
39
  do {
40
- var G = q.exec(P);
41
- G != null && (U = G);
42
- } while (G != null);
43
- return U[1];
40
+ var V = B.exec(N);
41
+ V != null && (Q = V);
42
+ } while (V != null);
43
+ return Q[1];
44
44
  }
45
45
  }
46
- var N = null;
46
+ var P = null;
47
47
  Object.defineProperty(w, "document", {
48
48
  value: {
49
49
  get currentScript() {
50
- return N == null && (N = { src: Q() }), N;
50
+ return P == null && (P = { src: q() }), P;
51
51
  }
52
52
  }
53
53
  });
54
- }(), w.dartDeferredLibraryLoader = function(Q, N, P) {
54
+ }(), w.dartDeferredLibraryLoader = function(q, P, N) {
55
55
  try {
56
- load(Q), N();
57
- } catch (q) {
58
- P(q);
56
+ load(q), P();
57
+ } catch (B) {
58
+ N(B);
59
59
  }
60
60
  };
61
61
  }
62
62
  (function() {
63
- function N(r, e) {
63
+ function P(r, e) {
64
64
  for (var i = Object.keys(r), n = 0; n < i.length; n++) {
65
65
  var a = i[n];
66
66
  e[a] = r[a];
67
67
  }
68
68
  }
69
- function P(r, e) {
69
+ function N(r, e) {
70
70
  for (var i = Object.keys(r), n = 0; n < i.length; n++) {
71
71
  var a = i[n];
72
72
  e.hasOwnProperty(a) || (e[a] = r[a]);
73
73
  }
74
74
  }
75
- function q(r, e) {
75
+ function B(r, e) {
76
76
  Object.assign(e, r);
77
77
  }
78
- var U = function() {
78
+ var Q = function() {
79
79
  var r = function() {
80
80
  };
81
81
  r.prototype = { p: {} };
@@ -94,27 +94,27 @@ var Me = {};
94
94
  }
95
95
  return !1;
96
96
  }();
97
- function G(r, e) {
97
+ function V(r, e) {
98
98
  if (r.prototype.constructor = r, r.prototype["$is" + r.name] = r, e != null) {
99
- if (U) {
99
+ if (Q) {
100
100
  r.prototype.__proto__ = e.prototype;
101
101
  return;
102
102
  }
103
103
  var i = Object.create(e.prototype);
104
- N(r.prototype, i), r.prototype = i;
104
+ P(r.prototype, i), r.prototype = i;
105
105
  }
106
106
  }
107
- function V(r, e) {
107
+ function G(r, e) {
108
108
  for (var i = 0; i < e.length; i++)
109
- G(e[i], r);
109
+ V(e[i], r);
110
110
  }
111
- function W(r, e) {
112
- q(e.prototype, r.prototype), r.prototype.constructor = r;
111
+ function Y(r, e) {
112
+ B(e.prototype, r.prototype), r.prototype.constructor = r;
113
113
  }
114
- function z(r, e) {
115
- P(e.prototype, r.prototype), r.prototype.constructor = r;
114
+ function oe(r, e) {
115
+ N(e.prototype, r.prototype), r.prototype.constructor = r;
116
116
  }
117
- function te(r, e, i, n) {
117
+ function Z(r, e, i, n) {
118
118
  var a = r;
119
119
  r[e] = a, r[i] = function() {
120
120
  r[i] = function() {
@@ -131,7 +131,7 @@ var Me = {};
131
131
  return s;
132
132
  };
133
133
  }
134
- function K(r, e, i, n) {
134
+ function ee(r, e, i, n) {
135
135
  var a = r;
136
136
  r[e] = a, r[i] = function() {
137
137
  return r[e] === a && (r[e] = n()), r[i] = function() {
@@ -139,7 +139,7 @@ var Me = {};
139
139
  }, r[e];
140
140
  };
141
141
  }
142
- function re(r, e, i, n) {
142
+ function ae(r, e, i, n) {
143
143
  var a = r;
144
144
  r[e] = a, r[i] = function() {
145
145
  if (r[e] === a) {
@@ -152,13 +152,13 @@ var Me = {};
152
152
  }, l;
153
153
  };
154
154
  }
155
- function ne(r) {
155
+ function se(r) {
156
156
  return r.immutable$list = Array, r.fixed$length = Array, r;
157
157
  }
158
- function ee(r) {
158
+ function ie(r) {
159
159
  return r;
160
160
  }
161
- function se(r) {
161
+ function ne(r) {
162
162
  for (var e = 0; e < r.length; ++e)
163
163
  r[e];
164
164
  }
@@ -195,7 +195,7 @@ var Me = {};
195
195
  T.interceptorsByTag = r;
196
196
  return;
197
197
  }
198
- N(r, e);
198
+ P(r, e);
199
199
  }
200
200
  function Te(r) {
201
201
  var e = T.leafTags;
@@ -203,16 +203,16 @@ var Me = {};
203
203
  T.leafTags = r;
204
204
  return;
205
205
  }
206
- N(r, e);
206
+ P(r, e);
207
207
  }
208
208
  function $e(r) {
209
209
  var e = T.types, i = e.length;
210
210
  return e.push.apply(e, r), i;
211
211
  }
212
212
  function ge(r, e) {
213
- return N(e, r), r;
213
+ return P(e, r), r;
214
214
  }
215
- var Y = function() {
215
+ var j = function() {
216
216
  var r = function(i, n, a, s, l) {
217
217
  return function(_, d, c, p) {
218
218
  return ye(_, d, i, n, a, s, [c], p, l, !1);
@@ -222,7 +222,7 @@ var Me = {};
222
222
  return le(l, _, i, n, a, [d], c, s);
223
223
  };
224
224
  };
225
- return { inherit: G, inheritMany: V, mixin: W, mixinHard: z, installStaticTearOff: le, installInstanceTearOff: ye, _instance_0u: r(0, 0, null, ["call$0"], 0), _instance_1u: r(0, 1, null, ["call$1"], 0), _instance_2u: r(0, 2, null, ["call$2"], 0), _instance_0i: r(1, 0, null, ["call$0"], 0), _instance_1i: r(1, 1, null, ["call$1"], 0), _instance_2i: r(1, 2, null, ["call$2"], 0), _static_0: e(0, null, ["call$0"], 0), _static_1: e(1, null, ["call$1"], 0), _static_2: e(2, null, ["call$2"], 0), makeConstList: ne, lazy: K, lazyFinal: re, lazyOld: te, updateHolder: ge, convertToFastObject: ee, updateTypes: $e, setOrUpdateInterceptorsByTag: he, setOrUpdateLeafTags: Te };
225
+ return { inherit: V, inheritMany: G, mixin: Y, mixinHard: oe, installStaticTearOff: le, installInstanceTearOff: ye, _instance_0u: r(0, 0, null, ["call$0"], 0), _instance_1u: r(0, 1, null, ["call$1"], 0), _instance_2u: r(0, 2, null, ["call$2"], 0), _instance_0i: r(1, 0, null, ["call$0"], 0), _instance_1i: r(1, 1, null, ["call$1"], 0), _instance_2i: r(1, 2, null, ["call$2"], 0), _static_0: e(0, null, ["call$0"], 0), _static_1: e(1, null, ["call$1"], 0), _static_2: e(2, null, ["call$2"], 0), makeConstList: se, lazy: ee, lazyFinal: ae, lazyOld: Z, updateHolder: ge, convertToFastObject: ie, updateTypes: $e, setOrUpdateInterceptorsByTag: he, setOrUpdateLeafTags: Te };
226
226
  }(), t = {
227
227
  JS_CONST: function() {
228
228
  },
@@ -259,8 +259,8 @@ var Me = {};
259
259
  }
260
260
  },
261
261
  Sort__dualPivotQuicksort(r, e, i, n) {
262
- var a, s, l, _, d, c, p, $, g, m, h = u.JSInt_methods._tdivFast$1(i - e + 1, 6), A = e + h, E = i - h, M = u.JSInt_methods._tdivFast$1(e + i, 2), b = M - h, R = M + h, C = o.getInterceptor$asx(r), F = C.$index(r, A), D = C.$index(r, b), O = C.$index(r, M), v = C.$index(r, R), J = C.$index(r, E);
263
- if (n.call$2(F, D) > 0 && (a = D, D = F, F = a), n.call$2(v, J) > 0 && (a = J, J = v, v = a), n.call$2(F, O) > 0 && (a = O, O = F, F = a), n.call$2(D, O) > 0 && (a = O, O = D, D = a), n.call$2(F, v) > 0 && (a = v, v = F, F = a), n.call$2(O, v) > 0 && (a = v, v = O, O = a), n.call$2(D, J) > 0 && (a = J, J = D, D = a), n.call$2(D, O) > 0 && (a = O, O = D, D = a), n.call$2(v, J) > 0 && (a = J, J = v, v = a), C.$indexSet(r, A, F), C.$indexSet(r, M, O), C.$indexSet(r, E, J), C.$indexSet(r, b, C.$index(r, e)), C.$indexSet(r, R, C.$index(r, i)), s = e + 1, l = i - 1, o.$eq$(n.call$2(D, v), 0)) {
262
+ var a, s, l, _, d, c, p, $, g, m, h = u.JSInt_methods._tdivFast$1(i - e + 1, 6), A = e + h, E = i - h, M = u.JSInt_methods._tdivFast$1(e + i, 2), b = M - h, R = M + h, C = o.getInterceptor$asx(r), F = C.$index(r, A), D = C.$index(r, b), L = C.$index(r, M), v = C.$index(r, R), x = C.$index(r, E);
263
+ if (n.call$2(F, D) > 0 && (a = D, D = F, F = a), n.call$2(v, x) > 0 && (a = x, x = v, v = a), n.call$2(F, L) > 0 && (a = L, L = F, F = a), n.call$2(D, L) > 0 && (a = L, L = D, D = a), n.call$2(F, v) > 0 && (a = v, v = F, F = a), n.call$2(L, v) > 0 && (a = v, v = L, L = a), n.call$2(D, x) > 0 && (a = x, x = D, D = a), n.call$2(D, L) > 0 && (a = L, L = D, D = a), n.call$2(v, x) > 0 && (a = x, x = v, v = a), C.$indexSet(r, A, F), C.$indexSet(r, M, L), C.$indexSet(r, E, x), C.$indexSet(r, b, C.$index(r, e)), C.$indexSet(r, R, C.$index(r, i)), s = e + 1, l = i - 1, o.$eq$(n.call$2(D, v), 0)) {
264
264
  for (_ = s; _ <= l; ++_)
265
265
  if (d = C.$index(r, _), c = n.call$2(d, D), c !== 0)
266
266
  if (c < 0)
@@ -653,8 +653,8 @@ var Me = {};
653
653
  var e, i, n, a, s, l, _, d, c, p, $ = r.co, g = r.iS, m = r.iI, h = r.nDA, A = r.aI, E = r.fs, M = r.cs, b = E[0], R = M[0], C = $[b], F = r.fT;
654
654
  for (F.toString, e = Object.create(g ? new t.StaticClosure().constructor.prototype : new t.BoundClosure(null, null).constructor.prototype), e.$initialize = e.constructor, g ? i = function() {
655
655
  this.$initialize();
656
- } : i = function(O, v) {
657
- this.$initialize(O, v);
656
+ } : i = function(L, v) {
657
+ this.$initialize(L, v);
658
658
  }, e.constructor = i, i.prototype = e, e.$_name = b, e.$_target = C, n = !g, n ? a = t.Closure_forwardCallTo(b, C, m, h) : (e.$static_name = b, a = C), e.$signature = t.Closure__computeSignatureFunctionNewRti(F, g, m), e[R] = a, s = a, l = 1; l < E.length; ++l)
659
659
  _ = E[l], typeof _ == "string" ? (d = $[_], c = _, _ = d) : c = "", p = M[l], p != null && (n && (_ = t.Closure_forwardCallTo(c, _, m, h)), e[p] = _), l === A && (s = _);
660
660
  return e["call*"] = s, e.$requiredArgCount = r.rC, e.$defaultValues = r.dV, i;
@@ -1378,7 +1378,7 @@ var Me = {};
1378
1378
  return s + "})";
1379
1379
  },
1380
1380
  _functionRtiToString(r, e, i) {
1381
- var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, O, v = ", ";
1381
+ var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L, v = ", ";
1382
1382
  if (i != null) {
1383
1383
  for (n = i.length, e == null ? (e = t._setArrayType([], y.JSArray_String), a = null) : a = e.length, s = e.length, l = n; l > 0; --l)
1384
1384
  e.push("T" + (s + l));
@@ -1387,16 +1387,16 @@ var Me = {};
1387
1387
  c += ">";
1388
1388
  } else
1389
1389
  c = "", a = null;
1390
- for (_ = r._primary, h = r._rest, A = h._requiredPositional, E = A.length, M = h._optionalPositional, b = M.length, R = h._named, C = R.length, F = t._rtiToString(_, e), D = "", O = "", l = 0; l < E; ++l, O = v)
1391
- D += O + t._rtiToString(A[l], e);
1390
+ for (_ = r._primary, h = r._rest, A = h._requiredPositional, E = A.length, M = h._optionalPositional, b = M.length, R = h._named, C = R.length, F = t._rtiToString(_, e), D = "", L = "", l = 0; l < E; ++l, L = v)
1391
+ D += L + t._rtiToString(A[l], e);
1392
1392
  if (b > 0) {
1393
- for (D += O + "[", O = "", l = 0; l < b; ++l, O = v)
1394
- D += O + t._rtiToString(M[l], e);
1393
+ for (D += L + "[", L = "", l = 0; l < b; ++l, L = v)
1394
+ D += L + t._rtiToString(M[l], e);
1395
1395
  D += "]";
1396
1396
  }
1397
1397
  if (C > 0) {
1398
- for (D += O + "{", O = "", l = 0; l < C; l += 3, O = v)
1399
- D += O, R[l + 1] && (D += "required "), D += t._rtiToString(R[l + 2], e) + " " + R[l];
1398
+ for (D += L + "{", L = "", l = 0; l < C; l += 3, L = v)
1399
+ D += L, R[l + 1] && (D += "required "), D += t._rtiToString(R[l + 2], e) + " " + R[l];
1400
1400
  D += "}";
1401
1401
  }
1402
1402
  return a != null && (e.toString, e.length = a), c + "(" + D + ") => " + F;
@@ -1757,7 +1757,7 @@ var Me = {};
1757
1757
  return d === 12 ? e === y.JavaScriptFunction ? !0 : s ? !1 : t._isFunctionSubtype(r, e, i, n, a) : l === 9 ? d !== 9 ? !1 : t._isInterfaceSubtype(r, e, i, n, a) : (s = l === 11, s && n === y.Record ? !0 : s && d === 11 ? t._isRecordSubtype(r, e, i, n, a) : !1);
1758
1758
  },
1759
1759
  _isFunctionSubtype(r, e, i, n, a) {
1760
- var s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, O, v, J, H;
1760
+ var s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L, v, x, H;
1761
1761
  if (!t._isSubtype(r, e._primary, i, n._primary, a) || (s = e._rest, l = n._rest, _ = s._requiredPositional, d = l._requiredPositional, c = _.length, p = d.length, c > p) || ($ = p - c, g = s._optionalPositional, m = l._optionalPositional, h = g.length, A = m.length, c + h < p + A))
1762
1762
  return !1;
1763
1763
  for (E = 0; E < c; ++E)
@@ -1769,16 +1769,16 @@ var Me = {};
1769
1769
  for (E = 0; E < A; ++E)
1770
1770
  if (M = g[$ + E], !t._isSubtype(r, m[E], a, M, i))
1771
1771
  return !1;
1772
- for (b = s._named, R = l._named, C = b.length, F = R.length, D = 0, O = 0; O < F; O += 3)
1773
- for (v = R[O]; ; ) {
1774
- if (D >= C || (J = b[D], D += 3, v < J))
1772
+ for (b = s._named, R = l._named, C = b.length, F = R.length, D = 0, L = 0; L < F; L += 3)
1773
+ for (v = R[L]; ; ) {
1774
+ if (D >= C || (x = b[D], D += 3, v < x))
1775
1775
  return !1;
1776
- if (H = b[D - 2], J < v) {
1776
+ if (H = b[D - 2], x < v) {
1777
1777
  if (H)
1778
1778
  return !1;
1779
1779
  continue;
1780
1780
  }
1781
- if (M = R[O + 1], H && !M || (M = b[D - 1], !t._isSubtype(r, R[O + 2], a, M, i)))
1781
+ if (M = R[L + 1], H && !M || (M = b[D - 1], !t._isSubtype(r, R[L + 2], a, M, i)))
1782
1782
  return !1;
1783
1783
  break;
1784
1784
  }
@@ -8342,10 +8342,10 @@ Arguments: [` + d + "]";
8342
8342
  $signature: 1
8343
8343
  }, t.flattenItemSchema_closure.prototype = {
8344
8344
  call$1(r) {
8345
- var e = null, i = "itemCreatedAt", n = "billCompletedAt", a = "perXUnit", s = "takeawayId", l = "takeawayName", _ = "productId", d = "isRefund", c = "servedAt", p = "isTakeaway", $ = "quantity", g = "unitQuantity", m = "billAdjustmentTotal", h = "itemAdjustmentTotal", A = "grossTotal", E = "takeawayPrice", M = "nettTotal", b = "layerNettTotal", R = "layerBillAdjustmentTotal", C = "layerItemAdjustmentTotal", F = "layerGrossTotal", D = "layerTakeawayPrice", O = "layerTaxTotal", v = "layerScTotal", J = "layerOtherChargeTotal", H = "customAttributes", _e = "layerZeroParentId";
8345
+ var e = null, i = "itemCreatedAt", n = "billCompletedAt", a = "perXUnit", s = "takeawayId", l = "takeawayName", _ = "productId", d = "isRefund", c = "servedAt", p = "isTakeaway", $ = "quantity", g = "unitQuantity", m = "billAdjustmentTotal", h = "itemAdjustmentTotal", A = "grossTotal", E = "takeawayPrice", M = "nettTotal", b = "layerNettTotal", R = "layerBillAdjustmentTotal", C = "layerItemAdjustmentTotal", F = "layerGrossTotal", D = "layerTakeawayPrice", L = "layerTaxTotal", v = "layerScTotal", x = "layerOtherChargeTotal", H = "customAttributes", _e = "layerZeroParentId";
8346
8346
  return t._setArrayType([t.Field_Field$string(e, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, !0, e, "docId", "_docId", e, r), t.Field_Field$string(e, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$timestamp(e, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$timestamp(e, !0, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$timestamp(e, !1, "Item time", i, i, e, r), t.Field_Field$timestamp(e, !1, "Bill close time", n, n, e, r), t.Field_Field$string(e, !1, "Bill ID", "billId", "billId", e, r), t.Field_Field$string(e, !1, "Status", "status", "status", e, r), t.Field_Field$string(e, !1, "Name", "name", "name", e, r), t.Field_Field$numeric(e, !1, "Per unit", a, a, e, r), t.Field_Field$string(e, !1, "Unit", "unit", "unit", e, r), t.Field_Field$string(`IF(@categoryName IS NULL OR @productId IS NULL OR REGEXP_CONTAINS(@productId, r'^\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d\\.\\d+([+-][0-2]\\d:[0-5]\\d|Z)$'), 'Other', @categoryName)
8347
8347
  `, !1, "Category", "categoryName", "category", `CASE WHEN @category_name IS NULL OR @product_id IS NULL OR @product_id ~ '^\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d\\.\\d+([+-][0-2]\\d:[0-5]\\d|Z)$' THEN 'Other' ELSE @category_name END
8348
- `, r), t.Field_Field$string(e, !1, "Takeaway ID", s, s, e, r), t.Field_Field$string(e, !1, "Takeaway name", l, l, e, r), t.Field_Field$string(e, !1, "Code", "code", "code", e, r), t.Field_Field$string(e, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, !1, "Product ID", _, _, e, r), t.Field_Field$string(e, !1, "Variant ID", "variantId", "variant.id", e, r), t.Field_Field$string(e, !1, "Variant", "variantName", "variant.name", e, r), t.Field_Field$bool(e, !1, "Refund", d, d, e, r), t.Field_Field$string(e, !1, "User id", "createdById", "createdBy.id", e, r), t.Field_Field$string(e, !1, "User", "createdByName", "createdBy.name", e, r), t.Field_Field$timestamp(e, !1, "Sent time", "sentAt", "sentAt", e, r), t.Field_Field$timestamp(e, !1, "Served time", c, c, e, r), t.Field_Field$timestamp(e, !1, "Printed time", "printedAt", "printBy.printAt", e, r), t.Field_Field$timestamp(e, !1, "Void time", "voidAt", "void.voidAt", e, r), t.Field_Field$string(e, !1, "Void reason", "voidReason", "void.reason", e, r), t.Field_Field$string(e, !0, e, "voidedById", "void.by.id", e, r), t.Field_Field$string(e, !1, "Void user", "voidedByName", "void.by.name", e, r), t.Field_Field$string(e, !0, e, "voidApprovedById", "void.approvedBy.id", e, r), t.Field_Field$string(e, !1, "Void approver", "voidApprovedByName", "void.approvedBy.name", e, r), t.Field_Field$bool(e, !1, "SST before discount", "sstBeforeDiscount", "sst.beforeDiscount", e, r), t.Field_Field$bool(e, !1, "SC before discount", "serviceChargeBeforeDiscount", "sc.beforeDiscount", e, r), t.Field_Field$bool(e, !1, "Takeaway", p, p, e, r), t.Field_Field$numeric("@quantity*IF(@isRefund, -1, 1)", !1, "Qty", $, $, I.x40quant, r), t.Field_Field$numeric("@unitQuantity*IF(@isRefund, -1, 1)", !1, "Unit qty", g, g, I.x40unit_, r), t.Field_Field$numeric("@sstTotal*IF(@isRefund, -1, 1)", !1, "SST", "sstTotal", "sst.total", I.x40sst_t, r), t.Field_Field$numeric(e, !0, "SST %", "sstPercentage", "sst.percentage", e, r), t.Field_Field$numeric(e, !0, "SC %", "serviceChargePercentage", "sc.percentage", e, r), t.Field_Field$numeric("@serviceChargeTotal*IF(@isRefund, -1, 1)", !1, "SC", "serviceChargeTotal", "sc.total", I.x40servi, r), t.Field_Field$numeric("@otherChargeTotal*IF(@isRefund, -1, 1)", !1, "Other charge", "otherChargeTotal", "otherCharge.total", I.x40other, r), t.Field_Field$numeric(I.x40billA, !1, "Bill discount", m, m, I.x40bill_, r), t.Field_Field$numeric(I.x40itemA, !1, "Item discount", h, h, I.x40item_, r), t.Field_Field$numeric("@grossTotal*IF(@isRefund, -1, 1)", !1, "Gross", A, A, I.x40gross, r), t.Field_Field$numeric(I.x28_grosT, !1, "Gross w/ takeaway", "grossTotalWithoutTakeaway", e, I.x28_gros_, r), t.Field_Field$numeric("@takeawayPrice*IF(@isRefund, -1, 1)", !1, "Takeaway price", E, E, I.x40takea, r), t.Field_Field$numeric("@nettTotal*IF(@isRefund, -1, 1)", !1, "Nett", M, M, I.x40nett_, r), t.Field_Field$string(e, !1, "Parent ID", "parentId", "parent.id", e, r), t.Field_Field$string(e, !1, "Parent name", "parentName", "parent.name", e, r), t.Field_Field$string(e, !1, "Addon type", "addonType", "addon.type", e, r), t.Field_Field$string(e, !1, "Addon ID", "addonId", "addon.selectionId", e, r), t.Field_Field$string("SPLIT(@addonId, '/')[OFFSET(0)]", !1, "Group ID", "groupId", e, "SPLIT_PART(@addon_id, '/',1)", r), t.Field_Field$numeric(e, !1, "Layer", "layer", "layer", e, r), t.Field_Field$numeric("@addonPrice*IF(@isRefund, -1, 1)", !1, "Addon price", "addonPrice", "addon.price", I.x40addon, r), t.Field_Field$numeric("@taxTotal*IF(@isRefund, -1, 1)", !1, "Tax", "taxTotal", "tax.total", "@tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(I.x28IFNULb, !1, "Discount", "discountTotal", e, I.x28COALEb, r), t.Field_Field$numeric(I.x28IFNULgx2b, !1, "Gross before charges", "grossBeforeCharges", e, I.x28COALEgx2b, r), t.Field_Field$numeric(I.TIMEST, !1, "Preparation seconds", "preparationSeconds", e, I.EXTRAC, r), t.Field_Field$string(I.CONCAT_, !1, "Summary", "summary", e, I.CONCATA, r), t.Field_Field$numeric("@layerNettTotal*IF(@isRefund, -1, 1)", !1, "Layer nett", b, b, "@layer_nett_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerBillAdjustmentTotal*IF(@isRefund, -1, 1)", !1, "Layer bill discount", R, R, "@layer_bill_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerItemAdjustmentTotal*IF(@isRefund, -1, 1)", !1, "Layer item discount", C, C, "@layer_item_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerGrossTotal*IF(@isRefund, -1, 1)", !1, "Layer gross total", F, F, "@layer_gross_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerTakeawayPrice*IF(@isRefund, -1, 1)", !1, "Layer takeaway price", D, D, "@layer_takeaway_price*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerTaxTotal*IF(@isRefund, -1, 1)", !1, "Layer tax total", O, O, "@layer_tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerScTotal*IF(@isRefund, -1, 1)", !1, "Layer sc", v, v, "@layer_sc_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerOtherChargeTotal*IF(@isRefund, -1, 1)", !1, "Layer other charge", J, J, "@layer_other_charge_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("(IFNULL(@layerGrossTotal,0)+IFNULL(@layerBillAdjustmentTotal,0)+IFNULL(@layerItemAdjustmentTotal,0))*IF(@isRefund, -1, 1)", !1, "Layer gross before charges", "layerGrossBeforeCharges", e, "(COALESCE(@layer_gross_total,0)+COALESCE(@layer_bill_adjustment_total,0)+COALESCE(@layer_item_adjustment_total,0))*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$string(e, !1, "Custom attributes", H, H, e, r), t.Field_Field$string(e, !1, "Layer 0 parent ID", _e, _e, e, r), t.Field_Field$string(e, !1, "Charge variant", "chargeVariant", e, "(select variant from charges where charges.parent_id=@layer_zero_parent_id and charges.restaurant_id=@restaurant_id and charges.bill_id=@bill_id and charges.code in ('SST','GST'))", r)], y.JSArray_Field);
8348
+ `, r), t.Field_Field$string(e, !1, "Takeaway ID", s, s, e, r), t.Field_Field$string(e, !1, "Takeaway name", l, l, e, r), t.Field_Field$string(e, !1, "Code", "code", "code", e, r), t.Field_Field$string(e, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, !1, "Product ID", _, _, e, r), t.Field_Field$string(e, !1, "Variant ID", "variantId", "variant.id", e, r), t.Field_Field$string(e, !1, "Variant", "variantName", "variant.name", e, r), t.Field_Field$bool(e, !1, "Refund", d, d, e, r), t.Field_Field$string(e, !1, "User id", "createdById", "createdBy.id", e, r), t.Field_Field$string(e, !1, "User", "createdByName", "createdBy.name", e, r), t.Field_Field$timestamp(e, !1, "Sent time", "sentAt", "sentAt", e, r), t.Field_Field$timestamp(e, !1, "Served time", c, c, e, r), t.Field_Field$timestamp(e, !1, "Printed time", "printedAt", "printBy.printAt", e, r), t.Field_Field$timestamp(e, !1, "Void time", "voidAt", "void.voidAt", e, r), t.Field_Field$string(e, !1, "Void reason", "voidReason", "void.reason", e, r), t.Field_Field$string(e, !0, e, "voidedById", "void.by.id", e, r), t.Field_Field$string(e, !1, "Void user", "voidedByName", "void.by.name", e, r), t.Field_Field$string(e, !0, e, "voidApprovedById", "void.approvedBy.id", e, r), t.Field_Field$string(e, !1, "Void approver", "voidApprovedByName", "void.approvedBy.name", e, r), t.Field_Field$bool(e, !1, "SST before discount", "sstBeforeDiscount", "sst.beforeDiscount", e, r), t.Field_Field$bool(e, !1, "SC before discount", "serviceChargeBeforeDiscount", "sc.beforeDiscount", e, r), t.Field_Field$bool(e, !1, "Takeaway", p, p, e, r), t.Field_Field$numeric("@quantity*IF(@isRefund, -1, 1)", !1, "Qty", $, $, I.x40quant, r), t.Field_Field$numeric("@unitQuantity*IF(@isRefund, -1, 1)", !1, "Unit qty", g, g, I.x40unit_, r), t.Field_Field$numeric("@sstTotal*IF(@isRefund, -1, 1)", !1, "SST", "sstTotal", "sst.total", I.x40sst_t, r), t.Field_Field$numeric(e, !0, "SST %", "sstPercentage", "sst.percentage", e, r), t.Field_Field$numeric(e, !0, "SC %", "serviceChargePercentage", "sc.percentage", e, r), t.Field_Field$numeric("@serviceChargeTotal*IF(@isRefund, -1, 1)", !1, "SC", "serviceChargeTotal", "sc.total", I.x40servi, r), t.Field_Field$numeric("@otherChargeTotal*IF(@isRefund, -1, 1)", !1, "Other charge", "otherChargeTotal", "otherCharge.total", I.x40other, r), t.Field_Field$numeric(I.x40billA, !1, "Bill discount", m, m, I.x40bill_, r), t.Field_Field$numeric(I.x40itemA, !1, "Item discount", h, h, I.x40item_, r), t.Field_Field$numeric("@grossTotal*IF(@isRefund, -1, 1)", !1, "Gross", A, A, I.x40gross, r), t.Field_Field$numeric(I.x28_grosT, !1, "Gross w/ takeaway", "grossTotalWithoutTakeaway", e, I.x28_gros_, r), t.Field_Field$numeric("@takeawayPrice*IF(@isRefund, -1, 1)", !1, "Takeaway price", E, E, I.x40takea, r), t.Field_Field$numeric("@nettTotal*IF(@isRefund, -1, 1)", !1, "Nett", M, M, I.x40nett_, r), t.Field_Field$string(e, !1, "Parent ID", "parentId", "parent.id", e, r), t.Field_Field$string(e, !1, "Parent name", "parentName", "parent.name", e, r), t.Field_Field$string(e, !1, "Addon type", "addonType", "addon.type", e, r), t.Field_Field$string(e, !1, "Addon ID", "addonId", "addon.selectionId", e, r), t.Field_Field$string("SPLIT(@addonId, '/')[OFFSET(0)]", !1, "Group ID", "groupId", e, "SPLIT_PART(@addon_id, '/',1)", r), t.Field_Field$numeric(e, !1, "Layer", "layer", "layer", e, r), t.Field_Field$numeric("@addonPrice*IF(@isRefund, -1, 1)", !1, "Addon price", "addonPrice", "addon.price", I.x40addon, r), t.Field_Field$numeric("@taxTotal*IF(@isRefund, -1, 1)", !1, "Tax", "taxTotal", "tax.total", "@tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(I.x28IFNULb, !1, "Discount", "discountTotal", e, I.x28COALEb, r), t.Field_Field$numeric(I.x28IFNULgx2b, !1, "Gross before charges", "grossBeforeCharges", e, I.x28COALEgx2b, r), t.Field_Field$numeric(I.TIMEST, !1, "Preparation seconds", "preparationSeconds", e, I.EXTRAC, r), t.Field_Field$string(I.CONCAT_, !1, "Summary", "summary", e, I.CONCATA, r), t.Field_Field$numeric("@layerNettTotal*IF(@isRefund, -1, 1)", !1, "Layer nett", b, b, "@layer_nett_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerBillAdjustmentTotal*IF(@isRefund, -1, 1)", !1, "Layer bill discount", R, R, "@layer_bill_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerItemAdjustmentTotal*IF(@isRefund, -1, 1)", !1, "Layer item discount", C, C, "@layer_item_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerGrossTotal*IF(@isRefund, -1, 1)", !1, "Layer gross total", F, F, "@layer_gross_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerTakeawayPrice*IF(@isRefund, -1, 1)", !1, "Layer takeaway price", D, D, "@layer_takeaway_price*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerTaxTotal*IF(@isRefund, -1, 1)", !1, "Layer tax total", L, L, "@layer_tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerScTotal*IF(@isRefund, -1, 1)", !1, "Layer sc", v, v, "@layer_sc_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerOtherChargeTotal*IF(@isRefund, -1, 1)", !1, "Layer other charge", x, x, "@layer_other_charge_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("(IFNULL(@layerGrossTotal,0)+IFNULL(@layerBillAdjustmentTotal,0)+IFNULL(@layerItemAdjustmentTotal,0))*IF(@isRefund, -1, 1)", !1, "Layer gross before charges", "layerGrossBeforeCharges", e, "(COALESCE(@layer_gross_total,0)+COALESCE(@layer_bill_adjustment_total,0)+COALESCE(@layer_item_adjustment_total,0))*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$string(e, !1, "Custom attributes", H, H, e, r), t.Field_Field$string(e, !1, "Layer 0 parent ID", _e, _e, e, r), t.Field_Field$string(e, !1, "Charge variant", "chargeVariant", e, "(select variant from charges where charges.parent_id=@layer_zero_parent_id and charges.restaurant_id=@restaurant_id and charges.bill_id=@bill_id and charges.code in ('SST','GST'))", r)], y.JSArray_Field);
8349
8349
  },
8350
8350
  $signature: 0
8351
8351
  }, t.flattenItemSchema_closure0.prototype = {
@@ -9531,12 +9531,12 @@ Arguments: [` + d + "]";
9531
9531
  var e = o.LegacyJavaScriptObject.prototype;
9532
9532
  e.super$LegacyJavaScriptObject$toString = e.toString$0, e = t.JsLinkedHashMap.prototype, e.super$JsLinkedHashMap$internalContainsKey = e.internalContainsKey$1, e.super$JsLinkedHashMap$internalGet = e.internalGet$1, e.super$JsLinkedHashMap$internalSet = e.internalSet$2, e.super$JsLinkedHashMap$internalRemove = e.internalRemove$1, e = t.Field.prototype, e.super$Field$getSql = e.getSql$3$option$schema$value, e = t.BaseDatasourceConfigModel.prototype, e.super$BaseDatasourceConfigModel$toRequests = e.toRequests$1, e.super$BaseDatasourceConfigModel$toJson = e.toJson$0;
9533
9533
  }(), function() {
9534
- var e = Y._static_2, i = Y._static_1, n = Y._instance_1u, a = Y._instance_0u;
9534
+ var e = j._static_2, i = j._static_1, n = j._instance_1u, a = j._instance_0u;
9535
9535
  e(t, "collection___defaultEquals$closure", "_defaultEquals", 32), i(t, "collection___defaultHashCode$closure", "_defaultHashCode", 41), i(t, "convert___defaultToEncodable$closure", "_defaultToEncodable", 3), i(t, "core__identityHashCode$closure", "identityHashCode", 41), i(t, "core_RegExp_escape$closure", "RegExp_escape", 4), e(t, "core__identical$closure", "identical", 32);
9536
9536
  var s;
9537
9537
  n(s = t.DateBuilder.prototype, "get$setYear", "setYear$1", 6), n(s, "get$setMonth", "setMonth$1", 6), n(s, "get$setDay", "setDay$1", 6), n(s, "get$setDayOfYear", "setDayOfYear$1", 6), n(s, "get$setHour", "setHour$1", 6), n(s, "get$setMinute", "setMinute$1", 6), n(s, "get$setSecond", "setSecond$1", 6), n(s, "get$setFractionalSecond", "setFractionalSecond$1", 6), i(t, "date_format_DateFormat_localeExists$closure", "DateFormat_localeExists", 76), a(t.DateFormat.prototype, "get$_initDigitMatcher", "_initDigitMatcher$0", 48), n(t.ReCase.prototype, "get$_upperCaseFirstLetter", "_upperCaseFirstLetter$1", 4), i(t, "js_compiler__getMergeInfoSql$closure", "getMergeInfoSql", 3), i(t, "js_compiler__getClearTableSql$closure", "getClearTableSql", 3), i(t, "js_compiler__getMergeSql$closure", "getMergeSql", 3), i(t, "js_compiler__getSchemas$closure", "getSchemas", 3), i(t, "js_compiler__getVisualizationSchemas$closure", "getVisualizationSchemas", 3), i(t, "js_compiler__requestJsonToSql$closure", "requestJsonToSql", 3), i(t, "js_compiler__sqlResponsesToQueryResponses$closure", "sqlResponsesToQueryResponses", 3), i(t, "js_compiler__getQueryRequests$closure", "getQueryRequests", 3), i(t, "js_compiler__getCreateMaterializedTableSql$closure", "getCreateMaterializedTableSql", 3);
9538
9538
  }(), function() {
9539
- var e = Y.mixin, i = Y.inherit, n = Y.inheritMany;
9539
+ var e = j.mixin, i = j.inherit, n = j.inheritMany;
9540
9540
  i(t.Object, null), n(t.Object, [t.JS_CONST, o.Interceptor, o.ArrayIterator, t.Error, t.Iterable, t.ListIterator, t.Iterator, t.EmptyIterator, t.FixedLengthListMixin, t.Symbol, t.MapView, t.ConstantMap, t.Closure, t.JSInvocationMirror, t.TypeErrorDecoder, t.NullThrownFromJavaScriptException, t._Required, t.MapMixin, t.LinkedHashMapCell, t.LinkedHashMapKeyIterator, t.JSSyntaxRegExp, t._MatchImplementation, t._AllMatchesIterator, t.StringMatch, t._StringAllMatchesIterator, t._Cell, t.Rti, t._FunctionParameters, t._Type, t._IterationMarker, t._SyncStarIterator, t.StreamTransformerBase, t.__SetBase_Object_SetMixin, t._LinkedHashSetCell, t._LinkedHashSetIterator, t._ListBase_Object_ListMixin, t.ListMixin, t._UnmodifiableMapMixin, t.SetMixin, t.Codec, t._JsonStringifier, t._Utf8Encoder, t.DateTime, t.Duration, t._Enum, t.OutOfMemoryError, t.StackOverflowError, t._Exception, t.FormatException, t.Null, t.Sink, t.StringBuffer, t.Endian, t.Digest, t.HashSink, t.DateSymbols, t.DateBuilder, t.DateFormat, t._DateFormatField, t.StringStack, t.UninitializedLocaleData, t.LocaleDataException, t.Jiffy, t.Locale, t.JiffyException, t.Connection, t.SchemaLibrary, t.QueryEngineContext, t.Permission, t.TopLevelFilters, t.Source, t.Index, t.Schema, t.Field, t.Join, t.JoinCondition, t.QueryRequestComparisonTarget, t.QueryRequestComparison, t.QueryRequestCommonField, t._GetSourceTableResponse, t._PlainSqlColumn, t.QueryRequest, t.QueryRequestTimeDimension, t.QueryResponseColumn, t.DateTimeRange, t.QueryResponse, t.QueryResponseRow, t.VisualizationSchema, t.VisualizationField, t.QueryEngine, t.BaseDatasourceConfigModel, t.DataSourceDrillConfig, t.DataSourceRowColumnConfig, t.JoinDatasourceCondition, t.GlobalFilterModel, t.ReportWidgetModel, t.ReCase]), n(o.Interceptor, [o.JSBool, o.JSNull, o.JavaScriptObject, o.JSArray, o.JSNumber, o.JSString, t.NativeTypedData]), i(o.LegacyJavaScriptObject, o.JavaScriptObject), n(o.LegacyJavaScriptObject, [o.PlainJavaScriptObject, o.UnknownJavaScriptObject, o.JavaScriptFunction, t.BufferModule, t.BufferConstants, t.Buffer, t.ConsoleModule, t.Console, t.EventEmitter, t.Promise, t.Date, t.JsError, t.Atomics, t.Modules, t.Module, t.Net, t.Socket, t.NetAddress, t.NetServer, t.NodeJsError, t.Process, t.CPUUsage, t.Release, t.StreamModule, t.Readable, t.Writable, t.Duplex, t.Transform, t.WritableOptions, t.ReadableOptions, t.Immediate, t.Timeout, t.TTY, t.Util, t.Exports, t._Exports]), i(o.JSUnmodifiableArray, o.JSArray), n(o.JSNumber, [o.JSInt, o.JSNumNotInt]), n(t.Error, [t.LateError, t.TypeError, t.JsNoSuchMethodError, t.UnknownJsTypeError, t.RuntimeError, t._Error, t.JsonUnsupportedObjectError, t.AssertionError, t.NullThrownError, t.ArgumentError, t.NoSuchMethodError, t.UnsupportedError, t.UnimplementedError, t.StateError, t.ConcurrentModificationError, t.CyclicInitializationError]), n(t.Iterable, [t.EfficientLengthIterable, t.MappedIterable, t.WhereIterable, t._ConstantMapKeyIterable, t.IterableBase, t._StringAllMatchesIterable]), n(t.EfficientLengthIterable, [t.ListIterable, t.EmptyIterable, t.LinkedHashMapKeyIterable]), n(t.ListIterable, [t.SubListIterable, t.MappedListIterable, t.ReversedListIterable, t._JsonMapKeyIterable, t._GeneratorIterable]), i(t.EfficientLengthMappedIterable, t.MappedIterable), n(t.Iterator, [t.MappedIterator, t.WhereIterator]), i(t._UnmodifiableMapView_MapView__UnmodifiableMapMixin, t.MapView), i(t.UnmodifiableMapView, t._UnmodifiableMapView_MapView__UnmodifiableMapMixin), i(t.ConstantMapView, t.UnmodifiableMapView), n(t.Closure, [t.Closure2Args, t.Closure0Args, t.TearOffClosure, t.initHooks_closure, t.initHooks_closure1, t._LinkedCustomHashMap_closure, t.DateTime_parse_parseIntOrZero, t.DateTime_parse_parseMilliAndMicroseconds, t.DateFormat_dateTimeConstructor_closure, t.DateFormat__checkDateOnly_closure, t.DateFormat__initDigitMatcher_closure, t.DateFormat__initDigitMatcher_closure0, t._DateFormatPatternField_parseStandaloneDay_closure, t.Jiffy__parseString_closure, t.SchemaLibrary_getSchema_closure, t.SchemaLibrary_visualizationSchemas_closure, t.SchemaLibrary_visualizationSchemas_closure0, t.Materialize_get_createMaterializedTableSql_closure, t.Materialize_get_createMaterializedTableSql_closure0, t.Materialize_get_createMaterializedTableSql_closure1, t.Materialize_get_createMaterializedTableSql_closure2, t.Materialize_getMergeSql_closure, t.Materialize_getMergeSql_closure0, t.Materialize_getMergeSql_closure1, t.Materialize_getMergeSql_closure2, t.Materialize_getMergeSql_closure3, t.Materialize_getMergeSql_closure4, t.TopLevelFilters_fromJson_closure, t.TopLevelFilters_toJson_closure, t.Schema_visualizationSchema_closure, t.Schema_visualizationSchema_closure0, t.Schema_visualizationSchema_closure1, t.Schema_fromJson_closure, t.Schema_fromJson_closure0, t.Schema_fromJson_closure1, t.Schema_fromJson_closure2, t.Schema_toJson_closure, t.Schema_toJson_closure0, t.Schema_toJson_closure1, t.Schema_toJson_closure2, t.Field_getQueryPlainSql_closure, t.Join_fromJson_closure, t.Join_toJson_closure, t.QueryRequestComparison_QueryRequestComparison$nested_closure, t.QueryRequestComparison_getToValues_closure, t.QueryRequestComparison_getToValues__closure0, t.QueryRequestComparison_getToValues_closure0, t.QueryRequestComparison_getToValues__closure, t.QueryRequestComparison_getFromValue_closure, t.QueryRequestComparison_getSql_closure, t.QueryRequestComparison_getSql_closure0, t.uniqueAlias_closure, t.QueryRequestCommonField_getAggregatedSql_closure, t.QueryRequestDimension_getPlainSql_closure, t.QueryRequestDimension_getColumn_closure, t.QueryRequestMetric_getColumn_closure, t.QueryRequestMetric_getPlainSql_closure, t.QueryRequest__closure0, t.QueryRequest__closure, t.QueryRequest__getJoins_closure, t.QueryRequest__getJoins__closure, t.QueryRequest_fromJson_closure, t.QueryRequest_fromJson_closure0, t.QueryRequest_fromJson_closure1, t.QueryRequest_fromJson_closure2, t.QueryRequest_fromJson_closure3, t.QueryRequest_toJson_closure, t.QueryRequest_toJson_closure0, t.QueryRequest_toJson_closure1, t.QueryRequest_toJson_closure2, t.QueryRequest_toJson_closure3, t.QueryRequest_getColumns_closure, t.QueryRequest_getColumns_closure0, t.QueryRequest__getPlainSqlColumns_closure, t.QueryRequest__getPlainSqlColumns_closure0, t.QueryRequest__getPlainSqlColumns_closure1, t.QueryRequest__getPlainSqlColumns__closure, t.QueryRequest__getPlainSqlSorts_closure, t.QueryRequest__getSqlFilters_closure, t.QueryRequest__getSqlFilters_closure0, t.QueryRequest__getSqlFilters_closure1, t.QueryRequest__getSqlFilters_closure2, t.QueryRequest__getSqlFilters_closure3, t.QueryRequest__getSqlFilters_closure4, t.QueryRequest__getSqlJoins__closure, t.QueryRequest__getSqlJoins__closure0, t.QueryRequest__getRollupSelect_closure0, t.QueryRequest__getRollupSelect_closure2, t.QueryRequest__getRollupSelect_closure3, t.QueryRequest__getRollupSelect_closure4, t.QueryRequest__getRollupSelect_closure6, t.QueryRequest__getRollupSelect_closure7, t.QueryRequest__getRollupSelect_closure8, t.QueryRequest__getRollupSelect_closure9, t.QueryRequest__hasFillGap_closure, t.QueryRequest__getSqlSelectSorts_closure, t.QueryRequest__getSqlSelectSorts__closure, t.QueryRequest__getSqlSelectSorts__closure0, t.QueryRequest_getSqlSelect_closure, t.QueryRequest_getSqlSelect_closure0, t.QueryRequest_getSqlSelect_closure1, t.QueryRequest__transformSqlAlias_closure, t.QueryRequest__getSourceTable_closure, t.QueryRequest__getSourceTable_closure0, t.QueryRequest__getFillGapTable_closure0, t.QueryRequest__getFillGapTable__closure1, t.QueryRequest__getFillGapTable__closure2, t.QueryRequest__getFillGapTable_closure2, t.QueryRequest__getFillGapTable__closure, t.QueryRequest__getFillGapTable__closure0, t.QueryRequest__getFillGapTable_closure3, t.QueryRequest__getFillGapTable_closure4, t.QueryRequest__getFullTable_closure, t.QueryRequest__getFullTable_closure1, t.QueryRequest__getFullTable_closure2, t.QueryRequestSort_getPlainSql_closure, t.QueryRequestSort_getSortSql_closure, t.QueryResponse$map_closure, t.QueryResponse$map__closure, t.QueryResponse$map___closure, t.QueryResponse_toJson_closure, t.QueryResponse_toJson_closure0, t.VisualizationSchema_toJson_closure, t.VisualizationSchema_toJson_closure0, t.VisualizationField_filterDimensionOptions_closure, t.VisualizationField_fillGapDimensionOptions_closure, t.VisualizationField_isNumericAggregations_closure, t.VisualizationField_toJson_closure, t.VisualizationField_toJson_closure0, t.VisualizationField_toJson_closure1, t.VisualizationField_toJson_closure2, t.VisualizationField_toJson_closure3, t.VisualizationField_toJson_closure4, t.VisualizationField_toJson_closure5, t.VisualizationField_toJson_closure6, t.addonFlattenItemSchema_closure, t.addonFlattenItemSchema_closure0, t.adjustmentSchema_closure, t.adjustmentSchema_closure0, t.billSchema_closure, t.billSchema_closure0, t.businessSchema_closure, t.businessSchema_closure0, t.campaignSchema_closure, t.campaignSchema_closure0, t.campaignTierSchema_closure, t.campaignTierSchema_closure0, t.chargeSchema_closure, t.chargeSchema_closure0, t.collectibleCollectionSchema_closure, t.collectibleCollectionSchema_closure0, t.collectibleConfigSchema_closure, t.collectibleConfigSchema_closure0, t.collectibleTransactionSchema_closure, t.collectibleTransactionSchema_closure0, t.counterSchema_closure, t.counterSchema_closure0, t.creditTransactionSchema_closure, t.creditTransactionSchema_closure0, t.drawerSchema_closure, t.drawerSchema_closure0, t.dsBillItemSchema_closure, t.dsBillItemSchema_closure0, t.flattenItemSchema_closure, t.flattenItemSchema_closure0, t.internalPurchaseOrderSchema_closure, t.internalPurchaseOrderSchema_closure0, t.internalPurchaseOrderDeliveryFulfillmentSchema_closure, t.internalPurchaseOrderDeliveryFulfillmentSchema_closure0, t.internalPurchaseOrderDeliveryFulfillmentSkuSchema_closure, t.internalPurchaseOrderDeliveryFulfillmentSkuSchema_closure0, t.internalPurchaseOrderDeliveryOrderSchema_closure, t.internalPurchaseOrderDeliveryOrderSchema_closure0, t.internalPurchaseOrderDeliveryOrderSkuSchema_closure, t.internalPurchaseOrderDeliveryOrderSkuSchema_closure0, t.internalPurchaseOrderItemSchema_closure, t.internalPurchaseOrderItemSchema_closure0, t.inventoryAdjustmentSchema_closure, t.inventoryAdjustmentSchema_closure0, t.inventoryAdjustmentPhysicalSkuSchema_closure, t.inventoryAdjustmentPhysicalSkuSchema_closure0, t.inventoryAdjustmentSkuSchema_closure, t.inventoryAdjustmentSkuSchema_closure0, t.inventoryV1FlattenInventorySchema_closure, t.inventoryV1FlattenInventorySchema_closure0, t.itemSchema_closure, t.itemSchema_closure0, t.itemMovementSchema_closure, t.itemMovementSchema_closure0, t.kitchenStationSchema_closure, t.kitchenStationSchema_closure0, t.memberSchema_closure, t.memberSchema_closure0, t.memberStorePurchaseSchema_closure, t.memberStorePurchaseSchema_closure0, t.memberStorePurchasePaymentSchema_closure, t.memberStorePurchasePaymentSchema_closure0, t.memberTitleSchema_closure, t.memberTitleSchema_closure0, t.memberV2Schema_closure, t.memberV2Schema_closure0, t.membershipSchema_closure, t.membershipSchema_closure0, t.membershipTitleSchema_closure, t.membershipTitleSchema_closure0, t.menuV3GroupSchema_closure, t.menuV3GroupSchema_closure0, t.menuV3ItemSchema_closure, t.menuV3ItemSchema_closure0, t.menuV3SkuSchema_closure, t.menuV3SkuSchema_closure0, t.menuV4GroupSchema_closure, t.menuV4GroupSchema_closure0, t.menuV4ItemSchema_closure, t.menuV4ItemSchema_closure0, t.menuV4ItemInventoryBindingSchema_closure, t.menuV4ItemInventoryBindingSchema_closure0, t.menuV4SkuSchema_closure, t.menuV4SkuSchema_closure0, t.parentFlattenItemSchema_closure, t.parentFlattenItemSchema_closure0, t.paymentSchema_closure, t.paymentSchema_closure0, t.paymentTimePaymentSchema_closure, t.paymentTimePaymentSchema_closure0, t.purchaseOrderSchema_closure, t.purchaseOrderSchema_closure0, t.purchaseOrderDeliveryFulfillmentSchema_closure, t.purchaseOrderDeliveryFulfillmentSchema_closure0, t.purchaseOrderDeliveryFulfillmentSkuSchema_closure, t.purchaseOrderDeliveryFulfillmentSkuSchema_closure0, t.purchaseOrderDeliveryOrderSchema_closure, t.purchaseOrderDeliveryOrderSchema_closure0, t.purchaseOrderDeliveryOrderSkuSchema_closure, t.purchaseOrderDeliveryOrderSkuSchema_closure0, t.purchaseOrderItemSchema_closure, t.purchaseOrderItemSchema_closure0, t.recommendationCallSchema_closure, t.recommendationCallSchema_closure0, t.recordSchema_closure, t.recordSchema_closure0, t.refundBillSchema_closure, t.refundBillSchema_closure0, t.restaurantSchema_closure, t.restaurantSchema_closure0, t.restaurantFeatureSchema_closure, t.restaurantFeatureSchema_closure0, t.restaurantLocationSchema_closure, t.restaurantLocationSchema_closure0, t.reviewSchema_closure, t.reviewSchema_closure0, t.slotSchema_closure, t.slotSchema_closure0, t.staffSchema_closure, t.staffSchema_closure0, t.stockSchema_closure, t.stockSchema_closure0, t.storeBundleSchema_closure, t.storeBundleSchema_closure0, t.storeTransactionSchema_closure, t.storeTransactionSchema_closure0, t.subItemSchema_closure, t.subItemSchema_closure0, t.timesheetSchema_closure, t.timesheetSchema_closure0, t.timesheetRecordSchema_closure, t.timesheetRecordSchema_closure0, t.userSchema_closure, t.userSchema_closure0, t.voucherClaimSchema_closure, t.voucherClaimSchema_closure0, t.voucherClaimRedemptionSchema_closure, t.voucherClaimRedemptionSchema_closure0, t.warehouseLocationSchema_closure, t.warehouseLocationSchema_closure0, t.QueryEngine_getSql_closure, t.BaseDatasourceConfigModel_drilledDimensionIds_closure, t.BaseDatasourceConfigModel_metricIds_closure, t.BaseDatasourceConfigModel_toJson_closure, t.BaseDatasourceConfigModel_toJson_closure0, t.BaseDatasourceConfigModel_toJson_closure1, t.BaseDatasourceConfigModel_toJson_closure2, t.BaseDatasourceConfigModel_toJson_closure3, t.BaseDatasourceConfigModel_toJson_closure4, t.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure, t.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure0, t.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure1, t.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure2, t.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure3, t.DataSourceDrillConfig_drilledDimensions_closure, t.DataSourceRowColumnConfig_rowIds_closure, t.DataSourceRowColumnConfig_rowIds_closure0, t.DataSourceRowColumnConfig_rowIds_closure2, t.DataSourceRowColumnConfig_rowIds_closure1, t.DataSourceRowColumnConfig_columnIds_closure, t.DataSourceRowColumnConfig_columnIds_closure0, t.DataSourceRowColumnConfig_columnIds_closure1, t.TableDatasourceConfigModel_joinDatasources_closure, t.TableDatasourceConfigModel_toRequests___closure, t.TableDatasourceConfigModel_toRequests_closure0, t.TableDatasourceConfigModel_toJson_closure, t.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson_closure, t.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson___closure, t.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson___closure0, t.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson____closure, t.JoinDatasourceConfig_JoinDatasourceConfig$fromJson_closure, t.JoinDatasourceConfig_toJson_closure, t.JoinDatasourceCondition_JoinDatasourceCondition$fromJson_closure, t.JoinDatasourceCondition_toJson_closure, t.getSchemas_closure, t.getVisualizationSchemas_closure, t.sqlResponsesToQueryResponses_closure, t.sqlResponsesToQueryResponses_closure1, t.getQueryRequests_closure, t.getQueryRequests_closure0, t.getQueryRequests_closure1, t.getQueryRequests_closure2, t.getQueryRequests_closure3, t.getQueryRequests_closure4, t.getQueryRequests_closure5, t.getQueryRequests_closure6, t.getQueryRequests_closure7, t.getQueryRequests_closure8, t.getQueryRequests_closure9]), n(t.Closure2Args, [t.ConstantMap_map_closure, t.Primitives_functionNoSuchMethod_closure, t.JsLinkedHashMap_addAll_closure, t.initHooks_closure0, t.LinkedHashMap_LinkedHashMap$from_closure, t.MapBase_mapToString_closure, t._JsonStringifier_writeMap_closure, t.NoSuchMethodError_toString_closure, t.DateFormat__fieldConstructors_closure, t.DateFormat__fieldConstructors_closure0, t.DateFormat__fieldConstructors_closure1, t.Jiffy__parseMap_closure, t.Join_getConditionsSql_closure, t.QueryRequest_closure, t.QueryRequest_closure0, t.QueryRequest__getPlainSqlColumns_closure2, t.QueryRequest__getSqlJoins_closure, t.QueryRequest__getRollupSelect_closure, t.QueryRequest__getRollupSelect_closure1, t.QueryRequest__getRollupSelect_closure5, t.QueryRequest__getSqlSelectSorts_closure0, t.QueryRequest__getSortedLimitTable_closure, t.QueryRequest__getFillGapTable_closure, t.QueryRequest__getFillGapTable_closure1, t.QueryRequest__getFullTable_closure0, t.VisualizationSchema_closure, t.DataSourceDrillConfig__availableIds_closure, t.DataSourceRowColumnConfig__availableIds_closure, t.DataSourceRowColumnConfig__availableIds_closure0, t.TableDatasourceConfigModel_drilledDimensions_closure, t.TableDatasourceConfigModel_toRequests_closure, t.TableDatasourceConfigModel_toRequests__closure0, t.TableDatasourceConfigModel_toRequests__closure, t.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson__closure, t.sqlResponsesToQueryResponses_closure0]), i(t.ConstantStringMap, t.ConstantMap), i(t.NullError, t.TypeError), n(t.TearOffClosure, [t.StaticClosure, t.BoundClosure]), i(t.MapBase, t.MapMixin), n(t.MapBase, [t.JsLinkedHashMap, t._JsonMap]), n(t.IterableBase, [t._AllMatchesIterable, t._SyncStarIterable]), i(t.NativeTypedArray, t.NativeTypedData), i(t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, t.NativeTypedArray), i(t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin), i(t.NativeTypedArrayOfInt, t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin), n(t.NativeTypedArrayOfInt, [t.NativeUint16List, t.NativeUint32List, t.NativeUint8List]), i(t._TypeError, t._Error), n(t.JsLinkedHashMap, [t._LinkedIdentityHashMap, t._LinkedCustomHashMap]), i(t._SetBase, t.__SetBase_Object_SetMixin), i(t._LinkedHashSet, t._SetBase), i(t.ListBase, t._ListBase_Object_ListMixin), i(t.Converter, t.StreamTransformerBase), n(t.Codec, [t.Encoding, t.JsonCodec]), i(t.JsonCyclicError, t.JsonUnsupportedObjectError), n(t.Converter, [t.JsonEncoder, t.JsonDecoder, t.Utf8Encoder]), i(t._JsonStringStringifier, t._JsonStringifier), i(t.Utf8Codec, t.Encoding), n(t.ArgumentError, [t.RangeError, t.IndexError]), i(t.DigestSink, t.Sink), i(t._Sha1Sink, t.HashSink), n(t._DateFormatField, [t._DateFormatLiteralField, t._DateFormatQuotedField, t._DateFormatPatternField]), n(t._Enum, [t.StartOfWeek, t.Units, t.SOURCE_TYPE, t.SCHEMA_NAME, t.DATA_TYPE, t.AGGREGATION_TYPE, t.COMPARISON_OPERATOR, t.DIMENSION_OPTION, t.TIME_FORMATTER, t.SORT_TYPE, t.PermissionType, t.INDEX_METHOD, t.FIELD_TYPE, t.ChartType]), n(t.Locale, [t.ArLyLocale, t.ArSaMaDzKwTnLocale, t.AzLocale, t.BnLocale, t.DeLocale, t.EnLocale, t.EsLocale, t.FaLocale, t.FrLocale, t.HiLocale, t.IdLocale, t.ItLocale, t.JaLocale, t.KoLocale, t.NbLocale, t.NlLocale, t.PlLocale, t.PtLocale, t.RuLocale, t.SvLocale, t.ThLocale, t.TrLocale, t.UkLocale, t.ZhCnLocale, t.ZhLocale]), n(t.NodeJsError, [t.JsAssertionError, t.JsRangeError, t.JsReferenceError, t.JsSyntaxError, t.JsTypeError, t.JsSystemError]), n(t.Socket, [t.TTYReadStream, t.TTYWriteStream]), n(t.Field, [t._NumericField, t._TimestampField, t._BoolField, t._StringField]), n(t.QueryRequestComparisonTarget, [t._QueryRequestComparisonTargetValue, t._QueryRequestComparisonTargetVariable]), n(t.QueryRequestCommonField, [t.QueryRequestDimension, t.QueryRequestMetric, t.QueryRequestFilter, t.QueryRequestSort]), i(t.QueryRequest__getSqlFilters__closure, t.Closure0Args), n(t.BaseDatasourceConfigModel, [t._CircularDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig, t.ScorecardDatasourceConfigModel, t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig, t._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig, t._BaseXYDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig]), i(t.CircularDatasourceConfigModel, t._CircularDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig), i(t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig, t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig), i(t.TableDatasourceConfigModel, t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig), i(t.JoinDatasourceConfig, t._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig), i(t.BaseXYDatasourceConfigModel, t._BaseXYDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig), i(t.TypedDataBuffer, t.ListBase), i(t._IntBuffer, t.TypedDataBuffer), i(t.Uint8Buffer, t._IntBuffer), e(t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, t.ListMixin), e(t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, t.FixedLengthListMixin), e(t._ListBase_Object_ListMixin, t.ListMixin), e(t._UnmodifiableMapView_MapView__UnmodifiableMapMixin, t._UnmodifiableMapMixin), e(t.__SetBase_Object_SetMixin, t.SetMixin), e(t._CircularDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig, t.DataSourceDrillConfig), e(t._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig, t.DataSourceRowColumnConfig), e(t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig, t.DataSourceRowColumnConfig), e(t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig, t.DataSourceDrillConfig), e(t._BaseXYDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig, t.DataSourceDrillConfig);
9541
9541
  }();
9542
9542
  var T = {
@@ -9683,7 +9683,7 @@ Arguments: [` + d + "]";
9683
9683
  };
9684
9684
  }();
9685
9685
  (function() {
9686
- var e = Y.makeConstList;
9686
+ var e = j.makeConstList;
9687
9687
  u.Interceptor_methods = o.Interceptor.prototype, u.JSArray_methods = o.JSArray.prototype, u.JSInt_methods = o.JSInt.prototype, u.JSNumber_methods = o.JSNumber.prototype, u.JSString_methods = o.JSString.prototype, u.JavaScriptFunction_methods = o.JavaScriptFunction.prototype, u.JavaScriptObject_methods = o.JavaScriptObject.prototype, u.NativeUint8List_methods = t.NativeUint8List.prototype, u.PlainJavaScriptObject_methods = o.PlainJavaScriptObject.prototype, u.UnknownJavaScriptObject_methods = o.UnknownJavaScriptObject.prototype, u.AGGREGATION_TYPE_0 = new t.AGGREGATION_TYPE(0, "SUM"), u.AGGREGATION_TYPE_1 = new t.AGGREGATION_TYPE(1, "AVERAGE"), u.AGGREGATION_TYPE_2 = new t.AGGREGATION_TYPE(2, "COUNT"), u.AGGREGATION_TYPE_3 = new t.AGGREGATION_TYPE(3, "COUNT_DISTINCT"), u.AGGREGATION_TYPE_4 = new t.AGGREGATION_TYPE(4, "FIRST"), u.AGGREGATION_TYPE_5 = new t.AGGREGATION_TYPE(5, "LAST"), u.AGGREGATION_TYPE_6 = new t.AGGREGATION_TYPE(6, "ANY"), u.AGGREGATION_TYPE_7 = new t.AGGREGATION_TYPE(7, "MERGE"), u.AGGREGATION_TYPE_8 = new t.AGGREGATION_TYPE(8, "MIN"), u.AGGREGATION_TYPE_9 = new t.AGGREGATION_TYPE(9, "MAX"), u.COMPARISON_OPERATOR_0 = new t.COMPARISON_OPERATOR(0, "EQUAL"), u.COMPARISON_OPERATOR_1 = new t.COMPARISON_OPERATOR(1, "NOT_EQUAL"), u.COMPARISON_OPERATOR_10 = new t.COMPARISON_OPERATOR(10, "OR"), u.COMPARISON_OPERATOR_2 = new t.COMPARISON_OPERATOR(2, "GREATER_THAN"), u.COMPARISON_OPERATOR_3 = new t.COMPARISON_OPERATOR(3, "LESS_THAN"), u.COMPARISON_OPERATOR_4 = new t.COMPARISON_OPERATOR(4, "GREATER_THAN_OR_EQUAL"), u.COMPARISON_OPERATOR_5 = new t.COMPARISON_OPERATOR(5, "LESS_THAN_OR_EQUAL"), u.COMPARISON_OPERATOR_6 = new t.COMPARISON_OPERATOR(6, "BETWEEN"), u.COMPARISON_OPERATOR_7 = new t.COMPARISON_OPERATOR(7, "LIKE"), u.COMPARISON_OPERATOR_8 = new t.COMPARISON_OPERATOR(8, "NOT_LIKE"), u.C_EmptyIterator = new t.EmptyIterator(), u.C_Endian = new t.Endian(), u.C_Endian0 = new t.Endian(), u.C_JS_CONST = function(n) {
9688
9688
  var a = Object.prototype.toString.call(n);
9689
9689
  return a.substring(8, a.length - 1);
@@ -9785,7 +9785,7 @@ Arguments: [` + d + "]";
9785
9785
  })(), function() {
9786
9786
  S._JS_INTEROP_INTERCEPTOR_TAG = null, S.Primitives__identityHashCodeProperty = null, S.BoundClosure__receiverFieldNameCache = null, S.BoundClosure__interceptorFieldNameCache = null, S.getTagFunction = null, S.alternateTagFunction = null, S.prototypeForTagFunction = null, S.dispatchRecordsForInstanceTags = null, S.interceptorsForUncacheableTags = null, S.initNativeDispatchFlag = null, S._toStringVisiting = t._setArrayType([], t.findType("JSArray<Object>")), S.cachedDateSymbols = null, S.lastDateSymbolLocale = null, S._defaultLocale = null, S.DateFormat__useNativeDigitsByDefault = t.LinkedHashMap_LinkedHashMap$_empty(y.String, y.bool), S.DateFormat__digitMatchers = t.LinkedHashMap_LinkedHashMap$_empty(y.String, t.findType("RegExp")), S.Jiffy____defaultLocale = t._Cell$(), S.VisualizationField__filterDimensionOptions = t._setArrayType([u.DIMENSION_OPTION_5, u.DIMENSION_OPTION_6, u.DIMENSION_OPTION_7, u.DIMENSION_OPTION_8, u.DIMENSION_OPTION_9], y.JSArray_DIMENSION_OPTION), S.VisualizationField__fillGapDimensionOptions = t._setArrayType([u.DIMENSION_OPTION_1, u.DIMENSION_OPTION_2, u.DIMENSION_OPTION_3, u.DIMENSION_OPTION_4, u.DIMENSION_OPTION_6, u.DIMENSION_OPTION_7, u.DIMENSION_OPTION_8, u.DIMENSION_OPTION_9, u.DIMENSION_OPTION_10], y.JSArray_DIMENSION_OPTION), S.VisualizationField__isNumericAggregations = t._setArrayType([u.AGGREGATION_TYPE_2, u.AGGREGATION_TYPE_3], y.JSArray_AGGREGATION_TYPE);
9787
9787
  }(), function() {
9788
- var e = Y.lazyFinal, i = Y.lazy;
9788
+ var e = j.lazyFinal, i = j.lazy;
9789
9789
  e(S, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => t.getIsolateAffinityTag("_$dart_dartClosure")), e(S, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => t.TypeErrorDecoder_extractPattern(t.TypeErrorDecoder_provokeCallErrorOn({
9790
9790
  toString: function() {
9791
9791
  return "$receiver$";
@@ -9822,8 +9822,8 @@ Arguments: [` + d + "]";
9822
9822
  return n.message;
9823
9823
  }
9824
9824
  }())), e(S, "DateTime__parseFormat", "$get$DateTime__parseFormat", () => t.RegExp_RegExp("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$")), e(S, "_hashSeed", "$get$_hashSeed", () => t.objectHashCode(u.Type_Object_xQ6)), e(S, "Endian_host", "$get$Endian_host", () => t.NativeByteData_NativeByteData$view(t.NativeUint16List__create1(t._ensureNativeList(t._setArrayType([1], y.JSArray_int))).buffer, 0, null).getInt8(0) === 1 ? u.C_Endian0 : u.C_Endian), e(S, "_clockKey", "$get$_clockKey", () => new t.Object()), e(S, "en_USSymbols", "$get$en_USSymbols", () => new t.DateSymbols("en_US", u.List_BC_AD, u.List_6xs, u.List_qpm, u.List_qpm, u.List_cIc, u.List_cIc, u.List_h8w, u.List_h8w, u.List_wMy, u.List_wMy, u.List_gc6, u.List_gc6, u.List_3US, u.List_AM_PM)), i(S, "_dateTimeSymbols", "$get$_dateTimeSymbols", () => t.UninitializedLocaleData$("initializeDateFormatting(<locale>)", S.$get$en_USSymbols())), i(S, "dateTimePatterns", "$get$dateTimePatterns", () => t.UninitializedLocaleData$("initializeDateFormatting(<locale>)", u.Map_EQ6TW)), e(S, "asciiZeroCodeUnit", "$get$asciiZeroCodeUnit", () => 48), e(S, "DateFormat__matchers", "$get$DateFormat__matchers", () => t._setArrayType([t.RegExp_RegExp("^'(?:[^']|'')*'"), t.RegExp_RegExp("^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|D+|m+|s+|v+|z+|Z+)"), t.RegExp_RegExp("^[^'GyMkSEahKHcLQdDmsvzZ]+")], t.findType("JSArray<RegExp>"))), e(S, "_DateFormatQuotedField__twoEscapedQuotes", "$get$_DateFormatQuotedField__twoEscapedQuotes", () => t.RegExp_RegExp("''")), e(S, "asciiDigitMatcher", "$get$asciiDigitMatcher", () => t.RegExp_RegExp("^\\d+")), i(S, "_availableLocales", "$get$_availableLocales", () => {
9825
- var n, a, s = t.EnLocale$(u.StartOfWeek_1), l = t.EnLocale$(u.StartOfWeek_1), _ = t.EnLocale$(u.StartOfWeek_1), d = t.EnLocale$(u.StartOfWeek_1), c = t.EnLocale$(u.StartOfWeek_1), p = t.EnLocale$(u.StartOfWeek_2), $ = t.EnLocale$(u.StartOfWeek_2), g = t.EnLocale$(u.StartOfWeek_1), m = t.EnLocale$(u.StartOfWeek_1), h = t.EsLocale$(u.StartOfWeek_2), A = t.EsLocale$(u.StartOfWeek_2), E = t.EsLocale$(u.StartOfWeek_1), M = t.FrLocale$(u.StartOfWeek_2), b = t.FrLocale$(u.StartOfWeek_2), R = t.FrLocale$(u.StartOfWeek_1), C = t.ZhCnLocale$(u.StartOfWeek_1), F = t.ZhCnLocale$(u.StartOfWeek_1), D = t.ZhLocale$(u.StartOfWeek_1), O = t.ZhLocale$(u.StartOfWeek_1), v = t.DeLocale$(u.StartOfWeek_2), J = t.DeLocale$(u.StartOfWeek_2), H = t.DeLocale$(u.StartOfWeek_2), _e = t.DeLocale$(u.StartOfWeek_2), Ce = t.ItLocale$(u.StartOfWeek_2), be = t.ItLocale$(u.StartOfWeek_2), Re = t.ArLyLocale$(!0, u.StartOfWeek_0), Fe = t.ArLyLocale$(!1, u.StartOfWeek_0), Oe = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_1), Le = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_1), ve = t.ArSaMaDzKwTnLocale$(!0, u.StartOfWeek_1), De = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_0), we = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_0);
9826
- return t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), n = t.PtLocale$(u.StartOfWeek_2), a = t.PtLocale$(u.StartOfWeek_1), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.LinkedHashMap_LinkedHashMap$_literal(["en", s, "en_us", l, "en_sg", _, "en_au", d, "en_ca", c, "en_gb", p, "en_ie", $, "en_il", g, "en_nz", m, "es", h, "es_do", A, "es_us", E, "fr", M, "fr_ch", b, "fr_ca", R, "zh", C, "zh_cn", F, "zh_hk", D, "zh_tw", O, "de", v, "de_de", J, "de_at", H, "de_ch", _e, "it", Ce, "it_ch", be, "ar", Re, "ar_ly", Fe, "ar_dz", Oe, "ar_kw", Le, "ar_sa", ve, "ar_ma", De, "ar_tn", we, "az", new t.AzLocale(u.StartOfWeek_2), "id", new t.IdLocale(u.StartOfWeek_1), "ja", new t.JaLocale(u.StartOfWeek_1), "ko", new t.KoLocale(u.StartOfWeek_1), "ru", new t.RuLocale(u.StartOfWeek_2), "uk", new t.UkLocale(u.StartOfWeek_2), "hi", new t.HiLocale(u.StartOfWeek_1), "pt", n, "pt_br", a, "pl", new t.PlLocale(u.StartOfWeek_2), "tr", new t.TrLocale(u.StartOfWeek_2), "sv", new t.SvLocale(u.StartOfWeek_2), "nb", new t.NbLocale(u.StartOfWeek_2), "fa", new t.FaLocale(u.StartOfWeek_0), "bn", new t.BnLocale(u.StartOfWeek_1), "nl", new t.NlLocale(u.StartOfWeek_2), "th", new t.ThLocale(u.StartOfWeek_1)], y.String, t.findType("Locale"));
9825
+ var n, a, s = t.EnLocale$(u.StartOfWeek_1), l = t.EnLocale$(u.StartOfWeek_1), _ = t.EnLocale$(u.StartOfWeek_1), d = t.EnLocale$(u.StartOfWeek_1), c = t.EnLocale$(u.StartOfWeek_1), p = t.EnLocale$(u.StartOfWeek_2), $ = t.EnLocale$(u.StartOfWeek_2), g = t.EnLocale$(u.StartOfWeek_1), m = t.EnLocale$(u.StartOfWeek_1), h = t.EsLocale$(u.StartOfWeek_2), A = t.EsLocale$(u.StartOfWeek_2), E = t.EsLocale$(u.StartOfWeek_1), M = t.FrLocale$(u.StartOfWeek_2), b = t.FrLocale$(u.StartOfWeek_2), R = t.FrLocale$(u.StartOfWeek_1), C = t.ZhCnLocale$(u.StartOfWeek_1), F = t.ZhCnLocale$(u.StartOfWeek_1), D = t.ZhLocale$(u.StartOfWeek_1), L = t.ZhLocale$(u.StartOfWeek_1), v = t.DeLocale$(u.StartOfWeek_2), x = t.DeLocale$(u.StartOfWeek_2), H = t.DeLocale$(u.StartOfWeek_2), _e = t.DeLocale$(u.StartOfWeek_2), Me = t.ItLocale$(u.StartOfWeek_2), Ce = t.ItLocale$(u.StartOfWeek_2), be = t.ArLyLocale$(!0, u.StartOfWeek_0), Re = t.ArLyLocale$(!1, u.StartOfWeek_0), Fe = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_1), Oe = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_1), Le = t.ArSaMaDzKwTnLocale$(!0, u.StartOfWeek_1), ve = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_0), De = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_0);
9826
+ return t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), n = t.PtLocale$(u.StartOfWeek_2), a = t.PtLocale$(u.StartOfWeek_1), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.LinkedHashMap_LinkedHashMap$_literal(["en", s, "en_us", l, "en_sg", _, "en_au", d, "en_ca", c, "en_gb", p, "en_ie", $, "en_il", g, "en_nz", m, "es", h, "es_do", A, "es_us", E, "fr", M, "fr_ch", b, "fr_ca", R, "zh", C, "zh_cn", F, "zh_hk", D, "zh_tw", L, "de", v, "de_de", x, "de_at", H, "de_ch", _e, "it", Me, "it_ch", Ce, "ar", be, "ar_ly", Re, "ar_dz", Fe, "ar_kw", Oe, "ar_sa", Le, "ar_ma", ve, "ar_tn", De, "az", new t.AzLocale(u.StartOfWeek_2), "id", new t.IdLocale(u.StartOfWeek_1), "ja", new t.JaLocale(u.StartOfWeek_1), "ko", new t.KoLocale(u.StartOfWeek_1), "ru", new t.RuLocale(u.StartOfWeek_2), "uk", new t.UkLocale(u.StartOfWeek_2), "hi", new t.HiLocale(u.StartOfWeek_1), "pt", n, "pt_br", a, "pl", new t.PlLocale(u.StartOfWeek_2), "tr", new t.TrLocale(u.StartOfWeek_2), "sv", new t.SvLocale(u.StartOfWeek_2), "nb", new t.NbLocale(u.StartOfWeek_2), "fa", new t.FaLocale(u.StartOfWeek_0), "bn", new t.BnLocale(u.StartOfWeek_1), "nl", new t.NlLocale(u.StartOfWeek_2), "th", new t.ThLocale(u.StartOfWeek_1)], y.String, t.findType("Locale"));
9827
9827
  }), e(S, "addonFlattenItemSchema", "$get$addonFlattenItemSchema", () => {
9828
9828
  var n = "createdAt", a = t.Source_Source$couchdb("", ""), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], y.JSArray_Permission), n);
9829
9829
  return t.Schema_Schema$build(t._setArrayType(["restaurantId"], y.JSArray_String), null, new t.addonFlattenItemSchema_closure(), u.List_empty, null, null, !1, !1, !0, !1, new t.addonFlattenItemSchema_closure0(), "Addon", "flatten_items", "flatten_item", u.SCHEMA_NAME_6, n, "", a, s);
@@ -10048,7 +10048,7 @@ Arguments: [` + d + "]";
10048
10048
  (function() {
10049
10049
  var e = function(_) {
10050
10050
  var d = {};
10051
- return d[_] = 1, Object.keys(Y.convertToFastObject(d))[0];
10051
+ return d[_] = 1, Object.keys(j.convertToFastObject(d))[0];
10052
10052
  };
10053
10053
  T.getIsolateTag = function(_) {
10054
10054
  return e("___dart_" + _ + T.isolateTag);
@@ -10061,7 +10061,7 @@ Arguments: [` + d + "]";
10061
10061
  }
10062
10062
  }
10063
10063
  T.dispatchPropertyName = T.getIsolateTag("dispatch_record");
10064
- })(), Y.setOrUpdateInterceptorsByTag({ ArrayBuffer: o.Interceptor, DataView: t.NativeTypedData, ArrayBufferView: t.NativeTypedData, Uint16Array: t.NativeUint16List, Uint32Array: t.NativeUint32List, Uint8Array: t.NativeUint8List }), Y.setOrUpdateLeafTags({ ArrayBuffer: !0, DataView: !0, ArrayBufferView: !1, Uint16Array: !0, Uint32Array: !0, Uint8Array: !1 }), t.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView", t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView", t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView", t.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
10064
+ })(), j.setOrUpdateInterceptorsByTag({ ArrayBuffer: o.Interceptor, DataView: t.NativeTypedData, ArrayBufferView: t.NativeTypedData, Uint16Array: t.NativeUint16List, Uint32Array: t.NativeUint32List, Uint8Array: t.NativeUint8List }), j.setOrUpdateLeafTags({ ArrayBuffer: !0, DataView: !0, ArrayBufferView: !1, Uint16Array: !0, Uint32Array: !0, Uint8Array: !1 }), t.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView", t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView", t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView", t.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
10065
10065
  }(), Function.prototype.call$1 = function(r) {
10066
10066
  return this(r);
10067
10067
  }, Function.prototype.call$0 = function() {
@@ -10074,7 +10074,7 @@ Arguments: [` + d + "]";
10074
10074
  return this(r, e, i);
10075
10075
  }, Function.prototype.call$8 = function(r, e, i, n, a, s, l, _) {
10076
10076
  return this(r, e, i, n, a, s, l, _);
10077
- }, se(f), function(r) {
10077
+ }, ne(f), function(r) {
10078
10078
  if (typeof document > "u") {
10079
10079
  r(null);
10080
10080
  return;
@@ -10097,72 +10097,72 @@ Arguments: [` + d + "]";
10097
10097
  typeof dartMainRunner == "function" ? dartMainRunner(e, []) : e([]);
10098
10098
  });
10099
10099
  })();
10100
- })(Me);
10100
+ })(Ie);
10101
10101
  var Ue = {};
10102
- (function(L) {
10103
- L.load = function(x, w) {
10104
- var B = typeof process < "u" && (process.versions || {}).hasOwnProperty("node"), k = B ? Object.create(globalThis) : globalThis;
10105
- if (k.scheduleImmediate = typeof setImmediate < "u" ? function(N) {
10106
- setImmediate(N);
10107
- } : function(N) {
10108
- setTimeout(N, 0);
10109
- }, k.exports = w || L, typeof process < "u" && (k.process = process), typeof __dirname < "u" && (k.__dirname = __dirname), typeof __filename < "u" && (k.__filename = __filename), typeof Buffer < "u" && (k.Buffer = Buffer), B) {
10110
- var Q = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : qe)("url");
10102
+ (function(O) {
10103
+ O.load = function(J, w) {
10104
+ var U = typeof process < "u" && (process.versions || {}).hasOwnProperty("node"), k = U ? Object.create(globalThis) : globalThis;
10105
+ if (k.scheduleImmediate = typeof setImmediate < "u" ? function(P) {
10106
+ setImmediate(P);
10107
+ } : function(P) {
10108
+ setTimeout(P, 0);
10109
+ }, k.exports = w || O, typeof process < "u" && (k.process = process), typeof __dirname < "u" && (k.__dirname = __dirname), typeof __filename < "u" && (k.__filename = __filename), typeof Buffer < "u" && (k.Buffer = Buffer), U) {
10110
+ var q = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : qe)("url");
10111
10111
  Object.defineProperty(k, "location", {
10112
10112
  value: {
10113
10113
  get href() {
10114
- return Q.pathToFileURL ? Q.pathToFileURL(process.cwd()).href + "/" : "file://" + function() {
10115
- var N = process.cwd();
10116
- return process.platform != "win32" ? N : "/" + N.replace(/\\/g, "/");
10114
+ return q.pathToFileURL ? q.pathToFileURL(process.cwd()).href + "/" : "file://" + function() {
10115
+ var P = process.cwd();
10116
+ return process.platform != "win32" ? P : "/" + P.replace(/\\/g, "/");
10117
10117
  }() + "/";
10118
10118
  }
10119
10119
  }
10120
10120
  }), function() {
10121
- function N() {
10121
+ function P() {
10122
10122
  try {
10123
10123
  throw new Error();
10124
- } catch (W) {
10125
- var q = W.stack, U = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg"), G = null;
10124
+ } catch (Y) {
10125
+ var B = Y.stack, Q = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg"), V = null;
10126
10126
  do {
10127
- var V = U.exec(q);
10128
- V != null && (G = V);
10129
- } while (V != null);
10130
- return G[1];
10127
+ var G = Q.exec(B);
10128
+ G != null && (V = G);
10129
+ } while (G != null);
10130
+ return V[1];
10131
10131
  }
10132
10132
  }
10133
- var P = null;
10133
+ var N = null;
10134
10134
  Object.defineProperty(k, "document", {
10135
10135
  value: {
10136
10136
  get currentScript() {
10137
- return P == null && (P = { src: N() }), P;
10137
+ return N == null && (N = { src: P() }), N;
10138
10138
  }
10139
10139
  }
10140
10140
  });
10141
- }(), k.dartDeferredLibraryLoader = function(N, P, q) {
10141
+ }(), k.dartDeferredLibraryLoader = function(P, N, B) {
10142
10142
  try {
10143
- load(N), P();
10144
- } catch (U) {
10145
- q(U);
10143
+ load(P), N();
10144
+ } catch (Q) {
10145
+ B(Q);
10146
10146
  }
10147
10147
  };
10148
10148
  }
10149
10149
  (function() {
10150
- function P(e, i) {
10150
+ function N(e, i) {
10151
10151
  for (var n = Object.keys(e), a = 0; a < n.length; a++) {
10152
10152
  var s = n[a];
10153
10153
  i[s] = e[s];
10154
10154
  }
10155
10155
  }
10156
- function q(e, i) {
10156
+ function B(e, i) {
10157
10157
  for (var n = Object.keys(e), a = 0; a < n.length; a++) {
10158
10158
  var s = n[a];
10159
10159
  i.hasOwnProperty(s) || (i[s] = e[s]);
10160
10160
  }
10161
10161
  }
10162
- function U(e, i) {
10162
+ function Q(e, i) {
10163
10163
  Object.assign(i, e);
10164
10164
  }
10165
- var G = function() {
10165
+ var V = function() {
10166
10166
  var e = function() {
10167
10167
  };
10168
10168
  e.prototype = { p: {} };
@@ -10181,27 +10181,27 @@ var Ue = {};
10181
10181
  }
10182
10182
  return !1;
10183
10183
  }();
10184
- function V(e, i) {
10184
+ function G(e, i) {
10185
10185
  if (e.prototype.constructor = e, e.prototype["$is" + e.name] = e, i != null) {
10186
- if (G) {
10186
+ if (V) {
10187
10187
  e.prototype.__proto__ = i.prototype;
10188
10188
  return;
10189
10189
  }
10190
10190
  var n = Object.create(i.prototype);
10191
- P(e.prototype, n), e.prototype = n;
10191
+ N(e.prototype, n), e.prototype = n;
10192
10192
  }
10193
10193
  }
10194
- function W(e, i) {
10194
+ function Y(e, i) {
10195
10195
  for (var n = 0; n < i.length; n++)
10196
- V(i[n], e);
10196
+ G(i[n], e);
10197
10197
  }
10198
- function z(e, i) {
10199
- U(i.prototype, e.prototype), e.prototype.constructor = e;
10198
+ function oe(e, i) {
10199
+ Q(i.prototype, e.prototype), e.prototype.constructor = e;
10200
10200
  }
10201
- function te(e, i) {
10202
- q(i.prototype, e.prototype), e.prototype.constructor = e;
10201
+ function Z(e, i) {
10202
+ B(i.prototype, e.prototype), e.prototype.constructor = e;
10203
10203
  }
10204
- function K(e, i, n, a) {
10204
+ function ee(e, i, n, a) {
10205
10205
  var s = e;
10206
10206
  e[i] = s, e[n] = function() {
10207
10207
  e[n] = function() {
@@ -10218,7 +10218,7 @@ var Ue = {};
10218
10218
  return l;
10219
10219
  };
10220
10220
  }
10221
- function re(e, i, n, a) {
10221
+ function ae(e, i, n, a) {
10222
10222
  var s = e;
10223
10223
  e[i] = s, e[n] = function() {
10224
10224
  return e[i] === s && (e[i] = a()), e[n] = function() {
@@ -10226,7 +10226,7 @@ var Ue = {};
10226
10226
  }, e[i];
10227
10227
  };
10228
10228
  }
10229
- function ne(e, i, n, a) {
10229
+ function se(e, i, n, a) {
10230
10230
  var s = e;
10231
10231
  e[i] = s, e[n] = function() {
10232
10232
  if (e[i] === s) {
@@ -10239,10 +10239,10 @@ var Ue = {};
10239
10239
  }, _;
10240
10240
  };
10241
10241
  }
10242
- function ee(e) {
10242
+ function ie(e) {
10243
10243
  return e.immutable$list = Array, e.fixed$length = Array, e;
10244
10244
  }
10245
- function se(e) {
10245
+ function ne(e) {
10246
10246
  return e;
10247
10247
  }
10248
10248
  function de(e) {
@@ -10282,7 +10282,7 @@ var Ue = {};
10282
10282
  I.interceptorsByTag = e;
10283
10283
  return;
10284
10284
  }
10285
- P(e, i);
10285
+ N(e, i);
10286
10286
  }
10287
10287
  function $e(e) {
10288
10288
  var i = I.leafTags;
@@ -10290,14 +10290,14 @@ var Ue = {};
10290
10290
  I.leafTags = e;
10291
10291
  return;
10292
10292
  }
10293
- P(e, i);
10293
+ N(e, i);
10294
10294
  }
10295
10295
  function ge(e) {
10296
10296
  var i = I.types, n = i.length;
10297
10297
  return i.push.apply(i, e), n;
10298
10298
  }
10299
- function Y(e, i) {
10300
- return P(i, e), e;
10299
+ function j(e, i) {
10300
+ return N(i, e), e;
10301
10301
  }
10302
10302
  var t = function() {
10303
10303
  var e = function(n, a, s, l, _) {
@@ -10309,7 +10309,7 @@ var Ue = {};
10309
10309
  return ye(_, d, n, a, s, [c], p, l);
10310
10310
  };
10311
10311
  };
10312
- return { inherit: V, inheritMany: W, mixin: z, mixinHard: te, installStaticTearOff: ye, installInstanceTearOff: he, _instance_0u: e(0, 0, null, ["call$0"], 0), _instance_1u: e(0, 1, null, ["call$1"], 0), _instance_2u: e(0, 2, null, ["call$2"], 0), _instance_0i: e(1, 0, null, ["call$0"], 0), _instance_1i: e(1, 1, null, ["call$1"], 0), _instance_2i: e(1, 2, null, ["call$2"], 0), _static_0: i(0, null, ["call$0"], 0), _static_1: i(1, null, ["call$1"], 0), _static_2: i(2, null, ["call$2"], 0), makeConstList: ee, lazy: re, lazyFinal: ne, lazyOld: K, updateHolder: Y, convertToFastObject: se, updateTypes: ge, setOrUpdateInterceptorsByTag: Te, setOrUpdateLeafTags: $e };
10312
+ return { inherit: G, inheritMany: Y, mixin: oe, mixinHard: Z, installStaticTearOff: ye, installInstanceTearOff: he, _instance_0u: e(0, 0, null, ["call$0"], 0), _instance_1u: e(0, 1, null, ["call$1"], 0), _instance_2u: e(0, 2, null, ["call$2"], 0), _instance_0i: e(1, 0, null, ["call$0"], 0), _instance_1i: e(1, 1, null, ["call$1"], 0), _instance_2i: e(1, 2, null, ["call$2"], 0), _static_0: i(0, null, ["call$0"], 0), _static_1: i(1, null, ["call$1"], 0), _static_2: i(2, null, ["call$2"], 0), makeConstList: ie, lazy: ae, lazyFinal: se, lazyOld: ee, updateHolder: j, convertToFastObject: ne, updateTypes: ge, setOrUpdateInterceptorsByTag: Te, setOrUpdateLeafTags: $e };
10313
10313
  }(), o = {
10314
10314
  JS_CONST: function() {
10315
10315
  },
@@ -10355,15 +10355,15 @@ var Ue = {};
10355
10355
  }
10356
10356
  },
10357
10357
  Sort__dualPivotQuicksort(e, i, n, a) {
10358
- var s, l, _, d, c, p, $, g, m, h, A = f.JSInt_methods._tdivFast$1(n - i + 1, 6), E = i + A, M = n - A, b = f.JSInt_methods._tdivFast$1(i + n, 2), R = b - A, C = b + A, F = u.getInterceptor$asx(e), D = F.$index(e, E), O = F.$index(e, R), v = F.$index(e, b), J = F.$index(e, C), H = F.$index(e, M);
10359
- if (a.call$2(D, O) > 0 && (s = O, O = D, D = s), a.call$2(J, H) > 0 && (s = H, H = J, J = s), a.call$2(D, v) > 0 && (s = v, v = D, D = s), a.call$2(O, v) > 0 && (s = v, v = O, O = s), a.call$2(D, J) > 0 && (s = J, J = D, D = s), a.call$2(v, J) > 0 && (s = J, J = v, v = s), a.call$2(O, H) > 0 && (s = H, H = O, O = s), a.call$2(O, v) > 0 && (s = v, v = O, O = s), a.call$2(J, H) > 0 && (s = H, H = J, J = s), F.$indexSet(e, E, D), F.$indexSet(e, b, v), F.$indexSet(e, M, H), F.$indexSet(e, R, F.$index(e, i)), F.$indexSet(e, C, F.$index(e, n)), l = i + 1, _ = n - 1, u.$eq$(a.call$2(O, J), 0)) {
10358
+ var s, l, _, d, c, p, $, g, m, h, A = f.JSInt_methods._tdivFast$1(n - i + 1, 6), E = i + A, M = n - A, b = f.JSInt_methods._tdivFast$1(i + n, 2), R = b - A, C = b + A, F = u.getInterceptor$asx(e), D = F.$index(e, E), L = F.$index(e, R), v = F.$index(e, b), x = F.$index(e, C), H = F.$index(e, M);
10359
+ if (a.call$2(D, L) > 0 && (s = L, L = D, D = s), a.call$2(x, H) > 0 && (s = H, H = x, x = s), a.call$2(D, v) > 0 && (s = v, v = D, D = s), a.call$2(L, v) > 0 && (s = v, v = L, L = s), a.call$2(D, x) > 0 && (s = x, x = D, D = s), a.call$2(v, x) > 0 && (s = x, x = v, v = s), a.call$2(L, H) > 0 && (s = H, H = L, L = s), a.call$2(L, v) > 0 && (s = v, v = L, L = s), a.call$2(x, H) > 0 && (s = H, H = x, x = s), F.$indexSet(e, E, D), F.$indexSet(e, b, v), F.$indexSet(e, M, H), F.$indexSet(e, R, F.$index(e, i)), F.$indexSet(e, C, F.$index(e, n)), l = i + 1, _ = n - 1, u.$eq$(a.call$2(L, x), 0)) {
10360
10360
  for (d = l; d <= _; ++d)
10361
- if (c = F.$index(e, d), p = a.call$2(c, O), p !== 0)
10361
+ if (c = F.$index(e, d), p = a.call$2(c, L), p !== 0)
10362
10362
  if (p < 0)
10363
10363
  d !== l && (F.$indexSet(e, d, F.$index(e, l)), F.$indexSet(e, l, c)), ++l;
10364
10364
  else
10365
10365
  for (; ; )
10366
- if (p = a.call$2(F.$index(e, _), O), p > 0) {
10366
+ if (p = a.call$2(F.$index(e, _), L), p > 0) {
10367
10367
  --_;
10368
10368
  continue;
10369
10369
  } else if ($ = _ - 1, p < 0) {
@@ -10376,37 +10376,37 @@ var Ue = {};
10376
10376
  m = !0;
10377
10377
  } else {
10378
10378
  for (d = l; d <= _; ++d)
10379
- if (c = F.$index(e, d), a.call$2(c, O) < 0)
10379
+ if (c = F.$index(e, d), a.call$2(c, L) < 0)
10380
10380
  d !== l && (F.$indexSet(e, d, F.$index(e, l)), F.$indexSet(e, l, c)), ++l;
10381
- else if (a.call$2(c, J) > 0)
10381
+ else if (a.call$2(c, x) > 0)
10382
10382
  for (; ; )
10383
- if (a.call$2(F.$index(e, _), J) > 0) {
10383
+ if (a.call$2(F.$index(e, _), x) > 0) {
10384
10384
  if (--_, _ < d)
10385
10385
  break;
10386
10386
  continue;
10387
10387
  } else {
10388
- $ = _ - 1, a.call$2(F.$index(e, _), O) < 0 ? (F.$indexSet(e, d, F.$index(e, l)), g = l + 1, F.$indexSet(e, l, F.$index(e, _)), F.$indexSet(e, _, c), l = g) : (F.$indexSet(e, d, F.$index(e, _)), F.$indexSet(e, _, c)), _ = $;
10388
+ $ = _ - 1, a.call$2(F.$index(e, _), L) < 0 ? (F.$indexSet(e, d, F.$index(e, l)), g = l + 1, F.$indexSet(e, l, F.$index(e, _)), F.$indexSet(e, _, c), l = g) : (F.$indexSet(e, d, F.$index(e, _)), F.$indexSet(e, _, c)), _ = $;
10389
10389
  break;
10390
10390
  }
10391
10391
  m = !1;
10392
10392
  }
10393
- if (h = l - 1, F.$indexSet(e, i, F.$index(e, h)), F.$indexSet(e, h, O), h = _ + 1, F.$indexSet(e, n, F.$index(e, h)), F.$indexSet(e, h, J), o.Sort__doSort(e, i, l - 2, a), o.Sort__doSort(e, _ + 2, n, a), !m)
10393
+ if (h = l - 1, F.$indexSet(e, i, F.$index(e, h)), F.$indexSet(e, h, L), h = _ + 1, F.$indexSet(e, n, F.$index(e, h)), F.$indexSet(e, h, x), o.Sort__doSort(e, i, l - 2, a), o.Sort__doSort(e, _ + 2, n, a), !m)
10394
10394
  if (l < E && _ > M) {
10395
- for (; u.$eq$(a.call$2(F.$index(e, l), O), 0); )
10395
+ for (; u.$eq$(a.call$2(F.$index(e, l), L), 0); )
10396
10396
  ++l;
10397
- for (; u.$eq$(a.call$2(F.$index(e, _), J), 0); )
10397
+ for (; u.$eq$(a.call$2(F.$index(e, _), x), 0); )
10398
10398
  --_;
10399
10399
  for (d = l; d <= _; ++d)
10400
- if (c = F.$index(e, d), a.call$2(c, O) === 0)
10400
+ if (c = F.$index(e, d), a.call$2(c, L) === 0)
10401
10401
  d !== l && (F.$indexSet(e, d, F.$index(e, l)), F.$indexSet(e, l, c)), ++l;
10402
- else if (a.call$2(c, J) === 0)
10402
+ else if (a.call$2(c, x) === 0)
10403
10403
  for (; ; )
10404
- if (a.call$2(F.$index(e, _), J) === 0) {
10404
+ if (a.call$2(F.$index(e, _), x) === 0) {
10405
10405
  if (--_, _ < d)
10406
10406
  break;
10407
10407
  continue;
10408
10408
  } else {
10409
- $ = _ - 1, a.call$2(F.$index(e, _), O) < 0 ? (F.$indexSet(e, d, F.$index(e, l)), g = l + 1, F.$indexSet(e, l, F.$index(e, _)), F.$indexSet(e, _, c), l = g) : (F.$indexSet(e, d, F.$index(e, _)), F.$indexSet(e, _, c)), _ = $;
10409
+ $ = _ - 1, a.call$2(F.$index(e, _), L) < 0 ? (F.$indexSet(e, d, F.$index(e, l)), g = l + 1, F.$indexSet(e, l, F.$index(e, _)), F.$indexSet(e, _, c), l = g) : (F.$indexSet(e, d, F.$index(e, _)), F.$indexSet(e, _, c)), _ = $;
10410
10410
  break;
10411
10411
  }
10412
10412
  o.Sort__doSort(e, l, _, a);
@@ -10743,8 +10743,8 @@ var Ue = {};
10743
10743
  var i, n, a, s, l, _, d, c, p, $, g = e.co, m = e.iS, h = e.iI, A = e.nDA, E = e.aI, M = e.fs, b = e.cs, R = M[0], C = b[0], F = g[R], D = e.fT;
10744
10744
  for (D.toString, i = Object.create(m ? new o.StaticClosure().constructor.prototype : new o.BoundClosure(null, null).constructor.prototype), i.$initialize = i.constructor, m ? n = function() {
10745
10745
  this.$initialize();
10746
- } : n = function(v, J) {
10747
- this.$initialize(v, J);
10746
+ } : n = function(v, x) {
10747
+ this.$initialize(v, x);
10748
10748
  }, i.constructor = n, n.prototype = i, i.$_name = R, i.$_target = F, a = !m, a ? s = o.Closure_forwardCallTo(R, F, h, A) : (i.$static_name = R, s = F), i.$signature = o.Closure__computeSignatureFunctionNewRti(D, m, h), i[C] = s, l = s, _ = 1; _ < M.length; ++_)
10749
10749
  d = M[_], typeof d == "string" ? (c = g[d], p = d, d = c) : p = "", $ = b[_], $ != null && (a && (d = o.Closure_forwardCallTo(p, d, h, A)), i[$] = d), _ === E && (l = d);
10750
10750
  return i["call*"] = l, i.$requiredArgCount = e.rC, i.$defaultValues = e.dV, n;
@@ -11473,28 +11473,28 @@ var Ue = {};
11473
11473
  return l + "})";
11474
11474
  },
11475
11475
  _functionRtiToString(e, i, n) {
11476
- var a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, O, v, J = ", ";
11476
+ var a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L, v, x = ", ";
11477
11477
  if (n != null) {
11478
11478
  for (a = n.length, i == null ? (i = o._setArrayType([], r.JSArray_String), s = null) : s = i.length, l = i.length, _ = a; _ > 0; --_)
11479
11479
  i.push("T" + (l + _));
11480
- for (d = r.nullable_Object, c = r.legacy_Object, p = "<", $ = "", _ = 0; _ < a; ++_, $ = J)
11480
+ for (d = r.nullable_Object, c = r.legacy_Object, p = "<", $ = "", _ = 0; _ < a; ++_, $ = x)
11481
11481
  p = f.JSString_methods.$add(p + $, i[i.length - 1 - _]), g = n[_], m = g._kind, m === 2 || m === 3 || m === 4 || m === 5 || g === d ? h = !0 : g !== c ? h = !1 : h = !0, h || (p += " extends " + o._rtiToString(g, i));
11482
11482
  p += ">";
11483
11483
  } else
11484
11484
  p = "", s = null;
11485
- for (d = e._primary, A = e._rest, E = A._requiredPositional, M = E.length, b = A._optionalPositional, R = b.length, C = A._named, F = C.length, D = o._rtiToString(d, i), O = "", v = "", _ = 0; _ < M; ++_, v = J)
11486
- O += v + o._rtiToString(E[_], i);
11485
+ for (d = e._primary, A = e._rest, E = A._requiredPositional, M = E.length, b = A._optionalPositional, R = b.length, C = A._named, F = C.length, D = o._rtiToString(d, i), L = "", v = "", _ = 0; _ < M; ++_, v = x)
11486
+ L += v + o._rtiToString(E[_], i);
11487
11487
  if (R > 0) {
11488
- for (O += v + "[", v = "", _ = 0; _ < R; ++_, v = J)
11489
- O += v + o._rtiToString(b[_], i);
11490
- O += "]";
11488
+ for (L += v + "[", v = "", _ = 0; _ < R; ++_, v = x)
11489
+ L += v + o._rtiToString(b[_], i);
11490
+ L += "]";
11491
11491
  }
11492
11492
  if (F > 0) {
11493
- for (O += v + "{", v = "", _ = 0; _ < F; _ += 3, v = J)
11494
- O += v, C[_ + 1] && (O += "required "), O += o._rtiToString(C[_ + 2], i) + " " + C[_];
11495
- O += "}";
11493
+ for (L += v + "{", v = "", _ = 0; _ < F; _ += 3, v = x)
11494
+ L += v, C[_ + 1] && (L += "required "), L += o._rtiToString(C[_ + 2], i) + " " + C[_];
11495
+ L += "}";
11496
11496
  }
11497
- return s != null && (i.toString, i.length = s), p + "(" + O + ") => " + D;
11497
+ return s != null && (i.toString, i.length = s), p + "(" + L + ") => " + D;
11498
11498
  },
11499
11499
  _rtiToString(e, i) {
11500
11500
  var n, a, s, l, _, d, c = e._kind;
@@ -11852,7 +11852,7 @@ var Ue = {};
11852
11852
  return c === 12 ? i === r.JavaScriptFunction ? !0 : l ? !1 : o._isFunctionSubtype(e, i, n, a, s) : _ === 9 ? c !== 9 ? !1 : o._isInterfaceSubtype(e, i, n, a, s) : (l = _ === 11, l && a === r.Record ? !0 : l && c === 11 ? o._isRecordSubtype(e, i, n, a, s) : !1);
11853
11853
  },
11854
11854
  _isFunctionSubtype(e, i, n, a, s) {
11855
- var l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, O, v, J, H, _e;
11855
+ var l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L, v, x, H, _e;
11856
11856
  if (!o._isSubtype(e, i._primary, n, a._primary, s) || (l = i._rest, _ = a._rest, d = l._requiredPositional, c = _._requiredPositional, p = d.length, $ = c.length, p > $) || (g = $ - p, m = l._optionalPositional, h = _._optionalPositional, A = m.length, E = h.length, p + A < $ + E))
11857
11857
  return !1;
11858
11858
  for (M = 0; M < p; ++M)
@@ -11864,23 +11864,23 @@ var Ue = {};
11864
11864
  for (M = 0; M < E; ++M)
11865
11865
  if (b = m[g + M], !o._isSubtype(e, h[M], s, b, n))
11866
11866
  return !1;
11867
- for (R = l._named, C = _._named, F = R.length, D = C.length, O = 0, v = 0; v < D; v += 3)
11868
- for (J = C[v]; ; ) {
11869
- if (O >= F || (H = R[O], O += 3, J < H))
11867
+ for (R = l._named, C = _._named, F = R.length, D = C.length, L = 0, v = 0; v < D; v += 3)
11868
+ for (x = C[v]; ; ) {
11869
+ if (L >= F || (H = R[L], L += 3, x < H))
11870
11870
  return !1;
11871
- if (_e = R[O - 2], H < J) {
11871
+ if (_e = R[L - 2], H < x) {
11872
11872
  if (_e)
11873
11873
  return !1;
11874
11874
  continue;
11875
11875
  }
11876
- if (b = C[v + 1], _e && !b || (b = R[O - 1], !o._isSubtype(e, C[v + 2], s, b, n)))
11876
+ if (b = C[v + 1], _e && !b || (b = R[L - 1], !o._isSubtype(e, C[v + 2], s, b, n)))
11877
11877
  return !1;
11878
11878
  break;
11879
11879
  }
11880
- for (; O < F; ) {
11881
- if (R[O + 1])
11880
+ for (; L < F; ) {
11881
+ if (R[L + 1])
11882
11882
  return !1;
11883
- O += 3;
11883
+ L += 3;
11884
11884
  }
11885
11885
  return !0;
11886
11886
  },
@@ -13230,17 +13230,17 @@ var Ue = {};
13230
13230
  return e instanceof o.BaseXYDatasourceConfigModel && e.isCumulative === !0 ? n = !0 : n = e instanceof o.ScorecardDatasourceConfigModel && e.isCumulative, n ? (n = r.XYDatasetModel, o.List_List$of(o.ListExtensions_mapIndexed(i, new o.accumulate_closure(e), n, n), !0, n)) : i;
13231
13231
  },
13232
13232
  formatBaseXYChartData(e, i, n, a) {
13233
- var s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, O, v, J = null;
13233
+ var s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L, v, x = null;
13234
13234
  if (n.length === 0)
13235
- return s = o._setArrayType([], r.JSArray_String), l = o._setArrayType([], r.JSArray_XYDatasetModel), _ = o.IterableExtension_get_firstOrNull(n), new o.BaseXYChartDataModel(e, s, l, new o.DateComparison(_ == null ? J : _.dateRange, J));
13235
+ return s = o._setArrayType([], r.JSArray_String), l = o._setArrayType([], r.JSArray_XYDatasetModel), _ = o.IterableExtension_get_firstOrNull(n), new o.BaseXYChartDataModel(e, s, l, new o.DateComparison(_ == null ? x : _.dateRange, x));
13236
13236
  for (d = f.JSArray_methods.get$first(n).columns, s = r.QueryResponse, c = o._formatRows(o.ListExtension_sublistOrEmpty(n, 0, 1, s)), p = o._formatRows(o.ListExtension_sublistOrEmpty(n, 1, 2, s)), p.length !== 0 && (s = o._arrayInstanceType(d)._eval$1("MappedListIterable<1,ComparisonDataColumn>"), $ = o.List_List$of(new o.MappedListIterable(d, new o.formatBaseXYChartData_closure(), s), !0, s._eval$1("ListIterable.E")), g = o.compare(new o.ComparisonData($, p), new o.ComparisonData($, c)), p = g.comparison, c = g.main), i.breakdownDimension == null && (m = f.JSArray_methods.indexWhere$1(d, new o.formatBaseXYChartData_closure0()), s = o._arrayInstanceType(c)._eval$1("MappedListIterable<1,List<@>>"), c = o.List_List$of(new o.MappedListIterable(c, new o.formatBaseXYChartData_closure1(d, m), s), !0, s._eval$1("ListIterable.E")), p.length !== 0 && (s = o._arrayInstanceType(p)._eval$1("MappedListIterable<1,List<@>>"), p = o.List_List$of(new o.MappedListIterable(p, new o.formatBaseXYChartData_closure2(d, m), s), !0, s._eval$1("ListIterable.E")))), s = r.JSArray_String, h = o._setArrayType([], s), A = o._setArrayType([], s), s = c.length, E = 0; E < c.length; c.length === s || (0, o.throwConcurrentModificationError)(c), ++E)
13237
13237
  M = c[E], l = u.getInterceptor$asx(M), h.push(u.toString$0$(l.$index(M, 0))), A.push(u.toString$0$(l.$index(M, 1)));
13238
13238
  for (s = r.String, l = o.LinkedHashSet_LinkedHashSet$from(h, s), h = o.List_List$of(l, !0, o._instanceType(l)._precomputed1), s = o.LinkedHashSet_LinkedHashSet$from(A, s), A = o.List_List$of(s, !0, o._instanceType(s)._precomputed1), b = o._setArrayType([], r.JSArray_XYDatasetModel), s = A.length, l = r.JSArray_num, E = 0; E < A.length; A.length === s || (0, o.throwConcurrentModificationError)(A), ++E) {
13239
13239
  for (R = A[E], C = o._setArrayType([], l), F = o._setArrayType([], l), _ = h.length, D = 0; D < h.length; h.length === _ || (0, o.throwConcurrentModificationError)(h), ++D)
13240
- O = h[D], v = o.IterableExtension_firstWhereOrNull(c, new o.formatBaseXYChartData_closure3(O, R)), v = v == null ? J : o.ListExtension_elementAtOrNull(v, 2), C.push(v ?? 0), p.length !== 0 && (v = o.IterableExtension_firstWhereOrNull(p, new o.formatBaseXYChartData_closure4(O, R)), v = v == null ? J : o.ListExtension_elementAtOrNull(v, 2), F.push(v ?? 0));
13240
+ L = h[D], v = o.IterableExtension_firstWhereOrNull(c, new o.formatBaseXYChartData_closure3(L, R)), v = v == null ? x : o.ListExtension_elementAtOrNull(v, 2), C.push(v ?? 0), p.length !== 0 && (v = o.IterableExtension_firstWhereOrNull(p, new o.formatBaseXYChartData_closure4(L, R)), v = v == null ? x : o.ListExtension_elementAtOrNull(v, 2), F.push(v ?? 0));
13241
13241
  b.push(new o.XYDatasetModel(R, !1, C)), F.length !== 0 && b.push(new o.XYDatasetModel(R, !0, F));
13242
13242
  }
13243
- return b = o.accumulate(i, b), s = o.IterableExtension_get_firstOrNull(n), s = s == null ? J : s.dateRange, l = o.ListExtension_elementAtOrNull(n, 1), new o.BaseXYChartDataModel(e, h, b, new o.DateComparison(s, l == null ? J : l.dateRange));
13243
+ return b = o.accumulate(i, b), s = o.IterableExtension_get_firstOrNull(n), s = s == null ? x : s.dateRange, l = o.ListExtension_elementAtOrNull(n, 1), new o.BaseXYChartDataModel(e, h, b, new o.DateComparison(s, l == null ? x : l.dateRange));
13244
13244
  },
13245
13245
  _formatRows_closure: function(i) {
13246
13246
  this.response = i;
@@ -13314,9 +13314,9 @@ var Ue = {};
13314
13314
  return new o.RowInfo(l, u.map$1$1$ax(n, new o._getRowInfo_closure(e, i, a, l), s).join$0(0));
13315
13315
  },
13316
13316
  compare(e, i) {
13317
- var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, O = {};
13318
- for (O.comparisonDateIndex = O.mainDateIndex = null, n = O.comparisonIndexesCompleted = O.mainIndexesCompleted = !1, a = i.columns, s = r.JSArray_int, l = o.IterableExtension_foldIndexed(a, o._setArrayType([], s), new o.compare_closure(O)), _ = o.IterableExtension_foldIndexed(e.columns, o._setArrayType([], s), new o.compare_closure0(O)), s = r.JSArray_String, O.dates = o._setArrayType([], s), (O.mainDateIndex != null ? O.comparisonDateIndex != null : n) && (n = r.String, n = o.ListExtensions_mapIndexed(f.JSArray_methods.fold$2(i.rows, o._setArrayType([], s), new o.compare_closure1(O)), new o.compare_closure2(f.JSArray_methods.fold$2(e.rows, o._setArrayType([], s), new o.compare_closure3(O))), n, n), O.dates = o.List_List$of(n, !0, n.$ti._eval$1("Iterable.E"))), d = f.JSArray_methods.fold$2(e.rows, o.LinkedHashMap_LinkedHashMap$_empty(r.String, r.List_dynamic), new o.compare_closure4(O, e, _)), n = r.JSArray_List_dynamic, s = o._setArrayType([], n), n = o._setArrayType([], n), c = i.rows, p = c.length, $ = r.JSArray_dynamic, g = u.getInterceptor$asx(l), m = r.dynamic, h = 0; h < c.length; c.length === p || (0, o.throwConcurrentModificationError)(c), ++h) {
13319
- if (A = c[h], E = o._getRowInfo(a, O.dates, l, A), M = d.$index(0, E.id), b = M == null ? null : u.toList$0$ax(M), b == null) {
13317
+ var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L = {};
13318
+ for (L.comparisonDateIndex = L.mainDateIndex = null, n = L.comparisonIndexesCompleted = L.mainIndexesCompleted = !1, a = i.columns, s = r.JSArray_int, l = o.IterableExtension_foldIndexed(a, o._setArrayType([], s), new o.compare_closure(L)), _ = o.IterableExtension_foldIndexed(e.columns, o._setArrayType([], s), new o.compare_closure0(L)), s = r.JSArray_String, L.dates = o._setArrayType([], s), (L.mainDateIndex != null ? L.comparisonDateIndex != null : n) && (n = r.String, n = o.ListExtensions_mapIndexed(f.JSArray_methods.fold$2(i.rows, o._setArrayType([], s), new o.compare_closure1(L)), new o.compare_closure2(f.JSArray_methods.fold$2(e.rows, o._setArrayType([], s), new o.compare_closure3(L))), n, n), L.dates = o.List_List$of(n, !0, n.$ti._eval$1("Iterable.E"))), d = f.JSArray_methods.fold$2(e.rows, o.LinkedHashMap_LinkedHashMap$_empty(r.String, r.List_dynamic), new o.compare_closure4(L, e, _)), n = r.JSArray_List_dynamic, s = o._setArrayType([], n), n = o._setArrayType([], n), c = i.rows, p = c.length, $ = r.JSArray_dynamic, g = u.getInterceptor$asx(l), m = r.dynamic, h = 0; h < c.length; c.length === p || (0, o.throwConcurrentModificationError)(c), ++h) {
13319
+ if (A = c[h], E = o._getRowInfo(a, L.dates, l, A), M = d.$index(0, E.id), b = M == null ? null : u.toList$0$ax(M), b == null) {
13320
13320
  for (M = E.row, R = o.List_List$of(o.ListExtensions_slice(M, 0, g.get$length(l), m), !0, m), C = M.length - g.get$length(l), C < 0 && o.throwExpression(o.ArgumentError$("Length must be a non-negative integer: " + C)), F = o._setArrayType(new Array(C), $), D = 0; D < C; ++D)
13321
13321
  F[D] = null;
13322
13322
  f.JSArray_methods.addAll$1(R, F), b = R;
@@ -17363,18 +17363,18 @@ Arguments: [` + c + "]";
17363
17363
  $signature: 0
17364
17364
  }, o._formatTableResponse_closure5.prototype = {
17365
17365
  call$2(e, i) {
17366
- var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, O = null, v = r.JSArray_List_dynamic, J = o._setArrayType([[]], v), H = o._setArrayType([[]], v);
17366
+ var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L = null, v = r.JSArray_List_dynamic, x = o._setArrayType([[]], v), H = o._setArrayType([[]], v);
17367
17367
  for (v = this.headers, n = i.value, a = r.dynamic, s = r.JSArray_String, l = r.String, _ = this.metricColumns, d = 0; d < v.length; ++d)
17368
17368
  if (c = v[d], p = u.getInterceptor$ax(c), $ = p.map$1$1(c, new o._formatTableResponse__closure5(), l).join$1(0, "|"), o.IterableExtension_firstWhereOrNull(c, new o._formatTableResponse__closure6()) != null)
17369
- for (g = p.firstWhere$1(c, new o._formatTableResponse__closure7()), m = p.fold$2(c, !0, new o._formatTableResponse__closure8(i)), p = J.length, h = g.type, A = g.columnValue, E = 0; E < J.length; J.length === p || (0, o.throwConcurrentModificationError)(J), ++E)
17370
- M = J[E], m ? (b = n.$index(0, A), R = M.length, d >= R && f.JSArray_methods.addAll$1(M, o.List_List$filled(d - R + 1, O, !1, a)), M[d] = b) : (b = h == null ? O : o.DataTypeExtension_toData(h, O), R = M.length, d >= R && f.JSArray_methods.addAll$1(M, o.List_List$filled(d - R + 1, O, !1, a)), M[d] = b);
17369
+ for (g = p.firstWhere$1(c, new o._formatTableResponse__closure7()), m = p.fold$2(c, !0, new o._formatTableResponse__closure8(i)), p = x.length, h = g.type, A = g.columnValue, E = 0; E < x.length; x.length === p || (0, o.throwConcurrentModificationError)(x), ++E)
17370
+ M = x[E], m ? (b = n.$index(0, A), R = M.length, d >= R && f.JSArray_methods.addAll$1(M, o.List_List$filled(d - R + 1, L, !1, a)), M[d] = b) : (b = h == null ? L : o.DataTypeExtension_toData(h, L), R = M.length, d >= R && f.JSArray_methods.addAll$1(M, o.List_List$filled(d - R + 1, L, !1, a)), M[d] = b);
17371
17371
  else if (f.JSArray_methods.contains$1(o._setArrayType(["_metric_name", "_metric_value"], s), $))
17372
17372
  for (p = $ === "_metric_value", h = $ === "_metric_name", C = 0; C < _.length; ++C)
17373
- F = _[C], o.ListExtension_elementAtOrNull(J, C) == null && (J.push(o.List_List$of(J[0], !0, a)), H.push(o.List_List$of(H[0], !0, a))), h ? (A = J[C], b = F.label, R = A.length, d >= R && f.JSArray_methods.addAll$1(A, o.List_List$filled(d - R + 1, O, !1, a)), A[d] = b, H[C].push(b)) : p && (A = J[C], b = n.$index(0, F.id), R = A.length, d >= R && f.JSArray_methods.addAll$1(A, o.List_List$filled(d - R + 1, O, !1, a)), A[d] = b);
17373
+ F = _[C], o.ListExtension_elementAtOrNull(x, C) == null && (x.push(o.List_List$of(x[0], !0, a)), H.push(o.List_List$of(H[0], !0, a))), h ? (A = x[C], b = F.label, R = A.length, d >= R && f.JSArray_methods.addAll$1(A, o.List_List$filled(d - R + 1, L, !1, a)), A[d] = b, H[C].push(b)) : p && (A = x[C], b = n.$index(0, F.id), R = A.length, d >= R && f.JSArray_methods.addAll$1(A, o.List_List$filled(d - R + 1, L, !1, a)), A[d] = b);
17374
17374
  else
17375
- for (D = 0; D < J.length; ++D)
17376
- p = J[D], h = n.$index(0, $), A = p.length, d >= A && f.JSArray_methods.addAll$1(p, o.List_List$filled(d - A + 1, O, !1, a)), p[d] = h, H[D].push(n.$index(0, $));
17377
- return v = r.Map_String_dynamic, n = o.List_List$of(e, !0, v), f.JSArray_methods.addAll$1(n, o.ListExtensions_mapIndexed(J, new o._formatTableResponse__closure9(H, i), r.List_dynamic, v)), n;
17375
+ for (D = 0; D < x.length; ++D)
17376
+ p = x[D], h = n.$index(0, $), A = p.length, d >= A && f.JSArray_methods.addAll$1(p, o.List_List$filled(d - A + 1, L, !1, a)), p[d] = h, H[D].push(n.$index(0, $));
17377
+ return v = r.Map_String_dynamic, n = o.List_List$of(e, !0, v), f.JSArray_methods.addAll$1(n, o.ListExtensions_mapIndexed(x, new o._formatTableResponse__closure9(H, i), r.List_dynamic, v)), n;
17378
17378
  },
17379
17379
  $signature: 76
17380
17380
  }, o._formatTableResponse__closure5.prototype = {
@@ -17917,8 +17917,8 @@ Arguments: [` + c + "]";
17917
17917
  return a.message;
17918
17918
  }
17919
17919
  }())), i(T, "DateTime__parseFormat", "$get$DateTime__parseFormat", () => o.RegExp_RegExp("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$")), i(T, "_hashSeed", "$get$_hashSeed", () => o.objectHashCode(f.Type_Object_xQ6)), i(T, "Endian_host", "$get$Endian_host", () => o.NativeByteData_NativeByteData$view(o.NativeUint16List__create1(o._ensureNativeList(o._setArrayType([1], r.JSArray_int))).buffer, 0, null).getInt8(0) === 1 ? f.C_Endian0 : f.C_Endian), i(T, "_clockKey", "$get$_clockKey", () => new o.Object()), i(T, "en_USSymbols", "$get$en_USSymbols", () => new o.DateSymbols("en_US", f.List_BC_AD, f.List_6xs, f.List_qpm, f.List_qpm, f.List_cIc, f.List_cIc, f.List_h8w, f.List_h8w, f.List_wMy, f.List_wMy, f.List_gc6, f.List_gc6, f.List_3US, f.List_Q1_Q2_Q3_Q4, f.List_bJM, f.List_AM_PM)), n(T, "_dateTimeSymbols", "$get$_dateTimeSymbols", () => o.UninitializedLocaleData$("initializeDateFormatting(<locale>)", T.$get$en_USSymbols())), n(T, "dateTimePatterns", "$get$dateTimePatterns", () => o.UninitializedLocaleData$("initializeDateFormatting(<locale>)", f.Map_EQ6TW)), i(T, "asciiZeroCodeUnit", "$get$asciiZeroCodeUnit", () => 48), i(T, "DateFormat__matchers", "$get$DateFormat__matchers", () => o._setArrayType([o.RegExp_RegExp("^'(?:[^']|'')*'"), o.RegExp_RegExp("^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|D+|m+|s+|v+|z+|Z+)"), o.RegExp_RegExp("^[^'GyMkSEahKHcLQdDmsvzZ]+")], o.findType("JSArray<RegExp>"))), i(T, "_DateFormatQuotedField__twoEscapedQuotes", "$get$_DateFormatQuotedField__twoEscapedQuotes", () => o.RegExp_RegExp("''")), i(T, "asciiDigitMatcher", "$get$asciiDigitMatcher", () => o.RegExp_RegExp("^\\d+")), n(T, "_availableLocales", "$get$_availableLocales", () => {
17920
- var a, s, l = o.EnLocale$(f.StartOfWeek_1), _ = o.EnLocale$(f.StartOfWeek_1), d = o.EnLocale$(f.StartOfWeek_1), c = o.EnLocale$(f.StartOfWeek_1), p = o.EnLocale$(f.StartOfWeek_1), $ = o.EnLocale$(f.StartOfWeek_2), g = o.EnLocale$(f.StartOfWeek_2), m = o.EnLocale$(f.StartOfWeek_1), h = o.EnLocale$(f.StartOfWeek_1), A = o.EsLocale$(f.StartOfWeek_2), E = o.EsLocale$(f.StartOfWeek_2), M = o.EsLocale$(f.StartOfWeek_1), b = o.FrLocale$(f.StartOfWeek_2), R = o.FrLocale$(f.StartOfWeek_2), C = o.FrLocale$(f.StartOfWeek_1), F = o.ZhCnLocale$(f.StartOfWeek_1), D = o.ZhCnLocale$(f.StartOfWeek_1), O = o.ZhLocale$(f.StartOfWeek_1), v = o.ZhLocale$(f.StartOfWeek_1), J = o.DeLocale$(f.StartOfWeek_2), H = o.DeLocale$(f.StartOfWeek_2), _e = o.DeLocale$(f.StartOfWeek_2), Ce = o.DeLocale$(f.StartOfWeek_2), be = o.ItLocale$(f.StartOfWeek_2), Re = o.ItLocale$(f.StartOfWeek_2), Fe = o.ArLyLocale$(!0, f.StartOfWeek_0), Oe = o.ArLyLocale$(!1, f.StartOfWeek_0), Le = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_1), ve = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_1), De = o.ArSaMaDzKwTnLocale$(!0, f.StartOfWeek_1), we = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_0), Ge = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_0);
17921
- return o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), a = o.PtLocale$(f.StartOfWeek_2), s = o.PtLocale$(f.StartOfWeek_1), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.LinkedHashMap_LinkedHashMap$_literal(["en", l, "en_us", _, "en_sg", d, "en_au", c, "en_ca", p, "en_gb", $, "en_ie", g, "en_il", m, "en_nz", h, "es", A, "es_do", E, "es_us", M, "fr", b, "fr_ch", R, "fr_ca", C, "zh", F, "zh_cn", D, "zh_hk", O, "zh_tw", v, "de", J, "de_de", H, "de_at", _e, "de_ch", Ce, "it", be, "it_ch", Re, "ar", Fe, "ar_ly", Oe, "ar_dz", Le, "ar_kw", ve, "ar_sa", De, "ar_ma", we, "ar_tn", Ge, "az", new o.AzLocale(f.StartOfWeek_2), "id", new o.IdLocale(f.StartOfWeek_1), "ja", new o.JaLocale(f.StartOfWeek_1), "ko", new o.KoLocale(f.StartOfWeek_1), "ru", new o.RuLocale(f.StartOfWeek_2), "uk", new o.UkLocale(f.StartOfWeek_2), "hi", new o.HiLocale(f.StartOfWeek_1), "pt", a, "pt_br", s, "pl", new o.PlLocale(f.StartOfWeek_2), "tr", new o.TrLocale(f.StartOfWeek_2), "sv", new o.SvLocale(f.StartOfWeek_2), "nb", new o.NbLocale(f.StartOfWeek_2), "fa", new o.FaLocale(f.StartOfWeek_0), "bn", new o.BnLocale(f.StartOfWeek_1), "nl", new o.NlLocale(f.StartOfWeek_2), "th", new o.ThLocale(f.StartOfWeek_1)], r.String, o.findType("Locale"));
17920
+ var a, s, l = o.EnLocale$(f.StartOfWeek_1), _ = o.EnLocale$(f.StartOfWeek_1), d = o.EnLocale$(f.StartOfWeek_1), c = o.EnLocale$(f.StartOfWeek_1), p = o.EnLocale$(f.StartOfWeek_1), $ = o.EnLocale$(f.StartOfWeek_2), g = o.EnLocale$(f.StartOfWeek_2), m = o.EnLocale$(f.StartOfWeek_1), h = o.EnLocale$(f.StartOfWeek_1), A = o.EsLocale$(f.StartOfWeek_2), E = o.EsLocale$(f.StartOfWeek_2), M = o.EsLocale$(f.StartOfWeek_1), b = o.FrLocale$(f.StartOfWeek_2), R = o.FrLocale$(f.StartOfWeek_2), C = o.FrLocale$(f.StartOfWeek_1), F = o.ZhCnLocale$(f.StartOfWeek_1), D = o.ZhCnLocale$(f.StartOfWeek_1), L = o.ZhLocale$(f.StartOfWeek_1), v = o.ZhLocale$(f.StartOfWeek_1), x = o.DeLocale$(f.StartOfWeek_2), H = o.DeLocale$(f.StartOfWeek_2), _e = o.DeLocale$(f.StartOfWeek_2), Me = o.DeLocale$(f.StartOfWeek_2), Ce = o.ItLocale$(f.StartOfWeek_2), be = o.ItLocale$(f.StartOfWeek_2), Re = o.ArLyLocale$(!0, f.StartOfWeek_0), Fe = o.ArLyLocale$(!1, f.StartOfWeek_0), Oe = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_1), Le = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_1), ve = o.ArSaMaDzKwTnLocale$(!0, f.StartOfWeek_1), De = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_0), We = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_0);
17921
+ return o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), a = o.PtLocale$(f.StartOfWeek_2), s = o.PtLocale$(f.StartOfWeek_1), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.LinkedHashMap_LinkedHashMap$_literal(["en", l, "en_us", _, "en_sg", d, "en_au", c, "en_ca", p, "en_gb", $, "en_ie", g, "en_il", m, "en_nz", h, "es", A, "es_do", E, "es_us", M, "fr", b, "fr_ch", R, "fr_ca", C, "zh", F, "zh_cn", D, "zh_hk", L, "zh_tw", v, "de", x, "de_de", H, "de_at", _e, "de_ch", Me, "it", Ce, "it_ch", be, "ar", Re, "ar_ly", Fe, "ar_dz", Oe, "ar_kw", Le, "ar_sa", ve, "ar_ma", De, "ar_tn", We, "az", new o.AzLocale(f.StartOfWeek_2), "id", new o.IdLocale(f.StartOfWeek_1), "ja", new o.JaLocale(f.StartOfWeek_1), "ko", new o.KoLocale(f.StartOfWeek_1), "ru", new o.RuLocale(f.StartOfWeek_2), "uk", new o.UkLocale(f.StartOfWeek_2), "hi", new o.HiLocale(f.StartOfWeek_1), "pt", a, "pt_br", s, "pl", new o.PlLocale(f.StartOfWeek_2), "tr", new o.TrLocale(f.StartOfWeek_2), "sv", new o.SvLocale(f.StartOfWeek_2), "nb", new o.NbLocale(f.StartOfWeek_2), "fa", new o.FaLocale(f.StartOfWeek_0), "bn", new o.BnLocale(f.StartOfWeek_1), "nl", new o.NlLocale(f.StartOfWeek_2), "th", new o.ThLocale(f.StartOfWeek_1)], r.String, o.findType("Locale"));
17922
17922
  });
17923
17923
  }(), function() {
17924
17924
  (function() {
@@ -17977,9 +17977,9 @@ Arguments: [` + c + "]";
17977
17977
  })(Ue);
17978
17978
  const Be = Ue;
17979
17979
  Be.load({});
17980
- var Pe = Be, tt = /* @__PURE__ */ ((L) => (L.Scorecard = "SCORECARD", L.Spacer = "SPACER", L.Table = "TABLE", L.BarChart = "BARCHART", L.StackBarChart = "STACKBARCHART", L.LineChart = "LINECHART", L.StackLineChart = "STACKLINECHART", L.Circular = "CIRCULAR", L))(tt || {}), rt = /* @__PURE__ */ ((L) => (L.EXCEL = "excel", L.PDF = "pdf", L.PDFFULLSIZE = "pdfFullSize", L))(rt || {});
17981
- function It(L) {
17982
- switch (L) {
17980
+ var Pe = Be, rt = /* @__PURE__ */ ((O) => (O.Scorecard = "SCORECARD", O.Spacer = "SPACER", O.Table = "TABLE", O.BarChart = "BARCHART", O.StackBarChart = "STACKBARCHART", O.LineChart = "LINECHART", O.StackLineChart = "STACKLINECHART", O.Circular = "CIRCULAR", O))(rt || {}), it = /* @__PURE__ */ ((O) => (O.EXCEL = "excel", O.PDF = "pdf", O.PDFFULLSIZE = "pdfFullSize", O))(it || {});
17981
+ function Mt(O) {
17982
+ switch (O) {
17983
17983
  case "excel":
17984
17984
  return "Excel";
17985
17985
  case "pdf":
@@ -17990,153 +17990,153 @@ function It(L) {
17990
17990
  return "Unknown";
17991
17991
  }
17992
17992
  }
17993
- const Se = "/report-settings", it = async () => {
17994
- const { businessId: L } = Z(ae());
17995
- if (L) {
17996
- const x = {
17997
- fetchType: oe.Get,
17998
- url: `${Se}/${L.value}/reports`
17993
+ const Se = "/report-settings", nt = async () => {
17994
+ const { businessId: O } = W(te());
17995
+ if (O) {
17996
+ const J = {
17997
+ fetchType: re.Get,
17998
+ url: `${Se}/${O.value}/reports`
17999
17999
  };
18000
- return ie.fetch(x);
18000
+ return X.fetch(J);
18001
18001
  } else
18002
18002
  return Promise.reject(new Error("Business Id is not defined"));
18003
- }, nt = (L) => {
18004
- const { businessId: x } = Z(ae()), w = {
18005
- fetchType: oe.Put,
18006
- url: `${Se}/${x.value}/reports/${L.id}`,
18007
- data: L
18003
+ }, at = (O) => {
18004
+ const { businessId: J } = W(te()), w = {
18005
+ fetchType: re.Put,
18006
+ url: `${Se}/${J.value}/reports/${O.id}`,
18007
+ data: O
18008
18008
  };
18009
- return ie.fetch(w);
18010
- }, at = (L) => {
18011
- const { businessId: x } = Z(ae()), w = {
18012
- fetchType: oe.Post,
18013
- url: `${Se}/${x.value}/reports`,
18014
- data: L
18009
+ return X.fetch(w);
18010
+ }, ot = (O) => {
18011
+ const { businessId: J } = W(te()), w = {
18012
+ fetchType: re.Post,
18013
+ url: `${Se}/${J.value}/reports`,
18014
+ data: O
18015
18015
  };
18016
- return ie.fetch(w);
18017
- }, ot = (L) => {
18018
- const { businessId: x } = Z(ae()), w = {
18019
- fetchType: oe.Delete,
18020
- url: `${Se}/${x.value}/reports/${L.id}`
18016
+ return X.fetch(w);
18017
+ }, st = (O) => {
18018
+ const { businessId: J } = W(te()), w = {
18019
+ fetchType: re.Delete,
18020
+ url: `${Se}/${J.value}/reports/${O.id}`
18021
18021
  };
18022
- return ie.fetch(w);
18023
- }, st = (L) => {
18024
- const { businessId: x } = Z(ae()), w = {
18025
- fetchType: oe.Put,
18026
- url: `${Se}/${x.value}/reports/default`,
18027
- data: { defaultReport: L }
18022
+ return X.fetch(w);
18023
+ }, lt = (O) => {
18024
+ const { businessId: J } = W(te()), w = {
18025
+ fetchType: re.Put,
18026
+ url: `${Se}/${J.value}/reports/default`,
18027
+ data: { defaultReport: O }
18028
18028
  };
18029
- return ie.fetch(w);
18030
- }, lt = async () => {
18031
- const { businessId: L } = Z(ae());
18032
- if (L) {
18033
- const x = {
18034
- fetchType: oe.Get,
18035
- url: `${Se}/${L.value}/overview-report`
18029
+ return X.fetch(w);
18030
+ }, _t = async () => {
18031
+ const { businessId: O } = W(te());
18032
+ if (O) {
18033
+ const J = {
18034
+ fetchType: re.Get,
18035
+ url: `${Se}/${O.value}/overview-report`
18036
18036
  };
18037
- return ie.fetch(x);
18037
+ return X.fetch(J);
18038
18038
  } else
18039
18039
  return Promise.reject(new Error("Business Id is not defined"));
18040
- }, _t = async () => {
18041
- const { businessId: L } = Z(ae());
18042
- if (L) {
18043
- const x = {
18044
- fetchType: oe.Get,
18045
- url: `${Se}/${L.value}/config`
18040
+ }, ut = async () => {
18041
+ const { businessId: O } = W(te());
18042
+ if (O) {
18043
+ const J = {
18044
+ fetchType: re.Get,
18045
+ url: `${Se}/${O.value}/config`
18046
18046
  };
18047
- return ie.fetch(x);
18047
+ return X.fetch(J);
18048
18048
  } else
18049
18049
  return Promise.reject(new Error("Business Id is not defined"));
18050
- }, ut = "/report-settings", dt = async () => {
18051
- const { businessId: L } = Z(ae());
18052
- if (L) {
18053
- const x = {
18054
- fetchType: oe.Get,
18055
- url: `${ut}/${L.value}/categories`
18050
+ }, dt = "/report-settings", ct = async () => {
18051
+ const { businessId: O } = W(te());
18052
+ if (O) {
18053
+ const J = {
18054
+ fetchType: re.Get,
18055
+ url: `${dt}/${O.value}/categories`
18056
18056
  };
18057
- return ie.fetch(x);
18057
+ return X.fetch(J);
18058
18058
  } else
18059
18059
  return Promise.reject(new Error("Business Id is not defined"));
18060
- }, ct = (L) => {
18061
- const { businessId: x } = Z(ae()), w = {
18062
- fetchType: oe.Post,
18063
- url: `/report-settings/${x.value}/date-settings`,
18060
+ }, pt = (O) => {
18061
+ const { businessId: J } = W(te()), w = {
18062
+ fetchType: re.Post,
18063
+ url: `/report-settings/${J.value}/date-settings`,
18064
18064
  data: {
18065
- ...L
18065
+ ...O
18066
18066
  }
18067
18067
  };
18068
- return ie.fetch(w);
18068
+ return X.fetch(w);
18069
18069
  };
18070
- function Je(L, x = {}) {
18071
- const w = localStorage.getItem(L);
18072
- return w === null && (x == null ? void 0 : x.fallback) !== void 0 ? x.fallback : w === null ? null : x.format ? x.format(w) : w;
18070
+ function we(O, J = {}) {
18071
+ const w = localStorage.getItem(O);
18072
+ return w === null && (J == null ? void 0 : J.fallback) !== void 0 ? J.fallback : w === null ? null : J.format ? J.format(w) : w;
18073
18073
  }
18074
18074
  const me = {
18075
- get: Je,
18076
- getJson: (L) => Je(L, {
18075
+ get: we,
18076
+ getJson: (O) => we(O, {
18077
18077
  fallback: {},
18078
- format: (x) => JSON.parse(x)
18078
+ format: (J) => JSON.parse(J)
18079
18079
  }),
18080
- getNumber: (L) => Je(L, {
18080
+ getNumber: (O) => we(O, {
18081
18081
  fallback: null,
18082
- format: (x) => Number(x)
18082
+ format: (J) => Number(J)
18083
18083
  }),
18084
18084
  set: localStorage.setItem,
18085
- setJson: (L, x) => {
18086
- localStorage.setItem(L, JSON.stringify(x));
18085
+ setJson: (O, J) => {
18086
+ localStorage.setItem(O, JSON.stringify(J));
18087
18087
  }
18088
- }, pt = "mf-reportreport-store", Qe = He(pt, () => {
18089
- const { business: L } = Z(Ie()), { flags: x } = Z(ke()), w = X([]), B = X([]), k = X(0), Q = Xe(), N = Ae(() => w.value.filter((f) => f.editable)), P = Ae(() => w.value.filter((f) => !f.editable)), q = X(!1), U = X(""), G = X(), V = X(), W = Ae(() => {
18090
- const f = x.value.find(
18091
- (S) => S.key === We.report_portal_integration_custom_report
18088
+ }, ft = "mf-reportreport-store", Qe = He(ft, () => {
18089
+ const { business: O } = W(Je()), { flags: J } = W(ke()), w = K([]), U = K([]), k = K(0), q = Ze(), P = Ae(() => w.value.filter((f) => f.editable)), N = Ae(() => w.value.filter((f) => !f.editable)), B = K(!1), Q = K(""), V = K(), G = K(), Y = Ae(() => {
18090
+ const f = J.value.find(
18091
+ (S) => S.key === Ye.report_portal_integration_custom_report
18092
18092
  );
18093
18093
  return typeof (f == null ? void 0 : f.value) == "number" ? f.value : null;
18094
- }), z = Ae(() => W.value === null ? !0 : W.value - N.value.length > 0);
18095
- async function te() {
18096
- return V.value = await lt(), V.value;
18094
+ }), oe = Ae(() => Y.value === null ? !0 : Y.value - P.value.length > 0);
18095
+ async function Z() {
18096
+ return G.value = await _t(), G.value;
18097
18097
  }
18098
- async function K() {
18098
+ async function ee() {
18099
18099
  var f;
18100
18100
  try {
18101
- w.value = await it(), B.value = await dt(), w.value.find((T) => T.id === U.value) || (U.value = ((f = w.value.find((T) => T.isDefault)) == null ? void 0 : f.id) || w.value[0].id);
18101
+ w.value = await nt(), U.value = await ct(), w.value.find((T) => T.id === Q.value) || (Q.value = ((f = w.value.find((T) => T.isDefault)) == null ? void 0 : f.id) || w.value[0].id);
18102
18102
  } catch (S) {
18103
- console.log(S), Q.open({
18103
+ console.log(S), q.open({
18104
18104
  title: "Report Fetch Error",
18105
18105
  message: "Internal Server Error",
18106
18106
  type: "error"
18107
18107
  });
18108
18108
  }
18109
18109
  }
18110
- const re = Ae(
18111
- () => w.value.find((f) => f.id === U.value)
18112
- ), ne = X(), ee = X(0), se = X(), de = X(!1), ce = X(!1), fe = X(!1);
18110
+ const ae = Ae(
18111
+ () => w.value.find((f) => f.id === Q.value)
18112
+ ), se = K(), ie = K(0), ne = K(), de = K(!1), ce = K(!1), fe = K(!1);
18113
18113
  async function pe(f) {
18114
- if (N.value.findIndex((T) => T.id === f.id) >= 0) {
18115
- const T = await nt(f);
18116
- U.value = T.id;
18117
- } else {
18114
+ if (P.value.findIndex((T) => T.id === f.id) >= 0) {
18118
18115
  const T = await at(f);
18119
- U.value = T.id;
18116
+ Q.value = T.id;
18117
+ } else {
18118
+ const T = await ot(f);
18119
+ Q.value = T.id;
18120
18120
  }
18121
- await K();
18121
+ await ee();
18122
18122
  }
18123
18123
  async function le(f) {
18124
- return await ct(f);
18124
+ return await pt(f);
18125
18125
  }
18126
18126
  async function ye(f) {
18127
- await ot(f), await K();
18127
+ await st(f), await ee();
18128
18128
  }
18129
18129
  async function he(f) {
18130
- await st(f), await K();
18130
+ await lt(f), await ee();
18131
18131
  }
18132
18132
  function Te(f) {
18133
- w.value.findIndex((T) => T.id === f) !== -1 && (U.value = f);
18133
+ w.value.findIndex((T) => T.id === f) !== -1 && (Q.value = f);
18134
18134
  }
18135
- const $e = X(null);
18135
+ const $e = K(null);
18136
18136
  function ge() {
18137
18137
  var f;
18138
- if ((f = L.value) != null && f._id) {
18139
- const S = me.getJson("pinReport")[L.value._id];
18138
+ if ((f = O.value) != null && f._id) {
18139
+ const S = me.getJson("pinReport")[O.value._id];
18140
18140
  if ((S == null ? void 0 : S.length) > 0) {
18141
18141
  $e.value = S;
18142
18142
  return;
@@ -18144,75 +18144,75 @@ const me = {
18144
18144
  }
18145
18145
  $e.value = null;
18146
18146
  }
18147
- function Y(f) {
18147
+ function j(f) {
18148
18148
  var S;
18149
- if (L.value && f) {
18149
+ if (O.value && f) {
18150
18150
  const T = me.getJson("pinReport");
18151
- T[(S = L.value) == null ? void 0 : S._id] ? T[L.value._id].push(f.id) : T[L.value._id] = [f.id], me.setJson("pinReport", T), ge();
18151
+ T[(S = O.value) == null ? void 0 : S._id] ? T[O.value._id].push(f.id) : T[O.value._id] = [f.id], me.setJson("pinReport", T), ge();
18152
18152
  }
18153
18153
  }
18154
18154
  function t(f) {
18155
- if (L.value) {
18155
+ if (O.value) {
18156
18156
  const S = me.getJson("pinReport");
18157
- S[L.value._id].length === 1 ? S[L.value._id] = [] : S[L.value._id] = S[L.value._id].filter(
18157
+ S[O.value._id].length === 1 ? S[O.value._id] = [] : S[O.value._id] = S[O.value._id].filter(
18158
18158
  (T) => T !== f
18159
18159
  ), me.setJson("pinReport", S), ge();
18160
18160
  }
18161
18161
  }
18162
18162
  function o() {
18163
- if (L.value) {
18163
+ if (O.value) {
18164
18164
  const f = me.getJson("feedback");
18165
- if (!f[L.value._id])
18166
- f[L.value._id] = {
18165
+ if (!f[O.value._id])
18166
+ f[O.value._id] = {
18167
18167
  date: ue().local().format("YYYY-MM-DD"),
18168
18168
  feedback: !1
18169
18169
  };
18170
18170
  else {
18171
- const S = ue(f[L.value._id].date).local();
18172
- Math.abs(S.diff(ue().endOf("day").local(), "d")) >= 1 && !f[L.value._id].feedback && (ce.value = !0);
18171
+ const S = ue(f[O.value._id].date).local();
18172
+ Math.abs(S.diff(ue().endOf("day").local(), "d")) >= 1 && !f[O.value._id].feedback && (ce.value = !0);
18173
18173
  }
18174
18174
  me.setJson("feedback", f);
18175
18175
  }
18176
18176
  }
18177
18177
  async function u() {
18178
- return await _t();
18178
+ return await ut();
18179
18179
  }
18180
18180
  return {
18181
18181
  isOpenDownloadDialog: de,
18182
18182
  isOpenFeedbackDialog: ce,
18183
18183
  isOpenEmailDialog: fe,
18184
- currentSelectWidgetType: G,
18184
+ currentSelectWidgetType: V,
18185
18185
  reports: w,
18186
- categories: B,
18187
- currentReport: re,
18188
- editingReport: ne,
18189
- editingIndex: ee,
18190
- editingTile: se,
18191
- currentReportId: U,
18192
- editableReports: N,
18193
- nonEditableReports: P,
18194
- isOpenAddReportDialog: q,
18195
- overviewReport: V,
18186
+ categories: U,
18187
+ currentReport: ae,
18188
+ editingReport: se,
18189
+ editingIndex: ie,
18190
+ editingTile: ne,
18191
+ currentReportId: Q,
18192
+ editableReports: P,
18193
+ nonEditableReports: N,
18194
+ isOpenAddReportDialog: B,
18195
+ overviewReport: G,
18196
18196
  pinReport: $e,
18197
18197
  scrollPositionY: k,
18198
- customReportQuota: W,
18199
- canCreateCustomReport: z,
18198
+ customReportQuota: Y,
18199
+ canCreateCustomReport: oe,
18200
18200
  createOrUpdateReport: pe,
18201
18201
  removeReport: ye,
18202
18202
  updateCurrentReportId: Te,
18203
- getReports: K,
18203
+ getReports: ee,
18204
18204
  updateDefaultReport: he,
18205
18205
  checkFeedback: o,
18206
- getOverviewReport: te,
18206
+ getOverviewReport: Z,
18207
18207
  refreshPinReport: ge,
18208
- cachePinReport: Y,
18208
+ cachePinReport: j,
18209
18209
  clearPinReport: t,
18210
18210
  getReportConfig: u,
18211
18211
  submitFeedback: le
18212
18212
  };
18213
- }), ft = "mf-reportnavigation", Ve = He(ft, () => {
18214
- const { disabled: L } = Z(Ye()), { isIntegrationWhitelist: x } = Z(ke()), w = X("v5"), B = Ae(() => {
18215
- const P = [
18213
+ }), yt = "mf-reportnavigation", Ve = He(yt, () => {
18214
+ const { disabled: O } = W(je()), { isIntegrationWhitelist: J } = W(ke()), w = K("v5"), U = Ae(() => {
18215
+ const N = [
18216
18216
  {
18217
18217
  label: "overview",
18218
18218
  value: "overview",
@@ -18227,7 +18227,7 @@ const me = {
18227
18227
  label: "insight",
18228
18228
  value: "insight",
18229
18229
  route: "insights",
18230
- badge: () => ze(Ze.FmPill, { variant: "beta" })
18230
+ badge: () => Ke(et.FmPill, { variant: "beta" })
18231
18231
  },
18232
18232
  {
18233
18233
  label: "setting",
@@ -18235,14 +18235,14 @@ const me = {
18235
18235
  route: "setting"
18236
18236
  }
18237
18237
  ];
18238
- return !L.value && x.value && P.push({
18238
+ return !O.value && J.value && N.push({
18239
18239
  label: "integration",
18240
18240
  value: "integration",
18241
18241
  route: "integrations"
18242
- }), P;
18243
- }), k = X(""), { currentRoute: Q } = et();
18244
- function N(P) {
18245
- switch (P.name) {
18242
+ }), N;
18243
+ }), k = K(""), { currentRoute: q } = tt();
18244
+ function P(N) {
18245
+ switch (N.name) {
18246
18246
  case "report":
18247
18247
  case "reports":
18248
18248
  k.value = "report";
@@ -18262,187 +18262,224 @@ const me = {
18262
18262
  break;
18263
18263
  }
18264
18264
  }
18265
- return Ke(
18266
- Q,
18267
- (P) => {
18268
- N(P);
18265
+ return Xe(
18266
+ q,
18267
+ (N) => {
18268
+ P(N);
18269
18269
  },
18270
18270
  { immediate: !0 }
18271
18271
  ), {
18272
18272
  selectedNavigationTab: k,
18273
- navigationTabs: B,
18273
+ navigationTabs: U,
18274
18274
  version: w
18275
18275
  };
18276
18276
  });
18277
- ue.extend(je);
18278
- const Mt = async (L, x) => {
18279
- var z, te, K, re;
18280
- const { businessId: w, country: B } = Z(ae()), {
18277
+ var Ge = /* @__PURE__ */ ((O) => (O.generating = "GENERATING", O.completed = "COMPLETED", O.failed = "FAILED", O.canceled = "CANCELLED", O))(Ge || {});
18278
+ ue.extend(ze);
18279
+ const Ct = async (O, J) => {
18280
+ var oe, Z, ee, ae;
18281
+ const { businessId: w, country: U } = W(te()), {
18281
18282
  selectedRestaurantIds: k,
18282
- selectedWarehouseIds: Q,
18283
- selectedLocationIds: N,
18284
- dateRange: P,
18285
- compareDateRange: q,
18286
- timeRange: U
18287
- } = Ie();
18288
- if (N.length === 0)
18283
+ selectedWarehouseIds: q,
18284
+ selectedLocationIds: P,
18285
+ dateRange: N,
18286
+ compareDateRange: B,
18287
+ timeRange: Q
18288
+ } = Je();
18289
+ if (P.length === 0)
18289
18290
  return null;
18290
- const G = {
18291
- fetchType: oe.Post,
18291
+ const V = {
18292
+ fetchType: re.Post,
18292
18293
  url: `/${w.value}/postgres-query`,
18293
- data: Me.getQueryRequests({
18294
- widget: L,
18295
- dateRange: [P.startDate, P.endDate],
18296
- compareDateRange: q.startDate && q.endDate ? [q.startDate, q.endDate] : void 0,
18294
+ data: Ie.getQueryRequests({
18295
+ widget: O,
18296
+ dateRange: [N.startDate, N.endDate],
18297
+ compareDateRange: B.startDate && B.endDate ? [B.startDate, B.endDate] : void 0,
18297
18298
  timeRange: [
18298
- ue().set("hour", Number((z = U.start) == null ? void 0 : z.hour)).set("minute", Number((te = U.start) == null ? void 0 : te.minute)).toISOString(),
18299
- ue().set("hour", Number((K = U.end) == null ? void 0 : K.hour)).set("minute", Number((re = U.end) == null ? void 0 : re.minute)).toISOString()
18299
+ ue().set("hour", Number((oe = Q.start) == null ? void 0 : oe.hour)).set("minute", Number((Z = Q.start) == null ? void 0 : Z.minute)).toISOString(),
18300
+ ue().set("hour", Number((ee = Q.end) == null ? void 0 : ee.hour)).set("minute", Number((ae = Q.end) == null ? void 0 : ae.minute)).toISOString()
18300
18301
  ],
18301
18302
  businessIds: w.value ? [w.value] : [],
18302
18303
  restaurantIds: k,
18303
- warehouseIds: Q
18304
+ warehouseIds: q
18304
18305
  }),
18305
18306
  requestConfig: {
18306
18307
  timeout: 1e3 * 60 * 5,
18307
- signal: x
18308
+ signal: J
18308
18309
  }
18309
18310
  };
18310
- let V, W = [];
18311
+ let G, Y = [];
18311
18312
  try {
18312
- W = await ie.fetch(G), V = Pe.formatChartData({
18313
- responses: W,
18314
- widget: L,
18315
- country: B.value
18313
+ Y = await X.fetch(V), G = Pe.formatChartData({
18314
+ responses: Y,
18315
+ widget: O,
18316
+ country: U.value
18316
18317
  });
18317
- } catch (ne) {
18318
- console.log(ne), G.url = G.url.replace("postgres-query", "query"), W = await ie.fetch(G), V = Pe.formatChartData({
18319
- responses: W,
18320
- widget: L,
18321
- country: B.value
18318
+ } catch (se) {
18319
+ console.log(se), V.url = V.url.replace("postgres-query", "query"), Y = await X.fetch(V), G = Pe.formatChartData({
18320
+ responses: Y,
18321
+ widget: O,
18322
+ country: U.value
18322
18323
  });
18323
18324
  }
18324
- return V;
18325
- }, Ct = async (L, x) => {
18326
- const { businessId: w } = Z(ae()), { selectedRestaurantIds: B, selectedWarehouseIds: k, dateRange: Q, timeRange: N } = Ie(), { currentReport: P, overviewReport: q } = Qe(), { selectedNavigationTab: U } = Ve();
18327
- let G = P == null ? void 0 : P.id, V = (P == null ? void 0 : P.tiles) ?? [];
18328
- U === "overview" && q && (G = q == null ? void 0 : q.id, V = (q == null ? void 0 : q.tiles) ?? []);
18329
- const W = V.filter((se, de) => typeof x == "number" ? de === x : !0).map((se) => se.widget), z = {
18330
- fetchType: oe.Post,
18325
+ return G;
18326
+ }, bt = async (O, J) => {
18327
+ const { businessId: w } = W(te()), { selectedRestaurantIds: U, selectedWarehouseIds: k, dateRange: q, timeRange: P } = Je(), { currentReport: N, overviewReport: B } = Qe(), { selectedNavigationTab: Q } = Ve();
18328
+ let V = N == null ? void 0 : N.id, G = (N == null ? void 0 : N.tiles) ?? [];
18329
+ Q === "overview" && B && (V = B == null ? void 0 : B.id, G = (B == null ? void 0 : B.tiles) ?? []);
18330
+ const Y = G.filter((ne, de) => typeof J == "number" ? de === J : !0).map((ne) => ne.widget), oe = {
18331
+ fetchType: re.Post,
18331
18332
  url: `/${w.value}/file`,
18332
18333
  data: {
18333
18334
  configs: [
18334
- ...W.map((se, de) => {
18335
+ ...Y.map((ne, de) => {
18335
18336
  var ce, fe, pe, le;
18336
18337
  return {
18337
- requests: Me.getQueryRequests({
18338
- widget: se,
18339
- dateRange: [Q.startDate, Q.endDate],
18338
+ requests: Ie.getQueryRequests({
18339
+ widget: ne,
18340
+ dateRange: [q.startDate, q.endDate],
18340
18341
  // TODO: export with comparable data?
18341
18342
  // compareDateRange:
18342
18343
  // compareDateRange.start && compareDateRange.end
18343
18344
  // ? [compareDateRange.start.toUTC().toISO(), compareDateRange.end.toUTC().toISO()]
18344
18345
  // : undefined,
18345
18346
  timeRange: [
18346
- ue().set("hour", Number((ce = N.start) == null ? void 0 : ce.hour)).set("minute", Number((fe = N.start) == null ? void 0 : fe.minute)).toISOString(),
18347
- ue().set("hour", Number((pe = N.end) == null ? void 0 : pe.hour)).set("minute", Number((le = N.end) == null ? void 0 : le.minute)).toISOString()
18347
+ ue().set("hour", Number((ce = P.start) == null ? void 0 : ce.hour)).set("minute", Number((fe = P.start) == null ? void 0 : fe.minute)).toISOString(),
18348
+ ue().set("hour", Number((pe = P.end) == null ? void 0 : pe.hour)).set("minute", Number((le = P.end) == null ? void 0 : le.minute)).toISOString()
18348
18349
  ],
18349
18350
  businessIds: w ? [w.value] : [],
18350
- restaurantIds: B,
18351
+ restaurantIds: U,
18351
18352
  warehouseIds: k
18352
18353
  }),
18353
- index: x || de,
18354
- showLabel: se.config.showLabel,
18354
+ index: J || de,
18355
+ showLabel: ne.config.showLabel,
18355
18356
  drillDimension: null
18356
18357
  };
18357
18358
  })
18358
18359
  ],
18359
- reportId: G,
18360
- type: L
18360
+ reportId: V,
18361
+ type: O
18361
18362
  },
18362
18363
  requestConfig: {
18363
18364
  responseType: "arraybuffer",
18364
18365
  timeout: 1e3 * 60 * 3
18365
18366
  }
18366
- }, { headers: te, data: K } = await ie.rawFetch(z), re = te["content-disposition"].split("filename=")[1].replaceAll('"', ""), ne = window.URL.createObjectURL(new Blob([new Uint8Array(K).buffer])), ee = document.createElement("a");
18367
- ee.href = ne, ee.setAttribute("download", decodeURIComponent(re)), document.body.appendChild(ee), ee.click(), ee.remove();
18368
- }, bt = async (L, x, w) => {
18369
- if (L.length === 0) {
18367
+ }, { headers: Z, data: ee } = await X.rawFetch(oe), ae = Z["content-disposition"].split("filename=")[1].replaceAll('"', ""), se = window.URL.createObjectURL(new Blob([new Uint8Array(ee).buffer])), ie = document.createElement("a");
18368
+ ie.href = se, ie.setAttribute("download", decodeURIComponent(ae)), document.body.appendChild(ie), ie.click(), ie.remove();
18369
+ }, Rt = async ({
18370
+ emails: O,
18371
+ types: J,
18372
+ dateRange: w,
18373
+ timeRange: U,
18374
+ locationIds: k
18375
+ }) => {
18376
+ const { businessId: q } = W(te()), { currentReport: P, overviewReport: N } = Qe(), { selectedNavigationTab: B } = Ve();
18377
+ if (O.length === 0) {
18370
18378
  console.error("No email addresses provided.");
18371
18379
  return;
18372
18380
  }
18373
- const { businessId: B } = Z(ae()), { selectedRestaurantIds: k, selectedWarehouseIds: Q, dateRange: N, timeRange: P } = Ie(), { currentReport: q, overviewReport: U } = Qe(), { selectedNavigationTab: G } = Ve(), V = G === "overview" && U ? U : q;
18374
- if (!V) {
18375
- console.error("No report data available.");
18376
- return;
18377
- }
18378
- const W = (V.tiles ?? []).filter((z, te) => w === void 0).map((z) => z.widget);
18379
- await ie.fetch({
18380
- fetchType: oe.Post,
18381
- url: `/${B.value}/reports/email`,
18382
- data: {
18383
- emails: L,
18384
- configs: W.map((z, te) => {
18385
- var K, re, ne, ee;
18386
- return {
18387
- requests: Me.getQueryRequests({
18388
- widget: z,
18389
- dateRange: [N.startDate, N.endDate],
18390
- timeRange: [
18391
- ue().hour(Number((K = P.start) == null ? void 0 : K.hour)).minute(Number((re = P.start) == null ? void 0 : re.minute)).toISOString(),
18392
- ue().hour(Number((ne = P.end) == null ? void 0 : ne.hour)).minute(Number((ee = P.end) == null ? void 0 : ee.minute)).toISOString()
18393
- ],
18394
- businessIds: B ? [B.value] : [],
18395
- restaurantIds: k,
18396
- warehouseIds: Q
18397
- }),
18398
- index: te,
18399
- showLabel: z.config.showLabel,
18400
- drillDimension: null
18401
- };
18402
- }),
18403
- reportId: V.id,
18404
- type: x
18381
+ let Q = (P == null ? void 0 : P.id) || "", V = (P == null ? void 0 : P.name) || "", G = (P == null ? void 0 : P.tiles) ?? [];
18382
+ B === "overview" && N && (Q = N == null ? void 0 : N.id, V = N.name, G = (N == null ? void 0 : N.tiles) ?? []);
18383
+ const Y = G.map((Z) => Z.widget), oe = {
18384
+ businessId: q.value,
18385
+ status: Ge.generating,
18386
+ dateRange: {
18387
+ start: w.startDate,
18388
+ end: w.endDate
18405
18389
  },
18390
+ reportName: V,
18391
+ emails: O,
18392
+ configs: Y.map((Z, ee) => {
18393
+ var ae, se, ie, ne;
18394
+ return {
18395
+ requests: Ie.getQueryRequests({
18396
+ widget: Z,
18397
+ dateRange: [w.startDate, w.endDate],
18398
+ timeRange: [
18399
+ ue().hour(Number((ae = U.start) == null ? void 0 : ae.hour)).minute(Number((se = U.start) == null ? void 0 : se.minute)).toISOString(),
18400
+ ue().hour(Number((ie = U.end) == null ? void 0 : ie.hour)).minute(Number((ne = U.end) == null ? void 0 : ne.minute)).toISOString()
18401
+ ],
18402
+ businessIds: q ? [q.value] : [],
18403
+ restaurantIds: k,
18404
+ warehouseIds: k
18405
+ }),
18406
+ index: ee,
18407
+ showLabel: Z.config.showLabel,
18408
+ drillDimension: null
18409
+ };
18410
+ }),
18411
+ reportId: Q,
18412
+ type: J
18413
+ };
18414
+ await X.fetch({
18415
+ fetchType: re.Post,
18416
+ url: `/${q.value}/reports/email`,
18417
+ data: oe,
18406
18418
  requestConfig: { timeout: 1e3 * 60 * 3 }
18407
18419
  });
18420
+ }, Ft = async (O) => {
18421
+ const { businessId: J } = W(te());
18422
+ await X.fetch({
18423
+ fetchType: re.Post,
18424
+ url: `/${J.value}/reports/resend-email`,
18425
+ data: { jobId: O },
18426
+ requestConfig: { timeout: 1e3 * 60 * 3 }
18427
+ });
18428
+ }, Ot = async () => {
18429
+ const { businessId: O } = W(te());
18430
+ return await X.fetch({
18431
+ fetchType: re.Get,
18432
+ url: `/${O.value}/reports/email-recipients`
18433
+ });
18434
+ }, Lt = async (O) => {
18435
+ const { businessId: J } = W(te());
18436
+ await X.fetch({
18437
+ fetchType: re.Post,
18438
+ url: `/${J.value}/reports/email-recipient/delete`,
18439
+ data: { email: O }
18440
+ });
18408
18441
  };
18409
18442
  let Ee;
18410
- const yt = new Uint8Array(16);
18411
- function $t() {
18443
+ const $t = new Uint8Array(16);
18444
+ function gt() {
18412
18445
  if (!Ee && (Ee = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ee))
18413
18446
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
18414
- return Ee(yt);
18447
+ return Ee($t);
18415
18448
  }
18416
- const j = [];
18417
- for (let L = 0; L < 256; ++L)
18418
- j.push((L + 256).toString(16).slice(1));
18419
- function gt(L, x = 0) {
18420
- return j[L[x + 0]] + j[L[x + 1]] + j[L[x + 2]] + j[L[x + 3]] + "-" + j[L[x + 4]] + j[L[x + 5]] + "-" + j[L[x + 6]] + j[L[x + 7]] + "-" + j[L[x + 8]] + j[L[x + 9]] + "-" + j[L[x + 10]] + j[L[x + 11]] + j[L[x + 12]] + j[L[x + 13]] + j[L[x + 14]] + j[L[x + 15]];
18449
+ const z = [];
18450
+ for (let O = 0; O < 256; ++O)
18451
+ z.push((O + 256).toString(16).slice(1));
18452
+ function mt(O, J = 0) {
18453
+ return z[O[J + 0]] + z[O[J + 1]] + z[O[J + 2]] + z[O[J + 3]] + "-" + z[O[J + 4]] + z[O[J + 5]] + "-" + z[O[J + 6]] + z[O[J + 7]] + "-" + z[O[J + 8]] + z[O[J + 9]] + "-" + z[O[J + 10]] + z[O[J + 11]] + z[O[J + 12]] + z[O[J + 13]] + z[O[J + 14]] + z[O[J + 15]];
18421
18454
  }
18422
- const mt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ne = {
18423
- randomUUID: mt
18455
+ const St = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ne = {
18456
+ randomUUID: St
18424
18457
  };
18425
- function Rt(L, x, w) {
18426
- if (Ne.randomUUID && !x && !L)
18458
+ function vt(O, J, w) {
18459
+ if (Ne.randomUUID && !J && !O)
18427
18460
  return Ne.randomUUID();
18428
- L = L || {};
18429
- const B = L.random || (L.rng || $t)();
18430
- if (B[6] = B[6] & 15 | 64, B[8] = B[8] & 63 | 128, x) {
18461
+ O = O || {};
18462
+ const U = O.random || (O.rng || gt)();
18463
+ if (U[6] = U[6] & 15 | 64, U[8] = U[8] & 63 | 128, J) {
18431
18464
  w = w || 0;
18432
18465
  for (let k = 0; k < 16; ++k)
18433
- x[w + k] = B[k];
18434
- return x;
18466
+ J[w + k] = U[k];
18467
+ return J;
18435
18468
  }
18436
- return gt(B);
18469
+ return mt(U);
18437
18470
  }
18438
18471
  export {
18439
- rt as R,
18440
- tt as W,
18472
+ it as R,
18473
+ rt as W,
18441
18474
  Qe as a,
18442
- Ct as d,
18443
- It as g,
18444
- Mt as q,
18445
- bt as s,
18475
+ Ge as b,
18476
+ Ot as c,
18477
+ bt as d,
18478
+ Lt as e,
18479
+ Mt as g,
18480
+ Ct as q,
18481
+ Ft as r,
18482
+ Rt as s,
18446
18483
  Ve as u,
18447
- Rt as v
18484
+ vt as v
18448
18485
  };