@elcrm/telegram 0.0.89 → 0.0.90

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,5 +1,5 @@
1
1
  import M, { useState as ce, useEffect as tt } from "react";
2
- import './index.css';var It = { exports: {} }, Ze = {};
2
+ import './index.css';var $t = { exports: {} }, Ze = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -9,10 +9,10 @@ import './index.css';var It = { exports: {} }, Ze = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var Nt;
13
- function Gt() {
14
- if (Nt) return Ze;
15
- Nt = 1;
12
+ var Mt;
13
+ function qt() {
14
+ if (Mt) return Ze;
15
+ Mt = 1;
16
16
  var r = M, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, c = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
17
17
  function E(R, d, x) {
18
18
  var g, m = {}, _ = null, C = null;
@@ -33,9 +33,9 @@ var Xe = {};
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 Mt;
36
+ var Dt;
37
37
  function Zt() {
38
- return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && function() {
38
+ return Dt || (Dt = 1, process.env.NODE_ENV !== "production" && function() {
39
39
  var r = M, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), R = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), $ = Symbol.iterator, Ee = "@@iterator";
40
40
  function we(e) {
41
41
  if (e === null || typeof e != "object")
@@ -44,7 +44,7 @@ function Zt() {
44
44
  return typeof t == "function" ? t : null;
45
45
  }
46
46
  var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
- function A(e) {
47
+ function j(e) {
48
48
  {
49
49
  for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
50
50
  o[i - 1] = arguments[i];
@@ -77,13 +77,13 @@ function Zt() {
77
77
  var v = t.displayName || t.name || "";
78
78
  return v !== "" ? o + "(" + v + ")" : o;
79
79
  }
80
- function G(e) {
80
+ function q(e) {
81
81
  return e.displayName || "Context";
82
82
  }
83
83
  function I(e) {
84
84
  if (e == null)
85
85
  return null;
86
- if (typeof e.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
86
+ if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
87
87
  return e.displayName || e.name || null;
88
88
  if (typeof e == "string")
89
89
  return e;
@@ -105,10 +105,10 @@ function Zt() {
105
105
  switch (e.$$typeof) {
106
106
  case R:
107
107
  var t = e;
108
- return G(t) + ".Consumer";
108
+ return q(t) + ".Consumer";
109
109
  case E:
110
110
  var o = e;
111
- return G(o._context) + ".Provider";
111
+ return q(o._context) + ".Provider";
112
112
  case d:
113
113
  return Y(e, e.render, "ForwardRef");
114
114
  case m:
@@ -184,7 +184,7 @@ function Zt() {
184
184
  })
185
185
  });
186
186
  }
187
- W < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
187
+ W < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
190
  var fe = F.ReactCurrentDispatcher, de;
@@ -255,14 +255,14 @@ function Zt() {
255
255
  } catch (O) {
256
256
  if (O && i && typeof O.stack == "string") {
257
257
  for (var l = O.stack.split(`
258
- `), j = i.stack.split(`
259
- `), b = l.length - 1, S = j.length - 1; b >= 1 && S >= 0 && l[b] !== j[S]; )
258
+ `), A = i.stack.split(`
259
+ `), b = l.length - 1, S = A.length - 1; b >= 1 && S >= 0 && l[b] !== A[S]; )
260
260
  S--;
261
261
  for (; b >= 1 && S >= 0; b--, S--)
262
- if (l[b] !== j[S]) {
262
+ if (l[b] !== A[S]) {
263
263
  if (b !== 1 || S !== 1)
264
264
  do
265
- if (b--, S--, S < 0 || l[b] !== j[S]) {
265
+ if (b--, S--, S < 0 || l[b] !== A[S]) {
266
266
  var P = `
267
267
  ` + l[b].replace(" at new ", " at ");
268
268
  return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, P), P;
@@ -313,7 +313,7 @@ function Zt() {
313
313
  }
314
314
  return "";
315
315
  }
316
- var H = Object.prototype.hasOwnProperty, De = {}, Fe = F.ReactDebugCurrentFrame;
316
+ var K = Object.prototype.hasOwnProperty, De = {}, Fe = F.ReactDebugCurrentFrame;
317
317
  function oe(e) {
318
318
  if (e) {
319
319
  var t = e._owner, o = ne(e.type, e._source, t ? t.type : null);
@@ -323,20 +323,20 @@ function Zt() {
323
323
  }
324
324
  function ft(e, t, o, i, v) {
325
325
  {
326
- var h = Function.call.bind(H);
326
+ var h = Function.call.bind(K);
327
327
  for (var u in e)
328
328
  if (h(e, u)) {
329
329
  var l = void 0;
330
330
  try {
331
331
  if (typeof e[u] != "function") {
332
- var j = Error((i || "React class") + ": " + o + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
- throw j.name = "Invariant Violation", j;
332
+ var A = Error((i || "React class") + ": " + o + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
+ throw A.name = "Invariant Violation", A;
334
334
  }
335
335
  l = e[u](t, u, i, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
336
  } catch (b) {
337
337
  l = b;
338
338
  }
339
- l && !(l instanceof Error) && (oe(v), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", o, u, typeof l), oe(null)), l instanceof Error && !(l.message in De) && (De[l.message] = !0, oe(v), A("Failed %s type: %s", o, l.message), oe(null));
339
+ l && !(l instanceof Error) && (oe(v), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", o, u, typeof l), oe(null)), l instanceof Error && !(l.message in De) && (De[l.message] = !0, oe(v), j("Failed %s type: %s", o, l.message), oe(null));
340
340
  }
341
341
  }
342
342
  }
@@ -362,7 +362,7 @@ function Zt() {
362
362
  }
363
363
  function We(e) {
364
364
  if (vt(e))
365
- return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pt(e)), Be(e);
365
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pt(e)), Be(e);
366
366
  }
367
367
  var Le = F.ReactCurrentOwner, ht = {
368
368
  key: !0,
@@ -371,7 +371,7 @@ function Zt() {
371
371
  __source: !0
372
372
  }, Ue, Ye;
373
373
  function gt(e) {
374
- if (H.call(e, "ref")) {
374
+ if (K.call(e, "ref")) {
375
375
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
376
376
  if (t && t.isReactWarning)
377
377
  return !1;
@@ -379,7 +379,7 @@ function Zt() {
379
379
  return e.ref !== void 0;
380
380
  }
381
381
  function mt(e) {
382
- if (H.call(e, "key")) {
382
+ if (K.call(e, "key")) {
383
383
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
384
384
  if (t && t.isReactWarning)
385
385
  return !1;
@@ -392,7 +392,7 @@ function Zt() {
392
392
  function bt(e, t) {
393
393
  {
394
394
  var o = function() {
395
- Ue || (Ue = !0, A("%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)", t));
395
+ Ue || (Ue = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
396
396
  };
397
397
  o.isReactWarning = !0, Object.defineProperty(e, "key", {
398
398
  get: o,
@@ -403,7 +403,7 @@ function Zt() {
403
403
  function _t(e, t) {
404
404
  {
405
405
  var o = function() {
406
- Ye || (Ye = !0, A("%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)", t));
406
+ Ye || (Ye = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
407
407
  };
408
408
  o.isReactWarning = !0, Object.defineProperty(e, "ref", {
409
409
  get: o,
@@ -442,20 +442,20 @@ function Zt() {
442
442
  };
443
443
  function St(e, t, o, i, v) {
444
444
  {
445
- var h, u = {}, l = null, j = null;
446
- o !== void 0 && (We(o), l = "" + o), mt(t) && (We(t.key), l = "" + t.key), gt(t) && (j = t.ref, yt(t, v));
445
+ var h, u = {}, l = null, A = null;
446
+ o !== void 0 && (We(o), l = "" + o), mt(t) && (We(t.key), l = "" + t.key), gt(t) && (A = t.ref, yt(t, v));
447
447
  for (h in t)
448
- H.call(t, h) && !ht.hasOwnProperty(h) && (u[h] = t[h]);
448
+ K.call(t, h) && !ht.hasOwnProperty(h) && (u[h] = t[h]);
449
449
  if (e && e.defaultProps) {
450
450
  var b = e.defaultProps;
451
451
  for (h in b)
452
452
  u[h] === void 0 && (u[h] = b[h]);
453
453
  }
454
- if (l || j) {
454
+ if (l || A) {
455
455
  var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
- l && bt(u, S), j && _t(u, S);
456
+ l && bt(u, S), A && _t(u, S);
457
457
  }
458
- return Rt(e, l, j, v, i, Le.current, u);
458
+ return Rt(e, l, A, v, i, Le.current, u);
459
459
  }
460
460
  }
461
461
  var he = F.ReactCurrentOwner, Ve = F.ReactDebugCurrentFrame;
@@ -499,7 +499,7 @@ Check the top-level render call using <` + o + ">.");
499
499
  return t;
500
500
  }
501
501
  }
502
- function qe(e, t) {
502
+ function He(e, t) {
503
503
  {
504
504
  if (!e._store || e._store.validated || e.key != null)
505
505
  return;
@@ -509,17 +509,17 @@ Check the top-level render call using <` + o + ">.");
509
509
  return;
510
510
  Je[o] = !0;
511
511
  var i = "";
512
- e && e._owner && e._owner !== he.current && (i = " It was passed a child from " + I(e._owner.type) + "."), V(e), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), V(null);
512
+ e && e._owner && e._owner !== he.current && (i = " It was passed a child from " + I(e._owner.type) + "."), V(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), V(null);
513
513
  }
514
514
  }
515
- function He(e, t) {
515
+ function Ke(e, t) {
516
516
  {
517
517
  if (typeof e != "object")
518
518
  return;
519
519
  if (ve(e))
520
520
  for (var o = 0; o < e.length; o++) {
521
521
  var i = e[o];
522
- me(i) && qe(i, t);
522
+ me(i) && He(i, t);
523
523
  }
524
524
  else if (me(e))
525
525
  e._store && (e._store.validated = !0);
@@ -527,7 +527,7 @@ Check the top-level render call using <` + o + ">.");
527
527
  var v = we(e);
528
528
  if (typeof v == "function" && v !== e.entries)
529
529
  for (var h = v.call(e), u; !(u = h.next()).done; )
530
- me(u.value) && qe(u.value, t);
530
+ me(u.value) && He(u.value, t);
531
531
  }
532
532
  }
533
533
  }
@@ -551,34 +551,34 @@ Check the top-level render call using <` + o + ">.");
551
551
  } else if (t.PropTypes !== void 0 && !ge) {
552
552
  ge = !0;
553
553
  var v = I(t);
554
- A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
554
+ j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
555
555
  }
556
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
556
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
557
  }
558
558
  }
559
- function At(e) {
559
+ function jt(e) {
560
560
  {
561
561
  for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
562
562
  var i = t[o];
563
563
  if (i !== "children" && i !== "key") {
564
- V(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), V(null);
564
+ V(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), V(null);
565
565
  break;
566
566
  }
567
567
  }
568
- e.ref !== null && (V(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
568
+ e.ref !== null && (V(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
569
569
  }
570
570
  }
571
- var Ke = {};
572
- function Ge(e, t, o, i, v, h) {
571
+ var Ge = {};
572
+ function qe(e, t, o, i, v, h) {
573
573
  {
574
574
  var u = D(e);
575
575
  if (!u) {
576
576
  var l = "";
577
577
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
578
- var j = Et();
579
- j ? l += j : l += ze();
578
+ var A = Et();
579
+ A ? l += A : l += ze();
580
580
  var b;
581
- e === null ? b = "null" : ve(e) ? b = "array" : e !== void 0 && e.$$typeof === n ? (b = "<" + (I(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, l);
581
+ e === null ? b = "null" : ve(e) ? b = "array" : e !== void 0 && e.$$typeof === n ? (b = "<" + (I(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, l);
582
582
  }
583
583
  var S = St(e, t, o, v, h);
584
584
  if (S == null)
@@ -589,44 +589,44 @@ Check the top-level render call using <` + o + ">.");
589
589
  if (i)
590
590
  if (ve(P)) {
591
591
  for (var z = 0; z < P.length; z++)
592
- He(P[z], e);
592
+ Ke(P[z], e);
593
593
  Object.freeze && Object.freeze(P);
594
594
  } else
595
- A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
595
+ j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
596
596
  else
597
- He(P, e);
597
+ Ke(P, e);
598
598
  }
599
- if (H.call(t, "key")) {
599
+ if (K.call(t, "key")) {
600
600
  var B = I(e), O = Object.keys(t).filter(function(Tt) {
601
601
  return Tt !== "key";
602
602
  }), ye = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
603
- if (!Ke[B + ye]) {
603
+ if (!Ge[B + ye]) {
604
604
  var Ct = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
605
- A(`A props object containing a "key" prop is being spread into JSX:
605
+ j(`A props object containing a "key" prop is being spread into JSX:
606
606
  let props = %s;
607
607
  <%s {...props} />
608
608
  React keys must be passed directly to JSX without using spread:
609
609
  let props = %s;
610
- <%s key={someKey} {...props} />`, ye, B, Ct, B), Ke[B + ye] = !0;
610
+ <%s key={someKey} {...props} />`, ye, B, Ct, B), Ge[B + ye] = !0;
611
611
  }
612
612
  }
613
- return e === f ? At(S) : xt(S), S;
613
+ return e === f ? jt(S) : xt(S), S;
614
614
  }
615
615
  }
616
- function jt(e, t, o) {
617
- return Ge(e, t, o, !0);
616
+ function At(e, t, o) {
617
+ return qe(e, t, o, !0);
618
618
  }
619
619
  function wt(e, t, o) {
620
- return Ge(e, t, o, !1);
620
+ return qe(e, t, o, !1);
621
621
  }
622
- var Ot = wt, Pt = jt;
622
+ var Ot = wt, Pt = At;
623
623
  Xe.Fragment = f, Xe.jsx = Ot, Xe.jsxs = Pt;
624
624
  }()), Xe;
625
625
  }
626
- process.env.NODE_ENV === "production" ? It.exports = Gt() : It.exports = Zt();
627
- var s = It.exports;
626
+ process.env.NODE_ENV === "production" ? $t.exports = qt() : $t.exports = Zt();
627
+ var s = $t.exports;
628
628
  let J = {};
629
- var $t;
629
+ var Nt;
630
630
  ((r) => {
631
631
  function n({
632
632
  children: R,
@@ -706,7 +706,7 @@ var $t;
706
706
  }));
707
707
  }
708
708
  r.Open = E;
709
- })($t || ($t = {}));
709
+ })(Nt || (Nt = {}));
710
710
  function Yt() {
711
711
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
712
712
  }
