elcrm 0.9.141 → 0.9.142
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 +456 -437
- 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 Xa = Object.defineProperty;
|
|
2
2
|
var Va = (e, t, n) => t in e ? Xa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var kt = (e, t, n) => Va(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import m, { createContext as
|
|
4
|
+
import m, { createContext as In, useContext as Qa, createElement as Rn } from "react";
|
|
5
5
|
let At = {
|
|
6
6
|
enCode: (e) => e,
|
|
7
7
|
deCode: (e) => e
|
|
@@ -56,36 +56,36 @@ function ar() {
|
|
|
56
56
|
var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
57
57
|
function j(d) {
|
|
58
58
|
{
|
|
59
|
-
for (var k = arguments.length,
|
|
60
|
-
|
|
61
|
-
E("error", d,
|
|
59
|
+
for (var k = arguments.length, I = new Array(k > 1 ? k - 1 : 0), F = 1; F < k; F++)
|
|
60
|
+
I[F - 1] = arguments[F];
|
|
61
|
+
E("error", d, I);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
function E(d, k,
|
|
64
|
+
function E(d, k, I) {
|
|
65
65
|
{
|
|
66
66
|
var F = y.ReactDebugCurrentFrame, z = F.getStackAddendum();
|
|
67
|
-
z !== "" && (k += "%s",
|
|
68
|
-
var K =
|
|
67
|
+
z !== "" && (k += "%s", I = I.concat([z]));
|
|
68
|
+
var K = I.map(function(G) {
|
|
69
69
|
return String(G);
|
|
70
70
|
});
|
|
71
71
|
K.unshift("Warning: " + k), Function.prototype.apply.call(console[d], console, K);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var M = !1, R = !1, D = !1, N = !1, w = !1, O;
|
|
75
75
|
O = Symbol.for("react.module.reference");
|
|
76
76
|
function B(d) {
|
|
77
|
-
return !!(typeof d == "string" || typeof d == "function" || d === r || d === i || w || d === s || d === _ || d === u ||
|
|
77
|
+
return !!(typeof d == "string" || typeof d == "function" || d === r || d === i || w || d === s || d === _ || d === u || N || d === h || M || R || D || typeof d == "object" && d !== null && (d.$$typeof === f || d.$$typeof === v || 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
81
|
d.$$typeof === O || d.getModuleId !== void 0));
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function L(d, k, I) {
|
|
84
84
|
var F = d.displayName;
|
|
85
85
|
if (F)
|
|
86
86
|
return F;
|
|
87
87
|
var z = k.displayName || k.name || "";
|
|
88
|
-
return z !== "" ?
|
|
88
|
+
return z !== "" ? I + "(" + z + ")" : I;
|
|
89
89
|
}
|
|
90
90
|
function S(d) {
|
|
91
91
|
return d.displayName || "Context";
|
|
@@ -117,10 +117,10 @@ function ar() {
|
|
|
117
117
|
var k = d;
|
|
118
118
|
return S(k) + ".Consumer";
|
|
119
119
|
case o:
|
|
120
|
-
var
|
|
121
|
-
return S(
|
|
120
|
+
var I = d;
|
|
121
|
+
return S(I._context) + ".Provider";
|
|
122
122
|
case c:
|
|
123
|
-
return
|
|
123
|
+
return L(d, d.render, "ForwardRef");
|
|
124
124
|
case v:
|
|
125
125
|
var F = d.displayName || null;
|
|
126
126
|
return F !== null ? F : x(d.type) || "Memo";
|
|
@@ -135,14 +135,14 @@ function ar() {
|
|
|
135
135
|
}
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
138
|
-
var
|
|
138
|
+
var T = Object.assign, Z = 0, J, oe, Ce, Re, Pe, Qe, Xt;
|
|
139
139
|
function Vt() {
|
|
140
140
|
}
|
|
141
141
|
Vt.__reactDisabledLog = !0;
|
|
142
142
|
function ba() {
|
|
143
143
|
{
|
|
144
144
|
if (Z === 0) {
|
|
145
|
-
J = console.log, oe = console.info, Ce = console.warn,
|
|
145
|
+
J = console.log, oe = console.info, Ce = console.warn, Re = console.error, Pe = console.group, Qe = console.groupCollapsed, Xt = console.groupEnd;
|
|
146
146
|
var d = {
|
|
147
147
|
configurable: !0,
|
|
148
148
|
enumerable: !0,
|
|
@@ -171,25 +171,25 @@ function ar() {
|
|
|
171
171
|
writable: !0
|
|
172
172
|
};
|
|
173
173
|
Object.defineProperties(console, {
|
|
174
|
-
log:
|
|
174
|
+
log: T({}, d, {
|
|
175
175
|
value: J
|
|
176
176
|
}),
|
|
177
|
-
info:
|
|
177
|
+
info: T({}, d, {
|
|
178
178
|
value: oe
|
|
179
179
|
}),
|
|
180
|
-
warn:
|
|
180
|
+
warn: T({}, d, {
|
|
181
181
|
value: Ce
|
|
182
182
|
}),
|
|
183
|
-
error:
|
|
184
|
-
value:
|
|
183
|
+
error: T({}, d, {
|
|
184
|
+
value: Re
|
|
185
185
|
}),
|
|
186
|
-
group:
|
|
186
|
+
group: T({}, d, {
|
|
187
187
|
value: Pe
|
|
188
188
|
}),
|
|
189
|
-
groupCollapsed:
|
|
189
|
+
groupCollapsed: T({}, d, {
|
|
190
190
|
value: Qe
|
|
191
191
|
}),
|
|
192
|
-
groupEnd:
|
|
192
|
+
groupEnd: T({}, d, {
|
|
193
193
|
value: Xt
|
|
194
194
|
})
|
|
195
195
|
});
|
|
@@ -198,7 +198,7 @@ function ar() {
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
var ft = y.ReactCurrentDispatcher, mt;
|
|
201
|
-
function et(d, k,
|
|
201
|
+
function et(d, k, I) {
|
|
202
202
|
{
|
|
203
203
|
if (mt === void 0)
|
|
204
204
|
try {
|
|
@@ -220,9 +220,9 @@ function ar() {
|
|
|
220
220
|
if (!d || ht)
|
|
221
221
|
return "";
|
|
222
222
|
{
|
|
223
|
-
var
|
|
224
|
-
if (
|
|
225
|
-
return
|
|
223
|
+
var I = tt.get(d);
|
|
224
|
+
if (I !== void 0)
|
|
225
|
+
return I;
|
|
226
226
|
}
|
|
227
227
|
var F;
|
|
228
228
|
ht = !0;
|
|
@@ -287,14 +287,14 @@ function ar() {
|
|
|
287
287
|
var Ne = d ? d.displayName || d.name : "", Ee = Ne ? et(Ne) : "";
|
|
288
288
|
return typeof d == "function" && tt.set(d, Ee), Ee;
|
|
289
289
|
}
|
|
290
|
-
function Ea(d, k,
|
|
290
|
+
function Ea(d, k, I) {
|
|
291
291
|
return Qt(d, !1);
|
|
292
292
|
}
|
|
293
293
|
function Da(d) {
|
|
294
294
|
var k = d.prototype;
|
|
295
295
|
return !!(k && k.isReactComponent);
|
|
296
296
|
}
|
|
297
|
-
function nt(d, k,
|
|
297
|
+
function nt(d, k, I) {
|
|
298
298
|
if (d == null)
|
|
299
299
|
return "";
|
|
300
300
|
if (typeof d == "function")
|
|
@@ -312,11 +312,11 @@ function ar() {
|
|
|
312
312
|
case c:
|
|
313
313
|
return Ea(d.render);
|
|
314
314
|
case v:
|
|
315
|
-
return nt(d.type, k,
|
|
315
|
+
return nt(d.type, k, I);
|
|
316
316
|
case f: {
|
|
317
317
|
var F = d, z = F._payload, K = F._init;
|
|
318
318
|
try {
|
|
319
|
-
return nt(K(z), k,
|
|
319
|
+
return nt(K(z), k, I);
|
|
320
320
|
} catch {
|
|
321
321
|
}
|
|
322
322
|
}
|
|
@@ -326,12 +326,12 @@ function ar() {
|
|
|
326
326
|
var Oe = Object.prototype.hasOwnProperty, en = {}, tn = y.ReactDebugCurrentFrame;
|
|
327
327
|
function at(d) {
|
|
328
328
|
if (d) {
|
|
329
|
-
var k = d._owner,
|
|
330
|
-
tn.setExtraStackFrame(
|
|
329
|
+
var k = d._owner, I = nt(d.type, d._source, k ? k.type : null);
|
|
330
|
+
tn.setExtraStackFrame(I);
|
|
331
331
|
} else
|
|
332
332
|
tn.setExtraStackFrame(null);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function Ia(d, k, I, F, z) {
|
|
335
335
|
{
|
|
336
336
|
var K = Function.call.bind(Oe);
|
|
337
337
|
for (var G in d)
|
|
@@ -339,25 +339,25 @@ function ar() {
|
|
|
339
339
|
var U = void 0;
|
|
340
340
|
try {
|
|
341
341
|
if (typeof d[G] != "function") {
|
|
342
|
-
var ne = Error((F || "React class") + ": " +
|
|
342
|
+
var ne = Error((F || "React class") + ": " + I + " type `" + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof d[G] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
343
343
|
throw ne.name = "Invariant Violation", ne;
|
|
344
344
|
}
|
|
345
|
-
U = d[G](k, G, F,
|
|
345
|
+
U = d[G](k, G, F, I, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
346
346
|
} catch (X) {
|
|
347
347
|
U = X;
|
|
348
348
|
}
|
|
349
|
-
U && !(U instanceof Error) && (at(z), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", F || "React class",
|
|
349
|
+
U && !(U instanceof Error) && (at(z), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", F || "React class", I, G, typeof U), at(null)), U instanceof Error && !(U.message in en) && (en[U.message] = !0, at(z), j("Failed %s type: %s", I, U.message), at(null));
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
var
|
|
353
|
+
var Ra = Array.isArray;
|
|
354
354
|
function pt(d) {
|
|
355
|
-
return
|
|
355
|
+
return Ra(d);
|
|
356
356
|
}
|
|
357
357
|
function Ta(d) {
|
|
358
358
|
{
|
|
359
|
-
var k = typeof Symbol == "function" && Symbol.toStringTag,
|
|
360
|
-
return
|
|
359
|
+
var k = typeof Symbol == "function" && Symbol.toStringTag, I = k && d[Symbol.toStringTag] || d.constructor.name || "Object";
|
|
360
|
+
return I;
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
function Na(d) {
|
|
@@ -399,40 +399,40 @@ function ar() {
|
|
|
399
399
|
}
|
|
400
400
|
function Ba(d, k) {
|
|
401
401
|
if (typeof d.ref == "string" && Ae.current && k && Ae.current.stateNode !== k) {
|
|
402
|
-
var
|
|
403
|
-
gt[
|
|
402
|
+
var I = x(Ae.current.type);
|
|
403
|
+
gt[I] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', x(Ae.current.type), d.ref), gt[I] = !0);
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
406
|
function Fa(d, k) {
|
|
407
407
|
{
|
|
408
|
-
var
|
|
408
|
+
var I = function() {
|
|
409
409
|
rn || (rn = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", k));
|
|
410
410
|
};
|
|
411
|
-
|
|
412
|
-
get:
|
|
411
|
+
I.isReactWarning = !0, Object.defineProperty(d, "key", {
|
|
412
|
+
get: I,
|
|
413
413
|
configurable: !0
|
|
414
414
|
});
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
function Pa(d, k) {
|
|
418
418
|
{
|
|
419
|
-
var
|
|
419
|
+
var I = function() {
|
|
420
420
|
sn || (sn = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", k));
|
|
421
421
|
};
|
|
422
|
-
|
|
423
|
-
get:
|
|
422
|
+
I.isReactWarning = !0, Object.defineProperty(d, "ref", {
|
|
423
|
+
get: I,
|
|
424
424
|
configurable: !0
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
var Oa = function(d, k,
|
|
428
|
+
var Oa = function(d, k, I, F, z, K, G) {
|
|
429
429
|
var U = {
|
|
430
430
|
// This tag allows us to uniquely identify this as a React Element
|
|
431
431
|
$$typeof: t,
|
|
432
432
|
// Built-in properties that belong on the element
|
|
433
433
|
type: d,
|
|
434
434
|
key: k,
|
|
435
|
-
ref:
|
|
435
|
+
ref: I,
|
|
436
436
|
props: G,
|
|
437
437
|
// Record the component responsible for creating this element.
|
|
438
438
|
_owner: K
|
|
@@ -454,10 +454,10 @@ function ar() {
|
|
|
454
454
|
value: z
|
|
455
455
|
}), Object.freeze && (Object.freeze(U.props), Object.freeze(U)), U;
|
|
456
456
|
};
|
|
457
|
-
function Aa(d, k,
|
|
457
|
+
function Aa(d, k, I, F, z) {
|
|
458
458
|
{
|
|
459
459
|
var K, G = {}, U = null, ne = null;
|
|
460
|
-
|
|
460
|
+
I !== void 0 && (an(I), U = "" + I), $a(k) && (an(k.key), U = "" + k.key), La(k) && (ne = k.ref, Ba(k, z));
|
|
461
461
|
for (K in k)
|
|
462
462
|
Oe.call(k, K) && !Ma.hasOwnProperty(K) && (G[K] = k[K]);
|
|
463
463
|
if (d && d.defaultProps) {
|
|
@@ -475,8 +475,8 @@ function ar() {
|
|
|
475
475
|
var xt = y.ReactCurrentOwner, on = y.ReactDebugCurrentFrame;
|
|
476
476
|
function Te(d) {
|
|
477
477
|
if (d) {
|
|
478
|
-
var k = d._owner,
|
|
479
|
-
on.setExtraStackFrame(
|
|
478
|
+
var k = d._owner, I = nt(d.type, d._source, k ? k.type : null);
|
|
479
|
+
on.setExtraStackFrame(I);
|
|
480
480
|
} else
|
|
481
481
|
on.setExtraStackFrame(null);
|
|
482
482
|
}
|
|
@@ -505,10 +505,10 @@ Check the render method of \`` + d + "`.";
|
|
|
505
505
|
{
|
|
506
506
|
var k = ln();
|
|
507
507
|
if (!k) {
|
|
508
|
-
var
|
|
509
|
-
|
|
508
|
+
var I = typeof d == "string" ? d : d.displayName || d.name;
|
|
509
|
+
I && (k = `
|
|
510
510
|
|
|
511
|
-
Check the top-level render call using <` +
|
|
511
|
+
Check the top-level render call using <` + I + ">.");
|
|
512
512
|
}
|
|
513
513
|
return k;
|
|
514
514
|
}
|
|
@@ -518,12 +518,12 @@ Check the top-level render call using <` + D + ">.");
|
|
|
518
518
|
if (!d._store || d._store.validated || d.key != null)
|
|
519
519
|
return;
|
|
520
520
|
d._store.validated = !0;
|
|
521
|
-
var
|
|
522
|
-
if (cn[
|
|
521
|
+
var I = Ga(k);
|
|
522
|
+
if (cn[I])
|
|
523
523
|
return;
|
|
524
|
-
cn[
|
|
524
|
+
cn[I] = !0;
|
|
525
525
|
var F = "";
|
|
526
|
-
d && d._owner && d._owner !== xt.current && (F = " It was passed a child from " + x(d._owner.type) + "."), Te(d), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
|
526
|
+
d && d._owner && d._owner !== xt.current && (F = " It was passed a child from " + x(d._owner.type) + "."), Te(d), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', I, F), Te(null);
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
function _n(d, k) {
|
|
@@ -531,8 +531,8 @@ Check the top-level render call using <` + D + ">.");
|
|
|
531
531
|
if (typeof d != "object")
|
|
532
532
|
return;
|
|
533
533
|
if (pt(d))
|
|
534
|
-
for (var
|
|
535
|
-
var F = d[
|
|
534
|
+
for (var I = 0; I < d.length; I++) {
|
|
535
|
+
var F = d[I];
|
|
536
536
|
Ct(F) && dn(F, k);
|
|
537
537
|
}
|
|
538
538
|
else if (Ct(d))
|
|
@@ -550,18 +550,18 @@ Check the top-level render call using <` + D + ">.");
|
|
|
550
550
|
var k = d.type;
|
|
551
551
|
if (k == null || typeof k == "string")
|
|
552
552
|
return;
|
|
553
|
-
var
|
|
553
|
+
var I;
|
|
554
554
|
if (typeof k == "function")
|
|
555
|
-
|
|
555
|
+
I = k.propTypes;
|
|
556
556
|
else if (typeof k == "object" && (k.$$typeof === c || // Note: Memo only checks outer props here.
|
|
557
557
|
// Inner props are checked in the reconciler.
|
|
558
558
|
k.$$typeof === v))
|
|
559
|
-
|
|
559
|
+
I = k.propTypes;
|
|
560
560
|
else
|
|
561
561
|
return;
|
|
562
|
-
if (
|
|
562
|
+
if (I) {
|
|
563
563
|
var F = x(k);
|
|
564
|
-
|
|
564
|
+
Ia(I, d.props, "prop", F, d);
|
|
565
565
|
} else if (k.PropTypes !== void 0 && !vt) {
|
|
566
566
|
vt = !0;
|
|
567
567
|
var z = x(k);
|
|
@@ -572,8 +572,8 @@ Check the top-level render call using <` + D + ">.");
|
|
|
572
572
|
}
|
|
573
573
|
function za(d) {
|
|
574
574
|
{
|
|
575
|
-
for (var k = Object.keys(d.props),
|
|
576
|
-
var F = k[
|
|
575
|
+
for (var k = Object.keys(d.props), I = 0; I < k.length; I++) {
|
|
576
|
+
var F = k[I];
|
|
577
577
|
if (F !== "children" && F !== "key") {
|
|
578
578
|
Te(d), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", F), Te(null);
|
|
579
579
|
break;
|
|
@@ -583,7 +583,7 @@ Check the top-level render call using <` + D + ">.");
|
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
var un = {};
|
|
586
|
-
function fn(d, k,
|
|
586
|
+
function fn(d, k, I, F, z, K) {
|
|
587
587
|
{
|
|
588
588
|
var G = B(d);
|
|
589
589
|
if (!G) {
|
|
@@ -594,7 +594,7 @@ Check the top-level render call using <` + D + ">.");
|
|
|
594
594
|
var X;
|
|
595
595
|
d === null ? X = "null" : pt(d) ? X = "array" : d !== void 0 && d.$$typeof === t ? (X = "<" + (x(d.type) || "Unknown") + " />", U = " Did you accidentally export a JSX literal instead of a component?") : X = typeof d, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", X, U);
|
|
596
596
|
}
|
|
597
|
-
var ee = Aa(d, k,
|
|
597
|
+
var ee = Aa(d, k, I, z, K);
|
|
598
598
|
if (ee == null)
|
|
599
599
|
return ee;
|
|
600
600
|
if (G) {
|
|
@@ -627,11 +627,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
627
627
|
return d === r ? za(ee) : Za(ee), ee;
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
|
-
function Wa(d, k,
|
|
631
|
-
return fn(d, k,
|
|
630
|
+
function Wa(d, k, I) {
|
|
631
|
+
return fn(d, k, I, !0);
|
|
632
632
|
}
|
|
633
|
-
function Ka(d, k,
|
|
634
|
-
return fn(d, k,
|
|
633
|
+
function Ka(d, k, I) {
|
|
634
|
+
return fn(d, k, I, !1);
|
|
635
635
|
}
|
|
636
636
|
var Ha = Ka, Ya = Wa;
|
|
637
637
|
Ge.Fragment = r, Ge.jsx = Ha, Ge.jsxs = Ya;
|
|
@@ -826,13 +826,13 @@ function Dr() {
|
|
|
826
826
|
};
|
|
827
827
|
return A.page = n, [e];
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function Ir(e, t = !0) {
|
|
830
830
|
b.page = e, sessionStorage.setItem("f", P.enCode(b)), A.dynamicURL && A.dynamicURL(b), t && A.page(e);
|
|
831
831
|
}
|
|
832
832
|
function Mn() {
|
|
833
833
|
return b.page;
|
|
834
834
|
}
|
|
835
|
-
function
|
|
835
|
+
function Rr(e) {
|
|
836
836
|
return b.page === e;
|
|
837
837
|
}
|
|
838
838
|
function Tr(e) {
|
|
@@ -1254,7 +1254,7 @@ async function Ds(e, t = {}, n = $e ? Q.getSSID() : Q.getAUTH()) {
|
|
|
1254
1254
|
return { status: "error", message: r };
|
|
1255
1255
|
}
|
|
1256
1256
|
}
|
|
1257
|
-
function
|
|
1257
|
+
function Is(e, t = {}, n = $e ? Q.getSSID() : Q.getAUTH()) {
|
|
1258
1258
|
return new Promise((r) => {
|
|
1259
1259
|
const s = new Wn();
|
|
1260
1260
|
s.onmessage = (i) => {
|
|
@@ -1267,7 +1267,7 @@ function Rs(e, t = {}, n = $e ? Q.getSSID() : Q.getAUTH()) {
|
|
|
1267
1267
|
});
|
|
1268
1268
|
});
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1270
|
+
function Rs(e, t = {}, n = $e ? Q.getSSID() : Q.getAUTH()) {
|
|
1271
1271
|
const [r, s] = m.useState({ status: "load" }), i = async (o) => {
|
|
1272
1272
|
let l = await Xe(e, o, n);
|
|
1273
1273
|
if (l.status === "logaut" || l.status === "logout")
|
|
@@ -1316,12 +1316,12 @@ const Dt = {
|
|
|
1316
1316
|
audio: ws,
|
|
1317
1317
|
image: Ss,
|
|
1318
1318
|
fetch: Xe,
|
|
1319
|
-
modules:
|
|
1319
|
+
modules: Is,
|
|
1320
1320
|
remoute: Ts,
|
|
1321
1321
|
url: bs,
|
|
1322
1322
|
test: Ls,
|
|
1323
1323
|
telegram: Ns,
|
|
1324
|
-
use:
|
|
1324
|
+
use: Rs,
|
|
1325
1325
|
token: Ms,
|
|
1326
1326
|
formData: Ds
|
|
1327
1327
|
};
|
|
@@ -1363,16 +1363,16 @@ function Bs(e) {
|
|
|
1363
1363
|
};
|
|
1364
1364
|
}
|
|
1365
1365
|
const Fs = (e) => {
|
|
1366
|
-
function t(E,
|
|
1367
|
-
var
|
|
1368
|
-
E = E ?? "",
|
|
1369
|
-
for (var
|
|
1370
|
-
|
|
1371
|
-
return
|
|
1366
|
+
function t(E, M) {
|
|
1367
|
+
var R, N, D;
|
|
1368
|
+
E = E ?? "", M = M ?? 1;
|
|
1369
|
+
for (var R = [], D = 0, N = E.length; D < N; )
|
|
1370
|
+
R.push(E.slice(D, D += M));
|
|
1371
|
+
return R;
|
|
1372
1372
|
}
|
|
1373
|
-
function n(E,
|
|
1374
|
-
var
|
|
1375
|
-
return
|
|
1373
|
+
function n(E, M) {
|
|
1374
|
+
var R = [2, 0, 1, 1, 1, 2];
|
|
1375
|
+
return M[E > 4 && E < 20 ? 2 : R[Math.min(E, 5)]];
|
|
1376
1376
|
}
|
|
1377
1377
|
var r = {
|
|
1378
1378
|
null: "ноль",
|
|
@@ -1913,7 +1913,7 @@ const H = {
|
|
|
1913
1913
|
s.s = !1, clearInterval(s.i);
|
|
1914
1914
|
};
|
|
1915
1915
|
}, [t, n]), /* @__PURE__ */ a.jsx("span", { ref: s });
|
|
1916
|
-
}, Od = { Counter: li }, ci = "_alerts_ita6j_1", di = "_menuAnimation_ita6j_1", _i = "_menuItemAnimation_ita6j_1", ui = "_allert_ita6j_111", fi = "_al_ita6j_1",
|
|
1916
|
+
}, Od = { Counter: li }, ci = "_alerts_ita6j_1", di = "_menuAnimation_ita6j_1", _i = "_menuItemAnimation_ita6j_1", ui = "_allert_ita6j_111", fi = "_al_ita6j_1", It = {
|
|
1917
1917
|
alerts: ci,
|
|
1918
1918
|
menuAnimation: di,
|
|
1919
1919
|
menuItemAnimation: _i,
|
|
@@ -1927,7 +1927,7 @@ function mi() {
|
|
|
1927
1927
|
let [e, t] = m.useState("");
|
|
1928
1928
|
return Ke.set = (n) => t(n), Ke.del = () => t(""), /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
|
|
1929
1929
|
}
|
|
1930
|
-
const hi = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className:
|
|
1930
|
+
const hi = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ a.jsxs("div", { className: It.alerts, children: [
|
|
1931
1931
|
/* @__PURE__ */ a.jsxs("dl", { children: [
|
|
1932
1932
|
/* @__PURE__ */ a.jsx("dt", { children: e.title }),
|
|
1933
1933
|
/* @__PURE__ */ a.jsx("dd", { children: e.text }),
|
|
@@ -1945,7 +1945,7 @@ const hi = ({ data: e, callback: t, cancel: n }) => (e.button = e.button === voi
|
|
|
1945
1945
|
/* @__PURE__ */ a.jsx(
|
|
1946
1946
|
"div",
|
|
1947
1947
|
{
|
|
1948
|
-
className:
|
|
1948
|
+
className: It["--body"],
|
|
1949
1949
|
onClick: () => {
|
|
1950
1950
|
n == null || n(), Ke.del();
|
|
1951
1951
|
}
|
|
@@ -1961,10 +1961,10 @@ const pe = {
|
|
|
1961
1961
|
useDynamicURL: xr,
|
|
1962
1962
|
Path: Or,
|
|
1963
1963
|
Push: Ar,
|
|
1964
|
-
setPage:
|
|
1964
|
+
setPage: Ir,
|
|
1965
1965
|
getPage: Mn,
|
|
1966
1966
|
usePage: Dr,
|
|
1967
|
-
isPage:
|
|
1967
|
+
isPage: Rr,
|
|
1968
1968
|
setModule: Nr,
|
|
1969
1969
|
getModule: Ln,
|
|
1970
1970
|
useModule: Tr,
|
|
@@ -2244,10 +2244,10 @@ const Di = ({ data: e, dispatch: t }) => {
|
|
|
2244
2244
|
] }),
|
|
2245
2245
|
/* @__PURE__ */ a.jsx("div", { className: "--hide", "data-icon": "F038", onClick: () => n(e), children: " " })
|
|
2246
2246
|
] });
|
|
2247
|
-
},
|
|
2248
|
-
function
|
|
2247
|
+
}, Ii = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2xldCBhPVtdLHM9bnVsbDtvbmNvbm5lY3Q9ZnVuY3Rpb24obCl7dmFyIHQ9bC5zb3VyY2U7YS5wdXNoKHQpO2NvbnN0IG49ZT0+e3MhPT1udWxsJiZzLnJlYWR5U3RhdGU9PT0xP3Muc2VuZChKU09OLnN0cmluZ2lmeShlKSk6dC5wb3N0TWVzc2FnZSh7dHlwZToibm9TZW5kIn0pfTtsZXQgcj1lPT57aWYocyE9PW51bGwmJnMucmVhZHlTdGF0ZT09PTEpcmV0dXJuIHQucG9zdE1lc3NhZ2Uoe3R5cGU6InRydWUifSk7ZS5say5hZGRyZXNzPT09ImxvY2FsaG9zdCI/cz1uZXcgV2ViU29ja2V0KGB3czovL2xvY2FsaG9zdDoke2UubGsuc29ja2V0KzF9YCk6cz1uZXcgV2ViU29ja2V0KCJ3c3M6Ly8iK2UubGsuYWRkcmVzcysiOiIrKGUubGsuc29ja2V0KzEpKSxzLm9uZXJyb3I9KCk9PnQucG9zdE1lc3NhZ2Uoe3R5cGU6ImVycm9yIn0pLHMub25vcGVuPSgpPT57bih7dHlwZToiY29ubmVjdCIsdWtleTplLnVrZXl9KX0scy5vbm1lc3NhZ2U9bz0+e2xldCBjPUpTT04ucGFyc2Uoby5kYXRhKTthLmZvckVhY2goZD0+e2QucG9zdE1lc3NhZ2UoYyl9KX0scy5vbmNsb3NlPSgpPT50LnBvc3RNZXNzYWdlKHt0eXBlOiJjbG9zZWQifSl9O3Qub25tZXNzYWdlPWZ1bmN0aW9uKGUpe3N3aXRjaChlLmRhdGEudHlwZSl7Y2FzZSJsZW5ndGgiOnJldHVybiB0LnBvc3RNZXNzYWdlKGEubGVuZ3RoKTtjYXNlImFsbCI6cmV0dXJuIGEuZm9yRWFjaChvPT5vLnBvc3RNZXNzYWdlKHthbGw6YS5sZW5ndGh9KSk7Y2FzZSJzZW5kIjpyZXR1cm4gbihlLmRhdGEuanNvbik7Y2FzZSJjb25uZWN0IjpyZXR1cm4gcihlLmRhdGEpO2RlZmF1bHQ6dC5wb3N0TWVzc2FnZSh7dHlwZToiZGVmYXVsdCIsZGF0YTplLmRhdGEuanNvbn0pfX19fSkoKTsK";
|
|
2248
|
+
function Ri(e) {
|
|
2249
2249
|
return new SharedWorker(
|
|
2250
|
-
"data:text/javascript;base64," +
|
|
2250
|
+
"data:text/javascript;base64," + Ii,
|
|
2251
2251
|
{
|
|
2252
2252
|
name: e == null ? void 0 : e.name
|
|
2253
2253
|
}
|
|
@@ -2280,7 +2280,7 @@ let fe = {}, te = {}, rt = [
|
|
|
2280
2280
|
function Mi() {
|
|
2281
2281
|
const [e, t] = m.useState(!1), [n, r] = m.useState(!1);
|
|
2282
2282
|
function s(i) {
|
|
2283
|
-
const o = new
|
|
2283
|
+
const o = new Ri();
|
|
2284
2284
|
fe.laodData = (l) => {
|
|
2285
2285
|
let c = rt.indexOf(l);
|
|
2286
2286
|
c >= 0 && rt.splice(c, 1), rt.length === 0 && t(!0);
|
|
@@ -2614,12 +2614,12 @@ function Do({ type: e, name: t, params: n }) {
|
|
|
2614
2614
|
});
|
|
2615
2615
|
}, [n.id]), /* @__PURE__ */ a.jsx(a.Fragment, { children: r });
|
|
2616
2616
|
}
|
|
2617
|
-
function
|
|
2617
|
+
function Io(e, t, n) {
|
|
2618
2618
|
dt(`${e}/modal/${t}.tsx`).then((r) => {
|
|
2619
2619
|
r.default.Open(n);
|
|
2620
2620
|
});
|
|
2621
2621
|
}
|
|
2622
|
-
function
|
|
2622
|
+
function Ro(e) {
|
|
2623
2623
|
ct.x(e);
|
|
2624
2624
|
}
|
|
2625
2625
|
const _t = {
|
|
@@ -2628,11 +2628,11 @@ const _t = {
|
|
|
2628
2628
|
Main: bo,
|
|
2629
2629
|
Add: wo,
|
|
2630
2630
|
Icon: Do,
|
|
2631
|
-
Open:
|
|
2631
|
+
Open: Io,
|
|
2632
2632
|
Shake: Eo,
|
|
2633
2633
|
Form: uo,
|
|
2634
2634
|
Center: fo,
|
|
2635
|
-
Close:
|
|
2635
|
+
Close: Ro,
|
|
2636
2636
|
Column: mo
|
|
2637
2637
|
};
|
|
2638
2638
|
function Yn({ text: e, type: t, button: n }) {
|
|
@@ -2645,7 +2645,7 @@ function Yn({ text: e, type: t, button: n }) {
|
|
|
2645
2645
|
return r ? void 0 : (s(!0), n.onSend(s));
|
|
2646
2646
|
}
|
|
2647
2647
|
};
|
|
2648
|
-
return /* @__PURE__ */ a.jsxs("div", { className:
|
|
2648
|
+
return /* @__PURE__ */ a.jsxs("div", { className: It.al, ...i, children: [
|
|
2649
2649
|
/* @__PURE__ */ a.jsx(
|
|
2650
2650
|
"svg",
|
|
2651
2651
|
{
|
|
@@ -2971,7 +2971,7 @@ const nl = () => {
|
|
|
2971
2971
|
i.forEach((l, c) => {
|
|
2972
2972
|
o.push({
|
|
2973
2973
|
item: /* @__PURE__ */ a.jsx(
|
|
2974
|
-
|
|
2974
|
+
Rt,
|
|
2975
2975
|
{
|
|
2976
2976
|
data: q.list[l]
|
|
2977
2977
|
},
|
|
@@ -2988,7 +2988,7 @@ const nl = () => {
|
|
|
2988
2988
|
}, q.set = (i) => {
|
|
2989
2989
|
t([
|
|
2990
2990
|
...e,
|
|
2991
|
-
{ item: /* @__PURE__ */ a.jsx(
|
|
2991
|
+
{ item: /* @__PURE__ */ a.jsx(Rt, { data: i }, i.id), link: i.link }
|
|
2992
2992
|
]);
|
|
2993
2993
|
}, q.del = (i) => {
|
|
2994
2994
|
e.forEach((o, l) => {
|
|
@@ -3019,7 +3019,7 @@ const nl = () => {
|
|
|
3019
3019
|
onClick: o
|
|
3020
3020
|
}
|
|
3021
3021
|
) : "" });
|
|
3022
|
-
},
|
|
3022
|
+
}, Rt = ({ data: e }) => {
|
|
3023
3023
|
let t = (r) => {
|
|
3024
3024
|
r.preventDefault(), delete q.list[e.link], q.del(e.link);
|
|
3025
3025
|
}, n = () => {
|
|
@@ -3028,32 +3028,32 @@ const nl = () => {
|
|
|
3028
3028
|
return /* @__PURE__ */ a.jsx("span", { onContextMenu: t, onClick: n, children: e.name });
|
|
3029
3029
|
}, rl = (e) => {
|
|
3030
3030
|
q.active(e);
|
|
3031
|
-
}, Y = {}, Tt = {},
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
let
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3031
|
+
}, Y = {}, Tt = {}, $ = {};
|
|
3032
|
+
$.config = { iceServers: [{ url: "stun:stun.l.google.com:19302" }] };
|
|
3033
|
+
$.constraints = { optional: [{ DtlsSrtpKeyAgreement: !0 }] };
|
|
3034
|
+
$.other = [];
|
|
3035
|
+
$.users = {};
|
|
3036
|
+
$.asset = 0;
|
|
3037
|
+
$.remoute = !1;
|
|
3038
|
+
$.stream = null;
|
|
3039
|
+
$.user = 0;
|
|
3040
|
+
$.connect = !1;
|
|
3041
|
+
$.offer = null;
|
|
3042
|
+
$.btnRefuse = null;
|
|
3043
|
+
$.time = !1;
|
|
3044
|
+
let Ie;
|
|
3045
|
+
Ie = document.createElement("audio");
|
|
3046
|
+
Ie.setAttribute("autoplay", "true");
|
|
3047
|
+
Ie.setAttribute("muted", "true");
|
|
3048
3048
|
Y.start = async (e) => {
|
|
3049
|
-
|
|
3050
|
-
n.candidate &&
|
|
3051
|
-
},
|
|
3049
|
+
$.rtc = new RTCPeerConnection($.config), $.other = [], $.remoute = !1, $.rtc.onicecandidate = (n) => {
|
|
3050
|
+
n.candidate && $.other.push(n.candidate);
|
|
3051
|
+
}, $.rtc.ontrack = (n) => {
|
|
3052
3052
|
if (n.streams && n.streams[0])
|
|
3053
|
-
|
|
3053
|
+
Ie.srcObject = n.streams[0];
|
|
3054
3054
|
else {
|
|
3055
3055
|
let r = new MediaStream(n.track);
|
|
3056
|
-
|
|
3056
|
+
Ie.srcObject = r;
|
|
3057
3057
|
}
|
|
3058
3058
|
};
|
|
3059
3059
|
const t = await navigator.mediaDevices.getUserMedia({
|
|
@@ -3061,24 +3061,24 @@ Y.start = async (e) => {
|
|
|
3061
3061
|
audio: { echoCancellation: !1, autoGainControl: !0 }
|
|
3062
3062
|
});
|
|
3063
3063
|
t.getTracks().forEach((n) => {
|
|
3064
|
-
|
|
3065
|
-
}),
|
|
3066
|
-
|
|
3067
|
-
},
|
|
3064
|
+
$.rtc.addTrack(n, t);
|
|
3065
|
+
}), $.rtc.onconnectionstatechange = () => {
|
|
3066
|
+
$.rtc.connectionState;
|
|
3067
|
+
}, $.rtc.ontrack = async (n) => {
|
|
3068
3068
|
if (n.streams && n.streams[0])
|
|
3069
|
-
|
|
3069
|
+
Ie.srcObject = n.streams[0];
|
|
3070
3070
|
else {
|
|
3071
3071
|
let r = new MediaStream(n.track);
|
|
3072
|
-
|
|
3072
|
+
Ie.srcObject = r;
|
|
3073
3073
|
}
|
|
3074
|
-
},
|
|
3075
|
-
},
|
|
3076
|
-
},
|
|
3077
|
-
},
|
|
3078
|
-
},
|
|
3079
|
-
},
|
|
3080
|
-
},
|
|
3081
|
-
},
|
|
3074
|
+
}, $.rtc.onaddstream = (n) => {
|
|
3075
|
+
}, $.rtc.onnegotiationneeded = (n) => {
|
|
3076
|
+
}, $.rtc.oniceconnectionstatechange = (n) => {
|
|
3077
|
+
}, $.rtc.onsignalingstatechange = (n) => {
|
|
3078
|
+
}, $.rtc.onicegatheringstatechange = (n) => {
|
|
3079
|
+
}, $.rtc.onicecandidateerror = (n) => {
|
|
3080
|
+
}, $.rtc.ondatachannel = (n) => {
|
|
3081
|
+
}, $.rtc.onerror = (n) => {
|
|
3082
3082
|
}, e();
|
|
3083
3083
|
};
|
|
3084
3084
|
Y.useListener = (e) => {
|
|
@@ -3089,66 +3089,66 @@ Y.setListener = (e) => {
|
|
|
3089
3089
|
};
|
|
3090
3090
|
Y.callTo = async (e) => {
|
|
3091
3091
|
Y.start(async () => {
|
|
3092
|
-
const t = await
|
|
3093
|
-
await
|
|
3092
|
+
const t = await $.rtc.createOffer();
|
|
3093
|
+
await $.rtc.setLocalDescription(t), $.uid = e, ye.Send({
|
|
3094
3094
|
type: "module",
|
|
3095
3095
|
module: "M00",
|
|
3096
3096
|
query: "x0050",
|
|
3097
3097
|
data: {
|
|
3098
3098
|
type: "offer",
|
|
3099
3099
|
offer: btoa(JSON.stringify(t)),
|
|
3100
|
-
user:
|
|
3100
|
+
user: $.uid
|
|
3101
3101
|
}
|
|
3102
3102
|
});
|
|
3103
3103
|
});
|
|
3104
3104
|
};
|
|
3105
3105
|
Y.callIn = async (e) => {
|
|
3106
|
-
|
|
3106
|
+
$.asset = e.id, $.offer = e.offer, $.uid = e.id;
|
|
3107
3107
|
};
|
|
3108
3108
|
Y.callRise = async () => {
|
|
3109
3109
|
Y.start(async () => {
|
|
3110
|
-
|
|
3111
|
-
new RTCSessionDescription(JSON.parse(atob(
|
|
3110
|
+
$.rtc.setRemoteDescription(
|
|
3111
|
+
new RTCSessionDescription(JSON.parse(atob($.offer)))
|
|
3112
3112
|
);
|
|
3113
|
-
const e = await
|
|
3114
|
-
await
|
|
3113
|
+
const e = await $.rtc.createAnswer();
|
|
3114
|
+
await $.rtc.setLocalDescription(e), ye.Send({
|
|
3115
3115
|
type: "module",
|
|
3116
3116
|
module: "M00",
|
|
3117
3117
|
query: "x0050",
|
|
3118
3118
|
data: {
|
|
3119
3119
|
type: "answer",
|
|
3120
3120
|
answer: btoa(JSON.stringify(e)),
|
|
3121
|
-
user:
|
|
3121
|
+
user: $.uid
|
|
3122
3122
|
}
|
|
3123
3123
|
});
|
|
3124
3124
|
});
|
|
3125
3125
|
};
|
|
3126
3126
|
Y.callOk = async (e) => {
|
|
3127
|
-
|
|
3127
|
+
$.asset = e.id;
|
|
3128
3128
|
const t = new RTCSessionDescription(JSON.parse(atob(e.answer)));
|
|
3129
|
-
await
|
|
3129
|
+
await $.rtc.setRemoteDescription(t), ye.Send({
|
|
3130
3130
|
type: "module",
|
|
3131
3131
|
module: "M00",
|
|
3132
3132
|
query: "x0050",
|
|
3133
3133
|
data: {
|
|
3134
3134
|
type: "IceCandidate",
|
|
3135
|
-
candidate: JSON.parse(JSON.stringify(
|
|
3136
|
-
user:
|
|
3135
|
+
candidate: JSON.parse(JSON.stringify($.other)),
|
|
3136
|
+
user: $.uid,
|
|
3137
3137
|
send: !0
|
|
3138
3138
|
}
|
|
3139
3139
|
});
|
|
3140
3140
|
};
|
|
3141
3141
|
Y.IceCandidate = async (e) => {
|
|
3142
3142
|
e.candidate.forEach((t) => {
|
|
3143
|
-
|
|
3143
|
+
$.rtc.addIceCandidate(new RTCIceCandidate(t));
|
|
3144
3144
|
}), e.send && ye.Send({
|
|
3145
3145
|
type: "module",
|
|
3146
3146
|
module: "M00",
|
|
3147
3147
|
query: "x0050",
|
|
3148
3148
|
data: {
|
|
3149
3149
|
type: "IceCandidate",
|
|
3150
|
-
candidate: JSON.parse(JSON.stringify(
|
|
3151
|
-
user:
|
|
3150
|
+
candidate: JSON.parse(JSON.stringify($.other)),
|
|
3151
|
+
user: $.uid,
|
|
3152
3152
|
send: !1
|
|
3153
3153
|
}
|
|
3154
3154
|
});
|
|
@@ -3156,18 +3156,18 @@ Y.IceCandidate = async (e) => {
|
|
|
3156
3156
|
Y.callFrom = async () => {
|
|
3157
3157
|
};
|
|
3158
3158
|
Y.callNo = () => {
|
|
3159
|
-
|
|
3159
|
+
$.asset = 0, $.time = !1, $.rtc && $.rtc.close(), Y.setListener({ type: "state", data: "closed" });
|
|
3160
3160
|
};
|
|
3161
3161
|
Y.callOf = () => {
|
|
3162
|
-
|
|
3162
|
+
$.asset = 0, $.time = !1, $.rtc.close();
|
|
3163
3163
|
};
|
|
3164
3164
|
Y.callRefuser = async () => {
|
|
3165
3165
|
ye.Send({
|
|
3166
3166
|
type: "module",
|
|
3167
3167
|
module: "M00",
|
|
3168
3168
|
query: "x0050",
|
|
3169
|
-
data: { type: "callRefuser", user:
|
|
3170
|
-
}),
|
|
3169
|
+
data: { type: "callRefuser", user: $.uid }
|
|
3170
|
+
}), $.asset = 0, $.time = !1, $.rtc && $.rtc.close();
|
|
3171
3171
|
};
|
|
3172
3172
|
Y.Run = async (e) => {
|
|
3173
3173
|
Y[e.data.type] && Y[e.data.type](e.data);
|
|
@@ -3391,7 +3391,7 @@ const ul = ({ content: e, position: t, orientation: n }) => {
|
|
|
3391
3391
|
let it = {}, Mt = {}, Lt = "ru";
|
|
3392
3392
|
const fl = (e, t) => {
|
|
3393
3393
|
Mt = e, t ? Lt = t : Lt = Object.keys(e)[0];
|
|
3394
|
-
}, Jn =
|
|
3394
|
+
}, Jn = In(
|
|
3395
3395
|
localStorage.getItem("lang") || navigator.language
|
|
3396
3396
|
), ml = ({ children: e }) => {
|
|
3397
3397
|
const [t, n] = m.useState(
|
|
@@ -3402,7 +3402,7 @@ const fl = (e, t) => {
|
|
|
3402
3402
|
var t;
|
|
3403
3403
|
localStorage.setItem("lang", e), (t = it.update) == null || t.call(it, e);
|
|
3404
3404
|
}, pl = () => Qa(Jn), gl = () => localStorage.getItem("lang") || navigator.language;
|
|
3405
|
-
|
|
3405
|
+
In({
|
|
3406
3406
|
tab: "",
|
|
3407
3407
|
setTabs: (e) => {
|
|
3408
3408
|
}
|
|
@@ -3465,8 +3465,8 @@ const Ad = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
|
|
|
3465
3465
|
/* @__PURE__ */ a.jsx(wl, {}),
|
|
3466
3466
|
/* @__PURE__ */ a.jsx(yl, {}),
|
|
3467
3467
|
e
|
|
3468
|
-
] }),
|
|
3469
|
-
|
|
3468
|
+
] }), Il = ({ list: e, onClick: t, active: n, size: r, view: s }) => /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { className: [r, s].join(" "), children: e.map((i) => /* @__PURE__ */ a.jsx(
|
|
3469
|
+
Rl,
|
|
3470
3470
|
{
|
|
3471
3471
|
onClick: t,
|
|
3472
3472
|
active: n,
|
|
@@ -3474,7 +3474,7 @@ const Ad = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
|
|
|
3474
3474
|
link: i.link
|
|
3475
3475
|
},
|
|
3476
3476
|
i.link
|
|
3477
|
-
)) }) }),
|
|
3477
|
+
)) }) }), Rl = ({ onClick: e, label: t, link: n, active: r }) => /* @__PURE__ */ a.jsx("li", { "tabs-active": String(r === n), onClick: () => e(n), children: t }), Tl = "_tabs_1i88v_1", Nl = "_tab_1i88v_1", bn = {
|
|
3478
3478
|
tabs: Tl,
|
|
3479
3479
|
tab: Nl
|
|
3480
3480
|
}, Xn = ({ list: e = [], active: t, onTab: n }) => {
|
|
@@ -3482,7 +3482,7 @@ const Ad = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
|
|
|
3482
3482
|
if (n) return n(s);
|
|
3483
3483
|
Bn(s);
|
|
3484
3484
|
};
|
|
3485
|
-
return /* @__PURE__ */ a.jsx("nav", { className: [bn.tabs, "tabs"].join(" "), children: e.map((s) => /* @__PURE__ */
|
|
3485
|
+
return /* @__PURE__ */ a.jsx("nav", { className: [bn.tabs, "tabs"].join(" "), children: e.map((s) => /* @__PURE__ */ Rn(
|
|
3486
3486
|
"div",
|
|
3487
3487
|
{
|
|
3488
3488
|
onClick: () => r(s.id),
|
|
@@ -3533,7 +3533,7 @@ const Ad = ({ children: e, ...t }) => /* @__PURE__ */ a.jsxs("div", { className:
|
|
|
3533
3533
|
]
|
|
3534
3534
|
}
|
|
3535
3535
|
);
|
|
3536
|
-
}, Ud = { List:
|
|
3536
|
+
}, Ud = { List: Il, Lite: Xn, Button: Ml }, $l = ({
|
|
3537
3537
|
title: e = "",
|
|
3538
3538
|
button: t,
|
|
3539
3539
|
description: n = "",
|
|
@@ -3646,7 +3646,7 @@ function Jl({ value: e, background: t, gradient: n }) {
|
|
|
3646
3646
|
}
|
|
3647
3647
|
const Zd = {
|
|
3648
3648
|
Circle: Jl
|
|
3649
|
-
}, zd = { Icon: al, Item:
|
|
3649
|
+
}, zd = { Icon: al, Item: Rt, Active: rl }, Xl = { Send: pi, Line: Yn };
|
|
3650
3650
|
function Vl() {
|
|
3651
3651
|
return /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ a.jsx(
|
|
3652
3652
|
"path",
|
|
@@ -3995,10 +3995,10 @@ const Fe = () => (yt || (yt = new hc()), yt), Se = (e, t, n = Fe()) => n._withID
|
|
|
3995
3995
|
}, document.onkeyup = function(r) {
|
|
3996
3996
|
n.length = 0;
|
|
3997
3997
|
};
|
|
3998
|
-
}, Xd = { useKey: Ec }, Dc = "_s_18bde_1",
|
|
3998
|
+
}, Xd = { useKey: Ec }, Dc = "_s_18bde_1", Ic = "_loadingB_18bde_1", Rc = "_ul_18bde_31", Tc = {
|
|
3999
3999
|
s: Dc,
|
|
4000
|
-
loadingB:
|
|
4001
|
-
ul:
|
|
4000
|
+
loadingB: Ic,
|
|
4001
|
+
ul: Rc
|
|
4002
4002
|
};
|
|
4003
4003
|
function ta({ children: e }) {
|
|
4004
4004
|
return /* @__PURE__ */ a.jsx("ul", { className: ie.ul, children: e });
|
|
@@ -4132,15 +4132,15 @@ function He({
|
|
|
4132
4132
|
isCopy: j = !0,
|
|
4133
4133
|
isReload: E = !1
|
|
4134
4134
|
}) {
|
|
4135
|
-
let
|
|
4135
|
+
let M = !!(l && (t === "" || t === void 0)), R = (S) => {
|
|
4136
4136
|
n && n({
|
|
4137
4137
|
value: S.target.textContent.trim(),
|
|
4138
4138
|
name: r,
|
|
4139
4139
|
reload: E
|
|
4140
4140
|
});
|
|
4141
|
-
},
|
|
4141
|
+
}, D = (S) => {
|
|
4142
4142
|
h && S.target.textContent.trim().length >= h && S.key !== "Backspace" && S.preventDefault(), S.key === "Enter" && S.preventDefault();
|
|
4143
|
-
},
|
|
4143
|
+
}, N = (S) => {
|
|
4144
4144
|
j && (S.preventDefault(), navigator.clipboard.writeText(S.target.textContent.trim()).then(
|
|
4145
4145
|
function() {
|
|
4146
4146
|
je.Copy("Данные в буфер обмене");
|
|
@@ -4151,9 +4151,9 @@ function He({
|
|
|
4151
4151
|
}, w = (S) => {
|
|
4152
4152
|
S.preventDefault(), navigator.clipboard.readText().then((x) => {
|
|
4153
4153
|
if (h) {
|
|
4154
|
-
let
|
|
4155
|
-
if (
|
|
4156
|
-
h -=
|
|
4154
|
+
let T = S.target.textContent.length;
|
|
4155
|
+
if (T >= h) return;
|
|
4156
|
+
h -= T, x = x.slice(0, h);
|
|
4157
4157
|
}
|
|
4158
4158
|
window.document.execCommand(
|
|
4159
4159
|
"insertText",
|
|
@@ -4163,12 +4163,12 @@ function He({
|
|
|
4163
4163
|
}).catch((x) => {
|
|
4164
4164
|
});
|
|
4165
4165
|
};
|
|
4166
|
-
if (!(c && _) && !f || !(c && _) &&
|
|
4166
|
+
if (!(c && _) && !f || !(c && _) && M) return "";
|
|
4167
4167
|
const O = {};
|
|
4168
4168
|
O.field = "input", y && (O.className = y);
|
|
4169
4169
|
const B = {};
|
|
4170
4170
|
s && (B.placeholder = s), c && _ && (B.edit = "");
|
|
4171
|
-
const
|
|
4171
|
+
const L = (S) => {
|
|
4172
4172
|
W.Blur(S), g == null || g({ value: S.target.textContent.trim(), name: r });
|
|
4173
4173
|
};
|
|
4174
4174
|
return /* @__PURE__ */ a.jsxs("dl", { ...O, children: [
|
|
@@ -4178,10 +4178,10 @@ function He({
|
|
|
4178
4178
|
"dd",
|
|
4179
4179
|
{
|
|
4180
4180
|
onPaste: w,
|
|
4181
|
-
onInput:
|
|
4182
|
-
onBlur:
|
|
4183
|
-
onKeyDown:
|
|
4184
|
-
onContextMenu:
|
|
4181
|
+
onInput: R,
|
|
4182
|
+
onBlur: L,
|
|
4183
|
+
onKeyDown: D,
|
|
4184
|
+
onContextMenu: N,
|
|
4185
4185
|
spellCheck: "true",
|
|
4186
4186
|
contentEditable: c && _ ? W.ContentEditable : "false",
|
|
4187
4187
|
suppressContentEditableWarning: !0,
|
|
@@ -4240,9 +4240,9 @@ function ra({
|
|
|
4240
4240
|
}, p = (j) => {
|
|
4241
4241
|
j.preventDefault(), navigator.clipboard.readText().then((E) => {
|
|
4242
4242
|
if (o) {
|
|
4243
|
-
let
|
|
4244
|
-
if (
|
|
4245
|
-
o -=
|
|
4243
|
+
let M = j.target.textContent.length;
|
|
4244
|
+
if (M >= o) return;
|
|
4245
|
+
o -= M, E = E.slice(0, o);
|
|
4246
4246
|
}
|
|
4247
4247
|
window.document.execCommand("insertText", !1, E);
|
|
4248
4248
|
}).catch((E) => {
|
|
@@ -4402,10 +4402,29 @@ function oa({
|
|
|
4402
4402
|
p.target.textContent = "";
|
|
4403
4403
|
}, h = (p) => {
|
|
4404
4404
|
p.preventDefault(), navigator.clipboard.readText().then((g) => {
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4405
|
+
var M;
|
|
4406
|
+
var y = /\d+/g;
|
|
4407
|
+
let j = (M = g.match(y)) == null ? void 0 : M.toString();
|
|
4408
|
+
if (!j) return;
|
|
4409
|
+
let E = j.split("");
|
|
4410
|
+
for (let R = 1; R <= E.length; R++) {
|
|
4411
|
+
let D = document.getElementById("n" + R);
|
|
4412
|
+
D && (D.textContent = E[R - 1], c["n" + R] = E[R - 1]);
|
|
4413
|
+
}
|
|
4414
|
+
if (c.code = c.n1 + "" + c.n2 + c.n3 + c.n4 + c.n5 + c.n6, c.code.length === 6 && (p.target.blur(), i && i({ value: c.code, name: l }), o)) {
|
|
4415
|
+
c = {
|
|
4416
|
+
n1: "",
|
|
4417
|
+
n2: "",
|
|
4418
|
+
n3: "",
|
|
4419
|
+
n4: "",
|
|
4420
|
+
n5: "",
|
|
4421
|
+
n6: "",
|
|
4422
|
+
code: ""
|
|
4423
|
+
};
|
|
4424
|
+
for (let R = 1; R <= 6; R++) {
|
|
4425
|
+
let D = document.getElementById("n" + R);
|
|
4426
|
+
D && (D.textContent = "");
|
|
4427
|
+
}
|
|
4409
4428
|
}
|
|
4410
4429
|
}).catch((g) => {
|
|
4411
4430
|
});
|
|
@@ -4516,27 +4535,27 @@ function la({
|
|
|
4516
4535
|
className: g = ""
|
|
4517
4536
|
}) {
|
|
4518
4537
|
_ = _ !== void 0 ? _ : !0, u = u !== void 0 ? u : !0;
|
|
4519
|
-
let [y, j] = m.useState(t), E = (
|
|
4520
|
-
j(
|
|
4538
|
+
let [y, j] = m.useState(t), E = (R) => {
|
|
4539
|
+
j(R), n == null || n({ value: R, name: r }), p == null || p({ value: R, name: r });
|
|
4521
4540
|
};
|
|
4522
|
-
const
|
|
4523
|
-
return
|
|
4541
|
+
const M = {};
|
|
4542
|
+
return M.field = "color", g && (M.className = g), /* @__PURE__ */ a.jsx(a.Fragment, { children: h === "icon" ? /* @__PURE__ */ a.jsx(
|
|
4524
4543
|
"i",
|
|
4525
4544
|
{
|
|
4526
4545
|
"data-icon": "F043"
|
|
4527
4546
|
}
|
|
4528
|
-
) : /* @__PURE__ */ a.jsxs("dl", { ...
|
|
4547
|
+
) : /* @__PURE__ */ a.jsxs("dl", { ...M, children: [
|
|
4529
4548
|
i && /* @__PURE__ */ a.jsx("dt", { children: i }),
|
|
4530
|
-
/* @__PURE__ */ a.jsx("dd", { children: c > 0 && Array.from(Array(c).keys()).map((
|
|
4549
|
+
/* @__PURE__ */ a.jsx("dd", { children: c > 0 && Array.from(Array(c).keys()).map((R) => /* @__PURE__ */ a.jsx(
|
|
4531
4550
|
"s",
|
|
4532
4551
|
{
|
|
4533
|
-
active: (Number(
|
|
4534
|
-
onClick: () => E(
|
|
4552
|
+
active: (Number(R) === Number(y)) + "",
|
|
4553
|
+
onClick: () => E(R),
|
|
4535
4554
|
style: {
|
|
4536
|
-
backgroundColor: `var(--color-${
|
|
4555
|
+
backgroundColor: `var(--color-${R})`
|
|
4537
4556
|
}
|
|
4538
4557
|
},
|
|
4539
|
-
|
|
4558
|
+
R
|
|
4540
4559
|
)) }),
|
|
4541
4560
|
o && /* @__PURE__ */ a.jsx("em", { children: o })
|
|
4542
4561
|
] }) });
|
|
@@ -4569,16 +4588,16 @@ function Zt({
|
|
|
4569
4588
|
m.useEffect(() => {
|
|
4570
4589
|
C(v === void 0 ? /* @__PURE__ */ new Date() : v);
|
|
4571
4590
|
}, [v]);
|
|
4572
|
-
let g = (
|
|
4573
|
-
C(
|
|
4574
|
-
}, y = (
|
|
4575
|
-
const
|
|
4591
|
+
let g = (M) => {
|
|
4592
|
+
C(M), _ == null || _({ value: M, name: u });
|
|
4593
|
+
}, y = (M) => {
|
|
4594
|
+
const R = M.target.getBoundingClientRect(), D = R.left, N = R.bottom, w = R.top;
|
|
4576
4595
|
ge.setListener(
|
|
4577
4596
|
"form",
|
|
4578
4597
|
/* @__PURE__ */ a.jsx(
|
|
4579
4598
|
Oc,
|
|
4580
4599
|
{
|
|
4581
|
-
position: { x:
|
|
4600
|
+
position: { x: D, y: w, b: N },
|
|
4582
4601
|
onValue: g,
|
|
4583
4602
|
date: h,
|
|
4584
4603
|
max: o,
|
|
@@ -4627,8 +4646,8 @@ const Oc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
|
|
|
4627
4646
|
d: parseInt(_.getDate()),
|
|
4628
4647
|
m: parseInt(_.getMonth()) + 1
|
|
4629
4648
|
}, [f, h] = m.useState({ y: v.y, m: v.m }), C = (x) => {
|
|
4630
|
-
let
|
|
4631
|
-
return
|
|
4649
|
+
let T = x.getDay();
|
|
4650
|
+
return T === 0 && (T = 7), T - 1;
|
|
4632
4651
|
}, p = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], g = f.m - 1, y = new Date(f.y, g), j = [];
|
|
4633
4652
|
for (let x = 0; x < C(y); x++)
|
|
4634
4653
|
j.push(0);
|
|
@@ -4636,30 +4655,30 @@ const Oc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
|
|
|
4636
4655
|
j.push(y.getDate()), y.setDate(y.getDate() + 1);
|
|
4637
4656
|
let E = () => {
|
|
4638
4657
|
l(!1);
|
|
4639
|
-
},
|
|
4640
|
-
|
|
4641
|
-
},
|
|
4642
|
-
|
|
4643
|
-
},
|
|
4658
|
+
}, M = () => {
|
|
4659
|
+
N(f.m + 1, f.y);
|
|
4660
|
+
}, R = () => {
|
|
4661
|
+
N(f.m - 1, f.y);
|
|
4662
|
+
}, D = (x) => {
|
|
4644
4663
|
t(
|
|
4645
4664
|
f.y + "-" + H.Number(2, f.m) + "-" + H.Number(2, x)
|
|
4646
4665
|
), E();
|
|
4647
|
-
},
|
|
4648
|
-
|
|
4666
|
+
}, N = (x, T) => {
|
|
4667
|
+
T = x > 12 ? T + 1 : x < 1 ? T - 1 : T, x = x > 12 ? 1 : x < 1 ? 12 : x, h({ y: T, m: x });
|
|
4649
4668
|
};
|
|
4650
4669
|
const w = (x) => u.y === f.y && u.m === f.m && u.d === x ? { "data-active": "true" } : {}, O = (x) => v.y === f.y && v.m === f.m && v.d === x ? { "data-current": "true" } : {}, B = (x) => {
|
|
4651
|
-
let
|
|
4670
|
+
let T = !0;
|
|
4652
4671
|
if (r) {
|
|
4653
4672
|
let Z = r.getTime(), J = new Date(f.y, f.m - 1, x).getTime();
|
|
4654
|
-
Z < J && (
|
|
4673
|
+
Z < J && (T = !1);
|
|
4655
4674
|
}
|
|
4656
4675
|
if (s) {
|
|
4657
4676
|
let Z = s.getTime(), J = new Date(f.y, f.m - 1, x).getTime();
|
|
4658
|
-
Z > J && (
|
|
4677
|
+
Z > J && (T = !1);
|
|
4659
4678
|
}
|
|
4660
|
-
return
|
|
4679
|
+
return T;
|
|
4661
4680
|
};
|
|
4662
|
-
let
|
|
4681
|
+
let L = window.innerHeight - n.y < 320 ? n.y - 312 : n.b, S = window.innerWidth - n.x < 265 ? n.x - 235 : n.x;
|
|
4663
4682
|
return /* @__PURE__ */ a.jsx(a.Fragment, { children: o ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
4664
4683
|
/* @__PURE__ */ a.jsx(
|
|
4665
4684
|
"div",
|
|
@@ -4676,10 +4695,10 @@ const Oc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
|
|
|
4676
4695
|
me.c,
|
|
4677
4696
|
i && i + "-backdrop"
|
|
4678
4697
|
].join(" "),
|
|
4679
|
-
style: { top:
|
|
4698
|
+
style: { top: L + "px", left: S + "px" },
|
|
4680
4699
|
children: [
|
|
4681
4700
|
/* @__PURE__ */ a.jsxs("s", { children: [
|
|
4682
|
-
/* @__PURE__ */ a.jsx("i", { onClick:
|
|
4701
|
+
/* @__PURE__ */ a.jsx("i", { onClick: R, children: /* @__PURE__ */ a.jsx(
|
|
4683
4702
|
"svg",
|
|
4684
4703
|
{
|
|
4685
4704
|
width: "16",
|
|
@@ -4695,7 +4714,7 @@ const Oc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
|
|
|
4695
4714
|
" ",
|
|
4696
4715
|
f.y
|
|
4697
4716
|
] }),
|
|
4698
|
-
/* @__PURE__ */ a.jsx("i", { onClick:
|
|
4717
|
+
/* @__PURE__ */ a.jsx("i", { onClick: M, children: /* @__PURE__ */ a.jsx(
|
|
4699
4718
|
"svg",
|
|
4700
4719
|
{
|
|
4701
4720
|
width: "16",
|
|
@@ -4708,16 +4727,16 @@ const Oc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
|
|
|
4708
4727
|
) })
|
|
4709
4728
|
] }),
|
|
4710
4729
|
/* @__PURE__ */ a.jsxs("div", { "grid-calendar": "", children: [
|
|
4711
|
-
p.map((x,
|
|
4712
|
-
j.map((x,
|
|
4730
|
+
p.map((x, T) => /* @__PURE__ */ a.jsx("p", { children: x }, "v" + T)),
|
|
4731
|
+
j.map((x, T) => /* @__PURE__ */ a.jsx("span", { children: x !== 0 && B(x) ? /* @__PURE__ */ a.jsx(
|
|
4713
4732
|
"b",
|
|
4714
4733
|
{
|
|
4715
4734
|
...w(x),
|
|
4716
4735
|
...O(x),
|
|
4717
|
-
onClick: () =>
|
|
4736
|
+
onClick: () => D(x),
|
|
4718
4737
|
children: x
|
|
4719
4738
|
}
|
|
4720
|
-
) : /* @__PURE__ */ a.jsx("p", { ...w(x), ...O(x), children: x !== 0 ? x : "" }) },
|
|
4739
|
+
) : /* @__PURE__ */ a.jsx("p", { ...w(x), ...O(x), children: x !== 0 ? x : "" }) }, T))
|
|
4721
4740
|
] })
|
|
4722
4741
|
]
|
|
4723
4742
|
}
|
|
@@ -4742,12 +4761,12 @@ function zt({
|
|
|
4742
4761
|
options: C,
|
|
4743
4762
|
className: p
|
|
4744
4763
|
}) {
|
|
4745
|
-
let [g, y] = m.useState(e), j = (
|
|
4764
|
+
let [g, y] = m.useState(e), j = (R) => {
|
|
4746
4765
|
if (!(l && _) || !f) return;
|
|
4747
|
-
let
|
|
4748
|
-
_t.Open(
|
|
4749
|
-
callback: (
|
|
4750
|
-
t && t({ value:
|
|
4766
|
+
let D = f.split(".");
|
|
4767
|
+
_t.Open(D[0], D[1], {
|
|
4768
|
+
callback: (N) => {
|
|
4769
|
+
t && t({ value: N, name: n }), y(N);
|
|
4751
4770
|
},
|
|
4752
4771
|
onValue: t,
|
|
4753
4772
|
options: C,
|
|
@@ -4757,13 +4776,13 @@ function zt({
|
|
|
4757
4776
|
};
|
|
4758
4777
|
const E = {};
|
|
4759
4778
|
E.field = "input", p && (E.className = p);
|
|
4760
|
-
const
|
|
4761
|
-
return r && (
|
|
4779
|
+
const M = {};
|
|
4780
|
+
return r && (M.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
|
|
4762
4781
|
s && /* @__PURE__ */ a.jsx("dt", { children: s }),
|
|
4763
4782
|
/* @__PURE__ */ a.jsx(
|
|
4764
4783
|
"dd",
|
|
4765
4784
|
{
|
|
4766
|
-
...
|
|
4785
|
+
...M,
|
|
4767
4786
|
onClick: j,
|
|
4768
4787
|
edit: (l && _) + "",
|
|
4769
4788
|
"data-after": u,
|
|
@@ -4795,20 +4814,20 @@ function Wt({
|
|
|
4795
4814
|
}) {
|
|
4796
4815
|
let j = !!(o && (e === "" || e === void 0));
|
|
4797
4816
|
e = H.isNumeric(e) ? Number(e) / v : 0;
|
|
4798
|
-
let E = (x) => C === "multi" ? x.replace(/[^+\d.+-]/g, "") : x.replace(/[^+\d.]/g, ""),
|
|
4817
|
+
let E = (x) => C === "multi" ? x.replace(/[^+\d.+-]/g, "") : x.replace(/[^+\d.]/g, ""), M = (x, T) => {
|
|
4799
4818
|
let Z = document.createRange(), J = window.getSelection();
|
|
4800
|
-
Z.setStart(
|
|
4801
|
-
},
|
|
4819
|
+
Z.setStart(T.childNodes[0], x), Z.collapse(!0), J.removeAllRanges(), J.addRange(Z), T.focus();
|
|
4820
|
+
}, R = (x) => {
|
|
4802
4821
|
t == null || t({
|
|
4803
4822
|
value: E(x.target.textContent) * v,
|
|
4804
4823
|
name: n
|
|
4805
|
-
}), x.target.textContent = E(x.target.textContent), x.target.textContent.length > 0 &&
|
|
4806
|
-
},
|
|
4824
|
+
}), x.target.textContent = E(x.target.textContent), x.target.textContent.length > 0 && M(x.target.textContent.length, x.target);
|
|
4825
|
+
}, D = (x) => {
|
|
4807
4826
|
W.Blur(x), x.target.textContent === "" && (x.target.textContent = 0), p == null || p({ value: E(x.target.textContent) * v, name: n }), t == null || t({
|
|
4808
4827
|
value: E(x.target.textContent) * v,
|
|
4809
4828
|
name: n
|
|
4810
4829
|
}), x.target.textContent = H.Money(x.target.textContent);
|
|
4811
|
-
},
|
|
4830
|
+
}, N = (x) => {
|
|
4812
4831
|
x.target.textContent = E(x.target.textContent);
|
|
4813
4832
|
}, w = (x) => {
|
|
4814
4833
|
x.currentTarget.previousElementSibling.textContent = "", t == null || t({
|
|
@@ -4818,26 +4837,26 @@ function Wt({
|
|
|
4818
4837
|
}, O = (x) => {
|
|
4819
4838
|
x.key === "Enter" && x.preventDefault();
|
|
4820
4839
|
}, B = (x) => {
|
|
4821
|
-
x.preventDefault(), navigator.clipboard.readText().then((
|
|
4822
|
-
|
|
4823
|
-
}).catch((
|
|
4840
|
+
x.preventDefault(), navigator.clipboard.readText().then((T) => {
|
|
4841
|
+
T = T.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, T);
|
|
4842
|
+
}).catch((T) => {
|
|
4824
4843
|
});
|
|
4825
4844
|
};
|
|
4826
4845
|
if (!(l && c) && !u || !(l && c) && j) return "";
|
|
4827
|
-
const
|
|
4828
|
-
|
|
4846
|
+
const L = {};
|
|
4847
|
+
L.field = "input", g && (L.className = g);
|
|
4829
4848
|
const S = {};
|
|
4830
|
-
return S.inputMode = "decimal", r && (S.placeholder = r), l && c && (S.edit = ""), /* @__PURE__ */ a.jsxs("dl", { ...
|
|
4849
|
+
return S.inputMode = "decimal", r && (S.placeholder = r), l && c && (S.edit = ""), /* @__PURE__ */ a.jsxs("dl", { ...L, children: [
|
|
4831
4850
|
s ? /* @__PURE__ */ a.jsx("dt", { children: s }) : "",
|
|
4832
4851
|
/* @__PURE__ */ a.jsx(
|
|
4833
4852
|
"dd",
|
|
4834
4853
|
{
|
|
4835
4854
|
...S,
|
|
4836
|
-
onInput:
|
|
4855
|
+
onInput: R,
|
|
4837
4856
|
onPaste: B,
|
|
4838
|
-
onBlur:
|
|
4857
|
+
onBlur: D,
|
|
4839
4858
|
onKeyDown: O,
|
|
4840
|
-
onFocus:
|
|
4859
|
+
onFocus: N,
|
|
4841
4860
|
contentEditable: l && c ? W.ContentEditable : "false",
|
|
4842
4861
|
suppressContentEditableWarning: !0,
|
|
4843
4862
|
"data-after": _,
|
|
@@ -4991,22 +5010,22 @@ function da({
|
|
|
4991
5010
|
}) {
|
|
4992
5011
|
let [j, E] = m.useState(!1);
|
|
4993
5012
|
j = c ? !0 : j;
|
|
4994
|
-
let
|
|
4995
|
-
n == null || n({ value:
|
|
4996
|
-
},
|
|
4997
|
-
f &&
|
|
4998
|
-
},
|
|
4999
|
-
y && (
|
|
5013
|
+
let M = (L) => {
|
|
5014
|
+
n == null || n({ value: L.target.innerText, name: r });
|
|
5015
|
+
}, R = (L) => {
|
|
5016
|
+
f && L.target.textContent.trim().length >= f && L.key !== "Backspace" && L.preventDefault(), L.key === "Enter" && L.preventDefault();
|
|
5017
|
+
}, D = (L) => {
|
|
5018
|
+
y && (L.preventDefault(), navigator.clipboard.writeText(L.target.textContent.trim()).then(
|
|
5000
5019
|
function() {
|
|
5001
5020
|
je.Copy("Данные в буфер обмене");
|
|
5002
5021
|
},
|
|
5003
5022
|
function(S) {
|
|
5004
5023
|
}
|
|
5005
5024
|
));
|
|
5006
|
-
},
|
|
5007
|
-
|
|
5025
|
+
}, N = (L) => {
|
|
5026
|
+
L.preventDefault(), navigator.clipboard.readText().then((S) => {
|
|
5008
5027
|
if (f) {
|
|
5009
|
-
let x =
|
|
5028
|
+
let x = L.target.textContent.length;
|
|
5010
5029
|
if (x >= f) return;
|
|
5011
5030
|
f -= x, S = S.slice(0, f);
|
|
5012
5031
|
}
|
|
@@ -5024,19 +5043,19 @@ function da({
|
|
|
5024
5043
|
w.field = "notes", g && (w.className = g);
|
|
5025
5044
|
const O = {};
|
|
5026
5045
|
s && (O.placeholder = s), c && _ && (O.edit = ""), j && (O.open = "");
|
|
5027
|
-
const B = (
|
|
5028
|
-
W.Blur(
|
|
5046
|
+
const B = (L) => {
|
|
5047
|
+
W.Blur(L), p == null || p({ value: L.target.textContent.trim(), name: r });
|
|
5029
5048
|
};
|
|
5030
5049
|
return /* @__PURE__ */ a.jsxs("dl", { ...w, children: [
|
|
5031
5050
|
i ? /* @__PURE__ */ a.jsx("dt", { children: i }) : "",
|
|
5032
5051
|
/* @__PURE__ */ a.jsx(
|
|
5033
5052
|
"dd",
|
|
5034
5053
|
{
|
|
5035
|
-
onPaste:
|
|
5036
|
-
onInput:
|
|
5054
|
+
onPaste: N,
|
|
5055
|
+
onInput: M,
|
|
5037
5056
|
onBlur: B,
|
|
5038
|
-
onKeyDown:
|
|
5039
|
-
onContextMenu:
|
|
5057
|
+
onKeyDown: R,
|
|
5058
|
+
onContextMenu: D,
|
|
5040
5059
|
contentEditable: c && _ ? W.ContentEditable : "false",
|
|
5041
5060
|
suppressContentEditableWarning: !0,
|
|
5042
5061
|
...O,
|
|
@@ -5069,25 +5088,25 @@ function Kt({
|
|
|
5069
5088
|
s = s !== void 0 ? s : !0, n = n !== void 0 ? n : !0, c = !!(c && (_ === "" || _ === void 0)) && !(s && n), u = u !== void 0 ? u : "", r = r !== void 0 ? r : 99;
|
|
5070
5089
|
let j = !1, E = (B) => {
|
|
5071
5090
|
e == null || e({ value: B.target.textContent, name: h });
|
|
5072
|
-
},
|
|
5091
|
+
}, M = (B) => {
|
|
5073
5092
|
if (!(j && B.which === 86)) {
|
|
5074
5093
|
if (B.which === 17 || B.which === 91) return j = !0;
|
|
5075
5094
|
B.key !== "Backspace" && (B.target.textContent.length === r && B.preventDefault(), B.key === "Enter" && B.preventDefault(), isNaN(B.key) && B.preventDefault());
|
|
5076
5095
|
}
|
|
5077
|
-
},
|
|
5096
|
+
}, R = (B) => {
|
|
5078
5097
|
if (B.which === 17 || B.which === 91) return j = !1;
|
|
5079
|
-
},
|
|
5080
|
-
B.preventDefault(), navigator.clipboard.readText().then((
|
|
5081
|
-
if (
|
|
5098
|
+
}, D = (B) => {
|
|
5099
|
+
B.preventDefault(), navigator.clipboard.readText().then((L) => {
|
|
5100
|
+
if (L = L.replace(/(?!^\+|\d)./g, ""), f) {
|
|
5082
5101
|
let S = B.target.textContent.length;
|
|
5083
5102
|
if (S >= f) return;
|
|
5084
|
-
f -= S,
|
|
5103
|
+
f -= S, L = L.slice(0, f);
|
|
5085
5104
|
}
|
|
5086
|
-
window.document.execCommand("insertText", !1, "" +
|
|
5087
|
-
}).catch((
|
|
5105
|
+
window.document.execCommand("insertText", !1, "" + L);
|
|
5106
|
+
}).catch((L) => {
|
|
5088
5107
|
});
|
|
5089
5108
|
};
|
|
5090
|
-
const
|
|
5109
|
+
const N = (B) => {
|
|
5091
5110
|
W.Blur(B), t == null || t({ value: B.target.textContent, name: h });
|
|
5092
5111
|
}, w = {};
|
|
5093
5112
|
w.field = "input", v && (w.className = v);
|
|
@@ -5099,11 +5118,11 @@ function Kt({
|
|
|
5099
5118
|
"dd",
|
|
5100
5119
|
{
|
|
5101
5120
|
...O,
|
|
5102
|
-
onPaste:
|
|
5121
|
+
onPaste: D,
|
|
5103
5122
|
onInput: E,
|
|
5104
|
-
onBlur:
|
|
5105
|
-
onKeyDown:
|
|
5106
|
-
onKeyUp:
|
|
5123
|
+
onBlur: N,
|
|
5124
|
+
onKeyDown: M,
|
|
5125
|
+
onKeyUp: R,
|
|
5107
5126
|
suppressContentEditableWarning: !0,
|
|
5108
5127
|
children: _
|
|
5109
5128
|
}
|
|
@@ -5139,7 +5158,7 @@ function _a({
|
|
|
5139
5158
|
});
|
|
5140
5159
|
}, E = (w) => {
|
|
5141
5160
|
w.key === "Enter" && w.preventDefault();
|
|
5142
|
-
},
|
|
5161
|
+
}, M = (w) => {
|
|
5143
5162
|
w.preventDefault(), navigator.clipboard.readText().then((O) => {
|
|
5144
5163
|
if (h) {
|
|
5145
5164
|
let B = w.target.textContent.length;
|
|
@@ -5153,23 +5172,23 @@ function _a({
|
|
|
5153
5172
|
);
|
|
5154
5173
|
}).catch((O) => {
|
|
5155
5174
|
});
|
|
5156
|
-
},
|
|
5175
|
+
}, R = (w) => {
|
|
5157
5176
|
W.Blur(w), n == null || n({ value: w.target.textContent.trim(), name: r });
|
|
5158
5177
|
};
|
|
5159
|
-
const
|
|
5160
|
-
|
|
5161
|
-
const
|
|
5162
|
-
return s && (
|
|
5178
|
+
const D = {};
|
|
5179
|
+
D.field = "password", g && (D.show = ""), i && (D.className = i);
|
|
5180
|
+
const N = {};
|
|
5181
|
+
return s && (N.placeholder = s), v ? "" : /* @__PURE__ */ a.jsxs("dl", { ...D, children: [
|
|
5163
5182
|
o ? /* @__PURE__ */ a.jsx("dt", { children: o }) : "",
|
|
5164
5183
|
/* @__PURE__ */ a.jsx(
|
|
5165
5184
|
"dd",
|
|
5166
5185
|
{
|
|
5167
|
-
onPaste:
|
|
5186
|
+
onPaste: M,
|
|
5168
5187
|
onInput: j,
|
|
5169
5188
|
onKeyDown: E,
|
|
5170
|
-
onBlur:
|
|
5189
|
+
onBlur: R,
|
|
5171
5190
|
contentEditable: c && _ ? W.ContentEditable : "false",
|
|
5172
|
-
...
|
|
5191
|
+
...N,
|
|
5173
5192
|
suppressContentEditableWarning: !0,
|
|
5174
5193
|
children: e
|
|
5175
5194
|
}
|
|
@@ -6579,31 +6598,31 @@ function Ht({
|
|
|
6579
6598
|
}) {
|
|
6580
6599
|
c = c !== void 0 ? c : !0, _ = _ !== void 0 ? _ : !0, l = !!(l && (e === "" || e === void 0)) && !(c && _), m.useRef(null);
|
|
6581
6600
|
let p = "+_(___) ___-__-__", g = !0, y = 0, j = (S, x) => {
|
|
6582
|
-
let
|
|
6583
|
-
|
|
6601
|
+
let T = document.createRange(), Z = window.getSelection();
|
|
6602
|
+
T.setStart(x.childNodes[0], S), T.collapse(!0), Z.removeAllRanges(), Z.addRange(T), x.focus();
|
|
6584
6603
|
}, E = (S) => {
|
|
6585
6604
|
S.preventDefault(), navigator.clipboard.readText().then((x) => {
|
|
6586
6605
|
window.document.execCommand("insertText", !1, x);
|
|
6587
6606
|
}).catch((x) => {
|
|
6588
6607
|
});
|
|
6589
|
-
},
|
|
6590
|
-
let x = 0,
|
|
6608
|
+
}, M = (S) => {
|
|
6609
|
+
let x = 0, T = "", Z = S.replace(/\D/g, "");
|
|
6591
6610
|
Z === "" && (g = !0);
|
|
6592
6611
|
let J = Z.split(""), oe = "";
|
|
6593
6612
|
J.forEach((Pe) => {
|
|
6594
|
-
g && (oe += Pe, bt[oe] !== void 0 && g ? (g = !1, p = bt[oe].mask.replace(new RegExp("[0-9]", "g"), "_"),
|
|
6613
|
+
g && (oe += Pe, bt[oe] !== void 0 && g ? (g = !1, p = bt[oe].mask.replace(new RegExp("[0-9]", "g"), "_"), T = bt[oe].code) : (g && (y = ("" + oe).length, p = `+${oe}_(___) ___-__-__`.replace(
|
|
6595
6614
|
new RegExp("[0-9]", "g"),
|
|
6596
6615
|
"_"
|
|
6597
|
-
),
|
|
6616
|
+
), T = ""), y > ("" + oe).length && (g = !0, p = `+${oe}_(___) ___-__-__`.replace(
|
|
6598
6617
|
new RegExp("[0-9]", "g"),
|
|
6599
6618
|
"_"
|
|
6600
|
-
),
|
|
6619
|
+
), T = "")));
|
|
6601
6620
|
});
|
|
6602
6621
|
let Ce = p.replace(/\D/g, "");
|
|
6603
6622
|
return Ce.length >= Z.length && (Z = Ce), { q: p.replace(/[_\d]/g, function() {
|
|
6604
6623
|
return Z.charAt(x++) || "_";
|
|
6605
|
-
}), i: x, v: Z, f:
|
|
6606
|
-
},
|
|
6624
|
+
}), i: x, v: Z, f: T };
|
|
6625
|
+
}, R = (S) => {
|
|
6607
6626
|
S.preventDefault(), navigator.clipboard.writeText(S.target.textContent.replace(/\D/g, "")).then(
|
|
6608
6627
|
function() {
|
|
6609
6628
|
je.Copy("Данные в буфер обмене");
|
|
@@ -6611,8 +6630,8 @@ function Ht({
|
|
|
6611
6630
|
function(x) {
|
|
6612
6631
|
}
|
|
6613
6632
|
);
|
|
6614
|
-
},
|
|
6615
|
-
let x =
|
|
6633
|
+
}, D = M(e), N = (S) => {
|
|
6634
|
+
let x = M(S.target.textContent);
|
|
6616
6635
|
S.target.textContent = x.q, x.i = x.q.lastIndexOf(x.v.substr(-1)), x.i < x.q.length && x.q !== p ? x.i++ : x.i = x.q.indexOf("_"), j(x.i, S.target), t && t({ value: x.q.replace(/\D/g, ""), name: r });
|
|
6617
6636
|
}, w = (S) => {
|
|
6618
6637
|
S.key === "Enter" && S.preventDefault();
|
|
@@ -6624,20 +6643,20 @@ function Ht({
|
|
|
6624
6643
|
});
|
|
6625
6644
|
}, B = {};
|
|
6626
6645
|
B.field = "input", h && (B.className = h);
|
|
6627
|
-
let
|
|
6628
|
-
return c && _ ? (
|
|
6646
|
+
let L = {};
|
|
6647
|
+
return c && _ ? (L.edit = "true", L.contentEditable = W.ContentEditable) : L.contentEditable = "false", s && (L.placeholder = s), u && (L.after = u), l ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...B, children: [
|
|
6629
6648
|
i && /* @__PURE__ */ a.jsx("dt", { children: i }),
|
|
6630
6649
|
/* @__PURE__ */ a.jsx(
|
|
6631
6650
|
"dd",
|
|
6632
6651
|
{
|
|
6633
|
-
...
|
|
6652
|
+
...L,
|
|
6634
6653
|
onPaste: E,
|
|
6635
|
-
onInput:
|
|
6654
|
+
onInput: N,
|
|
6636
6655
|
onKeyDown: w,
|
|
6637
|
-
onContextMenu:
|
|
6656
|
+
onContextMenu: R,
|
|
6638
6657
|
onBlur: O,
|
|
6639
6658
|
suppressContentEditableWarning: !0,
|
|
6640
|
-
children:
|
|
6659
|
+
children: D.q
|
|
6641
6660
|
}
|
|
6642
6661
|
),
|
|
6643
6662
|
o && /* @__PURE__ */ a.jsx("em", { children: o })
|
|
@@ -6671,9 +6690,9 @@ const ua = ({
|
|
|
6671
6690
|
}, C = (j) => {
|
|
6672
6691
|
j.preventDefault(), navigator.clipboard.readText().then((E) => {
|
|
6673
6692
|
if (c) {
|
|
6674
|
-
let
|
|
6675
|
-
if (
|
|
6676
|
-
c -=
|
|
6693
|
+
let M = j.target.textContent.length;
|
|
6694
|
+
if (M >= c) return;
|
|
6695
|
+
c -= M, E = E.slice(0, c);
|
|
6677
6696
|
}
|
|
6678
6697
|
window.document.execCommand(
|
|
6679
6698
|
"insertText",
|
|
@@ -6730,18 +6749,18 @@ function Yt({
|
|
|
6730
6749
|
m.useEffect(() => {
|
|
6731
6750
|
y(i), E(l);
|
|
6732
6751
|
}, [i, l]), s = !!(s && (i === "" || ((O = j[i]) == null ? void 0 : O.n) === void 0)) && !(n && r);
|
|
6733
|
-
let
|
|
6734
|
-
y(
|
|
6735
|
-
},
|
|
6752
|
+
let R = (L) => {
|
|
6753
|
+
y(L), o && o({ value: L, name: u, reload: C });
|
|
6754
|
+
}, D = (L) => {
|
|
6736
6755
|
if (Object.keys(l).length === 0 || !(n && r)) return;
|
|
6737
|
-
const S =
|
|
6756
|
+
const S = L.target.getBoundingClientRect();
|
|
6738
6757
|
ge.setListener(
|
|
6739
6758
|
"form",
|
|
6740
6759
|
/* @__PURE__ */ a.jsx(
|
|
6741
6760
|
Uc,
|
|
6742
6761
|
{
|
|
6743
6762
|
parent: S,
|
|
6744
|
-
onValue:
|
|
6763
|
+
onValue: R,
|
|
6745
6764
|
view: f,
|
|
6746
6765
|
className: _,
|
|
6747
6766
|
options: j,
|
|
@@ -6750,8 +6769,8 @@ function Yt({
|
|
|
6750
6769
|
(/* @__PURE__ */ new Date()).getTime()
|
|
6751
6770
|
)
|
|
6752
6771
|
);
|
|
6753
|
-
},
|
|
6754
|
-
return c && (w.placeholder = c), v && (w.after = v), n && r && (w.edit = ""), s ? "" : /* @__PURE__ */ a.jsxs("dl", { ...
|
|
6772
|
+
}, N = { field: "select", className: _ }, w = { onClick: D };
|
|
6773
|
+
return c && (w.placeholder = c), v && (w.after = v), n && r && (w.edit = ""), s ? "" : /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
|
|
6755
6774
|
e && /* @__PURE__ */ a.jsx("dt", { children: e }),
|
|
6756
6775
|
/* @__PURE__ */ a.jsx("dd", { ...w, ref: p, children: (B = j[g]) == null ? void 0 : B.n }),
|
|
6757
6776
|
Object.keys(j).length !== 0 && /* @__PURE__ */ a.jsx("s", { children: /* @__PURE__ */ a.jsx(
|
|
@@ -7092,25 +7111,25 @@ function fa({
|
|
|
7092
7111
|
}) {
|
|
7093
7112
|
let g = !!(o && (e === "" || e === void 0));
|
|
7094
7113
|
if (!(l && c) && !u || !(l && c) && g) return "";
|
|
7095
|
-
let y = (
|
|
7096
|
-
t && t({ value:
|
|
7097
|
-
}, j = (
|
|
7098
|
-
C && C({ value:
|
|
7099
|
-
}, E = (
|
|
7100
|
-
|
|
7114
|
+
let y = (D) => {
|
|
7115
|
+
t && t({ value: D.target.innerText, name: n });
|
|
7116
|
+
}, j = (D) => {
|
|
7117
|
+
C && C({ value: D.target.innerText, name: n });
|
|
7118
|
+
}, E = (D) => {
|
|
7119
|
+
D.preventDefault(), navigator.clipboard.readText().then((N) => {
|
|
7101
7120
|
if (h) {
|
|
7102
|
-
let w =
|
|
7121
|
+
let w = D.target.textContent.length;
|
|
7103
7122
|
if (w >= h) return;
|
|
7104
|
-
h -= w,
|
|
7123
|
+
h -= w, N = N.slice(0, h);
|
|
7105
7124
|
}
|
|
7106
|
-
window.document.execCommand("insertText", !1,
|
|
7107
|
-
}).catch((
|
|
7125
|
+
window.document.execCommand("insertText", !1, N);
|
|
7126
|
+
}).catch((N) => {
|
|
7108
7127
|
});
|
|
7109
7128
|
};
|
|
7110
|
-
const
|
|
7111
|
-
|
|
7112
|
-
const
|
|
7113
|
-
return r && (
|
|
7129
|
+
const M = {};
|
|
7130
|
+
M.field = "text", p && (M.className = p);
|
|
7131
|
+
const R = {};
|
|
7132
|
+
return r && (R.placeholder = r), /* @__PURE__ */ a.jsxs("dl", { ...M, children: [
|
|
7114
7133
|
s && /* @__PURE__ */ a.jsx("dt", { children: s }),
|
|
7115
7134
|
/* @__PURE__ */ a.jsx(
|
|
7116
7135
|
"dd",
|
|
@@ -7119,7 +7138,7 @@ function fa({
|
|
|
7119
7138
|
onBlur: j,
|
|
7120
7139
|
onInput: y,
|
|
7121
7140
|
contentEditable: l && c ? W.ContentEditable : "false",
|
|
7122
|
-
|
|
7141
|
+
...R,
|
|
7123
7142
|
suppressContentEditableWarning: !0,
|
|
7124
7143
|
children: e
|
|
7125
7144
|
}
|
|
@@ -7146,12 +7165,12 @@ function ma({
|
|
|
7146
7165
|
}) {
|
|
7147
7166
|
let p = !!(o && (e === "" || e === void 0)), g = H.Date(e === void 0 ? /* @__PURE__ */ new Date() : e, "HH:MM"), y = m.useRef(null);
|
|
7148
7167
|
if (!(l && c) && !u || !(l && c) && p) return "";
|
|
7149
|
-
let j = (
|
|
7150
|
-
y.current.textContent =
|
|
7151
|
-
}, E = (
|
|
7152
|
-
h && h({ value:
|
|
7153
|
-
},
|
|
7154
|
-
const w =
|
|
7168
|
+
let j = (N) => {
|
|
7169
|
+
y.current.textContent = N, t && t({ value: N, name: n });
|
|
7170
|
+
}, E = (N) => {
|
|
7171
|
+
h && h({ value: N, name: n });
|
|
7172
|
+
}, M = (N) => {
|
|
7173
|
+
const w = N.target.getBoundingClientRect(), O = w.left, B = w.top;
|
|
7155
7174
|
ge.setListener(
|
|
7156
7175
|
"form",
|
|
7157
7176
|
/* @__PURE__ */ a.jsx(
|
|
@@ -7166,18 +7185,18 @@ function ma({
|
|
|
7166
7185
|
)
|
|
7167
7186
|
);
|
|
7168
7187
|
};
|
|
7169
|
-
const
|
|
7170
|
-
|
|
7171
|
-
const
|
|
7172
|
-
return r && (
|
|
7188
|
+
const R = {};
|
|
7189
|
+
R.field = "input", C && (R.className = C);
|
|
7190
|
+
const D = {};
|
|
7191
|
+
return r && (D.placeholder = r), /* @__PURE__ */ a.jsx(a.Fragment, { children: v === "icon" ? /* @__PURE__ */ a.jsx(
|
|
7173
7192
|
"i",
|
|
7174
7193
|
{
|
|
7175
7194
|
"data-icon": "F043",
|
|
7176
|
-
onClick:
|
|
7195
|
+
onClick: M
|
|
7177
7196
|
}
|
|
7178
|
-
) : /* @__PURE__ */ a.jsxs("dl", {
|
|
7197
|
+
) : /* @__PURE__ */ a.jsxs("dl", { ...R, children: [
|
|
7179
7198
|
s ? /* @__PURE__ */ a.jsx("dt", { children: s }) : "",
|
|
7180
|
-
/* @__PURE__ */ a.jsx("dd", { onClick:
|
|
7199
|
+
/* @__PURE__ */ a.jsx("dd", { onClick: M, ref: y, ...D, children: g }),
|
|
7181
7200
|
i ? /* @__PURE__ */ a.jsx("em", { children: i }) : ""
|
|
7182
7201
|
] }) });
|
|
7183
7202
|
}
|
|
@@ -7199,11 +7218,11 @@ const zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
|
|
|
7199
7218
|
_ = !0;
|
|
7200
7219
|
}, C = () => {
|
|
7201
7220
|
_ = !1, o = o === "hour" ? "time" : "hour", f.body.current.setAttribute("active", o);
|
|
7202
|
-
}, p = (
|
|
7221
|
+
}, p = (D) => {
|
|
7203
7222
|
if (_) {
|
|
7204
7223
|
let w = Math.atan2(
|
|
7205
|
-
|
|
7206
|
-
|
|
7224
|
+
D.pageX - (l.x + 78),
|
|
7225
|
+
D.pageY - (l.y + 78)
|
|
7207
7226
|
) * (180 / Math.PI) * -1 + 180;
|
|
7208
7227
|
f[o].current.style.transform = "rotate(" + w + "deg)", o === "hour" ? (i = {
|
|
7209
7228
|
...i,
|
|
@@ -7213,38 +7232,38 @@ const zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
|
|
|
7213
7232
|
m: H.Number(2, parseInt(String(w / 6), 10))
|
|
7214
7233
|
}, f.timeText.current.textContent = i.m), n(i.h + ":" + i.m);
|
|
7215
7234
|
}
|
|
7216
|
-
}, g = (
|
|
7235
|
+
}, g = (D) => {
|
|
7217
7236
|
if (o === "hour")
|
|
7218
|
-
if (
|
|
7219
|
-
u +=
|
|
7220
|
-
let
|
|
7221
|
-
if (v !==
|
|
7222
|
-
v =
|
|
7237
|
+
if (D.deltaY > 0) {
|
|
7238
|
+
u += D.deltaY;
|
|
7239
|
+
let N = parseInt(String(u / 50));
|
|
7240
|
+
if (v !== N) {
|
|
7241
|
+
v = N;
|
|
7223
7242
|
let w = parseInt(i.h, 10) + 1;
|
|
7224
7243
|
w = w > 23 ? 0 : w, i = { ...i, h: H.Number(2, w) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
|
|
7225
7244
|
}
|
|
7226
7245
|
} else {
|
|
7227
|
-
u -=
|
|
7228
|
-
let
|
|
7229
|
-
if (v !==
|
|
7230
|
-
v =
|
|
7246
|
+
u -= D.deltaY;
|
|
7247
|
+
let N = parseInt(String(u / 50));
|
|
7248
|
+
if (v !== N) {
|
|
7249
|
+
v = N;
|
|
7231
7250
|
let w = parseInt(i.h, 10) - 1;
|
|
7232
7251
|
w = w < 0 ? 23 : w, i = { ...i, h: H.Number(2, w) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
|
|
7233
7252
|
}
|
|
7234
7253
|
}
|
|
7235
|
-
else if (
|
|
7236
|
-
u +=
|
|
7237
|
-
let
|
|
7238
|
-
if (v !==
|
|
7239
|
-
v =
|
|
7254
|
+
else if (D.deltaY > 0) {
|
|
7255
|
+
u += D.deltaY;
|
|
7256
|
+
let N = parseInt(String(u / 50));
|
|
7257
|
+
if (v !== N) {
|
|
7258
|
+
v = N;
|
|
7240
7259
|
let w = parseInt(i.m, 10) + 1;
|
|
7241
7260
|
w = w > 59 ? 0 : w, i = { ...i, m: H.Number(2, w) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
|
|
7242
7261
|
}
|
|
7243
7262
|
} else {
|
|
7244
|
-
u -=
|
|
7245
|
-
let
|
|
7246
|
-
if (v !==
|
|
7247
|
-
v =
|
|
7263
|
+
u -= D.deltaY;
|
|
7264
|
+
let N = parseInt(String(u / 50));
|
|
7265
|
+
if (v !== N) {
|
|
7266
|
+
v = N;
|
|
7248
7267
|
let w = parseInt(i.m, 10) - 1;
|
|
7249
7268
|
w = w < 0 ? 59 : w, i = { ...i, m: H.Number(2, w) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
|
|
7250
7269
|
}
|
|
@@ -7252,7 +7271,7 @@ const zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
|
|
|
7252
7271
|
n(i.h + ":" + i.m);
|
|
7253
7272
|
}, [y, j] = m.useState(!0), E = () => {
|
|
7254
7273
|
j(!1), t(i.h + ":" + i.m);
|
|
7255
|
-
},
|
|
7274
|
+
}, M = window.innerHeight - e.y + 33 < 320 ? e.y - 312 : e.y + 33, R = window.innerWidth - e.x < 265 ? e.x - 235 : e.x;
|
|
7256
7275
|
return /* @__PURE__ */ a.jsx(a.Fragment, { children: y ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
7257
7276
|
/* @__PURE__ */ a.jsx(
|
|
7258
7277
|
"div",
|
|
@@ -7271,7 +7290,7 @@ const zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
|
|
|
7271
7290
|
onMouseMove: p,
|
|
7272
7291
|
onWheel: g,
|
|
7273
7292
|
ref: f.body,
|
|
7274
|
-
style: { top:
|
|
7293
|
+
style: { top: M + "px", left: R + "px" },
|
|
7275
7294
|
children: [
|
|
7276
7295
|
/* @__PURE__ */ a.jsx("div", { className: "b" }),
|
|
7277
7296
|
/* @__PURE__ */ a.jsxs("div", { className: "s", children: [
|
|
@@ -7404,22 +7423,22 @@ function ga({
|
|
|
7404
7423
|
if (f !== 0 && g.length >= f)
|
|
7405
7424
|
return je.Error("Слишком много");
|
|
7406
7425
|
y([...g, ""]);
|
|
7407
|
-
}, E = (
|
|
7408
|
-
g.splice(
|
|
7409
|
-
},
|
|
7426
|
+
}, E = (L) => {
|
|
7427
|
+
g.splice(L, 1), g.length === 0 && g.push(""), y([...g]), h !== void 0 && h({ value: g.join(p), name: n });
|
|
7428
|
+
}, M = !!(o && (e === "" || e === void 0)), R = (L) => {
|
|
7410
7429
|
};
|
|
7411
|
-
if (!(l && c) && !u || !(l && c) &&
|
|
7412
|
-
const
|
|
7413
|
-
|
|
7414
|
-
const
|
|
7415
|
-
W.Blur(
|
|
7430
|
+
if (!(l && c) && !u || !(l && c) && M) return "";
|
|
7431
|
+
const D = {};
|
|
7432
|
+
D.field = "group", C && (D.className = C);
|
|
7433
|
+
const N = (L, S) => {
|
|
7434
|
+
W.Blur(L), g[S] = L.target.textContent, h && h({ value: g.join(p), name: n });
|
|
7416
7435
|
};
|
|
7417
|
-
let w = (
|
|
7418
|
-
g[S] =
|
|
7419
|
-
}, O = (
|
|
7420
|
-
|
|
7436
|
+
let w = (L, S) => {
|
|
7437
|
+
g[S] = L.target.textContent, t && t({ value: g.join(p), name: n });
|
|
7438
|
+
}, O = (L) => {
|
|
7439
|
+
L.key === "Enter" && L.preventDefault();
|
|
7421
7440
|
};
|
|
7422
|
-
const B = ({ data:
|
|
7441
|
+
const B = ({ data: L }) => f !== 0 && L.length >= f ? "" : /* @__PURE__ */ a.jsx("i", { onClick: j, children: /* @__PURE__ */ a.jsxs(
|
|
7423
7442
|
"svg",
|
|
7424
7443
|
{
|
|
7425
7444
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7435,12 +7454,12 @@ function ga({
|
|
|
7435
7454
|
]
|
|
7436
7455
|
}
|
|
7437
7456
|
) });
|
|
7438
|
-
return /* @__PURE__ */ a.jsxs("dl", { ...
|
|
7457
|
+
return /* @__PURE__ */ a.jsxs("dl", { ...D, children: [
|
|
7439
7458
|
/* @__PURE__ */ a.jsxs("dt", { children: [
|
|
7440
7459
|
s,
|
|
7441
7460
|
/* @__PURE__ */ a.jsx(B, { data: g })
|
|
7442
7461
|
] }),
|
|
7443
|
-
/* @__PURE__ */ a.jsx("dd", { children: g.map((
|
|
7462
|
+
/* @__PURE__ */ a.jsx("dd", { children: g.map((L, S) => /* @__PURE__ */ a.jsxs("li", { className: "field_group_item", children: [
|
|
7444
7463
|
/* @__PURE__ */ a.jsx(
|
|
7445
7464
|
"span",
|
|
7446
7465
|
{
|
|
@@ -7448,10 +7467,10 @@ function ga({
|
|
|
7448
7467
|
edit: "true",
|
|
7449
7468
|
name: n,
|
|
7450
7469
|
placeholder: r,
|
|
7451
|
-
onPaste:
|
|
7470
|
+
onPaste: R,
|
|
7452
7471
|
contentEditable: l && c ? W.ContentEditable : "false",
|
|
7453
7472
|
onKeyDown: O,
|
|
7454
|
-
onBlur: (x) =>
|
|
7473
|
+
onBlur: (x) => N(x, S),
|
|
7455
7474
|
suppressContentEditableWarning: !0,
|
|
7456
7475
|
children: g[S]
|
|
7457
7476
|
}
|
|
@@ -7503,12 +7522,12 @@ function xa({
|
|
|
7503
7522
|
options: C,
|
|
7504
7523
|
className: p
|
|
7505
7524
|
}) {
|
|
7506
|
-
const [g, y] = m.useState(Kc(e)), j = (
|
|
7525
|
+
const [g, y] = m.useState(Kc(e)), j = (R) => {
|
|
7507
7526
|
if (!(l && _) || !f) return;
|
|
7508
|
-
let
|
|
7509
|
-
_t.Open(
|
|
7510
|
-
callback: (
|
|
7511
|
-
t && t({ value:
|
|
7527
|
+
let D = f.split(".");
|
|
7528
|
+
_t.Open(D[0], D[1], {
|
|
7529
|
+
callback: (N) => {
|
|
7530
|
+
t && t({ value: N, name: n }), y(N);
|
|
7512
7531
|
},
|
|
7513
7532
|
onValue: t,
|
|
7514
7533
|
options: C,
|
|
@@ -7517,8 +7536,8 @@ function xa({
|
|
|
7517
7536
|
});
|
|
7518
7537
|
}, E = {};
|
|
7519
7538
|
E.field = "group", p && (E.className = p);
|
|
7520
|
-
const
|
|
7521
|
-
return r && (
|
|
7539
|
+
const M = {};
|
|
7540
|
+
return r && (M.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
|
|
7522
7541
|
/* @__PURE__ */ a.jsxs("dt", { children: [
|
|
7523
7542
|
s,
|
|
7524
7543
|
/* @__PURE__ */ a.jsx("i", { onClick: j, children: /* @__PURE__ */ a.jsxs(
|
|
@@ -7542,13 +7561,13 @@ function xa({
|
|
|
7542
7561
|
/* @__PURE__ */ a.jsx(
|
|
7543
7562
|
"dd",
|
|
7544
7563
|
{
|
|
7545
|
-
...
|
|
7564
|
+
...M,
|
|
7546
7565
|
onClick: open,
|
|
7547
7566
|
edit: (l && _) + "",
|
|
7548
7567
|
"data-after": u,
|
|
7549
|
-
children: Object.keys(g).map((
|
|
7550
|
-
var
|
|
7551
|
-
return /* @__PURE__ */ a.jsx("div", { className: "field_group_item", children: (
|
|
7568
|
+
children: Object.keys(g).map((R) => {
|
|
7569
|
+
var D;
|
|
7570
|
+
return /* @__PURE__ */ a.jsx("div", { className: "field_group_item", children: (D = C[R]) == null ? void 0 : D.label }, R);
|
|
7552
7571
|
})
|
|
7553
7572
|
}
|
|
7554
7573
|
),
|
|
@@ -7575,29 +7594,29 @@ function Sn({
|
|
|
7575
7594
|
className: g = ""
|
|
7576
7595
|
}) {
|
|
7577
7596
|
const y = m.useId();
|
|
7578
|
-
let j = !!(l && (e === "" || e === void 0)), [E,
|
|
7597
|
+
let j = !!(l && (e === "" || e === void 0)), [E, M] = m.useState(i);
|
|
7579
7598
|
if (!(c && _) && !v || !(c && _) && j) return "";
|
|
7580
|
-
const
|
|
7599
|
+
const R = async (N) => {
|
|
7581
7600
|
if (f) {
|
|
7582
|
-
let w = Yc(
|
|
7583
|
-
t == null || t({ name: n, value: w }),
|
|
7601
|
+
let w = Yc(N, f, e || "default");
|
|
7602
|
+
t == null || t({ name: n, value: w }), M(URL.createObjectURL(w));
|
|
7584
7603
|
} else
|
|
7585
|
-
t == null || t({ name: n, value:
|
|
7586
|
-
},
|
|
7587
|
-
return
|
|
7604
|
+
t == null || t({ name: n, value: N }), M(URL.createObjectURL(N));
|
|
7605
|
+
}, D = {};
|
|
7606
|
+
return D.field = "file", g && (D.className = g), /* @__PURE__ */ a.jsxs("dl", { ...D, children: [
|
|
7588
7607
|
s && /* @__PURE__ */ a.jsxs("dt", { children: [
|
|
7589
7608
|
s,
|
|
7590
7609
|
" "
|
|
7591
7610
|
] }),
|
|
7592
|
-
/* @__PURE__ */ a.jsxs(Hc, { onFiles:
|
|
7611
|
+
/* @__PURE__ */ a.jsxs(Hc, { onFiles: R, children: [
|
|
7593
7612
|
/* @__PURE__ */ a.jsx(
|
|
7594
7613
|
"input",
|
|
7595
7614
|
{
|
|
7596
7615
|
id: y,
|
|
7597
7616
|
type: "file",
|
|
7598
7617
|
multiple: !0,
|
|
7599
|
-
onChange: (
|
|
7600
|
-
|
|
7618
|
+
onChange: (N) => {
|
|
7619
|
+
N.target.files[0] && R(N.target.files[0]);
|
|
7601
7620
|
}
|
|
7602
7621
|
}
|
|
7603
7622
|
),
|
|
@@ -7742,36 +7761,36 @@ function ed({
|
|
|
7742
7761
|
className: C = ""
|
|
7743
7762
|
}) {
|
|
7744
7763
|
_ = _ !== void 0 ? _ : !0, u = u !== void 0 ? u : !0, c = !!(c && (e === "" || e === void 0)) && !(_ && u), m.useRef(null);
|
|
7745
|
-
let g = s, y = !0, j = 0, E = (x,
|
|
7764
|
+
let g = s, y = !0, j = 0, E = (x, T) => {
|
|
7746
7765
|
let Z = document.createRange(), J = window.getSelection();
|
|
7747
|
-
Z.setStart(
|
|
7748
|
-
},
|
|
7749
|
-
x.preventDefault(), navigator.clipboard.readText().then((
|
|
7750
|
-
window.document.execCommand("insertText", !1,
|
|
7751
|
-
}).catch((
|
|
7766
|
+
Z.setStart(T.childNodes[0], x), Z.collapse(!0), J.removeAllRanges(), J.addRange(Z), T.focus();
|
|
7767
|
+
}, M = (x) => {
|
|
7768
|
+
x.preventDefault(), navigator.clipboard.readText().then((T) => {
|
|
7769
|
+
window.document.execCommand("insertText", !1, T);
|
|
7770
|
+
}).catch((T) => {
|
|
7752
7771
|
});
|
|
7753
|
-
},
|
|
7754
|
-
let
|
|
7772
|
+
}, R = (x) => {
|
|
7773
|
+
let T = 0, Z = "", J = x.replace(/\D/g, "");
|
|
7755
7774
|
J === "" && (y = !0);
|
|
7756
7775
|
let oe = J.split(""), Ce = "";
|
|
7757
7776
|
oe.forEach((Qe) => {
|
|
7758
7777
|
y && (Ce += Qe, y && (j = ("" + Ce).length, g = s.replace(new RegExp("[0-9]", "g"), "_"), Z = ""), j > ("" + Ce).length && (y = !0, g = s.replace(new RegExp("[0-9]", "g"), "_"), Z = ""));
|
|
7759
7778
|
});
|
|
7760
|
-
let
|
|
7761
|
-
return
|
|
7762
|
-
return J.charAt(
|
|
7763
|
-
}), i:
|
|
7764
|
-
},
|
|
7779
|
+
let Re = g.replace(/\D/g, "");
|
|
7780
|
+
return Re.length >= J.length && (J = Re), { q: g.replace(/[_\d]/g, function() {
|
|
7781
|
+
return J.charAt(T++) || "_";
|
|
7782
|
+
}), i: T, v: J, f: Z };
|
|
7783
|
+
}, D = (x) => {
|
|
7765
7784
|
x.preventDefault(), navigator.clipboard.writeText(x.target.textContent.replace(/\D/g, "")).then(
|
|
7766
7785
|
function() {
|
|
7767
7786
|
je.Copy("Данные в буфер обмене");
|
|
7768
7787
|
},
|
|
7769
|
-
function(
|
|
7788
|
+
function(T) {
|
|
7770
7789
|
}
|
|
7771
7790
|
);
|
|
7772
|
-
},
|
|
7773
|
-
let
|
|
7774
|
-
x.target.textContent =
|
|
7791
|
+
}, N = R(e), w = (x) => {
|
|
7792
|
+
let T = R(x.target.textContent);
|
|
7793
|
+
x.target.textContent = T.q, T.i = T.q.lastIndexOf(T.v.substr(-1)), T.i < T.q.length && T.q !== g ? T.i++ : T.i = T.q.indexOf("_"), E(T.i, x.target), t && t({ value: T.q.replace(/\D/g, ""), name: r });
|
|
7775
7794
|
}, O = (x) => {
|
|
7776
7795
|
x.key === "Enter" && x.preventDefault();
|
|
7777
7796
|
};
|
|
@@ -7780,22 +7799,22 @@ function ed({
|
|
|
7780
7799
|
value: x.target.textContent.replace(/\D/g, ""),
|
|
7781
7800
|
name: r
|
|
7782
7801
|
});
|
|
7783
|
-
},
|
|
7784
|
-
|
|
7802
|
+
}, L = {};
|
|
7803
|
+
L.field = "input", C && (L.className = C);
|
|
7785
7804
|
let S = {};
|
|
7786
|
-
return _ && u ? (S.edit = "true", S.contentEditable = W.ContentEditable) : S.contentEditable = "false", i && (S.placeholder = i), v && (S.after = v), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...
|
|
7805
|
+
return _ && u ? (S.edit = "true", S.contentEditable = W.ContentEditable) : S.contentEditable = "false", i && (S.placeholder = i), v && (S.after = v), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...L, children: [
|
|
7787
7806
|
o && /* @__PURE__ */ a.jsx("dt", { children: o }),
|
|
7788
7807
|
/* @__PURE__ */ a.jsx(
|
|
7789
7808
|
"dd",
|
|
7790
7809
|
{
|
|
7791
7810
|
...S,
|
|
7792
|
-
onPaste:
|
|
7811
|
+
onPaste: M,
|
|
7793
7812
|
onInput: w,
|
|
7794
7813
|
onKeyDown: O,
|
|
7795
|
-
onContextMenu:
|
|
7814
|
+
onContextMenu: D,
|
|
7796
7815
|
onBlur: B,
|
|
7797
7816
|
suppressContentEditableWarning: !0,
|
|
7798
|
-
children:
|
|
7817
|
+
children: N.q
|
|
7799
7818
|
}
|
|
7800
7819
|
),
|
|
7801
7820
|
l && /* @__PURE__ */ a.jsx("em", { children: l })
|
|
@@ -8155,7 +8174,7 @@ const r_ = { Button: Cd, useValue: jd, Set: kd, Run: bd, Count: ja, Reset: yd },
|
|
|
8155
8174
|
p: Ed,
|
|
8156
8175
|
l: Dd
|
|
8157
8176
|
};
|
|
8158
|
-
function
|
|
8177
|
+
function Id(e) {
|
|
8159
8178
|
let t = 3, n = e.page, r = e.count, s = [], i = () => {
|
|
8160
8179
|
s.push({ page: 1 }), s.push({ text: "..." });
|
|
8161
8180
|
}, o = () => {
|
|
@@ -8168,12 +8187,12 @@ function Rd(e) {
|
|
|
8168
8187
|
/* @__PURE__ */ a.jsx("i", { onClick: () => e.onChangePage(n - 1), children: /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ a.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" }) }) }),
|
|
8169
8188
|
s.map((c, _) => {
|
|
8170
8189
|
const u = {};
|
|
8171
|
-
return c.page && (u.onClick = () => e.onChangePage(c.page)), c.page === e.page && (u.active = ""), /* @__PURE__ */
|
|
8190
|
+
return c.page && (u.onClick = () => e.onChangePage(c.page)), c.page === e.page && (u.active = ""), /* @__PURE__ */ Rn("span", { ...u, key: _ }, c.page || c.text);
|
|
8172
8191
|
}),
|
|
8173
8192
|
/* @__PURE__ */ a.jsx("i", { onClick: () => e.onChangePage(n + 1), children: /* @__PURE__ */ a.jsx("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ a.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" }) }) })
|
|
8174
8193
|
] });
|
|
8175
8194
|
}
|
|
8176
|
-
function
|
|
8195
|
+
function Rd(e, t) {
|
|
8177
8196
|
switch (t.type) {
|
|
8178
8197
|
case "load":
|
|
8179
8198
|
return {
|
|
@@ -8195,7 +8214,7 @@ function Id(e, t) {
|
|
|
8195
8214
|
}
|
|
8196
8215
|
}
|
|
8197
8216
|
function ya({ load: e, list: t, item: n }) {
|
|
8198
|
-
const r = m.useRef(null), [s, i] = m.useReducer(
|
|
8217
|
+
const r = m.useRef(null), [s, i] = m.useReducer(Rd, {
|
|
8199
8218
|
load: !1,
|
|
8200
8219
|
list: [],
|
|
8201
8220
|
data: {},
|
|
@@ -8219,7 +8238,7 @@ function ya({ load: e, list: t, item: n }) {
|
|
|
8219
8238
|
/* @__PURE__ */ a.jsx("i", {})
|
|
8220
8239
|
] }) }) }),
|
|
8221
8240
|
s.load && s.list !== void 0 ? /* @__PURE__ */ a.jsx(
|
|
8222
|
-
|
|
8241
|
+
Id,
|
|
8223
8242
|
{
|
|
8224
8243
|
page: s.page,
|
|
8225
8244
|
count: s.size,
|