elcrm 0.9.78 → 0.9.79
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 +402 -394
- package/dist/index.umd.js +7 -7
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './index.css';var za = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import h, { createContext as
|
|
2
|
+
var Wa = (e, t, n) => t in e ? za(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var jt = (e, t, n) => Wa(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
+
import h, { createContext as Ka, useContext as Ha, createElement as wn } from "react";
|
|
5
5
|
let Bt = {
|
|
6
6
|
enCode: (e) => e,
|
|
7
7
|
deCode: (e) => e
|
|
@@ -58,39 +58,39 @@ function Va() {
|
|
|
58
58
|
{
|
|
59
59
|
for (var v = arguments.length, E = new Array(v > 1 ? v - 1 : 0), B = 1; B < v; B++)
|
|
60
60
|
E[B - 1] = arguments[B];
|
|
61
|
-
|
|
61
|
+
T("error", d, E);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function T(d, v, E) {
|
|
65
65
|
{
|
|
66
|
-
var B = j.ReactDebugCurrentFrame,
|
|
67
|
-
|
|
68
|
-
var U = E.map(function(
|
|
69
|
-
return String(
|
|
66
|
+
var B = j.ReactDebugCurrentFrame, G = B.getStackAddendum();
|
|
67
|
+
G !== "" && (v += "%s", E = E.concat([G]));
|
|
68
|
+
var U = E.map(function(A) {
|
|
69
|
+
return String(A);
|
|
70
70
|
});
|
|
71
71
|
U.unshift("Warning: " + v), Function.prototype.apply.call(console[d], console, U);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
var L = !1, k = !1, b = !1, S = !1, w = !1,
|
|
75
|
-
|
|
76
|
-
function
|
|
74
|
+
var L = !1, k = !1, b = !1, S = !1, w = !1, Z;
|
|
75
|
+
Z = Symbol.for("react.module.reference");
|
|
76
|
+
function I(d) {
|
|
77
77
|
return !!(typeof d == "string" || typeof d == "function" || d === r || d === i || w || d === s || d === _ || d === u || S || d === m || L || k || b || typeof d == "object" && d !== null && (d.$$typeof === f || d.$$typeof === x || d.$$typeof === o || d.$$typeof === l || d.$$typeof === c || // This needs to include all possible module reference object
|
|
78
78
|
// types supported by any Flight configuration anywhere since
|
|
79
79
|
// we don't know which Flight build this will end up being used
|
|
80
80
|
// with.
|
|
81
|
-
d.$$typeof ===
|
|
81
|
+
d.$$typeof === Z || d.getModuleId !== void 0));
|
|
82
82
|
}
|
|
83
83
|
function M(d, v, E) {
|
|
84
84
|
var B = d.displayName;
|
|
85
85
|
if (B)
|
|
86
86
|
return B;
|
|
87
|
-
var
|
|
88
|
-
return
|
|
87
|
+
var G = v.displayName || v.name || "";
|
|
88
|
+
return G !== "" ? E + "(" + G + ")" : E;
|
|
89
89
|
}
|
|
90
90
|
function $(d) {
|
|
91
91
|
return d.displayName || "Context";
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function N(d) {
|
|
94
94
|
if (d == null)
|
|
95
95
|
return null;
|
|
96
96
|
if (typeof d.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof d == "function")
|
|
@@ -123,11 +123,11 @@ function Va() {
|
|
|
123
123
|
return M(d, d.render, "ForwardRef");
|
|
124
124
|
case x:
|
|
125
125
|
var B = d.displayName || null;
|
|
126
|
-
return B !== null ? B :
|
|
126
|
+
return B !== null ? B : N(d.type) || "Memo";
|
|
127
127
|
case f: {
|
|
128
|
-
var
|
|
128
|
+
var G = d, U = G._payload, A = G._init;
|
|
129
129
|
try {
|
|
130
|
-
return
|
|
130
|
+
return N(A(U));
|
|
131
131
|
} catch {
|
|
132
132
|
return null;
|
|
133
133
|
}
|
|
@@ -135,13 +135,13 @@ function Va() {
|
|
|
135
135
|
}
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
138
|
-
var F = Object.assign,
|
|
138
|
+
var F = Object.assign, K = 0, ne, ie, xe, De, Be, Ve, Ht;
|
|
139
139
|
function Yt() {
|
|
140
140
|
}
|
|
141
141
|
Yt.__reactDisabledLog = !0;
|
|
142
142
|
function ga() {
|
|
143
143
|
{
|
|
144
|
-
if (
|
|
144
|
+
if (K === 0) {
|
|
145
145
|
ne = console.log, ie = console.info, xe = console.warn, De = console.error, Be = console.group, Ve = console.groupCollapsed, Ht = console.groupEnd;
|
|
146
146
|
var d = {
|
|
147
147
|
configurable: !0,
|
|
@@ -159,12 +159,12 @@ function Va() {
|
|
|
159
159
|
groupEnd: d
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
|
-
|
|
162
|
+
K++;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
function xa() {
|
|
166
166
|
{
|
|
167
|
-
if (
|
|
167
|
+
if (K--, K === 0) {
|
|
168
168
|
var d = {
|
|
169
169
|
configurable: !0,
|
|
170
170
|
enumerable: !0,
|
|
@@ -194,7 +194,7 @@ function Va() {
|
|
|
194
194
|
})
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
|
-
|
|
197
|
+
K < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
var _t = j.ReactCurrentDispatcher, ut;
|
|
@@ -203,8 +203,8 @@ function Va() {
|
|
|
203
203
|
if (ut === void 0)
|
|
204
204
|
try {
|
|
205
205
|
throw Error();
|
|
206
|
-
} catch (
|
|
207
|
-
var B =
|
|
206
|
+
} catch (G) {
|
|
207
|
+
var B = G.stack.trim().match(/\n( *(at )?)/);
|
|
208
208
|
ut = B && B[1] || "";
|
|
209
209
|
}
|
|
210
210
|
return `
|
|
@@ -226,33 +226,33 @@ function Va() {
|
|
|
226
226
|
}
|
|
227
227
|
var B;
|
|
228
228
|
ft = !0;
|
|
229
|
-
var
|
|
229
|
+
var G = Error.prepareStackTrace;
|
|
230
230
|
Error.prepareStackTrace = void 0;
|
|
231
231
|
var U;
|
|
232
232
|
U = _t.current, _t.current = null, ga();
|
|
233
233
|
try {
|
|
234
234
|
if (v) {
|
|
235
|
-
var
|
|
235
|
+
var A = function() {
|
|
236
236
|
throw Error();
|
|
237
237
|
};
|
|
238
|
-
if (Object.defineProperty(
|
|
238
|
+
if (Object.defineProperty(A.prototype, "props", {
|
|
239
239
|
set: function() {
|
|
240
240
|
throw Error();
|
|
241
241
|
}
|
|
242
242
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
243
243
|
try {
|
|
244
|
-
Reflect.construct(
|
|
244
|
+
Reflect.construct(A, []);
|
|
245
245
|
} catch (ae) {
|
|
246
246
|
B = ae;
|
|
247
247
|
}
|
|
248
|
-
Reflect.construct(d, [],
|
|
248
|
+
Reflect.construct(d, [], A);
|
|
249
249
|
} else {
|
|
250
250
|
try {
|
|
251
|
-
|
|
251
|
+
A.call();
|
|
252
252
|
} catch (ae) {
|
|
253
253
|
B = ae;
|
|
254
254
|
}
|
|
255
|
-
d.call(
|
|
255
|
+
d.call(A.prototype);
|
|
256
256
|
}
|
|
257
257
|
} else {
|
|
258
258
|
try {
|
|
@@ -282,15 +282,15 @@ function Va() {
|
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
} finally {
|
|
285
|
-
ft = !1, _t.current = U, xa(), Error.prepareStackTrace =
|
|
285
|
+
ft = !1, _t.current = U, xa(), Error.prepareStackTrace = G;
|
|
286
286
|
}
|
|
287
287
|
var Re = d ? d.displayName || d.name : "", we = Re ? Xe(Re) : "";
|
|
288
288
|
return typeof d == "function" && Qe.set(d, we), we;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function ja(d, v, E) {
|
|
291
291
|
return qt(d, !1);
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Ca(d) {
|
|
294
294
|
var v = d.prototype;
|
|
295
295
|
return !!(v && v.isReactComponent);
|
|
296
296
|
}
|
|
@@ -298,7 +298,7 @@ function Va() {
|
|
|
298
298
|
if (d == null)
|
|
299
299
|
return "";
|
|
300
300
|
if (typeof d == "function")
|
|
301
|
-
return qt(d,
|
|
301
|
+
return qt(d, Ca(d));
|
|
302
302
|
if (typeof d == "string")
|
|
303
303
|
return Xe(d);
|
|
304
304
|
switch (d) {
|
|
@@ -310,13 +310,13 @@ function Va() {
|
|
|
310
310
|
if (typeof d == "object")
|
|
311
311
|
switch (d.$$typeof) {
|
|
312
312
|
case c:
|
|
313
|
-
return
|
|
313
|
+
return ja(d.render);
|
|
314
314
|
case x:
|
|
315
315
|
return et(d.type, v, E);
|
|
316
316
|
case f: {
|
|
317
|
-
var B = d,
|
|
317
|
+
var B = d, G = B._payload, U = B._init;
|
|
318
318
|
try {
|
|
319
|
-
return et(U(
|
|
319
|
+
return et(U(G), v, E);
|
|
320
320
|
} catch {
|
|
321
321
|
}
|
|
322
322
|
}
|
|
@@ -331,22 +331,22 @@ function Va() {
|
|
|
331
331
|
} else
|
|
332
332
|
Vt.setExtraStackFrame(null);
|
|
333
333
|
}
|
|
334
|
-
function ka(d, v, E, B,
|
|
334
|
+
function ka(d, v, E, B, G) {
|
|
335
335
|
{
|
|
336
336
|
var U = Function.call.bind(Fe);
|
|
337
|
-
for (var
|
|
338
|
-
if (U(d,
|
|
337
|
+
for (var A in d)
|
|
338
|
+
if (U(d, A)) {
|
|
339
339
|
var O = void 0;
|
|
340
340
|
try {
|
|
341
|
-
if (typeof d[
|
|
342
|
-
var ee = Error((B || "React class") + ": " + E + " type `" +
|
|
341
|
+
if (typeof d[A] != "function") {
|
|
342
|
+
var ee = Error((B || "React class") + ": " + E + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof d[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
343
343
|
throw ee.name = "Invariant Violation", ee;
|
|
344
344
|
}
|
|
345
|
-
O = d[
|
|
345
|
+
O = d[A](v, A, B, E, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
346
346
|
} catch (Y) {
|
|
347
347
|
O = Y;
|
|
348
348
|
}
|
|
349
|
-
O && !(O instanceof Error) && (tt(
|
|
349
|
+
O && !(O instanceof Error) && (tt(G), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", B || "React class", E, A, typeof O), tt(null)), O instanceof Error && !(O.message in Jt) && (Jt[O.message] = !0, tt(G), y("Failed %s type: %s", E, O.message), tt(null));
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
}
|
|
@@ -399,8 +399,8 @@ function Va() {
|
|
|
399
399
|
}
|
|
400
400
|
function Ia(d, v) {
|
|
401
401
|
if (typeof d.ref == "string" && Pe.current && v && Pe.current.stateNode !== v) {
|
|
402
|
-
var E =
|
|
403
|
-
ht[E] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
|
402
|
+
var E = N(Pe.current.type);
|
|
403
|
+
ht[E] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', N(Pe.current.type), d.ref), ht[E] = !0);
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
406
|
function Ra(d, v) {
|
|
@@ -425,7 +425,7 @@ function Va() {
|
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
var Ta = function(d, v, E, B,
|
|
428
|
+
var Ta = function(d, v, E, B, G, U, A) {
|
|
429
429
|
var O = {
|
|
430
430
|
// This tag allows us to uniquely identify this as a React Element
|
|
431
431
|
$$typeof: t,
|
|
@@ -433,7 +433,7 @@ function Va() {
|
|
|
433
433
|
type: d,
|
|
434
434
|
key: v,
|
|
435
435
|
ref: E,
|
|
436
|
-
props:
|
|
436
|
+
props: A,
|
|
437
437
|
// Record the component responsible for creating this element.
|
|
438
438
|
_owner: U
|
|
439
439
|
};
|
|
@@ -451,25 +451,25 @@ function Va() {
|
|
|
451
451
|
configurable: !1,
|
|
452
452
|
enumerable: !1,
|
|
453
453
|
writable: !1,
|
|
454
|
-
value:
|
|
454
|
+
value: G
|
|
455
455
|
}), Object.freeze && (Object.freeze(O.props), Object.freeze(O)), O;
|
|
456
456
|
};
|
|
457
|
-
function Ma(d, v, E, B,
|
|
457
|
+
function Ma(d, v, E, B, G) {
|
|
458
458
|
{
|
|
459
|
-
var U,
|
|
460
|
-
E !== void 0 && (Qt(E), O = "" + E), Da(v) && (Qt(v.key), O = "" + v.key), Ea(v) && (ee = v.ref, Ia(v,
|
|
459
|
+
var U, A = {}, O = null, ee = null;
|
|
460
|
+
E !== void 0 && (Qt(E), O = "" + E), Da(v) && (Qt(v.key), O = "" + v.key), Ea(v) && (ee = v.ref, Ia(v, G));
|
|
461
461
|
for (U in v)
|
|
462
|
-
Fe.call(v, U) && !Sa.hasOwnProperty(U) && (
|
|
462
|
+
Fe.call(v, U) && !Sa.hasOwnProperty(U) && (A[U] = v[U]);
|
|
463
463
|
if (d && d.defaultProps) {
|
|
464
464
|
var Y = d.defaultProps;
|
|
465
465
|
for (U in Y)
|
|
466
|
-
|
|
466
|
+
A[U] === void 0 && (A[U] = Y[U]);
|
|
467
467
|
}
|
|
468
468
|
if (O || ee) {
|
|
469
469
|
var J = typeof d == "function" ? d.displayName || d.name || "Unknown" : d;
|
|
470
|
-
O && Ra(
|
|
470
|
+
O && Ra(A, J), ee && Na(A, J);
|
|
471
471
|
}
|
|
472
|
-
return Ta(d, O, ee,
|
|
472
|
+
return Ta(d, O, ee, G, B, Pe.current, A);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
var pt = j.ReactCurrentOwner, nn = j.ReactDebugCurrentFrame;
|
|
@@ -488,7 +488,7 @@ function Va() {
|
|
|
488
488
|
function an() {
|
|
489
489
|
{
|
|
490
490
|
if (pt.current) {
|
|
491
|
-
var d =
|
|
491
|
+
var d = N(pt.current.type);
|
|
492
492
|
if (d)
|
|
493
493
|
return `
|
|
494
494
|
|
|
@@ -523,7 +523,7 @@ Check the top-level render call using <` + E + ">.");
|
|
|
523
523
|
return;
|
|
524
524
|
rn[E] = !0;
|
|
525
525
|
var B = "";
|
|
526
|
-
d && d._owner && d._owner !== pt.current && (B = " It was passed a child from " +
|
|
526
|
+
d && d._owner && d._owner !== pt.current && (B = " It was passed a child from " + N(d._owner.type) + "."), Ie(d), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', E, B), Ie(null);
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
function on(d, v) {
|
|
@@ -538,10 +538,10 @@ Check the top-level render call using <` + E + ">.");
|
|
|
538
538
|
else if (xt(d))
|
|
539
539
|
d._store && (d._store.validated = !0);
|
|
540
540
|
else if (d) {
|
|
541
|
-
var
|
|
542
|
-
if (typeof
|
|
543
|
-
for (var U =
|
|
544
|
-
xt(
|
|
541
|
+
var G = p(d);
|
|
542
|
+
if (typeof G == "function" && G !== d.entries)
|
|
543
|
+
for (var U = G.call(d), A; !(A = U.next()).done; )
|
|
544
|
+
xt(A.value) && sn(A.value, v);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
@@ -560,12 +560,12 @@ Check the top-level render call using <` + E + ">.");
|
|
|
560
560
|
else
|
|
561
561
|
return;
|
|
562
562
|
if (E) {
|
|
563
|
-
var B =
|
|
563
|
+
var B = N(v);
|
|
564
564
|
ka(E, d.props, "prop", B, d);
|
|
565
565
|
} else if (v.PropTypes !== void 0 && !gt) {
|
|
566
566
|
gt = !0;
|
|
567
|
-
var
|
|
568
|
-
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
567
|
+
var G = N(v);
|
|
568
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", G || "Unknown");
|
|
569
569
|
}
|
|
570
570
|
typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
571
571
|
}
|
|
@@ -583,21 +583,21 @@ Check the top-level render call using <` + E + ">.");
|
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
var ln = {};
|
|
586
|
-
function cn(d, v, E, B,
|
|
586
|
+
function cn(d, v, E, B, G, U) {
|
|
587
587
|
{
|
|
588
|
-
var
|
|
589
|
-
if (!
|
|
588
|
+
var A = I(d);
|
|
589
|
+
if (!A) {
|
|
590
590
|
var O = "";
|
|
591
591
|
(d === void 0 || typeof d == "object" && d !== null && Object.keys(d).length === 0) && (O += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
592
592
|
var ee = La();
|
|
593
593
|
ee ? O += ee : O += an();
|
|
594
594
|
var Y;
|
|
595
|
-
d === null ? Y = "null" : mt(d) ? Y = "array" : d !== void 0 && d.$$typeof === t ? (Y = "<" + (
|
|
595
|
+
d === null ? Y = "null" : mt(d) ? Y = "array" : d !== void 0 && d.$$typeof === t ? (Y = "<" + (N(d.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : Y = typeof d, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Y, O);
|
|
596
596
|
}
|
|
597
|
-
var J = Ma(d, v, E,
|
|
597
|
+
var J = Ma(d, v, E, G, U);
|
|
598
598
|
if (J == null)
|
|
599
599
|
return J;
|
|
600
|
-
if (
|
|
600
|
+
if (A) {
|
|
601
601
|
var le = v.children;
|
|
602
602
|
if (le !== void 0)
|
|
603
603
|
if (B)
|
|
@@ -611,7 +611,7 @@ Check the top-level render call using <` + E + ">.");
|
|
|
611
611
|
on(le, d);
|
|
612
612
|
}
|
|
613
613
|
if (Fe.call(v, "key")) {
|
|
614
|
-
var we =
|
|
614
|
+
var we = N(d), ae = Object.keys(v).filter(function(Ua) {
|
|
615
615
|
return Ua !== "key";
|
|
616
616
|
}), vt = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
617
|
if (!ln[we + vt]) {
|
|
@@ -657,7 +657,7 @@ function rr() {
|
|
|
657
657
|
t(e.filter((r) => r.key !== n));
|
|
658
658
|
}, e.length === 0 ? "" : /* @__PURE__ */ a.jsx("ul", { id: "notice", className: ar.notice, children: e.map((n) => n.item) });
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function Ke({ data: e }) {
|
|
661
661
|
let [t, n] = h.useState("show");
|
|
662
662
|
h.useEffect(() => {
|
|
663
663
|
e.hide && (setTimeout(function() {
|
|
@@ -706,23 +706,23 @@ function ir(e, t = !0) {
|
|
|
706
706
|
}
|
|
707
707
|
function or(e) {
|
|
708
708
|
let t = Date.now(), n = { key: t, hide: !0, ...e };
|
|
709
|
-
pe.set({ item: /* @__PURE__ */ a.jsx(
|
|
709
|
+
pe.set({ item: /* @__PURE__ */ a.jsx(Ke, { data: n }, t), key: t });
|
|
710
710
|
}
|
|
711
711
|
function lr(e, t = !0) {
|
|
712
712
|
let n = Date.now(), r = { key: n, text: e, hide: t, type: "error" };
|
|
713
|
-
pe.set({ item: /* @__PURE__ */ a.jsx(
|
|
713
|
+
pe.set({ item: /* @__PURE__ */ a.jsx(Ke, { data: r }, n), key: n });
|
|
714
714
|
}
|
|
715
715
|
function cr(e, t = !0) {
|
|
716
716
|
let n = Date.now(), r = { key: n, text: e, hide: t, type: "success" };
|
|
717
|
-
pe.set({ item: /* @__PURE__ */ a.jsx(
|
|
717
|
+
pe.set({ item: /* @__PURE__ */ a.jsx(Ke, { data: r }, n), key: n });
|
|
718
718
|
}
|
|
719
719
|
function dr(e, t = !0) {
|
|
720
720
|
let n = Date.now(), r = { key: n, text: e, hide: t, type: "remark" };
|
|
721
|
-
pe.set({ item: /* @__PURE__ */ a.jsx(
|
|
721
|
+
pe.set({ item: /* @__PURE__ */ a.jsx(Ke, { data: r }, n), key: n });
|
|
722
722
|
}
|
|
723
723
|
function _r(e, t = !0) {
|
|
724
724
|
let n = Date.now(), r = { key: n, text: e, hide: t, type: "copy" };
|
|
725
|
-
pe.set({ item: /* @__PURE__ */ a.jsx(
|
|
725
|
+
pe.set({ item: /* @__PURE__ */ a.jsx(Ke, { data: r }, n), key: n });
|
|
726
726
|
}
|
|
727
727
|
const Se = {};
|
|
728
728
|
Se.error = () => /* @__PURE__ */ a.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
@@ -806,7 +806,7 @@ function vr() {
|
|
|
806
806
|
let e = localStorage.getItem("a");
|
|
807
807
|
return e !== "" && e !== "undefined" && e !== null ? e : "";
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function jr(e) {
|
|
810
810
|
localStorage.setItem("p", P.enCode(e));
|
|
811
811
|
}
|
|
812
812
|
function bt() {
|
|
@@ -817,7 +817,7 @@ function bt() {
|
|
|
817
817
|
} else
|
|
818
818
|
return te(), !1;
|
|
819
819
|
}
|
|
820
|
-
function
|
|
820
|
+
function Cr() {
|
|
821
821
|
const [e, t] = h.useState(Dn()), n = (r) => {
|
|
822
822
|
t(r);
|
|
823
823
|
};
|
|
@@ -953,7 +953,7 @@ function He(e) {
|
|
|
953
953
|
function Or(e, t) {
|
|
954
954
|
me.data = { ...me.data, [e]: t }, localStorage.setItem("q", P.enCode(me.data));
|
|
955
955
|
}
|
|
956
|
-
function
|
|
956
|
+
function je(e, t) {
|
|
957
957
|
if (!me.data) {
|
|
958
958
|
let n = localStorage.getItem("q");
|
|
959
959
|
n && (me.data = P.deCode(n));
|
|
@@ -983,14 +983,14 @@ function zr(e) {
|
|
|
983
983
|
} else
|
|
984
984
|
return te(), !1;
|
|
985
985
|
}
|
|
986
|
-
function
|
|
986
|
+
function Wr() {
|
|
987
987
|
let e = localStorage.getItem("u");
|
|
988
988
|
return e !== "" && e !== "undefined" && e !== null ? P.deCode(e) : !1;
|
|
989
989
|
}
|
|
990
990
|
function un(e) {
|
|
991
991
|
localStorage.setItem("e", P.enCode(e));
|
|
992
992
|
}
|
|
993
|
-
function
|
|
993
|
+
function Kr() {
|
|
994
994
|
let e = localStorage.getItem("e");
|
|
995
995
|
if (e !== "" && e !== "undefined" && e !== null)
|
|
996
996
|
try {
|
|
@@ -1057,7 +1057,7 @@ const V = {
|
|
|
1057
1057
|
setSSID: pr,
|
|
1058
1058
|
getSSID: gr,
|
|
1059
1059
|
getPORT: bt,
|
|
1060
|
-
setPORT:
|
|
1060
|
+
setPORT: jr,
|
|
1061
1061
|
setAUTH: xr,
|
|
1062
1062
|
getAUTH: vr,
|
|
1063
1063
|
Logaut: te,
|
|
@@ -1071,13 +1071,13 @@ const V = {
|
|
|
1071
1071
|
getCompany: Bn,
|
|
1072
1072
|
setSelect: He,
|
|
1073
1073
|
addSelect: Or,
|
|
1074
|
-
getSelect:
|
|
1074
|
+
getSelect: je,
|
|
1075
1075
|
setApi: Ar,
|
|
1076
1076
|
getApi: Gr,
|
|
1077
1077
|
setPayment: Zr,
|
|
1078
1078
|
getPayment: Ur,
|
|
1079
1079
|
setUser: Fn,
|
|
1080
|
-
isUser:
|
|
1080
|
+
isUser: Wr,
|
|
1081
1081
|
getUser: zr,
|
|
1082
1082
|
getDefaultModules: fr,
|
|
1083
1083
|
getBase: Yr,
|
|
@@ -1220,7 +1220,7 @@ function vs(e, t = {}, n = Me ? V.getSSID() : V.getAUTH()) {
|
|
|
1220
1220
|
});
|
|
1221
1221
|
});
|
|
1222
1222
|
}
|
|
1223
|
-
function
|
|
1223
|
+
function js(e, t = {}, n = Me ? V.getSSID() : V.getAUTH()) {
|
|
1224
1224
|
const [r, s] = h.useState({ status: "load" }), i = async (o) => {
|
|
1225
1225
|
let l = await qe(e, o, n);
|
|
1226
1226
|
if (l.status === "logaut" || l.status === "logout")
|
|
@@ -1235,7 +1235,7 @@ let Gn = {
|
|
|
1235
1235
|
"Content-type": "application/json;charset=utf-8",
|
|
1236
1236
|
ssid: V.getAUTH() || ""
|
|
1237
1237
|
};
|
|
1238
|
-
async function
|
|
1238
|
+
async function Cs(e, t, n = {}) {
|
|
1239
1239
|
try {
|
|
1240
1240
|
return await (await qe("https://" + e + "/" + t, {
|
|
1241
1241
|
method: "POST",
|
|
@@ -1270,11 +1270,11 @@ const St = {
|
|
|
1270
1270
|
image: ps,
|
|
1271
1271
|
fetch: qe,
|
|
1272
1272
|
modules: vs,
|
|
1273
|
-
remoute:
|
|
1273
|
+
remoute: Cs,
|
|
1274
1274
|
url: ms,
|
|
1275
1275
|
test: bs,
|
|
1276
1276
|
telegram: ks,
|
|
1277
|
-
use:
|
|
1277
|
+
use: js,
|
|
1278
1278
|
token: ys,
|
|
1279
1279
|
formData: xs
|
|
1280
1280
|
};
|
|
@@ -1316,16 +1316,16 @@ function Ss(e) {
|
|
|
1316
1316
|
};
|
|
1317
1317
|
}
|
|
1318
1318
|
const Es = (e) => {
|
|
1319
|
-
function t(
|
|
1319
|
+
function t(T, L) {
|
|
1320
1320
|
var k, S, b;
|
|
1321
|
-
|
|
1322
|
-
for (var k = [], b = 0, S =
|
|
1323
|
-
k.push(
|
|
1321
|
+
T = T ?? "", L = L ?? 1;
|
|
1322
|
+
for (var k = [], b = 0, S = T.length; b < S; )
|
|
1323
|
+
k.push(T.slice(b, b += L));
|
|
1324
1324
|
return k;
|
|
1325
1325
|
}
|
|
1326
|
-
function n(
|
|
1326
|
+
function n(T, L) {
|
|
1327
1327
|
var k = [2, 0, 1, 1, 1, 2];
|
|
1328
|
-
return L[
|
|
1328
|
+
return L[T > 4 && T < 20 ? 2 : k[Math.min(T, 5)]];
|
|
1329
1329
|
}
|
|
1330
1330
|
var r = {
|
|
1331
1331
|
null: "ноль",
|
|
@@ -1683,10 +1683,10 @@ function Fs(e, t) {
|
|
|
1683
1683
|
return e > 10 && e < 20 ? t[2] : n > 1 && n < 5 ? t[1] : n === 1 ? t[0] : t[2];
|
|
1684
1684
|
}
|
|
1685
1685
|
function Ps(e, t, n) {
|
|
1686
|
-
return
|
|
1686
|
+
return je(e, t) ? je(e, t).n : n || "";
|
|
1687
1687
|
}
|
|
1688
1688
|
function Os(e, t, n, r) {
|
|
1689
|
-
return
|
|
1689
|
+
return je(e, t) ? je(e, t)[n] : r || "";
|
|
1690
1690
|
}
|
|
1691
1691
|
function As() {
|
|
1692
1692
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
@@ -1720,7 +1720,7 @@ function Us(e) {
|
|
|
1720
1720
|
function zs(e) {
|
|
1721
1721
|
return ["number", "string"].includes(typeof e) ? !isNaN(Number(e)) && !isNaN(parseFloat(e)) : !1;
|
|
1722
1722
|
}
|
|
1723
|
-
function
|
|
1723
|
+
function Ws(e) {
|
|
1724
1724
|
var t = "", n = {
|
|
1725
1725
|
а: "a",
|
|
1726
1726
|
б: "b",
|
|
@@ -1793,7 +1793,7 @@ function Ks(e) {
|
|
|
1793
1793
|
n[e[r]] == null ? t += e[r] : t += n[e[r]];
|
|
1794
1794
|
return t;
|
|
1795
1795
|
}
|
|
1796
|
-
function
|
|
1796
|
+
function Ks(e, t, n = !1) {
|
|
1797
1797
|
return n ? e.sort((r, s) => s[t] - r[t]) : e.sort((r, s) => r[t] - s[t]);
|
|
1798
1798
|
}
|
|
1799
1799
|
function Hs(e, t) {
|
|
@@ -1820,12 +1820,12 @@ function Vs(e) {
|
|
|
1820
1820
|
}
|
|
1821
1821
|
const z = {
|
|
1822
1822
|
Age: Us,
|
|
1823
|
-
ArraySort:
|
|
1823
|
+
ArraySort: Ks,
|
|
1824
1824
|
ArrayGroup: Hs,
|
|
1825
1825
|
ArraySortDate: Ys,
|
|
1826
1826
|
ArraySortFunction: Js,
|
|
1827
1827
|
ArraySumma: qs,
|
|
1828
|
-
Translit:
|
|
1828
|
+
Translit: Ws,
|
|
1829
1829
|
Date: ws,
|
|
1830
1830
|
ColorBackground: Vs,
|
|
1831
1831
|
MoneyString: Es,
|
|
@@ -1916,7 +1916,7 @@ const Ze = {
|
|
|
1916
1916
|
Push: Mr,
|
|
1917
1917
|
setPage: kr,
|
|
1918
1918
|
getPage: Dn,
|
|
1919
|
-
usePage:
|
|
1919
|
+
usePage: Cr,
|
|
1920
1920
|
isPage: yr,
|
|
1921
1921
|
setModule: wr,
|
|
1922
1922
|
getModule: In,
|
|
@@ -2084,7 +2084,7 @@ function gi() {
|
|
|
2084
2084
|
news: [],
|
|
2085
2085
|
take: {}
|
|
2086
2086
|
});
|
|
2087
|
-
|
|
2087
|
+
Ce.useListener("bell", async (r) => {
|
|
2088
2088
|
}), pi(async (r) => {
|
|
2089
2089
|
switch (r.action) {
|
|
2090
2090
|
case "add":
|
|
@@ -2093,7 +2093,7 @@ function gi() {
|
|
|
2093
2093
|
}
|
|
2094
2094
|
}), h.useEffect(() => {
|
|
2095
2095
|
(async () => {
|
|
2096
|
-
let r = await
|
|
2096
|
+
let r = await Ce.Send({
|
|
2097
2097
|
type: "module",
|
|
2098
2098
|
module: "M00",
|
|
2099
2099
|
query: "x0054",
|
|
@@ -2182,7 +2182,7 @@ function gi() {
|
|
|
2182
2182
|
}
|
|
2183
2183
|
const xi = ({ data: e, dispatch: t }) => {
|
|
2184
2184
|
let n = async (r) => {
|
|
2185
|
-
t({ type: "hide", id: r.id }), await
|
|
2185
|
+
t({ type: "hide", id: r.id }), await Ce.Send({
|
|
2186
2186
|
type: "module",
|
|
2187
2187
|
module: "M00",
|
|
2188
2188
|
query: "x0055",
|
|
@@ -2198,7 +2198,7 @@ const xi = ({ data: e, dispatch: t }) => {
|
|
|
2198
2198
|
/* @__PURE__ */ a.jsx("div", { className: "--hide", "data-icon": "F038", onClick: () => n(e), children: " " })
|
|
2199
2199
|
] });
|
|
2200
2200
|
}, vi = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2xldCBhPVtdLHM9bnVsbDtvbmNvbm5lY3Q9ZnVuY3Rpb24obCl7dmFyIHQ9bC5zb3VyY2U7YS5wdXNoKHQpO2NvbnN0IG49ZT0+e3MhPT1udWxsJiZzLnJlYWR5U3RhdGU9PT0xP3Muc2VuZChKU09OLnN0cmluZ2lmeShlKSk6dC5wb3N0TWVzc2FnZSh7dHlwZToibm9TZW5kIn0pfTtsZXQgcj1lPT57aWYocyE9PW51bGwmJnMucmVhZHlTdGF0ZT09PTEpcmV0dXJuIHQucG9zdE1lc3NhZ2Uoe3R5cGU6InRydWUifSk7ZS5say5hZGRyZXNzPT09ImxvY2FsaG9zdCI/cz1uZXcgV2ViU29ja2V0KGB3czovL2xvY2FsaG9zdDoke2UubGsuc29ja2V0KzF9YCk6cz1uZXcgV2ViU29ja2V0KCJ3c3M6Ly8iK2UubGsuYWRkcmVzcysiOiIrKGUubGsuc29ja2V0KzEpKSxzLm9uZXJyb3I9KCk9PnQucG9zdE1lc3NhZ2Uoe3R5cGU6ImVycm9yIn0pLHMub25vcGVuPSgpPT57bih7dHlwZToiY29ubmVjdCIsdWtleTplLnVrZXl9KX0scy5vbm1lc3NhZ2U9bz0+e2xldCBjPUpTT04ucGFyc2Uoby5kYXRhKTthLmZvckVhY2goZD0+e2QucG9zdE1lc3NhZ2UoYyl9KX0scy5vbmNsb3NlPSgpPT50LnBvc3RNZXNzYWdlKHt0eXBlOiJjbG9zZWQifSl9O3Qub25tZXNzYWdlPWZ1bmN0aW9uKGUpe3N3aXRjaChlLmRhdGEudHlwZSl7Y2FzZSJsZW5ndGgiOnJldHVybiB0LnBvc3RNZXNzYWdlKGEubGVuZ3RoKTtjYXNlImFsbCI6cmV0dXJuIGEuZm9yRWFjaChvPT5vLnBvc3RNZXNzYWdlKHthbGw6YS5sZW5ndGh9KSk7Y2FzZSJzZW5kIjpyZXR1cm4gbihlLmRhdGEuanNvbik7Y2FzZSJjb25uZWN0IjpyZXR1cm4gcihlLmRhdGEpO2RlZmF1bHQ6dC5wb3N0TWVzc2FnZSh7dHlwZToiZGVmYXVsdCIsZGF0YTplLmRhdGEuanNvbn0pfX19fSkoKTsK";
|
|
2201
|
-
function
|
|
2201
|
+
function ji(e) {
|
|
2202
2202
|
return new SharedWorker(
|
|
2203
2203
|
"data:text/javascript;base64," + vi,
|
|
2204
2204
|
{
|
|
@@ -2206,12 +2206,12 @@ function Ci(e) {
|
|
|
2206
2206
|
}
|
|
2207
2207
|
);
|
|
2208
2208
|
}
|
|
2209
|
-
function
|
|
2209
|
+
function Ci(e) {
|
|
2210
2210
|
let t = {}, n = {};
|
|
2211
2211
|
e.data.forEach((s) => {
|
|
2212
2212
|
t[s.id] = { s: s.v, n: s.a }, n[s.id] = s;
|
|
2213
2213
|
});
|
|
2214
|
-
let r = { ...
|
|
2214
|
+
let r = { ...je(), 901: t };
|
|
2215
2215
|
$n(n), He(r);
|
|
2216
2216
|
}
|
|
2217
2217
|
function ki() {
|
|
@@ -2233,7 +2233,7 @@ let _e = {}, Q = {}, nt = [
|
|
|
2233
2233
|
function yi() {
|
|
2234
2234
|
const [e, t] = h.useState(!1), [n, r] = h.useState(!1);
|
|
2235
2235
|
function s(i) {
|
|
2236
|
-
const o = new
|
|
2236
|
+
const o = new ji();
|
|
2237
2237
|
_e.laodData = (l) => {
|
|
2238
2238
|
let c = nt.indexOf(l);
|
|
2239
2239
|
c >= 0 && nt.splice(c, 1), nt.length === 0 && t(!0);
|
|
@@ -2258,7 +2258,7 @@ Q.module = (e) => {
|
|
|
2258
2258
|
_e[e.listen] !== void 0 && (_e[e.listen](e), delete _e[e.listen]);
|
|
2259
2259
|
};
|
|
2260
2260
|
Q.bell = hi;
|
|
2261
|
-
Q.company =
|
|
2261
|
+
Q.company = Ci;
|
|
2262
2262
|
Q.info = (e) => {
|
|
2263
2263
|
let t = {};
|
|
2264
2264
|
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"), Fn(t), Mn(e.data.menu);
|
|
@@ -2300,7 +2300,7 @@ Q.users = (e) => {
|
|
|
2300
2300
|
number: o
|
|
2301
2301
|
};
|
|
2302
2302
|
});
|
|
2303
|
-
let n = { ...
|
|
2303
|
+
let n = { ...je(), user: t };
|
|
2304
2304
|
He(n);
|
|
2305
2305
|
};
|
|
2306
2306
|
Q.api = (e) => {
|
|
@@ -2313,13 +2313,13 @@ Q.delete = () => {
|
|
|
2313
2313
|
te();
|
|
2314
2314
|
};
|
|
2315
2315
|
Q.select = (e) => {
|
|
2316
|
-
let t = { ...
|
|
2316
|
+
let t = { ...je() };
|
|
2317
2317
|
e.data.forEach((n) => {
|
|
2318
2318
|
t[n.n] = JSON.parse(n.s);
|
|
2319
2319
|
}), He(t);
|
|
2320
2320
|
};
|
|
2321
2321
|
Q.job = (e) => {
|
|
2322
|
-
let t = { ...
|
|
2322
|
+
let t = { ...je() }, n = {};
|
|
2323
2323
|
Object.keys(e.data).forEach((r) => {
|
|
2324
2324
|
n[r] = { s: 1, n: e.data[r] };
|
|
2325
2325
|
}), t[1] = n, He(t);
|
|
@@ -2342,11 +2342,11 @@ function Si(e) {
|
|
|
2342
2342
|
}, e = { ...e, listen: t }, e.type = "modules", _e.send(e);
|
|
2343
2343
|
});
|
|
2344
2344
|
}
|
|
2345
|
-
const
|
|
2345
|
+
const Ce = { useConnect: yi, useListener: bi, setListener: wi, Send: Si };
|
|
2346
2346
|
function Ei({ children: e }) {
|
|
2347
2347
|
return /* @__PURE__ */ a.jsx("div", { className: "l", children: /* @__PURE__ */ a.jsx("ul", { children: e }) });
|
|
2348
2348
|
}
|
|
2349
|
-
const Di = "_white_1g9i9_14", Ii = "_black_1g9i9_28", Ri = "_shake_1g9i9_1", Ni = "_modal_1g9i9_77", Ti = "_o_1g9i9_87", Mi = "_w_1g9i9_14", Li = "_h_1g9i9_112", $i = "_l_1g9i9_126", Bi = "_t_1g9i9_164", Fi = "_m_1g9i9_77", Pi = "_x_1g9i9_172", Oi = "_s_1g9i9_182", Ai = "_c_1g9i9_187", Gi = "_f_1g9i9_192", Zi = "_row_1g9i9_214", Ui = "_col_1g9i9_226", zi = "_g_1g9i9_235",
|
|
2349
|
+
const Di = "_white_1g9i9_14", Ii = "_black_1g9i9_28", Ri = "_shake_1g9i9_1", Ni = "_modal_1g9i9_77", Ti = "_o_1g9i9_87", Mi = "_w_1g9i9_14", Li = "_h_1g9i9_112", $i = "_l_1g9i9_126", Bi = "_t_1g9i9_164", Fi = "_m_1g9i9_77", Pi = "_x_1g9i9_172", Oi = "_s_1g9i9_182", Ai = "_c_1g9i9_187", Gi = "_f_1g9i9_192", Zi = "_row_1g9i9_214", Ui = "_col_1g9i9_226", zi = "_g_1g9i9_235", Wi = "_active_1g9i9_355", Ki = "_coincidence_1g9i9_361", Hi = "_sa_1g9i9_397", Yi = "_ss_1g9i9_401", qi = "_sm_1g9i9_405", Ji = "_sl_1g9i9_409", Vi = "_sx_1g9i9_413", Xi = "_sf_1g9i9_417", Qi = "_btn_1g9i9_423", re = {
|
|
2350
2350
|
white: Di,
|
|
2351
2351
|
black: Ii,
|
|
2352
2352
|
shake: Ri,
|
|
@@ -2370,8 +2370,8 @@ const Di = "_white_1g9i9_14", Ii = "_black_1g9i9_28", Ri = "_shake_1g9i9_1", Ni
|
|
|
2370
2370
|
"size-l": "_size-l_1g9i9_298",
|
|
2371
2371
|
"size-x": "_size-x_1g9i9_302",
|
|
2372
2372
|
"size-f": "_size-f_1g9i9_306",
|
|
2373
|
-
active:
|
|
2374
|
-
coincidence:
|
|
2373
|
+
active: Wi,
|
|
2374
|
+
coincidence: Ki,
|
|
2375
2375
|
sa: Hi,
|
|
2376
2376
|
ss: Yi,
|
|
2377
2377
|
sm: qi,
|
|
@@ -2561,7 +2561,7 @@ function vo(e, t, n) {
|
|
|
2561
2561
|
r.default.Open(n);
|
|
2562
2562
|
});
|
|
2563
2563
|
}
|
|
2564
|
-
function
|
|
2564
|
+
function jo(e) {
|
|
2565
2565
|
ot.x(e);
|
|
2566
2566
|
}
|
|
2567
2567
|
const ct = {
|
|
@@ -2574,7 +2574,7 @@ const ct = {
|
|
|
2574
2574
|
Shake: go,
|
|
2575
2575
|
Form: to,
|
|
2576
2576
|
Center: no,
|
|
2577
|
-
Close:
|
|
2577
|
+
Close: jo,
|
|
2578
2578
|
Column: ao
|
|
2579
2579
|
};
|
|
2580
2580
|
function Zn({ text: e, type: t, button: n }) {
|
|
@@ -2609,8 +2609,8 @@ function Zn({ text: e, type: t, button: n }) {
|
|
|
2609
2609
|
n && /* @__PURE__ */ a.jsx("button", { onClick: o, children: n.label })
|
|
2610
2610
|
] });
|
|
2611
2611
|
}
|
|
2612
|
-
const
|
|
2613
|
-
h:
|
|
2612
|
+
const Co = "_h_1usnu_1", ko = "_g_1usnu_11", yo = "_hr_1usnu_16", bo = "_hl_1usnu_28", wo = "_t_1usnu_40", So = "_s_1usnu_60", Eo = "_u_1usnu_69", Do = "_o_1usnu_76", Io = "_l_1usnu_105", Ro = "_hh_1usnu_115", No = "_c_1usnu_128", To = "_loadingB_1usnu_1", Mo = "_m_1usnu_180", Lo = "_ul_1usnu_196", $o = "_f_1usnu_226", se = {
|
|
2613
|
+
h: Co,
|
|
2614
2614
|
g: ko,
|
|
2615
2615
|
hr: yo,
|
|
2616
2616
|
hl: bo,
|
|
@@ -2762,7 +2762,7 @@ const Bo = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
|
|
|
2762
2762
|
};
|
|
2763
2763
|
return h.useEffect(() => {
|
|
2764
2764
|
(async () => {
|
|
2765
|
-
let l = await
|
|
2765
|
+
let l = await Ce.Send({
|
|
2766
2766
|
type: "module",
|
|
2767
2767
|
module: "M09",
|
|
2768
2768
|
query: "x0900",
|
|
@@ -2799,7 +2799,7 @@ const Bo = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
|
|
|
2799
2799
|
/* @__PURE__ */ a.jsx("i", {}),
|
|
2800
2800
|
/* @__PURE__ */ a.jsx("i", {}),
|
|
2801
2801
|
/* @__PURE__ */ a.jsx("i", {})
|
|
2802
|
-
] }) : s.list.length === 0 ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : s.list.map((l, c) => /* @__PURE__ */ a.jsx(
|
|
2802
|
+
] }) : s.list.length === 0 ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : s.list.map((l, c) => /* @__PURE__ */ a.jsx(Wo, { dispatch: i, data: l }, c)) })
|
|
2803
2803
|
] });
|
|
2804
2804
|
}, zo = ({ id: e, dir: t, dispatch: n }) => {
|
|
2805
2805
|
let [r, s] = h.useState(!0), i = h.useRef(null), o = (_) => {
|
|
@@ -2850,7 +2850,7 @@ const Bo = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
|
|
|
2850
2850
|
},
|
|
2851
2851
|
(/* @__PURE__ */ new Date()).getTime()
|
|
2852
2852
|
) }) : "" });
|
|
2853
|
-
},
|
|
2853
|
+
}, Wo = ({ data: e, dispatch: t }) => {
|
|
2854
2854
|
let n = async () => {
|
|
2855
2855
|
let i = await (await fetch(St.url().files + "/yandex/data/" + e.id, {
|
|
2856
2856
|
headers: {
|
|
@@ -2900,9 +2900,9 @@ const Bo = ({ children: e, className: t, title: n }) => /* @__PURE__ */ a.jsxs("
|
|
|
2900
2900
|
] });
|
|
2901
2901
|
}, Ft = { setSetting: $r, getSetting: Br };
|
|
2902
2902
|
let H = {};
|
|
2903
|
-
H.list =
|
|
2903
|
+
H.list = Kr();
|
|
2904
2904
|
H.active = null;
|
|
2905
|
-
const
|
|
2905
|
+
const Ko = () => {
|
|
2906
2906
|
var s;
|
|
2907
2907
|
let [e, t] = h.useState([]), [n, r] = h.useState(Ft.getSetting("s03"));
|
|
2908
2908
|
return h.useEffect(() => {
|
|
@@ -2970,27 +2970,27 @@ const Wo = () => {
|
|
|
2970
2970
|
return /* @__PURE__ */ a.jsx("span", { onContextMenu: t, onClick: n, children: e.name });
|
|
2971
2971
|
}, Yo = (e) => {
|
|
2972
2972
|
H.active(e);
|
|
2973
|
-
},
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2973
|
+
}, W = {}, It = {}, R = {};
|
|
2974
|
+
R.config = { iceServers: [{ url: "stun:stun.l.google.com:19302" }] };
|
|
2975
|
+
R.constraints = { optional: [{ DtlsSrtpKeyAgreement: !0 }] };
|
|
2976
|
+
R.other = [];
|
|
2977
|
+
R.users = {};
|
|
2978
|
+
R.asset = 0;
|
|
2979
|
+
R.remoute = !1;
|
|
2980
|
+
R.stream = null;
|
|
2981
|
+
R.user = 0;
|
|
2982
|
+
R.connect = !1;
|
|
2983
|
+
R.offer = null;
|
|
2984
|
+
R.btnRefuse = null;
|
|
2985
|
+
R.time = !1;
|
|
2986
2986
|
let Ee;
|
|
2987
2987
|
Ee = document.createElement("audio");
|
|
2988
2988
|
Ee.setAttribute("autoplay", "true");
|
|
2989
2989
|
Ee.setAttribute("muted", "true");
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
n.candidate &&
|
|
2993
|
-
},
|
|
2990
|
+
W.start = async (e) => {
|
|
2991
|
+
R.rtc = new RTCPeerConnection(R.config), R.other = [], R.remoute = !1, R.rtc.onicecandidate = (n) => {
|
|
2992
|
+
n.candidate && R.other.push(n.candidate);
|
|
2993
|
+
}, R.rtc.ontrack = (n) => {
|
|
2994
2994
|
if (n.streams && n.streams[0])
|
|
2995
2995
|
Ee.srcObject = n.streams[0];
|
|
2996
2996
|
else {
|
|
@@ -3003,116 +3003,116 @@ K.start = async (e) => {
|
|
|
3003
3003
|
audio: { echoCancellation: !1, autoGainControl: !0 }
|
|
3004
3004
|
});
|
|
3005
3005
|
t.getTracks().forEach((n) => {
|
|
3006
|
-
|
|
3007
|
-
}),
|
|
3008
|
-
|
|
3009
|
-
},
|
|
3006
|
+
R.rtc.addTrack(n, t);
|
|
3007
|
+
}), R.rtc.onconnectionstatechange = () => {
|
|
3008
|
+
R.rtc.connectionState;
|
|
3009
|
+
}, R.rtc.ontrack = async (n) => {
|
|
3010
3010
|
if (n.streams && n.streams[0])
|
|
3011
3011
|
Ee.srcObject = n.streams[0];
|
|
3012
3012
|
else {
|
|
3013
3013
|
let r = new MediaStream(n.track);
|
|
3014
3014
|
Ee.srcObject = r;
|
|
3015
3015
|
}
|
|
3016
|
-
},
|
|
3017
|
-
},
|
|
3018
|
-
},
|
|
3019
|
-
},
|
|
3020
|
-
},
|
|
3021
|
-
},
|
|
3022
|
-
},
|
|
3023
|
-
},
|
|
3016
|
+
}, R.rtc.onaddstream = (n) => {
|
|
3017
|
+
}, R.rtc.onnegotiationneeded = (n) => {
|
|
3018
|
+
}, R.rtc.oniceconnectionstatechange = (n) => {
|
|
3019
|
+
}, R.rtc.onsignalingstatechange = (n) => {
|
|
3020
|
+
}, R.rtc.onicegatheringstatechange = (n) => {
|
|
3021
|
+
}, R.rtc.onicecandidateerror = (n) => {
|
|
3022
|
+
}, R.rtc.ondatachannel = (n) => {
|
|
3023
|
+
}, R.rtc.onerror = (n) => {
|
|
3024
3024
|
}, e();
|
|
3025
3025
|
};
|
|
3026
|
-
|
|
3026
|
+
W.useListener = (e) => {
|
|
3027
3027
|
It.rtc = e;
|
|
3028
3028
|
};
|
|
3029
|
-
|
|
3029
|
+
W.setListener = (e) => {
|
|
3030
3030
|
It.rtc && It.rtc(e);
|
|
3031
3031
|
};
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
const t = await
|
|
3035
|
-
await
|
|
3032
|
+
W.callTo = async (e) => {
|
|
3033
|
+
W.start(async () => {
|
|
3034
|
+
const t = await R.rtc.createOffer();
|
|
3035
|
+
await R.rtc.setLocalDescription(t), R.uid = e, Ce.Send({
|
|
3036
3036
|
type: "module",
|
|
3037
3037
|
module: "M00",
|
|
3038
3038
|
query: "x0050",
|
|
3039
3039
|
data: {
|
|
3040
3040
|
type: "offer",
|
|
3041
3041
|
offer: btoa(JSON.stringify(t)),
|
|
3042
|
-
user:
|
|
3042
|
+
user: R.uid
|
|
3043
3043
|
}
|
|
3044
3044
|
});
|
|
3045
3045
|
});
|
|
3046
3046
|
};
|
|
3047
|
-
|
|
3048
|
-
|
|
3047
|
+
W.callIn = async (e) => {
|
|
3048
|
+
R.asset = e.id, R.offer = e.offer, R.uid = e.id;
|
|
3049
3049
|
};
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
new RTCSessionDescription(JSON.parse(atob(
|
|
3050
|
+
W.callRise = async () => {
|
|
3051
|
+
W.start(async () => {
|
|
3052
|
+
R.rtc.setRemoteDescription(
|
|
3053
|
+
new RTCSessionDescription(JSON.parse(atob(R.offer)))
|
|
3054
3054
|
);
|
|
3055
|
-
const e = await
|
|
3056
|
-
await
|
|
3055
|
+
const e = await R.rtc.createAnswer();
|
|
3056
|
+
await R.rtc.setLocalDescription(e), Ce.Send({
|
|
3057
3057
|
type: "module",
|
|
3058
3058
|
module: "M00",
|
|
3059
3059
|
query: "x0050",
|
|
3060
3060
|
data: {
|
|
3061
3061
|
type: "answer",
|
|
3062
3062
|
answer: btoa(JSON.stringify(e)),
|
|
3063
|
-
user:
|
|
3063
|
+
user: R.uid
|
|
3064
3064
|
}
|
|
3065
3065
|
});
|
|
3066
3066
|
});
|
|
3067
3067
|
};
|
|
3068
|
-
|
|
3069
|
-
|
|
3068
|
+
W.callOk = async (e) => {
|
|
3069
|
+
R.asset = e.id;
|
|
3070
3070
|
const t = new RTCSessionDescription(JSON.parse(atob(e.answer)));
|
|
3071
|
-
await
|
|
3071
|
+
await R.rtc.setRemoteDescription(t), Ce.Send({
|
|
3072
3072
|
type: "module",
|
|
3073
3073
|
module: "M00",
|
|
3074
3074
|
query: "x0050",
|
|
3075
3075
|
data: {
|
|
3076
3076
|
type: "IceCandidate",
|
|
3077
|
-
candidate: JSON.parse(JSON.stringify(
|
|
3078
|
-
user:
|
|
3077
|
+
candidate: JSON.parse(JSON.stringify(R.other)),
|
|
3078
|
+
user: R.uid,
|
|
3079
3079
|
send: !0
|
|
3080
3080
|
}
|
|
3081
3081
|
});
|
|
3082
3082
|
};
|
|
3083
|
-
|
|
3083
|
+
W.IceCandidate = async (e) => {
|
|
3084
3084
|
e.candidate.forEach((t) => {
|
|
3085
|
-
|
|
3086
|
-
}), e.send &&
|
|
3085
|
+
R.rtc.addIceCandidate(new RTCIceCandidate(t));
|
|
3086
|
+
}), e.send && Ce.Send({
|
|
3087
3087
|
type: "module",
|
|
3088
3088
|
module: "M00",
|
|
3089
3089
|
query: "x0050",
|
|
3090
3090
|
data: {
|
|
3091
3091
|
type: "IceCandidate",
|
|
3092
|
-
candidate: JSON.parse(JSON.stringify(
|
|
3093
|
-
user:
|
|
3092
|
+
candidate: JSON.parse(JSON.stringify(R.other)),
|
|
3093
|
+
user: R.uid,
|
|
3094
3094
|
send: !1
|
|
3095
3095
|
}
|
|
3096
3096
|
});
|
|
3097
3097
|
};
|
|
3098
|
-
|
|
3098
|
+
W.callFrom = async () => {
|
|
3099
3099
|
};
|
|
3100
|
-
|
|
3101
|
-
|
|
3100
|
+
W.callNo = () => {
|
|
3101
|
+
R.asset = 0, R.time = !1, R.rtc && R.rtc.close(), W.setListener({ type: "state", data: "closed" });
|
|
3102
3102
|
};
|
|
3103
|
-
|
|
3104
|
-
|
|
3103
|
+
W.callOf = () => {
|
|
3104
|
+
R.asset = 0, R.time = !1, R.rtc.close();
|
|
3105
3105
|
};
|
|
3106
|
-
|
|
3107
|
-
|
|
3106
|
+
W.callRefuser = async () => {
|
|
3107
|
+
Ce.Send({
|
|
3108
3108
|
type: "module",
|
|
3109
3109
|
module: "M00",
|
|
3110
3110
|
query: "x0050",
|
|
3111
|
-
data: { type: "callRefuser", user:
|
|
3112
|
-
}),
|
|
3111
|
+
data: { type: "callRefuser", user: R.uid }
|
|
3112
|
+
}), R.asset = 0, R.time = !1, R.rtc && R.rtc.close();
|
|
3113
3113
|
};
|
|
3114
|
-
|
|
3115
|
-
|
|
3114
|
+
W.Run = async (e) => {
|
|
3115
|
+
W[e.data.type] && W[e.data.type](e.data);
|
|
3116
3116
|
};
|
|
3117
3117
|
let Ue = {};
|
|
3118
3118
|
function qo() {
|
|
@@ -3140,7 +3140,7 @@ function Vo({ id: e, type: t }) {
|
|
|
3140
3140
|
const [n, r] = h.useState({}), [s, i] = h.useState(t);
|
|
3141
3141
|
h.useEffect(() => {
|
|
3142
3142
|
r(V.getSelect("user")[e]);
|
|
3143
|
-
}, []),
|
|
3143
|
+
}, []), W.useListener((c) => {
|
|
3144
3144
|
switch (c.type) {
|
|
3145
3145
|
case "state":
|
|
3146
3146
|
i(c.data);
|
|
@@ -3153,7 +3153,7 @@ function Vo({ id: e, type: t }) {
|
|
|
3153
3153
|
"span",
|
|
3154
3154
|
{
|
|
3155
3155
|
onClick: () => {
|
|
3156
|
-
|
|
3156
|
+
W.callTo(n.id), i("call");
|
|
3157
3157
|
},
|
|
3158
3158
|
children: /* @__PURE__ */ a.jsx(
|
|
3159
3159
|
"svg",
|
|
@@ -3181,7 +3181,7 @@ function Vo({ id: e, type: t }) {
|
|
|
3181
3181
|
children: /* @__PURE__ */ a.jsx("path", { d: "M 27.9999 51.9063 C 41.0546 51.9063 51.9063 41.0781 51.9063 28 C 51.9063 14.9453 41.0312 4.0937 27.9765 4.0937 C 14.8983 4.0937 4.0937 14.9453 4.0937 28 C 4.0937 41.0781 14.9218 51.9063 27.9999 51.9063 Z M 19.5858 38.4063 C 18.4843 38.4063 17.5936 37.5156 17.5936 36.4141 C 17.5936 35.8750 17.8280 35.4063 18.2030 35.0547 L 25.1874 28.0234 L 18.2030 20.9922 C 17.8280 20.6641 17.5936 20.1719 17.5936 19.6328 C 17.5936 18.5547 18.4843 17.6875 19.5858 17.6875 C 20.1249 17.6875 20.5936 17.8984 20.9452 18.2734 L 27.9765 25.2812 L 35.0546 18.25 C 35.4530 17.8281 35.8749 17.6406 36.3905 17.6406 C 37.4921 17.6406 38.3827 18.5312 38.3827 19.6094 C 38.3827 20.1484 38.1952 20.5937 37.7968 20.9688 L 30.7655 28.0234 L 37.7733 35.0078 C 38.1249 35.3828 38.3593 35.8516 38.3593 36.4141 C 38.3593 37.5156 37.4687 38.4063 36.3671 38.4063 C 35.8046 38.4063 35.3358 38.1719 34.9843 37.8203 L 27.9765 30.7890 L 20.9921 37.8203 C 20.6405 38.1953 20.1249 38.4063 19.5858 38.4063 Z" })
|
|
3182
3182
|
}
|
|
3183
3183
|
) }),
|
|
3184
|
-
/* @__PURE__ */ a.jsx("span", { onClick:
|
|
3184
|
+
/* @__PURE__ */ a.jsx("span", { onClick: W.callRise, children: /* @__PURE__ */ a.jsx(
|
|
3185
3185
|
"svg",
|
|
3186
3186
|
{
|
|
3187
3187
|
className: "green",
|
|
@@ -3194,7 +3194,7 @@ function Vo({ id: e, type: t }) {
|
|
|
3194
3194
|
) })
|
|
3195
3195
|
] });
|
|
3196
3196
|
case "call":
|
|
3197
|
-
return /* @__PURE__ */ a.jsx("span", { onClick: () =>
|
|
3197
|
+
return /* @__PURE__ */ a.jsx("span", { onClick: () => W.callNo(n.id), children: /* @__PURE__ */ a.jsx(
|
|
3198
3198
|
"svg",
|
|
3199
3199
|
{
|
|
3200
3200
|
className: "red",
|
|
@@ -3210,7 +3210,7 @@ function Vo({ id: e, type: t }) {
|
|
|
3210
3210
|
"span",
|
|
3211
3211
|
{
|
|
3212
3212
|
onClick: () => {
|
|
3213
|
-
|
|
3213
|
+
W.callTo(n.id), i("call");
|
|
3214
3214
|
},
|
|
3215
3215
|
children: /* @__PURE__ */ a.jsx(
|
|
3216
3216
|
"svg",
|
|
@@ -3227,7 +3227,7 @@ function Vo({ id: e, type: t }) {
|
|
|
3227
3227
|
);
|
|
3228
3228
|
}
|
|
3229
3229
|
}, l = () => {
|
|
3230
|
-
|
|
3230
|
+
W.callRefuser(n.id), Ue.del();
|
|
3231
3231
|
};
|
|
3232
3232
|
return /* @__PURE__ */ a.jsx("div", { className: "web-phone white", children: /* @__PURE__ */ a.jsxs("div", { className: "w", children: [
|
|
3233
3233
|
/* @__PURE__ */ a.jsx("div", { className: "x", "data-icon": "F038", onClick: l }),
|
|
@@ -3266,7 +3266,7 @@ function el() {
|
|
|
3266
3266
|
let rt = {}, Un = {};
|
|
3267
3267
|
const tl = (e) => {
|
|
3268
3268
|
Un = e;
|
|
3269
|
-
}, zn =
|
|
3269
|
+
}, zn = Ka(
|
|
3270
3270
|
localStorage.getItem("lang") || navigator.language
|
|
3271
3271
|
), nl = ({ children: e }) => {
|
|
3272
3272
|
const [t, n] = h.useState(
|
|
@@ -3314,7 +3314,7 @@ const _l = ({ children: e, lang: t }) => mr(
|
|
|
3314
3314
|
/* @__PURE__ */ a.jsx(el, {}),
|
|
3315
3315
|
/* @__PURE__ */ a.jsx(dl, {}),
|
|
3316
3316
|
/* @__PURE__ */ a.jsx(qo, {}),
|
|
3317
|
-
/* @__PURE__ */ a.jsx(
|
|
3317
|
+
/* @__PURE__ */ a.jsx(Ko, {}),
|
|
3318
3318
|
e
|
|
3319
3319
|
] })
|
|
3320
3320
|
), ul = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx("menu", { children: e }), fl = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("header", { children: [
|
|
@@ -3342,19 +3342,19 @@ const bd = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
|
|
|
3342
3342
|
link: i.link
|
|
3343
3343
|
},
|
|
3344
3344
|
i.link
|
|
3345
|
-
)) }) }), xl = ({ onClick: e, label: t, link: n, active: r }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(r === n), onClick: () => e(n), children: t }), vl = "_tabs_1i88v_1",
|
|
3345
|
+
)) }) }), xl = ({ onClick: e, label: t, link: n, active: r }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(r === n), onClick: () => e(n), children: t }), vl = "_tabs_1i88v_1", jl = "_tab_1i88v_1", jn = {
|
|
3346
3346
|
tabs: vl,
|
|
3347
|
-
tab:
|
|
3348
|
-
},
|
|
3347
|
+
tab: jl
|
|
3348
|
+
}, Wn = ({ list: e = [], active: t }) => /* @__PURE__ */ a.jsx("nav", { className: [jn.tabs, "tabs"].join(" "), children: e.map((n) => /* @__PURE__ */ wn(
|
|
3349
3349
|
"div",
|
|
3350
3350
|
{
|
|
3351
3351
|
onClick: () => Nn(n.id),
|
|
3352
3352
|
active: (t === n.id).toString(),
|
|
3353
|
-
className:
|
|
3353
|
+
className: jn.tab,
|
|
3354
3354
|
key: n.id
|
|
3355
3355
|
},
|
|
3356
3356
|
n.label
|
|
3357
|
-
)) }),
|
|
3357
|
+
)) }), Cl = ({
|
|
3358
3358
|
list: e = [],
|
|
3359
3359
|
active: t,
|
|
3360
3360
|
onChange: n,
|
|
@@ -3394,7 +3394,7 @@ const bd = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
|
|
|
3394
3394
|
]
|
|
3395
3395
|
}
|
|
3396
3396
|
);
|
|
3397
|
-
}, wd = { List: gl, Lite:
|
|
3397
|
+
}, wd = { List: gl, Lite: Wn, Button: Cl }, yl = ({
|
|
3398
3398
|
title: e = "",
|
|
3399
3399
|
button: t,
|
|
3400
3400
|
description: n = "",
|
|
@@ -3453,7 +3453,7 @@ const bd = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
|
|
|
3453
3453
|
/* @__PURE__ */ a.jsx("dt", { children: e }),
|
|
3454
3454
|
/* @__PURE__ */ a.jsx("dd", { children: t })
|
|
3455
3455
|
] }) }), Bl = { Accordion: El, Button: Dl, Switch: Nl, Info: Ml, Select: Tl, Component: Ll, Node: $l };
|
|
3456
|
-
function
|
|
3456
|
+
function Kn({ list: e, onClick: t, active: n, size: r, view: s }) {
|
|
3457
3457
|
return /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [r, s].join(" "), children: e.map((i) => /* @__PURE__ */ a.jsx(
|
|
3458
3458
|
Fl,
|
|
3459
3459
|
{
|
|
@@ -3466,8 +3466,8 @@ function Wn({ list: e, onClick: t, active: n, size: r, view: s }) {
|
|
|
3466
3466
|
)) }) });
|
|
3467
3467
|
}
|
|
3468
3468
|
const Fl = ({ onClick: e, label: t, link: n, active: r }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(r === n), onClick: () => e(n), children: t });
|
|
3469
|
-
|
|
3470
|
-
const Sd = { Section: yl, Main: Sl, Item: Bl, Tabs:
|
|
3469
|
+
Kn.defaultProps = { size: "M", view: "H" };
|
|
3470
|
+
const Sd = { Section: yl, Main: Sl, Item: Bl, Tabs: Kn };
|
|
3471
3471
|
function Pl({ value: e, background: t, gradient: n }) {
|
|
3472
3472
|
let r = 835.24, s = r - e / 100 * r;
|
|
3473
3473
|
const i = h.useId();
|
|
@@ -3521,12 +3521,12 @@ let Tt = {};
|
|
|
3521
3521
|
function Al(e) {
|
|
3522
3522
|
Tt = { ...Tt, ...e };
|
|
3523
3523
|
}
|
|
3524
|
-
function
|
|
3524
|
+
function Cn() {
|
|
3525
3525
|
return Tt;
|
|
3526
3526
|
}
|
|
3527
3527
|
function Gl({ name: e, hover: t, onClick: n }) {
|
|
3528
3528
|
const r = {};
|
|
3529
|
-
return n && (r.onClick = n, r.pointer = ""), t && (r.hover = t),
|
|
3529
|
+
return n && (r.onClick = n, r.pointer = ""), t && (r.hover = t), Cn()[e] ? /* @__PURE__ */ a.jsx("i", { role: "icon", ...r, children: Cn()[e]() }) : "";
|
|
3530
3530
|
}
|
|
3531
3531
|
const Rd = { Logo: Ol, Sprite: Xo, set: Al, Symbol: Qo, Default: Gl, Assets: ds };
|
|
3532
3532
|
let Zl = {};
|
|
@@ -3538,7 +3538,7 @@ const Ul = "_sort_1yrvt_1", zl = {
|
|
|
3538
3538
|
sort: Ul
|
|
3539
3539
|
};
|
|
3540
3540
|
let dt = {};
|
|
3541
|
-
function
|
|
3541
|
+
function Wl(e, t) {
|
|
3542
3542
|
switch (t.type) {
|
|
3543
3543
|
case "active":
|
|
3544
3544
|
let n = "<";
|
|
@@ -3551,9 +3551,9 @@ function Kl(e, t) {
|
|
|
3551
3551
|
throw new Error();
|
|
3552
3552
|
}
|
|
3553
3553
|
}
|
|
3554
|
-
function
|
|
3554
|
+
function Kl() {
|
|
3555
3555
|
const [e, t] = h.useReducer(
|
|
3556
|
-
|
|
3556
|
+
Wl,
|
|
3557
3557
|
wt() === void 0 ? { active: 1, sort: "<" } : wt()
|
|
3558
3558
|
);
|
|
3559
3559
|
return /* @__PURE__ */ a.jsxs("div", { className: zl.sort, children: [
|
|
@@ -3611,7 +3611,7 @@ function ql(e, t, n) {
|
|
|
3611
3611
|
function Jl(e) {
|
|
3612
3612
|
dt.count(e);
|
|
3613
3613
|
}
|
|
3614
|
-
const Nd = { Init:
|
|
3614
|
+
const Nd = { Init: Kl, useValue: Hl, Set: Yl, Run: ql, Count: Jl }, st = {}, Hn = {};
|
|
3615
3615
|
function Vl(e) {
|
|
3616
3616
|
const [t, n] = h.useState({}), r = async (s) => {
|
|
3617
3617
|
n(
|
|
@@ -3632,8 +3632,8 @@ function Xl(e, t) {
|
|
|
3632
3632
|
const Td = { useMenu: Vl, setUpdate: Xl };
|
|
3633
3633
|
class Ql {
|
|
3634
3634
|
constructor(t = "el", n = "db") {
|
|
3635
|
-
|
|
3636
|
-
|
|
3635
|
+
jt(this, "storeName");
|
|
3636
|
+
jt(this, "_dbp");
|
|
3637
3637
|
this.storeName = n, this._dbp = new Promise((r, s) => {
|
|
3638
3638
|
const i = indexedDB.open(t, 1);
|
|
3639
3639
|
i.onerror = () => s(i.error), i.onsuccess = () => r(i.result), i.onupgradeneeded = () => {
|
|
@@ -3650,8 +3650,8 @@ class Ql {
|
|
|
3650
3650
|
);
|
|
3651
3651
|
}
|
|
3652
3652
|
}
|
|
3653
|
-
let
|
|
3654
|
-
const $e = () => (
|
|
3653
|
+
let Ct, q = {};
|
|
3654
|
+
const $e = () => (Ct || (Ct = new Ql()), Ct), be = (e, t, n = $e()) => n._withIDBStore("readwrite", (r) => {
|
|
3655
3655
|
q[e] = t, r.put(P.enCode(t), e);
|
|
3656
3656
|
}), ge = (e, t = $e()) => q[e] === void 0 ? new Promise((n, r) => {
|
|
3657
3657
|
let s;
|
|
@@ -3866,7 +3866,7 @@ oe.Focus = (e) => {
|
|
|
3866
3866
|
oe.Blur = (e) => {
|
|
3867
3867
|
e.target.scrollLeft = 0, e.target.querySelector("br") !== null && e.target.querySelector("br").remove();
|
|
3868
3868
|
};
|
|
3869
|
-
function
|
|
3869
|
+
function We({
|
|
3870
3870
|
id: e,
|
|
3871
3871
|
value: t,
|
|
3872
3872
|
onValue: n,
|
|
@@ -3886,20 +3886,20 @@ function Ke({
|
|
|
3886
3886
|
className: p = "",
|
|
3887
3887
|
isCopy: j = !0
|
|
3888
3888
|
}) {
|
|
3889
|
-
let y = !!(l && (t === "" || t === void 0)),
|
|
3890
|
-
n && n({ value:
|
|
3891
|
-
}, L = (
|
|
3892
|
-
f &&
|
|
3893
|
-
}, k = (
|
|
3894
|
-
j && (
|
|
3889
|
+
let y = !!(l && (t === "" || t === void 0)), T = (I) => {
|
|
3890
|
+
n && n({ value: I.target.textContent.trim(), name: r });
|
|
3891
|
+
}, L = (I) => {
|
|
3892
|
+
f && I.target.textContent.trim().length >= f && I.key !== "Backspace" && I.preventDefault(), I.key === "Enter" && I.preventDefault();
|
|
3893
|
+
}, k = (I) => {
|
|
3894
|
+
j && (I.preventDefault(), navigator.clipboard.writeText(I.target.textContent.trim()).then(
|
|
3895
3895
|
function() {
|
|
3896
3896
|
ve.Copy("Данные в буфер обмене");
|
|
3897
3897
|
},
|
|
3898
3898
|
function(M) {
|
|
3899
3899
|
}
|
|
3900
3900
|
));
|
|
3901
|
-
}, b = (
|
|
3902
|
-
f && (
|
|
3901
|
+
}, b = (I) => {
|
|
3902
|
+
f && (I.preventDefault(), navigator.clipboard.readText().then((M) => {
|
|
3903
3903
|
M = M.slice(0, f), window.document.execCommand(
|
|
3904
3904
|
"insertText",
|
|
3905
3905
|
!1,
|
|
@@ -3913,8 +3913,8 @@ function Ke({
|
|
|
3913
3913
|
S.field = "input", p && (S.className = p);
|
|
3914
3914
|
const w = {};
|
|
3915
3915
|
s && (w.placeholder = s), c && _ && (w.edit = "");
|
|
3916
|
-
const
|
|
3917
|
-
oe.Blur(
|
|
3916
|
+
const Z = (I) => {
|
|
3917
|
+
oe.Blur(I), g == null || g({ value: I.target.textContent.trim(), name: r });
|
|
3918
3918
|
};
|
|
3919
3919
|
return /* @__PURE__ */ a.jsxs("dl", { ...S, children: [
|
|
3920
3920
|
i ? /* @__PURE__ */ a.jsx("dt", { children: i }) : "",
|
|
@@ -3922,8 +3922,8 @@ function Ke({
|
|
|
3922
3922
|
"dd",
|
|
3923
3923
|
{
|
|
3924
3924
|
onPaste: b,
|
|
3925
|
-
onInput:
|
|
3926
|
-
onBlur:
|
|
3925
|
+
onInput: T,
|
|
3926
|
+
onBlur: Z,
|
|
3927
3927
|
onKeyDown: L,
|
|
3928
3928
|
onContextMenu: k,
|
|
3929
3929
|
contentEditable: c && _ ? "plaintext-only" : "false",
|
|
@@ -4130,8 +4130,8 @@ function ea({
|
|
|
4130
4130
|
g.preventDefault(), navigator.clipboard.readText().then((p) => {
|
|
4131
4131
|
let j = p.split("");
|
|
4132
4132
|
for (let y = 1; y <= j.length; y++) {
|
|
4133
|
-
let
|
|
4134
|
-
|
|
4133
|
+
let T = document.getElementById("n" + y);
|
|
4134
|
+
T && (T.textContent = j[y - 1]);
|
|
4135
4135
|
}
|
|
4136
4136
|
}).catch((p) => {
|
|
4137
4137
|
});
|
|
@@ -4236,7 +4236,7 @@ function ta({
|
|
|
4236
4236
|
className: p = ""
|
|
4237
4237
|
}) {
|
|
4238
4238
|
_ = _ !== void 0 ? _ : !0, u = u !== void 0 ? u : !0;
|
|
4239
|
-
let [j, y] = h.useState(t),
|
|
4239
|
+
let [j, y] = h.useState(t), T = (k) => {
|
|
4240
4240
|
y(k), n == null || n({ value: k, name: r }), g == null || g({ value: k, name: r });
|
|
4241
4241
|
};
|
|
4242
4242
|
const L = {};
|
|
@@ -4251,7 +4251,7 @@ function ta({
|
|
|
4251
4251
|
"s",
|
|
4252
4252
|
{
|
|
4253
4253
|
active: (Number(k) === Number(j)) + "",
|
|
4254
|
-
onClick: () =>
|
|
4254
|
+
onClick: () => T(k),
|
|
4255
4255
|
style: {
|
|
4256
4256
|
backgroundColor: `var(--color-${k})`
|
|
4257
4257
|
}
|
|
@@ -4261,11 +4261,11 @@ function ta({
|
|
|
4261
4261
|
o && /* @__PURE__ */ a.jsx("em", { children: o })
|
|
4262
4262
|
] }) });
|
|
4263
4263
|
}
|
|
4264
|
-
const xc = "_o_oow80_1", vc = "_c_oow80_11",
|
|
4264
|
+
const xc = "_o_oow80_1", vc = "_c_oow80_11", jc = "_as_oow80_87", Cc = "_ap_oow80_90", fe = {
|
|
4265
4265
|
o: xc,
|
|
4266
4266
|
c: vc,
|
|
4267
|
-
as:
|
|
4268
|
-
ap:
|
|
4267
|
+
as: jc,
|
|
4268
|
+
ap: Cc
|
|
4269
4269
|
};
|
|
4270
4270
|
function Ot({
|
|
4271
4271
|
title: e,
|
|
@@ -4289,7 +4289,7 @@ function Ot({
|
|
|
4289
4289
|
let C = (y) => {
|
|
4290
4290
|
f(y), l == null || l({ value: y, name: c });
|
|
4291
4291
|
}, g = (y) => {
|
|
4292
|
-
const
|
|
4292
|
+
const T = y.target.getBoundingClientRect(), L = T.left, k = T.bottom, b = T.top;
|
|
4293
4293
|
he.setListener(
|
|
4294
4294
|
"form",
|
|
4295
4295
|
/* @__PURE__ */ a.jsx(
|
|
@@ -4361,7 +4361,7 @@ const kc = (e) => {
|
|
|
4361
4361
|
), C();
|
|
4362
4362
|
}, y = (k, b) => {
|
|
4363
4363
|
b = k > 12 ? b + 1 : k < 1 ? b - 1 : b, k = k > 12 ? 1 : k < 1 ? 12 : k, c({ y: b, m: k });
|
|
4364
|
-
},
|
|
4364
|
+
}, T = window.innerHeight - e.position.y < 320 ? e.position.y - 312 : e.position.b, L = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
|
|
4365
4365
|
return /* @__PURE__ */ a.jsx(a.Fragment, { children: t ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
4366
4366
|
/* @__PURE__ */ a.jsx(
|
|
4367
4367
|
"div",
|
|
@@ -4378,7 +4378,7 @@ const kc = (e) => {
|
|
|
4378
4378
|
fe.c,
|
|
4379
4379
|
e.className && e.className + "-backdrop"
|
|
4380
4380
|
].join(" "),
|
|
4381
|
-
style: { top:
|
|
4381
|
+
style: { top: T + "px", left: L + "px" },
|
|
4382
4382
|
children: [
|
|
4383
4383
|
/* @__PURE__ */ a.jsxs("s", { children: [
|
|
4384
4384
|
/* @__PURE__ */ a.jsx("i", { onClick: p, children: /* @__PURE__ */ a.jsx(
|
|
@@ -4456,10 +4456,10 @@ function At({
|
|
|
4456
4456
|
value: e
|
|
4457
4457
|
});
|
|
4458
4458
|
};
|
|
4459
|
-
const
|
|
4460
|
-
|
|
4459
|
+
const T = {};
|
|
4460
|
+
T.field = "input", g && (T.className = g);
|
|
4461
4461
|
const L = {};
|
|
4462
|
-
return r && (L.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...
|
|
4462
|
+
return r && (L.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...T, children: [
|
|
4463
4463
|
s && /* @__PURE__ */ a.jsx("dt", { children: s }),
|
|
4464
4464
|
/* @__PURE__ */ a.jsx(
|
|
4465
4465
|
"dd",
|
|
@@ -4495,32 +4495,32 @@ function Gt({
|
|
|
4495
4495
|
}) {
|
|
4496
4496
|
let j = !!(o && (e === "" || e === void 0));
|
|
4497
4497
|
e = z.isNumeric(e) ? Number(e) / x : 0;
|
|
4498
|
-
let y = (
|
|
4499
|
-
let $ = document.createRange(),
|
|
4500
|
-
$.setStart(M.childNodes[0],
|
|
4501
|
-
}, L = (
|
|
4498
|
+
let y = (I) => C === "multi" ? I.replace(/[^+\d.+-]/g, "") : I.replace(/[^+\d.]/g, ""), T = (I, M) => {
|
|
4499
|
+
let $ = document.createRange(), N = window.getSelection();
|
|
4500
|
+
$.setStart(M.childNodes[0], I), $.collapse(!0), N.removeAllRanges(), N.addRange($), M.focus();
|
|
4501
|
+
}, L = (I) => {
|
|
4502
4502
|
t == null || t({
|
|
4503
|
-
value: y(
|
|
4503
|
+
value: y(I.target.textContent) * x,
|
|
4504
4504
|
name: n
|
|
4505
|
-
}),
|
|
4506
|
-
}, k = (
|
|
4507
|
-
oe.Blur(
|
|
4508
|
-
value: y(
|
|
4505
|
+
}), I.target.textContent = y(I.target.textContent), I.target.textContent.length > 0 && T(I.target.textContent.length, I.target);
|
|
4506
|
+
}, k = (I) => {
|
|
4507
|
+
oe.Blur(I), I.target.textContent === "" && (I.target.textContent = 0), g == null || g({ value: y(I.target.textContent) * x, name: n }), t == null || t({
|
|
4508
|
+
value: y(I.target.textContent) * x,
|
|
4509
4509
|
name: n
|
|
4510
|
-
}),
|
|
4511
|
-
}, b = (
|
|
4512
|
-
|
|
4513
|
-
}, S = (
|
|
4514
|
-
|
|
4515
|
-
}, w = (
|
|
4516
|
-
|
|
4510
|
+
}), I.target.textContent = z.Money(I.target.textContent);
|
|
4511
|
+
}, b = (I) => {
|
|
4512
|
+
I.target.textContent = y(I.target.textContent);
|
|
4513
|
+
}, S = (I) => {
|
|
4514
|
+
I.key === "Enter" && I.preventDefault();
|
|
4515
|
+
}, w = (I) => {
|
|
4516
|
+
I.preventDefault(), navigator.clipboard.readText().then((M) => {
|
|
4517
4517
|
M = M.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, M);
|
|
4518
4518
|
}).catch((M) => {
|
|
4519
4519
|
});
|
|
4520
4520
|
};
|
|
4521
4521
|
if (!(l && c) && !u || !(l && c) && j) return "";
|
|
4522
|
-
const
|
|
4523
|
-
return
|
|
4522
|
+
const Z = {};
|
|
4523
|
+
return Z.field = "input", p && (Z.className = p), /* @__PURE__ */ a.jsxs("dl", { ...Z, children: [
|
|
4524
4524
|
s ? /* @__PURE__ */ a.jsx("dt", { children: s }) : "",
|
|
4525
4525
|
/* @__PURE__ */ a.jsx(
|
|
4526
4526
|
"dd",
|
|
@@ -4560,13 +4560,13 @@ function na({
|
|
|
4560
4560
|
f(p), t && t({ value: p, name: n });
|
|
4561
4561
|
}, C = (p) => {
|
|
4562
4562
|
if (!i || !o) return;
|
|
4563
|
-
const j = p.target.getBoundingClientRect(), y = j.left,
|
|
4563
|
+
const j = p.target.getBoundingClientRect(), y = j.left, T = j.top;
|
|
4564
4564
|
he.setListener(
|
|
4565
4565
|
"form",
|
|
4566
4566
|
/* @__PURE__ */ a.jsx(
|
|
4567
4567
|
yc,
|
|
4568
4568
|
{
|
|
4569
|
-
position: { x: y, y:
|
|
4569
|
+
position: { x: y, y: T },
|
|
4570
4570
|
onValue: m,
|
|
4571
4571
|
date: x
|
|
4572
4572
|
},
|
|
@@ -4680,7 +4680,7 @@ function aa({
|
|
|
4680
4680
|
className: p = "",
|
|
4681
4681
|
isCopy: j = !0
|
|
4682
4682
|
}) {
|
|
4683
|
-
let [y,
|
|
4683
|
+
let [y, T] = h.useState(!1);
|
|
4684
4684
|
y = c ? !0 : y;
|
|
4685
4685
|
let L = (M) => {
|
|
4686
4686
|
n == null || n({ value: M.target.innerText, name: r });
|
|
@@ -4708,9 +4708,9 @@ function aa({
|
|
|
4708
4708
|
if (!(c && _) && !x) return "";
|
|
4709
4709
|
const w = {};
|
|
4710
4710
|
w.field = "notes", p && (w.className = p);
|
|
4711
|
-
const
|
|
4712
|
-
s && (
|
|
4713
|
-
const
|
|
4711
|
+
const Z = {};
|
|
4712
|
+
s && (Z.placeholder = s), c && _ && (Z.edit = ""), y && (Z.open = "");
|
|
4713
|
+
const I = (M) => {
|
|
4714
4714
|
oe.Blur(M), g == null || g({ value: M.target.textContent.trim(), name: r });
|
|
4715
4715
|
};
|
|
4716
4716
|
return /* @__PURE__ */ a.jsxs("dl", { ...w, children: [
|
|
@@ -4720,12 +4720,12 @@ function aa({
|
|
|
4720
4720
|
{
|
|
4721
4721
|
onPaste: S,
|
|
4722
4722
|
onInput: L,
|
|
4723
|
-
onBlur:
|
|
4723
|
+
onBlur: I,
|
|
4724
4724
|
onKeyDown: k,
|
|
4725
4725
|
onContextMenu: b,
|
|
4726
4726
|
contentEditable: c && _ ? "plaintext-only" : "false",
|
|
4727
4727
|
suppressContentEditableWarning: !0,
|
|
4728
|
-
...
|
|
4728
|
+
...Z,
|
|
4729
4729
|
children: t
|
|
4730
4730
|
}
|
|
4731
4731
|
),
|
|
@@ -4758,16 +4758,16 @@ function Zt({
|
|
|
4758
4758
|
if (w.which === 17 || w.which === 91) return p = !0;
|
|
4759
4759
|
w.key !== "Backspace" && (w.target.textContent.length === r && w.preventDefault(), w.key === "Enter" && w.preventDefault(), isNaN(parseInt(String.fromCharCode(w.which))) && w.preventDefault());
|
|
4760
4760
|
}
|
|
4761
|
-
},
|
|
4761
|
+
}, T = (w) => {
|
|
4762
4762
|
if (w.which === 17 || w.which === 91) return p = !1;
|
|
4763
4763
|
}, L = (w) => {
|
|
4764
|
-
w.preventDefault(), navigator.clipboard.readText().then((
|
|
4765
|
-
|
|
4764
|
+
w.preventDefault(), navigator.clipboard.readText().then((Z) => {
|
|
4765
|
+
Z = Z.replace(/\D/g, ""), window.document.execCommand(
|
|
4766
4766
|
"insertText",
|
|
4767
4767
|
!1,
|
|
4768
|
-
"" +
|
|
4768
|
+
"" + Z.replace(/\D/g, "")
|
|
4769
4769
|
);
|
|
4770
|
-
}).catch((
|
|
4770
|
+
}).catch((Z) => {
|
|
4771
4771
|
});
|
|
4772
4772
|
};
|
|
4773
4773
|
const k = (w) => {
|
|
@@ -4785,7 +4785,7 @@ function Zt({
|
|
|
4785
4785
|
onInput: j,
|
|
4786
4786
|
onBlur: k,
|
|
4787
4787
|
onKeyDown: y,
|
|
4788
|
-
onKeyUp:
|
|
4788
|
+
onKeyUp: T,
|
|
4789
4789
|
suppressContentEditableWarning: !0,
|
|
4790
4790
|
children: _
|
|
4791
4791
|
}
|
|
@@ -4819,7 +4819,7 @@ function ra({
|
|
|
4819
4819
|
});
|
|
4820
4820
|
}, y = (S) => {
|
|
4821
4821
|
S.key === "Enter" && S.preventDefault();
|
|
4822
|
-
},
|
|
4822
|
+
}, T = (S) => {
|
|
4823
4823
|
S.preventDefault(), navigator.clipboard.readText().then((w) => {
|
|
4824
4824
|
window.document.execCommand(
|
|
4825
4825
|
"insertText",
|
|
@@ -4839,7 +4839,7 @@ function ra({
|
|
|
4839
4839
|
/* @__PURE__ */ a.jsx(
|
|
4840
4840
|
"dd",
|
|
4841
4841
|
{
|
|
4842
|
-
onPaste:
|
|
4842
|
+
onPaste: T,
|
|
4843
4843
|
onInput: j,
|
|
4844
4844
|
onKeyDown: y,
|
|
4845
4845
|
onBlur: L,
|
|
@@ -6253,18 +6253,18 @@ function Ut({
|
|
|
6253
6253
|
className: m = ""
|
|
6254
6254
|
}) {
|
|
6255
6255
|
c = c !== void 0 ? c : !0, _ = _ !== void 0 ? _ : !0, l = !!(l && (e === "" || e === void 0)) && !(c && _), h.useRef(null);
|
|
6256
|
-
let g = "+_(___) ___-__-__", p = !0, j = 0, y = ($,
|
|
6257
|
-
let F = document.createRange(),
|
|
6258
|
-
F.setStart(
|
|
6259
|
-
},
|
|
6260
|
-
$.preventDefault(), navigator.clipboard.readText().then((
|
|
6261
|
-
window.document.execCommand("insertText", !1,
|
|
6262
|
-
}).catch((
|
|
6256
|
+
let g = "+_(___) ___-__-__", p = !0, j = 0, y = ($, N) => {
|
|
6257
|
+
let F = document.createRange(), K = window.getSelection();
|
|
6258
|
+
F.setStart(N.childNodes[0], $), F.collapse(!0), K.removeAllRanges(), K.addRange(F), N.focus();
|
|
6259
|
+
}, T = ($) => {
|
|
6260
|
+
$.preventDefault(), navigator.clipboard.readText().then((N) => {
|
|
6261
|
+
window.document.execCommand("insertText", !1, N);
|
|
6262
|
+
}).catch((N) => {
|
|
6263
6263
|
});
|
|
6264
6264
|
}, L = ($) => {
|
|
6265
|
-
let
|
|
6266
|
-
|
|
6267
|
-
let ne =
|
|
6265
|
+
let N = 0, F = "", K = $.replace(/\D/g, "");
|
|
6266
|
+
K === "" && (p = !0);
|
|
6267
|
+
let ne = K.split(""), ie = "";
|
|
6268
6268
|
ne.forEach((Be) => {
|
|
6269
6269
|
p && (ie += Be, kt[ie] !== void 0 && p ? (p = !1, g = kt[ie].mask.replace(new RegExp("[0-9]", "g"), "_"), F = kt[ie].code) : (p && (j = ("" + ie).length, g = `+${ie}_(___) ___-__-__`.replace(
|
|
6270
6270
|
new RegExp("[0-9]", "g"),
|
|
@@ -6275,42 +6275,42 @@ function Ut({
|
|
|
6275
6275
|
), F = "")));
|
|
6276
6276
|
});
|
|
6277
6277
|
let xe = g.replace(/\D/g, "");
|
|
6278
|
-
return xe.length >=
|
|
6279
|
-
return
|
|
6280
|
-
}), i:
|
|
6278
|
+
return xe.length >= K.length && (K = xe), { q: g.replace(/[_\d]/g, function() {
|
|
6279
|
+
return K.charAt(N++) || "_";
|
|
6280
|
+
}), i: N, v: K, f: F };
|
|
6281
6281
|
}, k = ($) => {
|
|
6282
6282
|
$.preventDefault(), navigator.clipboard.writeText($.target.textContent.replace(/\D/g, "")).then(
|
|
6283
6283
|
function() {
|
|
6284
6284
|
ve.Copy("Данные в буфер обмене");
|
|
6285
6285
|
},
|
|
6286
|
-
function(
|
|
6286
|
+
function(N) {
|
|
6287
6287
|
}
|
|
6288
6288
|
);
|
|
6289
6289
|
}, b = L(e), S = ($) => {
|
|
6290
|
-
let
|
|
6291
|
-
$.target.textContent =
|
|
6290
|
+
let N = L($.target.textContent);
|
|
6291
|
+
$.target.textContent = N.q, N.i = N.q.lastIndexOf(N.v.substr(-1)), N.i < N.q.length && N.q !== g ? N.i++ : N.i = N.q.indexOf("_"), y(N.i, $.target), t && t({ value: N.q.replace(/\D/g, ""), name: r });
|
|
6292
6292
|
}, w = ($) => {
|
|
6293
6293
|
$.key === "Enter" && $.preventDefault();
|
|
6294
6294
|
};
|
|
6295
|
-
const
|
|
6295
|
+
const Z = ($) => {
|
|
6296
6296
|
oe.Blur($), n && n({
|
|
6297
6297
|
value: $.target.textContent.replace(/\D/g, ""),
|
|
6298
6298
|
name: r
|
|
6299
6299
|
});
|
|
6300
|
-
},
|
|
6301
|
-
|
|
6300
|
+
}, I = {};
|
|
6301
|
+
I.field = "input", m && (I.className = m);
|
|
6302
6302
|
let M = {};
|
|
6303
|
-
return c && _ ? (M.edit = "true", M.contentEditable = "plaintext-only") : M.contentEditable = "false", s && (M.placeholder = s), u && (M.after = u), l ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...
|
|
6303
|
+
return c && _ ? (M.edit = "true", M.contentEditable = "plaintext-only") : M.contentEditable = "false", s && (M.placeholder = s), u && (M.after = u), l ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...I, children: [
|
|
6304
6304
|
i && /* @__PURE__ */ a.jsx("dt", { children: i }),
|
|
6305
6305
|
/* @__PURE__ */ a.jsx(
|
|
6306
6306
|
"dd",
|
|
6307
6307
|
{
|
|
6308
6308
|
...M,
|
|
6309
|
-
onPaste:
|
|
6309
|
+
onPaste: T,
|
|
6310
6310
|
onInput: S,
|
|
6311
6311
|
onKeyDown: w,
|
|
6312
6312
|
onContextMenu: k,
|
|
6313
|
-
onBlur:
|
|
6313
|
+
onBlur: Z,
|
|
6314
6314
|
suppressContentEditableWarning: !0,
|
|
6315
6315
|
children: b.q
|
|
6316
6316
|
}
|
|
@@ -6369,40 +6369,48 @@ function zt({
|
|
|
6369
6369
|
view: f,
|
|
6370
6370
|
order: m
|
|
6371
6371
|
}) {
|
|
6372
|
-
var
|
|
6373
|
-
const C = h.useRef(), [g, p] = h.useState(
|
|
6374
|
-
i !== void 0 && i !== "" ? (b = l[i]) == null ? void 0 : b.n : i
|
|
6375
|
-
);
|
|
6372
|
+
var w, Z;
|
|
6373
|
+
const C = h.useRef(), [g, p] = h.useState(i), [j, y] = h.useState(l);
|
|
6376
6374
|
h.useEffect(() => {
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
);
|
|
6381
|
-
},
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
}, R = (A) => {
|
|
6385
|
-
if (!(n && r)) return;
|
|
6386
|
-
const N = A.target.getBoundingClientRect();
|
|
6375
|
+
p(i), y(l);
|
|
6376
|
+
}, [i, l]), s = !!(s && (i === "" || ((w = j[i]) == null ? void 0 : w.n) === void 0)) && !(n && r);
|
|
6377
|
+
let L = (I) => {
|
|
6378
|
+
p(I), o && o({ value: I, name: u });
|
|
6379
|
+
}, k = (I) => {
|
|
6380
|
+
if (Object.keys(l).length === 0 || !(n && r)) return;
|
|
6381
|
+
const M = I.target.getBoundingClientRect();
|
|
6387
6382
|
he.setListener(
|
|
6388
6383
|
"form",
|
|
6389
6384
|
/* @__PURE__ */ a.jsx(
|
|
6390
6385
|
bc,
|
|
6391
6386
|
{
|
|
6392
|
-
parent:
|
|
6393
|
-
onValue:
|
|
6387
|
+
parent: M,
|
|
6388
|
+
onValue: L,
|
|
6394
6389
|
view: f,
|
|
6395
6390
|
className: _,
|
|
6396
|
-
options:
|
|
6391
|
+
options: j,
|
|
6397
6392
|
order: m
|
|
6398
6393
|
},
|
|
6399
6394
|
(/* @__PURE__ */ new Date()).getTime()
|
|
6400
6395
|
)
|
|
6401
6396
|
);
|
|
6402
|
-
},
|
|
6403
|
-
return c && (
|
|
6397
|
+
}, b = { field: "select", className: _ }, S = { onClick: k };
|
|
6398
|
+
return c && (S.placeholder = c), x && (S.after = x), n && r && (S.edit = ""), s ? "" : /* @__PURE__ */ a.jsxs("dl", { ...b, children: [
|
|
6404
6399
|
e && /* @__PURE__ */ a.jsx("dt", { children: e }),
|
|
6405
|
-
/* @__PURE__ */ a.jsx("dd", { ...
|
|
6400
|
+
/* @__PURE__ */ a.jsx("dd", { ...S, ref: C, children: (Z = j[g]) == null ? void 0 : Z.n }),
|
|
6401
|
+
Object.keys(j).length !== 0 && /* @__PURE__ */ a.jsx("s", { children: /* @__PURE__ */ a.jsx(
|
|
6402
|
+
"svg",
|
|
6403
|
+
{
|
|
6404
|
+
fill: "none",
|
|
6405
|
+
stroke: "currentColor",
|
|
6406
|
+
strokeLinecap: "round",
|
|
6407
|
+
strokeLinejoin: "round",
|
|
6408
|
+
strokeWidth: "1",
|
|
6409
|
+
viewBox: "0 0 24 24",
|
|
6410
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6411
|
+
children: /* @__PURE__ */ a.jsx("path", { d: "m5.25 8.625 6.75 6.75 6.75-6.75" })
|
|
6412
|
+
}
|
|
6413
|
+
) }),
|
|
6406
6414
|
t && /* @__PURE__ */ a.jsx("em", { children: t })
|
|
6407
6415
|
] });
|
|
6408
6416
|
}
|
|
@@ -6465,7 +6473,7 @@ const bc = ({
|
|
|
6465
6473
|
s
|
|
6466
6474
|
) : ""
|
|
6467
6475
|
) });
|
|
6468
|
-
function
|
|
6476
|
+
function Wt(e) {
|
|
6469
6477
|
let t = () => e.title ? /* @__PURE__ */ a.jsx("dt", { children: e.title }) : "", n = () => e.error ? /* @__PURE__ */ a.jsx("em", { children: e.error }) : "", r = e.edit !== void 0 ? e.edit : !0, s = e.active !== void 0 ? e.active : !0, o = !!(e.hide && (e.default === "" || e.options[e.default] === void 0)) && !(r && s), l = e.placeholder !== void 0 ? e.placeholder : "", c = (m) => {
|
|
6470
6478
|
u(e.options[m]), e.onValue({ value: m, name: e.name });
|
|
6471
6479
|
}, [_, u] = h.useState(
|
|
@@ -6568,7 +6576,7 @@ function Lt({
|
|
|
6568
6576
|
switch (e) {
|
|
6569
6577
|
case "Input":
|
|
6570
6578
|
return /* @__PURE__ */ a.jsx(
|
|
6571
|
-
|
|
6579
|
+
We,
|
|
6572
6580
|
{
|
|
6573
6581
|
title: i,
|
|
6574
6582
|
show: _,
|
|
@@ -6603,7 +6611,7 @@ function Lt({
|
|
|
6603
6611
|
);
|
|
6604
6612
|
case "Users":
|
|
6605
6613
|
return V.getSelect("user"), /* @__PURE__ */ a.jsx(
|
|
6606
|
-
|
|
6614
|
+
Wt,
|
|
6607
6615
|
{
|
|
6608
6616
|
title: i,
|
|
6609
6617
|
show: _,
|
|
@@ -6737,10 +6745,10 @@ function ia({
|
|
|
6737
6745
|
}).catch((b) => {
|
|
6738
6746
|
});
|
|
6739
6747
|
};
|
|
6740
|
-
const
|
|
6741
|
-
|
|
6748
|
+
const T = {};
|
|
6749
|
+
T.field = "text", C && (T.className = C);
|
|
6742
6750
|
const L = {};
|
|
6743
|
-
return r && (L.placeholder = r), /* @__PURE__ */ a.jsxs("dl", { ...
|
|
6751
|
+
return r && (L.placeholder = r), /* @__PURE__ */ a.jsxs("dl", { ...T, children: [
|
|
6744
6752
|
s && /* @__PURE__ */ a.jsx("dt", { children: s }),
|
|
6745
6753
|
/* @__PURE__ */ a.jsx(
|
|
6746
6754
|
"dd",
|
|
@@ -6778,17 +6786,17 @@ function oa({
|
|
|
6778
6786
|
if (!(l && c) && !u || !(l && c) && g) return "";
|
|
6779
6787
|
let y = (S) => {
|
|
6780
6788
|
j.current.textContent = S, t && t({ value: S, name: n });
|
|
6781
|
-
},
|
|
6789
|
+
}, T = (S) => {
|
|
6782
6790
|
m && m({ value: S, name: n });
|
|
6783
6791
|
}, L = (S) => {
|
|
6784
|
-
const w = S.target.getBoundingClientRect(),
|
|
6792
|
+
const w = S.target.getBoundingClientRect(), Z = w.left, I = w.top;
|
|
6785
6793
|
he.setListener(
|
|
6786
6794
|
"form",
|
|
6787
6795
|
/* @__PURE__ */ a.jsx(
|
|
6788
6796
|
Ec,
|
|
6789
6797
|
{
|
|
6790
|
-
positions: { x:
|
|
6791
|
-
onSave:
|
|
6798
|
+
positions: { x: Z, y: I },
|
|
6799
|
+
onSave: T,
|
|
6792
6800
|
onValue: y,
|
|
6793
6801
|
date: p
|
|
6794
6802
|
},
|
|
@@ -6880,7 +6888,7 @@ const Ec = ({ positions: e, onSave: t, onValue: n, date: r }) => {
|
|
|
6880
6888
|
}
|
|
6881
6889
|
}
|
|
6882
6890
|
n(i.h + ":" + i.m);
|
|
6883
|
-
}, [j, y] = h.useState(!0),
|
|
6891
|
+
}, [j, y] = h.useState(!0), T = () => {
|
|
6884
6892
|
y(!1), t(i.h + ":" + i.m);
|
|
6885
6893
|
}, L = window.innerHeight - e.y + 33 < 320 ? e.y - 312 : e.y + 33, k = window.innerWidth - e.x < 265 ? e.x - 235 : e.x;
|
|
6886
6894
|
return /* @__PURE__ */ a.jsx(a.Fragment, { children: j ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
@@ -6888,7 +6896,7 @@ const Ec = ({ positions: e, onSave: t, onValue: n, date: r }) => {
|
|
|
6888
6896
|
"div",
|
|
6889
6897
|
{
|
|
6890
6898
|
className: fe.o,
|
|
6891
|
-
onClick: () =>
|
|
6899
|
+
onClick: () => T()
|
|
6892
6900
|
},
|
|
6893
6901
|
(/* @__PURE__ */ new Date()).getTime()
|
|
6894
6902
|
),
|
|
@@ -7034,7 +7042,7 @@ function da({
|
|
|
7034
7042
|
if (f !== 0 && p.length >= f)
|
|
7035
7043
|
return ve.Error("Слишком много");
|
|
7036
7044
|
j([...p, ""]);
|
|
7037
|
-
},
|
|
7045
|
+
}, T = (M) => {
|
|
7038
7046
|
p.splice(M, 1), p.length === 0 && p.push(""), j([...p]), m !== void 0 && m({ value: p.join(g), name: n });
|
|
7039
7047
|
}, L = !!(o && (e === "" || e === void 0)), k = (M) => {
|
|
7040
7048
|
};
|
|
@@ -7046,10 +7054,10 @@ function da({
|
|
|
7046
7054
|
};
|
|
7047
7055
|
let w = (M, $) => {
|
|
7048
7056
|
p[$] = M.target.textContent, t && t({ value: p.join(g), name: n });
|
|
7049
|
-
},
|
|
7057
|
+
}, Z = (M) => {
|
|
7050
7058
|
M.key === "Enter" && M.preventDefault();
|
|
7051
7059
|
};
|
|
7052
|
-
const
|
|
7060
|
+
const I = ({ data: M }) => f !== 0 && M.length >= f ? "" : /* @__PURE__ */ a.jsx("i", { onClick: y, children: /* @__PURE__ */ a.jsxs(
|
|
7053
7061
|
"svg",
|
|
7054
7062
|
{
|
|
7055
7063
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7068,20 +7076,20 @@ function da({
|
|
|
7068
7076
|
return /* @__PURE__ */ a.jsxs("dl", { ...b, children: [
|
|
7069
7077
|
/* @__PURE__ */ a.jsxs("dt", { children: [
|
|
7070
7078
|
s,
|
|
7071
|
-
/* @__PURE__ */ a.jsx(
|
|
7079
|
+
/* @__PURE__ */ a.jsx(I, { data: p })
|
|
7072
7080
|
] }),
|
|
7073
7081
|
/* @__PURE__ */ a.jsx("dd", { children: p.map((M, $) => /* @__PURE__ */ a.jsxs("li", { className: "field_group_item", children: [
|
|
7074
7082
|
/* @__PURE__ */ a.jsx(
|
|
7075
7083
|
"span",
|
|
7076
7084
|
{
|
|
7077
|
-
onInput: (
|
|
7085
|
+
onInput: (N) => w(N, $),
|
|
7078
7086
|
edit: "true",
|
|
7079
7087
|
name: n,
|
|
7080
7088
|
placeholder: r,
|
|
7081
7089
|
onPaste: k,
|
|
7082
7090
|
contentEditable: l && c ? "plaintext-only" : "false",
|
|
7083
|
-
onKeyDown:
|
|
7084
|
-
onBlur: (
|
|
7091
|
+
onKeyDown: Z,
|
|
7092
|
+
onBlur: (N) => S(N, $),
|
|
7085
7093
|
suppressContentEditableWarning: !0,
|
|
7086
7094
|
children: p[$]
|
|
7087
7095
|
}
|
|
@@ -7090,7 +7098,7 @@ function da({
|
|
|
7090
7098
|
"i",
|
|
7091
7099
|
{
|
|
7092
7100
|
onClick: () => {
|
|
7093
|
-
|
|
7101
|
+
T($);
|
|
7094
7102
|
},
|
|
7095
7103
|
children: /* @__PURE__ */ a.jsxs(
|
|
7096
7104
|
"svg",
|
|
@@ -7145,10 +7153,10 @@ function _a({
|
|
|
7145
7153
|
name: n,
|
|
7146
7154
|
value: p
|
|
7147
7155
|
});
|
|
7148
|
-
},
|
|
7149
|
-
|
|
7156
|
+
}, T = {};
|
|
7157
|
+
T.field = "group", g && (T.className = g);
|
|
7150
7158
|
const L = {};
|
|
7151
|
-
return r && (L.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...
|
|
7159
|
+
return r && (L.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...T, children: [
|
|
7152
7160
|
/* @__PURE__ */ a.jsxs("dt", { children: [
|
|
7153
7161
|
s,
|
|
7154
7162
|
/* @__PURE__ */ a.jsx("i", { onClick: y, children: /* @__PURE__ */ a.jsxs(
|
|
@@ -7205,7 +7213,7 @@ function kn({
|
|
|
7205
7213
|
className: p = ""
|
|
7206
7214
|
}) {
|
|
7207
7215
|
const j = h.useId();
|
|
7208
|
-
let y = !!(l && (e === "" || e === void 0)), [
|
|
7216
|
+
let y = !!(l && (e === "" || e === void 0)), [T, L] = h.useState(i);
|
|
7209
7217
|
if (!(c && _) && !x || !(c && _) && y) return "";
|
|
7210
7218
|
const k = async (S) => {
|
|
7211
7219
|
if (f) {
|
|
@@ -7232,7 +7240,7 @@ function kn({
|
|
|
7232
7240
|
}
|
|
7233
7241
|
),
|
|
7234
7242
|
/* @__PURE__ */ a.jsx("label", { htmlFor: j }),
|
|
7235
|
-
/* @__PURE__ */ a.jsx("img", { src:
|
|
7243
|
+
/* @__PURE__ */ a.jsx("img", { src: T })
|
|
7236
7244
|
] }),
|
|
7237
7245
|
o && /* @__PURE__ */ a.jsx("em", { children: o })
|
|
7238
7246
|
] });
|
|
@@ -7324,7 +7332,7 @@ const Bd = {
|
|
|
7324
7332
|
Code: ea,
|
|
7325
7333
|
Check: la,
|
|
7326
7334
|
Switch: qn,
|
|
7327
|
-
Input:
|
|
7335
|
+
Input: We,
|
|
7328
7336
|
Button: Jn,
|
|
7329
7337
|
Message: Vn,
|
|
7330
7338
|
Generator: Xn,
|
|
@@ -7341,8 +7349,8 @@ const Bd = {
|
|
|
7341
7349
|
Set: Lt,
|
|
7342
7350
|
Textarea: ia,
|
|
7343
7351
|
Time: oa,
|
|
7344
|
-
Users:
|
|
7345
|
-
String:
|
|
7352
|
+
Users: Wt,
|
|
7353
|
+
String: We,
|
|
7346
7354
|
Form: Lt,
|
|
7347
7355
|
runReload: $c,
|
|
7348
7356
|
useData: Mc,
|
|
@@ -7372,42 +7380,42 @@ function Fc({
|
|
|
7372
7380
|
className: C = ""
|
|
7373
7381
|
}) {
|
|
7374
7382
|
_ = _ !== void 0 ? _ : !0, u = u !== void 0 ? u : !0, c = !!(c && (e === "" || e === void 0)) && !(_ && u), h.useRef(null);
|
|
7375
|
-
let p = s, j = !0, y = 0,
|
|
7376
|
-
let
|
|
7377
|
-
|
|
7378
|
-
}, L = (
|
|
7379
|
-
|
|
7383
|
+
let p = s, j = !0, y = 0, T = (N, F) => {
|
|
7384
|
+
let K = document.createRange(), ne = window.getSelection();
|
|
7385
|
+
K.setStart(F.childNodes[0], N), K.collapse(!0), ne.removeAllRanges(), ne.addRange(K), F.focus();
|
|
7386
|
+
}, L = (N) => {
|
|
7387
|
+
N.preventDefault(), navigator.clipboard.readText().then((F) => {
|
|
7380
7388
|
window.document.execCommand("insertText", !1, F);
|
|
7381
7389
|
}).catch((F) => {
|
|
7382
7390
|
});
|
|
7383
|
-
}, k = (
|
|
7384
|
-
let F = 0,
|
|
7391
|
+
}, k = (N) => {
|
|
7392
|
+
let F = 0, K = "", ne = N.replace(/\D/g, "");
|
|
7385
7393
|
ne === "" && (j = !0);
|
|
7386
7394
|
let ie = ne.split(""), xe = "";
|
|
7387
7395
|
ie.forEach((Ve) => {
|
|
7388
|
-
j && (xe += Ve, j && (y = ("" + xe).length, p = s.replace(new RegExp("[0-9]", "g"), "_"),
|
|
7396
|
+
j && (xe += Ve, j && (y = ("" + xe).length, p = s.replace(new RegExp("[0-9]", "g"), "_"), K = ""), y > ("" + xe).length && (j = !0, p = s.replace(new RegExp("[0-9]", "g"), "_"), K = ""));
|
|
7389
7397
|
});
|
|
7390
7398
|
let De = p.replace(/\D/g, "");
|
|
7391
7399
|
return De.length >= ne.length && (ne = De), { q: p.replace(/[_\d]/g, function() {
|
|
7392
7400
|
return ne.charAt(F++) || "_";
|
|
7393
|
-
}), i: F, v: ne, f:
|
|
7394
|
-
}, b = (
|
|
7395
|
-
|
|
7401
|
+
}), i: F, v: ne, f: K };
|
|
7402
|
+
}, b = (N) => {
|
|
7403
|
+
N.preventDefault(), navigator.clipboard.writeText(N.target.textContent.replace(/\D/g, "")).then(
|
|
7396
7404
|
function() {
|
|
7397
7405
|
ve.Copy("Данные в буфер обмене");
|
|
7398
7406
|
},
|
|
7399
7407
|
function(F) {
|
|
7400
7408
|
}
|
|
7401
7409
|
);
|
|
7402
|
-
}, S = k(e), w = (
|
|
7403
|
-
let F = k(
|
|
7404
|
-
|
|
7405
|
-
},
|
|
7406
|
-
|
|
7410
|
+
}, S = k(e), w = (N) => {
|
|
7411
|
+
let F = k(N.target.textContent);
|
|
7412
|
+
N.target.textContent = F.q, F.i = F.q.lastIndexOf(F.v.substr(-1)), F.i < F.q.length && F.q !== p ? F.i++ : F.i = F.q.indexOf("_"), T(F.i, N.target), t && t({ value: F.q.replace(/\D/g, ""), name: r });
|
|
7413
|
+
}, Z = (N) => {
|
|
7414
|
+
N.key === "Enter" && N.preventDefault();
|
|
7407
7415
|
};
|
|
7408
|
-
const
|
|
7409
|
-
oe.Blur(
|
|
7410
|
-
value:
|
|
7416
|
+
const I = (N) => {
|
|
7417
|
+
oe.Blur(N), n && n({
|
|
7418
|
+
value: N.target.textContent.replace(/\D/g, ""),
|
|
7411
7419
|
name: r
|
|
7412
7420
|
});
|
|
7413
7421
|
}, M = {};
|
|
@@ -7421,9 +7429,9 @@ function Fc({
|
|
|
7421
7429
|
...$,
|
|
7422
7430
|
onPaste: L,
|
|
7423
7431
|
onInput: w,
|
|
7424
|
-
onKeyDown:
|
|
7432
|
+
onKeyDown: Z,
|
|
7425
7433
|
onContextMenu: b,
|
|
7426
|
-
onBlur:
|
|
7434
|
+
onBlur: I,
|
|
7427
7435
|
suppressContentEditableWarning: !0,
|
|
7428
7436
|
children: S.q
|
|
7429
7437
|
}
|
|
@@ -7437,7 +7445,7 @@ const Fd = {
|
|
|
7437
7445
|
Code: ea,
|
|
7438
7446
|
Check: la,
|
|
7439
7447
|
Switch: qn,
|
|
7440
|
-
Input:
|
|
7448
|
+
Input: We,
|
|
7441
7449
|
Button: Jn,
|
|
7442
7450
|
Message: Vn,
|
|
7443
7451
|
Generator: Xn,
|
|
@@ -7455,8 +7463,8 @@ const Fd = {
|
|
|
7455
7463
|
Set: Lt,
|
|
7456
7464
|
Textarea: ia,
|
|
7457
7465
|
Time: oa,
|
|
7458
|
-
Users:
|
|
7459
|
-
String:
|
|
7466
|
+
Users: Wt,
|
|
7467
|
+
String: We,
|
|
7460
7468
|
Toogle: ca,
|
|
7461
7469
|
Group: da,
|
|
7462
7470
|
Options: _a,
|
|
@@ -7485,7 +7493,7 @@ function Zc() {
|
|
|
7485
7493
|
const Pd = { Spinner: Gc, Inline: Zc }, Uc = "_ph_1wjxu_1", zc = "_e_1wjxu_5", yn = {
|
|
7486
7494
|
ph: Uc,
|
|
7487
7495
|
e: zc
|
|
7488
|
-
},
|
|
7496
|
+
}, Wc = ({
|
|
7489
7497
|
title: e,
|
|
7490
7498
|
affter: t,
|
|
7491
7499
|
children: n,
|
|
@@ -7507,12 +7515,12 @@ const Pd = { Spinner: Gc, Inline: Zc }, Uc = "_ph_1wjxu_1", zc = "_e_1wjxu_5", y
|
|
|
7507
7515
|
/* @__PURE__ */ a.jsx("div", { className: yn.e }),
|
|
7508
7516
|
/* @__PURE__ */ a.jsx(Hc, { button: r })
|
|
7509
7517
|
] }),
|
|
7510
|
-
i.length > 0 && /* @__PURE__ */ a.jsx(
|
|
7518
|
+
i.length > 0 && /* @__PURE__ */ a.jsx(Wn, { list: i, active: _ }),
|
|
7511
7519
|
n,
|
|
7512
|
-
u && /* @__PURE__ */ a.jsx(
|
|
7520
|
+
u && /* @__PURE__ */ a.jsx(Kc, { loading: c, m: l, t: _ })
|
|
7513
7521
|
] });
|
|
7514
7522
|
};
|
|
7515
|
-
let
|
|
7523
|
+
let Kc = ({ m: e, t, loading: n }) => {
|
|
7516
7524
|
const r = h.lazy(() => lt(e + "/pages/" + t + ".tsx"));
|
|
7517
7525
|
return /* @__PURE__ */ a.jsx(h.Suspense, { fallback: n, children: /* @__PURE__ */ a.jsx(r, {}) });
|
|
7518
7526
|
}, Hc = ({ button: e }) => {
|
|
@@ -7532,14 +7540,14 @@ let Wc = ({ m: e, t, loading: n }) => {
|
|
|
7532
7540
|
return Pt("title", r), /* @__PURE__ */ a.jsx("h2", { children: n });
|
|
7533
7541
|
};
|
|
7534
7542
|
const Od = {
|
|
7535
|
-
Lite:
|
|
7543
|
+
Lite: Wc
|
|
7536
7544
|
}, qc = "_s_t9swc_1", bn = {
|
|
7537
7545
|
s: qc
|
|
7538
7546
|
};
|
|
7539
|
-
let
|
|
7547
|
+
let Kt;
|
|
7540
7548
|
function Jc({ className: e, placeholder: t }) {
|
|
7541
7549
|
let n = (o) => {
|
|
7542
|
-
|
|
7550
|
+
Kt(o.target.textContent);
|
|
7543
7551
|
}, r = (o) => {
|
|
7544
7552
|
o.key === "Enter" && o.preventDefault();
|
|
7545
7553
|
}, s = (o) => {
|
|
@@ -7570,10 +7578,10 @@ function Vc(e, t, n) {
|
|
|
7570
7578
|
}), o;
|
|
7571
7579
|
}
|
|
7572
7580
|
function Xc(e) {
|
|
7573
|
-
|
|
7581
|
+
Kt = e;
|
|
7574
7582
|
}
|
|
7575
7583
|
function Qc(e) {
|
|
7576
|
-
|
|
7584
|
+
Kt = e;
|
|
7577
7585
|
}
|
|
7578
7586
|
const Ad = { Field: Jc, Run: Vc, Get: Xc, useValue: Qc }, ed = "_f_q3r0i_1", td = {
|
|
7579
7587
|
f: ed
|
|
@@ -7936,12 +7944,12 @@ function gd(e) {
|
|
|
7936
7944
|
function xd(e) {
|
|
7937
7945
|
$t.get && $t.get(e);
|
|
7938
7946
|
}
|
|
7939
|
-
const zd = { View: md, Reducer: pd, useValue: gd, Lite: hd, setValue: xd },
|
|
7947
|
+
const zd = { View: md, Reducer: pd, useValue: gd, Lite: hd, setValue: xd }, Wd = {
|
|
7940
7948
|
addDictionary: tl,
|
|
7941
7949
|
getDictionary: rl,
|
|
7942
7950
|
setDictionary: al,
|
|
7943
7951
|
current: sl
|
|
7944
|
-
},
|
|
7952
|
+
}, Kd = { Get: ki }, Hd = function({
|
|
7945
7953
|
title: e,
|
|
7946
7954
|
children: t,
|
|
7947
7955
|
imp: n,
|
|
@@ -7957,7 +7965,7 @@ const zd = { View: md, Reducer: pd, useValue: gd, Lite: hd, setValue: xd }, Kd =
|
|
|
7957
7965
|
/* @__PURE__ */ a.jsxs("div", { className: "list-info", children: [
|
|
7958
7966
|
/* @__PURE__ */ a.jsx("h2", { children: e }),
|
|
7959
7967
|
/* @__PURE__ */ a.jsx("div", { className: "empty" }),
|
|
7960
|
-
/* @__PURE__ */ a.jsx(
|
|
7968
|
+
/* @__PURE__ */ a.jsx(jd, { button: r })
|
|
7961
7969
|
] }),
|
|
7962
7970
|
c && /* @__PURE__ */ a.jsx(vd, { imp: n, modules: o, t: l }),
|
|
7963
7971
|
t
|
|
@@ -7966,7 +7974,7 @@ const zd = { View: md, Reducer: pd, useValue: gd, Lite: hd, setValue: xd }, Kd =
|
|
|
7966
7974
|
let vd = ({ modules: e, t }) => {
|
|
7967
7975
|
const n = h.lazy(() => lt(e + "/pages/" + t + ".tsx"));
|
|
7968
7976
|
return /* @__PURE__ */ a.jsx(h.Suspense, { fallback: "", children: /* @__PURE__ */ a.jsx(n, {}) });
|
|
7969
|
-
},
|
|
7977
|
+
}, jd = ({ button: e }) => {
|
|
7970
7978
|
const [t, n] = h.useState(e);
|
|
7971
7979
|
return he.useListener("button", n), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
7972
7980
|
" ",
|
|
@@ -8008,7 +8016,7 @@ export {
|
|
|
8008
8016
|
bd as Browser,
|
|
8009
8017
|
uo as Button,
|
|
8010
8018
|
Ed as Chart,
|
|
8011
|
-
|
|
8019
|
+
Kd as Company,
|
|
8012
8020
|
vn as Component,
|
|
8013
8021
|
Md as DataBase,
|
|
8014
8022
|
he as Event,
|
|
@@ -8021,7 +8029,7 @@ export {
|
|
|
8021
8029
|
Rd as Icon,
|
|
8022
8030
|
_l as Init,
|
|
8023
8031
|
Fd as Input,
|
|
8024
|
-
|
|
8032
|
+
Wd as Lang,
|
|
8025
8033
|
Od as Layout,
|
|
8026
8034
|
zd as List,
|
|
8027
8035
|
Pd as Loading,
|
|
@@ -8036,12 +8044,12 @@ export {
|
|
|
8036
8044
|
Ad as Search,
|
|
8037
8045
|
Sd as Setting,
|
|
8038
8046
|
Le as Sistym,
|
|
8039
|
-
|
|
8047
|
+
Ce as Socket,
|
|
8040
8048
|
V as Store,
|
|
8041
8049
|
qd as Switch,
|
|
8042
8050
|
wd as Tabs,
|
|
8043
8051
|
Hd as Test,
|
|
8044
8052
|
Nd as Triage,
|
|
8045
8053
|
Ft as User,
|
|
8046
|
-
|
|
8054
|
+
W as WebRTC
|
|
8047
8055
|
};
|