urfu-ui-kit-react 1.4.0 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -70,10 +70,10 @@ function Bi() {
70
70
  Te.unshift("Warning: " + G), Function.prototype.apply.call(console[w], console, Te);
71
71
  }
72
72
  }
73
- var M = !1, C = !1, K = !1, R = !1, H = !1, E;
73
+ var M = !1, C = !1, K = !1, j = !1, H = !1, E;
74
74
  E = Symbol.for("react.module.reference");
75
75
  function z(w) {
76
- return !!(typeof w == "string" || typeof w == "function" || w === e || w === o || H || w === r || w === d || w === u || R || w === y || M || C || K || typeof w == "object" && w !== null && (w.$$typeof === g || w.$$typeof === m || w.$$typeof === i || w.$$typeof === s || w.$$typeof === l || // This needs to include all possible module reference object
76
+ return !!(typeof w == "string" || typeof w == "function" || w === e || w === o || H || w === r || w === d || w === u || j || w === y || M || C || K || typeof w == "object" && w !== null && (w.$$typeof === g || w.$$typeof === m || w.$$typeof === i || w.$$typeof === s || w.$$typeof === l || // This needs to include all possible module reference object
77
77
  // types supported by any Flight configuration anywhere since
78
78
  // we don't know which Flight build this will end up being used
79
79
  // with.
@@ -134,14 +134,14 @@ function Bi() {
134
134
  }
135
135
  return null;
136
136
  }
137
- var ae = Object.assign, le = 0, ne, B, j, f, p, b, v;
137
+ var ae = Object.assign, le = 0, ne, B, R, f, p, b, v;
138
138
  function c() {
139
139
  }
140
140
  c.__reactDisabledLog = !0;
141
141
  function T() {
142
142
  {
143
143
  if (le === 0) {
144
- ne = console.log, B = console.info, j = console.warn, f = console.error, p = console.group, b = console.groupCollapsed, v = console.groupEnd;
144
+ ne = console.log, B = console.info, R = console.warn, f = console.error, p = console.group, b = console.groupCollapsed, v = console.groupEnd;
145
145
  var w = {
146
146
  configurable: !0,
147
147
  enumerable: !0,
@@ -177,7 +177,7 @@ function Bi() {
177
177
  value: B
178
178
  }),
179
179
  warn: ae({}, w, {
180
- value: j
180
+ value: R
181
181
  }),
182
182
  error: ae({}, w, {
183
183
  value: f
@@ -757,9 +757,9 @@ function Vi() {
757
757
  }
758
758
  }
759
759
  }
760
- var C = l, K = d, R = s, H = i, E = a, z = u, X = e, se = x, Z = y, ae = t, le = o, ne = r, B = m, j = !1;
760
+ var C = l, K = d, j = s, H = i, E = a, z = u, X = e, se = x, Z = y, ae = t, le = o, ne = r, B = m, R = !1;
761
761
  function f($) {
762
- return j || (j = !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.")), p($) || M($) === l;
762
+ return R || (R = !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.")), p($) || M($) === l;
763
763
  }
764
764
  function p($) {
765
765
  return M($) === d;
@@ -797,7 +797,7 @@ function Vi() {
797
797
  function Q($) {
798
798
  return M($) === m;
799
799
  }
800
- Ne.AsyncMode = C, Ne.ConcurrentMode = K, Ne.ContextConsumer = R, Ne.ContextProvider = H, Ne.Element = E, Ne.ForwardRef = z, Ne.Fragment = X, Ne.Lazy = se, Ne.Memo = Z, Ne.Portal = ae, Ne.Profiler = le, Ne.StrictMode = ne, Ne.Suspense = B, Ne.isAsyncMode = f, Ne.isConcurrentMode = p, Ne.isContextConsumer = b, Ne.isContextProvider = v, Ne.isElement = c, Ne.isForwardRef = T, Ne.isFragment = W, Ne.isLazy = ee, Ne.isMemo = L, Ne.isPortal = P, Ne.isProfiler = I, Ne.isStrictMode = Y, Ne.isSuspense = Q, Ne.isValidElementType = N, Ne.typeOf = M;
800
+ Ne.AsyncMode = C, Ne.ConcurrentMode = K, Ne.ContextConsumer = j, Ne.ContextProvider = H, Ne.Element = E, Ne.ForwardRef = z, Ne.Fragment = X, Ne.Lazy = se, Ne.Memo = Z, Ne.Portal = ae, Ne.Profiler = le, Ne.StrictMode = ne, Ne.Suspense = B, Ne.isAsyncMode = f, Ne.isConcurrentMode = p, Ne.isContextConsumer = b, Ne.isContextProvider = v, Ne.isElement = c, Ne.isForwardRef = T, Ne.isFragment = W, Ne.isLazy = ee, Ne.isMemo = L, Ne.isPortal = P, Ne.isProfiler = I, Ne.isStrictMode = Y, Ne.isSuspense = Q, Ne.isValidElementType = N, Ne.typeOf = M;
801
801
  }()), Ne;
802
802
  }
803
803
  var Ia;
@@ -955,7 +955,7 @@ function Ui() {
955
955
  instanceOf: K,
956
956
  node: z(),
957
957
  objectOf: H,
958
- oneOf: R,
958
+ oneOf: j,
959
959
  oneOfType: E,
960
960
  shape: se,
961
961
  exact: Z
@@ -1057,7 +1057,7 @@ function Ui() {
1057
1057
  }
1058
1058
  return _(b);
1059
1059
  }
1060
- function R(p) {
1060
+ function j(p) {
1061
1061
  if (!Array.isArray(p))
1062
1062
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
1063
1063
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
@@ -1098,7 +1098,7 @@ function Ui() {
1098
1098
  var v = p[b];
1099
1099
  if (typeof v != "function")
1100
1100
  return o(
1101
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + j(v) + " at index " + b + "."
1101
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + R(v) + " at index " + b + "."
1102
1102
  ), i;
1103
1103
  }
1104
1104
  function c(T, W, ee, L, P) {
@@ -1216,7 +1216,7 @@ Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
1216
1216
  }
1217
1217
  return b;
1218
1218
  }
1219
- function j(p) {
1219
+ function R(p) {
1220
1220
  var b = B(p);
1221
1221
  switch (b) {
1222
1222
  case "array":
@@ -4305,17 +4305,17 @@ function Wr(n, a, t, e) {
4305
4305
  firstWeekContainsDate: i,
4306
4306
  weekStartsOn: s,
4307
4307
  locale: o
4308
- }, d = [new ll()], u = a.match(Ql).map((R) => {
4309
- const H = R[0];
4308
+ }, d = [new ll()], u = a.match(Ql).map((j) => {
4309
+ const H = j[0];
4310
4310
  if (H in dr) {
4311
4311
  const E = dr[H];
4312
- return E(R, o.formatLong);
4312
+ return E(j, o.formatLong);
4313
4313
  }
4314
- return R;
4314
+ return j;
4315
4315
  }).join("").match(Gl), m = [];
4316
- for (let R of u) {
4317
- !(e != null && e.useAdditionalWeekYearTokens) && ti(R) && sa(R, a, n), !(e != null && e.useAdditionalDayOfYearTokens) && ei(R) && sa(R, a, n);
4318
- const H = R[0], E = Vl[H];
4316
+ for (let j of u) {
4317
+ !(e != null && e.useAdditionalWeekYearTokens) && ti(j) && sa(j, a, n), !(e != null && e.useAdditionalDayOfYearTokens) && ei(j) && sa(j, a, n);
4318
+ const H = j[0], E = Vl[H];
4319
4319
  if (E) {
4320
4320
  const { incompatibleTokens: z } = E;
4321
4321
  if (Array.isArray(z)) {
@@ -4324,16 +4324,16 @@ function Wr(n, a, t, e) {
4324
4324
  );
4325
4325
  if (se)
4326
4326
  throw new RangeError(
4327
- `The format string mustn't contain \`${se.fullToken}\` and \`${R}\` at the same time`
4327
+ `The format string mustn't contain \`${se.fullToken}\` and \`${j}\` at the same time`
4328
4328
  );
4329
4329
  } else if (E.incompatibleTokens === "*" && m.length > 0)
4330
4330
  throw new RangeError(
4331
- `The format string mustn't contain \`${R}\` and any other token at the same time`
4331
+ `The format string mustn't contain \`${j}\` and any other token at the same time`
4332
4332
  );
4333
- m.push({ token: H, fullToken: R });
4333
+ m.push({ token: H, fullToken: j });
4334
4334
  const X = E.run(
4335
4335
  n,
4336
- R,
4336
+ j,
4337
4337
  o.match,
4338
4338
  l
4339
4339
  );
@@ -4345,25 +4345,25 @@ function Wr(n, a, t, e) {
4345
4345
  throw new RangeError(
4346
4346
  "Format string contains an unescaped latin alphabet character `" + H + "`"
4347
4347
  );
4348
- if (R === "''" ? R = "'" : H === "'" && (R = Zl(R)), n.indexOf(R) === 0)
4349
- n = n.slice(R.length);
4348
+ if (j === "''" ? j = "'" : H === "'" && (j = Zl(j)), n.indexOf(j) === 0)
4349
+ n = n.slice(j.length);
4350
4350
  else
4351
4351
  return Ie(t, NaN);
4352
4352
  }
4353
4353
  }
4354
4354
  if (n.length > 0 && Kl.test(n))
4355
4355
  return Ie(t, NaN);
4356
- const g = d.map((R) => R.priority).sort((R, H) => H - R).filter((R, H, E) => E.indexOf(R) === H).map(
4357
- (R) => d.filter((H) => H.priority === R).sort((H, E) => E.subPriority - H.subPriority)
4358
- ).map((R) => R[0]);
4356
+ const g = d.map((j) => j.priority).sort((j, H) => H - j).filter((j, H, E) => E.indexOf(j) === H).map(
4357
+ (j) => d.filter((H) => H.priority === j).sort((H, E) => E.subPriority - H.subPriority)
4358
+ ).map((j) => j[0]);
4359
4359
  let y = ue(t);
4360
4360
  if (isNaN(y.getTime()))
4361
4361
  return Ie(t, NaN);
4362
4362
  const x = {};
4363
- for (const R of g) {
4364
- if (!R.validate(y, l))
4363
+ for (const j of g) {
4364
+ if (!j.validate(y, l))
4365
4365
  return Ie(t, NaN);
4366
- const H = R.set(y, x, l);
4366
+ const H = j.set(y, x, l);
4367
4367
  Array.isArray(H) ? (y = H[0], Object.assign(x, H[1])) : y = H;
4368
4368
  }
4369
4369
  return Ie(t, y);
@@ -4946,9 +4946,9 @@ const Rc = (n) => ({
4946
4946
  x: t,
4947
4947
  y: e
4948
4948
  }, y = _a(r), x = ka(y), k = await i.getDimensions(d), _ = y === "y", S = _ ? "top" : "left", O = _ ? "bottom" : "right", N = _ ? "clientHeight" : "clientWidth", M = o.reference[x] + o.reference[y] - g[y] - o.floating[x], C = g[y] - o.reference[y], K = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
4949
- let R = K ? K[N] : 0;
4950
- (!R || !await (i.isElement == null ? void 0 : i.isElement(K))) && (R = s.floating[N] || o.floating[x]);
4951
- const H = M / 2 - C / 2, E = R / 2 - k[x] / 2 - 1, z = mn(m[S], E), X = mn(m[O], E), se = z, Z = R - k[x] - X, ae = R / 2 - k[x] / 2 + H, le = _c(se, ae, Z), ne = !l.arrow && In(r) != null && ae !== le && o.reference[x] / 2 - (ae < se ? z : X) - k[x] / 2 < 0, B = ne ? ae < se ? ae - se : ae - Z : 0;
4949
+ let j = K ? K[N] : 0;
4950
+ (!j || !await (i.isElement == null ? void 0 : i.isElement(K))) && (j = s.floating[N] || o.floating[x]);
4951
+ const H = M / 2 - C / 2, E = j / 2 - k[x] / 2 - 1, z = mn(m[S], E), X = mn(m[O], E), se = z, Z = j - k[x] - X, ae = j / 2 - k[x] / 2 + H, le = _c(se, ae, Z), ne = !l.arrow && In(r) != null && ae !== le && o.reference[x] / 2 - (ae < se ? z : X) - k[x] / 2 < 0, B = ne ? ae < se ? ae - se : ae - Z : 0;
4952
4952
  return {
4953
4953
  [y]: g[y] + B,
4954
4954
  data: {
@@ -4987,7 +4987,7 @@ const Rc = (n) => ({
4987
4987
  return {};
4988
4988
  const S = gn(r), O = Pn(s), N = gn(s) === s, M = await (l.isRTL == null ? void 0 : l.isRTL(d.floating)), C = g || (N || !k ? [hr(s)] : Ec(s)), K = x !== "none";
4989
4989
  !g && K && C.push(...Oc(s, k, x, M));
4990
- const R = [s, ...C], H = await Nc(a, _), E = [];
4990
+ const j = [s, ...C], H = await Nc(a, _), E = [];
4991
4991
  let z = ((e = o.flip) == null ? void 0 : e.overflows) || [];
4992
4992
  if (u && E.push(H[S]), m) {
4993
4993
  const ae = Sc(r, i, M);
@@ -4998,7 +4998,7 @@ const Rc = (n) => ({
4998
4998
  overflows: E
4999
4999
  }], !E.every((ae) => ae <= 0)) {
5000
5000
  var X, se;
5001
- const ae = (((X = o.flip) == null ? void 0 : X.index) || 0) + 1, le = R[ae];
5001
+ const ae = (((X = o.flip) == null ? void 0 : X.index) || 0) + 1, le = j[ae];
5002
5002
  if (le)
5003
5003
  return {
5004
5004
  data: {
@@ -5009,20 +5009,20 @@ const Rc = (n) => ({
5009
5009
  placement: le
5010
5010
  }
5011
5011
  };
5012
- let ne = (se = z.filter((B) => B.overflows[0] <= 0).sort((B, j) => B.overflows[1] - j.overflows[1])[0]) == null ? void 0 : se.placement;
5012
+ let ne = (se = z.filter((B) => B.overflows[0] <= 0).sort((B, R) => B.overflows[1] - R.overflows[1])[0]) == null ? void 0 : se.placement;
5013
5013
  if (!ne)
5014
5014
  switch (y) {
5015
5015
  case "bestFit": {
5016
5016
  var Z;
5017
- const B = (Z = z.filter((j) => {
5017
+ const B = (Z = z.filter((R) => {
5018
5018
  if (K) {
5019
- const f = Pn(j.placement);
5019
+ const f = Pn(R.placement);
5020
5020
  return f === O || // Create a bias to the `y` side axis due to horizontal
5021
5021
  // reading directions favoring greater width.
5022
5022
  f === "y";
5023
5023
  }
5024
5024
  return !0;
5025
- }).map((j) => [j.placement, j.overflows.filter((f) => f > 0).reduce((f, p) => f + p, 0)]).sort((j, f) => j[1] - f[1])[0]) == null ? void 0 : Z[0];
5025
+ }).map((R) => [R.placement, R.overflows.filter((f) => f > 0).reduce((f, p) => f + p, 0)]).sort((R, f) => R[1] - f[1])[0]) == null ? void 0 : Z[0];
5026
5026
  B && (ne = B);
5027
5027
  break;
5028
5028
  }
@@ -5398,15 +5398,15 @@ function Xc(n, a) {
5398
5398
  };
5399
5399
  let M = !0;
5400
5400
  function C(K) {
5401
- const R = K[0].intersectionRatio;
5402
- if (R !== l) {
5401
+ const j = K[0].intersectionRatio;
5402
+ if (j !== l) {
5403
5403
  if (!M)
5404
5404
  return i();
5405
- R ? i(!1, R) : e = setTimeout(() => {
5405
+ j ? i(!1, j) : e = setTimeout(() => {
5406
5406
  i(!1, 1e-7);
5407
5407
  }, 1e3);
5408
5408
  }
5409
- R === 1 && !gi(d, n.getBoundingClientRect()) && i(), M = !1;
5409
+ j === 1 && !gi(d, n.getBoundingClientRect()) && i(), M = !1;
5410
5410
  }
5411
5411
  try {
5412
5412
  t = new IntersectionObserver(C, {
@@ -5537,19 +5537,19 @@ function nu(n) {
5537
5537
  isPositioned: !1
5538
5538
  }), [g, y] = ye.useState(e);
5539
5539
  gr(g, e) || y(e);
5540
- const [x, k] = ye.useState(null), [_, S] = ye.useState(null), O = ye.useCallback((j) => {
5541
- j !== K.current && (K.current = j, k(j));
5542
- }, []), N = ye.useCallback((j) => {
5543
- j !== R.current && (R.current = j, S(j));
5544
- }, []), M = o || x, C = i || _, K = ye.useRef(null), R = ye.useRef(null), H = ye.useRef(u), E = l != null, z = Br(l), X = Br(r), se = Br(d), Z = ye.useCallback(() => {
5545
- if (!K.current || !R.current)
5540
+ const [x, k] = ye.useState(null), [_, S] = ye.useState(null), O = ye.useCallback((R) => {
5541
+ R !== K.current && (K.current = R, k(R));
5542
+ }, []), N = ye.useCallback((R) => {
5543
+ R !== j.current && (j.current = R, S(R));
5544
+ }, []), M = o || x, C = i || _, K = ye.useRef(null), j = ye.useRef(null), H = ye.useRef(u), E = l != null, z = Br(l), X = Br(r), se = Br(d), Z = ye.useCallback(() => {
5545
+ if (!K.current || !j.current)
5546
5546
  return;
5547
- const j = {
5547
+ const R = {
5548
5548
  placement: a,
5549
5549
  strategy: t,
5550
5550
  middleware: g
5551
5551
  };
5552
- X.current && (j.platform = X.current), tu(K.current, R.current, j).then((f) => {
5552
+ X.current && (R.platform = X.current), tu(K.current, j.current, R).then((f) => {
5553
5553
  const p = {
5554
5554
  ...f,
5555
5555
  // The floating element's position may be recomputed while it's closed
@@ -5564,8 +5564,8 @@ function nu(n) {
5564
5564
  });
5565
5565
  }, [g, a, t, X, se]);
5566
5566
  nr(() => {
5567
- d === !1 && H.current.isPositioned && (H.current.isPositioned = !1, m((j) => ({
5568
- ...j,
5567
+ d === !1 && H.current.isPositioned && (H.current.isPositioned = !1, m((R) => ({
5568
+ ...R,
5569
5569
  isPositioned: !1
5570
5570
  })));
5571
5571
  }, [d]);
@@ -5573,7 +5573,7 @@ function nu(n) {
5573
5573
  nr(() => (ae.current = !0, () => {
5574
5574
  ae.current = !1;
5575
5575
  }), []), nr(() => {
5576
- if (M && (K.current = M), C && (R.current = C), M && C) {
5576
+ if (M && (K.current = M), C && (j.current = C), M && C) {
5577
5577
  if (z.current)
5578
5578
  return z.current(M, C, Z);
5579
5579
  Z();
@@ -5581,23 +5581,23 @@ function nu(n) {
5581
5581
  }, [M, C, Z, z, E]);
5582
5582
  const le = ye.useMemo(() => ({
5583
5583
  reference: K,
5584
- floating: R,
5584
+ floating: j,
5585
5585
  setReference: O,
5586
5586
  setFloating: N
5587
5587
  }), [O, N]), ne = ye.useMemo(() => ({
5588
5588
  reference: M,
5589
5589
  floating: C
5590
5590
  }), [M, C]), B = ye.useMemo(() => {
5591
- const j = {
5591
+ const R = {
5592
5592
  position: t,
5593
5593
  left: 0,
5594
5594
  top: 0
5595
5595
  };
5596
5596
  if (!ne.floating)
5597
- return j;
5597
+ return R;
5598
5598
  const f = ao(ne.floating, u.x), p = ao(ne.floating, u.y);
5599
5599
  return s ? {
5600
- ...j,
5600
+ ...R,
5601
5601
  transform: "translate(" + f + "px, " + p + "px)",
5602
5602
  ...vi(ne.floating) >= 1.5 && {
5603
5603
  willChange: "transform"
@@ -5731,12 +5731,12 @@ const mu = /* @__PURE__ */ ye.forwardRef(function(a, t) {
5731
5731
  }, [r]), !r)
5732
5732
  return null;
5733
5733
  const [M, C] = e.split("-"), K = M === "top" || M === "bottom";
5734
- let R = m;
5735
- (K && i != null && i.x || !K && i != null && i.y) && (R = null);
5736
- const H = u * 2, E = H / 2, z = s / 2 * (d / -8 + 1), X = l / 2 * d / 4, se = !!y, Z = R && C === "end" ? "bottom" : "top";
5737
- let ae = R && C === "end" ? "right" : "left";
5738
- R && O && (ae = C === "end" ? "left" : "right");
5739
- const le = (o == null ? void 0 : o.x) != null ? R || o.x : "", ne = (o == null ? void 0 : o.y) != null ? R || o.y : "", B = y || "M0,0" + (" H" + s) + (" L" + (s - z) + "," + (l - X)) + (" Q" + s / 2 + "," + l + " " + z + "," + (l - X)) + " Z", j = {
5734
+ let j = m;
5735
+ (K && i != null && i.x || !K && i != null && i.y) && (j = null);
5736
+ const H = u * 2, E = H / 2, z = s / 2 * (d / -8 + 1), X = l / 2 * d / 4, se = !!y, Z = j && C === "end" ? "bottom" : "top";
5737
+ let ae = j && C === "end" ? "right" : "left";
5738
+ j && O && (ae = C === "end" ? "left" : "right");
5739
+ const le = (o == null ? void 0 : o.x) != null ? j || o.x : "", ne = (o == null ? void 0 : o.y) != null ? j || o.y : "", B = y || "M0,0" + (" H" + s) + (" L" + (s - z) + "," + (l - X)) + (" Q" + s / 2 + "," + l + " " + z + "," + (l - X)) + " Z", R = {
5740
5740
  top: se ? "rotate(180deg)" : "",
5741
5741
  left: se ? "rotate(90deg)" : "rotate(-90deg)",
5742
5742
  bottom: se ? "" : "rotate(180deg)",
@@ -5755,7 +5755,7 @@ const mu = /* @__PURE__ */ ye.forwardRef(function(a, t) {
5755
5755
  [ae]: le,
5756
5756
  [Z]: ne,
5757
5757
  [M]: K || se ? "100%" : "calc(100% - " + H / 2 + "px)",
5758
- transform: [j, x].filter((f) => !!f).join(" "),
5758
+ transform: [R, x].filter((f) => !!f).join(" "),
5759
5759
  ...k
5760
5760
  },
5761
5761
  children: [H > 0 && /* @__PURE__ */ h.jsx("path", {
@@ -6850,9 +6850,9 @@ var Zu = (
6850
6850
  }, t.handleKeyboardNavigation = function(e, r, o) {
6851
6851
  var i, s = t.props, l = s.selected, d = s.preSelection, u = s.setPreSelection, m = s.minDate, g = s.maxDate, y = s.showFourColumnMonthYearPicker, x = s.showTwoColumnMonthYearPicker;
6852
6852
  if (d) {
6853
- var k = ko(y, x), _ = t.getVerticalOffset(k), S = (i = Gr[k]) === null || i === void 0 ? void 0 : i.grid, O = function(R, H, E) {
6853
+ var k = ko(y, x), _ = t.getVerticalOffset(k), S = (i = Gr[k]) === null || i === void 0 ? void 0 : i.grid, O = function(j, H, E) {
6854
6854
  var z, X, se = H, Z = E;
6855
- switch (R) {
6855
+ switch (j) {
6856
6856
  case oe.ArrowRight:
6857
6857
  se = gt(H, Xn), Z = E === 11 ? 0 : E + Xn;
6858
6858
  break;
@@ -6867,8 +6867,8 @@ var Zu = (
6867
6867
  break;
6868
6868
  }
6869
6869
  return { newCalculatedDate: se, newCalculatedMonth: Z };
6870
- }, N = function(R, H, E) {
6871
- for (var z = 40, X = R, se = !1, Z = 0, ae = O(X, H, E), le = ae.newCalculatedDate, ne = ae.newCalculatedMonth; !se; ) {
6870
+ }, N = function(j, H, E) {
6871
+ for (var z = 40, X = j, se = !1, Z = 0, ae = O(X, H, E), le = ae.newCalculatedDate, ne = ae.newCalculatedMonth; !se; ) {
6872
6872
  if (Z >= z) {
6873
6873
  le = H, ne = E;
6874
6874
  break;
@@ -7753,10 +7753,10 @@ var sd = (
7753
7753
  "react-datepicker__navigation--previous"
7754
7754
  ], x = e.decreaseMonth;
7755
7755
  (e.props.showMonthYearPicker || e.props.showQuarterYearPicker || e.props.showYearPicker) && (x = e.decreaseYear), m && e.props.showDisabledMonthNavigation && (y.push("react-datepicker__navigation--previous--disabled"), x = void 0);
7756
- var k = e.props.showMonthYearPicker || e.props.showQuarterYearPicker || e.props.showYearPicker, _ = e.props, S = _.previousMonthButtonLabel, O = S === void 0 ? a.defaultProps.previousMonthButtonLabel : S, N = _.previousYearButtonLabel, M = N === void 0 ? a.defaultProps.previousYearButtonLabel : N, C = e.props, K = C.previousMonthAriaLabel, R = K === void 0 ? typeof O == "string" ? O : "Previous Month" : K, H = C.previousYearAriaLabel, E = H === void 0 ? typeof M == "string" ? M : "Previous Year" : H;
7756
+ var k = e.props.showMonthYearPicker || e.props.showQuarterYearPicker || e.props.showYearPicker, _ = e.props, S = _.previousMonthButtonLabel, O = S === void 0 ? a.defaultProps.previousMonthButtonLabel : S, N = _.previousYearButtonLabel, M = N === void 0 ? a.defaultProps.previousYearButtonLabel : N, C = e.props, K = C.previousMonthAriaLabel, j = K === void 0 ? typeof O == "string" ? O : "Previous Month" : K, H = C.previousYearAriaLabel, E = H === void 0 ? typeof M == "string" ? M : "Previous Year" : H;
7757
7757
  return A.createElement(
7758
7758
  "button",
7759
- { type: "button", className: y.join(" "), onClick: x, onKeyDown: e.props.handleOnKeyDown, "aria-label": k ? E : R },
7759
+ { type: "button", className: y.join(" "), onClick: x, onKeyDown: e.props.handleOnKeyDown, "aria-label": k ? E : j },
7760
7760
  A.createElement("span", { className: g.join(" ") }, k ? M : O)
7761
7761
  );
7762
7762
  }
@@ -8186,8 +8186,8 @@ var Qr = "Date input not valid.", bd = (
8186
8186
  if (x) {
8187
8187
  var O = S.split("-", 2).map(function(z) {
8188
8188
  return z.trim();
8189
- }), N = O[0], M = O[1], C = qr(N ?? "", m, e.props.locale, y), K = qr(M ?? "", m, e.props.locale, y), R = (k == null ? void 0 : k.getTime()) !== (C == null ? void 0 : C.getTime()), H = (_ == null ? void 0 : _.getTime()) !== (K == null ? void 0 : K.getTime());
8190
- if (!R && !H || C && ft(C, e.props) || K && ft(K, e.props))
8189
+ }), N = O[0], M = O[1], C = qr(N ?? "", m, e.props.locale, y), K = qr(M ?? "", m, e.props.locale, y), j = (k == null ? void 0 : k.getTime()) !== (C == null ? void 0 : C.getTime()), H = (_ == null ? void 0 : _.getTime()) !== (K == null ? void 0 : K.getTime());
8190
+ if (!j && !H || C && ft(C, e.props) || K && ft(K, e.props))
8191
8191
  return;
8192
8192
  (o = (r = e.props).onChange) === null || o === void 0 || o.call(r, [C, K], l);
8193
8193
  } else {
@@ -8237,10 +8237,10 @@ var Qr = "Date input not valid.", bd = (
8237
8237
  if (!(S != null && S.length))
8238
8238
  g == null || g([u], o);
8239
8239
  else {
8240
- var R = S.some(function(E) {
8240
+ var j = S.some(function(E) {
8241
8241
  return _e(E, u);
8242
8242
  });
8243
- if (R) {
8243
+ if (j) {
8244
8244
  var H = S.filter(function(E) {
8245
8245
  return !_e(E, u);
8246
8246
  });
@@ -8314,7 +8314,7 @@ var Qr = "Date input not valid.", bd = (
8314
8314
  }, e.onDayKeyDown = function(r) {
8315
8315
  var o, i, s, l, d, u, m = e.props, g = m.minDate, y = m.maxDate, x = m.disabledKeyboardNavigation, k = m.showWeekPicker, _ = m.shouldCloseOnSelect, S = m.locale, O = m.calendarStartDay, N = m.adjustDateOnChange, M = m.inline;
8316
8316
  if ((i = (o = e.props).onKeyDown) === null || i === void 0 || i.call(o, r), !x) {
8317
- var C = r.key, K = r.shiftKey, R = Fe(e.state.preSelection), H = function(le, ne) {
8317
+ var C = r.key, K = r.shiftKey, j = Fe(e.state.preSelection), H = function(le, ne) {
8318
8318
  var B = ne;
8319
8319
  switch (le) {
8320
8320
  case oe.ArrowRight:
@@ -8344,17 +8344,17 @@ var Qr = "Date input not valid.", bd = (
8344
8344
  }
8345
8345
  return B;
8346
8346
  }, E = function(le, ne) {
8347
- for (var B = 40, j = le, f = !1, p = 0, b = H(le, ne); !f; ) {
8347
+ for (var B = 40, R = le, f = !1, p = 0, b = H(le, ne); !f; ) {
8348
8348
  if (p >= B) {
8349
8349
  b = ne;
8350
8350
  break;
8351
8351
  }
8352
- g && b < g && (j = oe.ArrowRight, b = ft(g, e.props) ? H(j, b) : g), y && b > y && (j = oe.ArrowLeft, b = ft(y, e.props) ? H(j, b) : y), ft(b, e.props) ? ((j === oe.PageUp || j === oe.Home) && (j = oe.ArrowRight), (j === oe.PageDown || j === oe.End) && (j = oe.ArrowLeft), b = H(j, b)) : f = !0, p++;
8352
+ g && b < g && (R = oe.ArrowRight, b = ft(g, e.props) ? H(R, b) : g), y && b > y && (R = oe.ArrowLeft, b = ft(y, e.props) ? H(R, b) : y), ft(b, e.props) ? ((R === oe.PageUp || R === oe.Home) && (R = oe.ArrowRight), (R === oe.PageDown || R === oe.End) && (R = oe.ArrowLeft), b = H(R, b)) : f = !0, p++;
8353
8353
  }
8354
8354
  return b;
8355
8355
  };
8356
8356
  if (C === oe.Enter) {
8357
- r.preventDefault(), e.handleSelect(R, r), !_ && e.setPreSelection(R);
8357
+ r.preventDefault(), e.handleSelect(j, r), !_ && e.setPreSelection(j);
8358
8358
  return;
8359
8359
  } else if (C === oe.Escape) {
8360
8360
  r.preventDefault(), e.setOpen(!1), e.inputOk() || (l = (s = e.props).onInputError) === null || l === void 0 || l.call(s, { code: 1, msg: Qr });
@@ -8370,7 +8370,7 @@ var Qr = "Date input not valid.", bd = (
8370
8370
  case oe.PageDown:
8371
8371
  case oe.Home:
8372
8372
  case oe.End:
8373
- z = E(C, R);
8373
+ z = E(C, j);
8374
8374
  break;
8375
8375
  }
8376
8376
  if (!z) {
@@ -8378,7 +8378,7 @@ var Qr = "Date input not valid.", bd = (
8378
8378
  return;
8379
8379
  }
8380
8380
  if (r.preventDefault(), e.setState({ lastPreSelectChange: Ur }), N && e.setSelected(z), e.setPreSelection(z), M) {
8381
- var X = Xe(R), se = Xe(z), Z = we(R), ae = we(z);
8381
+ var X = Xe(j), se = Xe(z), Z = we(j), ae = we(z);
8382
8382
  X !== se || Z !== ae ? e.setState({ shouldFocusDayInline: !0 }) : e.setState({ shouldFocusDayInline: !1 });
8383
8383
  }
8384
8384
  }
@@ -8661,7 +8661,7 @@ function xd() {
8661
8661
  return !_(f, v, P) && P !== T || (v < p.length ? p = T || L || v < W.length ? p.slice(0, v) + P + p.slice(v + 1) : (p = p.slice(0, v) + P + p.slice(v), M(f, p)) : T || (p += P), ++v < c.length);
8662
8662
  }), p;
8663
8663
  }
8664
- function R(f, p, b, v) {
8664
+ function j(f, p, b, v) {
8665
8665
  var c = f.mask, T = f.maskChar, W = b.split(""), ee = v;
8666
8666
  return W.every(function(L) {
8667
8667
  for (; I = L, k(f, P = v) && I !== c[P]; ) if (++v >= c.length) return !1;
@@ -8682,7 +8682,7 @@ function xd() {
8682
8682
  }
8683
8683
  function X(f, p, b, v, c) {
8684
8684
  var T = f.mask, W = f.prefix, ee = f.lastEditablePosition, L = p, P = "", I = 0, Y = 0, Q = Math.min(c.start, b.start);
8685
- return b.end > c.start ? Y = (I = R(f, v, P = L.slice(c.start, b.end), Q)) ? c.length : 0 : L.length < v.length && (Y = v.length - L.length), L = v, Y && (Y === 1 && !c.length && (Q = c.start === b.start ? E(f, b.start) : H(f, b.start)), L = C(f, L, Q, Y)), L = K(f, L, P, Q), (Q += I) >= T.length ? Q = T.length : Q < W.length && !I ? Q = W.length : Q >= W.length && Q < ee && I && (Q = E(f, Q)), P || (P = null), { value: L = M(f, L), enteredString: P, selection: { start: Q, end: Q } };
8685
+ return b.end > c.start ? Y = (I = j(f, v, P = L.slice(c.start, b.end), Q)) ? c.length : 0 : L.length < v.length && (Y = v.length - L.length), L = v, Y && (Y === 1 && !c.length && (Q = c.start === b.start ? E(f, b.start) : H(f, b.start)), L = C(f, L, Q, Y)), L = K(f, L, P, Q), (Q += I) >= T.length ? Q = T.length : Q < W.length && !I ? Q = W.length : Q >= W.length && Q < ee && I && (Q = E(f, Q)), P || (P = null), { value: L = M(f, L), enteredString: P, selection: { start: Q, end: Q } };
8686
8686
  }
8687
8687
  function se() {
8688
8688
  var f = new RegExp("windows", "i"), p = new RegExp("phone", "i"), b = navigator.userAgent;
@@ -8705,7 +8705,7 @@ function xd() {
8705
8705
  function B(f) {
8706
8706
  (le() || clearTimeout)(f);
8707
8707
  }
8708
- var j = function(f) {
8708
+ var R = function(f) {
8709
8709
  function p(v) {
8710
8710
  var c = f.call(this, v) || this;
8711
8711
  c.focused = !1, c.mounted = !1, c.previousSelection = null, c.selectionDeferId = null, c.saveSelectionLoopDeferId = null, c.saveSelectionLoop = function() {
@@ -8855,7 +8855,7 @@ function xd() {
8855
8855
  return this.maskOptions.mask && (W.disabled || W.readOnly || (P.onChange = this.onChange, P.onPaste = this.onPaste, P.onMouseDown = this.onMouseDown), W.value != null && (P.value = this.value)), v = a.cloneElement(v, P);
8856
8856
  }, p;
8857
8857
  }(a.Component);
8858
- return zr = j, zr;
8858
+ return zr = R, zr;
8859
8859
  }
8860
8860
  var Kr, Eo;
8861
8861
  function Dd() {
@@ -9087,7 +9087,7 @@ function _d() {
9087
9087
  return Q ? (v < p.length ? T || L || v < W.length ? p = p.slice(0, v) + Y + p.slice(v + 1) : (p = p.slice(0, v) + Y + p.slice(v), p = M(f, p)) : T || (p += Y), v++, v < c.length) : !0;
9088
9088
  }), p;
9089
9089
  }
9090
- function R(f, p, b, v) {
9090
+ function j(f, p, b, v) {
9091
9091
  var c = f.mask, T = f.maskChar, W = b.split(""), ee = v, L = function(I, Y) {
9092
9092
  return !k(f, I) || Y === c[I];
9093
9093
  };
@@ -9116,7 +9116,7 @@ function _d() {
9116
9116
  }
9117
9117
  function X(f, p, b, v, c) {
9118
9118
  var T = f.mask, W = f.prefix, ee = f.lastEditablePosition, L = p, P = "", I = 0, Y = 0, Q = Math.min(c.start, b.start);
9119
- if (b.end > c.start ? (P = L.slice(c.start, b.end), I = R(f, v, P, Q), I ? Y = c.length : Y = 0) : L.length < v.length && (Y = v.length - L.length), L = v, Y) {
9119
+ if (b.end > c.start ? (P = L.slice(c.start, b.end), I = j(f, v, P, Q), I ? Y = c.length : Y = 0) : L.length < v.length && (Y = v.length - L.length), L = v, Y) {
9120
9120
  if (Y === 1 && !c.length) {
9121
9121
  var $ = c.start === b.start;
9122
9122
  Q = $ ? E(f, b.start) : H(f, b.start);
@@ -9155,7 +9155,7 @@ function _d() {
9155
9155
  var p = le() || clearTimeout;
9156
9156
  p(f);
9157
9157
  }
9158
- var j = /* @__PURE__ */ function(f) {
9158
+ var R = /* @__PURE__ */ function(f) {
9159
9159
  s(p, f);
9160
9160
  function p(v) {
9161
9161
  var c;
@@ -9398,7 +9398,7 @@ function _d() {
9398
9398
  return this.maskOptions.mask && (!I.disabled && !I.readOnly && (q.onChange = this.onChange, q.onPaste = this.onPaste, q.onMouseDown = this.onMouseDown), I.value != null && (q.value = this.value)), Y = a.cloneElement(Y, q), Y;
9399
9399
  }, p;
9400
9400
  }(a.Component);
9401
- return Zr = j, Zr;
9401
+ return Zr = R, Zr;
9402
9402
  }
9403
9403
  process.env.NODE_ENV === "production" ? fa.exports = xd() : fa.exports = _d();
9404
9404
  var Cd = fa.exports;
@@ -10371,8 +10371,8 @@ const Zn = (n) => {
10371
10371
  filterResetParam: K
10372
10372
  }) => {
10373
10373
  var te, pe;
10374
- const R = `${n}th${a}`, H = "auto", [E, z] = me(), [X, se] = me(), [Z, ae] = me(), [le, ne] = me(), [B, j] = me(0), [f, p] = me(""), [b, v] = me(), [c, T] = me(!1), [W, ee] = me(), L = Se(), P = Er(() => {
10375
- l === R && d(void 0);
10374
+ const j = `${n}th${a}`, H = "auto", [E, z] = me(), [X, se] = me(), [Z, ae] = me(), [le, ne] = me(), [B, R] = me(0), [f, p] = me(""), [b, v] = me(), [c, T] = me(!1), [W, ee] = me(), L = Se(), P = Er(() => {
10375
+ l === j && d(void 0);
10376
10376
  }), I = (F) => {
10377
10377
  let U = 0;
10378
10378
  for (let re = F; re > 0; re--)
@@ -10436,7 +10436,7 @@ const Zn = (n) => {
10436
10436
  );
10437
10437
  }, [s.filterOptions]), ve(() => {
10438
10438
  var F, U, re, he;
10439
- j(
10439
+ R(
10440
10440
  (U = (F = L == null ? void 0 : L.current) == null ? void 0 : F.getBoundingClientRect()) == null ? void 0 : U.height
10441
10441
  ), N(Object.assign(O, { [s.field]: (he = (re = L == null ? void 0 : L.current) == null ? void 0 : re.getBoundingClientRect()) == null ? void 0 : he.width }));
10442
10442
  }, []), ve(() => {
@@ -10500,13 +10500,13 @@ const Zn = (n) => {
10500
10500
  ref: (F) => {
10501
10501
  F && (P.current = F, L.current = F);
10502
10502
  },
10503
- id: R,
10503
+ id: j,
10504
10504
  className: `${s.sticky ? "sticky" : ""} ${_ && !s.resizeOff ? "resize" : ""}`,
10505
10505
  style: Object.assign(
10506
10506
  {
10507
10507
  position: !s.sticky && "relative",
10508
10508
  cursor: "pointer",
10509
- backgroundColor: R === l ? "#F6F6F6" : "#ffffff",
10509
+ backgroundColor: j === l ? "#F6F6F6" : "#ffffff",
10510
10510
  left: s.sticky ? I(a) : "",
10511
10511
  padding: 0
10512
10512
  },
@@ -10520,7 +10520,7 @@ const Zn = (n) => {
10520
10520
  "div",
10521
10521
  {
10522
10522
  onClick: () => {
10523
- d(R === l ? null : R);
10523
+ d(j === l ? null : j);
10524
10524
  },
10525
10525
  style: Object.assign(
10526
10526
  {
@@ -10553,7 +10553,7 @@ const Zn = (n) => {
10553
10553
  children: s.title
10554
10554
  }
10555
10555
  ),
10556
- R !== l ? /* @__PURE__ */ h.jsxs(
10556
+ j !== l ? /* @__PURE__ */ h.jsxs(
10557
10557
  "svg",
10558
10558
  {
10559
10559
  width: "12",
@@ -10642,7 +10642,7 @@ const Zn = (n) => {
10642
10642
  onMouseDown: (F) => S(F)
10643
10643
  }
10644
10644
  ),
10645
- l === R && W && s.filterType === "date" && /* @__PURE__ */ h.jsxs(
10645
+ l === j && W && s.filterType === "date" && /* @__PURE__ */ h.jsxs(
10646
10646
  "div",
10647
10647
  {
10648
10648
  className: "select-params__box",
@@ -10751,7 +10751,7 @@ const Zn = (n) => {
10751
10751
  ]
10752
10752
  }
10753
10753
  ),
10754
- l === R && W && s.filterType === "string" && /* @__PURE__ */ h.jsxs(
10754
+ l === j && W && s.filterType === "string" && /* @__PURE__ */ h.jsxs(
10755
10755
  "div",
10756
10756
  {
10757
10757
  className: "select-params__box",
@@ -10919,7 +10919,7 @@ const Zn = (n) => {
10919
10919
  ]
10920
10920
  }
10921
10921
  ),
10922
- l === R && W && s.filterType === "number" && /* @__PURE__ */ h.jsxs(
10922
+ l === j && W && s.filterType === "number" && /* @__PURE__ */ h.jsxs(
10923
10923
  "div",
10924
10924
  {
10925
10925
  className: "select-params__box",
@@ -11090,7 +11090,7 @@ const Zn = (n) => {
11090
11090
  ]
11091
11091
  }
11092
11092
  ),
11093
- l === R && W && s.filterType === "boolean" && /* @__PURE__ */ h.jsx(
11093
+ l === j && W && s.filterType === "boolean" && /* @__PURE__ */ h.jsx(
11094
11094
  "div",
11095
11095
  {
11096
11096
  className: "select-params__box",
@@ -11329,7 +11329,7 @@ const wf = ({
11329
11329
  const E = C.current;
11330
11330
  E && E.setSelectionRange(N, N);
11331
11331
  }, [C, N, _]);
11332
- const R = (E) => {
11332
+ const j = (E) => {
11333
11333
  H(), M(E.target.selectionStart), e && e(E);
11334
11334
  };
11335
11335
  ve(() => {
@@ -11390,7 +11390,7 @@ const wf = ({
11390
11390
  placeholder: a,
11391
11391
  ref: C,
11392
11392
  value: _ || "",
11393
- onChange: R,
11393
+ onChange: j,
11394
11394
  id: `input_expand${t}`
11395
11395
  }
11396
11396
  )
@@ -11439,19 +11439,30 @@ const xf = ({
11439
11439
  multiple: N = !1,
11440
11440
  hideLoaderAfterSelect: M = 0
11441
11441
  }) => {
11442
- const C = Se(null), K = (j) => {
11443
- j.preventDefault(), j.stopPropagation();
11444
- }, R = (j) => {
11445
- j.preventDefault(), j.stopPropagation();
11446
- }, H = (j) => {
11447
- j.preventDefault(), j.stopPropagation();
11448
- }, E = (j) => {
11442
+ const C = Se(null), K = (R) => {
11443
+ R.preventDefault(), R.stopPropagation();
11444
+ }, j = (R) => {
11445
+ R.preventDefault(), R.stopPropagation();
11446
+ }, H = (R) => {
11447
+ R.preventDefault(), R.stopPropagation();
11448
+ }, E = (R) => {
11449
11449
  var p;
11450
- j.preventDefault(), j.stopPropagation();
11451
- const f = (p = j.dataTransfer) == null ? void 0 : p.files;
11452
- (f == null ? void 0 : f.length) > 0 && ae(j, !0);
11453
- }, z = (j) => typeof j == "number" ? `${j}px` : String(j), X = (j) => j == null ? void 0 : j.toLocaleString("ru", { day: "numeric", month: "numeric", year: "numeric" }), se = (j) => j > 1048576 ? (j / 1024 / 1024).toFixed(1) + "Мб" : j > 1024 ? (j / 1024).toFixed(1) + "Кб" : j.toFixed(1) + "б", Z = (j) => {
11454
- switch (j.split(".").pop().toLowerCase()) {
11450
+ R.preventDefault(), R.stopPropagation();
11451
+ const f = (p = R.dataTransfer) == null ? void 0 : p.files;
11452
+ (f == null ? void 0 : f.length) > 0 && ae(R, !0);
11453
+ }, z = (R) => typeof R == "number" ? `${R}px` : String(R), X = (R) => {
11454
+ const f = R == null ? void 0 : R.toLocaleString("ru", { day: "numeric", month: "numeric", year: "numeric" });
11455
+ if (!f) return "";
11456
+ const p = f.split(".");
11457
+ return p.length === 3 ? /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
11458
+ p[0],
11459
+ ".",
11460
+ p[1],
11461
+ ".",
11462
+ /* @__PURE__ */ h.jsx("span", { className: "uwsn", children: p[2] })
11463
+ ] }) : f;
11464
+ }, se = (R) => R > 1048576 ? [(R / 1024 / 1024).toFixed(1), "Мб"] : R > 1024 ? [(R / 1024).toFixed(1), "Кб"] : [R.toFixed(1), "б"], Z = (R) => {
11465
+ switch (R.split(".").pop().toLowerCase()) {
11455
11466
  case "pdf":
11456
11467
  return "pdf";
11457
11468
  case "xls":
@@ -11483,20 +11494,20 @@ const xf = ({
11483
11494
  default:
11484
11495
  return "other";
11485
11496
  }
11486
- }, ae = (j, f) => {
11487
- N ? le(j, f) : ne(j, f);
11488
- }, le = (j, f) => {
11489
- const b = (f ? Array.from(j.dataTransfer.files) : Array.from(j.target.files)).filter(
11497
+ }, ae = (R, f) => {
11498
+ N ? le(R, f) : ne(R, f);
11499
+ }, le = (R, f) => {
11500
+ const b = (f ? Array.from(R.dataTransfer.files) : Array.from(R.target.files)).filter(
11490
11501
  (v) => !S.some(
11491
11502
  (c) => c.name === v.name
11492
11503
  )
11493
11504
  );
11494
11505
  b.length > 0 && O((v) => [...v, ...b]), C.current.value = "";
11495
- }, ne = (j, f) => {
11496
- const p = f ? Array.from([j.dataTransfer.files[0]]) : Array.from(j.target.files);
11506
+ }, ne = (R, f) => {
11507
+ const p = f ? Array.from([R.dataTransfer.files[0]]) : Array.from(R.target.files);
11497
11508
  O([...p]), C.current.value = "";
11498
- }, B = (j) => {
11499
- O((f) => f.filter((p, b) => b !== j));
11509
+ }, B = (R) => {
11510
+ O((f) => f.filter((p, b) => b !== R));
11500
11511
  };
11501
11512
  return /* @__PURE__ */ h.jsxs(
11502
11513
  "div",
@@ -11533,11 +11544,11 @@ const xf = ({
11533
11544
  id: e,
11534
11545
  className: "u-file",
11535
11546
  onDragEnter: K,
11536
- onDragLeave: R,
11547
+ onDragLeave: j,
11537
11548
  onDragOver: H,
11538
11549
  onDrop: E,
11539
11550
  children: [
11540
- /* @__PURE__ */ h.jsx("input", { ref: C, type: "file", id: e, name: r, value: t, defaultValue: a, disabled: i, onChange: (j) => ae(j), multiple: N }),
11551
+ /* @__PURE__ */ h.jsx("input", { ref: C, type: "file", id: e, name: r, value: t, defaultValue: a, disabled: i, onChange: (R) => ae(R), multiple: N }),
11541
11552
  /* @__PURE__ */ h.jsx("i", { className: "u-file-icon" }),
11542
11553
  !_ && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
11543
11554
  /* @__PURE__ */ h.jsx("p", { className: "u-file-title", children: x }),
@@ -11550,13 +11561,19 @@ const xf = ({
11550
11561
  ]
11551
11562
  }
11552
11563
  ),
11553
- N ? (S == null ? void 0 : S.length) > 0 && /* @__PURE__ */ h.jsx("div", { style: { display: "flex", marginTop: "22px", minHeight: "122px", columnGap: "14px", rowGap: "14px", flexWrap: "wrap" }, children: S == null ? void 0 : S.map((j, f) => /* @__PURE__ */ h.jsxs("div", { className: "u-file-cell", children: [
11554
- /* @__PURE__ */ h.jsx("div", { className: `u-file-cell-icon ${Z(j.name)}` }),
11564
+ N ? (S == null ? void 0 : S.length) > 0 && /* @__PURE__ */ h.jsx("div", { style: { display: "flex", marginTop: "22px", minHeight: "122px", columnGap: "14px", rowGap: "14px", flexWrap: "wrap" }, children: S == null ? void 0 : S.map((R, f) => /* @__PURE__ */ h.jsxs("div", { className: "u-file-cell", children: [
11565
+ /* @__PURE__ */ h.jsx("div", { className: `u-file-cell-icon ${Z(R.name)}` }),
11555
11566
  /* @__PURE__ */ h.jsx("div", { className: "u-file-cell-content", children: /* @__PURE__ */ h.jsxs("div", { className: "u-file-cell-content-wrapper", children: [
11556
- /* @__PURE__ */ h.jsx("p", { children: j.name }),
11567
+ /* @__PURE__ */ h.jsx("p", { children: R.name }),
11557
11568
  /* @__PURE__ */ h.jsxs("div", { className: "u-file-cell-content-props", children: [
11558
- /* @__PURE__ */ h.jsx("span", { children: se(j.size) }),
11559
- /* @__PURE__ */ h.jsx("span", { children: X(j.lastModifiedDate) })
11569
+ /* @__PURE__ */ h.jsx("span", { children: (() => {
11570
+ const [p, b] = se(R.size);
11571
+ return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
11572
+ p,
11573
+ /* @__PURE__ */ h.jsx("span", { className: "uwsn", children: b })
11574
+ ] });
11575
+ })() }),
11576
+ /* @__PURE__ */ h.jsx("span", { children: X(R.lastModifiedDate) })
11560
11577
  ] })
11561
11578
  ] }) }),
11562
11579
  /* @__PURE__ */ h.jsx("button", { type: "button", onClick: () => B(f) })
@@ -11564,8 +11581,14 @@ const xf = ({
11564
11581
  /* @__PURE__ */ h.jsx("div", { className: `u-file-cell-icon ${Z(S[0].name)}` }),
11565
11582
  /* @__PURE__ */ h.jsx("div", { className: "u-file-cell-content", children: /* @__PURE__ */ h.jsxs("div", { className: "u-file-cell-content-wrapper", children: [
11566
11583
  /* @__PURE__ */ h.jsx("p", { children: S[0].name }),
11567
- /* @__PURE__ */ h.jsxs("div", { className: "u-file-cell-content-props", children: [
11568
- /* @__PURE__ */ h.jsx("span", { children: se(S[0].size) }),
11584
+ /* @__PURE__ */ h.jsxs("div", { className: "u-file-cell-content-props ucg4", children: [
11585
+ /* @__PURE__ */ h.jsx("span", { children: (() => {
11586
+ const [R, f] = se(S[0].size);
11587
+ return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
11588
+ R,
11589
+ /* @__PURE__ */ h.jsx("span", { className: "uwsn", children: f })
11590
+ ] });
11591
+ })() }),
11569
11592
  /* @__PURE__ */ h.jsx("span", { children: X(S[0].lastModifiedDate) })
11570
11593
  ] })
11571
11594
  ] }) }),
@@ -11619,7 +11642,7 @@ const Df = ({
11619
11642
  let E = document.getElementById(`num-minus-${H}`);
11620
11643
  const X = E == null ? void 0 : E.nextElementSibling;
11621
11644
  X == null || X.stepDown();
11622
- }, R = (H) => {
11645
+ }, j = (H) => {
11623
11646
  let E = document.getElementById(`num-plus-${H}`);
11624
11647
  const X = E == null ? void 0 : E.previousElementSibling;
11625
11648
  X == null || X.stepUp();
@@ -11671,7 +11694,7 @@ const Df = ({
11671
11694
  className: "u-number-up",
11672
11695
  type: "button",
11673
11696
  onClick: () => {
11674
- R(`${r}`);
11697
+ j(`${r}`);
11675
11698
  },
11676
11699
  id: `num-plus-${r}`
11677
11700
  }
@@ -11720,13 +11743,13 @@ const kf = ({
11720
11743
  validationOnWithoutText: N,
11721
11744
  absoluteValidationText: M
11722
11745
  }) => {
11723
- const [C, K] = me(null), R = Se(null), H = (z) => {
11746
+ const [C, K] = me(null), j = Se(null), H = (z) => {
11724
11747
  K(z.target.selectionStart), i && i(z);
11725
11748
  };
11726
11749
  ve(() => {
11727
- const z = R.current;
11750
+ const z = j.current;
11728
11751
  z && z.setSelectionRange(C, C);
11729
- }, [R, C, e]);
11752
+ }, [j, C, e]);
11730
11753
  const E = (z) => typeof z == "number" ? `${z}px` : String(z);
11731
11754
  return /* @__PURE__ */ h.jsxs("div", { className: `u-react-input-container ${k}`, style: { position: "relative" }, children: [
11732
11755
  /* @__PURE__ */ h.jsxs(
@@ -11761,7 +11784,7 @@ const kf = ({
11761
11784
  {
11762
11785
  className: `u-react-input u-input ${O || N ? "u-input-required" : ""}`,
11763
11786
  id: r,
11764
- ref: R,
11787
+ ref: j,
11765
11788
  name: o,
11766
11789
  style: Object.assign(
11767
11790
  _ && {
@@ -11983,7 +12006,7 @@ const Mr = (n, a, t) => {
11983
12006
  portalOn: m,
11984
12007
  isSearchable: g
11985
12008
  }) => {
11986
- const [y, x] = me(!1), [k, _] = me(""), [S, O] = me(null), [N, M] = me(null), [C, K] = me(null), R = Se(), H = Ti(k, 300), E = Ao(() => t.filter((B) => B.label.toLowerCase().includes((H || "").toLowerCase())), [H, t]), z = Er(() => {
12009
+ const [y, x] = me(!1), [k, _] = me(""), [S, O] = me(null), [N, M] = me(null), [C, K] = me(null), j = Se(), H = Ti(k, 300), E = Ao(() => t.filter((B) => B.label.toLowerCase().includes((H || "").toLowerCase())), [H, t]), z = Er(() => {
11987
12010
  x(!1), O(null);
11988
12011
  }), X = Se(null), se = Se(null), Z = Se(null);
11989
12012
  Mr(Z, X, () => {
@@ -11991,32 +12014,32 @@ const Mr = (n, a, t) => {
11991
12014
  });
11992
12015
  const ae = (B) => {
11993
12016
  if (B) {
11994
- const { x: j, y: f, width: p, height: b } = B.getBoundingClientRect();
11995
- O({ x: j, y: f + 60 + b + window.scrollY }), K(p), se.current = f + window.scrollY;
12017
+ const { x: R, y: f, width: p, height: b } = B.getBoundingClientRect();
12018
+ O({ x: R, y: f + 60 + b + window.scrollY }), K(p), se.current = f + window.scrollY;
11996
12019
  } else
11997
12020
  O(null), se.current = null;
11998
12021
  }, le = (B) => {
11999
- r.some((j) => j.value == B.value) ? o(r.filter((j) => j.value != B.value)) : o([...r, B]), g && (_(""), R.current.focus());
12022
+ r.some((R) => R.value == B.value) ? o(r.filter((R) => R.value != B.value)) : o([...r, B]), g && (_(""), j.current.focus());
12000
12023
  }, ne = (B) => {
12001
- o(r.filter((j) => j.value != B.value));
12024
+ o(r.filter((R) => R.value != B.value));
12002
12025
  };
12003
12026
  return ve(() => {
12004
12027
  const B = X.current;
12005
12028
  if (!B) return;
12006
- const j = new ResizeObserver(() => {
12029
+ const R = new ResizeObserver(() => {
12007
12030
  const { x: f, y: p, width: b, height: v } = B.getBoundingClientRect();
12008
12031
  O({ x: f, y: p + 60 + v + window.scrollY }), K(b);
12009
12032
  });
12010
- return j.observe(B), () => {
12011
- j.disconnect();
12033
+ return R.observe(B), () => {
12034
+ R.disconnect();
12012
12035
  };
12013
12036
  }, [X]), ve(() => {
12014
12037
  ae(N);
12015
12038
  }, [N]), ve(() => {
12016
12039
  const B = setInterval(() => {
12017
12040
  if (N) {
12018
- const j = N.getBoundingClientRect();
12019
- j && j.y !== se.current && ae(N);
12041
+ const R = N.getBoundingClientRect();
12042
+ R && R.y !== se.current && ae(N);
12020
12043
  }
12021
12044
  }, 1);
12022
12045
  return () => {
@@ -12045,7 +12068,7 @@ const Mr = (n, a, t) => {
12045
12068
  {
12046
12069
  className: y ? "u-multiselectbox-select u-multiselectbox-select-open" : "u-multiselectbox-select",
12047
12070
  onClick: (B) => {
12048
- y ? M(null) : (g && R.current.focus(), m && M(B.currentTarget)), x(!y);
12071
+ y ? M(null) : (g && j.current.focus(), m && M(B.currentTarget)), x(!y);
12049
12072
  },
12050
12073
  style: Object.assign(
12051
12074
  s ? {
@@ -12068,7 +12091,7 @@ const Mr = (n, a, t) => {
12068
12091
  children: e
12069
12092
  }
12070
12093
  ) : /* @__PURE__ */ h.jsx(h.Fragment, {}),
12071
- r == null ? void 0 : r.map((B, j) => /* @__PURE__ */ h.jsx("div", { className: "u-multiselectbox-select-item-wrapper", children: /* @__PURE__ */ h.jsxs(
12094
+ r == null ? void 0 : r.map((B, R) => /* @__PURE__ */ h.jsx("div", { className: "u-multiselectbox-select-item-wrapper", children: /* @__PURE__ */ h.jsxs(
12072
12095
  "div",
12073
12096
  {
12074
12097
  className: "u-multiselectbox-select-item-container",
@@ -12095,11 +12118,11 @@ const Mr = (n, a, t) => {
12095
12118
  )
12096
12119
  ]
12097
12120
  }
12098
- ) }, j)),
12121
+ ) }, R)),
12099
12122
  g && /* @__PURE__ */ h.jsx(
12100
12123
  "input",
12101
12124
  {
12102
- ref: R,
12125
+ ref: j,
12103
12126
  className: "u-multiselectbox-search",
12104
12127
  value: k,
12105
12128
  onChange: (B) => _(B.target.value),
@@ -12141,7 +12164,7 @@ const Mr = (n, a, t) => {
12141
12164
  zIndex: 1e3,
12142
12165
  display: "block"
12143
12166
  },
12144
- children: E.map((B, j) => /* @__PURE__ */ h.jsx(
12167
+ children: E.map((B, R) => /* @__PURE__ */ h.jsx(
12145
12168
  "div",
12146
12169
  {
12147
12170
  className: "u-multiselectbox-option",
@@ -12178,7 +12201,7 @@ const Mr = (n, a, t) => {
12178
12201
  }
12179
12202
  )
12180
12203
  },
12181
- j
12204
+ R
12182
12205
  ))
12183
12206
  }
12184
12207
  ),
@@ -12187,7 +12210,7 @@ const Mr = (n, a, t) => {
12187
12210
  "div",
12188
12211
  {
12189
12212
  className: "u-multiselectbox-options",
12190
- children: E.map((B, j) => /* @__PURE__ */ h.jsx(
12213
+ children: E.map((B, R) => /* @__PURE__ */ h.jsx(
12191
12214
  "div",
12192
12215
  {
12193
12216
  className: "u-multiselectbox-option",
@@ -12224,7 +12247,7 @@ const Mr = (n, a, t) => {
12224
12247
  }
12225
12248
  )
12226
12249
  },
12227
- j
12250
+ R
12228
12251
  ))
12229
12252
  }
12230
12253
  )
@@ -12496,7 +12519,7 @@ const Pf = ({
12496
12519
  disabled: S,
12497
12520
  portalOn: O
12498
12521
  }) => {
12499
- const [N, M] = me(!1), [C, K] = me(""), [R, H] = me(null), [E, z] = me(null), [X, se] = me(null), Z = Er(() => {
12522
+ const [N, M] = me(!1), [C, K] = me(""), [j, H] = me(null), [E, z] = me(null), [X, se] = me(null), Z = Er(() => {
12500
12523
  M(!1), H(null);
12501
12524
  }), ae = Se(null), le = Se(null), ne = Se(null);
12502
12525
  Mr(ne, ae, () => {
@@ -12504,7 +12527,7 @@ const Pf = ({
12504
12527
  });
12505
12528
  const B = t.filter(
12506
12529
  (p) => p.label.toLowerCase().includes(C.toLowerCase())
12507
- ), j = (p) => typeof p == "number" ? `${p}px` : String(p), f = (p) => {
12530
+ ), R = (p) => typeof p == "number" ? `${p}px` : String(p), f = (p) => {
12508
12531
  if (p) {
12509
12532
  const { x: b, y: v, width: c } = p.getBoundingClientRect();
12510
12533
  H({ x: b, y: v + 90 + window.scrollY }), se(c), le.current = v + window.scrollY;
@@ -12547,8 +12570,8 @@ const Pf = ({
12547
12570
  {
12548
12571
  display: "flex",
12549
12572
  flexDirection: i ? "row" : "column",
12550
- rowGap: i ? null : j(s),
12551
- columnGap: i ? j(l) : null
12573
+ rowGap: i ? null : R(s),
12574
+ columnGap: i ? R(l) : null
12552
12575
  },
12553
12576
  e
12554
12577
  ),
@@ -12605,13 +12628,13 @@ const Pf = ({
12605
12628
  placeholder: u != null && u.label && Object.keys(u).length ? u.label : d
12606
12629
  }
12607
12630
  ),
12608
- N && O ? R && Rn(
12631
+ N && O ? j && Rn(
12609
12632
  /* @__PURE__ */ h.jsx(
12610
12633
  "div",
12611
12634
  {
12612
12635
  ref: ne,
12613
12636
  className: "u-selectbox-options",
12614
- style: { width: X, left: R == null ? void 0 : R.x, top: (R == null ? void 0 : R.y) - 60, opacity: 1, visibility: "visible", height: "fit-content", zIndex: 1e3, display: "block" },
12637
+ style: { width: X, left: j == null ? void 0 : j.x, top: (j == null ? void 0 : j.y) - 60, opacity: 1, visibility: "visible", height: "fit-content", zIndex: 1e3, display: "block" },
12615
12638
  children: B.map((p, b) => /* @__PURE__ */ h.jsx(
12616
12639
  "div",
12617
12640
  {
@@ -12708,13 +12731,13 @@ const Nf = ({
12708
12731
  portalOn: N,
12709
12732
  noScroll: M
12710
12733
  }) => {
12711
- const [C, K] = me(!1), [R, H] = me(null), [E, z] = me(null), [X, se] = me(null), Z = Er(() => {
12734
+ const [C, K] = me(!1), [j, H] = me(null), [E, z] = me(null), [X, se] = me(null), Z = Er(() => {
12712
12735
  K(!1), H(null);
12713
12736
  }), ae = Se(null), le = Se(null), ne = Se(null);
12714
12737
  Mr(ne, ae, () => {
12715
12738
  K(!1), z(null);
12716
12739
  });
12717
- const B = (f) => typeof f == "number" ? `${f}px` : String(f), j = (f) => {
12740
+ const B = (f) => typeof f == "number" ? `${f}px` : String(f), R = (f) => {
12718
12741
  if (f) {
12719
12742
  const { x: p, y: b, width: v } = f.getBoundingClientRect();
12720
12743
  H({ x: p, y: b + 90 + window.scrollY }), se(v), le.current = b + window.scrollY;
@@ -12722,12 +12745,12 @@ const Nf = ({
12722
12745
  H(null), le.current = null;
12723
12746
  };
12724
12747
  return ve(() => {
12725
- j(E);
12748
+ R(E);
12726
12749
  }, [E]), ve(() => {
12727
12750
  const f = setInterval(() => {
12728
12751
  if (E) {
12729
12752
  const p = E.getBoundingClientRect();
12730
- p && p.y !== le.current && j(E);
12753
+ p && p.y !== le.current && R(E);
12731
12754
  }
12732
12755
  }, 1);
12733
12756
  return () => {
@@ -12827,14 +12850,14 @@ const Nf = ({
12827
12850
  ]
12828
12851
  }
12829
12852
  ),
12830
- N ? R && Rn(
12853
+ N ? j && Rn(
12831
12854
  /* @__PURE__ */ h.jsx(
12832
12855
  "div",
12833
12856
  {
12834
12857
  ref: ne,
12835
12858
  className: "u-selectbox-options",
12836
12859
  style: Object.assign(
12837
- { width: X, left: R == null ? void 0 : R.x, top: (R == null ? void 0 : R.y) - 60, opacity: 1, height: "fit-content", zIndex: 1e3, display: "block" },
12860
+ { width: X, left: j == null ? void 0 : j.x, top: (j == null ? void 0 : j.y) - 60, opacity: 1, height: "fit-content", zIndex: 1e3, display: "block" },
12838
12861
  M ? {
12839
12862
  maxHeight: "none"
12840
12863
  } : {}
@@ -13057,7 +13080,7 @@ const jf = (n, a, t, e) => {
13057
13080
  resize: M,
13058
13081
  onDrop: C,
13059
13082
  maxHeight: K,
13060
- minHeight: R,
13083
+ minHeight: j,
13061
13084
  whereFindChecked: H = "",
13062
13085
  filterEmptyLabel: E = "Не указано",
13063
13086
  virtualizationOn: z,
@@ -13068,7 +13091,7 @@ const jf = (n, a, t, e) => {
13068
13091
  withoutHeader: le,
13069
13092
  filterResetParam: ne,
13070
13093
  isLoading: B,
13071
- isLoadingPreloader: j,
13094
+ isLoadingPreloader: R,
13072
13095
  initialSkeletonRows: f = 10,
13073
13096
  initialSkeletonRowHeight: p = 32,
13074
13097
  preloaderHeight: b = 750
@@ -13327,16 +13350,16 @@ const jf = (n, a, t, e) => {
13327
13350
  );
13328
13351
  }, 0);
13329
13352
  }, [B, I]), ve(() => {
13330
- !j && I.length > 0 && setTimeout(() => {
13353
+ !R && I.length > 0 && setTimeout(() => {
13331
13354
  const V = document.querySelector(`#${O} .table tbody`);
13332
13355
  V && Or(V.getBoundingClientRect().height);
13333
13356
  }, 0);
13334
- }, [j, I]), /* @__PURE__ */ h.jsx(h.Fragment, { children: (n == null ? void 0 : n.length) !== 0 || (n == null ? void 0 : n.length) === 0 && x ? /* @__PURE__ */ h.jsx(
13357
+ }, [R, I]), /* @__PURE__ */ h.jsx(h.Fragment, { children: (n == null ? void 0 : n.length) !== 0 || (n == null ? void 0 : n.length) === 0 && x ? /* @__PURE__ */ h.jsx(
13335
13358
  "div",
13336
13359
  {
13337
13360
  id: O,
13338
13361
  className: `u-table${["horizontal", "vertical", "none", "both"].includes(t) ? Ff(t) : ""}${e ? " striped" : ""}${r ? " not-active-lines" : ""}${o ? " thead-fixed" : ""}${i ? " header-borders" : ""}${k ? " " + k : ""}`,
13339
- style: { maxHeight: K, minHeight: R },
13362
+ style: { maxHeight: K, minHeight: j },
13340
13363
  ref: Ee,
13341
13364
  children: /* @__PURE__ */ h.jsxs("table", { className: "table", children: [
13342
13365
  !le && /* @__PURE__ */ h.jsx("thead", { style: { zIndex: "2" }, children: /* @__PURE__ */ h.jsx("tr", { children: Q == null ? void 0 : Q.map(
@@ -13431,7 +13454,7 @@ const jf = (n, a, t, e) => {
13431
13454
  );
13432
13455
  }
13433
13456
  ) }) }),
13434
- /* @__PURE__ */ h.jsx("tbody", { children: j && (!B || B && et.current.length === 0) ? /* @__PURE__ */ h.jsx("tr", { children: /* @__PURE__ */ h.jsx(
13457
+ /* @__PURE__ */ h.jsx("tbody", { children: R && (!B || B && et.current.length === 0) ? /* @__PURE__ */ h.jsx("tr", { children: /* @__PURE__ */ h.jsx(
13435
13458
  "td",
13436
13459
  {
13437
13460
  colSpan: Q.length,
@@ -13589,8 +13612,8 @@ const Bf = ({
13589
13612
  }, [_]);
13590
13613
  const O = na((M, C, K) => {
13591
13614
  clearTimeout(_);
13592
- const { x: R, y: H, width: E } = M.currentTarget.getBoundingClientRect();
13593
- s({ x: R + E / 2, y: H + 12 + window.scrollY - l + 37 }), m(C), y(`u-tooltip${K}`);
13615
+ const { x: j, y: H, width: E } = M.currentTarget.getBoundingClientRect();
13616
+ s({ x: j + E / 2, y: H + 12 + window.scrollY - l + 37 }), m(C), y(`u-tooltip${K}`);
13594
13617
  const z = setTimeout(() => {
13595
13618
  k(!0);
13596
13619
  }, 100);
@@ -13638,8 +13661,8 @@ const qf = ({
13638
13661
  disabled: M,
13639
13662
  isSearchable: C
13640
13663
  }) => {
13641
- const [K, R] = me(""), [H, E] = me(null), [z, X] = me(null), [se, Z] = me([]), [ae, le] = me(!1), ne = Se(null), B = Se(null), j = Se(null), f = Se(), p = Ti(K, 300), b = Ao(() => S.filter((P) => P.title.toLowerCase().includes((p || "").toLowerCase())), [p, S]);
13642
- Mr(j, ne, () => {
13664
+ const [K, j] = me(""), [H, E] = me(null), [z, X] = me(null), [se, Z] = me([]), [ae, le] = me(!1), ne = Se(null), B = Se(null), R = Se(null), f = Se(), p = Ti(K, 300), b = Ao(() => S.filter((P) => P.title.toLowerCase().includes((p || "").toLowerCase())), [p, S]);
13665
+ Mr(R, ne, () => {
13643
13666
  le(!1), X(null);
13644
13667
  });
13645
13668
  const v = (P) => typeof P == "number" ? `${P}px` : String(P), c = (P, I) => {
@@ -13670,7 +13693,7 @@ const qf = ({
13670
13693
  }, W = ({ node: P, counter: I }) => {
13671
13694
  const Y = S.filter((te) => te.parentId === P.id), Q = I + 1, $ = se == null ? void 0 : se.includes(P.id), J = T(P), q = () => {
13672
13695
  var te;
13673
- m(P), le(!1), X(null), C && (R(""), (te = f == null ? void 0 : f.current) == null || te.focus());
13696
+ m(P), le(!1), X(null), C && (j(""), (te = f == null ? void 0 : f.current) == null || te.focus());
13674
13697
  };
13675
13698
  return /* @__PURE__ */ h.jsxs("ul", { className: "treeview-list", children: [
13676
13699
  /* @__PURE__ */ h.jsxs(
@@ -13740,7 +13763,7 @@ const qf = ({
13740
13763
  {
13741
13764
  onClick: (P) => {
13742
13765
  var I;
13743
- ae ? X(null) : (C && ((I = f == null ? void 0 : f.current) == null || I.focus(), R("")), O && X(P.currentTarget)), le(!ae);
13766
+ ae ? X(null) : (C && ((I = f == null ? void 0 : f.current) == null || I.focus(), j("")), O && X(P.currentTarget)), le(!ae);
13744
13767
  },
13745
13768
  className: `u-selectbox-select ${ae ? "u-selectbox-select-open" : ""}`,
13746
13769
  id: `u-selectbox-select${N}`,
@@ -13783,7 +13806,7 @@ const qf = ({
13783
13806
  className: ae ? "treeview__search" : "treeview__search_disabled",
13784
13807
  placeholder: l || "Введите значение",
13785
13808
  value: K,
13786
- onChange: (P) => R(P.target.value),
13809
+ onChange: (P) => j(P.target.value),
13787
13810
  onClick: (P) => {
13788
13811
  ae && P.stopPropagation();
13789
13812
  },
@@ -13823,7 +13846,7 @@ const qf = ({
13823
13846
  /* @__PURE__ */ h.jsx(
13824
13847
  "div",
13825
13848
  {
13826
- ref: j,
13849
+ ref: R,
13827
13850
  style: { left: H == null ? void 0 : H.x, top: (H == null ? void 0 : H.y) - 60, opacity: 1, visibility: "visible", height: "fit-content", zIndex: 1e3, display: "block", width: "auto" },
13828
13851
  className: "u-selectbox-options",
13829
13852
  children: /* @__PURE__ */ h.jsx("div", { className: "treeview", children: ee == null ? void 0 : ee.map((P) => /* @__PURE__ */ h.jsx(W, { node: P, counter: 0 }, P.id)) })
@@ -13833,7 +13856,7 @@ const qf = ({
13833
13856
  ) : /* @__PURE__ */ h.jsx(
13834
13857
  "div",
13835
13858
  {
13836
- ref: j,
13859
+ ref: R,
13837
13860
  className: "u-selectbox-options",
13838
13861
  children: /* @__PURE__ */ h.jsx("div", { className: "treeview", children: ee == null ? void 0 : ee.map((P) => /* @__PURE__ */ h.jsx(W, { node: P, counter: 0 }, P.id)) })
13839
13862
  }