@elcrm/telegram 0.0.153 → 0.0.154

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import C, { useState as T, useEffect as W } from "react";
1
+ import $, { useState as N, useEffect as W } from "react";
2
2
  import { createPortal as pr } from "react-dom";
3
3
  import './index.css';var qt = { exports: {} }, nt = {};
4
4
  /**
@@ -14,15 +14,15 @@ var Ht;
14
14
  function vr() {
15
15
  if (Ht) return nt;
16
16
  Ht = 1;
17
- var t = C, r = Symbol.for("react.element"), n = 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 };
17
+ var t = $, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, c = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
18
18
  function d(p, f, m) {
19
- var h, b = {}, _ = null, A = null;
20
- m !== void 0 && (_ = "" + m), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (A = f.ref);
21
- for (h in f) i.call(f, h) && !c.hasOwnProperty(h) && (b[h] = f[h]);
22
- if (p && p.defaultProps) for (h in f = p.defaultProps, f) b[h] === void 0 && (b[h] = f[h]);
23
- return { $$typeof: r, type: p, key: _, ref: A, props: b, _owner: s.current };
19
+ var v, g = {}, x = null, E = null;
20
+ m !== void 0 && (x = "" + m), f.key !== void 0 && (x = "" + f.key), f.ref !== void 0 && (E = f.ref);
21
+ for (v in f) s.call(f, v) && !i.hasOwnProperty(v) && (g[v] = f[v]);
22
+ if (p && p.defaultProps) for (v in f = p.defaultProps, f) g[v] === void 0 && (g[v] = f[v]);
23
+ return { $$typeof: r, type: p, key: x, ref: E, props: g, _owner: c.current };
24
24
  }
25
- return nt.Fragment = n, nt.jsx = d, nt.jsxs = d, nt;
25
+ return nt.Fragment = o, nt.jsx = d, nt.jsxs = d, nt;
26
26
  }
27
27
  var ot = {};
28
28
  /**
@@ -37,88 +37,88 @@ var ot = {};
37
37
  var Kt;
38
38
  function hr() {
39
39
  return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
40
- var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), I = Symbol.iterator, ee = "@@iterator";
41
- function Te(e) {
40
+ var t = $, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), P = Symbol.iterator, Ce = "@@iterator";
41
+ function Ee(e) {
42
42
  if (e === null || typeof e != "object")
43
43
  return null;
44
- var o = I && e[I] || e[ee];
45
- return typeof o == "function" ? o : null;
44
+ var n = P && e[P] || e[Ce];
45
+ return typeof n == "function" ? n : null;
46
46
  }
47
- var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
48
- function x(e) {
47
+ var T = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
48
+ function A(e) {
49
49
  {
50
- for (var o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), u = 1; u < o; u++)
50
+ for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), u = 1; u < n; u++)
51
51
  a[u - 1] = arguments[u];
52
52
  Ae("error", e, a);
53
53
  }
54
54
  }
55
- function Ae(e, o, a) {
55
+ function Ae(e, n, a) {
56
56
  {
57
- var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
58
- y !== "" && (o += "%s", a = a.concat([y]));
59
- var R = a.map(function(g) {
60
- return String(g);
57
+ var u = T.ReactDebugCurrentFrame, y = u.getStackAddendum();
58
+ y !== "" && (n += "%s", a = a.concat([y]));
59
+ var _ = a.map(function(b) {
60
+ return String(b);
61
61
  });
62
- R.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, R);
62
+ _.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, _);
63
63
  }
64
64
  }
65
- var je = !1, te = !1, V = !1, ke = !1, we = !1, $;
66
- $ = Symbol.for("react.module.reference");
65
+ var te = !1, V = !1, je = !1, ke = !1, I = !1, Te;
66
+ Te = Symbol.for("react.module.reference");
67
67
  function vt(e) {
68
- return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || we || e === s || e === m || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
68
+ return !!(typeof e == "string" || typeof e == "function" || e === s || e === i || I || e === c || e === m || e === v || ke || e === E || te || V || je || typeof e == "object" && e !== null && (e.$$typeof === x || e.$$typeof === g || e.$$typeof === d || e.$$typeof === p || 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 === $ || e.getModuleId !== void 0));
72
+ e.$$typeof === Te || e.getModuleId !== void 0));
73
73
  }
74
- function ht(e, o, a) {
74
+ function ht(e, n, a) {
75
75
  var u = e.displayName;
76
76
  if (u)
77
77
  return u;
78
- var y = o.displayName || o.name || "";
78
+ var y = n.displayName || n.name || "";
79
79
  return y !== "" ? a + "(" + y + ")" : a;
80
80
  }
81
81
  function $e(e) {
82
82
  return e.displayName || "Context";
83
83
  }
84
- function N(e) {
84
+ function M(e) {
85
85
  if (e == null)
86
86
  return null;
87
- if (typeof e.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
87
+ 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")
88
88
  return e.displayName || e.name || null;
89
89
  if (typeof e == "string")
90
90
  return e;
91
91
  switch (e) {
92
- case i:
92
+ case s:
93
93
  return "Fragment";
94
- case n:
94
+ case o:
95
95
  return "Portal";
96
- case c:
96
+ case i:
97
97
  return "Profiler";
98
- case s:
98
+ case c:
99
99
  return "StrictMode";
100
100
  case m:
101
101
  return "Suspense";
102
- case h:
102
+ case v:
103
103
  return "SuspenseList";
104
104
  }
105
105
  if (typeof e == "object")
106
106
  switch (e.$$typeof) {
107
107
  case p:
108
- var o = e;
109
- return $e(o) + ".Consumer";
108
+ var n = e;
109
+ return $e(n) + ".Consumer";
110
110
  case d:
111
111
  var a = e;
112
112
  return $e(a._context) + ".Provider";
113
113
  case f:
114
114
  return ht(e, e.render, "ForwardRef");
115
- case b:
115
+ case g:
116
116
  var u = e.displayName || null;
117
- return u !== null ? u : N(e.type) || "Memo";
118
- case _: {
119
- var y = e, R = y._payload, g = y._init;
117
+ return u !== null ? u : M(e.type) || "Memo";
118
+ case x: {
119
+ var y = e, _ = y._payload, b = y._init;
120
120
  try {
121
- return N(g(R));
121
+ return M(b(_));
122
122
  } catch {
123
123
  return null;
124
124
  }
@@ -153,7 +153,7 @@ function hr() {
153
153
  J++;
154
154
  }
155
155
  }
156
- function gt() {
156
+ function bt() {
157
157
  {
158
158
  if (J--, J === 0) {
159
159
  var e = {
@@ -185,30 +185,30 @@ function hr() {
185
185
  })
186
186
  });
187
187
  }
188
- J < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
+ J < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
189
189
  }
190
190
  }
191
- var ve = M.ReactCurrentDispatcher, he;
192
- function re(e, o, a) {
191
+ var pe = T.ReactCurrentDispatcher, ve;
192
+ function re(e, n, a) {
193
193
  {
194
- if (he === void 0)
194
+ if (ve === void 0)
195
195
  try {
196
196
  throw Error();
197
197
  } catch (y) {
198
198
  var u = y.stack.trim().match(/\n( *(at )?)/);
199
- he = u && u[1] || "";
199
+ ve = u && u[1] || "";
200
200
  }
201
201
  return `
202
- ` + he + e;
202
+ ` + ve + e;
203
203
  }
204
204
  }
205
- var me = !1, ne;
205
+ var he = !1, ne;
206
206
  {
207
- var bt = typeof WeakMap == "function" ? WeakMap : Map;
208
- ne = new bt();
207
+ var gt = typeof WeakMap == "function" ? WeakMap : Map;
208
+ ne = new gt();
209
209
  }
210
- function We(e, o) {
211
- if (!e || me)
210
+ function We(e, n) {
211
+ if (!e || he)
212
212
  return "";
213
213
  {
214
214
  var a = ne.get(e);
@@ -216,34 +216,34 @@ function hr() {
216
216
  return a;
217
217
  }
218
218
  var u;
219
- me = !0;
219
+ he = !0;
220
220
  var y = Error.prepareStackTrace;
221
221
  Error.prepareStackTrace = void 0;
222
- var R;
223
- R = ve.current, ve.current = null, mt();
222
+ var _;
223
+ _ = pe.current, pe.current = null, mt();
224
224
  try {
225
- if (o) {
226
- var g = function() {
225
+ if (n) {
226
+ var b = function() {
227
227
  throw Error();
228
228
  };
229
- if (Object.defineProperty(g.prototype, "props", {
229
+ if (Object.defineProperty(b.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(g, []);
235
+ Reflect.construct(b, []);
236
236
  } catch (w) {
237
237
  u = w;
238
238
  }
239
- Reflect.construct(e, [], g);
239
+ Reflect.construct(e, [], b);
240
240
  } else {
241
241
  try {
242
- g.call();
242
+ b.call();
243
243
  } catch (w) {
244
244
  u = w;
245
245
  }
246
- e.call(g.prototype);
246
+ e.call(b.prototype);
247
247
  }
248
248
  } else {
249
249
  try {
@@ -255,37 +255,37 @@ function hr() {
255
255
  }
256
256
  } catch (w) {
257
257
  if (w && u && typeof w.stack == "string") {
258
- for (var v = w.stack.split(`
258
+ for (var h = w.stack.split(`
259
259
  `), k = u.stack.split(`
260
- `), S = v.length - 1, E = k.length - 1; S >= 1 && E >= 0 && v[S] !== k[E]; )
261
- E--;
262
- for (; S >= 1 && E >= 0; S--, E--)
263
- if (v[S] !== k[E]) {
264
- if (S !== 1 || E !== 1)
260
+ `), R = h.length - 1, S = k.length - 1; R >= 1 && S >= 0 && h[R] !== k[S]; )
261
+ S--;
262
+ for (; R >= 1 && S >= 0; R--, S--)
263
+ if (h[R] !== k[S]) {
264
+ if (R !== 1 || S !== 1)
265
265
  do
266
- if (S--, E--, E < 0 || v[S] !== k[E]) {
267
- var P = `
268
- ` + v[S].replace(" at new ", " at ");
269
- return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, P), P;
266
+ if (R--, S--, S < 0 || h[R] !== k[S]) {
267
+ var C = `
268
+ ` + h[R].replace(" at new ", " at ");
269
+ return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, C), C;
270
270
  }
271
- while (S >= 1 && E >= 0);
271
+ while (R >= 1 && S >= 0);
272
272
  break;
273
273
  }
274
274
  }
275
275
  } finally {
276
- me = !1, ve.current = R, gt(), Error.prepareStackTrace = y;
276
+ he = !1, pe.current = _, bt(), Error.prepareStackTrace = y;
277
277
  }
278
278
  var Y = e ? e.displayName || e.name : "", D = Y ? re(Y) : "";
279
279
  return typeof e == "function" && ne.set(e, D), D;
280
280
  }
281
- function yt(e, o, a) {
281
+ function yt(e, n, a) {
282
282
  return We(e, !1);
283
283
  }
284
284
  function _t(e) {
285
- var o = e.prototype;
286
- return !!(o && o.isReactComponent);
285
+ var n = e.prototype;
286
+ return !!(n && n.isReactComponent);
287
287
  }
288
- function oe(e, o, a) {
288
+ function oe(e, n, a) {
289
289
  if (e == null)
290
290
  return "";
291
291
  if (typeof e == "function")
@@ -295,63 +295,63 @@ function hr() {
295
295
  switch (e) {
296
296
  case m:
297
297
  return re("Suspense");
298
- case h:
298
+ case v:
299
299
  return re("SuspenseList");
300
300
  }
301
301
  if (typeof e == "object")
302
302
  switch (e.$$typeof) {
303
303
  case f:
304
304
  return yt(e.render);
305
- case b:
306
- return oe(e.type, o, a);
307
- case _: {
308
- var u = e, y = u._payload, R = u._init;
305
+ case g:
306
+ return oe(e.type, n, a);
307
+ case x: {
308
+ var u = e, y = u._payload, _ = u._init;
309
309
  try {
310
- return oe(R(y), o, a);
310
+ return oe(_(y), n, a);
311
311
  } catch {
312
312
  }
313
313
  }
314
314
  }
315
315
  return "";
316
316
  }
317
- var H = Object.prototype.hasOwnProperty, qe = {}, Ye = M.ReactDebugCurrentFrame;
317
+ var H = Object.prototype.hasOwnProperty, qe = {}, Ye = T.ReactDebugCurrentFrame;
318
318
  function ae(e) {
319
319
  if (e) {
320
- var o = e._owner, a = oe(e.type, e._source, o ? o.type : null);
320
+ var n = e._owner, a = oe(e.type, e._source, n ? n.type : null);
321
321
  Ye.setExtraStackFrame(a);
322
322
  } else
323
323
  Ye.setExtraStackFrame(null);
324
324
  }
325
- function Rt(e, o, a, u, y) {
325
+ function Rt(e, n, a, u, y) {
326
326
  {
327
- var R = Function.call.bind(H);
328
- for (var g in e)
329
- if (R(e, g)) {
330
- var v = void 0;
327
+ var _ = Function.call.bind(H);
328
+ for (var b in e)
329
+ if (_(e, b)) {
330
+ var h = void 0;
331
331
  try {
332
- if (typeof e[g] != "function") {
333
- var k = Error((u || "React class") + ": " + a + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
332
+ if (typeof e[b] != "function") {
333
+ var k = Error((u || "React class") + ": " + a + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
334
  throw k.name = "Invariant Violation", k;
335
335
  }
336
- v = e[g](o, g, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
- } catch (S) {
338
- v = S;
336
+ h = e[b](n, b, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
+ } catch (R) {
338
+ h = R;
339
339
  }
340
- v && !(v instanceof Error) && (ae(y), x("%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, g, typeof v), ae(null)), v instanceof Error && !(v.message in qe) && (qe[v.message] = !0, ae(y), x("Failed %s type: %s", a, v.message), ae(null));
340
+ h && !(h instanceof Error) && (ae(y), 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).", u || "React class", a, b, typeof h), ae(null)), h instanceof Error && !(h.message in qe) && (qe[h.message] = !0, ae(y), A("Failed %s type: %s", a, h.message), ae(null));
341
341
  }
342
342
  }
343
343
  }
344
344
  var St = Array.isArray;
345
- function ge(e) {
345
+ function me(e) {
346
346
  return St(e);
347
347
  }
348
- function Et(e) {
348
+ function xt(e) {
349
349
  {
350
- var o = typeof Symbol == "function" && Symbol.toStringTag, a = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
350
+ var n = typeof Symbol == "function" && Symbol.toStringTag, a = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
351
351
  return a;
352
352
  }
353
353
  }
354
- function xt(e) {
354
+ function Et(e) {
355
355
  try {
356
356
  return ze(e), !1;
357
357
  } catch {
@@ -362,10 +362,10 @@ function hr() {
362
362
  return "" + e;
363
363
  }
364
364
  function Ve(e) {
365
- if (xt(e))
366
- return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)), ze(e);
365
+ if (Et(e))
366
+ return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", xt(e)), ze(e);
367
367
  }
368
- var Je = M.ReactCurrentOwner, At = {
368
+ var Je = T.ReactCurrentOwner, At = {
369
369
  key: !0,
370
370
  ref: !0,
371
371
  __self: !0,
@@ -373,27 +373,27 @@ function hr() {
373
373
  }, He, Ke;
374
374
  function jt(e) {
375
375
  if (H.call(e, "ref")) {
376
- var o = Object.getOwnPropertyDescriptor(e, "ref").get;
377
- if (o && o.isReactWarning)
376
+ var n = Object.getOwnPropertyDescriptor(e, "ref").get;
377
+ if (n && n.isReactWarning)
378
378
  return !1;
379
379
  }
380
380
  return e.ref !== void 0;
381
381
  }
382
382
  function kt(e) {
383
383
  if (H.call(e, "key")) {
384
- var o = Object.getOwnPropertyDescriptor(e, "key").get;
385
- if (o && o.isReactWarning)
384
+ var n = Object.getOwnPropertyDescriptor(e, "key").get;
385
+ if (n && n.isReactWarning)
386
386
  return !1;
387
387
  }
388
388
  return e.key !== void 0;
389
389
  }
390
- function wt(e, o) {
390
+ function wt(e, n) {
391
391
  typeof e.ref == "string" && Je.current;
392
392
  }
393
- function Ot(e, o) {
393
+ function Ot(e, n) {
394
394
  {
395
395
  var a = function() {
396
- He || (He = !0, x("%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)", o));
396
+ He || (He = !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)", n));
397
397
  };
398
398
  a.isReactWarning = !0, Object.defineProperty(e, "key", {
399
399
  get: a,
@@ -401,10 +401,10 @@ function hr() {
401
401
  });
402
402
  }
403
403
  }
404
- function Pt(e, o) {
404
+ function Pt(e, n) {
405
405
  {
406
406
  var a = function() {
407
- Ke || (Ke = !0, x("%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)", o));
407
+ Ke || (Ke = !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)", n));
408
408
  };
409
409
  a.isReactWarning = !0, Object.defineProperty(e, "ref", {
410
410
  get: a,
@@ -412,70 +412,70 @@ function hr() {
412
412
  });
413
413
  }
414
414
  }
415
- var Ct = function(e, o, a, u, y, R, g) {
416
- var v = {
415
+ var Ct = function(e, n, a, u, y, _, b) {
416
+ var h = {
417
417
  // This tag allows us to uniquely identify this as a React Element
418
418
  $$typeof: r,
419
419
  // Built-in properties that belong on the element
420
420
  type: e,
421
- key: o,
421
+ key: n,
422
422
  ref: a,
423
- props: g,
423
+ props: b,
424
424
  // Record the component responsible for creating this element.
425
- _owner: R
425
+ _owner: _
426
426
  };
427
- return v._store = {}, Object.defineProperty(v._store, "validated", {
427
+ return h._store = {}, Object.defineProperty(h._store, "validated", {
428
428
  configurable: !1,
429
429
  enumerable: !1,
430
430
  writable: !0,
431
431
  value: !1
432
- }), Object.defineProperty(v, "_self", {
432
+ }), Object.defineProperty(h, "_self", {
433
433
  configurable: !1,
434
434
  enumerable: !1,
435
435
  writable: !1,
436
436
  value: u
437
- }), Object.defineProperty(v, "_source", {
437
+ }), Object.defineProperty(h, "_source", {
438
438
  configurable: !1,
439
439
  enumerable: !1,
440
440
  writable: !1,
441
441
  value: y
442
- }), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
442
+ }), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
443
443
  };
444
- function Tt(e, o, a, u, y) {
444
+ function Tt(e, n, a, u, y) {
445
445
  {
446
- var R, g = {}, v = null, k = null;
447
- a !== void 0 && (Ve(a), v = "" + a), kt(o) && (Ve(o.key), v = "" + o.key), jt(o) && (k = o.ref, wt(o, y));
448
- for (R in o)
449
- H.call(o, R) && !At.hasOwnProperty(R) && (g[R] = o[R]);
446
+ var _, b = {}, h = null, k = null;
447
+ a !== void 0 && (Ve(a), h = "" + a), kt(n) && (Ve(n.key), h = "" + n.key), jt(n) && (k = n.ref, wt(n, y));
448
+ for (_ in n)
449
+ H.call(n, _) && !At.hasOwnProperty(_) && (b[_] = n[_]);
450
450
  if (e && e.defaultProps) {
451
- var S = e.defaultProps;
452
- for (R in S)
453
- g[R] === void 0 && (g[R] = S[R]);
451
+ var R = e.defaultProps;
452
+ for (_ in R)
453
+ b[_] === void 0 && (b[_] = R[_]);
454
454
  }
455
- if (v || k) {
456
- var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
- v && Ot(g, E), k && Pt(g, E);
455
+ if (h || k) {
456
+ var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
457
+ h && Ot(b, S), k && Pt(b, S);
458
458
  }
459
- return Ct(e, v, k, y, u, Je.current, g);
459
+ return Ct(e, h, k, y, u, Je.current, b);
460
460
  }
461
461
  }
462
- var be = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
462
+ var be = T.ReactCurrentOwner, Ge = T.ReactDebugCurrentFrame;
463
463
  function q(e) {
464
464
  if (e) {
465
- var o = e._owner, a = oe(e.type, e._source, o ? o.type : null);
465
+ var n = e._owner, a = oe(e.type, e._source, n ? n.type : null);
466
466
  Ge.setExtraStackFrame(a);
467
467
  } else
468
468
  Ge.setExtraStackFrame(null);
469
469
  }
470
- var ye;
471
- ye = !1;
472
- function _e(e) {
470
+ var ge;
471
+ ge = !1;
472
+ function ye(e) {
473
473
  return typeof e == "object" && e !== null && e.$$typeof === r;
474
474
  }
475
475
  function Xe() {
476
476
  {
477
477
  if (be.current) {
478
- var e = N(be.current.type);
478
+ var e = M(be.current.type);
479
479
  if (e)
480
480
  return `
481
481
 
@@ -490,146 +490,146 @@ Check the render method of \`` + e + "`.";
490
490
  var Ze = {};
491
491
  function Nt(e) {
492
492
  {
493
- var o = Xe();
494
- if (!o) {
493
+ var n = Xe();
494
+ if (!n) {
495
495
  var a = typeof e == "string" ? e : e.displayName || e.name;
496
- a && (o = `
496
+ a && (n = `
497
497
 
498
498
  Check the top-level render call using <` + a + ">.");
499
499
  }
500
- return o;
500
+ return n;
501
501
  }
502
502
  }
503
- function Qe(e, o) {
503
+ function Qe(e, n) {
504
504
  {
505
505
  if (!e._store || e._store.validated || e.key != null)
506
506
  return;
507
507
  e._store.validated = !0;
508
- var a = Nt(o);
508
+ var a = Nt(n);
509
509
  if (Ze[a])
510
510
  return;
511
511
  Ze[a] = !0;
512
512
  var u = "";
513
- e && e._owner && e._owner !== be.current && (u = " It was passed a child from " + N(e._owner.type) + "."), q(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), q(null);
513
+ e && e._owner && e._owner !== be.current && (u = " It was passed a child from " + M(e._owner.type) + "."), q(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.', a, u), q(null);
514
514
  }
515
515
  }
516
- function et(e, o) {
516
+ function et(e, n) {
517
517
  {
518
518
  if (typeof e != "object")
519
519
  return;
520
- if (ge(e))
520
+ if (me(e))
521
521
  for (var a = 0; a < e.length; a++) {
522
522
  var u = e[a];
523
- _e(u) && Qe(u, o);
523
+ ye(u) && Qe(u, n);
524
524
  }
525
- else if (_e(e))
525
+ else if (ye(e))
526
526
  e._store && (e._store.validated = !0);
527
527
  else if (e) {
528
- var y = Te(e);
528
+ var y = Ee(e);
529
529
  if (typeof y == "function" && y !== e.entries)
530
- for (var R = y.call(e), g; !(g = R.next()).done; )
531
- _e(g.value) && Qe(g.value, o);
530
+ for (var _ = y.call(e), b; !(b = _.next()).done; )
531
+ ye(b.value) && Qe(b.value, n);
532
532
  }
533
533
  }
534
534
  }
535
535
  function Mt(e) {
536
536
  {
537
- var o = e.type;
538
- if (o == null || typeof o == "string")
537
+ var n = e.type;
538
+ if (n == null || typeof n == "string")
539
539
  return;
540
540
  var a;
541
- if (typeof o == "function")
542
- a = o.propTypes;
543
- else if (typeof o == "object" && (o.$$typeof === f || // Note: Memo only checks outer props here.
541
+ if (typeof n == "function")
542
+ a = n.propTypes;
543
+ else if (typeof n == "object" && (n.$$typeof === f || // Note: Memo only checks outer props here.
544
544
  // Inner props are checked in the reconciler.
545
- o.$$typeof === b))
546
- a = o.propTypes;
545
+ n.$$typeof === g))
546
+ a = n.propTypes;
547
547
  else
548
548
  return;
549
549
  if (a) {
550
- var u = N(o);
550
+ var u = M(n);
551
551
  Rt(a, e.props, "prop", u, e);
552
- } else if (o.PropTypes !== void 0 && !ye) {
553
- ye = !0;
554
- var y = N(o);
555
- x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
552
+ } else if (n.PropTypes !== void 0 && !ge) {
553
+ ge = !0;
554
+ var y = M(n);
555
+ A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
556
556
  }
557
- typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
+ typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
558
558
  }
559
559
  }
560
560
  function Bt(e) {
561
561
  {
562
- for (var o = Object.keys(e.props), a = 0; a < o.length; a++) {
563
- var u = o[a];
562
+ for (var n = Object.keys(e.props), a = 0; a < n.length; a++) {
563
+ var u = n[a];
564
564
  if (u !== "children" && u !== "key") {
565
- q(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), q(null);
565
+ q(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), q(null);
566
566
  break;
567
567
  }
568
568
  }
569
- e.ref !== null && (q(e), x("Invalid attribute `ref` supplied to `React.Fragment`."), q(null));
569
+ e.ref !== null && (q(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), q(null));
570
570
  }
571
571
  }
572
572
  var tt = {};
573
- function rt(e, o, a, u, y, R) {
573
+ function rt(e, n, a, u, y, _) {
574
574
  {
575
- var g = vt(e);
576
- if (!g) {
577
- var v = "";
578
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
575
+ var b = vt(e);
576
+ if (!b) {
577
+ var h = "";
578
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (h += " 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
579
  var k = $t();
580
- k ? v += k : v += Xe();
581
- var S;
582
- e === null ? S = "null" : ge(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
580
+ k ? h += k : h += Xe();
581
+ var R;
582
+ e === null ? R = "null" : me(e) ? R = "array" : e !== void 0 && e.$$typeof === r ? (R = "<" + (M(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : R = 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", R, h);
583
583
  }
584
- var E = Tt(e, o, a, y, R);
585
- if (E == null)
586
- return E;
587
- if (g) {
588
- var P = o.children;
589
- if (P !== void 0)
584
+ var S = Tt(e, n, a, y, _);
585
+ if (S == null)
586
+ return S;
587
+ if (b) {
588
+ var C = n.children;
589
+ if (C !== void 0)
590
590
  if (u)
591
- if (ge(P)) {
592
- for (var Y = 0; Y < P.length; Y++)
593
- et(P[Y], e);
594
- Object.freeze && Object.freeze(P);
591
+ if (me(C)) {
592
+ for (var Y = 0; Y < C.length; Y++)
593
+ et(C[Y], e);
594
+ Object.freeze && Object.freeze(C);
595
595
  } else
596
- x("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
+ 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.");
597
597
  else
598
- et(P, e);
598
+ et(C, e);
599
599
  }
600
- if (H.call(o, "key")) {
601
- var D = N(e), w = Object.keys(o).filter(function(Wt) {
600
+ if (H.call(n, "key")) {
601
+ var D = M(e), w = Object.keys(n).filter(function(Wt) {
602
602
  return Wt !== "key";
603
- }), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
604
- if (!tt[D + Re]) {
603
+ }), _e = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
604
+ if (!tt[D + _e]) {
605
605
  var Ft = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
606
- x(`A props object containing a "key" prop is being spread into JSX:
606
+ A(`A props object containing a "key" prop is being spread into JSX:
607
607
  let props = %s;
608
608
  <%s {...props} />
609
609
  React keys must be passed directly to JSX without using spread:
610
610
  let props = %s;
611
- <%s key={someKey} {...props} />`, Re, D, Ft, D), tt[D + Re] = !0;
611
+ <%s key={someKey} {...props} />`, _e, D, Ft, D), tt[D + _e] = !0;
612
612
  }
613
613
  }
614
- return e === i ? Bt(E) : Mt(E), E;
614
+ return e === s ? Bt(S) : Mt(S), S;
615
615
  }
616
616
  }
617
- function It(e, o, a) {
618
- return rt(e, o, a, !0);
617
+ function It(e, n, a) {
618
+ return rt(e, n, a, !0);
619
619
  }
620
- function Lt(e, o, a) {
621
- return rt(e, o, a, !1);
620
+ function Lt(e, n, a) {
621
+ return rt(e, n, a, !1);
622
622
  }
623
623
  var Dt = Lt, Ut = It;
624
- ot.Fragment = i, ot.jsx = Dt, ot.jsxs = Ut;
624
+ ot.Fragment = s, ot.jsx = Dt, ot.jsxs = Ut;
625
625
  }()), ot;
626
626
  }
627
627
  process.env.NODE_ENV === "production" ? qt.exports = vr() : qt.exports = hr();
628
628
  var l = qt.exports;
629
- const mr = "_o_1apbm_11", gr = "_x_1apbm_24", br = "_p_1apbm_28", yr = "_m_1apbm_45", Oe = {
629
+ const mr = "_o_1apbm_11", br = "_x_1apbm_24", gr = "_p_1apbm_28", yr = "_m_1apbm_45", we = {
630
630
  o: mr,
631
- x: gr,
632
- p: br,
631
+ x: br,
632
+ p: gr,
633
633
  m: yr
634
634
  };
635
635
  let z = {};
@@ -639,45 +639,45 @@ var Yt;
639
639
  children: p,
640
640
  onCallbackModal: f,
641
641
  nameModal: m,
642
- offsetTop: h
642
+ offsetTop: v
643
643
  }) {
644
- const [b, _] = T(!1), [A, I] = T(!1);
644
+ const [g, x] = N(!1), [E, P] = N(!1);
645
645
  if (z[m].onClose = () => {
646
- O.BackButton(!1), I(!0), setTimeout(() => {
647
- _(!1), I(!1), f == null || f(), z.x(m);
646
+ O.BackButton(!1), P(!0), setTimeout(() => {
647
+ x(!1), P(!1), f == null || f(), z.x(m);
648
648
  }, 300);
649
649
  }, W(() => {
650
- b ? z[m].onClose() : (O.BackButton({
650
+ g ? z[m].onClose() : (O.BackButton({
651
651
  callback: () => z[m].onClose()
652
- }), _(!0));
653
- }, []), !!b)
654
- return /* @__PURE__ */ l.jsx("div", { className: G(Oe.o, A && Oe.x), children: /* @__PURE__ */ l.jsx(
652
+ }), x(!0));
653
+ }, []), !!g)
654
+ return /* @__PURE__ */ l.jsx("div", { className: X(we.o, E && we.x), children: /* @__PURE__ */ l.jsx(
655
655
  "div",
656
656
  {
657
- className: G(
658
- Oe.p,
659
- A && Oe.x,
660
- h ? Oe.o : Oe.m
657
+ className: X(
658
+ we.p,
659
+ E && we.x,
660
+ v ? we.o : we.m
661
661
  ),
662
662
  children: p
663
663
  }
664
664
  ) });
665
665
  }
