@tracktor/design-system 3.10.0 → 3.10.2

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/main.js CHANGED
@@ -82,7 +82,7 @@ function Tn() {
82
82
  var C = R && s[R] || s[y];
83
83
  return typeof C == "function" ? C : null;
84
84
  }
85
- var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
85
+ var m = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
86
86
  function S(s) {
87
87
  {
88
88
  for (var C = arguments.length, E = new Array(C > 1 ? C - 1 : 0), L = 1; L < C; L++)
@@ -92,7 +92,7 @@ function Tn() {
92
92
  }
93
93
  function v(s, C, E) {
94
94
  {
95
- var L = w.ReactDebugCurrentFrame, z = L.getStackAddendum();
95
+ var L = m.ReactDebugCurrentFrame, z = L.getStackAddendum();
96
96
  z !== "" && (C += "%s", E = E.concat([z]));
97
97
  var G = E.map(function(V) {
98
98
  return String(V);
@@ -226,7 +226,7 @@ function Tn() {
226
226
  q < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
227
227
  }
228
228
  }
229
- var Ye = w.ReactCurrentDispatcher, Ue;
229
+ var Ye = m.ReactCurrentDispatcher, Ue;
230
230
  function Oe(s, C, E) {
231
231
  {
232
232
  if (Ue === void 0)
@@ -352,7 +352,7 @@ function Tn() {
352
352
  }
353
353
  return "";
354
354
  }
355
- var qe = Object.prototype.hasOwnProperty, br = {}, yr = w.ReactDebugCurrentFrame;
355
+ var qe = Object.prototype.hasOwnProperty, br = {}, yr = m.ReactDebugCurrentFrame;
356
356
  function f1(s) {
357
357
  if (s) {
358
358
  var C = s._owner, E = Ie(s.type, s._source, C ? C.type : null);
@@ -403,7 +403,7 @@ function Tn() {
403
403
  if (Ft(s))
404
404
  return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", It(s)), vr(s);
405
405
  }
406
- var Ke = w.ReactCurrentOwner, Ht = {
406
+ var Ke = m.ReactCurrentOwner, Ht = {
407
407
  key: !0,
408
408
  ref: !0,
409
409
  __self: !0,
@@ -501,7 +501,7 @@ function Tn() {
501
501
  return Bt(s, O, de, z, L, Ke.current, V);
502
502
  }
503
503
  }
504
- var B1 = w.ReactCurrentOwner, Mr = w.ReactDebugCurrentFrame;
504
+ var B1 = m.ReactCurrentOwner, Mr = m.ReactDebugCurrentFrame;
505
505
  function De(s) {
506
506
  if (s) {
507
507
  var C = s._owner, E = Ie(s.type, s._source, C ? C.type : null);
@@ -851,11 +851,11 @@ function Yn(e) {
851
851
  return ut(y1("", null, null, null, [""], e = pt(e), 0, [0], e));
852
852
  }
853
853
  function y1(e, r, t, i, a, o, l, c, d) {
854
- for (var u = 0, f = 0, x = l, b = 0, g = 0, R = 0, y = 1, h = 1, w = 1, S = 0, v = "", M = a, p = o, _ = i, T = v; h; )
854
+ for (var u = 0, f = 0, x = l, b = 0, g = 0, R = 0, y = 1, h = 1, m = 1, S = 0, v = "", M = a, p = o, _ = i, T = v; h; )
855
855
  switch (R = S, S = xe()) {
856
856
  case 40:
857
857
  if (R != 108 && ae(T, x - 1) == 58) {
858
- Q1(T += B(b1(S), "&", "&\f"), "&\f") != -1 && (w = -1);
858
+ Q1(T += B(b1(S), "&", "&\f"), "&\f") != -1 && (m = -1);
859
859
  break;
860
860
  }
861
861
  case 34:
@@ -883,7 +883,7 @@ function y1(e, r, t, i, a, o, l, c, d) {
883
883
  }
884
884
  break;
885
885
  case 123 * y:
886
- c[u++] = Se(T) * w;
886
+ c[u++] = Se(T) * m;
887
887
  case 125 * y:
888
888
  case 59:
889
889
  case 0:
@@ -892,7 +892,7 @@ function y1(e, r, t, i, a, o, l, c, d) {
892
892
  case 125:
893
893
  h = 0;
894
894
  case 59 + f:
895
- w == -1 && (T = B(T, /\f/g, "")), g > 0 && Se(T) - x && h1(g > 32 ? Vr(T + ";", i, t, x - 1) : Vr(B(T, " ", "") + ";", i, t, x - 2), d);
895
+ m == -1 && (T = B(T, /\f/g, "")), g > 0 && Se(T) - x && h1(g > 32 ? Vr(T + ";", i, t, x - 1) : Vr(B(T, " ", "") + ";", i, t, x - 2), d);
896
896
  break;
897
897
  case 59:
898
898
  T += ";";
@@ -912,7 +912,7 @@ function y1(e, r, t, i, a, o, l, c, d) {
912
912
  y1(T, _, _, _, [""], p, 0, c, p);
913
913
  }
914
914
  }
915
- u = f = g = 0, y = w = 1, v = T = "", x = l;
915
+ u = f = g = 0, y = m = 1, v = T = "", x = l;
916
916
  break;
917
917
  case 58:
918
918
  x = 1 + Se(T), g = R;
@@ -925,10 +925,10 @@ function y1(e, r, t, i, a, o, l, c, d) {
925
925
  }
926
926
  switch (T += L1(S), S * y) {
927
927
  case 38:
928
- w = f > 0 ? 1 : (T += "\f", -1);
928
+ m = f > 0 ? 1 : (T += "\f", -1);
929
929
  break;
930
930
  case 44:
931
- c[u++] = (Se(T) - 1) * w, w = 1;
931
+ c[u++] = (Se(T) - 1) * m, m = 1;
932
932
  break;
933
933
  case 64:
934
934
  ke() === 45 && (T += b1(xe())), b = ke(), f = x = Se(v = T += jn(x1())), S++;
@@ -941,8 +941,8 @@ function y1(e, r, t, i, a, o, l, c, d) {
941
941
  }
942
942
  function Or(e, r, t, i, a, o, l, c, d, u, f) {
943
943
  for (var x = a - 1, b = a === 0 ? o : [""], g = hr(b), R = 0, y = 0, h = 0; R < i; ++R)
944
- for (var w = 0, S = c1(e, x + 1, x = On(y = l[R])), v = e; w < g; ++w)
945
- (v = ct(y > 0 ? b[w] + " " + S : B(S, /&\f/g, b[w]))) && (d[h++] = v);
944
+ for (var m = 0, S = c1(e, x + 1, x = On(y = l[R])), v = e; m < g; ++m)
945
+ (v = ct(y > 0 ? b[m] + " " + S : B(S, /&\f/g, b[m]))) && (d[h++] = v);
946
946
  return F1(e, r, t, a === 0 ? ur : c, d, u, f);
947
947
  }
948
948
  function Un(e, r, t) {
@@ -1193,8 +1193,8 @@ var ni = function(r, t, i, a) {
1193
1193
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1194
1194
  document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
1195
1195
  function(y) {
1196
- for (var h = y.getAttribute("data-emotion").split(" "), w = 1; w < h.length; w++)
1197
- o[h[w]] = !0;
1196
+ for (var h = y.getAttribute("data-emotion").split(" "), m = 1; m < h.length; m++)
1197
+ o[h[m]] = !0;
1198
1198
  c.push(y);
1199
1199
  }
1200
1200
  );
@@ -1205,8 +1205,8 @@ var ni = function(r, t, i, a) {
1205
1205
  })], b = Xn(u.concat(a, x)), g = function(h) {
1206
1206
  return ze(Yn(h), b);
1207
1207
  };
1208
- d = function(h, w, S, v) {
1209
- f = S, g(h ? h + "{" + w.styles + "}" : w.styles), v && (R.inserted[w.name] = !0);
1208
+ d = function(h, m, S, v) {
1209
+ f = S, g(h ? h + "{" + m.styles + "}" : m.styles), v && (R.inserted[m.name] = !0);
1210
1210
  };
1211
1211
  }
1212
1212
  var R = {
@@ -1238,7 +1238,7 @@ var Dr;
1238
1238
  function oi() {
1239
1239
  if (Dr) return N;
1240
1240
  Dr = 1;
1241
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, R = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
1241
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, R = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
1242
1242
  function v(p) {
1243
1243
  if (typeof p == "object" && p !== null) {
1244
1244
  var _ = p.$$typeof;
@@ -1297,7 +1297,7 @@ function oi() {
1297
1297
  }, N.isSuspense = function(p) {
1298
1298
  return v(p) === x;
1299
1299
  }, N.isValidElementType = function(p) {
1300
- return typeof p == "string" || typeof p == "function" || p === i || p === u || p === o || p === a || p === x || p === b || typeof p == "object" && p !== null && (p.$$typeof === R || p.$$typeof === g || p.$$typeof === l || p.$$typeof === c || p.$$typeof === f || p.$$typeof === h || p.$$typeof === w || p.$$typeof === S || p.$$typeof === y);
1300
+ return typeof p == "string" || typeof p == "function" || p === i || p === u || p === o || p === a || p === x || p === b || typeof p == "object" && p !== null && (p.$$typeof === R || p.$$typeof === g || p.$$typeof === l || p.$$typeof === c || p.$$typeof === f || p.$$typeof === h || p.$$typeof === m || p.$$typeof === S || p.$$typeof === y);
1301
1301
  }, N.typeOf = v, N;
1302
1302
  }
1303
1303
  var W = {};
@@ -1312,10 +1312,10 @@ var W = {};
1312
1312
  var Pr;
1313
1313
  function si() {
1314
1314
  return Pr || (Pr = 1, process.env.NODE_ENV !== "production" && function() {
1315
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, R = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
1315
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, R = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
1316
1316
  function v(k) {
1317
1317
  return typeof k == "string" || typeof k == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1318
- k === i || k === u || k === o || k === a || k === x || k === b || typeof k == "object" && k !== null && (k.$$typeof === R || k.$$typeof === g || k.$$typeof === l || k.$$typeof === c || k.$$typeof === f || k.$$typeof === h || k.$$typeof === w || k.$$typeof === S || k.$$typeof === y);
1318
+ k === i || k === u || k === o || k === a || k === x || k === b || typeof k == "object" && k !== null && (k.$$typeof === R || k.$$typeof === g || k.$$typeof === l || k.$$typeof === c || k.$$typeof === f || k.$$typeof === h || k.$$typeof === m || k.$$typeof === S || k.$$typeof === y);
1319
1319
  }
1320
1320
  function M(k) {
1321
1321
  if (typeof k == "object" && k !== null) {
@@ -1682,7 +1682,7 @@ var Ri = function(r) {
1682
1682
  function n(e, r, t) {
1683
1683
  return H1.call(r, "css") ? l1.jsx(vt, yt(e, r), t) : l1.jsx(e, r, t);
1684
1684
  }
1685
- function m(e, r, t) {
1685
+ function w(e, r, t) {
1686
1686
  return H1.call(r, "css") ? l1.jsxs(vt, yt(e, r), t) : l1.jsxs(e, r, t);
1687
1687
  }
1688
1688
  const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = () => {
@@ -1735,7 +1735,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
1735
1735
  getTextColor: r
1736
1736
  };
1737
1737
  }, $i = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: i, width: a, withoutText: o, mode: l, sx: c, variant: d = "default", component: u = "img" }, f) => {
1738
- const [x, b] = ie(""), { palette: g } = be(), { getTextColor: R, getImageModule: y, getSize: h, getShapeColor: w, getShapeBackgroundColor: S } = Vi(), { height: v, width: M } = h({ height: i, variant: d, width: a, withoutText: o }), p = R(t), _ = w(e), T = S(r);
1738
+ const [x, b] = ie(""), { palette: g } = be(), { getTextColor: R, getImageModule: y, getSize: h, getShapeColor: m, getShapeBackgroundColor: S } = Vi(), { height: v, width: M } = h({ height: i, variant: d, width: a, withoutText: o }), p = R(t), _ = m(e), T = S(r);
1739
1739
  if (T1(() => {
1740
1740
  u !== "svg" && (async () => {
1741
1741
  const $ = await y(d, l || g.mode, o);
@@ -1770,14 +1770,14 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
1770
1770
  );
1771
1771
  if (o) {
1772
1772
  const $ = e || g.primary.main;
1773
- return /* @__PURE__ */ m(H, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: v, width: M, ...c }, children: [
1773
+ return /* @__PURE__ */ w(H, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: v, width: M, ...c }, children: [
1774
1774
  /* @__PURE__ */ n("path", { d: "M17 0V15H32C32 6.71026 25.2897 0 17 0Z", fill: $ }),
1775
1775
  /* @__PURE__ */ n("path", { d: "M0 0V15H15C15 6.71026 8.27968 0 0 0Z", fill: $ }),
1776
1776
  /* @__PURE__ */ n("path", { d: "M14.9955 16C14.9955 16 15.0056 16 14.9955 16V32H0C0 23.1576 6.71832 16 14.9955 16Z", fill: $ }),
1777
1777
  /* @__PURE__ */ n("path", { d: "M32 16V32H17C17 23.1576 23.7103 16 32 16Z", fill: $ })
1778
1778
  ] });
1779
1779
  }
1780
- return d === "pricing" ? /* @__PURE__ */ m(
1780
+ return d === "pricing" ? /* @__PURE__ */ w(
1781
1781
  H,
1782
1782
  {
1783
1783
  component: "svg",
@@ -1786,7 +1786,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
1786
1786
  sx: { height: v, width: M, ...c },
1787
1787
  ref: f,
1788
1788
  children: [
1789
- /* @__PURE__ */ m("g", { clipPath: "url(#clip0_12018_69701)", children: [
1789
+ /* @__PURE__ */ w("g", { clipPath: "url(#clip0_12018_69701)", children: [
1790
1790
  /* @__PURE__ */ n(
1791
1791
  "path",
1792
1792
  {
@@ -1878,7 +1878,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
1878
1878
  /* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_12018_69701", children: /* @__PURE__ */ n("rect", { width: "147", height: "44", fill: "white" }) }) })
1879
1879
  ]
1880
1880
  }
1881
- ) : d === "supplier" ? /* @__PURE__ */ m(
1881
+ ) : d === "supplier" ? /* @__PURE__ */ w(
1882
1882
  H,
1883
1883
  {
1884
1884
  component: "svg",
@@ -1894,7 +1894,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
1894
1894
  fill: T
1895
1895
  }
1896
1896
  ),
1897
- /* @__PURE__ */ m("g", { clipPath: "url(#clip0_14141_226706)", children: [
1897
+ /* @__PURE__ */ w("g", { clipPath: "url(#clip0_14141_226706)", children: [
1898
1898
  /* @__PURE__ */ n("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: _ }),
1899
1899
  /* @__PURE__ */ n("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: _ }),
1900
1900
  /* @__PURE__ */ n(
@@ -1992,7 +1992,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
1992
1992
  /* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_14141_226706", children: /* @__PURE__ */ n("rect", { width: "16", height: "16", fill: "white", transform: "translate(4 4)" }) }) })
1993
1993
  ]
1994
1994
  }
1995
- ) : /* @__PURE__ */ m(
1995
+ ) : /* @__PURE__ */ w(
1996
1996
  H,
1997
1997
  {
1998
1998
  component: "svg",
@@ -2008,7 +2008,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2008
2008
  fill: T
2009
2009
  }
2010
2010
  ),
2011
- /* @__PURE__ */ m("g", { clipPath: "url(#clip0_14141_226601)", children: [
2011
+ /* @__PURE__ */ w("g", { clipPath: "url(#clip0_14141_226601)", children: [
2012
2012
  /* @__PURE__ */ n("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: _ }),
2013
2013
  /* @__PURE__ */ n("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: _ }),
2014
2014
  /* @__PURE__ */ n(
@@ -2122,7 +2122,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2122
2122
  }
2123
2123
  ), Na = ue(Pi), Bi = ({ className: e, style: r, minRows: t = 4, ...i }, a) => {
2124
2124
  const { palette: o, shape: l, spacing: c } = be();
2125
- return /* @__PURE__ */ m(Me, { children: [
2125
+ return /* @__PURE__ */ w(Me, { children: [
2126
2126
  /* @__PURE__ */ n(
2127
2127
  i1,
2128
2128
  {
@@ -2286,8 +2286,8 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2286
2286
  Footer: f,
2287
2287
  Search: x = r.Logo,
2288
2288
  Logo: b = r.Logo
2289
- } = _e(je), { palette: g } = be(), R = g.mode === "dark" ? g.background.default : g.primary.black, y = a && l ? "none" : `solid 1px ${g.divider}`, w = t ? !(!a && !o) : !0;
2290
- return /* @__PURE__ */ m(
2289
+ } = _e(je), { palette: g } = be(), R = g.mode === "dark" ? g.background.default : g.primary.black, y = a && l ? "none" : `solid 1px ${g.divider}`, m = t ? !(!a && !o) : !0;
2290
+ return /* @__PURE__ */ w(
2291
2291
  H,
2292
2292
  {
2293
2293
  sx: {
@@ -2298,7 +2298,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2298
2298
  },
2299
2299
  component: "aside",
2300
2300
  children: [
2301
- b && /* @__PURE__ */ m(
2301
+ b && /* @__PURE__ */ w(
2302
2302
  j,
2303
2303
  {
2304
2304
  sx: {
@@ -2329,9 +2329,9 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2329
2329
  ]
2330
2330
  }
2331
2331
  ),
2332
- x && w && /* @__PURE__ */ n(H, { p: 2, children: x }),
2332
+ x && m && /* @__PURE__ */ n(H, { p: 2, children: x }),
2333
2333
  /* @__PURE__ */ n(H, { flex: 1, children: e }),
2334
- d && /* @__PURE__ */ n(H, { sx: r1.bottomLink, children: /* @__PURE__ */ n(Cr, { component: u, ...d, children: /* @__PURE__ */ m(j, { alignItems: "center", justifyContent: "center", spacing: 1, direction: "row", children: [
2334
+ d && /* @__PURE__ */ n(H, { sx: r1.bottomLink, children: /* @__PURE__ */ n(Cr, { component: u, ...d, children: /* @__PURE__ */ w(j, { alignItems: "center", justifyContent: "center", spacing: 1, direction: "row", children: [
2335
2335
  (d == null ? void 0 : d.icon) && /* @__PURE__ */ n(H, { component: "span", display: "flex", children: d == null ? void 0 : d.icon }),
2336
2336
  (d == null ? void 0 : d.label) && /* @__PURE__ */ n(H, { component: "span", display: "flex", children: d == null ? void 0 : d.label })
2337
2337
  ] }) }) }),
@@ -2391,9 +2391,9 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2391
2391
  return a;
2392
2392
  if (a && typeof a == "object" && "label" in a) {
2393
2393
  const { count: l, url: c, label: d, icon: u, active: f, disabled: x } = a, b = `${c}-${d}-${o}`;
2394
- return /* @__PURE__ */ n(Le, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(Cr, { url: c, component: t, active: f, disabled: x, children: /* @__PURE__ */ m(j, { direction: "row", component: "span", spacing: 1.5, width: "100%", alignItems: "center", children: [
2394
+ return /* @__PURE__ */ n(Le, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(Cr, { url: c, component: t, active: f, disabled: x, children: /* @__PURE__ */ w(j, { direction: "row", component: "span", spacing: 1.5, width: "100%", alignItems: "center", children: [
2395
2395
  u && /* @__PURE__ */ n(H, { component: "span", display: "flex", alignItems: "center", children: u }),
2396
- /* @__PURE__ */ m(j, { direction: "row", justifyContent: "space-between", flex: 1, children: [
2396
+ /* @__PURE__ */ w(j, { direction: "row", justifyContent: "space-between", flex: 1, children: [
2397
2397
  d,
2398
2398
  l && /* @__PURE__ */ n(o1, { color: "warning", size: "small", label: l, variant: "rounded" })
2399
2399
  ] })
@@ -2411,7 +2411,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2411
2411
  }
2412
2412
  }, je = k1(wt), Ni = () => {
2413
2413
  const { items: e, disableResponsive: r, isMobile: t, isTablet: i, isDrawerOpen: a, closeDrawerMenu: o, sideBarWidth: l, openDrawerMenu: c } = _e(je);
2414
- return (t || i) && !r ? /* @__PURE__ */ m(Me, { children: [
2414
+ return (t || i) && !r ? /* @__PURE__ */ w(Me, { children: [
2415
2415
  /* @__PURE__ */ n(Zi, {}),
2416
2416
  /* @__PURE__ */ n(rn, { anchor: "left", open: a, onClose: o, onOpen: c, children: /* @__PURE__ */ n(Wr, { children: /* @__PURE__ */ n(jr, { items: e }) }) })
2417
2417
  ] }) : /* @__PURE__ */ n(Wr, { width: l, children: /* @__PURE__ */ n(jr, { items: e }) });
@@ -2430,7 +2430,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2430
2430
  }) => {
2431
2431
  const { breakpoints: x } = be(), b = s1(x.down("sm")), g = s1(x.between("sm", "md")), [R, y] = ie(wt.isDrawerOpen), h = pe(() => {
2432
2432
  y(!1);
2433
- }, []), w = pe(() => {
2433
+ }, []), m = pe(() => {
2434
2434
  y(!0);
2435
2435
  }, []), S = _1(
2436
2436
  () => ({
@@ -2447,7 +2447,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2447
2447
  items: o,
2448
2448
  Logo: i,
2449
2449
  NavLink: r,
2450
- openDrawerMenu: w,
2450
+ openDrawerMenu: m,
2451
2451
  Search: t,
2452
2452
  sideBarWidth: f
2453
2453
  }),
@@ -2458,7 +2458,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2458
2458
  b,
2459
2459
  g,
2460
2460
  o,
2461
- w,
2461
+ m,
2462
2462
  f,
2463
2463
  i,
2464
2464
  r,
@@ -2502,7 +2502,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2502
2502
  ), Ua = at(ue(Gi)), Xi = ["warning", "info", "success", "error", "primary", "secondary"], qi = (e) => Xi.includes(e), Ki = ({ color: e, sx: r, variant: t = "filled", fontSize: i = "medium" }, a) => {
2503
2503
  var f;
2504
2504
  const { palette: o } = be(), l = o.mode === "dark" ? o.text.disabled : o.grey[400], c = e || l, d = qi(e) ? (f = o == null ? void 0 : o[e]) == null ? void 0 : f.main : c, u = Ee(d, 0.2);
2505
- return /* @__PURE__ */ m(
2505
+ return /* @__PURE__ */ w(
2506
2506
  we,
2507
2507
  {
2508
2508
  viewBox: "0 0 16 16",
@@ -2554,13 +2554,13 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2554
2554
  endIcon: l
2555
2555
  }) => {
2556
2556
  const c = o || l;
2557
- return r && i ? /* @__PURE__ */ m(j, { direction: i === "start" ? "row" : "row-reverse", alignItems: "center", children: [
2557
+ return r && i ? /* @__PURE__ */ w(j, { direction: i === "start" ? "row" : "row-reverse", alignItems: "center", children: [
2558
2558
  /* @__PURE__ */ n(S1, { size: a, position: "relative", loadingPosition: i }),
2559
2559
  /* @__PURE__ */ n(H, { component: "span", children: e })
2560
- ] }) : r && !t && !c ? /* @__PURE__ */ m(Me, { children: [
2560
+ ] }) : r && !t && !c ? /* @__PURE__ */ w(Me, { children: [
2561
2561
  r && !t && /* @__PURE__ */ n(S1, { size: a }),
2562
2562
  /* @__PURE__ */ n(H, { component: "span", sx: { opacity: 0 }, children: e })
2563
- ] }) : r && t ? /* @__PURE__ */ m(Me, { children: [
2563
+ ] }) : r && t ? /* @__PURE__ */ w(Me, { children: [
2564
2564
  " ",
2565
2565
  t,
2566
2566
  " "
@@ -2610,7 +2610,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2610
2610
  }, d = (u, f) => (u && (t == null || t(u, f), l(!1)), (x) => {
2611
2611
  t == null || t(x, f), l(!1);
2612
2612
  });
2613
- return /* @__PURE__ */ n(tn, { open: r, onClose: d, ...a, children: /* @__PURE__ */ m(H, { sx: { "&:focus": { outline: "none" }, inset: 0, position: "absolute" }, children: [
2613
+ return /* @__PURE__ */ n(tn, { open: r, onClose: d, ...a, children: /* @__PURE__ */ w(H, { sx: { "&:focus": { outline: "none" }, inset: 0, position: "absolute" }, children: [
2614
2614
  /* @__PURE__ */ n(
2615
2615
  Ae,
2616
2616
  {
@@ -2722,42 +2722,56 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
2722
2722
  }, Mt = ue(
2723
2723
  ({ secondarySrc: e, secondaryAvatarProps: r, size: t, ...i }, a) => {
2724
2724
  if (e || r) {
2725
- const { height: o, width: l } = ia(i.sx, t);
2726
- return /* @__PURE__ */ m(H, { sx: { display: "flex", position: "relative" }, children: [
2727
- /* @__PURE__ */ n(
2728
- He,
2729
- {
2730
- ref: a,
2731
- ...i,
2732
- sx: {
2733
- ...t && { height: le[t].primary, width: le[t].primary },
2734
- ...i.sx
2735
- }
2736
- }
2737
- ),
2738
- /* @__PURE__ */ n(
2739
- He,
2740
- {
2741
- src: e,
2742
- sx: {
2743
- bottom: -(o / 3),
2744
- height: o,
2745
- outline: ({ palette: c }) => `2px solid ${c.common.white}`,
2746
- position: "absolute",
2747
- right: -(l / 3),
2748
- width: l,
2749
- ...r == null ? void 0 : r.sx
2750
- },
2751
- ...r
2752
- }
2753
- )
2754
- ] });
2725
+ const { height: o, width: l } = ia(i == null ? void 0 : i.sx, t);
2726
+ return /* @__PURE__ */ w(
2727
+ H,
2728
+ {
2729
+ sx: {
2730
+ display: "flex",
2731
+ height: o,
2732
+ position: "relative",
2733
+ width: l
2734
+ },
2735
+ children: [
2736
+ /* @__PURE__ */ n(
2737
+ He,
2738
+ {
2739
+ ...i,
2740
+ ref: a,
2741
+ sx: {
2742
+ ...t && {
2743
+ height: le[t].primary,
2744
+ width: le[t].primary
2745
+ },
2746
+ ...i.sx
2747
+ }
2748
+ }
2749
+ ),
2750
+ /* @__PURE__ */ n(
2751
+ He,
2752
+ {
2753
+ ...r,
2754
+ src: e,
2755
+ sx: {
2756
+ height: o,
2757
+ left: "70%",
2758
+ outline: ({ palette: c }) => `2px solid ${c.common.white}`,
2759
+ position: "absolute",
2760
+ top: "70%",
2761
+ width: l,
2762
+ ...r == null ? void 0 : r.sx
2763
+ }
2764
+ }
2765
+ )
2766
+ ]
2767
+ }
2768
+ );
2755
2769
  }
2756
2770
  return /* @__PURE__ */ n(
2757
2771
  He,
2758
2772
  {
2759
- ref: a,
2760
2773
  ...i,
2774
+ ref: a,
2761
2775
  sx: {
2762
2776
  ...t && { height: le[t].primary, width: le[t].primary },
2763
2777
  ...i.sx
@@ -2780,8 +2794,8 @@ const aa = (e, r, t) => {
2780
2794
  height: l = 64,
2781
2795
  alt: c = "Article"
2782
2796
  }) => {
2783
- const [d, u] = ie(), [f, x] = ie(), { shape: b } = be(), { borderRadius: g, padding: R } = aa(o, l, b), y = { borderRadius: g, flexShrink: 0 }, h = e && !d && !f, w = !e || f && !d || f && d;
2784
- return /* @__PURE__ */ n(Me, { children: /* @__PURE__ */ m(
2797
+ const [d, u] = ie(), [f, x] = ie(), { shape: b } = be(), { borderRadius: g, padding: R } = aa(o, l, b), y = { borderRadius: g, flexShrink: 0 }, h = e && !d && !f, m = !e || f && !d || f && d;
2798
+ return /* @__PURE__ */ n(Me, { children: /* @__PURE__ */ w(
2785
2799
  Mt,
2786
2800
  {
2787
2801
  src: e,
@@ -2794,15 +2808,15 @@ const aa = (e, r, t) => {
2794
2808
  },
2795
2809
  sx: {
2796
2810
  ...y,
2797
- background: ({ palette: v }) => v.background.paper,
2811
+ background: ({ palette: v }) => m ? v.grey[100] : "transparent",
2798
2812
  height: l,
2799
- padding: w ? R : 0,
2813
+ padding: m ? R : 0,
2800
2814
  width: o,
2801
2815
  ...a
2802
2816
  },
2803
2817
  children: [
2804
2818
  (r || h) && /* @__PURE__ */ n(oa, { width: o, height: l, sx: y }),
2805
- w && /* @__PURE__ */ m("svg", { width: "100%", height: "100%", viewBox: "0 0 39 38", fill: "none", children: [
2819
+ m && /* @__PURE__ */ w("svg", { width: "100%", height: "100%", viewBox: "0 0 39 38", fill: "none", children: [
2806
2820
  /* @__PURE__ */ n(
2807
2821
  "path",
2808
2822
  {
@@ -2891,10 +2905,10 @@ const aa = (e, r, t) => {
2891
2905
  onClickThumb: R,
2892
2906
  variant: y
2893
2907
  }) => {
2894
- const [h, w] = ie(!1), [S, v] = ie(!1), M = e == null ? void 0 : e.toLowerCase(), p = !(M != null && M.endsWith(".pdf")) && !(M != null && M.startsWith("blob:")), _ = M == null ? void 0 : M.endsWith(".pdf"), T = E1(null), $ = S ? sa : r || e, I = f ? 1 : 0.8, K = () => {
2895
- w((Y) => !Y);
2908
+ const [h, m] = ie(!1), [S, v] = ie(!1), M = e == null ? void 0 : e.toLowerCase(), p = !(M != null && M.endsWith(".pdf")) && !(M != null && M.startsWith("blob:")), _ = M == null ? void 0 : M.endsWith(".pdf"), T = E1(null), $ = S ? sa : r || e, I = f ? 1 : 0.8, K = () => {
2909
+ m((Y) => !Y);
2896
2910
  }, oe = () => {
2897
- w(!1), g == null || g();
2911
+ m(!1), g == null || g();
2898
2912
  }, ne = pe(() => {
2899
2913
  v(!0);
2900
2914
  }, []);
@@ -2903,7 +2917,7 @@ const aa = (e, r, t) => {
2903
2917
  return Y == null || Y.addEventListener("error", ne), () => {
2904
2918
  Y == null || Y.removeEventListener("error", ne);
2905
2919
  };
2906
- }, [ne, T]), /* @__PURE__ */ m(Me, { children: [
2920
+ }, [ne, T]), /* @__PURE__ */ w(Me, { children: [
2907
2921
  !x && !i && /* @__PURE__ */ n(
2908
2922
  H,
2909
2923
  {
@@ -2980,8 +2994,8 @@ const aa = (e, r, t) => {
2980
2994
  const [g, R] = ie(!1), y = b || !!(c != null && c.length);
2981
2995
  return T1(() => {
2982
2996
  d && R(!0);
2983
- }, [d]), /* @__PURE__ */ m(j, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
2984
- /* @__PURE__ */ n(H, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(j, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ m(Me, { children: [
2997
+ }, [d]), /* @__PURE__ */ w(j, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
2998
+ /* @__PURE__ */ n(H, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(j, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ w(Me, { children: [
2985
2999
  f || /* @__PURE__ */ n(v1, { color: i ? "secondary" : "primary" }),
2986
3000
  /* @__PURE__ */ n(H, { sx: { flex: 1 }, children: !t && /* @__PURE__ */ n(
2987
3001
  tt,
@@ -2996,7 +3010,7 @@ const aa = (e, r, t) => {
2996
3010
  }
2997
3011
  ) })
2998
3012
  ] }) }) }),
2999
- /* @__PURE__ */ m(
3013
+ /* @__PURE__ */ w(
3000
3014
  j,
3001
3015
  {
3002
3016
  flex: 1,
@@ -3013,9 +3027,9 @@ const aa = (e, r, t) => {
3013
3027
  padding: 1.5
3014
3028
  },
3015
3029
  children: [
3016
- /* @__PURE__ */ m(j, { spacing: 1, justifyContent: "space-between", direction: "row", children: [
3017
- /* @__PURE__ */ m(H, { children: [
3018
- /* @__PURE__ */ m(
3030
+ /* @__PURE__ */ w(j, { spacing: 1, justifyContent: "space-between", direction: "row", children: [
3031
+ /* @__PURE__ */ w(H, { children: [
3032
+ /* @__PURE__ */ w(
3019
3033
  j,
3020
3034
  {
3021
3035
  direction: "row",
@@ -3066,13 +3080,13 @@ const aa = (e, r, t) => {
3066
3080
  ] }),
3067
3081
  x,
3068
3082
  b && /* @__PURE__ */ n(Lr, { in: g, children: b }),
3069
- !!(c != null && c.length) && /* @__PURE__ */ n(Lr, { in: g, children: /* @__PURE__ */ n(j, { marginTop: 3, spacing: 3, children: c == null ? void 0 : c.map((h, w) => {
3083
+ !!(c != null && c.length) && /* @__PURE__ */ n(Lr, { in: g, children: /* @__PURE__ */ n(j, { marginTop: 3, spacing: 3, children: c == null ? void 0 : c.map((h, m) => {
3070
3084
  var M, p, _, T;
3071
- const S = `${h.title}-${w}`, v = Array.isArray(h == null ? void 0 : h.file) ? h == null ? void 0 : h.file[0] : h == null ? void 0 : h.file;
3072
- return /* @__PURE__ */ m(j, { direction: "row", spacing: 1, minWidth: 0, children: [
3085
+ const S = `${h.title}-${m}`, v = Array.isArray(h == null ? void 0 : h.file) ? h == null ? void 0 : h.file[0] : h == null ? void 0 : h.file;
3086
+ return /* @__PURE__ */ w(j, { direction: "row", spacing: 1, minWidth: 0, children: [
3073
3087
  /* @__PURE__ */ n(la, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
3074
- /* @__PURE__ */ m(j, { minWidth: 0, children: [
3075
- /* @__PURE__ */ m(j, { direction: "row", alignItems: "center", spacing: 1, overflow: "hidden", children: [
3088
+ /* @__PURE__ */ w(j, { minWidth: 0, children: [
3089
+ /* @__PURE__ */ w(j, { direction: "row", alignItems: "center", spacing: 1, overflow: "hidden", children: [
3076
3090
  (h == null ? void 0 : h.title) && /* @__PURE__ */ n(
3077
3091
  Ir,
3078
3092
  {
@@ -3112,7 +3126,7 @@ const aa = (e, r, t) => {
3112
3126
  children: h == null ? void 0 : h.subtitle
3113
3127
  }
3114
3128
  ) }),
3115
- (h == null ? void 0 : h.file) && /* @__PURE__ */ m(j, { direction: "row", marginTop: 1, spacing: 0.5, children: [
3129
+ (h == null ? void 0 : h.file) && /* @__PURE__ */ w(j, { direction: "row", marginTop: 1, spacing: 0.5, children: [
3116
3130
  v && /* @__PURE__ */ n(
3117
3131
  nr,
3118
3132
  {
@@ -3174,31 +3188,31 @@ const aa = (e, r, t) => {
3174
3188
  "data-testid": l
3175
3189
  }) => {
3176
3190
  const [c, d] = ie("");
3177
- return r ? /* @__PURE__ */ n(Y1, { sx: i, "data-test": o, "data-testid": l, children: /* @__PURE__ */ m(j, { spacing: 3, children: [
3178
- /* @__PURE__ */ m(j, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3191
+ return r ? /* @__PURE__ */ n(Y1, { sx: i, "data-test": o, "data-testid": l, children: /* @__PURE__ */ w(j, { spacing: 3, children: [
3192
+ /* @__PURE__ */ w(j, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3179
3193
  /* @__PURE__ */ n(v1, {}),
3180
- /* @__PURE__ */ m(j, { children: [
3194
+ /* @__PURE__ */ w(j, { children: [
3181
3195
  /* @__PURE__ */ n(X, { children: /* @__PURE__ */ n(Ce, { width: 100 }) }),
3182
3196
  /* @__PURE__ */ n(X, { variant: "body2", children: /* @__PURE__ */ n(Ce, { width: 130 }) })
3183
3197
  ] })
3184
3198
  ] }),
3185
- /* @__PURE__ */ m(j, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3199
+ /* @__PURE__ */ w(j, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3186
3200
  /* @__PURE__ */ n(v1, {}),
3187
- /* @__PURE__ */ m(j, { children: [
3201
+ /* @__PURE__ */ w(j, { children: [
3188
3202
  /* @__PURE__ */ n(X, { children: /* @__PURE__ */ n(Ce, { width: 150 }) }),
3189
3203
  /* @__PURE__ */ n(X, { variant: "body2", children: /* @__PURE__ */ n(Ce, { width: 100, height: 20 }) })
3190
3204
  ] })
3191
3205
  ] }),
3192
- /* @__PURE__ */ m(j, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3206
+ /* @__PURE__ */ w(j, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3193
3207
  /* @__PURE__ */ n(v1, {}),
3194
- /* @__PURE__ */ m(j, { children: [
3208
+ /* @__PURE__ */ w(j, { children: [
3195
3209
  /* @__PURE__ */ n(X, { children: /* @__PURE__ */ n(Ce, { width: 80 }) }),
3196
3210
  /* @__PURE__ */ n(X, { variant: "body2", children: /* @__PURE__ */ n(Ce, { width: 110, height: 20 }) })
3197
3211
  ] })
3198
3212
  ] })
3199
- ] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(Y1, { sx: i, children: /* @__PURE__ */ n(sr, { severity: "info", children: t }) }) : /* @__PURE__ */ m(Me, { children: [
3213
+ ] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(Y1, { sx: i, children: /* @__PURE__ */ n(sr, { severity: "info", children: t }) }) : /* @__PURE__ */ w(Me, { children: [
3200
3214
  /* @__PURE__ */ n(Y1, { sx: i, "data-test": o, "data-testid": l, children: e == null ? void 0 : e.map(
3201
- ({ Action: u, Collapse: f, collapseItems: x, collapseDefaultOpen: b, subtitle: g, key: R, active: y, Footer: h, Icon: w, onClick: S, tag: v, title: M }, p) => {
3215
+ ({ Action: u, Collapse: f, collapseItems: x, collapseDefaultOpen: b, subtitle: g, key: R, active: y, Footer: h, Icon: m, onClick: S, tag: v, title: M }, p) => {
3202
3216
  const _ = `${R}-${p}-${M}`, T = p === e.length - 1;
3203
3217
  return /* @__PURE__ */ n(
3204
3218
  da,
@@ -3211,7 +3225,7 @@ const aa = (e, r, t) => {
3211
3225
  active: y,
3212
3226
  title: M,
3213
3227
  subtitle: g,
3214
- Icon: w,
3228
+ Icon: m,
3215
3229
  isLastElement: T,
3216
3230
  onClick: S,
3217
3231
  tag: v,
@@ -3225,9 +3239,9 @@ const aa = (e, r, t) => {
3225
3239
  ] });
3226
3240
  }, Ja = ({ Main: e, Sidebar: r, AppBar: t }) => {
3227
3241
  const { breakpoints: i } = be(), a = E1(null), o = s1(i.down("md")), l = r && pr(r, { AppBar: t });
3228
- return /* @__PURE__ */ m(j, { height: "100%", children: [
3242
+ return /* @__PURE__ */ w(j, { height: "100%", children: [
3229
3243
  !o && t,
3230
- /* @__PURE__ */ m(j, { height: "100%", direction: o ? "column" : "row", minHeight: 0, children: [
3244
+ /* @__PURE__ */ w(j, { height: "100%", direction: o ? "column" : "row", minHeight: 0, children: [
3231
3245
  l,
3232
3246
  /* @__PURE__ */ n(
3233
3247
  H,
@@ -3574,8 +3588,8 @@ const aa = (e, r, t) => {
3574
3588
  ...r,
3575
3589
  input: {
3576
3590
  autoComplete: "off",
3577
- startAdornment: t === "search" && /* @__PURE__ */ n(a1, { position: "start", children: /* @__PURE__ */ n(we, { focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: /* @__PURE__ */ m("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3578
- /* @__PURE__ */ m("g", { clipPath: "url(#clip0_14432_13952)", children: [
3591
+ startAdornment: t === "search" && /* @__PURE__ */ n(a1, { position: "start", children: /* @__PURE__ */ n(we, { focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: /* @__PURE__ */ w("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3592
+ /* @__PURE__ */ w("g", { clipPath: "url(#clip0_14432_13952)", children: [
3579
3593
  /* @__PURE__ */ n(
3580
3594
  "path",
3581
3595
  {
@@ -3623,7 +3637,7 @@ const aa = (e, r, t) => {
3623
3637
  position: b = "static",
3624
3638
  elevation: g = 0
3625
3639
  }) => {
3626
- const { breakpoints: R } = be(), { closeMenu: y, isMenuOpen: h, anchorMenu: w, openMenu: S } = ha(), { menuItems: v, ...M } = o || {}, p = s1(R.down("sm")), _ = s1(R.between("sm", "md")), T = p || _, $ = {
3640
+ const { breakpoints: R } = be(), { closeMenu: y, isMenuOpen: h, anchorMenu: m, openMenu: S } = ha(), { menuItems: v, ...M } = o || {}, p = s1(R.down("sm")), _ = s1(R.between("sm", "md")), T = p || _, $ = {
3627
3641
  logoContainer: {
3628
3642
  a: {
3629
3643
  display: "flex"
@@ -3653,15 +3667,15 @@ const aa = (e, r, t) => {
3653
3667
  paddingX: p ? 1 : 3,
3654
3668
  ...x
3655
3669
  };
3656
- return u ? /* @__PURE__ */ n(U1, { position: b, elevation: g, sx: $, children: u }) : /* @__PURE__ */ m(Me, { children: [
3657
- /* @__PURE__ */ n(U1, { position: b, elevation: g, sx: $, children: /* @__PURE__ */ m(j, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
3670
+ return u ? /* @__PURE__ */ n(U1, { position: b, elevation: g, sx: $, children: u }) : /* @__PURE__ */ w(Me, { children: [
3671
+ /* @__PURE__ */ n(U1, { position: b, elevation: g, sx: $, children: /* @__PURE__ */ w(j, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
3658
3672
  T && /* @__PURE__ */ n(Ae, { onClick: f, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(mt, {}) }),
3659
3673
  T || i === null ? null : /* @__PURE__ */ n(H, { sx: $.logoContainer, children: i || /* @__PURE__ */ n(Di, { mode: "dark", ...d }) }),
3660
- /* @__PURE__ */ m(j, { alignItems: "center", direction: "row", justifyContent: p ? "flex-end" : "center", spacing: 1, flex: 1, children: [
3674
+ /* @__PURE__ */ w(j, { alignItems: "center", direction: "row", justifyContent: p ? "flex-end" : "center", spacing: 1, flex: 1, children: [
3661
3675
  p && (t === null ? null : t || /* @__PURE__ */ n(qr, { ...c })),
3662
3676
  r === null ? null : r || /* @__PURE__ */ n(fa, { ...l })
3663
3677
  ] }),
3664
- /* @__PURE__ */ m(j, { direction: "row", alignItems: "center", spacing: 1, children: [
3678
+ /* @__PURE__ */ w(j, { direction: "row", alignItems: "center", spacing: 1, children: [
3665
3679
  !p && (t === null ? null : t || /* @__PURE__ */ n(qr, { ...c })),
3666
3680
  e === null ? null : e || /* @__PURE__ */ n(
3667
3681
  ua,
@@ -3682,7 +3696,7 @@ const aa = (e, r, t) => {
3682
3696
  on,
3683
3697
  {
3684
3698
  id: ga,
3685
- anchorEl: w,
3699
+ anchorEl: m,
3686
3700
  open: h,
3687
3701
  onClose: y,
3688
3702
  onChange: y,
@@ -3706,7 +3720,7 @@ const aa = (e, r, t) => {
3706
3720
  }
3707
3721
  if (I && typeof I == "object" && "url" in I) {
3708
3722
  const { url: oe, label: ne, icon: Y, active: Z, end: q, state: ye } = I, ve = `${oe}-${ne}-${K}`;
3709
- return /* @__PURE__ */ n(sn, { sx: $.menuItem, onClick: y, children: /* @__PURE__ */ m(Cr, { url: oe, component: a, active: Z, end: q, state: ye, children: [
3723
+ return /* @__PURE__ */ n(sn, { sx: $.menuItem, onClick: y, children: /* @__PURE__ */ w(Cr, { url: oe, component: a, active: Z, end: q, state: ye, children: [
3710
3724
  Y && /* @__PURE__ */ n(ln, { children: Y }),
3711
3725
  ne && /* @__PURE__ */ n(Be, { children: ne })
3712
3726
  ] }, ve) }, ve);
@@ -3751,7 +3765,7 @@ const aa = (e, r, t) => {
3751
3765
  ...o
3752
3766
  }
3753
3767
  );
3754
- }, eo = ue(xa), ba = ({ fontSize: e, sx: r, color: t = "currentColor" }) => /* @__PURE__ */ m(we, { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: e, sx: r, children: [
3768
+ }, eo = ue(xa), ba = ({ fontSize: e, sx: r, color: t = "currentColor" }) => /* @__PURE__ */ w(we, { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: e, sx: r, children: [
3755
3769
  /* @__PURE__ */ n("g", { clipPath: "url(#clip0_12914_201806)", children: /* @__PURE__ */ n(
3756
3770
  "path",
3757
3771
  {
@@ -4765,13 +4779,13 @@ const aa = (e, r, t) => {
4765
4779
  }) => {
4766
4780
  var g, R;
4767
4781
  const d = { ...Jr, ...c }, u = (d == null ? void 0 : d.googleFontName) || ((g = ir.typography.fontFamily) == null ? void 0 : g.split(",")[0]), f = (R = d == null ? void 0 : d.fontWeight) == null ? void 0 : R.join(";"), x = _1(() => ({ language: l }), [l]), b = () => {
4768
- var w, S;
4782
+ var m, S;
4769
4783
  const y = typeof o == "object" ? o : {}, h = {
4770
4784
  ...l === "fr" && ya
4771
4785
  };
4772
- return o === "dark" || typeof o == "object" && "palette" in o && ((w = o == null ? void 0 : o.palette) == null ? void 0 : w.mode) === "dark" ? Ze(Rt, y, h) : o === "light" || typeof o == "object" && "palette" in o && ((S = o == null ? void 0 : o.palette) == null ? void 0 : S.mode) === "light" ? Ze(St, y, h) : Ze(ir, y, h);
4786
+ return o === "dark" || typeof o == "object" && "palette" in o && ((m = o == null ? void 0 : o.palette) == null ? void 0 : m.mode) === "dark" ? Ze(Rt, y, h) : o === "light" || typeof o == "object" && "palette" in o && ((S = o == null ? void 0 : o.palette) == null ? void 0 : S.mode) === "light" ? Ze(St, y, h) : Ze(ir, y, h);
4773
4787
  };
4774
- return /* @__PURE__ */ n(kt.Provider, { value: x, children: /* @__PURE__ */ m(dn, { theme: b(), children: [
4788
+ return /* @__PURE__ */ n(kt.Provider, { value: x, children: /* @__PURE__ */ w(dn, { theme: b(), children: [
4775
4789
  /* @__PURE__ */ n(
4776
4790
  i1,
4777
4791
  {
@@ -4843,13 +4857,13 @@ const aa = (e, r, t) => {
4843
4857
  pattern: R,
4844
4858
  title: y,
4845
4859
  variant: h = "vertical"
4846
- }, w) => {
4860
+ }, m) => {
4847
4861
  const { t: S } = Tt(), { palette: v } = be(), M = h === "vertical", p = c || r, _ = E1(null), T = E1(null), [$, I] = ie(null), K = Ta($);
4848
- En(w, () => T.current);
4862
+ En(m, () => T.current);
4849
4863
  const oe = (Z) => {
4850
4864
  b == null || b(Z), I(Z.target.files);
4851
4865
  };
4852
- return /* @__PURE__ */ m(
4866
+ return /* @__PURE__ */ w(
4853
4867
  pn,
4854
4868
  {
4855
4869
  ref: _,
@@ -4879,7 +4893,7 @@ const aa = (e, r, t) => {
4879
4893
  width: "100%"
4880
4894
  },
4881
4895
  children: [
4882
- /* @__PURE__ */ m(
4896
+ /* @__PURE__ */ w(
4883
4897
  j,
4884
4898
  {
4885
4899
  alignItems: "center",
@@ -4891,8 +4905,8 @@ const aa = (e, r, t) => {
4891
4905
  color: t ? "text.disabled" : "text.secondary",
4892
4906
  children: [
4893
4907
  x || /* @__PURE__ */ n(ba, { sx: { height: 40, width: 40 } }),
4894
- K ? /* @__PURE__ */ m(Me, { children: [
4895
- /* @__PURE__ */ m(X, { variant: "body2", color: "textSecondary", children: [
4908
+ K ? /* @__PURE__ */ w(Me, { children: [
4909
+ /* @__PURE__ */ w(X, { variant: "body2", color: "textSecondary", children: [
4896
4910
  $ == null ? void 0 : $.length,
4897
4911
  " ",
4898
4912
  (o == null ? void 0 : o.files) || S("files")
@@ -4908,7 +4922,7 @@ const aa = (e, r, t) => {
4908
4922
  children: K
4909
4923
  }
4910
4924
  )
4911
- ] }) : /* @__PURE__ */ m(X, { variant: "subtitle1", color: t ? "text.disabled" : "primary", children: [
4925
+ ] }) : /* @__PURE__ */ w(X, { variant: "subtitle1", color: t ? "text.disabled" : "primary", children: [
4912
4926
  g || S("clickToUpload"),
4913
4927
  " ",
4914
4928
  i && "*"
@@ -4976,7 +4990,7 @@ const aa = (e, r, t) => {
4976
4990
  ...n1.list,
4977
4991
  ...i && { width: "100%" }
4978
4992
  },
4979
- children: [...Array(d).keys()].map((b) => /* @__PURE__ */ m(Le, { sx: n1.listItem, children: [
4993
+ children: [...Array(d).keys()].map((b) => /* @__PURE__ */ w(Le, { sx: n1.listItem, children: [
4980
4994
  /* @__PURE__ */ n(Ce, { width: 40, height: 40, sx: { marginRight: t1 }, variant: "rounded" }),
4981
4995
  /* @__PURE__ */ n(
4982
4996
  Be,
@@ -4988,7 +5002,7 @@ const aa = (e, r, t) => {
4988
5002
  )
4989
5003
  ] }, b))
4990
5004
  }
4991
- ) : /* @__PURE__ */ m(
5005
+ ) : /* @__PURE__ */ w(
4992
5006
  m1,
4993
5007
  {
4994
5008
  sx: {
@@ -4998,13 +5012,13 @@ const aa = (e, r, t) => {
4998
5012
  },
4999
5013
  children: [
5000
5014
  t == null ? void 0 : t.map(
5001
- ({ id: b, title: g, subtitle: R, image: y, thumbnail: h, secondaryAction: w, chipLabel: S, chipColor: v, onClick: M, icon: p, Avatar: _ }, T) => {
5015
+ ({ id: b, title: g, subtitle: R, image: y, thumbnail: h, secondaryAction: m, chipLabel: S, chipColor: v, onClick: M, icon: p, Avatar: _ }, T) => {
5002
5016
  var A, U, te, ce;
5003
5017
  const $ = `key-${T}-${g}-${b}`, I = (A = y == null ? void 0 : y.toLowerCase()) == null ? void 0 : A.endsWith(".pdf"), K = (U = y == null ? void 0 : y.toLowerCase()) == null ? void 0 : U.startsWith("http"), oe = (te = h == null ? void 0 : h.toLowerCase()) == null ? void 0 : te.startsWith("http"), ne = M ? "none" : void 0, Y = c || !!p || !K, Z = !!M || !!(!M && !c && (h || y)), q = u === $, D = (oe ? h : "") || (K ? y : "") || "";
5004
- return /* @__PURE__ */ m(
5018
+ return /* @__PURE__ */ w(
5005
5019
  Le,
5006
5020
  {
5007
- secondaryAction: w,
5021
+ secondaryAction: m,
5008
5022
  onClick: (fe) => {
5009
5023
  M == null || M(fe), Z && !q && !M && f($);
5010
5024
  },
@@ -5057,7 +5071,7 @@ const aa = (e, r, t) => {
5057
5071
  /* @__PURE__ */ n(
5058
5072
  Be,
5059
5073
  {
5060
- primary: /* @__PURE__ */ m(j, { direction: "row", alignItems: "center", spacing: 1, children: [
5074
+ primary: /* @__PURE__ */ w(j, { direction: "row", alignItems: "center", spacing: 1, children: [
5061
5075
  g && /* @__PURE__ */ n(X, { variant: "h6", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: g }),
5062
5076
  S && /* @__PURE__ */ n(o1, { label: S, variant: "rounded", size: "xSmall", color: Aa(v) ? v : "default" })
5063
5077
  ] }),
@@ -5077,7 +5091,7 @@ const aa = (e, r, t) => {
5077
5091
  );
5078
5092
  }
5079
5093
  ),
5080
- r && /* @__PURE__ */ m(
5094
+ r && /* @__PURE__ */ w(
5081
5095
  X1,
5082
5096
  {
5083
5097
  onClick: r == null ? void 0 : r.onClick,
@@ -5131,9 +5145,9 @@ const aa = (e, r, t) => {
5131
5145
  ...u
5132
5146
  }) => {
5133
5147
  const { t: f } = Tt(), x = Array.isArray(c) ? (c == null ? void 0 : c.length) === (l == null ? void 0 : l.length) : !1, b = l == null ? void 0 : l.filter((g) => g == null ? void 0 : g.isHeader);
5134
- return /* @__PURE__ */ m(dr, { ...u, children: [
5135
- d && !o && (!r || !!(b != null && b.length)) && /* @__PURE__ */ m(Me, { children: [
5136
- /* @__PURE__ */ m(m1, { role: "listbox", children: [
5148
+ return /* @__PURE__ */ w(dr, { ...u, children: [
5149
+ d && !o && (!r || !!(b != null && b.length)) && /* @__PURE__ */ w(Me, { children: [
5150
+ /* @__PURE__ */ w(m1, { role: "listbox", children: [
5137
5151
  !r && /* @__PURE__ */ n(
5138
5152
  Le,
5139
5153
  {
@@ -5146,7 +5160,7 @@ const aa = (e, r, t) => {
5146
5160
  }
5147
5161
  a == null || a(g, l || [], "selectOption");
5148
5162
  },
5149
- children: /* @__PURE__ */ m(X1, { disableRipple: !0, children: [
5163
+ children: /* @__PURE__ */ w(X1, { disableRipple: !0, children: [
5150
5164
  /* @__PURE__ */ n(q1, { disableRipple: !0, id: "select-all-checkbox", checked: x, sx: ar }),
5151
5165
  /* @__PURE__ */ n(Be, { primary: (t == null ? void 0 : t.selectAll) || f("selectAll"), primaryTypographyProps: { variant: "body2" } }),
5152
5166
  !i && /* @__PURE__ */ n(
@@ -5172,23 +5186,23 @@ const aa = (e, r, t) => {
5172
5186
  ),
5173
5187
  b == null ? void 0 : b.map((g, R) => {
5174
5188
  const y = `header-options-${g == null ? void 0 : g.id}-${R}`, h = Array.isArray(c) && c.some(
5175
- (w) => JSON.stringify(w) === JSON.stringify(g) || w && typeof w == "object" && "id" in w && (w == null ? void 0 : w.id) === (g == null ? void 0 : g.id)
5189
+ (m) => JSON.stringify(m) === JSON.stringify(g) || m && typeof m == "object" && "id" in m && (m == null ? void 0 : m.id) === (g == null ? void 0 : g.id)
5176
5190
  );
5177
5191
  return /* @__PURE__ */ n(
5178
5192
  Le,
5179
5193
  {
5180
5194
  disablePadding: !0,
5181
- onMouseDown: (w) => {
5182
- if (w.stopPropagation(), w.preventDefault(), h) {
5195
+ onMouseDown: (m) => {
5196
+ if (m.stopPropagation(), m.preventDefault(), h) {
5183
5197
  const S = Array.isArray(c) ? c == null ? void 0 : c.filter(
5184
5198
  (v) => !(JSON.stringify(v) === JSON.stringify(g) || v && typeof v == "object" && "id" in v && (v == null ? void 0 : v.id) === (g == null ? void 0 : g.id))
5185
5199
  ) : [];
5186
- a == null || a(w, S, "removeOption");
5200
+ a == null || a(m, S, "removeOption");
5187
5201
  return;
5188
5202
  }
5189
- a == null || a(w, [...Array.isArray(c) ? c : [], g], "selectOption");
5203
+ a == null || a(m, [...Array.isArray(c) ? c : [], g], "selectOption");
5190
5204
  },
5191
- children: /* @__PURE__ */ m(X1, { disableRipple: !0, children: [
5205
+ children: /* @__PURE__ */ w(X1, { disableRipple: !0, children: [
5192
5206
  /* @__PURE__ */ n(q1, { disableRipple: !0, checked: h, sx: ar }),
5193
5207
  /* @__PURE__ */ n(Be, { primary: g == null ? void 0 : g.label })
5194
5208
  ] })
@@ -5219,7 +5233,7 @@ const aa = (e, r, t) => {
5219
5233
  resetInputValueOnSelectOption: R,
5220
5234
  renderOption: y,
5221
5235
  renderTags: h,
5222
- size: w = "small",
5236
+ size: m = "small",
5223
5237
  disableCloseOnSelect: S = !0,
5224
5238
  multiple: v = !0,
5225
5239
  options: M = [],
@@ -5237,7 +5251,7 @@ const aa = (e, r, t) => {
5237
5251
  loading: g,
5238
5252
  options: M,
5239
5253
  ref: T,
5240
- size: w,
5254
+ size: m,
5241
5255
  disableCloseOnSelect: S,
5242
5256
  onChange: (D, A, U, te) => {
5243
5257
  if (A === null) {
@@ -5318,7 +5332,7 @@ const aa = (e, r, t) => {
5318
5332
  slotProps: {
5319
5333
  input: {
5320
5334
  ...D.InputProps,
5321
- endAdornment: I ? /* @__PURE__ */ m(
5335
+ endAdornment: I ? /* @__PURE__ */ w(
5322
5336
  a1,
5323
5337
  {
5324
5338
  position: "end",
@@ -5490,7 +5504,7 @@ const aa = (e, r, t) => {
5490
5504
  maxWidth: l = "xs",
5491
5505
  onClose: c,
5492
5506
  ...d
5493
- }) => /* @__PURE__ */ m(
5507
+ }) => /* @__PURE__ */ w(
5494
5508
  yn,
5495
5509
  {
5496
5510
  maxWidth: l,
@@ -5503,7 +5517,7 @@ const aa = (e, r, t) => {
5503
5517
  }
5504
5518
  },
5505
5519
  children: [
5506
- /* @__PURE__ */ m(
5520
+ /* @__PURE__ */ w(
5507
5521
  xn,
5508
5522
  {
5509
5523
  sx: {
@@ -5533,7 +5547,7 @@ const aa = (e, r, t) => {
5533
5547
  width: et,
5534
5548
  ...Va
5535
5549
  },
5536
- children: /* @__PURE__ */ m("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5550
+ children: /* @__PURE__ */ w("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5537
5551
  /* @__PURE__ */ n(
5538
5552
  "path",
5539
5553
  {
@@ -5550,7 +5564,7 @@ const aa = (e, r, t) => {
5550
5564
  ]
5551
5565
  }
5552
5566
  ),
5553
- (t || i) && /* @__PURE__ */ m(bn, { children: [
5567
+ (t || i) && /* @__PURE__ */ w(bn, { children: [
5554
5568
  i && /* @__PURE__ */ n(Ur, { variant: "outlined", size: "small", isLoading: i == null ? void 0 : i.loading, onClick: i == null ? void 0 : i.onClick, sx: { flex: 1 }, children: i == null ? void 0 : i.text }),
5555
5569
  t && /* @__PURE__ */ n(
5556
5570
  Ur,
@@ -5613,7 +5627,7 @@ const aa = (e, r, t) => {
5613
5627
  }),
5614
5628
  [l, o, i.isOpen]
5615
5629
  );
5616
- return /* @__PURE__ */ m(At.Provider, { value: c, children: [
5630
+ return /* @__PURE__ */ w(At.Provider, { value: c, children: [
5617
5631
  /* @__PURE__ */ n(
5618
5632
  mn,
5619
5633
  {