@elcrm/telegram 0.0.126 → 0.0.128

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
@@ -15,14 +15,14 @@ function pr() {
15
15
  if (Vt) return Je;
16
16
  Vt = 1;
17
17
  var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function v(p, f, b) {
19
- var g, m = {}, y = null, P = null;
20
- b !== void 0 && (y = "" + b), f.key !== void 0 && (y = "" + f.key), f.ref !== void 0 && (P = f.ref);
21
- for (g in f) i.call(f, g) && !c.hasOwnProperty(g) && (m[g] = f[g]);
22
- if (p && p.defaultProps) for (g in f = p.defaultProps, f) m[g] === void 0 && (m[g] = f[g]);
23
- return { $$typeof: n, type: p, key: y, ref: P, props: m, _owner: s.current };
18
+ function p(v, f, b) {
19
+ var h, g = {}, _ = null, x = null;
20
+ b !== void 0 && (_ = "" + b), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (x = f.ref);
21
+ for (h in f) i.call(f, h) && !c.hasOwnProperty(h) && (g[h] = f[h]);
22
+ if (v && v.defaultProps) for (h in f = v.defaultProps, f) g[h] === void 0 && (g[h] = f[h]);
23
+ return { $$typeof: n, type: v, key: _, ref: x, props: g, _owner: s.current };
24
24
  }
25
- return Je.Fragment = o, Je.jsx = v, Je.jsxs = v, Je;
25
+ return Je.Fragment = o, Je.jsx = p, Je.jsxs = p, Je;
26
26
  }
27
27
  var He = {};
28
28
  /**
@@ -37,7 +37,7 @@ var He = {};
37
37
  var Jt;
38
38
  function vr() {
39
39
  return Jt || (Jt = 1, process.env.NODE_ENV !== "production" && function() {
40
- var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), w = Symbol.iterator, nt = "@@iterator";
40
+ var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), w = Symbol.iterator, nt = "@@iterator";
41
41
  function ot(e) {
42
42
  if (e === null || typeof e != "object")
43
43
  return null;
@@ -54,31 +54,31 @@ function vr() {
54
54
  }
55
55
  function at(e, r, a) {
56
56
  {
57
- var u = U.ReactDebugCurrentFrame, _ = u.getStackAddendum();
58
- _ !== "" && (r += "%s", a = a.concat([_]));
59
- var R = a.map(function(h) {
60
- return String(h);
57
+ var u = U.ReactDebugCurrentFrame, y = u.getStackAddendum();
58
+ y !== "" && (r += "%s", a = a.concat([y]));
59
+ var R = a.map(function(m) {
60
+ return String(m);
61
61
  });
62
62
  R.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, R);
63
63
  }
64
64
  }
65
- var st = !1, it = !1, ct = !1, lt = !1, ut = !1, Se;
66
- Se = Symbol.for("react.module.reference");
65
+ var st = !1, it = !1, ct = !1, lt = !1, ut = !1, Ee;
66
+ Ee = Symbol.for("react.module.reference");
67
67
  function ft(e) {
68
- return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ut || e === s || e === b || e === g || lt || e === P || st || it || ct || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === m || e.$$typeof === v || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
68
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ut || e === s || e === b || e === h || lt || e === x || st || it || ct || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === g || e.$$typeof === p || e.$$typeof === v || e.$$typeof === f || // This needs to include all possible module reference object
69
69
  // types supported by any Flight configuration anywhere since
70
70
  // we don't know which Flight build this will end up being used
71
71
  // with.
72
- e.$$typeof === Se || e.getModuleId !== void 0));
72
+ e.$$typeof === Ee || e.getModuleId !== void 0));
73
73
  }
74
74
  function dt(e, r, a) {
75
75
  var u = e.displayName;
76
76
  if (u)
77
77
  return u;
78
- var _ = r.displayName || r.name || "";
79
- return _ !== "" ? a + "(" + _ + ")" : a;
78
+ var y = r.displayName || r.name || "";
79
+ return y !== "" ? a + "(" + y + ")" : a;
80
80
  }
81
- function Ee(e) {
81
+ function Se(e) {
82
82
  return e.displayName || "Context";
83
83
  }
84
84
  function $(e) {
@@ -99,26 +99,26 @@ function vr() {
99
99
  return "StrictMode";
100
100
  case b:
101
101
  return "Suspense";
102
- case g:
102
+ case h:
103
103
  return "SuspenseList";
104
104
  }
105
105
  if (typeof e == "object")
106
106
  switch (e.$$typeof) {
107
- case p:
108
- var r = e;
109
- return Ee(r) + ".Consumer";
110
107
  case v:
108
+ var r = e;
109
+ return Se(r) + ".Consumer";
110
+ case p:
111
111
  var a = e;
112
- return Ee(a._context) + ".Provider";
112
+ return Se(a._context) + ".Provider";
113
113
  case f:
114
114
  return dt(e, e.render, "ForwardRef");
115
- case m:
115
+ case g:
116
116
  var u = e.displayName || null;
117
117
  return u !== null ? u : $(e.type) || "Memo";
118
- case y: {
119
- var _ = e, R = _._payload, h = _._init;
118
+ case _: {
119
+ var y = e, R = y._payload, m = y._init;
120
120
  try {
121
- return $(h(R));
121
+ return $(m(R));
122
122
  } catch {
123
123
  return null;
124
124
  }
@@ -126,14 +126,14 @@ function vr() {
126
126
  }
127
127
  return null;
128
128
  }
129
- var N = Object.assign, q = 0, xe, je, Ae, ke, Oe, Pe, we;
129
+ var N = Object.assign, q = 0, xe, Ae, je, ke, Oe, Pe, we;
130
130
  function Te() {
131
131
  }
132
132
  Te.__reactDisabledLog = !0;
133
133
  function pt() {
134
134
  {
135
135
  if (q === 0) {
136
- xe = console.log, je = console.info, Ae = console.warn, ke = console.error, Oe = console.group, Pe = console.groupCollapsed, we = console.groupEnd;
136
+ xe = console.log, Ae = console.info, je = console.warn, ke = console.error, Oe = console.group, Pe = console.groupCollapsed, we = console.groupEnd;
137
137
  var e = {
138
138
  configurable: !0,
139
139
  enumerable: !0,
@@ -166,10 +166,10 @@ function vr() {
166
166
  value: xe
167
167
  }),
168
168
  info: N({}, e, {
169
- value: je
169
+ value: Ae
170
170
  }),
171
171
  warn: N({}, e, {
172
- value: Ae
172
+ value: je
173
173
  }),
174
174
  error: N({}, e, {
175
175
  value: ke
@@ -194,8 +194,8 @@ function vr() {
194
194
  if (ie === void 0)
195
195
  try {
196
196
  throw Error();
197
- } catch (_) {
198
- var u = _.stack.trim().match(/\n( *(at )?)/);
197
+ } catch (y) {
198
+ var u = y.stack.trim().match(/\n( *(at )?)/);
199
199
  ie = u && u[1] || "";
200
200
  }
201
201
  return `
@@ -217,71 +217,71 @@ function vr() {
217
217
  }
218
218
  var u;
219
219
  ce = !0;
220
- var _ = Error.prepareStackTrace;
220
+ var y = Error.prepareStackTrace;
221
221
  Error.prepareStackTrace = void 0;
222
222
  var R;
223
223
  R = se.current, se.current = null, pt();
224
224
  try {
225
225
  if (r) {
226
- var h = function() {
226
+ var m = function() {
227
227
  throw Error();
228
228
  };
229
- if (Object.defineProperty(h.prototype, "props", {
229
+ if (Object.defineProperty(m.prototype, "props", {
230
230
  set: function() {
231
231
  throw Error();
232
232
  }
233
233
  }), typeof Reflect == "object" && Reflect.construct) {
234
234
  try {
235
- Reflect.construct(h, []);
236
- } catch (k) {
237
- u = k;
235
+ Reflect.construct(m, []);
236
+ } catch (O) {
237
+ u = O;
238
238
  }
239
- Reflect.construct(e, [], h);
239
+ Reflect.construct(e, [], m);
240
240
  } else {
241
241
  try {
242
- h.call();
243
- } catch (k) {
244
- u = k;
242
+ m.call();
243
+ } catch (O) {
244
+ u = O;
245
245
  }
246
- e.call(h.prototype);
246
+ e.call(m.prototype);
247
247
  }
248
248
  } else {
249
249
  try {
250
250
  throw Error();
251
- } catch (k) {
252
- u = k;
251
+ } catch (O) {
252
+ u = O;
253
253
  }
254
254
  e();
255
255
  }
256
- } catch (k) {
257
- if (k && u && typeof k.stack == "string") {
258
- for (var d = k.stack.split(`
259
- `), A = u.stack.split(`
260
- `), S = d.length - 1, E = A.length - 1; S >= 1 && E >= 0 && d[S] !== A[E]; )
261
- E--;
262
- for (; S >= 1 && E >= 0; S--, E--)
263
- if (d[S] !== A[E]) {
264
- if (S !== 1 || E !== 1)
256
+ } catch (O) {
257
+ if (O && u && typeof O.stack == "string") {
258
+ for (var d = O.stack.split(`
259
+ `), k = u.stack.split(`
260
+ `), E = d.length - 1, S = k.length - 1; E >= 1 && S >= 0 && d[E] !== k[S]; )
261
+ S--;
262
+ for (; E >= 1 && S >= 0; E--, S--)
263
+ if (d[E] !== k[S]) {
264
+ if (E !== 1 || S !== 1)
265
265
  do
266
- if (S--, E--, E < 0 || d[S] !== A[E]) {
267
- var O = `
268
- ` + d[S].replace(" at new ", " at ");
269
- return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, O), O;
266
+ if (E--, S--, S < 0 || d[E] !== k[S]) {
267
+ var P = `
268
+ ` + d[E].replace(" at new ", " at ");
269
+ return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, P), P;
270
270
  }
271
- while (S >= 1 && E >= 0);
271
+ while (E >= 1 && S >= 0);
272
272
  break;
273
273
  }
274
274
  }
275
275
  } finally {
276
- ce = !1, se.current = R, vt(), Error.prepareStackTrace = _;
276
+ ce = !1, se.current = R, vt(), Error.prepareStackTrace = y;
277
277
  }
278
278
  var W = e ? e.displayName || e.name : "", I = W ? G(W) : "";
279
279
  return typeof e == "function" && X.set(e, I), I;
280
280
  }
281
- function gt(e, r, a) {
281
+ function mt(e, r, a) {
282
282
  return Ce(e, !1);
283
283
  }
284
- function mt(e) {
284
+ function gt(e) {
285
285
  var r = e.prototype;
286
286
  return !!(r && r.isReactComponent);
287
287
  }
@@ -289,25 +289,25 @@ function vr() {
289
289
  if (e == null)
290
290
  return "";
291
291
  if (typeof e == "function")
292
- return Ce(e, mt(e));
292
+ return Ce(e, gt(e));
293
293
  if (typeof e == "string")
294
294
  return G(e);
295
295
  switch (e) {
296
296
  case b:
297
297
  return G("Suspense");
298
- case g:
298
+ case h:
299
299
  return G("SuspenseList");
300
300
  }
301
301
  if (typeof e == "object")
302
302
  switch (e.$$typeof) {
303
303
  case f:
304
- return gt(e.render);
305
- case m:
304
+ return mt(e.render);
305
+ case g:
306
306
  return Z(e.type, r, a);
307
- case y: {
308
- var u = e, _ = u._payload, R = u._init;
307
+ case _: {
308
+ var u = e, y = u._payload, R = u._init;
309
309
  try {
310
- return Z(R(_), r, a);
310
+ return Z(R(y), r, a);
311
311
  } catch {
312
312
  }
313
313
  }
@@ -322,22 +322,22 @@ function vr() {
322
322
  } else
323
323
  Ne.setExtraStackFrame(null);
324
324
  }
325
- function bt(e, r, a, u, _) {
325
+ function bt(e, r, a, u, y) {
326
326
  {
327
327
  var R = Function.call.bind(z);
328
- for (var h in e)
329
- if (R(e, h)) {
328
+ for (var m in e)
329
+ if (R(e, m)) {
330
330
  var d = void 0;
331
331
  try {
332
- if (typeof e[h] != "function") {
333
- var A = Error((u || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
- throw A.name = "Invariant Violation", A;
332
+ if (typeof e[m] != "function") {
333
+ var k = Error((u || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
+ throw k.name = "Invariant Violation", k;
335
335
  }
336
- d = e[h](r, h, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
- } catch (S) {
338
- d = S;
336
+ d = e[m](r, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
+ } catch (E) {
338
+ d = E;
339
339
  }
340
- d && !(d instanceof Error) && (Q(_), 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).", u || "React class", a, h, typeof d), Q(null)), d instanceof Error && !(d.message in $e) && ($e[d.message] = !0, Q(_), j("Failed %s type: %s", a, d.message), Q(null));
340
+ d && !(d instanceof Error) && (Q(y), 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).", u || "React class", a, m, typeof d), Q(null)), d instanceof Error && !(d.message in $e) && ($e[d.message] = !0, Q(y), j("Failed %s type: %s", a, d.message), Q(null));
341
341
  }
342
342
  }
343
343
  }
@@ -365,13 +365,13 @@ function vr() {
365
365
  if (Rt(e))
366
366
  return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _t(e)), Ie(e);
367
367
  }
368
- var Be = U.ReactCurrentOwner, St = {
368
+ var Be = U.ReactCurrentOwner, Et = {
369
369
  key: !0,
370
370
  ref: !0,
371
371
  __self: !0,
372
372
  __source: !0
373
373
  }, Le, De;
374
- function Et(e) {
374
+ function St(e) {
375
375
  if (z.call(e, "ref")) {
376
376
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
377
377
  if (r && r.isReactWarning)
@@ -387,10 +387,10 @@ function vr() {
387
387
  }
388
388
  return e.key !== void 0;
389
389
  }
390
- function jt(e, r) {
390
+ function At(e, r) {
391
391
  typeof e.ref == "string" && Be.current;
392
392
  }
393
- function At(e, r) {
393
+ function jt(e, r) {
394
394
  {
395
395
  var a = function() {
396
396
  Le || (Le = !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)", r));
@@ -412,7 +412,7 @@ function vr() {
412
412
  });
413
413
  }
414
414
  }
415
- var Ot = function(e, r, a, u, _, R, h) {
415
+ var Ot = function(e, r, a, u, y, R, m) {
416
416
  var d = {
417
417
  // This tag allows us to uniquely identify this as a React Element
418
418
  $$typeof: n,
@@ -420,7 +420,7 @@ function vr() {
420
420
  type: e,
421
421
  key: r,
422
422
  ref: a,
423
- props: h,
423
+ props: m,
424
424
  // Record the component responsible for creating this element.
425
425
  _owner: R
426
426
  };
@@ -438,25 +438,25 @@ function vr() {
438
438
  configurable: !1,
439
439
  enumerable: !1,
440
440
  writable: !1,
441
- value: _
441
+ value: y
442
442
  }), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
443
443
  };
444
- function Pt(e, r, a, u, _) {
444
+ function Pt(e, r, a, u, y) {
445
445
  {
446
- var R, h = {}, d = null, A = null;
447
- a !== void 0 && (Me(a), d = "" + a), xt(r) && (Me(r.key), d = "" + r.key), Et(r) && (A = r.ref, jt(r, _));
446
+ var R, m = {}, d = null, k = null;
447
+ a !== void 0 && (Me(a), d = "" + a), xt(r) && (Me(r.key), d = "" + r.key), St(r) && (k = r.ref, At(r, y));
448
448
  for (R in r)
449
- z.call(r, R) && !St.hasOwnProperty(R) && (h[R] = r[R]);
449
+ z.call(r, R) && !Et.hasOwnProperty(R) && (m[R] = r[R]);
450
450
  if (e && e.defaultProps) {
451
- var S = e.defaultProps;
452
- for (R in S)
453
- h[R] === void 0 && (h[R] = S[R]);
451
+ var E = e.defaultProps;
452
+ for (R in E)
453
+ m[R] === void 0 && (m[R] = E[R]);
454
454
  }
455
- if (d || A) {
456
- var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
- d && At(h, E), A && kt(h, E);
455
+ if (d || k) {
456
+ var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
+ d && jt(m, S), k && kt(m, S);
458
458
  }
459
- return Ot(e, d, A, _, u, Be.current, h);
459
+ return Ot(e, d, k, y, u, Be.current, m);
460
460
  }
461
461
  }
462
462
  var ue = U.ReactCurrentOwner, Ue = U.ReactDebugCurrentFrame;
@@ -525,10 +525,10 @@ Check the top-level render call using <` + a + ">.");
525
525
  else if (de(e))
526
526
  e._store && (e._store.validated = !0);
527
527
  else if (e) {
528
- var _ = ot(e);
529
- if (typeof _ == "function" && _ !== e.entries)
530
- for (var R = _.call(e), h; !(h = R.next()).done; )
531
- de(h.value) && Ye(h.value, r);
528
+ var y = ot(e);
529
+ if (typeof y == "function" && y !== e.entries)
530
+ for (var R = y.call(e), m; !(m = R.next()).done; )
531
+ de(m.value) && Ye(m.value, r);
532
532
  }
533
533
  }
534
534
  }
@@ -542,7 +542,7 @@ Check the top-level render call using <` + a + ">.");
542
542
  a = r.propTypes;
543
543
  else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
544
544
  // Inner props are checked in the reconciler.
545
- r.$$typeof === m))
545
+ r.$$typeof === g))
546
546
  a = r.propTypes;
547
547
  else
548
548
  return;
@@ -551,8 +551,8 @@ Check the top-level render call using <` + a + ">.");
551
551
  bt(a, e.props, "prop", u, e);
552
552
  } else if (r.PropTypes !== void 0 && !fe) {
553
553
  fe = !0;
554
- var _ = $(r);
555
- j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
554
+ var y = $(r);
555
+ j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
556
556
  }
557
557
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
558
558
  }
@@ -570,39 +570,39 @@ Check the top-level render call using <` + a + ">.");
570
570
  }
571
571
  }
572
572
  var ze = {};
573
- function Ve(e, r, a, u, _, R) {
573
+ function Ve(e, r, a, u, y, R) {
574
574
  {
575
- var h = ft(e);
576
- if (!h) {
575
+ var m = ft(e);
576
+ if (!m) {
577
577
  var d = "";
578
578
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
579
- var A = wt();
580
- A ? d += A : d += Fe();
581
- var S;
582
- e === null ? S = "null" : le(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : S = 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", S, d);
579
+ var k = wt();
580
+ k ? d += k : d += Fe();
581
+ var E;
582
+ e === null ? E = "null" : le(e) ? E = "array" : e !== void 0 && e.$$typeof === n ? (E = "<" + ($(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : E = 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", E, d);
583
583
  }
584
- var E = Pt(e, r, a, _, R);
585
- if (E == null)
586
- return E;
587
- if (h) {
588
- var O = r.children;
589
- if (O !== void 0)
584
+ var S = Pt(e, r, a, y, R);
585
+ if (S == null)
586
+ return S;
587
+ if (m) {
588
+ var P = r.children;
589
+ if (P !== void 0)
590
590
  if (u)
591
- if (le(O)) {
592
- for (var W = 0; W < O.length; W++)
593
- qe(O[W], e);
594
- Object.freeze && Object.freeze(O);
591
+ if (le(P)) {
592
+ for (var W = 0; W < P.length; W++)
593
+ qe(P[W], e);
594
+ Object.freeze && Object.freeze(P);
595
595
  } else
596
596
  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.");
597
597
  else
598
- qe(O, e);
598
+ qe(P, e);
599
599
  }
600
600
  if (z.call(r, "key")) {
601
- var I = $(e), k = Object.keys(r).filter(function(Dt) {
601
+ var I = $(e), O = Object.keys(r).filter(function(Dt) {
602
602
  return Dt !== "key";
603
- }), pe = k.length > 0 ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}";
603
+ }), pe = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
604
604
  if (!ze[I + pe]) {
605
- var Lt = k.length > 0 ? "{" + k.join(": ..., ") + ": ...}" : "{}";
605
+ var Lt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
606
606
  j(`A props object containing a "key" prop is being spread into JSX:
607
607
  let props = %s;
608
608
  <%s {...props} />
@@ -611,7 +611,7 @@ React keys must be passed directly to JSX without using spread:
611
611
  <%s key={someKey} {...props} />`, pe, I, Lt, I), ze[I + pe] = !0;
612
612
  }
613
613
  }
614
- return e === i ? $t(E) : Ct(E), E;
614
+ return e === i ? $t(S) : Ct(S), S;
615
615
  }
616
616
  }
617
617
  function Nt(e, r, a) {
@@ -626,58 +626,58 @@ React keys must be passed directly to JSX without using spread:
626
626
  }
627
627
  process.env.NODE_ENV === "production" ? Ft.exports = pr() : Ft.exports = vr();
628
628
  var l = Ft.exports;
629
- const hr = "_o_1apbm_11", gr = "_x_1apbm_24", mr = "_p_1apbm_28", br = "_m_1apbm_45", ye = {
629
+ const hr = "_o_1apbm_11", mr = "_x_1apbm_24", gr = "_p_1apbm_28", br = "_m_1apbm_45", ye = {
630
630
  o: hr,
631
- x: gr,
632
- p: mr,
631
+ x: mr,
632
+ p: gr,
633
633
  m: br
634
634
  };
635
635
  let Y = {};
636
636
  var Wt;
637
637
  ((t) => {
638
638
  function n({
639
- children: p,
639
+ children: v,
640
640
  onCallbackModal: f,
641
641
  nameModal: b,
642
- offsetTop: g
642
+ offsetTop: h
643
643
  }) {
644
- const [m, y] = C(!1), [P, w] = C(!1);
644
+ const [g, _] = C(!1), [x, w] = C(!1);
645
645
  if (Y[b].onClose = () => {
646
646
  T.BackButton(!1), w(!0), setTimeout(() => {
647
- y(!1), w(!1), f == null || f(), Y.x(b);
647
+ _(!1), w(!1), f == null || f(), Y.x(b);
648
648
  }, 300);
649
649
  }, D(() => {
650
- m ? Y[b].onClose() : (T.BackButton({
650
+ g ? Y[b].onClose() : (T.BackButton({
651
651
  callback: () => Y[b].onClose()
652
- }), y(!0));
653
- }, []), !!m)
654
- return /* @__PURE__ */ l.jsx("div", { className: be(ye.o, P && ye.x), children: /* @__PURE__ */ l.jsx(
652
+ }), _(!0));
653
+ }, []), !!g)
654
+ return /* @__PURE__ */ l.jsx("div", { className: be(ye.o, x && ye.x), children: /* @__PURE__ */ l.jsx(
655
655
  "div",
656
656
  {
657
657
  className: be(
658
658
  ye.p,
659
- P && ye.x,
660
- g ? ye.o : ye.m
659
+ x && ye.x,
660
+ h ? ye.o : ye.m
661
661
  ),
662
- children: p
662
+ children: v
663
663
  }
664
664
  ) });
