@sisense/sdk-ui 1.21.0 → 1.23.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 (118) hide show
  1. package/dist/ai.cjs +57 -49
  2. package/dist/ai.js +844 -744
  3. package/dist/analytics-composer.cjs +89 -148
  4. package/dist/analytics-composer.js +1198 -1481
  5. package/dist/{get-widget-options-NhNoIBS9.js → derive-chart-family-CTpRObm1.js} +11138 -11042
  6. package/dist/{get-widget-options-BmZF5Ztf.cjs → derive-chart-family-DcALKnKU.cjs} +100 -100
  7. package/dist/index.cjs +116 -116
  8. package/dist/index.js +9303 -8779
  9. package/dist/packages/sdk-ui/src/ai/api/chat-rest-api.d.ts +1 -1
  10. package/dist/packages/sdk-ui/src/ai/api/types.d.ts +3 -23
  11. package/dist/packages/sdk-ui/src/ai/chart/chart-insights.d.ts +5 -0
  12. package/dist/packages/sdk-ui/src/ai/chart/nlq-chart-widget.d.ts +41 -0
  13. package/dist/packages/sdk-ui/src/ai/chat-config.d.ts +1 -1
  14. package/dist/packages/sdk-ui/src/ai/icons/ai-icon.d.ts +2 -0
  15. package/dist/packages/sdk-ui/src/ai/index.d.ts +2 -3
  16. package/dist/packages/sdk-ui/src/ai/messages/chart-message.d.ts +1 -2
  17. package/dist/packages/sdk-ui/src/ai/use-get-data-source-fields.d.ts +1 -1
  18. package/dist/packages/sdk-ui/src/analytics-composer/{translators → code}/code-templates.d.ts +1 -1
  19. package/dist/packages/sdk-ui/src/analytics-composer/{translators → code}/generate-code.d.ts +3 -3
  20. package/dist/packages/sdk-ui/src/analytics-composer/{translators → common}/utils.d.ts +1 -1
  21. package/dist/packages/sdk-ui/src/analytics-composer/index.d.ts +12 -1
  22. package/dist/packages/sdk-ui/src/analytics-composer/query/index.d.ts +1 -0
  23. package/dist/packages/sdk-ui/src/analytics-composer/{translators → query}/query-translator.d.ts +2 -3
  24. package/dist/packages/sdk-ui/src/analytics-composer/types.d.ts +149 -0
  25. package/dist/packages/sdk-ui/src/{ai/messages → analytics-composer/widget/chart-options}/get-widget-options.d.ts +5 -14
  26. package/dist/packages/sdk-ui/src/analytics-composer/widget/stringify-filters.d.ts +2 -0
  27. package/dist/packages/sdk-ui/src/analytics-composer/widget/to-widget-code.d.ts +3 -0
  28. package/dist/packages/sdk-ui/src/analytics-composer/widget/to-widget-props.d.ts +3 -0
  29. package/dist/packages/sdk-ui/src/analytics-composer/widget/widget-composer.d.ts +15 -0
  30. package/dist/packages/sdk-ui/src/api/rest-api.d.ts +5 -1
  31. package/dist/packages/sdk-ui/src/api/types/dashboard-dto.d.ts +1 -1
  32. package/dist/packages/sdk-ui/src/app/client-application.d.ts +60 -16
  33. package/dist/packages/sdk-ui/src/app/settings/settings.d.ts +5 -0
  34. package/dist/packages/sdk-ui/src/app/settings/types/user.d.ts +0 -1
  35. package/dist/packages/sdk-ui/src/boxplot-utils.d.ts +5 -4
  36. package/dist/packages/sdk-ui/src/chart/chart.d.ts +1 -0
  37. package/dist/packages/sdk-ui/src/chart/helpers/derive-chart-family.d.ts +8 -0
  38. package/dist/packages/sdk-ui/src/chart-data-options/utils.d.ts +1 -0
  39. package/dist/packages/sdk-ui/src/chart-options-processor/translations/translations-to-highcharts.d.ts +1 -1
  40. package/dist/packages/sdk-ui/src/common/components/menu/types.d.ts +1 -0
  41. package/dist/packages/sdk-ui/src/common/hooks/use-fetch.d.ts +1 -1
  42. package/dist/packages/sdk-ui/src/common/hooks/use-synced-state.d.ts +19 -0
  43. package/dist/packages/sdk-ui/src/common-filters/selection-utils.d.ts +9 -1
  44. package/dist/packages/sdk-ui/src/common-filters/use-common-filters.d.ts +4 -2
  45. package/dist/packages/sdk-ui/src/dashboard/dashboard-by-id.d.ts +1 -2
  46. package/dist/packages/sdk-ui/src/dashboard/dashboard-helpers.d.ts +86 -9
  47. package/dist/packages/sdk-ui/src/dashboard/dashboard.d.ts +9 -1
  48. package/dist/packages/sdk-ui/src/dashboard/index.d.ts +2 -1
  49. package/dist/packages/sdk-ui/src/dashboard/types.d.ts +18 -0
  50. package/dist/packages/sdk-ui/src/dashboard/use-composed-dashboard.d.ts +30 -0
  51. package/dist/packages/sdk-ui/src/dashboard/use-dashboard-theme.d.ts +40 -0
  52. package/dist/packages/sdk-ui/src/decorators/hook-decorators/with-tracking.d.ts +1 -0
  53. package/dist/packages/sdk-ui/src/filters/components/common/member-radio.d.ts +8 -0
  54. package/dist/packages/sdk-ui/src/filters/components/date-filter/date-range-filter-tile/date-range-filter-display.d.ts +2 -1
  55. package/dist/packages/sdk-ui/src/filters/components/filters-panel/filters-panel.d.ts +2 -2
  56. package/dist/packages/sdk-ui/src/filters/components/filters-panel/index.d.ts +1 -1
  57. package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/member-list.d.ts +1 -0
  58. package/dist/packages/sdk-ui/src/formulas/use-get-shared-formula.d.ts +2 -2
  59. package/dist/packages/sdk-ui/src/index.d.ts +28 -13
  60. package/dist/packages/sdk-ui/src/models/dashboard/dashboard-model-translator.d.ts +2 -2
  61. package/dist/packages/sdk-ui/src/models/dashboard/dashboard-model.d.ts +1 -1
  62. package/dist/packages/sdk-ui/src/models/dashboard/index.d.ts +2 -0
  63. package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-dto-utils.d.ts +11 -0
  64. package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +1 -1
  65. package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dasboard-model-utils.d.ts +22 -0
  66. package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dashboard-model-reducer.d.ts +63 -0
  67. package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dashboard-model.d.ts +38 -0
  68. package/dist/packages/sdk-ui/src/models/dashboard/use-get-dashboard-model.d.ts +3 -4
  69. package/dist/packages/sdk-ui/src/models/dashboard/use-get-dashboard-models.d.ts +1 -1
  70. package/dist/packages/sdk-ui/src/models/hierarchy/hierarchy-model-translator.d.ts +1 -1
  71. package/dist/packages/sdk-ui/src/models/hierarchy/use-get-hierarchy-models.d.ts +2 -2
  72. package/dist/packages/sdk-ui/src/models/widget/use-get-widget-model.d.ts +2 -2
  73. package/dist/packages/sdk-ui/src/models/widget/widget-model-translator.d.ts +19 -1
  74. package/dist/packages/sdk-ui/src/models/widget/widget-model.d.ts +2 -2
  75. package/dist/packages/sdk-ui/src/props.d.ts +47 -24
  76. package/dist/packages/sdk-ui/src/query-execution/execute-query-by-widget-id.d.ts +1 -1
  77. package/dist/packages/sdk-ui/src/query-execution/types.d.ts +1 -1
  78. package/dist/packages/sdk-ui/src/query-execution/use-execute-query-by-widget-id.d.ts +1 -1
  79. package/dist/packages/sdk-ui/src/sisense-context/custom-sisense-context-provider.d.ts +1 -3
  80. package/dist/packages/sdk-ui/src/sisense-context/sisense-context.d.ts +3 -0
  81. package/dist/packages/sdk-ui/src/translation/i18n-provider.d.ts +3 -1
  82. package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +114 -2
  83. package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +206 -4
  84. package/dist/packages/sdk-ui/src/types.d.ts +33 -5
  85. package/dist/packages/sdk-ui/src/utils/filters.d.ts +1 -0
  86. package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/dashboard-widget.d.ts +4 -3
  87. package/dist/packages/sdk-ui/src/widget-by-id/translate-dashboard-filters.d.ts +4800 -0
  88. package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/translate-panel-color-format.d.ts +3 -3
  89. package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/translate-widget-data-options.d.ts +15 -5
  90. package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/translate-widget-drilldown-options.d.ts +2 -2
  91. package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/translate-widget-filters.d.ts +85 -83
  92. package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/types.d.ts +1 -1
  93. package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/use-fetch-widget-dto-model.d.ts +3 -3
  94. package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/utils.d.ts +6 -13
  95. package/dist/packages/sdk-ui/src/widget-by-id/widget-by-id.d.ts +26 -0
  96. package/dist/packages/sdk-ui/src/widgets/common/drilldown-utils.d.ts +7 -0
  97. package/dist/packages/sdk-ui/src/widgets/common/{use-drilldown.d.ts → use-drilldown-core.d.ts} +14 -8
  98. package/dist/packages/sdk-ui/src/widgets/common-widget.d.ts +1 -0
  99. package/dist/packages/sdk-ui/src/widgets/hooks/use-drilldown.d.ts +27 -0
  100. package/dist/packages/sdk-ui/src/widgets/hooks/use-with-drilldown.d.ts +12 -0
  101. package/dist/packages/sdk-ui/src/widgets/widget.d.ts +9 -0
  102. package/dist/{table-widget-BPmucihM.js → useQuery-1xZMqnAI.js} +40059 -39949
  103. package/dist/useQuery-D9rZ58KS.cjs +821 -0
  104. package/dist/widget-composer-B17DVa2A.cjs +101 -0
  105. package/dist/widget-composer-DqjH_6dw.js +448 -0
  106. package/package.json +9 -9
  107. package/dist/packages/sdk-ui/src/ai/api/errors.d.ts +0 -4
  108. package/dist/packages/sdk-ui/src/ai/messages/jaql-element.d.ts +0 -28
  109. package/dist/packages/sdk-ui/src/analytics-composer/translators/index.d.ts +0 -3
  110. package/dist/packages/sdk-ui/src/analytics-composer/translators/model-translator.d.ts +0 -48
  111. package/dist/packages/sdk-ui/src/analytics-composer/translators/translate-filters-to-code.d.ts +0 -2
  112. package/dist/packages/sdk-ui/src/analytics-composer/translators/types.d.ts +0 -95
  113. package/dist/packages/sdk-ui/src/dashboard-widget/translate-dashboard-filters.d.ts +0 -4798
  114. package/dist/packages/sdk-ui/src/widgets/common/drilldown-connector.d.ts +0 -19
  115. package/dist/table-widget-BikAZUJv.cjs +0 -821
  116. /package/dist/packages/sdk-ui/src/analytics-composer/{translators → query}/query-templates.d.ts +0 -0
  117. /package/dist/packages/sdk-ui/src/analytics-composer/{translators/translate-props-to-code.d.ts → widget/stringify-props.d.ts} +0 -0
  118. /package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/translate-widget-style-options.d.ts +0 -0