@@ -715,7 +715,7 @@ const Vt = {
715
715
  iterations: 7,
716
716
  saltLength: 16
717
717
  };
718
- function Dt(r) {
718
+ function Ft(r) {
719
719
  const n = Yt();
720
720
  n.CRYPTO_PARAMS ? n.CRYPTO_PARAMS = { ...n.CRYPTO_PARAMS, ...r } : n.CRYPTO_PARAMS = { ...Vt, ...r };
721
721
  }
@@ -793,7 +793,7 @@ const ot = (r) => {
793
793
  var le;
794
794
  ((r) => {
795
795
  r.setKey = (n) => {
796
- Dt({ key: n });
796
+ Ft({ key: n });
797
797
  }, r.enCode = (n) => {
798
798
  try {
799
799
  const a = JSON.stringify(n);
@@ -811,7 +811,7 @@ var le;
811
811
  return !1;
812
812
  }
813
813
  }, r.setSecurityParams = (n, a) => {
814
- Dt({ iterations: n, saltLength: a });
814
+ Ft({ iterations: n, saltLength: a });
815
815
  };
816
816
  })(le || (le = {}));
817
817
  var Qe = {};
@@ -824,10 +824,10 @@ var Qe = {};
824
824
  * This source code is licensed under the MIT license found in the
825
825
  * LICENSE file in the root directory of this source tree.
826
826
  */
827
- var Ft;
827
+ var Bt;
828
828
  function or() {
829
- if (Ft) return Qe;
830
- Ft = 1;
829
+ if (Bt) return Qe;
830
+ Bt = 1;
831
831
  var r = M, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, c = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
832
832
  function E(R, d, x) {
833
833
  var g, m = {}, _ = null, C = null;
@@ -848,9 +848,9 @@ var rt = {};
848
848
  * This source code is licensed under the MIT license found in the
849
849
  * LICENSE file in the root directory of this source tree.
850
850
  */
851
- var Bt;
851
+ var Wt;
852
852
  function ar() {
853
- return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
853
+ return Wt || (Wt = 1, process.env.NODE_ENV !== "production" && function() {
854
854
  var r = M, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), R = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), $ = Symbol.iterator, Ee = "@@iterator";
855
855
  function we(e) {
856
856
  if (e === null || typeof e != "object")
@@ -859,7 +859,7 @@ function ar() {
859
859
  return typeof t == "function" ? t : null;
860
860
  }
861
861
  var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
862
- function A(e) {
862
+ function j(e) {
863
863
  {
864
864
  for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
865
865
  o[i - 1] = arguments[i];
@@ -892,13 +892,13 @@ function ar() {
892
892
  var v = t.displayName || t.name || "";
893
893
  return v !== "" ? o + "(" + v + ")" : o;
894
894
  }
895
- function G(e) {
895
+ function q(e) {
896
896
  return e.displayName || "Context";
897
897
  }
898
898
  function I(e) {
899
899
  if (e == null)
900
900
  return null;
901
- if (typeof e.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
901
+ if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
902
902
  return e.displayName || e.name || null;
903
903
  if (typeof e == "string")
904
904
  return e;
@@ -920,10 +920,10 @@ function ar() {
920
920
  switch (e.$$typeof) {
921
921
  case R:
922
922
  var t = e;
923
- return G(t) + ".Consumer";
923
+ return q(t) + ".Consumer";
924
924
  case E:
925
925
  var o = e;
926
- return G(o._context) + ".Provider";
926
+ return q(o._context) + ".Provider";
927
927
  case d:
928
928
  return Y(e, e.render, "ForwardRef");
929
929
  case m:
@@ -999,7 +999,7 @@ function ar() {
999
999
  })
1000
1000
  });
1001
1001
  }
1002
- W < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1002
+ W < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1003
1003
  }
1004
1004
  }
1005
1005
  var fe = F.ReactCurrentDispatcher, de;
@@ -1070,14 +1070,14 @@ function ar() {
1070
1070
  } catch (O) {
1071
1071
  if (O && i && typeof O.stack == "string") {
1072
1072
  for (var l = O.stack.split(`
1073
- `), j = i.stack.split(`
1074
- `), b = l.length - 1, S = j.length - 1; b >= 1 && S >= 0 && l[b] !== j[S]; )
1073
+ `), A = i.stack.split(`
1074
+ `), b = l.length - 1, S = A.length - 1; b >= 1 && S >= 0 && l[b] !== A[S]; )
1075
1075
  S--;
1076
1076
  for (; b >= 1 && S >= 0; b--, S--)
1077
- if (l[b] !== j[S]) {
1077
+ if (l[b] !== A[S]) {
1078
1078
  if (b !== 1 || S !== 1)
1079
1079
  do
1080
- if (b--, S--, S < 0 || l[b] !== j[S]) {
1080
+ if (b--, S--, S < 0 || l[b] !== A[S]) {
1081
1081
  var P = `
1082
1082
  ` + l[b].replace(" at new ", " at ");
1083
1083
  return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && re.set(e, P), P;
@@ -1128,7 +1128,7 @@ function ar() {
1128
1128
  }
1129
1129
  return "";
1130
1130
  }
1131
- var H = Object.prototype.hasOwnProperty, De = {}, Fe = F.ReactDebugCurrentFrame;
1131
+ var K = Object.prototype.hasOwnProperty, De = {}, Fe = F.ReactDebugCurrentFrame;
1132
1132
  function oe(e) {
1133
1133
  if (e) {
1134
1134
  var t = e._owner, o = ne(e.type, e._source, t ? t.type : null);
@@ -1138,20 +1138,20 @@ function ar() {
1138
1138
  }
1139
1139
  function ft(e, t, o, i, v) {
1140
1140
  {
1141
- var h = Function.call.bind(H);
1141
+ var h = Function.call.bind(K);
1142
1142
  for (var u in e)
1143
1143
  if (h(e, u)) {
1144
1144
  var l = void 0;
1145
1145
  try {
1146
1146
  if (typeof e[u] != "function") {
1147
- var j = Error((i || "React class") + ": " + o + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1148
- throw j.name = "Invariant Violation", j;
1147
+ var A = Error((i || "React class") + ": " + o + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1148
+ throw A.name = "Invariant Violation", A;
1149
1149
  }
1150
1150
  l = e[u](t, u, i, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1151
1151
  } catch (b) {
1152
1152
  l = b;
1153
1153
  }
1154
- l && !(l instanceof Error) && (oe(v), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", o, u, typeof l), oe(null)), l instanceof Error && !(l.message in De) && (De[l.message] = !0, oe(v), A("Failed %s type: %s", o, l.message), oe(null));
1154
+ l && !(l instanceof Error) && (oe(v), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", o, u, typeof l), oe(null)), l instanceof Error && !(l.message in De) && (De[l.message] = !0, oe(v), j("Failed %s type: %s", o, l.message), oe(null));
1155
1155
  }
1156
1156
  }
1157
1157
  }
@@ -1177,7 +1177,7 @@ function ar() {
1177
1177
  }
1178
1178
  function We(e) {
1179
1179
  if (vt(e))
1180
- return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pt(e)), Be(e);
1180
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pt(e)), Be(e);
1181
1181
  }
1182
1182
  var Le = F.ReactCurrentOwner, ht = {
1183
1183
  key: !0,
@@ -1186,7 +1186,7 @@ function ar() {
1186
1186
  __source: !0
1187
1187
  }, Ue, Ye;
1188
1188
  function gt(e) {
1189
- if (H.call(e, "ref")) {
1189
+ if (K.call(e, "ref")) {
1190
1190
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
1191
1191
  if (t && t.isReactWarning)
1192
1192
  return !1;
@@ -1194,7 +1194,7 @@ function ar() {
1194
1194
  return e.ref !== void 0;
1195
1195
  }
1196
1196
  function mt(e) {
1197
- if (H.call(e, "key")) {
1197
+ if (K.call(e, "key")) {
1198
1198
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
1199
1199
  if (t && t.isReactWarning)
1200
1200
  return !1;
@@ -1207,7 +1207,7 @@ function ar() {
1207
1207
  function bt(e, t) {
1208
1208
  {
1209
1209
  var o = function() {
1210
- Ue || (Ue = !0, A("%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)", t));
1210
+ Ue || (Ue = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
1211
1211
  };
1212
1212
  o.isReactWarning = !0, Object.defineProperty(e, "key", {
1213
1213
  get: o,
@@ -1218,7 +1218,7 @@ function ar() {
1218
1218
  function _t(e, t) {
1219
1219
  {
1220
1220
  var o = function() {
1221
- Ye || (Ye = !0, A("%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)", t));
1221
+ Ye || (Ye = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
1222
1222
  };
1223
1223
  o.isReactWarning = !0, Object.defineProperty(e, "ref", {
1224
1224
  get: o,
@@ -1257,20 +1257,20 @@ function ar() {
1257
1257
  };
1258
1258
  function St(e, t, o, i, v) {
1259
1259
  {
1260
- var h, u = {}, l = null, j = null;
1261
- o !== void 0 && (We(o), l = "" + o), mt(t) && (We(t.key), l = "" + t.key), gt(t) && (j = t.ref, yt(t));
1260
+ var h, u = {}, l = null, A = null;
1261
+ o !== void 0 && (We(o), l = "" + o), mt(t) && (We(t.key), l = "" + t.key), gt(t) && (A = t.ref, yt(t));
1262
1262
  for (h in t)
1263
- H.call(t, h) && !ht.hasOwnProperty(h) && (u[h] = t[h]);
1263
+ K.call(t, h) && !ht.hasOwnProperty(h) && (u[h] = t[h]);
1264
1264
  if (e && e.defaultProps) {
1265
1265
  var b = e.defaultProps;
1266
1266
  for (h in b)
1267
1267
  u[h] === void 0 && (u[h] = b[h]);
1268
1268
  }
1269
- if (l || j) {
1269
+ if (l || A) {
1270
1270
  var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1271
- l && bt(u, S), j && _t(u, S);
1271
+ l && bt(u, S), A && _t(u, S);
1272
1272
  }
1273
- return Rt(e, l, j, v, i, Le.current, u);
1273
+ return Rt(e, l, A, v, i, Le.current, u);
1274
1274
  }
1275
1275
  }
1276
1276
  var he = F.ReactCurrentOwner, Ve = F.ReactDebugCurrentFrame;
@@ -1314,7 +1314,7 @@ Check the top-level render call using <` + o + ">.");
1314
1314
  return t;
1315
1315
  }
1316
1316
  }
1317
- function qe(e, t) {
1317
+ function He(e, t) {
1318
1318
  {
1319
1319
  if (!e._store || e._store.validated || e.key != null)
1320
1320
  return;
@@ -1324,17 +1324,17 @@ Check the top-level render call using <` + o + ">.");
1324
1324
  return;
1325
1325
  Je[o] = !0;
1326
1326
  var i = "";
1327
- e && e._owner && e._owner !== he.current && (i = " It was passed a child from " + I(e._owner.type) + "."), V(e), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), V(null);
1327
+ e && e._owner && e._owner !== he.current && (i = " It was passed a child from " + I(e._owner.type) + "."), V(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), V(null);
1328
1328
  }
1329
1329
  }
1330
- function He(e, t) {
1330
+ function Ke(e, t) {
1331
1331
  {
1332
1332
  if (typeof e != "object")
1333
1333
  return;
1334
1334
  if (ve(e))
1335
1335
  for (var o = 0; o < e.length; o++) {
1336
1336
  var i = e[o];
1337
- me(i) && qe(i, t);
1337
+ me(i) && He(i, t);
1338
1338
  }
1339
1339
  else if (me(e))
1340
1340
  e._store && (e._store.validated = !0);
@@ -1342,7 +1342,7 @@ Check the top-level render call using <` + o + ">.");
1342
1342
  var v = we(e);
1343
1343
  if (typeof v == "function" && v !== e.entries)
1344
1344
  for (var h = v.call(e), u; !(u = h.next()).done; )
1345
- me(u.value) && qe(u.value, t);
1345
+ me(u.value) && He(u.value, t);
1346
1346
  }
1347
1347
  }
1348
1348
  }
@@ -1366,34 +1366,34 @@ Check the top-level render call using <` + o + ">.");
1366
1366
  } else if (t.PropTypes !== void 0 && !ge) {
1367
1367
  ge = !0;
1368
1368
  var v = I(t);
1369
- A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
1369
+ j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
1370
1370
  }
1371
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1371
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1372
1372
  }
1373
1373
  }
1374
- function At(e) {
1374
+ function jt(e) {
1375
1375
  {
1376
1376
  for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
1377
1377
  var i = t[o];
1378
1378
  if (i !== "children" && i !== "key") {
1379
- V(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), V(null);
1379
+ V(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), V(null);
1380
1380
  break;
1381
1381
  }
1382
1382
  }
1383
- e.ref !== null && (V(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
1383
+ e.ref !== null && (V(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
1384
1384
  }
1385
1385
  }
1386
- var Ke = {};
1387
- function Ge(e, t, o, i, v, h) {
1386
+ var Ge = {};
1387
+ function qe(e, t, o, i, v, h) {
1388
1388
  {
1389
1389
  var u = D(e);
1390
1390
  if (!u) {
1391
1391
  var l = "";
1392
1392
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1393
- var j = Et();
1394
- j ? l += j : l += ze();
1393
+ var A = Et();
1394
+ A ? l += A : l += ze();
1395
1395
  var b;
1396
- e === null ? b = "null" : ve(e) ? b = "array" : e !== void 0 && e.$$typeof === n ? (b = "<" + (I(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, l);
1396
+ e === null ? b = "null" : ve(e) ? b = "array" : e !== void 0 && e.$$typeof === n ? (b = "<" + (I(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, l);
1397
1397
  }
1398
1398
  var S = St(e, t, o, v, h);
1399
1399
  if (S == null)
@@ -1404,46 +1404,46 @@ Check the top-level render call using <` + o + ">.");
1404
1404
  if (i)
1405
1405
  if (ve(P)) {
1406
1406
  for (var z = 0; z < P.length; z++)
1407
- He(P[z], e);
1407
+ Ke(P[z], e);
1408
1408
  Object.freeze && Object.freeze(P);
1409
1409
  } else
1410
- A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1410
+ j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1411
1411
  else
1412
- He(P, e);
1412
+ Ke(P, e);
1413
1413
  }
1414
- if (H.call(t, "key")) {
1414
+ if (K.call(t, "key")) {
1415
1415
  var B = I(e), O = Object.keys(t).filter(function(Tt) {
1416
1416
  return Tt !== "key";
1417
1417
  }), ye = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
1418
- if (!Ke[B + ye]) {
1418
+ if (!Ge[B + ye]) {
1419
1419
  var Ct = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
1420
- A(`A props object containing a "key" prop is being spread into JSX:
1420
+ j(`A props object containing a "key" prop is being spread into JSX:
1421
1421
  let props = %s;
1422
1422
  <%s {...props} />
1423
1423
  React keys must be passed directly to JSX without using spread:
1424
1424
  let props = %s;
1425
- <%s key={someKey} {...props} />`, ye, B, Ct, B), Ke[B + ye] = !0;
1425
+ <%s key={someKey} {...props} />`, ye, B, Ct, B), Ge[B + ye] = !0;
1426
1426
  }
1427
1427
  }
1428
- return e === f ? At(S) : xt(S), S;
1428
+ return e === f ? jt(S) : xt(S), S;
1429
1429
  }
1430
1430
  }
1431
- function jt(e, t, o) {
1432
- return Ge(e, t, o, !0);
1431
+ function At(e, t, o) {
1432
+ return qe(e, t, o, !0);
1433
1433
  }
1434
1434
  function wt(e, t, o) {
1435
- return Ge(e, t, o, !1);
1435
+ return qe(e, t, o, !1);
1436
1436
  }
1437
- var Ot = wt, Pt = jt;
1437
+ var Ot = wt, Pt = At;
1438
1438
  rt.Fragment = f, rt.jsx = Ot, rt.jsxs = Pt;
1439
1439
  }()), rt;
1440
1440
  }
1441
1441
  process.env.NODE_ENV === "production" ? or() : ar();
1442
- const ir = "0.0.39", qt = {
1442
+ const ir = "0.0.39", Ht = {
1443
1443
  version: ir
1444
- }, ae = {}, q = {
1444
+ }, ae = {}, H = {
1445
1445
  module: "",
1446
- v: qt.version,
1446
+ v: Ht.version,
1447
1447
  page: "Main",
1448
1448
  auth: "Auth",
1449
1449
  STORAGE: "f",
@@ -1462,7 +1462,7 @@ function Se() {
1462
1462
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
1463
1463
  }
1464
1464
  Se().elcrm || (Se().elcrm = {});
1465
- Object.assign(Se().elcrm, { router: qt.version });
1465
+ Object.assign(Se().elcrm, { router: Ht.version });
1466
1466
  function ie(r) {
1467
1467
  var n, a, f, c;
1468
1468
  const p = Se();
@@ -1480,18 +1480,18 @@ function ie(r) {
1480
1480
  prev: E
1481
1481
  };
1482
1482
  } else {
1483
- r.debug || q.debug;
1483
+ r.debug || H.debug;
1484
1484
  const E = {
1485
- page: q == null ? void 0 : q.page,
1486
- module: q == null ? void 0 : q.module,
1487
- tab: q == null ? void 0 : q.tab,
1488
- id: q == null ? void 0 : q.id
1485
+ page: H == null ? void 0 : H.page,
1486
+ module: H == null ? void 0 : H.module,
1487
+ tab: H == null ? void 0 : H.tab,
1488
+ id: H == null ? void 0 : H.id
1489
1489
  };
1490
- p.ROUTER_PARAMS = { ...q, ...r, prev: E };
1490
+ p.ROUTER_PARAMS = { ...H, ...r, prev: E };
1491
1491
  }
1492
1492
  }
1493
1493
  function w() {
1494
- return Se().ROUTER_PARAMS || q;
1494
+ return Se().ROUTER_PARAMS || H;
1495
1495
  }
1496
1496
  function xe(r) {
1497
1497
  const n = Se();
@@ -1501,7 +1501,7 @@ function xe(r) {
1501
1501
  } : n.ROUTER_PARAMS.LISTENER = { ...r };
1502
1502
  }
1503
1503
  function se() {
1504
- return Se().ROUTER_PARAMS.LISTENER || q.LISTENER;
1504
+ return Se().ROUTER_PARAMS.LISTENER || H.LISTENER;
1505
1505
  }
1506
1506
  var ue;
1507
1507
  ((r) => {
@@ -1594,8 +1594,8 @@ var ue;
1594
1594
  r.isModule = _;
1595
1595
  function C(y, k) {
1596
1596
  if (typeof y != "function") {
1597
- const [T, D] = M.useState(!k), [Y, G] = M.useState(y || Ee());
1598
- return xe({ tabs: G }), k && M.useEffect(() => {
1597
+ const [T, D] = M.useState(!k), [Y, q] = M.useState(y || Ee());
1598
+ return xe({ tabs: q }), k && M.useEffect(() => {
1599
1599
  D(!0);
1600
1600
  }, []), [Y, T];
1601
1601
  } else
@@ -1627,9 +1627,9 @@ var ue;
1627
1627
  xe({ id: y });
1628
1628
  }
1629
1629
  r.useId = F;
1630
- function A(y) {
1630
+ function j(y) {
1631
1631
  }
1632
- r.subId = A;
1632
+ r.subId = j;
1633
1633
  async function Oe(y, k = !0) {
1634
1634
  ie({ id: y }), sessionStorage.setItem(
1635
1635
  w().STORAGE,
@@ -1646,9 +1646,9 @@ var ue;
1646
1646
  }
1647
1647
  r.isId = Pe;
1648
1648
  async function Ce(y) {
1649
- var k, T, D, Y, G, I, N, W;
1649
+ var k, T, D, Y, q, I, N, W;
1650
1650
  const { page: Z, module: X, tab: Q, id: ee } = y;
1651
- Z !== void 0 && (ae.page = Z), X !== void 0 && (ae.module = X), Q !== void 0 && (ae.tab = Q), ee !== void 0 && (ae.id = ee), ie({ ...ae }), ee !== void 0 && ((T = (k = se()).id) == null || T.call(k, ee)), Q !== void 0 && ((Y = (D = se()).tabs) == null || Y.call(D, Q)), X !== void 0 && ((I = (G = se()).module) == null || I.call(G, X)), Z !== void 0 && ((W = (N = se()).page) == null || W.call(N, Z)), sessionStorage.setItem(
1651
+ Z !== void 0 && (ae.page = Z), X !== void 0 && (ae.module = X), Q !== void 0 && (ae.tab = Q), ee !== void 0 && (ae.id = ee), ie({ ...ae }), ee !== void 0 && ((T = (k = se()).id) == null || T.call(k, ee)), Q !== void 0 && ((Y = (D = se()).tabs) == null || Y.call(D, Q)), X !== void 0 && ((I = (q = se()).module) == null || I.call(q, X)), Z !== void 0 && ((W = (N = se()).page) == null || W.call(N, Z)), sessionStorage.setItem(
1652
1652
  w().STORAGE,
1653
1653
  le.enCode(w())
1654
1654
  );
@@ -1722,7 +1722,7 @@ let _e = {
1722
1722
  Init: sr
1723
1723
  }, et = () => {
1724
1724
  };
1725
- const Ht = ({
1725
+ const Kt = ({
1726
1726
  children: r,
1727
1727
  title: n,
1728
1728
  isOverlay: a = !0,
@@ -1734,7 +1734,7 @@ const Ht = ({
1734
1734
  return et = () => {
1735
1735
  R(!0), setTimeout(() => {
1736
1736
  var d;
1737
- p == null || p(!1), (d = Ae == null ? void 0 : Ae.onClose) == null || d.call(Ae);
1737
+ p == null || p(!1), (d = je == null ? void 0 : je.onClose) == null || d.call(je);
1738
1738
  }, 300);
1739
1739
  }, /* @__PURE__ */ s.jsx(
1740
1740
  "div",
@@ -1764,11 +1764,12 @@ const Ht = ({
1764
1764
  )
1765
1765
  }
1766
1766
  );
1767
- }, ur = "_h_1ryiq_1", fr = "_row_1ryiq_14", dr = "_column_1ryiq_17", Wt = {
1767
+ }, ur = "_h_1dsfp_1", fr = "_row_1dsfp_14", dr = "_column_1dsfp_17", pr = "_badge_1dsfp_30", It = {
1768
1768
  h: ur,
1769
1769
  row: fr,
1770
- column: dr
1771
- }, Ae = [], Lt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), Kt = ({
1770
+ column: dr,
1771
+ badge: pr
1772
+ }, je = [], Lt = (r, n) => r.findIndex((a) => (a == null ? void 0 : a.page) === n), Gt = ({
1772
1773
  actions: r,
1773
1774
  children: n,
1774
1775
  className: a,
@@ -1780,7 +1781,7 @@ const Ht = ({
1780
1781
  const [R, d] = M.useState(null), [x, g] = M.useState(
1781
1782
  c ? Lt(r || [], c) : 0
1782
1783
  );
1783
- return Ae.onClose = () => {
1784
+ return je.onClose = () => {
1784
1785
  d(null), g(c ? Lt(r || [], c) : 0);
1785
1786
  }, tt(() => {
1786
1787
  if (!f)
@@ -1804,17 +1805,20 @@ const Ht = ({
1804
1805
  /* @__PURE__ */ s.jsxs(
1805
1806
  "footer",
1806
1807
  {
1807
- className: `${Wt.h} ${Wt[E]} ${a} `,
1808
+ className: `${It.h} ${It[E]} ${a} `,
1808
1809
  children: [
1809
1810
  n,
1810
- r && r.map((m, _) => /* @__PURE__ */ s.jsx(
1811
+ r && r.map((m, _) => /* @__PURE__ */ s.jsxs(
1811
1812
  "div",
1812
1813
  {
1813
1814
  "data-active": x === _ ? "true" : "false",
1814
1815
  onClick: () => {
1815
1816
  m.page && (g(_), p == null || p(m.page)), m.callback && (m.callback(), g(_)), m.component && (x === _ ? et() : (d(m.component), g(_)));
1816
1817
  },
1817
- children: m.icon
1818
+ children: [
1819
+ m.icon,
1820
+ m.badge && /* @__PURE__ */ s.jsx("div", { className: It.badge, children: m.badge })
1821
+ ]
1818
1822
  },
1819
1823
  _
1820
1824
  ))
@@ -1827,8 +1831,8 @@ const Ht = ({
1827
1831
  MainButton: {},
1828
1832
  BackButton: {}
1829
1833
  };
1830
- let K = {};
1831
- K.dark = {
1834
+ let G = {};
1835
+ G.dark = {
1832
1836
  "--tg-theme-subtitle-text-color": "#98989e",
1833
1837
  "--tg-theme-destructive-text-color": "#e53935",
1834
1838
  "--tg-theme-section-separator-color": "#545458",
@@ -1845,7 +1849,7 @@ K.dark = {
1845
1849
  "--tg-theme-text-color": "#ffffff",
1846
1850
  "--tg-theme-section-bg-color": "#2c2c2e"
1847
1851
  };
1848
- K.light = {
1852
+ G.light = {
1849
1853
  "--tg-theme-subtitle-text-color": "#8e8e93",
1850
1854
  "--tg-theme-destructive-text-color": "#ff3b30",
1851
1855
  "--tg-theme-section-separator-color": "#c8c7cc",
@@ -1862,7 +1866,7 @@ K.light = {
1862
1866
  "--tg-theme-text-color": "#000000",
1863
1867
  "--tg-theme-section-bg-color": "#f8f8f8"
1864
1868
  };
1865
- K.users = {
1869
+ G.users = {
1866
1870
  "--tg-theme-bg-color": "#000000",
1867
1871
  "--tg-theme-text-color": "#ffffff",
1868
1872
  "--tg-theme-hint-color": "#98989e",
@@ -1871,24 +1875,24 @@ K.users = {
1871
1875
  "--tg-theme-button-text-color": "#000000",
1872
1876
  "--tg-theme-secondary-bg-color": "#000000"
1873
1877
  };
1874
- const pr = () => {
1878
+ const vr = () => {
1875
1879
  if (location.hostname === "localhost") {
1876
1880
  let [r, n] = ce(!1), [a, f] = ce(!1), [c, p] = ce("dark"), [E, R] = ce(!1), [d, x] = ce(!1);
1877
1881
  Re.is = !0, Re.MainButton.set = n, Re.BackButton.set = f, tt(() => {
1878
- K[c]["--tg-theme-bg-color-alpha"] = K[c]["--tg-theme-bg-color"] + "b3", K[c]["--tg-theme-secondary-bg-color-alpha"] = K[c]["--tg-theme-secondary-bg-color"] + "d3";
1879
- for (let _ in K[c])
1882
+ G[c]["--tg-theme-bg-color-alpha"] = G[c]["--tg-theme-bg-color"] + "b3", G[c]["--tg-theme-secondary-bg-color-alpha"] = G[c]["--tg-theme-secondary-bg-color"] + "d3";
1883
+ for (let _ in G[c])
1880
1884
  document.documentElement.style.setProperty(
1881
1885
  _,
1882
- K[c][_]
1886
+ G[c][_]
1883
1887
  );
1884
- je.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1888
+ Ae.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1885
1889
  "--tg-safe-area-inset-bottom",
1886
1890
  "16px"
1887
1891
  );
1888
1892
  }, []);
1889
1893
  let g = (_) => {
1890
- for (let C in K[_])
1891
- document.documentElement.style.setProperty(C, K[_][C]);
1894
+ for (let C in G[_])
1895
+ document.documentElement.style.setProperty(C, G[_][C]);
1892
1896
  p(_), R(!1);
1893
1897
  }, m = () => {
1894
1898
  R(!1), x(!0);
@@ -1953,22 +1957,22 @@ const pr = () => {
1953
1957
  /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { onClick: () => R(!E), children: "Closed" }) })
1954
1958
  ] })
1955
1959
  ] }) : "",
1956
- d ? /* @__PURE__ */ s.jsx(vr, { setAuthorization: x }) : ""
1960
+ d ? /* @__PURE__ */ s.jsx(hr, { setAuthorization: x }) : ""
1957
1961
  ] });
1958
1962
  } else
1959
1963
  return tt(() => {
1960
1964
  document.documentElement.style.setProperty(
1961
1965
  "--tg-theme-secondary-bg-color-alpha",
1962
- je.themeParams.secondary_bg_color + "d3"
1966
+ Ae.themeParams.secondary_bg_color + "d3"
1963
1967
  ), document.documentElement.style.setProperty(
1964
1968
  "--tg-theme-bg-color-alpha",
1965
- je.themeParams.bg_color + "b3"
1966
- ), je.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1969
+ Ae.themeParams.bg_color + "b3"
1970
+ ), Ae.safeAreaInset.bottom === 0 && document.documentElement.style.setProperty(
1967
1971
  "--tg-safe-area-inset-bottom",
1968
1972
  "16px"
1969
1973
  );
1970
1974
  }, []), /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(_e.Init, {}) });
1971
- }, vr = ({ setAuthorization: r }) => {
1975
+ }, hr = ({ setAuthorization: r }) => {
1972
1976
  let n = {}, a = () => {
1973
1977
  localStorage.setItem("auth", n);
1974
1978
  };
@@ -1976,36 +1980,36 @@ const pr = () => {
1976
1980
  /* @__PURE__ */ s.jsx("fieldset", {}),
1977
1981
  /* @__PURE__ */ s.jsx("div", { onClick: a, children: " Сохранить " })
1978
1982
  ] }) });
1979
- }, hr = "_p_12hh1_1", gr = "_s_12hh1_17", Ut = {
1980
- p: hr,
1981
- s: gr
1982
- }, mr = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ s.jsx(
1983
+ }, gr = "_p_12hh1_1", mr = "_s_12hh1_17", Ut = {
1984
+ p: gr,
1985
+ s: mr
1986
+ }, yr = ({ className: r, children: n, isScroll: a = !0 }) => /* @__PURE__ */ s.jsx(
1983
1987
  "div",
1984
1988
  {
1985
1989
  className: [Ut.p, a && Ut.s, r].filter((f) => f !== void 0).join(" "),
1986
1990
  children: n
1987
1991
  }
1988
- ), yr = "_l_gfyud_1", br = {
1989
- l: yr
1990
- }, _r = ({ children: r, className: n }) => /* @__PURE__ */ s.jsx(
1992
+ ), br = "_l_gfyud_1", _r = {
1993
+ l: br
1994
+ }, Rr = ({ children: r, className: n }) => /* @__PURE__ */ s.jsx(
1991
1995
  "div",
1992
1996
  {
1993
- className: [br.l, n].filter((a) => a !== void 0).join(" "),
1997
+ className: [_r.l, n].filter((a) => a !== void 0).join(" "),
1994
1998
  children: r
1995
1999
  }
1996
- ), Rr = "_m_ppm7n_2", Sr = "_g_ppm7n_10", Er = "_i_ppm7n_18", kr = "_c_ppm7n_35", xr = "_l_ppm7n_42", Ar = "_a_ppm7n_57", jr = "_n_ppm7n_62", be = {
1997
- m: Rr,
1998
- g: Sr,
1999
- i: Er,
2000
- c: kr,
2001
- l: xr,
2000
+ ), Sr = "_m_ppm7n_2", Er = "_g_ppm7n_10", kr = "_i_ppm7n_18", xr = "_c_ppm7n_35", jr = "_l_ppm7n_42", Ar = "_a_ppm7n_57", wr = "_n_ppm7n_62", be = {
2001
+ m: Sr,
2002
+ g: Er,
2003
+ i: kr,
2004
+ c: xr,
2005
+ l: jr,
2002
2006
  a: Ar,
2003
- n: jr
2004
- }, wr = ({ items: r }) => {
2007
+ n: wr
2008
+ }, Or = ({ items: r }) => {
2005
2009
  const n = (f) => {
2006
2010
  ue.setPage(f);
2007
2011
  }, a = (f) => {
2008
- je.openTelegramLink(f);
2012
+ Ae.openTelegramLink(f);
2009
2013
  };
2010
2014
  return /* @__PURE__ */ s.jsx("div", { className: be.m, children: r.map((f) => /* @__PURE__ */ s.jsx("div", { className: be.g, children: f.items.map((c, p) => /* @__PURE__ */ s.jsxs(
2011
2015
  "div",
@@ -2041,7 +2045,7 @@ const pr = () => {
2041
2045
  var a;
2042
2046
  let n = L.state.pop();
2043
2047
  L.prev = ue.getPage(), n.page !== void 0 ? ue.setPage(n.page) : (a = n.callback) == null || a.call(n);
2044
- }), je.BackButton.onClick(L.listen[0]));
2048
+ }), Ae.BackButton.onClick(L.listen[0]));
2045
2049
  }
2046
2050
  };
2047
2051
  var U;
@@ -2066,7 +2070,7 @@ var U;
2066
2070
  var a;
2067
2071
  _e.Send({ type: "warning", text: n }), (a = r.WebApp.HapticFeedback) == null || a.notificationOccurred("warning");
2068
2072
  }
2069
- }, r.Header = pr, r.Footer = Kt, r.BottomSheet = Ht, r.toggleBottomSheet = et, r.SafeArea = mr, r.Loading = _r, r.Modal = $t, r.Menu = wr, r.MainButton = {
2073
+ }, r.Header = vr, r.Footer = Gt, r.BottomSheet = Kt, r.toggleBottomSheet = et, r.SafeArea = yr, r.Loading = Rr, r.Modal = Nt, r.Menu = Or, r.MainButton = {
2070
2074
  callback: [],
2071
2075
  set: (n) => {
2072
2076
  Re.is ? Re.MainButton.set(n) : (r.WebApp.MainButton.callback.forEach((a) => {
@@ -2084,20 +2088,20 @@ var U;
2084
2088
  Re.is ? Re.BackButton.set(n) : (L.state.push(n), L.router(n));
2085
2089
  };
2086
2090
  })(U || (U = {}));
2087
- const Pr = Kt, Cr = Ht, Tr = U.BackButton, Ir = U.Notice, $r = U.SafeArea, Nr = U.Loading, Mr = U.Menu, { Header: Dr, toggleBottomSheet: Fr, Modal: Br, MainButton: Wr, WebApp: je, getUser: Lr } = U;
2091
+ const Cr = Gt, Tr = Kt, Ir = U.BackButton, $r = U.Notice, Nr = U.SafeArea, Mr = U.Loading, Dr = U.Menu, { Header: Fr, toggleBottomSheet: Br, Modal: Wr, MainButton: Lr, WebApp: Ae, getUser: Ur } = U;
2088
2092
  export {
2089
- Tr as BackButton,
2090
- Cr as BottomSheet,
2091
- Pr as Footer,
2092
- Dr as Header,
2093
- Nr as Loading,
2094
- Wr as MainButton,
2095
- Mr as Menu,
2096
- Br as Modal,
2097
- Ir as Notice,
2098
- $r as SafeArea,
2099
- je as WebApp,
2093
+ Ir as BackButton,
2094
+ Tr as BottomSheet,
2095
+ Cr as Footer,
2096
+ Fr as Header,
2097
+ Mr as Loading,
2098
+ Lr as MainButton,
2099
+ Dr as Menu,
2100
+ Wr as Modal,
2101
+ $r as Notice,
2102
+ Nr as SafeArea,
2103
+ Ae as WebApp,
2100
2104
  U as default,
2101
- Lr as getUser,
2102
- Fr as toggleBottomSheet
2105
+ Ur as getUser,
2106
+ Br as toggleBottomSheet
2103
2107
  };