@elcrm/telegram 0.0.71 → 0.0.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import B, { useState as le, useEffect as Ge } from "react";
1
+ import $, { useState as le, useEffect as Ge } from "react";
2
2
  import './index.css';var Pt = { exports: {} }, Je = {};
3
3
  /**
4
4
  * @license React
@@ -13,13 +13,13 @@ var It;
13
13
  function Kt() {
14
14
  if (It) return Je;
15
15
  It = 1;
16
- var n = B, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
16
+ var n = $, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
17
17
  function j(_, m, E) {
18
- var d, R = {}, C = null, W = null;
19
- E !== void 0 && (C = "" + E), m.key !== void 0 && (C = "" + m.key), m.ref !== void 0 && (W = m.ref);
18
+ var d, R = {}, C = null, M = null;
19
+ E !== void 0 && (C = "" + E), m.key !== void 0 && (C = "" + m.key), m.ref !== void 0 && (M = m.ref);
20
20
  for (d in m) f.call(m, d) && !g.hasOwnProperty(d) && (R[d] = m[d]);
21
21
  if (_ && _.defaultProps) for (d in m = _.defaultProps, m) R[d] === void 0 && (R[d] = m[d]);
22
- return { $$typeof: o, type: _, key: C, ref: W, props: R, _owner: v.current };
22
+ return { $$typeof: o, type: _, key: C, ref: M, props: R, _owner: v.current };
23
23
  }
24
24
  return Je.Fragment = i, Je.jsx = j, Je.jsxs = j, Je;
25
25
  }
@@ -33,14 +33,14 @@ var qe = {};
33
33
  * This source code is licensed under the MIT license found in the
34
34
  * LICENSE file in the root directory of this source tree.
35
35
  */
36
- var Bt;
36
+ var $t;
37
37
  function Ht() {
38
- return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
39
- var n = B, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), _ = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), ne = Symbol.iterator, ke = "@@iterator";
38
+ return $t || ($t = 1, process.env.NODE_ENV !== "production" && function() {
39
+ var n = $, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), _ = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), oe = Symbol.iterator, ke = "@@iterator";
40
40
  function Ee(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
43
- var t = ne && e[ne] || e[ke];
43
+ var t = oe && e[oe] || e[ke];
44
44
  return typeof t == "function" ? t : null;
45
45
  }
46
46
  var F = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -61,23 +61,23 @@ function Ht() {
61
61
  p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
62
62
  }
63
63
  }
64
- var Se = !1, xe = !1, h = !1, k = !1, T = !1, $;
65
- $ = Symbol.for("react.module.reference");
66
- function L(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === f || e === g || T || e === v || e === E || e === d || k || e === W || Se || xe || h || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === R || e.$$typeof === j || e.$$typeof === _ || e.$$typeof === m || // This needs to include all possible module reference object
64
+ var Se = !1, xe = !1, h = !1, k = !1, T = !1, D;
65
+ D = Symbol.for("react.module.reference");
66
+ function W(e) {
67
+ return !!(typeof e == "string" || typeof e == "function" || e === f || e === g || T || e === v || e === E || e === d || k || e === M || Se || xe || h || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === R || e.$$typeof === j || e.$$typeof === _ || e.$$typeof === m || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
71
- e.$$typeof === $ || e.getModuleId !== void 0));
71
+ e.$$typeof === D || e.getModuleId !== void 0));
72
72
  }
