@movable/ui 1.10.1 → 1.11.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/lib/index.mjs CHANGED
@@ -3,7 +3,7 @@ var fs = (e, t, r) => t in e ? us(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var sr = (e, t, r) => fs(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import * as I from "react";
5
5
  import pt, { useRef as Rn, useState as $t, useEffect as di, forwardRef as ds, useContext as ps, Children as pi, isValidElement as kn, cloneElement as co } from "react";
6
- import { Typography as Ye, Tooltip as mi, Chip as Er, Box as ct, Menu as hi, MenuItem as $n, Button as lt, Dialog as ms, IconButton as gi, Icon as Ut, DialogTitle as hs, Stack as Ve, DialogActions as gs, CircularProgress as lo, styled as ys, Drawer as vs, AppBar as bs, useScrollTrigger as xs, Breadcrumbs as Es, Link as Ss, RadioGroup as Ts, FormControlLabel as yi, Radio as Cs, Card as _s, Switch as uo, ToggleButton as vi, ToggleButtonGroup as bi, ListSubheader as Os, FormControl as ws, InputLabel as Rs, Select as ks, FormHelperText as $s } from "@mui/material";
6
+ import { Typography as Ye, Tooltip as mi, Chip as Er, Box as tt, Menu as hi, MenuItem as $n, Button as lt, Dialog as ms, IconButton as gi, Icon as Ut, DialogTitle as hs, Stack as Be, DialogActions as gs, CircularProgress as lo, styled as ys, Drawer as vs, AppBar as bs, useScrollTrigger as xs, Breadcrumbs as Es, Link as Ss, RadioGroup as Ts, FormControlLabel as yi, Radio as Cs, Card as _s, Switch as uo, ToggleButton as vi, ToggleButtonGroup as bi, ListSubheader as Os, FormControl as ws, InputLabel as Rs, Select as ks, FormHelperText as $s } from "@mui/material";
7
7
  import { Controller as Ms } from "react-hook-form";
8
8
  import cr from "react-dom";
9
9
  function Ps(e) {
@@ -261,29 +261,29 @@ function js() {
261
261
  }), typeof Reflect == "object" && Reflect.construct) {
262
262
  try {
263
263
  Reflect.construct(J, []);
264
- } catch (ze) {
265
- F = ze;
264
+ } catch (Le) {
265
+ F = Le;
266
266
  }
267
267
  Reflect.construct(d, [], J);
268
268
  } else {
269
269
  try {
270
270
  J.call();
271
- } catch (ze) {
272
- F = ze;
271
+ } catch (Le) {
272
+ F = Le;
273
273
  }
274
274
  d.call(J.prototype);
275
275
  }
276
276
  } else {
277
277
  try {
278
278
  throw Error();
279
- } catch (ze) {
280
- F = ze;
279
+ } catch (Le) {
280
+ F = Le;
281
281
  }
282
282
  d();
283
283
  }
