@sisense/sdk-ui-preact 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ai.js CHANGED
@@ -1,5 +1,5 @@
1
- import { N as Qe, eV as $r, eW as Vr, h as Se, cr as We, cJ as Jr, cI as Xr, bJ as Kr, bo as wt, eX as ve, m as Ht, cz as tt, b1 as ea, aX as Ee, eY as ta, c1 as ra, eZ as aa, c as ia, e_ as oa, e$ as na, f0 as la, cD as Yt, j as Ut, ae as Ft, a9 as Be, B as da, p as He, f1 as sa, f2 as ca, J as he, f3 as Qt, K as pa, f as b, w as $t, F as D, i as o, r as O, ad as Y, f4 as ua, aE as ga, am as ha, T as G, bs as fe, q as N, aB as dt, g as z, y as be, ap as Vt, a5 as ma, bv as fa, A as ce, f5 as ba, as as ke, X as $e, u as ye, f6 as xa, bF as ka, bH as ya, cL as Ce, du as Jt, aq as st, z as wa, f7 as Ie, a4 as _, c_ as q, l as v, c0 as _a, f8 as _t, a as qe, f9 as Ca, fa as va, fb as Xt, fc as Sa, fd as Ma, ce as Ia, cf as Da, fe as Aa, ff as La, fg as Ta, dO as Na, cd as ja, fh as Oa, cZ as Kt, fi as Ea, dl as za, b6 as Ra, ev as Za, _ as Wa, aY as er, aZ as tr, fj as qa, cw as Ga, fk as Pa, ex as Ba, cW as Ha, fl as Ya } from "./use-common-filters-BTk7vuUo-f74a3ef4.js";
2
- var Ua = Object.defineProperty, Fa = Object.defineProperties, Qa = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, $a = Object.prototype.hasOwnProperty, Va = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? Ua(e, t, {
1
+ import { N as Fe, e_ as $r, e$ as Vr, l as Se, cr as We, cJ as Jr, cI as Xr, bJ as Kr, bo as wt, f0 as ve, f as Ht, cz as tt, b1 as ea, aX as Ee, f1 as ta, c1 as ra, f2 as aa, s as ia, f3 as oa, f4 as na, f5 as la, cD as Yt, B as Ut, ae as Qt, a9 as Be, F as da, p as He, f6 as sa, f7 as ca, P as he, f8 as Ft, Q as pa, h as b, w as $t, z as D, m as o, C as O, ad as Y, f9 as ua, aE as ga, am as ha, T as G, bs as fe, q as N, aB as dt, i as z, y as be, ap as Vt, a5 as ma, bv as fa, A as ce, fa as ba, as as ke, $ as $e, u as ye, fb as xa, bF as ka, bH as ya, cL as Ce, du as Jt, aq as st, k as wa, fc as Ie, a4 as _, c_ as q, o as v, c0 as _a, fd as _t, a as qe, fe as Ca, ff as va, fg as Xt, fh as Sa, fi as Ma, ce as Ia, cf as Da, fj as Aa, fk as La, fl as Ta, dO as Na, cd as ja, fm as Oa, cZ as Kt, fn as Ea, dl as za, b6 as Ra, ew as Za, _ as Wa, aY as er, aZ as tr, fo as qa, cw as Ga, fp as Pa, ey as Ba, cW as Ha, fq as Ya } from "./use-common-filters-B1RKY2KD-bfb849c7.js";
2
+ var Ua = Object.defineProperty, Qa = Object.defineProperties, Fa = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, $a = Object.prototype.hasOwnProperty, Va = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? Ua(e, t, {
3
3
  enumerable: !0,
4
4
  configurable: !0,
5
5
  writable: !0,
@@ -11,11 +11,11 @@ var Ua = Object.defineProperty, Fa = Object.defineProperties, Qa = Object.getOwn
11
11
  for (var r of Ct(t))
12
12
  Va.call(t, r) && vt(e, r, t[r]);
13
13
  return e;
14
- }, ne = (e, t) => Fa(e, Qa(t));
14
+ }, ne = (e, t) => Qa(e, Fa(t));
15
15
  let rr = class extends Ht {
16
16
  constructor(t, r) {
17
17
  var a;
18
- super((a = t.jaql.title) !== null && a !== void 0 ? a : "", r), this.expression = t.jaql.dim || t.jaql.formula, this.metadataItem = t, t.jaql.agg ? this.aggregation = t.jaql.agg : delete this.aggregation, t.jaql.formula ? this.formula = t.jaql.formula : delete this.formula, t.jaql.sort ? this.sortType = ra(t.jaql.sort) : delete this.sortType, this.skipValidation = !0;
18
+ super((a = t.jaql.title) !== null && a !== void 0 ? a : "", r), this.__serializable = "JaqlElement", this.expression = t.jaql.dim || t.jaql.formula, this.metadataItem = t, t.jaql.agg ? this.aggregation = t.jaql.agg : delete this.aggregation, t.jaql.formula ? this.formula = t.jaql.formula : delete this.formula, t.jaql.sort ? this.sortType = ra(t.jaql.sort) : delete this.sortType, this.skipValidation = !0;
19
19
  }
20
20
  get id() {
21
21
  return this.expression;
@@ -28,13 +28,13 @@ let rr = class extends Ht {
28
28
  */
29
29
  serialize() {
30
30
  const t = super.serialize();
31
- return t.__serializable = "JaqlElement", t.metadataItem = this.metadataItem, t.type = this.type, t;
31
+ return t.metadataItem = this.metadataItem, t.type = this.type, t;
32
32
  }
33
33
  };
34
34
  const Ja = {
35
- text: Qe.TextAttribute,
36
- numeric: Qe.NumericAttribute,
37
- datetime: Qe.DateLevel
35
+ text: Fe.TextAttribute,
36
+ numeric: Fe.NumericAttribute,
37
+ datetime: Fe.DateLevel
38
38
  };
39
39
  function Xa(e) {
40
40
  var t;
@@ -1117,7 +1117,7 @@ class Zi {
1117
1117
  }, this.httpClient = t;
1118
1118
  }
1119
1119
  }
1120
- const Wi = new Ft({
1120
+ const Wi = new Qt({
1121
1121
  defaultOptions: {
1122
1122
  queries: {
1123
1123
  refetchOnWindowFocus: !1,
@@ -1273,13 +1273,13 @@ const Ui = (e) => {
1273
1273
  g();
1274
1274
  }, [g])
1275
1275
  };
1276
- }, fd = dt("useGetNlqResult")(Ui), Fi = 4, ur = (e) => {
1276
+ }, fd = dt("useGetNlqResult")(Ui), Qi = 4, ur = (e) => {
1277
1277
  const {
1278
1278
  contextTitle: t,
1279
1279
  count: r,
1280
1280
  enableAxisTitlesInWidgetProps: a,
1281
1281
  enabled: i
1282
- } = e, l = X(), d = r ?? Fi, u = (i === void 0 || i === !0) && d > 0, {
1282
+ } = e, l = X(), d = r ?? Qi, u = (i === void 0 || i === !0) && d > 0, {
1283
1283
  isLoading: c,
1284
1284
  isError: g,
1285
1285
  isSuccess: x,
@@ -1313,7 +1313,7 @@ const Ui = (e) => {
1313
1313
  enableInsights: !0,
1314
1314
  numOfRecommendations: 4,
1315
1315
  numOfRecentPrompts: 5
1316
- }), hr = /* @__PURE__ */ Be(I({}, gr)), re = () => st(hr), Qi = ({
1316
+ }), hr = /* @__PURE__ */ Be(I({}, gr)), re = () => st(hr), Fi = ({
1317
1317
  children: e,
1318
1318
  value: t
1319
1319
  }) => {
@@ -1991,7 +1991,7 @@ const Et = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus",
1991
1991
  lt: "<",
1992
1992
  nbsp: " ",
1993
1993
  quot: "“"
1994
- }, Io = ["style", "script"], Do = ["src", "href", "data", "formAction", "srcDoc", "action"], Ao = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, Lo = /mailto:/i, To = /\n{2,}$/, br = /^(\s*>[\s\S]*?)(?=\n\n|$)/, No = /^ *> ?/gm, jo = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, Oo = /^ {2,}\n/, Eo = /^(?:( *[-*_])){3,} *(?:\n *)+\n/, xr = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, kr = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, zo = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, Ro = /^(?:\n *)*\n/, Zo = /\r\n?/g, Wo = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, qo = /^\[\^([^\]]+)]/, Go = /\f/g, Po = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, Bo = /^\s*?\[(x|\s)\]/, yr = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, wr = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, _r = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/, ot = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, Ho = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, Cr = /^<!--[\s\S]*?(?:-->)/, Yo = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, nt = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, Uo = /^\{.*\}$/, Fo = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, Qo = /^<([^ >]+@[^ >]+)>/, $o = /^<([^ >]+:\/[^ >]+)>/, Vo = /-([a-z])?/gi, vr = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, Jo = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, Xo = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, Ko = /^\[([^\]]*)\] ?\[([^\]]*)\]/, en = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, tn = /\t/g, rn = /(^ *\||\| *$)/g, an = /^ *:-+: *$/, on = /^ *:-+ *$/, nn = /^ *-+: *$/, Fe = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)", ln = new RegExp(`^([*_])\\1${Fe}\\1\\1(?!\\1)`), dn = new RegExp(`^([*_])${Fe}\\1(?!\\1)`), sn = new RegExp(`^(==)${Fe}\\1`), cn = new RegExp(`^(~~)${Fe}\\1`), pn = /^\\([^0-9A-Za-z\s])/, Rt = /\\([^0-9A-Za-z\s])/g, un = /^([\s\S](?:(?! |[0-9]\.)[^=*_~\-\n<`\\\[!])*)/, gn = /^\n+/, hn = /^([ \t]*)/, mn = /\\([^\\])/g, fn = /(?:^|\n)( *)$/, ft = "(?:\\d+\\.)", bt = "(?:[*+-])";
1994
+ }, Io = ["style", "script"], Do = ["src", "href", "data", "formAction", "srcDoc", "action"], Ao = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, Lo = /mailto:/i, To = /\n{2,}$/, br = /^(\s*>[\s\S]*?)(?=\n\n|$)/, No = /^ *> ?/gm, jo = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, Oo = /^ {2,}\n/, Eo = /^(?:( *[-*_])){3,} *(?:\n *)+\n/, xr = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, kr = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, zo = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, Ro = /^(?:\n *)*\n/, Zo = /\r\n?/g, Wo = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, qo = /^\[\^([^\]]+)]/, Go = /\f/g, Po = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, Bo = /^\s*?\[(x|\s)\]/, yr = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, wr = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, _r = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/, ot = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, Ho = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, Cr = /^<!--[\s\S]*?(?:-->)/, Yo = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, nt = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, Uo = /^\{.*\}$/, Qo = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, Fo = /^<([^ >]+@[^ >]+)>/, $o = /^<([^ >]+:\/[^ >]+)>/, Vo = /-([a-z])?/gi, vr = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, Jo = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, Xo = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, Ko = /^\[([^\]]*)\] ?\[([^\]]*)\]/, en = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, tn = /\t/g, rn = /(^ *\||\| *$)/g, an = /^ *:-+: *$/, on = /^ *:-+ *$/, nn = /^ *-+: *$/, Qe = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)", ln = new RegExp(`^([*_])\\1${Qe}\\1\\1(?!\\1)`), dn = new RegExp(`^([*_])${Qe}\\1(?!\\1)`), sn = new RegExp(`^(==)${Qe}\\1`), cn = new RegExp(`^(~~)${Qe}\\1`), pn = /^\\([^0-9A-Za-z\s])/, Rt = /\\([^0-9A-Za-z\s])/g, un = /^([\s\S](?:(?! |[0-9]\.)[^=*_~\-\n<`\\\[!])*)/, gn = /^\n+/, hn = /^([ \t]*)/, mn = /\\([^\\])/g, fn = /(?:^|\n)( *)$/, ft = "(?:\\d+\\.)", bt = "(?:[*+-])";
1995
1995
  function Sr(e) {
1996
1996
  return "( *)(" + (e === 1 ? ft : bt) + ") +";
1997
1997
  }