665
665
  }
666
666
  t.Content = n;
667
667
  function o({
668
- import_modules: p
668
+ import_modules: v
669
669
  }) {
670
670
  let [f, b] = C([]);
671
- return Y.x = (g) => {
672
- b(g ? f.filter((m) => m.key !== g) : []);
671
+ return Y.x = (h) => {
672
+ b(h ? f.filter((g) => g.key !== h) : []);
673
673
  }, D(() => {
674
- p && (Y.i = p);
675
- }, []), Y.add = (g, m = Date.now()) => {
676
- b([...f, { key: m, item: g }]);
677
- }, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((g) => g.item) });
674
+ v && (Y.i = v);
675
+ }, []), Y.add = (h, g = Date.now()) => {
676
+ b([...f, { key: g, item: h }]);
677
+ }, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((h) => h.item) });
678
678
  }
679
679
  t.Init = o;
680
- function i(p, f, b) {
680
+ function i(v, f, b) {
681
681
  Y.add(
682
682
  /* @__PURE__ */ l.jsx(
683
683
  n,
@@ -685,7 +685,7 @@ var Wt;
685
685
  onCallbackModal: Y["callback_modal" + f],
686
686
  nameModal: f || "",
687
687
  offsetTop: b,
688
- children: p
688
+ children: v
689
689
  },
690
690
  String(Date.now())
691
691
  ),
@@ -693,17 +693,17 @@ var Wt;
693
693
  );
694
694
  }
