elcrm 0.9.140 → 0.9.142

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import './index.css';var Xa = Object.defineProperty;
2
2
  var Va = (e, t, n) => t in e ? Xa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var kt = (e, t, n) => Va(e, typeof t != "symbol" ? t + "" : t, n);
4
- import m, { createContext as Rn, useContext as Qa, createElement as In } from "react";
4
+ import m, { createContext as In, useContext as Qa, createElement as Rn } from "react";
5
5
  let At = {
6
6
  enCode: (e) => e,
7
7
  deCode: (e) => e
@@ -56,36 +56,36 @@ function ar() {
56
56
  var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
57
57
  function j(d) {
58
58
  {
59
- for (var k = arguments.length, D = new Array(k > 1 ? k - 1 : 0), F = 1; F < k; F++)
60
- D[F - 1] = arguments[F];
61
- E("error", d, D);
59
+ for (var k = arguments.length, I = new Array(k > 1 ? k - 1 : 0), F = 1; F < k; F++)
60
+ I[F - 1] = arguments[F];
61
+ E("error", d, I);
62
62
  }
63
63
  }
64
- function E(d, k, D) {
64
+ function E(d, k, I) {
65
65
  {
66
66
  var F = y.ReactDebugCurrentFrame, z = F.getStackAddendum();
67
- z !== "" && (k += "%s", D = D.concat([z]));
68
- var K = D.map(function(G) {
67
+ z !== "" && (k += "%s", I = I.concat([z]));
68
+ var K = I.map(function(G) {
69
69
  return String(G);
70
70
  });
71
71
  K.unshift("Warning: " + k), Function.prototype.apply.call(console[d], console, K);
72
72
  }
73
73
  }
74
- var L = !1, $ = !1, I = !1, T = !1, w = !1, O;
74
+ var M = !1, R = !1, D = !1, N = !1, w = !1, O;
75
75
  O = Symbol.for("react.module.reference");
76
76
  function B(d) {
77
- return !!(typeof d == "string" || typeof d == "function" || d === r || d === i || w || d === s || d === _ || d === u || T || d === h || L || $ || I || typeof d == "object" && d !== null && (d.$$typeof === f || d.$$typeof === v || d.$$typeof === o || d.$$typeof === l || d.$$typeof === c || // This needs to include all possible module reference object
77
+ return !!(typeof d == "string" || typeof d == "function" || d === r || d === i || w || d === s || d === _ || d === u || N || d === h || M || R || D || typeof d == "object" && d !== null && (d.$$typeof === f || d.$$typeof === v || d.$$typeof === o || d.$$typeof === l || d.$$typeof === c || // This needs to include all possible module reference object
78
78
  // types supported by any Flight configuration anywhere since
79
79
  // we don't know which Flight build this will end up being used
80
80
  // with.
81
81
  d.$$typeof === O || d.getModuleId !== void 0));
82
82
  }
83
- function N(d, k, D) {
83
+ function L(d, k, I) {
84
84
  var F = d.displayName;
85
85
  if (F)
86
86
  return F;
87
87
  var z = k.displayName || k.name || "";
88
- return z !== "" ? D + "(" + z + ")" : D;
88
+ return z !== "" ? I + "(" + z + ")" : I;
89
89
  }
90
90
  function S(d) {
91
91
  return d.displayName || "Context";
@@ -117,10 +117,10 @@ function ar() {
117
117
  var k = d;
118
118
  return S(k) + ".Consumer";
119
119
  case o:
120
- var D = d;
121
- return S(D._context) + ".Provider";
120
+ var I = d;
121
+ return S(I._context) + ".Provider";
122
122
  case c:
123
- return N(d, d.render, "ForwardRef");
123
+ return L(d, d.render, "ForwardRef");
124
124
  case v:
125
125
  var F = d.displayName || null;
126
126
  return F !== null ? F : x(d.type) || "Memo";
@@ -135,14 +135,14 @@ function ar() {
135
135
  }
136
136
  return null;
137
137
  }
138
- var R = Object.assign, Z = 0, J, oe, Ce, Ie, Pe, Qe, Xt;
138
+ var T = Object.assign, Z = 0, J, oe, Ce, Re, Pe, Qe, Xt;
139
139
  function Vt() {
140
140
  }
141
141
  Vt.__reactDisabledLog = !0;
142
142
  function ba() {
143
143
  {
144
144
  if (Z === 0) {
145
- J = console.log, oe = console.info, Ce = console.warn, Ie = console.error, Pe = console.group, Qe = console.groupCollapsed, Xt = console.groupEnd;
145
+ J = console.log, oe = console.info, Ce = console.warn, Re = console.error, Pe = console.group, Qe = console.groupCollapsed, Xt = console.groupEnd;
146
146
  var d = {
147
147
  configurable: !0,
148
148
  enumerable: !0,
@@ -171,25 +171,25 @@ function ar() {
171
171
  writable: !0
172
172
  };
173
173
  Object.defineProperties(console, {
174
- log: R({}, d, {
174
+ log: T({}, d, {
175
175
  value: J
176
176
  }),
177
- info: R({}, d, {
177
+ info: T({}, d, {
178
178
  value: oe
179
179
  }),
180
- warn: R({}, d, {
180
+ warn: T({}, d, {
181
181
  value: Ce
182
182
  }),
183
- error: R({}, d, {
184
- value: Ie
183
+ error: T({}, d, {
184
+ value: Re
185
185
  }),
186
- group: R({}, d, {
186
+ group: T({}, d, {
187
187
  value: Pe
188
188
  }),
189
- groupCollapsed: R({}, d, {
189
+ groupCollapsed: T({}, d, {
190
190
  value: Qe
191
191
  }),
192
- groupEnd: R({}, d, {
192
+ groupEnd: T({}, d, {
193
193
  value: Xt
194
194
  })
195
195
  });
@@ -198,7 +198,7 @@ function ar() {
198
198
  }
199
199
  }
200
200
  var ft = y.ReactCurrentDispatcher, mt;
201
- function et(d, k, D) {
201
+ function et(d, k, I) {
202
202
  {
203
203
  if (mt === void 0)
204
204
  try {
@@ -220,9 +220,9 @@ function ar() {
220
220
  if (!d || ht)
221
221
  return "";
222
222
  {
223
- var D = tt.get(d);
224
- if (D !== void 0)
225
- return D;
223
+ var I = tt.get(d);
224
+ if (I !== void 0)
225
+ return I;
226
226
  }
227
227
  var F;
228
228
  ht = !0;
@@ -287,14 +287,14 @@ function ar() {
287
287
  var Ne = d ? d.displayName || d.name : "", Ee = Ne ? et(Ne) : "";
288
288
  return typeof d == "function" && tt.set(d, Ee), Ee;
289
289
  }
290
- function Ea(d, k, D) {
290
+ function Ea(d, k, I) {
291
291
  return Qt(d, !1);
292
292
  }
293
293
  function Da(d) {
294
294
  var k = d.prototype;
295
295
  return !!(k && k.isReactComponent);
296
296
  }
297
- function nt(d, k, D) {
297
+ function nt(d, k, I) {
298
298
  if (d == null)
299
299
  return "";
300
300
  if (typeof d == "function")
@@ -312,11 +312,11 @@ function ar() {
312
312
  case c:
313
313
  return Ea(d.render);
314
314
  case v:
315
- return nt(d.type, k, D);
315
+ return nt(d.type, k, I);
316
316
  case f: {
317
317
  var F = d, z = F._payload, K = F._init;
318
318
  try {
319
- return nt(K(z), k, D);
319
+ return nt(K(z), k, I);
320
320
  } catch {
321
321
  }
322
322
  }
@@ -326,12 +326,12 @@ function ar() {
326
326
  var Oe = Object.prototype.hasOwnProperty, en = {}, tn = y.ReactDebugCurrentFrame;
327
327
  function at(d) {
328
328
  if (d) {
329
- var k = d._owner, D = nt(d.type, d._source, k ? k.type : null);
330
- tn.setExtraStackFrame(D);
329
+ var k = d._owner, I = nt(d.type, d._source, k ? k.type : null);
330
+ tn.setExtraStackFrame(I);
331
331
  } else
332
332
  tn.setExtraStackFrame(null);
333
333
  }
334
- function Ra(d, k, D, F, z) {
334
+ function Ia(d, k, I, F, z) {
335
335
  {
336
336
  var K = Function.call.bind(Oe);
337
337
  for (var G in d)
@@ -339,25 +339,25 @@ function ar() {
339
339
  var U = void 0;
340
340
  try {
341
341
  if (typeof d[G] != "function") {
342
- var ne = Error((F || "React class") + ": " + D + " type `" + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof d[G] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
342
+ var ne = Error((F || "React class") + ": " + I + " type `" + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof d[G] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
343
343
  throw ne.name = "Invariant Violation", ne;
344
344
  }
345
- U = d[G](k, G, F, D, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
345
+ U = d[G](k, G, F, I, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
346
346
  } catch (X) {
347
347
  U = X;
348
348
  }
349
- U && !(U instanceof Error) && (at(z), j("%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).", F || "React class", D, G, typeof U), at(null)), U instanceof Error && !(U.message in en) && (en[U.message] = !0, at(z), j("Failed %s type: %s", D, U.message), at(null));
349
+ U && !(U instanceof Error) && (at(z), j("%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).", F || "React class", I, G, typeof U), at(null)), U instanceof Error && !(U.message in en) && (en[U.message] = !0, at(z), j("Failed %s type: %s", I, U.message), at(null));
350
350
  }
351
351
  }
352
352
  }
353
- var Ia = Array.isArray;
353
+ var Ra = Array.isArray;
354
354
  function pt(d) {
355
- return Ia(d);
355
+ return Ra(d);
356
356
  }
357
357
  function Ta(d) {
358
358
  {
359
- var k = typeof Symbol == "function" && Symbol.toStringTag, D = k && d[Symbol.toStringTag] || d.constructor.name || "Object";
360
- return D;
359
+ var k = typeof Symbol == "function" && Symbol.toStringTag, I = k && d[Symbol.toStringTag] || d.constructor.name || "Object";
360
+ return I;
361
361
  }
362
362
  }
363
363
  function Na(d) {
@@ -399,40 +399,40 @@ function ar() {
399
399
  }
400
400
  function Ba(d, k) {
401
401
  if (typeof d.ref == "string" && Ae.current && k && Ae.current.stateNode !== k) {
402
- var D = x(Ae.current.type);
403
- gt[D] || (j('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', x(Ae.current.type), d.ref), gt[D] = !0);
402
+ var I = x(Ae.current.type);
403
+ gt[I] || (j('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', x(Ae.current.type), d.ref), gt[I] = !0);
404
404
  }
405
405
  }
406
406
  function Fa(d, k) {
407
407
  {
408
- var D = function() {
408
+ var I = function() {
409
409
  rn || (rn = !0, j("%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)", k));
410
410
  };
411
- D.isReactWarning = !0, Object.defineProperty(d, "key", {
412
- get: D,
411
+ I.isReactWarning = !0, Object.defineProperty(d, "key", {
412
+ get: I,
413
413
  configurable: !0
414
414
  });
415
415
  }
416
416
  }
417
417
  function Pa(d, k) {
418
418
  {
419
- var D = function() {
419
+ var I = function() {
420
420
  sn || (sn = !0, j("%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)", k));
421
421
  };
422
- D.isReactWarning = !0, Object.defineProperty(d, "ref", {
423
- get: D,
422
+ I.isReactWarning = !0, Object.defineProperty(d, "ref", {
423
+ get: I,
424
424
  configurable: !0
425
425
  });
426
426
  }
427
427
  }
428
- var Oa = function(d, k, D, F, z, K, G) {
428
+ var Oa = function(d, k, I, F, z, K, G) {
429
429
  var U = {
430
430
  // This tag allows us to uniquely identify this as a React Element
431
431
  $$typeof: t,
432
432
  // Built-in properties that belong on the element
433
433
  type: d,
434
434
  key: k,
435
- ref: D,
435
+ ref: I,
436
436
  props: G,
437
437
  // Record the component responsible for creating this element.
438
438
  _owner: K
@@ -454,10 +454,10 @@ function ar() {
454
454
  value: z
455
455
  }), Object.freeze && (Object.freeze(U.props), Object.freeze(U)), U;
456
456
  };
457
- function Aa(d, k, D, F, z) {
457
+ function Aa(d, k, I, F, z) {
458
458
  {
459
459
  var K, G = {}, U = null, ne = null;
460
- D !== void 0 && (an(D), U = "" + D), $a(k) && (an(k.key), U = "" + k.key), La(k) && (ne = k.ref, Ba(k, z));
460
+ I !== void 0 && (an(I), U = "" + I), $a(k) && (an(k.key), U = "" + k.key), La(k) && (ne = k.ref, Ba(k, z));
461
461
  for (K in k)
462
462
  Oe.call(k, K) && !Ma.hasOwnProperty(K) && (G[K] = k[K]);
463
463
  if (d && d.defaultProps) {
@@ -475,8 +475,8 @@ function ar() {
475
475
  var xt = y.ReactCurrentOwner, on = y.ReactDebugCurrentFrame;
476
476
  function Te(d) {
477
477
  if (d) {
478
- var k = d._owner, D = nt(d.type, d._source, k ? k.type : null);
479
- on.setExtraStackFrame(D);
478
+ var k = d._owner, I = nt(d.type, d._source, k ? k.type : null);
479
+ on.setExtraStackFrame(I);
480
480
  } else
481
481
  on.setExtraStackFrame(null);
482
482
  }
@@ -505,10 +505,10 @@ Check the render method of \`` + d + "`.";
505
505
  {
506
506
  var k = ln();
507
507
  if (!k) {
508
- var D = typeof d == "string" ? d : d.displayName || d.name;
509
- D && (k = `
508
+ var I = typeof d == "string" ? d : d.displayName || d.name;
509
+ I && (k = `
510
510
 
511
- Check the top-level render call using <` + D + ">.");
511
+ Check the top-level render call using <` + I + ">.");
512
512
  }
513
513
  return k;
514
514
  }
@@ -518,12 +518,12 @@ Check the top-level render call using <` + D + ">.");
518
518
  if (!d._store || d._store.validated || d.key != null)
519
519
  return;
520
520
  d._store.validated = !0;
521
- var D = Ga(k);
522
- if (cn[D])
521
+ var I = Ga(k);
522
+ if (cn[I])
523
523
  return;
524
- cn[D] = !0;
524
+ cn[I] = !0;
525
525
  var F = "";
526
- d && d._owner && d._owner !== xt.current && (F = " It was passed a child from " + x(d._owner.type) + "."), Te(d), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', D, F), Te(null);
526
+ d && d._owner && d._owner !== xt.current && (F = " It was passed a child from " + x(d._owner.type) + "."), Te(d), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', I, F), Te(null);
527
527
  }
528
528
  }
529
529
  function _n(d, k) {
@@ -531,8 +531,8 @@ Check the top-level render call using <` + D + ">.");
531
531
  if (typeof d != "object")
532
532
  return;
533
533
  if (pt(d))
534
- for (var D = 0; D < d.length; D++) {
535
- var F = d[D];
534
+ for (var I = 0; I < d.length; I++) {
535
+ var F = d[I];
536
536
  Ct(F) && dn(F, k);
537
537
  }
538
538
  else if (Ct(d))
@@ -550,18 +550,18 @@ Check the top-level render call using <` + D + ">.");
550
550
  var k = d.type;
551
551
  if (k == null || typeof k == "string")
552
552
  return;
553
- var D;
553
+ var I;
554
554
  if (typeof k == "function")
555
- D = k.propTypes;
555
+ I = k.propTypes;
556
556
  else if (typeof k == "object" && (k.$$typeof === c || // Note: Memo only checks outer props here.
557
557
  // Inner props are checked in the reconciler.
558
558
  k.$$typeof === v))
559
- D = k.propTypes;
559
+ I = k.propTypes;
560
560
  else
561
561
  return;
562
- if (D) {
562
+ if (I) {
563
563
  var F = x(k);
564
- Ra(D, d.props, "prop", F, d);
564
+ Ia(I, d.props, "prop", F, d);
565
565
  } else if (k.PropTypes !== void 0 && !vt) {
566
566
  vt = !0;
567
567
  var z = x(k);
@@ -572,8 +572,8 @@ Check the top-level render call using <` + D + ">.");
572
572
  }
573
573
  function za(d) {
574
574
  {
575
- for (var k = Object.keys(d.props), D = 0; D < k.length; D++) {
576
- var F = k[D];
575
+ for (var k = Object.keys(d.props), I = 0; I < k.length; I++) {
576
+ var F = k[I];
577
577
  if (F !== "children" && F !== "key") {
578
578
  Te(d), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", F), Te(null);
579
579
  break;
@@ -583,7 +583,7 @@ Check the top-level render call using <` + D + ">.");
583
583
  }
584
584
  }
585
585
  var un = {};
586
- function fn(d, k, D, F, z, K) {
586
+ function fn(d, k, I, F, z, K) {
587
587
  {
588
588
  var G = B(d);
589
589
  if (!G) {
@@ -594,7 +594,7 @@ Check the top-level render call using <` + D + ">.");
594
594
  var X;
595
595
  d === null ? X = "null" : pt(d) ? X = "array" : d !== void 0 && d.$$typeof === t ? (X = "<" + (x(d.type) || "Unknown") + " />", U = " Did you accidentally export a JSX literal instead of a component?") : X = typeof d, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", X, U);
596
596
  }
597
- var ee = Aa(d, k, D, z, K);
597
+ var ee = Aa(d, k, I, z, K);
598
598
  if (ee == null)
599
599
  return ee;
600
600
  if (G) {
@@ -627,11 +627,11 @@ React keys must be passed directly to JSX without using spread:
627
627
  return d === r ? za(ee) : Za(ee), ee;
628
628
  }
629
629
  }
630
- function Wa(d, k, D) {
631
- return fn(d, k, D, !0);
630
+ function Wa(d, k, I) {
631
+ return fn(d, k, I, !0);
632
632
  }
633
- function Ka(d, k, D) {
634
- return fn(d, k, D, !1);
633
+ function Ka(d, k, I) {
634
+ return fn(d, k, I, !1);
635
635
  }
636
636
  var Ha = Ka, Ya = Wa;
637
637
  Ge.Fragment = r, Ge.jsx = Ha, Ge.jsxs = Ya;
@@ -826,13 +826,13 @@ function Dr() {
826
826
  };
827
827
  return A.page = n, [e];
828
828
  }
829
- function Rr(e, t = !0) {
829
+ function Ir(e, t = !0) {
830
830
  b.page = e, sessionStorage.setItem("f", P.enCode(b)), A.dynamicURL && A.dynamicURL(b), t && A.page(e);
831
831
  }
832
832
  function Mn() {
833
833
  return b.page;
834
834
  }
835
- function Ir(e) {
835
+ function Rr(e) {
836
836
  return b.page === e;
837
837
  }
838
838
  function Tr(e) {
@@ -1254,7 +1254,7 @@ async function Ds(e, t = {}, n = $e ? Q.getSSID() : Q.getAUTH()) {
1254
1254
  return { status: "error", message: r };
1255
1255
  }
1256
1256
  }
1257
- function Rs(e, t = {}, n = $e ? Q.getSSID() : Q.getAUTH()) {
1257
+ function Is(e, t = {}, n = $e ? Q.getSSID() : Q.getAUTH()) {
1258
1258
  return new Promise((r) => {
1259
1259
  const s = new Wn();
1260
1260
  s.onmessage = (i) => {
@@ -1267,7 +1267,7 @@ function Rs(e, t = {}, n = $e ? Q.getSSID() : Q.getAUTH()) {
1267
1267
  });
1268
1268
  });
1269
1269
  }
1270
- function Is(e, t = {}, n = $e ? Q.getSSID() : Q.getAUTH()) {
1270
+ function Rs(e, t = {}, n = $e ? Q.getSSID() : Q.getAUTH()) {
1271
1271
  const [r, s] = m.useState({ status: "load" }), i = async (o) => {
1272
1272
  let l = await Xe(e, o, n);
1273
1273
  if (l.status === "logaut" || l.status === "logout")
@@ -1316,12 +1316,12 @@ const Dt = {
1316
1316
  audio: ws,
1317
1317
  image: Ss,
1318
1318
  fetch: Xe,
1319
- modules: Rs,
1319
+ modules: Is,
1320
1320
  remoute: Ts,
1321
1321
  url: bs,
1322
1322
  test: Ls,
1323
1323
  telegram: Ns,
1324
- use: Is,
1324
+ use: Rs,
1325
1325
  token: Ms,
1326
1326
  formData: Ds
1327
1327
  };
@@ -1363,16 +1363,16 @@ function Bs(e) {
1363
1363
  };
1364
1364
  }
1365
1365
  const Fs = (e) => {
1366
- function t(E, L) {
1367
- var $, T, I;
1368
- E = E ?? "", L = L ?? 1;
1369
- for (var $ = [], I = 0, T = E.length; I < T; )
1370
- $.push(E.slice(I, I += L));
1371
- return $;
1366
+ function t(E, M) {
1367
+ var R, N, D;
1368
+ E = E ?? "", M = M ?? 1;
1369
+ for (var R = [], D = 0, N = E.length; D < N; )
1370
+ R.push(E.slice(D, D += M));
1371
+ return R;
1372
1372
  }
1373
- function n(E, L) {
1374
- var $ = [2, 0, 1, 1, 1, 2];
1375
- return L[E > 4 && E < 20 ? 2 : $[Math.min(E, 5)]];
1373
+ function n(E, M) {
1374
+ var R = [2, 0, 1, 1, 1, 2];
1375
+ return M[E > 4 && E < 20 ? 2 : R[Math.min(E, 5)]];
1376
1376
  }
1377
1377
  var r = {
1378
1378
  null: "ноль",
@@ -1913,7 +1913,7 @@ const H = {
1913
1913
  s.s = !1, clearInterval(s.i);
1914
1914
  };
1915
1915
  }, [t, n]), /* @__PURE__ */ a.jsx("span", { ref: s });
1916
- }, Od = { Counter: li }, ci = "_alerts_ita6j_1", di = "_menuAnimation_ita6j_1", _i = "_menuItemAnimation_ita6j_1", ui = "_allert_ita6j_111", fi = "_al_ita6j_1", Rt = {
1916
+ }, Od = { Counter: li }, ci = "_alerts_ita6j_1", di = "_menuAnimation_ita6j_1", _i = "_menuItemAnimation_ita6j_1", ui = "_allert_ita6j_111", fi = "_al_ita6j_1", It = {
1917
1917
  alerts: ci,
1918
1918
  menuAnimation: di,
1919
1919
  menuItemAnimation: _i,
@@ -1927,7 +1927,7 @@ function mi() {
1927
1927
  let [e, t] = m.useState("");
1928
1928
  return Ke.set = (n) => t(n), Ke.del = () => t(""), /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
1929
1929
  }
1930
- const hi = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className: Rt.alerts, children: [
1930
+ const hi = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className: It.alerts, children: [
1931
1931
  /* @__PURE__ */ a.jsxs("dl", { children: [
1932
1932
  /* @__PURE__ */ a.jsx("dt", { children: e.title }),
1933
1933
  /* @__PURE__ */ a.jsx("dd", { children: e.text }),
@@ -1945,7 +1945,7 @@ const hi = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === voi
1945
1945
  /* @__PURE__ */ a.jsx(
1946
1946
  "div",
1947
1947
  {
1948
- className: Rt["--body"],
1948
+ className: It["--body"],
1949
1949
  onClick: () => {
1950
1950
  n == null || n(), Ke.del();
1951
1951
  }
@@ -1961,10 +1961,10 @@ const pe = {
1961
1961
  useDynamicURL: xr,
1962
1962
  Path: Or,
1963
1963
  Push: Ar,
1964
- setPage: Rr,
1964
+ setPage: Ir,
1965
1965
  getPage: Mn,
1966
1966
  usePage: Dr,
1967
- isPage: Ir,
1967
+ isPage: Rr,
1968
1968
  setModule: Nr,
1969
1969
  getModule: Ln,
1970
1970
  useModule: Tr,
@@ -2244,10 +2244,10 @@ const Di = ({ data: e, dispatch: t }) => {
2244
2244
  ] }),
2245
2245
  /* @__PURE__ */ a.jsx("div", { className: "--hide", "data-icon": "F038", onClick: () => n(e), children: " " })
2246
2246
  ] });
2247
- }, Ri = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2xldCBhPVtdLHM9bnVsbDtvbmNvbm5lY3Q9ZnVuY3Rpb24obCl7dmFyIHQ9bC5zb3VyY2U7YS5wdXNoKHQpO2NvbnN0IG49ZT0+e3MhPT1udWxsJiZzLnJlYWR5U3RhdGU9PT0xP3Muc2VuZChKU09OLnN0cmluZ2lmeShlKSk6dC5wb3N0TWVzc2FnZSh7dHlwZToibm9TZW5kIn0pfTtsZXQgcj1lPT57aWYocyE9PW51bGwmJnMucmVhZHlTdGF0ZT09PTEpcmV0dXJuIHQucG9zdE1lc3NhZ2Uoe3R5cGU6InRydWUifSk7ZS5say5hZGRyZXNzPT09ImxvY2FsaG9zdCI/cz1uZXcgV2ViU29ja2V0KGB3czovL2xvY2FsaG9zdDoke2UubGsuc29ja2V0KzF9YCk6cz1uZXcgV2ViU29ja2V0KCJ3c3M6Ly8iK2UubGsuYWRkcmVzcysiOiIrKGUubGsuc29ja2V0KzEpKSxzLm9uZXJyb3I9KCk9PnQucG9zdE1lc3NhZ2Uoe3R5cGU6ImVycm9yIn0pLHMub25vcGVuPSgpPT57bih7dHlwZToiY29ubmVjdCIsdWtleTplLnVrZXl9KX0scy5vbm1lc3NhZ2U9bz0+e2xldCBjPUpTT04ucGFyc2Uoby5kYXRhKTthLmZvckVhY2goZD0+e2QucG9zdE1lc3NhZ2UoYyl9KX0scy5vbmNsb3NlPSgpPT50LnBvc3RNZXNzYWdlKHt0eXBlOiJjbG9zZWQifSl9O3Qub25tZXNzYWdlPWZ1bmN0aW9uKGUpe3N3aXRjaChlLmRhdGEudHlwZSl7Y2FzZSJsZW5ndGgiOnJldHVybiB0LnBvc3RNZXNzYWdlKGEubGVuZ3RoKTtjYXNlImFsbCI6cmV0dXJuIGEuZm9yRWFjaChvPT5vLnBvc3RNZXNzYWdlKHthbGw6YS5sZW5ndGh9KSk7Y2FzZSJzZW5kIjpyZXR1cm4gbihlLmRhdGEuanNvbik7Y2FzZSJjb25uZWN0IjpyZXR1cm4gcihlLmRhdGEpO2RlZmF1bHQ6dC5wb3N0TWVzc2FnZSh7dHlwZToiZGVmYXVsdCIsZGF0YTplLmRhdGEuanNvbn0pfX19fSkoKTsK";
2248
- function Ii(e) {
2247
+ }, Ii = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2xldCBhPVtdLHM9bnVsbDtvbmNvbm5lY3Q9ZnVuY3Rpb24obCl7dmFyIHQ9bC5zb3VyY2U7YS5wdXNoKHQpO2NvbnN0IG49ZT0+e3MhPT1udWxsJiZzLnJlYWR5U3RhdGU9PT0xP3Muc2VuZChKU09OLnN0cmluZ2lmeShlKSk6dC5wb3N0TWVzc2FnZSh7dHlwZToibm9TZW5kIn0pfTtsZXQgcj1lPT57aWYocyE9PW51bGwmJnMucmVhZHlTdGF0ZT09PTEpcmV0dXJuIHQucG9zdE1lc3NhZ2Uoe3R5cGU6InRydWUifSk7ZS5say5hZGRyZXNzPT09ImxvY2FsaG9zdCI/cz1uZXcgV2ViU29ja2V0KGB3czovL2xvY2FsaG9zdDoke2UubGsuc29ja2V0KzF9YCk6cz1uZXcgV2ViU29ja2V0KCJ3c3M6Ly8iK2UubGsuYWRkcmVzcysiOiIrKGUubGsuc29ja2V0KzEpKSxzLm9uZXJyb3I9KCk9PnQucG9zdE1lc3NhZ2Uoe3R5cGU6ImVycm9yIn0pLHMub25vcGVuPSgpPT57bih7dHlwZToiY29ubmVjdCIsdWtleTplLnVrZXl9KX0scy5vbm1lc3NhZ2U9bz0+e2xldCBjPUpTT04ucGFyc2Uoby5kYXRhKTthLmZvckVhY2goZD0+e2QucG9zdE1lc3NhZ2UoYyl9KX0scy5vbmNsb3NlPSgpPT50LnBvc3RNZXNzYWdlKHt0eXBlOiJjbG9zZWQifSl9O3Qub25tZXNzYWdlPWZ1bmN0aW9uKGUpe3N3aXRjaChlLmRhdGEudHlwZSl7Y2FzZSJsZW5ndGgiOnJldHVybiB0LnBvc3RNZXNzYWdlKGEubGVuZ3RoKTtjYXNlImFsbCI6cmV0dXJuIGEuZm9yRWFjaChvPT5vLnBvc3RNZXNzYWdlKHthbGw6YS5sZW5ndGh9KSk7Y2FzZSJzZW5kIjpyZXR1cm4gbihlLmRhdGEuanNvbik7Y2FzZSJjb25uZWN0IjpyZXR1cm4gcihlLmRhdGEpO2RlZmF1bHQ6dC5wb3N0TWVzc2FnZSh7dHlwZToiZGVmYXVsdCIsZGF0YTplLmRhdGEuanNvbn0pfX19fSkoKTsK";
2248
+ function Ri(e) {
2249
2249
  return new SharedWorker(
2250
- "data:text/javascript;base64," + Ri,
2250
+ "data:text/javascript;base64," + Ii,
2251
2251
  {
2252
2252
  name: e == null ? void 0 : e.name
2253
2253
  }
@@ -2280,7 +2280,7 @@ let fe = {}, te = {}, rt = [
2280
2280
  function Mi() {
2281
2281
  const [e, t] = m.useState(!1), [n, r] = m.useState(!1);
2282
2282
  function s(i) {
2283
- const o = new Ii();
2283
+ const o = new Ri();
2284
2284
  fe.laodData = (l) => {
2285
2285
  let c = rt.indexOf(l);
2286
2286
  c >= 0 && rt.splice(c, 1), rt.length === 0 && t(!0);
@@ -2614,12 +2614,12 @@ function Do({ type: e, name: t, params: n }) {
2614
2614
  });
2615
2615
  }, [n.id]), /* @__PURE__ */ a.jsx(a.Fragment, { children: r });
2616
2616
  }
2617
- function Ro(e, t, n) {
2617
+ function Io(e, t, n) {
2618
2618
  dt(`${e}/modal/${t}.tsx`).then((r) => {
2619
2619
  r.default.Open(n);
2620
2620
  });
2621
2621
  }
2622
- function Io(e) {
2622
+ function Ro(e) {
2623
2623
  ct.x(e);
2624
2624
  }
2625
2625
  const _t = {
@@ -2628,11 +2628,11 @@ const _t = {
2628
2628
  Main: bo,
2629
2629
  Add: wo,
2630
2630
  Icon: Do,
2631
- Open: Ro,
2631
+ Open: Io,
2632
2632
  Shake: Eo,
2633
2633
  Form: uo,
2634
2634
  Center: fo,
2635
- Close: Io,
2635
+ Close: Ro,
2636
2636
  Column: mo
2637
2637
  };
2638
2638
  function Yn({ text: e, type: t, button: n }) {
@@ -2645,7 +2645,7 @@ function Yn({ text: e, type: t, button: n }) {
2645
2645
  return r ? void 0 : (s(!0), n.onSend(s));
2646
2646
  }
2647
2647
  };
2648
- return /* @__PURE__ */ a.jsxs("div", { className: Rt.al, ...i, children: [
2648
+ return /* @__PURE__ */ a.jsxs("div", { className: It.al, ...i, children: [
2649
2649
  /* @__PURE__ */ a.jsx(
2650
2650
  "svg",
2651
2651
  {
@@ -2971,7 +2971,7 @@ const nl = () => {
2971
2971
  i.forEach((l, c) => {
2972
2972
  o.push({
2973
2973
  item: /* @__PURE__ */ a.jsx(
2974
- It,
2974
+ Rt,
2975
2975
  {
2976
2976
  data: q.list[l]
2977
2977
  },
@@ -2988,7 +2988,7 @@ const nl = () => {
2988
2988
  }, q.set = (i) => {
2989
2989
  t([
2990
2990
  ...e,
2991
- { item: /* @__PURE__ */ a.jsx(It, { data: i }, i.id), link: i.link }
2991
+ { item: /* @__PURE__ */ a.jsx(Rt, { data: i }, i.id), link: i.link }
2992
2992
  ]);
2993
2993
  }, q.del = (i) => {
2994
2994
  e.forEach((o, l) => {
@@ -3019,7 +3019,7 @@ const nl = () => {
3019
3019
  onClick: o
3020
3020
  }
3021
3021
  ) : "" });
3022
- }, It = ({ data: e }) => {
3022
+ }, Rt = ({ data: e }) => {
3023
3023
  let t = (r) => {
3024
3024
  r.preventDefault(), delete q.list[e.link], q.del(e.link);
3025
3025
  }, n = () => {
@@ -3028,32 +3028,32 @@ const nl = () => {
3028
3028
  return /* @__PURE__ */ a.jsx("span", { onContextMenu: t, onClick: n, children: e.name });
3029
3029
  }, rl = (e) => {
3030
3030
  q.active(e);
3031
- }, Y = {}, Tt = {}, M = {};
3032
- M.config = { iceServers: [{ url: "stun:stun.l.google.com:19302" }] };
3033
- M.constraints = { optional: [{ DtlsSrtpKeyAgreement: !0 }] };
3034
- M.other = [];
3035
- M.users = {};
3036
- M.asset = 0;
3037
- M.remoute = !1;
3038
- M.stream = null;
3039
- M.user = 0;
3040
- M.connect = !1;
3041
- M.offer = null;
3042
- M.btnRefuse = null;
3043
- M.time = !1;
3044
- let Re;
3045
- Re = document.createElement("audio");
3046
- Re.setAttribute("autoplay", "true");
3047
- Re.setAttribute("muted", "true");
3031
+ }, Y = {}, Tt = {}, $ = {};
3032
+ $.config = { iceServers: [{ url: "stun:stun.l.google.com:19302" }] };
3033
+ $.constraints = { optional: [{ DtlsSrtpKeyAgreement: !0 }] };
3034
+ $.other = [];
3035
+ $.users = {};
3036
+ $.asset = 0;
3037
+ $.remoute = !1;
3038
+ $.stream = null;
3039
+ $.user = 0;
3040
+ $.connect = !1;
3041
+ $.offer = null;
3042
+ $.btnRefuse = null;
3043
+ $.time = !1;
3044
+ let Ie;
3045
+ Ie = document.createElement("audio");
3046
+ Ie.setAttribute("autoplay", "true");
3047
+ Ie.setAttribute("muted", "true");
3048
3048
  Y.start = async (e) => {
3049
- M.rtc = new RTCPeerConnection(M.config), M.other = [], M.remoute = !1, M.rtc.onicecandidate = (n) => {
3050
- n.candidate && M.other.push(n.candidate);
3051
- }, M.rtc.ontrack = (n) => {
3049
+ $.rtc = new RTCPeerConnection($.config), $.other = [], $.remoute = !1, $.rtc.onicecandidate = (n) => {
3050
+ n.candidate && $.other.push(n.candidate);
3051
+ }, $.rtc.ontrack = (n) => {
3052
3052
  if (n.streams && n.streams[0])
3053
- Re.srcObject = n.streams[0];
3053
+ Ie.srcObject = n.streams[0];
3054
3054
  else {
3055
3055
  let r = new MediaStream(n.track);
3056
- Re.srcObject = r;
3056
+ Ie.srcObject = r;
3057
3057
  }
3058
3058
  };
3059
3059
  const t = await navigator.mediaDevices.getUserMedia({
@@ -3061,24 +3061,24 @@ Y.start = async (e) => {
3061
3061
  audio: { echoCancellation: !1, autoGainControl: !0 }
3062
3062
  });
3063
3063
  t.getTracks().forEach((n) => {
3064
- M.rtc.addTrack(n, t);
3065
- }), M.rtc.onconnectionstatechange = () => {
3066
- M.rtc.connectionState;
3067
- }, M.rtc.ontrack = async (n) => {
3064
+ $.rtc.addTrack(n, t);
3065
+ }), $.rtc.onconnectionstatechange = () => {
3066
+ $.rtc.connectionState;
3067
+ }, $.rtc.ontrack = async (n) => {
3068
3068
  if (n.streams && n.streams[0])
3069
- Re.srcObject = n.streams[0];
3069
+ Ie.srcObject = n.streams[0];
3070
3070
  else {
3071
3071
  let r = new MediaStream(n.track);
3072
- Re.srcObject = r;
3072
+ Ie.srcObject = r;
3073
3073
  }
3074
- }, M.rtc.onaddstream = (n) => {
3075
- }, M.rtc.onnegotiationneeded = (n) => {
3076
- }, M.rtc.oniceconnectionstatechange = (n) => {
3077
- }, M.rtc.onsignalingstatechange = (n) => {
3078
- }, M.rtc.onicegatheringstatechange = (n) => {
3079
- }, M.rtc.onicecandidateerror = (n) => {
3080
- }, M.rtc.ondatachannel = (n) => {
3081
- }, M.rtc.onerror = (n) => {
3074
+ }, $.rtc.onaddstream = (n) => {
3075
+ }, $.rtc.onnegotiationneeded = (n) => {
3076
+ }, $.rtc.oniceconnectionstatechange = (n) => {
3077
+ }, $.rtc.onsignalingstatechange = (n) => {
3078
+ }, $.rtc.onicegatheringstatechange = (n) => {
3079
+ }, $.rtc.onicecandidateerror = (n) => {
3080
+ }, $.rtc.ondatachannel = (n) => {
3081
+ }, $.rtc.onerror = (n) => {
3082
3082
  }, e();
3083
3083
  };
3084
3084
  Y.useListener = (e) => {
@@ -3089,66 +3089,66 @@ Y.setListener = (e) => {
3089
3089
  };
3090
3090
  Y.callTo = async (e) => {
3091
3091
  Y.start(async () => {
3092
- const t = await M.rtc.createOffer();
3093
- await M.rtc.setLocalDescription(t), M.uid = e, ye.Send({
3092
+ const t = await $.rtc.createOffer();
3093
+ await $.rtc.setLocalDescription(t), $.uid = e, ye.Send({
3094
3094
  type: "module",
3095
3095
  module: "M00",
3096
3096
  query: "x0050",
3097
3097
  data: {
3098
3098
  type: "offer",
3099
3099
  offer: btoa(JSON.stringify(t)),
3100
- user: M.uid
3100
+ user: $.uid
3101
3101
  }
3102
3102
  });
3103
3103
  });
3104
3104
  };
3105
3105
  Y.callIn = async (e) => {
3106
- M.asset = e.id, M.offer = e.offer, M.uid = e.id;
3106
+ $.asset = e.id, $.offer = e.offer, $.uid = e.id;
3107
3107
  };
3108
3108
  Y.callRise = async () => {
3109
3109
  Y.start(async () => {
3110
- M.rtc.setRemoteDescription(
3111
- new RTCSessionDescription(JSON.parse(atob(M.offer)))
3110
+ $.rtc.setRemoteDescription(
3111
+ new RTCSessionDescription(JSON.parse(atob($.offer)))
3112
3112
  );
3113
- const e = await M.rtc.createAnswer();
3114
- await M.rtc.setLocalDescription(e), ye.Send({
3113
+ const e = await $.rtc.createAnswer();
3114
+ await $.rtc.setLocalDescription(e), ye.Send({
3115
3115
  type: "module",
3116
3116
  module: "M00",
3117
3117
  query: "x0050",
3118
3118
  data: {
3119
3119
  type: "answer",
3120
3120
  answer: btoa(JSON.stringify(e)),
3121
- user: M.uid
3121
+ user: $.uid
3122
3122
  }
3123
3123
  });
3124
3124
  });
3125
3125
  };
3126
3126
  Y.callOk = async (e) => {
3127
- M.asset = e.id;
3127
+ $.asset = e.id;
3128
3128
  const t = new RTCSessionDescription(JSON.parse(atob(e.answer)));
3129
- await M.rtc.setRemoteDescription(t), ye.Send({
3129
+ await $.rtc.setRemoteDescription(t), ye.Send({
3130
3130
  type: "module",
3131
3131
  module: "M00",
3132
3132
  query: "x0050",
3133
3133
  data: {
3134
3134
  type: "IceCandidate",
3135
- candidate: JSON.parse(JSON.stringify(M.other)),
3136
- user: M.uid,
3135
+ candidate: JSON.parse(JSON.stringify($.other)),
3136
+ user: $.uid,
3137
3137
  send: !0
3138
3138
  }
3139
3139
  });
3140
3140
  };
3141
3141
  Y.IceCandidate = async (e) => {
3142
3142
  e.candidate.forEach((t) => {
3143
- M.rtc.addIceCandidate(new RTCIceCandidate(t));
3143
+ $.rtc.addIceCandidate(new RTCIceCandidate(t));
3144
3144
  }), e.send && ye.Send({
3145
3145
  type: "module",
3146
3146
  module: "M00",
3147
3147
  query: "x0050",
3148
3148
  data: {
3149
3149
  type: "IceCandidate",
3150
- candidate: JSON.parse(JSON.stringify(M.other)),
3151
- user: M.uid,
3150
+ candidate: JSON.parse(JSON.stringify($.other)),
3151
+ user: $.uid,
3152
3152
  send: !1
3153
3153
  }
3154
3154
  });
@@ -3156,18 +3156,18 @@ Y.IceCandidate = async (e) => {
3156
3156
  Y.callFrom = async () => {
3157
3157
  };
3158
3158
  Y.callNo = () => {
3159
- M.asset = 0, M.time = !1, M.rtc && M.rtc.close(), Y.setListener({ type: "state", data: "closed" });
3159
+ $.asset = 0, $.time = !1, $.rtc && $.rtc.close(), Y.setListener({ type: "state", data: "closed" });
3160
3160
  };
3161
3161
  Y.callOf = () => {
3162
- M.asset = 0, M.time = !1, M.rtc.close();
3162
+ $.asset = 0, $.time = !1, $.rtc.close();
3163
3163
  };
3164
3164
  Y.callRefuser = async () => {
3165
3165
  ye.Send({
3166
3166
  type: "module",
3167
3167
  module: "M00",
3168
3168
  query: "x0050",
3169
- data: { type: "callRefuser", user: M.uid }
3170
- }), M.asset = 0, M.time = !1, M.rtc && M.rtc.close();
3169
+ data: { type: "callRefuser", user: $.uid }
3170
+ }), $.asset = 0, $.time = !1, $.rtc && $.rtc.close();
3171
3171
  };
3172
3172
  Y.Run = async (e) => {
3173
3173
  Y[e.data.type] && Y[e.data.type](e.data);
@@ -3391,7 +3391,7 @@ const ul = ({ content: e, position: t, orientation: n }) => {
3391
3391
  let it = {}, Mt = {}, Lt = "ru";
3392
3392
  const fl = (e, t) => {
3393
3393
  Mt = e, t ? Lt = t : Lt = Object.keys(e)[0];
3394
- }, Jn = Rn(
3394
+ }, Jn = In(
3395
3395
  localStorage.getItem("lang") || navigator.language
3396
3396
  ), ml = ({ children: e }) => {
3397
3397
  const [t, n] = m.useState(
@@ -3402,7 +3402,7 @@ const fl = (e, t) => {
3402
3402
  var t;
3403
3403
  localStorage.setItem("lang", e), (t = it.update) == null || t.call(it, e);
3404
3404
  }, pl = () => Qa(Jn), gl = () => localStorage.getItem("lang") || navigator.language;
3405
- Rn({
3405
+ In({
3406
3406
  tab: "",
3407
3407
  setTabs: (e) => {
3408
3408
  }
@@ -3465,8 +3465,8 @@ const Ad = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3465
3465
  /* @__PURE__ */ a.jsx(wl, {}),
3466
3466
  /* @__PURE__ */ a.jsx(yl, {}),
3467
3467
  e
3468
- ] }), Rl = ({ list: e, onClick: t, active: n, size: r, view: s }) => /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [r, s].join(" "), children: e.map((i) => /* @__PURE__ */ a.jsx(
3469
- Il,
3468
+ ] }), Il = ({ list: e, onClick: t, active: n, size: r, view: s }) => /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [r, s].join(" "), children: e.map((i) => /* @__PURE__ */ a.jsx(
3469
+ Rl,
3470
3470
  {
3471
3471
  onClick: t,
3472
3472
  active: n,
@@ -3474,7 +3474,7 @@ const Ad = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3474
3474
  link: i.link
3475
3475
  },
3476
3476
  i.link
3477
- )) }) }), Il = ({ onClick: e, label: t, link: n, active: r }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(r === n), onClick: () => e(n), children: t }), Tl = "_tabs_1i88v_1", Nl = "_tab_1i88v_1", bn = {
3477
+ )) }) }), Rl = ({ onClick: e, label: t, link: n, active: r }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(r === n), onClick: () => e(n), children: t }), Tl = "_tabs_1i88v_1", Nl = "_tab_1i88v_1", bn = {
3478
3478
  tabs: Tl,
3479
3479
  tab: Nl
3480
3480
  }, Xn = ({ list: e = [], active: t, onTab: n }) => {
@@ -3482,7 +3482,7 @@ const Ad = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3482
3482
  if (n) return n(s);
3483
3483
  Bn(s);
3484
3484
  };
3485
- return /* @__PURE__ */ a.jsx("nav", { className: [bn.tabs, "tabs"].join(" "), children: e.map((s) => /* @__PURE__ */ In(
3485
+ return /* @__PURE__ */ a.jsx("nav", { className: [bn.tabs, "tabs"].join(" "), children: e.map((s) => /* @__PURE__ */ Rn(
3486
3486
  "div",
3487
3487
  {
3488
3488
  onClick: () => r(s.id),
@@ -3533,7 +3533,7 @@ const Ad = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
3533
3533
  ]
3534
3534
  }
3535
3535
  );
3536
- }, Ud = { List: Rl, Lite: Xn, Button: Ml }, $l = ({
3536
+ }, Ud = { List: Il, Lite: Xn, Button: Ml }, $l = ({
3537
3537
  title: e = "",
3538
3538
  button: t,
3539
3539
  description: n = "",
@@ -3646,7 +3646,7 @@ function Jl({ value: e, background: t, gradient: n }) {
3646
3646
  }
3647
3647
  const Zd = {
3648
3648
  Circle: Jl
3649
- }, zd = { Icon: al, Item: It, Active: rl }, Xl = { Send: pi, Line: Yn };
3649
+ }, zd = { Icon: al, Item: Rt, Active: rl }, Xl = { Send: pi, Line: Yn };
3650
3650
  function Vl() {
3651
3651
  return /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ a.jsx(
3652
3652
  "path",
@@ -3995,10 +3995,10 @@ const Fe = () => (yt || (yt = new hc()), yt), Se = (e, t, n = Fe()) => n._withID
3995
3995
  }, document.onkeyup = function(r) {
3996
3996
  n.length = 0;
3997
3997
  };
3998
- }, Xd = { useKey: Ec }, Dc = "_s_18bde_1", Rc = "_loadingB_18bde_1", Ic = "_ul_18bde_31", Tc = {
3998
+ }, Xd = { useKey: Ec }, Dc = "_s_18bde_1", Ic = "_loadingB_18bde_1", Rc = "_ul_18bde_31", Tc = {
3999
3999
  s: Dc,
4000
- loadingB: Rc,
4001
- ul: Ic
4000
+ loadingB: Ic,
4001
+ ul: Rc
4002
4002
  };
4003
4003
  function ta({ children: e }) {
4004
4004
  return /* @__PURE__ */ a.jsx("ul", { className: ie.ul, children: e });
@@ -4132,15 +4132,15 @@ function He({
4132
4132
  isCopy: j = !0,
4133
4133
  isReload: E = !1
4134
4134
  }) {
4135
- let L = !!(l && (t === "" || t === void 0)), $ = (S) => {
4135
+ let M = !!(l && (t === "" || t === void 0)), R = (S) => {
4136
4136
  n && n({
4137
4137
  value: S.target.textContent.trim(),
4138
4138
  name: r,
4139
4139
  reload: E
4140
4140
  });
4141
- }, I = (S) => {
4141
+ }, D = (S) => {
4142
4142
  h && S.target.textContent.trim().length >= h && S.key !== "Backspace" && S.preventDefault(), S.key === "Enter" && S.preventDefault();
4143
- }, T = (S) => {
4143
+ }, N = (S) => {
4144
4144
  j && (S.preventDefault(), navigator.clipboard.writeText(S.target.textContent.trim()).then(
4145
4145
  function() {
4146
4146
  je.Copy("Данные в буфер обмене");
@@ -4151,9 +4151,9 @@ function He({
4151
4151
  }, w = (S) => {
4152
4152
  S.preventDefault(), navigator.clipboard.readText().then((x) => {
4153
4153
  if (h) {
4154
- let R = S.target.textContent.length;
4155
- if (R >= h) return;
4156
- h -= R, x = x.slice(0, h);
4154
+ let T = S.target.textContent.length;
4155
+ if (T >= h) return;
4156
+ h -= T, x = x.slice(0, h);
4157
4157
  }
4158
4158
  window.document.execCommand(
4159
4159
  "insertText",
@@ -4163,12 +4163,12 @@ function He({
4163
4163
  }).catch((x) => {
4164
4164
  });
4165
4165
  };
4166
- if (!(c && _) && !f || !(c && _) && L) return "";
4166
+ if (!(c && _) && !f || !(c && _) && M) return "";
4167
4167
  const O = {};
4168
4168
  O.field = "input", y && (O.className = y);
4169
4169
  const B = {};
4170
4170
  s && (B.placeholder = s), c && _ && (B.edit = "");
4171
- const N = (S) => {
4171
+ const L = (S) => {
4172
4172
  W.Blur(S), g == null || g({ value: S.target.textContent.trim(), name: r });
4173
4173
  };
4174
4174
  return /* @__PURE__ */ a.jsxs("dl", { ...O, children: [
@@ -4178,10 +4178,10 @@ function He({
4178
4178
  "dd",
4179
4179
  {
4180
4180
  onPaste: w,
4181
- onInput: $,
4182
- onBlur: N,
4183
- onKeyDown: I,
4184
- onContextMenu: T,
4181
+ onInput: R,
4182
+ onBlur: L,
4183
+ onKeyDown: D,
4184
+ onContextMenu: N,
4185
4185
  spellCheck: "true",
4186
4186
  contentEditable: c && _ ? W.ContentEditable : "false",
4187
4187
  suppressContentEditableWarning: !0,
@@ -4240,9 +4240,9 @@ function ra({
4240
4240
  }, p = (j) => {
4241
4241
  j.preventDefault(), navigator.clipboard.readText().then((E) => {
4242
4242
  if (o) {
4243
- let L = j.target.textContent.length;
4244
- if (L >= o) return;
4245
- o -= L, E = E.slice(0, o);
4243
+ let M = j.target.textContent.length;
4244
+ if (M >= o) return;
4245
+ o -= M, E = E.slice(0, o);
4246
4246
  }
4247
4247
  window.document.execCommand("insertText", !1, E);
4248
4248
  }).catch((E) => {
@@ -4402,10 +4402,29 @@ function oa({
4402
4402
  p.target.textContent = "";
4403
4403
  }, h = (p) => {
4404
4404
  p.preventDefault(), navigator.clipboard.readText().then((g) => {
4405
- let y = g.split("");
4406
- for (let j = 1; j <= y.length; j++) {
4407
- let E = document.getElementById("n" + j);
4408
- E && (E.textContent = y[j - 1]);
4405
+ var M;
4406
+ var y = /\d+/g;
4407
+ let j = (M = g.match(y)) == null ? void 0 : M.toString();
4408
+ if (!j) return;
4409
+ let E = j.split("");
4410
+ for (let R = 1; R <= E.length; R++) {
4411
+ let D = document.getElementById("n" + R);
4412
+ D && (D.textContent = E[R - 1], c["n" + R] = E[R - 1]);
4413
+ }
4414
+ if (c.code = c.n1 + "" + c.n2 + c.n3 + c.n4 + c.n5 + c.n6, c.code.length === 6 && (p.target.blur(), i && i({ value: c.code, name: l }), o)) {
4415
+ c = {
4416
+ n1: "",
4417
+ n2: "",
4418
+ n3: "",
4419
+ n4: "",
4420
+ n5: "",
4421
+ n6: "",
4422
+ code: ""
4423
+ };
4424
+ for (let R = 1; R <= 6; R++) {
4425
+ let D = document.getElementById("n" + R);
4426
+ D && (D.textContent = "");
4427
+ }
4409
4428
  }
4410
4429
  }).catch((g) => {
4411
4430
  });
@@ -4516,27 +4535,27 @@ function la({
4516
4535
  className: g = ""
4517
4536
  }) {
4518
4537
  _ = _ !== void 0 ? _ : !0, u = u !== void 0 ? u : !0;
4519
- let [y, j] = m.useState(t), E = ($) => {
4520
- j($), n == null || n({ value: $, name: r }), p == null || p({ value: $, name: r });
4538
+ let [y, j] = m.useState(t), E = (R) => {
4539
+ j(R), n == null || n({ value: R, name: r }), p == null || p({ value: R, name: r });
4521
4540
  };
4522
- const L = {};
4523
- return L.field = "color", g && (L.className = g), /* @__PURE__ */ a.jsx(a.Fragment, { children: h === "icon" ? /* @__PURE__ */ a.jsx(
4541
+ const M = {};
4542
+ return M.field = "color", g && (M.className = g), /* @__PURE__ */ a.jsx(a.Fragment, { children: h === "icon" ? /* @__PURE__ */ a.jsx(
4524
4543
  "i",
4525
4544
  {
4526
4545
  "data-icon": "F043"
4527
4546
  }
4528
- ) : /* @__PURE__ */ a.jsxs("dl", { ...L, children: [
4547
+ ) : /* @__PURE__ */ a.jsxs("dl", { ...M, children: [
4529
4548
  i && /* @__PURE__ */ a.jsx("dt", { children: i }),
4530
- /* @__PURE__ */ a.jsx("dd", { children: c > 0 && Array.from(Array(c).keys()).map(($) => /* @__PURE__ */ a.jsx(
4549
+ /* @__PURE__ */ a.jsx("dd", { children: c > 0 && Array.from(Array(c).keys()).map((R) => /* @__PURE__ */ a.jsx(
4531
4550
  "s",
4532
4551
  {
4533
- active: (Number($) === Number(y)) + "",
4534
- onClick: () => E($),
4552
+ active: (Number(R) === Number(y)) + "",
4553
+ onClick: () => E(R),
4535
4554
  style: {
4536
- backgroundColor: `var(--color-${$})`
4555
+ backgroundColor: `var(--color-${R})`
4537
4556
  }
4538
4557
  },
4539
- $
4558
+ R
4540
4559
  )) }),
4541
4560
  o && /* @__PURE__ */ a.jsx("em", { children: o })
4542
4561
  ] }) });
@@ -4569,16 +4588,16 @@ function Zt({
4569
4588
  m.useEffect(() => {
4570
4589
  C(v === void 0 ? /* @__PURE__ */ new Date() : v);
4571
4590
  }, [v]);
4572
- let g = (L) => {
4573
- C(L), _ == null || _({ value: L, name: u });
4574
- }, y = (L) => {
4575
- const $ = L.target.getBoundingClientRect(), I = $.left, T = $.bottom, w = $.top;
4591
+ let g = (M) => {
4592
+ C(M), _ == null || _({ value: M, name: u });
4593
+ }, y = (M) => {
4594
+ const R = M.target.getBoundingClientRect(), D = R.left, N = R.bottom, w = R.top;
4576
4595
  ge.setListener(
4577
4596
  "form",
4578
4597
  /* @__PURE__ */ a.jsx(
4579
4598
  Oc,
4580
4599
  {
4581
- position: { x: I, y: w, b: T },
4600
+ position: { x: D, y: w, b: N },
4582
4601
  onValue: g,
4583
4602
  date: h,
4584
4603
  max: o,
@@ -4627,8 +4646,8 @@ const Oc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4627
4646
  d: parseInt(_.getDate()),
4628
4647
  m: parseInt(_.getMonth()) + 1
4629
4648
  }, [f, h] = m.useState({ y: v.y, m: v.m }), C = (x) => {
4630
- let R = x.getDay();
4631
- return R === 0 && (R = 7), R - 1;
4649
+ let T = x.getDay();
4650
+ return T === 0 && (T = 7), T - 1;
4632
4651
  }, p = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], g = f.m - 1, y = new Date(f.y, g), j = [];
4633
4652
  for (let x = 0; x < C(y); x++)
4634
4653
  j.push(0);
@@ -4636,30 +4655,30 @@ const Oc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4636
4655
  j.push(y.getDate()), y.setDate(y.getDate() + 1);
4637
4656
  let E = () => {
4638
4657
  l(!1);
4639
- }, L = () => {
4640
- T(f.m + 1, f.y);
4641
- }, $ = () => {
4642
- T(f.m - 1, f.y);
4643
- }, I = (x) => {
4658
+ }, M = () => {
4659
+ N(f.m + 1, f.y);
4660
+ }, R = () => {
4661
+ N(f.m - 1, f.y);
4662
+ }, D = (x) => {
4644
4663
  t(
4645
4664
  f.y + "-" + H.Number(2, f.m) + "-" + H.Number(2, x)
4646
4665
  ), E();
4647
- }, T = (x, R) => {
4648
- R = x > 12 ? R + 1 : x < 1 ? R - 1 : R, x = x > 12 ? 1 : x < 1 ? 12 : x, h({ y: R, m: x });
4666
+ }, N = (x, T) => {
4667
+ T = x > 12 ? T + 1 : x < 1 ? T - 1 : T, x = x > 12 ? 1 : x < 1 ? 12 : x, h({ y: T, m: x });
4649
4668
  };
4650
4669
  const w = (x) => u.y === f.y && u.m === f.m && u.d === x ? { "data-active": "true" } : {}, O = (x) => v.y === f.y && v.m === f.m && v.d === x ? { "data-current": "true" } : {}, B = (x) => {
4651
- let R = !0;
4670
+ let T = !0;
4652
4671
  if (r) {
4653
4672
  let Z = r.getTime(), J = new Date(f.y, f.m - 1, x).getTime();
4654
- Z < J && (R = !1);
4673
+ Z < J && (T = !1);
4655
4674
  }
4656
4675
  if (s) {
4657
4676
  let Z = s.getTime(), J = new Date(f.y, f.m - 1, x).getTime();
4658
- Z > J && (R = !1);
4677
+ Z > J && (T = !1);
4659
4678
  }
4660
- return R;
4679
+ return T;
4661
4680
  };
4662
- let N = window.innerHeight - n.y < 320 ? n.y - 312 : n.b, S = window.innerWidth - n.x < 265 ? n.x - 235 : n.x;
4681
+ let L = window.innerHeight - n.y < 320 ? n.y - 312 : n.b, S = window.innerWidth - n.x < 265 ? n.x - 235 : n.x;
4663
4682
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: o ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4664
4683
  /* @__PURE__ */ a.jsx(
4665
4684
  "div",
@@ -4676,10 +4695,10 @@ const Oc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4676
4695
  me.c,
4677
4696
  i && i + "-backdrop"
4678
4697
  ].join(" "),
4679
- style: { top: N + "px", left: S + "px" },
4698
+ style: { top: L + "px", left: S + "px" },
4680
4699
  children: [
4681
4700
  /* @__PURE__ */ a.jsxs("s", { children: [
4682
- /* @__PURE__ */ a.jsx("i", { onClick: $, children: /* @__PURE__ */ a.jsx(
4701
+ /* @__PURE__ */ a.jsx("i", { onClick: R, children: /* @__PURE__ */ a.jsx(
4683
4702
  "svg",
4684
4703
  {
4685
4704
  width: "16",
@@ -4695,7 +4714,7 @@ const Oc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4695
4714
  " ",
4696
4715
  f.y
4697
4716
  ] }),
4698
- /* @__PURE__ */ a.jsx("i", { onClick: L, children: /* @__PURE__ */ a.jsx(
4717
+ /* @__PURE__ */ a.jsx("i", { onClick: M, children: /* @__PURE__ */ a.jsx(
4699
4718
  "svg",
4700
4719
  {
4701
4720
  width: "16",
@@ -4708,16 +4727,16 @@ const Oc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4708
4727
  ) })
4709
4728
  ] }),
4710
4729
  /* @__PURE__ */ a.jsxs("div", { "grid-calendar": "", children: [
4711
- p.map((x, R) => /* @__PURE__ */ a.jsx("p", { children: x }, "v" + R)),
4712
- j.map((x, R) => /* @__PURE__ */ a.jsx("span", { children: x !== 0 && B(x) ? /* @__PURE__ */ a.jsx(
4730
+ p.map((x, T) => /* @__PURE__ */ a.jsx("p", { children: x }, "v" + T)),
4731
+ j.map((x, T) => /* @__PURE__ */ a.jsx("span", { children: x !== 0 && B(x) ? /* @__PURE__ */ a.jsx(
4713
4732
  "b",
4714
4733
  {
4715
4734
  ...w(x),
4716
4735
  ...O(x),
4717
- onClick: () => I(x),
4736
+ onClick: () => D(x),
4718
4737
  children: x
4719
4738
  }
4720
- ) : /* @__PURE__ */ a.jsx("p", { ...w(x), ...O(x), children: x !== 0 ? x : "" }) }, R))
4739
+ ) : /* @__PURE__ */ a.jsx("p", { ...w(x), ...O(x), children: x !== 0 ? x : "" }) }, T))
4721
4740
  ] })
4722
4741
  ]
4723
4742
  }
@@ -4742,12 +4761,12 @@ function zt({
4742
4761
  options: C,
4743
4762
  className: p
4744
4763
  }) {
4745
- let [g, y] = m.useState(e), j = ($) => {
4764
+ let [g, y] = m.useState(e), j = (R) => {
4746
4765
  if (!(l && _) || !f) return;
4747
- let I = f.split(".");
4748
- _t.Open(I[0], I[1], {
4749
- callback: (T) => {
4750
- t && t({ value: T, name: n }), y(T);
4766
+ let D = f.split(".");
4767
+ _t.Open(D[0], D[1], {
4768
+ callback: (N) => {
4769
+ t && t({ value: N, name: n }), y(N);
4751
4770
  },
4752
4771
  onValue: t,
4753
4772
  options: C,
@@ -4757,13 +4776,13 @@ function zt({
4757
4776
  };
4758
4777
  const E = {};
4759
4778
  E.field = "input", p && (E.className = p);
4760
- const L = {};
4761
- return r && (L.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
4779
+ const M = {};
4780
+ return r && (M.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
4762
4781
  s && /* @__PURE__ */ a.jsx("dt", { children: s }),
4763
4782
  /* @__PURE__ */ a.jsx(
4764
4783
  "dd",
4765
4784
  {
4766
- ...L,
4785
+ ...M,
4767
4786
  onClick: j,
4768
4787
  edit: (l && _) + "",
4769
4788
  "data-after": u,
@@ -4795,20 +4814,20 @@ function Wt({
4795
4814
  }) {
4796
4815
  let j = !!(o && (e === "" || e === void 0));
4797
4816
  e = H.isNumeric(e) ? Number(e) / v : 0;
4798
- let E = (x) => C === "multi" ? x.replace(/[^+\d.+-]/g, "") : x.replace(/[^+\d.]/g, ""), L = (x, R) => {
4817
+ let E = (x) => C === "multi" ? x.replace(/[^+\d.+-]/g, "") : x.replace(/[^+\d.]/g, ""), M = (x, T) => {
4799
4818
  let Z = document.createRange(), J = window.getSelection();
4800
- Z.setStart(R.childNodes[0], x), Z.collapse(!0), J.removeAllRanges(), J.addRange(Z), R.focus();
4801
- }, $ = (x) => {
4819
+ Z.setStart(T.childNodes[0], x), Z.collapse(!0), J.removeAllRanges(), J.addRange(Z), T.focus();
4820
+ }, R = (x) => {
4802
4821
  t == null || t({
4803
4822
  value: E(x.target.textContent) * v,
4804
4823
  name: n
4805
- }), x.target.textContent = E(x.target.textContent), x.target.textContent.length > 0 && L(x.target.textContent.length, x.target);
4806
- }, I = (x) => {
4824
+ }), x.target.textContent = E(x.target.textContent), x.target.textContent.length > 0 && M(x.target.textContent.length, x.target);
4825
+ }, D = (x) => {
4807
4826
  W.Blur(x), x.target.textContent === "" && (x.target.textContent = 0), p == null || p({ value: E(x.target.textContent) * v, name: n }), t == null || t({
4808
4827
  value: E(x.target.textContent) * v,
4809
4828
  name: n
4810
4829
  }), x.target.textContent = H.Money(x.target.textContent);
4811
- }, T = (x) => {
4830
+ }, N = (x) => {
4812
4831
  x.target.textContent = E(x.target.textContent);
4813
4832
  }, w = (x) => {
4814
4833
  x.currentTarget.previousElementSibling.textContent = "", t == null || t({
@@ -4818,26 +4837,26 @@ function Wt({
4818
4837
  }, O = (x) => {
4819
4838
  x.key === "Enter" && x.preventDefault();
4820
4839
  }, B = (x) => {
4821
- x.preventDefault(), navigator.clipboard.readText().then((R) => {
4822
- R = R.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, R);
4823
- }).catch((R) => {
4840
+ x.preventDefault(), navigator.clipboard.readText().then((T) => {
4841
+ T = T.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, T);
4842
+ }).catch((T) => {
4824
4843
  });
4825
4844
  };
4826
4845
  if (!(l && c) && !u || !(l && c) && j) return "";
4827
- const N = {};
4828
- N.field = "input", g && (N.className = g);
4846
+ const L = {};
4847
+ L.field = "input", g && (L.className = g);
4829
4848
  const S = {};
4830
- return S.inputMode = "decimal", r && (S.placeholder = r), l && c && (S.edit = ""), /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
4849
+ return S.inputMode = "decimal", r && (S.placeholder = r), l && c && (S.edit = ""), /* @__PURE__ */ a.jsxs("dl", { ...L, children: [
4831
4850
  s ? /* @__PURE__ */ a.jsx("dt", { children: s }) : "",
4832
4851
  /* @__PURE__ */ a.jsx(
4833
4852
  "dd",
4834
4853
  {
4835
4854
  ...S,
4836
- onInput: $,
4855
+ onInput: R,
4837
4856
  onPaste: B,
4838
- onBlur: I,
4857
+ onBlur: D,
4839
4858
  onKeyDown: O,
4840
- onFocus: T,
4859
+ onFocus: N,
4841
4860
  contentEditable: l && c ? W.ContentEditable : "false",
4842
4861
  suppressContentEditableWarning: !0,
4843
4862
  "data-after": _,
@@ -4991,22 +5010,22 @@ function da({
4991
5010
  }) {
4992
5011
  let [j, E] = m.useState(!1);
4993
5012
  j = c ? !0 : j;
4994
- let L = (N) => {
4995
- n == null || n({ value: N.target.innerText, name: r });
4996
- }, $ = (N) => {
4997
- f && N.target.textContent.trim().length >= f && N.key !== "Backspace" && N.preventDefault(), N.key === "Enter" && N.preventDefault();
4998
- }, I = (N) => {
4999
- y && (N.preventDefault(), navigator.clipboard.writeText(N.target.textContent.trim()).then(
5013
+ let M = (L) => {
5014
+ n == null || n({ value: L.target.innerText, name: r });
5015
+ }, R = (L) => {
5016
+ f && L.target.textContent.trim().length >= f && L.key !== "Backspace" && L.preventDefault(), L.key === "Enter" && L.preventDefault();
5017
+ }, D = (L) => {
5018
+ y && (L.preventDefault(), navigator.clipboard.writeText(L.target.textContent.trim()).then(
5000
5019
  function() {
5001
5020
  je.Copy("Данные в буфер обмене");
5002
5021
  },
5003
5022
  function(S) {
5004
5023
  }
5005
5024
  ));
5006
- }, T = (N) => {
5007
- N.preventDefault(), navigator.clipboard.readText().then((S) => {
5025
+ }, N = (L) => {
5026
+ L.preventDefault(), navigator.clipboard.readText().then((S) => {
5008
5027
  if (f) {
5009
- let x = N.target.textContent.length;
5028
+ let x = L.target.textContent.length;
5010
5029
  if (x >= f) return;
5011
5030
  f -= x, S = S.slice(0, f);
5012
5031
  }
@@ -5024,19 +5043,19 @@ function da({
5024
5043
  w.field = "notes", g && (w.className = g);
5025
5044
  const O = {};
5026
5045
  s && (O.placeholder = s), c && _ && (O.edit = ""), j && (O.open = "");
5027
- const B = (N) => {
5028
- W.Blur(N), p == null || p({ value: N.target.textContent.trim(), name: r });
5046
+ const B = (L) => {
5047
+ W.Blur(L), p == null || p({ value: L.target.textContent.trim(), name: r });
5029
5048
  };
5030
5049
  return /* @__PURE__ */ a.jsxs("dl", { ...w, children: [
5031
5050
  i ? /* @__PURE__ */ a.jsx("dt", { children: i }) : "",
5032
5051
  /* @__PURE__ */ a.jsx(
5033
5052
  "dd",
5034
5053
  {
5035
- onPaste: T,
5036
- onInput: L,
5054
+ onPaste: N,
5055
+ onInput: M,
5037
5056
  onBlur: B,
5038
- onKeyDown: $,
5039
- onContextMenu: I,
5057
+ onKeyDown: R,
5058
+ onContextMenu: D,
5040
5059
  contentEditable: c && _ ? W.ContentEditable : "false",
5041
5060
  suppressContentEditableWarning: !0,
5042
5061
  ...O,
@@ -5069,25 +5088,25 @@ function Kt({
5069
5088
  s = s !== void 0 ? s : !0, n = n !== void 0 ? n : !0, c = !!(c && (_ === "" || _ === void 0)) && !(s && n), u = u !== void 0 ? u : "", r = r !== void 0 ? r : 99;
5070
5089
  let j = !1, E = (B) => {
5071
5090
  e == null || e({ value: B.target.textContent, name: h });
5072
- }, L = (B) => {
5091
+ }, M = (B) => {
5073
5092
  if (!(j && B.which === 86)) {
5074
5093
  if (B.which === 17 || B.which === 91) return j = !0;
5075
5094
  B.key !== "Backspace" && (B.target.textContent.length === r && B.preventDefault(), B.key === "Enter" && B.preventDefault(), isNaN(B.key) && B.preventDefault());
5076
5095
  }
5077
- }, $ = (B) => {
5096
+ }, R = (B) => {
5078
5097
  if (B.which === 17 || B.which === 91) return j = !1;
5079
- }, I = (B) => {
5080
- B.preventDefault(), navigator.clipboard.readText().then((N) => {
5081
- if (N = N.replace(/(?!^\+|\d)./g, ""), f) {
5098
+ }, D = (B) => {
5099
+ B.preventDefault(), navigator.clipboard.readText().then((L) => {
5100
+ if (L = L.replace(/(?!^\+|\d)./g, ""), f) {
5082
5101
  let S = B.target.textContent.length;
5083
5102
  if (S >= f) return;
5084
- f -= S, N = N.slice(0, f);
5103
+ f -= S, L = L.slice(0, f);
5085
5104
  }
5086
- window.document.execCommand("insertText", !1, "" + N);
5087
- }).catch((N) => {
5105
+ window.document.execCommand("insertText", !1, "" + L);
5106
+ }).catch((L) => {
5088
5107
  });
5089
5108
  };
5090
- const T = (B) => {
5109
+ const N = (B) => {
5091
5110
  W.Blur(B), t == null || t({ value: B.target.textContent, name: h });
5092
5111
  }, w = {};
5093
5112
  w.field = "input", v && (w.className = v);
@@ -5099,11 +5118,11 @@ function Kt({
5099
5118
  "dd",
5100
5119
  {
5101
5120
  ...O,
5102
- onPaste: I,
5121
+ onPaste: D,
5103
5122
  onInput: E,
5104
- onBlur: T,
5105
- onKeyDown: L,
5106
- onKeyUp: $,
5123
+ onBlur: N,
5124
+ onKeyDown: M,
5125
+ onKeyUp: R,
5107
5126
  suppressContentEditableWarning: !0,
5108
5127
  children: _
5109
5128
  }
@@ -5139,7 +5158,7 @@ function _a({
5139
5158
  });
5140
5159
  }, E = (w) => {
5141
5160
  w.key === "Enter" && w.preventDefault();
5142
- }, L = (w) => {
5161
+ }, M = (w) => {
5143
5162
  w.preventDefault(), navigator.clipboard.readText().then((O) => {
5144
5163
  if (h) {
5145
5164
  let B = w.target.textContent.length;
@@ -5153,23 +5172,23 @@ function _a({
5153
5172
  );
5154
5173
  }).catch((O) => {
5155
5174
  });
5156
- }, $ = (w) => {
5175
+ }, R = (w) => {
5157
5176
  W.Blur(w), n == null || n({ value: w.target.textContent.trim(), name: r });
5158
5177
  };
5159
- const I = {};
5160
- I.field = "password", g && (I.show = ""), i && (I.className = i);
5161
- const T = {};
5162
- return s && (T.placeholder = s), v ? "" : /* @__PURE__ */ a.jsxs("dl", { ...I, children: [
5178
+ const D = {};
5179
+ D.field = "password", g && (D.show = ""), i && (D.className = i);
5180
+ const N = {};
5181
+ return s && (N.placeholder = s), v ? "" : /* @__PURE__ */ a.jsxs("dl", { ...D, children: [
5163
5182
  o ? /* @__PURE__ */ a.jsx("dt", { children: o }) : "",
5164
5183
  /* @__PURE__ */ a.jsx(
5165
5184
  "dd",
5166
5185
  {
5167
- onPaste: L,
5186
+ onPaste: M,
5168
5187
  onInput: j,
5169
5188
  onKeyDown: E,
5170
- onBlur: $,
5189
+ onBlur: R,
5171
5190
  contentEditable: c && _ ? W.ContentEditable : "false",
5172
- ...T,
5191
+ ...N,
5173
5192
  suppressContentEditableWarning: !0,
5174
5193
  children: e
5175
5194
  }
@@ -6579,31 +6598,31 @@ function Ht({
6579
6598
  }) {
6580
6599
  c = c !== void 0 ? c : !0, _ = _ !== void 0 ? _ : !0, l = !!(l && (e === "" || e === void 0)) && !(c && _), m.useRef(null);
6581
6600
  let p = "+_(___) ___-__-__", g = !0, y = 0, j = (S, x) => {
6582
- let R = document.createRange(), Z = window.getSelection();
6583
- R.setStart(x.childNodes[0], S), R.collapse(!0), Z.removeAllRanges(), Z.addRange(R), x.focus();
6601
+ let T = document.createRange(), Z = window.getSelection();
6602
+ T.setStart(x.childNodes[0], S), T.collapse(!0), Z.removeAllRanges(), Z.addRange(T), x.focus();
6584
6603
  }, E = (S) => {
6585
6604
  S.preventDefault(), navigator.clipboard.readText().then((x) => {
6586
6605
  window.document.execCommand("insertText", !1, x);
6587
6606
  }).catch((x) => {
6588
6607
  });
6589
- }, L = (S) => {
6590
- let x = 0, R = "", Z = S.replace(/\D/g, "");
6608
+ }, M = (S) => {
6609
+ let x = 0, T = "", Z = S.replace(/\D/g, "");
6591
6610
  Z === "" && (g = !0);
6592
6611
  let J = Z.split(""), oe = "";
6593
6612
  J.forEach((Pe) => {
6594
- g && (oe += Pe, bt[oe] !== void 0 && g ? (g = !1, p = bt[oe].mask.replace(new RegExp("[0-9]", "g"), "_"), R = bt[oe].code) : (g && (y = ("" + oe).length, p = `+${oe}_(___) ___-__-__`.replace(
6613
+ g && (oe += Pe, bt[oe] !== void 0 && g ? (g = !1, p = bt[oe].mask.replace(new RegExp("[0-9]", "g"), "_"), T = bt[oe].code) : (g && (y = ("" + oe).length, p = `+${oe}_(___) ___-__-__`.replace(
6595
6614
  new RegExp("[0-9]", "g"),
6596
6615
  "_"
6597
- ), R = ""), y > ("" + oe).length && (g = !0, p = `+${oe}_(___) ___-__-__`.replace(
6616
+ ), T = ""), y > ("" + oe).length && (g = !0, p = `+${oe}_(___) ___-__-__`.replace(
6598
6617
  new RegExp("[0-9]", "g"),
6599
6618
  "_"
6600
- ), R = "")));
6619
+ ), T = "")));
6601
6620
  });
6602
6621
  let Ce = p.replace(/\D/g, "");
6603
6622
  return Ce.length >= Z.length && (Z = Ce), { q: p.replace(/[_\d]/g, function() {
6604
6623
  return Z.charAt(x++) || "_";
6605
- }), i: x, v: Z, f: R };
6606
- }, $ = (S) => {
6624
+ }), i: x, v: Z, f: T };
6625
+ }, R = (S) => {
6607
6626
  S.preventDefault(), navigator.clipboard.writeText(S.target.textContent.replace(/\D/g, "")).then(
6608
6627
  function() {
6609
6628
  je.Copy("Данные в буфер обмене");
@@ -6611,8 +6630,8 @@ function Ht({
6611
6630
  function(x) {
6612
6631
  }
6613
6632
  );
6614
- }, I = L(e), T = (S) => {
6615
- let x = L(S.target.textContent);
6633
+ }, D = M(e), N = (S) => {
6634
+ let x = M(S.target.textContent);
6616
6635
  S.target.textContent = x.q, x.i = x.q.lastIndexOf(x.v.substr(-1)), x.i < x.q.length && x.q !== p ? x.i++ : x.i = x.q.indexOf("_"), j(x.i, S.target), t && t({ value: x.q.replace(/\D/g, ""), name: r });
6617
6636
  }, w = (S) => {
6618
6637
  S.key === "Enter" && S.preventDefault();
@@ -6624,20 +6643,20 @@ function Ht({
6624
6643
  });
6625
6644
  }, B = {};
6626
6645
  B.field = "input", h && (B.className = h);
6627
- let N = {};
6628
- return c && _ ? (N.edit = "true", N.contentEditable = W.ContentEditable) : N.contentEditable = "false", s && (N.placeholder = s), u && (N.after = u), l ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...B, children: [
6646
+ let L = {};
6647
+ return c && _ ? (L.edit = "true", L.contentEditable = W.ContentEditable) : L.contentEditable = "false", s && (L.placeholder = s), u && (L.after = u), l ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...B, children: [
6629
6648
  i && /* @__PURE__ */ a.jsx("dt", { children: i }),
6630
6649
  /* @__PURE__ */ a.jsx(
6631
6650
  "dd",
6632
6651
  {
6633
- ...N,
6652
+ ...L,
6634
6653
  onPaste: E,
6635
- onInput: T,
6654
+ onInput: N,
6636
6655
  onKeyDown: w,
6637
- onContextMenu: $,
6656
+ onContextMenu: R,
6638
6657
  onBlur: O,
6639
6658
  suppressContentEditableWarning: !0,
6640
- children: I.q
6659
+ children: D.q
6641
6660
  }
6642
6661
  ),
6643
6662
  o && /* @__PURE__ */ a.jsx("em", { children: o })
@@ -6671,9 +6690,9 @@ const ua = ({
6671
6690
  }, C = (j) => {
6672
6691
  j.preventDefault(), navigator.clipboard.readText().then((E) => {
6673
6692
  if (c) {
6674
- let L = j.target.textContent.length;
6675
- if (L >= c) return;
6676
- c -= L, E = E.slice(0, c);
6693
+ let M = j.target.textContent.length;
6694
+ if (M >= c) return;
6695
+ c -= M, E = E.slice(0, c);
6677
6696
  }
6678
6697
  window.document.execCommand(
6679
6698
  "insertText",
@@ -6704,6 +6723,7 @@ const ua = ({
6704
6723
  children: o
6705
6724
  }
6706
6725
  ),
6726
+ /* @__PURE__ */ a.jsx("svg", { "aria-label": "icon", onClick: f, viewBox: "0 0 24 24", children: /* @__PURE__ */ a.jsx("path", { d: "M10.364 3a7.364 7.364 0 1 0 0 14.727 7.364 7.364 0 0 0 0-14.727v0ZM15.857 15.86 21 21.001" }) }),
6707
6727
  /* @__PURE__ */ a.jsx("svg", { "action-type": "delete", onClick: f, viewBox: "0 0 24 24", children: /* @__PURE__ */ a.jsx("path", { d: "M17 6L6 17M6 6L17 17" }) })
6708
6728
  ] });
6709
6729
  };
@@ -6729,18 +6749,18 @@ function Yt({
6729
6749
  m.useEffect(() => {
6730
6750
  y(i), E(l);
6731
6751
  }, [i, l]), s = !!(s && (i === "" || ((O = j[i]) == null ? void 0 : O.n) === void 0)) && !(n && r);
6732
- let $ = (N) => {
6733
- y(N), o && o({ value: N, name: u, reload: C });
6734
- }, I = (N) => {
6752
+ let R = (L) => {
6753
+ y(L), o && o({ value: L, name: u, reload: C });
6754
+ }, D = (L) => {
6735
6755
  if (Object.keys(l).length === 0 || !(n && r)) return;
6736
- const S = N.target.getBoundingClientRect();
6756
+ const S = L.target.getBoundingClientRect();
6737
6757
  ge.setListener(
6738
6758
  "form",
6739
6759
  /* @__PURE__ */ a.jsx(
6740
6760
  Uc,
6741
6761
  {
6742
6762
  parent: S,
6743
- onValue: $,
6763
+ onValue: R,
6744
6764
  view: f,
6745
6765
  className: _,
6746
6766
  options: j,
@@ -6749,8 +6769,8 @@ function Yt({
6749
6769
  (/* @__PURE__ */ new Date()).getTime()
6750
6770
  )
6751
6771
  );
6752
- }, T = { field: "select", className: _ }, w = { onClick: I };
6753
- return c && (w.placeholder = c), v && (w.after = v), n && r && (w.edit = ""), s ? "" : /* @__PURE__ */ a.jsxs("dl", { ...T, children: [
6772
+ }, N = { field: "select", className: _ }, w = { onClick: D };
6773
+ return c && (w.placeholder = c), v && (w.after = v), n && r && (w.edit = ""), s ? "" : /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
6754
6774
  e && /* @__PURE__ */ a.jsx("dt", { children: e }),
6755
6775
  /* @__PURE__ */ a.jsx("dd", { ...w, ref: p, children: (B = j[g]) == null ? void 0 : B.n }),
6756
6776
  Object.keys(j).length !== 0 && /* @__PURE__ */ a.jsx("s", { children: /* @__PURE__ */ a.jsx(
@@ -7091,25 +7111,25 @@ function fa({
7091
7111
  }) {
7092
7112
  let g = !!(o && (e === "" || e === void 0));
7093
7113
  if (!(l && c) && !u || !(l && c) && g) return "";
7094
- let y = (I) => {
7095
- t && t({ value: I.target.innerText, name: n });
7096
- }, j = (I) => {
7097
- C && C({ value: I.target.innerText, name: n });
7098
- }, E = (I) => {
7099
- I.preventDefault(), navigator.clipboard.readText().then((T) => {
7114
+ let y = (D) => {
7115
+ t && t({ value: D.target.innerText, name: n });
7116
+ }, j = (D) => {
7117
+ C && C({ value: D.target.innerText, name: n });
7118
+ }, E = (D) => {
7119
+ D.preventDefault(), navigator.clipboard.readText().then((N) => {
7100
7120
  if (h) {
7101
- let w = I.target.textContent.length;
7121
+ let w = D.target.textContent.length;
7102
7122
  if (w >= h) return;
7103
- h -= w, T = T.slice(0, h);
7123
+ h -= w, N = N.slice(0, h);
7104
7124
  }
7105
- window.document.execCommand("insertText", !1, T);
7106
- }).catch((T) => {
7125
+ window.document.execCommand("insertText", !1, N);
7126
+ }).catch((N) => {
7107
7127
  });
7108
7128
  };
7109
- const L = {};
7110
- L.field = "text", p && (L.className = p);
7111
- const $ = {};
7112
- return r && ($.placeholder = r), /* @__PURE__ */ a.jsxs("dl", { ...L, children: [
7129
+ const M = {};
7130
+ M.field = "text", p && (M.className = p);
7131
+ const R = {};
7132
+ return r && (R.placeholder = r), /* @__PURE__ */ a.jsxs("dl", { ...M, children: [
7113
7133
  s && /* @__PURE__ */ a.jsx("dt", { children: s }),
7114
7134
  /* @__PURE__ */ a.jsx(
7115
7135
  "dd",
@@ -7118,7 +7138,7 @@ function fa({
7118
7138
  onBlur: j,
7119
7139
  onInput: y,
7120
7140
  contentEditable: l && c ? W.ContentEditable : "false",
7121
- ...$,
7141
+ ...R,
7122
7142
  suppressContentEditableWarning: !0,
7123
7143
  children: e
7124
7144
  }
@@ -7145,12 +7165,12 @@ function ma({
7145
7165
  }) {
7146
7166
  let p = !!(o && (e === "" || e === void 0)), g = H.Date(e === void 0 ? /* @__PURE__ */ new Date() : e, "HH:MM"), y = m.useRef(null);
7147
7167
  if (!(l && c) && !u || !(l && c) && p) return "";
7148
- let j = (T) => {
7149
- y.current.textContent = T, t && t({ value: T, name: n });
7150
- }, E = (T) => {
7151
- h && h({ value: T, name: n });
7152
- }, L = (T) => {
7153
- const w = T.target.getBoundingClientRect(), O = w.left, B = w.top;
7168
+ let j = (N) => {
7169
+ y.current.textContent = N, t && t({ value: N, name: n });
7170
+ }, E = (N) => {
7171
+ h && h({ value: N, name: n });
7172
+ }, M = (N) => {
7173
+ const w = N.target.getBoundingClientRect(), O = w.left, B = w.top;
7154
7174
  ge.setListener(
7155
7175
  "form",
7156
7176
  /* @__PURE__ */ a.jsx(
@@ -7165,18 +7185,18 @@ function ma({
7165
7185
  )
7166
7186
  );
7167
7187
  };
7168
- const $ = {};
7169
- $.field = "input", C && ($.className = C);
7170
- const I = {};
7171
- return r && (I.placeholder = r), /* @__PURE__ */ a.jsx(a.Fragment, { children: v === "icon" ? /* @__PURE__ */ a.jsx(
7188
+ const R = {};
7189
+ R.field = "input", C && (R.className = C);
7190
+ const D = {};
7191
+ return r && (D.placeholder = r), /* @__PURE__ */ a.jsx(a.Fragment, { children: v === "icon" ? /* @__PURE__ */ a.jsx(
7172
7192
  "i",
7173
7193
  {
7174
7194
  "data-icon": "F043",
7175
- onClick: L
7195
+ onClick: M
7176
7196
  }
7177
- ) : /* @__PURE__ */ a.jsxs("dl", { ...$, children: [
7197
+ ) : /* @__PURE__ */ a.jsxs("dl", { ...R, children: [
7178
7198
  s ? /* @__PURE__ */ a.jsx("dt", { children: s }) : "",
7179
- /* @__PURE__ */ a.jsx("dd", { onClick: L, ref: y, ...I, children: g }),
7199
+ /* @__PURE__ */ a.jsx("dd", { onClick: M, ref: y, ...D, children: g }),
7180
7200
  i ? /* @__PURE__ */ a.jsx("em", { children: i }) : ""
7181
7201
  ] }) });
7182
7202
  }
@@ -7198,11 +7218,11 @@ const zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7198
7218
  _ = !0;
7199
7219
  }, C = () => {
7200
7220
  _ = !1, o = o === "hour" ? "time" : "hour", f.body.current.setAttribute("active", o);
7201
- }, p = (I) => {
7221
+ }, p = (D) => {
7202
7222
  if (_) {
7203
7223
  let w = Math.atan2(
7204
- I.pageX - (l.x + 78),
7205
- I.pageY - (l.y + 78)
7224
+ D.pageX - (l.x + 78),
7225
+ D.pageY - (l.y + 78)
7206
7226
  ) * (180 / Math.PI) * -1 + 180;
7207
7227
  f[o].current.style.transform = "rotate(" + w + "deg)", o === "hour" ? (i = {
7208
7228
  ...i,
@@ -7212,38 +7232,38 @@ const zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7212
7232
  m: H.Number(2, parseInt(String(w / 6), 10))
7213
7233
  }, f.timeText.current.textContent = i.m), n(i.h + ":" + i.m);
7214
7234
  }
7215
- }, g = (I) => {
7235
+ }, g = (D) => {
7216
7236
  if (o === "hour")
7217
- if (I.deltaY > 0) {
7218
- u += I.deltaY;
7219
- let T = parseInt(String(u / 50));
7220
- if (v !== T) {
7221
- v = T;
7237
+ if (D.deltaY > 0) {
7238
+ u += D.deltaY;
7239
+ let N = parseInt(String(u / 50));
7240
+ if (v !== N) {
7241
+ v = N;
7222
7242
  let w = parseInt(i.h, 10) + 1;
7223
7243
  w = w > 23 ? 0 : w, i = { ...i, h: H.Number(2, w) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
7224
7244
  }
7225
7245
  } else {
7226
- u -= I.deltaY;
7227
- let T = parseInt(String(u / 50));
7228
- if (v !== T) {
7229
- v = T;
7246
+ u -= D.deltaY;
7247
+ let N = parseInt(String(u / 50));
7248
+ if (v !== N) {
7249
+ v = N;
7230
7250
  let w = parseInt(i.h, 10) - 1;
7231
7251
  w = w < 0 ? 23 : w, i = { ...i, h: H.Number(2, w) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
7232
7252
  }
7233
7253
  }
7234
- else if (I.deltaY > 0) {
7235
- u += I.deltaY;
7236
- let T = parseInt(String(u / 50));
7237
- if (v !== T) {
7238
- v = T;
7254
+ else if (D.deltaY > 0) {
7255
+ u += D.deltaY;
7256
+ let N = parseInt(String(u / 50));
7257
+ if (v !== N) {
7258
+ v = N;
7239
7259
  let w = parseInt(i.m, 10) + 1;
7240
7260
  w = w > 59 ? 0 : w, i = { ...i, m: H.Number(2, w) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
7241
7261
  }
7242
7262
  } else {
7243
- u -= I.deltaY;
7244
- let T = parseInt(String(u / 50));
7245
- if (v !== T) {
7246
- v = T;
7263
+ u -= D.deltaY;
7264
+ let N = parseInt(String(u / 50));
7265
+ if (v !== N) {
7266
+ v = N;
7247
7267
  let w = parseInt(i.m, 10) - 1;
7248
7268
  w = w < 0 ? 59 : w, i = { ...i, m: H.Number(2, w) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
7249
7269
  }
@@ -7251,7 +7271,7 @@ const zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7251
7271
  n(i.h + ":" + i.m);
7252
7272
  }, [y, j] = m.useState(!0), E = () => {
7253
7273
  j(!1), t(i.h + ":" + i.m);
7254
- }, L = window.innerHeight - e.y + 33 < 320 ? e.y - 312 : e.y + 33, $ = window.innerWidth - e.x < 265 ? e.x - 235 : e.x;
7274
+ }, M = window.innerHeight - e.y + 33 < 320 ? e.y - 312 : e.y + 33, R = window.innerWidth - e.x < 265 ? e.x - 235 : e.x;
7255
7275
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: y ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7256
7276
  /* @__PURE__ */ a.jsx(
7257
7277
  "div",
@@ -7270,7 +7290,7 @@ const zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7270
7290
  onMouseMove: p,
7271
7291
  onWheel: g,
7272
7292
  ref: f.body,
7273
- style: { top: L + "px", left: $ + "px" },
7293
+ style: { top: M + "px", left: R + "px" },
7274
7294
  children: [
7275
7295
  /* @__PURE__ */ a.jsx("div", { className: "b" }),
7276
7296
  /* @__PURE__ */ a.jsxs("div", { className: "s", children: [
@@ -7403,22 +7423,22 @@ function ga({
7403
7423
  if (f !== 0 && g.length >= f)
7404
7424
  return je.Error("Слишком много");
7405
7425
  y([...g, ""]);
7406
- }, E = (N) => {
7407
- g.splice(N, 1), g.length === 0 && g.push(""), y([...g]), h !== void 0 && h({ value: g.join(p), name: n });
7408
- }, L = !!(o && (e === "" || e === void 0)), $ = (N) => {
7426
+ }, E = (L) => {
7427
+ g.splice(L, 1), g.length === 0 && g.push(""), y([...g]), h !== void 0 && h({ value: g.join(p), name: n });
7428
+ }, M = !!(o && (e === "" || e === void 0)), R = (L) => {
7409
7429
  };
7410
- if (!(l && c) && !u || !(l && c) && L) return "";
7411
- const I = {};
7412
- I.field = "group", C && (I.className = C);
7413
- const T = (N, S) => {
7414
- W.Blur(N), g[S] = N.target.textContent, h && h({ value: g.join(p), name: n });
7430
+ if (!(l && c) && !u || !(l && c) && M) return "";
7431
+ const D = {};
7432
+ D.field = "group", C && (D.className = C);
7433
+ const N = (L, S) => {
7434
+ W.Blur(L), g[S] = L.target.textContent, h && h({ value: g.join(p), name: n });
7415
7435
  };
7416
- let w = (N, S) => {
7417
- g[S] = N.target.textContent, t && t({ value: g.join(p), name: n });
7418
- }, O = (N) => {
7419
- N.key === "Enter" && N.preventDefault();
7436
+ let w = (L, S) => {
7437
+ g[S] = L.target.textContent, t && t({ value: g.join(p), name: n });
7438
+ }, O = (L) => {
7439
+ L.key === "Enter" && L.preventDefault();
7420
7440
  };
7421
- const B = ({ data: N }) => f !== 0 && N.length >= f ? "" : /* @__PURE__ */ a.jsx("i", { onClick: j, children: /* @__PURE__ */ a.jsxs(
7441
+ const B = ({ data: L }) => f !== 0 && L.length >= f ? "" : /* @__PURE__ */ a.jsx("i", { onClick: j, children: /* @__PURE__ */ a.jsxs(
7422
7442
  "svg",
7423
7443
  {
7424
7444
  xmlns: "http://www.w3.org/2000/svg",
@@ -7434,12 +7454,12 @@ function ga({
7434
7454
  ]
7435
7455
  }
7436
7456
  ) });
7437
- return /* @__PURE__ */ a.jsxs("dl", { ...I, children: [
7457
+ return /* @__PURE__ */ a.jsxs("dl", { ...D, children: [
7438
7458
  /* @__PURE__ */ a.jsxs("dt", { children: [
7439
7459
  s,
7440
7460
  /* @__PURE__ */ a.jsx(B, { data: g })
7441
7461
  ] }),
7442
- /* @__PURE__ */ a.jsx("dd", { children: g.map((N, S) => /* @__PURE__ */ a.jsxs("li", { className: "field_group_item", children: [
7462
+ /* @__PURE__ */ a.jsx("dd", { children: g.map((L, S) => /* @__PURE__ */ a.jsxs("li", { className: "field_group_item", children: [
7443
7463
  /* @__PURE__ */ a.jsx(
7444
7464
  "span",
7445
7465
  {
@@ -7447,10 +7467,10 @@ function ga({
7447
7467
  edit: "true",
7448
7468
  name: n,
7449
7469
  placeholder: r,
7450
- onPaste: $,
7470
+ onPaste: R,
7451
7471
  contentEditable: l && c ? W.ContentEditable : "false",
7452
7472
  onKeyDown: O,
7453
- onBlur: (x) => T(x, S),
7473
+ onBlur: (x) => N(x, S),
7454
7474
  suppressContentEditableWarning: !0,
7455
7475
  children: g[S]
7456
7476
  }
@@ -7502,12 +7522,12 @@ function xa({
7502
7522
  options: C,
7503
7523
  className: p
7504
7524
  }) {
7505
- const [g, y] = m.useState(Kc(e)), j = ($) => {
7525
+ const [g, y] = m.useState(Kc(e)), j = (R) => {
7506
7526
  if (!(l && _) || !f) return;
7507
- let I = f.split(".");
7508
- _t.Open(I[0], I[1], {
7509
- callback: (T) => {
7510
- t && t({ value: T, name: n }), y(T);
7527
+ let D = f.split(".");
7528
+ _t.Open(D[0], D[1], {
7529
+ callback: (N) => {
7530
+ t && t({ value: N, name: n }), y(N);
7511
7531
  },
7512
7532
  onValue: t,
7513
7533
  options: C,
@@ -7516,8 +7536,8 @@ function xa({
7516
7536
  });
7517
7537
  }, E = {};
7518
7538
  E.field = "group", p && (E.className = p);
7519
- const L = {};
7520
- return r && (L.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
7539
+ const M = {};
7540
+ return r && (M.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
7521
7541
  /* @__PURE__ */ a.jsxs("dt", { children: [
7522
7542
  s,
7523
7543
  /* @__PURE__ */ a.jsx("i", { onClick: j, children: /* @__PURE__ */ a.jsxs(
@@ -7541,13 +7561,13 @@ function xa({
7541
7561
  /* @__PURE__ */ a.jsx(
7542
7562
  "dd",
7543
7563
  {
7544
- ...L,
7564
+ ...M,
7545
7565
  onClick: open,
7546
7566
  edit: (l && _) + "",
7547
7567
  "data-after": u,
7548
- children: Object.keys(g).map(($) => {
7549
- var I;
7550
- return /* @__PURE__ */ a.jsx("div", { className: "field_group_item", children: (I = C[$]) == null ? void 0 : I.label }, $);
7568
+ children: Object.keys(g).map((R) => {
7569
+ var D;
7570
+ return /* @__PURE__ */ a.jsx("div", { className: "field_group_item", children: (D = C[R]) == null ? void 0 : D.label }, R);
7551
7571
  })
7552
7572
  }
7553
7573
  ),
@@ -7574,29 +7594,29 @@ function Sn({
7574
7594
  className: g = ""
7575
7595
  }) {
7576
7596
  const y = m.useId();
7577
- let j = !!(l && (e === "" || e === void 0)), [E, L] = m.useState(i);
7597
+ let j = !!(l && (e === "" || e === void 0)), [E, M] = m.useState(i);
7578
7598
  if (!(c && _) && !v || !(c && _) && j) return "";
7579
- const $ = async (T) => {
7599
+ const R = async (N) => {
7580
7600
  if (f) {
7581
- let w = Yc(T, f, e || "default");
7582
- t == null || t({ name: n, value: w }), L(URL.createObjectURL(w));
7601
+ let w = Yc(N, f, e || "default");
7602
+ t == null || t({ name: n, value: w }), M(URL.createObjectURL(w));
7583
7603
  } else
7584
- t == null || t({ name: n, value: T }), L(URL.createObjectURL(T));
7585
- }, I = {};
7586
- return I.field = "file", g && (I.className = g), /* @__PURE__ */ a.jsxs("dl", { ...I, children: [
7604
+ t == null || t({ name: n, value: N }), M(URL.createObjectURL(N));
7605
+ }, D = {};
7606
+ return D.field = "file", g && (D.className = g), /* @__PURE__ */ a.jsxs("dl", { ...D, children: [
7587
7607
  s && /* @__PURE__ */ a.jsxs("dt", { children: [
7588
7608
  s,
7589
7609
  " "
7590
7610
  ] }),
7591
- /* @__PURE__ */ a.jsxs(Hc, { onFiles: $, children: [
7611
+ /* @__PURE__ */ a.jsxs(Hc, { onFiles: R, children: [
7592
7612
  /* @__PURE__ */ a.jsx(
7593
7613
  "input",
7594
7614
  {
7595
7615
  id: y,
7596
7616
  type: "file",
7597
7617
  multiple: !0,
7598
- onChange: (T) => {
7599
- T.target.files[0] && $(T.target.files[0]);
7618
+ onChange: (N) => {
7619
+ N.target.files[0] && R(N.target.files[0]);
7600
7620
  }
7601
7621
  }
7602
7622
  ),
@@ -7741,36 +7761,36 @@ function ed({
7741
7761
  className: C = ""
7742
7762
  }) {
7743
7763
  _ = _ !== void 0 ? _ : !0, u = u !== void 0 ? u : !0, c = !!(c && (e === "" || e === void 0)) && !(_ && u), m.useRef(null);
7744
- let g = s, y = !0, j = 0, E = (x, R) => {
7764
+ let g = s, y = !0, j = 0, E = (x, T) => {
7745
7765
  let Z = document.createRange(), J = window.getSelection();
7746
- Z.setStart(R.childNodes[0], x), Z.collapse(!0), J.removeAllRanges(), J.addRange(Z), R.focus();
7747
- }, L = (x) => {
7748
- x.preventDefault(), navigator.clipboard.readText().then((R) => {
7749
- window.document.execCommand("insertText", !1, R);
7750
- }).catch((R) => {
7766
+ Z.setStart(T.childNodes[0], x), Z.collapse(!0), J.removeAllRanges(), J.addRange(Z), T.focus();
7767
+ }, M = (x) => {
7768
+ x.preventDefault(), navigator.clipboard.readText().then((T) => {
7769
+ window.document.execCommand("insertText", !1, T);
7770
+ }).catch((T) => {
7751
7771
  });
7752
- }, $ = (x) => {
7753
- let R = 0, Z = "", J = x.replace(/\D/g, "");
7772
+ }, R = (x) => {
7773
+ let T = 0, Z = "", J = x.replace(/\D/g, "");
7754
7774
  J === "" && (y = !0);
7755
7775
  let oe = J.split(""), Ce = "";
7756
7776
  oe.forEach((Qe) => {
7757
7777
  y && (Ce += Qe, y && (j = ("" + Ce).length, g = s.replace(new RegExp("[0-9]", "g"), "_"), Z = ""), j > ("" + Ce).length && (y = !0, g = s.replace(new RegExp("[0-9]", "g"), "_"), Z = ""));
7758
7778
  });
7759
- let Ie = g.replace(/\D/g, "");
7760
- return Ie.length >= J.length && (J = Ie), { q: g.replace(/[_\d]/g, function() {
7761
- return J.charAt(R++) || "_";
7762
- }), i: R, v: J, f: Z };
7763
- }, I = (x) => {
7779
+ let Re = g.replace(/\D/g, "");
7780
+ return Re.length >= J.length && (J = Re), { q: g.replace(/[_\d]/g, function() {
7781
+ return J.charAt(T++) || "_";
7782
+ }), i: T, v: J, f: Z };
7783
+ }, D = (x) => {
7764
7784
  x.preventDefault(), navigator.clipboard.writeText(x.target.textContent.replace(/\D/g, "")).then(
7765
7785
  function() {
7766
7786
  je.Copy("Данные в буфер обмене");
7767
7787
  },
7768
- function(R) {
7788
+ function(T) {
7769
7789
  }
7770
7790
  );
7771
- }, T = $(e), w = (x) => {
7772
- let R = $(x.target.textContent);
7773
- x.target.textContent = R.q, R.i = R.q.lastIndexOf(R.v.substr(-1)), R.i < R.q.length && R.q !== g ? R.i++ : R.i = R.q.indexOf("_"), E(R.i, x.target), t && t({ value: R.q.replace(/\D/g, ""), name: r });
7791
+ }, N = R(e), w = (x) => {
7792
+ let T = R(x.target.textContent);
7793
+ x.target.textContent = T.q, T.i = T.q.lastIndexOf(T.v.substr(-1)), T.i < T.q.length && T.q !== g ? T.i++ : T.i = T.q.indexOf("_"), E(T.i, x.target), t && t({ value: T.q.replace(/\D/g, ""), name: r });
7774
7794
  }, O = (x) => {
7775
7795
  x.key === "Enter" && x.preventDefault();
7776
7796
  };
@@ -7779,22 +7799,22 @@ function ed({
7779
7799
  value: x.target.textContent.replace(/\D/g, ""),
7780
7800
  name: r
7781
7801
  });
7782
- }, N = {};
7783
- N.field = "input", C && (N.className = C);
7802
+ }, L = {};
7803
+ L.field = "input", C && (L.className = C);
7784
7804
  let S = {};
7785
- return _ && u ? (S.edit = "true", S.contentEditable = W.ContentEditable) : S.contentEditable = "false", i && (S.placeholder = i), v && (S.after = v), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
7805
+ return _ && u ? (S.edit = "true", S.contentEditable = W.ContentEditable) : S.contentEditable = "false", i && (S.placeholder = i), v && (S.after = v), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...L, children: [
7786
7806
  o && /* @__PURE__ */ a.jsx("dt", { children: o }),
7787
7807
  /* @__PURE__ */ a.jsx(
7788
7808
  "dd",
7789
7809
  {
7790
7810
  ...S,
7791
- onPaste: L,
7811
+ onPaste: M,
7792
7812
  onInput: w,
7793
7813
  onKeyDown: O,
7794
- onContextMenu: I,
7814
+ onContextMenu: D,
7795
7815
  onBlur: B,
7796
7816
  suppressContentEditableWarning: !0,
7797
- children: T.q
7817
+ children: N.q
7798
7818
  }
7799
7819
  ),
7800
7820
  l && /* @__PURE__ */ a.jsx("em", { children: l })
@@ -8154,7 +8174,7 @@ const r_ = { Button: Cd, useValue: jd, Set: kd, Run: bd, Count: ja, Reset: yd },
8154
8174
  p: Ed,
8155
8175
  l: Dd
8156
8176
  };
8157
- function Rd(e) {
8177
+ function Id(e) {
8158
8178
  let t = 3, n = e.page, r = e.count, s = [], i = () => {
8159
8179
  s.push({ page: 1 }), s.push({ text: "..." });
8160
8180
  }, o = () => {
@@ -8167,12 +8187,12 @@ function Rd(e) {
8167
8187
  /* @__PURE__ */ a.jsx("i", { onClick: () => e.onChangePage(n - 1), children: /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ a.jsx("path", { d: "M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.19486 5.40705Z" }) }) }),
8168
8188
  s.map((c, _) => {
8169
8189
  const u = {};
8170
- return c.page && (u.onClick = () => e.onChangePage(c.page)), c.page === e.page && (u.active = ""), /* @__PURE__ */ In("span", { ...u, key: _ }, c.page || c.text);
8190
+ return c.page && (u.onClick = () => e.onChangePage(c.page)), c.page === e.page && (u.active = ""), /* @__PURE__ */ Rn("span", { ...u, key: _ }, c.page || c.text);
8171
8191
  }),
8172
8192
  /* @__PURE__ */ a.jsx("i", { onClick: () => e.onChangePage(n + 1), children: /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ a.jsx("path", { d: "M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.19486 5.40705Z" }) }) })
8173
8193
  ] });
8174
8194
  }
8175
- function Id(e, t) {
8195
+ function Rd(e, t) {
8176
8196
  switch (t.type) {
8177
8197
  case "load":
8178
8198
  return {
@@ -8194,7 +8214,7 @@ function Id(e, t) {
8194
8214
  }
8195
8215
  }
8196
8216
  function ya({ load: e, list: t, item: n }) {
8197
- const r = m.useRef(null), [s, i] = m.useReducer(Id, {
8217
+ const r = m.useRef(null), [s, i] = m.useReducer(Rd, {
8198
8218
  load: !1,
8199
8219
  list: [],
8200
8220
  data: {},
@@ -8218,7 +8238,7 @@ function ya({ load: e, list: t, item: n }) {
8218
8238
  /* @__PURE__ */ a.jsx("i", {})
8219
8239
  ] }) }) }),
8220
8240
  s.load && s.list !== void 0 ? /* @__PURE__ */ a.jsx(
8221
- Rd,
8241
+ Id,
8222
8242
  {
8223
8243
  page: s.page,
8224
8244
  count: s.size,