package/dist/ai.js CHANGED
@@ -1,26 +1,26 @@
1
- var at = Object.defineProperty, lt = Object.defineProperties;
2
- var ct = Object.getOwnPropertyDescriptors;
3
- var ne = Object.getOwnPropertySymbols;
4
- var Se = Object.prototype.hasOwnProperty, Re = Object.prototype.propertyIsEnumerable;
5
- var pe = (e, t, o) => t in e ? at(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, R = (e, t) => {
1
+ var ct = Object.defineProperty, dt = Object.defineProperties;
2
+ var ut = Object.getOwnPropertyDescriptors;
3
+ var ie = Object.getOwnPropertySymbols;
4
+ var He = Object.prototype.hasOwnProperty, Ee = Object.prototype.propertyIsEnumerable;
5
+ var fe = (e, t, o) => t in e ? ct(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, S = (e, t) => {
6
6
  for (var o in t || (t = {}))
7
- Se.call(t, o) && pe(e, o, t[o]);
8
- if (ne)
9
- for (var o of ne(t))
10
- Re.call(t, o) && pe(e, o, t[o]);
7
+ He.call(t, o) && fe(e, o, t[o]);
8
+ if (ie)
9
+ for (var o of ie(t))
10
+ Ee.call(t, o) && fe(e, o, t[o]);
11
11
  return e;
12
- }, D = (e, t) => lt(e, ct(t));
13
- var $e = (e, t) => {
12
+ }, L = (e, t) => dt(e, ut(t));
13
+ var Be = (e, t) => {
14
14
  var o = {};
15
15
  for (var r in e)
16
- Se.call(e, r) && t.indexOf(r) < 0 && (o[r] = e[r]);
17
- if (e != null && ne)
18
- for (var r of ne(e))
19
- t.indexOf(r) < 0 && Re.call(e, r) && (o[r] = e[r]);
16
+ He.call(e, r) && t.indexOf(r) < 0 && (o[r] = e[r]);
17
+ if (e != null && ie)
18
+ for (var r of ie(e))
19
+ t.indexOf(r) < 0 && Ee.call(e, r) && (o[r] = e[r]);
20
20
  return o;
21
21
  };
22
- var M = (e, t, o) => (pe(e, typeof t != "symbol" ? t + "" : t, o), o);
23
- var Q = (e, t, o) => new Promise((r, i) => {
22
+ var T = (e, t, o) => (fe(e, typeof t != "symbol" ? t + "" : t, o), o);
23
+ var Z = (e, t, o) => new Promise((r, i) => {
24
24
  var s = (l) => {
25
25
  try {
26
26
  c(o.next(l));
@@ -36,25 +36,25 @@ var Q = (e, t, o) => new Promise((r, i) => {
36
36
  }, c = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(s, a);
37
37
  c((o = o.apply(e, t)).next());
38
38
  });
39
- import { q as dt, p as ut, s as ae, bh as ht, bi as pt, y as G, _ as Z, bj as De, u as gt, bk as Ct, t as ft, bl as mt, w as ge, P as g, z as bt, bm as xt, bn as yt, bo as vt, bp as Ne, bq as wt, br as K, bs as kt, bt as St, bu as Rt, aW as $t, I as Lt, aX as Mt, g as Tt, b3 as U, E as Fe, ak as u, aw as $, J as b, au as Ie, aq as Et, bv as Ht, bw as Oe, bx as Bt, as as Dt, b6 as Le, am as Me, ay as Nt, by as Ft, ac as Pe } from "./table-widget-BPmucihM.js";
40
- import { jsx as n, jsxs as p, Fragment as H } from "react/jsx-runtime";
41
- import * as q from "react";
42
- import { createContext as We, useMemo as N, useContext as Ae, useCallback as T, useEffect as le, useState as k, useRef as _, useLayoutEffect as ie, memo as It, forwardRef as Ot, createElement as Pt } from "react";
43
- import { j as Wt, b4 as At, P as qe, b5 as qt, b6 as zt, b7 as Vt, b8 as Qt, b9 as Zt, N as jt, O as Gt } from "./get-widget-options-NhNoIBS9.js";
44
- import { bb as wr, ba as kr } from "./get-widget-options-NhNoIBS9.js";
45
- function _t(e) {
46
- return ut("MuiDialog", e);
39
+ import { k as ht, j as pt, s as ce, bm as gt, bn as Ct, o as _, _ as V, bo as Ie, D as ft, bp as mt, l as bt, bq as xt, m as me, P as p, q as yt, br as vt, bs as wt, bt as kt, bu as We, bv as St, bw as te, bx as Mt, by as $t, bz as Lt, aZ as Rt, L as Tt, a_ as Ht, g as Et, bb as Y, T as Oe, al as u, ay as R, Z as b, aw as Ae, as as Bt, bA as Dt, bB as Pe, bC as Ft, au as Nt, ao as ee, aA as It, bD as Wt, Y as ze } from "./useQuery-1xZMqnAI.js";
40
+ import { jsx as n, jsxs as h, Fragment as E } from "react/jsx-runtime";
41
+ import * as z from "react";
42
+ import { createContext as qe, useMemo as N, useContext as Ze, useCallback as H, useEffect as de, useState as M, useRef as K, useLayoutEffect as ae, memo as Ot, forwardRef as At, createElement as Pt } from "react";
43
+ import { l as zt, bd as qt, a0 as y, T as xe, r as Ve, a4 as Qe, S as Zt, be as Vt, p as Qt, q as Gt } from "./derive-chart-family-CTpRObm1.js";
44
+ import { t as Ge } from "./widget-composer-DqjH_6dw.js";
45
+ function jt(e) {
46
+ return pt("MuiDialog", e);
47
47
  }
48
- const Ce = dt("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), ze = /* @__PURE__ */ q.createContext({});
49
- process.env.NODE_ENV !== "production" && (ze.displayName = "DialogContext");
50
- const Ut = ["aria-describedby", "aria-labelledby", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "TransitionComponent", "transitionDuration", "TransitionProps"], Kt = ae(ht, {
48
+ const be = ht("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), je = /* @__PURE__ */ z.createContext({});
49
+ process.env.NODE_ENV !== "production" && (je.displayName = "DialogContext");
50
+ const Ut = ["aria-describedby", "aria-labelledby", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "TransitionComponent", "transitionDuration", "TransitionProps"], _t = ce(gt, {
51
51
  name: "MuiDialog",
52
52
  slot: "Backdrop",
53
53
  overrides: (e, t) => t.backdrop
54
54
  })({
55
55
  // Improve scrollable dialog support.
56
56
  zIndex: -1
57
- }), Yt = (e) => {
57
+ }), Kt = (e) => {
58
58
  const {
59
59
  classes: t,
60
60
  scroll: o,
@@ -63,11 +63,11 @@ const Ut = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
63
63
  fullScreen: s
64
64
  } = e, a = {
65
65
  root: ["root"],
66
- container: ["container", `scroll${G(o)}`],
67
- paper: ["paper", `paperScroll${G(o)}`, `paperWidth${G(String(r))}`, i && "paperFullWidth", s && "paperFullScreen"]
66
+ container: ["container", `scroll${_(o)}`],
67
+ paper: ["paper", `paperScroll${_(o)}`, `paperWidth${_(String(r))}`, i && "paperFullWidth", s && "paperFullScreen"]
68
68
  };
69
- return bt(a, _t, t);
70
- }, Jt = ae(pt, {
69
+ return yt(a, jt, t);
70
+ }, Yt = ce(Ct, {
71
71
  name: "MuiDialog",
72
72
  slot: "Root",
73
73
  overridesResolver: (e, t) => t.root
@@ -76,18 +76,18 @@ const Ut = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
76
76
  // Use !important to override the Modal inline-style.
77
77
  position: "absolute !important"
78
78
  }
79
- }), Xt = ae("div", {
79
+ }), Jt = ce("div", {
80
80
  name: "MuiDialog",
81
81
  slot: "Container",
82
82
  overridesResolver: (e, t) => {
83
83
  const {
84
84
  ownerState: o
85
85
  } = e;
86
- return [t.container, t[`scroll${G(o.scroll)}`]];
86
+ return [t.container, t[`scroll${_(o.scroll)}`]];
87
87
  }
88
88
  })(({
89
89
  ownerState: e
90
- }) => Z({
90
+ }) => V({
91
91
  height: "100%",
92
92
  "@media print": {
93
93
  height: "auto"
@@ -109,19 +109,19 @@ const Ut = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
109
109
  height: "100%",
110
110
  width: "0"
111
111
  }
112
- })), eo = ae(De, {
112
+ })), Xt = ce(Ie, {
113
113
  name: "MuiDialog",
114
114
  slot: "Paper",
115
115
  overridesResolver: (e, t) => {
116
116
  const {
117
117
  ownerState: o
118
118
  } = e;
119
- return [t.paper, t[`scrollPaper${G(o.scroll)}`], t[`paperWidth${G(String(o.maxWidth))}`], o.fullWidth && t.paperFullWidth, o.fullScreen && t.paperFullScreen];
119
+ return [t.paper, t[`scrollPaper${_(o.scroll)}`], t[`paperWidth${_(String(o.maxWidth))}`], o.fullWidth && t.paperFullWidth, o.fullScreen && t.paperFullScreen];
120
120
  }
121
121
  })(({
122
122
  theme: e,
123
123
  ownerState: t
124
- }) => Z({
124
+ }) => V({
125
125
  margin: 32,
126
126
  position: "relative",
127
127
  overflowY: "auto",
@@ -143,14 +143,14 @@ const Ut = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
143
143
  maxWidth: "calc(100% - 64px)"
144
144
  }, t.maxWidth === "xs" && {
145
145
  maxWidth: e.breakpoints.unit === "px" ? Math.max(e.breakpoints.values.xs, 444) : `max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,
146
- [`&.${Ce.paperScrollBody}`]: {
146
+ [`&.${be.paperScrollBody}`]: {
147
147
  [e.breakpoints.down(Math.max(e.breakpoints.values.xs, 444) + 32 * 2)]: {
148
148
  maxWidth: "calc(100% - 64px)"
149
149
  }
150
150
  }
151
151
  }, t.maxWidth && t.maxWidth !== "xs" && {
152
152
  maxWidth: `${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,
153
- [`&.${Ce.paperScrollBody}`]: {
153
+ [`&.${be.paperScrollBody}`]: {
154
154
  [e.breakpoints.down(e.breakpoints.values[t.maxWidth] + 32 * 2)]: {
155
155
  maxWidth: "calc(100% - 64px)"
156
156
  }
@@ -164,15 +164,15 @@ const Ut = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
164
164
  height: "100%",
165
165
  maxHeight: "none",
166
166
  borderRadius: 0,
167
- [`&.${Ce.paperScrollBody}`]: {
167
+ [`&.${be.paperScrollBody}`]: {
168
168
  margin: 0,
169
169
  maxWidth: "100%"
170
170
  }
171
- })), Ve = /* @__PURE__ */ q.forwardRef(function(t, o) {
172
- const r = gt({
171
+ })), Ue = /* @__PURE__ */ z.forwardRef(function(t, o) {
172
+ const r = ft({
173
173
  props: t,
174
174
  name: "MuiDialog"
175
- }), i = Ct(), s = {
175
+ }), i = mt(), s = {
176
176
  enter: i.transitions.duration.enteringScreen,
177
177
  exit: i.transitions.duration.leavingScreen
178
178
  }, {
@@ -180,83 +180,83 @@ const Ut = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
180
180
  "aria-labelledby": c,
181
181
  BackdropComponent: l,
182
182
  BackdropProps: d,
183
- children: C,
184
- className: h,
183
+ children: g,
184
+ className: C,
185
185
  disableEscapeKeyDown: f = !1,
186
- fullScreen: S = !1,
187
- fullWidth: w = !1,
188
- maxWidth: m = "sm",
189
- onBackdropClick: x,
190
- onClick: y,
191
- onClose: E,
192
- open: F,
193
- PaperComponent: L = De,
194
- PaperProps: X = {},
195
- scroll: B = "paper",
196
- TransitionComponent: ee = xt,
197
- transitionDuration: te = s,
198
- TransitionProps: de
199
- } = r, ue = ft(r, Ut), V = Z({}, r, {
186
+ fullScreen: m = !1,
187
+ fullWidth: D = !1,
188
+ maxWidth: w = "sm",
189
+ onBackdropClick: v,
190
+ onClick: A,
191
+ onClose: x,
192
+ open: I,
193
+ PaperComponent: Q = Ie,
194
+ PaperProps: B = {},
195
+ scroll: pe = "paper",
196
+ TransitionComponent: F = vt,
197
+ transitionDuration: J = s,
198
+ TransitionProps: ge
199
+ } = r, Ce = bt(r, Ut), G = V({}, r, {
200
200
  disableEscapeKeyDown: f,
201
- fullScreen: S,
202
- fullWidth: w,
203
- maxWidth: m,
204
- scroll: B
205
- }), j = Yt(V), I = q.useRef(), oe = (A) => {
206
- I.current = A.target === A.currentTarget;
207
- }, he = (A) => {
208
- y && y(A), I.current && (I.current = null, x && x(A), E && E(A, "backdropClick"));
209
- }, v = mt(c), O = q.useMemo(() => ({
210
- titleId: v
211
- }), [v]);
212
- return /* @__PURE__ */ n(Jt, Z({
213
- className: ge(j.root, h),
201
+ fullScreen: m,
202
+ fullWidth: D,
203
+ maxWidth: w,
204
+ scroll: pe
205
+ }), j = Kt(G), U = z.useRef(), P = ($) => {
206
+ U.current = $.target === $.currentTarget;
207
+ }, re = ($) => {
208
+ A && A($), U.current && (U.current = null, v && v($), x && x($, "backdropClick"));
209
+ }, X = xt(c), k = z.useMemo(() => ({
210
+ titleId: X
211
+ }), [X]);
212
+ return /* @__PURE__ */ n(Yt, V({
213
+ className: me(j.root, C),
214
214
  closeAfterTransition: !0,
215
215
  components: {
216
- Backdrop: Kt
216
+ Backdrop: _t
217
217
  },
218
218
  componentsProps: {
219
- backdrop: Z({
220
- transitionDuration: te,
219
+ backdrop: V({
220
+ transitionDuration: J,
221
221
  as: l
222
222
  }, d)
223
223
  },
224
224
  disableEscapeKeyDown: f,
225
- onClose: E,
226
- open: F,
225
+ onClose: x,
226
+ open: I,
227
227
  ref: o,
228
- onClick: he,
229
- ownerState: V
230
- }, ue, {
231
- children: /* @__PURE__ */ n(ee, Z({
228
+ onClick: re,
229
+ ownerState: G
230
+ }, Ce, {
231
+ children: /* @__PURE__ */ n(F, V({
232
232
  appear: !0,
233
- in: F,
234
- timeout: te,
233
+ in: I,
234
+ timeout: J,
235
235
  role: "presentation"
236
- }, de, {
237
- children: /* @__PURE__ */ n(Xt, {
238
- className: ge(j.container),
239
- onMouseDown: oe,
240
- ownerState: V,
241
- children: /* @__PURE__ */ n(eo, Z({
242
- as: L,
236
+ }, ge, {
237
+ children: /* @__PURE__ */ n(Jt, {
238
+ className: me(j.container),
239
+ onMouseDown: P,
240
+ ownerState: G,
241
+ children: /* @__PURE__ */ n(Xt, V({
242
+ as: Q,
243
243
  elevation: 24,
244
244
  role: "dialog",
245
245
  "aria-describedby": a,
246
- "aria-labelledby": v
247
- }, X, {
248
- className: ge(j.paper, X.className),
249
- ownerState: V,
250
- children: /* @__PURE__ */ n(ze.Provider, {
251
- value: O,
252
- children: C
246
+ "aria-labelledby": X
247
+ }, B, {
248
+ className: me(j.paper, B.className),
249
+ ownerState: G,
250
+ children: /* @__PURE__ */ n(je.Provider, {
251
+ value: k,
252
+ children: g
253
253
  })
254
254
  }))
255
255
  })
256
256
  }))
257
257
  }));
258
258
  });
259
- process.env.NODE_ENV !== "production" && (Ve.propTypes = {
259
+ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
260
260
  // ┌────────────────────────────── Warning ──────────────────────────────┐
261
261
  // │ These PropTypes are generated from the TypeScript type definitions. │
262
262
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -264,11 +264,11 @@ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
264
264
  /**
265
265
  * The id(s) of the element(s) that describe the dialog.
266
266
  */
267
- "aria-describedby": g.string,
267
+ "aria-describedby": p.string,
268
268
  /**
269
269
  * The id(s) of the element(s) that label the dialog.
270
270
  */
271
- "aria-labelledby": g.string,
271
+ "aria-labelledby": p.string,
272
272
  /**
273
273
  * A backdrop component. This prop enables custom backdrop rendering.
274
274
  * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
@@ -283,92 +283,92 @@ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
283
283
  * zIndex: -1,
284
284
  * })
285
285
  */
286
- BackdropComponent: g.elementType,
286
+ BackdropComponent: p.elementType,
287
287
  /**
288
288
  * @ignore
289
289
  */
290
- BackdropProps: g.object,
290
+ BackdropProps: p.object,
291
291
  /**
292
292
  * Dialog children, usually the included sub-components.
293
293
  */
294
- children: g.node,
294
+ children: p.node,
295
295
  /**
296
296
  * Override or extend the styles applied to the component.
297
297
  */
298
- classes: g.object,
298
+ classes: p.object,
299
299
  /**
300
300
  * @ignore
301
301
  */
302
- className: g.string,
302
+ className: p.string,
303
303
  /**
304
304
  * If `true`, hitting escape will not fire the `onClose` callback.
305
305
  * @default false
306
306
  */
307
- disableEscapeKeyDown: g.bool,
307
+ disableEscapeKeyDown: p.bool,
308
308
  /**
309
309
  * If `true`, the dialog is full-screen.
310
310
  * @default false
311
311
  */
312
- fullScreen: g.bool,
312
+ fullScreen: p.bool,
313
313
  /**
314
314
  * If `true`, the dialog stretches to `maxWidth`.
315
315
  *
316
316
  * Notice that the dialog width grow is limited by the default margin.
317
317
  * @default false
318
318
  */
319
- fullWidth: g.bool,
319
+ fullWidth: p.bool,
320
320
  /**
321
321
  * Determine the max-width of the dialog.
322
322
  * The dialog width grows with the size of the screen.
323
323
  * Set to `false` to disable `maxWidth`.
324
324
  * @default 'sm'
325
325
  */
326
- maxWidth: g.oneOfType([g.oneOf(["xs", "sm", "md", "lg", "xl", !1]), g.string]),
326
+ maxWidth: p.oneOfType([p.oneOf(["xs", "sm", "md", "lg", "xl", !1]), p.string]),
327
327
  /**
328
328
  * Callback fired when the backdrop is clicked.
329
329
  * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
330
330
  */
331
- onBackdropClick: g.func,
331
+ onBackdropClick: p.func,
332
332
  /**
333
333
  * @ignore
334
334
  */
335
- onClick: g.func,
335
+ onClick: p.func,
336
336
  /**
337
337
  * Callback fired when the component requests to be closed.
338
338
  *
339
339
  * @param {object} event The event source of the callback.
340
340
  * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
341
341
  */
342
- onClose: g.func,
342
+ onClose: p.func,
343
343
  /**
344
344
  * If `true`, the component is shown.
345
345
  */
346
- open: g.bool.isRequired,
346
+ open: p.bool.isRequired,
347
347
  /**
348
348
  * The component used to render the body of the dialog.
349
349
  * @default Paper
350
350
  */
351
- PaperComponent: g.elementType,
351
+ PaperComponent: p.elementType,
352
352
  /**
353
353
  * Props applied to the [`Paper`](/material-ui/api/paper/) element.
354
354
  * @default {}
355
355
  */
356
- PaperProps: g.object,
356
+ PaperProps: p.object,
357
357
  /**
358
358
  * Determine the container for scrolling the dialog.
359
359
  * @default 'paper'
360
360
  */
361
- scroll: g.oneOf(["body", "paper"]),
361
+ scroll: p.oneOf(["body", "paper"]),
362
362
  /**
363
363
  * The system prop that allows defining system overrides as well as additional CSS styles.
364
364
  */
365
- sx: g.oneOfType([g.arrayOf(g.oneOfType([g.func, g.object, g.bool])), g.func, g.object]),
365
+ sx: p.oneOfType([p.arrayOf(p.oneOfType([p.func, p.object, p.bool])), p.func, p.object]),
366
366
  /**
367
367
  * The component used for the transition.
368
368
  * [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
369
369
  * @default Fade
370
370
  */
371
- TransitionComponent: g.elementType,
371
+ TransitionComponent: p.elementType,
372
372
  /**
373
373
  * The duration for the transition, in milliseconds.
374
374
  * You may specify a single timeout for all transitions, or individually with an object.
@@ -377,18 +377,18 @@ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
377
377
  * exit: theme.transitions.duration.leavingScreen,
378
378
  * }
379
379
  */
380
- transitionDuration: g.oneOfType([g.number, g.shape({
381
- appear: g.number,
382
- enter: g.number,
383
- exit: g.number
380
+ transitionDuration: p.oneOfType([p.number, p.shape({
381
+ appear: p.number,
382
+ enter: p.number,
383
+ exit: p.number
384
384
  })]),
385
385
  /**
386
386
  * Props applied to the transition element.
387
387
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
388
388
  */
389
- TransitionProps: g.object
389
+ TransitionProps: p.object
390
390
  });
391
- class to extends yt {
391
+ class e1 extends wt {
392
392
  constructor(t, o) {
393
393
  super(), this.client = t, this.setOptions(o), this.bindMethods(), this.updateResult();
394
394
  }
@@ -398,7 +398,7 @@ class to extends yt {
398
398
  setOptions(t) {
399
399
  var o;
400
400
  const r = this.options;
401
- this.options = this.client.defaultMutationOptions(t), vt(r, this.options) || this.client.getMutationCache().notify({
401
+ this.options = this.client.defaultMutationOptions(t), kt(r, this.options) || this.client.getMutationCache().notify({
402
402
  type: "observerOptionsUpdated",
403
403
  mutation: this.currentMutation,
404
404
  observer: this
@@ -426,12 +426,12 @@ class to extends yt {
426
426
  });
427
427
  }
428
428
  mutate(t, o) {
429
- return this.mutateOptions = o, this.currentMutation && this.currentMutation.removeObserver(this), this.currentMutation = this.client.getMutationCache().build(this.client, D(R({}, this.options), {
429
+ return this.mutateOptions = o, this.currentMutation && this.currentMutation.removeObserver(this), this.currentMutation = this.client.getMutationCache().build(this.client, L(S({}, this.options), {
430
430
  variables: typeof t != "undefined" ? t : this.options.variables
431
431
  })), this.currentMutation.addObserver(this), this.currentMutation.execute();
432
432
  }
433
433
  updateResult() {
434
- const t = this.currentMutation ? this.currentMutation.state : wt(), o = D(R({}, t), {
434
+ const t = this.currentMutation ? this.currentMutation.state : St(), o = L(S({}, t), {
435
435
  isLoading: t.status === "loading",
436
436
  isSuccess: t.status === "success",
437
437
  isError: t.status === "error",
@@ -442,7 +442,7 @@ class to extends yt {
442
442
  this.currentResult = o;
443
443
  }
444
444
  notify(t) {
445
- Ne.batch(() => {
445
+ We.batch(() => {
446
446
  if (this.mutateOptions && this.hasListeners()) {
447
447
  if (t.onSuccess) {
448
448
  var o, r, i, s;
@@ -453,62 +453,62 @@ class to extends yt {
453
453
  }
454
454
  }
455
455
  t.listeners && this.listeners.forEach(({
456
- listener: C
456
+ listener: g
457
457
  }) => {
458
- C(this.currentResult);
458
+ g(this.currentResult);
459
459
  });
460
460
  });
461
461
  }
462
462
  }
463
- function me(e, t, o) {
464
- const r = Rt(e, t), i = K({
463
+ function we(e, t, o) {
464
+ const r = Lt(e, t), i = te({
465
465
  context: r.context
466
- }), [s] = q.useState(() => new to(i, r));
467
- q.useEffect(() => {
466
+ }), [s] = z.useState(() => new e1(i, r));
467
+ z.useEffect(() => {
468
468
  s.setOptions(r);
469
469
  }, [s, r]);
470
- const a = kt(q.useCallback((l) => s.subscribe(Ne.batchCalls(l)), [s]), () => s.getCurrentResult(), () => s.getCurrentResult()), c = q.useCallback((l, d) => {
471
- s.mutate(l, d).catch(oo);
470
+ const a = Mt(z.useCallback((l) => s.subscribe(We.batchCalls(l)), [s]), () => s.getCurrentResult(), () => s.getCurrentResult()), c = z.useCallback((l, d) => {
471
+ s.mutate(l, d).catch(t1);
472
472
  }, [s]);
473
- if (a.error && St(s.options.useErrorBoundary, [a.error]))
473
+ if (a.error && $t(s.options.useErrorBoundary, [a.error]))
474
474
  throw a.error;
475
- return D(R({}, a), {
475
+ return L(S({}, a), {
476
476
  mutate: c,
477
477
  mutateAsync: a.mutate
478
478
  });
479
479
  }
480
- function oo() {
480
+ function t1() {
481
481
  }
482
- class no {
482
+ class o1 {
483
483
  constructor(t) {
484
- M(this, "httpClient");
485
- M(this, "getChatContexts", () => Q(this, null, function* () {
484
+ T(this, "httpClient");
485
+ T(this, "getChatContexts", () => Z(this, null, function* () {
486
486
  return (yield this.httpClient.get("api/datasources?sharedWith=r,w")) || [];
487
487
  }));
488
488
  // ==== /v2/ai endpoints ====
489
- M(this, "getNlgQueryResult", (t) => this.httpClient.post("api/v2/ai/nlg/queryResult", t));
490
- M(this, "getQueryRecommendations", (t, o) => this.httpClient.get(
489
+ T(this, "getNlgQueryResult", (t) => this.httpClient.post("api/v2/ai/nlg/queryResult", t));
490
+ T(this, "getQueryRecommendations", (t, o) => this.httpClient.get(
491
491
  `api/v2/ai/recommendations/query/${t}/${o.numOfRecommendations}`
492
492
  ));
493
- M(this, "setLlmConfig", (t) => this.httpClient.post("api/v2/settings/ai/llmProvider", t).catch((o) => {
493
+ T(this, "setLlmConfig", (t) => this.httpClient.post("api/v2/settings/ai/llmProvider", t).catch((o) => {
494
494
  console.error("Unable to set llm config", o);
495
495
  }));
496
496
  // ==== /v2/ai/chats endpoints ====
497
- M(this, "getAllChats", () => this.httpClient.get("api/v2/ai/chats"));
498
- M(this, "getChatById", (t) => this.httpClient.get(`api/v2/ai/chats/${t}`));
499
- M(this, "createChat", (t) => this.httpClient.post("api/v2/ai/chats", { sourceId: t }));
500
- M(this, "postChat", (t, o) => this.httpClient.post(`api/v2/ai/chats/${t}`, o));
501
- M(this, "deleteChatHistory", (t) => this.httpClient.delete(`api/v2/ai/chats/${t}/history`));
502
- M(this, "sendFeedback", (t) => this.httpClient.post("api/v2/ai/feedback", t));
497
+ T(this, "getAllChats", () => this.httpClient.get("api/v2/ai/chats"));
498
+ T(this, "getChatById", (t) => this.httpClient.get(`api/v2/ai/chats/${t}`));
499
+ T(this, "createChat", (t) => this.httpClient.post("api/v2/ai/chats", { sourceId: t }));
500
+ T(this, "postChat", (t, o) => this.httpClient.post(`api/v2/ai/chats/${t}`, o));
501
+ T(this, "deleteChatHistory", (t) => this.httpClient.delete(`api/v2/ai/chats/${t}/history`));
502
+ T(this, "sendFeedback", (t) => this.httpClient.post("api/v2/ai/feedback", t));
503
503
  // ==== misc endpoints ====
504
- M(this, "getDataSourceFields", (t) => this.httpClient.post(
504
+ T(this, "getDataSourceFields", (t) => this.httpClient.post(
505
505
  `api/datasources/${encodeURIComponent(t)}/fields/search`,
506
506
  {
507
507
  offset: 0,
508
508
  count: 9999
509
509
  }
510
510
  ));
511
- M(this, "ai", {
511
+ T(this, "ai", {
512
512
  getNlgQueryResult: this.getNlgQueryResult,
513
513
  getQueryRecommendations: this.getQueryRecommendations,
514
514
  setLlmConfig: this.setLlmConfig,
@@ -525,33 +525,33 @@ class no {
525
525
  this.httpClient = t;
526
526
  }
527
527
  }
528
- const ro = new $t({
528
+ const n1 = new Rt({
529
529
  defaultOptions: {
530
530
  queries: {
531
531
  refetchOnWindowFocus: !1,
532
532
  refetchOnMount: !1
533
533
  }
534
534
  }
535
- }), Qe = We(void 0), P = () => Ae(Qe), io = ({ children: e }) => {
536
- const { app: t } = Lt(), o = N(() => t ? new no(t.httpClient) : void 0, [t]);
537
- return /* @__PURE__ */ n(Qe.Provider, { value: o, children: /* @__PURE__ */ n(Mt, { client: ro, children: e }) });
535
+ }), _e = qe(void 0), W = () => Ze(_e), r1 = ({ children: e }) => {
536
+ const { app: t } = Tt(), o = N(() => t ? new o1(t.httpClient) : void 0, [t]);
537
+ return /* @__PURE__ */ n(_e.Provider, { value: o, children: /* @__PURE__ */ n(Ht, { client: n1, children: e }) });
538
538
  };
539
- function pr({ children: e }) {
540
- return /* @__PURE__ */ n(io, { children: e });
539
+ function Cn({ children: e }) {
540
+ return /* @__PURE__ */ n(r1, { children: e });
541
541
  }
542
- const be = (e, t = !0) => {
542
+ const ue = (e, t = !0) => {
543
543
  const o = N(() => {
544
- var C, h;
544
+ var g, C;
545
545
  if ("jaql" in e)
546
546
  return e;
547
547
  {
548
- const f = At(e.dataSource), { filters: S = [], relations: w } = Wt(e.filters), { metadata: m, filterRelations: x } = Tt(
548
+ const f = qt(e.dataSource), { filters: m = [], relations: D } = zt(e.filters), { metadata: w, filterRelations: v } = Et(
549
549
  {
550
550
  dataSource: e.dataSource,
551
- attributes: (C = e.dimensions) != null ? C : [],
552
- measures: (h = e.measures) != null ? h : [],
553
- filters: S,
554
- filterRelations: w,
551
+ attributes: (g = e.dimensions) != null ? g : [],
552
+ measures: (C = e.measures) != null ? C : [],
553
+ filters: m,
554
+ filterRelations: D,
555
555
  highlights: []
556
556
  },
557
557
  !0
@@ -559,17 +559,17 @@ const be = (e, t = !0) => {
559
559
  return {
560
560
  jaql: {
561
561
  datasource: f,
562
- metadata: m,
563
- filterRelations: x
562
+ metadata: w,
563
+ filterRelations: v
564
564
  }
565
565
  };
566
566
  }
567
- }, [e]), r = P(), { data: i, error: s, isError: a, isLoading: c, isSuccess: l, refetch: d } = U({
567
+ }, [e]), r = W(), { data: i, error: s, isError: a, isLoading: c, isSuccess: l, refetch: d } = Y({
568
568
  queryKey: ["getNlgQueryResult", o, r],
569
569
  queryFn: () => r == null ? void 0 : r.ai.getNlgQueryResult(o),
570
- select: (C) => {
571
- var h;
572
- return (h = C == null ? void 0 : C.data) == null ? void 0 : h.answer;
570
+ select: (g) => {
571
+ var C;
572
+ return (C = g == null ? void 0 : g.data) == null ? void 0 : C.answer;
573
573
  },
574
574
  enabled: !!r && t
575
575
  });
@@ -579,32 +579,33 @@ const be = (e, t = !0) => {
579
579
  isSuccess: l,
580
580
  data: i,
581
581
  error: s,
582
- refetch: T(() => {
582
+ refetch: H(() => {
583
583
  d();
584
584
  }, [d])
585
585
  };
586
- }, so = (e) => {
587
- const r = e, { enabled: t } = r, o = $e(r, ["enabled"]);
588
- return be(o, t);
589
- }, gr = Fe("useGetNlgQueryResult")(
590
- so
591
- ), Ze = Object.freeze({
586
+ }, i1 = (e) => {
587
+ const r = e, { enabled: t } = r, o = Be(r, ["enabled"]);
588
+ return ue(o, t);
589
+ }, fn = Oe("useGetNlgQueryResult")(
590
+ i1
591
+ ), Ke = Object.freeze({
592
592
  enableFollowupQuestions: !1,
593
593
  enableHeader: !0,
594
594
  enableInsights: !0,
595
595
  numOfRecommendations: 4,
596
- numOfRecentPrompts: 5,
597
- inputPromptText: 'Ask a question or type "/" for ideas',
598
- welcomeText: "Welcome to the Analytics Assistant! I can help you explore and gain insights from your data.",
599
- suggestionsWelcomeText: "Some questions you may have:"
600
- }), je = We(R({}, Ze)), W = () => Ae(je), ao = ({ children: e, value: t }) => {
601
- const o = Object.entries(t).reduce(
602
- (r, [i, s]) => (s !== void 0 && (r[i] = s), r),
603
- R({}, Ze)
596
+ numOfRecentPrompts: 5
597
+ }), Ye = qe(S({}, Ke)), O = () => Ze(Ye), s1 = ({ children: e, value: t }) => {
598
+ const { t: o } = y(), r = Object.entries(t).reduce(
599
+ (i, [s, a]) => (a !== void 0 && (i[s] = a), i),
600
+ L(S({}, Ke), {
601
+ inputPromptText: o("ai.config.inputPromptText"),
602
+ welcomeText: o("ai.config.welcomeText"),
603
+ suggestionsWelcomeText: o("ai.config.suggestionsWelcomeText")
604
+ })
604
605
  );
605
- return /* @__PURE__ */ n(je.Provider, { value: o, children: e });
606
- }, Ge = (e) => {
607
- const { contextTitle: t, count: o } = e, r = P(), { numOfRecommendations: i } = W(), s = o != null ? o : i, { isLoading: a, isError: c, isSuccess: l, data: d, error: C, refetch: h } = U({
606
+ return /* @__PURE__ */ n(Ye.Provider, { value: r, children: e });
607
+ }, Je = (e) => {
608
+ const { contextTitle: t, count: o } = e, r = W(), { numOfRecommendations: i } = O(), s = o != null ? o : i, { isLoading: a, isError: c, isSuccess: l, data: d, error: g, refetch: C } = Y({
608
609
  queryKey: ["getQueryRecommendations", t, s, r],
609
610
  queryFn: () => r == null ? void 0 : r.ai.getQueryRecommendations(t, {
610
611
  numOfRecommendations: s
@@ -616,18 +617,18 @@ const be = (e, t = !0) => {
616
617
  isError: c,
617
618
  isSuccess: l,
618
619
  data: d != null ? d : [],
619
- error: C,
620
- refetch: T(() => {
621
- h();
622
- }, [h])
620
+ error: g,
621
+ refetch: H(() => {
622
+ C();
623
+ }, [C])
623
624
  };
624
- }, Cr = Fe("useGetQueryRecommendations")(
625
- Ge
626
- ), xe = "Oh snap, something went wrong. Please try again later.", lo = "Oh snap, something went wrong. Please try again later or try asking a different question.", co = "Something went wrong and we were unable to retrieve the chat thread. Let's start over!", _e = "Chat unavailable. Please try again later.", ye = "chatHistory", uo = (e) => {
627
- const t = P(), { hideHistory: o } = W();
628
- return U({
629
- queryKey: [ye, e, t],
630
- queryFn: () => Q(void 0, null, function* () {
625
+ }, mn = Oe("useGetQueryRecommendations")(
626
+ Je
627
+ ), ke = "chatHistory", a1 = (e) => {
628
+ const t = W(), { hideHistory: o } = O();
629
+ return Y({
630
+ queryKey: [ke, e, t],
631
+ queryFn: () => Z(void 0, null, function* () {
631
632
  if (!t || !e)
632
633
  return;
633
634
  if (o)
@@ -637,10 +638,10 @@ const be = (e, t = !0) => {
637
638
  }),
638
639
  enabled: !!t && !!e
639
640
  });
640
- }, Ue = (e) => {
641
- const t = P(), o = K();
642
- return me({
643
- mutationFn: () => Q(void 0, null, function* () {
641
+ }, Xe = (e) => {
642
+ const t = W(), o = te();
643
+ return we({
644
+ mutationFn: () => Z(void 0, null, function* () {
644
645
  if (!(!t || !e))
645
646
  return t.ai.chat.clearHistory(e);
646
647
  }),
@@ -648,30 +649,30 @@ const be = (e, t = !0) => {
648
649
  console.error("Error when clearing history:", r);
649
650
  },
650
651
  onSettled: () => {
651
- e && o.setQueriesData([ye, e], []);
652
+ e && o.setQueriesData([ke, e], []);
652
653
  }
653
654
  });
654
- }, Ke = (e) => {
655
- const { data: t, isLoading: o, isError: r } = uo(e), { mutate: i } = Ue(e);
656
- return le(() => {
655
+ }, et = (e) => {
656
+ const { data: t, isLoading: o, isError: r } = a1(e), { mutate: i } = Xe(e);
657
+ return de(() => {
657
658
  r && i();
658
659
  }, [r, i]), {
659
660
  history: t,
660
661
  isLoading: o,
661
662
  isError: r
662
663
  };
663
- }, Ye = () => {
664
- const e = P(), { data: t, isLoading: o, fetchStatus: r } = U({
664
+ }, tt = () => {
665
+ const e = W(), { data: t, isLoading: o, fetchStatus: r } = Y({
665
666
  queryKey: ["getDataTopics", e],
666
- queryFn: () => Q(void 0, null, function* () {
667
+ queryFn: () => Z(void 0, null, function* () {
667
668
  if (e)
668
669
  return e.getChatContexts();
669
670
  }),
670
671
  enabled: !!e
671
672
  });
672
673
  return { data: t, isLoading: o, fetchStatus: r };
673
- }, Je = () => {
674
- const e = P(), { data: t, isLoading: o } = U({
674
+ }, ot = () => {
675
+ const e = W(), { data: t, isLoading: o } = Y({
675
676
  queryKey: ["getAllChats", e],
676
677
  queryFn: () => e == null ? void 0 : e.ai.chat.getAll(),
677
678
  enabled: !!e
@@ -680,18 +681,18 @@ const be = (e, t = !0) => {
680
681
  data: t != null ? t : [],
681
682
  isLoading: o
682
683
  };
683
- }, ho = (e, t) => {
684
- const o = K(), r = P(), i = me({
685
- mutationFn: () => Q(void 0, null, function* () {
684
+ }, l1 = (e, t) => {
685
+ const o = te(), r = W(), i = we({
686
+ mutationFn: () => Z(void 0, null, function* () {
686
687
  if (!(!r || !e))
687
688
  return r.ai.chat.create(e);
688
689
  }),
689
690
  onSuccess: () => o.invalidateQueries(["getAllChats"])
690
691
  });
691
- return le(() => {
692
+ return de(() => {
692
693
  t && i.isIdle && i.mutate();
693
694
  }, [t, i]), i;
694
- }, po = (e) => {
695
+ }, c1 = (e, t) => {
695
696
  switch (e.responseType = e.responseType.toLowerCase(), e.responseType) {
696
697
  case "nlq":
697
698
  return {
@@ -706,80 +707,83 @@ const be = (e, t = !0) => {
706
707
  role: "assistant"
707
708
  };
708
709
  default:
709
- throw Error(`Received unknown responseType, raw response=${JSON.stringify(e)}`);
710
+ throw Error(`${t}${JSON.stringify(e)}`);
710
711
  }
711
- }, go = (e) => {
712
- const t = K(), o = T(
713
- (c) => {
714
- e && t.setQueriesData([ye, e], (l) => l && [...l, c]);
712
+ }, d1 = (e) => {
713
+ const t = te(), o = H(
714
+ (l) => {
715
+ e && t.setQueriesData([ke, e], (d) => d && [...d, l]);
715
716
  },
716
717
  [t, e]
717
- ), { enableFollowupQuestions: r } = W(), i = P(), { mutate: s, isLoading: a } = me({
718
- mutationFn: (c) => Q(void 0, null, function* () {
719
- if (!(!i || !e))
720
- return i.ai.chat.post(e, {
721
- text: c,
718
+ ), { enableFollowupQuestions: r } = O(), { t: i } = y(), s = W(), { mutate: a, isLoading: c } = we({
719
+ mutationFn: (l) => Z(void 0, null, function* () {
720
+ if (!(!s || !e))
721
+ return s.ai.chat.post(e, {
722
+ text: l,
722
723
  options: { enableFollowup: r }
723
724
  });
724
725
  }),
725
- onMutate: (c) => {
726
+ onMutate: (l) => {
726
727
  o({
727
- content: c,
728
+ content: l,
728
729
  role: "user"
729
730
  });
730
731
  },
731
- onError: (c) => {
732
- c instanceof Error && (console.error("Error when sending message:", c.message), o({
733
- content: lo,
732
+ onError: (l) => {
733
+ l instanceof Error && (console.error("Error when sending message:", l.message), o({
734
+ content: i("errors.unexpectedChatResponse"),
734
735
  role: "assistant"
735
736
  }));
736
737
  },
737
- onSuccess: (c) => {
738
- c && o(po(c));
738
+ onSuccess: (l) => {
739
+ if (!l)
740
+ return;
741
+ const d = i("ai.errors.unknownResponse");
742
+ o(c1(l, d));
739
743
  }
740
744
  });
741
- return { mutate: s, isLoading: a };
742
- }, ve = (e) => !!e && "type" in e && e.type === "nlq", Co = (e) => {
743
- var E, F;
744
- const { data: t, isLoading: o } = Ye(), { data: r, isLoading: i } = Je(), s = (E = t == null ? void 0 : t.find((L) => L.title === e)) == null ? void 0 : E.title, a = (F = r.find((L) => L.contextTitle === s)) == null ? void 0 : F.chatId, c = o || !!s, l = i || !!a, [d, C] = k(null), { isError: h } = ho(
745
- s,
746
- c && !l
747
- ), { history: f, isLoading: S, isError: w } = Ke(a);
748
- le(() => {
749
- h ? C(new Error(_e)) : w && C(new Error(co));
750
- }, [h, w]);
751
- const { mutate: m, isLoading: x } = go(a), y = N(() => {
752
- if (f != null && f.length) {
753
- const L = f[f.length - 1];
754
- if (ve(L))
755
- return JSON.parse(L.content);
745
+ return { mutate: a, isLoading: c };
746
+ }, Se = (e) => !!e && "type" in e && e.type === "nlq", u1 = (e) => {
747
+ var I, Q;
748
+ const { t } = y(), { data: o, isLoading: r } = tt(), { data: i, isLoading: s } = ot(), a = (I = o == null ? void 0 : o.find((B) => B.title === e)) == null ? void 0 : I.title, c = (Q = i.find((B) => B.contextTitle === a)) == null ? void 0 : Q.chatId, l = r || !!a, d = s || !!c, [g, C] = M(null), { isError: f } = l1(
749
+ a,
750
+ l && !d
751
+ ), { history: m, isLoading: D, isError: w } = et(c);
752
+ de(() => {
753
+ f ? C(new xe("ai.errors.chatUnavailable")) : w && C(new xe("ai.errors.fetchHistory"));
754
+ }, [f, w, t]);
755
+ const { mutate: v, isLoading: A } = d1(c), x = N(() => {
756
+ if (m != null && m.length) {
757
+ const B = m[m.length - 1];
758
+ if (Se(B))
759
+ return JSON.parse(B.content);
756
760
  }
757
761
  return null;
758
- }, [f]);
762
+ }, [m]);
759
763
  return {
760
- chatId: a,
761
- history: f != null ? f : [],
762
- lastNlqResponse: y,
763
- sendMessage: m,
764
- isAwaitingResponse: x,
765
- isLoading: S,
766
- lastError: d
764
+ chatId: c,
765
+ history: m != null ? m : [],
766
+ lastNlqResponse: x,
767
+ sendMessage: v,
768
+ isAwaitingResponse: A,
769
+ isLoading: D,
770
+ lastError: g
767
771
  };
768
- }, fr = ({
772
+ }, bn = ({
769
773
  contextTitle: e
770
774
  }) => {
771
775
  var i;
772
- const { data: t } = Je(), o = (i = t.find((s) => s.contextTitle === e)) == null ? void 0 : i.chatId, { history: r } = Ke(o);
776
+ const { data: t } = ot(), o = (i = t.find((s) => s.contextTitle === e)) == null ? void 0 : i.chatId, { history: r } = et(o);
773
777
  return N(() => {
774
778
  if (r != null && r.length) {
775
779
  const s = r[r.length - 1];
776
- if (ve(s))
780
+ if (Se(s))
777
781
  return JSON.parse(s.content);
778
782
  }
779
783
  return null;
780
784
  }, [r]);
781
- }, mr = (e) => {
782
- const t = P(), { data: o, isLoading: r } = U({
785
+ }, xn = (e) => {
786
+ const t = W(), { data: o, isLoading: r } = Y({
783
787
  queryKey: ["getDataSourceFields", e, t],
784
788
  queryFn: () => e ? t == null ? void 0 : t.ai.getDataSourceFields(e) : void 0,
785
789
  select: (i) => i,
@@ -789,7 +793,7 @@ const be = (e, t = !0) => {
789
793
  data: o,
790
794
  isLoading: r
791
795
  };
792
- }, fo = 500, mo = 500, bo = 500, xo = 900, yo = u.div`
796
+ }, h1 = 500, p1 = 500, g1 = 500, C1 = 900, f1 = u.div`
793
797
  box-sizing: border-box;
794
798
  position: relative;
795
799
  display: flex;
@@ -799,22 +803,22 @@ const be = (e, t = !0) => {
799
803
  background-color: ${({ theme: e }) => e.aiChat.backgroundColor};
800
804
  overflow: hidden;
801
805
 
802
- min-width: ${fo}px;
803
- min-height: ${mo}px;
804
- width: ${({ width: e }) => e ? Te(e) : `${bo}px`};
805
- height: ${({ height: e }) => e ? Te(e) : `${xo}px`};
806
+ min-width: ${h1}px;
807
+ min-height: ${p1}px;
808
+ width: ${({ width: e }) => e ? De(e) : `${g1}px`};
809
+ height: ${({ height: e }) => e ? De(e) : `${C1}px`};
806
810
 
807
- ${({ theme: e }) => $`
811
+ ${({ theme: e }) => R`
808
812
  font-size: ${e.aiChat.primaryFontSize[0]};
809
813
  line-height: ${e.aiChat.primaryFontSize[1]};
810
814
  `}
811
815
  border: ${({ theme: e }) => e.aiChat.border === !1 ? "none" : e.aiChat.border};
812
816
  `;
813
- function Te(e) {
817
+ function De(e) {
814
818
  return typeof e == "number" ? `${e}px` : e;
815
819
  }
816
- function vo({ spin: e }) {
817
- return /* @__PURE__ */ p(
820
+ function m1({ spin: e }) {
821
+ return /* @__PURE__ */ h(
818
822
  "svg",
819
823
  {
820
824
  xmlns: "http://www.w3.org/2000/svg",
@@ -847,10 +851,10 @@ function vo({ spin: e }) {
847
851
  }
848
852
  );
849
853
  }
850
- function ce() {
851
- return /* @__PURE__ */ n("div", { className: "csdk-m-auto", "aria-label": "loading spinner", children: /* @__PURE__ */ n(vo, { spin: !0 }) });
854
+ function he() {
855
+ return /* @__PURE__ */ n("div", { className: "csdk-m-auto", "aria-label": "loading spinner", children: /* @__PURE__ */ n(m1, { spin: !0 }) });
852
856
  }
853
- function wo({ theme: e }) {
857
+ function b1({ theme: e }) {
854
858
  return /* @__PURE__ */ n("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n(
855
859
  "path",
856
860
  {
@@ -859,9 +863,9 @@ function wo({ theme: e }) {
859
863
  }
860
864
  ) });
861
865
  }
862
- function ko({ theme: e }) {
866
+ function x1({ theme: e }) {
863
867
  const t = e.aiChat.icons.color;
864
- return /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg", width: "25", height: "25", viewBox: "0 0 25 25", fill: "none", children: [
868
+ return /* @__PURE__ */ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "25", height: "25", viewBox: "0 0 25 25", fill: "none", children: [
865
869
  /* @__PURE__ */ n(
866
870
  "path",
867
871
  {
@@ -885,11 +889,11 @@ function ko({ theme: e }) {
885
889
  )
886
890
  ] });
887
891
  }
888
- const So = u.div`
892
+ const y1 = u.div`
889
893
  display: flex;
890
894
  flex-direction: column;
891
895
  row-gap: 4px;
892
- `, Ro = u.div`
896
+ `, v1 = u.div`
893
897
  font-size: 11px;
894
898
  line-height: 18px;
895
899
  font-weight: 300;
@@ -899,7 +903,7 @@ const So = u.div`
899
903
  &:hover {
900
904
  background-color: ${({ theme: e }) => e.aiChat.dropup.headers.hover.backgroundColor};
901
905
  }
902
- `, $o = u.div`
906
+ `, w1 = u.div`
903
907
  font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
904
908
  line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
905
909
  color: ${({ theme: e }) => e.aiChat.dropup.items.textColor};
@@ -909,19 +913,19 @@ const So = u.div`
909
913
  background-color: ${({ theme: e }) => e.aiChat.dropup.items.hover.backgroundColor};
910
914
  }
911
915
  `;
912
- function Lo({
916
+ function k1({
913
917
  title: e,
914
918
  items: t,
915
919
  onSelect: o,
916
920
  alwaysExpanded: r = !1
917
921
  }) {
918
- const [i, s] = k(!1), { themeSettings: a } = b();
919
- return /* @__PURE__ */ p(So, { children: [
920
- /* @__PURE__ */ n(Ro, { onClick: () => s((c) => !c), theme: a, children: e.toUpperCase() }),
921
- (i || r) && t.map((c, l) => /* @__PURE__ */ n($o, { onClick: () => o(c), theme: a, children: c }, l))
922
+ const [i, s] = M(!1), { themeSettings: a } = b();
923
+ return /* @__PURE__ */ h(y1, { children: [
924
+ /* @__PURE__ */ n(v1, { onClick: () => s((c) => !c), theme: a, children: e.toUpperCase() }),
925
+ (i || r) && t.map((c, l) => /* @__PURE__ */ n(w1, { onClick: () => o(c), theme: a, children: c }, l))
922
926
  ] });
923
927
  }
924
- const Mo = u.div`
928
+ const S1 = u.div`
925
929
  font-family: ${({ theme: e }) => e.typography.fontFamily};
926
930
  font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
927
931
  line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
@@ -933,13 +937,13 @@ const Mo = u.div`
933
937
  display: flex;
934
938
  flex-direction: column;
935
939
  row-gap: 4px;
936
- `, To = u.div`
940
+ `, M1 = u.div`
937
941
  font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
938
942
  line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
939
943
  color: ${({ theme: e }) => e.aiChat.dropup.items.textColor};
940
944
  padding: 4px 12px;
941
- `, fe = (e) => e.startsWith("/");
942
- function Eo({
945
+ `, ye = (e) => e.startsWith("/");
946
+ function $1({
943
947
  recentPrompts: e,
944
948
  suggestions: t,
945
949
  isLoading: o,
@@ -960,12 +964,12 @@ function Eo({
960
964
  onSelect: r
961
965
  }
962
966
  ].filter(
963
- (h) => h.title.slice(0, s.length) === s
964
- ), { themeSettings: d } = b(), C = l.length === 1;
967
+ (f) => f.title.slice(0, s.length) === s
968
+ ), { themeSettings: d } = b(), { t: g } = y(), C = l.length === 1;
965
969
  return /* @__PURE__ */ n(
966
- Ie,
970
+ Ae,
967
971
  {
968
- open: fe(s) && l.length > 0,
972
+ open: ye(s) && l.length > 0,
969
973
  anchorEl: i,
970
974
  placement: "top-start",
971
975
  modifiers: [
@@ -977,18 +981,18 @@ function Eo({
977
981
  }
978
982
  ],
979
983
  sx: { zIndex: 3 },
980
- children: /* @__PURE__ */ p(Mo, { style: { width: i == null ? void 0 : i.offsetWidth }, theme: d, children: [
981
- o && /* @__PURE__ */ n(ce, {}),
982
- !o && !a && l.map((h) => /* @__PURE__ */ n(Lo, D(R({}, h), { alwaysExpanded: C }), h.title)),
983
- a && /* @__PURE__ */ n(To, { theme: d, children: "Recommendations aren't available right now. Try again in a few minutes." })
984
+ children: /* @__PURE__ */ h(S1, { style: { width: i == null ? void 0 : i.offsetWidth }, theme: d, children: [
985
+ o && /* @__PURE__ */ n(he, {}),
986
+ !o && !a && l.map((f) => /* @__PURE__ */ n(k1, L(S({}, f), { alwaysExpanded: C }), f.title)),
987
+ a && /* @__PURE__ */ n(M1, { theme: d, children: g("ai.errors.recommendationsNotAvailable") })
984
988
  ] })
985
989
  }
986
990
  );
987
991
  }
988
- function Y({ title: e, placement: t = "top", children: o }) {
992
+ function oe({ title: e, placement: t = "top", children: o }) {
989
993
  const { themeSettings: r } = b();
990
994
  return /* @__PURE__ */ n(
991
- Et,
995
+ Bt,
992
996
  {
993
997
  title: e,
994
998
  placement: t,
@@ -1018,19 +1022,19 @@ function Y({ title: e, placement: t = "top", children: o }) {
1018
1022
  }
1019
1023
  );
1020
1024
  }
1021
- const Ho = 500, Bo = u.div`
1025
+ const L1 = 500, R1 = u.div`
1022
1026
  display: flex;
1023
1027
  flex-direction: row;
1024
1028
  align-items: flex-end;
1025
1029
  justify-content: space-between;
1026
1030
 
1027
1031
  background-color: ${({ theme: e }) => e.aiChat.backgroundColor};
1028
- `, Do = u.button`
1032
+ `, T1 = u.button`
1029
1033
  height: 34px;
1030
1034
  background-color: inherit;
1031
1035
  cursor: pointer;
1032
1036
  border: none;
1033
- `, No = u.textarea`
1037
+ `, H1 = u.textarea`
1034
1038
  font-size: inherit;
1035
1039
  line-height: inherit;
1036
1040
  resize: none;
@@ -1058,22 +1062,22 @@ const Ho = 500, Bo = u.div`
1058
1062
  color: ${({ theme: e }) => e.aiChat.primaryTextColor};
1059
1063
 
1060
1064
  background-color: ${({ theme: e }) => e.aiChat.input.backgroundColor};
1061
- `, Fo = u.button`
1065
+ `, E1 = u.button`
1062
1066
  height: 34px;
1063
1067
  background-color: inherit;
1064
1068
  border-style: none;
1065
1069
 
1066
1070
  color: ${({ theme: e }) => e.aiChat.primaryTextColor};
1067
1071
 
1068
- ${({ disabled: e }) => e ? $`
1072
+ ${({ disabled: e }) => e ? R`
1069
1073
  opacity: 0.3;
1070
1074
  cursor: not-allowed;
1071
- ` : $`
1075
+ ` : R`
1072
1076
  opacity: 1;
1073
1077
  cursor: pointer;
1074
1078
  `}
1075
- `, Io = 34;
1076
- function Oo({
1079
+ `, B1 = 34;
1080
+ function D1({
1077
1081
  onSendMessage: e,
1078
1082
  onClearHistoryClick: t,
1079
1083
  disabled: o,
@@ -1083,95 +1087,95 @@ function Oo({
1083
1087
  recommendationsError: a,
1084
1088
  onChange: c
1085
1089
  }) {
1086
- const [l, d] = k(""), { inputPromptText: C } = W(), h = T(() => {
1090
+ const [l, d] = M(""), { inputPromptText: g } = O(), C = H(() => {
1087
1091
  if (o)
1088
1092
  return;
1089
- if (fe(l)) {
1093
+ if (ye(l)) {
1090
1094
  d("");
1091
1095
  return;
1092
1096
  }
1093
- const y = l.trim();
1094
- y.length !== 0 && (e(y), d(""));
1095
- }, [o, e, l]), f = T(
1096
- (y) => {
1097
- e(y), d("");
1097
+ const x = l.trim();
1098
+ x.length !== 0 && (e(x), d(""));
1099
+ }, [o, e, l]), f = H(
1100
+ (x) => {
1101
+ e(x), d("");
1098
1102
  },
1099
1103
  [e]
1100
- ), S = T(
1101
- (y) => {
1102
- y.key === "Enter" ? (y.preventDefault(), h()) : y.key === "Escape" && fe(l) && d("");
1104
+ ), m = H(
1105
+ (x) => {
1106
+ x.key === "Enter" ? (x.preventDefault(), C()) : x.key === "Escape" && ye(l) && d("");
1103
1107
  },
1104
- [h, l]
1105
- ), w = T(
1106
- (y) => {
1107
- c == null || c(y.target.value), d(y.target.value);
1108
+ [C, l]
1109
+ ), D = H(
1110
+ (x) => {
1111
+ c == null || c(x.target.value), d(x.target.value);
1108
1112
  },
1109
1113
  [c]
1110
- ), m = _(null);
1111
- ie(() => {
1112
- m.current && (m.current.style.height = "inherit", m.current.style.height = `${Math.max(
1113
- m.current.scrollHeight + 2,
1114
+ ), w = K(null);
1115
+ ae(() => {
1116
+ w.current && (w.current.style.height = "inherit", w.current.style.height = `${Math.max(
1117
+ w.current.scrollHeight + 2,
1114
1118
  // account for 1px top/bottom border
1115
- Io
1119
+ B1
1116
1120
  )}px`);
1117
- }, [l]), ie(() => {
1118
- m.current && m.current.focus({ preventScroll: !0 });
1121
+ }, [l]), ae(() => {
1122
+ w.current && w.current.focus({ preventScroll: !0 });
1119
1123
  }, []);
1120
- const { themeSettings: x } = b();
1121
- return /* @__PURE__ */ p(Bo, { theme: x, children: [
1124
+ const { themeSettings: v } = b(), { t: A } = y();
1125
+ return /* @__PURE__ */ h(R1, { theme: v, children: [
1122
1126
  /* @__PURE__ */ n(
1123
- Eo,
1127
+ $1,
1124
1128
  {
1125
1129
  recentPrompts: r,
1126
1130
  suggestions: i,
1127
1131
  isLoading: s,
1128
1132
  onSelection: f,
1129
- anchorEl: m.current,
1133
+ anchorEl: w.current,
1130
1134
  text: l,
1131
1135
  recommendationsError: a
1132
1136
  }
1133
1137
  ),
1134
- t && /* @__PURE__ */ n(Y, { title: "Clear chat", placement: "bottom-start", children: /* @__PURE__ */ n(Do, { "aria-label": "clear history", onClick: t, children: /* @__PURE__ */ n(ko, { theme: x }) }) }),
1138
+ t && /* @__PURE__ */ n(oe, { title: A("ai.buttons.clearChat"), placement: "bottom-start", children: /* @__PURE__ */ n(T1, { "aria-label": "clear history", onClick: t, children: /* @__PURE__ */ n(x1, { theme: v }) }) }),
1135
1139
  /* @__PURE__ */ n(
1136
- No,
1140
+ H1,
1137
1141
  {
1138
1142
  "aria-label": "chat input",
1139
- onBlur: (y) => {
1140
- var E;
1141
- (E = document.getElementById("csdk-chatbot-frame")) != null && E.contains(y.relatedTarget) && y.target.focus({ preventScroll: !0 });
1143
+ onBlur: (x) => {
1144
+ var I;
1145
+ (I = document.getElementById("csdk-chatbot-frame")) != null && I.contains(x.relatedTarget) && x.target.focus({ preventScroll: !0 });
1142
1146
  },
1143
- maxLength: Ho,
1144
- ref: m,
1147
+ maxLength: L1,
1148
+ ref: w,
1145
1149
  rows: 1,
1146
- onChange: w,
1150
+ onChange: D,
1147
1151
  spellCheck: "true",
1148
- placeholder: C,
1152
+ placeholder: g,
1149
1153
  value: l,
1150
- onKeyDown: S,
1151
- theme: x
1154
+ onKeyDown: m,
1155
+ theme: v
1152
1156
  }
1153
1157
  ),
1154
1158
  /* @__PURE__ */ n(
1155
- Fo,
1159
+ E1,
1156
1160
  {
1157
1161
  "aria-label": "send chat message",
1158
1162
  disabled: o || l.length === 0,
1159
- onClick: h,
1160
- theme: x,
1161
- children: /* @__PURE__ */ n("span", { "data-state": "closed", children: /* @__PURE__ */ n(wo, { theme: x }) })
1163
+ onClick: C,
1164
+ theme: v,
1165
+ children: /* @__PURE__ */ n("span", { "data-state": "closed", children: /* @__PURE__ */ n(b1, { theme: v }) })
1162
1166
  }
1163
1167
  )
1164
1168
  ] });
1165
1169
  }
1166
- const Po = u.div`
1170
+ const F1 = u.div`
1167
1171
  display: flex;
1168
1172
 
1169
- ${({ align: e }) => e === "right" ? $`
1173
+ ${({ align: e }) => e === "right" ? R`
1170
1174
  justify-content: flex-end;
1171
- ` : $`
1175
+ ` : R`
1172
1176
  justify-content: flex-start;
1173
1177
  `}
1174
- `, Xe = u.div`
1178
+ `, nt = u.div`
1175
1179
  font-size: inherit;
1176
1180
  line-height: inherit;
1177
1181
  padding-top: 8.5px;
@@ -1182,51 +1186,51 @@ const Po = u.div`
1182
1186
  overflow-wrap: break-word;
1183
1187
  box-sizing: border-box;
1184
1188
 
1185
- ${({ align: e }) => e === "right" ? $`
1189
+ ${({ align: e }) => e === "right" ? R`
1186
1190
  text-align: right;
1187
1191
  border-radius: 10px 10px 0px 10px;
1188
- ` : $`
1192
+ ` : R`
1189
1193
  text-align: left;
1190
1194
  border-radius: 10px 10px 10px 0px;
1191
1195
  `}
1192
1196
 
1193
- ${({ align: e }) => e !== "full" ? $`
1197
+ ${({ align: e }) => e !== "full" ? R`
1194
1198
  max-width: 85%;
1195
1199
  ` : ""}
1196
1200
 
1197
1201
  color: ${({ theme: e }) => e.aiChat.primaryTextColor};
1198
1202
  background-color: ${({ theme: e, align: t }) => t === "right" ? e.aiChat.userMessages.backgroundColor : e.aiChat.systemMessages.backgroundColor};
1199
- `, z = ({ align: e, children: t }) => {
1203
+ `, q = ({ align: e, children: t }) => {
1200
1204
  const { themeSettings: o } = b();
1201
- return /* @__PURE__ */ n(Po, { theme: o, align: e, children: /* @__PURE__ */ n(Xe, { theme: o, align: e, children: t }) });
1205
+ return /* @__PURE__ */ n(F1, { theme: o, align: e, children: /* @__PURE__ */ n(nt, { theme: o, align: e, children: t }) });
1202
1206
  };
1203
- function Wo() {
1204
- const { welcomeText: e } = W();
1205
- return e === !1 ? null : /* @__PURE__ */ n(z, { align: "left", children: e });
1207
+ function N1() {
1208
+ const { welcomeText: e } = O();
1209
+ return e === !1 ? null : /* @__PURE__ */ n(q, { align: "left", children: e });
1206
1210
  }
1207
- const Ao = u.div`
1211
+ const I1 = u.div`
1208
1212
  margin: auto;
1209
1213
  display: flex;
1210
1214
  flex-direction: column;
1211
1215
  align-items: center;
1212
1216
  row-gap: 21px;
1213
- `, qo = u.div`
1217
+ `, W1 = u.div`
1214
1218
  color: ${({ theme: e }) => e.aiChat.primaryTextColor};
1215
1219
  text-align: center;
1216
1220
  font-weight: 600;
1217
- `, zo = u.div`
1221
+ `, O1 = u.div`
1218
1222
  color: rgba(54, 163, 217, 1);
1219
1223
  cursor: pointer;
1220
1224
  `;
1221
- function et({ text: e, action: t }) {
1225
+ function rt({ text: e, action: t }) {
1222
1226
  const { themeSettings: o } = b();
1223
- return /* @__PURE__ */ p(Ao, { children: [
1224
- /* @__PURE__ */ n(qo, { theme: o, children: e }),
1225
- /* @__PURE__ */ n(Ht, {}),
1226
- t && /* @__PURE__ */ n(zo, { onClick: t.onClick, children: t.text })
1227
+ return /* @__PURE__ */ h(I1, { children: [
1228
+ /* @__PURE__ */ n(W1, { theme: o, children: e }),
1229
+ /* @__PURE__ */ n(Dt, {}),
1230
+ t && /* @__PURE__ */ n(O1, { onClick: t.onClick, children: t.text })
1227
1231
  ] });
1228
1232
  }
1229
- const re = u.div`
1233
+ const se = u.div`
1230
1234
  width: 5px;
1231
1235
  height: 5px;
1232
1236
  border-radius: 50%;
@@ -1255,31 +1259,31 @@ const re = u.div`
1255
1259
  }
1256
1260
  }
1257
1261
  `;
1258
- function tt() {
1262
+ function Me() {
1259
1263
  const { themeSettings: e } = b(), t = e.aiChat.icons.color;
1260
- return /* @__PURE__ */ p(
1264
+ return /* @__PURE__ */ h(
1261
1265
  "div",
1262
1266
  {
1263
1267
  className: "csdk-flex csdk-justify-between csdk-w-[28px] csdk-py-[14.5px]",
1264
1268
  "aria-label": "loading dots",
1265
1269
  children: [
1266
- /* @__PURE__ */ n(re, { color: t }),
1267
- /* @__PURE__ */ n(re, { color: t }),
1268
- /* @__PURE__ */ n(re, { color: t }),
1269
- /* @__PURE__ */ n(re, { color: t })
1270
+ /* @__PURE__ */ n(se, { color: t }),
1271
+ /* @__PURE__ */ n(se, { color: t }),
1272
+ /* @__PURE__ */ n(se, { color: t }),
1273
+ /* @__PURE__ */ n(se, { color: t })
1270
1274
  ]
1271
1275
  }
1272
1276
  );
1273
1277
  }
1274
- const Vo = u.div`
1278
+ const A1 = u.div`
1275
1279
  display: flex;
1276
1280
 
1277
- ${({ align: e }) => e === "right" ? $`
1281
+ ${({ align: e }) => e === "right" ? R`
1278
1282
  justify-content: flex-end;
1279
- ` : $`
1283
+ ` : R`
1280
1284
  justify-content: flex-start;
1281
1285
  `}
1282
- `, Qo = u.button`
1286
+ `, P1 = u.button`
1283
1287
  font-family: inherit;
1284
1288
  font-size: inherit;
1285
1289
  line-height: inherit;
@@ -1295,13 +1299,13 @@ const Vo = u.div`
1295
1299
  }
1296
1300
  border-radius: 20px;
1297
1301
 
1298
- ${({ align: e }) => e === "right" ? $`
1302
+ ${({ align: e }) => e === "right" ? R`
1299
1303
  text-align: right;
1300
- ` : $`
1304
+ ` : R`
1301
1305
  text-align: left;
1302
1306
  `}
1303
1307
 
1304
- ${({ align: e }) => e !== "full" ? $`
1308
+ ${({ align: e }) => e !== "full" ? R`
1305
1309
  max-width: 382px;
1306
1310
  ` : ""}
1307
1311
 
@@ -1309,7 +1313,7 @@ const Vo = u.div`
1309
1313
  const { borderGradient: t, borderRadius: o } = e.aiChat.suggestions;
1310
1314
  if (t) {
1311
1315
  const [r, i] = t;
1312
- return $`
1316
+ return R`
1313
1317
  border: none;
1314
1318
  position: relative;
1315
1319
  border-radius: ${o};
@@ -1332,7 +1336,7 @@ const Vo = u.div`
1332
1336
  return "";
1333
1337
  }}
1334
1338
  `;
1335
- function se({
1339
+ function le({
1336
1340
  children: e,
1337
1341
  align: t,
1338
1342
  onClick: o,
@@ -1341,8 +1345,8 @@ function se({
1341
1345
  accessibleName: s
1342
1346
  }) {
1343
1347
  const { themeSettings: a } = b();
1344
- return /* @__PURE__ */ n(Vo, { align: t, children: /* @__PURE__ */ n(
1345
- Qo,
1348
+ return /* @__PURE__ */ n(A1, { align: t, children: /* @__PURE__ */ n(
1349
+ P1,
1346
1350
  {
1347
1351
  "aria-label": s,
1348
1352
  theme: a,
@@ -1354,17 +1358,18 @@ function se({
1354
1358
  }
1355
1359
  ) });
1356
1360
  }
1357
- function Zo({ onCancel: e, onConfirm: t }) {
1358
- return /* @__PURE__ */ p(H, { children: [
1359
- /* @__PURE__ */ n(z, { align: "left", children: "Do you want to clear this chat?" }),
1360
- /* @__PURE__ */ p("div", { className: "csdk-flex csdk-gap-x-2", children: [
1361
- /* @__PURE__ */ n(se, { align: "right", onClick: t, accessibleName: "confirm clear chat", children: /* @__PURE__ */ n("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: "Yes" }) }),
1362
- /* @__PURE__ */ n(se, { align: "right", onClick: e, accessibleName: "cancel clear chat", children: /* @__PURE__ */ n("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: "No" }) })
1361
+ function z1({ onCancel: e, onConfirm: t }) {
1362
+ const { t: o } = y();
1363
+ return /* @__PURE__ */ h(E, { children: [
1364
+ /* @__PURE__ */ n(q, { align: "left", children: o("ai.clearHistoryPrompt") }),
1365
+ /* @__PURE__ */ h("div", { className: "csdk-flex csdk-gap-x-2", children: [
1366
+ /* @__PURE__ */ n(le, { align: "right", onClick: t, accessibleName: "confirm clear chat", children: /* @__PURE__ */ n("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: o("ai.buttons.yes") }) }),
1367
+ /* @__PURE__ */ n(le, { align: "right", onClick: e, accessibleName: "cancel clear chat", children: /* @__PURE__ */ n("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: o("ai.buttons.no") }) })
1363
1368
  ] })
1364
1369
  ] });
1365
1370
  }
1366
- function jo() {
1367
- return /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", children: [
1371
+ function q1() {
1372
+ return /* @__PURE__ */ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", children: [
1368
1373
  /* @__PURE__ */ n("rect", { x: "1", y: "1", width: "28", height: "28", rx: "14", stroke: "#9EA2AB" }),
1369
1374
  /* @__PURE__ */ n(
1370
1375
  "path",
@@ -1377,7 +1382,7 @@ function jo() {
1377
1382
  )
1378
1383
  ] });
1379
1384
  }
1380
- const ot = {
1385
+ const it = {
1381
1386
  row: {
1382
1387
  hover: "rgba(224, 224, 224, 0.3)"
1383
1388
  },
@@ -1462,18 +1467,18 @@ const ot = {
1462
1467
  errorBG: "rgba(231, 71, 39, 0.1)"
1463
1468
  }
1464
1469
  }
1465
- }, Go = {
1470
+ }, Z1 = {
1466
1471
  shouldForwardProp: (e) => !e.startsWith("$")
1467
- }, J = u(
1468
- Oe,
1469
- Go
1472
+ }, ne = u(
1473
+ Pe,
1474
+ Z1
1470
1475
  )(({ $hoverColor: e }) => ({
1471
1476
  padding: 2,
1472
1477
  "&.MuiIconButton-root:hover": {
1473
- backgroundColor: e != null ? e : ot.interaction.defaultHover
1478
+ backgroundColor: e != null ? e : it.interaction.defaultHover
1474
1479
  }
1475
1480
  }));
1476
- function _o({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
1481
+ function V1({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
1477
1482
  return /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n(
1478
1483
  "path",
1479
1484
  {
@@ -1484,7 +1489,7 @@ function _o({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
1484
1489
  }
1485
1490
  ) });
1486
1491
  }
1487
- function Uo({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
1492
+ function Q1({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
1488
1493
  return /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n(
1489
1494
  "path",
1490
1495
  {
@@ -1495,7 +1500,7 @@ function Uo({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
1495
1500
  }
1496
1501
  ) });
1497
1502
  }
1498
- function Ko() {
1503
+ function G1() {
1499
1504
  return /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n(
1500
1505
  "path",
1501
1506
  {
@@ -1507,7 +1512,7 @@ function Ko() {
1507
1512
  }
1508
1513
  ) });
1509
1514
  }
1510
- function Yo({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
1515
+ function j1({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
1511
1516
  return /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n(
1512
1517
  "path",
1513
1518
  {
@@ -1518,27 +1523,27 @@ function Yo({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
1518
1523
  }
1519
1524
  ) });
1520
1525
  }
1521
- const we = (e) => qe(e.chart.backgroundColor), Jo = ({ title: e }) => {
1526
+ const $e = (e) => Ve(e.chart.backgroundColor), U1 = ({ title: e }) => {
1522
1527
  const { themeSettings: t } = b();
1523
- return /* @__PURE__ */ n(Y, { title: e, children: /* @__PURE__ */ n(J, { disableTouchRipple: !0, $hoverColor: we(t), children: /* @__PURE__ */ n(Uo, { fill: t.chart.textColor }) }) });
1524
- }, Xo = ({ items: e }) => {
1525
- const [t, o] = k(null), r = (a) => {
1528
+ return /* @__PURE__ */ n(oe, { title: e, children: /* @__PURE__ */ n(ne, { disableTouchRipple: !0, $hoverColor: $e(t), children: /* @__PURE__ */ n(Q1, { fill: t.chart.textColor }) }) });
1529
+ }, _1 = ({ items: e }) => {
1530
+ const [t, o] = M(null), r = (a) => {
1526
1531
  o(a.currentTarget);
1527
1532
  }, i = () => {
1528
1533
  o(null);
1529
1534
  }, { themeSettings: s } = b();
1530
- return /* @__PURE__ */ p(H, { children: [
1535
+ return /* @__PURE__ */ h(E, { children: [
1531
1536
  /* @__PURE__ */ n(
1532
- J,
1537
+ ne,
1533
1538
  {
1534
1539
  onClick: r,
1535
- $hoverColor: we(s),
1540
+ $hoverColor: $e(s),
1536
1541
  "aria-label": "three dots button",
1537
- children: /* @__PURE__ */ n(Yo, { fill: s.chart.textColor })
1542
+ children: /* @__PURE__ */ n(j1, { fill: s.chart.textColor })
1538
1543
  }
1539
1544
  ),
1540
1545
  /* @__PURE__ */ n(
1541
- Bt,
1546
+ Ft,
1542
1547
  {
1543
1548
  anchorEl: t,
1544
1549
  anchorOrigin: {
@@ -1551,8 +1556,8 @@ const we = (e) => qe(e.chart.backgroundColor), Jo = ({ title: e }) => {
1551
1556
  },
1552
1557
  open: !!t,
1553
1558
  onClose: i,
1554
- children: e.map((a) => /* @__PURE__ */ p(
1555
- Dt,
1559
+ children: e.map((a) => /* @__PURE__ */ h(
1560
+ Nt,
1556
1561
  {
1557
1562
  onClick: () => {
1558
1563
  a.onClick(), i();
@@ -1560,7 +1565,7 @@ const we = (e) => qe(e.chart.backgroundColor), Jo = ({ title: e }) => {
1560
1565
  sx: {
1561
1566
  fontSize: "13px",
1562
1567
  fontFamily: s.typography.fontFamily,
1563
- color: ot.text.content
1568
+ color: it.text.content
1564
1569
  },
1565
1570
  disableRipple: !0,
1566
1571
  children: [
@@ -1573,15 +1578,15 @@ const we = (e) => qe(e.chart.backgroundColor), Jo = ({ title: e }) => {
1573
1578
  }
1574
1579
  )
1575
1580
  ] });
1576
- }, en = ({ onClick: e }) => {
1577
- const { themeSettings: t } = b();
1578
- return /* @__PURE__ */ n(Y, { title: "Preview", children: /* @__PURE__ */ n(J, { onClick: e, $hoverColor: we(t), children: /* @__PURE__ */ n(_o, { fill: t.chart.textColor }) }) });
1579
- }, tn = u.div`
1581
+ }, K1 = ({ onClick: e }) => {
1582
+ const { themeSettings: t } = b(), { t: o } = y();
1583
+ return /* @__PURE__ */ n(oe, { title: o("ai.preview"), children: /* @__PURE__ */ n(ne, { onClick: e, $hoverColor: $e(t), children: /* @__PURE__ */ n(V1, { fill: t.chart.textColor }) }) });
1584
+ }, Y1 = u.div`
1580
1585
  display: flex;
1581
1586
  padding-top: 6px;
1582
1587
  padding-bottom: 6px;
1583
1588
  `;
1584
- function on({
1589
+ function J1({
1585
1590
  infoTooltipText: e,
1586
1591
  onRefresh: t,
1587
1592
  onExpand: o
@@ -1591,70 +1596,62 @@ function on({
1591
1596
  {
1592
1597
  title: "Refresh",
1593
1598
  onClick: t,
1594
- icon: /* @__PURE__ */ n(Ko, {})
1599
+ icon: /* @__PURE__ */ n(G1, {})
1595
1600
  }
1596
1601
  ],
1597
1602
  [t]
1598
1603
  );
1599
- return /* @__PURE__ */ p(tn, { "aria-label": "chatbot chart toolbar", children: [
1600
- /* @__PURE__ */ n(Jo, { title: e != null ? e : "" }),
1601
- /* @__PURE__ */ n(Xo, { items: r }),
1602
- /* @__PURE__ */ n(en, { onClick: o })
1604
+ return /* @__PURE__ */ h(Y1, { "aria-label": "chatbot chart toolbar", children: [
1605
+ /* @__PURE__ */ n(U1, { title: e != null ? e : "" }),
1606
+ /* @__PURE__ */ n(_1, { items: r }),
1607
+ /* @__PURE__ */ n(K1, { onClick: o })
1603
1608
  ] });
1604
1609
  }
1605
- function nn({ content: e, dataSource: t }) {
1606
- const [o, r] = k(!1), { chartElement: i, expandedElement: s } = N(() => {
1607
- const { detailedDescription: a, jaql: c } = e, l = Qt(e), d = l.chartType.toLowerCase(), C = {
1610
+ function X1({ content: e }) {
1611
+ const [t, o] = M(!1), { inlineElement: r, expandedElement: i } = N(() => {
1612
+ const s = Ge(e, { useCustomizedStyleOptions: !0 });
1613
+ if (s === void 0 || !Qe(s))
1614
+ throw new xe("errors.otherWidgetTypesNotSupported");
1615
+ const { detailedDescription: a } = e, { styleOptions: c } = s, l = {
1608
1616
  cornerRadius: "Small",
1609
1617
  header: {
1610
- renderToolbar: (m) => /* @__PURE__ */ n(
1611
- on,
1618
+ renderToolbar: (C) => /* @__PURE__ */ n(
1619
+ J1,
1612
1620
  {
1613
1621
  infoTooltipText: a,
1614
- onRefresh: m,
1615
- onExpand: () => r(!0)
1622
+ onRefresh: C,
1623
+ onExpand: () => o(!0)
1616
1624
  }
1617
1625
  )
1618
1626
  }
1619
- }, h = c.metadata.filter((m) => m.panel === "scope").map(qt), f = c.metadata.filter((m) => m.panel !== "scope");
1620
- let S, w;
1621
- if (d === "table") {
1622
- const { dataOptions: m } = zt(f), x = {
1623
- dataOptions: m,
1624
- dataSource: t,
1625
- filters: h
1626
- };
1627
- S = /* @__PURE__ */ n("div", { className: "csdk-h-[245px]", children: /* @__PURE__ */ n(Le, D(R({}, x), { styleOptions: C })) }), w = /* @__PURE__ */ n(Le, D(R({}, x), { styleOptions: { header: { hidden: !0 } } }));
1628
- } else {
1629
- const { dataOptions: m, chartStyleOptions: x, expandedChartStyleOptions: y } = Vt(
1630
- f,
1631
- l
1632
- ), E = R(R({}, x), C), F = {
1633
- chartType: d,
1634
- dataOptions: m,
1635
- dataSource: t,
1636
- filters: h
1637
- };
1638
- S = /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(Me, D(R({}, F), { styleOptions: E })) });
1639
- const L = D(R({}, y), {
1627
+ };
1628
+ let d, g;
1629
+ if (Zt(s.chartType))
1630
+ d = /* @__PURE__ */ n("div", { className: "csdk-h-[245px]", children: /* @__PURE__ */ n(ee, L(S({}, s), { styleOptions: l })) }), g = /* @__PURE__ */ n(ee, L(S({}, s), { styleOptions: { header: { hidden: !0 } } }));
1631
+ else {
1632
+ const C = L(S({}, c), {
1640
1633
  header: { hidden: !0 }
1641
- });
1642
- w = /* @__PURE__ */ n(Me, D(R({}, F), { styleOptions: L }));
1634
+ }), f = S(L(S({}, c), {
1635
+ legend: void 0,
1636
+ xAxis: void 0,
1637
+ yAxis: void 0
1638
+ }), l);
1639
+ delete f.legend, delete f.xAxis, delete f.yAxis, d = /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(ee, L(S({}, s), { styleOptions: f })) }), g = /* @__PURE__ */ n(ee, L(S({}, s), { styleOptions: C }));
1643
1640
  }
1644
- return { chartElement: S, expandedElement: w };
1645
- }, [e, t]);
1646
- return /* @__PURE__ */ p(H, { children: [
1647
- i,
1648
- /* @__PURE__ */ p(Ve, { open: o, onClose: () => r(!1), maxWidth: "xl", fullWidth: !0, children: [
1649
- /* @__PURE__ */ p("div", { className: "csdk-flex csdk-items-center csdk-justify-between csdk-py-[30px] csdk-px-[40px]", children: [
1641
+ return { inlineElement: d, expandedElement: g };
1642
+ }, [e]);
1643
+ return /* @__PURE__ */ h(E, { children: [
1644
+ r,
1645
+ /* @__PURE__ */ h(Ue, { open: t, onClose: () => o(!1), maxWidth: "xl", fullWidth: !0, children: [
1646
+ /* @__PURE__ */ h("div", { className: "csdk-flex csdk-items-center csdk-justify-between csdk-py-[30px] csdk-px-[40px]", children: [
1650
1647
  /* @__PURE__ */ n("div", { className: "csdk-text-ai-lg csdk-semibold csdk-text-text-active", children: e.queryTitle }),
1651
- /* @__PURE__ */ n(Oe, { onClick: () => r(!1), "aria-label": "close expanded chart", children: /* @__PURE__ */ n(jo, {}) })
1648
+ /* @__PURE__ */ n(Pe, { onClick: () => o(!1), "aria-label": "close expanded chart", children: /* @__PURE__ */ n(q1, {}) })
1652
1649
  ] }),
1653
- /* @__PURE__ */ n("div", { className: "csdk-h-screen", children: s })
1650
+ /* @__PURE__ */ n("div", { className: "csdk-h-screen", children: i })
1654
1651
  ] })
1655
1652
  ] });
1656
1653
  }
1657
- function rn({ theme: e }) {
1654
+ function eo({ theme: e }) {
1658
1655
  return /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n(
1659
1656
  "path",
1660
1657
  {
@@ -1665,20 +1662,20 @@ function rn({ theme: e }) {
1665
1662
  }
1666
1663
  ) });
1667
1664
  }
1668
- function sn({ onClick: e, disabled: t }) {
1669
- const { themeSettings: o } = b();
1670
- return /* @__PURE__ */ n(Y, { title: "Incorrect response", children: /* @__PURE__ */ n(
1671
- J,
1665
+ function to({ onClick: e, disabled: t }) {
1666
+ const { themeSettings: o } = b(), { t: r } = y();
1667
+ return /* @__PURE__ */ n(oe, { title: r("ai.buttons.incorectResponse"), children: /* @__PURE__ */ n(
1668
+ ne,
1672
1669
  {
1673
1670
  "aria-label": "thumbs-down",
1674
1671
  onClick: e,
1675
1672
  $hoverColor: o.aiChat.icons.feedbackIcons.hoverColor,
1676
1673
  disabled: t,
1677
- children: /* @__PURE__ */ n(rn, { theme: o })
1674
+ children: /* @__PURE__ */ n(eo, { theme: o })
1678
1675
  }
1679
1676
  ) });
1680
1677
  }
1681
- function an({ theme: e }) {
1678
+ function oo({ theme: e }) {
1682
1679
  return /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n(
1683
1680
  "path",
1684
1681
  {
@@ -1689,94 +1686,94 @@ function an({ theme: e }) {
1689
1686
  }
1690
1687
  ) });
1691
1688
  }
1692
- function ln({ onClick: e, disabled: t }) {
1693
- const { themeSettings: o } = b();
1694
- return /* @__PURE__ */ n(Y, { title: "Correct response", children: /* @__PURE__ */ n(
1695
- J,
1689
+ function no({ onClick: e, disabled: t }) {
1690
+ const { themeSettings: o } = b(), { t: r } = y();
1691
+ return /* @__PURE__ */ n(oe, { title: r("ai.buttons.correctResponse"), children: /* @__PURE__ */ n(
1692
+ ne,
1696
1693
  {
1697
1694
  "aria-label": "thumbs-up",
1698
1695
  onClick: e,
1699
1696
  $hoverColor: o.aiChat.icons.feedbackIcons.hoverColor,
1700
1697
  disabled: t,
1701
- children: /* @__PURE__ */ n(an, { theme: o })
1698
+ children: /* @__PURE__ */ n(oo, { theme: o })
1702
1699
  }
1703
1700
  ) });
1704
1701
  }
1705
- const cn = () => {
1706
- const [e, t] = k(!1), o = _(null), r = T(() => {
1702
+ const ro = () => {
1703
+ const [e, t] = M(!1), o = K(null), r = H(() => {
1707
1704
  t(!0);
1708
- }, []), i = T(() => {
1705
+ }, []), i = H(() => {
1709
1706
  t(!1);
1710
1707
  }, []);
1711
- return [T(
1708
+ return [H(
1712
1709
  (a) => {
1713
1710
  var c;
1714
1711
  ((c = o.current) == null ? void 0 : c.nodeType) === Node.ELEMENT_NODE && (o.current.removeEventListener("mouseenter", r), o.current.removeEventListener("mouseleave", i)), (a == null ? void 0 : a.nodeType) === Node.ELEMENT_NODE && (a.addEventListener("mouseenter", r), a.addEventListener("mouseleave", i)), o.current = a;
1715
1712
  },
1716
1713
  [r, i]
1717
1714
  ), e];
1718
- }, dn = u.div`
1715
+ }, io = u.div`
1719
1716
  display: flex;
1720
1717
  flex-direction: column;
1721
1718
  row-gap: ${({ theme: e }) => e.aiChat.body.gapBetweenMessages};
1722
1719
  `;
1723
- function un({ visible: e, onSend: t }) {
1724
- const [o, r] = k(!1), i = T(
1720
+ function so({ visible: e, onSend: t }) {
1721
+ const [o, r] = M(!1), i = H(
1725
1722
  (a) => {
1726
1723
  r(!0), t(a === "up" ? 1 : -1);
1727
1724
  },
1728
1725
  [t]
1729
1726
  ), s = `csdk-transition-opacity csdk-delay-150 csdk-duration-500 ${o ? "csdk-opacity-0" : "csdk-opacity-100"}`;
1730
- return e ? /* @__PURE__ */ p("div", { className: `csdk-flex csdk-items-center ${s}`, children: [
1731
- /* @__PURE__ */ n(ln, { onClick: () => i("up"), disabled: o }),
1732
- /* @__PURE__ */ n(sn, { onClick: () => i("down"), disabled: o })
1727
+ return e ? /* @__PURE__ */ h("div", { className: `csdk-flex csdk-items-center ${s}`, children: [
1728
+ /* @__PURE__ */ n(no, { onClick: () => i("up"), disabled: o }),
1729
+ /* @__PURE__ */ n(to, { onClick: () => i("down"), disabled: o })
1733
1730
  ] }) : null;
1734
1731
  }
1735
- function Ee({
1732
+ function ve({
1736
1733
  sourceId: e,
1737
1734
  data: t,
1738
1735
  type: o,
1739
1736
  buttonVisibility: r = "onHover",
1740
1737
  renderContent: i
1741
1738
  }) {
1742
- const s = P(), a = Nt(
1743
- T(
1744
- (h) => {
1739
+ const s = W(), a = It(
1740
+ H(
1741
+ (C) => {
1745
1742
  s && s.ai.sendFeedback({
1746
1743
  sourceId: e,
1747
1744
  type: o,
1748
1745
  data: t,
1749
- rating: h
1746
+ rating: C
1750
1747
  });
1751
1748
  },
1752
1749
  [s, e, t, o]
1753
1750
  ),
1754
1751
  200
1755
- ), [c, l] = cn(), d = N(() => r === "onHover" ? l : r !== "never", [l, r]), { themeSettings: C } = b();
1756
- return /* @__PURE__ */ n(dn, { ref: c, theme: C, children: i(/* @__PURE__ */ n(un, { onSend: a, visible: d })) });
1752
+ ), [c, l] = ro(), d = N(() => r === "onHover" ? l : r !== "never", [l, r]), { themeSettings: g } = b();
1753
+ return /* @__PURE__ */ n(io, { ref: c, theme: g, children: i(/* @__PURE__ */ n(so, { onSend: a, visible: d })) });
1757
1754
  }
1758
- const hn = 18 * 5;
1759
- function nt({ text: e }) {
1760
- const [t, o] = k(!0), [r, i] = k(!1), s = _(null);
1761
- return ie(() => {
1762
- s.current && s.current.scrollHeight > hn && i(!0);
1763
- }, [e]), /* @__PURE__ */ p("div", { children: [
1764
- /* @__PURE__ */ n("div", { ref: s, className: `${t ? "csdk-line-clamp-5" : ""} csdk-whitespace-pre-wrap`, children: e }),
1755
+ const ao = 18 * 5;
1756
+ function Le({ text: e }) {
1757
+ const [t, o] = M(!0), [r, i] = M(!1), { t: s } = y(), a = K(null);
1758
+ return ae(() => {
1759
+ a.current && a.current.scrollHeight > ao && i(!0);
1760
+ }, [e]), /* @__PURE__ */ h("div", { children: [
1761
+ /* @__PURE__ */ n("div", { ref: a, className: `${t ? "csdk-line-clamp-5" : ""} csdk-whitespace-pre-wrap`, children: e }),
1765
1762
  r && /* @__PURE__ */ n("div", { className: "csdk-mt-3 csdk-flex csdk-justify-end", children: /* @__PURE__ */ n(
1766
1763
  "div",
1767
1764
  {
1768
1765
  className: "csdk-text-ai-xs csdk-text-text-link csdk-cursor-pointer",
1769
- onClick: () => o((a) => !a),
1770
- children: t ? "Read more" : "Collapse"
1766
+ onClick: () => o((c) => !c),
1767
+ children: s(t ? "ai.buttons.readMore" : "ai.buttons.collapse")
1771
1768
  }
1772
1769
  ) })
1773
1770
  ] });
1774
1771
  }
1775
- function pn({ nlgRequest: e }) {
1776
- const { data: t, isLoading: o, isError: r } = be(e);
1777
- return o ? /* @__PURE__ */ n(tt, {}) : r ? /* @__PURE__ */ n(z, { align: "left", children: xe }) : /* @__PURE__ */ n(z, { align: "full", children: /* @__PURE__ */ n(nt, { text: t != null ? t : "No insights available." }) });
1772
+ function lo({ nlgRequest: e }) {
1773
+ const { data: t, isLoading: o, isError: r } = ue(e), { t: i } = y();
1774
+ return o ? /* @__PURE__ */ n(Me, {}) : r ? /* @__PURE__ */ n(q, { align: "left", children: i("ai.errors.unexpected") }) : /* @__PURE__ */ n(q, { align: "full", children: /* @__PURE__ */ n(Le, { text: t != null ? t : i("ai.errors.insightsNotAvailable") }) });
1778
1775
  }
1779
- function gn() {
1776
+ function co() {
1780
1777
  const { themeSettings: e } = b();
1781
1778
  return /* @__PURE__ */ n("svg", { width: "24", height: "25", viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n(
1782
1779
  "path",
@@ -1788,84 +1785,98 @@ function gn() {
1788
1785
  }
1789
1786
  ) });
1790
1787
  }
1791
- function Cn({ onClick: e }) {
1792
- return /* @__PURE__ */ n(se, { align: "left", onClick: e, children: /* @__PURE__ */ p(
1788
+ function uo({ onClick: e }) {
1789
+ const { t } = y();
1790
+ return /* @__PURE__ */ n(le, { align: "left", onClick: e, children: /* @__PURE__ */ h(
1793
1791
  "div",
1794
1792
  {
1795
1793
  className: "csdk-py-[5px] csdk-px-2 csdk-flex csdk-items-center csdk-gap-x-1 csdk-select-none",
1796
1794
  children: [
1797
- /* @__PURE__ */ n(gn, {}),
1798
- "Insights"
1795
+ /* @__PURE__ */ n(co, {}),
1796
+ t("ai.buttons.insights")
1799
1797
  ]
1800
1798
  }
1801
1799
  ) });
1802
1800
  }
1803
- const He = u.div`
1801
+ const Fe = u.div`
1804
1802
  display: flex;
1805
1803
  align-items: center;
1806
1804
  column-gap: 10px;
1807
- `, fn = (e) => !!e && "aeiou".includes(e[0]);
1808
- function mn({ data: e, alwaysShowFeedback: t }) {
1809
- const { chatMode: o = "analyze", enableInsights: r } = W(), { themeSettings: i } = b(), { queryTitle: s, chartRecommendations: a, jaql: c } = e;
1805
+ `, ho = (e) => !!e && "aeiou".includes(e[0]);
1806
+ function po({ data: e, alwaysShowFeedback: t }) {
1807
+ const { chatMode: o = "analyze", enableInsights: r } = O(), { themeSettings: i } = b(), { queryTitle: s, chartRecommendations: a, jaql: c } = e;
1810
1808
  console.debug(`JAQL for ${s}`, c), console.debug(`chart recommendations for ${s}`, a);
1811
1809
  const l = "chartType" in a ? a.chartType : "table";
1812
1810
  let d;
1813
- fn(l) ? d = `an ${l}` : d = `a ${l}`, l !== "table" && (d += " chart");
1814
- const C = c.datasource.title, [h, f] = k(!1), S = T(() => {
1815
- f((x) => !x);
1816
- }, []), w = {
1811
+ ho(l) ? d = `an ${l}` : d = `a ${l}`, l !== "table" && (d += " chart");
1812
+ const g = c.datasource.title, [C, f] = M(!1), m = H(() => {
1813
+ f((v) => !v);
1814
+ }, []), D = {
1817
1815
  jaql: {
1818
1816
  datasource: c.datasource,
1819
1817
  metadata: c.metadata
1820
1818
  }
1821
- }, m = o === "analyze";
1822
- return /* @__PURE__ */ p(H, { children: [
1819
+ }, w = o === "analyze";
1820
+ return /* @__PURE__ */ h(E, { children: [
1823
1821
  /* @__PURE__ */ n(
1824
- Ee,
1822
+ ve,
1825
1823
  {
1826
- sourceId: C,
1824
+ sourceId: g,
1827
1825
  data: e,
1828
1826
  type: "chats/nlq",
1829
1827
  buttonVisibility: t ? "always" : "onHover",
1830
- renderContent: (x) => /* @__PURE__ */ p(H, { children: [
1831
- /* @__PURE__ */ p(He, { children: [
1832
- /* @__PURE__ */ n(Xe, { align: "left", theme: i, children: `Here's ${d} showing ${e.queryTitle.toLowerCase()}.` }),
1833
- x
1828
+ renderContent: (v) => /* @__PURE__ */ h(E, { children: [
1829
+ /* @__PURE__ */ h(Fe, { children: [
1830
+ /* @__PURE__ */ n(nt, { align: "left", theme: i, children: `Here's ${d} showing ${e.queryTitle.toLowerCase()}.` }),
1831
+ v
1834
1832
  ] }),
1835
- m && /* @__PURE__ */ n(nn, { content: e, dataSource: C })
1833
+ w && /* @__PURE__ */ n(X1, { content: e })
1836
1834
  ] })
1837
1835
  }
1838
1836
  ),
1839
1837
  r && /* @__PURE__ */ n(
1840
- Ee,
1838
+ ve,
1841
1839
  {
1842
- sourceId: C,
1843
- data: w,
1840
+ sourceId: g,
1841
+ data: D,
1844
1842
  type: "nlg/queryResult",
1845
- buttonVisibility: h ? "onHover" : "never",
1846
- renderContent: (x) => /* @__PURE__ */ p(H, { children: [
1847
- /* @__PURE__ */ p(He, { children: [
1848
- /* @__PURE__ */ n(Cn, { onClick: S }),
1849
- x
1843
+ buttonVisibility: C ? "onHover" : "never",
1844
+ renderContent: (v) => /* @__PURE__ */ h(E, { children: [
1845
+ /* @__PURE__ */ h(Fe, { children: [
1846
+ /* @__PURE__ */ n(uo, { onClick: m }),
1847
+ v
1850
1848
  ] }),
1851
- h && /* @__PURE__ */ n(pn, { nlgRequest: w })
1849
+ C && /* @__PURE__ */ n(lo, { nlgRequest: D })
1852
1850
  ] })
1853
1851
  }
1854
1852
  )
1855
1853
  ] });
1856
1854
  }
1857
- function bn({ message: e, isLastMessage: t }) {
1858
- if (ve(e)) {
1855
+ function go({ message: e, isLastMessage: t }) {
1856
+ if (Se(e)) {
1859
1857
  const o = JSON.parse(e.content);
1860
- return /* @__PURE__ */ n(mn, { data: o, alwaysShowFeedback: t });
1858
+ return /* @__PURE__ */ n(po, { data: o, alwaysShowFeedback: t });
1861
1859
  }
1862
- return /* @__PURE__ */ n(z, { align: e.role === "user" ? "right" : "left", children: e.content });
1860
+ return /* @__PURE__ */ n(q, { align: e.role === "user" ? "right" : "left", children: e.content });
1863
1861
  }
1864
- const xn = It(bn), yn = ({ error: e }) => (console.debug("Unexpected error occurred when resolving a chat message:", e), /* @__PURE__ */ n(z, { align: "left", children: xe }));
1865
- function vn({ messages: e }) {
1866
- return /* @__PURE__ */ n(H, { children: e.map((t, o) => /* @__PURE__ */ n(Ft, { fallbackRender: yn, children: /* @__PURE__ */ n(xn, { message: t, isLastMessage: o === e.length - 1 }, o) }, o)) });
1862
+ const Co = Ot(go), fo = ({
1863
+ error: e,
1864
+ displayMessage: t
1865
+ }) => (console.debug("Unexpected error occurred when resolving a chat message:", e), /* @__PURE__ */ n(q, { align: "left", children: t }));
1866
+ function mo({ messages: e }) {
1867
+ const { t } = y();
1868
+ return /* @__PURE__ */ n(E, { children: e.map((o, r) => /* @__PURE__ */ n(
1869
+ Wt,
1870
+ {
1871
+ fallbackRender: (i) => fo(L(S({}, i), {
1872
+ displayMessage: t("ai.errors.unexpected")
1873
+ })),
1874
+ children: /* @__PURE__ */ n(Co, { message: o, isLastMessage: r === e.length - 1 }, r)
1875
+ },
1876
+ r
1877
+ )) });
1867
1878
  }
1868
- function rt({ color: e }) {
1879
+ function st({ color: e }) {
1869
1880
  return /* @__PURE__ */ n(
1870
1881
  "svg",
1871
1882
  {
@@ -1884,18 +1895,18 @@ function rt({ color: e }) {
1884
1895
  }
1885
1896
  );
1886
1897
  }
1887
- function wn({ onClick: e, color: t }) {
1898
+ function bo({ onClick: e, color: t }) {
1888
1899
  return /* @__PURE__ */ n(
1889
1900
  "div",
1890
1901
  {
1891
1902
  "aria-label": "go back",
1892
1903
  className: "csdk-w-5 csdk-h-5 csdk-flex csdk-p-[4px] csdk-ml-[6px] csdk-cursor-pointer",
1893
1904
  onClick: e,
1894
- children: /* @__PURE__ */ n(rt, { color: t })
1905
+ children: /* @__PURE__ */ n(st, { color: t })
1895
1906
  }
1896
1907
  );
1897
1908
  }
1898
- const kn = u.button`
1909
+ const xo = u.button`
1899
1910
  font-size: inherit;
1900
1911
  line-height: inherit;
1901
1912
  box-sizing: border-box;
@@ -1922,7 +1933,7 @@ const kn = u.button`
1922
1933
  const { borderGradient: t, borderRadius: o } = e.aiChat.suggestions;
1923
1934
  if (t) {
1924
1935
  const [r, i] = t;
1925
- return $`
1936
+ return R`
1926
1937
  border: none;
1927
1938
  position: relative;
1928
1939
  border-radius: ${o};
@@ -1945,24 +1956,24 @@ const kn = u.button`
1945
1956
  return "";
1946
1957
  }}
1947
1958
  `;
1948
- function Be({ question: e, onClick: t }) {
1959
+ function Ne({ question: e, onClick: t }) {
1949
1960
  const { themeSettings: o } = b();
1950
- return /* @__PURE__ */ n(kn, { onClick: t, theme: o, children: e });
1961
+ return /* @__PURE__ */ n(xo, { onClick: t, theme: o, children: e });
1951
1962
  }
1952
- const Sn = u.div`
1963
+ const yo = u.div`
1953
1964
  display: flex;
1954
1965
  flex-direction: column;
1955
1966
  align-items: flex-start;
1956
1967
  row-gap: ${({ theme: e }) => e.aiChat.suggestions.gap};
1957
1968
  `;
1958
- function Rn({ questions: e, onSelection: t }) {
1959
- const [o, r] = k(!0), i = N(() => o && e.length > 5 ? e.slice(0, 4) : e, [e, o]), { themeSettings: s } = b();
1960
- return /* @__PURE__ */ p(Sn, { "aria-label": "list of suggested questions", theme: s, children: [
1961
- i.map((a) => /* @__PURE__ */ n(Be, { question: a, onClick: () => t(a) }, a)),
1962
- i.length < e.length && /* @__PURE__ */ n(Be, { question: "See more", onClick: () => r(!1) })
1969
+ function vo({ questions: e, onSelection: t }) {
1970
+ const { t: o } = y(), [r, i] = M(!0), s = N(() => r && e.length > 5 ? e.slice(0, 4) : e, [e, r]), { themeSettings: a } = b();
1971
+ return /* @__PURE__ */ h(yo, { "aria-label": "list of suggested questions", theme: a, children: [
1972
+ s.map((c) => /* @__PURE__ */ n(Ne, { question: c, onClick: () => t(c) }, c)),
1973
+ s.length < e.length && /* @__PURE__ */ n(Ne, { question: o("ai.buttons.seeMore"), onClick: () => i(!1) })
1963
1974
  ] });
1964
1975
  }
1965
- const $n = u.div`
1976
+ const wo = u.div`
1966
1977
  width: 283px;
1967
1978
  height: 32px;
1968
1979
  border-radius: 10px;
@@ -1986,23 +1997,23 @@ const $n = u.div`
1986
1997
  background-position: -200% 0;
1987
1998
  }
1988
1999
  }
1989
- `, Ln = u.div`
2000
+ `, ko = u.div`
1990
2001
  display: flex;
1991
2002
  flex-direction: column;
1992
2003
  row-gap: 1rem;
1993
2004
  `;
1994
- function Mn() {
2005
+ function So() {
1995
2006
  const { themeSettings: e } = b();
1996
- return /* @__PURE__ */ n(Ln, { children: Array.from({ length: 3 }, (t, o) => /* @__PURE__ */ n($n, { theme: e }, o)) });
2007
+ return /* @__PURE__ */ n(ko, { children: Array.from({ length: 3 }, (t, o) => /* @__PURE__ */ n(wo, { theme: e }, o)) });
1997
2008
  }
1998
- function Tn({ questions: e, isLoading: t, onSelection: o }) {
1999
- const r = e.length > 0, { suggestionsWelcomeText: i } = W();
2000
- return t ? /* @__PURE__ */ n(Mn, {}) : r ? /* @__PURE__ */ p(H, { children: [
2001
- i && /* @__PURE__ */ n(z, { align: "left", children: i }),
2002
- /* @__PURE__ */ n(Rn, { onSelection: o, questions: e })
2009
+ function Mo({ questions: e, isLoading: t, onSelection: o }) {
2010
+ const r = e.length > 0, { suggestionsWelcomeText: i } = O();
2011
+ return t ? /* @__PURE__ */ n(So, {}) : r ? /* @__PURE__ */ h(E, { children: [
2012
+ i && /* @__PURE__ */ n(q, { align: "left", children: i }),
2013
+ /* @__PURE__ */ n(vo, { onSelection: o, questions: e })
2003
2014
  ] }) : null;
2004
2015
  }
2005
- const En = u.div`
2016
+ const $o = u.div`
2006
2017
  flex: 0 0 80px;
2007
2018
  padding-left: 14px;
2008
2019
  padding-right: 14px;
@@ -2011,20 +2022,20 @@ const En = u.div`
2011
2022
  position: relative;
2012
2023
 
2013
2024
  background-color: ${({ style: e }) => e.backgroundColor};
2014
- `, Hn = u.div`
2025
+ `, Lo = u.div`
2015
2026
  font-size: 18px;
2016
2027
  line-height: 22px;
2017
2028
  font-weight: 600;
2018
2029
  margin-left: 20px;
2019
2030
 
2020
2031
  color: ${({ style: e }) => e.textColor};
2021
- `, it = Ot(function({ title: t, leftNav: o, rightNav: r, style: i }, s) {
2022
- return /* @__PURE__ */ p(En, { ref: s, style: i, children: [
2032
+ `, at = At(function({ title: t, leftNav: o, rightNav: r, style: i }, s) {
2033
+ return /* @__PURE__ */ h($o, { ref: s, style: i, children: [
2023
2034
  o,
2024
- /* @__PURE__ */ n(Hn, { style: i, children: t }),
2035
+ /* @__PURE__ */ n(Lo, { style: i, children: t }),
2025
2036
  r && /* @__PURE__ */ n("div", { className: "csdk-ml-auto", children: r })
2026
2037
  ] });
2027
- }), Bn = u.div`
2038
+ }), Ro = u.div`
2028
2039
  text-align: center;
2029
2040
  font-size: 11px;
2030
2041
  line-height: 18px;
@@ -2038,13 +2049,17 @@ const En = u.div`
2038
2049
 
2039
2050
  color: ${({ theme: e }) => e.aiChat.secondaryTextColor};
2040
2051
  `;
2041
- function Dn({ theme: e }) {
2042
- return /* @__PURE__ */ p(Bn, { theme: e, children: [
2043
- /* @__PURE__ */ n("div", { children: "Content is powered by AI, so surprises and mistakes are possible." }),
2044
- /* @__PURE__ */ n("div", { children: " Please rate responses so we can improve!" })
2052
+ function To({ theme: e }) {
2053
+ const { t } = y();
2054
+ return /* @__PURE__ */ h(Ro, { theme: e, children: [
2055
+ /* @__PURE__ */ n("div", { children: t("ai.disclaimer.poweredByAi") }),
2056
+ /* @__PURE__ */ h("div", { children: [
2057
+ " ",
2058
+ t("ai.disclaimer.rateRequest")
2059
+ ] })
2045
2060
  ] });
2046
2061
  }
2047
- const Nn = u.div`
2062
+ const Ho = u.div`
2048
2063
  font-size: inherit;
2049
2064
  line-height: inherit;
2050
2065
  padding-left: 16px;
@@ -2055,11 +2070,11 @@ const Nn = u.div`
2055
2070
 
2056
2071
  color: ${({ theme: e }) => e.aiChat.suggestions.textColor};
2057
2072
  background-color: ${({ theme: e }) => e.aiChat.suggestions.backgroundColor};
2058
- `, st = () => {
2059
- const { themeSettings: e } = b();
2060
- return /* @__PURE__ */ n(Nn, { theme: e, children: "Beta" });
2073
+ `, lt = () => {
2074
+ const { t: e } = y(), { themeSettings: t } = b();
2075
+ return /* @__PURE__ */ n(Ho, { theme: t, children: e("ai.betaLabel") });
2061
2076
  };
2062
- function Fn() {
2077
+ function Eo() {
2063
2078
  const { themeSettings: e } = b();
2064
2079
  return /* @__PURE__ */ n("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n(
2065
2080
  "path",
@@ -2071,10 +2086,10 @@ function Fn() {
2071
2086
  }
2072
2087
  ) });
2073
2088
  }
2074
- const In = (e, t) => {
2075
- const o = new Zt(e);
2089
+ const Bo = (e, t) => {
2090
+ const o = new Vt(e);
2076
2091
  return o.alpha = t, o;
2077
- }, On = u.div`
2092
+ }, Do = u.div`
2078
2093
  font-size: inherit;
2079
2094
  line-height: inherit;
2080
2095
  padding-left: 8px;
@@ -2082,7 +2097,7 @@ const In = (e, t) => {
2082
2097
  padding-top: 4px;
2083
2098
  border-radius: 16px;
2084
2099
  margin-bottom: 4px;
2085
- box-shadow: ${({ theme: e }) => `0 4px 8px 0 ${In(e.aiChat.primaryTextColor, 0.2)}`};
2100
+ box-shadow: ${({ theme: e }) => `0 4px 8px 0 ${Bo(e.aiChat.primaryTextColor, 0.2)}`};
2086
2101
  cursor: pointer;
2087
2102
  color: ${({ theme: e }) => e.aiChat.clickableMessages.textColor};
2088
2103
  background-color: ${({ theme: e }) => e.aiChat.clickableMessages.backgroundColor};
@@ -2091,10 +2106,10 @@ const In = (e, t) => {
2091
2106
  color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.textColor};
2092
2107
  background-color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.backgroundColor};
2093
2108
  box-shadow: none;
2094
- `, Pn = ({ onClick: e }) => {
2109
+ `, Fo = ({ onClick: e }) => {
2095
2110
  const { themeSettings: t } = b();
2096
- return /* @__PURE__ */ n(On, { theme: t, onClick: e, children: /* @__PURE__ */ n(Fn, {}) });
2097
- }, Wn = ({ isVisible: e, onClick: t, anchorElement: o }) => /* @__PURE__ */ n(Ie, { anchorEl: o, open: e, placement: "top", sx: { zIndex: 2 }, children: /* @__PURE__ */ n(Pn, { onClick: t }) }), An = u.div`
2111
+ return /* @__PURE__ */ n(Do, { theme: t, onClick: e, children: /* @__PURE__ */ n(Eo, {}) });
2112
+ }, No = ({ isVisible: e, onClick: t, anchorElement: o }) => /* @__PURE__ */ n(Ae, { anchorEl: o, open: e, placement: "top", sx: { zIndex: 2 }, children: /* @__PURE__ */ n(Fo, { onClick: t }) }), Io = u.div`
2098
2113
  display: flex;
2099
2114
  flex-direction: column;
2100
2115
  row-gap: ${({ theme: e }) => e.aiChat.body.gapBetweenMessages};
@@ -2105,7 +2120,7 @@ const In = (e, t) => {
2105
2120
  padding-bottom: ${({ theme: e }) => e.aiChat.body.paddingBottom};
2106
2121
  flex: initial;
2107
2122
  height: 100%;
2108
- `, qn = u.div`
2123
+ `, Wo = u.div`
2109
2124
  padding-left: ${({ theme: e }) => e.aiChat.footer.paddingLeft};
2110
2125
  padding-right: ${({ theme: e }) => e.aiChat.footer.paddingRight};
2111
2126
  padding-top: ${({ theme: e }) => e.aiChat.footer.paddingTop};
@@ -2113,130 +2128,130 @@ const In = (e, t) => {
2113
2128
  display: flex;
2114
2129
  flex-direction: column;
2115
2130
  row-gap: 6px;
2116
- `, zn = u.div`
2131
+ `, Oo = u.div`
2117
2132
  display: flex;
2118
2133
  flex-direction: column;
2119
2134
  row-gap: ${({ theme: e }) => e.aiChat.suggestions.gap};
2120
2135
  `;
2121
- function Vn({ contextTitle: e, onGoBack: t }) {
2122
- const {
2123
- data: o,
2124
- isLoading: r,
2125
- isError: i
2126
- } = Ge({
2136
+ function Ao({ contextTitle: e, onGoBack: t }) {
2137
+ const { t: o } = y(), {
2138
+ data: r,
2139
+ isLoading: i,
2140
+ isError: s
2141
+ } = Je({
2127
2142
  contextTitle: e
2128
- }), s = N(
2129
- () => o.map((v) => v.nlqPrompt),
2130
- [o]
2143
+ }), a = N(
2144
+ () => r.map((k) => k.nlqPrompt),
2145
+ [r]
2131
2146
  ), {
2132
- history: a,
2133
- lastNlqResponse: c,
2134
- isAwaitingResponse: l,
2135
- sendMessage: d,
2147
+ history: c,
2148
+ lastNlqResponse: l,
2149
+ isAwaitingResponse: d,
2150
+ sendMessage: g,
2136
2151
  isLoading: C,
2137
- chatId: h,
2138
- lastError: f
2139
- } = Co(e), { mutate: S, isLoading: w } = Ue(h), [m, x] = k(!1), [y, E] = k(!1), F = () => x(!0), L = () => x(!1), X = () => {
2140
- S(), L();
2141
- }, B = _(null), ee = _(null), te = () => {
2142
- if (!(B != null && B.current))
2152
+ chatId: f,
2153
+ lastError: m
2154
+ } = u1(e), { mutate: D, isLoading: w } = Xe(f), [v, A] = M(!1), [x, I] = M(!1), Q = () => A(!0), B = () => A(!1), pe = () => {
2155
+ D(), B();
2156
+ }, F = K(null), J = K(null), ge = () => {
2157
+ if (!(F != null && F.current))
2143
2158
  return;
2144
- const { scrollTop: v, clientHeight: O, scrollHeight: A } = B.current;
2145
- if (v === void 0 || O === void 0 || A === void 0)
2159
+ const { scrollTop: k, clientHeight: $, scrollHeight: Re } = F.current;
2160
+ if (k === void 0 || $ === void 0 || Re === void 0)
2146
2161
  return;
2147
- const ke = A - v - O > O / 2;
2148
- y !== ke && E(ke);
2162
+ const Te = Re - k - $ > $ / 2;
2163
+ x !== Te && I(Te);
2149
2164
  };
2150
- ie(() => {
2151
- B.current && (B.current.scrollTop = B.current.scrollHeight);
2152
- }, [a, m, l]);
2153
- const de = _(null), { enableFollowupQuestions: ue, enableHeader: V, numOfRecentPrompts: j } = W(), { themeSettings: I } = b(), oe = V ? /* @__PURE__ */ n(
2154
- it,
2165
+ ae(() => {
2166
+ F.current && (F.current.scrollTop = F.current.scrollHeight);
2167
+ }, [c, v, d]);
2168
+ const Ce = K(null), { enableFollowupQuestions: G, enableHeader: j, numOfRecentPrompts: U } = O(), { themeSettings: P } = b(), re = j ? /* @__PURE__ */ n(
2169
+ at,
2155
2170
  {
2156
- ref: de,
2171
+ ref: Ce,
2157
2172
  title: e,
2158
- leftNav: t && /* @__PURE__ */ n(wn, { onClick: t, color: I.aiChat.header.textColor }),
2159
- rightNav: /* @__PURE__ */ n(st, {}),
2160
- style: I.aiChat.header
2173
+ leftNav: t && /* @__PURE__ */ n(bo, { onClick: t, color: P.aiChat.header.textColor }),
2174
+ rightNav: /* @__PURE__ */ n(lt, {}),
2175
+ style: P.aiChat.header
2161
2176
  }
2162
- ) : null, he = N(
2177
+ ) : null, X = N(
2163
2178
  () => [
2164
2179
  ...new Set(
2165
- a.filter((v) => v.role === "user").filter((v) => !s.includes(v.content)).map((v) => v.content).reverse()
2180
+ c.filter((k) => k.role === "user").filter((k) => !a.includes(k.content)).map((k) => k.content).reverse()
2166
2181
  )
2167
- ].slice(0, j),
2168
- [a, j, s]
2182
+ ].slice(0, U),
2183
+ [c, U, a]
2169
2184
  );
2170
- return (f == null ? void 0 : f.message) === _e ? /* @__PURE__ */ p(H, { children: [
2171
- V && oe,
2172
- /* @__PURE__ */ n(et, { text: f.message })
2173
- ] }) : /* @__PURE__ */ p(H, { children: [
2174
- oe,
2175
- /* @__PURE__ */ p(An, { ref: B, theme: I, onScroll: te, children: [
2185
+ return (m == null ? void 0 : m.message) === o("ai.errors.chatUnavailable") ? /* @__PURE__ */ h(E, { children: [
2186
+ j && re,
2187
+ /* @__PURE__ */ n(rt, { text: m.message })
2188
+ ] }) : /* @__PURE__ */ h(E, { children: [
2189
+ re,
2190
+ /* @__PURE__ */ h(Io, { ref: F, theme: P, onScroll: ge, children: [
2176
2191
  /* @__PURE__ */ n(
2177
- Wn,
2192
+ No,
2178
2193
  {
2179
- isVisible: y,
2180
- anchorElement: ee.current,
2194
+ isVisible: x,
2195
+ anchorElement: J.current,
2181
2196
  onClick: () => {
2182
- var v, O;
2183
- (O = B.current) == null || O.scroll({
2184
- top: (v = B.current) == null ? void 0 : v.scrollHeight,
2197
+ var k, $;
2198
+ ($ = F.current) == null || $.scroll({
2199
+ top: (k = F.current) == null ? void 0 : k.scrollHeight,
2185
2200
  behavior: "smooth"
2186
2201
  });
2187
2202
  }
2188
2203
  }
2189
2204
  ),
2190
- /* @__PURE__ */ n(Wo, {}),
2205
+ /* @__PURE__ */ n(N1, {}),
2191
2206
  /* @__PURE__ */ n(
2192
- Tn,
2207
+ Mo,
2193
2208
  {
2194
- questions: s,
2195
- isLoading: r,
2196
- onSelection: d
2209
+ questions: a,
2210
+ isLoading: i,
2211
+ onSelection: g
2197
2212
  }
2198
2213
  ),
2199
- f && /* @__PURE__ */ n(z, { align: "left", children: f.message }),
2200
- C ? /* @__PURE__ */ n(ce, {}) : /* @__PURE__ */ n(vn, { messages: a }),
2201
- ue && c && /* @__PURE__ */ n(zn, { theme: I, children: c.followupQuestions.slice(0, 2).map((v, O) => /* @__PURE__ */ n(
2202
- se,
2214
+ m && /* @__PURE__ */ n(q, { align: "left", children: m.message }),
2215
+ C ? /* @__PURE__ */ n(he, {}) : /* @__PURE__ */ n(mo, { messages: c }),
2216
+ G && l && /* @__PURE__ */ n(Oo, { theme: P, children: l.followupQuestions.slice(0, 2).map((k, $) => /* @__PURE__ */ n(
2217
+ le,
2203
2218
  {
2204
2219
  align: "left",
2205
2220
  onClick: () => {
2206
- d(v);
2221
+ g(k);
2207
2222
  },
2208
- children: /* @__PURE__ */ n("div", { className: "csdk-py-[7px] csdk-px-4", children: v })
2223
+ children: /* @__PURE__ */ n("div", { className: "csdk-py-[7px] csdk-px-4", children: k })
2209
2224
  },
2210
- O
2225
+ $
2211
2226
  )) }),
2212
- (l || w) && /* @__PURE__ */ n(tt, {}),
2213
- m && /* @__PURE__ */ n(
2214
- Zo,
2227
+ (d || w) && /* @__PURE__ */ n(Me, {}),
2228
+ v && /* @__PURE__ */ n(
2229
+ z1,
2215
2230
  {
2216
- onCancel: L,
2217
- onConfirm: X
2231
+ onCancel: B,
2232
+ onConfirm: pe
2218
2233
  }
2219
2234
  )
2220
2235
  ] }),
2221
- /* @__PURE__ */ p(qn, { ref: ee, theme: I, children: [
2236
+ /* @__PURE__ */ h(Wo, { ref: J, theme: P, children: [
2222
2237
  /* @__PURE__ */ n(
2223
- Oo,
2238
+ D1,
2224
2239
  {
2225
- onSendMessage: d,
2226
- disabled: l || C,
2227
- onClearHistoryClick: F,
2228
- suggestions: s,
2229
- recentPrompts: he,
2230
- isLoading: r || C,
2231
- recommendationsError: i,
2232
- onChange: L
2240
+ onSendMessage: g,
2241
+ disabled: d || C,
2242
+ onClearHistoryClick: Q,
2243
+ suggestions: a,
2244
+ recentPrompts: X,
2245
+ isLoading: i || C,
2246
+ recommendationsError: s,
2247
+ onChange: B
2233
2248
  }
2234
2249
  ),
2235
- /* @__PURE__ */ n(Dn, { theme: I })
2250
+ /* @__PURE__ */ n(To, { theme: P })
2236
2251
  ] })
2237
2252
  ] });
2238
2253
  }
2239
- const Qn = u.button`
2254
+ const Po = u.button`
2240
2255
  font-family: ${({ theme: e }) => e.typography.fontFamily};
2241
2256
  padding: 30px;
2242
2257
  border: none;
@@ -2249,38 +2264,38 @@ const Qn = u.button`
2249
2264
  cursor: pointer;
2250
2265
 
2251
2266
  background-color: ${({ theme: e }) => e.aiChat.dataTopics.items.backgroundColor};
2252
- `, Zn = u.div`
2267
+ `, zo = u.div`
2253
2268
  font-size: 20px;
2254
2269
  line-height: 28px;
2255
2270
 
2256
2271
  color: ${({ theme: e }) => e.aiChat.dataTopics.items.textColor};
2257
- `, jn = u.div`
2272
+ `, qo = u.div`
2258
2273
  font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
2259
2274
  line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
2260
2275
 
2261
- color: ${({ theme: e }) => qe(e.aiChat.dataTopics.items.textColor, 0, 0.5)};
2262
- `, Gn = u.div`
2276
+ color: ${({ theme: e }) => Ve(e.aiChat.dataTopics.items.textColor, 0, 0.5)};
2277
+ `, Zo = u.div`
2263
2278
  width: 16px;
2264
2279
  height: 16px;
2265
2280
  transform: rotate(180deg);
2266
2281
  `;
2267
- function _n(e) {
2282
+ function Vo(e) {
2268
2283
  const { title: t, description: o, onClick: r } = e, { themeSettings: i } = b();
2269
- return /* @__PURE__ */ p(Qn, { onClick: r, theme: i, children: [
2270
- /* @__PURE__ */ p("div", { children: [
2271
- /* @__PURE__ */ n(Zn, { theme: i, children: t }),
2272
- /* @__PURE__ */ n(jn, { theme: i, children: o })
2284
+ return /* @__PURE__ */ h(Po, { onClick: r, theme: i, children: [
2285
+ /* @__PURE__ */ h("div", { children: [
2286
+ /* @__PURE__ */ n(zo, { theme: i, children: t }),
2287
+ /* @__PURE__ */ n(qo, { theme: i, children: o })
2273
2288
  ] }),
2274
- /* @__PURE__ */ n(Gn, { children: /* @__PURE__ */ n(rt, { color: i.aiChat.icons.color }) })
2289
+ /* @__PURE__ */ n(Zo, { children: /* @__PURE__ */ n(st, { color: i.aiChat.icons.color }) })
2275
2290
  ] });
2276
2291
  }
2277
- const Un = u.div`
2292
+ const Qo = u.div`
2278
2293
  padding: 20px;
2279
2294
  display: flex;
2280
2295
  flex-direction: column;
2281
2296
  gap: 20px;
2282
2297
  overflow: auto;
2283
- `, Kn = u.div`
2298
+ `, Go = u.div`
2284
2299
  font-size: 24px;
2285
2300
  line-height: 32px;
2286
2301
  font-weight: 600;
@@ -2288,47 +2303,47 @@ const Un = u.div`
2288
2303
  padding-bottom: 4px;
2289
2304
 
2290
2305
  color: ${({ theme: e }) => e.aiChat.primaryTextColor};
2291
- `, Yn = u.div`
2306
+ `, jo = u.div`
2292
2307
  font-size: 15px;
2293
2308
  line-height: 22px;
2294
2309
 
2295
2310
  color: ${({ theme: e }) => e.aiChat.primaryTextColor};
2296
2311
  `;
2297
- function Jn(e) {
2298
- const { dataTopics: t } = e, { themeSettings: o } = b();
2299
- return /* @__PURE__ */ p(Un, { children: [
2300
- /* @__PURE__ */ n(Kn, { theme: o, children: "Data Topics" }),
2301
- /* @__PURE__ */ p(Yn, { theme: o, children: [
2302
- "Analytics Chatbot is designed to help you interact with your data using natural language.",
2312
+ function Uo(e) {
2313
+ const { dataTopics: t } = e, { themeSettings: o } = b(), { t: r } = y();
2314
+ return /* @__PURE__ */ h(Qo, { children: [
2315
+ /* @__PURE__ */ n(Go, { theme: o, children: r("ai.dataTopics") }),
2316
+ /* @__PURE__ */ h(jo, { theme: o, children: [
2317
+ r("ai.chatbotDescription"),
2303
2318
  /* @__PURE__ */ n("br", {}),
2304
2319
  /* @__PURE__ */ n("br", {}),
2305
- "Pick a topic you would like to explore:"
2320
+ r("ai.topicSelectPrompt")
2306
2321
  ] }),
2307
- t.map((r) => /* @__PURE__ */ Pt(_n, D(R({}, r), { key: r.title })))
2322
+ t.map((i) => /* @__PURE__ */ Pt(Vo, L(S({}, i), { key: i.title })))
2308
2323
  ] });
2309
2324
  }
2310
- const Xn = "#FFCB05", er = "#000000", tr = "#FFFFFF";
2311
- function or({ colorSchema: e }) {
2312
- return /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "32", viewBox: "0 0 28 32", fill: "none", children: [
2325
+ const _o = "#FFCB05", Ko = "#000000", Yo = "#FFFFFF";
2326
+ function Jo({ colorSchema: e }) {
2327
+ return /* @__PURE__ */ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "32", viewBox: "0 0 28 32", fill: "none", children: [
2313
2328
  /* @__PURE__ */ n(
2314
2329
  "path",
2315
2330
  {
2316
2331
  d: "M15.6151 8.47656H15.5936V15.0679H15.6151C16.9896 15.0679 18.3078 15.6128 19.2797 16.5827C20.2517 17.5526 20.7977 18.8681 20.7977 20.2398C20.7977 21.6115 20.2517 22.927 19.2797 23.8969C18.3078 24.8668 16.9896 25.4117 15.6151 25.4117H15.5936V32.0006H15.6151C17.1627 32.0006 18.6952 31.6964 20.1251 31.1054C21.5549 30.5144 22.8541 29.6481 23.9484 28.556C25.0428 27.4639 25.9109 26.1674 26.5031 24.7405C27.0954 23.3136 27.4002 21.7843 27.4002 20.2398C27.4002 18.6953 27.0954 17.166 26.5031 15.7391C25.9109 14.3122 25.0428 13.0157 23.9484 11.9236C22.8541 10.8315 21.5549 9.96523 20.1251 9.37419C18.6952 8.78315 17.1627 8.47895 15.6151 8.47895V8.47656Z",
2317
- fill: e === "yellow-black" ? er : tr
2332
+ fill: e === "yellow-black" ? Ko : Yo
2318
2333
  }
2319
2334
  ),
2320
2335
  /* @__PURE__ */ n(
2321
2336
  "path",
2322
2337
  {
2323
2338
  d: "M12.7349 23.5217H12.7564V16.9375H12.7349C11.3603 16.9375 10.0421 16.3926 9.07021 15.4227C8.09828 14.4528 7.55226 13.1373 7.55226 11.7656C7.55226 10.3939 8.09828 9.07845 9.07021 8.10853C10.0421 7.13861 11.3603 6.59371 12.7349 6.59371H12.7564V0H12.7349C9.60924 4.64793e-08 6.61164 1.23909 4.4015 3.44467C2.19135 5.65026 0.949707 8.64168 0.949707 11.7608C0.949707 14.88 2.19135 17.8714 4.4015 20.077C6.61164 22.2826 9.60924 23.5217 12.7349 23.5217Z",
2324
- fill: Xn
2339
+ fill: _o
2325
2340
  }
2326
2341
  )
2327
2342
  ] });
2328
2343
  }
2329
- const nr = u.div`
2344
+ const Xo = u.div`
2330
2345
  margin-left: 14px;
2331
- `, rr = u.div`
2346
+ `, en = u.div`
2332
2347
  display: flex;
2333
2348
  flex-direction: column;
2334
2349
  justify-content: top;
@@ -2337,88 +2352,173 @@ const nr = u.div`
2337
2352
 
2338
2353
  background-color: ${({ theme: e }) => e.aiChat.dataTopics.backgroundColor};
2339
2354
  `;
2340
- function ir({ dataTopicsList: e, onDataTopicClick: t }) {
2341
- const { enableHeader: o } = W(), { themeSettings: r } = b(), i = N(() => e == null ? void 0 : e.map((a) => ({
2342
- title: a,
2343
- onClick: () => t(a)
2344
- })), [e, t]), s = jt(Gt(r.aiChat.header.backgroundColor)) > 0.5;
2345
- return /* @__PURE__ */ p(H, { children: [
2355
+ function tn({ dataTopicsList: e, onDataTopicClick: t }) {
2356
+ const { enableHeader: o } = O(), { themeSettings: r } = b(), { t: i } = y(), s = N(() => e == null ? void 0 : e.map((c) => ({
2357
+ title: c,
2358
+ onClick: () => t(c)
2359
+ })), [e, t]), a = Qt(Gt(r.aiChat.header.backgroundColor)) > 0.5;
2360
+ return /* @__PURE__ */ h(E, { children: [
2346
2361
  o ? /* @__PURE__ */ n(
2347
- it,
2362
+ at,
2348
2363
  {
2349
- title: "Analytics Chatbot",
2350
- leftNav: /* @__PURE__ */ n(nr, { children: /* @__PURE__ */ n(or, { colorSchema: s ? "yellow-white" : "yellow-black" }) }),
2351
- rightNav: /* @__PURE__ */ n(st, {}),
2364
+ title: i("ai.analyticsChatbot"),
2365
+ leftNav: /* @__PURE__ */ n(Xo, { children: /* @__PURE__ */ n(Jo, { colorSchema: a ? "yellow-white" : "yellow-black" }) }),
2366
+ rightNav: /* @__PURE__ */ n(lt, {}),
2352
2367
  style: r.aiChat.header
2353
2368
  }
2354
2369
  ) : null,
2355
- /* @__PURE__ */ p(rr, { theme: r, children: [
2356
- !i && /* @__PURE__ */ n(ce, {}),
2357
- i && /* @__PURE__ */ n(Jn, { dataTopics: i })
2370
+ /* @__PURE__ */ h(en, { theme: r, children: [
2371
+ !s && /* @__PURE__ */ n(he, {}),
2372
+ s && /* @__PURE__ */ n(Uo, { dataTopics: s })
2358
2373
  ] })
2359
2374
  ] });
2360
2375
  }
2361
- function sr() {
2362
- const [e, t] = k([]), [o, r] = k(), [i, s] = k(), { data: a, fetchStatus: c } = Ye(), { dataTopicsList: l } = W();
2363
- le(() => {
2376
+ function on() {
2377
+ const [e, t] = M([]), [o, r] = M(), [i, s] = M(), { data: a, fetchStatus: c } = tt(), { dataTopicsList: l } = O(), { t: d } = y();
2378
+ de(() => {
2364
2379
  if (a && c === "idle") {
2365
- let h = a;
2366
- l && l.length && (h = a == null ? void 0 : a.filter((f) => l == null ? void 0 : l.includes(f.title))), t(h.map((f) => f.title)), h.length ? h.length === 1 && (s(void 0), r(h[0].title)) : s("None of the provided data models or perspectives are available");
2380
+ let f = a;
2381
+ l && l.length && (f = a == null ? void 0 : a.filter((m) => l == null ? void 0 : l.includes(m.title))), t(f.map((m) => m.title)), f.length ? f.length === 1 && (s(void 0), r(f[0].title)) : s(d("ai.errors.noAvailableDataTopics"));
2367
2382
  }
2368
- }, [a, l, c]);
2369
- const d = K(), C = T(() => {
2370
- s(void 0), d.invalidateQueries(["getDataTopics"]);
2371
- }, [d]);
2372
- return i ? /* @__PURE__ */ n(et, { text: i, action: { text: "Refresh", onClick: C } }) : e.length === 1 && !o ? /* @__PURE__ */ n(ce, {}) : o ? /* @__PURE__ */ n(H, { children: /* @__PURE__ */ n(
2373
- Vn,
2383
+ }, [a, l, c, d]);
2384
+ const g = te(), C = H(() => {
2385
+ s(void 0), g.invalidateQueries(["getDataTopics"]);
2386
+ }, [g]);
2387
+ return i ? /* @__PURE__ */ n(
2388
+ rt,
2389
+ {
2390
+ text: i,
2391
+ action: { text: d("ai.buttons.refresh"), onClick: C }
2392
+ }
2393
+ ) : e.length === 1 && !o ? /* @__PURE__ */ n(he, {}) : o ? /* @__PURE__ */ n(
2394
+ Ao,
2374
2395
  {
2375
2396
  contextTitle: o,
2376
2397
  onGoBack: e.length === 1 ? void 0 : () => r(void 0)
2377
2398
  }
2378
- ) }) : /* @__PURE__ */ n(
2379
- ir,
2399
+ ) : /* @__PURE__ */ n(
2400
+ tn,
2380
2401
  {
2381
2402
  dataTopicsList: e,
2382
- onDataTopicClick: (h) => r(h)
2403
+ onDataTopicClick: (f) => r(f)
2383
2404
  }
2384
2405
  );
2385
2406
  }
2386
- const br = Pe({
2407
+ const yn = ze({
2387
2408
  componentName: "Chatbot"
2388
2409
  })((e) => {
2389
2410
  const { width: t, height: o, config: r } = e, { themeSettings: i } = b();
2390
- return /* @__PURE__ */ n(ao, { value: r != null ? r : {}, children: /* @__PURE__ */ n(
2391
- yo,
2411
+ return /* @__PURE__ */ n(s1, { value: r != null ? r : {}, children: /* @__PURE__ */ n(
2412
+ f1,
2392
2413
  {
2393
2414
  id: "csdk-chatbot-frame",
2394
2415
  width: t,
2395
2416
  height: o,
2396
2417
  theme: i,
2397
2418
  tabIndex: 0,
2398
- children: /* @__PURE__ */ n(sr, {})
2419
+ children: /* @__PURE__ */ n(on, {})
2399
2420
  }
2400
2421
  ) });
2401
- }), xr = Pe({
2422
+ }), vn = ze({
2402
2423
  componentName: "GetNlgQueryResult"
2403
2424
  })(function(t) {
2404
- const { data: o, isLoading: r, isError: i } = be(t);
2425
+ const { data: o, isLoading: r, isError: i } = ue(t), { t: s } = y();
2405
2426
  if (i)
2406
- return /* @__PURE__ */ n(H, { children: xe });
2407
- const s = o != null ? o : "Oops, no data came back for that.";
2408
- return /* @__PURE__ */ n(nt, { text: r ? "Loading..." : s });
2427
+ return /* @__PURE__ */ n(E, { children: s("ai.errors.unexpected") });
2428
+ const a = o != null ? o : "Oops, no data came back for that.";
2429
+ return /* @__PURE__ */ n(Le, { text: r ? "Loading..." : a });
2409
2430
  });
2431
+ function nn({ theme: e }) {
2432
+ const t = e.general.brandColor;
2433
+ return /* @__PURE__ */ h(
2434
+ "svg",
2435
+ {
2436
+ xmlns: "http://www.w3.org/2000/svg",
2437
+ width: "24",
2438
+ height: "24",
2439
+ viewBox: "-2 -3 24 24",
2440
+ fill: "none",
2441
+ children: [
2442
+ /* @__PURE__ */ n(
2443
+ "path",
2444
+ {
2445
+ "fill-rule": "evenodd",
2446
+ "clip-rule": "evenodd",
2447
+ d: "M12.0533 3.62671e-06C12.0557 -9.45649e-05 12.0577 0.00181346 12.0578 0.00422597C12.1926 3.98958 15.4422 7.18501 19.4491 7.23273C19.4494 7.23273 19.4496 7.23296 19.4496 7.23325C19.4496 7.23356 19.4494 7.23381 19.4491 7.23382C15.3869 7.2822 12.1029 10.5659 12.054 14.628C12.054 14.6283 12.0538 14.6285 12.0535 14.6285C12.0532 14.6285 12.0529 14.6283 12.0529 14.628C12.0047 10.6218 8.80995 7.37281 4.8253 7.23765C4.82287 7.23757 4.82095 7.23552 4.82105 7.2331C4.82114 7.23081 4.82301 7.22897 4.8253 7.2289C8.75488 7.0956 11.9163 3.93392 12.0491 0.004224C12.0492 0.00194873 12.051 9.62326e-05 12.0533 3.62671e-06Z",
2448
+ fill: t
2449
+ }
2450
+ ),
2451
+ /* @__PURE__ */ n(
2452
+ "path",
2453
+ {
2454
+ "fill-rule": "evenodd",
2455
+ "clip-rule": "evenodd",
2456
+ d: "M9.0973 12.7759C7.1172 12.7236 5.51984 11.1352 5.45331 9.1587C5.45326 9.1573 5.45209 9.1562 5.4507 9.15625C5.44938 9.1563 5.44832 9.15738 5.44828 9.15869C5.38204 11.1266 3.79825 12.7098 1.83009 12.7751C1.82969 12.7752 1.82936 12.7755 1.82935 12.7759C1.82933 12.7763 1.82967 12.7767 1.83009 12.7767C3.8264 12.8429 5.42727 14.4708 5.45019 16.4778C5.45019 16.4781 5.45045 16.4784 5.45077 16.4784C5.45111 16.4784 5.4514 16.4781 5.4514 16.4778C5.47442 14.4622 7.089 12.8289 9.0973 12.7759Z",
2457
+ fill: t
2458
+ }
2459
+ ),
2460
+ /* @__PURE__ */ n(
2461
+ "path",
2462
+ {
2463
+ "fill-rule": "evenodd",
2464
+ "clip-rule": "evenodd",
2465
+ d: "M2.8778 2.15728C2.87779 2.15701 2.8779 2.15674 2.8781 2.15655C2.87874 2.15591 2.87983 2.15638 2.87981 2.15728C2.87934 2.17566 2.87911 2.1941 2.87911 2.21259C2.87911 3.36434 3.78842 4.30371 4.92829 4.35195C3.78842 4.40019 2.87911 5.33955 2.87911 6.4913C2.87911 6.56284 2.88262 6.63356 2.88947 6.7033C2.89045 6.7133 2.8783 6.71912 2.87119 6.71202C2.86894 6.70976 2.86781 6.70662 2.86813 6.70344C2.87499 6.63366 2.8785 6.56289 2.8785 6.4913C2.8785 5.33956 1.96921 4.40021 0.829346 4.35195C1.96921 4.30369 2.8785 3.36433 2.8785 2.21259C2.8785 2.1941 2.87827 2.17566 2.8778 2.15728ZM5.16566 4.35485C5.16834 4.35503 5.16981 4.35179 5.16791 4.34989C5.16732 4.3493 5.1665 4.34899 5.16567 4.34905C5.14802 4.35023 5.13031 4.3512 5.11255 4.35195C5.13031 4.3527 5.14801 4.35367 5.16566 4.35485Z",
2466
+ fill: t
2467
+ }
2468
+ )
2469
+ ]
2470
+ }
2471
+ );
2472
+ }
2473
+ const rn = u.div`
2474
+ display: flex;
2475
+ flex-direction: row;
2476
+ align-items: center;
2477
+ gap: 10px;
2478
+ margin: 24px 0;
2479
+ `, sn = u.div`
2480
+ align-self: flex-start;
2481
+ `, an = ({ nlgRequest: e }) => {
2482
+ const { themeSettings: t } = b(), { t: o } = y(), { data: r, isLoading: i, isError: s } = ue(e);
2483
+ if (s)
2484
+ return /* @__PURE__ */ n(E, { children: o("ai.errors.unexpected") });
2485
+ if (i)
2486
+ return /* @__PURE__ */ n(Me, {});
2487
+ const a = r != null ? r : o("ai.errors.insightsNotAvailable");
2488
+ return /* @__PURE__ */ n(
2489
+ ve,
2490
+ {
2491
+ sourceId: e.jaql.datasource.title,
2492
+ data: e,
2493
+ type: "chart/insights",
2494
+ buttonVisibility: "always",
2495
+ renderContent: (c) => /* @__PURE__ */ h(rn, { theme: t, children: [
2496
+ /* @__PURE__ */ n(sn, { theme: t, children: /* @__PURE__ */ n(nn, { theme: t }) }),
2497
+ /* @__PURE__ */ n(Le, { text: a }),
2498
+ c
2499
+ ] })
2500
+ }
2501
+ );
2502
+ }, wn = ({ nlqResponse: e, filters: t = [] }) => {
2503
+ const o = Ge(e, {
2504
+ useCustomizedStyleOptions: !0
2505
+ });
2506
+ return !o || !Qe(o) ? /* @__PURE__ */ n(E, {}) : (o[(o == null ? void 0 : o.chartType) === "table" ? "filters" : "highlights"] = t, /* @__PURE__ */ n(
2507
+ ee,
2508
+ L(S({}, o), {
2509
+ topSlot: /* @__PURE__ */ n(an, { nlgRequest: e })
2510
+ })
2511
+ ));
2512
+ };
2410
2513
  export {
2411
- pr as AiContextProvider,
2412
- br as Chatbot,
2413
- xr as GetNlgQueryResult,
2414
- wr as JaqlElement,
2415
- kr as deriveChartFamily,
2416
- Vt as getChartOptions,
2417
- zt as getTableOptions,
2418
- Co as useChatSession,
2419
- mr as useGetDataSourceFields,
2420
- gr as useGetNlgQueryResult,
2421
- Cr as useGetQueryRecommendations,
2422
- fr as useLastNlqResponse
2514
+ Cn as AiContextProvider,
2515
+ yn as Chatbot,
2516
+ vn as GetNlgQueryResult,
2517
+ wn as NlqChartWidget,
2518
+ u1 as useChatSession,
2519
+ xn as useGetDataSourceFields,
2520
+ fn as useGetNlgQueryResult,
2521
+ mn as useGetQueryRecommendations,
2522
+ bn as useLastNlqResponse
2423
2523
  };
2424
2524
  (function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";.csdk-treemap-tooltip-wrapper{min-width:210px;color:#acacac;font-size:14px;line-height:16px;background:#fff;border-radius:10px;overflow:hidden;margin-right:-1px;padding-bottom:10px}.csdk-treemap-tooltip-level{display:flex;align-items:center;position:relative;padding:8px;font-size:14px;border-bottom:1px solid #ccc}.csdk-treemap-tooltip-level span{padding:0 2px}.csdk-treemap-tooltip-value{padding:10px 10px 0;font-size:12px;line-height:16px}.highcharts-sunburst-series.highcharts-legend-item{pointer-events:none!important}.csdk-boxplot-tooltip-row{display:flex;justify-content:space-between}.csdk-boxplot-tooltip-row>*{margin-right:10px}.csdk-boxplot-tooltip-row>*:last-child{margin-right:0}[class|=csdk],[class|=csdk]:before,[class|=csdk]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#d5d5d5;font-family:inherit}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.csdk-absolute{position:absolute}.csdk-relative{position:relative}.csdk-left-2{left:.5rem}.csdk-right-0{right:0}.csdk-right-\\[-15px\\]{right:-15px}.csdk-right-\\[-5px\\]{right:-5px}.csdk-right-\\[0px\\]{right:0}.csdk-right-\\[4px\\]{right:4px}.csdk-top-1\\/2{top:50%}.csdk-top-\\[3px\\]{top:3px}.csdk-top-\\[7px\\]{top:7px}.csdk-z-\\[401\\]{z-index:401}.csdk-m-3{margin:.75rem}.csdk-m-auto{margin:auto}.csdk-m-checkbox,.csdk-m-radio{margin:6px 10px 6px 6px}.csdk-mx-auto{margin-left:auto;margin-right:auto}.csdk-my-1{margin-top:.25rem;margin-bottom:.25rem}.csdk-my-2{margin-top:.5rem;margin-bottom:.5rem}.csdk-my-\\[2px\\]{margin-top:2px;margin-bottom:2px}.csdk-my-\\[5px\\]{margin-top:5px;margin-bottom:5px}.csdk-mb-1{margin-bottom:.25rem}.csdk-mb-\\[10px\\]{margin-bottom:10px}.csdk-mb-\\[3px\\]{margin-bottom:3px}.csdk-mb-\\[4px\\]{margin-bottom:4px}.csdk-mb-px{margin-bottom:1px}.csdk-ml-1{margin-left:.25rem}.csdk-ml-1\\.5{margin-left:.375rem}.csdk-ml-2{margin-left:.5rem}.csdk-ml-\\[10px\\]{margin-left:10px}.csdk-ml-\\[4px\\]{margin-left:4px}.csdk-ml-\\[5px\\]{margin-left:5px}.csdk-ml-\\[6px\\]{margin-left:6px}.csdk-ml-\\[7px\\]{margin-left:7px}.csdk-ml-auto{margin-left:auto}.csdk-mr-2{margin-right:.5rem}.csdk-mr-\\[5px\\]{margin-right:5px}.csdk-mr-\\[7px\\]{margin-right:7px}.csdk-mt-2{margin-top:.5rem}.csdk-mt-3{margin-top:.75rem}.csdk-mt-\\[-2px\\]{margin-top:-2px}.csdk-mt-\\[2px\\]{margin-top:2px}.csdk-mt-\\[6px\\]{margin-top:6px}.csdk-box-border{box-sizing:border-box}.csdk-line-clamp-5{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5}.csdk-flex{display:flex}.csdk-grid{display:grid}.csdk-h-5{height:1.25rem}.csdk-h-6{height:1.5rem}.csdk-h-\\[100\\%\\]{height:100%}.csdk-h-\\[10px\\]{height:10px}.csdk-h-\\[18px\\]{height:18px}.csdk-h-\\[20px\\]{height:20px}.csdk-h-\\[245px\\]{height:245px}.csdk-h-button{height:28px}.csdk-h-checkbox{height:12px}.csdk-h-full{height:100%}.csdk-h-radio{height:12px}.csdk-h-screen{height:100vh}.csdk-max-h-32{max-height:8rem}.csdk-max-h-\\[150px\\]{max-height:150px}.csdk-min-h-\\[20px\\]{min-height:20px}.csdk-min-h-\\[32px\\]{min-height:32px}.csdk-w-5{width:1.25rem}.csdk-w-\\[100\\%\\]{width:100%}.csdk-w-\\[10px\\]{width:10px}.csdk-w-\\[152px\\]{width:152px}.csdk-w-\\[18px\\]{width:18px}.csdk-w-\\[240px\\]{width:240px}.csdk-w-\\[28px\\]{width:28px}.csdk-w-\\[300px\\]{width:300px}.csdk-w-\\[60px\\]{width:60px}.csdk-w-checkbox{width:12px}.csdk-w-fit{width:-moz-fit-content;width:fit-content}.csdk-w-full{width:100%}.csdk-w-radio{width:12px}.csdk-min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.csdk-max-w-xs{max-width:20rem}.csdk-grow{flex-grow:1}.-csdk-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.csdk-translate-x-1\\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-csdk-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.csdk-rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.csdk-scale-x-\\[-1\\]{--tw-scale-x: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.csdk-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes csdk-spin{to{transform:rotate(360deg)}}.csdk-animate-spin{animation:csdk-spin 1s linear infinite}.csdk-cursor-pointer{cursor:pointer}.csdk-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.csdk-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.csdk-flex-row{flex-direction:row}.csdk-flex-col{flex-direction:column}.csdk-flex-wrap{flex-wrap:wrap}.csdk-items-center{align-items:center}.csdk-justify-end{justify-content:flex-end}.csdk-justify-center{justify-content:center}.csdk-justify-between{justify-content:space-between}.csdk-justify-evenly{justify-content:space-evenly}.csdk-gap-1{gap:.25rem}.csdk-gap-2{gap:.5rem}.csdk-gap-\\[5px\\]{gap:5px}.csdk-gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.csdk-gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.csdk-gap-y-0{row-gap:0px}.csdk-gap-y-0\\.5{row-gap:.125rem}.csdk-gap-y-4{row-gap:1rem}.csdk-self-center{align-self:center}.csdk-overflow-auto{overflow:auto}.csdk-overflow-hidden{overflow:hidden}.\\!csdk-overflow-visible{overflow:visible!important}.csdk-whitespace-nowrap{white-space:nowrap}.csdk-whitespace-pre-wrap{white-space:pre-wrap}.csdk-rounded{border-radius:.25rem}.csdk-rounded-\\[4px\\]{border-radius:4px}.csdk-rounded-full{border-radius:9999px}.csdk-rounded-md{border-radius:.375rem}.csdk-border{border-width:1px}.csdk-border-0{border-width:0px}.csdk-border-input{border-width:1px}.csdk-border-b{border-bottom-width:1px}.csdk-border-l{border-left-width:1px}.csdk-border-l-\\[70px\\]{border-left-width:70px}.csdk-border-r-\\[70px\\]{border-right-width:70px}.csdk-border-t{border-top-width:1px}.csdk-border-t-\\[13px\\]{border-top-width:13px}.csdk-border-solid{border-style:solid}.csdk-border-none{border-style:none}.csdk-border-UI-default{--tw-border-opacity: 1;border-color:rgb(110 115 125 / var(--tw-border-opacity))}.csdk-border-\\[\\#e4e4e4\\]{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity))}.csdk-border-transparent{border-color:transparent}.csdk-border-l-\\[transparent\\]{border-left-color:transparent}.csdk-border-r-\\[transparent\\]{border-right-color:transparent}.csdk-bg-\\[\\#f4f4f8\\]{--tw-bg-opacity: 1;background-color:rgb(244 244 248 / var(--tw-bg-opacity))}.csdk-bg-background-priority{background-color:#f4f4f8}.csdk-bg-primary-primary{background-color:#ffcb05}.csdk-bg-transparent{background-color:transparent}.csdk-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.csdk-p-1{padding:.25rem}.csdk-p-1\\.5{padding:.375rem}.csdk-p-3{padding:.75rem}.csdk-p-\\[10px\\]{padding:10px}.csdk-p-\\[12px\\]{padding:12px}.csdk-p-\\[20px\\]{padding:20px}.csdk-p-\\[4px\\]{padding:4px}.csdk-p-button{padding:4px 24px}.csdk-p-px{padding:1px}.csdk-px-1{padding-left:.25rem;padding-right:.25rem}.csdk-px-2{padding-left:.5rem;padding-right:.5rem}.csdk-px-4{padding-left:1rem;padding-right:1rem}.csdk-px-\\[12px\\]{padding-left:12px;padding-right:12px}.csdk-px-\\[20px\\]{padding-left:20px;padding-right:20px}.csdk-px-\\[40px\\]{padding-left:40px;padding-right:40px}.csdk-px-\\[8px\\]{padding-left:8px;padding-right:8px}.csdk-py-\\[14\\.5px\\]{padding-top:14.5px;padding-bottom:14.5px}.csdk-py-\\[30px\\]{padding-top:30px;padding-bottom:30px}.csdk-py-\\[5px\\]{padding-top:5px;padding-bottom:5px}.csdk-py-\\[6px\\]{padding-top:6px;padding-bottom:6px}.csdk-py-\\[7px\\]{padding-top:7px;padding-bottom:7px}.csdk-pb-\\[0px\\]{padding-bottom:0}.csdk-pl-1{padding-left:.25rem}.csdk-pl-2{padding-left:.5rem}.csdk-pl-2\\.5{padding-left:.625rem}.csdk-pl-3{padding-left:.75rem}.csdk-pr-10{padding-right:2.5rem}.csdk-pt-48{padding-top:12rem}.csdk-text-left{text-align:left}.csdk-text-center{text-align:center}.csdk-text-\\[13px\\]{font-size:13px}.csdk-text-ai-lg{font-size:18px;line-height:22px}.csdk-text-ai-sm{font-size:13px;line-height:18px}.csdk-text-ai-xs{font-size:11px;line-height:18px}.csdk-text-xs{font-size:.75rem;line-height:1rem}.csdk-font-normal{font-weight:400}.csdk-leading-4{line-height:1rem}.csdk-leading-\\[16px\\]{line-height:16px}.csdk-leading-\\[18px\\]{line-height:18px}.csdk-leading-\\[26px\\]{line-height:26px}.csdk-leading-none{line-height:1}.csdk-text-UI-default{--tw-text-opacity: 1;color:rgb(110 115 125 / var(--tw-text-opacity))}.csdk-text-semantic-error{color:#e74727}.csdk-text-text-active{color:#262e3d}.csdk-text-text-content{color:#262e3dcc}.csdk-text-text-link{color:#36a3d9}.csdk-text-text-linkButton{--tw-text-opacity: 1;color:rgb(30 175 243 / var(--tw-text-opacity))}.csdk-accent-UI-default{accent-color:#6e737d}.csdk-opacity-0{opacity:0}.csdk-opacity-100{opacity:1}.csdk-opacity-50{opacity:.5}.csdk-opacity-80{opacity:.8}.csdk-shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.csdk-shadow-gray-500{--tw-shadow-color: #6b7280;--tw-shadow: var(--tw-shadow-colored)}.csdk-outline-0{outline-width:0px}.csdk-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.csdk-transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.csdk-delay-150{transition-delay:.15s}.csdk-duration-500{transition-duration:.5s}.invalid\\:csdk-border-input:invalid{border-width:1px}.invalid\\:csdk-border-solid:invalid{border-style:solid}.invalid\\:csdk-border-semantic-error:invalid{border-color:#e74727}.hover\\:csdk-border-2:hover{border-width:2px}.hover\\:csdk-bg-interaction-primaryHovered:hover{background-color:#f2b900}.hover\\:csdk-bg-row-hover:hover{background-color:#e0e0e04d}.focus\\:csdk-border-input:focus{border-width:1px}.focus\\:csdk-border-solid:focus{border-style:solid}.focus\\:csdk-border-UI-default:focus{--tw-border-opacity: 1;border-color:rgb(110 115 125 / var(--tw-border-opacity))}.disabled\\:csdk-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:csdk-opacity-30:disabled{opacity:.3}._container_1wquj_1{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:0 20px;text-align:center;margin:15px}._container_1wquj_1 ._card_1wquj_11{position:relative;padding:10px;box-shadow:0 2px 4px #0000001a;border-radius:4px;z-index:1;width:100%}._container_1wquj_1 ._text_1wquj_19{font-size:13px;text-align:center;font-weight:700;word-wrap:break-word}.highcharts-series.highcharts-area-series.area-series--without-pointer-events .highcharts-area{pointer-events:none}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.csdk-map-container .leaflet-interactive{outline:none}.csdk-scattermap-tooltip-row{display:flex;justify-content:space-between}._alert_box_10ttx_1{position:absolute;display:flex;justify-content:center;z-index:1;margin-top:1%}._alert_box_10ttx_1 ._content_10ttx_8{background-color:#616161;padding:5px;border-radius:3px;text-align:center}._alert_box_10ttx_1 ._content_10ttx_8 ._alert_10ttx_1{color:#fff;margin:0 8px;line-height:1;font-size:12px}._wrapper_g0ngm_1{width:100%;height:100%;position:relative}._title_g0ngm_7{font-size:18px;color:#9ea2ab;letter-spacing:normal;text-align:center;position:absolute;width:100%;top:11%}._image_g0ngm_18{width:66.6%;height:100%;margin:0 auto;display:block}.fixedDataTableCellGroupLayout_cellGroup{backface-visibility:hidden;left:0;overflow:hidden;position:absolute;top:0;white-space:nowrap}.fixedDataTable_isRTL .fixedDataTableCellGroupLayout_cellGroup{right:0;left:auto}.fixedDataTableCellGroupLayout_cellGroup>.public_fixedDataTableCell_main{display:inline-block;vertical-align:top;white-space:normal}.fixedDataTableCellGroupLayout_cellGroupWrapper{position:absolute;top:0}.fixedDataTableCellLayout_main{border-right-style:solid;border-right-width:1px;border-width:0 1px 0 0;box-sizing:border-box;display:block;overflow:hidden;position:absolute;white-space:normal}.fixedDataTable_isRTL .fixedDataTableCellLayout_main{border-right-width:0;border-left-style:solid;border-left-width:1px}.fixedDataTableCellLayout_lastChild{border-width:0 1px 1px 0}.fixedDataTableCellLayout_alignRight{text-align:right}.fixedDataTableCellLayout_alignCenter{text-align:center}.fixedDataTableCellLayout_wrap{display:table-cell;vertical-align:middle;box-sizing:border-box}.fixedDataTableCellLayout_wrap1{display:table}.fixedDataTableCellLayout_wrap2{display:table-row}.fixedDataTableCellLayout_wrap3{display:table-cell;vertical-align:middle}.fixedDataTableCellLayout_columnResizerContainer{position:absolute;right:0;width:6px;z-index:1}.fixedDataTable_isRTL .fixedDataTableCellLayout_columnResizerContainer{left:0;right:auto}.fixedDataTableCellLayout_columnResizerContainer:hover{cursor:ew-resize}.fixedDataTableCellLayout_columnResizerContainer:hover .fixedDataTableCellLayout_columnResizerKnob{visibility:visible}.fixedDataTableCellLayout_columnResizerKnob{position:absolute;right:0;visibility:hidden;width:4px}.fixedDataTable_isRTL .fixedDataTableCellLayout_columnResizerKnob{left:0;right:auto}.fixedDataTableColumnResizerLineLayout_mouseArea{cursor:ew-resize;position:absolute;right:-5px;width:12px}.fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_mouseArea{right:auto;left:-5px}.fixedDataTableColumnResizerLineLayout_main{border-right-style:solid;border-right-width:1px;box-sizing:border-box;position:absolute;z-index:10;pointer-events:none}.fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_main{border-right-width:0;border-left-style:solid;border-left-width:1px}.fixedDataTableColumnResizerLineLayout_hiddenElem{display:none!important}.fixedDataTableLayout_main{border-style:solid;border-width:1px;box-sizing:border-box;overflow:hidden;position:relative}.fixedDataTableLayout_header,.fixedDataTableLayout_hasBottomBorder{border-bottom-style:solid;border-bottom-width:1px}.fixedDataTableLayout_footer .public_fixedDataTableCell_main{border-top-style:solid;border-top-width:1px}.fixedDataTableLayout_topShadow,.fixedDataTableLayout_bottomShadow{height:4px;left:0;position:absolute;right:0;z-index:1}.fixedDataTableLayout_bottomShadow{margin-top:-4px}.fixedDataTableLayout_rowsContainer{overflow:hidden;position:relative}.fixedDataTableRowLayout_main{box-sizing:border-box;overflow:hidden;position:absolute;top:0}.fixedDataTableRowLayout_body{left:0;right:0;position:absolute;top:0}.fixedDataTableRowLayout_rowExpanded{box-sizing:border-box;left:0;position:absolute}.fixedDataTableRowLayout_fixedColumnsDivider{backface-visibility:hidden;border-left-style:solid;border-left-width:1px;left:0;position:absolute;top:0;width:0}.fixedDataTable_isRTL .fixedDataTableRowLayout_fixedColumnsDivider{border-left-width:0;border-right-style:solid;border-right-width:1px}.fixedDataTableRowLayout_columnsShadow{position:absolute;width:4px}.fixedDataTableRowLayout_columnsRightShadow{right:1px}.fixedDataTable_isRTL .fixedDataTableRowLayout_columnsRightShadow{left:1px;right:auto}.fixedDataTableRowLayout_rowWrapper{position:absolute;top:0}.ScrollbarLayout_main{box-sizing:border-box;outline:none;overflow:hidden;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ScrollbarLayout_mainVertical{bottom:0;right:0;top:0;width:15px}.ScrollbarLayout_mainHorizontal{height:15px;left:0;transition-property:background-color height}.ScrollbarLayout_mainHorizontal.public_Scrollbar_mainActive,.ScrollbarLayout_mainHorizontal:hover{height:17px}.ScrollbarLayout_face{left:0;overflow:hidden;position:absolute;z-index:1;transition-duration:.25s;transition-timing-function:ease;transition-property:width}.ScrollbarLayout_face:after{border-radius:6px;content:"";display:block;position:absolute;transition:background-color .25s ease}.ScrollbarLayout_faceHorizontal{bottom:0;left:0;top:0}.ScrollbarLayout_faceHorizontal:after{bottom:4px;left:0;top:4px;width:100%}.fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal,.fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal:after{right:0;left:auto}.ScrollbarLayout_faceHorizontal.public_Scrollbar_faceActive:after,.ScrollbarLayout_main:hover .ScrollbarLayout_faceHorizontal:after{bottom:2px}.ScrollbarLayout_faceVertical{left:0;right:0;top:0}.ScrollbarLayout_faceVertical:after{height:100%;left:4px;right:4px;top:0}.ScrollbarLayout_main:hover .ScrollbarLayout_faceVertical:after,.ScrollbarLayout_faceVertical.public_Scrollbar_faceActive:after{left:2px;right:2px}.public_fixedDataTable_main,.public_fixedDataTable_header,.public_fixedDataTable_hasBottomBorder{border-color:#d3d3d3}.public_fixedDataTable_header .public_fixedDataTableCell_main{font-weight:700}.public_fixedDataTable_header,.public_fixedDataTable_scrollbarSpacer,.public_fixedDataTable_header .public_fixedDataTableCell_main{background-color:#f6f7f8;background-image:linear-gradient(#fff,#efefef)}.public_fixedDataTable_scrollbarSpacer{position:absolute;z-index:99;top:0}.public_fixedDataTable_footer .public_fixedDataTableCell_main{background-color:#f6f7f8;border-color:#d3d3d3}.public_fixedDataTable_topShadow{background-image:linear-gradient(180deg,#0000001a,#0000)}.public_fixedDataTable_bottomShadow{background-image:linear-gradient(0deg,#0000001a,#0000)}.public_fixedDataTable_horizontalScrollbar .public_Scrollbar_mainHorizontal{background-color:#fff}.public_fixedDataTableCell_main{background-color:#fff;border-color:#d3d3d3}.public_fixedDataTableCell_highlighted{background-color:#f4f4f4}.public_fixedDataTableCell_cellContent{padding:8px}.public_fixedDataTableCell_columnResizerKnob{background-color:#0284ff}.public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap1 .public_fixedDataTableCell_cellContent{margin-left:12px}.public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap.public_fixedDataTableCell_cellContent{padding-left:20px}.fixedDataTable_isRTL .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap1 .public_fixedDataTableCell_cellContent{margin-left:auto;margin-right:12px}.fixedDataTable_isRTL .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap.public_fixedDataTableCell_cellContent{padding-right:20px}.fixedDataTableCellLayout_columnReorderContainer{border-color:#0284ff;background-color:#0000001a;width:12px;margin-right:-12px;float:left;cursor:move}.fixedDataTable_isRTL .fixedDataTableCellLayout_columnReorderContainer{margin-right:auto;margin-left:-12px;float:right}.fixedDataTableCellLayout_columnReorderContainer:after{content:"::";position:absolute;top:50%;left:1px;transform:translateY(-50%)}.fixedDataTable_isRTL .fixedDataTableCellLayout_columnReorderContainer:after{left:auto;right:1px}.public_fixedDataTableColumnResizerLine_main{border-color:#0284ff}.public_fixedDataTableRow_main{background-color:#fff}.public_fixedDataTableRow_highlighted,.public_fixedDataTableRow_highlighted .public_fixedDataTableCell_main{background-color:#f6f7f8}.public_fixedDataTableRow_fixedColumnsDivider{border-color:#d3d3d3}.public_fixedDataTableRow_columnsShadow{background-image:linear-gradient(90deg,#0000001a,#0000)}.fixedDataTable_isRTL .public_fixedDataTableRow_columnsShadow{background-image:linear-gradient(270deg,#0000001a,#0000)}.public_fixedDataTableRow_columnsRightShadow{transform:rotate(180deg)}.public_Scrollbar_main.public_Scrollbar_mainActive,.public_Scrollbar_main{background-color:#fff;border-left:1px solid #d3d3d3}.fixedDataTable_isRTL .public_Scrollbar_main.public_Scrollbar_mainActive,.fixedDataTable_isRTL .public_Scrollbar_main{border-right:1px solid #d3d3d3;border-left-width:0}.public_Scrollbar_mainOpaque,.public_Scrollbar_mainOpaque.public_Scrollbar_mainActive,.public_Scrollbar_mainOpaque:hover{background-color:#fff}.public_Scrollbar_face:after{background-color:#c2c2c2}.public_Scrollbar_main:hover .public_Scrollbar_face:after,.public_Scrollbar_mainActive .public_Scrollbar_face:after,.public_Scrollbar_faceActive:after{background-color:#7d7d7d}._tableWrapper_1ode4_16 .public_fixedDataTable_header,._tableWrapper_1ode4_16 .public_fixedDataTable_scrollbarSpacer,._tableWrapper_1ode4_16 .public_fixedDataTable_header .public_fixedDataTableCell_main{background-color:transparent;background-image:none;border-bottom:1px solid #edeef1}._tableWrapper_1ode4_16 .public_fixedDataTable_scrollbarSpacer{margin-left:3px}._tableWrapper_1ode4_16 .public_fixedDataTable_main,._tableWrapper_1ode4_16 .fixedDataTableLayout_main{border:none}._tableWrapper_1ode4_16 .public_fixedDataTableRow_highlighted,._tableWrapper_1ode4_16 .public_fixedDataTableRow_highlighted .public_fixedDataTableCell_main,._tableWrapper_1ode4_16 .public_fixedDataTableRow_main{background-color:transparent}._tableWrapper_1ode4_16 .public_fixedDataTableCell_main{background-color:transparent;border-color:#edeef1}._tableWrapper_1ode4_16 .public_fixedDataTable_header,._tableWrapper_1ode4_16 .public_fixedDataTable_hasBottomBorder,._tableWrapper_1ode4_16 .public_fixedDataTable_scrollbarSpacer{border-bottom:none}._tableWrapper_1ode4_16 .public_fixedDataTable_header .fixedDataTableCellGroupLayout_cellGroup{border-top:1px solid #edeef1;border-bottom:1px solid #edeef1;box-sizing:border-box}._tableWrapper_1ode4_16 .public_Scrollbar_main{border-left:none;background-color:transparent}._tableWrapper_1ode4_16 .fixedDataTableRowLayout_rowWrapper{border-left:1px solid #edeef1}._tableWrapper_1ode4_16 .public_Scrollbar_main.public_Scrollbar_mainOpaque{left:-1px}._tableWrapper_1ode4_16 .public_fixedDataTableCell_cellContent{padding:0 24px 0 12px}._tableWrapper_1ode4_16{height:100%;width:100%;box-sizing:border-box;-webkit-user-select:text;-moz-user-select:text;user-select:text}._table_1ode4_16{background:transparent;font-size:13px;border:none}._tableHeader_1ode4_78{color:#5c6372;background-color:transparent;margin:0;border:none;width:100%;overflow:hidden;box-sizing:border-box}._tableCell_1ode4_88{color:#5c6372;background-color:transparent;border:none;border-right:1px solid #edeef1;border-bottom:1px solid #edeef1;overflow:hidden;width:100%;box-sizing:border-box}._tableCellContent_1ode4_99{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._headerColor_1ode4_105,._rowColor_1ode4_109{background-color:#f9f9fb}._headerCell_2qf2w_16{display:flex;justify-content:left;align-items:center;margin-left:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400;width:100%;cursor:pointer}._headerCell_2qf2w_16:hover ._noSort_2qf2w_29._standard_2qf2w_29{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjMxMyAxN2g3LjY2N2EuNDkuNDkgMCAwMS40NzkuNS40OS40OSAwIDAxLS40OC41SDQuMzE0YS40OS40OSAwIDAxLS40NzktLjVjMC0uMjc2LjIxNS0uNS40OC0uNXptNS43NS0zaC01Ljc1YS40OS40OSAwIDAwLS40NzkuNWMwIC4yNzYuMjE1LjUuNDguNWg1Ljc1YS40OS40OSAwIDAwLjQ3OC0uNS40OS40OSAwIDAwLS40NzktLjV6bS01Ljc1LTNoMy44MzNhLjQ5LjQ5IDAgMDEuNDguNS40OS40OSAwIDAxLS40OC41SDQuMzEzYS40OS40OSAwIDAxLS40NzktLjVjMC0uMjc2LjIxNS0uNS40OC0uNXptMC0zSDYuMjNhLjQ5LjQ5IDAgMDEuNDc5LjUuNDkuNDkgMCAwMS0uNDguNUg0LjMxNGEuNDkuNDkgMCAwMS0uNDc5LS41YzAtLjI3Ni4yMTUtLjUuNDgtLjV6bTEwLjU0MiAwYS40OS40OSAwIDAwLS40OC41djQuNzkzbC0yLjA1Ny0yLjE0N2EuNDY1LjQ2NSAwIDAwLS42NzggMCAuNTE1LjUxNSAwIDAwMCAuNzA4bDIuODY2IDIuOTlhLjQ2OC40NjggMCAwMC42OTYgMGwyLjg2Ni0yLjk5YS41MTYuNTE2IDAgMDAwLS43MDguNDY1LjQ2NSAwIDAwLS42NzggMGwtMi4wNTYgMi4xNDZWOC41YS40OS40OSAwIDAwLS40OC0uNXoiIGZpbGw9IiM1QzYzNzIiLz48L3N2Zz4K)}._headerCell_2qf2w_16:hover ._noSort_2qf2w_29._caret_2qf2w_33{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjk5OSAxMy44NGwzLjE3NS0yLjcxOWEuNS41IDAgMDEuNjUuNzZsLTMuNSAyLjk5OGEuNS41IDAgMDEtLjY1IDBsLTMuNS0yLjk5OGEuNS41IDAgMDEuNjUtLjc2TDEyIDEzLjg0MXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K);transform:rotate(180deg)}._headerLabel_2qf2w_38{text-align:left;overflow:hidden}._icon_2qf2w_43{margin-right:10px;width:20px;box-sizing:border-box;display:inline-block}._numberIcon_2qf2w_50{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE3IDVINmEyIDIgMCAwIDAtMiAydjEwYTIgMiAwIDAgMCAyIDJoMTFhMiAyIDAgMCAwIDItMlY3YTIgMiAwIDAgMC0yLTJ6TTUgN2ExIDEgMCAwIDEgMS0xaDExYTEgMSAwIDAgMSAxIDF2MTBhMSAxIDAgMCAxLTEgMUg2YTEgMSAwIDAgMS0xLTFWN3ptNC41IDRoLjc2NmwtLjU3MiAySDguNWEuNS41IDAgMCAwIDAgMWguOTA5bC0uMzkgMS4zNjNhLjUuNSAwIDAgMCAuOTYyLjI3NEwxMC40NDkgMTRoMS45NmwtLjM5IDEuMzYzYS41LjUgMCAwIDAgLjk2Mi4yNzRMMTMuNDQ5IDE0SDE0LjVhLjUuNSAwIDAgMCAwLTFoLS43NjZsLjU3Mi0ySDE1LjVhLjUuNSAwIDAgMCAwLTFoLS45MDlsLjM5LTEuMzYzYS41LjUgMCAwIDAtLjk2Mi0uMjc0TDEzLjU1MSAxMGgtMS45NmwuMzktMS4zNjNhLjUuNSAwIDAgMC0uOTYyLS4yNzRMMTAuNTUxIDEwSDkuNWEuNS41IDAgMCAwIDAgMXptMy43NjYgMGgtMS45NmwtLjU3MiAyaDEuOTZsLjU3Mi0yeiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._dateIcon_2qf2w_54{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTkgNVYzLjVhLjUuNSAwIDAgMSAxIDBWNWgzVjMuNWEuNS41IDAgMCAxIDEgMFY1aDNhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtMiAySDZhMiAyIDAgMCAxLTItMlY3YTIgMiAwIDAgMSAyLTJoM3ptMSAxaDN2LjVhLjUuNSAwIDAgMCAxIDBWNmgzYTEgMSAwIDAgMSAxIDF2MUg1VjdhMSAxIDAgMCAxIDEtMWgzdi41YS41LjUgMCAwIDAgMSAwVjZ6TTUgMTdWOWgxM3Y4YTEgMSAwIDAgMS0xIDFINmExIDEgMCAwIDEtMS0xem05LjUtNWgtNmEuNS41IDAgMCAxIDAtMWg2YS41LjUgMCAwIDEgMCAxem0tNiAyaDZhLjUuNSAwIDAgMCAwLTFoLTZhLjUuNSAwIDAgMCAwIDF6bTYgMmgtNmEuNS41IDAgMCAxIDAtMWg2YS41LjUgMCAwIDEgMCAxeiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._textIcon_2qf2w_58{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYgNWgxMWEyIDIgMCAwIDEgMiAydjEwYTIgMiAwIDAgMS0yIDJINmEyIDIgMCAwIDEtMi0yVjdhMiAyIDAgMCAxIDItMnptMCAxYTEgMSAwIDAgMC0xIDF2MTBhMSAxIDAgMCAwIDEgMWgxMWExIDEgMCAwIDAgMS0xVjdhMSAxIDAgMCAwLTEtMUg2em04IDEwSDlhLjUuNSAwIDAgMSAwLTFoMlY5SDguNWEuNS41IDAgMCAwLS41LjV2MmEuNS41IDAgMCAxLTEgMHYtMkExLjUgMS41IDAgMCAxIDguNSA4aDZBMS41IDEuNSAwIDAgMSAxNiA5LjV2MmEuNS41IDAgMCAxLTEgMHYtMmEuNS41IDAgMCAwLS41LS41SDEydjZoMmEuNS41IDAgMCAxIDAgMXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K)}._booleanIcon_2qf2w_62{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE3IDVINmEyIDIgMCAwIDAtMiAydjEwYTIgMiAwIDAgMCAyIDJoMTFhMiAyIDAgMCAwIDItMlY3YTIgMiAwIDAgMC0yLTJ6TTUgN2ExIDEgMCAwIDEgMS0xaDExYTEgMSAwIDAgMSAxIDF2MTBhMSAxIDAgMCAxLTEgMUg2YTEgMSAwIDAgMS0xLTFWN3oiIGZpbGw9IiM1QjYzNzIiLz48cGF0aCBkPSJNOC44IDE1LjM5NGEuNS41IDAgMCAxLS4xLS43TDEzLjQyOCA4LjRhLjUuNSAwIDEgMSAuOC42TDkuNSAxNS4yOTRhLjUuNSAwIDAgMS0uNy4xeiIgZmlsbD0iIzVCNjM3MiIvPjxyZWN0IHg9IjYiIHk9IjgiIHdpZHRoPSI1IiBoZWlnaHQ9IjEiIHJ4PSIuNSIgZmlsbD0iIzVCNjM3MiIvPjxwYXRoIGQ9Ik04LjUgOGEuNS41IDAgMCAxIC41LjV2NGEuNS41IDAgMCAxLTEgMHYtNGEuNS41IDAgMCAxIC41LS41eiIgZmlsbD0iIzVCNjM3MiIvPjxyZWN0IHg9IjEzIiB5PSIxMiIgd2lkdGg9IjQiIGhlaWdodD0iMSIgcng9Ii41IiBmaWxsPSIjNUI2MzcyIi8+PHJlY3QgeD0iMTMiIHk9IjE0IiB3aWR0aD0iMyIgaGVpZ2h0PSIxIiByeD0iLjUiIGZpbGw9IiM1QjYzNzIiLz48cGF0aCBkPSJNMTMuNSAxMmEuNS41IDAgMCAxIC41LjV2NGEuNS41IDAgMCAxLTEgMHYtNGEuNS41IDAgMCAxIC41LS41eiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._sortIcon_2qf2w_66{position:absolute;right:0;width:24px;height:24px;background-repeat:no-repeat}._sortAscending_2qf2w_74._standard_2qf2w_29{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjMxMyAxN2g3LjY2N2EuNDkuNDkgMCAwMS40NzkuNS40OS40OSAwIDAxLS40OC41SDQuMzE0YS40OS40OSAwIDAxLS40NzktLjVjMC0uMjc2LjIxNS0uNS40OC0uNXptNS43NS0zaC01Ljc1YS40OS40OSAwIDAwLS40NzkuNWMwIC4yNzYuMjE1LjUuNDguNWg1Ljc1YS40OS40OSAwIDAwLjQ3OC0uNS40OS40OSAwIDAwLS40NzktLjV6bS01Ljc1LTNoMy44MzNhLjQ5LjQ5IDAgMDEuNDguNS40OS40OSAwIDAxLS40OC41SDQuMzEzYS40OS40OSAwIDAxLS40NzktLjVjMC0uMjc2LjIxNS0uNS40OC0uNXptMC0zSDYuMjNhLjQ5LjQ5IDAgMDEuNDc5LjUuNDkuNDkgMCAwMS0uNDguNUg0LjMxNGEuNDkuNDkgMCAwMS0uNDc5LS41YzAtLjI3Ni4yMTUtLjUuNDgtLjV6bTEwLjU0MiAwYS40OS40OSAwIDAwLS40OC41djQuNzkzbC0yLjA1Ny0yLjE0N2EuNDY1LjQ2NSAwIDAwLS42NzggMCAuNTE1LjUxNSAwIDAwMCAuNzA4bDIuODY2IDIuOTlhLjQ2OC40NjggMCAwMC42OTYgMGwyLjg2Ni0yLjk5YS41MTYuNTE2IDAgMDAwLS43MDguNDY1LjQ2NSAwIDAwLS42NzggMGwtMi4wNTYgMi4xNDZWOC41YS40OS40OSAwIDAwLS40OC0uNXoiIGZpbGw9IiM1QzYzNzIiLz48L3N2Zz4K)}._sortDescending_2qf2w_78._standard_2qf2w_29{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjMxMyA3aDcuNjY3YS40OS40OSAwIDAwLjQ3OS0uNS40OS40OSAwIDAwLS40OC0uNUg0LjMxNGEuNDkuNDkgMCAwMC0uNDc5LjVjMCAuMjc2LjIxNS41LjQ4LjV6bTUuNzUgM2gtNS43NWEuNDkuNDkgMCAwMS0uNDc5LS41YzAtLjI3Ni4yMTUtLjUuNDgtLjVoNS43NWEuNDkuNDkgMCAwMS40NzguNS40OS40OSAwIDAxLS40NzkuNXptLTUuNzUgM2gzLjgzM2EuNDkuNDkgMCAwMC40OC0uNS40OS40OSAwIDAwLS40OC0uNUg0LjMxM2EuNDkuNDkgMCAwMC0uNDc5LjVjMCAuMjc2LjIxNS41LjQ4LjV6bTAgM0g2LjIzYS40OS40OSAwIDAwLjQ3OS0uNS40OS40OSAwIDAwLS40OC0uNUg0LjMxNGEuNDkuNDkgMCAwMC0uNDc5LjVjMCAuMjc2LjIxNS41LjQ4LjV6bTEwLjU0MiAwYS40OS40OSAwIDAxLS40OC0uNXYtNC43OTNsLTIuMDU3IDIuMTQ3YS40NjUuNDY1IDAgMDEtLjY3OCAwIC41MTUuNTE1IDAgMDEwLS43MDhsMi44NjYtMi45OWEuNDY4LjQ2OCAwIDAxLjY5NiAwbDIuODY2IDIuOTlhLjUxNi41MTYgMCAwMTAgLjcwOC40NjUuNDY1IDAgMDEtLjY3OCAwbC0yLjA1Ni0yLjE0NlYxNS41YS40OS40OSAwIDAxLS40OC41eiIgZmlsbD0iIzVDNjM3MiIvPjwvc3ZnPgo=)}._sortAscending_2qf2w_74._caret_2qf2w_33{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjk5OSAxMy44NGwzLjE3NS0yLjcxOWEuNS41IDAgMDEuNjUuNzZsLTMuNSAyLjk5OGEuNS41IDAgMDEtLjY1IDBsLTMuNS0yLjk5OGEuNS41IDAgMDEuNjUtLjc2TDEyIDEzLjg0MXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K);transform:rotate(180deg)}._sortAscending_2qf2w_74._caret_2qf2w_33:hover{transform:rotate(0)}._sortDescending_2qf2w_78._caret_2qf2w_33{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjk5OSAxMy44NGwzLjE3NS0yLjcxOWEuNS41IDAgMDEuNjUuNzZsLTMuNSAyLjk5OGEuNS41IDAgMDEtLjY1IDBsLTMuNS0yLjk5OGEuNS41IDAgMDEuNjUtLjc2TDEyIDEzLjg0MXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K)}._sortDescending_2qf2w_78._caret_2qf2w_33:hover{transform:rotate(180deg)}._headerLabel_2qf2w_38{text-align:left;flex-grow:1}._headerLabel_2qf2w_38,._headerLabel_2qf2w_38 *{overflow:hidden;text-overflow:ellipsis}._icon_t30x8_1{width:24px;height:24px;margin-right:5px;box-sizing:border-box;display:inline-block;background-repeat:no-repeat;flex-grow:0}._numberIcon_t30x8_11{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE3IDVINmEyIDIgMCAwIDAtMiAydjEwYTIgMiAwIDAgMCAyIDJoMTFhMiAyIDAgMCAwIDItMlY3YTIgMiAwIDAgMC0yLTJ6TTUgN2ExIDEgMCAwIDEgMS0xaDExYTEgMSAwIDAgMSAxIDF2MTBhMSAxIDAgMCAxLTEgMUg2YTEgMSAwIDAgMS0xLTFWN3ptNC41IDRoLjc2NmwtLjU3MiAySDguNWEuNS41IDAgMCAwIDAgMWguOTA5bC0uMzkgMS4zNjNhLjUuNSAwIDAgMCAuOTYyLjI3NEwxMC40NDkgMTRoMS45NmwtLjM5IDEuMzYzYS41LjUgMCAwIDAgLjk2Mi4yNzRMMTMuNDQ5IDE0SDE0LjVhLjUuNSAwIDAgMCAwLTFoLS43NjZsLjU3Mi0ySDE1LjVhLjUuNSAwIDAgMCAwLTFoLS45MDlsLjM5LTEuMzYzYS41LjUgMCAwIDAtLjk2Mi0uMjc0TDEzLjU1MSAxMGgtMS45NmwuMzktMS4zNjNhLjUuNSAwIDAgMC0uOTYyLS4yNzRMMTAuNTUxIDEwSDkuNWEuNS41IDAgMCAwIDAgMXptMy43NjYgMGgtMS45NmwtLjU3MiAyaDEuOTZsLjU3Mi0yeiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._dateIcon_t30x8_15{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTkgNVYzLjVhLjUuNSAwIDAgMSAxIDBWNWgzVjMuNWEuNS41IDAgMCAxIDEgMFY1aDNhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtMiAySDZhMiAyIDAgMCAxLTItMlY3YTIgMiAwIDAgMSAyLTJoM3ptMSAxaDN2LjVhLjUuNSAwIDAgMCAxIDBWNmgzYTEgMSAwIDAgMSAxIDF2MUg1VjdhMSAxIDAgMCAxIDEtMWgzdi41YS41LjUgMCAwIDAgMSAwVjZ6TTUgMTdWOWgxM3Y4YTEgMSAwIDAgMS0xIDFINmExIDEgMCAwIDEtMS0xem05LjUtNWgtNmEuNS41IDAgMCAxIDAtMWg2YS41LjUgMCAwIDEgMCAxem0tNiAyaDZhLjUuNSAwIDAgMCAwLTFoLTZhLjUuNSAwIDAgMCAwIDF6bTYgMmgtNmEuNS41IDAgMCAxIDAtMWg2YS41LjUgMCAwIDEgMCAxeiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._textIcon_t30x8_19{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYgNWgxMWEyIDIgMCAwIDEgMiAydjEwYTIgMiAwIDAgMS0yIDJINmEyIDIgMCAwIDEtMi0yVjdhMiAyIDAgMCAxIDItMnptMCAxYTEgMSAwIDAgMC0xIDF2MTBhMSAxIDAgMCAwIDEgMWgxMWExIDEgMCAwIDAgMS0xVjdhMSAxIDAgMCAwLTEtMUg2em04IDEwSDlhLjUuNSAwIDAgMSAwLTFoMlY5SDguNWEuNS41IDAgMCAwLS41LjV2MmEuNS41IDAgMCAxLTEgMHYtMkExLjUgMS41IDAgMCAxIDguNSA4aDZBMS41IDEuNSAwIDAgMSAxNiA5LjV2MmEuNS41IDAgMCAxLTEgMHYtMmEuNS41IDAgMCAwLS41LS41SDEydjZoMmEuNS41IDAgMCAxIDAgMXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K)}._booleanIcon_t30x8_23{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE3IDVINmEyIDIgMCAwIDAtMiAydjEwYTIgMiAwIDAgMCAyIDJoMTFhMiAyIDAgMCAwIDItMlY3YTIgMiAwIDAgMC0yLTJ6TTUgN2ExIDEgMCAwIDEgMS0xaDExYTEgMSAwIDAgMSAxIDF2MTBhMSAxIDAgMCAxLTEgMUg2YTEgMSAwIDAgMS0xLTFWN3oiIGZpbGw9IiM1QjYzNzIiLz48cGF0aCBkPSJNOC44IDE1LjM5NGEuNS41IDAgMCAxLS4xLS43TDEzLjQyOCA4LjRhLjUuNSAwIDEgMSAuOC42TDkuNSAxNS4yOTRhLjUuNSAwIDAgMS0uNy4xeiIgZmlsbD0iIzVCNjM3MiIvPjxyZWN0IHg9IjYiIHk9IjgiIHdpZHRoPSI1IiBoZWlnaHQ9IjEiIHJ4PSIuNSIgZmlsbD0iIzVCNjM3MiIvPjxwYXRoIGQ9Ik04LjUgOGEuNS41IDAgMCAxIC41LjV2NGEuNS41IDAgMCAxLTEgMHYtNGEuNS41IDAgMCAxIC41LS41eiIgZmlsbD0iIzVCNjM3MiIvPjxyZWN0IHg9IjEzIiB5PSIxMiIgd2lkdGg9IjQiIGhlaWdodD0iMSIgcng9Ii41IiBmaWxsPSIjNUI2MzcyIi8+PHJlY3QgeD0iMTMiIHk9IjE0IiB3aWR0aD0iMyIgaGVpZ2h0PSIxIiByeD0iLjUiIGZpbGw9IiM1QjYzNzIiLz48cGF0aCBkPSJNMTMuNSAxMmEuNS41IDAgMCAxIC41LjV2NGEuNS41IDAgMCAxLTEgMHYtNGEuNS41IDAgMCAxIC41LS41eiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._component_1rw9b_1{flex-grow:1;font-family:Open Sans}.csdk-drilldown-hierarchy-nested-menu-item .csdk-menu-item-content{position:relative;padding-left:13px}.csdk-drilldown-hierarchy-nested-menu-item .csdk-menu-item-content:before{top:2px;left:0;position:absolute;content:"";display:block;height:14px;width:1px;background:#c3c3c3}.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__navigation-icon:before{border-color:#ccc;border-style:solid;border-width:3px 3px 0 0;content:"";display:block;height:9px;position:absolute;top:6px;width:9px}.react-datepicker-wrapper{display:inline-block;padding:0;border:0}.react-datepicker{font-family:Helvetica Neue,helvetica,arial,sans-serif;font-size:.8rem;background-color:#fff;color:#000;border:1px solid #aeaeae;border-radius:.3rem;display:inline-block;position:relative;line-height:initial}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker-popper{z-index:1;line-height:0}.react-datepicker-popper .react-datepicker__triangle{stroke:#aeaeae}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{fill:#f0f0f0;color:#f0f0f0}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{fill:#fff;color:#fff}.react-datepicker__header{text-align:center;background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding:8px 0;position:relative}.react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}.react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}.react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}.react-datepicker__year-dropdown-container--select,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--scroll{display:inline-block;margin:0 15px}.react-datepicker__current-month,.react-datepicker-time__header,.react-datepicker-year-header{margin-top:0;color:#000;font-weight:700;font-size:.944rem}h2.react-datepicker__current-month{padding:0;margin:0}.react-datepicker-time__header{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.react-datepicker__navigation{align-items:center;background:none;display:flex;justify-content:center;text-align:center;cursor:pointer;position:absolute;top:2px;padding:0;border:none;z-index:1;height:32px;width:32px;text-indent:-999em;overflow:hidden}.react-datepicker__navigation--previous{left:2px}.react-datepicker__navigation--next{right:2px}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:85px}.react-datepicker__navigation--years{position:relative;top:0;display:block;margin-left:auto;margin-right:auto}.react-datepicker__navigation--years-previous{top:4px}.react-datepicker__navigation--years-upcoming{top:-4px}.react-datepicker__navigation:hover *:before{border-color:#a6a6a6}.react-datepicker__navigation-icon{position:relative;top:-1px;font-size:20px;width:0}.react-datepicker__navigation-icon--next{left:-2px}.react-datepicker__navigation-icon--next:before{transform:rotate(45deg);left:-7px}.react-datepicker__navigation-icon--previous{right:-2px}.react-datepicker__navigation-icon--previous:before{transform:rotate(225deg);right:-7px}.react-datepicker__month-container{float:left}.react-datepicker__year{margin:.4rem;text-align:center}.react-datepicker__year-wrapper{display:flex;flex-wrap:wrap;max-width:180px}.react-datepicker__year .react-datepicker__year-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__month .react-datepicker__month-text,.react-datepicker__month .react-datepicker__quarter-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__input-time-container{clear:both;width:100%;float:left;margin:5px 0 10px 15px;text-align:left}.react-datepicker__input-time-container .react-datepicker-time__caption,.react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{margin-left:5px;display:inline-block}.react-datepicker__time-container{float:right;border-left:1px solid #aeaeae;width:85px}.react-datepicker__time-container--with-today-button{display:inline;border:1px solid #aeaeae;border-radius:.3rem;position:absolute;right:-87px;top:0}.react-datepicker__time-container .react-datepicker__time{position:relative;background:#fff;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{width:85px;overflow-x:hidden;margin:0 auto;text-align:center;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{list-style:none;margin:0;height:calc(195px + .85rem);overflow-y:scroll;padding-right:0;padding-left:0;width:100%;box-sizing:content-box}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{height:30px;padding:5px 10px;white-space:nowrap}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{cursor:pointer;background-color:#f0f0f0}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:#fff;font-weight:700}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{cursor:default;background-color:transparent}.react-datepicker__week-number{color:#ccc;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected,.react-datepicker__week-number--keyboard-selected):hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__week-number--selected{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__week-number--selected:hover{background-color:#1d5d90}.react-datepicker__week-number--keyboard-selected{border-radius:.3rem;background-color:#2a87d0;color:#fff}.react-datepicker__week-number--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day-names{white-space:nowrap;margin-bottom:-8px}.react-datepicker__week{white-space:nowrap}.react-datepicker__day-name,.react-datepicker__day,.react-datepicker__time-name{color:#000;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__day,.react-datepicker__month-text,.react-datepicker__quarter-text,.react-datepicker__year-text{cursor:pointer}.react-datepicker__day:hover,.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover,.react-datepicker__year-text:hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day--today,.react-datepicker__month-text--today,.react-datepicker__quarter-text--today,.react-datepicker__year-text--today{font-weight:700}.react-datepicker__day--highlighted,.react-datepicker__month-text--highlighted,.react-datepicker__quarter-text--highlighted,.react-datepicker__year-text--highlighted{border-radius:.3rem;background-color:#3dcc4a;color:#fff}.react-datepicker__day--highlighted:hover,.react-datepicker__month-text--highlighted:hover,.react-datepicker__quarter-text--highlighted:hover,.react-datepicker__year-text--highlighted:hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1,.react-datepicker__month-text--highlighted-custom-1,.react-datepicker__quarter-text--highlighted-custom-1,.react-datepicker__year-text--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2,.react-datepicker__month-text--highlighted-custom-2,.react-datepicker__quarter-text--highlighted-custom-2,.react-datepicker__year-text--highlighted-custom-2{color:green}.react-datepicker__day--holidays,.react-datepicker__month-text--holidays,.react-datepicker__quarter-text--holidays,.react-datepicker__year-text--holidays{position:relative;border-radius:.3rem;background-color:#ff6803;color:#fff}.react-datepicker__day--holidays .overlay,.react-datepicker__month-text--holidays .overlay,.react-datepicker__quarter-text--holidays .overlay,.react-datepicker__year-text--holidays .overlay{position:absolute;bottom:100%;left:50%;transform:translate(-50%);background-color:#333;color:#fff;padding:4px;border-radius:4px;white-space:nowrap;visibility:hidden;opacity:0;transition:visibility 0s,opacity .3s ease-in-out}.react-datepicker__day--holidays:hover,.react-datepicker__month-text--holidays:hover,.react-datepicker__quarter-text--holidays:hover,.react-datepicker__year-text--holidays:hover{background-color:#cf5300}.react-datepicker__day--holidays:hover .overlay,.react-datepicker__month-text--holidays:hover .overlay,.react-datepicker__quarter-text--holidays:hover .overlay,.react-datepicker__year-text--holidays:hover .overlay{visibility:visible;opacity:1}.react-datepicker__day--selected,.react-datepicker__day--in-selecting-range,.react-datepicker__day--in-range,.react-datepicker__month-text--selected,.react-datepicker__month-text--in-selecting-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--selected,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--selected,.react-datepicker__year-text--in-selecting-range,.react-datepicker__year-text--in-range{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__day--selected:hover,.react-datepicker__day--in-selecting-range:hover,.react-datepicker__day--in-range:hover,.react-datepicker__month-text--selected:hover,.react-datepicker__month-text--in-selecting-range:hover,.react-datepicker__month-text--in-range:hover,.react-datepicker__quarter-text--selected:hover,.react-datepicker__quarter-text--in-selecting-range:hover,.react-datepicker__quarter-text--in-range:hover,.react-datepicker__year-text--selected:hover,.react-datepicker__year-text--in-selecting-range:hover,.react-datepicker__year-text--in-range:hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected{border-radius:.3rem;background-color:#bad9f1;color:#000}.react-datepicker__day--keyboard-selected:hover,.react-datepicker__month-text--keyboard-selected:hover,.react-datepicker__quarter-text--keyboard-selected:hover,.react-datepicker__year-text--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range){background-color:#216ba580}.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range){background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled,.react-datepicker__month-text--disabled,.react-datepicker__quarter-text--disabled,.react-datepicker__year-text--disabled{cursor:default;color:#ccc}.react-datepicker__day--disabled:hover,.react-datepicker__month-text--disabled:hover,.react-datepicker__quarter-text--disabled:hover,.react-datepicker__year-text--disabled:hover{background-color:transparent}.react-datepicker__day--disabled .overlay,.react-datepicker__month-text--disabled .overlay,.react-datepicker__quarter-text--disabled .overlay,.react-datepicker__year-text--disabled .overlay{position:absolute;bottom:70%;left:50%;transform:translate(-50%);background-color:#333;color:#fff;padding:4px;border-radius:4px;white-space:nowrap;visibility:hidden;opacity:0;transition:visibility 0s,opacity .3s ease-in-out}.react-datepicker__input-container{position:relative;display:inline-block;width:100%}.react-datepicker__input-container .react-datepicker__calendar-icon{position:absolute;padding:.5rem;box-sizing:content-box}.react-datepicker__view-calendar-icon input{padding:6px 10px 5px 25px}.react-datepicker__year-read-view,.react-datepicker__month-read-view,.react-datepicker__month-year-read-view{border:1px solid transparent;border-radius:.3rem;position:relative}.react-datepicker__year-read-view:hover,.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover{cursor:pointer}.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow{transform:rotate(135deg);right:-16px;top:0}.react-datepicker__year-dropdown,.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown{background-color:#f0f0f0;position:absolute;width:50%;left:25%;top:30px;z-index:1;text-align:center;border-radius:.3rem;border:1px solid #aeaeae}.react-datepicker__year-dropdown:hover,.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover{cursor:pointer}.react-datepicker__year-dropdown--scrollable,.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__year-option,.react-datepicker__month-option,.react-datepicker__month-year-option{line-height:20px;width:100%;display:block;margin-left:auto;margin-right:auto}.react-datepicker__year-option:first-of-type,.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__year-option:last-of-type,.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type{-webkit-user-select:none;-moz-user-select:none;user-select:none;border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__year-option:hover,.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover{background-color:#ccc}.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__year-option--selected,.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected{position:absolute;left:15px}.react-datepicker__close-icon{cursor:pointer;background-color:transparent;border:0;outline:0;padding:0 6px 0 0;position:absolute;top:0;right:0;height:100%;display:table-cell;vertical-align:middle}.react-datepicker__close-icon:after{cursor:pointer;background-color:#216ba5;color:#fff;border-radius:50%;height:16px;width:16px;padding:2px;font-size:12px;line-height:1;text-align:center;display:table-cell;vertical-align:middle;content:"×"}.react-datepicker__close-icon--disabled{cursor:default}.react-datepicker__close-icon--disabled:after{cursor:default;background-color:#ccc}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;cursor:pointer;text-align:center;font-weight:700;padding:5px 0;clear:left}.react-datepicker__portal{position:fixed;width:100vw;height:100vh;background-color:#000c;left:0;top:0;justify-content:center;align-items:center;display:flex;z-index:2147483647}.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:3rem;line-height:3rem}@media (max-width: 400px),(max-height: 550px){.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:2rem;line-height:2rem}}.react-datepicker__portal .react-datepicker__current-month,.react-datepicker__portal .react-datepicker-time__header{font-size:1.44rem}.react-datepicker__children-container{width:13.8rem;margin:.4rem;padding-right:.2rem;padding-left:.2rem;height:auto}.react-datepicker__aria-live{position:absolute;clip-path:circle(0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;white-space:nowrap}.react-datepicker__calendar-icon{width:1em;height:1em;vertical-align:-.125em}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();