elcrm 0.8.47 → 0.8.48

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
@@ -5,12 +5,12 @@ import x, { createElement as Ea } from "react";
5
5
  let wt = {};
6
6
  const Ra = (e) => {
7
7
  wt = e;
8
- }, Na = (e) => wt.enCode(e), Ia = (e) => wt.deCode(e), F = { enCode: Na, deCode: Ia, New: Ra }, b = {}, V = {}, we = {}, mn = {}, ce = {};
8
+ }, Na = (e) => wt.enCode(e), Ia = (e) => wt.deCode(e), F = { enCode: Na, deCode: Ia, New: Ra }, b = {}, Y = {}, we = {}, mn = {}, ce = {};
9
9
  let St = "M06";
10
- function Ta(e) {
10
+ function Da(e) {
11
11
  St = e;
12
12
  }
13
- function Da() {
13
+ function Ta() {
14
14
  return St;
15
15
  }
16
16
  function Ma(e) {
@@ -38,16 +38,16 @@ function Fa(e) {
38
38
  id: b.id,
39
39
  time: (/* @__PURE__ */ new Date()).getTime()
40
40
  })
41
- ), V.page(b.page);
41
+ ), Y.page(b.page);
42
42
  }
43
43
  function La(e) {
44
44
  return localStorage.setItem("d", e);
45
45
  }