666
666
  t.Content = r;
667
- function n({
667
+ function o({
668
668
  import_modules: p
669
669
  }) {
670
- let [f, m] = T([]);
671
- return z.x = (h) => {
672
- m(h ? f.filter((b) => b.key !== h) : []);
670
+ let [f, m] = N([]);
671
+ return z.x = (v) => {
672
+ m(v ? f.filter((g) => g.key !== v) : []);
673
673
  }, W(() => {
674
674
  p && (z.i = p);
675
- }, []), z.add = (h, b = Date.now()) => {
676
- m([...f, { key: b, item: h }]);
677
- }, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((h) => h.item) });
675
+ }, []), z.add = (v, g = Date.now()) => {
676
+ m([...f, { key: g, item: v }]);
677
+ }, /* @__PURE__ */ l.jsx(l.Fragment, { children: f.map((v) => v.item) });
678
678
  }
679
- t.Init = n;
680
- function i(p, f, m) {
679
+ t.Init = o;
680
+ function s(p, f, m) {
681
681
  z.add(
682
682
  /* @__PURE__ */ l.jsx(
683
683
  r,
@@ -692,18 +692,18 @@ var Yt;
692
692
  f
693
693
  );
694
694
  }
695
- t.Add = i;
696
- function s(p, f = Date.now().toString(), m) {
695
+ t.Add = s;
696
+ function c(p, f = Date.now().toString(), m) {
697
697
  return z[f] = {}, {
698
- Open: (_) => {
698
+ Open: (x) => {
699
699
  t.Add(
700
700
  /* @__PURE__ */ l.jsx(
701
701
  p,
702
702
  {
703
- ..._,
704
- onCallbackModal: (A) => {
705
- var I;
706
- (I = _.callback) == null || I.call(_, A);
703
+ ...x,
704
+ onCallbackModal: (E) => {
705
+ var P;
706
+ (P = x.callback) == null || P.call(x, E);
707
707
  },
708
708
  nameModal: f
709
709
  },
@@ -715,15 +715,15 @@ var Yt;
715
715
  }
716
716
  };
717
717
  }
718
- t.Create = s;
719
- function c(p) {
718
+ t.Create = c;
719
+ function i(p) {
720
720
  z[p].onClose();
721
721
  }
722
- t.Close = c;
723
- function d(p, f, m, h) {
724
- z.i && (h && (m.callback = h), z.i(`${p}/modals/${f}.tsx`).then((b) => {
725
- var _;
726
- b.Open ? b.Open(m) : (_ = b.default) != null && _.Open ? b.default.Open(m) : b.default && b.default(m);
722
+ t.Close = i;
723
+ function d(p, f, m, v) {
724
+ z.i && (v && (m.callback = v), z.i(`${p}/modals/${f}.tsx`).then((g) => {
725
+ var x;
726
+ g.Open ? g.Open(m) : (x = g.default) != null && x.Open ? g.default.Open(m) : g.default && g.default(m);
727
727
  }));
728
728
  }
729
729
  t.Open = d;
@@ -745,53 +745,53 @@ function ft() {
745
745
  }
746
746
  const dt = (t) => {
747
747
  let r = 0;
748
- for (let i = 0; i < t.length; i++) {
749
- const s = t.charCodeAt(i);
750
- r = (r << 5) - r + s, r = r & r;
748
+ for (let s = 0; s < t.length; s++) {
749
+ const c = t.charCodeAt(s);
750
+ r = (r << 5) - r + c, r = r & r;
751
751
  }
752
752
  r = Math.abs(r);
753
- let n = "";
754
- for (let i = 0; i < 64; i++) {
755
- const s = (r ^ i * 197) & 255;
756
- n += s.toString(16).padStart(2, "0");
753
+ let o = "";
754
+ for (let s = 0; s < 64; s++) {
755
+ const c = (r ^ s * 197) & 255;
756
+ o += c.toString(16).padStart(2, "0");
757
757
  }
758
- return n;
758
+ return o;
759
759
  }, sr = (t, r) => {
760
- let n = t + r;
761
- for (let s = 0; s < ft().iterations; s++)
762
- n = dt(n);
763
- const i = new Uint8Array(32);
764
- for (let s = 0; s < 32; s++)
765
- i[s] = parseInt(n.substring(s * 2, s * 2 + 2), 16);
766
- return i;
760
+ let o = t + r;
761
+ for (let c = 0; c < ft().iterations; c++)
762
+ o = dt(o);
763
+ const s = new Uint8Array(32);
764
+ for (let c = 0; c < 32; c++)
765
+ s[c] = parseInt(o.substring(c * 2, c * 2 + 2), 16);
766
+ return s;
767
767
  }, ir = (t, r) => {
768
- const n = new Uint8Array(t.length), i = new Uint8Array(t.length);
769
- let s = 0;
770
- for (let c = 0; c < t.length; c++) {
771
- const d = c % r.length;
772
- s = r[d] + c + s & 255, i[c] = s;
768
+ const o = new Uint8Array(t.length), s = new Uint8Array(t.length);
769
+ let c = 0;
770
+ for (let i = 0; i < t.length; i++) {
771
+ const d = i % r.length;
772
+ c = r[d] + i + c & 255, s[i] = c;
773
773
  }
774
- for (let c = 0; c < t.length; c++)
775
- n[c] = t[c] ^ i[c];
776
- return n;
774
+ for (let i = 0; i < t.length; i++)
775
+ o[i] = t[i] ^ s[i];
776
+ return o;
777
777
  }, _r = (t) => new TextEncoder().encode(t), Rr = (t) => new TextDecoder().decode(t), Sr = (t) => {
778
778
  let r = "";
779
- for (let n = 0; n < t.length; n += 8192) {
780
- const i = t.slice(n, Math.min(n + 8192, t.length));
781
- r += String.fromCharCode.apply(null, Array.from(i));
779
+ for (let o = 0; o < t.length; o += 8192) {
780
+ const s = t.slice(o, Math.min(o + 8192, t.length));
781
+ r += String.fromCharCode.apply(null, Array.from(s));
782
782
  }
783
783
  return btoa(r);
784
- }, Er = (t) => {
785
- const r = atob(t), n = new Uint8Array(r.length);
786
- for (let i = 0; i < r.length; i++)
787
- n[i] = r.charCodeAt(i);
788
- return n;
789
784
  }, xr = (t) => {
785
+ const r = atob(t), o = new Uint8Array(r.length);
786
+ for (let s = 0; s < r.length; s++)
787
+ o[s] = r.charCodeAt(s);
788
+ return o;
789
+ }, Er = (t) => {
790
790
  try {
791
791
  const r = dt(
792
792
  Date.now().toString() + Math.random()
793
- ).substring(0, ft().saltLength * 2), n = dt(t + r).substring(0, 8), i = sr(ft().key, r), s = _r(t), c = ir(s, i), d = Sr(c);
794
- return `${r}.${d}.${n}`;
793
+ ).substring(0, ft().saltLength * 2), o = dt(t + r).substring(0, 8), s = sr(ft().key, r), c = _r(t), i = ir(c, s), d = Sr(i);
794
+ return `${r}.${d}.${o}`;
795
795
  } catch {
796
796
  throw new Error("Не удалось зашифровать данные");
797
797
  }
@@ -800,25 +800,25 @@ const dt = (t) => {
800
800
  const r = t.split(".");
801
801
  if (r.length !== 3)
802
802
  throw new Error("Неверный формат зашифрованных данных");
803
- const n = r[0], i = r[1], s = r[2], c = sr(ft().key, n), d = Er(i), p = ir(d, c), f = Rr(p);
804
- if (dt(f + n).substring(
803
+ const o = r[0], s = r[1], c = r[2], i = sr(ft().key, o), d = xr(s), p = ir(d, i), f = Rr(p);
804
+ if (dt(f + o).substring(
805
805
  0,
806
806
  8
807
- ) !== s)
807
+ ) !== c)
808
808
  throw new Error("Контрольная сумма не совпадает");
809
809
  return f;
810
810
  } catch {
811
811
  return "";
812
812
  }
813
813
  };
814
- var pe;
814
+ var de;
815
815
  ((t) => {
816
816
  t.setKey = (r) => {
817
817
  Gt({ key: r });
818
818
  }, t.enCode = (r) => {
819
819
  try {
820
- const n = JSON.stringify(r);
821
- return xr(n);
820
+ const o = JSON.stringify(r);
821
+ return Er(o);
822
822
  } catch {
823
823
  throw new Error("Не удалось зашифровать объект");
824
824
  }
@@ -826,15 +826,15 @@ var pe;
826
826
  try {
827
827
  if (!r || r.length < 10)
828
828
  return !1;
829
- const n = Ar(r);
830
- return n && JSON.parse(n) || !1;
829
+ const o = Ar(r);
830
+ return o && JSON.parse(o) || !1;
831
831
  } catch {
832
832
  return !1;
833
833
  }
834
- }, t.setSecurityParams = (r, n) => {
835
- Gt({ iterations: r, saltLength: n });
834
+ }, t.setSecurityParams = (r, o) => {
835
+ Gt({ iterations: r, saltLength: o });
836
836
  };
837
- })(pe || (pe = {}));
837
+ })(de || (de = {}));
838
838
  var at = {};
839
839
  /**
840
840
  * @license React
@@ -849,15 +849,15 @@ var Xt;
849
849
  function jr() {
850
850
  if (Xt) return at;
851
851
  Xt = 1;
852
- var t = C, r = Symbol.for("react.element"), n = 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 };
852
+ var t = $, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, c = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
853
853
  function d(p, f, m) {
854
- var h, b = {}, _ = null, A = null;
855
- m !== void 0 && (_ = "" + m), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (A = f.ref);
856
- for (h in f) i.call(f, h) && !c.hasOwnProperty(h) && (b[h] = f[h]);
857
- if (p && p.defaultProps) for (h in f = p.defaultProps, f) b[h] === void 0 && (b[h] = f[h]);
858
- return { $$typeof: r, type: p, key: _, ref: A, props: b, _owner: s.current };
854
+ var v, g = {}, x = null, E = null;
855
+ m !== void 0 && (x = "" + m), f.key !== void 0 && (x = "" + f.key), f.ref !== void 0 && (E = f.ref);
856
+ for (v in f) s.call(f, v) && !i.hasOwnProperty(v) && (g[v] = f[v]);
857
+ if (p && p.defaultProps) for (v in f = p.defaultProps, f) g[v] === void 0 && (g[v] = f[v]);
858
+ return { $$typeof: r, type: p, key: x, ref: E, props: g, _owner: c.current };
859
859
  }
860
- return at.Fragment = n, at.jsx = d, at.jsxs = d, at;
860
+ return at.Fragment = o, at.jsx = d, at.jsxs = d, at;
861
861
  }
862
862
  var st = {};
863
863
  /**
@@ -872,88 +872,88 @@ var st = {};
872
872
  var Zt;
873
873
  function kr() {
874
874
  return Zt || (Zt = 1, process.env.NODE_ENV !== "production" && function() {
875
- var t = C, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), I = Symbol.iterator, ee = "@@iterator";
876
- function Te(e) {
875
+ var t = $, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), P = Symbol.iterator, Ce = "@@iterator";
876
+ function Ee(e) {
877
877
  if (e === null || typeof e != "object")
878
878
  return null;
879
- var o = I && e[I] || e[ee];
880
- return typeof o == "function" ? o : null;
879
+ var n = P && e[P] || e[Ce];
880
+ return typeof n == "function" ? n : null;
881
881
  }
882
- var M = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
883
- function x(e) {
882
+ var T = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
883
+ function A(e) {
884
884
  {
885
- for (var o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), u = 1; u < o; u++)
885
+ for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), u = 1; u < n; u++)
886
886
  a[u - 1] = arguments[u];
887
887
  Ae("error", e, a);
888
888
  }
889
889
  }
890
- function Ae(e, o, a) {
890
+ function Ae(e, n, a) {
891
891
  {
892
- var u = M.ReactDebugCurrentFrame, y = u.getStackAddendum();
893
- y !== "" && (o += "%s", a = a.concat([y]));
894
- var R = a.map(function(g) {
895
- return String(g);
892
+ var u = T.ReactDebugCurrentFrame, y = u.getStackAddendum();
893
+ y !== "" && (n += "%s", a = a.concat([y]));
894
+ var _ = a.map(function(b) {
895
+ return String(b);
896
896
  });
897
- R.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, R);
897
+ _.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, _);
898
898
  }
899
899
  }
900
- var je = !1, te = !1, V = !1, ke = !1, we = !1, $;
901
- $ = Symbol.for("react.module.reference");
900
+ var te = !1, V = !1, je = !1, ke = !1, I = !1, Te;
901
+ Te = Symbol.for("react.module.reference");
902
902
  function vt(e) {
903
- return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || we || e === s || e === m || e === h || ke || e === A || je || te || V || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || // This needs to include all possible module reference object
903
+ return !!(typeof e == "string" || typeof e == "function" || e === s || e === i || I || e === c || e === m || e === v || ke || e === E || te || V || je || typeof e == "object" && e !== null && (e.$$typeof === x || e.$$typeof === g || e.$$typeof === d || e.$$typeof === p || 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 === $ || e.getModuleId !== void 0));
907
+ e.$$typeof === Te || e.getModuleId !== void 0));
908
908
  }
909
- function ht(e, o, a) {
909
+ function ht(e, n, a) {
910
910
  var u = e.displayName;
911
911
  if (u)
912
912
  return u;
913
- var y = o.displayName || o.name || "";
913
+ var y = n.displayName || n.name || "";
914
914
  return y !== "" ? a + "(" + y + ")" : a;
915
915
  }
916
916
  function $e(e) {
917
917
  return e.displayName || "Context";
918
918
  }
919
- function N(e) {
919
+ function M(e) {
920
920
  if (e == null)
921
921
  return null;
922
- if (typeof e.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
922
+ 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")
923
923
  return e.displayName || e.name || null;
924
924
  if (typeof e == "string")
925
925
  return e;
926
926
  switch (e) {
927
- case i:
927
+ case s:
928
928
  return "Fragment";
929
- case n:
929
+ case o:
930
930
  return "Portal";
931
- case c:
931
+ case i:
932
932
  return "Profiler";
933
- case s:
933
+ case c:
934
934
  return "StrictMode";
935
935
  case m:
936
936
  return "Suspense";
937
- case h:
937
+ case v:
938
938
  return "SuspenseList";
939
939
  }
940
940
  if (typeof e == "object")
941
941
  switch (e.$$typeof) {
942
942
  case p:
943
- var o = e;
944
- return $e(o) + ".Consumer";
943
+ var n = e;
944
+ return $e(n) + ".Consumer";
945
945
  case d:
946
946
  var a = e;
947
947
  return $e(a._context) + ".Provider";
948
948
  case f:
949
949
  return ht(e, e.render, "ForwardRef");
950
- case b:
950
+ case g:
951
951
  var u = e.displayName || null;
952
- return u !== null ? u : N(e.type) || "Memo";
953
- case _: {
954
- var y = e, R = y._payload, g = y._init;
952
+ return u !== null ? u : M(e.type) || "Memo";
953
+ case x: {
954
+ var y = e, _ = y._payload, b = y._init;
955
955
  try {
956
- return N(g(R));
956
+ return M(b(_));
957
957
  } catch {
958
958
  return null;
959
959
  }
@@ -988,7 +988,7 @@ function kr() {
988
988
  J++;
989
989
  }
990
990
  }
991
- function gt() {
991
+ function bt() {
992
992
  {
993
993
  if (J--, J === 0) {
994
994
  var e = {
@@ -1020,30 +1020,30 @@ function kr() {
1020
1020
  })
1021
1021
  });
1022
1022
  }
1023
- J < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1023
+ J < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1024
1024
  }
1025
1025
  }
1026
- var ve = M.ReactCurrentDispatcher, he;
1027
- function re(e, o, a) {
1026
+ var pe = T.ReactCurrentDispatcher, ve;
1027
+ function re(e, n, a) {
1028
1028
  {
1029
- if (he === void 0)
1029
+ if (ve === void 0)
1030
1030
  try {
1031
1031
  throw Error();
1032
1032
  } catch (y) {
1033
1033
  var u = y.stack.trim().match(/\n( *(at )?)/);
1034
- he = u && u[1] || "";
1034
+ ve = u && u[1] || "";
1035
1035
  }
1036
1036
  return `
1037
- ` + he + e;
1037
+ ` + ve + e;
1038
1038
  }
1039
1039
  }
1040
- var me = !1, ne;
1040
+ var he = !1, ne;
1041
1041
  {
1042
- var bt = typeof WeakMap == "function" ? WeakMap : Map;
1043
- ne = new bt();
1042
+ var gt = typeof WeakMap == "function" ? WeakMap : Map;
1043
+ ne = new gt();
1044
1044
  }
1045
- function We(e, o) {
1046
- if (!e || me)
1045
+ function We(e, n) {
1046
+ if (!e || he)
1047
1047
  return "";
1048
1048
  {
1049
1049
  var a = ne.get(e);
@@ -1051,34 +1051,34 @@ function kr() {
1051
1051
  return a;
1052
1052
  }
1053
1053
  var u;
1054
- me = !0;
1054
+ he = !0;
1055
1055
  var y = Error.prepareStackTrace;
1056
1056
  Error.prepareStackTrace = void 0;
1057
- var R;
1058
- R = ve.current, ve.current = null, mt();
1057
+ var _;
1058
+ _ = pe.current, pe.current = null, mt();
1059
1059
  try {
1060
- if (o) {
1061
- var g = function() {
1060
+ if (n) {
1061
+ var b = function() {
1062
1062
  throw Error();
1063
1063
  };
1064
- if (Object.defineProperty(g.prototype, "props", {
1064
+ if (Object.defineProperty(b.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(g, []);
1070
+ Reflect.construct(b, []);
1071
1071
  } catch (w) {
1072
1072
  u = w;
1073
1073
  }
1074
- Reflect.construct(e, [], g);
1074
+ Reflect.construct(e, [], b);
1075
1075
  } else {
1076
1076
  try {
1077
- g.call();
1077
+ b.call();
1078
1078
  } catch (w) {
1079
1079
  u = w;
1080
1080
  }
1081
- e.call(g.prototype);
1081
+ e.call(b.prototype);
1082
1082
  }
1083
1083
  } else {
1084
1084
  try {
@@ -1090,37 +1090,37 @@ function kr() {
1090
1090
  }
1091
1091
  } catch (w) {
1092
1092
  if (w && u && typeof w.stack == "string") {
1093
- for (var v = w.stack.split(`
1093
+ for (var h = w.stack.split(`
1094
1094
  `), k = u.stack.split(`
1095
- `), S = v.length - 1, E = k.length - 1; S >= 1 && E >= 0 && v[S] !== k[E]; )
1096
- E--;
1097
- for (; S >= 1 && E >= 0; S--, E--)
1098
- if (v[S] !== k[E]) {
1099
- if (S !== 1 || E !== 1)
1095
+ `), R = h.length - 1, S = k.length - 1; R >= 1 && S >= 0 && h[R] !== k[S]; )
1096
+ S--;
1097
+ for (; R >= 1 && S >= 0; R--, S--)
1098
+ if (h[R] !== k[S]) {
1099
+ if (R !== 1 || S !== 1)
1100
1100
  do
1101
- if (S--, E--, E < 0 || v[S] !== k[E]) {
1102
- var P = `
1103
- ` + v[S].replace(" at new ", " at ");
1104
- return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, P), P;
1101
+ if (R--, S--, S < 0 || h[R] !== k[S]) {
1102
+ var C = `
1103
+ ` + h[R].replace(" at new ", " at ");
1104
+ return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, C), C;
1105
1105
  }
1106
- while (S >= 1 && E >= 0);
1106
+ while (R >= 1 && S >= 0);
1107
1107
  break;
1108
1108
  }
1109
1109
  }
1110
1110
  } finally {
1111
- me = !1, ve.current = R, gt(), Error.prepareStackTrace = y;
1111
+ he = !1, pe.current = _, bt(), Error.prepareStackTrace = y;
1112
1112
  }
1113
1113
  var Y = e ? e.displayName || e.name : "", D = Y ? re(Y) : "";
1114
1114
  return typeof e == "function" && ne.set(e, D), D;
1115
1115
  }
1116
- function yt(e, o, a) {
1116
+ function yt(e, n, a) {
1117
1117
  return We(e, !1);
1118
1118
  }
1119
1119
  function _t(e) {
1120
- var o = e.prototype;
1121
- return !!(o && o.isReactComponent);
1120
+ var n = e.prototype;
1121
+ return !!(n && n.isReactComponent);
1122
1122
  }
1123
- function oe(e, o, a) {
1123
+ function oe(e, n, a) {
1124
1124
  if (e == null)
1125
1125
  return "";
1126
1126
  if (typeof e == "function")
@@ -1130,63 +1130,63 @@ function kr() {
1130
1130
  switch (e) {
1131
1131
  case m:
1132
1132
  return re("Suspense");
1133
- case h:
1133
+ case v:
1134
1134
  return re("SuspenseList");
1135
1135
  }
1136
1136
  if (typeof e == "object")
1137
1137
  switch (e.$$typeof) {
1138
1138
  case f:
1139
1139
  return yt(e.render);
1140
- case b:
1141
- return oe(e.type, o, a);
1142
- case _: {
1143
- var u = e, y = u._payload, R = u._init;
1140
+ case g:
1141
+ return oe(e.type, n, a);
1142
+ case x: {
1143
+ var u = e, y = u._payload, _ = u._init;
1144
1144
  try {
1145
- return oe(R(y), o, a);
1145
+ return oe(_(y), n, a);
1146
1146
  } catch {
1147
1147
  }
1148
1148
  }
1149
1149
  }
1150
1150
  return "";
1151
1151
  }
1152
- var H = Object.prototype.hasOwnProperty, qe = {}, Ye = M.ReactDebugCurrentFrame;
1152
+ var H = Object.prototype.hasOwnProperty, qe = {}, Ye = T.ReactDebugCurrentFrame;
1153
1153
  function ae(e) {
1154
1154
  if (e) {
1155
- var o = e._owner, a = oe(e.type, e._source, o ? o.type : null);
1155
+ var n = e._owner, a = oe(e.type, e._source, n ? n.type : null);
1156
1156
  Ye.setExtraStackFrame(a);
1157
1157
  } else
1158
1158
  Ye.setExtraStackFrame(null);
1159
1159
  }
1160
- function Rt(e, o, a, u, y) {
1160
+ function Rt(e, n, a, u, y) {
1161
1161
  {
1162
- var R = Function.call.bind(H);
1163
- for (var g in e)
1164
- if (R(e, g)) {
1165
- var v = void 0;
1162
+ var _ = Function.call.bind(H);
1163
+ for (var b in e)
1164
+ if (_(e, b)) {
1165
+ var h = void 0;
1166
1166
  try {
1167
- if (typeof e[g] != "function") {
1168
- var k = Error((u || "React class") + ": " + a + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1167
+ if (typeof e[b] != "function") {
1168
+ var k = Error((u || "React class") + ": " + a + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1169
1169
  throw k.name = "Invariant Violation", k;
1170
1170
  }
1171
- v = e[g](o, g, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1172
- } catch (S) {
1173
- v = S;
1171
+ h = e[b](n, b, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1172
+ } catch (R) {
1173
+ h = R;
1174
1174
  }
1175
- v && !(v instanceof Error) && (ae(y), x("%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, g, typeof v), ae(null)), v instanceof Error && !(v.message in qe) && (qe[v.message] = !0, ae(y), x("Failed %s type: %s", a, v.message), ae(null));
1175
+ h && !(h instanceof Error) && (ae(y), 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).", u || "React class", a, b, typeof h), ae(null)), h instanceof Error && !(h.message in qe) && (qe[h.message] = !0, ae(y), A("Failed %s type: %s", a, h.message), ae(null));
1176
1176
  }
1177
1177
  }
1178
1178
  }
1179
1179
  var St = Array.isArray;
1180
- function ge(e) {
1180
+ function me(e) {
1181
1181
  return St(e);
1182
1182
  }
1183
- function Et(e) {
1183
+ function xt(e) {
1184
1184
  {
1185
- var o = typeof Symbol == "function" && Symbol.toStringTag, a = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
1185
+ var n = typeof Symbol == "function" && Symbol.toStringTag, a = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
1186
1186
  return a;
1187
1187
  }
1188
1188
  }
1189
- function xt(e) {
1189
+ function Et(e) {
1190
1190
  try {
1191
1191
  return ze(e), !1;
1192
1192
  } catch {
@@ -1197,10 +1197,10 @@ function kr() {
1197
1197
  return "" + e;
1198
1198
  }
1199
1199
  function Ve(e) {
1200
- if (xt(e))
1201
- return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Et(e)), ze(e);
1200
+ if (Et(e))
1201
+ return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", xt(e)), ze(e);
1202
1202
  }
1203
- var Je = M.ReactCurrentOwner, At = {
1203
+ var Je = T.ReactCurrentOwner, At = {
1204
1204
  key: !0,
1205
1205
  ref: !0,
1206
1206
  __self: !0,
@@ -1208,27 +1208,27 @@ function kr() {
1208
1208
  }, He, Ke;
1209
1209
  function jt(e) {
1210
1210
  if (H.call(e, "ref")) {
1211
- var o = Object.getOwnPropertyDescriptor(e, "ref").get;
1212
- if (o && o.isReactWarning)
1211
+ var n = Object.getOwnPropertyDescriptor(e, "ref").get;
1212
+ if (n && n.isReactWarning)
1213
1213
  return !1;
1214
1214
  }
1215
1215
  return e.ref !== void 0;
1216
1216
  }
1217
1217
  function kt(e) {
1218
1218
  if (H.call(e, "key")) {
1219
- var o = Object.getOwnPropertyDescriptor(e, "key").get;
1220
- if (o && o.isReactWarning)
1219
+ var n = Object.getOwnPropertyDescriptor(e, "key").get;
1220
+ if (n && n.isReactWarning)
1221
1221
  return !1;
1222
1222
  }
1223
1223
  return e.key !== void 0;
1224
1224
  }
1225
- function wt(e, o) {
1225
+ function wt(e, n) {
1226
1226
  typeof e.ref == "string" && Je.current;
1227
1227
  }
1228
- function Ot(e, o) {
1228
+ function Ot(e, n) {
1229
1229
  {
1230
1230
  var a = function() {
1231
- He || (He = !0, x("%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)", o));
1231
+ He || (He = !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)", n));
1232
1232
  };
1233
1233
  a.isReactWarning = !0, Object.defineProperty(e, "key", {
1234
1234
  get: a,
@@ -1236,10 +1236,10 @@ function kr() {
1236
1236
  });
1237
1237
  }
1238
1238
  }
1239
- function Pt(e, o) {
1239
+ function Pt(e, n) {
1240
1240
  {
1241
1241
  var a = function() {
1242
- Ke || (Ke = !0, x("%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)", o));
1242
+ Ke || (Ke = !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)", n));
1243
1243
  };
1244
1244
  a.isReactWarning = !0, Object.defineProperty(e, "ref", {
1245
1245
  get: a,
@@ -1247,70 +1247,70 @@ function kr() {
1247
1247
  });
1248
1248
  }
1249
1249
  }
1250
- var Ct = function(e, o, a, u, y, R, g) {
1251
- var v = {
1250
+ var Ct = function(e, n, a, u, y, _, b) {
1251
+ var h = {
1252
1252
  // This tag allows us to uniquely identify this as a React Element
1253
1253
  $$typeof: r,
1254
1254
  // Built-in properties that belong on the element
1255
1255
  type: e,
1256
- key: o,
1256
+ key: n,
1257
1257
  ref: a,
1258
- props: g,
1258
+ props: b,
1259
1259
  // Record the component responsible for creating this element.
1260
- _owner: R
1260
+ _owner: _
1261
1261
  };
1262
- return v._store = {}, Object.defineProperty(v._store, "validated", {
1262
+ return h._store = {}, Object.defineProperty(h._store, "validated", {
1263
1263
  configurable: !1,
1264
1264
  enumerable: !1,
1265
1265
  writable: !0,
1266
1266
  value: !1
1267
- }), Object.defineProperty(v, "_self", {
1267
+ }), Object.defineProperty(h, "_self", {
1268
1268
  configurable: !1,
1269
1269
  enumerable: !1,
1270
1270
  writable: !1,
1271
1271
  value: u
1272
- }), Object.defineProperty(v, "_source", {
1272
+ }), Object.defineProperty(h, "_source", {
1273
1273
  configurable: !1,
1274
1274
  enumerable: !1,
1275
1275
  writable: !1,
1276
1276
  value: y
1277
- }), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
1277
+ }), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
1278
1278
  };
1279
- function Tt(e, o, a, u, y) {
1279
+ function Tt(e, n, a, u, y) {
1280
1280
  {
1281
- var R, g = {}, v = null, k = null;
1282
- a !== void 0 && (Ve(a), v = "" + a), kt(o) && (Ve(o.key), v = "" + o.key), jt(o) && (k = o.ref, wt(o));
1283
- for (R in o)
1284
- H.call(o, R) && !At.hasOwnProperty(R) && (g[R] = o[R]);
1281
+ var _, b = {}, h = null, k = null;
1282
+ a !== void 0 && (Ve(a), h = "" + a), kt(n) && (Ve(n.key), h = "" + n.key), jt(n) && (k = n.ref, wt(n));
1283
+ for (_ in n)
1284
+ H.call(n, _) && !At.hasOwnProperty(_) && (b[_] = n[_]);
1285
1285
  if (e && e.defaultProps) {
1286
- var S = e.defaultProps;
1287
- for (R in S)
1288
- g[R] === void 0 && (g[R] = S[R]);
1286
+ var R = e.defaultProps;
1287
+ for (_ in R)
1288
+ b[_] === void 0 && (b[_] = R[_]);
1289
1289
  }
1290
- if (v || k) {
1291
- var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1292
- v && Ot(g, E), k && Pt(g, E);
1290
+ if (h || k) {
1291
+ var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
1292
+ h && Ot(b, S), k && Pt(b, S);
1293
1293
  }
1294
- return Ct(e, v, k, y, u, Je.current, g);
1294
+ return Ct(e, h, k, y, u, Je.current, b);
1295
1295
  }
1296
1296
  }
1297
- var be = M.ReactCurrentOwner, Ge = M.ReactDebugCurrentFrame;
1297
+ var be = T.ReactCurrentOwner, Ge = T.ReactDebugCurrentFrame;
1298
1298
  function q(e) {
1299
1299
  if (e) {
1300
- var o = e._owner, a = oe(e.type, e._source, o ? o.type : null);
1300
+ var n = e._owner, a = oe(e.type, e._source, n ? n.type : null);
1301
1301
  Ge.setExtraStackFrame(a);
1302
1302
  } else
1303
1303
  Ge.setExtraStackFrame(null);
1304
1304
  }
1305
- var ye;
1306
- ye = !1;
1307
- function _e(e) {
1305
+ var ge;
1306
+ ge = !1;
1307
+ function ye(e) {
1308
1308
  return typeof e == "object" && e !== null && e.$$typeof === r;
1309
1309
  }
1310
1310
  function Xe() {
1311
1311
  {
1312
1312
  if (be.current) {
1313
- var e = N(be.current.type);
1313
+ var e = M(be.current.type);
1314
1314
  if (e)
1315
1315
  return `
1316
1316
 
@@ -1325,144 +1325,144 @@ Check the render method of \`` + e + "`.";
1325
1325
  var Ze = {};
1326
1326
  function Nt(e) {
1327
1327
  {
1328
- var o = Xe();
1329
- if (!o) {
1328
+ var n = Xe();
1329
+ if (!n) {
1330
1330
  var a = typeof e == "string" ? e : e.displayName || e.name;
1331
- a && (o = `
1331
+ a && (n = `
1332
1332
 
1333
1333
  Check the top-level render call using <` + a + ">.");
1334
1334
  }
1335
- return o;
1335
+ return n;
1336
1336
  }
1337
1337
  }
1338
- function Qe(e, o) {
1338
+ function Qe(e, n) {
1339
1339
  {
1340
1340
  if (!e._store || e._store.validated || e.key != null)
1341
1341
  return;
1342
1342
  e._store.validated = !0;
1343
- var a = Nt(o);
1343
+ var a = Nt(n);
1344
1344
  if (Ze[a])
1345
1345
  return;
1346
1346
  Ze[a] = !0;
1347
1347
  var u = "";
1348
- e && e._owner && e._owner !== be.current && (u = " It was passed a child from " + N(e._owner.type) + "."), q(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), q(null);
1348
+ e && e._owner && e._owner !== be.current && (u = " It was passed a child from " + M(e._owner.type) + "."), q(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.', a, u), q(null);
1349
1349
  }
1350
1350
  }
1351
- function et(e, o) {
1351
+ function et(e, n) {
1352
1352
  {
1353
1353
  if (typeof e != "object")
1354
1354
  return;
1355
- if (ge(e))
1355
+ if (me(e))
1356
1356
  for (var a = 0; a < e.length; a++) {
1357
1357
  var u = e[a];
1358
- _e(u) && Qe(u, o);
1358
+ ye(u) && Qe(u, n);
1359
1359
  }
1360
- else if (_e(e))
1360
+ else if (ye(e))
1361
1361
  e._store && (e._store.validated = !0);
1362
1362
  else if (e) {
1363
- var y = Te(e);
1363
+ var y = Ee(e);
1364
1364
  if (typeof y == "function" && y !== e.entries)
1365
- for (var R = y.call(e), g; !(g = R.next()).done; )
1366
- _e(g.value) && Qe(g.value, o);
1365
+ for (var _ = y.call(e), b; !(b = _.next()).done; )
1366
+ ye(b.value) && Qe(b.value, n);
1367
1367
  }
1368
1368
  }
1369
1369
  }
1370
1370
  function Mt(e) {
1371
1371
  {
1372
- var o = e.type;
1373
- if (o == null || typeof o == "string")
1372
+ var n = e.type;
1373
+ if (n == null || typeof n == "string")
1374
1374
  return;
1375
1375
  var a;
1376
- if (typeof o == "function")
1377
- a = o.propTypes;
1378
- else if (typeof o == "object" && (o.$$typeof === f || // Note: Memo only checks outer props here.
1376
+ if (typeof n == "function")
1377
+ a = n.propTypes;
1378
+ else if (typeof n == "object" && (n.$$typeof === f || // Note: Memo only checks outer props here.
1379
1379
  // Inner props are checked in the reconciler.
1380
- o.$$typeof === b))
1381
- a = o.propTypes;
1380
+ n.$$typeof === g))
1381
+ a = n.propTypes;
1382
1382
  else
1383
1383
  return;
1384
1384
  if (a) {
1385
- var u = N(o);
1385
+ var u = M(n);
1386
1386
  Rt(a, e.props, "prop", u, e);
1387
- } else if (o.PropTypes !== void 0 && !ye) {
1388
- ye = !0;
1389
- var y = N(o);
1390
- x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
1387
+ } else if (n.PropTypes !== void 0 && !ge) {
1388
+ ge = !0;
1389
+ var y = M(n);
1390
+ A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
1391
1391
  }
1392
- typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1392
+ typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1393
1393
  }
1394
1394
  }
1395
1395
  function Bt(e) {
1396
1396
  {
1397
- for (var o = Object.keys(e.props), a = 0; a < o.length; a++) {
1398
- var u = o[a];
1397
+ for (var n = Object.keys(e.props), a = 0; a < n.length; a++) {
1398
+ var u = n[a];
1399
1399
  if (u !== "children" && u !== "key") {
1400
- q(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), q(null);
1400
+ q(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), q(null);
1401
1401
  break;
1402
1402
  }
1403
1403
  }
1404
- e.ref !== null && (q(e), x("Invalid attribute `ref` supplied to `React.Fragment`."), q(null));
1404
+ e.ref !== null && (q(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), q(null));
1405
1405
  }
1406
1406
  }
1407
1407
  var tt = {};
1408
- function rt(e, o, a, u, y, R) {
1408
+ function rt(e, n, a, u, y, _) {
1409
1409
  {
1410
- var g = vt(e);
1411
- if (!g) {
1412
- var v = "";
1413
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1410
+ var b = vt(e);
1411
+ if (!b) {
1412
+ var h = "";
1413
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (h += " 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
1414
  var k = $t();
1415
- k ? v += k : v += Xe();
1416
- var S;
1417
- e === null ? S = "null" : ge(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (N(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, v);
1415
+ k ? h += k : h += Xe();
1416
+ var R;
1417
+ e === null ? R = "null" : me(e) ? R = "array" : e !== void 0 && e.$$typeof === r ? (R = "<" + (M(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : R = 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", R, h);
1418
1418
  }
1419
- var E = Tt(e, o, a, y, R);
1420
- if (E == null)
1421
- return E;
1422
- if (g) {
1423
- var P = o.children;
1424
- if (P !== void 0)
1419
+ var S = Tt(e, n, a, y, _);
1420
+ if (S == null)
1421
+ return S;
1422
+ if (b) {
1423
+ var C = n.children;
1424
+ if (C !== void 0)
1425
1425
  if (u)
1426
- if (ge(P)) {
1427
- for (var Y = 0; Y < P.length; Y++)
1428
- et(P[Y], e);
1429
- Object.freeze && Object.freeze(P);
1426
+ if (me(C)) {
1427
+ for (var Y = 0; Y < C.length; Y++)
1428
+ et(C[Y], e);
1429
+ Object.freeze && Object.freeze(C);
1430
1430
  } else
1431
- x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1431
+ 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.");
1432
1432
  else
1433
- et(P, e);
1433
+ et(C, e);
1434
1434
  }
1435
- if (H.call(o, "key")) {
1436
- var D = N(e), w = Object.keys(o).filter(function(Wt) {
1435
+ if (H.call(n, "key")) {
1436
+ var D = M(e), w = Object.keys(n).filter(function(Wt) {
1437
1437
  return Wt !== "key";
1438
- }), Re = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
1439
- if (!tt[D + Re]) {
1438
+ }), _e = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
1439
+ if (!tt[D + _e]) {
1440
1440
  var Ft = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
1441
- x(`A props object containing a "key" prop is being spread into JSX:
1441
+ A(`A props object containing a "key" prop is being spread into JSX:
1442
1442
  let props = %s;
1443
1443
  <%s {...props} />
1444
1444
  React keys must be passed directly to JSX without using spread:
1445
1445
  let props = %s;
1446
- <%s key={someKey} {...props} />`, Re, D, Ft, D), tt[D + Re] = !0;
1446
+ <%s key={someKey} {...props} />`, _e, D, Ft, D), tt[D + _e] = !0;
1447
1447
  }
1448
1448
  }
1449
- return e === i ? Bt(E) : Mt(E), E;
1449
+ return e === s ? Bt(S) : Mt(S), S;
1450
1450
  }
1451
1451
  }
1452
- function It(e, o, a) {
1453
- return rt(e, o, a, !0);
1452
+ function It(e, n, a) {
1453
+ return rt(e, n, a, !0);
1454
1454
  }
1455
- function Lt(e, o, a) {
1456
- return rt(e, o, a, !1);
1455
+ function Lt(e, n, a) {
1456
+ return rt(e, n, a, !1);
1457
1457
  }
1458
1458
  var Dt = Lt, Ut = It;
1459
- st.Fragment = i, st.jsx = Dt, st.jsxs = Ut;
1459
+ st.Fragment = s, st.jsx = Dt, st.jsxs = Ut;
1460
1460
  }()), st;
1461
1461
  }
1462
1462
  process.env.NODE_ENV === "production" ? jr() : kr();
1463
1463
  const wr = "0.0.46", cr = {
1464
1464
  version: wr
1465
- }, le = {}, F = {
1465
+ }, ce = {}, F = {
1466
1466
  module: "",
1467
1467
  v: cr.version,
1468
1468
  page: "Main",
@@ -1482,24 +1482,24 @@ const wr = "0.0.46", cr = {
1482
1482
  id: 0
1483
1483
  }
1484
1484
  };
1485
- function Z() {
1485
+ function Q() {
1486
1486
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
1487
1487
  }
1488
- Z().elcrm || (Z().elcrm = {});
1489
- Object.assign(Z().elcrm, { router: cr.version });
1490
- function Q(t) {
1491
- var r, n, i, s;
1492
- const c = Z();
1493
- if (c.ROUTER_PARAMS) {
1494
- t.debug || c.ROUTER_PARAMS.debug;
1488
+ Q().elcrm || (Q().elcrm = {});
1489
+ Object.assign(Q().elcrm, { router: cr.version });
1490
+ function ee(t) {
1491
+ var r, o, s, c;
1492
+ const i = Q();
1493
+ if (i.ROUTER_PARAMS) {
1494
+ t.debug || i.ROUTER_PARAMS.debug;
1495
1495
  const d = {
1496
- page: (r = c.ROUTER_PARAMS) == null ? void 0 : r.page,
1497
- module: (n = c.ROUTER_PARAMS) == null ? void 0 : n.module,
1498
- tab: (i = c.ROUTER_PARAMS) == null ? void 0 : i.tab,
1499
- id: (s = c.ROUTER_PARAMS) == null ? void 0 : s.id
1496
+ page: (r = i.ROUTER_PARAMS) == null ? void 0 : r.page,
1497
+ module: (o = i.ROUTER_PARAMS) == null ? void 0 : o.module,
1498
+ tab: (s = i.ROUTER_PARAMS) == null ? void 0 : s.tab,
1499
+ id: (c = i.ROUTER_PARAMS) == null ? void 0 : c.id
1500
1500
  };
1501
- c.ROUTER_PARAMS = {
1502
- ...c.ROUTER_PARAMS,
1501
+ i.ROUTER_PARAMS = {
1502
+ ...i.ROUTER_PARAMS,
1503
1503
  ...t,
1504
1504
  prev: d
1505
1505
  };
@@ -1511,63 +1511,63 @@ function Q(t) {
1511
1511
  tab: F == null ? void 0 : F.tab,
1512
1512
  id: F == null ? void 0 : F.id
1513
1513
  };
1514
- c.ROUTER_PARAMS = { ...F, ...t, prev: d };
1514
+ i.ROUTER_PARAMS = { ...F, ...t, prev: d };
1515
1515
  }
1516
1516
  }
1517
1517
  function j() {
1518
- return Z().ROUTER_PARAMS || F;
1518
+ return Q().ROUTER_PARAMS || F;
1519
1519
  }
1520
1520
  function xe(t) {
1521
- const r = Z();
1522
- r.ROUTER_PARAMS || (r.ROUTER_PARAMS = { ...F }), r.ROUTER_PARAMS.LISTENER || (r.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((n) => {
1523
- r.ROUTER_PARAMS.LISTENER[n] || (r.ROUTER_PARAMS.LISTENER[n] = []), Array.isArray(r.ROUTER_PARAMS.LISTENER[n]) || (r.ROUTER_PARAMS.LISTENER[n] = [
1524
- r.ROUTER_PARAMS.LISTENER[n]
1525
- ]), r.ROUTER_PARAMS.LISTENER[n].includes(t[n]) || r.ROUTER_PARAMS.LISTENER[n].push(t[n]);
1521
+ const r = Q();
1522
+ r.ROUTER_PARAMS || (r.ROUTER_PARAMS = { ...F }), r.ROUTER_PARAMS.LISTENER || (r.ROUTER_PARAMS.LISTENER = {}), Object.keys(t).forEach((o) => {
1523
+ r.ROUTER_PARAMS.LISTENER[o] || (r.ROUTER_PARAMS.LISTENER[o] = []), Array.isArray(r.ROUTER_PARAMS.LISTENER[o]) || (r.ROUTER_PARAMS.LISTENER[o] = [
1524
+ r.ROUTER_PARAMS.LISTENER[o]
1525
+ ]), r.ROUTER_PARAMS.LISTENER[o].includes(t[o]) || r.ROUTER_PARAMS.LISTENER[o].push(t[o]);
1526
1526
  });
1527
1527
  }
1528
- function K() {
1528
+ function G() {
1529
1529
  var t;
1530
- const r = Z();
1531
- let n = ((t = r.ROUTER_PARAMS) == null ? void 0 : t.LISTENER) || F.LISTENER;
1532
- return n || (n = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = n : F.LISTENER = n), new Proxy(n, {
1533
- get(i, s) {
1534
- const c = i[s];
1535
- return Array.isArray(c) && c.length > 0 ? (...d) => {
1536
- c.forEach((p) => {
1530
+ const r = Q();
1531
+ let o = ((t = r.ROUTER_PARAMS) == null ? void 0 : t.LISTENER) || F.LISTENER;
1532
+ return o || (o = {}, r.ROUTER_PARAMS ? r.ROUTER_PARAMS.LISTENER = o : F.LISTENER = o), new Proxy(o, {
1533
+ get(s, c) {
1534
+ const i = s[c];
1535
+ return Array.isArray(i) && i.length > 0 ? (...d) => {
1536
+ i.forEach((p) => {
1537
1537
  if (typeof p == "function")
1538
1538
  try {
1539
1539
  p(...d);
1540
1540
  } catch {
1541
1541
  }
1542
1542
  });
1543
- } : c == null ? () => {
1544
- } : typeof c == "function" ? c : () => {
1543
+ } : i == null ? () => {
1544
+ } : typeof i == "function" ? i : () => {
1545
1545
  };
1546
1546
  }
1547
1547
  });
1548
1548
  }
1549
1549
  function Qt(t, r) {
1550
- const n = t.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "");
1551
- for (const [i, s] of Object.entries(r))
1552
- if (i.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") === n)
1553
- return s;
1550
+ const o = t.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "");
1551
+ for (const [s, c] of Object.entries(r))
1552
+ if (s.replace(/^\.\//, "").replace(/\.(tsx|ts|jsx|js)$/, "") === o)
1553
+ return c;
1554
1554
  return null;
1555
1555
  }
1556
1556
  function zt(t) {
1557
1557
  const {
1558
1558
  basePath: r = ".",
1559
- devExtensions: n = [".tsx", ".ts", ".jsx", ".js"],
1560
- prodExtension: i = ".js"
1559
+ devExtensions: o = [".tsx", ".ts", ".jsx", ".js"],
1560
+ prodExtension: s = ".js"
1561
1561
  } = t || {};
1562
- return (s) => {
1563
- const c = s.replace(/\.(tsx|ts|jsx|js)$/, "");
1562
+ return (c) => {
1563
+ const i = c.replace(/\.(tsx|ts|jsx|js)$/, "");
1564
1564
  if (r === ".")
1565
1565
  return import(
1566
1566
  /* @vite-ignore */
1567
- `./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
1567
+ `./${i.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
1568
1568
  );
1569
1569
  {
1570
- const d = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
1570
+ const d = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = i.replace(/^\.\//, "").replace(/\/+/g, "/");
1571
1571
  return import(
1572
1572
  /* @vite-ignore */
1573
1573
  `./${d}/${p}.js`
@@ -1576,26 +1576,26 @@ function zt(t) {
1576
1576
  };
1577
1577
  }
1578
1578
  function Or(t) {
1579
- const { basePath: r = ".", modules: n, pages: i } = t || {};
1580
- return (s) => {
1581
- if (n) {
1582
- const d = Qt(s, n);
1579
+ const { basePath: r = ".", modules: o, pages: s } = t || {};
1580
+ return (c) => {
1581
+ if (o) {
1582
+ const d = Qt(c, o);
1583
1583
  if (d)
1584
1584
  return d();
1585
1585
  }
1586
- if (i) {
1587
- const d = Qt(s, i);
1586
+ if (s) {
1587
+ const d = Qt(c, s);
1588
1588
  if (d)
1589
1589
  return d();
1590
1590
  }
1591
- const c = s.replace(/\.(tsx|ts|jsx|js)$/, "");
1591
+ const i = c.replace(/\.(tsx|ts|jsx|js)$/, "");
1592
1592
  if (r === ".")
1593
1593
  return import(
1594
1594
  /* @vite-ignore */
1595
- `./${c.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
1595
+ `./${i.replace(/^\.\//, "").replace(/\/+/g, "/")}.js`
1596
1596
  );
1597
1597
  {
1598
- const d = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = c.replace(/^\.\//, "").replace(/\/+/g, "/");
1598
+ const d = r.replace(/^\.\//, "").replace(/\/+$/, ""), p = i.replace(/^\.\//, "").replace(/\/+/g, "/");
1599
1599
  return import(
1600
1600
  /* @vite-ignore */
1601
1601
  `./${d}/${p}.js`
@@ -1603,19 +1603,19 @@ function Or(t) {
1603
1603
  }
1604
1604
  };
1605
1605
  }
1606
- function er(t = ".", r, n) {
1607
- return r || n ? Or({
1606
+ function er(t = ".", r, o) {
1607
+ return r || o ? Or({
1608
1608
  basePath: t,
1609
1609
  modules: r,
1610
- pages: n
1610
+ pages: o
1611
1611
  }) : zt({ basePath: t });
1612
1612
  }
1613
1613
  function Pr() {
1614
1614
  var t;
1615
1615
  let r = sessionStorage.getItem("f");
1616
1616
  if (r) {
1617
- if (r = pe.deCode(r), !r) return !1;
1618
- Q({
1617
+ if (r = de.deCode(r), !r) return !1;
1618
+ ee({
1619
1619
  id: r.id,
1620
1620
  tab: r.tab,
1621
1621
  page: r.page,
@@ -1625,7 +1625,7 @@ function Pr() {
1625
1625
  module_admin: r.module_admin
1626
1626
  });
1627
1627
  } else
1628
- Q({
1628
+ ee({
1629
1629
  id: 0,
1630
1630
  tab: "",
1631
1631
  page: (t = localStorage.getItem("d")) != null && t.length ? j().page : j().auth,
@@ -1646,32 +1646,32 @@ function fr() {
1646
1646
  return j().id;
1647
1647
  }
1648
1648
  function Cr(t) {
1649
- let r = (s) => (Q({ page: s }), s);
1650
- const [n, i] = T(
1649
+ let r = (c) => (ee({ page: c }), c);
1650
+ const [o, s] = N(
1651
1651
  lr() || t && r(t) || j().page
1652
1652
  );
1653
1653
  return W(() => {
1654
- const s = (c) => {
1655
- i(c);
1654
+ const c = (i) => {
1655
+ s(i);
1656
1656
  };
1657
- return xe({ page: s }), () => {
1658
- var c, d;
1659
- const p = Z();
1660
- if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.page) {
1657
+ return xe({ page: c }), () => {
1658
+ var i, d;
1659
+ const p = Q();
1660
+ if ((d = (i = p.ROUTER_PARAMS) == null ? void 0 : i.LISTENER) != null && d.page) {
1661
1661
  const f = p.ROUTER_PARAMS.LISTENER.page;
1662
1662
  if (Array.isArray(f)) {
1663
- const m = f.indexOf(s);
1663
+ const m = f.indexOf(c);
1664
1664
  m > -1 && f.splice(m, 1);
1665
1665
  }
1666
1666
  }
1667
1667
  };
1668
- }, []), n;
1668
+ }, []), o;
1669
1669
  }
1670
- function Tr(t, r = !0, n = {}) {
1671
- Q({ page: t, ...n }), sessionStorage.setItem(
1670
+ function Tr(t, r = !0, o = {}) {
1671
+ ee({ page: t, ...o }), sessionStorage.setItem(
1672
1672
  j().STORAGE,
1673
- pe.enCode(j())
1674
- ), r && K().page(t);
1673
+ de.enCode(j())
1674
+ ), r && G().page(t);
1675
1675
  }
1676
1676
  function $r(t) {
1677
1677
  return j().page === t;
@@ -1680,84 +1680,84 @@ function Nr() {
1680
1680
  return j().prev;
1681
1681
  }
1682
1682
  function Mr(t, r) {
1683
- const [n, i] = T(
1683
+ const [o, s] = N(
1684
1684
  ur() || t || j().module
1685
1685
  );
1686
- return W(() => (xe({ module: i }), () => {
1687
- const s = K();
1688
- s.module === i && delete s.module;
1689
- }), []), n;
1686
+ return W(() => (xe({ module: s }), () => {
1687
+ const c = G();
1688
+ c.module === s && delete c.module;
1689
+ }), []), o;
1690
1690
  }
1691
1691
  function Br(t, r = !0) {
1692
- Q({ module: t }), sessionStorage.setItem(
1692
+ ee({ module: t }), sessionStorage.setItem(
1693
1693
  j().STORAGE,
1694
- pe.enCode(j())
1695
- ), r && K().module(t);
1694
+ de.enCode(j())
1695
+ ), r && G().module(t);
1696
1696
  }
1697
1697
  function Ir(t) {
1698
1698
  return j().module === t;
1699
1699
  }
1700
1700
  function Lr(t, r) {
1701
1701
  if (typeof t != "function") {
1702
- const [n, i] = T(!r), [s, c] = T(t || Jt());
1703
- return xe({ tabs: c }), r && W(() => {
1704
- i(!0);
1705
- }, []), [s, n];
1702
+ const [o, s] = N(!r), [c, i] = N(t || Jt());
1703
+ return xe({ tabs: i }), r && W(() => {
1704
+ s(!0);
1705
+ }, []), [c, o];
1706
1706
  } else
1707
1707
  xe({ tabs: t });
1708
1708
  }
1709
1709
  function Dr(t) {
1710
- let r = (s) => (Q({ tab: s }), s);
1711
- const [n, i] = T(
1710
+ let r = (c) => (ee({ tab: c }), c);
1711
+ const [o, s] = N(
1712
1712
  Jt() || t && r(t) || j().tab
1713
1713
  );
1714
1714
  return W(() => {
1715
- const s = (c) => {
1716
- i(c);
1715
+ const c = (i) => {
1716
+ s(i);
1717
1717
  };
1718
- return xe({ tabs: s }), () => {
1719
- var c, d;
1720
- const p = Z();
1721
- if ((d = (c = p.ROUTER_PARAMS) == null ? void 0 : c.LISTENER) != null && d.tabs) {
1718
+ return xe({ tabs: c }), () => {
1719
+ var i, d;
1720
+ const p = Q();
1721
+ if ((d = (i = p.ROUTER_PARAMS) == null ? void 0 : i.LISTENER) != null && d.tabs) {
1722
1722
  const f = p.ROUTER_PARAMS.LISTENER.tabs;
1723
1723
  if (Array.isArray(f)) {
1724
- const m = f.indexOf(s);
1724
+ const m = f.indexOf(c);
1725
1725
  m > -1 && f.splice(m, 1);
1726
1726
  }
1727
1727
  }
1728
1728
  };
1729
- }, []), n;
1729
+ }, []), o;
1730
1730
  }
1731
1731
  async function Ur(t, r = !0) {
1732
- Q({ tab: t }), sessionStorage.setItem(
1732
+ ee({ tab: t }), sessionStorage.setItem(
1733
1733
  j().STORAGE,
1734
- pe.enCode(j())
1735
- ), r && (K().tabs && K().tabs(t));
1734
+ de.enCode(j())
1735
+ ), r && (G().tabs && G().tabs(t));
1736
1736
  }
1737
1737
  function Fr(t) {
1738
1738
  return j().tab === t;
1739
1739
  }
1740
1740
  function Wr(t) {
1741
1741
  if (typeof t != "function") {
1742
- const [r, n] = T(t || fr());
1742
+ const [r, o] = N(t || fr());
1743
1743
  return W(() => {
1744
- const i = (s) => {
1745
- n(s);
1744
+ const s = (c) => {
1745
+ o(c);
1746
1746
  };
1747
- return xe({ id: i }), () => {
1748
- const s = K();
1749
- s.id === i && delete s.id;
1747
+ return xe({ id: s }), () => {
1748
+ const c = G();
1749
+ c.id === s && delete c.id;
1750
1750
  };
1751
1751
  }, []), r;
1752
1752
  } else
1753
1753
  W(() => (xe({ id: t }), () => {
1754
- var r, n;
1755
- const i = Z();
1756
- if ((n = (r = i.ROUTER_PARAMS) == null ? void 0 : r.LISTENER) != null && n.id) {
1757
- const s = i.ROUTER_PARAMS.LISTENER.id;
1758
- if (Array.isArray(s)) {
1759
- const c = s.indexOf(t);
1760
- c > -1 && s.splice(c, 1);
1754
+ var r, o;
1755
+ const s = Q();
1756
+ if ((o = (r = s.ROUTER_PARAMS) == null ? void 0 : r.LISTENER) != null && o.id) {
1757
+ const c = s.ROUTER_PARAMS.LISTENER.id;
1758
+ if (Array.isArray(c)) {
1759
+ const i = c.indexOf(t);
1760
+ i > -1 && c.splice(i, 1);
1761
1761
  }
1762
1762
  }
1763
1763
  }), [t]);
@@ -1765,49 +1765,49 @@ function Wr(t) {
1765
1765
  function qr(t) {
1766
1766
  }
1767
1767
  async function Yr(t, r = !0) {
1768
- Q({ id: t }), sessionStorage.setItem(
1768
+ ee({ id: t }), sessionStorage.setItem(
1769
1769
  j().STORAGE,
1770
- pe.enCode(j())
1771
- ), r && K().id(t);
1770
+ de.enCode(j())
1771
+ ), r && G().id(t);
1772
1772
  }
1773
1773
  function zr(t) {
1774
1774
  return Number(j().id) === t;
1775
1775
  }
1776
1776
  async function Vr(t) {
1777
- var r, n, i, s, c, d, p, f;
1778
- const { page: m, module: h, tab: b, id: _ } = t;
1779
- m !== void 0 && (le.page = m), h !== void 0 && (le.module = h), b !== void 0 && (le.tab = b), _ !== void 0 && (le.id = _), Q({ ...le }), _ !== void 0 && ((n = (r = K()).id) == null || n.call(r, _)), b !== void 0 && ((s = (i = K()).tabs) == null || s.call(i, b)), h !== void 0 && ((d = (c = K()).module) == null || d.call(c, h)), m !== void 0 && ((f = (p = K()).page) == null || f.call(p, m)), sessionStorage.setItem(
1777
+ var r, o, s, c, i, d, p, f;
1778
+ const { page: m, module: v, tab: g, id: x } = t;
1779
+ m !== void 0 && (ce.page = m), v !== void 0 && (ce.module = v), g !== void 0 && (ce.tab = g), x !== void 0 && (ce.id = x), ee({ ...ce }), x !== void 0 && ((o = (r = G()).id) == null || o.call(r, x)), g !== void 0 && ((c = (s = G()).tabs) == null || c.call(s, g)), v !== void 0 && ((d = (i = G()).module) == null || d.call(i, v)), m !== void 0 && ((f = (p = G()).page) == null || f.call(p, m)), sessionStorage.setItem(
1780
1780
  j().STORAGE,
1781
- pe.enCode(j())
1781
+ de.enCode(j())
1782
1782
  );
1783
1783
  }
1784
- const Ce = {
1784
+ const Pe = {
1785
1785
  Reset() {
1786
- le.id = 0, le.tab = "", le.page = j().page, le.module = j().module;
1786
+ ce.id = 0, ce.tab = "", ce.page = j().page, ce.module = j().module;
1787
1787
  },
1788
1788
  Default({
1789
1789
  module: t = j().module,
1790
1790
  page: r = j().page,
1791
- auth: n = j().auth,
1792
- debug: i = j().debug,
1793
- dir: s = j().dir || ".",
1794
- importModules: c,
1791
+ auth: o = j().auth,
1792
+ debug: s = j().debug,
1793
+ dir: c = j().dir || ".",
1794
+ importModules: i,
1795
1795
  modules: d,
1796
1796
  pages: p,
1797
1797
  glob: f
1798
1798
  // Поддержка единого glob объекта для упрощения
1799
1799
  }) {
1800
- let m = c, h = d, b = p;
1801
- f ? (h = typeof d == "object" ? d : f, b = typeof p == "object" ? p : f) : (h = h || f, b = b || f), !m && (h || b) ? !f && (typeof h == "string" || typeof b == "string") ? m = zt({ basePath: s }) : m = er(
1802
- s,
1803
- h,
1804
- b
1805
- ) : m || (m = zt({ basePath: s })), Q({
1800
+ let m = i, v = d, g = p;
1801
+ f ? (v = typeof d == "object" ? d : f, g = typeof p == "object" ? p : f) : (v = v || f, g = g || f), !m && (v || g) ? !f && (typeof v == "string" || typeof g == "string") ? m = zt({ basePath: c }) : m = er(
1802
+ c,
1803
+ v,
1804
+ g
1805
+ ) : m || (m = zt({ basePath: c })), ee({
1806
1806
  page: r,
1807
1807
  module: t,
1808
- auth: n,
1809
- debug: i,
1810
- dir: s,
1808
+ auth: o,
1809
+ debug: s,
1810
+ dir: c,
1811
1811
  importModules: m
1812
1812
  }), Pr();
1813
1813
  },
@@ -1839,7 +1839,7 @@ const Ce = {
1839
1839
  isId: zr,
1840
1840
  // Навигация
1841
1841
  navigate: Vr
1842
- }, Jr = "_n_zlj3m_1", Hr = "_i_zlj3m_10", Kr = "_t_zlj3m_28", Gr = "_e_zlj3m_32", Xr = "_s_zlj3m_35", Zr = "_w_zlj3m_38", Qr = "_h_zlj3m_41", Se = {
1842
+ }, Jr = "_n_zlj3m_1", Hr = "_i_zlj3m_10", Kr = "_t_zlj3m_28", Gr = "_e_zlj3m_32", Xr = "_s_zlj3m_35", Zr = "_w_zlj3m_38", Qr = "_h_zlj3m_41", Re = {
1843
1843
  n: Jr,
1844
1844
  i: Hr,
1845
1845
  t: Kr,
@@ -1850,14 +1850,14 @@ const Ce = {
1850
1850
  };
1851
1851
  let pt = {};
1852
1852
  function en() {
1853
- const [t, r] = C.useState([]);
1854
- return pt.set = (n) => {
1855
- r([...t, n]);
1856
- }, pt.del = (n) => {
1857
- t.forEach((i, s) => {
1858
- i.key === n && t.splice(s, 1);
1853
+ const [t, r] = $.useState([]);
1854
+ return pt.set = (o) => {
1855
+ r([...t, o]);
1856
+ }, pt.del = (o) => {
1857
+ t.forEach((s, c) => {
1858
+ s.key === o && t.splice(c, 1);
1859
1859
  }), r(t);
1860
- }, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: Se.n, children: t.map((n) => n.item) });
1860
+ }, t.length === 0 ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsx("div", { className: Re.n, children: t.map((o) => o.item) });
1861
1861
  }
1862
1862
  function tn(t) {
1863
1863
  let r = (/* @__PURE__ */ new Date()).getTime();
@@ -1865,37 +1865,37 @@ function tn(t) {
1865
1865
  }
1866
1866
  function rn(t) {
1867
1867
  const r = t.data;
1868
- let [n] = C.useState("show"), [i, s] = C.useState(!1);
1869
- C.useEffect(() => {
1868
+ let [o] = $.useState("show"), [s, c] = $.useState(!1);
1869
+ $.useEffect(() => {
1870
1870
  setTimeout(function() {
1871
- s(!0), pt.del(r.key);
1871
+ c(!0), pt.del(r.key);
1872
1872
  }, 5e3);
1873
1873
  }, [r.key]);
1874
- let c;
1874
+ let i;
1875
1875
  switch (r.type) {
1876
1876
  case "error":
1877
- c = /* @__PURE__ */ l.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z" });
1877
+ i = /* @__PURE__ */ l.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z" });
1878
1878
  break;
1879
1879
  case "success":
1880
- c = /* @__PURE__ */ l.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z" });
1880
+ i = /* @__PURE__ */ l.jsx("path", { d: "M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z" });
1881
1881
  break;
1882
1882
  case "warning":
1883
- c = /* @__PURE__ */ l.jsx("path", { d: "M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z" });
1883
+ i = /* @__PURE__ */ l.jsx("path", { d: "M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z" });
1884
1884
  break;
1885
1885
  default:
1886
- c = "icon fa fa-exclamation-circle";
1886
+ i = "icon fa fa-exclamation-circle";
1887
1887
  break;
1888
1888
  }
1889
1889
  const d = {
1890
- error: Se.e,
1891
- success: Se.s,
1892
- warning: Se.w
1890
+ error: Re.e,
1891
+ success: Re.s,
1892
+ warning: Re.w
1893
1893
  };
1894
- return /* @__PURE__ */ l.jsx(l.Fragment, { children: i ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
1894
+ return /* @__PURE__ */ l.jsx(l.Fragment, { children: s ? /* @__PURE__ */ l.jsx(l.Fragment, {}) : /* @__PURE__ */ l.jsxs(
1895
1895
  "div",
1896
1896
  {
1897
- className: Se.i + d[r.type] + ` ${r.thema !== void 0 ? Se.h : ""}`,
1898
- "data-status": n,
1897
+ className: Re.i + d[r.type] + ` ${r.thema !== void 0 ? Re.h : ""}`,
1898
+ "data-status": o,
1899
1899
  children: [
1900
1900
  /* @__PURE__ */ l.jsx(
1901
1901
  "svg",
@@ -1907,15 +1907,15 @@ function rn(t) {
1907
1907
  width: "24",
1908
1908
  height: "24",
1909
1909
  viewBox: "0 0 24 24",
1910
- children: c
1910
+ children: i
1911
1911
  }
1912
1912
  ),
1913
- /* @__PURE__ */ l.jsx("span", { className: Se.t, children: r.text })
1913
+ /* @__PURE__ */ l.jsx("span", { className: Re.t, children: r.text })
1914
1914
  ]
1915
1915
  }
1916
1916
  ) });
1917
1917
  }
1918
- let Ee = {
1918
+ let Se = {
1919
1919
  Send: tn,
1920
1920
  Init: en
1921
1921
  };
@@ -1927,10 +1927,11 @@ const nn = "_d_1u25q_1", on = "_b_1u25q_21", an = "_o_1u25q_25", sn = "_m_1u25q_
1927
1927
  t: cn,
1928
1928
  a: ln,
1929
1929
  v: un
1930
- }, de = {
1930
+ }, K = {
1931
1931
  is: !1,
1932
1932
  MainButton: {},
1933
- BackButton: {}
1933
+ BackButton: {},
1934
+ styled: "default"
1934
1935
  };
1935
1936
  let B = {};
1936
1937
  B.dark = {
@@ -1979,49 +1980,49 @@ B.users = {
1979
1980
  "--tg-theme-button-text-color": "#000000",
1980
1981
  "--tg-theme-secondary-bg-color": "#000000"
1981
1982
  };
1982
- const fn = () => {
1983
+ const fn = ({ style: t = "default" }) => {
1983
1984
  if (location.hostname === "localhost") {
1984
- let [t, r] = T(!1), [n, i] = T(!1), [s, c] = T("dark"), [d, p] = T(!1), [f, m] = T(!1);
1985
- de.is = !0, de.MainButton.set = r, de.BackButton.set = i, W(() => {
1986
- var _;
1987
- B[s]["--tg-theme-bg-color-alpha"] = B[s]["--tg-theme-bg-color"] + "b3", B[s]["--tg-theme-secondary-bg-color-alpha"] = B[s]["--tg-theme-secondary-bg-color"] + "d3", B[s]["--tg-theme-bg-color-alpha-25"] = B[s]["--tg-theme-bg-color"] + "40", B[s]["--tg-theme-secondary-bg-color-alpha-25"] = B[s]["--tg-theme-secondary-bg-color"] + "40";
1988
- for (let A in B[s])
1985
+ let [r, o] = N(!1), [s, c] = N(!1), [i, d] = N("dark"), [p, f] = N(!1), [m, v] = N(!1);
1986
+ K.is = !0, K.MainButton.set = o, K.BackButton.set = c, K.styled = t, W(() => {
1987
+ var E;
1988
+ B[i]["--tg-theme-bg-color-alpha"] = B[i]["--tg-theme-bg-color"] + "b3", B[i]["--tg-theme-secondary-bg-color-alpha"] = B[i]["--tg-theme-secondary-bg-color"] + "d3", B[i]["--tg-theme-bg-color-alpha-25"] = B[i]["--tg-theme-bg-color"] + "40", B[i]["--tg-theme-secondary-bg-color-alpha-25"] = B[i]["--tg-theme-secondary-bg-color"] + "40";
1989
+ for (let P in B[i])
1989
1990
  document.documentElement.style.setProperty(
1990
- A,
1991
- B[s][A]
1991
+ P,
1992
+ B[i][P]
1992
1993
  );
1993
1994
  document.documentElement.setAttribute(
1994
1995
  "data-color-scheme",
1995
- B[s]["--tg-color-scheme"]
1996
- ), document.documentElement.style.setProperty(
1996
+ B[i]["--tg-color-scheme"]
1997
+ ), document.documentElement.setAttribute("data-style", t), document.documentElement.style.setProperty(
1997
1998
  "--tg-content-safe-area-inset-top",
1998
1999
  "0px"
1999
- ), ((_ = ce.safeAreaInset) == null ? void 0 : _.bottom) === 0 ? document.documentElement.style.setProperty(
2000
+ ), ((E = ie.safeAreaInset) == null ? void 0 : E.bottom) === 0 ? document.documentElement.style.setProperty(
2000
2001
  "--tg-safe-area-inset-bottom",
2001
2002
  "16px"
2002
- ) : ce.safeAreaInset || document.documentElement.style.setProperty(
2003
+ ) : ie.safeAreaInset || document.documentElement.style.setProperty(
2003
2004
  "--tg-safe-area-inset-bottom",
2004
2005
  "16px"
2005
2006
  );
2006
2007
  }, []);
2007
- let h = (_) => {
2008
- for (let A in B[_])
2009
- document.documentElement.style.setProperty(A, B[_][A]), document.documentElement.setAttribute(
2008
+ let g = (E) => {
2009
+ for (let P in B[E])
2010
+ document.documentElement.style.setProperty(P, B[E][P]), document.documentElement.setAttribute(
2010
2011
  "data-color-scheme",
2011
- _
2012
+ E
2012
2013
  );
2013
- c(_), p(!1);
2014
- }, b = () => {
2015
- p(!1), m(!0);
2014
+ d(E), f(!1);
2015
+ }, x = () => {
2016
+ f(!1), v(!0);
2016
2017
  };
2017
2018
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2018
2019
  /* @__PURE__ */ l.jsxs("div", { className: fe.d, children: [
2019
- n === !1 ? /* @__PURE__ */ l.jsx("div", { className: fe.b, children: "Отмена" }) : /* @__PURE__ */ l.jsx(
2020
+ s === !1 ? /* @__PURE__ */ l.jsx("div", { className: fe.b, children: "Отмена" }) : /* @__PURE__ */ l.jsx(
2020
2021
  "div",
2021
2022
  {
2022
2023
  onClick: () => {
2023
- var _;
2024
- n.page === void 0 ? (_ = n.callback) == null || _.call(n) : Ce.setPage(n.page);
2024
+ var E;
2025
+ s.page === void 0 ? (E = s.callback) == null || E.call(s) : Pe.setPage(s.page);
2025
2026
  },
2026
2027
  className: fe.b,
2027
2028
  children: "Назад"
@@ -2031,24 +2032,24 @@ const fn = () => {
2031
2032
  "div",
2032
2033
  {
2033
2034
  className: fe.o,
2034
- onClick: () => p(!d),
2035
+ onClick: () => f(!p),
2035
2036
  children: "Меню"
2036
2037
  }
2037
2038
  )
2038
2039
  ] }),
2039
- /* @__PURE__ */ l.jsx(Ee.Init, {}),
2040
- t && /* @__PURE__ */ l.jsx("div", { className: fe.m, children: /* @__PURE__ */ l.jsx(
2040
+ /* @__PURE__ */ l.jsx(Se.Init, {}),
2041
+ r && /* @__PURE__ */ l.jsx("div", { className: fe.m, children: /* @__PURE__ */ l.jsx(
2041
2042
  "button",
2042
2043
  {
2043
2044
  onClick: () => {
2044
- t.page && Ce.setPage(t.page), t.callback && t.callback();
2045
+ r.page && Pe.setPage(r.page), r.callback && r.callback();
2045
2046
  },
2046
- children: t.text
2047
+ children: r.text
2047
2048
  }
2048
2049
  ) }),
2049
- d ? /* @__PURE__ */ l.jsxs("div", { className: fe.t, children: [
2050
+ p ? /* @__PURE__ */ l.jsxs("div", { className: fe.t, children: [
2050
2051
  /* @__PURE__ */ l.jsxs("ul", { children: [
2051
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: b, children: "Authorization" }) }),
2052
+ /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: x, children: "Authorization" }) }),
2052
2053
  /* @__PURE__ */ l.jsx("li", {})
2053
2054
  ] }),
2054
2055
  /* @__PURE__ */ l.jsxs("ul", { children: [
@@ -2058,123 +2059,123 @@ const fn = () => {
2058
2059
  /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
2059
2060
  "button",
2060
2061
  {
2061
- onClick: () => h("dark"),
2062
+ onClick: () => g("dark"),
2062
2063
  children: "Dark"
2063
2064
  }
2064
2065
  ) }),
2065
2066
  /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
2066
2067
  "button",
2067
2068
  {
2068
- onClick: () => h("light"),
2069
+ onClick: () => g("light"),
2069
2070
  children: "Light"
2070
2071
  }
2071
2072
  ) }),
2072
2073
  /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx(
2073
2074
  "button",
2074
2075
  {
2075
- onClick: () => h("users"),
2076
+ onClick: () => g("users"),
2076
2077
  children: "Users"
2077
2078
  }
2078
2079
  ) })
2079
2080
  ] })
2080
2081
  ] }),
2081
- /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => p(!d), children: "Closed" }) })
2082
+ /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx("button", { onClick: () => f(!p), children: "Closed" }) })
2082
2083
  ] })
2083
2084
  ] }) : "",
2084
- f ? /* @__PURE__ */ l.jsx(dn, { setAuthorization: m }) : ""
2085
+ m ? /* @__PURE__ */ l.jsx(dn, { setAuthorization: v }) : ""
2085
2086
  ] });
2086
2087
  } else
2087
- return W(() => {
2088
- var t;
2088
+ return K.styled = t, W(() => {
2089
+ var r;
2089
2090
  document.documentElement.style.setProperty(
2090
2091
  "--tg-theme-secondary-bg-color-alpha",
2091
- ce.themeParams.secondary_bg_color + "d3"
2092
+ ie.themeParams.secondary_bg_color + "d3"
2092
2093
  ), document.documentElement.style.setProperty(
2093
2094
  "--tg-theme-bg-color-alpha",
2094
- ce.themeParams.bg_color + "b3"
2095
- ), ((t = ce.safeAreaInset) == null ? void 0 : t.bottom) === 0 ? document.documentElement.style.setProperty(
2095
+ ie.themeParams.bg_color + "b3"
2096
+ ), ((r = ie.safeAreaInset) == null ? void 0 : r.bottom) === 0 ? document.documentElement.style.setProperty(
2096
2097
  "--tg-safe-area-inset-bottom",
2097
2098
  "16px"
2098
- ) : ce.safeAreaInset || document.documentElement.style.setProperty(
2099
+ ) : ie.safeAreaInset || document.documentElement.style.setProperty(
2099
2100
  "--tg-safe-area-inset-bottom",
2100
2101
  "16px"
2101
2102
  ), document.documentElement.setAttribute(
2102
2103
  "data-color-scheme",
2103
- ce.colorScheme
2104
- );
2105
- }, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(Ee.Init, {}) });
2104
+ ie.colorScheme
2105
+ ), document.documentElement.setAttribute("data-style", t);
2106
+ }, []), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(Se.Init, {}) });
2106
2107
  }, dn = ({ setAuthorization: t }) => {
2107
- let r = {}, n = () => {
2108
+ let r = {}, o = () => {
2108
2109
  localStorage.setItem("auth", r);
2109
2110
  };
2110
2111
  return /* @__PURE__ */ l.jsx("div", { className: fe.a, children: /* @__PURE__ */ l.jsxs("div", { className: fe.v, children: [
2111
2112
  /* @__PURE__ */ l.jsx("fieldset", {}),
2112
- /* @__PURE__ */ l.jsx("div", { onClick: n, children: " Сохранить " })
2113
+ /* @__PURE__ */ l.jsx("div", { onClick: o, children: " Сохранить " })
2113
2114
  ] }) });
2114
2115
  }, pn = "_p_1axqy_1", vn = "_s_1axqy_17", tr = {
2115
2116
  p: pn,
2116
2117
  s: vn
2117
- }, hn = ({ className: t, children: r, isScroll: n = !0 }) => /* @__PURE__ */ l.jsx(
2118
+ }, hn = ({ className: t, children: r, isScroll: o = !0 }) => /* @__PURE__ */ l.jsx(
2118
2119
  "div",
2119
2120
  {
2120
- className: [tr.p, n && tr.s, t].filter((i) => i !== void 0).join(" "),
2121
+ className: [tr.p, o && tr.s, t].filter((s) => s !== void 0).join(" "),
2121
2122
  children: r
2122
2123
  }
2123
- ), mn = "_l_gfyud_1", gn = {
2124
+ ), mn = "_l_gfyud_1", bn = {
2124
2125
  l: mn
2125
- }, bn = ({ children: t, className: r }) => /* @__PURE__ */ l.jsx(
2126
+ }, gn = ({ children: t, className: r }) => /* @__PURE__ */ l.jsx(
2126
2127
  "div",
2127
2128
  {
2128
- className: [gn.l, r].filter((n) => n !== void 0).join(" "),
2129
+ className: [bn.l, r].filter((o) => o !== void 0).join(" "),
2129
2130
  children: t
2130
2131
  }
2131
- ), yn = "_q_z5mg9_2", _n = "_m_z5mg9_8", Rn = "_g_z5mg9_15", Sn = "_i_z5mg9_23", En = "_c_z5mg9_40", xn = "_l_z5mg9_47", An = "_a_z5mg9_62", jn = "_n_z5mg9_68", ue = {
2132
+ ), yn = "_q_z5mg9_2", _n = "_m_z5mg9_8", Rn = "_g_z5mg9_15", Sn = "_i_z5mg9_23", xn = "_c_z5mg9_40", En = "_l_z5mg9_47", An = "_a_z5mg9_62", jn = "_n_z5mg9_68", le = {
2132
2133
  q: yn,
2133
2134
  m: _n,
2134
2135
  g: Rn,
2135
2136
  i: Sn,
2136
- c: En,
2137
- l: xn,
2137
+ c: xn,
2138
+ l: En,
2138
2139
  a: An,
2139
2140
  n: jn
2140
2141
  }, kn = ({ items: t, style: r }) => {
2141
- const n = (s) => {
2142
- Ce.setPage(s);
2143
- }, i = (s) => {
2144
- ce.openTelegramLink(s);
2142
+ const o = (c) => {
2143
+ Pe.setPage(c);
2144
+ }, s = (c) => {
2145
+ ie.openTelegramLink(c);
2145
2146
  };
2146
2147
  return /* @__PURE__ */ l.jsx(
2147
2148
  "div",
2148
2149
  {
2149
- className: G(
2150
- ue[r === "liquid-glass" ? "q" : ""],
2151
- ue.m
2150
+ className: X(
2151
+ le[r === "liquid-glass" ? "q" : ""],
2152
+ le.m
2152
2153
  ),
2153
- children: t.map((s) => /* @__PURE__ */ l.jsx("div", { className: ue.g, children: s.items.map((c, d) => /* @__PURE__ */ l.jsxs(
2154
+ children: t.map((c) => /* @__PURE__ */ l.jsx("div", { className: le.g, children: c.items.map((i, d) => /* @__PURE__ */ l.jsxs(
2154
2155
  "div",
2155
2156
  {
2156
- className: ue.i,
2157
+ className: le.i,
2157
2158
  onClick: () => {
2158
- c.link && i(c.link), c.page && n(c.page), c.callback && c.callback();
2159
+ i.link && s(i.link), i.page && o(i.page), i.callback && i.callback();
2159
2160
  },
2160
2161
  children: [
2161
- /* @__PURE__ */ l.jsxs("div", { className: ue.c, children: [
2162
+ /* @__PURE__ */ l.jsxs("div", { className: le.c, children: [
2162
2163
  /* @__PURE__ */ l.jsx(
2163
2164
  "span",
2164
2165
  {
2165
- className: ue.l,
2166
- style: { background: c.color },
2167
- children: c.icon
2166
+ className: le.l,
2167
+ style: { background: i.color },
2168
+ children: i.icon
2168
2169
  }
2169
2170
  ),
2170
- c.title,
2171
- c.count && /* @__PURE__ */ l.jsx("span", { className: ue.n, children: c.count })
2171
+ i.title,
2172
+ i.count && /* @__PURE__ */ l.jsx("span", { className: le.n, children: i.count })
2172
2173
  ] }),
2173
- /* @__PURE__ */ l.jsx("span", { className: ue.a, children: "›" })
2174
+ /* @__PURE__ */ l.jsx("span", { className: le.a, children: "›" })
2174
2175
  ]
2175
2176
  },
2176
2177
  d
2177
- )) }, s.id))
2178
+ )) }, c.id))
2178
2179
  }
2179
2180
  );
2180
2181
  }, wn = "_o_8ho2f_3", On = "_m_8ho2f_14", Pn = "_l_8ho2f_28", Cn = "_r_8ho2f_33", Tn = "_x_8ho2f_38", $n = "_h_8ho2f_42", Nn = "_c_8ho2f_57", Mn = "_u_8ho2f_72", se = {
@@ -2190,36 +2191,36 @@ const fn = () => {
2190
2191
  function Bn({
2191
2192
  children: t,
2192
2193
  icon: r,
2193
- iconBadge: n = 0,
2194
- title: i,
2195
- className: s,
2196
- view: c = "list",
2194
+ iconBadge: o = 0,
2195
+ title: s,
2196
+ className: c,
2197
+ view: i = "list",
2197
2198
  position: d = "left",
2198
2199
  name: p = "default"
2199
2200
  }) {
2200
- const [f, m] = T(!1), [h, b] = T(
2201
+ const [f, m] = N(!1), [v, g] = N(
2201
2202
  null
2202
2203
  );
2203
2204
  W(() => {
2204
- let A = document.querySelector(".p_sb");
2205
- return A || (A = document.createElement("div"), A.className = "_p_sb", document.body.appendChild(A)), b(A), ut[p] = (I) => m(I), () => {
2206
- A && A.parentNode && A.parentNode.removeChild(A);
2205
+ let E = document.querySelector(".p_sb");
2206
+ return E || (E = document.createElement("div"), E.className = "_p_sb", document.body.appendChild(E)), g(E), ut[p] = (P) => m(P), () => {
2207
+ E && E.parentNode && E.parentNode.removeChild(E);
2207
2208
  };
2208
2209
  }, []);
2209
- const _ = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2210
+ const x = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2210
2211
  f && /* @__PURE__ */ l.jsx("div", { className: se.o, onClick: () => m(!1) }),
2211
2212
  /* @__PURE__ */ l.jsxs(
2212
2213
  "div",
2213
2214
  {
2214
- className: G(
2215
+ className: X(
2215
2216
  se.m,
2216
2217
  d === "left" ? se.l : se.r,
2217
2218
  f && se.x,
2218
- s
2219
+ c
2219
2220
  ),
2220
2221
  children: [
2221
2222
  /* @__PURE__ */ l.jsxs("div", { className: se.h, children: [
2222
- i && /* @__PURE__ */ l.jsx("h3", { className: se.t, children: i }),
2223
+ s && /* @__PURE__ */ l.jsx("h3", { className: se.t, children: s }),
2223
2224
  /* @__PURE__ */ l.jsxs(
2224
2225
  "svg",
2225
2226
  {
@@ -2241,7 +2242,7 @@ function Bn({
2241
2242
  }
2242
2243
  )
2243
2244
  ] }),
2244
- /* @__PURE__ */ l.jsx("div", { className: se.c, children: c === "list" ? /* @__PURE__ */ l.jsx("ul", { className: se.u, children: t }) : t })
2245
+ /* @__PURE__ */ l.jsx("div", { className: se.c, children: i === "list" ? /* @__PURE__ */ l.jsx("ul", { className: se.u, children: t }) : t })
2245
2246
  ]
2246
2247
  }
2247
2248
  )
@@ -2252,17 +2253,17 @@ function Bn({
2252
2253
  {
2253
2254
  onClick: () => m(!0),
2254
2255
  className: "bage",
2255
- "data-count": n,
2256
+ "data-count": o,
2256
2257
  children: r
2257
2258
  }
2258
2259
  ),
2259
- h && pr(_, h)
2260
+ v && pr(x, v)
2260
2261
  ] });
2261
2262
  }
2262
2263
  const In = (t, r) => {
2263
- var n;
2264
- (n = ut[t]) == null || n.call(ut, r);
2265
- }, Ln = "_h_1l02r_2", Dn = "_r_1l02r_59", Un = "_c_1l02r_62", Fn = "_x_1l02r_65", Wn = "_b_1l02r_69", qn = "_a_1l02r_107", Yn = "_draw_1l02r_1", zn = "_scaleToggleVar_1l02r_1", Pe = {
2264
+ var o;
2265
+ (o = ut[t]) == null || o.call(ut, r);
2266
+ }, Ln = "_h_1r111_2", Dn = "_r_1r111_38", Un = "_c_1r111_41", Fn = "_x_1r111_44", Wn = "_b_1r111_48", qn = "_a_1r111_86", Yn = "_draw_1r111_1", zn = "_scaleToggleVar_1r111_1", Oe = {
2266
2267
  h: Ln,
2267
2268
  r: Dn,
2268
2269
  c: Un,
@@ -2276,78 +2277,76 @@ const In = (t, r) => {
2276
2277
  }, Hn = ({ className: t, value: r }) => /* @__PURE__ */ l.jsx(
2277
2278
  "div",
2278
2279
  {
2279
- className: [Jn.b, t].filter((n) => n !== void 0).join(" "),
2280
+ className: [Jn.b, t].filter((o) => o !== void 0).join(" "),
2280
2281
  children: r
2281
2282
  }
2282
- ), rr = (t, r) => t.findIndex((n) => (n == null ? void 0 : n.page) === r), Kn = ({
2283
+ ), rr = (t, r) => t.findIndex((o) => (o == null ? void 0 : o.page) === r), Kn = ({
2283
2284
  actions: t,
2284
2285
  children: r,
2285
- className: n,
2286
- actual: i,
2287
- toHide: s = !1,
2288
- page: c,
2289
- style: d = "default",
2290
- onPageChange: p,
2291
- direction: f = "row"
2286
+ className: o,
2287
+ actual: s,
2288
+ toHide: c = !1,
2289
+ page: i,
2290
+ onPageChange: d,
2291
+ direction: p = "row"
2292
2292
  }) => {
2293
- const [m, h] = C.useState(null), [b, _] = C.useState(
2294
- c ? rr(t || [], c) : 0
2295
- ), [A, I] = C.useState(
2293
+ const [f, m] = $.useState(null), [v, g] = $.useState(
2294
+ i ? rr(t || [], i) : 0
2295
+ ), [x, E] = $.useState(
2296
2296
  "right"
2297
- ), ee = C.useRef(b);
2298
- C.useEffect(() => {
2299
- if (c) {
2300
- const V = rr(t || [], c);
2301
- V !== -1 && V !== ee.current && (ee.current = V, _(V));
2302
- }
2303
- }, [c, t]), C.useEffect(() => {
2304
- ee.current !== b && (I(
2305
- b > ee.current ? "left" : "right"
2306
- ), ee.current = b);
2307
- }, [b]), W(() => {
2308
- if (!s)
2297
+ ), P = $.useRef(v);
2298
+ $.useEffect(() => {
2299
+ if (i) {
2300
+ const V = rr(t || [], i);
2301
+ V !== -1 && V !== P.current && (P.current = V, g(V));
2302
+ }
2303
+ }, [i, t]), $.useEffect(() => {
2304
+ P.current !== v && (E(
2305
+ v > P.current ? "left" : "right"
2306
+ ), P.current = v);
2307
+ }, [v]), W(() => {
2308
+ if (!c)
2309
2309
  return;
2310
- const V = document.querySelectorAll("[contenteditable]"), ke = () => {
2311
- const $ = document.querySelector("footer");
2312
- $ && $.classList.remove(Pe.x);
2313
- }, we = () => {
2314
- const $ = document.querySelector("footer");
2315
- $ && $.classList.add(Pe.x);
2310
+ const V = document.querySelectorAll("[contenteditable]"), je = () => {
2311
+ const I = document.querySelector("footer");
2312
+ I && I.classList.remove(Oe.x);
2313
+ }, ke = () => {
2314
+ const I = document.querySelector("footer");
2315
+ I && I.classList.add(Oe.x);
2316
2316
  };
2317
- return V.forEach(($) => {
2318
- $.addEventListener("focus", we, !0), $.addEventListener("blur", ke, !0);
2317
+ return V.forEach((I) => {
2318
+ I.addEventListener("focus", ke, !0), I.addEventListener("blur", je, !0);
2319
2319
  }), () => {
2320
- V.forEach(($) => {
2321
- $.removeEventListener("focus", we, !0), $.removeEventListener("blur", ke, !0);
2320
+ V.forEach((I) => {
2321
+ I.removeEventListener("focus", ke, !0), I.removeEventListener("blur", je, !0);
2322
2322
  });
2323
2323
  };
2324
2324
  }, []);
2325
- const [Te, M] = C.useState(!1), x = C.useRef(null), Ae = () => {
2326
- x.current && (clearTimeout(x.current), x.current = null), M(!0);
2327
- }, je = () => {
2325
+ const [Ce, Ee] = $.useState(!1), T = $.useRef(null), A = () => {
2326
+ T.current && (clearTimeout(T.current), T.current = null), Ee(!0);
2327
+ }, Ae = () => {
2328
2328
  requestAnimationFrame(() => {
2329
- x.current = setTimeout(() => {
2330
- M(!1), x.current = null;
2329
+ T.current = setTimeout(() => {
2330
+ Ee(!1), T.current = null;
2331
2331
  }, 50);
2332
2332
  });
2333
2333
  };
2334
- C.useEffect(() => () => {
2335
- x.current && clearTimeout(x.current);
2334
+ $.useEffect(() => () => {
2335
+ T.current && clearTimeout(T.current);
2336
2336
  }, []);
2337
2337
  const te = {};
2338
- return d === "liquid-glass" && (te.onMouseDown = Ae, te.onMouseUp = je, te.onTouchStart = Ae, te.onTouchEnd = je), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2339
- m,
2338
+ return K.styled === "liquid-glass" && (te.onMouseDown = A, te.onMouseUp = Ae, te.onTouchStart = A, te.onTouchEnd = Ae), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2339
+ f,
2340
2340
  /* @__PURE__ */ l.jsxs(
2341
2341
  "footer",
2342
2342
  {
2343
- "data-direction": A,
2344
- "data-style": d,
2345
- "data-scale": Te ? "true" : "false",
2343
+ "data-direction": x,
2344
+ "data-scale": Ce ? "true" : "false",
2346
2345
  ...te,
2347
- className: G(
2348
- Pe.h,
2349
- Pe[f === "row" ? "r" : "c"],
2350
- n
2346
+ className: X(
2347
+ Oe.h,
2348
+ Oe[p === "row" ? "r" : "c"],
2349
+ o
2351
2350
  ),
2352
2351
  children: [
2353
2352
  r,
@@ -2355,11 +2354,11 @@ const In = (t, r) => {
2355
2354
  Gn,
2356
2355
  {
2357
2356
  actions: t,
2358
- activeIndex: b,
2359
- setActiveIndex: _,
2360
- onPageChange: p,
2361
- setComponent: h,
2362
- actual: i
2357
+ activeIndex: v,
2358
+ setActiveIndex: g,
2359
+ onPageChange: d,
2360
+ setComponent: m,
2361
+ actual: s
2363
2362
  }
2364
2363
  )
2365
2364
  ]
@@ -2369,17 +2368,17 @@ const In = (t, r) => {
2369
2368
  }, Gn = ({
2370
2369
  actions: t,
2371
2370
  activeIndex: r,
2372
- setActiveIndex: n,
2373
- onPageChange: i,
2374
- setComponent: s,
2375
- actual: c
2376
- }) => /* @__PURE__ */ l.jsxs("div", { className: Pe.b, children: [
2371
+ setActiveIndex: o,
2372
+ onPageChange: s,
2373
+ setComponent: c,
2374
+ actual: i
2375
+ }) => /* @__PURE__ */ l.jsxs("div", { className: Oe.b, children: [
2377
2376
  t.map((d, p) => /* @__PURE__ */ l.jsxs(
2378
2377
  "div",
2379
2378
  {
2380
2379
  "data-active": r === p ? "true" : "false",
2381
2380
  onClick: () => {
2382
- d.page && (n(p), i == null || i(d.page)), d.onClick && d.onClick(() => n(p)), d.component && (r === p || (s(d.component), n(p)));
2381
+ d.page && (o(p), s == null || s(d.page)), d.onClick && d.onClick(() => o(p)), d.component && (r === p || (c(d.component), o(p)));
2383
2382
  },
2384
2383
  children: [
2385
2384
  d.icon,
@@ -2389,10 +2388,10 @@ const In = (t, r) => {
2389
2388
  },
2390
2389
  p
2391
2390
  )),
2392
- c && /* @__PURE__ */ l.jsx(
2391
+ i && /* @__PURE__ */ l.jsx(
2393
2392
  "div",
2394
2393
  {
2395
- className: Pe.a,
2394
+ className: Oe.a,
2396
2395
  style: {
2397
2396
  "--count-options": t.length,
2398
2397
  "--tab-bar-actual-index": r
@@ -2405,11 +2404,11 @@ const In = (t, r) => {
2405
2404
  function Qn({
2406
2405
  children: t,
2407
2406
  className: r,
2408
- text: n
2407
+ text: o
2409
2408
  }) {
2410
- return /* @__PURE__ */ l.jsxs("div", { className: G(Zn.a, r), children: [
2409
+ return /* @__PURE__ */ l.jsxs("div", { className: X(Zn.a, r), children: [
2411
2410
  t,
2412
- n && /* @__PURE__ */ l.jsx("b", { children: n })
2411
+ o && /* @__PURE__ */ l.jsx("b", { children: o })
2413
2412
  ] });
2414
2413
  }
2415
2414
  const eo = "_w_yx04q_3", to = "_v_yx04q_24", ro = "_s_yx04q_34", no = "_n_yx04q_38", it = {
@@ -2421,17 +2420,17 @@ const eo = "_w_yx04q_3", to = "_v_yx04q_24", ro = "_s_yx04q_34", no = "_n_yx04q_
2421
2420
  function oo({
2422
2421
  children: t,
2423
2422
  name: r,
2424
- onClose: n,
2425
- isOpen: i,
2426
- isScroll: s = !0,
2427
- nextBackButton: c
2423
+ onClose: o,
2424
+ isOpen: s,
2425
+ isScroll: c = !0,
2426
+ nextBackButton: i
2428
2427
  }) {
2429
- const [d, p] = T(!1);
2428
+ const [d, p] = N(!1);
2430
2429
  return W(() => {
2431
- if (!i) return;
2432
- const f = c === void 0 ? jo().pop() : c, m = () => {
2430
+ if (!s) return;
2431
+ const f = i === void 0 ? Ao().pop() : i, m = () => {
2433
2432
  p(!1), setTimeout(() => {
2434
- nr(f || !1), n == null || n();
2433
+ nr(f || !1), o == null || o();
2435
2434
  }, 300);
2436
2435
  };
2437
2436
  Vt[r] = {
@@ -2442,19 +2441,19 @@ function oo({
2442
2441
  }, nr({
2443
2442
  callback: m
2444
2443
  });
2445
- const h = setTimeout(() => {
2444
+ const v = setTimeout(() => {
2446
2445
  p(!0);
2447
2446
  }, 10);
2448
2447
  return () => {
2449
- clearTimeout(h);
2448
+ clearTimeout(v);
2450
2449
  };
2451
- }, [i]), i ? /* @__PURE__ */ l.jsxs(
2450
+ }, [s]), s ? /* @__PURE__ */ l.jsxs(
2452
2451
  "div",
2453
2452
  {
2454
- className: G(
2453
+ className: X(
2455
2454
  it.w,
2456
2455
  d && it.v,
2457
- s && it.s
2456
+ c && it.s
2458
2457
  ),
2459
2458
  children: [
2460
2459
  /* @__PURE__ */ l.jsx("div", { className: it.n }),
@@ -2464,9 +2463,9 @@ function oo({
2464
2463
  ) : "";
2465
2464
  }
2466
2465
  const ao = (t, r) => {
2467
- var n, i;
2468
- r ? (n = Vt[t]) == null || n.onOpen() : (i = Vt[t]) == null || i.onClose();
2469
- }, so = "_s_q79m4_3", io = "_n_q79m4_14", co = "_b_q79m4_19", lo = "_f_q79m4_29", ct = {
2466
+ var o, s;
2467
+ r ? (o = Vt[t]) == null || o.onOpen() : (s = Vt[t]) == null || s.onClose();
2468
+ }, so = "_s_e1l4x_3", io = "_n_e1l4x_14", co = "_b_e1l4x_19", lo = "_f_e1l4x_29", ct = {
2470
2469
  s: so,
2471
2470
  n: io,
2472
2471
  b: co,
@@ -2475,20 +2474,20 @@ const ao = (t, r) => {
2475
2474
  function uo({
2476
2475
  className: t,
2477
2476
  children: r,
2478
- onScrollEnd: n,
2479
- offset: i = 100,
2480
- isLoading: s,
2481
- fullscreen: c = !1,
2477
+ onScrollEnd: o,
2478
+ offset: s = 100,
2479
+ isLoading: c,
2480
+ fullscreen: i = !1,
2482
2481
  isScrollBar: d = !1
2483
2482
  }) {
2484
- const [p, f] = T(s || !1);
2483
+ const [p, f] = N(c || !1);
2485
2484
  W(() => {
2486
- f(s || !1);
2487
- }, [s]);
2485
+ f(c || !1);
2486
+ }, [c]);
2488
2487
  let m = {
2489
- onScroll: (h) => {
2490
- const { scrollTop: b, scrollHeight: _, clientHeight: A } = h.currentTarget;
2491
- b + A >= _ - i && !p && (f(!0), n == null || n());
2488
+ onScroll: (v) => {
2489
+ const { scrollTop: g, scrollHeight: x, clientHeight: E } = v.currentTarget;
2490
+ g + E >= x - s && !p && (f(!0), o == null || o());
2492
2491
  }
2493
2492
  };
2494
2493
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
@@ -2497,10 +2496,10 @@ function uo({
2497
2496
  "div",
2498
2497
  {
2499
2498
  ...m,
2500
- className: G(
2499
+ className: X(
2501
2500
  ct.s,
2502
2501
  !d && ct.n,
2503
- c && ct.f,
2502
+ i && ct.f,
2504
2503
  t
2505
2504
  ),
2506
2505
  children: r
@@ -2517,74 +2516,71 @@ const fo = "_a_prp23_1", po = "_l_prp23_13", vo = "_r_prp23_16", ho = "_b_prp23_
2517
2516
  function mo({
2518
2517
  children: t,
2519
2518
  className: r,
2520
- position: n = "center",
2521
- title: i
2519
+ position: o = "center",
2520
+ title: s
2522
2521
  }) {
2523
- let s = "";
2524
- return n === "left" ? s = lt.l : n === "right" ? s = lt.r : n === "between" && (s = lt.b), /* @__PURE__ */ l.jsxs("div", { className: G(lt.a, s, r), children: [
2522
+ let c = "";
2523
+ return o === "left" ? c = lt.l : o === "right" ? c = lt.r : o === "between" && (c = lt.b), /* @__PURE__ */ l.jsxs("div", { className: X(lt.a, c, r), children: [
2525
2524
  t,
2526
- i && /* @__PURE__ */ l.jsx("b", { children: i })
2525
+ s && /* @__PURE__ */ l.jsx("b", { children: s })
2527
2526
  ] });
2528
2527
  }
2529
- const go = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_29", Ro = "_p_1wgf4_34", So = "_f_1wgf4_50", Eo = "_h_1wgf4_58", xo = "_b_1wgf4_75", ie = {
2530
- q: go,
2528
+ const bo = "_o_xdy5u_2", go = "_x_xdy5u_16", yo = "_c_xdy5u_20", _o = "_p_xdy5u_25", Ro = "_f_xdy5u_41", So = "_h_xdy5u_49", xo = "_b_xdy5u_66", ue = {
2531
2529
  o: bo,
2532
- x: yo,
2533
- c: _o,
2534
- p: Ro,
2535
- f: So,
2536
- h: Eo,
2530
+ x: go,
2531
+ c: yo,
2532
+ p: _o,
2533
+ f: Ro,
2534
+ h: So,
2537
2535
  b: xo
2538
- }, X = {}, dr = ({
2536
+ }, Z = {}, dr = ({
2539
2537
  children: t,
2540
2538
  title: r,
2541
- isOverlay: n = !0,
2542
- footer: i = !0,
2543
- className: s,
2544
- name: c,
2545
- style: d = "default",
2546
- onOpen: p
2539
+ isOverlay: o = !0,
2540
+ footer: s = !0,
2541
+ className: c,
2542
+ name: i,
2543
+ onOpen: d
2547
2544
  }) => {
2548
- const [f, m] = C.useState(!1), [h, b] = C.useState(!1);
2549
- return C.useEffect(() => {
2550
- X[c] = (_) => {
2551
- _ ? (b(!1), m(!0), p == null || p(!0)) : (b(!0), p == null || p(!1), setTimeout(() => {
2552
- m(!1), b(!1);
2545
+ const [p, f] = $.useState(!1), [m, v] = $.useState(!1);
2546
+ return $.useEffect(() => {
2547
+ Z[i] = (g) => {
2548
+ g ? (v(!1), f(!0), d == null || d(!0)) : (v(!0), d == null || d(!1), setTimeout(() => {
2549
+ f(!1), v(!1);
2553
2550
  }, 300));
2554
2551
  };
2555
- }, [c, p]), !f && !h ? null : /* @__PURE__ */ l.jsx(
2552
+ }, [i, d]), !p && !m ? null : /* @__PURE__ */ l.jsx(
2556
2553
  "div",
2557
2554
  {
2558
- className: G(
2559
- d === "liquid-glass" && ie.q,
2560
- ie.o,
2561
- n && ie.x,
2562
- h && ie.c
2555
+ className: X(
2556
+ ue.o,
2557
+ o && ue.x,
2558
+ m && ue.c
2563
2559
  ),
2564
2560
  onClick: () => {
2565
- var _;
2566
- return (_ = X[c]) == null ? void 0 : _.call(X, !1);
2561
+ var g;
2562
+ return (g = Z[i]) == null ? void 0 : g.call(Z, !1);
2567
2563
  },
2568
2564
  children: /* @__PURE__ */ l.jsxs(
2569
2565
  "div",
2570
2566
  {
2571
- className: G(
2572
- ie.p,
2573
- h && ie.c,
2574
- i && ie.f,
2575
- s
2567
+ className: X(
2568
+ ue.p,
2569
+ m && ue.c,
2570
+ s && ue.f,
2571
+ c
2576
2572
  ),
2577
- onClick: (_) => _.stopPropagation(),
2573
+ onClick: (g) => g.stopPropagation(),
2578
2574
  children: [
2579
- r && /* @__PURE__ */ l.jsxs("div", { className: ie.h, children: [
2575
+ r && /* @__PURE__ */ l.jsxs("div", { className: ue.h, children: [
2580
2576
  /* @__PURE__ */ l.jsx("h3", { children: r }),
2581
2577
  /* @__PURE__ */ l.jsx(
2582
2578
  "button",
2583
2579
  {
2584
- className: ie.b,
2580
+ className: ue.b,
2585
2581
  onClick: () => {
2586
- var _;
2587
- return (_ = X[c]) == null ? void 0 : _.call(X, !1);
2582
+ var g;
2583
+ return (g = Z[i]) == null ? void 0 : g.call(Z, !1);
2588
2584
  },
2589
2585
  children: "✕"
2590
2586
  }
@@ -2596,102 +2592,102 @@ const go = "_q_1wgf4_2", bo = "_o_1wgf4_11", yo = "_x_1wgf4_25", _o = "_c_1wgf4_
2596
2592
  )
2597
2593
  }
2598
2594
  );
2599
- }, Ao = (t, r) => {
2600
- var n;
2601
- (n = X[t]) == null || n.call(X, r);
2595
+ }, Eo = (t, r) => {
2596
+ var o;
2597
+ (o = Z[t]) == null || o.call(Z, r);
2602
2598
  }, U = {
2603
2599
  state: [!1],
2604
2600
  listen: [],
2605
2601
  prev: {},
2606
2602
  router: (t) => {
2607
2603
  t === !1 ? (O.WebApp.BackButton.isVisible = !1, O.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.state.length !== 1 && U.state.pop()) : (O.WebApp.BackButton.isVisible = !0, O.WebApp.BackButton.offClick(U.listen[0]), U.listen.shift(), U.listen.push(() => {
2608
- var n;
2604
+ var o;
2609
2605
  let r = U.state.pop();
2610
- U.prev = Ce.getPage(), r.page !== void 0 ? Ce.setPage(r.page) : (n = r.callback) == null || n.call(r);
2611
- }), ce.BackButton.onClick(U.listen[0]));
2606
+ U.prev = Pe.getPage(), r.page !== void 0 ? Pe.setPage(r.page) : (o = r.callback) == null || o.call(r);
2607
+ }), ie.BackButton.onClick(U.listen[0]));
2612
2608
  }
2613
- }, G = (...t) => t.filter((r) => r !== void 0 && r !== !1 && r !== null && r !== "").join(" ");
2609
+ }, X = (...t) => t.filter((r) => r !== void 0 && r !== !1 && r !== null && r !== "").join(" ");
2614
2610
  var O;
2615
2611
  ((t) => {
2616
2612
  var r;
2617
2613
  t.WebApp = typeof window < "u" && ((r = window.Telegram) == null ? void 0 : r.WebApp) || {}, t.getUser = () => {
2618
- var n;
2619
- return ((n = t.WebApp.initDataUnsafe) == null ? void 0 : n.user) === void 0 ? {} : t.WebApp.initDataUnsafe;
2620
- }, t.Location = (n) => {
2621
- if (de.is)
2622
- return n({ latitude: 55.752555, longitude: 37.623123 });
2623
- let i = () => {
2624
- t.WebApp.LocationManager.getLocation(async (s) => {
2625
- if (!s) {
2614
+ var o;
2615
+ return ((o = t.WebApp.initDataUnsafe) == null ? void 0 : o.user) === void 0 ? {} : t.WebApp.initDataUnsafe;
2616
+ }, t.Location = (o) => {
2617
+ if (K.is)
2618
+ return o({ latitude: 55.752555, longitude: 37.623123 });
2619
+ let s = () => {
2620
+ t.WebApp.LocationManager.getLocation(async (c) => {
2621
+ if (!c) {
2626
2622
  t.WebApp.LocationManager.isAccessRequested || t.WebApp.LocationManager.openSettings();
2627
2623
  return;
2628
2624
  }
2629
- n(s);
2625
+ o(c);
2630
2626
  });
2631
2627
  };
2632
2628
  !t.WebApp.LocationManager || !t.WebApp.LocationManager.isInited ? t.WebApp.LocationManager.init(() => {
2633
- i();
2634
- }) : i();
2629
+ s();
2630
+ }) : s();
2635
2631
  }, t.Notice = {
2636
- Send: (n, i, s) => {
2637
- var c, d;
2638
- i !== void 0 ? (Ee.Send({ type: n, text: i, thema: s }), (c = t.WebApp.HapticFeedback) == null || c.notificationOccurred(n)) : (Ee.Send(n), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(n.type));
2632
+ Send: (o, s, c) => {
2633
+ var i, d;
2634
+ s !== void 0 ? (Se.Send({ type: o, text: s, thema: c }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred(o)) : (Se.Send(o), (d = t.WebApp.HapticFeedback) == null || d.notificationOccurred(o.type));
2639
2635
  },
2640
- Error: (n) => {
2641
- var i;
2642
- Ee.Send({ type: "error", text: n }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("error");
2636
+ Error: (o) => {
2637
+ var s;
2638
+ Se.Send({ type: "error", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("error");
2643
2639
  },
2644
- Success: (n) => {
2645
- var i;
2646
- Ee.Send({ type: "success", text: n }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("success");
2640
+ Success: (o) => {
2641
+ var s;
2642
+ Se.Send({ type: "success", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("success");
2647
2643
  },
2648
- Warning: (n) => {
2649
- var i;
2650
- Ee.Send({ type: "warning", text: n }), (i = t.WebApp.HapticFeedback) == null || i.notificationOccurred("warning");
2644
+ Warning: (o) => {
2645
+ var s;
2646
+ Se.Send({ type: "warning", text: o }), (s = t.WebApp.HapticFeedback) == null || s.notificationOccurred("warning");
2651
2647
  }
2652
- }, t.Header = fn, t.TabBar = Kn, t.Title = Qn, t.BottomSheet = dr, t.BottomSheetControllerSheet = Ao, t.SafeArea = hn, t.Loading = bn, t.Sidebar = Bn, t.SidePanel = oo, t.AppBar = mo, t.SideBarController = In, t.SidePanelController = ao, t.Scroll = uo, t.Modal = Yt, t.Menu = kn, t.MainButton = {
2648
+ }, t.Header = fn, t.TabBar = Kn, t.Title = Qn, t.BottomSheet = dr, t.BottomSheetControllerSheet = Eo, t.SafeArea = hn, t.Loading = gn, t.Sidebar = Bn, t.SidePanel = oo, t.AppBar = mo, t.SideBarController = In, t.SidePanelController = ao, t.Scroll = uo, t.Modal = Yt, t.Menu = kn, t.MainButton = {
2653
2649
  callback: [],
2654
- set: (n) => {
2655
- de.is ? de.MainButton.set(n) : (t.WebApp.MainButton.callback.forEach((i) => {
2656
- t.WebApp.MainButton.offClick(i);
2657
- }), t.WebApp.MainButton.callback = [], typeof n == "boolean" ? t.WebApp.MainButton.isVisible = !1 : (t.WebApp.MainButton.text = n.text, n.color && (t.WebApp.MainButton.color = n.color), n.textColor && (t.WebApp.MainButton.textColor = n.textColor), t.WebApp.MainButton.isVisible = !0, t.WebApp.MainButton.isActive = n.isActive === void 0 ? !0 : n.isActive, t.WebApp.MainButton.callback.push(() => {
2658
- var i;
2659
- n.page === void 0 ? (i = n.callback) == null || i.call(n) : Ce.setPage(n.page);
2650
+ set: (o) => {
2651
+ K.is ? K.MainButton.set(o) : (t.WebApp.MainButton.callback.forEach((s) => {
2652
+ t.WebApp.MainButton.offClick(s);
2653
+ }), t.WebApp.MainButton.callback = [], typeof o == "boolean" ? t.WebApp.MainButton.isVisible = !1 : (t.WebApp.MainButton.text = o.text, o.color && (t.WebApp.MainButton.color = o.color), o.textColor && (t.WebApp.MainButton.textColor = o.textColor), t.WebApp.MainButton.isVisible = !0, t.WebApp.MainButton.isActive = o.isActive === void 0 ? !0 : o.isActive, t.WebApp.MainButton.callback.push(() => {
2654
+ var s;
2655
+ o.page === void 0 ? (s = o.callback) == null || s.call(o) : Pe.setPage(o.page);
2660
2656
  }), t.WebApp.MainButton.onClick(
2661
2657
  t.WebApp.MainButton.callback[0]
2662
2658
  )));
2663
2659
  }
2664
2660
  }, t.BackButtonPrev = () => {
2665
2661
  U.prev && (0, t.BackButton)(U.prev);
2666
- }, t.BackButtonState = () => U.state, t.BackButton = (n) => {
2667
- de.is ? de.BackButton.set(n) : (U.state.push(n), U.router(n));
2662
+ }, t.BackButtonState = () => U.state, t.BackButton = (o) => {
2663
+ K.is ? K.BackButton.set(o) : (U.state.push(o), U.router(o));
2668
2664
  };
2669
2665
  })(O || (O = {}));
2670
- const Oo = O.TabBar, Po = dr, nr = O.BackButton, Co = O.BackButtonPrev, jo = O.BackButtonState, To = O.Notice, $o = O.SafeArea, No = O.Loading, Mo = O.Menu, Bo = O.SidePanel, Io = O.Scroll, Lo = O.AppBar, Do = O.Title, Uo = O.Sidebar, Fo = O.Location, Wo = O.SidePanelController, qo = O.SideBarController, Yo = O.BottomSheetControllerSheet, { Header: zo, Modal: Vo, MainButton: Jo, WebApp: ce, getUser: Ho } = O;
2666
+ const wo = O.TabBar, Oo = dr, nr = O.BackButton, Po = O.BackButtonPrev, Ao = O.BackButtonState, Co = O.Notice, To = O.SafeArea, $o = O.Loading, No = O.Menu, Mo = O.SidePanel, Bo = O.Scroll, Io = O.AppBar, Lo = O.Title, Do = O.Sidebar, Uo = O.Location, Fo = O.SidePanelController, Wo = O.SideBarController, qo = O.BottomSheetControllerSheet, { Header: Yo, Modal: zo, MainButton: Vo, WebApp: ie, getUser: Jo } = O;
2671
2667
  export {
2672
- Lo as AppBar,
2668
+ Io as AppBar,
2673
2669
  nr as BackButton,
2674
- Co as BackButtonPrev,
2675
- jo as BackButtonState,
2676
- Po as BottomSheet,
2677
- Yo as BottomSheetControllerSheet,
2678
- zo as Header,
2679
- No as Loading,
2680
- Fo as Location,
2681
- Jo as MainButton,
2682
- Mo as Menu,
2683
- Vo as Modal,
2684
- To as Notice,
2685
- $o as SafeArea,
2686
- Io as Scroll,
2687
- qo as SideBarController,
2688
- Bo as SidePanel,
2689
- Wo as SidePanelController,
2690
- Uo as Sidebar,
2691
- Oo as TabBar,
2692
- Do as Title,
2693
- ce as WebApp,
2694
- G as clsx,
2670
+ Po as BackButtonPrev,
2671
+ Ao as BackButtonState,
2672
+ Oo as BottomSheet,
2673
+ qo as BottomSheetControllerSheet,
2674
+ Yo as Header,
2675
+ $o as Loading,
2676
+ Uo as Location,
2677
+ Vo as MainButton,
2678
+ No as Menu,
2679
+ zo as Modal,
2680
+ Co as Notice,
2681
+ To as SafeArea,
2682
+ Bo as Scroll,
2683
+ Wo as SideBarController,
2684
+ Mo as SidePanel,
2685
+ Fo as SidePanelController,
2686
+ Do as Sidebar,
2687
+ wo as TabBar,
2688
+ Lo as Title,
2689
+ ie as WebApp,
2690
+ X as clsx,
2695
2691
  O as default,
2696
- Ho as getUser
2692
+ Jo as getUser
2697
2693
  };