elcrm 0.8.41 → 0.8.43
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 +627 -627
- package/dist/index.umd.js +10 -10
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3,11 +3,11 @@ var Sa = (e, t, a) => t in e ? wa(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var _t = (e, t, a) => (Sa(e, typeof t != "symbol" ? t + "" : t, a), a);
|
|
4
4
|
import x, { createElement as Ea } from "react";
|
|
5
5
|
let wt = {};
|
|
6
|
-
const
|
|
6
|
+
const Ra = (e) => {
|
|
7
7
|
wt = e;
|
|
8
|
-
},
|
|
8
|
+
}, Na = (e) => wt.enCode(e), Ia = (e) => wt.deCode(e), F = { enCode: Na, deCode: Ia, New: Ra }, b = {}, Y = {}, we = {}, fn = {}, ce = {};
|
|
9
9
|
let St = "M06";
|
|
10
|
-
function
|
|
10
|
+
function Ta(e) {
|
|
11
11
|
St = e;
|
|
12
12
|
}
|
|
13
13
|
function Da() {
|
|
@@ -38,7 +38,7 @@ function Fa(e) {
|
|
|
38
38
|
id: b.id,
|
|
39
39
|
time: (/* @__PURE__ */ new Date()).getTime()
|
|
40
40
|
})
|
|
41
|
-
),
|
|
41
|
+
), Y.page(b.page);
|
|
42
42
|
}
|
|
43
43
|
function La(e) {
|
|
44
44
|
return localStorage.setItem("d", e);
|
|
@@ -57,7 +57,7 @@ function Pa() {
|
|
|
57
57
|
function Oa(e) {
|
|
58
58
|
localStorage.setItem("p", F.enCode(e));
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function ft() {
|
|
61
61
|
let e = localStorage.getItem("p");
|
|
62
62
|
if (e !== "" && e !== "undefined" && e !== null) {
|
|
63
63
|
let t = F.deCode(e);
|
|
@@ -69,28 +69,28 @@ function Aa() {
|
|
|
69
69
|
const [e, t] = x.useState(hn()), a = (r) => {
|
|
70
70
|
t(r);
|
|
71
71
|
};
|
|
72
|
-
return
|
|
72
|
+
return Y.page = a, [e];
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
b.page = e, sessionStorage.setItem("f", F.enCode(b)), t &&
|
|
74
|
+
function Ga(e, t = !0) {
|
|
75
|
+
b.page = e, sessionStorage.setItem("f", F.enCode(b)), t && Y.page(e);
|
|
76
76
|
}
|
|
77
77
|
function hn() {
|
|
78
78
|
return b.page;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Za(e) {
|
|
81
81
|
return b.page === e;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function za(e) {
|
|
84
84
|
if (typeof e != "function") {
|
|
85
85
|
const [t, a] = x.useState(e || xn()), r = (s) => {
|
|
86
86
|
a(s);
|
|
87
87
|
};
|
|
88
|
-
return
|
|
88
|
+
return Y.module = r, [t];
|
|
89
89
|
} else
|
|
90
|
-
|
|
90
|
+
Y.module = e;
|
|
91
91
|
}
|
|
92
92
|
function Wa(e, t = !0) {
|
|
93
|
-
b.module = e, sessionStorage.setItem("f", F.enCode(b)), t &&
|
|
93
|
+
b.module = e, sessionStorage.setItem("f", F.enCode(b)), t && Y.module(e);
|
|
94
94
|
}
|
|
95
95
|
function xn() {
|
|
96
96
|
return b.module;
|
|
@@ -101,37 +101,37 @@ function Ka(e) {
|
|
|
101
101
|
function Ua(e) {
|
|
102
102
|
if (typeof e != "function") {
|
|
103
103
|
const [t, a] = x.useState(e || Je());
|
|
104
|
-
return
|
|
104
|
+
return Y.tabs = a, [t];
|
|
105
105
|
} else
|
|
106
|
-
|
|
106
|
+
Y.tabs = e;
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function Ya(e, t = !0) {
|
|
109
109
|
if (b.tab = e, sessionStorage.setItem("f", F.enCode(b)), !!t)
|
|
110
|
-
if (
|
|
111
|
-
|
|
110
|
+
if (Y.tabs)
|
|
111
|
+
Y.tabs(e);
|
|
112
112
|
else
|
|
113
113
|
throw new Error("useTabs not found");
|
|
114
114
|
}
|
|
115
115
|
function Je() {
|
|
116
116
|
return b.tab;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Ha(e) {
|
|
119
119
|
return b.tab === e;
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function Va(e) {
|
|
122
122
|
if (typeof e != "function") {
|
|
123
123
|
const [t, a] = x.useState(e || pn()), r = (s) => {
|
|
124
124
|
a(s);
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Y.id = r, [t];
|
|
127
127
|
} else
|
|
128
|
-
|
|
128
|
+
Y.id = e;
|
|
129
129
|
}
|
|
130
130
|
function qa(e) {
|
|
131
|
-
|
|
131
|
+
Y.id = e;
|
|
132
132
|
}
|
|
133
133
|
function Ja(e, t = !0) {
|
|
134
|
-
b.id = e, sessionStorage.setItem("f", F.enCode(b)), t &&
|
|
134
|
+
b.id = e, sessionStorage.setItem("f", F.enCode(b)), t && Y.id(e);
|
|
135
135
|
}
|
|
136
136
|
function pn() {
|
|
137
137
|
return b.id;
|
|
@@ -140,7 +140,7 @@ function Xa(e) {
|
|
|
140
140
|
return Number(b.id) === e;
|
|
141
141
|
}
|
|
142
142
|
function Qa(e, t, a) {
|
|
143
|
-
b.module = e, b.id = a, b.tab = t, sessionStorage.setItem("f", F.enCode(b)),
|
|
143
|
+
b.module = e, b.id = a, b.tab = t, sessionStorage.setItem("f", F.enCode(b)), Y.module(e), Y.tabs(t);
|
|
144
144
|
}
|
|
145
145
|
function er(e) {
|
|
146
146
|
we.data = e[0], delete we.data.id, document.body.dataset.theme = we.data.s15, localStorage.setItem("s", F.enCode(we.data));
|
|
@@ -171,7 +171,7 @@ function ar() {
|
|
|
171
171
|
return te(), !1;
|
|
172
172
|
}
|
|
173
173
|
function rr(e) {
|
|
174
|
-
|
|
174
|
+
Y.sort = e;
|
|
175
175
|
}
|
|
176
176
|
function vn(e) {
|
|
177
177
|
let t = localStorage.getItem("b");
|
|
@@ -207,10 +207,10 @@ function je(e, t) {
|
|
|
207
207
|
return e === void 0 && t === void 0 ? ce.data : e !== void 0 && t === void 0 ? ce.data[e] : ce.data[e][t];
|
|
208
208
|
}
|
|
209
209
|
function ir(e) {
|
|
210
|
-
|
|
210
|
+
fn.data = e;
|
|
211
211
|
}
|
|
212
212
|
function or(e) {
|
|
213
|
-
return
|
|
213
|
+
return fn.data[e];
|
|
214
214
|
}
|
|
215
215
|
function lr(e) {
|
|
216
216
|
b.payment = e;
|
|
@@ -261,10 +261,10 @@ function ur(e) {
|
|
|
261
261
|
};
|
|
262
262
|
e.forEach((a) => t(a));
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function mr(e) {
|
|
265
265
|
return b[e] === void 0 ? (b[e] = { data: {}, time: 0 }, { data: {}, time: 0 }) : b[e];
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function fr(e, t) {
|
|
268
268
|
b[e] = { data: t.data, time: t.time }, localStorage.setItem(e, F.enCode(b[e]));
|
|
269
269
|
}
|
|
270
270
|
function hr(e, t, a) {
|
|
@@ -273,7 +273,7 @@ function hr(e, t, a) {
|
|
|
273
273
|
const ie = {
|
|
274
274
|
setSSID: La,
|
|
275
275
|
getSSID: $a,
|
|
276
|
-
getPORT:
|
|
276
|
+
getPORT: ft,
|
|
277
277
|
setPORT: Oa,
|
|
278
278
|
setAUTH: Ba,
|
|
279
279
|
getAUTH: Pa,
|
|
@@ -296,11 +296,11 @@ const ie = {
|
|
|
296
296
|
setUser: jn,
|
|
297
297
|
getUser: dr,
|
|
298
298
|
getDefaultModules: Da,
|
|
299
|
-
getBase:
|
|
300
|
-
setBase:
|
|
299
|
+
getBase: mr,
|
|
300
|
+
setBase: fr,
|
|
301
301
|
editBase: hr,
|
|
302
302
|
loadBase: ur
|
|
303
|
-
}, yn = "
|
|
303
|
+
}, yn = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57dHJ5e2xldCB0PWF3YWl0IGZldGNoKGAke2EuZGF0YS5ob3N0fSR7YS5kYXRhLmxpbmt9YCx7bWV0aG9kOiJQT1NUIixoZWFkZXJzOntzc2lkOmEuZGF0YS5zc2lkLCJDb250ZW50LXR5cGUiOmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGEmJiJhcHBsaWNhdGlvbi9qc29uO2NoYXJzZXQ9dXRmLTgifSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=", xr = (e) => Uint8Array.from(atob(e), (t) => t.charCodeAt(0)), tn = typeof window < "u" && window.Blob && new Blob([xr(yn)], { type: "text/javascript;charset=utf-8" });
|
|
304
304
|
function bn(e) {
|
|
305
305
|
let t;
|
|
306
306
|
try {
|
|
@@ -388,7 +388,7 @@ let Sn = {
|
|
|
388
388
|
"Content-type": "application/json;charset=utf-8",
|
|
389
389
|
ssid: ie.getAUTH() || ""
|
|
390
390
|
};
|
|
391
|
-
async function
|
|
391
|
+
async function Rr(e, t, a = {}) {
|
|
392
392
|
try {
|
|
393
393
|
return await (await Xe("https://" + e + "/" + t, {
|
|
394
394
|
method: "POST",
|
|
@@ -399,7 +399,7 @@ async function Nr(e, t, a = {}) {
|
|
|
399
399
|
return { status: "error" };
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
-
async function
|
|
402
|
+
async function Nr(e, t = {}) {
|
|
403
403
|
try {
|
|
404
404
|
return await (await Xe("https://tb.elcrm.online/v1/" + e, {
|
|
405
405
|
method: "POST",
|
|
@@ -410,7 +410,7 @@ async function Rr(e, t = {}) {
|
|
|
410
410
|
return { status: "error" };
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
|
-
const nn = { audio: wr, fetch: Xe, modules: Sr, remoute:
|
|
413
|
+
const nn = { audio: wr, fetch: Xe, modules: Sr, remoute: Rr, url: br, telegram: Nr, use: Er };
|
|
414
414
|
var xt = { exports: {} }, De = {};
|
|
415
415
|
/**
|
|
416
416
|
* @license React
|
|
@@ -422,20 +422,20 @@ var xt = { exports: {} }, De = {};
|
|
|
422
422
|
* LICENSE file in the root directory of this source tree.
|
|
423
423
|
*/
|
|
424
424
|
var an;
|
|
425
|
-
function
|
|
425
|
+
function Ir() {
|
|
426
426
|
if (an)
|
|
427
427
|
return De;
|
|
428
428
|
an = 1;
|
|
429
429
|
var e = x, t = Symbol.for("react.element"), a = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
430
430
|
function o(l, _, d) {
|
|
431
|
-
var u,
|
|
432
|
-
d !== void 0 && (
|
|
431
|
+
var u, m = {}, f = null, h = null;
|
|
432
|
+
d !== void 0 && (f = "" + d), _.key !== void 0 && (f = "" + _.key), _.ref !== void 0 && (h = _.ref);
|
|
433
433
|
for (u in _)
|
|
434
|
-
r.call(_, u) && !i.hasOwnProperty(u) && (
|
|
434
|
+
r.call(_, u) && !i.hasOwnProperty(u) && (m[u] = _[u]);
|
|
435
435
|
if (l && l.defaultProps)
|
|
436
436
|
for (u in _ = l.defaultProps, _)
|
|
437
|
-
|
|
438
|
-
return { $$typeof: t, type: l, key:
|
|
437
|
+
m[u] === void 0 && (m[u] = _[u]);
|
|
438
|
+
return { $$typeof: t, type: l, key: f, ref: h, props: m, _owner: s.current };
|
|
439
439
|
}
|
|
440
440
|
return De.Fragment = a, De.jsx = o, De.jsxs = o, De;
|
|
441
441
|
}
|
|
@@ -450,9 +450,9 @@ var Me = {};
|
|
|
450
450
|
* LICENSE file in the root directory of this source tree.
|
|
451
451
|
*/
|
|
452
452
|
var rn;
|
|
453
|
-
function
|
|
453
|
+
function Tr() {
|
|
454
454
|
return rn || (rn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
455
|
-
var e = x, t = Symbol.for("react.element"), a = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"),
|
|
455
|
+
var e = x, t = Symbol.for("react.element"), a = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), C = Symbol.iterator, v = "@@iterator";
|
|
456
456
|
function g(c) {
|
|
457
457
|
if (c === null || typeof c != "object")
|
|
458
458
|
return null;
|
|
@@ -462,14 +462,14 @@ function Ir() {
|
|
|
462
462
|
var j = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
463
463
|
function S(c) {
|
|
464
464
|
{
|
|
465
|
-
for (var p = arguments.length, k = new Array(p > 1 ? p - 1 : 0),
|
|
466
|
-
k[
|
|
467
|
-
|
|
465
|
+
for (var p = arguments.length, k = new Array(p > 1 ? p - 1 : 0), I = 1; I < p; I++)
|
|
466
|
+
k[I - 1] = arguments[I];
|
|
467
|
+
T("error", c, k);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function T(c, p, k) {
|
|
471
471
|
{
|
|
472
|
-
var
|
|
472
|
+
var I = j.ReactDebugCurrentFrame, B = I.getStackAddendum();
|
|
473
473
|
B !== "" && (p += "%s", k = k.concat([B]));
|
|
474
474
|
var P = k.map(function(L) {
|
|
475
475
|
return String(L);
|
|
@@ -477,23 +477,23 @@ function Ir() {
|
|
|
477
477
|
P.unshift("Warning: " + p), Function.prototype.apply.call(console[c], console, P);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
var D = !1, w = !1,
|
|
480
|
+
var D = !1, w = !1, R = !1, E = !1, N = !1, A;
|
|
481
481
|
A = Symbol.for("react.module.reference");
|
|
482
482
|
function X(c) {
|
|
483
|
-
return !!(typeof c == "string" || typeof c == "function" || c === r || c === i ||
|
|
483
|
+
return !!(typeof c == "string" || typeof c == "function" || c === r || c === i || N || c === s || c === d || c === u || E || c === h || D || w || R || typeof c == "object" && c !== null && (c.$$typeof === f || c.$$typeof === m || c.$$typeof === o || c.$$typeof === l || c.$$typeof === _ || // This needs to include all possible module reference object
|
|
484
484
|
// types supported by any Flight configuration anywhere since
|
|
485
485
|
// we don't know which Flight build this will end up being used
|
|
486
486
|
// with.
|
|
487
487
|
c.$$typeof === A || c.getModuleId !== void 0));
|
|
488
488
|
}
|
|
489
489
|
function le(c, p, k) {
|
|
490
|
-
var
|
|
491
|
-
if (
|
|
492
|
-
return
|
|
490
|
+
var I = c.displayName;
|
|
491
|
+
if (I)
|
|
492
|
+
return I;
|
|
493
493
|
var B = p.displayName || p.name || "";
|
|
494
494
|
return B !== "" ? k + "(" + B + ")" : k;
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function Z(c) {
|
|
497
497
|
return c.displayName || "Context";
|
|
498
498
|
}
|
|
499
499
|
function $(c) {
|
|
@@ -521,16 +521,16 @@ function Ir() {
|
|
|
521
521
|
switch (c.$$typeof) {
|
|
522
522
|
case l:
|
|
523
523
|
var p = c;
|
|
524
|
-
return
|
|
524
|
+
return Z(p) + ".Consumer";
|
|
525
525
|
case o:
|
|
526
526
|
var k = c;
|
|
527
|
-
return
|
|
527
|
+
return Z(k._context) + ".Provider";
|
|
528
528
|
case _:
|
|
529
529
|
return le(c, c.render, "ForwardRef");
|
|
530
|
-
case
|
|
531
|
-
var
|
|
532
|
-
return
|
|
533
|
-
case
|
|
530
|
+
case m:
|
|
531
|
+
var I = c.displayName || null;
|
|
532
|
+
return I !== null ? I : $(c.type) || "Memo";
|
|
533
|
+
case f: {
|
|
534
534
|
var B = c, P = B._payload, L = B._init;
|
|
535
535
|
try {
|
|
536
536
|
return $(L(P));
|
|
@@ -541,14 +541,14 @@ function Ir() {
|
|
|
541
541
|
}
|
|
542
542
|
return null;
|
|
543
543
|
}
|
|
544
|
-
var
|
|
544
|
+
var V = Object.assign, q = 0, Ze, re, Ne, tt, ze, Bt, Pt;
|
|
545
545
|
function Ot() {
|
|
546
546
|
}
|
|
547
547
|
Ot.__reactDisabledLog = !0;
|
|
548
548
|
function Xn() {
|
|
549
549
|
{
|
|
550
550
|
if (q === 0) {
|
|
551
|
-
|
|
551
|
+
Ze = console.log, re = console.info, Ne = console.warn, tt = console.error, ze = console.group, Bt = console.groupCollapsed, Pt = console.groupEnd;
|
|
552
552
|
var c = {
|
|
553
553
|
configurable: !0,
|
|
554
554
|
enumerable: !0,
|
|
@@ -577,25 +577,25 @@ function Ir() {
|
|
|
577
577
|
writable: !0
|
|
578
578
|
};
|
|
579
579
|
Object.defineProperties(console, {
|
|
580
|
-
log:
|
|
581
|
-
value:
|
|
580
|
+
log: V({}, c, {
|
|
581
|
+
value: Ze
|
|
582
582
|
}),
|
|
583
|
-
info:
|
|
583
|
+
info: V({}, c, {
|
|
584
584
|
value: re
|
|
585
585
|
}),
|
|
586
|
-
warn:
|
|
587
|
-
value:
|
|
586
|
+
warn: V({}, c, {
|
|
587
|
+
value: Ne
|
|
588
588
|
}),
|
|
589
|
-
error:
|
|
589
|
+
error: V({}, c, {
|
|
590
590
|
value: tt
|
|
591
591
|
}),
|
|
592
|
-
group:
|
|
593
|
-
value:
|
|
592
|
+
group: V({}, c, {
|
|
593
|
+
value: ze
|
|
594
594
|
}),
|
|
595
|
-
groupCollapsed:
|
|
595
|
+
groupCollapsed: V({}, c, {
|
|
596
596
|
value: Bt
|
|
597
597
|
}),
|
|
598
|
-
groupEnd:
|
|
598
|
+
groupEnd: V({}, c, {
|
|
599
599
|
value: Pt
|
|
600
600
|
})
|
|
601
601
|
});
|
|
@@ -610,8 +610,8 @@ function Ir() {
|
|
|
610
610
|
try {
|
|
611
611
|
throw Error();
|
|
612
612
|
} catch (B) {
|
|
613
|
-
var
|
|
614
|
-
at =
|
|
613
|
+
var I = B.stack.trim().match(/\n( *(at )?)/);
|
|
614
|
+
at = I && I[1] || "";
|
|
615
615
|
}
|
|
616
616
|
return `
|
|
617
617
|
` + at + c;
|
|
@@ -630,7 +630,7 @@ function Ir() {
|
|
|
630
630
|
if (k !== void 0)
|
|
631
631
|
return k;
|
|
632
632
|
}
|
|
633
|
-
var
|
|
633
|
+
var I;
|
|
634
634
|
rt = !0;
|
|
635
635
|
var B = Error.prepareStackTrace;
|
|
636
636
|
Error.prepareStackTrace = void 0;
|
|
@@ -649,14 +649,14 @@ function Ir() {
|
|
|
649
649
|
try {
|
|
650
650
|
Reflect.construct(L, []);
|
|
651
651
|
} catch (Q) {
|
|
652
|
-
|
|
652
|
+
I = Q;
|
|
653
653
|
}
|
|
654
654
|
Reflect.construct(c, [], L);
|
|
655
655
|
} else {
|
|
656
656
|
try {
|
|
657
657
|
L.call();
|
|
658
658
|
} catch (Q) {
|
|
659
|
-
|
|
659
|
+
I = Q;
|
|
660
660
|
}
|
|
661
661
|
c.call(L.prototype);
|
|
662
662
|
}
|
|
@@ -664,26 +664,26 @@ function Ir() {
|
|
|
664
664
|
try {
|
|
665
665
|
throw Error();
|
|
666
666
|
} catch (Q) {
|
|
667
|
-
|
|
667
|
+
I = Q;
|
|
668
668
|
}
|
|
669
669
|
c();
|
|
670
670
|
}
|
|
671
671
|
} catch (Q) {
|
|
672
|
-
if (Q &&
|
|
672
|
+
if (Q && I && typeof Q.stack == "string") {
|
|
673
673
|
for (var M = Q.stack.split(`
|
|
674
|
-
`), J =
|
|
675
|
-
`),
|
|
674
|
+
`), J = I.stack.split(`
|
|
675
|
+
`), z = M.length - 1, U = J.length - 1; z >= 1 && U >= 0 && M[z] !== J[U]; )
|
|
676
676
|
U--;
|
|
677
|
-
for (;
|
|
678
|
-
if (M[
|
|
679
|
-
if (
|
|
677
|
+
for (; z >= 1 && U >= 0; z--, U--)
|
|
678
|
+
if (M[z] !== J[U]) {
|
|
679
|
+
if (z !== 1 || U !== 1)
|
|
680
680
|
do
|
|
681
|
-
if (
|
|
681
|
+
if (z--, U--, U < 0 || M[z] !== J[U]) {
|
|
682
682
|
var ne = `
|
|
683
|
-
` + M[
|
|
683
|
+
` + M[z].replace(" at new ", " at ");
|
|
684
684
|
return c.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", c.displayName)), typeof c == "function" && Ke.set(c, ne), ne;
|
|
685
685
|
}
|
|
686
|
-
while (
|
|
686
|
+
while (z >= 1 && U >= 0);
|
|
687
687
|
break;
|
|
688
688
|
}
|
|
689
689
|
}
|
|
@@ -717,10 +717,10 @@ function Ir() {
|
|
|
717
717
|
switch (c.$$typeof) {
|
|
718
718
|
case _:
|
|
719
719
|
return ta(c.render);
|
|
720
|
-
case
|
|
720
|
+
case m:
|
|
721
721
|
return Ue(c.type, p, k);
|
|
722
|
-
case
|
|
723
|
-
var
|
|
722
|
+
case f: {
|
|
723
|
+
var I = c, B = I._payload, P = I._init;
|
|
724
724
|
try {
|
|
725
725
|
return Ue(P(B), p, k);
|
|
726
726
|
} catch {
|
|
@@ -729,30 +729,30 @@ function Ir() {
|
|
|
729
729
|
}
|
|
730
730
|
return "";
|
|
731
731
|
}
|
|
732
|
-
var
|
|
733
|
-
function
|
|
732
|
+
var Ie = Object.prototype.hasOwnProperty, Gt = {}, Zt = j.ReactDebugCurrentFrame;
|
|
733
|
+
function Ye(c) {
|
|
734
734
|
if (c) {
|
|
735
735
|
var p = c._owner, k = Ue(c.type, c._source, p ? p.type : null);
|
|
736
|
-
|
|
736
|
+
Zt.setExtraStackFrame(k);
|
|
737
737
|
} else
|
|
738
|
-
|
|
738
|
+
Zt.setExtraStackFrame(null);
|
|
739
739
|
}
|
|
740
|
-
function aa(c, p, k,
|
|
740
|
+
function aa(c, p, k, I, B) {
|
|
741
741
|
{
|
|
742
|
-
var P = Function.call.bind(
|
|
742
|
+
var P = Function.call.bind(Ie);
|
|
743
743
|
for (var L in c)
|
|
744
744
|
if (P(c, L)) {
|
|
745
745
|
var M = void 0;
|
|
746
746
|
try {
|
|
747
747
|
if (typeof c[L] != "function") {
|
|
748
|
-
var J = Error((
|
|
748
|
+
var J = Error((I || "React class") + ": " + k + " type `" + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[L] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
749
749
|
throw J.name = "Invariant Violation", J;
|
|
750
750
|
}
|
|
751
|
-
M = c[L](p, L,
|
|
752
|
-
} catch (
|
|
753
|
-
M =
|
|
751
|
+
M = c[L](p, L, I, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
752
|
+
} catch (z) {
|
|
753
|
+
M = z;
|
|
754
754
|
}
|
|
755
|
-
M && !(M instanceof Error) && (
|
|
755
|
+
M && !(M instanceof Error) && (Ye(B), S("%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).", I || "React class", k, L, typeof M), Ye(null)), M instanceof Error && !(M.message in Gt) && (Gt[M.message] = !0, Ye(B), S("Failed %s type: %s", k, M.message), Ye(null));
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
758
|
}
|
|
@@ -768,19 +768,19 @@ function Ir() {
|
|
|
768
768
|
}
|
|
769
769
|
function ia(c) {
|
|
770
770
|
try {
|
|
771
|
-
return
|
|
771
|
+
return zt(c), !1;
|
|
772
772
|
} catch {
|
|
773
773
|
return !0;
|
|
774
774
|
}
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function zt(c) {
|
|
777
777
|
return "" + c;
|
|
778
778
|
}
|
|
779
779
|
function Wt(c) {
|
|
780
780
|
if (ia(c))
|
|
781
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sa(c)),
|
|
781
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sa(c)), zt(c);
|
|
782
782
|
}
|
|
783
|
-
var
|
|
783
|
+
var Te = j.ReactCurrentOwner, oa = {
|
|
784
784
|
key: !0,
|
|
785
785
|
ref: !0,
|
|
786
786
|
__self: !0,
|
|
@@ -788,7 +788,7 @@ function Ir() {
|
|
|
788
788
|
}, Kt, Ut, it;
|
|
789
789
|
it = {};
|
|
790
790
|
function la(c) {
|
|
791
|
-
if (
|
|
791
|
+
if (Ie.call(c, "ref")) {
|
|
792
792
|
var p = Object.getOwnPropertyDescriptor(c, "ref").get;
|
|
793
793
|
if (p && p.isReactWarning)
|
|
794
794
|
return !1;
|
|
@@ -796,7 +796,7 @@ function Ir() {
|
|
|
796
796
|
return c.ref !== void 0;
|
|
797
797
|
}
|
|
798
798
|
function ca(c) {
|
|
799
|
-
if (
|
|
799
|
+
if (Ie.call(c, "key")) {
|
|
800
800
|
var p = Object.getOwnPropertyDescriptor(c, "key").get;
|
|
801
801
|
if (p && p.isReactWarning)
|
|
802
802
|
return !1;
|
|
@@ -804,9 +804,9 @@ function Ir() {
|
|
|
804
804
|
return c.key !== void 0;
|
|
805
805
|
}
|
|
806
806
|
function da(c, p) {
|
|
807
|
-
if (typeof c.ref == "string" &&
|
|
808
|
-
var k = $(
|
|
809
|
-
it[k] || (S('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', $(
|
|
807
|
+
if (typeof c.ref == "string" && Te.current && p && Te.current.stateNode !== p) {
|
|
808
|
+
var k = $(Te.current.type);
|
|
809
|
+
it[k] || (S('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', $(Te.current.type), c.ref), it[k] = !0);
|
|
810
810
|
}
|
|
811
811
|
}
|
|
812
812
|
function _a(c, p) {
|
|
@@ -831,7 +831,7 @@ function Ir() {
|
|
|
831
831
|
});
|
|
832
832
|
}
|
|
833
833
|
}
|
|
834
|
-
var
|
|
834
|
+
var ma = function(c, p, k, I, B, P, L) {
|
|
835
835
|
var M = {
|
|
836
836
|
// This tag allows us to uniquely identify this as a React Element
|
|
837
837
|
$$typeof: t,
|
|
@@ -852,7 +852,7 @@ function Ir() {
|
|
|
852
852
|
configurable: !1,
|
|
853
853
|
enumerable: !1,
|
|
854
854
|
writable: !1,
|
|
855
|
-
value:
|
|
855
|
+
value: I
|
|
856
856
|
}), Object.defineProperty(M, "_source", {
|
|
857
857
|
configurable: !1,
|
|
858
858
|
enumerable: !1,
|
|
@@ -860,38 +860,38 @@ function Ir() {
|
|
|
860
860
|
value: B
|
|
861
861
|
}), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
|
|
862
862
|
};
|
|
863
|
-
function
|
|
863
|
+
function fa(c, p, k, I, B) {
|
|
864
864
|
{
|
|
865
865
|
var P, L = {}, M = null, J = null;
|
|
866
866
|
k !== void 0 && (Wt(k), M = "" + k), ca(p) && (Wt(p.key), M = "" + p.key), la(p) && (J = p.ref, da(p, B));
|
|
867
867
|
for (P in p)
|
|
868
|
-
|
|
868
|
+
Ie.call(p, P) && !oa.hasOwnProperty(P) && (L[P] = p[P]);
|
|
869
869
|
if (c && c.defaultProps) {
|
|
870
|
-
var
|
|
871
|
-
for (P in
|
|
872
|
-
L[P] === void 0 && (L[P] =
|
|
870
|
+
var z = c.defaultProps;
|
|
871
|
+
for (P in z)
|
|
872
|
+
L[P] === void 0 && (L[P] = z[P]);
|
|
873
873
|
}
|
|
874
874
|
if (M || J) {
|
|
875
875
|
var U = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
|
|
876
876
|
M && _a(L, U), J && ua(L, U);
|
|
877
877
|
}
|
|
878
|
-
return
|
|
878
|
+
return ma(c, M, J, B, I, Te.current, L);
|
|
879
879
|
}
|
|
880
880
|
}
|
|
881
|
-
var ot = j.ReactCurrentOwner,
|
|
881
|
+
var ot = j.ReactCurrentOwner, Yt = j.ReactDebugCurrentFrame;
|
|
882
882
|
function ye(c) {
|
|
883
883
|
if (c) {
|
|
884
884
|
var p = c._owner, k = Ue(c.type, c._source, p ? p.type : null);
|
|
885
|
-
|
|
885
|
+
Yt.setExtraStackFrame(k);
|
|
886
886
|
} else
|
|
887
|
-
|
|
887
|
+
Yt.setExtraStackFrame(null);
|
|
888
888
|
}
|
|
889
889
|
var lt;
|
|
890
890
|
lt = !1;
|
|
891
891
|
function ct(c) {
|
|
892
892
|
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
893
893
|
}
|
|
894
|
-
function
|
|
894
|
+
function Ht() {
|
|
895
895
|
{
|
|
896
896
|
if (ot.current) {
|
|
897
897
|
var c = $(ot.current.type);
|
|
@@ -906,10 +906,10 @@ Check the render method of \`` + c + "`.";
|
|
|
906
906
|
function ha(c) {
|
|
907
907
|
return "";
|
|
908
908
|
}
|
|
909
|
-
var
|
|
909
|
+
var Vt = {};
|
|
910
910
|
function xa(c) {
|
|
911
911
|
{
|
|
912
|
-
var p =
|
|
912
|
+
var p = Ht();
|
|
913
913
|
if (!p) {
|
|
914
914
|
var k = typeof c == "string" ? c : c.displayName || c.name;
|
|
915
915
|
k && (p = `
|
|
@@ -925,11 +925,11 @@ Check the top-level render call using <` + k + ">.");
|
|
|
925
925
|
return;
|
|
926
926
|
c._store.validated = !0;
|
|
927
927
|
var k = xa(p);
|
|
928
|
-
if (
|
|
928
|
+
if (Vt[k])
|
|
929
929
|
return;
|
|
930
|
-
|
|
931
|
-
var
|
|
932
|
-
c && c._owner && c._owner !== ot.current && (
|
|
930
|
+
Vt[k] = !0;
|
|
931
|
+
var I = "";
|
|
932
|
+
c && c._owner && c._owner !== ot.current && (I = " It was passed a child from " + $(c._owner.type) + "."), ye(c), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, I), ye(null);
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
935
|
function Jt(c, p) {
|
|
@@ -938,8 +938,8 @@ Check the top-level render call using <` + k + ">.");
|
|
|
938
938
|
return;
|
|
939
939
|
if (st(c))
|
|
940
940
|
for (var k = 0; k < c.length; k++) {
|
|
941
|
-
var
|
|
942
|
-
ct(
|
|
941
|
+
var I = c[k];
|
|
942
|
+
ct(I) && qt(I, p);
|
|
943
943
|
}
|
|
944
944
|
else if (ct(c))
|
|
945
945
|
c._store && (c._store.validated = !0);
|
|
@@ -961,13 +961,13 @@ Check the top-level render call using <` + k + ">.");
|
|
|
961
961
|
k = p.propTypes;
|
|
962
962
|
else if (typeof p == "object" && (p.$$typeof === _ || // Note: Memo only checks outer props here.
|
|
963
963
|
// Inner props are checked in the reconciler.
|
|
964
|
-
p.$$typeof ===
|
|
964
|
+
p.$$typeof === m))
|
|
965
965
|
k = p.propTypes;
|
|
966
966
|
else
|
|
967
967
|
return;
|
|
968
968
|
if (k) {
|
|
969
|
-
var
|
|
970
|
-
aa(k, c.props, "prop",
|
|
969
|
+
var I = $(p);
|
|
970
|
+
aa(k, c.props, "prop", I, c);
|
|
971
971
|
} else if (p.PropTypes !== void 0 && !lt) {
|
|
972
972
|
lt = !0;
|
|
973
973
|
var B = $(p);
|
|
@@ -979,9 +979,9 @@ Check the top-level render call using <` + k + ">.");
|
|
|
979
979
|
function ga(c) {
|
|
980
980
|
{
|
|
981
981
|
for (var p = Object.keys(c.props), k = 0; k < p.length; k++) {
|
|
982
|
-
var
|
|
983
|
-
if (
|
|
984
|
-
ye(c), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
982
|
+
var I = p[k];
|
|
983
|
+
if (I !== "children" && I !== "key") {
|
|
984
|
+
ye(c), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", I), ye(null);
|
|
985
985
|
break;
|
|
986
986
|
}
|
|
987
987
|
}
|
|
@@ -989,24 +989,24 @@ Check the top-level render call using <` + k + ">.");
|
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
var Xt = {};
|
|
992
|
-
function Qt(c, p, k,
|
|
992
|
+
function Qt(c, p, k, I, B, P) {
|
|
993
993
|
{
|
|
994
994
|
var L = X(c);
|
|
995
995
|
if (!L) {
|
|
996
996
|
var M = "";
|
|
997
997
|
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
998
998
|
var J = ha();
|
|
999
|
-
J ? M += J : M +=
|
|
1000
|
-
var
|
|
1001
|
-
c === null ?
|
|
999
|
+
J ? M += J : M += Ht();
|
|
1000
|
+
var z;
|
|
1001
|
+
c === null ? z = "null" : st(c) ? z = "array" : c !== void 0 && c.$$typeof === t ? (z = "<" + ($(c.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : z = typeof c, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", z, M);
|
|
1002
1002
|
}
|
|
1003
|
-
var U =
|
|
1003
|
+
var U = fa(c, p, k, B, P);
|
|
1004
1004
|
if (U == null)
|
|
1005
1005
|
return U;
|
|
1006
1006
|
if (L) {
|
|
1007
1007
|
var ne = p.children;
|
|
1008
1008
|
if (ne !== void 0)
|
|
1009
|
-
if (
|
|
1009
|
+
if (I)
|
|
1010
1010
|
if (st(ne)) {
|
|
1011
1011
|
for (var be = 0; be < ne.length; be++)
|
|
1012
1012
|
Jt(ne[be], c);
|
|
@@ -1016,7 +1016,7 @@ Check the top-level render call using <` + k + ">.");
|
|
|
1016
1016
|
else
|
|
1017
1017
|
Jt(ne, c);
|
|
1018
1018
|
}
|
|
1019
|
-
if (
|
|
1019
|
+
if (Ie.call(p, "key")) {
|
|
1020
1020
|
var ge = $(c), Q = Object.keys(p).filter(function(ba) {
|
|
1021
1021
|
return ba !== "key";
|
|
1022
1022
|
}), dt = Q.length > 0 ? "{key: someKey, " + Q.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
@@ -1043,7 +1043,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1043
1043
|
Me.Fragment = r, Me.jsx = ka, Me.jsxs = ja;
|
|
1044
1044
|
}()), Me;
|
|
1045
1045
|
}
|
|
1046
|
-
process.env.NODE_ENV === "production" ? xt.exports =
|
|
1046
|
+
process.env.NODE_ENV === "production" ? xt.exports = Ir() : xt.exports = Tr();
|
|
1047
1047
|
var n = xt.exports;
|
|
1048
1048
|
const Dr = "_notice_9i5tr_2", Mr = "_error_9i5tr_9", Fr = "_success_9i5tr_12", Lr = "_remark_9i5tr_15", $r = "_copy_9i5tr_18", Br = {
|
|
1049
1049
|
notice: Dr,
|
|
@@ -1104,15 +1104,15 @@ function Ar(e) {
|
|
|
1104
1104
|
let t = Date.now(), a = { key: t, text: e, type: "error" };
|
|
1105
1105
|
xe.set({ item: /* @__PURE__ */ n.jsx(Ae, { data: a }, t), key: t });
|
|
1106
1106
|
}
|
|
1107
|
-
function
|
|
1107
|
+
function Gr(e) {
|
|
1108
1108
|
let t = Date.now(), a = { key: t, text: e, type: "success" };
|
|
1109
1109
|
xe.set({ item: /* @__PURE__ */ n.jsx(Ae, { data: a }, t), key: t });
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function Zr(e) {
|
|
1112
1112
|
let t = Date.now(), a = { key: t, text: e, type: "remark" };
|
|
1113
1113
|
xe.set({ item: /* @__PURE__ */ n.jsx(Ae, { data: a }, t), key: t });
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function zr(e) {
|
|
1116
1116
|
let t = Date.now(), a = { key: t, text: e, type: "copy" };
|
|
1117
1117
|
xe.set({ item: /* @__PURE__ */ n.jsx(Ae, { data: a }, t), key: t });
|
|
1118
1118
|
}
|
|
@@ -1149,17 +1149,17 @@ ve.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "
|
|
|
1149
1149
|
}
|
|
1150
1150
|
)
|
|
1151
1151
|
] });
|
|
1152
|
-
const Wr = "_alerts_1pds5_1", Kr = "_menuAnimation_1pds5_1", Ur = "_menuItemAnimation_1pds5_1",
|
|
1152
|
+
const Wr = "_alerts_1pds5_1", Kr = "_menuAnimation_1pds5_1", Ur = "_menuItemAnimation_1pds5_1", Yr = "_allert_1pds5_111", Hr = "_al_1pds5_1", pt = {
|
|
1153
1153
|
alerts: Wr,
|
|
1154
1154
|
menuAnimation: Kr,
|
|
1155
1155
|
menuItemAnimation: Ur,
|
|
1156
1156
|
"--body": "_--body_1pds5_103",
|
|
1157
|
-
allert:
|
|
1157
|
+
allert: Yr,
|
|
1158
1158
|
"--form": "_--form_1pds5_111",
|
|
1159
|
-
al:
|
|
1159
|
+
al: Hr
|
|
1160
1160
|
};
|
|
1161
1161
|
let $e = {};
|
|
1162
|
-
function
|
|
1162
|
+
function Vr() {
|
|
1163
1163
|
let [e, t] = x.useState("");
|
|
1164
1164
|
return $e.set = (a) => t(a), $e.del = () => t(""), /* @__PURE__ */ n.jsx(n.Fragment, { children: e });
|
|
1165
1165
|
}
|
|
@@ -1183,21 +1183,21 @@ const qr = ({ data: e, callback: t }) => (e.button = e.button === void 0 ? "По
|
|
|
1183
1183
|
function Jr(e, t) {
|
|
1184
1184
|
$e.set(/* @__PURE__ */ n.jsx(qr, { data: e, callback: t }));
|
|
1185
1185
|
}
|
|
1186
|
-
const Be = { Send: Or, Error: Ar, Remark:
|
|
1186
|
+
const Be = { Send: Or, Error: Ar, Remark: Zr, Success: Gr, Copy: zr }, Ve = {
|
|
1187
1187
|
Path: Qa,
|
|
1188
|
-
setPage:
|
|
1188
|
+
setPage: Ga,
|
|
1189
1189
|
getPage: hn,
|
|
1190
1190
|
usePage: Aa,
|
|
1191
|
-
isPage:
|
|
1191
|
+
isPage: Za,
|
|
1192
1192
|
setModule: Wa,
|
|
1193
1193
|
getModule: xn,
|
|
1194
|
-
useModule:
|
|
1194
|
+
useModule: za,
|
|
1195
1195
|
isModule: Ka,
|
|
1196
|
-
setTabs:
|
|
1196
|
+
setTabs: Ya,
|
|
1197
1197
|
getTabs: Je,
|
|
1198
1198
|
useTabs: Ua,
|
|
1199
|
-
isTabs:
|
|
1200
|
-
useId:
|
|
1199
|
+
isTabs: Ha,
|
|
1200
|
+
useId: Va,
|
|
1201
1201
|
setId: Ja,
|
|
1202
1202
|
subId: qa,
|
|
1203
1203
|
getId: pn,
|
|
@@ -1283,7 +1283,7 @@ function es() {
|
|
|
1283
1283
|
const ts = "_n_euuvm_1", ns = {
|
|
1284
1284
|
n: ts
|
|
1285
1285
|
};
|
|
1286
|
-
let
|
|
1286
|
+
let Ge = {}, Fe = [];
|
|
1287
1287
|
const as = (e, t) => {
|
|
1288
1288
|
switch (t.type) {
|
|
1289
1289
|
case "open":
|
|
@@ -1325,7 +1325,7 @@ const as = (e, t) => {
|
|
|
1325
1325
|
r = { ...e.take, ...r }, e.active = !1;
|
|
1326
1326
|
for (let s in r)
|
|
1327
1327
|
r[s] !== "999" && (e.active = !0);
|
|
1328
|
-
return
|
|
1328
|
+
return Ge.get(r, e.active), {
|
|
1329
1329
|
...e,
|
|
1330
1330
|
take: r,
|
|
1331
1331
|
active: e.active
|
|
@@ -1337,16 +1337,16 @@ const as = (e, t) => {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
};
|
|
1339
1339
|
function rs(e) {
|
|
1340
|
-
|
|
1340
|
+
Ge.fn({ action: "add", data: e });
|
|
1341
1341
|
}
|
|
1342
1342
|
function ss(e) {
|
|
1343
|
-
|
|
1343
|
+
Ge.fn({ action: "add", data: e });
|
|
1344
1344
|
}
|
|
1345
1345
|
function is(e) {
|
|
1346
|
-
|
|
1346
|
+
Ge.fn({ action: "new", data: e });
|
|
1347
1347
|
}
|
|
1348
1348
|
function os(e) {
|
|
1349
|
-
|
|
1349
|
+
Ge.fn = e;
|
|
1350
1350
|
}
|
|
1351
1351
|
function ls() {
|
|
1352
1352
|
const [e, t] = x.useReducer(as, {
|
|
@@ -1485,13 +1485,13 @@ function us(e) {
|
|
|
1485
1485
|
let r = { ...je(), 901: t };
|
|
1486
1486
|
Cn(a), Oe(r);
|
|
1487
1487
|
}
|
|
1488
|
-
function
|
|
1488
|
+
function ms() {
|
|
1489
1489
|
let e = kn(), t = {};
|
|
1490
1490
|
return Object.keys(e).forEach((a) => {
|
|
1491
1491
|
t[e[a].id] = {}, t[e[a].id].name = e[a].a;
|
|
1492
1492
|
}), t;
|
|
1493
1493
|
}
|
|
1494
|
-
let oe = {},
|
|
1494
|
+
let oe = {}, H = {}, He = [
|
|
1495
1495
|
"filter",
|
|
1496
1496
|
"online",
|
|
1497
1497
|
"users",
|
|
@@ -1501,13 +1501,13 @@ let oe = {}, Y = {}, Ye = [
|
|
|
1501
1501
|
"info",
|
|
1502
1502
|
"job"
|
|
1503
1503
|
];
|
|
1504
|
-
function
|
|
1504
|
+
function fs() {
|
|
1505
1505
|
const [e, t] = x.useState(!1), [a, r] = x.useState(!1);
|
|
1506
1506
|
function s(i) {
|
|
1507
1507
|
const o = new _s();
|
|
1508
1508
|
oe.laodData = (l) => {
|
|
1509
|
-
let _ =
|
|
1510
|
-
_ >= 0 &&
|
|
1509
|
+
let _ = He.indexOf(l);
|
|
1510
|
+
_ >= 0 && He.splice(_, 1), He.length === 0 && t(!0);
|
|
1511
1511
|
}, oe.send = (l) => {
|
|
1512
1512
|
o.port.postMessage({ type: "send", json: l });
|
|
1513
1513
|
}, o.port.onmessage = (l) => {
|
|
@@ -1515,46 +1515,46 @@ function ms() {
|
|
|
1515
1515
|
_.type === "error" && r(!0), _.type === "true" && t(!0), _.type === "closed" && o.port.postMessage({
|
|
1516
1516
|
type: "connect",
|
|
1517
1517
|
ukey: i,
|
|
1518
|
-
lk:
|
|
1519
|
-
}),
|
|
1518
|
+
lk: ft()
|
|
1519
|
+
}), He.length !== 0 && oe.laodData(_.type), H[_.type] && H[_.type](_);
|
|
1520
1520
|
}, o.port.postMessage({
|
|
1521
1521
|
type: "connect",
|
|
1522
1522
|
ukey: i,
|
|
1523
|
-
lk:
|
|
1523
|
+
lk: ft()
|
|
1524
1524
|
});
|
|
1525
1525
|
}
|
|
1526
1526
|
return [s, e, a];
|
|
1527
1527
|
}
|
|
1528
|
-
|
|
1528
|
+
H.module = (e) => {
|
|
1529
1529
|
oe[e.listen] !== void 0 && (oe[e.listen](e), delete oe[e.listen]);
|
|
1530
1530
|
};
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1531
|
+
H.bell = is;
|
|
1532
|
+
H.company = us;
|
|
1533
|
+
H.info = (e) => {
|
|
1534
1534
|
let t = {};
|
|
1535
1535
|
t.db = e.db, t.id = e.data.id, t.job = e.data.job, t.login = e.data.login, t.name = e.data.p02, t.patronymic = e.data.p03, t.surname = e.data.p01, t.email = e.data.email, t.admin = e.data.menu.includes("99"), jn(t), gn(e.data.menu);
|
|
1536
1536
|
};
|
|
1537
|
-
|
|
1537
|
+
H.version = async (e) => {
|
|
1538
1538
|
Et.version.Server(e.data);
|
|
1539
1539
|
};
|
|
1540
|
-
|
|
1540
|
+
H.online = async (e) => {
|
|
1541
1541
|
};
|
|
1542
|
-
|
|
1542
|
+
H.offline = async (e) => {
|
|
1543
1543
|
};
|
|
1544
|
-
|
|
1544
|
+
H.chat = (e) => {
|
|
1545
1545
|
switch (e.data.action) {
|
|
1546
1546
|
case "new_message":
|
|
1547
|
-
|
|
1547
|
+
Ve.getModule();
|
|
1548
1548
|
break;
|
|
1549
1549
|
case "view_message":
|
|
1550
|
-
|
|
1550
|
+
Ve.getModule();
|
|
1551
1551
|
break;
|
|
1552
1552
|
case "write_message":
|
|
1553
|
-
|
|
1553
|
+
Ve.getModule();
|
|
1554
1554
|
break;
|
|
1555
1555
|
}
|
|
1556
1556
|
};
|
|
1557
|
-
|
|
1557
|
+
H.users = (e) => {
|
|
1558
1558
|
let t = {};
|
|
1559
1559
|
e.data.forEach((r) => {
|
|
1560
1560
|
let s = r.p01 + " " + r.p02 + " " + r.p03, i = r.p01 + " " + r.p02.substring(0, 1) + "." + r.p03.substring(0, 1) + ".", o = r.p01.substring(0, 1) + "" + r.p02.substring(0, 1) + r.p03.substring(0, 1);
|
|
@@ -1574,31 +1574,31 @@ Y.users = (e) => {
|
|
|
1574
1574
|
let a = { ...je(), user: t };
|
|
1575
1575
|
Oe(a);
|
|
1576
1576
|
};
|
|
1577
|
-
|
|
1577
|
+
H.api = (e) => {
|
|
1578
1578
|
let t = {};
|
|
1579
1579
|
e.data.forEach((a) => {
|
|
1580
1580
|
t[a.api] = { key: a.key, p01: a.p01, p02: a.p02 };
|
|
1581
1581
|
});
|
|
1582
1582
|
};
|
|
1583
|
-
|
|
1583
|
+
H.delete = () => {
|
|
1584
1584
|
te();
|
|
1585
1585
|
};
|
|
1586
|
-
|
|
1586
|
+
H.select = (e) => {
|
|
1587
1587
|
let t = { ...je() };
|
|
1588
1588
|
e.data.forEach((a) => {
|
|
1589
1589
|
t[a.n] = JSON.parse(a.s);
|
|
1590
1590
|
}), Oe(t);
|
|
1591
1591
|
};
|
|
1592
|
-
|
|
1592
|
+
H.job = (e) => {
|
|
1593
1593
|
let t = { ...je() }, a = {};
|
|
1594
1594
|
Object.keys(e.data).forEach((r) => {
|
|
1595
1595
|
a[r] = { s: 1, n: e.data[r] };
|
|
1596
1596
|
}), t[1] = a, Oe(t);
|
|
1597
1597
|
};
|
|
1598
|
-
|
|
1598
|
+
H.setting = (e) => {
|
|
1599
1599
|
er(e.data);
|
|
1600
1600
|
};
|
|
1601
|
-
|
|
1601
|
+
H.app = () => {
|
|
1602
1602
|
};
|
|
1603
1603
|
const hs = (e, t) => {
|
|
1604
1604
|
oe[e] = t;
|
|
@@ -1613,7 +1613,7 @@ function ps(e) {
|
|
|
1613
1613
|
}, e = { ...e, listen: t }, e.type = "modules", oe.send(e);
|
|
1614
1614
|
});
|
|
1615
1615
|
}
|
|
1616
|
-
const _e = { useConnect:
|
|
1616
|
+
const _e = { useConnect: fs, useListener: hs, setListener: xs, Send: ps };
|
|
1617
1617
|
function gs(e, t) {
|
|
1618
1618
|
t === void 0 ? (t = e, e = /* @__PURE__ */ new Date()) : e = new Date(e);
|
|
1619
1619
|
let a = {
|
|
@@ -1652,16 +1652,16 @@ function vs(e) {
|
|
|
1652
1652
|
};
|
|
1653
1653
|
}
|
|
1654
1654
|
const Cs = (e) => {
|
|
1655
|
-
function t(
|
|
1656
|
-
var w, E,
|
|
1657
|
-
|
|
1658
|
-
for (var w = [],
|
|
1659
|
-
w.push(
|
|
1655
|
+
function t(T, D) {
|
|
1656
|
+
var w, E, R;
|
|
1657
|
+
T = T ?? "", D = D ?? 1;
|
|
1658
|
+
for (var w = [], R = 0, E = T.length; R < E; )
|
|
1659
|
+
w.push(T.slice(R, R += D));
|
|
1660
1660
|
return w;
|
|
1661
1661
|
}
|
|
1662
|
-
function a(
|
|
1662
|
+
function a(T, D) {
|
|
1663
1663
|
var w = [2, 0, 1, 1, 1, 2];
|
|
1664
|
-
return D[
|
|
1664
|
+
return D[T > 4 && T < 20 ? 2 : w[Math.min(T, 5)]];
|
|
1665
1665
|
}
|
|
1666
1666
|
var r = {
|
|
1667
1667
|
null: "ноль",
|
|
@@ -1725,7 +1725,7 @@ const Cs = (e) => {
|
|
|
1725
1725
|
u3: ["тысяча", "тысячи", "тысяч"],
|
|
1726
1726
|
u2: ["миллион", "миллиона", "миллионов"],
|
|
1727
1727
|
u1: ["миллиард", "миллиарда", "миллиардов"]
|
|
1728
|
-
}, s, i, o, l, g, _, d, v, u,
|
|
1728
|
+
}, s, i, o, l, g, _, d, v, u, m, f, h;
|
|
1729
1729
|
u = parseFloat(e).toFixed(2).split("."), _ = u[0], l = u[1];
|
|
1730
1730
|
var C = 12 - _.length;
|
|
1731
1731
|
if (C < 0)
|
|
@@ -1735,13 +1735,13 @@ const Cs = (e) => {
|
|
|
1735
1735
|
_ = v.join("") + _;
|
|
1736
1736
|
var g = [];
|
|
1737
1737
|
if (_ > 0) {
|
|
1738
|
-
|
|
1739
|
-
for (var j = -1; j <
|
|
1740
|
-
if (d =
|
|
1738
|
+
m = t(_, 3);
|
|
1739
|
+
for (var j = -1; j < m.length; j++)
|
|
1740
|
+
if (d = m[j], d > 0 && (f = t(d, 1), s = parseInt(f[0]), i = parseInt(f[1]), o = parseInt(f[2]), g.push(r.a100[s - 1]), h = j + 1 == 3 ? "a2" : "a1", i > 1 ? g.push(
|
|
1741
1741
|
r.a20[i - 2] + (o > 0 ? " " + r[h][o - 1] : "")
|
|
1742
1742
|
) : g.push(
|
|
1743
1743
|
i > 0 ? r.a10[o] : r[h][o - 1]
|
|
1744
|
-
),
|
|
1744
|
+
), m.length > j + 1)) {
|
|
1745
1745
|
var S = r["u" + (j + 1)];
|
|
1746
1746
|
g.push(a(d, S));
|
|
1747
1747
|
}
|
|
@@ -1884,8 +1884,8 @@ function ys(e, t, a, r) {
|
|
|
1884
1884
|
if (d === this.gcaseNom)
|
|
1885
1885
|
return o;
|
|
1886
1886
|
if (o.match(/[-]/)) {
|
|
1887
|
-
for (var u = o.split("-"),
|
|
1888
|
-
u[
|
|
1887
|
+
for (var u = o.split("-"), m = 0, f = u.length; m < f; m++)
|
|
1888
|
+
u[m] = this.word(u[m], l, _, d);
|
|
1889
1889
|
return u.join("-");
|
|
1890
1890
|
}
|
|
1891
1891
|
if (o.match(/^[А-ЯЁ]\.?$/i))
|
|
@@ -1897,21 +1897,21 @@ function ys(e, t, a, r) {
|
|
|
1897
1897
|
},
|
|
1898
1898
|
// выбираем из списка правил первое подходящее и применяем
|
|
1899
1899
|
pick: function(o, l, _, d, u) {
|
|
1900
|
-
let
|
|
1901
|
-
for (var
|
|
1902
|
-
if (this.ruleMatch(
|
|
1903
|
-
return this.applyMod(o, _, d[
|
|
1900
|
+
let m = o.toLowerCase();
|
|
1901
|
+
for (var f = 0, h = d.length; f < h; f++)
|
|
1902
|
+
if (this.ruleMatch(m, l, d[f], u))
|
|
1903
|
+
return this.applyMod(o, _, d[f]);
|
|
1904
1904
|
return !1;
|
|
1905
1905
|
},
|
|
1906
1906
|
// проверяем, подходит ли правило к слову
|
|
1907
1907
|
ruleMatch: function(o, l, _, d) {
|
|
1908
1908
|
if (_.sex === this.sexM && l === this.sexF || _.sex === this.sexF && l !== this.sexF)
|
|
1909
1909
|
return !1;
|
|
1910
|
-
for (var u = 0,
|
|
1911
|
-
var
|
|
1910
|
+
for (var u = 0, m = _.test.length; u < m; u++) {
|
|
1911
|
+
var f = d ? o : o.substr(
|
|
1912
1912
|
Math.max(o.length - _.test[u].length, 0)
|
|
1913
1913
|
);
|
|
1914
|
-
if (
|
|
1914
|
+
if (f === _.test[u])
|
|
1915
1915
|
return !0;
|
|
1916
1916
|
}
|
|
1917
1917
|
return !1;
|
|
@@ -1939,16 +1939,16 @@ function ys(e, t, a, r) {
|
|
|
1939
1939
|
d = _.mods[4];
|
|
1940
1940
|
break;
|
|
1941
1941
|
}
|
|
1942
|
-
for (var u = 0,
|
|
1943
|
-
var
|
|
1944
|
-
switch (
|
|
1942
|
+
for (var u = 0, m = d.length; u < m; u++) {
|
|
1943
|
+
var f = d.substr(u, 1);
|
|
1944
|
+
switch (f) {
|
|
1945
1945
|
case ".":
|
|
1946
1946
|
break;
|
|
1947
1947
|
case "-":
|
|
1948
1948
|
o = o.substr(0, o.length - 1);
|
|
1949
1949
|
break;
|
|
1950
1950
|
default:
|
|
1951
|
-
o +=
|
|
1951
|
+
o += f;
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
1954
1954
|
return o;
|
|
@@ -2012,19 +2012,19 @@ function Es(e, t) {
|
|
|
2012
2012
|
a = "0" + a;
|
|
2013
2013
|
return a;
|
|
2014
2014
|
}
|
|
2015
|
-
function
|
|
2015
|
+
function Rs(e, t, a) {
|
|
2016
2016
|
let r = t / e * a;
|
|
2017
2017
|
return (typeof r != "number" || r === 1 / 0) && (r = 0), parseFloat(r).toFixed(1);
|
|
2018
2018
|
}
|
|
2019
|
-
function
|
|
2019
|
+
function Ns(e) {
|
|
2020
2020
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
2021
2021
|
}
|
|
2022
|
-
function
|
|
2022
|
+
function Is(e, t) {
|
|
2023
2023
|
e = Math.abs(e) % 100;
|
|
2024
2024
|
let a = e % 10;
|
|
2025
2025
|
return e > 10 && e < 20 ? t[2] : a > 1 && a < 5 ? t[1] : a === 1 ? t[0] : t[2];
|
|
2026
2026
|
}
|
|
2027
|
-
function
|
|
2027
|
+
function Ts(e, t, a) {
|
|
2028
2028
|
return je(e, t) ? je(e, t).n : a || "";
|
|
2029
2029
|
}
|
|
2030
2030
|
function Ds(e, t) {
|
|
@@ -2048,31 +2048,31 @@ const K = {
|
|
|
2048
2048
|
Month: ws,
|
|
2049
2049
|
Money: Ss,
|
|
2050
2050
|
Number: Es,
|
|
2051
|
-
Percent:
|
|
2052
|
-
CapitalizeFirstLetter:
|
|
2053
|
-
DeclensionWord:
|
|
2054
|
-
Select:
|
|
2051
|
+
Percent: Rs,
|
|
2052
|
+
CapitalizeFirstLetter: Ns,
|
|
2053
|
+
DeclensionWord: Is,
|
|
2054
|
+
Select: Ts,
|
|
2055
2055
|
ObjectByArray: Ds
|
|
2056
2056
|
};
|
|
2057
2057
|
function Fs({ children: e }) {
|
|
2058
2058
|
return /* @__PURE__ */ n.jsx("div", { className: "l", children: /* @__PURE__ */ n.jsx("ul", { children: e }) });
|
|
2059
2059
|
}
|
|
2060
|
-
const Ls = "_white_11p39_14", $s = "_black_11p39_26", Bs = "_shake_11p39_1", Ps = "_modal_11p39_73", Os = "_o_11p39_83", As = "_w_11p39_14",
|
|
2060
|
+
const Ls = "_white_11p39_14", $s = "_black_11p39_26", Bs = "_shake_11p39_1", Ps = "_modal_11p39_73", Os = "_o_11p39_83", As = "_w_11p39_14", Gs = "_h_11p39_107", Zs = "_l_11p39_121", zs = "_t_11p39_159", Ws = "_m_11p39_73", Ks = "_x_11p39_167", Us = "_s_11p39_177", Ys = "_c_11p39_182", Hs = "_f_11p39_187", Vs = "_btn_11p39_230", qs = "_g_11p39_243", Js = "_confirm_11p39_322", Xs = "_cancel_11p39_327", Qs = "_disabled_11p39_332", ei = "_active_11p39_389", ti = "_coincidence_11p39_395", ni = "_sa_11p39_431", ai = "_ss_11p39_435", ri = "_sm_11p39_439", si = "_sl_11p39_443", ii = "_sx_11p39_447", oi = "_sf_11p39_451", se = {
|
|
2061
2061
|
white: Ls,
|
|
2062
2062
|
black: $s,
|
|
2063
2063
|
shake: Bs,
|
|
2064
2064
|
modal: Ps,
|
|
2065
2065
|
o: Os,
|
|
2066
2066
|
w: As,
|
|
2067
|
-
h:
|
|
2068
|
-
l:
|
|
2069
|
-
t:
|
|
2067
|
+
h: Gs,
|
|
2068
|
+
l: Zs,
|
|
2069
|
+
t: zs,
|
|
2070
2070
|
m: Ws,
|
|
2071
2071
|
x: Ks,
|
|
2072
2072
|
s: Us,
|
|
2073
|
-
c:
|
|
2074
|
-
f:
|
|
2075
|
-
btn:
|
|
2073
|
+
c: Ys,
|
|
2074
|
+
f: Hs,
|
|
2075
|
+
btn: Vs,
|
|
2076
2076
|
g: qs,
|
|
2077
2077
|
"size-a": "_size-a_11p39_296",
|
|
2078
2078
|
"size-s": "_size-s_11p39_300",
|
|
@@ -2107,12 +2107,12 @@ const _i = "_btn_1hz2s_6", ui = "_confirm_1hz2s_19", sn = {
|
|
|
2107
2107
|
btn: _i,
|
|
2108
2108
|
confirm: ui
|
|
2109
2109
|
};
|
|
2110
|
-
function
|
|
2110
|
+
function mi({ onClick: e, onSend: t, label: a, onRef: r }) {
|
|
2111
2111
|
let [s, i] = x.useState(!1);
|
|
2112
|
-
const o = () => {
|
|
2112
|
+
const o = (l) => {
|
|
2113
2113
|
if (e)
|
|
2114
2114
|
return e();
|
|
2115
|
-
s || (i(!0), t
|
|
2115
|
+
s || (t ? (i(!0), t(i)) : l.preventDefault());
|
|
2116
2116
|
};
|
|
2117
2117
|
return /* @__PURE__ */ n.jsx(
|
|
2118
2118
|
"button",
|
|
@@ -2125,7 +2125,7 @@ function fi({ onClick: e, onSend: t, label: a, onRef: r }) {
|
|
|
2125
2125
|
);
|
|
2126
2126
|
}
|
|
2127
2127
|
let ke = {};
|
|
2128
|
-
function
|
|
2128
|
+
function fi({ config: e }) {
|
|
2129
2129
|
let [t, a] = x.useState([]);
|
|
2130
2130
|
return ke.x = (r) => {
|
|
2131
2131
|
r || a([]);
|
|
@@ -2141,14 +2141,14 @@ function hi({
|
|
|
2141
2141
|
size: s = "m",
|
|
2142
2142
|
menu: i
|
|
2143
2143
|
}) {
|
|
2144
|
-
const [o, l] = x.useState(!0), _ = x.useRef(), d = (
|
|
2144
|
+
const [o, l] = x.useState(!0), _ = x.useRef(), d = (m) => {
|
|
2145
2145
|
if (a) {
|
|
2146
2146
|
if (a.onClick)
|
|
2147
|
-
return
|
|
2147
|
+
return m(!1), a.onClick({ setOpen: l });
|
|
2148
2148
|
if (a.onSend)
|
|
2149
2149
|
return a.onSend({
|
|
2150
2150
|
setOpen: l,
|
|
2151
|
-
disabled:
|
|
2151
|
+
disabled: m
|
|
2152
2152
|
});
|
|
2153
2153
|
}
|
|
2154
2154
|
}, u = () => {
|
|
@@ -2171,14 +2171,14 @@ function hi({
|
|
|
2171
2171
|
/* @__PURE__ */ n.jsxs("div", { className: se.h, children: [
|
|
2172
2172
|
/* @__PURE__ */ n.jsx("div", { className: se.t, children: e }),
|
|
2173
2173
|
/* @__PURE__ */ n.jsxs("div", { className: se.m, children: [
|
|
2174
|
-
r && /* @__PURE__ */ n.jsx("nav", { children: r.map((
|
|
2174
|
+
r && /* @__PURE__ */ n.jsx("nav", { children: r.map((m, f) => /* @__PURE__ */ n.jsx(
|
|
2175
2175
|
"span",
|
|
2176
2176
|
{
|
|
2177
|
-
onClick:
|
|
2178
|
-
className:
|
|
2179
|
-
children:
|
|
2177
|
+
onClick: m.onClick,
|
|
2178
|
+
className: m.active ? "active" : "",
|
|
2179
|
+
children: m.name
|
|
2180
2180
|
},
|
|
2181
|
-
|
|
2181
|
+
f
|
|
2182
2182
|
)) }),
|
|
2183
2183
|
i
|
|
2184
2184
|
] }),
|
|
@@ -2203,7 +2203,7 @@ function hi({
|
|
|
2203
2203
|
)
|
|
2204
2204
|
] }),
|
|
2205
2205
|
t,
|
|
2206
|
-
a !== void 0 ? /* @__PURE__ */ n.jsx(
|
|
2206
|
+
a !== void 0 ? /* @__PURE__ */ n.jsx(mi, { label: a.label, onSend: d }) : ""
|
|
2207
2207
|
]
|
|
2208
2208
|
}
|
|
2209
2209
|
)
|
|
@@ -2281,17 +2281,17 @@ function En({ text: e, type: t, button: a }) {
|
|
|
2281
2281
|
a && /* @__PURE__ */ n.jsx("button", { onClick: o, children: a.label })
|
|
2282
2282
|
] });
|
|
2283
2283
|
}
|
|
2284
|
-
const ji = "_h_1usnu_1", yi = "_g_1usnu_11", bi = "_hr_1usnu_16", wi = "_hl_1usnu_28", Si = "_t_1usnu_40", Ei = "_s_1usnu_60",
|
|
2284
|
+
const ji = "_h_1usnu_1", yi = "_g_1usnu_11", bi = "_hr_1usnu_16", wi = "_hl_1usnu_28", Si = "_t_1usnu_40", Ei = "_s_1usnu_60", Ri = "_u_1usnu_69", Ni = "_o_1usnu_76", Ii = "_l_1usnu_105", Ti = "_hh_1usnu_115", Di = "_c_1usnu_128", Mi = "_loadingB_1usnu_1", Fi = "_m_1usnu_180", Li = "_ul_1usnu_196", $i = "_f_1usnu_226", ee = {
|
|
2285
2285
|
h: ji,
|
|
2286
2286
|
g: yi,
|
|
2287
2287
|
hr: bi,
|
|
2288
2288
|
hl: wi,
|
|
2289
2289
|
t: Si,
|
|
2290
2290
|
s: Ei,
|
|
2291
|
-
u:
|
|
2292
|
-
o:
|
|
2293
|
-
l:
|
|
2294
|
-
hh:
|
|
2291
|
+
u: Ri,
|
|
2292
|
+
o: Ni,
|
|
2293
|
+
l: Ii,
|
|
2294
|
+
hh: Ti,
|
|
2295
2295
|
c: Di,
|
|
2296
2296
|
loadingB: Mi,
|
|
2297
2297
|
m: Fi,
|
|
@@ -2328,7 +2328,7 @@ const Bi = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2328
2328
|
H: on,
|
|
2329
2329
|
M: Ai,
|
|
2330
2330
|
F: dn
|
|
2331
|
-
},
|
|
2331
|
+
}, Gi = (e, t) => {
|
|
2332
2332
|
switch (t.type) {
|
|
2333
2333
|
case "load":
|
|
2334
2334
|
return {
|
|
@@ -2389,14 +2389,14 @@ const Bi = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2389
2389
|
default:
|
|
2390
2390
|
return e;
|
|
2391
2391
|
}
|
|
2392
|
-
},
|
|
2392
|
+
}, Zi = () => ({
|
|
2393
2393
|
load: !0,
|
|
2394
2394
|
list: [],
|
|
2395
2395
|
name: "Файлы",
|
|
2396
2396
|
add: !1,
|
|
2397
2397
|
search: !1,
|
|
2398
2398
|
revers: !0
|
|
2399
|
-
}),
|
|
2399
|
+
}), zi = () => {
|
|
2400
2400
|
let [e, t] = x.useState([]);
|
|
2401
2401
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: e.length !== 0 ? /* @__PURE__ */ n.jsxs("div", { className: "upload view", children: [
|
|
2402
2402
|
/* @__PURE__ */ n.jsxs("div", { className: "--head", children: [
|
|
@@ -2419,7 +2419,7 @@ const Bi = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2419
2419
|
dir: r
|
|
2420
2420
|
}) => {
|
|
2421
2421
|
t = t || "Файлы";
|
|
2422
|
-
const [s, i] = x.useReducer(
|
|
2422
|
+
const [s, i] = x.useReducer(Gi, {}, Zi), o = () => {
|
|
2423
2423
|
Qe.Add(
|
|
2424
2424
|
/* @__PURE__ */ n.jsx(
|
|
2425
2425
|
Ki,
|
|
@@ -2570,16 +2570,16 @@ const Bi = ({ children: e, className: t, title: a }) => /* @__PURE__ */ n.jsxs("
|
|
|
2570
2570
|
] }),
|
|
2571
2571
|
/* @__PURE__ */ n.jsx("div", { className: "f080", children: K.Size(e.size) })
|
|
2572
2572
|
] });
|
|
2573
|
-
},
|
|
2574
|
-
let
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
const
|
|
2573
|
+
}, Rt = { setSetting: tr, getSetting: nr };
|
|
2574
|
+
let G = {};
|
|
2575
|
+
G.list = _r();
|
|
2576
|
+
G.active = null;
|
|
2577
|
+
const Yi = () => {
|
|
2578
2578
|
var s;
|
|
2579
|
-
let [e, t] = x.useState([]), [a, r] = x.useState(
|
|
2579
|
+
let [e, t] = x.useState([]), [a, r] = x.useState(Rt.getSetting("s03"));
|
|
2580
2580
|
return x.useEffect(() => {
|
|
2581
2581
|
(async () => {
|
|
2582
|
-
let i = Object.keys(
|
|
2582
|
+
let i = Object.keys(G.list);
|
|
2583
2583
|
if (i.length !== 0) {
|
|
2584
2584
|
let o = [];
|
|
2585
2585
|
i.forEach((l, _) => {
|
|
@@ -2587,24 +2587,24 @@ const Vi = () => {
|
|
|
2587
2587
|
item: /* @__PURE__ */ n.jsx(
|
|
2588
2588
|
gt,
|
|
2589
2589
|
{
|
|
2590
|
-
data:
|
|
2590
|
+
data: G.list[l]
|
|
2591
2591
|
},
|
|
2592
|
-
|
|
2592
|
+
G.list[l].id
|
|
2593
2593
|
),
|
|
2594
|
-
link:
|
|
2594
|
+
link: G.list[l].link
|
|
2595
2595
|
});
|
|
2596
2596
|
}), t(o);
|
|
2597
2597
|
}
|
|
2598
2598
|
})();
|
|
2599
|
-
}, []),
|
|
2599
|
+
}, []), G.active = (i) => {
|
|
2600
2600
|
var o;
|
|
2601
2601
|
r(i), (o = document.querySelector("app-body")) == null || o.setAttribute("bookmarks", i === 1 ? "bottom" : "");
|
|
2602
|
-
},
|
|
2602
|
+
}, G.set = (i) => {
|
|
2603
2603
|
t([
|
|
2604
2604
|
...e,
|
|
2605
2605
|
{ item: /* @__PURE__ */ n.jsx(gt, { data: i }, i.id), link: i.link }
|
|
2606
2606
|
]);
|
|
2607
|
-
},
|
|
2607
|
+
}, G.del = (i) => {
|
|
2608
2608
|
e.forEach((o, l) => {
|
|
2609
2609
|
o.link === i && e.splice(l, 1);
|
|
2610
2610
|
}), t([...e]);
|
|
@@ -2612,20 +2612,20 @@ const Vi = () => {
|
|
|
2612
2612
|
"bookmarks",
|
|
2613
2613
|
a === 1 && e.length !== 0 ? "bottom" : ""
|
|
2614
2614
|
), a !== 0 ? /* @__PURE__ */ n.jsx(n.Fragment, { children: e.length !== 0 ? /* @__PURE__ */ n.jsx("div", { className: "bookmarks", children: e.map((i) => i.item) }) : "" }) : "";
|
|
2615
|
-
},
|
|
2615
|
+
}, Hi = ({ id: e, type: t, name: a }) => {
|
|
2616
2616
|
let r = t + "-" + e, [s, i] = x.useState(
|
|
2617
|
-
|
|
2617
|
+
G.list[r] !== void 0
|
|
2618
2618
|
);
|
|
2619
2619
|
x.useEffect(() => {
|
|
2620
|
-
i(
|
|
2620
|
+
i(G.list[r] !== void 0);
|
|
2621
2621
|
}, [r]);
|
|
2622
2622
|
let o = () => {
|
|
2623
|
-
|
|
2623
|
+
G.list[r] !== void 0 ? (G.del(r), delete G.list[r], en(G.list), i(!1), Be.Send({ type: "success", text: "Запись удален из закладок" })) : (G.list[r] = { id: e, name: a, type: t, link: r }, G.set(G.list[r]), en(G.list), i(!0), Be.Send({
|
|
2624
2624
|
type: "success",
|
|
2625
2625
|
text: "Запись добавлен в закладки"
|
|
2626
2626
|
}));
|
|
2627
2627
|
};
|
|
2628
|
-
return /* @__PURE__ */ n.jsx(n.Fragment, { children:
|
|
2628
|
+
return /* @__PURE__ */ n.jsx(n.Fragment, { children: Rt.getSetting("s03") !== 0 ? /* @__PURE__ */ n.jsx(
|
|
2629
2629
|
"i",
|
|
2630
2630
|
{
|
|
2631
2631
|
"data-icon": "C018",
|
|
@@ -2635,13 +2635,13 @@ const Vi = () => {
|
|
|
2635
2635
|
) : "" });
|
|
2636
2636
|
}, gt = ({ data: e }) => {
|
|
2637
2637
|
let t = (r) => {
|
|
2638
|
-
r.preventDefault(), delete
|
|
2638
|
+
r.preventDefault(), delete G.list[e.link], G.del(e.link);
|
|
2639
2639
|
}, a = () => {
|
|
2640
|
-
|
|
2640
|
+
Ve.setId(e.id);
|
|
2641
2641
|
};
|
|
2642
2642
|
return /* @__PURE__ */ n.jsx("span", { onContextMenu: t, onClick: a, children: e.name });
|
|
2643
|
-
},
|
|
2644
|
-
|
|
2643
|
+
}, Vi = (e) => {
|
|
2644
|
+
G.active(e);
|
|
2645
2645
|
}, O = {}, vt = {}, y = {};
|
|
2646
2646
|
y.config = { iceServers: [{ url: "stun:stun.l.google.com:19302" }] };
|
|
2647
2647
|
y.constraints = { optional: [{ DtlsSrtpKeyAgreement: !0 }] };
|
|
@@ -2943,22 +2943,22 @@ function no(e, t) {
|
|
|
2943
2943
|
function ao(e, t) {
|
|
2944
2944
|
kt[e] !== void 0 && kt[e](t);
|
|
2945
2945
|
}
|
|
2946
|
-
const
|
|
2946
|
+
const fe = {};
|
|
2947
2947
|
function ro(e, t) {
|
|
2948
2948
|
const [a, r] = x.useState(t);
|
|
2949
2949
|
return x.useEffect(() => {
|
|
2950
|
-
if (
|
|
2951
|
-
return
|
|
2952
|
-
|
|
2950
|
+
if (fe[e])
|
|
2951
|
+
return fe[e].push(r);
|
|
2952
|
+
fe[e] = [r];
|
|
2953
2953
|
}, []), [a];
|
|
2954
2954
|
}
|
|
2955
2955
|
function so(e, t) {
|
|
2956
|
-
if (
|
|
2957
|
-
return
|
|
2958
|
-
|
|
2956
|
+
if (fe[e])
|
|
2957
|
+
return fe[e].push(t);
|
|
2958
|
+
fe[e] = [t];
|
|
2959
2959
|
}
|
|
2960
2960
|
function io(e, t) {
|
|
2961
|
-
|
|
2961
|
+
fe[e] && fe[e].forEach((a) => a(t));
|
|
2962
2962
|
}
|
|
2963
2963
|
const Ee = { setListener: ao, useListener: no, setEmitter: io, useEmitter: ro, subEmitter: so };
|
|
2964
2964
|
function oo() {
|
|
@@ -2967,32 +2967,32 @@ function oo() {
|
|
|
2967
2967
|
t([a]);
|
|
2968
2968
|
}), /* @__PURE__ */ n.jsx(n.Fragment, { children: e.map((a) => a) });
|
|
2969
2969
|
}
|
|
2970
|
-
const lo = ({ children: e, config: t }) => (F.New(t.crypto), t.defaultModule &&
|
|
2970
|
+
const lo = ({ children: e, config: t }) => (F.New(t.crypto), t.defaultModule && Ta(t.defaultModule), Ma(
|
|
2971
2971
|
/* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
2972
|
-
/* @__PURE__ */ n.jsx(
|
|
2972
|
+
/* @__PURE__ */ n.jsx(fi, { config: t.modal }),
|
|
2973
2973
|
/* @__PURE__ */ n.jsx(Pr, {}),
|
|
2974
|
-
/* @__PURE__ */ n.jsx(
|
|
2975
|
-
/* @__PURE__ */ n.jsx(
|
|
2974
|
+
/* @__PURE__ */ n.jsx(Vr, {}),
|
|
2975
|
+
/* @__PURE__ */ n.jsx(zi, {}),
|
|
2976
2976
|
/* @__PURE__ */ n.jsx(to, {}),
|
|
2977
2977
|
/* @__PURE__ */ n.jsx(oo, {}),
|
|
2978
2978
|
/* @__PURE__ */ n.jsx(qi, {}),
|
|
2979
|
-
/* @__PURE__ */ n.jsx(
|
|
2979
|
+
/* @__PURE__ */ n.jsx(Yi, {}),
|
|
2980
2980
|
e
|
|
2981
2981
|
] })
|
|
2982
2982
|
)), co = ({ children: e, ...t }) => /* @__PURE__ */ n.jsx("menu", { children: e }), _o = ({ children: e, ...t }) => /* @__PURE__ */ n.jsxs("header", { children: [
|
|
2983
2983
|
"xz",
|
|
2984
2984
|
e
|
|
2985
|
-
] }), uo = "_payment_1lxfv_1",
|
|
2985
|
+
] }), uo = "_payment_1lxfv_1", mo = {
|
|
2986
2986
|
payment: uo
|
|
2987
2987
|
};
|
|
2988
|
-
function
|
|
2988
|
+
function fo() {
|
|
2989
2989
|
let [e, t] = x.useState({});
|
|
2990
|
-
return !e.active && !e.payment ? "" : /* @__PURE__ */ n.jsx("div", { className:
|
|
2990
|
+
return !e.active && !e.payment ? "" : /* @__PURE__ */ n.jsx("div", { className: mo.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
|
|
2991
2991
|
}
|
|
2992
2992
|
const ql = ({ children: e, ...t }) => {
|
|
2993
2993
|
let a = {};
|
|
2994
2994
|
return a.enCode = (r) => JSON.stringify(r).toString(), a.deCode = (r) => JSON.parse(r), /* @__PURE__ */ n.jsxs("div", { className: "app", children: [
|
|
2995
|
-
/* @__PURE__ */ n.jsx(
|
|
2995
|
+
/* @__PURE__ */ n.jsx(fo, {}),
|
|
2996
2996
|
/* @__PURE__ */ n.jsx(co, {}),
|
|
2997
2997
|
/* @__PURE__ */ n.jsx(_o, {}),
|
|
2998
2998
|
/* @__PURE__ */ n.jsx(lo, { config: { modal: {}, crypto: a } }),
|
|
@@ -3061,16 +3061,16 @@ const po = ({
|
|
|
3061
3061
|
] }) }), Eo = ({ label: e, info: t }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
3062
3062
|
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
3063
3063
|
/* @__PURE__ */ n.jsx("dd", { role: "info", children: t })
|
|
3064
|
-
] }) }),
|
|
3064
|
+
] }) }), Ro = ({ label: e, children: t }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
3065
3065
|
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
3066
3066
|
/* @__PURE__ */ n.jsx("dd", { children: t })
|
|
3067
|
-
] }) }),
|
|
3067
|
+
] }) }), No = ({ label: e, children: t }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
3068
3068
|
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
3069
3069
|
/* @__PURE__ */ n.jsx("dd", { children: t })
|
|
3070
|
-
] }) }),
|
|
3071
|
-
function
|
|
3070
|
+
] }) }), Io = { Accordion: ko, Button: jo, Switch: wo, Info: Eo, Select: So, Component: Ro, Node: No };
|
|
3071
|
+
function Rn({ list: e, onClick: t, active: a, size: r, view: s }) {
|
|
3072
3072
|
return /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [r, s].join(" "), children: e.map((i) => /* @__PURE__ */ n.jsx(
|
|
3073
|
-
|
|
3073
|
+
To,
|
|
3074
3074
|
{
|
|
3075
3075
|
onClick: t,
|
|
3076
3076
|
active: a,
|
|
@@ -3080,9 +3080,9 @@ function Nn({ list: e, onClick: t, active: a, size: r, view: s }) {
|
|
|
3080
3080
|
i.link
|
|
3081
3081
|
)) }) });
|
|
3082
3082
|
}
|
|
3083
|
-
const
|
|
3084
|
-
|
|
3085
|
-
const Jl = { Section: po, Main: Co, Item:
|
|
3083
|
+
const To = ({ onClick: e, label: t, link: a, active: r }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(r === a), onClick: () => e(a), children: t });
|
|
3084
|
+
Rn.defaultProps = { size: "M", view: "H" };
|
|
3085
|
+
const Jl = { Section: po, Main: Co, Item: Io, Tabs: Rn }, Xl = { Icon: Hi, Item: gt, Active: Vi }, Ql = { Send: Jr, Line: En };
|
|
3086
3086
|
function Do() {
|
|
3087
3087
|
return /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ n.jsx(
|
|
3088
3088
|
"path",
|
|
@@ -3169,26 +3169,26 @@ function Oo(e, t, a) {
|
|
|
3169
3169
|
function Ao(e) {
|
|
3170
3170
|
et.count(e);
|
|
3171
3171
|
}
|
|
3172
|
-
const tc = { Init: $o, useValue: Bo, Set: Po, Run: Oo, Count: Ao }, qe = {},
|
|
3173
|
-
function
|
|
3172
|
+
const tc = { Init: $o, useValue: Bo, Set: Po, Run: Oo, Count: Ao }, qe = {}, Nn = {};
|
|
3173
|
+
function Go(e) {
|
|
3174
3174
|
const [t, a] = x.useState({}), r = async (s) => {
|
|
3175
3175
|
a(
|
|
3176
3176
|
Object.keys(qe).reduce((i, o) => (i ? i[o] = qe[o].all : i = {}, i), {})
|
|
3177
3177
|
);
|
|
3178
3178
|
};
|
|
3179
3179
|
return x.useEffect(() => {
|
|
3180
|
-
e.forEach((s) => qe[s] = { all: 0 }),
|
|
3180
|
+
e.forEach((s) => qe[s] = { all: 0 }), Nn.menu = r, r();
|
|
3181
3181
|
}, [e]), t;
|
|
3182
3182
|
}
|
|
3183
|
-
function
|
|
3183
|
+
function Zo(e, t) {
|
|
3184
3184
|
switch (typeof t) {
|
|
3185
3185
|
case "number":
|
|
3186
|
-
qe[e].all += t,
|
|
3186
|
+
qe[e].all += t, Nn.menu();
|
|
3187
3187
|
break;
|
|
3188
3188
|
}
|
|
3189
3189
|
}
|
|
3190
|
-
const nc = { useMenu:
|
|
3191
|
-
class
|
|
3190
|
+
const nc = { useMenu: Go, setUpdate: Zo };
|
|
3191
|
+
class zo {
|
|
3192
3192
|
constructor(t = "el", a = "db") {
|
|
3193
3193
|
_t(this, "storeName");
|
|
3194
3194
|
_t(this, "_dbp");
|
|
@@ -3209,9 +3209,9 @@ class Go {
|
|
|
3209
3209
|
}
|
|
3210
3210
|
}
|
|
3211
3211
|
let ut, W = {};
|
|
3212
|
-
const
|
|
3212
|
+
const Re = () => (ut || (ut = new zo()), ut), pe = (e, t, a = Re()) => a._withIDBStore("readwrite", (r) => {
|
|
3213
3213
|
W[e] = t, r.put(F.enCode(t), e);
|
|
3214
|
-
}), de = (e, t =
|
|
3214
|
+
}), de = (e, t = Re()) => W[e] === void 0 ? new Promise((a, r) => {
|
|
3215
3215
|
let s;
|
|
3216
3216
|
t._withIDBStore("readonly", (i) => {
|
|
3217
3217
|
s = i.get(e);
|
|
@@ -3222,11 +3222,11 @@ const Ne = () => (ut || (ut = new Go()), ut), pe = (e, t, a = Ne()) => a._withID
|
|
|
3222
3222
|
} else
|
|
3223
3223
|
a({});
|
|
3224
3224
|
});
|
|
3225
|
-
}) : W[e], Wo = (e, t =
|
|
3225
|
+
}) : W[e], Wo = (e, t = Re()) => t._withIDBStore("readwrite", (a) => {
|
|
3226
3226
|
a.delete(e);
|
|
3227
|
-
}), jt = (e =
|
|
3227
|
+
}), jt = (e = Re()) => e._withIDBStore("readwrite", (t) => {
|
|
3228
3228
|
t.clear();
|
|
3229
|
-
}), Ko = (e =
|
|
3229
|
+
}), Ko = (e = Re()) => {
|
|
3230
3230
|
const t = [];
|
|
3231
3231
|
return e._withIDBStore("readonly", (a) => {
|
|
3232
3232
|
(a.openKeyCursor || a.openCursor).call(a).onsuccess = function() {
|
|
@@ -3234,7 +3234,7 @@ const Ne = () => (ut || (ut = new Go()), ut), pe = (e, t, a = Ne()) => a._withID
|
|
|
3234
3234
|
};
|
|
3235
3235
|
}).then(() => t);
|
|
3236
3236
|
}, Uo = (e, t, a = [], r = {}) => {
|
|
3237
|
-
let s = a.length !== 0, i = [], o = r.sort, l = Object.keys(r).length !== 0, _ = Object.keys(r), d = Object.keys(e), u = [],
|
|
3237
|
+
let s = a.length !== 0, i = [], o = r.sort, l = Object.keys(r).length !== 0, _ = Object.keys(r), d = Object.keys(e), u = [], m = (h) => {
|
|
3238
3238
|
let C = "";
|
|
3239
3239
|
if (a.forEach((v) => {
|
|
3240
3240
|
C += t[h][v];
|
|
@@ -3248,14 +3248,14 @@ const Ne = () => (ut || (ut = new Go()), ut), pe = (e, t, a = Ne()) => a._withID
|
|
|
3248
3248
|
i.push({ id: h, text: C, ...v });
|
|
3249
3249
|
} else
|
|
3250
3250
|
i.push({ id: h, text: C });
|
|
3251
|
-
},
|
|
3251
|
+
}, f = (h) => {
|
|
3252
3252
|
};
|
|
3253
3253
|
return d.forEach((h) => {
|
|
3254
3254
|
u.push(t[h]);
|
|
3255
3255
|
}), u.forEach((h) => {
|
|
3256
|
-
h === void 0 ? (jt(), location.reload()) : (s &&
|
|
3256
|
+
h === void 0 ? (jt(), location.reload()) : (s && m(h.id), l && f(h.id));
|
|
3257
3257
|
}), { list: u, search: i, filter: r };
|
|
3258
|
-
},
|
|
3258
|
+
}, Yo = (e, t, a, r = Re()) => {
|
|
3259
3259
|
if (W[e] === void 0)
|
|
3260
3260
|
return new Promise((s, i) => {
|
|
3261
3261
|
let o;
|
|
@@ -3276,10 +3276,10 @@ const Ne = () => (ut || (ut = new Go()), ut), pe = (e, t, a = Ne()) => a._withID
|
|
|
3276
3276
|
return W[e][t.id] = { ...W[e][t.id], ...t.data }, a !== void 0 && W[a] !== void 0 ? W[a][t.id] !== void 0 && (W[a][t.id] = t.data.eDate) : W[a] = [], delete W[e][t.id].$_item, delete W[e][t.id].$_send, r._withIDBStore("readwrite", (s) => {
|
|
3277
3277
|
s.put(F.enCode(W[e]), e), a !== void 0 && s.put(F.enCode(W[a]), a);
|
|
3278
3278
|
});
|
|
3279
|
-
},
|
|
3279
|
+
}, Ho = async (e, t, a, r) => {
|
|
3280
3280
|
let s, i;
|
|
3281
3281
|
i = await de(a), i[e.id] = e, await pe(a, i), s !== null && (s = await de(t), s[e.id] = e.eDate, await pe(t, s)), r !== void 0 && r({ type: "load", page: s, base: i });
|
|
3282
|
-
},
|
|
3282
|
+
}, Vo = async (e, t, a, r) => {
|
|
3283
3283
|
let s = await de(t), i = await de(a);
|
|
3284
3284
|
for (let o in e)
|
|
3285
3285
|
i[o] = e[o], s[o] = e[o].eDate;
|
|
@@ -3303,14 +3303,14 @@ const Ne = () => (ut || (ut = new Go()), ut), pe = (e, t, a = Ne()) => a._withID
|
|
|
3303
3303
|
id: Qo,
|
|
3304
3304
|
get: de,
|
|
3305
3305
|
set: pe,
|
|
3306
|
-
add:
|
|
3306
|
+
add: Ho,
|
|
3307
3307
|
del: Wo,
|
|
3308
|
-
upd:
|
|
3308
|
+
upd: Yo,
|
|
3309
3309
|
key: Ko,
|
|
3310
3310
|
load: el,
|
|
3311
3311
|
split: Uo,
|
|
3312
3312
|
clear: jt,
|
|
3313
|
-
updAll:
|
|
3313
|
+
updAll: Vo,
|
|
3314
3314
|
delAll: qo,
|
|
3315
3315
|
delList: Jo,
|
|
3316
3316
|
addList: Xo
|
|
@@ -3330,7 +3330,7 @@ const Ne = () => (ut || (ut = new Go()), ut), pe = (e, t, a = Ne()) => a._withID
|
|
|
3330
3330
|
loadingB: al,
|
|
3331
3331
|
ul: rl
|
|
3332
3332
|
};
|
|
3333
|
-
function
|
|
3333
|
+
function In({ children: e }) {
|
|
3334
3334
|
return /* @__PURE__ */ n.jsx("ul", { className: ee.ul, children: e });
|
|
3335
3335
|
}
|
|
3336
3336
|
function il(e, t) {
|
|
@@ -3392,7 +3392,7 @@ function ol({
|
|
|
3392
3392
|
className: [sl.s, a].join(" "),
|
|
3393
3393
|
ref: s,
|
|
3394
3394
|
onScroll: l,
|
|
3395
|
-
children: /* @__PURE__ */ n.jsx(
|
|
3395
|
+
children: /* @__PURE__ */ n.jsx(In, { "el-empty": "Данные не найдены", children: i.load && i.list !== void 0 ? i.list.map((_) => /* @__PURE__ */ n.jsx(r.item, { data: _ }, _.id)) : /* @__PURE__ */ n.jsxs("div", { "data-load": "load", children: [
|
|
3396
3396
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
3397
3397
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
3398
3398
|
/* @__PURE__ */ n.jsx("i", {})
|
|
@@ -3400,7 +3400,7 @@ function ol({
|
|
|
3400
3400
|
}
|
|
3401
3401
|
);
|
|
3402
3402
|
}
|
|
3403
|
-
const sc = { Widget: Wi },
|
|
3403
|
+
const sc = { Widget: Wi }, Tn = ({ onClick: e, active: t }) => (t = !!t, /* @__PURE__ */ n.jsx(
|
|
3404
3404
|
"div",
|
|
3405
3405
|
{
|
|
3406
3406
|
role: "switch",
|
|
@@ -3436,8 +3436,8 @@ function Pe({
|
|
|
3436
3436
|
active: _ = !0,
|
|
3437
3437
|
after: d = "",
|
|
3438
3438
|
show: u = !0,
|
|
3439
|
-
view:
|
|
3440
|
-
onBlur:
|
|
3439
|
+
view: m,
|
|
3440
|
+
onBlur: f,
|
|
3441
3441
|
onSave: h,
|
|
3442
3442
|
className: C = ""
|
|
3443
3443
|
}) {
|
|
@@ -3446,12 +3446,12 @@ function Pe({
|
|
|
3446
3446
|
}, j = (E) => {
|
|
3447
3447
|
E.key === "Enter" && E.preventDefault();
|
|
3448
3448
|
}, S = (E) => {
|
|
3449
|
-
},
|
|
3449
|
+
}, T = (E) => {
|
|
3450
3450
|
E.preventDefault(), navigator.clipboard.writeText(E.target.textContent).then(
|
|
3451
3451
|
function() {
|
|
3452
3452
|
Be.Copy("Данные в буфер обмене");
|
|
3453
3453
|
},
|
|
3454
|
-
function(
|
|
3454
|
+
function(N) {
|
|
3455
3455
|
}
|
|
3456
3456
|
);
|
|
3457
3457
|
};
|
|
@@ -3461,7 +3461,7 @@ function Pe({
|
|
|
3461
3461
|
D.field = "input", C && (D.className = C);
|
|
3462
3462
|
const w = {};
|
|
3463
3463
|
r && (w.placeholder = r), l && _ && (w.edit = "");
|
|
3464
|
-
const
|
|
3464
|
+
const R = (E) => {
|
|
3465
3465
|
ue.Blur(E), h && h({ value: E.target.textContent, name: a });
|
|
3466
3466
|
};
|
|
3467
3467
|
return /* @__PURE__ */ n.jsxs("dl", { ...D, children: [
|
|
@@ -3471,9 +3471,9 @@ function Pe({
|
|
|
3471
3471
|
{
|
|
3472
3472
|
onPaste: S,
|
|
3473
3473
|
onInput: g,
|
|
3474
|
-
onBlur:
|
|
3474
|
+
onBlur: R,
|
|
3475
3475
|
onKeyDown: j,
|
|
3476
|
-
onContextMenu:
|
|
3476
|
+
onContextMenu: T,
|
|
3477
3477
|
contentEditable: l && _ ? "plaintext-only" : "false",
|
|
3478
3478
|
suppressContentEditableWarning: !0,
|
|
3479
3479
|
...w,
|
|
@@ -3521,9 +3521,9 @@ function Mn({
|
|
|
3521
3521
|
d.current.value.length > 0 ? d.current.send && (a(!0), d.current.send = !1, d.current.timerId = setTimeout(() => {
|
|
3522
3522
|
d.current.send = !0;
|
|
3523
3523
|
}, 3e3)) : a(!1);
|
|
3524
|
-
}, f = (j) => {
|
|
3525
|
-
d.current.value = j.target.textContent, u();
|
|
3526
3524
|
}, m = (j) => {
|
|
3525
|
+
d.current.value = j.target.textContent, u();
|
|
3526
|
+
}, f = (j) => {
|
|
3527
3527
|
j.keyCode === 16 && (d.current.shift = !0), j.keyCode === 13 && !d.current.shift && (j.preventDefault(), d.current.value.length !== 0 && (j.target.textContent = "", r && r(d.current.value), t && t(d.current.value), d.current.value = "", a(!1)));
|
|
3528
3528
|
}, h = (j) => {
|
|
3529
3529
|
j.keyCode === 16 && (d.current.shift = !1);
|
|
@@ -3541,9 +3541,9 @@ function Mn({
|
|
|
3541
3541
|
"dd",
|
|
3542
3542
|
{
|
|
3543
3543
|
onPaste: C,
|
|
3544
|
-
onInput:
|
|
3544
|
+
onInput: m,
|
|
3545
3545
|
onKeyUp: h,
|
|
3546
|
-
onKeyDown:
|
|
3546
|
+
onKeyDown: f,
|
|
3547
3547
|
onBlur: v,
|
|
3548
3548
|
...g,
|
|
3549
3549
|
suppressContentEditableWarning: !0,
|
|
@@ -3597,10 +3597,10 @@ function Ln({ value: e, onValue: t, placeholder: a = "", name: r }) {
|
|
|
3597
3597
|
const h = i.current, C = h.getContext("2d");
|
|
3598
3598
|
C.clearRect(0, 0, h.width, h.height), C.font = "30px brush script mt", C.fillStyle = "#eee", C.textAlign = "center", C.fillText(l, 50, 27), o.current.textContent = "";
|
|
3599
3599
|
}, [l]);
|
|
3600
|
-
const f = {};
|
|
3601
|
-
f.field = "captcha";
|
|
3602
3600
|
const m = {};
|
|
3603
|
-
|
|
3601
|
+
m.field = "captcha";
|
|
3602
|
+
const f = {};
|
|
3603
|
+
return a && (f.placeholder = a), /* @__PURE__ */ n.jsxs("dl", { ...m, children: [
|
|
3604
3604
|
/* @__PURE__ */ n.jsx(
|
|
3605
3605
|
"dd",
|
|
3606
3606
|
{
|
|
@@ -3611,7 +3611,7 @@ function Ln({ value: e, onValue: t, placeholder: a = "", name: r }) {
|
|
|
3611
3611
|
onKeyDown: _,
|
|
3612
3612
|
contentEditable: "plaintext-only",
|
|
3613
3613
|
suppressContentEditableWarning: !0,
|
|
3614
|
-
...
|
|
3614
|
+
...f
|
|
3615
3615
|
}
|
|
3616
3616
|
),
|
|
3617
3617
|
/* @__PURE__ */ n.jsx("canvas", { ref: i, width: "100", height: "35" })
|
|
@@ -3628,8 +3628,8 @@ function $n(e) {
|
|
|
3628
3628
|
code: ""
|
|
3629
3629
|
}, s = (d) => {
|
|
3630
3630
|
d.preventDefault(), d.target.textContent = d.target.textContent.slice(-1).replace(/[^+\d]/g, "");
|
|
3631
|
-
let u = window.getSelection(),
|
|
3632
|
-
if (r[d.target.id] = d.target.textContent, r.code = r.n1 + "" + r.n2 + r.n3 + r.n4 + r.n5 + r.n6, u.collapse(d.target.firstChild, 1),
|
|
3631
|
+
let u = window.getSelection(), m = d.target.textContent.length;
|
|
3632
|
+
if (r[d.target.id] = d.target.textContent, r.code = r.n1 + "" + r.n2 + r.n3 + r.n4 + r.n5 + r.n6, u.collapse(d.target.firstChild, 1), m === 0) {
|
|
3633
3633
|
d.target.blur(), d.target.focus();
|
|
3634
3634
|
return;
|
|
3635
3635
|
}
|
|
@@ -3656,8 +3656,8 @@ function $n(e) {
|
|
|
3656
3656
|
code: ""
|
|
3657
3657
|
};
|
|
3658
3658
|
for (let u = 1; u <= 6; u++) {
|
|
3659
|
-
let
|
|
3660
|
-
|
|
3659
|
+
let m = document.getElementById("n" + u);
|
|
3660
|
+
m && (m.textContent = "");
|
|
3661
3661
|
}
|
|
3662
3662
|
}
|
|
3663
3663
|
}, l = (d) => {
|
|
@@ -3784,7 +3784,7 @@ const ll = "_o_1kqkq_1", cl = "_c_1kqkq_11", Se = {
|
|
|
3784
3784
|
o: ll,
|
|
3785
3785
|
c: cl
|
|
3786
3786
|
};
|
|
3787
|
-
function
|
|
3787
|
+
function Nt(e) {
|
|
3788
3788
|
let t = () => e.title ? /* @__PURE__ */ n.jsx("dt", { children: e.title }) : "", a = () => e.error ? /* @__PURE__ */ n.jsx("em", { children: e.error }) : "", r = e.edit !== void 0 ? e.edit : !0, s = e.active !== void 0 ? e.active : !0, i = e.placeholder !== void 0 ? e.placeholder : "", [o, l] = x.useState(
|
|
3789
3789
|
e.value === void 0 ? /* @__PURE__ */ new Date() : e.value
|
|
3790
3790
|
), _ = !r && s;
|
|
@@ -3808,10 +3808,10 @@ function Rt(e) {
|
|
|
3808
3808
|
)
|
|
3809
3809
|
);
|
|
3810
3810
|
};
|
|
3811
|
-
const f = {};
|
|
3812
|
-
f.field = "input";
|
|
3813
3811
|
const m = {};
|
|
3814
|
-
|
|
3812
|
+
m.field = "input";
|
|
3813
|
+
const f = {};
|
|
3814
|
+
return i && (f.placeholder = i), _ ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsx(n.Fragment, { children: e.view === "icon" ? /* @__PURE__ */ n.jsx(
|
|
3815
3815
|
"i",
|
|
3816
3816
|
{
|
|
3817
3817
|
"data-icon": "F043",
|
|
@@ -3822,14 +3822,14 @@ function Rt(e) {
|
|
|
3822
3822
|
) : /* @__PURE__ */ n.jsxs(
|
|
3823
3823
|
"dl",
|
|
3824
3824
|
{
|
|
3825
|
-
...
|
|
3825
|
+
...m,
|
|
3826
3826
|
children: [
|
|
3827
3827
|
t(),
|
|
3828
3828
|
/* @__PURE__ */ n.jsx(
|
|
3829
3829
|
"dd",
|
|
3830
3830
|
{
|
|
3831
3831
|
onClick: u,
|
|
3832
|
-
...
|
|
3832
|
+
...f,
|
|
3833
3833
|
"data-edit": (r && s) + "",
|
|
3834
3834
|
children: K.Date(o, "dd.mm.yyyy")
|
|
3835
3835
|
}
|
|
@@ -3849,13 +3849,13 @@ const dl = (e) => {
|
|
|
3849
3849
|
d: parseInt(s.getDate()),
|
|
3850
3850
|
m: parseInt(s.getMonth()) + 1
|
|
3851
3851
|
}, [l, _] = x.useState({ y: o.y, m: o.m }), d = (w) => {
|
|
3852
|
-
let
|
|
3853
|
-
return
|
|
3854
|
-
}, u = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"],
|
|
3855
|
-
for (let w = 0; w < d(
|
|
3852
|
+
let R = w.getDay();
|
|
3853
|
+
return R === 0 && (R = 7), R - 1;
|
|
3854
|
+
}, u = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], m = l.m - 1, f = new Date(l.y, m), h = [];
|
|
3855
|
+
for (let w = 0; w < d(f); w++)
|
|
3856
3856
|
h.push(0);
|
|
3857
|
-
for (;
|
|
3858
|
-
h.push(
|
|
3857
|
+
for (; f.getMonth() === m; )
|
|
3858
|
+
h.push(f.getDate()), f.setDate(f.getDate() + 1);
|
|
3859
3859
|
let C = () => {
|
|
3860
3860
|
a(!1);
|
|
3861
3861
|
}, v = () => {
|
|
@@ -3866,9 +3866,9 @@ const dl = (e) => {
|
|
|
3866
3866
|
e.onValue(
|
|
3867
3867
|
l.y + "-" + K.Number(2, l.m) + "-" + K.Number(2, w)
|
|
3868
3868
|
), C();
|
|
3869
|
-
}, S = (w,
|
|
3870
|
-
|
|
3871
|
-
},
|
|
3869
|
+
}, S = (w, R) => {
|
|
3870
|
+
R = w > 12 ? R + 1 : w < 1 ? R - 1 : R, w = w > 12 ? 1 : w < 1 ? 12 : w, _({ y: R, m: w });
|
|
3871
|
+
}, T = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, D = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
|
|
3872
3872
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: t ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
3873
3873
|
/* @__PURE__ */ n.jsx(
|
|
3874
3874
|
"div",
|
|
@@ -3882,7 +3882,7 @@ const dl = (e) => {
|
|
|
3882
3882
|
"div",
|
|
3883
3883
|
{
|
|
3884
3884
|
className: Se.c,
|
|
3885
|
-
style: { top:
|
|
3885
|
+
style: { top: T + "px", left: D + "px" },
|
|
3886
3886
|
children: [
|
|
3887
3887
|
/* @__PURE__ */ n.jsxs("s", { children: [
|
|
3888
3888
|
/* @__PURE__ */ n.jsx("i", { "data-icon": "F021", onClick: () => g() }),
|
|
@@ -3894,22 +3894,22 @@ const dl = (e) => {
|
|
|
3894
3894
|
/* @__PURE__ */ n.jsx("i", { "data-icon": "F022", onClick: () => v() })
|
|
3895
3895
|
] }),
|
|
3896
3896
|
/* @__PURE__ */ n.jsxs("div", { children: [
|
|
3897
|
-
u.map((w,
|
|
3898
|
-
h.map((w,
|
|
3897
|
+
u.map((w, R) => /* @__PURE__ */ n.jsx("p", { children: w }, "v" + R)),
|
|
3898
|
+
h.map((w, R) => /* @__PURE__ */ n.jsx("span", { children: w !== 0 ? /* @__PURE__ */ n.jsx(
|
|
3899
3899
|
"b",
|
|
3900
3900
|
{
|
|
3901
3901
|
color: i.y === l.y && i.m === l.m && i.d === w ? "_FFEB3B" : "",
|
|
3902
3902
|
onClick: () => j(w),
|
|
3903
3903
|
children: w
|
|
3904
3904
|
}
|
|
3905
|
-
) : /* @__PURE__ */ n.jsx("p", {}) },
|
|
3905
|
+
) : /* @__PURE__ */ n.jsx("p", {}) }, R))
|
|
3906
3906
|
] })
|
|
3907
3907
|
]
|
|
3908
3908
|
}
|
|
3909
3909
|
)
|
|
3910
3910
|
] }) : "" });
|
|
3911
3911
|
};
|
|
3912
|
-
function
|
|
3912
|
+
function It({
|
|
3913
3913
|
value: e,
|
|
3914
3914
|
onValue: t,
|
|
3915
3915
|
name: a,
|
|
@@ -3921,17 +3921,17 @@ function Tt({
|
|
|
3921
3921
|
show: _ = !0,
|
|
3922
3922
|
active: d = !0,
|
|
3923
3923
|
after: u = "",
|
|
3924
|
-
view:
|
|
3925
|
-
modal:
|
|
3924
|
+
view: m,
|
|
3925
|
+
modal: f,
|
|
3926
3926
|
module: h,
|
|
3927
3927
|
options: C,
|
|
3928
3928
|
className: v
|
|
3929
3929
|
}) {
|
|
3930
3930
|
let [g, j] = x.useState(e), S = (w) => {
|
|
3931
|
-
if (!(l && d) || !
|
|
3931
|
+
if (!(l && d) || !f)
|
|
3932
3932
|
return;
|
|
3933
|
-
let
|
|
3934
|
-
Qe.Open(
|
|
3933
|
+
let R = f.split(".");
|
|
3934
|
+
Qe.Open(R[0], R[1], {
|
|
3935
3935
|
callback: (E) => {
|
|
3936
3936
|
t && t({ value: E, name: a }), j(E);
|
|
3937
3937
|
},
|
|
@@ -3941,10 +3941,10 @@ function Tt({
|
|
|
3941
3941
|
value: e
|
|
3942
3942
|
});
|
|
3943
3943
|
};
|
|
3944
|
-
const
|
|
3945
|
-
|
|
3944
|
+
const T = {};
|
|
3945
|
+
T.field = "input", v && (T.className = v);
|
|
3946
3946
|
const D = {};
|
|
3947
|
-
return r && (D.placeholder = r), o ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...
|
|
3947
|
+
return r && (D.placeholder = r), o ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...T, children: [
|
|
3948
3948
|
s && /* @__PURE__ */ n.jsx("dt", { children: s }),
|
|
3949
3949
|
/* @__PURE__ */ n.jsx(
|
|
3950
3950
|
"dd",
|
|
@@ -3959,28 +3959,28 @@ function Tt({
|
|
|
3959
3959
|
i && /* @__PURE__ */ n.jsx("em", { children: i })
|
|
3960
3960
|
] });
|
|
3961
3961
|
}
|
|
3962
|
-
function
|
|
3963
|
-
let t = e.value, a = (
|
|
3962
|
+
function Tt(e) {
|
|
3963
|
+
let t = e.value, a = (m) => e.type === "multi" ? m.replace(/[^+\d.+-]/g, "") : m.replace(/[^+\d.]/g, ""), r = (m, f) => {
|
|
3964
3964
|
let h = document.createRange(), C = window.getSelection();
|
|
3965
|
-
h.setStart(
|
|
3966
|
-
}, s = (
|
|
3965
|
+
h.setStart(f.childNodes[0], m), h.collapse(!0), C.removeAllRanges(), C.addRange(h), f.focus();
|
|
3966
|
+
}, s = (m) => {
|
|
3967
3967
|
e.onValue({
|
|
3968
|
-
value: a(
|
|
3968
|
+
value: a(m.target.textContent),
|
|
3969
3969
|
name: e.name
|
|
3970
|
-
}),
|
|
3971
|
-
}, i = (
|
|
3972
|
-
|
|
3973
|
-
value: a(
|
|
3970
|
+
}), m.target.textContent = a(m.target.textContent), m.target.textContent.length > 0 && r(m.target.textContent.length, m.target);
|
|
3971
|
+
}, i = (m) => {
|
|
3972
|
+
m.target.textContent === "" && (m.target.textContent = 0), e.onValue({
|
|
3973
|
+
value: a(m.target.textContent),
|
|
3974
3974
|
name: e.name
|
|
3975
|
-
}),
|
|
3976
|
-
}, o = (
|
|
3977
|
-
|
|
3978
|
-
}, l = (
|
|
3979
|
-
|
|
3980
|
-
}, _ = (
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
}).catch((
|
|
3975
|
+
}), m.target.textContent = K.Money(m.target.textContent);
|
|
3976
|
+
}, o = (m) => {
|
|
3977
|
+
m.target.textContent = a(m.target.textContent);
|
|
3978
|
+
}, l = (m) => {
|
|
3979
|
+
m.key === "Enter" && m.preventDefault();
|
|
3980
|
+
}, _ = (m) => {
|
|
3981
|
+
m.preventDefault(), navigator.clipboard.readText().then((f) => {
|
|
3982
|
+
f = f.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, f);
|
|
3983
|
+
}).catch((f) => {
|
|
3984
3984
|
});
|
|
3985
3985
|
}, d = () => e.title ? /* @__PURE__ */ n.jsx("dt", { children: e.title }) : "", u = () => e.error ? /* @__PURE__ */ n.jsx("em", { children: e.error }) : "";
|
|
3986
3986
|
return /* @__PURE__ */ n.jsxs(
|
|
@@ -4020,12 +4020,12 @@ function Pn({
|
|
|
4020
4020
|
placeholder: _ = "",
|
|
4021
4021
|
after: d
|
|
4022
4022
|
}) {
|
|
4023
|
-
let [u,
|
|
4023
|
+
let [u, m] = x.useState(e);
|
|
4024
4024
|
x.useEffect(() => {
|
|
4025
|
-
|
|
4025
|
+
m(e);
|
|
4026
4026
|
}, [e]);
|
|
4027
|
-
let
|
|
4028
|
-
|
|
4027
|
+
let f = (v) => {
|
|
4028
|
+
m(v), t && t({ value: v, name: a });
|
|
4029
4029
|
}, h = (v) => {
|
|
4030
4030
|
if (!i || !o)
|
|
4031
4031
|
return;
|
|
@@ -4036,7 +4036,7 @@ function Pn({
|
|
|
4036
4036
|
_l,
|
|
4037
4037
|
{
|
|
4038
4038
|
position: { x: j, y: S },
|
|
4039
|
-
onValue:
|
|
4039
|
+
onValue: f,
|
|
4040
4040
|
date: u
|
|
4041
4041
|
},
|
|
4042
4042
|
(/* @__PURE__ */ new Date()).getTime()
|
|
@@ -4079,9 +4079,9 @@ const _l = (e) => {
|
|
|
4079
4079
|
a(!1);
|
|
4080
4080
|
}, u = () => {
|
|
4081
4081
|
_(l + 1);
|
|
4082
|
-
},
|
|
4082
|
+
}, m = () => {
|
|
4083
4083
|
_(l - 1);
|
|
4084
|
-
},
|
|
4084
|
+
}, f = (j) => {
|
|
4085
4085
|
e.onValue(l + "-" + K.Number(2, j)), d();
|
|
4086
4086
|
}, h = (j) => i.y === o.y && i.m === j ? "_FFEB3B" : "", C = Array(12).fill("").map((j, S) => S + 1), v = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, g = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
|
|
4087
4087
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: t ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
@@ -4100,7 +4100,7 @@ const _l = (e) => {
|
|
|
4100
4100
|
style: { top: v + "px", left: g + "px" },
|
|
4101
4101
|
children: [
|
|
4102
4102
|
/* @__PURE__ */ n.jsxs("s", { children: [
|
|
4103
|
-
/* @__PURE__ */ n.jsx("i", { "data-icon": "F021", onClick: () =>
|
|
4103
|
+
/* @__PURE__ */ n.jsx("i", { "data-icon": "F021", onClick: () => m() }),
|
|
4104
4104
|
/* @__PURE__ */ n.jsx("h2", { children: l }),
|
|
4105
4105
|
/* @__PURE__ */ n.jsx("i", { "data-icon": "F022", onClick: () => u() })
|
|
4106
4106
|
] }),
|
|
@@ -4111,7 +4111,7 @@ const _l = (e) => {
|
|
|
4111
4111
|
"span",
|
|
4112
4112
|
{
|
|
4113
4113
|
onClick: () => {
|
|
4114
|
-
|
|
4114
|
+
f(j);
|
|
4115
4115
|
},
|
|
4116
4116
|
color: h(j),
|
|
4117
4117
|
children: /* @__PURE__ */ n.jsx("b", { children: K.Month(j).abc })
|
|
@@ -4130,12 +4130,12 @@ function On(e) {
|
|
|
4130
4130
|
r = i ? !0 : r;
|
|
4131
4131
|
let d = e.placeholder !== void 0 ? e.placeholder : "", u = (g) => {
|
|
4132
4132
|
e.onValue && e.onValue({ value: g.target.innerText, name: e.name });
|
|
4133
|
-
},
|
|
4133
|
+
}, m = (g) => {
|
|
4134
4134
|
g.preventDefault(), navigator.clipboard.readText().then((j) => {
|
|
4135
4135
|
window.document.execCommand("insertText", !1, j);
|
|
4136
4136
|
}).catch((j) => {
|
|
4137
4137
|
});
|
|
4138
|
-
},
|
|
4138
|
+
}, f = (g) => {
|
|
4139
4139
|
i || s(!r);
|
|
4140
4140
|
};
|
|
4141
4141
|
const h = (g) => {
|
|
@@ -4148,12 +4148,12 @@ function On(e) {
|
|
|
4148
4148
|
/* @__PURE__ */ n.jsx(
|
|
4149
4149
|
"dd",
|
|
4150
4150
|
{
|
|
4151
|
-
onPaste:
|
|
4151
|
+
onPaste: m,
|
|
4152
4152
|
onInput: u,
|
|
4153
4153
|
onBlur: h,
|
|
4154
4154
|
contentEditable: i && o ? "plaintext-only" : "false",
|
|
4155
4155
|
...v,
|
|
4156
|
-
onDoubleClick:
|
|
4156
|
+
onDoubleClick: f,
|
|
4157
4157
|
suppressContentEditableWarning: !0,
|
|
4158
4158
|
children: e.value
|
|
4159
4159
|
}
|
|
@@ -4173,25 +4173,25 @@ function Dt({
|
|
|
4173
4173
|
value: _,
|
|
4174
4174
|
placeholder: d,
|
|
4175
4175
|
className: u,
|
|
4176
|
-
name:
|
|
4177
|
-
after:
|
|
4176
|
+
name: m,
|
|
4177
|
+
after: f,
|
|
4178
4178
|
view: h
|
|
4179
4179
|
}) {
|
|
4180
4180
|
let C = () => s ? /* @__PURE__ */ n.jsx("dt", { children: s }) : "", v = () => i ? /* @__PURE__ */ n.jsx("em", { children: i }) : "";
|
|
4181
4181
|
r = r !== void 0 ? r : !0, t = t !== void 0 ? t : !0, l = !!(l && (_ === "" || _ === void 0)) && !(r && t), d = d !== void 0 ? d : "", a = a !== void 0 ? a : 99;
|
|
4182
|
-
let j = !1, S = (
|
|
4183
|
-
e && e({ value:
|
|
4184
|
-
},
|
|
4185
|
-
if (!(j &&
|
|
4186
|
-
if (
|
|
4182
|
+
let j = !1, S = (N) => {
|
|
4183
|
+
e && e({ value: N.target.textContent, name: m });
|
|
4184
|
+
}, T = (N) => {
|
|
4185
|
+
if (!(j && N.which === 86)) {
|
|
4186
|
+
if (N.which === 17 || N.which === 91)
|
|
4187
4187
|
return j = !0;
|
|
4188
|
-
|
|
4188
|
+
N.key !== "Backspace" && (N.target.textContent.length === a && N.preventDefault(), N.key === "Enter" && N.preventDefault(), isNaN(parseInt(String.fromCharCode(N.which))) && N.preventDefault());
|
|
4189
4189
|
}
|
|
4190
|
-
}, D = (
|
|
4191
|
-
if (
|
|
4190
|
+
}, D = (N) => {
|
|
4191
|
+
if (N.which === 17 || N.which === 91)
|
|
4192
4192
|
return j = !1;
|
|
4193
|
-
}, w = (
|
|
4194
|
-
|
|
4193
|
+
}, w = (N) => {
|
|
4194
|
+
N.preventDefault(), navigator.clipboard.readText().then((A) => {
|
|
4195
4195
|
A = A.replace(/\D/g, ""), window.document.execCommand(
|
|
4196
4196
|
"insertText",
|
|
4197
4197
|
!1,
|
|
@@ -4200,10 +4200,10 @@ function Dt({
|
|
|
4200
4200
|
}).catch((A) => {
|
|
4201
4201
|
});
|
|
4202
4202
|
};
|
|
4203
|
-
const
|
|
4204
|
-
|
|
4203
|
+
const R = {};
|
|
4204
|
+
R.field = "input", u && (R.className = u);
|
|
4205
4205
|
let E = {};
|
|
4206
|
-
return r && t ? (E.edit = "true", E.contentEditable = "plaintext-only") : E.contentEditable = "false", d && (E.placeholder = d),
|
|
4206
|
+
return r && t ? (E.edit = "true", E.contentEditable = "plaintext-only") : E.contentEditable = "false", d && (E.placeholder = d), f && (E.after = f), l ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...R, children: [
|
|
4207
4207
|
C(),
|
|
4208
4208
|
/* @__PURE__ */ n.jsx(
|
|
4209
4209
|
"dd",
|
|
@@ -4211,7 +4211,7 @@ function Dt({
|
|
|
4211
4211
|
...E,
|
|
4212
4212
|
onPaste: w,
|
|
4213
4213
|
onInput: S,
|
|
4214
|
-
onKeyDown:
|
|
4214
|
+
onKeyDown: T,
|
|
4215
4215
|
onKeyUp: D,
|
|
4216
4216
|
suppressContentEditableWarning: !0,
|
|
4217
4217
|
children: _
|
|
@@ -4233,13 +4233,13 @@ function An({
|
|
|
4233
4233
|
reload: d = !1,
|
|
4234
4234
|
after: u = ""
|
|
4235
4235
|
}) {
|
|
4236
|
-
let
|
|
4236
|
+
let m = (g) => {
|
|
4237
4237
|
t && t({
|
|
4238
4238
|
value: g.target.textContent,
|
|
4239
4239
|
name: a,
|
|
4240
4240
|
reload: d
|
|
4241
4241
|
});
|
|
4242
|
-
},
|
|
4242
|
+
}, f = (g) => {
|
|
4243
4243
|
g.key === "Enter" && g.preventDefault();
|
|
4244
4244
|
}, h = (g) => {
|
|
4245
4245
|
g.preventDefault(), navigator.clipboard.readText().then((j) => {
|
|
@@ -4260,8 +4260,8 @@ function An({
|
|
|
4260
4260
|
"dd",
|
|
4261
4261
|
{
|
|
4262
4262
|
onPaste: h,
|
|
4263
|
-
onInput:
|
|
4264
|
-
onKeyDown:
|
|
4263
|
+
onInput: m,
|
|
4264
|
+
onKeyDown: f,
|
|
4265
4265
|
onBlur: ue.Blur,
|
|
4266
4266
|
contentEditable: l && _ ? "plaintext-only" : "false",
|
|
4267
4267
|
...v,
|
|
@@ -4272,7 +4272,7 @@ function An({
|
|
|
4272
4272
|
o ? /* @__PURE__ */ n.jsx("em", { children: o }) : ""
|
|
4273
4273
|
] });
|
|
4274
4274
|
}
|
|
4275
|
-
const
|
|
4275
|
+
const mt = {
|
|
4276
4276
|
0: {
|
|
4277
4277
|
name: "Heard Island and Mcdonald Islands",
|
|
4278
4278
|
dial_code: "+0",
|
|
@@ -5666,53 +5666,53 @@ function Mt({
|
|
|
5666
5666
|
edit: _ = !0,
|
|
5667
5667
|
active: d = !0,
|
|
5668
5668
|
after: u = "",
|
|
5669
|
-
show:
|
|
5670
|
-
view:
|
|
5669
|
+
show: m = !0,
|
|
5670
|
+
view: f,
|
|
5671
5671
|
className: h = ""
|
|
5672
5672
|
}) {
|
|
5673
5673
|
_ = _ !== void 0 ? _ : !0, d = d !== void 0 ? d : !0, l = !!(l && (e === "" || e === void 0)) && !(_ && d), x.useRef(null);
|
|
5674
|
-
let v = "+_(___) ___-__-__", g = !0, j = 0, S = (
|
|
5675
|
-
let
|
|
5676
|
-
|
|
5677
|
-
},
|
|
5678
|
-
|
|
5674
|
+
let v = "+_(___) ___-__-__", g = !0, j = 0, S = (Z, $) => {
|
|
5675
|
+
let V = document.createRange(), q = window.getSelection();
|
|
5676
|
+
V.setStart($.childNodes[0], Z), V.collapse(!0), q.removeAllRanges(), q.addRange(V), $.focus();
|
|
5677
|
+
}, T = (Z) => {
|
|
5678
|
+
Z.preventDefault(), navigator.clipboard.readText().then(($) => {
|
|
5679
5679
|
window.document.execCommand("insertText", !1, $);
|
|
5680
5680
|
}).catch(($) => {
|
|
5681
5681
|
});
|
|
5682
|
-
}, D = (
|
|
5683
|
-
let $ = 0,
|
|
5682
|
+
}, D = (Z) => {
|
|
5683
|
+
let $ = 0, V = "", q = Z.replace(/\D/g, "");
|
|
5684
5684
|
q === "" && (g = !0);
|
|
5685
|
-
let
|
|
5686
|
-
|
|
5687
|
-
g && (re +=
|
|
5685
|
+
let Ze = q.split(""), re = "";
|
|
5686
|
+
Ze.forEach((ze) => {
|
|
5687
|
+
g && (re += ze, mt[re] !== void 0 && g ? (g = !1, v = mt[re].mask.replace(new RegExp("[0-9]", "g"), "_"), V = mt[re].code) : (g && (j = ("" + re).length, v = `+${re}_(___) ___-__-__`.replace(
|
|
5688
5688
|
new RegExp("[0-9]", "g"),
|
|
5689
5689
|
"_"
|
|
5690
|
-
),
|
|
5690
|
+
), V = ""), j > ("" + re).length && (g = !0, v = `+${re}_(___) ___-__-__`.replace(
|
|
5691
5691
|
new RegExp("[0-9]", "g"),
|
|
5692
5692
|
"_"
|
|
5693
|
-
),
|
|
5693
|
+
), V = "")));
|
|
5694
5694
|
});
|
|
5695
|
-
let
|
|
5696
|
-
return
|
|
5695
|
+
let Ne = v.replace(/\D/g, "");
|
|
5696
|
+
return Ne.length >= q.length && (q = Ne), { q: v.replace(/[_\d]/g, function() {
|
|
5697
5697
|
return q.charAt($++) || "_";
|
|
5698
|
-
}), i: $, v: q, f:
|
|
5699
|
-
}, w = (
|
|
5700
|
-
|
|
5698
|
+
}), i: $, v: q, f: V };
|
|
5699
|
+
}, w = (Z) => {
|
|
5700
|
+
Z.preventDefault(), navigator.clipboard.writeText(Z.target.textContent.replace(/\D/g, "")).then(
|
|
5701
5701
|
function() {
|
|
5702
5702
|
Be.Copy("Данные в буфер обмене");
|
|
5703
5703
|
},
|
|
5704
5704
|
function($) {
|
|
5705
5705
|
}
|
|
5706
5706
|
);
|
|
5707
|
-
},
|
|
5708
|
-
let $ = D(
|
|
5709
|
-
|
|
5710
|
-
},
|
|
5711
|
-
|
|
5707
|
+
}, R = D(e), E = (Z) => {
|
|
5708
|
+
let $ = D(Z.target.textContent);
|
|
5709
|
+
Z.target.textContent = $.q, $.i = $.q.lastIndexOf($.v.substr(-1)), $.i < $.q.length && $.q !== v ? $.i++ : $.i = $.q.indexOf("_"), S($.i, Z.target), t && t({ value: $.q.replace(/\D/g, ""), name: r });
|
|
5710
|
+
}, N = (Z) => {
|
|
5711
|
+
Z.key === "Enter" && Z.preventDefault();
|
|
5712
5712
|
};
|
|
5713
|
-
const A = (
|
|
5714
|
-
ue.Blur(
|
|
5715
|
-
value:
|
|
5713
|
+
const A = (Z) => {
|
|
5714
|
+
ue.Blur(Z), a && a({
|
|
5715
|
+
value: Z.target.textContent.replace(/\D/g, ""),
|
|
5716
5716
|
name: r
|
|
5717
5717
|
});
|
|
5718
5718
|
}, X = {};
|
|
@@ -5724,28 +5724,28 @@ function Mt({
|
|
|
5724
5724
|
"dd",
|
|
5725
5725
|
{
|
|
5726
5726
|
...le,
|
|
5727
|
-
onPaste:
|
|
5727
|
+
onPaste: T,
|
|
5728
5728
|
onInput: E,
|
|
5729
|
-
onKeyDown:
|
|
5729
|
+
onKeyDown: N,
|
|
5730
5730
|
onContextMenu: w,
|
|
5731
5731
|
onBlur: A,
|
|
5732
5732
|
suppressContentEditableWarning: !0,
|
|
5733
|
-
children:
|
|
5733
|
+
children: R.q
|
|
5734
5734
|
}
|
|
5735
5735
|
),
|
|
5736
5736
|
o && /* @__PURE__ */ n.jsx("em", { children: o })
|
|
5737
5737
|
] });
|
|
5738
5738
|
}
|
|
5739
|
-
const
|
|
5739
|
+
const Gn = (e) => {
|
|
5740
5740
|
let t = () => e.title ? /* @__PURE__ */ n.jsx("dt", { children: e.title }) : "", a = e.edit !== void 0 ? e.edit : !0, r = e.active !== void 0 ? e.active : !0, s = e.placeholder !== void 0 ? e.placeholder : "", i = 0, o = () => {
|
|
5741
5741
|
clearTimeout(i), i = setTimeout(() => {
|
|
5742
5742
|
}, 1e3);
|
|
5743
5743
|
}, l = (u) => {
|
|
5744
5744
|
u.key === "Enter" && u.preventDefault();
|
|
5745
5745
|
}, _ = (u) => {
|
|
5746
|
-
u.preventDefault(), navigator.clipboard.readText().then((
|
|
5747
|
-
window.document.execCommand("insertText", !1,
|
|
5748
|
-
}).catch((
|
|
5746
|
+
u.preventDefault(), navigator.clipboard.readText().then((m) => {
|
|
5747
|
+
window.document.execCommand("insertText", !1, m);
|
|
5748
|
+
}).catch((m) => {
|
|
5749
5749
|
});
|
|
5750
5750
|
};
|
|
5751
5751
|
const d = {};
|
|
@@ -5783,16 +5783,16 @@ function Ft({
|
|
|
5783
5783
|
placeholder: _ = "",
|
|
5784
5784
|
name: d,
|
|
5785
5785
|
after: u,
|
|
5786
|
-
view:
|
|
5786
|
+
view: m
|
|
5787
5787
|
}) {
|
|
5788
|
-
const
|
|
5788
|
+
const f = x.useRef();
|
|
5789
5789
|
s = !!(s && (i === "" || l[i].n === void 0)) && !(a && r);
|
|
5790
|
-
let C = i !== void 0 && i !== "" ? l[i].n : i, v = (
|
|
5791
|
-
|
|
5792
|
-
}, g = (
|
|
5790
|
+
let C = i !== void 0 && i !== "" ? l[i].n : i, v = (T) => {
|
|
5791
|
+
f.current.textContent = l[T].n, o && o({ value: T, name: d });
|
|
5792
|
+
}, g = (T) => {
|
|
5793
5793
|
if (!(a && r))
|
|
5794
5794
|
return;
|
|
5795
|
-
const D =
|
|
5795
|
+
const D = T.target.getBoundingClientRect();
|
|
5796
5796
|
Ee.setListener(
|
|
5797
5797
|
"form",
|
|
5798
5798
|
/* @__PURE__ */ n.jsx(
|
|
@@ -5800,7 +5800,7 @@ function Ft({
|
|
|
5800
5800
|
{
|
|
5801
5801
|
parent: D,
|
|
5802
5802
|
onValue: v,
|
|
5803
|
-
view:
|
|
5803
|
+
view: m,
|
|
5804
5804
|
options: l
|
|
5805
5805
|
},
|
|
5806
5806
|
(/* @__PURE__ */ new Date()).getTime()
|
|
@@ -5809,7 +5809,7 @@ function Ft({
|
|
|
5809
5809
|
}, j = { field: "select" }, S = { onClick: g };
|
|
5810
5810
|
return _ && (S.placeholder = _), u && (S.after = u), a && r && (S.edit = ""), s ? "" : /* @__PURE__ */ n.jsxs("dl", { ...j, children: [
|
|
5811
5811
|
e && /* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
5812
|
-
/* @__PURE__ */ n.jsx("dd", { ...S, ref:
|
|
5812
|
+
/* @__PURE__ */ n.jsx("dd", { ...S, ref: f, children: C }),
|
|
5813
5813
|
t && /* @__PURE__ */ n.jsx("em", { children: t })
|
|
5814
5814
|
] });
|
|
5815
5815
|
}
|
|
@@ -5838,7 +5838,7 @@ const ul = ({ onValue: e, parent: t, view: a, options: r }) => {
|
|
|
5838
5838
|
width: t.width
|
|
5839
5839
|
},
|
|
5840
5840
|
children: /* @__PURE__ */ n.jsx("ul", { children: Object.keys(r).map(
|
|
5841
|
-
(u,
|
|
5841
|
+
(u, m) => r[u].s === 1 ? /* @__PURE__ */ n.jsx(
|
|
5842
5842
|
"li",
|
|
5843
5843
|
{
|
|
5844
5844
|
onClick: () => {
|
|
@@ -5846,7 +5846,7 @@ const ul = ({ onValue: e, parent: t, view: a, options: r }) => {
|
|
|
5846
5846
|
},
|
|
5847
5847
|
children: r[u].n
|
|
5848
5848
|
},
|
|
5849
|
-
|
|
5849
|
+
m
|
|
5850
5850
|
) : ""
|
|
5851
5851
|
) })
|
|
5852
5852
|
}
|
|
@@ -5858,14 +5858,14 @@ function Lt(e) {
|
|
|
5858
5858
|
u(e.options[h]), e.onValue({ value: h, name: e.name });
|
|
5859
5859
|
}, [d, u] = x.useState(
|
|
5860
5860
|
e.default !== void 0 ? e.options[e.default] : e.default
|
|
5861
|
-
),
|
|
5861
|
+
), m = (h) => {
|
|
5862
5862
|
if (!(r && s))
|
|
5863
5863
|
return;
|
|
5864
5864
|
const C = h.target.getBoundingClientRect();
|
|
5865
5865
|
Ee.setListener(
|
|
5866
5866
|
"form",
|
|
5867
5867
|
/* @__PURE__ */ n.jsx(
|
|
5868
|
-
|
|
5868
|
+
ml,
|
|
5869
5869
|
{
|
|
5870
5870
|
parent: C,
|
|
5871
5871
|
onValue: _,
|
|
@@ -5876,8 +5876,8 @@ function Lt(e) {
|
|
|
5876
5876
|
)
|
|
5877
5877
|
);
|
|
5878
5878
|
};
|
|
5879
|
-
const
|
|
5880
|
-
return l && (
|
|
5879
|
+
const f = {};
|
|
5880
|
+
return l && (f.placeholder = l), o ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs(
|
|
5881
5881
|
"dl",
|
|
5882
5882
|
{
|
|
5883
5883
|
"data-form": "select",
|
|
@@ -5886,9 +5886,9 @@ function Lt(e) {
|
|
|
5886
5886
|
/* @__PURE__ */ n.jsx(
|
|
5887
5887
|
"dd",
|
|
5888
5888
|
{
|
|
5889
|
-
onClick:
|
|
5889
|
+
onClick: m,
|
|
5890
5890
|
"data-edit": (r && s) + "",
|
|
5891
|
-
...
|
|
5891
|
+
...f,
|
|
5892
5892
|
children: d
|
|
5893
5893
|
}
|
|
5894
5894
|
),
|
|
@@ -5897,11 +5897,11 @@ function Lt(e) {
|
|
|
5897
5897
|
}
|
|
5898
5898
|
);
|
|
5899
5899
|
}
|
|
5900
|
-
const
|
|
5900
|
+
const ml = ({ onValue: e, parent: t, view: a, options: r }) => {
|
|
5901
5901
|
let [s, i] = x.useState(!0), o = () => {
|
|
5902
5902
|
i(!1);
|
|
5903
|
-
}, l = (
|
|
5904
|
-
i(!1), e(
|
|
5903
|
+
}, l = (m) => {
|
|
5904
|
+
i(!1), e(m);
|
|
5905
5905
|
}, _ = Object.keys(r).length * 36, d = window.innerHeight - t.y + t.height < _ ? t.y - (_ - 33) : t.y + 33, u = window.innerWidth - t.x < 265 ? t.x - 235 : t.x;
|
|
5906
5906
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: s ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
5907
5907
|
/* @__PURE__ */ n.jsx(
|
|
@@ -5921,15 +5921,15 @@ const fl = ({ onValue: e, parent: t, view: a, options: r }) => {
|
|
|
5921
5921
|
left: u + "px",
|
|
5922
5922
|
width: t.width
|
|
5923
5923
|
},
|
|
5924
|
-
children: /* @__PURE__ */ n.jsx("ul", { children: Object.keys(r).map((
|
|
5924
|
+
children: /* @__PURE__ */ n.jsx("ul", { children: Object.keys(r).map((m, f) => /* @__PURE__ */ n.jsx(
|
|
5925
5925
|
"li",
|
|
5926
5926
|
{
|
|
5927
5927
|
onClick: () => {
|
|
5928
|
-
l(
|
|
5928
|
+
l(m);
|
|
5929
5929
|
},
|
|
5930
|
-
children: r[
|
|
5930
|
+
children: r[m]
|
|
5931
5931
|
},
|
|
5932
|
-
|
|
5932
|
+
f
|
|
5933
5933
|
)) })
|
|
5934
5934
|
}
|
|
5935
5935
|
)
|
|
@@ -5947,8 +5947,8 @@ function yt({
|
|
|
5947
5947
|
edit: _ = !0,
|
|
5948
5948
|
show: d = !0,
|
|
5949
5949
|
active: u = !0,
|
|
5950
|
-
after:
|
|
5951
|
-
view:
|
|
5950
|
+
after: m = "",
|
|
5951
|
+
view: f,
|
|
5952
5952
|
module: h,
|
|
5953
5953
|
item: C,
|
|
5954
5954
|
className: v = ""
|
|
@@ -5962,7 +5962,7 @@ function yt({
|
|
|
5962
5962
|
title: i,
|
|
5963
5963
|
show: d,
|
|
5964
5964
|
hide: l,
|
|
5965
|
-
view:
|
|
5965
|
+
view: f,
|
|
5966
5966
|
edit: _,
|
|
5967
5967
|
active: u,
|
|
5968
5968
|
value: t,
|
|
@@ -5979,7 +5979,7 @@ function yt({
|
|
|
5979
5979
|
title: i,
|
|
5980
5980
|
show: d,
|
|
5981
5981
|
hide: l,
|
|
5982
|
-
view:
|
|
5982
|
+
view: f,
|
|
5983
5983
|
edit: _,
|
|
5984
5984
|
active: u,
|
|
5985
5985
|
value: t,
|
|
@@ -5997,7 +5997,7 @@ function yt({
|
|
|
5997
5997
|
title: i,
|
|
5998
5998
|
show: d,
|
|
5999
5999
|
hide: l,
|
|
6000
|
-
view:
|
|
6000
|
+
view: f,
|
|
6001
6001
|
edit: _,
|
|
6002
6002
|
active: u,
|
|
6003
6003
|
value: t,
|
|
@@ -6010,12 +6010,12 @@ function yt({
|
|
|
6010
6010
|
);
|
|
6011
6011
|
case "Date":
|
|
6012
6012
|
return /* @__PURE__ */ n.jsx(
|
|
6013
|
-
|
|
6013
|
+
Nt,
|
|
6014
6014
|
{
|
|
6015
6015
|
title: i,
|
|
6016
6016
|
show: d,
|
|
6017
6017
|
hide: l,
|
|
6018
|
-
view:
|
|
6018
|
+
view: f,
|
|
6019
6019
|
edit: _,
|
|
6020
6020
|
active: u,
|
|
6021
6021
|
value: t,
|
|
@@ -6032,7 +6032,7 @@ function yt({
|
|
|
6032
6032
|
title: i,
|
|
6033
6033
|
show: d,
|
|
6034
6034
|
hide: l,
|
|
6035
|
-
view:
|
|
6035
|
+
view: f,
|
|
6036
6036
|
edit: _,
|
|
6037
6037
|
active: u,
|
|
6038
6038
|
value: t,
|
|
@@ -6049,7 +6049,7 @@ function yt({
|
|
|
6049
6049
|
title: i,
|
|
6050
6050
|
show: d,
|
|
6051
6051
|
hide: l,
|
|
6052
|
-
view:
|
|
6052
|
+
view: f,
|
|
6053
6053
|
edit: _,
|
|
6054
6054
|
active: u,
|
|
6055
6055
|
value: t,
|
|
@@ -6061,12 +6061,12 @@ function yt({
|
|
|
6061
6061
|
);
|
|
6062
6062
|
case "Money":
|
|
6063
6063
|
return /* @__PURE__ */ n.jsx(
|
|
6064
|
-
|
|
6064
|
+
Tt,
|
|
6065
6065
|
{
|
|
6066
6066
|
title: i,
|
|
6067
6067
|
show: d,
|
|
6068
6068
|
hide: l,
|
|
6069
|
-
view:
|
|
6069
|
+
view: f,
|
|
6070
6070
|
edit: _,
|
|
6071
6071
|
active: u,
|
|
6072
6072
|
value: t,
|
|
@@ -6078,12 +6078,12 @@ function yt({
|
|
|
6078
6078
|
);
|
|
6079
6079
|
case "Modal":
|
|
6080
6080
|
return /* @__PURE__ */ n.jsx(
|
|
6081
|
-
|
|
6081
|
+
It,
|
|
6082
6082
|
{
|
|
6083
6083
|
title: i,
|
|
6084
6084
|
show: d,
|
|
6085
6085
|
hide: l,
|
|
6086
|
-
view:
|
|
6086
|
+
view: f,
|
|
6087
6087
|
edit: _,
|
|
6088
6088
|
active: u,
|
|
6089
6089
|
value: t,
|
|
@@ -6097,7 +6097,7 @@ function yt({
|
|
|
6097
6097
|
);
|
|
6098
6098
|
}
|
|
6099
6099
|
}
|
|
6100
|
-
function
|
|
6100
|
+
function Zn({
|
|
6101
6101
|
value: e,
|
|
6102
6102
|
onValue: t,
|
|
6103
6103
|
name: a,
|
|
@@ -6109,8 +6109,8 @@ function zn({
|
|
|
6109
6109
|
active: _ = !0,
|
|
6110
6110
|
after: d = "",
|
|
6111
6111
|
show: u = !0,
|
|
6112
|
-
view:
|
|
6113
|
-
onBlur:
|
|
6112
|
+
view: m,
|
|
6113
|
+
onBlur: f,
|
|
6114
6114
|
onSave: h,
|
|
6115
6115
|
className: C = ""
|
|
6116
6116
|
}) {
|
|
@@ -6127,8 +6127,8 @@ function zn({
|
|
|
6127
6127
|
}).catch((w) => {
|
|
6128
6128
|
});
|
|
6129
6129
|
};
|
|
6130
|
-
const
|
|
6131
|
-
return r && (
|
|
6130
|
+
const T = {};
|
|
6131
|
+
return r && (T.placeholder = r), /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
6132
6132
|
s ?? /* @__PURE__ */ n.jsx("dt", { children: s }),
|
|
6133
6133
|
/* @__PURE__ */ n.jsx(
|
|
6134
6134
|
"dd",
|
|
@@ -6137,7 +6137,7 @@ function zn({
|
|
|
6137
6137
|
onBlur: j,
|
|
6138
6138
|
onInput: g,
|
|
6139
6139
|
contentEditable: l && _ ? "plaintext-only" : "false",
|
|
6140
|
-
...
|
|
6140
|
+
...T,
|
|
6141
6141
|
suppressContentEditableWarning: !0,
|
|
6142
6142
|
children: e
|
|
6143
6143
|
}
|
|
@@ -6145,7 +6145,7 @@ function zn({
|
|
|
6145
6145
|
i ?? /* @__PURE__ */ n.jsx("em", { children: i })
|
|
6146
6146
|
] });
|
|
6147
6147
|
}
|
|
6148
|
-
function
|
|
6148
|
+
function zn({
|
|
6149
6149
|
value: e,
|
|
6150
6150
|
onValue: t,
|
|
6151
6151
|
name: a,
|
|
@@ -6157,8 +6157,8 @@ function Gn({
|
|
|
6157
6157
|
active: _ = !0,
|
|
6158
6158
|
after: d = "",
|
|
6159
6159
|
show: u = !0,
|
|
6160
|
-
view:
|
|
6161
|
-
onBlur:
|
|
6160
|
+
view: m,
|
|
6161
|
+
onBlur: f,
|
|
6162
6162
|
onSave: h,
|
|
6163
6163
|
className: C = ""
|
|
6164
6164
|
}) {
|
|
@@ -6167,17 +6167,17 @@ function Gn({
|
|
|
6167
6167
|
return "";
|
|
6168
6168
|
let S = (E) => {
|
|
6169
6169
|
j.current.textContent = E, t && t({ value: E, name: a });
|
|
6170
|
-
},
|
|
6170
|
+
}, T = (E) => {
|
|
6171
6171
|
h && h({ value: E, name: a });
|
|
6172
6172
|
}, D = (E) => {
|
|
6173
|
-
const
|
|
6173
|
+
const N = E.target.getBoundingClientRect(), A = N.left, X = N.top;
|
|
6174
6174
|
Ee.setListener(
|
|
6175
6175
|
"form",
|
|
6176
6176
|
/* @__PURE__ */ n.jsx(
|
|
6177
|
-
|
|
6177
|
+
fl,
|
|
6178
6178
|
{
|
|
6179
6179
|
positions: { x: A, y: X },
|
|
6180
|
-
onSave:
|
|
6180
|
+
onSave: T,
|
|
6181
6181
|
onValue: S,
|
|
6182
6182
|
date: g
|
|
6183
6183
|
},
|
|
@@ -6187,8 +6187,8 @@ function Gn({
|
|
|
6187
6187
|
};
|
|
6188
6188
|
const w = {};
|
|
6189
6189
|
w.field = "input", C && (w.className = C);
|
|
6190
|
-
const
|
|
6191
|
-
return r && (
|
|
6190
|
+
const R = {};
|
|
6191
|
+
return r && (R.placeholder = r), /* @__PURE__ */ n.jsx(n.Fragment, { children: m === "icon" ? /* @__PURE__ */ n.jsx(
|
|
6192
6192
|
"i",
|
|
6193
6193
|
{
|
|
6194
6194
|
"data-icon": "F043",
|
|
@@ -6196,15 +6196,15 @@ function Gn({
|
|
|
6196
6196
|
}
|
|
6197
6197
|
) : /* @__PURE__ */ n.jsxs("dl", { ...w, children: [
|
|
6198
6198
|
s ? /* @__PURE__ */ n.jsx("dt", { children: s }) : "",
|
|
6199
|
-
/* @__PURE__ */ n.jsx("dd", { onClick: D, ref: j, ...
|
|
6199
|
+
/* @__PURE__ */ n.jsx("dd", { onClick: D, ref: j, ...R, children: g }),
|
|
6200
6200
|
i ? /* @__PURE__ */ n.jsx("em", { children: i }) : ""
|
|
6201
6201
|
] }) });
|
|
6202
6202
|
}
|
|
6203
|
-
const
|
|
6203
|
+
const fl = ({ positions: e, onSave: t, onValue: a, date: r }) => {
|
|
6204
6204
|
let s = r.split(":"), i = {
|
|
6205
6205
|
h: K.Number(2, s[0]),
|
|
6206
6206
|
m: K.Number(2, s[1])
|
|
6207
|
-
}, o = "hour", [l, _] = x.useState({}), d = !1, u = 0,
|
|
6207
|
+
}, o = "hour", [l, _] = x.useState({}), d = !1, u = 0, m = 0, f = {
|
|
6208
6208
|
body: x.useRef(null),
|
|
6209
6209
|
time: x.useRef(null),
|
|
6210
6210
|
hour: x.useRef(null),
|
|
@@ -6212,64 +6212,64 @@ const ml = ({ positions: e, onSave: t, onValue: a, date: r }) => {
|
|
|
6212
6212
|
hourText: x.useRef(null)
|
|
6213
6213
|
};
|
|
6214
6214
|
x.useEffect(() => {
|
|
6215
|
-
_(
|
|
6216
|
-
}, [
|
|
6215
|
+
_(f.body.current.getBoundingClientRect()), f.hour.current.style.transform = "rotate(" + i.h * 15 + "deg)", f.time.current.style.transform = "rotate(" + i.m * 6 + "deg)";
|
|
6216
|
+
}, [f.body, f.hour, f.time, i.m, i.h]);
|
|
6217
6217
|
let h = () => {
|
|
6218
6218
|
d = !0;
|
|
6219
6219
|
}, C = () => {
|
|
6220
|
-
d = !1, o = o === "hour" ? "time" : "hour",
|
|
6221
|
-
}, v = (
|
|
6220
|
+
d = !1, o = o === "hour" ? "time" : "hour", f.body.current.setAttribute("active", o);
|
|
6221
|
+
}, v = (R) => {
|
|
6222
6222
|
if (d) {
|
|
6223
|
-
let
|
|
6224
|
-
|
|
6225
|
-
|
|
6223
|
+
let N = Math.atan2(
|
|
6224
|
+
R.pageX - (l.x + 78),
|
|
6225
|
+
R.pageY - (l.y + 78)
|
|
6226
6226
|
) * (180 / Math.PI) * -1 + 180;
|
|
6227
|
-
|
|
6227
|
+
f[o].current.style.transform = "rotate(" + N + "deg)", o === "hour" ? (i = {
|
|
6228
6228
|
...i,
|
|
6229
|
-
h: K.Number(2, parseInt(String(
|
|
6230
|
-
},
|
|
6229
|
+
h: K.Number(2, parseInt(String(N / 15), 10))
|
|
6230
|
+
}, f.hourText.current.textContent = i.h) : (i = {
|
|
6231
6231
|
...i,
|
|
6232
|
-
m: K.Number(2, parseInt(String(
|
|
6233
|
-
},
|
|
6232
|
+
m: K.Number(2, parseInt(String(N / 6), 10))
|
|
6233
|
+
}, f.timeText.current.textContent = i.m), a(i.h + ":" + i.m);
|
|
6234
6234
|
}
|
|
6235
|
-
}, g = (
|
|
6235
|
+
}, g = (R) => {
|
|
6236
6236
|
if (o === "hour")
|
|
6237
|
-
if (
|
|
6238
|
-
u +=
|
|
6237
|
+
if (R.deltaY > 0) {
|
|
6238
|
+
u += R.deltaY;
|
|
6239
6239
|
let E = parseInt(String(u / 50));
|
|
6240
|
-
if (
|
|
6241
|
-
|
|
6242
|
-
let
|
|
6243
|
-
|
|
6240
|
+
if (m !== E) {
|
|
6241
|
+
m = E;
|
|
6242
|
+
let N = parseInt(i.h, 10) + 1;
|
|
6243
|
+
N = N > 23 ? 0 : N, i = { ...i, h: K.Number(2, N) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
|
|
6244
6244
|
}
|
|
6245
6245
|
} else {
|
|
6246
|
-
u -=
|
|
6246
|
+
u -= R.deltaY;
|
|
6247
6247
|
let E = parseInt(String(u / 50));
|
|
6248
|
-
if (
|
|
6249
|
-
|
|
6250
|
-
let
|
|
6251
|
-
|
|
6248
|
+
if (m !== E) {
|
|
6249
|
+
m = E;
|
|
6250
|
+
let N = parseInt(i.h, 10) - 1;
|
|
6251
|
+
N = N < 0 ? 23 : N, i = { ...i, h: K.Number(2, N) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
|
|
6252
6252
|
}
|
|
6253
6253
|
}
|
|
6254
|
-
else if (
|
|
6255
|
-
u +=
|
|
6254
|
+
else if (R.deltaY > 0) {
|
|
6255
|
+
u += R.deltaY;
|
|
6256
6256
|
let E = parseInt(String(u / 50));
|
|
6257
|
-
if (
|
|
6258
|
-
|
|
6259
|
-
let
|
|
6260
|
-
|
|
6257
|
+
if (m !== E) {
|
|
6258
|
+
m = E;
|
|
6259
|
+
let N = parseInt(i.m, 10) + 1;
|
|
6260
|
+
N = N > 59 ? 0 : N, i = { ...i, m: K.Number(2, N) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
|
|
6261
6261
|
}
|
|
6262
6262
|
} else {
|
|
6263
|
-
u -=
|
|
6263
|
+
u -= R.deltaY;
|
|
6264
6264
|
let E = parseInt(String(u / 50));
|
|
6265
|
-
if (
|
|
6266
|
-
|
|
6267
|
-
let
|
|
6268
|
-
|
|
6265
|
+
if (m !== E) {
|
|
6266
|
+
m = E;
|
|
6267
|
+
let N = parseInt(i.m, 10) - 1;
|
|
6268
|
+
N = N < 0 ? 59 : N, i = { ...i, m: K.Number(2, N) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
|
|
6269
6269
|
}
|
|
6270
6270
|
}
|
|
6271
6271
|
a(i.h + ":" + i.m);
|
|
6272
|
-
}, [j, S] = x.useState(!0),
|
|
6272
|
+
}, [j, S] = x.useState(!0), T = () => {
|
|
6273
6273
|
S(!1), t(i.h + ":" + i.m);
|
|
6274
6274
|
}, D = window.innerHeight - e.y + 33 < 320 ? e.y - 312 : e.y + 33, w = window.innerWidth - e.x < 265 ? e.x - 235 : e.x;
|
|
6275
6275
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: j ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
@@ -6277,7 +6277,7 @@ const ml = ({ positions: e, onSave: t, onValue: a, date: r }) => {
|
|
|
6277
6277
|
"div",
|
|
6278
6278
|
{
|
|
6279
6279
|
className: Se.o,
|
|
6280
|
-
onClick: () =>
|
|
6280
|
+
onClick: () => T()
|
|
6281
6281
|
},
|
|
6282
6282
|
(/* @__PURE__ */ new Date()).getTime()
|
|
6283
6283
|
),
|
|
@@ -6289,19 +6289,19 @@ const ml = ({ positions: e, onSave: t, onValue: a, date: r }) => {
|
|
|
6289
6289
|
onMouseUp: C,
|
|
6290
6290
|
onMouseMove: v,
|
|
6291
6291
|
onWheel: g,
|
|
6292
|
-
ref:
|
|
6292
|
+
ref: f.body,
|
|
6293
6293
|
style: { top: D + "px", left: w + "px" },
|
|
6294
6294
|
children: [
|
|
6295
6295
|
/* @__PURE__ */ n.jsx("div", { className: "b" }),
|
|
6296
6296
|
/* @__PURE__ */ n.jsxs("div", { className: "s", children: [
|
|
6297
|
-
/* @__PURE__ */ n.jsx("span", { className: "hour", ref:
|
|
6297
|
+
/* @__PURE__ */ n.jsx("span", { className: "hour", ref: f.hourText, children: i.h }),
|
|
6298
6298
|
" ",
|
|
6299
6299
|
":",
|
|
6300
6300
|
" ",
|
|
6301
|
-
/* @__PURE__ */ n.jsx("span", { className: "min", ref:
|
|
6301
|
+
/* @__PURE__ */ n.jsx("span", { className: "min", ref: f.timeText, children: i.m })
|
|
6302
6302
|
] }),
|
|
6303
|
-
/* @__PURE__ */ n.jsx("div", { className: "h", ref:
|
|
6304
|
-
/* @__PURE__ */ n.jsx("div", { className: "t", ref:
|
|
6303
|
+
/* @__PURE__ */ n.jsx("div", { className: "h", ref: f.hour }),
|
|
6304
|
+
/* @__PURE__ */ n.jsx("div", { className: "t", ref: f.time })
|
|
6305
6305
|
]
|
|
6306
6306
|
}
|
|
6307
6307
|
)
|
|
@@ -6317,8 +6317,8 @@ function Wn({
|
|
|
6317
6317
|
}) {
|
|
6318
6318
|
a = !!a;
|
|
6319
6319
|
const [o, l] = x.useState(a), _ = () => {
|
|
6320
|
-
let
|
|
6321
|
-
e({ name: s, value:
|
|
6320
|
+
let m = !o;
|
|
6321
|
+
e({ name: s, value: m, reload: i }), l(m);
|
|
6322
6322
|
}, d = {};
|
|
6323
6323
|
d.field = "check", r && (d.className = r);
|
|
6324
6324
|
const u = {};
|
|
@@ -6374,8 +6374,8 @@ function Un({
|
|
|
6374
6374
|
active: _ = !0,
|
|
6375
6375
|
after: d = "",
|
|
6376
6376
|
show: u = !0,
|
|
6377
|
-
view:
|
|
6378
|
-
onBlur:
|
|
6377
|
+
view: m,
|
|
6378
|
+
onBlur: f,
|
|
6379
6379
|
onSave: h,
|
|
6380
6380
|
className: C = ""
|
|
6381
6381
|
}) {
|
|
@@ -6388,19 +6388,19 @@ function Un({
|
|
|
6388
6388
|
let j = () => {
|
|
6389
6389
|
g([...v, ""]);
|
|
6390
6390
|
}, S = (A) => {
|
|
6391
|
-
v.splice(A, 1), v.length === 0 && v.push(""), g([...v]),
|
|
6392
|
-
},
|
|
6391
|
+
v.splice(A, 1), v.length === 0 && v.push(""), g([...v]), f !== void 0 && f({ value: v.join(","), name: a });
|
|
6392
|
+
}, T = !!(o && (e === "" || e === void 0)), D = (A) => {
|
|
6393
6393
|
};
|
|
6394
|
-
if (!(l && _) && !u || !(l && _) &&
|
|
6394
|
+
if (!(l && _) && !u || !(l && _) && T)
|
|
6395
6395
|
return "";
|
|
6396
6396
|
const w = {};
|
|
6397
6397
|
w.field = "group", C && (w.className = C);
|
|
6398
|
-
const
|
|
6398
|
+
const R = (A) => {
|
|
6399
6399
|
ue.Blur(A), h && h({ value: A.target.textContent, name: a });
|
|
6400
6400
|
};
|
|
6401
6401
|
let E = (A, X) => {
|
|
6402
6402
|
v[X] = A.target.textContent, t !== void 0 && t({ value: v.join(","), name: a });
|
|
6403
|
-
},
|
|
6403
|
+
}, N = (A) => {
|
|
6404
6404
|
A.key === "Enter" && A.preventDefault();
|
|
6405
6405
|
};
|
|
6406
6406
|
return /* @__PURE__ */ n.jsxs("dl", { ...w, children: [
|
|
@@ -6433,8 +6433,8 @@ function Un({
|
|
|
6433
6433
|
placeholder: r,
|
|
6434
6434
|
onPaste: D,
|
|
6435
6435
|
contentEditable: !0,
|
|
6436
|
-
onKeyDown:
|
|
6437
|
-
onBlur:
|
|
6436
|
+
onKeyDown: N,
|
|
6437
|
+
onBlur: R,
|
|
6438
6438
|
suppressContentEditableWarning: !0,
|
|
6439
6439
|
children: v[X]
|
|
6440
6440
|
}
|
|
@@ -6468,7 +6468,7 @@ function Un({
|
|
|
6468
6468
|
] });
|
|
6469
6469
|
}
|
|
6470
6470
|
const xl = (e) => (e = e !== void 0 && e !== "" ? e.split(",") : [], e.reduce((t, a) => (t[a] = !0, t), {}));
|
|
6471
|
-
function
|
|
6471
|
+
function Yn({
|
|
6472
6472
|
value: e,
|
|
6473
6473
|
onValue: t,
|
|
6474
6474
|
name: a,
|
|
@@ -6480,17 +6480,17 @@ function Vn({
|
|
|
6480
6480
|
show: _ = !0,
|
|
6481
6481
|
active: d = !0,
|
|
6482
6482
|
after: u = "",
|
|
6483
|
-
view:
|
|
6484
|
-
modal:
|
|
6483
|
+
view: m,
|
|
6484
|
+
modal: f,
|
|
6485
6485
|
module: h,
|
|
6486
6486
|
options: C,
|
|
6487
6487
|
className: v
|
|
6488
6488
|
}) {
|
|
6489
6489
|
const [g, j] = x.useState(xl(e)), S = (w) => {
|
|
6490
|
-
if (!(l && d) || !
|
|
6490
|
+
if (!(l && d) || !f)
|
|
6491
6491
|
return;
|
|
6492
|
-
let
|
|
6493
|
-
Qe.Open(
|
|
6492
|
+
let R = f.split(".");
|
|
6493
|
+
Qe.Open(R[0], R[1], {
|
|
6494
6494
|
callback: (E) => {
|
|
6495
6495
|
t && t({ value: E, name: a }), j(E);
|
|
6496
6496
|
},
|
|
@@ -6499,10 +6499,10 @@ function Vn({
|
|
|
6499
6499
|
name: a,
|
|
6500
6500
|
value: g
|
|
6501
6501
|
});
|
|
6502
|
-
},
|
|
6503
|
-
|
|
6502
|
+
}, T = {};
|
|
6503
|
+
T.field = "group", v && (T.className = v);
|
|
6504
6504
|
const D = {};
|
|
6505
|
-
return r && (D.placeholder = r), o ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...
|
|
6505
|
+
return r && (D.placeholder = r), o ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...T, children: [
|
|
6506
6506
|
/* @__PURE__ */ n.jsxs("dt", { children: [
|
|
6507
6507
|
s,
|
|
6508
6508
|
/* @__PURE__ */ n.jsx("i", { onClick: S, children: /* @__PURE__ */ n.jsxs(
|
|
@@ -6531,54 +6531,54 @@ function Vn({
|
|
|
6531
6531
|
edit: (l && d) + "",
|
|
6532
6532
|
"data-after": u,
|
|
6533
6533
|
children: Object.keys(g).map((w) => {
|
|
6534
|
-
var
|
|
6535
|
-
return /* @__PURE__ */ n.jsx("div", { className: "field_group_item", children: (
|
|
6534
|
+
var R;
|
|
6535
|
+
return /* @__PURE__ */ n.jsx("div", { className: "field_group_item", children: (R = C[w]) == null ? void 0 : R.label }, w);
|
|
6536
6536
|
})
|
|
6537
6537
|
}
|
|
6538
6538
|
),
|
|
6539
6539
|
i && /* @__PURE__ */ n.jsx("em", { children: i })
|
|
6540
6540
|
] });
|
|
6541
6541
|
}
|
|
6542
|
-
const
|
|
6542
|
+
const me = {};
|
|
6543
6543
|
function pl(e) {
|
|
6544
6544
|
const [t, a] = x.useState({}), r = x.useRef(e);
|
|
6545
|
-
return
|
|
6545
|
+
return me.u = (s) => {
|
|
6546
6546
|
r.current = { ...r.current, [s.name]: s.value };
|
|
6547
|
-
},
|
|
6547
|
+
}, me.n = (s) => {
|
|
6548
6548
|
r.current = s, a(Date.now());
|
|
6549
|
-
},
|
|
6549
|
+
}, me.r = () => {
|
|
6550
6550
|
a(Date.now());
|
|
6551
|
-
}, [r.current,
|
|
6551
|
+
}, [r.current, me.n];
|
|
6552
6552
|
}
|
|
6553
6553
|
function gl(e) {
|
|
6554
|
-
|
|
6554
|
+
me.u(e), e.reload && me.r();
|
|
6555
6555
|
}
|
|
6556
6556
|
function vl() {
|
|
6557
|
-
|
|
6557
|
+
me.r && me.r();
|
|
6558
6558
|
}
|
|
6559
6559
|
const ic = {
|
|
6560
6560
|
Color: Bn,
|
|
6561
|
-
Date:
|
|
6561
|
+
Date: Nt,
|
|
6562
6562
|
Code: $n,
|
|
6563
6563
|
Check: Wn,
|
|
6564
|
-
Switch:
|
|
6564
|
+
Switch: Tn,
|
|
6565
6565
|
Input: Pe,
|
|
6566
6566
|
Button: Dn,
|
|
6567
6567
|
Message: Mn,
|
|
6568
6568
|
Generator: Fn,
|
|
6569
6569
|
Captcha: Ln,
|
|
6570
|
-
Modal:
|
|
6571
|
-
Money:
|
|
6570
|
+
Modal: It,
|
|
6571
|
+
Money: Tt,
|
|
6572
6572
|
Month: Pn,
|
|
6573
6573
|
Notes: On,
|
|
6574
6574
|
Number: Dt,
|
|
6575
6575
|
Password: An,
|
|
6576
6576
|
Phone: Mt,
|
|
6577
|
-
Search:
|
|
6577
|
+
Search: Gn,
|
|
6578
6578
|
Select: Ft,
|
|
6579
6579
|
Set: yt,
|
|
6580
|
-
Textarea:
|
|
6581
|
-
Time:
|
|
6580
|
+
Textarea: Zn,
|
|
6581
|
+
Time: zn,
|
|
6582
6582
|
Users: Lt,
|
|
6583
6583
|
String: Pe,
|
|
6584
6584
|
Form: yt,
|
|
@@ -6588,42 +6588,42 @@ const ic = {
|
|
|
6588
6588
|
Palette: hl,
|
|
6589
6589
|
Toogle: Kn,
|
|
6590
6590
|
Group: Un,
|
|
6591
|
-
Options:
|
|
6591
|
+
Options: Yn
|
|
6592
6592
|
}, oc = {
|
|
6593
6593
|
Color: Bn,
|
|
6594
|
-
Date:
|
|
6594
|
+
Date: Nt,
|
|
6595
6595
|
Code: $n,
|
|
6596
6596
|
Check: Wn,
|
|
6597
|
-
Switch:
|
|
6597
|
+
Switch: Tn,
|
|
6598
6598
|
Input: Pe,
|
|
6599
6599
|
Button: Dn,
|
|
6600
6600
|
Message: Mn,
|
|
6601
6601
|
Generator: Fn,
|
|
6602
6602
|
Captcha: Ln,
|
|
6603
|
-
Modal:
|
|
6604
|
-
Money:
|
|
6603
|
+
Modal: It,
|
|
6604
|
+
Money: Tt,
|
|
6605
6605
|
Month: Pn,
|
|
6606
6606
|
Notes: On,
|
|
6607
6607
|
Number: Dt,
|
|
6608
6608
|
Password: An,
|
|
6609
6609
|
Phone: Mt,
|
|
6610
|
-
Search:
|
|
6610
|
+
Search: Gn,
|
|
6611
6611
|
Select: Ft,
|
|
6612
6612
|
Set: yt,
|
|
6613
|
-
Textarea:
|
|
6614
|
-
Time:
|
|
6613
|
+
Textarea: Zn,
|
|
6614
|
+
Time: zn,
|
|
6615
6615
|
Users: Lt,
|
|
6616
6616
|
String: Pe,
|
|
6617
6617
|
Toogle: Kn,
|
|
6618
6618
|
Group: Un,
|
|
6619
|
-
Options:
|
|
6620
|
-
}, Cl = "_spinner_1ul0m_1", kl = "_l_1ul0m_75", jl = "_loadingB_1ul0m_1",
|
|
6619
|
+
Options: Yn
|
|
6620
|
+
}, Cl = "_spinner_1ul0m_1", kl = "_l_1ul0m_75", jl = "_loadingB_1ul0m_1", Hn = {
|
|
6621
6621
|
spinner: Cl,
|
|
6622
6622
|
l: kl,
|
|
6623
6623
|
loadingB: jl
|
|
6624
6624
|
};
|
|
6625
6625
|
function yl() {
|
|
6626
|
-
return /* @__PURE__ */ n.jsx("div", { className:
|
|
6626
|
+
return /* @__PURE__ */ n.jsx("div", { className: Hn.spinner, children: /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ n.jsx(
|
|
6627
6627
|
"path",
|
|
6628
6628
|
{
|
|
6629
6629
|
d: "M264,492a22.2,22.2,0,0,0,22-22V411a22.2,22.2,0,0,0-22-22H236a22.2,22.2,0,0,0-22,22v59a22.2,22.2,0,0,0,22,22Zm74-134a23.9,23.9,0,0,0-6,16,20.35,20.35,0,0,0,6,15l42,42q7,7,16,7,10,0,16-7l20-20a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16l-42-42q-7-7-16-7-8,0-15,7ZM163,389a18.94,18.94,0,0,0,7-15q0-9-7-16l-20-20q-7-7-16-7-8,0-15,7L70,380q-7,7-7,16a18.94,18.94,0,0,0,7,15l20,20q7,7,16,7a18.94,18.94,0,0,0,15-7ZM112,237a22.2,22.2,0,0,0-22-22H31a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,9,237v28a21.17,21.17,0,0,0,6.5,15.5A21.17,21.17,0,0,0,31,287H90a22.2,22.2,0,0,0,22-22Zm358,50a22.2,22.2,0,0,0,22-22V237a22.2,22.2,0,0,0-22-22H411a22.2,22.2,0,0,0-22,22v28a22.2,22.2,0,0,0,22,22ZM163,142q7-7,7-15.5T163,111L121,69q-7-7-15-7-7,0-16,7L70,89q-7,7-7,16a18.94,18.94,0,0,0,7,15l42,42a18.94,18.94,0,0,0,15,7q10,0,16-7Zm269-22a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16L412,69q-7-7-16-7-7,0-16,7l-42,42q-7,8-7,16t7,15l21,20a18.94,18.94,0,0,0,15,7q10,0,16-7Zm-168-9a22.06,22.06,0,0,0,15.5-6q6.5-6,6.5-16V30a21.17,21.17,0,0,0-6.5-15.5A21.17,21.17,0,0,0,264,8H236a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,214,30V89q0,10,6.5,16a22.06,22.06,0,0,0,15.5,6Z",
|
|
@@ -6632,13 +6632,13 @@ function yl() {
|
|
|
6632
6632
|
) }) });
|
|
6633
6633
|
}
|
|
6634
6634
|
function bl() {
|
|
6635
|
-
return /* @__PURE__ */ n.jsxs("div", { className:
|
|
6635
|
+
return /* @__PURE__ */ n.jsxs("div", { className: Hn.l, children: [
|
|
6636
6636
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
6637
6637
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
6638
6638
|
/* @__PURE__ */ n.jsx("i", {})
|
|
6639
6639
|
] });
|
|
6640
6640
|
}
|
|
6641
|
-
const lc = { Spinner: yl, Inline: bl }, wl = "_s_t9swc_1",
|
|
6641
|
+
const lc = { Spinner: yl, Inline: bl }, wl = "_s_t9swc_1", mn = {
|
|
6642
6642
|
s: wl
|
|
6643
6643
|
};
|
|
6644
6644
|
let $t;
|
|
@@ -6654,7 +6654,7 @@ function Sl({ className: e, placeholder: t }) {
|
|
|
6654
6654
|
});
|
|
6655
6655
|
};
|
|
6656
6656
|
const i = {};
|
|
6657
|
-
return t && (i.placeholder = t), i.className = e ? [
|
|
6657
|
+
return t && (i.placeholder = t), i.className = e ? [mn.s, e].join(" ") : mn.s, /* @__PURE__ */ n.jsx(
|
|
6658
6658
|
"div",
|
|
6659
6659
|
{
|
|
6660
6660
|
onPaste: s,
|
|
@@ -6674,14 +6674,14 @@ function El(e, t, a) {
|
|
|
6674
6674
|
i++, i <= l || (s++, i = 1, o[s] = []), o[s].push(a[_]);
|
|
6675
6675
|
}), o;
|
|
6676
6676
|
}
|
|
6677
|
-
function
|
|
6677
|
+
function Rl(e) {
|
|
6678
6678
|
$t = e;
|
|
6679
6679
|
}
|
|
6680
|
-
function
|
|
6680
|
+
function Nl(e) {
|
|
6681
6681
|
$t = e;
|
|
6682
6682
|
}
|
|
6683
|
-
const cc = { Field: Sl, Run: El, Get:
|
|
6684
|
-
f:
|
|
6683
|
+
const cc = { Field: Sl, Run: El, Get: Rl, useValue: Nl }, Il = "_f_q3r0i_1", Tl = {
|
|
6684
|
+
f: Il
|
|
6685
6685
|
};
|
|
6686
6686
|
let ae = {};
|
|
6687
6687
|
function Dl(e, t) {
|
|
@@ -6753,7 +6753,7 @@ function Ml() {
|
|
|
6753
6753
|
/* @__PURE__ */ n.jsxs(
|
|
6754
6754
|
"div",
|
|
6755
6755
|
{
|
|
6756
|
-
className:
|
|
6756
|
+
className: Tl.f,
|
|
6757
6757
|
onClick: () => {
|
|
6758
6758
|
t({ type: "open", open: !0 });
|
|
6759
6759
|
},
|
|
@@ -6815,13 +6815,13 @@ function Bl(e, t, a, r) {
|
|
|
6815
6815
|
Number.parseInt(t[d]) !== 999 && (e = e.filter(
|
|
6816
6816
|
(u) => Number.parseInt(u[d]) === Number.parseInt(t[d])
|
|
6817
6817
|
));
|
|
6818
|
-
}),
|
|
6818
|
+
}), Vn(e.length)), e.forEach((d) => {
|
|
6819
6819
|
s.push(d.id);
|
|
6820
6820
|
}), s.forEach((d) => {
|
|
6821
6821
|
o++, o <= _ || (i++, o = 1, l[i] = []), l[i].push(a[d]);
|
|
6822
6822
|
}), l;
|
|
6823
6823
|
}
|
|
6824
|
-
function
|
|
6824
|
+
function Vn(e) {
|
|
6825
6825
|
ae.count(e);
|
|
6826
6826
|
}
|
|
6827
6827
|
function Pl({ data: e, state: t, dispatch: a }) {
|
|
@@ -6878,11 +6878,11 @@ function Ol({ data: e, head: t, state: a, dispatch: r, type: s }) {
|
|
|
6878
6878
|
}
|
|
6879
6879
|
);
|
|
6880
6880
|
}
|
|
6881
|
-
const dc = { Button: Ml, useValue: Fl, Set: Ll, Run: Bl, Count:
|
|
6881
|
+
const dc = { Button: Ml, useValue: Fl, Set: Ll, Run: Bl, Count: Vn, Reset: $l }, _c = { Bell: ls, Send: ss, Add: rs }, Al = "_p_djnh1_1", Gl = "_l_djnh1_38", qn = {
|
|
6882
6882
|
p: Al,
|
|
6883
|
-
l:
|
|
6883
|
+
l: Gl
|
|
6884
6884
|
};
|
|
6885
|
-
function
|
|
6885
|
+
function Zl(e) {
|
|
6886
6886
|
let t = 3, a = e.page, r = e.count, s = [], i = () => {
|
|
6887
6887
|
s.push({ page: 1 }), s.push({ text: "..." });
|
|
6888
6888
|
}, o = () => {
|
|
@@ -6900,7 +6900,7 @@ function zl(e) {
|
|
|
6900
6900
|
/* @__PURE__ */ n.jsx("i", { onClick: () => e.onChangePage(a + 1), children: /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ n.jsx("path", { d: "M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.19486 5.40705Z" }) }) })
|
|
6901
6901
|
] });
|
|
6902
6902
|
}
|
|
6903
|
-
function
|
|
6903
|
+
function zl(e, t) {
|
|
6904
6904
|
switch (t.type) {
|
|
6905
6905
|
case "load":
|
|
6906
6906
|
return {
|
|
@@ -6922,7 +6922,7 @@ function Gl(e, t) {
|
|
|
6922
6922
|
}
|
|
6923
6923
|
}
|
|
6924
6924
|
function Jn({ load: e, list: t, item: a }) {
|
|
6925
|
-
const r = x.useRef(null), [s, i] = x.useReducer(
|
|
6925
|
+
const r = x.useRef(null), [s, i] = x.useReducer(zl, {
|
|
6926
6926
|
load: !1,
|
|
6927
6927
|
list: [],
|
|
6928
6928
|
data: {},
|
|
@@ -6942,13 +6942,13 @@ function Jn({ load: e, list: t, item: a }) {
|
|
|
6942
6942
|
};
|
|
6943
6943
|
return x.useEffect(() => {
|
|
6944
6944
|
}, [s]), /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
6945
|
-
/* @__PURE__ */ n.jsx("div", { className: qn.l, ref: r, children: /* @__PURE__ */ n.jsx(
|
|
6945
|
+
/* @__PURE__ */ n.jsx("div", { className: qn.l, ref: r, children: /* @__PURE__ */ n.jsx(In, { "el-empty": "Данные не найдены", children: s.load && s.list !== void 0 ? s.list.map((l) => /* @__PURE__ */ n.jsx(s.item, { data: l }, l.id)) : /* @__PURE__ */ n.jsxs("div", { "type-data": "load", children: [
|
|
6946
6946
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
6947
6947
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
6948
6948
|
/* @__PURE__ */ n.jsx("i", {})
|
|
6949
6949
|
] }) }) }),
|
|
6950
6950
|
s.load && s.list !== void 0 ? /* @__PURE__ */ n.jsx(
|
|
6951
|
-
|
|
6951
|
+
Zl,
|
|
6952
6952
|
{
|
|
6953
6953
|
page: s.page,
|
|
6954
6954
|
count: s.size,
|
|
@@ -6962,7 +6962,7 @@ function Wl({ head: e, load: t, list: a, item: r }) {
|
|
|
6962
6962
|
const s = e;
|
|
6963
6963
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
6964
6964
|
/* @__PURE__ */ n.jsx(s, {}),
|
|
6965
|
-
|
|
6965
|
+
Rt.getSetting("s05") === 1 ? /* @__PURE__ */ n.jsx(Jn, { list: a, load: t, item: r }) : /* @__PURE__ */ n.jsx(ol, { list: a, load: t, item: r })
|
|
6966
6966
|
] });
|
|
6967
6967
|
}
|
|
6968
6968
|
function Kl(e, t) {
|
|
@@ -7010,10 +7010,10 @@ const bt = {};
|
|
|
7010
7010
|
function Ul(e) {
|
|
7011
7011
|
bt.get = e;
|
|
7012
7012
|
}
|
|
7013
|
-
function
|
|
7013
|
+
function Yl(e) {
|
|
7014
7014
|
bt.get && bt.get(e);
|
|
7015
7015
|
}
|
|
7016
|
-
const
|
|
7016
|
+
const mc = { View: Wl, Reducer: Kl, useValue: Ul, setValue: Yl }, fc = { Get: ms }, hc = { Open: Ji };
|
|
7017
7017
|
function xc({ active: e, onActive: t, id: a, name: r }) {
|
|
7018
7018
|
const [s, i] = x.useState(!!e);
|
|
7019
7019
|
x.useEffect(() => {
|
|
@@ -7039,8 +7039,8 @@ export {
|
|
|
7039
7039
|
nc as Badge,
|
|
7040
7040
|
Xl as Bookmarks,
|
|
7041
7041
|
ql as Browser,
|
|
7042
|
-
|
|
7043
|
-
|
|
7042
|
+
mi as Button,
|
|
7043
|
+
fc as Company,
|
|
7044
7044
|
un as Component,
|
|
7045
7045
|
ac as DataBase,
|
|
7046
7046
|
Ee as Event,
|
|
@@ -7053,14 +7053,14 @@ export {
|
|
|
7053
7053
|
ec as Icon,
|
|
7054
7054
|
lo as Init,
|
|
7055
7055
|
oc as Input,
|
|
7056
|
-
|
|
7056
|
+
mc as List,
|
|
7057
7057
|
lc as Loading,
|
|
7058
7058
|
Qe as Modal,
|
|
7059
7059
|
Be as Notice,
|
|
7060
7060
|
_c as Notifications,
|
|
7061
7061
|
uc as Pagination,
|
|
7062
7062
|
hc as Phone,
|
|
7063
|
-
|
|
7063
|
+
Ve as Router,
|
|
7064
7064
|
ol as Scrolling,
|
|
7065
7065
|
cc as Search,
|
|
7066
7066
|
Jl as Setting,
|
|
@@ -7070,6 +7070,6 @@ export {
|
|
|
7070
7070
|
xc as Switch,
|
|
7071
7071
|
ho as Tabs,
|
|
7072
7072
|
tc as Triage,
|
|
7073
|
-
|
|
7073
|
+
Rt as User,
|
|
7074
7074
|
O as WebRTC
|
|
7075
7075
|
};
|