elcrm 0.2.3 → 0.2.5

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,6 +1,6 @@
1
1
  import './index.css';
2
- import C from "react";
3
- var ce = { exports: {} }, V = {};
2
+ import g from "react";
3
+ var le = { exports: {} }, V = {};
4
4
  /**
5
5
  * @license React
6
6
  * react-jsx-runtime.production.min.js
@@ -11,20 +11,20 @@ var ce = { exports: {} }, V = {};
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
13
  var ze;
14
- function Ct() {
14
+ function Et() {
15
15
  if (ze)
16
16
  return V;
17
17
  ze = 1;
18
- var t = C, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
19
- function A(R, x, P) {
20
- var g, b = {}, k = null, J = null;
21
- P !== void 0 && (k = "" + P), x.key !== void 0 && (k = "" + x.key), x.ref !== void 0 && (J = x.ref);
22
- for (g in x)
23
- i.call(x, g) && !p.hasOwnProperty(g) && (b[g] = x[g]);
18
+ var t = g, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
19
+ function A(R, x, I) {
20
+ var b, j = {}, w = null, J = null;
21
+ I !== void 0 && (w = "" + I), x.key !== void 0 && (w = "" + x.key), x.ref !== void 0 && (J = x.ref);
22
+ for (b in x)
23
+ i.call(x, b) && !p.hasOwnProperty(b) && (j[b] = x[b]);
24
24
  if (R && R.defaultProps)
25
- for (g in x = R.defaultProps, x)
26
- b[g] === void 0 && (b[g] = x[g]);
27
- return { $$typeof: n, type: R, key: k, ref: J, props: b, _owner: v.current };
25
+ for (b in x = R.defaultProps, x)
26
+ j[b] === void 0 && (j[b] = x[b]);
27
+ return { $$typeof: n, type: R, key: w, ref: J, props: j, _owner: v.current };
28
28
  }
29
29
  return V.Fragment = a, V.jsx = A, V.jsxs = A, V;
30
30
  }
@@ -39,43 +39,43 @@ var B = {};
39
39
  * LICENSE file in the root directory of this source tree.
40
40
  */
41
41
  var Ne;
42
- function St() {
42
+ function Rt() {
43
43
  return Ne || (Ne = 1, process.env.NODE_ENV !== "production" && function() {
44
- var t = C, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), A = Symbol.for("react.provider"), R = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), J = Symbol.for("react.offscreen"), ue = Symbol.iterator, Ye = "@@iterator";
45
- function Ue(e) {
44
+ var t = g, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), A = Symbol.for("react.provider"), R = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), I = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), J = Symbol.for("react.offscreen"), ue = Symbol.iterator, Ve = "@@iterator";
45
+ function Be(e) {
46
46
  if (e === null || typeof e != "object")
47
47
  return null;
48
- var s = ue && e[ue] || e[Ye];
48
+ var s = ue && e[ue] || e[Ve];
49
49
  return typeof s == "function" ? s : null;
50
50
  }
51
51
  var F = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
