@sisense/mcp-server 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3128 @@
1
+ import {
2
+ A1,
3
+ At,
4
+ B3,
5
+ Be,
6
+ D1,
7
+ Dt as Dt2,
8
+ Gc,
9
+ H3,
10
+ KAe,
11
+ Le,
12
+ Lf,
13
+ MAe,
14
+ Mt,
15
+ Nf,
16
+ Nt,
17
+ Or,
18
+ Ot,
19
+ Rt,
20
+ Uu,
21
+ Ye,
22
+ _,
23
+ a3e,
24
+ aa,
25
+ ake,
26
+ ce,
27
+ cke,
28
+ d3e,
29
+ dAe,
30
+ dke,
31
+ eAe,
32
+ ei,
33
+ er,
34
+ fke,
35
+ hi,
36
+ hke,
37
+ hr,
38
+ hr1 as hr2,
39
+ ie,
40
+ ike,
41
+ k1,
42
+ l1,
43
+ lke,
44
+ mn,
45
+ nke,
46
+ o1,
47
+ oke,
48
+ qEe,
49
+ qt,
50
+ r$,
51
+ require_jsx_runtime,
52
+ require_react,
53
+ rv,
54
+ ske,
55
+ tl,
56
+ tt,
57
+ tw,
58
+ u3e,
59
+ uAe,
60
+ uke,
61
+ vAe,
62
+ vp,
63
+ wi,
64
+ wy,
65
+ xT,
66
+ yn,
67
+ z3,
68
+ zb,
69
+ zk,
70
+ zt
71
+ } from "./sse-server-vxxek6gy.js";
72
+ import {
73
+ Dt,
74
+ em,
75
+ ph
76
+ } from "./sse-server-j22b9cb0.js";
77
+ import {
78
+ __toESM
79
+ } from "./sse-server-7wcvyxyj.js";
80
+
81
+ // node_modules/@sisense/sdk-ui/dist/ai.js
82
+ var Y = __toESM(require_react(), 1);
83
+ var import_react = __toESM(require_react(), 1);
84
+ var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
85
+ var Mn = Object.defineProperty;
86
+ var Tn = Object.defineProperties;
87
+ var Rn = Object.getOwnPropertyDescriptors;
88
+ var Ie = Object.getOwnPropertySymbols;
89
+ var bt = Object.prototype.hasOwnProperty;
90
+ var yt = Object.prototype.propertyIsEnumerable;
91
+ var We = (e, t, n) => (t in e) ? Mn(e, t, { enumerable: true, configurable: true, writable: true, value: n }) : e[t] = n;
92
+ var $ = (e, t) => {
93
+ for (var n in t || (t = {}))
94
+ bt.call(t, n) && We(e, n, t[n]);
95
+ if (Ie)
96
+ for (var n of Ie(t))
97
+ yt.call(t, n) && We(e, n, t[n]);
98
+ return e;
99
+ };
100
+ var L = (e, t) => Tn(e, Rn(t));
101
+ var Ze = (e, t) => {
102
+ var n = {};
103
+ for (var r in e)
104
+ bt.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
105
+ if (e != null && Ie)
106
+ for (var r of Ie(e))
107
+ t.indexOf(r) < 0 && yt.call(e, r) && (n[r] = e[r]);
108
+ return n;
109
+ };
110
+ var A = (e, t, n) => We(e, typeof t != "symbol" ? t + "" : t, n);
111
+ var X = (e, t, n) => new Promise((r, s) => {
112
+ var c = (d) => {
113
+ try {
114
+ h(n.next(d));
115
+ } catch (g) {
116
+ s(g);
117
+ }
118
+ }, l = (d) => {
119
+ try {
120
+ h(n.throw(d));
121
+ } catch (g) {
122
+ s(g);
123
+ }
124
+ }, h = (d) => d.done ? r(d.value) : Promise.resolve(d.value).then(c, l);
125
+ h((n = n.apply(e, t)).next());
126
+ });
127
+
128
+ class gr extends Uu {
129
+ constructor(t, n) {
130
+ super(), this.client = t, this.setOptions(n), this.bindMethods(), this.updateResult();
131
+ }
132
+ bindMethods() {
133
+ this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
134
+ }
135
+ setOptions(t) {
136
+ var n;
137
+ const r = this.options;
138
+ this.options = this.client.defaultMutationOptions(t), wy(r, this.options) || this.client.getMutationCache().notify({
139
+ type: "observerOptionsUpdated",
140
+ mutation: this.currentMutation,
141
+ observer: this
142
+ }), (n = this.currentMutation) == null || n.setOptions(this.options);
143
+ }
144
+ onUnsubscribe() {
145
+ if (!this.hasListeners()) {
146
+ var t;
147
+ (t = this.currentMutation) == null || t.removeObserver(this);
148
+ }
149
+ }
150
+ onMutationUpdate(t) {
151
+ this.updateResult();
152
+ const n = {
153
+ listeners: true
154
+ };
155
+ t.type === "success" ? n.onSuccess = true : t.type === "error" && (n.onError = true), this.notify(n);
156
+ }
157
+ getCurrentResult() {
158
+ return this.currentResult;
159
+ }
160
+ reset() {
161
+ this.currentMutation = undefined, this.updateResult(), this.notify({
162
+ listeners: true
163
+ });
164
+ }
165
+ mutate(t, n) {
166
+ return this.mutateOptions = n, this.currentMutation && this.currentMutation.removeObserver(this), this.currentMutation = this.client.getMutationCache().build(this.client, L($({}, this.options), {
167
+ variables: typeof t != "undefined" ? t : this.options.variables
168
+ })), this.currentMutation.addObserver(this), this.currentMutation.execute();
169
+ }
170
+ updateResult() {
171
+ const t = this.currentMutation ? this.currentMutation.state : eAe(), n = t.status === "loading", r = L($({}, t), {
172
+ isLoading: n,
173
+ isPending: n,
174
+ isSuccess: t.status === "success",
175
+ isError: t.status === "error",
176
+ isIdle: t.status === "idle",
177
+ mutate: this.mutate,
178
+ reset: this.reset
179
+ });
180
+ this.currentResult = r;
181
+ }
182
+ notify(t) {
183
+ hr2.batch(() => {
184
+ if (this.mutateOptions && this.hasListeners()) {
185
+ if (t.onSuccess) {
186
+ var n, r, s, c;
187
+ (n = (r = this.mutateOptions).onSuccess) == null || n.call(r, this.currentResult.data, this.currentResult.variables, this.currentResult.context), (s = (c = this.mutateOptions).onSettled) == null || s.call(c, this.currentResult.data, null, this.currentResult.variables, this.currentResult.context);
188
+ } else if (t.onError) {
189
+ var l, h, d, g;
190
+ (l = (h = this.mutateOptions).onError) == null || l.call(h, this.currentResult.error, this.currentResult.variables, this.currentResult.context), (d = (g = this.mutateOptions).onSettled) == null || d.call(g, undefined, this.currentResult.error, this.currentResult.variables, this.currentResult.context);
191
+ }
192
+ }
193
+ t.listeners && this.listeners.forEach(({
194
+ listener: m
195
+ }) => {
196
+ m(this.currentResult);
197
+ });
198
+ });
199
+ }
200
+ }
201
+ function it(e, t, n) {
202
+ const r = ike(e, t), s = dAe({
203
+ context: r.context
204
+ }), [c] = Y.useState(() => new gr(s, r));
205
+ Y.useEffect(() => {
206
+ c.setOptions(r);
207
+ }, [c, r]);
208
+ const l = uAe(Y.useCallback((d) => c.subscribe(hr2.batchCalls(d)), [c]), () => c.getCurrentResult(), () => c.getCurrentResult()), h = Y.useCallback((d, g) => {
209
+ c.mutate(d, g).catch(fr);
210
+ }, [c]);
211
+ if (l.error && vAe(c.options.useErrorBoundary, [l.error]))
212
+ throw l.error;
213
+ return L($({}, l), {
214
+ mutate: h,
215
+ mutateAsync: l.mutate
216
+ });
217
+ }
218
+ function fr() {}
219
+ var jt = import_react.createContext({});
220
+ var Cr = () => import_react.useContext(jt);
221
+ var Ut = ({ children: e }) => {
222
+ const [t, n] = import_react.useState({}), r = import_react.useCallback((l, h) => {
223
+ var d;
224
+ return `${l}_${(d = h == null ? undefined : h.dashboardId) != null ? d : ""}`;
225
+ }, []), s = import_react.useCallback((l, h, d) => {
226
+ n((g) => L($({}, g), {
227
+ [r(h, d)]: l
228
+ }));
229
+ }, [r]), c = import_react.useCallback((l, h) => t[r(l, h)], [t, r]);
230
+ return /* @__PURE__ */ ce(jt.Provider, { value: { saveChatId: s, getChatId: c }, children: e });
231
+ };
232
+
233
+ class mr {
234
+ constructor(t, n = false, r, s) {
235
+ A(this, "httpClient");
236
+ A(this, "isUnifiedNarrationEnabled");
237
+ A(this, "isSisenseAiEnabled");
238
+ A(this, "getChatContexts", () => X(this, null, function* () {
239
+ return (yield this.httpClient.get("api/datasources//")) || [];
240
+ }));
241
+ A(this, "getNlgInsights", (t2) => cke(this.httpClient, t2, {
242
+ isUnifiedNarrationEnabled: this.isUnifiedNarrationEnabled,
243
+ isSisenseAiEnabled: this.isSisenseAiEnabled
244
+ }));
245
+ A(this, "getQueryRecommendations", (t2, n2) => this.httpClient.get(`api/v2/ai/recommendations/query/${t2}/${n2.numOfRecommendations}${n2.userPrompt ? "?userPrompt=" + encodeURIComponent(n2.userPrompt) : ""}`));
246
+ A(this, "getNlqResult", (t2, n2) => this.httpClient.post(`api/v2/ai/nlq/query/${t2}`, n2));
247
+ A(this, "setLlmConfig", (t2) => this.httpClient.post("api/v2/settings/ai/llmProvider", t2).catch((n2) => {
248
+ console.error("Unable to set llm config", n2);
249
+ }));
250
+ A(this, "getAllChats", () => X(this, null, function* () {
251
+ return this.volatile ? [] : this.httpClient.get("api/v2/ai/chats");
252
+ }));
253
+ A(this, "getChatById", (t2) => this.httpClient.get(`api/v2/ai/chats/${t2}`));
254
+ A(this, "createChat", (t2, n2) => this.httpClient.post("api/v2/ai/chats", {
255
+ sourceId: t2,
256
+ volatile: this.volatile,
257
+ contextDetails: n2
258
+ }));
259
+ A(this, "postChat", (t2, n2) => this.httpClient.post(`api/v2/ai/chats/${t2}`, n2));
260
+ A(this, "deleteChatHistory", (t2) => this.httpClient.delete(`api/v2/ai/chats/${t2}/history`));
261
+ A(this, "sendFeedback", (t2) => this.httpClient.post("api/v2/ai/feedback", t2));
262
+ A(this, "ai", {
263
+ getNlgInsights: this.getNlgInsights,
264
+ getNlqResult: this.getNlqResult,
265
+ getQueryRecommendations: this.getQueryRecommendations,
266
+ setLlmConfig: this.setLlmConfig,
267
+ sendFeedback: this.sendFeedback,
268
+ chat: {
269
+ getAll: this.getAllChats,
270
+ getById: this.getChatById,
271
+ create: this.createChat,
272
+ post: this.postChat,
273
+ clearHistory: this.deleteChatHistory
274
+ }
275
+ });
276
+ this.volatile = n, this.httpClient = t, this.isUnifiedNarrationEnabled = r, this.isSisenseAiEnabled = s;
277
+ }
278
+ }
279
+ var br = new ake({
280
+ defaultOptions: {
281
+ queries: {
282
+ refetchOnWindowFocus: false,
283
+ refetchOnMount: false
284
+ }
285
+ }
286
+ });
287
+ var st = import_react.createContext(undefined);
288
+ var te = () => import_react.useContext(st);
289
+ var yr = ({
290
+ children: e,
291
+ volatile: t
292
+ }) => {
293
+ const { app: n } = Ot(), r = import_react.useMemo(() => {
294
+ var s, c;
295
+ return n ? new mr(n.httpClient, t, (s = n.settings) == null ? undefined : s.isUnifiedNarrationEnabled, (c = n.settings) == null ? undefined : c.isSisenseAiEnabled) : undefined;
296
+ }, [n, t]);
297
+ return /* @__PURE__ */ ce(st.Provider, { value: r, children: /* @__PURE__ */ ce(oke, { client: br, children: e }) });
298
+ };
299
+ function _1({ children: e, volatile: t }) {
300
+ return /* @__PURE__ */ ce(Ut, { children: /* @__PURE__ */ ce(yr, { volatile: t, children: e }) });
301
+ }
302
+ var De = (e, t = true) => {
303
+ var i, u;
304
+ const { app: n } = Ot(), r = n == null ? undefined : n.httpClient, s = import_react.useMemo(() => {
305
+ var a, f, p, b;
306
+ return {
307
+ isUnifiedNarrationEnabled: (f = (a = n == null ? undefined : n.settings) == null ? undefined : a.isUnifiedNarrationEnabled) != null ? f : false,
308
+ isSisenseAiEnabled: (b = (p = n == null ? undefined : n.settings) == null ? undefined : p.isSisenseAiEnabled) != null ? b : false
309
+ };
310
+ }, [(i = n == null ? undefined : n.settings) == null ? undefined : i.isUnifiedNarrationEnabled, (u = n == null ? undefined : n.settings) == null ? undefined : u.isSisenseAiEnabled]), c = import_react.useMemo(() => uke(e), [e]), { data: l, error: h, isError: d, isLoading: g, isSuccess: m, refetch: x } = MAe({
311
+ queryKey: ["narrative", c, s],
312
+ queryFn: () => r ? cke(r, c, s) : Promise.reject(new Error("HttpClient is required for narrative requests")),
313
+ select: (a) => {
314
+ var f;
315
+ return (f = a == null ? undefined : a.data) == null ? undefined : f.answer;
316
+ },
317
+ enabled: t
318
+ });
319
+ return {
320
+ isLoading: g,
321
+ isError: d,
322
+ isSuccess: m,
323
+ data: l,
324
+ error: h,
325
+ refetch: import_react.useCallback(() => {
326
+ x();
327
+ }, [x])
328
+ };
329
+ };
330
+ var xr = (e) => {
331
+ const r = e, { enabled: t } = r, n = Ze(r, ["enabled"]);
332
+ return De(n, t);
333
+ };
334
+ var K1 = zk("useGetNlgInsights")(xr);
335
+ var vr = [
336
+ "indicator",
337
+ "column",
338
+ "line",
339
+ "table",
340
+ "pie",
341
+ "bar"
342
+ ];
343
+ function Gt(e) {
344
+ const { dataSource: t, query: n, chartTypes: r } = e;
345
+ return {
346
+ contextTitle: typeof t == "string" ? t : t.title,
347
+ request: {
348
+ text: n,
349
+ timezone: "UTC",
350
+ chartTypes: r != null ? r : [...vr]
351
+ }
352
+ };
353
+ }
354
+ function kr(e, t) {
355
+ return X(this, null, function* () {
356
+ const { contextTitle: n, request: r } = Gt(e), s = yield t.ai.getNlqResult(n, r);
357
+ return {
358
+ widgetProps: s ? Dt2(s, {
359
+ useCustomizedStyleOptions: e.enableAxisTitlesInWidgetProps || false
360
+ }) : undefined,
361
+ nlqResult: s
362
+ };
363
+ });
364
+ }
365
+ var wr = (e) => {
366
+ const { contextTitle: t, request: n } = Gt(e), r = te(), s = ["getNlqResult", t, n, r], { isLoading: c, isError: l, isSuccess: h, data: d, error: g, refetch: m } = MAe({
367
+ queryKey: s,
368
+ queryFn: () => r ? kr(e, r).then((x) => x.widgetProps) : Promise.reject("No API available"),
369
+ enabled: !!r && e.enabled
370
+ });
371
+ return {
372
+ isLoading: c,
373
+ isError: l,
374
+ isSuccess: h,
375
+ data: d,
376
+ error: g,
377
+ refetch: import_react.useCallback(() => {
378
+ m();
379
+ }, [m])
380
+ };
381
+ };
382
+ var X1 = zk("useGetNlqResult")(wr);
383
+ var Sr = 4;
384
+ var Vt = (e) => {
385
+ const { contextTitle: t, count: n, enableAxisTitlesInWidgetProps: r, enabled: s, customPrompt: c } = e, l = te(), h = n != null ? n : Sr, d = (s === undefined || s === true) && h > 0, {
386
+ isLoading: g,
387
+ isError: m,
388
+ isSuccess: x,
389
+ data: i,
390
+ error: u,
391
+ refetch: a
392
+ } = MAe({
393
+ queryKey: ["getQueryRecommendations", t, h, l],
394
+ queryFn: () => l == null ? undefined : l.ai.getQueryRecommendations(t, $({
395
+ numOfRecommendations: h
396
+ }, c ? { userPrompt: c } : null)),
397
+ enabled: !!l && d
398
+ }), f = import_react.useMemo(() => i == null ? undefined : i.map((p) => L($({}, p), {
399
+ widgetProps: p.jaql ? Dt2(p, {
400
+ useCustomizedStyleOptions: r
401
+ }) : undefined
402
+ })), [i, r]);
403
+ return {
404
+ isLoading: d ? g : false,
405
+ isError: m,
406
+ isSuccess: x,
407
+ data: f != null ? f : undefined,
408
+ error: u,
409
+ refetch: import_react.useCallback(() => {
410
+ a();
411
+ }, [a])
412
+ };
413
+ };
414
+ var Y1 = zk("useGetQueryRecommendations")(Vt);
415
+ var Qt = Object.freeze({
416
+ enableFollowupQuestions: false,
417
+ enableHeader: true,
418
+ enableInsights: true,
419
+ numOfRecommendations: 4,
420
+ numOfRecentPrompts: 5
421
+ });
422
+ var _t = import_react.createContext($({}, Qt));
423
+ var ne = () => import_react.useContext(_t);
424
+ var $r = ({ children: e, value: t }) => {
425
+ const { t: n } = aa(), r = Object.entries(t).reduce((s, [c, l]) => (l !== undefined && (s[c] = l), s), L($({}, Qt), {
426
+ inputPromptText: n("ai.config.inputPromptText"),
427
+ welcomeText: n("ai.config.welcomeText"),
428
+ suggestionsWelcomeText: n("ai.config.suggestionsWelcomeText")
429
+ }));
430
+ return /* @__PURE__ */ ce(_t.Provider, { value: r, children: e });
431
+ };
432
+ var at = "chatHistory";
433
+ var Mr = (e) => {
434
+ const t = te(), { hideHistory: n } = ne();
435
+ return MAe({
436
+ queryKey: [at, e, t],
437
+ queryFn: () => X(undefined, null, function* () {
438
+ if (!t || !e)
439
+ return;
440
+ if (n)
441
+ return [];
442
+ const r = yield t.ai.chat.getById(e);
443
+ return r == null ? undefined : r.chatHistory;
444
+ }),
445
+ enabled: !!t && !!e
446
+ });
447
+ };
448
+ var Kt = (e) => {
449
+ const t = te(), n = dAe();
450
+ return it({
451
+ mutationFn: () => X(undefined, null, function* () {
452
+ if (!(!t || !e))
453
+ return t.ai.chat.clearHistory(e);
454
+ }),
455
+ onError: (r) => {
456
+ console.error("Error when clearing history:", r);
457
+ },
458
+ onSettled: () => {
459
+ e && n.setQueriesData([at, e], []);
460
+ }
461
+ });
462
+ };
463
+ var lt = (e) => {
464
+ const { data: t, isLoading: n, isError: r } = Mr(e), { mutate: s } = Kt(e);
465
+ return import_react.useEffect(() => {
466
+ r && s();
467
+ }, [r, s]), {
468
+ history: t,
469
+ isLoading: n,
470
+ isError: r
471
+ };
472
+ };
473
+ var Tr = () => {
474
+ const e = te(), { data: t, isLoading: n, fetchStatus: r } = MAe({
475
+ queryKey: ["getDataTopics", e],
476
+ queryFn: () => X(undefined, null, function* () {
477
+ if (e)
478
+ return e.getChatContexts();
479
+ }),
480
+ enabled: !!e
481
+ });
482
+ return { data: t, isLoading: n, fetchStatus: r };
483
+ };
484
+ var Rr = () => {
485
+ const e = te(), { data: t, isLoading: n } = MAe({
486
+ queryKey: ["getAllChats", e],
487
+ queryFn: () => e == null ? undefined : e.ai.chat.getAll(),
488
+ enabled: !!e
489
+ });
490
+ return {
491
+ data: t != null ? t : [],
492
+ isLoading: n
493
+ };
494
+ };
495
+ var Lr = (e, t, n) => {
496
+ const r = dAe(), s = te(), c = it({
497
+ mutationFn: () => X(undefined, null, function* () {
498
+ if (!(!s || !e))
499
+ return s.ai.chat.create(e, n);
500
+ }),
501
+ onSuccess: () => r.invalidateQueries(["getAllChats"])
502
+ });
503
+ return import_react.useEffect(() => {
504
+ t && c.isIdle && c.mutate();
505
+ }, [t, c]), c;
506
+ };
507
+ var Er = (e, t) => {
508
+ switch (e.responseType = e.responseType.toLowerCase(), e.responseType) {
509
+ case "nlq":
510
+ return {
511
+ content: JSON.stringify(e.data),
512
+ role: "assistant",
513
+ type: "nlq"
514
+ };
515
+ case "text":
516
+ case "error":
517
+ return {
518
+ content: e.data.answer,
519
+ role: "assistant"
520
+ };
521
+ default:
522
+ throw Error(`${t}${JSON.stringify(e)}`);
523
+ }
524
+ };
525
+ var Ir = (e, t) => {
526
+ const n = dAe(), r = import_react.useCallback((d) => {
527
+ e && n.setQueriesData([at, e], (g) => g && [...g, d]);
528
+ }, [n, e]), { t: s } = aa(), c = te(), { mutate: l, isLoading: h } = it({
529
+ mutationFn: (d) => X(undefined, null, function* () {
530
+ if (!(!c || !e))
531
+ return c.ai.chat.post(e, {
532
+ text: d,
533
+ options: { enableFollowup: t }
534
+ });
535
+ }),
536
+ onMutate: (d) => {
537
+ r({
538
+ content: d,
539
+ role: "user"
540
+ });
541
+ },
542
+ onError: (d) => {
543
+ d instanceof Error && (console.error("Error when sending message:", d.message), r({
544
+ content: s(`ai.errors.${d.interpolationOptions.errorCode}`, {
545
+ defaultValue: s("ai.errors.unexpectedChatResponse")
546
+ }),
547
+ role: "assistant"
548
+ }));
549
+ },
550
+ onSuccess: (d) => {
551
+ if (!d)
552
+ return;
553
+ const g = s("ai.errors.unknownResponse");
554
+ r(Er(d, g));
555
+ }
556
+ });
557
+ return { mutate: l, isLoading: h };
558
+ };
559
+ var ct = (e, t, n = false) => {
560
+ var m;
561
+ const { data: r, isLoading: s } = Rr(), c = Cr(), l = c.getChatId(e, t) || ((m = r.find((x) => {
562
+ var i;
563
+ return x.contextTitle === e && ((i = x.contextDetails) == null ? undefined : i.dashboardId) === (t == null ? undefined : t.dashboardId);
564
+ })) == null ? undefined : m.chatId), { isError: h, data: d, isSuccess: g } = Lr(e, n && !s && !l, t);
565
+ return import_react.useEffect(() => {
566
+ g && d && !l && c.saveChatId(d.chatId, e, t);
567
+ }, [d, g, e, t, l, c]), { chatId: l, isLoading: s, isError: h };
568
+ };
569
+ var Xt = (e) => import_react.useMemo(() => {
570
+ if (e != null && e.length) {
571
+ const t = e[e.length - 1];
572
+ if (dt(t))
573
+ return JSON.parse(t.content);
574
+ }
575
+ return null;
576
+ }, [e]);
577
+ var dt = (e) => !!e && ("type" in e) && e.type === "nlq";
578
+ var Nr = (e) => !!e && ("type" in e) && e.type === "text";
579
+ var Pr = (e, t) => {
580
+ const { t: n } = aa(), { enableFollowupQuestions: r } = ne(), { chatId: s, isError: c } = ct(e, t, true), [l, h] = import_react.useState(null), { history: d, isLoading: g, isError: m } = lt(s);
581
+ import_react.useEffect(() => {
582
+ c ? h(new Dt("ai.errors.chatUnavailable")) : m && h(new Dt("ai.errors.fetchHistory"));
583
+ }, [c, m, n]);
584
+ const { mutate: x, isLoading: i } = Ir(s, r), u = Xt(d);
585
+ return {
586
+ chatId: s,
587
+ history: d != null ? d : [],
588
+ lastNlqResponse: u,
589
+ sendMessage: x,
590
+ isAwaitingResponse: i,
591
+ isLoading: g,
592
+ lastError: l
593
+ };
594
+ };
595
+ var J1 = ({
596
+ contextTitle: e,
597
+ contextDetails: t
598
+ }) => {
599
+ const { chatId: n } = ct(e, t), { history: r } = lt(n);
600
+ return Xt(r);
601
+ };
602
+ var es = ({
603
+ contextTitle: e,
604
+ contextDetails: t
605
+ }) => {
606
+ const { chatId: n } = ct(e, t), { history: r } = lt(n);
607
+ return import_react.useMemo(() => {
608
+ if (r != null && r.length) {
609
+ const s = r.slice().reverse().find(dt);
610
+ if (s)
611
+ return JSON.parse(s.content);
612
+ }
613
+ return null;
614
+ }, [r]);
615
+ };
616
+ var Hr = 500;
617
+ var Br = 500;
618
+ var Fr = 500;
619
+ var Ar = 900;
620
+ var Or2 = tt.div`
621
+ box-sizing: border-box;
622
+ position: relative;
623
+ display: flex;
624
+ flex-direction: column;
625
+ border: 1px solid #c6c9ce;
626
+ border-radius: ${({ theme: e }) => e.aiChat.borderRadius};
627
+ background-color: ${({ theme: e }) => e.aiChat.backgroundColor};
628
+ overflow: hidden;
629
+
630
+ min-width: ${Hr}px;
631
+ min-height: ${Br}px;
632
+ width: ${({ width: e }) => e ? vt(e) : `${Fr}px`};
633
+ height: ${({ height: e }) => e ? vt(e) : `${Ar}px`};
634
+
635
+ ${({ theme: e }) => o1`
636
+ font-size: ${e.aiChat.primaryFontSize[0]};
637
+ line-height: ${e.aiChat.primaryFontSize[1]};
638
+ `}
639
+ border: ${({ theme: e }) => e.aiChat.border === false ? "none" : e.aiChat.border};
640
+ `;
641
+ function vt(e) {
642
+ return typeof e == "number" ? `${e}px` : e;
643
+ }
644
+ function Dr({ spin: e }) {
645
+ return /* @__PURE__ */ wi("svg", {
646
+ xmlns: "http://www.w3.org/2000/svg",
647
+ width: "24",
648
+ height: "24",
649
+ viewBox: "0 0 24 24",
650
+ fill: "none",
651
+ className: `${e ? "csdk-animate-spin" : ""}`,
652
+ children: [
653
+ /* @__PURE__ */ ce("path", {
654
+ fillRule: "evenodd",
655
+ clipRule: "evenodd",
656
+ d: "M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z",
657
+ fill: "#262E3D",
658
+ fillOpacity: "0.3"
659
+ }),
660
+ /* @__PURE__ */ ce("path", {
661
+ fillRule: "evenodd",
662
+ clipRule: "evenodd",
663
+ d: "M20 12C20 16.4183 16.4183 20 12 20C11.2844 20 10.5908 19.906 9.93078 19.7298C9.96227 19.5889 9.97888 19.4423 9.97888 19.2918C9.97888 18.1873 9.08345 17.2918 7.97888 17.2918C6.87431 17.2918 5.97888 18.1873 5.97888 19.2918C5.97888 20.3964 6.87431 21.2918 7.97888 21.2918C8.56576 21.2918 9.0936 21.0391 9.45946 20.6364C10.2652 20.8731 11.1178 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3V4C16.4183 4 20 7.58172 20 12Z",
664
+ fill: "#22C3C3"
665
+ })
666
+ ]
667
+ });
668
+ }
669
+ function qe() {
670
+ return /* @__PURE__ */ ce("div", { className: "csdk-m-auto", role: "status", "aria-label": "loading spinner", children: /* @__PURE__ */ ce(Dr, { spin: true }) });
671
+ }
672
+ var qr = tt.div`
673
+ text-align: center;
674
+ font-size: 11px;
675
+ line-height: 18px;
676
+ white-space: pre-wrap;
677
+
678
+ display: flex;
679
+ flex-wrap: wrap;
680
+ align-items: center;
681
+ justify-content: center;
682
+ box-sizing: border-box;
683
+
684
+ color: ${({ theme: e }) => e.aiChat.secondaryTextColor};
685
+ `;
686
+ function zr({ theme: e }) {
687
+ const { t } = aa();
688
+ return /* @__PURE__ */ wi(qr, { theme: e, children: [
689
+ /* @__PURE__ */ ce("div", { children: t("ai.disclaimer.poweredByAi") }),
690
+ /* @__PURE__ */ wi("div", { children: [
691
+ " ",
692
+ t("ai.disclaimer.rateRequest")
693
+ ] })
694
+ ] });
695
+ }
696
+ var Wr = tt.div`
697
+ display: flex;
698
+ flex-direction: column;
699
+ row-gap: 4px;
700
+ `;
701
+ var Zr = tt.div`
702
+ font-size: 11px;
703
+ line-height: 18px;
704
+ font-weight: 300;
705
+ color: ${({ theme: e }) => e.aiChat.dropup.headers.textColor};
706
+ cursor: pointer;
707
+ padding: 4px 12px;
708
+ &:hover {
709
+ background-color: ${({ theme: e }) => e.aiChat.dropup.headers.hover.backgroundColor};
710
+ }
711
+ `;
712
+ var jr = tt.div`
713
+ font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
714
+ line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
715
+ color: ${({ theme: e }) => e.aiChat.dropup.items.textColor};
716
+ cursor: pointer;
717
+ padding: 4px 12px;
718
+ &:hover {
719
+ background-color: ${({ theme: e }) => e.aiChat.dropup.items.hover.backgroundColor};
720
+ }
721
+ `;
722
+ function Ur({
723
+ title: e,
724
+ items: t,
725
+ onSelect: n,
726
+ alwaysExpanded: r = false
727
+ }) {
728
+ const [s, c] = import_react.useState(false), { themeSettings: l } = Mt();
729
+ return /* @__PURE__ */ wi(Wr, { children: [
730
+ /* @__PURE__ */ ce(Zr, { onClick: () => c((h) => !h), theme: l, children: e.toUpperCase() }),
731
+ (s || r) && t.map((h, d) => /* @__PURE__ */ ce(jr, { onClick: () => n(h), theme: l, children: h }, d))
732
+ ] });
733
+ }
734
+ var Gr = tt.div`
735
+ font-family: ${({ theme: e }) => e.typography.fontFamily};
736
+ font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
737
+ line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
738
+ background-color: ${({ theme: e }) => e.aiChat.dropup.backgroundColor};
739
+ border-radius: ${({ theme: e }) => e.aiChat.dropup.borderRadius};
740
+ box-shadow: ${({ theme: e }) => e.aiChat.dropup.boxShadow};
741
+ padding-top: 8px;
742
+ padding-bottom: 8px;
743
+ display: flex;
744
+ flex-direction: column;
745
+ row-gap: 4px;
746
+ `;
747
+ var Vr = tt.div`
748
+ font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
749
+ line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
750
+ color: ${({ theme: e }) => e.aiChat.dropup.items.textColor};
751
+ padding: 4px 12px;
752
+ `;
753
+ var Xe = (e) => e.startsWith("/");
754
+ function Qr({
755
+ recentPrompts: e,
756
+ suggestions: t,
757
+ isLoading: n,
758
+ onSelection: r,
759
+ anchorEl: s,
760
+ text: c,
761
+ recommendationsError: l
762
+ }) {
763
+ const d = [
764
+ {
765
+ title: "/recent searches",
766
+ items: e,
767
+ onSelect: r
768
+ },
769
+ {
770
+ title: "/ai recommendations",
771
+ items: t,
772
+ onSelect: r
773
+ }
774
+ ].filter((i) => i.title.slice(0, c.length) === c), { themeSettings: g } = Mt(), { t: m } = aa(), x = d.length === 1;
775
+ return /* @__PURE__ */ ce(vp, {
776
+ open: Xe(c) && d.length > 0,
777
+ anchorEl: s,
778
+ placement: "top-start",
779
+ modifiers: [
780
+ {
781
+ name: "offset",
782
+ options: {
783
+ offset: [0, 4]
784
+ }
785
+ }
786
+ ],
787
+ sx: { zIndex: 3 },
788
+ children: /* @__PURE__ */ wi(Gr, { style: { width: s == null ? undefined : s.offsetWidth }, theme: g, children: [
789
+ n && /* @__PURE__ */ ce(qe, {}),
790
+ !n && !l && d.map((i) => /* @__PURE__ */ ce(Ur, L($({}, i), { alwaysExpanded: x }), i.title)),
791
+ l && /* @__PURE__ */ ce(Vr, { theme: g, children: m("ai.errors.recommendationsNotAvailable") })
792
+ ] })
793
+ });
794
+ }
795
+ var _r = 500;
796
+ function $e({ title: e, placement: t = "top", children: n }) {
797
+ const { themeSettings: r } = Mt();
798
+ return /* @__PURE__ */ ce(zb, {
799
+ title: e,
800
+ placement: t,
801
+ disableInteractive: true,
802
+ componentsProps: {
803
+ tooltip: {
804
+ sx: {
805
+ bgcolor: r.aiChat.tooltips.backgroundColor,
806
+ color: r.aiChat.tooltips.textColor,
807
+ paddingX: "16px",
808
+ paddingY: "12px",
809
+ fontSize: "13px",
810
+ fontFamily: r.typography.fontFamily,
811
+ fontWeight: 400,
812
+ borderRadius: "4px",
813
+ boxShadow: r.aiChat.tooltips.boxShadow
814
+ }
815
+ },
816
+ arrow: {
817
+ sx: {
818
+ color: r.aiChat.tooltips.backgroundColor
819
+ }
820
+ }
821
+ },
822
+ arrow: true,
823
+ children: n
824
+ });
825
+ }
826
+ function Kr({ theme: e }) {
827
+ const t = e.aiChat.icons.color;
828
+ return /* @__PURE__ */ wi("svg", { xmlns: "http://www.w3.org/2000/svg", width: "25", height: "25", viewBox: "0 0 25 25", fill: "none", children: [
829
+ /* @__PURE__ */ ce("path", {
830
+ 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",
831
+ fill: t
832
+ }),
833
+ /* @__PURE__ */ ce("path", {
834
+ 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",
835
+ fill: t
836
+ }),
837
+ /* @__PURE__ */ ce("path", {
838
+ 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",
839
+ fill: t
840
+ })
841
+ ] });
842
+ }
843
+ function Xr({ theme: e }) {
844
+ return /* @__PURE__ */ ce("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ ce("path", {
845
+ d: "M4 14L0 10L24 0L14 24L10 20L8.47667 16.9533L19 6.4L20 4.00001L17.6099 5L7.04354 15.5218L4 14Z",
846
+ fill: e.aiChat.icons.color
847
+ }) });
848
+ }
849
+ var Yr = tt.div`
850
+ display: flex;
851
+ flex-direction: row;
852
+ align-items: flex-end;
853
+ justify-content: space-between;
854
+
855
+ background-color: ${({ theme: e }) => e.aiChat.backgroundColor};
856
+ `;
857
+ var Jr = tt.button`
858
+ height: 34px;
859
+ background-color: inherit;
860
+ cursor: pointer;
861
+ border: none;
862
+ `;
863
+ var eo = tt.textarea`
864
+ font-size: inherit;
865
+ line-height: inherit;
866
+ resize: none;
867
+ overflow-y: auto;
868
+ box-sizing: border-box;
869
+ // size style
870
+ max-height: 88px;
871
+ width: 100%;
872
+ // spacing style
873
+ padding-top: 7px;
874
+ padding-bottom: 7px;
875
+ padding-left: 16px;
876
+ padding-right: 16px;
877
+ margin-left: 10px;
878
+ margin-right: 10px;
879
+ // border style
880
+ border-width: 1px;
881
+ border-color: rgb(38 46 61 / 0.15);
882
+ border-radius: 0.5rem;
883
+ &:focus {
884
+ outline: 1px solid ${({ theme: e }) => e.aiChat.input.focus.outlineColor};
885
+ }
886
+ font-family: inherit;
887
+
888
+ color: ${({ theme: e }) => e.aiChat.primaryTextColor};
889
+
890
+ background-color: ${({ theme: e }) => e.aiChat.input.backgroundColor};
891
+ `;
892
+ var to = tt.button`
893
+ height: 34px;
894
+ background-color: inherit;
895
+ border-style: none;
896
+
897
+ color: ${({ theme: e }) => e.aiChat.primaryTextColor};
898
+
899
+ ${({ disabled: e }) => e ? o1`
900
+ opacity: 0.3;
901
+ cursor: not-allowed;
902
+ ` : o1`
903
+ opacity: 1;
904
+ cursor: pointer;
905
+ `}
906
+ `;
907
+ var no = 34;
908
+ function ro({
909
+ onSendMessage: e,
910
+ onClearHistoryClick: t,
911
+ disabled: n,
912
+ recentPrompts: r,
913
+ suggestions: s,
914
+ isLoading: c,
915
+ recommendationsError: l,
916
+ onChange: h
917
+ }) {
918
+ const [d, g] = import_react.useState(""), { inputPromptText: m } = ne(), x = import_react.useCallback(() => {
919
+ if (n)
920
+ return;
921
+ if (Xe(d)) {
922
+ g("");
923
+ return;
924
+ }
925
+ const k = d.trim();
926
+ k.length !== 0 && (e(k), g(""));
927
+ }, [n, e, d]), i = import_react.useCallback((k) => {
928
+ e(k), g("");
929
+ }, [e]), u = import_react.useCallback((k) => {
930
+ k.key === "Enter" ? (k.preventDefault(), x()) : k.key === "Escape" && Xe(d) && g("");
931
+ }, [x, d]), a = import_react.useCallback((k) => {
932
+ h == null || h(k.target.value), g(k.target.value);
933
+ }, [h]), f = import_react.useRef(null);
934
+ import_react.useLayoutEffect(() => {
935
+ f.current && (f.current.style.height = "inherit", f.current.style.height = `${Math.max(f.current.scrollHeight + 2, no)}px`);
936
+ }, [d]), import_react.useLayoutEffect(() => {
937
+ f.current && f.current.focus({ preventScroll: true });
938
+ }, []);
939
+ const { themeSettings: p } = Mt(), { t: b } = aa(), v = import_react.useCallback((k) => {
940
+ var E;
941
+ if ((E = document.getElementById("csdk-chatbot-frame")) != null && E.contains(k.relatedTarget)) {
942
+ const T = (M) => {
943
+ var I;
944
+ document.removeEventListener("mouseup", T), document.removeEventListener("keyup", T), M.type === "mouseup" && ((I = document.getSelection()) == null ? undefined : I.type) !== "Range" && k.target.focus({ preventScroll: true });
945
+ };
946
+ document.addEventListener("mouseup", T), document.addEventListener("keyup", T);
947
+ }
948
+ }, []);
949
+ return /* @__PURE__ */ wi(Yr, { theme: p, children: [
950
+ /* @__PURE__ */ ce(Qr, {
951
+ recentPrompts: r,
952
+ suggestions: s,
953
+ isLoading: c,
954
+ onSelection: i,
955
+ anchorEl: f.current,
956
+ text: d,
957
+ recommendationsError: l
958
+ }),
959
+ t && /* @__PURE__ */ ce($e, { title: b("ai.buttons.clearChat"), placement: "bottom-start", children: /* @__PURE__ */ ce(Jr, { "aria-label": "clear history", onClick: t, children: /* @__PURE__ */ ce(Kr, { theme: p }) }) }),
960
+ /* @__PURE__ */ ce(eo, {
961
+ "aria-label": "chat input",
962
+ onBlur: v,
963
+ maxLength: _r,
964
+ ref: f,
965
+ rows: 1,
966
+ onChange: a,
967
+ spellCheck: "true",
968
+ placeholder: m,
969
+ value: d,
970
+ onKeyDown: u,
971
+ theme: p,
972
+ disabled: n
973
+ }),
974
+ /* @__PURE__ */ ce(to, {
975
+ "aria-label": "send chat message",
976
+ disabled: n || d.length === 0,
977
+ onClick: x,
978
+ theme: p,
979
+ children: /* @__PURE__ */ ce("span", { "data-state": "closed", children: /* @__PURE__ */ ce(Xr, { theme: p }) })
980
+ })
981
+ ] });
982
+ }
983
+ var oo = tt.div`
984
+ margin: auto;
985
+ display: flex;
986
+ flex-direction: column;
987
+ align-items: center;
988
+ row-gap: 21px;
989
+ `;
990
+ var io = tt.div`
991
+ color: ${({ theme: e }) => e.aiChat.primaryTextColor};
992
+ text-align: center;
993
+ font-weight: 600;
994
+ `;
995
+ var so = tt.div`
996
+ color: rgba(54, 163, 217, 1);
997
+ cursor: pointer;
998
+ `;
999
+ function Yt({ text: e, action: t }) {
1000
+ const { themeSettings: n } = Mt();
1001
+ return /* @__PURE__ */ wi(oo, { children: [
1002
+ /* @__PURE__ */ ce(io, { theme: n, children: e }),
1003
+ /* @__PURE__ */ ce(r$, {}),
1004
+ t && /* @__PURE__ */ ce(so, { onClick: t.onClick, children: t.text })
1005
+ ] });
1006
+ }
1007
+ var ao = tt.div`
1008
+ flex: 0 0 80px;
1009
+ padding-left: 14px;
1010
+ padding-right: 14px;
1011
+ display: flex;
1012
+ align-items: center;
1013
+ position: relative;
1014
+
1015
+ background-color: ${({ style: e }) => e.backgroundColor};
1016
+ `;
1017
+ var lo = tt.div`
1018
+ font-size: 18px;
1019
+ line-height: 22px;
1020
+ font-weight: 600;
1021
+ margin-left: 20px;
1022
+
1023
+ color: ${({ style: e }) => e.textColor};
1024
+ `;
1025
+ var Jt = import_react.forwardRef(function({ title: t, leftNav: n, rightNav: r, style: s }, c) {
1026
+ return /* @__PURE__ */ wi(ao, { ref: c, style: s, children: [
1027
+ n,
1028
+ /* @__PURE__ */ ce(lo, { style: s, children: t }),
1029
+ r && /* @__PURE__ */ ce("div", { className: "csdk-ml-auto", children: r })
1030
+ ] });
1031
+ });
1032
+ var Ne = tt.div`
1033
+ width: 5px;
1034
+ height: 5px;
1035
+ border-radius: 50%;
1036
+ background-color: ${(e) => e.color};
1037
+ animation: hop 0.9s ease-out infinite;
1038
+
1039
+ &:nth-of-type(2) {
1040
+ animation-delay: 0.1s;
1041
+ }
1042
+
1043
+ &:nth-of-type(3) {
1044
+ animation-delay: 0.2s;
1045
+ }
1046
+
1047
+ &:nth-of-type(4) {
1048
+ animation-delay: 0.3s;
1049
+ }
1050
+
1051
+ @keyframes hop {
1052
+ 0%,
1053
+ 40% {
1054
+ transform: translateY(0);
1055
+ }
1056
+ 20% {
1057
+ transform: translateY(-100%);
1058
+ }
1059
+ }
1060
+ `;
1061
+ function ut() {
1062
+ const { themeSettings: e } = Mt(), t = e.aiChat.icons.color;
1063
+ return /* @__PURE__ */ wi("div", {
1064
+ className: "csdk-flex csdk-justify-between csdk-w-[28px] csdk-py-[14.5px]",
1065
+ "aria-label": "loading dots",
1066
+ children: [
1067
+ /* @__PURE__ */ ce(Ne, { color: t }),
1068
+ /* @__PURE__ */ ce(Ne, { color: t }),
1069
+ /* @__PURE__ */ ce(Ne, { color: t }),
1070
+ /* @__PURE__ */ ce(Ne, { color: t })
1071
+ ]
1072
+ });
1073
+ }
1074
+ function ce2() {
1075
+ return ce2 = Object.assign ? Object.assign.bind() : function(e) {
1076
+ for (var t = 1;t < arguments.length; t++) {
1077
+ var n = arguments[t];
1078
+ for (var r in n)
1079
+ Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
1080
+ }
1081
+ return e;
1082
+ }, ce2.apply(this, arguments);
1083
+ }
1084
+ var co = ["children", "options"];
1085
+ var y = { blockQuote: "0", breakLine: "1", breakThematic: "2", codeBlock: "3", codeFenced: "4", codeInline: "5", footnote: "6", footnoteReference: "7", gfmTask: "8", heading: "9", headingSetext: "10", htmlBlock: "11", htmlComment: "12", htmlSelfClosing: "13", image: "14", link: "15", linkAngleBraceStyleDetector: "16", linkBareUrlDetector: "17", linkMailtoDetector: "18", newlineCoalescer: "19", orderedList: "20", paragraph: "21", ref: "22", refImage: "23", refLink: "24", table: "25", tableSeparator: "26", text: "27", textBolded: "28", textEmphasized: "29", textEscaped: "30", textMarked: "31", textStrikethroughed: "32", unorderedList: "33" };
1086
+ var kt;
1087
+ (function(e) {
1088
+ e[e.MAX = 0] = "MAX", e[e.HIGH = 1] = "HIGH", e[e.MED = 2] = "MED", e[e.LOW = 3] = "LOW", e[e.MIN = 4] = "MIN";
1089
+ })(kt || (kt = {}));
1090
+ var wt = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus", "autoPlay", "cellPadding", "cellSpacing", "charSet", "classId", "colSpan", "contentEditable", "contextMenu", "crossOrigin", "encType", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "frameBorder", "hrefLang", "inputMode", "keyParams", "keyType", "marginHeight", "marginWidth", "maxLength", "mediaGroup", "minLength", "noValidate", "radioGroup", "readOnly", "rowSpan", "spellCheck", "srcDoc", "srcLang", "srcSet", "tabIndex", "useMap"].reduce((e, t) => (e[t.toLowerCase()] = t, e), { class: "className", for: "htmlFor" });
1091
+ var St = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: " ", quot: "“" };
1092
+ var uo = ["style", "script"];
1093
+ var ho = ["src", "href", "data", "formAction", "srcDoc", "action"];
1094
+ var po = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi;
1095
+ var go = /mailto:/i;
1096
+ var fo = /\n{2,}$/;
1097
+ var en = /^(\s*>[\s\S]*?)(?=\n\n|$)/;
1098
+ var Co = /^ *> ?/gm;
1099
+ var mo = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/;
1100
+ var bo = /^ {2,}\n/;
1101
+ var yo = /^(?:( *[-*_])){3,} *(?:\n *)+\n/;
1102
+ var tn = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/;
1103
+ var nn = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/;
1104
+ var xo = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/;
1105
+ var vo = /^(?:\n *)*\n/;
1106
+ var ko = /\r\n?/g;
1107
+ var wo = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/;
1108
+ var So = /^\[\^([^\]]+)]/;
1109
+ var $o = /\f/g;
1110
+ var Mo = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/;
1111
+ var To = /^\s*?\[(x|\s)\]/;
1112
+ var rn = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/;
1113
+ var on = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/;
1114
+ var sn = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/;
1115
+ var Ye2 = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i;
1116
+ var Ro = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi;
1117
+ var an = /^<!--[\s\S]*?(?:-->)/;
1118
+ var Lo = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/;
1119
+ var Je = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i;
1120
+ var Eo = /^\{.*\}$/;
1121
+ var Io = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/;
1122
+ var No = /^<([^ >]+@[^ >]+)>/;
1123
+ var Po = /^<([^ >]+:\/[^ >]+)>/;
1124
+ var Ho = /-([a-z])?/gi;
1125
+ var ln = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/;
1126
+ var Bo = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/;
1127
+ var Fo = /^!\[([^\]]*)\] ?\[([^\]]*)\]/;
1128
+ var Ao = /^\[([^\]]*)\] ?\[([^\]]*)\]/;
1129
+ var Oo = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/;
1130
+ var Do = /\t/g;
1131
+ var qo = /(^ *\||\| *$)/g;
1132
+ var zo = /^ *:-+: *$/;
1133
+ var Wo = /^ *:-+ *$/;
1134
+ var Zo = /^ *-+: *$/;
1135
+ var ze = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)";
1136
+ var jo = new RegExp(`^([*_])\\1${ze}\\1\\1(?!\\1)`);
1137
+ var Uo = new RegExp(`^([*_])${ze}\\1(?!\\1)`);
1138
+ var Go = new RegExp(`^(==)${ze}\\1`);
1139
+ var Vo = new RegExp(`^(~~)${ze}\\1`);
1140
+ var Qo = /^\\([^0-9A-Za-z\s])/;
1141
+ var $t = /\\([^0-9A-Za-z\s])/g;
1142
+ var _o = /^([\s\S](?:(?! |[0-9]\.)[^=*_~\-\n<`\\\[!])*)/;
1143
+ var Ko = /^\n+/;
1144
+ var Xo = /^([ \t]*)/;
1145
+ var Yo = /\\([^\\])/g;
1146
+ var Jo = /(?:^|\n)( *)$/;
1147
+ var ht = "(?:\\d+\\.)";
1148
+ var pt = "(?:[*+-])";
1149
+ function cn(e) {
1150
+ return "( *)(" + (e === 1 ? ht : pt) + ") +";
1151
+ }
1152
+ var dn = cn(1);
1153
+ var un = cn(2);
1154
+ function hn(e) {
1155
+ return new RegExp("^" + (e === 1 ? dn : un));
1156
+ }
1157
+ var ei2 = hn(1);
1158
+ var ti = hn(2);
1159
+ function pn(e) {
1160
+ return new RegExp("^" + (e === 1 ? dn : un) + "[^\\n]*(?:\\n(?!\\1" + (e === 1 ? ht : pt) + " )[^\\n]*)*(\\n|$)", "gm");
1161
+ }
1162
+ var ni = pn(1);
1163
+ var ri = pn(2);
1164
+ function gn(e) {
1165
+ const t = e === 1 ? ht : pt;
1166
+ return new RegExp("^( *)(" + t + ") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1" + t + " (?!" + t + " ))\\n*|\\s*\\n*$)");
1167
+ }
1168
+ var fn = gn(1);
1169
+ var Cn = gn(2);
1170
+ function Mt2(e, t) {
1171
+ const n = t === 1, r = n ? fn : Cn, s = n ? ni : ri, c = n ? ei2 : ti;
1172
+ return { match: pe(function(l, h) {
1173
+ const d = Jo.exec(h.prevCapture);
1174
+ return d && (h.list || !h.inline && !h.simple) ? r.exec(l = d[1] + l) : null;
1175
+ }), order: 1, parse(l, h, d) {
1176
+ const g = n ? +l[2] : undefined, m = l[0].replace(fo, `
1177
+ `).match(s);
1178
+ let x = false;
1179
+ return { items: m.map(function(i, u) {
1180
+ const a = c.exec(i)[0].length, f = new RegExp("^ {1," + a + "}", "gm"), p = i.replace(f, "").replace(c, ""), b = u === m.length - 1, v = p.indexOf(`
1181
+
1182
+ `) !== -1 || b && x;
1183
+ x = v;
1184
+ const { inline: k, list: E } = d;
1185
+ let T;
1186
+ d.list = true, v ? (d.inline = false, T = ke(p) + `
1187
+
1188
+ `) : (d.inline = true, T = ke(p));
1189
+ const M = h(T, d);
1190
+ return d.inline = k, d.list = E, M;
1191
+ }), ordered: n, start: g };
1192
+ }, render: (l, h, d) => e(l.ordered ? "ol" : "ul", { key: d.key, start: l.type === y.orderedList ? l.start : undefined }, l.items.map(function(g, m) {
1193
+ return e("li", { key: m }, h(g, d));
1194
+ })) };
1195
+ }
1196
+ var oi = new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`);
1197
+ var ii = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/;
1198
+ var mn2 = [en, tn, nn, rn, sn, on, ln, fn, Cn];
1199
+ var si = [...mn2, /^[^\n]+(?: \n|\n{2,})/, Ye2, an, Je];
1200
+ function ke(e) {
1201
+ let t = e.length;
1202
+ for (;t > 0 && e[t - 1] <= " "; )
1203
+ t--;
1204
+ return e.slice(0, t);
1205
+ }
1206
+ function be(e) {
1207
+ return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g, "a").replace(/[çÇ]/g, "c").replace(/[ðÐ]/g, "d").replace(/[ÈÉÊËéèêë]/g, "e").replace(/[ÏïÎîÍíÌì]/g, "i").replace(/[Ññ]/g, "n").replace(/[øØœŒÕõÔôÓóÒò]/g, "o").replace(/[ÜüÛûÚúÙù]/g, "u").replace(/[ŸÿÝý]/g, "y").replace(/[^a-z0-9- ]/gi, "").replace(/ /gi, "-").toLowerCase();
1208
+ }
1209
+ function ai(e) {
1210
+ return Zo.test(e) ? "right" : zo.test(e) ? "center" : Wo.test(e) ? "left" : null;
1211
+ }
1212
+ function Tt(e, t, n, r) {
1213
+ const s = n.inTable;
1214
+ n.inTable = true;
1215
+ let c = [[]], l = "";
1216
+ function h() {
1217
+ if (!l)
1218
+ return;
1219
+ const d = c[c.length - 1];
1220
+ d.push.apply(d, t(l, n)), l = "";
1221
+ }
1222
+ return e.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((d, g, m) => {
1223
+ d.trim() === "|" && (h(), r) ? g !== 0 && g !== m.length - 1 && c.push([]) : l += d;
1224
+ }), h(), n.inTable = s, c;
1225
+ }
1226
+ function li(e, t, n) {
1227
+ n.inline = true;
1228
+ const r = e[2] ? e[2].replace(qo, "").split("|").map(ai) : [], s = e[3] ? function(l, h, d) {
1229
+ return l.trim().split(`
1230
+ `).map(function(g) {
1231
+ return Tt(g, h, d, true);
1232
+ });
1233
+ }(e[3], t, n) : [], c = Tt(e[1], t, n, !!s.length);
1234
+ return n.inline = false, s.length ? { align: r, cells: s, header: c, type: y.table } : { children: c, type: y.paragraph };
1235
+ }
1236
+ function Rt2(e, t) {
1237
+ return e.align[t] == null ? {} : { textAlign: e.align[t] };
1238
+ }
1239
+ function pe(e) {
1240
+ return e.inline = 1, e;
1241
+ }
1242
+ function ie2(e) {
1243
+ return pe(function(t, n) {
1244
+ return n.inline ? e.exec(t) : null;
1245
+ });
1246
+ }
1247
+ function se(e) {
1248
+ return pe(function(t, n) {
1249
+ return n.inline || n.simple ? e.exec(t) : null;
1250
+ });
1251
+ }
1252
+ function ee(e) {
1253
+ return function(t, n) {
1254
+ return n.inline || n.simple ? null : e.exec(t);
1255
+ };
1256
+ }
1257
+ function ye(e) {
1258
+ return pe(function(t) {
1259
+ return e.exec(t);
1260
+ });
1261
+ }
1262
+ function ci(e, t) {
1263
+ if (t.inline || t.simple)
1264
+ return null;
1265
+ let n = "";
1266
+ e.split(`
1267
+ `).every((s) => (s += `
1268
+ `, !mn2.some((c) => c.test(s)) && (n += s, !!s.trim())));
1269
+ const r = ke(n);
1270
+ return r == "" ? null : [n, , r];
1271
+ }
1272
+ var di = /(javascript|vbscript|data(?!:image)):/i;
1273
+ function ui(e) {
1274
+ try {
1275
+ const t = decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g, "");
1276
+ if (di.test(t))
1277
+ return null;
1278
+ } catch (t) {
1279
+ return null;
1280
+ }
1281
+ return e;
1282
+ }
1283
+ function Lt(e) {
1284
+ return e.replace(Yo, "$1");
1285
+ }
1286
+ function Pe(e, t, n) {
1287
+ const r = n.inline || false, s = n.simple || false;
1288
+ n.inline = true, n.simple = true;
1289
+ const c = e(t, n);
1290
+ return n.inline = r, n.simple = s, c;
1291
+ }
1292
+ function hi2(e, t, n) {
1293
+ const r = n.inline || false, s = n.simple || false;
1294
+ n.inline = false, n.simple = true;
1295
+ const c = e(t, n);
1296
+ return n.inline = r, n.simple = s, c;
1297
+ }
1298
+ function pi(e, t, n) {
1299
+ const r = n.inline || false;
1300
+ n.inline = false;
1301
+ const s = e(t, n);
1302
+ return n.inline = r, s;
1303
+ }
1304
+ var Ue = (e, t, n) => ({ children: Pe(t, e[2], n) });
1305
+ function Ge() {
1306
+ return {};
1307
+ }
1308
+ function Ve() {
1309
+ return null;
1310
+ }
1311
+ function gi(...e) {
1312
+ return e.filter(Boolean).join(" ");
1313
+ }
1314
+ function Qe(e, t, n) {
1315
+ let r = e;
1316
+ const s = t.split(".");
1317
+ for (;s.length && (r = r[s[0]], r !== undefined); )
1318
+ s.shift();
1319
+ return r || n;
1320
+ }
1321
+ function fi(e = "", t = {}) {
1322
+ function n(i, u, ...a) {
1323
+ const f = Qe(t.overrides, `${i}.props`, {});
1324
+ return t.createElement(function(p, b) {
1325
+ const v = Qe(b, p);
1326
+ return v ? typeof v == "function" || typeof v == "object" && "render" in v ? v : Qe(b, `${p}.component`, p) : p;
1327
+ }(i, t.overrides), ce2({}, u, f, { className: gi(u == null ? undefined : u.className, f.className) || undefined }), ...a);
1328
+ }
1329
+ function r(i) {
1330
+ i = i.replace(Mo, "");
1331
+ let u = false;
1332
+ t.forceInline ? u = true : t.forceBlock || (u = Oo.test(i) === false);
1333
+ const a = g(d(u ? i : `${ke(i).replace(Ko, "")}
1334
+
1335
+ `, { inline: u }));
1336
+ for (;typeof a[a.length - 1] == "string" && !a[a.length - 1].trim(); )
1337
+ a.pop();
1338
+ if (t.wrapper === null)
1339
+ return a;
1340
+ const f = t.wrapper || (u ? "span" : "div");
1341
+ let p;
1342
+ if (a.length > 1 || t.forceWrapper)
1343
+ p = a;
1344
+ else {
1345
+ if (a.length === 1)
1346
+ return p = a[0], typeof p == "string" ? n("span", { key: "outer" }, p) : p;
1347
+ p = null;
1348
+ }
1349
+ return t.createElement(f, { key: "outer" }, p);
1350
+ }
1351
+ function s(i, u) {
1352
+ const a = u.match(po);
1353
+ return a ? a.reduce(function(f, p) {
1354
+ const b = p.indexOf("=");
1355
+ if (b !== -1) {
1356
+ const v = function(M) {
1357
+ return M.indexOf("-") !== -1 && M.match(Lo) === null && (M = M.replace(Ho, function(I, B) {
1358
+ return B.toUpperCase();
1359
+ })), M;
1360
+ }(p.slice(0, b)).trim(), k = function(M) {
1361
+ const I = M[0];
1362
+ return (I === '"' || I === "'") && M.length >= 2 && M[M.length - 1] === I ? M.slice(1, -1) : M;
1363
+ }(p.slice(b + 1).trim()), E = wt[v] || v;
1364
+ if (E === "ref")
1365
+ return f;
1366
+ const T = f[E] = function(M, I, B, le) {
1367
+ return I === "style" ? function(V) {
1368
+ const Z = [];
1369
+ let Q = "", _2 = false, q = false, J = "";
1370
+ if (!V)
1371
+ return Z;
1372
+ for (let U = 0;U < V.length; U++) {
1373
+ const W = V[U];
1374
+ if (W !== '"' && W !== "'" || _2 || (q ? W === J && (q = false, J = "") : (q = true, J = W)), W === "(" && Q.endsWith("url") ? _2 = true : W === ")" && _2 && (_2 = false), W !== ";" || q || _2)
1375
+ Q += W;
1376
+ else {
1377
+ const G = Q.trim();
1378
+ if (G) {
1379
+ const re = G.indexOf(":");
1380
+ if (re > 0) {
1381
+ const fe = G.slice(0, re).trim(), de = G.slice(re + 1).trim();
1382
+ Z.push([fe, de]);
1383
+ }
1384
+ }
1385
+ Q = "";
1386
+ }
1387
+ }
1388
+ const P = Q.trim();
1389
+ if (P) {
1390
+ const U = P.indexOf(":");
1391
+ if (U > 0) {
1392
+ const W = P.slice(0, U).trim(), G = P.slice(U + 1).trim();
1393
+ Z.push([W, G]);
1394
+ }
1395
+ }
1396
+ return Z;
1397
+ }(B).reduce(function(V, [Z, Q]) {
1398
+ return V[Z.replace(/(-[a-z])/g, (_2) => _2[1].toUpperCase())] = le(Q, M, Z), V;
1399
+ }, {}) : ho.indexOf(I) !== -1 ? le(B, M, I) : (B.match(Eo) && (B = B.slice(1, B.length - 1)), B === "true" || B !== "false" && B);
1400
+ }(i, v, k, t.sanitizer);
1401
+ typeof T == "string" && (Ye2.test(T) || Je.test(T)) && (f[E] = r(T.trim()));
1402
+ } else
1403
+ p !== "style" && (f[wt[p] || p] = true);
1404
+ return f;
1405
+ }, {}) : null;
1406
+ }
1407
+ t.overrides = t.overrides || {}, t.sanitizer = t.sanitizer || ui, t.slugify = t.slugify || be, t.namedCodesToUnicode = t.namedCodesToUnicode ? ce2({}, St, t.namedCodesToUnicode) : St, t.createElement = t.createElement || Y.createElement;
1408
+ const c = [], l = {}, h = { [y.blockQuote]: { match: ee(en), order: 1, parse(i, u, a) {
1409
+ const [, f, p] = i[0].replace(Co, "").match(mo);
1410
+ return { alert: f, children: u(p, a) };
1411
+ }, render(i, u, a) {
1412
+ const f = { key: a.key };
1413
+ return i.alert && (f.className = "markdown-alert-" + t.slugify(i.alert.toLowerCase(), be), i.children.unshift({ attrs: {}, children: [{ type: y.text, text: i.alert }], noInnerParse: true, type: y.htmlBlock, tag: "header" })), n("blockquote", f, u(i.children, a));
1414
+ } }, [y.breakLine]: { match: ye(bo), order: 1, parse: Ge, render: (i, u, a) => n("br", { key: a.key }) }, [y.breakThematic]: { match: ee(yo), order: 1, parse: Ge, render: (i, u, a) => n("hr", { key: a.key }) }, [y.codeBlock]: { match: ee(nn), order: 0, parse: (i) => ({ lang: undefined, text: ke(i[0].replace(/^ {4}/gm, "")).replace($t, "$1") }), render: (i, u, a) => n("pre", { key: a.key }, n("code", ce2({}, i.attrs, { className: i.lang ? `lang-${i.lang}` : "" }), i.text)) }, [y.codeFenced]: { match: ee(tn), order: 0, parse: (i) => ({ attrs: s("code", i[3] || ""), lang: i[2] || undefined, text: i[4], type: y.codeBlock }) }, [y.codeInline]: { match: se(xo), order: 3, parse: (i) => ({ text: i[2].replace($t, "$1") }), render: (i, u, a) => n("code", { key: a.key }, i.text) }, [y.footnote]: { match: ee(wo), order: 0, parse: (i) => (c.push({ footnote: i[2], identifier: i[1] }), {}), render: Ve }, [y.footnoteReference]: { match: ie2(So), order: 1, parse: (i) => ({ target: `#${t.slugify(i[1], be)}`, text: i[1] }), render: (i, u, a) => n("a", { key: a.key, href: t.sanitizer(i.target, "a", "href") }, n("sup", { key: a.key }, i.text)) }, [y.gfmTask]: { match: ie2(To), order: 1, parse: (i) => ({ completed: i[1].toLowerCase() === "x" }), render: (i, u, a) => n("input", { checked: i.completed, key: a.key, readOnly: true, type: "checkbox" }) }, [y.heading]: { match: ee(t.enforceAtxHeadings ? on : rn), order: 1, parse: (i, u, a) => ({ children: Pe(u, i[2], a), id: t.slugify(i[2], be), level: i[1].length }), render: (i, u, a) => n(`h${i.level}`, { id: i.id, key: a.key }, u(i.children, a)) }, [y.headingSetext]: { match: ee(sn), order: 0, parse: (i, u, a) => ({ children: Pe(u, i[1], a), level: i[2] === "=" ? 1 : 2, type: y.heading }) }, [y.htmlBlock]: { match: ye(Ye2), order: 1, parse(i, u, a) {
1415
+ const [, f] = i[3].match(Xo), p = new RegExp(`^${f}`, "gm"), b = i[3].replace(p, ""), v = (k = b, si.some((B) => B.test(k)) ? pi : Pe);
1416
+ var k;
1417
+ const E = i[1].toLowerCase(), T = uo.indexOf(E) !== -1, M = (T ? E : i[1]).trim(), I = { attrs: s(M, i[2]), noInnerParse: T, tag: M };
1418
+ return a.inAnchor = a.inAnchor || E === "a", T ? I.text = i[3] : I.children = v(u, b, a), a.inAnchor = false, I;
1419
+ }, render: (i, u, a) => n(i.tag, ce2({ key: a.key }, i.attrs), i.text || (i.children ? u(i.children, a) : "")) }, [y.htmlSelfClosing]: { match: ye(Je), order: 1, parse(i) {
1420
+ const u = i[1].trim();
1421
+ return { attrs: s(u, i[2] || ""), tag: u };
1422
+ }, render: (i, u, a) => n(i.tag, ce2({}, i.attrs, { key: a.key })) }, [y.htmlComment]: { match: ye(an), order: 1, parse: () => ({}), render: Ve }, [y.image]: { match: se(ii), order: 1, parse: (i) => ({ alt: i[1], target: Lt(i[2]), title: i[3] }), render: (i, u, a) => n("img", { key: a.key, alt: i.alt || undefined, title: i.title || undefined, src: t.sanitizer(i.target, "img", "src") }) }, [y.link]: { match: ie2(oi), order: 3, parse: (i, u, a) => ({ children: hi2(u, i[1], a), target: Lt(i[2]), title: i[3] }), render: (i, u, a) => n("a", { key: a.key, href: t.sanitizer(i.target, "a", "href"), title: i.title }, u(i.children, a)) }, [y.linkAngleBraceStyleDetector]: { match: ie2(Po), order: 0, parse: (i) => ({ children: [{ text: i[1], type: y.text }], target: i[1], type: y.link }) }, [y.linkBareUrlDetector]: { match: pe((i, u) => u.inAnchor || t.disableAutoLink ? null : ie2(Io)(i, u)), order: 0, parse: (i) => ({ children: [{ text: i[1], type: y.text }], target: i[1], title: undefined, type: y.link }) }, [y.linkMailtoDetector]: { match: ie2(No), order: 0, parse(i) {
1423
+ let u = i[1], a = i[1];
1424
+ return go.test(a) || (a = "mailto:" + a), { children: [{ text: u.replace("mailto:", ""), type: y.text }], target: a, type: y.link };
1425
+ } }, [y.orderedList]: Mt2(n, 1), [y.unorderedList]: Mt2(n, 2), [y.newlineCoalescer]: { match: ee(vo), order: 3, parse: Ge, render: () => `
1426
+ ` }, [y.paragraph]: { match: pe(ci), order: 3, parse: Ue, render: (i, u, a) => n("p", { key: a.key }, u(i.children, a)) }, [y.ref]: { match: ie2(Bo), order: 0, parse: (i) => (l[i[1]] = { target: i[2], title: i[4] }, {}), render: Ve }, [y.refImage]: { match: se(Fo), order: 0, parse: (i) => ({ alt: i[1] || undefined, ref: i[2] }), render: (i, u, a) => l[i.ref] ? n("img", { key: a.key, alt: i.alt, src: t.sanitizer(l[i.ref].target, "img", "src"), title: l[i.ref].title }) : null }, [y.refLink]: { match: ie2(Ao), order: 0, parse: (i, u, a) => ({ children: u(i[1], a), fallbackChildren: i[0], ref: i[2] }), render: (i, u, a) => l[i.ref] ? n("a", { key: a.key, href: t.sanitizer(l[i.ref].target, "a", "href"), title: l[i.ref].title }, u(i.children, a)) : n("span", { key: a.key }, i.fallbackChildren) }, [y.table]: { match: ee(ln), order: 1, parse: li, render(i, u, a) {
1427
+ const f = i;
1428
+ return n("table", { key: a.key }, n("thead", null, n("tr", null, f.header.map(function(p, b) {
1429
+ return n("th", { key: b, style: Rt2(f, b) }, u(p, a));
1430
+ }))), n("tbody", null, f.cells.map(function(p, b) {
1431
+ return n("tr", { key: b }, p.map(function(v, k) {
1432
+ return n("td", { key: k, style: Rt2(f, k) }, u(v, a));
1433
+ }));
1434
+ })));
1435
+ } }, [y.text]: { match: ye(_o), order: 4, parse: (i) => ({ text: i[0].replace(Ro, (u, a) => t.namedCodesToUnicode[a] ? t.namedCodesToUnicode[a] : u) }), render: (i) => i.text }, [y.textBolded]: { match: se(jo), order: 2, parse: (i, u, a) => ({ children: u(i[2], a) }), render: (i, u, a) => n("strong", { key: a.key }, u(i.children, a)) }, [y.textEmphasized]: { match: se(Uo), order: 3, parse: (i, u, a) => ({ children: u(i[2], a) }), render: (i, u, a) => n("em", { key: a.key }, u(i.children, a)) }, [y.textEscaped]: { match: se(Qo), order: 1, parse: (i) => ({ text: i[1], type: y.text }) }, [y.textMarked]: { match: se(Go), order: 3, parse: Ue, render: (i, u, a) => n("mark", { key: a.key }, u(i.children, a)) }, [y.textStrikethroughed]: { match: se(Vo), order: 3, parse: Ue, render: (i, u, a) => n("del", { key: a.key }, u(i.children, a)) } };
1436
+ t.disableParsingRawHTML === true && (delete h[y.htmlBlock], delete h[y.htmlSelfClosing]);
1437
+ const d = function(i) {
1438
+ let u = Object.keys(i);
1439
+ function a(f, p) {
1440
+ let b, v, k = [], E = "", T = "";
1441
+ for (p.prevCapture = p.prevCapture || "";f; ) {
1442
+ let M = 0;
1443
+ for (;M < u.length; ) {
1444
+ if (E = u[M], b = i[E], p.inline && !b.match.inline) {
1445
+ M++;
1446
+ continue;
1447
+ }
1448
+ const I = b.match(f, p);
1449
+ if (I) {
1450
+ T = I[0], p.prevCapture += T, f = f.substring(T.length), v = b.parse(I, a, p), v.type == null && (v.type = E), k.push(v);
1451
+ break;
1452
+ }
1453
+ M++;
1454
+ }
1455
+ }
1456
+ return p.prevCapture = "", k;
1457
+ }
1458
+ return u.sort(function(f, p) {
1459
+ let b = i[f].order, v = i[p].order;
1460
+ return b !== v ? b - v : f < p ? -1 : 1;
1461
+ }), function(f, p) {
1462
+ return a(function(b) {
1463
+ return b.replace(ko, `
1464
+ `).replace($o, "").replace(Do, " ");
1465
+ }(f), p);
1466
+ };
1467
+ }(h), g = (m = /* @__PURE__ */ function(i, u) {
1468
+ return function(a, f, p) {
1469
+ const b = i[a.type].render;
1470
+ return u ? u(() => b(a, f, p), a, f, p) : b(a, f, p);
1471
+ };
1472
+ }(h, t.renderRule), function i(u, a = {}) {
1473
+ if (Array.isArray(u)) {
1474
+ const f = a.key, p = [];
1475
+ let b = false;
1476
+ for (let v = 0;v < u.length; v++) {
1477
+ a.key = v;
1478
+ const k = i(u[v], a), E = typeof k == "string";
1479
+ E && b ? p[p.length - 1] += k : k !== null && p.push(k), b = E;
1480
+ }
1481
+ return a.key = f, p;
1482
+ }
1483
+ return m(u, i, a);
1484
+ });
1485
+ var m;
1486
+ const x = r(e);
1487
+ return c.length ? n("div", null, x, n("footer", { key: "footer" }, c.map(function(i) {
1488
+ return n("div", { id: t.slugify(i.identifier, be), key: i.identifier }, i.identifier, g(d(i.footnote, { inline: true })));
1489
+ }))) : x;
1490
+ }
1491
+ var Ci = (e) => {
1492
+ let { children: t = "", options: n } = e, r = function(s, c) {
1493
+ if (s == null)
1494
+ return {};
1495
+ var l, h, d = {}, g = Object.keys(s);
1496
+ for (h = 0;h < g.length; h++)
1497
+ c.indexOf(l = g[h]) >= 0 || (d[l] = s[l]);
1498
+ return d;
1499
+ }(e, co);
1500
+ return Y.cloneElement(fi(t, n), r);
1501
+ };
1502
+ var mi = tt.div`
1503
+ display: flex;
1504
+
1505
+ ${({ align: e }) => e === "right" ? o1`
1506
+ justify-content: flex-end;
1507
+ ` : o1`
1508
+ justify-content: flex-start;
1509
+ `}
1510
+ `;
1511
+ var bn = tt.div`
1512
+ font-size: inherit;
1513
+ line-height: inherit;
1514
+ padding-top: 8.5px;
1515
+ padding-bottom: 8.5px;
1516
+ padding-left: 0.5rem;
1517
+ padding-right: 0.5rem;
1518
+ white-space: pre-wrap;
1519
+ overflow-wrap: break-word;
1520
+ box-sizing: border-box;
1521
+
1522
+ ${({ align: e }) => e === "right" ? o1`
1523
+ text-align: right;
1524
+ border-radius: 10px 10px 0px 10px;
1525
+ ` : o1`
1526
+ text-align: left;
1527
+ border-radius: 10px 10px 10px 0px;
1528
+ `}
1529
+
1530
+ ${({ align: e }) => e !== "full" ? o1`
1531
+ max-width: 85%;
1532
+ ` : ""}
1533
+
1534
+ color: ${({ theme: e }) => e.aiChat.primaryTextColor};
1535
+ background-color: ${({ theme: e, align: t }) => t === "right" ? e.aiChat.userMessages.backgroundColor : e.aiChat.systemMessages.backgroundColor};
1536
+ `;
1537
+ var ae = ({ align: e, children: t }) => {
1538
+ const { themeSettings: n } = Mt();
1539
+ return /* @__PURE__ */ ce(mi, { theme: n, align: e, children: /* @__PURE__ */ ce(bn, { theme: n, align: e, children: typeof t == "string" ? /* @__PURE__ */ ce(Ci, { children: t }) : t }) });
1540
+ };
1541
+ function bi() {
1542
+ const { welcomeText: e } = ne();
1543
+ return e === false ? null : /* @__PURE__ */ ce(ae, { align: "left", children: e });
1544
+ }
1545
+ var yi = tt.div`
1546
+ display: flex;
1547
+
1548
+ ${({ align: e }) => e === "right" ? o1`
1549
+ justify-content: flex-end;
1550
+ ` : o1`
1551
+ justify-content: flex-start;
1552
+ `}
1553
+ `;
1554
+ var xi = tt.button`
1555
+ font-family: inherit;
1556
+ font-size: inherit;
1557
+ line-height: inherit;
1558
+ border: ${({ theme: e }) => e.aiChat.clickableMessages.border};
1559
+ padding: 0;
1560
+ cursor: pointer;
1561
+
1562
+ color: ${({ theme: e }) => e.aiChat.clickableMessages.textColor};
1563
+ background-color: ${({ theme: e }) => e.aiChat.clickableMessages.backgroundColor};
1564
+ &:hover {
1565
+ color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.textColor};
1566
+ background-color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.backgroundColor};
1567
+ }
1568
+ border-radius: 20px;
1569
+
1570
+ ${({ align: e }) => e === "right" ? o1`
1571
+ text-align: right;
1572
+ ` : o1`
1573
+ text-align: left;
1574
+ `}
1575
+
1576
+ ${({ align: e }) => e !== "full" ? o1`
1577
+ max-width: 382px;
1578
+ ` : ""}
1579
+
1580
+ ${({ theme: e }) => {
1581
+ const { borderGradient: t, borderRadius: n } = e.aiChat.suggestions;
1582
+ if (t) {
1583
+ const [r, s] = t;
1584
+ return o1`
1585
+ border: none;
1586
+ position: relative;
1587
+ border-radius: ${n};
1588
+ &:before {
1589
+ content: '';
1590
+ position: absolute;
1591
+ top: 0;
1592
+ left: 0;
1593
+ right: 0;
1594
+ bottom: 0;
1595
+ border-radius: ${n};
1596
+ border: 1px solid transparent;
1597
+ background: linear-gradient(30deg, ${r}, ${s}) border-box;
1598
+ -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
1599
+ -webkit-mask-composite: destination-out;
1600
+ mask-composite: exclude;
1601
+ }
1602
+ `;
1603
+ }
1604
+ return "";
1605
+ }}
1606
+ `;
1607
+ function Fe({
1608
+ children: e,
1609
+ align: t,
1610
+ onClick: n,
1611
+ onMouseEnter: r,
1612
+ onMouseLeave: s,
1613
+ accessibleName: c
1614
+ }) {
1615
+ const { themeSettings: l } = Mt();
1616
+ return /* @__PURE__ */ ce(yi, { align: t, children: /* @__PURE__ */ ce(xi, {
1617
+ "aria-label": c,
1618
+ theme: l,
1619
+ onClick: n,
1620
+ align: t,
1621
+ onMouseEnter: r,
1622
+ onMouseLeave: s,
1623
+ children: e
1624
+ }) });
1625
+ }
1626
+ function vi({ onCancel: e, onConfirm: t }) {
1627
+ const { t: n } = aa();
1628
+ return /* @__PURE__ */ wi(Gc, { children: [
1629
+ /* @__PURE__ */ ce(ae, { align: "left", children: n("ai.clearHistoryPrompt") }),
1630
+ /* @__PURE__ */ wi("div", { className: "csdk-flex csdk-gap-x-2", children: [
1631
+ /* @__PURE__ */ ce(Fe, { align: "right", onClick: t, accessibleName: "confirm clear chat", children: /* @__PURE__ */ ce("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: n("ai.buttons.yes") }) }),
1632
+ /* @__PURE__ */ ce(Fe, { align: "right", onClick: e, accessibleName: "cancel clear chat", children: /* @__PURE__ */ ce("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: n("ai.buttons.no") }) })
1633
+ ] })
1634
+ ] });
1635
+ }
1636
+ var ki = u3e("toLowerCase");
1637
+ function wi2() {
1638
+ const { themeSettings: e } = Mt();
1639
+ return /* @__PURE__ */ ce("svg", { width: "24", height: "25", viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ ce("path", {
1640
+ fillRule: "evenodd",
1641
+ clipRule: "evenodd",
1642
+ d: "M11.5 3.5C11.2239 3.5 11 3.72386 11 4V5C11 5.27614 11.2239 5.5 11.5 5.5C11.7761 5.5 12 5.27614 12 5V4C12 3.72386 11.7761 3.5 11.5 3.5ZM20 11C20 10.7239 19.7761 10.5 19.5 10.5H18.5C18.2239 10.5 18 10.7239 18 11C18 11.2761 18.2239 11.5 18.5 11.5H19.5C19.7761 11.5 20 11.2761 20 11ZM6.06066 5.35355C5.8654 5.15829 5.54882 5.15829 5.35355 5.35355C5.15829 5.54882 5.15829 5.8654 5.35355 6.06066L6.06066 6.76777C6.25592 6.96303 6.5725 6.96303 6.76777 6.76777C6.96303 6.5725 6.96303 6.25592 6.76777 6.06066L6.06066 5.35355ZM5 11C5 10.7239 4.77614 10.5 4.5 10.5H3.5C3.22386 10.5 3 10.7239 3 11C3 11.2761 3.22386 11.5 3.5 11.5H4.5C4.77614 11.5 5 11.2761 5 11ZM17.7678 6.06066C17.963 5.8654 17.963 5.54882 17.7678 5.35355C17.5725 5.15829 17.2559 5.15829 17.0607 5.35355L16.3536 6.06066C16.1583 6.25592 16.1583 6.5725 16.3536 6.76777C16.5488 6.96303 16.8654 6.96303 17.0607 6.76777L17.7678 6.06066ZM12.1443 6.53487C14.6635 6.81824 16.6511 8.67684 16.9597 11.0379C17.1678 12.6385 16.5623 14.2379 15.3244 15.3575C14.5049 16.1022 14.0038 17.2023 14 18.2722V19.5H9V18.2753C8.98626 17.1847 8.46545 16.0683 7.62521 15.3139C6.04513 13.8436 5.56667 11.6251 6.41329 9.69484C7.25992 7.76454 9.26456 6.50321 11.4909 6.5C11.7093 6.50004 11.9274 6.51167 12.1443 6.53487ZM11.4927 7.5C9.675 7.50258 8.03521 8.51877 7.34062 10.0785C6.64391 11.643 7.03778 13.4417 8.32278 14.6196C9.36662 15.5426 9.98356 16.8913 10.0003 18.2029V18.5H13.0001L13.0001 18.1969C13.0048 16.9143 13.6014 15.5805 14.6246 14.6649C15.6402 13.7602 16.1379 12.4652 15.9669 11.1689C15.7132 9.25779 14.0849 7.75729 12.0264 7.52799C11.8487 7.50938 11.67 7.50004 11.4927 7.5ZM14.1068 12.5099H13.1068C13.1068 10.7222 12.3371 9.95246 10.6235 10.0096L10.5901 9.01014C12.8765 8.93393 14.1068 10.1642 14.1068 12.5099ZM13 21.5V20.5H10V21.5H13Z",
1643
+ fill: e.aiChat.icons.color
1644
+ }) });
1645
+ }
1646
+ function Si({ onClick: e }) {
1647
+ const { t } = aa();
1648
+ return /* @__PURE__ */ ce(Fe, { align: "left", onClick: e, children: /* @__PURE__ */ wi("div", {
1649
+ className: "csdk-py-[5px] csdk-px-2 csdk-flex csdk-items-center csdk-gap-x-1 csdk-select-none",
1650
+ children: [
1651
+ /* @__PURE__ */ ce(wi2, {}),
1652
+ t("ai.buttons.insights")
1653
+ ]
1654
+ }) });
1655
+ }
1656
+ function $i(e) {
1657
+ return Rt("MuiDialog", e);
1658
+ }
1659
+ var _e = At("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]);
1660
+ var yn2 = /* @__PURE__ */ Y.createContext({});
1661
+ yn2.displayName = "DialogContext";
1662
+ var Mi = Le(z3, {
1663
+ name: "MuiDialog",
1664
+ slot: "Backdrop",
1665
+ overrides: (e, t) => t.backdrop
1666
+ })({
1667
+ zIndex: -1
1668
+ });
1669
+ var Ti = (e) => {
1670
+ const {
1671
+ classes: t,
1672
+ scroll: n,
1673
+ maxWidth: r,
1674
+ fullWidth: s,
1675
+ fullScreen: c
1676
+ } = e, l = {
1677
+ root: ["root"],
1678
+ container: ["container", `scroll${Be(n)}`],
1679
+ paper: ["paper", `paperScroll${Be(n)}`, `paperWidth${Be(String(r))}`, s && "paperFullWidth", c && "paperFullScreen"]
1680
+ };
1681
+ return qt(l, $i, t);
1682
+ };
1683
+ var Ri = Le(H3, {
1684
+ name: "MuiDialog",
1685
+ slot: "Root",
1686
+ overridesResolver: (e, t) => t.root
1687
+ })({
1688
+ "@media print": {
1689
+ position: "absolute !important"
1690
+ }
1691
+ });
1692
+ var Li = Le("div", {
1693
+ name: "MuiDialog",
1694
+ slot: "Container",
1695
+ overridesResolver: (e, t) => {
1696
+ const {
1697
+ ownerState: n
1698
+ } = e;
1699
+ return [t.container, t[`scroll${Be(n.scroll)}`]];
1700
+ }
1701
+ })({
1702
+ height: "100%",
1703
+ "@media print": {
1704
+ height: "auto"
1705
+ },
1706
+ outline: 0,
1707
+ variants: [{
1708
+ props: {
1709
+ scroll: "paper"
1710
+ },
1711
+ style: {
1712
+ display: "flex",
1713
+ justifyContent: "center",
1714
+ alignItems: "center"
1715
+ }
1716
+ }, {
1717
+ props: {
1718
+ scroll: "body"
1719
+ },
1720
+ style: {
1721
+ overflowY: "auto",
1722
+ overflowX: "hidden",
1723
+ textAlign: "center",
1724
+ "&::after": {
1725
+ content: '""',
1726
+ display: "inline-block",
1727
+ verticalAlign: "middle",
1728
+ height: "100%",
1729
+ width: "0"
1730
+ }
1731
+ }
1732
+ }]
1733
+ });
1734
+ var Ei = Le(k1, {
1735
+ name: "MuiDialog",
1736
+ slot: "Paper",
1737
+ overridesResolver: (e, t) => {
1738
+ const {
1739
+ ownerState: n
1740
+ } = e;
1741
+ return [t.paper, t[`scrollPaper${Be(n.scroll)}`], t[`paperWidth${Be(String(n.maxWidth))}`], n.fullWidth && t.paperFullWidth, n.fullScreen && t.paperFullScreen];
1742
+ }
1743
+ })(er(({
1744
+ theme: e
1745
+ }) => ({
1746
+ margin: 32,
1747
+ position: "relative",
1748
+ overflowY: "auto",
1749
+ "@media print": {
1750
+ overflowY: "visible",
1751
+ boxShadow: "none"
1752
+ },
1753
+ variants: [{
1754
+ props: {
1755
+ scroll: "paper"
1756
+ },
1757
+ style: {
1758
+ display: "flex",
1759
+ flexDirection: "column",
1760
+ maxHeight: "calc(100% - 64px)"
1761
+ }
1762
+ }, {
1763
+ props: {
1764
+ scroll: "body"
1765
+ },
1766
+ style: {
1767
+ display: "inline-block",
1768
+ verticalAlign: "middle",
1769
+ textAlign: "initial"
1770
+ }
1771
+ }, {
1772
+ props: ({
1773
+ ownerState: t
1774
+ }) => !t.maxWidth,
1775
+ style: {
1776
+ maxWidth: "calc(100% - 64px)"
1777
+ }
1778
+ }, {
1779
+ props: {
1780
+ maxWidth: "xs"
1781
+ },
1782
+ style: {
1783
+ maxWidth: e.breakpoints.unit === "px" ? Math.max(e.breakpoints.values.xs, 444) : `max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,
1784
+ [`&.${_e.paperScrollBody}`]: {
1785
+ [e.breakpoints.down(Math.max(e.breakpoints.values.xs, 444) + 32 * 2)]: {
1786
+ maxWidth: "calc(100% - 64px)"
1787
+ }
1788
+ }
1789
+ }
1790
+ }, ...Object.keys(e.breakpoints.values).filter((t) => t !== "xs").map((t) => ({
1791
+ props: {
1792
+ maxWidth: t
1793
+ },
1794
+ style: {
1795
+ maxWidth: `${e.breakpoints.values[t]}${e.breakpoints.unit}`,
1796
+ [`&.${_e.paperScrollBody}`]: {
1797
+ [e.breakpoints.down(e.breakpoints.values[t] + 32 * 2)]: {
1798
+ maxWidth: "calc(100% - 64px)"
1799
+ }
1800
+ }
1801
+ }
1802
+ })), {
1803
+ props: ({
1804
+ ownerState: t
1805
+ }) => t.fullWidth,
1806
+ style: {
1807
+ width: "calc(100% - 64px)"
1808
+ }
1809
+ }, {
1810
+ props: ({
1811
+ ownerState: t
1812
+ }) => t.fullScreen,
1813
+ style: {
1814
+ margin: 0,
1815
+ width: "100%",
1816
+ maxWidth: "100%",
1817
+ height: "100%",
1818
+ maxHeight: "none",
1819
+ borderRadius: 0,
1820
+ [`&.${_e.paperScrollBody}`]: {
1821
+ margin: 0,
1822
+ maxWidth: "100%"
1823
+ }
1824
+ }
1825
+ }]
1826
+ })));
1827
+ var xn = /* @__PURE__ */ Y.forwardRef(function(t, n) {
1828
+ const r = zt({
1829
+ props: t,
1830
+ name: "MuiDialog"
1831
+ }), s = Nf(), c = {
1832
+ enter: s.transitions.duration.enteringScreen,
1833
+ exit: s.transitions.duration.leavingScreen
1834
+ }, mt = r, {
1835
+ "aria-describedby": l,
1836
+ "aria-labelledby": h,
1837
+ "aria-modal": d = true,
1838
+ BackdropComponent: g,
1839
+ BackdropProps: m,
1840
+ children: x,
1841
+ className: i,
1842
+ disableEscapeKeyDown: u = false,
1843
+ fullScreen: a = false,
1844
+ fullWidth: f = false,
1845
+ maxWidth: p = "sm",
1846
+ onBackdropClick: b,
1847
+ onClick: v,
1848
+ onClose: k,
1849
+ open: E,
1850
+ PaperComponent: T = k1,
1851
+ PaperProps: M = {},
1852
+ scroll: I = "paper",
1853
+ slots: B = {},
1854
+ slotProps: le = {},
1855
+ TransitionComponent: V = B3,
1856
+ transitionDuration: Z = c,
1857
+ TransitionProps: Q
1858
+ } = mt, _2 = Ze(mt, [
1859
+ "aria-describedby",
1860
+ "aria-labelledby",
1861
+ "aria-modal",
1862
+ "BackdropComponent",
1863
+ "BackdropProps",
1864
+ "children",
1865
+ "className",
1866
+ "disableEscapeKeyDown",
1867
+ "fullScreen",
1868
+ "fullWidth",
1869
+ "maxWidth",
1870
+ "onBackdropClick",
1871
+ "onClick",
1872
+ "onClose",
1873
+ "open",
1874
+ "PaperComponent",
1875
+ "PaperProps",
1876
+ "scroll",
1877
+ "slots",
1878
+ "slotProps",
1879
+ "TransitionComponent",
1880
+ "transitionDuration",
1881
+ "TransitionProps"
1882
+ ]), q = L($({}, r), {
1883
+ disableEscapeKeyDown: u,
1884
+ fullScreen: a,
1885
+ fullWidth: f,
1886
+ maxWidth: p,
1887
+ scroll: I
1888
+ }), J = Ti(q), P = Y.useRef(), U = (ue) => {
1889
+ P.current = ue.target === ue.currentTarget;
1890
+ }, W = (ue) => {
1891
+ v && v(ue), P.current && (P.current = null, b && b(ue), k && k(ue, "backdropClick"));
1892
+ }, G = l1(h), re = Y.useMemo(() => ({
1893
+ titleId: G
1894
+ }), [G]), fe = $({
1895
+ transition: V
1896
+ }, B), de = $({
1897
+ transition: Q,
1898
+ paper: M,
1899
+ backdrop: m
1900
+ }, le), oe = {
1901
+ slots: fe,
1902
+ slotProps: de
1903
+ }, [Te, Re] = Or("root", {
1904
+ elementType: Ri,
1905
+ shouldForwardComponentProp: true,
1906
+ externalForwardedProps: oe,
1907
+ ownerState: q,
1908
+ className: Ye(J.root, i),
1909
+ ref: n
1910
+ }), [H, K] = Or("backdrop", {
1911
+ elementType: Mi,
1912
+ shouldForwardComponentProp: true,
1913
+ externalForwardedProps: oe,
1914
+ ownerState: q
1915
+ }), [Le2, Ct] = Or("paper", {
1916
+ elementType: Ei,
1917
+ shouldForwardComponentProp: true,
1918
+ externalForwardedProps: oe,
1919
+ ownerState: q,
1920
+ className: Ye(J.paper, M.className)
1921
+ }), [Ee, wn] = Or("container", {
1922
+ elementType: Li,
1923
+ externalForwardedProps: oe,
1924
+ ownerState: q,
1925
+ className: Ye(J.container)
1926
+ }), [Sn, $n] = Or("transition", {
1927
+ elementType: B3,
1928
+ externalForwardedProps: oe,
1929
+ ownerState: q,
1930
+ additionalProps: {
1931
+ appear: true,
1932
+ in: E,
1933
+ timeout: Z,
1934
+ role: "presentation"
1935
+ }
1936
+ });
1937
+ return /* @__PURE__ */ import_jsx_runtime.jsx(Te, L($($({
1938
+ closeAfterTransition: true,
1939
+ slots: {
1940
+ backdrop: H
1941
+ },
1942
+ slotProps: {
1943
+ backdrop: $({
1944
+ transitionDuration: Z,
1945
+ as: g
1946
+ }, K)
1947
+ },
1948
+ disableEscapeKeyDown: u,
1949
+ onClose: k,
1950
+ open: E,
1951
+ onClick: W
1952
+ }, Re), _2), {
1953
+ children: /* @__PURE__ */ import_jsx_runtime.jsx(Sn, L($({}, $n), {
1954
+ children: /* @__PURE__ */ import_jsx_runtime.jsx(Ee, L($({
1955
+ onMouseDown: U
1956
+ }, wn), {
1957
+ children: /* @__PURE__ */ import_jsx_runtime.jsx(Le2, L($({
1958
+ as: T,
1959
+ elevation: 24,
1960
+ role: "dialog",
1961
+ "aria-describedby": l,
1962
+ "aria-labelledby": G,
1963
+ "aria-modal": d
1964
+ }, Ct), {
1965
+ children: /* @__PURE__ */ import_jsx_runtime.jsx(yn2.Provider, {
1966
+ value: re,
1967
+ children: x
1968
+ })
1969
+ }))
1970
+ }))
1971
+ }))
1972
+ }));
1973
+ });
1974
+ xn.propTypes = {
1975
+ "aria-describedby": _.string,
1976
+ "aria-labelledby": _.string,
1977
+ "aria-modal": _.oneOfType([_.oneOf(["false", "true"]), _.bool]),
1978
+ BackdropComponent: _.elementType,
1979
+ BackdropProps: _.object,
1980
+ children: _.node,
1981
+ classes: _.object,
1982
+ className: _.string,
1983
+ disableEscapeKeyDown: _.bool,
1984
+ fullScreen: _.bool,
1985
+ fullWidth: _.bool,
1986
+ maxWidth: _.oneOfType([_.oneOf(["xs", "sm", "md", "lg", "xl", false]), _.string]),
1987
+ onBackdropClick: _.func,
1988
+ onClick: _.func,
1989
+ onClose: _.func,
1990
+ open: _.bool.isRequired,
1991
+ PaperComponent: _.elementType,
1992
+ PaperProps: _.object,
1993
+ scroll: _.oneOf(["body", "paper"]),
1994
+ slotProps: _.shape({
1995
+ backdrop: _.oneOfType([_.func, _.object]),
1996
+ container: _.oneOfType([_.func, _.object]),
1997
+ paper: _.oneOfType([_.func, _.object]),
1998
+ root: _.oneOfType([_.func, _.object]),
1999
+ transition: _.oneOfType([_.func, _.object])
2000
+ }),
2001
+ slots: _.shape({
2002
+ backdrop: _.elementType,
2003
+ container: _.elementType,
2004
+ paper: _.elementType,
2005
+ root: _.elementType,
2006
+ transition: _.elementType
2007
+ }),
2008
+ sx: _.oneOfType([_.arrayOf(_.oneOfType([_.func, _.object, _.bool])), _.func, _.object]),
2009
+ TransitionComponent: _.elementType,
2010
+ transitionDuration: _.oneOfType([_.number, _.shape({
2011
+ appear: _.number,
2012
+ enter: _.number,
2013
+ exit: _.number
2014
+ })]),
2015
+ TransitionProps: _.object
2016
+ };
2017
+ function Ii({ fillColor: e = "#262E3D" }) {
2018
+ return /* @__PURE__ */ wi("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", children: [
2019
+ /* @__PURE__ */ ce("rect", { x: "1", y: "1", width: "28", height: "28", rx: "14", stroke: "#9EA2AB" }),
2020
+ /* @__PURE__ */ ce("path", {
2021
+ fillRule: "evenodd",
2022
+ clipRule: "evenodd",
2023
+ d: "M14.2929 15L9.14645 9.85355C8.95118 9.65829 8.95118 9.34171 9.14645 9.14645C9.34171 8.95118 9.65829 8.95118 9.85355 9.14645L15 14.2929L20.1464 9.14645C20.3417 8.95118 20.6583 8.95118 20.8536 9.14645C21.0488 9.34171 21.0488 9.65829 20.8536 9.85355L15.7071 15L20.8536 20.1464C21.0488 20.3417 21.0488 20.6583 20.8536 20.8536C20.6583 21.0488 20.3417 21.0488 20.1464 20.8536L15 15.7071L9.85355 20.8536C9.65829 21.0488 9.34171 21.0488 9.14645 20.8536C8.95118 20.6583 8.95118 20.3417 9.14645 20.1464L14.2929 15Z",
2024
+ fill: e
2025
+ })
2026
+ ] });
2027
+ }
2028
+ var vn = {
2029
+ row: {
2030
+ hover: "rgba(224, 224, 224, 0.3)"
2031
+ },
2032
+ secondary: {
2033
+ default: "rgba(38, 46, 61, 0.1)",
2034
+ hover: "rgba(38, 46, 61, 0.17)"
2035
+ },
2036
+ text: {
2037
+ active: "rgba(38, 46, 61, 1)",
2038
+ content: "rgba(38, 46, 61, 0.8)",
2039
+ secondary: "rgba(38, 46, 61, 0.55)",
2040
+ disabled: "rgba(38, 46, 61, 0.3)",
2041
+ link: "rgba(54, 163, 217, 1)",
2042
+ accented: "rgba(12, 14, 18, 1)",
2043
+ linkButton: "#1eaff3",
2044
+ primary: "#262E3D"
2045
+ },
2046
+ UI: {
2047
+ default: "#6e737d",
2048
+ additional: "rgba(38, 46, 61, 0.4)",
2049
+ guiding: "rgba(38, 46, 61, 0.1)"
2050
+ },
2051
+ background: {
2052
+ workspace: "rgba(255, 255, 255, 1)",
2053
+ supporting: "rgba(249, 249, 251, 1)",
2054
+ priority: "rgba(244, 244, 248, 1)"
2055
+ },
2056
+ primary: {
2057
+ primary: "rgba(255, 203, 5, 1)",
2058
+ default: "#FFC805",
2059
+ hover: "#F2B900"
2060
+ },
2061
+ interaction: {
2062
+ defaultHover: "rgba(12, 14, 18, 0.07)",
2063
+ guidingHover: "rgba(38, 46, 61, 0.17)",
2064
+ linkHovered: "rgba(50, 147, 197, 1)",
2065
+ primaryHovered: "rgba(242, 185, 0, 1)"
2066
+ },
2067
+ semantic: {
2068
+ info: "rgba(52, 150, 200, 1)",
2069
+ success: "rgba(34, 195, 195, 1)",
2070
+ warning: "rgba(242, 185, 0, 1)",
2071
+ error: "rgba(231, 71, 39, 1)",
2072
+ infoBG: "rgba(52, 150, 200, 0.1)",
2073
+ successBG: "rgba(34, 195, 195, 0.1)",
2074
+ warningBG: "rgba(242, 185, 0, 0.1)",
2075
+ errorBG: "rgba(231, 71, 39, 0.1)"
2076
+ },
2077
+ sisenseDark: {
2078
+ text: {
2079
+ active: "rgba(235, 239, 247, 1)",
2080
+ content: "rgba(235, 239, 247, 0.8)",
2081
+ secondary: "rgba(235, 239, 247, 0.55)",
2082
+ disabled: "rgba(235, 239, 247, 0.3)",
2083
+ link: "rgba(50, 147, 197, 1)",
2084
+ accented: "rgba(12, 14, 18, 1)"
2085
+ },
2086
+ ui: {
2087
+ default: "rgba(235, 239, 247, 0.67)",
2088
+ additional: "rgba(235, 239, 247, 0.4)",
2089
+ guiding: "rgba(235, 239, 247, 0.1)"
2090
+ },
2091
+ background: {
2092
+ workspace: "rgba(12, 14, 18, 1)",
2093
+ supporting: "rgba(249, 249, 251, 1)",
2094
+ priority: "rgba(244, 244, 248, 1)"
2095
+ },
2096
+ interaction: {
2097
+ defaultHover: "rgba(12, 14, 18, 0.07)",
2098
+ guidingHover: "rgba(235, 239, 247, 0.17)",
2099
+ linkHovered: "rgba(50, 147, 197, 1)",
2100
+ primaryHovered: "rgba(242, 185, 0, 1)"
2101
+ },
2102
+ semantic: {
2103
+ info: "rgba(52, 150, 200, 1)",
2104
+ success: "rgba(34, 195, 195, 1)",
2105
+ warning: "rgba(242, 185, 0, 1)",
2106
+ error: "rgba(231, 71, 39, 1)",
2107
+ infoBG: "rgba(52, 150, 200, 0.1)",
2108
+ successBG: "rgba(34, 195, 195, 0.1)",
2109
+ warningBG: "rgba(242, 185, 0, 0.1)",
2110
+ errorBG: "rgba(231, 71, 39, 0.1)"
2111
+ }
2112
+ }
2113
+ };
2114
+ var Ni = {
2115
+ shouldForwardProp: (e) => !e.startsWith("$")
2116
+ };
2117
+ var Me = tt(tl, Ni)(({ $hoverColor: e }) => ({
2118
+ padding: 2,
2119
+ "&.MuiIconButton-root:hover": {
2120
+ backgroundColor: e != null ? e : vn.interaction.defaultHover
2121
+ }
2122
+ }));
2123
+ function Pi({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
2124
+ return /* @__PURE__ */ ce("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ ce("path", {
2125
+ fillRule: "evenodd",
2126
+ clipRule: "evenodd",
2127
+ d: "M13.0503 10.2426L17.2929 6H14.5C14.2239 6 14 5.77614 14 5.5C14 5.22386 14.2239 5 14.5 5H18.5C18.7761 5 19 5.22386 19 5.5V9.5C19 9.77614 18.7761 10 18.5 10C18.2239 10 18 9.77614 18 9.5V6.70711L13.7574 10.9497C13.5621 11.145 13.2455 11.145 13.0503 10.9497C12.855 10.7545 12.855 10.4379 13.0503 10.2426ZM10.1464 13.1464L6 17.2929V14.5C6 14.2239 5.77614 14 5.5 14C5.22386 14 5 14.2239 5 14.5V18.5C5 18.7761 5.22386 19 5.5 19H9.5C9.77614 19 10 18.7761 10 18.5C10 18.2239 9.77614 18 9.5 18H6.70711L10.8536 13.8536C11.0488 13.6583 11.0488 13.3417 10.8536 13.1464C10.6583 12.9512 10.3417 12.9512 10.1464 13.1464Z",
2128
+ fill: e
2129
+ }) });
2130
+ }
2131
+ function Hi({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
2132
+ return /* @__PURE__ */ ce("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ ce("path", {
2133
+ fillRule: "evenodd",
2134
+ clipRule: "evenodd",
2135
+ d: "M17.25 12C17.25 14.8995 14.8995 17.25 12 17.25C9.10051 17.25 6.75 14.8995 6.75 12C6.75 9.10051 9.10051 6.75 12 6.75C14.8995 6.75 17.25 9.10051 17.25 12ZM18 12C18 15.3137 15.3137 18 12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12ZM11.625 9.375V10.1239H12.375V9.375H11.625ZM12.375 14.6239V10.8739H11.625V14.6239H12.375Z",
2136
+ fill: e
2137
+ }) });
2138
+ }
2139
+ function Bi() {
2140
+ return /* @__PURE__ */ ce("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ ce("path", {
2141
+ fillRule: "evenodd",
2142
+ clipRule: "evenodd",
2143
+ d: "M4.64372 12C4.64372 15.3137 7.33002 18 10.6437 18C12.6857 18 14.4894 16.9799 15.5731 15.4216C15.7307 15.195 16.0347 15.1118 16.2737 15.2498C16.5131 15.3879 16.5964 15.6953 16.4413 15.924C15.1825 17.7803 13.0555 19 10.6437 19C6.77773 19 3.64372 15.866 3.64372 12C3.64372 8.13401 6.77773 5 10.6437 5C13.8766 5 16.5977 7.19162 17.4021 10.1702L18.0347 8.56524C18.1359 8.30833 18.4263 8.18215 18.6832 8.2834C18.9401 8.38466 19.0663 8.67501 18.965 8.93192L17.865 11.723C17.7638 11.9799 17.4734 12.1061 17.2165 12.0048L14.4255 10.9048C14.1685 10.8035 14.0424 10.5132 14.1436 10.2563C14.2449 9.99935 14.5352 9.87317 14.7921 9.97442L16.4897 10.6435C15.8749 7.98316 13.4909 6 10.6437 6C7.33002 6 4.64372 8.68629 4.64372 12Z",
2144
+ fill: "#262E3D",
2145
+ fillOpacity: "0.67"
2146
+ }) });
2147
+ }
2148
+ var gt = (e) => rv(e.chart.backgroundColor);
2149
+ var Fi = ({ title: e }) => {
2150
+ const { themeSettings: t } = Mt();
2151
+ return /* @__PURE__ */ ce($e, { title: e, children: /* @__PURE__ */ ce(Me, { disableTouchRipple: true, $hoverColor: gt(t), children: /* @__PURE__ */ ce(Hi, { fill: t.chart.textColor }) }) });
2152
+ };
2153
+ var Ai = ({ items: e }) => {
2154
+ const [t, n] = import_react.useState(null), r = (l) => {
2155
+ n(l.currentTarget);
2156
+ }, s = () => {
2157
+ n(null);
2158
+ }, { themeSettings: c } = Mt();
2159
+ return /* @__PURE__ */ wi(Gc, { children: [
2160
+ /* @__PURE__ */ ce(Me, {
2161
+ onClick: r,
2162
+ $hoverColor: gt(c),
2163
+ "aria-label": "three dots button",
2164
+ children: /* @__PURE__ */ ce(qEe, { fill: c.chart.textColor })
2165
+ }),
2166
+ /* @__PURE__ */ ce(D1, {
2167
+ anchorEl: t,
2168
+ anchorOrigin: {
2169
+ vertical: "bottom",
2170
+ horizontal: "center"
2171
+ },
2172
+ transformOrigin: {
2173
+ vertical: "top",
2174
+ horizontal: "right"
2175
+ },
2176
+ open: !!t,
2177
+ onClose: s,
2178
+ children: e.map((l) => /* @__PURE__ */ wi(A1, {
2179
+ onClick: () => {
2180
+ l.onClick(), s();
2181
+ },
2182
+ sx: {
2183
+ fontSize: "13px",
2184
+ fontFamily: c.typography.fontFamily,
2185
+ color: vn.text.content
2186
+ },
2187
+ disableRipple: true,
2188
+ children: [
2189
+ l.icon,
2190
+ /* @__PURE__ */ ce("div", { className: "csdk-ml-1", children: l.title })
2191
+ ]
2192
+ }, l.title))
2193
+ })
2194
+ ] });
2195
+ };
2196
+ var Oi = ({ onClick: e }) => {
2197
+ const { themeSettings: t } = Mt(), { t: n } = aa();
2198
+ return /* @__PURE__ */ ce($e, { title: n("ai.preview"), children: /* @__PURE__ */ ce(Me, { onClick: e, $hoverColor: gt(t), children: /* @__PURE__ */ ce(Pi, { fill: t.chart.textColor }) }) });
2199
+ };
2200
+ var Di = tt.div`
2201
+ display: flex;
2202
+ padding-top: 6px;
2203
+ padding-bottom: 6px;
2204
+ `;
2205
+ function qi({
2206
+ infoTooltipText: e,
2207
+ onRefresh: t,
2208
+ onExpand: n
2209
+ }) {
2210
+ const r = import_react.useMemo(() => [
2211
+ {
2212
+ title: "Refresh",
2213
+ onClick: t,
2214
+ icon: /* @__PURE__ */ ce(Bi, {})
2215
+ }
2216
+ ], [t]);
2217
+ return /* @__PURE__ */ wi(Di, { "aria-label": "chatbot chart toolbar", children: [
2218
+ /* @__PURE__ */ ce(Fi, { title: e != null ? e : "" }),
2219
+ /* @__PURE__ */ ce(Ai, { items: r }),
2220
+ /* @__PURE__ */ ce(Oi, { onClick: n })
2221
+ ] });
2222
+ }
2223
+ function zi({ content: e }) {
2224
+ const [t, n] = import_react.useState(false), { themeSettings: r } = Mt(), { inlineElement: s, expandedElement: c } = import_react.useMemo(() => {
2225
+ const l = Dt2(e, { useCustomizedStyleOptions: true });
2226
+ if (l === undefined || !yn(l))
2227
+ throw new Dt("errors.otherWidgetTypesNotSupported");
2228
+ const { detailedDescription: h } = e, { styleOptions: d } = l, g = {
2229
+ cornerRadius: "Small",
2230
+ header: {
2231
+ renderToolbar: (i) => /* @__PURE__ */ ce(qi, {
2232
+ infoTooltipText: h,
2233
+ onRefresh: i,
2234
+ onExpand: () => n(true)
2235
+ })
2236
+ }
2237
+ };
2238
+ let m, x;
2239
+ if (em(l.chartType))
2240
+ m = /* @__PURE__ */ ce("div", { className: "csdk-h-[245px]", children: /* @__PURE__ */ ce(nke, L($({}, l), { styleOptions: g })) }), x = /* @__PURE__ */ ce(nke, L($({}, l), { styleOptions: { header: { hidden: true } } }));
2241
+ else {
2242
+ const i = L($({}, d), {
2243
+ header: { hidden: true }
2244
+ }), u = $(L($({}, d), {
2245
+ legend: undefined,
2246
+ xAxis: undefined,
2247
+ yAxis: undefined
2248
+ }), g);
2249
+ delete u.legend, delete u.xAxis, delete u.yAxis, m = /* @__PURE__ */ ce("div", { children: /* @__PURE__ */ ce(nke, L($({}, l), { styleOptions: u })) }), x = /* @__PURE__ */ ce(nke, L($({}, l), {
2250
+ styleOptions: $({ cornerRadius: "None" }, i)
2251
+ }));
2252
+ }
2253
+ return { inlineElement: m, expandedElement: x };
2254
+ }, [e]);
2255
+ return /* @__PURE__ */ wi(Gc, { children: [
2256
+ s,
2257
+ /* @__PURE__ */ wi(xn, {
2258
+ open: t,
2259
+ onClose: () => n(false),
2260
+ maxWidth: "xl",
2261
+ fullWidth: true,
2262
+ PaperProps: {
2263
+ sx: {
2264
+ backgroundColor: r.chart.backgroundColor,
2265
+ color: r.aiChat.primaryTextColor
2266
+ }
2267
+ },
2268
+ children: [
2269
+ /* @__PURE__ */ wi("div", { className: "csdk-flex csdk-items-center csdk-justify-between csdk-mt-[16px] csdk-mx-[16px] csdk-pl-[20px]", children: [
2270
+ /* @__PURE__ */ ce("div", { className: "csdk-text-ai-lg csdk-semibold", children: e.queryTitle }),
2271
+ /* @__PURE__ */ ce(tl, { onClick: () => n(false), "aria-label": "close expanded chart", children: /* @__PURE__ */ ce(Ii, { fillColor: r.aiChat.primaryTextColor }) })
2272
+ ] }),
2273
+ /* @__PURE__ */ ce("div", { className: "csdk-h-screen csdk-mt-[8px] csdk-mb-[24px] csdk-mx-[16px]", children: c })
2274
+ ]
2275
+ })
2276
+ ] });
2277
+ }
2278
+ function Wi({ theme: e }) {
2279
+ return /* @__PURE__ */ ce("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ ce("path", {
2280
+ fillRule: "evenodd",
2281
+ clipRule: "evenodd",
2282
+ d: "M18.5798 9.61098C18.8749 9.98744 19.0165 10.391 18.9985 10.8066C18.9804 11.2643 18.7757 11.6227 18.607 11.8426C18.8027 12.3305 18.878 13.0984 18.2245 13.6947C17.7456 14.1315 16.9325 14.3273 15.806 14.2732C15.014 14.237 14.3513 14.0893 14.3243 14.0833H14.3213C14.1708 14.0562 14.011 14.0231 13.8484 13.9869C13.8363 14.1797 13.8696 14.6585 14.2249 15.7367C14.6465 17.0196 14.6225 18.0016 14.1466 18.6581C13.6466 19.3478 12.8485 19.4019 12.6136 19.4019C12.3877 19.4019 12.1799 19.3086 12.0324 19.137C11.6981 18.7484 11.7373 18.0317 11.7793 17.7004C11.3818 16.6342 10.2676 14.02 9.32479 13.2943C9.30668 13.2822 9.2917 13.2671 9.27671 13.2521C8.99949 12.9599 8.81287 12.6437 8.68642 12.3667C8.50861 12.463 8.30687 12.5173 8.08995 12.5173H6.25291C5.56014 12.5173 5 11.954 5 11.2643L5 6.37029C5 5.67764 5.56323 5.11738 6.25291 5.11738H8.08995C8.35803 5.11738 8.60804 5.20179 8.81287 5.34635L9.52051 5.26191C9.62905 5.24692 11.5565 5.00297 13.5352 5.04209C13.8935 5.01502 14.2309 5 14.5441 5C15.0832 5 15.5531 5.04209 15.9445 5.12649C16.8661 5.32222 17.4957 5.71366 17.8148 6.28898C18.0588 6.72865 18.0588 7.16543 18.0197 7.44247C18.6191 7.98454 18.7244 8.58394 18.7033 9.00555C18.6913 9.2495 18.637 9.4573 18.5798 9.61098ZM6.25291 5.93058C6.00896 5.93058 5.81324 6.12939 5.81324 6.37029V11.2674C5.81324 11.5112 6.0119 11.7071 6.25291 11.7071H8.08995C8.33393 11.7071 8.52981 11.5083 8.52981 11.2674V6.37338C8.52981 6.12939 8.33096 5.93352 8.08995 5.93352H6.25291V5.93058ZM17.8088 9.96331C17.6823 9.83083 17.6582 9.6289 17.7547 9.47229C17.7547 9.46935 17.878 9.25849 17.8932 8.96937C17.9142 8.5748 17.7245 8.22555 17.327 7.92731C17.1854 7.81893 17.1282 7.63217 17.1885 7.46351C17.1885 7.46057 17.3179 7.06291 17.1072 6.68645C16.9052 6.32516 16.4566 6.06619 15.7759 5.92162C15.2309 5.80413 14.4899 5.78293 13.5805 5.85529H13.5383C11.6017 5.81309 9.64403 6.06619 9.62302 6.06912H9.61994L9.31583 6.1053C9.3339 6.18955 9.34286 6.27998 9.34286 6.37029V11.2674C9.34286 11.3968 9.32185 11.5233 9.28567 11.6408C9.33992 11.8425 9.49051 12.2914 9.84582 12.6739C11.1982 13.7461 12.5203 17.3631 12.5775 17.5197C12.6017 17.583 12.6075 17.6521 12.5956 17.7214C12.5443 18.0587 12.5624 18.4715 12.6347 18.5949C12.7943 18.5919 13.225 18.5467 13.484 18.1883C13.7912 17.7636 13.7791 17.0046 13.4478 15.9988C12.9419 14.4657 12.8997 13.6587 13.3003 13.3033C13.4991 13.1256 13.7641 13.1165 13.9569 13.1858C14.1406 13.228 14.3153 13.2641 14.4809 13.2912C14.4929 13.2943 14.508 13.2973 14.52 13.3003C15.4447 13.5021 17.1011 13.6255 17.6763 13.1015C18.1642 12.6558 17.8179 12.0655 17.7788 12.0022C17.6673 11.8336 17.7004 11.6137 17.851 11.4782C17.854 11.4752 18.1702 11.177 18.1852 10.7764C18.1973 10.5085 18.0708 10.2343 17.8088 9.96331Z",
2283
+ fill: e.aiChat.icons.color
2284
+ }) });
2285
+ }
2286
+ function Zi({ onClick: e, disabled: t }) {
2287
+ const { themeSettings: n } = Mt(), { t: r } = aa();
2288
+ return /* @__PURE__ */ ce($e, { title: r("ai.buttons.incorrectResponse"), children: /* @__PURE__ */ ce(Me, {
2289
+ "aria-label": "thumbs-down",
2290
+ onClick: e,
2291
+ $hoverColor: n.aiChat.icons.feedbackIcons.hoverColor,
2292
+ disabled: t,
2293
+ children: /* @__PURE__ */ ce(Wi, { theme: n })
2294
+ }) });
2295
+ }
2296
+ function ji({ theme: e }) {
2297
+ return /* @__PURE__ */ ce("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ ce("path", {
2298
+ fillRule: "evenodd",
2299
+ clipRule: "evenodd",
2300
+ d: "M18.5798 14.7911C18.8749 14.4146 19.0165 14.011 18.9985 13.5954C18.9804 13.1377 18.7757 12.7793 18.607 12.5595C18.8027 12.0715 18.878 11.3036 18.2245 10.7073C17.7456 10.2705 16.9325 10.0748 15.806 10.1289C15.014 10.1651 14.3513 10.3127 14.3243 10.3187H14.3213C14.1708 10.3458 14.011 10.3789 13.8484 10.4151C13.8363 10.2223 13.8696 9.74345 14.2248 8.66522C14.6465 7.38231 14.6225 6.40041 14.1466 5.74397C13.6466 5.05425 12.8485 5 12.6136 5C12.3877 5 12.1799 5.09336 12.0324 5.26499C11.6981 5.6535 11.7373 6.37026 11.7793 6.70158C11.3818 7.76777 10.2676 10.382 9.32479 11.1077C9.30668 11.1198 9.2917 11.1349 9.27671 11.1499C8.99949 11.4421 8.81287 11.7583 8.68642 12.0353C8.50861 11.939 8.30687 11.8848 8.08995 11.8848H6.25291C5.56014 11.8848 5 12.448 5 13.1377V18.0318C5 18.7244 5.56323 19.2847 6.25291 19.2847H8.08995C8.35803 19.2847 8.60804 19.2003 8.81287 19.0557L9.52051 19.1401C9.62905 19.1551 11.5565 19.3991 13.5352 19.36C13.8935 19.387 14.2309 19.402 14.5441 19.402C15.0832 19.402 15.5531 19.36 15.9445 19.2756C16.8661 19.0798 17.4957 18.6884 17.8148 18.1131C18.0588 17.6734 18.0588 17.2366 18.0197 16.9596C18.6191 16.4175 18.7244 15.8181 18.7033 15.3965C18.6913 15.1525 18.637 14.9447 18.5798 14.7911ZM6.25291 18.4715C6.00896 18.4715 5.81324 18.2727 5.81324 18.0318V13.1346C5.81324 12.8908 6.0119 12.6949 6.25291 12.6949H8.08995C8.33393 12.6949 8.52981 12.8937 8.52981 13.1346V18.0287C8.52981 18.2727 8.33096 18.4685 8.08995 18.4685H6.25291V18.4715ZM17.8088 14.4387C17.6823 14.5712 17.6582 14.7731 17.7547 14.9298C17.7547 14.9327 17.878 15.1436 17.8932 15.4327C17.9142 15.8272 17.7245 16.1765 17.327 16.4747C17.1854 16.5831 17.1282 16.7699 17.1885 16.9385C17.1885 16.9415 17.3179 17.3391 17.1072 17.7156C16.9052 18.0769 16.4566 18.3359 15.7759 18.4804C15.2309 18.5979 14.4898 18.6191 13.5805 18.5468H13.5383C11.6017 18.589 9.64403 18.3359 9.62302 18.3329H9.61994L9.31583 18.2967C9.3339 18.2125 9.34286 18.1221 9.34286 18.0318V13.1346C9.34286 13.0052 9.32185 12.8787 9.28567 12.7612C9.33992 12.5595 9.49051 12.1106 9.84582 11.7281C11.1981 10.6559 12.5203 7.03893 12.5775 6.88232C12.6016 6.81908 12.6075 6.74981 12.5956 6.68058C12.5443 6.34323 12.5624 5.93058 12.6347 5.80718C12.7943 5.81015 13.225 5.85529 13.484 6.21365C13.7912 6.63837 13.7791 7.39733 13.4478 8.40316C12.9419 9.93624 12.8997 10.7433 13.3003 11.0987C13.4991 11.2764 13.7641 11.2855 13.9569 11.2162C14.1406 11.174 14.3153 11.1378 14.4809 11.1108C14.4929 11.1077 14.508 11.1048 14.52 11.1017C15.4447 10.8999 17.1011 10.7765 17.6763 11.3005C18.1642 11.7462 17.8179 12.3365 17.7788 12.3998C17.6673 12.5684 17.7004 12.7883 17.851 12.9238C17.854 12.9268 18.1702 13.225 18.1852 13.6256C18.1973 13.8935 18.0708 14.1677 17.8088 14.4387Z",
2301
+ fill: e.aiChat.icons.color
2302
+ }) });
2303
+ }
2304
+ function Ui({ onClick: e, disabled: t }) {
2305
+ const { themeSettings: n } = Mt(), { t: r } = aa();
2306
+ return /* @__PURE__ */ ce($e, { title: r("ai.buttons.correctResponse"), children: /* @__PURE__ */ ce(Me, {
2307
+ "aria-label": "thumbs-up",
2308
+ onClick: e,
2309
+ $hoverColor: n.aiChat.icons.feedbackIcons.hoverColor,
2310
+ disabled: t,
2311
+ children: /* @__PURE__ */ ce(ji, { theme: n })
2312
+ }) });
2313
+ }
2314
+ var Gi = tt.div`
2315
+ display: flex;
2316
+ flex-direction: column;
2317
+ row-gap: ${({ theme: e }) => e.aiChat.body.gapBetweenMessages};
2318
+ `;
2319
+ function Vi({ visible: e, onSend: t }) {
2320
+ const [n, r] = import_react.useState(false), s = import_react.useCallback((l) => {
2321
+ r(true), t(l === "up" ? 1 : -1);
2322
+ }, [t]), c = `csdk-transition-opacity csdk-delay-150 csdk-duration-500 ${n ? "csdk-opacity-0" : "csdk-opacity-100"}`;
2323
+ return e ? /* @__PURE__ */ wi("div", { className: `csdk-flex csdk-items-center ${c}`, children: [
2324
+ /* @__PURE__ */ ce(Ui, { onClick: () => s("up"), disabled: n }),
2325
+ /* @__PURE__ */ ce(Zi, { onClick: () => s("down"), disabled: n })
2326
+ ] }) : null;
2327
+ }
2328
+ function et({
2329
+ sourceId: e,
2330
+ data: t,
2331
+ type: n,
2332
+ buttonVisibility: r = "onHover",
2333
+ renderContent: s
2334
+ }) {
2335
+ const c = te(), l = a3e(import_react.useCallback((x) => {
2336
+ c && c.ai.sendFeedback({
2337
+ sourceId: e,
2338
+ type: n,
2339
+ data: t,
2340
+ rating: x
2341
+ });
2342
+ }, [c, e, t, n]), 200), [h, d] = fke(), g = import_react.useMemo(() => r === "onHover" ? d : r !== "never", [d, r]), { themeSettings: m } = Mt();
2343
+ return /* @__PURE__ */ ce(Gi, { ref: h, theme: m, children: s(/* @__PURE__ */ ce(Vi, { onSend: l, visible: g })) });
2344
+ }
2345
+ var Qi = 18;
2346
+ var _i = 5;
2347
+ var Et = Qi * _i;
2348
+ function ft({ text: e }) {
2349
+ const [t, n] = import_react.useState(true), [r, s] = import_react.useState(false), { t: c } = aa(), l = import_react.useRef(null);
2350
+ return import_react.useLayoutEffect(() => {
2351
+ l.current && s(l.current.scrollHeight > Et);
2352
+ }, [e]), /* @__PURE__ */ wi("div", { className: "csdk-min-w-0 csdk-flex-1", children: [
2353
+ /* @__PURE__ */ ce("div", {
2354
+ ref: l,
2355
+ className: `csdk-whitespace-pre-wrap ${t ? "csdk-overflow-hidden" : ""}`,
2356
+ style: t ? { maxHeight: Et } : undefined,
2357
+ children: e
2358
+ }),
2359
+ r && /* @__PURE__ */ ce("div", { className: "csdk-mt-3 csdk-flex csdk-justify-end", children: /* @__PURE__ */ ce("div", {
2360
+ className: "csdk-text-ai-xs csdk-text-text-link csdk-cursor-pointer",
2361
+ onClick: () => n((h) => !h),
2362
+ children: c(t ? "ai.buttons.readMore" : "ai.buttons.collapse")
2363
+ }) })
2364
+ ] });
2365
+ }
2366
+ function Ki({ nlgRequest: e }) {
2367
+ const { data: t, isLoading: n, isError: r } = De(e), { t: s } = aa();
2368
+ return n ? /* @__PURE__ */ ce(ut, {}) : r ? /* @__PURE__ */ ce(ae, { align: "left", children: s("ai.errors.unexpected") }) : /* @__PURE__ */ ce(ae, { align: "full", children: /* @__PURE__ */ ce(ft, { text: t != null ? t : s("ai.errors.insightsNotAvailable") }) });
2369
+ }
2370
+ var It = tt.div`
2371
+ display: flex;
2372
+ align-items: center;
2373
+ column-gap: 10px;
2374
+ `;
2375
+ var Xi = (e) => !!e && "aeiou".includes(e[0]);
2376
+ function Yi({ data: e, alwaysShowFeedback: t }) {
2377
+ const { chatMode: n = "analyze", enableInsights: r } = ne(), { themeSettings: s } = Mt(), { queryTitle: c, chartRecommendations: l, jaql: h, userMsg: d, clarification: g = "" } = e;
2378
+ console.debug(`JAQL for ${c}`, h), console.debug(`chart recommendations for ${c}`, l);
2379
+ const m = "chartType" in l ? l.chartType : "table";
2380
+ let x;
2381
+ Xi(m) ? x = `an ${m}` : x = `a ${m}`, m !== "table" && (x += " chart");
2382
+ const i = h.datasource.title, [u, a] = import_react.useState(false), f = import_react.useCallback(() => {
2383
+ a((k) => !k);
2384
+ }, []), p = {
2385
+ jaql: {
2386
+ datasource: h.datasource,
2387
+ metadata: h.metadata
2388
+ }
2389
+ }, b = n === "analyze", v = `${d}${d && g ? `
2390
+ ` : ""}${g}`;
2391
+ return /* @__PURE__ */ wi(Gc, { children: [
2392
+ /* @__PURE__ */ ce(et, {
2393
+ sourceId: i,
2394
+ data: e,
2395
+ type: "chats/nlq",
2396
+ buttonVisibility: t ? "always" : "onHover",
2397
+ renderContent: (k) => /* @__PURE__ */ wi(Gc, { children: [
2398
+ /* @__PURE__ */ wi(It, { children: [
2399
+ /* @__PURE__ */ ce(bn, { align: "left", theme: s, children: v || `Here's ${x} showing ${ki(c)}.` }),
2400
+ k
2401
+ ] }),
2402
+ b && /* @__PURE__ */ ce(zi, { content: e })
2403
+ ] })
2404
+ }),
2405
+ r && /* @__PURE__ */ ce(et, {
2406
+ sourceId: i,
2407
+ data: p,
2408
+ type: "nlg/queryResult",
2409
+ buttonVisibility: u ? "onHover" : "never",
2410
+ renderContent: (k) => /* @__PURE__ */ wi(Gc, { children: [
2411
+ /* @__PURE__ */ wi(It, { children: [
2412
+ /* @__PURE__ */ ce(Si, { onClick: f }),
2413
+ k
2414
+ ] }),
2415
+ u && /* @__PURE__ */ ce(Ki, { nlgRequest: p })
2416
+ ] })
2417
+ })
2418
+ ] });
2419
+ }
2420
+ function Ji({ message: e, isLastMessage: t }) {
2421
+ if (dt(e)) {
2422
+ const r = JSON.parse(e.content);
2423
+ return /* @__PURE__ */ ce(Yi, { data: r, alwaysShowFeedback: t });
2424
+ }
2425
+ const n = Nr(e) ? JSON.parse(e.content).answer : e.content;
2426
+ return /* @__PURE__ */ ce(ae, { align: e.role === "user" ? "right" : "left", children: n });
2427
+ }
2428
+ var e1 = import_react.memo(Ji);
2429
+ var t1 = ({
2430
+ error: e,
2431
+ displayMessage: t
2432
+ }) => (console.debug("Unexpected error occurred when resolving a chat message:", e), /* @__PURE__ */ ce(ae, { align: "left", children: t }));
2433
+ function n1({ messages: e }) {
2434
+ const { t } = aa();
2435
+ return /* @__PURE__ */ ce(Gc, { children: e.map((n, r) => /* @__PURE__ */ ce(xT, {
2436
+ fallbackRender: (s) => t1(L($({}, s), {
2437
+ displayMessage: t("ai.errors.unexpected")
2438
+ })),
2439
+ children: /* @__PURE__ */ ce(e1, { message: n, isLastMessage: r === e.length - 1 }, r)
2440
+ }, r)) });
2441
+ }
2442
+ function kn({ color: e }) {
2443
+ return /* @__PURE__ */ ce("svg", {
2444
+ width: "100%",
2445
+ height: "100%",
2446
+ viewBox: "0 0 4 8",
2447
+ fill: "none",
2448
+ xmlns: "http://www.w3.org/2000/svg",
2449
+ children: /* @__PURE__ */ ce("path", {
2450
+ 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",
2451
+ fill: e
2452
+ })
2453
+ });
2454
+ }
2455
+ function r1({ onClick: e, color: t }) {
2456
+ return /* @__PURE__ */ ce("div", {
2457
+ "aria-label": "go back",
2458
+ className: "csdk-w-5 csdk-h-5 csdk-flex csdk-p-[4px] csdk-ml-[6px] csdk-cursor-pointer",
2459
+ onClick: e,
2460
+ children: /* @__PURE__ */ ce(kn, { color: t })
2461
+ });
2462
+ }
2463
+ function o12() {
2464
+ const { themeSettings: e } = Mt();
2465
+ return /* @__PURE__ */ ce("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ ce("path", {
2466
+ fillRule: "evenodd",
2467
+ clipRule: "evenodd",
2468
+ d: "M15.1747 9.1203L12 11.8401L8.82529 9.1203C8.61558 8.94064 8.29994 8.965 8.12028 9.17471C7.94062 9.38442 7.96498 9.70006 8.17469 9.87972L11.6747 12.8782C11.8619 13.0385 12.1381 13.0385 12.3253 12.8782L15.8253 9.87972C16.035 9.70006 16.0594 9.38442 15.8797 9.17471C15.7 8.965 15.3844 8.94064 15.1747 9.1203ZM15.8797 12.1731C15.7 11.9634 15.3844 11.9391 15.1747 12.1187L12 14.8385L8.82529 12.1187C8.61558 11.9391 8.29994 11.9634 8.12028 12.1731C7.94062 12.3829 7.96498 12.6985 8.17469 12.8782L11.6747 15.8766C11.8619 16.037 12.1381 16.037 12.3253 15.8766L15.8253 12.8782C16.035 12.6985 16.0594 12.3829 15.8797 12.1731Z",
2469
+ fill: e.aiChat.primaryTextColor
2470
+ }) });
2471
+ }
2472
+ var i1 = (e, t) => {
2473
+ const n = new ie(e);
2474
+ return n.alpha = t, n;
2475
+ };
2476
+ var s1 = tt.div`
2477
+ font-size: inherit;
2478
+ line-height: inherit;
2479
+ padding-left: 8px;
2480
+ padding-right: 8px;
2481
+ padding-top: 4px;
2482
+ border-radius: 16px;
2483
+ margin-bottom: 4px;
2484
+ box-shadow: ${({ theme: e }) => `0 4px 8px 0 ${i1(e.aiChat.primaryTextColor, 0.2)}`};
2485
+ cursor: pointer;
2486
+ color: ${({ theme: e }) => e.aiChat.clickableMessages.textColor};
2487
+ background-color: ${({ theme: e }) => e.aiChat.clickableMessages.backgroundColor};
2488
+
2489
+ &:hover {
2490
+ color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.textColor};
2491
+ background-color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.backgroundColor};
2492
+ box-shadow: none;
2493
+ `;
2494
+ var a1 = ({ onClick: e }) => {
2495
+ const { themeSettings: t } = Mt();
2496
+ return /* @__PURE__ */ ce(s1, { theme: t, onClick: e, children: /* @__PURE__ */ ce(o12, {}) });
2497
+ };
2498
+ var l12 = ({ isVisible: e, onClick: t, anchorElement: n }) => /* @__PURE__ */ ce(vp, { anchorEl: n, open: e, placement: "top", sx: { zIndex: 2 }, children: /* @__PURE__ */ ce(a1, { onClick: t }) });
2499
+ var c1 = tt.button`
2500
+ font-size: inherit;
2501
+ line-height: inherit;
2502
+ box-sizing: border-box;
2503
+ border-width: 1px;
2504
+ padding-left: 1rem;
2505
+ padding-right: 1rem;
2506
+ padding-top: 0.5rem;
2507
+ padding-bottom: 0.5rem;
2508
+ cursor: pointer;
2509
+ text-align: left;
2510
+ max-width: 85%;
2511
+
2512
+ font-family: ${({ theme: e }) => e.typography.fontFamily};
2513
+ color: ${({ theme: e }) => e.aiChat.suggestions.textColor};
2514
+ background-color: ${({ theme: e }) => e.aiChat.suggestions.backgroundColor};
2515
+ border: ${({ theme: e }) => e.aiChat.suggestions.border};
2516
+ border-radius: ${({ theme: e }) => e.aiChat.suggestions.borderRadius};
2517
+ &:hover {
2518
+ background-color: ${({ theme: e }) => e.aiChat.suggestions.hover.backgroundColor};
2519
+ color: ${({ theme: e }) => e.aiChat.suggestions.hover.textColor};
2520
+ }
2521
+
2522
+ ${({ theme: e }) => {
2523
+ const { borderGradient: t, borderRadius: n } = e.aiChat.suggestions;
2524
+ if (t) {
2525
+ const [r, s] = t;
2526
+ return o1`
2527
+ border: none;
2528
+ position: relative;
2529
+ border-radius: ${n};
2530
+ &:before {
2531
+ content: '';
2532
+ position: absolute;
2533
+ top: 0;
2534
+ left: 0;
2535
+ right: 0;
2536
+ bottom: 0;
2537
+ border-radius: ${n};
2538
+ border: 1px solid transparent;
2539
+ background: linear-gradient(30deg, ${r}, ${s}) border-box;
2540
+ -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
2541
+ -webkit-mask-composite: destination-out;
2542
+ mask-composite: exclude;
2543
+ }
2544
+ `;
2545
+ }
2546
+ return "";
2547
+ }}
2548
+ `;
2549
+ function Nt2({ question: e, onClick: t }) {
2550
+ const { themeSettings: n } = Mt();
2551
+ return /* @__PURE__ */ ce(c1, { onClick: t, theme: n, children: e });
2552
+ }
2553
+ var d1 = tt.div`
2554
+ display: flex;
2555
+ flex-direction: column;
2556
+ align-items: flex-start;
2557
+ row-gap: ${({ theme: e }) => e.aiChat.suggestions.gap};
2558
+ `;
2559
+ function u1({ questions: e, onSelection: t }) {
2560
+ const { t: n } = aa(), [r, s] = import_react.useState(true), c = import_react.useMemo(() => r && e.length > 5 ? e.slice(0, 4) : e, [e, r]), { themeSettings: l } = Mt();
2561
+ return /* @__PURE__ */ wi(d1, { "aria-label": "list of suggested questions", theme: l, children: [
2562
+ c.map((h) => /* @__PURE__ */ ce(Nt2, { question: h, onClick: () => t(h) }, h)),
2563
+ c.length < e.length && /* @__PURE__ */ ce(Nt2, { question: n("ai.buttons.seeMore"), onClick: () => s(false) })
2564
+ ] });
2565
+ }
2566
+ var h1 = tt.div`
2567
+ width: 283px;
2568
+ height: 32px;
2569
+ border-radius: 10px;
2570
+ background: ${({ theme: e }) => {
2571
+ const [t, n] = e.aiChat.suggestions.loadingGradient;
2572
+ return `linear-gradient(
2573
+ to right,
2574
+ ${t} 0%,
2575
+ ${n} 50%,
2576
+ ${t} 100%
2577
+ )`;
2578
+ }};
2579
+ background-size: 200% auto;
2580
+ animation: gradient 2s linear infinite;
2581
+
2582
+ @keyframes gradient {
2583
+ 0% {
2584
+ background-position: 0 0;
2585
+ }
2586
+ 100% {
2587
+ background-position: -200% 0;
2588
+ }
2589
+ }
2590
+ `;
2591
+ var p1 = tt.div`
2592
+ display: flex;
2593
+ flex-direction: column;
2594
+ row-gap: 1rem;
2595
+ `;
2596
+ function g1() {
2597
+ const { themeSettings: e } = Mt();
2598
+ return /* @__PURE__ */ ce(p1, { children: Array.from({ length: 3 }, (t, n) => /* @__PURE__ */ ce(h1, { theme: e }, n)) });
2599
+ }
2600
+ function f1({ questions: e, isLoading: t, onSelection: n }) {
2601
+ const r = e.length > 0, { suggestionsWelcomeText: s } = ne();
2602
+ return t ? /* @__PURE__ */ ce(g1, {}) : r ? /* @__PURE__ */ wi(Gc, { children: [
2603
+ s && /* @__PURE__ */ ce(ae, { align: "left", children: s }),
2604
+ /* @__PURE__ */ ce(u1, { onSelection: n, questions: e })
2605
+ ] }) : null;
2606
+ }
2607
+ var C1 = tt.div`
2608
+ display: flex;
2609
+ flex-direction: column;
2610
+ row-gap: ${({ theme: e }) => e.aiChat.body.gapBetweenMessages};
2611
+ overflow-y: scroll;
2612
+ padding-left: ${({ theme: e }) => e.aiChat.body.paddingLeft};
2613
+ padding-right: ${({ theme: e }) => e.aiChat.body.paddingRight};
2614
+ padding-top: ${({ theme: e }) => e.aiChat.body.paddingTop};
2615
+ padding-bottom: ${({ theme: e }) => e.aiChat.body.paddingBottom};
2616
+ flex: initial;
2617
+ height: 100%;
2618
+ `;
2619
+ var m1 = tt.div`
2620
+ padding-left: ${({ theme: e }) => e.aiChat.footer.paddingLeft};
2621
+ padding-right: ${({ theme: e }) => e.aiChat.footer.paddingRight};
2622
+ padding-top: ${({ theme: e }) => e.aiChat.footer.paddingTop};
2623
+ padding-bottom: ${({ theme: e }) => e.aiChat.footer.paddingBottom};
2624
+ display: flex;
2625
+ flex-direction: column;
2626
+ row-gap: 6px;
2627
+ `;
2628
+ var b1 = tt.div`
2629
+ display: flex;
2630
+ flex-direction: column;
2631
+ row-gap: ${({ theme: e }) => e.aiChat.suggestions.gap};
2632
+ `;
2633
+ function y1({ contextTitle: e, onGoBack: t, contextDetails: n }) {
2634
+ var de, oe, Te, Re;
2635
+ const { t: r } = aa(), {
2636
+ enableFollowupQuestions: s,
2637
+ enableHeader: c,
2638
+ numOfRecentPrompts: l,
2639
+ numOfRecommendations: h,
2640
+ customPrompt: d
2641
+ } = ne(), { themeSettings: g } = Mt(), { quotaState: m } = KAe(), {
2642
+ data: x,
2643
+ isLoading: i,
2644
+ isError: u
2645
+ } = Vt({
2646
+ contextTitle: e,
2647
+ count: h,
2648
+ customPrompt: d
2649
+ }), a = import_react.useMemo(() => x == null ? undefined : x.map((H) => H.nlqPrompt), [x]), {
2650
+ history: f,
2651
+ lastNlqResponse: p,
2652
+ isAwaitingResponse: b,
2653
+ sendMessage: v,
2654
+ isLoading: k,
2655
+ chatId: E,
2656
+ lastError: T
2657
+ } = Pr(e, n), M = b || k || ((de = m == null ? undefined : m.isExceeded) != null ? de : false), { mutate: I, isLoading: B } = Kt(E), [le, V] = import_react.useState(false), [Z, Q] = import_react.useState(false), _2 = () => V(true), q = () => V(false), J = () => {
2658
+ I(), q();
2659
+ }, P = import_react.useRef(null), U = import_react.useRef(null), W = () => {
2660
+ if (!(P != null && P.current))
2661
+ return;
2662
+ const { scrollTop: H, clientHeight: K, scrollHeight: Le2 } = P.current;
2663
+ if (H === undefined || K === undefined || Le2 === undefined)
2664
+ return;
2665
+ const Ee = Le2 - H - K > K / 2;
2666
+ Z !== Ee && Q(Ee);
2667
+ };
2668
+ import_react.useLayoutEffect(() => {
2669
+ P.current && (P.current.scrollTop = P.current.scrollHeight);
2670
+ }, [f, le, b]);
2671
+ const G = import_react.useRef(null), re = c ? /* @__PURE__ */ ce(Jt, {
2672
+ ref: G,
2673
+ title: e,
2674
+ leftNav: t && /* @__PURE__ */ ce(r1, { onClick: t, color: g.aiChat.header.textColor }),
2675
+ style: g.aiChat.header
2676
+ }) : null, fe = import_react.useMemo(() => [
2677
+ ...new Set(f.filter((H) => H.role === "user").filter((H) => !(a != null && a.includes(H.content))).map((H) => H.content).reverse())
2678
+ ].slice(0, l), [f, l, a]);
2679
+ return (T == null ? undefined : T.message) === r("ai.errors.chatUnavailable") ? /* @__PURE__ */ wi(Gc, { children: [
2680
+ c && re,
2681
+ /* @__PURE__ */ ce(Yt, { text: T.message })
2682
+ ] }) : /* @__PURE__ */ wi(Gc, { children: [
2683
+ re,
2684
+ /* @__PURE__ */ ce(lke, {}),
2685
+ /* @__PURE__ */ wi(C1, { ref: P, theme: g, onScroll: W, children: [
2686
+ /* @__PURE__ */ ce(l12, {
2687
+ isVisible: Z,
2688
+ anchorElement: U.current,
2689
+ onClick: () => {
2690
+ var H, K;
2691
+ (K = P.current) == null || K.scroll({
2692
+ top: (H = P.current) == null ? undefined : H.scrollHeight,
2693
+ behavior: "smooth"
2694
+ });
2695
+ }
2696
+ }),
2697
+ /* @__PURE__ */ ce(bi, {}),
2698
+ /* @__PURE__ */ ce(f1, {
2699
+ questions: a || [],
2700
+ isLoading: i,
2701
+ onSelection: v
2702
+ }),
2703
+ T && /* @__PURE__ */ ce(ae, { align: "left", children: T.message }),
2704
+ k ? /* @__PURE__ */ ce(qe, {}) : /* @__PURE__ */ ce(n1, { messages: f }),
2705
+ s && p && ((Te = (oe = p.followupQuestions) == null ? undefined : oe.length) != null ? Te : 0) > 0 && /* @__PURE__ */ ce(b1, { theme: g, children: (Re = p.followupQuestions) == null ? undefined : Re.slice(0, 2).map((H, K) => /* @__PURE__ */ ce(Fe, {
2706
+ align: "left",
2707
+ onClick: () => {
2708
+ v(H);
2709
+ },
2710
+ children: /* @__PURE__ */ ce("div", { className: "csdk-py-[7px] csdk-px-4", children: H })
2711
+ }, K)) }),
2712
+ (b || B) && /* @__PURE__ */ ce(ut, {}),
2713
+ le && /* @__PURE__ */ ce(vi, {
2714
+ onCancel: q,
2715
+ onConfirm: J
2716
+ })
2717
+ ] }),
2718
+ /* @__PURE__ */ wi(m1, { ref: U, theme: g, children: [
2719
+ /* @__PURE__ */ ce(ro, {
2720
+ onSendMessage: v,
2721
+ disabled: M,
2722
+ onClearHistoryClick: _2,
2723
+ suggestions: a || [],
2724
+ recentPrompts: fe,
2725
+ isLoading: i || k,
2726
+ recommendationsError: u,
2727
+ onChange: q
2728
+ }),
2729
+ /* @__PURE__ */ ce(zr, { theme: g })
2730
+ ] })
2731
+ ] });
2732
+ }
2733
+ var x1 = tt.button`
2734
+ font-family: ${({ theme: e }) => e.typography.fontFamily};
2735
+ padding: 20px;
2736
+ border: none;
2737
+ display: flex;
2738
+ align-items: center;
2739
+ justify-content: space-between;
2740
+ text-align: left;
2741
+ border-radius: 15px;
2742
+ box-shadow: 0px 1px 2px rgba(9, 9, 10, 0.1), 0px 2px 4px rgba(9, 9, 10, 0.1);
2743
+ cursor: pointer;
2744
+
2745
+ background-color: ${({ theme: e }) => e.aiChat.dataTopics.items.backgroundColor};
2746
+ `;
2747
+ var v1 = tt.div`
2748
+ font-size: 1.05rem;
2749
+ line-height: 28px;
2750
+
2751
+ color: ${({ theme: e }) => e.aiChat.dataTopics.items.textColor};
2752
+ `;
2753
+ var k12 = tt.div`
2754
+ font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
2755
+ line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
2756
+
2757
+ color: ${({ theme: e }) => rv(e.aiChat.dataTopics.items.textColor, 0, 0.5)};
2758
+ `;
2759
+ var w1 = tt.div`
2760
+ width: 16px;
2761
+ height: 16px;
2762
+ transform: rotate(180deg);
2763
+ `;
2764
+ function S1(e) {
2765
+ const { title: t, description: n, onClick: r } = e, { themeSettings: s } = Mt();
2766
+ return /* @__PURE__ */ wi(x1, { onClick: r, theme: s, children: [
2767
+ /* @__PURE__ */ wi("div", { children: [
2768
+ /* @__PURE__ */ ce(v1, { theme: s, children: t }),
2769
+ /* @__PURE__ */ ce(k12, { theme: s, children: n })
2770
+ ] }),
2771
+ /* @__PURE__ */ ce(w1, { children: /* @__PURE__ */ ce(kn, { color: s.aiChat.icons.color }) })
2772
+ ] });
2773
+ }
2774
+ var $1 = tt.div`
2775
+ padding: 20px;
2776
+ display: flex;
2777
+ flex-direction: column;
2778
+ gap: 20px;
2779
+ overflow: auto;
2780
+ `;
2781
+ var M1 = tt.div`
2782
+ font-size: 24px;
2783
+ line-height: 32px;
2784
+ font-weight: 600;
2785
+ text-align: center;
2786
+ padding-bottom: 4px;
2787
+
2788
+ color: ${({ theme: e }) => e.aiChat.primaryTextColor};
2789
+ `;
2790
+ var T1 = tt.div`
2791
+ font-size: 15px;
2792
+ line-height: 22px;
2793
+
2794
+ color: ${({ theme: e }) => e.aiChat.primaryTextColor};
2795
+ `;
2796
+ function R1(e) {
2797
+ const { dataTopics: t } = e, { themeSettings: n } = Mt(), { t: r } = aa();
2798
+ return /* @__PURE__ */ wi($1, { children: [
2799
+ /* @__PURE__ */ ce(M1, { theme: n, children: r("ai.dataTopics") }),
2800
+ /* @__PURE__ */ wi(T1, { theme: n, children: [
2801
+ r("ai.chatbotDescription"),
2802
+ /* @__PURE__ */ ce("br", {}),
2803
+ /* @__PURE__ */ ce("br", {}),
2804
+ r("ai.topicSelectPrompt")
2805
+ ] }),
2806
+ t.map((s) => /* @__PURE__ */ tw(S1, L($({}, s), { key: s.title })))
2807
+ ] });
2808
+ }
2809
+ var L1 = "#000000";
2810
+ var E1 = "#FFFFFF";
2811
+ function I1({ isDarkBackground: e = false }) {
2812
+ const t = e ? E1 : L1;
2813
+ return /* @__PURE__ */ wi("svg", {
2814
+ width: "32",
2815
+ height: "32",
2816
+ viewBox: "0 0 500 504",
2817
+ fill: "none",
2818
+ xmlns: "http://www.w3.org/2000/svg",
2819
+ children: [
2820
+ /* @__PURE__ */ ce("path", {
2821
+ 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",
2822
+ fill: t
2823
+ }),
2824
+ /* @__PURE__ */ ce("path", {
2825
+ 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",
2826
+ fill: t
2827
+ }),
2828
+ /* @__PURE__ */ ce("path", {
2829
+ 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",
2830
+ fill: t
2831
+ }),
2832
+ /* @__PURE__ */ ce("path", {
2833
+ 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",
2834
+ fill: t
2835
+ }),
2836
+ /* @__PURE__ */ ce("path", {
2837
+ 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",
2838
+ fill: t
2839
+ }),
2840
+ /* @__PURE__ */ ce("path", {
2841
+ 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",
2842
+ fill: t
2843
+ }),
2844
+ /* @__PURE__ */ ce("path", {
2845
+ 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",
2846
+ fill: t
2847
+ }),
2848
+ /* @__PURE__ */ ce("path", {
2849
+ 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",
2850
+ fill: t
2851
+ }),
2852
+ /* @__PURE__ */ ce("path", {
2853
+ 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",
2854
+ fill: t
2855
+ }),
2856
+ /* @__PURE__ */ ce("path", {
2857
+ 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",
2858
+ fill: t
2859
+ }),
2860
+ /* @__PURE__ */ ce("path", {
2861
+ 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",
2862
+ fill: t
2863
+ }),
2864
+ /* @__PURE__ */ ce("path", {
2865
+ 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",
2866
+ fill: t
2867
+ }),
2868
+ /* @__PURE__ */ ce("path", {
2869
+ 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",
2870
+ fill: t
2871
+ }),
2872
+ /* @__PURE__ */ ce("path", {
2873
+ 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",
2874
+ fill: t
2875
+ }),
2876
+ /* @__PURE__ */ ce("path", {
2877
+ 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",
2878
+ fill: t
2879
+ }),
2880
+ /* @__PURE__ */ ce("path", {
2881
+ 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",
2882
+ fill: t
2883
+ })
2884
+ ]
2885
+ });
2886
+ }
2887
+ var N1 = tt.div`
2888
+ margin-left: 14px;
2889
+ margin-top: 3px;
2890
+ `;
2891
+ var P1 = tt.div`
2892
+ display: flex;
2893
+ flex-direction: column;
2894
+ justify-content: top;
2895
+ overflow: hidden;
2896
+ height: 100%;
2897
+
2898
+ background-color: ${({ theme: e }) => e.aiChat.dataTopics.backgroundColor};
2899
+ `;
2900
+ function H1({ dataTopicsList: e, onDataTopicClick: t }) {
2901
+ const { enableHeader: n } = ne(), { themeSettings: r } = Mt(), { t: s } = aa(), c = import_react.useMemo(() => e == null ? undefined : e.map((h) => ({
2902
+ title: h,
2903
+ onClick: () => t(h)
2904
+ })), [e, t]), l = hr(ei(r.aiChat.header.backgroundColor)) > 0.5;
2905
+ return /* @__PURE__ */ wi(Gc, { children: [
2906
+ n ? /* @__PURE__ */ ce(Jt, {
2907
+ title: s("ai.analyticsChatbot"),
2908
+ leftNav: /* @__PURE__ */ ce(N1, { children: /* @__PURE__ */ ce(I1, { isDarkBackground: l }) }),
2909
+ style: r.aiChat.header
2910
+ }) : null,
2911
+ /* @__PURE__ */ wi(P1, { theme: r, children: [
2912
+ !c && /* @__PURE__ */ ce(qe, {}),
2913
+ c && /* @__PURE__ */ ce(R1, { dataTopics: c })
2914
+ ] })
2915
+ ] });
2916
+ }
2917
+ function B1() {
2918
+ const [e, t] = import_react.useState(), [n, r] = import_react.useState(), { data: s, fetchStatus: c } = Tr(), { dataTopicsList: l, contextDetails: h } = ne(), { t: d } = aa(), g = d("ai.errors.noAvailableDataTopics"), m = import_react.useCallback((a) => {
2919
+ a.length ? a.length === 1 && (r(undefined), t(a[0])) : r(g);
2920
+ }, [g]), x = import_react.useMemo(() => {
2921
+ if (s && c === "idle") {
2922
+ const f = (l != null && l.length ? s == null ? undefined : s.filter((p) => l == null ? undefined : l.includes(p.title)) : s).map((p) => p.title);
2923
+ return m(f), f;
2924
+ }
2925
+ return [];
2926
+ }, [s, c, l, m]), i = dAe(), u = import_react.useCallback(() => {
2927
+ r(undefined), i.invalidateQueries(["getDataTopics"]);
2928
+ }, [i]);
2929
+ return n ? /* @__PURE__ */ ce(Yt, {
2930
+ text: n,
2931
+ action: { text: d("ai.buttons.refresh"), onClick: u }
2932
+ }) : x.length === 1 && !e ? /* @__PURE__ */ ce(qe, {}) : e ? /* @__PURE__ */ ce(y1, {
2933
+ contextTitle: e,
2934
+ contextDetails: h,
2935
+ onGoBack: x.length === 1 ? undefined : () => t(undefined)
2936
+ }) : /* @__PURE__ */ ce(H1, {
2937
+ dataTopicsList: x,
2938
+ onDataTopicClick: (a) => t(a)
2939
+ });
2940
+ }
2941
+ var ts = Lf({
2942
+ componentName: "Chatbot"
2943
+ })((e) => {
2944
+ const { width: t, height: n, config: r } = e, { themeSettings: s } = Mt();
2945
+ return /* @__PURE__ */ ce($r, { value: r != null ? r : {}, children: /* @__PURE__ */ ce(Or2, {
2946
+ id: "csdk-chatbot-frame",
2947
+ width: t,
2948
+ height: n,
2949
+ theme: s,
2950
+ tabIndex: 0,
2951
+ children: /* @__PURE__ */ ce(B1, {})
2952
+ }) });
2953
+ });
2954
+ var ns = Lf({
2955
+ componentName: "GetNlgInsights"
2956
+ })(function(t) {
2957
+ const { data: n, isLoading: r, isError: s } = De(t), { t: c } = aa();
2958
+ if (s)
2959
+ return /* @__PURE__ */ ce(Gc, { children: c("ai.errors.unexpected") });
2960
+ const l = n != null ? n : c("ai.errors.insightsNotAvailable");
2961
+ return /* @__PURE__ */ ce(ft, { text: r ? "Loading..." : l });
2962
+ });
2963
+ function F1({ theme: e }) {
2964
+ const t = e.general.brandColor;
2965
+ return /* @__PURE__ */ wi("svg", {
2966
+ xmlns: "http://www.w3.org/2000/svg",
2967
+ width: "24",
2968
+ height: "24",
2969
+ viewBox: "-2 -3 24 24",
2970
+ fill: "none",
2971
+ children: [
2972
+ /* @__PURE__ */ ce("path", {
2973
+ fillRule: "evenodd",
2974
+ clipRule: "evenodd",
2975
+ d: "M12.0533 3.62671e-06C12.0557 -9.45649e-05 12.0577 0.00181346 12.0578 0.00422597C12.1926 3.98958 15.4422 7.18501 19.4491 7.23273C19.4494 7.23273 19.4496 7.23296 19.4496 7.23325C19.4496 7.23356 19.4494 7.23381 19.4491 7.23382C15.3869 7.2822 12.1029 10.5659 12.054 14.628C12.054 14.6283 12.0538 14.6285 12.0535 14.6285C12.0532 14.6285 12.0529 14.6283 12.0529 14.628C12.0047 10.6218 8.80995 7.37281 4.8253 7.23765C4.82287 7.23757 4.82095 7.23552 4.82105 7.2331C4.82114 7.23081 4.82301 7.22897 4.8253 7.2289C8.75488 7.0956 11.9163 3.93392 12.0491 0.004224C12.0492 0.00194873 12.051 9.62326e-05 12.0533 3.62671e-06Z",
2976
+ fill: t
2977
+ }),
2978
+ /* @__PURE__ */ ce("path", {
2979
+ fillRule: "evenodd",
2980
+ clipRule: "evenodd",
2981
+ d: "M9.0973 12.7759C7.1172 12.7236 5.51984 11.1352 5.45331 9.1587C5.45326 9.1573 5.45209 9.1562 5.4507 9.15625C5.44938 9.1563 5.44832 9.15738 5.44828 9.15869C5.38204 11.1266 3.79825 12.7098 1.83009 12.7751C1.82969 12.7752 1.82936 12.7755 1.82935 12.7759C1.82933 12.7763 1.82967 12.7767 1.83009 12.7767C3.8264 12.8429 5.42727 14.4708 5.45019 16.4778C5.45019 16.4781 5.45045 16.4784 5.45077 16.4784C5.45111 16.4784 5.4514 16.4781 5.4514 16.4778C5.47442 14.4622 7.089 12.8289 9.0973 12.7759Z",
2982
+ fill: t
2983
+ }),
2984
+ /* @__PURE__ */ ce("path", {
2985
+ fillRule: "evenodd",
2986
+ clipRule: "evenodd",
2987
+ d: "M2.8778 2.15728C2.87779 2.15701 2.8779 2.15674 2.8781 2.15655C2.87874 2.15591 2.87983 2.15638 2.87981 2.15728C2.87934 2.17566 2.87911 2.1941 2.87911 2.21259C2.87911 3.36434 3.78842 4.30371 4.92829 4.35195C3.78842 4.40019 2.87911 5.33955 2.87911 6.4913C2.87911 6.56284 2.88262 6.63356 2.88947 6.7033C2.89045 6.7133 2.8783 6.71912 2.87119 6.71202C2.86894 6.70976 2.86781 6.70662 2.86813 6.70344C2.87499 6.63366 2.8785 6.56289 2.8785 6.4913C2.8785 5.33956 1.96921 4.40021 0.829346 4.35195C1.96921 4.30369 2.8785 3.36433 2.8785 2.21259C2.8785 2.1941 2.87827 2.17566 2.8778 2.15728ZM5.16566 4.35485C5.16834 4.35503 5.16981 4.35179 5.16791 4.34989C5.16732 4.3493 5.1665 4.34899 5.16567 4.34905C5.14802 4.35023 5.13031 4.3512 5.11255 4.35195C5.13031 4.3527 5.14801 4.35367 5.16566 4.35485Z",
2988
+ fill: t
2989
+ })
2990
+ ]
2991
+ });
2992
+ }
2993
+ var A12 = tt.div`
2994
+ display: flex;
2995
+ flex-direction: row;
2996
+ align-items: center;
2997
+ gap: 10px;
2998
+ margin: 24px 0;
2999
+ max-width: 640px;
3000
+ color: ${({ theme: e }) => e.chart.textColor};
3001
+ background-color: ${({ theme: e }) => e.chart.backgroundColor};
3002
+ `;
3003
+ var O1 = tt.div`
3004
+ align-self: flex-start;
3005
+ `;
3006
+ var D12 = ({ summary: e, nlgRequest: t }) => {
3007
+ const { themeSettings: n } = Mt();
3008
+ return /* @__PURE__ */ ce(et, {
3009
+ sourceId: t.jaql.datasource.title,
3010
+ data: t,
3011
+ type: "chart/insights",
3012
+ buttonVisibility: "always",
3013
+ renderContent: (r) => /* @__PURE__ */ wi(A12, { theme: n, children: [
3014
+ /* @__PURE__ */ ce(O1, { theme: n, children: /* @__PURE__ */ ce(F1, { theme: n }) }),
3015
+ /* @__PURE__ */ ce(ft, { text: e }),
3016
+ r
3017
+ ] })
3018
+ });
3019
+ };
3020
+ var q1 = (e, t) => e.nlqResponse.timestamp === t.nlqResponse.timestamp;
3021
+ var rs = import_react.memo(function({
3022
+ nlqResponse: t,
3023
+ onDataReady: n,
3024
+ styleOptions: r,
3025
+ widgetProps: s,
3026
+ filters: c = []
3027
+ }) {
3028
+ const l = t.timestamp, h = import_react.useMemo(() => L($({}, t), {
3029
+ queryTitle: d3e(t.queryTitle)
3030
+ }), [l]), { connectToWidgetProps: d } = ske({
3031
+ initialFilters: c
3032
+ }), [g, m] = import_react.useState(null);
3033
+ import_react.useEffect(() => {
3034
+ const p = Dt2(h, {
3035
+ useCustomizedStyleOptions: true
3036
+ });
3037
+ if (!p)
3038
+ m(null);
3039
+ else {
3040
+ r && p.styleOptions && (p.styleOptions = hi(p.styleOptions, r));
3041
+ const b = d(p, {
3042
+ shouldAffectFilters: false,
3043
+ applyMode: "filter"
3044
+ });
3045
+ m(b);
3046
+ }
3047
+ }, [h, d, r]);
3048
+ const x = import_react.useMemo(() => {
3049
+ const p = g && yn(g) ? ph(g == null ? undefined : g.filters) : [], b = h.jaql.metadata.filter((v) => !v.jaql.filter).concat(p.filter((v) => !v.config.disabled).map((v) => v.jaql()));
3050
+ return L($({}, h), {
3051
+ jaql: L($({}, h.jaql), { metadata: b }),
3052
+ verbosity: "Low"
3053
+ });
3054
+ }, [h, g]), { data: i, isLoading: u, isError: a } = De(x);
3055
+ if (u || !g)
3056
+ return /* @__PURE__ */ ce(ut, {});
3057
+ if (!yn(g))
3058
+ return /* @__PURE__ */ ce(Gc, {});
3059
+ const f = s || L($({}, g), {
3060
+ styleOptions: r,
3061
+ onDataReady: n
3062
+ });
3063
+ return /* @__PURE__ */ ce(nke, L($({}, f), {
3064
+ highlightSelectionDisabled: true,
3065
+ topSlot: i && !a && /* @__PURE__ */ ce(D12, { nlgRequest: x, summary: i })
3066
+ }));
3067
+ }, q1);
3068
+ var z1 = new ake({
3069
+ defaultOptions: {
3070
+ queries: {
3071
+ refetchOnWindowFocus: false,
3072
+ refetchOnMount: false
3073
+ }
3074
+ }
3075
+ });
3076
+ function os({
3077
+ children: e,
3078
+ context: t
3079
+ }) {
3080
+ return /* @__PURE__ */ ce(Ut, { children: /* @__PURE__ */ ce(st.Provider, { value: t == null ? undefined : t.api, children: /* @__PURE__ */ ce(oke, { client: z1, children: e }) }) });
3081
+ }
3082
+ function is(e, t, n) {
3083
+ return X(this, null, function* () {
3084
+ var c;
3085
+ const r = mn(e) ? dke(e, n == null ? undefined : n.defaultDataSource, n == null ? undefined : n.verbosity, n == null ? undefined : n.ignoreTrendAndForecast) : yn(e) ? uke(hke(e, n == null ? undefined : n.defaultDataSource, n == null ? undefined : n.verbosity, n == null ? undefined : n.ignoreTrendAndForecast)) : null;
3086
+ if (!r)
3087
+ throw new Error("Only chart or pivot widget props are supported");
3088
+ const s = yield cke(t, r, {
3089
+ isUnifiedNarrationEnabled: n == null ? undefined : n.isUnifiedNarrationEnabled,
3090
+ isSisenseAiEnabled: n == null ? undefined : n.isSisenseAiEnabled
3091
+ });
3092
+ if (!((c = s == null ? undefined : s.data) != null && c.answer))
3093
+ throw new Error("Invalid response from NLG insights API");
3094
+ return s.data.answer;
3095
+ });
3096
+ }
3097
+ (function() {
3098
+ var t;
3099
+ try {
3100
+ if (typeof document != "undefined") {
3101
+ var e = document.createElement("style");
3102
+ e.nonce = (t = document.head.querySelector("meta[property=csp-nonce]")) == null ? undefined : t.content, e.appendChild(document.createTextNode('@charset "UTF-8";.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}.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}[class|=csdk],[class|=csdk]:before,[class|=csdk]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#d5d5d5;font-family:inherit}.csdk-accessible button:focus-visible,.csdk-accessible a:focus-visible,.csdk-accessible textarea:focus-visible,.csdk-accessible select:focus-visible,.csdk-accessible input:focus-visible,.csdk-accessible [tabindex]:focus-visible{outline:-webkit-focus-ring-color auto 1px}.csdk-accessible .MuiTouchRipple-root{display:none}:root{--csdk-tw-border-spacing-x: 0;--csdk-tw-border-spacing-y: 0;--csdk-tw-translate-x: 0;--csdk-tw-translate-y: 0;--csdk-tw-rotate: 0;--csdk-tw-skew-x: 0;--csdk-tw-skew-y: 0;--csdk-tw-scale-x: 1;--csdk-tw-scale-y: 1;--csdk-tw-pan-x: ;--csdk-tw-pan-y: ;--csdk-tw-pinch-zoom: ;--csdk-tw-scroll-snap-strictness: proximity;--csdk-tw-gradient-from-position: ;--csdk-tw-gradient-via-position: ;--csdk-tw-gradient-to-position: ;--csdk-tw-ordinal: ;--csdk-tw-slashed-zero: ;--csdk-tw-numeric-figure: ;--csdk-tw-numeric-spacing: ;--csdk-tw-numeric-fraction: ;--csdk-tw-ring-inset: ;--csdk-tw-ring-offset-width: 0px;--csdk-tw-ring-offset-color: #fff;--csdk-tw-ring-color: rgb(59 130 246 / .5);--csdk-tw-ring-offset-shadow: 0 0 #0000;--csdk-tw-ring-shadow: 0 0 #0000;--csdk-tw-shadow: 0 0 #0000;--csdk-tw-shadow-colored: 0 0 #0000;--csdk-tw-blur: ;--csdk-tw-brightness: ;--csdk-tw-contrast: ;--csdk-tw-grayscale: ;--csdk-tw-hue-rotate: ;--csdk-tw-invert: ;--csdk-tw-saturate: ;--csdk-tw-sepia: ;--csdk-tw-drop-shadow: ;--csdk-tw-backdrop-blur: ;--csdk-tw-backdrop-brightness: ;--csdk-tw-backdrop-contrast: ;--csdk-tw-backdrop-grayscale: ;--csdk-tw-backdrop-hue-rotate: ;--csdk-tw-backdrop-invert: ;--csdk-tw-backdrop-opacity: ;--csdk-tw-backdrop-saturate: ;--csdk-tw-backdrop-sepia: ;--csdk-tw-contain-size: ;--csdk-tw-contain-layout: ;--csdk-tw-contain-paint: ;--csdk-tw-contain-style: }::backdrop{--csdk-tw-border-spacing-x: 0;--csdk-tw-border-spacing-y: 0;--csdk-tw-translate-x: 0;--csdk-tw-translate-y: 0;--csdk-tw-rotate: 0;--csdk-tw-skew-x: 0;--csdk-tw-skew-y: 0;--csdk-tw-scale-x: 1;--csdk-tw-scale-y: 1;--csdk-tw-pan-x: ;--csdk-tw-pan-y: ;--csdk-tw-pinch-zoom: ;--csdk-tw-scroll-snap-strictness: proximity;--csdk-tw-gradient-from-position: ;--csdk-tw-gradient-via-position: ;--csdk-tw-gradient-to-position: ;--csdk-tw-ordinal: ;--csdk-tw-slashed-zero: ;--csdk-tw-numeric-figure: ;--csdk-tw-numeric-spacing: ;--csdk-tw-numeric-fraction: ;--csdk-tw-ring-inset: ;--csdk-tw-ring-offset-width: 0px;--csdk-tw-ring-offset-color: #fff;--csdk-tw-ring-color: rgb(59 130 246 / .5);--csdk-tw-ring-offset-shadow: 0 0 #0000;--csdk-tw-ring-shadow: 0 0 #0000;--csdk-tw-shadow: 0 0 #0000;--csdk-tw-shadow-colored: 0 0 #0000;--csdk-tw-blur: ;--csdk-tw-brightness: ;--csdk-tw-contrast: ;--csdk-tw-grayscale: ;--csdk-tw-hue-rotate: ;--csdk-tw-invert: ;--csdk-tw-saturate: ;--csdk-tw-sepia: ;--csdk-tw-drop-shadow: ;--csdk-tw-backdrop-blur: ;--csdk-tw-backdrop-brightness: ;--csdk-tw-backdrop-contrast: ;--csdk-tw-backdrop-grayscale: ;--csdk-tw-backdrop-hue-rotate: ;--csdk-tw-backdrop-invert: ;--csdk-tw-backdrop-opacity: ;--csdk-tw-backdrop-saturate: ;--csdk-tw-backdrop-sepia: ;--csdk-tw-contain-size: ;--csdk-tw-contain-layout: ;--csdk-tw-contain-paint: ;--csdk-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-m-0{margin:0}.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-\\[5px\\]{margin-left:5px}.csdk-ml-\\[6px\\]{margin-left:6px}.csdk-ml-\\[8px\\]{margin-left:8px}.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-flex{display:flex}.csdk-inline-flex{display:inline-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-64{max-height:16rem}.csdk-max-h-\\[3\\.5rem\\]{max-height:3.5rem}.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-0{min-width:0px}.csdk-min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.csdk-max-w-\\[800px\\]{max-width:800px}.csdk-max-w-full{max-width:100%}.csdk-max-w-xs{max-width:20rem}.csdk-flex-1{flex:1 1 0%}.csdk-shrink-0{flex-shrink:0}.csdk-grow{flex-grow:1}.csdk-grow-0{flex-grow:0}.-csdk-translate-y-1\\/2{--csdk-tw-translate-y: -50%;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.csdk-translate-x-1\\/2{--csdk-tw-translate-x: 50%;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.-csdk-rotate-90{--csdk-tw-rotate: -90deg;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.csdk-rotate-45{--csdk-tw-rotate: 45deg;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.csdk-scale-x-\\[-1\\]{--csdk-tw-scale-x: -1;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.csdk-transform{transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}@keyframes csdk-spin{to{transform:rotate(360deg)}}.csdk-animate-spin{animation:csdk-spin 1s linear infinite}.csdk-cursor-default{cursor:default}.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-1{row-gap:.25rem}.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-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.csdk-whitespace-nowrap{white-space:nowrap}.csdk-whitespace-pre-wrap{white-space:pre-wrap}.csdk-break-all{word-break:break-all}.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{--csdk-tw-border-opacity: 1;border-color:rgb(110 115 125 / var(--csdk-tw-border-opacity))}.csdk-border-\\[\\#e4e4e4\\]{--csdk-tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--csdk-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-background-priority{background-color:#f4f4f8}.csdk-bg-primary-primary{background-color:#ffcb05}.csdk-bg-transparent{background-color:transparent}.csdk-bg-white{--csdk-tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--csdk-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-0{padding-top:0;padding-bottom:0}.csdk-py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.csdk-py-1{padding-top:.25rem;padding-bottom:.25rem}.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-sm{font-size:.875rem;line-height:1.25rem}.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{--csdk-tw-text-opacity: 1;color:rgb(110 115 125 / var(--csdk-tw-text-opacity))}.csdk-text-\\[\\#262e3d\\]{--csdk-tw-text-opacity: 1;color:rgb(38 46 61 / var(--csdk-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{--csdk-tw-text-opacity: 1;color:rgb(30 175 243 / var(--csdk-tw-text-opacity))}.csdk-underline-offset-2{text-underline-offset:2px}.csdk-accent-UI-default{accent-color:#6e737d}.csdk-opacity-0{opacity:0}.csdk-opacity-100{opacity:1}.csdk-opacity-50{opacity:.5}.csdk-shadow-md{--csdk-tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--csdk-tw-shadow-colored: 0 4px 6px -1px var(--csdk-tw-shadow-color), 0 2px 4px -2px var(--csdk-tw-shadow-color);box-shadow:var(--csdk-tw-ring-offset-shadow, 0 0 #0000),var(--csdk-tw-ring-shadow, 0 0 #0000),var(--csdk-tw-shadow)}.csdk-shadow-gray-500{--csdk-tw-shadow-color: #6b7280;--csdk-tw-shadow: var(--csdk-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}.hover\\:csdk-underline:hover{text-decoration-line:underline}.focus\\:csdk-border-input:focus{border-width:1px}.focus\\:csdk-border-solid:focus{border-style:solid}.focus\\:csdk-border-UI-default:focus{--csdk-tw-border-opacity: 1;border-color:rgb(110 115 125 / var(--csdk-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}.csdk-context-menu-selected-with-dot{position:relative}.csdk-context-menu-selected-with-dot:before{content:"";position:absolute;left:12px;top:calc(50% - 3px);width:6px;height:6px;background-color:#000;border-radius:50%}._wrapper_1lpzp_1{width:100%;height:100%;position:relative}._title_1lpzp_7{font-size:18px;letter-spacing:normal;text-align:center;position:absolute;width:100%;top:11%}._image_1lpzp_17{width:66.6%;height:100%;margin:0 auto;display:block}[class*=csdk] .leaflet-pane,[class*=csdk] .leaflet-tile,[class*=csdk] .leaflet-marker-icon,[class*=csdk] .leaflet-marker-shadow,[class*=csdk] .leaflet-tile-container,[class*=csdk] .leaflet-pane>svg,[class*=csdk] .leaflet-pane>canvas,[class*=csdk] .leaflet-zoom-box,[class*=csdk] .leaflet-image-layer,[class*=csdk] .leaflet-layer{position:absolute;left:0;top:0}[class*=csdk] .leaflet-container{overflow:hidden}[class*=csdk] .leaflet-tile,[class*=csdk] .leaflet-marker-icon,[class*=csdk] .leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}[class*=csdk] .leaflet-tile::-moz-selection{background:transparent}[class*=csdk] .leaflet-tile::selection{background:transparent}[class*=csdk] .leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}[class*=csdk] .leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}[class*=csdk] .leaflet-marker-icon,[class*=csdk] .leaflet-marker-shadow{display:block}[class*=csdk] .leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}[class*=csdk] .leaflet-container .leaflet-marker-pane img,[class*=csdk] .leaflet-container .leaflet-shadow-pane img,[class*=csdk] .leaflet-container .leaflet-tile-pane img,[class*=csdk] .leaflet-container img.leaflet-image-layer,[class*=csdk] .leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}[class*=csdk] .leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}[class*=csdk] .leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}[class*=csdk] .leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}[class*=csdk] .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}[class*=csdk] .leaflet-container{-webkit-tap-highlight-color:transparent}[class*=csdk] .leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}[class*=csdk] .leaflet-tile{filter:inherit;visibility:hidden}[class*=csdk] .leaflet-tile-loaded{visibility:inherit}[class*=csdk] .leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}[class*=csdk] .leaflet-overlay-pane svg{-moz-user-select:none}[class*=csdk] .leaflet-pane{z-index:400}[class*=csdk] .leaflet-tile-pane{z-index:200}[class*=csdk] .leaflet-overlay-pane{z-index:400}[class*=csdk] .leaflet-shadow-pane{z-index:500}[class*=csdk] .leaflet-marker-pane{z-index:600}[class*=csdk] .leaflet-tooltip-pane{z-index:650}[class*=csdk] .leaflet-popup-pane{z-index:700}[class*=csdk] .leaflet-map-pane canvas{z-index:100}[class*=csdk] .leaflet-map-pane svg{z-index:200}[class*=csdk] .leaflet-vml-shape{width:1px;height:1px}[class*=csdk] .lvml{behavior:url(#default#VML);display:inline-block;position:absolute}[class*=csdk] .leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}[class*=csdk] .leaflet-top,[class*=csdk] .leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}[class*=csdk] .leaflet-top{top:0}[class*=csdk] .leaflet-right{right:0}[class*=csdk] .leaflet-bottom{bottom:0}[class*=csdk] .leaflet-left{left:0}[class*=csdk] .leaflet-control{float:left;clear:both}[class*=csdk] .leaflet-right .leaflet-control{float:right}[class*=csdk] .leaflet-top .leaflet-control{margin-top:10px}[class*=csdk] .leaflet-bottom .leaflet-control{margin-bottom:10px}[class*=csdk] .leaflet-left .leaflet-control{margin-left:10px}[class*=csdk] .leaflet-right .leaflet-control{margin-right:10px}[class*=csdk] .leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}[class*=csdk] .leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}[class*=csdk] .leaflet-zoom-animated{transform-origin:0 0}[class*=csdk] svg.leaflet-zoom-animated{will-change:transform}[class*=csdk] .leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}[class*=csdk] .leaflet-zoom-anim .leaflet-tile,[class*=csdk] .leaflet-pan-anim .leaflet-tile{transition:none}[class*=csdk] .leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}[class*=csdk] .leaflet-interactive{cursor:pointer}[class*=csdk] .leaflet-grab{cursor:grab}[class*=csdk] .leaflet-crosshair,[class*=csdk] .leaflet-crosshair .leaflet-interactive{cursor:crosshair}[class*=csdk] .leaflet-popup-pane,[class*=csdk] .leaflet-control{cursor:auto}[class*=csdk] .leaflet-dragging .leaflet-grab,[class*=csdk] .leaflet-dragging .leaflet-grab .leaflet-interactive,[class*=csdk] .leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}[class*=csdk] .leaflet-marker-icon,[class*=csdk] .leaflet-marker-shadow,[class*=csdk] .leaflet-image-layer,[class*=csdk] .leaflet-pane>svg path,[class*=csdk] .leaflet-tile-container{pointer-events:none}[class*=csdk] .leaflet-marker-icon.leaflet-interactive,[class*=csdk] .leaflet-image-layer.leaflet-interactive,[class*=csdk] .leaflet-pane>svg path.leaflet-interactive,[class*=csdk] svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}[class*=csdk] .leaflet-container{background:#ddd;outline-offset:1px}[class*=csdk] .leaflet-container a{color:#0078a8}[class*=csdk] .leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}[class*=csdk] .leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}[class*=csdk] .leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}[class*=csdk] .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}[class*=csdk] .leaflet-bar a,[class*=csdk] .leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}[class*=csdk] .leaflet-bar a:hover,[class*=csdk] .leaflet-bar a:focus{background-color:#f4f4f4}[class*=csdk] .leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}[class*=csdk] .leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}[class*=csdk] .leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}[class*=csdk] .leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}[class*=csdk] .leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}[class*=csdk] .leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}[class*=csdk] .leaflet-control-zoom-in,[class*=csdk] .leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}[class*=csdk] .leaflet-touch .leaflet-control-zoom-in,[class*=csdk] .leaflet-touch .leaflet-control-zoom-out{font-size:22px}[class*=csdk] .leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}[class*=csdk] .leaflet-control-layers .leaflet-control-layers-list,[class*=csdk] .leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}[class*=csdk] .leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}[class*=csdk] .leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}[class*=csdk] .leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}[class*=csdk] .leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}[class*=csdk] .leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}[class*=csdk] .leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}[class*=csdk] .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=)}[class*=csdk] .leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}[class*=csdk] .leaflet-control-attribution,[class*=csdk] .leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}[class*=csdk] .leaflet-control-attribution a{text-decoration:none}[class*=csdk] .leaflet-control-attribution a:hover,[class*=csdk] .leaflet-control-attribution a:focus{text-decoration:underline}[class*=csdk] .leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}[class*=csdk] .leaflet-left .leaflet-control-scale{margin-left:5px}[class*=csdk] .leaflet-bottom .leaflet-control-scale{margin-bottom:5px}[class*=csdk] .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}[class*=csdk] .leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}[class*=csdk] .leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}[class*=csdk] .leaflet-touch .leaflet-control-attribution,[class*=csdk] .leaflet-touch .leaflet-control-layers,[class*=csdk] .leaflet-touch .leaflet-bar{box-shadow:none}[class*=csdk] .leaflet-touch .leaflet-control-layers,[class*=csdk] .leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}[class*=csdk] .leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}[class*=csdk] .leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}[class*=csdk] .leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}[class*=csdk] .leaflet-popup-content p{margin:1.3em 0}[class*=csdk] .leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}[class*=csdk] .leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;transform:rotate(45deg)}[class*=csdk] .leaflet-popup-content-wrapper,[class*=csdk] .leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}[class*=csdk] .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}[class*=csdk] .leaflet-container a.leaflet-popup-close-button:hover,[class*=csdk] .leaflet-container a.leaflet-popup-close-button:focus{color:#585858}[class*=csdk] .leaflet-popup-scrolled{overflow:auto}[class*=csdk] .leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}[class*=csdk] .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)}[class*=csdk] .leaflet-oldie .leaflet-control-zoom,[class*=csdk] .leaflet-oldie .leaflet-control-layers,[class*=csdk] .leaflet-oldie .leaflet-popup-content-wrapper,[class*=csdk] .leaflet-oldie .leaflet-popup-tip{border:1px solid #999}[class*=csdk] .leaflet-div-icon{background:#fff;border:1px solid #666}[class*=csdk] .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}[class*=csdk] .leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}[class*=csdk] .leaflet-tooltip-top:before,[class*=csdk] .leaflet-tooltip-bottom:before,[class*=csdk] .leaflet-tooltip-left:before,[class*=csdk] .leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}[class*=csdk] .leaflet-tooltip-bottom{margin-top:6px}[class*=csdk] .leaflet-tooltip-top{margin-top:-6px}[class*=csdk] .leaflet-tooltip-bottom:before,[class*=csdk] .leaflet-tooltip-top:before{left:50%;margin-left:-6px}[class*=csdk] .leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}[class*=csdk] .leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}[class*=csdk] .leaflet-tooltip-left{margin-left:-6px}[class*=csdk] .leaflet-tooltip-right{margin-left:6px}[class*=csdk] .leaflet-tooltip-left:before,[class*=csdk] .leaflet-tooltip-right:before{top:50%;margin-top:-6px}[class*=csdk] .leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}[class*=csdk] .leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{[class*=csdk] .leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.csdk-map-container .leaflet-interactive{outline:none}._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}.highcharts-series.highcharts-area-series.area-series--without-pointer-events .highcharts-area{pointer-events:none}.highcharts-heatmap-series .highcharts-point.csdk-highcharts-point-blured{opacity:.5}.csdk-scattermap-tooltip-container{color:#5b6372;margin:4px 6px}.csdk-scattermap-tooltip-content{text-align:left}.csdk-scattermap-tooltip-label{font-size:15px;line-height:18px}.csdk-scattermap-tooltip-category{color:#9ea2ab;padding-right:20px}.csdk-scattermap-tooltip-row{display:flex;justify-content:space-between}[class*=csdk] .public_Scrollbar_main.public_Scrollbar_mainActive,[class*=csdk] .public_Scrollbar_main{background-color:#fff;border-left:1px solid #d3d3d3}[class*=csdk] .fixedDataTable_isRTL .public_Scrollbar_main.public_Scrollbar_mainActive,[class*=csdk] .fixedDataTable_isRTL .public_Scrollbar_main{border-right:1px solid #d3d3d3;border-left-width:0}[class*=csdk] .public_Scrollbar_mainOpaque,[class*=csdk] .public_Scrollbar_mainOpaque.public_Scrollbar_mainActive,[class*=csdk] .public_Scrollbar_mainOpaque:hover{background-color:#fff}[class*=csdk] .public_Scrollbar_face:after{background-color:#c2c2c2}[class*=csdk] .public_Scrollbar_main:hover .public_Scrollbar_face:after,[class*=csdk] .public_Scrollbar_mainActive .public_Scrollbar_face:after,[class*=csdk] .public_Scrollbar_faceActive:after{background-color:#7d7d7d}[class*=csdk] .public_fixedDataTableCell_main{background-color:#fff;border-color:#d3d3d3}[class*=csdk] .public_fixedDataTableCell_highlighted{background-color:#f4f4f4}[class*=csdk] .public_fixedDataTableCell_cellContent{padding:8px}[class*=csdk] .public_fixedDataTableCell_columnResizerKnob{background-color:#0284ff}[class*=csdk] .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap1 .public_fixedDataTableCell_cellContent{margin-left:12px}[class*=csdk] .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap.public_fixedDataTableCell_cellContent{padding-left:20px}[class*=csdk] .fixedDataTable_isRTL .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap1 .public_fixedDataTableCell_cellContent{margin-left:auto;margin-right:12px}[class*=csdk] .fixedDataTable_isRTL .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap.public_fixedDataTableCell_cellContent{padding-right:20px}[class*=csdk] .public_fixedDataTableCell_reordering{z-index:2}[class*=csdk] .public_fixedDataTableCell_resizeReorderCellContainer{position:fixed;background-color:#f6f7f8;background-image:linear-gradient(#fff,#efefef);border-color:#d3d3d3;border-right-style:solid;border-right-width:1px}[class*=csdk] .fixedDataTableCellLayout_columnReorderContainer{border-color:#0284ff;background-color:#0000001a;width:12px;margin-right:-12px;float:left;cursor:move}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableCellLayout_columnReorderContainer{margin-right:auto;margin-left:-12px;float:right}[class*=csdk] .fixedDataTableCellLayout_columnReorderContainer:after{content:"::";position:absolute;top:50%;left:1px;transform:translateY(-50%)}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableCellLayout_columnReorderContainer:after{left:auto;right:1px}[class*=csdk] .public_fixedDataTableColumnResizerLine_main{border-color:#0284ff;width:1px}[class*=csdk] .public_fixedDataTable_main,[class*=csdk] .public_fixedDataTable_header,[class*=csdk] .public_fixedDataTable_hasBottomBorder{border-color:#d3d3d3}[class*=csdk] .public_fixedDataTable_header .public_fixedDataTableCell_main{font-weight:700}[class*=csdk] .public_fixedDataTable_header,[class*=csdk] .public_fixedDataTable_scrollbarSpacer,[class*=csdk] .public_fixedDataTable_header .public_fixedDataTableCell_main{background-color:#f6f7f8;background-image:linear-gradient(#fff,#efefef)}[class*=csdk] .public_fixedDataTable_scrollbarSpacer{position:absolute;z-index:99;top:0}[class*=csdk] .public_fixedDataTable_footer .public_fixedDataTableCell_main{background-color:#f6f7f8;border-color:#d3d3d3}[class*=csdk] .public_fixedDataTable_topShadow{background-image:linear-gradient(180deg,#0000001a,#0000)}[class*=csdk] .public_fixedDataTable_bottomShadow{background-image:linear-gradient(0deg,#0000001a,#0000)}[class*=csdk] .public_fixedDataTable_horizontalScrollbar .public_Scrollbar_mainHorizontal,[class*=csdk] .public_fixedDataTableRow_main{background-color:#fff}[class*=csdk] .public_fixedDataTableRow_highlighted,[class*=csdk] .public_fixedDataTableRow_highlighted .public_fixedDataTableCell_main{background-color:#f6f7f8}[class*=csdk] .public_fixedDataTableRow_fixedColumnsDivider{border-color:#d3d3d3}[class*=csdk] .public_fixedDataTableRow_columnsShadow{background-image:linear-gradient(90deg,#0000001a,#0000)}[class*=csdk] .fixedDataTable_isRTL .public_fixedDataTableRow_columnsShadow{background-image:linear-gradient(270deg,#0000001a,#0000)}[class*=csdk] .public_fixedDataTableRow_columnsRightShadow{transform:rotate(180deg)}[class*=csdk] .ScrollbarLayout_main{box-sizing:border-box;outline:none;overflow:hidden;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}[class*=csdk] .ScrollbarLayout_mainVertical{bottom:0;right:0;top:0;width:15px}[class*=csdk] .ScrollbarLayout_mainHorizontal{height:15px;left:0}[class*=csdk] .ScrollbarLayout_face{left:0;overflow:hidden;position:absolute;z-index:1;display:flex;justify-content:center;align-items:center}[class*=csdk] .ScrollbarLayout_face:after{border-radius:6px;content:"";display:block;position:absolute;transition-duration:.25s;transition-timing-function:ease;transition-property:background-color,height,width}[class*=csdk] .ScrollbarLayout_faceHorizontal{bottom:0;left:0;top:0}[class*=csdk] .ScrollbarLayout_faceHorizontal:after{width:100%;height:calc(100% - 8px)}[class*=csdk] .fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal,[class*=csdk] .fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal:after{right:0;left:auto}[class*=csdk] .ScrollbarLayout_faceHorizontal.public_Scrollbar_faceActive:after,[class*=csdk] .ScrollbarLayout_main:hover .ScrollbarLayout_faceHorizontal:after{height:calc(100% - 4px)}[class*=csdk] .ScrollbarLayout_faceVertical{left:0;right:0;top:0}[class*=csdk] .ScrollbarLayout_faceVertical:after{height:100%;width:calc(100% - 8px)}[class*=csdk] .ScrollbarLayout_main:hover .ScrollbarLayout_faceVertical:after,[class*=csdk] .ScrollbarLayout_faceVertical.public_Scrollbar_faceActive:after{width:calc(100% - 4px)}[class*=csdk] .fixedDataTableCellGroupLayout_cellGroup{backface-visibility:hidden;left:0;overflow:hidden;position:absolute;top:0;white-space:nowrap}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableCellGroupLayout_cellGroup{right:0;left:auto}[class*=csdk] .fixedDataTableCellGroupLayout_cellGroup>.public_fixedDataTableCell_main{display:inline-block;vertical-align:top;white-space:normal}[class*=csdk] .fixedDataTableCellGroupLayout_cellGroupWrapper{position:absolute;top:0}[class*=csdk] .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}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableCellLayout_main{border-right-width:0;border-left-style:solid;border-left-width:1px}[class*=csdk] .fixedDataTableCellLayout_lastChild{border-width:0 1px 1px 0}[class*=csdk] .fixedDataTableCellLayout_alignRight{text-align:right}[class*=csdk] .fixedDataTableCellLayout_alignCenter{text-align:center}[class*=csdk] .fixedDataTableCellLayout_wrap{display:table-cell;vertical-align:middle;box-sizing:border-box}[class*=csdk] .fixedDataTableCellLayout_wrap1{display:table}[class*=csdk] .fixedDataTableCellLayout_wrap2{display:table-row}[class*=csdk] .fixedDataTableCellLayout_wrap3{display:table-cell;vertical-align:middle}[class*=csdk] .fixedDataTableCellLayout_columnResizerContainer{position:absolute;right:0;width:6px;z-index:1}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableCellLayout_columnResizerContainer{left:0;right:auto}[class*=csdk] .fixedDataTableCellLayout_columnResizerContainer:hover{cursor:ew-resize;background-color:#0284ff}[class*=csdk] .fixedDataTableColumnResizerLineLayout_mouseArea{cursor:ew-resize;position:absolute;right:-5px;width:12px}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_mouseArea{right:auto;left:-5px}[class*=csdk] .fixedDataTableColumnResizerLineLayout_main{border-right-style:solid;border-right-width:1px;box-sizing:border-box;position:absolute;z-index:100;pointer-events:none}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_main{border-right-width:0;border-left-style:solid;border-left-width:1px}[class*=csdk] .fixedDataTableLayout_main{border-style:solid;border-width:1px;box-sizing:border-box;overflow:hidden;position:relative}[class*=csdk] .fixedDataTableLayout_header,[class*=csdk] .fixedDataTableLayout_hasBottomBorder{border-bottom-style:solid;border-bottom-width:1px}[class*=csdk] .fixedDataTableLayout_footer .public_fixedDataTableCell_main{border-top-style:solid;border-top-width:1px}[class*=csdk] .fixedDataTableLayout_topShadow,[class*=csdk] .fixedDataTableLayout_bottomShadow{height:4px;left:0;position:absolute;right:0;z-index:1}[class*=csdk] .fixedDataTableLayout_bottomShadow{margin-top:-4px}[class*=csdk] .fixedDataTableLayout_rowsContainer{overflow:hidden;position:relative}[class*=csdk] .fixedDataTableRowLayout_main{box-sizing:border-box;overflow:hidden;position:absolute;top:0}[class*=csdk] .fixedDataTableRowLayout_body{left:0;right:0;position:absolute;top:0}[class*=csdk] .fixedDataTableRowLayout_rowExpanded{box-sizing:border-box;left:0;position:absolute}[class*=csdk] .fixedDataTableRowLayout_fixedColumnsDivider{backface-visibility:hidden;border-left-style:solid;border-left-width:1px;left:0;position:absolute;top:0;width:0}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableRowLayout_fixedColumnsDivider{border-left-width:0;border-right-style:solid;border-right-width:1px}[class*=csdk] .fixedDataTableRowLayout_columnsShadow{position:absolute;width:4px}[class*=csdk] .fixedDataTableRowLayout_columnsRightShadow{right:1px}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableRowLayout_columnsRightShadow{left:1px;right:auto}[class*=csdk] .fixedDataTableRowLayout_rowWrapper{position:absolute;top:0}._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=)}._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}._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}._alert_31zyt_1{position:relative;width:100%;box-sizing:border-box;display:grid;grid-template-columns:0 1fr;gap:.5rem;align-items:start;padding:.75rem 1rem;border-radius:.5rem;border:1px solid;font-size:.875rem;line-height:1.25rem}._alert_31zyt_1[data-dismiss-on-click=true]{cursor:pointer}._alert_31zyt_1._hasIcon_31zyt_18{grid-template-columns:1rem 1fr;gap:.75rem}._alert_31zyt_1._error_31zyt_22{background-color:#fef2f2;border-color:#fecaca;color:#991b1b}._alert_31zyt_1._error_31zyt_22 ._icon_31zyt_27{color:#ef4444}._alert_31zyt_1._error_31zyt_22[data-dark-mode=true]{background-color:#4a1f1f;border-color:#5a2a2a;color:#fca5a5}._alert_31zyt_1._error_31zyt_22[data-dark-mode=true] ._icon_31zyt_27{color:#f87171}._alert_31zyt_1._warning_31zyt_38{background-color:#fffbeb;border-color:#fde68a;color:#92400e}._alert_31zyt_1._warning_31zyt_38 ._icon_31zyt_27{color:#f59e0b}._alert_31zyt_1._warning_31zyt_38[data-dark-mode=true]{background-color:#4a3a1f;border-color:#5a4a2a;color:#fbbf24}._alert_31zyt_1._warning_31zyt_38[data-dark-mode=true] ._icon_31zyt_27{color:#f59e0b}._alert_31zyt_1._info_31zyt_54{background-color:#eff6ff;border-color:#bfdbfe;color:#1e40af}._alert_31zyt_1._info_31zyt_54 ._icon_31zyt_27{color:#3b82f6}._icon_31zyt_27{width:1rem;height:1rem;margin-top:.125rem;flex-shrink:0;display:flex;align-items:center;justify-content:center}._icon_31zyt_27 svg{width:100%;height:100%}._content_31zyt_77{display:flex;flex-direction:column;gap:.25rem}._title_31zyt_83{font-weight:600;line-height:1.5;color:inherit}._description_31zyt_89{color:inherit;opacity:.9;line-height:1.5}._dismissButton_31zyt_95{position:absolute;top:.5rem;right:.5rem;background:none;border:none;cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;color:inherit;opacity:.7;transition:opacity .2s}._dismissButton_31zyt_95:hover{opacity:1}._dismissButton_31zyt_95:focus{outline:2px solid currentColor;outline-offset:2px}@media (prefers-color-scheme: dark){._alert_31zyt_1._error_31zyt_22{background-color:#4a1f1f;border-color:#5a2a2a;color:#fca5a5}._alert_31zyt_1._error_31zyt_22 ._icon_31zyt_27{color:#f87171}._alert_31zyt_1._warning_31zyt_38{background-color:#4a3a1f;border-color:#5a4a2a;color:#fbbf24}._alert_31zyt_1._warning_31zyt_38 ._icon_31zyt_27{color:#f59e0b}}.dark ._alert_31zyt_1._error_31zyt_22{background-color:#4a1f1f;border-color:#5a2a2a;color:#fca5a5}.dark ._alert_31zyt_1._error_31zyt_22 ._icon_31zyt_27{color:#f87171}.dark ._alert_31zyt_1._warning_31zyt_38{background-color:#4a3a1f;border-color:#5a4a2a;color:#fbbf24}.dark ._alert_31zyt_1._warning_31zyt_38 ._icon_31zyt_27{color:#f59e0b}._container_1cvt1_1{width:100%;box-sizing:border-box;overflow:visible;padding:4px}._containerClickable_1cvt1_8{cursor:pointer}._bannerWrapper_1cvt1_12{width:100%;max-width:64rem;margin-left:auto;margin-right:auto;overflow:visible}._bannerWrapper_1cvt1_12>div[role=alert],._bannerWrapper_1cvt1_12>button{border:none;border-radius:8px;box-shadow:0 1px 2px #09090a1a;padding:16px 20px}._bannerWrapper_1cvt1_12[data-variant=error]>div[role=alert]{background-color:#fdede9;color:#5c6372}._bannerWrapper_1cvt1_12[data-variant=error]>div[role=alert]>div:first-child{color:#fa5656}._bannerWrapper_1cvt1_12[data-variant=warning]>button{background-color:#fef8e5;color:#4f4f4f;gap:.5rem;padding-right:2.5rem;text-align:left}._bannerWrapper_1cvt1_12[data-variant=warning]>button>div:nth-child(2){justify-self:start}._bannerWrapper_1cvt1_12[data-variant=warning]>button>div:first-child{color:#ffcb05}[class*=csdk] .react-datepicker__navigation-icon:before,[class*=csdk] .react-datepicker__year-read-view--down-arrow,[class*=csdk] .react-datepicker__month-read-view--down-arrow,[class*=csdk] .react-datepicker__month-year-read-view--down-arrow{border-color:#ccc;border-style:solid;border-width:3px 3px 0 0;content:"";display:block;height:9px;position:absolute;top:6px;width:9px}[class*=csdk] .react-datepicker-wrapper{display:inline-block;padding:0;border:0}[class*=csdk] .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}[class*=csdk] .react-datepicker--time-only .react-datepicker__time-container{border-left:0}[class*=csdk] .react-datepicker--time-only .react-datepicker__time,[class*=csdk] .react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}[class*=csdk] .react-datepicker-popper{z-index:1;line-height:0}[class*=csdk] .react-datepicker-popper .react-datepicker__triangle{stroke:#aeaeae}[class*=csdk] .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{fill:#f0f0f0;color:#f0f0f0}[class*=csdk] .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{fill:#fff;color:#fff}[class*=csdk] .react-datepicker__header{text-align:center;background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding:8px 0;position:relative}[class*=csdk] .react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}[class*=csdk] .react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}[class*=csdk] .react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}[class*=csdk] .react-datepicker__year-dropdown-container--select,[class*=csdk] .react-datepicker__month-dropdown-container--select,[class*=csdk] .react-datepicker__month-year-dropdown-container--select,[class*=csdk] .react-datepicker__year-dropdown-container--scroll,[class*=csdk] .react-datepicker__month-dropdown-container--scroll,[class*=csdk] .react-datepicker__month-year-dropdown-container--scroll{display:inline-block;margin:0 15px}[class*=csdk] .react-datepicker__current-month,[class*=csdk] .react-datepicker-time__header,[class*=csdk] .react-datepicker-year-header{margin-top:0;color:#000;font-weight:700;font-size:.944rem}[class*=csdk] h2.react-datepicker__current-month{padding:0;margin:0}[class*=csdk] .react-datepicker-time__header{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[class*=csdk] .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}[class*=csdk] .react-datepicker__navigation--previous{left:2px}[class*=csdk] .react-datepicker__navigation--next{right:2px}[class*=csdk] .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:85px}[class*=csdk] .react-datepicker__navigation--years{position:relative;top:0;display:block;margin-left:auto;margin-right:auto}[class*=csdk] .react-datepicker__navigation--years-previous{top:4px}[class*=csdk] .react-datepicker__navigation--years-upcoming{top:-4px}[class*=csdk] .react-datepicker__navigation:hover *:before{border-color:#a6a6a6}[class*=csdk] .react-datepicker__navigation-icon{position:relative;top:-1px;font-size:20px;width:0}[class*=csdk] .react-datepicker__navigation-icon--next{left:-2px}[class*=csdk] .react-datepicker__navigation-icon--next:before{transform:rotate(45deg);left:-7px}[class*=csdk] .react-datepicker__navigation-icon--previous{right:-2px}[class*=csdk] .react-datepicker__navigation-icon--previous:before{transform:rotate(225deg);right:-7px}[class*=csdk] .react-datepicker__month-container{float:left}[class*=csdk] .react-datepicker__year{margin:.4rem;text-align:center}[class*=csdk] .react-datepicker__year-wrapper{display:flex;flex-wrap:wrap;max-width:180px}[class*=csdk] .react-datepicker__year .react-datepicker__year-text{display:inline-block;width:4rem;margin:2px}[class*=csdk] .react-datepicker__month{margin:.4rem;text-align:center}[class*=csdk] .react-datepicker__month .react-datepicker__month-text,[class*=csdk] .react-datepicker__month .react-datepicker__quarter-text{display:inline-block;width:4rem;margin:2px}[class*=csdk] .react-datepicker__input-time-container{clear:both;width:100%;float:left;margin:5px 0 10px 15px;text-align:left}[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__caption,[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,[class*=csdk] .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}[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{margin-left:5px;display:inline-block}[class*=csdk] .react-datepicker__time-container{float:right;border-left:1px solid #aeaeae;width:85px}[class*=csdk] .react-datepicker__time-container--with-today-button{display:inline;border:1px solid #aeaeae;border-radius:.3rem;position:absolute;right:-87px;top:0}[class*=csdk] .react-datepicker__time-container .react-datepicker__time{position:relative;background:#fff;border-bottom-right-radius:.3rem}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .react-datepicker__week-number{color:#ccc;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}[class*=csdk] .react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}[class*=csdk] .react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected):hover{border-radius:.3rem;background-color:#f0f0f0}[class*=csdk] .react-datepicker__week-number--selected{border-radius:.3rem;background-color:#216ba5;color:#fff}[class*=csdk] .react-datepicker__week-number--selected:hover{background-color:#1d5d90}[class*=csdk] .react-datepicker__day-names{white-space:nowrap;margin-bottom:-8px}[class*=csdk] .react-datepicker__week{white-space:nowrap}[class*=csdk] .react-datepicker__day-name,[class*=csdk] .react-datepicker__day,[class*=csdk] .react-datepicker__time-name{color:#000;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}[class*=csdk] .react-datepicker__day,[class*=csdk] .react-datepicker__month-text,[class*=csdk] .react-datepicker__quarter-text,[class*=csdk] .react-datepicker__year-text{cursor:pointer}[class*=csdk] .react-datepicker__day:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text:not([aria-disabled=true]):hover{border-radius:.3rem;background-color:#f0f0f0}[class*=csdk] .react-datepicker__day--today,[class*=csdk] .react-datepicker__month-text--today,[class*=csdk] .react-datepicker__quarter-text--today,[class*=csdk] .react-datepicker__year-text--today{font-weight:700}[class*=csdk] .react-datepicker__day--highlighted,[class*=csdk] .react-datepicker__month-text--highlighted,[class*=csdk] .react-datepicker__quarter-text--highlighted,[class*=csdk] .react-datepicker__year-text--highlighted{border-radius:.3rem;background-color:#3dcc4a;color:#fff}[class*=csdk] .react-datepicker__day--highlighted:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover{background-color:#32be3f}[class*=csdk] .react-datepicker__day--highlighted-custom-1,[class*=csdk] .react-datepicker__month-text--highlighted-custom-1,[class*=csdk] .react-datepicker__quarter-text--highlighted-custom-1,[class*=csdk] .react-datepicker__year-text--highlighted-custom-1{color:#f0f}[class*=csdk] .react-datepicker__day--highlighted-custom-2,[class*=csdk] .react-datepicker__month-text--highlighted-custom-2,[class*=csdk] .react-datepicker__quarter-text--highlighted-custom-2,[class*=csdk] .react-datepicker__year-text--highlighted-custom-2{color:green}[class*=csdk] .react-datepicker__day--holidays,[class*=csdk] .react-datepicker__month-text--holidays,[class*=csdk] .react-datepicker__quarter-text--holidays,[class*=csdk] .react-datepicker__year-text--holidays{position:relative;border-radius:.3rem;background-color:#ff6803;color:#fff}[class*=csdk] .react-datepicker__day--holidays .overlay,[class*=csdk] .react-datepicker__month-text--holidays .overlay,[class*=csdk] .react-datepicker__quarter-text--holidays .overlay,[class*=csdk] .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}[class*=csdk] .react-datepicker__day--holidays:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text--holidays:not([aria-disabled=true]):hover{background-color:#cf5300}[class*=csdk] .react-datepicker__day--holidays:hover .overlay,[class*=csdk] .react-datepicker__month-text--holidays:hover .overlay,[class*=csdk] .react-datepicker__quarter-text--holidays:hover .overlay,[class*=csdk] .react-datepicker__year-text--holidays:hover .overlay{visibility:visible;opacity:1}[class*=csdk] .react-datepicker__day--selected,[class*=csdk] .react-datepicker__day--in-selecting-range,[class*=csdk] .react-datepicker__day--in-range,[class*=csdk] .react-datepicker__month-text--selected,[class*=csdk] .react-datepicker__month-text--in-selecting-range,[class*=csdk] .react-datepicker__month-text--in-range,[class*=csdk] .react-datepicker__quarter-text--selected,[class*=csdk] .react-datepicker__quarter-text--in-selecting-range,[class*=csdk] .react-datepicker__quarter-text--in-range,[class*=csdk] .react-datepicker__year-text--selected,[class*=csdk] .react-datepicker__year-text--in-selecting-range,[class*=csdk] .react-datepicker__year-text--in-range{border-radius:.3rem;background-color:#216ba5;color:#fff}[class*=csdk] .react-datepicker__day--selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__day--in-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text--selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text--selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text--in-range:not([aria-disabled=true]):hover{background-color:#1d5d90}[class*=csdk] .react-datepicker__day--keyboard-selected,[class*=csdk] .react-datepicker__month-text--keyboard-selected,[class*=csdk] .react-datepicker__quarter-text--keyboard-selected,[class*=csdk] .react-datepicker__year-text--keyboard-selected{border-radius:.3rem;background-color:#bad9f1;color:#000}[class*=csdk] .react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover{background-color:#1d5d90}[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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}[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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}[class*=csdk] .react-datepicker__day--disabled,[class*=csdk] .react-datepicker__month-text--disabled,[class*=csdk] .react-datepicker__quarter-text--disabled,[class*=csdk] .react-datepicker__year-text--disabled{cursor:default;color:#ccc}[class*=csdk] .react-datepicker__day--disabled .overlay,[class*=csdk] .react-datepicker__month-text--disabled .overlay,[class*=csdk] .react-datepicker__quarter-text--disabled .overlay,[class*=csdk] .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}[class*=csdk] .react-datepicker__input-container{position:relative;display:inline-block;width:100%}[class*=csdk] .react-datepicker__input-container .react-datepicker__calendar-icon{position:absolute;padding:.5rem;box-sizing:content-box}[class*=csdk] .react-datepicker__view-calendar-icon input{padding:6px 10px 5px 25px}[class*=csdk] .react-datepicker__year-read-view,[class*=csdk] .react-datepicker__month-read-view,[class*=csdk] .react-datepicker__month-year-read-view{border:1px solid transparent;border-radius:.3rem;position:relative}[class*=csdk] .react-datepicker__year-read-view:hover,[class*=csdk] .react-datepicker__month-read-view:hover,[class*=csdk] .react-datepicker__month-year-read-view:hover{cursor:pointer}[class*=csdk] .react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,[class*=csdk] .react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,[class*=csdk] .react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,[class*=csdk] .react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,[class*=csdk] .react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,[class*=csdk] .react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow{border-top-color:#b3b3b3}[class*=csdk] .react-datepicker__year-read-view--down-arrow,[class*=csdk] .react-datepicker__month-read-view--down-arrow,[class*=csdk] .react-datepicker__month-year-read-view--down-arrow{transform:rotate(135deg);right:-16px;top:0}[class*=csdk] .react-datepicker__year-dropdown,[class*=csdk] .react-datepicker__month-dropdown,[class*=csdk] .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}[class*=csdk] .react-datepicker__year-dropdown:hover,[class*=csdk] .react-datepicker__month-dropdown:hover,[class*=csdk] .react-datepicker__month-year-dropdown:hover{cursor:pointer}[class*=csdk] .react-datepicker__year-dropdown--scrollable,[class*=csdk] .react-datepicker__month-dropdown--scrollable,[class*=csdk] .react-datepicker__month-year-dropdown--scrollable{height:150px;overflow-y:scroll}[class*=csdk] .react-datepicker__year-option,[class*=csdk] .react-datepicker__month-option,[class*=csdk] .react-datepicker__month-year-option{line-height:20px;width:100%;display:block;margin-left:auto;margin-right:auto}[class*=csdk] .react-datepicker__year-option:first-of-type,[class*=csdk] .react-datepicker__month-option:first-of-type,[class*=csdk] .react-datepicker__month-year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}[class*=csdk] .react-datepicker__year-option:last-of-type,[class*=csdk] .react-datepicker__month-option:last-of-type,[class*=csdk] .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}[class*=csdk] .react-datepicker__year-option:hover,[class*=csdk] .react-datepicker__month-option:hover,[class*=csdk] .react-datepicker__month-year-option:hover{background-color:#ccc}[class*=csdk] .react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,[class*=csdk] .react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,[class*=csdk] .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}[class*=csdk] .react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,[class*=csdk] .react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,[class*=csdk] .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}[class*=csdk] .react-datepicker__year-option--selected,[class*=csdk] .react-datepicker__month-option--selected,[class*=csdk] .react-datepicker__month-year-option--selected{position:absolute;left:15px}[class*=csdk] .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}[class*=csdk] .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:"×"}[class*=csdk] .react-datepicker__close-icon--disabled{cursor:default}[class*=csdk] .react-datepicker__close-icon--disabled:after{cursor:default;background-color:#ccc}[class*=csdk] .react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;cursor:pointer;text-align:center;font-weight:700;padding:5px 0;clear:left}[class*=csdk] .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}[class*=csdk] .react-datepicker__portal .react-datepicker__day-name,[class*=csdk] .react-datepicker__portal .react-datepicker__day,[class*=csdk] .react-datepicker__portal .react-datepicker__time-name{width:3rem;line-height:3rem}@media (max-width: 400px),(max-height: 550px){[class*=csdk] .react-datepicker__portal .react-datepicker__day-name,[class*=csdk] .react-datepicker__portal .react-datepicker__day,[class*=csdk] .react-datepicker__portal .react-datepicker__time-name{width:2rem;line-height:2rem}}[class*=csdk] .react-datepicker__portal .react-datepicker__current-month,[class*=csdk] .react-datepicker__portal .react-datepicker-time__header{font-size:1.44rem}[class*=csdk] .react-datepicker__children-container{width:13.8rem;margin:.4rem;padding-right:.2rem;padding-left:.2rem;height:auto}[class*=csdk] .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}[class*=csdk] .react-datepicker__calendar-icon{width:1em;height:1em;vertical-align:-.125em}')), document.head.appendChild(e);
3103
+ }
3104
+ } catch (a) {
3105
+ console.error("vite-plugin-css-injected-by-js", a);
3106
+ }
3107
+ })();
3108
+ export {
3109
+ Nt as widgetComposer,
3110
+ J1 as useLastNlqResponse,
3111
+ Y1 as useGetQueryRecommendations,
3112
+ X1 as useGetNlqResult,
3113
+ K1 as useGetNlgInsights,
3114
+ es as useFinalNlqResponse,
3115
+ Pr as useChatSession,
3116
+ Gt as prepareGetNlqResultPayload,
3117
+ uke as prepareGetNlgInsightsPayload,
3118
+ is as getNlgInsightsFromWidget,
3119
+ kr as executeGetNlqResult,
3120
+ rs as NlqChartWidget,
3121
+ vr as NLQ_RESULT_CHART_TYPES,
3122
+ ns as GetNlgInsights,
3123
+ Sr as DEFAULT_RECOMMENDATIONS_COUNT,
3124
+ os as CustomAiContextProvider,
3125
+ ts as Chatbot,
3126
+ mr as ChatRestApi,
3127
+ _1 as AiContextProvider
3128
+ };