@sisense/sdk-ui-vue 2.19.0 → 2.21.0

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 (70) hide show
  1. package/dist/ai.cjs +91 -84
  2. package/dist/ai.js +1054 -1003
  3. package/dist/index-Ck90GjPy-96e79d43-84fb39da.cjs +1 -0
  4. package/dist/index-Ck90GjPy-96e79d43-96e79d43.js +397 -0
  5. package/dist/index.cjs +1 -1
  6. package/dist/index.js +797 -776
  7. package/dist/packages/sdk-ui-vue/src/components/widgets/chart-widget.d.ts +0 -28
  8. package/dist/packages/sdk-ui-vue/src/components/widgets/widget-by-id.d.ts +0 -8
  9. package/dist/packages/sdk-ui-vue/src/components/widgets/widget.d.ts +6 -6
  10. package/dist/packages/sdk-ui-vue/src/composables/use-custom-widgets.d.ts +1 -1
  11. package/dist/packages/sdk-ui-vue/src/helpers/vue-component-adapter.d.ts +54 -0
  12. package/dist/packages/sdk-ui-vue/src/translation/__external__/de-de.d.ts +1 -0
  13. package/dist/packages/sdk-ui-vue/src/translation/__external__/en-us.d.ts +1 -0
  14. package/dist/packages/sdk-ui-vue/src/translation/__external__/es-ar.d.ts +1 -0
  15. package/dist/packages/sdk-ui-vue/src/translation/__external__/es-es.d.ts +1 -0
  16. package/dist/packages/sdk-ui-vue/src/translation/__external__/fr-fr.d.ts +1 -0
  17. package/dist/packages/sdk-ui-vue/src/translation/__external__/it-it.d.ts +1 -0
  18. package/dist/packages/sdk-ui-vue/src/translation/__external__/ja-jp.d.ts +1 -0
  19. package/dist/packages/sdk-ui-vue/src/translation/__external__/ko-kr.d.ts +1 -0
  20. package/dist/packages/sdk-ui-vue/src/translation/__external__/nl-nl.d.ts +1 -0
  21. package/dist/packages/sdk-ui-vue/src/translation/__external__/pt-br.d.ts +1 -0
  22. package/dist/packages/sdk-ui-vue/src/translation/__external__/ru-ru.d.ts +1 -0
  23. package/dist/packages/sdk-ui-vue/src/translation/__external__/tr-tr.d.ts +1 -0
  24. package/dist/packages/sdk-ui-vue/src/translation/__external__/zh-cn.d.ts +1 -0
  25. package/dist/translations/de-de.cjs +1 -0
  26. package/dist/translations/de-de.d.ts +1 -0
  27. package/dist/translations/de-de.js +397 -0
  28. package/dist/translations/en-us.cjs +1 -0
  29. package/dist/translations/en-us.d.ts +1 -0
  30. package/dist/translations/en-us.js +9 -0
  31. package/dist/translations/es-ar.cjs +1 -0
  32. package/dist/translations/es-ar.d.ts +1 -0
  33. package/dist/translations/es-ar.js +397 -0
  34. package/dist/translations/es-es.cjs +1 -0
  35. package/dist/translations/es-es.d.ts +1 -0
  36. package/dist/translations/es-es.js +397 -0
  37. package/dist/translations/fr-fr.cjs +1 -0
  38. package/dist/translations/fr-fr.d.ts +1 -0
  39. package/dist/translations/fr-fr.js +397 -0
  40. package/dist/translations/it-it.cjs +1 -0
  41. package/dist/translations/it-it.d.ts +1 -0
  42. package/dist/translations/it-it.js +397 -0
  43. package/dist/translations/ja-jp.cjs +1 -0
  44. package/dist/translations/ja-jp.d.ts +1 -0
  45. package/dist/translations/ja-jp.js +397 -0
  46. package/dist/translations/ko-kr.cjs +1 -0
  47. package/dist/translations/ko-kr.d.ts +1 -0
  48. package/dist/translations/ko-kr.js +397 -0
  49. package/dist/translations/nl-nl.cjs +1 -0
  50. package/dist/translations/nl-nl.d.ts +1 -0
  51. package/dist/translations/nl-nl.js +397 -0
  52. package/dist/translations/pt-br.cjs +1 -0
  53. package/dist/translations/pt-br.d.ts +1 -0
  54. package/dist/translations/pt-br.js +397 -0
  55. package/dist/translations/ru-ru.cjs +1 -0
  56. package/dist/translations/ru-ru.d.ts +1 -0
  57. package/dist/translations/ru-ru.js +397 -0
  58. package/dist/translations/tr-tr.cjs +1 -0
  59. package/dist/translations/tr-tr.d.ts +1 -0
  60. package/dist/translations/tr-tr.js +397 -0
  61. package/dist/translations/zh-cn.cjs +1 -0
  62. package/dist/translations/zh-cn.d.ts +1 -0
  63. package/dist/translations/zh-cn.js +397 -0
  64. package/dist/{use-tracking-69c1d4a3.js → use-tracking-4a4b3434.js} +64182 -64543
  65. package/dist/{use-tracking-4ca04288.cjs → use-tracking-801c9eeb.cjs} +741 -676
  66. package/package.json +22 -3
  67. package/dist/packages/sdk-ui-vue/src/components/filters/relative-date-filter-tile.d.ts +0 -140
  68. package/dist/packages/sdk-ui-vue/src/components/widgets/pivot-table-widget.d.ts +0 -245
  69. package/dist/packages/sdk-ui-vue/src/helpers/dynamic-renderer.d.ts +0 -16
  70. package/dist/packages/sdk-ui-vue/src/providers/sisense-context-provider/sisense-context.d.ts +0 -9