@@ -2237,21 +2237,21 @@ function Nn(e = "", t = {}) {
2237
2237
  if (M === "ref")
2238
2238
  return h;
2239
2239
  const A = h[M] = function(S, L, R, de) {
2240
- return L === "style" ? function(Q) {
2240
+ return L === "style" ? function(F) {
2241
2241
  const H = [];
2242
2242
  let $ = "", V = !1, W = !1, K = "";
2243
- if (!Q)
2243
+ if (!F)
2244
2244
  return H;
2245
- for (let U = 0; U < Q.length; U++) {
2246
- const P = Q[U];
2245
+ for (let U = 0; U < F.length; U++) {
2246
+ const P = F[U];
2247
2247
  if (P !== '"' && P !== "'" || V || (W ? P === K && (W = !1, K = "") : (W = !0, K = P)), P === "(" && $.endsWith("url") ? V = !0 : P === ")" && V && (V = !1), P !== ";" || W || V)
2248
2248
  $ += P;
2249
2249
  else {
2250
- const F = $.trim();
2251
- if (F) {
2252
- const ae = F.indexOf(":");
2250
+ const Q = $.trim();
2251
+ if (Q) {
2252
+ const ae = Q.indexOf(":");
2253
2253
  if (ae > 0) {
2254
- const xe = F.slice(0, ae).trim(), j = F.slice(ae + 1).trim();
2254
+ const xe = Q.slice(0, ae).trim(), j = Q.slice(ae + 1).trim();
2255
2255
  H.push([xe, j]);
2256
2256
  }
2257
2257
  }
@@ -2262,13 +2262,13 @@ function Nn(e = "", t = {}) {
2262
2262
  if (E) {
2263
2263
  const U = E.indexOf(":");
2264
2264
  if (U > 0) {
2265
- const P = E.slice(0, U).trim(), F = E.slice(U + 1).trim();
2266
- H.push([P, F]);
2265
+ const P = E.slice(0, U).trim(), Q = E.slice(U + 1).trim();
2266
+ H.push([P, Q]);
2267
2267
  }
2268
2268
  }
2269
2269
  return H;
2270
- }(R).reduce(function(Q, [H, $]) {
2271
- return Q[H.replace(/(-[a-z])/g, (V) => V[1].toUpperCase())] = de($, S, H), Q;
2270
+ }(R).reduce(function(F, [H, $]) {
2271
+ return F[H.replace(/(-[a-z])/g, (V) => V[1].toUpperCase())] = de($, S, H), F;
2272
2272
  }, {}) : Do.indexOf(L) !== -1 ? de(R, S, L) : (R.match(Uo) && (R = R.slice(1, R.length - 1)), R === "true" || R !== "false" && R);
2273
2273
  }(n, C, y, t.sanitizer);
2274
2274
  typeof A == "string" && (ot.test(A) || nt.test(A)) && (h[M] = a(A.trim()));
@@ -2491,7 +2491,7 @@ function Nn(e = "", t = {}) {
2491
2491
  })
2492
2492
  },
2493
2493
  [k.linkBareUrlDetector]: {
2494
- match: me((n, p) => p.inAnchor || t.disableAutoLink ? null : ie(Fo)(n, p)),
2494
+ match: me((n, p) => p.inAnchor || t.disableAutoLink ? null : ie(Qo)(n, p)),
2495
2495
  order: 0,
2496
2496
  parse: (n) => ({
2497
2497
  children: [{
@@ -2504,7 +2504,7 @@ function Nn(e = "", t = {}) {
2504
2504
  })
2505
2505
  },
2506
2506
  [k.linkMailtoDetector]: {
2507
- match: ie(Qo),
2507
+ match: ie(Fo),
2508
2508
  order: 0,
2509
2509
  parse(n) {
2510
2510
  let p = n[1], s = n[1];
@@ -3031,7 +3031,7 @@ const Bn = He(sa, {
3031
3031
  }
3032
3032
  }
3033
3033
  }]
3034
- }), Fn = He(Qt, {
3034
+ }), Qn = He(Ft, {
3035
3035
  name: "MuiDialog",
3036
3036
  slot: "Paper",
3037
3037
  overridesResolver: (e, t) => {
@@ -3146,12 +3146,12 @@ const Bn = He(sa, {
3146
3146
  onClick: C,
3147
3147
  onClose: y,
3148
3148
  open: M,
3149
- PaperComponent: A = Qt,
3149
+ PaperComponent: A = Ft,
3150
3150
  PaperProps: S = {},
3151
3151
  scroll: L = "paper",
3152
3152
  slots: R = {},
3153
3153
  slotProps: de = {},
3154
- TransitionComponent: Q = _t,
3154
+ TransitionComponent: F = _t,
3155
3155
  transitionDuration: H = i,
3156
3156
  TransitionProps: $
3157
3157
  } = l, V = sr(l, ["aria-describedby", "aria-labelledby", "aria-modal", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "slots", "slotProps", "TransitionComponent", "transitionDuration", "TransitionProps"]), W = T(I({}, r), {
@@ -3164,10 +3164,10 @@ const Bn = He(sa, {
3164
3164
  E.current = ue.target === ue.currentTarget;
3165
3165
  }, P = (ue) => {
3166
3166
  C && C(ue), E.current && (E.current = null, w && w(ue), y && y(ue, "backdropClick"));
3167
- }, F = ba(u), ae = G(() => ({
3168
- titleId: F
3169
- }), [F]), xe = I({
3170
- transition: Q
3167
+ }, Q = ba(u), ae = G(() => ({
3168
+ titleId: Q
3169
+ }), [Q]), xe = I({
3170
+ transition: F
3171
3171
  }, R), j = I({
3172
3172
  transition: $,
3173
3173
  paper: S,
@@ -3188,7 +3188,7 @@ const Bn = He(sa, {
3188
3188
  externalForwardedProps: B,
3189
3189
  ownerState: W
3190
3190
  }), [Br, Hr] = ke("paper", {
3191
- elementType: Fn,
3191
+ elementType: Qn,
3192
3192
  shouldForwardComponentProp: !0,
3193
3193
  externalForwardedProps: B,
3194
3194
  ownerState: W,
@@ -3198,7 +3198,7 @@ const Bn = He(sa, {
3198
3198
  externalForwardedProps: B,
3199
3199
  ownerState: W,
3200
3200
  className: $e(K.container)
3201
- }), [Fr, Qr] = ke("transition", {
3201
+ }), [Qr, Fr] = ke("transition", {
3202
3202
  elementType: _t,
3203
3203
  externalForwardedProps: B,
3204
3204
  ownerState: W,
@@ -3225,7 +3225,7 @@ const Bn = He(sa, {
3225
3225
  open: M,
3226
3226
  onClick: P
3227
3227
  }, Ne), V), {
3228
- children: /* @__PURE__ */ ye(Fr, T(I({}, Qr), {
3228
+ children: /* @__PURE__ */ ye(Qr, T(I({}, Fr), {
3229
3229
  children: /* @__PURE__ */ ye(Yr, T(I({
3230
3230
  onMouseDown: U
3231
3231
  }, Ur), {
@@ -3234,7 +3234,7 @@ const Bn = He(sa, {
3234
3234
  elevation: 24,
3235
3235
  role: "dialog",
3236
3236
  "aria-describedby": d,
3237
- "aria-labelledby": F,
3237
+ "aria-labelledby": Q,
3238
3238
  "aria-modal": c
3239
3239
  }, Hr), {
3240
3240
  children: /* @__PURE__ */ ye(zr.Provider, {
@@ -3409,7 +3409,7 @@ process.env.NODE_ENV !== "production" && (Rr.propTypes = {
3409
3409
  */
3410
3410
  TransitionProps: b.object
3411
3411
  });
3412
- function Qn({
3412
+ function Fn({
3413
3413
  fillColor: e = "#262E3D"
3414
3414
  }) {
3415
3415
  return /* @__PURE__ */ v("svg", {
@@ -3774,7 +3774,7 @@ function il({
3774
3774
  }), /* @__PURE__ */ o(tr, {
3775
3775
  onClick: () => r(!1),
3776
3776
  "aria-label": "close expanded chart",
3777
- children: /* @__PURE__ */ o(Qn, {
3777
+ children: /* @__PURE__ */ o(Fn, {
3778
3778
  fillColor: a.aiChat.primaryTextColor
3779
3779
  })
3780
3780
  })]
@@ -4443,7 +4443,7 @@ function Bl({
4443
4443
  } = ro(e, r), {
4444
4444
  mutate: L,
4445
4445
  isLoading: R
4446
- } = mr(A), [de, Q] = z(!1), [H, $] = z(!1), V = () => Q(!0), W = () => Q(!1), K = () => {
4446
+ } = mr(A), [de, F] = z(!1), [H, $] = z(!1), V = () => F(!0), W = () => F(!1), K = () => {
4447
4447
  L(), W();
4448
4448
  }, E = ce(null), U = ce(null), P = () => {
4449
4449
  if (!(E != null && E.current))
@@ -4461,8 +4461,8 @@ function Bl({
4461
4461
  qe(() => {
4462
4462
  E.current && (E.current.scrollTop = E.current.scrollHeight);
4463
4463
  }, [m, de, C]);
4464
- const F = ce(null), ae = c ? /* @__PURE__ */ o(qr, {
4465
- ref: F,
4464
+ const Q = ce(null), ae = c ? /* @__PURE__ */ o(qr, {
4465
+ ref: Q,
4466
4466
  title: e,
4467
4467
  leftNav: t && /* @__PURE__ */ o(Cl, {
4468
4468
  onClick: t,
@@ -4553,11 +4553,11 @@ const Hl = /* @__PURE__ */ _("button", {
4553
4553
  theme: e
4554
4554
  }) => e.aiChat.primaryFontSize[1], ";color:", ({
4555
4555
  theme: e
4556
- }) => er(e.aiChat.dataTopics.items.textColor, 0, 0.5), ";"), Fl = /* @__PURE__ */ _("div", {
4556
+ }) => er(e.aiChat.dataTopics.items.textColor, 0, 0.5), ";"), Ql = /* @__PURE__ */ _("div", {
4557
4557
  target: "e5a38pw3",
4558
4558
  label: "IconContainer"
4559
4559
  })("width:16px;height:16px;transform:rotate(180deg);");
4560
- function Ql(e) {
4560
+ function Fl(e) {
4561
4561
  const {
4562
4562
  title: t,
4563
4563
  description: r,
@@ -4576,7 +4576,7 @@ function Ql(e) {
4576
4576
  theme: i,
4577
4577
  children: r
4578
4578
  })]
4579
- }), /* @__PURE__ */ o(Fl, {
4579
+ }), /* @__PURE__ */ o(Ql, {
4580
4580
  children: /* @__PURE__ */ o(Wr, {
4581
4581
  color: i.aiChat.icons.color
4582
4582
  })
@@ -4612,7 +4612,7 @@ function Xl(e) {
4612
4612
  }), /* @__PURE__ */ v(Jl, {
4613
4613
  theme: r,
4614
4614
  children: [a("ai.chatbotDescription"), /* @__PURE__ */ o("br", {}), /* @__PURE__ */ o("br", {}), a("ai.topicSelectPrompt")]
4615
- }), t.map((i) => /* @__PURE__ */ Ea(Ql, T(I({}, i), {
4615
+ }), t.map((i) => /* @__PURE__ */ Ea(Fl, T(I({}, i), {
4616
4616
  key: i.title
4617
4617
  })))]
4618
4618
  });
@@ -4764,7 +4764,7 @@ const yd = $t({
4764
4764
  } = e, {
4765
4765
  themeSettings: i
4766
4766
  } = D();
4767
- return /* @__PURE__ */ o(Qi, {
4767
+ return /* @__PURE__ */ o(Fi, {
4768
4768
  value: a ?? {},
4769
4769
  children: /* @__PURE__ */ o(lo, {
4770
4770
  id: "csdk-chatbot-frame",
@@ -4904,7 +4904,7 @@ const ld = /* @__PURE__ */ _("div", {
4904
4904
  summary: c
4905
4905
  })
4906
4906
  })) : /* @__PURE__ */ o(Y, {});
4907
- }, cd = new Ft({
4907
+ }, cd = new Qt({
4908
4908
  defaultOptions: {
4909
4909
  queries: {
4910
4910
  refetchOnWindowFocus: !1,
@@ -4942,7 +4942,7 @@ export {
4942
4942
  Zi as ChatRestApi,
4943
4943
  yd as Chatbot,
4944
4944
  Cd as CustomAiContextProvider,
4945
- Fi as DEFAULT_RECOMMENDATIONS_COUNT,
4945
+ Qi as DEFAULT_RECOMMENDATIONS_COUNT,
4946
4946
  wd as GetNlgInsights,
4947
4947
  Hi as NLQ_RESULT_CHART_TYPES,
4948
4948
  _d as NlqChartWidget,