284
- } catch (ze) {
285
- if (ze && F && typeof ze.stack == "string") {
286
- for (var K = ze.stack.split(`
284
+ } catch (Le) {
285
+ if (Le && F && typeof Le.stack == "string") {
286
+ for (var K = Le.stack.split(`
287
287
  `), De = F.stack.split(`
288
288
  `), Ee = K.length - 1, _e = De.length - 1; Ee >= 1 && _e >= 0 && K[Ee] !== De[_e]; )
289
289
  _e--;
@@ -313,7 +313,7 @@ function js() {
313
313
  var _ = d.prototype;
314
314
  return !!(_ && _.isReactComponent);
315
315
  }
316
- function Be(d, _, R) {
316
+ function ze(d, _, R) {
317
317
  if (d == null)
318
318
  return "";
319
319
  if (typeof d == "function")
@@ -331,28 +331,28 @@ function js() {
331
331
  case c:
332
332
  return Me(d.render);
333
333
  case h:
334
- return Be(d.type, _, R);
334
+ return ze(d.type, _, R);
335
335
  case m: {
336
336
  var F = d, ne = F._payload, pe = F._init;
337
337
  try {
338
- return Be(pe(ne), _, R);
338
+ return ze(pe(ne), _, R);
339
339
  } catch {
340
340
  }
341
341
  }
342
342
  }
343
343
  return "";
344
344
  }
345
- var rt = Object.prototype.hasOwnProperty, Nt = {}, Xn = T.ReactDebugCurrentFrame;
345
+ var nt = Object.prototype.hasOwnProperty, Nt = {}, Xn = T.ReactDebugCurrentFrame;
346
346
  function ar(d) {
347
347
  if (d) {
348
- var _ = d._owner, R = Be(d.type, d._source, _ ? _.type : null);
348
+ var _ = d._owner, R = ze(d.type, d._source, _ ? _.type : null);
349
349
  Xn.setExtraStackFrame(R);
350
350
  } else
351
351
  Xn.setExtraStackFrame(null);
352
352
  }
353
353
  function Wa(d, _, R, F, ne) {
354
354
  {
355
- var pe = Function.call.bind(rt);
355
+ var pe = Function.call.bind(nt);
356
356
  for (var J in d)
357
357
  if (pe(d, J)) {
358
358
  var K = void 0;
@@ -401,7 +401,7 @@ function js() {
401
401
  }, Qn, eo, Gr;
402
402
  Gr = {};
403
403
  function Ya(d) {
404
- if (rt.call(d, "ref")) {
404
+ if (nt.call(d, "ref")) {
405
405
  var _ = Object.getOwnPropertyDescriptor(d, "ref").get;
406
406
  if (_ && _.isReactWarning)
407
407
  return !1;
@@ -409,7 +409,7 @@ function js() {
409
409
  return d.ref !== void 0;
410
410
  }
411
411
  function Ha(d) {
412
- if (rt.call(d, "key")) {
412
+ if (nt.call(d, "key")) {
413
413
  var _ = Object.getOwnPropertyDescriptor(d, "key").get;
414
414
  if (_ && _.isReactWarning)
415
415
  return !1;
@@ -478,7 +478,7 @@ function js() {
478
478
  var pe, J = {}, K = null, De = null;
479
479
  R !== void 0 && (Zn(R), K = "" + R), Ha(_) && (Zn(_.key), K = "" + _.key), Ya(_) && (De = _.ref, Ka(_, ne));
480
480
  for (pe in _)
481
- rt.call(_, pe) && !qa.hasOwnProperty(pe) && (J[pe] = _[pe]);
481
+ nt.call(_, pe) && !qa.hasOwnProperty(pe) && (J[pe] = _[pe]);
482
482
  if (d && d.defaultProps) {
483
483
  var Ee = d.defaultProps;
484
484
  for (pe in Ee)
@@ -494,7 +494,7 @@ function js() {
494
494
  var qr = T.ReactCurrentOwner, to = T.ReactDebugCurrentFrame;
495
495
  function Tt(d) {
496
496
  if (d) {
497
- var _ = d._owner, R = Be(d.type, d._source, _ ? _.type : null);
497
+ var _ = d._owner, R = ze(d.type, d._source, _ ? _.type : null);
498
498
  to.setExtraStackFrame(R);
499
499
  } else
500
500
  to.setExtraStackFrame(null);
@@ -629,12 +629,12 @@ Check the top-level render call using <` + R + ">.");
629
629
  else
630
630
  io(Ke, d);
631
631
  }
632
- if (rt.call(_, "key")) {
633
- var ht = Z(d), ze = Object.keys(_).filter(function(ls) {
632
+ if (nt.call(_, "key")) {
633
+ var ht = Z(d), Le = Object.keys(_).filter(function(ls) {
634
634
  return ls !== "key";
635
- }), Kr = ze.length > 0 ? "{key: someKey, " + ze.join(": ..., ") + ": ...}" : "{key: someKey}";
635
+ }), Kr = Le.length > 0 ? "{key: someKey, " + Le.join(": ..., ") + ": ...}" : "{key: someKey}";
636
636
  if (!ao[ht + Kr]) {
637
- var cs = ze.length > 0 ? "{" + ze.join(": ..., ") + ": ...}" : "{}";
637
+ var cs = Le.length > 0 ? "{" + Le.join(": ..., ") + ": ...}" : "{}";
638
638
  w(`A props object containing a "key" prop is being spread into JSX:
639
639
  let props = %s;
640
640
  <%s {...props} />
@@ -708,7 +708,7 @@ function Ap({ chipList: e, numTagsToDisplay: t, size: r = "medium", maxChipWidth
708
708
  }, m = () => {
709
709
  i(null);
710
710
  }, b = (e == null ? void 0 : e.length) - f, x = !!o;
711
- return v.jsxs(ct, { py: 0.5, sx: { width: "100%" }, ref: a, children: [e == null ? void 0 : e.slice(0, f).map((g, y) => v.jsx(ct, { sx: { display: "inline-block", mr: 1, my: 0.5 }, "data-cy": "ink-chip", children: v.jsx(Is, { chipProps: g, maxWidth: n, size: r }) }, y)), b > 0 && v.jsxs(ct, { sx: { display: "inline-block", mr: 0.5, my: 0.5 }, children: [v.jsx(Er, { "data-cy": "more-btn", size: r, label: `${b} more`, onClick: h }), v.jsx(hi, { id: "basic-menu", "data-cy": "chip-menu", anchorEl: o, open: x, onClose: m, MenuListProps: {
711
+ return v.jsxs(tt, { py: 0.5, sx: { width: "100%" }, ref: a, children: [e == null ? void 0 : e.slice(0, f).map((g, y) => v.jsx(tt, { sx: { display: "inline-block", mr: 1, my: 0.5 }, "data-cy": "ink-chip", children: v.jsx(Is, { chipProps: g, maxWidth: n, size: r }) }, y)), b > 0 && v.jsxs(tt, { sx: { display: "inline-block", mr: 0.5, my: 0.5 }, children: [v.jsx(Er, { "data-cy": "more-btn", size: r, label: `${b} more`, onClick: h }), v.jsx(hi, { id: "basic-menu", "data-cy": "chip-menu", anchorEl: o, open: x, onClose: m, MenuListProps: {
712
712
  "aria-labelledby": "basic-button"
713
713
  }, slotProps: {
714
714
  paper: {
@@ -732,14 +732,14 @@ function M() {
732
732
  return e;
733
733
  }, M.apply(null, arguments);
734
734
  }
735
- function st(e) {
735
+ function ct(e) {
736
736
  if (typeof e != "object" || e === null)
737
737
  return !1;
738
738
  const t = Object.getPrototypeOf(e);
739
739
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
740
740
  }
741
741
  function xi(e) {
742
- if (!st(e))
742
+ if (!ct(e))
743
743
  return e;
744
744
  const t = {};
745
745
  return Object.keys(e).forEach((r) => {
@@ -750,15 +750,15 @@ function Ze(e, t, r = {
750
750
  clone: !0
751
751
  }) {
752
752
  const n = r.clone ? M({}, e) : e;
753
- return st(e) && st(t) && Object.keys(t).forEach((o) => {
754
- st(t[o]) && // Avoid prototype pollution
755
- Object.prototype.hasOwnProperty.call(e, o) && st(e[o]) ? n[o] = Ze(e[o], t[o], r) : r.clone ? n[o] = st(t[o]) ? xi(t[o]) : t[o] : n[o] = t[o];
753
+ return ct(e) && ct(t) && Object.keys(t).forEach((o) => {
754
+ ct(t[o]) && // Avoid prototype pollution
755
+ Object.prototype.hasOwnProperty.call(e, o) && ct(e[o]) ? n[o] = Ze(e[o], t[o], r) : r.clone ? n[o] = ct(t[o]) ? xi(t[o]) : t[o] : n[o] = t[o];
756
756
  }), n;
757
757
  }
758
758
  const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
759
759
  __proto__: null,
760
760
  default: Ze,
761
- isPlainObject: st
761
+ isPlainObject: ct
762
762
  }, Symbol.toStringTag, { value: "Module" }));
763
763
  var pn = { exports: {} }, lr = { exports: {} }, oe = {};
764
764
  /** @license React v16.13.1
@@ -867,14 +867,14 @@ function zs() {
867
867
  case h:
868
868
  return P;
869
869
  default:
870
- var Be = P && P.$$typeof;
871
- switch (Be) {
870
+ var ze = P && P.$$typeof;
871
+ switch (ze) {
872
872
  case s:
873
873
  case f:
874
874
  case x:
875
875
  case b:
876
876
  case a:
877
- return Be;
877
+ return ze;
878
878
  default:
879
879
  return Me;
880
880
  }
@@ -1550,19 +1550,19 @@ function Js() {
1550
1550
  }
1551
1551
  function p(P) {
1552
1552
  if (typeof P == "object" && P !== null) {
1553
- var Be = P.$$typeof;
1554
- switch (Be) {
1553
+ var ze = P.$$typeof;
1554
+ switch (ze) {
1555
1555
  case e:
1556
- var rt = P.type;
1557
- switch (rt) {
1556
+ var nt = P.type;
1557
+ switch (nt) {
1558
1558
  case r:
1559
1559
  case o:
1560
1560
  case n:
1561
1561
  case u:
1562
1562
  case f:
1563
- return rt;
1563
+ return nt;
1564
1564
  default:
1565
- var Nt = rt && rt.$$typeof;
1565
+ var Nt = nt && nt.$$typeof;
1566
1566
  switch (Nt) {
1567
1567
  case s:
1568
1568
  case a:
@@ -1572,11 +1572,11 @@ function Js() {
1572
1572
  case i:
1573
1573
  return Nt;
1574
1574
  default:
1575
- return Be;
1575
+ return ze;
1576
1576
  }
1577
1577
  }
1578
1578
  case t:
1579
- return Be;
1579
+ return ze;
1580
1580
  }
1581
1581
  }
1582
1582
  }
@@ -1668,14 +1668,14 @@ function ec(e, t, r, n, o) {
1668
1668
  const i = e[t], a = o || t;
1669
1669
  return i == null ? null : i && i.nodeType !== 1 ? new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an HTMLElement.`) : null;
1670
1670
  }
1671
- function tt(e) {
1671
+ function rt(e) {
1672
1672
  if (typeof e != "string")
1673
1673
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : xt(7));
1674
1674
  return e.charAt(0).toUpperCase() + e.slice(1);
1675
1675
  }
1676
1676
  const tc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1677
1677
  __proto__: null,
1678
- default: tt
1678
+ default: rt
1679
1679
  }, Symbol.toStringTag, { value: "Module" }));
1680
1680
  function rc(...e) {
1681
1681
  return e.reduce((t, r) => r == null ? t : function(...o) {
@@ -2150,7 +2150,7 @@ function Ae(e, t) {
2150
2150
  function Gt(e, t, r) {
2151
2151
  return e.slice(t, r);
2152
2152
  }
2153
- function ot(e) {
2153
+ function it(e) {
2154
2154
  return e.length;
2155
2155
  }
2156
2156
  function Nn(e) {
@@ -2178,7 +2178,7 @@ function Vc() {
2178
2178
  function He() {
2179
2179
  return we = Ue < Gi ? Ae(At, Ue++) : 0, Mt++, we === 10 && (Mt = 1, Mr++), we;
2180
2180
  }
2181
- function at() {
2181
+ function st() {
2182
2182
  return Ae(At, Ue);
2183
2183
  }
2184
2184
  function hr() {
@@ -2220,7 +2220,7 @@ function qt(e) {
2220
2220
  return 0;
2221
2221
  }
2222
2222
  function qi(e) {
2223
- return Mr = Mt = 1, Gi = ot(At = e), Ue = 0, [];
2223
+ return Mr = Mt = 1, Gi = it(At = e), Ue = 0, [];
2224
2224
  }
2225
2225
  function Yi(e) {
2226
2226
  return At = "", e;
@@ -2229,14 +2229,14 @@ function gr(e) {
2229
2229
  return Ui(er(Ue - 1, vn(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
2230
2230
  }
2231
2231
  function Uc(e) {
2232
- for (; (we = at()) && we < 33; )
2232
+ for (; (we = st()) && we < 33; )
2233
2233
  He();
2234
2234
  return qt(e) > 2 || qt(we) > 3 ? "" : " ";
2235
2235
  }
2236
2236
  function Gc(e, t) {
2237
2237
  for (; --t && He() && !(we < 48 || we > 102 || we > 57 && we < 65 || we > 70 && we < 97); )
2238
2238
  ;
2239
- return er(e, hr() + (t < 6 && at() == 32 && He() == 32));
2239
+ return er(e, hr() + (t < 6 && st() == 32 && He() == 32));
2240
2240
  }
2241
2241
  function vn(e) {
2242
2242
  for (; He(); )
@@ -2258,12 +2258,12 @@ function vn(e) {
2258
2258
  }
2259
2259
  function qc(e, t) {
2260
2260
  for (; He() && e + we !== 57; )
2261
- if (e + we === 84 && at() === 47)
2261
+ if (e + we === 84 && st() === 47)
2262
2262
  break;
2263
2263
  return "/*" + er(t, Ue - 1) + "*" + $r(e === 47 ? e : He());
2264
2264
  }
2265
2265
  function Yc(e) {
2266
- for (; !qt(at()); )
2266
+ for (; !qt(st()); )
2267
2267
  He();
2268
2268
  return er(e, Ue);
2269
2269
  }
@@ -2293,7 +2293,7 @@ function yr(e, t, r, n, o, i, a, s, c) {
2293
2293
  A += Gc(hr() - 1, 7);
2294
2294
  continue;
2295
2295
  case 47:
2296
- switch (at()) {
2296
+ switch (st()) {
2297
2297
  case 42:
2298
2298
  case 47:
2299
2299
  ur(Kc(qc(He(), hr()), t, r), c);
@@ -2303,7 +2303,7 @@ function yr(e, t, r, n, o, i, a, s, c) {
2303
2303
  }
2304
2304
  break;
2305
2305
  case 123 * g:
2306
- s[u++] = ot(A) * T;
2306
+ s[u++] = it(A) * T;
2307
2307
  case 125 * g:
2308
2308
  case 59:
2309
2309
  case 0:
@@ -2312,7 +2312,7 @@ function yr(e, t, r, n, o, i, a, s, c) {
2312
2312
  case 125:
2313
2313
  y = 0;
2314
2314
  case 59 + f:
2315
- T == -1 && (A = ee(A, /\f/g, "")), b > 0 && ot(A) - h && ur(b > 32 ? Ao(A + ";", n, r, h - 1) : Ao(ee(A, " ", "") + ";", n, r, h - 2), c);
2315
+ T == -1 && (A = ee(A, /\f/g, "")), b > 0 && it(A) - h && ur(b > 32 ? Ao(A + ";", n, r, h - 1) : Ao(ee(A, " ", "") + ";", n, r, h - 2), c);
2316
2316
  break;
2317
2317
  case 59:
2318
2318
  A += ";";
@@ -2335,7 +2335,7 @@ function yr(e, t, r, n, o, i, a, s, c) {
2335
2335
  u = f = b = 0, g = T = 1, O = A = "", h = a;
2336
2336
  break;
2337
2337
  case 58:
2338
- h = 1 + ot(A), b = x;
2338
+ h = 1 + it(A), b = x;
2339
2339
  default:
2340
2340
  if (g < 1) {
2341
2341
  if (w == 123)
@@ -2348,13 +2348,13 @@ function yr(e, t, r, n, o, i, a, s, c) {
2348
2348
  T = f > 0 ? 1 : (A += "\f", -1);
2349
2349
  break;
2350
2350
  case 44:
2351
- s[u++] = (ot(A) - 1) * T, T = 1;
2351
+ s[u++] = (it(A) - 1) * T, T = 1;
2352
2352
  break;
2353
2353
  case 64:
2354
- at() === 45 && (A += gr(He())), m = at(), f = h = ot(O = A += Yc(hr())), w++;
2354
+ st() === 45 && (A += gr(He())), m = st(), f = h = it(O = A += Yc(hr())), w++;
2355
2355
  break;
2356
2356
  case 45:
2357
- x === 45 && ot(A) == 2 && (g = 0);
2357
+ x === 45 && it(A) == 2 && (g = 0);
2358
2358
  }
2359
2359
  }
2360
2360
  return i;
@@ -2390,7 +2390,7 @@ function Xc(e, t, r, n) {
2390
2390
  case jn:
2391
2391
  e.value = e.props.join(",");
2392
2392
  }
2393
- return ot(r = wt(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
2393
+ return it(r = wt(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
2394
2394
  }
2395
2395
  function Jc(e) {
2396
2396
  var t = Nn(e);
@@ -2406,7 +2406,7 @@ function Zc(e) {
2406
2406
  };
2407
2407
  }
2408
2408
  var Qc = function(t, r, n) {
2409
- for (var o = 0, i = 0; o = i, i = at(), o === 38 && i === 12 && (r[n] = 1), !qt(i); )
2409
+ for (var o = 0, i = 0; o = i, i = st(), o === 38 && i === 12 && (r[n] = 1), !qt(i); )
2410
2410
  He();
2411
2411
  return er(t, Ue);
2412
2412
  }, el = function(t, r) {
@@ -2414,14 +2414,14 @@ var Qc = function(t, r, n) {
2414
2414
  do
2415
2415
  switch (qt(o)) {
2416
2416
  case 0:
2417
- o === 38 && at() === 12 && (r[n] = 1), t[n] += Qc(Ue - 1, r, n);
2417
+ o === 38 && st() === 12 && (r[n] = 1), t[n] += Qc(Ue - 1, r, n);
2418
2418
  break;
2419
2419
  case 2:
2420
2420
  t[n] += gr(o);
2421
2421
  break;
2422
2422
  case 4:
2423
2423
  if (o === 44) {
2424
- t[++n] = at() === 58 ? "&\f" : "", r[n] = t[n].length;
2424
+ t[++n] = st() === 58 ? "&\f" : "", r[n] = t[n].length;
2425
2425
  break;
2426
2426
  }
2427
2427
  default:
@@ -2531,7 +2531,7 @@ function Hi(e, t) {
2531
2531
  case 5789:
2532
2532
  case 5021:
2533
2533
  case 4765:
2534
- if (ot(e) - 1 - t > 6) switch (Ae(e, t + 1)) {
2534
+ if (it(e) - 1 - t > 6) switch (Ae(e, t + 1)) {
2535
2535
  case 109:
2536
2536
  if (Ae(e, t + 4) !== 45) break;
2537
2537
  case 102:
@@ -2543,7 +2543,7 @@ function Hi(e, t) {
2543
2543
  case 4949:
2544
2544
  if (Ae(e, t + 1) !== 115) break;
2545
2545
  case 6444:
2546
- switch (Ae(e, ot(e) - 3 - (~yn(e, "!important") && 10))) {
2546
+ switch (Ae(e, it(e) - 3 - (~yn(e, "!important") && 10))) {
2547
2547
  case 107:
2548
2548
  return ee(e, ":", ":" + Q) + e;
2549
2549
  case 101:
@@ -2746,14 +2746,14 @@ function sl() {
2746
2746
  case h:
2747
2747
  return P;
2748
2748
  default:
2749
- var Be = P && P.$$typeof;
2750
- switch (Be) {
2749
+ var ze = P && P.$$typeof;
2750
+ switch (ze) {
2751
2751
  case s:
2752
2752
  case f:
2753
2753
  case x:
2754
2754
  case b:
2755
2755
  case a:
2756
- return Be;
2756
+ return ze;
2757
2757
  default:
2758
2758
  return Me;
2759
2759
  }
@@ -2932,10 +2932,10 @@ var ml = {
2932
2932
  case "animationName":
2933
2933
  if (typeof r == "string")
2934
2934
  return r.replace(yl, function(n, o, i) {
2935
- return it = {
2935
+ return at = {
2936
2936
  name: o,
2937
2937
  styles: i,
2938
- next: it
2938
+ next: at
2939
2939
  }, o;
2940
2940
  });
2941
2941
  }
@@ -2953,20 +2953,20 @@ function Yt(e, t, r) {
2953
2953
  case "object": {
2954
2954
  var o = r;
2955
2955
  if (o.anim === 1)
2956
- return it = {
2956
+ return at = {
2957
2957
  name: o.name,
2958
2958
  styles: o.styles,
2959
- next: it
2959
+ next: at
2960
2960
  }, o.name;
2961
2961
  var i = r;
2962
2962
  if (i.styles !== void 0) {
2963
2963
  var a = i.next;
2964
2964
  if (a !== void 0)
2965
2965
  for (; a !== void 0; )
2966
- it = {
2966
+ at = {
2967
2967
  name: a.name,
2968
2968
  styles: a.styles,
2969
- next: it
2969
+ next: at
2970
2970
  }, a = a.next;
2971
2971
  var s = i.styles + ";";
2972
2972
  return s;
@@ -2975,8 +2975,8 @@ function Yt(e, t, r) {
2975
2975
  }
2976
2976
  case "function": {
2977
2977
  if (e !== void 0) {
2978
- var c = it, u = r(e);
2979
- return it = c, Yt(e, t, u);
2978
+ var c = at, u = r(e);
2979
+ return at = c, Yt(e, t, u);
2980
2980
  }
2981
2981
  break;
2982
2982
  }
@@ -3020,12 +3020,12 @@ function bl(e, t, r) {
3020
3020
  }
3021
3021
  return n;
3022
3022
  }
3023
- var Bo = /label:\s*([^\s;{]+)\s*(;|$)/g, it;
3023
+ var Bo = /label:\s*([^\s;{]+)\s*(;|$)/g, at;
3024
3024
  function Dn(e, t, r) {
3025
3025
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
3026
3026
  return e[0];
3027
3027
  var n = !0, o = "";
3028
- it = void 0;
3028
+ at = void 0;
3029
3029
  var i = e[0];
3030
3030
  if (i == null || i.raw === void 0)
3031
3031
  n = !1, o += Yt(r, t, i);
@@ -3045,7 +3045,7 @@ function Dn(e, t, r) {
3045
3045
  return {
3046
3046
  name: h,
3047
3047
  styles: o,
3048
- next: it
3048
+ next: at
3049
3049
  };
3050
3050
  }
3051
3051
  var xl = function(t) {
@@ -3547,7 +3547,7 @@ function Se(e) {
3547
3547
  const s = a[t], c = a.theme, u = jr(c, n) || {};
3548
3548
  return Ge(a, s, (h) => {
3549
3549
  let m = Cr(u, o, h);
3550
- return h === m && typeof h == "string" && (m = Cr(u, o, `${t}${h === "default" ? "" : tt(h)}`, h)), r === !1 ? m : {
3550
+ return h === m && typeof h == "string" && (m = Cr(u, o, `${t}${h === "default" ? "" : rt(h)}`, h)), r === !1 ? m : {
3551
3551
  [r]: m
3552
3552
  };
3553
3553
  });
@@ -4112,7 +4112,7 @@ function pa() {
4112
4112
  const m = jr(o, u) || {};
4113
4113
  return h ? h(a) : Ge(a, n, (x) => {
4114
4114
  let g = Cr(m, f, x);
4115
- return x === g && typeof x == "string" && (g = Cr(m, f, `${r}${x === "default" ? "" : tt(x)}`, x)), c === !1 ? g : {
4115
+ return x === g && typeof x == "string" && (g = Cr(m, f, `${r}${x === "default" ? "" : rt(x)}`, x)), c === !1 ? g : {
4116
4116
  [c]: g
4117
4117
  };
4118
4118
  });
@@ -4220,7 +4220,7 @@ function Wr(e) {
4220
4220
  let i;
4221
4221
  return Array.isArray(t) ? i = [n, ...t] : typeof t == "function" ? i = (...a) => {
4222
4222
  const s = t(...a);
4223
- return st(s) ? M({}, n, s) : n;
4223
+ return ct(s) ? M({}, n, s) : n;
4224
4224
  } : i = M({}, n, t), M({}, o, {
4225
4225
  sx: i
4226
4226
  });
@@ -5130,7 +5130,7 @@ const Df = ["children", "className", "color", "component", "fontSize", "htmlColo
5130
5130
  fontSize: r,
5131
5131
  classes: n
5132
5132
  } = e, o = {
5133
- root: ["root", t !== "inherit" && `color${tt(t)}`, `fontSize${tt(r)}`]
5133
+ root: ["root", t !== "inherit" && `color${rt(t)}`, `fontSize${rt(r)}`]
5134
5134
  };
5135
5135
  return Xt(o, Nf, n);
5136
5136
  }, Bf = ir("svg", {
@@ -5140,7 +5140,7 @@ const Df = ["children", "className", "color", "component", "fontSize", "htmlColo
5140
5140
  const {
5141
5141
  ownerState: r
5142
5142
  } = e;
5143
- return [t.root, r.color !== "inherit" && t[`color${tt(r.color)}`], t[`fontSize${tt(r.fontSize)}`]];
5143
+ return [t.root, r.color !== "inherit" && t[`color${rt(r.color)}`], t[`fontSize${rt(r.fontSize)}`]];
5144
5144
  }
5145
5145
  })(({
5146
5146
  theme: e,
@@ -5303,7 +5303,7 @@ const zf = {
5303
5303
  }
5304
5304
  }, Lf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5305
5305
  __proto__: null,
5306
- capitalize: tt,
5306
+ capitalize: rt,
5307
5307
  createChainedFunction: rc,
5308
5308
  createSvgIcon: Un,
5309
5309
  debounce: Ri,
@@ -5369,9 +5369,9 @@ function jp({ Title: e, Content: t, Actions: r, onClose: n, hideCloseButton: o,
5369
5369
  right: "15px",
5370
5370
  p: "4px",
5371
5371
  color: (g) => g.palette.grey[500]
5372
- }, children: v.jsx(Ut, { children: "close_filled" }) }), typeof e != "string" ? v.jsx(v.Fragment, { children: e }) : v.jsx(hs, { "data-test": "ink-dialog-title", children: v.jsxs(Ve, { direction: "row", alignItems: "center", children: [((c = i == null ? void 0 : i.primary) == null ? void 0 : c.variant) && v.jsx(Uf, { variant: i.primary.variant }), v.jsx(Ye, { variant: "h6", children: v.jsx("strong", { children: e }) })] }) }), t, s, i && v.jsxs(gs, { sx: { m: 1 }, children: [i.cancel && v.jsx(lt, { "data-test": "ink-dialog-cancel-action", onClick: i.cancel.onClick, children: (u = i.cancel) == null ? void 0 : u.label }), i.secondary && v.jsx(lt, { "data-test": "ink-dialog-secondary-action", color: ((f = i.secondary) == null ? void 0 : f.variant) === "destructive" ? "error" : "primary", endIcon: i.secondary.loading ? v.jsx(lo, { size: 20, color: "inherit" }) : void 0, disabled: i.secondary.disabled || i.secondary.loading, ...i.secondary, variant: (h = i.secondary) != null && h.variant ? "contained" : "text", children: (m = i.secondary) == null ? void 0 : m.label }), i.primary && v.jsx(lt, { "data-test": "ink-dialog-primary-action", color: ((b = i.primary) == null ? void 0 : b.variant) === "destructive" ? "error" : "primary", endIcon: i.primary.loading ? v.jsx(lo, { size: 20, color: "inherit" }) : void 0, disabled: i.primary.disabled || i.primary.loading, ...i.primary, variant: "contained", children: (x = i.primary) == null ? void 0 : x.label })] })] });
5372
+ }, children: v.jsx(Ut, { children: "close_filled" }) }), typeof e != "string" ? v.jsx(v.Fragment, { children: e }) : v.jsx(hs, { "data-test": "ink-dialog-title", children: v.jsxs(Be, { direction: "row", alignItems: "center", children: [((c = i == null ? void 0 : i.primary) == null ? void 0 : c.variant) && v.jsx(Uf, { variant: i.primary.variant }), v.jsx(Ye, { variant: "h6", children: v.jsx("strong", { children: e }) })] }) }), t, s, i && v.jsxs(gs, { sx: { m: 1 }, children: [i.cancel && v.jsx(lt, { "data-test": "ink-dialog-cancel-action", onClick: i.cancel.onClick, children: (u = i.cancel) == null ? void 0 : u.label }), i.secondary && v.jsx(lt, { "data-test": "ink-dialog-secondary-action", color: ((f = i.secondary) == null ? void 0 : f.variant) === "destructive" ? "error" : "primary", endIcon: i.secondary.loading ? v.jsx(lo, { size: 20, color: "inherit" }) : void 0, disabled: i.secondary.disabled || i.secondary.loading, ...i.secondary, variant: (h = i.secondary) != null && h.variant ? "contained" : "text", children: (m = i.secondary) == null ? void 0 : m.label }), i.primary && v.jsx(lt, { "data-test": "ink-dialog-primary-action", color: ((b = i.primary) == null ? void 0 : b.variant) === "destructive" ? "error" : "primary", endIcon: i.primary.loading ? v.jsx(lo, { size: 20, color: "inherit" }) : void 0, disabled: i.primary.disabled || i.primary.loading, ...i.primary, variant: "contained", children: (x = i.primary) == null ? void 0 : x.label })] })] });
5373
5373
  }
5374
- const wa = 280, Gf = ys("main", { shouldForwardProp: (e) => e !== "open" })(({ theme: e, open: t }) => ({
5374
+ const wa = 280, Gf = ys(tt, { shouldForwardProp: (e) => e !== "open" })(({ theme: e, open: t }) => ({
5375
5375
  flexGrow: 1,
5376
5376
  overflowX: "scroll",
5377
5377
  transition: e.transitions.create("margin", {
@@ -5395,12 +5395,14 @@ function Ip({
5395
5395
  leftOffset: o,
5396
5396
  //primary nav width when closed and when open
5397
5397
  filterContent: i,
5398
- headerLabel: a = "Filters",
5399
- sx: s,
5400
- isComponentLevelDrawer: c = !1
5398
+ bottomFilter: a,
5399
+ headerLabel: s = "Filters",
5400
+ sx: c,
5401
+ isComponentLevelDrawer: u = !1,
5402
+ mainProps: f
5401
5403
  }) {
5402
- return v.jsxs(ct, { sx: { display: "flex", width: "100%" }, children: [v.jsx(vs, { sx: {
5403
- ...s,
5404
+ return v.jsxs(tt, { sx: { display: "flex", width: "100%" }, children: [v.jsx(vs, { sx: {
5405
+ ...c,
5404
5406
  width: n,
5405
5407
  flexShrink: 0,
5406
5408
  left: o,
@@ -5410,10 +5412,10 @@ function Ip({
5410
5412
  }, PaperProps: {
5411
5413
  style: {
5412
5414
  left: o,
5413
- ...c && { position: "absolute" }
5415
+ ...u && { position: "absolute" }
5414
5416
  },
5415
5417
  variant: "outlined"
5416
- }, variant: "persistent", anchor: "left", open: e, children: v.jsxs(Ve, { direction: "column", spacing: 3, sx: { p: 2 }, children: [v.jsxs(Ve, { direction: "row", alignItems: "center", children: [v.jsxs(Ve, { direction: "row", alignItems: "center", children: [v.jsx(Ut, { sx: { color: "text.primary" }, fontSize: "small", children: "filter_list_icon" }), v.jsx(Ye, { sx: { ml: 1 }, "data-cy": "drawer-header", children: a })] }), v.jsx(mi, { title: "Close", placement: "bottom-end", slotProps: {
5418
+ }, variant: "persistent", anchor: "left", open: e, children: v.jsxs(Be, { height: "100%", justifyContent: "space-between", children: [v.jsxs(Be, { direction: "column", spacing: 3, sx: { p: 2 }, children: [v.jsxs(Be, { direction: "row", alignItems: "center", children: [v.jsxs(Be, { direction: "row", alignItems: "center", children: [v.jsx(Ut, { sx: { color: "text.primary" }, fontSize: "small", children: "filter_list_icon" }), v.jsx(Ye, { sx: { ml: 1 }, "data-cy": "drawer-header", children: s })] }), v.jsx(mi, { title: "Close", placement: "bottom-end", slotProps: {
5417
5419
  popper: {
5418
5420
  modifiers: [
5419
5421
  {
@@ -5424,10 +5426,15 @@ function Ip({
5424
5426
  }
5425
5427
  ]
5426
5428
  }
5427
- }, children: v.jsx(gi, { onClick: t, sx: { ml: "auto" }, children: v.jsx(Ut, { fontSize: "small", children: "close_icon" }) }) })] }), i] }) }), v.jsx(Gf, { open: e, children: r })] });
5429
+ }, children: v.jsx(gi, { onClick: t, sx: { ml: "auto" }, children: v.jsx(Ut, { fontSize: "small", children: "close_icon" }) }) })] }), i] }), a && v.jsx(tt, { "data-cy": "bottom-filter", sx: {
5430
+ px: 2,
5431
+ py: 1,
5432
+ borderTop: "1px solid",
5433
+ borderColor: "neutral200"
5434
+ }, children: a })] }) }), v.jsx(Gf, { component: "main", open: e, ...f, children: r })] });
5428
5435
  }
5429
5436
  function Np({ metadata: e }) {
5430
- return v.jsx(Ve, { direction: "row", spacing: 2, children: e.map(({ icon: t, label: r, value: n }) => v.jsxs(Ve, { direction: "row", spacing: 0.5, children: [typeof t == "string" ? v.jsx(Ut, { fontSize: "small", sx: { color: "neutral600" }, children: t }) : t, v.jsx(Ye, { variant: "body2", color: "text.secondary", children: r }), typeof n == "string" ? v.jsx(Ye, { variant: "body2", children: n }) : n] }, r)) });
5437
+ return v.jsx(Be, { direction: "row", spacing: 2, children: e.map(({ icon: t, label: r, value: n }) => v.jsxs(Be, { direction: "row", spacing: 0.5, children: [typeof t == "string" ? v.jsx(Ut, { fontSize: "small", sx: { color: "neutral600" }, children: t }) : t, v.jsx(Ye, { variant: "body2", color: "text.secondary", children: r }), typeof n == "string" ? v.jsx(Ye, { variant: "body2", children: n }) : n] }, r)) });
5431
5438
  }
5432
5439
  const qf = ({ children: e }) => {
5433
5440
  const t = xs({
@@ -5450,14 +5457,14 @@ const qf = ({ children: e }) => {
5450
5457
  ...t
5451
5458
  }, children: e({ position: n }) }) });
5452
5459
  function Dp({ Breadcrumbs: e, Subtitle: t, Metadata: r, Chips: n, ButtonGroup: o, Tabs: i, sx: a }) {
5453
- return v.jsx(Ra, { children: ({ position: s }) => v.jsxs(Ve, { direction: "column", spacing: 2, position: s, sx: {
5460
+ return v.jsx(Ra, { children: ({ position: s }) => v.jsxs(Be, { direction: "column", spacing: 2, position: s, sx: {
5454
5461
  borderBottom: 1,
5455
5462
  borderColor: "divider",
5456
5463
  px: 3,
5457
5464
  py: 3,
5458
5465
  ...i && { pb: -3 },
5459
5466
  ...a
5460
- }, children: [v.jsxs(Ve, { direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", children: [v.jsxs(Ve, { direction: "row", spacing: 1, alignItems: "center", children: [e, n] }), o] }), r, t, i] }) });
5467
+ }, children: [v.jsxs(Be, { direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", children: [v.jsxs(Be, { direction: "row", spacing: 1, alignItems: "center", children: [e, n] }), o] }), r, t, i] }) });
5461
5468
  }
5462
5469
  const Yf = {
5463
5470
  ".MuiBreadcrumbs-separator": {
@@ -5480,7 +5487,7 @@ function Bp({ primaryAction: e, secondaryAction: t, dropdownAction: r }) {
5480
5487
  }, s = () => {
5481
5488
  o(null);
5482
5489
  };
5483
- return v.jsxs(Ve, { direction: "row", spacing: 1, children: [r && v.jsxs(ct, { children: [v.jsx(lt, { id: "action-dd", "aria-controls": i ? "action-menu" : void 0, "aria-haspopup": "true", "aria-expanded": i ? "true" : void 0, onClick: a, variant: "contained", color: "inherit", endIcon: v.jsx(Ut, { children: "arrow_drop_down" }), children: r.label }), v.jsx(hi, { id: "action-menu", anchorEl: n, open: i, onClose: s, MenuListProps: {
5490
+ return v.jsxs(Be, { direction: "row", spacing: 1, children: [r && v.jsxs(tt, { children: [v.jsx(lt, { id: "action-dd", "aria-controls": i ? "action-menu" : void 0, "aria-haspopup": "true", "aria-expanded": i ? "true" : void 0, onClick: a, variant: "contained", color: "inherit", endIcon: v.jsx(Ut, { children: "arrow_drop_down" }), children: r.label }), v.jsx(hi, { id: "action-menu", anchorEl: n, open: i, onClose: s, MenuListProps: {
5484
5491
  "aria-labelledby": "action-dd"
5485
5492
  }, anchorOrigin: {
5486
5493
  vertical: "bottom",
@@ -5496,9 +5503,9 @@ function zp({ subtitle: e }) {
5496
5503
  return v.jsx(Ye, { variant: "body2", color: "text.secondary", children: e });
5497
5504
  }
5498
5505
  function Lp({ label: e, Stepper: t, ButtonGroup: r }) {
5499
- return v.jsx(Ra, { sx: { px: 2, py: 2.25 }, children: ({ position: n }) => v.jsxs(Ve, { position: n, direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", sx: {
5506
+ return v.jsx(Ra, { sx: { px: 2, py: 2.25 }, children: ({ position: n }) => v.jsxs(Be, { position: n, direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", sx: {
5500
5507
  borderBottom: "1px solid divider"
5501
- }, children: [v.jsx(Ye, { "data-test-worflow-header-label": !0, variant: "subtitle1", component: "h1", sx: { fontWeight: "600", flexGrow: "1" }, children: e }), t && v.jsx(ct, { sx: { flexGrow: "2" }, "data-test-worflow-header-stepper": !0, children: t }), r && v.jsx(ct, { sx: { flexGrow: "1", justifyContent: "end", display: "flex" }, "data-test-worflow-header-button-group": !0, children: r })] }) });
5508
+ }, children: [v.jsx(Ye, { "data-test-worflow-header-label": !0, variant: "subtitle1", component: "h1", sx: { fontWeight: "600", flexGrow: "1" }, children: e }), t && v.jsx(tt, { sx: { flexGrow: "2" }, "data-test-worflow-header-stepper": !0, children: t }), r && v.jsx(tt, { sx: { flexGrow: "1", justifyContent: "end", display: "flex" }, "data-test-worflow-header-button-group": !0, children: r })] }) });
5502
5509
  }
5503
5510
  const ti = (e) => {
5504
5511
  let t;
@@ -5602,7 +5609,7 @@ function ad(e = {}) {
5602
5609
  const w = sa(a, M({
5603
5610
  shouldForwardProp: T,
5604
5611
  label: y
5605
- }, b)), O = (p) => typeof p == "function" && p.__emotion_real !== p || st(p) ? (j) => xr(p, M({}, j, {
5612
+ }, b)), O = (p) => typeof p == "function" && p.__emotion_real !== p || ct(p) ? (j) => xr(p, M({}, j, {
5606
5613
  theme: dr({
5607
5614
  theme: j.theme,
5608
5615
  defaultTheme: r,
@@ -5644,7 +5651,7 @@ function ad(e = {}) {
5644
5651
  const ue = w(A, ...fe);
5645
5652
  if (process.env.NODE_ENV !== "production") {
5646
5653
  let V;
5647
- c && (V = `${c}${tt(u || "")}`), V === void 0 && (V = `Styled(${wi(a)})`), ue.displayName = V;
5654
+ c && (V = `${c}${rt(u || "")}`), V === void 0 && (V = `Styled(${wi(a)})`), ue.displayName = V;
5648
5655
  }
5649
5656
  return a.muiName && (ue.muiName = a.muiName), ue;
5650
5657
  };
@@ -5714,7 +5721,7 @@ function dd(e) {
5714
5721
  } = e;
5715
5722
  return t.indexOf("rgb") !== -1 ? n = n.map((o, i) => i < 3 ? parseInt(o, 10) : o) : t.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.indexOf("color") !== -1 ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
5716
5723
  }
5717
- function We(e, t) {
5724
+ function Ve(e, t) {
5718
5725
  return e = $a(e), t = ud(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, dd(e);
5719
5726
  }
5720
5727
  const pd = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"], md = or(), hd = sd("div", {
@@ -6012,7 +6019,7 @@ const Od = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
6012
6019
  variant: i,
6013
6020
  classes: a
6014
6021
  } = e, s = {
6015
- root: ["root", i, e.align !== "inherit" && `align${tt(t)}`, r && "gutterBottom", n && "noWrap", o && "paragraph"]
6022
+ root: ["root", i, e.align !== "inherit" && `align${rt(t)}`, r && "gutterBottom", n && "noWrap", o && "paragraph"]
6016
6023
  };
6017
6024
  return Xt(s, _d, a);
6018
6025
  }, Rd = ir("span", {
@@ -6022,7 +6029,7 @@ const Od = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
6022
6029
  const {
6023
6030
  ownerState: r
6024
6031
  } = e;
6025
- return [t.root, r.variant && t[r.variant], r.align !== "inherit" && t[`align${tt(r.align)}`], r.noWrap && t.noWrap, r.gutterBottom && t.gutterBottom, r.paragraph && t.paragraph];
6032
+ return [t.root, r.variant && t[r.variant], r.align !== "inherit" && t[`align${rt(r.align)}`], r.noWrap && t.noWrap, r.gutterBottom && t.gutterBottom, r.paragraph && t.paragraph];
6026
6033
  }
6027
6034
  })(({
6028
6035
  theme: e,
@@ -6185,7 +6192,7 @@ function Wp({ Header: e, Description: t, Icon: r, CTA: n, children: o, ...i }) {
6185
6192
  }
6186
6193
  const Vp = ({ name: e, options: t, value: r, ref: n, direction: o = "row", cardSx: i, fullWidth: a = !0, disabled: s = !1, onChange: c, onBlur: u }) => {
6187
6194
  const f = (m, b, x) => s ? m ? b : "inherit" : x, h = (m, b, x, g) => s ? m ? b : g : m ? b : x;
6188
- return v.jsx(Ts, { name: e, onChange: c, onBlur: u, value: r, ref: n, "aria-label": e, "aria-readonly": s, "aria-disabled": s, sx: { width: a ? "100%" : "fit-content" }, children: v.jsx(Ve, { direction: o, spacing: 2, children: t.map(({ value: m, icon: b, title: x, description: g, subDescription: y }) => v.jsx(yi, { value: m, disabled: s, control: v.jsx(Cs, { sx: { display: "none" } }), sx: {
6195
+ return v.jsx(Ts, { name: e, onChange: c, onBlur: u, value: r, ref: n, "aria-label": e, "aria-readonly": s, "aria-disabled": s, sx: { width: a ? "100%" : "fit-content" }, children: v.jsx(Be, { direction: o, spacing: 2, children: t.map(({ value: m, icon: b, title: x, description: g, subDescription: y }) => v.jsx(yi, { value: m, disabled: s, control: v.jsx(Cs, { sx: { display: "none" } }), sx: {
6189
6196
  width: a ? "100%" : "auto",
6190
6197
  ".MuiFormControlLabel-label": {
6191
6198
  width: "100%",
@@ -6209,7 +6216,7 @@ const Vp = ({ name: e, options: t, value: r, ref: n, direction: o = "row", cardS
6209
6216
  borderRadius: 1,
6210
6217
  outlineColor: (T) => h(r === m, T.palette.primary.dark, T.palette.neutral200, T.palette.neutral200),
6211
6218
  ...i
6212
- }, children: v.jsxs(Ve, { direction: "column", alignItems: "center", width: "100%", children: [b && v.jsx(ct, { sx: {
6219
+ }, children: v.jsxs(Be, { direction: "column", alignItems: "center", width: "100%", children: [b && v.jsx(tt, { sx: {
6213
6220
  color: s ? "neutral500" : r === m ? "text.primary" : "action.active",
6214
6221
  ".MuiSvgIcon-root": { fontSize: "2rem" }
6215
6222
  }, children: b }), v.jsx(Ye, { variant: "subtitle1", textAlign: "center", lineHeight: "20px", mt: 0.5, color: s ? r === m ? "text.secondary" : "neutral500" : "text.primary", children: x }), g && v.jsx(Ye, { variant: "body2", textAlign: "center", mt: 1, color: `${s ? "neutral500" : "text.secondary"}`, children: g }), y && v.jsx(Ye, { variant: "body2", color: `${s ? "neutral500" : "text.secondary"}`, textAlign: "center", mt: 1, children: y })] }) }) }, m)) }) });
@@ -6386,7 +6393,7 @@ const ai = {
6386
6393
  };
6387
6394
  function Yp({ title: e, description: t, action: r, variant: n, icon: o, sx: i }) {
6388
6395
  const a = n === "search" ? "neutral00" : "neutral50", s = Pd[n], { fontSize: c, fontSizeDescription: u, titleVariant: f, descriptionVariant: h } = s;
6389
- return v.jsxs(Ve, { alignItems: "center", justifyContent: "center", my: 6, textAlign: "center", "data-cy": `empty-state-${n}-container`, sx: { backgroundColor: a, p: 5, ...i }, children: [o && v.jsx(Md, { icon: o, variant: n }), e && v.jsx(Ye, { variant: f, sx: { fontSize: c }, "data-cy": "empty-state-title", children: v.jsx("strong", { children: e }) }), v.jsx(Ye, { variant: h, color: "text.secondary", sx: { fontSize: u }, "data-cy": "empty-state-description", children: t }), r && v.jsx(ct, { mt: 3, children: v.jsx(lt, { onClick: r.onClick, "data-cy": "empty-state-action-button", children: r.title }) })] });
6396
+ return v.jsxs(Be, { alignItems: "center", justifyContent: "center", my: 6, textAlign: "center", "data-cy": `empty-state-${n}-container`, sx: { backgroundColor: a, p: 5, ...i }, children: [o && v.jsx(Md, { icon: o, variant: n }), e && v.jsx(Ye, { variant: f, sx: { fontSize: c }, "data-cy": "empty-state-title", children: v.jsx("strong", { children: e }) }), v.jsx(Ye, { variant: h, color: "text.secondary", sx: { fontSize: u }, "data-cy": "empty-state-description", children: t }), r && v.jsx(tt, { mt: 3, children: v.jsx(lt, { onClick: r.onClick, "data-cy": "empty-state-action-button", children: r.title }) })] });
6390
6397
  }
6391
6398
  const pr = 400, Ad = 50, jd = 250, Id = () => {
6392
6399
  const [e, t] = $t(pr), [r, n] = $t("bottom"), o = (s) => {
@@ -6479,7 +6486,7 @@ const Fe = {
6479
6486
  A200: "#7c4dff",
6480
6487
  A400: "#651fff",
6481
6488
  A700: "#6200ea"
6482
- }, Le = {
6489
+ }, We = {
6483
6490
  50: "#e0f7fa",
6484
6491
  100: "#b2ebf2",
6485
6492
  200: "#80deea",
@@ -6494,7 +6501,7 @@ const Fe = {
6494
6501
  A200: "#18ffff",
6495
6502
  A400: "#00e5ff",
6496
6503
  A700: "#00b8d4"
6497
- }, nt = {
6504
+ }, ot = {
6498
6505
  50: "#f1f8e9",
6499
6506
  100: "#dcedc8",
6500
6507
  200: "#c5e1a5",
@@ -6569,7 +6576,7 @@ const Fe = {
6569
6576
  secondary: Oe[700],
6570
6577
  disabled: Oe[700]
6571
6578
  },
6572
- focusVisible: We($e[700], 0.3),
6579
+ focusVisible: Ve($e[700], 0.3),
6573
6580
  blue50: $e[50],
6574
6581
  blue100: $e[100],
6575
6582
  blue200: $e[200],
@@ -6616,16 +6623,16 @@ const Fe = {
6616
6623
  lightBlueA200: me.A200,
6617
6624
  lightBlueA400: me.A400,
6618
6625
  lightBlueA700: me.A700,
6619
- lightGreen50: nt[50],
6620
- lightGreen100: nt[100],
6621
- lightGreen200: nt[200],
6622
- lightGreen300: nt[300],
6623
- lightGreen400: nt[400],
6624
- lightGreen500: nt[500],
6625
- lightGreen600: nt[600],
6626
- lightGreen700: nt[700],
6627
- lightGreen800: nt[800],
6628
- lightGreen900: nt[900],
6626
+ lightGreen50: ot[50],
6627
+ lightGreen100: ot[100],
6628
+ lightGreen200: ot[200],
6629
+ lightGreen300: ot[300],
6630
+ lightGreen400: ot[400],
6631
+ lightGreen500: ot[500],
6632
+ lightGreen600: ot[600],
6633
+ lightGreen700: ot[700],
6634
+ lightGreen800: ot[800],
6635
+ lightGreen900: ot[900],
6629
6636
  neutral00: N.neutral00,
6630
6637
  neutral50: Oe[50],
6631
6638
  neutral100: Oe[100],
@@ -6704,21 +6711,21 @@ const Fe = {
6704
6711
  redA200: ye.A200,
6705
6712
  redA400: ye.A400,
6706
6713
  redA700: ye.A700,
6707
- cyan50: Le[50],
6708
- cyan100: Le[100],
6709
- cyan200: Le[200],
6710
- cyan300: Le[300],
6711
- cyan400: Le[400],
6712
- cyan500: Le[500],
6713
- cyan600: Le[600],
6714
- cyan700: Le[700],
6715
- cyan800: Le[800],
6716
- cyan900: Le[900],
6714
+ cyan50: We[50],
6715
+ cyan100: We[100],
6716
+ cyan200: We[200],
6717
+ cyan300: We[300],
6718
+ cyan400: We[400],
6719
+ cyan500: We[500],
6720
+ cyan600: We[600],
6721
+ cyan700: We[700],
6722
+ cyan800: We[800],
6723
+ cyan900: We[900],
6717
6724
  cyan1000: N.cyan1000,
6718
- cyanA100: Le.A100,
6719
- cyanA200: Le.A200,
6720
- cyanA400: Le.A400,
6721
- cyanA700: Le.A700,
6725
+ cyanA100: We.A100,
6726
+ cyanA200: We.A200,
6727
+ cyanA400: We.A400,
6728
+ cyanA700: We.A700,
6722
6729
  deepPurple50: Fe[50],
6723
6730
  deepPurple100: Fe[100],
6724
6731
  deepPurple200: Fe[200],
@@ -6740,10 +6747,10 @@ const Fe = {
6740
6747
  dark: N.blue800,
6741
6748
  light: $e.A200,
6742
6749
  contrastText: N.neutral00,
6743
- hover: We(me[400], 0.04),
6744
- selected: We(me[400], 0.08),
6745
- focus: We(me[400], 0.12),
6746
- focusVisible: We(me[400], 0.3),
6750
+ hover: Ve(me[400], 0.04),
6751
+ selected: Ve(me[400], 0.08),
6752
+ focus: Ve(me[400], 0.12),
6753
+ focusVisible: Ve(me[400], 0.3),
6747
6754
  outlinedBorder: N.blue800
6748
6755
  },
6749
6756
  secondary: {
@@ -6751,10 +6758,10 @@ const Fe = {
6751
6758
  dark: de[700],
6752
6759
  light: de.A400,
6753
6760
  contrastText: N.neutral00,
6754
- hover: We(de[500], 0.04),
6755
- selected: We(de[500], 0.08),
6756
- focus: We(de[500], 0.12),
6757
- focusVisible: We(de[500], 0.3),
6761
+ hover: Ve(de[500], 0.04),
6762
+ selected: Ve(de[500], 0.08),
6763
+ focus: Ve(de[500], 0.12),
6764
+ focusVisible: Ve(de[500], 0.3),
6758
6765
  outlinedBorder: de[200]
6759
6766
  },
6760
6767
  error: {
@@ -6762,7 +6769,7 @@ const Fe = {
6762
6769
  dark: ye[800],
6763
6770
  light: ye.A200,
6764
6771
  contrastText: N.neutral00,
6765
- hover: We(ye[700], 0.04)
6772
+ hover: Ve(ye[700], 0.04)
6766
6773
  },
6767
6774
  warning: {
6768
6775
  main: Ie[900],
@@ -6794,9 +6801,9 @@ const Fe = {
6794
6801
  },
6795
6802
  action: {
6796
6803
  active: Oe[700],
6797
- hover: We(Oe[700], 0.04),
6798
- selected: We(Oe[700], 0.08),
6799
- focus: We(Oe[700], 0.12),
6804
+ hover: Ve(Oe[700], 0.04),
6805
+ selected: Ve(Oe[700], 0.08),
6806
+ focus: Ve(Oe[700], 0.12),
6800
6807
  disabledBackground: Oe[200],
6801
6808
  disabled: Oe[700]
6802
6809
  }
@@ -8875,7 +8882,7 @@ const xp = {
8875
8882
  }
8876
8883
  },
8877
8884
  outlinedInherit: {
8878
- borderColor: We(S.neutral900, 0.03)
8885
+ borderColor: Ve(S.neutral900, 0.03)
8879
8886
  },
8880
8887
  outlinedPrimary: {
8881
8888
  color: S.primary.dark,