elcrm 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -15,16 +15,16 @@ function pr() {
15
15
  if (Oe)
16
16
  return M;
17
17
  Oe = 1;
18
- var t = g, s = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
18
+ var t = g, s = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, _ = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
19
19
  function O(C, x, S) {
20
- var p, j = {}, R = null, B = null;
21
- S !== void 0 && (R = "" + S), x.key !== void 0 && (R = "" + x.key), x.ref !== void 0 && (B = x.ref);
20
+ var p, j = {}, R = null, V = null;
21
+ S !== void 0 && (R = "" + S), x.key !== void 0 && (R = "" + x.key), x.ref !== void 0 && (V = x.ref);
22
22
  for (p in x)
23
23
  c.call(x, p) && !m.hasOwnProperty(p) && (j[p] = x[p]);
24
24
  if (C && C.defaultProps)
25
25
  for (p in x = C.defaultProps, x)
26
26
  j[p] === void 0 && (j[p] = x[p]);
27
- return { $$typeof: s, type: C, key: R, ref: B, props: j, _owner: v.current };
27
+ return { $$typeof: s, type: C, key: R, ref: V, props: j, _owner: _.current };
28
28
  }
29
29
  return M.Fragment = i, M.jsx = O, M.jsxs = O, M;
30
30
  }
@@ -41,7 +41,7 @@ var W = {};
41
41
  var $e;
42
42
  function jr() {
43
43
  return $e || ($e = 1, process.env.NODE_ENV !== "production" && function() {
44
- var t = g, s = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), C = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), ie = Symbol.iterator, Ie = "@@iterator";
44
+ var t = g, s = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), C = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), V = Symbol.for("react.offscreen"), ie = Symbol.iterator, Ie = "@@iterator";
45
45
  function Fe(e) {
46
46
  if (e === null || typeof e != "object")
47
47
  return null;
@@ -69,13 +69,13 @@ function jr() {
69
69
  var Me = !1, We = !1, Ye = !1, Ue = !1, Ve = !1, oe;
70
70
  oe = Symbol.for("react.module.reference");
71
71
  function Be(e) {
72
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === m || Ve || e === v || e === S || e === p || Ue || e === B || Me || We || Ye || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === j || e.$$typeof === O || e.$$typeof === C || e.$$typeof === x || // This needs to include all possible module reference object
72
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === m || Ve || e === _ || e === S || e === p || Ue || e === V || Me || We || Ye || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === j || e.$$typeof === O || e.$$typeof === C || e.$$typeof === x || // This needs to include all possible module reference object
73
73
  // types supported by any Flight configuration anywhere since
74
74
  // we don't know which Flight build this will end up being used
75
75
  // with.
76
76
  e.$$typeof === oe || e.getModuleId !== void 0));
77
77
  }
