@elcrm/telegram 0.0.58 → 0.0.60

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,7 +5,7 @@ import y from "react";
5
5
  let lt = {};
6
6
  const fr = (e) => {
7
7
  lt = e;
8
- }, hr = (e) => lt.enCode(e), mr = (e) => lt.deCode(e), $ = { enCode: hr, deCode: mr, New: fr }, w = {}, U = {}, _e = {}, tn = {}, te = {};
8
+ }, hr = (e) => lt.enCode(e), mr = (e) => lt.deCode(e), T = { enCode: hr, deCode: mr, New: fr }, w = {}, U = {}, _e = {}, tn = {}, te = {};
9
9
  let ct = "M06";
10
10
  function gr(e) {
11
11
  ct = e;
@@ -16,7 +16,7 @@ function pr() {
16
16
  function xr(e) {
17
17
  if (localStorage.getItem("d")) {
18
18
  let n = sessionStorage.getItem("f");
19
- n ? (n = $.deCode(n), n || Z(), w.id = n.id, w.tab = n.tab, w.page = n.page, w.module = n.module, w.time = n.time, w.payment = { active: !0 }, w.module_admin = n.module_admin) : (w.id = 0, w.tab = "", w.page = "Main", w.module = w.module || ct);
19
+ n ? (n = T.deCode(n), n || Z(), w.id = n.id, w.tab = n.tab, w.page = n.page, w.module = n.module, w.time = n.time, w.payment = { active: !0 }, w.module_admin = n.module_admin) : (w.id = 0, w.tab = "", w.page = "Main", w.module = w.module || ct);
20
20
  } else
21
21
  ["a", "b", "c", "d", "e", "m", "u", "s", "q", "p"].forEach(
22
22
  (n) => localStorage.removeItem(n)
@@ -31,7 +31,7 @@ function Z() {
31
31
  function vr(e) {
32
32
  e = e.split("/"), w.page = "Main", w.module = e[0], w.tab = e[1], w.id = 0, sessionStorage.setItem(
33
33
  "f",
34
- $.enCode({
34
+ T.enCode({
35
35
  module: w.module,
36
36
  page: w.page,
37
37
  tab: w.tab,
@@ -55,12 +55,12 @@ function yr() {
55
55
  return e !== "" && e !== "undefined" && e !== null ? e : "";
56
56
  }
57
57
  function _r(e) {
58
- localStorage.setItem("p", $.enCode(e));
58
+ localStorage.setItem("p", T.enCode(e));
59
59
  }
60
60
  function et() {
61
61
  let e = localStorage.getItem("p");
62
62
  if (e !== "" && e !== "undefined" && e !== null) {
63
- let t = $.deCode(e);
63
+ let t = T.deCode(e);
64
64
  return t || Z(), t;
65
65
  } else
66
66
  return Z(), !1;
@@ -75,7 +75,7 @@ function wr(e) {
75
75
  U.page = e;
76
76
  }
77
77
  function kr(e, t = !0) {
78
- w.page = e, sessionStorage.setItem("f", $.enCode(w)), t && U.page(e);
78
+ w.page = e, sessionStorage.setItem("f", T.enCode(w)), t && U.page(e);
79
79
  }
80
80
  function nn() {
81
81
  return w.page;
@@ -93,7 +93,7 @@ function Er(e) {
93
93
  U.module = e;
94
94
  }
95
95
  function Dr(e, t = !0) {
96
- w.module = e, sessionStorage.setItem("f", $.enCode(w)), t && U.module(e);
96
+ w.module = e, sessionStorage.setItem("f", T.enCode(w)), t && U.module(e);
97
97
  }
98
98
  function rn() {
99
99
  return w.module;
@@ -101,7 +101,7 @@ function rn() {
101
101
  function Mr(e) {
102
102
  return w.module === e;
103
103
  }
104
- function Rr(e) {
104
+ function $r(e) {
105
105
  if (typeof e != "function") {
106
106
  const [t, n] = y.useState(e || Ae()), [s, a] = y.useState(!1);
107
107
  return y.useEffect(() => {
@@ -110,8 +110,8 @@ function Rr(e) {
110
110
  } else
111
111
  U.tabs = e;
112
112
  }
113
- function Tr(e, t = !0) {
114
- if (w.tab = e, sessionStorage.setItem("f", $.enCode(w)), !!t)
113
+ function Rr(e, t = !0) {
114
+ if (w.tab = e, sessionStorage.setItem("f", T.enCode(w)), !!t)
115
115
  if (U.tabs)
116
116
  U.tabs(e);
117
117
  else
@@ -120,7 +120,7 @@ function Tr(e, t = !0) {
120
120
  function Ae() {
121
121
  return w.tab;
122
122
  }
123
- function $r(e) {
123
+ function Tr(e) {
124
124
  return w.tab === e;
125
125
  }
126
126
  function Br(e) {
@@ -136,7 +136,7 @@ function Ir(e) {
136
136
  U.id = e;
137
137
  }
138
138
  function Nr(e, t = !0) {
139
- w.id = e, sessionStorage.setItem("f", $.enCode(w)), t && U.id(e);
139
+ w.id = e, sessionStorage.setItem("f", T.enCode(w)), t && U.id(e);
140
140
  }
141
141
  function sn() {
142
142
  return w.id;
@@ -145,25 +145,25 @@ function Fr(e) {
145
145
  return Number(w.id) === e;
146
146
  }
147
147
  function Pr(e, t, n) {
148
- w.module = e, w.id = n, w.tab = t, sessionStorage.setItem("f", $.enCode(w)), U.module(e), U.tabs(t);
148
+ w.module = e, w.id = n, w.tab = t, sessionStorage.setItem("f", T.enCode(w)), U.module(e), U.tabs(t);
149
149
  }
150
150
  function Or(e) {
151
- _e.data = e[0], delete _e.data.id, document.body.dataset.theme = _e.data.s15, localStorage.setItem("s", $.enCode(_e.data));
151
+ _e.data = e[0], delete _e.data.id, document.body.dataset.theme = _e.data.s15, localStorage.setItem("s", T.enCode(_e.data));
152
152
  }
153
153
  function Lr(e, t) {
154
- _e.data[e] = t, localStorage.setItem("s", $.enCode(_e.data));
154
+ _e.data[e] = t, localStorage.setItem("s", T.enCode(_e.data));
155
155
  }
156
156
  function Ar(e) {
157
157
  let t = localStorage.getItem("s");
158
- return t === null ? {} : (t = $.deCode(t), t ? e !== void 0 ? t[e] : t : Z());
158
+ return t === null ? {} : (t = T.deCode(t), t ? e !== void 0 ? t[e] : t : Z());
159
159
  }
160
160
  function an(e) {
161
- localStorage.setItem("m", $.enCode({ data: e }));
161
+ localStorage.setItem("m", T.enCode({ data: e }));
162
162
  }
163
163
  function Wr() {
164
164
  let e = localStorage.getItem("m");
165
165
  if (e !== "" && e !== "undefined" && e !== null) {
166
- let t = localStorage.getItem("m"), n = $.deCode(t);
166
+ let t = localStorage.getItem("m"), n = T.deCode(t);
167
167
  n || Z();
168
168
  const s = (i, l) => {
169
169
  let c = l + "";
@@ -179,34 +179,34 @@ function Ur(e) {
179
179
  }
180
180
  function on(e) {
181
181
  let t = localStorage.getItem("b");
182
- t = t === null ? {} : $.deCode(t), t[Ae()] = e, localStorage.setItem("b", $.enCode(t));
182
+ t = t === null ? {} : T.deCode(t), t[Ae()] = e, localStorage.setItem("b", T.enCode(t));
183
183
  }
184
184
  function tt() {
185
185
  let e = localStorage.getItem("b");
186
- return e === null ? {} : (e = $.deCode(e), e = e[Ae()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
186
+ return e === null ? {} : (e = T.deCode(e), e = e[Ae()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
187
187
  }
188
188
  function ln(e) {
189
- localStorage.setItem("c", $.enCode(e));
189
+ localStorage.setItem("c", T.enCode(e));
190
190
  }
191
191
  function zr(e, t) {
192
192
  var s;
193
193
  let n = localStorage.getItem("c");
194
194
  if (n !== "" && n !== "undefined" && n !== null) {
195
- let a = $.deCode(n);
195
+ let a = T.deCode(n);
196
196
  return a || Z(), e === void 0 ? a : t ? (s = a[e][t]) == null ? void 0 : s.n : a[e];
197
197
  } else
198
198
  return Z(), !1;
199
199
  }
200
- function Te(e) {
201
- te.data = e, localStorage.setItem("q", $.enCode(te.data));
200
+ function Re(e) {
201
+ te.data = e, localStorage.setItem("q", T.enCode(te.data));
202
202
  }
203
203
  function qr(e, t) {
204
- te.data = { ...te.data, [e]: t }, localStorage.setItem("q", $.enCode(te.data));
204
+ te.data = { ...te.data, [e]: t }, localStorage.setItem("q", T.enCode(te.data));
205
205
  }
206
206
  function ae(e, t) {
207
207
  if (!te.data) {
208
208
  let n = localStorage.getItem("q");
209
- n && (te.data = $.deCode(n));
209
+ n && (te.data = T.deCode(n));
210
210
  }
211
211
  return e === void 0 && t === void 0 ? te.data : e !== void 0 && t === void 0 ? te.data[e] : te.data[e][t];
212
212
  }
@@ -223,12 +223,12 @@ function Zr() {
223
223
  return w.payment;
224
224
  }
225
225
  function cn(e) {
226
- localStorage.setItem("u", $.enCode(e));
226
+ localStorage.setItem("u", T.enCode(e));
227
227
  }
228
228
  function Jr() {
229
229
  let e = localStorage.getItem("u");
230
230
  if (e !== "" && e !== "undefined" && e !== null) {
231
- let t = $.deCode(e);
231
+ let t = T.deCode(e);
232
232
  return t || Z(), t;
233
233
  } else
234
234
  return Z(), !1;
@@ -238,7 +238,7 @@ function Gr(e) {
238
238
  let s = localStorage.getItem(n);
239
239
  if (s !== "" && s !== "undefined" && s !== null)
240
240
  try {
241
- let a = $.deCode(s);
241
+ let a = T.deCode(s);
242
242
  if (!a) return;
243
243
  w[n] = { is: !0, time: a.time, data: a.data };
244
244
  } catch {
@@ -253,10 +253,10 @@ function Xr(e) {
253
253
  return w[e] === void 0 ? (w[e] = { data: {}, time: 0 }, { data: {}, time: 0 }) : w[e];
254
254
  }
255
255
  function Qr(e, t) {
256
- w[e] = { data: t.data, time: t.time }, localStorage.setItem(e, $.enCode(w[e]));
256
+ w[e] = { data: t.data, time: t.time }, localStorage.setItem(e, T.enCode(w[e]));
257
257
  }
258
258
  function Vr(e, t, n) {
259
- w[e].time = n, w[e].data[t.item][t.name] = t.value, localStorage.setItem(e, $.enCode(w[e]));
259
+ w[e].time = n, w[e].data[t.item][t.name] = t.value, localStorage.setItem(e, T.enCode(w[e]));
260
260
  }
261
261
  const oe = {
262
262
  setSSID: jr,
@@ -274,7 +274,7 @@ const oe = {
274
274
  getSort: tt,
275
275
  setCompany: ln,
276
276
  getCompany: zr,
277
- setSelect: Te,
277
+ setSelect: Re,
278
278
  addSelect: qr,
279
279
  getSelect: ae,
280
280
  setApi: Hr,
@@ -397,7 +397,7 @@ async function fs(e, t = {}) {
397
397
  return { status: "error" };
398
398
  }
399
399
  }
400
- const gl = { audio: ls, fetch: We, modules: cs, remoute: ds, url: os, telegram: fs, use: us };
400
+ const pl = { audio: ls, fetch: We, modules: cs, remoute: ds, url: os, telegram: fs, use: us };
401
401
  var Oe = { exports: {} }, Ee = {};
402
402
  /**
403
403
  * @license React
@@ -454,8 +454,8 @@ function ms() {
454
454
  {
455
455
  var k = p.ReactDebugCurrentFrame, N = k.getStackAddendum();
456
456
  N !== "" && (v += "%s", _ = _.concat([N]));
457
- var F = _.map(function(T) {
458
- return String(T);
457
+ var F = _.map(function(R) {
458
+ return String(R);
459
459
  });
460
460
  F.unshift("Warning: " + v), Function.prototype.apply.call(console[o], console, F);
461
461
  }
@@ -514,9 +514,9 @@ function ms() {
514
514
  var k = o.displayName || null;
515
515
  return k !== null ? k : H(o.type) || "Memo";
516
516
  case x: {
517
- var N = o, F = N._payload, T = N._init;
517
+ var N = o, F = N._payload, R = N._init;
518
518
  try {
519
- return H(T(F));
519
+ return H(R(F));
520
520
  } catch {
521
521
  return null;
522
522
  }
@@ -621,27 +621,27 @@ function ms() {
621
621
  F = ze.current, ze.current = null, Pn();
622
622
  try {
623
623
  if (v) {
624
- var T = function() {
624
+ var R = function() {
625
625
  throw Error();
626
626
  };
627
- if (Object.defineProperty(T.prototype, "props", {
627
+ if (Object.defineProperty(R.prototype, "props", {
628
628
  set: function() {
629
629
  throw Error();
630
630
  }
631
631
  }), typeof Reflect == "object" && Reflect.construct) {
632
632
  try {
633
- Reflect.construct(T, []);
633
+ Reflect.construct(R, []);
634
634
  } catch (K) {
635
635
  k = K;
636
636
  }
637
- Reflect.construct(o, [], T);
637
+ Reflect.construct(o, [], R);
638
638
  } else {
639
639
  try {
640
- T.call();
640
+ R.call();
641
641
  } catch (K) {
642
642
  k = K;
643
643
  }
644
- o.call(T.prototype);
644
+ o.call(R.prototype);
645
645
  }
646
646
  } else {
647
647
  try {
@@ -653,17 +653,17 @@ function ms() {
653
653
  }
654
654
  } catch (K) {
655
655
  if (K && k && typeof K.stack == "string") {
656
- for (var R = K.stack.split(`
656
+ for (var $ = K.stack.split(`
657
657
  `), q = k.stack.split(`
658
- `), L = R.length - 1, W = q.length - 1; L >= 1 && W >= 0 && R[L] !== q[W]; )
658
+ `), L = $.length - 1, W = q.length - 1; L >= 1 && W >= 0 && $[L] !== q[W]; )
659
659
  W--;
660
660
  for (; L >= 1 && W >= 0; L--, W--)
661
- if (R[L] !== q[W]) {
661
+ if ($[L] !== q[W]) {
662
662
  if (L !== 1 || W !== 1)
663
663
  do
664
- if (L--, W--, W < 0 || R[L] !== q[W]) {
664
+ if (L--, W--, W < 0 || $[L] !== q[W]) {
665
665
  var G = `
666
- ` + R[L].replace(" at new ", " at ");
666
+ ` + $[L].replace(" at new ", " at ");
667
667
  return o.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", o.displayName)), typeof o == "function" && Ne.set(o, G), G;
668
668
  }
669
669
  while (L >= 1 && W >= 0);
@@ -712,30 +712,30 @@ function ms() {
712
712
  }
713
713
  return "";
714
714
  }
715
- var Se = Object.prototype.hasOwnProperty, Rt = {}, Tt = p.ReactDebugCurrentFrame;
715
+ var Se = Object.prototype.hasOwnProperty, $t = {}, Rt = p.ReactDebugCurrentFrame;
716
716
  function Pe(o) {
717
717
  if (o) {
718
718
  var v = o._owner, _ = Fe(o.type, o._source, v ? v.type : null);
719
- Tt.setExtraStackFrame(_);
719
+ Rt.setExtraStackFrame(_);
720
720
  } else
721
- Tt.setExtraStackFrame(null);
721
+ Rt.setExtraStackFrame(null);
722
722
  }
723
723
  function Un(o, v, _, k, N) {
724
724
  {
725
725
  var F = Function.call.bind(Se);
726
- for (var T in o)
727
- if (F(o, T)) {
728
- var R = void 0;
726
+ for (var R in o)
727
+ if (F(o, R)) {
728
+ var $ = void 0;
729
729
  try {
730
- if (typeof o[T] != "function") {
731
- var q = Error((k || "React class") + ": " + _ + " type `" + T + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[T] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
730
+ if (typeof o[R] != "function") {
731
+ var q = Error((k || "React class") + ": " + _ + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
732
732
  throw q.name = "Invariant Violation", q;
733
733
  }
734
- R = o[T](v, T, k, _, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
734
+ $ = o[R](v, R, k, _, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
735
735
  } catch (L) {
736
- R = L;
736
+ $ = L;
737
737
  }
738
- R && !(R instanceof Error) && (Pe(N), b("%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).", k || "React class", _, T, typeof R), Pe(null)), R instanceof Error && !(R.message in Rt) && (Rt[R.message] = !0, Pe(N), b("Failed %s type: %s", _, R.message), Pe(null));
738
+ $ && !($ instanceof Error) && (Pe(N), b("%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).", k || "React class", _, R, typeof $), Pe(null)), $ instanceof Error && !($.message in $t) && ($t[$.message] = !0, Pe(N), b("Failed %s type: %s", _, $.message), Pe(null));
739
739
  }
740
740
  }
741
741
  }
@@ -751,17 +751,17 @@ function ms() {
751
751
  }
752
752
  function Hn(o) {
753
753
  try {
754
- return $t(o), !1;
754
+ return Tt(o), !1;
755
755
  } catch {
756
756
  return !0;
757
757
  }
758
758
  }
759
- function $t(o) {
759
+ function Tt(o) {
760
760
  return "" + o;
761
761
  }
762
762
  function Bt(o) {
763
763
  if (Hn(o))
764
- return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", qn(o)), $t(o);
764
+ return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", qn(o)), Tt(o);
765
765
  }
766
766
  var It = p.ReactCurrentOwner, Kn = {
767
767
  key: !0,
@@ -810,51 +810,51 @@ function ms() {
810
810
  });
811
811
  }
812
812
  }
813
- var Qn = function(o, v, _, k, N, F, T) {
814
- var R = {
813
+ var Qn = function(o, v, _, k, N, F, R) {
814
+ var $ = {
815
815
  // This tag allows us to uniquely identify this as a React Element
816
816
  $$typeof: t,
817
817
  // Built-in properties that belong on the element
818
818
  type: o,
819
819
  key: v,
820
820
  ref: _,
821
- props: T,
821
+ props: R,
822
822
  // Record the component responsible for creating this element.
823
823
  _owner: F
824
824
  };
825
- return R._store = {}, Object.defineProperty(R._store, "validated", {
825
+ return $._store = {}, Object.defineProperty($._store, "validated", {
826
826
  configurable: !1,
827
827
  enumerable: !1,
828
828
  writable: !0,
829
829
  value: !1
830
- }), Object.defineProperty(R, "_self", {
830
+ }), Object.defineProperty($, "_self", {
831
831
  configurable: !1,
832
832
  enumerable: !1,
833
833
  writable: !1,
834
834
  value: k
835
- }), Object.defineProperty(R, "_source", {
835
+ }), Object.defineProperty($, "_source", {
836
836
  configurable: !1,
837
837
  enumerable: !1,
838
838
  writable: !1,
839
839
  value: N
840
- }), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
840
+ }), Object.freeze && (Object.freeze($.props), Object.freeze($)), $;
841
841
  };
842
842
  function Vn(o, v, _, k, N) {
843
843
  {
844
- var F, T = {}, R = null, q = null;
845
- _ !== void 0 && (Bt(_), R = "" + _), Zn(v) && (Bt(v.key), R = "" + v.key), Yn(v) && (q = v.ref, Jn(v, N));
844
+ var F, R = {}, $ = null, q = null;
845
+ _ !== void 0 && (Bt(_), $ = "" + _), Zn(v) && (Bt(v.key), $ = "" + v.key), Yn(v) && (q = v.ref, Jn(v, N));
846
846
  for (F in v)
847
- Se.call(v, F) && !Kn.hasOwnProperty(F) && (T[F] = v[F]);
847
+ Se.call(v, F) && !Kn.hasOwnProperty(F) && (R[F] = v[F]);
848
848
  if (o && o.defaultProps) {
849
849
  var L = o.defaultProps;
850
850
  for (F in L)
851
- T[F] === void 0 && (T[F] = L[F]);
851
+ R[F] === void 0 && (R[F] = L[F]);
852
852
  }
853
- if (R || q) {
853
+ if ($ || q) {
854
854
  var W = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
855
- R && Gn(T, W), q && Xn(T, W);
855
+ $ && Gn(R, W), q && Xn(R, W);
856
856
  }
857
- return Qn(o, R, q, N, k, It.current, T);
857
+ return Qn(o, $, q, N, k, It.current, R);
858
858
  }
859
859
  }
860
860
  var Ye = p.ReactCurrentOwner, Pt = p.ReactDebugCurrentFrame;
@@ -925,8 +925,8 @@ Check the top-level render call using <` + _ + ">.");
925
925
  else if (o) {
926
926
  var N = m(o);
927
927
  if (typeof N == "function" && N !== o.entries)
928
- for (var F = N.call(o), T; !(T = F.next()).done; )
929
- Je(T.value) && At(T.value, v);
928
+ for (var F = N.call(o), R; !(R = F.next()).done; )
929
+ Je(R.value) && At(R.value, v);
930
930
  }
931
931
  }
932
932
  }
@@ -970,19 +970,19 @@ Check the top-level render call using <` + _ + ">.");
970
970
  var Ut = {};
971
971
  function zt(o, v, _, k, N, F) {
972
972
  {
973
- var T = B(o);
974
- if (!T) {
975
- var R = "";
976
- (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
973
+ var R = B(o);
974
+ if (!R) {
975
+ var $ = "";
976
+ (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && ($ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
977
977
  var q = er();
978
- q ? R += q : R += Ot();
978
+ q ? $ += q : $ += Ot();
979
979
  var L;
980
- o === null ? L = "null" : Ke(o) ? L = "array" : o !== void 0 && o.$$typeof === t ? (L = "<" + (H(o.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : L = typeof o, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, R);
980
+ o === null ? L = "null" : Ke(o) ? L = "array" : o !== void 0 && o.$$typeof === t ? (L = "<" + (H(o.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : L = typeof o, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, $);
981
981
  }
982
982
  var W = Vn(o, v, _, N, F);
983
983
  if (W == null)
984
984
  return W;
985
- if (T) {
985
+ if (R) {
986
986
  var G = v.children;
987
987
  if (G !== void 0)
988
988
  if (k)
@@ -1045,7 +1045,7 @@ function Cs() {
1045
1045
  t(e.filter((s) => s.key !== n));
1046
1046
  }, e.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: mn.notice, children: e.map((n) => n.item) });
1047
1047
  }
1048
- function $e({ data: e }) {
1048
+ function Te({ data: e }) {
1049
1049
  let [t, n] = y.useState("show");
1050
1050
  y.useEffect(() => {
1051
1051
  setTimeout(function() {
@@ -1079,23 +1079,23 @@ function $e({ data: e }) {
1079
1079
  }
1080
1080
  function ys(e) {
1081
1081
  let t = Date.now(), n = { key: t, ...e };
1082
- de.set({ item: /* @__PURE__ */ r.jsx($e, { data: n }, t), key: t });
1082
+ de.set({ item: /* @__PURE__ */ r.jsx(Te, { data: n }, t), key: t });
1083
1083
  }
1084
1084
  function _s(e) {
1085
1085
  let t = Date.now(), n = { key: t, text: e, type: "error" };
1086
- de.set({ item: /* @__PURE__ */ r.jsx($e, { data: n }, t), key: t });
1086
+ de.set({ item: /* @__PURE__ */ r.jsx(Te, { data: n }, t), key: t });
1087
1087
  }
1088
1088
  function ws(e) {
1089
1089
  let t = Date.now(), n = { key: t, text: e, type: "success" };
1090
- de.set({ item: /* @__PURE__ */ r.jsx($e, { data: n }, t), key: t });
1090
+ de.set({ item: /* @__PURE__ */ r.jsx(Te, { data: n }, t), key: t });
1091
1091
  }
1092
1092
  function ks(e) {
1093
1093
  let t = Date.now(), n = { key: t, text: e, type: "remark" };
1094
- de.set({ item: /* @__PURE__ */ r.jsx($e, { data: n }, t), key: t });
1094
+ de.set({ item: /* @__PURE__ */ r.jsx(Te, { data: n }, t), key: t });
1095
1095
  }
1096
1096
  function Ss(e) {
1097
1097
  let t = Date.now(), n = { key: t, text: e, type: "copy" };
1098
- de.set({ item: /* @__PURE__ */ r.jsx($e, { data: n }, t), key: t });
1098
+ de.set({ item: /* @__PURE__ */ r.jsx(Te, { data: n }, t), key: t });
1099
1099
  }
1100
1100
  const ge = {};
1101
1101
  ge.error = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
@@ -1135,12 +1135,12 @@ const Es = "_alerts_1pds5_1", Ds = "_al_1pds5_1", nt = {
1135
1135
  "--body": "_--body_1pds5_103",
1136
1136
  al: Ds
1137
1137
  };
1138
- let Re = {};
1138
+ let $e = {};
1139
1139
  function Ms() {
1140
1140
  let [e, t] = y.useState("");
1141
- return Re.set = (n) => t(n), Re.del = () => t(""), /* @__PURE__ */ r.jsx(r.Fragment, { children: e });
1141
+ return $e.set = (n) => t(n), $e.del = () => t(""), /* @__PURE__ */ r.jsx(r.Fragment, { children: e });
1142
1142
  }
1143
- const Rs = ({ data: e, callback: t }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ r.jsxs("div", { className: nt.alerts, children: [
1143
+ const $s = ({ data: e, callback: t }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ r.jsxs("div", { className: nt.alerts, children: [
1144
1144
  /* @__PURE__ */ r.jsxs("dl", { children: [
1145
1145
  /* @__PURE__ */ r.jsx("dt", { children: e.title }),
1146
1146
  /* @__PURE__ */ r.jsx("dd", { children: e.text }),
@@ -1149,22 +1149,29 @@ const Rs = ({ data: e, callback: t }) => (e.button = e.button === void 0 ? "По
1149
1149
  {
1150
1150
  "data-color": e.color || "blue",
1151
1151
  onClick: () => {
1152
- t(), Re.del();
1152
+ t(), $e.del();
1153
1153
  },
1154
1154
  children: e.button
1155
1155
  }
1156
1156
  ) })
1157
1157
  ] }),
1158
- /* @__PURE__ */ r.jsx("div", { className: nt["--body"], onClick: Re.del })
1158
+ /* @__PURE__ */ r.jsx("div", { className: nt["--body"], onClick: $e.del })
1159
1159
  ] }));
1160
- function Ts(e, t) {
1161
- Re.set(/* @__PURE__ */ r.jsx(Rs, { data: e, callback: t }));
1160
+ function Rs(e, t) {
1161
+ $e.set(/* @__PURE__ */ r.jsx($s, { data: e, callback: t }));
1162
1162
  }
1163
- const $s = "_btn_bf4sc_11", Bs = "_confirm_bf4sc_24", Qe = {
1164
- btn: $s,
1165
- confirm: Bs
1163
+ const Ts = "_btn_bf4sc_11", Bs = "_confirm_bf4sc_24", Is = "_disabled_bf4sc_29", Qe = {
1164
+ btn: Ts,
1165
+ confirm: Bs,
1166
+ disabled: Is
1166
1167
  };
1167
- function Is({ onClick: e, onSend: t, label: n, onRef: s, isDisable: a }) {
1168
+ function Ns({
1169
+ onClick: e,
1170
+ onSend: t,
1171
+ label: n,
1172
+ onRef: s,
1173
+ isDisabled: a
1174
+ }) {
1168
1175
  let [i, l] = y.useState(!1);
1169
1176
  const c = () => {
1170
1177
  if (e) return e();
@@ -1177,51 +1184,51 @@ function Is({ onClick: e, onSend: t, label: n, onRef: s, isDisable: a }) {
1177
1184
  className: [
1178
1185
  Qe.btn,
1179
1186
  Qe.confirm,
1180
- a && Qe.disable
1187
+ a && Qe.disabled
1181
1188
  ].join(" "),
1182
1189
  onClick: c,
1183
1190
  children: i ? "Ожидайте" : n
1184
1191
  }
1185
1192
  );
1186
1193
  }
1187
- const Ns = "_white_11p39_14", Fs = "_black_11p39_26", Ps = "_shake_11p39_1", Os = "_modal_11p39_73", Ls = "_o_11p39_83", As = "_w_11p39_14", Ws = "_h_11p39_107", Us = "_l_11p39_121", zs = "_t_11p39_159", qs = "_m_11p39_73", Hs = "_x_11p39_167", Ks = "_s_11p39_177", Ys = "_c_11p39_182", Zs = "_f_11p39_187", Js = "_btn_11p39_230", Gs = "_g_11p39_243", Xs = "_confirm_11p39_322", Qs = "_cancel_11p39_327", Vs = "_disabled_11p39_332", ea = "_active_11p39_389", ta = "_coincidence_11p39_395", na = "_sa_11p39_431", ra = "_ss_11p39_435", sa = "_sm_11p39_439", aa = "_sl_11p39_443", ia = "_sx_11p39_447", oa = "_sf_11p39_451", Q = {
1188
- white: Ns,
1189
- black: Fs,
1190
- shake: Ps,
1191
- modal: Os,
1192
- o: Ls,
1193
- w: As,
1194
- h: Ws,
1195
- l: Us,
1196
- t: zs,
1197
- m: qs,
1198
- x: Hs,
1199
- s: Ks,
1200
- c: Ys,
1201
- f: Zs,
1202
- btn: Js,
1203
- g: Gs,
1194
+ const Fs = "_white_11p39_14", Ps = "_black_11p39_26", Os = "_shake_11p39_1", Ls = "_modal_11p39_73", As = "_o_11p39_83", Ws = "_w_11p39_14", Us = "_h_11p39_107", zs = "_l_11p39_121", qs = "_t_11p39_159", Hs = "_m_11p39_73", Ks = "_x_11p39_167", Ys = "_s_11p39_177", Zs = "_c_11p39_182", Js = "_f_11p39_187", Gs = "_btn_11p39_230", Xs = "_g_11p39_243", Qs = "_confirm_11p39_322", Vs = "_cancel_11p39_327", ea = "_disabled_11p39_332", ta = "_active_11p39_389", na = "_coincidence_11p39_395", ra = "_sa_11p39_431", sa = "_ss_11p39_435", aa = "_sm_11p39_439", ia = "_sl_11p39_443", oa = "_sx_11p39_447", la = "_sf_11p39_451", Q = {
1195
+ white: Fs,
1196
+ black: Ps,
1197
+ shake: Os,
1198
+ modal: Ls,
1199
+ o: As,
1200
+ w: Ws,
1201
+ h: Us,
1202
+ l: zs,
1203
+ t: qs,
1204
+ m: Hs,
1205
+ x: Ks,
1206
+ s: Ys,
1207
+ c: Zs,
1208
+ f: Js,
1209
+ btn: Gs,
1210
+ g: Xs,
1204
1211
  "size-a": "_size-a_11p39_296",
1205
1212
  "size-s": "_size-s_11p39_300",
1206
1213
  "size-m": "_size-m_11p39_304",
1207
1214
  "size-l": "_size-l_11p39_308",
1208
1215
  "size-x": "_size-x_11p39_312",
1209
1216
  "size-f": "_size-f_11p39_316",
1210
- confirm: Xs,
1211
- cancel: Qs,
1212
- disabled: Vs,
1217
+ confirm: Qs,
1218
+ cancel: Vs,
1219
+ disabled: ea,
1213
1220
  await: "_await_11p39_339",
1214
- active: ea,
1215
- coincidence: ta,
1216
- sa: na,
1217
- ss: ra,
1218
- sm: sa,
1219
- sl: aa,
1220
- sx: ia,
1221
- sf: oa
1221
+ active: ta,
1222
+ coincidence: na,
1223
+ sa: ra,
1224
+ ss: sa,
1225
+ sm: aa,
1226
+ sl: ia,
1227
+ sx: oa,
1228
+ sf: la
1222
1229
  };
1223
1230
  let xe = {};
1224
- function la({ config: e }) {
1231
+ function ca({ config: e }) {
1225
1232
  let [t, n] = y.useState([]);
1226
1233
  return xe.x = (s) => {
1227
1234
  s || n([]);
@@ -1229,7 +1236,7 @@ function la({ config: e }) {
1229
1236
  n([...t, s]);
1230
1237
  }, /* @__PURE__ */ r.jsx(r.Fragment, { children: t.map((s) => s) });
1231
1238
  }
1232
- function ca({
1239
+ function ua({
1233
1240
  title: e,
1234
1241
  children: t,
1235
1242
  button: n,
@@ -1299,7 +1306,7 @@ function ca({
1299
1306
  )
1300
1307
  ] }),
1301
1308
  t,
1302
- n !== void 0 ? /* @__PURE__ */ r.jsx(Is, { label: n.label, onSend: u }) : ""
1309
+ n !== void 0 ? /* @__PURE__ */ r.jsx(Ns, { label: n.label, onSend: u }) : ""
1303
1310
  ]
1304
1311
  }
1305
1312
  )
@@ -1307,55 +1314,55 @@ function ca({
1307
1314
  }
1308
1315
  ) : "" });
1309
1316
  }
1310
- function ua(e) {
1311
- xe.add(/* @__PURE__ */ r.jsx(da, { children: e }, String(Date.now())));
1317
+ function da(e) {
1318
+ xe.add(/* @__PURE__ */ r.jsx(fa, { children: e }, String(Date.now())));
1312
1319
  }
1313
- function da({ children: e }) {
1320
+ function fa({ children: e }) {
1314
1321
  return /* @__PURE__ */ r.jsx(r.Fragment, { children: e });
1315
1322
  }
1316
- function fa(e) {
1323
+ function ha(e) {
1317
1324
  if (e.target.classList[0] !== "modal") return;
1318
1325
  let t = e.target.children[0];
1319
1326
  t.setAttribute("shake", !0), setTimeout(() => {
1320
1327
  t.setAttribute("shake", !1);
1321
1328
  }, 1e3);
1322
1329
  }
1323
- function ha({ type: e, name: t, params: n }) {
1330
+ function ma({ type: e, name: t, params: n }) {
1324
1331
  let [s, a] = y.useState(null);
1325
1332
  return y.useEffect(() => {
1326
1333
  xe.config(e, t, n, a);
1327
1334
  }, [n.id]), /* @__PURE__ */ r.jsx(r.Fragment, { children: s });
1328
1335
  }
1329
- function ma(e, t) {
1336
+ function ga(e, t) {
1330
1337
  xe.config(e, t);
1331
1338
  }
1332
- function ga(e) {
1339
+ function pa(e) {
1333
1340
  xe.x(e);
1334
1341
  }
1335
1342
  const rt = {};
1336
- function pa(e, t) {
1343
+ function xa(e, t) {
1337
1344
  rt[e] = t;
1338
1345
  }
1339
- function xa(e, t) {
1346
+ function va(e, t) {
1340
1347
  rt[e] !== void 0 && rt[e](t);
1341
1348
  }
1342
1349
  const le = {};
1343
- function va(e, t) {
1350
+ function ja(e, t) {
1344
1351
  const [n, s] = y.useState(t);
1345
1352
  return y.useEffect(() => {
1346
1353
  if (le[e]) return le[e].push(s);
1347
1354
  le[e] = [s];
1348
1355
  }, []), [n];
1349
1356
  }
1350
- function ja(e, t) {
1357
+ function ba(e, t) {
1351
1358
  if (le[e]) return le[e].push(t);
1352
1359
  le[e] = [t];
1353
1360
  }
1354
- function ba(e, t) {
1361
+ function Ca(e, t) {
1355
1362
  le[e] && le[e].forEach((n) => n(t));
1356
1363
  }
1357
- const dt = { setListener: xa, useListener: pa, setEmitter: ba, useEmitter: va, subEmitter: ja };
1358
- function Ca() {
1364
+ const dt = { setListener: va, useListener: xa, setEmitter: Ca, useEmitter: ja, subEmitter: ba };
1365
+ function ya() {
1359
1366
  let [e, t] = y.useState([]);
1360
1367
  return dt.useListener("form", (n) => {
1361
1368
  t([n]);
@@ -1371,10 +1378,10 @@ const ce = {
1371
1378
  getModule: rn,
1372
1379
  useModule: Er,
1373
1380
  isModule: Mr,
1374
- setTabs: Tr,
1381
+ setTabs: Rr,
1375
1382
  getTabs: Ae,
1376
- useTabs: Rr,
1377
- isTabs: $r,
1383
+ useTabs: $r,
1384
+ isTabs: Tr,
1378
1385
  useId: Br,
1379
1386
  setId: Nr,
1380
1387
  subId: Ir,
@@ -1700,7 +1707,7 @@ function Cn(e) {
1700
1707
  }
1701
1708
  ) });
1702
1709
  }
1703
- function ya(e, t) {
1710
+ function _a(e, t) {
1704
1711
  t === void 0 ? (t = e, e = /* @__PURE__ */ new Date()) : e = new Date(e);
1705
1712
  let n = {
1706
1713
  yyyy: e.getFullYear(),
@@ -1717,7 +1724,7 @@ function ya(e, t) {
1717
1724
  t = t.replace(s, n[s]);
1718
1725
  return t;
1719
1726
  }
1720
- function _a(e) {
1727
+ function wa(e) {
1721
1728
  let t = [
1722
1729
  "Января",
1723
1730
  "Февраля",
@@ -1737,7 +1744,7 @@ function _a(e) {
1737
1744
  name: n.getDate() + " " + t[n.getMonth()]
1738
1745
  };
1739
1746
  }
1740
- const wa = (e) => {
1747
+ const ka = (e) => {
1741
1748
  function t(S, E) {
1742
1749
  var I, P, M;
1743
1750
  S = S ?? "", E = E ?? 1;
@@ -1835,18 +1842,18 @@ const wa = (e) => {
1835
1842
  m.push(s.null);
1836
1843
  return m.push(n(d, s.ur)), m.push(c + " " + n(c, s.uc)), m.join(" ").replace(RegExp(" {2,}", "g"), " ").trimLeft();
1837
1844
  };
1838
- function ka(e) {
1845
+ function Sa(e) {
1839
1846
  let t = -1, n = [" kB", " MB", " GB", " TB", "PB", "EB", "ZB", "YB"];
1840
1847
  do
1841
1848
  e = e / 1024, t++;
1842
1849
  while (e > 1024);
1843
1850
  return Math.max(e, 0.1).toFixed(1) + n[t];
1844
1851
  }
1845
- function Sa(e) {
1852
+ function Ea(e) {
1846
1853
  let t = {};
1847
1854
  return t["application/atom+xml"] = "atom", t["application/json"] = "json", t["application/javascript"] = "js", t["application/ogg"] = "ogg", t["application/pdf"] = "pdf", t["application/soap+xml"] = "soap", t["application/font-woff"] = "woff", t["application/xhtml+xml"] = "xml", t["application/xml-dtd"] = "dtd", t["application/xop+xml"] = "xop", t["application/zip"] = "zip", t["application/gzip"] = "gzip", t["application/x-bittorrent"] = "bittorrent", t["application/x-tex"] = "tex", t["application/xml"] = "xml", t["application/msword"] = "doc", t["image/svg+xml"] = "svg", t[e];
1848
1855
  }
1849
- function Ea(e, t, n, s) {
1856
+ function Da(e, t, n, s) {
1850
1857
  let a = {
1851
1858
  sexM: "m",
1852
1859
  sexF: "f",
@@ -2057,7 +2064,7 @@ function Ea(e, t, n, s) {
2057
2064
  }
2058
2065
  return a.ln = e, a.fn = t || "", a.mn = n || "", a.sex = s || a.getSex(), a;
2059
2066
  }
2060
- function Da(e) {
2067
+ function Ma(e) {
2061
2068
  let t = e.split(" ");
2062
2069
  switch (t.length) {
2063
2070
  case 2:
@@ -2068,7 +2075,7 @@ function Da(e) {
2068
2075
  return e;
2069
2076
  }
2070
2077
  }
2071
- function Ma(e) {
2078
+ function $a(e) {
2072
2079
  return e = typeof e == "number" ? e : new Date(e).getMonth() + 1, {
2073
2080
  1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
2074
2081
  2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
@@ -2092,25 +2099,25 @@ function Ta(e, t) {
2092
2099
  for (; n.length < e; ) n = "0" + n;
2093
2100
  return n;
2094
2101
  }
2095
- function $a(e, t, n) {
2102
+ function Ba(e, t, n) {
2096
2103
  let s = t / e * n;
2097
2104
  return (typeof s != "number" || s === 1 / 0) && (s = 0), parseFloat(s).toFixed(1);
2098
2105
  }
2099
- function Ba(e) {
2106
+ function Ia(e) {
2100
2107
  return e.charAt(0).toUpperCase() + e.slice(1);
2101
2108
  }
2102
- function Ia(e, t) {
2109
+ function Na(e, t) {
2103
2110
  e = Math.abs(e) % 100;
2104
2111
  let n = e % 10;
2105
2112
  return e > 10 && e < 20 ? t[2] : n > 1 && n < 5 ? t[1] : n === 1 ? t[0] : t[2];
2106
2113
  }
2107
- function Na(e, t, n) {
2114
+ function Fa(e, t, n) {
2108
2115
  return ae(e, t) ? ae(e, t).n : n || "";
2109
2116
  }
2110
- function Fa(e, t, n, s) {
2117
+ function Pa(e, t, n, s) {
2111
2118
  return ae(e, t) ? ae(e, t)[n] : s || "";
2112
2119
  }
2113
- function Pa(e) {
2120
+ function Oa(e) {
2114
2121
  return {
2115
2122
  0: { name: "Январь", names: "Января", abc: "Янв" },
2116
2123
  1: { name: "Январь", names: "Января", abc: "Янв" },
@@ -2121,19 +2128,19 @@ function Pa(e) {
2121
2128
  6: { name: "Июнь", names: "Июня", abc: "Июнь" }
2122
2129
  }[e];
2123
2130
  }
2124
- function Oa(e, t) {
2131
+ function La(e, t) {
2125
2132
  return e.reduce(function(n, s) {
2126
2133
  let a = t instanceof Function ? t(s) : s[t];
2127
2134
  return n[a] !== void 0 || (n[a] = {}), n[a][s.id] = s, n;
2128
2135
  }, {});
2129
2136
  }
2130
- function La(e) {
2137
+ function Aa(e) {
2131
2138
  return parseInt((Date.now() - new Date(e).getTime()) / 31536e6 + "") + "";
2132
2139
  }
2133
- function Aa(e) {
2140
+ function Wa(e) {
2134
2141
  return ["number", "string"].includes(typeof e) ? !isNaN(Number(e)) && !isNaN(parseFloat(e)) : !1;
2135
2142
  }
2136
- function Wa(e) {
2143
+ function Ua(e) {
2137
2144
  var t = "", n = {
2138
2145
  а: "a",
2139
2146
  б: "b",
@@ -2206,32 +2213,32 @@ function Wa(e) {
2206
2213
  n[e[s]] == null ? t += e[s] : t += n[e[s]];
2207
2214
  return t;
2208
2215
  }
2209
- function Ua(e, t, n = !1) {
2216
+ function za(e, t, n = !1) {
2210
2217
  return n ? e.sort((s, a) => a[t] - s[t]) : e.sort((s, a) => s[t] - a[t]);
2211
2218
  }
2212
- function za(e, t) {
2219
+ function qa(e, t) {
2213
2220
  return e.reduce(function(n, s) {
2214
2221
  let a = t instanceof Function ? t(s) : s[t];
2215
2222
  return n[a] !== void 0 || (n[a] = {}), n[a][s.id] = s, n;
2216
2223
  }, {});
2217
2224
  }
2218
- function qa(e, t, n = !1) {
2225
+ function Ha(e, t, n = !1) {
2219
2226
  return n ? e.sort(
2220
2227
  (s, a) => new Date(a[t]).getTime() - new Date(s[t]).getTime()
2221
2228
  ) : e.sort(
2222
2229
  (s, a) => new Date(s[t]).getTime() - new Date(a[t]).getTime()
2223
2230
  );
2224
2231
  }
2225
- function Ha(e, t) {
2232
+ function Ka(e, t) {
2226
2233
  return e.reduce((n, s) => n + (s[t] || 0), 0);
2227
2234
  }
2228
- function Ka(e, t, n, s = !1) {
2235
+ function Ya(e, t, n, s = !1) {
2229
2236
  return s ? e.sort((a, i) => n(i[t]) - n(a[t])) : e.sort((a, i) => n(a[t]) - n(i[t]));
2230
2237
  }
2231
- function Ya(e) {
2238
+ function Za(e) {
2232
2239
  return { style: { background: `var(--color-${e})` } };
2233
2240
  }
2234
- function Za(e) {
2241
+ function Ja(e) {
2235
2242
  switch (e = e / 1e3 / 60, !0) {
2236
2243
  case e > 1440:
2237
2244
  return Math.ceil(Math.abs(e / 1440)) + "д";
@@ -2243,7 +2250,7 @@ function Za(e) {
2243
2250
  return "∞";
2244
2251
  }
2245
2252
  }
2246
- function Ja(e) {
2253
+ function Ga(e) {
2247
2254
  const t = /^#{1}\s+[^#].*$/gm, n = /^#{2}\s+[^#].*$/gm, s = /^#{3}\s+[^#].*$/gm, a = /\*\*[^\*\n]+\*\*/gm, i = /[^\*]\*[^\*\n]+\*/gm, l = /\[[\w|\(|\)|\s|\*|\?|\-|\.|\,]*(\]\(){1}[^\)]*\)/gm, c = /^((\s*((\*|\-)|\d(\.|\))) [^\n]+))+$/gm, d = /^[\*|\+|\-]\s.*$/, u = /^\s\s\s*[\*|\+|\-]\s.*$/, f = /^\d\.\s.*$/, g = /^\s\s+\d\.\s.*$/;
2248
2255
  return t.test(e) && e.match(t).forEach((h) => {
2249
2256
  const j = h.slice(1);
@@ -2291,44 +2298,44 @@ function Ja(e) {
2291
2298
  return x.replace(x, "<p>" + x + "</p>");
2292
2299
  }).join("");
2293
2300
  }
2294
- function Ga(e) {
2301
+ function Xa(e) {
2295
2302
  let t = Math.floor(e / 1e3 % 60), n = Math.floor(e / (1e3 * 60) % 60), s = Math.floor(e / (1e3 * 60 * 60) % 24);
2296
2303
  return s = s < 10 ? "0" + s : s, n = n < 10 ? "0" + n : n, t = t < 10 ? "0" + t : t, { hours: s, minutes: n, seconds: t };
2297
2304
  }
2298
- function Xa(e, t) {
2305
+ function Qa(e, t) {
2299
2306
  return Math.floor(Math.random() * (t - e + 1) + e);
2300
2307
  }
2301
2308
  const ie = {
2302
- Age: La,
2303
- ArraySort: Ua,
2304
- ArrayGroup: za,
2305
- ArraySortDate: qa,
2306
- ArraySortFunction: Ka,
2307
- ArraySumma: Ha,
2308
- Translit: Wa,
2309
- Date: ya,
2310
- DateSort: _a,
2311
- DateString: Ga,
2312
- ColorBackground: Ya,
2313
- MoneyString: wa,
2314
- CountTime: Za,
2315
- Size: ka,
2316
- TypeFiles: Sa,
2317
- Cases: Ea,
2318
- Initials: Da,
2319
- Month: Ma,
2309
+ Age: Aa,
2310
+ ArraySort: za,
2311
+ ArrayGroup: qa,
2312
+ ArraySortDate: Ha,
2313
+ ArraySortFunction: Ya,
2314
+ ArraySumma: Ka,
2315
+ Translit: Ua,
2316
+ Date: _a,
2317
+ DateSort: wa,
2318
+ DateString: Xa,
2319
+ ColorBackground: Za,
2320
+ MoneyString: ka,
2321
+ CountTime: Ja,
2322
+ Size: Sa,
2323
+ TypeFiles: Ea,
2324
+ Cases: Da,
2325
+ Initials: Ma,
2326
+ Month: $a,
2320
2327
  Money: Ra,
2321
- MarkdownParse: Ja,
2328
+ MarkdownParse: Ga,
2322
2329
  Number: Ta,
2323
- Percent: $a,
2324
- CapitalizeFirstLetter: Ba,
2325
- RandomIntFromInterval: Xa,
2326
- DeclensionWord: Ia,
2327
- Select: Na,
2328
- SelectParams: Fa,
2329
- ObjectByArray: Oa,
2330
- isNumeric: Aa,
2331
- Week: Pa
2330
+ Percent: Ba,
2331
+ CapitalizeFirstLetter: Ia,
2332
+ RandomIntFromInterval: Qa,
2333
+ DeclensionWord: Na,
2334
+ Select: Fa,
2335
+ SelectParams: Pa,
2336
+ ObjectByArray: La,
2337
+ isNumeric: Wa,
2338
+ Week: Oa
2332
2339
  };
2333
2340
  ie.setFN = (e, t) => {
2334
2341
  ie[e] = t;
@@ -2380,30 +2387,30 @@ function ft({
2380
2387
  ) })
2381
2388
  ] });
2382
2389
  }
2383
- function Qa({ children: e }) {
2390
+ function Va({ children: e }) {
2384
2391
  return /* @__PURE__ */ r.jsx("div", { className: "l", children: /* @__PURE__ */ r.jsx("ul", { children: e }) });
2385
2392
  }
2386
- function Va({ children: e }) {
2393
+ function ei({ children: e }) {
2387
2394
  return /* @__PURE__ */ r.jsx("div", { className: Q.s, children: e });
2388
2395
  }
2389
- function ei({ children: e, className: t }) {
2396
+ function ti({ children: e, className: t }) {
2390
2397
  let n = {};
2391
2398
  return t && (n.className = t), /* @__PURE__ */ r.jsx("div", { "data-form": "outline", ...n, children: /* @__PURE__ */ r.jsx("ul", { children: e }) });
2392
2399
  }
2393
- function ti({ children: e }) {
2400
+ function ni({ children: e }) {
2394
2401
  return /* @__PURE__ */ r.jsx("div", { className: Q.c, children: e });
2395
2402
  }
2396
2403
  const yn = {
2397
- List: Qa,
2398
- Scroll: Va,
2399
- Main: ca,
2400
- Add: ua,
2401
- Icon: ha,
2402
- Open: ma,
2403
- Shake: fa,
2404
- Form: ei,
2405
- Center: ti,
2406
- Close: ga
2404
+ List: Va,
2405
+ Scroll: ei,
2406
+ Main: ua,
2407
+ Add: da,
2408
+ Icon: ma,
2409
+ Open: ga,
2410
+ Shake: ha,
2411
+ Form: ti,
2412
+ Center: ni,
2413
+ Close: pa
2407
2414
  };
2408
2415
  function ht({
2409
2416
  value: e,
@@ -2503,9 +2510,9 @@ function mt(e) {
2503
2510
  }
2504
2511
  );
2505
2512
  }
2506
- const ni = "_o_1kqkq_1", ri = "_c_1kqkq_11", Zt = {
2507
- o: ni,
2508
- c: ri
2513
+ const ri = "_o_1kqkq_1", si = "_c_1kqkq_11", Zt = {
2514
+ o: ri,
2515
+ c: si
2509
2516
  };
2510
2517
  function _n({
2511
2518
  value: e,
@@ -2531,7 +2538,7 @@ function _n({
2531
2538
  dt.setListener(
2532
2539
  "form",
2533
2540
  /* @__PURE__ */ r.jsx(
2534
- si,
2541
+ ai,
2535
2542
  {
2536
2543
  position: { x: p, y: b },
2537
2544
  onValue: x,
@@ -2566,7 +2573,7 @@ function _n({
2566
2573
  }
2567
2574
  ) });
2568
2575
  }
2569
- const si = (e) => {
2576
+ const ai = (e) => {
2570
2577
  let [t, n] = y.useState(!0), s = /* @__PURE__ */ new Date(), a = new Date(e.date), i = {
2571
2578
  y: parseInt(s.getFullYear()),
2572
2579
  m: parseInt(s.getMonth()) + 1
@@ -2945,7 +2952,7 @@ function jt(e) {
2945
2952
  dt.setListener(
2946
2953
  "form",
2947
2954
  /* @__PURE__ */ r.jsx(
2948
- ai,
2955
+ ii,
2949
2956
  {
2950
2957
  parent: j,
2951
2958
  onValue: d,
@@ -2977,7 +2984,7 @@ function jt(e) {
2977
2984
  }
2978
2985
  );
2979
2986
  }
2980
- const ai = ({ onValue: e, parent: t, view: n, options: s }) => {
2987
+ const ii = ({ onValue: e, parent: t, view: n, options: s }) => {
2981
2988
  let [a, i] = y.useState(!0), l = () => {
2982
2989
  i(!1);
2983
2990
  }, c = (g) => {
@@ -3295,7 +3302,7 @@ function Mn({
3295
3302
  /* @__PURE__ */ r.jsx("dd", { ...f, onClick: d })
3296
3303
  ] });
3297
3304
  }
3298
- const Rn = ({ onValue: e, value: t, name: n, item: s }) => {
3305
+ const $n = ({ onValue: e, value: t, name: n, item: s }) => {
3299
3306
  const [a, i] = y.useState(!!t);
3300
3307
  y.useEffect(() => {
3301
3308
  i(!!t);
@@ -3313,7 +3320,7 @@ const Rn = ({ onValue: e, value: t, name: n, item: s }) => {
3313
3320
  }
3314
3321
  );
3315
3322
  };
3316
- function Tn({
3323
+ function Rn({
3317
3324
  value: e,
3318
3325
  onValue: t,
3319
3326
  name: n,
@@ -3417,8 +3424,8 @@ function Tn({
3417
3424
  i ? /* @__PURE__ */ r.jsx("em", { children: i }) : ""
3418
3425
  ] });
3419
3426
  }
3420
- const ii = (e) => (e = e !== void 0 && e !== "" ? e.split(",") : [], e.reduce((t, n) => (t[n] = !0, t), {}));
3421
- function $n({
3427
+ const oi = (e) => (e = e !== void 0 && e !== "" ? e.split(",") : [], e.reduce((t, n) => (t[n] = !0, t), {}));
3428
+ function Tn({
3422
3429
  value: e,
3423
3430
  onValue: t,
3424
3431
  name: n,
@@ -3436,7 +3443,7 @@ function $n({
3436
3443
  options: j,
3437
3444
  className: C
3438
3445
  }) {
3439
- const [m, p] = y.useState(ii(e)), b = (I) => {
3446
+ const [m, p] = y.useState(oi(e)), b = (I) => {
3440
3447
  if (!(c && u) || !x) return;
3441
3448
  let M = x.split(".");
3442
3449
  yn.Open(M[1], {
@@ -3488,7 +3495,7 @@ function $n({
3488
3495
  i && /* @__PURE__ */ r.jsx("em", { children: i })
3489
3496
  ] });
3490
3497
  }
3491
- const oi = {
3498
+ const li = {
3492
3499
  Color: Cn,
3493
3500
  Date: ft,
3494
3501
  Code: bn,
@@ -3512,16 +3519,16 @@ const oi = {
3512
3519
  Time: Dn,
3513
3520
  Users: jt,
3514
3521
  String: vt,
3515
- Toogle: Rn,
3516
- Group: Tn,
3517
- Options: $n
3518
- }, li = "_debug_ug20b_34", ci = "_b_ug20b_46", ui = "_o_ug20b_50", di = "_mb_ug20b_55", fi = "_tm_ug20b_66", hi = "_ta_ug20b_133", me = {
3519
- debug: li,
3520
- b: ci,
3521
- o: ui,
3522
- mb: di,
3523
- tm: fi,
3524
- ta: hi
3522
+ Toogle: $n,
3523
+ Group: Rn,
3524
+ Options: Tn
3525
+ }, ci = "_debug_ug20b_34", ui = "_b_ug20b_46", di = "_o_ug20b_50", fi = "_mb_ug20b_55", hi = "_tm_ug20b_66", mi = "_ta_ug20b_133", me = {
3526
+ debug: ci,
3527
+ b: ui,
3528
+ o: di,
3529
+ mb: fi,
3530
+ tm: hi,
3531
+ ta: mi
3525
3532
  }, D = window.Telegram.WebApp, se = { is: !1, MainButton: {}, BackButton: {} };
3526
3533
  let pe = {};
3527
3534
  pe.dark = {
@@ -3668,12 +3675,12 @@ D.Init = ({ dev: e }) => {
3668
3675
  /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx("button", { onClick: () => d(!c), children: "Closed" }) })
3669
3676
  ] })
3670
3677
  ] }) : "",
3671
- u ? /* @__PURE__ */ r.jsx(mi, { setAuthorization: f }) : ""
3678
+ u ? /* @__PURE__ */ r.jsx(gi, { setAuthorization: f }) : ""
3672
3679
  ] });
3673
3680
  } else
3674
3681
  return /* @__PURE__ */ r.jsx(r.Fragment, {});
3675
3682
  };
3676
- const mi = ({ setAuthorization: e }) => {
3683
+ const gi = ({ setAuthorization: e }) => {
3677
3684
  let t = {}, n = (a) => {
3678
3685
  t = a.value;
3679
3686
  }, s = (a) => {
@@ -3681,7 +3688,7 @@ const mi = ({ setAuthorization: e }) => {
3681
3688
  };
3682
3689
  return /* @__PURE__ */ r.jsx("div", { className: me.ta, children: /* @__PURE__ */ r.jsxs("div", { className: "--body", children: [
3683
3690
  /* @__PURE__ */ r.jsx("fieldset", { children: /* @__PURE__ */ r.jsx(
3684
- oi.Notes,
3691
+ li.Notes,
3685
3692
  {
3686
3693
  label: "Data JSON",
3687
3694
  name: "description",
@@ -3691,17 +3698,17 @@ const mi = ({ setAuthorization: e }) => {
3691
3698
  ) }),
3692
3699
  /* @__PURE__ */ r.jsx("div", { onClick: s, children: " Сщхранить " })
3693
3700
  ] }) });
3694
- }, pl = ({ children: e, config: t }) => (window.location.pathname === "/clear" && (window.history.pushState({}, "", "/"), Z()), $.New(t.crypto), t.defaultModule && gr(t.defaultModule), xr(
3701
+ }, xl = ({ children: e, config: t }) => (window.location.pathname === "/clear" && (window.history.pushState({}, "", "/"), Z()), T.New(t.crypto), t.defaultModule && gr(t.defaultModule), xr(
3695
3702
  /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
3696
3703
  /* @__PURE__ */ r.jsx(D.Init, { dev: t.dev }),
3697
- /* @__PURE__ */ r.jsx(la, { config: t.modal }),
3704
+ /* @__PURE__ */ r.jsx(ca, { config: t.modal }),
3698
3705
  /* @__PURE__ */ r.jsx(Cs, {}),
3699
3706
  /* @__PURE__ */ r.jsx(Ms, {}),
3700
- /* @__PURE__ */ r.jsx(Ca, {}),
3707
+ /* @__PURE__ */ r.jsx(ya, {}),
3701
3708
  e
3702
3709
  ] })
3703
- )), gi = ({ list: e, onClick: t, active: n, size: s, view: a }) => /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [s, a].join(" "), children: e.map((i) => /* @__PURE__ */ r.jsx(
3704
- pi,
3710
+ )), pi = ({ list: e, onClick: t, active: n, size: s, view: a }) => /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [s, a].join(" "), children: e.map((i) => /* @__PURE__ */ r.jsx(
3711
+ xi,
3705
3712
  {
3706
3713
  onClick: t,
3707
3714
  active: n,
@@ -3709,9 +3716,9 @@ const mi = ({ setAuthorization: e }) => {
3709
3716
  link: i.link
3710
3717
  },
3711
3718
  i.link
3712
- )) }) }), pi = ({ onClick: e, label: t, link: n, active: s }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(s === n), onClick: () => e(n), children: t });
3713
- gi.defaultProps = { size: "M", view: "H" };
3714
- const xi = ({
3719
+ )) }) }), xi = ({ onClick: e, label: t, link: n, active: s }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(s === n), onClick: () => e(n), children: t });
3720
+ pi.defaultProps = { size: "M", view: "H" };
3721
+ const vi = ({
3715
3722
  title: e = "",
3716
3723
  button: t,
3717
3724
  description: n = "",
@@ -3731,9 +3738,9 @@ const xi = ({
3731
3738
  ] }),
3732
3739
  /* @__PURE__ */ r.jsx("ul", { children: s }),
3733
3740
  n && /* @__PURE__ */ r.jsx("article", { children: n })
3734
- ] }), vi = "_setting_dva4m_2", ji = {
3735
- setting: vi
3736
- }, bi = ({ children: e }) => /* @__PURE__ */ r.jsx("div", { className: ji.setting, children: e }), Ci = ({ label: e, children: t }) => {
3741
+ ] }), ji = "_setting_dva4m_2", bi = {
3742
+ setting: ji
3743
+ }, Ci = ({ children: e }) => /* @__PURE__ */ r.jsx("div", { className: bi.setting, children: e }), yi = ({ label: e, children: t }) => {
3737
3744
  let [n, s] = y.useState(!1);
3738
3745
  return /* @__PURE__ */ r.jsxs("li", { "data-item": "accordion", children: [
3739
3746
  /* @__PURE__ */ r.jsxs("dl", { onClick: () => s(!n), children: [
@@ -3742,10 +3749,10 @@ const xi = ({
3742
3749
  ] }),
3743
3750
  n && /* @__PURE__ */ r.jsx("div", { children: t })
3744
3751
  ] });
3745
- }, yi = ({ label: e, onClick: t, button: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
3752
+ }, _i = ({ label: e, onClick: t, button: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
3746
3753
  /* @__PURE__ */ r.jsx("dt", { children: e }),
3747
3754
  /* @__PURE__ */ r.jsx("dd", { role: "button", onClick: () => t(), children: n })
3748
- ] }) }), _i = ({ active: e, onClick: t }) => (e = typeof e == "number" ? !!e : e, /* @__PURE__ */ r.jsx(
3755
+ ] }) }), wi = ({ active: e, onClick: t }) => (e = typeof e == "number" ? !!e : e, /* @__PURE__ */ r.jsx(
3749
3756
  "div",
3750
3757
  {
3751
3758
  role: "switch",
@@ -3754,22 +3761,22 @@ const xi = ({
3754
3761
  },
3755
3762
  "aria-checked": e ? "true" : "false"
3756
3763
  }
3757
- )), wi = { Switch: _i }, ki = ({ label: e, onClick: t, active: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
3764
+ )), ki = { Switch: wi }, Si = ({ label: e, onClick: t, active: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
3758
3765
  /* @__PURE__ */ r.jsx("dt", { children: e }),
3759
- /* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(wi.Switch, { onClick: t, active: n }) })
3760
- ] }) }), Si = ({ label: e, active: t, options: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
3766
+ /* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(ki.Switch, { onClick: t, active: n }) })
3767
+ ] }) }), Ei = ({ label: e, active: t, options: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
3761
3768
  /* @__PURE__ */ r.jsx("dt", { children: e }),
3762
3769
  /* @__PURE__ */ r.jsx("dd", { role: "info", children: t })
3763
- ] }) }), Ei = ({ label: e, info: t }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
3770
+ ] }) }), Di = ({ label: e, info: t }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
3764
3771
  /* @__PURE__ */ r.jsx("dt", { children: e }),
3765
3772
  /* @__PURE__ */ r.jsx("dd", { role: "info", children: t })
3766
- ] }) }), Di = ({ label: e, children: t }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
3773
+ ] }) }), Mi = ({ label: e, children: t }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
3767
3774
  /* @__PURE__ */ r.jsx("dt", { children: e }),
3768
3775
  /* @__PURE__ */ r.jsx("dd", { children: t })
3769
- ] }) }), Mi = ({ label: e, children: t }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
3776
+ ] }) }), $i = ({ label: e, children: t }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
3770
3777
  /* @__PURE__ */ r.jsx("dt", { children: e }),
3771
3778
  /* @__PURE__ */ r.jsx("dd", { children: t })
3772
- ] }) }), Ri = { Accordion: Ci, Button: yi, Switch: ki, Info: Ei, Select: Si, Component: Di, Node: Mi };
3779
+ ] }) }), Ri = { Accordion: yi, Button: _i, Switch: Si, Info: Di, Select: Ei, Component: Mi, Node: $i };
3773
3780
  function Bn({ list: e, onClick: t, active: n, size: s, view: a }) {
3774
3781
  return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [s, a].join(" "), children: e.map((i) => /* @__PURE__ */ r.jsx(
3775
3782
  Ti,
@@ -3784,7 +3791,7 @@ function Bn({ list: e, onClick: t, active: n, size: s, view: a }) {
3784
3791
  }
3785
3792
  const Ti = ({ onClick: e, label: t, link: n, active: s }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(s === n), onClick: () => e(n), children: t });
3786
3793
  Bn.defaultProps = { size: "M", view: "H" };
3787
- const xl = { Section: xi, Main: bi, Item: Ri, Tabs: Bn };
3794
+ const vl = { Section: vi, Main: Ci, Item: Ri, Tabs: Bn };
3788
3795
  function In({ text: e, type: t, button: n }) {
3789
3796
  let [s, a] = y.useState(!1), i = { active: t };
3790
3797
  const l = () => {
@@ -3817,21 +3824,21 @@ function In({ text: e, type: t, button: n }) {
3817
3824
  n && /* @__PURE__ */ r.jsx("button", { onClick: l, children: n.label })
3818
3825
  ] });
3819
3826
  }
3820
- const $i = "_h_1usnu_1", Bi = "_g_1usnu_11", Ii = "_hr_1usnu_16", Ni = "_hl_1usnu_28", Fi = "_t_1usnu_40", Pi = "_s_1usnu_60", Oi = "_u_1usnu_69", Li = "_o_1usnu_76", Ai = "_l_1usnu_105", Wi = "_hh_1usnu_115", Ui = "_c_1usnu_128", zi = "_m_1usnu_180", qi = "_ul_1usnu_196", Hi = "_f_1usnu_226", Y = {
3821
- h: $i,
3822
- g: Bi,
3823
- hr: Ii,
3824
- hl: Ni,
3825
- t: Fi,
3826
- s: Pi,
3827
- u: Oi,
3828
- o: Li,
3829
- l: Ai,
3830
- hh: Wi,
3831
- c: Ui,
3832
- m: zi,
3833
- ul: qi,
3834
- f: Hi
3827
+ const Bi = "_h_1usnu_1", Ii = "_g_1usnu_11", Ni = "_hr_1usnu_16", Fi = "_hl_1usnu_28", Pi = "_t_1usnu_40", Oi = "_s_1usnu_60", Li = "_u_1usnu_69", Ai = "_o_1usnu_76", Wi = "_l_1usnu_105", Ui = "_hh_1usnu_115", zi = "_c_1usnu_128", qi = "_m_1usnu_180", Hi = "_ul_1usnu_196", Ki = "_f_1usnu_226", Y = {
3828
+ h: Bi,
3829
+ g: Ii,
3830
+ hr: Ni,
3831
+ hl: Fi,
3832
+ t: Pi,
3833
+ s: Oi,
3834
+ u: Li,
3835
+ o: Ai,
3836
+ l: Wi,
3837
+ hh: Ui,
3838
+ c: zi,
3839
+ m: qi,
3840
+ ul: Hi,
3841
+ f: Ki
3835
3842
  }, Jt = ({ title: e, left: t, right: n, children: s }) => /* @__PURE__ */ r.jsxs("div", { className: Y.h, children: [
3836
3843
  /* @__PURE__ */ r.jsx("div", { className: Y.t, children: e }),
3837
3844
  t && /* @__PURE__ */ r.jsx("div", { className: Y.hl, children: t }),
@@ -3844,27 +3851,27 @@ const $i = "_h_1usnu_1", Bi = "_g_1usnu_11", Ii = "_hr_1usnu_16", Ni = "_hl_1usn
3844
3851
  function Vt({ children: e }) {
3845
3852
  return /* @__PURE__ */ r.jsx("div", { className: Y.g, children: e });
3846
3853
  }
3847
- const Ki = ({ children: e, className: t, title: n }) => /* @__PURE__ */ r.jsxs("div", { className: [Y.o, t].join(" "), children: [
3854
+ const Yi = ({ children: e, className: t, title: n }) => /* @__PURE__ */ r.jsxs("div", { className: [Y.o, t].join(" "), children: [
3848
3855
  n && /* @__PURE__ */ r.jsx("div", { className: Y.hh, children: n }),
3849
3856
  e
3850
- ] }), Yi = ({ children: e }) => /* @__PURE__ */ r.jsx("div", { className: Y.u, children: e }), Zi = ({ children: e }) => /* @__PURE__ */ r.jsx("div", { className: Y.c, children: e }), Ji = ({ children: e }) => /* @__PURE__ */ r.jsx("div", { className: Y.m, children: e }), vl = {
3857
+ ] }), Zi = ({ children: e }) => /* @__PURE__ */ r.jsx("div", { className: Y.u, children: e }), Ji = ({ children: e }) => /* @__PURE__ */ r.jsx("div", { className: Y.c, children: e }), Gi = ({ children: e }) => /* @__PURE__ */ r.jsx("div", { className: Y.m, children: e }), jl = {
3851
3858
  Header: Jt,
3852
3859
  Section: Xt,
3853
3860
  Group: Vt,
3854
3861
  Form: Qt,
3855
3862
  List: Gt,
3856
3863
  A: In,
3857
- U: Yi,
3864
+ U: Zi,
3858
3865
  G: Vt,
3859
- C: Zi,
3866
+ C: Ji,
3860
3867
  L: Gt,
3861
- O: Ki,
3868
+ O: Yi,
3862
3869
  S: Xt,
3863
3870
  H: Jt,
3864
- M: Ji,
3871
+ M: Gi,
3865
3872
  F: Qt
3866
- }, jl = { Send: Ts, Line: In };
3867
- function Gi() {
3873
+ }, bl = { Send: Rs, Line: In };
3874
+ function Xi() {
3868
3875
  return /* @__PURE__ */ r.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ r.jsx(
3869
3876
  "path",
3870
3877
  {
@@ -3873,15 +3880,15 @@ function Gi() {
3873
3880
  }
3874
3881
  ) });
3875
3882
  }
3876
- const Xi = {};
3877
- function Qi(e) {
3878
- Xi.add(e);
3883
+ const Qi = {};
3884
+ function Vi(e) {
3885
+ Qi.add(e);
3879
3886
  }
3880
- function Vi({ color: e, size: t, name: n }) {
3887
+ function eo({ color: e, size: t, name: n }) {
3881
3888
  return /* @__PURE__ */ r.jsx("svg", { width: t, height: t, color: e, children: /* @__PURE__ */ r.jsx("use", { href: `#${n}` }) });
3882
3889
  }
3883
- const bl = { Logo: Gi, Sprite: Qi, Symbol: Vi };
3884
- function eo() {
3890
+ const Cl = { Logo: Xi, Sprite: Vi, Symbol: eo };
3891
+ function to() {
3885
3892
  return /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
3886
3893
  /* @__PURE__ */ r.jsx(
3887
3894
  "path",
@@ -3916,7 +3923,7 @@ function eo() {
3916
3923
  )
3917
3924
  ] });
3918
3925
  }
3919
- function to() {
3926
+ function no() {
3920
3927
  return /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
3921
3928
  /* @__PURE__ */ r.jsx(
3922
3929
  "path",
@@ -3945,7 +3952,7 @@ function to() {
3945
3952
  )
3946
3953
  ] });
3947
3954
  }
3948
- function no() {
3955
+ function ro() {
3949
3956
  return /* @__PURE__ */ r.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ r.jsx(
3950
3957
  "path",
3951
3958
  {
@@ -3958,11 +3965,11 @@ function no() {
3958
3965
  }
3959
3966
  ) });
3960
3967
  }
3961
- const ro = "_n_euuvm_1", so = {
3962
- n: ro
3968
+ const so = "_n_euuvm_1", ao = {
3969
+ n: so
3963
3970
  };
3964
3971
  let Be = {}, Me = [];
3965
- const ao = (e, t) => {
3972
+ const io = (e, t) => {
3966
3973
  switch (t.type) {
3967
3974
  case "open":
3968
3975
  return {
@@ -4014,27 +4021,27 @@ const ao = (e, t) => {
4014
4021
  throw new Error();
4015
4022
  }
4016
4023
  };
4017
- function io(e) {
4018
- Be.fn({ action: "add", data: e });
4019
- }
4020
4024
  function oo(e) {
4021
4025
  Be.fn({ action: "add", data: e });
4022
4026
  }
4023
4027
  function lo(e) {
4024
- Be.fn({ action: "new", data: e });
4028
+ Be.fn({ action: "add", data: e });
4025
4029
  }
4026
4030
  function co(e) {
4031
+ Be.fn({ action: "new", data: e });
4032
+ }
4033
+ function uo(e) {
4027
4034
  Be.fn = e;
4028
4035
  }
4029
- function uo() {
4030
- const [e, t] = y.useReducer(ao, {
4036
+ function fo() {
4037
+ const [e, t] = y.useReducer(io, {
4031
4038
  open: !1,
4032
4039
  active: !1,
4033
4040
  news: [],
4034
4041
  take: {}
4035
4042
  });
4036
4043
  it.useListener("bell", async (s) => {
4037
- }), co(async (s) => {
4044
+ }), uo(async (s) => {
4038
4045
  switch (s.action) {
4039
4046
  case "add":
4040
4047
  Me.push(s.data);
@@ -4098,11 +4105,11 @@ function uo() {
4098
4105
  /* @__PURE__ */ r.jsx(
4099
4106
  "div",
4100
4107
  {
4101
- className: so.n,
4108
+ className: ao.n,
4102
4109
  onClick: () => {
4103
4110
  t({ type: "open", open: !0 });
4104
4111
  },
4105
- children: e.active ? /* @__PURE__ */ r.jsx(to, {}) : /* @__PURE__ */ r.jsx(eo, {})
4112
+ children: e.active ? /* @__PURE__ */ r.jsx(no, {}) : /* @__PURE__ */ r.jsx(to, {})
4106
4113
  }
4107
4114
  ),
4108
4115
  e.open ? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
@@ -4117,7 +4124,7 @@ function uo() {
4117
4124
  ),
4118
4125
  /* @__PURE__ */ r.jsxs("div", { className: "notify-m", children: [
4119
4126
  /* @__PURE__ */ r.jsx("div", { className: "notify-l", children: e.news.map((s, a) => /* @__PURE__ */ r.jsx(
4120
- fo,
4127
+ ho,
4121
4128
  {
4122
4129
  data: s,
4123
4130
  dispatch: t
@@ -4129,7 +4136,7 @@ function uo() {
4129
4136
  ] }) : ""
4130
4137
  ] });
4131
4138
  }
4132
- const fo = ({ data: e, dispatch: t }) => {
4139
+ const ho = ({ data: e, dispatch: t }) => {
4133
4140
  let n = async (s) => {
4134
4141
  t({ type: "hide", id: s.id }), await it.Send({
4135
4142
  type: "module",
@@ -4146,22 +4153,22 @@ const fo = ({ data: e, dispatch: t }) => {
4146
4153
  ] }),
4147
4154
  /* @__PURE__ */ r.jsx("div", { className: "--hide", "data-icon": "F038", onClick: () => n(e), children: " " })
4148
4155
  ] });
4149
- }, ho = '(function(){"use strict";let a=[],s=null;onconnect=function(l){var t=l.source;a.push(t);const n=e=>{s!==null&&s.readyState===1?s.send(JSON.stringify(e)):t.postMessage({type:"noSend"})};let r=e=>{if(s!==null&&s.readyState===1)return t.postMessage({type:"true"});e.lk.address==="localhost"?s=new WebSocket(`ws://localhost:${e.lk.socket+1}`):s=new WebSocket("wss://"+e.lk.address+":"+(e.lk.socket+1)),s.onerror=()=>t.postMessage({type:"error"}),s.onopen=()=>{n({type:"connect",ukey:e.ukey})},s.onmessage=o=>{let c=JSON.parse(o.data);a.forEach(d=>{d.postMessage(c)})},s.onclose=()=>t.postMessage({type:"closed"})};t.onmessage=function(e){switch(e.data.type){case"length":return t.postMessage(a.length);case"all":return a.forEach(o=>o.postMessage({all:a.length}));case"send":return n(e.data.json);case"connect":return r(e.data);default:t.postMessage({type:"default",data:e.data.json})}}}})();\n';
4150
- function mo(e) {
4156
+ }, mo = '(function(){"use strict";let a=[],s=null;onconnect=function(l){var t=l.source;a.push(t);const n=e=>{s!==null&&s.readyState===1?s.send(JSON.stringify(e)):t.postMessage({type:"noSend"})};let r=e=>{if(s!==null&&s.readyState===1)return t.postMessage({type:"true"});e.lk.address==="localhost"?s=new WebSocket(`ws://localhost:${e.lk.socket+1}`):s=new WebSocket("wss://"+e.lk.address+":"+(e.lk.socket+1)),s.onerror=()=>t.postMessage({type:"error"}),s.onopen=()=>{n({type:"connect",ukey:e.ukey})},s.onmessage=o=>{let c=JSON.parse(o.data);a.forEach(d=>{d.postMessage(c)})},s.onclose=()=>t.postMessage({type:"closed"})};t.onmessage=function(e){switch(e.data.type){case"length":return t.postMessage(a.length);case"all":return a.forEach(o=>o.postMessage({all:a.length}));case"send":return n(e.data.json);case"connect":return r(e.data);default:t.postMessage({type:"default",data:e.data.json})}}}})();\n';
4157
+ function go(e) {
4151
4158
  return new SharedWorker(
4152
- "data:text/javascript;charset=utf-8," + encodeURIComponent(ho),
4159
+ "data:text/javascript;charset=utf-8," + encodeURIComponent(mo),
4153
4160
  {
4154
4161
  name: e == null ? void 0 : e.name
4155
4162
  }
4156
4163
  );
4157
4164
  }
4158
- function go(e) {
4165
+ function po(e) {
4159
4166
  let t = {}, n = {};
4160
4167
  e.data.forEach((a) => {
4161
4168
  t[a.id] = { s: a.v, n: a.a }, n[a.id] = a;
4162
4169
  });
4163
4170
  let s = { ...ae(), 901: t };
4164
- ln(n), Te(s);
4171
+ ln(n), Re(s);
4165
4172
  }
4166
4173
  let V = {}, z = {}, Le = [
4167
4174
  "filter",
@@ -4173,10 +4180,10 @@ let V = {}, z = {}, Le = [
4173
4180
  "info",
4174
4181
  "job"
4175
4182
  ];
4176
- function po() {
4183
+ function xo() {
4177
4184
  const [e, t] = y.useState(!1), [n, s] = y.useState(!1);
4178
4185
  function a(i) {
4179
- const l = new mo();
4186
+ const l = new go();
4180
4187
  V.laodData = (c) => {
4181
4188
  let d = Le.indexOf(c);
4182
4189
  d >= 0 && Le.splice(d, 1), Le.length === 0 && t(!0);
@@ -4200,8 +4207,8 @@ function po() {
4200
4207
  z.module = (e) => {
4201
4208
  V[e.listen] !== void 0 && (V[e.listen](e), delete V[e.listen]);
4202
4209
  };
4203
- z.bell = lo;
4204
- z.company = go;
4210
+ z.bell = co;
4211
+ z.company = po;
4205
4212
  z.info = (e) => {
4206
4213
  let t = {};
4207
4214
  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"), cn(t), an(e.data.menu);
@@ -4244,7 +4251,7 @@ z.users = (e) => {
4244
4251
  };
4245
4252
  });
4246
4253
  let n = { ...ae(), user: t };
4247
- Te(n);
4254
+ Re(n);
4248
4255
  };
4249
4256
  z.api = (e) => {
4250
4257
  let t = {};
@@ -4259,25 +4266,25 @@ z.select = (e) => {
4259
4266
  let t = { ...ae() };
4260
4267
  e.data.forEach((n) => {
4261
4268
  t[n.n] = JSON.parse(n.s);
4262
- }), Te(t);
4269
+ }), Re(t);
4263
4270
  };
4264
4271
  z.job = (e) => {
4265
4272
  let t = { ...ae() }, n = {};
4266
4273
  Object.keys(e.data).forEach((s) => {
4267
4274
  n[s] = { s: 1, n: e.data[s] };
4268
- }), t[1] = n, Te(t);
4275
+ }), t[1] = n, Re(t);
4269
4276
  };
4270
4277
  z.setting = (e) => {
4271
4278
  Or(e.data);
4272
4279
  };
4273
4280
  z.app = () => {
4274
4281
  };
4275
- const xo = (e, t) => {
4282
+ const vo = (e, t) => {
4276
4283
  V[e] = t;
4277
- }, vo = (e, t) => {
4284
+ }, jo = (e, t) => {
4278
4285
  V[e](t);
4279
4286
  };
4280
- function jo(e) {
4287
+ function bo(e) {
4281
4288
  let t = "_" + String(Math.random()).substring(2, 7);
4282
4289
  return new Promise((n) => {
4283
4290
  V[t] = (s) => {
@@ -4285,8 +4292,8 @@ function jo(e) {
4285
4292
  }, e = { ...e, listen: t }, e.type = "modules", V.send(e);
4286
4293
  });
4287
4294
  }
4288
- const it = { useConnect: po, useListener: xo, setListener: vo, Send: jo };
4289
- class bo {
4295
+ const it = { useConnect: xo, useListener: vo, setListener: jo, Send: bo };
4296
+ class Co {
4290
4297
  constructor(t = "el", n = "db") {
4291
4298
  Xe(this, "storeName");
4292
4299
  Xe(this, "_dbp");
@@ -4307,31 +4314,31 @@ class bo {
4307
4314
  }
4308
4315
  }
4309
4316
  let Ve, A = {};
4310
- const we = () => (Ve || (Ve = new bo()), Ve), fe = (e, t, n = we()) => n._withIDBStore("readwrite", (s) => {
4311
- A[e] = t, s.put($.enCode(t), e);
4317
+ const we = () => (Ve || (Ve = new Co()), Ve), fe = (e, t, n = we()) => n._withIDBStore("readwrite", (s) => {
4318
+ A[e] = t, s.put(T.enCode(t), e);
4312
4319
  }), ne = (e, t = we()) => A[e] === void 0 ? new Promise((n, s) => {
4313
4320
  let a;
4314
4321
  t._withIDBStore("readonly", (i) => {
4315
4322
  a = i.get(e);
4316
4323
  }).then(() => {
4317
4324
  if (a.result !== void 0) {
4318
- let i = $.deCode(a.result);
4325
+ let i = T.deCode(a.result);
4319
4326
  A[e] = i, n(i);
4320
4327
  } else
4321
4328
  n({});
4322
4329
  });
4323
- }) : A[e], Co = (e, t = we()) => t._withIDBStore("readwrite", (n) => {
4330
+ }) : A[e], yo = (e, t = we()) => t._withIDBStore("readwrite", (n) => {
4324
4331
  n.delete(e);
4325
4332
  }), ot = (e = we()) => e._withIDBStore("readwrite", (t) => {
4326
4333
  t.clear();
4327
- }), yo = (e = we()) => {
4334
+ }), _o = (e = we()) => {
4328
4335
  const t = [];
4329
4336
  return e._withIDBStore("readonly", (n) => {
4330
4337
  (n.openKeyCursor || n.openCursor).call(n).onsuccess = function() {
4331
4338
  this.result && (t.push(this.result.key), this.result.continue());
4332
4339
  };
4333
4340
  }).then(() => t);
4334
- }, _o = (e, t, n = [], s = {}) => {
4341
+ }, wo = (e, t, n = [], s = {}) => {
4335
4342
  let a = n.length !== 0, i = [], l = s.sort, c = Object.keys(s).length !== 0, d = Object.keys(s), u = Object.keys(e), f = [], g = (h) => {
4336
4343
  let j = "";
4337
4344
  if (n.forEach((C) => {
@@ -4353,7 +4360,7 @@ const we = () => (Ve || (Ve = new bo()), Ve), fe = (e, t, n = we()) => n._withID
4353
4360
  }), f.forEach((h) => {
4354
4361
  h === void 0 ? (ot(), location.reload()) : (a && g(h.id), c && x(h.id));
4355
4362
  }), { list: f, search: i, filter: s };
4356
- }, wo = (e, t, n, s = we()) => {
4363
+ }, ko = (e, t, n, s = we()) => {
4357
4364
  if (A[e] === void 0)
4358
4365
  return new Promise((a, i) => {
4359
4366
  let l;
@@ -4361,34 +4368,34 @@ const we = () => (Ve || (Ve = new bo()), Ve), fe = (e, t, n = we()) => n._withID
4361
4368
  l = c.get(e);
4362
4369
  }).then(() => {
4363
4370
  if (l.result !== void 0) {
4364
- let c = $.deCode(l.result);
4371
+ let c = T.deCode(l.result);
4365
4372
  A[e] = c, A[e][t.id] = {
4366
4373
  ...A[e][t.id],
4367
4374
  ...t.data
4368
- }, s.put($.enCode(A[e]), e), a({});
4375
+ }, s.put(T.enCode(A[e]), e), a({});
4369
4376
  } else
4370
4377
  a({});
4371
4378
  });
4372
4379
  });
4373
4380
  if (A[e][t.id] !== void 0)
4374
4381
  return A[e][t.id] = { ...A[e][t.id], ...t.data }, n !== void 0 && A[n] !== void 0 ? A[n][t.id] !== void 0 && (A[n][t.id] = t.data.eDate) : A[n] = [], delete A[e][t.id].$_item, delete A[e][t.id].$_send, s._withIDBStore("readwrite", (a) => {
4375
- a.put($.enCode(A[e]), e), n !== void 0 && a.put($.enCode(A[n]), n);
4382
+ a.put(T.enCode(A[e]), e), n !== void 0 && a.put(T.enCode(A[n]), n);
4376
4383
  });
4377
- }, ko = async (e, t, n, s) => {
4384
+ }, So = async (e, t, n, s) => {
4378
4385
  let a, i;
4379
4386
  i = await ne(n), i[e.id] = e, await fe(n, i), a !== null && (a = await ne(t), a[e.id] = e.eDate, await fe(t, a)), s !== void 0 && s({ type: "load", page: a, base: i });
4380
- }, So = async (e, t, n, s) => {
4387
+ }, Eo = async (e, t, n, s) => {
4381
4388
  let a = await ne(t), i = await ne(n);
4382
4389
  for (let l in e)
4383
4390
  i[l] = e[l], a[l] = e[l].eDate;
4384
4391
  await fe(t, a), await fe(n, i), s !== void 0 && s({ type: "load", page: a, base: i });
4385
- }, Eo = async (e, t, n, s) => {
4392
+ }, Do = async (e, t, n, s) => {
4386
4393
  let a = await ne(t), i = await ne(n);
4387
4394
  e.forEach((l) => delete a[l]), await fe(t, a), s !== void 0 && s({ type: "load", page: a, base: i });
4388
- }, Do = async (e, t, n) => {
4395
+ }, Mo = async (e, t, n) => {
4389
4396
  let s = await ne(t);
4390
4397
  e.forEach((a) => delete s[a]), await fe(t, s);
4391
- }, Mo = async (e, t, n) => {
4398
+ }, $o = async (e, t, n) => {
4392
4399
  let s = await ne(t);
4393
4400
  e.forEach((a) => s[a.id] = a.eDate), await fe(t, s);
4394
4401
  }, Ro = async (e, t, n) => {
@@ -4397,28 +4404,28 @@ const we = () => (Ve || (Ve = new bo()), Ve), fe = (e, t, n = we()) => n._withID
4397
4404
  n({ type: "load", base: s });
4398
4405
  else
4399
4406
  return s[e];
4400
- }, To = (e) => A[e], Cl = {
4407
+ }, To = (e) => A[e], yl = {
4401
4408
  id: Ro,
4402
4409
  get: ne,
4403
4410
  set: fe,
4404
- add: ko,
4405
- del: Co,
4406
- upd: wo,
4407
- key: yo,
4411
+ add: So,
4412
+ del: yo,
4413
+ upd: ko,
4414
+ key: _o,
4408
4415
  load: To,
4409
- split: _o,
4416
+ split: wo,
4410
4417
  clear: ot,
4411
- updAll: So,
4412
- delAll: Eo,
4413
- delList: Do,
4414
- addList: Mo
4415
- }, yl = { setSetting: Lr, getSetting: Ar }, $o = "_s_18bde_1", Bo = {
4416
- s: $o
4418
+ updAll: Eo,
4419
+ delAll: Do,
4420
+ delList: Mo,
4421
+ addList: $o
4422
+ }, _l = { setSetting: Lr, getSetting: Ar }, Bo = "_s_18bde_1", Io = {
4423
+ s: Bo
4417
4424
  };
4418
- function Io({ children: e }) {
4425
+ function No({ children: e }) {
4419
4426
  return /* @__PURE__ */ r.jsx("ul", { className: Y.ul, children: e });
4420
4427
  }
4421
- function No(e, t) {
4428
+ function Fo(e, t) {
4422
4429
  switch (t.type) {
4423
4430
  case "load":
4424
4431
  return {
@@ -4451,13 +4458,13 @@ function No(e, t) {
4451
4458
  throw new Error();
4452
4459
  }
4453
4460
  }
4454
- function _l({
4461
+ function wl({
4455
4462
  list: e,
4456
4463
  load: t,
4457
4464
  className: n,
4458
4465
  ...s
4459
4466
  }) {
4460
- const a = y.useRef(null), [i, l] = y.useReducer(No, {
4467
+ const a = y.useRef(null), [i, l] = y.useReducer(Fo, {
4461
4468
  load: !1,
4462
4469
  list: [],
4463
4470
  data: {},
@@ -4474,10 +4481,10 @@ function _l({
4474
4481
  return /* @__PURE__ */ r.jsx(
4475
4482
  "div",
4476
4483
  {
4477
- className: [Bo.s, n].join(" "),
4484
+ className: [Io.s, n].join(" "),
4478
4485
  ref: a,
4479
4486
  onScroll: c,
4480
- children: /* @__PURE__ */ r.jsx(Io, { "el-empty": "Данные не найдены", children: i.load && i.list !== void 0 ? i.list.map((d) => /* @__PURE__ */ r.jsx(s.item, { data: d }, d.id)) : /* @__PURE__ */ r.jsxs("div", { "data-load": "load", children: [
4487
+ children: /* @__PURE__ */ r.jsx(No, { "el-empty": "Данные не найдены", children: i.load && i.list !== void 0 ? i.list.map((d) => /* @__PURE__ */ r.jsx(s.item, { data: d }, d.id)) : /* @__PURE__ */ r.jsxs("div", { "data-load": "load", children: [
4481
4488
  /* @__PURE__ */ r.jsx("i", {}),
4482
4489
  /* @__PURE__ */ r.jsx("i", {}),
4483
4490
  /* @__PURE__ */ r.jsx("i", {})
@@ -4485,7 +4492,7 @@ function _l({
4485
4492
  }
4486
4493
  );
4487
4494
  }
4488
- const Fo = ({ label: e, onValue: t, value: n, name: s, item: a }) => {
4495
+ const Po = ({ label: e, onValue: t, value: n, name: s, item: a }) => {
4489
4496
  const [i, l] = y.useState(!!n);
4490
4497
  y.useEffect(() => {
4491
4498
  l(!!n);
@@ -4503,7 +4510,7 @@ const Fo = ({ label: e, onValue: t, value: n, name: s, item: a }) => {
4503
4510
  }
4504
4511
  );
4505
4512
  }, ve = {};
4506
- function Po(e) {
4513
+ function Oo(e) {
4507
4514
  const [t, n] = y.useState({}), s = y.useRef(e);
4508
4515
  ve.u = (i) => {
4509
4516
  s.current = { ...s.current, [i.name]: i.value };
@@ -4515,13 +4522,13 @@ function Po(e) {
4515
4522
  };
4516
4523
  return [s.current, a];
4517
4524
  }
4518
- function Oo(e) {
4525
+ function Lo(e) {
4519
4526
  ve.u(e), e.reload && ve.r();
4520
4527
  }
4521
- function Lo() {
4528
+ function Ao() {
4522
4529
  ve.r && ve.r();
4523
4530
  }
4524
- const wl = {
4531
+ const kl = {
4525
4532
  Color: Cn,
4526
4533
  Date: ft,
4527
4534
  Code: bn,
@@ -4546,18 +4553,18 @@ const wl = {
4546
4553
  Users: jt,
4547
4554
  String: vt,
4548
4555
  Form: at,
4549
- runReload: Lo,
4550
- useData: Po,
4551
- setValue: Oo,
4552
- Palette: Fo,
4553
- Toogle: Rn,
4554
- Group: Tn,
4555
- Options: $n
4556
- }, Ao = "_spinner_1ul0m_1", Wo = "_l_1ul0m_75", Nn = {
4557
- spinner: Ao,
4558
- l: Wo
4556
+ runReload: Ao,
4557
+ useData: Oo,
4558
+ setValue: Lo,
4559
+ Palette: Po,
4560
+ Toogle: $n,
4561
+ Group: Rn,
4562
+ Options: Tn
4563
+ }, Wo = "_spinner_1ul0m_1", Uo = "_l_1ul0m_75", Nn = {
4564
+ spinner: Wo,
4565
+ l: Uo
4559
4566
  };
4560
- function Uo() {
4567
+ function zo() {
4561
4568
  return /* @__PURE__ */ r.jsx("div", { className: Nn.spinner, children: /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ r.jsx(
4562
4569
  "path",
4563
4570
  {
@@ -4566,18 +4573,18 @@ function Uo() {
4566
4573
  }
4567
4574
  ) }) });
4568
4575
  }
4569
- function zo() {
4576
+ function qo() {
4570
4577
  return /* @__PURE__ */ r.jsxs("div", { className: Nn.l, children: [
4571
4578
  /* @__PURE__ */ r.jsx("i", {}),
4572
4579
  /* @__PURE__ */ r.jsx("i", {}),
4573
4580
  /* @__PURE__ */ r.jsx("i", {})
4574
4581
  ] });
4575
4582
  }
4576
- const kl = { Spinner: Uo, Inline: zo }, qo = "_s_t9swc_1", en = {
4577
- s: qo
4583
+ const Sl = { Spinner: zo, Inline: qo }, Ho = "_s_t9swc_1", en = {
4584
+ s: Ho
4578
4585
  };
4579
4586
  let bt;
4580
- function Ho({ className: e, placeholder: t }) {
4587
+ function Ko({ className: e, placeholder: t }) {
4581
4588
  let n = (l) => {
4582
4589
  bt(l.target.textContent);
4583
4590
  }, s = (l) => {
@@ -4601,7 +4608,7 @@ function Ho({ className: e, placeholder: t }) {
4601
4608
  }
4602
4609
  );
4603
4610
  }
4604
- function Ko(e, t, n) {
4611
+ function Yo(e, t, n) {
4605
4612
  let s = [], a = 1, i = 0, l = {}, c = 50;
4606
4613
  return l[a] = [], e.forEach((d) => {
4607
4614
  d.text.toLowerCase().indexOf(t) > -1 && s.push(d.id);
@@ -4609,17 +4616,17 @@ function Ko(e, t, n) {
4609
4616
  i++, i <= c || (a++, i = 1, l[a] = []), l[a].push(n[d]);
4610
4617
  }), l;
4611
4618
  }
4612
- function Yo(e) {
4619
+ function Zo(e) {
4613
4620
  bt = e;
4614
4621
  }
4615
- function Zo(e) {
4622
+ function Jo(e) {
4616
4623
  bt = e;
4617
4624
  }
4618
- const Sl = { Field: Ho, Run: Ko, Get: Yo, useValue: Zo }, Jo = "_f_q3r0i_1", Go = {
4619
- f: Jo
4625
+ const El = { Field: Ko, Run: Yo, Get: Zo, useValue: Jo }, Go = "_f_q3r0i_1", Xo = {
4626
+ f: Go
4620
4627
  };
4621
4628
  let X = {};
4622
- function Xo(e, t) {
4629
+ function Qo(e, t) {
4623
4630
  switch (t.type) {
4624
4631
  case "open":
4625
4632
  return {
@@ -4669,8 +4676,8 @@ function Xo(e, t) {
4669
4676
  throw new Error();
4670
4677
  }
4671
4678
  }
4672
- function Qo() {
4673
- const [e, t] = y.useReducer(Xo, {
4679
+ function Vo() {
4680
+ const [e, t] = y.useReducer(Qo, {
4674
4681
  open: !1,
4675
4682
  view: null,
4676
4683
  data: {},
@@ -4688,12 +4695,12 @@ function Qo() {
4688
4695
  /* @__PURE__ */ r.jsxs(
4689
4696
  "div",
4690
4697
  {
4691
- className: Go.f,
4698
+ className: Xo.f,
4692
4699
  onClick: () => {
4693
4700
  t({ type: "open", open: !0 });
4694
4701
  },
4695
4702
  children: [
4696
- /* @__PURE__ */ r.jsx(no, {}),
4703
+ /* @__PURE__ */ r.jsx(ro, {}),
4697
4704
  e.active && /* @__PURE__ */ r.jsxs("i", { children: [
4698
4705
  e.size,
4699
4706
  "1"
@@ -4713,7 +4720,7 @@ function Qo() {
4713
4720
  ),
4714
4721
  /* @__PURE__ */ r.jsxs("div", { className: "filter m", children: [
4715
4722
  /* @__PURE__ */ r.jsx("div", { className: "filter l", children: Object.keys(e.data).map((n) => /* @__PURE__ */ r.jsx(
4716
- rl,
4723
+ sl,
4717
4724
  {
4718
4725
  data: n,
4719
4726
  dispatch: t,
@@ -4735,16 +4742,16 @@ function Qo() {
4735
4742
  ] }) : /* @__PURE__ */ r.jsx(r.Fragment, {})
4736
4743
  ] });
4737
4744
  }
4738
- function Vo(e) {
4745
+ function el(e) {
4739
4746
  X.get = e;
4740
4747
  }
4741
- function el(e) {
4748
+ function tl(e) {
4742
4749
  X.set !== void 0 && X.set(e);
4743
4750
  }
4744
- function tl(e) {
4751
+ function nl(e) {
4745
4752
  X.reset !== void 0 && X.reset(e);
4746
4753
  }
4747
- function nl(e, t, n, s) {
4754
+ function rl(e, t, n, s) {
4748
4755
  let a = [], i = 1, l = 0, c = {}, d = 50;
4749
4756
  return c[i] = [], s === !0 && (Object.keys(t).forEach((u) => {
4750
4757
  Number.parseInt(t[u]) !== 999 && (e = e.filter(
@@ -4759,7 +4766,7 @@ function nl(e, t, n, s) {
4759
4766
  function Fn(e) {
4760
4767
  X.count(e);
4761
4768
  }
4762
- function rl({ data: e, state: t, dispatch: n }) {
4769
+ function sl({ data: e, state: t, dispatch: n }) {
4763
4770
  let s = () => {
4764
4771
  n({ type: "view", view: e });
4765
4772
  }, a = () => {
@@ -4782,7 +4789,7 @@ function rl({ data: e, state: t, dispatch: n }) {
4782
4789
  ) : ""
4783
4790
  ] }),
4784
4791
  /* @__PURE__ */ r.jsx("div", { className: "filter u", "set-active": (t.view === e) + "", children: Object.keys(t.data[e].list).map((i, l) => /* @__PURE__ */ r.jsx(
4785
- sl,
4792
+ al,
4786
4793
  {
4787
4794
  data: t.data[e].list[i],
4788
4795
  head: e,
@@ -4794,7 +4801,7 @@ function rl({ data: e, state: t, dispatch: n }) {
4794
4801
  )) })
4795
4802
  ] });
4796
4803
  }
4797
- function sl({ data: e, head: t, state: n, dispatch: s, type: a }) {
4804
+ function al({ data: e, head: t, state: n, dispatch: s, type: a }) {
4798
4805
  if (a !== "999" && e.count === void 0) return "";
4799
4806
  const i = () => {
4800
4807
  s({ type: "take", list: t, take: a });
@@ -4812,8 +4819,8 @@ function sl({ data: e, head: t, state: n, dispatch: s, type: a }) {
4812
4819
  }
4813
4820
  );
4814
4821
  }
4815
- const El = { Button: Qo, useValue: Vo, Set: el, Run: nl, Count: Fn, Reset: tl }, Dl = { Bell: uo, Send: oo, Add: io };
4816
- function Ml({ active: e, onActive: t, id: n, name: s }) {
4822
+ const Dl = { Button: Vo, useValue: el, Set: tl, Run: rl, Count: Fn, Reset: nl }, Ml = { Bell: fo, Send: lo, Add: oo };
4823
+ function $l({ active: e, onActive: t, id: n, name: s }) {
4817
4824
  const [a, i] = y.useState(!!e);
4818
4825
  y.useEffect(() => {
4819
4826
  i(!!e);
@@ -4831,11 +4838,11 @@ function Ml({ active: e, onActive: t, id: n, name: s }) {
4831
4838
  }
4832
4839
  );
4833
4840
  }
4834
- const al = "_sort_1yrvt_1", il = {
4835
- sort: al
4841
+ const il = "_sort_1yrvt_1", ol = {
4842
+ sort: il
4836
4843
  };
4837
4844
  let Ue = {};
4838
- function ol(e, t) {
4845
+ function ll(e, t) {
4839
4846
  switch (t.type) {
4840
4847
  case "active":
4841
4848
  let n = "<";
@@ -4848,12 +4855,12 @@ function ol(e, t) {
4848
4855
  throw new Error();
4849
4856
  }
4850
4857
  }
4851
- function ll() {
4858
+ function cl() {
4852
4859
  const [e, t] = y.useReducer(
4853
- ol,
4860
+ ll,
4854
4861
  tt() === void 0 ? { active: 1, sort: "<" } : tt()
4855
4862
  );
4856
- return /* @__PURE__ */ r.jsxs("div", { className: il.sort, children: [
4863
+ return /* @__PURE__ */ r.jsxs("div", { className: ol.sort, children: [
4857
4864
  /* @__PURE__ */ r.jsx(
4858
4865
  "i",
4859
4866
  {
@@ -4880,13 +4887,13 @@ function ll() {
4880
4887
  )
4881
4888
  ] });
4882
4889
  }
4883
- function cl(e) {
4890
+ function ul(e) {
4884
4891
  Ue.get = e;
4885
4892
  }
4886
- function ul(e) {
4893
+ function dl(e) {
4887
4894
  Ue.set(e);
4888
4895
  }
4889
- function dl(e, t, n) {
4896
+ function fl(e, t, n) {
4890
4897
  let s = 1, a = 0, i = {}, l = 50;
4891
4898
  i[s] = [];
4892
4899
  let c = {}, d = "s1a";
@@ -4905,38 +4912,38 @@ function dl(e, t, n) {
4905
4912
  a++, a <= l || (s++, a = 1, i[s] = []), i[s].push(e[u.id]);
4906
4913
  }), { data: i };
4907
4914
  }
4908
- function fl(e) {
4915
+ function hl(e) {
4909
4916
  Ue.count(e);
4910
4917
  }
4911
- const Rl = { Init: ll, useValue: cl, Set: ul, Run: dl, Count: fl };
4918
+ const Rl = { Init: cl, useValue: ul, Set: dl, Run: fl, Count: hl };
4912
4919
  export {
4913
- wi as Action,
4914
- jl as Alert,
4915
- gl as Api,
4916
- Is as Button,
4917
- vl as Component,
4918
- Cl as DataBase,
4920
+ ki as Action,
4921
+ bl as Alert,
4922
+ pl as Api,
4923
+ Ns as Button,
4924
+ jl as Component,
4925
+ yl as DataBase,
4919
4926
  dt as Events,
4920
- El as Filter,
4921
- wl as Form,
4927
+ Dl as Filter,
4928
+ kl as Form,
4922
4929
  ie as Format,
4923
- bl as Icon,
4924
- pl as Init,
4925
- oi as Input,
4926
- kl as Loading,
4930
+ Cl as Icon,
4931
+ xl as Init,
4932
+ li as Input,
4933
+ Sl as Loading,
4927
4934
  yn as Modal,
4928
4935
  st as Notice,
4929
- Dl as Notifications,
4936
+ Ml as Notifications,
4930
4937
  ce as Router,
4931
- _l as Scrolling,
4932
- Sl as Search,
4933
- xl as Setting,
4938
+ wl as Scrolling,
4939
+ El as Search,
4940
+ vl as Setting,
4934
4941
  ut as Sistym,
4935
4942
  it as Socket,
4936
4943
  oe as Store,
4937
- Ml as Switch,
4938
- gi as Tabs,
4944
+ $l as Switch,
4945
+ pi as Tabs,
4939
4946
  D as Telegram,
4940
4947
  Rl as Triage,
4941
- yl as User
4948
+ _l as User
4942
4949
  };