@vlprojects-chat/chat 0.17.0-LD-8846.3 → 0.17.0-LD-8846.5

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.
Files changed (2) hide show
  1. package/dist/index.mjs +623 -610
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -244,7 +244,7 @@ function D_() {
244
244
  return typeof Ce == "function" ? Ce : null;
245
245
  }
246
246
  var A = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
247
- function k(Z) {
247
+ function M(Z) {
248
248
  {
249
249
  for (var Ce = arguments.length, De = new Array(Ce > 1 ? Ce - 1 : 0), $e = 1; $e < Ce; $e++)
250
250
  De[$e - 1] = arguments[$e];
@@ -275,7 +275,7 @@ function D_() {
275
275
  function V(Z) {
276
276
  if (Z == null)
277
277
  return null;
278
- if (typeof Z.tag == "number" && k("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), typeof Z == "function")
278
+ if (typeof Z.tag == "number" && M("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), typeof Z == "function")
279
279
  return Z.displayName || Z.name || null;
280
280
  if (typeof Z == "string")
281
281
  return Z;
@@ -377,7 +377,7 @@ function D_() {
377
377
  })
378
378
  });
379
379
  }
380
- B < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
380
+ B < 0 && M("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
381
381
  }
382
382
  }
383
383
  var K = A.ReactCurrentDispatcher, ne;
@@ -531,7 +531,7 @@ function D_() {
531
531
  } catch (Dn) {
532
532
  xt = Dn;
533
533
  }
534
- xt && !(xt instanceof Error) && (Ge(fn), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", $e || "React class", De, kt, typeof xt), Ge(null)), xt instanceof Error && !(xt.message in Me) && (Me[xt.message] = !0, Ge(fn), k("Failed %s type: %s", De, xt.message), Ge(null));
534
+ xt && !(xt instanceof Error) && (Ge(fn), M("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", $e || "React class", De, kt, typeof xt), Ge(null)), xt instanceof Error && !(xt.message in Me) && (Me[xt.message] = !0, Ge(fn), M("Failed %s type: %s", De, xt.message), Ge(null));
535
535
  }
536
536
  }
537
537
  }
@@ -561,13 +561,13 @@ function D_() {
561
561
  function ge(Z, Ce) {
562
562
  if (typeof Z.ref == "string" && Ke.current && Ce && Ke.current.stateNode !== Ce) {
563
563
  var De = V(Ke.current.type);
564
- we[De] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(Ke.current.type), Z.ref), we[De] = !0);
564
+ we[De] || (M('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(Ke.current.type), Z.ref), we[De] = !0);
565
565
  }
566
566
  }
567
567
  function qe(Z, Ce) {
568
568
  {
569
569
  var De = function() {
570
- Ne || (Ne = !0, k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Ce));
570
+ Ne || (Ne = !0, M("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Ce));
571
571
  };
572
572
  De.isReactWarning = !0, Object.defineProperty(Z, "key", {
573
573
  get: De,
@@ -578,7 +578,7 @@ function D_() {
578
578
  function P(Z, Ce) {
579
579
  {
580
580
  var De = function() {
581
- pe || (pe = !0, k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Ce));
581
+ pe || (pe = !0, M("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Ce));
582
582
  };
583
583
  De.isReactWarning = !0, Object.defineProperty(Z, "ref", {
584
584
  get: De,
@@ -684,7 +684,7 @@ Check the top-level render call using <` + De + ">.");
684
684
  return;
685
685
  on[De] = !0;
686
686
  var $e = "";
687
- Z && Z._owner && Z._owner !== j.current && ($e = " It was passed a child from " + V(Z._owner.type) + "."), ie(Z), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', De, $e), ie(null);
687
+ Z && Z._owner && Z._owner !== j.current && ($e = " It was passed a child from " + V(Z._owner.type) + "."), ie(Z), M('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', De, $e), ie(null);
688
688
  }
689
689
  }
690
690
  function Rh(Z, Ce) {
@@ -726,9 +726,9 @@ Check the top-level render call using <` + De + ">.");
726
726
  } else if (Ce.PropTypes !== void 0 && !le) {
727
727
  le = !0;
728
728
  var fn = V(Ce);
729
- k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", fn || "Unknown");
729
+ M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", fn || "Unknown");
730
730
  }
731
- typeof Ce.getDefaultProps == "function" && !Ce.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
731
+ typeof Ce.getDefaultProps == "function" && !Ce.getDefaultProps.isReactClassApproved && M("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
732
732
  }
733
733
  }
734
734
  function Ph(Z) {
@@ -736,11 +736,11 @@ Check the top-level render call using <` + De + ">.");
736
736
  for (var Ce = Object.keys(Z.props), De = 0; De < Ce.length; De++) {
737
737
  var $e = Ce[De];
738
738
  if ($e !== "children" && $e !== "key") {
739
- ie(Z), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", $e), ie(null);
739
+ ie(Z), M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", $e), ie(null);
740
740
  break;
741
741
  }
742
742
  }
743
- Z.ref !== null && (ie(Z), k("Invalid attribute `ref` supplied to `React.Fragment`."), ie(null));
743
+ Z.ref !== null && (ie(Z), M("Invalid attribute `ref` supplied to `React.Fragment`."), ie(null));
744
744
  }
745
745
  }
746
746
  function Uf(Z, Ce, De, $e, fn, sn) {
@@ -752,7 +752,7 @@ Check the top-level render call using <` + De + ">.");
752
752
  var Ar = Bt();
753
753
  Ar ? xt += Ar : xt += jt();
754
754
  var Dn;
755
- Z === null ? Dn = "null" : Array.isArray(Z) ? Dn = "array" : Z !== void 0 && Z.$$typeof === r ? (Dn = "<" + (V(Z.type) || "Unknown") + " />", xt = " Did you accidentally export a JSX literal instead of a component?") : Dn = typeof Z, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Dn, xt);
755
+ Z === null ? Dn = "null" : Array.isArray(Z) ? Dn = "array" : Z !== void 0 && Z.$$typeof === r ? (Dn = "<" + (V(Z.type) || "Unknown") + " />", xt = " Did you accidentally export a JSX literal instead of a component?") : Dn = typeof Z, M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Dn, xt);
756
756
  }
757
757
  var Un = T(Z, Ce, De, fn, sn);
758
758
  if (Un == null)
@@ -766,7 +766,7 @@ Check the top-level render call using <` + De + ">.");
766
766
  Rh(Ss[Al], Z);
767
767
  Object.freeze && Object.freeze(Ss);
768
768
  } else
769
- k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
769
+ M("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
770
770
  else
771
771
  Rh(Ss, Z);
772
772
  }
@@ -900,7 +900,7 @@ function L_() {
900
900
  }
901
901
  }
902
902
  }
903
- var x = c, O = l, A = a, k = s, N = t, R = u, L = r, F = g, J = m, V = n, B = i, W = o, te = p, ae = !1;
903
+ var x = c, O = l, A = a, M = s, N = t, R = u, L = r, F = g, J = m, V = n, B = i, W = o, te = p, ae = !1;
904
904
  function Q($) {
905
905
  return ae || (ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), U($) || w($) === c;
906
906
  }
@@ -940,7 +940,7 @@ function L_() {
940
940
  function se($) {
941
941
  return w($) === p;
942
942
  }
943
- zt.AsyncMode = x, zt.ConcurrentMode = O, zt.ContextConsumer = A, zt.ContextProvider = k, zt.Element = N, zt.ForwardRef = R, zt.Fragment = L, zt.Lazy = F, zt.Memo = J, zt.Portal = V, zt.Profiler = B, zt.StrictMode = W, zt.Suspense = te, zt.isAsyncMode = Q, zt.isConcurrentMode = U, zt.isContextConsumer = q, zt.isContextProvider = D, zt.isElement = G, zt.isForwardRef = H, zt.isFragment = Y, zt.isLazy = K, zt.isMemo = ne, zt.isPortal = z, zt.isProfiler = ee, zt.isStrictMode = oe, zt.isSuspense = se, zt.isValidElementType = b, zt.typeOf = w;
943
+ zt.AsyncMode = x, zt.ConcurrentMode = O, zt.ContextConsumer = A, zt.ContextProvider = M, zt.Element = N, zt.ForwardRef = R, zt.Fragment = L, zt.Lazy = F, zt.Memo = J, zt.Portal = V, zt.Profiler = B, zt.StrictMode = W, zt.Suspense = te, zt.isAsyncMode = Q, zt.isConcurrentMode = U, zt.isContextConsumer = q, zt.isContextProvider = D, zt.isElement = G, zt.isForwardRef = H, zt.isFragment = Y, zt.isLazy = K, zt.isMemo = ne, zt.isPortal = z, zt.isProfiler = ee, zt.isStrictMode = oe, zt.isSuspense = se, zt.isValidElementType = b, zt.typeOf = w;
944
944
  }()), zt;
945
945
  }
946
946
  I.env.NODE_ENV === "production" ? k1.exports = __() : k1.exports = L_();
@@ -1043,7 +1043,7 @@ function F_() {
1043
1043
  elementType: x(),
1044
1044
  instanceOf: O,
1045
1045
  node: R(),
1046
- objectOf: k,
1046
+ objectOf: M,
1047
1047
  oneOf: A,
1048
1048
  oneOfType: N,
1049
1049
  shape: F,
@@ -1163,7 +1163,7 @@ function F_() {
1163
1163
  }
1164
1164
  return y(q);
1165
1165
  }
1166
- function k(U) {
1166
+ function M(U) {
1167
1167
  function q(D, G, H, Y, K) {
1168
1168
  if (typeof U != "function")
1169
1169
  return new v("Property `" + K + "` of component `" + H + "` has invalid PropType notation inside objectOf.");
@@ -3420,7 +3420,7 @@ function NL() {
3420
3420
  }
3421
3421
  }
3422
3422
  }
3423
- var O = s, A = i, k = e, N = c, R = n, L = d, F = p, J = t, V = o, B = r, W = l, te = u, ae = !1, Q = !1;
3423
+ var O = s, A = i, M = e, N = c, R = n, L = d, F = p, J = t, V = o, B = r, W = l, te = u, ae = !1, Q = !1;
3424
3424
  function U(re) {
3425
3425
  return ae || (ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
3426
3426
  }
@@ -3463,7 +3463,7 @@ function NL() {
3463
3463
  function Te(re) {
3464
3464
  return x(re) === u;
3465
3465
  }
3466
- Yt.ContextConsumer = O, Yt.ContextProvider = A, Yt.Element = k, Yt.ForwardRef = N, Yt.Fragment = R, Yt.Lazy = L, Yt.Memo = F, Yt.Portal = J, Yt.Profiler = V, Yt.StrictMode = B, Yt.Suspense = W, Yt.SuspenseList = te, Yt.isAsyncMode = U, Yt.isConcurrentMode = q, Yt.isContextConsumer = D, Yt.isContextProvider = G, Yt.isElement = H, Yt.isForwardRef = Y, Yt.isFragment = K, Yt.isLazy = ne, Yt.isMemo = z, Yt.isPortal = ee, Yt.isProfiler = oe, Yt.isStrictMode = se, Yt.isSuspense = $, Yt.isSuspenseList = Te, Yt.isValidElementType = w, Yt.typeOf = x;
3466
+ Yt.ContextConsumer = O, Yt.ContextProvider = A, Yt.Element = M, Yt.ForwardRef = N, Yt.Fragment = R, Yt.Lazy = L, Yt.Memo = F, Yt.Portal = J, Yt.Profiler = V, Yt.StrictMode = B, Yt.Suspense = W, Yt.SuspenseList = te, Yt.isAsyncMode = U, Yt.isConcurrentMode = q, Yt.isContextConsumer = D, Yt.isContextProvider = G, Yt.isElement = H, Yt.isForwardRef = Y, Yt.isFragment = K, Yt.isLazy = ne, Yt.isMemo = z, Yt.isPortal = ee, Yt.isProfiler = oe, Yt.isStrictMode = se, Yt.isSuspense = $, Yt.isSuspenseList = Te, Yt.isValidElementType = w, Yt.typeOf = x;
3467
3467
  }()), Yt;
3468
3468
  }
3469
3469
  I.env.NODE_ENV === "production" ? _1.exports = IL() : _1.exports = NL();
@@ -3597,14 +3597,14 @@ function W3(e = {}) {
3597
3597
  };
3598
3598
  if (Zi(x)) {
3599
3599
  const O = U3(x);
3600
- return O.variants ? function(k) {
3601
- return km(k, O);
3600
+ return O.variants ? function(M) {
3601
+ return km(M, O);
3602
3602
  } : O.style;
3603
3603
  }
3604
3604
  return x;
3605
3605
  }, w = (...x) => {
3606
- const O = [], A = x.map(b), k = [];
3607
- if (O.push(i), l && m && k.push(function(F) {
3606
+ const O = [], A = x.map(b), M = [];
3607
+ if (O.push(i), l && m && M.push(function(F) {
3608
3608
  var W, te;
3609
3609
  const V = (te = (W = F.theme.components) == null ? void 0 : W[l]) == null ? void 0 : te.styleOverrides;
3610
3610
  if (!V)
@@ -3613,16 +3613,16 @@ function W3(e = {}) {
3613
3613
  for (const ae in V)
3614
3614
  B[ae] = km(F, V[ae]);
3615
3615
  return m(F, B);
3616
- }), l && !v && k.push(function(F) {
3616
+ }), l && !v && M.push(function(F) {
3617
3617
  var B, W;
3618
3618
  const J = F.theme, V = (W = (B = J == null ? void 0 : J.components) == null ? void 0 : B[l]) == null ? void 0 : W.variants;
3619
3619
  return V ? H3(F, V) : null;
3620
- }), y || k.push(xa), Array.isArray(A[0])) {
3621
- const L = A.shift(), F = new Array(O.length).fill(""), J = new Array(k.length).fill("");
3620
+ }), y || M.push(xa), Array.isArray(A[0])) {
3621
+ const L = A.shift(), F = new Array(O.length).fill(""), J = new Array(M.length).fill("");
3622
3622
  let V;
3623
3623
  V = [...F, ...L, ...J], V.raw = [...F, ...L.raw, ...J], O.unshift(V);
3624
3624
  }
3625
- const N = [...O, ...A, ...k], R = C(...N);
3625
+ const N = [...O, ...A, ...M], R = C(...N);
3626
3626
  return a.muiName && (R.muiName = a.muiName), I.env.NODE_ENV !== "production" && (R.displayName = DL(l, u, a)), R;
3627
3627
  };
3628
3628
  return C.withConfig && (w.withConfig = C.withConfig), w;
@@ -4624,10 +4624,10 @@ function d7(e) {
4624
4624
  storageWindow: x = typeof window > "u" ? void 0 : window,
4625
4625
  documentNode: O = typeof document > "u" ? void 0 : document,
4626
4626
  colorSchemeNode: A = typeof document > "u" ? void 0 : document.documentElement,
4627
- disableNestedContext: k = !1,
4627
+ disableNestedContext: M = !1,
4628
4628
  disableStyleSheetGeneration: N = !1,
4629
4629
  defaultMode: R = "system"
4630
- } = v, L = _.useRef(!1), F = gy(), J = _.useContext(l), V = !!J && !k, B = _.useMemo(() => S || (typeof n == "function" ? n() : n), [S]), W = B[t], {
4630
+ } = v, L = _.useRef(!1), F = gy(), J = _.useContext(l), V = !!J && !M, B = _.useMemo(() => S || (typeof n == "function" ? n() : n), [S]), W = B[t], {
4631
4631
  colorSchemes: te = {},
4632
4632
  components: ae = {},
4633
4633
  cssVarPrefix: Q,
@@ -4902,7 +4902,7 @@ function g7(e, t = {}) {
4902
4902
  }), b;
4903
4903
  },
4904
4904
  generateStyleSheets: () => {
4905
- var k, N;
4905
+ var M, N;
4906
4906
  const b = [], w = e.defaultColorScheme || "light";
4907
4907
  function x(R, L) {
4908
4908
  Object.keys(L).length && b.push(typeof R == "string" ? {
@@ -4921,7 +4921,7 @@ function g7(e, t = {}) {
4921
4921
  if (O) {
4922
4922
  const {
4923
4923
  css: R
4924
- } = O, L = (N = (k = i[w]) == null ? void 0 : k.palette) == null ? void 0 : N.mode, F = !r && L ? {
4924
+ } = O, L = (N = (M = i[w]) == null ? void 0 : M.palette) == null ? void 0 : N.mode, F = !r && L ? {
4925
4925
  colorScheme: L,
4926
4926
  ...R
4927
4927
  } : {
@@ -5883,11 +5883,11 @@ function $7(e = {}, ...t) {
5883
5883
  }, {
5884
5884
  vars: O,
5885
5885
  generateThemeVars: A,
5886
- generateStyleSheets: k
5886
+ generateStyleSheets: M
5887
5887
  } = g7(w, x);
5888
5888
  return w.vars = O, Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([N, R]) => {
5889
5889
  w[N] = R;
5890
- }), w.generateThemeVars = A, w.generateStyleSheets = k, w.generateSpacing = function() {
5890
+ }), w.generateThemeVars = A, w.generateStyleSheets = M, w.generateSpacing = function() {
5891
5891
  return j3(l.spacing, ny(this));
5892
5892
  }, w.getColorSchemeSelector = v7(a), w.spacing = w.generateSpacing(), w.shouldSkipGeneratingVar = s, w.unstable_sxConfig = {
5893
5893
  ...Ip,
@@ -10073,10 +10073,10 @@ function UV() {
10073
10073
  {
10074
10074
  var O = t.ReactDebugCurrentFrame, A = O.getStackAddendum();
10075
10075
  A !== "" && (w += "%s", x = x.concat([A]));
10076
- var k = x.map(function(N) {
10076
+ var M = x.map(function(N) {
10077
10077
  return String(N);
10078
10078
  });
10079
- k.unshift("Warning: " + w), Function.prototype.apply.call(console[b], console, k);
10079
+ M.unshift("Warning: " + w), Function.prototype.apply.call(console[b], console, M);
10080
10080
  }
10081
10081
  }
10082
10082
  function o(b, w) {
@@ -10090,12 +10090,12 @@ function UV() {
10090
10090
  var A = w();
10091
10091
  i(O, A) || (n("The result of getSnapshot should be cached to avoid an infinite loop"), p = !0);
10092
10092
  }
10093
- var k = s({
10093
+ var M = s({
10094
10094
  inst: {
10095
10095
  value: O,
10096
10096
  getSnapshot: w
10097
10097
  }
10098
- }), N = k[0].inst, R = k[1];
10098
+ }), N = M[0].inst, R = M[1];
10099
10099
  return c(function() {
10100
10100
  N.value = O, N.getSnapshot = w, m(N) && R({
10101
10101
  inst: N
@@ -16304,9 +16304,9 @@ function MN(e, t = {}) {
16304
16304
  return new vf();
16305
16305
  const m = gn(), g = zr(), v = uG(e);
16306
16306
  v.end = new Proxy(v.end, {
16307
- apply(O, A, k) {
16307
+ apply(O, A, M) {
16308
16308
  p && p(v);
16309
- const [N, ...R] = k, L = N || Hr(), F = Cc(L), J = Fm(v).filter((ae) => ae !== v);
16309
+ const [N, ...R] = M, L = N || Hr(), F = Cc(L), J = Fm(v).filter((ae) => ae !== v);
16310
16310
  if (!J.length)
16311
16311
  return x(F), Reflect.apply(O, A, [F, ...R]);
16312
16312
  const V = J.map((ae) => Ht(ae).timestamp).filter((ae) => !!ae), B = V.length ? Math.max(...V) : void 0, W = Ht(v).start_timestamp, te = Math.min(
@@ -16342,8 +16342,8 @@ function MN(e, t = {}) {
16342
16342
  }
16343
16343
  function x(O) {
16344
16344
  r = !0, n.clear(), a.forEach((F) => F()), $d(m, g);
16345
- const A = Ht(v), { start_timestamp: k } = A;
16346
- if (!k)
16345
+ const A = Ht(v), { start_timestamp: M } = A;
16346
+ if (!M)
16347
16347
  return;
16348
16348
  (A.data || {})[Iw] || v.setAttribute(Iw, i), Ae.log(`[Tracing] Idle span "${A.op}" finished`);
16349
16349
  const R = Fm(v).filter((F) => F !== v);
@@ -19590,9 +19590,9 @@ const JY = "BrowserTracing", ZY = {
19590
19590
  source: void 0
19591
19591
  };
19592
19592
  function w(x, O) {
19593
- const A = O.op === "pageload", k = s ? s(O) : O, N = k.attributes || {};
19594
- O.name !== k.name && (N[va] = "custom", k.attributes = N), b.name = k.name, b.source = N[va];
19595
- const R = MN(k, {
19593
+ const A = O.op === "pageload", M = s ? s(O) : O, N = M.attributes || {};
19594
+ O.name !== M.name && (N[va] = "custom", M.attributes = N), b.name = M.name, b.source = N[va];
19595
+ const R = MN(M, {
19596
19596
  idleTimeout: a,
19597
19597
  finalTimeout: c,
19598
19598
  childSpanTimeout: l,
@@ -19613,29 +19613,29 @@ const JY = "BrowserTracing", ZY = {
19613
19613
  name: JY,
19614
19614
  afterAllSetup(x) {
19615
19615
  let O, A = Xe.location && Xe.location.href;
19616
- x.on("startNavigationSpan", (k) => {
19616
+ x.on("startNavigationSpan", (M) => {
19617
19617
  Jt() === x && (O && !Ht(O).timestamp && (eo && Ae.log(`[Tracing] Finishing current root span with op: ${Ht(O).op}`), O.end()), O = w(x, {
19618
19618
  op: "navigation",
19619
- ...k
19619
+ ...M
19620
19620
  }));
19621
- }), x.on("startPageLoadSpan", (k, N = {}) => {
19621
+ }), x.on("startPageLoadSpan", (M, N = {}) => {
19622
19622
  if (Jt() !== x)
19623
19623
  return;
19624
19624
  O && !Ht(O).timestamp && (eo && Ae.log(`[Tracing] Finishing current root span with op: ${Ht(O).op}`), O.end());
19625
19625
  const R = N.sentryTrace || FO("sentry-trace"), L = N.baggage || FO("baggage"), F = lW(R, L);
19626
19626
  gn().setPropagationContext(F), O = w(x, {
19627
19627
  op: "pageload",
19628
- ...k
19628
+ ...M
19629
19629
  });
19630
- }), x.on("spanEnd", (k) => {
19631
- const N = Ht(k).op;
19632
- if (k !== Cr(k) || N !== "navigation" && N !== "pageload")
19630
+ }), x.on("spanEnd", (M) => {
19631
+ const N = Ht(M).op;
19632
+ if (M !== Cr(M) || N !== "navigation" && N !== "pageload")
19633
19633
  return;
19634
19634
  const R = gn(), L = R.getPropagationContext();
19635
19635
  R.setPropagationContext({
19636
19636
  ...L,
19637
- sampled: L.sampled !== void 0 ? L.sampled : yl(k),
19638
- dsc: L.dsc || bl(k)
19637
+ sampled: L.sampled !== void 0 ? L.sampled : yl(M),
19638
+ dsc: L.dsc || bl(M)
19639
19639
  });
19640
19640
  }), Xe.location && (y && $Y(x, {
19641
19641
  name: Xe.location.pathname,
@@ -19645,12 +19645,12 @@ const JY = "BrowserTracing", ZY = {
19645
19645
  [va]: "url",
19646
19646
  [or]: "auto.pageload.browser"
19647
19647
  }
19648
- }), S && Ex(({ to: k, from: N }) => {
19649
- if (N === void 0 && A && A.indexOf(k) !== -1) {
19648
+ }), S && Ex(({ to: M, from: N }) => {
19649
+ if (N === void 0 && A && A.indexOf(M) !== -1) {
19650
19650
  A = void 0;
19651
19651
  return;
19652
19652
  }
19653
- N !== k && (A = void 0, eK(x, {
19653
+ N !== M && (A = void 0, eK(x, {
19654
19654
  name: Xe.location.pathname,
19655
19655
  attributes: {
19656
19656
  [va]: "url",
@@ -21147,7 +21147,7 @@ function SX(e, t, n, r) {
21147
21147
  const x = m[w], O = g[w];
21148
21148
  let A = js(O, x, n, u);
21149
21149
  if (A == null) {
21150
- const k = c[w], N = k ? rp(k) : er;
21150
+ const M = c[w], N = M ? rp(M) : er;
21151
21151
  N !== er && (A = N);
21152
21152
  }
21153
21153
  Lx(A, O, n), rr(g, w, A);
@@ -23028,8 +23028,8 @@ function iZ({ modelProps: e, baseModel: t, type: n, valueType: r, fromSnapshotPr
23028
23028
  ...w,
23029
23029
  modelClass: O
23030
23030
  });
23031
- return Sk(A, Ox, !1, !0), m || (m = Object.keys(e).filter((k) => !d.has(k) && Object.hasOwn(A, k))), m.forEach((k) => {
23032
- delete A[k];
23031
+ return Sk(A, Ox, !1, !0), m || (m = Object.keys(e).filter((M) => !d.has(M) && Object.hasOwn(A, M))), m.forEach((M) => {
23032
+ delete A[M];
23033
23033
  }), A;
23034
23034
  }
23035
23035
  Object.assign(g, p);
@@ -24969,7 +24969,7 @@ Qx.write = function(e, t, n, r, o, i) {
24969
24969
  }
24970
24970
  }
24971
24971
  u.prototype._isBuffer = !0;
24972
- function k(P, E, T) {
24972
+ function M(P, E, T) {
24973
24973
  const j = P[E];
24974
24974
  P[E] = P[T], P[T] = j;
24975
24975
  }
@@ -24978,21 +24978,21 @@ Qx.write = function(e, t, n, r, o, i) {
24978
24978
  if (E % 2 !== 0)
24979
24979
  throw new RangeError("Buffer size must be a multiple of 16-bits");
24980
24980
  for (let T = 0; T < E; T += 2)
24981
- k(this, T, T + 1);
24981
+ M(this, T, T + 1);
24982
24982
  return this;
24983
24983
  }, u.prototype.swap32 = function() {
24984
24984
  const E = this.length;
24985
24985
  if (E % 4 !== 0)
24986
24986
  throw new RangeError("Buffer size must be a multiple of 32-bits");
24987
24987
  for (let T = 0; T < E; T += 4)
24988
- k(this, T, T + 3), k(this, T + 1, T + 2);
24988
+ M(this, T, T + 3), M(this, T + 1, T + 2);
24989
24989
  return this;
24990
24990
  }, u.prototype.swap64 = function() {
24991
24991
  const E = this.length;
24992
24992
  if (E % 8 !== 0)
24993
24993
  throw new RangeError("Buffer size must be a multiple of 64-bits");
24994
24994
  for (let T = 0; T < E; T += 8)
24995
- k(this, T, T + 7), k(this, T + 1, T + 6), k(this, T + 2, T + 5), k(this, T + 3, T + 4);
24995
+ M(this, T, T + 7), M(this, T + 1, T + 6), M(this, T + 2, T + 5), M(this, T + 3, T + 4);
24996
24996
  return this;
24997
24997
  }, u.prototype.toString = function() {
24998
24998
  const E = this.length;
@@ -26642,11 +26642,11 @@ const $Q = async (e) => {
26642
26642
  duplex: "half"
26643
26643
  }), O;
26644
26644
  if (ce.isFormData(r) && (O = x.headers.get("content-type")) && u.setContentType(O), x.body) {
26645
- const [A, k] = BR(
26645
+ const [A, M] = BR(
26646
26646
  y,
26647
26647
  Lg(FR(c))
26648
26648
  );
26649
- r = UR(x.body, HR, A, k);
26649
+ r = UR(x.body, HR, A, M);
26650
26650
  }
26651
26651
  }
26652
26652
  ce.isString(p) || (p = p ? "include" : "omit");
@@ -26667,13 +26667,13 @@ const $Q = async (e) => {
26667
26667
  ["status", "statusText", "headers"].forEach((N) => {
26668
26668
  x[N] = C[N];
26669
26669
  });
26670
- const O = ce.toFiniteNumber(C.headers.get("content-length")), [A, k] = a && BR(
26670
+ const O = ce.toFiniteNumber(C.headers.get("content-length")), [A, M] = a && BR(
26671
26671
  O,
26672
26672
  Lg(FR(a), !0)
26673
26673
  ) || [];
26674
26674
  C = new Response(
26675
26675
  UR(C.body, HR, A, () => {
26676
- k && k(), v && v();
26676
+ M && M(), v && v();
26677
26677
  }),
26678
26678
  x
26679
26679
  );
@@ -27707,7 +27707,7 @@ var fS = xee, dA = fS.custom, pA = sj(dA) ? dA : null, Mee = function e(t, n, r,
27707
27707
  if (t === window)
27708
27708
  return "{ [object globalThis] }";
27709
27709
  if (!Dee(t) && !hA(t)) {
27710
- var A = $h(t, d), k = uA ? uA(t) === Object.prototype : t instanceof Object || t.constructor === Object, N = t instanceof Object ? "" : "null prototype", R = !k && Or && Object(t) === t && Or in t ? sC.call(Ja(t), 8, -1) : N ? "Object" : "", L = k || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "", F = L + (R || N ? "[" + Ki.call(cA.call([], R || [], N || []), ": ") + "] " : "");
27710
+ var A = $h(t, d), M = uA ? uA(t) === Object.prototype : t instanceof Object || t.constructor === Object, N = t instanceof Object ? "" : "null prototype", R = !M && Or && Object(t) === t && Or in t ? sC.call(Ja(t), 8, -1) : N ? "Object" : "", L = M || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "", F = L + (R || N ? "[" + Ki.call(cA.call([], R || [], N || []), ": ") + "] " : "");
27711
27711
  return A.length === 0 ? F + "{}" : p ? F + "{" + pS(A, p) + "}" : F + "{ " + Ki.call(A, ", ") + " }";
27712
27712
  }
27713
27713
  return String(t);
@@ -28172,8 +28172,8 @@ var lj = Nf, kf = wee, Qee = Mee, $ee = lh, em = lj("%WeakMap%", !0), tm = lj("%
28172
28172
  }
28173
28173
  if (Ote(b) || $m.isBuffer(b)) {
28174
28174
  if (l) {
28175
- var k = y ? n : l(n, Kn.encoder, S, "key", g);
28176
- return [v(k) + "=" + v(l(b, Kn.encoder, S, "value", g))];
28175
+ var M = y ? n : l(n, Kn.encoder, S, "key", g);
28176
+ return [v(M) + "=" + v(l(b, Kn.encoder, S, "value", g))];
28177
28177
  }
28178
28178
  return [v(n) + "=" + v(String(b))];
28179
28179
  }
@@ -28537,7 +28537,7 @@ const Kte = "livedigital-chat", Xte = "data-appId", Jte = "data-chatid", Zte = "
28537
28537
  DIALOG: 50
28538
28538
  };
28539
28539
  var up = /* @__PURE__ */ ((e) => (e.AVATAR1_BURGUNDY = "AVATAR1_BURGUNDY", e.AVATAR2_RED = "AVATAR2_RED", e.AVATAR3_DARK_PINK = "AVATAR3_DARK_PINK", e.AVATAR4_PINK = "AVATAR4_PINK", e.AVATAR5_GOLD = "AVATAR5_GOLD", e.AVATAR6_NAVY_GREEN = "AVATAR6_NAVY_GREEN", e.AVATAR7_NAVY_BLUE = "AVATAR7_NAVY_BLUE", e.AVATAR8_PURPLE = "AVATAR8_PURPLE", e))(up || {});
28540
- const M = {
28540
+ const k = {
28541
28541
  /* Main */
28542
28542
  BG: "var(--ld-bg)",
28543
28543
  PRIMARY: "var(--ld-primary)",
@@ -34005,12 +34005,12 @@ let pp = class extends br({
34005
34005
  }
34006
34006
  A.updateVotesCounter(x, w, O);
34007
34007
  }, c = (C) => {
34008
- const { id: b, answer: w, channelId: x, pollId: O, user: A } = C, k = t.chat.channels.get(`${x}`);
34009
- if (!k) {
34008
+ const { id: b, answer: w, channelId: x, pollId: O, user: A } = C, M = t.chat.channels.get(`${x}`);
34009
+ if (!M) {
34010
34010
  _e.error("Failed to update votes, no channel", { case: "onPollVoteOpenEnded" });
34011
34011
  return;
34012
34012
  }
34013
- const N = k.findPollById(String(O));
34013
+ const N = M.findPollById(String(O));
34014
34014
  if (!N) {
34015
34015
  _e.error("Failed to update votes, no poll", { case: "onPollVoteOpenEnded" });
34016
34016
  return;
@@ -34156,7 +34156,7 @@ pp = tD([
34156
34156
  var CS = { exports: {} };
34157
34157
  (function(e, t) {
34158
34158
  (function(n, r) {
34159
- var o = "1.0.39", i = "", s = "?", a = "function", c = "undefined", l = "object", u = "string", p = "major", d = "model", m = "name", g = "type", v = "vendor", y = "version", S = "architecture", C = "console", b = "mobile", w = "tablet", x = "smarttv", O = "wearable", A = "embedded", k = 500, N = "Amazon", R = "Apple", L = "ASUS", F = "BlackBerry", J = "Browser", V = "Chrome", B = "Edge", W = "Firefox", te = "Google", ae = "Huawei", Q = "LG", U = "Microsoft", q = "Motorola", D = "Opera", G = "Samsung", H = "Sharp", Y = "Sony", K = "Xiaomi", ne = "Zebra", z = "Facebook", ee = "Chromium OS", oe = "Mac OS", se = " Browser", $ = function(Oe, xe) {
34159
+ var o = "1.0.39", i = "", s = "?", a = "function", c = "undefined", l = "object", u = "string", p = "major", d = "model", m = "name", g = "type", v = "vendor", y = "version", S = "architecture", C = "console", b = "mobile", w = "tablet", x = "smarttv", O = "wearable", A = "embedded", M = 500, N = "Amazon", R = "Apple", L = "ASUS", F = "BlackBerry", J = "Browser", V = "Chrome", B = "Edge", W = "Firefox", te = "Google", ae = "Huawei", Q = "LG", U = "Microsoft", q = "Motorola", D = "Opera", G = "Samsung", H = "Sharp", Y = "Sony", K = "Xiaomi", ne = "Zebra", z = "Facebook", ee = "Chromium OS", oe = "Mac OS", se = " Browser", $ = function(Oe, xe) {
34160
34160
  var ge = {};
34161
34161
  for (var qe in Oe)
34162
34162
  xe[qe] && xe[qe].length % 2 === 0 ? ge[qe] = xe[qe].concat(Oe[qe]) : ge[qe] = Oe[qe];
@@ -34173,7 +34173,7 @@ var CS = { exports: {} };
34173
34173
  return typeof Oe === u ? Oe.replace(/[^\d\.]/g, i).split(".")[0] : r;
34174
34174
  }, je = function(Oe, xe) {
34175
34175
  if (typeof Oe === u)
34176
- return Oe = Oe.replace(/^\s\s*/, i), typeof xe === c ? Oe : Oe.substring(0, k);
34176
+ return Oe = Oe.replace(/^\s\s*/, i), typeof xe === c ? Oe : Oe.substring(0, M);
34177
34177
  }, Ge = function(Oe, xe) {
34178
34178
  for (var ge = 0, qe, P, E, T, j, X; ge < xe.length && !j; ) {
34179
34179
  var ie = xe[ge], le = xe[ge + 1];
@@ -35347,7 +35347,7 @@ var CS = { exports: {} };
35347
35347
  }, this.getUA = function() {
35348
35348
  return qe;
35349
35349
  }, this.setUA = function(j) {
35350
- return qe = typeof j === u && j.length > k ? je(j, k) : j, this;
35350
+ return qe = typeof j === u && j.length > M ? je(j, M) : j, this;
35351
35351
  }, this.setUA(qe), this;
35352
35352
  };
35353
35353
  Ne.VERSION = o, Ne.BROWSER = Te([m, y, p]), Ne.CPU = Te([S]), Ne.DEVICE = Te([d, v, g, C, b, x, w, O, A]), Ne.ENGINE = Ne.OS = Te([m, y]), e.exports && (t = e.exports = Ne), t.UAParser = Ne;
@@ -35528,7 +35528,7 @@ const die = new cl({}), pie = c3(die), rt = () => wE(pie), hie = "data:font/woff
35528
35528
  margin: 16px 0;
35529
35529
  border: none;
35530
35530
  border-bottom: solid 1px;
35531
- border-bottom-color: ${M.SECONDARY_02};
35531
+ border-bottom-color: ${k.SECONDARY_02};
35532
35532
  }
35533
35533
 
35534
35534
  /* Works on Chrome, Edge, and Safari */
@@ -35673,9 +35673,9 @@ const die = new cl({}), pie = c3(die), rt = () => wE(pie), hie = "data:font/woff
35673
35673
  "--ld-avatarPurple": "#871199"
35674
35674
  }, bie = {
35675
35675
  text: {
35676
- primaryColor: M.PRIMARY,
35677
- secondary: M.SECONDARY_BASE,
35678
- secondary03: M.SECONDARY_03
35676
+ primaryColor: k.PRIMARY,
35677
+ secondary: k.SECONDARY_BASE,
35678
+ secondary03: k.SECONDARY_03
35679
35679
  }
35680
35680
  }, wie = {
35681
35681
  fontFamily: "PTRootUIWebMedium",
@@ -35787,12 +35787,12 @@ const die = new cl({}), pie = c3(die), rt = () => wE(pie), hie = "data:font/woff
35787
35787
  styleOverrides: {
35788
35788
  switchBase: {
35789
35789
  // Controls default (unchecked) color for the thumb
35790
- color: M.BG
35790
+ color: k.BG
35791
35791
  },
35792
35792
  colorPrimary: {
35793
35793
  "&.Mui-checked": {
35794
35794
  // Controls checked color for the thumb
35795
- color: M.ACCENT_BASE
35795
+ color: k.ACCENT_BASE
35796
35796
  }
35797
35797
  }
35798
35798
  }
@@ -38407,23 +38407,23 @@ function lm(e, t) {
38407
38407
  }
38408
38408
  }
38409
38409
  var AD = /* @__PURE__ */ ls(function(e, t) {
38410
- var n = e.children, r = e.direction, o = r === void 0 ? "down" : r, i = e.in, s = e.style, a = e.timeout, c = a === void 0 ? 0 : a, l = e.onEnter, u = e.onEntered, p = e.onExit, d = e.onExited, m = gh(e, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), g = On(null), v = LS(n.ref, g), y = LS(v, t), S = function(A, k) {
38411
- lm(o, A), OD(A), l && l(A, k);
38410
+ var n = e.children, r = e.direction, o = r === void 0 ? "down" : r, i = e.in, s = e.style, a = e.timeout, c = a === void 0 ? 0 : a, l = e.onEnter, u = e.onEntered, p = e.onExit, d = e.onExited, m = gh(e, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), g = On(null), v = LS(n.ref, g), y = LS(v, t), S = function(A, M) {
38411
+ lm(o, A), OD(A), l && l(A, M);
38412
38412
  }, C = function(A) {
38413
- var k = (s == null ? void 0 : s.transitionTimingFunction) || BS.easeOut, N = rv({
38413
+ var M = (s == null ? void 0 : s.transitionTimingFunction) || BS.easeOut, N = rv({
38414
38414
  timeout: c,
38415
38415
  mode: "enter",
38416
38416
  style: tn({}, s, {
38417
- transitionTimingFunction: k
38417
+ transitionTimingFunction: M
38418
38418
  })
38419
38419
  });
38420
38420
  A.style.webkitTransition = au("-webkit-transform", N), A.style.transition = au("transform", N), A.style.webkitTransform = "none", A.style.transform = "none";
38421
38421
  }, b = function(A) {
38422
- var k = (s == null ? void 0 : s.transitionTimingFunction) || BS.sharp, N = rv({
38422
+ var M = (s == null ? void 0 : s.transitionTimingFunction) || BS.sharp, N = rv({
38423
38423
  timeout: c,
38424
38424
  mode: "exit",
38425
38425
  style: tn({}, s, {
38426
- transitionTimingFunction: k
38426
+ transitionTimingFunction: M
38427
38427
  })
38428
38428
  });
38429
38429
  A.style.webkitTransition = au("-webkit-transform", N), A.style.transition = au("transform", N), lm(o, A), p && p(A);
@@ -38813,13 +38813,13 @@ var tce = /* @__PURE__ */ Lc(kD), nce = /* @__PURE__ */ vh({
38813
38813
  timeout: C
38814
38814
  }, S), A = w;
38815
38815
  typeof A == "function" && (A = A(x.id, x.message));
38816
- var k = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(N, R) {
38816
+ var M = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(N, R) {
38817
38817
  var L;
38818
38818
  return tn({}, N, (L = {}, L[R] = Dd([t.snack[R], t[R]], x.id), L));
38819
38819
  }, {});
38820
38820
  return de.createElement(PD, {
38821
38821
  in: o,
38822
- onExited: k.onExited
38822
+ onExited: M.onExited
38823
38823
  }, de.createElement(ID, {
38824
38824
  open: g,
38825
38825
  id: x.id,
@@ -38831,12 +38831,12 @@ var tce = /* @__PURE__ */ Lc(kD), nce = /* @__PURE__ */ vh({
38831
38831
  }, de.createElement(y, Object.assign({}, O, {
38832
38832
  appear: !0,
38833
38833
  in: g,
38834
- onExit: k.onExit,
38834
+ onExit: M.onExit,
38835
38835
  onExited: c,
38836
- onEnter: k.onEnter,
38836
+ onEnter: M.onEnter,
38837
38837
  // order matters. first callbacks.onEntered to set entered: true,
38838
38838
  // then handleEntered to check if there's a request for closing
38839
- onEntered: Dd([k.onEntered, a], x.id)
38839
+ onEntered: Dd([M.onEntered, a], x.id)
38840
38840
  }), A || de.createElement(d, Object.assign({}, x)))));
38841
38841
  }, ed, Z0, um, fm, Q0, Ts = {
38842
38842
  view: {
@@ -39109,7 +39109,7 @@ const hP = {
39109
39109
  }, uce = () => {
39110
39110
  const e = de.useContext(NC);
39111
39111
  return e ? e.chatSnackbarContainer : null;
39112
- }, fce = "@vlprojects-chat/chat", dce = "vlprojects", pce = "0.17.0-LD-8846.2", hce = "vlprojects chat", mce = "ISC", gce = "dist/index.d.ts", vce = "./dist/index.mjs", yce = "./dist/index.mjs", bce = [
39112
+ }, fce = "@vlprojects-chat/chat", dce = "vlprojects", pce = "0.17.0-LD-8846.4", hce = "vlprojects chat", mce = "ISC", gce = "dist/index.d.ts", vce = "./dist/index.mjs", yce = "./dist/index.mjs", bce = [
39113
39113
  "dist"
39114
39114
  ], wce = {
39115
39115
  type: "git",
@@ -39563,7 +39563,7 @@ const Uce = (e) => {
39563
39563
  o.keys.forEach((R) => {
39564
39564
  S[R] != null && (O[R] = S[R], delete A[R]);
39565
39565
  });
39566
- const k = {
39566
+ const M = {
39567
39567
  ...i,
39568
39568
  columns: x,
39569
39569
  container: u,
@@ -39576,11 +39576,11 @@ const Uce = (e) => {
39576
39576
  spacing: g,
39577
39577
  ...O,
39578
39578
  breakpoints: o.keys
39579
- }, N = Uce(k);
39579
+ }, N = Uce(M);
39580
39580
  return /* @__PURE__ */ h.jsx(FS.Provider, {
39581
39581
  value: x,
39582
39582
  children: /* @__PURE__ */ h.jsx(Fce, {
39583
- ownerState: k,
39583
+ ownerState: M,
39584
39584
  className: Ye(N.root, s),
39585
39585
  as: l,
39586
39586
  ref: n,
@@ -39981,11 +39981,11 @@ I.env.NODE_ENV !== "production" && (ve.propTypes = {
39981
39981
  const Yce = (e) => {
39982
39982
  switch (e) {
39983
39983
  case Wr.New:
39984
- return M.TERTIARY_BASE;
39984
+ return k.TERTIARY_BASE;
39985
39985
  case Wr.InProgress:
39986
- return M.WARNING_BASE;
39986
+ return k.WARNING_BASE;
39987
39987
  case Wr.Done:
39988
- return M.SUCCESS_BASE;
39988
+ return k.SUCCESS_BASE;
39989
39989
  default:
39990
39990
  return "";
39991
39991
  }
@@ -40176,7 +40176,7 @@ function Zce() {
40176
40176
  elementType: x(),
40177
40177
  instanceOf: O,
40178
40178
  node: R(),
40179
- objectOf: k,
40179
+ objectOf: M,
40180
40180
  oneOf: A,
40181
40181
  oneOfType: N,
40182
40182
  shape: L,
@@ -40293,7 +40293,7 @@ function Zce() {
40293
40293
  }
40294
40294
  return y(U);
40295
40295
  }
40296
- function k(Q) {
40296
+ function M(Q) {
40297
40297
  function U(q, D, G, H, Y) {
40298
40298
  if (typeof Q != "function")
40299
40299
  return new v("Property `" + Y + "` of component `" + G + "` has invalid PropType notation inside objectOf.");
@@ -41204,7 +41204,7 @@ const Uo = St("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
41204
41204
  pulsate: x,
41205
41205
  rippleX: O,
41206
41206
  rippleY: A,
41207
- rippleSize: k,
41207
+ rippleSize: M,
41208
41208
  cb: N
41209
41209
  } = w;
41210
41210
  l((R) => [...R, /* @__PURE__ */ h.jsx(mle, {
@@ -41220,13 +41220,13 @@ const Uo = St("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
41220
41220
  pulsate: x,
41221
41221
  rippleX: O,
41222
41222
  rippleY: A,
41223
- rippleSize: k
41223
+ rippleSize: M
41224
41224
  }, u.current)]), u.current += 1, p.current = N;
41225
41225
  }, [i]), S = _.useCallback((w = {}, x = {}, O = () => {
41226
41226
  }) => {
41227
41227
  const {
41228
41228
  pulsate: A = !1,
41229
- center: k = o || x.pulsate,
41229
+ center: M = o || x.pulsate,
41230
41230
  fakeElement: N = !1
41231
41231
  // For test purposes
41232
41232
  } = x;
@@ -41242,7 +41242,7 @@ const Uo = St("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
41242
41242
  top: 0
41243
41243
  };
41244
41244
  let F, J, V;
41245
- if (k || w === void 0 || w.clientX === 0 && w.clientY === 0 || !w.clientX && !w.touches)
41245
+ if (M || w === void 0 || w.clientX === 0 && w.clientY === 0 || !w.clientX && !w.touches)
41246
41246
  F = Math.round(L.width / 2), J = Math.round(L.height / 2);
41247
41247
  else {
41248
41248
  const {
@@ -41251,7 +41251,7 @@ const Uo = St("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
41251
41251
  } = w.touches && w.touches.length > 0 ? w.touches[0] : w;
41252
41252
  F = Math.round(B - L.left), J = Math.round(W - L.top);
41253
41253
  }
41254
- if (k)
41254
+ if (M)
41255
41255
  V = Math.sqrt((2 * L.width ** 2 + L.height ** 2) / 3), V % 2 === 0 && (V += 1);
41256
41256
  else {
41257
41257
  const B = Math.max(Math.abs((R ? R.clientWidth : 0) - F), F) * 2 + 2, W = Math.max(Math.abs((R ? R.clientHeight : 0) - J), J) * 2 + 2;
@@ -41398,7 +41398,7 @@ const vle = St("MuiButtonBase", ["root", "disabled", "focusVisible"]), yle = (e)
41398
41398
  onKeyDown: x,
41399
41399
  onKeyUp: O,
41400
41400
  onMouseDown: A,
41401
- onMouseLeave: k,
41401
+ onMouseLeave: M,
41402
41402
  onMouseUp: N,
41403
41403
  onTouchEnd: R,
41404
41404
  onTouchMove: L,
@@ -41422,7 +41422,7 @@ const vle = St("MuiButtonBase", ["root", "disabled", "focusVisible"]), yle = (e)
41422
41422
  return ma((Oe) => (pe && pe(Oe), we || Q[Ne](Oe), !0));
41423
41423
  }
41424
41424
  const Y = H("start", A), K = H("stop", S), ne = H("stop", C), z = H("stop", N), ee = H("stop", (Ne) => {
41425
- q && Ne.preventDefault(), k && k(Ne);
41425
+ q && Ne.preventDefault(), M && M(Ne);
41426
41426
  }), oe = H("start", F), se = H("stop", R), $ = H("stop", L), Te = H("stop", (Ne) => {
41427
41427
  dg(Ne.target) || D(!1), v && v(Ne);
41428
41428
  }, !1), re = ma((Ne) => {
@@ -41859,7 +41859,7 @@ I.env.NODE_ENV !== "production" && (Zn.propTypes = {
41859
41859
  sx: f.oneOfType([f.arrayOf(f.oneOfType([f.func, f.object, f.bool])), f.func, f.object])
41860
41860
  });
41861
41861
  const Cle = (e) => {
41862
- const { className: t, fill: n = M.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
41862
+ const { className: t, fill: n = k.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
41863
41863
  return /* @__PURE__ */ h.jsxs(
41864
41864
  "svg",
41865
41865
  {
@@ -41876,7 +41876,7 @@ const Cle = (e) => {
41876
41876
  }
41877
41877
  );
41878
41878
  }, Tle = (e) => {
41879
- const { className: t, fill: n = M.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
41879
+ const { className: t, fill: n = k.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
41880
41880
  return /* @__PURE__ */ h.jsxs(
41881
41881
  "svg",
41882
41882
  {
@@ -41893,7 +41893,7 @@ const Cle = (e) => {
41893
41893
  }
41894
41894
  );
41895
41895
  }, Ole = (e) => {
41896
- const { className: t, fill: n = M.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
41896
+ const { className: t, fill: n = k.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
41897
41897
  return /* @__PURE__ */ h.jsxs(
41898
41898
  "svg",
41899
41899
  {
@@ -41910,7 +41910,7 @@ const Cle = (e) => {
41910
41910
  }
41911
41911
  );
41912
41912
  }, Rle = (e) => {
41913
- const { className: t, fill: n = M.ACCENT_04, width: r = 8, height: o = 16, style: i } = e;
41913
+ const { className: t, fill: n = k.ACCENT_04, width: r = 8, height: o = 16, style: i } = e;
41914
41914
  return /* @__PURE__ */ h.jsx(h.Fragment, { children: /* @__PURE__ */ h.jsx(
41915
41915
  "svg",
41916
41916
  {
@@ -41934,7 +41934,7 @@ const Cle = (e) => {
41934
41934
  }
41935
41935
  ) });
41936
41936
  }, VD = (e) => {
41937
- const { className: t, fill: n = M.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
41937
+ const { className: t, fill: n = k.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
41938
41938
  return /* @__PURE__ */ h.jsx(
41939
41939
  "svg",
41940
41940
  {
@@ -41950,21 +41950,21 @@ const Cle = (e) => {
41950
41950
  }, na = {
41951
41951
  padding: "6px",
41952
41952
  borderRadius: "10px",
41953
- backgroundColor: M.ACCENT_01,
41954
- color: M.ACCENT_04,
41953
+ backgroundColor: k.ACCENT_01,
41954
+ color: k.ACCENT_04,
41955
41955
  fontFamily: "PTRootUIWebMedium",
41956
41956
  fontSize: "16px",
41957
41957
  lineHeight: "20px",
41958
41958
  transition: "opacity 0.3s, background-color 0.3s, color 0.1s",
41959
41959
  "&:hover": {
41960
- backgroundColor: M.ACCENT_01
41960
+ backgroundColor: k.ACCENT_01
41961
41961
  },
41962
41962
  "&:active": {
41963
- backgroundColor: M.ACCENT_02
41963
+ backgroundColor: k.ACCENT_02
41964
41964
  },
41965
41965
  "&:disabled": {
41966
- backgroundColor: M.SECONDARY_01,
41967
- color: M.SECONDARY_03,
41966
+ backgroundColor: k.SECONDARY_01,
41967
+ color: k.SECONDARY_03,
41968
41968
  svg: {
41969
41969
  color: "currentColor"
41970
41970
  }
@@ -41973,51 +41973,51 @@ const Cle = (e) => {
41973
41973
  transition: "color 0.1s"
41974
41974
  },
41975
41975
  "&:disabled > svg": {
41976
- color: M.SECONDARY_03
41976
+ color: k.SECONDARY_03
41977
41977
  }
41978
41978
  }, UD = {
41979
41979
  ...na,
41980
- backgroundColor: M.ERROR_01,
41981
- color: M.ERROR_04,
41980
+ backgroundColor: k.ERROR_01,
41981
+ color: k.ERROR_04,
41982
41982
  "&:not(disabled) > svg": {
41983
- color: M.ERROR_BASE
41983
+ color: k.ERROR_BASE
41984
41984
  },
41985
41985
  "&:not(:disabled):hover": {
41986
- backgroundColor: M.ERROR_02,
41986
+ backgroundColor: k.ERROR_02,
41987
41987
  "& > svg": {
41988
- color: M.ERROR_03
41988
+ color: k.ERROR_03
41989
41989
  }
41990
41990
  },
41991
41991
  "&:not(:disabled):hover:active": {
41992
- color: M.CONTRAST,
41993
- backgroundColor: M.ERROR_BASE,
41992
+ color: k.CONTRAST,
41993
+ backgroundColor: k.ERROR_BASE,
41994
41994
  "& > svg": {
41995
- color: M.CONTRAST
41995
+ color: k.CONTRAST
41996
41996
  }
41997
41997
  }
41998
41998
  }, Ale = {
41999
41999
  ...na,
42000
- color: M.CONTRAST,
42001
- backgroundColor: M.ACCENT_BASE,
42000
+ color: k.CONTRAST,
42001
+ backgroundColor: k.ACCENT_BASE,
42002
42002
  "&:hover": {
42003
- color: M.CONTRAST,
42004
- backgroundColor: M.ACCENT_05,
42003
+ color: k.CONTRAST,
42004
+ backgroundColor: k.ACCENT_05,
42005
42005
  "& > svg": {
42006
- color: M.ACCENT_01
42006
+ color: k.ACCENT_01
42007
42007
  }
42008
42008
  },
42009
42009
  "&:active": {
42010
- color: M.CONTRAST,
42011
- backgroundColor: M.ACCENT_03
42010
+ color: k.CONTRAST,
42011
+ backgroundColor: k.ACCENT_03
42012
42012
  },
42013
42013
  "& > svg": {
42014
- color: M.CONTRAST
42014
+ color: k.CONTRAST
42015
42015
  },
42016
42016
  "&:hover > svg": {
42017
- color: M.CONTRAST
42017
+ color: k.CONTRAST
42018
42018
  },
42019
42019
  "&:active > svg": {
42020
- color: M.CONTRAST
42020
+ color: k.CONTRAST
42021
42021
  }
42022
42022
  }, zS = {
42023
42023
  ...na,
@@ -42032,41 +42032,41 @@ const Cle = (e) => {
42032
42032
  fontFamily: "PTRootUIWebMedium",
42033
42033
  fontSize: "16px",
42034
42034
  lineHeight: "20px",
42035
- color: M.PRIMARY,
42036
- backgroundColor: M.BG,
42037
- borderColor: M.SECONDARY_03,
42035
+ color: k.PRIMARY,
42036
+ backgroundColor: k.BG,
42037
+ borderColor: k.SECONDARY_03,
42038
42038
  border: "none",
42039
- outline: `solid 1px ${M.SECONDARY_03}`,
42039
+ outline: `solid 1px ${k.SECONDARY_03}`,
42040
42040
  transition: "outline-color 0.3s, color 0.3s",
42041
42041
  "&:hover": {
42042
- outline: `solid 2px ${M.SECONDARY_03}`
42042
+ outline: `solid 2px ${k.SECONDARY_03}`
42043
42043
  },
42044
42044
  "&:focus": {
42045
- outline: `solid 2px ${M.ACCENT_BASE}`
42045
+ outline: `solid 2px ${k.ACCENT_BASE}`
42046
42046
  },
42047
42047
  "&::placeholder": {
42048
42048
  fontFamily: "PTRootUIWebMedium",
42049
42049
  fontSize: "16px",
42050
42050
  lineHeight: "20px",
42051
42051
  transition: "color 0.3s",
42052
- color: M.SECONDARY_03
42052
+ color: k.SECONDARY_03
42053
42053
  },
42054
42054
  "&::-webkit-scrollbar-track": {
42055
42055
  margin: "10px 0"
42056
42056
  }
42057
42057
  }, Nle = {
42058
- color: M.SECONDARY_BASE,
42058
+ color: k.SECONDARY_BASE,
42059
42059
  "&.Mui-focused": {
42060
- color: M.SECONDARY_BASE
42060
+ color: k.SECONDARY_BASE
42061
42061
  }
42062
42062
  }, kle = {
42063
42063
  height: 24,
42064
42064
  margin: "4px 0",
42065
42065
  "&+.MuiFormControlLabel-label": {
42066
- color: M.SECONDARY_BASE
42066
+ color: k.SECONDARY_BASE
42067
42067
  },
42068
42068
  "&.Mui-checked": {
42069
- color: M.ACCENT_BASE
42069
+ color: k.ACCENT_BASE
42070
42070
  }
42071
42071
  }, Mle = {
42072
42072
  width: 44,
@@ -42080,10 +42080,10 @@ const Cle = (e) => {
42080
42080
  },
42081
42081
  "& .Mui-checked": {
42082
42082
  "& .MuiSwitch-thumb": {
42083
- backgroundColor: M.BG
42083
+ backgroundColor: k.BG
42084
42084
  },
42085
42085
  "&+.MuiSwitch-track": {
42086
- backgroundColor: M.ACCENT_BASE,
42086
+ backgroundColor: k.ACCENT_BASE,
42087
42087
  opacity: 1,
42088
42088
  border: 0
42089
42089
  }
@@ -42096,12 +42096,12 @@ const Cle = (e) => {
42096
42096
  marginTop: 4
42097
42097
  },
42098
42098
  "& .MuiSwitch-track": {
42099
- backgroundColor: M.SECONDARY_03,
42099
+ backgroundColor: k.SECONDARY_03,
42100
42100
  opacity: 1,
42101
42101
  border: 0
42102
42102
  },
42103
42103
  "&:hover .MuiSwitch-track": {
42104
- backgroundColor: M.SECONDARY_BASE
42104
+ backgroundColor: k.SECONDARY_BASE
42105
42105
  }
42106
42106
  }, vd = {
42107
42107
  root: {
@@ -42109,7 +42109,7 @@ const Cle = (e) => {
42109
42109
  height: gS,
42110
42110
  minHeight: gS,
42111
42111
  padding: "16px",
42112
- borderBottom: `1px solid ${M.SECONDARY_02}`,
42112
+ borderBottom: `1px solid ${k.SECONDARY_02}`,
42113
42113
  alignItems: "center",
42114
42114
  zIndex: 10
42115
42115
  },
@@ -42167,9 +42167,9 @@ const Cle = (e) => {
42167
42167
  animationName: "blinker",
42168
42168
  animationDuration: "1s",
42169
42169
  animationIterationCount: "1",
42170
- color: `${M.CONTRAST}`,
42171
- background: `${M.ERROR_BASE}`,
42172
- border: `1px solid ${M.ERROR_01}`,
42170
+ color: `${k.CONTRAST}`,
42171
+ background: `${k.ERROR_BASE}`,
42172
+ border: `1px solid ${k.ERROR_01}`,
42173
42173
  display: "flex",
42174
42174
  content: `"${e > 99 ? "99+" : e}"`,
42175
42175
  minWidth: 20,
@@ -42290,7 +42290,7 @@ var WD = { exports: {} };
42290
42290
  var Lle = WD.exports;
42291
42291
  const ja = /* @__PURE__ */ rf(Lle), qS = {
42292
42292
  root: {
42293
- color: M.PRIMARY,
42293
+ color: k.PRIMARY,
42294
42294
  display: "flex",
42295
42295
  alignItems: "center",
42296
42296
  columnGap: 4,
@@ -42298,10 +42298,10 @@ const ja = /* @__PURE__ */ rf(Lle), qS = {
42298
42298
  },
42299
42299
  active: {
42300
42300
  fontFamily: "PTRootUIWebMedium",
42301
- backgroundColor: M.ACCENT_05,
42301
+ backgroundColor: k.ACCENT_05,
42302
42302
  padding: "12px 14px",
42303
42303
  borderRadius: "10px",
42304
- color: M.ACCENT_01
42304
+ color: k.ACCENT_01
42305
42305
  }
42306
42306
  }, Ble = mt(qS), Fle = mt({
42307
42307
  ...qS,
@@ -42381,10 +42381,10 @@ const ja = /* @__PURE__ */ rf(Lle), qS = {
42381
42381
  border: 0,
42382
42382
  letterSpacing: "0.01em",
42383
42383
  transition: "all 0.3s ease-in-out",
42384
- color: M.ACCENT_05,
42385
- backgroundColor: M.ACCENT_01,
42384
+ color: k.ACCENT_05,
42385
+ backgroundColor: k.ACCENT_01,
42386
42386
  "&:hover": {
42387
- background: M.ACCENT_02
42387
+ background: k.ACCENT_02
42388
42388
  }
42389
42389
  },
42390
42390
  large: { height: 48, lineHeight: "48px" },
@@ -42399,26 +42399,26 @@ const ja = /* @__PURE__ */ rf(Lle), qS = {
42399
42399
  },
42400
42400
  contained: {
42401
42401
  borderRadius: 10,
42402
- color: M.ACCENT_05,
42402
+ color: k.ACCENT_05,
42403
42403
  "&[disabled]": {
42404
- color: M.SECONDARY_03,
42405
- backgroundColor: M.SECONDARY_01
42404
+ color: k.SECONDARY_03,
42405
+ backgroundColor: k.SECONDARY_01
42406
42406
  }
42407
42407
  },
42408
42408
  outlined: {
42409
42409
  borderRadius: 10,
42410
- color: M.ACCENT_05,
42410
+ color: k.ACCENT_05,
42411
42411
  fontWeight: 700,
42412
42412
  boxShadow: "0px 0px 18px rgba(0, 0, 0, 0.07)",
42413
42413
  "&:hover": {
42414
- color: M.ACCENT_05
42414
+ color: k.ACCENT_05
42415
42415
  },
42416
42416
  "&:active": { transform: "translateY(1px)", boxShadow: "none" }
42417
42417
  },
42418
42418
  flatTransparent: {
42419
42419
  borderRadius: 10,
42420
42420
  border: "1px solid #B8B6C2",
42421
- color: M.ACCENT_05,
42421
+ color: k.ACCENT_05,
42422
42422
  "&:hover": {},
42423
42423
  "&:active": {}
42424
42424
  },
@@ -42440,32 +42440,32 @@ const ja = /* @__PURE__ */ rf(Lle), qS = {
42440
42440
  boxShadow: "0px 2px 14px 2px #7918AA"
42441
42441
  },
42442
42442
  "&[disabled]": {
42443
- background: M.SECONDARY_01,
42444
- color: M.SECONDARY_03,
42443
+ background: k.SECONDARY_01,
42444
+ color: k.SECONDARY_03,
42445
42445
  boxShadow: "none"
42446
42446
  }
42447
42447
  },
42448
42448
  link: {
42449
- color: M.ACCENT_BASE,
42449
+ color: k.ACCENT_BASE,
42450
42450
  background: "none",
42451
42451
  border: 0,
42452
42452
  padding: 0,
42453
42453
  "&:hover, &:focus, &:active, &:active:focus": {
42454
- color: M.ACCENT_05,
42454
+ color: k.ACCENT_05,
42455
42455
  backgroundColor: "inherit",
42456
42456
  textDecoration: "underline"
42457
42457
  },
42458
42458
  "&:disabled": {
42459
- color: M.ACCENT_05
42459
+ color: k.ACCENT_05
42460
42460
  }
42461
42461
  },
42462
42462
  primary: {
42463
42463
  borderRadius: 10,
42464
- color: M.CONTRAST,
42465
- backgroundColor: M.ACCENT_BASE,
42464
+ color: k.CONTRAST,
42465
+ backgroundColor: k.ACCENT_BASE,
42466
42466
  "&:hover": {
42467
- color: M.CONTRAST,
42468
- backgroundColor: M.ACCENT_05
42467
+ color: k.CONTRAST,
42468
+ backgroundColor: k.ACCENT_05
42469
42469
  },
42470
42470
  "&:active": {
42471
42471
  transform: "translateY(1px)",
@@ -43583,7 +43583,7 @@ const hue = {
43583
43583
  xs: !0,
43584
43584
  component: ve,
43585
43585
  variant: "subtitle2",
43586
- color: t.valid ? M.SUCCESS_BASE : M.PRIMARY,
43586
+ color: t.valid ? k.SUCCESS_BASE : k.PRIMARY,
43587
43587
  sx: { wordBreak: "break-word" },
43588
43588
  children: t.option
43589
43589
  }
@@ -43594,7 +43594,7 @@ const hue = {
43594
43594
  item: !0,
43595
43595
  component: ve,
43596
43596
  variant: "subtitle2",
43597
- color: t.valid ? M.SUCCESS_BASE : M.PRIMARY,
43597
+ color: t.valid ? k.SUCCESS_BASE : k.PRIMARY,
43598
43598
  children: t.votesCount
43599
43599
  }
43600
43600
  )
@@ -44159,7 +44159,7 @@ const hb = (e) => {
44159
44159
  src: t,
44160
44160
  className: i.avatar,
44161
44161
  onClick: n,
44162
- sx: { bgcolor: t ? "inherit" : M[o] },
44162
+ sx: { bgcolor: t ? "inherit" : k[o] },
44163
44163
  children: /* @__PURE__ */ h.jsx(ve, { variant: "h4", sx: { textTransform: "uppercase" }, children: r && kre(r) })
44164
44164
  }
44165
44165
  );
@@ -44169,7 +44169,7 @@ mt(
44169
44169
  checkbox: {
44170
44170
  width: 20,
44171
44171
  height: 20,
44172
- border: `2px solid ${M.PRIMARY}`,
44172
+ border: `2px solid ${k.PRIMARY}`,
44173
44173
  borderRadius: 4
44174
44174
  },
44175
44175
  input: {
@@ -44269,7 +44269,7 @@ function sfe(e = {}) {
44269
44269
  }, A = (F) => (J) => {
44270
44270
  var V;
44271
44271
  (V = F.onBlur) == null || V.call(F, J), u && u.onBlur ? u.onBlur() : x(!1);
44272
- }, k = (F) => (J, ...V) => {
44272
+ }, M = (F) => (J, ...V) => {
44273
44273
  var B, W;
44274
44274
  if (!y && (J.target || C.current) == null)
44275
44275
  throw new Error(I.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `slots.input` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : Us(17));
@@ -44294,7 +44294,7 @@ function sfe(e = {}) {
44294
44294
  }, B = {
44295
44295
  ...V,
44296
44296
  onBlur: A(V),
44297
- onChange: k(V),
44297
+ onChange: M(V),
44298
44298
  onFocus: O(V)
44299
44299
  };
44300
44300
  return {
@@ -44362,7 +44362,7 @@ const afe = (e) => {
44362
44362
  onBlur: x,
44363
44363
  placeholder: O,
44364
44364
  readOnly: A,
44365
- required: k,
44365
+ required: M,
44366
44366
  startAdornment: N,
44367
44367
  value: R,
44368
44368
  type: L,
@@ -44387,7 +44387,7 @@ const afe = (e) => {
44387
44387
  onClick: y,
44388
44388
  onChange: S,
44389
44389
  onFocus: w,
44390
- required: k,
44390
+ required: M,
44391
44391
  value: R
44392
44392
  }), H = g ? void 0 : L ?? "text", Y = {
44393
44393
  ...t,
@@ -44802,8 +44802,8 @@ var Ofe = function(t, n) {
44802
44802
  function Rfe(e) {
44803
44803
  var t, n = e.state, r = e.name, o = e.options, i = n.elements.arrow, s = n.modifiersData.popperOffsets, a = cs(n.placement), c = UC(a), l = [io, ai].indexOf(a) >= 0, u = l ? "height" : "width";
44804
44804
  if (!(!i || !s)) {
44805
- var p = Ofe(o.padding, n), d = VC(i), m = c === "y" ? oo : io, g = c === "y" ? si : ai, v = n.rects.reference[u] + n.rects.reference[c] - s[c] - n.rects.popper[u], y = s[c] - n.rects.reference[c], S = wh(i), C = S ? c === "y" ? S.clientHeight || 0 : S.clientWidth || 0 : 0, b = v / 2 - y / 2, w = p[m], x = C - d[u] - p[g], O = C / 2 - d[u] / 2 + b, A = Ld(w, O, x), k = c;
44806
- n.modifiersData[r] = (t = {}, t[k] = A, t.centerOffset = A - O, t);
44805
+ var p = Ofe(o.padding, n), d = VC(i), m = c === "y" ? oo : io, g = c === "y" ? si : ai, v = n.rects.reference[u] + n.rects.reference[c] - s[c] - n.rects.popper[u], y = s[c] - n.rects.reference[c], S = wh(i), C = S ? c === "y" ? S.clientHeight || 0 : S.clientWidth || 0 : 0, b = v / 2 - y / 2, w = p[m], x = C - d[u] - p[g], O = C / 2 - d[u] / 2 + b, A = Ld(w, O, x), M = c;
44806
+ n.modifiersData[r] = (t = {}, t[M] = A, t.centerOffset = A - O, t);
44807
44807
  }
44808
44808
  }
44809
44809
  function Afe(e) {
@@ -44846,8 +44846,8 @@ function OP(e) {
44846
44846
  m = y.x, v = y.y;
44847
44847
  var S = s.hasOwnProperty("x"), C = s.hasOwnProperty("y"), b = io, w = oo, x = window;
44848
44848
  if (l) {
44849
- var O = wh(n), A = "clientHeight", k = "clientWidth";
44850
- if (O === jo(n) && (O = Qa(n), Zs(O).position !== "static" && a === "absolute" && (A = "scrollHeight", k = "scrollWidth")), O = O, o === oo || (o === io || o === ai) && i === vp) {
44849
+ var O = wh(n), A = "clientHeight", M = "clientWidth";
44850
+ if (O === jo(n) && (O = Qa(n), Zs(O).position !== "static" && a === "absolute" && (A = "scrollHeight", M = "scrollWidth")), O = O, o === oo || (o === io || o === ai) && i === vp) {
44851
44851
  w = si;
44852
44852
  var N = p && O === x && x.visualViewport ? x.visualViewport.height : (
44853
44853
  // $FlowFixMe[prop-missing]
@@ -44859,7 +44859,7 @@ function OP(e) {
44859
44859
  b = ai;
44860
44860
  var R = p && O === x && x.visualViewport ? x.visualViewport.width : (
44861
44861
  // $FlowFixMe[prop-missing]
44862
- O[k]
44862
+ O[M]
44863
44863
  );
44864
44864
  m -= R - r.width, m *= c ? 1 : -1;
44865
44865
  }
@@ -45082,7 +45082,7 @@ function yp(e, t) {
45082
45082
  element: b,
45083
45083
  strategy: "absolute",
45084
45084
  placement: o
45085
- }), k = KS(Object.assign({}, b, A)), N = d === rd ? k : O, R = {
45085
+ }), M = KS(Object.assign({}, b, A)), N = d === rd ? M : O, R = {
45086
45086
  top: x.top - N.top + S.top,
45087
45087
  bottom: N.bottom - x.bottom + S.bottom,
45088
45088
  left: x.left - N.left + S.left,
@@ -45135,7 +45135,7 @@ function zfe(e) {
45135
45135
  flipVariations: g,
45136
45136
  allowedAutoPlacements: v
45137
45137
  }) : Y);
45138
- }, []), x = t.rects.reference, O = t.rects.popper, A = /* @__PURE__ */ new Map(), k = !0, N = w[0], R = 0; R < w.length; R++) {
45138
+ }, []), x = t.rects.reference, O = t.rects.popper, A = /* @__PURE__ */ new Map(), M = !0, N = w[0], R = 0; R < w.length; R++) {
45139
45139
  var L = w[R], F = cs(L), J = Qu(L) === Xu, V = [oo, si].indexOf(F) >= 0, B = V ? "width" : "height", W = yp(t, {
45140
45140
  placement: L,
45141
45141
  boundary: u,
@@ -45148,12 +45148,12 @@ function zfe(e) {
45148
45148
  if (i && Q.push(W[F] <= 0), a && Q.push(W[te] <= 0, W[ae] <= 0), Q.every(function(H) {
45149
45149
  return H;
45150
45150
  })) {
45151
- N = L, k = !1;
45151
+ N = L, M = !1;
45152
45152
  break;
45153
45153
  }
45154
45154
  A.set(L, Q);
45155
45155
  }
45156
- if (k)
45156
+ if (M)
45157
45157
  for (var U = g ? 3 : 1, q = function(Y) {
45158
45158
  var K = w.find(function(ne) {
45159
45159
  var z = A.get(ne);
@@ -45270,7 +45270,7 @@ function tde(e) {
45270
45270
  rootBoundary: l,
45271
45271
  padding: p,
45272
45272
  altBoundary: u
45273
- }), S = cs(t.placement), C = Qu(t.placement), b = !C, w = UC(S), x = ede(w), O = t.modifiersData.popperOffsets, A = t.rects.reference, k = t.rects.popper, N = typeof v == "function" ? v(Object.assign({}, t.rects, {
45273
+ }), S = cs(t.placement), C = Qu(t.placement), b = !C, w = UC(S), x = ede(w), O = t.modifiersData.popperOffsets, A = t.rects.reference, M = t.rects.popper, N = typeof v == "function" ? v(Object.assign({}, t.rects, {
45274
45274
  placement: t.placement
45275
45275
  })) : v, R = typeof N == "number" ? {
45276
45276
  mainAxis: N,
@@ -45284,14 +45284,14 @@ function tde(e) {
45284
45284
  };
45285
45285
  if (O) {
45286
45286
  if (i) {
45287
- var J, V = w === "y" ? oo : io, B = w === "y" ? si : ai, W = w === "y" ? "height" : "width", te = O[w], ae = te + y[V], Q = te - y[B], U = m ? -k[W] / 2 : 0, q = C === Xu ? A[W] : k[W], D = C === Xu ? -k[W] : -A[W], G = t.elements.arrow, H = m && G ? VC(G) : {
45287
+ var J, V = w === "y" ? oo : io, B = w === "y" ? si : ai, W = w === "y" ? "height" : "width", te = O[w], ae = te + y[V], Q = te - y[B], U = m ? -M[W] / 2 : 0, q = C === Xu ? A[W] : M[W], D = C === Xu ? -M[W] : -A[W], G = t.elements.arrow, H = m && G ? VC(G) : {
45288
45288
  width: 0,
45289
45289
  height: 0
45290
45290
  }, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : i6(), K = Y[V], ne = Y[B], z = Ld(0, A[W], H[W]), ee = b ? A[W] / 2 - U - z - K - R.mainAxis : q - z - K - R.mainAxis, oe = b ? -A[W] / 2 + U + z + ne + R.mainAxis : D + z + ne + R.mainAxis, se = t.elements.arrow && wh(t.elements.arrow), $ = se ? w === "y" ? se.clientTop || 0 : se.clientLeft || 0 : 0, Te = (J = L == null ? void 0 : L[w]) != null ? J : 0, re = te + ee - Te - $, Re = te + oe - Te, Me = Ld(m ? av(ae, re) : ae, te, m ? Dc(Q, Re) : Q);
45291
45291
  O[w] = Me, F[w] = Me - te;
45292
45292
  }
45293
45293
  if (a) {
45294
- var je, Ge = w === "x" ? oo : io, st = w === "x" ? si : ai, Ke = O[x], Je = x === "y" ? "height" : "width", Nt = Ke + y[Ge], Ne = Ke - y[st], pe = [oo, io].indexOf(S) !== -1, we = (je = L == null ? void 0 : L[x]) != null ? je : 0, Oe = pe ? Nt : Ke - A[Je] - k[Je] - we + R.altAxis, xe = pe ? Ke + A[Je] + k[Je] - we - R.altAxis : Ne, ge = m && pe ? Tfe(Oe, Ke, xe) : Ld(m ? Oe : Nt, Ke, m ? xe : Ne);
45294
+ var je, Ge = w === "x" ? oo : io, st = w === "x" ? si : ai, Ke = O[x], Je = x === "y" ? "height" : "width", Nt = Ke + y[Ge], Ne = Ke - y[st], pe = [oo, io].indexOf(S) !== -1, we = (je = L == null ? void 0 : L[x]) != null ? je : 0, Oe = pe ? Nt : Ke - A[Je] - M[Je] - we + R.altAxis, xe = pe ? Ke + A[Je] + M[Je] - we - R.altAxis : Ne, ge = m && pe ? Tfe(Oe, Ke, xe) : Ld(m ? Oe : Nt, Ke, m ? xe : Ne);
45295
45295
  O[x] = ge, F[x] = ge - Ke;
45296
45296
  }
45297
45297
  t.modifiersData[r] = F;
@@ -45444,10 +45444,10 @@ function fde(e) {
45444
45444
  u.reset = !1, w = -1;
45445
45445
  continue;
45446
45446
  }
45447
- var x = u.orderedModifiers[w], O = x.fn, A = x.options, k = A === void 0 ? {} : A, N = x.name;
45447
+ var x = u.orderedModifiers[w], O = x.fn, A = x.options, M = A === void 0 ? {} : A, N = x.name;
45448
45448
  typeof O == "function" && (u = O({
45449
45449
  state: u,
45450
- options: k,
45450
+ options: M,
45451
45451
  name: N,
45452
45452
  instance: m
45453
45453
  }) || u);
@@ -45670,13 +45670,13 @@ const yde = $s("input")((e) => `
45670
45670
  font-weight: 400;
45671
45671
  font-size: 15px;
45672
45672
  line-height: 19px;
45673
- color: ${e.error ? M.ERROR_BASE : M.PRIMARY};
45674
- background: ${M.BG};
45673
+ color: ${e.error ? k.ERROR_BASE : k.PRIMARY};
45674
+ background: ${k.BG};
45675
45675
  font-family: 'PTRootUIWebMedium';
45676
45676
  width: 100%;
45677
45677
 
45678
45678
  &::placeholder {
45679
- color: ${M.SECONDARY_03};
45679
+ color: ${k.SECONDARY_03};
45680
45680
  }
45681
45681
 
45682
45682
  &:focus {
@@ -45686,7 +45686,7 @@ const yde = $s("input")((e) => `
45686
45686
 
45687
45687
  &:disabled {
45688
45688
  background: none;
45689
- color: ${M.SECONDARY_03};
45689
+ color: ${k.SECONDARY_03};
45690
45690
  }
45691
45691
  `), DP = 19, bde = $s("textarea")((e) => {
45692
45692
  const { maxRows: t } = e;
@@ -45694,8 +45694,8 @@ const yde = $s("input")((e) => `
45694
45694
  font-weight: 400;
45695
45695
  font-size: 15px;
45696
45696
  line-height: ${DP}px;
45697
- color: ${M.PRIMARY};
45698
- background: ${M.BG};
45697
+ color: ${k.PRIMARY};
45698
+ background: ${k.BG};
45699
45699
  width: 100%;
45700
45700
  border: 0;
45701
45701
  height: ${t ? DP * t + "px" : "auto"};
@@ -45703,7 +45703,7 @@ const yde = $s("input")((e) => `
45703
45703
  font-family: 'PTRootUIWebMedium';
45704
45704
 
45705
45705
  &::placeholder {
45706
- color: ${M.SECONDARY_03};
45706
+ color: ${k.SECONDARY_03};
45707
45707
  }
45708
45708
 
45709
45709
  &:focus {
@@ -45743,10 +45743,10 @@ const yde = $s("input")((e) => `
45743
45743
  display: "flex",
45744
45744
  alignItems: "center",
45745
45745
  justifyContent: "space-between",
45746
- border: `1px solid ${M.SECONDARY_03}`,
45746
+ border: `1px solid ${k.SECONDARY_03}`,
45747
45747
  borderRadius: "10px",
45748
45748
  ...i && { width: "100%" },
45749
- background: a ? M.SECONDARY_02 : M.BG
45749
+ background: a ? k.SECONDARY_02 : k.BG
45750
45750
  },
45751
45751
  error: u,
45752
45752
  slots: { input: yde, textarea: bde },
@@ -45891,10 +45891,10 @@ const wde = (e) => {
45891
45891
  }, Ede = (e) => {
45892
45892
  var r, o;
45893
45893
  const { poll: t } = e, n = rt();
45894
- return (r = n.currentChannel) == null || r.getPollList, /* @__PURE__ */ h.jsx(Ie, { item: !0, width: "100%", children: /* @__PURE__ */ h.jsxs(yh, { sx: { backgroundColor: M.SECONDARY_01, margin: "0px 12px 13px" }, elevation: 0, children: [
45894
+ return (r = n.currentChannel) == null || r.getPollList, /* @__PURE__ */ h.jsx(Ie, { item: !0, width: "100%", children: /* @__PURE__ */ h.jsxs(yh, { sx: { backgroundColor: k.SECONDARY_01, margin: "0px 12px 13px" }, elevation: 0, children: [
45895
45895
  /* @__PURE__ */ h.jsxs(Ie, { container: !0, justifyContent: "space-between", padding: "16px 12px", children: [
45896
45896
  /* @__PURE__ */ h.jsx(ve, { variant: "h4", children: pb({ date: t.stoppedAt || t.createdAt, withToday: !0, lang: n.ui.lang }) }),
45897
- /* @__PURE__ */ h.jsx(ve, { variant: "subtitle2", color: M.SECONDARY_BASE, children: ba({ date: t.stoppedAt || t.createdAt, lang: n.ui.lang }) })
45897
+ /* @__PURE__ */ h.jsx(ve, { variant: "subtitle2", color: k.SECONDARY_BASE, children: ba({ date: t.stoppedAt || t.createdAt, lang: n.ui.lang }) })
45898
45898
  ] }),
45899
45899
  /* @__PURE__ */ h.jsx(gp, {}),
45900
45900
  /* @__PURE__ */ h.jsxs(Ie, { item: !0, container: !0, padding: "13px 14px", rowGap: 3, children: [
@@ -45916,7 +45916,7 @@ const wde = (e) => {
45916
45916
  wrap: "nowrap",
45917
45917
  overflow: "auto",
45918
45918
  height: "100%",
45919
- sx: { color: M.PRIMARY },
45919
+ sx: { color: k.PRIMARY },
45920
45920
  children: [
45921
45921
  /* @__PURE__ */ h.jsx(ve, { variant: "h2", marginTop: "24px", textAlign: "center", children: /* @__PURE__ */ h.jsx(Ee, { id: "pollResults" }) }),
45922
45922
  /* @__PURE__ */ h.jsx(MC, { status: c, alignSelf: "start", marginTop: "49px", mb: "12px", marginLeft: "16px" }),
@@ -45929,7 +45929,7 @@ const wde = (e) => {
45929
45929
  marginLeft: "20px",
45930
45930
  marginTop: "6px",
45931
45931
  marginBottom: "20px",
45932
- color: M.SECONDARY_BASE,
45932
+ color: k.SECONDARY_BASE,
45933
45933
  children: /* @__PURE__ */ h.jsx(Ee, { id: ab(s) })
45934
45934
  }
45935
45935
  ),
@@ -45952,17 +45952,17 @@ const wde = (e) => {
45952
45952
  {
45953
45953
  variant: "body2",
45954
45954
  alignSelf: "start",
45955
- color: M.PRIMARY_TRANSPARENCY,
45955
+ color: k.PRIMARY_TRANSPARENCY,
45956
45956
  marginLeft: "20px",
45957
45957
  marginTop: "6px",
45958
45958
  marginBottom: "20px",
45959
45959
  children: /* @__PURE__ */ h.jsx(Ee, { id: ab(o) })
45960
45960
  }
45961
45961
  ),
45962
- o == null ? void 0 : o.votes.map((i) => /* @__PURE__ */ h.jsxs(yh, { sx: { backgroundColor: M.SECONDARY_01, margin: "0px 12px 13px" }, elevation: 0, children: [
45962
+ o == null ? void 0 : o.votes.map((i) => /* @__PURE__ */ h.jsxs(yh, { sx: { backgroundColor: k.SECONDARY_01, margin: "0px 12px 13px" }, elevation: 0, children: [
45963
45963
  /* @__PURE__ */ h.jsxs(Ie, { container: !0, justifyContent: "space-between", padding: "16px 12px", children: [
45964
45964
  /* @__PURE__ */ h.jsx(ve, { variant: "h4", children: i.user.displayName }),
45965
- /* @__PURE__ */ h.jsx(ve, { variant: "subtitle2", color: M.PRIMARY_TRANSPARENCY, children: ba({ date: o.stoppedAt || o.createdAt, lang: e.ui.lang }) })
45965
+ /* @__PURE__ */ h.jsx(ve, { variant: "subtitle2", color: k.PRIMARY_TRANSPARENCY, children: ba({ date: o.stoppedAt || o.createdAt, lang: e.ui.lang }) })
45966
45966
  ] }),
45967
45967
  /* @__PURE__ */ h.jsx(gp, {}),
45968
45968
  /* @__PURE__ */ h.jsx(ve, { margin: "12px", variant: "subtitle2", children: i.answer })
@@ -46034,29 +46034,29 @@ var f6 = {};
46034
46034
  }
46035
46035
  },
46036
46036
  parse: function(d) {
46037
- var m = this, g = [0], v = [null], y = [], S = this.table, C = "", b = 0, w = 0, x = 2, O = 1, A = y.slice.call(arguments, 1), k = Object.create(this.lexer), N = { yy: {} };
46037
+ var m = this, g = [0], v = [null], y = [], S = this.table, C = "", b = 0, w = 0, x = 2, O = 1, A = y.slice.call(arguments, 1), M = Object.create(this.lexer), N = { yy: {} };
46038
46038
  for (var R in this.yy)
46039
46039
  Object.prototype.hasOwnProperty.call(this.yy, R) && (N.yy[R] = this.yy[R]);
46040
- k.setInput(d, N.yy), N.yy.lexer = k, N.yy.parser = this, typeof k.yylloc > "u" && (k.yylloc = {});
46041
- var L = k.yylloc;
46040
+ M.setInput(d, N.yy), N.yy.lexer = M, N.yy.parser = this, typeof M.yylloc > "u" && (M.yylloc = {});
46041
+ var L = M.yylloc;
46042
46042
  y.push(L);
46043
- var F = k.options && k.options.ranges;
46043
+ var F = M.options && M.options.ranges;
46044
46044
  typeof N.yy.parseError == "function" ? this.parseError = N.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
46045
46045
  for (var J = function() {
46046
46046
  var H;
46047
- return H = k.lex() || O, typeof H != "number" && (H = m.symbols_[H] || H), H;
46047
+ return H = M.lex() || O, typeof H != "number" && (H = m.symbols_[H] || H), H;
46048
46048
  }, V, B, W, te, ae = {}, Q, U, q, D; ; ) {
46049
46049
  if (B = g[g.length - 1], this.defaultActions[B] ? W = this.defaultActions[B] : ((V === null || typeof V > "u") && (V = J()), W = S[B] && S[B][V]), typeof W > "u" || !W.length || !W[0]) {
46050
46050
  var G = "";
46051
46051
  D = [];
46052
46052
  for (Q in S[B])
46053
46053
  this.terminals_[Q] && Q > x && D.push("'" + this.terminals_[Q] + "'");
46054
- k.showPosition ? G = "Parse error on line " + (b + 1) + `:
46055
- ` + k.showPosition() + `
46054
+ M.showPosition ? G = "Parse error on line " + (b + 1) + `:
46055
+ ` + M.showPosition() + `
46056
46056
  Expecting ` + D.join(", ") + ", got '" + (this.terminals_[V] || V) + "'" : G = "Parse error on line " + (b + 1) + ": Unexpected " + (V == O ? "end of input" : "'" + (this.terminals_[V] || V) + "'"), this.parseError(G, {
46057
- text: k.match,
46057
+ text: M.match,
46058
46058
  token: this.terminals_[V] || V,
46059
- line: k.yylineno,
46059
+ line: M.yylineno,
46060
46060
  loc: L,
46061
46061
  expected: D
46062
46062
  });
@@ -46065,7 +46065,7 @@ Expecting ` + D.join(", ") + ", got '" + (this.terminals_[V] || V) + "'" : G = "
46065
46065
  throw new Error("Parse Error: multiple actions possible at state: " + B + ", token: " + V);
46066
46066
  switch (W[0]) {
46067
46067
  case 1:
46068
- g.push(V), v.push(k.yytext), y.push(k.yylloc), g.push(W[1]), V = null, w = k.yyleng, C = k.yytext, b = k.yylineno, L = k.yylloc;
46068
+ g.push(V), v.push(M.yytext), y.push(M.yylloc), g.push(W[1]), V = null, w = M.yyleng, C = M.yytext, b = M.yylineno, L = M.yylloc;
46069
46069
  break;
46070
46070
  case 2:
46071
46071
  if (U = this.productions_[W[1]][1], ae.$ = v[v.length - U], ae._$ = {
@@ -46453,7 +46453,7 @@ const Gde = /* @__PURE__ */ rf(Wde), Li = ot(({ route: e, children: t }) => {
46453
46453
  },
46454
46454
  content: {
46455
46455
  zIndex: 1e3,
46456
- background: M.BG,
46456
+ background: k.BG,
46457
46457
  padding: 20,
46458
46458
  borderRadius: "20px 20px 0px 0px"
46459
46459
  },
@@ -46467,7 +46467,7 @@ const Gde = /* @__PURE__ */ rf(Wde), Li = ot(({ route: e, children: t }) => {
46467
46467
  cancelButton: {
46468
46468
  width: 32,
46469
46469
  height: 34,
46470
- backgroundColor: M.BG,
46470
+ backgroundColor: k.BG,
46471
46471
  borderRadius: 10,
46472
46472
  marginLeft: 16,
46473
46473
  marginBottom: 12
@@ -46485,7 +46485,7 @@ const Gde = /* @__PURE__ */ rf(Wde), Li = ot(({ route: e, children: t }) => {
46485
46485
  [o.root]: !0
46486
46486
  }),
46487
46487
  children: [
46488
- /* @__PURE__ */ h.jsx(Zn, { className: o.cancelButton, onClick: n, children: /* @__PURE__ */ h.jsx(zde, { fill: M.PRIMARY }) }),
46488
+ /* @__PURE__ */ h.jsx(Zn, { className: o.cancelButton, onClick: n, children: /* @__PURE__ */ h.jsx(zde, { fill: k.PRIMARY }) }),
46489
46489
  /* @__PURE__ */ h.jsx("div", { className: o.content, children: t })
46490
46490
  ]
46491
46491
  }
@@ -46495,7 +46495,7 @@ const Gde = /* @__PURE__ */ rf(Wde), Li = ot(({ route: e, children: t }) => {
46495
46495
  {
46496
46496
  footerActions: {
46497
46497
  "& > a": {
46498
- color: M.TERTIARY_BASE
46498
+ color: k.TERTIARY_BASE
46499
46499
  }
46500
46500
  }
46501
46501
  },
@@ -46740,7 +46740,7 @@ const Gde = /* @__PURE__ */ rf(Wde), Li = ot(({ route: e, children: t }) => {
46740
46740
  marginBottom: 24,
46741
46741
  "& > a": {
46742
46742
  marginLeft: 4,
46743
- color: M.TERTIARY_BASE
46743
+ color: k.TERTIARY_BASE
46744
46744
  }
46745
46745
  }
46746
46746
  },
@@ -46839,7 +46839,7 @@ const Gde = /* @__PURE__ */ rf(Wde), Li = ot(({ route: e, children: t }) => {
46839
46839
  marginTop: 10,
46840
46840
  marginBottom: 24,
46841
46841
  "& > a": {
46842
- color: M.TERTIARY_BASE
46842
+ color: k.TERTIARY_BASE
46843
46843
  }
46844
46844
  }
46845
46845
  },
@@ -47162,12 +47162,12 @@ const w6 = /* @__PURE__ */ _.forwardRef(function(t, n) {
47162
47162
  const w = m.current;
47163
47163
  w.style.width = b.width, w.value = S.value || t.placeholder || "x", w.value.slice(-1) === `
47164
47164
  ` && (w.value += " ");
47165
- const x = b.boxSizing, O = hm(b.paddingBottom) + hm(b.paddingTop), A = hm(b.borderBottomWidth) + hm(b.borderTopWidth), k = w.scrollHeight;
47165
+ const x = b.boxSizing, O = hm(b.paddingBottom) + hm(b.paddingTop), A = hm(b.borderBottomWidth) + hm(b.borderTopWidth), M = w.scrollHeight;
47166
47166
  w.value = "x";
47167
47167
  const N = w.scrollHeight;
47168
- let R = k;
47168
+ let R = M;
47169
47169
  i && (R = Math.max(Number(i) * N, R)), o && (R = Math.min(Number(o) * N, R)), R = Math.max(R, N);
47170
- const L = R + (x === "border-box" ? O + A : 0), F = Math.abs(R - k) <= 1;
47170
+ const L = R + (x === "border-box" ? O + A : 0), F = Math.abs(R - M) <= 1;
47171
47171
  return {
47172
47172
  outerHeightStyle: L,
47173
47173
  overflowing: F
@@ -47306,7 +47306,7 @@ const hpe = (e) => {
47306
47306
  }
47307
47307
  );
47308
47308
  }, gpe = (e) => {
47309
- const { className: t, fill: n = M.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
47309
+ const { className: t, fill: n = k.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
47310
47310
  return /* @__PURE__ */ h.jsx(
47311
47311
  "svg",
47312
47312
  {
@@ -47462,7 +47462,7 @@ function wpe() {
47462
47462
  }
47463
47463
  }
47464
47464
  }
47465
- var O = s, A = i, k = e, N = c, R = n, L = d, F = p, J = t, V = o, B = r, W = l, te = u, ae = !1, Q = !1;
47465
+ var O = s, A = i, M = e, N = c, R = n, L = d, F = p, J = t, V = o, B = r, W = l, te = u, ae = !1, Q = !1;
47466
47466
  function U(re) {
47467
47467
  return ae || (ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
47468
47468
  }
@@ -47505,7 +47505,7 @@ function wpe() {
47505
47505
  function Te(re) {
47506
47506
  return x(re) === u;
47507
47507
  }
47508
- Xt.ContextConsumer = O, Xt.ContextProvider = A, Xt.Element = k, Xt.ForwardRef = N, Xt.Fragment = R, Xt.Lazy = L, Xt.Memo = F, Xt.Portal = J, Xt.Profiler = V, Xt.StrictMode = B, Xt.Suspense = W, Xt.SuspenseList = te, Xt.isAsyncMode = U, Xt.isConcurrentMode = q, Xt.isContextConsumer = D, Xt.isContextProvider = G, Xt.isElement = H, Xt.isForwardRef = Y, Xt.isFragment = K, Xt.isLazy = ne, Xt.isMemo = z, Xt.isPortal = ee, Xt.isProfiler = oe, Xt.isStrictMode = se, Xt.isSuspense = $, Xt.isSuspenseList = Te, Xt.isValidElementType = w, Xt.typeOf = x;
47508
+ Xt.ContextConsumer = O, Xt.ContextProvider = A, Xt.Element = M, Xt.ForwardRef = N, Xt.Fragment = R, Xt.Lazy = L, Xt.Memo = F, Xt.Portal = J, Xt.Profiler = V, Xt.StrictMode = B, Xt.Suspense = W, Xt.SuspenseList = te, Xt.isAsyncMode = U, Xt.isConcurrentMode = q, Xt.isContextConsumer = D, Xt.isContextProvider = G, Xt.isElement = H, Xt.isForwardRef = Y, Xt.isFragment = K, Xt.isLazy = ne, Xt.isMemo = z, Xt.isPortal = ee, Xt.isProfiler = oe, Xt.isStrictMode = se, Xt.isSuspense = $, Xt.isSuspenseList = Te, Xt.isValidElementType = w, Xt.typeOf = x;
47509
47509
  }()), Xt;
47510
47510
  }
47511
47511
  I.env.NODE_ENV === "production" ? XS.exports = bpe() : XS.exports = wpe();
@@ -47647,7 +47647,7 @@ const Epe = (e) => {
47647
47647
  ...r,
47648
47648
  orientation: S,
47649
47649
  collapsedSize: a
47650
- }, A = Epe(O), k = af(), N = hc(), R = _.useRef(null), L = _.useRef(), F = typeof a == "number" ? `${a}px` : a, J = S === "horizontal", V = J ? "width" : "height", B = _.useRef(null), W = qn(n, B), te = (K) => (ne) => {
47650
+ }, A = Epe(O), M = af(), N = hc(), R = _.useRef(null), L = _.useRef(), F = typeof a == "number" ? `${a}px` : a, J = S === "horizontal", V = J ? "width" : "height", B = _.useRef(null), W = qn(n, B), te = (K) => (ne) => {
47651
47651
  if (K) {
47652
47652
  const z = B.current;
47653
47653
  ne === void 0 ? K(z) : K(z, ne);
@@ -47668,7 +47668,7 @@ const Epe = (e) => {
47668
47668
  mode: "enter"
47669
47669
  });
47670
47670
  if (b === "auto") {
47671
- const se = k.transitions.getAutoHeightDuration(z);
47671
+ const se = M.transitions.getAutoHeightDuration(z);
47672
47672
  K.style.transitionDuration = `${se}ms`, L.current = se;
47673
47673
  } else
47674
47674
  K.style.transitionDuration = typeof ee == "string" ? ee : `${ee}ms`;
@@ -47689,7 +47689,7 @@ const Epe = (e) => {
47689
47689
  mode: "exit"
47690
47690
  });
47691
47691
  if (b === "auto") {
47692
- const oe = k.transitions.getAutoHeightDuration(ne);
47692
+ const oe = M.transitions.getAutoHeightDuration(ne);
47693
47693
  K.style.transitionDuration = `${oe}ms`, L.current = oe;
47694
47694
  } else
47695
47695
  K.style.transitionDuration = typeof z == "string" ? z : `${z}ms`;
@@ -47958,7 +47958,7 @@ const Ipe = (e) => {
47958
47958
  Ws(() => {
47959
47959
  x.current = w;
47960
47960
  }, [w]), _.useImperativeHandle(p, () => b.current, []);
47961
- const O = Ape(l, i), [A, k] = _.useState(O), [N, R] = _.useState(cv(r));
47961
+ const O = Ape(l, i), [A, M] = _.useState(O), [N, R] = _.useState(cv(r));
47962
47962
  _.useEffect(() => {
47963
47963
  b.current && b.current.forceUpdate();
47964
47964
  }), _.useEffect(() => {
@@ -47967,7 +47967,7 @@ const Ipe = (e) => {
47967
47967
  if (!N || !c)
47968
47968
  return;
47969
47969
  const B = (ae) => {
47970
- k(ae.placement);
47970
+ M(ae.placement);
47971
47971
  };
47972
47972
  if (I.env.NODE_ENV !== "production" && N && vb(N) && N.nodeType === 1) {
47973
47973
  const ae = N.getBoundingClientRect();
@@ -48055,7 +48055,7 @@ const Ipe = (e) => {
48055
48055
  const R = cv(r);
48056
48056
  A = R && vb(R) ? $o(R).body : $o(null).body;
48057
48057
  }
48058
- const k = !u && c && (!v || b) ? "none" : void 0, N = v ? {
48058
+ const M = !u && c && (!v || b) ? "none" : void 0, N = v ? {
48059
48059
  in: u,
48060
48060
  onEnter: x,
48061
48061
  onExited: O
@@ -48082,7 +48082,7 @@ const Ipe = (e) => {
48082
48082
  // Fix Popper.js display issue
48083
48083
  top: 0,
48084
48084
  left: 0,
48085
- display: k,
48085
+ display: M,
48086
48086
  ...g
48087
48087
  },
48088
48088
  TransitionProps: N,
@@ -48443,7 +48443,7 @@ const _pe = {
48443
48443
  const W = w.current;
48444
48444
  B === void 0 ? V(W) : V(W, B);
48445
48445
  }
48446
- }, A = O(d), k = O((V, B) => {
48446
+ }, A = O(d), M = O((V, B) => {
48447
48447
  E6(V);
48448
48448
  const W = $u({
48449
48449
  style: y,
@@ -48469,7 +48469,7 @@ const _pe = {
48469
48469
  appear: s,
48470
48470
  in: l,
48471
48471
  nodeRef: w,
48472
- onEnter: k,
48472
+ onEnter: M,
48473
48473
  onEntered: N,
48474
48474
  onEntering: A,
48475
48475
  onExit: L,
@@ -48648,11 +48648,11 @@ const Bpe = (e) => {
48648
48648
  externalForwardedProps: w,
48649
48649
  className: Ye(S.root, i),
48650
48650
  ownerState: y
48651
- }), [A, k] = Da("transition", {
48651
+ }), [A, M] = Da("transition", {
48652
48652
  elementType: C6,
48653
48653
  externalForwardedProps: w,
48654
48654
  ownerState: y
48655
- }), N = Bpe(k);
48655
+ }), N = Bpe(M);
48656
48656
  return /* @__PURE__ */ h.jsx(A, {
48657
48657
  in: c,
48658
48658
  timeout: g,
@@ -49032,7 +49032,7 @@ const O6 = /* @__PURE__ */ _.forwardRef(function(t, n) {
49032
49032
  badgeContent: x,
49033
49033
  invisible: O,
49034
49034
  max: A,
49035
- displayValue: k
49035
+ displayValue: M
49036
49036
  } = Upe({
49037
49037
  max: g,
49038
49038
  invisible: m,
@@ -49049,7 +49049,7 @@ const O6 = /* @__PURE__ */ _.forwardRef(function(t, n) {
49049
49049
  overlap: F = p,
49050
49050
  anchorOrigin: J,
49051
49051
  variant: V = b
49052
- } = R ? N : r, B = HP(J), W = V !== "dot" ? k : void 0, te = {
49052
+ } = R ? N : r, B = HP(J), W = V !== "dot" ? M : void 0, te = {
49053
49053
  ...r,
49054
49054
  badgeContent: x,
49055
49055
  invisible: R,
@@ -49616,7 +49616,7 @@ const ahe = (e) => {
49616
49616
  tabIndex: x,
49617
49617
  type: O,
49618
49618
  value: A,
49619
- ...k
49619
+ ...M
49620
49620
  } = t, [N, R] = NE({
49621
49621
  controlled: o,
49622
49622
  default: !!a,
@@ -49653,7 +49653,7 @@ const ahe = (e) => {
49653
49653
  onBlur: J,
49654
49654
  ownerState: te,
49655
49655
  ref: n,
49656
- ...k,
49656
+ ...M,
49657
49657
  children: [/* @__PURE__ */ h.jsx(lhe, {
49658
49658
  autoFocus: r,
49659
49659
  checked: o,
@@ -49971,9 +49971,9 @@ function uv(e) {
49971
49971
  return;
49972
49972
  if (!m.current)
49973
49973
  return;
49974
- let k = [];
49975
- if ((b.activeElement === l.current || b.activeElement === u.current) && (k = i(g.current)), k.length > 0) {
49976
- const L = !!((N = y.current) != null && N.shiftKey && ((R = y.current) == null ? void 0 : R.key) === "Tab"), F = k[0], J = k[k.length - 1];
49974
+ let M = [];
49975
+ if ((b.activeElement === l.current || b.activeElement === u.current) && (M = i(g.current)), M.length > 0) {
49976
+ const L = !!((N = y.current) != null && N.shiftKey && ((R = y.current) == null ? void 0 : R.key) === "Tab"), F = M[0], J = M[M.length - 1];
49977
49977
  typeof F != "string" && typeof J != "string" && (L ? J.focus() : F.focus());
49978
49978
  } else
49979
49979
  A.focus();
@@ -50094,7 +50094,7 @@ function xhe(e) {
50094
50094
  }, O = ma(() => {
50095
50095
  const B = She(t) || b().body;
50096
50096
  mm.add(w(), B), m.current && x();
50097
- }), A = () => mm.isTopModal(w()), k = ma((B) => {
50097
+ }), A = () => mm.isTopModal(w()), M = ma((B) => {
50098
50098
  d.current = B, B && (l && A() ? x() : m.current && Fd(m.current, C));
50099
50099
  }), N = _.useCallback(() => {
50100
50100
  mm.remove(w(), C);
@@ -50154,7 +50154,7 @@ function xhe(e) {
50154
50154
  };
50155
50155
  },
50156
50156
  rootRef: g,
50157
- portalRef: k,
50157
+ portalRef: M,
50158
50158
  isTopModal: A,
50159
50159
  exited: v,
50160
50160
  hasTransition: S
@@ -50231,7 +50231,7 @@ const The = (e) => {
50231
50231
  keepMounted: x = !1,
50232
50232
  onBackdropClick: O,
50233
50233
  onClose: A,
50234
- onTransitionEnter: k,
50234
+ onTransitionEnter: M,
50235
50235
  onTransitionExited: N,
50236
50236
  open: R,
50237
50237
  slotProps: L = {},
@@ -50607,9 +50607,9 @@ const Phe = (e) => {
50607
50607
  return o && _.Children.forEach(o, (B) => {
50608
50608
  _b(B, ["Input", "Select"]) && (UP(B.props, !0) || UP(B.props.inputProps, !0)) && (V = !0);
50609
50609
  }), V;
50610
- }), [k, N] = _.useState(!1);
50611
- c && k && N(!1);
50612
- const R = u !== void 0 && !c ? u : k;
50610
+ }), [M, N] = _.useState(!1);
50611
+ c && M && N(!1);
50612
+ const R = u !== void 0 && !c ? u : M;
50613
50613
  let L;
50614
50614
  const F = _.useRef(!1);
50615
50615
  I.env.NODE_ENV !== "production" && (L = () => (F.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
@@ -50851,7 +50851,7 @@ const yd = St("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlace
50851
50851
  ["checked", "name", "onChange", "value", "inputRef"].forEach((B) => {
50852
50852
  typeof a.props[B] > "u" && typeof r[B] < "u" && (A[B] = r[B]);
50853
50853
  });
50854
- const k = qC({
50854
+ const M = qC({
50855
50855
  props: r,
50856
50856
  muiFormControl: w,
50857
50857
  states: ["error"]
@@ -50860,7 +50860,7 @@ const yd = St("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlace
50860
50860
  disabled: x,
50861
50861
  labelPlacement: d,
50862
50862
  required: O,
50863
- error: k.error
50863
+ error: M.error
50864
50864
  }, R = khe(N), L = {
50865
50865
  slots: y,
50866
50866
  slotProps: {
@@ -51262,7 +51262,7 @@ const Hhe = {
51262
51262
  const te = x.current;
51263
51263
  W === void 0 ? B(te) : B(te, W);
51264
51264
  }
51265
- }, k = A(u), N = A((B, W) => {
51265
+ }, M = A(u), N = A((B, W) => {
51266
51266
  E6(B);
51267
51267
  const {
51268
51268
  duration: te,
@@ -51314,7 +51314,7 @@ const Hhe = {
51314
51314
  nodeRef: x,
51315
51315
  onEnter: N,
51316
51316
  onEntered: R,
51317
- onEntering: k,
51317
+ onEntering: M,
51318
51318
  onExit: F,
51319
51319
  onExited: J,
51320
51320
  onExiting: L,
@@ -51610,10 +51610,10 @@ const j6 = /* @__PURE__ */ _.forwardRef(function(t, n) {
51610
51610
  else if (x === "End")
51611
51611
  b.preventDefault(), id(w, null, l, c, YP);
51612
51612
  else if (x.length === 1) {
51613
- const k = g.current, N = x.toLowerCase(), R = performance.now();
51614
- k.keys.length > 0 && (R - k.lastTime > 500 ? (k.keys = [], k.repeating = !0, k.previousKeyMatched = !0) : k.repeating && N !== k.keys[0] && (k.repeating = !1)), k.lastTime = R, k.keys.push(N);
51615
- const L = A && !k.repeating && M6(A, k);
51616
- k.previousKeyMatched && (L || id(w, A, !1, c, l1, k)) ? b.preventDefault() : k.previousKeyMatched = !1;
51613
+ const M = g.current, N = x.toLowerCase(), R = performance.now();
51614
+ M.keys.length > 0 && (R - M.lastTime > 500 ? (M.keys = [], M.repeating = !0, M.previousKeyMatched = !0) : M.repeating && N !== M.keys[0] && (M.repeating = !1)), M.lastTime = R, M.keys.push(N);
51615
+ const L = A && !M.repeating && M6(A, M);
51616
+ M.previousKeyMatched && (L || id(w, A, !1, c, l1, M)) ? b.preventDefault() : M.previousKeyMatched = !1;
51617
51617
  }
51618
51618
  u && u(b);
51619
51619
  }, y = qn(m, n);
@@ -51767,7 +51767,7 @@ const Yhe = (e) => {
51767
51767
  ...O
51768
51768
  } = {},
51769
51769
  disableScrollLock: A = !1,
51770
- ...k
51770
+ ...M
51771
51771
  } = r, N = (S == null ? void 0 : S.paper) ?? v, R = _.useRef(), L = {
51772
51772
  ...r,
51773
51773
  anchorOrigin: s,
@@ -51902,7 +51902,7 @@ const Yhe = (e) => {
51902
51902
  slotProps: ne,
51903
51903
  disableScrollLock: A
51904
51904
  },
51905
- ...k,
51905
+ ...M,
51906
51906
  ref: n,
51907
51907
  children: /* @__PURE__ */ h.jsx(b, {
51908
51908
  appear: !0,
@@ -52188,8 +52188,8 @@ const Jhe = {
52188
52188
  transitionDuration: m,
52189
52189
  TransitionProps: v,
52190
52190
  variant: y
52191
- }, O = Qhe(x), A = o && !a && u, k = _.useRef(null), N = (W, te) => {
52192
- k.current && k.current.adjustStyleForScrollbar(W, {
52191
+ }, O = Qhe(x), A = o && !a && u, M = _.useRef(null), N = (W, te) => {
52192
+ M.current && M.current.adjustStyleForScrollbar(W, {
52193
52193
  direction: w ? "rtl" : "ltr"
52194
52194
  }), g && g(W, te);
52195
52195
  }, R = (W) => {
@@ -52238,7 +52238,7 @@ const Jhe = {
52238
52238
  classes: d,
52239
52239
  children: /* @__PURE__ */ h.jsx(tme, {
52240
52240
  onKeyDown: R,
52241
- actions: k,
52241
+ actions: M,
52242
52242
  autoFocus: o && (L === -1 || a),
52243
52243
  autoFocusItem: A,
52244
52244
  variant: y,
@@ -53531,7 +53531,7 @@ const V6 = /* @__PURE__ */ _.forwardRef(function(t, n) {
53531
53531
  onClose: x,
53532
53532
  onOpen: O,
53533
53533
  open: A,
53534
- placement: k = "bottom",
53534
+ placement: M = "bottom",
53535
53535
  PopperComponent: N,
53536
53536
  PopperProps: R = {},
53537
53537
  slotProps: L = {},
@@ -53657,7 +53657,7 @@ const V6 = /* @__PURE__ */ _.forwardRef(function(t, n) {
53657
53657
  isRtl: Q,
53658
53658
  arrow: o,
53659
53659
  disableInteractive: Y,
53660
- placement: k,
53660
+ placement: M,
53661
53661
  PopperComponentProp: N,
53662
53662
  touch: H.current
53663
53663
  }, ie = Tme(X), le = F.popper ?? a.Popper ?? Ome, Ze = F.transition ?? a.Transition ?? V ?? ef, jt = F.tooltip ?? a.Tooltip ?? Rme, Bt = F.arrow ?? a.Arrow ?? Ame, on = tu(le, {
@@ -53677,7 +53677,7 @@ const V6 = /* @__PURE__ */ _.forwardRef(function(t, n) {
53677
53677
  return /* @__PURE__ */ h.jsxs(_.Fragment, {
53678
53678
  children: [/* @__PURE__ */ _.cloneElement(te, E), /* @__PURE__ */ h.jsx(le, {
53679
53679
  as: N ?? zC,
53680
- placement: k,
53680
+ placement: M,
53681
53681
  anchorEl: S ? {
53682
53682
  getBoundingClientRect: () => ({
53683
53683
  top: ad.y,
@@ -54275,7 +54275,7 @@ I.env.NODE_ENV !== "production" && (Ql.propTypes = {
54275
54275
  value: f.any
54276
54276
  });
54277
54277
  const H6 = (e) => {
54278
- const { className: t, fill: n = M.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
54278
+ const { className: t, fill: n = k.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
54279
54279
  return /* @__PURE__ */ h.jsxs(
54280
54280
  "svg",
54281
54281
  {
@@ -54311,7 +54311,7 @@ const H6 = (e) => {
54311
54311
  }
54312
54312
  );
54313
54313
  }, _me = (e) => {
54314
- const { className: t, fill: n = M.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
54314
+ const { className: t, fill: n = k.ACCENT_04, width: r = 24, height: o = 24, style: i } = e;
54315
54315
  return /* @__PURE__ */ h.jsxs(
54316
54316
  "svg",
54317
54317
  {
@@ -54669,7 +54669,7 @@ const H6 = (e) => {
54669
54669
  }
54670
54670
  );
54671
54671
  }, Xme = (e) => {
54672
- const { className: t, fill: n = M.ERROR_BASE, width: r = 24, height: o = 24, style: i } = e;
54672
+ const { className: t, fill: n = k.ERROR_BASE, width: r = 24, height: o = 24, style: i } = e;
54673
54673
  return /* @__PURE__ */ h.jsx(
54674
54674
  "svg",
54675
54675
  {
@@ -54732,7 +54732,7 @@ const H6 = (e) => {
54732
54732
  alignItems: "center",
54733
54733
  justifyContent: "space-between",
54734
54734
  padding: "0 0 0 8px",
54735
- borderBottom: `1px solid ${M.SECONDARY_02}`,
54735
+ borderBottom: `1px solid ${k.SECONDARY_02}`,
54736
54736
  marginBottom: 8
54737
54737
  },
54738
54738
  title: {
@@ -54746,12 +54746,12 @@ const H6 = (e) => {
54746
54746
  flexDirection: "column",
54747
54747
  width: "100%",
54748
54748
  padding: "0 16px 16px",
54749
- background: M.BG,
54749
+ background: k.BG,
54750
54750
  flexWrap: "nowrap"
54751
54751
  },
54752
54752
  throttlePeriods: {
54753
54753
  width: "100%",
54754
- backgroundColor: M.SECONDARY_01,
54754
+ backgroundColor: k.SECONDARY_01,
54755
54755
  padding: 8,
54756
54756
  margin: "8px 0 0",
54757
54757
  borderRadius: 10
@@ -54791,8 +54791,8 @@ const H6 = (e) => {
54791
54791
  },
54792
54792
  title: {
54793
54793
  padding: "4px 8px",
54794
- background: M.SECONDARY_01,
54795
- color: M.SECONDARY_BASE,
54794
+ background: k.SECONDARY_01,
54795
+ color: k.SECONDARY_BASE,
54796
54796
  borderRadius: 5
54797
54797
  },
54798
54798
  content: {
@@ -55896,7 +55896,7 @@ var rE = {
55896
55896
  fileRejections: []
55897
55897
  };
55898
55898
  function t9() {
55899
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = En(En({}, e9), e), n = t.accept, r = t.disabled, o = t.getFilesFromEvent, i = t.maxSize, s = t.minSize, a = t.multiple, c = t.maxFiles, l = t.onDragEnter, u = t.onDragLeave, p = t.onDragOver, d = t.onDrop, m = t.onDropAccepted, g = t.onDropRejected, v = t.onFileDialogCancel, y = t.onFileDialogOpen, S = t.useFsAccessApi, C = t.autoFocus, b = t.preventDropOnDocument, w = t.noClick, x = t.noKeyboard, O = t.noDrag, A = t.noDragEventsBubbling, k = t.onError, N = t.validator, R = fo(function() {
55899
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = En(En({}, e9), e), n = t.accept, r = t.disabled, o = t.getFilesFromEvent, i = t.maxSize, s = t.minSize, a = t.multiple, c = t.maxFiles, l = t.onDragEnter, u = t.onDragLeave, p = t.onDragOver, d = t.onDrop, m = t.onDropAccepted, g = t.onDropRejected, v = t.onFileDialogCancel, y = t.onFileDialogOpen, S = t.useFsAccessApi, C = t.autoFocus, b = t.preventDropOnDocument, w = t.noClick, x = t.noKeyboard, O = t.noDrag, A = t.noDragEventsBubbling, M = t.onError, N = t.validator, R = fo(function() {
55900
55900
  return kge(n);
55901
55901
  }, [n]), L = fo(function() {
55902
55902
  return Nge(n);
@@ -55931,8 +55931,8 @@ function t9() {
55931
55931
  };
55932
55932
  }, [V, C, r]);
55933
55933
  var K = mn(function(pe) {
55934
- k ? k(pe) : console.error(pe);
55935
- }, [k]), ne = mn(function(pe) {
55934
+ M ? M(pe) : console.error(pe);
55935
+ }, [M]), ne = mn(function(pe) {
55936
55936
  pe.preventDefault(), pe.persist(), Ke(pe), H.current = [].concat(Fge(H.current), [pe.target]), ym(pe) && Promise.resolve(o(pe)).then(function(we) {
55937
55937
  if (!(hv(pe) && !A)) {
55938
55938
  var Oe = we.length, xe = Oe > 0 && Oge({
@@ -56162,7 +56162,7 @@ const Xge = $s("div")({
56162
56162
  alignItems: "center",
56163
56163
  padding: 16,
56164
56164
  width: "100%",
56165
- backgroundColor: M.BG,
56165
+ backgroundColor: k.BG,
56166
56166
  borderRadius: 10,
56167
56167
  border: `2px solid ${e}`,
56168
56168
  color: e,
@@ -56172,10 +56172,10 @@ const Xge = $s("div")({
56172
56172
  height: "100%",
56173
56173
  width: "100%",
56174
56174
  opacity: 0.8,
56175
- backgroundColor: M.BG_CONTRAST
56175
+ backgroundColor: k.BG_CONTRAST
56176
56176
  }), hI = $s(ve)({
56177
56177
  marginTop: 4,
56178
- color: M.SUCCESS_03
56178
+ color: k.SUCCESS_03
56179
56179
  }), $ge = 1024 * 1024 * 1024, eve = ["file-too-large", "too-many-files"], r9 = c3({
56180
56180
  openFileDialog: () => {
56181
56181
  },
@@ -56212,7 +56212,7 @@ const Xge = $s("div")({
56212
56212
  return /* @__PURE__ */ h.jsxs(Xge, { ...l(), children: [
56213
56213
  /* @__PURE__ */ h.jsxs(Jge, { isDragActive: p, children: [
56214
56214
  /* @__PURE__ */ h.jsx(Qge, {}),
56215
- /* @__PURE__ */ h.jsxs(Zge, { color: c ? M.SUCCESS_BASE : M.ERROR_02, children: [
56215
+ /* @__PURE__ */ h.jsxs(Zge, { color: c ? k.SUCCESS_BASE : k.ERROR_02, children: [
56216
56216
  c ? /* @__PURE__ */ h.jsx(Yme, {}) : /* @__PURE__ */ h.jsx(Xme, {}),
56217
56217
  /* @__PURE__ */ h.jsx(ve, { variant: "h4", align: "center", children: /* @__PURE__ */ h.jsx(Ee, { id: c ? "fileOnDragTitle" : "fileOnDragTitleForbidden" }) }),
56218
56218
  c && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
@@ -56226,15 +56226,15 @@ const Xge = $s("div")({
56226
56226
  ] });
56227
56227
  }, nve = Ve(({ className: e, ...t }) => /* @__PURE__ */ h.jsx(V6, { ...t, classes: { popper: e } }))({
56228
56228
  [`& .${bn.tooltip}`]: {
56229
- backgroundColor: M.PRIMARY,
56230
- color: M.BG,
56229
+ backgroundColor: k.PRIMARY,
56230
+ color: k.BG,
56231
56231
  borderRadius: 8,
56232
56232
  padding: "8px 12px",
56233
56233
  transition: "opacity 0.3s",
56234
56234
  fontSize: 16
56235
56235
  },
56236
56236
  [`& .${bn.arrow}`]: {
56237
- color: M.PRIMARY
56237
+ color: k.PRIMARY
56238
56238
  }
56239
56239
  }), oE = ({
56240
56240
  showForDisabled: e = !1,
@@ -56257,7 +56257,7 @@ const Xge = $s("div")({
56257
56257
  }, iE = {
56258
56258
  root: {
56259
56259
  width: "100%",
56260
- borderTop: `1px solid ${M.SECONDARY_02}`,
56260
+ borderTop: `1px solid ${k.SECONDARY_02}`,
56261
56261
  flex: "0 1 auto"
56262
56262
  },
56263
56263
  container: {
@@ -56280,12 +56280,12 @@ const Xge = $s("div")({
56280
56280
  gap: 6,
56281
56281
  borderRadius: 10,
56282
56282
  padding: 6,
56283
- outline: `1px solid ${M.SECONDARY_03}`,
56283
+ outline: `1px solid ${k.SECONDARY_03}`,
56284
56284
  "&:hover": {
56285
- outline: `2px solid ${M.SECONDARY_03}`
56285
+ outline: `2px solid ${k.SECONDARY_03}`
56286
56286
  },
56287
56287
  "&:has(textarea:focus)": {
56288
- outline: `2px solid ${M.ACCENT_04}`
56288
+ outline: `2px solid ${k.ACCENT_04}`
56289
56289
  }
56290
56290
  },
56291
56291
  input: {
@@ -56310,14 +56310,14 @@ const Xge = $s("div")({
56310
56310
  width: "100%",
56311
56311
  height: 36,
56312
56312
  padding: "0 16px",
56313
- color: M.CONTRAST,
56314
- background: M.SECONDARY_BASE,
56313
+ color: k.CONTRAST,
56314
+ background: k.SECONDARY_BASE,
56315
56315
  fontFamily: "PTRootUIWebRegular",
56316
56316
  fontSize: "14px",
56317
56317
  lineHeight: "16px"
56318
56318
  },
56319
56319
  attachedFile: {
56320
- borderTop: `solid 1px ${M.SECONDARY_02}`,
56320
+ borderTop: `solid 1px ${k.SECONDARY_02}`,
56321
56321
  paddingTop: 8
56322
56322
  }
56323
56323
  }, rve = mt(iE, { name: "MessageInput" }), ove = mt({
@@ -56330,7 +56330,7 @@ const Xge = $s("div")({
56330
56330
  }
56331
56331
  }), ive = {
56332
56332
  root: {
56333
- color: M.SECONDARY_BASE,
56333
+ color: k.SECONDARY_BASE,
56334
56334
  fontSize: "14px",
56335
56335
  lineHeight: "16px"
56336
56336
  }
@@ -56380,16 +56380,16 @@ const Xge = $s("div")({
56380
56380
  gap: 8,
56381
56381
  alignItems: "center",
56382
56382
  width: "100%",
56383
- border: `2px solid ${M.BG}`,
56384
- color: M.ACCENT_05,
56385
- background: M.BG,
56383
+ border: `2px solid ${k.BG}`,
56384
+ color: k.ACCENT_05,
56385
+ background: k.BG,
56386
56386
  borderRadius: 5,
56387
56387
  "&:hover": {
56388
56388
  "& #action-button": {
56389
56389
  display: "flex"
56390
56390
  },
56391
56391
  "& #file-info": {
56392
- outline: `2px solid ${M.ACCENT_03}`,
56392
+ outline: `2px solid ${k.ACCENT_03}`,
56393
56393
  outlineOffset: -2
56394
56394
  }
56395
56395
  }
@@ -56403,7 +56403,7 @@ const Xge = $s("div")({
56403
56403
  padding: 8,
56404
56404
  gap: 8,
56405
56405
  borderRadius: 5,
56406
- background: ({ hasError: e, uploading: t }) => e ? M.ERROR_01 : t ? M.SECONDARY_03 : M.ACCENT_01
56406
+ background: ({ hasError: e, uploading: t }) => e ? k.ERROR_01 : t ? k.SECONDARY_03 : k.ACCENT_01
56407
56407
  },
56408
56408
  description: {
56409
56409
  display: "flex",
@@ -56422,7 +56422,7 @@ const Xge = $s("div")({
56422
56422
  flexShrink: 0,
56423
56423
  width: 36,
56424
56424
  height: 36,
56425
- outline: `solid 2px ${M.ACCENT_05}`,
56425
+ outline: `solid 2px ${k.ACCENT_05}`,
56426
56426
  outlineOffset: -2,
56427
56427
  borderRadius: 5,
56428
56428
  justifyContent: "center",
@@ -56447,7 +56447,7 @@ const Xge = $s("div")({
56447
56447
  progress: {
56448
56448
  width: 36,
56449
56449
  height: 36,
56450
- background: M.BG,
56450
+ background: k.BG,
56451
56451
  borderRadius: 18,
56452
56452
  "&:last-of-type": {
56453
56453
  marginRight: 8
@@ -56455,18 +56455,18 @@ const Xge = $s("div")({
56455
56455
  },
56456
56456
  cancelDownload: {
56457
56457
  borderRadius: "50%",
56458
- background: M.ERROR_02,
56459
- color: M.BG,
56458
+ background: k.ERROR_02,
56459
+ color: k.BG,
56460
56460
  cursor: "pointer",
56461
56461
  zIndex: 1
56462
56462
  },
56463
56463
  fileName: ({ uploading: e }) => ({
56464
56464
  fontFamily: "PTRootUIWebBold",
56465
- ...e && { color: M.BG }
56465
+ ...e && { color: k.BG }
56466
56466
  }),
56467
56467
  fileSize: ({ uploading: e }) => ({
56468
56468
  fontFamily: "PTRootUIWebMedium",
56469
- ...e && { color: M.SECONDARY_01 }
56469
+ ...e && { color: k.SECONDARY_01 }
56470
56470
  }),
56471
56471
  actionButton: ({ dangerAction: e, hasDownloadError: t }) => ({
56472
56472
  ...e ? UD : na,
@@ -56507,7 +56507,7 @@ const mI = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
56507
56507
  }), m = [vc.uploaded, vc.selected].includes(t) && !c && !l && !n || p, g = r.split(".").pop() ?? "", v = (y, S, C, b) => {
56508
56508
  if (b)
56509
56509
  return a.formatMessage({ id: "uploadError" });
56510
- const w = 1024, x = a.formatMessage({ id: "uploading" }), O = Math.round((y || 0) / 100 * C), A = Math.floor(Math.log(C) / Math.log(w)), k = O / w ** A, N = parseFloat(k.toFixed(0));
56510
+ const w = 1024, x = a.formatMessage({ id: "uploading" }), O = Math.round((y || 0) / 100 * C), A = Math.floor(Math.log(C) / Math.log(w)), M = O / w ** A, N = parseFloat(M.toFixed(0));
56511
56511
  return `${x} ${N}/${NA(C, 0)}`;
56512
56512
  };
56513
56513
  return /* @__PURE__ */ h.jsxs("div", { className: d.root, children: [
@@ -56518,7 +56518,7 @@ const mI = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
56518
56518
  size: 36,
56519
56519
  value: u || 0,
56520
56520
  icon: /* @__PURE__ */ h.jsx(qme, {}),
56521
- color: M.SUCCESS_BASE
56521
+ color: k.SUCCESS_BASE
56522
56522
  }
56523
56523
  ) }) : /* @__PURE__ */ h.jsx("div", { className: d.icon, children: /* @__PURE__ */ h.jsx("div", { className: d.extension, children: g.toUpperCase() }) }),
56524
56524
  /* @__PURE__ */ h.jsxs("div", { className: d.description, children: [
@@ -56549,7 +56549,7 @@ const mI = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
56549
56549
  size: 36,
56550
56550
  value: u || 0,
56551
56551
  icon: /* @__PURE__ */ h.jsx(JC, { className: d.cancelDownload }),
56552
- color: M.SUCCESS_BASE
56552
+ color: k.SUCCESS_BASE
56553
56553
  }
56554
56554
  )
56555
56555
  }
@@ -56564,7 +56564,7 @@ const mI = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
56564
56564
  channelId: r,
56565
56565
  isModerator: o,
56566
56566
  externalId: i
56567
- } = e, [s, a] = Qe(""), [c, l] = Qe(!1), [u, p] = Qe(!1), [d, m] = Qe(!1), [g, v] = Qe(null), [y, S] = Qe(12), { openFileDialog: C, acceptedFile: b, resetAcceptedFile: w } = wE(r9), [x, O] = Qe(!1), { enqueueSnackbar: A } = Df(), k = On(), N = !s.trim().length, R = b || g, { ui: L } = n, F = L.isMobile ? ove() : rve(), J = N && !R, V = (o || !((ne = n.currentChannel) != null && ne.settings.moderatorAttachmentsOnly)) && !R, B = () => {
56567
+ } = e, [s, a] = Qe(""), [c, l] = Qe(!1), [u, p] = Qe(!1), [d, m] = Qe(!1), [g, v] = Qe(null), [y, S] = Qe(12), { openFileDialog: C, acceptedFile: b, resetAcceptedFile: w } = wE(r9), [x, O] = Qe(!1), { enqueueSnackbar: A } = Df(), M = On(), N = !s.trim().length, R = b || g, { ui: L } = n, F = L.isMobile ? ove() : rve(), J = N && !R, V = (o || !((ne = n.currentChannel) != null && ne.settings.moderatorAttachmentsOnly)) && !R, B = () => {
56568
56568
  w(), v(null);
56569
56569
  }, W = (se) => {
56570
56570
  a(se.target.value);
@@ -56599,7 +56599,7 @@ const mI = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
56599
56599
  } catch (st) {
56600
56600
  te(st);
56601
56601
  } finally {
56602
- l(!1), (Ge = k == null ? void 0 : k.current) == null || Ge.focus();
56602
+ l(!1), (Ge = M == null ? void 0 : M.current) == null || Ge.focus();
56603
56603
  }
56604
56604
  }, Q = (se) => {
56605
56605
  m(!1), p(!1), Hoe(r, se);
@@ -56665,7 +56665,7 @@ const mI = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
56665
56665
  onChange: W,
56666
56666
  disabled: c,
56667
56667
  "data-qa": "input-message",
56668
- ref: k,
56668
+ ref: M,
56669
56669
  onFocus: K
56670
56670
  }
56671
56671
  ),
@@ -57036,10 +57036,10 @@ function l9(e, t, n) {
57036
57036
  return s.reduce((C, b) => (C[b] = yve(S[t.events[b]]), C), {});
57037
57037
  }
57038
57038
  const p = de.forwardRef((S, C) => {
57039
- const { children: b, ...w } = S, [x] = de.useState(() => wb(Sve(e), (k) => c(k, w))), [O] = de.useState(gI(u, x));
57039
+ const { children: b, ...w } = S, [x] = de.useState(() => wb(Sve(e), (M) => c(M, w))), [O] = de.useState(gI(u, x));
57040
57040
  bm(() => {
57041
- for (const k of s)
57042
- k in w && Qt(O[k], w[k]);
57041
+ for (const M of s)
57042
+ M in w && Qt(O[M], w[M]);
57043
57043
  return () => {
57044
57044
  Object.values(O).map($C);
57045
57045
  };
@@ -57581,11 +57581,11 @@ const Bve = {
57581
57581
  tt((x) => x.length > 0),
57582
57582
  bt(v, m),
57583
57583
  Fe(([x, O, A]) => {
57584
- const k = x.reduce((N, R, L) => yo(N, R, xp(R, O.offsetTree, A) || L), Eu());
57584
+ const M = x.reduce((N, R, L) => yo(N, R, xp(R, O.offsetTree, A) || L), Eu());
57585
57585
  return {
57586
57586
  ...O,
57587
57587
  groupIndices: x,
57588
- groupOffsetTree: k
57588
+ groupOffsetTree: M
57589
57589
  };
57590
57590
  })
57591
57591
  ),
@@ -57665,17 +57665,17 @@ const Bve = {
57665
57665
  i,
57666
57666
  bt(v),
57667
57667
  Fe(([x, O]) => {
57668
- const A = O.groupIndices.length > 0, k = [], N = O.lastSize;
57668
+ const A = O.groupIndices.length > 0, M = [], N = O.lastSize;
57669
57669
  if (A) {
57670
57670
  const R = Ep(O.sizeTree, 0);
57671
57671
  let L = 0, F = 0;
57672
57672
  for (; L < x; ) {
57673
57673
  const B = O.groupIndices[F], W = O.groupIndices.length === F + 1 ? 1 / 0 : O.groupIndices[F + 1] - B - 1;
57674
- k.push({
57674
+ M.push({
57675
57675
  startIndex: B,
57676
57676
  endIndex: B,
57677
57677
  size: R
57678
- }), k.push({
57678
+ }), M.push({
57679
57679
  startIndex: B + 1,
57680
57680
  endIndex: B + 1 + W - 1,
57681
57681
  size: N
@@ -57699,7 +57699,7 @@ const Bve = {
57699
57699
  };
57700
57700
  },
57701
57701
  {
57702
- ranges: k,
57702
+ ranges: M,
57703
57703
  prevIndex: x,
57704
57704
  prevSize: 0
57705
57705
  }
@@ -57726,8 +57726,8 @@ const Bve = {
57726
57726
  s,
57727
57727
  bt(v, m),
57728
57728
  Fe(([x, { offsetTree: O }, A]) => {
57729
- const k = -x;
57730
- return xp(k, O, A);
57729
+ const M = -x;
57730
+ return xp(M, O, A);
57731
57731
  })
57732
57732
  )
57733
57733
  );
@@ -57825,14 +57825,14 @@ const xh = en(
57825
57825
  bt(r, u, p),
57826
57826
  Fe(
57827
57827
  ([
57828
- [w, x, O, A, k, N, R, L],
57828
+ [w, x, O, A, M, N, R, L],
57829
57829
  F,
57830
57830
  J,
57831
57831
  V
57832
57832
  ]) => {
57833
57833
  const B = S9(w), { align: W, behavior: te, offset: ae } = B, Q = A - 1, U = b9(B, x, Q);
57834
57834
  let q = xp(U, x.offsetTree, F) + N;
57835
- W === "end" ? (q += J + Ai(x.sizeTree, U)[1] - O + V, U === Q && (q += R)) : W === "center" ? q += (J + Ai(x.sizeTree, U)[1] - O + V) / 2 : q -= k, ae && (q += ae);
57835
+ W === "end" ? (q += J + Ai(x.sizeTree, U)[1] - O + V, U === Q && (q += R)) : W === "center" ? q += (J + Ai(x.sizeTree, U)[1] - O + V) / 2 : q -= M, ae && (q += ae);
57836
57836
  const D = (G) => {
57837
57837
  b(), G ? (L("retrying to scroll to", { location: w }, ko.DEBUG), yt(m, w)) : (yt(g, !0), L("list did not change, scroll successful", {}, ko.DEBUG));
57838
57838
  };
@@ -57902,8 +57902,8 @@ const Cp = "up", Ud = "down", Uve = "none", Hve = {
57902
57902
  const g = No(
57903
57903
  Se(
57904
57904
  nr(e, et(n), et(r), et(o), et(u)),
57905
- rs((C, [{ scrollTop: b, scrollHeight: w }, x, O, A, k]) => {
57906
- const N = b + x - w > -k, R = {
57905
+ rs((C, [{ scrollTop: b, scrollHeight: w }, x, O, A, M]) => {
57906
+ const N = b + x - w > -M, R = {
57907
57907
  viewportHeight: x,
57908
57908
  scrollTop: b,
57909
57909
  scrollHeight: w
@@ -58222,9 +58222,9 @@ const i2 = en(
58222
58222
  ]) => {
58223
58223
  const w = u - C, x = y + S, O = Math.max(d - w, 0);
58224
58224
  let A = CI;
58225
- const k = OI(b, vv), N = OI(b, yv);
58226
- return m -= C, m += d + S, g += d + S, g -= C, m > u + x - k && (A = Cp), g < u - O + p + N && (A = Ud), A !== CI ? [
58227
- Math.max(w - d - TI(v, vv, A) - k, 0),
58225
+ const M = OI(b, vv), N = OI(b, yv);
58226
+ return m -= C, m += d + S, g += d + S, g -= C, m > u + x - M && (A = Cp), g < u - O + p + N && (A = Ud), A !== CI ? [
58227
+ Math.max(w - d - TI(v, vv, A) - M, 0),
58228
58228
  w - O - S + p + TI(v, yv, A) + N
58229
58229
  ] : null;
58230
58230
  }
@@ -58359,8 +58359,8 @@ const Rl = en(
58359
58359
  et(o),
58360
58360
  n
58361
58361
  ),
58362
- tt(([O, A, , k, , , , , , , N]) => {
58363
- const R = N && N.length !== k;
58362
+ tt(([O, A, , M, , , , , , , N]) => {
58363
+ const R = N && N.length !== M;
58364
58364
  return O && !A && !R;
58365
58365
  }),
58366
58366
  Fe(
@@ -58368,7 +58368,7 @@ const Rl = en(
58368
58368
  ,
58369
58369
  ,
58370
58370
  [O, A],
58371
- k,
58371
+ M,
58372
58372
  N,
58373
58373
  R,
58374
58374
  L,
@@ -58378,15 +58378,15 @@ const Rl = en(
58378
58378
  B
58379
58379
  ]) => {
58380
58380
  const W = N, { sizeTree: te, offsetTree: ae } = W, Q = xr(y);
58381
- if (k === 0)
58382
- return { ...h1, totalCount: k };
58381
+ if (M === 0)
58382
+ return { ...h1, totalCount: M };
58383
58383
  if (O === 0 && A === 0)
58384
- return Q === 0 ? { ...h1, totalCount: k } : C9(Q, R, N, J, V, B || []);
58384
+ return Q === 0 ? { ...h1, totalCount: M } : C9(Q, R, N, J, V, B || []);
58385
58385
  if (ln(te))
58386
58386
  return Q > 0 ? null : ig(
58387
- Yve(o2(R, k), W, B),
58387
+ Yve(o2(R, M), W, B),
58388
58388
  [],
58389
- k,
58389
+ M,
58390
58390
  V,
58391
58391
  W,
58392
58392
  J
@@ -58402,11 +58402,11 @@ const Rl = en(
58402
58402
  }
58403
58403
  }
58404
58404
  if (!L)
58405
- return ig([], U, k, V, W, J);
58405
+ return ig([], U, M, V, W, J);
58406
58406
  const q = F.length > 0 ? F[F.length - 1] + 1 : 0, D = jve(ae, O, A, q);
58407
58407
  if (D.length === 0)
58408
58408
  return null;
58409
- const G = k - 1, H = wb([], (Y) => {
58409
+ const G = M - 1, H = wb([], (Y) => {
58410
58410
  for (const K of D) {
58411
58411
  const ne = K.value;
58412
58412
  let z = ne.offset, ee = K.start;
@@ -58422,7 +58422,7 @@ const Rl = en(
58422
58422
  Y.push({ index: $, size: oe, offset: z, data: B && B[$] }), z += oe + V;
58423
58423
  }
58424
58424
  });
58425
- return ig(H, U, k, V, W, J);
58425
+ return ig(H, U, M, V, W, J);
58426
58426
  }
58427
58427
  ),
58428
58428
  //@ts-expect-error filter needs to be fixed
@@ -58480,14 +58480,14 @@ const Rl = en(
58480
58480
  C,
58481
58481
  tt(({ items: O }) => O.length > 0),
58482
58482
  Fe(({ items: O }) => {
58483
- let A = 0, k = O.length - 1;
58484
- for (; O[A].type === "group" && A < k; )
58483
+ let A = 0, M = O.length - 1;
58484
+ for (; O[A].type === "group" && A < M; )
58485
58485
  A++;
58486
- for (; O[k].type === "group" && k > A; )
58487
- k--;
58486
+ for (; O[M].type === "group" && M > A; )
58487
+ M--;
58488
58488
  return {
58489
58489
  startIndex: O[A].index,
58490
- endIndex: O[k].index
58490
+ endIndex: O[M].index
58491
58491
  };
58492
58492
  }),
58493
58493
  wn(x9)
@@ -58588,10 +58588,10 @@ const Jve = R9(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.te
58588
58588
  c,
58589
58589
  bt(a),
58590
58590
  rs(
58591
- ([, S, C, b], [{ items: w, totalCount: x, bottom: O, offsetBottom: A }, k]) => {
58591
+ ([, S, C, b], [{ items: w, totalCount: x, bottom: O, offsetBottom: A }, M]) => {
58592
58592
  const N = O + A;
58593
58593
  let R = 0;
58594
- return C === x && S.length > 0 && w.length > 0 && (w[0].originalIndex === 0 && S[0].originalIndex === 0 || (R = N - b, R !== 0 && (R += k))), [R, w, x, N];
58594
+ return C === x && S.length > 0 && w.length > 0 && (w[0].originalIndex === 0 && S[0].originalIndex === 0 || (R = N - b, R !== 0 && (R += M))), [R, w, x, N];
58595
58595
  },
58596
58596
  [0, [], 0, 0]
58597
58597
  ),
@@ -58632,12 +58632,12 @@ const Jve = R9(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.te
58632
58632
  return O(S);
58633
58633
  {
58634
58634
  let A = 0;
58635
- const k = Ep(w, 0);
58635
+ const M = Ep(w, 0);
58636
58636
  let N = 0, R = 0;
58637
58637
  for (; N < S; ) {
58638
- N++, A += k;
58638
+ N++, A += M;
58639
58639
  let L = b.length === R + 1 ? 1 / 0 : b[R + 1] - b[R] - 1;
58640
- N + L > S && (A -= k, L = S - N + 1), N += L, A += O(L), R++;
58640
+ N + L > S && (A -= M, L = S - N + 1), N += L, A += O(L), R++;
58641
58641
  }
58642
58642
  return A;
58643
58643
  }
@@ -58750,12 +58750,12 @@ const Jve = R9(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.te
58750
58750
  bt(e, o, t, i, s, a, r),
58751
58751
  bt(n),
58752
58752
  Fe(([[p, d, m, g, v, y, S, C], b]) => {
58753
- const { done: w, behavior: x, align: O, calculateViewLocation: A = eye, ...k } = p, N = b9(p, d, g - 1), R = xp(N, d.offsetTree, b) + v + y, L = R + Ai(d.sizeTree, N)[1], F = C + y, J = C + m - S, V = A({
58753
+ const { done: w, behavior: x, align: O, calculateViewLocation: A = eye, ...M } = p, N = b9(p, d, g - 1), R = xp(N, d.offsetTree, b) + v + y, L = R + Ai(d.sizeTree, N)[1], F = C + y, J = C + m - S, V = A({
58754
58754
  itemTop: R,
58755
58755
  itemBottom: L,
58756
58756
  viewportTop: F,
58757
58757
  viewportBottom: J,
58758
- locationParams: { behavior: x, align: O, ...k }
58758
+ locationParams: { behavior: x, align: O, ...M }
58759
58759
  });
58760
58760
  return V ? w && vs(
58761
58761
  Se(
@@ -58874,7 +58874,7 @@ const oye = en(
58874
58874
  { scrollToIndex: x },
58875
58875
  O,
58876
58876
  { topItemCount: A },
58877
- { groupCounts: k },
58877
+ { groupCounts: M },
58878
58878
  N
58879
58879
  ]) => (ze(w.rangeChanged, N.scrollSeekRangeChanged), ze(
58880
58880
  Se(
@@ -58893,7 +58893,7 @@ const oye = en(
58893
58893
  initialItemFinalLocationReached: g,
58894
58894
  topItemsIndexes: b,
58895
58895
  topItemCount: A,
58896
- groupCounts: k,
58896
+ groupCounts: M,
58897
58897
  fixedItemHeight: n,
58898
58898
  defaultItemHeight: r,
58899
58899
  gap: u,
@@ -59015,7 +59015,7 @@ const sye = /* @__PURE__ */ en(() => {
59015
59015
  a2("deviation", (B) => {
59016
59016
  C !== B && b(B);
59017
59017
  });
59018
- const w = ct("EmptyPlaceholder"), x = ct("ScrollSeekPlaceholder") || cye, O = ct("ListComponent"), A = ct("ItemComponent"), k = ct("GroupComponent"), N = ct("computeItemKey"), R = ct("isSeeking"), L = ct("groupIndices").length > 0, F = ct("alignToBottom"), J = ct("initialItemFinalLocationReached"), V = t ? {} : {
59018
+ const w = ct("EmptyPlaceholder"), x = ct("ScrollSeekPlaceholder") || cye, O = ct("ListComponent"), A = ct("ItemComponent"), M = ct("GroupComponent"), N = ct("computeItemKey"), R = ct("isSeeking"), L = ct("groupIndices").length > 0, F = ct("alignToBottom"), J = ct("initialItemFinalLocationReached"), V = t ? {} : {
59019
59019
  boxSizing: "border-box",
59020
59020
  ...y ? {
59021
59021
  whiteSpace: "nowrap",
@@ -59051,9 +59051,9 @@ const sye = /* @__PURE__ */ en(() => {
59051
59051
  ...B.type === "group" ? {} : { groupIndex: B.groupIndex }
59052
59052
  }
59053
59053
  ) : B.type === "group" ? /* @__PURE__ */ Ds(
59054
- k,
59054
+ M,
59055
59055
  {
59056
- ...Vr(k, u),
59056
+ ...Vr(M, u),
59057
59057
  key: te,
59058
59058
  "data-index": W,
59059
59059
  "data-known-size": B.size,
@@ -59310,7 +59310,7 @@ const Aye = /* @__PURE__ */ en(
59310
59310
  { windowViewportRect: y, useWindowScroll: S, customScrollParent: C, windowScrollContainerState: b, windowScrollTo: w },
59311
59311
  x
59312
59312
  ]) => {
59313
- const O = ke(0), A = ke(0), k = ke(II), N = ke({ height: 0, width: 0 }), R = ke({ height: 0, width: 0 }), L = At(), F = At(), J = ke(0), V = ke(null), B = ke({ row: 0, column: 0 }), W = At(), te = At(), ae = ke(!1), Q = ke(0), U = ke(!0), q = ke(!1), D = ke(!1);
59313
+ const O = ke(0), A = ke(0), M = ke(II), N = ke({ height: 0, width: 0 }), R = ke({ height: 0, width: 0 }), L = At(), F = At(), J = ke(0), V = ke(null), B = ke({ row: 0, column: 0 }), W = At(), te = At(), ae = ke(!1), Q = ke(0), U = ke(!0), q = ke(!1), D = ke(!1);
59314
59314
  Qt(
59315
59315
  Se(
59316
59316
  v,
@@ -59415,7 +59415,7 @@ const Aye = /* @__PURE__ */ en(
59415
59415
  }
59416
59416
  )
59417
59417
  ),
59418
- k
59418
+ M
59419
59419
  ), ze(
59420
59420
  Se(
59421
59421
  V,
@@ -59425,7 +59425,7 @@ const Aye = /* @__PURE__ */ en(
59425
59425
  O
59426
59426
  ), ze(
59427
59427
  Se(
59428
- nr(N, R, k, B),
59428
+ nr(N, R, M, B),
59429
59429
  tt(([z, ee, { items: oe }]) => oe.length > 0 && ee.height !== 0 && z.height !== 0),
59430
59430
  Fe(([z, ee, { items: oe }, se]) => {
59431
59431
  const { top: $, bottom: Te } = jI(z, se, ee, oe);
@@ -59446,7 +59446,7 @@ const Aye = /* @__PURE__ */ en(
59446
59446
  );
59447
59447
  const H = No(
59448
59448
  Se(
59449
- et(k),
59449
+ et(M),
59450
59450
  tt(({ items: z }) => z.length > 0),
59451
59451
  bt(O, G),
59452
59452
  tt(([{ items: z }, ee, oe]) => oe && z[z.length - 1].index === ee - 1),
@@ -59455,7 +59455,7 @@ const Aye = /* @__PURE__ */ en(
59455
59455
  )
59456
59456
  ), Y = No(
59457
59457
  Se(
59458
- et(k),
59458
+ et(M),
59459
59459
  tt(({ items: z }) => z.length > 0 && z[0].index === 0),
59460
59460
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
59461
59461
  Ji(0),
@@ -59463,7 +59463,7 @@ const Aye = /* @__PURE__ */ en(
59463
59463
  )
59464
59464
  ), K = No(
59465
59465
  Se(
59466
- et(k),
59466
+ et(M),
59467
59467
  bt(ae),
59468
59468
  tt(([{ items: z }, ee]) => z.length > 0 && !ee),
59469
59469
  Fe(([{ items: z }]) => ({
@@ -59490,7 +59490,7 @@ const Aye = /* @__PURE__ */ en(
59490
59490
  );
59491
59491
  const ne = Ur(
59492
59492
  Se(
59493
- k,
59493
+ M,
59494
59494
  Fe((z) => z.offsetBottom + z.bottom)
59495
59495
  ),
59496
59496
  0
@@ -59531,7 +59531,7 @@ const Aye = /* @__PURE__ */ en(
59531
59531
  initialTopMostItemIndex: Q,
59532
59532
  horizontalDirection: D,
59533
59533
  // output
59534
- gridState: k,
59534
+ gridState: M,
59535
59535
  totalListHeight: ne,
59536
59536
  ...d,
59537
59537
  startReached: Y,
@@ -60378,8 +60378,8 @@ function ibe(e) {
60378
60378
  vt(w, t.numeric, x);
60379
60379
  const O = Bo(Cm), A = Bo();
60380
60380
  vt(O, n, O), vt(O, r, A), vt(A, n, O), vt(A, r, A), Pe(b, Hi, O), Pe(x, Hi, O);
60381
- const k = Pe(c, pa), N = Pe(l, pa), R = Pe(N, Hi), L = Pe(R, Hi);
60382
- vt(c, t.domain, a), Pe(c, Vi, C), Pe(c, Ui, S), vt(l, t.domain, a), Pe(l, Vi, C), Pe(l, Ui, S), vt(k, t.domain, O), Pe(k, Hi, O), vt(L, t.domain, O), vt(L, n, O), Pe(L, Hi, O);
60381
+ const M = Pe(c, pa), N = Pe(l, pa), R = Pe(N, Hi), L = Pe(R, Hi);
60382
+ vt(c, t.domain, a), Pe(c, Vi, C), Pe(c, Ui, S), vt(l, t.domain, a), Pe(l, Vi, C), Pe(l, Ui, S), vt(M, t.domain, O), Pe(M, Hi, O), vt(L, t.domain, O), vt(L, n, O), Pe(L, Hi, O);
60383
60383
  const F = [
60384
60384
  [Wd, Gd],
60385
60385
  // {}
@@ -60555,33 +60555,33 @@ const ube = (e) => {
60555
60555
  const r = (n == null ? void 0 : n.getAvatarColor) || up.AVATAR2_RED;
60556
60556
  switch (!0) {
60557
60557
  case e:
60558
- return M.ACCENT_05;
60558
+ return k.ACCENT_05;
60559
60559
  case t:
60560
- return M.ERROR_BASE;
60560
+ return k.ERROR_BASE;
60561
60561
  default:
60562
- return M[r];
60562
+ return k[r];
60563
60563
  }
60564
60564
  }, eu = {
60565
60565
  message: {
60566
60566
  flexDirection: (e) => e != null && e.hasAttachment ? "column" : "row",
60567
60567
  minWidth: 0,
60568
- backgroundColor: M.SECONDARY_01,
60569
- color: M.PRIMARY,
60568
+ backgroundColor: k.SECONDARY_01,
60569
+ color: k.PRIMARY,
60570
60570
  padding: "6px 8px",
60571
60571
  margin: "0 0 0 64px",
60572
60572
  whiteSpace: "pre-wrap",
60573
60573
  wordWrap: "break-word",
60574
60574
  wordBreak: "break-word",
60575
60575
  borderRadius: (e) => e != null && e.short ? 15 : "0 15px 15px 15px",
60576
- outline: ({ selected: e }) => e ? `2px solid ${M.ACCENT_05}` : "none",
60576
+ outline: ({ selected: e }) => e ? `2px solid ${k.ACCENT_05}` : "none",
60577
60577
  outlineOffset: ({ selected: e }) => e ? "-2px" : 0
60578
60578
  },
60579
60579
  messageOwn: {
60580
60580
  backgroundColor: (e) => {
60581
60581
  var t;
60582
- return e.isError ? M.ERROR_02 : M[((t = e == null ? void 0 : e.user) == null ? void 0 : t.getAvatarColor) || "AVATAR2_RED"];
60582
+ return e.isError ? k.ERROR_02 : k[((t = e == null ? void 0 : e.user) == null ? void 0 : t.getAvatarColor) || "AVATAR2_RED"];
60583
60583
  },
60584
- color: M.CONTRAST,
60584
+ color: k.CONTRAST,
60585
60585
  margin: "0 64px 0 0",
60586
60586
  borderRadius: (e) => e != null && e.short ? 15 : "15px 0 15px 15px",
60587
60587
  outline: (e) => e.selected || e.isError ? `2px solid ${GI(e)}` : "none",
@@ -60596,11 +60596,11 @@ const ube = (e) => {
60596
60596
  "@media (hover: hover)": {
60597
60597
  "&:hover > #chat-message-block": {
60598
60598
  transition: "background-color 0.3s",
60599
- backgroundColor: M.SECONDARY_02
60599
+ backgroundColor: k.SECONDARY_02
60600
60600
  },
60601
60601
  "&:hover > #chat-message-block::before": {
60602
60602
  transition: "border-color 0.3s",
60603
- borderRightColor: M.SECONDARY_02
60603
+ borderRightColor: k.SECONDARY_02
60604
60604
  }
60605
60605
  },
60606
60606
  "& > #more-container": {
@@ -60615,10 +60615,10 @@ const ube = (e) => {
60615
60615
  padding: 0,
60616
60616
  width: "32px",
60617
60617
  height: "32px",
60618
- backgroundColor: (e) => e.selected ? M.ACCENT_05 : M.ACCENT_01,
60619
- outline: (e) => e.selected ? `2px solid ${M.BG}` : "none",
60618
+ backgroundColor: (e) => e.selected ? k.ACCENT_05 : k.ACCENT_01,
60619
+ outline: (e) => e.selected ? `2px solid ${k.BG}` : "none",
60620
60620
  outlineOffset: (e) => e.selected ? -2 : 0,
60621
- boxShadow: (e) => e.selected ? `0px 0px 0px 2px ${M.ACCENT_03}` : "none"
60621
+ boxShadow: (e) => e.selected ? `0px 0px 0px 2px ${k.ACCENT_03}` : "none"
60622
60622
  }
60623
60623
  },
60624
60624
  messageBlockOwn: {
@@ -60626,7 +60626,7 @@ const ube = (e) => {
60626
60626
  "&:hover > #chat-message-block": {
60627
60627
  backgroundColor: (e) => {
60628
60628
  var t;
60629
- return e.isError ? M.ERROR_02 : M[((t = e == null ? void 0 : e.user) == null ? void 0 : t.getAvatarColor) || "AVATAR2_RED"];
60629
+ return e.isError ? k.ERROR_02 : k[((t = e == null ? void 0 : e.user) == null ? void 0 : t.getAvatarColor) || "AVATAR2_RED"];
60630
60630
  }
60631
60631
  }
60632
60632
  }
@@ -60648,7 +60648,7 @@ const ube = (e) => {
60648
60648
  width: 0,
60649
60649
  height: 0,
60650
60650
  border: "10px solid transparent",
60651
- borderRightColor: ({ selected: e }) => e ? M.ACCENT_05 : M.SECONDARY_01,
60651
+ borderRightColor: ({ selected: e }) => e ? k.ACCENT_05 : k.SECONDARY_01,
60652
60652
  borderLeft: 0,
60653
60653
  borderTop: 0,
60654
60654
  marginTop: "-5px",
@@ -60672,7 +60672,7 @@ const ube = (e) => {
60672
60672
  }
60673
60673
  },
60674
60674
  removedLink: {
60675
- color: M.SECONDARY_02
60675
+ color: k.SECONDARY_02
60676
60676
  },
60677
60677
  buttons: {
60678
60678
  gap: 4,
@@ -60691,12 +60691,12 @@ const ube = (e) => {
60691
60691
  marginRight: 64,
60692
60692
  marginTop: 4,
60693
60693
  gap: 4,
60694
- color: M.ERROR_04,
60694
+ color: k.ERROR_04,
60695
60695
  justifyContent: "right",
60696
60696
  alignItems: "center",
60697
60697
  margin: "0 !important",
60698
60698
  "&:hover": {
60699
- backgroundColor: M.ERROR_02
60699
+ backgroundColor: k.ERROR_02
60700
60700
  }
60701
60701
  },
60702
60702
  retrySend: {
@@ -60708,12 +60708,12 @@ const ube = (e) => {
60708
60708
  marginRight: 64,
60709
60709
  marginTop: 4,
60710
60710
  gap: 4,
60711
- color: M.ACCENT_04,
60711
+ color: k.ACCENT_04,
60712
60712
  justifyContent: "right",
60713
60713
  alignItems: "center",
60714
60714
  margin: "0 !important",
60715
60715
  "&:hover": {
60716
- backgroundColor: M.ACCENT_02
60716
+ backgroundColor: k.ACCENT_02
60717
60717
  }
60718
60718
  }
60719
60719
  }, hbe = mt(eu, { name: "Message" }), mbe = mt({
@@ -60721,7 +60721,7 @@ const ube = (e) => {
60721
60721
  message: {
60722
60722
  ...eu.message,
60723
60723
  transition: "background-color 0.3s",
60724
- backgroundColor: (e) => e.open ? M.SECONDARY_01 : M.SECONDARY_02,
60724
+ backgroundColor: (e) => e.open ? k.SECONDARY_01 : k.SECONDARY_02,
60725
60725
  padding: "2px 8px"
60726
60726
  },
60727
60727
  messageTip: {
@@ -60729,7 +60729,7 @@ const ube = (e) => {
60729
60729
  "&::before": {
60730
60730
  ...eu.messageTip["&::before"],
60731
60731
  transition: "border-color 0.3s",
60732
- borderRightColor: (e) => e.open ? M.SECONDARY_01 : M.SECONDARY_02
60732
+ borderRightColor: (e) => e.open ? k.SECONDARY_01 : k.SECONDARY_02
60733
60733
  }
60734
60734
  },
60735
60735
  messageBlock: {
@@ -60745,7 +60745,7 @@ const ube = (e) => {
60745
60745
  }, Y9 = mt((e) => ({
60746
60746
  paper: {
60747
60747
  padding: 8,
60748
- border: `solid 2px ${M.SECONDARY_02}`,
60748
+ border: `solid 2px ${k.SECONDARY_02}`,
60749
60749
  overflow: "auto",
60750
60750
  boxShadow: "0px 4px 20px rgba(0, 0, 0, 0.07)",
60751
60751
  "& ul": {
@@ -60753,17 +60753,17 @@ const ube = (e) => {
60753
60753
  width: "fit-content!important",
60754
60754
  minWidth: vbe
60755
60755
  },
60756
- backgroundColor: M.BG
60756
+ backgroundColor: k.BG
60757
60757
  },
60758
60758
  menuItem: {
60759
60759
  padding: 6,
60760
60760
  minHeight: "initial",
60761
60761
  lineHeight: "24px",
60762
60762
  borderRadius: 5,
60763
- color: M.ACCENT_05,
60763
+ color: k.ACCENT_05,
60764
60764
  "&:hover": {
60765
- backgroundColor: M.ACCENT_05,
60766
- color: M.ACCENT_01
60765
+ backgroundColor: k.ACCENT_05,
60766
+ color: k.ACCENT_01
60767
60767
  }
60768
60768
  },
60769
60769
  icon: {
@@ -60939,7 +60939,7 @@ const wbe = (e) => {
60939
60939
  overflow: "hidden",
60940
60940
  textOverflow: "ellipsis",
60941
60941
  whiteSpace: "nowrap",
60942
- color: M.PRIMARY,
60942
+ color: k.PRIMARY,
60943
60943
  children: t.displayName
60944
60944
  }
60945
60945
  ),
@@ -60951,7 +60951,7 @@ const wbe = (e) => {
60951
60951
  alignItems: "center",
60952
60952
  marginLeft: n ? void 0 : "2px",
60953
60953
  marginRight: n ? "2px" : void 0,
60954
- children: /* @__PURE__ */ h.jsx(Dme, { style: { color: M.SECONDARY_03 } })
60954
+ children: /* @__PURE__ */ h.jsx(Dme, { style: { color: k.SECONDARY_03 } })
60955
60955
  }
60956
60956
  )
60957
60957
  ]
@@ -60963,7 +60963,7 @@ const wbe = (e) => {
60963
60963
  component: "div",
60964
60964
  variant: "body2",
60965
60965
  fontWeight: 500,
60966
- color: M.SECONDARY_03,
60966
+ color: k.SECONDARY_03,
60967
60967
  whiteSpace: "nowrap",
60968
60968
  children: /* @__PURE__ */ h.jsx(Ee, { id: "badge.role.admin" })
60969
60969
  }
@@ -60973,7 +60973,7 @@ const wbe = (e) => {
60973
60973
  );
60974
60974
  }, Rbe = ot(Obe), Abe = ot((e) => {
60975
60975
  var z;
60976
- const { message: t, short: n, showLineTime: r, user: o } = e, i = rt(), { auth: s, chat: a, ui: c, settings: l } = i, u = Yn(), [p, d] = Qe(!1), [m, g] = Qe(!1), [v, y] = Qe(), [S, C] = Qe(!1), b = On(null), w = On(null), { current: x } = w || {}, O = Ebe((z = x == null ? void 0 : x.parentElement) == null ? void 0 : z.clientWidth, x == null ? void 0 : x.offsetLeft), A = (o == null ? void 0 : o.id) === `${s.me.id}`, k = String(c.params.id), N = a.channels.get(k), R = s.isModerator, L = (ee) => {
60976
+ const { message: t, short: n, showLineTime: r, user: o } = e, i = rt(), { auth: s, chat: a, ui: c, settings: l } = i, u = Yn(), [p, d] = Qe(!1), [m, g] = Qe(!1), [v, y] = Qe(), [S, C] = Qe(!1), b = On(null), w = On(null), { current: x } = w || {}, O = Ebe((z = x == null ? void 0 : x.parentElement) == null ? void 0 : z.clientWidth, x == null ? void 0 : x.offsetLeft), A = (o == null ? void 0 : o.id) === `${s.me.id}`, M = String(c.params.id), N = a.channels.get(M), R = s.isModerator, L = (ee) => {
60977
60977
  const oe = ee.split("{{system.linkRemoved}}");
60978
60978
  return oe.length === 1 ? ee : oe.flatMap(
60979
60979
  ($, Te) => [$, /* @__PURE__ */ h.jsx("span", { className: q.removedLink, children: u.formatMessage({ id: "settings.linkRemoved" }) }, Te)]
@@ -61032,7 +61032,7 @@ const wbe = (e) => {
61032
61032
  }
61033
61033
  };
61034
61034
  return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
61035
- r && /* @__PURE__ */ h.jsx(Ie, { container: !0, height: "36px", paddingTop: "8px", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ h.jsx(ve, { color: M.SECONDARY_BASE, variant: "body2", textAlign: "center", children: pb({ date: t.createdAt, withToday: !0, lang: c.lang }) }) }),
61035
+ r && /* @__PURE__ */ h.jsx(Ie, { container: !0, height: "36px", paddingTop: "8px", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ h.jsx(ve, { color: k.SECONDARY_BASE, variant: "body2", textAlign: "center", children: pb({ date: t.createdAt, withToday: !0, lang: c.lang }) }) }),
61036
61036
  !n && /* @__PURE__ */ h.jsxs(
61037
61037
  Ie,
61038
61038
  {
@@ -61058,7 +61058,7 @@ const wbe = (e) => {
61058
61058
  }
61059
61059
  ),
61060
61060
  W && W.status === dr.Uploading && /* @__PURE__ */ h.jsx(ve, { textAlign: "right", paddingRight: 16, children: /* @__PURE__ */ h.jsx(Ee, { id: "sendingMessage" }) }),
61061
- W && W.status === dr.Error && /* @__PURE__ */ h.jsx(ve, { textAlign: "right", paddingRight: 16, color: M.ERROR_BASE, children: /* @__PURE__ */ h.jsx(Ee, { id: "sendingError" }) }),
61061
+ W && W.status === dr.Error && /* @__PURE__ */ h.jsx(ve, { textAlign: "right", paddingRight: 16, color: k.ERROR_BASE, children: /* @__PURE__ */ h.jsx(Ee, { id: "sendingError" }) }),
61062
61062
  /* @__PURE__ */ h.jsxs(
61063
61063
  Ie,
61064
61064
  {
@@ -61109,7 +61109,7 @@ const wbe = (e) => {
61109
61109
  lineHeight: "18px",
61110
61110
  pl: 0.5,
61111
61111
  component: "span",
61112
- sx: { color: A ? M.SECONDARY_02 : M.SECONDARY_03 },
61112
+ sx: { color: A ? k.SECONDARY_02 : k.SECONDARY_03 },
61113
61113
  children: ba({ date: t.createdAt, lang: c.lang })
61114
61114
  }
61115
61115
  )
@@ -61128,7 +61128,7 @@ const wbe = (e) => {
61128
61128
  {
61129
61129
  message: t,
61130
61130
  user: o,
61131
- icon: /* @__PURE__ */ h.jsx(H6, { fill: m ? M.BG : M.ACCENT_04 }),
61131
+ icon: /* @__PURE__ */ h.jsx(H6, { fill: m ? k.BG : k.ACCENT_04 }),
61132
61132
  onClose: () => {
61133
61133
  d(!1), g(!1);
61134
61134
  },
@@ -61145,7 +61145,7 @@ const wbe = (e) => {
61145
61145
  }
61146
61146
  ),
61147
61147
  W && W.status === dr.Uploading && /* @__PURE__ */ h.jsx("div", { className: q.buttons, children: /* @__PURE__ */ h.jsxs(Zn, { id: "cancel-draft", className: q.cancelSend, onClick: V, children: [
61148
- /* @__PURE__ */ h.jsx(VD, { fill: M.ERROR_BASE }),
61148
+ /* @__PURE__ */ h.jsx(VD, { fill: k.ERROR_BASE }),
61149
61149
  /* @__PURE__ */ h.jsx(ve, { children: /* @__PURE__ */ h.jsx(Ee, { id: "cancelSend" }) })
61150
61150
  ] }) }),
61151
61151
  W && W.status === dr.Error && /* @__PURE__ */ h.jsxs("div", { className: q.buttons, children: [
@@ -61156,7 +61156,7 @@ const wbe = (e) => {
61156
61156
  className: q.cancelSend,
61157
61157
  onClick: V,
61158
61158
  children: [
61159
- /* @__PURE__ */ h.jsx(W6, { fill: M.ERROR_BASE }),
61159
+ /* @__PURE__ */ h.jsx(W6, { fill: k.ERROR_BASE }),
61160
61160
  /* @__PURE__ */ h.jsx(ve, { children: /* @__PURE__ */ h.jsx(Ee, { id: "delete" }) })
61161
61161
  ]
61162
61162
  }
@@ -61168,7 +61168,7 @@ const wbe = (e) => {
61168
61168
  className: q.retrySend,
61169
61169
  onClick: G,
61170
61170
  children: [
61171
- /* @__PURE__ */ h.jsx(G6, { fill: M.ACCENT_04 }),
61171
+ /* @__PURE__ */ h.jsx(G6, { fill: k.ACCENT_04 }),
61172
61172
  /* @__PURE__ */ h.jsx(ve, { children: /* @__PURE__ */ h.jsx(Ee, { id: "retrySend" }) })
61173
61173
  ]
61174
61174
  }
@@ -61204,7 +61204,7 @@ const wbe = (e) => {
61204
61204
  "& > div[data-virtuoso-scroller]::-webkit-scrollbar": {
61205
61205
  display: "none"
61206
61206
  },
61207
- ...e && { backgroundColor: M.SECONDARY_01 }
61207
+ ...e && { backgroundColor: k.SECONDARY_01 }
61208
61208
  })), Nbe = ot((e) => {
61209
61209
  var S, C;
61210
61210
  const { channelId: t } = e, n = On(null), { ui: r, chat: o } = rt(), i = rt(), [s, a] = Qe(Fye), [c, l] = Qe(0), [u, p] = Qe(!1), d = On(null), m = uce(), g = o.channels.get(t);
@@ -61269,14 +61269,14 @@ const wbe = (e) => {
61269
61269
  const x = b - s;
61270
61270
  let O = !1, A = null;
61271
61271
  x > 0 && (A = v[x - 1], O = ((L = w == null ? void 0 : w.user) == null ? void 0 : L.current.id) === ((F = A == null ? void 0 : A.user) == null ? void 0 : F.current.id));
61272
- const k = x === v.length - 1, N = A && qD(w.createdAt, (A == null ? void 0 : A.createdAt) || "0") >= 1, R = x === 0 && !_d(w.createdAt, "today");
61272
+ const M = x === v.length - 1, N = A && qD(w.createdAt, (A == null ? void 0 : A.createdAt) || "0") >= 1, R = x === 0 && !_d(w.createdAt, "today");
61273
61273
  return /* @__PURE__ */ h.jsx(
61274
61274
  Pbe,
61275
61275
  {
61276
61276
  message: w,
61277
61277
  index: x,
61278
61278
  short: O,
61279
- last: k,
61279
+ last: M,
61280
61280
  showLineTime: N || R
61281
61281
  },
61282
61282
  w.id
@@ -61293,7 +61293,7 @@ const wbe = (e) => {
61293
61293
  root: {
61294
61294
  padding: "10px 16px",
61295
61295
  flexWrap: "nowrap",
61296
- background: M.ACCENT_01,
61296
+ background: k.ACCENT_01,
61297
61297
  alignItems: "center"
61298
61298
  },
61299
61299
  pinButton: {
@@ -61302,17 +61302,17 @@ const wbe = (e) => {
61302
61302
  marginLeft: "auto"
61303
61303
  },
61304
61304
  pinnedMessage: {
61305
- color: M.ACCENT_BASE,
61305
+ color: k.ACCENT_BASE,
61306
61306
  marginTop: 4,
61307
61307
  flexBasis: "100%"
61308
61308
  },
61309
61309
  pinDate: {
61310
61310
  fontFamily: "PTRootUIWebRegular",
61311
- color: M.SECONDARY_03,
61311
+ color: k.SECONDARY_03,
61312
61312
  lineHeight: "16px"
61313
61313
  },
61314
61314
  pinContainer: {
61315
- color: M.PRIMARY,
61315
+ color: k.PRIMARY,
61316
61316
  cursor: "pointer",
61317
61317
  marginRight: "8px",
61318
61318
  overflow: "hidden"
@@ -61455,7 +61455,7 @@ const wbe = (e) => {
61455
61455
  padding: "12px 16px",
61456
61456
  cursor: "pointer",
61457
61457
  "&:hover": {
61458
- backgroundColor: M.SECONDARY_02
61458
+ backgroundColor: k.SECONDARY_02
61459
61459
  }
61460
61460
  },
61461
61461
  badge: {
@@ -61525,7 +61525,7 @@ const wbe = (e) => {
61525
61525
  boxSizing: "border-box",
61526
61526
  animationDuration: ".2s",
61527
61527
  animationName: "slidein",
61528
- backgroundColor: M.BG,
61528
+ backgroundColor: k.BG,
61529
61529
  boxShadow: "var(--shadow-main-totop)"
61530
61530
  },
61531
61531
  closeButton: {
@@ -61586,13 +61586,13 @@ const wbe = (e) => {
61586
61586
  padding: "12px 16px",
61587
61587
  cursor: "pointer",
61588
61588
  "&:hover": {
61589
- backgroundColor: M.SECONDARY_02
61589
+ backgroundColor: k.SECONDARY_02
61590
61590
  }
61591
61591
  },
61592
61592
  badge: {
61593
61593
  marginRight: 10,
61594
61594
  "& > span": {
61595
- backgroundColor: M.ERROR_BASE
61595
+ backgroundColor: k.ERROR_BASE
61596
61596
  }
61597
61597
  }
61598
61598
  },
@@ -62143,7 +62143,7 @@ var T0e = function e(t, n, r, o, i) {
62143
62143
  function YI(e, t) {
62144
62144
  var n = e.errors, r = e.initialValues, o = e.lastSubmittedValues, i = e.submitErrors, s = e.submitFailed, a = e.submitSucceeded, c = e.submitting, l = e.values, u = t.active, p = t.blur, d = t.change, m = t.data, g = t.focus, v = t.modified, y = t.modifiedSinceLastSubmit, S = t.name, C = t.touched, b = t.validating, w = t.visited, x = yn(l, S), O = yn(n, S);
62145
62145
  O && O[xu] && (O = O[xu]);
62146
- var A = i && yn(i, S), k = r && yn(r, S), N = t.isEqual(k, x), R = !!(o && !t.isEqual(yn(o, S), x)), L = !O && !A;
62146
+ var A = i && yn(i, S), M = r && yn(r, S), N = t.isEqual(M, x), R = !!(o && !t.isEqual(yn(o, S), x)), L = !O && !A;
62147
62147
  return {
62148
62148
  active: u,
62149
62149
  blur: p,
@@ -62153,7 +62153,7 @@ function YI(e, t) {
62153
62153
  dirtySinceLastSubmit: R,
62154
62154
  error: O,
62155
62155
  focus: g,
62156
- initial: k,
62156
+ initial: M,
62157
62157
  invalid: !L,
62158
62158
  length: Array.isArray(x) ? x.length : void 0,
62159
62159
  modified: v,
@@ -62337,7 +62337,7 @@ function N0e(e) {
62337
62337
  setIn: Fo,
62338
62338
  shallowEqual: Wi
62339
62339
  });
62340
- return l.formState = G.formState, l.fields = G.fields, l.fieldSubscribers = G.fieldSubscribers, l.lastFormState = G.lastFormState, k(void 0, function() {
62340
+ return l.formState = G.formState, l.fields = G.fields, l.fieldSubscribers = G.fieldSubscribers, l.lastFormState = G.lastFormState, M(void 0, function() {
62341
62341
  N(), W();
62342
62342
  }), ne;
62343
62343
  }
@@ -62374,7 +62374,7 @@ function N0e(e) {
62374
62374
  }), G(K);
62375
62375
  }
62376
62376
  return H;
62377
- }, k = function(D, G) {
62377
+ }, M = function(D, G) {
62378
62378
  if (p) {
62379
62379
  d = !0, G();
62380
62380
  return;
@@ -62493,7 +62493,7 @@ function N0e(e) {
62493
62493
  return l.fields[D].modifiedSinceLastSubmit = !1;
62494
62494
  });
62495
62495
  };
62496
- k(void 0, function() {
62496
+ M(void 0, function() {
62497
62497
  W();
62498
62498
  });
62499
62499
  var U = {
@@ -62505,7 +62505,7 @@ function N0e(e) {
62505
62505
  Y && (delete H.active, G[D] = Hn({}, Y, {
62506
62506
  active: !1,
62507
62507
  touched: !0
62508
- }), c ? k(D, function() {
62508
+ }), c ? M(D, function() {
62509
62509
  N(), W();
62510
62510
  }) : (N(), W()));
62511
62511
  },
@@ -62519,7 +62519,7 @@ function N0e(e) {
62519
62519
  K && (H[D] = Hn({}, K, {
62520
62520
  modified: !0,
62521
62521
  modifiedSinceLastSubmit: !!Y.lastSubmittedValues
62522
- })), c ? (N(), W()) : k(D, function() {
62522
+ })), c ? (N(), W()) : M(D, function() {
62523
62523
  N(), W();
62524
62524
  });
62525
62525
  }
@@ -62554,7 +62554,7 @@ function N0e(e) {
62554
62554
  }, {}) : {};
62555
62555
  H.initialValues = K, H.values = K, Object.keys(ne).forEach(function(z) {
62556
62556
  H.values = Fo(H.values, z, ne[z]) || {};
62557
- }), k(void 0, function() {
62557
+ }), M(void 0, function() {
62558
62558
  N(), W();
62559
62559
  });
62560
62560
  },
@@ -62605,15 +62605,15 @@ function N0e(e) {
62605
62605
  if (Y) {
62606
62606
  z = !!(Y.getValidator && Y.getValidator()), Y.getValidator && (l.fields[D].validators[K] = Y.getValidator);
62607
62607
  var se = yn(l.formState.values, D) === void 0;
62608
- Y.initialValue !== void 0 && (se || yn(l.formState.values, D) === yn(l.formState.initialValues, D)) && (l.formState.initialValues = Fo(l.formState.initialValues || {}, D, Y.initialValue), l.formState.values = Fo(l.formState.values, D, Y.initialValue), k(void 0, oe)), Y.defaultValue !== void 0 && Y.initialValue === void 0 && yn(l.formState.initialValues, D) === void 0 && se && (l.formState.values = Fo(l.formState.values, D, Y.defaultValue));
62608
+ Y.initialValue !== void 0 && (se || yn(l.formState.values, D) === yn(l.formState.initialValues, D)) && (l.formState.initialValues = Fo(l.formState.initialValues || {}, D, Y.initialValue), l.formState.values = Fo(l.formState.values, D, Y.initialValue), M(void 0, oe)), Y.defaultValue !== void 0 && Y.initialValue === void 0 && yn(l.formState.initialValues, D) === void 0 && se && (l.formState.values = Fo(l.formState.values, D, Y.defaultValue));
62609
62609
  }
62610
- return z ? k(void 0, oe) : oe(), function() {
62610
+ return z ? M(void 0, oe) : oe(), function() {
62611
62611
  var $ = !1;
62612
62612
  l.fields[D] && ($ = !!(l.fields[D].validators[K] && l.fields[D].validators[K]()), delete l.fields[D].validators[K]);
62613
62613
  var Te = !!l.fieldSubscribers[D];
62614
62614
  Te && delete l.fieldSubscribers[D].entries[K];
62615
62615
  var re = Te && !Object.keys(l.fieldSubscribers[D].entries).length;
62616
- re && (delete l.fieldSubscribers[D], delete l.fields[D], $ && (l.formState.errors = Fo(l.formState.errors, D, void 0) || {}), n && (l.formState.values = Fo(l.formState.values, D, void 0, !0) || {})), ee || ($ ? k(void 0, function() {
62616
+ re && (delete l.fieldSubscribers[D], delete l.fields[D], $ && (l.formState.errors = Fo(l.formState.errors, D, void 0) || {}), n && (l.formState.values = Fo(l.formState.values, D, void 0, !0) || {})), ee || ($ ? M(void 0, function() {
62617
62617
  W(), N();
62618
62618
  }) : re && W());
62619
62619
  };
@@ -62633,7 +62633,7 @@ function N0e(e) {
62633
62633
  valid: !0,
62634
62634
  validating: !1,
62635
62635
  visited: !1
62636
- }), k(void 0, function() {
62636
+ }), M(void 0, function() {
62637
62637
  N(), W();
62638
62638
  });
62639
62639
  },
@@ -62659,7 +62659,7 @@ function N0e(e) {
62659
62659
  });
62660
62660
  },
62661
62661
  resumeValidation: function() {
62662
- p = !1, m = !1, d && k(void 0, function() {
62662
+ p = !1, m = !1, d && M(void 0, function() {
62663
62663
  N(), W();
62664
62664
  }), d = !1;
62665
62665
  },
@@ -62690,7 +62690,7 @@ function N0e(e) {
62690
62690
  s = G;
62691
62691
  break;
62692
62692
  case "validate":
62693
- a = G, k(void 0, function() {
62693
+ a = G, M(void 0, function() {
62694
62694
  N(), W();
62695
62695
  });
62696
62696
  break;
@@ -62842,17 +62842,17 @@ function V0e(e) {
62842
62842
  validate: m,
62843
62843
  validateOnBlur: g
62844
62844
  }, S = M0e(function() {
62845
- var k = i || N0e(y);
62846
- return k.pauseValidation(), k;
62845
+ var M = i || N0e(y);
62846
+ return M.pauseValidation(), M;
62847
62847
  }), C = _.useState(function() {
62848
- var k = {};
62848
+ var M = {};
62849
62849
  return S.subscribe(function(N) {
62850
- k = N;
62851
- }, d)(), k;
62850
+ M = N;
62851
+ }, d)(), M;
62852
62852
  }), b = C[0], w = C[1], x = i_(b);
62853
62853
  _.useEffect(function() {
62854
62854
  S.isValidationPaused() && S.resumeValidation();
62855
- var k = [S.subscribe(function(N) {
62855
+ var M = [S.subscribe(function(N) {
62856
62856
  E1(N, x.current) || w(N);
62857
62857
  }, d)].concat(r ? r.map(function(N) {
62858
62858
  return (
@@ -62862,7 +62862,7 @@ function V0e(e) {
62862
62862
  );
62863
62863
  }) : []);
62864
62864
  return function() {
62865
- S.pauseValidation(), k.reverse().forEach(function(N) {
62865
+ S.pauseValidation(), M.reverse().forEach(function(N) {
62866
62866
  return N();
62867
62867
  });
62868
62868
  };
@@ -62987,12 +62987,12 @@ function l_(e, t) {
62987
62987
  validateFields: C
62988
62988
  })
62989
62989
  );
62990
- }, A = _.useRef(!0), k = _.useState(function() {
62990
+ }, A = _.useRef(!0), M = _.useState(function() {
62991
62991
  var V = {}, B = w.destroyOnUnregister;
62992
62992
  return w.destroyOnUnregister = !1, O(function(W) {
62993
62993
  V = W;
62994
62994
  }, !0)(), w.destroyOnUnregister = B, V;
62995
- }), N = k[0], R = k[1];
62995
+ }), N = M[0], R = M[1];
62996
62996
  _.useEffect(
62997
62997
  function() {
62998
62998
  return O(function(V) {
@@ -63143,18 +63143,18 @@ var Q0e = ["length"], $0e = ["meta", "input"], e1e = v2.reduce(function(e, t) {
63143
63143
  var g = fo(function() {
63144
63144
  return (
63145
63145
  // curry the field name onto all mutator calls
63146
- Object.keys(d).reduce(function(k, N) {
63147
- return k[N] = function() {
63146
+ Object.keys(d).reduce(function(M, N) {
63147
+ return M[N] = function() {
63148
63148
  for (var R = arguments.length, L = new Array(R), F = 0; F < R; F++)
63149
63149
  L[F] = arguments[F];
63150
63150
  return d[N].apply(d, [t].concat(L));
63151
- }, k;
63151
+ }, M;
63152
63152
  }, {})
63153
63153
  );
63154
63154
  }, [t, d]), v = Z0e(function() {
63155
- return function(k, N, R) {
63155
+ return function(M, N, R) {
63156
63156
  if (u) {
63157
- var L = u(k, N, R);
63157
+ var L = u(M, N, R);
63158
63158
  if (!L || Array.isArray(L))
63159
63159
  return L;
63160
63160
  var F = [];
@@ -63238,7 +63238,7 @@ const T1 = (e) => {
63238
63238
  },
63239
63239
  children: [
63240
63240
  o,
63241
- /* @__PURE__ */ h.jsx(ve, { mb: 1, color: r ? M.PRIMARY : M.SECONDARY_03, children: /* @__PURE__ */ h.jsx(Ee, { id: t }) })
63241
+ /* @__PURE__ */ h.jsx(ve, { mb: 1, color: r ? k.PRIMARY : k.SECONDARY_03, children: /* @__PURE__ */ h.jsx(Ee, { id: t }) })
63242
63242
  ]
63243
63243
  }
63244
63244
  );
@@ -63257,7 +63257,7 @@ const T1 = (e) => {
63257
63257
  title: "poll",
63258
63258
  onClick: r("withAnswer", !1),
63259
63259
  active: n === ho.MultipleAnswer,
63260
- icon: /* @__PURE__ */ h.jsx(Lme, { fill: n === ho.MultipleAnswer ? M.ACCENT_BASE : "" })
63260
+ icon: /* @__PURE__ */ h.jsx(Lme, { fill: n === ho.MultipleAnswer ? k.ACCENT_BASE : "" })
63261
63261
  }
63262
63262
  ),
63263
63263
  /* @__PURE__ */ h.jsx(
@@ -63266,7 +63266,7 @@ const T1 = (e) => {
63266
63266
  title: "test",
63267
63267
  onClick: r("withAnswer", !0),
63268
63268
  active: n === ho.OneAnswer,
63269
- icon: /* @__PURE__ */ h.jsx(Bme, { fill: n === ho.OneAnswer ? M.ACCENT_BASE : "" })
63269
+ icon: /* @__PURE__ */ h.jsx(Bme, { fill: n === ho.OneAnswer ? k.ACCENT_BASE : "" })
63270
63270
  }
63271
63271
  ),
63272
63272
  /* @__PURE__ */ h.jsx(
@@ -63275,7 +63275,7 @@ const T1 = (e) => {
63275
63275
  title: "pollOpenEnded",
63276
63276
  onClick: r("isOpenEnded", !0),
63277
63277
  active: n === ho.OpenEndedAnswer,
63278
- icon: /* @__PURE__ */ h.jsx(Fme, { fill: n === ho.OpenEndedAnswer ? M.ACCENT_BASE : "" })
63278
+ icon: /* @__PURE__ */ h.jsx(Fme, { fill: n === ho.OpenEndedAnswer ? k.ACCENT_BASE : "" })
63279
63279
  }
63280
63280
  )
63281
63281
  ] })
@@ -63320,92 +63320,92 @@ const u1e = (e) => {
63320
63320
  }), u_ = ({}, e, t, n) => {
63321
63321
  const r = {
63322
63322
  primary: {
63323
- iconColor: M.CONTRAST,
63324
- textColor: M.CONTRAST,
63325
- buttonColor: M.ACCENT_BASE,
63326
- hoverColor: M.ACCENT_05,
63327
- hoverTextColor: M.ACCENT_01,
63328
- hoverIconColor: M.ACCENT_01,
63329
- pressedColor: M.ACCENT_BASE,
63330
- pressedTextColor: M.CONTRAST,
63331
- pressedIconColor: M.CONTRAST
63323
+ iconColor: k.CONTRAST,
63324
+ textColor: k.CONTRAST,
63325
+ buttonColor: k.ACCENT_BASE,
63326
+ hoverColor: k.ACCENT_05,
63327
+ hoverTextColor: k.ACCENT_01,
63328
+ hoverIconColor: k.ACCENT_01,
63329
+ pressedColor: k.ACCENT_BASE,
63330
+ pressedTextColor: k.CONTRAST,
63331
+ pressedIconColor: k.CONTRAST
63332
63332
  },
63333
63333
  red: {
63334
- iconColor: M.ERROR_BASE,
63335
- textColor: M.ERROR_04,
63336
- buttonColor: M.ERROR_01,
63337
- hoverColor: M.ERROR_02,
63338
- hoverTextColor: M.ERROR_03,
63339
- hoverIconColor: M.ERROR_03,
63340
- pressedColor: M.ERROR_BASE,
63341
- pressedTextColor: M.CONTRAST,
63342
- pressedIconColor: M.CONTRAST
63334
+ iconColor: k.ERROR_BASE,
63335
+ textColor: k.ERROR_04,
63336
+ buttonColor: k.ERROR_01,
63337
+ hoverColor: k.ERROR_02,
63338
+ hoverTextColor: k.ERROR_03,
63339
+ hoverIconColor: k.ERROR_03,
63340
+ pressedColor: k.ERROR_BASE,
63341
+ pressedTextColor: k.CONTRAST,
63342
+ pressedIconColor: k.CONTRAST
63343
63343
  },
63344
63344
  secondary: {
63345
- iconColor: M.ACCENT_04,
63346
- textColor: M.ACCENT_05,
63347
- buttonColor: M.ACCENT_01,
63348
- hoverColor: M.ACCENT_02,
63349
- hoverTextColor: M.ACCENT_05,
63350
- hoverIconColor: M.ACCENT_04,
63351
- pressedColor: M.ACCENT_BASE,
63352
- pressedTextColor: M.CONTRAST,
63353
- pressedIconColor: M.CONTRAST
63345
+ iconColor: k.ACCENT_04,
63346
+ textColor: k.ACCENT_05,
63347
+ buttonColor: k.ACCENT_01,
63348
+ hoverColor: k.ACCENT_02,
63349
+ hoverTextColor: k.ACCENT_05,
63350
+ hoverIconColor: k.ACCENT_04,
63351
+ pressedColor: k.ACCENT_BASE,
63352
+ pressedTextColor: k.CONTRAST,
63353
+ pressedIconColor: k.CONTRAST
63354
63354
  },
63355
63355
  "primary-red": {
63356
- iconColor: M.CONTRAST,
63357
- textColor: M.CONTRAST,
63358
- buttonColor: M.ERROR_BASE,
63359
- hoverColor: M.ERROR_04,
63360
- hoverTextColor: M.ERROR_01,
63361
- hoverIconColor: M.ERROR_01,
63362
- pressedColor: M.ERROR_BASE,
63363
- pressedTextColor: M.CONTRAST,
63364
- pressedIconColor: M.CONTRAST
63356
+ iconColor: k.CONTRAST,
63357
+ textColor: k.CONTRAST,
63358
+ buttonColor: k.ERROR_BASE,
63359
+ hoverColor: k.ERROR_04,
63360
+ hoverTextColor: k.ERROR_01,
63361
+ hoverIconColor: k.ERROR_01,
63362
+ pressedColor: k.ERROR_BASE,
63363
+ pressedTextColor: k.CONTRAST,
63364
+ pressedIconColor: k.CONTRAST
63365
63365
  },
63366
63366
  "primary-red-selected": {
63367
- iconColor: M.ERROR_01,
63368
- textColor: M.ERROR_01,
63369
- buttonColor: M.ERROR_04,
63370
- hoverColor: M.ERROR_BASE,
63371
- hoverTextColor: M.CONTRAST,
63372
- hoverIconColor: M.CONTRAST,
63373
- pressedColor: M.ERROR_BASE,
63374
- pressedTextColor: M.CONTRAST,
63375
- pressedIconColor: M.CONTRAST
63367
+ iconColor: k.ERROR_01,
63368
+ textColor: k.ERROR_01,
63369
+ buttonColor: k.ERROR_04,
63370
+ hoverColor: k.ERROR_BASE,
63371
+ hoverTextColor: k.CONTRAST,
63372
+ hoverIconColor: k.CONTRAST,
63373
+ pressedColor: k.ERROR_BASE,
63374
+ pressedTextColor: k.CONTRAST,
63375
+ pressedIconColor: k.CONTRAST
63376
63376
  },
63377
63377
  "secondary-selected": {
63378
- iconColor: M.ACCENT_01,
63379
- textColor: M.ACCENT_01,
63380
- buttonColor: M.ACCENT_05,
63381
- hoverColor: M.ACCENT_04,
63382
- hoverTextColor: M.ACCENT_01,
63383
- hoverIconColor: M.ACCENT_01,
63384
- pressedColor: M.ACCENT_BASE,
63385
- pressedTextColor: M.CONTRAST,
63386
- pressedIconColor: M.CONTRAST
63378
+ iconColor: k.ACCENT_01,
63379
+ textColor: k.ACCENT_01,
63380
+ buttonColor: k.ACCENT_05,
63381
+ hoverColor: k.ACCENT_04,
63382
+ hoverTextColor: k.ACCENT_01,
63383
+ hoverIconColor: k.ACCENT_01,
63384
+ pressedColor: k.ACCENT_BASE,
63385
+ pressedTextColor: k.CONTRAST,
63386
+ pressedIconColor: k.CONTRAST
63387
63387
  },
63388
63388
  "primary-selected": {
63389
- iconColor: M.ACCENT_01,
63390
- textColor: M.ACCENT_01,
63391
- buttonColor: M.ACCENT_05,
63392
- hoverColor: M.ACCENT_BASE,
63393
- hoverTextColor: M.CONTRAST,
63394
- hoverIconColor: M.CONTRAST,
63395
- pressedColor: M.ACCENT_BASE,
63396
- pressedTextColor: M.CONTRAST,
63397
- pressedIconColor: M.CONTRAST
63389
+ iconColor: k.ACCENT_01,
63390
+ textColor: k.ACCENT_01,
63391
+ buttonColor: k.ACCENT_05,
63392
+ hoverColor: k.ACCENT_BASE,
63393
+ hoverTextColor: k.CONTRAST,
63394
+ hoverIconColor: k.CONTRAST,
63395
+ pressedColor: k.ACCENT_BASE,
63396
+ pressedTextColor: k.CONTRAST,
63397
+ pressedIconColor: k.CONTRAST
63398
63398
  },
63399
63399
  "red-selected": {
63400
- iconColor: M.ERROR_01,
63401
- textColor: M.ERROR_01,
63402
- buttonColor: M.ERROR_04,
63403
- hoverColor: M.ERROR_02,
63404
- hoverTextColor: M.ERROR_03,
63405
- hoverIconColor: M.ERROR_03,
63406
- pressedColor: M.ERROR_BASE,
63407
- pressedTextColor: M.CONTRAST,
63408
- pressedIconColor: M.CONTRAST
63400
+ iconColor: k.ERROR_01,
63401
+ textColor: k.ERROR_01,
63402
+ buttonColor: k.ERROR_04,
63403
+ hoverColor: k.ERROR_02,
63404
+ hoverTextColor: k.ERROR_03,
63405
+ hoverIconColor: k.ERROR_03,
63406
+ pressedColor: k.ERROR_BASE,
63407
+ pressedTextColor: k.CONTRAST,
63408
+ pressedIconColor: k.CONTRAST
63409
63409
  }
63410
63410
  };
63411
63411
  return {
@@ -63415,30 +63415,30 @@ const u1e = (e) => {
63415
63415
  hoverIconColor: t,
63416
63416
  pressedIconColor: t
63417
63417
  },
63418
- iconColorDisabled: n || M.SECONDARY_03
63418
+ iconColorDisabled: n || k.SECONDARY_03
63419
63419
  };
63420
63420
  }, f1e = (e, t) => {
63421
63421
  switch (t) {
63422
63422
  case "primary-selected":
63423
63423
  return {
63424
- outlineColor: M.ACCENT_03,
63425
- hoverInsetColor: M.ACCENT_BASE
63424
+ outlineColor: k.ACCENT_03,
63425
+ hoverInsetColor: k.ACCENT_BASE
63426
63426
  };
63427
63427
  case "red-selected":
63428
63428
  return {
63429
- outlineColor: M.ERROR_02,
63430
- hoverInsetColor: M.BG
63429
+ outlineColor: k.ERROR_02,
63430
+ hoverInsetColor: k.BG
63431
63431
  };
63432
63432
  case "primary-red-selected":
63433
63433
  return {
63434
- outlineColor: M.ERROR_03,
63435
- hoverInsetColor: M.BG
63434
+ outlineColor: k.ERROR_03,
63435
+ hoverInsetColor: k.BG
63436
63436
  };
63437
63437
  case "secondary-selected":
63438
63438
  default:
63439
63439
  return {
63440
- outlineColor: M.ACCENT_03,
63441
- hoverInsetColor: M.BG
63440
+ outlineColor: k.ACCENT_03,
63441
+ hoverInsetColor: k.BG
63442
63442
  };
63443
63443
  }
63444
63444
  }, f_ = (e, {
@@ -63480,7 +63480,7 @@ const u1e = (e) => {
63480
63480
  transitionProperty: "color"
63481
63481
  },
63482
63482
  "&[disabled] svg": {
63483
- color: u || M.SECONDARY_03
63483
+ color: u || k.SECONDARY_03
63484
63484
  }
63485
63485
  }), d1e = (e, t, n, r) => ({
63486
63486
  position: "relative",
@@ -63503,8 +63503,8 @@ const u1e = (e) => {
63503
63503
  textDecoration: "none",
63504
63504
  "&[disabled]": {
63505
63505
  cursor: "default",
63506
- color: r || M.SECONDARY_03,
63507
- background: M.SECONDARY_01,
63506
+ color: r || k.SECONDARY_03,
63507
+ background: k.SECONDARY_01,
63508
63508
  boxShadow: "none"
63509
63509
  },
63510
63510
  ...f_(e, u_(e, t, n, r))
@@ -63526,13 +63526,13 @@ const u1e = (e) => {
63526
63526
  height: "100%",
63527
63527
  borderRadius: 10,
63528
63528
  boxShadow: `0px 0px 0px 2px ${o.outlineColor}`,
63529
- outline: `solid ${M.BG} 2px !important`,
63529
+ outline: `solid ${k.BG} 2px !important`,
63530
63530
  transitionDuration: "0.3s",
63531
63531
  transitionProperty: "outline",
63532
63532
  ...n === "indicator" && {
63533
63533
  borderRadius: 6,
63534
63534
  outline: "none",
63535
- boxShadow: `0px 0px 0px 2px ${M.BG}`
63535
+ boxShadow: `0px 0px 0px 2px ${k.BG}`
63536
63536
  },
63537
63537
  outlineOffset: -2
63538
63538
  },
@@ -63599,7 +63599,7 @@ const u1e = (e) => {
63599
63599
  ...n === "link" && {
63600
63600
  "&&:hover:not([disabled])": {
63601
63601
  background: "none",
63602
- color: r || M.ACCENT_04
63602
+ color: r || k.ACCENT_04
63603
63603
  },
63604
63604
  display: "inline-flex",
63605
63605
  fontFamily: "PT Root UI Bold",
@@ -63608,26 +63608,26 @@ const u1e = (e) => {
63608
63608
  padding: 0,
63609
63609
  minWidth: "initial",
63610
63610
  height: "initial",
63611
- color: r || M.ACCENT_04
63611
+ color: r || k.ACCENT_04
63612
63612
  },
63613
63613
  ...n === "indicator" && {
63614
63614
  padding: 0,
63615
63615
  borderRadius: 7,
63616
63616
  outlineWidth: 7,
63617
- ...!t && { background: M.BG },
63617
+ ...!t && { background: k.BG },
63618
63618
  "&&&&:not([disabled])": {
63619
- ...!t && { boxShadow: `0 0 1px 2px ${M.ACCENT_03}` },
63619
+ ...!t && { boxShadow: `0 0 1px 2px ${k.ACCENT_03}` },
63620
63620
  svg: {
63621
- color: t ? M.BG : M.ACCENT_04
63621
+ color: t ? k.BG : k.ACCENT_04
63622
63622
  }
63623
63623
  },
63624
63624
  "@media (hover: hover)": {
63625
63625
  "&&&:hover:not([disabled])": {
63626
- background: M.ACCENT_03
63626
+ background: k.ACCENT_03
63627
63627
  },
63628
63628
  "&&&:hover:not([disabled]):not(:active)": {
63629
63629
  svg: {
63630
- color: M.CONTRAST
63630
+ color: k.CONTRAST
63631
63631
  }
63632
63632
  }
63633
63633
  },
@@ -63751,31 +63751,23 @@ const u1e = (e) => {
63751
63751
  }), b1e = Pi.textarea(({ clearable: e, maxLength: t }) => ({
63752
63752
  display: "block",
63753
63753
  resize: "none",
63754
- width: "100%",
63754
+ width: "calc(100% - 8px)",
63755
63755
  padding: "8px",
63756
63756
  paddingRight: e || t ? "48px" : "8px",
63757
63757
  fontFamily: "PTRootUIWebRegular",
63758
63758
  fontSize: "16px",
63759
63759
  lineHeight: "20px",
63760
63760
  fontWeight: 500,
63761
- color: M.PRIMARY,
63761
+ color: k.PRIMARY,
63762
63762
  background: "none",
63763
- borderRadius: 10,
63764
63763
  scrollPadding: "20px",
63765
- outline: `1px solid ${M.SECONDARY_03}`,
63766
- transition: "border .4s ease-in",
63764
+ border: "none",
63767
63765
  ":hover": {
63768
63766
  outlineWidth: "2px"
63769
63767
  },
63770
- "&:focus": {
63771
- outline: `2px solid ${M.ACCENT_04}`,
63772
- outlineWidth: "2px",
63773
- outlineStyle: "solid",
63774
- outlineColor: M.ACCENT_04
63775
- },
63776
63768
  "&:disabled": {
63777
- color: M.PRIMARY,
63778
- backgroundColor: M.SECONDARY_01
63769
+ color: k.PRIMARY,
63770
+ backgroundColor: k.SECONDARY_01
63779
63771
  },
63780
63772
  "&::-webkit-scrollbar": {
63781
63773
  width: "7px",
@@ -63784,50 +63776,66 @@ const u1e = (e) => {
63784
63776
  "&::-webkit-scrollbar-track": {
63785
63777
  shadow: "inset 0 0 6px rgba(0,0,0,0.3)",
63786
63778
  borderRadius: "10px",
63787
- backgroundColor: M.ACCENT_01,
63779
+ backgroundColor: k.ACCENT_01,
63788
63780
  marginTop: e ? "36px" : "4px",
63789
63781
  marginBottom: t ? "32px" : "4px",
63790
63782
  backgroundImage: "none"
63783
+ // paddingRight: '5px',
63791
63784
  },
63792
63785
  "&::-webkit-scrollbar-thumb": {
63793
63786
  borderRadius: "10px",
63794
- backgroundColor: M.ACCENT_04,
63787
+ backgroundColor: k.ACCENT_04,
63795
63788
  cursor: "default",
63796
63789
  backgroundImage: "none"
63797
63790
  }
63798
63791
  })), w1e = Pi.label(({}) => ({
63799
- color: M.SECONDARY_BASE,
63792
+ color: k.SECONDARY_BASE,
63800
63793
  fontFamily: "PTRootUIWebBold",
63801
63794
  fontWeight: 700,
63802
63795
  display: "block",
63803
63796
  marginBottom: "4px"
63804
63797
  })), S1e = Pi.span({
63805
- color: M.ERROR_BASE
63798
+ color: k.ERROR_BASE
63806
63799
  }), E1e = Pi.span(({ isOverflow: e }) => ({
63807
63800
  position: "absolute",
63808
63801
  display: "flex",
63809
63802
  bottom: "10px",
63810
- right: "4px",
63811
- color: e ? M.ERROR_03 : M.SECONDARY_BASE,
63803
+ right: "8px",
63804
+ color: e ? k.ERROR_03 : k.SECONDARY_BASE,
63812
63805
  fontSize: "14px",
63813
63806
  lineHeight: "16px",
63814
63807
  fontWeight: 500
63815
63808
  })), x1e = Pi.div(() => ({
63816
63809
  marginTop: "4px",
63817
- color: M.SECONDARY_BASE,
63810
+ color: k.SECONDARY_BASE,
63818
63811
  fontFamily: "PTRootUIWebMedium",
63819
63812
  fontSize: "14px",
63820
63813
  lineHeight: "16px"
63821
63814
  })), C1e = Pi.div(({}) => ({
63822
- position: "relative"
63815
+ position: "relative",
63816
+ borderRadius: 10,
63817
+ outline: `1px solid ${k.SECONDARY_03}`,
63818
+ transition: "border .4s ease-in",
63819
+ "&:hover": {
63820
+ outlineWidth: "2px"
63821
+ },
63822
+ "&:focus-within": {
63823
+ outline: `2px solid ${k.ACCENT_04}`,
63824
+ outlineWidth: "2px",
63825
+ outlineStyle: "solid",
63826
+ outlineColor: k.ACCENT_04
63827
+ }
63823
63828
  })), T1e = Pi(y1e)({
63824
63829
  position: "absolute",
63825
- top: 4,
63826
- right: "4px"
63830
+ top: 8,
63831
+ right: "8px"
63827
63832
  }), O1e = Pi.div(({ fullHeight: e }) => ({
63828
63833
  position: "relative",
63829
63834
  width: "100%",
63830
63835
  fontSize: 14,
63836
+ "&:has(textarea:focus) label": {
63837
+ color: k.SECONDARY_03
63838
+ },
63831
63839
  ...e && {
63832
63840
  display: "flex",
63833
63841
  flexGrow: 1,
@@ -64063,7 +64071,10 @@ const u1e = (e) => {
64063
64071
  overflow: "auto",
64064
64072
  direction: "column",
64065
64073
  wrap: "nowrap",
64066
- color: M.PRIMARY,
64074
+ color: k.PRIMARY,
64075
+ sx: {
64076
+ scrollbarGutter: "stable both-edges"
64077
+ },
64067
64078
  children: [
64068
64079
  /* @__PURE__ */ h.jsx(ve, { variant: "h2", alignSelf: "center", children: /* @__PURE__ */ h.jsx(Ee, { id: "createPoll" }) }),
64069
64080
  /* @__PURE__ */ h.jsx(P1e, { channel: n })
@@ -64130,11 +64141,11 @@ const u1e = (e) => {
64130
64141
  }
64131
64142
  }, M1e = ot(k1e), j1e = mt({
64132
64143
  root: {
64133
- color: M.PRIMARY,
64134
- background: M.BG,
64144
+ color: k.PRIMARY,
64145
+ background: k.BG,
64135
64146
  borderRadius: "10px",
64136
64147
  border: "solid 1px",
64137
- borderColor: M.SECONDARY_01,
64148
+ borderColor: k.SECONDARY_01,
64138
64149
  boxShadow: "none"
64139
64150
  }
64140
64151
  }), D1e = (e) => {
@@ -64177,14 +64188,14 @@ const u1e = (e) => {
64177
64188
  {
64178
64189
  action: c,
64179
64190
  disabled: (p == null ? void 0 : p.status) === Wr.InProgress,
64180
- children: /* @__PURE__ */ h.jsx(ve, { color: M.ERROR_BASE, children: /* @__PURE__ */ h.jsx(Ee, { id: "delete" }) })
64191
+ children: /* @__PURE__ */ h.jsx(ve, { color: k.ERROR_BASE, children: /* @__PURE__ */ h.jsx(Ee, { id: "delete" }) })
64181
64192
  }
64182
64193
  )
64183
64194
  }
64184
64195
  ),
64185
64196
  /* @__PURE__ */ h.jsxs(A6, { children: [
64186
64197
  /* @__PURE__ */ h.jsx(ve, { variant: "h4", sx: { wordBreak: "break-word" }, children: t.question }),
64187
- /* @__PURE__ */ h.jsx(ve, { variant: "body2", color: M.SECONDARY_BASE, marginTop: "9px", marginBottom: "23px", children: /* @__PURE__ */ h.jsx(Ee, { id: ab(t) }) })
64198
+ /* @__PURE__ */ h.jsx(ve, { variant: "body2", color: k.SECONDARY_BASE, marginTop: "9px", marginBottom: "23px", children: /* @__PURE__ */ h.jsx(Ee, { id: ab(t) }) })
64188
64199
  ] })
64189
64200
  ] }),
64190
64201
  /* @__PURE__ */ h.jsx(M1e, { templatePoll: t, lastActivePoll: p })
@@ -64342,7 +64353,7 @@ const u1e = (e) => {
64342
64353
  userRow: {
64343
64354
  padding: "12px 16px",
64344
64355
  "&:hover": {
64345
- backgroundColor: M.SECONDARY_02
64356
+ backgroundColor: k.SECONDARY_02
64346
64357
  },
64347
64358
  "&:hover > #sendMessageBtn": {
64348
64359
  display: "block"
@@ -64398,11 +64409,11 @@ const u1e = (e) => {
64398
64409
  placeholder: t.formatMessage({ id: "search" }),
64399
64410
  onChange: i,
64400
64411
  value: o,
64401
- rightIcon: /* @__PURE__ */ h.jsx(Vme, { fill: M.PRIMARY })
64412
+ rightIcon: /* @__PURE__ */ h.jsx(Vme, { fill: k.PRIMARY })
64402
64413
  }
64403
64414
  ) }),
64404
64415
  /* @__PURE__ */ h.jsxs(Ie, { item: !0, container: !0, marginTop: "20px", marginBottom: "20px", padding: "0 12px", children: [
64405
- /* @__PURE__ */ h.jsx(X9, { fill: M.PRIMARY }),
64416
+ /* @__PURE__ */ h.jsx(X9, { fill: k.PRIMARY }),
64406
64417
  /* @__PURE__ */ h.jsx(ve, { style: { marginLeft: 8 }, children: a.length })
64407
64418
  ] }),
64408
64419
  /* @__PURE__ */ h.jsx(Ie, { item: !0, container: !0, wrap: "nowrap", direction: "column", overflow: "auto", children: a.map((u) => /* @__PURE__ */ h.jsx(Y1e, { user: u, displayDirect: r.displayDirect, openNewChat: l }, u.id)) })
@@ -64437,11 +64448,11 @@ const u1e = (e) => {
64437
64448
  "data-qa": o,
64438
64449
  padding: "8px 12px",
64439
64450
  borderRadius: "10px",
64440
- border: `1px solid ${M.SECONDARY_03}`,
64441
- color: M.ACCENT_05,
64451
+ border: `1px solid ${k.SECONDARY_03}`,
64452
+ color: k.ACCENT_05,
64442
64453
  sx: {
64443
- "&:hover": { backgroundColor: M.ACCENT_01 },
64444
- backgroundColor: r ? M.ACCENT_02 : "",
64454
+ "&:hover": { backgroundColor: k.ACCENT_01 },
64455
+ backgroundColor: r ? k.ACCENT_02 : "",
64445
64456
  wordBreak: "break-word"
64446
64457
  },
64447
64458
  onClick: t,
@@ -64499,10 +64510,6 @@ const u1e = (e) => {
64499
64510
  }, ewe = mt(
64500
64511
  {
64501
64512
  input: {
64502
- border: "1px solid #B8B6C2",
64503
- borderRadius: 10,
64504
- marginTop: 10,
64505
- padding: 10,
64506
64513
  width: "100%"
64507
64514
  }
64508
64515
  },
@@ -64511,9 +64518,15 @@ const u1e = (e) => {
64511
64518
  const { voteHandler: t } = e, n = ewe(), r = Yn(), [o, i] = Qe(""), [s, a] = Qe(!1), [c, l] = Qe(""), u = (d) => {
64512
64519
  const m = d.target.value;
64513
64520
  m.trim().length < R1 ? (l(
64514
- r.formatMessage({ id: "pollValidateAnswerLongerLetters" }, { length: R1 })
64521
+ r.formatMessage(
64522
+ { id: "pollValidateAnswerLongerLetters" },
64523
+ { length: R1 }
64524
+ )
64515
64525
  ), a(!1)) : m.trim().length > i3 ? (l(
64516
- r.formatMessage({ id: "pollValidateAnswerNotLongerLetters" }, { length: i3 })
64526
+ r.formatMessage(
64527
+ { id: "pollValidateAnswerNotLongerLetters" },
64528
+ { length: i3 }
64529
+ )
64517
64530
  ), a(!1)) : (l(""), a(!0)), i(m);
64518
64531
  }, p = () => {
64519
64532
  i(""), l(
@@ -64532,7 +64545,7 @@ const u1e = (e) => {
64532
64545
  onChange: u,
64533
64546
  "data-qa": "poll-pick-textarea",
64534
64547
  style: {
64535
- paddingRight: "50px"
64548
+ paddingRight: "60px"
64536
64549
  },
64537
64550
  maxLength: 200,
64538
64551
  clearable: !0,
@@ -64595,12 +64608,12 @@ const u1e = (e) => {
64595
64608
  ] }) : /* @__PURE__ */ h.jsx(h.Fragment, { children: /* @__PURE__ */ h.jsx(Ie, { container: !0, direction: "column", rowGap: 2, children: r.options.map((s) => {
64596
64609
  const a = () => {
64597
64610
  if (s.valid)
64598
- return M.SUCCESS_BASE;
64611
+ return k.SUCCESS_BASE;
64599
64612
  if (s.isVoted) {
64600
- const l = M[t.me.getAvatarColor];
64613
+ const l = k[t.me.getAvatarColor];
64601
64614
  return iwe(l);
64602
- } else return s.votesCount > 0 ? M.SECONDARY_01 : M.BG;
64603
- }, c = (l) => l === M.SECONDARY_01 ? M.BG : `color-mix(in srgb,${l}, #fff 50%)`;
64615
+ } else return s.votesCount > 0 ? k.SECONDARY_01 : k.BG;
64616
+ }, c = (l) => l === k.SECONDARY_01 ? k.BG : `color-mix(in srgb,${l}, #fff 50%)`;
64604
64617
  return /* @__PURE__ */ h.jsxs(
64605
64618
  Ie,
64606
64619
  {
@@ -64615,7 +64628,7 @@ const u1e = (e) => {
64615
64628
  ve,
64616
64629
  {
64617
64630
  component: "span",
64618
- color: s.isVoted || s.valid ? M.BG : M.PRIMARY,
64631
+ color: s.isVoted || s.valid ? k.BG : k.PRIMARY,
64619
64632
  fontWeight: 500,
64620
64633
  padding: "8px 25px 8px 12px",
64621
64634
  zIndex: "10",
@@ -64639,7 +64652,7 @@ const u1e = (e) => {
64639
64652
  variant: "body2",
64640
64653
  position: "absolute",
64641
64654
  right: "10px",
64642
- color: s.isVoted || s.valid ? `color-mix(in srgb,${M.BG}, #fff 50%)` : M.PRIMARY,
64655
+ color: s.isVoted || s.valid ? `color-mix(in srgb,${k.BG}, #fff 50%)` : k.PRIMARY,
64643
64656
  children: s.votesCount
64644
64657
  }
64645
64658
  )
@@ -64658,8 +64671,8 @@ const u1e = (e) => {
64658
64671
  position: "absolute",
64659
64672
  left: 0,
64660
64673
  bottom: 0,
64661
- backgroundColor: M.BG,
64662
- color: M.PRIMARY,
64674
+ backgroundColor: k.BG,
64675
+ color: k.PRIMARY,
64663
64676
  boxShadow: "0px 0px 25px rgba(0, 0, 0, 0.15)",
64664
64677
  borderRadius: 10,
64665
64678
  padding: 24,
@@ -64767,7 +64780,7 @@ const u1e = (e) => {
64767
64780
  /* @__PURE__ */ h.jsxs(Hs, { position: "relative", sx: { paddingLeft: "2px" }, children: [
64768
64781
  /* @__PURE__ */ h.jsxs(Ie, { children: [
64769
64782
  /* @__PURE__ */ h.jsx(ve, { variant: "h2", sx: { wordBreak: "break-word", marginRight: "5px" }, children: t == null ? void 0 : t.question }),
64770
- /* @__PURE__ */ h.jsx(ve, { color: M.SECONDARY_BASE, marginBottom: "16px", children: /* @__PURE__ */ h.jsx(Ee, { id: ab(t) }) })
64783
+ /* @__PURE__ */ h.jsx(ve, { color: k.SECONDARY_BASE, marginBottom: "16px", children: /* @__PURE__ */ h.jsx(Ee, { id: ab(t) }) })
64771
64784
  ] }),
64772
64785
  c || n.isModerator && (t == null ? void 0 : t.status) === Wr.Done ? /* @__PURE__ */ h.jsx(awe, { poll: t }) : /* @__PURE__ */ h.jsx(rwe, { poll: t, channel: e })
64773
64786
  ] }),
@@ -64797,7 +64810,7 @@ const u1e = (e) => {
64797
64810
  ), gwe = {
64798
64811
  width: "100%",
64799
64812
  height: "100%",
64800
- background: M.BG,
64813
+ background: k.BG,
64801
64814
  overflow: "hidden",
64802
64815
  position: "relative",
64803
64816
  boxShadow: "0px 2px 16px rgba(29, 29, 44, 0.12)",
@@ -64957,12 +64970,12 @@ const u1e = (e) => {
64957
64970
  u,
64958
64971
  p
64959
64972
  ]);
64960
- const k = g || O.ui.lang;
64973
+ const M = g || O.ui.lang;
64961
64974
  return /* @__PURE__ */ h.jsx(Iae, { children: /* @__PURE__ */ h.jsx(
64962
64975
  hH,
64963
64976
  {
64964
- locale: k,
64965
- messages: uK(Pae[k]),
64977
+ locale: M,
64978
+ messages: uK(Pae[M]),
64966
64979
  defaultLocale: "en",
64967
64980
  children: /* @__PURE__ */ h.jsx(k3, { injectFirst: !0, children: /* @__PURE__ */ h.jsxs(bB, { theme: xie, children: [
64968
64981
  /* @__PURE__ */ h.jsx(y4, {}),