package/dist/index.js CHANGED
@@ -1,7 +1,11 @@
1
- import { s as It, h as ln, a as b, y as cn, C as dn, I as fn, v as pn, _ as gn, b as hn, x as mn, S as yn, M as bn, c as Sn, E as On, D as vn, k as xn, T as Cn, d as wn, e as Pn, O as Dn, A as jn, w as Fn, N as An, r as En, f as Ln, g as Nn, l as Rn, i as Tn, G as Mn, j as q, m as Fe, n as $n, o as Je, p as _t, q as In, t as _n, u as kn, z as kt, B as Bt, F as it, H as Ut, J as xe, K as qt, L as Bn, P as W, Q as V, R, U as A, V as S, W as Wt, X as Un, Y as Qe, Z as qn, $ as Z, a0 as Wn, a1 as X, a2 as fe, a3 as Vn, a4 as Hn, a5 as Kn, a6 as Gn, a7 as ee, a8 as zn, a9 as Jn, aa as Qn, ab as Yn, ac as Zn, ad as Xn, ae as er, af as tr, ag as nr, ah as rr, ai as sr, aj as at, ak as ir, al as ar, am as or, an as ur, ao as ot, ap as lr, aq as cr, ar as dr, as as fr, at as pr, au as gr, av as hr, aw as mr, ax as yr, ay as br, az as Sr, aA as Or, aB as te, aC as B } from "./use-tracking-69c1d4a3.js";
2
- import { aF as Pu, aD as Du, aE as ju, aG as Fu, aH as Au } from "./use-tracking-69c1d4a3.js";
3
- import { defineComponent as m, watch as E, toRefs as D, ref as k, onBeforeUnmount as ne, createApp as vr, toValue as xr, computed as We, openBlock as Cr, createElementBlock as wr, renderSlot as Re, createVNode as ut, unref as T, createElementVNode as Pr } from "vue";
4
- const Dr = m({
1
+ var cn = Object.defineProperty;
2
+ var dn = (e, t, n) => t in e ? cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var ue = (e, t, n) => (dn(e, typeof t != "symbol" ? t + "" : t, n), n);
4
+ import { s as _t, T as fn, a as b, M as pn, N as gn, q as hn, D as mn, I as yn, E as bn, O as Sn, P as On, v as vn, b as xn, B as Cn, z as wn, R as Pn, L as Dn, c as jn, W as Fn, U as An, H as Ln, A as En, V as Nn, d as Rn, e as Tn, C as Mn, x as $n, f as In, g as _n, r as W, i as Ae, h as kn, k as Qe, j as kt, l as Bn, m as Un, o as qn, n as Bt, p as Ut, S as at, t as qt, u as Ce, w as Wt, y as Wn, F as V, G as B, J as R, K as A, Q as S, X as Vt, Y as Vn, Z as Ye, _ as Hn, $ as Z, a0 as Kn, a1 as X, a2 as pe, a3 as zn, a4 as Gn, a5 as Jn, a6 as Qn, a7 as ee, a8 as Yn, a9 as Zn, aa as Xn, ab as er, ac as tr, ad as nr, ae as rr, af as sr, ag as ir, ah as ar, ai as or, aj as ur, ak as lr, al as cr, am as dr, an as fr, ao as ot, ap as pr, aq as gr, ar as hr, as as mr, at as ut, au as yr, av as br, aw as Sr, ax as Or, ay as vr, az as xr, aA as Cr, aB as wr, aC as Pr, aD as Dr, aE as jr, aF as Fr, aG as te, aH as U } from "./use-tracking-4a4b3434.js";
5
+ import { aK as $u, aI as Iu, aJ as _u, aL as ku, aM as Bu } from "./use-tracking-4a4b3434.js";
6
+ import { defineComponent as m, watch as L, toRefs as D, ref as _, onBeforeUnmount as ne, createApp as Ar, h as Lr, toValue as Er, computed as Ve, openBlock as Nr, createElementBlock as Rr, renderSlot as Te, createVNode as lt, unref as T, createElementVNode as Tr } from "vue";
7
+ import "./index-Ck90GjPy-96e79d43-96e79d43.js";
8
+ const Mr = m({
5
9
  props: {
6
10
  /**
7
11
  * {@inheritDoc @sisense/sdk-ui!DrilldownBreadcrumbsProps.clearDrilldownSelections}
@@ -40,8 +44,8 @@ const Dr = m({
40
44
  required: !0
41
45
  }
42
46
  },
43
- setup: (e, { slots: t }) => It(ln, e, t, [])
44
- }), Po = m({
47
+ setup: (e, { slots: t }) => _t(fn, e, t, [])
48
+ }), $o = m({
45
49
  props: {
46
50
  /**
47
51
  * {@inheritDoc @sisense/sdk-ui!AreaChartProps.dataOptions}
@@ -107,8 +111,8 @@ const Dr = m({
107
111
  */
108
112
  onDataPointsSelected: Function
109
113
  },
110
- setup: (e) => b(cn, e)
111
- }), Do = m({
114
+ setup: (e) => b(pn, e)
115
+ }), Io = m({
112
116
  props: {
113
117
  /**
114
118
  * {@inheritDoc @sisense/sdk-ui!BarChartProps.dataOptions}
@@ -174,8 +178,8 @@ const Dr = m({
174
178
  */
175
179
  styleOptions: Object
176
180
  },
177
- setup: (e) => b(dn, e)
178
- }), jo = m({
181
+ setup: (e) => b(gn, e)
182
+ }), _o = m({
179
183
  props: {
180
184
  /**
181
185
  * {@inheritDoc @sisense/sdk-ui!CalendarHeatmapChartProps.dataOptions}
@@ -241,8 +245,8 @@ const Dr = m({
241
245
  */
242
246
  onDataPointsSelected: Function
243
247
  },
244
- setup: (e) => b(fn, e)
245
- }), Fo = m({
248
+ setup: (e) => b(hn, e)
249
+ }), ko = m({
246
250
  props: {
247
251
  /**
248
252
  * {@inheritDoc @sisense/sdk-ui!ColumnChartProps.dataOptions}
@@ -308,8 +312,8 @@ const Dr = m({
308
312
  */
309
313
  styleOptions: Object
310
314
  },
311
- setup: (e) => b(pn, e)
312
- }), Ao = m({
315
+ setup: (e) => b(mn, e)
316
+ }), Bo = m({
313
317
  props: {
314
318
  /**
315
319
  * {@inheritDoc @sisense/sdk-ui!FunnelChartProps.dataOptions}
@@ -375,8 +379,8 @@ const Dr = m({
375
379
  */
376
380
  styleOptions: Object
377
381
  },
378
- setup: (e) => b(gn, e)
379
- }), Eo = m({
382
+ setup: (e) => b(yn, e)
383
+ }), Uo = m({
380
384
  props: {
381
385
  /**
382
386
  * {@inheritDoc @sisense/sdk-ui!LineChartProps.dataOptions}
@@ -442,8 +446,8 @@ const Dr = m({
442
446
  */
443
447
  styleOptions: Object
444
448
  },
445
- setup: (e) => b(hn, e)
446
- }), Lo = m({
449
+ setup: (e) => b(bn, e)
450
+ }), qo = m({
447
451
  props: {
448
452
  /**
449
453
  * {@inheritDoc @sisense/sdk-ui!PieChartProps.dataOptions}
@@ -509,8 +513,8 @@ const Dr = m({
509
513
  */
510
514
  styleOptions: Object
511
515
  },
512
- setup: (e) => b(mn, e)
513
- }), No = m({
516
+ setup: (e) => b(Sn, e)
517
+ }), Wo = m({
514
518
  props: {
515
519
  /**
516
520
  * {@inheritDoc @sisense/sdk-ui!ScatterChartProps.dataOptions}
@@ -576,8 +580,8 @@ const Dr = m({
576
580
  */
577
581
  styleOptions: Object
578
582
  },
579
- setup: (e) => b(yn, e)
580
- }), Ro = m({
583
+ setup: (e) => b(On, e)
584
+ }), Vo = m({
581
585
  props: {
582
586
  /**
583
587
  * {@inheritDoc @sisense/sdk-ui!TableProps.dataOptions}
@@ -615,8 +619,8 @@ const Dr = m({
615
619
  */
616
620
  onDataReady: Function
617
621
  },
618
- setup: (e) => b(bn, e)
619
- }), To = m({
622
+ setup: (e) => b(vn, e)
623
+ }), Ho = m({
620
624
  props: {
621
625
  /**
622
626
  * {@inheritDoc @sisense/sdk-ui!PivotTableProps.dataOptions}
@@ -666,8 +670,8 @@ const Dr = m({
666
670
  */
667
671
  onDataPointContextMenu: Function
668
672
  },
669
- setup: (e) => b(Sn, e)
670
- }), Mo = m({
673
+ setup: (e) => b(xn, e)
674
+ }), Ko = m({
671
675
  props: {
672
676
  /**
673
677
  * {@inheritDoc @sisense/sdk-ui!TreemapChartProps.dataOptions}
@@ -733,8 +737,8 @@ const Dr = m({
733
737
  */
734
738
  styleOptions: Object
735
739
  },
736
- setup: (e) => b(On, e)
737
- }), $o = m({
740
+ setup: (e) => b(Cn, e)
741
+ }), zo = m({
738
742
  props: {
739
743
  /**
740
744
  * {@inheritDoc @sisense/sdk-ui!SunburstChartProps.dataOptions}
@@ -800,8 +804,8 @@ const Dr = m({
800
804
  */
801
805
  styleOptions: Object
802
806
  },
803
- setup: (e) => b(vn, e)
804
- }), Io = m({
807
+ setup: (e) => b(wn, e)
808
+ }), Go = m({
805
809
  props: {
806
810
  /**
807
811
  * {@inheritDoc @sisense/sdk-ui!PolarChartProps.dataOptions}
@@ -867,8 +871,8 @@ const Dr = m({
867
871
  */
868
872
  styleOptions: Object
869
873
  },
870
- setup: (e) => b(xn, e)
871
- }), _o = m({
874
+ setup: (e) => b(Pn, e)
875
+ }), Jo = m({
872
876
  props: {
873
877
  /**
874
878
  * {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.dataOptions}
@@ -916,8 +920,8 @@ const Dr = m({
916
920
  */
917
921
  onDataReady: Function
918
922
  },
919
- setup: (e) => b(Cn, e)
920
- }), ko = m({
923
+ setup: (e) => b(Dn, e)
924
+ }), Qo = m({
921
925
  props: {
922
926
  /**
923
927
  * {@inheritDoc @sisense/sdk-ui!ChartProps.chartType}
@@ -996,8 +1000,8 @@ const Dr = m({
996
1000
  */
997
1001
  refreshCounter: Number
998
1002
  },
999
- setup: (e) => b(wn, e)
1000
- }), Bo = m({
1003
+ setup: (e) => b(jn, e)
1004
+ }), Yo = m({
1001
1005
  props: {
1002
1006
  /**
1003
1007
  * {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.dataOptions}
@@ -1063,8 +1067,8 @@ const Dr = m({
1063
1067
  */
1064
1068
  onDataPointsSelected: Function
1065
1069
  },
1066
- setup: (e) => b(Pn, e)
1067
- }), Uo = m({
1070
+ setup: (e) => b(Fn, e)
1071
+ }), Zo = m({
1068
1072
  props: {
1069
1073
  /**
1070
1074
  * {@inheritDoc @sisense/sdk-ui!AreamapChartProps.dataOptions}
@@ -1112,8 +1116,8 @@ const Dr = m({
1112
1116
  */
1113
1117
  onDataPointClick: Function
1114
1118
  },
1115
- setup: (e) => b(Dn, e)
1116
- }), qo = m({
1119
+ setup: (e) => b(An, e)
1120
+ }), Xo = m({
1117
1121
  props: {
1118
1122
  /**
1119
1123
  * {@inheritDoc @sisense/sdk-ui!ScattermapChartProps.dataOptions}
@@ -1161,8 +1165,8 @@ const Dr = m({
1161
1165
  */
1162
1166
  onDataPointClick: Object
1163
1167
  },
1164
- setup: (e) => b(jn, e)
1165
- }), Wo = m({
1168
+ setup: (e) => b(Ln, e)
1169
+ }), eu = m({
1166
1170
  props: {
1167
1171
  /**
1168
1172
  * {@inheritDoc @sisense/sdk-ui!StreamgraphChartProps.dataOptions}
@@ -1228,8 +1232,8 @@ const Dr = m({
1228
1232
  */
1229
1233
  onDataPointsSelected: Function
1230
1234
  },
1231
- setup: (e) => b(Fn, e)
1232
- }), Vo = m({
1235
+ setup: (e) => b(En, e)
1236
+ }), tu = m({
1233
1237
  props: {
1234
1238
  /**
1235
1239
  * {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.dataOptions}
@@ -1295,8 +1299,8 @@ const Dr = m({
1295
1299
  */
1296
1300
  styleOptions: Object
1297
1301
  },
1298
- setup: (e) => b(An, e)
1299
- }), Ho = m({
1302
+ setup: (e) => b(Nn, e)
1303
+ }), nu = m({
1300
1304
  props: {
1301
1305
  /**
1302
1306
  * {@inheritDoc @sisense/sdk-ui!DateRangeFilterTileProps.attribute}
@@ -1356,8 +1360,8 @@ const Dr = m({
1356
1360
  */
1357
1361
  onEdit: Function
1358
1362
  },
1359
- setup: (e) => b(En, e)
1360
- }), Ko = m({
1363
+ setup: (e) => b(Rn, e)
1364
+ }), ru = m({
1361
1365
  props: {
1362
1366
  /**
1363
1367
  * {@inheritDoc @sisense/sdk-ui!MemberFilterTileProps.attribute}
@@ -1404,8 +1408,8 @@ const Dr = m({
1404
1408
  */
1405
1409
  onEdit: Function
1406
1410
  },
1407
- setup: (e) => b(Ln, e)
1408
- }), Go = m({
1411
+ setup: (e) => b(Tn, e)
1412
+ }), su = m({
1409
1413
  props: {
1410
1414
  /**
1411
1415
  * {@inheritDoc @sisense/sdk-ui!CriteriaFilterTileProps.arrangement}
@@ -1445,8 +1449,8 @@ const Dr = m({
1445
1449
  */
1446
1450
  onEdit: Function
1447
1451
  },
1448
- setup: (e) => b(Nn, e)
1449
- }), zo = m({
1452
+ setup: (e) => b(Mn, e)
1453
+ }), iu = m({
1450
1454
  props: {
1451
1455
  /**
1452
1456
  * {@inheritDoc @sisense/sdk-ui!RelativeDateFilterTileProps.title}
@@ -1491,8 +1495,8 @@ const Dr = m({
1491
1495
  */
1492
1496
  onEdit: Function
1493
1497
  },
1494
- setup: (e) => b(Rn, e)
1495
- }), Jo = m({
1498
+ setup: (e) => b($n, e)
1499
+ }), au = m({
1496
1500
  props: {
1497
1501
  /**
1498
1502
  * {@inheritDoc @sisense/sdk-ui!FilterTileProps.filter}
@@ -1521,8 +1525,8 @@ const Dr = m({
1521
1525
  */
1522
1526
  onEdit: Function
1523
1527
  },
1524
- setup: (e) => b(Tn, e)
1525
- }), Qo = m({
1528
+ setup: (e) => b(In, e)
1529
+ }), ou = m({
1526
1530
  props: {
1527
1531
  /**
1528
1532
  * {@inheritDoc @sisense/sdk-ui!FiltersPanelProps.filters}
@@ -1553,8 +1557,8 @@ const Dr = m({
1553
1557
  required: !0
1554
1558
  }
1555
1559
  },
1556
- setup: (e) => b(Mn, e)
1557
- }), jr = {
1560
+ setup: (e) => b(_n, e)
1561
+ }), $r = {
1558
1562
  type: "logger",
1559
1563
  log(e) {
1560
1564
  this.output("log", e);
@@ -1569,14 +1573,14 @@ const Dr = m({
1569
1573
  console && console[e] && console[e].apply(console, t);
1570
1574
  }
1571
1575
  };
1572
- class Ce {
1576
+ class we {
1573
1577
  constructor(t) {
1574
1578
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1575
1579
  this.init(t, n);
1576
1580
  }
1577
1581
  init(t) {
1578
1582
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1579
- this.prefix = n.prefix || "i18next:", this.logger = t || jr, this.options = n, this.debug = n.debug;
1583
+ this.prefix = n.prefix || "i18next:", this.logger = t || $r, this.options = n, this.debug = n.debug;
1580
1584
  }
1581
1585
  log() {
1582
1586
  for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
@@ -1602,17 +1606,17 @@ class Ce {
1602
1606
  return s && !this.debug ? null : (typeof t[0] == "string" && (t[0] = `${r}${this.prefix} ${t[0]}`), this.logger[n](t));
1603
1607
  }
1604
1608
  create(t) {
1605
- return new Ce(this.logger, {
1609
+ return new we(this.logger, {
1606
1610
  prefix: `${this.prefix}:${t}:`,
1607
1611
  ...this.options
1608
1612
  });
1609
1613
  }
1610
1614
  clone(t) {
1611
- return t = t || this.options, t.prefix = t.prefix || this.prefix, new Ce(this.logger, t);
1615
+ return t = t || this.options, t.prefix = t.prefix || this.prefix, new we(this.logger, t);
1612
1616
  }
1613
1617
  }
1614
- var _ = new Ce();
1615
- class Ae {
1618
+ var k = new we();
1619
+ class Le {
1616
1620
  constructor() {
1617
1621
  this.observers = {};
1618
1622
  }
@@ -1640,22 +1644,22 @@ class Ae {
1640
1644
  });
1641
1645
  }
1642
1646
  }
1643
- function ue() {
1647
+ function le() {
1644
1648
  let e, t;
1645
1649
  const n = new Promise((r, s) => {
1646
1650
  e = r, t = s;
1647
1651
  });
1648
1652
  return n.resolve = e, n.reject = t, n;
1649
1653
  }
1650
- function lt(e) {
1654
+ function ct(e) {
1651
1655
  return e == null ? "" : "" + e;
1652
1656
  }
1653
- function Fr(e, t, n) {
1657
+ function Ir(e, t, n) {
1654
1658
  e.forEach((r) => {
1655
1659
  t[r] && (n[r] = t[r]);
1656
1660
  });
1657
1661
  }
1658
- function Ye(e, t, n) {
1662
+ function Ze(e, t, n) {
1659
1663
  function r(a) {
1660
1664
  return a && a.indexOf("###") > -1 ? a.replace(/###/g, ".") : a;
1661
1665
  }
@@ -1674,41 +1678,41 @@ function Ye(e, t, n) {
1674
1678
  k: r(i.shift())
1675
1679
  };
1676
1680
  }
1677
- function ct(e, t, n) {
1681
+ function dt(e, t, n) {
1678
1682
  const {
1679
1683
  obj: r,
1680
1684
  k: s
1681
- } = Ye(e, t, Object);
1685
+ } = Ze(e, t, Object);
1682
1686
  r[s] = n;
1683
1687
  }
1684
- function Ar(e, t, n, r) {
1688
+ function _r(e, t, n, r) {
1685
1689
  const {
1686
1690
  obj: s,
1687
1691
  k: i
1688
- } = Ye(e, t, Object);
1692
+ } = Ze(e, t, Object);
1689
1693
  s[i] = s[i] || [], r && (s[i] = s[i].concat(n)), r || s[i].push(n);
1690
1694
  }
1691
- function we(e, t) {
1695
+ function Pe(e, t) {
1692
1696
  const {
1693
1697
  obj: n,
1694
1698
  k: r
1695
- } = Ye(e, t);
1699
+ } = Ze(e, t);
1696
1700
  if (n)
1697
1701
  return n[r];
1698
1702
  }
1699
- function Er(e, t, n) {
1700
- const r = we(e, n);
1701
- return r !== void 0 ? r : we(t, n);
1703
+ function kr(e, t, n) {
1704
+ const r = Pe(e, n);
1705
+ return r !== void 0 ? r : Pe(t, n);
1702
1706
  }
1703
- function Vt(e, t, n) {
1707
+ function Ht(e, t, n) {
1704
1708
  for (const r in t)
1705
- r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : Vt(e[r], t[r], n) : e[r] = t[r]);
1709
+ r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : Ht(e[r], t[r], n) : e[r] = t[r]);
1706
1710
  return e;
1707
1711
  }
1708
1712
  function Q(e) {
1709
1713
  return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
1710
1714
  }
1711
- var Lr = {
1715
+ var Br = {
1712
1716
  "&": "&amp;",
1713
1717
  "<": "&lt;",
1714
1718
  ">": "&gt;",
@@ -1716,13 +1720,13 @@ var Lr = {
1716
1720
  "'": "&#39;",
1717
1721
  "/": "&#x2F;"
1718
1722
  };
1719
- function Nr(e) {
1720
- return typeof e == "string" ? e.replace(/[&<>"'\/]/g, (t) => Lr[t]) : e;
1723
+ function Ur(e) {
1724
+ return typeof e == "string" ? e.replace(/[&<>"'\/]/g, (t) => Br[t]) : e;
1721
1725
  }
1722
- const Rr = [" ", ",", "?", "!", ";"];
1723
- function Tr(e, t, n) {
1726
+ const qr = [" ", ",", "?", "!", ";"];
1727
+ function Wr(e, t, n) {
1724
1728
  t = t || "", n = n || "";
1725
- const r = Rr.filter((a) => t.indexOf(a) < 0 && n.indexOf(a) < 0);
1729
+ const r = qr.filter((a) => t.indexOf(a) < 0 && n.indexOf(a) < 0);
1726
1730
  if (r.length === 0)
1727
1731
  return !0;
1728
1732
  const s = new RegExp(`(${r.map((a) => a === "?" ? "\\?" : a).join("|")})`);
@@ -1733,7 +1737,7 @@ function Tr(e, t, n) {
1733
1737
  }
1734
1738
  return i;
1735
1739
  }
1736
- function Pe(e, t) {
1740
+ function De(e, t) {
1737
1741
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
1738
1742
  if (!e)
1739
1743
  return;
@@ -1759,16 +1763,16 @@ function Pe(e, t) {
1759
1763
  return u[o];
1760
1764
  }
1761
1765
  const c = r.slice(i + a).join(n);
1762
- return c ? Pe(u, c, n) : void 0;
1766
+ return c ? De(u, c, n) : void 0;
1763
1767
  }
1764
1768
  s = s[r[i]];
1765
1769
  }
1766
1770
  return s;
1767
1771
  }
1768
- function De(e) {
1772
+ function je(e) {
1769
1773
  return e && e.indexOf("_") > 0 ? e.replace("_", "-") : e;
1770
1774
  }
1771
- class dt extends Ae {
1775
+ class ft extends Le {
1772
1776
  constructor(t) {
1773
1777
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
1774
1778
  ns: ["translation"],
@@ -1788,8 +1792,8 @@ class dt extends Ae {
1788
1792
  const i = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, a = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
1789
1793
  let o = [t, n];
1790
1794
  r && typeof r != "string" && (o = o.concat(r)), r && typeof r == "string" && (o = o.concat(i ? r.split(i) : r)), t.indexOf(".") > -1 && (o = t.split("."));
1791
- const u = we(this.data, o);
1792
- return u || !a || typeof r != "string" ? u : Pe(this.data && this.data[t] && this.data[t][n], r, i);
1795
+ const u = Pe(this.data, o);
1796
+ return u || !a || typeof r != "string" ? u : De(this.data && this.data[t] && this.data[t][n], r, i);
1793
1797
  }
1794
1798
  addResource(t, n, r, s) {
1795
1799
  let i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
@@ -1797,7 +1801,7 @@ class dt extends Ae {
1797
1801
  };
1798
1802
  const a = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator;
1799
1803
  let o = [t, n];
1800
- r && (o = o.concat(a ? r.split(a) : r)), t.indexOf(".") > -1 && (o = t.split("."), s = n, n = o[1]), this.addNamespaces(n), ct(this.data, o, s), i.silent || this.emit("added", t, n, r, s);
1804
+ r && (o = o.concat(a ? r.split(a) : r)), t.indexOf(".") > -1 && (o = t.split("."), s = n, n = o[1]), this.addNamespaces(n), dt(this.data, o, s), i.silent || this.emit("added", t, n, r, s);
1801
1805
  }
1802
1806
  addResources(t, n, r) {
1803
1807
  let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -1814,11 +1818,11 @@ class dt extends Ae {
1814
1818
  silent: !1
1815
1819
  }, o = [t, n];
1816
1820
  t.indexOf(".") > -1 && (o = t.split("."), s = r, r = n, n = o[1]), this.addNamespaces(n);
1817
- let u = we(this.data, o) || {};
1818
- s ? Vt(u, r, i) : u = {
1821
+ let u = Pe(this.data, o) || {};
1822
+ s ? Ht(u, r, i) : u = {
1819
1823
  ...u,
1820
1824
  ...r
1821
- }, ct(this.data, o, u), a.silent || this.emit("added", t, n, r);
1825
+ }, dt(this.data, o, u), a.silent || this.emit("added", t, n, r);
1822
1826
  }
1823
1827
  removeResourceBundle(t, n) {
1824
1828
  this.hasResourceBundle(t, n) && delete this.data[t][n], this.removeNamespaces(n), this.emit("removed", t, n);
@@ -1842,7 +1846,7 @@ class dt extends Ae {
1842
1846
  return this.data;
1843
1847
  }
1844
1848
  }
1845
- var Ht = {
1849
+ var Kt = {
1846
1850
  processors: {},
1847
1851
  addPostProcessor(e) {
1848
1852
  this.processors[e.name] = e;
@@ -1853,11 +1857,11 @@ var Ht = {
1853
1857
  }), t;
1854
1858
  }
1855
1859
  };
1856
- const ft = {};
1857
- class je extends Ae {
1860
+ const pt = {};
1861
+ class Fe extends Le {
1858
1862
  constructor(t) {
1859
1863
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1860
- super(), Fr(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = _.create("translator");
1864
+ super(), Ir(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = k.create("translator");
1861
1865
  }
1862
1866
  changeLanguage(t) {
1863
1867
  t && (this.language = t);
@@ -1876,7 +1880,7 @@ class je extends Ae {
1876
1880
  r === void 0 && (r = ":");
1877
1881
  const s = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator;
1878
1882
  let i = n.ns || this.options.defaultNS || [];
1879
- const a = r && t.indexOf(r) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !Tr(t, r, s);
1883
+ const a = r && t.indexOf(r) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !Wr(t, r, s);
1880
1884
  if (a && !o) {
1881
1885
  const u = t.match(this.interpolator.nestingRegexp);
1882
1886
  if (u && u.length > 0)
@@ -1934,28 +1938,28 @@ class je extends Ae {
1934
1938
  return s ? (f.res = C, f) : C;
1935
1939
  }
1936
1940
  if (i) {
1937
- const C = y === "[object Array]", L = C ? [] : {}, $ = C ? p : g;
1941
+ const C = y === "[object Array]", E = C ? [] : {}, $ = C ? p : g;
1938
1942
  for (const F in l)
1939
1943
  if (Object.prototype.hasOwnProperty.call(l, F)) {
1940
- const pe = `${$}${i}${F}`;
1941
- L[F] = this.translate(pe, {
1944
+ const ge = `${$}${i}${F}`;
1945
+ E[F] = this.translate(ge, {
1942
1946
  ...n,
1943
1947
  joinArrays: !1,
1944
1948
  ns: o
1945
- }), L[F] === pe && (L[F] = l[F]);
1949
+ }), E[F] === ge && (E[F] = l[F]);
1946
1950
  }
1947
- l = L;
1951
+ l = E;
1948
1952
  }
1949
1953
  } else if (w && typeof x == "string" && y === "[object Array]")
1950
1954
  l = l.join(x), l && (l = this.extendTranslation(l, t, n, r));
1951
1955
  else {
1952
- let C = !1, L = !1;
1953
- const $ = n.count !== void 0 && typeof n.count != "string", F = je.hasDefaultValue(n), pe = $ ? this.pluralResolver.getSuffix(c, n.count, n) : "", on = n.ordinal && $ ? this.pluralResolver.getSuffix(c, n.count, {
1956
+ let C = !1, E = !1;
1957
+ const $ = n.count !== void 0 && typeof n.count != "string", F = Fe.hasDefaultValue(n), ge = $ ? this.pluralResolver.getSuffix(c, n.count, n) : "", un = n.ordinal && $ ? this.pluralResolver.getSuffix(c, n.count, {
1954
1958
  ordinal: !1
1955
- }) : "", ie = n[`defaultValue${pe}`] || n[`defaultValue${on}`] || n.defaultValue;
1956
- !this.isValidLookup(l) && F && (C = !0, l = ie), this.isValidLookup(l) || (L = !0, l = a);
1957
- const un = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && L ? void 0 : l, ae = F && ie !== l && this.options.updateMissing;
1958
- if (L || C || ae) {
1959
+ }) : "", ie = n[`defaultValue${ge}`] || n[`defaultValue${un}`] || n.defaultValue;
1960
+ !this.isValidLookup(l) && F && (C = !0, l = ie), this.isValidLookup(l) || (E = !0, l = a);
1961
+ const ln = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && E ? void 0 : l, ae = F && ie !== l && this.options.updateMissing;
1962
+ if (E || C || ae) {
1959
1963
  if (this.logger.log(ae ? "updateKey" : "missingKey", c, u, a, ae ? ie : l), i) {
1960
1964
  const N = this.resolve(a, {
1961
1965
  ...n,
@@ -1964,23 +1968,23 @@ class je extends Ae {
1964
1968
  N && N.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
1965
1969
  }
1966
1970
  let oe = [];
1967
- const ge = this.languageUtils.getFallbackCodes(this.options.fallbackLng, n.lng || this.language);
1968
- if (this.options.saveMissingTo === "fallback" && ge && ge[0])
1969
- for (let N = 0; N < ge.length; N++)
1970
- oe.push(ge[N]);
1971
+ const he = this.languageUtils.getFallbackCodes(this.options.fallbackLng, n.lng || this.language);
1972
+ if (this.options.saveMissingTo === "fallback" && he && he[0])
1973
+ for (let N = 0; N < he.length; N++)
1974
+ oe.push(he[N]);
1971
1975
  else
1972
1976
  this.options.saveMissingTo === "all" ? oe = this.languageUtils.toResolveHierarchy(n.lng || this.language) : oe.push(n.lng || this.language);
1973
- const nt = (N, J, rt) => {
1974
- const st = F && rt !== l ? rt : un;
1975
- this.options.missingKeyHandler ? this.options.missingKeyHandler(N, u, J, st, ae, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(N, u, J, st, ae, n), this.emit("missingKey", N, u, J, l);
1977
+ const rt = (N, J, st) => {
1978
+ const it = F && st !== l ? st : ln;
1979
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(N, u, J, it, ae, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(N, u, J, it, ae, n), this.emit("missingKey", N, u, J, l);
1976
1980
  };
1977
1981
  this.options.saveMissing && (this.options.saveMissingPlurals && $ ? oe.forEach((N) => {
1978
1982
  this.pluralResolver.getSuffixes(N, n).forEach((J) => {
1979
- nt([N], a + J, n[`defaultValue${J}`] || ie);
1983
+ rt([N], a + J, n[`defaultValue${J}`] || ie);
1980
1984
  });
1981
- }) : nt(oe, a, ie));
1985
+ }) : rt(oe, a, ie));
1982
1986
  }
1983
- l = this.extendTranslation(l, t, n, f, r), L && l === a && this.options.appendNamespaceToMissingKey && (l = `${u}:${a}`), (L || C) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? l = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${u}:${a}` : a, C ? l : void 0) : l = this.options.parseMissingKeyHandler(l));
1987
+ l = this.extendTranslation(l, t, n, f, r), E && l === a && this.options.appendNamespaceToMissingKey && (l = `${u}:${a}`), (E || C) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? l = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${u}:${a}` : a, C ? l : void 0) : l = this.options.parseMissingKeyHandler(l));
1984
1988
  }
1985
1989
  return s ? (f.res = l, f) : l;
1986
1990
  }
@@ -2022,7 +2026,7 @@ class je extends Ae {
2022
2026
  }, r)), r.interpolation && this.interpolator.reset();
2023
2027
  }
2024
2028
  const o = r.postProcess || this.options.postProcess, u = typeof o == "string" ? [o] : o;
2025
- return t != null && u && u.length && r.applyPostProcessor !== !1 && (t = Ht.handle(u, t, n, this.options && this.options.postProcessPassResolved ? {
2029
+ return t != null && u && u.length && r.applyPostProcessor !== !1 && (t = Kt.handle(u, t, n, this.options && this.options.postProcessPassResolved ? {
2026
2030
  i18nResolved: s,
2027
2031
  ...r
2028
2032
  } : r, this)), t;
@@ -2038,7 +2042,7 @@ class je extends Ae {
2038
2042
  this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
2039
2043
  const l = n.count !== void 0 && typeof n.count != "string", g = l && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), p = n.context !== void 0 && (typeof n.context == "string" || typeof n.context == "number") && n.context !== "", y = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
2040
2044
  f.forEach((h) => {
2041
- this.isValidLookup(r) || (o = h, !ft[`${y[0]}-${h}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (ft[`${y[0]}-${h}`] = !0, this.logger.warn(`key "${s}" for languages "${y.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((x) => {
2045
+ this.isValidLookup(r) || (o = h, !pt[`${y[0]}-${h}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (pt[`${y[0]}-${h}`] = !0, this.logger.warn(`key "${s}" for languages "${y.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((x) => {
2042
2046
  if (this.isValidLookup(r))
2043
2047
  return;
2044
2048
  a = x;
@@ -2048,10 +2052,10 @@ class je extends Ae {
2048
2052
  else {
2049
2053
  let C;
2050
2054
  l && (C = this.pluralResolver.getSuffix(x, n.count, n));
2051
- const L = `${this.options.pluralSeparator}zero`, $ = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2052
- if (l && (w.push(d + C), n.ordinal && C.indexOf($) === 0 && w.push(d + C.replace($, this.options.pluralSeparator)), g && w.push(d + L)), p) {
2055
+ const E = `${this.options.pluralSeparator}zero`, $ = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2056
+ if (l && (w.push(d + C), n.ordinal && C.indexOf($) === 0 && w.push(d + C.replace($, this.options.pluralSeparator)), g && w.push(d + E)), p) {
2053
2057
  const F = `${d}${this.options.contextSeparator}${n.context}`;
2054
- w.push(F), l && (w.push(F + C), n.ordinal && C.indexOf($) === 0 && w.push(F + C.replace($, this.options.pluralSeparator)), g && w.push(F + L));
2058
+ w.push(F), l && (w.push(F + C), n.ordinal && C.indexOf($) === 0 && w.push(F + C.replace($, this.options.pluralSeparator)), g && w.push(F + E));
2055
2059
  }
2056
2060
  }
2057
2061
  let P;
@@ -2082,21 +2086,21 @@ class je extends Ae {
2082
2086
  return !1;
2083
2087
  }
2084
2088
  }
2085
- function Te(e) {
2089
+ function Me(e) {
2086
2090
  return e.charAt(0).toUpperCase() + e.slice(1);
2087
2091
  }
2088
- class pt {
2092
+ class gt {
2089
2093
  constructor(t) {
2090
- this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = _.create("languageUtils");
2094
+ this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = k.create("languageUtils");
2091
2095
  }
2092
2096
  getScriptPartFromCode(t) {
2093
- if (t = De(t), !t || t.indexOf("-") < 0)
2097
+ if (t = je(t), !t || t.indexOf("-") < 0)
2094
2098
  return null;
2095
2099
  const n = t.split("-");
2096
2100
  return n.length === 2 || (n.pop(), n[n.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(n.join("-"));
2097
2101
  }
2098
2102
  getLanguagePartFromCode(t) {
2099
- if (t = De(t), !t || t.indexOf("-") < 0)
2103
+ if (t = je(t), !t || t.indexOf("-") < 0)
2100
2104
  return t;
2101
2105
  const n = t.split("-");
2102
2106
  return this.formatLanguageCode(n[0]);
@@ -2105,7 +2109,7 @@ class pt {
2105
2109
  if (typeof t == "string" && t.indexOf("-") > -1) {
2106
2110
  const n = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
2107
2111
  let r = t.split("-");
2108
- return this.options.lowerCaseLng ? r = r.map((s) => s.toLowerCase()) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Te(r[1].toLowerCase()))) : r.length === 3 && (r[0] = r[0].toLowerCase(), r[1].length === 2 && (r[1] = r[1].toUpperCase()), r[0] !== "sgn" && r[2].length === 2 && (r[2] = r[2].toUpperCase()), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Te(r[1].toLowerCase())), n.indexOf(r[2].toLowerCase()) > -1 && (r[2] = Te(r[2].toLowerCase()))), r.join("-");
2112
+ return this.options.lowerCaseLng ? r = r.map((s) => s.toLowerCase()) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Me(r[1].toLowerCase()))) : r.length === 3 && (r[0] = r[0].toLowerCase(), r[1].length === 2 && (r[1] = r[1].toUpperCase()), r[0] !== "sgn" && r[2].length === 2 && (r[2] = r[2].toUpperCase()), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Me(r[1].toLowerCase())), n.indexOf(r[2].toLowerCase()) > -1 && (r[2] = Me(r[2].toLowerCase()))), r.join("-");
2109
2113
  }
2110
2114
  return this.options.cleanCode || this.options.lowerCaseLng ? t.toLowerCase() : t;
2111
2115
  }
@@ -2154,7 +2158,7 @@ class pt {
2154
2158
  }), s;
2155
2159
  }
2156
2160
  }
2157
- let Mr = [{
2161
+ let Vr = [{
2158
2162
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
2159
2163
  nr: [1, 2],
2160
2164
  fc: 1
@@ -2246,7 +2250,7 @@ let Mr = [{
2246
2250
  lngs: ["he", "iw"],
2247
2251
  nr: [1, 2, 20, 21],
2248
2252
  fc: 22
2249
- }], $r = {
2253
+ }], Hr = {
2250
2254
  1: function(e) {
2251
2255
  return +(e > 1);
2252
2256
  },
@@ -2314,7 +2318,7 @@ let Mr = [{
2314
2318
  return e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3;
2315
2319
  }
2316
2320
  };
2317
- const Ir = ["v1", "v2", "v3"], _r = ["v4"], gt = {
2321
+ const Kr = ["v1", "v2", "v3"], zr = ["v4"], ht = {
2318
2322
  zero: 0,
2319
2323
  one: 1,
2320
2324
  two: 2,
@@ -2322,21 +2326,21 @@ const Ir = ["v1", "v2", "v3"], _r = ["v4"], gt = {
2322
2326
  many: 4,
2323
2327
  other: 5
2324
2328
  };
2325
- function kr() {
2329
+ function Gr() {
2326
2330
  const e = {};
2327
- return Mr.forEach((t) => {
2331
+ return Vr.forEach((t) => {
2328
2332
  t.lngs.forEach((n) => {
2329
2333
  e[n] = {
2330
2334
  numbers: t.nr,
2331
- plurals: $r[t.fc]
2335
+ plurals: Hr[t.fc]
2332
2336
  };
2333
2337
  });
2334
2338
  }), e;
2335
2339
  }
2336
- class Br {
2340
+ class Jr {
2337
2341
  constructor(t) {
2338
2342
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2339
- this.languageUtils = t, this.options = n, this.logger = _.create("pluralResolver"), (!this.options.compatibilityJSON || _r.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = kr();
2343
+ this.languageUtils = t, this.options = n, this.logger = k.create("pluralResolver"), (!this.options.compatibilityJSON || zr.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Gr();
2340
2344
  }
2341
2345
  addRule(t, n) {
2342
2346
  this.rules[t] = n;
@@ -2345,7 +2349,7 @@ class Br {
2345
2349
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2346
2350
  if (this.shouldUseIntlApi())
2347
2351
  try {
2348
- return new Intl.PluralRules(De(t), {
2352
+ return new Intl.PluralRules(je(t), {
2349
2353
  type: n.ordinal ? "ordinal" : "cardinal"
2350
2354
  });
2351
2355
  } catch {
@@ -2365,7 +2369,7 @@ class Br {
2365
2369
  getSuffixes(t) {
2366
2370
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2367
2371
  const r = this.getRule(t, n);
2368
- return r ? this.shouldUseIntlApi() ? r.resolvedOptions().pluralCategories.sort((s, i) => gt[s] - gt[i]).map((s) => `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : r.numbers.map((s) => this.getSuffix(t, s, n)) : [];
2372
+ return r ? this.shouldUseIntlApi() ? r.resolvedOptions().pluralCategories.sort((s, i) => ht[s] - ht[i]).map((s) => `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : r.numbers.map((s) => this.getSuffix(t, s, n)) : [];
2369
2373
  }
2370
2374
  getSuffix(t, n) {
2371
2375
  let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -2380,17 +2384,17 @@ class Br {
2380
2384
  return this.options.compatibilityJSON === "v1" ? s === 1 ? "" : typeof s == "number" ? `_plural_${s.toString()}` : i() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && t.numbers.length === 2 && t.numbers[0] === 1 ? i() : this.options.prepend && r.toString() ? this.options.prepend + r.toString() : r.toString();
2381
2385
  }
2382
2386
  shouldUseIntlApi() {
2383
- return !Ir.includes(this.options.compatibilityJSON);
2387
+ return !Kr.includes(this.options.compatibilityJSON);
2384
2388
  }
2385
2389
  }
2386
- function ht(e, t, n) {
2387
- let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, i = Er(e, t, n);
2388
- return !i && s && typeof n == "string" && (i = Pe(e, n, r), i === void 0 && (i = Pe(t, n, r))), i;
2390
+ function mt(e, t, n) {
2391
+ let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, i = kr(e, t, n);
2392
+ return !i && s && typeof n == "string" && (i = De(e, n, r), i === void 0 && (i = De(t, n, r))), i;
2389
2393
  }
2390
- class Ur {
2394
+ class Qr {
2391
2395
  constructor() {
2392
2396
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2393
- this.logger = _.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || ((n) => n), this.init(t);
2397
+ this.logger = k.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || ((n) => n), this.init(t);
2394
2398
  }
2395
2399
  init() {
2396
2400
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -2398,7 +2402,7 @@ class Ur {
2398
2402
  escapeValue: !0
2399
2403
  });
2400
2404
  const n = t.interpolation;
2401
- this.escape = n.escape !== void 0 ? n.escape : Nr, this.escapeValue = n.escapeValue !== void 0 ? n.escapeValue : !0, this.useRawValueToEscape = n.useRawValueToEscape !== void 0 ? n.useRawValueToEscape : !1, this.prefix = n.prefix ? Q(n.prefix) : n.prefixEscaped || "{{", this.suffix = n.suffix ? Q(n.suffix) : n.suffixEscaped || "}}", this.formatSeparator = n.formatSeparator ? n.formatSeparator : n.formatSeparator || ",", this.unescapePrefix = n.unescapeSuffix ? "" : n.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : n.unescapeSuffix || "", this.nestingPrefix = n.nestingPrefix ? Q(n.nestingPrefix) : n.nestingPrefixEscaped || Q("$t("), this.nestingSuffix = n.nestingSuffix ? Q(n.nestingSuffix) : n.nestingSuffixEscaped || Q(")"), this.nestingOptionsSeparator = n.nestingOptionsSeparator ? n.nestingOptionsSeparator : n.nestingOptionsSeparator || ",", this.maxReplaces = n.maxReplaces ? n.maxReplaces : 1e3, this.alwaysFormat = n.alwaysFormat !== void 0 ? n.alwaysFormat : !1, this.resetRegExp();
2405
+ this.escape = n.escape !== void 0 ? n.escape : Ur, this.escapeValue = n.escapeValue !== void 0 ? n.escapeValue : !0, this.useRawValueToEscape = n.useRawValueToEscape !== void 0 ? n.useRawValueToEscape : !1, this.prefix = n.prefix ? Q(n.prefix) : n.prefixEscaped || "{{", this.suffix = n.suffix ? Q(n.suffix) : n.suffixEscaped || "}}", this.formatSeparator = n.formatSeparator ? n.formatSeparator : n.formatSeparator || ",", this.unescapePrefix = n.unescapeSuffix ? "" : n.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : n.unescapeSuffix || "", this.nestingPrefix = n.nestingPrefix ? Q(n.nestingPrefix) : n.nestingPrefixEscaped || Q("$t("), this.nestingSuffix = n.nestingSuffix ? Q(n.nestingSuffix) : n.nestingSuffixEscaped || Q(")"), this.nestingOptionsSeparator = n.nestingOptionsSeparator ? n.nestingOptionsSeparator : n.nestingOptionsSeparator || ",", this.maxReplaces = n.maxReplaces ? n.maxReplaces : 1e3, this.alwaysFormat = n.alwaysFormat !== void 0 ? n.alwaysFormat : !1, this.resetRegExp();
2402
2406
  }
2403
2407
  reset() {
2404
2408
  this.options && this.init(this.options);
@@ -2419,7 +2423,7 @@ class Ur {
2419
2423
  }
2420
2424
  const d = (p) => {
2421
2425
  if (p.indexOf(this.formatSeparator) < 0) {
2422
- const w = ht(n, u, p, this.options.keySeparator, this.options.ignoreJSONStructure);
2426
+ const w = mt(n, u, p, this.options.keySeparator, this.options.ignoreJSONStructure);
2423
2427
  return this.alwaysFormat ? this.format(w, void 0, r, {
2424
2428
  ...s,
2425
2429
  ...n,
@@ -2427,7 +2431,7 @@ class Ur {
2427
2431
  }) : w;
2428
2432
  }
2429
2433
  const y = p.split(this.formatSeparator), h = y.shift().trim(), x = y.join(this.formatSeparator).trim();
2430
- return this.format(ht(n, u, h, this.options.keySeparator, this.options.ignoreJSONStructure), x, r, {
2434
+ return this.format(mt(n, u, h, this.options.keySeparator, this.options.ignoreJSONStructure), x, r, {
2431
2435
  ...s,
2432
2436
  ...n,
2433
2437
  interpolationkey: h
@@ -2456,7 +2460,7 @@ class Ur {
2456
2460
  } else
2457
2461
  this.logger.warn(`missed to pass in variable ${y} for interpolating ${t}`), a = "";
2458
2462
  else
2459
- typeof a != "string" && !this.useRawValueToEscape && (a = lt(a));
2463
+ typeof a != "string" && !this.useRawValueToEscape && (a = ct(a));
2460
2464
  const h = p.safeValue(a);
2461
2465
  if (t = t.replace(i[0], h), l ? (p.regex.lastIndex += a.length, p.regex.lastIndex -= i[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
2462
2466
  break;
@@ -2496,7 +2500,7 @@ class Ur {
2496
2500
  }
2497
2501
  if (i = n(o.call(this, s[1].trim(), a), a), i && s[0] === t && typeof i != "string")
2498
2502
  return i;
2499
- typeof i != "string" && (i = lt(i)), i || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`), i = ""), c && (i = u.reduce((d, f) => this.format(d, f, r.lng, {
2503
+ typeof i != "string" && (i = ct(i)), i || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`), i = ""), c && (i = u.reduce((d, f) => this.format(d, f, r.lng, {
2500
2504
  ...r,
2501
2505
  interpolationkey: s[1].trim()
2502
2506
  }), i.trim())), t = t.replace(s[0], i), this.regexp.lastIndex = 0;
@@ -2504,7 +2508,7 @@ class Ur {
2504
2508
  return t;
2505
2509
  }
2506
2510
  }
2507
- function qr(e) {
2511
+ function Yr(e) {
2508
2512
  let t = e.toLowerCase().trim();
2509
2513
  const n = {};
2510
2514
  if (e.indexOf("(") > -1) {
@@ -2528,13 +2532,13 @@ function Y(e) {
2528
2532
  return function(r, s, i) {
2529
2533
  const a = s + JSON.stringify(i);
2530
2534
  let o = t[a];
2531
- return o || (o = e(De(s), i), t[a] = o), o(r);
2535
+ return o || (o = e(je(s), i), t[a] = o), o(r);
2532
2536
  };
2533
2537
  }
2534
- class Wr {
2538
+ class Zr {
2535
2539
  constructor() {
2536
2540
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2537
- this.logger = _.create("formatter"), this.options = t, this.formats = {
2541
+ this.logger = k.create("formatter"), this.options = t, this.formats = {
2538
2542
  number: Y((n, r) => {
2539
2543
  const s = new Intl.NumberFormat(n, {
2540
2544
  ...r
@@ -2586,7 +2590,7 @@ class Wr {
2586
2590
  const {
2587
2591
  formatName: c,
2588
2592
  formatOptions: d
2589
- } = qr(u);
2593
+ } = Yr(u);
2590
2594
  if (this.formats[c]) {
2591
2595
  let f = o;
2592
2596
  try {
@@ -2606,13 +2610,13 @@ class Wr {
2606
2610
  }, t);
2607
2611
  }
2608
2612
  }
2609
- function Vr(e, t) {
2613
+ function Xr(e, t) {
2610
2614
  e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
2611
2615
  }
2612
- class Hr extends Ae {
2616
+ class es extends Le {
2613
2617
  constructor(t, n, r) {
2614
2618
  let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
2615
- super(), this.backend = t, this.store = n, this.services = r, this.languageUtils = r.languageUtils, this.options = s, this.logger = _.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(r, s.backend, s);
2619
+ super(), this.backend = t, this.store = n, this.services = r, this.languageUtils = r.languageUtils, this.options = s, this.logger = k.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(r, s.backend, s);
2616
2620
  }
2617
2621
  queueLoad(t, n, r, s) {
2618
2622
  const i = {}, a = {}, o = {}, u = {};
@@ -2640,7 +2644,7 @@ class Hr extends Ae {
2640
2644
  n && this.emit("failedLoading", i, a, n), r && this.store.addResourceBundle(i, a, r), this.state[t] = n ? -1 : 2;
2641
2645
  const o = {};
2642
2646
  this.queue.forEach((u) => {
2643
- Ar(u.loaded, [i], a), Vr(u, t), n && u.errors.push(n), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((c) => {
2647
+ _r(u.loaded, [i], a), Xr(u, t), n && u.errors.push(n), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((c) => {
2644
2648
  o[c] || (o[c] = {});
2645
2649
  const d = u.loaded[c];
2646
2650
  d.length && d.forEach((f) => {
@@ -2743,7 +2747,7 @@ class Hr extends Ae {
2743
2747
  }
2744
2748
  }
2745
2749
  }
2746
- function mt() {
2750
+ function yt() {
2747
2751
  return {
2748
2752
  debug: !1,
2749
2753
  initImmediate: !0,
@@ -2802,22 +2806,22 @@ function mt() {
2802
2806
  }
2803
2807
  };
2804
2808
  }
2805
- function yt(e) {
2809
+ function bt(e) {
2806
2810
  return typeof e.ns == "string" && (e.ns = [e.ns]), typeof e.fallbackLng == "string" && (e.fallbackLng = [e.fallbackLng]), typeof e.fallbackNS == "string" && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs && e.supportedLngs.indexOf("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e;
2807
2811
  }
2808
- function he() {
2812
+ function me() {
2809
2813
  }
2810
- function Kr(e) {
2814
+ function ts(e) {
2811
2815
  Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((n) => {
2812
2816
  typeof e[n] == "function" && (e[n] = e[n].bind(e));
2813
2817
  });
2814
2818
  }
2815
- class le extends Ae {
2819
+ class ce extends Le {
2816
2820
  constructor() {
2817
2821
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
2818
- if (super(), this.options = yt(t), this.services = {}, this.logger = _, this.modules = {
2822
+ if (super(), this.options = bt(t), this.services = {}, this.logger = k, this.modules = {
2819
2823
  external: []
2820
- }, Kr(this), n && !this.isInitialized && !t.isClone) {
2824
+ }, ts(this), n && !this.isInitialized && !t.isClone) {
2821
2825
  if (!this.options.initImmediate)
2822
2826
  return this.init(t, n), this;
2823
2827
  setTimeout(() => {
@@ -2829,11 +2833,11 @@ class le extends Ae {
2829
2833
  var t = this;
2830
2834
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
2831
2835
  typeof n == "function" && (r = n, n = {}), !n.defaultNS && n.defaultNS !== !1 && n.ns && (typeof n.ns == "string" ? n.defaultNS = n.ns : n.ns.indexOf("translation") < 0 && (n.defaultNS = n.ns[0]));
2832
- const s = mt();
2836
+ const s = yt();
2833
2837
  this.options = {
2834
2838
  ...s,
2835
2839
  ...this.options,
2836
- ...yt(n)
2840
+ ...bt(n)
2837
2841
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
2838
2842
  ...s.interpolation,
2839
2843
  ...this.options.interpolation
@@ -2842,23 +2846,23 @@ class le extends Ae {
2842
2846
  return d ? typeof d == "function" ? new d() : d : null;
2843
2847
  }
2844
2848
  if (!this.options.isClone) {
2845
- this.modules.logger ? _.init(i(this.modules.logger), this.options) : _.init(null, this.options);
2849
+ this.modules.logger ? k.init(i(this.modules.logger), this.options) : k.init(null, this.options);
2846
2850
  let d;
2847
- this.modules.formatter ? d = this.modules.formatter : typeof Intl < "u" && (d = Wr);
2848
- const f = new pt(this.options);
2849
- this.store = new dt(this.options.resources, this.options);
2851
+ this.modules.formatter ? d = this.modules.formatter : typeof Intl < "u" && (d = Zr);
2852
+ const f = new gt(this.options);
2853
+ this.store = new ft(this.options.resources, this.options);
2850
2854
  const l = this.services;
2851
- l.logger = _, l.resourceStore = this.store, l.languageUtils = f, l.pluralResolver = new Br(f, {
2855
+ l.logger = k, l.resourceStore = this.store, l.languageUtils = f, l.pluralResolver = new Jr(f, {
2852
2856
  prepend: this.options.pluralSeparator,
2853
2857
  compatibilityJSON: this.options.compatibilityJSON,
2854
2858
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
2855
- }), d && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (l.formatter = i(d), l.formatter.init(l, this.options), this.options.interpolation.format = l.formatter.format.bind(l.formatter)), l.interpolator = new Ur(this.options), l.utils = {
2859
+ }), d && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (l.formatter = i(d), l.formatter.init(l, this.options), this.options.interpolation.format = l.formatter.format.bind(l.formatter)), l.interpolator = new Qr(this.options), l.utils = {
2856
2860
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
2857
- }, l.backendConnector = new Hr(i(this.modules.backend), l.resourceStore, l, this.options), l.backendConnector.on("*", function(g) {
2861
+ }, l.backendConnector = new es(i(this.modules.backend), l.resourceStore, l, this.options), l.backendConnector.on("*", function(g) {
2858
2862
  for (var p = arguments.length, y = new Array(p > 1 ? p - 1 : 0), h = 1; h < p; h++)
2859
2863
  y[h - 1] = arguments[h];
2860
2864
  t.emit(g, ...y);
2861
- }), this.modules.languageDetector && (l.languageDetector = i(this.modules.languageDetector), l.languageDetector.init && l.languageDetector.init(l, this.options.detection, this.options)), this.modules.i18nFormat && (l.i18nFormat = i(this.modules.i18nFormat), l.i18nFormat.init && l.i18nFormat.init(this)), this.translator = new je(this.services, this.options), this.translator.on("*", function(g) {
2865
+ }), this.modules.languageDetector && (l.languageDetector = i(this.modules.languageDetector), l.languageDetector.init && l.languageDetector.init(l, this.options.detection, this.options)), this.modules.i18nFormat && (l.i18nFormat = i(this.modules.i18nFormat), l.i18nFormat.init && l.i18nFormat.init(this)), this.translator = new Fe(this.services, this.options), this.translator.on("*", function(g) {
2862
2866
  for (var p = arguments.length, y = new Array(p > 1 ? p - 1 : 0), h = 1; h < p; h++)
2863
2867
  y[h - 1] = arguments[h];
2864
2868
  t.emit(g, ...y);
@@ -2866,7 +2870,7 @@ class le extends Ae {
2866
2870
  g.init && g.init(this);
2867
2871
  });
2868
2872
  }
2869
- if (this.format = this.options.interpolation.format, r || (r = he), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
2873
+ if (this.format = this.options.interpolation.format, r || (r = me), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
2870
2874
  const d = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
2871
2875
  d.length > 0 && d[0] !== "dev" && (this.options.lng = d[0]);
2872
2876
  }
@@ -2879,7 +2883,7 @@ class le extends Ae {
2879
2883
  return t.store[d](...arguments), t;
2880
2884
  };
2881
2885
  });
2882
- const u = ue(), c = () => {
2886
+ const u = le(), c = () => {
2883
2887
  const d = (f, l) => {
2884
2888
  this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), u.resolve(l), r(f, l);
2885
2889
  };
@@ -2890,7 +2894,7 @@ class le extends Ae {
2890
2894
  return this.options.resources || !this.options.initImmediate ? c() : setTimeout(c, 0), u;
2891
2895
  }
2892
2896
  loadResources(t) {
2893
- let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : he;
2897
+ let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : me;
2894
2898
  const s = typeof t == "string" ? t : this.language;
2895
2899
  if (typeof t == "function" && (r = t), !this.options.resources || this.options.partialBundledLanguages) {
2896
2900
  if (s && s.toLowerCase() === "cimode")
@@ -2909,8 +2913,8 @@ class le extends Ae {
2909
2913
  r(null);
2910
2914
  }
2911
2915
  reloadResources(t, n, r) {
2912
- const s = ue();
2913
- return t || (t = this.languages), n || (n = this.options.ns), r || (r = he), this.services.backendConnector.reload(t, n, (i) => {
2916
+ const s = le();
2917
+ return t || (t = this.languages), n || (n = this.options.ns), r || (r = me), this.services.backendConnector.reload(t, n, (i) => {
2914
2918
  s.resolve(), r(i);
2915
2919
  }), s;
2916
2920
  }
@@ -2919,7 +2923,7 @@ class le extends Ae {
2919
2923
  throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
2920
2924
  if (!t.type)
2921
2925
  throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
2922
- return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" && Ht.addPostProcessor(t), t.type === "formatter" && (this.modules.formatter = t), t.type === "3rdParty" && this.modules.external.push(t), this;
2926
+ return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" && Kt.addPostProcessor(t), t.type === "formatter" && (this.modules.formatter = t), t.type === "3rdParty" && this.modules.external.push(t), this;
2923
2927
  }
2924
2928
  setResolvedLanguage(t) {
2925
2929
  if (!(!t || !this.languages) && !(["cimode", "dev"].indexOf(t) > -1))
@@ -2934,7 +2938,7 @@ class le extends Ae {
2934
2938
  changeLanguage(t, n) {
2935
2939
  var r = this;
2936
2940
  this.isLanguageChangingTo = t;
2937
- const s = ue();
2941
+ const s = le();
2938
2942
  this.emit("languageChanging", t);
2939
2943
  const i = (u) => {
2940
2944
  this.language = u, this.languages = this.services.languageUtils.toResolveHierarchy(u), this.resolvedLanguage = void 0, this.setResolvedLanguage(u);
@@ -3002,7 +3006,7 @@ class le extends Ae {
3002
3006
  return !!(this.hasResourceBundle(r, t) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || a(r, t) && (!s || a(i, t)));
3003
3007
  }
3004
3008
  loadNamespaces(t, n) {
3005
- const r = ue();
3009
+ const r = le();
3006
3010
  return this.options.ns ? (typeof t == "string" && (t = [t]), t.forEach((s) => {
3007
3011
  this.options.ns.indexOf(s) < 0 && this.options.ns.push(s);
3008
3012
  }), this.loadResources((s) => {
@@ -3010,7 +3014,7 @@ class le extends Ae {
3010
3014
  }), r) : (n && n(), Promise.resolve());
3011
3015
  }
3012
3016
  loadLanguages(t, n) {
3013
- const r = ue();
3017
+ const r = le();
3014
3018
  typeof t == "string" && (t = [t]);
3015
3019
  const s = this.options.preload || [], i = t.filter((a) => s.indexOf(a) < 0);
3016
3020
  return i.length ? (this.options.preload = s.concat(i), this.loadResources((a) => {
@@ -3020,29 +3024,29 @@ class le extends Ae {
3020
3024
  dir(t) {
3021
3025
  if (t || (t = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !t)
3022
3026
  return "rtl";
3023
- const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = this.services && this.services.languageUtils || new pt(mt());
3027
+ const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = this.services && this.services.languageUtils || new gt(yt());
3024
3028
  return n.indexOf(r.getLanguagePartFromCode(t)) > -1 || t.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
3025
3029
  }
3026
3030
  static createInstance() {
3027
3031
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
3028
- return new le(t, n);
3032
+ return new ce(t, n);
3029
3033
  }
3030
3034
  cloneInstance() {
3031
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : he;
3035
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : me;
3032
3036
  const r = t.forkResourceStore;
3033
3037
  r && delete t.forkResourceStore;
3034
3038
  const s = {
3035
3039
  ...this.options,
3036
3040
  ...t,
3037
3041
  isClone: !0
3038
- }, i = new le(s);
3042
+ }, i = new ce(s);
3039
3043
  return (t.debug !== void 0 || t.prefix !== void 0) && (i.logger = i.logger.clone(t)), ["store", "services", "language"].forEach((o) => {
3040
3044
  i[o] = this[o];
3041
3045
  }), i.services = {
3042
3046
  ...this.services
3043
3047
  }, i.services.utils = {
3044
3048
  hasLoadedNamespace: i.hasLoadedNamespace.bind(i)
3045
- }, r && (i.store = new dt(this.store.data, s), i.services.resourceStore = i.store), i.translator = new je(i.services, s), i.translator.on("*", function(o) {
3049
+ }, r && (i.store = new ft(this.store.data, s), i.services.resourceStore = i.store), i.translator = new Fe(i.services, s), i.translator.on("*", function(o) {
3046
3050
  for (var u = arguments.length, c = new Array(u > 1 ? u - 1 : 0), d = 1; d < u; d++)
3047
3051
  c[d - 1] = arguments[d];
3048
3052
  i.emit(o, ...c);
@@ -3060,8 +3064,8 @@ class le extends Ae {
3060
3064
  };
3061
3065
  }
3062
3066
  }
3063
- const j = le.createInstance();
3064
- j.createInstance = le.createInstance;
3067
+ const j = ce.createInstance();
3068
+ j.createInstance = ce.createInstance;
3065
3069
  j.createInstance;
3066
3070
  j.dir;
3067
3071
  j.init;
@@ -3076,26 +3080,26 @@ j.setDefaultNamespace;
3076
3080
  j.hasLoadedNamespace;
3077
3081
  j.loadNamespaces;
3078
3082
  j.loadLanguages;
3079
- const Gr = {
3083
+ const ns = {
3080
3084
  error: "Error"
3081
- }, zr = {
3085
+ }, rs = {
3082
3086
  error: "Помилка"
3083
- }, bt = "common", Jr = {
3084
- en: Gr,
3085
- uk: zr
3087
+ }, St = "common", ss = {
3088
+ en: ns,
3089
+ uk: rs
3086
3090
  }, I = j.createInstance({
3087
- defaultNS: bt,
3088
- resources: Yr(Jr, bt),
3091
+ defaultNS: St,
3092
+ resources: as(ss, St),
3089
3093
  lng: "en",
3090
3094
  fallbackLng: "en"
3091
- }), Kt = {
3095
+ }), zt = {
3092
3096
  i18nextInstance: I,
3093
3097
  initPromise: I.init().then(() => I)
3094
- }, me = /* @__PURE__ */ new Map();
3095
- me.set("common", Kt);
3096
- const Qr = (e) => {
3097
- if (me.has(e.namespace))
3098
- return me.get(e.namespace);
3098
+ }, ye = /* @__PURE__ */ new Map();
3099
+ ye.set("common", zt);
3100
+ const is = (e) => {
3101
+ if (ye.has(e.namespace))
3102
+ return ye.get(e.namespace);
3099
3103
  if (e.plugins)
3100
3104
  for (const i of e.plugins)
3101
3105
  I.use(i);
@@ -3105,7 +3109,7 @@ const Qr = (e) => {
3105
3109
  const t = I.cloneInstance({
3106
3110
  defaultNS: e.namespace
3107
3111
  });
3108
- let n = Kt.initPromise.then(() => t);
3112
+ let n = zt.initPromise.then(() => t);
3109
3113
  t.on("languageChanged", (i) => {
3110
3114
  I.language !== i && I.changeLanguage(i);
3111
3115
  }), I.on("languageChanged", (i) => {
@@ -3114,56 +3118,54 @@ const Qr = (e) => {
3114
3118
  const r = e.language || "en";
3115
3119
  I.language !== r && (n = n.then(() => t.changeLanguage(r)).then(() => t));
3116
3120
  const s = { initPromise: n, i18nextInstance: t };
3117
- return me.set(e.namespace, s), s;
3121
+ return ye.set(e.namespace, s), s;
3118
3122
  };
3119
- function Yr(e, t) {
3123
+ function as(e, t) {
3120
3124
  return Object.keys(e).reduce((n, r) => (n[r] = {
3121
3125
  [t]: e[r]
3122
3126
  }, n), {});
3123
3127
  }
3124
- function Zr(e) {
3128
+ function os(e) {
3125
3129
  return e && e.replace(new RegExp("(?<!\\\\)'", "g"), "\\'");
3126
3130
  }
3127
- const Xr = {
3131
+ const us = {
3128
3132
  errors: {
3129
3133
  measure: {
3130
- unsupportedType: "Unsupported measure type",
3134
+ unsupportedType: "Unsupported measure type for measure: {{measureName}}",
3131
3135
  dimensionalCalculatedMeasure: {
3132
- noContext: "DimensionalCalculatedMeasure must have 'context' property"
3136
+ noContext: "DimensionalCalculatedMeasure {{measureName}} must have 'context' property"
3133
3137
  },
3134
3138
  dimensionalBaseMeasure: {
3135
- noAttributeDimExpression: "DimensionalBaseMeasure must have 'attribute'/'dim'/'expression' property",
3136
- noAggAggregation: "DimensionalBaseMeasure must have 'agg' or 'aggregation' property"
3137
- },
3138
- notAFormula: "Jaql is not a formula"
3139
+ noAttributeDimExpression: "DimensionalBaseMeasure {{measureName}} must have 'attribute'/'dim'/'expression' property",
3140
+ noAggAggregation: "DimensionalBaseMeasure {{measureName}} must have 'agg' or 'aggregation' property"
3141
+ }
3139
3142
  },
3140
- dataModelConfig: {
3143
+ dataModel: {
3141
3144
  noName: "'name' must be specified in config for DataModel",
3142
3145
  noMetadata: "'metadata' must be specified in config for DataModel"
3143
3146
  },
3144
3147
  filter: {
3145
3148
  unsupportedType: "Unsupported filter type: {{filterType}}",
3146
- unsupportedDatetimeLevel: 'Filters do not support the next "datetime" levels: Hours, MinutesRoundTo30, MinutesRoundTo15, Minutes, Seconds',
3149
+ unsupportedDatetimeLevel: 'Filters do not support the following "datetime" levels: Hours, MinutesRoundTo30, MinutesRoundTo15, Minutes, Seconds',
3147
3150
  membersFilterNullMember: "MembersFilter of {{attributeId}} - member cannot be null",
3148
- unsupportedConditionFilter: "Jaql contains unsupported condition filter: {{filter}}",
3149
- formulaFiltersNotSupported: "Formula-based filter not supported yet: {{filter}}"
3151
+ unsupportedConditionFilter: "Jaql for {{attributeName}} contains unsupported condition filter: {{filter}}",
3152
+ formulaFiltersNotSupported: "Formula-based filter for {{attributeName}} not supported yet: {{filter}}"
3150
3153
  },
3151
3154
  unsupportedDimensionalElement: "Unsupported dimensional element type"
3152
3155
  }
3153
- }, es = {
3156
+ }, ls = {
3154
3157
  errors: {
3155
3158
  measure: {
3156
- unsupportedType: "Непідтримуваний тип measure",
3159
+ unsupportedType: "Непідтримуваний тип measure: {{measureName}}",
3157
3160
  dimensionalCalculatedMeasure: {
3158
- noContext: "DimensionalCalculatedMeasure має мати властивість 'context'"
3161
+ noContext: "DimensionalCalculatedMeasure {{measureName}} має мати властивість 'context'"
3159
3162
  },
3160
3163
  dimensionalBaseMeasure: {
3161
- noAttributeDimExpression: "DimensionalBaseMeasure має мати властивість 'attribute'/'dim'/'expression'",
3162
- noAggAggregation: "DimensionalBaseMeasure має мати властивість 'agg' або 'aggregation'"
3163
- },
3164
- notAFormula: "Jaql не формула"
3164
+ noAttributeDimExpression: "DimensionalBaseMeasure {{measureName}} має мати властивість 'attribute'/'dim'/'expression'",
3165
+ noAggAggregation: "DimensionalBaseMeasure {{measureName}} має мати властивість 'agg' або 'aggregation'"
3166
+ }
3165
3167
  },
3166
- dataModelConfig: {
3168
+ dataModel: {
3167
3169
  noName: "'name' має бути вказано в конфігурації для DataModel",
3168
3170
  noMetadata: "'metadata' має бути вказано в конфігурації для DataModel"
3169
3171
  },
@@ -3171,24 +3173,24 @@ const Xr = {
3171
3173
  unsupportedType: "Непідтримуваний тип фільтра: {{filterType}}",
3172
3174
  unsupportedDatetimeLevel: 'Фільтри не підтримують наступні рівні "datetime": Hours, MinutesRoundTo30, MinutesRoundTo15, Minutes, Seconds',
3173
3175
  membersFilterNullMember: "MembersFilter у {{attributeId}} - member не може бути нульовим",
3174
- unsupportedConditionFilter: "Jaql містить непідтримуваний condition фільтр: {{filter}}",
3175
- formulaFiltersNotSupported: "Фільтри, що містять формули наразі не підтримуються: {{filter}}"
3176
+ unsupportedConditionFilter: "Jaql для {{attributeName}} містить непідтримуваний condition фільтр: {{filter}}",
3177
+ formulaFiltersNotSupported: "Фільтри, що містять формули для {{attributeName}} наразі не підтримуються: {{filter}}"
3176
3178
  },
3177
3179
  unsupportedDimensionalElement: "Непідтримуваний тип елемента"
3178
3180
  }
3179
- }, ts = "sdkData", ns = {
3180
- en: Xr,
3181
- uk: es
3181
+ }, cs = "sdkData", ds = {
3182
+ en: us,
3183
+ uk: ls
3182
3184
  };
3183
- function rs() {
3184
- return Qr({
3185
- resource: ns,
3185
+ function fs() {
3186
+ return is({
3187
+ resource: ds,
3186
3188
  language: "en",
3187
- namespace: ts
3189
+ namespace: cs
3188
3190
  });
3189
3191
  }
3190
- rs();
3191
- function ss() {
3192
+ fs();
3193
+ function ps() {
3192
3194
  this.__data__ = [], this.size = 0;
3193
3195
  }
3194
3196
  function Gt(e, t) {
@@ -3200,64 +3202,64 @@ function Ee(e, t) {
3200
3202
  return n;
3201
3203
  return -1;
3202
3204
  }
3203
- var is = Array.prototype, as = is.splice;
3204
- function os(e) {
3205
+ var gs = Array.prototype, hs = gs.splice;
3206
+ function ms(e) {
3205
3207
  var t = this.__data__, n = Ee(t, e);
3206
3208
  if (n < 0)
3207
3209
  return !1;
3208
3210
  var r = t.length - 1;
3209
- return n == r ? t.pop() : as.call(t, n, 1), --this.size, !0;
3211
+ return n == r ? t.pop() : hs.call(t, n, 1), --this.size, !0;
3210
3212
  }
3211
- function us(e) {
3213
+ function ys(e) {
3212
3214
  var t = this.__data__, n = Ee(t, e);
3213
3215
  return n < 0 ? void 0 : t[n][1];
3214
3216
  }
3215
- function ls(e) {
3217
+ function bs(e) {
3216
3218
  return Ee(this.__data__, e) > -1;
3217
3219
  }
3218
- function cs(e, t) {
3220
+ function Ss(e, t) {
3219
3221
  var n = this.__data__, r = Ee(n, e);
3220
3222
  return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
3221
3223
  }
3222
- function U(e) {
3224
+ function q(e) {
3223
3225
  var t = -1, n = e == null ? 0 : e.length;
3224
3226
  for (this.clear(); ++t < n; ) {
3225
3227
  var r = e[t];
3226
3228
  this.set(r[0], r[1]);
3227
3229
  }
3228
3230
  }
3229
- U.prototype.clear = ss;
3230
- U.prototype.delete = os;
3231
- U.prototype.get = us;
3232
- U.prototype.has = ls;
3233
- U.prototype.set = cs;
3234
- function ds() {
3235
- this.__data__ = new U(), this.size = 0;
3231
+ q.prototype.clear = ps;
3232
+ q.prototype.delete = ms;
3233
+ q.prototype.get = ys;
3234
+ q.prototype.has = bs;
3235
+ q.prototype.set = Ss;
3236
+ function Os() {
3237
+ this.__data__ = new q(), this.size = 0;
3236
3238
  }
3237
- function fs(e) {
3239
+ function vs(e) {
3238
3240
  var t = this.__data__, n = t.delete(e);
3239
3241
  return this.size = t.size, n;
3240
3242
  }
3241
- function ps(e) {
3243
+ function xs(e) {
3242
3244
  return this.__data__.get(e);
3243
3245
  }
3244
- function gs(e) {
3246
+ function Cs(e) {
3245
3247
  return this.__data__.has(e);
3246
3248
  }
3247
- var hs = q["__core-js_shared__"];
3248
- const Me = hs;
3249
- var St = function() {
3250
- var e = /[^.]+$/.exec(Me && Me.keys && Me.keys.IE_PROTO || "");
3249
+ var ws = W["__core-js_shared__"];
3250
+ const $e = ws;
3251
+ var Ot = function() {
3252
+ var e = /[^.]+$/.exec($e && $e.keys && $e.keys.IE_PROTO || "");
3251
3253
  return e ? "Symbol(src)_1." + e : "";
3252
3254
  }();
3253
- function ms(e) {
3254
- return !!St && St in e;
3255
+ function Ps(e) {
3256
+ return !!Ot && Ot in e;
3255
3257
  }
3256
- var ys = Function.prototype, bs = ys.toString;
3257
- function G(e) {
3258
+ var Ds = Function.prototype, js = Ds.toString;
3259
+ function z(e) {
3258
3260
  if (e != null) {
3259
3261
  try {
3260
- return bs.call(e);
3262
+ return js.call(e);
3261
3263
  } catch {
3262
3264
  }
3263
3265
  try {
@@ -3267,51 +3269,51 @@ function G(e) {
3267
3269
  }
3268
3270
  return "";
3269
3271
  }
3270
- var Ss = /[\\^$.*+?()[\]{}|]/g, Os = /^\[object .+?Constructor\]$/, vs = Function.prototype, xs = Object.prototype, Cs = vs.toString, ws = xs.hasOwnProperty, Ps = RegExp(
3271
- "^" + Cs.call(ws).replace(Ss, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3272
+ var Fs = /[\\^$.*+?()[\]{}|]/g, As = /^\[object .+?Constructor\]$/, Ls = Function.prototype, Es = Object.prototype, Ns = Ls.toString, Rs = Es.hasOwnProperty, Ts = RegExp(
3273
+ "^" + Ns.call(Rs).replace(Fs, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3272
3274
  );
3273
- function Ds(e) {
3274
- if (!Fe(e) || ms(e))
3275
+ function Ms(e) {
3276
+ if (!Ae(e) || Ps(e))
3275
3277
  return !1;
3276
- var t = $n(e) ? Ps : Os;
3277
- return t.test(G(e));
3278
+ var t = kn(e) ? Ts : As;
3279
+ return t.test(z(e));
3278
3280
  }
3279
- function js(e, t) {
3281
+ function $s(e, t) {
3280
3282
  return e == null ? void 0 : e[t];
3281
3283
  }
3282
- function z(e, t) {
3283
- var n = js(e, t);
3284
- return Ds(n) ? n : void 0;
3284
+ function G(e, t) {
3285
+ var n = $s(e, t);
3286
+ return Ms(n) ? n : void 0;
3285
3287
  }
3286
- var Fs = z(q, "Map");
3287
- const ce = Fs;
3288
- var As = z(Object, "create");
3289
- const de = As;
3290
- function Es() {
3291
- this.__data__ = de ? de(null) : {}, this.size = 0;
3288
+ var Is = G(W, "Map");
3289
+ const de = Is;
3290
+ var _s = G(Object, "create");
3291
+ const fe = _s;
3292
+ function ks() {
3293
+ this.__data__ = fe ? fe(null) : {}, this.size = 0;
3292
3294
  }
3293
- function Ls(e) {
3295
+ function Bs(e) {
3294
3296
  var t = this.has(e) && delete this.__data__[e];
3295
3297
  return this.size -= t ? 1 : 0, t;
3296
3298
  }
3297
- var Ns = "__lodash_hash_undefined__", Rs = Object.prototype, Ts = Rs.hasOwnProperty;
3298
- function Ms(e) {
3299
+ var Us = "__lodash_hash_undefined__", qs = Object.prototype, Ws = qs.hasOwnProperty;
3300
+ function Vs(e) {
3299
3301
  var t = this.__data__;
3300
- if (de) {
3302
+ if (fe) {
3301
3303
  var n = t[e];
3302
- return n === Ns ? void 0 : n;
3304
+ return n === Us ? void 0 : n;
3303
3305
  }
3304
- return Ts.call(t, e) ? t[e] : void 0;
3306
+ return Ws.call(t, e) ? t[e] : void 0;
3305
3307
  }
3306
- var $s = Object.prototype, Is = $s.hasOwnProperty;
3307
- function _s(e) {
3308
+ var Hs = Object.prototype, Ks = Hs.hasOwnProperty;
3309
+ function zs(e) {
3308
3310
  var t = this.__data__;
3309
- return de ? t[e] !== void 0 : Is.call(t, e);
3311
+ return fe ? t[e] !== void 0 : Ks.call(t, e);
3310
3312
  }
3311
- var ks = "__lodash_hash_undefined__";
3312
- function Bs(e, t) {
3313
+ var Gs = "__lodash_hash_undefined__";
3314
+ function Js(e, t) {
3313
3315
  var n = this.__data__;
3314
- return this.size += this.has(e) ? 0 : 1, n[e] = de && t === void 0 ? ks : t, this;
3316
+ return this.size += this.has(e) ? 0 : 1, n[e] = fe && t === void 0 ? Gs : t, this;
3315
3317
  }
3316
3318
  function K(e) {
3317
3319
  var t = -1, n = e == null ? 0 : e.length;
@@ -3320,38 +3322,38 @@ function K(e) {
3320
3322
  this.set(r[0], r[1]);
3321
3323
  }
3322
3324
  }
3323
- K.prototype.clear = Es;
3324
- K.prototype.delete = Ls;
3325
- K.prototype.get = Ms;
3326
- K.prototype.has = _s;
3327
- K.prototype.set = Bs;
3328
- function Us() {
3325
+ K.prototype.clear = ks;
3326
+ K.prototype.delete = Bs;
3327
+ K.prototype.get = Vs;
3328
+ K.prototype.has = zs;
3329
+ K.prototype.set = Js;
3330
+ function Qs() {
3329
3331
  this.size = 0, this.__data__ = {
3330
3332
  hash: new K(),
3331
- map: new (ce || U)(),
3333
+ map: new (de || q)(),
3332
3334
  string: new K()
3333
3335
  };
3334
3336
  }
3335
- function qs(e) {
3337
+ function Ys(e) {
3336
3338
  var t = typeof e;
3337
3339
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
3338
3340
  }
3339
- function Le(e, t) {
3341
+ function Ne(e, t) {
3340
3342
  var n = e.__data__;
3341
- return qs(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
3343
+ return Ys(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
3342
3344
  }
3343
- function Ws(e) {
3344
- var t = Le(this, e).delete(e);
3345
+ function Zs(e) {
3346
+ var t = Ne(this, e).delete(e);
3345
3347
  return this.size -= t ? 1 : 0, t;
3346
3348
  }
3347
- function Vs(e) {
3348
- return Le(this, e).get(e);
3349
+ function Xs(e) {
3350
+ return Ne(this, e).get(e);
3349
3351
  }
3350
- function Hs(e) {
3351
- return Le(this, e).has(e);
3352
+ function ei(e) {
3353
+ return Ne(this, e).has(e);
3352
3354
  }
3353
- function Ks(e, t) {
3354
- var n = Le(this, e), r = n.size;
3355
+ function ti(e, t) {
3356
+ var n = Ne(this, e), r = n.size;
3355
3357
  return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
3356
3358
  }
3357
3359
  function re(e) {
@@ -3361,325 +3363,325 @@ function re(e) {
3361
3363
  this.set(r[0], r[1]);
3362
3364
  }
3363
3365
  }
3364
- re.prototype.clear = Us;
3365
- re.prototype.delete = Ws;
3366
- re.prototype.get = Vs;
3367
- re.prototype.has = Hs;
3368
- re.prototype.set = Ks;
3369
- var Gs = 200;
3370
- function zs(e, t) {
3366
+ re.prototype.clear = Qs;
3367
+ re.prototype.delete = Zs;
3368
+ re.prototype.get = Xs;
3369
+ re.prototype.has = ei;
3370
+ re.prototype.set = ti;
3371
+ var ni = 200;
3372
+ function ri(e, t) {
3371
3373
  var n = this.__data__;
3372
- if (n instanceof U) {
3374
+ if (n instanceof q) {
3373
3375
  var r = n.__data__;
3374
- if (!ce || r.length < Gs - 1)
3376
+ if (!de || r.length < ni - 1)
3375
3377
  return r.push([e, t]), this.size = ++n.size, this;
3376
3378
  n = this.__data__ = new re(r);
3377
3379
  }
3378
3380
  return n.set(e, t), this.size = n.size, this;
3379
3381
  }
3380
3382
  function se(e) {
3381
- var t = this.__data__ = new U(e);
3383
+ var t = this.__data__ = new q(e);
3382
3384
  this.size = t.size;
3383
3385
  }
3384
- se.prototype.clear = ds;
3385
- se.prototype.delete = fs;
3386
- se.prototype.get = ps;
3387
- se.prototype.has = gs;
3388
- se.prototype.set = zs;
3389
- function Js(e, t) {
3386
+ se.prototype.clear = Os;
3387
+ se.prototype.delete = vs;
3388
+ se.prototype.get = xs;
3389
+ se.prototype.has = Cs;
3390
+ se.prototype.set = ri;
3391
+ function si(e, t) {
3390
3392
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
3391
3393
  ;
3392
3394
  return e;
3393
3395
  }
3394
- var Qs = function() {
3396
+ var ii = function() {
3395
3397
  try {
3396
- var e = z(Object, "defineProperty");
3398
+ var e = G(Object, "defineProperty");
3397
3399
  return e({}, "", {}), e;
3398
3400
  } catch {
3399
3401
  }
3400
3402
  }();
3401
- const Ot = Qs;
3402
- function zt(e, t, n) {
3403
- t == "__proto__" && Ot ? Ot(e, t, {
3403
+ const vt = ii;
3404
+ function Jt(e, t, n) {
3405
+ t == "__proto__" && vt ? vt(e, t, {
3404
3406
  configurable: !0,
3405
3407
  enumerable: !0,
3406
3408
  value: n,
3407
3409
  writable: !0
3408
3410
  }) : e[t] = n;
3409
3411
  }
3410
- var Ys = Object.prototype, Zs = Ys.hasOwnProperty;
3411
- function Jt(e, t, n) {
3412
+ var ai = Object.prototype, oi = ai.hasOwnProperty;
3413
+ function Qt(e, t, n) {
3412
3414
  var r = e[t];
3413
- (!(Zs.call(e, t) && Gt(r, n)) || n === void 0 && !(t in e)) && zt(e, t, n);
3415
+ (!(oi.call(e, t) && Gt(r, n)) || n === void 0 && !(t in e)) && Jt(e, t, n);
3414
3416
  }
3415
- function Ne(e, t, n, r) {
3417
+ function Re(e, t, n, r) {
3416
3418
  var s = !n;
3417
3419
  n || (n = {});
3418
3420
  for (var i = -1, a = t.length; ++i < a; ) {
3419
3421
  var o = t[i], u = r ? r(n[o], e[o], o, n, e) : void 0;
3420
- u === void 0 && (u = e[o]), s ? zt(n, o, u) : Jt(n, o, u);
3422
+ u === void 0 && (u = e[o]), s ? Jt(n, o, u) : Qt(n, o, u);
3421
3423
  }
3422
3424
  return n;
3423
3425
  }
3424
- function Xs(e, t) {
3425
- return e && Ne(t, Je(t), e);
3426
+ function ui(e, t) {
3427
+ return e && Re(t, Qe(t), e);
3426
3428
  }
3427
- function ei(e) {
3429
+ function li(e) {
3428
3430
  var t = [];
3429
3431
  if (e != null)
3430
3432
  for (var n in Object(e))
3431
3433
  t.push(n);
3432
3434
  return t;
3433
3435
  }
3434
- var ti = Object.prototype, ni = ti.hasOwnProperty;
3435
- function ri(e) {
3436
- if (!Fe(e))
3437
- return ei(e);
3438
- var t = _t(e), n = [];
3436
+ var ci = Object.prototype, di = ci.hasOwnProperty;
3437
+ function fi(e) {
3438
+ if (!Ae(e))
3439
+ return li(e);
3440
+ var t = kt(e), n = [];
3439
3441
  for (var r in e)
3440
- r == "constructor" && (t || !ni.call(e, r)) || n.push(r);
3442
+ r == "constructor" && (t || !di.call(e, r)) || n.push(r);
3441
3443
  return n;
3442
3444
  }
3443
- function Ze(e) {
3444
- return In(e) ? _n(e, !0) : ri(e);
3445
+ function Xe(e) {
3446
+ return Bn(e) ? Un(e, !0) : fi(e);
3445
3447
  }
3446
- function si(e, t) {
3447
- return e && Ne(t, Ze(t), e);
3448
+ function pi(e, t) {
3449
+ return e && Re(t, Xe(t), e);
3448
3450
  }
3449
- var Qt = typeof exports == "object" && exports && !exports.nodeType && exports, vt = Qt && typeof module == "object" && module && !module.nodeType && module, ii = vt && vt.exports === Qt, xt = ii ? q.Buffer : void 0, Ct = xt ? xt.allocUnsafe : void 0;
3450
- function ai(e, t) {
3451
+ var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, xt = Yt && typeof module == "object" && module && !module.nodeType && module, gi = xt && xt.exports === Yt, Ct = gi ? W.Buffer : void 0, wt = Ct ? Ct.allocUnsafe : void 0;
3452
+ function hi(e, t) {
3451
3453
  if (t)
3452
3454
  return e.slice();
3453
- var n = e.length, r = Ct ? Ct(n) : new e.constructor(n);
3455
+ var n = e.length, r = wt ? wt(n) : new e.constructor(n);
3454
3456
  return e.copy(r), r;
3455
3457
  }
3456
- function oi(e, t) {
3458
+ function mi(e, t) {
3457
3459
  var n = -1, r = e.length;
3458
3460
  for (t || (t = Array(r)); ++n < r; )
3459
3461
  t[n] = e[n];
3460
3462
  return t;
3461
3463
  }
3462
- function ui(e, t) {
3464
+ function yi(e, t) {
3463
3465
  for (var n = -1, r = e == null ? 0 : e.length, s = 0, i = []; ++n < r; ) {
3464
3466
  var a = e[n];
3465
3467
  t(a, n, e) && (i[s++] = a);
3466
3468
  }
3467
3469
  return i;
3468
3470
  }
3469
- function Yt() {
3471
+ function Zt() {
3470
3472
  return [];
3471
3473
  }
3472
- var li = Object.prototype, ci = li.propertyIsEnumerable, wt = Object.getOwnPropertySymbols, di = wt ? function(e) {
3473
- return e == null ? [] : (e = Object(e), ui(wt(e), function(t) {
3474
- return ci.call(e, t);
3474
+ var bi = Object.prototype, Si = bi.propertyIsEnumerable, Pt = Object.getOwnPropertySymbols, Oi = Pt ? function(e) {
3475
+ return e == null ? [] : (e = Object(e), yi(Pt(e), function(t) {
3476
+ return Si.call(e, t);
3475
3477
  }));
3476
- } : Yt;
3477
- const Xe = di;
3478
- function fi(e, t) {
3479
- return Ne(e, Xe(e), t);
3478
+ } : Zt;
3479
+ const et = Oi;
3480
+ function vi(e, t) {
3481
+ return Re(e, et(e), t);
3480
3482
  }
3481
- function Zt(e, t) {
3483
+ function Xt(e, t) {
3482
3484
  for (var n = -1, r = t.length, s = e.length; ++n < r; )
3483
3485
  e[s + n] = t[n];
3484
3486
  return e;
3485
3487
  }
3486
- var pi = kn(Object.getPrototypeOf, Object);
3487
- const Xt = pi;
3488
- var gi = Object.getOwnPropertySymbols, hi = gi ? function(e) {
3488
+ var xi = qn(Object.getPrototypeOf, Object);
3489
+ const en = xi;
3490
+ var Ci = Object.getOwnPropertySymbols, wi = Ci ? function(e) {
3489
3491
  for (var t = []; e; )
3490
- Zt(t, Xe(e)), e = Xt(e);
3492
+ Xt(t, et(e)), e = en(e);
3491
3493
  return t;
3492
- } : Yt;
3493
- const en = hi;
3494
- function mi(e, t) {
3495
- return Ne(e, en(e), t);
3494
+ } : Zt;
3495
+ const tn = wi;
3496
+ function Pi(e, t) {
3497
+ return Re(e, tn(e), t);
3496
3498
  }
3497
- function tn(e, t, n) {
3499
+ function nn(e, t, n) {
3498
3500
  var r = t(e);
3499
- return kt(e) ? r : Zt(r, n(e));
3501
+ return Bt(e) ? r : Xt(r, n(e));
3500
3502
  }
3501
- function yi(e) {
3502
- return tn(e, Je, Xe);
3503
+ function Di(e) {
3504
+ return nn(e, Qe, et);
3503
3505
  }
3504
- function bi(e) {
3505
- return tn(e, Ze, en);
3506
+ function ji(e) {
3507
+ return nn(e, Xe, tn);
3506
3508
  }
3507
- var Si = z(q, "DataView");
3508
- const Ve = Si;
3509
- var Oi = z(q, "Promise");
3510
- const He = Oi;
3511
- var vi = z(q, "Set");
3512
- const Ke = vi;
3513
- var xi = z(q, "WeakMap");
3514
- const Ge = xi;
3515
- var Pt = "[object Map]", Ci = "[object Object]", Dt = "[object Promise]", jt = "[object Set]", Ft = "[object WeakMap]", At = "[object DataView]", wi = G(Ve), Pi = G(ce), Di = G(He), ji = G(Ke), Fi = G(Ge), H = Bt;
3516
- (Ve && H(new Ve(new ArrayBuffer(1))) != At || ce && H(new ce()) != Pt || He && H(He.resolve()) != Dt || Ke && H(new Ke()) != jt || Ge && H(new Ge()) != Ft) && (H = function(e) {
3517
- var t = Bt(e), n = t == Ci ? e.constructor : void 0, r = n ? G(n) : "";
3509
+ var Fi = G(W, "DataView");
3510
+ const He = Fi;
3511
+ var Ai = G(W, "Promise");
3512
+ const Ke = Ai;
3513
+ var Li = G(W, "Set");
3514
+ const ze = Li;
3515
+ var Ei = G(W, "WeakMap");
3516
+ const Ge = Ei;
3517
+ var Dt = "[object Map]", Ni = "[object Object]", jt = "[object Promise]", Ft = "[object Set]", At = "[object WeakMap]", Lt = "[object DataView]", Ri = z(He), Ti = z(de), Mi = z(Ke), $i = z(ze), Ii = z(Ge), H = Ut;
3518
+ (He && H(new He(new ArrayBuffer(1))) != Lt || de && H(new de()) != Dt || Ke && H(Ke.resolve()) != jt || ze && H(new ze()) != Ft || Ge && H(new Ge()) != At) && (H = function(e) {
3519
+ var t = Ut(e), n = t == Ni ? e.constructor : void 0, r = n ? z(n) : "";
3518
3520
  if (r)
3519
3521
  switch (r) {
3520
- case wi:
3521
- return At;
3522
- case Pi:
3523
- return Pt;
3524
- case Di:
3522
+ case Ri:
3523
+ return Lt;
3524
+ case Ti:
3525
3525
  return Dt;
3526
- case ji:
3526
+ case Mi:
3527
3527
  return jt;
3528
- case Fi:
3528
+ case $i:
3529
3529
  return Ft;
3530
+ case Ii:
3531
+ return At;
3530
3532
  }
3531
3533
  return t;
3532
3534
  });
3533
- const et = H;
3534
- var Ai = Object.prototype, Ei = Ai.hasOwnProperty;
3535
- function Li(e) {
3535
+ const tt = H;
3536
+ var _i = Object.prototype, ki = _i.hasOwnProperty;
3537
+ function Bi(e) {
3536
3538
  var t = e.length, n = new e.constructor(t);
3537
- return t && typeof e[0] == "string" && Ei.call(e, "index") && (n.index = e.index, n.input = e.input), n;
3539
+ return t && typeof e[0] == "string" && ki.call(e, "index") && (n.index = e.index, n.input = e.input), n;
3538
3540
  }
3539
- var Ni = q.Uint8Array;
3540
- const Et = Ni;
3541
- function tt(e) {
3541
+ var Ui = W.Uint8Array;
3542
+ const Et = Ui;
3543
+ function nt(e) {
3542
3544
  var t = new e.constructor(e.byteLength);
3543
3545
  return new Et(t).set(new Et(e)), t;
3544
3546
  }
3545
- function Ri(e, t) {
3546
- var n = t ? tt(e.buffer) : e.buffer;
3547
+ function qi(e, t) {
3548
+ var n = t ? nt(e.buffer) : e.buffer;
3547
3549
  return new e.constructor(n, e.byteOffset, e.byteLength);
3548
3550
  }
3549
- var Ti = /\w*$/;
3550
- function Mi(e) {
3551
- var t = new e.constructor(e.source, Ti.exec(e));
3551
+ var Wi = /\w*$/;
3552
+ function Vi(e) {
3553
+ var t = new e.constructor(e.source, Wi.exec(e));
3552
3554
  return t.lastIndex = e.lastIndex, t;
3553
3555
  }
3554
- var Lt = it ? it.prototype : void 0, Nt = Lt ? Lt.valueOf : void 0;
3555
- function $i(e) {
3556
- return Nt ? Object(Nt.call(e)) : {};
3556
+ var Nt = at ? at.prototype : void 0, Rt = Nt ? Nt.valueOf : void 0;
3557
+ function Hi(e) {
3558
+ return Rt ? Object(Rt.call(e)) : {};
3557
3559
  }
3558
- function Ii(e, t) {
3559
- var n = t ? tt(e.buffer) : e.buffer;
3560
+ function Ki(e, t) {
3561
+ var n = t ? nt(e.buffer) : e.buffer;
3560
3562
  return new e.constructor(n, e.byteOffset, e.length);
3561
3563
  }
3562
- var _i = "[object Boolean]", ki = "[object Date]", Bi = "[object Map]", Ui = "[object Number]", qi = "[object RegExp]", Wi = "[object Set]", Vi = "[object String]", Hi = "[object Symbol]", Ki = "[object ArrayBuffer]", Gi = "[object DataView]", zi = "[object Float32Array]", Ji = "[object Float64Array]", Qi = "[object Int8Array]", Yi = "[object Int16Array]", Zi = "[object Int32Array]", Xi = "[object Uint8Array]", ea = "[object Uint8ClampedArray]", ta = "[object Uint16Array]", na = "[object Uint32Array]";
3563
- function ra(e, t, n) {
3564
+ var zi = "[object Boolean]", Gi = "[object Date]", Ji = "[object Map]", Qi = "[object Number]", Yi = "[object RegExp]", Zi = "[object Set]", Xi = "[object String]", ea = "[object Symbol]", ta = "[object ArrayBuffer]", na = "[object DataView]", ra = "[object Float32Array]", sa = "[object Float64Array]", ia = "[object Int8Array]", aa = "[object Int16Array]", oa = "[object Int32Array]", ua = "[object Uint8Array]", la = "[object Uint8ClampedArray]", ca = "[object Uint16Array]", da = "[object Uint32Array]";
3565
+ function fa(e, t, n) {
3564
3566
  var r = e.constructor;
3565
3567
  switch (t) {
3566
- case Ki:
3567
- return tt(e);
3568
- case _i:
3569
- case ki:
3570
- return new r(+e);
3571
- case Gi:
3572
- return Ri(e, n);
3568
+ case ta:
3569
+ return nt(e);
3573
3570
  case zi:
3571
+ case Gi:
3572
+ return new r(+e);
3573
+ case na:
3574
+ return qi(e, n);
3575
+ case ra:
3576
+ case sa:
3577
+ case ia:
3578
+ case aa:
3579
+ case oa:
3580
+ case ua:
3581
+ case la:
3582
+ case ca:
3583
+ case da:
3584
+ return Ki(e, n);
3574
3585
  case Ji:
3586
+ return new r();
3575
3587
  case Qi:
3576
- case Yi:
3577
- case Zi:
3578
3588
  case Xi:
3579
- case ea:
3580
- case ta:
3581
- case na:
3582
- return Ii(e, n);
3583
- case Bi:
3584
- return new r();
3585
- case Ui:
3586
- case Vi:
3587
3589
  return new r(e);
3588
- case qi:
3589
- return Mi(e);
3590
- case Wi:
3590
+ case Yi:
3591
+ return Vi(e);
3592
+ case Zi:
3591
3593
  return new r();
3592
- case Hi:
3593
- return $i(e);
3594
+ case ea:
3595
+ return Hi(e);
3594
3596
  }
3595
3597
  }
3596
- var Rt = Object.create, sa = function() {
3598
+ var Tt = Object.create, pa = function() {
3597
3599
  function e() {
3598
3600
  }
3599
3601
  return function(t) {
3600
- if (!Fe(t))
3602
+ if (!Ae(t))
3601
3603
  return {};
3602
- if (Rt)
3603
- return Rt(t);
3604
+ if (Tt)
3605
+ return Tt(t);
3604
3606
  e.prototype = t;
3605
3607
  var n = new e();
3606
3608
  return e.prototype = void 0, n;
3607
3609
  };
3608
3610
  }();
3609
- const ia = sa;
3610
- function aa(e) {
3611
- return typeof e.constructor == "function" && !_t(e) ? ia(Xt(e)) : {};
3611
+ const ga = pa;
3612
+ function ha(e) {
3613
+ return typeof e.constructor == "function" && !kt(e) ? ga(en(e)) : {};
3612
3614
  }
3613
- var oa = "[object Map]";
3614
- function ua(e) {
3615
- return Ut(e) && et(e) == oa;
3615
+ var ma = "[object Map]";
3616
+ function ya(e) {
3617
+ return qt(e) && tt(e) == ma;
3616
3618
  }
3617
- var Tt = xe && xe.isMap, la = Tt ? qt(Tt) : ua;
3618
- const ca = la;
3619
- var da = "[object Set]";
3620
- function fa(e) {
3621
- return Ut(e) && et(e) == da;
3619
+ var Mt = Ce && Ce.isMap, ba = Mt ? Wt(Mt) : ya;
3620
+ const Sa = ba;
3621
+ var Oa = "[object Set]";
3622
+ function va(e) {
3623
+ return qt(e) && tt(e) == Oa;
3622
3624
  }
3623
- var Mt = xe && xe.isSet, pa = Mt ? qt(Mt) : fa;
3624
- const ga = pa;
3625
- var ha = 1, ma = 2, ya = 4, nn = "[object Arguments]", ba = "[object Array]", Sa = "[object Boolean]", Oa = "[object Date]", va = "[object Error]", rn = "[object Function]", xa = "[object GeneratorFunction]", Ca = "[object Map]", wa = "[object Number]", sn = "[object Object]", Pa = "[object RegExp]", Da = "[object Set]", ja = "[object String]", Fa = "[object Symbol]", Aa = "[object WeakMap]", Ea = "[object ArrayBuffer]", La = "[object DataView]", Na = "[object Float32Array]", Ra = "[object Float64Array]", Ta = "[object Int8Array]", Ma = "[object Int16Array]", $a = "[object Int32Array]", Ia = "[object Uint8Array]", _a = "[object Uint8ClampedArray]", ka = "[object Uint16Array]", Ba = "[object Uint32Array]", v = {};
3626
- v[nn] = v[ba] = v[Ea] = v[La] = v[Sa] = v[Oa] = v[Na] = v[Ra] = v[Ta] = v[Ma] = v[$a] = v[Ca] = v[wa] = v[sn] = v[Pa] = v[Da] = v[ja] = v[Fa] = v[Ia] = v[_a] = v[ka] = v[Ba] = !0;
3627
- v[va] = v[rn] = v[Aa] = !1;
3628
- function ye(e, t, n, r, s, i) {
3629
- var a, o = t & ha, u = t & ma, c = t & ya;
3625
+ var $t = Ce && Ce.isSet, xa = $t ? Wt($t) : va;
3626
+ const Ca = xa;
3627
+ var wa = 1, Pa = 2, Da = 4, rn = "[object Arguments]", ja = "[object Array]", Fa = "[object Boolean]", Aa = "[object Date]", La = "[object Error]", sn = "[object Function]", Ea = "[object GeneratorFunction]", Na = "[object Map]", Ra = "[object Number]", an = "[object Object]", Ta = "[object RegExp]", Ma = "[object Set]", $a = "[object String]", Ia = "[object Symbol]", _a = "[object WeakMap]", ka = "[object ArrayBuffer]", Ba = "[object DataView]", Ua = "[object Float32Array]", qa = "[object Float64Array]", Wa = "[object Int8Array]", Va = "[object Int16Array]", Ha = "[object Int32Array]", Ka = "[object Uint8Array]", za = "[object Uint8ClampedArray]", Ga = "[object Uint16Array]", Ja = "[object Uint32Array]", v = {};
3628
+ v[rn] = v[ja] = v[ka] = v[Ba] = v[Fa] = v[Aa] = v[Ua] = v[qa] = v[Wa] = v[Va] = v[Ha] = v[Na] = v[Ra] = v[an] = v[Ta] = v[Ma] = v[$a] = v[Ia] = v[Ka] = v[za] = v[Ga] = v[Ja] = !0;
3629
+ v[La] = v[sn] = v[_a] = !1;
3630
+ function be(e, t, n, r, s, i) {
3631
+ var a, o = t & wa, u = t & Pa, c = t & Da;
3630
3632
  if (n && (a = s ? n(e, r, s, i) : n(e)), a !== void 0)
3631
3633
  return a;
3632
- if (!Fe(e))
3634
+ if (!Ae(e))
3633
3635
  return e;
3634
- var d = kt(e);
3636
+ var d = Bt(e);
3635
3637
  if (d) {
3636
- if (a = Li(e), !o)
3637
- return oi(e, a);
3638
+ if (a = Bi(e), !o)
3639
+ return mi(e, a);
3638
3640
  } else {
3639
- var f = et(e), l = f == rn || f == xa;
3640
- if (Bn(e))
3641
- return ai(e, o);
3642
- if (f == sn || f == nn || l && !s) {
3643
- if (a = u || l ? {} : aa(e), !o)
3644
- return u ? mi(e, si(a, e)) : fi(e, Xs(a, e));
3641
+ var f = tt(e), l = f == sn || f == Ea;
3642
+ if (Wn(e))
3643
+ return hi(e, o);
3644
+ if (f == an || f == rn || l && !s) {
3645
+ if (a = u || l ? {} : ha(e), !o)
3646
+ return u ? Pi(e, pi(a, e)) : vi(e, ui(a, e));
3645
3647
  } else {
3646
3648
  if (!v[f])
3647
3649
  return s ? e : {};
3648
- a = ra(e, f, o);
3650
+ a = fa(e, f, o);
3649
3651
  }
3650
3652
  }
3651
3653
  i || (i = new se());
3652
3654
  var g = i.get(e);
3653
3655
  if (g)
3654
3656
  return g;
3655
- i.set(e, a), ga(e) ? e.forEach(function(h) {
3656
- a.add(ye(h, t, n, h, e, i));
3657
- }) : ca(e) && e.forEach(function(h, x) {
3658
- a.set(x, ye(h, t, n, x, e, i));
3657
+ i.set(e, a), Ca(e) ? e.forEach(function(h) {
3658
+ a.add(be(h, t, n, h, e, i));
3659
+ }) : Sa(e) && e.forEach(function(h, x) {
3660
+ a.set(x, be(h, t, n, x, e, i));
3659
3661
  });
3660
- var p = c ? u ? bi : yi : u ? Ze : Je, y = d ? void 0 : p(e);
3661
- return Js(y || e, function(h, x) {
3662
- y && (x = h, h = e[x]), Jt(a, x, ye(h, t, n, x, e, i));
3662
+ var p = c ? u ? ji : Di : u ? Xe : Qe, y = d ? void 0 : p(e);
3663
+ return si(y || e, function(h, x) {
3664
+ y && (x = h, h = e[x]), Qt(a, x, be(h, t, n, x, e, i));
3663
3665
  }), a;
3664
3666
  }
3665
- var Ua = 1, qa = 4;
3666
- function Wa(e) {
3667
- return ye(e, Ua | qa);
3667
+ var Qa = 1, Ya = 4;
3668
+ function Za(e) {
3669
+ return be(e, Qa | Ya);
3668
3670
  }
3669
- function Va(e) {
3671
+ function Xa(e) {
3670
3672
  return Buffer.from(e).toString("utf8");
3671
3673
  }
3672
- function Ha(e) {
3674
+ function eo(e) {
3673
3675
  return String.fromCharCode.apply(null, new Uint16Array(e));
3674
3676
  }
3675
- function Ka() {
3677
+ function to() {
3676
3678
  return "UNSUPPORTED";
3677
3679
  }
3678
3680
  typeof Buffer < "u" && Buffer.from;
3679
- var $e;
3681
+ var Ie;
3680
3682
  (function(e) {
3681
3683
  e[e.None = 0] = "None", e[e.Ascending = 1] = "Ascending", e[e.Descending = 2] = "Descending";
3682
- })($e = $e || ($e = {}));
3684
+ })(Ie = Ie || (Ie = {}));
3683
3685
  const O = {
3684
3686
  Measure: "measure",
3685
3687
  MeasureTemplate: "measuretemplate",
@@ -3814,49 +3816,49 @@ const O = {
3814
3816
  return !1;
3815
3817
  }
3816
3818
  };
3817
- var Ie;
3818
- (function(e) {
3819
- e.TEXT = "text", e.NUMERIC = "numeric", e.DATETIME = "datetime";
3820
- })(Ie = Ie || (Ie = {}));
3821
3819
  var _e;
3822
3820
  (function(e) {
3823
- e.ASC = "asc", e.DESC = "desc";
3821
+ e.TEXT = "text", e.NUMERIC = "numeric", e.DATETIME = "datetime";
3824
3822
  })(_e = _e || (_e = {}));
3825
3823
  var ke;
3826
3824
  (function(e) {
3827
- e.PRE = "pre", e.POST = "post";
3825
+ e.ASC = "asc", e.DESC = "desc";
3828
3826
  })(ke = ke || (ke = {}));
3829
- function ze(e, t = []) {
3827
+ var Be;
3828
+ (function(e) {
3829
+ e.PRE = "pre", e.POST = "post";
3830
+ })(Be = Be || (Be = {}));
3831
+ function Je(e, t = []) {
3830
3832
  try {
3831
- return e == null ? String(e) : typeof e == "string" ? `'${Zr(e)}'` : typeof e == "number" || typeof e == "boolean" ? String(e) : e instanceof Date ? `new Date('${e.toISOString()}')` : Array.isArray(e) ? `[${e.map((n) => ze(n, t)).join(", ")}]` : typeof e == "object" && e !== null ? "composeCode" in e ? e.composeCode : `{ ${Object.entries(e).filter(([r]) => !t.includes(r)).map(([r, s]) => `${/[^a-zA-Z0-9_$]/.test(r) ? `'${r}'` : r}: ${ze(s, t)}`).join(", ")} }` : JSON.stringify(e);
3833
+ return e == null ? String(e) : typeof e == "string" ? `'${os(e)}'` : typeof e == "number" || typeof e == "boolean" ? String(e) : e instanceof Date ? `new Date('${e.toISOString()}')` : Array.isArray(e) ? `[${e.map((n) => Je(n, t)).join(", ")}]` : typeof e == "object" && e !== null ? "composeCode" in e ? e.composeCode : `{ ${Object.entries(e).filter(([r]) => !t.includes(r)).map(([r, s]) => `${/[^a-zA-Z0-9_$]/.test(r) ? `'${r}'` : r}: ${Je(s, t)}`).join(", ")} }` : JSON.stringify(e);
3832
3834
  } catch (n) {
3833
3835
  return console.error(n, JSON.stringify(e, null, 2)), JSON.stringify(e);
3834
3836
  }
3835
3837
  }
3836
- function Ga(e) {
3838
+ function no(e) {
3837
3839
  let t = e.length;
3838
3840
  for (; t > 0 && e[t - 1] === void 0; )
3839
3841
  t--;
3840
3842
  return e.slice(0, t);
3841
3843
  }
3842
- function za(e, t) {
3844
+ function ro(e, t) {
3843
3845
  return function(n) {
3844
3846
  return function(...r) {
3845
- const s = Ga(r), i = s.length, a = s.map((c) => ze(c, ["guid"])).filter((c, d) => !(["", "{ }", "{}", "undefined", "null"].includes(c) && d === i - 1)).join(", "), o = `${e}.${t ?? n.name}(${a})`, u = n(...r);
3847
+ const s = no(r), i = s.length, a = s.map((c) => Je(c, ["guid"])).filter((c, d) => !(["", "{ }", "{}", "undefined", "null"].includes(c) && d === i - 1)).join(", "), o = `${e}.${t ?? n.name}(${a})`, u = n(...r);
3846
3848
  return u.composeCode = o, u;
3847
3849
  };
3848
3850
  };
3849
3851
  }
3850
- function $t(e, t) {
3851
- return za("filterFactory.logic", t)(e);
3852
+ function It(e, t) {
3853
+ return ro("filterFactory.logic", t)(e);
3852
3854
  }
3853
- function Ja(e) {
3855
+ function so(e) {
3854
3856
  return e && e.__serializable === "MembersFilter";
3855
3857
  }
3856
- function Qa(e) {
3858
+ function io(e) {
3857
3859
  return e && e.__serializable === "CascadingFilter";
3858
3860
  }
3859
- var Be;
3861
+ var Ue;
3860
3862
  (function(e) {
3861
3863
  const t = (n) => {
3862
3864
  if (Array.isArray(n)) {
@@ -3869,37 +3871,37 @@ var Be;
3869
3871
  }
3870
3872
  return n;
3871
3873
  };
3872
- e.and = $t((n, r) => ({
3874
+ e.and = It((n, r) => ({
3873
3875
  operator: "AND",
3874
3876
  left: t(n),
3875
3877
  right: t(r)
3876
- }), "and"), e.or = $t((n, r) => ({
3878
+ }), "and"), e.or = It((n, r) => ({
3877
3879
  operator: "OR",
3878
3880
  left: t(n),
3879
3881
  right: t(r)
3880
3882
  }), "or");
3881
- })(Be = Be || (Be = {}));
3882
- var be;
3883
- (function(e) {
3884
- e.INCLUDE_ALL = "INCLUDE_ALL", e.ADVANCED = "ADVANCED", e.INVALID = "INVALID", e.CONDITION = "CONDITION", e.SPECIFIC_ITEMS = "SPECIFIC_ITEMS";
3885
- })(be = be || (be = {}));
3883
+ })(Ue = Ue || (Ue = {}));
3886
3884
  var Se;
3887
3885
  (function(e) {
3888
- e.PERIOD = "PERIOD", e.DATE_RANGE = "DATE_RANGE";
3886
+ e.INCLUDE_ALL = "INCLUDE_ALL", e.ADVANCED = "ADVANCED", e.INVALID = "INVALID", e.CONDITION = "CONDITION", e.SPECIFIC_ITEMS = "SPECIFIC_ITEMS";
3889
3887
  })(Se = Se || (Se = {}));
3890
3888
  var Oe;
3891
3889
  (function(e) {
3892
- e.NUMERIC_RANGE = "NUMERIC_RANGE";
3890
+ e.PERIOD = "PERIOD", e.DATE_RANGE = "DATE_RANGE";
3893
3891
  })(Oe = Oe || (Oe = {}));
3894
3892
  var ve;
3895
3893
  (function(e) {
3896
- e.YEARS = "years", e.QUARTERS = "quarters", e.MONTHS = "months", e.WEEKS = "weeks", e.DAYS = "days", e.HOURS = "hours", e.MINUTES = "minutes";
3894
+ e.NUMERIC_RANGE = "NUMERIC_RANGE";
3897
3895
  })(ve = ve || (ve = {}));
3898
- var Ue;
3896
+ var xe;
3897
+ (function(e) {
3898
+ e.YEARS = "years", e.QUARTERS = "quarters", e.MONTHS = "months", e.WEEKS = "weeks", e.DAYS = "days", e.HOURS = "hours", e.MINUTES = "minutes";
3899
+ })(xe = xe || (xe = {}));
3900
+ var qe;
3899
3901
  (function(e) {
3900
3902
  e.DATE_TIME = "datetime", e.NUMERIC = "numeric", e.TEXT = "text";
3901
- })(Ue = Ue || (Ue = {}));
3902
- const M = Object.assign(Object.assign(Object.assign({}, be), Se), Oe), Ya = {
3903
+ })(qe = qe || (qe = {}));
3904
+ const M = Object.assign(Object.assign(Object.assign({}, Se), Oe), ve), ao = {
3903
3905
  [M.INCLUDE_ALL]: {
3904
3906
  all: !0,
3905
3907
  filterType: M.INCLUDE_ALL
@@ -3928,12 +3930,12 @@ const M = Object.assign(Object.assign(Object.assign({}, be), Se), Oe), Ya = {
3928
3930
  filterType: M.SPECIFIC_ITEMS
3929
3931
  }
3930
3932
  };
3931
- Ya.INCLUDE_ALL, ve.YEARS;
3932
- var qe;
3933
+ ao.INCLUDE_ALL, xe.YEARS;
3934
+ var We;
3933
3935
  (function(e) {
3934
3936
  e.IS = "members", e.IS_NOT = "exclude", e.IS_WITHIN = "isWithin", e.TOP = "top", e.BOTTOM = "bottom", e.AFTER = "after", e.BEFORE = "before", e.STARTS_WITH = "startsWith", e.DOESNT_START_WITH = "doesntStartWith", e.ENDS_WITH = "endsWith", e.DOESNT_END_WITH = "doesntEndWith", e.CONTAINS = "contains", e.DOESNT_CONTAIN = "doesntContain", e.EQUALS = "equals", e.DOESNT_EQUAL = "doesntEqual", e.IS_EMPTY = "isEmpty", e.IS_NOT_EMPTY = "isNotEmpty", e.GREATER_THAN = "fromNotEqual", e.GREATER_THAN_OR_EQUAL = "from", e.LESS_THAN = "toNotEqual", e.LESS_THAN_OR_EQUAL = "to", e.BETWEEN = "between", e.IS_NOT_BETWEEN = "isNotBetween", e.MULTIPLE_CONDITION = "multipleCondition", e.NONE = "none";
3935
- })(qe = qe || (qe = {}));
3936
- const an = (e) => {
3937
+ })(We = We || (We = {}));
3938
+ const on = (e) => {
3937
3939
  if (!e)
3938
3940
  return { filters: void 0, relations: void 0 };
3939
3941
  if (Array.isArray(e))
@@ -3947,24 +3949,24 @@ const an = (e) => {
3947
3949
  return { left: c, right: d, operator: "AND" };
3948
3950
  }
3949
3951
  function r(a) {
3950
- return a && (Za(a) ? Qa(a) ? n(a.filters) : (t.add(a), { instanceid: a.config.guid }) : ("left" in a && (a.left = r(a.left)), "right" in a && (a.right = r(a.right)), "composeCode" in a && delete a.composeCode, a));
3952
+ return a && (oo(a) ? io(a) ? n(a.filters) : (t.add(a), { instanceid: a.config.guid }) : ("left" in a && (a.left = r(a.left)), "right" in a && (a.right = r(a.right)), "composeCode" in a && delete a.composeCode, a));
3951
3953
  }
3952
- const s = Wa(e), i = r(s);
3954
+ const s = Za(e), i = r(s);
3953
3955
  return { filters: Array.from(t), relations: i };
3954
3956
  };
3955
- function Za(e) {
3957
+ function oo(e) {
3956
3958
  return "config" in e && "guid" in e.config;
3957
3959
  }
3958
3960
  O.TextAttribute, O.NumericAttribute, O.DateLevel;
3959
- const Yo = (e) => {
3960
- const [t, n] = W(Wt, {
3961
+ const uu = (e) => {
3962
+ const [t, n] = V(Vt, {
3961
3963
  isLoading: !0,
3962
3964
  isError: !1,
3963
3965
  isSuccess: !1,
3964
3966
  status: "loading",
3965
3967
  error: void 0,
3966
3968
  data: void 0
3967
- }), r = V();
3969
+ }), r = B();
3968
3970
  R("useExecuteQuery");
3969
3971
  const s = async (i) => {
3970
3972
  try {
@@ -3978,9 +3980,9 @@ const Yo = (e) => {
3978
3980
  offset: l,
3979
3981
  ungroup: g,
3980
3982
  onBeforeQuery: p
3981
- } = S(e), { filters: y, relations: h } = an(c);
3983
+ } = S(e), { filters: y, relations: h } = on(c);
3982
3984
  n({ type: "loading" });
3983
- const x = await Un(
3985
+ const x = await Vn(
3984
3986
  {
3985
3987
  dataSource: a,
3986
3988
  dimensions: o,
@@ -3993,14 +3995,14 @@ const Yo = (e) => {
3993
3995
  ungroup: g
3994
3996
  },
3995
3997
  i,
3996
- { onBeforeQuery: Qe(p) }
3998
+ { onBeforeQuery: Ye(p) }
3997
3999
  );
3998
4000
  n({ type: "success", data: x });
3999
4001
  } catch (a) {
4000
4002
  n({ type: "error", error: a });
4001
4003
  }
4002
4004
  };
4003
- return E(
4005
+ return L(
4004
4006
  [...A(e), r],
4005
4007
  () => {
4006
4008
  const { app: i } = r.value, { enabled: a } = S(e);
@@ -4008,24 +4010,24 @@ const Yo = (e) => {
4008
4010
  },
4009
4011
  { immediate: !0 }
4010
4012
  ), D(t.value);
4011
- }, Zo = (e) => {
4012
- const t = k(void 0), n = k(void 0);
4013
+ }, lu = (e) => {
4014
+ const t = _(void 0), n = _(void 0);
4013
4015
  R("useExecuteQueryByWidgetId");
4014
- const [r, s] = W(Wt, {
4016
+ const [r, s] = V(Vt, {
4015
4017
  isLoading: !0,
4016
4018
  isError: !1,
4017
4019
  isSuccess: !1,
4018
4020
  status: "loading",
4019
4021
  error: void 0,
4020
4022
  data: void 0
4021
- }), i = V(), a = async (o) => {
4023
+ }), i = B(), a = async (o) => {
4022
4024
  try {
4023
4025
  s({ type: "loading" });
4024
- const { filters: u, ...c } = S(e), { filters: d } = an(Qe(u)), {
4026
+ const { filters: u, ...c } = S(e), { filters: d } = on(Ye(u)), {
4025
4027
  data: f,
4026
4028
  query: l,
4027
4029
  pivotQuery: g
4028
- } = await qn({
4030
+ } = await Hn({
4029
4031
  ...c,
4030
4032
  filters: d,
4031
4033
  app: o
@@ -4035,7 +4037,7 @@ const Yo = (e) => {
4035
4037
  s({ type: "error", error: u });
4036
4038
  }
4037
4039
  };
4038
- return E(
4040
+ return L(
4039
4041
  [...A(e), i],
4040
4042
  () => {
4041
4043
  const { app: o } = i.value, { enabled: u } = S(e);
@@ -4047,11 +4049,11 @@ const Yo = (e) => {
4047
4049
  query: t,
4048
4050
  pivotQuery: n
4049
4051
  };
4050
- }, Xo = (e) => {
4052
+ }, cu = (e) => {
4051
4053
  R("useExecuteCsvQuery");
4052
- const t = new Z(Wn, [
4054
+ const t = new Z(Kn, [
4053
4055
  X()
4054
- ]), [n, r] = fe({
4056
+ ]), [n, r] = pe({
4055
4057
  isLoading: !0,
4056
4058
  isError: !1,
4057
4059
  isSuccess: !1,
@@ -4061,16 +4063,16 @@ const Yo = (e) => {
4061
4063
  });
4062
4064
  return t.subscribe((s) => {
4063
4065
  r(s);
4064
- }), t.run(S(e)), E([...A(e)], () => {
4066
+ }), t.run(S(e)), L([...A(e)], () => {
4065
4067
  t.run(S(e));
4066
4068
  }), ne(() => {
4067
4069
  t.destroy();
4068
4070
  }), D(n.value);
4069
- }, eu = (e) => {
4071
+ }, du = (e) => {
4070
4072
  R("useExecutePivotQuery");
4071
- const t = new Z(Vn, [
4073
+ const t = new Z(zn, [
4072
4074
  X()
4073
- ]), [n, r] = fe({
4075
+ ]), [n, r] = pe({
4074
4076
  isLoading: !0,
4075
4077
  isError: !1,
4076
4078
  isSuccess: !1,
@@ -4080,16 +4082,16 @@ const Yo = (e) => {
4080
4082
  });
4081
4083
  return t.subscribe((s) => {
4082
4084
  r(s);
4083
- }), t.run(S(e)), E([...A(e)], () => {
4085
+ }), t.run(S(e)), L([...A(e)], () => {
4084
4086
  t.run(S(e));
4085
4087
  }), ne(() => {
4086
4088
  t.destroy();
4087
4089
  }), D(n.value);
4088
- }, tu = (e) => {
4090
+ }, fu = (e) => {
4089
4091
  R("useExecuteCustomWidgetQuery");
4090
- const t = new Z(Hn, [
4092
+ const t = new Z(Gn, [
4091
4093
  X()
4092
- ]), [n, r] = fe({
4094
+ ]), [n, r] = pe({
4093
4095
  data: void 0,
4094
4096
  isLoading: !0,
4095
4097
  isError: !1,
@@ -4099,17 +4101,17 @@ const Yo = (e) => {
4099
4101
  });
4100
4102
  return t.subscribe((s) => {
4101
4103
  r(s);
4102
- }), t.run(S(e)), E([...A(e)], () => {
4104
+ }), t.run(S(e)), L([...A(e)], () => {
4103
4105
  t.run(S(e));
4104
4106
  }), ne(() => {
4105
4107
  t.destroy();
4106
4108
  }), D(n.value);
4107
- }, nu = (e) => {
4109
+ }, pu = (e) => {
4108
4110
  R("useGetFilterMembers");
4109
4111
  const { filter: t, parentFilters: n = [] } = S(e), r = {
4110
4112
  selectedMembers: [],
4111
4113
  allMembers: [],
4112
- ...Ja(t) ? {
4114
+ ...so(t) ? {
4113
4115
  excludeMembers: t.config.excludeMembers,
4114
4116
  enableMultiSelection: t.config.enableMultiSelection,
4115
4117
  hasBackgroundFilter: !!t.config.backgroundFilter && n.length === 0
@@ -4118,7 +4120,7 @@ const Yo = (e) => {
4118
4120
  enableMultiSelection: !1,
4119
4121
  hasBackgroundFilter: !1
4120
4122
  }
4121
- }, s = new Z(Kn, [X()]), [i, a] = fe({
4123
+ }, s = new Z(Jn, [X()]), [i, a] = pe({
4122
4124
  isLoading: !0,
4123
4125
  isError: !1,
4124
4126
  isSuccess: !1,
@@ -4129,24 +4131,24 @@ const Yo = (e) => {
4129
4131
  });
4130
4132
  return s.subscribe((o) => {
4131
4133
  a(o);
4132
- }), s.run(S(e)), E([...A(e)], () => {
4134
+ }), s.run(S(e)), L([...A(e)], () => {
4133
4135
  s.run(S(e));
4134
4136
  }), ne(() => {
4135
4137
  s.destroy();
4136
4138
  }), D(i.value);
4137
- }, ru = (e) => {
4139
+ }, gu = (e) => {
4138
4140
  R("useGetDashboardModel");
4139
- const [t, n] = W(ee, {
4141
+ const [t, n] = V(ee, {
4140
4142
  isLoading: !0,
4141
4143
  isError: !1,
4142
4144
  isSuccess: !1,
4143
4145
  status: "loading",
4144
4146
  error: void 0,
4145
4147
  data: void 0
4146
- }), r = V(), s = async (a) => {
4148
+ }), r = B(), s = async (a) => {
4147
4149
  try {
4148
4150
  n({ type: "loading" });
4149
- const { dashboardOid: o, includeWidgets: u, includeFilters: c } = S(e), d = await zn(a.httpClient, o, {
4151
+ const { dashboardOid: o, includeWidgets: u, includeFilters: c } = S(e), d = await Yn(a.httpClient, o, {
4150
4152
  includeWidgets: u,
4151
4153
  includeFilters: c
4152
4154
  });
@@ -4155,7 +4157,7 @@ const Yo = (e) => {
4155
4157
  n({ type: "error", error: o });
4156
4158
  }
4157
4159
  };
4158
- E(
4160
+ L(
4159
4161
  [...A(e), r],
4160
4162
  () => {
4161
4163
  const { app: a } = r.value, { enabled: o } = S(e);
@@ -4164,26 +4166,26 @@ const Yo = (e) => {
4164
4166
  { immediate: !0 }
4165
4167
  );
4166
4168
  const i = D(t.value);
4167
- return D(Gn(i));
4168
- }, su = (e) => {
4169
+ return D(Qn(i));
4170
+ }, hu = (e) => {
4169
4171
  R("useGetDashboardModels");
4170
- const [t, n] = W(ee, {
4172
+ const [t, n] = V(ee, {
4171
4173
  isLoading: !0,
4172
4174
  isError: !1,
4173
4175
  isSuccess: !1,
4174
4176
  status: "loading",
4175
4177
  error: void 0,
4176
4178
  data: void 0
4177
- }), r = V(), s = async (a) => {
4179
+ }), r = B(), s = async (a) => {
4178
4180
  try {
4179
4181
  n({ type: "loading" });
4180
- const o = S(e), u = await Qn(a.httpClient, o);
4182
+ const o = S(e), u = await Xn(a.httpClient, o);
4181
4183
  n({ type: "success", data: u });
4182
4184
  } catch (o) {
4183
4185
  n({ type: "error", error: o });
4184
4186
  }
4185
4187
  };
4186
- E(
4188
+ L(
4187
4189
  [...A(e), r],
4188
4190
  () => {
4189
4191
  const { app: a } = r.value, { enabled: o } = S(e);
@@ -4192,27 +4194,27 @@ const Yo = (e) => {
4192
4194
  { immediate: !0 }
4193
4195
  );
4194
4196
  const i = D(t.value);
4195
- return D(Jn(i));
4196
- }, iu = (e) => {
4197
+ return D(Zn(i));
4198
+ }, mu = (e) => {
4197
4199
  R("useGetSharedFormula");
4198
- const [t, n] = W(ee, {
4200
+ const [t, n] = V(ee, {
4199
4201
  isLoading: !0,
4200
4202
  isError: !1,
4201
4203
  isSuccess: !1,
4202
4204
  status: "loading",
4203
4205
  error: void 0,
4204
4206
  data: void 0
4205
- }), r = V(), s = (a) => {
4207
+ }), r = B(), s = (a) => {
4206
4208
  n({ type: "loading" });
4207
4209
  const { dataSource: o, name: u, oid: c } = S(e);
4208
4210
  let d = Promise.resolve(null);
4209
- c ? d = Zn(c, a) : u && o && (d = Xn(u, o, a)), d.then((f) => {
4211
+ c ? d = tr(c, a) : u && o && (d = nr(u, o, a)), d.then((f) => {
4210
4212
  n({ type: "success", data: f });
4211
4213
  }).catch((f) => {
4212
4214
  n({ type: "error", error: f });
4213
4215
  });
4214
4216
  };
4215
- E(
4217
+ L(
4216
4218
  [...A(e), r],
4217
4219
  () => {
4218
4220
  const { app: a } = r.value, { enabled: o } = S(e);
@@ -4222,27 +4224,27 @@ const Yo = (e) => {
4222
4224
  );
4223
4225
  const i = D(t.value);
4224
4226
  return D(
4225
- Yn(i)
4227
+ er(i)
4226
4228
  );
4227
- }, au = (e) => {
4229
+ }, yu = (e) => {
4228
4230
  R("useGetWidgetModel");
4229
- const [t, n] = W(ee, {
4231
+ const [t, n] = V(ee, {
4230
4232
  isLoading: !0,
4231
4233
  isError: !1,
4232
4234
  isSuccess: !1,
4233
4235
  status: "loading",
4234
4236
  error: void 0,
4235
4237
  data: void 0
4236
- }), r = V(), s = async (i) => {
4238
+ }), r = B(), s = async (i) => {
4237
4239
  try {
4238
4240
  n({ type: "loading" });
4239
- const { dashboardOid: a, widgetOid: o } = S(e), u = await er(i.httpClient, a, o);
4241
+ const { dashboardOid: a, widgetOid: o } = S(e), u = await rr(i.httpClient, a, o);
4240
4242
  n({ type: "success", data: u });
4241
4243
  } catch (a) {
4242
4244
  n({ type: "error", error: a });
4243
4245
  }
4244
4246
  };
4245
- return E(
4247
+ return L(
4246
4248
  [...A(e), r],
4247
4249
  () => {
4248
4250
  const { app: i } = r.value, { enabled: a } = S(e);
@@ -4250,25 +4252,25 @@ const Yo = (e) => {
4250
4252
  },
4251
4253
  { immediate: !0 }
4252
4254
  ), D(t.value);
4253
- }, ou = (e) => {
4255
+ }, bu = (e) => {
4254
4256
  R("useGetHierarchyModels");
4255
- const [t, n] = W(ee, {
4257
+ const [t, n] = V(ee, {
4256
4258
  isLoading: !0,
4257
4259
  isError: !1,
4258
4260
  isSuccess: !1,
4259
4261
  status: "loading",
4260
4262
  error: void 0,
4261
4263
  data: void 0
4262
- }), r = V(), s = async (i) => {
4264
+ }), r = B(), s = async (i) => {
4263
4265
  try {
4264
4266
  n({ type: "loading" });
4265
- const a = await tr(i.httpClient, S(e));
4267
+ const a = await sr(i.httpClient, S(e));
4266
4268
  n({ type: "success", data: a });
4267
4269
  } catch (a) {
4268
4270
  n({ type: "error", error: a });
4269
4271
  }
4270
4272
  };
4271
- return E(
4273
+ return L(
4272
4274
  [...A(e), r],
4273
4275
  () => {
4274
4276
  const { app: i } = r.value, { enabled: a } = S(e);
@@ -4276,18 +4278,18 @@ const Yo = (e) => {
4276
4278
  },
4277
4279
  { immediate: !0 }
4278
4280
  ), D(t.value);
4279
- }, uu = (e, t, n) => {
4280
- const [r, s] = W(ee, {
4281
+ }, Su = (e, t, n) => {
4282
+ const [r, s] = V(ee, {
4281
4283
  isLoading: !0,
4282
4284
  isError: !1,
4283
4285
  isSuccess: !1,
4284
4286
  status: "loading",
4285
4287
  error: void 0,
4286
4288
  data: void 0
4287
- }), i = V(), a = async (o) => {
4289
+ }), i = B(), a = async (o) => {
4288
4290
  try {
4289
4291
  s({ type: "loading" });
4290
- const u = Qe(e), c = t ? S(t) : {}, d = n ? S(n) : {}, f = {
4292
+ const u = Ye(e), c = t ? S(t) : {}, d = n ? S(n) : {}, f = {
4291
4293
  requestConfig: d.requestConfig ? S(d.requestConfig) : {},
4292
4294
  skipTrackingParam: !0
4293
4295
  }, l = await o.call(
@@ -4300,7 +4302,7 @@ const Yo = (e) => {
4300
4302
  s({ type: "error", error: u });
4301
4303
  }
4302
4304
  };
4303
- return E(
4305
+ return L(
4304
4306
  [...A(e, t, n), i],
4305
4307
  () => {
4306
4308
  const { app: o } = i.value, u = S(n || {}).enabled;
@@ -4309,20 +4311,56 @@ const Yo = (e) => {
4309
4311
  { immediate: !0 }
4310
4312
  ), D(r.value);
4311
4313
  };
4312
- function Xa(e, t) {
4313
- const n = document.createElement("div");
4314
- n.style.width = "100%", n.style.height = "100%";
4315
- const r = vr(e, t);
4316
- return r.mount(n), {
4317
- element: n,
4318
- app: r,
4319
- destroy: () => {
4320
- n.remove(), r.unmount();
4321
- }
4322
- };
4314
+ class uo {
4315
+ constructor(t, n) {
4316
+ ue(this, "app", null);
4317
+ ue(this, "container", null);
4318
+ ue(this, "isDestroyed", !1);
4319
+ ue(this, "propsRef", null);
4320
+ this.componentClass = t, this.contexts = n;
4321
+ }
4322
+ /**
4323
+ * Mounts the Vue component into the container element.
4324
+ * This should only be called once when the Preact wrapper mounts.
4325
+ *
4326
+ * @param container - The DOM element to mount the Vue component into
4327
+ * @param props - Initial props to pass to the component
4328
+ */
4329
+ mount(t, n) {
4330
+ if (this.app || this.isDestroyed)
4331
+ return;
4332
+ this.container = t, this.propsRef = _(n);
4333
+ const r = {
4334
+ setup: () => () => Lr(this.componentClass, this.propsRef.value)
4335
+ };
4336
+ this.app = Ar(r), this.app.provide(ir, this.contexts.sisenseContext), this.app.provide(ar, this.contexts.themeContext), this.app.provide(or, this.contexts.customWidgetsContext), this.app.mount(t);
4337
+ }
4338
+ /**
4339
+ * Updates the props on the existing Vue component instance.
4340
+ * This triggers Vue's reactivity system to re-render the component
4341
+ * without destroying and recreating it.
4342
+ *
4343
+ * @param props - New props to apply to the component
4344
+ */
4345
+ update(t) {
4346
+ !this.propsRef || this.isDestroyed || (this.propsRef.value = t);
4347
+ }
4348
+ /**
4349
+ * Destroys the Vue component and cleans up resources.
4350
+ * This should be called when the Preact wrapper unmounts.
4351
+ */
4352
+ destroy() {
4353
+ this.isDestroyed || (this.isDestroyed = !0, this.app && (this.app.unmount(), this.app = null), this.container = null, this.propsRef = null);
4354
+ }
4355
+ /**
4356
+ * Returns whether the adapter has an active component instance.
4357
+ */
4358
+ isActive() {
4359
+ return this.app !== null && !this.isDestroyed;
4360
+ }
4323
4361
  }
4324
- const lu = () => {
4325
- const e = nr();
4362
+ const Ou = () => {
4363
+ const e = ur(), t = B(), n = lr(), r = e;
4326
4364
  return {
4327
4365
  /**
4328
4366
  * Registers a new custom widget.
@@ -4330,17 +4368,18 @@ const lu = () => {
4330
4368
  * @param customWidgetType - The unique identifier for the custom widget type.
4331
4369
  * @param customWidget - The custom widget component to register.
4332
4370
  */
4333
- registerCustomWidget: (t, n) => {
4334
- const r = (s) => {
4335
- const i = Xa(n, s);
4336
- return rr(
4337
- i.element,
4338
- () => i.destroy()
4339
- );
4340
- };
4341
- e.value.customWidgetsMap.has(t) || e.value.customWidgetsMap.set(
4342
- t,
4343
- r
4371
+ registerCustomWidget: (s, i) => {
4372
+ const a = {
4373
+ sisenseContext: t,
4374
+ themeContext: n,
4375
+ customWidgetsContext: r
4376
+ }, o = () => new uo(i, a), u = (c) => cr(dr, {
4377
+ adapterFactory: o,
4378
+ componentProps: c
4379
+ });
4380
+ e.value.customWidgetsMap.has(s) || e.value.customWidgetsMap.set(
4381
+ s,
4382
+ u
4344
4383
  );
4345
4384
  },
4346
4385
  /**
@@ -4349,45 +4388,45 @@ const lu = () => {
4349
4388
  * @param customWidgetType - The type of the custom widget.
4350
4389
  * @returns True if the custom widget is registered, false otherwise.
4351
4390
  */
4352
- hasCustomWidget: (t) => e.value.customWidgetsMap.has(t)
4391
+ hasCustomWidget: (s) => e.value.customWidgetsMap.has(s)
4353
4392
  };
4354
- }, cu = (e, t = {}) => {
4393
+ }, vu = (e, t = {}) => {
4355
4394
  R("useComposedDashboard");
4356
- const n = new Z(sr, [
4395
+ const n = new Z(fr, [
4357
4396
  X()
4358
- ]), [r, s] = fe(S(e));
4397
+ ]), [r, s] = pe(S(e));
4359
4398
  n.subscribe(({ dashboard: o }) => {
4360
4399
  s(o);
4361
- }), n.run(S(e), t), E([...A(e)], () => {
4400
+ }), n.run(S(e), t), L([...A(e)], () => {
4362
4401
  n.run(S(e), t);
4363
4402
  }), ne(() => {
4364
4403
  n.destroy();
4365
4404
  });
4366
- const i = at(n, "setFilters"), a = at(n, "setWidgetsLayout");
4405
+ const i = ot(n, "setFilters"), a = ot(n, "setWidgetsLayout");
4367
4406
  return {
4368
4407
  dashboard: r,
4369
4408
  setFilters: i,
4370
4409
  setWidgetsLayout: a
4371
4410
  };
4372
- }, du = (e, t) => {
4411
+ }, xu = (e, t) => {
4373
4412
  R("useJtdWidget");
4374
- const n = new Z(ir, [
4413
+ const n = new Z(pr, [
4375
4414
  X(),
4376
- ar()
4377
- ]), r = k(null);
4415
+ gr()
4416
+ ]), r = _(null);
4378
4417
  n.subscribe((i) => {
4379
4418
  r.value = i;
4380
4419
  });
4381
4420
  const s = () => {
4382
- const i = xr(e), a = S(t);
4421
+ const i = Er(e), a = S(t);
4383
4422
  n.run(i, a);
4384
4423
  };
4385
- return s(), E([...A(e), ...A(t)], () => {
4424
+ return s(), L([...A(e), ...A(t)], () => {
4386
4425
  s();
4387
4426
  }), ne(() => {
4388
4427
  n.destroy();
4389
4428
  }), r;
4390
- }, eo = m({
4429
+ }, lo = m({
4391
4430
  props: {
4392
4431
  /**
4393
4432
  * {@inheritDoc @sisense/sdk-ui!ContextMenuProps.closeContextMenu}
@@ -4405,8 +4444,8 @@ const lu = () => {
4405
4444
  */
4406
4445
  position: Object
4407
4446
  },
4408
- setup: (e, { slots: t }) => It(or, e, t, [])
4409
- }), to = ({
4447
+ setup: (e, { slots: t }) => _t(hr, e, t, [])
4448
+ }), co = ({
4410
4449
  drilldownPaths: e,
4411
4450
  initialDimension: t
4412
4451
  }) => {
@@ -4414,24 +4453,24 @@ const lu = () => {
4414
4453
  throw new Error(
4415
4454
  "Initial dimension has to be specified to use drilldown with custom components"
4416
4455
  );
4417
- const n = k([]), r = k(), s = k([]), i = k([]), a = We(() => [
4418
- ur(t),
4456
+ const n = _([]), r = _(), s = _([]), i = _([]), a = Ve(() => [
4457
+ mr(t),
4419
4458
  ...n.value.map(({ nextDimension: l }) => l)
4420
- ]), o = We(
4459
+ ]), o = Ve(
4421
4460
  () => e.value.filter((l) => {
4422
4461
  if (O.isAttribute(l)) {
4423
4462
  const y = l;
4424
4463
  return a.value.every(
4425
- (h) => !ot(h, y)
4464
+ (h) => !ut(h, y)
4426
4465
  );
4427
4466
  }
4428
4467
  const p = l;
4429
4468
  return a.value.every(
4430
- (y, h) => ot(y, p.levels[h])
4469
+ (y, h) => ut(y, p.levels[h])
4431
4470
  );
4432
4471
  })
4433
4472
  ), u = (l, g, p) => {
4434
- n.value = lr(
4473
+ n.value = yr(
4435
4474
  n.value,
4436
4475
  l,
4437
4476
  g,
@@ -4442,7 +4481,7 @@ const lu = () => {
4442
4481
  }, d = () => {
4443
4482
  n.value = [], f();
4444
4483
  }, f = () => {
4445
- const l = (p) => p === "drilldown.breadcrumbsAllSuffix" ? "All" : p, g = cr(
4484
+ const l = (p) => p === "drilldown.breadcrumbsAllSuffix" ? "All" : p, g = br(
4446
4485
  n.value,
4447
4486
  t,
4448
4487
  l
@@ -4459,7 +4498,7 @@ const lu = () => {
4459
4498
  sliceDrilldownSelections: c,
4460
4499
  clearDrilldownSelections: d
4461
4500
  };
4462
- }, no = m({
4501
+ }, fo = m({
4463
4502
  props: {
4464
4503
  /**
4465
4504
  * {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.config}
@@ -4495,11 +4534,11 @@ const lu = () => {
4495
4534
  },
4496
4535
  setup: () => {
4497
4536
  }
4498
- }), ro = { style: { display: "flex", "flex-direction": "column", height: "100%" } }, so = { style: { "flex-grow": "1", "min-wdith": "0", "min-height": "0" } }, fu = /* @__PURE__ */ m({
4537
+ }), po = { style: { display: "flex", "flex-direction": "column", height: "100%" } }, go = { style: { "flex-grow": "1", "min-wdith": "0", "min-height": "0" } }, Cu = /* @__PURE__ */ m({
4499
4538
  __name: "drilldown-widget",
4500
- props: no.props,
4539
+ props: fo.props,
4501
4540
  setup(e) {
4502
- const t = e, { drilldownPaths: n, initialDimension: r, config: s } = D(t), i = k(null), a = k([]), {
4541
+ const t = e, { drilldownPaths: n, initialDimension: r, config: s } = D(t), i = _(null), a = _([]), {
4503
4542
  drilldownFilters: o,
4504
4543
  // computed
4505
4544
  drilldownDimension: u,
@@ -4511,16 +4550,16 @@ const lu = () => {
4511
4550
  selectDrilldown: f,
4512
4551
  sliceDrilldownSelections: l,
4513
4552
  clearDrilldownSelections: g
4514
- } = to({
4553
+ } = co({
4515
4554
  drilldownPaths: n,
4516
4555
  initialDimension: r.value
4517
4556
  }), p = (P) => {
4518
4557
  f(a.value, P);
4519
- }, y = We(() => {
4558
+ }, y = Ve(() => {
4520
4559
  const P = (C) => C === "drilldown.drillMenuItem" ? "Drill" : C;
4521
4560
  return [
4522
- dr(a.value, u.value),
4523
- fr(
4561
+ Sr(a.value, u.value),
4562
+ Or(
4524
4563
  d.value,
4525
4564
  u.value,
4526
4565
  p,
@@ -4534,17 +4573,17 @@ const lu = () => {
4534
4573
  }, w = () => {
4535
4574
  i.value = null;
4536
4575
  };
4537
- return (P, C) => (Cr(), wr("div", ro, [
4538
- Re(P.$slots, "contextMenu", {
4576
+ return (P, C) => (Nr(), Rr("div", po, [
4577
+ Te(P.$slots, "contextMenu", {
4539
4578
  contextMenuProps: { position: i.value, itemSections: y.value, closeContextMenu: w }
4540
4579
  }, () => [
4541
- ut(T(eo), {
4580
+ lt(T(lo), {
4542
4581
  position: i.value,
4543
4582
  itemSections: y.value,
4544
4583
  closeContextMenu: w
4545
4584
  }, null, 8, ["position", "itemSections"])
4546
4585
  ]),
4547
- Re(P.$slots, "breadcrumbs", {
4586
+ Te(P.$slots, "breadcrumbs", {
4548
4587
  drilldownBreadcrumbsProps: {
4549
4588
  clearDrilldownSelections: T(g),
4550
4589
  sliceDrilldownSelections: T(l),
@@ -4552,15 +4591,15 @@ const lu = () => {
4552
4591
  drilldownDimension: T(u)
4553
4592
  }
4554
4593
  }, () => [
4555
- ut(T(Dr), {
4594
+ lt(T(Mr), {
4556
4595
  "clear-drilldown-selections": T(g),
4557
4596
  "slice-drilldown-selections": T(l),
4558
4597
  "filters-display-values": T(c),
4559
4598
  "current-dimension": T(u)
4560
4599
  }, null, 8, ["clear-drilldown-selections", "slice-drilldown-selections", "filters-display-values", "current-dimension"])
4561
4600
  ]),
4562
- Pr("div", so, [
4563
- Re(P.$slots, "chart", {
4601
+ Tr("div", go, [
4602
+ Te(P.$slots, "chart", {
4564
4603
  drilldownFilters: T(o),
4565
4604
  drilldownDimension: T(u),
4566
4605
  onDataPointsSelected: x,
@@ -4569,7 +4608,7 @@ const lu = () => {
4569
4608
  ])
4570
4609
  ]));
4571
4610
  }
4572
- }), pu = m({
4611
+ }), wu = m({
4573
4612
  props: {
4574
4613
  /**
4575
4614
  * {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.bottomSlot}
@@ -4587,13 +4626,6 @@ const lu = () => {
4587
4626
  type: String,
4588
4627
  required: !0
4589
4628
  },
4590
- /**
4591
- * {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.contextMenuItems}
4592
- *
4593
- * @category Widget
4594
- * @internal
4595
- */
4596
- contextMenuItems: Array,
4597
4629
  /**
4598
4630
  * {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.dataOptions}
4599
4631
  *
@@ -4646,13 +4678,6 @@ const lu = () => {
4646
4678
  * @category Callbacks
4647
4679
  */
4648
4680
  onBeforeRender: Function,
4649
- /**
4650
- * {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointContextMenuClose}
4651
- *
4652
- * @category Callbacks
4653
- * @internal
4654
- */
4655
- onContextMenuClose: Function,
4656
4681
  /**
4657
4682
  * {@inheritDoc @sisense/sdk-ui!ChartProps.onDataPointClick}
4658
4683
  *
@@ -4704,13 +4729,11 @@ const lu = () => {
4704
4729
  */
4705
4730
  onDataReady: Function
4706
4731
  },
4707
- setup: (e) => b(pr, e)
4708
- }), gu = m({
4732
+ setup: (e) => b(vr, e)
4733
+ }), Pu = m({
4709
4734
  props: {
4710
4735
  /** @internal */
4711
4736
  bottomSlot: Object,
4712
- /** @internal */
4713
- contextMenuItems: Array,
4714
4737
  /**
4715
4738
  * {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.dashboardOid}
4716
4739
  *
@@ -4764,8 +4787,6 @@ const lu = () => {
4764
4787
  * @category Callbacks
4765
4788
  */
4766
4789
  onBeforeRender: Function,
4767
- /** @internal */
4768
- onContextMenuClose: Function,
4769
4790
  /**
4770
4791
  * {@inheritDoc @sisense/sdk-ui!WidgetByIdProps.onDataPointClick}
4771
4792
  *
@@ -4816,8 +4837,8 @@ const lu = () => {
4816
4837
  */
4817
4838
  onDataReady: Function
4818
4839
  },
4819
- setup: (e) => b(gr, e)
4820
- }), hu = m({
4840
+ setup: (e) => b(xr, e)
4841
+ }), Du = m({
4821
4842
  props: {
4822
4843
  bottomSlot: Object,
4823
4844
  dataOptions: {
@@ -4832,8 +4853,8 @@ const lu = () => {
4832
4853
  topSlot: Object,
4833
4854
  widgetStyleOptions: Object
4834
4855
  },
4835
- setup: (e) => b(hr, e)
4836
- }), mu = m({
4856
+ setup: (e) => b(Cr, e)
4857
+ }), ju = m({
4837
4858
  props: {
4838
4859
  /**
4839
4860
  * {@inheritDoc @sisense/sdk-ui!PivotTableWidgetProps.dataOptions}
@@ -4927,8 +4948,8 @@ const lu = () => {
4927
4948
  */
4928
4949
  onHeaderCellFormat: Function
4929
4950
  },
4930
- setup: (e) => b(mr, e)
4931
- }), yu = m({
4951
+ setup: (e) => b(wr, e)
4952
+ }), Fu = m({
4932
4953
  props: {
4933
4954
  /**
4934
4955
  * Unique identifier of the widget
@@ -5053,8 +5074,8 @@ const lu = () => {
5053
5074
  */
5054
5075
  onDataPointsSelected: Function
5055
5076
  },
5056
- setup: (e) => b(yr, e)
5057
- }), bu = m({
5077
+ setup: (e) => b(Pr, e)
5078
+ }), Au = m({
5058
5079
  props: {
5059
5080
  /**
5060
5081
  * {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.dashboardOid}
@@ -5068,8 +5089,8 @@ const lu = () => {
5068
5089
  */
5069
5090
  config: Object
5070
5091
  },
5071
- setup: (e) => b(br, e)
5072
- }), Su = m({
5092
+ setup: (e) => b(Dr, e)
5093
+ }), Lu = m({
5073
5094
  props: {
5074
5095
  /**
5075
5096
  * {@inheritDoc @sisense/sdk-ui!DashboardProps.title}
@@ -5107,118 +5128,118 @@ const lu = () => {
5107
5128
  */
5108
5129
  styleOptions: Object
5109
5130
  },
5110
- setup: (e) => b(Sr, e)
5131
+ setup: (e) => b(jr, e)
5111
5132
  });
5112
- function io(e) {
5113
- return Or.toDashboardProps(e);
5133
+ function ho(e) {
5134
+ return Fr.toDashboardProps(e);
5114
5135
  }
5115
- const Ou = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5136
+ const Eu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5116
5137
  __proto__: null,
5117
- toDashboardProps: io
5118
- }, Symbol.toStringTag, { value: "Module" })), ao = (e, t) => te.replaceFilters(e, t), oo = (e, t) => te.addFilter(e, t), uo = (e, t) => te.addFilters(e, t), lo = (e, t, n) => te.replaceFilter(
5138
+ toDashboardProps: ho
5139
+ }, Symbol.toStringTag, { value: "Module" })), mo = (e, t) => te.replaceFilters(e, t), yo = (e, t) => te.addFilter(e, t), bo = (e, t) => te.addFilters(e, t), So = (e, t, n) => te.replaceFilter(
5119
5140
  e,
5120
5141
  t,
5121
5142
  n
5122
- ), co = (e, t) => te.removeFilter(e, t), fo = (e, t) => te.removeFilters(e, t), vu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5143
+ ), Oo = (e, t) => te.removeFilter(e, t), vo = (e, t) => te.removeFilters(e, t), Nu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5123
5144
  __proto__: null,
5124
- addFilter: oo,
5125
- addFilters: uo,
5126
- removeFilter: co,
5127
- removeFilters: fo,
5128
- replaceFilter: lo,
5129
- replaceFilters: ao
5130
- }, Symbol.toStringTag, { value: "Module" })), po = (e) => B.toExecuteQueryParams(e), go = (e) => B.toExecutePivotQueryParams(e);
5131
- function ho(e) {
5132
- return B.toChartProps(e);
5145
+ addFilter: yo,
5146
+ addFilters: bo,
5147
+ removeFilter: Oo,
5148
+ removeFilters: vo,
5149
+ replaceFilter: So,
5150
+ replaceFilters: mo
5151
+ }, Symbol.toStringTag, { value: "Module" })), xo = (e) => U.toExecuteQueryParams(e), Co = (e) => U.toExecutePivotQueryParams(e);
5152
+ function wo(e) {
5153
+ return U.toChartProps(e);
5133
5154
  }
5134
- function mo(e) {
5135
- return B.toTableProps(e);
5155
+ function Po(e) {
5156
+ return U.toTableProps(e);
5136
5157
  }
5137
- function yo(e) {
5138
- return B.toPivotTableProps(e);
5158
+ function Do(e) {
5159
+ return U.toPivotTableProps(e);
5139
5160
  }
5140
- function bo(e) {
5141
- return B.toChartWidgetProps(e);
5161
+ function jo(e) {
5162
+ return U.toChartWidgetProps(e);
5142
5163
  }
5143
- function So(e) {
5144
- return B.toPivotTableWidgetProps(e);
5164
+ function Fo(e) {
5165
+ return U.toPivotTableWidgetProps(e);
5145
5166
  }
5146
- function Oo(e) {
5147
- return B.toTextWidgetProps(e);
5167
+ function Ao(e) {
5168
+ return U.toTextWidgetProps(e);
5148
5169
  }
5149
- function vo(e) {
5150
- return B.toWidgetProps(e);
5170
+ function Lo(e) {
5171
+ return U.toWidgetProps(e);
5151
5172
  }
5152
- const xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5173
+ const Ru = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5153
5174
  __proto__: null,
5154
- toChartProps: ho,
5155
- toChartWidgetProps: bo,
5156
- toExecutePivotQueryParams: go,
5157
- toExecuteQueryParams: po,
5158
- toPivotTableProps: yo,
5159
- toPivotTableWidgetProps: So,
5160
- toTableProps: mo,
5161
- toTextWidgetProps: Oo,
5162
- toWidgetProps: vo
5175
+ toChartProps: wo,
5176
+ toChartWidgetProps: jo,
5177
+ toExecutePivotQueryParams: Co,
5178
+ toExecuteQueryParams: xo,
5179
+ toPivotTableProps: Do,
5180
+ toPivotTableWidgetProps: Fo,
5181
+ toTableProps: Po,
5182
+ toTextWidgetProps: Ao,
5183
+ toWidgetProps: Lo
5163
5184
  }, Symbol.toStringTag, { value: "Module" }));
5164
5185
  export {
5165
- Po as AreaChart,
5166
- Vo as AreaRangeChart,
5167
- Uo as AreamapChart,
5168
- Do as BarChart,
5169
- Bo as BoxplotChart,
5170
- jo as CalendarHeatmapChart,
5171
- ko as Chart,
5172
- pu as ChartWidget,
5173
- Fo as ColumnChart,
5174
- eo as ContextMenu,
5175
- Go as CriteriaFilterTile,
5176
- Pu as CustomWidgetsProvider,
5177
- Su as Dashboard,
5178
- bu as DashboardById,
5179
- Ho as DateRangeFilterTile,
5180
- Dr as DrilldownBreadcrumbs,
5181
- fu as DrilldownWidget,
5182
- Jo as FilterTile,
5183
- Qo as FiltersPanel,
5184
- Ao as FunnelChart,
5185
- _o as IndicatorChart,
5186
- Eo as LineChart,
5187
- Ko as MemberFilterTile,
5188
- Lo as PieChart,
5189
- To as PivotTable,
5190
- mu as PivotTableWidget,
5191
- Io as PolarChart,
5192
- zo as RelativeDateFilterTile,
5193
- No as ScatterChart,
5194
- qo as ScattermapChart,
5195
- Du as SisenseContextProvider,
5196
- Wo as StreamgraphChart,
5197
- $o as SunburstChart,
5198
- Ro as Table,
5199
- hu as TableWidget,
5200
- ju as ThemeProvider,
5201
- Mo as TreemapChart,
5202
- yu as Widget,
5203
- gu as WidgetById,
5204
- Fu as boxWhiskerProcessResult,
5205
- vu as dashboardHelpers,
5206
- Ou as dashboardModelTranslator,
5207
- Au as extractDimensionsAndMeasures,
5208
- cu as useComposedDashboard,
5209
- lu as useCustomWidgets,
5210
- Xo as useExecuteCsvQuery,
5211
- tu as useExecuteCustomWidgetQuery,
5212
- eu as useExecutePivotQuery,
5213
- Yo as useExecuteQuery,
5214
- Zo as useExecuteQueryByWidgetId,
5215
- uu as useFetch,
5216
- ru as useGetDashboardModel,
5217
- su as useGetDashboardModels,
5218
- nu as useGetFilterMembers,
5219
- ou as useGetHierarchyModels,
5220
- iu as useGetSharedFormula,
5221
- au as useGetWidgetModel,
5222
- du as useJtdWidget,
5223
- xu as widgetModelTranslator
5186
+ $o as AreaChart,
5187
+ tu as AreaRangeChart,
5188
+ Zo as AreamapChart,
5189
+ Io as BarChart,
5190
+ Yo as BoxplotChart,
5191
+ _o as CalendarHeatmapChart,
5192
+ Qo as Chart,
5193
+ wu as ChartWidget,
5194
+ ko as ColumnChart,
5195
+ lo as ContextMenu,
5196
+ su as CriteriaFilterTile,
5197
+ $u as CustomWidgetsProvider,
5198
+ Lu as Dashboard,
5199
+ Au as DashboardById,
5200
+ nu as DateRangeFilterTile,
5201
+ Mr as DrilldownBreadcrumbs,
5202
+ Cu as DrilldownWidget,
5203
+ au as FilterTile,
5204
+ ou as FiltersPanel,
5205
+ Bo as FunnelChart,
5206
+ Jo as IndicatorChart,
5207
+ Uo as LineChart,
5208
+ ru as MemberFilterTile,
5209
+ qo as PieChart,
5210
+ Ho as PivotTable,
5211
+ ju as PivotTableWidget,
5212
+ Go as PolarChart,
5213
+ iu as RelativeDateFilterTile,
5214
+ Wo as ScatterChart,
5215
+ Xo as ScattermapChart,
5216
+ Iu as SisenseContextProvider,
5217
+ eu as StreamgraphChart,
5218
+ zo as SunburstChart,
5219
+ Vo as Table,
5220
+ Du as TableWidget,
5221
+ _u as ThemeProvider,
5222
+ Ko as TreemapChart,
5223
+ Fu as Widget,
5224
+ Pu as WidgetById,
5225
+ ku as boxWhiskerProcessResult,
5226
+ Nu as dashboardHelpers,
5227
+ Eu as dashboardModelTranslator,
5228
+ Bu as extractDimensionsAndMeasures,
5229
+ vu as useComposedDashboard,
5230
+ Ou as useCustomWidgets,
5231
+ cu as useExecuteCsvQuery,
5232
+ fu as useExecuteCustomWidgetQuery,
5233
+ du as useExecutePivotQuery,
5234
+ uu as useExecuteQuery,
5235
+ lu as useExecuteQueryByWidgetId,
5236
+ Su as useFetch,
5237
+ gu as useGetDashboardModel,
5238
+ hu as useGetDashboardModels,
5239
+ pu as useGetFilterMembers,
5240
+ bu as useGetHierarchyModels,
5241
+ mu as useGetSharedFormula,
5242
+ yu as useGetWidgetModel,
5243
+ xu as useJtdWidget,
5244
+ Ru as widgetModelTranslator
5224
5245
  };