elcrm 0.9.26 → 0.9.27

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
@@ -6,9 +6,9 @@ let Tt = {
6
6
  enCode: (e) => e,
7
7
  deCode: (e) => e
8
8
  };
9
- const kn = (e) => {
9
+ const jn = (e) => {
10
10
  Tt = e;
11
- }, Ga = (e) => Tt.enCode(e), Za = (e) => Tt.deCode(e), B = { enCode: Ga, deCode: Za, New: kn }, D = {}, J = {}, De = {}, yn = {}, fe = {};
11
+ }, Ga = (e) => Tt.enCode(e), Za = (e) => Tt.deCode(e), B = { enCode: Ga, deCode: Za, New: jn }, D = {}, J = {}, De = {}, kn = {}, fe = {};
12
12
  let nt = "M06";
13
13
  function Ua(e) {
14
14
  nt = e;
@@ -69,7 +69,7 @@ function Ct() {
69
69
  return ie(), !1;
70
70
  }
71
71
  function Qa() {
72
- const [e, t] = m.useState(Mt()), n = (r) => {
72
+ const [e, t] = m.useState(yn()), n = (r) => {
73
73
  t(r);
74
74
  };
75
75
  return J.page = n, [e];
@@ -77,7 +77,7 @@ function Qa() {
77
77
  function er(e, t = !0) {
78
78
  D.page = e, sessionStorage.setItem("f", B.enCode(D)), t && J.page(e);
79
79
  }
80
- function Mt() {
80
+ function yn() {
81
81
  return D.page;
82
82
  }
83
83
  function tr(e) {
@@ -103,7 +103,7 @@ function rr(e) {
103
103
  }
104
104
  function wn(e) {
105
105
  if (typeof e != "function") {
106
- const [t, n] = m.useState(e || Ge());
106
+ const [t, n] = m.useState(e || Ne());
107
107
  return J.tabs = n, [t];
108
108
  } else
109
109
  J.tabs = e;
@@ -115,7 +115,7 @@ function Sn(e, t = !0) {
115
115
  else
116
116
  throw new Error("useTabs not found");
117
117
  }
118
- function Ge() {
118
+ function Ne() {
119
119
  return D.tab;
120
120
  }
121
121
  function sr(e) {
@@ -177,11 +177,11 @@ function hr(e) {
177
177
  }
178
178
  function Dn(e) {
179
179
  let t = localStorage.getItem("b");
180
- t = t === null ? {} : B.deCode(t), t[Ge()] = e, localStorage.setItem("b", B.enCode(t));
180
+ t = t === null ? {} : B.deCode(t), t[Ne()] = e, localStorage.setItem("b", B.enCode(t));
181
181
  }
182
182
  function jt() {
183
183
  let e = localStorage.getItem("b");
184
- return e === null ? {} : (e = B.deCode(e), e = e[Ge()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
184
+ return e === null ? {} : (e = B.deCode(e), e = e[Ne()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
185
185
  }
186
186
  function Nn(e) {
187
187
  localStorage.setItem("c", B.enCode(e));
@@ -209,10 +209,10 @@ function ge(e, t) {
209
209
  return e === void 0 && t === void 0 ? fe.data : e !== void 0 && t === void 0 ? fe.data[e] : fe.data[e][t];
210
210
  }
211
211
  function pr(e) {
212
- yn.data = e;
212
+ kn.data = e;
213
213
  }
214
214
  function xr(e) {
215
- return yn.data[e];
215
+ return kn.data[e];
216
216
  }
217
217
  function vr(e) {
218
218
  D.payment = e;
@@ -231,7 +231,7 @@ function jr() {
231
231
  } else
232
232
  return ie(), !1;
233
233
  }
234
- function ln(e) {
234
+ function on(e) {
235
235
  localStorage.setItem("e", B.enCode(e));
236
236
  }
237
237
  function kr() {
@@ -301,11 +301,11 @@ const se = {
301
301
  setBase: wr,
302
302
  editBase: Sr,
303
303
  loadBase: yr
304
- }, Mn = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=", Er = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), cn = typeof self < "u" && self.Blob && new Blob([Er(Mn)], { type: "text/javascript;charset=utf-8" });
304
+ }, Mn = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=", Er = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), ln = typeof self < "u" && self.Blob && new Blob([Er(Mn)], { type: "text/javascript;charset=utf-8" });
305
305
  function Ln(e) {
306
306
  let t;
307
307
  try {
308
- if (t = cn && (self.URL || self.webkitURL).createObjectURL(cn), !t) throw "";
308
+ if (t = ln && (self.URL || self.webkitURL).createObjectURL(ln), !t) throw "";
309
309
  const n = new Worker(t, {
310
310
  name: e == null ? void 0 : e.name
311
311
  });
@@ -343,7 +343,7 @@ function rt(e) {
343
343
  return _e.i(e);
344
344
  }
345
345
  function Mr(e) {
346
- kn(e);
346
+ jn(e);
347
347
  }
348
348
  const st = {
349
349
  version: { Api: Dr, Server: Rr, Client: Nr },
@@ -360,7 +360,7 @@ function Br() {
360
360
  files: n
361
361
  };
362
362
  }
363
- let Lt = `${Lr}.${Fr}.${$r}`;
363
+ let Mt = `${Lr}.${Fr}.${$r}`;
364
364
  function Pr(e) {
365
365
  return "https://" + se.getPORT().address + "/audio/" + e;
366
366
  }
@@ -376,13 +376,13 @@ function Ue(e, t = {}, n = se.getAUTH()) {
376
376
  link: e,
377
377
  data: t,
378
378
  ssid: n,
379
- host: st.Host() || `https://${Lt}/`
379
+ host: st.Host() || `https://${Mt}/`
380
380
  });
381
381
  });
382
382
  }
383
383
  async function Ar(e, t = {}, n = se.getAUTH()) {
384
384
  try {
385
- return await (await Ue(st.Host() || `https://${Lt}/` + e, {
385
+ return await (await Ue(st.Host() || `https://${Mt}/` + e, {
386
386
  method: "POST",
387
387
  headers: {
388
388
  ssid: n
@@ -402,7 +402,7 @@ function zr(e, t = {}, n = se.getAUTH()) {
402
402
  link: e,
403
403
  data: t,
404
404
  ssid: n,
405
- host: st.Host() + "modules/" || `https://${Lt}/modules`
405
+ host: st.Host() + "modules/" || `https://${Mt}/modules`
406
406
  });
407
407
  });
408
408
  }
@@ -449,7 +449,7 @@ async function Wr(e, t = {}) {
449
449
  setTimeout(() => n(t), e);
450
450
  });
451
451
  }
452
- const dn = {
452
+ const cn = {
453
453
  audio: Pr,
454
454
  image: Or,
455
455
  fetch: Ue,
@@ -462,7 +462,7 @@ const dn = {
462
462
  token: Kr,
463
463
  formData: Ar
464
464
  };
465
- var kt = { exports: {} }, Fe = {};
465
+ var kt = { exports: {} }, $e = {};
466
466
  /**
467
467
  * @license React
468
468
  * react-jsx-runtime.production.min.js
@@ -472,10 +472,10 @@ var kt = { exports: {} }, Fe = {};
472
472
  * This source code is licensed under the MIT license found in the
473
473
  * LICENSE file in the root directory of this source tree.
474
474
  */
475
- var _n;
475
+ var dn;
476
476
  function Yr() {
477
- if (_n) return Fe;
478
- _n = 1;
477
+ if (dn) return $e;
478
+ dn = 1;
479
479
  var e = m, t = Symbol.for("react.element"), n = 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 };
480
480
  function o(l, c, _) {
481
481
  var u, g = {}, f = null, p = null;
@@ -484,9 +484,9 @@ function Yr() {
484
484
  if (l && l.defaultProps) for (u in c = l.defaultProps, c) g[u] === void 0 && (g[u] = c[u]);
485
485
  return { $$typeof: t, type: l, key: f, ref: p, props: g, _owner: s.current };
486
486
  }
487
- return Fe.Fragment = n, Fe.jsx = o, Fe.jsxs = o, Fe;
487
+ return $e.Fragment = n, $e.jsx = o, $e.jsxs = o, $e;
488
488
  }
489
- var $e = {};
489
+ var Be = {};
490
490
  /**
491
491
  * @license React
492
492
  * react-jsx-runtime.development.js
@@ -496,9 +496,9 @@ var $e = {};
496
496
  * This source code is licensed under the MIT license found in the
497
497
  * LICENSE file in the root directory of this source tree.
498
498
  */
499
- var un;
499
+ var _n;
500
500
  function Hr() {
501
- return un || (un = 1, process.env.NODE_ENV !== "production" && function() {
501
+ return _n || (_n = 1, process.env.NODE_ENV !== "production" && function() {
502
502
  var e = m, t = Symbol.for("react.element"), n = 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"), c = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), j = Symbol.iterator, h = "@@iterator";
503
503
  function x(d) {
504
504
  if (d === null || typeof d != "object")
@@ -588,18 +588,18 @@ function Hr() {
588
588
  }
589
589
  return null;
590
590
  }
591
- var F = Object.assign, W = 0, te, re, he, Se, Te, Ye, Kt;
592
- function Wt() {
591
+ var F = Object.assign, W = 0, te, re, he, Se, Me, Ye, Ut;
592
+ function Kt() {
593
593
  }
594
- Wt.__reactDisabledLog = !0;
594
+ Kt.__reactDisabledLog = !0;
595
595
  function da() {
596
596
  {
597
597
  if (W === 0) {
598
- te = console.log, re = console.info, he = console.warn, Se = console.error, Te = console.group, Ye = console.groupCollapsed, Kt = console.groupEnd;
598
+ te = console.log, re = console.info, he = console.warn, Se = console.error, Me = console.group, Ye = console.groupCollapsed, Ut = console.groupEnd;
599
599
  var d = {
600
600
  configurable: !0,
601
601
  enumerable: !0,
602
- value: Wt,
602
+ value: Kt,
603
603
  writable: !0
604
604
  };
605
605
  Object.defineProperties(console, {
@@ -637,13 +637,13 @@ function Hr() {
637
637
  value: Se
638
638
  }),
639
639
  group: F({}, d, {
640
- value: Te
640
+ value: Me
641
641
  }),
642
642
  groupCollapsed: F({}, d, {
643
643
  value: Ye
644
644
  }),
645
645
  groupEnd: F({}, d, {
646
- value: Kt
646
+ value: Ut
647
647
  })
648
648
  });
649
649
  }
@@ -669,7 +669,7 @@ function Hr() {
669
669
  var ua = typeof WeakMap == "function" ? WeakMap : Map;
670
670
  qe = new ua();
671
671
  }
672
- function Yt(d, v) {
672
+ function Wt(d, v) {
673
673
  if (!d || dt)
674
674
  return "";
675
675
  {
@@ -741,7 +741,7 @@ function Hr() {
741
741
  return typeof d == "function" && qe.set(d, ke), ke;
742
742
  }
743
743
  function fa(d, v, w) {
744
- return Yt(d, !1);
744
+ return Wt(d, !1);
745
745
  }
746
746
  function ma(d) {
747
747
  var v = d.prototype;
@@ -751,7 +751,7 @@ function Hr() {
751
751
  if (d == null)
752
752
  return "";
753
753
  if (typeof d == "function")
754
- return Yt(d, ma(d));
754
+ return Wt(d, ma(d));
755
755
  if (typeof d == "string")
756
756
  return He(d);
757
757
  switch (d) {
@@ -776,17 +776,17 @@ function Hr() {
776
776
  }
777
777
  return "";
778
778
  }
779
- var Me = Object.prototype.hasOwnProperty, Ht = {}, qt = C.ReactDebugCurrentFrame;
779
+ var Le = Object.prototype.hasOwnProperty, Yt = {}, Ht = C.ReactDebugCurrentFrame;
780
780
  function Je(d) {
781
781
  if (d) {
782
782
  var v = d._owner, w = Ve(d.type, d._source, v ? v.type : null);
783
- qt.setExtraStackFrame(w);
783
+ Ht.setExtraStackFrame(w);
784
784
  } else
785
- qt.setExtraStackFrame(null);
785
+ Ht.setExtraStackFrame(null);
786
786
  }
787
787
  function ha(d, v, w, L, z) {
788
788
  {
789
- var G = Function.call.bind(Me);
789
+ var G = Function.call.bind(Le);
790
790
  for (var P in d)
791
791
  if (G(d, P)) {
792
792
  var $ = void 0;
@@ -799,7 +799,7 @@ function Hr() {
799
799
  } catch (H) {
800
800
  $ = H;
801
801
  }
802
- $ && !($ instanceof Error) && (Je(z), 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).", L || "React class", w, P, typeof $), Je(null)), $ instanceof Error && !($.message in Ht) && (Ht[$.message] = !0, Je(z), b("Failed %s type: %s", w, $.message), Je(null));
802
+ $ && !($ instanceof Error) && (Je(z), 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).", L || "React class", w, P, typeof $), Je(null)), $ instanceof Error && !($.message in Yt) && (Yt[$.message] = !0, Je(z), b("Failed %s type: %s", w, $.message), Je(null));
803
803
  }
804
804
  }
805
805
  }
@@ -815,27 +815,27 @@ function Hr() {
815
815
  }
816
816
  function xa(d) {
817
817
  try {
818
- return Vt(d), !1;
818
+ return qt(d), !1;
819
819
  } catch {
820
820
  return !0;
821
821
  }
822
822
  }
823
- function Vt(d) {
823
+ function qt(d) {
824
824
  return "" + d;
825
825
  }
826
- function Jt(d) {
826
+ function Vt(d) {
827
827
  if (xa(d))
828
- return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pa(d)), Vt(d);
828
+ return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pa(d)), qt(d);
829
829
  }
830
- var Le = C.ReactCurrentOwner, va = {
830
+ var Fe = C.ReactCurrentOwner, va = {
831
831
  key: !0,
832
832
  ref: !0,
833
833
  __self: !0,
834
834
  __source: !0
835
- }, Xt, Qt, ut;
835
+ }, Jt, Xt, ut;
836
836
  ut = {};
837
837
  function Ca(d) {
838
- if (Me.call(d, "ref")) {
838
+ if (Le.call(d, "ref")) {
839
839
  var v = Object.getOwnPropertyDescriptor(d, "ref").get;
840
840
  if (v && v.isReactWarning)
841
841
  return !1;
@@ -843,7 +843,7 @@ function Hr() {
843
843
  return d.ref !== void 0;
844
844
  }
845
845
  function ja(d) {
846
- if (Me.call(d, "key")) {
846
+ if (Le.call(d, "key")) {
847
847
  var v = Object.getOwnPropertyDescriptor(d, "key").get;
848
848
  if (v && v.isReactWarning)
849
849
  return !1;
@@ -851,15 +851,15 @@ function Hr() {
851
851
  return d.key !== void 0;
852
852
  }
853
853
  function ka(d, v) {
854
- if (typeof d.ref == "string" && Le.current && v && Le.current.stateNode !== v) {
855
- var w = N(Le.current.type);
856
- ut[w] || (b('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', N(Le.current.type), d.ref), ut[w] = !0);
854
+ if (typeof d.ref == "string" && Fe.current && v && Fe.current.stateNode !== v) {
855
+ var w = N(Fe.current.type);
856
+ ut[w] || (b('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', N(Fe.current.type), d.ref), ut[w] = !0);
857
857
  }
858
858
  }
859
859
  function ya(d, v) {
860
860
  {
861
861
  var w = function() {
862
- Xt || (Xt = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
862
+ Jt || (Jt = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
863
863
  };
864
864
  w.isReactWarning = !0, Object.defineProperty(d, "key", {
865
865
  get: w,
@@ -870,7 +870,7 @@ function Hr() {
870
870
  function ba(d, v) {
871
871
  {
872
872
  var w = function() {
873
- Qt || (Qt = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
873
+ Xt || (Xt = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
874
874
  };
875
875
  w.isReactWarning = !0, Object.defineProperty(d, "ref", {
876
876
  get: w,
@@ -910,9 +910,9 @@ function Hr() {
910
910
  function Sa(d, v, w, L, z) {
911
911
  {
912
912
  var G, P = {}, $ = null, Q = null;
913
- w !== void 0 && (Jt(w), $ = "" + w), ja(v) && (Jt(v.key), $ = "" + v.key), Ca(v) && (Q = v.ref, ka(v, z));
913
+ w !== void 0 && (Vt(w), $ = "" + w), ja(v) && (Vt(v.key), $ = "" + v.key), Ca(v) && (Q = v.ref, ka(v, z));
914
914
  for (G in v)
915
- Me.call(v, G) && !va.hasOwnProperty(G) && (P[G] = v[G]);
915
+ Le.call(v, G) && !va.hasOwnProperty(G) && (P[G] = v[G]);
916
916
  if (d && d.defaultProps) {
917
917
  var H = d.defaultProps;
918
918
  for (G in H)
@@ -922,23 +922,23 @@ function Hr() {
922
922
  var V = typeof d == "function" ? d.displayName || d.name || "Unknown" : d;
923
923
  $ && ya(P, V), Q && ba(P, V);
924
924
  }
925
- return wa(d, $, Q, z, L, Le.current, P);
925
+ return wa(d, $, Q, z, L, Fe.current, P);
926
926
  }
927
927
  }
928
- var ft = C.ReactCurrentOwner, en = C.ReactDebugCurrentFrame;
928
+ var ft = C.ReactCurrentOwner, Qt = C.ReactDebugCurrentFrame;
929
929
  function Ee(d) {
930
930
  if (d) {
931
931
  var v = d._owner, w = Ve(d.type, d._source, v ? v.type : null);
932
- en.setExtraStackFrame(w);
932
+ Qt.setExtraStackFrame(w);
933
933
  } else
934
- en.setExtraStackFrame(null);
934
+ Qt.setExtraStackFrame(null);
935
935
  }
936
936
  var mt;
937
937
  mt = !1;
938
938
  function ht(d) {
939
939
  return typeof d == "object" && d !== null && d.$$typeof === t;
940
940
  }
941
- function tn() {
941
+ function en() {
942
942
  {
943
943
  if (ft.current) {
944
944
  var d = N(ft.current.type);
@@ -953,10 +953,10 @@ Check the render method of \`` + d + "`.";
953
953
  function Ea(d) {
954
954
  return "";
955
955
  }
956
- var nn = {};
956
+ var tn = {};
957
957
  function Ra(d) {
958
958
  {
959
- var v = tn();
959
+ var v = en();
960
960
  if (!v) {
961
961
  var w = typeof d == "string" ? d : d.displayName || d.name;
962
962
  w && (v = `
@@ -966,27 +966,27 @@ Check the top-level render call using <` + w + ">.");
966
966
  return v;
967
967
  }
968
968
  }
969
- function an(d, v) {
969
+ function nn(d, v) {
970
970
  {
971
971
  if (!d._store || d._store.validated || d.key != null)
972
972
  return;
973
973
  d._store.validated = !0;
974
974
  var w = Ra(v);
975
- if (nn[w])
975
+ if (tn[w])
976
976
  return;
977
- nn[w] = !0;
977
+ tn[w] = !0;
978
978
  var L = "";
979
979
  d && d._owner && d._owner !== ft.current && (L = " It was passed a child from " + N(d._owner.type) + "."), Ee(d), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, L), Ee(null);
980
980
  }
981
981
  }
982
- function rn(d, v) {
982
+ function an(d, v) {
983
983
  {
984
984
  if (typeof d != "object")
985
985
  return;
986
986
  if (_t(d))
987
987
  for (var w = 0; w < d.length; w++) {
988
988
  var L = d[w];
989
- ht(L) && an(L, v);
989
+ ht(L) && nn(L, v);
990
990
  }
991
991
  else if (ht(d))
992
992
  d._store && (d._store.validated = !0);
@@ -994,7 +994,7 @@ Check the top-level render call using <` + w + ">.");
994
994
  var z = x(d);
995
995
  if (typeof z == "function" && z !== d.entries)
996
996
  for (var G = z.call(d), P; !(P = G.next()).done; )
997
- ht(P.value) && an(P.value, v);
997
+ ht(P.value) && nn(P.value, v);
998
998
  }
999
999
  }
1000
1000
  }
@@ -1035,15 +1035,15 @@ Check the top-level render call using <` + w + ">.");
1035
1035
  d.ref !== null && (Ee(d), b("Invalid attribute `ref` supplied to `React.Fragment`."), Ee(null));
1036
1036
  }
1037
1037
  }
1038
- var sn = {};
1039
- function on(d, v, w, L, z, G) {
1038
+ var rn = {};
1039
+ function sn(d, v, w, L, z, G) {
1040
1040
  {
1041
1041
  var P = M(d);
1042
1042
  if (!P) {
1043
1043
  var $ = "";
1044
1044
  (d === void 0 || typeof d == "object" && d !== null && Object.keys(d).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.");
1045
1045
  var Q = Ea();
1046
- Q ? $ += Q : $ += tn();
1046
+ Q ? $ += Q : $ += en();
1047
1047
  var H;
1048
1048
  d === null ? H = "null" : _t(d) ? H = "array" : d !== void 0 && d.$$typeof === t ? (H = "<" + (N(d.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : H = typeof d, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, $);
1049
1049
  }
@@ -1056,39 +1056,39 @@ Check the top-level render call using <` + w + ">.");
1056
1056
  if (L)
1057
1057
  if (_t(oe)) {
1058
1058
  for (var Re = 0; Re < oe.length; Re++)
1059
- rn(oe[Re], d);
1059
+ an(oe[Re], d);
1060
1060
  Object.freeze && Object.freeze(oe);
1061
1061
  } else
1062
1062
  b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1063
1063
  else
1064
- rn(oe, d);
1064
+ an(oe, d);
1065
1065
  }
1066
- if (Me.call(v, "key")) {
1066
+ if (Le.call(v, "key")) {
1067
1067
  var ke = N(d), ne = Object.keys(v).filter(function($a) {
1068
1068
  return $a !== "key";
1069
1069
  }), gt = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
1070
- if (!sn[ke + gt]) {
1070
+ if (!rn[ke + gt]) {
1071
1071
  var Fa = ne.length > 0 ? "{" + ne.join(": ..., ") + ": ...}" : "{}";
1072
1072
  b(`A props object containing a "key" prop is being spread into JSX:
1073
1073
  let props = %s;
1074
1074
  <%s {...props} />
1075
1075
  React keys must be passed directly to JSX without using spread:
1076
1076
  let props = %s;
1077
- <%s key={someKey} {...props} />`, gt, ke, Fa, ke), sn[ke + gt] = !0;
1077
+ <%s key={someKey} {...props} />`, gt, ke, Fa, ke), rn[ke + gt] = !0;
1078
1078
  }
1079
1079
  }
1080
1080
  return d === r ? Na(V) : Da(V), V;
1081
1081
  }
1082
1082
  }
1083
1083
  function Ia(d, v, w) {
1084
- return on(d, v, w, !0);
1084
+ return sn(d, v, w, !0);
1085
1085
  }
1086
1086
  function Ta(d, v, w) {
1087
- return on(d, v, w, !1);
1087
+ return sn(d, v, w, !1);
1088
1088
  }
1089
1089
  var Ma = Ta, La = Ia;
1090
- $e.Fragment = r, $e.jsx = Ma, $e.jsxs = La;
1091
- }()), $e;
1090
+ Be.Fragment = r, Be.jsx = Ma, Be.jsxs = La;
1091
+ }()), Be;
1092
1092
  }
1093
1093
  process.env.NODE_ENV === "production" ? kt.exports = Yr() : kt.exports = Hr();
1094
1094
  var a = kt.exports;
@@ -1777,10 +1777,10 @@ const Ls = "_alerts_1pds5_1", Fs = "_menuAnimation_1pds5_1", $s = "_menuItemAnim
1777
1777
  "--form": "_--form_1pds5_111",
1778
1778
  al: Ps
1779
1779
  };
1780
- let Ae = {};
1780
+ let ze = {};
1781
1781
  function Os() {
1782
1782
  let [e, t] = m.useState("");
1783
- return Ae.set = (n) => t(n), Ae.del = () => t(""), /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
1783
+ return ze.set = (n) => t(n), ze.del = () => t(""), /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
1784
1784
  }
1785
1785
  const As = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className: yt.alerts, children: [
1786
1786
  /* @__PURE__ */ a.jsxs("dl", { children: [
@@ -1791,7 +1791,7 @@ const As = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === voi
1791
1791
  {
1792
1792
  "data-color": e.color || "blue",
1793
1793
  onClick: () => {
1794
- t(), Ae.del();
1794
+ t(), ze.del();
1795
1795
  },
1796
1796
  children: e.button
1797
1797
  }
@@ -1802,20 +1802,20 @@ const As = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === voi
1802
1802
  {
1803
1803
  className: yt["--body"],
1804
1804
  onClick: () => {
1805
- n == null || n(), Ae.del();
1805
+ n == null || n(), ze.del();
1806
1806
  }
1807
1807
  }
1808
1808
  )
1809
1809
  ] }));
1810
1810
  function zs(e, t, n) {
1811
- Ae.set(
1811
+ ze.set(
1812
1812
  /* @__PURE__ */ a.jsx(As, { data: e, callback: t, cancel: n })
1813
1813
  );
1814
1814
  }
1815
- const Ne = { Send: Ds, Error: Ns, Remark: Ts, Success: Is, Copy: Ms }, Pe = {
1815
+ const Ie = { Send: Ds, Error: Ns, Remark: Ts, Success: Is, Copy: Ms }, Oe = {
1816
1816
  Path: dr,
1817
1817
  setPage: er,
1818
- getPage: Mt,
1818
+ getPage: yn,
1819
1819
  usePage: Qa,
1820
1820
  isPage: tr,
1821
1821
  setModule: ar,
@@ -1823,7 +1823,7 @@ const Ne = { Send: Ds, Error: Ns, Remark: Ts, Success: Is, Copy: Ms }, Pe = {
1823
1823
  useModule: nr,
1824
1824
  isModule: rr,
1825
1825
  setTabs: Sn,
1826
- getTabs: Ge,
1826
+ getTabs: Ne,
1827
1827
  useTabs: wn,
1828
1828
  isTabs: sr,
1829
1829
  useId: ir,
@@ -1912,7 +1912,7 @@ function Us() {
1912
1912
  const Ks = "_n_euuvm_1", Ws = {
1913
1913
  n: Ks
1914
1914
  };
1915
- let We = {}, Be = [];
1915
+ let We = {}, Pe = [];
1916
1916
  const Ys = (e, t) => {
1917
1917
  switch (t.type) {
1918
1918
  case "open":
@@ -1988,7 +1988,7 @@ function Xs() {
1988
1988
  }), Js(async (r) => {
1989
1989
  switch (r.action) {
1990
1990
  case "add":
1991
- Be.push(r.data);
1991
+ Pe.push(r.data);
1992
1992
  break;
1993
1993
  }
1994
1994
  }), m.useEffect(() => {
@@ -2006,7 +2006,7 @@ function Xs() {
2006
2006
  break;
2007
2007
  case "M01":
2008
2008
  r[s].forEach((i) => {
2009
- Be.push({
2009
+ Pe.push({
2010
2010
  module: "M01",
2011
2011
  type: 1,
2012
2012
  id: i.id,
@@ -2017,7 +2017,7 @@ function Xs() {
2017
2017
  break;
2018
2018
  case "M02":
2019
2019
  r[s].forEach((i) => {
2020
- Be.push({
2020
+ Pe.push({
2021
2021
  module: "M02",
2022
2022
  type: 117,
2023
2023
  id: i.id,
@@ -2028,7 +2028,7 @@ function Xs() {
2028
2028
  break;
2029
2029
  }
2030
2030
  })(), setInterval(() => {
2031
- Be.forEach((r, s) => {
2031
+ Pe.forEach((r, s) => {
2032
2032
  t({
2033
2033
  type: "add",
2034
2034
  data: {
@@ -2038,7 +2038,7 @@ function Xs() {
2038
2038
  datetime: r.datetime,
2039
2039
  txt: r.title
2040
2040
  }
2041
- }), r.datetime < (/* @__PURE__ */ new Date()).getTime() && Be.splice(s, 1);
2041
+ }), r.datetime < (/* @__PURE__ */ new Date()).getTime() && Pe.splice(s, 1);
2042
2042
  });
2043
2043
  }, 6e4);
2044
2044
  }, []);
@@ -2173,13 +2173,13 @@ X.offline = async (e) => {
2173
2173
  X.chat = (e) => {
2174
2174
  switch (e.data.action) {
2175
2175
  case "new_message":
2176
- Pe.getModule();
2176
+ Oe.getModule();
2177
2177
  break;
2178
2178
  case "view_message":
2179
- Pe.getModule();
2179
+ Oe.getModule();
2180
2180
  break;
2181
2181
  case "write_message":
2182
- Pe.getModule();
2182
+ Oe.getModule();
2183
2183
  break;
2184
2184
  }
2185
2185
  };
@@ -2516,37 +2516,37 @@ const eo = "_h_1usnu_1", to = "_g_1usnu_11", no = "_hr_1usnu_16", ao = "_hl_1usn
2516
2516
  m: fo,
2517
2517
  ul: mo,
2518
2518
  f: ho
2519
- }, fn = ({ title: e, left: t, right: n, children: r }) => /* @__PURE__ */ a.jsxs("div", { className: ae.h, children: [
2519
+ }, un = ({ title: e, left: t, right: n, children: r }) => /* @__PURE__ */ a.jsxs("div", { className: ae.h, children: [
2520
2520
  /* @__PURE__ */ a.jsx("div", { className: ae.t, children: e }),
2521
2521
  t && /* @__PURE__ */ a.jsx("div", { className: ae.hl, children: t }),
2522
2522
  n && /* @__PURE__ */ a.jsx("div", { className: ae.hr, children: n }),
2523
2523
  r
2524
- ] }), mn = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: ae.l, children: e }), hn = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ae.s, children: e }), gn = ({ children: e, edit: t }) => {
2524
+ ] }), fn = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: ae.l, children: e }), mn = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ae.s, children: e }), hn = ({ children: e, edit: t }) => {
2525
2525
  const n = {};
2526
2526
  return t && (n.edit = ""), /* @__PURE__ */ a.jsx("div", { ...n, className: ae.f, children: e });
2527
2527
  };
2528
- function pn({ children: e }) {
2528
+ function gn({ children: e }) {
2529
2529
  return /* @__PURE__ */ a.jsx("div", { className: ae.g, children: e });
2530
2530
  }
2531
2531
  const go = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("div", { className: [ae.o, t].join(" "), children: [
2532
2532
  n && /* @__PURE__ */ a.jsx("div", { className: ae.hh, children: n }),
2533
2533
  e
2534
- ] }), po = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ae.u, children: e }), xo = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ae.c, children: e }), vo = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ae.m, children: e }), xn = {
2535
- Header: fn,
2536
- Section: hn,
2537
- Group: pn,
2538
- Form: gn,
2539
- List: mn,
2534
+ ] }), po = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ae.u, children: e }), xo = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ae.c, children: e }), vo = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: ae.m, children: e }), pn = {
2535
+ Header: un,
2536
+ Section: mn,
2537
+ Group: gn,
2538
+ Form: hn,
2539
+ List: fn,
2540
2540
  A: $n,
2541
2541
  U: po,
2542
- G: pn,
2542
+ G: gn,
2543
2543
  C: xo,
2544
- L: mn,
2544
+ L: fn,
2545
2545
  O: go,
2546
- S: hn,
2547
- H: fn,
2546
+ S: mn,
2547
+ H: un,
2548
2548
  M: vo,
2549
- F: gn
2549
+ F: hn
2550
2550
  }, Co = (e, t) => {
2551
2551
  switch (t.type) {
2552
2552
  case "load":
@@ -2661,10 +2661,10 @@ const go = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2661
2661
  });
2662
2662
  i({ type: "load", list: l });
2663
2663
  })();
2664
- }, [e, r]), /* @__PURE__ */ a.jsxs(xn.O, { children: [
2664
+ }, [e, r]), /* @__PURE__ */ a.jsxs(pn.O, { children: [
2665
2665
  " ",
2666
2666
  /* @__PURE__ */ a.jsx(
2667
- xn.H,
2667
+ pn.H,
2668
2668
  {
2669
2669
  title: t,
2670
2670
  right: /* @__PURE__ */ a.jsx(
@@ -2743,7 +2743,7 @@ const go = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2743
2743
  ) }) : "" });
2744
2744
  }, wo = ({ data: e, dispatch: t }) => {
2745
2745
  let n = async () => {
2746
- let i = await (await fetch(dn.url().files + "/yandex/data/" + e.id, {
2746
+ let i = await (await fetch(cn.url().files + "/yandex/data/" + e.id, {
2747
2747
  headers: {
2748
2748
  "Content-type": "application/json;charset=utf-8",
2749
2749
  SSID: se.getSSID() || ""
@@ -2756,12 +2756,12 @@ const go = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2756
2756
  l.setAttribute("href", o), l.setAttribute("download", e.name), l.click();
2757
2757
  }
2758
2758
  }, r = async () => {
2759
- (await (await fetch(dn.url().files + "/yandex/delete/" + e.id, {
2759
+ (await (await fetch(cn.url().files + "/yandex/delete/" + e.id, {
2760
2760
  headers: {
2761
2761
  "Content-type": "application/json;charset=utf-8",
2762
2762
  SSID: se.getSSID() || ""
2763
2763
  }
2764
- })).json()).status === "success" && (t({ type: "delete", id: e.id }), Ne.Send({ type: "success", text: "Файл успешно удалён" }));
2764
+ })).json()).status === "success" && (t({ type: "delete", id: e.id }), Ie.Send({ type: "success", text: "Файл успешно удалён" }));
2765
2765
  };
2766
2766
  return /* @__PURE__ */ a.jsxs("li", { children: [
2767
2767
  /* @__PURE__ */ a.jsx("div", { className: "f035", children: Z.TypeFiles(e.type) }),
@@ -2789,13 +2789,13 @@ const go = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
2789
2789
  ] }),
2790
2790
  /* @__PURE__ */ a.jsx("div", { className: "f080", children: Z.Size(e.size) })
2791
2791
  ] });
2792
- }, Ft = { setSetting: ur, getSetting: fr };
2792
+ }, Lt = { setSetting: ur, getSetting: fr };
2793
2793
  let Y = {};
2794
2794
  Y.list = kr();
2795
2795
  Y.active = null;
2796
2796
  const So = () => {
2797
2797
  var s;
2798
- let [e, t] = m.useState([]), [n, r] = m.useState(Ft.getSetting("s03"));
2798
+ let [e, t] = m.useState([]), [n, r] = m.useState(Lt.getSetting("s03"));
2799
2799
  return m.useEffect(() => {
2800
2800
  (async () => {
2801
2801
  let i = Object.keys(Y.list);
@@ -2839,12 +2839,12 @@ const So = () => {
2839
2839
  i(Y.list[r] !== void 0);
2840
2840
  }, [r]);
2841
2841
  let o = () => {
2842
- Y.list[r] !== void 0 ? (Y.del(r), delete Y.list[r], ln(Y.list), i(!1), Ne.Send({ type: "success", text: "Запись удален из закладок" })) : (Y.list[r] = { id: e, name: n, type: t, link: r }, Y.set(Y.list[r]), ln(Y.list), i(!0), Ne.Send({
2842
+ Y.list[r] !== void 0 ? (Y.del(r), delete Y.list[r], on(Y.list), i(!1), Ie.Send({ type: "success", text: "Запись удален из закладок" })) : (Y.list[r] = { id: e, name: n, type: t, link: r }, Y.set(Y.list[r]), on(Y.list), i(!0), Ie.Send({
2843
2843
  type: "success",
2844
2844
  text: "Запись добавлен в закладки"
2845
2845
  }));
2846
2846
  };
2847
- return /* @__PURE__ */ a.jsx(a.Fragment, { children: Ft.getSetting("s03") !== 0 ? /* @__PURE__ */ a.jsx(
2847
+ return /* @__PURE__ */ a.jsx(a.Fragment, { children: Lt.getSetting("s03") !== 0 ? /* @__PURE__ */ a.jsx(
2848
2848
  "i",
2849
2849
  {
2850
2850
  "data-icon": "C018",
@@ -2856,7 +2856,7 @@ const So = () => {
2856
2856
  let t = (r) => {
2857
2857
  r.preventDefault(), delete Y.list[e.link], Y.del(e.link);
2858
2858
  }, n = () => {
2859
- Pe.setId(e.id);
2859
+ Oe.setId(e.id);
2860
2860
  };
2861
2861
  return /* @__PURE__ */ a.jsx("span", { onContextMenu: t, onClick: n, children: e.name });
2862
2862
  }, Ro = (e) => {
@@ -3005,15 +3005,15 @@ K.callRefuser = async () => {
3005
3005
  K.Run = async (e) => {
3006
3006
  K[e.data.type] && K[e.data.type](e.data);
3007
3007
  };
3008
- let Oe = {};
3008
+ let Ae = {};
3009
3009
  function Do() {
3010
3010
  let [e, t] = m.useState([]), n = m.useRef(null);
3011
3011
  return m.useEffect(() => {
3012
- }, []), Oe.set = (r) => {
3012
+ }, []), Ae.set = (r) => {
3013
3013
  t([...e, r]);
3014
- }, Oe.del = () => {
3014
+ }, Ae.del = () => {
3015
3015
  t([]);
3016
- }, Oe.audio = (r, s) => {
3016
+ }, Ae.audio = (r, s) => {
3017
3017
  n.current.volume = 0.5, n.current.loop = s, n.current.src = "/audio/" + r, n.current.muted = !1;
3018
3018
  }, /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3019
3019
  e.map((r) => r.item),
@@ -3022,7 +3022,7 @@ function Do() {
3022
3022
  }
3023
3023
  function No(e, t) {
3024
3024
  let n = (/* @__PURE__ */ new Date()).getTime();
3025
- Oe.set({
3025
+ Ae.set({
3026
3026
  item: /* @__PURE__ */ a.jsx(Io, { type: t, id: e }, n),
3027
3027
  key: n
3028
3028
  });
@@ -3118,7 +3118,7 @@ function Io({ id: e, type: t }) {
3118
3118
  );
3119
3119
  }
3120
3120
  }, l = () => {
3121
- K.callRefuser(n.id), Oe.del();
3121
+ K.callRefuser(n.id), Ae.del();
3122
3122
  };
3123
3123
  return /* @__PURE__ */ a.jsx("div", { className: "web-phone white", children: /* @__PURE__ */ a.jsxs("div", { className: "w", children: [
3124
3124
  /* @__PURE__ */ a.jsx("div", { className: "x", "data-icon": "F038", onClick: l }),
@@ -3168,7 +3168,7 @@ const Fo = (e) => {
3168
3168
  var t;
3169
3169
  localStorage.setItem("lang", e), (t = et.update) == null || t.call(et, e);
3170
3170
  }, Po = () => Aa(Pn), Oo = () => localStorage.getItem("lang") || navigator.language, Et = {};
3171
- function $t(e, t) {
3171
+ function Ft(e, t) {
3172
3172
  Et[e] = t;
3173
3173
  }
3174
3174
  function Ao(e, t) {
@@ -3189,7 +3189,7 @@ function Go(e, t) {
3189
3189
  function Zo(e, t) {
3190
3190
  ve[e] && ve[e].forEach((n) => n(t));
3191
3191
  }
3192
- const we = { setListener: Ao, useListener: $t, setEmitter: Zo, useEmitter: zo, subEmitter: Go };
3192
+ const we = { setListener: Ao, useListener: Ft, setEmitter: Zo, useEmitter: zo, subEmitter: Go };
3193
3193
  function Uo() {
3194
3194
  let [e, t] = m.useState([]);
3195
3195
  return we.useListener("form", (n) => {
@@ -3359,12 +3359,12 @@ let Rt = {};
3359
3359
  function pl(e) {
3360
3360
  Rt = { ...Rt, ...e };
3361
3361
  }
3362
- function vn() {
3362
+ function xn() {
3363
3363
  return Rt;
3364
3364
  }
3365
3365
  function xl({ name: e, hover: t, onClick: n }) {
3366
3366
  const r = {};
3367
- return n && (r.onClick = n, r.pointer = ""), t && (r.hover = t), vn()[e] ? /* @__PURE__ */ a.jsx("i", { role: "icon", ...r, children: vn()[e]() }) : "";
3367
+ return n && (r.onClick = n, r.pointer = ""), t && (r.hover = t), xn()[e] ? /* @__PURE__ */ a.jsx("i", { role: "icon", ...r, children: xn()[e]() }) : "";
3368
3368
  }
3369
3369
  const td = { Logo: gl, Sprite: To, set: pl, Symbol: Mo, Default: xl }, vl = "_sort_1yrvt_1", Cl = {
3370
3370
  sort: vl
@@ -3483,9 +3483,9 @@ class Dl {
3483
3483
  }
3484
3484
  }
3485
3485
  let xt, q = {};
3486
- const Ie = () => (xt || (xt = new Dl()), xt), je = (e, t, n = Ie()) => n._withIDBStore("readwrite", (r) => {
3486
+ const Te = () => (xt || (xt = new Dl()), xt), je = (e, t, n = Te()) => n._withIDBStore("readwrite", (r) => {
3487
3487
  q[e] = t, r.put(B.enCode(t), e);
3488
- }), me = (e, t = Ie()) => q[e] === void 0 ? new Promise((n, r) => {
3488
+ }), me = (e, t = Te()) => q[e] === void 0 ? new Promise((n, r) => {
3489
3489
  let s;
3490
3490
  t._withIDBStore("readonly", (i) => {
3491
3491
  s = i.get(e);
@@ -3496,11 +3496,11 @@ const Ie = () => (xt || (xt = new Dl()), xt), je = (e, t, n = Ie()) => n._withID
3496
3496
  } else
3497
3497
  n({});
3498
3498
  });
3499
- }) : q[e], Nl = (e, t = Ie()) => t._withIDBStore("readwrite", (n) => {
3499
+ }) : q[e], Nl = (e, t = Te()) => t._withIDBStore("readwrite", (n) => {
3500
3500
  n.delete(e);
3501
- }), Dt = (e = Ie()) => e._withIDBStore("readwrite", (t) => {
3501
+ }), Dt = (e = Te()) => e._withIDBStore("readwrite", (t) => {
3502
3502
  t.clear();
3503
- }), Il = (e = Ie()) => {
3503
+ }), Il = (e = Te()) => {
3504
3504
  const t = [];
3505
3505
  return e._withIDBStore("readonly", (n) => {
3506
3506
  (n.openKeyCursor || n.openCursor).call(n).onsuccess = function() {
@@ -3529,7 +3529,7 @@ const Ie = () => (xt || (xt = new Dl()), xt), je = (e, t, n = Ie()) => n._withID
3529
3529
  }), u.forEach((p) => {
3530
3530
  p === void 0 ? (Dt(), location.reload()) : (s && g(p.id), l && f(p.id));
3531
3531
  }), { list: u, search: i, filter: r };
3532
- }, Ml = (e, t, n, r = Ie()) => {
3532
+ }, Ml = (e, t, n, r = Te()) => {
3533
3533
  if (q[e] === void 0)
3534
3534
  return new Promise((s, i) => {
3535
3535
  let o;
@@ -3698,7 +3698,7 @@ ce.Focus = (e) => {
3698
3698
  ce.Blur = (e) => {
3699
3699
  e.target.scrollLeft = 0, e.target.querySelector("br") !== null && e.target.querySelector("br").remove();
3700
3700
  };
3701
- function ze({
3701
+ function Ge({
3702
3702
  id: e,
3703
3703
  value: t,
3704
3704
  onValue: n,
@@ -3723,7 +3723,7 @@ function ze({
3723
3723
  }, I = (y) => {
3724
3724
  y.preventDefault(), navigator.clipboard.writeText(y.target.textContent).then(
3725
3725
  function() {
3726
- Ne.Copy("Данные в буфер обмене");
3726
+ Ie.Copy("Данные в буфер обмене");
3727
3727
  },
3728
3728
  function(A) {
3729
3729
  }
@@ -4088,7 +4088,7 @@ const Hl = "_o_rdk5j_1", ql = "_c_rdk5j_11", Vl = "_as_rdk5j_87", Jl = "_ap_rdk5
4088
4088
  as: Vl,
4089
4089
  ap: Jl
4090
4090
  };
4091
- function Bt(e) {
4091
+ function $t(e) {
4092
4092
  let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "", r = e.edit !== void 0 ? e.edit : !0, s = e.active !== void 0 ? e.active : !0, i = e.placeholder !== void 0 ? e.placeholder : "", [o, l] = m.useState(
4093
4093
  e.value === void 0 ? /* @__PURE__ */ new Date() : e.value
4094
4094
  ), c = !r && s;
@@ -4233,7 +4233,7 @@ const Xl = (e) => {
4233
4233
  )
4234
4234
  ] }) : "" });
4235
4235
  };
4236
- function Pt({
4236
+ function Bt({
4237
4237
  value: e,
4238
4238
  onValue: t,
4239
4239
  name: n,
@@ -4282,7 +4282,7 @@ function Pt({
4282
4282
  i && /* @__PURE__ */ a.jsx("em", { children: i })
4283
4283
  ] });
4284
4284
  }
4285
- function Ot({
4285
+ function Pt({
4286
4286
  value: e,
4287
4287
  onValue: t,
4288
4288
  name: n,
@@ -4504,7 +4504,7 @@ function Jn(e) {
4504
4504
  n()
4505
4505
  ] });
4506
4506
  }
4507
- function At({
4507
+ function Ot({
4508
4508
  onValue: e,
4509
4509
  onSave: t,
4510
4510
  active: n,
@@ -5999,7 +5999,7 @@ const vt = {
5999
5999
  mask: "+1939(___) ___-__-__"
6000
6000
  }
6001
6001
  };
6002
- function zt({
6002
+ function At({
6003
6003
  value: e,
6004
6004
  onValue: t,
6005
6005
  onSave: n,
@@ -6028,8 +6028,8 @@ function zt({
6028
6028
  let N = 0, F = "", W = O.replace(/\D/g, "");
6029
6029
  W === "" && (x = !0);
6030
6030
  let te = W.split(""), re = "";
6031
- te.forEach((Te) => {
6032
- x && (re += Te, vt[re] !== void 0 && x ? (x = !1, h = vt[re].mask.replace(new RegExp("[0-9]", "g"), "_"), F = vt[re].code) : (x && (C = ("" + re).length, h = `+${re}_(___) ___-__-__`.replace(
6031
+ te.forEach((Me) => {
6032
+ x && (re += Me, vt[re] !== void 0 && x ? (x = !1, h = vt[re].mask.replace(new RegExp("[0-9]", "g"), "_"), F = vt[re].code) : (x && (C = ("" + re).length, h = `+${re}_(___) ___-__-__`.replace(
6033
6033
  new RegExp("[0-9]", "g"),
6034
6034
  "_"
6035
6035
  ), F = ""), C > ("" + re).length && (x = !0, h = `+${re}_(___) ___-__-__`.replace(
@@ -6044,7 +6044,7 @@ function zt({
6044
6044
  }, k = (O) => {
6045
6045
  O.preventDefault(), navigator.clipboard.writeText(O.target.textContent.replace(/\D/g, "")).then(
6046
6046
  function() {
6047
- Ne.Copy("Данные в буфер обмене");
6047
+ Ie.Copy("Данные в буфер обмене");
6048
6048
  },
6049
6049
  function(N) {
6050
6050
  }
@@ -6116,7 +6116,7 @@ const Qn = (e) => {
6116
6116
  }
6117
6117
  );
6118
6118
  };
6119
- function Gt({
6119
+ function zt({
6120
6120
  title: e,
6121
6121
  error: t,
6122
6122
  edit: n = !0,
@@ -6222,7 +6222,7 @@ const ec = ({
6222
6222
  s
6223
6223
  ) : ""
6224
6224
  ) });
6225
- function Zt(e) {
6225
+ function Gt(e) {
6226
6226
  let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "", r = e.edit !== void 0 ? e.edit : !0, s = e.active !== void 0 ? e.active : !0, o = !!(e.hide && (e.default === "" || e.options[e.default] === void 0)) && !(r && s), l = e.placeholder !== void 0 ? e.placeholder : "", c = (p) => {
6227
6227
  u(e.options[p]), e.onValue({ value: p, name: e.name });
6228
6228
  }, [_, u] = m.useState(
@@ -6325,7 +6325,7 @@ function Nt({
6325
6325
  switch (e) {
6326
6326
  case "Input":
6327
6327
  return /* @__PURE__ */ a.jsx(
6328
- ze,
6328
+ Ge,
6329
6329
  {
6330
6330
  title: i,
6331
6331
  show: _,
@@ -6342,7 +6342,7 @@ function Nt({
6342
6342
  );
6343
6343
  case "Select":
6344
6344
  return j && (x = se.getSelect(parseInt(j)) ? se.getSelect(parseInt(j)) : { 0: { s: "1", n: "не известно" } }), /* @__PURE__ */ a.jsx(
6345
- Gt,
6345
+ zt,
6346
6346
  {
6347
6347
  title: i,
6348
6348
  show: _,
@@ -6360,7 +6360,7 @@ function Nt({
6360
6360
  );
6361
6361
  case "Users":
6362
6362
  return se.getSelect("user"), /* @__PURE__ */ a.jsx(
6363
- Zt,
6363
+ Gt,
6364
6364
  {
6365
6365
  title: i,
6366
6366
  show: _,
@@ -6378,7 +6378,7 @@ function Nt({
6378
6378
  );
6379
6379
  case "Date":
6380
6380
  return /* @__PURE__ */ a.jsx(
6381
- Bt,
6381
+ $t,
6382
6382
  {
6383
6383
  title: i,
6384
6384
  show: _,
@@ -6395,7 +6395,7 @@ function Nt({
6395
6395
  );
6396
6396
  case "Phone":
6397
6397
  return /* @__PURE__ */ a.jsx(
6398
- zt,
6398
+ At,
6399
6399
  {
6400
6400
  title: i,
6401
6401
  show: _,
@@ -6412,7 +6412,7 @@ function Nt({
6412
6412
  );
6413
6413
  case "Number":
6414
6414
  return /* @__PURE__ */ a.jsx(
6415
- At,
6415
+ Ot,
6416
6416
  {
6417
6417
  title: i,
6418
6418
  show: _,
@@ -6429,7 +6429,7 @@ function Nt({
6429
6429
  );
6430
6430
  case "Money":
6431
6431
  return /* @__PURE__ */ a.jsx(
6432
- Ot,
6432
+ Pt,
6433
6433
  {
6434
6434
  title: i,
6435
6435
  show: _,
@@ -6446,7 +6446,7 @@ function Nt({
6446
6446
  );
6447
6447
  case "Modal":
6448
6448
  return /* @__PURE__ */ a.jsx(
6449
- Pt,
6449
+ Bt,
6450
6450
  {
6451
6451
  title: i,
6452
6452
  show: _,
@@ -6938,7 +6938,7 @@ function sa({
6938
6938
  i && /* @__PURE__ */ a.jsx("em", { children: i })
6939
6939
  ] });
6940
6940
  }
6941
- function Cn({
6941
+ function vn({
6942
6942
  value: e,
6943
6943
  onValue: t,
6944
6944
  name: n,
@@ -7050,31 +7050,31 @@ function _c() {
7050
7050
  }
7051
7051
  const od = {
7052
7052
  Color: qn,
7053
- Date: Bt,
7054
- Mask: Cn,
7055
- Image: Cn,
7053
+ Date: $t,
7054
+ Mask: vn,
7055
+ Image: vn,
7056
7056
  Code: Hn,
7057
7057
  Check: na,
7058
7058
  Switch: Zn,
7059
- Input: ze,
7059
+ Input: Ge,
7060
7060
  Button: Un,
7061
7061
  Message: Kn,
7062
7062
  Generator: Wn,
7063
7063
  Captcha: Yn,
7064
- Modal: Pt,
7065
- Money: Ot,
7064
+ Modal: Bt,
7065
+ Money: Pt,
7066
7066
  Month: Vn,
7067
7067
  Notes: Jn,
7068
- Number: At,
7068
+ Number: Ot,
7069
7069
  Password: Xn,
7070
- Phone: zt,
7070
+ Phone: At,
7071
7071
  Search: Qn,
7072
- Select: Gt,
7072
+ Select: zt,
7073
7073
  Set: Nt,
7074
7074
  Textarea: ea,
7075
7075
  Time: ta,
7076
- Users: Zt,
7077
- String: ze,
7076
+ Users: Gt,
7077
+ String: Ge,
7078
7078
  Form: Nt,
7079
7079
  runReload: _c,
7080
7080
  useData: cc,
@@ -7124,7 +7124,7 @@ function uc({
7124
7124
  }, S = (N) => {
7125
7125
  N.preventDefault(), navigator.clipboard.writeText(N.target.textContent.replace(/\D/g, "")).then(
7126
7126
  function() {
7127
- Ne.Copy("Данные в буфер обмене");
7127
+ Ie.Copy("Данные в буфер обмене");
7128
7128
  },
7129
7129
  function(F) {
7130
7130
  }
@@ -7163,30 +7163,30 @@ function uc({
7163
7163
  }
7164
7164
  const ld = {
7165
7165
  Color: qn,
7166
- Date: Bt,
7166
+ Date: $t,
7167
7167
  Code: Hn,
7168
7168
  Check: na,
7169
7169
  Switch: Zn,
7170
- Input: ze,
7170
+ Input: Ge,
7171
7171
  Button: Un,
7172
7172
  Message: Kn,
7173
7173
  Generator: Wn,
7174
7174
  Captcha: Yn,
7175
- Modal: Pt,
7176
- Money: Ot,
7175
+ Modal: Bt,
7176
+ Money: Pt,
7177
7177
  Mask: uc,
7178
7178
  Month: Vn,
7179
7179
  Notes: Jn,
7180
- Number: At,
7180
+ Number: Ot,
7181
7181
  Password: Xn,
7182
- Phone: zt,
7182
+ Phone: At,
7183
7183
  Search: Qn,
7184
- Select: Gt,
7184
+ Select: zt,
7185
7185
  Set: Nt,
7186
7186
  Textarea: ea,
7187
7187
  Time: ta,
7188
- Users: Zt,
7189
- String: ze,
7188
+ Users: Gt,
7189
+ String: Ge,
7190
7190
  Toogle: aa,
7191
7191
  Group: ra,
7192
7192
  Options: sa
@@ -7222,7 +7222,7 @@ const cd = { Spinner: gc, Inline: pc }, xc = function({
7222
7222
  loading: l
7223
7223
  }) {
7224
7224
  const [c] = wn(
7225
- i.map((g) => g.id).includes(Ge()) ? Mt() : s
7225
+ i.map((g) => g.id).includes(Ne()) ? Ne() : s
7226
7226
  ), [_, u] = m.useState(!1);
7227
7227
  return m.useEffect(() => {
7228
7228
  u(!0);
@@ -7242,7 +7242,7 @@ let vc = ({ m: e, t, loading: n }) => {
7242
7242
  return /* @__PURE__ */ a.jsx(m.Suspense, { fallback: n, children: /* @__PURE__ */ a.jsx(r, {}) });
7243
7243
  }, Cc = ({ button: e }) => {
7244
7244
  const [t, n] = m.useState(e);
7245
- return $t("button", n), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7245
+ return Ft("button", n), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7246
7246
  " ",
7247
7247
  t
7248
7248
  ] });
@@ -7254,17 +7254,17 @@ let vc = ({ m: e, t, loading: n }) => {
7254
7254
  t
7255
7255
  ] })
7256
7256
  );
7257
- return $t("title", r), /* @__PURE__ */ a.jsx("h2", { children: n });
7257
+ return Ft("title", r), /* @__PURE__ */ a.jsx("h2", { children: n });
7258
7258
  };
7259
7259
  const dd = {
7260
7260
  Lite: xc
7261
- }, kc = "_s_t9swc_1", jn = {
7261
+ }, kc = "_s_t9swc_1", Cn = {
7262
7262
  s: kc
7263
7263
  };
7264
- let Ut;
7264
+ let Zt;
7265
7265
  function yc({ className: e, placeholder: t }) {
7266
7266
  let n = (o) => {
7267
- Ut(o.target.textContent);
7267
+ Zt(o.target.textContent);
7268
7268
  }, r = (o) => {
7269
7269
  o.key === "Enter" && o.preventDefault();
7270
7270
  }, s = (o) => {
@@ -7274,7 +7274,7 @@ function yc({ className: e, placeholder: t }) {
7274
7274
  });
7275
7275
  };
7276
7276
  const i = {};
7277
- return t && (i.placeholder = t), i.className = e ? [jn.s, e].join(" ") : jn.s, /* @__PURE__ */ a.jsx(
7277
+ return t && (i.placeholder = t), i.className = e ? [Cn.s, e].join(" ") : Cn.s, /* @__PURE__ */ a.jsx(
7278
7278
  "div",
7279
7279
  {
7280
7280
  onPaste: s,
@@ -7295,10 +7295,10 @@ function bc(e, t, n) {
7295
7295
  }), o;
7296
7296
  }
7297
7297
  function wc(e) {
7298
- Ut = e;
7298
+ Zt = e;
7299
7299
  }
7300
7300
  function Sc(e) {
7301
- Ut = e;
7301
+ Zt = e;
7302
7302
  }
7303
7303
  const _d = { Field: yc, Run: bc, Get: wc, useValue: Sc }, Ec = "_f_q3r0i_1", Rc = {
7304
7304
  f: Ec
@@ -7579,7 +7579,7 @@ function zc({ head: e, load: t, list: n, item: r }) {
7579
7579
  const s = e;
7580
7580
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7581
7581
  /* @__PURE__ */ a.jsx(s, {}),
7582
- Ft.getSetting("s05") === 1 ? /* @__PURE__ */ a.jsx(ca, { list: n, load: t, item: r }) : /* @__PURE__ */ a.jsx(Yl, { list: n, load: t, item: r })
7582
+ Lt.getSetting("s05") === 1 ? /* @__PURE__ */ a.jsx(ca, { list: n, load: t, item: r }) : /* @__PURE__ */ a.jsx(Yl, { list: n, load: t, item: r })
7583
7583
  ] });
7584
7584
  }
7585
7585
  function Gc(e, t) {
@@ -7644,7 +7644,7 @@ const hd = { View: zc, Reducer: Gc, useValue: Zc, setValue: Uc }, gd = {
7644
7644
  tabs: i,
7645
7645
  modules: o
7646
7646
  }) {
7647
- const [l] = Pe.useTabs(s), [c, _] = m.useState(!1);
7647
+ const [l] = Oe.useTabs(s), [c, _] = m.useState(!1);
7648
7648
  return m.useEffect(() => {
7649
7649
  _(!0);
7650
7650
  }, []), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -7696,13 +7696,13 @@ export {
7696
7696
  ll as Action,
7697
7697
  ed as Alert,
7698
7698
  qc as Animation,
7699
- dn as Api,
7699
+ cn as Api,
7700
7700
  ad as Badge,
7701
7701
  Qc as Bookmarks,
7702
7702
  Vc as Browser,
7703
7703
  Ki as Button,
7704
7704
  pd as Company,
7705
- xn as Component,
7705
+ pn as Component,
7706
7706
  rd as DataBase,
7707
7707
  we as Event,
7708
7708
  we as Events,
@@ -7719,11 +7719,11 @@ export {
7719
7719
  hd as List,
7720
7720
  cd as Loading,
7721
7721
  it as Modal,
7722
- Ne as Notice,
7722
+ Ie as Notice,
7723
7723
  fd as Notifications,
7724
7724
  md as Pagination,
7725
7725
  vd as Phone,
7726
- Pe as Router,
7726
+ Oe as Router,
7727
7727
  Yl as Scrolling,
7728
7728
  _d as Search,
7729
7729
  Xc as Setting,
@@ -7734,6 +7734,6 @@ export {
7734
7734
  Jc as Tabs,
7735
7735
  xd as Test,
7736
7736
  nd as Triage,
7737
- Ft as User,
7737
+ Lt as User,
7738
7738
  K as WebRTC
7739
7739
  };