695
695
  t.Add = i;
696
- function s(p, f = Date.now().toString(), b) {
696
+ function s(v, f = Date.now().toString(), b) {
697
697
  return Y[f] = {}, {
698
- Open: (y) => {
698
+ Open: (_) => {
699
699
  t.Add(
700
700
  /* @__PURE__ */ l.jsx(
701
- p,
701
+ v,
702
702
  {
703
- ...y,
704
- onCallbackModal: (P) => {
703
+ ..._,
704
+ onCallbackModal: (x) => {
705
705
  var w;
706
- (w = y.callback) == null || w.call(y, P);
706
+ (w = _.callback) == null || w.call(_, x);
707
707
  },
708
708
  nameModal: f
709
709
  },
@@ -716,17 +716,17 @@ var Wt;
716
716
  };
717
717
  }
718
718
  t.Create = s;
719
- function c(p) {
720
- Y[p].onClose();
719
+ function c(v) {
720
+ Y[v].onClose();
721
721
  }
722
722
  t.Close = c;
723
- function v(p, f, b, g) {
724
- Y.i && (g && (b.callback = g), Y.i(`${p}/modals/${f}.tsx`).then((m) => {
725
- var y;
726
- m.Open ? m.Open(b) : (y = m.default) != null && y.Open ? m.default.Open(b) : m.default && m.default(b);
723
+ function p(v, f, b, h) {
724
+ Y.i && (h && (b.callback = h), Y.i(`${v}/modals/${f}.tsx`).then((g) => {
725
+ var _;
726
+ g.Open ? g.Open(b) : (_ = g.default) != null && _.Open ? g.default.Open(b) : g.default && g.default(b);
727
727
  }));
728
728
  }
729
- t.Open = v;
729
+ t.Open = p;
730
730
  })(Wt || (Wt = {}));
731
731
  function nr() {
732
732
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
@@ -768,8 +768,8 @@ const tt = (t) => {
768
768
  const o = new Uint8Array(t.length), i = new Uint8Array(t.length);
769
769
  let s = 0;
770
770
  for (let c = 0; c < t.length; c++) {
771
- const v = c % n.length;
772
- s = n[v] + c + s & 255, i[c] = s;
771
+ const p = c % n.length;
772
+ s = n[p] + c + s & 255, i[c] = s;
773
773
  }
774
774
  for (let c = 0; c < t.length; c++)
775
775
  o[c] = t[c] ^ i[c];
@@ -781,17 +781,17 @@ const tt = (t) => {
781
781
  n += String.fromCharCode.apply(null, Array.from(i));
782
782
  }
783
783
  return btoa(n);
784
- }, Sr = (t) => {
784
+ }, Er = (t) => {
785
785
  const n = atob(t), o = new Uint8Array(n.length);
786
786
  for (let i = 0; i < n.length; i++)
787
787
  o[i] = n.charCodeAt(i);
788
788
  return o;
789
- }, Er = (t) => {
789
+ }, Sr = (t) => {
790
790
  try {
791
791
  const n = tt(
792
792
  Date.now().toString() + Math.random()
793
- ).substring(0, et().saltLength * 2), o = tt(t + n).substring(0, 8), i = ar(et().key, n), s = yr(t), c = sr(s, i), v = Rr(c);
794
- return `${n}.${v}.${o}`;
793
+ ).substring(0, et().saltLength * 2), o = tt(t + n).substring(0, 8), i = ar(et().key, n), s = yr(t), c = sr(s, i), p = Rr(c);
794
+ return `${n}.${p}.${o}`;
795
795
  } catch {
796
796
  throw new Error("Не удалось зашифровать данные");
797
797
  }
@@ -800,7 +800,7 @@ const tt = (t) => {
800
800
  const n = t.split(".");
801
801
  if (n.length !== 3)
802
802
  throw new Error("Неверный формат зашифрованных данных");
803
- const o = n[0], i = n[1], s = n[2], c = ar(et().key, o), v = Sr(i), p = sr(v, c), f = _r(p);
803
+ const o = n[0], i = n[1], s = n[2], c = ar(et().key, o), p = Er(i), v = sr(p, c), f = _r(v);
804
804
  if (tt(f + o).substring(
805
805
  0,
806
806
  8
@@ -818,7 +818,7 @@ var ae;
818
818
  }, t.enCode = (n) => {
819
819
  try {
820
820
  const o = JSON.stringify(n);
821
- return Er(o);
821
+ return Sr(o);
822
822
  } catch {
823
823
  throw new Error("Не удалось зашифровать объект");
824
824
  }
@@ -846,18 +846,18 @@ var Ke = {};
846
846
  * LICENSE file in the root directory of this source tree.
847
847
  */
848
848
  var Kt;
849
- function jr() {
849
+ function Ar() {
850
850
  if (Kt) return Ke;
851
851
  Kt = 1;
852
852
  var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
853
- function v(p, f, b) {
854
- var g, m = {}, y = null, P = null;
855
- b !== void 0 && (y = "" + b), f.key !== void 0 && (y = "" + f.key), f.ref !== void 0 && (P = f.ref);
856
- for (g in f) i.call(f, g) && !c.hasOwnProperty(g) && (m[g] = f[g]);
857
- if (p && p.defaultProps) for (g in f = p.defaultProps, f) m[g] === void 0 && (m[g] = f[g]);
858
- return { $$typeof: n, type: p, key: y, ref: P, props: m, _owner: s.current };
853
+ function p(v, f, b) {
854
+ var h, g = {}, _ = null, x = null;
855
+ b !== void 0 && (_ = "" + b), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (x = f.ref);
856
+ for (h in f) i.call(f, h) && !c.hasOwnProperty(h) && (g[h] = f[h]);
857
+ if (v && v.defaultProps) for (h in f = v.defaultProps, f) g[h] === void 0 && (g[h] = f[h]);
858
+ return { $$typeof: n, type: v, key: _, ref: x, props: g, _owner: s.current };
859
859
  }
860
- return Ke.Fragment = o, Ke.jsx = v, Ke.jsxs = v, Ke;
860
+ return Ke.Fragment = o, Ke.jsx = p, Ke.jsxs = p, Ke;
861
861
  }
862
862
  var Xe = {};
863
863
  /**
@@ -870,9 +870,9 @@ var Xe = {};
870
870
  * LICENSE file in the root directory of this source tree.
871
871
  */
872
872
  var Gt;
873
- function Ar() {
873
+ function jr() {
874
874
  return Gt || (Gt = 1, process.env.NODE_ENV !== "production" && function() {
875
- var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), w = Symbol.iterator, nt = "@@iterator";
875
+ var t = J, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), w = Symbol.iterator, nt = "@@iterator";
876
876
  function ot(e) {
877
877
  if (e === null || typeof e != "object")
878
878
  return null;
@@ -889,31 +889,31 @@ function Ar() {
889
889
  }
890
890
  function at(e, r, a) {
891
891
  {
892
- var u = U.ReactDebugCurrentFrame, _ = u.getStackAddendum();
893
- _ !== "" && (r += "%s", a = a.concat([_]));
894
- var R = a.map(function(h) {
895
- return String(h);
892
+ var u = U.ReactDebugCurrentFrame, y = u.getStackAddendum();
893
+ y !== "" && (r += "%s", a = a.concat([y]));
894
+ var R = a.map(function(m) {
895
+ return String(m);
896
896
  });
897
897
  R.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, R);
898
898
  }
899
899
  }
900
- var st = !1, it = !1, ct = !1, lt = !1, ut = !1, Se;
901
- Se = Symbol.for("react.module.reference");
900
+ var st = !1, it = !1, ct = !1, lt = !1, ut = !1, Ee;
901
+ Ee = Symbol.for("react.module.reference");
902
902
  function ft(e) {
903
- return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ut || e === s || e === b || e === g || lt || e === P || st || it || ct || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === m || e.$$typeof === v || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
903
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || ut || e === s || e === b || e === h || lt || e === x || st || it || ct || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === g || e.$$typeof === p || e.$$typeof === v || e.$$typeof === f || // This needs to include all possible module reference object
904
904
  // types supported by any Flight configuration anywhere since
905
905
  // we don't know which Flight build this will end up being used
906
906
  // with.
907
- e.$$typeof === Se || e.getModuleId !== void 0));
907
+ e.$$typeof === Ee || e.getModuleId !== void 0));
908
908
  }
909
909
  function dt(e, r, a) {
910
910
  var u = e.displayName;
911
911
  if (u)
912
912
  return u;
913
- var _ = r.displayName || r.name || "";
914
- return _ !== "" ? a + "(" + _ + ")" : a;
913
+ var y = r.displayName || r.name || "";
914
+ return y !== "" ? a + "(" + y + ")" : a;
915
915
  }
916
- function Ee(e) {
916
+ function Se(e) {
917
917
  return e.displayName || "Context";
918
918
  }
919
919
  function $(e) {
@@ -934,26 +934,26 @@ function Ar() {
934
934
  return "StrictMode";
935
935
  case b:
936
936
  return "Suspense";
937
- case g:
937
+ case h:
938
938
  return "SuspenseList";
939
939
  }
940
940
  if (typeof e == "object")
941
941
  switch (e.$$typeof) {
942
- case p:
943
- var r = e;
944
- return Ee(r) + ".Consumer";
945
942
  case v:
943
+ var r = e;
944
+ return Se(r) + ".Consumer";
945
+ case p:
946
946
  var a = e;
947
- return Ee(a._context) + ".Provider";
947
+ return Se(a._context) + ".Provider";
948
948
  case f:
949
949
  return dt(e, e.render, "ForwardRef");
950
- case m:
950
+ case g:
951
951
  var u = e.displayName || null;
952
952
  return u !== null ? u : $(e.type) || "Memo";
953
- case y: {
954
- var _ = e, R = _._payload, h = _._init;
953
+ case _: {
954
+ var y = e, R = y._payload, m = y._init;
955
955
  try {
956
- return $(h(R));
956
+ return $(m(R));
957
957
  } catch {
958
958
  return null;
959
959
  }
@@ -961,14 +961,14 @@ function Ar() {
961
961
  }
962
962
  return null;
963
963
  }
964
- var N = Object.assign, q = 0, xe, je, Ae, ke, Oe, Pe, we;
964
+ var N = Object.assign, q = 0, xe, Ae, je, ke, Oe, Pe, we;
965
965
  function Te() {
966
966
  }
967
967
  Te.__reactDisabledLog = !0;
968
968
  function pt() {
969
969
  {
970
970
  if (q === 0) {
971
- xe = console.log, je = console.info, Ae = console.warn, ke = console.error, Oe = console.group, Pe = console.groupCollapsed, we = console.groupEnd;
971
+ xe = console.log, Ae = console.info, je = console.warn, ke = console.error, Oe = console.group, Pe = console.groupCollapsed, we = console.groupEnd;
972
972
  var e = {
973
973
  configurable: !0,
974
974
  enumerable: !0,
@@ -1001,10 +1001,10 @@ function Ar() {
1001
1001
  value: xe
1002
1002
  }),
1003
1003
  info: N({}, e, {
1004
- value: je
1004
+ value: Ae
1005
1005
  }),
1006
1006
  warn: N({}, e, {
1007
- value: Ae
1007
+ value: je
1008
1008
  }),
1009
1009
  error: N({}, e, {
1010
1010
  value: ke
@@ -1029,8 +1029,8 @@ function Ar() {
1029
1029
  if (ie === void 0)
1030
1030
  try {
1031
1031
  throw Error();
1032
- } catch (_) {
1033
- var u = _.stack.trim().match(/\n( *(at )?)/);
1032
+ } catch (y) {
1033
+ var u = y.stack.trim().match(/\n( *(at )?)/);
1034
1034
  ie = u && u[1] || "";
1035
1035
  }
1036
1036
  return `
@@ -1052,71 +1052,71 @@ function Ar() {
1052
1052
  }
1053
1053
  var u;
1054
1054
  ce = !0;
1055
- var _ = Error.prepareStackTrace;
1055
+ var y = Error.prepareStackTrace;
1056
1056
  Error.prepareStackTrace = void 0;
1057
1057
  var R;
1058
1058
  R = se.current, se.current = null, pt();
1059
1059
  try {
1060
1060
  if (r) {
1061
- var h = function() {
1061
+ var m = function() {
1062
1062
  throw Error();
1063
1063
  };
1064
- if (Object.defineProperty(h.prototype, "props", {
1064
+ if (Object.defineProperty(m.prototype, "props", {
1065
1065
  set: function() {
1066
1066
  throw Error();
1067
1067
  }
1068
1068
  }), typeof Reflect == "object" && Reflect.construct) {
1069
1069
  try {
1070
- Reflect.construct(h, []);
1071
- } catch (k) {
1072
- u = k;
1070
+ Reflect.construct(m, []);
1071
+ } catch (O) {
1072
+ u = O;
1073
1073
  }
1074
- Reflect.construct(e, [], h);
1074
+ Reflect.construct(e, [], m);
1075
1075
  } else {
1076
1076
  try {
1077
- h.call();
1078
- } catch (k) {
1079
- u = k;
1077
+ m.call();
1078
+ } catch (O) {
1079
+ u = O;
1080
1080
  }
1081
- e.call(h.prototype);
1081
+ e.call(m.prototype);
1082
1082
  }
1083
1083
  } else {
1084
1084
  try {
1085
1085
  throw Error();
1086
- } catch (k) {
1087
- u = k;
1086
+ } catch (O) {
1087
+ u = O;
1088
1088
  }
1089
1089
  e();
1090
1090
  }
1091
- } catch (k) {
1092
- if (k && u && typeof k.stack == "string") {
1093
- for (var d = k.stack.split(`
1094
- `), A = u.stack.split(`
1095
- `), S = d.length - 1, E = A.length - 1; S >= 1 && E >= 0 && d[S] !== A[E]; )
1096
- E--;
1097
- for (; S >= 1 && E >= 0; S--, E--)
1098
- if (d[S] !== A[E]) {
1099
- if (S !== 1 || E !== 1)
1091
+ } catch (O) {
1092
+ if (O && u && typeof O.stack == "string") {
1093
+ for (var d = O.stack.split(`
1094
+ `), k = u.stack.split(`
1095
+ `), E = d.length - 1, S = k.length - 1; E >= 1 && S >= 0 && d[E] !== k[S]; )
1096
+ S--;
1097
+ for (; E >= 1 && S >= 0; E--, S--)
1098
+ if (d[E] !== k[S]) {
1099
+ if (E !== 1 || S !== 1)
1100
1100
  do
1101
- if (S--, E--, E < 0 || d[S] !== A[E]) {
1102
- var O = `
1103
- ` + d[S].replace(" at new ", " at ");
1104
- return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, O), O;
1101
+ if (E--, S--, S < 0 || d[E] !== k[S]) {
1102
+ var P = `
1103
+ ` + d[E].replace(" at new ", " at ");
1104
+ return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && X.set(e, P), P;
1105
1105
  }
1106
- while (S >= 1 && E >= 0);
1106
+ while (E >= 1 && S >= 0);
1107
1107
  break;
1108
1108
  }
1109
1109
  }
1110
1110
  } finally {
1111
- ce = !1, se.current = R, vt(), Error.prepareStackTrace = _;
1111
+ ce = !1, se.current = R, vt(), Error.prepareStackTrace = y;
1112
1112
  }
1113
1113
  var W = e ? e.displayName || e.name : "", I = W ? G(W) : "";
1114
1114
  return typeof e == "function" && X.set(e, I), I;
1115
1115
  }
1116
- function gt(e, r, a) {
1116
+ function mt(e, r, a) {
1117
1117
  return Ce(e, !1);
1118
1118
  }
1119
- function mt(e) {
1119
+ function gt(e) {
1120
1120
  var r = e.prototype;
1121
1121
  return !!(r && r.isReactComponent);
1122
1122
  }
@@ -1124,25 +1124,25 @@ function Ar() {
1124
1124
  if (e == null)
1125
1125
  return "";
1126
1126
  if (typeof e == "function")
1127
- return Ce(e, mt(e));
1127
+ return Ce(e, gt(e));
1128
1128
  if (typeof e == "string")
1129
1129
  return G(e);
1130
1130
  switch (e) {
1131
1131
  case b:
1132
1132
  return G("Suspense");
1133
- case g:
1133
+ case h:
1134
1134
  return G("SuspenseList");
1135
1135
  }
1136
1136
  if (typeof e == "object")
1137
1137
  switch (e.$$typeof) {
1138
1138
  case f:
1139
- return gt(e.render);
1140
- case m:
1139
+ return mt(e.render);
1140
+ case g:
1141
1141
  return Z(e.type, r, a);
1142
- case y: {
1143
- var u = e, _ = u._payload, R = u._init;
1142
+ case _: {
1143
+ var u = e, y = u._payload, R = u._init;
1144
1144
  try {
1145
- return Z(R(_), r, a);
1145
+ return Z(R(y), r, a);
1146
1146
  } catch {
1147
1147
  }
1148
1148
  }
@@ -1157,22 +1157,22 @@ function Ar() {
1157
1157
  } else
1158
1158
  Ne.setExtraStackFrame(null);
1159
1159
  }
1160
- function bt(e, r, a, u, _) {
1160
+ function bt(e, r, a, u, y) {
1161
1161
  {
1162
1162
  var R = Function.call.bind(z);
1163
- for (var h in e)
1164
- if (R(e, h)) {
1163
+ for (var m in e)
1164
+ if (R(e, m)) {
1165
1165
  var d = void 0;
1166
1166
  try {
1167
- if (typeof e[h] != "function") {
1168
- var A = Error((u || "React class") + ": " + a + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1169
- throw A.name = "Invariant Violation", A;
1167
+ if (typeof e[m] != "function") {
1168
+ var k = Error((u || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1169
+ throw k.name = "Invariant Violation", k;
1170
1170
  }
1171
- d = e[h](r, h, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1172
- } catch (S) {
1173
- d = S;
1171
+ d = e[m](r, m, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1172
+ } catch (E) {
1173
+ d = E;
1174
1174
  }
1175
- d && !(d instanceof Error) && (Q(_), 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).", u || "React class", a, h, typeof d), Q(null)), d instanceof Error && !(d.message in $e) && ($e[d.message] = !0, Q(_), j("Failed %s type: %s", a, d.message), Q(null));
1175
+ d && !(d instanceof Error) && (Q(y), 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).", u || "React class", a, m, typeof d), Q(null)), d instanceof Error && !(d.message in $e) && ($e[d.message] = !0, Q(y), j("Failed %s type: %s", a, d.message), Q(null));
1176
1176
  }
1177
1177
  }
1178
1178
  }
@@ -1200,13 +1200,13 @@ function Ar() {
1200
1200
  if (Rt(e))
1201
1201
  return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _t(e)), Ie(e);
1202
1202
  }
1203
- var Be = U.ReactCurrentOwner, St = {
1203
+ var Be = U.ReactCurrentOwner, Et = {
1204
1204
  key: !0,
1205
1205
  ref: !0,
1206
1206
  __self: !0,
1207
1207
  __source: !0
1208
1208
  }, Le, De;
1209
- function Et(e) {
1209
+ function St(e) {
1210
1210
  if (z.call(e, "ref")) {
1211
1211
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
1212
1212
  if (r && r.isReactWarning)
@@ -1222,10 +1222,10 @@ function Ar() {
1222
1222
  }
1223
1223
  return e.key !== void 0;
1224
1224
  }
1225
- function jt(e, r) {
1225
+ function At(e, r) {
1226
1226
  typeof e.ref == "string" && Be.current;
1227
1227
  }
1228
- function At(e, r) {
1228
+ function jt(e, r) {
1229
1229
  {
1230
1230
  var a = function() {
1231
1231
  Le || (Le = !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)", r));
@@ -1247,7 +1247,7 @@ function Ar() {
1247
1247
  });
1248
1248
  }
1249
1249
  }
1250
- var Ot = function(e, r, a, u, _, R, h) {
1250
+ var Ot = function(e, r, a, u, y, R, m) {
1251
1251
  var d = {
1252
1252
  // This tag allows us to uniquely identify this as a React Element
1253
1253
  $$typeof: n,
@@ -1255,7 +1255,7 @@ function Ar() {
1255
1255
  type: e,
1256
1256
  key: r,
1257
1257
  ref: a,
1258
- props: h,
1258
+ props: m,
1259
1259
  // Record the component responsible for creating this element.
1260
1260
  _owner: R
1261
1261
  };
@@ -1273,25 +1273,25 @@ function Ar() {
1273
1273
  configurable: !1,
1274
1274
  enumerable: !1,
1275
1275
  writable: !1,
1276
- value: _
1276
+ value: y
1277
1277
  }), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
1278
1278
  };
1279
- function Pt(e, r, a, u, _) {
1279
+ function Pt(e, r, a, u, y) {
1280
1280
  {
1281
- var R, h = {}, d = null, A = null;
1282
- a !== void 0 && (Me(a), d = "" + a), xt(r) && (Me(r.key), d = "" + r.key), Et(r) && (A = r.ref, jt(r));
1281
+ var R, m = {}, d = null, k = null;
1282
+ a !== void 0 && (Me(a), d = "" + a), xt(r) && (Me(r.key), d = "" + r.key), St(r) && (k = r.ref, At(r));
1283
1283
  for (R in r)
1284
- z.call(r, R) && !St.hasOwnProperty(R) && (h[R] = r[R]);
1284
+ z.call(r, R) && !Et.hasOwnProperty(R) && (m[R] = r[R]);
1285
1285
  if (e && e.defaultProps) {
1286
- var S = e.defaultProps;
1287
- for (R in S)
1288
- h[R] === void 0 && (h[R] = S[R]);
1286
+ var E = e.defaultProps;
1287
+ for (R in E)
1288
+ m[R] === void 0 && (m[R] = E[R]);
1289
1289
  }
1290
- if (d || A) {
1291
- var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1292
- d && At(h, E), A && kt(h, E);
1290
+ if (d || k) {
1291
+ var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1292
+ d && jt(m, S), k && kt(m, S);
1293
1293
  }
1294
- return Ot(e, d, A, _, u, Be.current, h);
1294
+ return Ot(e, d, k, y, u, Be.current, m);
1295
1295
  }
1296
1296
  }
1297
1297
  var ue = U.ReactCurrentOwner, Ue = U.ReactDebugCurrentFrame;
@@ -1360,10 +1360,10 @@ Check the top-level render call using <` + a + ">.");
1360
1360
  else if (de(e))
1361
1361
  e._store && (e._store.validated = !0);
1362
1362
  else if (e) {
1363
- var _ = ot(e);
1364
- if (typeof _ == "function" && _ !== e.entries)
1365
- for (var R = _.call(e), h; !(h = R.next()).done; )
1366
- de(h.value) && Ye(h.value, r);
1363
+ var y = ot(e);
1364
+ if (typeof y == "function" && y !== e.entries)
1365
+ for (var R = y.call(e), m; !(m = R.next()).done; )
1366
+ de(m.value) && Ye(m.value, r);
1367
1367
  }
1368
1368
  }
1369
1369
  }
@@ -1377,7 +1377,7 @@ Check the top-level render call using <` + a + ">.");
1377
1377
  a = r.propTypes;
1378
1378
  else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
1379
1379
  // Inner props are checked in the reconciler.
1380
- r.$$typeof === m))
1380
+ r.$$typeof === g))
1381
1381
  a = r.propTypes;
1382
1382
  else
1383
1383
  return;
@@ -1386,8 +1386,8 @@ Check the top-level render call using <` + a + ">.");
1386
1386
  bt(a, e.props, "prop", u, e);
1387
1387
  } else if (r.PropTypes !== void 0 && !fe) {
1388
1388
  fe = !0;
1389
- var _ = $(r);
1390
- j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
1389
+ var y = $(r);
1390
+ j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
1391
1391
  }
1392
1392
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1393
1393
  }
@@ -1405,39 +1405,39 @@ Check the top-level render call using <` + a + ">.");
1405
1405
  }
1406
1406
  }
1407
1407
  var ze = {};
1408
- function Ve(e, r, a, u, _, R) {
1408
+ function Ve(e, r, a, u, y, R) {
1409
1409
  {
1410
- var h = ft(e);
1411
- if (!h) {
1410
+ var m = ft(e);
1411
+ if (!m) {
1412
1412
  var d = "";
1413
1413
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1414
- var A = wt();
1415
- A ? d += A : d += Fe();
1416
- var S;
1417
- e === null ? S = "null" : le(e) ? S = "array" : e !== void 0 && e.$$typeof === n ? (S = "<" + ($(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : S = 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", S, d);
1414
+ var k = wt();
1415
+ k ? d += k : d += Fe();
1416
+ var E;
1417
+ e === null ? E = "null" : le(e) ? E = "array" : e !== void 0 && e.$$typeof === n ? (E = "<" + ($(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : E = 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", E, d);
1418
1418
  }
1419
- var E = Pt(e, r, a, _, R);
1420
- if (E == null)
1421
- return E;
1422
- if (h) {
1423
- var O = r.children;
1424
- if (O !== void 0)
1419
+ var S = Pt(e, r, a, y, R);
1420
+ if (S == null)
1421
+ return S;
1422
+ if (m) {
1423
+ var P = r.children;
1424
+ if (P !== void 0)
1425
1425
  if (u)
1426
- if (le(O)) {
1427
- for (var W = 0; W < O.length; W++)
1428
- qe(O[W], e);
1429
- Object.freeze && Object.freeze(O);
1426
+ if (le(P)) {
1427
+ for (var W = 0; W < P.length; W++)
1428
+ qe(P[W], e);
1429
+ Object.freeze && Object.freeze(P);
1430
1430
  } else
1431
1431
  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.");
1432
1432
  else
1433
- qe(O, e);
1433
+ qe(P, e);
1434
1434
  }
1435
1435
  if (z.call(r, "key")) {
1436
- var I = $(e), k = Object.keys(r).filter(function(Dt) {
1436
+ var I = $(e), O = Object.keys(r).filter(function(Dt) {
1437
1437
  return Dt !== "key";
1438
- }), pe = k.length > 0 ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}";
1438
+ }), pe = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
1439
1439
  if (!ze[I + pe]) {
1440
- var Lt = k.length > 0 ? "{" + k.join(": ..., ") + ": ...}" : "{}";
1440
+ var Lt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
1441
1441
  j(`A props object containing a "key" prop is being spread into JSX:
1442
1442
  let props = %s;
1443
1443
  <%s {...props} />
@@ -1446,7 +1446,7 @@ React keys must be passed directly to JSX without using spread:
1446
1446
  <%s key={someKey} {...props} />`, pe, I, Lt, I), ze[I + pe] = !0;
1447
1447
  }
1448
1448
  }
1449
- return e === i ? $t(E) : Ct(E), E;
1449
+ return e === i ? $t(S) : Ct(S), S;
1450
1450
  }
1451
1451
  }
1452
1452
  function Nt(e, r, a) {
@@ -1459,7 +1459,7 @@ React keys must be passed directly to JSX without using spread:
1459
1459
  Xe.Fragment = i, Xe.jsx = Mt, Xe.jsxs = Bt;
1460
1460
  }()), Xe;
1461
1461
  }
1462
- process.env.NODE_ENV === "production" ? jr() : Ar();
1462
+ process.env.NODE_ENV === "production" ? Ar() : jr();
1463
1463
  const kr = "0.0.46", ir = {
1464
1464
  version: kr
1465
1465
  }, te = {}, L = {
@@ -1492,7 +1492,7 @@ function K(t) {
1492
1492
  const c = H();
1493
1493
  if (c.ROUTER_PARAMS) {
1494
1494
  t.debug || c.ROUTER_PARAMS.debug;
1495
- const v = {
1495
+ const p = {
1496
1496
  page: (n = c.ROUTER_PARAMS) == null ? void 0 : n.page,
1497
1497
  module: (o = c.ROUTER_PARAMS) == null ? void 0 : o.module,
1498
1498
  tab: (i = c.ROUTER_PARAMS) == null ? void 0 : i.tab,
@@ -1501,23 +1501,23 @@ function K(t) {
1501
1501
  c.ROUTER_PARAMS = {
1502
1502
  ...c.ROUTER_PARAMS,
1503
1503
  ...t,
1504
- prev: v
1504
+ prev: p
1505
1505
  };
1506
1506
  } else {
1507
1507
  t.debug || L.debug;
1508
- const v = {
1508
+ const p = {
1509
1509
  page: L == null ? void 0 : L.page,
1510
1510
  module: L == null ? void 0 : L.module,
1511
1511
  tab: L == null ? void 0 : L.tab,
1512
1512
  id: L == null ? void 0 : L.id
1513
1513
  };
1514
- c.ROUTER_PARAMS = { ...L, ...t, prev: v };
1514
+ c.ROUTER_PARAMS = { ...L, ...t, prev: p };
1515
1515
  }
1516
1516
  }
1517
- function x() {
1517
+ function A() {
1518
1518
  return H().ROUTER_PARAMS || L;
1519
1519
  }
1520
- function me(t) {
1520
+ function ge(t) {
1521
1521
  const n = H();
1522
1522
  n.ROUTER_PARAMS || (n.ROUTER_PARAMS = { ...L }), n.ROUTER_PARAMS.LISTENER || (n.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((o) => {
1523
1523
  n.ROUTER_PARAMS.LISTENER[o] || (n.ROUTER_PARAMS.LISTENER[o] = []), Array.isArray(n.ROUTER_PARAMS.LISTENER[o]) || (n.ROUTER_PARAMS.LISTENER[o] = [
@@ -1532,11 +1532,11 @@ function V() {
1532
1532
  return o || (o = {}, n.ROUTER_PARAMS ? n.ROUTER_PARAMS.LISTENER = o : L.LISTENER = o), new Proxy(o, {
1533
1533
  get(i, s) {
1534
1534
  const c = i[s];
1535
- return Array.isArray(c) && c.length > 0 ? (...v) => {
1536
- c.forEach((p) => {
1537
- if (typeof p == "function")
1535
+ return Array.isArray(c) && c.length > 0 ? (...p) => {
1536
+ c.forEach((v) => {
1537
+ if (typeof v == "function")
1538
1538
  try {
1539
- p(...v);
1539
+ v(...p);
1540
1540
  } catch {
1541
1541
  }
1542
1542
  });
@@ -1567,10 +1567,10 @@ function Yt(t) {
1567
1567
  `./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
1568
1568
  );
1569
1569
  {
1570
- const v = n.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
1570
+ const p = n.replace(/^\.\//, "").replace(/\/+$/, ""), v = c.replace(/^\.\//, "").replace(/\/+/g, "/");
1571
1571
  return import(
1572
1572
  /* @vite-ignore */
1573
- `./${v}/${p}.js`
1573
+ `./${p}/${v}.js`
1574
1574
  );
1575
1575
  }
1576
1576
  };
@@ -1579,14 +1579,14 @@ function Or(t) {
1579
1579
  const { basePath: n = ".", modules: o, pages: i } = t || {};
1580
1580
  return (s) => {
1581
1581
  if (o) {
1582
- const v = Xt(s, o);
1583
- if (v)
1584
- return v();
1582
+ const p = Xt(s, o);
1583
+ if (p)
1584
+ return p();
1585
1585
  }
1586
1586
  if (i) {
1587
- const v = Xt(s, i);
1588
- if (v)
1589
- return v();
1587
+ const p = Xt(s, i);
1588
+ if (p)
1589
+ return p();
1590
1590
  }
1591
1591
  const c = s.replace(/\.(tsx|ts|jsx|js)$/, "");
1592
1592
  if (n === ".")
@@ -1595,10 +1595,10 @@ function Or(t) {
1595
1595
  `./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
1596
1596
  );
1597
1597
  {
1598
- const v = n.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
1598
+ const p = n.replace(/^\.\//, "").replace(/\/+$/, ""), v = c.replace(/^\.\//, "").replace(/\/+/g, "/");
1599
1599
  return import(
1600
1600
  /* @vite-ignore */
1601
- `./${v}/${p}.js`
1601
+ `./${p}/${v}.js`
1602
1602
  );
1603
1603
  }
1604
1604
  };
@@ -1628,37 +1628,37 @@ function Pr() {
1628
1628
  K({
1629
1629
  id: 0,
1630
1630
  tab: "",
1631
- page: (t = localStorage.getItem("d")) != null && t.length ? x().page : x().auth,
1632
- module: x().module
1631
+ page: (t = localStorage.getItem("d")) != null && t.length ? A().page : A().auth,
1632
+ module: A().module
1633
1633
  });
1634
1634
  return !0;
1635
1635
  }
1636
1636
  function cr() {
1637
- return x().page;
1637
+ return A().page;
1638
1638
  }
1639
1639
  function lr() {
1640
- return x().module || "";
1640
+ return A().module || "";
1641
1641
  }
1642
1642
  function zt() {
1643
- return x().tab;
1643
+ return A().tab;
1644
1644
  }
1645
1645
  function ur() {
1646
- return x().id;
1646
+ return A().id;
1647
1647
  }
1648
1648
  function wr(t) {
1649
1649
  let n = (s) => (K({ page: s }), s);
1650
1650
  const [o, i] = C(
1651
- cr() || t && n(t) || x().page
1651
+ cr() || t && n(t) || A().page
1652
1652
  );
1653
1653
  return D(() => {
1654
1654
  const s = (c) => {
1655
1655
  i(c);
1656
1656
  };
1657
- return me({ page: s }), () => {
1658
- var c, v;
1659
- const p = H();
1660
- if ((v = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && v.page) {
1661
- const f = p.ROUTER_PARAMS.LISTENER.page;
1657
+ return ge({ page: s }), () => {
1658
+ var c, p;
1659
+ const v = H();
1660
+ if ((p = (c = v.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && p.page) {
1661
+ const f = v.ROUTER_PARAMS.LISTENER.page;
1662
1662
  if (Array.isArray(f)) {
1663
1663
  const b = f.indexOf(s);
1664
1664
  b > -1 && f.splice(b, 1);
@@ -1669,57 +1669,57 @@ function wr(t) {
1669
1669
  }
1670
1670
  function Tr(t, n = !0, o = {}) {
1671
1671
  K({ page: t, ...o }), sessionStorage.setItem(
1672
- x().STORAGE,
1673
- ae.enCode(x())
1672
+ A().STORAGE,
1673
+ ae.enCode(A())
1674
1674
  ), n && V().page(t);
1675
1675
  }
1676
1676
  function Cr(t) {
1677
- return x().page === t;
1677
+ return A().page === t;
1678
1678
  }
1679
1679
  function $r() {
1680
- return x().prev;
1680
+ return A().prev;
1681
1681
  }
1682
1682
  function Nr(t, n) {
1683
1683
  const [o, i] = C(
1684
- lr() || t || x().module
1684
+ lr() || t || A().module
1685
1685
  );
1686
- return D(() => (me({ module: i }), () => {
1686
+ return D(() => (ge({ module: i }), () => {
1687
1687
  const s = V();
1688
1688
  s.module === i && delete s.module;
1689
1689
  }), []), o;
1690
1690
  }
1691
1691
  function Ir(t, n = !0) {
1692
1692
  K({ module: t }), sessionStorage.setItem(
1693
- x().STORAGE,
1694
- ae.enCode(x())
1693
+ A().STORAGE,
1694
+ ae.enCode(A())
1695
1695
  ), n && V().module(t);
1696
1696
  }
1697
1697
  function Mr(t) {
1698
- return x().module === t;
1698
+ return A().module === t;
1699
1699
  }
1700
1700
  function Br(t, n) {
1701
1701
  if (typeof t != "function") {
1702
1702
  const [o, i] = C(!n), [s, c] = C(t || zt());
1703
- return me({ tabs: c }), n && D(() => {
1703
+ return ge({ tabs: c }), n && D(() => {
1704
1704
  i(!0);
1705
1705
  }, []), [s, o];
1706
1706
  } else
1707
- me({ tabs: t });
1707
+ ge({ tabs: t });
1708
1708
  }
1709
1709
  function Lr(t) {
1710
1710
  let n = (s) => (K({ tab: s }), s);
1711
1711
  const [o, i] = C(
1712
- zt() || t && n(t) || x().tab
1712
+ zt() || t && n(t) || A().tab
1713
1713
  );
1714
1714
  return D(() => {
1715
1715
  const s = (c) => {
1716
1716
  i(c);
1717
1717
  };
1718
- return me({ tabs: s }), () => {
1719
- var c, v;
1720
- const p = H();
1721
- if ((v = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && v.tabs) {
1722
- const f = p.ROUTER_PARAMS.LISTENER.tabs;
1718
+ return ge({ tabs: s }), () => {
1719
+ var c, p;
1720
+ const v = H();
1721
+ if ((p = (c = v.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && p.tabs) {
1722
+ const f = v.ROUTER_PARAMS.LISTENER.tabs;
1723
1723
  if (Array.isArray(f)) {
1724
1724
  const b = f.indexOf(s);
1725
1725
  b > -1 && f.splice(b, 1);
@@ -1730,12 +1730,12 @@ function Lr(t) {
1730
1730
  }
1731
1731
  async function Dr(t, n = !0) {
1732
1732
  K({ tab: t }), sessionStorage.setItem(
1733
- x().STORAGE,
1734
- ae.enCode(x())
1733
+ A().STORAGE,
1734
+ ae.enCode(A())
1735
1735
  ), n && (V().tabs && V().tabs(t));
1736
1736
  }
1737
1737
  function Ur(t) {
1738
- return x().tab === t;
1738
+ return A().tab === t;
1739
1739
  }
1740
1740
  function Fr(t) {
1741
1741
  if (typeof t != "function") {
@@ -1744,13 +1744,13 @@ function Fr(t) {
1744
1744
  const i = (s) => {
1745
1745
  o(s);
1746
1746
  };
1747
- return me({ id: i }), () => {
1747
+ return ge({ id: i }), () => {
1748
1748
  const s = V();
1749
1749
  s.id === i && delete s.id;
1750
1750
  };
1751
1751
  }, []), n;
1752
1752
  } else
1753
- D(() => (me({ id: t }), () => {
1753
+ D(() => (ge({ id: t }), () => {
1754
1754
  var n, o;
1755
1755
  const i = H();
1756
1756
  if ((o = (n = i.ROUTER_PARAMS) == null ? void 0 : n.LISTENER) != null && o.id) {
@@ -1766,42 +1766,42 @@ function Wr(t) {
1766
1766
  }
1767
1767
  async function Yr(t, n = !0) {
1768
1768
  K({ id: t }), sessionStorage.setItem(
1769
- x().STORAGE,
1770
- ae.enCode(x())
1769
+ A().STORAGE,
1770
+ ae.enCode(A())
1771
1771
  ), n && V().id(t);
1772
1772
  }
1773
1773
  function qr(t) {
1774
- return Number(x().id) === t;
1774
+ return Number(A().id) === t;
1775
1775
  }
1776
1776
  async function zr(t) {
1777
- var n, o, i, s, c, v, p, f;
1778
- const { page: b, module: g, tab: m, id: y } = t;
1779
- b !== void 0 && (te.page = b), g !== void 0 && (te.module = g), m !== void 0 && (te.tab = m), y !== void 0 && (te.id = y), K({ ...te }), y !== void 0 && ((o = (n = V()).id) == null || o.call(n, y)), m !== void 0 && ((s = (i = V()).tabs) == null || s.call(i, m)), g !== void 0 && ((v = (c = V()).module) == null || v.call(c, g)), b !== void 0 && ((f = (p = V()).page) == null || f.call(p, b)), sessionStorage.setItem(
1780
- x().STORAGE,
1781
- ae.enCode(x())
1777
+ var n, o, i, s, c, p, v, f;
1778
+ const { page: b, module: h, tab: g, id: _ } = t;
1779
+ b !== void 0 && (te.page = b), h !== void 0 && (te.module = h), g !== void 0 && (te.tab = g), _ !== void 0 && (te.id = _), K({ ...te }), _ !== void 0 && ((o = (n = V()).id) == null || o.call(n, _)), g !== void 0 && ((s = (i = V()).tabs) == null || s.call(i, g)), h !== void 0 && ((p = (c = V()).module) == null || p.call(c, h)), b !== void 0 && ((f = (v = V()).page) == null || f.call(v, b)), sessionStorage.setItem(
1780
+ A().STORAGE,
1781
+ ae.enCode(A())
1782
1782
  );
1783
1783
  }
1784
1784
  const Re = {
1785
1785
  Reset() {
1786
- te.id = 0, te.tab = "", te.page = x().page, te.module = x().module;
1786
+ te.id = 0, te.tab = "", te.page = A().page, te.module = A().module;
1787
1787
  },
1788
1788
  Default({
1789
- module: t = x().module,
1790
- page: n = x().page,
1791
- auth: o = x().auth,
1792
- debug: i = x().debug,
1793
- dir: s = x().dir || ".",
1789
+ module: t = A().module,
1790
+ page: n = A().page,
1791
+ auth: o = A().auth,
1792
+ debug: i = A().debug,
1793
+ dir: s = A().dir || ".",
1794
1794
  importModules: c,
1795
- modules: v,
1796
- pages: p,
1795
+ modules: p,
1796
+ pages: v,
1797
1797
  glob: f
1798
1798
  // Поддержка единого glob объекта для упрощения
1799
1799
  }) {
1800
- let b = c, g = v, m = p;
1801
- f ? (g = typeof v == "object" ? v : f, m = typeof p == "object" ? p : f) : (g = g || f, m = m || f), !b && (g || m) ? !f && (typeof g == "string" || typeof m == "string") ? b = Yt({ basePath: s }) : b = Zt(
1800
+ let b = c, h = p, g = v;
1801
+ f ? (h = typeof p == "object" ? p : f, g = typeof v == "object" ? v : f) : (h = h || f, g = g || f), !b && (h || g) ? !f && (typeof h == "string" || typeof g == "string") ? b = Yt({ basePath: s }) : b = Zt(
1802
1802
  s,
1803
- g,
1804
- m
1803
+ h,
1804
+ g
1805
1805
  ) : b || (b = Yt({ basePath: s })), K({
1806
1806
  page: n,
1807
1807
  module: t,
@@ -1813,7 +1813,7 @@ const Re = {
1813
1813
  },
1814
1814
  // Упрощенная функция для создания importModules
1815
1815
  createImportModules: Zt,
1816
- getImportModules: () => x().importModules,
1816
+ getImportModules: () => A().importModules,
1817
1817
  // Методы страниц
1818
1818
  usePage: wr,
1819
1819
  setPage: Tr,
@@ -1886,7 +1886,7 @@ function tn(t) {
1886
1886
  c = "icon fa fa-exclamation-circle";
1887
1887
  break;
1888
1888
  }
1889
- const v = {
1889
+ const p = {
1890
1890
  error: he.e,
1891
1891
  success: he.s,
1892
1892
  warning: he.w
@@ -1894,7 +1894,7 @@ function tn(t) {
1894
1894
  return /* @__PURE__ */ l.jsx(l.Fragment, { children: i ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
1895
1895
  "div",
1896
1896
  {
1897
- className: he.i + v[n.type] + ` ${n.thema !== void 0 ? he.h : ""}`,
1897
+ className: he.i + p[n.type] + ` ${n.thema !== void 0 ? he.h : ""}`,
1898
1898
  "data-status": o,
1899
1899
  children: [
1900
1900
  /* @__PURE__ */ l.jsx(
@@ -1915,7 +1915,7 @@ function tn(t) {
1915
1915
  }
1916
1916
  ) });
1917
1917
  }
1918
- let ge = {
1918
+ let me = {
1919
1919
  Send: en,
1920
1920
  Init: Qr
1921
1921
  };
@@ -1934,6 +1934,7 @@ const rn = "_d_1u25q_1", nn = "_b_1u25q_21", on = "_o_1u25q_25", an = "_m_1u25q_
1934
1934
  };
1935
1935
  let M = {};
1936
1936
  M.dark = {
1937
+ "--tg-color-scheme": "dark",
1937
1938
  "--tg-theme-subtitle-text-color": "#98989e",
1938
1939
  "--tg-theme-destructive-text-color": "#e53935",
1939
1940
  "--tg-theme-section-separator-color": "#545458",
@@ -1951,6 +1952,7 @@ M.dark = {
1951
1952
  "--tg-theme-section-bg-color": "#2c2c2e"
1952
1953
  };
1953
1954
  M.light = {
1955
+ "--tg-color-scheme": "light",
1954
1956
  "--tg-theme-subtitle-text-color": "#8e8e93",
1955
1957
  "--tg-theme-destructive-text-color": "#ff3b30",
1956
1958
  "--tg-theme-section-separator-color": "#c8c7cc",
@@ -1968,6 +1970,7 @@ M.light = {
1968
1970
  "--tg-theme-section-bg-color": "#f8f8f8"
1969
1971
  };
1970
1972
  M.users = {
1973
+ "--tg-color-scheme": "users",
1971
1974
  "--tg-theme-bg-color": "#000000",
1972
1975
  "--tg-theme-text-color": "#ffffff",
1973
1976
  "--tg-theme-hint-color": "#98989e",
@@ -1978,16 +1981,16 @@ M.users = {
1978
1981
  };
1979
1982
  const un = () => {
1980
1983
  if (location.hostname === "localhost") {
1981
- let [t, n] = C(!1), [o, i] = C(!1), [s, c] = C("dark"), [v, p] = C(!1), [f, b] = C(!1);
1984
+ let [t, n] = C(!1), [o, i] = C(!1), [s, c] = C("dark"), [p, v] = C(!1), [f, b] = C(!1);
1982
1985
  oe.is = !0, oe.MainButton.set = n, oe.BackButton.set = i, D(() => {
1983
- var y;
1986
+ var _;
1984
1987
  M[s]["--tg-theme-bg-color-alpha"] = M[s]["--tg-theme-bg-color"] + "b3", M[s]["--tg-theme-secondary-bg-color-alpha"] = M[s]["--tg-theme-secondary-bg-color"] + "d3", M[s]["--tg-theme-bg-color-alpha-25"] = M[s]["--tg-theme-bg-color"] + "40", M[s]["--tg-theme-secondary-bg-color-alpha-25"] = M[s]["--tg-theme-secondary-bg-color"] + "40";
1985
- for (let P in M[s])
1988
+ for (let x in M[s])
1986
1989
  document.documentElement.style.setProperty(
1987
- P,
1988
- M[s][P]
1990
+ x,
1991
+ M[s][x]
1989
1992
  );
1990
- ((y = ne.safeAreaInset) == null ? void 0 : y.bottom) === 0 ? document.documentElement.style.setProperty(
1993
+ ((_ = ne.safeAreaInset) == null ? void 0 : _.bottom) === 0 ? document.documentElement.style.setProperty(
1991
1994
  "--tg-safe-area-inset-bottom",
1992
1995
  "16px"
1993
1996
  ) : ne.safeAreaInset || document.documentElement.style.setProperty(
@@ -1995,12 +1998,15 @@ const un = () => {
1995
1998
  "16px"
1996
1999
  );
1997
2000
  }, []);
1998
- let g = (y) => {
1999
- for (let P in M[y])
2000
- document.documentElement.style.setProperty(P, M[y][P]);
2001
- c(y), p(!1);
2002
- }, m = () => {
2003
- p(!1), b(!0);
2001
+ let h = (_) => {
2002
+ for (let x in M[_])
2003
+ document.documentElement.style.setProperty(x, M[_][x]), document.documentElement.setAttribute(
2004
+ "data-color-scheme",
2005
+ _
2006
+ );
2007
+ c(_), v(!1);
2008
+ }, g = () => {
2009
+ v(!1), b(!0);
2004
2010
  };
2005
2011
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2006
2012
  /* @__PURE__ */ l.jsxs("div", { className: re.d, children: [
@@ -2008,8 +2014,8 @@ const un = () => {
2008
2014
  "div",
2009
2015
  {
2010
2016
  onClick: () => {
2011
- var y;
2012
- o.page === void 0 ? (y = o.callback) == null || y.call(o) : Re.setPage(o.page);
2017
+ var _;
2018
+ o.page === void 0 ? (_ = o.callback) == null || _.call(o) : Re.setPage(o.page);
2013
2019
  },
2014
2020
  className: re.b,
2015
2021
  children: "Назад"
@@ -2019,12 +2025,12 @@ const un = () => {
2019
2025
  "div",
2020
2026
  {
2021
2027
  className: re.o,
2022
- onClick: () => p(!v),
2028
+ onClick: () => v(!p),
2023
2029
  children: "Меню"
2024
2030
  }
2025
2031
  )
2026
2032
  ] }),
2027
- /* @__PURE__ */ l.jsx(ge.Init, {}),
2033
+ /* @__PURE__ */ l.jsx(me.Init, {}),
2028
2034
  t && /* @__PURE__ */ l.jsx("div", { className: re.m, children: /* @__PURE__ */ l.jsx(
2029
2035
  "button",
2030
2036
  {
@@ -2034,9 +2040,9 @@ const un = () => {
2034
2040
  children: t.text
2035
2041
  }
2036
2042
  ) }),
2037
- v ? /* @__PURE__ */ l.jsxs("div", { className: re.t, children: [
2043
+ p ? /* @__PURE__ */ l.jsxs("div", { className: re.t, children: [
2038
2044
  /* @__PURE__ */ l.jsxs("ul", { children: [
2039
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: m, children: "Authorization" }) }),
2045
+ /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: g, children: "Authorization" }) }),
2040
2046
  /* @__PURE__ */ l.jsx("li", {})
2041
2047
  ] }),
2042
2048
  /* @__PURE__ */ l.jsxs("ul", { children: [
@@ -2046,27 +2052,27 @@ const un = () => {
2046
2052
  /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
2047
2053
  "button",
2048
2054
  {
2049
- onClick: () => g("dark"),
2055
+ onClick: () => h("dark"),
2050
2056
  children: "Dark"
2051
2057
  }
2052
2058
  ) }),
2053
2059
  /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
2054
2060
  "button",
2055
2061
  {
2056
- onClick: () => g("light"),
2062
+ onClick: () => h("light"),
2057
2063
  children: "Light"
2058
2064
  }
2059
2065
  ) }),
2060
2066
  /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
2061
2067
  "button",
2062
2068
  {
2063
- onClick: () => g("users"),
2069
+ onClick: () => h("users"),
2064
2070
  children: "Users"
2065
2071
  }
2066
2072
  ) })
2067
2073
  ] })
2068
2074
  ] }),
2069
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => p(!v), children: "Closed" }) })
2075
+ /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => v(!p), children: "Closed" }) })
2070
2076
  ] })
2071
2077
  ] }) : "",
2072
2078
  f ? /* @__PURE__ */ l.jsx(fn, { setAuthorization: b }) : ""
@@ -2087,7 +2093,7 @@ const un = () => {
2087
2093
  "--tg-safe-area-inset-bottom",
2088
2094
  "16px"
2089
2095
  );
2090
- }, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(ge.Init, {}) });
2096
+ }, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(me.Init, {}) });
2091
2097
  }, fn = ({ setAuthorization: t }) => {
2092
2098
  let n = {}, o = () => {
2093
2099
  localStorage.setItem("auth", n);
@@ -2105,23 +2111,23 @@ const un = () => {
2105
2111
  className: [Qt.p, o && Qt.s, t].filter((i) => i !== void 0).join(" "),
2106
2112
  children: n
2107
2113
  }
2108
- ), hn = "_l_gfyud_1", gn = {
2114
+ ), hn = "_l_gfyud_1", mn = {
2109
2115
  l: hn
2110
- }, mn = ({ children: t, className: n }) => /* @__PURE__ */ l.jsx(
2116
+ }, gn = ({ children: t, className: n }) => /* @__PURE__ */ l.jsx(
2111
2117
  "div",
2112
2118
  {
2113
- className: [gn.l, n].filter((o) => o !== void 0).join(" "),
2119
+ className: [mn.l, n].filter((o) => o !== void 0).join(" "),
2114
2120
  children: t
2115
2121
  }
2116
- ), bn = "_m_ppm7n_2", yn = "_g_ppm7n_10", _n = "_i_ppm7n_18", Rn = "_c_ppm7n_35", Sn = "_l_ppm7n_42", En = "_a_ppm7n_57", xn = "_n_ppm7n_62", ve = {
2122
+ ), bn = "_m_ppm7n_2", yn = "_g_ppm7n_10", _n = "_i_ppm7n_18", Rn = "_c_ppm7n_35", En = "_l_ppm7n_42", Sn = "_a_ppm7n_57", xn = "_n_ppm7n_62", ve = {
2117
2123
  m: bn,
2118
2124
  g: yn,
2119
2125
  i: _n,
2120
2126
  c: Rn,
2121
- l: Sn,
2122
- a: En,
2127
+ l: En,
2128
+ a: Sn,
2123
2129
  n: xn
2124
- }, jn = ({ items: t }) => {
2130
+ }, An = ({ items: t }) => {
2125
2131
  const n = (i) => {
2126
2132
  Re.setPage(i);
2127
2133
  }, o = (i) => {
@@ -2152,8 +2158,8 @@ const un = () => {
2152
2158
  },
2153
2159
  c
2154
2160
  )) }, i.id)) });
2155
- }, An = "_o_8ho2f_3", kn = "_m_8ho2f_14", On = "_l_8ho2f_28", Pn = "_r_8ho2f_33", wn = "_x_8ho2f_38", Tn = "_h_8ho2f_42", Cn = "_c_8ho2f_57", $n = "_u_8ho2f_72", ee = {
2156
- o: An,
2161
+ }, jn = "_o_8ho2f_3", kn = "_m_8ho2f_14", On = "_l_8ho2f_28", Pn = "_r_8ho2f_33", wn = "_x_8ho2f_38", Tn = "_h_8ho2f_42", Cn = "_c_8ho2f_57", $n = "_u_8ho2f_72", ee = {
2162
+ o: jn,
2157
2163
  m: kn,
2158
2164
  l: On,
2159
2165
  r: Pn,
@@ -2169,26 +2175,27 @@ function Nn({
2169
2175
  title: i,
2170
2176
  className: s,
2171
2177
  view: c = "list",
2172
- position: v = "left"
2178
+ position: p = "left",
2179
+ name: v = "default"
2173
2180
  }) {
2174
- const [p, f] = C(!1), [b, g] = C(
2181
+ const [f, b] = C(!1), [h, g] = C(
2175
2182
  null
2176
2183
  );
2177
2184
  D(() => {
2178
- let y = document.querySelector(".p_sb");
2179
- return y || (y = document.createElement("div"), y.className = "_p_sb", document.body.appendChild(y)), g(y), () => {
2180
- y && y.parentNode && y.parentNode.removeChild(y);
2185
+ let x = document.querySelector(".p_sb");
2186
+ return x || (x = document.createElement("div"), x.className = "_p_sb", document.body.appendChild(x)), g(x), () => {
2187
+ x && x.parentNode && x.parentNode.removeChild(x);
2181
2188
  };
2182
2189
  }, []);
2183
- const m = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2184
- p && /* @__PURE__ */ l.jsx("div", { className: ee.o, onClick: () => f(!1) }),
2190
+ const _ = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2191
+ f && /* @__PURE__ */ l.jsx("div", { className: ee.o, onClick: () => b(!1) }),
2185
2192
  /* @__PURE__ */ l.jsxs(
2186
2193
  "div",
2187
2194
  {
2188
2195
  className: be(
2189
2196
  ee.m,
2190
- v === "left" ? ee.l : ee.r,
2191
- p && ee.x,
2197
+ p === "left" ? ee.l : ee.r,
2198
+ f && ee.x,
2192
2199
  s
2193
2200
  ),
2194
2201
  children: [
@@ -2197,7 +2204,7 @@ function Nn({
2197
2204
  /* @__PURE__ */ l.jsxs(
2198
2205
  "svg",
2199
2206
  {
2200
- onClick: () => f(!1),
2207
+ onClick: () => b(!1),
2201
2208
  fill: "none",
2202
2209
  stroke: "currentColor",
2203
2210
  strokeLinecap: "round",
@@ -2224,13 +2231,13 @@ function Nn({
2224
2231
  n && /* @__PURE__ */ l.jsx(
2225
2232
  "div",
2226
2233
  {
2227
- onClick: () => f(!0),
2234
+ onClick: () => b(!0),
2228
2235
  className: "bage",
2229
2236
  "data-count": o,
2230
2237
  children: n
2231
2238
  }
2232
2239
  ),
2233
- b && dr(m, b)
2240
+ h && dr(_, h)
2234
2241
  ] });
2235
2242
  }
2236
2243
  let Ge = () => {
@@ -2243,21 +2250,21 @@ const fr = ({
2243
2250
  className: s,
2244
2251
  onOpen: c
2245
2252
  }) => {
2246
- const [v, p] = J.useState(!1);
2253
+ const [p, v] = J.useState(!1);
2247
2254
  return Ge = () => {
2248
- p(!0), setTimeout(() => {
2255
+ v(!0), setTimeout(() => {
2249
2256
  var f;
2250
2257
  c == null || c(!1), (f = _e == null ? void 0 : _e.onClose) == null || f.call(_e);
2251
2258
  }, 300);
2252
2259
  }, /* @__PURE__ */ l.jsx(
2253
2260
  "div",
2254
2261
  {
2255
- className: `footer-menu-overlay ${o ? "is-overlay" : ""} ${v ? "closing" : ""} `,
2262
+ className: `footer-menu-overlay ${o ? "is-overlay" : ""} ${p ? "closing" : ""} `,
2256
2263
  onClick: Ge,
2257
2264
  children: /* @__PURE__ */ l.jsxs(
2258
2265
  "div",
2259
2266
  {
2260
- className: `footer-menu-popup-book ${v ? "closing" : ""} ${s || ""} ${i ? "footer" : ""}`,
2267
+ className: `footer-menu-popup-book ${p ? "closing" : ""} ${s || ""} ${i ? "footer" : ""}`,
2261
2268
  onClick: (f) => f.stopPropagation(),
2262
2269
  children: [
2263
2270
  /* @__PURE__ */ l.jsxs("div", { className: "footer-menu-header", children: [
@@ -2297,56 +2304,56 @@ const fr = ({
2297
2304
  toHide: i = !1,
2298
2305
  page: s,
2299
2306
  onPageChange: c,
2300
- direction: v = "row"
2307
+ direction: p = "row"
2301
2308
  }) => {
2302
- const [p, f] = J.useState(null), [b, g] = J.useState(
2309
+ const [v, f] = J.useState(null), [b, h] = J.useState(
2303
2310
  s ? er(t || [], s) : 0
2304
2311
  );
2305
2312
  return _e.onClose = () => {
2306
- f(null), g(s ? er(t || [], s) : 0);
2313
+ f(null), h(s ? er(t || [], s) : 0);
2307
2314
  }, D(() => {
2308
2315
  if (!i)
2309
2316
  return;
2310
- const m = document.querySelectorAll("[contenteditable]"), y = () => {
2317
+ const g = document.querySelectorAll("[contenteditable]"), _ = () => {
2311
2318
  const w = document.querySelector("footer");
2312
2319
  w && w.classList.remove(Ze.x);
2313
- }, P = () => {
2320
+ }, x = () => {
2314
2321
  const w = document.querySelector("footer");
2315
2322
  w && w.classList.add(Ze.x);
2316
2323
  };
2317
- return m.forEach((w) => {
2318
- w.addEventListener("focus", P, !0), w.addEventListener("blur", y, !0);
2324
+ return g.forEach((w) => {
2325
+ w.addEventListener("focus", x, !0), w.addEventListener("blur", _, !0);
2319
2326
  }), () => {
2320
- m.forEach((w) => {
2321
- w.removeEventListener("focus", P, !0), w.removeEventListener("blur", y, !0);
2327
+ g.forEach((w) => {
2328
+ w.removeEventListener("focus", x, !0), w.removeEventListener("blur", _, !0);
2322
2329
  });
2323
2330
  };
2324
2331
  }, []), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2325
- p,
2332
+ v,
2326
2333
  /* @__PURE__ */ l.jsxs(
2327
2334
  "footer",
2328
2335
  {
2329
2336
  className: be(
2330
2337
  Ze.h,
2331
- Ze[v === "row" ? "r" : "c"],
2338
+ Ze[p === "row" ? "r" : "c"],
2332
2339
  o
2333
2340
  ),
2334
2341
  children: [
2335
2342
  n,
2336
- t && t.map((m, y) => /* @__PURE__ */ l.jsxs(
2343
+ t && t.map((g, _) => /* @__PURE__ */ l.jsxs(
2337
2344
  "div",
2338
2345
  {
2339
- "data-active": b === y ? "true" : "false",
2346
+ "data-active": b === _ ? "true" : "false",
2340
2347
  onClick: () => {
2341
- m.page && (g(y), c == null || c(m.page)), m.onClick && m.onClick(() => g(y)), m.component && (b === y ? Ge() : (f(m.component), g(y)));
2348
+ g.page && (h(_), c == null || c(g.page)), g.onClick && g.onClick(() => h(_)), g.component && (b === _ ? Ge() : (f(g.component), h(_)));
2342
2349
  },
2343
2350
  children: [
2344
- m.icon,
2345
- m.title && /* @__PURE__ */ l.jsx("span", { children: m.title }),
2346
- m.badge && /* @__PURE__ */ l.jsx(Fn, { value: m.badge })
2351
+ g.icon,
2352
+ g.title && /* @__PURE__ */ l.jsx("span", { children: g.title }),
2353
+ g.badge && /* @__PURE__ */ l.jsx(Fn, { value: g.badge })
2347
2354
  ]
2348
2355
  },
2349
- y
2356
+ _
2350
2357
  ))
2351
2358
  ]
2352
2359
  }
@@ -2366,34 +2373,34 @@ function Jn({
2366
2373
  isScroll: s = !0,
2367
2374
  nextBackButton: c
2368
2375
  }) {
2369
- const [v, p] = C(!1);
2376
+ const [p, v] = C(!1);
2370
2377
  return D(() => {
2371
2378
  if (!i) return;
2372
2379
  const f = c === void 0 ? ro().pop() : c, b = () => {
2373
- p(!1), setTimeout(() => {
2380
+ v(!1), setTimeout(() => {
2374
2381
  rr(f || !1), o == null || o();
2375
2382
  }, 300);
2376
2383
  };
2377
2384
  qt[n] = {
2378
2385
  onClose: b,
2379
2386
  onOpen: () => {
2380
- p(!0);
2387
+ v(!0);
2381
2388
  }
2382
2389
  }, rr({
2383
2390
  callback: b
2384
2391
  });
2385
- const g = setTimeout(() => {
2386
- p(!0);
2392
+ const h = setTimeout(() => {
2393
+ v(!0);
2387
2394
  }, 10);
2388
2395
  return () => {
2389
- clearTimeout(g);
2396
+ clearTimeout(h);
2390
2397
  };
2391
2398
  }, [i]), i ? /* @__PURE__ */ l.jsxs(
2392
2399
  "div",
2393
2400
  {
2394
2401
  className: be(
2395
2402
  Qe.w,
2396
- v && Qe.v,
2403
+ p && Qe.v,
2397
2404
  s && Qe.s
2398
2405
  ),
2399
2406
  children: [
@@ -2418,14 +2425,14 @@ function Xn({
2418
2425
  isLoading: s,
2419
2426
  isScrollBar: c = !1
2420
2427
  }) {
2421
- const [v, p] = C(s || !1);
2428
+ const [p, v] = C(s || !1);
2422
2429
  D(() => {
2423
- p(s || !1);
2430
+ v(s || !1);
2424
2431
  }, [s]);
2425
2432
  let f = {
2426
2433
  onScroll: (b) => {
2427
- const { scrollTop: g, scrollHeight: m, clientHeight: y } = b.currentTarget;
2428
- g + y >= m - i && !v && (p(!0), o == null || o());
2434
+ const { scrollTop: h, scrollHeight: g, clientHeight: _ } = b.currentTarget;
2435
+ h + _ >= g - i && !p && (v(!0), o == null || o());
2429
2436
  }
2430
2437
  };
2431
2438
  return /* @__PURE__ */ l.jsx(
@@ -2489,22 +2496,22 @@ var T;
2489
2496
  }) : i();
2490
2497
  }, t.Notice = {
2491
2498
  Send: (o, i, s) => {
2492
- var c, v;
2493
- i !== void 0 ? (ge.Send({ type: o, text: i, thema: s }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(o)) : (ge.Send(o), (v = t.WebApp.HapticFeedback) == null || v.notificationOccurred(o.type));
2499
+ var c, p;
2500
+ i !== void 0 ? (me.Send({ type: o, text: i, thema: s }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(o)) : (me.Send(o), (p = t.WebApp.HapticFeedback) == null || p.notificationOccurred(o.type));
2494
2501
  },
2495
2502
  Error: (o) => {
2496
2503
  var i;
2497
- ge.Send({ type: "error", text: o }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("error");
2504
+ me.Send({ type: "error", text: o }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("error");
2498
2505
  },
2499
2506
  Success: (o) => {
2500
2507
  var i;
2501
- ge.Send({ type: "success", text: o }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("success");
2508
+ me.Send({ type: "success", text: o }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("success");
2502
2509
  },
2503
2510
  Warning: (o) => {
2504
2511
  var i;
2505
- ge.Send({ type: "warning", text: o }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("warning");
2512
+ me.Send({ type: "warning", text: o }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("warning");
2506
2513
  }
2507
- }, t.Header = un, t.TabBar = Wn, t.BottomSheet = fr, t.toggleBottomSheet = Ge, t.SafeArea = vn, t.Loading = mn, t.Sidebar = Nn, t.SidePanel = Jn, t.AppBar = to, t.SidePanelController = Hn, t.Scroll = Xn, t.Modal = Wt, t.Menu = jn, t.MainButton = {
2514
+ }, t.Header = un, t.TabBar = Wn, t.BottomSheet = fr, t.toggleBottomSheet = Ge, t.SafeArea = vn, t.Loading = gn, t.Sidebar = Nn, t.SidePanel = Jn, t.AppBar = to, t.SidePanelController = Hn, t.Scroll = Xn, t.Modal = Wt, t.Menu = An, t.MainButton = {
2508
2515
  callback: [],
2509
2516
  set: (o) => {
2510
2517
  oe.is ? oe.MainButton.set(o) : (t.WebApp.MainButton.callback.forEach((i) => {
@@ -2522,7 +2529,7 @@ var T;
2522
2529
  oe.is ? oe.BackButton.set(o) : (B.state.push(o), B.router(o));
2523
2530
  };
2524
2531
  })(T || (T = {}));
2525
- const ao = T.TabBar, so = fr, rr = T.BackButton, io = T.BackButtonPrev, ro = T.BackButtonState, co = T.Notice, lo = T.SafeArea, uo = T.Loading, fo = T.Menu, po = T.SidePanel, vo = T.Scroll, ho = T.AppBar, go = T.Sidebar, mo = T.Location, bo = T.SidePanelController, { Header: yo, toggleBottomSheet: _o, Modal: Ro, MainButton: So, WebApp: ne, getUser: Eo } = T;
2532
+ const ao = T.TabBar, so = fr, rr = T.BackButton, io = T.BackButtonPrev, ro = T.BackButtonState, co = T.Notice, lo = T.SafeArea, uo = T.Loading, fo = T.Menu, po = T.SidePanel, vo = T.Scroll, ho = T.AppBar, mo = T.Sidebar, go = T.Location, bo = T.SidePanelController, { Header: yo, toggleBottomSheet: _o, Modal: Ro, MainButton: Eo, WebApp: ne, getUser: So } = T;
2526
2533
  export {
2527
2534
  ho as AppBar,
2528
2535
  rr as BackButton,
@@ -2531,8 +2538,8 @@ export {
2531
2538
  so as BottomSheet,
2532
2539
  yo as Header,
2533
2540
  uo as Loading,
2534
- mo as Location,
2535
- So as MainButton,
2541
+ go as Location,
2542
+ Eo as MainButton,
2536
2543
  fo as Menu,
2537
2544
  Ro as Modal,
2538
2545
  co as Notice,
@@ -2540,11 +2547,11 @@ export {
2540
2547
  vo as Scroll,
2541
2548
  po as SidePanel,
2542
2549
  bo as SidePanelController,
2543
- go as Sidebar,
2550
+ mo as Sidebar,
2544
2551
  ao as TabBar,
2545
2552
  ne as WebApp,
2546
2553
  be as clsx,
2547
2554
  T as default,
2548
- Eo as getUser,
2555
+ So as getUser,
2549
2556
  _o as toggleBottomSheet
2550
2557
  };