73
- function oe(e, t, r) {
73
+ function ae(e, t, r) {
74
74
  var a = e.displayName;
75
75
  if (a)
76
76
  return a;
77
77
  var c = t.displayName || t.name || "";
78
78
  return c !== "" ? r + "(" + c + ")" : r;
79
79
  }
80
- function ae(e) {
80
+ function ie(e) {
81
81
  return e.displayName || "Context";
82
82
  }
83
83
  function A(e) {
@@ -105,12 +105,12 @@ function Ht() {
105
105
  switch (e.$$typeof) {
106
106
  case _:
107
107
  var t = e;
108
- return ae(t) + ".Consumer";
108
+ return ie(t) + ".Consumer";
109
109
  case j:
110
110
  var r = e;
111
- return ae(r._context) + ".Provider";
111
+ return ie(r._context) + ".Provider";
112
112
  case m:
113
- return oe(e, e.render, "ForwardRef");
113
+ return ae(e, e.render, "ForwardRef");
114
114
  case R:
115
115
  var a = e.displayName || null;
116
116
  return a !== null ? a : A(e.type) || "Memo";
@@ -125,14 +125,14 @@ function Ht() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var I = Object.assign, D = 0, J, q, K, Oe, je, we, Ce;
128
+ var I = Object.assign, B = 0, q, K, H, Oe, je, we, Ce;
129
129
  function Pe() {
130
130
  }
131
131
  Pe.__reactDisabledLog = !0;
132
132
  function nt() {
133
133
  {
134
- if (D === 0) {
135
- J = console.log, q = console.info, K = console.warn, Oe = console.error, je = console.group, we = console.groupCollapsed, Ce = console.groupEnd;
134
+ if (B === 0) {
135
+ q = console.log, K = console.info, H = console.warn, Oe = console.error, je = console.group, we = console.groupCollapsed, Ce = console.groupEnd;
136
136
  var e = {
137
137
  configurable: !0,
138
138
  enumerable: !0,
@@ -149,12 +149,12 @@ function Ht() {
149
149
  groupEnd: e
150
150
  });
151
151
  }
152
- D++;
152
+ B++;
153
153
  }
154
154
  }
155
155
  function ot() {
156
156
  {
157
- if (D--, D === 0) {
157
+ if (B--, B === 0) {
158
158
  var e = {
159
159
  configurable: !0,
160
160
  enumerable: !0,
@@ -162,13 +162,13 @@ function Ht() {
162
162
  };
163
163
  Object.defineProperties(console, {
164
164
  log: I({}, e, {
165
- value: J
165
+ value: q
166
166
  }),
167
167
  info: I({}, e, {
168
- value: q
168
+ value: K
169
169
  }),
170
170
  warn: I({}, e, {
171
- value: K
171
+ value: H
172
172
  }),
173
173
  error: I({}, e, {
174
174
  value: Oe
@@ -184,11 +184,11 @@ function Ht() {
184
184
  })
185
185
  });
186
186
  }
187
- D < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
187
+ B < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
190
  var ue = F.ReactCurrentDispatcher, ce;
191
- function G(e, t, r) {
191
+ function Z(e, t, r) {
192
192
  {
193
193
  if (ce === void 0)
194
194
  try {
@@ -201,16 +201,16 @@ function Ht() {
201
201
  ` + ce + e;
202
202
  }
203
203
  }
204
- var fe = !1, Z;
204
+ var fe = !1, X;
205
205
  {
206
206
  var at = typeof WeakMap == "function" ? WeakMap : Map;
207
- Z = new at();
207
+ X = new at();
208
208
  }
209
209
  function Ae(e, t) {
210
210
  if (!e || fe)
211
211
  return "";
212
212
  {
213
- var r = Z.get(e);
213
+ var r = X.get(e);
214
214
  if (r !== void 0)
215
215
  return r;
216
216
  }
@@ -265,7 +265,7 @@ function Ht() {
265
265
  if (y--, b--, b < 0 || s[y] !== x[b]) {
266
266
  var P = `
267
267
  ` + s[y].replace(" at new ", " at ");
268
- return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, P), P;
268
+ return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, P), P;
269
269
  }
270
270
  while (y >= 1 && b >= 0);
271
271
  break;
@@ -274,8 +274,8 @@ function Ht() {
274
274
  } finally {
275
275
  fe = !1, ue.current = p, ot(), Error.prepareStackTrace = c;
276
276
  }
277
- var Y = e ? e.displayName || e.name : "", N = Y ? G(Y) : "";
278
- return typeof e == "function" && Z.set(e, N), N;
277
+ var U = e ? e.displayName || e.name : "", N = U ? Z(U) : "";
278
+ return typeof e == "function" && X.set(e, N), N;
279
279
  }
280
280
  function it(e, t, r) {
281
281
  return Ae(e, !1);
@@ -284,29 +284,29 @@ function Ht() {
284
284
  var t = e.prototype;
285
285
  return !!(t && t.isReactComponent);
286
286
  }
287
- function X(e, t, r) {
287
+ function Q(e, t, r) {
288
288
  if (e == null)
289
289
  return "";
290
290
  if (typeof e == "function")
291
291
  return Ae(e, st(e));
292
292
  if (typeof e == "string")
293
- return G(e);
293
+ return Z(e);
294
294
  switch (e) {
295
295
  case E:
296
- return G("Suspense");
296
+ return Z("Suspense");
297
297
  case d:
298
- return G("SuspenseList");
298
+ return Z("SuspenseList");
299
299
  }
300
300
  if (typeof e == "object")
301
301
  switch (e.$$typeof) {
302
302
  case m:
303
303
  return it(e.render);
304
304
  case R:
305
- return X(e.type, t, r);
305
+ return Q(e.type, t, r);
306
306
  case C: {
307
307
  var a = e, c = a._payload, p = a._init;
308
308
  try {
309
- return X(p(c), t, r);
309
+ return Q(p(c), t, r);
310
310
  } catch {
311
311
  }
312
312
  }
@@ -314,9 +314,9 @@ function Ht() {
314
314
  return "";
315
315
  }
316
316
  var V = Object.prototype.hasOwnProperty, Te = {}, Ie = F.ReactDebugCurrentFrame;
317
- function Q(e) {
317
+ function ee(e) {
318
318
  if (e) {
319
- var t = e._owner, r = X(e.type, e._source, t ? t.type : null);
319
+ var t = e._owner, r = Q(e.type, e._source, t ? t.type : null);
320
320
  Ie.setExtraStackFrame(r);
321
321
  } else
322
322
  Ie.setExtraStackFrame(null);
@@ -336,7 +336,7 @@ function Ht() {
336
336
  } catch (y) {
337
337
  s = y;
338
338
  }
339
- s && !(s instanceof Error) && (Q(c), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof s), Q(null)), s instanceof Error && !(s.message in Te) && (Te[s.message] = !0, Q(c), S("Failed %s type: %s", r, s.message), Q(null));
339
+ s && !(s instanceof Error) && (ee(c), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof s), ee(null)), s instanceof Error && !(s.message in Te) && (Te[s.message] = !0, ee(c), S("Failed %s type: %s", r, s.message), ee(null));
340
340
  }
341
341
  }
342
342
  }
@@ -352,19 +352,19 @@ function Ht() {
352
352
  }
353
353
  function ft(e) {
354
354
  try {
355
- return Be(e), !1;
355
+ return $e(e), !1;
356
356
  } catch {
357
357
  return !0;
358
358
  }
359
359
  }
360
- function Be(e) {
360
+ function $e(e) {
361
361
  return "" + e;
362
362
  }
363
- function $e(e) {
363
+ function De(e) {
364
364
  if (ft(e))
365
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ct(e)), Be(e);
365
+ return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ct(e)), $e(e);
366
366
  }
367
- var De = F.ReactCurrentOwner, dt = {
367
+ var Be = F.ReactCurrentOwner, dt = {
368
368
  key: !0,
369
369
  ref: !0,
370
370
  __self: !0,
@@ -387,7 +387,7 @@ function Ht() {
387
387
  return e.key !== void 0;
388
388
  }
389
389
  function mt(e, t) {
390
- typeof e.ref == "string" && De.current;
390
+ typeof e.ref == "string" && Be.current;
391
391
  }
392
392
  function gt(e, t) {
393
393
  {
@@ -443,7 +443,7 @@ function Ht() {
443
443
  function bt(e, t, r, a, c) {
444
444
  {
445
445
  var p, l = {}, s = null, x = null;
446
- r !== void 0 && ($e(r), s = "" + r), vt(t) && ($e(t.key), s = "" + t.key), pt(t) && (x = t.ref, mt(t, c));
446
+ r !== void 0 && (De(r), s = "" + r), vt(t) && (De(t.key), s = "" + t.key), pt(t) && (x = t.ref, mt(t, c));
447
447
  for (p in t)
448
448
  V.call(t, p) && !dt.hasOwnProperty(p) && (l[p] = t[p]);
449
449
  if (e && e.defaultProps) {
@@ -455,13 +455,13 @@ function Ht() {
455
455
  var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
456
  s && gt(l, b), x && ht(l, b);
457
457
  }
458
- return yt(e, s, x, c, a, De.current, l);
458
+ return yt(e, s, x, c, a, Be.current, l);
459
459
  }
460
460
  }
461
461
  var pe = F.ReactCurrentOwner, Me = F.ReactDebugCurrentFrame;
462
- function U(e) {
462
+ function L(e) {
463
463
  if (e) {
464
- var t = e._owner, r = X(e.type, e._source, t ? t.type : null);
464
+ var t = e._owner, r = Q(e.type, e._source, t ? t.type : null);
465
465
  Me.setExtraStackFrame(r);
466
466
  } else
467
467
  Me.setExtraStackFrame(null);
@@ -509,7 +509,7 @@ Check the top-level render call using <` + r + ">.");
509
509
  return;
510
510
  Le[r] = !0;
511
511
  var a = "";
512
- e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + A(e._owner.type) + "."), U(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), U(null);
512
+ e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + A(e._owner.type) + "."), L(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), L(null);
513
513
  }
514
514
  }
515
515
  function Ye(e, t) {
@@ -561,17 +561,17 @@ Check the top-level render call using <` + r + ">.");
561
561
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
562
562
  var a = t[r];
563
563
  if (a !== "children" && a !== "key") {
564
- U(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), U(null);
564
+ L(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), L(null);
565
565
  break;
566
566
  }
567
567
  }
568
- e.ref !== null && (U(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
568
+ e.ref !== null && (L(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), L(null));
569
569
  }
570
570
  }
571
571
  var Ve = {};
572
572
  function ze(e, t, r, a, c, p) {
573
573
  {
574
- var l = L(e);
574
+ var l = W(e);
575
575
  if (!l) {
576
576
  var s = "";
577
577
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (s += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
@@ -588,8 +588,8 @@ Check the top-level render call using <` + r + ">.");
588
588
  if (P !== void 0)
589
589
  if (a)
590
590
  if (de(P)) {
591
- for (var Y = 0; Y < P.length; Y++)
592
- Ye(P[Y], e);
591
+ for (var U = 0; U < P.length; U++)
592
+ Ye(P[U], e);
593
593
  Object.freeze && Object.freeze(P);
594
594
  } else
595
595
  S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
@@ -625,18 +625,18 @@ React keys must be passed directly to JSX without using spread:
625
625
  }
626
626
  process.env.NODE_ENV === "production" ? Pt.exports = Kt() : Pt.exports = Ht();
627
627
  var u = Pt.exports;
628
- let H = {};
628
+ let G = {};
629
629
  var At;
630
630
  ((n) => {
631
631
  function o({ children: _ }) {
632
632
  const [m, E] = le(!1), [d, R] = le(!1);
633
- if (H.onClose = () => {
634
- M.BackButton(!1), R(!0), setTimeout(() => {
633
+ if (G.onClose = () => {
634
+ Y.BackButton(!1), R(!0), setTimeout(() => {
635
635
  E(!1), R(!1);
636
636
  }, 300);
637
637
  }, Ge(() => {
638
- m ? H.onClose() : (M.BackButton({
639
- callback: () => H.onClose()
638
+ m ? G.onClose() : (Y.BackButton({
639
+ callback: () => G.onClose()
640
640
  }), E(!0));
641
641
  }, []), !!m)
642
642
  return /* @__PURE__ */ u.jsx("div", { className: `modal-overlay ${d ? "closing" : ""}`, children: /* @__PURE__ */ u.jsx("div", { className: `modal-popup ${d ? "closing" : ""}`, children: /* @__PURE__ */ u.jsx("div", { children: _ }) }) });
@@ -646,17 +646,17 @@ var At;
646
646
  import_modules: _
647
647
  }) {
648
648
  let [m, E] = le([]);
649
- return H.x = (d) => {
649
+ return G.x = (d) => {
650
650
  E(d ? m.filter((R) => R.key !== d) : []);
651
651
  }, Ge(() => {
652
- _ && (H.i = _);
653
- }, []), H.add = (d, R = Date.now()) => {
652
+ _ && (G.i = _);
653
+ }, []), G.add = (d, R = Date.now()) => {
654
654
  E([...m, { key: R, item: d }]);
655
655
  }, /* @__PURE__ */ u.jsx(u.Fragment, { children: m.map((d) => d.item) });
656
656
  }
657
657
  n.Init = i;
658
658
  function f(_, m) {
659
- H.add(/* @__PURE__ */ u.jsx(o, { children: _ }, String(Date.now())), m);
659
+ G.add(/* @__PURE__ */ u.jsx(o, { children: _ }, String(Date.now())), m);
660
660
  }
661
661
  n.Add = f;
662
662
  function v(_) {
@@ -670,11 +670,11 @@ var At;
670
670
  }
671
671
  n.Create = v;
672
672
  function g() {
673
- H.onClose();
673
+ G.onClose();
674
674
  }
675
675
  n.Close = g;
676
676
  function j(_, m, E) {
677
- H.i && H.i(`${_}/modals/${m}.tsx`).then((d) => {
677
+ G.i && G.i(`${_}/modals/${m}.tsx`).then((d) => {
678
678
  d.default.Open(E);
679
679
  });
680
680
  }
@@ -688,7 +688,7 @@ const Lt = {
688
688
  iterations: 7,
689
689
  saltLength: 16
690
690
  };
691
- function $t(n) {
691
+ function Dt(n) {
692
692
  const o = Wt();
693
693
  o.CRYPTO_PARAMS ? o.CRYPTO_PARAMS = { ...o.CRYPTO_PARAMS, ...n } : o.CRYPTO_PARAMS = { ...Lt, ...n };
694
694
  }
@@ -763,10 +763,10 @@ const et = (n) => {
763
763
  return "";
764
764
  }
765
765
  };
766
- var ie;
766
+ var se;
767
767
  ((n) => {
768
768
  n.setKey = (o) => {
769
- $t({ key: o });
769
+ Dt({ key: o });
770
770
  }, n.enCode = (o) => {
771
771
  try {
772
772
  const i = JSON.stringify(o);
@@ -784,9 +784,9 @@ var ie;
784
784
  return !1;
785
785
  }
786
786
  }, n.setSecurityParams = (o, i) => {
787
- $t({ iterations: o, saltLength: i });
787
+ Dt({ iterations: o, saltLength: i });
788
788
  };
789
- })(ie || (ie = {}));
789
+ })(se || (se = {}));
790
790
  var Ke = {};
791
791
  /**
792
792
  * @license React
@@ -797,17 +797,17 @@ var Ke = {};
797
797
  * This source code is licensed under the MIT license found in the
798
798
  * LICENSE file in the root directory of this source tree.
799
799
  */
800
- var Dt;
800
+ var Bt;
801
801
  function rr() {
802
- if (Dt) return Ke;
803
- Dt = 1;
804
- var n = B, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
802
+ if (Bt) return Ke;
803
+ Bt = 1;
804
+ var n = $, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
805
805
  function j(_, m, E) {
806
- var d, R = {}, C = null, W = null;
807
- E !== void 0 && (C = "" + E), m.key !== void 0 && (C = "" + m.key), m.ref !== void 0 && (W = m.ref);
806
+ var d, R = {}, C = null, M = null;
807
+ E !== void 0 && (C = "" + E), m.key !== void 0 && (C = "" + m.key), m.ref !== void 0 && (M = m.ref);
808
808
  for (d in m) f.call(m, d) && !g.hasOwnProperty(d) && (R[d] = m[d]);
809
809
  if (_ && _.defaultProps) for (d in m = _.defaultProps, m) R[d] === void 0 && (R[d] = m[d]);
810
- return { $$typeof: o, type: _, key: C, ref: W, props: R, _owner: v.current };
810
+ return { $$typeof: o, type: _, key: C, ref: M, props: R, _owner: v.current };
811
811
  }
812
812
  return Ke.Fragment = i, Ke.jsx = j, Ke.jsxs = j, Ke;
813
813
  }
@@ -824,11 +824,11 @@ var Ze = {};
824
824
  var Ft;
825
825
  function nr() {
826
826
  return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && function() {
827
- var n = B, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), _ = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), ne = Symbol.iterator, ke = "@@iterator";
827
+ var n = $, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), _ = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), oe = Symbol.iterator, ke = "@@iterator";
828
828
  function Ee(e) {
829
829
  if (e === null || typeof e != "object")
830
830
  return null;
831
- var t = ne && e[ne] || e[ke];
831
+ var t = oe && e[oe] || e[ke];
832
832
  return typeof t == "function" ? t : null;
833
833
  }
834
834
  var F = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -849,23 +849,23 @@ function nr() {
849
849
  p.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, p);
850
850
  }
851
851
  }
852
- var Se = !1, xe = !1, h = !1, k = !1, T = !1, $;
853
- $ = Symbol.for("react.module.reference");
854
- function L(e) {
855
- return !!(typeof e == "string" || typeof e == "function" || e === f || e === g || T || e === v || e === E || e === d || k || e === W || Se || xe || h || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === R || e.$$typeof === j || e.$$typeof === _ || e.$$typeof === m || // This needs to include all possible module reference object
852
+ var Se = !1, xe = !1, h = !1, k = !1, T = !1, D;
853
+ D = Symbol.for("react.module.reference");
854
+ function W(e) {
855
+ return !!(typeof e == "string" || typeof e == "function" || e === f || e === g || T || e === v || e === E || e === d || k || e === M || Se || xe || h || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === R || e.$$typeof === j || e.$$typeof === _ || e.$$typeof === m || // This needs to include all possible module reference object
856
856
  // types supported by any Flight configuration anywhere since
857
857
  // we don't know which Flight build this will end up being used
858
858
  // with.
859
- e.$$typeof === $ || e.getModuleId !== void 0));
859
+ e.$$typeof === D || e.getModuleId !== void 0));
860
860
  }
861
- function oe(e, t, r) {
861
+ function ae(e, t, r) {
862
862
  var a = e.displayName;
863
863
  if (a)
864
864
  return a;
865
865
  var c = t.displayName || t.name || "";
866
866
  return c !== "" ? r + "(" + c + ")" : r;
867
867
  }
868
- function ae(e) {
868
+ function ie(e) {
869
869
  return e.displayName || "Context";
870
870
  }
871
871
  function A(e) {
@@ -893,12 +893,12 @@ function nr() {
893
893
  switch (e.$$typeof) {
894
894
  case _:
895
895
  var t = e;
896
- return ae(t) + ".Consumer";
896
+ return ie(t) + ".Consumer";
897
897
  case j:
898
898
  var r = e;
899
- return ae(r._context) + ".Provider";
899
+ return ie(r._context) + ".Provider";
900
900
  case m:
901
- return oe(e, e.render, "ForwardRef");
901
+ return ae(e, e.render, "ForwardRef");
902
902
  case R:
903
903
  var a = e.displayName || null;
904
904
  return a !== null ? a : A(e.type) || "Memo";
@@ -913,14 +913,14 @@ function nr() {
913
913
  }
914
914
  return null;
915
915
  }
916
- var I = Object.assign, D = 0, J, q, K, Oe, je, we, Ce;
916
+ var I = Object.assign, B = 0, q, K, H, Oe, je, we, Ce;
917
917
  function Pe() {
918
918
  }
919
919
  Pe.__reactDisabledLog = !0;
920
920
  function nt() {
921
921
  {
922
- if (D === 0) {
923
- J = console.log, q = console.info, K = console.warn, Oe = console.error, je = console.group, we = console.groupCollapsed, Ce = console.groupEnd;
922
+ if (B === 0) {
923
+ q = console.log, K = console.info, H = console.warn, Oe = console.error, je = console.group, we = console.groupCollapsed, Ce = console.groupEnd;
924
924
  var e = {
925
925
  configurable: !0,
926
926
  enumerable: !0,
@@ -937,12 +937,12 @@ function nr() {
937
937
  groupEnd: e
938
938
  });
939
939
  }
940
- D++;
940
+ B++;
941
941
  }
942
942
  }
943
943
  function ot() {
944
944
  {
945
- if (D--, D === 0) {
945
+ if (B--, B === 0) {
946
946
  var e = {
947
947
  configurable: !0,
948
948
  enumerable: !0,
@@ -950,13 +950,13 @@ function nr() {
950
950
  };
951
951
  Object.defineProperties(console, {
952
952
  log: I({}, e, {
953
- value: J
953
+ value: q
954
954
  }),
955
955
  info: I({}, e, {
956
- value: q
956
+ value: K
957
957
  }),
958
958
  warn: I({}, e, {
959
- value: K
959
+ value: H
960
960
  }),
961
961
  error: I({}, e, {
962
962
  value: Oe
@@ -972,11 +972,11 @@ function nr() {
972
972
  })
973
973
  });
974
974
  }
975
- D < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
975
+ B < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
976
976
  }
977
977
  }
978
978
  var ue = F.ReactCurrentDispatcher, ce;
979
- function G(e, t, r) {
979
+ function Z(e, t, r) {
980
980
  {
981
981
  if (ce === void 0)
982
982
  try {
@@ -989,16 +989,16 @@ function nr() {
989
989
  ` + ce + e;
990
990
  }
991
991
  }
992
- var fe = !1, Z;
992
+ var fe = !1, X;
993
993
  {
994
994
  var at = typeof WeakMap == "function" ? WeakMap : Map;
995
- Z = new at();
995
+ X = new at();
996
996
  }
997
997
  function Ae(e, t) {
998
998
  if (!e || fe)
999
999
  return "";
1000
1000
  {
1001
- var r = Z.get(e);
1001
+ var r = X.get(e);
1002
1002
  if (r !== void 0)
1003
1003
  return r;
1004
1004
  }
@@ -1053,7 +1053,7 @@ function nr() {
1053
1053
  if (y--, b--, b < 0 || s[y] !== x[b]) {
1054
1054
  var P = `
1055
1055
  ` + s[y].replace(" at new ", " at ");
1056
- return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, P), P;
1056
+ return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, P), P;
1057
1057
  }
1058
1058
  while (y >= 1 && b >= 0);
1059
1059
  break;
@@ -1062,8 +1062,8 @@ function nr() {
1062
1062
  } finally {
1063
1063
  fe = !1, ue.current = p, ot(), Error.prepareStackTrace = c;
1064
1064
  }
1065
- var Y = e ? e.displayName || e.name : "", N = Y ? G(Y) : "";
1066
- return typeof e == "function" && Z.set(e, N), N;
1065
+ var U = e ? e.displayName || e.name : "", N = U ? Z(U) : "";
1066
+ return typeof e == "function" && X.set(e, N), N;
1067
1067
  }
1068
1068
  function it(e, t, r) {
1069
1069
  return Ae(e, !1);
@@ -1072,29 +1072,29 @@ function nr() {
1072
1072
  var t = e.prototype;
1073
1073
  return !!(t && t.isReactComponent);
1074
1074
  }
1075
- function X(e, t, r) {
1075
+ function Q(e, t, r) {
1076
1076
  if (e == null)
1077
1077
  return "";
1078
1078
  if (typeof e == "function")
1079
1079
  return Ae(e, st(e));
1080
1080
  if (typeof e == "string")
1081
- return G(e);
1081
+ return Z(e);
1082
1082
  switch (e) {
1083
1083
  case E:
1084
- return G("Suspense");
1084
+ return Z("Suspense");
1085
1085
  case d:
1086
- return G("SuspenseList");
1086
+ return Z("SuspenseList");
1087
1087
  }
1088
1088
  if (typeof e == "object")
1089
1089
  switch (e.$$typeof) {
1090
1090
  case m:
1091
1091
  return it(e.render);
1092
1092
  case R:
1093
- return X(e.type, t, r);
1093
+ return Q(e.type, t, r);
1094
1094
  case C: {
1095
1095
  var a = e, c = a._payload, p = a._init;
1096
1096
  try {
1097
- return X(p(c), t, r);
1097
+ return Q(p(c), t, r);
1098
1098
  } catch {
1099
1099
  }
1100
1100
  }
@@ -1102,9 +1102,9 @@ function nr() {
1102
1102
  return "";
1103
1103
  }
1104
1104
  var V = Object.prototype.hasOwnProperty, Te = {}, Ie = F.ReactDebugCurrentFrame;
1105
- function Q(e) {
1105
+ function ee(e) {
1106
1106
  if (e) {
1107
- var t = e._owner, r = X(e.type, e._source, t ? t.type : null);
1107
+ var t = e._owner, r = Q(e.type, e._source, t ? t.type : null);
1108
1108
  Ie.setExtraStackFrame(r);
1109
1109
  } else
1110
1110
  Ie.setExtraStackFrame(null);
@@ -1124,7 +1124,7 @@ function nr() {
1124
1124
  } catch (y) {
1125
1125
  s = y;
1126
1126
  }
1127
- s && !(s instanceof Error) && (Q(c), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof s), Q(null)), s instanceof Error && !(s.message in Te) && (Te[s.message] = !0, Q(c), S("Failed %s type: %s", r, s.message), Q(null));
1127
+ s && !(s instanceof Error) && (ee(c), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", r, l, typeof s), ee(null)), s instanceof Error && !(s.message in Te) && (Te[s.message] = !0, ee(c), S("Failed %s type: %s", r, s.message), ee(null));
1128
1128
  }
1129
1129
  }
1130
1130
  }
@@ -1140,19 +1140,19 @@ function nr() {
1140
1140
  }
1141
1141
  function ft(e) {
1142
1142
  try {
1143
- return Be(e), !1;
1143
+ return $e(e), !1;
1144
1144
  } catch {
1145
1145
  return !0;
1146
1146
  }
1147
1147
  }
1148
- function Be(e) {
1148
+ function $e(e) {
1149
1149
  return "" + e;
1150
1150
  }
1151
- function $e(e) {
1151
+ function De(e) {
1152
1152
  if (ft(e))
1153
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ct(e)), Be(e);
1153
+ return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ct(e)), $e(e);
1154
1154
  }
1155
- var De = F.ReactCurrentOwner, dt = {
1155
+ var Be = F.ReactCurrentOwner, dt = {
1156
1156
  key: !0,
1157
1157
  ref: !0,
1158
1158
  __self: !0,
@@ -1175,7 +1175,7 @@ function nr() {
1175
1175
  return e.key !== void 0;
1176
1176
  }
1177
1177
  function mt(e, t) {
1178
- typeof e.ref == "string" && De.current;
1178
+ typeof e.ref == "string" && Be.current;
1179
1179
  }
1180
1180
  function gt(e, t) {
1181
1181
  {
@@ -1231,7 +1231,7 @@ function nr() {
1231
1231
  function bt(e, t, r, a, c) {
1232
1232
  {
1233
1233
  var p, l = {}, s = null, x = null;
1234
- r !== void 0 && ($e(r), s = "" + r), vt(t) && ($e(t.key), s = "" + t.key), pt(t) && (x = t.ref, mt(t));
1234
+ r !== void 0 && (De(r), s = "" + r), vt(t) && (De(t.key), s = "" + t.key), pt(t) && (x = t.ref, mt(t));
1235
1235
  for (p in t)
1236
1236
  V.call(t, p) && !dt.hasOwnProperty(p) && (l[p] = t[p]);
1237
1237
  if (e && e.defaultProps) {
@@ -1243,13 +1243,13 @@ function nr() {
1243
1243
  var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1244
1244
  s && gt(l, b), x && ht(l, b);
1245
1245
  }
1246
- return yt(e, s, x, c, a, De.current, l);
1246
+ return yt(e, s, x, c, a, Be.current, l);
1247
1247
  }
1248
1248
  }
1249
1249
  var pe = F.ReactCurrentOwner, Me = F.ReactDebugCurrentFrame;
1250
- function U(e) {
1250
+ function L(e) {
1251
1251
  if (e) {
1252
- var t = e._owner, r = X(e.type, e._source, t ? t.type : null);
1252
+ var t = e._owner, r = Q(e.type, e._source, t ? t.type : null);
1253
1253
  Me.setExtraStackFrame(r);
1254
1254
  } else
1255
1255
  Me.setExtraStackFrame(null);
@@ -1297,7 +1297,7 @@ Check the top-level render call using <` + r + ">.");
1297
1297
  return;
1298
1298
  Le[r] = !0;
1299
1299
  var a = "";
1300
- e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + A(e._owner.type) + "."), U(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), U(null);
1300
+ e && e._owner && e._owner !== pe.current && (a = " It was passed a child from " + A(e._owner.type) + "."), L(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, a), L(null);
1301
1301
  }
1302
1302
  }
1303
1303
  function Ye(e, t) {
@@ -1349,17 +1349,17 @@ Check the top-level render call using <` + r + ">.");
1349
1349
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
1350
1350
  var a = t[r];
1351
1351
  if (a !== "children" && a !== "key") {
1352
- U(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), U(null);
1352
+ L(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), L(null);
1353
1353
  break;
1354
1354
  }
1355
1355
  }
1356
- e.ref !== null && (U(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
1356
+ e.ref !== null && (L(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), L(null));
1357
1357
  }
1358
1358
  }
1359
1359
  var Ve = {};
1360
1360
  function ze(e, t, r, a, c, p) {
1361
1361
  {
1362
- var l = L(e);
1362
+ var l = W(e);
1363
1363
  if (!l) {
1364
1364
  var s = "";
1365
1365
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (s += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
@@ -1376,8 +1376,8 @@ Check the top-level render call using <` + r + ">.");
1376
1376
  if (P !== void 0)
1377
1377
  if (a)
1378
1378
  if (de(P)) {
1379
- for (var Y = 0; Y < P.length; Y++)
1380
- Ye(P[Y], e);
1379
+ for (var U = 0; U < P.length; U++)
1380
+ Ye(P[U], e);
1381
1381
  Object.freeze && Object.freeze(P);
1382
1382
  } else
1383
1383
  S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
@@ -1414,7 +1414,7 @@ React keys must be passed directly to JSX without using spread:
1414
1414
  process.env.NODE_ENV === "production" ? rr() : nr();
1415
1415
  const or = "0.0.37", Vt = {
1416
1416
  version: or
1417
- }, ee = {}, Tt = {
1417
+ }, te = {}, Tt = {
1418
1418
  module: "",
1419
1419
  v: Vt.version,
1420
1420
  page: "Main",
@@ -1427,7 +1427,7 @@ function ye() {
1427
1427
  }
1428
1428
  ye().elcrm || (ye().elcrm = {});
1429
1429
  Object.assign(ye().elcrm, { router: Vt.version });
1430
- function te(n) {
1430
+ function re(n) {
1431
1431
  const o = ye();
1432
1432
  o.ROUTER_PARAMS ? o.ROUTER_PARAMS = { ...o.ROUTER_PARAMS, ...n } : o.ROUTER_PARAMS = { ...Tt, ...n };
1433
1433
  }
@@ -1441,7 +1441,7 @@ function _e(n) {
1441
1441
  ...n
1442
1442
  } : o.ROUTER_PARAMS.LISTENER = { ...n };
1443
1443
  }
1444
- function re() {
1444
+ function ne() {
1445
1445
  return ye().ROUTER_PARAMS.LISTENER || Tt.LISTENER;
1446
1446
  }
1447
1447
  var Re;
@@ -1450,8 +1450,8 @@ var Re;
1450
1450
  var h;
1451
1451
  let k = sessionStorage.getItem("f");
1452
1452
  if (k) {
1453
- if (k = ie.deCode(k), !k) return !1;
1454
- te({
1453
+ if (k = se.deCode(k), !k) return !1;
1454
+ re({
1455
1455
  id: k.id,
1456
1456
  tab: k.tab,
1457
1457
  page: k.page,
@@ -1461,7 +1461,7 @@ var Re;
1461
1461
  module_admin: k.module_admin
1462
1462
  });
1463
1463
  } else
1464
- te({
1464
+ re({
1465
1465
  id: 0,
1466
1466
  tab: "",
1467
1467
  page: (h = localStorage.getItem("d")) != null && h.length ? w().page : w().auth,
@@ -1470,7 +1470,7 @@ var Re;
1470
1470
  return !0;
1471
1471
  }
1472
1472
  function i() {
1473
- ee.id = 0, ee.tab = "", ee.page = w().page, ee.module = w().module;
1473
+ te.id = 0, te.tab = "", te.page = w().page, te.module = w().module;
1474
1474
  }
1475
1475
  n.Reset = i;
1476
1476
  function f({
@@ -1478,24 +1478,24 @@ var Re;
1478
1478
  page: k = w().page,
1479
1479
  auth: T = w().auth
1480
1480
  }) {
1481
- te({ page: k, module: h, auth: T }), o();
1481
+ re({ page: k, module: h, auth: T }), o();
1482
1482
  }
1483
1483
  n.Default = f;
1484
1484
  function v(h) {
1485
- let k = (L) => (te({ page: L }), L);
1486
- const [T, $] = B.useState(
1485
+ let k = (W) => (re({ page: W }), W);
1486
+ const [T, D] = $.useState(
1487
1487
  j() || h && k(h) || w().page
1488
1488
  );
1489
- return _e({ page: (L) => {
1490
- $(L);
1489
+ return _e({ page: (W) => {
1490
+ D(W);
1491
1491
  } }), T;
1492
1492
  }
1493
1493
  n.usePage = v;
1494
1494
  function g(h, k = !0, T = {}) {
1495
- te({ page: h, ...T }), sessionStorage.setItem(
1495
+ re({ page: h, ...T }), sessionStorage.setItem(
1496
1496
  w().STORAGE,
1497
- ie.enCode(w())
1498
- ), k && re().page(h);
1497
+ se.enCode(w())
1498
+ ), k && ne().page(h);
1499
1499
  }
1500
1500
  n.setPage = g;
1501
1501
  function j() {
@@ -1507,17 +1507,17 @@ var Re;
1507
1507
  }
1508
1508
  n.isPage = _;
1509
1509
  function m(h, k) {
1510
- const [T, $] = B.useState(
1510
+ const [T, D] = $.useState(
1511
1511
  d() || h || w().module
1512
1512
  );
1513
- return _e({ module: $ }), T;
1513
+ return _e({ module: D }), T;
1514
1514
  }
1515
1515
  n.useModule = m;
1516
1516
  function E(h, k = !0) {
1517
- te({ module: h }), sessionStorage.setItem(
1517
+ re({ module: h }), sessionStorage.setItem(
1518
1518
  w().STORAGE,
1519
- ie.enCode(w())
1520
- ), k && re().module(h);
1519
+ se.enCode(w())
1520
+ ), k && ne().module(h);
1521
1521
  }
1522
1522
  n.setModule = E;
1523
1523
  function d() {
@@ -1530,34 +1530,34 @@ var Re;
1530
1530
  n.isModule = R;
1531
1531
  function C(h, k) {
1532
1532
  if (typeof h != "function") {
1533
- const [T, $] = B.useState(!k), [L, oe] = B.useState(h || ne());
1534
- return _e({ tabs: oe }), k && B.useEffect(() => {
1535
- $(!0);
1536
- }, []), [L, T];
1533
+ const [T, D] = $.useState(!k), [W, ae] = $.useState(h || oe());
1534
+ return _e({ tabs: ae }), k && $.useEffect(() => {
1535
+ D(!0);
1536
+ }, []), [W, T];
1537
1537
  } else
1538
1538
  _e({ tabs: h });
1539
1539
  }
1540
1540
  n.useTabs = C;
1541
- async function W(h, k = !0) {
1542
- te({ tab: h }), sessionStorage.setItem(
1541
+ async function M(h, k = !0) {
1542
+ re({ tab: h }), sessionStorage.setItem(
1543
1543
  w().STORAGE,
1544
- ie.enCode(w())
1545
- ), k && (re().tabs && re().tabs(h));
1544
+ se.enCode(w())
1545
+ ), k && (ne().tabs && ne().tabs(h));
1546
1546
  }
1547
- n.setTabs = W;
1548
- function ne() {
1547
+ n.setTabs = M;
1548
+ function oe() {
1549
1549
  return w().tab;
1550
1550
  }
1551
- n.getTabs = ne;
1551
+ n.getTabs = oe;
1552
1552
  function ke(h) {
1553
1553
  return w().tab === h;
1554
1554
  }
1555
1555
  n.isTabs = ke;
1556
1556
  function Ee(h) {
1557
1557
  if (typeof h != "function") {
1558
- const [k, T] = B.useState(h || be());
1559
- return _e({ id: ($) => {
1560
- T($);
1558
+ const [k, T] = $.useState(h || be());
1559
+ return _e({ id: (D) => {
1560
+ T(D);
1561
1561
  } }), k;
1562
1562
  } else
1563
1563
  _e({ id: h });
@@ -1567,10 +1567,10 @@ var Re;
1567
1567
  }
1568
1568
  n.subId = F;
1569
1569
  async function S(h, k = !0) {
1570
- te({ id: h }), sessionStorage.setItem(
1570
+ re({ id: h }), sessionStorage.setItem(
1571
1571
  w().STORAGE,
1572
- ie.enCode(w())
1573
- ), k && re().id(h);
1572
+ se.enCode(w())
1573
+ ), k && ne().id(h);
1574
1574
  }
1575
1575
  n.setId = S;
1576
1576
  function be() {
@@ -1582,18 +1582,18 @@ var Re;
1582
1582
  }
1583
1583
  n.isId = Se;
1584
1584
  async function xe(h) {
1585
- var k, T, $, L, oe, ae, A, I;
1586
- const { page: D, module: J, tab: q, id: K } = h;
1587
- D !== void 0 && (ee.page = D), J !== void 0 && (ee.module = J), q !== void 0 && (ee.tab = q), K !== void 0 && (ee.id = K), te({ ...ee }), K !== void 0 && ((T = (k = re()).id) == null || T.call(k, K)), q !== void 0 && ((L = ($ = re()).tabs) == null || L.call($, q)), J !== void 0 && ((ae = (oe = re()).module) == null || ae.call(oe, J)), D !== void 0 && ((I = (A = re()).page) == null || I.call(A, D)), sessionStorage.setItem(
1585
+ var k, T, D, W, ae, ie, A, I;
1586
+ const { page: B, module: q, tab: K, id: H } = h;
1587
+ B !== void 0 && (te.page = B), q !== void 0 && (te.module = q), K !== void 0 && (te.tab = K), H !== void 0 && (te.id = H), re({ ...te }), H !== void 0 && ((T = (k = ne()).id) == null || T.call(k, H)), K !== void 0 && ((W = (D = ne()).tabs) == null || W.call(D, K)), q !== void 0 && ((ie = (ae = ne()).module) == null || ie.call(ae, q)), B !== void 0 && ((I = (A = ne()).page) == null || I.call(A, B)), sessionStorage.setItem(
1588
1588
  w().STORAGE,
1589
- ie.enCode(w())
1589
+ se.enCode(w())
1590
1590
  );
1591
1591
  }
1592
1592
  n.navigate = xe;
1593
1593
  })(Re || (Re = {}));
1594
1594
  let tt = {};
1595
1595
  function ar() {
1596
- const [n, o] = B.useState([]);
1596
+ const [n, o] = $.useState([]);
1597
1597
  return tt.set = (i) => {
1598
1598
  o([...n, i]);
1599
1599
  }, tt.del = (i) => {
@@ -1608,8 +1608,8 @@ function ir(n) {
1608
1608
  }
1609
1609
  function sr(n) {
1610
1610
  const o = n.data;
1611
- let [i] = B.useState("show"), [f, v] = B.useState(!1);
1612
- B.useEffect(() => {
1611
+ let [i] = $.useState("show"), [f, v] = $.useState(!1);
1612
+ $.useEffect(() => {
1613
1613
  setTimeout(function() {
1614
1614
  v(!0), tt.del(o.key);
1615
1615
  }, 5e3);
@@ -1659,7 +1659,7 @@ let rt = {
1659
1659
  }, He = () => {
1660
1660
  };
1661
1661
  const zt = ({ children: n, title: o, isOverlay: i = !0 }) => {
1662
- const [f, v] = B.useState(!1);
1662
+ const [f, v] = $.useState(!1);
1663
1663
  return He = () => {
1664
1664
  v(!0), setTimeout(() => {
1665
1665
  Jt.onClose();
@@ -1704,7 +1704,7 @@ const zt = ({ children: n, title: o, isOverlay: i = !0 }) => {
1704
1704
  onPageChange: v,
1705
1705
  direction: g = "row"
1706
1706
  }) => {
1707
- const [j, _] = B.useState(null), [m, E] = B.useState(
1707
+ const [j, _] = $.useState(null), [m, E] = $.useState(
1708
1708
  f ? Mt(n || [], f) : 0
1709
1709
  );
1710
1710
  return Jt.onClose = () => {
@@ -1743,8 +1743,8 @@ const zt = ({ children: n, title: o, isOverlay: i = !0 }) => {
1743
1743
  MainButton: {},
1744
1744
  BackButton: {}
1745
1745
  };
1746
- let z = {};
1747
- z.dark = {
1746
+ let J = {};
1747
+ J.dark = {
1748
1748
  "--tg-theme-subtitle-text-color": "#98989e",
1749
1749
  "--tg-theme-destructive-text-color": "#e53935",
1750
1750
  "--tg-theme-section-separator-color": "#545458",
@@ -1761,7 +1761,7 @@ z.dark = {
1761
1761
  "--tg-theme-text-color": "#ffffff",
1762
1762
  "--tg-theme-section-bg-color": "#2c2c2e"
1763
1763
  };
1764
- z.light = {
1764
+ J.light = {
1765
1765
  "--tg-theme-subtitle-text-color": "#8e8e93",
1766
1766
  "--tg-theme-destructive-text-color": "#ff3b30",
1767
1767
  "--tg-theme-section-separator-color": "#c8c7cc",
@@ -1778,7 +1778,7 @@ z.light = {
1778
1778
  "--tg-theme-text-color": "#000000",
1779
1779
  "--tg-theme-section-bg-color": "#ffffff"
1780
1780
  };
1781
- z.users = {
1781
+ J.users = {
1782
1782
  "--tg-theme-bg-color": "#000000",
1783
1783
  "--tg-theme-text-color": "#ffffff",
1784
1784
  "--tg-theme-hint-color": "#98989e",
@@ -1791,11 +1791,11 @@ const fr = () => {
1791
1791
  if (location.hostname === "localhost") {
1792
1792
  let [n, o] = le(!1), [i, f] = le(!1), [v, g] = le("dark"), [j, _] = le(!1), [m, E] = le(!1);
1793
1793
  he.is = !0, he.MainButton.set = o, he.BackButton.set = f, Ge(() => {
1794
- z[v]["--tg-theme-bg-color-alpha"] = z[v]["--tg-theme-bg-color"] + "b3", z[v]["--tg-theme-secondary-bg-color-alpha"] = z[v]["--tg-theme-secondary-bg-color"] + "d3";
1795
- for (let C in z[v])
1794
+ J[v]["--tg-theme-bg-color-alpha"] = J[v]["--tg-theme-bg-color"] + "b3", J[v]["--tg-theme-secondary-bg-color-alpha"] = J[v]["--tg-theme-secondary-bg-color"] + "d3";
1795
+ for (let C in J[v])
1796
1796
  document.documentElement.style.setProperty(
1797
1797
  C,
1798
- z[v][C]
1798
+ J[v][C]
1799
1799
  );
1800
1800
  Xe.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1801
1801
  "--tg-safe-area-inset-bottom",
@@ -1803,8 +1803,8 @@ const fr = () => {
1803
1803
  );
1804
1804
  }, []);
1805
1805
  let d = (C) => {
1806
- for (let W in z[C])
1807
- document.documentElement.style.setProperty(W, z[C][W]);
1806
+ for (let M in J[C])
1807
+ document.documentElement.style.setProperty(M, J[C][M]);
1808
1808
  g(C), _(!1);
1809
1809
  }, R = () => {
1810
1810
  _(!1), E(!0);
@@ -1892,18 +1892,18 @@ const fr = () => {
1892
1892
  /* @__PURE__ */ u.jsx("fieldset", {}),
1893
1893
  /* @__PURE__ */ u.jsx("div", { onClick: i, children: " Сохранить " })
1894
1894
  ] }) });
1895
- }, se = {
1895
+ }, z = {
1896
1896
  state: [!1],
1897
1897
  listen: [],
1898
1898
  router: (n) => {
1899
- n === !1 ? (M.WebApp.BackButton.isVisible = !1, M.WebApp.BackButton.offClick(se.listen[0]), se.listen.shift(), M.WebApp.BackButton.state.length !== 1 && M.WebApp.BackButton.state.pop()) : (M.WebApp.BackButton.isVisible = !0, M.WebApp.BackButton.offClick(se.listen[0]), se.listen.shift(), se.listen.push(() => {
1899
+ n === !1 ? (Y.WebApp.BackButton.isVisible = !1, Y.WebApp.BackButton.offClick(z.listen[0]), z.listen.shift(), z.state.length !== 1 && z.state.pop()) : (Y.WebApp.BackButton.isVisible = !0, Y.WebApp.BackButton.offClick(z.listen[0]), z.listen.shift(), z.listen.push(() => {
1900
1900
  var i;
1901
- let o = M.WebApp.BackButton.state.pop();
1901
+ let o = z.state.pop();
1902
1902
  o.page !== void 0 ? Re.setPage(o.page) : (i = o.callback) == null || i.call(o);
1903
- }), M.WebApp.BackButton.onClick(se.listen[0]));
1903
+ }), Y.WebApp.BackButton.onClick(z.listen[0]));
1904
1904
  }
1905
1905
  };
1906
- var M;
1906
+ var Y;
1907
1907
  ((n) => {
1908
1908
  n.WebApp = window.Telegram.WebApp, n.getUser = () => {
1909
1909
  var o;
@@ -1924,10 +1924,10 @@ var M;
1924
1924
  )));
1925
1925
  }
1926
1926
  }, n.BackButton = (o) => {
1927
- he.is ? he.BackButton.set(o) : (se.state.push(o), se.router(o));
1927
+ he.is ? he.BackButton.set(o) : (z.state.push(o), z.router(o));
1928
1928
  };
1929
- })(M || (M = {}));
1930
- const vr = qt, mr = zt, gr = M.BackButton, hr = M.Notice, { Header: yr, toggleBottomSheet: br, Modal: _r, MainButton: Rr, WebApp: Xe, getUser: kr } = M;
1929
+ })(Y || (Y = {}));
1930
+ const vr = qt, mr = zt, gr = Y.BackButton, hr = Y.Notice, { Header: yr, toggleBottomSheet: br, Modal: _r, MainButton: Rr, WebApp: Xe, getUser: kr } = Y;
1931
1931
  export {
1932
1932
  gr as BackButton,
1933
1933
  mr as BottomSheet,
@@ -1937,7 +1937,7 @@ export {
1937
1937
  _r as Modal,
1938
1938
  hr as Notice,
1939
1939
  Xe as WebApp,
1940
- M as default,
1940
+ Y as default,
1941
1941
  kr as getUser,
1942
1942
  br as toggleBottomSheet
1943
1943
  };