@sisense/sdk-ui 1.27.1 → 1.29.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.
- package/dist/ai.cjs +50 -50
- package/dist/ai.js +968 -904
- package/dist/analytics-composer.cjs +49 -49
- package/dist/analytics-composer.js +374 -374
- package/dist/{derive-chart-family-H_RlUbXY.js → derive-chart-family-Cy3hlluo.js} +15339 -15478
- package/dist/{derive-chart-family-DDkQybGb.cjs → derive-chart-family-DWCXp57c.cjs} +103 -103
- package/dist/index.cjs +253 -120
- package/dist/index.js +11042 -8996
- package/dist/packages/sdk-ui/src/ai/api/chat-rest-api.d.ts +5 -3
- package/dist/packages/sdk-ui/src/ai/api/hooks.d.ts +3 -2
- package/dist/packages/sdk-ui/src/ai/api/types.d.ts +12 -2
- package/dist/packages/sdk-ui/src/ai/chart/chart-insights.d.ts +2 -2
- package/dist/packages/sdk-ui/src/ai/chart/nlq-chart-widget.d.ts +9 -1
- package/dist/packages/sdk-ui/src/ai/{get-nlg-query-result.d.ts → get-nlg-insights.d.ts} +21 -6
- package/dist/packages/sdk-ui/src/ai/index.d.ts +4 -3
- package/dist/packages/sdk-ui/src/ai/messages/insights-message.d.ts +2 -2
- package/dist/packages/sdk-ui/src/ai/{use-get-nlg-query-result.d.ts → use-get-nlg-insights.d.ts} +17 -10
- package/dist/packages/sdk-ui/src/ai/use-get-nlq-result.d.ts +74 -0
- package/dist/packages/sdk-ui/src/ai/use-get-query-recommendations.d.ts +11 -3
- package/dist/packages/sdk-ui/src/analytics-composer/common/stringify-props.d.ts +1 -1
- package/dist/packages/sdk-ui/src/analytics-composer/common/utils.d.ts +17 -1
- package/dist/packages/sdk-ui/src/analytics-composer/types.d.ts +30 -1
- package/dist/packages/sdk-ui/src/area-chart.d.ts +1 -1
- package/dist/packages/sdk-ui/src/areamap-chart.d.ts +1 -1
- package/dist/packages/sdk-ui/src/boxplot-utils.d.ts +3 -2
- package/dist/packages/sdk-ui/src/chart-data-options/types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/subtype-to-design-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/axis-section.d.ts +5 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/design-options.d.ts +1 -0
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/value-label-section.d.ts +3 -1
- package/dist/packages/sdk-ui/src/common/components/button.d.ts +10 -0
- package/dist/packages/sdk-ui/src/common/components/popover.d.ts +23 -0
- package/dist/packages/sdk-ui/src/common/components/radio.d.ts +8 -0
- package/dist/packages/sdk-ui/src/common/hooks/use-combined-menu.d.ts +3 -4
- package/dist/packages/sdk-ui/src/const.d.ts +1 -0
- package/dist/packages/sdk-ui/src/dashboard/components/dashboard-container.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard/types.d.ts +6 -0
- package/dist/packages/sdk-ui/src/filters/components/cascading-filter-tile/cascading-filter-tile.d.ts +2 -2
- package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/criteria-filter-tile.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/custom-filter-tile.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/date-filter/relative-date-filter-tile/relative-date-filter-tile.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/index.d.ts +4 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/input.d.ts +5 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/search-input.d.ts +8 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/base.d.ts +14 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/index.d.ts +3 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/multi-select-item.d.ts +7 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/searchable-multi-select.d.ts +12 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/searchable-single-select.d.ts +12 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/single-select-item.d.ts +7 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/single-select.d.ts +12 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/types.d.ts +7 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/utils.d.ts +4 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/selectable-section.d.ts +11 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/filter-editor-popover.d.ts +12 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/filter-editor.d.ts +8 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/multi-select-control.d.ts +7 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/include-all-section.d.ts +9 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/members-section.d.ts +11 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/text-condition-section.d.ts +11 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/utils.d.ts +5 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-tile-container.d.ts +42 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-tile.d.ts +19 -35
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/filters-panel.d.ts +2 -0
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/index.d.ts +0 -1
- package/dist/packages/sdk-ui/src/filters/components/icons/arrow-down-icon.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/icons/check-icon.d.ts +2 -0
- package/dist/packages/sdk-ui/src/filters/components/icons/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/filters/components/icons/search-icon.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/index.d.ts +7 -0
- package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/member-filter-tile.d.ts +3 -3
- package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/members-reducer.d.ts +7 -0
- package/dist/packages/sdk-ui/src/filters/components/unsupported-filter-tile.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/helpers.d.ts +1 -122
- package/dist/packages/sdk-ui/src/filters/hooks/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/filters/hooks/use-get-filter-members.d.ts +77 -0
- package/dist/packages/sdk-ui/src/filters/index.d.ts +2 -7
- package/dist/packages/sdk-ui/src/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/widget/widget-model-translator.d.ts +9 -1
- package/dist/packages/sdk-ui/src/pivot-table/formatters/header-cell-formatters/header-cell-totals-formatter.d.ts +4 -0
- package/dist/packages/sdk-ui/src/props.d.ts +15 -15
- package/dist/packages/sdk-ui/src/query/date-formats/apply-date-format.d.ts +1 -1
- package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +29 -0
- package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +58 -0
- package/dist/packages/sdk-ui/src/types.d.ts +27 -2
- package/dist/packages/sdk-ui/src/utils/filter-relations.d.ts +30 -72
- package/dist/packages/sdk-ui/src/widget-by-id/dashboard-widget.d.ts +1 -1
- package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-data-options.d.ts +1 -2
- package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +14 -0
- package/dist/packages/sdk-ui/src/widget-by-id/utils.d.ts +2 -57
- package/dist/useQuery-CRu7WcYd.cjs +916 -0
- package/dist/{useQuery-DOgANgSI.js → useQuery-CdtycPOg.js} +17043 -16999
- package/dist/{widget-composer-ldmqMCC4.cjs → widget-composer-DyY3yi_b.cjs} +10 -8
- package/dist/{widget-composer-NNyD6tF2.js → widget-composer-G4mPX-JO.js} +168 -143
- package/package.json +7 -7
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/filters-panel-tile.d.ts +0 -24
- package/dist/useQuery-KI9icU5_.cjs +0 -915
package/dist/ai.js
CHANGED
|
@@ -1,73 +1,74 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var ut = Object.defineProperty, ht = Object.defineProperties;
|
|
2
|
+
var pt = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ae = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
|
|
4
|
+
var Fe = Object.prototype.hasOwnProperty, De = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ye = (e, t, o) => t in e ? ut(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, w = (e, t) => {
|
|
6
|
+
for (var o in t || (t = {}))
|
|
7
|
+
Fe.call(t, o) && ye(e, o, t[o]);
|
|
8
8
|
if (ae)
|
|
9
|
-
for (var
|
|
10
|
-
|
|
9
|
+
for (var o of ae(t))
|
|
10
|
+
De.call(t, o) && ye(e, o, t[o]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, L = (e, t) => ht(e, pt(t));
|
|
13
|
+
var Pe = (e, t) => {
|
|
14
|
+
var o = {};
|
|
15
15
|
for (var r in e)
|
|
16
|
-
|
|
16
|
+
Fe.call(e, r) && t.indexOf(r) < 0 && (o[r] = e[r]);
|
|
17
17
|
if (e != null && ae)
|
|
18
18
|
for (var r of ae(e))
|
|
19
|
-
t.indexOf(r) < 0 &&
|
|
20
|
-
return
|
|
19
|
+
t.indexOf(r) < 0 && De.call(e, r) && (o[r] = e[r]);
|
|
20
|
+
return o;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
22
|
+
var R = (e, t, o) => (ye(e, typeof t != "symbol" ? t + "" : t, o), o);
|
|
23
|
+
var G = (e, t, o) => new Promise((r, i) => {
|
|
24
|
+
var s = (l) => {
|
|
25
25
|
try {
|
|
26
|
-
c(
|
|
26
|
+
c(o.next(l));
|
|
27
27
|
} catch (d) {
|
|
28
28
|
i(d);
|
|
29
29
|
}
|
|
30
|
-
},
|
|
30
|
+
}, a = (l) => {
|
|
31
31
|
try {
|
|
32
|
-
c(
|
|
32
|
+
c(o.throw(l));
|
|
33
33
|
} catch (d) {
|
|
34
34
|
i(d);
|
|
35
35
|
}
|
|
36
|
-
}, c = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(
|
|
37
|
-
c((
|
|
36
|
+
}, c = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(s, a);
|
|
37
|
+
c((o = o.apply(e, t)).next());
|
|
38
38
|
});
|
|
39
|
-
import {
|
|
40
|
-
import { jsx as
|
|
41
|
-
import * as
|
|
42
|
-
import { createContext as
|
|
43
|
-
import {
|
|
44
|
-
import { t as
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
import { bO as gt, J as Ct, I as ft, K as ue, bP as mt, bQ as bt, Q as Y, q as j, bR as Ae, X as xt, bS as yt, _ as vt, bT as wt, G as ve, P as f, R as kt, bU as St, bV as Mt, bW as Lt, bX as Ze, bY as $t, bZ as te, b_ as Tt, b$ as Rt, c0 as Et, bp as Nt, ab as It, bq as Ht, d as Bt, bC as Q, ah as he, aS as h, b0 as E, an as b, a_ as ze, aW as Ft, c1 as Dt, b1 as Ve, c2 as Pt, aY as Ot, aV as ee, b3 as Wt, c3 as qt, am as $e, c4 as At, bj as Zt, c5 as zt } from "./useQuery-CdtycPOg.js";
|
|
40
|
+
import { jsx as n, jsxs as g, Fragment as H } from "react/jsx-runtime";
|
|
41
|
+
import * as Z from "react";
|
|
42
|
+
import { createContext as Ge, useMemo as D, useContext as je, useCallback as T, useEffect as oe, useState as $, useRef as J, useLayoutEffect as ce, memo as Vt, forwardRef as Gt, createElement as jt } from "react";
|
|
43
|
+
import { x as Qt, a$ as Ut, v as k, T as ke, E as Qe, Y as Se, a0 as _t, b0 as Kt, B as Yt, D as Jt } from "./derive-chart-family-Cy3hlluo.js";
|
|
44
|
+
import { t as pe } from "./widget-composer-G4mPX-JO.js";
|
|
45
|
+
var Xt = gt("toLowerCase");
|
|
46
|
+
function e1(e) {
|
|
47
|
+
return ft("MuiDialog", e);
|
|
47
48
|
}
|
|
48
|
-
const
|
|
49
|
-
process.env.NODE_ENV !== "production" && (
|
|
50
|
-
const
|
|
49
|
+
const we = Ct("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), Ue = /* @__PURE__ */ Z.createContext({});
|
|
50
|
+
process.env.NODE_ENV !== "production" && (Ue.displayName = "DialogContext");
|
|
51
|
+
const t1 = ["aria-describedby", "aria-labelledby", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "TransitionComponent", "transitionDuration", "TransitionProps"], o1 = ue(mt, {
|
|
51
52
|
name: "MuiDialog",
|
|
52
53
|
slot: "Backdrop",
|
|
53
54
|
overrides: (e, t) => t.backdrop
|
|
54
55
|
})({
|
|
55
56
|
// Improve scrollable dialog support.
|
|
56
57
|
zIndex: -1
|
|
57
|
-
}),
|
|
58
|
+
}), n1 = (e) => {
|
|
58
59
|
const {
|
|
59
60
|
classes: t,
|
|
60
|
-
scroll:
|
|
61
|
+
scroll: o,
|
|
61
62
|
maxWidth: r,
|
|
62
63
|
fullWidth: i,
|
|
63
|
-
fullScreen:
|
|
64
|
-
} = e,
|
|
64
|
+
fullScreen: s
|
|
65
|
+
} = e, a = {
|
|
65
66
|
root: ["root"],
|
|
66
|
-
container: ["container", `scroll${
|
|
67
|
-
paper: ["paper", `paperScroll${
|
|
67
|
+
container: ["container", `scroll${Y(o)}`],
|
|
68
|
+
paper: ["paper", `paperScroll${Y(o)}`, `paperWidth${Y(String(r))}`, i && "paperFullWidth", s && "paperFullScreen"]
|
|
68
69
|
};
|
|
69
|
-
return
|
|
70
|
-
},
|
|
70
|
+
return kt(a, e1, t);
|
|
71
|
+
}, r1 = ue(bt, {
|
|
71
72
|
name: "MuiDialog",
|
|
72
73
|
slot: "Root",
|
|
73
74
|
overridesResolver: (e, t) => t.root
|
|
@@ -76,18 +77,18 @@ const Kt = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
76
77
|
// Use !important to override the Modal inline-style.
|
|
77
78
|
position: "absolute !important"
|
|
78
79
|
}
|
|
79
|
-
}),
|
|
80
|
+
}), i1 = ue("div", {
|
|
80
81
|
name: "MuiDialog",
|
|
81
82
|
slot: "Container",
|
|
82
83
|
overridesResolver: (e, t) => {
|
|
83
84
|
const {
|
|
84
|
-
ownerState:
|
|
85
|
+
ownerState: o
|
|
85
86
|
} = e;
|
|
86
|
-
return [t.container, t[`scroll${
|
|
87
|
+
return [t.container, t[`scroll${Y(o.scroll)}`]];
|
|
87
88
|
}
|
|
88
89
|
})(({
|
|
89
90
|
ownerState: e
|
|
90
|
-
}) =>
|
|
91
|
+
}) => j({
|
|
91
92
|
height: "100%",
|
|
92
93
|
"@media print": {
|
|
93
94
|
height: "auto"
|
|
@@ -109,19 +110,19 @@ const Kt = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
109
110
|
height: "100%",
|
|
110
111
|
width: "0"
|
|
111
112
|
}
|
|
112
|
-
})),
|
|
113
|
+
})), s1 = ue(Ae, {
|
|
113
114
|
name: "MuiDialog",
|
|
114
115
|
slot: "Paper",
|
|
115
116
|
overridesResolver: (e, t) => {
|
|
116
117
|
const {
|
|
117
|
-
ownerState:
|
|
118
|
+
ownerState: o
|
|
118
119
|
} = e;
|
|
119
|
-
return [t.paper, t[`scrollPaper${
|
|
120
|
+
return [t.paper, t[`scrollPaper${Y(o.scroll)}`], t[`paperWidth${Y(String(o.maxWidth))}`], o.fullWidth && t.paperFullWidth, o.fullScreen && t.paperFullScreen];
|
|
120
121
|
}
|
|
121
122
|
})(({
|
|
122
123
|
theme: e,
|
|
123
124
|
ownerState: t
|
|
124
|
-
}) =>
|
|
125
|
+
}) => j({
|
|
125
126
|
margin: 32,
|
|
126
127
|
position: "relative",
|
|
127
128
|
overflowY: "auto",
|
|
@@ -143,14 +144,14 @@ const Kt = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
143
144
|
maxWidth: "calc(100% - 64px)"
|
|
144
145
|
}, t.maxWidth === "xs" && {
|
|
145
146
|
maxWidth: e.breakpoints.unit === "px" ? Math.max(e.breakpoints.values.xs, 444) : `max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,
|
|
146
|
-
[`&.${
|
|
147
|
+
[`&.${we.paperScrollBody}`]: {
|
|
147
148
|
[e.breakpoints.down(Math.max(e.breakpoints.values.xs, 444) + 32 * 2)]: {
|
|
148
149
|
maxWidth: "calc(100% - 64px)"
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
152
|
}, t.maxWidth && t.maxWidth !== "xs" && {
|
|
152
153
|
maxWidth: `${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,
|
|
153
|
-
[`&.${
|
|
154
|
+
[`&.${we.paperScrollBody}`]: {
|
|
154
155
|
[e.breakpoints.down(e.breakpoints.values[t.maxWidth] + 32 * 2)]: {
|
|
155
156
|
maxWidth: "calc(100% - 64px)"
|
|
156
157
|
}
|
|
@@ -164,99 +165,99 @@ const Kt = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
164
165
|
height: "100%",
|
|
165
166
|
maxHeight: "none",
|
|
166
167
|
borderRadius: 0,
|
|
167
|
-
[`&.${
|
|
168
|
+
[`&.${we.paperScrollBody}`]: {
|
|
168
169
|
margin: 0,
|
|
169
170
|
maxWidth: "100%"
|
|
170
171
|
}
|
|
171
|
-
})),
|
|
172
|
-
const r =
|
|
172
|
+
})), _e = /* @__PURE__ */ Z.forwardRef(function(t, o) {
|
|
173
|
+
const r = xt({
|
|
173
174
|
props: t,
|
|
174
175
|
name: "MuiDialog"
|
|
175
|
-
}), i =
|
|
176
|
+
}), i = yt(), s = {
|
|
176
177
|
enter: i.transitions.duration.enteringScreen,
|
|
177
178
|
exit: i.transitions.duration.leavingScreen
|
|
178
179
|
}, {
|
|
179
|
-
"aria-describedby":
|
|
180
|
+
"aria-describedby": a,
|
|
180
181
|
"aria-labelledby": c,
|
|
181
182
|
BackdropComponent: l,
|
|
182
183
|
BackdropProps: d,
|
|
183
|
-
children:
|
|
184
|
-
className:
|
|
185
|
-
disableEscapeKeyDown:
|
|
184
|
+
children: C,
|
|
185
|
+
className: u,
|
|
186
|
+
disableEscapeKeyDown: p = !1,
|
|
186
187
|
fullScreen: m = !1,
|
|
187
|
-
fullWidth:
|
|
188
|
-
maxWidth:
|
|
188
|
+
fullWidth: x = !1,
|
|
189
|
+
maxWidth: M = "sm",
|
|
189
190
|
onBackdropClick: y,
|
|
190
|
-
onClick:
|
|
191
|
-
onClose:
|
|
192
|
-
open:
|
|
193
|
-
PaperComponent:
|
|
194
|
-
PaperProps:
|
|
195
|
-
scroll:
|
|
196
|
-
TransitionComponent:
|
|
197
|
-
transitionDuration:
|
|
198
|
-
TransitionProps:
|
|
199
|
-
} = r,
|
|
200
|
-
disableEscapeKeyDown:
|
|
191
|
+
onClick: q,
|
|
192
|
+
onClose: N,
|
|
193
|
+
open: S,
|
|
194
|
+
PaperComponent: O = Ae,
|
|
195
|
+
PaperProps: B = {},
|
|
196
|
+
scroll: F = "paper",
|
|
197
|
+
TransitionComponent: V = St,
|
|
198
|
+
transitionDuration: se = s,
|
|
199
|
+
TransitionProps: fe
|
|
200
|
+
} = r, X = vt(r, t1), U = j({}, r, {
|
|
201
|
+
disableEscapeKeyDown: p,
|
|
201
202
|
fullScreen: m,
|
|
202
|
-
fullWidth:
|
|
203
|
-
maxWidth:
|
|
204
|
-
scroll:
|
|
205
|
-
}),
|
|
206
|
-
|
|
207
|
-
},
|
|
208
|
-
|
|
209
|
-
},
|
|
210
|
-
titleId:
|
|
211
|
-
}), [
|
|
212
|
-
return /* @__PURE__ */
|
|
213
|
-
className:
|
|
203
|
+
fullWidth: x,
|
|
204
|
+
maxWidth: M,
|
|
205
|
+
scroll: F
|
|
206
|
+
}), I = n1(U), _ = Z.useRef(), me = (v) => {
|
|
207
|
+
_.current = v.target === v.currentTarget;
|
|
208
|
+
}, be = (v) => {
|
|
209
|
+
q && q(v), _.current && (_.current = null, y && y(v), N && N(v, "backdropClick"));
|
|
210
|
+
}, K = wt(c), xe = Z.useMemo(() => ({
|
|
211
|
+
titleId: K
|
|
212
|
+
}), [K]);
|
|
213
|
+
return /* @__PURE__ */ n(r1, j({
|
|
214
|
+
className: ve(I.root, u),
|
|
214
215
|
closeAfterTransition: !0,
|
|
215
216
|
components: {
|
|
216
|
-
Backdrop:
|
|
217
|
+
Backdrop: o1
|
|
217
218
|
},
|
|
218
219
|
componentsProps: {
|
|
219
|
-
backdrop:
|
|
220
|
-
transitionDuration:
|
|
220
|
+
backdrop: j({
|
|
221
|
+
transitionDuration: se,
|
|
221
222
|
as: l
|
|
222
223
|
}, d)
|
|
223
224
|
},
|
|
224
|
-
disableEscapeKeyDown:
|
|
225
|
-
onClose:
|
|
226
|
-
open:
|
|
227
|
-
ref:
|
|
228
|
-
onClick:
|
|
229
|
-
ownerState:
|
|
230
|
-
},
|
|
231
|
-
children: /* @__PURE__ */
|
|
225
|
+
disableEscapeKeyDown: p,
|
|
226
|
+
onClose: N,
|
|
227
|
+
open: S,
|
|
228
|
+
ref: o,
|
|
229
|
+
onClick: be,
|
|
230
|
+
ownerState: U
|
|
231
|
+
}, X, {
|
|
232
|
+
children: /* @__PURE__ */ n(V, j({
|
|
232
233
|
appear: !0,
|
|
233
|
-
in:
|
|
234
|
-
timeout:
|
|
234
|
+
in: S,
|
|
235
|
+
timeout: se,
|
|
235
236
|
role: "presentation"
|
|
236
|
-
},
|
|
237
|
-
children: /* @__PURE__ */
|
|
238
|
-
className:
|
|
239
|
-
onMouseDown:
|
|
240
|
-
ownerState:
|
|
241
|
-
children: /* @__PURE__ */
|
|
242
|
-
as:
|
|
237
|
+
}, fe, {
|
|
238
|
+
children: /* @__PURE__ */ n(i1, {
|
|
239
|
+
className: ve(I.container),
|
|
240
|
+
onMouseDown: me,
|
|
241
|
+
ownerState: U,
|
|
242
|
+
children: /* @__PURE__ */ n(s1, j({
|
|
243
|
+
as: O,
|
|
243
244
|
elevation: 24,
|
|
244
245
|
role: "dialog",
|
|
245
|
-
"aria-describedby":
|
|
246
|
-
"aria-labelledby":
|
|
247
|
-
},
|
|
248
|
-
className:
|
|
249
|
-
ownerState:
|
|
250
|
-
children: /* @__PURE__ */
|
|
251
|
-
value:
|
|
252
|
-
children:
|
|
246
|
+
"aria-describedby": a,
|
|
247
|
+
"aria-labelledby": K
|
|
248
|
+
}, B, {
|
|
249
|
+
className: ve(I.paper, B.className),
|
|
250
|
+
ownerState: U,
|
|
251
|
+
children: /* @__PURE__ */ n(Ue.Provider, {
|
|
252
|
+
value: xe,
|
|
253
|
+
children: C
|
|
253
254
|
})
|
|
254
255
|
}))
|
|
255
256
|
})
|
|
256
257
|
}))
|
|
257
258
|
}));
|
|
258
259
|
});
|
|
259
|
-
process.env.NODE_ENV !== "production" && (
|
|
260
|
+
process.env.NODE_ENV !== "production" && (_e.propTypes = {
|
|
260
261
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
261
262
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
262
263
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -388,21 +389,21 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
|
388
389
|
*/
|
|
389
390
|
TransitionProps: f.object
|
|
390
391
|
});
|
|
391
|
-
class
|
|
392
|
-
constructor(t,
|
|
393
|
-
super(), this.client = t, this.setOptions(
|
|
392
|
+
class a1 extends Mt {
|
|
393
|
+
constructor(t, o) {
|
|
394
|
+
super(), this.client = t, this.setOptions(o), this.bindMethods(), this.updateResult();
|
|
394
395
|
}
|
|
395
396
|
bindMethods() {
|
|
396
397
|
this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
|
|
397
398
|
}
|
|
398
399
|
setOptions(t) {
|
|
399
|
-
var
|
|
400
|
+
var o;
|
|
400
401
|
const r = this.options;
|
|
401
|
-
this.options = this.client.defaultMutationOptions(t),
|
|
402
|
+
this.options = this.client.defaultMutationOptions(t), Lt(r, this.options) || this.client.getMutationCache().notify({
|
|
402
403
|
type: "observerOptionsUpdated",
|
|
403
404
|
mutation: this.currentMutation,
|
|
404
405
|
observer: this
|
|
405
|
-
}), (
|
|
406
|
+
}), (o = this.currentMutation) == null || o.setOptions(this.options);
|
|
406
407
|
}
|
|
407
408
|
onUnsubscribe() {
|
|
408
409
|
if (!this.hasListeners()) {
|
|
@@ -412,10 +413,10 @@ class o1 extends wt {
|
|
|
412
413
|
}
|
|
413
414
|
onMutationUpdate(t) {
|
|
414
415
|
this.updateResult();
|
|
415
|
-
const
|
|
416
|
+
const o = {
|
|
416
417
|
listeners: !0
|
|
417
418
|
};
|
|
418
|
-
t.type === "success" ?
|
|
419
|
+
t.type === "success" ? o.onSuccess = !0 : t.type === "error" && (o.onError = !0), this.notify(o);
|
|
419
420
|
}
|
|
420
421
|
getCurrentResult() {
|
|
421
422
|
return this.currentResult;
|
|
@@ -425,13 +426,13 @@ class o1 extends wt {
|
|
|
425
426
|
listeners: !0
|
|
426
427
|
});
|
|
427
428
|
}
|
|
428
|
-
mutate(t,
|
|
429
|
-
return this.mutateOptions =
|
|
429
|
+
mutate(t, o) {
|
|
430
|
+
return this.mutateOptions = o, this.currentMutation && this.currentMutation.removeObserver(this), this.currentMutation = this.client.getMutationCache().build(this.client, L(w({}, this.options), {
|
|
430
431
|
variables: typeof t != "undefined" ? t : this.options.variables
|
|
431
432
|
})), this.currentMutation.addObserver(this), this.currentMutation.execute();
|
|
432
433
|
}
|
|
433
434
|
updateResult() {
|
|
434
|
-
const t = this.currentMutation ? this.currentMutation.state :
|
|
435
|
+
const t = this.currentMutation ? this.currentMutation.state : $t(), o = L(w({}, t), {
|
|
435
436
|
isLoading: t.status === "loading",
|
|
436
437
|
isSuccess: t.status === "success",
|
|
437
438
|
isError: t.status === "error",
|
|
@@ -439,77 +440,79 @@ class o1 extends wt {
|
|
|
439
440
|
mutate: this.mutate,
|
|
440
441
|
reset: this.reset
|
|
441
442
|
});
|
|
442
|
-
this.currentResult =
|
|
443
|
+
this.currentResult = o;
|
|
443
444
|
}
|
|
444
445
|
notify(t) {
|
|
445
|
-
|
|
446
|
+
Ze.batch(() => {
|
|
446
447
|
if (this.mutateOptions && this.hasListeners()) {
|
|
447
448
|
if (t.onSuccess) {
|
|
448
|
-
var
|
|
449
|
-
(
|
|
449
|
+
var o, r, i, s;
|
|
450
|
+
(o = (r = this.mutateOptions).onSuccess) == null || o.call(r, this.currentResult.data, this.currentResult.variables, this.currentResult.context), (i = (s = this.mutateOptions).onSettled) == null || i.call(s, this.currentResult.data, null, this.currentResult.variables, this.currentResult.context);
|
|
450
451
|
} else if (t.onError) {
|
|
451
|
-
var
|
|
452
|
-
(
|
|
452
|
+
var a, c, l, d;
|
|
453
|
+
(a = (c = this.mutateOptions).onError) == null || a.call(c, this.currentResult.error, this.currentResult.variables, this.currentResult.context), (l = (d = this.mutateOptions).onSettled) == null || l.call(d, void 0, this.currentResult.error, this.currentResult.variables, this.currentResult.context);
|
|
453
454
|
}
|
|
454
455
|
}
|
|
455
456
|
t.listeners && this.listeners.forEach(({
|
|
456
|
-
listener:
|
|
457
|
+
listener: C
|
|
457
458
|
}) => {
|
|
458
|
-
|
|
459
|
+
C(this.currentResult);
|
|
459
460
|
});
|
|
460
461
|
});
|
|
461
462
|
}
|
|
462
463
|
}
|
|
463
|
-
function
|
|
464
|
-
const r =
|
|
464
|
+
function Te(e, t, o) {
|
|
465
|
+
const r = Et(e, t), i = te({
|
|
465
466
|
context: r.context
|
|
466
|
-
}), [
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
}, [
|
|
470
|
-
const
|
|
471
|
-
|
|
472
|
-
}, [
|
|
473
|
-
if (
|
|
474
|
-
throw
|
|
475
|
-
return
|
|
467
|
+
}), [s] = Z.useState(() => new a1(i, r));
|
|
468
|
+
Z.useEffect(() => {
|
|
469
|
+
s.setOptions(r);
|
|
470
|
+
}, [s, r]);
|
|
471
|
+
const a = Tt(Z.useCallback((l) => s.subscribe(Ze.batchCalls(l)), [s]), () => s.getCurrentResult(), () => s.getCurrentResult()), c = Z.useCallback((l, d) => {
|
|
472
|
+
s.mutate(l, d).catch(l1);
|
|
473
|
+
}, [s]);
|
|
474
|
+
if (a.error && Rt(s.options.useErrorBoundary, [a.error]))
|
|
475
|
+
throw a.error;
|
|
476
|
+
return L(w({}, a), {
|
|
476
477
|
mutate: c,
|
|
477
|
-
mutateAsync:
|
|
478
|
+
mutateAsync: a.mutate
|
|
478
479
|
});
|
|
479
480
|
}
|
|
480
|
-
function
|
|
481
|
+
function l1() {
|
|
481
482
|
}
|
|
482
|
-
class
|
|
483
|
+
class c1 {
|
|
483
484
|
constructor(t) {
|
|
484
|
-
|
|
485
|
-
|
|
485
|
+
R(this, "httpClient");
|
|
486
|
+
R(this, "getChatContexts", () => G(this, null, function* () {
|
|
486
487
|
return (yield this.httpClient.get("api/datasources//")) || [];
|
|
487
488
|
}));
|
|
488
489
|
// ==== /v2/ai endpoints ====
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
`api/v2/ai/recommendations/query/${t}/${
|
|
490
|
+
R(this, "getNlgInsights", (t) => this.httpClient.post("api/v2/ai/nlg/queryResult", t));
|
|
491
|
+
R(this, "getQueryRecommendations", (t, o) => this.httpClient.get(
|
|
492
|
+
`api/v2/ai/recommendations/query/${t}/${o.numOfRecommendations}`
|
|
492
493
|
));
|
|
493
|
-
|
|
494
|
-
|
|
494
|
+
R(this, "getNlqResult", (t, o) => this.httpClient.post(`api/v2/ai/nlq/query/${t}`, o));
|
|
495
|
+
R(this, "setLlmConfig", (t) => this.httpClient.post("api/v2/settings/ai/llmProvider", t).catch((o) => {
|
|
496
|
+
console.error("Unable to set llm config", o);
|
|
495
497
|
}));
|
|
496
498
|
// ==== /v2/ai/chats endpoints ====
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
499
|
+
R(this, "getAllChats", () => this.httpClient.get("api/v2/ai/chats"));
|
|
500
|
+
R(this, "getChatById", (t) => this.httpClient.get(`api/v2/ai/chats/${t}`));
|
|
501
|
+
R(this, "createChat", (t) => this.httpClient.post("api/v2/ai/chats", { sourceId: t }));
|
|
502
|
+
R(this, "postChat", (t, o) => this.httpClient.post(`api/v2/ai/chats/${t}`, o));
|
|
503
|
+
R(this, "deleteChatHistory", (t) => this.httpClient.delete(`api/v2/ai/chats/${t}/history`));
|
|
504
|
+
R(this, "sendFeedback", (t) => this.httpClient.post("api/v2/ai/feedback", t));
|
|
503
505
|
// ==== misc endpoints ====
|
|
504
|
-
|
|
506
|
+
R(this, "getDataSourceFields", (t) => this.httpClient.post(
|
|
505
507
|
`api/datasources/${encodeURIComponent(t)}/fields/search`,
|
|
506
508
|
{
|
|
507
509
|
offset: 0,
|
|
508
510
|
count: 9999
|
|
509
511
|
}
|
|
510
512
|
));
|
|
511
|
-
|
|
512
|
-
|
|
513
|
+
R(this, "ai", {
|
|
514
|
+
getNlgInsights: this.getNlgInsights,
|
|
515
|
+
getNlqResult: this.getNlqResult,
|
|
513
516
|
getQueryRecommendations: this.getQueryRecommendations,
|
|
514
517
|
setLlmConfig: this.setLlmConfig,
|
|
515
518
|
sendFeedback: this.sendFeedback,
|
|
@@ -525,123 +528,159 @@ class r1 {
|
|
|
525
528
|
this.httpClient = t;
|
|
526
529
|
}
|
|
527
530
|
}
|
|
528
|
-
const
|
|
531
|
+
const d1 = new Nt({
|
|
529
532
|
defaultOptions: {
|
|
530
533
|
queries: {
|
|
531
534
|
refetchOnWindowFocus: !1,
|
|
532
535
|
refetchOnMount: !1
|
|
533
536
|
}
|
|
534
537
|
}
|
|
535
|
-
}),
|
|
536
|
-
const { app: t } =
|
|
537
|
-
return /* @__PURE__ */
|
|
538
|
+
}), Ke = Ge(void 0), P = () => je(Ke), u1 = ({ children: e }) => {
|
|
539
|
+
const { app: t } = It(), o = D(() => t ? new c1(t.httpClient) : void 0, [t]);
|
|
540
|
+
return /* @__PURE__ */ n(Ke.Provider, { value: o, children: /* @__PURE__ */ n(Ht, { client: d1, children: e }) });
|
|
538
541
|
};
|
|
539
|
-
function
|
|
540
|
-
return /* @__PURE__ */
|
|
542
|
+
function kn({ children: e }) {
|
|
543
|
+
return /* @__PURE__ */ n(u1, { children: e });
|
|
541
544
|
}
|
|
542
|
-
const
|
|
543
|
-
const
|
|
544
|
-
var
|
|
545
|
+
const ne = (e, t = !0) => {
|
|
546
|
+
const o = D(() => {
|
|
547
|
+
var C, u;
|
|
545
548
|
if ("jaql" in e)
|
|
546
549
|
return e;
|
|
547
550
|
{
|
|
548
|
-
const
|
|
551
|
+
const p = Ut(e.dataSource), { filters: m = [], relations: x } = Qt(e.filters), { metadata: M, filterRelations: y } = Bt(
|
|
549
552
|
{
|
|
550
553
|
dataSource: e.dataSource,
|
|
551
|
-
attributes: (
|
|
552
|
-
measures: (
|
|
554
|
+
attributes: (C = e.dimensions) != null ? C : [],
|
|
555
|
+
measures: (u = e.measures) != null ? u : [],
|
|
553
556
|
filters: m,
|
|
554
|
-
filterRelations:
|
|
557
|
+
filterRelations: x,
|
|
555
558
|
highlights: []
|
|
556
559
|
},
|
|
557
560
|
!0
|
|
558
561
|
);
|
|
559
562
|
return {
|
|
560
563
|
jaql: {
|
|
561
|
-
datasource:
|
|
562
|
-
metadata:
|
|
564
|
+
datasource: p,
|
|
565
|
+
metadata: M,
|
|
563
566
|
filterRelations: y
|
|
564
567
|
}
|
|
565
568
|
};
|
|
566
569
|
}
|
|
567
|
-
}, [e]), r =
|
|
568
|
-
queryKey: ["
|
|
569
|
-
queryFn: () => r == null ? void 0 : r.ai.
|
|
570
|
-
select: (
|
|
571
|
-
var
|
|
572
|
-
return (
|
|
570
|
+
}, [e]), r = P(), { data: i, error: s, isError: a, isLoading: c, isSuccess: l, refetch: d } = Q({
|
|
571
|
+
queryKey: ["getNlgInsights", o, r],
|
|
572
|
+
queryFn: () => r == null ? void 0 : r.ai.getNlgInsights(o),
|
|
573
|
+
select: (C) => {
|
|
574
|
+
var u;
|
|
575
|
+
return (u = C == null ? void 0 : C.data) == null ? void 0 : u.answer;
|
|
573
576
|
},
|
|
574
577
|
enabled: !!r && t
|
|
575
578
|
});
|
|
576
579
|
return {
|
|
577
580
|
isLoading: c,
|
|
578
|
-
isError:
|
|
581
|
+
isError: a,
|
|
579
582
|
isSuccess: l,
|
|
580
583
|
data: i,
|
|
581
|
-
error:
|
|
582
|
-
refetch:
|
|
584
|
+
error: s,
|
|
585
|
+
refetch: T(() => {
|
|
583
586
|
d();
|
|
584
587
|
}, [d])
|
|
585
588
|
};
|
|
586
|
-
},
|
|
587
|
-
const r = e, { enabled: t } = r,
|
|
588
|
-
return
|
|
589
|
-
},
|
|
590
|
-
|
|
591
|
-
),
|
|
589
|
+
}, Ye = (e) => {
|
|
590
|
+
const r = e, { enabled: t } = r, o = Pe(r, ["enabled"]);
|
|
591
|
+
return ne(o, t);
|
|
592
|
+
}, Sn = he("useGetNlgInsights")(
|
|
593
|
+
Ye
|
|
594
|
+
), Mn = he("useGetNlgQueryResult")(
|
|
595
|
+
Ye
|
|
596
|
+
), h1 = [
|
|
597
|
+
"indicator",
|
|
598
|
+
"column",
|
|
599
|
+
"line",
|
|
600
|
+
"table",
|
|
601
|
+
"pie",
|
|
602
|
+
"bar"
|
|
603
|
+
], p1 = (e) => {
|
|
604
|
+
const { dataSource: t, query: o, chartTypes: r } = e, i = typeof t == "string" ? t : t.title, s = P(), { isLoading: a, isError: c, isSuccess: l, data: d, error: C, refetch: u } = Q({
|
|
605
|
+
queryKey: ["getNlqResult", t, o, r, s],
|
|
606
|
+
queryFn: () => s == null ? void 0 : s.ai.getNlqResult(i, {
|
|
607
|
+
text: o,
|
|
608
|
+
// Per @Einat Shusterman: Timezone is not used by AI API, but it is currently required by the endpoint
|
|
609
|
+
timezone: "UTC",
|
|
610
|
+
chartTypes: r != null ? r : [...h1]
|
|
611
|
+
}),
|
|
612
|
+
enabled: !!s && e.enabled
|
|
613
|
+
}), p = d ? pe(d, {
|
|
614
|
+
useCustomizedStyleOptions: e.enableAxisTitlesInWidgetProps || !1
|
|
615
|
+
}) : void 0;
|
|
616
|
+
return {
|
|
617
|
+
isLoading: a,
|
|
618
|
+
isError: c,
|
|
619
|
+
isSuccess: l,
|
|
620
|
+
data: p,
|
|
621
|
+
error: C,
|
|
622
|
+
refetch: T(() => {
|
|
623
|
+
u();
|
|
624
|
+
}, [u])
|
|
625
|
+
};
|
|
626
|
+
}, Ln = he("useGetNlqResult")(p1), Je = (e) => {
|
|
627
|
+
const { contextTitle: t, count: o, enableAxisTitlesInWidgetProps: r, enabled: i } = e, s = P(), a = o != null ? o : 4, c = (i === void 0 || i === !0) && a > 0, { isLoading: l, isError: d, isSuccess: C, data: u, error: p, refetch: m } = Q({
|
|
628
|
+
queryKey: ["getQueryRecommendations", t, a, s],
|
|
629
|
+
queryFn: () => s == null ? void 0 : s.ai.getQueryRecommendations(t, {
|
|
630
|
+
numOfRecommendations: a
|
|
631
|
+
}),
|
|
632
|
+
enabled: !!s && c
|
|
633
|
+
});
|
|
634
|
+
return u == null || u.map((x) => {
|
|
635
|
+
x.widgetProps = x.jaql ? pe(x, {
|
|
636
|
+
useCustomizedStyleOptions: r
|
|
637
|
+
}) : void 0;
|
|
638
|
+
}), {
|
|
639
|
+
isLoading: c ? l : !1,
|
|
640
|
+
isError: d,
|
|
641
|
+
isSuccess: C,
|
|
642
|
+
data: u != null ? u : void 0,
|
|
643
|
+
error: p,
|
|
644
|
+
refetch: T(() => {
|
|
645
|
+
m();
|
|
646
|
+
}, [m])
|
|
647
|
+
};
|
|
648
|
+
}, $n = he("useGetQueryRecommendations")(
|
|
649
|
+
Je
|
|
650
|
+
), Xe = Object.freeze({
|
|
592
651
|
enableFollowupQuestions: !1,
|
|
593
652
|
enableHeader: !0,
|
|
594
653
|
enableInsights: !0,
|
|
595
654
|
numOfRecommendations: 4,
|
|
596
655
|
numOfRecentPrompts: 5
|
|
597
|
-
}),
|
|
598
|
-
const { t:
|
|
599
|
-
(i, [
|
|
600
|
-
|
|
601
|
-
inputPromptText:
|
|
602
|
-
welcomeText:
|
|
603
|
-
suggestionsWelcomeText:
|
|
656
|
+
}), et = Ge(w({}, Xe)), W = () => je(et), g1 = ({ children: e, value: t }) => {
|
|
657
|
+
const { t: o } = k(), r = Object.entries(t).reduce(
|
|
658
|
+
(i, [s, a]) => (a !== void 0 && (i[s] = a), i),
|
|
659
|
+
L(w({}, Xe), {
|
|
660
|
+
inputPromptText: o("ai.config.inputPromptText"),
|
|
661
|
+
welcomeText: o("ai.config.welcomeText"),
|
|
662
|
+
suggestionsWelcomeText: o("ai.config.suggestionsWelcomeText")
|
|
604
663
|
})
|
|
605
664
|
);
|
|
606
|
-
return /* @__PURE__ */
|
|
607
|
-
},
|
|
608
|
-
const
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
}),
|
|
613
|
-
enabled: !!r && s
|
|
614
|
-
});
|
|
615
|
-
return {
|
|
616
|
-
isLoading: s ? c : !1,
|
|
617
|
-
isError: s ? l : !1,
|
|
618
|
-
isSuccess: s ? d : !1,
|
|
619
|
-
data: s && p ? p : [],
|
|
620
|
-
error: s ? g : null,
|
|
621
|
-
refetch: E(() => {
|
|
622
|
-
s && C();
|
|
623
|
-
}, [C, s])
|
|
624
|
-
};
|
|
625
|
-
}, xn = Oe("useGetQueryRecommendations")(
|
|
626
|
-
Je
|
|
627
|
-
), Se = "chatHistory", c1 = (e) => {
|
|
628
|
-
const t = W(), { hideHistory: n } = P();
|
|
629
|
-
return Y({
|
|
630
|
-
queryKey: [Se, e, t],
|
|
631
|
-
queryFn: () => Q(void 0, null, function* () {
|
|
665
|
+
return /* @__PURE__ */ n(et.Provider, { value: r, children: e });
|
|
666
|
+
}, Re = "chatHistory", C1 = (e) => {
|
|
667
|
+
const t = P(), { hideHistory: o } = W();
|
|
668
|
+
return Q({
|
|
669
|
+
queryKey: [Re, e, t],
|
|
670
|
+
queryFn: () => G(void 0, null, function* () {
|
|
632
671
|
if (!t || !e)
|
|
633
672
|
return;
|
|
634
|
-
if (
|
|
673
|
+
if (o)
|
|
635
674
|
return [];
|
|
636
675
|
const r = yield t.ai.chat.getById(e);
|
|
637
676
|
return r == null ? void 0 : r.chatHistory;
|
|
638
677
|
}),
|
|
639
678
|
enabled: !!t && !!e
|
|
640
679
|
});
|
|
641
|
-
},
|
|
642
|
-
const t =
|
|
643
|
-
return
|
|
644
|
-
mutationFn: () =>
|
|
680
|
+
}, tt = (e) => {
|
|
681
|
+
const t = P(), o = te();
|
|
682
|
+
return Te({
|
|
683
|
+
mutationFn: () => G(void 0, null, function* () {
|
|
645
684
|
if (!(!t || !e))
|
|
646
685
|
return t.ai.chat.clearHistory(e);
|
|
647
686
|
}),
|
|
@@ -649,50 +688,50 @@ const he = (e, t = !0) => {
|
|
|
649
688
|
console.error("Error when clearing history:", r);
|
|
650
689
|
},
|
|
651
690
|
onSettled: () => {
|
|
652
|
-
e &&
|
|
691
|
+
e && o.setQueriesData([Re, e], []);
|
|
653
692
|
}
|
|
654
693
|
});
|
|
655
|
-
},
|
|
656
|
-
const { data: t, isLoading:
|
|
657
|
-
return
|
|
694
|
+
}, ot = (e) => {
|
|
695
|
+
const { data: t, isLoading: o, isError: r } = C1(e), { mutate: i } = tt(e);
|
|
696
|
+
return oe(() => {
|
|
658
697
|
r && i();
|
|
659
698
|
}, [r, i]), {
|
|
660
699
|
history: t,
|
|
661
|
-
isLoading:
|
|
700
|
+
isLoading: o,
|
|
662
701
|
isError: r
|
|
663
702
|
};
|
|
664
|
-
},
|
|
665
|
-
const e =
|
|
703
|
+
}, nt = () => {
|
|
704
|
+
const e = P(), { data: t, isLoading: o, fetchStatus: r } = Q({
|
|
666
705
|
queryKey: ["getDataTopics", e],
|
|
667
|
-
queryFn: () =>
|
|
706
|
+
queryFn: () => G(void 0, null, function* () {
|
|
668
707
|
if (e)
|
|
669
708
|
return e.getChatContexts();
|
|
670
709
|
}),
|
|
671
710
|
enabled: !!e
|
|
672
711
|
});
|
|
673
|
-
return { data: t, isLoading:
|
|
674
|
-
},
|
|
675
|
-
const e =
|
|
712
|
+
return { data: t, isLoading: o, fetchStatus: r };
|
|
713
|
+
}, rt = () => {
|
|
714
|
+
const e = P(), { data: t, isLoading: o } = Q({
|
|
676
715
|
queryKey: ["getAllChats", e],
|
|
677
716
|
queryFn: () => e == null ? void 0 : e.ai.chat.getAll(),
|
|
678
717
|
enabled: !!e
|
|
679
718
|
});
|
|
680
719
|
return {
|
|
681
720
|
data: t != null ? t : [],
|
|
682
|
-
isLoading:
|
|
721
|
+
isLoading: o
|
|
683
722
|
};
|
|
684
|
-
},
|
|
685
|
-
const
|
|
686
|
-
mutationFn: () =>
|
|
723
|
+
}, f1 = (e, t) => {
|
|
724
|
+
const o = te(), r = P(), i = Te({
|
|
725
|
+
mutationFn: () => G(void 0, null, function* () {
|
|
687
726
|
if (!(!r || !e))
|
|
688
727
|
return r.ai.chat.create(e);
|
|
689
728
|
}),
|
|
690
|
-
onSuccess: () =>
|
|
729
|
+
onSuccess: () => o.invalidateQueries(["getAllChats"])
|
|
691
730
|
});
|
|
692
|
-
return
|
|
731
|
+
return oe(() => {
|
|
693
732
|
t && i.isIdle && i.mutate();
|
|
694
733
|
}, [t, i]), i;
|
|
695
|
-
},
|
|
734
|
+
}, m1 = (e, t) => {
|
|
696
735
|
switch (e.responseType = e.responseType.toLowerCase(), e.responseType) {
|
|
697
736
|
case "nlq":
|
|
698
737
|
return {
|
|
@@ -709,29 +748,31 @@ const he = (e, t = !0) => {
|
|
|
709
748
|
default:
|
|
710
749
|
throw Error(`${t}${JSON.stringify(e)}`);
|
|
711
750
|
}
|
|
712
|
-
},
|
|
713
|
-
const
|
|
751
|
+
}, b1 = (e, t) => {
|
|
752
|
+
const o = te(), r = T(
|
|
714
753
|
(l) => {
|
|
715
|
-
e &&
|
|
754
|
+
e && o.setQueriesData([Re, e], (d) => d && [...d, l]);
|
|
716
755
|
},
|
|
717
|
-
[
|
|
718
|
-
), {
|
|
719
|
-
mutationFn: (l) =>
|
|
720
|
-
if (!(!
|
|
721
|
-
return
|
|
756
|
+
[o, e]
|
|
757
|
+
), { t: i } = k(), s = P(), { mutate: a, isLoading: c } = Te({
|
|
758
|
+
mutationFn: (l) => G(void 0, null, function* () {
|
|
759
|
+
if (!(!s || !e))
|
|
760
|
+
return s.ai.chat.post(e, {
|
|
722
761
|
text: l,
|
|
723
|
-
options: { enableFollowup:
|
|
762
|
+
options: { enableFollowup: t }
|
|
724
763
|
});
|
|
725
764
|
}),
|
|
726
765
|
onMutate: (l) => {
|
|
727
|
-
|
|
766
|
+
r({
|
|
728
767
|
content: l,
|
|
729
768
|
role: "user"
|
|
730
769
|
});
|
|
731
770
|
},
|
|
732
771
|
onError: (l) => {
|
|
733
|
-
l instanceof Error && (console.error("Error when sending message:", l.message),
|
|
734
|
-
content: i(
|
|
772
|
+
l instanceof Error && (console.error("Error when sending message:", l.message), r({
|
|
773
|
+
content: i(`ai.errors.${l.interpolationOptions.errorCode}`, {
|
|
774
|
+
defaultValue: i("ai.errors.unexpectedChatResponse")
|
|
775
|
+
}),
|
|
735
776
|
role: "assistant"
|
|
736
777
|
}));
|
|
737
778
|
},
|
|
@@ -739,61 +780,64 @@ const he = (e, t = !0) => {
|
|
|
739
780
|
if (!l)
|
|
740
781
|
return;
|
|
741
782
|
const d = i("ai.errors.unknownResponse");
|
|
742
|
-
|
|
783
|
+
r(m1(l, d));
|
|
743
784
|
}
|
|
744
785
|
});
|
|
745
|
-
return { mutate:
|
|
746
|
-
},
|
|
747
|
-
var
|
|
748
|
-
const { t } =
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
), { history:
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
}, [
|
|
755
|
-
const { mutate:
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
786
|
+
return { mutate: a, isLoading: c };
|
|
787
|
+
}, Ee = (e) => !!e && "type" in e && e.type === "nlq", x1 = (e) => !!e && "type" in e && e.type === "text", y1 = (e) => {
|
|
788
|
+
var O, B;
|
|
789
|
+
const { t } = k(), { enableFollowupQuestions: o } = W(), { data: r, isLoading: i } = nt(), { data: s, isLoading: a } = rt(), c = (O = r == null ? void 0 : r.find((F) => F.title === e)) == null ? void 0 : O.title, l = (B = s.find((F) => F.contextTitle === c)) == null ? void 0 : B.chatId, d = i || !!c, C = a || !!l, [u, p] = $(null), { isError: m } = f1(
|
|
790
|
+
c,
|
|
791
|
+
d && !C
|
|
792
|
+
), { history: x, isLoading: M, isError: y } = ot(l);
|
|
793
|
+
oe(() => {
|
|
794
|
+
m ? p(new ke("ai.errors.chatUnavailable")) : y && p(new ke("ai.errors.fetchHistory"));
|
|
795
|
+
}, [m, y, t]);
|
|
796
|
+
const { mutate: q, isLoading: N } = b1(
|
|
797
|
+
l,
|
|
798
|
+
o
|
|
799
|
+
), S = D(() => {
|
|
800
|
+
if (x != null && x.length) {
|
|
801
|
+
const F = x[x.length - 1];
|
|
802
|
+
if (Ee(F))
|
|
803
|
+
return JSON.parse(F.content);
|
|
760
804
|
}
|
|
761
805
|
return null;
|
|
762
|
-
}, [
|
|
806
|
+
}, [x]);
|
|
763
807
|
return {
|
|
764
|
-
chatId:
|
|
765
|
-
history:
|
|
766
|
-
lastNlqResponse:
|
|
767
|
-
sendMessage:
|
|
768
|
-
isAwaitingResponse:
|
|
769
|
-
isLoading:
|
|
770
|
-
lastError:
|
|
808
|
+
chatId: l,
|
|
809
|
+
history: x != null ? x : [],
|
|
810
|
+
lastNlqResponse: S,
|
|
811
|
+
sendMessage: q,
|
|
812
|
+
isAwaitingResponse: N,
|
|
813
|
+
isLoading: M,
|
|
814
|
+
lastError: u
|
|
771
815
|
};
|
|
772
|
-
},
|
|
816
|
+
}, Tn = ({
|
|
773
817
|
contextTitle: e
|
|
774
818
|
}) => {
|
|
775
819
|
var i;
|
|
776
|
-
const { data: t } =
|
|
777
|
-
return
|
|
820
|
+
const { data: t } = rt(), o = (i = t.find((s) => s.contextTitle === e)) == null ? void 0 : i.chatId, { history: r } = ot(o);
|
|
821
|
+
return D(() => {
|
|
778
822
|
if (r != null && r.length) {
|
|
779
|
-
const
|
|
780
|
-
if (
|
|
781
|
-
return JSON.parse(
|
|
823
|
+
const s = r[r.length - 1];
|
|
824
|
+
if (Ee(s))
|
|
825
|
+
return JSON.parse(s.content);
|
|
782
826
|
}
|
|
783
827
|
return null;
|
|
784
828
|
}, [r]);
|
|
785
|
-
},
|
|
786
|
-
const t =
|
|
829
|
+
}, Rn = (e) => {
|
|
830
|
+
const t = P(), { data: o, isLoading: r } = Q({
|
|
787
831
|
queryKey: ["getDataSourceFields", e, t],
|
|
788
832
|
queryFn: () => e ? t == null ? void 0 : t.ai.getDataSourceFields(e) : void 0,
|
|
789
833
|
select: (i) => i,
|
|
790
834
|
enabled: !!t && !!e
|
|
791
835
|
});
|
|
792
836
|
return {
|
|
793
|
-
data:
|
|
837
|
+
data: o,
|
|
794
838
|
isLoading: r
|
|
795
839
|
};
|
|
796
|
-
},
|
|
840
|
+
}, v1 = 500, w1 = 500, k1 = 500, S1 = 900, M1 = h.div`
|
|
797
841
|
box-sizing: border-box;
|
|
798
842
|
position: relative;
|
|
799
843
|
display: flex;
|
|
@@ -803,22 +847,22 @@ const he = (e, t = !0) => {
|
|
|
803
847
|
background-color: ${({ theme: e }) => e.aiChat.backgroundColor};
|
|
804
848
|
overflow: hidden;
|
|
805
849
|
|
|
806
|
-
min-width: ${
|
|
807
|
-
min-height: ${
|
|
808
|
-
width: ${({ width: e }) => e ?
|
|
809
|
-
height: ${({ height: e }) => e ?
|
|
850
|
+
min-width: ${v1}px;
|
|
851
|
+
min-height: ${w1}px;
|
|
852
|
+
width: ${({ width: e }) => e ? Oe(e) : `${k1}px`};
|
|
853
|
+
height: ${({ height: e }) => e ? Oe(e) : `${S1}px`};
|
|
810
854
|
|
|
811
|
-
${({ theme: e }) =>
|
|
855
|
+
${({ theme: e }) => E`
|
|
812
856
|
font-size: ${e.aiChat.primaryFontSize[0]};
|
|
813
857
|
line-height: ${e.aiChat.primaryFontSize[1]};
|
|
814
858
|
`}
|
|
815
859
|
border: ${({ theme: e }) => e.aiChat.border === !1 ? "none" : e.aiChat.border};
|
|
816
860
|
`;
|
|
817
|
-
function
|
|
861
|
+
function Oe(e) {
|
|
818
862
|
return typeof e == "number" ? `${e}px` : e;
|
|
819
863
|
}
|
|
820
|
-
function
|
|
821
|
-
return /* @__PURE__ */
|
|
864
|
+
function L1({ spin: e }) {
|
|
865
|
+
return /* @__PURE__ */ g(
|
|
822
866
|
"svg",
|
|
823
867
|
{
|
|
824
868
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -828,7 +872,7 @@ function y1({ spin: e }) {
|
|
|
828
872
|
fill: "none",
|
|
829
873
|
className: `${e ? "csdk-animate-spin" : ""}`,
|
|
830
874
|
children: [
|
|
831
|
-
/* @__PURE__ */
|
|
875
|
+
/* @__PURE__ */ n(
|
|
832
876
|
"path",
|
|
833
877
|
{
|
|
834
878
|
fillRule: "evenodd",
|
|
@@ -838,7 +882,7 @@ function y1({ spin: e }) {
|
|
|
838
882
|
fillOpacity: "0.3"
|
|
839
883
|
}
|
|
840
884
|
),
|
|
841
|
-
/* @__PURE__ */
|
|
885
|
+
/* @__PURE__ */ n(
|
|
842
886
|
"path",
|
|
843
887
|
{
|
|
844
888
|
fillRule: "evenodd",
|
|
@@ -851,11 +895,11 @@ function y1({ spin: e }) {
|
|
|
851
895
|
}
|
|
852
896
|
);
|
|
853
897
|
}
|
|
854
|
-
function
|
|
855
|
-
return /* @__PURE__ */
|
|
898
|
+
function ge() {
|
|
899
|
+
return /* @__PURE__ */ n("div", { className: "csdk-m-auto", "aria-label": "loading spinner", children: /* @__PURE__ */ n(L1, { spin: !0 }) });
|
|
856
900
|
}
|
|
857
|
-
function
|
|
858
|
-
return /* @__PURE__ */
|
|
901
|
+
function $1({ theme: e }) {
|
|
902
|
+
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(
|
|
859
903
|
"path",
|
|
860
904
|
{
|
|
861
905
|
d: "M4 14L0 10L24 0L14 24L10 20L8.47667 16.9533L19 6.4L20 4.00001L17.6099 5L7.04354 15.5218L4 14Z",
|
|
@@ -863,24 +907,24 @@ function v1({ theme: e }) {
|
|
|
863
907
|
}
|
|
864
908
|
) });
|
|
865
909
|
}
|
|
866
|
-
function
|
|
910
|
+
function T1({ theme: e }) {
|
|
867
911
|
const t = e.aiChat.icons.color;
|
|
868
|
-
return /* @__PURE__ */
|
|
869
|
-
/* @__PURE__ */
|
|
912
|
+
return /* @__PURE__ */ g("svg", { xmlns: "http://www.w3.org/2000/svg", width: "25", height: "25", viewBox: "0 0 25 25", fill: "none", children: [
|
|
913
|
+
/* @__PURE__ */ n(
|
|
870
914
|
"path",
|
|
871
915
|
{
|
|
872
916
|
d: "M21.4095 11.1195L12.5644 6.0459C12.3247 5.90841 12.0189 5.99143 11.8816 6.23128L10.764 8.18434C10.6275 8.42284 10.709 8.72678 10.9466 8.86491L19.7108 13.9614C19.9464 14.0984 20.2483 14.0215 20.3897 13.7884L21.5883 11.8125C21.734 11.5723 21.6532 11.2592 21.4095 11.1195Z",
|
|
873
917
|
fill: t
|
|
874
918
|
}
|
|
875
919
|
),
|
|
876
|
-
/* @__PURE__ */
|
|
920
|
+
/* @__PURE__ */ n(
|
|
877
921
|
"path",
|
|
878
922
|
{
|
|
879
923
|
d: "M18.7329 8.60735L16.1048 7.07819L19.6668 0.928042C19.8041 0.6909 20.1068 0.608502 20.3454 0.743288L22.156 1.7661C22.3992 1.90347 22.4827 2.21344 22.3414 2.45438L18.7329 8.60735Z",
|
|
880
924
|
fill: t
|
|
881
925
|
}
|
|
882
926
|
),
|
|
883
|
-
/* @__PURE__ */
|
|
927
|
+
/* @__PURE__ */ n(
|
|
884
928
|
"path",
|
|
885
929
|
{
|
|
886
930
|
d: "M19.8544 14.9048L10.3563 9.43067C10.2184 9.35116 10.0413 9.39515 9.95275 9.52746C7.03423 13.8862 4.07448 15.2337 3.18167 16.0938C3.09276 16.1794 3.08414 16.3141 3.1538 16.416C3.74961 17.2879 5.10497 18.4425 6.05628 19.2048C6.17328 19.2985 6.34145 19.2903 6.44961 19.1865L9.97994 15.7973L7.69329 20.1066C7.61954 20.2456 7.66674 20.4186 7.80041 20.5017C11.6152 22.8708 14.2978 24.0437 16.9604 24.4472C17.1542 24.4766 17.3191 24.3106 17.3033 24.1152C17.007 20.469 19.0807 16.6112 19.8544 14.9048Z",
|
|
@@ -889,11 +933,11 @@ function w1({ theme: e }) {
|
|
|
889
933
|
)
|
|
890
934
|
] });
|
|
891
935
|
}
|
|
892
|
-
const
|
|
936
|
+
const R1 = h.div`
|
|
893
937
|
display: flex;
|
|
894
938
|
flex-direction: column;
|
|
895
939
|
row-gap: 4px;
|
|
896
|
-
`,
|
|
940
|
+
`, E1 = h.div`
|
|
897
941
|
font-size: 11px;
|
|
898
942
|
line-height: 18px;
|
|
899
943
|
font-weight: 300;
|
|
@@ -903,7 +947,7 @@ const k1 = u.div`
|
|
|
903
947
|
&:hover {
|
|
904
948
|
background-color: ${({ theme: e }) => e.aiChat.dropup.headers.hover.backgroundColor};
|
|
905
949
|
}
|
|
906
|
-
`,
|
|
950
|
+
`, N1 = h.div`
|
|
907
951
|
font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
|
|
908
952
|
line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
|
|
909
953
|
color: ${({ theme: e }) => e.aiChat.dropup.items.textColor};
|
|
@@ -913,19 +957,19 @@ const k1 = u.div`
|
|
|
913
957
|
background-color: ${({ theme: e }) => e.aiChat.dropup.items.hover.backgroundColor};
|
|
914
958
|
}
|
|
915
959
|
`;
|
|
916
|
-
function
|
|
960
|
+
function I1({
|
|
917
961
|
title: e,
|
|
918
962
|
items: t,
|
|
919
|
-
onSelect:
|
|
963
|
+
onSelect: o,
|
|
920
964
|
alwaysExpanded: r = !1
|
|
921
965
|
}) {
|
|
922
|
-
const [i,
|
|
923
|
-
return /* @__PURE__ */
|
|
924
|
-
/* @__PURE__ */
|
|
925
|
-
(i || r) && t.map((c, l) => /* @__PURE__ */
|
|
966
|
+
const [i, s] = $(!1), { themeSettings: a } = b();
|
|
967
|
+
return /* @__PURE__ */ g(R1, { children: [
|
|
968
|
+
/* @__PURE__ */ n(E1, { onClick: () => s((c) => !c), theme: a, children: e.toUpperCase() }),
|
|
969
|
+
(i || r) && t.map((c, l) => /* @__PURE__ */ n(N1, { onClick: () => o(c), theme: a, children: c }, l))
|
|
926
970
|
] });
|
|
927
971
|
}
|
|
928
|
-
const
|
|
972
|
+
const H1 = h.div`
|
|
929
973
|
font-family: ${({ theme: e }) => e.typography.fontFamily};
|
|
930
974
|
font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
|
|
931
975
|
line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
|
|
@@ -937,20 +981,20 @@ const L1 = u.div`
|
|
|
937
981
|
display: flex;
|
|
938
982
|
flex-direction: column;
|
|
939
983
|
row-gap: 4px;
|
|
940
|
-
`,
|
|
984
|
+
`, B1 = h.div`
|
|
941
985
|
font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
|
|
942
986
|
line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
|
|
943
987
|
color: ${({ theme: e }) => e.aiChat.dropup.items.textColor};
|
|
944
988
|
padding: 4px 12px;
|
|
945
|
-
`,
|
|
946
|
-
function
|
|
989
|
+
`, Me = (e) => e.startsWith("/");
|
|
990
|
+
function F1({
|
|
947
991
|
recentPrompts: e,
|
|
948
992
|
suggestions: t,
|
|
949
|
-
isLoading:
|
|
993
|
+
isLoading: o,
|
|
950
994
|
onSelection: r,
|
|
951
995
|
anchorEl: i,
|
|
952
|
-
text:
|
|
953
|
-
recommendationsError:
|
|
996
|
+
text: s,
|
|
997
|
+
recommendationsError: a
|
|
954
998
|
}) {
|
|
955
999
|
const l = [
|
|
956
1000
|
{
|
|
@@ -964,12 +1008,12 @@ function T1({
|
|
|
964
1008
|
onSelect: r
|
|
965
1009
|
}
|
|
966
1010
|
].filter(
|
|
967
|
-
(
|
|
968
|
-
), { themeSettings: d } = b(), { t:
|
|
969
|
-
return /* @__PURE__ */
|
|
970
|
-
|
|
1011
|
+
(p) => p.title.slice(0, s.length) === s
|
|
1012
|
+
), { themeSettings: d } = b(), { t: C } = k(), u = l.length === 1;
|
|
1013
|
+
return /* @__PURE__ */ n(
|
|
1014
|
+
ze,
|
|
971
1015
|
{
|
|
972
|
-
open:
|
|
1016
|
+
open: Me(s) && l.length > 0,
|
|
973
1017
|
anchorEl: i,
|
|
974
1018
|
placement: "top-start",
|
|
975
1019
|
modifiers: [
|
|
@@ -981,18 +1025,18 @@ function T1({
|
|
|
981
1025
|
}
|
|
982
1026
|
],
|
|
983
1027
|
sx: { zIndex: 3 },
|
|
984
|
-
children: /* @__PURE__ */
|
|
985
|
-
|
|
986
|
-
!
|
|
987
|
-
|
|
1028
|
+
children: /* @__PURE__ */ g(H1, { style: { width: i == null ? void 0 : i.offsetWidth }, theme: d, children: [
|
|
1029
|
+
o && /* @__PURE__ */ n(ge, {}),
|
|
1030
|
+
!o && !a && l.map((p) => /* @__PURE__ */ n(I1, L(w({}, p), { alwaysExpanded: u }), p.title)),
|
|
1031
|
+
a && /* @__PURE__ */ n(B1, { theme: d, children: C("ai.errors.recommendationsNotAvailable") })
|
|
988
1032
|
] })
|
|
989
1033
|
}
|
|
990
1034
|
);
|
|
991
1035
|
}
|
|
992
|
-
function re({ title: e, placement: t = "top", children:
|
|
1036
|
+
function re({ title: e, placement: t = "top", children: o }) {
|
|
993
1037
|
const { themeSettings: r } = b();
|
|
994
|
-
return /* @__PURE__ */
|
|
995
|
-
|
|
1038
|
+
return /* @__PURE__ */ n(
|
|
1039
|
+
Ft,
|
|
996
1040
|
{
|
|
997
1041
|
title: e,
|
|
998
1042
|
placement: t,
|
|
@@ -1018,23 +1062,23 @@ function re({ title: e, placement: t = "top", children: n }) {
|
|
|
1018
1062
|
}
|
|
1019
1063
|
},
|
|
1020
1064
|
arrow: !0,
|
|
1021
|
-
children:
|
|
1065
|
+
children: o
|
|
1022
1066
|
}
|
|
1023
1067
|
);
|
|
1024
1068
|
}
|
|
1025
|
-
const
|
|
1069
|
+
const D1 = 500, P1 = h.div`
|
|
1026
1070
|
display: flex;
|
|
1027
1071
|
flex-direction: row;
|
|
1028
1072
|
align-items: flex-end;
|
|
1029
1073
|
justify-content: space-between;
|
|
1030
1074
|
|
|
1031
1075
|
background-color: ${({ theme: e }) => e.aiChat.backgroundColor};
|
|
1032
|
-
`,
|
|
1076
|
+
`, O1 = h.button`
|
|
1033
1077
|
height: 34px;
|
|
1034
1078
|
background-color: inherit;
|
|
1035
1079
|
cursor: pointer;
|
|
1036
1080
|
border: none;
|
|
1037
|
-
`,
|
|
1081
|
+
`, W1 = h.textarea`
|
|
1038
1082
|
font-size: inherit;
|
|
1039
1083
|
line-height: inherit;
|
|
1040
1084
|
resize: none;
|
|
@@ -1062,126 +1106,126 @@ const E1 = 500, H1 = u.div`
|
|
|
1062
1106
|
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
1063
1107
|
|
|
1064
1108
|
background-color: ${({ theme: e }) => e.aiChat.input.backgroundColor};
|
|
1065
|
-
`,
|
|
1109
|
+
`, q1 = h.button`
|
|
1066
1110
|
height: 34px;
|
|
1067
1111
|
background-color: inherit;
|
|
1068
1112
|
border-style: none;
|
|
1069
1113
|
|
|
1070
1114
|
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
1071
1115
|
|
|
1072
|
-
${({ disabled: e }) => e ?
|
|
1116
|
+
${({ disabled: e }) => e ? E`
|
|
1073
1117
|
opacity: 0.3;
|
|
1074
1118
|
cursor: not-allowed;
|
|
1075
|
-
` :
|
|
1119
|
+
` : E`
|
|
1076
1120
|
opacity: 1;
|
|
1077
1121
|
cursor: pointer;
|
|
1078
1122
|
`}
|
|
1079
|
-
`,
|
|
1080
|
-
function
|
|
1123
|
+
`, A1 = 34;
|
|
1124
|
+
function Z1({
|
|
1081
1125
|
onSendMessage: e,
|
|
1082
1126
|
onClearHistoryClick: t,
|
|
1083
|
-
disabled:
|
|
1127
|
+
disabled: o,
|
|
1084
1128
|
recentPrompts: r,
|
|
1085
1129
|
suggestions: i,
|
|
1086
|
-
isLoading:
|
|
1087
|
-
recommendationsError:
|
|
1130
|
+
isLoading: s,
|
|
1131
|
+
recommendationsError: a,
|
|
1088
1132
|
onChange: c
|
|
1089
1133
|
}) {
|
|
1090
|
-
const [l, d] =
|
|
1091
|
-
if (
|
|
1134
|
+
const [l, d] = $(""), { inputPromptText: C } = W(), u = T(() => {
|
|
1135
|
+
if (o)
|
|
1092
1136
|
return;
|
|
1093
|
-
if (
|
|
1137
|
+
if (Me(l)) {
|
|
1094
1138
|
d("");
|
|
1095
1139
|
return;
|
|
1096
1140
|
}
|
|
1097
|
-
const
|
|
1098
|
-
|
|
1099
|
-
}, [
|
|
1100
|
-
(
|
|
1101
|
-
e(
|
|
1141
|
+
const S = l.trim();
|
|
1142
|
+
S.length !== 0 && (e(S), d(""));
|
|
1143
|
+
}, [o, e, l]), p = T(
|
|
1144
|
+
(S) => {
|
|
1145
|
+
e(S), d("");
|
|
1102
1146
|
},
|
|
1103
1147
|
[e]
|
|
1104
|
-
), m =
|
|
1105
|
-
(
|
|
1106
|
-
|
|
1148
|
+
), m = T(
|
|
1149
|
+
(S) => {
|
|
1150
|
+
S.key === "Enter" ? (S.preventDefault(), u()) : S.key === "Escape" && Me(l) && d("");
|
|
1107
1151
|
},
|
|
1108
|
-
[
|
|
1109
|
-
),
|
|
1110
|
-
(
|
|
1111
|
-
c == null || c(
|
|
1152
|
+
[u, l]
|
|
1153
|
+
), x = T(
|
|
1154
|
+
(S) => {
|
|
1155
|
+
c == null || c(S.target.value), d(S.target.value);
|
|
1112
1156
|
},
|
|
1113
1157
|
[c]
|
|
1114
|
-
),
|
|
1158
|
+
), M = J(null);
|
|
1115
1159
|
ce(() => {
|
|
1116
|
-
|
|
1117
|
-
|
|
1160
|
+
M.current && (M.current.style.height = "inherit", M.current.style.height = `${Math.max(
|
|
1161
|
+
M.current.scrollHeight + 2,
|
|
1118
1162
|
// account for 1px top/bottom border
|
|
1119
|
-
|
|
1163
|
+
A1
|
|
1120
1164
|
)}px`);
|
|
1121
1165
|
}, [l]), ce(() => {
|
|
1122
|
-
|
|
1166
|
+
M.current && M.current.focus({ preventScroll: !0 });
|
|
1123
1167
|
}, []);
|
|
1124
|
-
const { themeSettings: y } = b(), { t:
|
|
1125
|
-
var
|
|
1126
|
-
if ((
|
|
1127
|
-
const
|
|
1128
|
-
var
|
|
1129
|
-
document.removeEventListener("mouseup",
|
|
1168
|
+
const { themeSettings: y } = b(), { t: q } = k(), N = T((S) => {
|
|
1169
|
+
var O;
|
|
1170
|
+
if ((O = document.getElementById("csdk-chatbot-frame")) != null && O.contains(S.relatedTarget)) {
|
|
1171
|
+
const B = (F) => {
|
|
1172
|
+
var V;
|
|
1173
|
+
document.removeEventListener("mouseup", B), document.removeEventListener("keyup", B), F.type === "mouseup" && ((V = document.getSelection()) == null ? void 0 : V.type) !== "Range" && S.target.focus({ preventScroll: !0 });
|
|
1130
1174
|
};
|
|
1131
|
-
document.addEventListener("mouseup",
|
|
1175
|
+
document.addEventListener("mouseup", B), document.addEventListener("keyup", B);
|
|
1132
1176
|
}
|
|
1133
1177
|
}, []);
|
|
1134
|
-
return /* @__PURE__ */
|
|
1135
|
-
/* @__PURE__ */
|
|
1136
|
-
|
|
1178
|
+
return /* @__PURE__ */ g(P1, { theme: y, children: [
|
|
1179
|
+
/* @__PURE__ */ n(
|
|
1180
|
+
F1,
|
|
1137
1181
|
{
|
|
1138
1182
|
recentPrompts: r,
|
|
1139
1183
|
suggestions: i,
|
|
1140
|
-
isLoading:
|
|
1141
|
-
onSelection:
|
|
1142
|
-
anchorEl:
|
|
1184
|
+
isLoading: s,
|
|
1185
|
+
onSelection: p,
|
|
1186
|
+
anchorEl: M.current,
|
|
1143
1187
|
text: l,
|
|
1144
|
-
recommendationsError:
|
|
1188
|
+
recommendationsError: a
|
|
1145
1189
|
}
|
|
1146
1190
|
),
|
|
1147
|
-
t && /* @__PURE__ */
|
|
1148
|
-
/* @__PURE__ */
|
|
1149
|
-
|
|
1191
|
+
t && /* @__PURE__ */ n(re, { title: q("ai.buttons.clearChat"), placement: "bottom-start", children: /* @__PURE__ */ n(O1, { "aria-label": "clear history", onClick: t, children: /* @__PURE__ */ n(T1, { theme: y }) }) }),
|
|
1192
|
+
/* @__PURE__ */ n(
|
|
1193
|
+
W1,
|
|
1150
1194
|
{
|
|
1151
1195
|
"aria-label": "chat input",
|
|
1152
|
-
onBlur:
|
|
1153
|
-
maxLength:
|
|
1154
|
-
ref:
|
|
1196
|
+
onBlur: N,
|
|
1197
|
+
maxLength: D1,
|
|
1198
|
+
ref: M,
|
|
1155
1199
|
rows: 1,
|
|
1156
|
-
onChange:
|
|
1200
|
+
onChange: x,
|
|
1157
1201
|
spellCheck: "true",
|
|
1158
|
-
placeholder:
|
|
1202
|
+
placeholder: C,
|
|
1159
1203
|
value: l,
|
|
1160
1204
|
onKeyDown: m,
|
|
1161
1205
|
theme: y
|
|
1162
1206
|
}
|
|
1163
1207
|
),
|
|
1164
|
-
/* @__PURE__ */
|
|
1165
|
-
|
|
1208
|
+
/* @__PURE__ */ n(
|
|
1209
|
+
q1,
|
|
1166
1210
|
{
|
|
1167
1211
|
"aria-label": "send chat message",
|
|
1168
|
-
disabled:
|
|
1169
|
-
onClick:
|
|
1212
|
+
disabled: o || l.length === 0,
|
|
1213
|
+
onClick: u,
|
|
1170
1214
|
theme: y,
|
|
1171
|
-
children: /* @__PURE__ */
|
|
1215
|
+
children: /* @__PURE__ */ n("span", { "data-state": "closed", children: /* @__PURE__ */ n($1, { theme: y }) })
|
|
1172
1216
|
}
|
|
1173
1217
|
)
|
|
1174
1218
|
] });
|
|
1175
1219
|
}
|
|
1176
|
-
const
|
|
1220
|
+
const z1 = h.div`
|
|
1177
1221
|
display: flex;
|
|
1178
1222
|
|
|
1179
|
-
${({ align: e }) => e === "right" ?
|
|
1223
|
+
${({ align: e }) => e === "right" ? E`
|
|
1180
1224
|
justify-content: flex-end;
|
|
1181
|
-
` :
|
|
1225
|
+
` : E`
|
|
1182
1226
|
justify-content: flex-start;
|
|
1183
1227
|
`}
|
|
1184
|
-
`,
|
|
1228
|
+
`, it = h.div`
|
|
1185
1229
|
font-size: inherit;
|
|
1186
1230
|
line-height: inherit;
|
|
1187
1231
|
padding-top: 8.5px;
|
|
@@ -1192,51 +1236,51 @@ const W1 = u.div`
|
|
|
1192
1236
|
overflow-wrap: break-word;
|
|
1193
1237
|
box-sizing: border-box;
|
|
1194
1238
|
|
|
1195
|
-
${({ align: e }) => e === "right" ?
|
|
1239
|
+
${({ align: e }) => e === "right" ? E`
|
|
1196
1240
|
text-align: right;
|
|
1197
1241
|
border-radius: 10px 10px 0px 10px;
|
|
1198
|
-
` :
|
|
1242
|
+
` : E`
|
|
1199
1243
|
text-align: left;
|
|
1200
1244
|
border-radius: 10px 10px 10px 0px;
|
|
1201
1245
|
`}
|
|
1202
1246
|
|
|
1203
|
-
${({ align: e }) => e !== "full" ?
|
|
1247
|
+
${({ align: e }) => e !== "full" ? E`
|
|
1204
1248
|
max-width: 85%;
|
|
1205
1249
|
` : ""}
|
|
1206
1250
|
|
|
1207
1251
|
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
1208
1252
|
background-color: ${({ theme: e, align: t }) => t === "right" ? e.aiChat.userMessages.backgroundColor : e.aiChat.systemMessages.backgroundColor};
|
|
1209
1253
|
`, z = ({ align: e, children: t }) => {
|
|
1210
|
-
const { themeSettings:
|
|
1211
|
-
return /* @__PURE__ */
|
|
1254
|
+
const { themeSettings: o } = b();
|
|
1255
|
+
return /* @__PURE__ */ n(z1, { theme: o, align: e, children: /* @__PURE__ */ n(it, { theme: o, align: e, children: t }) });
|
|
1212
1256
|
};
|
|
1213
|
-
function
|
|
1214
|
-
const { welcomeText: e } =
|
|
1215
|
-
return e === !1 ? null : /* @__PURE__ */
|
|
1257
|
+
function V1() {
|
|
1258
|
+
const { welcomeText: e } = W();
|
|
1259
|
+
return e === !1 ? null : /* @__PURE__ */ n(z, { align: "left", children: e });
|
|
1216
1260
|
}
|
|
1217
|
-
const
|
|
1261
|
+
const G1 = h.div`
|
|
1218
1262
|
margin: auto;
|
|
1219
1263
|
display: flex;
|
|
1220
1264
|
flex-direction: column;
|
|
1221
1265
|
align-items: center;
|
|
1222
1266
|
row-gap: 21px;
|
|
1223
|
-
`,
|
|
1267
|
+
`, j1 = h.div`
|
|
1224
1268
|
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
1225
1269
|
text-align: center;
|
|
1226
1270
|
font-weight: 600;
|
|
1227
|
-
`,
|
|
1271
|
+
`, Q1 = h.div`
|
|
1228
1272
|
color: rgba(54, 163, 217, 1);
|
|
1229
1273
|
cursor: pointer;
|
|
1230
1274
|
`;
|
|
1231
|
-
function
|
|
1232
|
-
const { themeSettings:
|
|
1233
|
-
return /* @__PURE__ */
|
|
1234
|
-
/* @__PURE__ */
|
|
1235
|
-
/* @__PURE__ */
|
|
1236
|
-
t && /* @__PURE__ */
|
|
1275
|
+
function st({ text: e, action: t }) {
|
|
1276
|
+
const { themeSettings: o } = b();
|
|
1277
|
+
return /* @__PURE__ */ g(G1, { children: [
|
|
1278
|
+
/* @__PURE__ */ n(j1, { theme: o, children: e }),
|
|
1279
|
+
/* @__PURE__ */ n(Dt, {}),
|
|
1280
|
+
t && /* @__PURE__ */ n(Q1, { onClick: t.onClick, children: t.text })
|
|
1237
1281
|
] });
|
|
1238
1282
|
}
|
|
1239
|
-
const le =
|
|
1283
|
+
const le = h.div`
|
|
1240
1284
|
width: 5px;
|
|
1241
1285
|
height: 5px;
|
|
1242
1286
|
border-radius: 50%;
|
|
@@ -1265,31 +1309,31 @@ const le = u.div`
|
|
|
1265
1309
|
}
|
|
1266
1310
|
}
|
|
1267
1311
|
`;
|
|
1268
|
-
function
|
|
1312
|
+
function Ne() {
|
|
1269
1313
|
const { themeSettings: e } = b(), t = e.aiChat.icons.color;
|
|
1270
|
-
return /* @__PURE__ */
|
|
1314
|
+
return /* @__PURE__ */ g(
|
|
1271
1315
|
"div",
|
|
1272
1316
|
{
|
|
1273
1317
|
className: "csdk-flex csdk-justify-between csdk-w-[28px] csdk-py-[14.5px]",
|
|
1274
1318
|
"aria-label": "loading dots",
|
|
1275
1319
|
children: [
|
|
1276
|
-
/* @__PURE__ */
|
|
1277
|
-
/* @__PURE__ */
|
|
1278
|
-
/* @__PURE__ */
|
|
1279
|
-
/* @__PURE__ */
|
|
1320
|
+
/* @__PURE__ */ n(le, { color: t }),
|
|
1321
|
+
/* @__PURE__ */ n(le, { color: t }),
|
|
1322
|
+
/* @__PURE__ */ n(le, { color: t }),
|
|
1323
|
+
/* @__PURE__ */ n(le, { color: t })
|
|
1280
1324
|
]
|
|
1281
1325
|
}
|
|
1282
1326
|
);
|
|
1283
1327
|
}
|
|
1284
|
-
const
|
|
1328
|
+
const U1 = h.div`
|
|
1285
1329
|
display: flex;
|
|
1286
1330
|
|
|
1287
|
-
${({ align: e }) => e === "right" ?
|
|
1331
|
+
${({ align: e }) => e === "right" ? E`
|
|
1288
1332
|
justify-content: flex-end;
|
|
1289
|
-
` :
|
|
1333
|
+
` : E`
|
|
1290
1334
|
justify-content: flex-start;
|
|
1291
1335
|
`}
|
|
1292
|
-
`,
|
|
1336
|
+
`, _1 = h.button`
|
|
1293
1337
|
font-family: inherit;
|
|
1294
1338
|
font-size: inherit;
|
|
1295
1339
|
line-height: inherit;
|
|
@@ -1305,24 +1349,24 @@ const q1 = u.div`
|
|
|
1305
1349
|
}
|
|
1306
1350
|
border-radius: 20px;
|
|
1307
1351
|
|
|
1308
|
-
${({ align: e }) => e === "right" ?
|
|
1352
|
+
${({ align: e }) => e === "right" ? E`
|
|
1309
1353
|
text-align: right;
|
|
1310
|
-
` :
|
|
1354
|
+
` : E`
|
|
1311
1355
|
text-align: left;
|
|
1312
1356
|
`}
|
|
1313
1357
|
|
|
1314
|
-
${({ align: e }) => e !== "full" ?
|
|
1358
|
+
${({ align: e }) => e !== "full" ? E`
|
|
1315
1359
|
max-width: 382px;
|
|
1316
1360
|
` : ""}
|
|
1317
1361
|
|
|
1318
1362
|
${({ theme: e }) => {
|
|
1319
|
-
const { borderGradient: t, borderRadius:
|
|
1363
|
+
const { borderGradient: t, borderRadius: o } = e.aiChat.suggestions;
|
|
1320
1364
|
if (t) {
|
|
1321
1365
|
const [r, i] = t;
|
|
1322
|
-
return
|
|
1366
|
+
return E`
|
|
1323
1367
|
border: none;
|
|
1324
1368
|
position: relative;
|
|
1325
|
-
border-radius: ${
|
|
1369
|
+
border-radius: ${o};
|
|
1326
1370
|
&:before {
|
|
1327
1371
|
content: '';
|
|
1328
1372
|
position: absolute;
|
|
@@ -1330,7 +1374,7 @@ const q1 = u.div`
|
|
|
1330
1374
|
left: 0;
|
|
1331
1375
|
right: 0;
|
|
1332
1376
|
bottom: 0;
|
|
1333
|
-
border-radius: ${
|
|
1377
|
+
border-radius: ${o};
|
|
1334
1378
|
border: 1px solid transparent;
|
|
1335
1379
|
background: linear-gradient(30deg, ${r}, ${i}) border-box;
|
|
1336
1380
|
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
|
@@ -1345,18 +1389,18 @@ const q1 = u.div`
|
|
|
1345
1389
|
function de({
|
|
1346
1390
|
children: e,
|
|
1347
1391
|
align: t,
|
|
1348
|
-
onClick:
|
|
1392
|
+
onClick: o,
|
|
1349
1393
|
onMouseEnter: r,
|
|
1350
1394
|
onMouseLeave: i,
|
|
1351
|
-
accessibleName:
|
|
1395
|
+
accessibleName: s
|
|
1352
1396
|
}) {
|
|
1353
|
-
const { themeSettings:
|
|
1354
|
-
return /* @__PURE__ */
|
|
1355
|
-
|
|
1397
|
+
const { themeSettings: a } = b();
|
|
1398
|
+
return /* @__PURE__ */ n(U1, { align: t, children: /* @__PURE__ */ n(
|
|
1399
|
+
_1,
|
|
1356
1400
|
{
|
|
1357
|
-
"aria-label":
|
|
1358
|
-
theme:
|
|
1359
|
-
onClick:
|
|
1401
|
+
"aria-label": s,
|
|
1402
|
+
theme: a,
|
|
1403
|
+
onClick: o,
|
|
1360
1404
|
align: t,
|
|
1361
1405
|
onMouseEnter: r,
|
|
1362
1406
|
onMouseLeave: i,
|
|
@@ -1364,20 +1408,20 @@ function de({
|
|
|
1364
1408
|
}
|
|
1365
1409
|
) });
|
|
1366
1410
|
}
|
|
1367
|
-
function
|
|
1368
|
-
const { t:
|
|
1369
|
-
return /* @__PURE__ */
|
|
1370
|
-
/* @__PURE__ */
|
|
1371
|
-
/* @__PURE__ */
|
|
1372
|
-
/* @__PURE__ */
|
|
1373
|
-
/* @__PURE__ */
|
|
1411
|
+
function K1({ onCancel: e, onConfirm: t }) {
|
|
1412
|
+
const { t: o } = k();
|
|
1413
|
+
return /* @__PURE__ */ g(H, { children: [
|
|
1414
|
+
/* @__PURE__ */ n(z, { align: "left", children: o("ai.clearHistoryPrompt") }),
|
|
1415
|
+
/* @__PURE__ */ g("div", { className: "csdk-flex csdk-gap-x-2", children: [
|
|
1416
|
+
/* @__PURE__ */ n(de, { align: "right", onClick: t, accessibleName: "confirm clear chat", children: /* @__PURE__ */ n("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: o("ai.buttons.yes") }) }),
|
|
1417
|
+
/* @__PURE__ */ n(de, { align: "right", onClick: e, accessibleName: "cancel clear chat", children: /* @__PURE__ */ n("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: o("ai.buttons.no") }) })
|
|
1374
1418
|
] })
|
|
1375
1419
|
] });
|
|
1376
1420
|
}
|
|
1377
|
-
function
|
|
1378
|
-
return /* @__PURE__ */
|
|
1379
|
-
/* @__PURE__ */
|
|
1380
|
-
/* @__PURE__ */
|
|
1421
|
+
function Y1({ fillColor: e = "#262E3D" }) {
|
|
1422
|
+
return /* @__PURE__ */ g("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", children: [
|
|
1423
|
+
/* @__PURE__ */ n("rect", { x: "1", y: "1", width: "28", height: "28", rx: "14", stroke: "#9EA2AB" }),
|
|
1424
|
+
/* @__PURE__ */ n(
|
|
1381
1425
|
"path",
|
|
1382
1426
|
{
|
|
1383
1427
|
fillRule: "evenodd",
|
|
@@ -1388,7 +1432,7 @@ function V1({ fillColor: e = "#262E3D" }) {
|
|
|
1388
1432
|
)
|
|
1389
1433
|
] });
|
|
1390
1434
|
}
|
|
1391
|
-
const
|
|
1435
|
+
const at = {
|
|
1392
1436
|
row: {
|
|
1393
1437
|
hover: "rgba(224, 224, 224, 0.3)"
|
|
1394
1438
|
},
|
|
@@ -1473,19 +1517,19 @@ const it = {
|
|
|
1473
1517
|
errorBG: "rgba(231, 71, 39, 0.1)"
|
|
1474
1518
|
}
|
|
1475
1519
|
}
|
|
1476
|
-
},
|
|
1520
|
+
}, J1 = {
|
|
1477
1521
|
shouldForwardProp: (e) => !e.startsWith("$")
|
|
1478
|
-
}, ie =
|
|
1479
|
-
|
|
1480
|
-
|
|
1522
|
+
}, ie = h(
|
|
1523
|
+
Ve,
|
|
1524
|
+
J1
|
|
1481
1525
|
)(({ $hoverColor: e }) => ({
|
|
1482
1526
|
padding: 2,
|
|
1483
1527
|
"&.MuiIconButton-root:hover": {
|
|
1484
|
-
backgroundColor: e != null ? e :
|
|
1528
|
+
backgroundColor: e != null ? e : at.interaction.defaultHover
|
|
1485
1529
|
}
|
|
1486
1530
|
}));
|
|
1487
|
-
function
|
|
1488
|
-
return /* @__PURE__ */
|
|
1531
|
+
function X1({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
1532
|
+
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
1533
|
"path",
|
|
1490
1534
|
{
|
|
1491
1535
|
fillRule: "evenodd",
|
|
@@ -1495,8 +1539,8 @@ function G1({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
|
1495
1539
|
}
|
|
1496
1540
|
) });
|
|
1497
1541
|
}
|
|
1498
|
-
function
|
|
1499
|
-
return /* @__PURE__ */
|
|
1542
|
+
function eo({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
1543
|
+
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
1544
|
"path",
|
|
1501
1545
|
{
|
|
1502
1546
|
fillRule: "evenodd",
|
|
@@ -1506,8 +1550,8 @@ function U1({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
|
1506
1550
|
}
|
|
1507
1551
|
) });
|
|
1508
1552
|
}
|
|
1509
|
-
function
|
|
1510
|
-
return /* @__PURE__ */
|
|
1553
|
+
function to() {
|
|
1554
|
+
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(
|
|
1511
1555
|
"path",
|
|
1512
1556
|
{
|
|
1513
1557
|
fillRule: "evenodd",
|
|
@@ -1518,8 +1562,8 @@ function _1() {
|
|
|
1518
1562
|
}
|
|
1519
1563
|
) });
|
|
1520
1564
|
}
|
|
1521
|
-
function
|
|
1522
|
-
return /* @__PURE__ */
|
|
1565
|
+
function oo({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
1566
|
+
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(
|
|
1523
1567
|
"path",
|
|
1524
1568
|
{
|
|
1525
1569
|
fillRule: "evenodd",
|
|
@@ -1529,27 +1573,27 @@ function K1({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
|
1529
1573
|
}
|
|
1530
1574
|
) });
|
|
1531
1575
|
}
|
|
1532
|
-
const
|
|
1576
|
+
const Ie = (e) => Qe(e.chart.backgroundColor), no = ({ title: e }) => {
|
|
1533
1577
|
const { themeSettings: t } = b();
|
|
1534
|
-
return /* @__PURE__ */
|
|
1535
|
-
},
|
|
1536
|
-
const [t,
|
|
1537
|
-
|
|
1578
|
+
return /* @__PURE__ */ n(re, { title: e, children: /* @__PURE__ */ n(ie, { disableTouchRipple: !0, $hoverColor: Ie(t), children: /* @__PURE__ */ n(eo, { fill: t.chart.textColor }) }) });
|
|
1579
|
+
}, ro = ({ items: e }) => {
|
|
1580
|
+
const [t, o] = $(null), r = (a) => {
|
|
1581
|
+
o(a.currentTarget);
|
|
1538
1582
|
}, i = () => {
|
|
1539
|
-
|
|
1540
|
-
}, { themeSettings:
|
|
1541
|
-
return /* @__PURE__ */
|
|
1542
|
-
/* @__PURE__ */
|
|
1583
|
+
o(null);
|
|
1584
|
+
}, { themeSettings: s } = b();
|
|
1585
|
+
return /* @__PURE__ */ g(H, { children: [
|
|
1586
|
+
/* @__PURE__ */ n(
|
|
1543
1587
|
ie,
|
|
1544
1588
|
{
|
|
1545
1589
|
onClick: r,
|
|
1546
|
-
$hoverColor:
|
|
1590
|
+
$hoverColor: Ie(s),
|
|
1547
1591
|
"aria-label": "three dots button",
|
|
1548
|
-
children: /* @__PURE__ */
|
|
1592
|
+
children: /* @__PURE__ */ n(oo, { fill: s.chart.textColor })
|
|
1549
1593
|
}
|
|
1550
1594
|
),
|
|
1551
|
-
/* @__PURE__ */
|
|
1552
|
-
|
|
1595
|
+
/* @__PURE__ */ n(
|
|
1596
|
+
Pt,
|
|
1553
1597
|
{
|
|
1554
1598
|
anchorEl: t,
|
|
1555
1599
|
anchorOrigin: {
|
|
@@ -1562,102 +1606,102 @@ const Le = (e) => Ve(e.chart.backgroundColor), Y1 = ({ title: e }) => {
|
|
|
1562
1606
|
},
|
|
1563
1607
|
open: !!t,
|
|
1564
1608
|
onClose: i,
|
|
1565
|
-
children: e.map((
|
|
1566
|
-
|
|
1609
|
+
children: e.map((a) => /* @__PURE__ */ g(
|
|
1610
|
+
Ot,
|
|
1567
1611
|
{
|
|
1568
1612
|
onClick: () => {
|
|
1569
|
-
|
|
1613
|
+
a.onClick(), i();
|
|
1570
1614
|
},
|
|
1571
1615
|
sx: {
|
|
1572
1616
|
fontSize: "13px",
|
|
1573
|
-
fontFamily:
|
|
1574
|
-
color:
|
|
1617
|
+
fontFamily: s.typography.fontFamily,
|
|
1618
|
+
color: at.text.content
|
|
1575
1619
|
},
|
|
1576
1620
|
disableRipple: !0,
|
|
1577
1621
|
children: [
|
|
1578
|
-
|
|
1579
|
-
/* @__PURE__ */
|
|
1622
|
+
a.icon,
|
|
1623
|
+
/* @__PURE__ */ n("div", { className: "csdk-ml-1", children: a.title })
|
|
1580
1624
|
]
|
|
1581
1625
|
},
|
|
1582
|
-
|
|
1626
|
+
a.title
|
|
1583
1627
|
))
|
|
1584
1628
|
}
|
|
1585
1629
|
)
|
|
1586
1630
|
] });
|
|
1587
|
-
},
|
|
1588
|
-
const { themeSettings: t } = b(), { t:
|
|
1589
|
-
return /* @__PURE__ */
|
|
1590
|
-
},
|
|
1631
|
+
}, io = ({ onClick: e }) => {
|
|
1632
|
+
const { themeSettings: t } = b(), { t: o } = k();
|
|
1633
|
+
return /* @__PURE__ */ n(re, { title: o("ai.preview"), children: /* @__PURE__ */ n(ie, { onClick: e, $hoverColor: Ie(t), children: /* @__PURE__ */ n(X1, { fill: t.chart.textColor }) }) });
|
|
1634
|
+
}, so = h.div`
|
|
1591
1635
|
display: flex;
|
|
1592
1636
|
padding-top: 6px;
|
|
1593
1637
|
padding-bottom: 6px;
|
|
1594
1638
|
`;
|
|
1595
|
-
function
|
|
1639
|
+
function ao({
|
|
1596
1640
|
infoTooltipText: e,
|
|
1597
1641
|
onRefresh: t,
|
|
1598
|
-
onExpand:
|
|
1642
|
+
onExpand: o
|
|
1599
1643
|
}) {
|
|
1600
|
-
const r =
|
|
1644
|
+
const r = D(
|
|
1601
1645
|
() => [
|
|
1602
1646
|
{
|
|
1603
1647
|
title: "Refresh",
|
|
1604
1648
|
onClick: t,
|
|
1605
|
-
icon: /* @__PURE__ */
|
|
1649
|
+
icon: /* @__PURE__ */ n(to, {})
|
|
1606
1650
|
}
|
|
1607
1651
|
],
|
|
1608
1652
|
[t]
|
|
1609
1653
|
);
|
|
1610
|
-
return /* @__PURE__ */
|
|
1611
|
-
/* @__PURE__ */
|
|
1612
|
-
/* @__PURE__ */
|
|
1613
|
-
/* @__PURE__ */
|
|
1654
|
+
return /* @__PURE__ */ g(so, { "aria-label": "chatbot chart toolbar", children: [
|
|
1655
|
+
/* @__PURE__ */ n(no, { title: e != null ? e : "" }),
|
|
1656
|
+
/* @__PURE__ */ n(ro, { items: r }),
|
|
1657
|
+
/* @__PURE__ */ n(io, { onClick: o })
|
|
1614
1658
|
] });
|
|
1615
1659
|
}
|
|
1616
|
-
function
|
|
1617
|
-
const [t,
|
|
1618
|
-
const
|
|
1619
|
-
if (
|
|
1620
|
-
throw new
|
|
1621
|
-
const { detailedDescription: c } = e, { styleOptions: l } =
|
|
1660
|
+
function lo({ content: e }) {
|
|
1661
|
+
const [t, o] = $(!1), { themeSettings: r } = b(), { inlineElement: i, expandedElement: s } = D(() => {
|
|
1662
|
+
const a = pe(e, { useCustomizedStyleOptions: !0 });
|
|
1663
|
+
if (a === void 0 || !Se(a))
|
|
1664
|
+
throw new ke("errors.otherWidgetTypesNotSupported");
|
|
1665
|
+
const { detailedDescription: c } = e, { styleOptions: l } = a, d = {
|
|
1622
1666
|
cornerRadius: "Small",
|
|
1623
1667
|
header: {
|
|
1624
|
-
renderToolbar: (
|
|
1625
|
-
|
|
1668
|
+
renderToolbar: (p) => /* @__PURE__ */ n(
|
|
1669
|
+
ao,
|
|
1626
1670
|
{
|
|
1627
1671
|
infoTooltipText: c,
|
|
1628
|
-
onRefresh:
|
|
1629
|
-
onExpand: () =>
|
|
1672
|
+
onRefresh: p,
|
|
1673
|
+
onExpand: () => o(!0)
|
|
1630
1674
|
}
|
|
1631
1675
|
)
|
|
1632
1676
|
}
|
|
1633
1677
|
};
|
|
1634
|
-
let
|
|
1635
|
-
if (
|
|
1636
|
-
|
|
1678
|
+
let C, u;
|
|
1679
|
+
if (_t(a.chartType))
|
|
1680
|
+
C = /* @__PURE__ */ n("div", { className: "csdk-h-[245px]", children: /* @__PURE__ */ n(ee, L(w({}, a), { styleOptions: d })) }), u = /* @__PURE__ */ n(ee, L(w({}, a), { styleOptions: { header: { hidden: !0 } } }));
|
|
1637
1681
|
else {
|
|
1638
|
-
const
|
|
1682
|
+
const p = L(w({}, l), {
|
|
1639
1683
|
header: { hidden: !0 }
|
|
1640
|
-
}), m = w(
|
|
1684
|
+
}), m = w(L(w({}, l), {
|
|
1641
1685
|
legend: void 0,
|
|
1642
1686
|
xAxis: void 0,
|
|
1643
1687
|
yAxis: void 0
|
|
1644
1688
|
}), d);
|
|
1645
|
-
delete m.legend, delete m.xAxis, delete m.yAxis,
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
styleOptions: w({ cornerRadius: "None" },
|
|
1689
|
+
delete m.legend, delete m.xAxis, delete m.yAxis, C = /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(ee, L(w({}, a), { styleOptions: m })) }), u = /* @__PURE__ */ n(
|
|
1690
|
+
ee,
|
|
1691
|
+
L(w({}, a), {
|
|
1692
|
+
styleOptions: w({ cornerRadius: "None" }, p)
|
|
1649
1693
|
})
|
|
1650
1694
|
);
|
|
1651
1695
|
}
|
|
1652
|
-
return { inlineElement:
|
|
1696
|
+
return { inlineElement: C, expandedElement: u };
|
|
1653
1697
|
}, [e]);
|
|
1654
|
-
return /* @__PURE__ */
|
|
1698
|
+
return /* @__PURE__ */ g(H, { children: [
|
|
1655
1699
|
i,
|
|
1656
|
-
/* @__PURE__ */
|
|
1657
|
-
|
|
1700
|
+
/* @__PURE__ */ g(
|
|
1701
|
+
_e,
|
|
1658
1702
|
{
|
|
1659
1703
|
open: t,
|
|
1660
|
-
onClose: () =>
|
|
1704
|
+
onClose: () => o(!1),
|
|
1661
1705
|
maxWidth: "xl",
|
|
1662
1706
|
fullWidth: !0,
|
|
1663
1707
|
PaperProps: {
|
|
@@ -1667,18 +1711,18 @@ function oo({ content: e }) {
|
|
|
1667
1711
|
}
|
|
1668
1712
|
},
|
|
1669
1713
|
children: [
|
|
1670
|
-
/* @__PURE__ */
|
|
1671
|
-
/* @__PURE__ */
|
|
1672
|
-
/* @__PURE__ */
|
|
1714
|
+
/* @__PURE__ */ g("div", { className: "csdk-flex csdk-items-center csdk-justify-between csdk-mt-[16px] csdk-mx-[16px] csdk-pl-[20px]", children: [
|
|
1715
|
+
/* @__PURE__ */ n("div", { className: "csdk-text-ai-lg csdk-semibold", children: e.queryTitle }),
|
|
1716
|
+
/* @__PURE__ */ n(Ve, { onClick: () => o(!1), "aria-label": "close expanded chart", children: /* @__PURE__ */ n(Y1, { fillColor: r.aiChat.primaryTextColor }) })
|
|
1673
1717
|
] }),
|
|
1674
|
-
/* @__PURE__ */
|
|
1718
|
+
/* @__PURE__ */ n("div", { className: "csdk-h-screen csdk-mt-[8px] csdk-mb-[24px] csdk-mx-[16px]", children: s })
|
|
1675
1719
|
]
|
|
1676
1720
|
}
|
|
1677
1721
|
)
|
|
1678
1722
|
] });
|
|
1679
1723
|
}
|
|
1680
|
-
function
|
|
1681
|
-
return /* @__PURE__ */
|
|
1724
|
+
function co({ theme: e }) {
|
|
1725
|
+
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(
|
|
1682
1726
|
"path",
|
|
1683
1727
|
{
|
|
1684
1728
|
fillRule: "evenodd",
|
|
@@ -1688,21 +1732,21 @@ function no({ theme: e }) {
|
|
|
1688
1732
|
}
|
|
1689
1733
|
) });
|
|
1690
1734
|
}
|
|
1691
|
-
function
|
|
1692
|
-
const { themeSettings:
|
|
1693
|
-
return /* @__PURE__ */
|
|
1735
|
+
function uo({ onClick: e, disabled: t }) {
|
|
1736
|
+
const { themeSettings: o } = b(), { t: r } = k();
|
|
1737
|
+
return /* @__PURE__ */ n(re, { title: r("ai.buttons.incorrectResponse"), children: /* @__PURE__ */ n(
|
|
1694
1738
|
ie,
|
|
1695
1739
|
{
|
|
1696
1740
|
"aria-label": "thumbs-down",
|
|
1697
1741
|
onClick: e,
|
|
1698
|
-
$hoverColor:
|
|
1742
|
+
$hoverColor: o.aiChat.icons.feedbackIcons.hoverColor,
|
|
1699
1743
|
disabled: t,
|
|
1700
|
-
children: /* @__PURE__ */
|
|
1744
|
+
children: /* @__PURE__ */ n(co, { theme: o })
|
|
1701
1745
|
}
|
|
1702
1746
|
) });
|
|
1703
1747
|
}
|
|
1704
|
-
function
|
|
1705
|
-
return /* @__PURE__ */
|
|
1748
|
+
function ho({ theme: e }) {
|
|
1749
|
+
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(
|
|
1706
1750
|
"path",
|
|
1707
1751
|
{
|
|
1708
1752
|
fillRule: "evenodd",
|
|
@@ -1712,96 +1756,96 @@ function io({ theme: e }) {
|
|
|
1712
1756
|
}
|
|
1713
1757
|
) });
|
|
1714
1758
|
}
|
|
1715
|
-
function
|
|
1716
|
-
const { themeSettings:
|
|
1717
|
-
return /* @__PURE__ */
|
|
1759
|
+
function po({ onClick: e, disabled: t }) {
|
|
1760
|
+
const { themeSettings: o } = b(), { t: r } = k();
|
|
1761
|
+
return /* @__PURE__ */ n(re, { title: r("ai.buttons.correctResponse"), children: /* @__PURE__ */ n(
|
|
1718
1762
|
ie,
|
|
1719
1763
|
{
|
|
1720
1764
|
"aria-label": "thumbs-up",
|
|
1721
1765
|
onClick: e,
|
|
1722
|
-
$hoverColor:
|
|
1766
|
+
$hoverColor: o.aiChat.icons.feedbackIcons.hoverColor,
|
|
1723
1767
|
disabled: t,
|
|
1724
|
-
children: /* @__PURE__ */
|
|
1768
|
+
children: /* @__PURE__ */ n(ho, { theme: o })
|
|
1725
1769
|
}
|
|
1726
1770
|
) });
|
|
1727
1771
|
}
|
|
1728
|
-
const
|
|
1729
|
-
const [e, t] =
|
|
1772
|
+
const go = () => {
|
|
1773
|
+
const [e, t] = $(!1), o = J(null), r = T(() => {
|
|
1730
1774
|
t(!0);
|
|
1731
|
-
}, []), i =
|
|
1775
|
+
}, []), i = T(() => {
|
|
1732
1776
|
t(!1);
|
|
1733
1777
|
}, []);
|
|
1734
|
-
return [
|
|
1735
|
-
(
|
|
1778
|
+
return [T(
|
|
1779
|
+
(a) => {
|
|
1736
1780
|
var c;
|
|
1737
|
-
((c =
|
|
1781
|
+
((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;
|
|
1738
1782
|
},
|
|
1739
1783
|
[r, i]
|
|
1740
1784
|
), e];
|
|
1741
|
-
},
|
|
1785
|
+
}, Co = h.div`
|
|
1742
1786
|
display: flex;
|
|
1743
1787
|
flex-direction: column;
|
|
1744
1788
|
row-gap: ${({ theme: e }) => e.aiChat.body.gapBetweenMessages};
|
|
1745
1789
|
`;
|
|
1746
|
-
function
|
|
1747
|
-
const [
|
|
1748
|
-
(
|
|
1749
|
-
r(!0), t(
|
|
1790
|
+
function fo({ visible: e, onSend: t }) {
|
|
1791
|
+
const [o, r] = $(!1), i = T(
|
|
1792
|
+
(a) => {
|
|
1793
|
+
r(!0), t(a === "up" ? 1 : -1);
|
|
1750
1794
|
},
|
|
1751
1795
|
[t]
|
|
1752
|
-
),
|
|
1753
|
-
return e ? /* @__PURE__ */
|
|
1754
|
-
/* @__PURE__ */
|
|
1755
|
-
/* @__PURE__ */
|
|
1796
|
+
), s = `csdk-transition-opacity csdk-delay-150 csdk-duration-500 ${o ? "csdk-opacity-0" : "csdk-opacity-100"}`;
|
|
1797
|
+
return e ? /* @__PURE__ */ g("div", { className: `csdk-flex csdk-items-center ${s}`, children: [
|
|
1798
|
+
/* @__PURE__ */ n(po, { onClick: () => i("up"), disabled: o }),
|
|
1799
|
+
/* @__PURE__ */ n(uo, { onClick: () => i("down"), disabled: o })
|
|
1756
1800
|
] }) : null;
|
|
1757
1801
|
}
|
|
1758
|
-
function
|
|
1802
|
+
function Le({
|
|
1759
1803
|
sourceId: e,
|
|
1760
1804
|
data: t,
|
|
1761
|
-
type:
|
|
1805
|
+
type: o,
|
|
1762
1806
|
buttonVisibility: r = "onHover",
|
|
1763
1807
|
renderContent: i
|
|
1764
1808
|
}) {
|
|
1765
|
-
const
|
|
1766
|
-
|
|
1767
|
-
(
|
|
1768
|
-
|
|
1809
|
+
const s = P(), a = Wt(
|
|
1810
|
+
T(
|
|
1811
|
+
(u) => {
|
|
1812
|
+
s && s.ai.sendFeedback({
|
|
1769
1813
|
sourceId: e,
|
|
1770
|
-
type:
|
|
1814
|
+
type: o,
|
|
1771
1815
|
data: t,
|
|
1772
|
-
rating:
|
|
1816
|
+
rating: u
|
|
1773
1817
|
});
|
|
1774
1818
|
},
|
|
1775
|
-
[
|
|
1819
|
+
[s, e, t, o]
|
|
1776
1820
|
),
|
|
1777
1821
|
200
|
|
1778
|
-
), [c, l] =
|
|
1779
|
-
return /* @__PURE__ */
|
|
1822
|
+
), [c, l] = go(), d = D(() => r === "onHover" ? l : r !== "never", [l, r]), { themeSettings: C } = b();
|
|
1823
|
+
return /* @__PURE__ */ n(Co, { ref: c, theme: C, children: i(/* @__PURE__ */ n(fo, { onSend: a, visible: d })) });
|
|
1780
1824
|
}
|
|
1781
|
-
const
|
|
1782
|
-
function
|
|
1783
|
-
const [t,
|
|
1825
|
+
const mo = 18 * 5;
|
|
1826
|
+
function Ce({ text: e }) {
|
|
1827
|
+
const [t, o] = $(!0), [r, i] = $(!1), { t: s } = k(), a = J(null);
|
|
1784
1828
|
return ce(() => {
|
|
1785
|
-
|
|
1786
|
-
}, [e]), /* @__PURE__ */
|
|
1787
|
-
/* @__PURE__ */
|
|
1788
|
-
r && /* @__PURE__ */
|
|
1829
|
+
a.current && a.current.scrollHeight > mo && i(!0);
|
|
1830
|
+
}, [e]), /* @__PURE__ */ g("div", { children: [
|
|
1831
|
+
/* @__PURE__ */ n("div", { ref: a, className: `${t ? "csdk-line-clamp-5" : ""} csdk-whitespace-pre-wrap`, children: e }),
|
|
1832
|
+
r && /* @__PURE__ */ n("div", { className: "csdk-mt-3 csdk-flex csdk-justify-end", children: /* @__PURE__ */ n(
|
|
1789
1833
|
"div",
|
|
1790
1834
|
{
|
|
1791
1835
|
className: "csdk-text-ai-xs csdk-text-text-link csdk-cursor-pointer",
|
|
1792
|
-
onClick: () =>
|
|
1793
|
-
children:
|
|
1836
|
+
onClick: () => o((c) => !c),
|
|
1837
|
+
children: s(t ? "ai.buttons.readMore" : "ai.buttons.collapse")
|
|
1794
1838
|
}
|
|
1795
1839
|
) })
|
|
1796
1840
|
] });
|
|
1797
1841
|
}
|
|
1798
|
-
function
|
|
1799
|
-
const { data: t, isLoading:
|
|
1800
|
-
return
|
|
1842
|
+
function bo({ nlgRequest: e }) {
|
|
1843
|
+
const { data: t, isLoading: o, isError: r } = ne(e), { t: i } = k();
|
|
1844
|
+
return o ? /* @__PURE__ */ n(Ne, {}) : r ? /* @__PURE__ */ n(z, { align: "left", children: i("ai.errors.unexpected") }) : /* @__PURE__ */ n(z, { align: "full", children: /* @__PURE__ */ n(Ce, { text: t != null ? t : i("ai.errors.insightsNotAvailable") }) });
|
|
1801
1845
|
}
|
|
1802
|
-
function
|
|
1846
|
+
function xo() {
|
|
1803
1847
|
const { themeSettings: e } = b();
|
|
1804
|
-
return /* @__PURE__ */
|
|
1848
|
+
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(
|
|
1805
1849
|
"path",
|
|
1806
1850
|
{
|
|
1807
1851
|
fillRule: "evenodd",
|
|
@@ -1811,100 +1855,100 @@ function po() {
|
|
|
1811
1855
|
}
|
|
1812
1856
|
) });
|
|
1813
1857
|
}
|
|
1814
|
-
function
|
|
1815
|
-
const { t } =
|
|
1816
|
-
return /* @__PURE__ */
|
|
1858
|
+
function yo({ onClick: e }) {
|
|
1859
|
+
const { t } = k();
|
|
1860
|
+
return /* @__PURE__ */ n(de, { align: "left", onClick: e, children: /* @__PURE__ */ g(
|
|
1817
1861
|
"div",
|
|
1818
1862
|
{
|
|
1819
1863
|
className: "csdk-py-[5px] csdk-px-2 csdk-flex csdk-items-center csdk-gap-x-1 csdk-select-none",
|
|
1820
1864
|
children: [
|
|
1821
|
-
/* @__PURE__ */
|
|
1865
|
+
/* @__PURE__ */ n(xo, {}),
|
|
1822
1866
|
t("ai.buttons.insights")
|
|
1823
1867
|
]
|
|
1824
1868
|
}
|
|
1825
1869
|
) });
|
|
1826
1870
|
}
|
|
1827
|
-
const
|
|
1871
|
+
const We = h.div`
|
|
1828
1872
|
display: flex;
|
|
1829
1873
|
align-items: center;
|
|
1830
1874
|
column-gap: 10px;
|
|
1831
|
-
`,
|
|
1832
|
-
function
|
|
1833
|
-
const { chatMode:
|
|
1834
|
-
console.debug(`JAQL for ${
|
|
1835
|
-
const l = "chartType" in
|
|
1875
|
+
`, vo = (e) => !!e && "aeiou".includes(e[0]);
|
|
1876
|
+
function wo({ data: e, alwaysShowFeedback: t }) {
|
|
1877
|
+
const { chatMode: o = "analyze", enableInsights: r } = W(), { themeSettings: i } = b(), { queryTitle: s, chartRecommendations: a, jaql: c } = e;
|
|
1878
|
+
console.debug(`JAQL for ${s}`, c), console.debug(`chart recommendations for ${s}`, a);
|
|
1879
|
+
const l = "chartType" in a ? a.chartType : "table";
|
|
1836
1880
|
let d;
|
|
1837
|
-
|
|
1838
|
-
const
|
|
1839
|
-
|
|
1840
|
-
}, []),
|
|
1881
|
+
vo(l) ? d = `an ${l}` : d = `a ${l}`, l !== "table" && (d += " chart");
|
|
1882
|
+
const C = c.datasource.title, [u, p] = $(!1), m = T(() => {
|
|
1883
|
+
p((y) => !y);
|
|
1884
|
+
}, []), x = {
|
|
1841
1885
|
jaql: {
|
|
1842
1886
|
datasource: c.datasource,
|
|
1843
1887
|
metadata: c.metadata
|
|
1844
1888
|
}
|
|
1845
|
-
},
|
|
1846
|
-
return /* @__PURE__ */
|
|
1847
|
-
/* @__PURE__ */
|
|
1848
|
-
|
|
1889
|
+
}, M = o === "analyze";
|
|
1890
|
+
return /* @__PURE__ */ g(H, { children: [
|
|
1891
|
+
/* @__PURE__ */ n(
|
|
1892
|
+
Le,
|
|
1849
1893
|
{
|
|
1850
|
-
sourceId:
|
|
1894
|
+
sourceId: C,
|
|
1851
1895
|
data: e,
|
|
1852
1896
|
type: "chats/nlq",
|
|
1853
1897
|
buttonVisibility: t ? "always" : "onHover",
|
|
1854
|
-
renderContent: (y) => /* @__PURE__ */
|
|
1855
|
-
/* @__PURE__ */
|
|
1856
|
-
/* @__PURE__ */
|
|
1898
|
+
renderContent: (y) => /* @__PURE__ */ g(H, { children: [
|
|
1899
|
+
/* @__PURE__ */ g(We, { children: [
|
|
1900
|
+
/* @__PURE__ */ n(it, { align: "left", theme: i, children: `Here's ${d} showing ${Xt(s)}.` }),
|
|
1857
1901
|
y
|
|
1858
1902
|
] }),
|
|
1859
|
-
|
|
1903
|
+
M && /* @__PURE__ */ n(lo, { content: e })
|
|
1860
1904
|
] })
|
|
1861
1905
|
}
|
|
1862
1906
|
),
|
|
1863
|
-
r && /* @__PURE__ */
|
|
1864
|
-
|
|
1907
|
+
r && /* @__PURE__ */ n(
|
|
1908
|
+
Le,
|
|
1865
1909
|
{
|
|
1866
|
-
sourceId:
|
|
1867
|
-
data:
|
|
1910
|
+
sourceId: C,
|
|
1911
|
+
data: x,
|
|
1868
1912
|
type: "nlg/queryResult",
|
|
1869
|
-
buttonVisibility:
|
|
1870
|
-
renderContent: (y) => /* @__PURE__ */
|
|
1871
|
-
/* @__PURE__ */
|
|
1872
|
-
/* @__PURE__ */
|
|
1913
|
+
buttonVisibility: u ? "onHover" : "never",
|
|
1914
|
+
renderContent: (y) => /* @__PURE__ */ g(H, { children: [
|
|
1915
|
+
/* @__PURE__ */ g(We, { children: [
|
|
1916
|
+
/* @__PURE__ */ n(yo, { onClick: m }),
|
|
1873
1917
|
y
|
|
1874
1918
|
] }),
|
|
1875
|
-
|
|
1919
|
+
u && /* @__PURE__ */ n(bo, { nlgRequest: x })
|
|
1876
1920
|
] })
|
|
1877
1921
|
}
|
|
1878
1922
|
)
|
|
1879
1923
|
] });
|
|
1880
1924
|
}
|
|
1881
|
-
function
|
|
1882
|
-
if (
|
|
1925
|
+
function ko({ message: e, isLastMessage: t }) {
|
|
1926
|
+
if (Ee(e)) {
|
|
1883
1927
|
const r = JSON.parse(e.content);
|
|
1884
|
-
return /* @__PURE__ */
|
|
1928
|
+
return /* @__PURE__ */ n(wo, { data: r, alwaysShowFeedback: t });
|
|
1885
1929
|
}
|
|
1886
|
-
const
|
|
1887
|
-
return /* @__PURE__ */
|
|
1930
|
+
const o = x1(e) ? JSON.parse(e.content).answer : e.content;
|
|
1931
|
+
return /* @__PURE__ */ n(z, { align: e.role === "user" ? "right" : "left", children: o });
|
|
1888
1932
|
}
|
|
1889
|
-
const
|
|
1933
|
+
const So = Vt(ko), Mo = ({
|
|
1890
1934
|
error: e,
|
|
1891
1935
|
displayMessage: t
|
|
1892
|
-
}) => (console.debug("Unexpected error occurred when resolving a chat message:", e), /* @__PURE__ */
|
|
1893
|
-
function
|
|
1894
|
-
const { t } =
|
|
1895
|
-
return /* @__PURE__ */
|
|
1896
|
-
|
|
1936
|
+
}) => (console.debug("Unexpected error occurred when resolving a chat message:", e), /* @__PURE__ */ n(z, { align: "left", children: t }));
|
|
1937
|
+
function Lo({ messages: e }) {
|
|
1938
|
+
const { t } = k();
|
|
1939
|
+
return /* @__PURE__ */ n(H, { children: e.map((o, r) => /* @__PURE__ */ n(
|
|
1940
|
+
qt,
|
|
1897
1941
|
{
|
|
1898
|
-
fallbackRender: (i) =>
|
|
1942
|
+
fallbackRender: (i) => Mo(L(w({}, i), {
|
|
1899
1943
|
displayMessage: t("ai.errors.unexpected")
|
|
1900
1944
|
})),
|
|
1901
|
-
children: /* @__PURE__ */
|
|
1945
|
+
children: /* @__PURE__ */ n(So, { message: o, isLastMessage: r === e.length - 1 }, r)
|
|
1902
1946
|
},
|
|
1903
1947
|
r
|
|
1904
1948
|
)) });
|
|
1905
1949
|
}
|
|
1906
|
-
function
|
|
1907
|
-
return /* @__PURE__ */
|
|
1950
|
+
function lt({ color: e }) {
|
|
1951
|
+
return /* @__PURE__ */ n(
|
|
1908
1952
|
"svg",
|
|
1909
1953
|
{
|
|
1910
1954
|
width: "100%",
|
|
@@ -1912,7 +1956,7 @@ function st({ color: e }) {
|
|
|
1912
1956
|
viewBox: "0 0 4 8",
|
|
1913
1957
|
fill: "none",
|
|
1914
1958
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1915
|
-
children: /* @__PURE__ */
|
|
1959
|
+
children: /* @__PURE__ */ n(
|
|
1916
1960
|
"path",
|
|
1917
1961
|
{
|
|
1918
1962
|
d: "M3.87815 0.825307C4.05781 0.615598 4.03345 0.299954 3.82374 0.120297C3.61403 -0.05936 3.29838 -0.034998 3.11873 0.174711L0.120288 3.67471C-0.040096 3.86192 -0.040096 4.1381 0.120288 4.32531L3.11873 7.82531C3.29838 8.03502 3.61403 8.05938 3.82374 7.87972C4.03345 7.70006 4.05781 7.38442 3.87815 7.17471L1.15839 4.00001L3.87815 0.825307Z",
|
|
@@ -1922,18 +1966,18 @@ function st({ color: e }) {
|
|
|
1922
1966
|
}
|
|
1923
1967
|
);
|
|
1924
1968
|
}
|
|
1925
|
-
function
|
|
1926
|
-
return /* @__PURE__ */
|
|
1969
|
+
function $o({ onClick: e, color: t }) {
|
|
1970
|
+
return /* @__PURE__ */ n(
|
|
1927
1971
|
"div",
|
|
1928
1972
|
{
|
|
1929
1973
|
"aria-label": "go back",
|
|
1930
1974
|
className: "csdk-w-5 csdk-h-5 csdk-flex csdk-p-[4px] csdk-ml-[6px] csdk-cursor-pointer",
|
|
1931
1975
|
onClick: e,
|
|
1932
|
-
children: /* @__PURE__ */
|
|
1976
|
+
children: /* @__PURE__ */ n(lt, { color: t })
|
|
1933
1977
|
}
|
|
1934
1978
|
);
|
|
1935
1979
|
}
|
|
1936
|
-
const
|
|
1980
|
+
const To = h.button`
|
|
1937
1981
|
font-size: inherit;
|
|
1938
1982
|
line-height: inherit;
|
|
1939
1983
|
box-sizing: border-box;
|
|
@@ -1957,13 +2001,13 @@ const wo = u.button`
|
|
|
1957
2001
|
}
|
|
1958
2002
|
|
|
1959
2003
|
${({ theme: e }) => {
|
|
1960
|
-
const { borderGradient: t, borderRadius:
|
|
2004
|
+
const { borderGradient: t, borderRadius: o } = e.aiChat.suggestions;
|
|
1961
2005
|
if (t) {
|
|
1962
2006
|
const [r, i] = t;
|
|
1963
|
-
return
|
|
2007
|
+
return E`
|
|
1964
2008
|
border: none;
|
|
1965
2009
|
position: relative;
|
|
1966
|
-
border-radius: ${
|
|
2010
|
+
border-radius: ${o};
|
|
1967
2011
|
&:before {
|
|
1968
2012
|
content: '';
|
|
1969
2013
|
position: absolute;
|
|
@@ -1971,7 +2015,7 @@ const wo = u.button`
|
|
|
1971
2015
|
left: 0;
|
|
1972
2016
|
right: 0;
|
|
1973
2017
|
bottom: 0;
|
|
1974
|
-
border-radius: ${
|
|
2018
|
+
border-radius: ${o};
|
|
1975
2019
|
border: 1px solid transparent;
|
|
1976
2020
|
background: linear-gradient(30deg, ${r}, ${i}) border-box;
|
|
1977
2021
|
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
|
@@ -1983,33 +2027,33 @@ const wo = u.button`
|
|
|
1983
2027
|
return "";
|
|
1984
2028
|
}}
|
|
1985
2029
|
`;
|
|
1986
|
-
function
|
|
1987
|
-
const { themeSettings:
|
|
1988
|
-
return /* @__PURE__ */
|
|
2030
|
+
function qe({ question: e, onClick: t }) {
|
|
2031
|
+
const { themeSettings: o } = b();
|
|
2032
|
+
return /* @__PURE__ */ n(To, { onClick: t, theme: o, children: e });
|
|
1989
2033
|
}
|
|
1990
|
-
const
|
|
2034
|
+
const Ro = h.div`
|
|
1991
2035
|
display: flex;
|
|
1992
2036
|
flex-direction: column;
|
|
1993
2037
|
align-items: flex-start;
|
|
1994
2038
|
row-gap: ${({ theme: e }) => e.aiChat.suggestions.gap};
|
|
1995
2039
|
`;
|
|
1996
|
-
function
|
|
1997
|
-
const { t:
|
|
1998
|
-
return /* @__PURE__ */
|
|
1999
|
-
|
|
2000
|
-
|
|
2040
|
+
function Eo({ questions: e, onSelection: t }) {
|
|
2041
|
+
const { t: o } = k(), [r, i] = $(!0), s = D(() => r && e.length > 5 ? e.slice(0, 4) : e, [e, r]), { themeSettings: a } = b();
|
|
2042
|
+
return /* @__PURE__ */ g(Ro, { "aria-label": "list of suggested questions", theme: a, children: [
|
|
2043
|
+
s.map((c) => /* @__PURE__ */ n(qe, { question: c, onClick: () => t(c) }, c)),
|
|
2044
|
+
s.length < e.length && /* @__PURE__ */ n(qe, { question: o("ai.buttons.seeMore"), onClick: () => i(!1) })
|
|
2001
2045
|
] });
|
|
2002
2046
|
}
|
|
2003
|
-
const
|
|
2047
|
+
const No = h.div`
|
|
2004
2048
|
width: 283px;
|
|
2005
2049
|
height: 32px;
|
|
2006
2050
|
border-radius: 10px;
|
|
2007
2051
|
background: ${({ theme: e }) => {
|
|
2008
|
-
const [t,
|
|
2052
|
+
const [t, o] = e.aiChat.suggestions.loadingGradient;
|
|
2009
2053
|
return `linear-gradient(
|
|
2010
2054
|
to right,
|
|
2011
2055
|
${t} 0%,
|
|
2012
|
-
${
|
|
2056
|
+
${o} 50%,
|
|
2013
2057
|
${t} 100%
|
|
2014
2058
|
)`;
|
|
2015
2059
|
}};
|
|
@@ -2024,23 +2068,23 @@ const Mo = u.div`
|
|
|
2024
2068
|
background-position: -200% 0;
|
|
2025
2069
|
}
|
|
2026
2070
|
}
|
|
2027
|
-
`,
|
|
2071
|
+
`, Io = h.div`
|
|
2028
2072
|
display: flex;
|
|
2029
2073
|
flex-direction: column;
|
|
2030
2074
|
row-gap: 1rem;
|
|
2031
2075
|
`;
|
|
2032
|
-
function
|
|
2076
|
+
function Ho() {
|
|
2033
2077
|
const { themeSettings: e } = b();
|
|
2034
|
-
return /* @__PURE__ */
|
|
2078
|
+
return /* @__PURE__ */ n(Io, { children: Array.from({ length: 3 }, (t, o) => /* @__PURE__ */ n(No, { theme: e }, o)) });
|
|
2035
2079
|
}
|
|
2036
|
-
function
|
|
2037
|
-
const r = e.length > 0, { suggestionsWelcomeText: i } =
|
|
2038
|
-
return t ? /* @__PURE__ */
|
|
2039
|
-
i && /* @__PURE__ */
|
|
2040
|
-
/* @__PURE__ */
|
|
2080
|
+
function Bo({ questions: e, isLoading: t, onSelection: o }) {
|
|
2081
|
+
const r = e.length > 0, { suggestionsWelcomeText: i } = W();
|
|
2082
|
+
return t ? /* @__PURE__ */ n(Ho, {}) : r ? /* @__PURE__ */ g(H, { children: [
|
|
2083
|
+
i && /* @__PURE__ */ n(z, { align: "left", children: i }),
|
|
2084
|
+
/* @__PURE__ */ n(Eo, { onSelection: o, questions: e })
|
|
2041
2085
|
] }) : null;
|
|
2042
2086
|
}
|
|
2043
|
-
const
|
|
2087
|
+
const Fo = h.div`
|
|
2044
2088
|
flex: 0 0 80px;
|
|
2045
2089
|
padding-left: 14px;
|
|
2046
2090
|
padding-right: 14px;
|
|
@@ -2049,20 +2093,20 @@ const To = u.div`
|
|
|
2049
2093
|
position: relative;
|
|
2050
2094
|
|
|
2051
2095
|
background-color: ${({ style: e }) => e.backgroundColor};
|
|
2052
|
-
`,
|
|
2096
|
+
`, Do = h.div`
|
|
2053
2097
|
font-size: 18px;
|
|
2054
2098
|
line-height: 22px;
|
|
2055
2099
|
font-weight: 600;
|
|
2056
2100
|
margin-left: 20px;
|
|
2057
2101
|
|
|
2058
2102
|
color: ${({ style: e }) => e.textColor};
|
|
2059
|
-
`,
|
|
2060
|
-
return /* @__PURE__ */
|
|
2061
|
-
|
|
2062
|
-
/* @__PURE__ */
|
|
2063
|
-
r && /* @__PURE__ */
|
|
2103
|
+
`, ct = Gt(function({ title: t, leftNav: o, rightNav: r, style: i }, s) {
|
|
2104
|
+
return /* @__PURE__ */ g(Fo, { ref: s, style: i, children: [
|
|
2105
|
+
o,
|
|
2106
|
+
/* @__PURE__ */ n(Do, { style: i, children: t }),
|
|
2107
|
+
r && /* @__PURE__ */ n("div", { className: "csdk-ml-auto", children: r })
|
|
2064
2108
|
] });
|
|
2065
|
-
}),
|
|
2109
|
+
}), Po = h.div`
|
|
2066
2110
|
text-align: center;
|
|
2067
2111
|
font-size: 11px;
|
|
2068
2112
|
line-height: 18px;
|
|
@@ -2076,17 +2120,17 @@ const To = u.div`
|
|
|
2076
2120
|
|
|
2077
2121
|
color: ${({ theme: e }) => e.aiChat.secondaryTextColor};
|
|
2078
2122
|
`;
|
|
2079
|
-
function
|
|
2080
|
-
const { t } =
|
|
2081
|
-
return /* @__PURE__ */
|
|
2082
|
-
/* @__PURE__ */
|
|
2083
|
-
/* @__PURE__ */
|
|
2123
|
+
function Oo({ theme: e }) {
|
|
2124
|
+
const { t } = k();
|
|
2125
|
+
return /* @__PURE__ */ g(Po, { theme: e, children: [
|
|
2126
|
+
/* @__PURE__ */ n("div", { children: t("ai.disclaimer.poweredByAi") }),
|
|
2127
|
+
/* @__PURE__ */ g("div", { children: [
|
|
2084
2128
|
" ",
|
|
2085
2129
|
t("ai.disclaimer.rateRequest")
|
|
2086
2130
|
] })
|
|
2087
2131
|
] });
|
|
2088
2132
|
}
|
|
2089
|
-
const
|
|
2133
|
+
const Wo = h.div`
|
|
2090
2134
|
font-size: inherit;
|
|
2091
2135
|
line-height: inherit;
|
|
2092
2136
|
padding-left: 16px;
|
|
@@ -2097,13 +2141,13 @@ const Do = u.div`
|
|
|
2097
2141
|
|
|
2098
2142
|
color: ${({ theme: e }) => e.aiChat.suggestions.textColor};
|
|
2099
2143
|
background-color: ${({ theme: e }) => e.aiChat.suggestions.backgroundColor};
|
|
2100
|
-
`,
|
|
2101
|
-
const { t: e } =
|
|
2102
|
-
return /* @__PURE__ */
|
|
2144
|
+
`, dt = () => {
|
|
2145
|
+
const { t: e } = k(), { themeSettings: t } = b();
|
|
2146
|
+
return /* @__PURE__ */ n(Wo, { theme: t, children: e("ai.betaLabel") });
|
|
2103
2147
|
};
|
|
2104
|
-
function
|
|
2148
|
+
function qo() {
|
|
2105
2149
|
const { themeSettings: e } = b();
|
|
2106
|
-
return /* @__PURE__ */
|
|
2150
|
+
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(
|
|
2107
2151
|
"path",
|
|
2108
2152
|
{
|
|
2109
2153
|
fillRule: "evenodd",
|
|
@@ -2113,10 +2157,10 @@ function Fo() {
|
|
|
2113
2157
|
}
|
|
2114
2158
|
) });
|
|
2115
2159
|
}
|
|
2116
|
-
const
|
|
2117
|
-
const
|
|
2118
|
-
return
|
|
2119
|
-
},
|
|
2160
|
+
const Ao = (e, t) => {
|
|
2161
|
+
const o = new Kt(e);
|
|
2162
|
+
return o.alpha = t, o;
|
|
2163
|
+
}, Zo = h.div`
|
|
2120
2164
|
font-size: inherit;
|
|
2121
2165
|
line-height: inherit;
|
|
2122
2166
|
padding-left: 8px;
|
|
@@ -2124,7 +2168,7 @@ const No = (e, t) => {
|
|
|
2124
2168
|
padding-top: 4px;
|
|
2125
2169
|
border-radius: 16px;
|
|
2126
2170
|
margin-bottom: 4px;
|
|
2127
|
-
box-shadow: ${({ theme: e }) => `0 4px 8px 0 ${
|
|
2171
|
+
box-shadow: ${({ theme: e }) => `0 4px 8px 0 ${Ao(e.aiChat.primaryTextColor, 0.2)}`};
|
|
2128
2172
|
cursor: pointer;
|
|
2129
2173
|
color: ${({ theme: e }) => e.aiChat.clickableMessages.textColor};
|
|
2130
2174
|
background-color: ${({ theme: e }) => e.aiChat.clickableMessages.backgroundColor};
|
|
@@ -2133,10 +2177,10 @@ const No = (e, t) => {
|
|
|
2133
2177
|
color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.textColor};
|
|
2134
2178
|
background-color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.backgroundColor};
|
|
2135
2179
|
box-shadow: none;
|
|
2136
|
-
`,
|
|
2180
|
+
`, zo = ({ onClick: e }) => {
|
|
2137
2181
|
const { themeSettings: t } = b();
|
|
2138
|
-
return /* @__PURE__ */
|
|
2139
|
-
},
|
|
2182
|
+
return /* @__PURE__ */ n(Zo, { theme: t, onClick: e, children: /* @__PURE__ */ n(qo, {}) });
|
|
2183
|
+
}, Vo = ({ isVisible: e, onClick: t, anchorElement: o }) => /* @__PURE__ */ n(ze, { anchorEl: o, open: e, placement: "top", sx: { zIndex: 2 }, children: /* @__PURE__ */ n(zo, { onClick: t }) }), Go = h.div`
|
|
2140
2184
|
display: flex;
|
|
2141
2185
|
flex-direction: column;
|
|
2142
2186
|
row-gap: ${({ theme: e }) => e.aiChat.body.gapBetweenMessages};
|
|
@@ -2147,7 +2191,7 @@ const No = (e, t) => {
|
|
|
2147
2191
|
padding-bottom: ${({ theme: e }) => e.aiChat.body.paddingBottom};
|
|
2148
2192
|
flex: initial;
|
|
2149
2193
|
height: 100%;
|
|
2150
|
-
`,
|
|
2194
|
+
`, jo = h.div`
|
|
2151
2195
|
padding-left: ${({ theme: e }) => e.aiChat.footer.paddingLeft};
|
|
2152
2196
|
padding-right: ${({ theme: e }) => e.aiChat.footer.paddingRight};
|
|
2153
2197
|
padding-top: ${({ theme: e }) => e.aiChat.footer.paddingTop};
|
|
@@ -2155,130 +2199,131 @@ const No = (e, t) => {
|
|
|
2155
2199
|
display: flex;
|
|
2156
2200
|
flex-direction: column;
|
|
2157
2201
|
row-gap: 6px;
|
|
2158
|
-
`,
|
|
2202
|
+
`, Qo = h.div`
|
|
2159
2203
|
display: flex;
|
|
2160
2204
|
flex-direction: column;
|
|
2161
2205
|
row-gap: ${({ theme: e }) => e.aiChat.suggestions.gap};
|
|
2162
2206
|
`;
|
|
2163
|
-
function
|
|
2164
|
-
const { t:
|
|
2165
|
-
data:
|
|
2166
|
-
isLoading:
|
|
2167
|
-
isError:
|
|
2207
|
+
function Uo({ contextTitle: e, onGoBack: t }) {
|
|
2208
|
+
const { t: o } = k(), { enableFollowupQuestions: r, enableHeader: i, numOfRecentPrompts: s, numOfRecommendations: a } = W(), { themeSettings: c } = b(), {
|
|
2209
|
+
data: l,
|
|
2210
|
+
isLoading: d,
|
|
2211
|
+
isError: C
|
|
2168
2212
|
} = Je({
|
|
2169
|
-
contextTitle: e
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2213
|
+
contextTitle: e,
|
|
2214
|
+
count: a
|
|
2215
|
+
}), u = D(
|
|
2216
|
+
() => l == null ? void 0 : l.map((v) => v.nlqPrompt),
|
|
2217
|
+
[l]
|
|
2173
2218
|
), {
|
|
2174
|
-
history:
|
|
2175
|
-
lastNlqResponse:
|
|
2176
|
-
isAwaitingResponse:
|
|
2177
|
-
sendMessage:
|
|
2178
|
-
isLoading:
|
|
2179
|
-
chatId:
|
|
2180
|
-
lastError:
|
|
2181
|
-
} =
|
|
2182
|
-
|
|
2183
|
-
},
|
|
2184
|
-
if (!(
|
|
2219
|
+
history: p,
|
|
2220
|
+
lastNlqResponse: m,
|
|
2221
|
+
isAwaitingResponse: x,
|
|
2222
|
+
sendMessage: M,
|
|
2223
|
+
isLoading: y,
|
|
2224
|
+
chatId: q,
|
|
2225
|
+
lastError: N
|
|
2226
|
+
} = y1(e), { mutate: S, isLoading: O } = tt(q), [B, F] = $(!1), [V, se] = $(!1), fe = () => F(!0), X = () => F(!1), U = () => {
|
|
2227
|
+
S(), X();
|
|
2228
|
+
}, I = J(null), _ = J(null), me = () => {
|
|
2229
|
+
if (!(I != null && I.current))
|
|
2185
2230
|
return;
|
|
2186
|
-
const { scrollTop:
|
|
2187
|
-
if (
|
|
2231
|
+
const { scrollTop: v, clientHeight: A, scrollHeight: He } = I.current;
|
|
2232
|
+
if (v === void 0 || A === void 0 || He === void 0)
|
|
2188
2233
|
return;
|
|
2189
|
-
const
|
|
2190
|
-
|
|
2234
|
+
const Be = He - v - A > A / 2;
|
|
2235
|
+
V !== Be && se(Be);
|
|
2191
2236
|
};
|
|
2192
2237
|
ce(() => {
|
|
2193
|
-
|
|
2194
|
-
}, [
|
|
2195
|
-
const
|
|
2196
|
-
|
|
2238
|
+
I.current && (I.current.scrollTop = I.current.scrollHeight);
|
|
2239
|
+
}, [p, B, x]);
|
|
2240
|
+
const be = J(null), K = i ? /* @__PURE__ */ n(
|
|
2241
|
+
ct,
|
|
2197
2242
|
{
|
|
2198
|
-
ref:
|
|
2243
|
+
ref: be,
|
|
2199
2244
|
title: e,
|
|
2200
|
-
leftNav: t && /* @__PURE__ */ o
|
|
2201
|
-
rightNav: /* @__PURE__ */
|
|
2202
|
-
style:
|
|
2245
|
+
leftNav: t && /* @__PURE__ */ n($o, { onClick: t, color: c.aiChat.header.textColor }),
|
|
2246
|
+
rightNav: /* @__PURE__ */ n(dt, {}),
|
|
2247
|
+
style: c.aiChat.header
|
|
2203
2248
|
}
|
|
2204
|
-
) : null,
|
|
2249
|
+
) : null, xe = D(
|
|
2205
2250
|
() => [
|
|
2206
2251
|
...new Set(
|
|
2207
|
-
|
|
2252
|
+
p.filter((v) => v.role === "user").filter((v) => !(u != null && u.includes(v.content))).map((v) => v.content).reverse()
|
|
2208
2253
|
)
|
|
2209
|
-
].slice(0,
|
|
2210
|
-
[
|
|
2254
|
+
].slice(0, s),
|
|
2255
|
+
[p, s, u]
|
|
2211
2256
|
);
|
|
2212
|
-
return (
|
|
2213
|
-
|
|
2214
|
-
/* @__PURE__ */
|
|
2215
|
-
] }) : /* @__PURE__ */
|
|
2216
|
-
|
|
2217
|
-
/* @__PURE__ */
|
|
2218
|
-
/* @__PURE__ */
|
|
2219
|
-
|
|
2257
|
+
return (N == null ? void 0 : N.message) === o("ai.errors.chatUnavailable") ? /* @__PURE__ */ g(H, { children: [
|
|
2258
|
+
i && K,
|
|
2259
|
+
/* @__PURE__ */ n(st, { text: N.message })
|
|
2260
|
+
] }) : /* @__PURE__ */ g(H, { children: [
|
|
2261
|
+
K,
|
|
2262
|
+
/* @__PURE__ */ g(Go, { ref: I, theme: c, onScroll: me, children: [
|
|
2263
|
+
/* @__PURE__ */ n(
|
|
2264
|
+
Vo,
|
|
2220
2265
|
{
|
|
2221
|
-
isVisible:
|
|
2222
|
-
anchorElement:
|
|
2266
|
+
isVisible: V,
|
|
2267
|
+
anchorElement: _.current,
|
|
2223
2268
|
onClick: () => {
|
|
2224
|
-
var
|
|
2225
|
-
(
|
|
2226
|
-
top: (
|
|
2269
|
+
var v, A;
|
|
2270
|
+
(A = I.current) == null || A.scroll({
|
|
2271
|
+
top: (v = I.current) == null ? void 0 : v.scrollHeight,
|
|
2227
2272
|
behavior: "smooth"
|
|
2228
2273
|
});
|
|
2229
2274
|
}
|
|
2230
2275
|
}
|
|
2231
2276
|
),
|
|
2232
|
-
/* @__PURE__ */
|
|
2233
|
-
/* @__PURE__ */
|
|
2234
|
-
|
|
2277
|
+
/* @__PURE__ */ n(V1, {}),
|
|
2278
|
+
/* @__PURE__ */ n(
|
|
2279
|
+
Bo,
|
|
2235
2280
|
{
|
|
2236
|
-
questions:
|
|
2237
|
-
isLoading:
|
|
2238
|
-
onSelection:
|
|
2281
|
+
questions: u || [],
|
|
2282
|
+
isLoading: d,
|
|
2283
|
+
onSelection: M
|
|
2239
2284
|
}
|
|
2240
2285
|
),
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2286
|
+
N && /* @__PURE__ */ n(z, { align: "left", children: N.message }),
|
|
2287
|
+
y ? /* @__PURE__ */ n(ge, {}) : /* @__PURE__ */ n(Lo, { messages: p }),
|
|
2288
|
+
r && m && /* @__PURE__ */ n(Qo, { theme: c, children: m.followupQuestions.slice(0, 2).map((v, A) => /* @__PURE__ */ n(
|
|
2244
2289
|
de,
|
|
2245
2290
|
{
|
|
2246
2291
|
align: "left",
|
|
2247
2292
|
onClick: () => {
|
|
2248
|
-
|
|
2293
|
+
M(v);
|
|
2249
2294
|
},
|
|
2250
|
-
children: /* @__PURE__ */
|
|
2295
|
+
children: /* @__PURE__ */ n("div", { className: "csdk-py-[7px] csdk-px-4", children: v })
|
|
2251
2296
|
},
|
|
2252
|
-
|
|
2297
|
+
A
|
|
2253
2298
|
)) }),
|
|
2254
|
-
(
|
|
2255
|
-
|
|
2256
|
-
|
|
2299
|
+
(x || O) && /* @__PURE__ */ n(Ne, {}),
|
|
2300
|
+
B && /* @__PURE__ */ n(
|
|
2301
|
+
K1,
|
|
2257
2302
|
{
|
|
2258
|
-
onCancel:
|
|
2259
|
-
onConfirm:
|
|
2303
|
+
onCancel: X,
|
|
2304
|
+
onConfirm: U
|
|
2260
2305
|
}
|
|
2261
2306
|
)
|
|
2262
2307
|
] }),
|
|
2263
|
-
/* @__PURE__ */
|
|
2264
|
-
/* @__PURE__ */
|
|
2265
|
-
|
|
2308
|
+
/* @__PURE__ */ g(jo, { ref: _, theme: c, children: [
|
|
2309
|
+
/* @__PURE__ */ n(
|
|
2310
|
+
Z1,
|
|
2266
2311
|
{
|
|
2267
|
-
onSendMessage:
|
|
2268
|
-
disabled:
|
|
2269
|
-
onClearHistoryClick:
|
|
2270
|
-
suggestions:
|
|
2271
|
-
recentPrompts:
|
|
2272
|
-
isLoading:
|
|
2273
|
-
recommendationsError:
|
|
2274
|
-
onChange:
|
|
2312
|
+
onSendMessage: M,
|
|
2313
|
+
disabled: x || y,
|
|
2314
|
+
onClearHistoryClick: fe,
|
|
2315
|
+
suggestions: u || [],
|
|
2316
|
+
recentPrompts: xe,
|
|
2317
|
+
isLoading: d || y,
|
|
2318
|
+
recommendationsError: C,
|
|
2319
|
+
onChange: X
|
|
2275
2320
|
}
|
|
2276
2321
|
),
|
|
2277
|
-
/* @__PURE__ */
|
|
2322
|
+
/* @__PURE__ */ n(Oo, { theme: c })
|
|
2278
2323
|
] })
|
|
2279
2324
|
] });
|
|
2280
2325
|
}
|
|
2281
|
-
const
|
|
2326
|
+
const _o = h.button`
|
|
2282
2327
|
font-family: ${({ theme: e }) => e.typography.fontFamily};
|
|
2283
2328
|
padding: 20px;
|
|
2284
2329
|
border: none;
|
|
@@ -2291,38 +2336,38 @@ const zo = u.button`
|
|
|
2291
2336
|
cursor: pointer;
|
|
2292
2337
|
|
|
2293
2338
|
background-color: ${({ theme: e }) => e.aiChat.dataTopics.items.backgroundColor};
|
|
2294
|
-
`,
|
|
2339
|
+
`, Ko = h.div`
|
|
2295
2340
|
font-size: 1.05rem;
|
|
2296
2341
|
line-height: 28px;
|
|
2297
2342
|
|
|
2298
2343
|
color: ${({ theme: e }) => e.aiChat.dataTopics.items.textColor};
|
|
2299
|
-
`,
|
|
2344
|
+
`, Yo = h.div`
|
|
2300
2345
|
font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
|
|
2301
2346
|
line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
|
|
2302
2347
|
|
|
2303
|
-
color: ${({ theme: e }) =>
|
|
2304
|
-
`,
|
|
2348
|
+
color: ${({ theme: e }) => Qe(e.aiChat.dataTopics.items.textColor, 0, 0.5)};
|
|
2349
|
+
`, Jo = h.div`
|
|
2305
2350
|
width: 16px;
|
|
2306
2351
|
height: 16px;
|
|
2307
2352
|
transform: rotate(180deg);
|
|
2308
2353
|
`;
|
|
2309
|
-
function
|
|
2310
|
-
const { title: t, description:
|
|
2311
|
-
return /* @__PURE__ */
|
|
2312
|
-
/* @__PURE__ */
|
|
2313
|
-
/* @__PURE__ */
|
|
2314
|
-
/* @__PURE__ */
|
|
2354
|
+
function Xo(e) {
|
|
2355
|
+
const { title: t, description: o, onClick: r } = e, { themeSettings: i } = b();
|
|
2356
|
+
return /* @__PURE__ */ g(_o, { onClick: r, theme: i, children: [
|
|
2357
|
+
/* @__PURE__ */ g("div", { children: [
|
|
2358
|
+
/* @__PURE__ */ n(Ko, { theme: i, children: t }),
|
|
2359
|
+
/* @__PURE__ */ n(Yo, { theme: i, children: o })
|
|
2315
2360
|
] }),
|
|
2316
|
-
/* @__PURE__ */
|
|
2361
|
+
/* @__PURE__ */ n(Jo, { children: /* @__PURE__ */ n(lt, { color: i.aiChat.icons.color }) })
|
|
2317
2362
|
] });
|
|
2318
2363
|
}
|
|
2319
|
-
const
|
|
2364
|
+
const en = h.div`
|
|
2320
2365
|
padding: 20px;
|
|
2321
2366
|
display: flex;
|
|
2322
2367
|
flex-direction: column;
|
|
2323
2368
|
gap: 20px;
|
|
2324
2369
|
overflow: auto;
|
|
2325
|
-
`,
|
|
2370
|
+
`, tn = h.div`
|
|
2326
2371
|
font-size: 24px;
|
|
2327
2372
|
line-height: 32px;
|
|
2328
2373
|
font-weight: 600;
|
|
@@ -2330,29 +2375,29 @@ const Uo = u.div`
|
|
|
2330
2375
|
padding-bottom: 4px;
|
|
2331
2376
|
|
|
2332
2377
|
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
2333
|
-
`,
|
|
2378
|
+
`, on = h.div`
|
|
2334
2379
|
font-size: 15px;
|
|
2335
2380
|
line-height: 22px;
|
|
2336
2381
|
|
|
2337
2382
|
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
2338
2383
|
`;
|
|
2339
|
-
function
|
|
2340
|
-
const { dataTopics: t } = e, { themeSettings:
|
|
2341
|
-
return /* @__PURE__ */
|
|
2342
|
-
/* @__PURE__ */
|
|
2343
|
-
/* @__PURE__ */
|
|
2384
|
+
function nn(e) {
|
|
2385
|
+
const { dataTopics: t } = e, { themeSettings: o } = b(), { t: r } = k();
|
|
2386
|
+
return /* @__PURE__ */ g(en, { children: [
|
|
2387
|
+
/* @__PURE__ */ n(tn, { theme: o, children: r("ai.dataTopics") }),
|
|
2388
|
+
/* @__PURE__ */ g(on, { theme: o, children: [
|
|
2344
2389
|
r("ai.chatbotDescription"),
|
|
2345
|
-
/* @__PURE__ */
|
|
2346
|
-
/* @__PURE__ */
|
|
2390
|
+
/* @__PURE__ */ n("br", {}),
|
|
2391
|
+
/* @__PURE__ */ n("br", {}),
|
|
2347
2392
|
r("ai.topicSelectPrompt")
|
|
2348
2393
|
] }),
|
|
2349
|
-
t.map((i) => /* @__PURE__ */
|
|
2394
|
+
t.map((i) => /* @__PURE__ */ jt(Xo, L(w({}, i), { key: i.title })))
|
|
2350
2395
|
] });
|
|
2351
2396
|
}
|
|
2352
|
-
const
|
|
2353
|
-
function
|
|
2354
|
-
const t = e ?
|
|
2355
|
-
return /* @__PURE__ */
|
|
2397
|
+
const rn = "#000000", sn = "#FFFFFF";
|
|
2398
|
+
function an({ isDarkBackground: e = !1 }) {
|
|
2399
|
+
const t = e ? sn : rn;
|
|
2400
|
+
return /* @__PURE__ */ g(
|
|
2356
2401
|
"svg",
|
|
2357
2402
|
{
|
|
2358
2403
|
width: "32",
|
|
@@ -2361,112 +2406,112 @@ function en({ isDarkBackground: e = !1 }) {
|
|
|
2361
2406
|
fill: "none",
|
|
2362
2407
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2363
2408
|
children: [
|
|
2364
|
-
/* @__PURE__ */
|
|
2409
|
+
/* @__PURE__ */ n(
|
|
2365
2410
|
"path",
|
|
2366
2411
|
{
|
|
2367
2412
|
d: "M365.111 69.5654C350.571 69.5654 338.747 81.3237 338.747 95.7826C338.747 110.241 350.571 122 365.111 122C379.651 122 391.476 110.241 391.476 95.7826C391.476 81.3237 379.651 69.5654 365.111 69.5654Z",
|
|
2368
2413
|
fill: t
|
|
2369
2414
|
}
|
|
2370
2415
|
),
|
|
2371
|
-
/* @__PURE__ */
|
|
2416
|
+
/* @__PURE__ */ n(
|
|
2372
2417
|
"path",
|
|
2373
2418
|
{
|
|
2374
2419
|
d: "M135.365 147.679C120.824 147.679 109 159.437 109 173.896C109 188.355 120.824 200.113 135.365 200.113C149.905 200.113 161.715 188.355 161.715 173.896C161.715 159.437 149.891 147.679 135.365 147.679Z",
|
|
2375
2420
|
fill: t
|
|
2376
2421
|
}
|
|
2377
2422
|
),
|
|
2378
|
-
/* @__PURE__ */
|
|
2423
|
+
/* @__PURE__ */ n(
|
|
2379
2424
|
"path",
|
|
2380
2425
|
{
|
|
2381
2426
|
d: "M135.365 225.789C120.824 225.789 109 237.547 109 252.006C109 266.465 120.824 278.21 135.365 278.21C149.905 278.21 161.715 266.451 161.715 252.006C161.715 237.561 149.891 225.789 135.365 225.789Z",
|
|
2382
2427
|
fill: t
|
|
2383
2428
|
}
|
|
2384
2429
|
),
|
|
2385
|
-
/* @__PURE__ */
|
|
2430
|
+
/* @__PURE__ */ n(
|
|
2386
2431
|
"path",
|
|
2387
2432
|
{
|
|
2388
2433
|
d: "M364.401 225.789C349.861 225.789 338.037 237.547 338.037 252.006C338.037 266.465 349.861 278.21 364.401 278.21C378.941 278.21 390.766 266.451 390.766 252.006C390.766 237.561 378.941 225.789 364.401 225.789Z",
|
|
2389
2434
|
fill: t
|
|
2390
2435
|
}
|
|
2391
2436
|
),
|
|
2392
|
-
/* @__PURE__ */
|
|
2437
|
+
/* @__PURE__ */ n(
|
|
2393
2438
|
"path",
|
|
2394
2439
|
{
|
|
2395
2440
|
d: "M365.111 303.899C350.571 303.899 338.747 315.658 338.747 330.117C338.747 344.575 350.571 356.334 365.111 356.334C379.651 356.334 391.476 344.575 391.476 330.117C391.476 315.658 379.651 303.899 365.111 303.899Z",
|
|
2396
2441
|
fill: t
|
|
2397
2442
|
}
|
|
2398
2443
|
),
|
|
2399
|
-
/* @__PURE__ */
|
|
2444
|
+
/* @__PURE__ */ n(
|
|
2400
2445
|
"path",
|
|
2401
2446
|
{
|
|
2402
2447
|
d: "M135.365 382.013C120.824 382.013 109 393.771 109 408.23C109 422.689 120.824 434.447 135.365 434.447C149.905 434.447 161.715 422.689 161.715 408.23C161.715 393.771 149.891 382.013 135.365 382.013Z",
|
|
2403
2448
|
fill: t
|
|
2404
2449
|
}
|
|
2405
2450
|
),
|
|
2406
|
-
/* @__PURE__ */
|
|
2451
|
+
/* @__PURE__ */ n(
|
|
2407
2452
|
"path",
|
|
2408
2453
|
{
|
|
2409
2454
|
d: "M289.516 142.11C271.898 142.11 257.567 156.362 257.567 173.895C257.567 191.429 271.898 205.666 289.516 205.666C307.135 205.666 321.466 191.415 321.466 173.895C321.466 156.375 307.135 142.11 289.516 142.11Z",
|
|
2410
2455
|
fill: t
|
|
2411
2456
|
}
|
|
2412
2457
|
),
|
|
2413
|
-
/* @__PURE__ */
|
|
2458
|
+
/* @__PURE__ */ n(
|
|
2414
2459
|
"path",
|
|
2415
2460
|
{
|
|
2416
2461
|
d: "M210.96 142.11C193.342 142.11 179.01 156.362 179.01 173.895C179.01 191.429 193.342 205.666 210.96 205.666C228.578 205.666 242.909 191.415 242.909 173.895C242.909 156.375 228.578 142.11 210.96 142.11Z",
|
|
2417
2462
|
fill: t
|
|
2418
2463
|
}
|
|
2419
2464
|
),
|
|
2420
|
-
/* @__PURE__ */
|
|
2465
|
+
/* @__PURE__ */ n(
|
|
2421
2466
|
"path",
|
|
2422
2467
|
{
|
|
2423
2468
|
d: "M289.516 220.224C271.898 220.224 257.567 234.475 257.567 252.008C257.567 269.542 271.898 283.779 289.516 283.779C307.135 283.779 321.466 269.528 321.466 252.008C321.466 234.489 307.135 220.224 289.516 220.224Z",
|
|
2424
2469
|
fill: t
|
|
2425
2470
|
}
|
|
2426
2471
|
),
|
|
2427
|
-
/* @__PURE__ */
|
|
2472
|
+
/* @__PURE__ */ n(
|
|
2428
2473
|
"path",
|
|
2429
2474
|
{
|
|
2430
2475
|
d: "M210.96 220.224C193.342 220.224 179.01 234.475 179.01 252.008C179.01 269.542 193.342 283.779 210.96 283.779C228.578 283.779 242.909 269.528 242.909 252.008C242.909 234.489 228.578 220.224 210.96 220.224Z",
|
|
2431
2476
|
fill: t
|
|
2432
2477
|
}
|
|
2433
2478
|
),
|
|
2434
|
-
/* @__PURE__ */
|
|
2479
|
+
/* @__PURE__ */ n(
|
|
2435
2480
|
"path",
|
|
2436
2481
|
{
|
|
2437
2482
|
d: "M289.516 298.334C271.898 298.334 257.567 312.585 257.567 330.105C257.567 347.624 271.898 361.889 289.516 361.889C307.135 361.889 321.466 347.638 321.466 330.105C321.466 312.571 307.135 298.334 289.516 298.334Z",
|
|
2438
2483
|
fill: t
|
|
2439
2484
|
}
|
|
2440
2485
|
),
|
|
2441
|
-
/* @__PURE__ */
|
|
2486
|
+
/* @__PURE__ */ n(
|
|
2442
2487
|
"path",
|
|
2443
2488
|
{
|
|
2444
2489
|
d: "M210.96 298.334C193.342 298.334 179.01 312.585 179.01 330.105C179.01 347.624 193.342 361.889 210.96 361.889C228.578 361.889 242.909 347.638 242.909 330.105C242.909 312.571 228.578 298.334 210.96 298.334Z",
|
|
2445
2490
|
fill: t
|
|
2446
2491
|
}
|
|
2447
2492
|
),
|
|
2448
|
-
/* @__PURE__ */
|
|
2493
|
+
/* @__PURE__ */ n(
|
|
2449
2494
|
"path",
|
|
2450
2495
|
{
|
|
2451
2496
|
d: "M289.516 64C271.898 64 257.567 78.2512 257.567 95.7847C257.567 113.318 271.898 127.555 289.516 127.555C307.135 127.555 321.466 113.304 321.466 95.7847C321.466 78.265 307.135 64 289.516 64Z",
|
|
2452
2497
|
fill: t
|
|
2453
2498
|
}
|
|
2454
2499
|
),
|
|
2455
|
-
/* @__PURE__ */
|
|
2500
|
+
/* @__PURE__ */ n(
|
|
2456
2501
|
"path",
|
|
2457
2502
|
{
|
|
2458
2503
|
d: "M210.96 64C193.342 64 179.01 78.2512 179.01 95.7847C179.01 113.318 193.342 127.555 210.96 127.555C228.578 127.555 242.909 113.304 242.909 95.7847C242.909 78.265 228.578 64 210.96 64Z",
|
|
2459
2504
|
fill: t
|
|
2460
2505
|
}
|
|
2461
2506
|
),
|
|
2462
|
-
/* @__PURE__ */
|
|
2507
|
+
/* @__PURE__ */ n(
|
|
2463
2508
|
"path",
|
|
2464
2509
|
{
|
|
2465
2510
|
d: "M289.516 376.442C271.898 376.442 257.567 390.694 257.567 408.213C257.567 425.733 271.898 439.998 289.516 439.998C307.135 439.998 321.466 425.747 321.466 408.213C321.466 390.68 307.135 376.442 289.516 376.442Z",
|
|
2466
2511
|
fill: t
|
|
2467
2512
|
}
|
|
2468
2513
|
),
|
|
2469
|
-
/* @__PURE__ */
|
|
2514
|
+
/* @__PURE__ */ n(
|
|
2470
2515
|
"path",
|
|
2471
2516
|
{
|
|
2472
2517
|
d: "M210.96 376.442C193.342 376.442 179.01 390.694 179.01 408.213C179.01 425.733 193.342 439.998 210.96 439.998C228.578 439.998 242.909 425.747 242.909 408.213C242.909 390.68 228.578 376.442 210.96 376.442Z",
|
|
@@ -2477,10 +2522,10 @@ function en({ isDarkBackground: e = !1 }) {
|
|
|
2477
2522
|
}
|
|
2478
2523
|
);
|
|
2479
2524
|
}
|
|
2480
|
-
const
|
|
2525
|
+
const ln = h.div`
|
|
2481
2526
|
margin-left: 14px;
|
|
2482
2527
|
margin-top: 3px;
|
|
2483
|
-
`,
|
|
2528
|
+
`, cn = h.div`
|
|
2484
2529
|
display: flex;
|
|
2485
2530
|
flex-direction: column;
|
|
2486
2531
|
justify-content: top;
|
|
@@ -2489,85 +2534,93 @@ const tn = u.div`
|
|
|
2489
2534
|
|
|
2490
2535
|
background-color: ${({ theme: e }) => e.aiChat.dataTopics.backgroundColor};
|
|
2491
2536
|
`;
|
|
2492
|
-
function
|
|
2493
|
-
const { enableHeader:
|
|
2537
|
+
function dn({ dataTopicsList: e, onDataTopicClick: t }) {
|
|
2538
|
+
const { enableHeader: o } = W(), { themeSettings: r } = b(), { t: i } = k(), s = D(() => e == null ? void 0 : e.map((c) => ({
|
|
2494
2539
|
title: c,
|
|
2495
2540
|
onClick: () => t(c)
|
|
2496
|
-
})), [e, t]),
|
|
2497
|
-
return /* @__PURE__ */
|
|
2498
|
-
|
|
2499
|
-
|
|
2541
|
+
})), [e, t]), a = Yt(Jt(r.aiChat.header.backgroundColor)) > 0.5;
|
|
2542
|
+
return /* @__PURE__ */ g(H, { children: [
|
|
2543
|
+
o ? /* @__PURE__ */ n(
|
|
2544
|
+
ct,
|
|
2500
2545
|
{
|
|
2501
2546
|
title: i("ai.analyticsChatbot"),
|
|
2502
|
-
leftNav: /* @__PURE__ */
|
|
2503
|
-
rightNav: /* @__PURE__ */
|
|
2547
|
+
leftNav: /* @__PURE__ */ n(ln, { children: /* @__PURE__ */ n(an, { isDarkBackground: a }) }),
|
|
2548
|
+
rightNav: /* @__PURE__ */ n(dt, {}),
|
|
2504
2549
|
style: r.aiChat.header
|
|
2505
2550
|
}
|
|
2506
2551
|
) : null,
|
|
2507
|
-
/* @__PURE__ */
|
|
2508
|
-
!
|
|
2509
|
-
|
|
2552
|
+
/* @__PURE__ */ g(cn, { theme: r, children: [
|
|
2553
|
+
!s && /* @__PURE__ */ n(ge, {}),
|
|
2554
|
+
s && /* @__PURE__ */ n(nn, { dataTopics: s })
|
|
2510
2555
|
] })
|
|
2511
2556
|
] });
|
|
2512
2557
|
}
|
|
2513
|
-
function
|
|
2514
|
-
const [e, t] =
|
|
2515
|
-
|
|
2516
|
-
if (
|
|
2517
|
-
let
|
|
2518
|
-
l && l.length && (
|
|
2558
|
+
function un() {
|
|
2559
|
+
const [e, t] = $([]), [o, r] = $(), [i, s] = $(), { data: a, fetchStatus: c } = nt(), { dataTopicsList: l } = W(), { t: d } = k();
|
|
2560
|
+
oe(() => {
|
|
2561
|
+
if (a && c === "idle") {
|
|
2562
|
+
let p = a;
|
|
2563
|
+
l && l.length && (p = a == null ? void 0 : a.filter((m) => l == null ? void 0 : l.includes(m.title))), t(p.map((m) => m.title)), p.length ? p.length === 1 && (s(void 0), r(p[0].title)) : s(d("ai.errors.noAvailableDataTopics"));
|
|
2519
2564
|
}
|
|
2520
|
-
}, [
|
|
2521
|
-
const
|
|
2522
|
-
|
|
2523
|
-
}, [
|
|
2524
|
-
return i ? /* @__PURE__ */
|
|
2525
|
-
|
|
2565
|
+
}, [a, l, c, d]);
|
|
2566
|
+
const C = te(), u = T(() => {
|
|
2567
|
+
s(void 0), C.invalidateQueries(["getDataTopics"]);
|
|
2568
|
+
}, [C]);
|
|
2569
|
+
return i ? /* @__PURE__ */ n(
|
|
2570
|
+
st,
|
|
2526
2571
|
{
|
|
2527
2572
|
text: i,
|
|
2528
|
-
action: { text: d("ai.buttons.refresh"), onClick:
|
|
2573
|
+
action: { text: d("ai.buttons.refresh"), onClick: u }
|
|
2529
2574
|
}
|
|
2530
|
-
) : e.length === 1 && !
|
|
2531
|
-
|
|
2575
|
+
) : e.length === 1 && !o ? /* @__PURE__ */ n(ge, {}) : o ? /* @__PURE__ */ n(
|
|
2576
|
+
Uo,
|
|
2532
2577
|
{
|
|
2533
|
-
contextTitle:
|
|
2578
|
+
contextTitle: o,
|
|
2534
2579
|
onGoBack: e.length === 1 ? void 0 : () => r(void 0)
|
|
2535
2580
|
}
|
|
2536
|
-
) : /* @__PURE__ */
|
|
2537
|
-
|
|
2581
|
+
) : /* @__PURE__ */ n(
|
|
2582
|
+
dn,
|
|
2538
2583
|
{
|
|
2539
2584
|
dataTopicsList: e,
|
|
2540
|
-
onDataTopicClick: (
|
|
2585
|
+
onDataTopicClick: (p) => r(p)
|
|
2541
2586
|
}
|
|
2542
2587
|
);
|
|
2543
2588
|
}
|
|
2544
|
-
const
|
|
2589
|
+
const En = $e({
|
|
2545
2590
|
componentName: "Chatbot"
|
|
2546
2591
|
})((e) => {
|
|
2547
|
-
const { width: t, height:
|
|
2548
|
-
return /* @__PURE__ */
|
|
2549
|
-
|
|
2592
|
+
const { width: t, height: o, config: r } = e, { themeSettings: i } = b();
|
|
2593
|
+
return /* @__PURE__ */ n(g1, { value: r != null ? r : {}, children: /* @__PURE__ */ n(
|
|
2594
|
+
M1,
|
|
2550
2595
|
{
|
|
2551
2596
|
id: "csdk-chatbot-frame",
|
|
2552
2597
|
width: t,
|
|
2553
|
-
height:
|
|
2598
|
+
height: o,
|
|
2554
2599
|
theme: i,
|
|
2555
2600
|
tabIndex: 0,
|
|
2556
|
-
children: /* @__PURE__ */
|
|
2601
|
+
children: /* @__PURE__ */ n(un, {})
|
|
2557
2602
|
}
|
|
2558
2603
|
) });
|
|
2559
|
-
}),
|
|
2604
|
+
}), Nn = $e({
|
|
2605
|
+
componentName: "GetNlgInsights"
|
|
2606
|
+
})(function(t) {
|
|
2607
|
+
const { data: o, isLoading: r, isError: i } = ne(t), { t: s } = k();
|
|
2608
|
+
if (i)
|
|
2609
|
+
return /* @__PURE__ */ n(H, { children: s("ai.errors.unexpected") });
|
|
2610
|
+
const a = o != null ? o : "Oops, no data came back for that.";
|
|
2611
|
+
return /* @__PURE__ */ n(Ce, { text: r ? "Loading..." : a });
|
|
2612
|
+
}), In = $e({
|
|
2560
2613
|
componentName: "GetNlgQueryResult"
|
|
2561
2614
|
})(function(t) {
|
|
2562
|
-
const { data:
|
|
2615
|
+
const { data: o, isLoading: r, isError: i } = ne(t), { t: s } = k();
|
|
2563
2616
|
if (i)
|
|
2564
|
-
return /* @__PURE__ */
|
|
2565
|
-
const
|
|
2566
|
-
return /* @__PURE__ */
|
|
2617
|
+
return /* @__PURE__ */ n(H, { children: s("ai.errors.unexpected") });
|
|
2618
|
+
const a = o != null ? o : "Oops, no data came back for that.";
|
|
2619
|
+
return /* @__PURE__ */ n(Ce, { text: r ? "Loading..." : a });
|
|
2567
2620
|
});
|
|
2568
|
-
function
|
|
2621
|
+
function hn({ theme: e }) {
|
|
2569
2622
|
const t = e.general.brandColor;
|
|
2570
|
-
return /* @__PURE__ */
|
|
2623
|
+
return /* @__PURE__ */ g(
|
|
2571
2624
|
"svg",
|
|
2572
2625
|
{
|
|
2573
2626
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2576,7 +2629,7 @@ function sn({ theme: e }) {
|
|
|
2576
2629
|
viewBox: "-2 -3 24 24",
|
|
2577
2630
|
fill: "none",
|
|
2578
2631
|
children: [
|
|
2579
|
-
/* @__PURE__ */
|
|
2632
|
+
/* @__PURE__ */ n(
|
|
2580
2633
|
"path",
|
|
2581
2634
|
{
|
|
2582
2635
|
"fill-rule": "evenodd",
|
|
@@ -2585,7 +2638,7 @@ function sn({ theme: e }) {
|
|
|
2585
2638
|
fill: t
|
|
2586
2639
|
}
|
|
2587
2640
|
),
|
|
2588
|
-
/* @__PURE__ */
|
|
2641
|
+
/* @__PURE__ */ n(
|
|
2589
2642
|
"path",
|
|
2590
2643
|
{
|
|
2591
2644
|
"fill-rule": "evenodd",
|
|
@@ -2594,7 +2647,7 @@ function sn({ theme: e }) {
|
|
|
2594
2647
|
fill: t
|
|
2595
2648
|
}
|
|
2596
2649
|
),
|
|
2597
|
-
/* @__PURE__ */
|
|
2650
|
+
/* @__PURE__ */ n(
|
|
2598
2651
|
"path",
|
|
2599
2652
|
{
|
|
2600
2653
|
"fill-rule": "evenodd",
|
|
@@ -2607,77 +2660,88 @@ function sn({ theme: e }) {
|
|
|
2607
2660
|
}
|
|
2608
2661
|
);
|
|
2609
2662
|
}
|
|
2610
|
-
const
|
|
2663
|
+
const pn = h.div`
|
|
2611
2664
|
display: flex;
|
|
2612
2665
|
flex-direction: row;
|
|
2613
2666
|
align-items: center;
|
|
2614
2667
|
gap: 10px;
|
|
2615
2668
|
margin: 24px 0;
|
|
2616
2669
|
max-width: 640px;
|
|
2617
|
-
`,
|
|
2670
|
+
`, gn = h.div`
|
|
2618
2671
|
align-self: flex-start;
|
|
2619
|
-
`,
|
|
2620
|
-
const { themeSettings:
|
|
2621
|
-
return /* @__PURE__ */
|
|
2622
|
-
|
|
2672
|
+
`, Cn = ({ summary: e, nlgRequest: t }) => {
|
|
2673
|
+
const { themeSettings: o } = b();
|
|
2674
|
+
return /* @__PURE__ */ n(
|
|
2675
|
+
Le,
|
|
2623
2676
|
{
|
|
2624
2677
|
sourceId: t.jaql.datasource.title,
|
|
2625
2678
|
data: t,
|
|
2626
2679
|
type: "chart/insights",
|
|
2627
2680
|
buttonVisibility: "always",
|
|
2628
|
-
renderContent: (r) => /* @__PURE__ */
|
|
2629
|
-
/* @__PURE__ */
|
|
2630
|
-
/* @__PURE__ */
|
|
2681
|
+
renderContent: (r) => /* @__PURE__ */ g(pn, { theme: o, children: [
|
|
2682
|
+
/* @__PURE__ */ n(gn, { theme: o, children: /* @__PURE__ */ n(hn, { theme: o }) }),
|
|
2683
|
+
/* @__PURE__ */ n(Ce, { text: e }),
|
|
2631
2684
|
r
|
|
2632
2685
|
] })
|
|
2633
2686
|
}
|
|
2634
2687
|
);
|
|
2635
|
-
},
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2688
|
+
}, Hn = ({
|
|
2689
|
+
nlqResponse: e,
|
|
2690
|
+
onDataReady: t,
|
|
2691
|
+
filters: o = [],
|
|
2692
|
+
enableHeader: r = !0
|
|
2693
|
+
}) => {
|
|
2694
|
+
e.queryTitle = At(e.queryTitle);
|
|
2695
|
+
const { connectToWidgetProps: i } = Zt({
|
|
2696
|
+
initialFilters: o
|
|
2697
|
+
}), [s, a] = $(null);
|
|
2698
|
+
oe(() => {
|
|
2699
|
+
var p;
|
|
2700
|
+
const u = pe(e, {
|
|
2641
2701
|
useCustomizedStyleOptions: !0
|
|
2642
2702
|
});
|
|
2643
|
-
if (!
|
|
2703
|
+
if (!u)
|
|
2644
2704
|
a(null);
|
|
2645
2705
|
else {
|
|
2646
|
-
|
|
2706
|
+
r || (u.styleOptions = L(w({}, u.styleOptions), {
|
|
2707
|
+
header: L(w({}, (p = u.styleOptions) == null ? void 0 : p.header), {
|
|
2708
|
+
hidden: !0
|
|
2709
|
+
})
|
|
2710
|
+
}));
|
|
2711
|
+
const m = i(u, {
|
|
2647
2712
|
shouldAffectFilters: !1,
|
|
2648
2713
|
applyMode: "filter"
|
|
2649
2714
|
});
|
|
2650
|
-
a(
|
|
2715
|
+
a(m);
|
|
2651
2716
|
}
|
|
2652
|
-
}, [e, r]);
|
|
2653
|
-
const
|
|
2654
|
-
const
|
|
2655
|
-
|
|
2717
|
+
}, [e, i, r]);
|
|
2718
|
+
const c = D(() => {
|
|
2719
|
+
const u = s && Se(s) ? zt(s == null ? void 0 : s.filters) : [], p = e.jaql.metadata.filter((m) => !m.jaql.filter).concat(
|
|
2720
|
+
u.filter((m) => !m.config.disabled).map((m) => m.jaql())
|
|
2656
2721
|
);
|
|
2657
|
-
return
|
|
2658
|
-
}, [e,
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
} = he(s);
|
|
2663
|
-
return l || !i ? /* @__PURE__ */ o($e, {}) : ye(i) ? /* @__PURE__ */ o(
|
|
2664
|
-
te,
|
|
2665
|
-
$(w({}, i), {
|
|
2722
|
+
return L(w({}, e), { jaql: L(w({}, e.jaql), { metadata: p }) });
|
|
2723
|
+
}, [e, s]), { data: l, isLoading: d, isError: C } = ne(c);
|
|
2724
|
+
return d || !s ? /* @__PURE__ */ n(Ne, {}) : Se(s) ? /* @__PURE__ */ n(
|
|
2725
|
+
ee,
|
|
2726
|
+
L(w({}, s), {
|
|
2666
2727
|
highlightSelectionDisabled: !0,
|
|
2667
2728
|
onDataReady: t,
|
|
2668
|
-
topSlot:
|
|
2729
|
+
topSlot: l && !C && /* @__PURE__ */ n(Cn, { nlgRequest: c, summary: l })
|
|
2669
2730
|
})
|
|
2670
|
-
) : /* @__PURE__ */
|
|
2731
|
+
) : /* @__PURE__ */ n(H, {});
|
|
2671
2732
|
};
|
|
2672
2733
|
export {
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2734
|
+
kn as AiContextProvider,
|
|
2735
|
+
En as Chatbot,
|
|
2736
|
+
Nn as GetNlgInsights,
|
|
2737
|
+
In as GetNlgQueryResult,
|
|
2738
|
+
Hn as NlqChartWidget,
|
|
2739
|
+
y1 as useChatSession,
|
|
2740
|
+
Rn as useGetDataSourceFields,
|
|
2741
|
+
Sn as useGetNlgInsights,
|
|
2742
|
+
Mn as useGetNlgQueryResult,
|
|
2743
|
+
Ln as useGetNlqResult,
|
|
2744
|
+
$n as useGetQueryRecommendations,
|
|
2745
|
+
Tn as useLastNlqResponse
|
|
2682
2746
|
};
|
|
2683
2747
|
(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-auto{margin:auto}.csdk-m-checkbox,.csdk-m-radio{margin:6px 10px 6px 6px}.csdk-mx-\\[16px\\]{margin-left:16px;margin-right:16px}.csdk-my-1{margin-top:.25rem;margin-bottom:.25rem}.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-\\[24px\\]{margin-bottom:24px}.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-\\[16px\\]{margin-top:16px}.csdk-mt-\\[2px\\]{margin-top:2px}.csdk-mt-\\[6px\\]{margin-top:6px}.csdk-mt-\\[8px\\]{margin-top:8px}.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-shrink-0{flex-shrink:0}.csdk-grow{flex-grow:1}.csdk-grow-0{flex-grow:0}.-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-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-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-\\[8px\\]{padding-left:8px;padding-right:8px}.csdk-py-\\[14\\.5px\\]{padding-top:14.5px;padding-bottom:14.5px}.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-pl-\\[20px\\]{padding-left:20px}.csdk-pr-10{padding-right:2.5rem}.csdk-pt-48{padding-top:12rem}.csdk-text-left{text-align:left}.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-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)}})();
|