- function j(e) {
52
+ function y(e) {
53
53
  {
54
54
  for (var s = arguments.length, o = new Array(s > 1 ? s - 1 : 0), c = 1; c < s; c++)
55
55
  o[c - 1] = arguments[c];
56
- Ve("error", e, o);
56
+ qe("error", e, o);
57
57
  }
58
58
  }
59
- function Ve(e, s, o) {
59
+ function qe(e, s, o) {
60
60
  {
61
61
  var c = F.ReactDebugCurrentFrame, d = c.getStackAddendum();
62
62
  d !== "" && (s += "%s", o = o.concat([d]));
63
- var _ = o.map(function(f) {
63
+ var m = o.map(function(f) {
64
64
  return String(f);
65
65
  });
66
- _.unshift("Warning: " + s), Function.prototype.apply.call(console[e], console, _);
66
+ m.unshift("Warning: " + s), Function.prototype.apply.call(console[e], console, m);
67
67
  }
68
68
  }
69
- var Be = !1, qe = !1, He = !1, Je = !1, Ge = !1, fe;
69
+ var He = !1, Je = !1, Ge = !1, Ze = !1, Ke = !1, fe;
70
70
  fe = Symbol.for("react.module.reference");
71
- function Ze(e) {
72
- return !!(typeof e == "string" || typeof e == "function" || e === i || e === p || Ge || e === v || e === P || e === g || Je || e === J || Be || qe || He || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === b || e.$$typeof === A || e.$$typeof === R || e.$$typeof === x || // This needs to include all possible module reference object
71
+ function Xe(e) {
72
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === p || Ke || e === v || e === I || e === b || Ze || e === J || He || Je || Ge || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === j || e.$$typeof === A || e.$$typeof === R || e.$$typeof === x || // This needs to include all possible module reference object
73
73
  // types supported by any Flight configuration anywhere since
74
74
  // we don't know which Flight build this will end up being used
75
75
  // with.
76
76
  e.$$typeof === fe || e.getModuleId !== void 0));
77
77
  }
78
- function Ke(e, s, o) {
78
+ function Qe(e, s, o) {
79
79
  var c = e.displayName;
80
80
  if (c)
81
81
  return c;
@@ -85,10 +85,10 @@ function St() {
85
85
  function de(e) {
86
86
  return e.displayName || "Context";
87
87
  }
88
- function w(e) {
88
+ function T(e) {
89
89
  if (e == null)
90
90
  return null;
91
- if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
+ if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
92
92
  return e.displayName || e.name || null;
93
93
  if (typeof e == "string")
94
94
  return e;
@@ -101,9 +101,9 @@ function St() {
101
101
  return "Profiler";
102
102
  case v:
103
103
  return "StrictMode";
104
- case P:
104
+ case I:
105
105
  return "Suspense";
106
- case g:
106
+ case b:
107
107
  return "SuspenseList";
108
108
  }
109
109
  if (typeof e == "object")
@@ -115,14 +115,14 @@ function St() {
115
115
  var o = e;
116
116
  return de(o._context) + ".Provider";
117
117
  case x:
118
- return Ke(e, e.render, "ForwardRef");
119
- case b:
118
+ return Qe(e, e.render, "ForwardRef");
119
+ case j:
120
120
  var c = e.displayName || null;
121
- return c !== null ? c : w(e.type) || "Memo";
122
- case k: {
123
- var d = e, _ = d._payload, f = d._init;
121
+ return c !== null ? c : T(e.type) || "Memo";
122
+ case w: {
123
+ var d = e, m = d._payload, f = d._init;
124
124
  try {
125
- return w(f(_));
125
+ return T(f(m));
126
126
  } catch {
127
127
  return null;
128
128
  }
@@ -130,14 +130,14 @@ function St() {
130
130
  }
131
131
  return null;
132
132
  }
133
- var z = Object.assign, Y = 0, _e, me, ve, he, xe, pe, ge;
133
+ var z = Object.assign, Y = 0, me, _e, ve, he, xe, pe, ge;
134
134
  function be() {
135
135
  }
136
136
  be.__reactDisabledLog = !0;
137
- function Xe() {
137
+ function et() {
138
138
  {
139
139
  if (Y === 0) {
140
- _e = console.log, me = console.info, ve = console.warn, he = console.error, xe = console.group, pe = console.groupCollapsed, ge = console.groupEnd;
140
+ me = console.log, _e = console.info, ve = console.warn, he = console.error, xe = console.group, pe = console.groupCollapsed, ge = console.groupEnd;
141
141
  var e = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
@@ -157,7 +157,7 @@ function St() {
157
157
  Y++;
158
158
  }
159
159
  }
160
- function Qe() {
160
+ function tt() {
161
161
  {
162
162
  if (Y--, Y === 0) {
163
163
  var e = {
@@ -167,10 +167,10 @@ function St() {
167
167
  };
168
168
  Object.defineProperties(console, {
169
169
  log: z({}, e, {
170
- value: _e
170
+ value: me
171
171
  }),
172
172
  info: z({}, e, {
173
- value: me
173
+ value: _e
174
174
  }),
175
175
  warn: z({}, e, {
176
176
  value: ve
@@ -189,30 +189,30 @@ function St() {
189
189
  })
190
190
  });
191
191
  }
192
- Y < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
+ Y < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
193
  }
194
194
  }
195
- var ee = F.ReactCurrentDispatcher, te;
195
+ var te = F.ReactCurrentDispatcher, re;
196
196
  function G(e, s, o) {
197
197
  {
198
- if (te === void 0)
198
+ if (re === void 0)
199
199
  try {
200
200
  throw Error();
201
201
  } catch (d) {
202
202
  var c = d.stack.trim().match(/\n( *(at )?)/);
203
- te = c && c[1] || "";
203
+ re = c && c[1] || "";
204
204
  }
205
205
  return `
206
- ` + te + e;
206
+ ` + re + e;
207
207
  }
208
208
  }
209
- var re = !1, Z;
209
+ var ne = !1, Z;
210
210
  {
211
- var et = typeof WeakMap == "function" ? WeakMap : Map;
212
- Z = new et();
211
+ var rt = typeof WeakMap == "function" ? WeakMap : Map;
212
+ Z = new rt();
213
213
  }
214
214
  function je(e, s) {
215
- if (!e || re)
215
+ if (!e || ne)
216
216
  return "";
217
217
  {
218
218
  var o = Z.get(e);
@@ -220,11 +220,11 @@ function St() {
220
220
  return o;
221
221
  }
222
222
  var c;
223
- re = !0;
223
+ ne = !0;
224
224
  var d = Error.prepareStackTrace;
225
225
  Error.prepareStackTrace = void 0;
226
- var _;
227
- _ = ee.current, ee.current = null, Xe();
226
+ var m;
227
+ m = te.current, te.current = null, et();
228
228
  try {
229
229
  if (s) {
230
230
  var f = function() {
@@ -237,55 +237,55 @@ function St() {
237
237
  }), typeof Reflect == "object" && Reflect.construct) {
238
238
  try {
239
239
  Reflect.construct(f, []);
240
- } catch (T) {
241
- c = T;
240
+ } catch (P) {
241
+ c = P;
242
242
  }
243
243
  Reflect.construct(e, [], f);
244
244
  } else {
245
245
  try {
246
246
  f.call();
247
- } catch (T) {
248
- c = T;
247
+ } catch (P) {
248
+ c = P;
249
249
  }
250
250
  e.call(f.prototype);
251
251
  }
252
252
  } else {
253
253
  try {
254
254
  throw Error();
255
- } catch (T) {
256
- c = T;
255
+ } catch (P) {
256
+ c = P;
257
257
  }
258
258
  e();
259
259
  }
260
- } catch (T) {
261
- if (T && c && typeof T.stack == "string") {
262
- for (var u = T.stack.split(`
263
- `), y = c.stack.split(`
264
- `), m = u.length - 1, h = y.length - 1; m >= 1 && h >= 0 && u[m] !== y[h]; )
260
+ } catch (P) {
261
+ if (P && c && typeof P.stack == "string") {
262
+ for (var u = P.stack.split(`
263
+ `), C = c.stack.split(`
264
+ `), _ = u.length - 1, h = C.length - 1; _ >= 1 && h >= 0 && u[_] !== C[h]; )
265
265
  h--;
266
- for (; m >= 1 && h >= 0; m--, h--)
267
- if (u[m] !== y[h]) {
268
- if (m !== 1 || h !== 1)
266
+ for (; _ >= 1 && h >= 0; _--, h--)
267
+ if (u[_] !== C[h]) {
268
+ if (_ !== 1 || h !== 1)
269
269
  do
270
- if (m--, h--, h < 0 || u[m] !== y[h]) {
270
+ if (_--, h--, h < 0 || u[_] !== C[h]) {
271
271
  var S = `
272
- ` + u[m].replace(" at new ", " at ");
272
+ ` + u[_].replace(" at new ", " at ");
273
273
  return e.displayName && S.includes("<anonymous>") && (S = S.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, S), S;
274
274
  }
275
- while (m >= 1 && h >= 0);
275
+ while (_ >= 1 && h >= 0);
276
276
  break;
277
277
  }
278
278
  }
279
279
  } finally {
280
- re = !1, ee.current = _, Qe(), Error.prepareStackTrace = d;
280
+ ne = !1, te.current = m, tt(), Error.prepareStackTrace = d;
281
281
  }
282
282
  var L = e ? e.displayName || e.name : "", Ae = L ? G(L) : "";
283
283
  return typeof e == "function" && Z.set(e, Ae), Ae;
284
284
  }
285
- function tt(e, s, o) {
285
+ function nt(e, s, o) {
286
286
  return je(e, !1);
287
287
  }
288
- function rt(e) {
288
+ function st(e) {
289
289
  var s = e.prototype;
290
290
  return !!(s && s.isReactComponent);
291
291
  }
@@ -293,25 +293,25 @@ function St() {
293
293
  if (e == null)
294
294
  return "";
295
295
  if (typeof e == "function")
296
- return je(e, rt(e));
296
+ return je(e, st(e));
297
297
  if (typeof e == "string")
298
298
  return G(e);
299
299
  switch (e) {
300
- case P:
300
+ case I:
301
301
  return G("Suspense");
302
- case g:
302
+ case b:
303
303
  return G("SuspenseList");
304
304
  }
305
305
  if (typeof e == "object")
306
306
  switch (e.$$typeof) {
307
307
  case x:
308
- return tt(e.render);
309
- case b:
308
+ return nt(e.render);
309
+ case j:
310
310
  return K(e.type, s, o);
311
- case k: {
312
- var c = e, d = c._payload, _ = c._init;
311
+ case w: {
312
+ var c = e, d = c._payload, m = c._init;
313
313
  try {
314
- return K(_(d), s, o);
314
+ return K(m(d), s, o);
315
315
  } catch {
316
316
  }
317
317
  }
@@ -326,36 +326,36 @@ function St() {
326
326
  } else
327
327
  Ce.setExtraStackFrame(null);
328
328
  }
329
- function nt(e, s, o, c, d) {
329
+ function at(e, s, o, c, d) {
330
330
  {
331
- var _ = Function.call.bind(X);
331
+ var m = Function.call.bind(X);
332
332
  for (var f in e)
333
- if (_(e, f)) {
333
+ if (m(e, f)) {
334
334
  var u = void 0;
335
335
  try {
336
336
  if (typeof e[f] != "function") {
337
- var y = Error((c || "React class") + ": " + o + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
- throw y.name = "Invariant Violation", y;
337
+ var C = Error((c || "React class") + ": " + o + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ throw C.name = "Invariant Violation", C;
339
339
  }
340
340
  u = e[f](s, f, c, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
- } catch (m) {
342
- u = m;
341
+ } catch (_) {
342
+ u = _;
343
343
  }
344
- u && !(u instanceof Error) && (Q(d), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", c || "React class", o, f, typeof u), Q(null)), u instanceof Error && !(u.message in ye) && (ye[u.message] = !0, Q(d), j("Failed %s type: %s", o, u.message), Q(null));
344
+ u && !(u instanceof Error) && (Q(d), y("%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).", c || "React class", o, f, typeof u), Q(null)), u instanceof Error && !(u.message in ye) && (ye[u.message] = !0, Q(d), y("Failed %s type: %s", o, u.message), Q(null));
345
345
  }
346
346
  }
347
347
  }
348
- var st = Array.isArray;
349
- function ne(e) {
350
- return st(e);
348
+ var ot = Array.isArray;
349
+ function se(e) {
350
+ return ot(e);
351
351
  }
352
- function at(e) {
352
+ function it(e) {
353
353
  {
354
354
  var s = typeof Symbol == "function" && Symbol.toStringTag, o = s && e[Symbol.toStringTag] || e.constructor.name || "Object";
355
355
  return o;
356
356
  }
357
357
  }
358
- function ot(e) {
358
+ function ct(e) {
359
359
  try {
360
360
  return Se(e), !1;
361
361
  } catch {
@@ -366,17 +366,17 @@ function St() {
366
366
  return "" + e;
367
367
  }
368
368
  function Ee(e) {
369
- if (ot(e))
370
- return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", at(e)), Se(e);
369
+ if (ct(e))
370
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)), Se(e);
371
371
  }
372
- var U = F.ReactCurrentOwner, it = {
372
+ var U = F.ReactCurrentOwner, lt = {
373
373
  key: !0,
374
374
  ref: !0,
375
375
  __self: !0,
376
376
  __source: !0
377
- }, Re, ke, se;
378
- se = {};
379
- function ct(e) {
377
+ }, Re, ke, ae;
378
+ ae = {};
379
+ function ut(e) {
380
380
  if (X.call(e, "ref")) {
381
381
  var s = Object.getOwnPropertyDescriptor(e, "ref").get;
382
382
  if (s && s.isReactWarning)
@@ -384,7 +384,7 @@ function St() {
384
384
  }
385
385
  return e.ref !== void 0;
386
386
  }
387
- function lt(e) {
387
+ function ft(e) {
388
388
  if (X.call(e, "key")) {
389
389
  var s = Object.getOwnPropertyDescriptor(e, "key").get;
390
390
  if (s && s.isReactWarning)
@@ -392,16 +392,16 @@ function St() {
392
392
  }
393
393
  return e.key !== void 0;
394
394
  }
395
- function ut(e, s) {
395
+ function dt(e, s) {
396
396
  if (typeof e.ref == "string" && U.current && s && U.current.stateNode !== s) {
397
- var o = w(U.current.type);
398
- se[o] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', w(U.current.type), e.ref), se[o] = !0);
397
+ var o = T(U.current.type);
398
+ ae[o] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T(U.current.type), e.ref), ae[o] = !0);
399
399
  }
400
400
  }
401
- function ft(e, s) {
401
+ function mt(e, s) {
402
402
  {
403
403
  var o = function() {
404
- Re || (Re = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
404
+ Re || (Re = !0, y("%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)", s));
405
405
  };
406
406
  o.isReactWarning = !0, Object.defineProperty(e, "key", {
407
407
  get: o,
@@ -409,10 +409,10 @@ function St() {
409
409
  });
410
410
  }
411
411
  }
412
- function dt(e, s) {
412
+ function _t(e, s) {
413
413
  {
414
414
  var o = function() {
415
- ke || (ke = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
415
+ ke || (ke = !0, y("%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)", s));
416
416
  };
417
417
  o.isReactWarning = !0, Object.defineProperty(e, "ref", {
418
418
  get: o,
@@ -420,7 +420,7 @@ function St() {
420
420
  });
421
421
  }
422
422
  }
423
- var _t = function(e, s, o, c, d, _, f) {
423
+ var vt = function(e, s, o, c, d, m, f) {
424
424
  var u = {
425
425
  // This tag allows us to uniquely identify this as a React Element
426
426
  $$typeof: n,
@@ -430,7 +430,7 @@ function St() {
430
430
  ref: o,
431
431
  props: f,
432
432
  // Record the component responsible for creating this element.
433
- _owner: _
433
+ _owner: m
434
434
  };
435
435
  return u._store = {}, Object.defineProperty(u._store, "validated", {
436
436
  configurable: !1,
@@ -449,25 +449,25 @@ function St() {
449
449
  value: d
450
450
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
451
451
  };
452
- function mt(e, s, o, c, d) {
452
+ function ht(e, s, o, c, d) {
453
453
  {
454
- var _, f = {}, u = null, y = null;
455
- o !== void 0 && (Ee(o), u = "" + o), lt(s) && (Ee(s.key), u = "" + s.key), ct(s) && (y = s.ref, ut(s, d));
456
- for (_ in s)
457
- X.call(s, _) && !it.hasOwnProperty(_) && (f[_] = s[_]);
454
+ var m, f = {}, u = null, C = null;
455
+ o !== void 0 && (Ee(o), u = "" + o), ft(s) && (Ee(s.key), u = "" + s.key), ut(s) && (C = s.ref, dt(s, d));
456
+ for (m in s)
457
+ X.call(s, m) && !lt.hasOwnProperty(m) && (f[m] = s[m]);
458
458
  if (e && e.defaultProps) {
459
- var m = e.defaultProps;
460
- for (_ in m)
461
- f[_] === void 0 && (f[_] = m[_]);
459
+ var _ = e.defaultProps;
460
+ for (m in _)
461
+ f[m] === void 0 && (f[m] = _[m]);
462
462
  }
463
- if (u || y) {
463
+ if (u || C) {
464
464
  var h = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
465
- u && ft(f, h), y && dt(f, h);
465
+ u && mt(f, h), C && _t(f, h);
466
466
  }
467
- return _t(e, u, y, d, c, U.current, f);
467
+ return vt(e, u, C, d, c, U.current, f);
468
468
  }
469
469
  }
470
- var ae = F.ReactCurrentOwner, we = F.ReactDebugCurrentFrame;
470
+ var oe = F.ReactCurrentOwner, we = F.ReactDebugCurrentFrame;
471
471
  function M(e) {
472
472
  if (e) {
473
473
  var s = e._owner, o = K(e.type, e._source, s ? s.type : null);
@@ -475,15 +475,15 @@ function St() {
475
475
  } else
476
476
  we.setExtraStackFrame(null);
477
477
  }
478
- var oe;
479
- oe = !1;
480
- function ie(e) {
478
+ var ie;
479
+ ie = !1;
480
+ function ce(e) {
481
481
  return typeof e == "object" && e !== null && e.$$typeof === n;
482
482
  }
483
483
  function Te() {
484
484
  {
485
- if (ae.current) {
486
- var e = w(ae.current.type);
485
+ if (oe.current) {
486
+ var e = T(oe.current.type);
487
487
  if (e)
488
488
  return `
489
489
 
@@ -492,7 +492,7 @@ Check the render method of \`` + e + "`.";
492
492
  return "";
493
493
  }
494
494
  }
495
- function vt(e) {
495
+ function xt(e) {
496
496
  {
497
497
  if (e !== void 0) {
498
498
  var s = e.fileName.replace(/^.*[\\\/]/, ""), o = e.lineNumber;
@@ -504,7 +504,7 @@ Check your code at ` + s + ":" + o + ".";
504
504
  }
505
505
  }
506
506
  var Pe = {};
507
- function ht(e) {
507
+ function pt(e) {
508
508
  {
509
509
  var s = Te();
510
510
  if (!s) {
@@ -521,34 +521,34 @@ Check the top-level render call using <` + o + ">.");
521
521
  if (!e._store || e._store.validated || e.key != null)
522
522
  return;
523
523
  e._store.validated = !0;
524
- var o = ht(s);
524
+ var o = pt(s);
525
525
  if (Pe[o])
526
526
  return;
527
527
  Pe[o] = !0;
528
528
  var c = "";
529
- e && e._owner && e._owner !== ae.current && (c = " It was passed a child from " + w(e._owner.type) + "."), M(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, c), M(null);
529
+ e && e._owner && e._owner !== oe.current && (c = " It was passed a child from " + T(e._owner.type) + "."), M(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, c), M(null);
530
530
  }
531
531
  }
532
532
  function Oe(e, s) {
533
533
  {
534
534
  if (typeof e != "object")
535
535
  return;
536
- if (ne(e))
536
+ if (se(e))
537
537
  for (var o = 0; o < e.length; o++) {
538
538
  var c = e[o];
539
- ie(c) && Ie(c, s);
539
+ ce(c) && Ie(c, s);
540
540
  }
541
- else if (ie(e))
541
+ else if (ce(e))
542
542
  e._store && (e._store.validated = !0);
543
543
  else if (e) {
544
- var d = Ue(e);
544
+ var d = Be(e);
545
545
  if (typeof d == "function" && d !== e.entries)
546
- for (var _ = d.call(e), f; !(f = _.next()).done; )
547
- ie(f.value) && Ie(f.value, s);
546
+ for (var m = d.call(e), f; !(f = m.next()).done; )
547
+ ce(f.value) && Ie(f.value, s);
548
548
  }
549
549
  }
550
550
  }
551
- function xt(e) {
551
+ function gt(e) {
552
552
  {
553
553
  var s = e.type;
554
554
  if (s == null || typeof s == "string")
@@ -558,100 +558,100 @@ Check the top-level render call using <` + o + ">.");
558
558
  o = s.propTypes;
559
559
  else if (typeof s == "object" && (s.$$typeof === x || // Note: Memo only checks outer props here.
560
560
  // Inner props are checked in the reconciler.
561
- s.$$typeof === b))
561
+ s.$$typeof === j))
562
562
  o = s.propTypes;
563
563
  else
564
564
  return;
565
565
  if (o) {
566
- var c = w(s);
567
- nt(o, e.props, "prop", c, e);
568
- } else if (s.PropTypes !== void 0 && !oe) {
569
- oe = !0;
570
- var d = w(s);
571
- j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
566
+ var c = T(s);
567
+ at(o, e.props, "prop", c, e);
568
+ } else if (s.PropTypes !== void 0 && !ie) {
569
+ ie = !0;
570
+ var d = T(s);
571
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
572
572
  }
573
- typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
573
+ typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
574
574
  }
575
575
  }
576
- function pt(e) {
576
+ function bt(e) {
577
577
  {
578
578
  for (var s = Object.keys(e.props), o = 0; o < s.length; o++) {
579
579
  var c = s[o];
580
580
  if (c !== "children" && c !== "key") {
581
- M(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), M(null);
581
+ M(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), M(null);
582
582
  break;
583
583
  }
584
584
  }
585
- e.ref !== null && (M(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
585
+ e.ref !== null && (M(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
586
586
  }
587
587
  }
588
- function $e(e, s, o, c, d, _) {
588
+ function $e(e, s, o, c, d, m) {
589
589
  {
590
- var f = Ze(e);
590
+ var f = Xe(e);
591
591
  if (!f) {
592
592
  var u = "";
593
593
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
594
- var y = vt(d);
595
- y ? u += y : u += Te();
596
- var m;
597
- e === null ? m = "null" : ne(e) ? m = "array" : e !== void 0 && e.$$typeof === n ? (m = "<" + (w(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : m = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", m, u);
594
+ var C = xt(d);
595
+ C ? u += C : u += Te();
596
+ var _;
597
+ e === null ? _ = "null" : se(e) ? _ = "array" : e !== void 0 && e.$$typeof === n ? (_ = "<" + (T(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, u);
598
598
  }
599
- var h = mt(e, s, o, d, _);
599
+ var h = ht(e, s, o, d, m);
600
600
  if (h == null)
601
601
  return h;
602
602
  if (f) {
603
603
  var S = s.children;
604
604
  if (S !== void 0)
605
605
  if (c)
606
- if (ne(S)) {
606
+ if (se(S)) {
607
607
  for (var L = 0; L < S.length; L++)
608
608
  Oe(S[L], e);
609
609
  Object.freeze && Object.freeze(S);
610
610
  } else
611
- j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
611
+ y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
612
612
  else
613
613
  Oe(S, e);
614
614
  }
615
- return e === i ? pt(h) : xt(h), h;
615
+ return e === i ? bt(h) : gt(h), h;
616
616
  }
617
617
  }
618
- function gt(e, s, o) {
618
+ function jt(e, s, o) {
619
619
  return $e(e, s, o, !0);
620
620
  }
621
- function bt(e, s, o) {
621
+ function yt(e, s, o) {
622
622
  return $e(e, s, o, !1);
623
623
  }
624
- var jt = bt, yt = gt;
625
- B.Fragment = i, B.jsx = jt, B.jsxs = yt;
624
+ var Ct = yt, St = jt;
625
+ B.Fragment = i, B.jsx = Ct, B.jsxs = St;
626
626
  }()), B;
627
627
  }
628
- process.env.NODE_ENV === "production" ? ce.exports = Ct() : ce.exports = St();
629
- var r = ce.exports;
630
- const Et = "_notice_820sc_2", Rt = "_error_820sc_9", kt = "_success_820sc_12", wt = "_remark_820sc_15", Tt = "_copy_820sc_18", Pt = {
631
- notice: Et,
632
- error: Rt,
633
- success: kt,
634
- remark: wt,
635
- copy: Tt,
628
+ process.env.NODE_ENV === "production" ? le.exports = Et() : le.exports = Rt();
629
+ var r = le.exports;
630
+ const kt = "_notice_820sc_2", wt = "_error_820sc_9", Tt = "_success_820sc_12", Pt = "_remark_820sc_15", It = "_copy_820sc_18", Ot = {
631
+ notice: kt,
632
+ error: wt,
633
+ success: Tt,
634
+ remark: Pt,
635
+ copy: It,
636
636
  "show-notice": "_show-notice_820sc_1",
637
637
  "hide-notice": "_hide-notice_820sc_1"
638
638
  };
639
- let O = {};
640
- function It() {
641
- let [t, n] = C.useState([]);
642
- return O.set = (a) => {
639
+ let $ = {};
640
+ function $t() {
641
+ let [t, n] = g.useState([]);
642
+ return $.set = (a) => {
643
643
  n([...t, a]);
644
- }, O.del = (a) => {
644
+ }, $.del = (a) => {
645
645
  n(t.filter((i) => i.key !== a));
646
- }, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: Pt.notice, children: t.map((a) => a.item) });
646
+ }, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: Ot.notice, children: t.map((a) => a.item) });
647
647
  }
648
648
  function H({ data: t }) {
649
- let [n, a] = C.useState("show");
650
- C.useEffect(() => {
649
+ let [n, a] = g.useState("show");
650
+ g.useEffect(() => {
651
651
  setTimeout(function() {
652
652
  a("hide");
653
653
  }, 1800), setTimeout(function() {
654
- O.del(t.key);
654
+ $.del(t.key);
655
655
  }, 2500);
656
656
  }, [t.key]);
657
657
  let i, v;
@@ -678,25 +678,25 @@ function H({ data: t }) {
678
678
  /* @__PURE__ */ r.jsx("p", { children: t.text })
679
679
  ] });
680
680
  }
681
- function Ot(t) {
681
+ function At(t) {
682
682
  let n = Date.now(), a = { key: n, ...t };
683
- O.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
683
+ $.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
684
684
  }
685
- function $t(t) {
685
+ function zt(t) {
686
686
  let n = Date.now(), a = { key: n, text: t, type: "error" };
687
- O.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
687
+ $.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
688
688
  }
689
- function At(t) {
689
+ function Nt(t) {
690
690
  let n = Date.now(), a = { key: n, text: t, type: "success" };
691
- O.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
691
+ $.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
692
692
  }
693
- function zt(t) {
693
+ function Dt(t) {
694
694
  let n = Date.now(), a = { key: n, text: t, type: "remark" };
695
- O.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
695
+ $.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
696
696
  }
697
- function Nt(t) {
697
+ function Ft(t) {
698
698
  let n = Date.now(), a = { key: n, text: t, type: "copy" };
699
- O.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
699
+ $.set({ item: /* @__PURE__ */ r.jsx(H, { data: a }, n), key: n });
700
700
  }
701
701
  const N = {};
702
702
  N.error = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
@@ -731,20 +731,20 @@ N.success = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "n
731
731
  }
732
732
  )
733
733
  ] });
734
- const Dt = "_alerts_1e9y0_1", Ft = "_menuAnimation_1e9y0_1", Mt = "_menuItemAnimation_1e9y0_1", Lt = "_allert_1e9y0_111", Wt = {
735
- alerts: Dt,
736
- menuAnimation: Ft,
737
- menuItemAnimation: Mt,
734
+ const Mt = "_alerts_1e9y0_1", Lt = "_menuAnimation_1e9y0_1", Wt = "_menuItemAnimation_1e9y0_1", Yt = "_allert_1e9y0_111", Ut = {
735
+ alerts: Mt,
736
+ menuAnimation: Lt,
737
+ menuItemAnimation: Wt,
738
738
  "--body": "_--body_1e9y0_103",
739
- allert: Lt,
739
+ allert: Yt,
740
740
  "--form": "_--form_1e9y0_111"
741
741
  };
742
742
  let q = {};
743
- function Yt() {
744
- let [t, n] = C.useState("");
743
+ function Vt() {
744
+ let [t, n] = g.useState("");
745
745
  return q.set = (a) => n(a), q.del = () => n(""), /* @__PURE__ */ r.jsx(r.Fragment, { children: t });
746
746
  }
747
- const Ut = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "Подтвердить" : t.button, /* @__PURE__ */ r.jsxs("div", { className: Wt.alerts, children: [
747
+ const Bt = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "Подтвердить" : t.button, /* @__PURE__ */ r.jsxs("div", { className: Ut.alerts, children: [
748
748
  /* @__PURE__ */ r.jsxs("dl", { children: [
749
749
  /* @__PURE__ */ r.jsx("dt", { children: t.title }),
750
750
  /* @__PURE__ */ r.jsx("dd", { children: t.text }),
@@ -761,16 +761,16 @@ const Ut = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "По
761
761
  ] }),
762
762
  /* @__PURE__ */ r.jsx("div", { className: "--body", onClick: q.del })
763
763
  ] }));
764
- function Vt(t, n) {
765
- q.set(/* @__PURE__ */ r.jsx(Ut, { data: t, callback: n }));
764
+ function qt(t, n) {
765
+ q.set(/* @__PURE__ */ r.jsx(Bt, { data: t, callback: n }));
766
766
  }
767
- function Bt({ children: t }) {
767
+ function Ht({ children: t }) {
768
768
  return /* @__PURE__ */ r.jsx("div", { className: "l", children: /* @__PURE__ */ r.jsx("ul", { children: t }) });
769
769
  }
770
- function qt({ children: t }) {
770
+ function Jt({ children: t }) {
771
771
  return /* @__PURE__ */ r.jsx("div", { className: "s", children: t });
772
772
  }
773
- const Ht = ({
773
+ const Gt = ({
774
774
  children: t,
775
775
  disabled: n,
776
776
  label: a,
@@ -780,45 +780,45 @@ const Ht = ({
780
780
  n || i && i(p);
781
781
  };
782
782
  return /* @__PURE__ */ r.jsx("button", { disabled: n, onClick: v, children: a });
783
- }, Jt = "_white_6ax6z_14", Gt = "_black_6ax6z_26", Zt = "_shake_6ax6z_1", Kt = "_modal_6ax6z_73", Xt = "_o_6ax6z_83", Qt = "_w_6ax6z_14", er = "_h_6ax6z_106", tr = "_l_6ax6z_120", rr = "_t_6ax6z_158", nr = "_m_6ax6z_73", sr = "_x_6ax6z_166", ar = "_s_6ax6z_176", or = "_c_6ax6z_181", ir = "_f_6ax6z_186", cr = "_btn_6ax6z_229", lr = "_g_6ax6z_242", ur = "_confirm_6ax6z_320", fr = "_cancel_6ax6z_325", dr = "_disabled_6ax6z_330", _r = "_active_6ax6z_387", mr = "_coincidence_6ax6z_393", I = {
784
- white: Jt,
785
- black: Gt,
786
- shake: Zt,
787
- modal: Kt,
788
- o: Xt,
789
- w: Qt,
790
- h: er,
791
- l: tr,
792
- t: rr,
793
- m: nr,
794
- x: sr,
795
- s: ar,
796
- c: or,
797
- f: ir,
798
- btn: cr,
799
- g: lr,
783
+ }, Zt = "_white_6ax6z_14", Kt = "_black_6ax6z_26", Xt = "_shake_6ax6z_1", Qt = "_modal_6ax6z_73", er = "_o_6ax6z_83", tr = "_w_6ax6z_14", rr = "_h_6ax6z_106", nr = "_l_6ax6z_120", sr = "_t_6ax6z_158", ar = "_m_6ax6z_73", or = "_x_6ax6z_166", ir = "_s_6ax6z_176", cr = "_c_6ax6z_181", lr = "_f_6ax6z_186", ur = "_btn_6ax6z_229", fr = "_g_6ax6z_242", dr = "_confirm_6ax6z_320", mr = "_cancel_6ax6z_325", _r = "_disabled_6ax6z_330", vr = "_active_6ax6z_387", hr = "_coincidence_6ax6z_393", O = {
784
+ white: Zt,
785
+ black: Kt,
786
+ shake: Xt,
787
+ modal: Qt,
788
+ o: er,
789
+ w: tr,
790
+ h: rr,
791
+ l: nr,
792
+ t: sr,
793
+ m: ar,
794
+ x: or,
795
+ s: ir,
796
+ c: cr,
797
+ f: lr,
798
+ btn: ur,
799
+ g: fr,
800
800
  "size-a": "_size-a_6ax6z_294",
801
801
  "size-s": "_size-s_6ax6z_298",
802
802
  "size-m": "_size-m_6ax6z_302",
803
803
  "size-l": "_size-l_6ax6z_306",
804
804
  "size-x": "_size-x_6ax6z_310",
805
805
  "size-f": "_size-f_6ax6z_314",
806
- confirm: ur,
807
- cancel: fr,
808
- disabled: dr,
806
+ confirm: dr,
807
+ cancel: mr,
808
+ disabled: _r,
809
809
  await: "_await_6ax6z_337",
810
- active: _r,
811
- coincidence: mr
810
+ active: vr,
811
+ coincidence: hr
812
812
  };
813
813
  let W = {};
814
- const vr = ({ config: t }) => {
815
- let [n, a] = C.useState([]);
814
+ const xr = ({ config: t }) => {
815
+ let [n, a] = g.useState([]);
816
816
  return W.x = () => {
817
817
  a([]);
818
818
  }, W.config = t, W.add = (i) => {
819
819
  a([...n, i]);
820
820
  }, /* @__PURE__ */ r.jsx(r.Fragment, { children: n.map((i) => i) });
821
- }, hr = ({
821
+ }, pr = ({
822
822
  children: t,
823
823
  title: n,
824
824
  button: a,
@@ -826,10 +826,10 @@ const vr = ({ config: t }) => {
826
826
  size: v = "m",
827
827
  menu: p
828
828
  }) => {
829
- const [A, R] = C.useState(!0), x = C.useRef(), P = (b) => {
829
+ const [A, R] = g.useState(!0), x = g.useRef(), I = (j) => {
830
830
  if (a && a.onClick)
831
- return a.onClick({ closed: R, disabled: b });
832
- }, g = () => {
831
+ return a.onClick({ closed: R, disabled: j });
832
+ }, b = () => {
833
833
  x.current.setAttribute("shake", !0), setTimeout(() => {
834
834
  x.current.setAttribute("shake", !1);
835
835
  }, 1e3);
@@ -837,28 +837,28 @@ const vr = ({ config: t }) => {
837
837
  return /* @__PURE__ */ r.jsx(r.Fragment, { children: A ? /* @__PURE__ */ r.jsxs(
838
838
  "div",
839
839
  {
840
- className: `${I.modal} ${I.white}`,
840
+ className: `${O.modal} ${O.white}`,
841
841
  children: [
842
- /* @__PURE__ */ r.jsx("div", { className: I.o, onClick: g }),
843
- /* @__PURE__ */ r.jsxs("div", { className: I.w, ref: x, children: [
844
- /* @__PURE__ */ r.jsxs("div", { className: I.h, children: [
845
- /* @__PURE__ */ r.jsx("div", { className: I.t, children: n }),
846
- /* @__PURE__ */ r.jsxs("div", { className: I.m, children: [
847
- i && /* @__PURE__ */ r.jsx("nav", { children: i.map((b, k) => /* @__PURE__ */ r.jsx(
842
+ /* @__PURE__ */ r.jsx("div", { className: O.o, onClick: b }),
843
+ /* @__PURE__ */ r.jsxs("div", { className: O.w, ref: x, children: [
844
+ /* @__PURE__ */ r.jsxs("div", { className: O.h, children: [
845
+ /* @__PURE__ */ r.jsx("div", { className: O.t, children: n }),
846
+ /* @__PURE__ */ r.jsxs("div", { className: O.m, children: [
847
+ i && /* @__PURE__ */ r.jsx("nav", { children: i.map((j, w) => /* @__PURE__ */ r.jsx(
848
848
  "span",
849
849
  {
850
- onClick: b.onClick,
851
- className: b.active ? "active" : "",
852
- children: b.name
850
+ onClick: j.onClick,
851
+ className: j.active ? "active" : "",
852
+ children: j.name
853
853
  },
854
- k
854
+ w
855
855
  )) }),
856
856
  p
857
857
  ] }),
858
858
  /* @__PURE__ */ r.jsx(
859
859
  "div",
860
860
  {
861
- className: I.x,
861
+ className: O.x,
862
862
  onClick: () => {
863
863
  R(!1);
864
864
  },
@@ -868,32 +868,32 @@ const vr = ({ config: t }) => {
868
868
  ] }),
869
869
  t,
870
870
  a !== void 0 ? /* @__PURE__ */ r.jsx(
871
- Ht,
871
+ Gt,
872
872
  {
873
873
  label: String(a.name),
874
- onClick: P
874
+ onClick: I
875
875
  }
876
876
  ) : ""
877
877
  ] })
878
878
  ]
879
879
  }
880
880
  ) : "" });
881
- }, xr = (t) => {
882
- W.add(/* @__PURE__ */ r.jsx(pr, { children: t }, String(Date.now())));
883
- }, pr = ({ children: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: t }), gr = ({ type: t, name: n, params: a }) => {
884
- let [i, v] = C.useState(null);
885
- return C.useEffect(() => {
881
+ }, gr = (t) => {
882
+ W.add(/* @__PURE__ */ r.jsx(br, { children: t }, String(Date.now())));
883
+ }, br = ({ children: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: t }), jr = ({ type: t, name: n, params: a }) => {
884
+ let [i, v] = g.useState(null);
885
+ return g.useEffect(() => {
886
886
  W.config(t, n, a, v);
887
887
  }, [a.id]), /* @__PURE__ */ r.jsx(r.Fragment, { children: i });
888
- }, br = (t, n, a) => {
888
+ }, yr = (t, n, a) => {
889
889
  W.config(t, n, a);
890
- }, jr = { List: Bt, Scroll: qt, Init: vr, Main: hr, Add: xr, Icon: gr, Open: br };
891
- let $ = {};
892
- const l = {}, E = {};
893
- function yr(t, n) {
894
- if ($ = t, localStorage.getItem("ssid")) {
890
+ }, Cr = { List: Ht, Scroll: Jt, Init: xr, Main: pr, Add: gr, Icon: jr, Open: yr };
891
+ let k = {};
892
+ const l = {}, E = {}, De = {};
893
+ function Sr(t, n) {
894
+ if (k = t, localStorage.getItem("ssid")) {
895
895
  let i = sessionStorage.getItem("page");
896
- i ? (i = $.deCode(i), l.id = i.id, l.tab = i.tab, l.page = i.page, l.module = i.module, l.time = i.time, l.payment = { active: !0 }, l.module_admin = i.module_admin) : (l.id = 0, l.tab = "", l.page = "Main", l.module = l.module || "M05");
896
+ i ? (i = k.deCode(i), l.id = i.id, l.tab = i.tab, l.page = i.page, l.module = i.module, l.time = i.time, l.payment = { active: !0 }, l.module_admin = i.module_admin) : (l.id = 0, l.tab = "", l.page = "Main", l.module = l.module || "M05");
897
897
  } else
898
898
  [
899
899
  "ssid",
@@ -911,7 +911,7 @@ function yr(t, n) {
911
911
  ].forEach((i) => localStorage.removeItem(i)), ["page"].forEach((i) => sessionStorage.removeItem(i)), l.id = 0, l.tab = "", l.page = "Auth", l.module = "M00";
912
912
  return n;
913
913
  }
914
- function le() {
914
+ function ee() {
915
915
  [
916
916
  "ssid",
917
917
  "menu",
@@ -927,10 +927,10 @@ function le() {
927
927
  "sort"
928
928
  ].forEach((t) => localStorage.removeItem(t)), ["page"].forEach((t) => sessionStorage.removeItem(t)), window.location.reload();
929
929
  }
930
- function Cr(t) {
930
+ function Er(t) {
931
931
  t = t.split("/"), l.page = "Main", l.module = t[0], l.tab = t[1], l.id = 0, sessionStorage.setItem(
932
932
  "page",
933
- $.enCode({
933
+ k.enCode({
934
934
  module: l.module,
935
935
  page: l.page,
936
936
  tab: l.tab,
@@ -939,94 +939,104 @@ function Cr(t) {
939
939
  })
940
940
  ), E.page(l.page);
941
941
  }
942
- function Sr(t) {
942
+ function Rr(t) {
943
943
  return localStorage.setItem("ssid", t);
944
944
  }
945
- function Er() {
945
+ function kr() {
946
946
  let t = localStorage.getItem("ssid");
947
- return t !== "" && t !== "undefined" && t !== null ? localStorage.getItem("ssid") : (le(), !1);
947
+ return t !== "" && t !== "undefined" && t !== null ? localStorage.getItem("ssid") : (ee(), !1);
948
948
  }
949
- function Rr(t) {
949
+ function wr(t) {
950
950
  return localStorage.setItem("auth", t);
951
951
  }
952
- function kr() {
952
+ function Tr() {
953
953
  let t = localStorage.getItem("auth");
954
- return t !== "" && t !== "undefined" && t !== null ? t : (le(), !1);
954
+ return t !== "" && t !== "undefined" && t !== null ? t : (ee(), !1);
955
955
  }
956
- function wr() {
957
- const [t, n] = C.useState(Le()), a = (i) => {
956
+ function Pr() {
957
+ const [t, n] = g.useState(We()), a = (i) => {
958
958
  n(i);
959
959
  };
960
960
  return E.page = a, [t];
961
961
  }
962
- function Tr(t) {
963
- l.page = t, sessionStorage.setItem("page", $.enCode(l)), E.page(t);
962
+ function Ir(t) {
963
+ l.page = t, sessionStorage.setItem("page", k.enCode(l)), E.page(t);
964
964
  }
965
- function Le() {
965
+ function We() {
966
966
  return l.page;
967
967
  }
968
- function Pr(t) {
969
- E.module = t;
968
+ function Or() {
969
+ const [t, n] = g.useState(Ye()), a = (i) => {
970
+ n(i);
971
+ };
972
+ return E.module = a, [t];
970
973
  }
971
- function Ir(t, n) {
972
- l.module = t, sessionStorage.setItem("page", $.enCode(l)), n !== "false" && E.module(t);
974
+ function $r(t, n) {
975
+ l.module = t, sessionStorage.setItem("page", k.enCode(l)), n !== "false" && E.module(t);
973
976
  }
974
- function Or() {
977
+ function Ye() {
975
978
  return l.module;
976
979
  }
977
- function $r(t) {
980
+ function Ar(t) {
978
981
  E.tabs = t;
979
982
  }
980
- function Ar(t, n) {
981
- l.tab = t, sessionStorage.setItem("page", $.enCode(l)), n !== "false" && E.tabs(t);
983
+ function zr(t, n) {
984
+ l.tab = t, sessionStorage.setItem("page", k.enCode(l)), n !== "false" && E.tabs(t);
982
985
  }
983
- function zr() {
986
+ function Nr() {
984
987
  return l.tab;
985
988
  }
986
- function Nr() {
987
- const [t, n] = C.useState(l.id), a = (i) => {
989
+ function Dr() {
990
+ const [t, n] = g.useState(l.id), a = (i) => {
988
991
  n(i);
989
992
  };
990
993
  return E.id = a, [t];
991
994
  }
992
- function Dr(t) {
995
+ function Fr(t) {
993
996
  E.id = t;
994
997
  }
995
- function Fr(t, n) {
996
- l.id = t, sessionStorage.setItem("page", $.enCode(l)), n !== "false" && E.id(t);
998
+ function Mr(t, n) {
999
+ l.id = t, sessionStorage.setItem("page", k.enCode(l)), n !== "false" && E.id(t);
997
1000
  }
998
- function Mr() {
1001
+ function Lr() {
999
1002
  return l.id;
1000
1003
  }
1001
- function Lr(t, n, a) {
1002
- l.module = t, l.id = a, l.tab = n, sessionStorage.setItem("page", $.enCode(l)), E.module(t), E.tabs(n);
1004
+ function Wr(t, n, a) {
1005
+ l.module = t, l.id = a, l.tab = n, sessionStorage.setItem("page", k.enCode(l)), E.module(t), E.tabs(n);
1006
+ }
1007
+ function Yr(t, n) {
1008
+ De.data[t] = n, localStorage.setItem("sett", k.enCode(De.data));
1009
+ }
1010
+ function Ur(t) {
1011
+ let n = localStorage.getItem("sett");
1012
+ return n === null ? {} : (n = k.deCode(n), n ? t !== void 0 ? n[t] : n : ee());
1003
1013
  }
1004
- const Wr = ({ children: t, config: n, crypto: a, ...i }) => yr(a, /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1005
- /* @__PURE__ */ r.jsx(jr.Init, { config: n.modal }),
1006
- /* @__PURE__ */ r.jsx(It, {}),
1007
- /* @__PURE__ */ r.jsx(Yt, {}),
1014
+ const Vr = ({ children: t, config: n, crypto: a, ...i }) => Sr(a, /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1015
+ /* @__PURE__ */ r.jsx(Cr.Init, { config: n.modal }),
1016
+ /* @__PURE__ */ r.jsx($t, {}),
1017
+ /* @__PURE__ */ r.jsx(Vt, {}),
1008
1018
  t
1009
- ] })), Yr = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("menu", { children: t }), Ur = ({ children: t, ...n }) => /* @__PURE__ */ r.jsxs("header", { children: [
1019
+ ] })), Br = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("menu", { children: t }), qr = ({ children: t, ...n }) => /* @__PURE__ */ r.jsxs("header", { children: [
1010
1020
  "xz",
1011
1021
  t
1012
- ] }), Vr = "_payment_1lxfv_1", Br = {
1013
- payment: Vr
1022
+ ] }), Hr = "_payment_1lxfv_1", Jr = {
1023
+ payment: Hr
1014
1024
  };
1015
- function qr() {
1016
- let [t, n] = C.useState({});
1017
- return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className: Br.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
1025
+ function Gr() {
1026
+ let [t, n] = g.useState({});
1027
+ return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className: Jr.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
1018
1028
  }
1019
- const yn = ({ children: t, ...n }) => {
1029
+ const En = ({ children: t, ...n }) => {
1020
1030
  let a = {};
1021
1031
  return a.enCode = (i) => JSON.stringify(i).toString(), a.deCode = (i) => JSON.parse(i), /* @__PURE__ */ r.jsxs("div", { className: "app", children: [
1032
+ /* @__PURE__ */ r.jsx(Gr, {}),
1033
+ /* @__PURE__ */ r.jsx(Br, {}),
1022
1034
  /* @__PURE__ */ r.jsx(qr, {}),
1023
- /* @__PURE__ */ r.jsx(Yr, {}),
1024
- /* @__PURE__ */ r.jsx(Ur, {}),
1025
- /* @__PURE__ */ r.jsx(Wr, { config: { modal: {} }, crypto: a }),
1035
+ /* @__PURE__ */ r.jsx(Vr, { config: { modal: {} }, crypto: a }),
1026
1036
  t
1027
1037
  ] });
1028
- }, Hr = ({ list: t, onClick: n, active: a, size: i, view: v }) => /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i, v].join(" "), children: t.map((p) => /* @__PURE__ */ r.jsx(
1029
- Jr,
1038
+ }, Zr = ({ list: t, onClick: n, active: a, size: i, view: v }) => /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i, v].join(" "), children: t.map((p) => /* @__PURE__ */ r.jsx(
1039
+ Kr,
1030
1040
  {
1031
1041
  onClick: n,
1032
1042
  active: a,
@@ -1034,9 +1044,9 @@ const yn = ({ children: t, ...n }) => {
1034
1044
  link: p.link
1035
1045
  },
1036
1046
  p.link
1037
- )) }) }), Jr = ({ onClick: t, label: n, link: a, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === a), onClick: () => t(a), children: n });
1038
- Hr.defaultProps = { size: "M", view: "H" };
1039
- const Gr = ({
1047
+ )) }) }), Kr = ({ onClick: t, label: n, link: a, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === a), onClick: () => t(a), children: n });
1048
+ Zr.defaultProps = { size: "M", view: "H" };
1049
+ const Xr = ({
1040
1050
  title: t = "",
1041
1051
  button: n,
1042
1052
  description: a = "",
@@ -1056,10 +1066,10 @@ const Gr = ({
1056
1066
  ] }),
1057
1067
  /* @__PURE__ */ r.jsx("ul", { children: i }),
1058
1068
  a && /* @__PURE__ */ r.jsx("article", { children: a })
1059
- ] }), Zr = "_setting_1r0pc_2", Kr = {
1060
- setting: Zr
1061
- }, Xr = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: Kr.setting, children: t }), Qr = ({ label: t, children: n }) => {
1062
- let [a, i] = C.useState(!1);
1069
+ ] }), Qr = "_setting_1r0pc_2", en = {
1070
+ setting: Qr
1071
+ }, tn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: en.setting, children: t }), rn = ({ label: t, children: n }) => {
1072
+ let [a, i] = g.useState(!1);
1063
1073
  return /* @__PURE__ */ r.jsxs("li", { "data-item": "accordion", children: [
1064
1074
  /* @__PURE__ */ r.jsxs("dl", { onClick: () => i(!a), children: [
1065
1075
  /* @__PURE__ */ r.jsx("dt", { children: t }),
@@ -1067,10 +1077,10 @@ const Gr = ({
1067
1077
  ] }),
1068
1078
  a && /* @__PURE__ */ r.jsx("div", { children: n })
1069
1079
  ] });
1070
- }, en = ({ label: t, onClick: n, button: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
1080
+ }, nn = ({ label: t, onClick: n, button: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
1071
1081
  /* @__PURE__ */ r.jsx("dt", { children: t }),
1072
1082
  /* @__PURE__ */ r.jsx("dd", { role: "button", onClick: () => n(), children: a })
1073
- ] }) }), tn = ({ active: t, onClick: n }) => (console.log(t), t = typeof t == "number" ? !!t : t, /* @__PURE__ */ r.jsx(
1083
+ ] }) }), sn = ({ active: t, onClick: n }) => (console.log(t), t = typeof t == "number" ? !!t : t, /* @__PURE__ */ r.jsx(
1074
1084
  "div",
1075
1085
  {
1076
1086
  role: "switch",
@@ -1079,25 +1089,25 @@ const Gr = ({
1079
1089
  },
1080
1090
  "aria-checked": t ? "true" : "false"
1081
1091
  }
1082
- )), rn = { Switch: tn }, nn = ({ label: t, onClick: n, active: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
1092
+ )), an = { Switch: sn }, on = ({ label: t, onClick: n, active: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
1083
1093
  /* @__PURE__ */ r.jsx("dt", { children: t }),
1084
- /* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(rn.Switch, { onClick: n, active: a }) })
1085
- ] }) }), sn = ({ label: t, active: n, options: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
1094
+ /* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(an.Switch, { onClick: n, active: a }) })
1095
+ ] }) }), cn = ({ label: t, active: n, options: a }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
1086
1096
  /* @__PURE__ */ r.jsx("dt", { children: t }),
1087
1097
  /* @__PURE__ */ r.jsx("dd", { role: "info", children: n })
1088
- ] }) }), an = ({ label: t, info: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
1098
+ ] }) }), ln = ({ label: t, info: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
1089
1099
  /* @__PURE__ */ r.jsx("dt", { children: t }),
1090
1100
  /* @__PURE__ */ r.jsx("dd", { role: "info", children: n })
1091
- ] }) }), on = ({ label: t, children: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
1101
+ ] }) }), un = ({ label: t, children: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
1092
1102
  /* @__PURE__ */ r.jsx("dt", { children: t }),
1093
1103
  /* @__PURE__ */ r.jsx("dd", { children: n })
1094
- ] }) }), cn = ({ label: t, children: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
1104
+ ] }) }), fn = ({ label: t, children: n }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
1095
1105
  /* @__PURE__ */ r.jsx("dt", { children: t }),
1096
1106
  /* @__PURE__ */ r.jsx("dd", { children: n })
1097
- ] }) }), ln = { Accordion: Qr, Button: en, Switch: nn, Info: an, Select: sn, Component: on, Node: cn };
1098
- function We({ list: t, onClick: n, active: a, size: i, view: v }) {
1107
+ ] }) }), dn = { Accordion: rn, Button: nn, Switch: on, Info: ln, Select: cn, Component: un, Node: fn };
1108
+ function Ue({ list: t, onClick: n, active: a, size: i, view: v }) {
1099
1109
  return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i, v].join(" "), children: t.map((p) => /* @__PURE__ */ r.jsx(
1100
- un,
1110
+ mn,
1101
1111
  {
1102
1112
  onClick: n,
1103
1113
  active: a,
@@ -1107,24 +1117,24 @@ function We({ list: t, onClick: n, active: a, size: i, view: v }) {
1107
1117
  p.link
1108
1118
  )) }) });
1109
1119
  }
1110
- const un = ({ onClick: t, label: n, link: a, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === a), onClick: () => t(a), children: n });
1111
- We.defaultProps = { size: "M", view: "H" };
1112
- const Cn = { Section: Gr, Main: Xr, Item: ln, Tabs: We }, fn = "_h_1b5x7_1", dn = "_t_1b5x7_10", _n = "_s_1b5x7_28", mn = "_u_1b5x7_37", vn = "_o_1b5x7_44", hn = "_l_1b5x7_53", xn = "_hh_1b5x7_60", D = {
1113
- h: fn,
1114
- t: dn,
1115
- s: _n,
1116
- u: mn,
1117
- o: vn,
1118
- l: hn,
1119
- hh: xn
1120
- }, De = ({ title: t, children: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.h, children: [
1120
+ const mn = ({ onClick: t, label: n, link: a, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === a), onClick: () => t(a), children: n });
1121
+ Ue.defaultProps = { size: "M", view: "H" };
1122
+ const Rn = { Section: Xr, Main: tn, Item: dn, Tabs: Ue }, _n = "_h_1b5x7_1", vn = "_t_1b5x7_10", hn = "_s_1b5x7_28", xn = "_u_1b5x7_37", pn = "_o_1b5x7_44", gn = "_l_1b5x7_53", bn = "_hh_1b5x7_60", D = {
1123
+ h: _n,
1124
+ t: vn,
1125
+ s: hn,
1126
+ u: xn,
1127
+ o: pn,
1128
+ l: gn,
1129
+ hh: bn
1130
+ }, Fe = ({ title: t, children: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.h, children: [
1121
1131
  /* @__PURE__ */ r.jsx("div", { className: D.t, children: t }),
1122
1132
  n
1123
- ] }), pn = ({ children: t, title: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.o, children: [
1133
+ ] }), jn = ({ children: t, title: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.o, children: [
1124
1134
  n && /* @__PURE__ */ r.jsx("div", { className: D.hh, children: n }),
1125
1135
  t
1126
- ] }), gn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.u, children: t }), Fe = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.s, children: t }), Me = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("div", { className: D.l, children: t }), Sn = { Header: De, Section: Fe, List: Me, U: gn, L: Me, O: pn, S: Fe, H: De }, En = { Send: Ot, Error: $t, Remark: zt, Success: At, Copy: Nt }, Rn = { Send: Vt };
1127
- function bn() {
1136
+ ] }), yn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.u, children: t }), Me = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.s, children: t }), Le = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("div", { className: D.l, children: t }), kn = { Header: Fe, Section: Me, List: Le, U: yn, L: Le, O: jn, S: Me, H: Fe }, wn = { Send: At, Error: zt, Remark: Dt, Success: Nt, Copy: Ft }, Tn = { Send: qt };
1137
+ function Cn() {
1128
1138
  return /* @__PURE__ */ r.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ r.jsx(
1129
1139
  "path",
1130
1140
  {
@@ -1133,19 +1143,19 @@ function bn() {
1133
1143
  }
1134
1144
  ) });
1135
1145
  }
1136
- const kn = { Logo: bn }, wn = { setSSID: Sr, getSSID: Er, Logaut: le, setAUTH: Rr, getAUTH: kr, Start: Cr }, Tn = { Path: Lr, setPage: Tr, getPage: Le, usePage: wr, setModule: Ir, getModule: Or, useModule: Pr, setTabs: Ar, getTabs: zr, useTabs: $r, useId: Nr, setId: Fr, subId: Dr, getId: Mr };
1146
+ const Pn = { Logo: Cn }, In = { setSSID: Rr, getSSID: kr, Logaut: ee, setAUTH: wr, getAUTH: Tr, Start: Er, setSetting: Yr, getSetting: Ur }, On = { Path: Wr, setPage: Ir, getPage: We, usePage: Pr, setModule: $r, getModule: Ye, useModule: Or, setTabs: zr, getTabs: Nr, useTabs: Ar, useId: Dr, setId: Mr, subId: Fr, getId: Lr };
1137
1147
  export {
1138
- rn as Action,
1139
- Rn as Alert,
1140
- yn as Browser,
1141
- Ht as Button,
1142
- Sn as Component,
1143
- kn as Icon,
1144
- Wr as Init,
1145
- jr as Modal,
1146
- En as Notice,
1147
- Tn as Router,
1148
- Cn as Setting,
1149
- wn as Store,
1150
- Hr as Tabs
1148
+ an as Action,
1149
+ Tn as Alert,
1150
+ En as Browser,
1151
+ Gt as Button,
1152
+ kn as Component,
1153
+ Pn as Icon,
1154
+ Vr as Init,
1155
+ Cr as Modal,
1156
+ wn as Notice,
1157
+ On as Router,
1158
+ Rn as Setting,
1159
+ In as Store,
1160
+ Zr as Tabs
1151
1161
  };