elcrm 0.3.0 → 0.3.1

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
@@ -10,11 +10,11 @@ var le = { exports: {} }, B = {};
10
10
  * This source code is licensed under the MIT license found in the
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
- var Ne;
14
- function Et() {
15
- if (Ne)
13
+ var ze;
14
+ function Rt() {
15
+ if (ze)
16
16
  return B;
17
- Ne = 1;
17
+ ze = 1;
18
18
  var t = g, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, _ = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
19
19
  function k(b, x, O) {
20
20
  var j, y = {}, T = null, G = null;
@@ -38,14 +38,14 @@ var q = {};
38
38
  * This source code is licensed under the MIT license found in the
39
39
  * LICENSE file in the root directory of this source tree.
40
40
  */
41
- var De;
42
- function Rt() {
43
- return De || (De = 1, process.env.NODE_ENV !== "production" && function() {
44
- var t = g, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), O = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), G = Symbol.for("react.offscreen"), de = Symbol.iterator, Ve = "@@iterator";
45
- function Be(e) {
41
+ var Ne;
42
+ function wt() {
43
+ return Ne || (Ne = 1, process.env.NODE_ENV !== "production" && function() {
44
+ var t = g, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), b = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), O = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), G = Symbol.for("react.offscreen"), ue = Symbol.iterator, Be = "@@iterator";
45
+ function qe(e) {
46
46
  if (e === null || typeof e != "object")
47
47
  return null;
48
- var s = de && e[de] || e[Ve];
48
+ var s = ue && e[ue] || e[Be];
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;
@@ -53,10 +53,10 @@ function Rt() {
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
- qe("error", e, o);
56
+ He("error", e, o);
57
57
  }
58
58
  }
59
- function qe(e, s, o) {
59
+ function He(e, s, o) {
60
60
  {
61
61
  var c = F.ReactDebugCurrentFrame, f = c.getStackAddendum();
62
62
  f !== "" && (s += "%s", o = o.concat([f]));
@@ -66,23 +66,23 @@ function Rt() {
66
66
  m.unshift("Warning: " + s), Function.prototype.apply.call(console[e], console, m);
67
67
  }
68
68
  }
69
- var He = !1, Je = !1, Ge = !1, Ze = !1, Ke = !1, fe;
70
- fe = Symbol.for("react.module.reference");
71
- function Xe(e) {
72
- return !!(typeof e == "string" || typeof e == "function" || e === i || e === h || Ke || e === _ || e === O || e === j || Ze || e === G || He || Je || Ge || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === y || e.$$typeof === k || e.$$typeof === b || e.$$typeof === x || // This needs to include all possible module reference object
69
+ var Je = !1, Ge = !1, Ze = !1, Ke = !1, Xe = !1, de;
70
+ de = Symbol.for("react.module.reference");
71
+ function Qe(e) {
72
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === h || Xe || e === _ || e === O || e === j || Ke || e === G || Je || Ge || Ze || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === y || e.$$typeof === k || e.$$typeof === b || 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
- e.$$typeof === fe || e.getModuleId !== void 0));
76
+ e.$$typeof === de || e.getModuleId !== void 0));
77
77
  }
78
- function Qe(e, s, o) {
78
+ function et(e, s, o) {
79
79
  var c = e.displayName;
80
80
  if (c)
81
81
  return c;
82
82
  var f = s.displayName || s.name || "";
83
83
  return f !== "" ? o + "(" + f + ")" : o;
84
84
  }
85
- function me(e) {
85
+ function fe(e) {
86
86
  return e.displayName || "Context";
87
87
  }
88
88
  function I(e) {
@@ -110,12 +110,12 @@ function Rt() {
110
110
  switch (e.$$typeof) {
111
111
  case b:
112
112
  var s = e;
113
- return me(s) + ".Consumer";
113
+ return fe(s) + ".Consumer";
114
114
  case k:
115
115
  var o = e;
116
- return me(o._context) + ".Provider";
116
+ return fe(o._context) + ".Provider";
117
117
  case x:
118
- return Qe(e, e.render, "ForwardRef");
118
+ return et(e, e.render, "ForwardRef");
119
119
  case y:
120
120
  var c = e.displayName || null;
121
121
  return c !== null ? c : I(e.type) || "Memo";
@@ -130,18 +130,18 @@ function Rt() {
130
130
  }
131
131
  return null;
132
132
  }
133
- var z = Object.assign, U = 0, _e, ve, he, pe, xe, ge, be;
134
- function je() {
133
+ var z = Object.assign, U = 0, me, _e, ve, he, pe, xe, ge;
134
+ function be() {
135
135
  }
136
- je.__reactDisabledLog = !0;
137
- function et() {
136
+ be.__reactDisabledLog = !0;
137
+ function tt() {
138
138
  {
139
139
  if (U === 0) {
140
- _e = console.log, ve = console.info, he = console.warn, pe = console.error, xe = console.group, ge = console.groupCollapsed, be = console.groupEnd;
140
+ me = console.log, _e = console.info, ve = console.warn, he = console.error, pe = console.group, xe = console.groupCollapsed, ge = console.groupEnd;
141
141
  var e = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
144
- value: je,
144
+ value: be,
145
145
  writable: !0
146
146
  };
147
147
  Object.defineProperties(console, {
@@ -157,7 +157,7 @@ function Rt() {
157
157
  U++;
158
158
  }
159
159
  }
160
- function tt() {
160
+ function rt() {
161
161
  {
162
162
  if (U--, U === 0) {
163
163
  var e = {
@@ -167,25 +167,25 @@ function Rt() {
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: ve
173
+ value: _e
174
174
  }),
175
175
  warn: z({}, e, {
176
- value: he
176
+ value: ve
177
177
  }),
178
178
  error: z({}, e, {
179
- value: pe
179
+ value: he
180
180
  }),
181
181
  group: z({}, e, {
182
- value: xe
182
+ value: pe
183
183
  }),
184
184
  groupCollapsed: z({}, e, {
185
- value: ge
185
+ value: xe
186
186
  }),
187
187
  groupEnd: z({}, e, {
188
- value: be
188
+ value: ge
189
189
  })
190
190
  });
191
191
  }
@@ -208,10 +208,10 @@ function Rt() {
208
208
  }
209
209
  var ne = !1, K;
210
210
  {
211
- var rt = typeof WeakMap == "function" ? WeakMap : Map;
212
- K = new rt();
211
+ var nt = typeof WeakMap == "function" ? WeakMap : Map;
212
+ K = new nt();
213
213
  }
214
- function ye(e, s) {
214
+ function je(e, s) {
215
215
  if (!e || ne)
216
216
  return "";
217
217
  {
@@ -224,7 +224,7 @@ function Rt() {
224
224
  var f = Error.prepareStackTrace;
225
225
  Error.prepareStackTrace = void 0;
226
226
  var m;
227
- m = te.current, te.current = null, et();
227
+ m = te.current, te.current = null, tt();
228
228
  try {
229
229
  if (s) {
230
230
  var d = function() {
@@ -277,15 +277,15 @@ function Rt() {
277
277
  }
278
278
  }
279
279
  } finally {
280
- ne = !1, te.current = m, tt(), Error.prepareStackTrace = f;
280
+ ne = !1, te.current = m, rt(), Error.prepareStackTrace = f;
281
281
  }
282
- var L = e ? e.displayName || e.name : "", ze = L ? Z(L) : "";
283
- return typeof e == "function" && K.set(e, ze), ze;
282
+ var L = e ? e.displayName || e.name : "", Ae = L ? Z(L) : "";
283
+ return typeof e == "function" && K.set(e, Ae), Ae;
284
284
  }
285
- function nt(e, s, o) {
286
- return ye(e, !1);
285
+ function st(e, s, o) {
286
+ return je(e, !1);
287
287
  }
288
- function st(e) {
288
+ function at(e) {
289
289
  var s = e.prototype;
290
290
  return !!(s && s.isReactComponent);
291
291
  }
@@ -293,7 +293,7 @@ function Rt() {
293
293
  if (e == null)
294
294
  return "";
295
295
  if (typeof e == "function")
296
- return ye(e, st(e));
296
+ return je(e, at(e));
297
297
  if (typeof e == "string")
298
298
  return Z(e);
299
299
  switch (e) {
@@ -305,7 +305,7 @@ function Rt() {
305
305
  if (typeof e == "object")
306
306
  switch (e.$$typeof) {
307
307
  case x:
308
- return nt(e.render);
308
+ return st(e.render);
309
309
  case y:
310
310
  return X(e.type, s, o);
311
311
  case T: {
@@ -318,15 +318,15 @@ function Rt() {
318
318
  }
319
319
  return "";
320
320
  }
321
- var Q = Object.prototype.hasOwnProperty, Ce = {}, Se = F.ReactDebugCurrentFrame;
321
+ var Q = Object.prototype.hasOwnProperty, ye = {}, Ce = F.ReactDebugCurrentFrame;
322
322
  function ee(e) {
323
323
  if (e) {
324
324
  var s = e._owner, o = X(e.type, e._source, s ? s.type : null);
325
- Se.setExtraStackFrame(o);
325
+ Ce.setExtraStackFrame(o);
326
326
  } else
327
- Se.setExtraStackFrame(null);
327
+ Ce.setExtraStackFrame(null);
328
328
  }
329
- function at(e, s, o, c, f) {
329
+ function ot(e, s, o, c, f) {
330
330
  {
331
331
  var m = Function.call.bind(Q);
332
332
  for (var d in e)
@@ -341,42 +341,42 @@ function Rt() {
341
341
  } catch (v) {
342
342
  u = v;
343
343
  }
344
- u && !(u instanceof Error) && (ee(f), C("%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, d, typeof u), ee(null)), u instanceof Error && !(u.message in Ce) && (Ce[u.message] = !0, ee(f), C("Failed %s type: %s", o, u.message), ee(null));
344
+ u && !(u instanceof Error) && (ee(f), C("%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, d, typeof u), ee(null)), u instanceof Error && !(u.message in ye) && (ye[u.message] = !0, ee(f), C("Failed %s type: %s", o, u.message), ee(null));
345
345
  }
346
346
  }
347
347
  }
348
- var ot = Array.isArray;
348
+ var it = Array.isArray;
349
349
  function se(e) {
350
- return ot(e);
350
+ return it(e);
351
351
  }
352
- function it(e) {
352
+ function ct(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 ct(e) {
358
+ function lt(e) {
359
359
  try {
360
- return Ee(e), !1;
360
+ return Se(e), !1;
361
361
  } catch {
362
362
  return !0;
363
363
  }
364
364
  }
365
- function Ee(e) {
365
+ function Se(e) {
366
366
  return "" + e;
367
367
  }
368
- function Re(e) {
369
- if (ct(e))
370
- return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", it(e)), Ee(e);
368
+ function Ee(e) {
369
+ if (lt(e))
370
+ return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ct(e)), Se(e);
371
371
  }
372
- var V = F.ReactCurrentOwner, lt = {
372
+ var V = F.ReactCurrentOwner, ut = {
373
373
  key: !0,
374
374
  ref: !0,
375
375
  __self: !0,
376
376
  __source: !0
377
- }, we, ke, ae;
377
+ }, Re, we, ae;
378
378
  ae = {};
379
- function ut(e) {
379
+ function dt(e) {
380
380
  if (Q.call(e, "ref")) {
381
381
  var s = Object.getOwnPropertyDescriptor(e, "ref").get;
382
382
  if (s && s.isReactWarning)
@@ -384,7 +384,7 @@ function Rt() {
384
384
  }
385
385
  return e.ref !== void 0;
386
386
  }
387
- function dt(e) {
387
+ function ft(e) {
388
388
  if (Q.call(e, "key")) {
389
389
  var s = Object.getOwnPropertyDescriptor(e, "key").get;
390
390
  if (s && s.isReactWarning)
@@ -392,16 +392,16 @@ function Rt() {
392
392
  }
393
393
  return e.key !== void 0;
394
394
  }
395
- function ft(e, s) {
395
+ function mt(e, s) {
396
396
  if (typeof e.ref == "string" && V.current && s && V.current.stateNode !== s) {
397
397
  var o = I(V.current.type);
398
398
  ae[o] || (C('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', I(V.current.type), e.ref), ae[o] = !0);
399
399
  }
400
400
  }
401
- function mt(e, s) {
401
+ function _t(e, s) {
402
402
  {
403
403
  var o = function() {
404
- we || (we = !0, C("%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, C("%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 Rt() {
409
409
  });
410
410
  }
411
411
  }
412
- function _t(e, s) {
412
+ function vt(e, s) {
413
413
  {
414
414
  var o = function() {
415
- ke || (ke = !0, C("%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
+ we || (we = !0, C("%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 Rt() {
420
420
  });
421
421
  }
422
422
  }
423
- var vt = function(e, s, o, c, f, m, d) {
423
+ var ht = function(e, s, o, c, f, m, d) {
424
424
  var u = {
425
425
  // This tag allows us to uniquely identify this as a React Element
426
426
  $$typeof: n,
@@ -449,12 +449,12 @@ function Rt() {
449
449
  value: f
450
450
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
451
451
  };
452
- function ht(e, s, o, c, f) {
452
+ function pt(e, s, o, c, f) {
453
453
  {
454
454
  var m, d = {}, u = null, S = null;
455
- o !== void 0 && (Re(o), u = "" + o), dt(s) && (Re(s.key), u = "" + s.key), ut(s) && (S = s.ref, ft(s, f));
455
+ o !== void 0 && (Ee(o), u = "" + o), ft(s) && (Ee(s.key), u = "" + s.key), dt(s) && (S = s.ref, mt(s, f));
456
456
  for (m in s)
457
- Q.call(s, m) && !lt.hasOwnProperty(m) && (d[m] = s[m]);
457
+ Q.call(s, m) && !ut.hasOwnProperty(m) && (d[m] = s[m]);
458
458
  if (e && e.defaultProps) {
459
459
  var v = e.defaultProps;
460
460
  for (m in v)
@@ -462,25 +462,25 @@ function Rt() {
462
462
  }
463
463
  if (u || S) {
464
464
  var p = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
465
- u && mt(d, p), S && _t(d, p);
465
+ u && _t(d, p), S && vt(d, p);
466
466
  }
467
- return vt(e, u, S, f, c, V.current, d);
467
+ return ht(e, u, S, f, c, V.current, d);
468
468
  }
469
469
  }
470
- var oe = F.ReactCurrentOwner, Te = F.ReactDebugCurrentFrame;
470
+ var oe = F.ReactCurrentOwner, ke = F.ReactDebugCurrentFrame;
471
471
  function M(e) {
472
472
  if (e) {
473
473
  var s = e._owner, o = X(e.type, e._source, s ? s.type : null);
474
- Te.setExtraStackFrame(o);
474
+ ke.setExtraStackFrame(o);
475
475
  } else
476
- Te.setExtraStackFrame(null);
476
+ ke.setExtraStackFrame(null);
477
477
  }
478
478
  var ie;
479
479
  ie = !1;
480
480
  function ce(e) {
481
481
  return typeof e == "object" && e !== null && e.$$typeof === n;
482
482
  }
483
- function Ie() {
483
+ function Te() {
484
484
  {
485
485
  if (oe.current) {
486
486
  var e = I(oe.current.type);
@@ -492,7 +492,7 @@ Check the render method of \`` + e + "`.";
492
492
  return "";
493
493
  }
494
494
  }
495
- function pt(e) {
495
+ function xt(e) {
496
496
  {
497
497
  if (e !== void 0) {
498
498
  var s = e.fileName.replace(/^.*[\\\/]/, ""), o = e.lineNumber;
@@ -503,10 +503,10 @@ Check your code at ` + s + ":" + o + ".";
503
503
  return "";
504
504
  }
505
505
  }
506
- var Pe = {};
507
- function xt(e) {
506
+ var Ie = {};
507
+ function gt(e) {
508
508
  {
509
- var s = Ie();
509
+ var s = Te();
510
510
  if (!s) {
511
511
  var o = typeof e == "string" ? e : e.displayName || e.name;
512
512
  o && (s = `
@@ -516,39 +516,39 @@ Check the top-level render call using <` + o + ">.");
516
516
  return s;
517
517
  }
518
518
  }
519
- function Oe(e, s) {
519
+ function Pe(e, s) {
520
520
  {
521
521
  if (!e._store || e._store.validated || e.key != null)
522
522
  return;
523
523
  e._store.validated = !0;
524
- var o = xt(s);
525
- if (Pe[o])
524
+ var o = gt(s);
525
+ if (Ie[o])
526
526
  return;
527
- Pe[o] = !0;
527
+ Ie[o] = !0;
528
528
  var c = "";
529
529
  e && e._owner && e._owner !== oe.current && (c = " It was passed a child from " + I(e._owner.type) + "."), M(e), C('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
- function $e(e, s) {
532
+ function Oe(e, s) {
533
533
  {
534
534
  if (typeof e != "object")
535
535
  return;
536
536
  if (se(e))
537
537
  for (var o = 0; o < e.length; o++) {
538
538
  var c = e[o];
539
- ce(c) && Oe(c, s);
539
+ ce(c) && Pe(c, s);
540
540
  }
541
541
  else if (ce(e))
542
542
  e._store && (e._store.validated = !0);
543
543
  else if (e) {
544
- var f = Be(e);
544
+ var f = qe(e);
545
545
  if (typeof f == "function" && f !== e.entries)
546
546
  for (var m = f.call(e), d; !(d = m.next()).done; )
547
- ce(d.value) && Oe(d.value, s);
547
+ ce(d.value) && Pe(d.value, s);
548
548
  }
549
549
  }
550
550
  }
551
- function gt(e) {
551
+ function bt(e) {
552
552
  {
553
553
  var s = e.type;
554
554
  if (s == null || typeof s == "string")
@@ -564,7 +564,7 @@ Check the top-level render call using <` + o + ">.");
564
564
  return;
565
565
  if (o) {
566
566
  var c = I(s);
567
- at(o, e.props, "prop", c, e);
567
+ ot(o, e.props, "prop", c, e);
568
568
  } else if (s.PropTypes !== void 0 && !ie) {
569
569
  ie = !0;
570
570
  var f = I(s);
@@ -573,7 +573,7 @@ Check the top-level render call using <` + o + ">.");
573
573
  typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
574
574
  }
575
575
  }
576
- function bt(e) {
576
+ function jt(e) {
577
577
  {
578
578
  for (var s = Object.keys(e.props), o = 0; o < s.length; o++) {
579
579
  var c = s[o];
@@ -585,18 +585,18 @@ Check the top-level render call using <` + o + ">.");
585
585
  e.ref !== null && (M(e), C("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
586
586
  }
587
587
  }
588
- function Ae(e, s, o, c, f, m) {
588
+ function $e(e, s, o, c, f, m) {
589
589
  {
590
- var d = Xe(e);
590
+ var d = Qe(e);
591
591
  if (!d) {
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 S = pt(f);
595
- S ? u += S : u += Ie();
594
+ var S = xt(f);
595
+ S ? u += S : u += Te();
596
596
  var v;
597
597
  e === null ? v = "null" : se(e) ? v = "array" : e !== void 0 && e.$$typeof === n ? (v = "<" + (I(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : v = typeof e, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", v, u);
598
598
  }
599
- var p = ht(e, s, o, f, m);
599
+ var p = pt(e, s, o, f, m);
600
600
  if (p == null)
601
601
  return p;
602
602
  if (d) {
@@ -605,45 +605,45 @@ Check the top-level render call using <` + o + ">.");
605
605
  if (c)
606
606
  if (se(E)) {
607
607
  for (var L = 0; L < E.length; L++)
608
- $e(E[L], e);
608
+ Oe(E[L], e);
609
609
  Object.freeze && Object.freeze(E);
610
610
  } else
611
611
  C("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
- $e(E, e);
613
+ Oe(E, e);
614
614
  }
615
- return e === i ? bt(p) : gt(p), p;
615
+ return e === i ? jt(p) : bt(p), p;
616
616
  }
617
617
  }
618
- function jt(e, s, o) {
619
- return Ae(e, s, o, !0);
620
- }
621
618
  function yt(e, s, o) {
622
- return Ae(e, s, o, !1);
619
+ return $e(e, s, o, !0);
623
620
  }
624
- var Ct = yt, St = jt;
625
- q.Fragment = i, q.jsx = Ct, q.jsxs = St;
621
+ function Ct(e, s, o) {
622
+ return $e(e, s, o, !1);
623
+ }
624
+ var St = Ct, Et = yt;
625
+ q.Fragment = i, q.jsx = St, q.jsxs = Et;
626
626
  }()), q;
627
627
  }
628
- process.env.NODE_ENV === "production" ? le.exports = Et() : le.exports = Rt();
628
+ process.env.NODE_ENV === "production" ? le.exports = Rt() : le.exports = wt();
629
629
  var r = le.exports;
630
- const wt = "_notice_820sc_2", kt = "_error_820sc_9", Tt = "_success_820sc_12", It = "_remark_820sc_15", Pt = "_copy_820sc_18", Ot = {
631
- notice: wt,
632
- error: kt,
633
- success: Tt,
634
- remark: It,
635
- copy: Pt,
630
+ const kt = "_notice_820sc_2", Tt = "_error_820sc_9", It = "_success_820sc_12", Pt = "_remark_820sc_15", Ot = "_copy_820sc_18", $t = {
631
+ notice: kt,
632
+ error: Tt,
633
+ success: It,
634
+ remark: Pt,
635
+ copy: Ot,
636
636
  "show-notice": "_show-notice_820sc_1",
637
637
  "hide-notice": "_hide-notice_820sc_1"
638
638
  };
639
639
  let A = {};
640
- function $t() {
640
+ function At() {
641
641
  let [t, n] = g.useState([]);
642
642
  return A.set = (a) => {
643
643
  n([...t, a]);
644
644
  }, A.del = (a) => {
645
645
  n(t.filter((i) => i.key !== a));
646
- }, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: Ot.notice, children: t.map((a) => a.item) });
646
+ }, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: $t.notice, children: t.map((a) => a.item) });
647
647
  }
648
648
  function J({ data: t }) {
649
649
  let [n, a] = g.useState("show");
@@ -678,23 +678,23 @@ function J({ data: t }) {
678
678
  /* @__PURE__ */ r.jsx("p", { children: t.text })
679
679
  ] });
680
680
  }
681
- function At(t) {
681
+ function zt(t) {
682
682
  let n = Date.now(), a = { key: n, ...t };
683
683
  A.set({ item: /* @__PURE__ */ r.jsx(J, { data: a }, n), key: n });
684
684
  }
685
- function zt(t) {
685
+ function Nt(t) {
686
686
  let n = Date.now(), a = { key: n, text: t, type: "error" };
687
687
  A.set({ item: /* @__PURE__ */ r.jsx(J, { data: a }, n), key: n });
688
688
  }
689
- function Nt(t) {
689
+ function Dt(t) {
690
690
  let n = Date.now(), a = { key: n, text: t, type: "success" };
691
691
  A.set({ item: /* @__PURE__ */ r.jsx(J, { data: a }, n), key: n });
692
692
  }
693
- function Dt(t) {
693
+ function Ft(t) {
694
694
  let n = Date.now(), a = { key: n, text: t, type: "remark" };
695
695
  A.set({ item: /* @__PURE__ */ r.jsx(J, { data: a }, n), key: n });
696
696
  }
697
- function Ft(t) {
697
+ function Mt(t) {
698
698
  let n = Date.now(), a = { key: n, text: t, type: "copy" };
699
699
  A.set({ item: /* @__PURE__ */ r.jsx(J, { data: a }, n), key: n });
700
700
  }
@@ -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 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,
734
+ const Lt = "_alerts_1e9y0_1", Wt = "_menuAnimation_1e9y0_1", Yt = "_menuItemAnimation_1e9y0_1", Ut = "_allert_1e9y0_111", Vt = {
735
+ alerts: Lt,
736
+ menuAnimation: Wt,
737
+ menuItemAnimation: Yt,
738
738
  "--body": "_--body_1e9y0_103",
739
- allert: Yt,
739
+ allert: Ut,
740
740
  "--form": "_--form_1e9y0_111"
741
741
  };
742
742
  let H = {};
743
- function Vt() {
743
+ function Bt() {
744
744
  let [t, n] = g.useState("");
745
745
  return H.set = (a) => n(a), H.del = () => n(""), /* @__PURE__ */ r.jsx(r.Fragment, { children: t });
746
746
  }
747
- const Bt = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "Подтвердить" : t.button, /* @__PURE__ */ r.jsxs("div", { className: Ut.alerts, children: [
747
+ const qt = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "Подтвердить" : t.button, /* @__PURE__ */ r.jsxs("div", { className: Vt.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 Bt = ({ data: t, callback: n }) => (t.button = t.button === void 0 ? "По
761
761
  ] }),
762
762
  /* @__PURE__ */ r.jsx("div", { className: "--body", onClick: H.del })
763
763
  ] }));
764
- function qt(t, n) {
765
- H.set(/* @__PURE__ */ r.jsx(Bt, { data: t, callback: n }));
764
+ function Ht(t, n) {
765
+ H.set(/* @__PURE__ */ r.jsx(qt, { data: t, callback: n }));
766
766
  }
767
- function Ht({ children: t }) {
767
+ function Jt({ children: t }) {
768
768
  return /* @__PURE__ */ r.jsx("div", { className: "l", children: /* @__PURE__ */ r.jsx("ul", { children: t }) });
769
769
  }
770
- function Jt({ children: t }) {
770
+ function Gt({ children: t }) {
771
771
  return /* @__PURE__ */ r.jsx("div", { className: "s", children: t });
772
772
  }
773
- const Gt = ({
773
+ const Zt = ({
774
774
  children: t,
775
775
  disabled: n,
776
776
  label: a,
@@ -780,45 +780,45 @@ const Gt = ({
780
780
  n || i && i(h);
781
781
  };
782
782
  return /* @__PURE__ */ r.jsx("button", { disabled: n, onClick: _, children: a });
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", dr = "_g_6ax6z_242", fr = "_confirm_6ax6z_320", mr = "_cancel_6ax6z_325", _r = "_disabled_6ax6z_330", vr = "_active_6ax6z_387", hr = "_coincidence_6ax6z_393", $ = {
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: dr,
783
+ }, Kt = "_white_6ax6z_14", Xt = "_black_6ax6z_26", Qt = "_shake_6ax6z_1", er = "_modal_6ax6z_73", tr = "_o_6ax6z_83", rr = "_w_6ax6z_14", nr = "_h_6ax6z_106", sr = "_l_6ax6z_120", ar = "_t_6ax6z_158", or = "_m_6ax6z_73", ir = "_x_6ax6z_166", cr = "_s_6ax6z_176", lr = "_c_6ax6z_181", ur = "_f_6ax6z_186", dr = "_btn_6ax6z_229", fr = "_g_6ax6z_242", mr = "_confirm_6ax6z_320", _r = "_cancel_6ax6z_325", vr = "_disabled_6ax6z_330", hr = "_active_6ax6z_387", pr = "_coincidence_6ax6z_393", $ = {
784
+ white: Kt,
785
+ black: Xt,
786
+ shake: Qt,
787
+ modal: er,
788
+ o: tr,
789
+ w: rr,
790
+ h: nr,
791
+ l: sr,
792
+ t: ar,
793
+ m: or,
794
+ x: ir,
795
+ s: cr,
796
+ c: lr,
797
+ f: ur,
798
+ btn: dr,
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: fr,
807
- cancel: mr,
808
- disabled: _r,
806
+ confirm: mr,
807
+ cancel: _r,
808
+ disabled: vr,
809
809
  await: "_await_6ax6z_337",
810
- active: vr,
811
- coincidence: hr
810
+ active: hr,
811
+ coincidence: pr
812
812
  };
813
813
  let W = {};
814
- const pr = ({ config: t }) => {
814
+ const xr = ({ config: t }) => {
815
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
- }, xr = ({
821
+ }, gr = ({
822
822
  children: t,
823
823
  title: n,
824
824
  button: a,
@@ -868,7 +868,7 @@ const pr = ({ config: t }) => {
868
868
  ] }),
869
869
  t,
870
870
  a !== void 0 ? /* @__PURE__ */ r.jsx(
871
- Gt,
871
+ Zt,
872
872
  {
873
873
  label: String(a.name),
874
874
  onClick: O
@@ -878,19 +878,19 @@ const pr = ({ config: t }) => {
878
878
  ]
879
879
  }
880
880
  ) : "" });
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 }) => {
881
+ }, br = (t) => {
882
+ W.add(/* @__PURE__ */ r.jsx(jr, { children: t }, String(Date.now())));
883
+ }, jr = ({ children: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: t }), yr = ({ type: t, name: n, params: a }) => {
884
884
  let [i, _] = g.useState(null);
885
885
  return g.useEffect(() => {
886
886
  W.config(t, n, a, _);
887
887
  }, [a.id]), /* @__PURE__ */ r.jsx(r.Fragment, { children: i });
888
- }, yr = (t, n, a) => {
888
+ }, Cr = (t, n, a) => {
889
889
  W.config(t, n, a);
890
- }, Cr = { List: Ht, Scroll: Jt, Init: pr, Main: xr, Add: gr, Icon: jr, Open: yr };
890
+ }, Sr = { List: Jt, Scroll: Gt, Init: xr, Main: gr, Add: br, Icon: yr, Open: Cr };
891
891
  let R = {};
892
- const l = {}, w = {}, Fe = {};
893
- function Sr(t, n) {
892
+ const l = {}, w = {}, De = {};
893
+ function Er(t, n) {
894
894
  if (R = t, localStorage.getItem("ssid")) {
895
895
  let i = sessionStorage.getItem("page");
896
896
  i ? (i = R.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");
@@ -927,7 +927,7 @@ function Y() {
927
927
  "sort"
928
928
  ].forEach((t) => localStorage.removeItem(t)), ["page"].forEach((t) => sessionStorage.removeItem(t)), window.location.reload();
929
929
  }
930
- function Er(t) {
930
+ function Rr(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
933
  R.enCode({
@@ -939,54 +939,54 @@ function Er(t) {
939
939
  })
940
940
  ), w.page(l.page);
941
941
  }
942
- function Rr(t) {
942
+ function wr(t) {
943
943
  return localStorage.setItem("ssid", t);
944
944
  }
945
- function wr() {
945
+ function kr() {
946
946
  let t = localStorage.getItem("ssid");
947
947
  return t !== "" && t !== "undefined" && t !== null ? localStorage.getItem("ssid") : (Y(), !1);
948
948
  }
949
- function kr(t) {
949
+ function Tr(t) {
950
950
  return localStorage.setItem("auth", t);
951
951
  }
952
- function Tr() {
952
+ function Ir() {
953
953
  let t = localStorage.getItem("auth");
954
954
  return t !== "" && t !== "undefined" && t !== null ? t : (Y(), !1);
955
955
  }
956
- function Ir() {
957
- const [t, n] = g.useState(Ye()), a = (i) => {
956
+ function Pr() {
957
+ const [t, n] = g.useState(We()), a = (i) => {
958
958
  n(i);
959
959
  };
960
960
  return w.page = a, [t];
961
961
  }
962
- function Pr(t) {
962
+ function Or(t) {
963
963
  l.page = t, sessionStorage.setItem("page", R.enCode(l)), w.page(t);
964
964
  }
965
- function Ye() {
965
+ function We() {
966
966
  return l.page;
967
967
  }
968
- function Or() {
969
- const [t, n] = g.useState(ue()), a = (i) => {
968
+ function $r() {
969
+ const [t, n] = g.useState(Ye()), a = (i) => {
970
970
  n(i);
971
971
  };
972
972
  return w.module = a, [t];
973
973
  }
974
- function $r(t, n) {
974
+ function Ar(t, n) {
975
975
  l.module = t, sessionStorage.setItem("page", R.enCode(l)), n !== "false" && w.module(t);
976
976
  }
977
- function ue() {
977
+ function Ye() {
978
978
  return l.module;
979
979
  }
980
- function Ar(t) {
981
- const [n, a] = g.useState(ue() || t), i = (_) => {
980
+ function zr(t) {
981
+ const [n, a] = g.useState(Ue() || t), i = (_) => {
982
982
  a(_);
983
983
  };
984
984
  return w.tabs = i, [n];
985
985
  }
986
- function zr(t, n) {
986
+ function Nr(t, n) {
987
987
  l.tab = t, sessionStorage.setItem("page", R.enCode(l)), n !== "false" && w.tabs(t);
988
988
  }
989
- function Nr() {
989
+ function Ue() {
990
990
  return l.tab;
991
991
  }
992
992
  function Dr() {
@@ -1008,7 +1008,7 @@ function Wr(t, n, a) {
1008
1008
  l.module = t, l.id = a, l.tab = n, sessionStorage.setItem("page", R.enCode(l)), w.module(t), w.tabs(n);
1009
1009
  }
1010
1010
  function Yr(t, n) {
1011
- Fe.data[t] = n, localStorage.setItem("sett", R.enCode(Fe.data));
1011
+ De.data[t] = n, localStorage.setItem("sett", R.enCode(De.data));
1012
1012
  }
1013
1013
  function Ur(t) {
1014
1014
  let n = localStorage.getItem("sett");
@@ -1032,10 +1032,10 @@ function Br() {
1032
1032
  } else
1033
1033
  return Y(), !1;
1034
1034
  }
1035
- const qr = ({ children: t, config: n, crypto: a, ...i }) => Sr(a, /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1036
- /* @__PURE__ */ r.jsx(Cr.Init, { config: n.modal }),
1037
- /* @__PURE__ */ r.jsx($t, {}),
1038
- /* @__PURE__ */ r.jsx(Vt, {}),
1035
+ const qr = ({ children: t, config: n, crypto: a, ...i }) => Er(a, /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1036
+ /* @__PURE__ */ r.jsx(Sr.Init, { config: n.modal }),
1037
+ /* @__PURE__ */ r.jsx(At, {}),
1038
+ /* @__PURE__ */ r.jsx(Bt, {}),
1039
1039
  t
1040
1040
  ] })), Hr = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("menu", { children: t }), Jr = ({ children: t, ...n }) => /* @__PURE__ */ r.jsxs("header", { children: [
1041
1041
  "xz",
@@ -1126,7 +1126,7 @@ const en = ({
1126
1126
  /* @__PURE__ */ r.jsx("dt", { children: t }),
1127
1127
  /* @__PURE__ */ r.jsx("dd", { children: n })
1128
1128
  ] }) }), _n = { Accordion: sn, Button: an, Switch: ln, Info: dn, Select: un, Component: fn, Node: mn };
1129
- function Ue({ list: t, onClick: n, active: a, size: i, view: _ }) {
1129
+ function Ve({ list: t, onClick: n, active: a, size: i, view: _ }) {
1130
1130
  return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [i, _].join(" "), children: t.map((h) => /* @__PURE__ */ r.jsx(
1131
1131
  vn,
1132
1132
  {
@@ -1139,8 +1139,8 @@ function Ue({ list: t, onClick: n, active: a, size: i, view: _ }) {
1139
1139
  )) }) });
1140
1140
  }
1141
1141
  const vn = ({ onClick: t, label: n, link: a, active: i }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(i === a), onClick: () => t(a), children: n });
1142
- Ue.defaultProps = { size: "M", view: "H" };
1143
- const kn = { Section: en, Main: nn, Item: _n, Tabs: Ue }, hn = "_h_1b5x7_1", pn = "_t_1b5x7_10", xn = "_s_1b5x7_28", gn = "_u_1b5x7_37", bn = "_o_1b5x7_44", jn = "_l_1b5x7_53", yn = "_hh_1b5x7_60", D = {
1142
+ Ve.defaultProps = { size: "M", view: "H" };
1143
+ const kn = { Section: en, Main: nn, Item: _n, Tabs: Ve }, hn = "_h_1b5x7_1", pn = "_t_1b5x7_10", xn = "_s_1b5x7_28", gn = "_u_1b5x7_37", bn = "_o_1b5x7_44", jn = "_l_1b5x7_53", yn = "_hh_1b5x7_60", D = {
1144
1144
  h: hn,
1145
1145
  t: pn,
1146
1146
  s: xn,
@@ -1148,13 +1148,13 @@ const kn = { Section: en, Main: nn, Item: _n, Tabs: Ue }, hn = "_h_1b5x7_1", pn
1148
1148
  o: bn,
1149
1149
  l: jn,
1150
1150
  hh: yn
1151
- }, Me = ({ title: t, children: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.h, children: [
1151
+ }, Fe = ({ title: t, children: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.h, children: [
1152
1152
  /* @__PURE__ */ r.jsx("div", { className: D.t, children: t }),
1153
1153
  n
1154
1154
  ] }), Cn = ({ children: t, title: n }) => /* @__PURE__ */ r.jsxs("div", { className: D.o, children: [
1155
1155
  n && /* @__PURE__ */ r.jsx("div", { className: D.hh, children: n }),
1156
1156
  t
1157
- ] }), Sn = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.u, children: t }), Le = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: D.s, children: t }), We = ({ children: t, ...n }) => /* @__PURE__ */ r.jsx("div", { className: D.l, children: t }), Tn = { Header: Me, Section: Le, List: We, U: Sn, L: We, O: Cn, S: Le, H: Me }, In = { Send: At, Error: zt, Remark: Dt, Success: Nt, Copy: Ft }, Pn = { Send: qt };
1157
+ ] }), Sn = ({ 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 }), Tn = { Header: Fe, Section: Me, List: Le, U: Sn, L: Le, O: Cn, S: Me, H: Fe }, In = { Send: zt, Error: Nt, Remark: Ft, Success: Dt, Copy: Mt }, Pn = { Send: Ht };
1158
1158
  function En() {
1159
1159
  return /* @__PURE__ */ r.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ r.jsx(
1160
1160
  "path",
@@ -1164,16 +1164,16 @@ function En() {
1164
1164
  }
1165
1165
  ) });
1166
1166
  }
1167
- const On = { Logo: En }, $n = { setSSID: Rr, getSSID: wr, Logaut: Y, setAUTH: kr, getAUTH: Tr, Start: Er, setSetting: Yr, getSetting: Ur, setMenu: Vr, getMenu: Br }, An = { Path: Wr, setPage: Pr, getPage: Ye, usePage: Ir, setModule: $r, getModule: ue, useModule: Or, setTabs: zr, getTabs: Nr, useTabs: Ar, useId: Dr, setId: Mr, subId: Fr, getId: Lr };
1167
+ const On = { Logo: En }, $n = { setSSID: wr, getSSID: kr, Logaut: Y, setAUTH: Tr, getAUTH: Ir, Start: Rr, setSetting: Yr, getSetting: Ur, setMenu: Vr, getMenu: Br }, An = { Path: Wr, setPage: Or, getPage: We, usePage: Pr, setModule: Ar, getModule: Ye, useModule: $r, setTabs: Nr, getTabs: Ue, useTabs: zr, useId: Dr, setId: Mr, subId: Fr, getId: Lr };
1168
1168
  export {
1169
1169
  cn as Action,
1170
1170
  Pn as Alert,
1171
1171
  wn as Browser,
1172
- Gt as Button,
1172
+ Zt as Button,
1173
1173
  Tn as Component,
1174
1174
  On as Icon,
1175
1175
  qr as Init,
1176
- Cr as Modal,
1176
+ Sr as Modal,
1177
1177
  In as Notice,
1178
1178
  An as Router,
1179
1179
  kn as Setting,
package/dist/index.umd.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(_,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],g):(_=typeof globalThis<"u"?globalThis:_||self,g((_.elCRM=_.elCRM||{},_.elCRM.components={}),_.React))})(this,function(_,g){"use strict";var fe=document.createElement("style");fe.textContent=`@charset "UTF-8";._notice_820sc_2{position:absolute;right:20px;top:72px;z-index:1111;font-family:Inter,sans-serif}._notice_820sc_2 ._error_820sc_9{color:#bb2014}._notice_820sc_2 ._success_820sc_12{color:#367738}._notice_820sc_2 ._remark_820sc_15{color:#b77513}._notice_820sc_2 ._copy_820sc_18{color:#3f51b5}._notice_820sc_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:5px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_820sc_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_820sc_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_820sc_1 1s 1;animation-fill-mode:forwards}._notice_820sc_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_820sc_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_820sc_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_820sc_1{0%{opacity:1}to{opacity:0}}._alerts_1e9y0_1{position:fixed;top:0;bottom:0;left:0;right:0;color:var(--system-color);background:#0000009e;z-index:30;display:flex;flex:1;align-content:center;justify-content:center}._alerts_1e9y0_1 dl{margin:auto;overflow:hidden;width:270px;height:auto;border-radius:12px;border:0;height:fit-content;z-index:1;background:var(--system-bg);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-animation:_menuAnimation_1e9y0_1 .4s 0s both;animation:_menuAnimation_1e9y0_1 .4s 0s both;list-style:none;padding-top:20px;font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017}._alerts_1e9y0_1 dt{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;text-align:center;text-transform:capitalize;font-weight:600;line-height:22px;margin:0 0 5px;padding:0 20px}._alerts_1e9y0_1 dd{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:13px;margin:0;text-align:center;line-height:16px;padding:0 20px 20px}._alerts_1e9y0_1 ul{border-top:1px solid var(--system-hr);width:100%;display:flex}._alerts_1e9y0_1 button{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:10px;cursor:pointer;text-align:center;font-weight:600;background:#0000;border-radius:0;display:block;width:-webkit-fill-available;-webkit-animation:_menuItemAnimation_1e9y0_1 .2s 0s both;animation:_menuItemAnimation_1e9y0_1 .2s 0s both;font-family:Inter,sans-serif;border:0}._alerts_1e9y0_1 button[color=blue]{color:#1b6ac0}._alerts_1e9y0_1 button[color=red]{color:#c21c0d}._alerts_1e9y0_1 button:hover{background:var(--system-hover)}._alerts_1e9y0_1 ._--body_1e9y0_103{position:fixed;top:0;bottom:0;left:0;right:0}._allert_1e9y0_111 ._--form_1e9y0_111{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:20px;border-bottom:1px solid var(--system-hr)}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade)}._white_6ax6z_14{--background: #e4ebf5;--shadow: #abb6d2;--shade: #fff;--color: #1f253d;--disabled: #9baacf;--text: #394264;--tinge: #3f51b50a;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px var(--shadow), -1px -1px 1px var(--shade)}._black_6ax6z_26{--background: #506290;--shadow: #1f253d;--shade: #394264;--color: #fff;--disabled: #29314c;--text: #abb6d2;--tinge: #00000026;--inset: inset 1px 1px 1px #394264, inset -1px -1px 1px #39426470;--outset: 1px 1px 1px #394264, -1px -1px 1px #39426470}[shake=true]{-webkit-animation-name:_shake_6ax6z_1;animation-name:_shake_6ax6z_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_6ax6z_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}[data-color-bg=fff1d6]{--inset: inset 1px 1px 1px #c9c1ac, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #c9c1ac, -1px -1px 1px var(--shade)}[data-color-bg=ffd9d9]{--inset: inset 1px 1px 1px #cdb0b1, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #cdb0b1, -1px -1px 1px var(--shade)}[data-color-bg=daffe5]{--inset: inset 1px 1px 1px #b6d2be, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #b6d2be, -1px -1px 1px var(--shade)}._modal_6ax6z_73{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._o_6ax6z_83{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b8}._w_6ax6z_14{box-shadow:5px 7px 18px #000000a8;background:var(--background);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap}._h_6ax6z_106{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_6ax6z_120{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_6ax6z_120 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_6ax6z_120 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_6ax6z_120 li:last-child{border-bottom:0}._l_6ax6z_120 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_6ax6z_158{padding-right:10px}._m_6ax6z_73{flex:1}._x_6ax6z_166{cursor:pointer;color:#1f253d;font-size:20px;opacity:.5;width:35px;border-radius:5px;text-align:center}._s_6ax6z_176{flex:1;overflow-y:scroll}._c_6ax6z_181{text-align:center;margin:20px}._f_6ax6z_186{padding:0 20px;display:flex;flex-direction:column}._f_6ax6z_186 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_6ax6z_186 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_6ax6z_186 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_6ax6z_186 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._x_6ax6z_166:hover{opacity:1}._btn_6ax6z_229{min-width:200px;margin:10px auto 20px;opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._g_6ax6z_242{display:flex;gap:10px}._c_6ax6z_181{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;cursor:pointer}._c_6ax6z_181:first-child{margin-left:20px}._c_6ax6z_181:last-child{margin-right:20px}._c_6ax6z_181:hover{opacity:1;background:var(--tinge)}._c_6ax6z_181 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_6ax6z_181 b{text-align:center;display:block;color:var(--color)}._c_6ax6z_181 p{text-align:center;font-size:15px;color:var(--text)}._btn_6ax6z_229:hover{opacity:1}._modal_6ax6z_73._size-a_6ax6z_294 ._w_6ax6z_14{width:auto}._modal_6ax6z_73._size-s_6ax6z_298 ._w_6ax6z_14{width:400px}._modal_6ax6z_73._size-m_6ax6z_302 ._w_6ax6z_14{width:500px}._modal_6ax6z_73._size-l_6ax6z_306 ._w_6ax6z_14{width:800px}._modal_6ax6z_73._size-x_6ax6z_310 ._w_6ax6z_14{width:1000px}._modal_6ax6z_73._size-f_6ax6z_314 ._w_6ax6z_14{width:100%;max-width:1200px;min-width:910px}._btn_6ax6z_229._confirm_6ax6z_320{background:#4caf50;color:#fff}._btn_6ax6z_229._cancel_6ax6z_325{background:#f44336;color:#fff}._btn_6ax6z_229._disabled_6ax6z_330,._btn_6ax6z_229._await_6ax6z_337{background:#efefef;color:#000;opacity:1;cursor:default}._m_6ax6z_73 big{position:absolute;margin:10px auto 20px;border-radius:5px;box-shadow:var(--outset);display:flex;top:-1px;right:55px}._m_6ax6z_73 big i{width:30px;height:30px;text-align:center;margin:3px;line-height:30px;cursor:pointer;border-radius:5px}._m_6ax6z_73 big i:hover{box-shadow:var(--inset)}._m_6ax6z_73 nav{width:fit-content;height:35px;margin:0 auto;box-shadow:var(--outset);border-radius:5px;display:flex}._m_6ax6z_73 span{border-radius:3px;flex:1 1;margin:2px;padding:0 10px;line-height:35px;color:var(--disabled);cursor:pointer}._m_6ax6z_73 span._active_6ax6z_387{box-shadow:var(--inset);color:var(--color)}._coincidence_6ax6z_393{position:fixed;right:20px;bottom:20px;z-index:1111;overflow-y:scroll;max-height:565px;padding-top:90px}._coincidence_6ax6z_393 span{display:block;width:300px;border-radius:5px;overflow:hidden;cursor:pointer;margin:10px 0;padding:10px;color:#1f253d}._coincidence_6ax6z_393 dl{display:flex;padding:0;margin:5px}._coincidence_6ax6z_393 dd{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0 10px}menu{border-radius:5px;overflow:hidden;display:flex;flex-direction:column;background:var(--contex);grid-area:m}._payment_1lxfv_1{background:#f44336;height:42px;border-radius:5px;color:#fff;font-weight:700;line-height:42px;margin-top:8px;grid-area:p;text-align:center}._setting_1r0pc_2{width:100%;overflow:auto}._setting_1r0pc_2 nav{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 nav ul{display:flex;justify-content:space-between;gap:1px}._setting_1r0pc_2 nav li{flex:1;text-align:center;background:var(--setting-bg);color:var(--setting-color);cursor:pointer;opacity:.7}._setting_1r0pc_2 nav li[tabs-active=true]{opacity:1}._setting_1r0pc_2 fieldset{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 legend{text-transform:uppercase;font-weight:300;font-size:1.3em}._setting_1r0pc_2 ul{margin:10px 0;color:#000;border-radius:8px;overflow:hidden;list-style-type:none;padding:0}._setting_1r0pc_2 li{font-size:20px;line-height:40px}._setting_1r0pc_2 dl{display:flex;margin:0 0 1px;align-items:center;padding-right:9px;background:var(--setting-bg);color:var(--setting-color)}._setting_1r0pc_2 dd{text-align:right;padding-left:15px;position:relative;display:flex;justify-content:center}._setting_1r0pc_2 dt{flex:1;padding:0 15px}._setting_1r0pc_2 article{padding-left:15px;color:var(--setting-bg);font-weight:100;font-size:14px}._setting_1r0pc_2 legend{color:var(--setting-bg);display:flex;justify-content:space-between;width:100%}._setting_1r0pc_2 svg{fill:var(--setting-color);width:15px;margin-left:10px}._setting_1r0pc_2 [data-close]{cursor:pointer;width:10px;height:10px;border-top:3px solid var(--setting-color);border-left:3px solid var(--setting-color);position:absolute;right:10px;top:3px;-webkit-transform:translate(0,-50%) rotate(45deg);-ms-transform:translate(0,-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}._setting_1r0pc_2 [data-close=false]{right:10px;top:0;-webkit-transform:translate(0,-50%) rotate(-135deg);-ms-transform:translate(0,-50%) rotate(-135deg);transform:translateY(-50%) rotate(-135deg)}._setting_1r0pc_2 [data-item=accordion]>div{margin-top:1px;background-color:var(--setting-bg)}._setting_1r0pc_2 [role=button]{font-size:13px;border-radius:5px;text-align:center;width:100px;line-height:30px;padding:0;cursor:pointer}._setting_1r0pc_2 [role=button]:hover{background:var(--setting-action)}._setting_1r0pc_2 [role=button-outline]{font-size:14px;border:1px solid;padding:3px 13px;border-radius:6px;cursor:pointer;text-transform:none}._setting_1r0pc_2 [role=button-outline]:hover{background:#00000038}._setting_1r0pc_2 [role=switch]{cursor:pointer;position:relative;width:44px;height:22px;border-radius:50px;vertical-align:text-bottom;transition:all .3s linear;margin:0}._setting_1r0pc_2 [role=switch]:after{content:"";position:absolute;left:4px;width:16px;height:16px;background-color:#fff;border-radius:50%;box-shadow:0 2px 2px #0000003d;transform:translate3d(0,3px,0);transition:all .2s ease-in-out}._setting_1r0pc_2 [role=switch]:before{content:"";position:absolute;left:0;width:42px;height:22px;background-color:#ddd;border-radius:11px;transition:all .25s linear}._setting_1r0pc_2 [role=switch][aria-checked=true]{background-color:#1f253d}._setting_1r0pc_2 [role=switch][aria-checked=true]:before{transform:translate3d(18px,2px,0) scale3d(0,0,0)}._setting_1r0pc_2 [role=switch][aria-checked=true]:after{transform:translate3d(19px,3px,0)}._h_1b5x7_1{background:var(--content);margin-bottom:2px;border-radius:5px 5px 0 0;line-height:35px;align-items:center;display:flex}._t_1b5x7_10{border-bottom:0;cursor:default;display:block;flex:1;margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px;font-size:14px!important;line-height:35px;font-weight:700;text-align:center;color:var(--label);position:relative;height:35px}._s_1b5x7_28{display:flex;flex:1;position:relative;overflow:hidden;border-radius:5px;flex-flow:column nowrap}._u_1b5x7_37{overflow:hidden;border-radius:0 0 5px 5px;background:var(--content);display:block}._o_1b5x7_44{overflow:hidden;position:relative;border-radius:5px;margin-top:5px;flex:1 1;background:var(--content)}._l_1b5x7_53{flex:1;overflow:hidden;overflow-y:scroll;background:var(--content)}._hh_1b5x7_60{background:#fff;display:block;flex:1 1;font-size:14px;line-height:35px;font-weight:700;text-align:center;color:#1f253d;border-bottom:1px solid #ddd;position:relative}
2
- `,document.head.appendChild(fe);var re={exports:{}},U={};/**
1
+ (function(_,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],g):(_=typeof globalThis<"u"?globalThis:_||self,g((_.elCRM=_.elCRM||{},_.elCRM.components={}),_.React))})(this,function(_,g){"use strict";var ue=document.createElement("style");ue.textContent=`@charset "UTF-8";._notice_820sc_2{position:absolute;right:20px;top:72px;z-index:1111;font-family:Inter,sans-serif}._notice_820sc_2 ._error_820sc_9{color:#bb2014}._notice_820sc_2 ._success_820sc_12{color:#367738}._notice_820sc_2 ._remark_820sc_15{color:#b77513}._notice_820sc_2 ._copy_820sc_18{color:#3f51b5}._notice_820sc_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:5px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_820sc_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_820sc_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_820sc_1 1s 1;animation-fill-mode:forwards}._notice_820sc_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_820sc_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_820sc_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_820sc_1{0%{opacity:1}to{opacity:0}}._alerts_1e9y0_1{position:fixed;top:0;bottom:0;left:0;right:0;color:var(--system-color);background:#0000009e;z-index:30;display:flex;flex:1;align-content:center;justify-content:center}._alerts_1e9y0_1 dl{margin:auto;overflow:hidden;width:270px;height:auto;border-radius:12px;border:0;height:fit-content;z-index:1;background:var(--system-bg);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-animation:_menuAnimation_1e9y0_1 .4s 0s both;animation:_menuAnimation_1e9y0_1 .4s 0s both;list-style:none;padding-top:20px;font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017}._alerts_1e9y0_1 dt{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;text-align:center;text-transform:capitalize;font-weight:600;line-height:22px;margin:0 0 5px;padding:0 20px}._alerts_1e9y0_1 dd{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:13px;margin:0;text-align:center;line-height:16px;padding:0 20px 20px}._alerts_1e9y0_1 ul{border-top:1px solid var(--system-hr);width:100%;display:flex}._alerts_1e9y0_1 button{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:10px;cursor:pointer;text-align:center;font-weight:600;background:#0000;border-radius:0;display:block;width:-webkit-fill-available;-webkit-animation:_menuItemAnimation_1e9y0_1 .2s 0s both;animation:_menuItemAnimation_1e9y0_1 .2s 0s both;font-family:Inter,sans-serif;border:0}._alerts_1e9y0_1 button[color=blue]{color:#1b6ac0}._alerts_1e9y0_1 button[color=red]{color:#c21c0d}._alerts_1e9y0_1 button:hover{background:var(--system-hover)}._alerts_1e9y0_1 ._--body_1e9y0_103{position:fixed;top:0;bottom:0;left:0;right:0}._allert_1e9y0_111 ._--form_1e9y0_111{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:20px;border-bottom:1px solid var(--system-hr)}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade)}._white_6ax6z_14{--background: #e4ebf5;--shadow: #abb6d2;--shade: #fff;--color: #1f253d;--disabled: #9baacf;--text: #394264;--tinge: #3f51b50a;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px var(--shadow), -1px -1px 1px var(--shade)}._black_6ax6z_26{--background: #506290;--shadow: #1f253d;--shade: #394264;--color: #fff;--disabled: #29314c;--text: #abb6d2;--tinge: #00000026;--inset: inset 1px 1px 1px #394264, inset -1px -1px 1px #39426470;--outset: 1px 1px 1px #394264, -1px -1px 1px #39426470}[shake=true]{-webkit-animation-name:_shake_6ax6z_1;animation-name:_shake_6ax6z_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_6ax6z_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}[data-color-bg=fff1d6]{--inset: inset 1px 1px 1px #c9c1ac, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #c9c1ac, -1px -1px 1px var(--shade)}[data-color-bg=ffd9d9]{--inset: inset 1px 1px 1px #cdb0b1, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #cdb0b1, -1px -1px 1px var(--shade)}[data-color-bg=daffe5]{--inset: inset 1px 1px 1px #b6d2be, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #b6d2be, -1px -1px 1px var(--shade)}._modal_6ax6z_73{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._o_6ax6z_83{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b8}._w_6ax6z_14{box-shadow:5px 7px 18px #000000a8;background:var(--background);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap}._h_6ax6z_106{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_6ax6z_120{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_6ax6z_120 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_6ax6z_120 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_6ax6z_120 li:last-child{border-bottom:0}._l_6ax6z_120 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_6ax6z_158{padding-right:10px}._m_6ax6z_73{flex:1}._x_6ax6z_166{cursor:pointer;color:#1f253d;font-size:20px;opacity:.5;width:35px;border-radius:5px;text-align:center}._s_6ax6z_176{flex:1;overflow-y:scroll}._c_6ax6z_181{text-align:center;margin:20px}._f_6ax6z_186{padding:0 20px;display:flex;flex-direction:column}._f_6ax6z_186 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_6ax6z_186 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_6ax6z_186 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_6ax6z_186 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._x_6ax6z_166:hover{opacity:1}._btn_6ax6z_229{min-width:200px;margin:10px auto 20px;opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._g_6ax6z_242{display:flex;gap:10px}._c_6ax6z_181{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;cursor:pointer}._c_6ax6z_181:first-child{margin-left:20px}._c_6ax6z_181:last-child{margin-right:20px}._c_6ax6z_181:hover{opacity:1;background:var(--tinge)}._c_6ax6z_181 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_6ax6z_181 b{text-align:center;display:block;color:var(--color)}._c_6ax6z_181 p{text-align:center;font-size:15px;color:var(--text)}._btn_6ax6z_229:hover{opacity:1}._modal_6ax6z_73._size-a_6ax6z_294 ._w_6ax6z_14{width:auto}._modal_6ax6z_73._size-s_6ax6z_298 ._w_6ax6z_14{width:400px}._modal_6ax6z_73._size-m_6ax6z_302 ._w_6ax6z_14{width:500px}._modal_6ax6z_73._size-l_6ax6z_306 ._w_6ax6z_14{width:800px}._modal_6ax6z_73._size-x_6ax6z_310 ._w_6ax6z_14{width:1000px}._modal_6ax6z_73._size-f_6ax6z_314 ._w_6ax6z_14{width:100%;max-width:1200px;min-width:910px}._btn_6ax6z_229._confirm_6ax6z_320{background:#4caf50;color:#fff}._btn_6ax6z_229._cancel_6ax6z_325{background:#f44336;color:#fff}._btn_6ax6z_229._disabled_6ax6z_330,._btn_6ax6z_229._await_6ax6z_337{background:#efefef;color:#000;opacity:1;cursor:default}._m_6ax6z_73 big{position:absolute;margin:10px auto 20px;border-radius:5px;box-shadow:var(--outset);display:flex;top:-1px;right:55px}._m_6ax6z_73 big i{width:30px;height:30px;text-align:center;margin:3px;line-height:30px;cursor:pointer;border-radius:5px}._m_6ax6z_73 big i:hover{box-shadow:var(--inset)}._m_6ax6z_73 nav{width:fit-content;height:35px;margin:0 auto;box-shadow:var(--outset);border-radius:5px;display:flex}._m_6ax6z_73 span{border-radius:3px;flex:1 1;margin:2px;padding:0 10px;line-height:35px;color:var(--disabled);cursor:pointer}._m_6ax6z_73 span._active_6ax6z_387{box-shadow:var(--inset);color:var(--color)}._coincidence_6ax6z_393{position:fixed;right:20px;bottom:20px;z-index:1111;overflow-y:scroll;max-height:565px;padding-top:90px}._coincidence_6ax6z_393 span{display:block;width:300px;border-radius:5px;overflow:hidden;cursor:pointer;margin:10px 0;padding:10px;color:#1f253d}._coincidence_6ax6z_393 dl{display:flex;padding:0;margin:5px}._coincidence_6ax6z_393 dd{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0 10px}menu{border-radius:5px;overflow:hidden;display:flex;flex-direction:column;background:var(--contex);grid-area:m}._payment_1lxfv_1{background:#f44336;height:42px;border-radius:5px;color:#fff;font-weight:700;line-height:42px;margin-top:8px;grid-area:p;text-align:center}._setting_1r0pc_2{width:100%;overflow:auto}._setting_1r0pc_2 nav{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 nav ul{display:flex;justify-content:space-between;gap:1px}._setting_1r0pc_2 nav li{flex:1;text-align:center;background:var(--setting-bg);color:var(--setting-color);cursor:pointer;opacity:.7}._setting_1r0pc_2 nav li[tabs-active=true]{opacity:1}._setting_1r0pc_2 fieldset{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 legend{text-transform:uppercase;font-weight:300;font-size:1.3em}._setting_1r0pc_2 ul{margin:10px 0;color:#000;border-radius:8px;overflow:hidden;list-style-type:none;padding:0}._setting_1r0pc_2 li{font-size:20px;line-height:40px}._setting_1r0pc_2 dl{display:flex;margin:0 0 1px;align-items:center;padding-right:9px;background:var(--setting-bg);color:var(--setting-color)}._setting_1r0pc_2 dd{text-align:right;padding-left:15px;position:relative;display:flex;justify-content:center}._setting_1r0pc_2 dt{flex:1;padding:0 15px}._setting_1r0pc_2 article{padding-left:15px;color:var(--setting-bg);font-weight:100;font-size:14px}._setting_1r0pc_2 legend{color:var(--setting-bg);display:flex;justify-content:space-between;width:100%}._setting_1r0pc_2 svg{fill:var(--setting-color);width:15px;margin-left:10px}._setting_1r0pc_2 [data-close]{cursor:pointer;width:10px;height:10px;border-top:3px solid var(--setting-color);border-left:3px solid var(--setting-color);position:absolute;right:10px;top:3px;-webkit-transform:translate(0,-50%) rotate(45deg);-ms-transform:translate(0,-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}._setting_1r0pc_2 [data-close=false]{right:10px;top:0;-webkit-transform:translate(0,-50%) rotate(-135deg);-ms-transform:translate(0,-50%) rotate(-135deg);transform:translateY(-50%) rotate(-135deg)}._setting_1r0pc_2 [data-item=accordion]>div{margin-top:1px;background-color:var(--setting-bg)}._setting_1r0pc_2 [role=button]{font-size:13px;border-radius:5px;text-align:center;width:100px;line-height:30px;padding:0;cursor:pointer}._setting_1r0pc_2 [role=button]:hover{background:var(--setting-action)}._setting_1r0pc_2 [role=button-outline]{font-size:14px;border:1px solid;padding:3px 13px;border-radius:6px;cursor:pointer;text-transform:none}._setting_1r0pc_2 [role=button-outline]:hover{background:#00000038}._setting_1r0pc_2 [role=switch]{cursor:pointer;position:relative;width:44px;height:22px;border-radius:50px;vertical-align:text-bottom;transition:all .3s linear;margin:0}._setting_1r0pc_2 [role=switch]:after{content:"";position:absolute;left:4px;width:16px;height:16px;background-color:#fff;border-radius:50%;box-shadow:0 2px 2px #0000003d;transform:translate3d(0,3px,0);transition:all .2s ease-in-out}._setting_1r0pc_2 [role=switch]:before{content:"";position:absolute;left:0;width:42px;height:22px;background-color:#ddd;border-radius:11px;transition:all .25s linear}._setting_1r0pc_2 [role=switch][aria-checked=true]{background-color:#1f253d}._setting_1r0pc_2 [role=switch][aria-checked=true]:before{transform:translate3d(18px,2px,0) scale3d(0,0,0)}._setting_1r0pc_2 [role=switch][aria-checked=true]:after{transform:translate3d(19px,3px,0)}._h_1b5x7_1{background:var(--content);margin-bottom:2px;border-radius:5px 5px 0 0;line-height:35px;align-items:center;display:flex}._t_1b5x7_10{border-bottom:0;cursor:default;display:block;flex:1;margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px;font-size:14px!important;line-height:35px;font-weight:700;text-align:center;color:var(--label);position:relative;height:35px}._s_1b5x7_28{display:flex;flex:1;position:relative;overflow:hidden;border-radius:5px;flex-flow:column nowrap}._u_1b5x7_37{overflow:hidden;border-radius:0 0 5px 5px;background:var(--content);display:block}._o_1b5x7_44{overflow:hidden;position:relative;border-radius:5px;margin-top:5px;flex:1 1;background:var(--content)}._l_1b5x7_53{flex:1;overflow:hidden;overflow-y:scroll;background:var(--content)}._hh_1b5x7_60{background:#fff;display:block;flex:1 1;font-size:14px;line-height:35px;font-weight:700;text-align:center;color:#1f253d;border-bottom:1px solid #ddd;position:relative}
2
+ `,document.head.appendChild(ue);var re={exports:{}},U={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var pe;function Ke(){if(pe)return U;pe=1;var t=g,n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,x=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h={key:!0,ref:!0,__self:!0,__source:!0};function R(y,v,A){var w,k={},T=null,G=null;A!==void 0&&(T=""+A),v.key!==void 0&&(T=""+v.key),v.ref!==void 0&&(G=v.ref);for(w in v)s.call(v,w)&&!h.hasOwnProperty(w)&&(k[w]=v[w]);if(y&&y.defaultProps)for(w in v=y.defaultProps,v)k[w]===void 0&&(k[w]=v[w]);return{$$typeof:n,type:y,key:T,ref:G,props:k,_owner:x.current}}return U.Fragment=a,U.jsx=R,U.jsxs=R,U}var V={};/**
10
+ */var fe;function Xe(){if(fe)return U;fe=1;var t=g,n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,x=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h={key:!0,ref:!0,__self:!0,__source:!0};function R(y,v,A){var w,k={},T=null,G=null;A!==void 0&&(T=""+A),v.key!==void 0&&(T=""+v.key),v.ref!==void 0&&(G=v.ref);for(w in v)s.call(v,w)&&!h.hasOwnProperty(w)&&(k[w]=v[w]);if(y&&y.defaultProps)for(w in v=y.defaultProps,v)k[w]===void 0&&(k[w]=v[w]);return{$$typeof:n,type:y,key:T,ref:G,props:k,_owner:x.current}}return U.Fragment=a,U.jsx=R,U.jsxs=R,U}var V={};/**
11
11
  * @license React
12
12
  * react-jsx-runtime.development.js
13
13
  *
@@ -15,14 +15,14 @@
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var xe;function Xe(){return xe||(xe=1,process.env.NODE_ENV!=="production"&&function(){var t=g,n=Symbol.for("react.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),y=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),G=Symbol.for("react.offscreen"),Se=Symbol.iterator,sr="@@iterator";function lr(e){if(e===null||typeof e!="object")return null;var i=Se&&e[Se]||e[sr];return typeof i=="function"?i:null}var W=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function j(e){{for(var i=arguments.length,o=new Array(i>1?i-1:0),l=1;l<i;l++)o[l-1]=arguments[l];cr("error",e,o)}}function cr(e,i,o){{var l=W.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(i+="%s",o=o.concat([f]));var p=o.map(function(u){return String(u)});p.unshift("Warning: "+i),Function.prototype.apply.call(console[e],console,p)}}var dr=!1,ur=!1,fr=!1,pr=!1,xr=!1,Ce;Ce=Symbol.for("react.module.reference");function _r(e){return!!(typeof e=="string"||typeof e=="function"||e===s||e===h||xr||e===x||e===A||e===w||pr||e===G||dr||ur||fr||typeof e=="object"&&e!==null&&(e.$$typeof===T||e.$$typeof===k||e.$$typeof===R||e.$$typeof===y||e.$$typeof===v||e.$$typeof===Ce||e.getModuleId!==void 0))}function gr(e,i,o){var l=e.displayName;if(l)return l;var f=i.displayName||i.name||"";return f!==""?o+"("+f+")":o}function Ee(e){return e.displayName||"Context"}function I(e){if(e==null)return null;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")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case s:return"Fragment";case a:return"Portal";case h:return"Profiler";case x:return"StrictMode";case A:return"Suspense";case w:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case y:var i=e;return Ee(i)+".Consumer";case R:var o=e;return Ee(o._context)+".Provider";case v:return gr(e,e.render,"ForwardRef");case k:var l=e.displayName||null;return l!==null?l:I(e.type)||"Memo";case T:{var f=e,p=f._payload,u=f._init;try{return I(u(p))}catch{return null}}}return null}var D=Object.assign,J=0,Re,Te,Ie,Pe,Oe,$e,Ae;function Me(){}Me.__reactDisabledLog=!0;function mr(){{if(J===0){Re=console.log,Te=console.info,Ie=console.warn,Pe=console.error,Oe=console.group,$e=console.groupCollapsed,Ae=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Me,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}J++}}function hr(){{if(J--,J===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:Re}),info:D({},e,{value:Te}),warn:D({},e,{value:Ie}),error:D({},e,{value:Pe}),group:D({},e,{value:Oe}),groupCollapsed:D({},e,{value:$e}),groupEnd:D({},e,{value:Ae})})}J<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ie=W.ReactCurrentDispatcher,ae;function K(e,i,o){{if(ae===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);ae=l&&l[1]||""}return`
19
- `+ae+e}}var oe=!1,X;{var br=typeof WeakMap=="function"?WeakMap:Map;X=new br}function Ne(e,i){if(!e||oe)return"";{var o=X.get(e);if(o!==void 0)return o}var l;oe=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var p;p=ie.current,ie.current=null,mr();try{if(i){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(P){l=P}Reflect.construct(e,[],u)}else{try{u.call()}catch(P){l=P}e.call(u.prototype)}}else{try{throw Error()}catch(P){l=P}e()}}catch(P){if(P&&l&&typeof P.stack=="string"){for(var d=P.stack.split(`
18
+ */var pe;function Qe(){return pe||(pe=1,process.env.NODE_ENV!=="production"&&function(){var t=g,n=Symbol.for("react.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),y=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),G=Symbol.for("react.offscreen"),Ce=Symbol.iterator,sr="@@iterator";function lr(e){if(e===null||typeof e!="object")return null;var i=Ce&&e[Ce]||e[sr];return typeof i=="function"?i:null}var W=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function j(e){{for(var i=arguments.length,o=new Array(i>1?i-1:0),l=1;l<i;l++)o[l-1]=arguments[l];cr("error",e,o)}}function cr(e,i,o){{var l=W.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(i+="%s",o=o.concat([f]));var p=o.map(function(u){return String(u)});p.unshift("Warning: "+i),Function.prototype.apply.call(console[e],console,p)}}var dr=!1,ur=!1,fr=!1,pr=!1,xr=!1,Ee;Ee=Symbol.for("react.module.reference");function _r(e){return!!(typeof e=="string"||typeof e=="function"||e===s||e===h||xr||e===x||e===A||e===w||pr||e===G||dr||ur||fr||typeof e=="object"&&e!==null&&(e.$$typeof===T||e.$$typeof===k||e.$$typeof===R||e.$$typeof===y||e.$$typeof===v||e.$$typeof===Ee||e.getModuleId!==void 0))}function gr(e,i,o){var l=e.displayName;if(l)return l;var f=i.displayName||i.name||"";return f!==""?o+"("+f+")":o}function Re(e){return e.displayName||"Context"}function I(e){if(e==null)return null;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")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case s:return"Fragment";case a:return"Portal";case h:return"Profiler";case x:return"StrictMode";case A:return"Suspense";case w:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case y:var i=e;return Re(i)+".Consumer";case R:var o=e;return Re(o._context)+".Provider";case v:return gr(e,e.render,"ForwardRef");case k:var l=e.displayName||null;return l!==null?l:I(e.type)||"Memo";case T:{var f=e,p=f._payload,u=f._init;try{return I(u(p))}catch{return null}}}return null}var D=Object.assign,J=0,Te,Ie,Pe,Oe,$e,Ae,Me;function Ne(){}Ne.__reactDisabledLog=!0;function mr(){{if(J===0){Te=console.log,Ie=console.info,Pe=console.warn,Oe=console.error,$e=console.group,Ae=console.groupCollapsed,Me=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ne,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}J++}}function hr(){{if(J--,J===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:Te}),info:D({},e,{value:Ie}),warn:D({},e,{value:Pe}),error:D({},e,{value:Oe}),group:D({},e,{value:$e}),groupCollapsed:D({},e,{value:Ae}),groupEnd:D({},e,{value:Me})})}J<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ne=W.ReactCurrentDispatcher,ie;function K(e,i,o){{if(ie===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);ie=l&&l[1]||""}return`
19
+ `+ie+e}}var ae=!1,X;{var br=typeof WeakMap=="function"?WeakMap:Map;X=new br}function De(e,i){if(!e||ae)return"";{var o=X.get(e);if(o!==void 0)return o}var l;ae=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var p;p=ne.current,ne.current=null,mr();try{if(i){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(P){l=P}Reflect.construct(e,[],u)}else{try{u.call()}catch(P){l=P}e.call(u.prototype)}}else{try{throw Error()}catch(P){l=P}e()}}catch(P){if(P&&l&&typeof P.stack=="string"){for(var d=P.stack.split(`
20
20
  `),z=l.stack.split(`
21
21
  `),m=d.length-1,b=z.length-1;m>=1&&b>=0&&d[m]!==z[b];)b--;for(;m>=1&&b>=0;m--,b--)if(d[m]!==z[b]){if(m!==1||b!==1)do if(m--,b--,b<0||d[m]!==z[b]){var E=`
22
- `+d[m].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&X.set(e,E),E}while(m>=1&&b>=0);break}}}finally{oe=!1,ie.current=p,hr(),Error.prepareStackTrace=f}var B=e?e.displayName||e.name:"",Ge=B?K(B):"";return typeof e=="function"&&X.set(e,Ge),Ge}function vr(e,i,o){return Ne(e,!1)}function yr(e){var i=e.prototype;return!!(i&&i.isReactComponent)}function Q(e,i,o){if(e==null)return"";if(typeof e=="function")return Ne(e,yr(e));if(typeof e=="string")return K(e);switch(e){case A:return K("Suspense");case w:return K("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case v:return vr(e.render);case k:return Q(e.type,i,o);case T:{var l=e,f=l._payload,p=l._init;try{return Q(p(f),i,o)}catch{}}}return""}var ee=Object.prototype.hasOwnProperty,De={},Fe=W.ReactDebugCurrentFrame;function te(e){if(e){var i=e._owner,o=Q(e.type,e._source,i?i.type:null);Fe.setExtraStackFrame(o)}else Fe.setExtraStackFrame(null)}function wr(e,i,o,l,f){{var p=Function.call.bind(ee);for(var u in e)if(p(e,u)){var d=void 0;try{if(typeof e[u]!="function"){var z=Error((l||"React class")+": "+o+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw z.name="Invariant Violation",z}d=e[u](i,u,l,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(m){d=m}d&&!(d instanceof Error)&&(te(f),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).",l||"React class",o,u,typeof d),te(null)),d instanceof Error&&!(d.message in De)&&(De[d.message]=!0,te(f),j("Failed %s type: %s",o,d.message),te(null))}}}var kr=Array.isArray;function se(e){return kr(e)}function jr(e){{var i=typeof Symbol=="function"&&Symbol.toStringTag,o=i&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o}}function zr(e){try{return Le(e),!1}catch{return!0}}function Le(e){return""+e}function We(e){if(zr(e))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jr(e)),Le(e)}var Z=W.ReactCurrentOwner,Sr={key:!0,ref:!0,__self:!0,__source:!0},Ye,Be,le;le={};function Cr(e){if(ee.call(e,"ref")){var i=Object.getOwnPropertyDescriptor(e,"ref").get;if(i&&i.isReactWarning)return!1}return e.ref!==void 0}function Er(e){if(ee.call(e,"key")){var i=Object.getOwnPropertyDescriptor(e,"key").get;if(i&&i.isReactWarning)return!1}return e.key!==void 0}function Rr(e,i){if(typeof e.ref=="string"&&Z.current&&i&&Z.current.stateNode!==i){var o=I(Z.current.type);le[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',I(Z.current.type),e.ref),le[o]=!0)}}function Tr(e,i){{var o=function(){Ye||(Ye=!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)",i))};o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}}function Ir(e,i){{var o=function(){Be||(Be=!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)",i))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}}var Pr=function(e,i,o,l,f,p,u){var d={$$typeof:n,type:e,key:i,ref:o,props:u,_owner:p};return d._store={},Object.defineProperty(d._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(d,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(d,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(d.props),Object.freeze(d)),d};function Or(e,i,o,l,f){{var p,u={},d=null,z=null;o!==void 0&&(We(o),d=""+o),Er(i)&&(We(i.key),d=""+i.key),Cr(i)&&(z=i.ref,Rr(i,f));for(p in i)ee.call(i,p)&&!Sr.hasOwnProperty(p)&&(u[p]=i[p]);if(e&&e.defaultProps){var m=e.defaultProps;for(p in m)u[p]===void 0&&(u[p]=m[p])}if(d||z){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;d&&Tr(u,b),z&&Ir(u,b)}return Pr(e,d,z,f,l,Z.current,u)}}var ce=W.ReactCurrentOwner,Ue=W.ReactDebugCurrentFrame;function Y(e){if(e){var i=e._owner,o=Q(e.type,e._source,i?i.type:null);Ue.setExtraStackFrame(o)}else Ue.setExtraStackFrame(null)}var de;de=!1;function ue(e){return typeof e=="object"&&e!==null&&e.$$typeof===n}function Ve(){{if(ce.current){var e=I(ce.current.type);if(e)return`
22
+ `+d[m].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&X.set(e,E),E}while(m>=1&&b>=0);break}}}finally{ae=!1,ne.current=p,hr(),Error.prepareStackTrace=f}var B=e?e.displayName||e.name:"",Ke=B?K(B):"";return typeof e=="function"&&X.set(e,Ke),Ke}function vr(e,i,o){return De(e,!1)}function yr(e){var i=e.prototype;return!!(i&&i.isReactComponent)}function Q(e,i,o){if(e==null)return"";if(typeof e=="function")return De(e,yr(e));if(typeof e=="string")return K(e);switch(e){case A:return K("Suspense");case w:return K("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case v:return vr(e.render);case k:return Q(e.type,i,o);case T:{var l=e,f=l._payload,p=l._init;try{return Q(p(f),i,o)}catch{}}}return""}var ee=Object.prototype.hasOwnProperty,Fe={},Le=W.ReactDebugCurrentFrame;function te(e){if(e){var i=e._owner,o=Q(e.type,e._source,i?i.type:null);Le.setExtraStackFrame(o)}else Le.setExtraStackFrame(null)}function wr(e,i,o,l,f){{var p=Function.call.bind(ee);for(var u in e)if(p(e,u)){var d=void 0;try{if(typeof e[u]!="function"){var z=Error((l||"React class")+": "+o+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw z.name="Invariant Violation",z}d=e[u](i,u,l,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(m){d=m}d&&!(d instanceof Error)&&(te(f),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).",l||"React class",o,u,typeof d),te(null)),d instanceof Error&&!(d.message in Fe)&&(Fe[d.message]=!0,te(f),j("Failed %s type: %s",o,d.message),te(null))}}}var kr=Array.isArray;function oe(e){return kr(e)}function jr(e){{var i=typeof Symbol=="function"&&Symbol.toStringTag,o=i&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o}}function zr(e){try{return We(e),!1}catch{return!0}}function We(e){return""+e}function Ye(e){if(zr(e))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jr(e)),We(e)}var Z=W.ReactCurrentOwner,Sr={key:!0,ref:!0,__self:!0,__source:!0},Be,Ue,se;se={};function Cr(e){if(ee.call(e,"ref")){var i=Object.getOwnPropertyDescriptor(e,"ref").get;if(i&&i.isReactWarning)return!1}return e.ref!==void 0}function Er(e){if(ee.call(e,"key")){var i=Object.getOwnPropertyDescriptor(e,"key").get;if(i&&i.isReactWarning)return!1}return e.key!==void 0}function Rr(e,i){if(typeof e.ref=="string"&&Z.current&&i&&Z.current.stateNode!==i){var o=I(Z.current.type);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',I(Z.current.type),e.ref),se[o]=!0)}}function Tr(e,i){{var o=function(){Be||(Be=!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)",i))};o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}}function Ir(e,i){{var o=function(){Ue||(Ue=!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)",i))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}}var Pr=function(e,i,o,l,f,p,u){var d={$$typeof:n,type:e,key:i,ref:o,props:u,_owner:p};return d._store={},Object.defineProperty(d._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(d,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(d,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(d.props),Object.freeze(d)),d};function Or(e,i,o,l,f){{var p,u={},d=null,z=null;o!==void 0&&(Ye(o),d=""+o),Er(i)&&(Ye(i.key),d=""+i.key),Cr(i)&&(z=i.ref,Rr(i,f));for(p in i)ee.call(i,p)&&!Sr.hasOwnProperty(p)&&(u[p]=i[p]);if(e&&e.defaultProps){var m=e.defaultProps;for(p in m)u[p]===void 0&&(u[p]=m[p])}if(d||z){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;d&&Tr(u,b),z&&Ir(u,b)}return Pr(e,d,z,f,l,Z.current,u)}}var le=W.ReactCurrentOwner,Ve=W.ReactDebugCurrentFrame;function Y(e){if(e){var i=e._owner,o=Q(e.type,e._source,i?i.type:null);Ve.setExtraStackFrame(o)}else Ve.setExtraStackFrame(null)}var ce;ce=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===n}function qe(){{if(le.current){var e=I(le.current.type);if(e)return`
23
23
 
24
24
  Check the render method of \``+e+"`."}return""}}function $r(e){{if(e!==void 0){var i=e.fileName.replace(/^.*[\\\/]/,""),o=e.lineNumber;return`
25
25
 
26
- Check your code at `+i+":"+o+"."}return""}}var qe={};function Ar(e){{var i=Ve();if(!i){var o=typeof e=="string"?e:e.displayName||e.name;o&&(i=`
26
+ Check your code at `+i+":"+o+"."}return""}}var He={};function Ar(e){{var i=qe();if(!i){var o=typeof e=="string"?e:e.displayName||e.name;o&&(i=`
27
27
 
28
- Check the top-level render call using <`+o+">.")}return i}}function He(e,i){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var o=Ar(i);if(qe[o])return;qe[o]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+I(e._owner.type)+"."),Y(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,l),Y(null)}}function Je(e,i){{if(typeof e!="object")return;if(se(e))for(var o=0;o<e.length;o++){var l=e[o];ue(l)&&He(l,i)}else if(ue(e))e._store&&(e._store.validated=!0);else if(e){var f=lr(e);if(typeof f=="function"&&f!==e.entries)for(var p=f.call(e),u;!(u=p.next()).done;)ue(u.value)&&He(u.value,i)}}}function Mr(e){{var i=e.type;if(i==null||typeof i=="string")return;var o;if(typeof i=="function")o=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===v||i.$$typeof===k))o=i.propTypes;else return;if(o){var l=I(i);wr(o,e.props,"prop",l,e)}else if(i.PropTypes!==void 0&&!de){de=!0;var f=I(i);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Nr(e){{for(var i=Object.keys(e.props),o=0;o<i.length;o++){var l=i[o];if(l!=="children"&&l!=="key"){Y(e),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),Y(null);break}}e.ref!==null&&(Y(e),j("Invalid attribute `ref` supplied to `React.Fragment`."),Y(null))}}function Ze(e,i,o,l,f,p){{var u=_r(e);if(!u){var d="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var z=$r(f);z?d+=z:d+=Ve();var m;e===null?m="null":se(e)?m="array":e!==void 0&&e.$$typeof===n?(m="<"+(I(e.type)||"Unknown")+" />",d=" 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,d)}var b=Or(e,i,o,f,p);if(b==null)return b;if(u){var E=i.children;if(E!==void 0)if(l)if(se(E)){for(var B=0;B<E.length;B++)Je(E[B],e);Object.freeze&&Object.freeze(E)}else 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.");else Je(E,e)}return e===s?Nr(b):Mr(b),b}}function Dr(e,i,o){return Ze(e,i,o,!0)}function Fr(e,i,o){return Ze(e,i,o,!1)}var Lr=Fr,Wr=Dr;V.Fragment=s,V.jsx=Lr,V.jsxs=Wr}()),V}process.env.NODE_ENV==="production"?re.exports=Ke():re.exports=Xe();var r=re.exports;const Qe={notice:"_notice_820sc_2",error:"_error_820sc_9",success:"_success_820sc_12",remark:"_remark_820sc_15",copy:"_copy_820sc_18","show-notice":"_show-notice_820sc_1","hide-notice":"_hide-notice_820sc_1"};let O={};function et(){let[t,n]=g.useState([]);return O.set=a=>{n([...t,a])},O.del=a=>{n(t.filter(s=>s.key!==a))},t.length===0?"":r.jsx("ul",{className:Qe.notice,children:t.map(a=>a.item)})}function q({data:t}){let[n,a]=g.useState("show");g.useEffect(()=>{setTimeout(function(){a("hide")},1800),setTimeout(function(){O.del(t.key)},2500)},[t.key]);let s,x;switch(t.type){case"error":s=r.jsx(M.error,{}),x="Ошибка:";break;case"success":s=r.jsx(M.success,{}),x="Информация:";break;case"copy":s=r.jsx(M.success,{}),x="Копирование:";break;case"remark":s=r.jsx(M.success,{}),x="Подсказка:";break;default:s=r.jsx(M.success,{}),x="Предупреждение:";break}return r.jsxs("li",{className:"item "+t.type,"data-status":n,children:[s,r.jsx("b",{children:x}),r.jsx("p",{children:t.text})]})}function tt(t){let n=Date.now(),a={key:n,...t};O.set({item:r.jsx(q,{data:a},n),key:n})}function rt(t){let n=Date.now(),a={key:n,text:t,type:"error"};O.set({item:r.jsx(q,{data:a},n),key:n})}function nt(t){let n=Date.now(),a={key:n,text:t,type:"success"};O.set({item:r.jsx(q,{data:a},n),key:n})}function it(t){let n=Date.now(),a={key:n,text:t,type:"remark"};O.set({item:r.jsx(q,{data:a},n),key:n})}function at(t){let n=Date.now(),a={key:n,text:t,type:"copy"};O.set({item:r.jsx(q,{data:a},n),key:n})}const M={};M.error=()=>r.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[r.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),r.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),M.success=()=>r.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[r.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),r.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});const ot={alerts:"_alerts_1e9y0_1",menuAnimation:"_menuAnimation_1e9y0_1",menuItemAnimation:"_menuItemAnimation_1e9y0_1","--body":"_--body_1e9y0_103",allert:"_allert_1e9y0_111","--form":"_--form_1e9y0_111"};let H={};function st(){let[t,n]=g.useState("");return H.set=a=>n(a),H.del=()=>n(""),r.jsx(r.Fragment,{children:t})}const lt=({data:t,callback:n})=>(t.button=t.button===void 0?"Подтвердить":t.button,r.jsxs("div",{className:ot.alerts,children:[r.jsxs("dl",{children:[r.jsx("dt",{children:t.title}),r.jsx("dd",{children:t.text}),r.jsx("ul",{children:r.jsx("button",{"data-color":t.color||"blue",onClick:()=>{n(),H.del()},children:t.button})})]}),r.jsx("div",{className:"--body",onClick:H.del})]}));function ct(t,n){H.set(r.jsx(lt,{data:t,callback:n}))}function dt({children:t}){return r.jsx("div",{className:"l",children:r.jsx("ul",{children:t})})}function ut({children:t}){return r.jsx("div",{className:"s",children:t})}const _e=({children:t,disabled:n,label:a,onClick:s})=>{const x=h=>{n||s&&s(h)};return r.jsx("button",{disabled:n,onClick:x,children:a})},$={white:"_white_6ax6z_14",black:"_black_6ax6z_26",shake:"_shake_6ax6z_1",modal:"_modal_6ax6z_73",o:"_o_6ax6z_83",w:"_w_6ax6z_14",h:"_h_6ax6z_106",l:"_l_6ax6z_120",t:"_t_6ax6z_158",m:"_m_6ax6z_73",x:"_x_6ax6z_166",s:"_s_6ax6z_176",c:"_c_6ax6z_181",f:"_f_6ax6z_186",btn:"_btn_6ax6z_229",g:"_g_6ax6z_242","size-a":"_size-a_6ax6z_294","size-s":"_size-s_6ax6z_298","size-m":"_size-m_6ax6z_302","size-l":"_size-l_6ax6z_306","size-x":"_size-x_6ax6z_310","size-f":"_size-f_6ax6z_314",confirm:"_confirm_6ax6z_320",cancel:"_cancel_6ax6z_325",disabled:"_disabled_6ax6z_330",await:"_await_6ax6z_337",active:"_active_6ax6z_387",coincidence:"_coincidence_6ax6z_393"};let F={};const ft=({config:t})=>{let[n,a]=g.useState([]);return F.x=()=>{a([])},F.config=t,F.add=s=>{a([...n,s])},r.jsx(r.Fragment,{children:n.map(s=>s)})},pt=({children:t,title:n,button:a,tabs:s,size:x="m",menu:h})=>{const[R,y]=g.useState(!0),v=g.useRef(),A=k=>{if(a&&a.onClick)return a.onClick({closed:y,disabled:k})},w=()=>{v.current.setAttribute("shake",!0),setTimeout(()=>{v.current.setAttribute("shake",!1)},1e3)};return r.jsx(r.Fragment,{children:R?r.jsxs("div",{className:`${$.modal} ${$.white}`,children:[r.jsx("div",{className:$.o,onClick:w}),r.jsxs("div",{className:$.w,ref:v,children:[r.jsxs("div",{className:$.h,children:[r.jsx("div",{className:$.t,children:n}),r.jsxs("div",{className:$.m,children:[s&&r.jsx("nav",{children:s.map((k,T)=>r.jsx("span",{onClick:k.onClick,className:k.active?"active":"",children:k.name},T))}),h]}),r.jsx("div",{className:$.x,onClick:()=>{y(!1)},children:"x"})]}),t,a!==void 0?r.jsx(_e,{label:String(a.name),onClick:A}):""]})]}):""})},xt=t=>{F.add(r.jsx(_t,{children:t},String(Date.now())))},_t=({children:t})=>r.jsx(r.Fragment,{children:t}),ge={List:dt,Scroll:ut,Init:ft,Main:pt,Add:xt,Icon:({type:t,name:n,params:a})=>{let[s,x]=g.useState(null);return g.useEffect(()=>{F.config(t,n,a,x)},[a.id]),r.jsx(r.Fragment,{children:s})},Open:(t,n,a)=>{F.config(t,n,a)}};let S={};const c={},C={},me={};function gt(t,n){if(S=t,localStorage.getItem("ssid")){let s=sessionStorage.getItem("page");s?(s=S.deCode(s),c.id=s.id,c.tab=s.tab,c.page=s.page,c.module=s.module,c.time=s.time,c.payment={active:!0},c.module_admin=s.module_admin):(c.id=0,c.tab="",c.page="Main",c.module=c.module||"M05")}else["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(s=>localStorage.removeItem(s)),["page"].forEach(s=>sessionStorage.removeItem(s)),c.id=0,c.tab="",c.page="Auth",c.module="M00";return n}function L(){["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(t=>localStorage.removeItem(t)),["page"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function mt(t){t=t.split("/"),c.page="Main",c.module=t[0],c.tab=t[1],c.id=0,sessionStorage.setItem("page",S.enCode({module:c.module,page:c.page,tab:c.tab,id:c.id,time:new Date().getTime()})),C.page(c.page)}function ht(t){return localStorage.setItem("ssid",t)}function bt(){let t=localStorage.getItem("ssid");return t!==""&&t!=="undefined"&&t!==null?localStorage.getItem("ssid"):(L(),!1)}function vt(t){return localStorage.setItem("auth",t)}function yt(){let t=localStorage.getItem("auth");return t!==""&&t!=="undefined"&&t!==null?t:(L(),!1)}function wt(){const[t,n]=g.useState(he()),a=s=>{n(s)};return C.page=a,[t]}function kt(t){c.page=t,sessionStorage.setItem("page",S.enCode(c)),C.page(t)}function he(){return c.page}function jt(){const[t,n]=g.useState(ne()),a=s=>{n(s)};return C.module=a,[t]}function zt(t,n){c.module=t,sessionStorage.setItem("page",S.enCode(c)),n!=="false"&&C.module(t)}function ne(){return c.module}function St(t){const[n,a]=g.useState(ne()||t),s=x=>{a(x)};return C.tabs=s,[n]}function Ct(t,n){c.tab=t,sessionStorage.setItem("page",S.enCode(c)),n!=="false"&&C.tabs(t)}function Et(){return c.tab}function Rt(){const[t,n]=g.useState(c.id),a=s=>{n(s)};return C.id=a,[t]}function Tt(t){C.id=t}function It(t,n){c.id=t,sessionStorage.setItem("page",S.enCode(c)),n!=="false"&&C.id(t)}function Pt(){return c.id}function Ot(t,n,a){c.module=t,c.id=a,c.tab=n,sessionStorage.setItem("page",S.enCode(c)),C.module(t),C.tabs(n)}function $t(t,n){me.data[t]=n,localStorage.setItem("sett",S.enCode(me.data))}function At(t){let n=localStorage.getItem("sett");return n===null?{}:(n=S.deCode(n),n?t!==void 0?n[t]:n:L())}function Mt(t){localStorage.setItem("menu",S.enCode({data:t}))}function Nt(){let t=localStorage.getItem("menu");if(t!==""&&t!=="undefined"&&t!==null){let n=localStorage.getItem("menu"),a=S.deCode(n);a||L();const s=(h,R)=>{let y=R+"";for(;y.length<h;)y="0"+y;return y};return a.data.split(",").map(h=>"M"+s(2,h))}else return L(),!1}const be=({children:t,config:n,crypto:a,...s})=>gt(a,r.jsxs(r.Fragment,{children:[r.jsx(ge.Init,{config:n.modal}),r.jsx(et,{}),r.jsx(st,{}),t]})),Dt=({children:t,...n})=>r.jsx("menu",{children:t}),Ft=({children:t,...n})=>r.jsxs("header",{children:["xz",t]}),Lt={payment:"_payment_1lxfv_1"};function Wt(){let[t,n]=g.useState({});return!t.active&&!t.payment?"":r.jsx("div",{className:Lt.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const Yt=({children:t,...n})=>{let a={};return a.enCode=s=>JSON.stringify(s).toString(),a.deCode=s=>JSON.parse(s),r.jsxs("div",{className:"app",children:[r.jsx(Wt,{}),r.jsx(Dt,{}),r.jsx(Ft,{}),r.jsx(be,{config:{modal:{}},crypto:a}),t]})},ve=({list:t,onClick:n,active:a,size:s,view:x})=>r.jsx("nav",{children:r.jsx("ul",{className:[s,x].join(" "),children:t.map(h=>r.jsx(Bt,{onClick:n,active:a,label:h.label,link:h.link},h.link))})}),Bt=({onClick:t,label:n,link:a,active:s})=>r.jsx("li",{"tabs-active":String(s===a),onClick:()=>t(a),children:n});ve.defaultProps={size:"M",view:"H"};const Ut=({title:t="",button:n,description:a="",children:s})=>r.jsxs("fieldset",{children:[t&&r.jsxs("legend",{children:[t,n&&r.jsx("div",{role:"button-outline",onClick:()=>n.onClick(),children:n.label})," "]}),r.jsx("ul",{children:s}),a&&r.jsx("article",{children:a})]}),Vt={setting:"_setting_1r0pc_2"},qt=({children:t})=>r.jsx("div",{className:Vt.setting,children:t}),Ht=({label:t,children:n})=>{let[a,s]=g.useState(!1);return r.jsxs("li",{"data-item":"accordion",children:[r.jsxs("dl",{onClick:()=>s(!a),children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:r.jsx("div",{"data-close":String(a)})})]}),a&&r.jsx("div",{children:n})]})},Jt=({label:t,onClick:n,button:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"button",onClick:()=>n(),children:a})]})}),ye={Switch:({active:t,onClick:n})=>(console.log(t),t=typeof t=="number"?!!t:t,r.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),n()},"aria-checked":t?"true":"false"}))},Zt={Accordion:Ht,Button:Jt,Switch:({label:t,onClick:n,active:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:r.jsx(ye.Switch,{onClick:n,active:a})})]})}),Info:({label:t,info:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"info",children:n})]})}),Select:({label:t,active:n,options:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"info",children:n})]})}),Component:({label:t,children:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:n})]})}),Node:({label:t,children:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:n})]})})};function we({list:t,onClick:n,active:a,size:s,view:x}){return r.jsx("nav",{children:r.jsx("ul",{className:[s,x].join(" "),children:t.map(h=>r.jsx(Gt,{onClick:n,active:a,label:h.label,link:h.link},h.link))})})}const Gt=({onClick:t,label:n,link:a,active:s})=>r.jsx("li",{"tabs-active":String(s===a),onClick:()=>t(a),children:n});we.defaultProps={size:"M",view:"H"};const Kt={Section:Ut,Main:qt,Item:Zt,Tabs:we},N={h:"_h_1b5x7_1",t:"_t_1b5x7_10",s:"_s_1b5x7_28",u:"_u_1b5x7_37",o:"_o_1b5x7_44",l:"_l_1b5x7_53",hh:"_hh_1b5x7_60"},ke=({title:t,children:n})=>r.jsxs("div",{className:N.h,children:[r.jsx("div",{className:N.t,children:t}),n]}),Xt=({children:t,title:n})=>r.jsxs("div",{className:N.o,children:[n&&r.jsx("div",{className:N.hh,children:n}),t]}),Qt=({children:t})=>r.jsx("div",{className:N.u,children:t}),je=({children:t})=>r.jsx("div",{className:N.s,children:t}),ze=({children:t,...n})=>r.jsx("div",{className:N.l,children:t}),er={Header:ke,Section:je,List:ze,U:Qt,L:ze,O:Xt,S:je,H:ke},tr={Send:tt,Error:rt,Remark:it,Success:nt,Copy:at},rr={Send:ct};function nr(){return r.jsx("svg",{viewBox:"0 0 462.86 359.96",children:r.jsx("path",{d:"M210.5,307.78c-27,35.41-58.14,58-120.55,50.84-1-.12-1.58-.39-1.58-2V327.87c0-1.32.51-2.12,1.85-2,100.39-1,88.17-63.46,74.8-90.94-47.3-97.28-14.46-166.27,20.26-205.14,14.1-16.37,50.53-42,128.07-23.24,9.1,2,30.51,7.8,24.46,11.38C317.5,30,297.66,68.33,295,73.12c-3.62,6.59-6.26,13.17-4.57,14.13,2.37,1.35,3.5-1.56,6.58-7.91C319.78,34.41,366-22.76,402.78,37.68a1.14,1.14,0,0,1,.09.26c9.3,56.05,30.57,228.62-97.76,224.22-23.38-2-28.82-22-32.57-18.89-3.36,3,10,21.4,32.76,23.19C448.18,270.75,411.55,66.74,407.79,41.91a1.41,1.41,0,0,1,0-.3c2-7.32,129.15,17.47,112.77,158.08,4.82,6.57,10.89,10,18.7,16.08l.13.07c8.9,3.67,10.46,12.06,11.43,18.88a63.15,63.15,0,0,1-.14,15.49c-10.48-4.62-22.74-10.11-22.26-22.53.43-12,7.35-5.21-8.8-14.22a.69.69,0,0,0-1,.57c-.33,3.87-2.7,14.69-3,16.59v0c-4.64,17-16.59,86-18.41,99.58-.77,5.7-4.94,10.41-11.4,10.39l-56.71.18c-7.73.22-9.57-7.9-10.27-11.89-2.7-15.31-4.08-29.7-4.18-29.67-20.24,9.26-108.69,3.08-108.69,3.27V330c-.29,7.56-4.51,15.26-11.74,15.32l-52.87,1c-10.36.1-13.85-1.67-15.5-11.87-2.08-13.08-1-34.26-5.32-37.43-2,1.84-8.33,8.11-10,10.83M196.16,203q9.57,0,11.42-7.72c2.18-9.07-5.66-17.7-14.77-15.68-4.95,1.11-7.53,4.94-7.53,11.53C185.28,199,188.94,203,196.16,203Z",transform:"translate(-88.37 0)"})})}const ir={Logo:nr},ar={setSSID:ht,getSSID:bt,Logaut:L,setAUTH:vt,getAUTH:yt,Start:mt,setSetting:$t,getSetting:At,setMenu:Mt,getMenu:Nt},or={Path:Ot,setPage:kt,getPage:he,usePage:wt,setModule:zt,getModule:ne,useModule:jt,setTabs:Ct,getTabs:Et,useTabs:St,useId:Rt,setId:It,subId:Tt,getId:Pt};_.Action=ye,_.Alert=rr,_.Browser=Yt,_.Button=_e,_.Component=er,_.Icon=ir,_.Init=be,_.Modal=ge,_.Notice=tr,_.Router=or,_.Setting=Kt,_.Store=ar,_.Tabs=ve,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
28
+ Check the top-level render call using <`+o+">.")}return i}}function Je(e,i){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var o=Ar(i);if(He[o])return;He[o]=!0;var l="";e&&e._owner&&e._owner!==le.current&&(l=" It was passed a child from "+I(e._owner.type)+"."),Y(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,l),Y(null)}}function Ze(e,i){{if(typeof e!="object")return;if(oe(e))for(var o=0;o<e.length;o++){var l=e[o];de(l)&&Je(l,i)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=lr(e);if(typeof f=="function"&&f!==e.entries)for(var p=f.call(e),u;!(u=p.next()).done;)de(u.value)&&Je(u.value,i)}}}function Mr(e){{var i=e.type;if(i==null||typeof i=="string")return;var o;if(typeof i=="function")o=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===v||i.$$typeof===k))o=i.propTypes;else return;if(o){var l=I(i);wr(o,e.props,"prop",l,e)}else if(i.PropTypes!==void 0&&!ce){ce=!0;var f=I(i);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Nr(e){{for(var i=Object.keys(e.props),o=0;o<i.length;o++){var l=i[o];if(l!=="children"&&l!=="key"){Y(e),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),Y(null);break}}e.ref!==null&&(Y(e),j("Invalid attribute `ref` supplied to `React.Fragment`."),Y(null))}}function Ge(e,i,o,l,f,p){{var u=_r(e);if(!u){var d="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var z=$r(f);z?d+=z:d+=qe();var m;e===null?m="null":oe(e)?m="array":e!==void 0&&e.$$typeof===n?(m="<"+(I(e.type)||"Unknown")+" />",d=" 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,d)}var b=Or(e,i,o,f,p);if(b==null)return b;if(u){var E=i.children;if(E!==void 0)if(l)if(oe(E)){for(var B=0;B<E.length;B++)Ze(E[B],e);Object.freeze&&Object.freeze(E)}else 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.");else Ze(E,e)}return e===s?Nr(b):Mr(b),b}}function Dr(e,i,o){return Ge(e,i,o,!0)}function Fr(e,i,o){return Ge(e,i,o,!1)}var Lr=Fr,Wr=Dr;V.Fragment=s,V.jsx=Lr,V.jsxs=Wr}()),V}process.env.NODE_ENV==="production"?re.exports=Xe():re.exports=Qe();var r=re.exports;const et={notice:"_notice_820sc_2",error:"_error_820sc_9",success:"_success_820sc_12",remark:"_remark_820sc_15",copy:"_copy_820sc_18","show-notice":"_show-notice_820sc_1","hide-notice":"_hide-notice_820sc_1"};let O={};function tt(){let[t,n]=g.useState([]);return O.set=a=>{n([...t,a])},O.del=a=>{n(t.filter(s=>s.key!==a))},t.length===0?"":r.jsx("ul",{className:et.notice,children:t.map(a=>a.item)})}function q({data:t}){let[n,a]=g.useState("show");g.useEffect(()=>{setTimeout(function(){a("hide")},1800),setTimeout(function(){O.del(t.key)},2500)},[t.key]);let s,x;switch(t.type){case"error":s=r.jsx(M.error,{}),x="Ошибка:";break;case"success":s=r.jsx(M.success,{}),x="Информация:";break;case"copy":s=r.jsx(M.success,{}),x="Копирование:";break;case"remark":s=r.jsx(M.success,{}),x="Подсказка:";break;default:s=r.jsx(M.success,{}),x="Предупреждение:";break}return r.jsxs("li",{className:"item "+t.type,"data-status":n,children:[s,r.jsx("b",{children:x}),r.jsx("p",{children:t.text})]})}function rt(t){let n=Date.now(),a={key:n,...t};O.set({item:r.jsx(q,{data:a},n),key:n})}function nt(t){let n=Date.now(),a={key:n,text:t,type:"error"};O.set({item:r.jsx(q,{data:a},n),key:n})}function it(t){let n=Date.now(),a={key:n,text:t,type:"success"};O.set({item:r.jsx(q,{data:a},n),key:n})}function at(t){let n=Date.now(),a={key:n,text:t,type:"remark"};O.set({item:r.jsx(q,{data:a},n),key:n})}function ot(t){let n=Date.now(),a={key:n,text:t,type:"copy"};O.set({item:r.jsx(q,{data:a},n),key:n})}const M={};M.error=()=>r.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[r.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),r.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),M.success=()=>r.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[r.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),r.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});const st={alerts:"_alerts_1e9y0_1",menuAnimation:"_menuAnimation_1e9y0_1",menuItemAnimation:"_menuItemAnimation_1e9y0_1","--body":"_--body_1e9y0_103",allert:"_allert_1e9y0_111","--form":"_--form_1e9y0_111"};let H={};function lt(){let[t,n]=g.useState("");return H.set=a=>n(a),H.del=()=>n(""),r.jsx(r.Fragment,{children:t})}const ct=({data:t,callback:n})=>(t.button=t.button===void 0?"Подтвердить":t.button,r.jsxs("div",{className:st.alerts,children:[r.jsxs("dl",{children:[r.jsx("dt",{children:t.title}),r.jsx("dd",{children:t.text}),r.jsx("ul",{children:r.jsx("button",{"data-color":t.color||"blue",onClick:()=>{n(),H.del()},children:t.button})})]}),r.jsx("div",{className:"--body",onClick:H.del})]}));function dt(t,n){H.set(r.jsx(ct,{data:t,callback:n}))}function ut({children:t}){return r.jsx("div",{className:"l",children:r.jsx("ul",{children:t})})}function ft({children:t}){return r.jsx("div",{className:"s",children:t})}const xe=({children:t,disabled:n,label:a,onClick:s})=>{const x=h=>{n||s&&s(h)};return r.jsx("button",{disabled:n,onClick:x,children:a})},$={white:"_white_6ax6z_14",black:"_black_6ax6z_26",shake:"_shake_6ax6z_1",modal:"_modal_6ax6z_73",o:"_o_6ax6z_83",w:"_w_6ax6z_14",h:"_h_6ax6z_106",l:"_l_6ax6z_120",t:"_t_6ax6z_158",m:"_m_6ax6z_73",x:"_x_6ax6z_166",s:"_s_6ax6z_176",c:"_c_6ax6z_181",f:"_f_6ax6z_186",btn:"_btn_6ax6z_229",g:"_g_6ax6z_242","size-a":"_size-a_6ax6z_294","size-s":"_size-s_6ax6z_298","size-m":"_size-m_6ax6z_302","size-l":"_size-l_6ax6z_306","size-x":"_size-x_6ax6z_310","size-f":"_size-f_6ax6z_314",confirm:"_confirm_6ax6z_320",cancel:"_cancel_6ax6z_325",disabled:"_disabled_6ax6z_330",await:"_await_6ax6z_337",active:"_active_6ax6z_387",coincidence:"_coincidence_6ax6z_393"};let F={};const pt=({config:t})=>{let[n,a]=g.useState([]);return F.x=()=>{a([])},F.config=t,F.add=s=>{a([...n,s])},r.jsx(r.Fragment,{children:n.map(s=>s)})},xt=({children:t,title:n,button:a,tabs:s,size:x="m",menu:h})=>{const[R,y]=g.useState(!0),v=g.useRef(),A=k=>{if(a&&a.onClick)return a.onClick({closed:y,disabled:k})},w=()=>{v.current.setAttribute("shake",!0),setTimeout(()=>{v.current.setAttribute("shake",!1)},1e3)};return r.jsx(r.Fragment,{children:R?r.jsxs("div",{className:`${$.modal} ${$.white}`,children:[r.jsx("div",{className:$.o,onClick:w}),r.jsxs("div",{className:$.w,ref:v,children:[r.jsxs("div",{className:$.h,children:[r.jsx("div",{className:$.t,children:n}),r.jsxs("div",{className:$.m,children:[s&&r.jsx("nav",{children:s.map((k,T)=>r.jsx("span",{onClick:k.onClick,className:k.active?"active":"",children:k.name},T))}),h]}),r.jsx("div",{className:$.x,onClick:()=>{y(!1)},children:"x"})]}),t,a!==void 0?r.jsx(xe,{label:String(a.name),onClick:A}):""]})]}):""})},_t=t=>{F.add(r.jsx(gt,{children:t},String(Date.now())))},gt=({children:t})=>r.jsx(r.Fragment,{children:t}),_e={List:ut,Scroll:ft,Init:pt,Main:xt,Add:_t,Icon:({type:t,name:n,params:a})=>{let[s,x]=g.useState(null);return g.useEffect(()=>{F.config(t,n,a,x)},[a.id]),r.jsx(r.Fragment,{children:s})},Open:(t,n,a)=>{F.config(t,n,a)}};let S={};const c={},C={},ge={};function mt(t,n){if(S=t,localStorage.getItem("ssid")){let s=sessionStorage.getItem("page");s?(s=S.deCode(s),c.id=s.id,c.tab=s.tab,c.page=s.page,c.module=s.module,c.time=s.time,c.payment={active:!0},c.module_admin=s.module_admin):(c.id=0,c.tab="",c.page="Main",c.module=c.module||"M05")}else["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(s=>localStorage.removeItem(s)),["page"].forEach(s=>sessionStorage.removeItem(s)),c.id=0,c.tab="",c.page="Auth",c.module="M00";return n}function L(){["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(t=>localStorage.removeItem(t)),["page"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function ht(t){t=t.split("/"),c.page="Main",c.module=t[0],c.tab=t[1],c.id=0,sessionStorage.setItem("page",S.enCode({module:c.module,page:c.page,tab:c.tab,id:c.id,time:new Date().getTime()})),C.page(c.page)}function bt(t){return localStorage.setItem("ssid",t)}function vt(){let t=localStorage.getItem("ssid");return t!==""&&t!=="undefined"&&t!==null?localStorage.getItem("ssid"):(L(),!1)}function yt(t){return localStorage.setItem("auth",t)}function wt(){let t=localStorage.getItem("auth");return t!==""&&t!=="undefined"&&t!==null?t:(L(),!1)}function kt(){const[t,n]=g.useState(me()),a=s=>{n(s)};return C.page=a,[t]}function jt(t){c.page=t,sessionStorage.setItem("page",S.enCode(c)),C.page(t)}function me(){return c.page}function zt(){const[t,n]=g.useState(he()),a=s=>{n(s)};return C.module=a,[t]}function St(t,n){c.module=t,sessionStorage.setItem("page",S.enCode(c)),n!=="false"&&C.module(t)}function he(){return c.module}function Ct(t){const[n,a]=g.useState(be()||t),s=x=>{a(x)};return C.tabs=s,[n]}function Et(t,n){c.tab=t,sessionStorage.setItem("page",S.enCode(c)),n!=="false"&&C.tabs(t)}function be(){return c.tab}function Rt(){const[t,n]=g.useState(c.id),a=s=>{n(s)};return C.id=a,[t]}function Tt(t){C.id=t}function It(t,n){c.id=t,sessionStorage.setItem("page",S.enCode(c)),n!=="false"&&C.id(t)}function Pt(){return c.id}function Ot(t,n,a){c.module=t,c.id=a,c.tab=n,sessionStorage.setItem("page",S.enCode(c)),C.module(t),C.tabs(n)}function $t(t,n){ge.data[t]=n,localStorage.setItem("sett",S.enCode(ge.data))}function At(t){let n=localStorage.getItem("sett");return n===null?{}:(n=S.deCode(n),n?t!==void 0?n[t]:n:L())}function Mt(t){localStorage.setItem("menu",S.enCode({data:t}))}function Nt(){let t=localStorage.getItem("menu");if(t!==""&&t!=="undefined"&&t!==null){let n=localStorage.getItem("menu"),a=S.deCode(n);a||L();const s=(h,R)=>{let y=R+"";for(;y.length<h;)y="0"+y;return y};return a.data.split(",").map(h=>"M"+s(2,h))}else return L(),!1}const ve=({children:t,config:n,crypto:a,...s})=>mt(a,r.jsxs(r.Fragment,{children:[r.jsx(_e.Init,{config:n.modal}),r.jsx(tt,{}),r.jsx(lt,{}),t]})),Dt=({children:t,...n})=>r.jsx("menu",{children:t}),Ft=({children:t,...n})=>r.jsxs("header",{children:["xz",t]}),Lt={payment:"_payment_1lxfv_1"};function Wt(){let[t,n]=g.useState({});return!t.active&&!t.payment?"":r.jsx("div",{className:Lt.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const Yt=({children:t,...n})=>{let a={};return a.enCode=s=>JSON.stringify(s).toString(),a.deCode=s=>JSON.parse(s),r.jsxs("div",{className:"app",children:[r.jsx(Wt,{}),r.jsx(Dt,{}),r.jsx(Ft,{}),r.jsx(ve,{config:{modal:{}},crypto:a}),t]})},ye=({list:t,onClick:n,active:a,size:s,view:x})=>r.jsx("nav",{children:r.jsx("ul",{className:[s,x].join(" "),children:t.map(h=>r.jsx(Bt,{onClick:n,active:a,label:h.label,link:h.link},h.link))})}),Bt=({onClick:t,label:n,link:a,active:s})=>r.jsx("li",{"tabs-active":String(s===a),onClick:()=>t(a),children:n});ye.defaultProps={size:"M",view:"H"};const Ut=({title:t="",button:n,description:a="",children:s})=>r.jsxs("fieldset",{children:[t&&r.jsxs("legend",{children:[t,n&&r.jsx("div",{role:"button-outline",onClick:()=>n.onClick(),children:n.label})," "]}),r.jsx("ul",{children:s}),a&&r.jsx("article",{children:a})]}),Vt={setting:"_setting_1r0pc_2"},qt=({children:t})=>r.jsx("div",{className:Vt.setting,children:t}),Ht=({label:t,children:n})=>{let[a,s]=g.useState(!1);return r.jsxs("li",{"data-item":"accordion",children:[r.jsxs("dl",{onClick:()=>s(!a),children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:r.jsx("div",{"data-close":String(a)})})]}),a&&r.jsx("div",{children:n})]})},Jt=({label:t,onClick:n,button:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"button",onClick:()=>n(),children:a})]})}),we={Switch:({active:t,onClick:n})=>(console.log(t),t=typeof t=="number"?!!t:t,r.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),n()},"aria-checked":t?"true":"false"}))},Zt={Accordion:Ht,Button:Jt,Switch:({label:t,onClick:n,active:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:r.jsx(we.Switch,{onClick:n,active:a})})]})}),Info:({label:t,info:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"info",children:n})]})}),Select:({label:t,active:n,options:a})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{role:"info",children:n})]})}),Component:({label:t,children:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:n})]})}),Node:({label:t,children:n})=>r.jsx("li",{children:r.jsxs("dl",{children:[r.jsx("dt",{children:t}),r.jsx("dd",{children:n})]})})};function ke({list:t,onClick:n,active:a,size:s,view:x}){return r.jsx("nav",{children:r.jsx("ul",{className:[s,x].join(" "),children:t.map(h=>r.jsx(Gt,{onClick:n,active:a,label:h.label,link:h.link},h.link))})})}const Gt=({onClick:t,label:n,link:a,active:s})=>r.jsx("li",{"tabs-active":String(s===a),onClick:()=>t(a),children:n});ke.defaultProps={size:"M",view:"H"};const Kt={Section:Ut,Main:qt,Item:Zt,Tabs:ke},N={h:"_h_1b5x7_1",t:"_t_1b5x7_10",s:"_s_1b5x7_28",u:"_u_1b5x7_37",o:"_o_1b5x7_44",l:"_l_1b5x7_53",hh:"_hh_1b5x7_60"},je=({title:t,children:n})=>r.jsxs("div",{className:N.h,children:[r.jsx("div",{className:N.t,children:t}),n]}),Xt=({children:t,title:n})=>r.jsxs("div",{className:N.o,children:[n&&r.jsx("div",{className:N.hh,children:n}),t]}),Qt=({children:t})=>r.jsx("div",{className:N.u,children:t}),ze=({children:t})=>r.jsx("div",{className:N.s,children:t}),Se=({children:t,...n})=>r.jsx("div",{className:N.l,children:t}),er={Header:je,Section:ze,List:Se,U:Qt,L:Se,O:Xt,S:ze,H:je},tr={Send:rt,Error:nt,Remark:at,Success:it,Copy:ot},rr={Send:dt};function nr(){return r.jsx("svg",{viewBox:"0 0 462.86 359.96",children:r.jsx("path",{d:"M210.5,307.78c-27,35.41-58.14,58-120.55,50.84-1-.12-1.58-.39-1.58-2V327.87c0-1.32.51-2.12,1.85-2,100.39-1,88.17-63.46,74.8-90.94-47.3-97.28-14.46-166.27,20.26-205.14,14.1-16.37,50.53-42,128.07-23.24,9.1,2,30.51,7.8,24.46,11.38C317.5,30,297.66,68.33,295,73.12c-3.62,6.59-6.26,13.17-4.57,14.13,2.37,1.35,3.5-1.56,6.58-7.91C319.78,34.41,366-22.76,402.78,37.68a1.14,1.14,0,0,1,.09.26c9.3,56.05,30.57,228.62-97.76,224.22-23.38-2-28.82-22-32.57-18.89-3.36,3,10,21.4,32.76,23.19C448.18,270.75,411.55,66.74,407.79,41.91a1.41,1.41,0,0,1,0-.3c2-7.32,129.15,17.47,112.77,158.08,4.82,6.57,10.89,10,18.7,16.08l.13.07c8.9,3.67,10.46,12.06,11.43,18.88a63.15,63.15,0,0,1-.14,15.49c-10.48-4.62-22.74-10.11-22.26-22.53.43-12,7.35-5.21-8.8-14.22a.69.69,0,0,0-1,.57c-.33,3.87-2.7,14.69-3,16.59v0c-4.64,17-16.59,86-18.41,99.58-.77,5.7-4.94,10.41-11.4,10.39l-56.71.18c-7.73.22-9.57-7.9-10.27-11.89-2.7-15.31-4.08-29.7-4.18-29.67-20.24,9.26-108.69,3.08-108.69,3.27V330c-.29,7.56-4.51,15.26-11.74,15.32l-52.87,1c-10.36.1-13.85-1.67-15.5-11.87-2.08-13.08-1-34.26-5.32-37.43-2,1.84-8.33,8.11-10,10.83M196.16,203q9.57,0,11.42-7.72c2.18-9.07-5.66-17.7-14.77-15.68-4.95,1.11-7.53,4.94-7.53,11.53C185.28,199,188.94,203,196.16,203Z",transform:"translate(-88.37 0)"})})}const ir={Logo:nr},ar={setSSID:bt,getSSID:vt,Logaut:L,setAUTH:yt,getAUTH:wt,Start:ht,setSetting:$t,getSetting:At,setMenu:Mt,getMenu:Nt},or={Path:Ot,setPage:jt,getPage:me,usePage:kt,setModule:St,getModule:he,useModule:zt,setTabs:Et,getTabs:be,useTabs:Ct,useId:Rt,setId:It,subId:Tt,getId:Pt};_.Action=we,_.Alert=rr,_.Browser=Yt,_.Button=xe,_.Component=er,_.Icon=ir,_.Init=ve,_.Modal=_e,_.Notice=tr,_.Router=or,_.Setting=Kt,_.Store=ar,_.Tabs=ye,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elcrm",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --open --port 4101",