78
- function He(e, n, a) {
78
+ function qe(e, n, a) {
79
79
  var o = e.displayName;
80
80
  if (o)
81
81
  return o;
@@ -99,7 +99,7 @@ function jr() {
99
99
  return "Portal";
100
100
  case m:
101
101
  return "Profiler";
102
- case v:
102
+ case _:
103
103
  return "StrictMode";
104
104
  case S:
105
105
  return "Suspense";
@@ -115,7 +115,7 @@ function jr() {
115
115
  var a = e;
116
116
  return ce(a._context) + ".Provider";
117
117
  case x:
118
- return He(e, e.render, "ForwardRef");
118
+ return qe(e, e.render, "ForwardRef");
119
119
  case j:
120
120
  var o = e.displayName || null;
121
121
  return o !== null ? o : k(e.type) || "Memo";
@@ -134,7 +134,7 @@ function jr() {
134
134
  function xe() {
135
135
  }
136
136
  xe.__reactDisabledLog = !0;
137
- function qe() {
137
+ function He() {
138
138
  {
139
139
  if (F === 0) {
140
140
  le = console.log, ue = console.info, fe = console.warn, de = console.error, _e = console.group, ve = console.groupCollapsed, he = console.groupEnd;
@@ -193,7 +193,7 @@ function jr() {
193
193
  }
194
194
  }
195
195
  var Z = N.ReactCurrentDispatcher, X;
196
- function H(e, n, a) {
196
+ function B(e, n, a) {
197
197
  {
198
198
  if (X === void 0)
199
199
  try {
@@ -224,7 +224,7 @@ function jr() {
224
224
  var f = Error.prepareStackTrace;
225
225
  Error.prepareStackTrace = void 0;
226
226
  var d;
227
- d = Z.current, Z.current = null, qe();
227
+ d = Z.current, Z.current = null, He();
228
228
  try {
229
229
  if (n) {
230
230
  var u = function() {
@@ -261,25 +261,25 @@ function jr() {
261
261
  if (w && o && typeof w.stack == "string") {
262
262
  for (var l = w.stack.split(`
263
263
  `), y = o.stack.split(`
264
- `), _ = l.length - 1, h = y.length - 1; _ >= 1 && h >= 0 && l[_] !== y[h]; )
264
+ `), v = l.length - 1, h = y.length - 1; v >= 1 && h >= 0 && l[v] !== y[h]; )
265
265
  h--;
266
- for (; _ >= 1 && h >= 0; _--, h--)
267
- if (l[_] !== y[h]) {
268
- if (_ !== 1 || h !== 1)
266
+ for (; v >= 1 && h >= 0; v--, h--)
267
+ if (l[v] !== y[h]) {
268
+ if (v !== 1 || h !== 1)
269
269
  do
270
- if (_--, h--, h < 0 || l[_] !== y[h]) {
270
+ if (v--, h--, h < 0 || l[v] !== y[h]) {
271
271
  var E = `
272
- ` + l[_].replace(" at new ", " at ");
272
+ ` + l[v].replace(" at new ", " at ");
273
273
  return e.displayName && E.includes("<anonymous>") && (E = E.replace("<anonymous>", e.displayName)), typeof e == "function" && q.set(e, E), E;
274
274
  }
275
- while (_ >= 1 && h >= 0);
275
+ while (v >= 1 && h >= 0);
276
276
  break;
277
277
  }
278
278
  }
279
279
  } finally {
280
280
  Q = !1, Z.current = d, Je(), Error.prepareStackTrace = f;
281
281
  }
282
- var I = e ? e.displayName || e.name : "", Pe = I ? H(I) : "";
282
+ var I = e ? e.displayName || e.name : "", Pe = I ? B(I) : "";
283
283
  return typeof e == "function" && q.set(e, Pe), Pe;
284
284
  }
285
285
  function Ke(e, n, a) {
@@ -289,46 +289,46 @@ function jr() {
289
289
  var n = e.prototype;
290
290
  return !!(n && n.isReactComponent);
291
291
  }
292
- function J(e, n, a) {
292
+ function H(e, n, a) {
293
293
  if (e == null)
294
294
  return "";
295
295
  if (typeof e == "function")
296
296
  return me(e, Ze(e));
297
297
  if (typeof e == "string")
298
- return H(e);
298
+ return B(e);
299
299
  switch (e) {
300
300
  case S:
301
- return H("Suspense");
301
+ return B("Suspense");
302
302
  case p:
303
- return H("SuspenseList");
303
+ return B("SuspenseList");
304
304
  }
305
305
  if (typeof e == "object")
306
306
  switch (e.$$typeof) {
307
307
  case x:
308
308
  return Ke(e.render);
309
309
  case j:
310
- return J(e.type, n, a);
310
+ return H(e.type, n, a);
311
311
  case R: {
312
312
  var o = e, f = o._payload, d = o._init;
313
313
  try {
314
- return J(d(f), n, a);
314
+ return H(d(f), n, a);
315
315
  } catch {
316
316
  }
317
317
  }
318
318
  }
319
319
  return "";
320
320
  }
321
- var G = Object.prototype.hasOwnProperty, pe = {}, je = N.ReactDebugCurrentFrame;
322
- function K(e) {
321
+ var J = Object.prototype.hasOwnProperty, pe = {}, je = N.ReactDebugCurrentFrame;
322
+ function G(e) {
323
323
  if (e) {
324
- var n = e._owner, a = J(e.type, e._source, n ? n.type : null);
324
+ var n = e._owner, a = H(e.type, e._source, n ? n.type : null);
325
325
  je.setExtraStackFrame(a);
326
326
  } else
327
327
  je.setExtraStackFrame(null);
328
328
  }
329
329
  function Xe(e, n, a, o, f) {
330
330
  {
331
- var d = Function.call.bind(G);
331
+ var d = Function.call.bind(J);
332
332
  for (var u in e)
333
333
  if (d(e, u)) {
334
334
  var l = void 0;
@@ -338,10 +338,10 @@ function jr() {
338
338
  throw y.name = "Invariant Violation", y;
339
339
  }
340
340
  l = e[u](n, u, o, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
- } catch (_) {
342
- l = _;
341
+ } catch (v) {
342
+ l = v;
343
343
  }
344
- l && !(l instanceof Error) && (K(f), b("%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).", o || "React class", a, u, typeof l), K(null)), l instanceof Error && !(l.message in pe) && (pe[l.message] = !0, K(f), b("Failed %s type: %s", a, l.message), K(null));
344
+ l && !(l instanceof Error) && (G(f), b("%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).", o || "React class", a, u, typeof l), G(null)), l instanceof Error && !(l.message in pe) && (pe[l.message] = !0, G(f), b("Failed %s type: %s", a, l.message), G(null));
345
345
  }
346
346
  }
347
347
  }
@@ -377,7 +377,7 @@ function jr() {
377
377
  }, ge, Ee, re;
378
378
  re = {};
379
379
  function nr(e) {
380
- if (G.call(e, "ref")) {
380
+ if (J.call(e, "ref")) {
381
381
  var n = Object.getOwnPropertyDescriptor(e, "ref").get;
382
382
  if (n && n.isReactWarning)
383
383
  return !1;
@@ -385,7 +385,7 @@ function jr() {
385
385
  return e.ref !== void 0;
386
386
  }
387
387
  function sr(e) {
388
- if (G.call(e, "key")) {
388
+ if (J.call(e, "key")) {
389
389
  var n = Object.getOwnPropertyDescriptor(e, "key").get;
390
390
  if (n && n.isReactWarning)
391
391
  return !1;
@@ -454,11 +454,11 @@ function jr() {
454
454
  var d, u = {}, l = null, y = null;
455
455
  a !== void 0 && (ye(a), l = "" + a), sr(n) && (ye(n.key), l = "" + n.key), nr(n) && (y = n.ref, ar(n, f));
456
456
  for (d in n)
457
- G.call(n, d) && !tr.hasOwnProperty(d) && (u[d] = n[d]);
457
+ J.call(n, d) && !tr.hasOwnProperty(d) && (u[d] = n[d]);
458
458
  if (e && e.defaultProps) {
459
- var _ = e.defaultProps;
460
- for (d in _)
461
- u[d] === void 0 && (u[d] = _[d]);
459
+ var v = e.defaultProps;
460
+ for (d in v)
461
+ u[d] === void 0 && (u[d] = v[d]);
462
462
  }
463
463
  if (l || y) {
464
464
  var h = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
@@ -470,7 +470,7 @@ function jr() {
470
470
  var te = N.ReactCurrentOwner, Ce = N.ReactDebugCurrentFrame;
471
471
  function D(e) {
472
472
  if (e) {
473
- var n = e._owner, a = J(e.type, e._source, n ? n.type : null);
473
+ var n = e._owner, a = H(e.type, e._source, n ? n.type : null);
474
474
  Ce.setExtraStackFrame(a);
475
475
  } else
476
476
  Ce.setExtraStackFrame(null);
@@ -593,8 +593,8 @@ Check the top-level render call using <` + a + ">.");
593
593
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
594
594
  var y = ur(f);
595
595
  y ? l += y : l += Re();
596
- var _;
597
- e === null ? _ = "null" : ee(e) ? _ = "array" : e !== void 0 && e.$$typeof === s ? (_ = "<" + (k(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof e, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, l);
596
+ var v;
597
+ e === null ? v = "null" : ee(e) ? v = "array" : e !== void 0 && e.$$typeof === s ? (v = "<" + (k(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : v = typeof e, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", v, l);
598
598
  }
599
599
  var h = lr(e, n, a, f, d);
600
600
  if (h == null)
@@ -645,7 +645,7 @@ function kr() {
645
645
  s(t.filter((c) => c.key !== i));
646
646
  }, t.length === 0 ? "" : /* @__PURE__ */ r.jsx("ul", { className: Rr.notice, children: t.map((i) => i.item) });
647
647
  }
648
- function V({ data: t }) {
648
+ function U({ data: t }) {
649
649
  let [s, i] = g.useState("show");
650
650
  g.useEffect(() => {
651
651
  setTimeout(function() {
@@ -654,49 +654,49 @@ function V({ data: t }) {
654
654
  P.del(t.key);
655
655
  }, 2500);
656
656
  }, [t.key]);
657
- let c, v;
657
+ let c, _;
658
658
  switch (t.type) {
659
659
  case "error":
660
- c = /* @__PURE__ */ r.jsx(z.error, {}), v = "Ошибка:";
660
+ c = /* @__PURE__ */ r.jsx(z.error, {}), _ = "Ошибка:";
661
661
  break;
662
662
  case "success":
663
- c = /* @__PURE__ */ r.jsx(z.success, {}), v = "Информация:";
663
+ c = /* @__PURE__ */ r.jsx(z.success, {}), _ = "Информация:";
664
664
  break;
665
665
  case "copy":
666
- c = /* @__PURE__ */ r.jsx(z.success, {}), v = "Копирование:";
666
+ c = /* @__PURE__ */ r.jsx(z.success, {}), _ = "Копирование:";
667
667
  break;
668
668
  case "remark":
669
- c = /* @__PURE__ */ r.jsx(z.success, {}), v = "Подсказка:";
669
+ c = /* @__PURE__ */ r.jsx(z.success, {}), _ = "Подсказка:";
670
670
  break;
671
671
  default:
672
- c = /* @__PURE__ */ r.jsx(z.success, {}), v = "Предупреждение:";
672
+ c = /* @__PURE__ */ r.jsx(z.success, {}), _ = "Предупреждение:";
673
673
  break;
674
674
  }
675
675
  return /* @__PURE__ */ r.jsxs("li", { className: "item " + t.type, "data-status": s, children: [
676
676
  c,
677
- /* @__PURE__ */ r.jsx("b", { children: v }),
677
+ /* @__PURE__ */ r.jsx("b", { children: _ }),
678
678
  /* @__PURE__ */ r.jsx("p", { children: t.text })
679
679
  ] });
680
680
  }
681
681
  function wr(t) {
682
682
  let s = Date.now(), i = { key: s, ...t };
683
- P.set({ item: /* @__PURE__ */ r.jsx(V, { data: i }, s), key: s });
683
+ P.set({ item: /* @__PURE__ */ r.jsx(U, { data: i }, s), key: s });
684
684
  }
685
685
  function Sr(t) {
686
686
  let s = Date.now(), i = { key: s, text: t, type: "error" };
687
- P.set({ item: /* @__PURE__ */ r.jsx(V, { data: i }, s), key: s });
687
+ P.set({ item: /* @__PURE__ */ r.jsx(U, { data: i }, s), key: s });
688
688
  }
689
689
  function Tr(t) {
690
690
  let s = Date.now(), i = { key: s, text: t, type: "success" };
691
- P.set({ item: /* @__PURE__ */ r.jsx(V, { data: i }, s), key: s });
691
+ P.set({ item: /* @__PURE__ */ r.jsx(U, { data: i }, s), key: s });
692
692
  }
693
693
  function Pr(t) {
694
694
  let s = Date.now(), i = { key: s, text: t, type: "remark" };
695
- P.set({ item: /* @__PURE__ */ r.jsx(V, { data: i }, s), key: s });
695
+ P.set({ item: /* @__PURE__ */ r.jsx(U, { data: i }, s), key: s });
696
696
  }
697
697
  function Or(t) {
698
698
  let s = Date.now(), i = { key: s, text: t, type: "copy" };
699
- P.set({ item: /* @__PURE__ */ r.jsx(V, { data: i }, s), key: s });
699
+ P.set({ item: /* @__PURE__ */ r.jsx(U, { data: i }, s), key: s });
700
700
  }
701
701
  const z = {};
702
702
  z.error = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
@@ -739,10 +739,10 @@ const $r = "_alerts_1e9y0_1", zr = "_menuAnimation_1e9y0_1", Ar = "_menuItemAnim
739
739
  allert: Nr,
740
740
  "--form": "_--form_1e9y0_111"
741
741
  };
742
- let U = {};
742
+ let Y = {};
743
743
  function Ir() {
744
744
  let [t, s] = g.useState("");
745
- return U.set = (i) => s(i), U.del = () => s(""), /* @__PURE__ */ r.jsx(r.Fragment, { children: t });
745
+ return Y.set = (i) => s(i), Y.del = () => s(""), /* @__PURE__ */ r.jsx(r.Fragment, { children: t });
746
746
  }
747
747
  const Fr = ({ data: t, callback: s }) => (t.button = t.button === void 0 ? "Подтвердить" : t.button, /* @__PURE__ */ r.jsxs("div", { className: Dr.alerts, children: [
748
748
  /* @__PURE__ */ r.jsxs("dl", { children: [
@@ -753,16 +753,16 @@ const Fr = ({ data: t, callback: s }) => (t.button = t.button === void 0 ? "По
753
753
  {
754
754
  "data-color": t.color || "blue",
755
755
  onClick: () => {
756
- s(), U.del();
756
+ s(), Y.del();
757
757
  },
758
758
  children: t.button
759
759
  }
760
760
  ) })
761
761
  ] }),
762
- /* @__PURE__ */ r.jsx("div", { className: "--body", onClick: U.del })
762
+ /* @__PURE__ */ r.jsx("div", { className: "--body", onClick: Y.del })
763
763
  ] }));
764
764
  function Lr(t, s) {
765
- U.set(/* @__PURE__ */ r.jsx(Fr, { data: t, callback: s }));
765
+ Y.set(/* @__PURE__ */ r.jsx(Fr, { data: t, callback: s }));
766
766
  }
767
767
  function Mr({ children: t }) {
768
768
  return /* @__PURE__ */ r.jsx("div", { className: "l", children: /* @__PURE__ */ r.jsx("ul", { children: t }) });
@@ -770,60 +770,65 @@ function Mr({ children: t }) {
770
770
  function Wr({ children: t }) {
771
771
  return /* @__PURE__ */ r.jsx("div", { className: "s", children: t });
772
772
  }
773
- const Yr = ({
773
+ const Yr = (t, s) => {
774
+ const i = t[s];
775
+ return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((c, _) => {
776
+ (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(_.bind(null, new Error("Unknown variable dynamic import: " + s)));
777
+ });
778
+ }, Ur = ({
774
779
  children: t,
775
780
  disabled: s,
776
781
  label: i,
777
782
  onClick: c
778
783
  }) => {
779
- const v = (m) => {
784
+ const _ = (m) => {
780
785
  s || c && c(m);
781
786
  };
782
- return /* @__PURE__ */ r.jsx("button", { disabled: s, onClick: v, children: i });
783
- }, Ur = "_white_6ax6z_14", Vr = "_black_6ax6z_26", Br = "_shake_6ax6z_1", Hr = "_modal_6ax6z_73", qr = "_o_6ax6z_83", Jr = "_w_6ax6z_14", Gr = "_h_6ax6z_106", Kr = "_l_6ax6z_120", Zr = "_t_6ax6z_158", Xr = "_m_6ax6z_73", Qr = "_x_6ax6z_166", et = "_s_6ax6z_176", rt = "_c_6ax6z_181", tt = "_f_6ax6z_186", nt = "_btn_6ax6z_229", st = "_g_6ax6z_242", at = "_confirm_6ax6z_320", it = "_cancel_6ax6z_325", ot = "_disabled_6ax6z_330", ct = "_active_6ax6z_387", lt = "_coincidence_6ax6z_393", T = {
784
- white: Ur,
785
- black: Vr,
786
- shake: Br,
787
+ return /* @__PURE__ */ r.jsx("button", { disabled: s, onClick: _, children: i });
788
+ }, Vr = "_white_6ax6z_14", Br = "_black_6ax6z_26", qr = "_shake_6ax6z_1", Hr = "_modal_6ax6z_73", Jr = "_o_6ax6z_83", Gr = "_w_6ax6z_14", Kr = "_h_6ax6z_106", Zr = "_l_6ax6z_120", Xr = "_t_6ax6z_158", Qr = "_m_6ax6z_73", et = "_x_6ax6z_166", rt = "_s_6ax6z_176", tt = "_c_6ax6z_181", nt = "_f_6ax6z_186", st = "_btn_6ax6z_229", at = "_g_6ax6z_242", it = "_confirm_6ax6z_320", ot = "_cancel_6ax6z_325", ct = "_disabled_6ax6z_330", lt = "_active_6ax6z_387", ut = "_coincidence_6ax6z_393", T = {
789
+ white: Vr,
790
+ black: Br,
791
+ shake: qr,
787
792
  modal: Hr,
788
- o: qr,
789
- w: Jr,
790
- h: Gr,
791
- l: Kr,
792
- t: Zr,
793
- m: Xr,
794
- x: Qr,
795
- s: et,
796
- c: rt,
797
- f: tt,
798
- btn: nt,
799
- g: st,
793
+ o: Jr,
794
+ w: Gr,
795
+ h: Kr,
796
+ l: Zr,
797
+ t: Xr,
798
+ m: Qr,
799
+ x: et,
800
+ s: rt,
801
+ c: tt,
802
+ f: nt,
803
+ btn: st,
804
+ g: at,
800
805
  "size-a": "_size-a_6ax6z_294",
801
806
  "size-s": "_size-s_6ax6z_298",
802
807
  "size-m": "_size-m_6ax6z_302",
803
808
  "size-l": "_size-l_6ax6z_306",
804
809
  "size-x": "_size-x_6ax6z_310",
805
810
  "size-f": "_size-f_6ax6z_314",
806
- confirm: at,
807
- cancel: it,
808
- disabled: ot,
811
+ confirm: it,
812
+ cancel: ot,
813
+ disabled: ct,
809
814
  await: "_await_6ax6z_337",
810
- active: ct,
811
- coincidence: lt
815
+ active: lt,
816
+ coincidence: ut
812
817
  };
813
- let Y = {};
814
- const ut = ({ config: t }) => {
818
+ let K = {};
819
+ const ft = ({ config: t }) => {
815
820
  let [s, i] = g.useState([]);
816
- return Y.x = () => {
821
+ return K.x = () => {
817
822
  i([]);
818
- }, Y.config = t, Y.add = (c) => {
823
+ }, K.config = t, K.add = (c) => {
819
824
  i([...s, c]);
820
825
  }, /* @__PURE__ */ r.jsx(r.Fragment, { children: s.map((c) => c) });
821
- }, ft = ({
826
+ }, dt = ({
822
827
  children: t,
823
828
  title: s,
824
829
  button: i,
825
830
  tabs: c,
826
- size: v = "m",
831
+ size: _ = "m",
827
832
  menu: m
828
833
  }) => {
829
834
  const [O, C] = g.useState(!0), x = g.useRef(), S = (j) => {
@@ -868,7 +873,7 @@ const ut = ({ config: t }) => {
868
873
  ] }),
869
874
  t,
870
875
  i !== void 0 ? /* @__PURE__ */ r.jsx(
871
- Yr,
876
+ Ur,
872
877
  {
873
878
  label: String(i.name),
874
879
  onClick: S
@@ -878,36 +883,38 @@ const ut = ({ config: t }) => {
878
883
  ]
879
884
  }
880
885
  ) : "" });
881
- }, dt = (t) => {
882
- Y.add(/* @__PURE__ */ r.jsx(_t, { children: t }, String(Date.now())));
883
- }, _t = ({ children: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: t }), vt = ({ type: t, name: s, params: i }) => {
884
- let [c, v] = g.useState(null);
886
+ }, _t = (t) => {
887
+ K.add(/* @__PURE__ */ r.jsx(vt, { children: t }, String(Date.now())));
888
+ }, vt = ({ children: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: t }), ht = ({ type: t, name: s, params: i }) => {
889
+ let [c, _] = g.useState(null);
885
890
  return g.useEffect(() => {
886
- Y.config.moadl(v, t, s, i);
891
+ Yr(/* @__PURE__ */ Object.assign({}), `./modules/${t}/modal/${s}.jsx`).then((m) => {
892
+ _(m.default.Icon(i));
893
+ });
887
894
  }, [i.id]), /* @__PURE__ */ r.jsx(r.Fragment, { children: c });
888
- }, ht = { List: Mr, Scroll: Wr, Init: ut, Main: ft, Add: dt, Icon: vt }, xt = ({ children: t, config: s, ...i }) => /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
889
- /* @__PURE__ */ r.jsx(ht.Init, { config: s.modal }),
895
+ }, xt = { List: Mr, Scroll: Wr, Init: ft, Main: dt, Add: _t, Icon: ht }, mt = ({ children: t, config: s, ...i }) => /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
896
+ /* @__PURE__ */ r.jsx(xt.Init, { config: s.modal }),
890
897
  /* @__PURE__ */ r.jsx(kr, {}),
891
898
  /* @__PURE__ */ r.jsx(Ir, {}),
892
899
  t
893
- ] }), mt = ({ children: t, ...s }) => /* @__PURE__ */ r.jsx("menu", { children: t }), pt = ({ children: t, ...s }) => /* @__PURE__ */ r.jsxs("header", { children: [
900
+ ] }), pt = ({ children: t, ...s }) => /* @__PURE__ */ r.jsx("menu", { children: t }), jt = ({ children: t, ...s }) => /* @__PURE__ */ r.jsxs("header", { children: [
894
901
  "xz",
895
902
  t
896
- ] }), jt = "_payment_1lxfv_1", bt = {
897
- payment: jt
903
+ ] }), bt = "_payment_1lxfv_1", yt = {
904
+ payment: bt
898
905
  };
899
- function yt() {
906
+ function gt() {
900
907
  let [t, s] = g.useState({});
901
- return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className: bt.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
908
+ return !t.active && !t.payment ? "" : /* @__PURE__ */ r.jsx("div", { className: yt.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
902
909
  }
903
- const Gt = ({ children: t, ...s }) => /* @__PURE__ */ r.jsxs("div", { className: "app", children: [
904
- /* @__PURE__ */ r.jsx(yt, {}),
905
- /* @__PURE__ */ r.jsx(mt, {}),
910
+ const Kt = ({ children: t, ...s }) => /* @__PURE__ */ r.jsxs("div", { className: "app", children: [
911
+ /* @__PURE__ */ r.jsx(gt, {}),
906
912
  /* @__PURE__ */ r.jsx(pt, {}),
907
- /* @__PURE__ */ r.jsx(xt, { config: { modal: {} } }),
913
+ /* @__PURE__ */ r.jsx(jt, {}),
914
+ /* @__PURE__ */ r.jsx(mt, { config: { modal: {} } }),
908
915
  t
909
- ] }), gt = ({ list: t, onClick: s, active: i, size: c, view: v }) => /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [c, v].join(" "), children: t.map((m) => /* @__PURE__ */ r.jsx(
910
- Et,
916
+ ] }), Et = ({ list: t, onClick: s, active: i, size: c, view: _ }) => /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [c, _].join(" "), children: t.map((m) => /* @__PURE__ */ r.jsx(
917
+ Ct,
911
918
  {
912
919
  onClick: s,
913
920
  active: i,
@@ -915,9 +922,9 @@ const Gt = ({ children: t, ...s }) => /* @__PURE__ */ r.jsxs("div", { className:
915
922
  link: m.link
916
923
  },
917
924
  m.link
918
- )) }) }), Et = ({ onClick: t, label: s, link: i, active: c }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(c === i), onClick: () => t(i), children: s });
919
- gt.defaultProps = { size: "M", view: "H" };
920
- const Ct = ({
925
+ )) }) }), Ct = ({ onClick: t, label: s, link: i, active: c }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(c === i), onClick: () => t(i), children: s });
926
+ Et.defaultProps = { size: "M", view: "H" };
927
+ const Rt = ({
921
928
  title: t = "",
922
929
  button: s,
923
930
  description: i = "",
@@ -937,9 +944,9 @@ const Ct = ({
937
944
  ] }),
938
945
  /* @__PURE__ */ r.jsx("ul", { children: c }),
939
946
  i && /* @__PURE__ */ r.jsx("article", { children: i })
940
- ] }), Rt = "_setting_1r0pc_2", kt = {
941
- setting: Rt
942
- }, wt = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: kt.setting, children: t }), St = ({ label: t, children: s }) => {
947
+ ] }), kt = "_setting_1r0pc_2", wt = {
948
+ setting: kt
949
+ }, St = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: wt.setting, children: t }), Tt = ({ label: t, children: s }) => {
943
950
  let [i, c] = g.useState(!1);
944
951
  return /* @__PURE__ */ r.jsxs("li", { "data-item": "accordion", children: [
945
952
  /* @__PURE__ */ r.jsxs("dl", { onClick: () => c(!i), children: [
@@ -948,10 +955,10 @@ const Ct = ({
948
955
  ] }),
949
956
  i && /* @__PURE__ */ r.jsx("div", { children: s })
950
957
  ] });
951
- }, Tt = ({ label: t, onClick: s, button: i }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
958
+ }, Pt = ({ label: t, onClick: s, button: i }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
952
959
  /* @__PURE__ */ r.jsx("dt", { children: t }),
953
960
  /* @__PURE__ */ r.jsx("dd", { role: "button", onClick: () => s(), children: i })
954
- ] }) }), Pt = ({ active: t, onClick: s }) => (console.log(t), t = typeof t == "number" ? !!t : t, /* @__PURE__ */ r.jsx(
961
+ ] }) }), Ot = ({ active: t, onClick: s }) => (console.log(t), t = typeof t == "number" ? !!t : t, /* @__PURE__ */ r.jsx(
955
962
  "div",
956
963
  {
957
964
  role: "switch",
@@ -960,25 +967,25 @@ const Ct = ({
960
967
  },
961
968
  "aria-checked": t ? "true" : "false"
962
969
  }
963
- )), Ot = { Switch: Pt }, $t = ({ label: t, onClick: s, active: i }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
970
+ )), $t = { Switch: Ot }, zt = ({ label: t, onClick: s, active: i }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
964
971
  /* @__PURE__ */ r.jsx("dt", { children: t }),
965
- /* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx(Ot.Switch, { onClick: s, active: i }) })
966
- ] }) }), zt = ({ label: t, active: s, options: i }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
972
+ /* @__PURE__ */ r.jsx("dd", { children: /* @__PURE__ */ r.jsx($t.Switch, { onClick: s, active: i }) })
973
+ ] }) }), At = ({ label: t, active: s, options: i }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
967
974
  /* @__PURE__ */ r.jsx("dt", { children: t }),
968
975
  /* @__PURE__ */ r.jsx("dd", { role: "info", children: s })
969
- ] }) }), At = ({ label: t, info: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
976
+ ] }) }), Nt = ({ label: t, info: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
970
977
  /* @__PURE__ */ r.jsx("dt", { children: t }),
971
978
  /* @__PURE__ */ r.jsx("dd", { role: "info", children: s })
972
- ] }) }), Nt = ({ label: t, children: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
979
+ ] }) }), Dt = ({ label: t, children: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
973
980
  /* @__PURE__ */ r.jsx("dt", { children: t }),
974
981
  /* @__PURE__ */ r.jsx("dd", { children: s })
975
- ] }) }), Dt = ({ label: t, children: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
982
+ ] }) }), It = ({ label: t, children: s }) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsxs("dl", { children: [
976
983
  /* @__PURE__ */ r.jsx("dt", { children: t }),
977
984
  /* @__PURE__ */ r.jsx("dd", { children: s })
978
- ] }) }), It = { Accordion: St, Button: Tt, Switch: $t, Info: At, Select: zt, Component: Nt, Node: Dt };
979
- function De({ list: t, onClick: s, active: i, size: c, view: v }) {
980
- return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [c, v].join(" "), children: t.map((m) => /* @__PURE__ */ r.jsx(
981
- Ft,
985
+ ] }) }), Ft = { Accordion: Tt, Button: Pt, Switch: zt, Info: Nt, Select: At, Component: Dt, Node: It };
986
+ function De({ list: t, onClick: s, active: i, size: c, view: _ }) {
987
+ return /* @__PURE__ */ r.jsx("nav", { children: /* @__PURE__ */ r.jsx("ul", { className: [c, _].join(" "), children: t.map((m) => /* @__PURE__ */ r.jsx(
988
+ Lt,
982
989
  {
983
990
  onClick: s,
984
991
  active: i,
@@ -988,32 +995,32 @@ function De({ list: t, onClick: s, active: i, size: c, view: v }) {
988
995
  m.link
989
996
  )) }) });
990
997
  }
991
- const Ft = ({ onClick: t, label: s, link: i, active: c }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(c === i), onClick: () => t(i), children: s });
998
+ const Lt = ({ onClick: t, label: s, link: i, active: c }) => /* @__PURE__ */ r.jsx("li", { "tabs-active": String(c === i), onClick: () => t(i), children: s });
992
999
  De.defaultProps = { size: "M", view: "H" };
993
- const Kt = { Section: Ct, Main: wt, Item: It, Tabs: De }, Lt = "_h_1b5x7_1", Mt = "_t_1b5x7_10", Wt = "_s_1b5x7_28", Yt = "_u_1b5x7_37", Ut = "_o_1b5x7_44", Vt = "_l_1b5x7_53", Bt = "_hh_1b5x7_60", A = {
994
- h: Lt,
995
- t: Mt,
996
- s: Wt,
997
- u: Yt,
998
- o: Ut,
999
- l: Vt,
1000
- hh: Bt
1000
+ const Zt = { Section: Rt, Main: St, Item: Ft, Tabs: De }, Mt = "_h_1b5x7_1", Wt = "_t_1b5x7_10", Yt = "_s_1b5x7_28", Ut = "_u_1b5x7_37", Vt = "_o_1b5x7_44", Bt = "_l_1b5x7_53", qt = "_hh_1b5x7_60", A = {
1001
+ h: Mt,
1002
+ t: Wt,
1003
+ s: Yt,
1004
+ u: Ut,
1005
+ o: Vt,
1006
+ l: Bt,
1007
+ hh: qt
1001
1008
  }, ze = ({ title: t, children: s }) => /* @__PURE__ */ r.jsxs("div", { className: A.h, children: [
1002
1009
  /* @__PURE__ */ r.jsx("div", { className: A.t, children: t }),
1003
1010
  s
1004
1011
  ] }), Ht = ({ children: t, title: s }) => /* @__PURE__ */ r.jsxs("div", { className: A.o, children: [
1005
1012
  s && /* @__PURE__ */ r.jsx("div", { className: A.hh, children: s }),
1006
1013
  t
1007
- ] }), qt = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: A.u, children: t }), Ae = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: A.s, children: t }), Ne = ({ children: t, ...s }) => /* @__PURE__ */ r.jsx("div", { className: A.l, children: t }), Zt = { Header: ze, Section: Ae, List: Ne, U: qt, L: Ne, O: Ht, S: Ae, H: ze }, Xt = { Send: wr, Error: Sr, Remark: Pr, Success: Tr, Copy: Or }, Qt = { Send: Lr };
1014
+ ] }), Jt = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: A.u, children: t }), Ae = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: A.s, children: t }), Ne = ({ children: t, ...s }) => /* @__PURE__ */ r.jsx("div", { className: A.l, children: t }), Xt = { Header: ze, Section: Ae, List: Ne, U: Jt, L: Ne, O: Ht, S: Ae, H: ze }, Qt = { Send: wr, Error: Sr, Remark: Pr, Success: Tr, Copy: Or }, en = { Send: Lr };
1008
1015
  export {
1009
- Ot as Action,
1010
- Qt as Alert,
1011
- Gt as Browser,
1012
- Yr as Button,
1013
- Zt as Component,
1014
- xt as Init,
1015
- ht as Modal,
1016
- Xt as Notice,
1017
- Kt as Setting,
1018
- gt as Tabs
1016
+ $t as Action,
1017
+ en as Alert,
1018
+ Kt as Browser,
1019
+ Ur as Button,
1020
+ Xt as Component,
1021
+ mt as Init,
1022
+ xt as Modal,
1023
+ Qt as Notice,
1024
+ Zt as Setting,
1025
+ Et as Tabs
1019
1026
  };
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(g,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],b):(g=typeof globalThis<"u"?globalThis:g||self,b((g.elCRM=g.elCRM||{},g.elCRM.components={}),g.React))})(this,function(g,b){"use strict";var se=document.createElement("style");se.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}
1
+ (function(m,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],b):(m=typeof globalThis<"u"?globalThis:m||self,b((m.elCRM=m.elCRM||{},m.elCRM.components={}),m.React))})(this,function(m,b){"use strict";var se=document.createElement("style");se.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
2
  `,document.head.appendChild(se);var X={exports:{}},M={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -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 le;function Ue(){if(le)return M;le=1;var r=b,i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,f=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function A(z,h,P){var v,y={},C=null,q=null;P!==void 0&&(C=""+P),h.key!==void 0&&(C=""+h.key),h.ref!==void 0&&(q=h.ref);for(v in h)l.call(h,v)&&!m.hasOwnProperty(v)&&(y[v]=h[v]);if(z&&z.defaultProps)for(v in h=z.defaultProps,h)y[v]===void 0&&(y[v]=h[v]);return{$$typeof:i,type:z,key:C,ref:q,props:y,_owner:f.current}}return M.Fragment=o,M.jsx=A,M.jsxs=A,M}var L={};/**
10
+ */var le;function Ue(){if(le)return M;le=1;var r=b,i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,p=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,g={key:!0,ref:!0,__self:!0,__source:!0};function A(z,h,P){var v,y={},C=null,q=null;P!==void 0&&(C=""+P),h.key!==void 0&&(C=""+h.key),h.ref!==void 0&&(q=h.ref);for(v in h)l.call(h,v)&&!g.hasOwnProperty(v)&&(y[v]=h[v]);if(z&&z.defaultProps)for(v in h=z.defaultProps,h)y[v]===void 0&&(y[v]=h[v]);return{$$typeof:i,type:z,key:C,ref:q,props:y,_owner:p.current}}return M.Fragment=o,M.jsx=A,M.jsxs=A,M}var L={};/**
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 ce;function Ve(){return ce||(ce=1,process.env.NODE_ENV!=="production"&&function(){var r=b,i=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),z=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),q=Symbol.for("react.offscreen"),me=Symbol.iterator,St="@@iterator";function Rt(e){if(e===null||typeof e!="object")return null;var n=me&&e[me]||e[St];return typeof n=="function"?n:null}var F=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),s=1;s<n;s++)a[s-1]=arguments[s];Tt("error",e,a)}}function Tt(e,n,a){{var s=F.ReactDebugCurrentFrame,x=s.getStackAddendum();x!==""&&(n+="%s",a=a.concat([x]));var u=a.map(function(d){return String(d)});u.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,u)}}var Pt=!1,Ot=!1,$t=!1,At=!1,It=!1,ve;ve=Symbol.for("react.module.reference");function Ft(e){return!!(typeof e=="string"||typeof e=="function"||e===l||e===m||It||e===f||e===P||e===v||At||e===q||Pt||Ot||$t||typeof e=="object"&&e!==null&&(e.$$typeof===C||e.$$typeof===y||e.$$typeof===A||e.$$typeof===z||e.$$typeof===h||e.$$typeof===ve||e.getModuleId!==void 0))}function Nt(e,n,a){var s=e.displayName;if(s)return s;var x=n.displayName||n.name||"";return x!==""?a+"("+x+")":a}function ye(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&w("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 l:return"Fragment";case o:return"Portal";case m:return"Profiler";case f:return"StrictMode";case P:return"Suspense";case v:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case z:var n=e;return ye(n)+".Consumer";case A:var a=e;return ye(a._context)+".Provider";case h:return Nt(e,e.render,"ForwardRef");case y:var s=e.displayName||null;return s!==null?s:E(e.type)||"Memo";case C:{var x=e,u=x._payload,d=x._init;try{return E(d(u))}catch{return null}}}return null}var I=Object.assign,U=0,we,ke,je,ze,Ce,Ee,Se;function Re(){}Re.__reactDisabledLog=!0;function Dt(){{if(U===0){we=console.log,ke=console.info,je=console.warn,ze=console.error,Ce=console.group,Ee=console.groupCollapsed,Se=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Re,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}U++}}function Mt(){{if(U--,U===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:we}),info:I({},e,{value:ke}),warn:I({},e,{value:je}),error:I({},e,{value:ze}),group:I({},e,{value:Ce}),groupCollapsed:I({},e,{value:Ee}),groupEnd:I({},e,{value:Se})})}U<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Q=F.ReactCurrentDispatcher,ee;function H(e,n,a){{if(ee===void 0)try{throw Error()}catch(x){var s=x.stack.trim().match(/\n( *(at )?)/);ee=s&&s[1]||""}return`
19
- `+ee+e}}var te=!1,J;{var Lt=typeof WeakMap=="function"?WeakMap:Map;J=new Lt}function Te(e,n){if(!e||te)return"";{var a=J.get(e);if(a!==void 0)return a}var s;te=!0;var x=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=Q.current,Q.current=null,Dt();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(S){s=S}Reflect.construct(e,[],d)}else{try{d.call()}catch(S){s=S}e.call(d.prototype)}}else{try{throw Error()}catch(S){s=S}e()}}catch(S){if(S&&s&&typeof S.stack=="string"){for(var c=S.stack.split(`
18
+ */var ce;function Ve(){return ce||(ce=1,process.env.NODE_ENV!=="production"&&function(){var r=b,i=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),z=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),q=Symbol.for("react.offscreen"),be=Symbol.iterator,Rt="@@iterator";function Tt(e){if(e===null||typeof e!="object")return null;var n=be&&e[be]||e[Rt];return typeof n=="function"?n:null}var F=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),s=1;s<n;s++)a[s-1]=arguments[s];Pt("error",e,a)}}function Pt(e,n,a){{var s=F.ReactDebugCurrentFrame,u=s.getStackAddendum();u!==""&&(n+="%s",a=a.concat([u]));var x=a.map(function(d){return String(d)});x.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,x)}}var Ot=!1,$t=!1,At=!1,It=!1,Ft=!1,ve;ve=Symbol.for("react.module.reference");function Nt(e){return!!(typeof e=="string"||typeof e=="function"||e===l||e===g||Ft||e===p||e===P||e===v||It||e===q||Ot||$t||At||typeof e=="object"&&e!==null&&(e.$$typeof===C||e.$$typeof===y||e.$$typeof===A||e.$$typeof===z||e.$$typeof===h||e.$$typeof===ve||e.getModuleId!==void 0))}function Dt(e,n,a){var s=e.displayName;if(s)return s;var u=n.displayName||n.name||"";return u!==""?a+"("+u+")":a}function ye(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&w("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 l:return"Fragment";case o:return"Portal";case g:return"Profiler";case p:return"StrictMode";case P:return"Suspense";case v:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case z:var n=e;return ye(n)+".Consumer";case A:var a=e;return ye(a._context)+".Provider";case h:return Dt(e,e.render,"ForwardRef");case y:var s=e.displayName||null;return s!==null?s:E(e.type)||"Memo";case C:{var u=e,x=u._payload,d=u._init;try{return E(d(x))}catch{return null}}}return null}var I=Object.assign,B=0,we,ke,je,ze,Ce,Ee,Se;function Re(){}Re.__reactDisabledLog=!0;function Mt(){{if(B===0){we=console.log,ke=console.info,je=console.warn,ze=console.error,Ce=console.group,Ee=console.groupCollapsed,Se=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Re,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}B++}}function Lt(){{if(B--,B===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:we}),info:I({},e,{value:ke}),warn:I({},e,{value:je}),error:I({},e,{value:ze}),group:I({},e,{value:Ce}),groupCollapsed:I({},e,{value:Ee}),groupEnd:I({},e,{value:Se})})}B<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Q=F.ReactCurrentDispatcher,ee;function H(e,n,a){{if(ee===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);ee=s&&s[1]||""}return`
19
+ `+ee+e}}var te=!1,J;{var Wt=typeof WeakMap=="function"?WeakMap:Map;J=new Wt}function Te(e,n){if(!e||te)return"";{var a=J.get(e);if(a!==void 0)return a}var s;te=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var x;x=Q.current,Q.current=null,Mt();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(S){s=S}Reflect.construct(e,[],d)}else{try{d.call()}catch(S){s=S}e.call(d.prototype)}}else{try{throw Error()}catch(S){s=S}e()}}catch(S){if(S&&s&&typeof S.stack=="string"){for(var c=S.stack.split(`
20
20
  `),k=s.stack.split(`
21
- `),p=c.length-1,_=k.length-1;p>=1&&_>=0&&c[p]!==k[_];)_--;for(;p>=1&&_>=0;p--,_--)if(c[p]!==k[_]){if(p!==1||_!==1)do if(p--,_--,_<0||c[p]!==k[_]){var j=`
22
- `+c[p].replace(" at new "," at ");return e.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",e.displayName)),typeof e=="function"&&J.set(e,j),j}while(p>=1&&_>=0);break}}}finally{te=!1,Q.current=u,Mt(),Error.prepareStackTrace=x}var D=e?e.displayName||e.name:"",Be=D?H(D):"";return typeof e=="function"&&J.set(e,Be),Be}function Wt(e,n,a){return Te(e,!1)}function Yt(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function G(e,n,a){if(e==null)return"";if(typeof e=="function")return Te(e,Yt(e));if(typeof e=="string")return H(e);switch(e){case P:return H("Suspense");case v:return H("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case h:return Wt(e.render);case y:return G(e.type,n,a);case C:{var s=e,x=s._payload,u=s._init;try{return G(u(x),n,a)}catch{}}}return""}var Z=Object.prototype.hasOwnProperty,Pe={},Oe=F.ReactDebugCurrentFrame;function K(e){if(e){var n=e._owner,a=G(e.type,e._source,n?n.type:null);Oe.setExtraStackFrame(a)}else Oe.setExtraStackFrame(null)}function Bt(e,n,a,s,x){{var u=Function.call.bind(Z);for(var d in e)if(u(e,d)){var c=void 0;try{if(typeof e[d]!="function"){var k=Error((s||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw k.name="Invariant Violation",k}c=e[d](n,d,s,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(p){c=p}c&&!(c instanceof Error)&&(K(x),w("%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).",s||"React class",a,d,typeof c),K(null)),c instanceof Error&&!(c.message in Pe)&&(Pe[c.message]=!0,K(x),w("Failed %s type: %s",a,c.message),K(null))}}}var Ut=Array.isArray;function re(e){return Ut(e)}function Vt(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function qt(e){try{return $e(e),!1}catch{return!0}}function $e(e){return""+e}function Ae(e){if(qt(e))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Vt(e)),$e(e)}var V=F.ReactCurrentOwner,Ht={key:!0,ref:!0,__self:!0,__source:!0},Ie,Fe,ne;ne={};function Jt(e){if(Z.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Gt(e){if(Z.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Zt(e,n){if(typeof e.ref=="string"&&V.current&&n&&V.current.stateNode!==n){var a=E(V.current.type);ne[a]||(w('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',E(V.current.type),e.ref),ne[a]=!0)}}function Kt(e,n){{var a=function(){Ie||(Ie=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function Xt(e,n){{var a=function(){Fe||(Fe=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qt=function(e,n,a,s,x,u,d){var c={$$typeof:i,type:e,key:n,ref:a,props:d,_owner:u};return c._store={},Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:x}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c};function er(e,n,a,s,x){{var u,d={},c=null,k=null;a!==void 0&&(Ae(a),c=""+a),Gt(n)&&(Ae(n.key),c=""+n.key),Jt(n)&&(k=n.ref,Zt(n,x));for(u in n)Z.call(n,u)&&!Ht.hasOwnProperty(u)&&(d[u]=n[u]);if(e&&e.defaultProps){var p=e.defaultProps;for(u in p)d[u]===void 0&&(d[u]=p[u])}if(c||k){var _=typeof e=="function"?e.displayName||e.name||"Unknown":e;c&&Kt(d,_),k&&Xt(d,_)}return Qt(e,c,k,x,s,V.current,d)}}var ie=F.ReactCurrentOwner,Ne=F.ReactDebugCurrentFrame;function N(e){if(e){var n=e._owner,a=G(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ae;ae=!1;function oe(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function De(){{if(ie.current){var e=E(ie.current.type);if(e)return`
21
+ `),f=c.length-1,_=k.length-1;f>=1&&_>=0&&c[f]!==k[_];)_--;for(;f>=1&&_>=0;f--,_--)if(c[f]!==k[_]){if(f!==1||_!==1)do if(f--,_--,_<0||c[f]!==k[_]){var j=`
22
+ `+c[f].replace(" at new "," at ");return e.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",e.displayName)),typeof e=="function"&&J.set(e,j),j}while(f>=1&&_>=0);break}}}finally{te=!1,Q.current=x,Lt(),Error.prepareStackTrace=u}var D=e?e.displayName||e.name:"",Be=D?H(D):"";return typeof e=="function"&&J.set(e,Be),Be}function Yt(e,n,a){return Te(e,!1)}function Bt(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function G(e,n,a){if(e==null)return"";if(typeof e=="function")return Te(e,Bt(e));if(typeof e=="string")return H(e);switch(e){case P:return H("Suspense");case v:return H("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case h:return Yt(e.render);case y:return G(e.type,n,a);case C:{var s=e,u=s._payload,x=s._init;try{return G(x(u),n,a)}catch{}}}return""}var Z=Object.prototype.hasOwnProperty,Pe={},Oe=F.ReactDebugCurrentFrame;function K(e){if(e){var n=e._owner,a=G(e.type,e._source,n?n.type:null);Oe.setExtraStackFrame(a)}else Oe.setExtraStackFrame(null)}function Ut(e,n,a,s,u){{var x=Function.call.bind(Z);for(var d in e)if(x(e,d)){var c=void 0;try{if(typeof e[d]!="function"){var k=Error((s||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw k.name="Invariant Violation",k}c=e[d](n,d,s,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(f){c=f}c&&!(c instanceof Error)&&(K(u),w("%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).",s||"React class",a,d,typeof c),K(null)),c instanceof Error&&!(c.message in Pe)&&(Pe[c.message]=!0,K(u),w("Failed %s type: %s",a,c.message),K(null))}}}var Vt=Array.isArray;function re(e){return Vt(e)}function qt(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function Ht(e){try{return $e(e),!1}catch{return!0}}function $e(e){return""+e}function Ae(e){if(Ht(e))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qt(e)),$e(e)}var U=F.ReactCurrentOwner,Jt={key:!0,ref:!0,__self:!0,__source:!0},Ie,Fe,ne;ne={};function Gt(e){if(Z.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Zt(e){if(Z.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Kt(e,n){if(typeof e.ref=="string"&&U.current&&n&&U.current.stateNode!==n){var a=E(U.current.type);ne[a]||(w('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',E(U.current.type),e.ref),ne[a]=!0)}}function Xt(e,n){{var a=function(){Ie||(Ie=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function Qt(e,n){{var a=function(){Fe||(Fe=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var er=function(e,n,a,s,u,x,d){var c={$$typeof:i,type:e,key:n,ref:a,props:d,_owner:x};return c._store={},Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c};function tr(e,n,a,s,u){{var x,d={},c=null,k=null;a!==void 0&&(Ae(a),c=""+a),Zt(n)&&(Ae(n.key),c=""+n.key),Gt(n)&&(k=n.ref,Kt(n,u));for(x in n)Z.call(n,x)&&!Jt.hasOwnProperty(x)&&(d[x]=n[x]);if(e&&e.defaultProps){var f=e.defaultProps;for(x in f)d[x]===void 0&&(d[x]=f[x])}if(c||k){var _=typeof e=="function"?e.displayName||e.name||"Unknown":e;c&&Xt(d,_),k&&Qt(d,_)}return er(e,c,k,u,s,U.current,d)}}var ie=F.ReactCurrentOwner,Ne=F.ReactDebugCurrentFrame;function N(e){if(e){var n=e._owner,a=G(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ae;ae=!1;function oe(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function De(){{if(ie.current){var e=E(ie.current.type);if(e)return`
23
23
 
24
- Check the render method of \``+e+"`."}return""}}function tr(e){{if(e!==void 0){var n=e.fileName.replace(/^.*[\\\/]/,""),a=e.lineNumber;return`
24
+ Check the render method of \``+e+"`."}return""}}function rr(e){{if(e!==void 0){var n=e.fileName.replace(/^.*[\\\/]/,""),a=e.lineNumber;return`
25
25
 
26
- Check your code at `+n+":"+a+"."}return""}}var Me={};function rr(e){{var n=De();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
26
+ Check your code at `+n+":"+a+"."}return""}}var Me={};function nr(e){{var n=De();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
27
27
 
28
- Check the top-level render call using <`+a+">.")}return n}}function Le(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=rr(n);if(Me[a])return;Me[a]=!0;var s="";e&&e._owner&&e._owner!==ie.current&&(s=" It was passed a child from "+E(e._owner.type)+"."),N(e),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,s),N(null)}}function We(e,n){{if(typeof e!="object")return;if(re(e))for(var a=0;a<e.length;a++){var s=e[a];oe(s)&&Le(s,n)}else if(oe(e))e._store&&(e._store.validated=!0);else if(e){var x=Rt(e);if(typeof x=="function"&&x!==e.entries)for(var u=x.call(e),d;!(d=u.next()).done;)oe(d.value)&&Le(d.value,n)}}}function nr(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===h||n.$$typeof===y))a=n.propTypes;else return;if(a){var s=E(n);Bt(a,e.props,"prop",s,e)}else if(n.PropTypes!==void 0&&!ae){ae=!0;var x=E(n);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",x||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ir(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var s=n[a];if(s!=="children"&&s!=="key"){N(e),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",s),N(null);break}}e.ref!==null&&(N(e),w("Invalid attribute `ref` supplied to `React.Fragment`."),N(null))}}function Ye(e,n,a,s,x,u){{var d=Ft(e);if(!d){var c="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(c+=" 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 k=tr(x);k?c+=k:c+=De();var p;e===null?p="null":re(e)?p="array":e!==void 0&&e.$$typeof===i?(p="<"+(E(e.type)||"Unknown")+" />",c=" Did you accidentally export a JSX literal instead of a component?"):p=typeof e,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",p,c)}var _=er(e,n,a,x,u);if(_==null)return _;if(d){var j=n.children;if(j!==void 0)if(s)if(re(j)){for(var D=0;D<j.length;D++)We(j[D],e);Object.freeze&&Object.freeze(j)}else w("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 We(j,e)}return e===l?ir(_):nr(_),_}}function ar(e,n,a){return Ye(e,n,a,!0)}function or(e,n,a){return Ye(e,n,a,!1)}var sr=or,lr=ar;L.Fragment=l,L.jsx=sr,L.jsxs=lr}()),L}process.env.NODE_ENV==="production"?X.exports=Ue():X.exports=Ve();var t=X.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 R={};function He(){let[r,i]=b.useState([]);return R.set=o=>{i([...r,o])},R.del=o=>{i(r.filter(l=>l.key!==o))},r.length===0?"":t.jsx("ul",{className:qe.notice,children:r.map(o=>o.item)})}function W({data:r}){let[i,o]=b.useState("show");b.useEffect(()=>{setTimeout(function(){o("hide")},1800),setTimeout(function(){R.del(r.key)},2500)},[r.key]);let l,f;switch(r.type){case"error":l=t.jsx(O.error,{}),f="Ошибка:";break;case"success":l=t.jsx(O.success,{}),f="Информация:";break;case"copy":l=t.jsx(O.success,{}),f="Копирование:";break;case"remark":l=t.jsx(O.success,{}),f="Подсказка:";break;default:l=t.jsx(O.success,{}),f="Предупреждение:";break}return t.jsxs("li",{className:"item "+r.type,"data-status":i,children:[l,t.jsx("b",{children:f}),t.jsx("p",{children:r.text})]})}function Je(r){let i=Date.now(),o={key:i,...r};R.set({item:t.jsx(W,{data:o},i),key:i})}function Ge(r){let i=Date.now(),o={key:i,text:r,type:"error"};R.set({item:t.jsx(W,{data:o},i),key:i})}function Ze(r){let i=Date.now(),o={key:i,text:r,type:"success"};R.set({item:t.jsx(W,{data:o},i),key:i})}function Ke(r){let i=Date.now(),o={key:i,text:r,type:"remark"};R.set({item:t.jsx(W,{data:o},i),key:i})}function Xe(r){let i=Date.now(),o={key:i,text:r,type:"copy"};R.set({item:t.jsx(W,{data:o},i),key:i})}const O={};O.error=()=>t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[t.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"}),t.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"})]}),O.success=()=>t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[t.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"}),t.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 Qe={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 Y={};function et(){let[r,i]=b.useState("");return Y.set=o=>i(o),Y.del=()=>i(""),t.jsx(t.Fragment,{children:r})}const tt=({data:r,callback:i})=>(r.button=r.button===void 0?"Подтвердить":r.button,t.jsxs("div",{className:Qe.alerts,children:[t.jsxs("dl",{children:[t.jsx("dt",{children:r.title}),t.jsx("dd",{children:r.text}),t.jsx("ul",{children:t.jsx("button",{"data-color":r.color||"blue",onClick:()=>{i(),Y.del()},children:r.button})})]}),t.jsx("div",{className:"--body",onClick:Y.del})]}));function rt(r,i){Y.set(t.jsx(tt,{data:r,callback:i}))}function nt({children:r}){return t.jsx("div",{className:"l",children:t.jsx("ul",{children:r})})}function it({children:r}){return t.jsx("div",{className:"s",children:r})}const de=({children:r,disabled:i,label:o,onClick:l})=>{const f=m=>{i||l&&l(m)};return t.jsx("button",{disabled:i,onClick:f,children:o})},T={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 B={};const at=({config:r})=>{let[i,o]=b.useState([]);return B.x=()=>{o([])},B.config=r,B.add=l=>{o([...i,l])},t.jsx(t.Fragment,{children:i.map(l=>l)})},ot=({children:r,title:i,button:o,tabs:l,size:f="m",menu:m})=>{const[A,z]=b.useState(!0),h=b.useRef(),P=y=>{if(o&&o.onClick)return o.onClick({closed:z,disabled:y})},v=()=>{h.current.setAttribute("shake",!0),setTimeout(()=>{h.current.setAttribute("shake",!1)},1e3)};return t.jsx(t.Fragment,{children:A?t.jsxs("div",{className:`${T.modal} ${T.white}`,children:[t.jsx("div",{className:T.o,onClick:v}),t.jsxs("div",{className:T.w,ref:h,children:[t.jsxs("div",{className:T.h,children:[t.jsx("div",{className:T.t,children:i}),t.jsxs("div",{className:T.m,children:[l&&t.jsx("nav",{children:l.map((y,C)=>t.jsx("span",{onClick:y.onClick,className:y.active?"active":"",children:y.name},C))}),m]}),t.jsx("div",{className:T.x,onClick:()=>{z(!1)},children:"x"})]}),r,o!==void 0?t.jsx(de,{label:String(o.name),onClick:P}):""]})]}):""})},st=r=>{B.add(t.jsx(lt,{children:r},String(Date.now())))},lt=({children:r})=>t.jsx(t.Fragment,{children:r}),xe={List:nt,Scroll:it,Init:at,Main:ot,Add:st,Icon:({type:r,name:i,params:o})=>{let[l,f]=b.useState(null);return b.useEffect(()=>{B.config.moadl(f,r,i,o)},[o.id]),t.jsx(t.Fragment,{children:l})}},ue=({children:r,config:i,...o})=>t.jsxs(t.Fragment,{children:[t.jsx(xe.Init,{config:i.modal}),t.jsx(He,{}),t.jsx(et,{}),r]}),ct=({children:r,...i})=>t.jsx("menu",{children:r}),dt=({children:r,...i})=>t.jsxs("header",{children:["xz",r]}),xt={payment:"_payment_1lxfv_1"};function ut(){let[r,i]=b.useState({});return!r.active&&!r.payment?"":t.jsx("div",{className:xt.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const pt=({children:r,...i})=>t.jsxs("div",{className:"app",children:[t.jsx(ut,{}),t.jsx(ct,{}),t.jsx(dt,{}),t.jsx(ue,{config:{modal:{}}}),r]}),pe=({list:r,onClick:i,active:o,size:l,view:f})=>t.jsx("nav",{children:t.jsx("ul",{className:[l,f].join(" "),children:r.map(m=>t.jsx(ft,{onClick:i,active:o,label:m.label,link:m.link},m.link))})}),ft=({onClick:r,label:i,link:o,active:l})=>t.jsx("li",{"tabs-active":String(l===o),onClick:()=>r(o),children:i});pe.defaultProps={size:"M",view:"H"};const _t=({title:r="",button:i,description:o="",children:l})=>t.jsxs("fieldset",{children:[r&&t.jsxs("legend",{children:[r,i&&t.jsx("div",{role:"button-outline",onClick:()=>i.onClick(),children:i.label})," "]}),t.jsx("ul",{children:l}),o&&t.jsx("article",{children:o})]}),ht={setting:"_setting_1r0pc_2"},gt=({children:r})=>t.jsx("div",{className:ht.setting,children:r}),bt=({label:r,children:i})=>{let[o,l]=b.useState(!1);return t.jsxs("li",{"data-item":"accordion",children:[t.jsxs("dl",{onClick:()=>l(!o),children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:t.jsx("div",{"data-close":String(o)})})]}),o&&t.jsx("div",{children:i})]})},mt=({label:r,onClick:i,button:o})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{role:"button",onClick:()=>i(),children:o})]})}),fe={Switch:({active:r,onClick:i})=>(console.log(r),r=typeof r=="number"?!!r:r,t.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),i()},"aria-checked":r?"true":"false"}))},vt={Accordion:bt,Button:mt,Switch:({label:r,onClick:i,active:o})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:t.jsx(fe.Switch,{onClick:i,active:o})})]})}),Info:({label:r,info:i})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{role:"info",children:i})]})}),Select:({label:r,active:i,options:o})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{role:"info",children:i})]})}),Component:({label:r,children:i})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:i})]})}),Node:({label:r,children:i})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:i})]})})};function _e({list:r,onClick:i,active:o,size:l,view:f}){return t.jsx("nav",{children:t.jsx("ul",{className:[l,f].join(" "),children:r.map(m=>t.jsx(yt,{onClick:i,active:o,label:m.label,link:m.link},m.link))})})}const yt=({onClick:r,label:i,link:o,active:l})=>t.jsx("li",{"tabs-active":String(l===o),onClick:()=>r(o),children:i});_e.defaultProps={size:"M",view:"H"};const wt={Section:_t,Main:gt,Item:vt,Tabs:_e},$={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"},he=({title:r,children:i})=>t.jsxs("div",{className:$.h,children:[t.jsx("div",{className:$.t,children:r}),i]}),kt=({children:r,title:i})=>t.jsxs("div",{className:$.o,children:[i&&t.jsx("div",{className:$.hh,children:i}),r]}),jt=({children:r})=>t.jsx("div",{className:$.u,children:r}),ge=({children:r})=>t.jsx("div",{className:$.s,children:r}),be=({children:r,...i})=>t.jsx("div",{className:$.l,children:r}),zt={Header:he,Section:ge,List:be,U:jt,L:be,O:kt,S:ge,H:he},Ct={Send:Je,Error:Ge,Remark:Ke,Success:Ze,Copy:Xe},Et={Send:rt};g.Action=fe,g.Alert=Et,g.Browser=pt,g.Button=de,g.Component=zt,g.Init=ue,g.Modal=xe,g.Notice=Ct,g.Setting=wt,g.Tabs=pe,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
28
+ Check the top-level render call using <`+a+">.")}return n}}function Le(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nr(n);if(Me[a])return;Me[a]=!0;var s="";e&&e._owner&&e._owner!==ie.current&&(s=" It was passed a child from "+E(e._owner.type)+"."),N(e),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,s),N(null)}}function We(e,n){{if(typeof e!="object")return;if(re(e))for(var a=0;a<e.length;a++){var s=e[a];oe(s)&&Le(s,n)}else if(oe(e))e._store&&(e._store.validated=!0);else if(e){var u=Tt(e);if(typeof u=="function"&&u!==e.entries)for(var x=u.call(e),d;!(d=x.next()).done;)oe(d.value)&&Le(d.value,n)}}}function ir(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===h||n.$$typeof===y))a=n.propTypes;else return;if(a){var s=E(n);Ut(a,e.props,"prop",s,e)}else if(n.PropTypes!==void 0&&!ae){ae=!0;var u=E(n);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",u||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ar(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var s=n[a];if(s!=="children"&&s!=="key"){N(e),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",s),N(null);break}}e.ref!==null&&(N(e),w("Invalid attribute `ref` supplied to `React.Fragment`."),N(null))}}function Ye(e,n,a,s,u,x){{var d=Nt(e);if(!d){var c="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(c+=" 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 k=rr(u);k?c+=k:c+=De();var f;e===null?f="null":re(e)?f="array":e!==void 0&&e.$$typeof===i?(f="<"+(E(e.type)||"Unknown")+" />",c=" Did you accidentally export a JSX literal instead of a component?"):f=typeof e,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",f,c)}var _=tr(e,n,a,u,x);if(_==null)return _;if(d){var j=n.children;if(j!==void 0)if(s)if(re(j)){for(var D=0;D<j.length;D++)We(j[D],e);Object.freeze&&Object.freeze(j)}else w("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 We(j,e)}return e===l?ar(_):ir(_),_}}function or(e,n,a){return Ye(e,n,a,!0)}function sr(e,n,a){return Ye(e,n,a,!1)}var lr=sr,cr=or;L.Fragment=l,L.jsx=lr,L.jsxs=cr}()),L}process.env.NODE_ENV==="production"?X.exports=Ue():X.exports=Ve();var t=X.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 R={};function He(){let[r,i]=b.useState([]);return R.set=o=>{i([...r,o])},R.del=o=>{i(r.filter(l=>l.key!==o))},r.length===0?"":t.jsx("ul",{className:qe.notice,children:r.map(o=>o.item)})}function W({data:r}){let[i,o]=b.useState("show");b.useEffect(()=>{setTimeout(function(){o("hide")},1800),setTimeout(function(){R.del(r.key)},2500)},[r.key]);let l,p;switch(r.type){case"error":l=t.jsx(O.error,{}),p="Ошибка:";break;case"success":l=t.jsx(O.success,{}),p="Информация:";break;case"copy":l=t.jsx(O.success,{}),p="Копирование:";break;case"remark":l=t.jsx(O.success,{}),p="Подсказка:";break;default:l=t.jsx(O.success,{}),p="Предупреждение:";break}return t.jsxs("li",{className:"item "+r.type,"data-status":i,children:[l,t.jsx("b",{children:p}),t.jsx("p",{children:r.text})]})}function Je(r){let i=Date.now(),o={key:i,...r};R.set({item:t.jsx(W,{data:o},i),key:i})}function Ge(r){let i=Date.now(),o={key:i,text:r,type:"error"};R.set({item:t.jsx(W,{data:o},i),key:i})}function Ze(r){let i=Date.now(),o={key:i,text:r,type:"success"};R.set({item:t.jsx(W,{data:o},i),key:i})}function Ke(r){let i=Date.now(),o={key:i,text:r,type:"remark"};R.set({item:t.jsx(W,{data:o},i),key:i})}function Xe(r){let i=Date.now(),o={key:i,text:r,type:"copy"};R.set({item:t.jsx(W,{data:o},i),key:i})}const O={};O.error=()=>t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[t.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"}),t.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"})]}),O.success=()=>t.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[t.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"}),t.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 Qe={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 Y={};function et(){let[r,i]=b.useState("");return Y.set=o=>i(o),Y.del=()=>i(""),t.jsx(t.Fragment,{children:r})}const tt=({data:r,callback:i})=>(r.button=r.button===void 0?"Подтвердить":r.button,t.jsxs("div",{className:Qe.alerts,children:[t.jsxs("dl",{children:[t.jsx("dt",{children:r.title}),t.jsx("dd",{children:r.text}),t.jsx("ul",{children:t.jsx("button",{"data-color":r.color||"blue",onClick:()=>{i(),Y.del()},children:r.button})})]}),t.jsx("div",{className:"--body",onClick:Y.del})]}));function rt(r,i){Y.set(t.jsx(tt,{data:r,callback:i}))}function nt({children:r}){return t.jsx("div",{className:"l",children:t.jsx("ul",{children:r})})}function it({children:r}){return t.jsx("div",{className:"s",children:r})}const at=(r,i)=>{const o=r[i];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((l,p)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(p.bind(null,new Error("Unknown variable dynamic import: "+i)))})},de=({children:r,disabled:i,label:o,onClick:l})=>{const p=g=>{i||l&&l(g)};return t.jsx("button",{disabled:i,onClick:p,children:o})},T={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 V={};const ot=({config:r})=>{let[i,o]=b.useState([]);return V.x=()=>{o([])},V.config=r,V.add=l=>{o([...i,l])},t.jsx(t.Fragment,{children:i.map(l=>l)})},st=({children:r,title:i,button:o,tabs:l,size:p="m",menu:g})=>{const[A,z]=b.useState(!0),h=b.useRef(),P=y=>{if(o&&o.onClick)return o.onClick({closed:z,disabled:y})},v=()=>{h.current.setAttribute("shake",!0),setTimeout(()=>{h.current.setAttribute("shake",!1)},1e3)};return t.jsx(t.Fragment,{children:A?t.jsxs("div",{className:`${T.modal} ${T.white}`,children:[t.jsx("div",{className:T.o,onClick:v}),t.jsxs("div",{className:T.w,ref:h,children:[t.jsxs("div",{className:T.h,children:[t.jsx("div",{className:T.t,children:i}),t.jsxs("div",{className:T.m,children:[l&&t.jsx("nav",{children:l.map((y,C)=>t.jsx("span",{onClick:y.onClick,className:y.active?"active":"",children:y.name},C))}),g]}),t.jsx("div",{className:T.x,onClick:()=>{z(!1)},children:"x"})]}),r,o!==void 0?t.jsx(de,{label:String(o.name),onClick:P}):""]})]}):""})},lt=r=>{V.add(t.jsx(ct,{children:r},String(Date.now())))},ct=({children:r})=>t.jsx(t.Fragment,{children:r}),ue={List:nt,Scroll:it,Init:ot,Main:st,Add:lt,Icon:({type:r,name:i,params:o})=>{let[l,p]=b.useState(null);return b.useEffect(()=>{at(Object.assign({}),`./modules/${r}/modal/${i}.jsx`).then(g=>{p(g.default.Icon(o))})},[o.id]),t.jsx(t.Fragment,{children:l})}},xe=({children:r,config:i,...o})=>t.jsxs(t.Fragment,{children:[t.jsx(ue.Init,{config:i.modal}),t.jsx(He,{}),t.jsx(et,{}),r]}),dt=({children:r,...i})=>t.jsx("menu",{children:r}),ut=({children:r,...i})=>t.jsxs("header",{children:["xz",r]}),xt={payment:"_payment_1lxfv_1"};function pt(){let[r,i]=b.useState({});return!r.active&&!r.payment?"":t.jsx("div",{className:xt.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const ft=({children:r,...i})=>t.jsxs("div",{className:"app",children:[t.jsx(pt,{}),t.jsx(dt,{}),t.jsx(ut,{}),t.jsx(xe,{config:{modal:{}}}),r]}),pe=({list:r,onClick:i,active:o,size:l,view:p})=>t.jsx("nav",{children:t.jsx("ul",{className:[l,p].join(" "),children:r.map(g=>t.jsx(_t,{onClick:i,active:o,label:g.label,link:g.link},g.link))})}),_t=({onClick:r,label:i,link:o,active:l})=>t.jsx("li",{"tabs-active":String(l===o),onClick:()=>r(o),children:i});pe.defaultProps={size:"M",view:"H"};const ht=({title:r="",button:i,description:o="",children:l})=>t.jsxs("fieldset",{children:[r&&t.jsxs("legend",{children:[r,i&&t.jsx("div",{role:"button-outline",onClick:()=>i.onClick(),children:i.label})," "]}),t.jsx("ul",{children:l}),o&&t.jsx("article",{children:o})]}),mt={setting:"_setting_1r0pc_2"},gt=({children:r})=>t.jsx("div",{className:mt.setting,children:r}),bt=({label:r,children:i})=>{let[o,l]=b.useState(!1);return t.jsxs("li",{"data-item":"accordion",children:[t.jsxs("dl",{onClick:()=>l(!o),children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:t.jsx("div",{"data-close":String(o)})})]}),o&&t.jsx("div",{children:i})]})},vt=({label:r,onClick:i,button:o})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{role:"button",onClick:()=>i(),children:o})]})}),fe={Switch:({active:r,onClick:i})=>(console.log(r),r=typeof r=="number"?!!r:r,t.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),i()},"aria-checked":r?"true":"false"}))},yt={Accordion:bt,Button:vt,Switch:({label:r,onClick:i,active:o})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:t.jsx(fe.Switch,{onClick:i,active:o})})]})}),Info:({label:r,info:i})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{role:"info",children:i})]})}),Select:({label:r,active:i,options:o})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{role:"info",children:i})]})}),Component:({label:r,children:i})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:i})]})}),Node:({label:r,children:i})=>t.jsx("li",{children:t.jsxs("dl",{children:[t.jsx("dt",{children:r}),t.jsx("dd",{children:i})]})})};function _e({list:r,onClick:i,active:o,size:l,view:p}){return t.jsx("nav",{children:t.jsx("ul",{className:[l,p].join(" "),children:r.map(g=>t.jsx(wt,{onClick:i,active:o,label:g.label,link:g.link},g.link))})})}const wt=({onClick:r,label:i,link:o,active:l})=>t.jsx("li",{"tabs-active":String(l===o),onClick:()=>r(o),children:i});_e.defaultProps={size:"M",view:"H"};const kt={Section:ht,Main:gt,Item:yt,Tabs:_e},$={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"},he=({title:r,children:i})=>t.jsxs("div",{className:$.h,children:[t.jsx("div",{className:$.t,children:r}),i]}),jt=({children:r,title:i})=>t.jsxs("div",{className:$.o,children:[i&&t.jsx("div",{className:$.hh,children:i}),r]}),zt=({children:r})=>t.jsx("div",{className:$.u,children:r}),me=({children:r})=>t.jsx("div",{className:$.s,children:r}),ge=({children:r,...i})=>t.jsx("div",{className:$.l,children:r}),Ct={Header:he,Section:me,List:ge,U:zt,L:ge,O:jt,S:me,H:he},Et={Send:Je,Error:Ge,Remark:Ke,Success:Ze,Copy:Xe},St={Send:rt};m.Action=fe,m.Alert=St,m.Browser=ft,m.Button=de,m.Component=Ct,m.Init=xe,m.Modal=ue,m.Notice=Et,m.Setting=kt,m.Tabs=pe,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elcrm",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --open --port 4101",