46
- function Ba() {
46
+ function $a() {
47
47
  let e = localStorage.getItem("d");
48
48
  return e !== "" && e !== "undefined" && e !== null ? e : "";
49
49
  }
50
- function $a(e) {
50
+ function Ba(e) {
51
51
  return localStorage.setItem("a", e);
52
52
  }
53
53
  function Pa() {
@@ -69,10 +69,10 @@ function Aa() {
69
69
  const [e, t] = x.useState(hn()), a = (r) => {
70
70
  t(r);
71
71
  };
72
- return V.page = a, [e];
72
+ return Y.page = a, [e];
73
73
  }
74
74
  function Ga(e, t = !0) {
75
- b.page = e, sessionStorage.setItem("f", F.enCode(b)), t && V.page(e);
75
+ b.page = e, sessionStorage.setItem("f", F.enCode(b)), t && Y.page(e);
76
76
  }
77
77
  function hn() {
78
78
  return b.page;
@@ -85,12 +85,12 @@ function za(e) {
85
85
  const [t, a] = x.useState(e || xn()), r = (s) => {
86
86
  a(s);
87
87
  };
88
- return V.module = r, [t];
88
+ return Y.module = r, [t];
89
89
  } else
90
- V.module = e;
90
+ Y.module = e;
91
91
  }
92
92
  function Wa(e, t = !0) {
93
- b.module = e, sessionStorage.setItem("f", F.enCode(b)), t && V.module(e);
93
+ b.module = e, sessionStorage.setItem("f", F.enCode(b)), t && Y.module(e);
94
94
  }
95
95
  function xn() {
96
96
  return b.module;
@@ -101,21 +101,21 @@ function Ka(e) {
101
101
  function Ua(e) {
102
102
  if (typeof e != "function") {
103
103
  const [t, a] = x.useState(e || Je());
104
- return V.tabs = a, [t];
104
+ return Y.tabs = a, [t];
105
105
  } else
106
- V.tabs = e;
106
+ Y.tabs = e;
107
107
  }
108
- function Va(e, t = !0) {
108
+ function Ya(e, t = !0) {
109
109
  if (b.tab = e, sessionStorage.setItem("f", F.enCode(b)), !!t)
110
- if (V.tabs)
111
- V.tabs(e);
110
+ if (Y.tabs)
111
+ Y.tabs(e);
112
112
  else
113
113
  throw new Error("useTabs not found");
114
114
  }
115
115
  function Je() {
116
116
  return b.tab;
117
117
  }
118
- function Ya(e) {
118
+ function Va(e) {
119
119
  return b.tab === e;
120
120
  }
121
121
  function Ha(e) {
@@ -123,15 +123,15 @@ function Ha(e) {
123
123
  const [t, a] = x.useState(e || pn()), r = (s) => {
124
124
  a(s);
125
125
  };
126
- return V.id = r, [t];
126
+ return Y.id = r, [t];
127
127
  } else
128
- V.id = e;
128
+ Y.id = e;
129
129
  }
130
130
  function qa(e) {
131
- V.id = e;
131
+ Y.id = e;
132
132
  }
133
133
  function Ja(e, t = !0) {
134
- b.id = e, sessionStorage.setItem("f", F.enCode(b)), t && V.id(e);
134
+ b.id = e, sessionStorage.setItem("f", F.enCode(b)), t && Y.id(e);
135
135
  }
136
136
  function pn() {
137
137
  return b.id;
@@ -140,7 +140,7 @@ function Xa(e) {
140
140
  return Number(b.id) === e;
141
141
  }
142
142
  function Qa(e, t, a) {
143
- b.module = e, b.id = a, b.tab = t, sessionStorage.setItem("f", F.enCode(b)), V.module(e), V.tabs(t);
143
+ b.module = e, b.id = a, b.tab = t, sessionStorage.setItem("f", F.enCode(b)), Y.module(e), Y.tabs(t);
144
144
  }
145
145
  function er(e) {
146
146
  we.data = e[0], delete we.data.id, document.body.dataset.theme = we.data.s15, localStorage.setItem("s", F.enCode(we.data));
@@ -171,7 +171,7 @@ function ar() {
171
171
  return te(), !1;
172
172
  }
173
173
  function rr(e) {
174
- V.sort = e;
174
+ Y.sort = e;
175
175
  }
176
176
  function vn(e) {
177
177
  let t = localStorage.getItem("b");
@@ -272,10 +272,10 @@ function hr(e, t, a) {
272
272
  }
273
273
  const ie = {
274
274
  setSSID: La,
275
- getSSID: Ba,
275
+ getSSID: $a,
276
276
  getPORT: mt,
277
277
  setPORT: Oa,
278
- setAUTH: $a,
278
+ setAUTH: Ba,
279
279
  getAUTH: Pa,
280
280
  Logaut: te,
281
281
  Start: Fa,
@@ -295,12 +295,12 @@ const ie = {
295
295
  getPayment: cr,
296
296
  setUser: jn,
297
297
  getUser: dr,
298
- getDefaultModules: Da,
298
+ getDefaultModules: Ta,
299
299
  getBase: fr,
300
300
  setBase: mr,
301
301
  editBase: hr,
302
302
  loadBase: ur
303
- }, yn = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0P3t9OnsiQ29udGVudC10eXBlIjoiYXBwbGljYXRpb24vanNvbjtjaGFyc2V0PXV0Zi04In07dHJ5e2xldCB0PWF3YWl0IGZldGNoKGAke2EuZGF0YS5ob3N0fSR7YS5kYXRhLmxpbmt9YCx7bWV0aG9kOiJQT1NUIixoZWFkZXJzOntzc2lkOmEuZGF0YS5zc2lkLC4uLnN9LGJvZHk6YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT9hLmRhdGEuZGF0YTpKU09OLnN0cmluZ2lmeShhLmRhdGEuZGF0YSl9KTtwb3N0TWVzc2FnZShhd2FpdCB0Lmpzb24oKSl9Y2F0Y2godCl7cG9zdE1lc3NhZ2Uoe3N0YXR1czoiZXJyb3IiLGRhdGE6IndvcmtlciIsbWVzc2FnZTp0fSl9fX0pKCk7Cg==", xr = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), tn = typeof window < "u" && window.Blob && new Blob([xr(yn)], { type: "text/javascript;charset=utf-8" });
303
+ }, yn = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=", xr = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), tn = typeof window < "u" && window.Blob && new Blob([xr(yn)], { type: "text/javascript;charset=utf-8" });
304
304
  function bn(e) {
305
305
  let t;
306
306
  try {
@@ -411,7 +411,7 @@ async function Nr(e, t = {}) {
411
411
  }
412
412
  }
413
413
  const nn = { audio: wr, fetch: Xe, modules: Sr, remoute: Rr, url: br, telegram: Nr, use: Er };
414
- var xt = { exports: {} }, De = {};
414
+ var xt = { exports: {} }, Te = {};
415
415
  /**
416
416
  * @license React
417
417
  * react-jsx-runtime.production.min.js
@@ -424,7 +424,7 @@ var xt = { exports: {} }, De = {};
424
424
  var an;
425
425
  function Ir() {
426
426
  if (an)
427
- return De;
427
+ return Te;
428
428
  an = 1;
429
429
  var e = x, t = Symbol.for("react.element"), a = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
430
430
  function o(l, _, d) {
@@ -437,7 +437,7 @@ function Ir() {
437
437
  f[u] === void 0 && (f[u] = _[u]);
438
438
  return { $$typeof: t, type: l, key: m, ref: h, props: f, _owner: s.current };
439
439
  }
440
- return De.Fragment = a, De.jsx = o, De.jsxs = o, De;
440
+ return Te.Fragment = a, Te.jsx = o, Te.jsxs = o, Te;
441
441
  }
442
442
  var Me = {};
443
443
  /**
@@ -450,7 +450,7 @@ var Me = {};
450
450
  * LICENSE file in the root directory of this source tree.
451
451
  */
452
452
  var rn;
453
- function Tr() {
453
+ function Dr() {
454
454
  return rn || (rn = 1, process.env.NODE_ENV !== "production" && function() {
455
455
  var e = x, t = Symbol.for("react.element"), a = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), C = Symbol.iterator, v = "@@iterator";
456
456
  function g(c) {
@@ -464,23 +464,23 @@ function Tr() {
464
464
  {
465
465
  for (var p = arguments.length, k = new Array(p > 1 ? p - 1 : 0), I = 1; I < p; I++)
466
466
  k[I - 1] = arguments[I];
467
- T("error", c, k);
467
+ D("error", c, k);
468
468
  }
469
469
  }
470
- function T(c, p, k) {
470
+ function D(c, p, k) {
471
471
  {
472
- var I = j.ReactDebugCurrentFrame, $ = I.getStackAddendum();
473
- $ !== "" && (p += "%s", k = k.concat([$]));
472
+ var I = j.ReactDebugCurrentFrame, B = I.getStackAddendum();
473
+ B !== "" && (p += "%s", k = k.concat([B]));
474
474
  var P = k.map(function(L) {
475
475
  return String(L);
476
476
  });
477
477
  P.unshift("Warning: " + p), Function.prototype.apply.call(console[c], console, P);
478
478
  }
479
479
  }
480
- var D = !1, w = !1, R = !1, E = !1, N = !1, A;
480
+ var T = !1, w = !1, R = !1, E = !1, N = !1, A;
481
481
  A = Symbol.for("react.module.reference");
482
482
  function X(c) {
483
- return !!(typeof c == "string" || typeof c == "function" || c === r || c === i || N || c === s || c === d || c === u || E || c === h || D || w || R || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === f || c.$$typeof === o || c.$$typeof === l || c.$$typeof === _ || // This needs to include all possible module reference object
483
+ return !!(typeof c == "string" || typeof c == "function" || c === r || c === i || N || c === s || c === d || c === u || E || c === h || T || w || R || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === f || c.$$typeof === o || c.$$typeof === l || c.$$typeof === _ || // This needs to include all possible module reference object
484
484
  // types supported by any Flight configuration anywhere since
485
485
  // we don't know which Flight build this will end up being used
486
486
  // with.
@@ -490,13 +490,13 @@ function Tr() {
490
490
  var I = c.displayName;
491
491
  if (I)
492
492
  return I;
493
- var $ = p.displayName || p.name || "";
494
- return $ !== "" ? k + "(" + $ + ")" : k;
493
+ var B = p.displayName || p.name || "";
494
+ return B !== "" ? k + "(" + B + ")" : k;
495
495
  }
496
496
  function Z(c) {
497
497
  return c.displayName || "Context";
498
498
  }
499
- function B(c) {
499
+ function $(c) {
500
500
  if (c == null)
501
501
  return null;
502
502
  if (typeof c.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
@@ -529,11 +529,11 @@ function Tr() {
529
529
  return le(c, c.render, "ForwardRef");
530
530
  case f:
531
531
  var I = c.displayName || null;
532
- return I !== null ? I : B(c.type) || "Memo";
532
+ return I !== null ? I : $(c.type) || "Memo";
533
533
  case m: {
534
- var $ = c, P = $._payload, L = $._init;
534
+ var B = c, P = B._payload, L = B._init;
535
535
  try {
536
- return B(L(P));
536
+ return $(L(P));
537
537
  } catch {
538
538
  return null;
539
539
  }
@@ -541,14 +541,14 @@ function Tr() {
541
541
  }
542
542
  return null;
543
543
  }
544
- var H = Object.assign, q = 0, Ze, re, Ne, tt, ze, $t, Pt;
544
+ var H = Object.assign, q = 0, Ze, re, Ne, tt, ze, Bt, Pt;
545
545
  function Ot() {
546
546
  }
547
547
  Ot.__reactDisabledLog = !0;
548
548
  function Xn() {
549
549
  {
550
550
  if (q === 0) {
551
- Ze = console.log, re = console.info, Ne = console.warn, tt = console.error, ze = console.group, $t = console.groupCollapsed, Pt = console.groupEnd;
551
+ Ze = console.log, re = console.info, Ne = console.warn, tt = console.error, ze = console.group, Bt = console.groupCollapsed, Pt = console.groupEnd;
552
552
  var c = {
553
553
  configurable: !0,
554
554
  enumerable: !0,
@@ -593,7 +593,7 @@ function Tr() {
593
593
  value: ze
594
594
  }),
595
595
  groupCollapsed: H({}, c, {
596
- value: $t
596
+ value: Bt
597
597
  }),
598
598
  groupEnd: H({}, c, {
599
599
  value: Pt
@@ -609,8 +609,8 @@ function Tr() {
609
609
  if (at === void 0)
610
610
  try {
611
611
  throw Error();
612
- } catch ($) {
613
- var I = $.stack.trim().match(/\n( *(at )?)/);
612
+ } catch (B) {
613
+ var I = B.stack.trim().match(/\n( *(at )?)/);
614
614
  at = I && I[1] || "";
615
615
  }
616
616
  return `
@@ -632,7 +632,7 @@ function Tr() {
632
632
  }
633
633
  var I;
634
634
  rt = !0;
635
- var $ = Error.prepareStackTrace;
635
+ var B = Error.prepareStackTrace;
636
636
  Error.prepareStackTrace = void 0;
637
637
  var P;
638
638
  P = nt.current, nt.current = null, Xn();
@@ -688,7 +688,7 @@ function Tr() {
688
688
  }
689
689
  }
690
690
  } finally {
691
- rt = !1, nt.current = P, Qn(), Error.prepareStackTrace = $;
691
+ rt = !1, nt.current = P, Qn(), Error.prepareStackTrace = B;
692
692
  }
693
693
  var be = c ? c.displayName || c.name : "", ge = be ? We(be) : "";
694
694
  return typeof c == "function" && Ke.set(c, ge), ge;
@@ -720,9 +720,9 @@ function Tr() {
720
720
  case f:
721
721
  return Ue(c.type, p, k);
722
722
  case m: {
723
- var I = c, $ = I._payload, P = I._init;
723
+ var I = c, B = I._payload, P = I._init;
724
724
  try {
725
- return Ue(P($), p, k);
725
+ return Ue(P(B), p, k);
726
726
  } catch {
727
727
  }
728
728
  }
@@ -730,14 +730,14 @@ function Tr() {
730
730
  return "";
731
731
  }
732
732
  var Ie = Object.prototype.hasOwnProperty, Gt = {}, Zt = j.ReactDebugCurrentFrame;
733
- function Ve(c) {
733
+ function Ye(c) {
734
734
  if (c) {
735
735
  var p = c._owner, k = Ue(c.type, c._source, p ? p.type : null);
736
736
  Zt.setExtraStackFrame(k);
737
737
  } else
738
738
  Zt.setExtraStackFrame(null);
739
739
  }
740
- function aa(c, p, k, I, $) {
740
+ function aa(c, p, k, I, B) {
741
741
  {
742
742
  var P = Function.call.bind(Ie);
743
743
  for (var L in c)
@@ -752,7 +752,7 @@ function Tr() {
752
752
  } catch (z) {
753
753
  M = z;
754
754
  }
755
- M && !(M instanceof Error) && (Ve($), S("%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).", I || "React class", k, L, typeof M), Ve(null)), M instanceof Error && !(M.message in Gt) && (Gt[M.message] = !0, Ve($), S("Failed %s type: %s", k, M.message), Ve(null));
755
+ M && !(M instanceof Error) && (Ye(B), S("%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).", I || "React class", k, L, typeof M), Ye(null)), M instanceof Error && !(M.message in Gt) && (Gt[M.message] = !0, Ye(B), S("Failed %s type: %s", k, M.message), Ye(null));
756
756
  }
757
757
  }
758
758
  }
@@ -780,7 +780,7 @@ function Tr() {
780
780
  if (ia(c))
781
781
  return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sa(c)), zt(c);
782
782
  }
783
- var Te = j.ReactCurrentOwner, oa = {
783
+ var De = j.ReactCurrentOwner, oa = {
784
784
  key: !0,
785
785
  ref: !0,
786
786
  __self: !0,
@@ -804,9 +804,9 @@ function Tr() {
804
804
  return c.key !== void 0;
805
805
  }
806
806
  function da(c, p) {
807
- if (typeof c.ref == "string" && Te.current && p && Te.current.stateNode !== p) {
808
- var k = B(Te.current.type);
809
- it[k] || (S('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', B(Te.current.type), c.ref), it[k] = !0);
807
+ if (typeof c.ref == "string" && De.current && p && De.current.stateNode !== p) {
808
+ var k = $(De.current.type);
809
+ it[k] || (S('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', $(De.current.type), c.ref), it[k] = !0);
810
810
  }
811
811
  }
812
812
  function _a(c, p) {
@@ -831,7 +831,7 @@ function Tr() {
831
831
  });
832
832
  }
833
833
  }
834
- var fa = function(c, p, k, I, $, P, L) {
834
+ var fa = function(c, p, k, I, B, P, L) {
835
835
  var M = {
836
836
  // This tag allows us to uniquely identify this as a React Element
837
837
  $$typeof: t,
@@ -857,13 +857,13 @@ function Tr() {
857
857
  configurable: !1,
858
858
  enumerable: !1,
859
859
  writable: !1,
860
- value: $
860
+ value: B
861
861
  }), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
862
862
  };
863
- function ma(c, p, k, I, $) {
863
+ function ma(c, p, k, I, B) {
864
864
  {
865
865
  var P, L = {}, M = null, J = null;
866
- k !== void 0 && (Wt(k), M = "" + k), ca(p) && (Wt(p.key), M = "" + p.key), la(p) && (J = p.ref, da(p, $));
866
+ k !== void 0 && (Wt(k), M = "" + k), ca(p) && (Wt(p.key), M = "" + p.key), la(p) && (J = p.ref, da(p, B));
867
867
  for (P in p)
868
868
  Ie.call(p, P) && !oa.hasOwnProperty(P) && (L[P] = p[P]);
869
869
  if (c && c.defaultProps) {
@@ -875,26 +875,26 @@ function Tr() {
875
875
  var U = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
876
876
  M && _a(L, U), J && ua(L, U);
877
877
  }
878
- return fa(c, M, J, $, I, Te.current, L);
878
+ return fa(c, M, J, B, I, De.current, L);
879
879
  }
880
880
  }
881
- var ot = j.ReactCurrentOwner, Vt = j.ReactDebugCurrentFrame;
881
+ var ot = j.ReactCurrentOwner, Yt = j.ReactDebugCurrentFrame;
882
882
  function ye(c) {
883
883
  if (c) {
884
884
  var p = c._owner, k = Ue(c.type, c._source, p ? p.type : null);
885
- Vt.setExtraStackFrame(k);
885
+ Yt.setExtraStackFrame(k);
886
886
  } else
887
- Vt.setExtraStackFrame(null);
887
+ Yt.setExtraStackFrame(null);
888
888
  }
889
889
  var lt;
890
890
  lt = !1;
891
891
  function ct(c) {
892
892
  return typeof c == "object" && c !== null && c.$$typeof === t;
893
893
  }
894
- function Yt() {
894
+ function Vt() {
895
895
  {
896
896
  if (ot.current) {
897
- var c = B(ot.current.type);
897
+ var c = $(ot.current.type);
898
898
  if (c)
899
899
  return `
900
900
 
@@ -909,7 +909,7 @@ Check the render method of \`` + c + "`.";
909
909
  var Ht = {};
910
910
  function xa(c) {
911
911
  {
912
- var p = Yt();
912
+ var p = Vt();
913
913
  if (!p) {
914
914
  var k = typeof c == "string" ? c : c.displayName || c.name;
915
915
  k && (p = `
@@ -929,7 +929,7 @@ Check the top-level render call using <` + k + ">.");
929
929
  return;
930
930
  Ht[k] = !0;
931
931
  var I = "";
932
- c && c._owner && c._owner !== ot.current && (I = " It was passed a child from " + B(c._owner.type) + "."), ye(c), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, I), ye(null);
932
+ c && c._owner && c._owner !== ot.current && (I = " It was passed a child from " + $(c._owner.type) + "."), ye(c), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, I), ye(null);
933
933
  }
934
934
  }
935
935
  function Jt(c, p) {
@@ -944,9 +944,9 @@ Check the top-level render call using <` + k + ">.");
944
944
  else if (ct(c))
945
945
  c._store && (c._store.validated = !0);
946
946
  else if (c) {
947
- var $ = g(c);
948
- if (typeof $ == "function" && $ !== c.entries)
949
- for (var P = $.call(c), L; !(L = P.next()).done; )
947
+ var B = g(c);
948
+ if (typeof B == "function" && B !== c.entries)
949
+ for (var P = B.call(c), L; !(L = P.next()).done; )
950
950
  ct(L.value) && qt(L.value, p);
951
951
  }
952
952
  }
@@ -966,12 +966,12 @@ Check the top-level render call using <` + k + ">.");
966
966
  else
967
967
  return;
968
968
  if (k) {
969
- var I = B(p);
969
+ var I = $(p);
970
970
  aa(k, c.props, "prop", I, c);
971
971
  } else if (p.PropTypes !== void 0 && !lt) {
972
972
  lt = !0;
973
- var $ = B(p);
974
- S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
973
+ var B = $(p);
974
+ S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
975
975
  }
976
976
  typeof p.getDefaultProps == "function" && !p.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
977
977
  }
@@ -989,18 +989,18 @@ Check the top-level render call using <` + k + ">.");
989
989
  }
990
990
  }
991
991
  var Xt = {};
992
- function Qt(c, p, k, I, $, P) {
992
+ function Qt(c, p, k, I, B, P) {
993
993
  {
994
994
  var L = X(c);
995
995
  if (!L) {
996
996
  var M = "";
997
997
  (c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
998
998
  var J = ha();
999
- J ? M += J : M += Yt();
999
+ J ? M += J : M += Vt();
1000
1000
  var z;
1001
- c === null ? z = "null" : st(c) ? z = "array" : c !== void 0 && c.$$typeof === t ? (z = "<" + (B(c.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : z = typeof c, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", z, M);
1001
+ c === null ? z = "null" : st(c) ? z = "array" : c !== void 0 && c.$$typeof === t ? (z = "<" + ($(c.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : z = typeof c, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", z, M);
1002
1002
  }
1003
- var U = ma(c, p, k, $, P);
1003
+ var U = ma(c, p, k, B, P);
1004
1004
  if (U == null)
1005
1005
  return U;
1006
1006
  if (L) {
@@ -1017,7 +1017,7 @@ Check the top-level render call using <` + k + ">.");
1017
1017
  Jt(ne, c);
1018
1018
  }
1019
1019
  if (Ie.call(p, "key")) {
1020
- var ge = B(c), Q = Object.keys(p).filter(function(ba) {
1020
+ var ge = $(c), Q = Object.keys(p).filter(function(ba) {
1021
1021
  return ba !== "key";
1022
1022
  }), dt = Q.length > 0 ? "{key: someKey, " + Q.join(": ..., ") + ": ...}" : "{key: someKey}";
1023
1023
  if (!Xt[ge + dt]) {
@@ -1043,14 +1043,14 @@ React keys must be passed directly to JSX without using spread:
1043
1043
  Me.Fragment = r, Me.jsx = ka, Me.jsxs = ja;
1044
1044
  }()), Me;
1045
1045
  }
1046
- process.env.NODE_ENV === "production" ? xt.exports = Ir() : xt.exports = Tr();
1046
+ process.env.NODE_ENV === "production" ? xt.exports = Ir() : xt.exports = Dr();
1047
1047
  var n = xt.exports;
1048
- const Dr = "_notice_9i5tr_2", Mr = "_error_9i5tr_9", Fr = "_success_9i5tr_12", Lr = "_remark_9i5tr_15", Br = "_copy_9i5tr_18", $r = {
1049
- notice: Dr,
1048
+ const Tr = "_notice_9i5tr_2", Mr = "_error_9i5tr_9", Fr = "_success_9i5tr_12", Lr = "_remark_9i5tr_15", $r = "_copy_9i5tr_18", Br = {
1049
+ notice: Tr,
1050
1050
  error: Mr,
1051
1051
  success: Fr,
1052
1052
  remark: Lr,
1053
- copy: Br,
1053
+ copy: $r,
1054
1054
  "show-notice": "_show-notice_9i5tr_1",
1055
1055
  "hide-notice": "_hide-notice_9i5tr_1"
1056
1056
  };
@@ -1061,7 +1061,7 @@ function Pr() {
1061
1061
  t([...e, a]);
1062
1062
  }, xe.del = (a) => {
1063
1063
  t(e.filter((r) => r.key !== a));
1064
- }, e.length === 0 ? "" : /* @__PURE__ */ n.jsx("ul", { className: $r.notice, children: e.map((a) => a.item) });
1064
+ }, e.length === 0 ? "" : /* @__PURE__ */ n.jsx("ul", { className: Br.notice, children: e.map((a) => a.item) });
1065
1065
  }
1066
1066
  function Ae({ data: e }) {
1067
1067
  let [t, a] = x.useState("show");
@@ -1149,19 +1149,19 @@ ve.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "
1149
1149
  }
1150
1150
  )
1151
1151
  ] });
1152
- const Wr = "_alerts_1pds5_1", Kr = "_menuAnimation_1pds5_1", Ur = "_menuItemAnimation_1pds5_1", Vr = "_allert_1pds5_111", Yr = "_al_1pds5_1", pt = {
1152
+ const Wr = "_alerts_1pds5_1", Kr = "_menuAnimation_1pds5_1", Ur = "_menuItemAnimation_1pds5_1", Yr = "_allert_1pds5_111", Vr = "_al_1pds5_1", pt = {
1153
1153
  alerts: Wr,
1154
1154
  menuAnimation: Kr,
1155
1155
  menuItemAnimation: Ur,
1156
1156
  "--body": "_--body_1pds5_103",
1157
- allert: Vr,
1157
+ allert: Yr,
1158
1158
  "--form": "_--form_1pds5_111",
1159
- al: Yr
1159
+ al: Vr
1160
1160
  };
1161
- let Be = {};
1161
+ let $e = {};
1162
1162
  function Hr() {
1163
1163
  let [e, t] = x.useState("");
1164
- return Be.set = (a) => t(a), Be.del = () => t(""), /* @__PURE__ */ n.jsx(n.Fragment, { children: e });
1164
+ return $e.set = (a) => t(a), $e.del = () => t(""), /* @__PURE__ */ n.jsx(n.Fragment, { children: e });
1165
1165
  }
1166
1166
  const qr = ({ data: e, callback: t }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ n.jsxs("div", { className: pt.alerts, children: [
1167
1167
  /* @__PURE__ */ n.jsxs("dl", { children: [
@@ -1172,18 +1172,18 @@ const qr = ({ data: e, callback: t }) => (e.button = e.button === void 0 ? "По
1172
1172
  {
1173
1173
  "data-color": e.color || "blue",
1174
1174
  onClick: () => {
1175
- t(), Be.del();
1175
+ t(), $e.del();
1176
1176
  },
1177
1177
  children: e.button
1178
1178
  }
1179
1179
  ) })
1180
1180
  ] }),
1181
- /* @__PURE__ */ n.jsx("div", { className: pt["--body"], onClick: Be.del })
1181
+ /* @__PURE__ */ n.jsx("div", { className: pt["--body"], onClick: $e.del })
1182
1182
  ] }));
1183
1183
  function Jr(e, t) {
1184
- Be.set(/* @__PURE__ */ n.jsx(qr, { data: e, callback: t }));
1184
+ $e.set(/* @__PURE__ */ n.jsx(qr, { data: e, callback: t }));
1185
1185
  }
1186
- const $e = { Send: Or, Error: Ar, Remark: Zr, Success: Gr, Copy: zr }, He = {
1186
+ const Be = { Send: Or, Error: Ar, Remark: Zr, Success: Gr, Copy: zr }, He = {
1187
1187
  Path: Qa,
1188
1188
  setPage: Ga,
1189
1189
  getPage: hn,
@@ -1193,10 +1193,10 @@ const $e = { Send: Or, Error: Ar, Remark: Zr, Success: Gr, Copy: zr }, He = {
1193
1193
  getModule: xn,
1194
1194
  useModule: za,
1195
1195
  isModule: Ka,
1196
- setTabs: Va,
1196
+ setTabs: Ya,
1197
1197
  getTabs: Je,
1198
1198
  useTabs: Ua,
1199
- isTabs: Ya,
1199
+ isTabs: Va,
1200
1200
  useId: Ha,
1201
1201
  setId: Ja,
1202
1202
  subId: qa,
@@ -1491,7 +1491,7 @@ function fs() {
1491
1491
  t[e[a].id] = {}, t[e[a].id].name = e[a].a;
1492
1492
  }), t;
1493
1493
  }
1494
- let oe = {}, Y = {}, Ye = [
1494
+ let oe = {}, V = {}, Ve = [
1495
1495
  "filter",
1496
1496
  "online",
1497
1497
  "users",
@@ -1506,8 +1506,8 @@ function ms() {
1506
1506
  function s(i) {
1507
1507
  const o = new _s();
1508
1508
  oe.laodData = (l) => {
1509
- let _ = Ye.indexOf(l);
1510
- _ >= 0 && Ye.splice(_, 1), Ye.length === 0 && t(!0);
1509
+ let _ = Ve.indexOf(l);
1510
+ _ >= 0 && Ve.splice(_, 1), Ve.length === 0 && t(!0);
1511
1511
  }, oe.send = (l) => {
1512
1512
  o.port.postMessage({ type: "send", json: l });
1513
1513
  }, o.port.onmessage = (l) => {
@@ -1516,7 +1516,7 @@ function ms() {
1516
1516
  type: "connect",
1517
1517
  ukey: i,
1518
1518
  lk: mt()
1519
- }), Ye.length !== 0 && oe.laodData(_.type), Y[_.type] && Y[_.type](_);
1519
+ }), Ve.length !== 0 && oe.laodData(_.type), V[_.type] && V[_.type](_);
1520
1520
  }, o.port.postMessage({
1521
1521
  type: "connect",
1522
1522
  ukey: i,
@@ -1525,23 +1525,23 @@ function ms() {
1525
1525
  }
1526
1526
  return [s, e, a];
1527
1527
  }
1528
- Y.module = (e) => {
1528
+ V.module = (e) => {
1529
1529
  oe[e.listen] !== void 0 && (oe[e.listen](e), delete oe[e.listen]);
1530
1530
  };
1531
- Y.bell = is;
1532
- Y.company = us;
1533
- Y.info = (e) => {
1531
+ V.bell = is;
1532
+ V.company = us;
1533
+ V.info = (e) => {
1534
1534
  let t = {};
1535
1535
  t.db = e.db, t.id = e.data.id, t.job = e.data.job, t.login = e.data.login, t.name = e.data.p02, t.patronymic = e.data.p03, t.surname = e.data.p01, t.email = e.data.email, t.admin = e.data.menu.includes("99"), jn(t), gn(e.data.menu);
1536
1536
  };
1537
- Y.version = async (e) => {
1537
+ V.version = async (e) => {
1538
1538
  Et.version.Server(e.data);
1539
1539
  };
1540
- Y.online = async (e) => {
1540
+ V.online = async (e) => {
1541
1541
  };
1542
- Y.offline = async (e) => {
1542
+ V.offline = async (e) => {
1543
1543
  };
1544
- Y.chat = (e) => {
1544
+ V.chat = (e) => {
1545
1545
  switch (e.data.action) {
1546
1546
  case "new_message":
1547
1547
  He.getModule();
@@ -1554,7 +1554,7 @@ Y.chat = (e) => {
1554
1554
  break;
1555
1555
  }
1556
1556
  };
1557
- Y.users = (e) => {
1557
+ V.users = (e) => {
1558
1558
  let t = {};
1559
1559
  e.data.forEach((r) => {
1560
1560
  let s = r.p01 + " " + r.p02 + " " + r.p03, i = r.p01 + " " + r.p02.substring(0, 1) + "." + r.p03.substring(0, 1) + ".", o = r.p01.substring(0, 1) + "" + r.p02.substring(0, 1) + r.p03.substring(0, 1);
@@ -1574,31 +1574,31 @@ Y.users = (e) => {
1574
1574
  let a = { ...je(), user: t };
1575
1575
  Oe(a);
1576
1576
  };
1577
- Y.api = (e) => {
1577
+ V.api = (e) => {
1578
1578
  let t = {};
1579
1579
  e.data.forEach((a) => {
1580
1580
  t[a.api] = { key: a.key, p01: a.p01, p02: a.p02 };
1581
1581
  });
1582
1582
  };
1583
- Y.delete = () => {
1583
+ V.delete = () => {
1584
1584
  te();
1585
1585
  };
1586
- Y.select = (e) => {
1586
+ V.select = (e) => {
1587
1587
  let t = { ...je() };
1588
1588
  e.data.forEach((a) => {
1589
1589
  t[a.n] = JSON.parse(a.s);
1590
1590
  }), Oe(t);
1591
1591
  };
1592
- Y.job = (e) => {
1592
+ V.job = (e) => {
1593
1593
  let t = { ...je() }, a = {};
1594
1594
  Object.keys(e.data).forEach((r) => {
1595
1595
  a[r] = { s: 1, n: e.data[r] };
1596
1596
  }), t[1] = a, Oe(t);
1597
1597
  };
1598
- Y.setting = (e) => {
1598
+ V.setting = (e) => {
1599
1599
  er(e.data);
1600
1600
  };
1601
- Y.app = () => {
1601
+ V.app = () => {
1602
1602
  };
1603
1603
  const hs = (e, t) => {
1604
1604
  oe[e] = t;
@@ -1652,16 +1652,16 @@ function vs(e) {
1652
1652
  };
1653
1653
  }
1654
1654
  const Cs = (e) => {
1655
- function t(T, D) {
1655
+ function t(D, T) {
1656
1656
  var w, E, R;
1657
- T = T ?? "", D = D ?? 1;
1658
- for (var w = [], R = 0, E = T.length; R < E; )
1659
- w.push(T.slice(R, R += D));
1657
+ D = D ?? "", T = T ?? 1;
1658
+ for (var w = [], R = 0, E = D.length; R < E; )
1659
+ w.push(D.slice(R, R += T));
1660
1660
  return w;
1661
1661
  }
1662
- function a(T, D) {
1662
+ function a(D, T) {
1663
1663
  var w = [2, 0, 1, 1, 1, 2];
1664
- return D[T > 4 && T < 20 ? 2 : w[Math.min(T, 5)]];
1664
+ return T[D > 4 && D < 20 ? 2 : w[Math.min(D, 5)]];
1665
1665
  }
1666
1666
  var r = {
1667
1667
  null: "ноль",
@@ -2024,10 +2024,10 @@ function Is(e, t) {
2024
2024
  let a = e % 10;
2025
2025
  return e > 10 && e < 20 ? t[2] : a > 1 && a < 5 ? t[1] : a === 1 ? t[0] : t[2];
2026
2026
  }
2027
- function Ts(e, t, a) {
2027
+ function Ds(e, t, a) {
2028
2028
  return je(e, t) ? je(e, t).n : a || "";
2029
2029
  }
2030
- function Ds(e, t) {
2030
+ function Ts(e, t) {
2031
2031
  return e.reduce(function(a, r) {
2032
2032
  let s = t instanceof Function ? t(r) : r[t];
2033
2033
  return a[s] !== void 0 || (a[s] = {}), a[s][r.id] = r, a;
@@ -2051,16 +2051,16 @@ const K = {
2051
2051
  Percent: Rs,
2052
2052
  CapitalizeFirstLetter: Ns,
2053
2053
  DeclensionWord: Is,
2054
- Select: Ts,
2055
- ObjectByArray: Ds
2054
+ Select: Ds,
2055
+ ObjectByArray: Ts
2056
2056
  };
2057
2057
  function Fs({ children: e }) {
2058
2058
  return /* @__PURE__ */ n.jsx("div", { className: "l", children: /* @__PURE__ */ n.jsx("ul", { children: e }) });
2059
2059
  }
2060
- const Ls = "_white_11p39_14", Bs = "_black_11p39_26", $s = "_shake_11p39_1", Ps = "_modal_11p39_73", Os = "_o_11p39_83", As = "_w_11p39_14", Gs = "_h_11p39_107", Zs = "_l_11p39_121", zs = "_t_11p39_159", Ws = "_m_11p39_73", Ks = "_x_11p39_167", Us = "_s_11p39_177", Vs = "_c_11p39_182", Ys = "_f_11p39_187", Hs = "_btn_11p39_230", qs = "_g_11p39_243", Js = "_confirm_11p39_322", Xs = "_cancel_11p39_327", Qs = "_disabled_11p39_332", ei = "_active_11p39_389", ti = "_coincidence_11p39_395", ni = "_sa_11p39_431", ai = "_ss_11p39_435", ri = "_sm_11p39_439", si = "_sl_11p39_443", ii = "_sx_11p39_447", oi = "_sf_11p39_451", se = {
2060
+ const Ls = "_white_11p39_14", $s = "_black_11p39_26", Bs = "_shake_11p39_1", Ps = "_modal_11p39_73", Os = "_o_11p39_83", As = "_w_11p39_14", Gs = "_h_11p39_107", Zs = "_l_11p39_121", zs = "_t_11p39_159", Ws = "_m_11p39_73", Ks = "_x_11p39_167", Us = "_s_11p39_177", Ys = "_c_11p39_182", Vs = "_f_11p39_187", Hs = "_btn_11p39_230", qs = "_g_11p39_243", Js = "_confirm_11p39_322", Xs = "_cancel_11p39_327", Qs = "_disabled_11p39_332", ei = "_active_11p39_389", ti = "_coincidence_11p39_395", ni = "_sa_11p39_431", ai = "_ss_11p39_435", ri = "_sm_11p39_439", si = "_sl_11p39_443", ii = "_sx_11p39_447", oi = "_sf_11p39_451", se = {
2061
2061
  white: Ls,
2062
- black: Bs,
2063
- shake: $s,
2062
+ black: $s,
2063
+ shake: Bs,
2064
2064
  modal: Ps,
2065
2065
  o: Os,
2066
2066
  w: As,
@@ -2070,8 +2070,8 @@ const Ls = "_white_11p39_14", Bs = "_black_11p39_26", $s = "_shake_11p39_1", Ps
2070
2070
  m: Ws,
2071
2071
  x: Ks,
2072
2072
  s: Us,
2073
- c: Vs,
2074
- f: Ys,
2073
+ c: Ys,
2074
+ f: Vs,
2075
2075
  btn: Hs,
2076
2076
  g: qs,
2077
2077
  "size-a": "_size-a_11p39_296",
@@ -2281,7 +2281,7 @@ function En({ text: e, type: t, button: a }) {
2281
2281
  a && /* @__PURE__ */ n.jsx("button", { onClick: o, children: a.label })
2282
2282
  ] });
2283
2283
  }
2284
- const ji = "_h_1usnu_1", yi = "_g_1usnu_11", bi = "_hr_1usnu_16", wi = "_hl_1usnu_28", Si = "_t_1usnu_40", Ei = "_s_1usnu_60", Ri = "_u_1usnu_69", Ni = "_o_1usnu_76", Ii = "_l_1usnu_105", Ti = "_hh_1usnu_115", Di = "_c_1usnu_128", Mi = "_loadingB_1usnu_1", Fi = "_m_1usnu_180", Li = "_ul_1usnu_196", Bi = "_f_1usnu_226", ee = {
2284
+ const ji = "_h_1usnu_1", yi = "_g_1usnu_11", bi = "_hr_1usnu_16", wi = "_hl_1usnu_28", Si = "_t_1usnu_40", Ei = "_s_1usnu_60", Ri = "_u_1usnu_69", Ni = "_o_1usnu_76", Ii = "_l_1usnu_105", Di = "_hh_1usnu_115", Ti = "_c_1usnu_128", Mi = "_loadingB_1usnu_1", Fi = "_m_1usnu_180", Li = "_ul_1usnu_196", $i = "_f_1usnu_226", ee = {
2285
2285
  h: ji,
2286
2286
  g: yi,
2287
2287
  hr: bi,
@@ -2291,12 +2291,12 @@ const ji = "_h_1usnu_1", yi = "_g_1usnu_11", bi = "_hr_1usnu_16", wi = "_hl_1usn
2291
2291
  u: Ri,
2292
2292
  o: Ni,
2293
2293
  l: Ii,
2294
- hh: Ti,
2295
- c: Di,
2294
+ hh: Di,
2295
+ c: Ti,
2296
2296
  loadingB: Mi,
2297
2297
  m: Fi,
2298
2298
  ul: Li,
2299
- f: Bi
2299
+ f: $i
2300
2300
  }, on = ({ title: e, left: t, right: a, children: r }) => /* @__PURE__ */ n.jsxs("div", { className: ee.h, children: [
2301
2301
  /* @__PURE__ */ n.jsx("div", { className: ee.t, children: e }),
2302
2302
  t && /* @__PURE__ */ n.jsx("div", { className: ee.hl, children: t }),
@@ -2309,7 +2309,7 @@ const ji = "_h_1usnu_1", yi = "_g_1usnu_11", bi = "_hr_1usnu_16", wi = "_hl_1usn
2309
2309
  function _n({ children: e }) {
2310
2310
  return /* @__PURE__ */ n.jsx("div", { className: ee.g, children: e });
2311
2311
  }
2312
- const $i = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("div", { className: [ee.o, t].join(" "), children: [
2312
+ const Bi = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("div", { className: [ee.o, t].join(" "), children: [
2313
2313
  a && /* @__PURE__ */ n.jsx("div", { className: ee.hh, children: a }),
2314
2314
  e
2315
2315
  ] }), Pi = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: ee.u, children: e }), Oi = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: ee.c, children: e }), Ai = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: ee.m, children: e }), un = {
@@ -2323,7 +2323,7 @@ const $i = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
2323
2323
  G: _n,
2324
2324
  C: Oi,
2325
2325
  L: ln,
2326
- O: $i,
2326
+ O: Bi,
2327
2327
  S: cn,
2328
2328
  H: on,
2329
2329
  M: Ai,
@@ -2542,7 +2542,7 @@ const $i = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
2542
2542
  "Content-type": "application/json;charset=utf-8",
2543
2543
  SSID: ie.getSSID() || ""
2544
2544
  }
2545
- })).json()).status === "success" && (t({ type: "delete", id: e.id }), $e.Send({ type: "success", text: "Файл успешно удалён" }));
2545
+ })).json()).status === "success" && (t({ type: "delete", id: e.id }), Be.Send({ type: "success", text: "Файл успешно удалён" }));
2546
2546
  };
2547
2547
  return /* @__PURE__ */ n.jsxs("li", { children: [
2548
2548
  /* @__PURE__ */ n.jsx("div", { className: "f035", children: K.TypeFiles(e.type) }),
@@ -2574,7 +2574,7 @@ const $i = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
2574
2574
  let G = {};
2575
2575
  G.list = _r();
2576
2576
  G.active = null;
2577
- const Vi = () => {
2577
+ const Yi = () => {
2578
2578
  var s;
2579
2579
  let [e, t] = x.useState([]), [a, r] = x.useState(Rt.getSetting("s03"));
2580
2580
  return x.useEffect(() => {
@@ -2612,7 +2612,7 @@ const Vi = () => {
2612
2612
  "bookmarks",
2613
2613
  a === 1 && e.length !== 0 ? "bottom" : ""
2614
2614
  ), a !== 0 ? /* @__PURE__ */ n.jsx(n.Fragment, { children: e.length !== 0 ? /* @__PURE__ */ n.jsx("div", { className: "bookmarks", children: e.map((i) => i.item) }) : "" }) : "";
2615
- }, Yi = ({ id: e, type: t, name: a }) => {
2615
+ }, Vi = ({ id: e, type: t, name: a }) => {
2616
2616
  let r = t + "-" + e, [s, i] = x.useState(
2617
2617
  G.list[r] !== void 0
2618
2618
  );
@@ -2620,7 +2620,7 @@ const Vi = () => {
2620
2620
  i(G.list[r] !== void 0);
2621
2621
  }, [r]);
2622
2622
  let o = () => {
2623
- G.list[r] !== void 0 ? (G.del(r), delete G.list[r], en(G.list), i(!1), $e.Send({ type: "success", text: "Запись удален из закладок" })) : (G.list[r] = { id: e, name: a, type: t, link: r }, G.set(G.list[r]), en(G.list), i(!0), $e.Send({
2623
+ G.list[r] !== void 0 ? (G.del(r), delete G.list[r], en(G.list), i(!1), Be.Send({ type: "success", text: "Запись удален из закладок" })) : (G.list[r] = { id: e, name: a, type: t, link: r }, G.set(G.list[r]), en(G.list), i(!0), Be.Send({
2624
2624
  type: "success",
2625
2625
  text: "Запись добавлен в закладки"
2626
2626
  }));
@@ -2967,7 +2967,7 @@ function oo() {
2967
2967
  t([a]);
2968
2968
  }), /* @__PURE__ */ n.jsx(n.Fragment, { children: e.map((a) => a) });
2969
2969
  }
2970
- const lo = ({ children: e, config: t }) => (F.New(t.crypto), t.defaultModule && Ta(t.defaultModule), Ma(
2970
+ const lo = ({ children: e, config: t }) => (F.New(t.crypto), t.defaultModule && Da(t.defaultModule), Ma(
2971
2971
  /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
2972
2972
  /* @__PURE__ */ n.jsx(mi, { config: t.modal }),
2973
2973
  /* @__PURE__ */ n.jsx(Pr, {}),
@@ -2976,7 +2976,7 @@ const lo = ({ children: e, config: t }) => (F.New(t.crypto), t.defaultModule &&
2976
2976
  /* @__PURE__ */ n.jsx(to, {}),
2977
2977
  /* @__PURE__ */ n.jsx(oo, {}),
2978
2978
  /* @__PURE__ */ n.jsx(qi, {}),
2979
- /* @__PURE__ */ n.jsx(Vi, {}),
2979
+ /* @__PURE__ */ n.jsx(Yi, {}),
2980
2980
  e
2981
2981
  ] })
2982
2982
  )), co = ({ children: e, ...t }) => /* @__PURE__ */ n.jsx("menu", { children: e }), _o = ({ children: e, ...t }) => /* @__PURE__ */ n.jsxs("header", { children: [
@@ -3070,7 +3070,7 @@ const po = ({
3070
3070
  ] }) }), Io = { Accordion: ko, Button: jo, Switch: wo, Info: Eo, Select: So, Component: Ro, Node: No };
3071
3071
  function Rn({ list: e, onClick: t, active: a, size: r, view: s }) {
3072
3072
  return /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [r, s].join(" "), children: e.map((i) => /* @__PURE__ */ n.jsx(
3073
- To,
3073
+ Do,
3074
3074
  {
3075
3075
  onClick: t,
3076
3076
  active: a,
@@ -3080,10 +3080,10 @@ function Rn({ list: e, onClick: t, active: a, size: r, view: s }) {
3080
3080
  i.link
3081
3081
  )) }) });
3082
3082
  }
3083
- const To = ({ onClick: e, label: t, link: a, active: r }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(r === a), onClick: () => e(a), children: t });
3083
+ const Do = ({ onClick: e, label: t, link: a, active: r }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(r === a), onClick: () => e(a), children: t });
3084
3084
  Rn.defaultProps = { size: "M", view: "H" };
3085
- const Jl = { Section: po, Main: Co, Item: Io, Tabs: Rn }, Xl = { Icon: Yi, Item: gt, Active: Hi }, Ql = { Send: Jr, Line: En };
3086
- function Do() {
3085
+ const Jl = { Section: po, Main: Co, Item: Io, Tabs: Rn }, Xl = { Icon: Vi, Item: gt, Active: Hi }, Ql = { Send: Jr, Line: En };
3086
+ function To() {
3087
3087
  return /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ n.jsx(
3088
3088
  "path",
3089
3089
  {
@@ -3092,7 +3092,7 @@ function Do() {
3092
3092
  }
3093
3093
  ) });
3094
3094
  }
3095
- const ec = { Logo: Do, Sprite: Qi, Symbol: eo }, Mo = "_sort_1yrvt_1", Fo = {
3095
+ const ec = { Logo: To, Sprite: Qi, Symbol: eo }, Mo = "_sort_1yrvt_1", Fo = {
3096
3096
  sort: Mo
3097
3097
  };
3098
3098
  let et = {};
@@ -3109,7 +3109,7 @@ function Lo(e, t) {
3109
3109
  throw new Error();
3110
3110
  }
3111
3111
  }
3112
- function Bo() {
3112
+ function $o() {
3113
3113
  const [e, t] = x.useReducer(
3114
3114
  Lo,
3115
3115
  ht() === void 0 ? { active: 1, sort: "<" } : ht()
@@ -3141,7 +3141,7 @@ function Bo() {
3141
3141
  )
3142
3142
  ] });
3143
3143
  }
3144
- function $o(e) {
3144
+ function Bo(e) {
3145
3145
  et.get = e;
3146
3146
  }
3147
3147
  function Po(e) {
@@ -3169,7 +3169,7 @@ function Oo(e, t, a) {
3169
3169
  function Ao(e) {
3170
3170
  et.count(e);
3171
3171
  }
3172
- const tc = { Init: Bo, useValue: $o, Set: Po, Run: Oo, Count: Ao }, qe = {}, Nn = {};
3172
+ const tc = { Init: $o, useValue: Bo, Set: Po, Run: Oo, Count: Ao }, qe = {}, Nn = {};
3173
3173
  function Go(e) {
3174
3174
  const [t, a] = x.useState({}), r = async (s) => {
3175
3175
  a(
@@ -3255,7 +3255,7 @@ const Re = () => (ut || (ut = new zo()), ut), pe = (e, t, a = Re()) => a._withID
3255
3255
  }), u.forEach((h) => {
3256
3256
  h === void 0 ? (jt(), location.reload()) : (s && f(h.id), l && m(h.id));
3257
3257
  }), { list: u, search: i, filter: r };
3258
- }, Vo = (e, t, a, r = Re()) => {
3258
+ }, Yo = (e, t, a, r = Re()) => {
3259
3259
  if (W[e] === void 0)
3260
3260
  return new Promise((s, i) => {
3261
3261
  let o;
@@ -3276,7 +3276,7 @@ const Re = () => (ut || (ut = new zo()), ut), pe = (e, t, a = Re()) => a._withID
3276
3276
  return W[e][t.id] = { ...W[e][t.id], ...t.data }, a !== void 0 && W[a] !== void 0 ? W[a][t.id] !== void 0 && (W[a][t.id] = t.data.eDate) : W[a] = [], delete W[e][t.id].$_item, delete W[e][t.id].$_send, r._withIDBStore("readwrite", (s) => {
3277
3277
  s.put(F.enCode(W[e]), e), a !== void 0 && s.put(F.enCode(W[a]), a);
3278
3278
  });
3279
- }, Yo = async (e, t, a, r) => {
3279
+ }, Vo = async (e, t, a, r) => {
3280
3280
  let s, i;
3281
3281
  i = await de(a), i[e.id] = e, await pe(a, i), s !== null && (s = await de(t), s[e.id] = e.eDate, await pe(t, s)), r !== void 0 && r({ type: "load", page: s, base: i });
3282
3282
  }, Ho = async (e, t, a, r) => {
@@ -3303,9 +3303,9 @@ const Re = () => (ut || (ut = new zo()), ut), pe = (e, t, a = Re()) => a._withID
3303
3303
  id: Qo,
3304
3304
  get: de,
3305
3305
  set: pe,
3306
- add: Yo,
3306
+ add: Vo,
3307
3307
  del: Wo,
3308
- upd: Vo,
3308
+ upd: Yo,
3309
3309
  key: Ko,
3310
3310
  load: el,
3311
3311
  split: Uo,
@@ -3400,7 +3400,7 @@ function ol({
3400
3400
  }
3401
3401
  );
3402
3402
  }
3403
- const sc = { Widget: Wi }, Tn = ({ onClick: e, active: t }) => (t = !!t, /* @__PURE__ */ n.jsx(
3403
+ const sc = { Widget: Wi }, Dn = ({ onClick: e, active: t }) => (t = !!t, /* @__PURE__ */ n.jsx(
3404
3404
  "div",
3405
3405
  {
3406
3406
  role: "switch",
@@ -3446,10 +3446,10 @@ function Pe({
3446
3446
  }, j = (E) => {
3447
3447
  E.key === "Enter" && E.preventDefault();
3448
3448
  }, S = (E) => {
3449
- }, T = (E) => {
3449
+ }, D = (E) => {
3450
3450
  E.preventDefault(), navigator.clipboard.writeText(E.target.textContent).then(
3451
3451
  function() {
3452
- $e.Copy("Данные в буфер обмене");
3452
+ Be.Copy("Данные в буфер обмене");
3453
3453
  },
3454
3454
  function(N) {
3455
3455
  }
@@ -3457,14 +3457,14 @@ function Pe({
3457
3457
  };
3458
3458
  if (!(l && _) && !u || !(l && _) && v)
3459
3459
  return "";
3460
- const D = {};
3461
- D.field = "input", C && (D.className = C);
3460
+ const T = {};
3461
+ T.field = "input", C && (T.className = C);
3462
3462
  const w = {};
3463
3463
  r && (w.placeholder = r), l && _ && (w.edit = "");
3464
3464
  const R = (E) => {
3465
3465
  ue.Blur(E), h && h({ value: E.target.textContent, name: a });
3466
3466
  };
3467
- return /* @__PURE__ */ n.jsxs("dl", { ...D, children: [
3467
+ return /* @__PURE__ */ n.jsxs("dl", { ...T, children: [
3468
3468
  s ? /* @__PURE__ */ n.jsx("dt", { children: s }) : "",
3469
3469
  /* @__PURE__ */ n.jsx(
3470
3470
  "dd",
@@ -3473,7 +3473,7 @@ function Pe({
3473
3473
  onInput: g,
3474
3474
  onBlur: R,
3475
3475
  onKeyDown: j,
3476
- onContextMenu: T,
3476
+ onContextMenu: D,
3477
3477
  contentEditable: l && _ ? "plaintext-only" : "false",
3478
3478
  suppressContentEditableWarning: !0,
3479
3479
  ...w,
@@ -3483,7 +3483,7 @@ function Pe({
3483
3483
  i ? /* @__PURE__ */ n.jsx("em", { children: i }) : ""
3484
3484
  ] });
3485
3485
  }
3486
- function Dn({ onClick: e, onSend: t, name: a, onRef: r }) {
3486
+ function Tn({ onClick: e, onSend: t, name: a, onRef: r }) {
3487
3487
  let [s, i] = x.useState(!1);
3488
3488
  const o = () => {
3489
3489
  if (e)
@@ -3617,7 +3617,7 @@ function Ln({ value: e, onValue: t, placeholder: a = "", name: r }) {
3617
3617
  /* @__PURE__ */ n.jsx("canvas", { ref: i, width: "100", height: "35" })
3618
3618
  ] });
3619
3619
  }
3620
- function Bn(e) {
3620
+ function $n(e) {
3621
3621
  let t = () => e.title ? /* @__PURE__ */ n.jsx("dt", { children: e.title }) : "", a = () => e.error ? /* @__PURE__ */ n.jsx("em", { children: e.error }) : "", r = {
3622
3622
  n1: "",
3623
3623
  n2: "",
@@ -3750,7 +3750,7 @@ function Bn(e) {
3750
3750
  }
3751
3751
  );
3752
3752
  }
3753
- function $n(e) {
3753
+ function Bn(e) {
3754
3754
  let t = () => e.title ? /* @__PURE__ */ n.jsx("dt", { children: e.title }) : "", a = () => e.error ? /* @__PURE__ */ n.jsx("em", { children: e.error }) : "";
3755
3755
  e.edit !== void 0 && e.edit, e.active !== void 0 && e.active;
3756
3756
  let [r, s] = x.useState(e.value), i = (o) => {
@@ -3868,7 +3868,7 @@ const dl = (e) => {
3868
3868
  ), C();
3869
3869
  }, S = (w, R) => {
3870
3870
  R = w > 12 ? R + 1 : w < 1 ? R - 1 : R, w = w > 12 ? 1 : w < 1 ? 12 : w, _({ y: R, m: w });
3871
- }, T = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, D = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
3871
+ }, D = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, T = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
3872
3872
  return /* @__PURE__ */ n.jsx(n.Fragment, { children: t ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
3873
3873
  /* @__PURE__ */ n.jsx(
3874
3874
  "div",
@@ -3882,7 +3882,7 @@ const dl = (e) => {
3882
3882
  "div",
3883
3883
  {
3884
3884
  className: Se.c,
3885
- style: { top: T + "px", left: D + "px" },
3885
+ style: { top: D + "px", left: T + "px" },
3886
3886
  children: [
3887
3887
  /* @__PURE__ */ n.jsxs("s", { children: [
3888
3888
  /* @__PURE__ */ n.jsx("i", { "data-icon": "F021", onClick: () => g() }),
@@ -3941,15 +3941,15 @@ function It({
3941
3941
  value: e
3942
3942
  });
3943
3943
  };
3944
- const T = {};
3945
- T.field = "input", v && (T.className = v);
3946
3944
  const D = {};
3947
- return r && (D.placeholder = r), o ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...T, children: [
3945
+ D.field = "input", v && (D.className = v);
3946
+ const T = {};
3947
+ return r && (T.placeholder = r), o ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...D, children: [
3948
3948
  s && /* @__PURE__ */ n.jsx("dt", { children: s }),
3949
3949
  /* @__PURE__ */ n.jsx(
3950
3950
  "dd",
3951
3951
  {
3952
- ...D,
3952
+ ...T,
3953
3953
  onClick: S,
3954
3954
  edit: (l && d) + "",
3955
3955
  "data-after": u,
@@ -3959,7 +3959,7 @@ function It({
3959
3959
  i && /* @__PURE__ */ n.jsx("em", { children: i })
3960
3960
  ] });
3961
3961
  }
3962
- function Tt(e) {
3962
+ function Dt(e) {
3963
3963
  let t = e.value, a = (f) => e.type === "multi" ? f.replace(/[^+\d.+-]/g, "") : f.replace(/[^+\d.]/g, ""), r = (f, m) => {
3964
3964
  let h = document.createRange(), C = window.getSelection();
3965
3965
  h.setStart(m.childNodes[0], f), h.collapse(!0), C.removeAllRanges(), C.addRange(h), m.focus();
@@ -4161,7 +4161,7 @@ function On(e) {
4161
4161
  a()
4162
4162
  ] });
4163
4163
  }
4164
- function Dt({
4164
+ function Tt({
4165
4165
  onValue: e,
4166
4166
  active: t,
4167
4167
  max: a,
@@ -4181,13 +4181,13 @@ function Dt({
4181
4181
  r = r !== void 0 ? r : !0, t = t !== void 0 ? t : !0, l = !!(l && (_ === "" || _ === void 0)) && !(r && t), d = d !== void 0 ? d : "", a = a !== void 0 ? a : 99;
4182
4182
  let j = !1, S = (N) => {
4183
4183
  e && e({ value: N.target.textContent, name: f });
4184
- }, T = (N) => {
4184
+ }, D = (N) => {
4185
4185
  if (!(j && N.which === 86)) {
4186
4186
  if (N.which === 17 || N.which === 91)
4187
4187
  return j = !0;
4188
4188
  N.key !== "Backspace" && (N.target.textContent.length === a && N.preventDefault(), N.key === "Enter" && N.preventDefault(), isNaN(parseInt(String.fromCharCode(N.which))) && N.preventDefault());
4189
4189
  }
4190
- }, D = (N) => {
4190
+ }, T = (N) => {
4191
4191
  if (N.which === 17 || N.which === 91)
4192
4192
  return j = !1;
4193
4193
  }, w = (N) => {
@@ -4211,8 +4211,8 @@ function Dt({
4211
4211
  ...E,
4212
4212
  onPaste: w,
4213
4213
  onInput: S,
4214
- onKeyDown: T,
4215
- onKeyUp: D,
4214
+ onKeyDown: D,
4215
+ onKeyUp: T,
4216
4216
  suppressContentEditableWarning: !0,
4217
4217
  children: _
4218
4218
  }
@@ -5671,16 +5671,16 @@ function Mt({
5671
5671
  className: h = ""
5672
5672
  }) {
5673
5673
  _ = _ !== void 0 ? _ : !0, d = d !== void 0 ? d : !0, l = !!(l && (e === "" || e === void 0)) && !(_ && d), x.useRef(null);
5674
- let v = "+_(___) ___-__-__", g = !0, j = 0, S = (Z, B) => {
5674
+ let v = "+_(___) ___-__-__", g = !0, j = 0, S = (Z, $) => {
5675
5675
  let H = document.createRange(), q = window.getSelection();
5676
- H.setStart(B.childNodes[0], Z), H.collapse(!0), q.removeAllRanges(), q.addRange(H), B.focus();
5677
- }, T = (Z) => {
5678
- Z.preventDefault(), navigator.clipboard.readText().then((B) => {
5679
- window.document.execCommand("insertText", !1, B);
5680
- }).catch((B) => {
5681
- });
5676
+ H.setStart($.childNodes[0], Z), H.collapse(!0), q.removeAllRanges(), q.addRange(H), $.focus();
5682
5677
  }, D = (Z) => {
5683
- let B = 0, H = "", q = Z.replace(/\D/g, "");
5678
+ Z.preventDefault(), navigator.clipboard.readText().then(($) => {
5679
+ window.document.execCommand("insertText", !1, $);
5680
+ }).catch(($) => {
5681
+ });
5682
+ }, T = (Z) => {
5683
+ let $ = 0, H = "", q = Z.replace(/\D/g, "");
5684
5684
  q === "" && (g = !0);
5685
5685
  let Ze = q.split(""), re = "";
5686
5686
  Ze.forEach((ze) => {
@@ -5694,19 +5694,19 @@ function Mt({
5694
5694
  });
5695
5695
  let Ne = v.replace(/\D/g, "");
5696
5696
  return Ne.length >= q.length && (q = Ne), { q: v.replace(/[_\d]/g, function() {
5697
- return q.charAt(B++) || "_";
5698
- }), i: B, v: q, f: H };
5697
+ return q.charAt($++) || "_";
5698
+ }), i: $, v: q, f: H };
5699
5699
  }, w = (Z) => {
5700
5700
  Z.preventDefault(), navigator.clipboard.writeText(Z.target.textContent.replace(/\D/g, "")).then(
5701
5701
  function() {
5702
- $e.Copy("Данные в буфер обмене");
5702
+ Be.Copy("Данные в буфер обмене");
5703
5703
  },
5704
- function(B) {
5704
+ function($) {
5705
5705
  }
5706
5706
  );
5707
- }, R = D(e), E = (Z) => {
5708
- let B = D(Z.target.textContent);
5709
- Z.target.textContent = B.q, B.i = B.q.lastIndexOf(B.v.substr(-1)), B.i < B.q.length && B.q !== v ? B.i++ : B.i = B.q.indexOf("_"), S(B.i, Z.target), t && t({ value: B.q.replace(/\D/g, ""), name: r });
5707
+ }, R = T(e), E = (Z) => {
5708
+ let $ = T(Z.target.textContent);
5709
+ Z.target.textContent = $.q, $.i = $.q.lastIndexOf($.v.substr(-1)), $.i < $.q.length && $.q !== v ? $.i++ : $.i = $.q.indexOf("_"), S($.i, Z.target), t && t({ value: $.q.replace(/\D/g, ""), name: r });
5710
5710
  }, N = (Z) => {
5711
5711
  Z.key === "Enter" && Z.preventDefault();
5712
5712
  };
@@ -5724,7 +5724,7 @@ function Mt({
5724
5724
  "dd",
5725
5725
  {
5726
5726
  ...le,
5727
- onPaste: T,
5727
+ onPaste: D,
5728
5728
  onInput: E,
5729
5729
  onKeyDown: N,
5730
5730
  onContextMenu: w,
@@ -5787,18 +5787,18 @@ function Ft({
5787
5787
  }) {
5788
5788
  const m = x.useRef();
5789
5789
  s = !!(s && (i === "" || l[i].n === void 0)) && !(a && r);
5790
- let C = i !== void 0 && i !== "" ? l[i].n : i, v = (T) => {
5791
- m.current.textContent = l[T].n, o && o({ value: T, name: d });
5792
- }, g = (T) => {
5790
+ let C = i !== void 0 && i !== "" ? l[i].n : i, v = (D) => {
5791
+ m.current.textContent = l[D].n, o && o({ value: D, name: d });
5792
+ }, g = (D) => {
5793
5793
  if (!(a && r))
5794
5794
  return;
5795
- const D = T.target.getBoundingClientRect();
5795
+ const T = D.target.getBoundingClientRect();
5796
5796
  Ee.setListener(
5797
5797
  "form",
5798
5798
  /* @__PURE__ */ n.jsx(
5799
5799
  ul,
5800
5800
  {
5801
- parent: D,
5801
+ parent: T,
5802
5802
  onValue: v,
5803
5803
  view: f,
5804
5804
  options: l
@@ -6044,7 +6044,7 @@ function yt({
6044
6044
  );
6045
6045
  case "Number":
6046
6046
  return /* @__PURE__ */ n.jsx(
6047
- Dt,
6047
+ Tt,
6048
6048
  {
6049
6049
  title: i,
6050
6050
  show: d,
@@ -6061,7 +6061,7 @@ function yt({
6061
6061
  );
6062
6062
  case "Money":
6063
6063
  return /* @__PURE__ */ n.jsx(
6064
- Tt,
6064
+ Dt,
6065
6065
  {
6066
6066
  title: i,
6067
6067
  show: d,
@@ -6117,18 +6117,18 @@ function Zn({
6117
6117
  let v = !!(o && (e === "" || e === void 0));
6118
6118
  if (!(l && _) && !u || !(l && _) && v)
6119
6119
  return "";
6120
- let g = (D) => {
6121
- t && t({ value: D.target.innerText, name: a });
6122
- }, j = (D) => {
6123
- h && h({ value: D.target.innerText, name: a });
6124
- }, S = (D) => {
6125
- D.preventDefault(), navigator.clipboard.readText().then((w) => {
6120
+ let g = (T) => {
6121
+ t && t({ value: T.target.innerText, name: a });
6122
+ }, j = (T) => {
6123
+ h && h({ value: T.target.innerText, name: a });
6124
+ }, S = (T) => {
6125
+ T.preventDefault(), navigator.clipboard.readText().then((w) => {
6126
6126
  window.document.execCommand("insertText", !1, w);
6127
6127
  }).catch((w) => {
6128
6128
  });
6129
6129
  };
6130
- const T = {};
6131
- return r && (T.placeholder = r), /* @__PURE__ */ n.jsxs("dl", { children: [
6130
+ const D = {};
6131
+ return r && (D.placeholder = r), /* @__PURE__ */ n.jsxs("dl", { children: [
6132
6132
  s ?? /* @__PURE__ */ n.jsx("dt", { children: s }),
6133
6133
  /* @__PURE__ */ n.jsx(
6134
6134
  "dd",
@@ -6137,7 +6137,7 @@ function Zn({
6137
6137
  onBlur: j,
6138
6138
  onInput: g,
6139
6139
  contentEditable: l && _ ? "plaintext-only" : "false",
6140
- ...T,
6140
+ ...D,
6141
6141
  suppressContentEditableWarning: !0,
6142
6142
  children: e
6143
6143
  }
@@ -6167,9 +6167,9 @@ function zn({
6167
6167
  return "";
6168
6168
  let S = (E) => {
6169
6169
  j.current.textContent = E, t && t({ value: E, name: a });
6170
- }, T = (E) => {
6171
- h && h({ value: E, name: a });
6172
6170
  }, D = (E) => {
6171
+ h && h({ value: E, name: a });
6172
+ }, T = (E) => {
6173
6173
  const N = E.target.getBoundingClientRect(), A = N.left, X = N.top;
6174
6174
  Ee.setListener(
6175
6175
  "form",
@@ -6177,7 +6177,7 @@ function zn({
6177
6177
  ml,
6178
6178
  {
6179
6179
  positions: { x: A, y: X },
6180
- onSave: T,
6180
+ onSave: D,
6181
6181
  onValue: S,
6182
6182
  date: g
6183
6183
  },
@@ -6192,11 +6192,11 @@ function zn({
6192
6192
  "i",
6193
6193
  {
6194
6194
  "data-icon": "F043",
6195
- onClick: D
6195
+ onClick: T
6196
6196
  }
6197
6197
  ) : /* @__PURE__ */ n.jsxs("dl", { ...w, children: [
6198
6198
  s ? /* @__PURE__ */ n.jsx("dt", { children: s }) : "",
6199
- /* @__PURE__ */ n.jsx("dd", { onClick: D, ref: j, ...R, children: g }),
6199
+ /* @__PURE__ */ n.jsx("dd", { onClick: T, ref: j, ...R, children: g }),
6200
6200
  i ? /* @__PURE__ */ n.jsx("em", { children: i }) : ""
6201
6201
  ] }) });
6202
6202
  }
@@ -6269,15 +6269,15 @@ const ml = ({ positions: e, onSave: t, onValue: a, date: r }) => {
6269
6269
  }
6270
6270
  }
6271
6271
  a(i.h + ":" + i.m);
6272
- }, [j, S] = x.useState(!0), T = () => {
6272
+ }, [j, S] = x.useState(!0), D = () => {
6273
6273
  S(!1), t(i.h + ":" + i.m);
6274
- }, D = window.innerHeight - e.y + 33 < 320 ? e.y - 312 : e.y + 33, w = window.innerWidth - e.x < 265 ? e.x - 235 : e.x;
6274
+ }, T = window.innerHeight - e.y + 33 < 320 ? e.y - 312 : e.y + 33, w = window.innerWidth - e.x < 265 ? e.x - 235 : e.x;
6275
6275
  return /* @__PURE__ */ n.jsx(n.Fragment, { children: j ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
6276
6276
  /* @__PURE__ */ n.jsx(
6277
6277
  "div",
6278
6278
  {
6279
6279
  className: Se.o,
6280
- onClick: () => T()
6280
+ onClick: () => D()
6281
6281
  },
6282
6282
  (/* @__PURE__ */ new Date()).getTime()
6283
6283
  ),
@@ -6290,7 +6290,7 @@ const ml = ({ positions: e, onSave: t, onValue: a, date: r }) => {
6290
6290
  onMouseMove: v,
6291
6291
  onWheel: g,
6292
6292
  ref: m.body,
6293
- style: { top: D + "px", left: w + "px" },
6293
+ style: { top: T + "px", left: w + "px" },
6294
6294
  children: [
6295
6295
  /* @__PURE__ */ n.jsx("div", { className: "b" }),
6296
6296
  /* @__PURE__ */ n.jsxs("div", { className: "s", children: [
@@ -6389,9 +6389,9 @@ function Un({
6389
6389
  g([...v, ""]);
6390
6390
  }, S = (A) => {
6391
6391
  v.splice(A, 1), v.length === 0 && v.push(""), g([...v]), m !== void 0 && m({ value: v.join(","), name: a });
6392
- }, T = !!(o && (e === "" || e === void 0)), D = (A) => {
6392
+ }, D = !!(o && (e === "" || e === void 0)), T = (A) => {
6393
6393
  };
6394
- if (!(l && _) && !u || !(l && _) && T)
6394
+ if (!(l && _) && !u || !(l && _) && D)
6395
6395
  return "";
6396
6396
  const w = {};
6397
6397
  w.field = "group", C && (w.className = C);
@@ -6431,7 +6431,7 @@ function Un({
6431
6431
  edit: "true",
6432
6432
  name: a,
6433
6433
  placeholder: r,
6434
- onPaste: D,
6434
+ onPaste: T,
6435
6435
  contentEditable: !0,
6436
6436
  onKeyDown: N,
6437
6437
  onBlur: R,
@@ -6468,7 +6468,7 @@ function Un({
6468
6468
  ] });
6469
6469
  }
6470
6470
  const xl = (e) => (e = e !== void 0 && e !== "" ? e.split(",") : [], e.reduce((t, a) => (t[a] = !0, t), {}));
6471
- function Vn({
6471
+ function Yn({
6472
6472
  value: e,
6473
6473
  onValue: t,
6474
6474
  name: a,
@@ -6499,10 +6499,10 @@ function Vn({
6499
6499
  name: a,
6500
6500
  value: g
6501
6501
  });
6502
- }, T = {};
6503
- T.field = "group", v && (T.className = v);
6504
- const D = {};
6505
- return r && (D.placeholder = r), o ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...T, children: [
6502
+ }, D = {};
6503
+ D.field = "group", v && (D.className = v);
6504
+ const T = {};
6505
+ return r && (T.placeholder = r), o ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...D, children: [
6506
6506
  /* @__PURE__ */ n.jsxs("dt", { children: [
6507
6507
  s,
6508
6508
  /* @__PURE__ */ n.jsx("i", { onClick: S, children: /* @__PURE__ */ n.jsxs(
@@ -6526,7 +6526,7 @@ function Vn({
6526
6526
  /* @__PURE__ */ n.jsx(
6527
6527
  "dd",
6528
6528
  {
6529
- ...D,
6529
+ ...T,
6530
6530
  onClick: open,
6531
6531
  edit: (l && d) + "",
6532
6532
  "data-after": u,
@@ -6557,21 +6557,21 @@ function vl() {
6557
6557
  fe.r && fe.r();
6558
6558
  }
6559
6559
  const ic = {
6560
- Color: $n,
6560
+ Color: Bn,
6561
6561
  Date: Nt,
6562
- Code: Bn,
6562
+ Code: $n,
6563
6563
  Check: Wn,
6564
- Switch: Tn,
6564
+ Switch: Dn,
6565
6565
  Input: Pe,
6566
- Button: Dn,
6566
+ Button: Tn,
6567
6567
  Message: Mn,
6568
6568
  Generator: Fn,
6569
6569
  Captcha: Ln,
6570
6570
  Modal: It,
6571
- Money: Tt,
6571
+ Money: Dt,
6572
6572
  Month: Pn,
6573
6573
  Notes: On,
6574
- Number: Dt,
6574
+ Number: Tt,
6575
6575
  Password: An,
6576
6576
  Phone: Mt,
6577
6577
  Search: Gn,
@@ -6588,23 +6588,23 @@ const ic = {
6588
6588
  Palette: hl,
6589
6589
  Toogle: Kn,
6590
6590
  Group: Un,
6591
- Options: Vn
6591
+ Options: Yn
6592
6592
  }, oc = {
6593
- Color: $n,
6593
+ Color: Bn,
6594
6594
  Date: Nt,
6595
- Code: Bn,
6595
+ Code: $n,
6596
6596
  Check: Wn,
6597
- Switch: Tn,
6597
+ Switch: Dn,
6598
6598
  Input: Pe,
6599
- Button: Dn,
6599
+ Button: Tn,
6600
6600
  Message: Mn,
6601
6601
  Generator: Fn,
6602
6602
  Captcha: Ln,
6603
6603
  Modal: It,
6604
- Money: Tt,
6604
+ Money: Dt,
6605
6605
  Month: Pn,
6606
6606
  Notes: On,
6607
- Number: Dt,
6607
+ Number: Tt,
6608
6608
  Password: An,
6609
6609
  Phone: Mt,
6610
6610
  Search: Gn,
@@ -6616,14 +6616,14 @@ const ic = {
6616
6616
  String: Pe,
6617
6617
  Toogle: Kn,
6618
6618
  Group: Un,
6619
- Options: Vn
6620
- }, Cl = "_spinner_1ul0m_1", kl = "_l_1ul0m_75", jl = "_loadingB_1ul0m_1", Yn = {
6619
+ Options: Yn
6620
+ }, Cl = "_spinner_1ul0m_1", kl = "_l_1ul0m_75", jl = "_loadingB_1ul0m_1", Vn = {
6621
6621
  spinner: Cl,
6622
6622
  l: kl,
6623
6623
  loadingB: jl
6624
6624
  };
6625
6625
  function yl() {
6626
- return /* @__PURE__ */ n.jsx("div", { className: Yn.spinner, children: /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ n.jsx(
6626
+ return /* @__PURE__ */ n.jsx("div", { className: Vn.spinner, children: /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ n.jsx(
6627
6627
  "path",
6628
6628
  {
6629
6629
  d: "M264,492a22.2,22.2,0,0,0,22-22V411a22.2,22.2,0,0,0-22-22H236a22.2,22.2,0,0,0-22,22v59a22.2,22.2,0,0,0,22,22Zm74-134a23.9,23.9,0,0,0-6,16,20.35,20.35,0,0,0,6,15l42,42q7,7,16,7,10,0,16-7l20-20a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16l-42-42q-7-7-16-7-8,0-15,7ZM163,389a18.94,18.94,0,0,0,7-15q0-9-7-16l-20-20q-7-7-16-7-8,0-15,7L70,380q-7,7-7,16a18.94,18.94,0,0,0,7,15l20,20q7,7,16,7a18.94,18.94,0,0,0,15-7ZM112,237a22.2,22.2,0,0,0-22-22H31a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,9,237v28a21.17,21.17,0,0,0,6.5,15.5A21.17,21.17,0,0,0,31,287H90a22.2,22.2,0,0,0,22-22Zm358,50a22.2,22.2,0,0,0,22-22V237a22.2,22.2,0,0,0-22-22H411a22.2,22.2,0,0,0-22,22v28a22.2,22.2,0,0,0,22,22ZM163,142q7-7,7-15.5T163,111L121,69q-7-7-15-7-7,0-16,7L70,89q-7,7-7,16a18.94,18.94,0,0,0,7,15l42,42a18.94,18.94,0,0,0,15,7q10,0,16-7Zm269-22a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16L412,69q-7-7-16-7-7,0-16,7l-42,42q-7,8-7,16t7,15l21,20a18.94,18.94,0,0,0,15,7q10,0,16-7Zm-168-9a22.06,22.06,0,0,0,15.5-6q6.5-6,6.5-16V30a21.17,21.17,0,0,0-6.5-15.5A21.17,21.17,0,0,0,264,8H236a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,214,30V89q0,10,6.5,16a22.06,22.06,0,0,0,15.5,6Z",
@@ -6632,7 +6632,7 @@ function yl() {
6632
6632
  ) }) });
6633
6633
  }
6634
6634
  function bl() {
6635
- return /* @__PURE__ */ n.jsxs("div", { className: Yn.l, children: [
6635
+ return /* @__PURE__ */ n.jsxs("div", { className: Vn.l, children: [
6636
6636
  /* @__PURE__ */ n.jsx("i", {}),
6637
6637
  /* @__PURE__ */ n.jsx("i", {}),
6638
6638
  /* @__PURE__ */ n.jsx("i", {})
@@ -6641,10 +6641,10 @@ function bl() {
6641
6641
  const lc = { Spinner: yl, Inline: bl }, wl = "_s_t9swc_1", fn = {
6642
6642
  s: wl
6643
6643
  };
6644
- let Bt;
6644
+ let $t;
6645
6645
  function Sl({ className: e, placeholder: t }) {
6646
6646
  let a = (o) => {
6647
- Bt(o.target.textContent);
6647
+ $t(o.target.textContent);
6648
6648
  }, r = (o) => {
6649
6649
  o.key === "Enter" && o.preventDefault();
6650
6650
  }, s = (o) => {
@@ -6675,16 +6675,16 @@ function El(e, t, a) {
6675
6675
  }), o;
6676
6676
  }
6677
6677
  function Rl(e) {
6678
- Bt = e;
6678
+ $t = e;
6679
6679
  }
6680
6680
  function Nl(e) {
6681
- Bt = e;
6681
+ $t = e;
6682
6682
  }
6683
- const cc = { Field: Sl, Run: El, Get: Rl, useValue: Nl }, Il = "_f_q3r0i_1", Tl = {
6683
+ const cc = { Field: Sl, Run: El, Get: Rl, useValue: Nl }, Il = "_f_q3r0i_1", Dl = {
6684
6684
  f: Il
6685
6685
  };
6686
6686
  let ae = {};
6687
- function Dl(e, t) {
6687
+ function Tl(e, t) {
6688
6688
  switch (t.type) {
6689
6689
  case "open":
6690
6690
  return {
@@ -6735,7 +6735,7 @@ function Dl(e, t) {
6735
6735
  }
6736
6736
  }
6737
6737
  function Ml() {
6738
- const [e, t] = x.useReducer(Dl, {
6738
+ const [e, t] = x.useReducer(Tl, {
6739
6739
  open: !1,
6740
6740
  view: null,
6741
6741
  data: {},
@@ -6753,7 +6753,7 @@ function Ml() {
6753
6753
  /* @__PURE__ */ n.jsxs(
6754
6754
  "div",
6755
6755
  {
6756
- className: Tl.f,
6756
+ className: Dl.f,
6757
6757
  onClick: () => {
6758
6758
  t({ type: "open", open: !0 });
6759
6759
  },
@@ -6806,10 +6806,10 @@ function Fl(e) {
6806
6806
  function Ll(e) {
6807
6807
  ae.set !== void 0 && ae.set(e);
6808
6808
  }
6809
- function Bl(e) {
6809
+ function $l(e) {
6810
6810
  ae.reset !== void 0 && ae.reset(e);
6811
6811
  }
6812
- function $l(e, t, a, r) {
6812
+ function Bl(e, t, a, r) {
6813
6813
  let s = [], i = 1, o = 0, l = {}, _ = 50;
6814
6814
  return l[i] = [], r === !0 && (Object.keys(t).forEach((d) => {
6815
6815
  Number.parseInt(t[d]) !== 999 && (e = e.filter(
@@ -6878,7 +6878,7 @@ function Ol({ data: e, head: t, state: a, dispatch: r, type: s }) {
6878
6878
  }
6879
6879
  );
6880
6880
  }
6881
- const dc = { Button: Ml, useValue: Fl, Set: Ll, Run: $l, Count: Hn, Reset: Bl }, _c = { Bell: ls, Send: ss, Add: rs }, Al = "_p_djnh1_1", Gl = "_l_djnh1_38", qn = {
6881
+ const dc = { Button: Ml, useValue: Fl, Set: Ll, Run: Bl, Count: Hn, Reset: $l }, _c = { Bell: ls, Send: ss, Add: rs }, Al = "_p_djnh1_1", Gl = "_l_djnh1_38", qn = {
6882
6882
  p: Al,
6883
6883
  l: Gl
6884
6884
  };
@@ -7010,10 +7010,10 @@ const bt = {};
7010
7010
  function Ul(e) {
7011
7011
  bt.get = e;
7012
7012
  }
7013
- function Vl(e) {
7013
+ function Yl(e) {
7014
7014
  bt.get && bt.get(e);
7015
7015
  }
7016
- const fc = { View: Wl, Reducer: Kl, useValue: Ul, setValue: Vl }, mc = { Get: fs }, hc = { Open: Ji };
7016
+ const fc = { View: Wl, Reducer: Kl, useValue: Ul, setValue: Yl }, mc = { Get: fs }, hc = { Open: Ji };
7017
7017
  function xc({ active: e, onActive: t, id: a, name: r }) {
7018
7018
  const [s, i] = x.useState(!!e);
7019
7019
  x.useEffect(() => {
@@ -7056,7 +7056,7 @@ export {
7056
7056
  fc as List,
7057
7057
  lc as Loading,
7058
7058
  Qe as Modal,
7059
- $e as Notice,
7059
+ Be as Notice,
7060
7060
  _c as Notifications,
7061
7061
  uc as Pagination,
7062
7062
  hc as Phone,