@sisense/sdk-ui-preact 2.14.0 → 2.15.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,4 +1,4 @@
1
- import { w as Xe, b as Vt, c6 as aa, fz as ia, fA as oa, fB as na, fC as la, fD as sa, fE as da, j as De, bH as Ge, bG as ca, cK as pa, bN as ua, bp as G, fF as Ie, aD as ut, cm as ot, b0 as ga, av as Ze, fG as ha, fH as ma, cr as Jt, a0 as fa, eZ as ba, v as Xt, af as Kt, H as Ue, I as xa, m as Qe, fI as ka, fJ as ya, U as fe, fK as er, V as wa, M as f, i as tr, z as D, k as n, K as E, ae as Y, fL as Ca, aA as _a, an as va, T as P, bx as xe, C as j, aw as gt, t as R, y as ke, aq as rr, a4 as Sa, bA as Ma, A as pe, fM as Ia, at as we, a2 as Ke, u as Ce, fN as Da, bJ as Aa, bL as La, cL as Me, dA as ar, ar as ht, o as Ta, fO as Le, a8 as C, c_ as q, n as v, c3 as Na, fP as It, a as Be, fQ as ja, fR as Oa, fS as ir, fT as Ea, fU as za, cI as Ra, cJ as Za, fV as Wa, fW as qa, fX as Pa, dS as Ga, c5 as Ba, fY as Ha, cZ as or, fZ as Ya, dl as $a, b7 as Ua, eo as Qa, _ as Fa, b2 as nr, b3 as lr, f_ as Va, f$ as Ja, cj as Xa, eF as Ka, cW as ei, g0 as ti } from "./use-common-filters-BGrn7zoW-a71b747c.js";
1
+ import { w as Xe, b as Vt, c6 as aa, fA as ia, fB as oa, fC as na, fD as la, fE as sa, fF as da, j as De, bH as Ge, bG as ca, cK as pa, bN as ua, bp as G, fG as Ie, aD as ut, cm as ot, b0 as ga, av as Ze, fH as ha, fI as ma, cr as Jt, a0 as ba, eZ as fa, v as Xt, af as Kt, N as Ue, O as xa, m as Qe, fJ as ka, fK as ya, V as be, fL as er, W as wa, M as b, i as tr, z as D, k as n, K as E, ae as Y, fM as Ca, aA as _a, an as va, T as P, bx as xe, F as j, aw as gt, x as R, y as ke, aq as rr, a4 as Sa, bA as Ma, A as pe, fN as Ia, at as we, a2 as Ke, u as Ce, fO as Da, bJ as Aa, bL as La, cL as Me, dA as ar, ar as ht, p as Ta, fP as Le, a8 as C, c_ as q, o as v, c3 as Na, fQ as It, a as Be, fR as ja, fS as Oa, fT as ir, fU as Ea, fV as za, cI as Ra, cJ as Za, fW as Wa, fX as qa, fY as Pa, dS as Ga, c5 as Ba, fZ as Ha, cZ as or, f_ as Ya, dl as $a, b7 as Ua, eo as Qa, _ as Fa, b2 as nr, b3 as lr, f$ as Va, g0 as Ja, cj as Xa, eF as Ka, cW as ei, g1 as ti } from "./use-common-filters-8MsC7-0N-3b3577ae.js";
2
2
  let sr = class extends Vt {
3
3
  constructor(t, r) {
4
4
  var a;
@@ -584,7 +584,7 @@ import { DashboardById } from '@sisense/sdk-ui-vue';
584
584
  }, gr = (e, t) => hi[t][e].replace(/{{(.*?)Tmpl}}/g, (r, a) => gr(`${a}Tmpl`, t)), mi = (e, t) => e.replace(/{{(.*?)}}/g, (r, a) => a in t ? t[a] : (console.warn(`Placeholder ${a} not found in data`), r)), nt = (e, t, r = "react") => {
585
585
  const a = gr(e, r);
586
586
  return ui(mi(a, t));
587
- }, fi = () => Object.values(ma).map((e) => Jt.aggregationToJAQL(e)).join("|"), hr = (e) => {
587
+ }, bi = () => Object.values(ma).map((e) => Jt.aggregationToJAQL(e)).join("|"), hr = (e) => {
588
588
  const {
589
589
  formula: t,
590
590
  context: r,
@@ -598,15 +598,15 @@ import { DashboardById } from '@sisense/sdk-ui-vue';
598
598
  const l = i[0];
599
599
  if (typeof l != "string")
600
600
  return e;
601
- const s = r[`${l}`], u = fi(), c = new RegExp(`^\\s*(${u})\\(\\[\\w+\\]\\)$`), g = t.match(c);
601
+ const s = r[`${l}`], u = bi(), c = new RegExp(`^\\s*(${u})\\(\\[\\w+\\]\\)$`), g = t.match(c);
602
602
  if (g && t.includes(l)) {
603
- const b = g[1];
603
+ const f = g[1];
604
604
  return O({
605
605
  dim: s.dim,
606
606
  table: s.table,
607
607
  column: s.column,
608
608
  datatype: s.datatype,
609
- agg: b,
609
+ agg: f,
610
610
  title: e.title
611
611
  }, a ? {
612
612
  filter: O({}, a)
@@ -622,7 +622,7 @@ import { DashboardById } from '@sisense/sdk-ui-vue';
622
622
  }), t.context = r;
623
623
  }
624
624
  return t;
625
- }, bi = (e) => {
625
+ }, fi = (e) => {
626
626
  var t;
627
627
  const r = e;
628
628
  if (r.panel !== "scope")
@@ -635,7 +635,7 @@ import { DashboardById } from '@sisense/sdk-ui-vue';
635
635
  });
636
636
  }, xi = (e) => {
637
637
  let t = e;
638
- t = bi(t);
638
+ t = fi(t);
639
639
  const {
640
640
  jaql: r,
641
641
  measure: a,
@@ -831,7 +831,7 @@ const yi = {
831
831
  }
832
832
  };
833
833
  function _e(e) {
834
- return fa({}, wi, e);
834
+ return ba({}, wi, e);
835
835
  }
836
836
  const Ii = {
837
837
  subtype: "pie/classic",
@@ -894,7 +894,7 @@ const Ii = {
894
894
  mode: "value"
895
895
  }
896
896
  }, Ti = {
897
- subtype: ba.SUBTYPE,
897
+ subtype: fa.SUBTYPE,
898
898
  viewType: "month",
899
899
  startOfWeek: "sunday",
900
900
  cellLabels: {
@@ -1321,7 +1321,7 @@ const Ki = (e) => {
1321
1321
  const a = e.reduce((l, s) => (l[s.jaql.title] = s, l), {}), i = Object.entries(r).reduce((l, s) => {
1322
1322
  const [u, c] = s;
1323
1323
  return l[`${u}`] = Array.isArray(c) ? c.map((g) => {
1324
- var b, x;
1324
+ var f, x;
1325
1325
  const o = ot(g);
1326
1326
  delete o.enabled;
1327
1327
  const p = a[o.column.name];
@@ -1338,7 +1338,7 @@ const Ki = (e) => {
1338
1338
  column: d
1339
1339
  });
1340
1340
  if (ga(d.type)) {
1341
- const m = (x = (b = p.format) == null ? void 0 : b.mask) == null ? void 0 : x[p.jaql.level];
1341
+ const m = (x = (f = p.format) == null ? void 0 : f.mask) == null ? void 0 : x[p.jaql.level];
1342
1342
  if (m)
1343
1343
  return ee(O({}, o), {
1344
1344
  column: d,
@@ -1441,7 +1441,7 @@ const Ki = (e) => {
1441
1441
  datasource: u
1442
1442
  } = a, c = ee(O({}, u), {
1443
1443
  type: u.type || "elasticube"
1444
- }), g = sa(c), b = Ki(s).map((I) => xi(I)).map((I) => ee(O({}, I), {
1444
+ }), g = sa(c), f = Ki(s).map((I) => xi(I)).map((I) => ee(O({}, I), {
1445
1445
  jaql: ee(O({}, I.jaql), {
1446
1446
  datasource: g
1447
1447
  })
@@ -1454,7 +1454,7 @@ const Ki = (e) => {
1454
1454
  }, {
1455
1455
  metadataColumns: d,
1456
1456
  metadataFilters: m
1457
- } = lo(b), h = no(m), {
1457
+ } = lo(f), h = no(m), {
1458
1458
  dataOptions: w,
1459
1459
  chartStyleOptions: _
1460
1460
  } = io(d, x, r), y = O(O({}, _), p);
@@ -1479,7 +1479,7 @@ const Ki = (e) => {
1479
1479
  }, Symbol.toStringTag, {
1480
1480
  value: "Module"
1481
1481
  }));
1482
- var po = Object.defineProperty, uo = Object.defineProperties, go = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, mr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? po(e, t, {
1482
+ var po = Object.defineProperty, uo = Object.defineProperties, go = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? po(e, t, {
1483
1483
  enumerable: !0,
1484
1484
  configurable: !0,
1485
1485
  writable: !0,
@@ -1489,15 +1489,15 @@ var po = Object.defineProperty, uo = Object.defineProperties, go = Object.getOwn
1489
1489
  mr.call(t, r) && Zt(e, r, t[r]);
1490
1490
  if (Ye)
1491
1491
  for (var r of Ye(t))
1492
- fr.call(t, r) && Zt(e, r, t[r]);
1492
+ br.call(t, r) && Zt(e, r, t[r]);
1493
1493
  return e;
1494
- }, T = (e, t) => uo(e, go(t)), br = (e, t) => {
1494
+ }, T = (e, t) => uo(e, go(t)), fr = (e, t) => {
1495
1495
  var r = {};
1496
1496
  for (var a in e)
1497
1497
  mr.call(e, a) && t.indexOf(a) < 0 && (r[a] = e[a]);
1498
1498
  if (e != null && Ye)
1499
1499
  for (var a of Ye(e))
1500
- t.indexOf(a) < 0 && fr.call(e, a) && (r[a] = e[a]);
1500
+ t.indexOf(a) < 0 && br.call(e, a) && (r[a] = e[a]);
1501
1501
  return r;
1502
1502
  }, le = (e, t, r) => new Promise((a, i) => {
1503
1503
  var l = (c) => {
@@ -1581,14 +1581,14 @@ class ho extends Wa {
1581
1581
  }
1582
1582
  }
1583
1583
  t.listeners && this.listeners.forEach(({
1584
- listener: b
1584
+ listener: f
1585
1585
  }) => {
1586
- b(this.currentResult);
1586
+ f(this.currentResult);
1587
1587
  });
1588
1588
  });
1589
1589
  }
1590
1590
  }
1591
- function ft(e, t, r) {
1591
+ function bt(e, t, r) {
1592
1592
  const a = ja(e, t), i = Le({
1593
1593
  context: a.context
1594
1594
  }), [l] = R(() => new ho(i, a));
@@ -1607,7 +1607,7 @@ function ft(e, t, r) {
1607
1607
  }
1608
1608
  function mo() {
1609
1609
  }
1610
- const xr = /* @__PURE__ */ Ue({}), fo = () => ht(xr), kr = ({
1610
+ const xr = /* @__PURE__ */ Ue({}), bo = () => ht(xr), kr = ({
1611
1611
  children: e
1612
1612
  }) => {
1613
1613
  const [t, r] = R({}), a = j((s, u) => {
@@ -1626,7 +1626,7 @@ const xr = /* @__PURE__ */ Ue({}), fo = () => ht(xr), kr = ({
1626
1626
  children: e
1627
1627
  });
1628
1628
  };
1629
- class bo {
1629
+ class fo {
1630
1630
  constructor(t, r = !1) {
1631
1631
  this.volatile = r, this.getChatContexts = () => le(this, null, function* () {
1632
1632
  return (yield this.httpClient.get("api/datasources//")) || [];
@@ -1661,14 +1661,14 @@ const xo = new Kt({
1661
1661
  refetchOnMount: !1
1662
1662
  }
1663
1663
  }
1664
- }), bt = /* @__PURE__ */ Ue(void 0), te = () => ht(bt), ko = ({
1664
+ }), ft = /* @__PURE__ */ Ue(void 0), te = () => ht(ft), ko = ({
1665
1665
  children: e,
1666
1666
  volatile: t
1667
1667
  }) => {
1668
1668
  const {
1669
1669
  app: r
1670
- } = Ta(), a = P(() => r ? new bo(r.httpClient, t) : void 0, [r, t]);
1671
- return /* @__PURE__ */ n(bt.Provider, {
1670
+ } = Ta(), a = P(() => r ? new fo(r.httpClient, t) : void 0, [r, t]);
1671
+ return /* @__PURE__ */ n(ft.Provider, {
1672
1672
  value: a,
1673
1673
  children: /* @__PURE__ */ n(ar, {
1674
1674
  client: xo,
@@ -1726,9 +1726,9 @@ const Fe = (e, t = !0) => {
1726
1726
  } = xe({
1727
1727
  queryKey: ["getNlgInsights", r, a],
1728
1728
  queryFn: () => a == null ? void 0 : a.ai.getNlgInsights(r),
1729
- select: (b) => {
1729
+ select: (f) => {
1730
1730
  var x;
1731
- return (x = b == null ? void 0 : b.data) == null ? void 0 : x.answer;
1731
+ return (x = f == null ? void 0 : f.data) == null ? void 0 : x.answer;
1732
1732
  },
1733
1733
  enabled: !!a && t
1734
1734
  });
@@ -1745,7 +1745,7 @@ const Fe = (e, t = !0) => {
1745
1745
  }, wo = (e) => {
1746
1746
  const t = e, {
1747
1747
  enabled: r
1748
- } = t, a = br(t, ["enabled"]);
1748
+ } = t, a = fr(t, ["enabled"]);
1749
1749
  return Fe(a, r);
1750
1750
  }, $s = gt("useGetNlgInsights")(wo), Co = ["indicator", "column", "line", "table", "pie", "bar"];
1751
1751
  function yr(e) {
@@ -1788,7 +1788,7 @@ const vo = (e) => {
1788
1788
  isSuccess: u,
1789
1789
  data: c,
1790
1790
  error: g,
1791
- refetch: b
1791
+ refetch: f
1792
1792
  } = xe({
1793
1793
  queryKey: i,
1794
1794
  queryFn: () => a ? _o(e, a).then((x) => x.widgetProps) : Promise.reject("No API available"),
@@ -1801,8 +1801,8 @@ const vo = (e) => {
1801
1801
  data: c,
1802
1802
  error: g,
1803
1803
  refetch: j(() => {
1804
- b();
1805
- }, [b])
1804
+ f();
1805
+ }, [f])
1806
1806
  };
1807
1807
  }, Us = gt("useGetNlqResult")(vo), So = 4, wr = (e) => {
1808
1808
  const {
@@ -1813,7 +1813,7 @@ const vo = (e) => {
1813
1813
  customPrompt: l
1814
1814
  } = e, s = te(), u = r ?? So, c = (i === void 0 || i === !0) && u > 0, {
1815
1815
  isLoading: g,
1816
- isError: b,
1816
+ isError: f,
1817
1817
  isSuccess: x,
1818
1818
  data: o,
1819
1819
  error: p,
@@ -1833,7 +1833,7 @@ const vo = (e) => {
1833
1833
  })), [o, a]);
1834
1834
  return {
1835
1835
  isLoading: c ? g : !1,
1836
- isError: b,
1836
+ isError: f,
1837
1837
  isSuccess: x,
1838
1838
  data: m ?? void 0,
1839
1839
  error: p,
@@ -1880,7 +1880,7 @@ const vo = (e) => {
1880
1880
  });
1881
1881
  }, vr = (e) => {
1882
1882
  const t = te(), r = Le();
1883
- return ft({
1883
+ return bt({
1884
1884
  mutationFn: () => le(void 0, null, function* () {
1885
1885
  if (!(!t || !e))
1886
1886
  return t.ai.chat.clearHistory(e);
@@ -1939,7 +1939,7 @@ const vo = (e) => {
1939
1939
  isLoading: r
1940
1940
  };
1941
1941
  }, Lo = (e, t, r) => {
1942
- const a = Le(), i = te(), l = ft({
1942
+ const a = Le(), i = te(), l = bt({
1943
1943
  mutationFn: () => le(void 0, null, function* () {
1944
1944
  if (!(!i || !e))
1945
1945
  return i.ai.chat.create(e, r);
@@ -1974,7 +1974,7 @@ const vo = (e) => {
1974
1974
  } = E(), l = te(), {
1975
1975
  mutate: s,
1976
1976
  isLoading: u
1977
- } = ft({
1977
+ } = bt({
1978
1978
  mutationFn: (c) => le(void 0, null, function* () {
1979
1979
  if (!(!l || !e))
1980
1980
  return l.ai.chat.post(e, {
@@ -2014,17 +2014,17 @@ const vo = (e) => {
2014
2014
  const {
2015
2015
  data: i,
2016
2016
  isLoading: l
2017
- } = Ao(), s = fo(), u = s.getChatId(e, t) || ((a = i.find((x) => {
2017
+ } = Ao(), s = bo(), u = s.getChatId(e, t) || ((a = i.find((x) => {
2018
2018
  var o;
2019
2019
  return x.contextTitle === e && ((o = x.contextDetails) == null ? void 0 : o.dashboardId) === (t == null ? void 0 : t.dashboardId);
2020
2020
  })) == null ? void 0 : a.chatId), {
2021
2021
  isError: c,
2022
2022
  data: g,
2023
- isSuccess: b
2023
+ isSuccess: f
2024
2024
  } = Lo(e, r && !l && !u, t);
2025
2025
  return ke(() => {
2026
- b && g && !u && s.saveChatId(g.chatId, e, t);
2027
- }, [g, b, e, t, u, s]), {
2026
+ f && g && !u && s.saveChatId(g.chatId, e, t);
2027
+ }, [g, f, e, t, u, s]), {
2028
2028
  chatId: u,
2029
2029
  isLoading: l,
2030
2030
  isError: c
@@ -2047,11 +2047,11 @@ const vo = (e) => {
2047
2047
  } = yt(e, t, !0), [s, u] = R(null), {
2048
2048
  history: c,
2049
2049
  isLoading: g,
2050
- isError: b
2050
+ isError: f
2051
2051
  } = kt(i);
2052
2052
  ke(() => {
2053
- l ? u(new De("ai.errors.chatUnavailable")) : b && u(new De("ai.errors.fetchHistory"));
2054
- }, [l, b, r]);
2053
+ l ? u(new De("ai.errors.chatUnavailable")) : f && u(new De("ai.errors.fetchHistory"));
2054
+ }, [l, f, r]);
2055
2055
  const {
2056
2056
  mutate: x,
2057
2057
  isLoading: o
@@ -2257,7 +2257,7 @@ function Fo({
2257
2257
  themeSettings: c
2258
2258
  } = D(), {
2259
2259
  t: g
2260
- } = E(), b = u.length === 1;
2260
+ } = E(), f = u.length === 1;
2261
2261
  return /* @__PURE__ */ n(or, {
2262
2262
  open: st(l) && u.length > 0,
2263
2263
  anchorEl: i,
@@ -2277,7 +2277,7 @@ function Fo({
2277
2277
  },
2278
2278
  theme: c,
2279
2279
  children: [r && /* @__PURE__ */ n(Ve, {}), !r && !s && u.map((x) => /* @__PURE__ */ n($o, T(M({}, x), {
2280
- alwaysExpanded: b
2280
+ alwaysExpanded: f
2281
2281
  }), x.title)), s && /* @__PURE__ */ n(Qo, {
2282
2282
  theme: c,
2283
2283
  children: g("ai.errors.recommendationsNotAvailable")
@@ -2401,7 +2401,7 @@ function on({
2401
2401
  onChange: u
2402
2402
  }) {
2403
2403
  const [c, g] = R(""), {
2404
- inputPromptText: b
2404
+ inputPromptText: f
2405
2405
  } = ie(), x = j(() => {
2406
2406
  if (r)
2407
2407
  return;
@@ -2469,7 +2469,7 @@ function on({
2469
2469
  rows: 1,
2470
2470
  onChange: d,
2471
2471
  spellCheck: "true",
2472
- placeholder: b,
2472
+ placeholder: f,
2473
2473
  value: c,
2474
2474
  onKeyDown: p,
2475
2475
  theme: h
@@ -2625,7 +2625,7 @@ const Pt = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus",
2625
2625
  lt: "<",
2626
2626
  nbsp: " ",
2627
2627
  quot: "“"
2628
- }, un = ["style", "script"], gn = ["src", "href", "data", "formAction", "srcDoc", "action"], hn = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, mn = /mailto:/i, fn = /\n{2,}$/, Dr = /^(\s*>[\s\S]*?)(?=\n\n|$)/, bn = /^ *> ?/gm, xn = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, kn = /^ {2,}\n/, yn = /^(?:( *[-*_])){3,} *(?:\n *)+\n/, Ar = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, Lr = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, wn = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, Cn = /^(?:\n *)*\n/, _n = /\r\n?/g, vn = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, Sn = /^\[\^([^\]]+)]/, Mn = /\f/g, In = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, Dn = /^\s*?\[(x|\s)\]/, Tr = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, Nr = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, jr = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/, dt = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, An = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, Or = /^<!--[\s\S]*?(?:-->)/, Ln = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, ct = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, Tn = /^\{.*\}$/, Nn = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, jn = /^<([^ >]+@[^ >]+)>/, On = /^<([^ >]+:\/[^ >]+)>/, En = /-([a-z])?/gi, Er = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, zn = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, Rn = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, Zn = /^\[([^\]]*)\] ?\[([^\]]*)\]/, Wn = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, qn = /\t/g, Pn = /(^ *\||\| *$)/g, Gn = /^ *:-+: *$/, Bn = /^ *:-+ *$/, Hn = /^ *-+: *$/, Je = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)", Yn = new RegExp(`^([*_])\\1${Je}\\1\\1(?!\\1)`), $n = new RegExp(`^([*_])${Je}\\1(?!\\1)`), Un = new RegExp(`^(==)${Je}\\1`), Qn = new RegExp(`^(~~)${Je}\\1`), Fn = /^\\([^0-9A-Za-z\s])/, Bt = /\\([^0-9A-Za-z\s])/g, Vn = /^([\s\S](?:(?! |[0-9]\.)[^=*_~\-\n<`\\\[!])*)/, Jn = /^\n+/, Xn = /^([ \t]*)/, Kn = /\\([^\\])/g, el = /(?:^|\n)( *)$/, _t = "(?:\\d+\\.)", vt = "(?:[*+-])";
2628
+ }, un = ["style", "script"], gn = ["src", "href", "data", "formAction", "srcDoc", "action"], hn = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, mn = /mailto:/i, bn = /\n{2,}$/, Dr = /^(\s*>[\s\S]*?)(?=\n\n|$)/, fn = /^ *> ?/gm, xn = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, kn = /^ {2,}\n/, yn = /^(?:( *[-*_])){3,} *(?:\n *)+\n/, Ar = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, Lr = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, wn = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, Cn = /^(?:\n *)*\n/, _n = /\r\n?/g, vn = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, Sn = /^\[\^([^\]]+)]/, Mn = /\f/g, In = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, Dn = /^\s*?\[(x|\s)\]/, Tr = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, Nr = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, jr = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/, dt = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, An = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, Or = /^<!--[\s\S]*?(?:-->)/, Ln = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, ct = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, Tn = /^\{.*\}$/, Nn = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, jn = /^<([^ >]+@[^ >]+)>/, On = /^<([^ >]+:\/[^ >]+)>/, En = /-([a-z])?/gi, Er = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, zn = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, Rn = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, Zn = /^\[([^\]]*)\] ?\[([^\]]*)\]/, Wn = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, qn = /\t/g, Pn = /(^ *\||\| *$)/g, Gn = /^ *:-+: *$/, Bn = /^ *:-+ *$/, Hn = /^ *-+: *$/, Je = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)", Yn = new RegExp(`^([*_])\\1${Je}\\1\\1(?!\\1)`), $n = new RegExp(`^([*_])${Je}\\1(?!\\1)`), Un = new RegExp(`^(==)${Je}\\1`), Qn = new RegExp(`^(~~)${Je}\\1`), Fn = /^\\([^0-9A-Za-z\s])/, Bt = /\\([^0-9A-Za-z\s])/g, Vn = /^([\s\S](?:(?! |[0-9]\.)[^=*_~\-\n<`\\\[!])*)/, Jn = /^\n+/, Xn = /^([ \t]*)/, Kn = /\\([^\\])/g, el = /(?:^|\n)( *)$/, _t = "(?:\\d+\\.)", vt = "(?:[*+-])";
2629
2629
  function zr(e) {
2630
2630
  return "( *)(" + (e === 1 ? _t : vt) + ") +";
2631
2631
  }
@@ -2646,18 +2646,18 @@ const Gr = Pr(1), Br = Pr(2);
2646
2646
  function Ht(e, t) {
2647
2647
  const r = t === 1, a = r ? Gr : Br, i = r ? al : il, l = r ? tl : rl;
2648
2648
  return {
2649
- match: be(function(s, u) {
2649
+ match: fe(function(s, u) {
2650
2650
  const c = el.exec(u.prevCapture);
2651
2651
  return c && (u.list || !u.inline && !u.simple) ? a.exec(s = c[1] + s) : null;
2652
2652
  }),
2653
2653
  order: 1,
2654
2654
  parse(s, u, c) {
2655
- const g = r ? +s[2] : void 0, b = s[0].replace(fn, `
2655
+ const g = r ? +s[2] : void 0, f = s[0].replace(bn, `
2656
2656
  `).match(i);
2657
2657
  let x = !1;
2658
2658
  return {
2659
- items: b.map(function(o, p) {
2660
- const d = l.exec(o)[0].length, m = new RegExp("^ {1," + d + "}", "gm"), h = o.replace(m, "").replace(l, ""), w = p === b.length - 1, _ = h.indexOf(`
2659
+ items: f.map(function(o, p) {
2660
+ const d = l.exec(o)[0].length, m = new RegExp("^ {1," + d + "}", "gm"), h = o.replace(m, "").replace(l, ""), w = p === f.length - 1, _ = h.indexOf(`
2661
2661
 
2662
2662
  `) !== -1 || w && x;
2663
2663
  x = _;
@@ -2676,9 +2676,9 @@ function Ht(e, t) {
2676
2676
  render: (s, u, c) => e(s.ordered ? "ol" : "ul", {
2677
2677
  key: c.key,
2678
2678
  start: s.type === k.orderedList ? s.start : void 0
2679
- }, s.items.map(function(g, b) {
2679
+ }, s.items.map(function(g, f) {
2680
2680
  return e("li", {
2681
- key: b
2681
+ key: f
2682
2682
  }, u(g, c));
2683
2683
  }))
2684
2684
  };
@@ -2706,8 +2706,8 @@ function Yt(e, t, r, a) {
2706
2706
  const c = l[l.length - 1];
2707
2707
  c.push.apply(c, t(s, r)), s = "";
2708
2708
  }
2709
- return e.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((c, g, b) => {
2710
- c.trim() === "|" && (u(), a) ? g !== 0 && g !== b.length - 1 && l.push([]) : s += c;
2709
+ return e.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((c, g, f) => {
2710
+ c.trim() === "|" && (u(), a) ? g !== 0 && g !== f.length - 1 && l.push([]) : s += c;
2711
2711
  }), u(), r.inTable = i, l;
2712
2712
  }
2713
2713
  function dl(e, t, r) {
@@ -2733,16 +2733,16 @@ function $t(e, t) {
2733
2733
  textAlign: e.align[t]
2734
2734
  };
2735
2735
  }
2736
- function be(e) {
2736
+ function fe(e) {
2737
2737
  return e.inline = 1, e;
2738
2738
  }
2739
2739
  function oe(e) {
2740
- return be(function(t, r) {
2740
+ return fe(function(t, r) {
2741
2741
  return r.inline ? e.exec(t) : null;
2742
2742
  });
2743
2743
  }
2744
2744
  function ne(e) {
2745
- return be(function(t, r) {
2745
+ return fe(function(t, r) {
2746
2746
  return r.inline || r.simple ? e.exec(t) : null;
2747
2747
  });
2748
2748
  }
@@ -2752,7 +2752,7 @@ function re(e) {
2752
2752
  };
2753
2753
  }
2754
2754
  function Se(e) {
2755
- return be(function(t) {
2755
+ return fe(function(t) {
2756
2756
  return e.exec(t);
2757
2757
  });
2758
2758
  }
@@ -2817,7 +2817,7 @@ function at(e, t, r) {
2817
2817
  i.shift();
2818
2818
  return a || r;
2819
2819
  }
2820
- function fl(e = "", t = {}) {
2820
+ function bl(e = "", t = {}) {
2821
2821
  function r(o, p, ...d) {
2822
2822
  const m = at(t.overrides, `${o}.props`, {});
2823
2823
  return t.createElement(function(h, w) {
@@ -2917,7 +2917,7 @@ function fl(e = "", t = {}) {
2917
2917
  match: re(Dr),
2918
2918
  order: 1,
2919
2919
  parse(o, p, d) {
2920
- const [, m, h] = o[0].replace(bn, "").match(xn);
2920
+ const [, m, h] = o[0].replace(fn, "").match(xn);
2921
2921
  return {
2922
2922
  alert: m,
2923
2923
  children: p(h, d)
@@ -3125,7 +3125,7 @@ function fl(e = "", t = {}) {
3125
3125
  })
3126
3126
  },
3127
3127
  [k.linkBareUrlDetector]: {
3128
- match: be((o, p) => p.inAnchor || t.disableAutoLink ? null : oe(Nn)(o, p)),
3128
+ match: fe((o, p) => p.inAnchor || t.disableAutoLink ? null : oe(Nn)(o, p)),
3129
3129
  order: 0,
3130
3130
  parse: (o) => ({
3131
3131
  children: [{
@@ -3162,7 +3162,7 @@ function fl(e = "", t = {}) {
3162
3162
  `
3163
3163
  },
3164
3164
  [k.paragraph]: {
3165
- match: be(cl),
3165
+ match: fe(cl),
3166
3166
  order: 3,
3167
3167
  parse: et,
3168
3168
  render: (o, p, d) => r("p", {
@@ -3317,7 +3317,7 @@ function fl(e = "", t = {}) {
3317
3317
  `).replace(Mn, "").replace(qn, " ");
3318
3318
  }(m), h);
3319
3319
  };
3320
- }(u), g = (b = /* @__PURE__ */ function(o, p) {
3320
+ }(u), g = (f = /* @__PURE__ */ function(o, p) {
3321
3321
  return function(d, m, h) {
3322
3322
  const w = o[d.type].render;
3323
3323
  return p ? p(() => w(d, m, h), d, m, h) : w(d, m, h);
@@ -3333,9 +3333,9 @@ function fl(e = "", t = {}) {
3333
3333
  }
3334
3334
  return d.key = m, h;
3335
3335
  }
3336
- return b(p, o, d);
3336
+ return f(p, o, d);
3337
3337
  });
3338
- var b;
3338
+ var f;
3339
3339
  const x = a(e);
3340
3340
  return l.length ? r("div", null, x, r("footer", {
3341
3341
  key: "footer"
@@ -3348,7 +3348,7 @@ function fl(e = "", t = {}) {
3348
3348
  })));
3349
3349
  }))) : x;
3350
3350
  }
3351
- const bl = (e) => {
3351
+ const fl = (e) => {
3352
3352
  let {
3353
3353
  children: t = "",
3354
3354
  options: r
@@ -3360,7 +3360,7 @@ const bl = (e) => {
3360
3360
  l.indexOf(s = g[u]) >= 0 || (c[s] = i[s]);
3361
3361
  return c;
3362
3362
  }(e, pn);
3363
- return Ua(fl(t, r), a);
3363
+ return Ua(bl(t, r), a);
3364
3364
  }, xl = /* @__PURE__ */ C("div", {
3365
3365
  target: "e197bd6i0",
3366
3366
  label: "FlexContainer"
@@ -3403,7 +3403,7 @@ const bl = (e) => {
3403
3403
  children: /* @__PURE__ */ n(Yr, {
3404
3404
  theme: r,
3405
3405
  align: e,
3406
- children: typeof t == "string" ? /* @__PURE__ */ n(bl, {
3406
+ children: typeof t == "string" ? /* @__PURE__ */ n(fl, {
3407
3407
  children: t
3408
3408
  }) : t
3409
3409
  })
@@ -3593,8 +3593,8 @@ const Il = Qe(ka, {
3593
3593
  fullScreen: l
3594
3594
  } = e, s = {
3595
3595
  root: ["root"],
3596
- container: ["container", `scroll${fe(r)}`],
3597
- paper: ["paper", `paperScroll${fe(r)}`, `paperWidth${fe(String(a))}`, i && "paperFullWidth", l && "paperFullScreen"]
3596
+ container: ["container", `scroll${be(r)}`],
3597
+ paper: ["paper", `paperScroll${be(r)}`, `paperWidth${be(String(a))}`, i && "paperFullWidth", l && "paperFullScreen"]
3598
3598
  };
3599
3599
  return Na(s, Ml, t);
3600
3600
  }, Al = Qe(ya, {
@@ -3613,7 +3613,7 @@ const Il = Qe(ka, {
3613
3613
  const {
3614
3614
  ownerState: r
3615
3615
  } = e;
3616
- return [t.container, t[`scroll${fe(r.scroll)}`]];
3616
+ return [t.container, t[`scroll${be(r.scroll)}`]];
3617
3617
  }
3618
3618
  })({
3619
3619
  height: "100%",
@@ -3655,7 +3655,7 @@ const Il = Qe(ka, {
3655
3655
  const {
3656
3656
  ownerState: r
3657
3657
  } = e;
3658
- return [t.paper, t[`scrollPaper${fe(r.scroll)}`], t[`paperWidth${fe(String(r.maxWidth))}`], r.fullWidth && t.paperFullWidth, r.fullScreen && t.paperFullScreen];
3658
+ return [t.paper, t[`scrollPaper${be(r.scroll)}`], t[`paperWidth${be(String(r.maxWidth))}`], r.fullWidth && t.paperFullWidth, r.fullScreen && t.paperFullScreen];
3659
3659
  }
3660
3660
  })(wa(({
3661
3661
  theme: e
@@ -3752,7 +3752,7 @@ const Il = Qe(ka, {
3752
3752
  "aria-labelledby": u,
3753
3753
  "aria-modal": c = !0,
3754
3754
  BackdropComponent: g,
3755
- BackdropProps: b,
3755
+ BackdropProps: f,
3756
3756
  children: x,
3757
3757
  className: o,
3758
3758
  disableEscapeKeyDown: p = !1,
@@ -3771,7 +3771,7 @@ const Il = Qe(ka, {
3771
3771
  TransitionComponent: Q = It,
3772
3772
  transitionDuration: B = i,
3773
3773
  TransitionProps: $
3774
- } = l, F = br(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"]), H = T(M({}, r), {
3774
+ } = l, F = fr(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"]), H = T(M({}, r), {
3775
3775
  disableEscapeKeyDown: p,
3776
3776
  fullScreen: d,
3777
3777
  fullWidth: m,
@@ -3788,7 +3788,7 @@ const Il = Qe(ka, {
3788
3788
  }, Z), ye = M({
3789
3789
  transition: $,
3790
3790
  paper: S,
3791
- backdrop: b
3791
+ backdrop: f
3792
3792
  }, ue), N = {
3793
3793
  slots: ge,
3794
3794
  slotProps: ye
@@ -3871,17 +3871,17 @@ process.env.NODE_ENV !== "production" && (Ur.propTypes = {
3871
3871
  /**
3872
3872
  * The id(s) of the element(s) that describe the dialog.
3873
3873
  */
3874
- "aria-describedby": f.string,
3874
+ "aria-describedby": b.string,
3875
3875
  /**
3876
3876
  * The id(s) of the element(s) that label the dialog.
3877
3877
  */
3878
- "aria-labelledby": f.string,
3878
+ "aria-labelledby": b.string,
3879
3879
  /**
3880
3880
  * Informs assistive technologies that the element is modal.
3881
3881
  * It's added on the element with role="dialog".
3882
3882
  * @default true
3883
3883
  */
3884
- "aria-modal": f.oneOfType([f.oneOf(["false", "true"]), f.bool]),
3884
+ "aria-modal": b.oneOfType([b.oneOf(["false", "true"]), b.bool]),
3885
3885
  /**
3886
3886
  * A backdrop component. This prop enables custom backdrop rendering.
3887
3887
  * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
@@ -3896,116 +3896,116 @@ process.env.NODE_ENV !== "production" && (Ur.propTypes = {
3896
3896
  * zIndex: -1,
3897
3897
  * })
3898
3898
  */
3899
- BackdropComponent: f.elementType,
3899
+ BackdropComponent: b.elementType,
3900
3900
  /**
3901
3901
  * @ignore
3902
3902
  */
3903
- BackdropProps: f.object,
3903
+ BackdropProps: b.object,
3904
3904
  /**
3905
3905
  * Dialog children, usually the included sub-components.
3906
3906
  */
3907
- children: f.node,
3907
+ children: b.node,
3908
3908
  /**
3909
3909
  * Override or extend the styles applied to the component.
3910
3910
  */
3911
- classes: f.object,
3911
+ classes: b.object,
3912
3912
  /**
3913
3913
  * @ignore
3914
3914
  */
3915
- className: f.string,
3915
+ className: b.string,
3916
3916
  /**
3917
3917
  * If `true`, hitting escape will not fire the `onClose` callback.
3918
3918
  * @default false
3919
3919
  */
3920
- disableEscapeKeyDown: f.bool,
3920
+ disableEscapeKeyDown: b.bool,
3921
3921
  /**
3922
3922
  * If `true`, the dialog is full-screen.
3923
3923
  * @default false
3924
3924
  */
3925
- fullScreen: f.bool,
3925
+ fullScreen: b.bool,
3926
3926
  /**
3927
3927
  * If `true`, the dialog stretches to `maxWidth`.
3928
3928
  *
3929
3929
  * Notice that the dialog width grow is limited by the default margin.
3930
3930
  * @default false
3931
3931
  */
3932
- fullWidth: f.bool,
3932
+ fullWidth: b.bool,
3933
3933
  /**
3934
3934
  * Determine the max-width of the dialog.
3935
3935
  * The dialog width grows with the size of the screen.
3936
3936
  * Set to `false` to disable `maxWidth`.
3937
3937
  * @default 'sm'
3938
3938
  */
3939
- maxWidth: f.oneOfType([f.oneOf(["xs", "sm", "md", "lg", "xl", !1]), f.string]),
3939
+ maxWidth: b.oneOfType([b.oneOf(["xs", "sm", "md", "lg", "xl", !1]), b.string]),
3940
3940
  /**
3941
3941
  * Callback fired when the backdrop is clicked.
3942
3942
  * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
3943
3943
  */
3944
- onBackdropClick: f.func,
3944
+ onBackdropClick: b.func,
3945
3945
  /**
3946
3946
  * @ignore
3947
3947
  */
3948
- onClick: f.func,
3948
+ onClick: b.func,
3949
3949
  /**
3950
3950
  * Callback fired when the component requests to be closed.
3951
3951
  *
3952
3952
  * @param {object} event The event source of the callback.
3953
3953
  * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
3954
3954
  */
3955
- onClose: f.func,
3955
+ onClose: b.func,
3956
3956
  /**
3957
3957
  * If `true`, the component is shown.
3958
3958
  */
3959
- open: f.bool.isRequired,
3959
+ open: b.bool.isRequired,
3960
3960
  /**
3961
3961
  * The component used to render the body of the dialog.
3962
3962
  * @default Paper
3963
3963
  */
3964
- PaperComponent: f.elementType,
3964
+ PaperComponent: b.elementType,
3965
3965
  /**
3966
3966
  * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
3967
3967
  * @default {}
3968
3968
  * @deprecated Use `slotProps.paper` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
3969
3969
  */
3970
- PaperProps: f.object,
3970
+ PaperProps: b.object,
3971
3971
  /**
3972
3972
  * Determine the container for scrolling the dialog.
3973
3973
  * @default 'paper'
3974
3974
  */
3975
- scroll: f.oneOf(["body", "paper"]),
3975
+ scroll: b.oneOf(["body", "paper"]),
3976
3976
  /**
3977
3977
  * The props used for each slot inside.
3978
3978
  * @default {}
3979
3979
  */
3980
- slotProps: f.shape({
3981
- backdrop: f.oneOfType([f.func, f.object]),
3982
- container: f.oneOfType([f.func, f.object]),
3983
- paper: f.oneOfType([f.func, f.object]),
3984
- root: f.oneOfType([f.func, f.object]),
3985
- transition: f.oneOfType([f.func, f.object])
3980
+ slotProps: b.shape({
3981
+ backdrop: b.oneOfType([b.func, b.object]),
3982
+ container: b.oneOfType([b.func, b.object]),
3983
+ paper: b.oneOfType([b.func, b.object]),
3984
+ root: b.oneOfType([b.func, b.object]),
3985
+ transition: b.oneOfType([b.func, b.object])
3986
3986
  }),
3987
3987
  /**
3988
3988
  * The components used for each slot inside.
3989
3989
  * @default {}
3990
3990
  */
3991
- slots: f.shape({
3992
- backdrop: f.elementType,
3993
- container: f.elementType,
3994
- paper: f.elementType,
3995
- root: f.elementType,
3996
- transition: f.elementType
3991
+ slots: b.shape({
3992
+ backdrop: b.elementType,
3993
+ container: b.elementType,
3994
+ paper: b.elementType,
3995
+ root: b.elementType,
3996
+ transition: b.elementType
3997
3997
  }),
3998
3998
  /**
3999
3999
  * The system prop that allows defining system overrides as well as additional CSS styles.
4000
4000
  */
4001
- sx: f.oneOfType([f.arrayOf(f.oneOfType([f.func, f.object, f.bool])), f.func, f.object]),
4001
+ sx: b.oneOfType([b.arrayOf(b.oneOfType([b.func, b.object, b.bool])), b.func, b.object]),
4002
4002
  /**
4003
4003
  * The component used for the transition.
4004
4004
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
4005
4005
  * @default Fade
4006
4006
  * @deprecated Use `slots.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
4007
4007
  */
4008
- TransitionComponent: f.elementType,
4008
+ TransitionComponent: b.elementType,
4009
4009
  /**
4010
4010
  * The duration for the transition, in milliseconds.
4011
4011
  * You may specify a single timeout for all transitions, or individually with an object.
@@ -4014,17 +4014,17 @@ process.env.NODE_ENV !== "production" && (Ur.propTypes = {
4014
4014
  * exit: theme.transitions.duration.leavingScreen,
4015
4015
  * }
4016
4016
  */
4017
- transitionDuration: f.oneOfType([f.number, f.shape({
4018
- appear: f.number,
4019
- enter: f.number,
4020
- exit: f.number
4017
+ transitionDuration: b.oneOfType([b.number, b.shape({
4018
+ appear: b.number,
4019
+ enter: b.number,
4020
+ exit: b.number
4021
4021
  })]),
4022
4022
  /**
4023
4023
  * Props applied to the transition element.
4024
4024
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
4025
4025
  * @deprecated Use `slotProps.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
4026
4026
  */
4027
- TransitionProps: f.object
4027
+ TransitionProps: b.object
4028
4028
  });
4029
4029
  function Nl({
4030
4030
  fillColor: e = "#262E3D"
@@ -4332,9 +4332,9 @@ function Gl({
4332
4332
  })
4333
4333
  }
4334
4334
  };
4335
- let b, x;
4335
+ let f, x;
4336
4336
  if (Xa(s.chartType))
4337
- b = /* @__PURE__ */ n("div", {
4337
+ f = /* @__PURE__ */ n("div", {
4338
4338
  className: "csdk-h-[245px]",
4339
4339
  children: /* @__PURE__ */ n(Me, T(M({}, s), {
4340
4340
  styleOptions: g
@@ -4356,7 +4356,7 @@ function Gl({
4356
4356
  xAxis: void 0,
4357
4357
  yAxis: void 0
4358
4358
  }), g);
4359
- delete p.legend, delete p.xAxis, delete p.yAxis, b = /* @__PURE__ */ n("div", {
4359
+ delete p.legend, delete p.xAxis, delete p.yAxis, f = /* @__PURE__ */ n("div", {
4360
4360
  children: /* @__PURE__ */ n(Me, T(M({}, s), {
4361
4361
  styleOptions: p
4362
4362
  }))
@@ -4367,7 +4367,7 @@ function Gl({
4367
4367
  }));
4368
4368
  }
4369
4369
  return {
4370
- inlineElement: b,
4370
+ inlineElement: f,
4371
4371
  expandedElement: x
4372
4372
  };
4373
4373
  }, [e]);
@@ -4529,11 +4529,11 @@ function pt({
4529
4529
  rating: x
4530
4530
  });
4531
4531
  }, [l, e, t, r]), 200), [u, c] = Ul(), g = P(() => a === "onHover" ? c : a !== "never", [c, a]), {
4532
- themeSettings: b
4532
+ themeSettings: f
4533
4533
  } = D();
4534
4534
  return /* @__PURE__ */ n(Ql, {
4535
4535
  ref: u,
4536
- theme: b,
4536
+ theme: f,
4537
4537
  children: i(/* @__PURE__ */ n(Fl, {
4538
4538
  onSend: s,
4539
4539
  visible: g
@@ -4605,9 +4605,9 @@ function Kl({
4605
4605
  clarification: g = ""
4606
4606
  } = e;
4607
4607
  console.debug(`JAQL for ${l}`, u), console.debug(`chart recommendations for ${l}`, s);
4608
- const b = "chartType" in s ? s.chartType : "table";
4608
+ const f = "chartType" in s ? s.chartType : "table";
4609
4609
  let x;
4610
- Xl(b) ? x = `an ${b}` : x = `a ${b}`, b !== "table" && (x += " chart");
4610
+ Xl(f) ? x = `an ${f}` : x = `a ${f}`, f !== "table" && (x += " chart");
4611
4611
  const o = u.datasource.title, [p, d] = R(!1), m = j(() => {
4612
4612
  d((y) => !y);
4613
4613
  }, []), h = {
@@ -4897,7 +4897,7 @@ function ms() {
4897
4897
  }, r))
4898
4898
  });
4899
4899
  }
4900
- function fs({
4900
+ function bs({
4901
4901
  questions: e,
4902
4902
  isLoading: t,
4903
4903
  onSelection: r
@@ -4915,7 +4915,7 @@ function fs({
4915
4915
  })]
4916
4916
  }) : null;
4917
4917
  }
4918
- const bs = /* @__PURE__ */ C("div", {
4918
+ const fs = /* @__PURE__ */ C("div", {
4919
4919
  target: "eqnclj50",
4920
4920
  label: "ChatBody"
4921
4921
  })("display:flex;flex-direction:column;row-gap:", ({
@@ -4957,7 +4957,7 @@ function ys({
4957
4957
  enableFollowupQuestions: u,
4958
4958
  enableHeader: c,
4959
4959
  numOfRecentPrompts: g,
4960
- numOfRecommendations: b,
4960
+ numOfRecommendations: f,
4961
4961
  customPrompt: x
4962
4962
  } = ie(), {
4963
4963
  themeSettings: o
@@ -4967,7 +4967,7 @@ function ys({
4967
4967
  isError: m
4968
4968
  } = wr({
4969
4969
  contextTitle: e,
4970
- count: b,
4970
+ count: f,
4971
4971
  customPrompt: x
4972
4972
  }), h = P(() => p == null ? void 0 : p.map((N) => N.nlqPrompt), [p]), {
4973
4973
  history: w,
@@ -5012,7 +5012,7 @@ function ys({
5012
5012
  text: L.message
5013
5013
  })]
5014
5014
  }) : /* @__PURE__ */ v(Y, {
5015
- children: [ge, /* @__PURE__ */ v(bs, {
5015
+ children: [ge, /* @__PURE__ */ v(fs, {
5016
5016
  ref: z,
5017
5017
  theme: o,
5018
5018
  onScroll: U,
@@ -5026,7 +5026,7 @@ function ys({
5026
5026
  behavior: "smooth"
5027
5027
  });
5028
5028
  }
5029
- }), /* @__PURE__ */ n(kl, {}), /* @__PURE__ */ n(fs, {
5029
+ }), /* @__PURE__ */ n(kl, {}), /* @__PURE__ */ n(bs, {
5030
5030
  questions: h || [],
5031
5031
  isLoading: d,
5032
5032
  onSelection: I
@@ -5265,15 +5265,15 @@ function zs() {
5265
5265
  contextDetails: u
5266
5266
  } = ie(), {
5267
5267
  t: c
5268
- } = E(), g = c("ai.errors.noAvailableDataTopics"), b = j((d) => {
5268
+ } = E(), g = c("ai.errors.noAvailableDataTopics"), f = j((d) => {
5269
5269
  d.length ? d.length === 1 && (a(void 0), t(d[0])) : a(g);
5270
5270
  }, [g]), x = P(() => {
5271
5271
  if (i && l === "idle") {
5272
5272
  const d = (s != null && s.length ? i == null ? void 0 : i.filter((m) => s == null ? void 0 : s.includes(m.title)) : i).map((m) => m.title);
5273
- return b(d), d;
5273
+ return f(d), d;
5274
5274
  }
5275
5275
  return [];
5276
- }, [i, l, s, b]), o = Le(), p = j(() => {
5276
+ }, [i, l, s, f]), o = Le(), p = j(() => {
5277
5277
  a(void 0), o.invalidateQueries(["getDataTopics"]);
5278
5278
  }, [o]);
5279
5279
  return r ? /* @__PURE__ */ n(Mr, {
@@ -5431,10 +5431,10 @@ const Zs = /* @__PURE__ */ C("div", {
5431
5431
  });
5432
5432
  }, [e, s]), {
5433
5433
  data: g,
5434
- isLoading: b,
5434
+ isLoading: f,
5435
5435
  isError: x
5436
5436
  } = Fe(c);
5437
- if (b || !s)
5437
+ if (f || !s)
5438
5438
  return /* @__PURE__ */ n(Ct, {});
5439
5439
  if (!Ge(s))
5440
5440
  return /* @__PURE__ */ n(Y, {});
@@ -5462,7 +5462,7 @@ function ed({
5462
5462
  context: t
5463
5463
  }) {
5464
5464
  return /* @__PURE__ */ n(kr, {
5465
- children: /* @__PURE__ */ n(bt.Provider, {
5465
+ children: /* @__PURE__ */ n(ft.Provider, {
5466
5466
  value: t == null ? void 0 : t.api,
5467
5467
  children: /* @__PURE__ */ n(ar, {
5468
5468
  client: Ps,
@@ -5484,7 +5484,7 @@ function ed({
5484
5484
  })();
5485
5485
  export {
5486
5486
  Ys as AiContextProvider,
5487
- bo as ChatRestApi,
5487
+ fo as ChatRestApi,
5488
5488
  Js as Chatbot,
5489
5489
  ed as CustomAiContextProvider,
5490
5490
  So as DEFAULT_RECOMMENDATIONS_COUNT,