code7-leia 1.0.13 → 1.0.14
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 +451 -374
- package/package.json +3 -2
- package/src/components/EmptyState/styles.tsx +4 -0
- package/src/components/PersonasArea/index.tsx +28 -18
- package/src/components/PersonasArea/styles.ts +71 -3
- package/src/components/TestArea/components/InputTest/index.tsx +9 -8
- package/src/service/ApiDev.ts +1 -1
- package/src/utils/languages/en.ts +1 -0
- package/src/utils/languages/es.ts +1 -0
- package/src/utils/languages/pt-br.ts +1 -0
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Ue, { useLayoutEffect as ho, useEffect as Re, useMemo as st, useContext as ir, useDebugValue as _c, useReducer as Bn, useRef as Me, createElement as Ge, isValidElement as sn, cloneElement as go, useState as me, createContext as Cc, forwardRef as di, useCallback as Ie, useImperativeHandle as Oc, Fragment as Rc } from "react";
|
|
2
|
-
import { unstable_batchedUpdates as
|
|
3
|
-
import
|
|
2
|
+
import { unstable_batchedUpdates as jc, render as Ac } from "react-dom";
|
|
3
|
+
import W, { css as xo } from "styled-components";
|
|
4
4
|
import { renderToString as zi } from "react-dom/server";
|
|
5
5
|
function yo(e) {
|
|
6
6
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -46,41 +46,41 @@ function Pc() {
|
|
|
46
46
|
function h(f) {
|
|
47
47
|
if (f === null || typeof f != "object")
|
|
48
48
|
return null;
|
|
49
|
-
var
|
|
50
|
-
return typeof
|
|
49
|
+
var j = v && f[v] || f[g];
|
|
50
|
+
return typeof j == "function" ? j : null;
|
|
51
51
|
}
|
|
52
52
|
var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
53
|
function T(f) {
|
|
54
54
|
{
|
|
55
|
-
for (var
|
|
55
|
+
for (var j = arguments.length, z = new Array(j > 1 ? j - 1 : 0), Z = 1; Z < j; Z++)
|
|
56
56
|
z[Z - 1] = arguments[Z];
|
|
57
57
|
C("error", f, z);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
function C(f,
|
|
60
|
+
function C(f, j, z) {
|
|
61
61
|
{
|
|
62
62
|
var Z = x.ReactDebugCurrentFrame, le = Z.getStackAddendum();
|
|
63
|
-
le !== "" && (
|
|
63
|
+
le !== "" && (j += "%s", z = z.concat([le]));
|
|
64
64
|
var xe = z.map(function(ae) {
|
|
65
65
|
return String(ae);
|
|
66
66
|
});
|
|
67
|
-
xe.unshift("Warning: " +
|
|
67
|
+
xe.unshift("Warning: " + j), Function.prototype.apply.call(console[f], console, xe);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
var b = !1, d = !1,
|
|
70
|
+
var b = !1, d = !1, A = !1, P = !1, _ = !1, B;
|
|
71
71
|
B = Symbol.for("react.module.reference");
|
|
72
72
|
function H(f) {
|
|
73
|
-
return !!(typeof f == "string" || typeof f == "function" || f === r || f === a || _ || f === i || f === u || f === l || P || f === w || b || d ||
|
|
73
|
+
return !!(typeof f == "string" || typeof f == "function" || f === r || f === a || _ || f === i || f === u || f === l || P || f === w || b || d || A || typeof f == "object" && f !== null && (f.$$typeof === y || f.$$typeof === p || f.$$typeof === o || f.$$typeof === s || f.$$typeof === c || // This needs to include all possible module reference object
|
|
74
74
|
// types supported by any Flight configuration anywhere since
|
|
75
75
|
// we don't know which Flight build this will end up being used
|
|
76
76
|
// with.
|
|
77
77
|
f.$$typeof === B || f.getModuleId !== void 0));
|
|
78
78
|
}
|
|
79
|
-
function q(f,
|
|
79
|
+
function q(f, j, z) {
|
|
80
80
|
var Z = f.displayName;
|
|
81
81
|
if (Z)
|
|
82
82
|
return Z;
|
|
83
|
-
var le =
|
|
83
|
+
var le = j.displayName || j.name || "";
|
|
84
84
|
return le !== "" ? z + "(" + le + ")" : z;
|
|
85
85
|
}
|
|
86
86
|
function V(f) {
|
|
@@ -110,8 +110,8 @@ function Pc() {
|
|
|
110
110
|
if (typeof f == "object")
|
|
111
111
|
switch (f.$$typeof) {
|
|
112
112
|
case s:
|
|
113
|
-
var
|
|
114
|
-
return V(
|
|
113
|
+
var j = f;
|
|
114
|
+
return V(j) + ".Consumer";
|
|
115
115
|
case o:
|
|
116
116
|
var z = f;
|
|
117
117
|
return V(z._context) + ".Provider";
|
|
@@ -193,8 +193,8 @@ function Pc() {
|
|
|
193
193
|
te < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
var
|
|
197
|
-
function ee(f,
|
|
196
|
+
var Y = x.ReactCurrentDispatcher, J;
|
|
197
|
+
function ee(f, j, z) {
|
|
198
198
|
{
|
|
199
199
|
if (J === void 0)
|
|
200
200
|
try {
|
|
@@ -212,7 +212,7 @@ function Pc() {
|
|
|
212
212
|
var F = typeof WeakMap == "function" ? WeakMap : Map;
|
|
213
213
|
X = new F();
|
|
214
214
|
}
|
|
215
|
-
function S(f,
|
|
215
|
+
function S(f, j) {
|
|
216
216
|
if (!f || re)
|
|
217
217
|
return "";
|
|
218
218
|
{
|
|
@@ -225,9 +225,9 @@ function Pc() {
|
|
|
225
225
|
var le = Error.prepareStackTrace;
|
|
226
226
|
Error.prepareStackTrace = void 0;
|
|
227
227
|
var xe;
|
|
228
|
-
xe =
|
|
228
|
+
xe = Y.current, Y.current = null, $();
|
|
229
229
|
try {
|
|
230
|
-
if (
|
|
230
|
+
if (j) {
|
|
231
231
|
var ae = function() {
|
|
232
232
|
throw Error();
|
|
233
233
|
};
|
|
@@ -278,23 +278,23 @@ function Pc() {
|
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
} finally {
|
|
281
|
-
re = !1,
|
|
281
|
+
re = !1, Y.current = xe, Q(), Error.prepareStackTrace = le;
|
|
282
282
|
}
|
|
283
283
|
var Pt = f ? f.displayName || f.name : "", Li = Pt ? ee(Pt) : "";
|
|
284
284
|
return typeof f == "function" && X.set(f, Li), Li;
|
|
285
285
|
}
|
|
286
|
-
function Ee(f,
|
|
286
|
+
function Ee(f, j, z) {
|
|
287
287
|
return S(f, !1);
|
|
288
288
|
}
|
|
289
|
-
function
|
|
290
|
-
var
|
|
291
|
-
return !!(
|
|
289
|
+
function Ae(f) {
|
|
290
|
+
var j = f.prototype;
|
|
291
|
+
return !!(j && j.isReactComponent);
|
|
292
292
|
}
|
|
293
|
-
function Ve(f,
|
|
293
|
+
function Ve(f, j, z) {
|
|
294
294
|
if (f == null)
|
|
295
295
|
return "";
|
|
296
296
|
if (typeof f == "function")
|
|
297
|
-
return S(f,
|
|
297
|
+
return S(f, Ae(f));
|
|
298
298
|
if (typeof f == "string")
|
|
299
299
|
return ee(f);
|
|
300
300
|
switch (f) {
|
|
@@ -308,11 +308,11 @@ function Pc() {
|
|
|
308
308
|
case c:
|
|
309
309
|
return Ee(f.render);
|
|
310
310
|
case p:
|
|
311
|
-
return Ve(f.type,
|
|
311
|
+
return Ve(f.type, j, z);
|
|
312
312
|
case y: {
|
|
313
313
|
var Z = f, le = Z._payload, xe = Z._init;
|
|
314
314
|
try {
|
|
315
|
-
return Ve(xe(le),
|
|
315
|
+
return Ve(xe(le), j, z);
|
|
316
316
|
} catch {
|
|
317
317
|
}
|
|
318
318
|
}
|
|
@@ -322,12 +322,12 @@ function Pc() {
|
|
|
322
322
|
var vt = Object.prototype.hasOwnProperty, rt = {}, Rt = x.ReactDebugCurrentFrame;
|
|
323
323
|
function it(f) {
|
|
324
324
|
if (f) {
|
|
325
|
-
var
|
|
325
|
+
var j = f._owner, z = Ve(f.type, f._source, j ? j.type : null);
|
|
326
326
|
Rt.setExtraStackFrame(z);
|
|
327
327
|
} else
|
|
328
328
|
Rt.setExtraStackFrame(null);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function jt(f, j, z, Z, le) {
|
|
331
331
|
{
|
|
332
332
|
var xe = Function.call.bind(vt);
|
|
333
333
|
for (var ae in f)
|
|
@@ -338,7 +338,7 @@ function Pc() {
|
|
|
338
338
|
var Fe = Error((Z || "React class") + ": " + z + " type `" + ae + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof f[ae] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
339
339
|
throw Fe.name = "Invariant Violation", Fe;
|
|
340
340
|
}
|
|
341
|
-
ie = f[ae](
|
|
341
|
+
ie = f[ae](j, ae, Z, z, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
342
|
} catch (_e) {
|
|
343
343
|
ie = _e;
|
|
344
344
|
}
|
|
@@ -352,7 +352,7 @@ function Pc() {
|
|
|
352
352
|
}
|
|
353
353
|
function Er(f) {
|
|
354
354
|
{
|
|
355
|
-
var
|
|
355
|
+
var j = typeof Symbol == "function" && Symbol.toStringTag, z = j && f[Symbol.toStringTag] || f.constructor.name || "Object";
|
|
356
356
|
return z;
|
|
357
357
|
}
|
|
358
358
|
}
|
|
@@ -378,27 +378,27 @@ function Pc() {
|
|
|
378
378
|
}, pt, at;
|
|
379
379
|
function Wt(f) {
|
|
380
380
|
if (vt.call(f, "ref")) {
|
|
381
|
-
var
|
|
382
|
-
if (
|
|
381
|
+
var j = Object.getOwnPropertyDescriptor(f, "ref").get;
|
|
382
|
+
if (j && j.isReactWarning)
|
|
383
383
|
return !1;
|
|
384
384
|
}
|
|
385
385
|
return f.ref !== void 0;
|
|
386
386
|
}
|
|
387
387
|
function Yt(f) {
|
|
388
388
|
if (vt.call(f, "key")) {
|
|
389
|
-
var
|
|
390
|
-
if (
|
|
389
|
+
var j = Object.getOwnPropertyDescriptor(f, "key").get;
|
|
390
|
+
if (j && j.isReactWarning)
|
|
391
391
|
return !1;
|
|
392
392
|
}
|
|
393
393
|
return f.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function Kt(f,
|
|
395
|
+
function Kt(f, j) {
|
|
396
396
|
typeof f.ref == "string" && Te.current;
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function At(f, j) {
|
|
399
399
|
{
|
|
400
400
|
var z = function() {
|
|
401
|
-
pt || (pt = !0, T("%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)",
|
|
401
|
+
pt || (pt = !0, T("%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)", j));
|
|
402
402
|
};
|
|
403
403
|
z.isReactWarning = !0, Object.defineProperty(f, "key", {
|
|
404
404
|
get: z,
|
|
@@ -406,10 +406,10 @@ function Pc() {
|
|
|
406
406
|
});
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
function Gt(f,
|
|
409
|
+
function Gt(f, j) {
|
|
410
410
|
{
|
|
411
411
|
var z = function() {
|
|
412
|
-
at || (at = !0, T("%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)",
|
|
412
|
+
at || (at = !0, T("%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)", j));
|
|
413
413
|
};
|
|
414
414
|
z.isReactWarning = !0, Object.defineProperty(f, "ref", {
|
|
415
415
|
get: z,
|
|
@@ -417,13 +417,13 @@ function Pc() {
|
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
var Jt = function(f,
|
|
420
|
+
var Jt = function(f, j, z, Z, le, xe, ae) {
|
|
421
421
|
var ie = {
|
|
422
422
|
// This tag allows us to uniquely identify this as a React Element
|
|
423
423
|
$$typeof: t,
|
|
424
424
|
// Built-in properties that belong on the element
|
|
425
425
|
type: f,
|
|
426
|
-
key:
|
|
426
|
+
key: j,
|
|
427
427
|
ref: z,
|
|
428
428
|
props: ae,
|
|
429
429
|
// Record the component responsible for creating this element.
|
|
@@ -446,12 +446,12 @@ function Pc() {
|
|
|
446
446
|
value: le
|
|
447
447
|
}), Object.freeze && (Object.freeze(ie.props), Object.freeze(ie)), ie;
|
|
448
448
|
};
|
|
449
|
-
function Qt(f,
|
|
449
|
+
function Qt(f, j, z, Z, le) {
|
|
450
450
|
{
|
|
451
451
|
var xe, ae = {}, ie = null, Fe = null;
|
|
452
|
-
z !== void 0 && (we(z), ie = "" + z), Yt(
|
|
453
|
-
for (xe in
|
|
454
|
-
vt.call(
|
|
452
|
+
z !== void 0 && (we(z), ie = "" + z), Yt(j) && (we(j.key), ie = "" + j.key), Wt(j) && (Fe = j.ref, Kt(j, le));
|
|
453
|
+
for (xe in j)
|
|
454
|
+
vt.call(j, xe) && !De.hasOwnProperty(xe) && (ae[xe] = j[xe]);
|
|
455
455
|
if (f && f.defaultProps) {
|
|
456
456
|
var _e = f.defaultProps;
|
|
457
457
|
for (xe in _e)
|
|
@@ -459,7 +459,7 @@ function Pc() {
|
|
|
459
459
|
}
|
|
460
460
|
if (ie || Fe) {
|
|
461
461
|
var Oe = typeof f == "function" ? f.displayName || f.name || "Unknown" : f;
|
|
462
|
-
ie &&
|
|
462
|
+
ie && At(ae, Oe), Fe && Gt(ae, Oe);
|
|
463
463
|
}
|
|
464
464
|
return Jt(f, ie, Fe, le, Z, Te.current, ae);
|
|
465
465
|
}
|
|
@@ -467,7 +467,7 @@ function Pc() {
|
|
|
467
467
|
var ht = x.ReactCurrentOwner, Tn = x.ReactDebugCurrentFrame;
|
|
468
468
|
function kt(f) {
|
|
469
469
|
if (f) {
|
|
470
|
-
var
|
|
470
|
+
var j = f._owner, z = Ve(f.type, f._source, j ? j.type : null);
|
|
471
471
|
Tn.setExtraStackFrame(z);
|
|
472
472
|
} else
|
|
473
473
|
Tn.setExtraStackFrame(null);
|
|
@@ -495,22 +495,22 @@ Check the render method of \`` + f + "`.";
|
|
|
495
495
|
var Ni = {};
|
|
496
496
|
function xc(f) {
|
|
497
497
|
{
|
|
498
|
-
var
|
|
499
|
-
if (!
|
|
498
|
+
var j = Pi();
|
|
499
|
+
if (!j) {
|
|
500
500
|
var z = typeof f == "string" ? f : f.displayName || f.name;
|
|
501
|
-
z && (
|
|
501
|
+
z && (j = `
|
|
502
502
|
|
|
503
503
|
Check the top-level render call using <` + z + ">.");
|
|
504
504
|
}
|
|
505
|
-
return
|
|
505
|
+
return j;
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
function Di(f,
|
|
508
|
+
function Di(f, j) {
|
|
509
509
|
{
|
|
510
510
|
if (!f._store || f._store.validated || f.key != null)
|
|
511
511
|
return;
|
|
512
512
|
f._store.validated = !0;
|
|
513
|
-
var z = xc(
|
|
513
|
+
var z = xc(j);
|
|
514
514
|
if (Ni[z])
|
|
515
515
|
return;
|
|
516
516
|
Ni[z] = !0;
|
|
@@ -518,14 +518,14 @@ Check the top-level render call using <` + z + ">.");
|
|
|
518
518
|
f && f._owner && f._owner !== ht.current && (Z = " It was passed a child from " + R(f._owner.type) + "."), kt(f), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', z, Z), kt(null);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function Fi(f,
|
|
521
|
+
function Fi(f, j) {
|
|
522
522
|
{
|
|
523
523
|
if (typeof f != "object")
|
|
524
524
|
return;
|
|
525
525
|
if (Vt(f))
|
|
526
526
|
for (var z = 0; z < f.length; z++) {
|
|
527
527
|
var Z = f[z];
|
|
528
|
-
Sr(Z) && Di(Z,
|
|
528
|
+
Sr(Z) && Di(Z, j);
|
|
529
529
|
}
|
|
530
530
|
else if (Sr(f))
|
|
531
531
|
f._store && (f._store.validated = !0);
|
|
@@ -533,39 +533,39 @@ Check the top-level render call using <` + z + ">.");
|
|
|
533
533
|
var le = h(f);
|
|
534
534
|
if (typeof le == "function" && le !== f.entries)
|
|
535
535
|
for (var xe = le.call(f), ae; !(ae = xe.next()).done; )
|
|
536
|
-
Sr(ae.value) && Di(ae.value,
|
|
536
|
+
Sr(ae.value) && Di(ae.value, j);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
function yc(f) {
|
|
541
541
|
{
|
|
542
|
-
var
|
|
543
|
-
if (
|
|
542
|
+
var j = f.type;
|
|
543
|
+
if (j == null || typeof j == "string")
|
|
544
544
|
return;
|
|
545
545
|
var z;
|
|
546
|
-
if (typeof
|
|
547
|
-
z =
|
|
548
|
-
else if (typeof
|
|
546
|
+
if (typeof j == "function")
|
|
547
|
+
z = j.propTypes;
|
|
548
|
+
else if (typeof j == "object" && (j.$$typeof === c || // Note: Memo only checks outer props here.
|
|
549
549
|
// Inner props are checked in the reconciler.
|
|
550
|
-
|
|
551
|
-
z =
|
|
550
|
+
j.$$typeof === p))
|
|
551
|
+
z = j.propTypes;
|
|
552
552
|
else
|
|
553
553
|
return;
|
|
554
554
|
if (z) {
|
|
555
|
-
var Z = R(
|
|
556
|
-
|
|
557
|
-
} else if (
|
|
555
|
+
var Z = R(j);
|
|
556
|
+
jt(z, f.props, "prop", Z, f);
|
|
557
|
+
} else if (j.PropTypes !== void 0 && !wr) {
|
|
558
558
|
wr = !0;
|
|
559
|
-
var le = R(
|
|
559
|
+
var le = R(j);
|
|
560
560
|
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", le || "Unknown");
|
|
561
561
|
}
|
|
562
|
-
typeof
|
|
562
|
+
typeof j.getDefaultProps == "function" && !j.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
function bc(f) {
|
|
566
566
|
{
|
|
567
|
-
for (var
|
|
568
|
-
var Z =
|
|
567
|
+
for (var j = Object.keys(f.props), z = 0; z < j.length; z++) {
|
|
568
|
+
var Z = j[z];
|
|
569
569
|
if (Z !== "children" && Z !== "key") {
|
|
570
570
|
kt(f), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Z), kt(null);
|
|
571
571
|
break;
|
|
@@ -574,7 +574,7 @@ Check the top-level render call using <` + z + ">.");
|
|
|
574
574
|
f.ref !== null && (kt(f), T("Invalid attribute `ref` supplied to `React.Fragment`."), kt(null));
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
function Ii(f,
|
|
577
|
+
function Ii(f, j, z, Z, le, xe) {
|
|
578
578
|
{
|
|
579
579
|
var ae = H(f);
|
|
580
580
|
if (!ae) {
|
|
@@ -585,11 +585,11 @@ Check the top-level render call using <` + z + ">.");
|
|
|
585
585
|
var _e;
|
|
586
586
|
f === null ? _e = "null" : Vt(f) ? _e = "array" : f !== void 0 && f.$$typeof === t ? (_e = "<" + (R(f.type) || "Unknown") + " />", ie = " Did you accidentally export a JSX literal instead of a component?") : _e = typeof f, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _e, ie);
|
|
587
587
|
}
|
|
588
|
-
var Oe = Qt(f,
|
|
588
|
+
var Oe = Qt(f, j, z, le, xe);
|
|
589
589
|
if (Oe == null)
|
|
590
590
|
return Oe;
|
|
591
591
|
if (ae) {
|
|
592
|
-
var Ke =
|
|
592
|
+
var Ke = j.children;
|
|
593
593
|
if (Ke !== void 0)
|
|
594
594
|
if (Z)
|
|
595
595
|
if (Vt(Ke)) {
|
|
@@ -604,11 +604,11 @@ Check the top-level render call using <` + z + ">.");
|
|
|
604
604
|
return f === r ? bc(Oe) : yc(Oe), Oe;
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
|
-
function Ec(f,
|
|
608
|
-
return Ii(f,
|
|
607
|
+
function Ec(f, j, z) {
|
|
608
|
+
return Ii(f, j, z, !0);
|
|
609
609
|
}
|
|
610
|
-
function wc(f,
|
|
611
|
-
return Ii(f,
|
|
610
|
+
function wc(f, j, z) {
|
|
611
|
+
return Ii(f, j, z, !1);
|
|
612
612
|
}
|
|
613
613
|
var Sc = wc, Tc = Ec;
|
|
614
614
|
Zt.Fragment = r, Zt.jsx = Sc, Zt.jsxs = Tc;
|
|
@@ -634,8 +634,8 @@ function Dc() {
|
|
|
634
634
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
|
|
635
635
|
function C(d) {
|
|
636
636
|
if (typeof d == "object" && d !== null) {
|
|
637
|
-
var
|
|
638
|
-
switch (
|
|
637
|
+
var A = d.$$typeof;
|
|
638
|
+
switch (A) {
|
|
639
639
|
case t:
|
|
640
640
|
switch (d = d.type, d) {
|
|
641
641
|
case c:
|
|
@@ -654,11 +654,11 @@ function Dc() {
|
|
|
654
654
|
case o:
|
|
655
655
|
return d;
|
|
656
656
|
default:
|
|
657
|
-
return
|
|
657
|
+
return A;
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
case n:
|
|
661
|
-
return
|
|
661
|
+
return A;
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
664
|
}
|
|
@@ -715,17 +715,17 @@ function Fc() {
|
|
|
715
715
|
var Ee = S.$$typeof;
|
|
716
716
|
switch (Ee) {
|
|
717
717
|
case t:
|
|
718
|
-
var
|
|
719
|
-
switch (
|
|
718
|
+
var Ae = S.type;
|
|
719
|
+
switch (Ae) {
|
|
720
720
|
case c:
|
|
721
721
|
case u:
|
|
722
722
|
case r:
|
|
723
723
|
case a:
|
|
724
724
|
case i:
|
|
725
725
|
case p:
|
|
726
|
-
return
|
|
726
|
+
return Ae;
|
|
727
727
|
default:
|
|
728
|
-
var Ve =
|
|
728
|
+
var Ve = Ae && Ae.$$typeof;
|
|
729
729
|
switch (Ve) {
|
|
730
730
|
case s:
|
|
731
731
|
case l:
|
|
@@ -742,7 +742,7 @@ function Fc() {
|
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
|
-
var d = c,
|
|
745
|
+
var d = c, A = u, P = s, _ = o, B = t, H = l, q = r, V = v, R = w, L = n, te = a, G = i, ce = p, M = !1;
|
|
746
746
|
function se(S) {
|
|
747
747
|
return M || (M = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), O(S) || b(S) === c;
|
|
748
748
|
}
|
|
@@ -764,7 +764,7 @@ function Fc() {
|
|
|
764
764
|
function Q(S) {
|
|
765
765
|
return b(S) === r;
|
|
766
766
|
}
|
|
767
|
-
function
|
|
767
|
+
function Y(S) {
|
|
768
768
|
return b(S) === v;
|
|
769
769
|
}
|
|
770
770
|
function J(S) {
|
|
@@ -782,7 +782,7 @@ function Fc() {
|
|
|
782
782
|
function F(S) {
|
|
783
783
|
return b(S) === p;
|
|
784
784
|
}
|
|
785
|
-
pe.AsyncMode = d, pe.ConcurrentMode =
|
|
785
|
+
pe.AsyncMode = d, pe.ConcurrentMode = A, pe.ContextConsumer = P, pe.ContextProvider = _, pe.Element = B, pe.ForwardRef = H, pe.Fragment = q, pe.Lazy = V, pe.Memo = R, pe.Portal = L, pe.Profiler = te, pe.StrictMode = G, pe.Suspense = ce, pe.isAsyncMode = se, pe.isConcurrentMode = O, pe.isContextConsumer = k, pe.isContextProvider = D, pe.isElement = U, pe.isForwardRef = $, pe.isFragment = Q, pe.isLazy = Y, pe.isMemo = J, pe.isPortal = ee, pe.isProfiler = re, pe.isStrictMode = X, pe.isSuspense = F, pe.isValidElementType = C, pe.typeOf = b;
|
|
786
786
|
})()), pe;
|
|
787
787
|
}
|
|
788
788
|
var Hi;
|
|
@@ -937,7 +937,7 @@ function zc() {
|
|
|
937
937
|
arrayOf: C,
|
|
938
938
|
element: b(),
|
|
939
939
|
elementType: d(),
|
|
940
|
-
instanceOf:
|
|
940
|
+
instanceOf: A,
|
|
941
941
|
node: H(),
|
|
942
942
|
objectOf: _,
|
|
943
943
|
oneOf: P,
|
|
@@ -955,7 +955,7 @@ function zc() {
|
|
|
955
955
|
function h(O) {
|
|
956
956
|
if (process.env.NODE_ENV !== "production")
|
|
957
957
|
var k = {}, D = 0;
|
|
958
|
-
function U(Q,
|
|
958
|
+
function U(Q, Y, J, ee, re, X, F) {
|
|
959
959
|
if (ee = ee || y, X = X || J, F !== n) {
|
|
960
960
|
if (c) {
|
|
961
961
|
var S = new Error(
|
|
@@ -970,18 +970,18 @@ function zc() {
|
|
|
970
970
|
), k[Ee] = !0, D++);
|
|
971
971
|
}
|
|
972
972
|
}
|
|
973
|
-
return
|
|
973
|
+
return Y[J] == null ? Q ? Y[J] === null ? new g("The " + re + " `" + X + "` is marked as required " + ("in `" + ee + "`, but its value is `null`.")) : new g("The " + re + " `" + X + "` is marked as required in " + ("`" + ee + "`, but its value is `undefined`.")) : null : O(Y, J, ee, re, X);
|
|
974
974
|
}
|
|
975
975
|
var $ = U.bind(null, !1);
|
|
976
976
|
return $.isRequired = U.bind(null, !0), $;
|
|
977
977
|
}
|
|
978
978
|
function x(O) {
|
|
979
|
-
function k(D, U, $, Q,
|
|
979
|
+
function k(D, U, $, Q, Y, J) {
|
|
980
980
|
var ee = D[U], re = G(ee);
|
|
981
981
|
if (re !== O) {
|
|
982
982
|
var X = ce(ee);
|
|
983
983
|
return new g(
|
|
984
|
-
"Invalid " + Q + " `" +
|
|
984
|
+
"Invalid " + Q + " `" + Y + "` of type " + ("`" + X + "` supplied to `" + $ + "`, expected ") + ("`" + O + "`."),
|
|
985
985
|
{ expectedType: O }
|
|
986
986
|
);
|
|
987
987
|
}
|
|
@@ -993,16 +993,16 @@ function zc() {
|
|
|
993
993
|
return h(o);
|
|
994
994
|
}
|
|
995
995
|
function C(O) {
|
|
996
|
-
function k(D, U, $, Q,
|
|
996
|
+
function k(D, U, $, Q, Y) {
|
|
997
997
|
if (typeof O != "function")
|
|
998
|
-
return new g("Property `" +
|
|
998
|
+
return new g("Property `" + Y + "` of component `" + $ + "` has invalid PropType notation inside arrayOf.");
|
|
999
999
|
var J = D[U];
|
|
1000
1000
|
if (!Array.isArray(J)) {
|
|
1001
1001
|
var ee = G(J);
|
|
1002
|
-
return new g("Invalid " + Q + " `" +
|
|
1002
|
+
return new g("Invalid " + Q + " `" + Y + "` of type " + ("`" + ee + "` supplied to `" + $ + "`, expected an array."));
|
|
1003
1003
|
}
|
|
1004
1004
|
for (var re = 0; re < J.length; re++) {
|
|
1005
|
-
var X = O(J, re, $, Q,
|
|
1005
|
+
var X = O(J, re, $, Q, Y + "[" + re + "]", n);
|
|
1006
1006
|
if (X instanceof Error)
|
|
1007
1007
|
return X;
|
|
1008
1008
|
}
|
|
@@ -1012,9 +1012,9 @@ function zc() {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
function b() {
|
|
1014
1014
|
function O(k, D, U, $, Q) {
|
|
1015
|
-
var
|
|
1016
|
-
if (!s(
|
|
1017
|
-
var J = G(
|
|
1015
|
+
var Y = k[D];
|
|
1016
|
+
if (!s(Y)) {
|
|
1017
|
+
var J = G(Y);
|
|
1018
1018
|
return new g("Invalid " + $ + " `" + Q + "` of type " + ("`" + J + "` supplied to `" + U + "`, expected a single ReactElement."));
|
|
1019
1019
|
}
|
|
1020
1020
|
return null;
|
|
@@ -1023,20 +1023,20 @@ function zc() {
|
|
|
1023
1023
|
}
|
|
1024
1024
|
function d() {
|
|
1025
1025
|
function O(k, D, U, $, Q) {
|
|
1026
|
-
var
|
|
1027
|
-
if (!e.isValidElementType(
|
|
1028
|
-
var J = G(
|
|
1026
|
+
var Y = k[D];
|
|
1027
|
+
if (!e.isValidElementType(Y)) {
|
|
1028
|
+
var J = G(Y);
|
|
1029
1029
|
return new g("Invalid " + $ + " `" + Q + "` of type " + ("`" + J + "` supplied to `" + U + "`, expected a single ReactElement type."));
|
|
1030
1030
|
}
|
|
1031
1031
|
return null;
|
|
1032
1032
|
}
|
|
1033
1033
|
return h(O);
|
|
1034
1034
|
}
|
|
1035
|
-
function
|
|
1036
|
-
function k(D, U, $, Q,
|
|
1035
|
+
function A(O) {
|
|
1036
|
+
function k(D, U, $, Q, Y) {
|
|
1037
1037
|
if (!(D[U] instanceof O)) {
|
|
1038
1038
|
var J = O.name || y, ee = se(D[U]);
|
|
1039
|
-
return new g("Invalid " + Q + " `" +
|
|
1039
|
+
return new g("Invalid " + Q + " `" + Y + "` of type " + ("`" + ee + "` supplied to `" + $ + "`, expected ") + ("instance of `" + J + "`."));
|
|
1040
1040
|
}
|
|
1041
1041
|
return null;
|
|
1042
1042
|
}
|
|
@@ -1047,7 +1047,7 @@ function zc() {
|
|
|
1047
1047
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
1048
1048
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1049
1049
|
) : a("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
1050
|
-
function k(D, U, $, Q,
|
|
1050
|
+
function k(D, U, $, Q, Y) {
|
|
1051
1051
|
for (var J = D[U], ee = 0; ee < O.length; ee++)
|
|
1052
1052
|
if (v(J, O[ee]))
|
|
1053
1053
|
return null;
|
|
@@ -1055,20 +1055,20 @@ function zc() {
|
|
|
1055
1055
|
var Ee = ce(S);
|
|
1056
1056
|
return Ee === "symbol" ? String(S) : S;
|
|
1057
1057
|
});
|
|
1058
|
-
return new g("Invalid " + Q + " `" +
|
|
1058
|
+
return new g("Invalid " + Q + " `" + Y + "` of value `" + String(J) + "` " + ("supplied to `" + $ + "`, expected one of " + re + "."));
|
|
1059
1059
|
}
|
|
1060
1060
|
return h(k);
|
|
1061
1061
|
}
|
|
1062
1062
|
function _(O) {
|
|
1063
|
-
function k(D, U, $, Q,
|
|
1063
|
+
function k(D, U, $, Q, Y) {
|
|
1064
1064
|
if (typeof O != "function")
|
|
1065
|
-
return new g("Property `" +
|
|
1065
|
+
return new g("Property `" + Y + "` of component `" + $ + "` has invalid PropType notation inside objectOf.");
|
|
1066
1066
|
var J = D[U], ee = G(J);
|
|
1067
1067
|
if (ee !== "object")
|
|
1068
|
-
return new g("Invalid " + Q + " `" +
|
|
1068
|
+
return new g("Invalid " + Q + " `" + Y + "` of type " + ("`" + ee + "` supplied to `" + $ + "`, expected an object."));
|
|
1069
1069
|
for (var re in J)
|
|
1070
1070
|
if (r(J, re)) {
|
|
1071
|
-
var X = O(J, re, $, Q,
|
|
1071
|
+
var X = O(J, re, $, Q, Y + "." + re, n);
|
|
1072
1072
|
if (X instanceof Error)
|
|
1073
1073
|
return X;
|
|
1074
1074
|
}
|
|
@@ -1086,15 +1086,15 @@ function zc() {
|
|
|
1086
1086
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + M(D) + " at index " + k + "."
|
|
1087
1087
|
), o;
|
|
1088
1088
|
}
|
|
1089
|
-
function U($, Q,
|
|
1089
|
+
function U($, Q, Y, J, ee) {
|
|
1090
1090
|
for (var re = [], X = 0; X < O.length; X++) {
|
|
1091
|
-
var F = O[X], S = F($, Q,
|
|
1091
|
+
var F = O[X], S = F($, Q, Y, J, ee, n);
|
|
1092
1092
|
if (S == null)
|
|
1093
1093
|
return null;
|
|
1094
1094
|
S.data && r(S.data, "expectedType") && re.push(S.data.expectedType);
|
|
1095
1095
|
}
|
|
1096
1096
|
var Ee = re.length > 0 ? ", expected one of type [" + re.join(", ") + "]" : "";
|
|
1097
|
-
return new g("Invalid " + J + " `" + ee + "` supplied to " + ("`" +
|
|
1097
|
+
return new g("Invalid " + J + " `" + ee + "` supplied to " + ("`" + Y + "`" + Ee + "."));
|
|
1098
1098
|
}
|
|
1099
1099
|
return h(U);
|
|
1100
1100
|
}
|
|
@@ -1110,15 +1110,15 @@ function zc() {
|
|
|
1110
1110
|
);
|
|
1111
1111
|
}
|
|
1112
1112
|
function V(O) {
|
|
1113
|
-
function k(D, U, $, Q,
|
|
1113
|
+
function k(D, U, $, Q, Y) {
|
|
1114
1114
|
var J = D[U], ee = G(J);
|
|
1115
1115
|
if (ee !== "object")
|
|
1116
|
-
return new g("Invalid " + Q + " `" +
|
|
1116
|
+
return new g("Invalid " + Q + " `" + Y + "` of type `" + ee + "` " + ("supplied to `" + $ + "`, expected `object`."));
|
|
1117
1117
|
for (var re in O) {
|
|
1118
1118
|
var X = O[re];
|
|
1119
1119
|
if (typeof X != "function")
|
|
1120
|
-
return q($, Q,
|
|
1121
|
-
var F = X(J, re, $, Q,
|
|
1120
|
+
return q($, Q, Y, re, ce(X));
|
|
1121
|
+
var F = X(J, re, $, Q, Y + "." + re, n);
|
|
1122
1122
|
if (F)
|
|
1123
1123
|
return F;
|
|
1124
1124
|
}
|
|
@@ -1127,21 +1127,21 @@ function zc() {
|
|
|
1127
1127
|
return h(k);
|
|
1128
1128
|
}
|
|
1129
1129
|
function R(O) {
|
|
1130
|
-
function k(D, U, $, Q,
|
|
1130
|
+
function k(D, U, $, Q, Y) {
|
|
1131
1131
|
var J = D[U], ee = G(J);
|
|
1132
1132
|
if (ee !== "object")
|
|
1133
|
-
return new g("Invalid " + Q + " `" +
|
|
1133
|
+
return new g("Invalid " + Q + " `" + Y + "` of type `" + ee + "` " + ("supplied to `" + $ + "`, expected `object`."));
|
|
1134
1134
|
var re = t({}, D[U], O);
|
|
1135
1135
|
for (var X in re) {
|
|
1136
1136
|
var F = O[X];
|
|
1137
1137
|
if (r(O, X) && typeof F != "function")
|
|
1138
|
-
return q($, Q,
|
|
1138
|
+
return q($, Q, Y, X, ce(F));
|
|
1139
1139
|
if (!F)
|
|
1140
1140
|
return new g(
|
|
1141
|
-
"Invalid " + Q + " `" +
|
|
1141
|
+
"Invalid " + Q + " `" + Y + "` key `" + X + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(D[U], null, " ") + `
|
|
1142
1142
|
Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
|
|
1143
1143
|
);
|
|
1144
|
-
var S = F(J, X, $, Q,
|
|
1144
|
+
var S = F(J, X, $, Q, Y + "." + X, n);
|
|
1145
1145
|
if (S)
|
|
1146
1146
|
return S;
|
|
1147
1147
|
}
|
|
@@ -1221,16 +1221,16 @@ Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
|
|
|
1221
1221
|
return w.checkPropTypes = i, w.resetWarningCache = i.resetWarningCache, w.PropTypes = w, w;
|
|
1222
1222
|
}, Rr;
|
|
1223
1223
|
}
|
|
1224
|
-
var
|
|
1224
|
+
var jr, Ji;
|
|
1225
1225
|
function $c() {
|
|
1226
|
-
if (Ji) return
|
|
1226
|
+
if (Ji) return jr;
|
|
1227
1227
|
Ji = 1;
|
|
1228
1228
|
var e = /* @__PURE__ */ fi();
|
|
1229
1229
|
function t() {
|
|
1230
1230
|
}
|
|
1231
1231
|
function n() {
|
|
1232
1232
|
}
|
|
1233
|
-
return n.resetWarningCache = t,
|
|
1233
|
+
return n.resetWarningCache = t, jr = function() {
|
|
1234
1234
|
function r(o, s, c, u, l, p) {
|
|
1235
1235
|
if (p !== e) {
|
|
1236
1236
|
var y = new Error(
|
|
@@ -1267,7 +1267,7 @@ function $c() {
|
|
|
1267
1267
|
resetWarningCache: t
|
|
1268
1268
|
};
|
|
1269
1269
|
return a.PropTypes = a, a;
|
|
1270
|
-
},
|
|
1270
|
+
}, jr;
|
|
1271
1271
|
}
|
|
1272
1272
|
var Qi;
|
|
1273
1273
|
function Mc() {
|
|
@@ -1425,8 +1425,8 @@ function Yc() {
|
|
|
1425
1425
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
|
|
1426
1426
|
function C(d) {
|
|
1427
1427
|
if (typeof d == "object" && d !== null) {
|
|
1428
|
-
var
|
|
1429
|
-
switch (
|
|
1428
|
+
var A = d.$$typeof;
|
|
1429
|
+
switch (A) {
|
|
1430
1430
|
case t:
|
|
1431
1431
|
switch (d = d.type, d) {
|
|
1432
1432
|
case c:
|
|
@@ -1445,11 +1445,11 @@ function Yc() {
|
|
|
1445
1445
|
case o:
|
|
1446
1446
|
return d;
|
|
1447
1447
|
default:
|
|
1448
|
-
return
|
|
1448
|
+
return A;
|
|
1449
1449
|
}
|
|
1450
1450
|
}
|
|
1451
1451
|
case n:
|
|
1452
|
-
return
|
|
1452
|
+
return A;
|
|
1453
1453
|
}
|
|
1454
1454
|
}
|
|
1455
1455
|
}
|
|
@@ -1506,17 +1506,17 @@ function Kc() {
|
|
|
1506
1506
|
var Ee = S.$$typeof;
|
|
1507
1507
|
switch (Ee) {
|
|
1508
1508
|
case t:
|
|
1509
|
-
var
|
|
1510
|
-
switch (
|
|
1509
|
+
var Ae = S.type;
|
|
1510
|
+
switch (Ae) {
|
|
1511
1511
|
case c:
|
|
1512
1512
|
case u:
|
|
1513
1513
|
case r:
|
|
1514
1514
|
case a:
|
|
1515
1515
|
case i:
|
|
1516
1516
|
case p:
|
|
1517
|
-
return
|
|
1517
|
+
return Ae;
|
|
1518
1518
|
default:
|
|
1519
|
-
var Ve =
|
|
1519
|
+
var Ve = Ae && Ae.$$typeof;
|
|
1520
1520
|
switch (Ve) {
|
|
1521
1521
|
case s:
|
|
1522
1522
|
case l:
|
|
@@ -1533,7 +1533,7 @@ function Kc() {
|
|
|
1533
1533
|
}
|
|
1534
1534
|
}
|
|
1535
1535
|
}
|
|
1536
|
-
var d = c,
|
|
1536
|
+
var d = c, A = u, P = s, _ = o, B = t, H = l, q = r, V = v, R = w, L = n, te = a, G = i, ce = p, M = !1;
|
|
1537
1537
|
function se(S) {
|
|
1538
1538
|
return M || (M = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), O(S) || b(S) === c;
|
|
1539
1539
|
}
|
|
@@ -1555,7 +1555,7 @@ function Kc() {
|
|
|
1555
1555
|
function Q(S) {
|
|
1556
1556
|
return b(S) === r;
|
|
1557
1557
|
}
|
|
1558
|
-
function
|
|
1558
|
+
function Y(S) {
|
|
1559
1559
|
return b(S) === v;
|
|
1560
1560
|
}
|
|
1561
1561
|
function J(S) {
|
|
@@ -1573,16 +1573,16 @@ function Kc() {
|
|
|
1573
1573
|
function F(S) {
|
|
1574
1574
|
return b(S) === p;
|
|
1575
1575
|
}
|
|
1576
|
-
fe.AsyncMode = d, fe.ConcurrentMode =
|
|
1576
|
+
fe.AsyncMode = d, fe.ConcurrentMode = A, fe.ContextConsumer = P, fe.ContextProvider = _, fe.Element = B, fe.ForwardRef = H, fe.Fragment = q, fe.Lazy = V, fe.Memo = R, fe.Portal = L, fe.Profiler = te, fe.StrictMode = G, fe.Suspense = ce, fe.isAsyncMode = se, fe.isConcurrentMode = O, fe.isContextConsumer = k, fe.isContextProvider = D, fe.isElement = U, fe.isForwardRef = $, fe.isFragment = Q, fe.isLazy = Y, fe.isMemo = J, fe.isPortal = ee, fe.isProfiler = re, fe.isStrictMode = X, fe.isSuspense = F, fe.isValidElementType = C, fe.typeOf = b;
|
|
1577
1577
|
})()), fe;
|
|
1578
1578
|
}
|
|
1579
1579
|
var ta;
|
|
1580
1580
|
function Gc() {
|
|
1581
1581
|
return ta || (ta = 1, process.env.NODE_ENV === "production" ? Rn.exports = Yc() : Rn.exports = Kc()), Rn.exports;
|
|
1582
1582
|
}
|
|
1583
|
-
var
|
|
1583
|
+
var Ar, na;
|
|
1584
1584
|
function Jc() {
|
|
1585
|
-
if (na) return
|
|
1585
|
+
if (na) return Ar;
|
|
1586
1586
|
na = 1;
|
|
1587
1587
|
var e = Gc(), t = {
|
|
1588
1588
|
childContextTypes: !0,
|
|
@@ -1632,11 +1632,11 @@ function Jc() {
|
|
|
1632
1632
|
var T = c(g);
|
|
1633
1633
|
u && (T = T.concat(u(g)));
|
|
1634
1634
|
for (var C = o(v), b = o(g), d = 0; d < T.length; ++d) {
|
|
1635
|
-
var
|
|
1636
|
-
if (!n[
|
|
1637
|
-
var P = l(g,
|
|
1635
|
+
var A = T[d];
|
|
1636
|
+
if (!n[A] && !(h && h[A]) && !(b && b[A]) && !(C && C[A])) {
|
|
1637
|
+
var P = l(g, A);
|
|
1638
1638
|
try {
|
|
1639
|
-
s(v,
|
|
1639
|
+
s(v, A, P);
|
|
1640
1640
|
} catch {
|
|
1641
1641
|
}
|
|
1642
1642
|
}
|
|
@@ -1644,10 +1644,10 @@ function Jc() {
|
|
|
1644
1644
|
}
|
|
1645
1645
|
return v;
|
|
1646
1646
|
}
|
|
1647
|
-
return
|
|
1647
|
+
return Ar = w, Ar;
|
|
1648
1648
|
}
|
|
1649
1649
|
Jc();
|
|
1650
|
-
var
|
|
1650
|
+
var jn = { exports: {} }, ve = {};
|
|
1651
1651
|
/** @license React v17.0.2
|
|
1652
1652
|
* react-is.production.min.js
|
|
1653
1653
|
*
|
|
@@ -1694,8 +1694,8 @@ function Qc() {
|
|
|
1694
1694
|
}
|
|
1695
1695
|
}
|
|
1696
1696
|
}
|
|
1697
|
-
var C = a, b = e, d = s,
|
|
1698
|
-
return ve.ContextConsumer = o, ve.ContextProvider = C, ve.Element = b, ve.ForwardRef = d, ve.Fragment =
|
|
1697
|
+
var C = a, b = e, d = s, A = n, P = p, _ = l, B = t, H = i, q = r, V = c;
|
|
1698
|
+
return ve.ContextConsumer = o, ve.ContextProvider = C, ve.Element = b, ve.ForwardRef = d, ve.Fragment = A, ve.Lazy = P, ve.Memo = _, ve.Portal = B, ve.Profiler = H, ve.StrictMode = q, ve.Suspense = V, ve.isAsyncMode = function() {
|
|
1699
1699
|
return !1;
|
|
1700
1700
|
}, ve.isConcurrentMode = function() {
|
|
1701
1701
|
return !1;
|
|
@@ -1760,14 +1760,14 @@ function Xc() {
|
|
|
1760
1760
|
case u:
|
|
1761
1761
|
return Ee;
|
|
1762
1762
|
default:
|
|
1763
|
-
var
|
|
1764
|
-
switch (
|
|
1763
|
+
var Ae = Ee && Ee.$$typeof;
|
|
1764
|
+
switch (Ae) {
|
|
1765
1765
|
case o:
|
|
1766
1766
|
case s:
|
|
1767
1767
|
case p:
|
|
1768
1768
|
case l:
|
|
1769
1769
|
case a:
|
|
1770
|
-
return
|
|
1770
|
+
return Ae;
|
|
1771
1771
|
default:
|
|
1772
1772
|
return S;
|
|
1773
1773
|
}
|
|
@@ -1777,7 +1777,7 @@ function Xc() {
|
|
|
1777
1777
|
}
|
|
1778
1778
|
}
|
|
1779
1779
|
}
|
|
1780
|
-
var d = o,
|
|
1780
|
+
var d = o, A = a, P = e, _ = s, B = n, H = p, q = l, V = t, R = i, L = r, te = c, G = !1, ce = !1;
|
|
1781
1781
|
function M(F) {
|
|
1782
1782
|
return G || (G = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1783
1783
|
}
|
|
@@ -1802,7 +1802,7 @@ function Xc() {
|
|
|
1802
1802
|
function Q(F) {
|
|
1803
1803
|
return b(F) === p;
|
|
1804
1804
|
}
|
|
1805
|
-
function
|
|
1805
|
+
function Y(F) {
|
|
1806
1806
|
return b(F) === l;
|
|
1807
1807
|
}
|
|
1808
1808
|
function J(F) {
|
|
@@ -1817,12 +1817,12 @@ function Xc() {
|
|
|
1817
1817
|
function X(F) {
|
|
1818
1818
|
return b(F) === c;
|
|
1819
1819
|
}
|
|
1820
|
-
he.ContextConsumer = d, he.ContextProvider =
|
|
1820
|
+
he.ContextConsumer = d, he.ContextProvider = A, he.Element = P, he.ForwardRef = _, he.Fragment = B, he.Lazy = H, he.Memo = q, he.Portal = V, he.Profiler = R, he.StrictMode = L, he.Suspense = te, he.isAsyncMode = M, he.isConcurrentMode = se, he.isContextConsumer = O, he.isContextProvider = k, he.isElement = D, he.isForwardRef = U, he.isFragment = $, he.isLazy = Q, he.isMemo = Y, he.isPortal = J, he.isProfiler = ee, he.isStrictMode = re, he.isSuspense = X, he.isValidElementType = C, he.typeOf = b;
|
|
1821
1821
|
})()), he;
|
|
1822
1822
|
}
|
|
1823
1823
|
var aa;
|
|
1824
1824
|
function Zc() {
|
|
1825
|
-
return aa || (aa = 1, process.env.NODE_ENV === "production" ?
|
|
1825
|
+
return aa || (aa = 1, process.env.NODE_ENV === "production" ? jn.exports = Qc() : jn.exports = Xc()), jn.exports;
|
|
1826
1826
|
}
|
|
1827
1827
|
Zc();
|
|
1828
1828
|
function _o() {
|
|
@@ -1913,7 +1913,7 @@ function il(e) {
|
|
|
1913
1913
|
};
|
|
1914
1914
|
}
|
|
1915
1915
|
var Vn = /* @__PURE__ */ il();
|
|
1916
|
-
Bc(
|
|
1916
|
+
Bc(jc);
|
|
1917
1917
|
function Ro(e) {
|
|
1918
1918
|
var t, n, r = "";
|
|
1919
1919
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
@@ -1963,11 +1963,11 @@ function Br(e) {
|
|
|
1963
1963
|
function ol(e, t) {
|
|
1964
1964
|
return e === !1 || cn(e) && e > 0 ? e : t;
|
|
1965
1965
|
}
|
|
1966
|
-
var
|
|
1966
|
+
var jo = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
1967
1967
|
function kr(e) {
|
|
1968
1968
|
return sn(e) || ln(e) || qe(e) || cn(e);
|
|
1969
1969
|
}
|
|
1970
|
-
var
|
|
1970
|
+
var Ao = {
|
|
1971
1971
|
TOP_LEFT: "top-left",
|
|
1972
1972
|
TOP_RIGHT: "top-right",
|
|
1973
1973
|
TOP_CENTER: "top-center",
|
|
@@ -2005,11 +2005,11 @@ function cl(e) {
|
|
|
2005
2005
|
}, [h]);
|
|
2006
2006
|
function d() {
|
|
2007
2007
|
var B = g.current;
|
|
2008
|
-
C.current = B.className, B.className += " " + x, B.addEventListener("animationend",
|
|
2008
|
+
C.current = B.className, B.className += " " + x, B.addEventListener("animationend", A);
|
|
2009
2009
|
}
|
|
2010
|
-
function
|
|
2010
|
+
function A() {
|
|
2011
2011
|
var B = g.current;
|
|
2012
|
-
B.removeEventListener("animationend",
|
|
2012
|
+
B.removeEventListener("animationend", A), b.current === 0 && (B.className = C.current);
|
|
2013
2013
|
}
|
|
2014
2014
|
function P() {
|
|
2015
2015
|
b.current = 1;
|
|
@@ -2130,8 +2130,8 @@ function ul(e) {
|
|
|
2130
2130
|
return i.indexOf(b) !== -1;
|
|
2131
2131
|
}
|
|
2132
2132
|
function y(b) {
|
|
2133
|
-
var d = b.containerId,
|
|
2134
|
-
|
|
2133
|
+
var d = b.containerId, A = l.props.limit;
|
|
2134
|
+
A && (!d || l.containerId === d) && (s -= c.length, c = []);
|
|
2135
2135
|
}
|
|
2136
2136
|
function w(b) {
|
|
2137
2137
|
a({
|
|
@@ -2140,15 +2140,15 @@ function ul(e) {
|
|
|
2140
2140
|
});
|
|
2141
2141
|
}
|
|
2142
2142
|
function v() {
|
|
2143
|
-
var b = c.shift(), d = b.toastContent,
|
|
2144
|
-
x(d,
|
|
2143
|
+
var b = c.shift(), d = b.toastContent, A = b.toastProps, P = b.staleId;
|
|
2144
|
+
x(d, A, P);
|
|
2145
2145
|
}
|
|
2146
2146
|
function g(b) {
|
|
2147
|
-
var d = b.containerId,
|
|
2148
|
-
return !!(!o.current || l.props.enableMultiContainer && d !== l.props.containerId || u[
|
|
2147
|
+
var d = b.containerId, A = b.toastId, P = b.updateId;
|
|
2148
|
+
return !!(!o.current || l.props.enableMultiContainer && d !== l.props.containerId || u[A] && P == null);
|
|
2149
2149
|
}
|
|
2150
2150
|
function h(b, d) {
|
|
2151
|
-
var
|
|
2151
|
+
var A = d.delay, P = d.staleId, _ = al(d, ["delay", "staleId"]);
|
|
2152
2152
|
if (!(!kr(b) || g(_))) {
|
|
2153
2153
|
var B = _.toastId, H = _.updateId, q = l.props, V = function() {
|
|
2154
2154
|
return w(B);
|
|
@@ -2200,31 +2200,31 @@ function ul(e) {
|
|
|
2200
2200
|
toastContent: G,
|
|
2201
2201
|
toastProps: L,
|
|
2202
2202
|
staleId: P
|
|
2203
|
-
}) : cn(
|
|
2203
|
+
}) : cn(A) && A > 0 ? setTimeout(function() {
|
|
2204
2204
|
x(G, L, P);
|
|
2205
|
-
},
|
|
2205
|
+
}, A) : x(G, L, P);
|
|
2206
2206
|
}
|
|
2207
2207
|
}
|
|
2208
|
-
function x(b, d,
|
|
2208
|
+
function x(b, d, A) {
|
|
2209
2209
|
var P = d.toastId;
|
|
2210
|
-
|
|
2210
|
+
A && delete u[A], u[P] = {
|
|
2211
2211
|
content: b,
|
|
2212
2212
|
props: d
|
|
2213
2213
|
}, a({
|
|
2214
2214
|
type: 0,
|
|
2215
2215
|
toastId: P,
|
|
2216
|
-
staleId:
|
|
2216
|
+
staleId: A
|
|
2217
2217
|
});
|
|
2218
2218
|
}
|
|
2219
2219
|
function T(b) {
|
|
2220
2220
|
delete u[b];
|
|
2221
2221
|
var d = c.length;
|
|
2222
2222
|
if (s = Br(b) ? s - 1 : s - l.displayedToast, s < 0 && (s = 0), d > 0) {
|
|
2223
|
-
var
|
|
2224
|
-
if (d === 1 ||
|
|
2223
|
+
var A = Br(b) ? 1 : l.props.limit;
|
|
2224
|
+
if (d === 1 || A === 1)
|
|
2225
2225
|
l.displayedToast++, v();
|
|
2226
2226
|
else {
|
|
2227
|
-
var P =
|
|
2227
|
+
var P = A > d ? d : A;
|
|
2228
2228
|
l.displayedToast = P;
|
|
2229
2229
|
for (var _ = 0; _ < P; _++)
|
|
2230
2230
|
v();
|
|
@@ -2233,8 +2233,8 @@ function ul(e) {
|
|
|
2233
2233
|
n();
|
|
2234
2234
|
}
|
|
2235
2235
|
function C(b) {
|
|
2236
|
-
for (var d = {},
|
|
2237
|
-
var _ = u[
|
|
2236
|
+
for (var d = {}, A = e.newestOnTop ? Object.keys(u).reverse() : Object.keys(u), P = 0; P < A.length; P++) {
|
|
2237
|
+
var _ = u[A[P]], B = _.props.position;
|
|
2238
2238
|
d[B] || (d[B] = []), d[B].push(_);
|
|
2239
2239
|
}
|
|
2240
2240
|
return Object.keys(d).map(function(H) {
|
|
@@ -2271,7 +2271,7 @@ function pl(e) {
|
|
|
2271
2271
|
};
|
|
2272
2272
|
}, []), Re(function() {
|
|
2273
2273
|
return e.draggable && d(), function() {
|
|
2274
|
-
e.draggable &&
|
|
2274
|
+
e.draggable && A();
|
|
2275
2275
|
};
|
|
2276
2276
|
}, [e.draggable]), Re(function() {
|
|
2277
2277
|
return e.pauseOnFocusLoss && C(), function() {
|
|
@@ -2305,7 +2305,7 @@ function pl(e) {
|
|
|
2305
2305
|
function d() {
|
|
2306
2306
|
document.addEventListener("mousemove", P), document.addEventListener("mouseup", _), document.addEventListener("touchmove", P), document.addEventListener("touchend", _);
|
|
2307
2307
|
}
|
|
2308
|
-
function
|
|
2308
|
+
function A() {
|
|
2309
2309
|
document.removeEventListener("mousemove", P), document.removeEventListener("mouseup", _), document.removeEventListener("touchmove", P), document.removeEventListener("touchend", _);
|
|
2310
2310
|
}
|
|
2311
2311
|
function P(H) {
|
|
@@ -2386,7 +2386,7 @@ Po.defaultProps = {
|
|
|
2386
2386
|
hide: !1
|
|
2387
2387
|
};
|
|
2388
2388
|
var dl = function(t) {
|
|
2389
|
-
var n, r = pl(t), i = r.isRunning, a = r.preventExitTransition, o = r.toastRef, s = r.eventHandlers, c = t.closeButton, u = t.children, l = t.autoClose, p = t.onClick, y = t.type, w = t.hideProgressBar, v = t.closeToast, g = t.transition, h = t.position, x = t.className, T = t.style, C = t.bodyClassName, b = t.bodyStyle, d = t.progressClassName,
|
|
2389
|
+
var n, r = pl(t), i = r.isRunning, a = r.preventExitTransition, o = r.toastRef, s = r.eventHandlers, c = t.closeButton, u = t.children, l = t.autoClose, p = t.onClick, y = t.type, w = t.hideProgressBar, v = t.closeToast, g = t.transition, h = t.position, x = t.className, T = t.style, C = t.bodyClassName, b = t.bodyStyle, d = t.progressClassName, A = t.progressStyle, P = t.updateId, _ = t.role, B = t.progress, H = t.rtl, q = t.toastId, V = t.deleteToast, R = t.isIn, L = Et("Toastify__toast", "Toastify__toast--" + y, (n = {}, n["Toastify__toast--rtl"] = H, n)), te = qe(x) ? x({
|
|
2390
2390
|
rtl: H,
|
|
2391
2391
|
position: h,
|
|
2392
2392
|
type: y,
|
|
@@ -2432,7 +2432,7 @@ var dl = function(t) {
|
|
|
2432
2432
|
closeToast: v,
|
|
2433
2433
|
hide: w,
|
|
2434
2434
|
type: y,
|
|
2435
|
-
style:
|
|
2435
|
+
style: A,
|
|
2436
2436
|
className: d,
|
|
2437
2437
|
controlledProgress: G,
|
|
2438
2438
|
progress: B
|
|
@@ -2474,7 +2474,7 @@ var dl = function(t) {
|
|
|
2474
2474
|
}));
|
|
2475
2475
|
};
|
|
2476
2476
|
mi.defaultProps = {
|
|
2477
|
-
position:
|
|
2477
|
+
position: Ao.TOP_RIGHT,
|
|
2478
2478
|
transition: fl,
|
|
2479
2479
|
rtl: !1,
|
|
2480
2480
|
autoClose: 5e3,
|
|
@@ -2511,7 +2511,7 @@ function vi(e, t) {
|
|
|
2511
2511
|
) : (Vr.push({
|
|
2512
2512
|
content: e,
|
|
2513
2513
|
options: t
|
|
2514
|
-
}), Wr &&
|
|
2514
|
+
}), Wr && jo && (Wr = !1, nn = document.createElement("div"), document.body.appendChild(nn), Ac(Ge(mi, Object.assign({}, No)), nn))), t.toastId;
|
|
2515
2515
|
}
|
|
2516
2516
|
function Fo(e, t) {
|
|
2517
2517
|
return St({}, t, {
|
|
@@ -2583,7 +2583,7 @@ Ce.onChange = function(e) {
|
|
|
2583
2583
|
Ce.configure = function(e) {
|
|
2584
2584
|
e === void 0 && (e = {}), Wr = !0, No = e;
|
|
2585
2585
|
};
|
|
2586
|
-
Ce.POSITION =
|
|
2586
|
+
Ce.POSITION = Ao;
|
|
2587
2587
|
Ce.TYPE = ft;
|
|
2588
2588
|
Qe.on(
|
|
2589
2589
|
2,
|
|
@@ -2608,10 +2608,10 @@ Qe.on(
|
|
|
2608
2608
|
).off(
|
|
2609
2609
|
5
|
|
2610
2610
|
/* ClearWaitingQueue */
|
|
2611
|
-
),
|
|
2611
|
+
), jo && nn && document.body.removeChild(nn);
|
|
2612
2612
|
}
|
|
2613
2613
|
);
|
|
2614
|
-
const gl =
|
|
2614
|
+
const gl = W(mi)`
|
|
2615
2615
|
.Toastify__toast {
|
|
2616
2616
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
|
|
2617
2617
|
'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
|
|
@@ -2677,7 +2677,7 @@ const gl = Y(mi)`
|
|
|
2677
2677
|
.Toastify__progress-bar {
|
|
2678
2678
|
background: #3d48593d;
|
|
2679
2679
|
}
|
|
2680
|
-
`,
|
|
2680
|
+
`, An = ({
|
|
2681
2681
|
title: e,
|
|
2682
2682
|
description: t
|
|
2683
2683
|
}) => /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsxs("div", { className: "custom-toastify-content", children: [
|
|
@@ -2686,7 +2686,7 @@ const gl = Y(mi)`
|
|
|
2686
2686
|
] }) }), Wn = {
|
|
2687
2687
|
default: ({ title: e, description: t }) => Ce(
|
|
2688
2688
|
/* @__PURE__ */ m.jsx(
|
|
2689
|
-
|
|
2689
|
+
An,
|
|
2690
2690
|
{
|
|
2691
2691
|
title: e,
|
|
2692
2692
|
description: t
|
|
@@ -2695,7 +2695,7 @@ const gl = Y(mi)`
|
|
|
2695
2695
|
),
|
|
2696
2696
|
success: ({ title: e, description: t }) => Ce.success(
|
|
2697
2697
|
/* @__PURE__ */ m.jsx(
|
|
2698
|
-
|
|
2698
|
+
An,
|
|
2699
2699
|
{
|
|
2700
2700
|
title: e,
|
|
2701
2701
|
description: t
|
|
@@ -2704,7 +2704,7 @@ const gl = Y(mi)`
|
|
|
2704
2704
|
),
|
|
2705
2705
|
error: ({ title: e, description: t }) => Ce.error(
|
|
2706
2706
|
/* @__PURE__ */ m.jsx(
|
|
2707
|
-
|
|
2707
|
+
An,
|
|
2708
2708
|
{
|
|
2709
2709
|
title: e,
|
|
2710
2710
|
description: t
|
|
@@ -2713,7 +2713,7 @@ const gl = Y(mi)`
|
|
|
2713
2713
|
),
|
|
2714
2714
|
warn: ({ title: e, description: t }) => Ce.warn(
|
|
2715
2715
|
/* @__PURE__ */ m.jsx(
|
|
2716
|
-
|
|
2716
|
+
An,
|
|
2717
2717
|
{
|
|
2718
2718
|
title: e,
|
|
2719
2719
|
description: t
|
|
@@ -2751,11 +2751,11 @@ const El = sr("string"), Be = sr("function"), $o = sr("number"), hn = (e) => e !
|
|
|
2751
2751
|
} catch {
|
|
2752
2752
|
return !1;
|
|
2753
2753
|
}
|
|
2754
|
-
}, Tl = Xe("Date"), _l = Xe("File"), Cl = Xe("Blob"), Ol = Xe("FileList"), Rl = (e) => hn(e) && Be(e.pipe),
|
|
2754
|
+
}, Tl = Xe("Date"), _l = Xe("File"), Cl = Xe("Blob"), Ol = Xe("FileList"), Rl = (e) => hn(e) && Be(e.pipe), jl = (e) => {
|
|
2755
2755
|
let t;
|
|
2756
2756
|
return e && (typeof FormData == "function" && e instanceof FormData || Be(e.append) && ((t = or(e)) === "formdata" || // detect form-data instance
|
|
2757
2757
|
t === "object" && Be(e.toString) && e.toString() === "[object FormData]"));
|
|
2758
|
-
},
|
|
2758
|
+
}, Al = Xe("URLSearchParams"), [kl, Pl, Nl, Dl] = ["ReadableStream", "Request", "Response", "Headers"].map(Xe), Fl = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
2759
2759
|
function gn(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
2760
2760
|
if (e === null || typeof e > "u")
|
|
2761
2761
|
return;
|
|
@@ -2903,7 +2903,7 @@ const Zl = (e) => {
|
|
|
2903
2903
|
isArray: qt,
|
|
2904
2904
|
isArrayBuffer: zo,
|
|
2905
2905
|
isBuffer: vn,
|
|
2906
|
-
isFormData:
|
|
2906
|
+
isFormData: jl,
|
|
2907
2907
|
isArrayBufferView: bl,
|
|
2908
2908
|
isString: El,
|
|
2909
2909
|
isNumber: $o,
|
|
@@ -2922,7 +2922,7 @@ const Zl = (e) => {
|
|
|
2922
2922
|
isRegExp: Yl,
|
|
2923
2923
|
isFunction: Be,
|
|
2924
2924
|
isStream: Rl,
|
|
2925
|
-
isURLSearchParams:
|
|
2925
|
+
isURLSearchParams: Al,
|
|
2926
2926
|
isTypedArray: ql,
|
|
2927
2927
|
isFileList: Ol,
|
|
2928
2928
|
forEach: gn,
|
|
@@ -3616,10 +3616,10 @@ const Yn = (e, t, n = 3) => {
|
|
|
3616
3616
|
total: e,
|
|
3617
3617
|
loaded: r
|
|
3618
3618
|
}), t[1]];
|
|
3619
|
-
}, ma = (e) => (...t) => E.asap(() => e(...t)),
|
|
3619
|
+
}, ma = (e) => (...t) => E.asap(() => e(...t)), ju = Ne.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, Ne.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
|
|
3620
3620
|
new URL(Ne.origin),
|
|
3621
3621
|
Ne.navigator && /(msie|trident)/i.test(Ne.navigator.userAgent)
|
|
3622
|
-
) : () => !0,
|
|
3622
|
+
) : () => !0, Au = Ne.hasStandardBrowserEnv ? (
|
|
3623
3623
|
// Standard browser envs support document.cookie
|
|
3624
3624
|
{
|
|
3625
3625
|
write(e, t, n, r, i, a) {
|
|
@@ -3737,8 +3737,8 @@ const es = (e) => {
|
|
|
3737
3737
|
});
|
|
3738
3738
|
}
|
|
3739
3739
|
}
|
|
3740
|
-
if (Ne.hasStandardBrowserEnv && (r && E.isFunction(r) && (r = r(t)), r || r !== !1 &&
|
|
3741
|
-
const c = i && a &&
|
|
3740
|
+
if (Ne.hasStandardBrowserEnv && (r && E.isFunction(r) && (r = r(t)), r || r !== !1 && ju(t.url))) {
|
|
3741
|
+
const c = i && a && Au.read(a);
|
|
3742
3742
|
c && o.set(i, c);
|
|
3743
3743
|
}
|
|
3744
3744
|
return t;
|
|
@@ -3777,8 +3777,8 @@ const es = (e) => {
|
|
|
3777
3777
|
}, h.onabort = function() {
|
|
3778
3778
|
h && (r(new ne("Request aborted", ne.ECONNABORTED, e, h)), h = null);
|
|
3779
3779
|
}, h.onerror = function(b) {
|
|
3780
|
-
const d = b && b.message ? b.message : "Network Error",
|
|
3781
|
-
|
|
3780
|
+
const d = b && b.message ? b.message : "Network Error", A = new ne(d, ne.ERR_NETWORK, e, h);
|
|
3781
|
+
A.event = b || null, r(A), h = null;
|
|
3782
3782
|
}, h.ontimeout = function() {
|
|
3783
3783
|
let b = i.timeout ? "timeout of " + i.timeout + "ms exceeded" : "timeout exceeded";
|
|
3784
3784
|
const d = i.transitional || Go;
|
|
@@ -3947,7 +3947,7 @@ const es = (e) => {
|
|
|
3947
3947
|
cancelToken: C,
|
|
3948
3948
|
timeout: b,
|
|
3949
3949
|
onDownloadProgress: d,
|
|
3950
|
-
onUploadProgress:
|
|
3950
|
+
onUploadProgress: A,
|
|
3951
3951
|
responseType: P,
|
|
3952
3952
|
headers: _,
|
|
3953
3953
|
withCredentials: B = "same-origin",
|
|
@@ -3960,7 +3960,7 @@ const es = (e) => {
|
|
|
3960
3960
|
});
|
|
3961
3961
|
let te;
|
|
3962
3962
|
try {
|
|
3963
|
-
if (
|
|
3963
|
+
if (A && u && h !== "get" && h !== "head" && (te = await w(_, x)) !== 0) {
|
|
3964
3964
|
let k = new n(g, {
|
|
3965
3965
|
method: "POST",
|
|
3966
3966
|
body: x,
|
|
@@ -3969,7 +3969,7 @@ const es = (e) => {
|
|
|
3969
3969
|
if (E.isFormData(x) && (D = k.headers.get("content-type")) && _.setContentType(D), k.body) {
|
|
3970
3970
|
const [U, $] = fa(
|
|
3971
3971
|
te,
|
|
3972
|
-
Yn(ma(
|
|
3972
|
+
Yn(ma(A))
|
|
3973
3973
|
);
|
|
3974
3974
|
x = ha(k.body, ga, U, $);
|
|
3975
3975
|
}
|
|
@@ -4461,8 +4461,8 @@ const {
|
|
|
4461
4461
|
isCancel: Cv,
|
|
4462
4462
|
CancelToken: Ov,
|
|
4463
4463
|
VERSION: Rv,
|
|
4464
|
-
all:
|
|
4465
|
-
Cancel:
|
|
4464
|
+
all: jv,
|
|
4465
|
+
Cancel: Av,
|
|
4466
4466
|
isAxiosError: kv,
|
|
4467
4467
|
spread: Pv,
|
|
4468
4468
|
toFormData: Nv,
|
|
@@ -4475,7 +4475,7 @@ const {
|
|
|
4475
4475
|
ye.defaults.baseURL = `${Yu}`;
|
|
4476
4476
|
const Ta = ye.create(), Ku = "https://api-hml.leia.digitalcontact.cloud";
|
|
4477
4477
|
ye.defaults.baseURL = `${Ku}`;
|
|
4478
|
-
const Gu = ye.create(), Ju = "
|
|
4478
|
+
const Gu = ye.create(), Ju = "https://api-hml.leia.digitalcontact.cloud";
|
|
4479
4479
|
ye.defaults.baseURL = `${Ju}`;
|
|
4480
4480
|
const Qu = ye.create(), Ht = (e) => {
|
|
4481
4481
|
switch (e.toLowerCase()) {
|
|
@@ -4547,7 +4547,7 @@ var Oa = (function() {
|
|
|
4547
4547
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
4548
4548
|
})(), Ra = function() {
|
|
4549
4549
|
return Math.random().toString(36).substring(7).split("").join(".");
|
|
4550
|
-
},
|
|
4550
|
+
}, ja = {
|
|
4551
4551
|
INIT: "@@redux/INIT" + Ra(),
|
|
4552
4552
|
REPLACE: "@@redux/REPLACE" + Ra()
|
|
4553
4553
|
};
|
|
@@ -4655,7 +4655,7 @@ function os(e, t, n) {
|
|
|
4655
4655
|
if (typeof g != "function")
|
|
4656
4656
|
throw new Error(process.env.NODE_ENV === "production" ? We(10) : "Expected the nextReducer to be a function. Instead, received: '" + Nt(g));
|
|
4657
4657
|
i = g, y({
|
|
4658
|
-
type:
|
|
4658
|
+
type: ja.REPLACE
|
|
4659
4659
|
});
|
|
4660
4660
|
}
|
|
4661
4661
|
function v() {
|
|
@@ -4686,7 +4686,7 @@ function os(e, t, n) {
|
|
|
4686
4686
|
}, g;
|
|
4687
4687
|
}
|
|
4688
4688
|
return y({
|
|
4689
|
-
type:
|
|
4689
|
+
type: ja.INIT
|
|
4690
4690
|
}), r = {
|
|
4691
4691
|
dispatch: y,
|
|
4692
4692
|
subscribe: p,
|
|
@@ -4728,9 +4728,9 @@ function sp() {
|
|
|
4728
4728
|
}
|
|
4729
4729
|
var Ze = function(t) {
|
|
4730
4730
|
return "@@redux-saga/" + t;
|
|
4731
|
-
}, ss = /* @__PURE__ */ Ze("CANCEL_PROMISE"), cs = /* @__PURE__ */ Ze("CHANNEL_END"), yi = /* @__PURE__ */ Ze("IO"),
|
|
4731
|
+
}, ss = /* @__PURE__ */ Ze("CANCEL_PROMISE"), cs = /* @__PURE__ */ Ze("CHANNEL_END"), yi = /* @__PURE__ */ Ze("IO"), Aa = /* @__PURE__ */ Ze("MATCH"), ls = /* @__PURE__ */ Ze("MULTICAST"), us = /* @__PURE__ */ Ze("SAGA_ACTION"), Xr = /* @__PURE__ */ Ze("SELF_CANCELLATION"), ps = /* @__PURE__ */ Ze("TASK"), Lt = /* @__PURE__ */ Ze("TASK_CANCEL"), ds = /* @__PURE__ */ Ze("TERMINATE"), cp = /* @__PURE__ */ Ze("LOCATION"), fs = function(t) {
|
|
4732
4732
|
return t == null;
|
|
4733
|
-
},
|
|
4733
|
+
}, je = function(t) {
|
|
4734
4734
|
return t != null;
|
|
4735
4735
|
}, ge = function(t) {
|
|
4736
4736
|
return typeof t == "function";
|
|
@@ -4906,7 +4906,7 @@ function _p() {
|
|
|
4906
4906
|
});
|
|
4907
4907
|
}
|
|
4908
4908
|
var Cp = "Channel's Buffer overflow!", Op = 1, Rp = 3, Ss = 4;
|
|
4909
|
-
function
|
|
4909
|
+
function jp(e, t) {
|
|
4910
4910
|
e === void 0 && (e = 10);
|
|
4911
4911
|
var n = new Array(e), r = 0, i = 0, a = 0, o = function(l) {
|
|
4912
4912
|
n[i] = l, i = (i + 1) % e, r++;
|
|
@@ -4945,32 +4945,32 @@ function Ap(e, t) {
|
|
|
4945
4945
|
flush: c
|
|
4946
4946
|
};
|
|
4947
4947
|
}
|
|
4948
|
-
var
|
|
4949
|
-
return
|
|
4948
|
+
var Ap = function(t) {
|
|
4949
|
+
return jp(t, Ss);
|
|
4950
4950
|
}, $n = "TAKE", Ts = "PUT", _s = "ALL", kp = "RACE", Cs = "CALL", Pp = "CPS", Os = "FORK", Np = "JOIN", Rs = "CANCEL", Dp = "SELECT", Fp = "ACTION_CHANNEL", Ip = "CANCELLED", Lp = "FLUSH", zp = "GET_CONTEXT", $p = "SET_CONTEXT", Na = `
|
|
4951
4951
|
(HINT: if you are getting these errors in tests, consider using createMockTask from @redux-saga/testing-utils)`, dt = function(t, n) {
|
|
4952
4952
|
var r;
|
|
4953
4953
|
return r = {}, r[yi] = !0, r.combinator = !1, r.type = t, r.payload = n, r;
|
|
4954
4954
|
};
|
|
4955
4955
|
function Mp(e, t) {
|
|
4956
|
-
if (e === void 0 && (e = "*"), process.env.NODE_ENV !== "production" && arguments.length && oe(arguments[0],
|
|
4957
|
-
return
|
|
4956
|
+
if (e === void 0 && (e = "*"), process.env.NODE_ENV !== "production" && arguments.length && oe(arguments[0], je, "take(patternOrChannel): patternOrChannel is undefined"), Pa(e))
|
|
4957
|
+
return je(t) && console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"), dt($n, {
|
|
4958
4958
|
pattern: e
|
|
4959
4959
|
});
|
|
4960
|
-
if (up(e) &&
|
|
4960
|
+
if (up(e) && je(t) && Pa(t))
|
|
4961
4961
|
return dt($n, {
|
|
4962
4962
|
channel: e,
|
|
4963
4963
|
pattern: t
|
|
4964
4964
|
});
|
|
4965
4965
|
if (yn(e))
|
|
4966
|
-
return
|
|
4966
|
+
return je(t) && console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."), dt($n, {
|
|
4967
4967
|
channel: e
|
|
4968
4968
|
});
|
|
4969
4969
|
if (process.env.NODE_ENV !== "production")
|
|
4970
4970
|
throw new Error("take(patternOrChannel): argument " + e + " is not valid channel or a valid pattern");
|
|
4971
4971
|
}
|
|
4972
4972
|
function Le(e, t) {
|
|
4973
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? (oe(e,
|
|
4973
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? (oe(e, je, "put(channel, action): argument channel is undefined"), oe(e, yn, "put(channel, action): argument " + e + " is not a valid channel"), oe(t, je, "put(channel, action): argument action is undefined")) : oe(e, je, "put(action): argument action is undefined")), fs(t) && (t = e, e = void 0), dt(Ts, {
|
|
4974
4974
|
channel: e,
|
|
4975
4975
|
action: t
|
|
4976
4976
|
});
|
|
@@ -4979,13 +4979,13 @@ function Up(e) {
|
|
|
4979
4979
|
var t = dt(_s, e);
|
|
4980
4980
|
return t.combinator = !0, t;
|
|
4981
4981
|
}
|
|
4982
|
-
var
|
|
4983
|
-
if (oe(n,
|
|
4982
|
+
var js = function(t, n) {
|
|
4983
|
+
if (oe(n, je, t + ": argument fn is undefined or null"), !ge(n)) {
|
|
4984
4984
|
var r = null, i;
|
|
4985
4985
|
if (Je(n))
|
|
4986
|
-
r = n[0], i = n[1], oe(i,
|
|
4986
|
+
r = n[0], i = n[1], oe(i, je, t + ": argument of type [context, fn] has undefined or null `fn`");
|
|
4987
4987
|
else if (bi(n))
|
|
4988
|
-
r = n.context, i = n.fn, oe(i,
|
|
4988
|
+
r = n.context, i = n.fn, oe(i, je, t + ": argument of type {context, fn} has undefined or null `fn`");
|
|
4989
4989
|
else {
|
|
4990
4990
|
oe(n, ge, t + ": argument fn is not function");
|
|
4991
4991
|
return;
|
|
@@ -4997,7 +4997,7 @@ var As = function(t, n) {
|
|
|
4997
4997
|
oe(i, ge, t + ": unpacked fn argument (from [context, fn] or {context, fn}) is not a function");
|
|
4998
4998
|
}
|
|
4999
4999
|
};
|
|
5000
|
-
function
|
|
5000
|
+
function As(e, t) {
|
|
5001
5001
|
var n = null, r;
|
|
5002
5002
|
return ge(e) ? r = e : (Je(e) ? (n = e[0], r = e[1]) : (n = e.context, r = e.fn), n && ur(r) && ge(n[r]) && (r = n[r])), {
|
|
5003
5003
|
context: n,
|
|
@@ -5013,17 +5013,17 @@ function ut(e) {
|
|
|
5013
5013
|
n[r - 1] = arguments[r];
|
|
5014
5014
|
if (process.env.NODE_ENV !== "production") {
|
|
5015
5015
|
var i = typeof n[0] == "number" ? n[0] : "ms";
|
|
5016
|
-
oe(e, qp, "instead of writing `yield call(delay, " + i + ")` where delay is an effect from `redux-saga/effects` you should write `yield delay(" + i + ")`"),
|
|
5016
|
+
oe(e, qp, "instead of writing `yield call(delay, " + i + ")` where delay is an effect from `redux-saga/effects` you should write `yield delay(" + i + ")`"), js("call", e);
|
|
5017
5017
|
}
|
|
5018
|
-
return dt(Cs,
|
|
5018
|
+
return dt(Cs, As(e, n));
|
|
5019
5019
|
}
|
|
5020
5020
|
function ks(e) {
|
|
5021
|
-
process.env.NODE_ENV !== "production" && (
|
|
5021
|
+
process.env.NODE_ENV !== "production" && (js("fork", e), oe(e, function(i) {
|
|
5022
5022
|
return !pp(i);
|
|
5023
5023
|
}, "fork: argument must not be an effect"));
|
|
5024
5024
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
|
|
5025
5025
|
n[r - 1] = arguments[r];
|
|
5026
|
-
return dt(Os,
|
|
5026
|
+
return dt(Os, As(e, n));
|
|
5027
5027
|
}
|
|
5028
5028
|
function Bp(e) {
|
|
5029
5029
|
if (e === void 0 && (e = Xr), process.env.NODE_ENV !== "production") {
|
|
@@ -5031,7 +5031,7 @@ function Bp(e) {
|
|
|
5031
5031
|
throw new Error("cancel(...tasks) is not supported any more. Please use cancel([...tasks]) to cancel multiple tasks.");
|
|
5032
5032
|
Je(e) ? e.forEach(function(t) {
|
|
5033
5033
|
oe(t, ka, "cancel([...tasks]): argument " + t + " is not a valid Task object " + Na);
|
|
5034
|
-
}) : e !== Xr &&
|
|
5034
|
+
}) : e !== Xr && je(e) && oe(e, ka, "cancel(task): argument " + e + " is not a valid Task object " + Na);
|
|
5035
5035
|
}
|
|
5036
5036
|
return dt(Rs, e);
|
|
5037
5037
|
}
|
|
@@ -5107,7 +5107,7 @@ Hints:
|
|
|
5107
5107
|
- check that your Action Creator returns a non-undefined value
|
|
5108
5108
|
- if the Saga was started using runSaga, check that your subscribe source provides the action to its listeners`;
|
|
5109
5109
|
function Qp(e) {
|
|
5110
|
-
e === void 0 && (e =
|
|
5110
|
+
e === void 0 && (e = Ap());
|
|
5111
5111
|
var t = !1, n = [];
|
|
5112
5112
|
process.env.NODE_ENV !== "production" && oe(e, lp, Jp);
|
|
5113
5113
|
function r() {
|
|
@@ -5117,7 +5117,7 @@ function Qp(e) {
|
|
|
5117
5117
|
throw Kn("Cannot have pending takers with non empty buffer");
|
|
5118
5118
|
}
|
|
5119
5119
|
function i(c) {
|
|
5120
|
-
if (process.env.NODE_ENV !== "production" && (r(), oe(c,
|
|
5120
|
+
if (process.env.NODE_ENV !== "production" && (r(), oe(c, je, $s)), !t) {
|
|
5121
5121
|
if (n.length === 0)
|
|
5122
5122
|
return e.put(c);
|
|
5123
5123
|
var u = n.shift();
|
|
@@ -5170,14 +5170,14 @@ function Xp() {
|
|
|
5170
5170
|
});
|
|
5171
5171
|
};
|
|
5172
5172
|
return e = {}, e[ls] = !0, e.put = function(c) {
|
|
5173
|
-
if (process.env.NODE_ENV !== "production" && (i(), oe(c,
|
|
5173
|
+
if (process.env.NODE_ENV !== "production" && (i(), oe(c, je, $s)), !t) {
|
|
5174
5174
|
if (_i(c)) {
|
|
5175
5175
|
o();
|
|
5176
5176
|
return;
|
|
5177
5177
|
}
|
|
5178
5178
|
for (var u = n = r, l = 0, p = u.length; l < p; l++) {
|
|
5179
5179
|
var y = u[l];
|
|
5180
|
-
y[
|
|
5180
|
+
y[Aa](c) && (y.cancel(), y(c));
|
|
5181
5181
|
}
|
|
5182
5182
|
}
|
|
5183
5183
|
}, e.take = function(c, u) {
|
|
@@ -5185,7 +5185,7 @@ function Xp() {
|
|
|
5185
5185
|
c(rn);
|
|
5186
5186
|
return;
|
|
5187
5187
|
}
|
|
5188
|
-
c[
|
|
5188
|
+
c[Aa] = u, a(), r.push(c), c.cancel = yp(function() {
|
|
5189
5189
|
a(), fr(r, c);
|
|
5190
5190
|
});
|
|
5191
5191
|
}, e.close = o, e;
|
|
@@ -5265,7 +5265,7 @@ function nd(e, t, n) {
|
|
|
5265
5265
|
n(u);
|
|
5266
5266
|
};
|
|
5267
5267
|
try {
|
|
5268
|
-
i.take(s,
|
|
5268
|
+
i.take(s, je(a) ? Ti(a) : null);
|
|
5269
5269
|
} catch (c) {
|
|
5270
5270
|
n(c, !0);
|
|
5271
5271
|
return;
|
|
@@ -5492,9 +5492,9 @@ function Sd(e, t, n, r, i, a, o) {
|
|
|
5492
5492
|
meta: i,
|
|
5493
5493
|
cancelledTasks: y
|
|
5494
5494
|
}), C.isRoot) {
|
|
5495
|
-
var
|
|
5495
|
+
var A = wd();
|
|
5496
5496
|
Hs(), e.onError(b, {
|
|
5497
|
-
sagaStack:
|
|
5497
|
+
sagaStack: A
|
|
5498
5498
|
});
|
|
5499
5499
|
}
|
|
5500
5500
|
l = b, p && p.reject(b);
|
|
@@ -5584,8 +5584,8 @@ function vr(e, t, n, r, i, a, o) {
|
|
|
5584
5584
|
effect: g
|
|
5585
5585
|
});
|
|
5586
5586
|
var b;
|
|
5587
|
-
function d(
|
|
5588
|
-
b || (b = !0, x.cancel = Pe, e.sagaMonitor && (P ? e.sagaMonitor.effectRejected(C,
|
|
5587
|
+
function d(A, P) {
|
|
5588
|
+
b || (b = !0, x.cancel = Pe, e.sagaMonitor && (P ? e.sagaMonitor.effectRejected(C, A) : e.sagaMonitor.effectResolved(C, A)), P && Ed(g), x(A, P));
|
|
5589
5589
|
}
|
|
5590
5590
|
d.cancel = Pe, x.cancel = function() {
|
|
5591
5591
|
b || (b = !0, d.cancel(), d.cancel = Pe, e.sagaMonitor && e.sagaMonitor.effectCancelled(C));
|
|
@@ -5606,7 +5606,7 @@ function _d(e, t) {
|
|
|
5606
5606
|
saga: t,
|
|
5607
5607
|
args: w
|
|
5608
5608
|
})), process.env.NODE_ENV !== "production") {
|
|
5609
|
-
if (
|
|
5609
|
+
if (je(i) && oe(i, ge, "dispatch must be a function"), je(a) && oe(a, ge, "getState must be a function"), je(u)) {
|
|
5610
5610
|
var x = "effectMiddlewares must be an array of functions";
|
|
5611
5611
|
oe(u, Je, x), u.forEach(function(d) {
|
|
5612
5612
|
return oe(d, ge, x);
|
|
@@ -5617,10 +5617,10 @@ function _d(e, t) {
|
|
|
5617
5617
|
var T;
|
|
5618
5618
|
if (u) {
|
|
5619
5619
|
var C = _p.apply(void 0, u);
|
|
5620
|
-
T = function(
|
|
5620
|
+
T = function(A) {
|
|
5621
5621
|
return function(P, _, B) {
|
|
5622
5622
|
var H = function(V) {
|
|
5623
|
-
return
|
|
5623
|
+
return A(V, _, B);
|
|
5624
5624
|
};
|
|
5625
5625
|
return C(H)(P);
|
|
5626
5626
|
};
|
|
@@ -5750,7 +5750,7 @@ function Ys(e, t, n) {
|
|
|
5750
5750
|
const r = hr(e);
|
|
5751
5751
|
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
|
|
5752
5752
|
}
|
|
5753
|
-
function
|
|
5753
|
+
function jd(e, t) {
|
|
5754
5754
|
return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
5755
5755
|
}
|
|
5756
5756
|
function En(e) {
|
|
@@ -5807,9 +5807,9 @@ function Pn() {
|
|
|
5807
5807
|
function xr(e) {
|
|
5808
5808
|
return Object.isFrozen(e);
|
|
5809
5809
|
}
|
|
5810
|
-
var
|
|
5810
|
+
var Ad = {};
|
|
5811
5811
|
function Ct(e) {
|
|
5812
|
-
const t =
|
|
5812
|
+
const t = Ad[e];
|
|
5813
5813
|
return t || $e(0, e), t;
|
|
5814
5814
|
}
|
|
5815
5815
|
var pn;
|
|
@@ -5924,12 +5924,12 @@ function Nd(e, t) {
|
|
|
5924
5924
|
revoke_: null,
|
|
5925
5925
|
isManual_: !1
|
|
5926
5926
|
};
|
|
5927
|
-
let i = r, a =
|
|
5927
|
+
let i = r, a = ji;
|
|
5928
5928
|
n && (i = [r], a = dn);
|
|
5929
5929
|
const { revoke: o, proxy: s } = Proxy.revocable(i, a);
|
|
5930
5930
|
return r.draft_ = s, r.revoke_ = o, s;
|
|
5931
5931
|
}
|
|
5932
|
-
var
|
|
5932
|
+
var ji = {
|
|
5933
5933
|
get(e, t) {
|
|
5934
5934
|
if (t === Ye)
|
|
5935
5935
|
return e;
|
|
@@ -5953,7 +5953,7 @@ var Ai = {
|
|
|
5953
5953
|
const i = Lr(gt(e), t), a = i == null ? void 0 : i[Ye];
|
|
5954
5954
|
if (a && a.base_ === n)
|
|
5955
5955
|
return e.copy_[t] = n, e.assigned_[t] = !1, !0;
|
|
5956
|
-
if (
|
|
5956
|
+
if (jd(n, i) && (n !== void 0 || ei(e.base_, t)))
|
|
5957
5957
|
return !0;
|
|
5958
5958
|
zr(e), ii(e);
|
|
5959
5959
|
}
|
|
@@ -5985,7 +5985,7 @@ var Ai = {
|
|
|
5985
5985
|
$e(12);
|
|
5986
5986
|
}
|
|
5987
5987
|
}, dn = {};
|
|
5988
|
-
Gn(
|
|
5988
|
+
Gn(ji, (e, t) => {
|
|
5989
5989
|
dn[e] = function() {
|
|
5990
5990
|
return arguments[0] = arguments[0][0], t.apply(this, arguments);
|
|
5991
5991
|
};
|
|
@@ -5994,7 +5994,7 @@ dn.deleteProperty = function(e, t) {
|
|
|
5994
5994
|
return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && $e(13), dn.set.call(this, e, t, void 0);
|
|
5995
5995
|
};
|
|
5996
5996
|
dn.set = function(e, t, n) {
|
|
5997
|
-
return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && $e(14),
|
|
5997
|
+
return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && $e(14), ji.set.call(this, e[0], t, n, e[0]);
|
|
5998
5998
|
};
|
|
5999
5999
|
function Lr(e, t) {
|
|
6000
6000
|
const n = e[Ye];
|
|
@@ -6266,7 +6266,7 @@ function Bd(e, t) {
|
|
|
6266
6266
|
}, "q1", "takeLatest(" + Ud(e) + ", " + t.name + ")");
|
|
6267
6267
|
}
|
|
6268
6268
|
var Hd = function(t, n, r) {
|
|
6269
|
-
oe(n,
|
|
6269
|
+
oe(n, je, t.name + " requires a pattern or channel"), oe(r, je, t.name + " requires a saga parameter");
|
|
6270
6270
|
};
|
|
6271
6271
|
function Dt(e, t) {
|
|
6272
6272
|
process.env.NODE_ENV !== "production" && Hd(Dt, e, t);
|
|
@@ -6312,6 +6312,7 @@ const Vd = (e, t, n) => ({
|
|
|
6312
6312
|
edit: "Edit",
|
|
6313
6313
|
clone: "Clone",
|
|
6314
6314
|
save: "Save",
|
|
6315
|
+
delete: "Delete",
|
|
6315
6316
|
copyPrefix: "Copy",
|
|
6316
6317
|
personas: {
|
|
6317
6318
|
title: "Personas",
|
|
@@ -6412,6 +6413,7 @@ const Vd = (e, t, n) => ({
|
|
|
6412
6413
|
search: "Pesquisar",
|
|
6413
6414
|
edit: "Editar",
|
|
6414
6415
|
clone: "Clonar",
|
|
6416
|
+
delete: "Excluir",
|
|
6415
6417
|
save: "Salvar",
|
|
6416
6418
|
copyPrefix: "Cópia",
|
|
6417
6419
|
personas: {
|
|
@@ -6513,6 +6515,7 @@ const Vd = (e, t, n) => ({
|
|
|
6513
6515
|
search: "Buscar",
|
|
6514
6516
|
edit: "Editar",
|
|
6515
6517
|
clone: "Clonar",
|
|
6518
|
+
delete: "Borrar",
|
|
6516
6519
|
save: "Guardar",
|
|
6517
6520
|
copyPrefix: "Copia",
|
|
6518
6521
|
personas: {
|
|
@@ -6916,7 +6919,7 @@ function Sf(e) {
|
|
|
6916
6919
|
function Ya(e) {
|
|
6917
6920
|
return ze({ attr: { version: "1.2", baseProfile: "tiny", viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 4c-4.419 0-8 3.582-8 8s3.581 8 8 8 8-3.582 8-8-3.581-8-8-8zm3.707 10.293c.391.391.391 1.023 0 1.414-.195.195-.451.293-.707.293s-.512-.098-.707-.293l-2.293-2.293-2.293 2.293c-.195.195-.451.293-.707.293s-.512-.098-.707-.293c-.391-.391-.391-1.023 0-1.414l2.293-2.293-2.293-2.293c-.391-.391-.391-1.023 0-1.414s1.023-.391 1.414 0l2.293 2.293 2.293-2.293c.391-.391 1.023-.391 1.414 0s.391 1.023 0 1.414l-2.293 2.293 2.293 2.293z" }, child: [] }] })(e);
|
|
6918
6921
|
}
|
|
6919
|
-
const Ka =
|
|
6922
|
+
const Ka = W.div`
|
|
6920
6923
|
${(e) => e.isloading && xo`
|
|
6921
6924
|
#loading {
|
|
6922
6925
|
position: fixed;
|
|
@@ -7048,7 +7051,7 @@ const Ka = Y.div`
|
|
|
7048
7051
|
color: #00344e;
|
|
7049
7052
|
}
|
|
7050
7053
|
|
|
7051
|
-
`, Tf =
|
|
7054
|
+
`, Tf = W.div`
|
|
7052
7055
|
display: flex;
|
|
7053
7056
|
flex-direction: column;
|
|
7054
7057
|
|
|
@@ -7100,12 +7103,12 @@ function nt(e) {
|
|
|
7100
7103
|
e[n] && (t += (t && " ") + n);
|
|
7101
7104
|
return t;
|
|
7102
7105
|
}
|
|
7103
|
-
const _f =
|
|
7106
|
+
const _f = W.div`
|
|
7104
7107
|
width: 100%;
|
|
7105
7108
|
height: max-content;
|
|
7106
7109
|
min-height: 50px;
|
|
7107
7110
|
position: relative;
|
|
7108
|
-
`, Cf =
|
|
7111
|
+
`, Cf = W.table`
|
|
7109
7112
|
font-size: 14px;
|
|
7110
7113
|
line-height: 143%;
|
|
7111
7114
|
color: black;
|
|
@@ -7143,7 +7146,7 @@ const _f = Y.div`
|
|
|
7143
7146
|
&.large td {
|
|
7144
7147
|
padding: 16px;
|
|
7145
7148
|
}
|
|
7146
|
-
`, Of =
|
|
7149
|
+
`, Of = W.div`
|
|
7147
7150
|
position: absolute;
|
|
7148
7151
|
top: 0;
|
|
7149
7152
|
left: 0;
|
|
@@ -7153,7 +7156,7 @@ const _f = Y.div`
|
|
|
7153
7156
|
justify-content: center;
|
|
7154
7157
|
align-items: center;
|
|
7155
7158
|
background-color: #f3f5f961;
|
|
7156
|
-
`, Rf =
|
|
7159
|
+
`, Rf = W.span`
|
|
7157
7160
|
display: inline-block;
|
|
7158
7161
|
position: relative;
|
|
7159
7162
|
display: flex;
|
|
@@ -7209,7 +7212,7 @@ const _f = Y.div`
|
|
|
7209
7212
|
transform: rotate(360deg);
|
|
7210
7213
|
}
|
|
7211
7214
|
}
|
|
7212
|
-
`,
|
|
7215
|
+
`, jf = ({ color: e = "neutral-3", size: t = "md", className: n }) => /* @__PURE__ */ m.jsxs(
|
|
7213
7216
|
Rf,
|
|
7214
7217
|
{
|
|
7215
7218
|
color: e,
|
|
@@ -7223,7 +7226,7 @@ const _f = Y.div`
|
|
|
7223
7226
|
}
|
|
7224
7227
|
), rc = di(
|
|
7225
7228
|
({ size: e = "medium", children: t, isloading: n = !1, className: r = "", ...i }, a) => /* @__PURE__ */ m.jsxs(_f, { className: r, children: [
|
|
7226
|
-
n ? /* @__PURE__ */ m.jsx(Of, { children: /* @__PURE__ */ m.jsx(
|
|
7229
|
+
n ? /* @__PURE__ */ m.jsx(Of, { children: /* @__PURE__ */ m.jsx(jf, {}) }) : null,
|
|
7227
7230
|
/* @__PURE__ */ m.jsx(Cf, { className: nt([e]), ref: a, ...i, children: t })
|
|
7228
7231
|
] })
|
|
7229
7232
|
);
|
|
@@ -7233,10 +7236,10 @@ rc.propTypes = {
|
|
|
7233
7236
|
size: N.oneOf(["small", "medium", "large"]),
|
|
7234
7237
|
isloading: N.bool
|
|
7235
7238
|
};
|
|
7236
|
-
const
|
|
7239
|
+
const Af = W.div`
|
|
7237
7240
|
position: relative;
|
|
7238
7241
|
width: 300px;
|
|
7239
|
-
`, kf =
|
|
7242
|
+
`, kf = W.input`
|
|
7240
7243
|
padding-left: 40px;
|
|
7241
7244
|
border-radius: 5px;
|
|
7242
7245
|
border: 1px solid #ccc;
|
|
@@ -7247,7 +7250,7 @@ const jf = Y.div`
|
|
|
7247
7250
|
outline: none;
|
|
7248
7251
|
box-shadow: 0 0 0 3px #6690ff;
|
|
7249
7252
|
}
|
|
7250
|
-
`, Pf =
|
|
7253
|
+
`, Pf = W.div`
|
|
7251
7254
|
position: absolute;
|
|
7252
7255
|
top: 14px;
|
|
7253
7256
|
left: 10px;
|
|
@@ -7261,7 +7264,7 @@ const jf = Y.div`
|
|
|
7261
7264
|
const a = i.target.value.trim(), o = Ga(a), s = n.filter((c) => Ga(c.name).includes(o));
|
|
7262
7265
|
t(a !== "" ? s : n);
|
|
7263
7266
|
};
|
|
7264
|
-
return /* @__PURE__ */ m.jsxs(
|
|
7267
|
+
return /* @__PURE__ */ m.jsxs(Af, { children: [
|
|
7265
7268
|
/* @__PURE__ */ m.jsx(
|
|
7266
7269
|
kf,
|
|
7267
7270
|
{
|
|
@@ -7279,7 +7282,7 @@ function Nf(e) {
|
|
|
7279
7282
|
function Df(e) {
|
|
7280
7283
|
return ze({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M18.39 14.56C16.71 13.7 14.53 13 12 13s-4.71.7-6.39 1.56A2.97 2.97 0 0 0 4 17.22V20h16v-2.78c0-1.12-.61-2.15-1.61-2.66zM9.78 12h4.44c1.21 0 2.14-1.06 1.98-2.26l-.32-2.45C15.57 5.39 13.92 4 12 4S8.43 5.39 8.12 7.29L7.8 9.74c-.16 1.2.77 2.26 1.98 2.26z" }, child: [] }] })(e);
|
|
7281
7284
|
}
|
|
7282
|
-
const Ff =
|
|
7285
|
+
const Ff = W.div`
|
|
7283
7286
|
display: ${({ isopen: e }) => e === 1 ? "flex" : "none"};
|
|
7284
7287
|
cursor: ${({ isfixed: e }) => e === 0 ? "pointer" : "default"};
|
|
7285
7288
|
|
|
@@ -7303,7 +7306,7 @@ const Ff = Y.div`
|
|
|
7303
7306
|
background-color: #2f3845b8;
|
|
7304
7307
|
}
|
|
7305
7308
|
}
|
|
7306
|
-
`, If =
|
|
7309
|
+
`, If = W.div`
|
|
7307
7310
|
background-color: #fff;
|
|
7308
7311
|
border-radius: 3px;
|
|
7309
7312
|
position: relative;
|
|
@@ -7327,36 +7330,36 @@ const Ff = Y.div`
|
|
|
7327
7330
|
opacity: 1;
|
|
7328
7331
|
}
|
|
7329
7332
|
}
|
|
7330
|
-
`, Lf =
|
|
7333
|
+
`, Lf = W.div`
|
|
7331
7334
|
width: 100%;
|
|
7332
7335
|
overflow-y: auto;
|
|
7333
7336
|
max-height: ${({ maxheight: e }) => e};
|
|
7334
|
-
`, zf =
|
|
7337
|
+
`, zf = W.header`
|
|
7335
7338
|
display: flex;
|
|
7336
7339
|
justify-content: space-between;
|
|
7337
7340
|
align-items: center;
|
|
7338
7341
|
border-bottom: 1px solid #dadce3;
|
|
7339
7342
|
padding: var(--spacement-medium);
|
|
7340
|
-
`, $f =
|
|
7343
|
+
`, $f = W.div`
|
|
7341
7344
|
font-style: normal;
|
|
7342
7345
|
font-weight: normal;
|
|
7343
7346
|
font-size: 20px;
|
|
7344
7347
|
line-height: 150%;
|
|
7345
7348
|
letter-spacing: 0.0075em;
|
|
7346
7349
|
color: var(--neutral-4);
|
|
7347
|
-
`, Mf =
|
|
7350
|
+
`, Mf = W.button`
|
|
7348
7351
|
outline: none;
|
|
7349
7352
|
cursor: pointer;
|
|
7350
7353
|
|
|
7351
7354
|
:hover {
|
|
7352
7355
|
opacity: 0.7;
|
|
7353
7356
|
}
|
|
7354
|
-
`, Uf =
|
|
7357
|
+
`, Uf = W.div`
|
|
7355
7358
|
width: 100%;
|
|
7356
7359
|
overflow-y: ${({ overflowy: e }) => e};
|
|
7357
7360
|
max-height: ${({ maxheight: e }) => e};
|
|
7358
7361
|
padding: var(--spacement-medium);
|
|
7359
|
-
`, qf =
|
|
7362
|
+
`, qf = W.div`
|
|
7360
7363
|
padding: var(--spacement-medium);
|
|
7361
7364
|
background: var(--neutral-0);
|
|
7362
7365
|
display: flex;
|
|
@@ -7445,7 +7448,7 @@ on.defaultProps = {
|
|
|
7445
7448
|
},
|
|
7446
7449
|
zindex: 9999
|
|
7447
7450
|
};
|
|
7448
|
-
const Bf =
|
|
7451
|
+
const Bf = W.div`
|
|
7449
7452
|
width: 100%;
|
|
7450
7453
|
display: flex;
|
|
7451
7454
|
justify-content: center;
|
|
@@ -7515,7 +7518,11 @@ const Bf = Y.div`
|
|
|
7515
7518
|
}
|
|
7516
7519
|
}
|
|
7517
7520
|
}
|
|
7518
|
-
|
|
7521
|
+
`;
|
|
7522
|
+
W.table`
|
|
7523
|
+
margin-top: 12px;
|
|
7524
|
+
`;
|
|
7525
|
+
const yr = ({
|
|
7519
7526
|
icon: e,
|
|
7520
7527
|
title: t,
|
|
7521
7528
|
description: n,
|
|
@@ -7577,11 +7584,11 @@ yr.defaultProps = {
|
|
|
7577
7584
|
backgroundColor: "var(--absolute-white)",
|
|
7578
7585
|
hasborder: !0
|
|
7579
7586
|
};
|
|
7580
|
-
const Hf =
|
|
7587
|
+
const Hf = W.div`
|
|
7581
7588
|
width: 100%;
|
|
7582
7589
|
height: 45px;
|
|
7583
7590
|
|
|
7584
|
-
`, Vf =
|
|
7591
|
+
`, Vf = W.div`
|
|
7585
7592
|
position: relative;
|
|
7586
7593
|
|
|
7587
7594
|
|
|
@@ -7592,7 +7599,7 @@ const Hf = Y.div`
|
|
|
7592
7599
|
border-radius: 4px;
|
|
7593
7600
|
padding-left: 10px;
|
|
7594
7601
|
}
|
|
7595
|
-
`, Wf =
|
|
7602
|
+
`, Wf = W.div`
|
|
7596
7603
|
position: absolute;
|
|
7597
7604
|
left: 0;
|
|
7598
7605
|
right: 0;
|
|
@@ -7616,7 +7623,7 @@ const Hf = Y.div`
|
|
|
7616
7623
|
|
|
7617
7624
|
}
|
|
7618
7625
|
|
|
7619
|
-
`, Yf =
|
|
7626
|
+
`, Yf = W.div`
|
|
7620
7627
|
display: none;
|
|
7621
7628
|
background: white;
|
|
7622
7629
|
position: absolute;
|
|
@@ -7626,20 +7633,20 @@ const Hf = Y.div`
|
|
|
7626
7633
|
label {
|
|
7627
7634
|
padding: 10px 5px;
|
|
7628
7635
|
}
|
|
7629
|
-
`, Kf =
|
|
7636
|
+
`, Kf = W.label`
|
|
7630
7637
|
display: block;
|
|
7631
7638
|
|
|
7632
7639
|
&:hover {
|
|
7633
7640
|
background-color: #6690ff;
|
|
7634
7641
|
}
|
|
7635
|
-
`, Gf =
|
|
7642
|
+
`, Gf = W.div`
|
|
7636
7643
|
position: absolute;
|
|
7637
7644
|
top: 9px;
|
|
7638
7645
|
display: flex;
|
|
7639
7646
|
flex-wrap: wrap;
|
|
7640
7647
|
margin-left: 5px;
|
|
7641
7648
|
right: 30px;
|
|
7642
|
-
`, Jf =
|
|
7649
|
+
`, Jf = W.div`
|
|
7643
7650
|
background-color: #254EDB;
|
|
7644
7651
|
color: white;
|
|
7645
7652
|
border-radius: 15px;
|
|
@@ -9253,7 +9260,7 @@ function tt() {
|
|
|
9253
9260
|
function Rm() {
|
|
9254
9261
|
return "showOpenFilePicker" in window;
|
|
9255
9262
|
}
|
|
9256
|
-
function
|
|
9263
|
+
function jm(e) {
|
|
9257
9264
|
if (yt(e)) {
|
|
9258
9265
|
var t = Object.entries(e).filter(function(n) {
|
|
9259
9266
|
var r = fn(n, 2), i = r[0], a = r[1], o = !0;
|
|
@@ -9270,7 +9277,7 @@ function Am(e) {
|
|
|
9270
9277
|
}
|
|
9271
9278
|
return e;
|
|
9272
9279
|
}
|
|
9273
|
-
function
|
|
9280
|
+
function Am(e) {
|
|
9274
9281
|
if (yt(e))
|
|
9275
9282
|
return Object.entries(e).reduce(function(t, n) {
|
|
9276
9283
|
var r = fn(n, 2), i = r[0], a = r[1];
|
|
@@ -9389,7 +9396,7 @@ function Hm(e, t) {
|
|
|
9389
9396
|
i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
9390
9397
|
return n;
|
|
9391
9398
|
}
|
|
9392
|
-
var
|
|
9399
|
+
var Ai = /* @__PURE__ */ di(function(e, t) {
|
|
9393
9400
|
var n = e.children, r = rr(e, Nm), i = vc(r), a = i.open, o = rr(i, Dm);
|
|
9394
9401
|
return Oc(t, function() {
|
|
9395
9402
|
return {
|
|
@@ -9399,7 +9406,7 @@ var ji = /* @__PURE__ */ di(function(e, t) {
|
|
|
9399
9406
|
open: a
|
|
9400
9407
|
})));
|
|
9401
9408
|
});
|
|
9402
|
-
|
|
9409
|
+
Ai.displayName = "Dropzone";
|
|
9403
9410
|
var mc = {
|
|
9404
9411
|
disabled: !1,
|
|
9405
9412
|
getFilesFromEvent: em,
|
|
@@ -9416,8 +9423,8 @@ var mc = {
|
|
|
9416
9423
|
useFsAccessApi: !1,
|
|
9417
9424
|
autoFocus: !1
|
|
9418
9425
|
};
|
|
9419
|
-
|
|
9420
|
-
|
|
9426
|
+
Ai.defaultProps = mc;
|
|
9427
|
+
Ai.propTypes = {
|
|
9421
9428
|
/**
|
|
9422
9429
|
* Render function that exposes the dropzone state and prop getter fns
|
|
9423
9430
|
*
|
|
@@ -9595,10 +9602,10 @@ var ui = {
|
|
|
9595
9602
|
fileRejections: []
|
|
9596
9603
|
};
|
|
9597
9604
|
function vc() {
|
|
9598
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Se(Se({}, mc), e), n = t.accept, r = t.disabled, i = t.getFilesFromEvent, a = t.maxSize, o = t.minSize, s = t.multiple, c = t.maxFiles, u = t.onDragEnter, l = t.onDragLeave, p = t.onDragOver, y = t.onDrop, w = t.onDropAccepted, v = t.onDropRejected, g = t.onFileDialogCancel, h = t.onFileDialogOpen, x = t.useFsAccessApi, T = t.autoFocus, C = t.preventDropOnDocument, b = t.noClick, d = t.noKeyboard,
|
|
9599
|
-
return jm(n);
|
|
9600
|
-
}, [n]), q = st(function() {
|
|
9605
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Se(Se({}, mc), e), n = t.accept, r = t.disabled, i = t.getFilesFromEvent, a = t.maxSize, o = t.minSize, s = t.multiple, c = t.maxFiles, u = t.onDragEnter, l = t.onDragLeave, p = t.onDragOver, y = t.onDrop, w = t.onDropAccepted, v = t.onDropRejected, g = t.onFileDialogCancel, h = t.onFileDialogOpen, x = t.useFsAccessApi, T = t.autoFocus, C = t.preventDropOnDocument, b = t.noClick, d = t.noKeyboard, A = t.noDrag, P = t.noDragEventsBubbling, _ = t.onError, B = t.validator, H = st(function() {
|
|
9601
9606
|
return Am(n);
|
|
9607
|
+
}, [n]), q = st(function() {
|
|
9608
|
+
return jm(n);
|
|
9602
9609
|
}, [n]), V = st(function() {
|
|
9603
9610
|
return typeof h == "function" ? h : co;
|
|
9604
9611
|
}, [h]), R = st(function() {
|
|
@@ -9629,10 +9636,10 @@ function vc() {
|
|
|
9629
9636
|
return !r && T && L.current && L.current.focus(), function() {
|
|
9630
9637
|
};
|
|
9631
9638
|
}, [L, T, r]);
|
|
9632
|
-
var
|
|
9639
|
+
var Y = Ie(function(I) {
|
|
9633
9640
|
_ ? _(I) : console.error(I);
|
|
9634
9641
|
}, [_]), J = Ie(function(I) {
|
|
9635
|
-
I.preventDefault(), I.persist(),
|
|
9642
|
+
I.preventDefault(), I.persist(), jt(I), $.current = [].concat(Lm($.current), [I.target]), Dn(I) && Promise.resolve(i(I)).then(function(K) {
|
|
9636
9643
|
if (!(nr(I) && !P)) {
|
|
9637
9644
|
var we = K.length, Te = we > 0 && Tm({
|
|
9638
9645
|
files: K,
|
|
@@ -9651,10 +9658,10 @@ function vc() {
|
|
|
9651
9658
|
}), u && u(I);
|
|
9652
9659
|
}
|
|
9653
9660
|
}).catch(function(K) {
|
|
9654
|
-
return
|
|
9661
|
+
return Y(K);
|
|
9655
9662
|
});
|
|
9656
|
-
}, [i, u,
|
|
9657
|
-
I.preventDefault(), I.persist(),
|
|
9663
|
+
}, [i, u, Y, P, H, o, a, s, c, B]), ee = Ie(function(I) {
|
|
9664
|
+
I.preventDefault(), I.persist(), jt(I);
|
|
9658
9665
|
var K = Dn(I);
|
|
9659
9666
|
if (K && I.dataTransfer)
|
|
9660
9667
|
try {
|
|
@@ -9663,7 +9670,7 @@ function vc() {
|
|
|
9663
9670
|
}
|
|
9664
9671
|
return K && p && p(I), !1;
|
|
9665
9672
|
}, [p, P]), re = Ie(function(I) {
|
|
9666
|
-
I.preventDefault(), I.persist(),
|
|
9673
|
+
I.preventDefault(), I.persist(), jt(I);
|
|
9667
9674
|
var K = $.current.filter(function(Te) {
|
|
9668
9675
|
return L.current && L.current.contains(Te);
|
|
9669
9676
|
}), we = K.indexOf(I.target);
|
|
@@ -9676,7 +9683,7 @@ function vc() {
|
|
|
9676
9683
|
}, [L, l, P]), X = Ie(function(I, K) {
|
|
9677
9684
|
var we = [], Te = [];
|
|
9678
9685
|
I.forEach(function(De) {
|
|
9679
|
-
var pt = lc(De, H), at = Ur(pt, 2), Wt = at[0], Yt = at[1], Kt = uc(De, o, a),
|
|
9686
|
+
var pt = lc(De, H), at = Ur(pt, 2), Wt = at[0], Yt = at[1], Kt = uc(De, o, a), At = Ur(Kt, 2), Gt = At[0], Jt = At[1], Qt = B ? B(De) : null;
|
|
9680
9687
|
if (Wt && Gt && !Qt)
|
|
9681
9688
|
we.push(De);
|
|
9682
9689
|
else {
|
|
@@ -9700,14 +9707,14 @@ function vc() {
|
|
|
9700
9707
|
type: "setFiles"
|
|
9701
9708
|
}), y && y(we, Te, K), Te.length > 0 && v && v(Te, K), we.length > 0 && w && w(we, K);
|
|
9702
9709
|
}, [se, s, H, o, a, c, y, w, v, B]), F = Ie(function(I) {
|
|
9703
|
-
I.preventDefault(), I.persist(),
|
|
9710
|
+
I.preventDefault(), I.persist(), jt(I), $.current = [], Dn(I) && Promise.resolve(i(I)).then(function(K) {
|
|
9704
9711
|
nr(I) && !P || X(K, I);
|
|
9705
9712
|
}).catch(function(K) {
|
|
9706
|
-
return
|
|
9713
|
+
return Y(K);
|
|
9707
9714
|
}), se({
|
|
9708
9715
|
type: "reset"
|
|
9709
9716
|
});
|
|
9710
|
-
}, [i, X,
|
|
9717
|
+
}, [i, X, Y, P]), S = Ie(function() {
|
|
9711
9718
|
if (D.current) {
|
|
9712
9719
|
se({
|
|
9713
9720
|
type: "openDialog"
|
|
@@ -9725,16 +9732,16 @@ function vc() {
|
|
|
9725
9732
|
}).catch(function(K) {
|
|
9726
9733
|
km(K) ? (R(K), se({
|
|
9727
9734
|
type: "closeDialog"
|
|
9728
|
-
})) : Pm(K) ? (D.current = !1, te.current ? (te.current.value = null, te.current.click()) :
|
|
9735
|
+
})) : Pm(K) ? (D.current = !1, te.current ? (te.current.value = null, te.current.click()) : Y(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : Y(K);
|
|
9729
9736
|
});
|
|
9730
9737
|
return;
|
|
9731
9738
|
}
|
|
9732
9739
|
te.current && (se({
|
|
9733
9740
|
type: "openDialog"
|
|
9734
9741
|
}), V(), te.current.value = null, te.current.click());
|
|
9735
|
-
}, [se, V, R, x, X,
|
|
9742
|
+
}, [se, V, R, x, X, Y, q, s]), Ee = Ie(function(I) {
|
|
9736
9743
|
!L.current || !L.current.isEqualNode(I.target) || (I.key === " " || I.key === "Enter" || I.keyCode === 32 || I.keyCode === 13) && (I.preventDefault(), S());
|
|
9737
|
-
}, [L, S]),
|
|
9744
|
+
}, [L, S]), Ae = Ie(function() {
|
|
9738
9745
|
se({
|
|
9739
9746
|
type: "focus"
|
|
9740
9747
|
});
|
|
@@ -9749,27 +9756,27 @@ function vc() {
|
|
|
9749
9756
|
}, Rt = function(K) {
|
|
9750
9757
|
return d ? null : rt(K);
|
|
9751
9758
|
}, it = function(K) {
|
|
9752
|
-
return
|
|
9753
|
-
},
|
|
9759
|
+
return A ? null : rt(K);
|
|
9760
|
+
}, jt = function(K) {
|
|
9754
9761
|
P && K.stopPropagation();
|
|
9755
9762
|
}, br = st(function() {
|
|
9756
9763
|
return function() {
|
|
9757
|
-
var I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, K = I.refKey, we = K === void 0 ? "ref" : K, Te = I.role, De = I.onKeyDown, pt = I.onFocus, at = I.onBlur, Wt = I.onClick, Yt = I.onDragEnter, Kt = I.onDragOver,
|
|
9764
|
+
var I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, K = I.refKey, we = K === void 0 ? "ref" : K, Te = I.role, De = I.onKeyDown, pt = I.onFocus, at = I.onBlur, Wt = I.onClick, Yt = I.onDragEnter, Kt = I.onDragOver, At = I.onDragLeave, Gt = I.onDrop, Jt = rr(I, Fm);
|
|
9758
9765
|
return Se(Se(li({
|
|
9759
9766
|
onKeyDown: Rt(tt(De, Ee)),
|
|
9760
|
-
onFocus: Rt(tt(pt,
|
|
9767
|
+
onFocus: Rt(tt(pt, Ae)),
|
|
9761
9768
|
onBlur: Rt(tt(at, Ve)),
|
|
9762
9769
|
onClick: rt(tt(Wt, vt)),
|
|
9763
9770
|
onDragEnter: it(tt(Yt, J)),
|
|
9764
9771
|
onDragOver: it(tt(Kt, ee)),
|
|
9765
|
-
onDragLeave: it(tt(
|
|
9772
|
+
onDragLeave: it(tt(At, re)),
|
|
9766
9773
|
onDrop: it(tt(Gt, F)),
|
|
9767
9774
|
role: typeof Te == "string" && Te !== "" ? Te : "presentation"
|
|
9768
9775
|
}, we, L), !r && !d ? {
|
|
9769
9776
|
tabIndex: 0
|
|
9770
9777
|
} : {}), Jt);
|
|
9771
9778
|
};
|
|
9772
|
-
}, [L, Ee,
|
|
9779
|
+
}, [L, Ee, Ae, Ve, vt, J, ee, re, F, d, A, r]), Vt = Ie(function(I) {
|
|
9773
9780
|
I.stopPropagation();
|
|
9774
9781
|
}, []), Er = st(function() {
|
|
9775
9782
|
return function() {
|
|
@@ -9843,7 +9850,7 @@ function Vm(e, t) {
|
|
|
9843
9850
|
}
|
|
9844
9851
|
function co() {
|
|
9845
9852
|
}
|
|
9846
|
-
const Wm = (e) => e.isDragAccept ? "#6690ff" : e.isDragReject ? "#e18976" : e.isDragActive ? "#6690ff" : "#979aa5", lo =
|
|
9853
|
+
const Wm = (e) => e.isDragAccept ? "#6690ff" : e.isDragReject ? "#e18976" : e.isDragActive ? "#6690ff" : "#979aa5", lo = W.div`
|
|
9847
9854
|
background-color: #f3f5f9;
|
|
9848
9855
|
flex: 1;
|
|
9849
9856
|
display: flex;
|
|
@@ -9882,7 +9889,7 @@ const Wm = (e) => e.isDragAccept ? "#6690ff" : e.isDragReject ? "#e18976" : e.is
|
|
|
9882
9889
|
text-align: center;
|
|
9883
9890
|
}
|
|
9884
9891
|
`;
|
|
9885
|
-
|
|
9892
|
+
W.div`
|
|
9886
9893
|
&.horizontal-itens {
|
|
9887
9894
|
display: flex;
|
|
9888
9895
|
flex-direction: row;
|
|
@@ -9934,8 +9941,8 @@ const ki = ({
|
|
|
9934
9941
|
s(C), h.forEach((b) => {
|
|
9935
9942
|
const d = new FileReader();
|
|
9936
9943
|
d.onload = () => {
|
|
9937
|
-
const
|
|
9938
|
-
r({ content:
|
|
9944
|
+
const A = d.result;
|
|
9945
|
+
r({ content: A, properties: b });
|
|
9939
9946
|
}, d.readAsArrayBuffer(b);
|
|
9940
9947
|
});
|
|
9941
9948
|
},
|
|
@@ -9994,7 +10001,7 @@ ki.defaultProps = {
|
|
|
9994
10001
|
hasListFiles: !0
|
|
9995
10002
|
};
|
|
9996
10003
|
const Mv = () => {
|
|
9997
|
-
const { id: e, language: t, propTags: n, token: r, env: i, readonly: a } = Xn(), [o, s] = me([]), [c, u] = me([]), [l, p] = me(), [y, w] = me(!1), [v, g] = me(!1), [h, x] = me(!1), [T, C] = me(""), [b, d] = me([]), [
|
|
10004
|
+
const { id: e, language: t, propTags: n, token: r, env: i, readonly: a } = Xn(), [o, s] = me([]), [c, u] = me([]), [l, p] = me(), [y, w] = me(!1), [v, g] = me(!1), [h, x] = me(!1), [T, C] = me(""), [b, d] = me([]), [A, P] = me([]), _ = mt(t), B = Oo(), H = Vn((D) => D.files), q = Vn((D) => D.isloading), V = n ? n.tags : [];
|
|
9998
10005
|
Re(() => {
|
|
9999
10006
|
B(Vd(e, r, i));
|
|
10000
10007
|
}, [e]), Re(() => {
|
|
@@ -10028,9 +10035,9 @@ const Mv = () => {
|
|
|
10028
10035
|
}, ce = () => {
|
|
10029
10036
|
B(Yd(T, e, t, r, i)), g(!1);
|
|
10030
10037
|
}, M = () => {
|
|
10031
|
-
B(Gd(l, e,
|
|
10038
|
+
B(Gd(l, e, A, t, r, i)), w(!1), p(void 0), P([]);
|
|
10032
10039
|
}, se = () => {
|
|
10033
|
-
B(Jd(e,
|
|
10040
|
+
B(Jd(e, A, t, r, i)), x(!1), P([]);
|
|
10034
10041
|
}, O = (D, U) => {
|
|
10035
10042
|
if (D) {
|
|
10036
10043
|
const $ = zi(/* @__PURE__ */ m.jsx(yf, { size: 14 }));
|
|
@@ -10110,7 +10117,7 @@ const Mv = () => {
|
|
|
10110
10117
|
) }),
|
|
10111
10118
|
/* @__PURE__ */ m.jsxs("div", { className: "presset", children: [
|
|
10112
10119
|
/* @__PURE__ */ m.jsx("p", { children: _.fileArea.presset }),
|
|
10113
|
-
/* @__PURE__ */ m.jsx(Ja, { setOptions: d, options: b, presset:
|
|
10120
|
+
/* @__PURE__ */ m.jsx(Ja, { setOptions: d, options: b, presset: A, setPresset: P, modal: y, language: t, hasAddNewOptions: !0 })
|
|
10114
10121
|
] })
|
|
10115
10122
|
] }),
|
|
10116
10123
|
/* @__PURE__ */ m.jsxs(Un, { children: [
|
|
@@ -10150,7 +10157,7 @@ const Mv = () => {
|
|
|
10150
10157
|
/* @__PURE__ */ m.jsx("p", { id: "info", children: _.fileArea.modal.trainingDescription }),
|
|
10151
10158
|
/* @__PURE__ */ m.jsxs("div", { className: "presset", children: [
|
|
10152
10159
|
/* @__PURE__ */ m.jsx("p", { children: _.fileArea.presset }),
|
|
10153
|
-
/* @__PURE__ */ m.jsx(Ja, { setOptions: d, options: b, presset:
|
|
10160
|
+
/* @__PURE__ */ m.jsx(Ja, { setOptions: d, options: b, presset: A, setPresset: P, modal: y, language: t, hasAddNewOptions: !1 })
|
|
10154
10161
|
] })
|
|
10155
10162
|
] }),
|
|
10156
10163
|
/* @__PURE__ */ m.jsxs(Un, { children: [
|
|
@@ -10162,7 +10169,7 @@ const Mv = () => {
|
|
|
10162
10169
|
)
|
|
10163
10170
|
] });
|
|
10164
10171
|
return /* @__PURE__ */ m.jsx(Ka, { children: k() });
|
|
10165
|
-
}, uo =
|
|
10172
|
+
}, uo = W.div`
|
|
10166
10173
|
${(e) => e.isloading && xo`
|
|
10167
10174
|
#loading {
|
|
10168
10175
|
position: fixed;
|
|
@@ -10193,7 +10200,7 @@ const Mv = () => {
|
|
|
10193
10200
|
}
|
|
10194
10201
|
`}
|
|
10195
10202
|
|
|
10196
|
-
`, Ym =
|
|
10203
|
+
`, Ym = W.div`
|
|
10197
10204
|
display: flex;
|
|
10198
10205
|
flex-direction: column;
|
|
10199
10206
|
.infos {
|
|
@@ -10209,7 +10216,7 @@ const Mv = () => {
|
|
|
10209
10216
|
font-size: 14px
|
|
10210
10217
|
}
|
|
10211
10218
|
}
|
|
10212
|
-
`, po =
|
|
10219
|
+
`, po = W.div`
|
|
10213
10220
|
display: inline-flex;
|
|
10214
10221
|
justify-content: space-between;
|
|
10215
10222
|
margin-bottom: 10px;
|
|
@@ -10232,7 +10239,7 @@ const Mv = () => {
|
|
|
10232
10239
|
height: 23px;
|
|
10233
10240
|
}
|
|
10234
10241
|
}
|
|
10235
|
-
`, Km =
|
|
10242
|
+
`, Km = W.div`
|
|
10236
10243
|
display: flex;
|
|
10237
10244
|
justify-content: left;
|
|
10238
10245
|
background: #F3F5F9;
|
|
@@ -10258,7 +10265,7 @@ const Mv = () => {
|
|
|
10258
10265
|
}
|
|
10259
10266
|
}
|
|
10260
10267
|
|
|
10261
|
-
`, Gm =
|
|
10268
|
+
`, Gm = W.div`
|
|
10262
10269
|
position: relative;
|
|
10263
10270
|
width: 50%;
|
|
10264
10271
|
margin-right: 5px;
|
|
@@ -10333,11 +10340,11 @@ const Mv = () => {
|
|
|
10333
10340
|
u.value
|
|
10334
10341
|
)) })
|
|
10335
10342
|
] }) });
|
|
10336
|
-
}, Jm =
|
|
10343
|
+
}, Jm = W.div`
|
|
10337
10344
|
position: relative;
|
|
10338
10345
|
width: 100%;
|
|
10339
10346
|
margin-right: 5px;
|
|
10340
|
-
`, Qm =
|
|
10347
|
+
`, Qm = W.input`
|
|
10341
10348
|
padding-left: 10px;
|
|
10342
10349
|
padding-right: 40px;
|
|
10343
10350
|
border-radius: 5px;
|
|
@@ -10350,26 +10357,27 @@ const Mv = () => {
|
|
|
10350
10357
|
box-shadow: 0 0 0 3px #6690ff;
|
|
10351
10358
|
}
|
|
10352
10359
|
`;
|
|
10353
|
-
|
|
10360
|
+
W.div`
|
|
10354
10361
|
position: absolute;
|
|
10355
10362
|
top: 14px;
|
|
10356
10363
|
right: 10px;
|
|
10357
10364
|
cursor: pointer;
|
|
10358
10365
|
`;
|
|
10359
|
-
const pi = ({
|
|
10366
|
+
const pi = ({
|
|
10367
|
+
onChange: e,
|
|
10368
|
+
...t
|
|
10369
|
+
}) => /* @__PURE__ */ m.jsx(Jm, { children: /* @__PURE__ */ m.jsx(
|
|
10360
10370
|
Qm,
|
|
10361
10371
|
{
|
|
10362
|
-
|
|
10363
|
-
|
|
10364
|
-
onChange: (r) => t(r.target.value),
|
|
10365
|
-
placeholder: e
|
|
10372
|
+
...t,
|
|
10373
|
+
onChange: (n) => e(n.target.value)
|
|
10366
10374
|
}
|
|
10367
|
-
) }), Xm =
|
|
10375
|
+
) }), Xm = W.div`
|
|
10368
10376
|
display: flex;
|
|
10369
10377
|
flex-flow: column;
|
|
10370
10378
|
margin-bottom: ${({ marginBottom: e }) => e};
|
|
10371
10379
|
max-width: 100%;
|
|
10372
|
-
`, Zm =
|
|
10380
|
+
`, Zm = W.div`
|
|
10373
10381
|
display: flex;
|
|
10374
10382
|
align-items: center;
|
|
10375
10383
|
position: relative;
|
|
@@ -10398,7 +10406,7 @@ const pi = ({ placeholder: e, onChange: t, value: n }) => /* @__PURE__ */ m.jsx(
|
|
|
10398
10406
|
font-size: 1rem;
|
|
10399
10407
|
color: #5a5d68;
|
|
10400
10408
|
}
|
|
10401
|
-
`, ev =
|
|
10409
|
+
`, ev = W.label`
|
|
10402
10410
|
margin-bottom: 8px;
|
|
10403
10411
|
|
|
10404
10412
|
.label {
|
|
@@ -10420,7 +10428,7 @@ const pi = ({ placeholder: e, onChange: t, value: n }) => /* @__PURE__ */ m.jsx(
|
|
|
10420
10428
|
color: #5a5d68;
|
|
10421
10429
|
display: block;
|
|
10422
10430
|
}
|
|
10423
|
-
`, tv =
|
|
10431
|
+
`, tv = W.textarea`
|
|
10424
10432
|
font-family: 'Monospace', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
10425
10433
|
font-size: 0.875rem;
|
|
10426
10434
|
font-style: normal;
|
|
@@ -10494,7 +10502,7 @@ const pi = ({ placeholder: e, onChange: t, value: n }) => /* @__PURE__ */ m.jsx(
|
|
|
10494
10502
|
&.has-end-icon {
|
|
10495
10503
|
padding-right: 40px;
|
|
10496
10504
|
}
|
|
10497
|
-
`, nv =
|
|
10505
|
+
`, nv = W.div`
|
|
10498
10506
|
&.helper {
|
|
10499
10507
|
font-style: normal;
|
|
10500
10508
|
font-weight: 500;
|
|
@@ -10512,7 +10520,7 @@ const pi = ({ placeholder: e, onChange: t, value: n }) => /* @__PURE__ */ m.jsx(
|
|
|
10512
10520
|
color: #871821;
|
|
10513
10521
|
}
|
|
10514
10522
|
}
|
|
10515
|
-
`, rv =
|
|
10523
|
+
`, rv = W.div`
|
|
10516
10524
|
font-style: normal;
|
|
10517
10525
|
font-weight: 500;
|
|
10518
10526
|
font-size: 0.625rem;
|
|
@@ -10578,7 +10586,7 @@ function iv(e) {
|
|
|
10578
10586
|
return ze({ attr: { viewBox: "0 0 256 256", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M60,96v64a12,12,0,0,1-24,0V96a12,12,0,0,1,24,0ZM88,20A12,12,0,0,0,76,32V224a12,12,0,0,0,24,0V32A12,12,0,0,0,88,20Zm40,32a12,12,0,0,0-12,12V192a12,12,0,0,0,24,0V64A12,12,0,0,0,128,52Zm40,32a12,12,0,0,0-12,12v64a12,12,0,0,0,24,0V96A12,12,0,0,0,168,84Zm40-16a12,12,0,0,0-12,12v96a12,12,0,0,0,24,0V80A12,12,0,0,0,208,68Z" }, child: [] }] })(e);
|
|
10579
10587
|
}
|
|
10580
10588
|
const Uv = () => {
|
|
10581
|
-
const { id: e, language: t, personas: n, propTags: r, token: i, env: a, readonly: o } = Xn(), s = mt(t), c = Vn((V) => V.message), u = Vn((V) => V.isloading), [l, p] = me(""), [y, w] = me(""), [v, g] = me(""), [h, x] = me(""), T = Oo(), C = r ? r.tags : [], b = n && n.map((V) => ({ label: V.name, value: V.name })), d = C.map((V) => ({ label: V, value: V })),
|
|
10589
|
+
const { id: e, language: t, personas: n, propTags: r, token: i, env: a, readonly: o } = Xn(), s = mt(t), c = Vn((V) => V.message), u = Vn((V) => V.isloading), [l, p] = me(""), [y, w] = me(""), [v, g] = me(""), [h, x] = me(""), T = Oo(), C = r ? r.tags : [], b = n && n.map((V) => ({ label: V.name, value: V.name })), d = C.map((V) => ({ label: V, value: V })), A = (V) => {
|
|
10582
10590
|
g(V);
|
|
10583
10591
|
}, P = (V) => {
|
|
10584
10592
|
x(V);
|
|
@@ -10596,7 +10604,7 @@ const Uv = () => {
|
|
|
10596
10604
|
] }) }),
|
|
10597
10605
|
/* @__PURE__ */ m.jsxs(po, { children: [
|
|
10598
10606
|
/* @__PURE__ */ m.jsx(pi, { placeholder: s.testArea.typeSentence, onChange: _ }),
|
|
10599
|
-
/* @__PURE__ */ m.jsx(fo, { placeholder: s.testArea.selectPersona, options: b, onSelect:
|
|
10607
|
+
/* @__PURE__ */ m.jsx(fo, { placeholder: s.testArea.selectPersona, options: b, onSelect: A }),
|
|
10600
10608
|
/* @__PURE__ */ m.jsx(fo, { placeholder: s.testArea.selectPresset, options: d, onSelect: P }),
|
|
10601
10609
|
/* @__PURE__ */ m.jsxs("button", { onClick: H, children: [
|
|
10602
10610
|
/* @__PURE__ */ m.jsx(iv, {}),
|
|
@@ -10621,7 +10629,7 @@ const Uv = () => {
|
|
|
10621
10629
|
)
|
|
10622
10630
|
] });
|
|
10623
10631
|
return /* @__PURE__ */ m.jsx(uo, { children: q() });
|
|
10624
|
-
}, av =
|
|
10632
|
+
}, av = W.div`
|
|
10625
10633
|
position: fixed;
|
|
10626
10634
|
top: 0;
|
|
10627
10635
|
left: 0;
|
|
@@ -10634,12 +10642,12 @@ const Uv = () => {
|
|
|
10634
10642
|
display: flex;
|
|
10635
10643
|
justify-content: center;
|
|
10636
10644
|
align-items: center;
|
|
10637
|
-
`, ov =
|
|
10645
|
+
`, ov = W.div`
|
|
10638
10646
|
background: #ffffff;
|
|
10639
10647
|
width: 650px;
|
|
10640
10648
|
max-width: 95%;
|
|
10641
10649
|
border-radius: 5px;
|
|
10642
|
-
`, sv =
|
|
10650
|
+
`, sv = W.div`
|
|
10643
10651
|
display: flex;
|
|
10644
10652
|
justify-content: space-between;
|
|
10645
10653
|
align-items: center;
|
|
@@ -10662,7 +10670,7 @@ const Uv = () => {
|
|
|
10662
10670
|
height: 18px;
|
|
10663
10671
|
}
|
|
10664
10672
|
}
|
|
10665
|
-
`, cv =
|
|
10673
|
+
`, cv = W.div`
|
|
10666
10674
|
padding: 16px;
|
|
10667
10675
|
`;
|
|
10668
10676
|
function lv(e) {
|
|
@@ -10674,7 +10682,7 @@ const mo = ({ title: e, children: t, onClose: n }) => /* @__PURE__ */ m.jsx(av,
|
|
|
10674
10682
|
/* @__PURE__ */ m.jsx("button", { onClick: n, children: /* @__PURE__ */ m.jsx(lv, {}) })
|
|
10675
10683
|
] }),
|
|
10676
10684
|
/* @__PURE__ */ m.jsx(cv, { children: t })
|
|
10677
|
-
] }) }), uv =
|
|
10685
|
+
] }) }), uv = W.span`
|
|
10678
10686
|
display: inline-block;
|
|
10679
10687
|
font-size: 12px;
|
|
10680
10688
|
font-weight: 400;
|
|
@@ -10697,10 +10705,10 @@ const mo = ({ title: e, children: t, onClose: n }) => /* @__PURE__ */ m.jsx(av,
|
|
|
10697
10705
|
children: `${i}/${t}`
|
|
10698
10706
|
}
|
|
10699
10707
|
);
|
|
10700
|
-
}, dv =
|
|
10708
|
+
}, dv = W.div`
|
|
10701
10709
|
display: flex;
|
|
10702
10710
|
flex-direction: column;
|
|
10703
|
-
`, fv =
|
|
10711
|
+
`, fv = W.div`
|
|
10704
10712
|
display: flex;
|
|
10705
10713
|
justify-content: space-between;
|
|
10706
10714
|
align-items: center;
|
|
@@ -10713,7 +10721,6 @@ const mo = ({ title: e, children: t, onClose: n }) => /* @__PURE__ */ m.jsx(av,
|
|
|
10713
10721
|
|
|
10714
10722
|
h2 {
|
|
10715
10723
|
font-size: 20px;
|
|
10716
|
-
margin: 0;
|
|
10717
10724
|
}
|
|
10718
10725
|
|
|
10719
10726
|
p {
|
|
@@ -10739,17 +10746,17 @@ const mo = ({ title: e, children: t, onClose: n }) => /* @__PURE__ */ m.jsx(av,
|
|
|
10739
10746
|
height: 14px;
|
|
10740
10747
|
}
|
|
10741
10748
|
}
|
|
10742
|
-
|
|
10743
|
-
Y.div`
|
|
10749
|
+
`, mv = W.div`
|
|
10744
10750
|
width: 320px;
|
|
10745
|
-
margin-bottom:
|
|
10751
|
+
margin-bottom: 12px;
|
|
10746
10752
|
`;
|
|
10747
|
-
|
|
10753
|
+
W.div`
|
|
10748
10754
|
display: flex;
|
|
10749
10755
|
flex-direction: column;
|
|
10750
10756
|
gap: 10px;
|
|
10751
10757
|
margin-top: 12px;
|
|
10752
|
-
|
|
10758
|
+
`;
|
|
10759
|
+
W.div`
|
|
10753
10760
|
display: flex;
|
|
10754
10761
|
justify-content: space-between;
|
|
10755
10762
|
align-items: center;
|
|
@@ -10778,7 +10785,7 @@ const mv = Y.div`
|
|
|
10778
10785
|
gap: 8px;
|
|
10779
10786
|
|
|
10780
10787
|
button {
|
|
10781
|
-
background:
|
|
10788
|
+
background: red;
|
|
10782
10789
|
border: 1px solid #dcdfe6;
|
|
10783
10790
|
padding: 6px 10px;
|
|
10784
10791
|
border-radius: 4px;
|
|
@@ -10795,7 +10802,8 @@ const mv = Y.div`
|
|
|
10795
10802
|
}
|
|
10796
10803
|
}
|
|
10797
10804
|
}
|
|
10798
|
-
|
|
10805
|
+
`;
|
|
10806
|
+
const vo = W.div`
|
|
10799
10807
|
display: flex;
|
|
10800
10808
|
justify-content: flex-end;
|
|
10801
10809
|
gap: 10px;
|
|
@@ -10815,12 +10823,79 @@ const mv = Y.div`
|
|
|
10815
10823
|
background: #102693;
|
|
10816
10824
|
color: white;
|
|
10817
10825
|
}
|
|
10818
|
-
`,
|
|
10826
|
+
`, vv = W.div`
|
|
10819
10827
|
display: flex;
|
|
10820
10828
|
flex-direction: column;
|
|
10821
10829
|
gap: 12px;
|
|
10822
10830
|
margin-bottom: 12px;
|
|
10823
10831
|
max-width: 100%;
|
|
10832
|
+
`, hv = W.table`
|
|
10833
|
+
|
|
10834
|
+
.tr-Row {
|
|
10835
|
+
display: flex;
|
|
10836
|
+
justify-content: space-between;
|
|
10837
|
+
align-items: center;
|
|
10838
|
+
|
|
10839
|
+
background: white;
|
|
10840
|
+
padding: 14px;
|
|
10841
|
+
border-radius: 5px;
|
|
10842
|
+
border: 1px solid #dcdfe6;
|
|
10843
|
+
margin-bottom: 2px;
|
|
10844
|
+
|
|
10845
|
+
.info {
|
|
10846
|
+
display: flex;
|
|
10847
|
+
flex-direction: column;
|
|
10848
|
+
|
|
10849
|
+
strong {
|
|
10850
|
+
font-size: 14px;
|
|
10851
|
+
}
|
|
10852
|
+
|
|
10853
|
+
span {
|
|
10854
|
+
font-size: 13px;
|
|
10855
|
+
color: #5a5d68;
|
|
10856
|
+
margin-top: 2px;
|
|
10857
|
+
}
|
|
10858
|
+
}
|
|
10859
|
+
|
|
10860
|
+
.actions {
|
|
10861
|
+
display: flex;
|
|
10862
|
+
gap: 8px;
|
|
10863
|
+
|
|
10864
|
+
button {
|
|
10865
|
+
background: #f3f5f9;
|
|
10866
|
+
cursor: pointer;
|
|
10867
|
+
border: 1px solid #dcdfe6;
|
|
10868
|
+
padding: 8px 12px;
|
|
10869
|
+
border-radius: 4px;
|
|
10870
|
+
color: rgb(16, 38, 147);
|
|
10871
|
+
|
|
10872
|
+
display: flex;
|
|
10873
|
+
align-items: center;
|
|
10874
|
+
gap: 6px;
|
|
10875
|
+
|
|
10876
|
+
font-size: 12px;
|
|
10877
|
+
|
|
10878
|
+
svg {
|
|
10879
|
+
width: 12px;
|
|
10880
|
+
height: 12px;
|
|
10881
|
+
}
|
|
10882
|
+
|
|
10883
|
+
&:hover {
|
|
10884
|
+
background: #dadce3;
|
|
10885
|
+
}
|
|
10886
|
+
}
|
|
10887
|
+
|
|
10888
|
+
.button-delete {
|
|
10889
|
+
background: #fae0d2;
|
|
10890
|
+
border: 1px solid #f5c2c2;
|
|
10891
|
+
color: #5b0a1f;
|
|
10892
|
+
|
|
10893
|
+
&:hover {
|
|
10894
|
+
background: #f5bba7;
|
|
10895
|
+
}
|
|
10896
|
+
}
|
|
10897
|
+
}
|
|
10898
|
+
}
|
|
10824
10899
|
`, qv = () => {
|
|
10825
10900
|
var q, V, R, L, te, G, ce;
|
|
10826
10901
|
const { language: e } = Xn(), t = mt(e), [n, r] = me([]), { createPersona: i, personas: a, updatePersona: o, deletePersona: s } = Xn(), [c, u] = me(""), [l, p] = me(!1), [y, w] = me(null), [v, g] = me(!1), [h, x] = me(null), [T, C] = me({
|
|
@@ -10835,7 +10910,7 @@ const mv = Y.div`
|
|
|
10835
10910
|
description: M.description,
|
|
10836
10911
|
prompt: M.prompt
|
|
10837
10912
|
}), p(!0);
|
|
10838
|
-
},
|
|
10913
|
+
}, A = (M) => {
|
|
10839
10914
|
w(null), C({
|
|
10840
10915
|
name: `${t.copyPrefix} ${M.name}`,
|
|
10841
10916
|
description: M.description,
|
|
@@ -10871,7 +10946,7 @@ const mv = Y.div`
|
|
|
10871
10946
|
);
|
|
10872
10947
|
return /* @__PURE__ */ m.jsxs(dv, { children: [
|
|
10873
10948
|
/* @__PURE__ */ m.jsxs(fv, { children: [
|
|
10874
|
-
/* @__PURE__ */ m.jsxs("div", { children: [
|
|
10949
|
+
/* @__PURE__ */ m.jsxs("div", { className: "infos", children: [
|
|
10875
10950
|
/* @__PURE__ */ m.jsx("h2", { children: (q = t.personas) == null ? void 0 : q.title }),
|
|
10876
10951
|
/* @__PURE__ */ m.jsx("p", { children: (V = t.personas) == null ? void 0 : V.description })
|
|
10877
10952
|
] }),
|
|
@@ -10881,38 +10956,39 @@ const mv = Y.div`
|
|
|
10881
10956
|
(R = t.personas) == null ? void 0 : R.add
|
|
10882
10957
|
] })
|
|
10883
10958
|
] }),
|
|
10884
|
-
/* @__PURE__ */ m.jsx(ic, { placeholder: t.search, setFiles: r, initialFiles: a }),
|
|
10885
|
-
/* @__PURE__ */ m.jsx(
|
|
10886
|
-
/* @__PURE__ */ m.jsxs("div", { className: "info", children: [
|
|
10887
|
-
/* @__PURE__ */ m.jsx("strong", { children: M.name }),
|
|
10959
|
+
/* @__PURE__ */ m.jsx(mv, { children: /* @__PURE__ */ m.jsx(ic, { placeholder: t.search, setFiles: r, initialFiles: a }) }),
|
|
10960
|
+
/* @__PURE__ */ m.jsx(hv, { children: /* @__PURE__ */ m.jsx("tbody", { children: H == null ? void 0 : H.map((M) => /* @__PURE__ */ m.jsxs("tr", { className: "tr-Row", children: [
|
|
10961
|
+
/* @__PURE__ */ m.jsx("td", { children: /* @__PURE__ */ m.jsxs("div", { className: "info", children: [
|
|
10962
|
+
/* @__PURE__ */ m.jsx("p", { children: /* @__PURE__ */ m.jsx("strong", { children: M.name }) }),
|
|
10888
10963
|
/* @__PURE__ */ m.jsx("span", { children: M.description })
|
|
10889
|
-
] }),
|
|
10890
|
-
M.created_at && /* @__PURE__ */ m.jsxs("div", { className: "actions", children: [
|
|
10964
|
+
] }) }),
|
|
10965
|
+
/* @__PURE__ */ m.jsx("td", { className: "td-actions", children: M.created_at && /* @__PURE__ */ m.jsxs("div", { className: "actions", children: [
|
|
10891
10966
|
/* @__PURE__ */ m.jsxs("button", { onClick: () => d(M), children: [
|
|
10892
10967
|
/* @__PURE__ */ m.jsx(xf, {}),
|
|
10893
10968
|
" ",
|
|
10894
10969
|
t.edit
|
|
10895
10970
|
] }),
|
|
10896
|
-
/* @__PURE__ */ m.jsxs("button", { onClick: () =>
|
|
10971
|
+
/* @__PURE__ */ m.jsxs("button", { onClick: () => A(M), children: [
|
|
10897
10972
|
/* @__PURE__ */ m.jsx(gf, {}),
|
|
10898
10973
|
" ",
|
|
10899
10974
|
t.clone
|
|
10900
10975
|
] }),
|
|
10901
|
-
/* @__PURE__ */ m.jsxs("button", { onClick: () => _(M), children: [
|
|
10976
|
+
/* @__PURE__ */ m.jsxs("button", { className: "button-delete", onClick: () => _(M), children: [
|
|
10902
10977
|
/* @__PURE__ */ m.jsx(wf, {}),
|
|
10903
10978
|
" ",
|
|
10904
10979
|
t.delete
|
|
10905
10980
|
] })
|
|
10906
|
-
] })
|
|
10907
|
-
] }, M.id)) }),
|
|
10981
|
+
] }) })
|
|
10982
|
+
] }, M.id)) }) }),
|
|
10908
10983
|
l && /* @__PURE__ */ m.jsxs(mo, { onClose: () => p(!1), title: (L = t.personas) == null ? void 0 : L.modalTitle, children: [
|
|
10909
|
-
/* @__PURE__ */ m.jsxs(
|
|
10984
|
+
/* @__PURE__ */ m.jsxs(vv, { children: [
|
|
10910
10985
|
/* @__PURE__ */ m.jsx(
|
|
10911
10986
|
pi,
|
|
10912
10987
|
{
|
|
10913
10988
|
value: T.name,
|
|
10914
10989
|
placeholder: (te = t.personas) == null ? void 0 : te.fields.name,
|
|
10915
|
-
onChange: (M) => C({ ...T, name: M })
|
|
10990
|
+
onChange: (M) => C({ ...T, name: M }),
|
|
10991
|
+
maxLength: 50
|
|
10916
10992
|
}
|
|
10917
10993
|
),
|
|
10918
10994
|
/* @__PURE__ */ m.jsx(
|
|
@@ -10920,7 +10996,8 @@ const mv = Y.div`
|
|
|
10920
10996
|
{
|
|
10921
10997
|
value: T.description,
|
|
10922
10998
|
placeholder: (G = t.personas) == null ? void 0 : G.fields.description,
|
|
10923
|
-
onChange: (M) => C({ ...T, description: M })
|
|
10999
|
+
onChange: (M) => C({ ...T, description: M }),
|
|
11000
|
+
maxLength: 200
|
|
10924
11001
|
}
|
|
10925
11002
|
)
|
|
10926
11003
|
] }),
|