beca-ui 2.1.1-beta.14 → 2.1.1-beta.16
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/README.md +6 -0
- package/dist/beca-ui.js +219 -219
- package/dist/main.css +1 -1
- package/package.json +1 -1
package/dist/beca-ui.js
CHANGED
|
@@ -4,7 +4,7 @@ var V0 = (e, t, n) => (HSe(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
|
4
4
|
import "./main.css";
|
|
5
5
|
import * as p from "react";
|
|
6
6
|
import G, { isValidElement as T7, version as _D, useContext as hr, createContext as Cu, useRef as mt, useLayoutEffect as Ole, useEffect as Ft, useState as rt, useCallback as Ii, useImperativeHandle as ea, forwardRef as go, useMemo as Sn, Children as kD, cloneElement as jSe, memo as Fj, Component as zp, createElement as Zh, createRef as Bj, useDebugValue as Nle, PureComponent as M7 } from "react";
|
|
7
|
-
import { jsxs as xt, jsx as L, Fragment as
|
|
7
|
+
import { jsxs as xt, jsx as L, Fragment as Oa } from "react/jsx-runtime";
|
|
8
8
|
function FSe(e, t) {
|
|
9
9
|
for (var n = 0; n < t.length; n++) {
|
|
10
10
|
const r = t[n];
|
|
@@ -2699,7 +2699,7 @@ function JSe() {
|
|
|
2699
2699
|
throw Error(n(108, re(b) || "Unknown", Q));
|
|
2700
2700
|
return j({}, I, W);
|
|
2701
2701
|
}
|
|
2702
|
-
function
|
|
2702
|
+
function Ta(b) {
|
|
2703
2703
|
return b = (b = b.stateNode) && b.__reactInternalMemoizedMergedChildContext || cl, Yl = Hi.current, cr(Hi, b), cr(ba, ba.current), !0;
|
|
2704
2704
|
}
|
|
2705
2705
|
function Xv(b, w, I) {
|
|
@@ -2988,14 +2988,14 @@ function JSe() {
|
|
|
2988
2988
|
return null;
|
|
2989
2989
|
}
|
|
2990
2990
|
function Gn(st, et, gt, ln) {
|
|
2991
|
-
for (var Xn = null, Cr = null, wr = et, kr = et = 0,
|
|
2992
|
-
wr.index > kr ? (
|
|
2991
|
+
for (var Xn = null, Cr = null, wr = et, kr = et = 0, Ia = null; wr !== null && kr < gt.length; kr++) {
|
|
2992
|
+
wr.index > kr ? (Ia = wr, wr = null) : Ia = wr.sibling;
|
|
2993
2993
|
var xo = Qt(st, wr, gt[kr], ln);
|
|
2994
2994
|
if (xo === null) {
|
|
2995
|
-
wr === null && (wr =
|
|
2995
|
+
wr === null && (wr = Ia);
|
|
2996
2996
|
break;
|
|
2997
2997
|
}
|
|
2998
|
-
b && wr && xo.alternate === null && w(st, wr), et = se(xo, et, kr), Cr === null ? Xn = xo : Cr.sibling = xo, Cr = xo, wr =
|
|
2998
|
+
b && wr && xo.alternate === null && w(st, wr), et = se(xo, et, kr), Cr === null ? Xn = xo : Cr.sibling = xo, Cr = xo, wr = Ia;
|
|
2999
2999
|
}
|
|
3000
3000
|
if (kr === gt.length)
|
|
3001
3001
|
return I(st, wr), pi && rh(st, kr), Xn;
|
|
@@ -3005,7 +3005,7 @@ function JSe() {
|
|
|
3005
3005
|
return pi && rh(st, kr), Xn;
|
|
3006
3006
|
}
|
|
3007
3007
|
for (wr = W(st, wr); kr < gt.length; kr++)
|
|
3008
|
-
|
|
3008
|
+
Ia = An(wr, st, kr, gt[kr], ln), Ia !== null && (b && Ia.alternate !== null && wr.delete(Ia.key === null ? kr : Ia.key), et = se(Ia, et, kr), Cr === null ? Xn = Ia : Cr.sibling = Ia, Cr = Ia);
|
|
3009
3009
|
return b && wr.forEach(function(qf) {
|
|
3010
3010
|
return w(st, qf);
|
|
3011
3011
|
}), pi && rh(st, kr), Xn;
|
|
@@ -3016,14 +3016,14 @@ function JSe() {
|
|
|
3016
3016
|
throw Error(n(150));
|
|
3017
3017
|
if (gt = Xn.call(gt), gt == null)
|
|
3018
3018
|
throw Error(n(151));
|
|
3019
|
-
for (var Cr = Xn = null, wr = et, kr = et = 0,
|
|
3020
|
-
wr.index > kr ? (
|
|
3019
|
+
for (var Cr = Xn = null, wr = et, kr = et = 0, Ia = null, xo = gt.next(); wr !== null && !xo.done; kr++, xo = gt.next()) {
|
|
3020
|
+
wr.index > kr ? (Ia = wr, wr = null) : Ia = wr.sibling;
|
|
3021
3021
|
var qf = Qt(st, wr, xo.value, ln);
|
|
3022
3022
|
if (qf === null) {
|
|
3023
|
-
wr === null && (wr =
|
|
3023
|
+
wr === null && (wr = Ia);
|
|
3024
3024
|
break;
|
|
3025
3025
|
}
|
|
3026
|
-
b && wr && qf.alternate === null && w(st, wr), et = se(qf, et, kr), Cr === null ? Xn = qf : Cr.sibling = qf, Cr = qf, wr =
|
|
3026
|
+
b && wr && qf.alternate === null && w(st, wr), et = se(qf, et, kr), Cr === null ? Xn = qf : Cr.sibling = qf, Cr = qf, wr = Ia;
|
|
3027
3027
|
}
|
|
3028
3028
|
if (xo.done)
|
|
3029
3029
|
return I(
|
|
@@ -3320,7 +3320,7 @@ function JSe() {
|
|
|
3320
3320
|
Zg[b]._workInProgressVersionPrimary = null;
|
|
3321
3321
|
Zg.length = 0;
|
|
3322
3322
|
}
|
|
3323
|
-
var Wr = N.ReactCurrentDispatcher, So = N.ReactCurrentBatchConfig, Ho = 0, wo = null, oa = null,
|
|
3323
|
+
var Wr = N.ReactCurrentDispatcher, So = N.ReactCurrentBatchConfig, Ho = 0, wo = null, oa = null, Ma = null, o3 = !1, Jg = !1, ch = 0, Zt = 0;
|
|
3324
3324
|
function fo() {
|
|
3325
3325
|
throw Error(n(321));
|
|
3326
3326
|
}
|
|
@@ -3338,10 +3338,10 @@ function JSe() {
|
|
|
3338
3338
|
do {
|
|
3339
3339
|
if (Jg = !1, ch = 0, 25 <= se)
|
|
3340
3340
|
throw Error(n(301));
|
|
3341
|
-
se += 1,
|
|
3341
|
+
se += 1, Ma = oa = null, w.updateQueue = null, Wr.current = C3, b = I(W, Q);
|
|
3342
3342
|
} while (Jg);
|
|
3343
3343
|
}
|
|
3344
|
-
if (Wr.current = hh, w = oa !== null && oa.next !== null, Ho = 0,
|
|
3344
|
+
if (Wr.current = hh, w = oa !== null && oa.next !== null, Ho = 0, Ma = oa = wo = null, o3 = !1, w)
|
|
3345
3345
|
throw Error(n(300));
|
|
3346
3346
|
return b;
|
|
3347
3347
|
}
|
|
@@ -3351,7 +3351,7 @@ function JSe() {
|
|
|
3351
3351
|
}
|
|
3352
3352
|
function ul() {
|
|
3353
3353
|
var b = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
|
|
3354
|
-
return
|
|
3354
|
+
return Ma === null ? wo.memoizedState = Ma = b : Ma = Ma.next = b, Ma;
|
|
3355
3355
|
}
|
|
3356
3356
|
function Ki() {
|
|
3357
3357
|
if (oa === null) {
|
|
@@ -3359,15 +3359,15 @@ function JSe() {
|
|
|
3359
3359
|
b = b !== null ? b.memoizedState : null;
|
|
3360
3360
|
} else
|
|
3361
3361
|
b = oa.next;
|
|
3362
|
-
var w =
|
|
3362
|
+
var w = Ma === null ? wo.memoizedState : Ma.next;
|
|
3363
3363
|
if (w !== null)
|
|
3364
|
-
|
|
3364
|
+
Ma = w, oa = b;
|
|
3365
3365
|
else {
|
|
3366
3366
|
if (b === null)
|
|
3367
3367
|
throw Error(n(310));
|
|
3368
|
-
oa = b, b = { memoizedState: oa.memoizedState, baseState: oa.baseState, baseQueue: oa.baseQueue, queue: oa.queue, next: null },
|
|
3368
|
+
oa = b, b = { memoizedState: oa.memoizedState, baseState: oa.baseState, baseQueue: oa.baseQueue, queue: oa.queue, next: null }, Ma === null ? wo.memoizedState = Ma = b : Ma = Ma.next = b;
|
|
3369
3369
|
}
|
|
3370
|
-
return
|
|
3370
|
+
return Ma;
|
|
3371
3371
|
}
|
|
3372
3372
|
function Md(b, w) {
|
|
3373
3373
|
return typeof w == "function" ? w(b) : w;
|
|
@@ -3435,7 +3435,7 @@ function JSe() {
|
|
|
3435
3435
|
}
|
|
3436
3436
|
function a3(b, w) {
|
|
3437
3437
|
var I = wo, W = Ki(), Q = w(), se = !Fc(W.memoizedState, Q);
|
|
3438
|
-
if (se && (W.memoizedState = Q, ia = !0), W = W.queue, Qg(c3.bind(null, I, W, b), [b]), W.getSnapshot !== w || se ||
|
|
3438
|
+
if (se && (W.memoizedState = Q, ia = !0), W = W.queue, Qg(c3.bind(null, I, W, b), [b]), W.getSnapshot !== w || se || Ma !== null && Ma.memoizedState.tag & 1) {
|
|
3439
3439
|
if (I.flags |= 2048, dh(9, s3.bind(null, I, W, Q, w), void 0, null), Sa === null)
|
|
3440
3440
|
throw Error(n(349));
|
|
3441
3441
|
Ho & 30 || l3(I, w, Q);
|
|
@@ -3859,7 +3859,7 @@ Error generating stack: ` + se.message + `
|
|
|
3859
3859
|
function TS(b, w, I, W, Q) {
|
|
3860
3860
|
if (na(I)) {
|
|
3861
3861
|
var se = !0;
|
|
3862
|
-
|
|
3862
|
+
Ta(w);
|
|
3863
3863
|
} else
|
|
3864
3864
|
se = !1;
|
|
3865
3865
|
if (Ei(w, Q), w.stateNode === null)
|
|
@@ -4062,7 +4062,7 @@ Error generating stack: ` + se.message + `
|
|
|
4062
4062
|
SS(w);
|
|
4063
4063
|
break;
|
|
4064
4064
|
case 1:
|
|
4065
|
-
na(w.type) &&
|
|
4065
|
+
na(w.type) && Ta(w);
|
|
4066
4066
|
break;
|
|
4067
4067
|
case 4:
|
|
4068
4068
|
D5(w, w.stateNode.containerInfo);
|
|
@@ -4179,7 +4179,7 @@ Error generating stack: ` + se.message + `
|
|
|
4179
4179
|
W === null ? w || b.tail === null ? b.tail = null : b.tail.sibling = null : W.sibling = null;
|
|
4180
4180
|
}
|
|
4181
4181
|
}
|
|
4182
|
-
function
|
|
4182
|
+
function Ra(b) {
|
|
4183
4183
|
var w = b.alternate !== null && b.alternate.child === b.child, I = 0, W = 0;
|
|
4184
4184
|
if (w)
|
|
4185
4185
|
for (var Q = b.child; Q !== null; )
|
|
@@ -4202,11 +4202,11 @@ Error generating stack: ` + se.message + `
|
|
|
4202
4202
|
case 12:
|
|
4203
4203
|
case 9:
|
|
4204
4204
|
case 14:
|
|
4205
|
-
return
|
|
4205
|
+
return Ra(w), null;
|
|
4206
4206
|
case 1:
|
|
4207
|
-
return na(w.type) && D1(),
|
|
4207
|
+
return na(w.type) && D1(), Ra(w), null;
|
|
4208
4208
|
case 3:
|
|
4209
|
-
return W = w.stateNode, sh(), Qo(ba), Qo(Hi), gr(), W.pendingContext && (W.context = W.pendingContext, W.pendingContext = null), (b === null || b.child === null) && (Qv(w) ? w.flags |= 4 : b === null || b.memoizedState.isDehydrated && !(w.flags & 256) || (w.flags |= 1024, dc !== null && (bh(dc), dc = null))), aa(b, w),
|
|
4209
|
+
return W = w.stateNode, sh(), Qo(ba), Qo(Hi), gr(), W.pendingContext && (W.context = W.pendingContext, W.pendingContext = null), (b === null || b.child === null) && (Qv(w) ? w.flags |= 4 : b === null || b.memoizedState.isDehydrated && !(w.flags & 256) || (w.flags |= 1024, dc !== null && (bh(dc), dc = null))), aa(b, w), Ra(w), null;
|
|
4210
4210
|
case 5:
|
|
4211
4211
|
n3(w);
|
|
4212
4212
|
var Q = lh(Yg.current);
|
|
@@ -4216,7 +4216,7 @@ Error generating stack: ` + se.message + `
|
|
|
4216
4216
|
if (!W) {
|
|
4217
4217
|
if (w.stateNode === null)
|
|
4218
4218
|
throw Error(n(166));
|
|
4219
|
-
return
|
|
4219
|
+
return Ra(w), null;
|
|
4220
4220
|
}
|
|
4221
4221
|
if (b = lh(Iu.current), Qv(w)) {
|
|
4222
4222
|
W = w.stateNode, I = w.type;
|
|
@@ -4374,7 +4374,7 @@ Error generating stack: ` + se.message + `
|
|
|
4374
4374
|
}
|
|
4375
4375
|
w.ref !== null && (w.flags |= 512, w.flags |= 2097152);
|
|
4376
4376
|
}
|
|
4377
|
-
return
|
|
4377
|
+
return Ra(w), null;
|
|
4378
4378
|
case 6:
|
|
4379
4379
|
if (b && w.stateNode != null)
|
|
4380
4380
|
_S(b, w, b.memoizedProps, W);
|
|
@@ -4394,7 +4394,7 @@ Error generating stack: ` + se.message + `
|
|
|
4394
4394
|
} else
|
|
4395
4395
|
W = (I.nodeType === 9 ? I : I.ownerDocument).createTextNode(W), W[Ou] = w, w.stateNode = W;
|
|
4396
4396
|
}
|
|
4397
|
-
return
|
|
4397
|
+
return Ra(w), null;
|
|
4398
4398
|
case 13:
|
|
4399
4399
|
if (Qo($i), W = w.memoizedState, b === null || b.memoizedState !== null && b.memoizedState.dehydrated !== null) {
|
|
4400
4400
|
if (pi && Ql !== null && w.mode & 1 && !(w.flags & 128))
|
|
@@ -4408,22 +4408,22 @@ Error generating stack: ` + se.message + `
|
|
|
4408
4408
|
se[Ou] = w;
|
|
4409
4409
|
} else
|
|
4410
4410
|
Df(), !(w.flags & 128) && (w.memoizedState = null), w.flags |= 4;
|
|
4411
|
-
|
|
4411
|
+
Ra(w), se = !1;
|
|
4412
4412
|
} else
|
|
4413
4413
|
dc !== null && (bh(dc), dc = null), se = !0;
|
|
4414
4414
|
if (!se)
|
|
4415
4415
|
return w.flags & 65536 ? w : null;
|
|
4416
4416
|
}
|
|
4417
|
-
return w.flags & 128 ? (w.lanes = I, w) : (W = W !== null, W !== (b !== null && b.memoizedState !== null) && W && (w.child.flags |= 8192, w.mode & 1 && (b === null || $i.current & 1 ? Gi === 0 && (Gi = 3) : nC())), w.updateQueue !== null && (w.flags |= 4),
|
|
4417
|
+
return w.flags & 128 ? (w.lanes = I, w) : (W = W !== null, W !== (b !== null && b.memoizedState !== null) && W && (w.child.flags |= 8192, w.mode & 1 && (b === null || $i.current & 1 ? Gi === 0 && (Gi = 3) : nC())), w.updateQueue !== null && (w.flags |= 4), Ra(w), null);
|
|
4418
4418
|
case 4:
|
|
4419
|
-
return sh(), aa(b, w), b === null && I1(w.stateNode.containerInfo),
|
|
4419
|
+
return sh(), aa(b, w), b === null && I1(w.stateNode.containerInfo), Ra(w), null;
|
|
4420
4420
|
case 10:
|
|
4421
|
-
return R5(w.type._context),
|
|
4421
|
+
return R5(w.type._context), Ra(w), null;
|
|
4422
4422
|
case 17:
|
|
4423
|
-
return na(w.type) && D1(),
|
|
4423
|
+
return na(w.type) && D1(), Ra(w), null;
|
|
4424
4424
|
case 19:
|
|
4425
4425
|
if (Qo($i), se = w.memoizedState, se === null)
|
|
4426
|
-
return
|
|
4426
|
+
return Ra(w), null;
|
|
4427
4427
|
if (W = (w.flags & 128) !== 0, Ee = se.rendering, Ee === null)
|
|
4428
4428
|
if (W)
|
|
4429
4429
|
d0(se, !1);
|
|
@@ -4443,15 +4443,15 @@ Error generating stack: ` + se.message + `
|
|
|
4443
4443
|
if (!W)
|
|
4444
4444
|
if (b = r3(Ee), b !== null) {
|
|
4445
4445
|
if (w.flags |= 128, W = !0, I = b.updateQueue, I !== null && (w.updateQueue = I, w.flags |= 4), d0(se, !0), se.tail === null && se.tailMode === "hidden" && !Ee.alternate && !pi)
|
|
4446
|
-
return
|
|
4446
|
+
return Ra(w), null;
|
|
4447
4447
|
} else
|
|
4448
4448
|
2 * ot() - se.renderingStartTime > U1 && I !== 1073741824 && (w.flags |= 128, W = !0, d0(se, !1), w.lanes = 4194304);
|
|
4449
4449
|
se.isBackwards ? (Ee.sibling = w.child, w.child = Ee) : (I = se.last, I !== null ? I.sibling = Ee : w.child = Ee, se.last = Ee);
|
|
4450
4450
|
}
|
|
4451
|
-
return se.tail !== null ? (w = se.tail, se.rendering = w, se.tail = w.sibling, se.renderingStartTime = ot(), w.sibling = null, I = $i.current, cr($i, W ? I & 1 | 2 : I & 1), w) : (
|
|
4451
|
+
return se.tail !== null ? (w = se.tail, se.rendering = w, se.tail = w.sibling, se.renderingStartTime = ot(), w.sibling = null, I = $i.current, cr($i, W ? I & 1 | 2 : I & 1), w) : (Ra(w), null);
|
|
4452
4452
|
case 22:
|
|
4453
4453
|
case 23:
|
|
4454
|
-
return tC(), W = w.memoizedState !== null, b !== null && b.memoizedState !== null !== W && (w.flags |= 8192), W && w.mode & 1 ? js & 1073741824 && (
|
|
4454
|
+
return tC(), W = w.memoizedState !== null, b !== null && b.memoizedState !== null !== W && (w.flags |= 8192), W && w.mode & 1 ? js & 1073741824 && (Ra(w), w.subtreeFlags & 6 && (w.flags |= 8192)) : Ra(w), null;
|
|
4455
4455
|
case 24:
|
|
4456
4456
|
return null;
|
|
4457
4457
|
case 25:
|
|
@@ -5446,7 +5446,7 @@ Error generating stack: ` + se.message + `
|
|
|
5446
5446
|
}
|
|
5447
5447
|
o3 = !1;
|
|
5448
5448
|
}
|
|
5449
|
-
if (Ho = 0,
|
|
5449
|
+
if (Ho = 0, Ma = oa = wo = null, Jg = !1, ch = 0, vh.current = null, I === null || I.return === null) {
|
|
5450
5450
|
Gi = 1, v0 = w, la = null;
|
|
5451
5451
|
break;
|
|
5452
5452
|
}
|
|
@@ -5806,7 +5806,7 @@ Error generating stack: ` + se.message + `
|
|
|
5806
5806
|
var Q = Zl(w, Hi.current);
|
|
5807
5807
|
Ei(w, I), Q = zf(null, w, W, b, Q, I);
|
|
5808
5808
|
var se = Vc();
|
|
5809
|
-
return w.flags |= 1, typeof Q == "object" && Q !== null && typeof Q.render == "function" && Q.$$typeof === void 0 ? (w.tag = 1, w.memoizedState = null, w.updateQueue = null, na(W) ? (se = !0,
|
|
5809
|
+
return w.flags |= 1, typeof Q == "object" && Q !== null && typeof Q.render == "function" && Q.$$typeof === void 0 ? (w.tag = 1, w.memoizedState = null, w.updateQueue = null, na(W) ? (se = !0, Ta(w)) : se = !1, w.memoizedState = Q.state !== null && Q.state !== void 0 ? Q.state : null, P5(w), Q.updater = S3, w.stateNode = Q, Q._reactInternals = w, i0(w, W, b, I), w = s0(null, w, W, !0, se, I)) : (w.tag = 0, pi && se && Zv(w), Ba(null, w, Q, I), w = w.child), w;
|
|
5810
5810
|
case 16:
|
|
5811
5811
|
W = w.elementType;
|
|
5812
5812
|
e: {
|
|
@@ -5944,7 +5944,7 @@ Error generating stack: ` + se.message + `
|
|
|
5944
5944
|
case 15:
|
|
5945
5945
|
return Br(b, w, w.type, w.pendingProps, I);
|
|
5946
5946
|
case 17:
|
|
5947
|
-
return W = w.type, Q = w.pendingProps, Q = w.elementType === W ? Q : Wc(W, Q), pc(b, w), w.tag = 1, na(W) ? (b = !0,
|
|
5947
|
+
return W = w.type, Q = w.pendingProps, Q = w.elementType === W ? Q : Wc(W, Q), pc(b, w), w.tag = 1, na(W) ? (b = !0, Ta(w)) : b = !1, Ei(w, I), w3(w, W, Q), i0(w, W, Q, I), s0(null, w, W, !0, b, I);
|
|
5948
5948
|
case 19:
|
|
5949
5949
|
return _u(b, w, I);
|
|
5950
5950
|
case 22:
|
|
@@ -8757,7 +8757,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
8757
8757
|
), Ug = (
|
|
8758
8758
|
/* */
|
|
8759
8759
|
32768
|
|
8760
|
-
),
|
|
8760
|
+
), Ta = (
|
|
8761
8761
|
/* */
|
|
8762
8762
|
65536
|
|
8763
8763
|
), Xv = (
|
|
@@ -9111,10 +9111,10 @@ Check the render method of \`` + f + "`." : "";
|
|
|
9111
9111
|
), wo = (
|
|
9112
9112
|
/* */
|
|
9113
9113
|
16
|
|
9114
|
-
), oa = Math.clz32 ? Math.clz32 : Jg,
|
|
9114
|
+
), oa = Math.clz32 ? Math.clz32 : Jg, Ma = Math.log, o3 = Math.LN2;
|
|
9115
9115
|
function Jg(f) {
|
|
9116
9116
|
var m = f >>> 0;
|
|
9117
|
-
return m === 0 ? 32 : 31 - (
|
|
9117
|
+
return m === 0 ? 32 : 31 - (Ma(m) / o3 | 0) | 0;
|
|
9118
9118
|
}
|
|
9119
9119
|
var ch = 31, Zt = (
|
|
9120
9120
|
/* */
|
|
@@ -9591,12 +9591,12 @@ Check the render method of \`` + f + "`." : "";
|
|
|
9591
9591
|
function d0(f, m) {
|
|
9592
9592
|
return f > m ? f : m;
|
|
9593
9593
|
}
|
|
9594
|
-
function
|
|
9594
|
+
function Ra(f, m) {
|
|
9595
9595
|
return f !== 0 && f < m;
|
|
9596
9596
|
}
|
|
9597
9597
|
function kS(f) {
|
|
9598
9598
|
var m = jf(f);
|
|
9599
|
-
return
|
|
9599
|
+
return Ra(wl, m) ? Ra(_u, m) ? i0(m) ? pc : hc : _u : wl;
|
|
9600
9600
|
}
|
|
9601
9601
|
function O3(f) {
|
|
9602
9602
|
var m = f.current.memoizedState;
|
|
@@ -9764,7 +9764,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
9764
9764
|
blockedOn: null,
|
|
9765
9765
|
target: f,
|
|
9766
9766
|
priority: m
|
|
9767
|
-
}, M = 0; M < El.length &&
|
|
9767
|
+
}, M = 0; M < El.length && Ra(m, El[M].priority); M++)
|
|
9768
9768
|
;
|
|
9769
9769
|
El.splice(M, 0, E), M === 0 && Y5(E);
|
|
9770
9770
|
}
|
|
@@ -10618,7 +10618,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
10618
10618
|
E = Cr(wr(E));
|
|
10619
10619
|
}
|
|
10620
10620
|
}
|
|
10621
|
-
function
|
|
10621
|
+
function Ia(f) {
|
|
10622
10622
|
var m = f.ownerDocument, E = m && m.defaultView || window, M = E.getSelection && E.getSelection();
|
|
10623
10623
|
if (!M || M.rangeCount === 0)
|
|
10624
10624
|
return null;
|
|
@@ -10726,7 +10726,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
10726
10726
|
return "selectionStart" in f ? m = {
|
|
10727
10727
|
start: f.selectionStart,
|
|
10728
10728
|
end: f.selectionEnd
|
|
10729
|
-
} : m =
|
|
10729
|
+
} : m = Ia(f), m || {
|
|
10730
10730
|
start: 0,
|
|
10731
10731
|
end: 0
|
|
10732
10732
|
};
|
|
@@ -13307,7 +13307,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
13307
13307
|
M !== null && (ns(E.lanes, m) && WC(), E.firstContext = null);
|
|
13308
13308
|
}
|
|
13309
13309
|
}
|
|
13310
|
-
function
|
|
13310
|
+
function _a(f) {
|
|
13311
13311
|
_w && a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");
|
|
13312
13312
|
var m = f._currentValue;
|
|
13313
13313
|
if (MI !== f) {
|
|
@@ -13498,7 +13498,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
13498
13498
|
return te;
|
|
13499
13499
|
}
|
|
13500
13500
|
case kI:
|
|
13501
|
-
f.flags = f.flags & ~
|
|
13501
|
+
f.flags = f.flags & ~Ta | cr;
|
|
13502
13502
|
case ZK: {
|
|
13503
13503
|
var Ce = E.payload, Me;
|
|
13504
13504
|
if (typeof Ce == "function") {
|
|
@@ -14345,7 +14345,7 @@ Incoming: %s`, jt, "[" + m.join(", ") + "]", "[" + f.join(", ") + "]");
|
|
|
14345
14345
|
Zg(f, m);
|
|
14346
14346
|
}
|
|
14347
14347
|
var rx = {
|
|
14348
|
-
readContext:
|
|
14348
|
+
readContext: _a,
|
|
14349
14349
|
useCallback: cs,
|
|
14350
14350
|
useContext: cs,
|
|
14351
14351
|
useEffect: cs,
|
|
@@ -14372,13 +14372,13 @@ Incoming: %s`, jt, "[" + m.join(", ") + "]", "[" + f.join(", ") + "]");
|
|
|
14372
14372
|
};
|
|
14373
14373
|
$q = {
|
|
14374
14374
|
readContext: function(f) {
|
|
14375
|
-
return
|
|
14375
|
+
return _a(f);
|
|
14376
14376
|
},
|
|
14377
14377
|
useCallback: function(f, m) {
|
|
14378
14378
|
return jt = "useCallback", Mo(), o4(m), o_(f, m);
|
|
14379
14379
|
},
|
|
14380
14380
|
useContext: function(f) {
|
|
14381
|
-
return jt = "useContext", Mo(),
|
|
14381
|
+
return jt = "useContext", Mo(), _a(f);
|
|
14382
14382
|
},
|
|
14383
14383
|
useEffect: function(f, m) {
|
|
14384
14384
|
return jt = "useEffect", Mo(), o4(m), Xw(f, m);
|
|
@@ -14446,13 +14446,13 @@ Incoming: %s`, jt, "[" + m.join(", ") + "]", "[" + f.join(", ") + "]");
|
|
|
14446
14446
|
unstable_isNewReconciler: U
|
|
14447
14447
|
}, Oq = {
|
|
14448
14448
|
readContext: function(f) {
|
|
14449
|
-
return
|
|
14449
|
+
return _a(f);
|
|
14450
14450
|
},
|
|
14451
14451
|
useCallback: function(f, m) {
|
|
14452
14452
|
return jt = "useCallback", Nn(), o_(f, m);
|
|
14453
14453
|
},
|
|
14454
14454
|
useContext: function(f) {
|
|
14455
|
-
return jt = "useContext", Nn(),
|
|
14455
|
+
return jt = "useContext", Nn(), _a(f);
|
|
14456
14456
|
},
|
|
14457
14457
|
useEffect: function(f, m) {
|
|
14458
14458
|
return jt = "useEffect", Nn(), Xw(f, m);
|
|
@@ -14520,13 +14520,13 @@ Incoming: %s`, jt, "[" + m.join(", ") + "]", "[" + f.join(", ") + "]");
|
|
|
14520
14520
|
unstable_isNewReconciler: U
|
|
14521
14521
|
}, Nq = {
|
|
14522
14522
|
readContext: function(f) {
|
|
14523
|
-
return
|
|
14523
|
+
return _a(f);
|
|
14524
14524
|
},
|
|
14525
14525
|
useCallback: function(f, m) {
|
|
14526
14526
|
return jt = "useCallback", Nn(), ex(f, m);
|
|
14527
14527
|
},
|
|
14528
14528
|
useContext: function(f) {
|
|
14529
|
-
return jt = "useContext", Nn(),
|
|
14529
|
+
return jt = "useContext", Nn(), _a(f);
|
|
14530
14530
|
},
|
|
14531
14531
|
useEffect: function(f, m) {
|
|
14532
14532
|
return jt = "useEffect", Nn(), zC(f, m);
|
|
@@ -14594,13 +14594,13 @@ Incoming: %s`, jt, "[" + m.join(", ") + "]", "[" + f.join(", ") + "]");
|
|
|
14594
14594
|
unstable_isNewReconciler: U
|
|
14595
14595
|
}, Tq = {
|
|
14596
14596
|
readContext: function(f) {
|
|
14597
|
-
return
|
|
14597
|
+
return _a(f);
|
|
14598
14598
|
},
|
|
14599
14599
|
useCallback: function(f, m) {
|
|
14600
14600
|
return jt = "useCallback", Nn(), ex(f, m);
|
|
14601
14601
|
},
|
|
14602
14602
|
useContext: function(f) {
|
|
14603
|
-
return jt = "useContext", Nn(),
|
|
14603
|
+
return jt = "useContext", Nn(), _a(f);
|
|
14604
14604
|
},
|
|
14605
14605
|
useEffect: function(f, m) {
|
|
14606
14606
|
return jt = "useEffect", Nn(), zC(f, m);
|
|
@@ -14668,13 +14668,13 @@ Incoming: %s`, jt, "[" + m.join(", ") + "]", "[" + f.join(", ") + "]");
|
|
|
14668
14668
|
unstable_isNewReconciler: U
|
|
14669
14669
|
}, Jf = {
|
|
14670
14670
|
readContext: function(f) {
|
|
14671
|
-
return c_(),
|
|
14671
|
+
return c_(), _a(f);
|
|
14672
14672
|
},
|
|
14673
14673
|
useCallback: function(f, m) {
|
|
14674
14674
|
return jt = "useCallback", Ar(), Mo(), o_(f, m);
|
|
14675
14675
|
},
|
|
14676
14676
|
useContext: function(f) {
|
|
14677
|
-
return jt = "useContext", Ar(), Mo(),
|
|
14677
|
+
return jt = "useContext", Ar(), Mo(), _a(f);
|
|
14678
14678
|
},
|
|
14679
14679
|
useEffect: function(f, m) {
|
|
14680
14680
|
return jt = "useEffect", Ar(), Mo(), Xw(f, m);
|
|
@@ -14742,13 +14742,13 @@ Incoming: %s`, jt, "[" + m.join(", ") + "]", "[" + f.join(", ") + "]");
|
|
|
14742
14742
|
unstable_isNewReconciler: U
|
|
14743
14743
|
}, zd = {
|
|
14744
14744
|
readContext: function(f) {
|
|
14745
|
-
return c_(),
|
|
14745
|
+
return c_(), _a(f);
|
|
14746
14746
|
},
|
|
14747
14747
|
useCallback: function(f, m) {
|
|
14748
14748
|
return jt = "useCallback", Ar(), Nn(), ex(f, m);
|
|
14749
14749
|
},
|
|
14750
14750
|
useContext: function(f) {
|
|
14751
|
-
return jt = "useContext", Ar(), Nn(),
|
|
14751
|
+
return jt = "useContext", Ar(), Nn(), _a(f);
|
|
14752
14752
|
},
|
|
14753
14753
|
useEffect: function(f, m) {
|
|
14754
14754
|
return jt = "useEffect", Ar(), Nn(), zC(f, m);
|
|
@@ -14816,13 +14816,13 @@ Incoming: %s`, jt, "[" + m.join(", ") + "]", "[" + f.join(", ") + "]");
|
|
|
14816
14816
|
unstable_isNewReconciler: U
|
|
14817
14817
|
}, ox = {
|
|
14818
14818
|
readContext: function(f) {
|
|
14819
|
-
return c_(),
|
|
14819
|
+
return c_(), _a(f);
|
|
14820
14820
|
},
|
|
14821
14821
|
useCallback: function(f, m) {
|
|
14822
14822
|
return jt = "useCallback", Ar(), Nn(), ex(f, m);
|
|
14823
14823
|
},
|
|
14824
14824
|
useContext: function(f) {
|
|
14825
|
-
return jt = "useContext", Ar(), Nn(),
|
|
14825
|
+
return jt = "useContext", Ar(), Nn(), _a(f);
|
|
14826
14826
|
},
|
|
14827
14827
|
useEffect: function(f, m) {
|
|
14828
14828
|
return jt = "useEffect", Ar(), Nn(), zC(f, m);
|
|
@@ -15094,7 +15094,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, A)
|
|
|
15094
15094
|
}
|
|
15095
15095
|
}
|
|
15096
15096
|
if (typeof te == "object" && te !== null)
|
|
15097
|
-
X =
|
|
15097
|
+
X = _a(te);
|
|
15098
15098
|
else {
|
|
15099
15099
|
A = K3(f, m, !0);
|
|
15100
15100
|
var Me = m.contextTypes;
|
|
@@ -15154,7 +15154,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, _n, yr, bt !== null ? `
|
|
|
15154
15154
|
A.props = E, A.state = f.memoizedState, A.refs = {}, LI(f);
|
|
15155
15155
|
var X = m.contextType;
|
|
15156
15156
|
if (typeof X == "object" && X !== null)
|
|
15157
|
-
A.context =
|
|
15157
|
+
A.context = _a(X);
|
|
15158
15158
|
else {
|
|
15159
15159
|
var te = K3(f, m, !0);
|
|
15160
15160
|
A.context = q3(f, te);
|
|
@@ -15178,7 +15178,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, _n, yr, bt !== null ? `
|
|
|
15178
15178
|
A.props = X;
|
|
15179
15179
|
var te = A.context, me = m.contextType, Ce = qc;
|
|
15180
15180
|
if (typeof me == "object" && me !== null)
|
|
15181
|
-
Ce =
|
|
15181
|
+
Ce = _a(me);
|
|
15182
15182
|
else {
|
|
15183
15183
|
var Me = K3(f, m, !0);
|
|
15184
15184
|
Ce = q3(f, Me);
|
|
@@ -15216,7 +15216,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, _n, yr, bt !== null ? `
|
|
|
15216
15216
|
X.props = me;
|
|
15217
15217
|
var Ce = m.pendingProps, Me = X.context, Ae = E.contextType, tt = qc;
|
|
15218
15218
|
if (typeof Ae == "object" && Ae !== null)
|
|
15219
|
-
tt =
|
|
15219
|
+
tt = _a(Ae);
|
|
15220
15220
|
else {
|
|
15221
15221
|
var Qe = K3(m, E, !0);
|
|
15222
15222
|
tt = q3(m, Qe);
|
|
@@ -15350,7 +15350,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
15350
15350
|
function Vq(f, m, E, M, A) {
|
|
15351
15351
|
if ((f.mode & Wr) === gr) {
|
|
15352
15352
|
if (f === m)
|
|
15353
|
-
f.flags |=
|
|
15353
|
+
f.flags |= Ta;
|
|
15354
15354
|
else {
|
|
15355
15355
|
if (f.flags |= cr, E.flags |= Xv, E.flags &= -52805, E.tag === c) {
|
|
15356
15356
|
var X = E.alternate;
|
|
@@ -15365,7 +15365,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
15365
15365
|
}
|
|
15366
15366
|
return f;
|
|
15367
15367
|
}
|
|
15368
|
-
return f.flags |=
|
|
15368
|
+
return f.flags |= Ta, f.lanes = A, f;
|
|
15369
15369
|
}
|
|
15370
15370
|
function U6e(f, m, E, M, A) {
|
|
15371
15371
|
if (E.flags |= Ug, es && r9(f, A), M !== null && typeof M == "object" && typeof M.then == "function") {
|
|
@@ -15387,7 +15387,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
15387
15387
|
PK();
|
|
15388
15388
|
var Ce = Bq(m);
|
|
15389
15389
|
if (Ce !== null) {
|
|
15390
|
-
(Ce.flags &
|
|
15390
|
+
(Ce.flags & Ta) === mr && (Ce.flags |= cl), Vq(Ce, m, E, f, A), SI(D0(M, E));
|
|
15391
15391
|
return;
|
|
15392
15392
|
}
|
|
15393
15393
|
}
|
|
@@ -15397,7 +15397,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
15397
15397
|
switch (Me.tag) {
|
|
15398
15398
|
case d: {
|
|
15399
15399
|
var Ae = M;
|
|
15400
|
-
Me.flags |=
|
|
15400
|
+
Me.flags |= Ta;
|
|
15401
15401
|
var tt = a0(A);
|
|
15402
15402
|
Me.lanes = Br(Me.lanes, tt);
|
|
15403
15403
|
var Qe = jq(Me, Ae, tt);
|
|
@@ -15407,7 +15407,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
15407
15407
|
case c:
|
|
15408
15408
|
var bt = M, St = Me.type, Pt = Me.stateNode;
|
|
15409
15409
|
if ((Me.flags & cr) === mr && (typeof St.getDerivedStateFromError == "function" || Pt !== null && typeof Pt.componentDidCatch == "function" && !BG(Pt))) {
|
|
15410
|
-
Me.flags |=
|
|
15410
|
+
Me.flags |= Ta;
|
|
15411
15411
|
var _n = a0(A);
|
|
15412
15412
|
Me.lanes = Br(Me.lanes, _n);
|
|
15413
15413
|
var yr = M_(Me, bt, _n);
|
|
@@ -15634,7 +15634,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
15634
15634
|
break;
|
|
15635
15635
|
}
|
|
15636
15636
|
case !0: {
|
|
15637
|
-
m.flags |= cr, m.flags |=
|
|
15637
|
+
m.flags |= cr, m.flags |= Ta;
|
|
15638
15638
|
var Me = new Error("Simulated error coming from DevTools"), Ae = a0(A);
|
|
15639
15639
|
m.lanes = Br(m.lanes, Ae);
|
|
15640
15640
|
var tt = M_(m, D0(Me, m), Ae);
|
|
@@ -16240,7 +16240,7 @@ Check the render method of \`` + M + "`.");
|
|
|
16240
16240
|
M._context === void 0 ? M !== M.Consumer && (oG || (oG = !0, a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))) : M = M._context;
|
|
16241
16241
|
var A = m.pendingProps, X = A.children;
|
|
16242
16242
|
typeof X != "function" && a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."), Q3(m, E);
|
|
16243
|
-
var te =
|
|
16243
|
+
var te = _a(M);
|
|
16244
16244
|
zs(m);
|
|
16245
16245
|
var me;
|
|
16246
16246
|
return FC.current = m, Wi(!0), me = X(te), Wi(!1), Hs(), m.flags |= Bc, Bs(f, m, me, E), m.child;
|
|
@@ -16508,7 +16508,7 @@ Check the render method of \`` + M + "`.");
|
|
|
16508
16508
|
}
|
|
16509
16509
|
function w7e(f, m, E) {
|
|
16510
16510
|
if (a6e() && (m.mode & Wr) !== gr && (m.flags & cr) === mr)
|
|
16511
|
-
return jK(m), Y3(), m.flags |= cl | Ug |
|
|
16511
|
+
return jK(m), Y3(), m.flags |= cl | Ug | Ta, !1;
|
|
16512
16512
|
var M = Nw(m);
|
|
16513
16513
|
if (E !== null && E.dehydrated !== null)
|
|
16514
16514
|
if (f === null) {
|
|
@@ -16609,7 +16609,7 @@ Check the render method of \`` + M + "`.");
|
|
|
16609
16609
|
if (f === null || f.memoizedState !== null && f.memoizedState.dehydrated !== null) {
|
|
16610
16610
|
var io = w7e(f, m, lr);
|
|
16611
16611
|
if (!io)
|
|
16612
|
-
return m.flags &
|
|
16612
|
+
return m.flags & Ta ? m : null;
|
|
16613
16613
|
}
|
|
16614
16614
|
if ((m.flags & cr) !== mr)
|
|
16615
16615
|
return m.lanes = E, (m.mode & So) !== gr && h_(m), m;
|
|
@@ -16715,12 +16715,12 @@ Check the render method of \`` + M + "`.");
|
|
|
16715
16715
|
var M = m.type;
|
|
16716
16716
|
Xf(M) && Sw(m);
|
|
16717
16717
|
var A = m.flags;
|
|
16718
|
-
return A &
|
|
16718
|
+
return A & Ta ? (m.flags = A & ~Ta | cr, (m.mode & So) !== gr && h_(m), m) : null;
|
|
16719
16719
|
}
|
|
16720
16720
|
case d: {
|
|
16721
16721
|
m.stateNode, e4(m), fI(m), VI();
|
|
16722
16722
|
var X = m.flags;
|
|
16723
|
-
return (X &
|
|
16723
|
+
return (X & Ta) !== mr && (X & cr) === mr ? (m.flags = X & ~Ta | cr, m) : null;
|
|
16724
16724
|
}
|
|
16725
16725
|
case g:
|
|
16726
16726
|
return HI(m), null;
|
|
@@ -16733,7 +16733,7 @@ Check the render method of \`` + M + "`.");
|
|
|
16733
16733
|
Y3();
|
|
16734
16734
|
}
|
|
16735
16735
|
var me = m.flags;
|
|
16736
|
-
return me &
|
|
16736
|
+
return me & Ta ? (m.flags = me & ~Ta | cr, (m.mode & So) !== gr && h_(m), m) : null;
|
|
16737
16737
|
}
|
|
16738
16738
|
case D:
|
|
16739
16739
|
return n4(m), null;
|
|
@@ -20461,9 +20461,9 @@ function Pwe(e, t) {
|
|
|
20461
20461
|
}), o);
|
|
20462
20462
|
});
|
|
20463
20463
|
}
|
|
20464
|
-
var
|
|
20465
|
-
process.env.NODE_ENV !== "production" && (
|
|
20466
|
-
|
|
20464
|
+
var Na = /* @__PURE__ */ p.forwardRef(Pwe);
|
|
20465
|
+
process.env.NODE_ENV !== "production" && (Na.displayName = "ResizeObserver");
|
|
20466
|
+
Na.Collection = owe;
|
|
20467
20467
|
function BD(e, t) {
|
|
20468
20468
|
(t == null || t > e.length) && (t = e.length);
|
|
20469
20469
|
for (var n = 0, r = Array(t); n < t; n++)
|
|
@@ -21426,18 +21426,18 @@ function _xe(e) {
|
|
|
21426
21426
|
function kx(e, t) {
|
|
21427
21427
|
return t.push(e), e;
|
|
21428
21428
|
}
|
|
21429
|
-
var zN = 1, Ly = 1, use = 0, cd = 0,
|
|
21429
|
+
var zN = 1, Ly = 1, use = 0, cd = 0, La = 0, gb = "";
|
|
21430
21430
|
function Yj(e, t, n, r, o, i, a, l) {
|
|
21431
21431
|
return { value: e, root: t, parent: n, type: r, props: o, children: i, line: zN, column: Ly, length: a, return: "", siblings: l };
|
|
21432
21432
|
}
|
|
21433
21433
|
function kxe() {
|
|
21434
|
-
return
|
|
21434
|
+
return La;
|
|
21435
21435
|
}
|
|
21436
21436
|
function Pxe() {
|
|
21437
|
-
return
|
|
21437
|
+
return La = cd > 0 ? hy(gb, --cd) : 0, Ly--, La === 10 && (Ly = 1, zN--), La;
|
|
21438
21438
|
}
|
|
21439
21439
|
function lf() {
|
|
21440
|
-
return
|
|
21440
|
+
return La = cd < use ? hy(gb, cd++) : 0, Ly++, La === 10 && (Ly = 1, zN++), La;
|
|
21441
21441
|
}
|
|
21442
21442
|
function Am() {
|
|
21443
21443
|
return hy(gb, cd);
|
|
@@ -21490,23 +21490,23 @@ function Dk(e) {
|
|
|
21490
21490
|
return cse(HN(cd - 1, ZD(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
21491
21491
|
}
|
|
21492
21492
|
function Axe(e) {
|
|
21493
|
-
for (; (
|
|
21493
|
+
for (; (La = Am()) && La < 33; )
|
|
21494
21494
|
lf();
|
|
21495
|
-
return I6(e) > 2 || I6(
|
|
21495
|
+
return I6(e) > 2 || I6(La) > 3 ? "" : " ";
|
|
21496
21496
|
}
|
|
21497
21497
|
function zxe(e, t) {
|
|
21498
|
-
for (; --t && lf() && !(
|
|
21498
|
+
for (; --t && lf() && !(La < 48 || La > 102 || La > 57 && La < 65 || La > 70 && La < 97); )
|
|
21499
21499
|
;
|
|
21500
21500
|
return HN(e, JE() + (t < 6 && Am() == 32 && lf() == 32));
|
|
21501
21501
|
}
|
|
21502
21502
|
function ZD(e) {
|
|
21503
21503
|
for (; lf(); )
|
|
21504
|
-
switch (
|
|
21504
|
+
switch (La) {
|
|
21505
21505
|
case e:
|
|
21506
21506
|
return cd;
|
|
21507
21507
|
case 34:
|
|
21508
21508
|
case 39:
|
|
21509
|
-
e !== 34 && e !== 39 && ZD(
|
|
21509
|
+
e !== 34 && e !== 39 && ZD(La);
|
|
21510
21510
|
break;
|
|
21511
21511
|
case 40:
|
|
21512
21512
|
e === 41 && ZD(e);
|
|
@@ -21518,8 +21518,8 @@ function ZD(e) {
|
|
|
21518
21518
|
return cd;
|
|
21519
21519
|
}
|
|
21520
21520
|
function Hxe(e, t) {
|
|
21521
|
-
for (; lf() && e +
|
|
21522
|
-
if (e +
|
|
21521
|
+
for (; lf() && e + La !== 57; )
|
|
21522
|
+
if (e + La === 84 && Am() === 47)
|
|
21523
21523
|
break;
|
|
21524
21524
|
return "/*" + HN(t, cd - 1) + "*" + Xj(e === 47 ? e : lf());
|
|
21525
21525
|
}
|
|
@@ -24965,7 +24965,7 @@ const OY = 0, NY = 1, lce = /* @__PURE__ */ G.forwardRef((e, t) => {
|
|
|
24965
24965
|
const [Z, J, q] = _$e(y), ee = ve(s, J, y, q), ae = ve({
|
|
24966
24966
|
[ee]: $
|
|
24967
24967
|
});
|
|
24968
|
-
return Z(/* @__PURE__ */ G.createElement(
|
|
24968
|
+
return Z(/* @__PURE__ */ G.createElement(Na, {
|
|
24969
24969
|
onResize: K
|
|
24970
24970
|
}, /* @__PURE__ */ G.createElement("div", Object.assign({
|
|
24971
24971
|
style: r,
|
|
@@ -24978,7 +24978,7 @@ const OY = 0, NY = 1, lce = /* @__PURE__ */ G.forwardRef((e, t) => {
|
|
|
24978
24978
|
className: ae,
|
|
24979
24979
|
ref: D,
|
|
24980
24980
|
style: $
|
|
24981
|
-
}, /* @__PURE__ */ G.createElement(
|
|
24981
|
+
}, /* @__PURE__ */ G.createElement(Na, {
|
|
24982
24982
|
onResize: K
|
|
24983
24983
|
}, c)))));
|
|
24984
24984
|
});
|
|
@@ -36283,7 +36283,7 @@ function f_e(e, t) {
|
|
|
36283
36283
|
}, R, S, {
|
|
36284
36284
|
ref: t
|
|
36285
36285
|
}), N);
|
|
36286
|
-
return a && (T = /* @__PURE__ */ p.createElement(
|
|
36286
|
+
return a && (T = /* @__PURE__ */ p.createElement(Na, {
|
|
36287
36287
|
onResize: function(k) {
|
|
36288
36288
|
var P = k.offsetWidth;
|
|
36289
36289
|
$(P);
|
|
@@ -36469,7 +36469,7 @@ function S_e(e, t) {
|
|
|
36469
36469
|
display: !0,
|
|
36470
36470
|
style: Wt
|
|
36471
36471
|
}), x));
|
|
36472
|
-
return He ? /* @__PURE__ */ p.createElement(
|
|
36472
|
+
return He ? /* @__PURE__ */ p.createElement(Na, {
|
|
36473
36473
|
onResize: We,
|
|
36474
36474
|
disabled: !De
|
|
36475
36475
|
}, Nt) : Nt;
|
|
@@ -36825,7 +36825,7 @@ var sde = /* @__PURE__ */ p.forwardRef(function(e, t) {
|
|
|
36825
36825
|
zIndex: R,
|
|
36826
36826
|
mask: h,
|
|
36827
36827
|
motion: S
|
|
36828
|
-
}), /* @__PURE__ */ p.createElement(
|
|
36828
|
+
}), /* @__PURE__ */ p.createElement(Na, {
|
|
36829
36829
|
onResize: F,
|
|
36830
36830
|
disabled: !s
|
|
36831
36831
|
}, function(fe) {
|
|
@@ -37310,7 +37310,7 @@ function V_e() {
|
|
|
37310
37310
|
x: dn,
|
|
37311
37311
|
y: Rn
|
|
37312
37312
|
}, Ls = ae ? ke({}, ae !== !0 ? ae : {}) : null;
|
|
37313
|
-
return /* @__PURE__ */ p.createElement(p.Fragment, null, /* @__PURE__ */ p.createElement(
|
|
37313
|
+
return /* @__PURE__ */ p.createElement(p.Fragment, null, /* @__PURE__ */ p.createElement(Na, {
|
|
37314
37314
|
disabled: !Wt,
|
|
37315
37315
|
ref: Ke,
|
|
37316
37316
|
onResize: wi
|
|
@@ -37803,7 +37803,7 @@ var fde = /* @__PURE__ */ p.forwardRef(function(e, t) {
|
|
|
37803
37803
|
transform: "translateY(".concat(r, "px)")
|
|
37804
37804
|
}, c ? "marginRight" : "marginLeft", -o), "position", "absolute"), "left", 0), "right", 0), "top", 0))), /* @__PURE__ */ p.createElement("div", {
|
|
37805
37805
|
style: d
|
|
37806
|
-
}, /* @__PURE__ */ p.createElement(
|
|
37806
|
+
}, /* @__PURE__ */ p.createElement(Na, {
|
|
37807
37807
|
onResize: function(v) {
|
|
37808
37808
|
var C = v.offsetHeight;
|
|
37809
37809
|
C && l && l();
|
|
@@ -38496,7 +38496,7 @@ function hke(e, t) {
|
|
|
38496
38496
|
position: "relative"
|
|
38497
38497
|
}),
|
|
38498
38498
|
className: J
|
|
38499
|
-
}, Ut, P), /* @__PURE__ */ p.createElement(
|
|
38499
|
+
}, Ut, P), /* @__PURE__ */ p.createElement(Na, {
|
|
38500
38500
|
onResize: Pe
|
|
38501
38501
|
}, /* @__PURE__ */ p.createElement(S, {
|
|
38502
38502
|
className: "".concat(r, "-holder"),
|
|
@@ -41104,7 +41104,7 @@ const FF = /* @__PURE__ */ p.forwardRef((e, t) => {
|
|
|
41104
41104
|
WebkitTransform: de,
|
|
41105
41105
|
transform: de
|
|
41106
41106
|
};
|
|
41107
|
-
pe = /* @__PURE__ */ p.createElement(
|
|
41107
|
+
pe = /* @__PURE__ */ p.createElement(Na, {
|
|
41108
41108
|
onResize: z
|
|
41109
41109
|
}, /* @__PURE__ */ p.createElement("span", {
|
|
41110
41110
|
className: `${j}-string`,
|
|
@@ -49279,7 +49279,7 @@ function Qfe(e) {
|
|
|
49279
49279
|
style: {
|
|
49280
49280
|
left: J
|
|
49281
49281
|
}
|
|
49282
|
-
}), /* @__PURE__ */ p.createElement(
|
|
49282
|
+
}), /* @__PURE__ */ p.createElement(Na, {
|
|
49283
49283
|
onResize: ee
|
|
49284
49284
|
}, Ie))), Ie;
|
|
49285
49285
|
}
|
|
@@ -49732,7 +49732,7 @@ function tze(e, t) {
|
|
|
49732
49732
|
ae();
|
|
49733
49733
|
}, [s]);
|
|
49734
49734
|
var ie = o && (C[0] && !y[0] || C[1] && !y[1]), re = O && !y[0], ne = O && !re && !y[1];
|
|
49735
|
-
return /* @__PURE__ */ p.createElement(
|
|
49735
|
+
return /* @__PURE__ */ p.createElement(Na, {
|
|
49736
49736
|
onResize: ae
|
|
49737
49737
|
}, /* @__PURE__ */ p.createElement("div", Ro({}, F, {
|
|
49738
49738
|
className: ve(P, "".concat(P, "-range"), lo(lo(lo(lo({}, "".concat(P, "-focused"), c), "".concat(P, "-disabled"), y.every(function(ge) {
|
|
@@ -54446,7 +54446,7 @@ var dHe = function(t) {
|
|
|
54446
54446
|
Bt();
|
|
54447
54447
|
}, [l]);
|
|
54448
54448
|
var kt = !!ct.length, Ut = "".concat(x, "-nav-wrap"), vt, Tt, Mt, ot;
|
|
54449
|
-
return D ? l ? (Tt = z > 0, vt = z !== qe) : (vt = z < 0, Tt = z !== Fe) : (Mt = U < 0, ot = U !== Fe), /* @__PURE__ */ p.createElement(
|
|
54449
|
+
return D ? l ? (Tt = z > 0, vt = z !== qe) : (vt = z < 0, Tt = z !== Fe) : (Mt = U < 0, ot = U !== Fe), /* @__PURE__ */ p.createElement(Na, {
|
|
54450
54450
|
onResize: Bt
|
|
54451
54451
|
}, /* @__PURE__ */ p.createElement("div", {
|
|
54452
54452
|
ref: Hp(t, N),
|
|
@@ -54462,12 +54462,12 @@ var dHe = function(t) {
|
|
|
54462
54462
|
position: "left",
|
|
54463
54463
|
extra: s,
|
|
54464
54464
|
prefixCls: x
|
|
54465
|
-
}), /* @__PURE__ */ p.createElement(
|
|
54465
|
+
}), /* @__PURE__ */ p.createElement(Na, {
|
|
54466
54466
|
onResize: Bt
|
|
54467
54467
|
}, /* @__PURE__ */ p.createElement("div", {
|
|
54468
54468
|
className: ve(Ut, Ss(Ss(Ss(Ss({}, "".concat(Ut, "-ping-left"), vt), "".concat(Ut, "-ping-right"), Tt), "".concat(Ut, "-ping-top"), Mt), "".concat(Ut, "-ping-bottom"), ot)),
|
|
54469
54469
|
ref: T
|
|
54470
|
-
}, /* @__PURE__ */ p.createElement(
|
|
54470
|
+
}, /* @__PURE__ */ p.createElement(Na, {
|
|
54471
54471
|
onResize: Bt
|
|
54472
54472
|
}, /* @__PURE__ */ p.createElement("div", {
|
|
54473
54473
|
ref: _,
|
|
@@ -58205,7 +58205,7 @@ function o6(e, t) {
|
|
|
58205
58205
|
};
|
|
58206
58206
|
return h;
|
|
58207
58207
|
}
|
|
58208
|
-
function
|
|
58208
|
+
function Pa(e) {
|
|
58209
58209
|
var t = e.data, n = e.expanded, r = e.selected, o = e.checked, i = e.loaded, a = e.loading, l = e.halfChecked, s = e.dragOver, c = e.dragOverGapTop, u = e.dragOverGapBottom, d = e.pos, h = e.active, g = e.eventKey, v = ke(ke({}, t), {}, {
|
|
58210
58210
|
expanded: n,
|
|
58211
58211
|
selected: r,
|
|
@@ -69772,7 +69772,7 @@ var TKe = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classN
|
|
|
69772
69772
|
return Y;
|
|
69773
69773
|
}, []);
|
|
69774
69774
|
var Z = _ ? B : null, J = ke(ke({}, c), Z);
|
|
69775
|
-
return (D === $P || D === OP) && (J.overflowY = "hidden", J.overflowX = "hidden"), /* @__PURE__ */ p.createElement(
|
|
69775
|
+
return (D === $P || D === OP) && (J.overflowY = "hidden", J.overflowX = "hidden"), /* @__PURE__ */ p.createElement(Na, {
|
|
69776
69776
|
onResize: j,
|
|
69777
69777
|
disabled: !(a || l)
|
|
69778
69778
|
}, /* @__PURE__ */ p.createElement("textarea", Ht({}, g, {
|
|
@@ -78113,7 +78113,7 @@ function UYe(e) {
|
|
|
78113
78113
|
var t = e.columnKey, n = e.onColumnResize, r = e.prefixCls, o = e.title, i = p.useRef();
|
|
78114
78114
|
return or(function() {
|
|
78115
78115
|
i.current && n(t, i.current.offsetWidth);
|
|
78116
|
-
}, []), /* @__PURE__ */ p.createElement(
|
|
78116
|
+
}, []), /* @__PURE__ */ p.createElement(Na, {
|
|
78117
78117
|
data: t
|
|
78118
78118
|
}, /* @__PURE__ */ p.createElement("th", {
|
|
78119
78119
|
ref: i,
|
|
@@ -78128,7 +78128,7 @@ function KYe(e) {
|
|
|
78128
78128
|
className: "".concat(t, "-measure-row"),
|
|
78129
78129
|
ref: i,
|
|
78130
78130
|
tabIndex: -1
|
|
78131
|
-
}, /* @__PURE__ */ p.createElement(
|
|
78131
|
+
}, /* @__PURE__ */ p.createElement(Na.Collection, {
|
|
78132
78132
|
onBatchResize: function(u) {
|
|
78133
78133
|
yb(i.current) && u.forEach(function(d) {
|
|
78134
78134
|
var h = d.data, g = d.size;
|
|
@@ -79021,7 +79021,7 @@ function yZe(e, t) {
|
|
|
79021
79021
|
}, ii), g && /* @__PURE__ */ p.createElement(ZQ, {
|
|
79022
79022
|
className: "".concat(r, "-footer")
|
|
79023
79023
|
}, g(F)));
|
|
79024
|
-
rn && (wi = /* @__PURE__ */ p.createElement(
|
|
79024
|
+
rn && (wi = /* @__PURE__ */ p.createElement(Na, {
|
|
79025
79025
|
onResize: dn
|
|
79026
79026
|
}, wi));
|
|
79027
79027
|
var Rr = lZe(Te, yn, d), zi = p.useMemo(function() {
|
|
@@ -79436,21 +79436,21 @@ var RZe = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "drag
|
|
|
79436
79436
|
var n, r, o, i = t.eventKey, a = t.className, l = t.style, s = t.dragOver, c = t.dragOverGapTop, u = t.dragOverGapBottom, d = t.isLeaf, h = t.isStart, g = t.isEnd, v = t.expanded, C = t.selected, y = t.checked, S = t.halfChecked, x = t.loading, $ = t.domRef, N = t.active, O = t.data, R = t.onMouseMove, T = t.selectable, _ = nr(t, RZe), k = G.useContext(FB), P = G.useContext(Rme), D = G.useRef(null), H = G.useState(!1), V = Xe(H, 2), z = V[0], B = V[1], F = !!(k.disabled || t.disabled || (n = P.nodeDisabled) !== null && n !== void 0 && n.call(P, O)), K = G.useMemo(function() {
|
|
79437
79437
|
return !k.checkable || t.checkable === !1 ? !1 : k.checkable;
|
|
79438
79438
|
}, [k.checkable, t.checkable]), U = function(ze) {
|
|
79439
|
-
F || k.onNodeSelect(ze,
|
|
79439
|
+
F || k.onNodeSelect(ze, Pa(t));
|
|
79440
79440
|
}, Y = function(ze) {
|
|
79441
|
-
F || !K || t.disableCheckbox || k.onNodeCheck(ze,
|
|
79441
|
+
F || !K || t.disableCheckbox || k.onNodeCheck(ze, Pa(t), !y);
|
|
79442
79442
|
}, j = G.useMemo(function() {
|
|
79443
79443
|
return typeof T == "boolean" ? T : k.selectable;
|
|
79444
79444
|
}, [T, k.selectable]), Z = function(ze) {
|
|
79445
|
-
k.onNodeClick(ze,
|
|
79445
|
+
k.onNodeClick(ze, Pa(t)), j ? U(ze) : Y(ze);
|
|
79446
79446
|
}, J = function(ze) {
|
|
79447
|
-
k.onNodeDoubleClick(ze,
|
|
79447
|
+
k.onNodeDoubleClick(ze, Pa(t));
|
|
79448
79448
|
}, q = function(ze) {
|
|
79449
|
-
k.onNodeMouseEnter(ze,
|
|
79449
|
+
k.onNodeMouseEnter(ze, Pa(t));
|
|
79450
79450
|
}, ee = function(ze) {
|
|
79451
|
-
k.onNodeMouseLeave(ze,
|
|
79451
|
+
k.onNodeMouseLeave(ze, Pa(t));
|
|
79452
79452
|
}, ae = function(ze) {
|
|
79453
|
-
k.onNodeContextMenu(ze,
|
|
79453
|
+
k.onNodeContextMenu(ze, Pa(t));
|
|
79454
79454
|
}, ie = G.useMemo(function() {
|
|
79455
79455
|
return !!(k.draggable && (!k.draggable.nodeDraggable || k.draggable.nodeDraggable(O)));
|
|
79456
79456
|
}, [k.draggable, O]), re = function(ze) {
|
|
@@ -79470,7 +79470,7 @@ var RZe = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "drag
|
|
|
79470
79470
|
}, le = function(ze) {
|
|
79471
79471
|
ze.preventDefault(), ze.stopPropagation(), B(!1), k.onNodeDrop(ze, t);
|
|
79472
79472
|
}, ce = function(ze) {
|
|
79473
|
-
x || k.onNodeExpand(ze,
|
|
79473
|
+
x || k.onNodeExpand(ze, Pa(t));
|
|
79474
79474
|
}, oe = G.useMemo(function() {
|
|
79475
79475
|
var De = Rc(k.keyEntities, i) || {}, ze = De.children;
|
|
79476
79476
|
return !!(ze || []).length;
|
|
@@ -79478,7 +79478,7 @@ var RZe = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "drag
|
|
|
79478
79478
|
return d === !1 ? !1 : d || !k.loadData && !oe || k.loadData && t.loaded && !oe;
|
|
79479
79479
|
}, [d, k.loadData, oe, t.loaded]);
|
|
79480
79480
|
G.useEffect(function() {
|
|
79481
|
-
x || typeof k.loadData == "function" && v && !he && !t.loaded && k.onNodeLoad(
|
|
79481
|
+
x || typeof k.loadData == "function" && v && !he && !t.loaded && k.onNodeLoad(Pa(t));
|
|
79482
79482
|
}, [x, k.loadData, k.onNodeLoad, v, he, t]);
|
|
79483
79483
|
var fe = G.useMemo(function() {
|
|
79484
79484
|
var De;
|
|
@@ -79561,7 +79561,7 @@ var RZe = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "drag
|
|
|
79561
79561
|
ref: $,
|
|
79562
79562
|
role: "treeitem",
|
|
79563
79563
|
"aria-expanded": d ? void 0 : v,
|
|
79564
|
-
className: ve(a, "".concat(k.prefixCls, "-treenode"), (o = {}, we(we(we(we(we(we(we(we(we(we(o, "".concat(k.prefixCls, "-treenode-disabled"), F), "".concat(k.prefixCls, "-treenode-switcher-").concat(v ? "open" : "close"), !d), "".concat(k.prefixCls, "-treenode-checkbox-checked"), y), "".concat(k.prefixCls, "-treenode-checkbox-indeterminate"), S), "".concat(k.prefixCls, "-treenode-selected"), C), "".concat(k.prefixCls, "-treenode-loading"), x), "".concat(k.prefixCls, "-treenode-active"), N), "".concat(k.prefixCls, "-treenode-leaf-last"), Be), "".concat(k.prefixCls, "-treenode-draggable"), ie), "dragging", qe), we(we(we(we(we(we(we(o, "drop-target", k.dropTargetKey === i), "drop-container", k.dropContainerKey === i), "drag-over", !F && s), "drag-over-gap-top", !F && c), "drag-over-gap-bottom", !F && u), "filter-node", (r = k.filterTreeNode) === null || r === void 0 ? void 0 : r.call(k,
|
|
79564
|
+
className: ve(a, "".concat(k.prefixCls, "-treenode"), (o = {}, we(we(we(we(we(we(we(we(we(we(o, "".concat(k.prefixCls, "-treenode-disabled"), F), "".concat(k.prefixCls, "-treenode-switcher-").concat(v ? "open" : "close"), !d), "".concat(k.prefixCls, "-treenode-checkbox-checked"), y), "".concat(k.prefixCls, "-treenode-checkbox-indeterminate"), S), "".concat(k.prefixCls, "-treenode-selected"), C), "".concat(k.prefixCls, "-treenode-loading"), x), "".concat(k.prefixCls, "-treenode-active"), N), "".concat(k.prefixCls, "-treenode-leaf-last"), Be), "".concat(k.prefixCls, "-treenode-draggable"), ie), "dragging", qe), we(we(we(we(we(we(we(o, "drop-target", k.dropTargetKey === i), "drop-container", k.dropContainerKey === i), "drag-over", !F && s), "drag-over-gap-top", !F && c), "drag-over-gap-bottom", !F && u), "filter-node", (r = k.filterTreeNode) === null || r === void 0 ? void 0 : r.call(k, Pa(t))), "".concat(k.prefixCls, "-treenode-leaf"), he))),
|
|
79565
79565
|
style: l,
|
|
79566
79566
|
draggable: Fe,
|
|
79567
79567
|
onDragStart: Fe ? re : void 0,
|
|
@@ -80418,7 +80418,7 @@ var qZe = 10, ZT = /* @__PURE__ */ function(e) {
|
|
|
80418
80418
|
indent: r.listRef.current.getIndentWidth()
|
|
80419
80419
|
}), r.setExpandedKeys(v), window.addEventListener("dragend", r.onWindowDragEnd), h == null || h({
|
|
80420
80420
|
event: l,
|
|
80421
|
-
node:
|
|
80421
|
+
node: Pa(s)
|
|
80422
80422
|
});
|
|
80423
80423
|
}), we(Mn(r), "onNodeDragEnter", function(l, s) {
|
|
80424
80424
|
var c = r.state, u = c.expandedKeys, d = c.keyEntities, h = c.dragChildrenKeys, g = c.flattenNodes, v = c.indent, C = r.props, y = C.onDragEnter, S = C.onExpand, x = C.allowDrop, $ = C.direction, N = s.pos, O = s.eventKey;
|
|
@@ -80441,7 +80441,7 @@ var qZe = 10, ZT = /* @__PURE__ */ function(e) {
|
|
|
80441
80441
|
if (r.state.draggingNodeKey !== null) {
|
|
80442
80442
|
var z = cn(u), B = Rc(d, s.eventKey);
|
|
80443
80443
|
B && (B.children || []).length && (z = Fh(u, s.eventKey)), r.props.hasOwnProperty("expandedKeys") || r.setExpandedKeys(z), S == null || S(z, {
|
|
80444
|
-
node:
|
|
80444
|
+
node: Pa(s),
|
|
80445
80445
|
expanded: !0,
|
|
80446
80446
|
nativeEvent: l.nativeEvent
|
|
80447
80447
|
});
|
|
@@ -80460,7 +80460,7 @@ var qZe = 10, ZT = /* @__PURE__ */ function(e) {
|
|
|
80460
80460
|
dropAllowed: H
|
|
80461
80461
|
}), y == null || y({
|
|
80462
80462
|
event: l,
|
|
80463
|
-
node:
|
|
80463
|
+
node: Pa(s),
|
|
80464
80464
|
expandedKeys: u
|
|
80465
80465
|
});
|
|
80466
80466
|
}), we(Mn(r), "onNodeDragOver", function(l, s) {
|
|
@@ -80477,7 +80477,7 @@ var qZe = 10, ZT = /* @__PURE__ */ function(e) {
|
|
|
80477
80477
|
dragOverNodeKey: P
|
|
80478
80478
|
}), y == null || y({
|
|
80479
80479
|
event: l,
|
|
80480
|
-
node:
|
|
80480
|
+
node: Pa(s)
|
|
80481
80481
|
}));
|
|
80482
80482
|
}
|
|
80483
80483
|
}), we(Mn(r), "onNodeDragLeave", function(l, s) {
|
|
@@ -80485,7 +80485,7 @@ var qZe = 10, ZT = /* @__PURE__ */ function(e) {
|
|
|
80485
80485
|
var c = r.props.onDragLeave;
|
|
80486
80486
|
c == null || c({
|
|
80487
80487
|
event: l,
|
|
80488
|
-
node:
|
|
80488
|
+
node: Pa(s)
|
|
80489
80489
|
});
|
|
80490
80490
|
}), we(Mn(r), "onWindowDragEnd", function(l) {
|
|
80491
80491
|
r.onNodeDragEnd(l, null, !0), window.removeEventListener("dragend", r.onWindowDragEnd);
|
|
@@ -80495,7 +80495,7 @@ var qZe = 10, ZT = /* @__PURE__ */ function(e) {
|
|
|
80495
80495
|
dragOverNodeKey: null
|
|
80496
80496
|
}), r.cleanDragState(), c == null || c({
|
|
80497
80497
|
event: l,
|
|
80498
|
-
node:
|
|
80498
|
+
node: Pa(s)
|
|
80499
80499
|
}), r.dragNodeProps = null, window.removeEventListener("dragend", r.onWindowDragEnd);
|
|
80500
80500
|
}), we(Mn(r), "onNodeDrop", function(l, s) {
|
|
80501
80501
|
var c, u = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, d = r.state, h = d.dragChildrenKeys, g = d.dropPosition, v = d.dropTargetKey, C = d.dropTargetPos, y = d.dropAllowed;
|
|
@@ -80511,8 +80511,8 @@ var qZe = 10, ZT = /* @__PURE__ */ function(e) {
|
|
|
80511
80511
|
sn(!$, "Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");
|
|
80512
80512
|
var N = BB(C), O = {
|
|
80513
80513
|
event: l,
|
|
80514
|
-
node:
|
|
80515
|
-
dragNode: r.dragNodeProps ?
|
|
80514
|
+
node: Pa(x),
|
|
80515
|
+
dragNode: r.dragNodeProps ? Pa(r.dragNodeProps) : null,
|
|
80516
80516
|
dragNodesKeys: [r.dragNodeProps.eventKey].concat(h),
|
|
80517
80517
|
dropToGap: g !== 0,
|
|
80518
80518
|
dropPosition: g + Number(N[N.length - 1])
|
|
@@ -80536,7 +80536,7 @@ var qZe = 10, ZT = /* @__PURE__ */ function(e) {
|
|
|
80536
80536
|
if (!(v || l.shiftKey || l.metaKey || l.ctrlKey)) {
|
|
80537
80537
|
var C = d.filter(function(S) {
|
|
80538
80538
|
return S.key === g;
|
|
80539
|
-
})[0], y =
|
|
80539
|
+
})[0], y = Pa(ke(ke({}, o6(g, r.getTreeNodeRequiredProps())), {}, {
|
|
80540
80540
|
data: C.data
|
|
80541
80541
|
}));
|
|
80542
80542
|
r.setExpandedKeys(h ? ip(u, g) : Fh(u, g)), r.onNodeExpand(l, y);
|
|
@@ -80773,7 +80773,7 @@ var qZe = 10, ZT = /* @__PURE__ */ function(e) {
|
|
|
80773
80773
|
}
|
|
80774
80774
|
var S = r.getActiveItem();
|
|
80775
80775
|
if (S && S.data) {
|
|
80776
|
-
var x = r.getTreeNodeRequiredProps(), $ = S.data.isLeaf === !1 || !!(S.data[h.children] || []).length, N =
|
|
80776
|
+
var x = r.getTreeNodeRequiredProps(), $ = S.data.isLeaf === !1 || !!(S.data[h.children] || []).length, N = Pa(ke(ke({}, o6(c, x)), {}, {
|
|
80777
80777
|
data: S.data,
|
|
80778
80778
|
active: !0
|
|
80779
80779
|
}));
|
|
@@ -87470,7 +87470,7 @@ const ttt = "...", Pee = ["delete", "mark", "code", "underline", "strong", "keyb
|
|
|
87470
87470
|
"aria-hidden": !0,
|
|
87471
87471
|
key: "ellipsis"
|
|
87472
87472
|
}, ttt), le.suffix, Le(Re)];
|
|
87473
|
-
return /* @__PURE__ */ p.createElement(
|
|
87473
|
+
return /* @__PURE__ */ p.createElement(Na, {
|
|
87474
87474
|
onResize: Be,
|
|
87475
87475
|
disabled: !he
|
|
87476
87476
|
}, (Re) => /* @__PURE__ */ p.createElement(Ege, {
|
|
@@ -94053,7 +94053,7 @@ const fte = "https://library.becawork.vn/api/PublicLibrary/ViewFile/gfregdblvwd7
|
|
|
94053
94053
|
)
|
|
94054
94054
|
}
|
|
94055
94055
|
),
|
|
94056
|
-
((ze = ce.app) == null ? void 0 : ze.visible) && V !== "Office" && (z == null ? void 0 : z.theme) !== "new" && /* @__PURE__ */ L($e, {}),
|
|
94056
|
+
((ze = ce.app) == null ? void 0 : ze.visible) && V !== "Office" && ((z == null ? void 0 : z.theme) !== "new" || c) && /* @__PURE__ */ L($e, {}),
|
|
94057
94057
|
((Ye = ce.profile) == null ? void 0 : Ye.visible) && /* @__PURE__ */ L("div", { className: "profile-section", children: /* @__PURE__ */ L(
|
|
94058
94058
|
jl,
|
|
94059
94059
|
{
|
|
@@ -96022,10 +96022,10 @@ const kat = "https://share.becawork.vn/files/theme/web/sidebar-bg-img.png", eL =
|
|
|
96022
96022
|
color: "var(--primary-color-6)"
|
|
96023
96023
|
}
|
|
96024
96024
|
);
|
|
96025
|
-
return s ? t ? u ? /* @__PURE__ */ L(
|
|
96025
|
+
return s ? t ? u ? /* @__PURE__ */ L(Oa, {}) : /* @__PURE__ */ L("span", { className: "ant-menu-inline-collapsed-noicon", children: d }, r) : /* @__PURE__ */ xt("span", { className: "beca-menu-title-wrap", children: [
|
|
96026
96026
|
/* @__PURE__ */ L("div", { className: "beca-menu-title", children: o }),
|
|
96027
96027
|
h
|
|
96028
|
-
] }, r) : t && !c ? l ? u ? /* @__PURE__ */ L(
|
|
96028
|
+
] }, r) : t && !c ? l ? u ? /* @__PURE__ */ L(Oa, {}) : /* @__PURE__ */ L("a", { href: a, className: "ant-menu-inline-collapsed-noicon", children: d }, r) : n && /* @__PURE__ */ L(
|
|
96029
96029
|
n,
|
|
96030
96030
|
{
|
|
96031
96031
|
to: a,
|
|
@@ -96215,7 +96215,7 @@ const kat = "https://share.becawork.vn/files/theme/web/sidebar-bg-img.png", eL =
|
|
|
96215
96215
|
}
|
|
96216
96216
|
),
|
|
96217
96217
|
/* @__PURE__ */ L("div", { className: "sidebar-header", children: (O == null ? void 0 : O.theme) !== "new" ? /* @__PURE__ */ L("div", { className: "logo-wrap", children: /* @__PURE__ */ L("a", { href: "/", children: /* @__PURE__ */ L("img", { className: "logo", src: C }) }) }) : /* @__PURE__ */ xt("div", { className: "sidebar-header-content", children: [
|
|
96218
|
-
t && !a && /* @__PURE__ */ L("h2", { className: "sidebar-header-title", children: t }),
|
|
96218
|
+
t && !a && /* @__PURE__ */ L(Oa, { children: s ? /* @__PURE__ */ L("div", { className: "logo-wrap-mobile", children: /* @__PURE__ */ L("a", { href: "/", children: /* @__PURE__ */ L("img", { className: "logo", src: C }) }) }) : /* @__PURE__ */ L("h2", { className: "sidebar-header-title", children: t }) }),
|
|
96219
96219
|
/* @__PURE__ */ L("div", { className: "sidebar-header-actions", children: re && /* @__PURE__ */ L(
|
|
96220
96220
|
Hn,
|
|
96221
96221
|
{
|
|
@@ -100254,7 +100254,7 @@ const pL = (e) => {
|
|
|
100254
100254
|
trigger: "click",
|
|
100255
100255
|
children: /* @__PURE__ */ L("div", { className: "app-menu-item-more", children: c })
|
|
100256
100256
|
}
|
|
100257
|
-
) : a === "edit-button" ? /* @__PURE__ */ L(
|
|
100257
|
+
) : a === "edit-button" ? /* @__PURE__ */ L(Oa, { children: /* @__PURE__ */ L(sb, { mouseEnterDelay: 0.5, title: n, placement: "right", children: /* @__PURE__ */ L(
|
|
100258
100258
|
"div",
|
|
100259
100259
|
{
|
|
100260
100260
|
className: "app-menu-item-more",
|
|
@@ -100420,7 +100420,7 @@ const h8 = Cu({
|
|
|
100420
100420
|
ge.theme === "new" ? "new-theme" : "default-theme"
|
|
100421
100421
|
),
|
|
100422
100422
|
children: [
|
|
100423
|
-
ge.theme === "new" && /* @__PURE__ */ L(
|
|
100423
|
+
ge.theme === "new" && !le && /* @__PURE__ */ L(
|
|
100424
100424
|
oct,
|
|
100425
100425
|
{
|
|
100426
100426
|
logoUrl: u,
|
|
@@ -100704,7 +100704,7 @@ const cct = {
|
|
|
100704
100704
|
/* @__PURE__ */ xt("div", { className: "beca-card-header-top", children: [
|
|
100705
100705
|
/* @__PURE__ */ xt("div", { className: "beca-card-header-title", children: [
|
|
100706
100706
|
g && /* @__PURE__ */ L("div", { className: "beca-card-header-title__back-btn", children: S != null && S.LinkComponent ? /* @__PURE__ */ L(S.LinkComponent, { to: g, children: /* @__PURE__ */ L(ZP, {}) }) : v ? /* @__PURE__ */ L(v, { to: g, children: /* @__PURE__ */ L(ZP, {}) }) : /* @__PURE__ */ L("a", { href: g, children: /* @__PURE__ */ L(ZP, {}) }) }),
|
|
100707
|
-
l ?? /* @__PURE__ */ xt(
|
|
100707
|
+
l ?? /* @__PURE__ */ xt(Oa, { children: [
|
|
100708
100708
|
n && /* @__PURE__ */ L("div", { className: "beca-card-header-title__icon", children: n }),
|
|
100709
100709
|
r && /* @__PURE__ */ L("div", { className: "beca-card-header-title__text", children: r })
|
|
100710
100710
|
] })
|
|
@@ -106649,7 +106649,7 @@ const idt = (e) => {
|
|
|
106649
106649
|
var v;
|
|
106650
106650
|
(v = s.current) == null || v.blur();
|
|
106651
106651
|
}, 400);
|
|
106652
|
-
}, [u]), t ? /* @__PURE__ */ xt(
|
|
106652
|
+
}, [u]), t ? /* @__PURE__ */ xt(Oa, { children: [
|
|
106653
106653
|
c ? /* @__PURE__ */ L(
|
|
106654
106654
|
ti.Item,
|
|
106655
106655
|
{
|
|
@@ -109106,7 +109106,7 @@ class ks {
|
|
|
109106
109106
|
return EL[t] = n, n.prototype.jsonID = t, n;
|
|
109107
109107
|
}
|
|
109108
109108
|
}
|
|
109109
|
-
class
|
|
109109
|
+
class Aa {
|
|
109110
109110
|
/**
|
|
109111
109111
|
@internal
|
|
109112
109112
|
*/
|
|
@@ -109117,13 +109117,13 @@ class Da {
|
|
|
109117
109117
|
Create a successful step result.
|
|
109118
109118
|
*/
|
|
109119
109119
|
static ok(t) {
|
|
109120
|
-
return new
|
|
109120
|
+
return new Aa(t, null);
|
|
109121
109121
|
}
|
|
109122
109122
|
/**
|
|
109123
109123
|
Create a failed step result.
|
|
109124
109124
|
*/
|
|
109125
109125
|
static fail(t) {
|
|
109126
|
-
return new
|
|
109126
|
+
return new Aa(null, t);
|
|
109127
109127
|
}
|
|
109128
109128
|
/**
|
|
109129
109129
|
Call [`Node.replace`](https://prosemirror.net/docs/ref/#model.Node.replace) with the given
|
|
@@ -109132,10 +109132,10 @@ class Da {
|
|
|
109132
109132
|
*/
|
|
109133
109133
|
static fromReplace(t, n, r, o) {
|
|
109134
109134
|
try {
|
|
109135
|
-
return
|
|
109135
|
+
return Aa.ok(t.replace(n, r, o));
|
|
109136
109136
|
} catch (i) {
|
|
109137
109137
|
if (i instanceof _p)
|
|
109138
|
-
return
|
|
109138
|
+
return Aa.fail(i.message);
|
|
109139
109139
|
throw i;
|
|
109140
109140
|
}
|
|
109141
109141
|
}
|
|
@@ -109157,7 +109157,7 @@ class Bm extends ks {
|
|
|
109157
109157
|
}
|
|
109158
109158
|
apply(t) {
|
|
109159
109159
|
let n = t.slice(this.from, this.to), r = t.resolve(this.from), o = r.node(r.sharedDepth(this.to)), i = new En(RV(n.content, (a, l) => !a.isAtom || !l.type.allowsMarkType(this.mark.type) ? a : a.mark(this.mark.addToSet(a.marks)), o), n.openStart, n.openEnd);
|
|
109160
|
-
return
|
|
109160
|
+
return Aa.fromReplace(t, this.from, this.to, i);
|
|
109161
109161
|
}
|
|
109162
109162
|
invert() {
|
|
109163
109163
|
return new rf(this.from, this.to, this.mark);
|
|
@@ -109196,7 +109196,7 @@ class rf extends ks {
|
|
|
109196
109196
|
}
|
|
109197
109197
|
apply(t) {
|
|
109198
109198
|
let n = t.slice(this.from, this.to), r = new En(RV(n.content, (o) => o.mark(this.mark.removeFromSet(o.marks)), t), n.openStart, n.openEnd);
|
|
109199
|
-
return
|
|
109199
|
+
return Aa.fromReplace(t, this.from, this.to, r);
|
|
109200
109200
|
}
|
|
109201
109201
|
invert() {
|
|
109202
109202
|
return new Bm(this.from, this.to, this.mark);
|
|
@@ -109236,9 +109236,9 @@ class Vm extends ks {
|
|
|
109236
109236
|
apply(t) {
|
|
109237
109237
|
let n = t.nodeAt(this.pos);
|
|
109238
109238
|
if (!n)
|
|
109239
|
-
return
|
|
109239
|
+
return Aa.fail("No node at mark step's position");
|
|
109240
109240
|
let r = n.type.create(n.attrs, null, this.mark.addToSet(n.marks));
|
|
109241
|
-
return
|
|
109241
|
+
return Aa.fromReplace(t, this.pos, this.pos + 1, new En(Rt.from(r), 0, n.isLeaf ? 0 : 1));
|
|
109242
109242
|
}
|
|
109243
109243
|
invert(t) {
|
|
109244
109244
|
let n = t.nodeAt(this.pos);
|
|
@@ -109280,9 +109280,9 @@ class V2 extends ks {
|
|
|
109280
109280
|
apply(t) {
|
|
109281
109281
|
let n = t.nodeAt(this.pos);
|
|
109282
109282
|
if (!n)
|
|
109283
|
-
return
|
|
109283
|
+
return Aa.fail("No node at mark step's position");
|
|
109284
109284
|
let r = n.type.create(n.attrs, null, this.mark.removeFromSet(n.marks));
|
|
109285
|
-
return
|
|
109285
|
+
return Aa.fromReplace(t, this.pos, this.pos + 1, new En(Rt.from(r), 0, n.isLeaf ? 0 : 1));
|
|
109286
109286
|
}
|
|
109287
109287
|
invert(t) {
|
|
109288
109288
|
let n = t.nodeAt(this.pos);
|
|
@@ -109319,7 +109319,7 @@ class gl extends ks {
|
|
|
109319
109319
|
super(), this.from = t, this.to = n, this.slice = r, this.structure = o;
|
|
109320
109320
|
}
|
|
109321
109321
|
apply(t) {
|
|
109322
|
-
return this.structure && gH(t, this.from, this.to) ?
|
|
109322
|
+
return this.structure && gH(t, this.from, this.to) ? Aa.fail("Structure replace would overwrite content") : Aa.fromReplace(t, this.from, this.to, this.slice);
|
|
109323
109323
|
}
|
|
109324
109324
|
getMap() {
|
|
109325
109325
|
return new au([this.from, this.to - this.from, this.slice.size]);
|
|
@@ -109369,12 +109369,12 @@ class yl extends ks {
|
|
|
109369
109369
|
}
|
|
109370
109370
|
apply(t) {
|
|
109371
109371
|
if (this.structure && (gH(t, this.from, this.gapFrom) || gH(t, this.gapTo, this.to)))
|
|
109372
|
-
return
|
|
109372
|
+
return Aa.fail("Structure gap-replace would overwrite content");
|
|
109373
109373
|
let n = t.slice(this.gapFrom, this.gapTo);
|
|
109374
109374
|
if (n.openStart || n.openEnd)
|
|
109375
|
-
return
|
|
109375
|
+
return Aa.fail("Gap is not a flat range");
|
|
109376
109376
|
let r = this.slice.insertAt(this.insert, n.content);
|
|
109377
|
-
return r ?
|
|
109377
|
+
return r ? Aa.fromReplace(t, this.from, this.to, r) : Aa.fail("Content does not fit in gap");
|
|
109378
109378
|
}
|
|
109379
109379
|
getMap() {
|
|
109380
109380
|
return new au([
|
|
@@ -110012,13 +110012,13 @@ class $y extends ks {
|
|
|
110012
110012
|
apply(t) {
|
|
110013
110013
|
let n = t.nodeAt(this.pos);
|
|
110014
110014
|
if (!n)
|
|
110015
|
-
return
|
|
110015
|
+
return Aa.fail("No node at attribute step's position");
|
|
110016
110016
|
let r = /* @__PURE__ */ Object.create(null);
|
|
110017
110017
|
for (let i in n.attrs)
|
|
110018
110018
|
r[i] = n.attrs[i];
|
|
110019
110019
|
r[this.attr] = this.value;
|
|
110020
110020
|
let o = n.type.create(r, null, n.marks);
|
|
110021
|
-
return
|
|
110021
|
+
return Aa.fromReplace(t, this.pos, this.pos + 1, new En(Rt.from(o), 0, n.isLeaf ? 0 : 1));
|
|
110022
110022
|
}
|
|
110023
110023
|
getMap() {
|
|
110024
110024
|
return au.empty;
|
|
@@ -110053,7 +110053,7 @@ class a7 extends ks {
|
|
|
110053
110053
|
n[o] = t.attrs[o];
|
|
110054
110054
|
n[this.attr] = this.value;
|
|
110055
110055
|
let r = t.type.create(n, t.content, t.marks);
|
|
110056
|
-
return
|
|
110056
|
+
return Aa.ok(r);
|
|
110057
110057
|
}
|
|
110058
110058
|
getMap() {
|
|
110059
110059
|
return au.empty;
|
|
@@ -119716,7 +119716,7 @@ var Kmt = _H.exports, qmt = (...e) => (t) => {
|
|
|
119716
119716
|
e.getSnapshot,
|
|
119717
119717
|
e.getServerSnapshot
|
|
119718
119718
|
);
|
|
119719
|
-
return /* @__PURE__ */ L(
|
|
119719
|
+
return /* @__PURE__ */ L(Oa, { children: Object.values(t) });
|
|
119720
119720
|
};
|
|
119721
119721
|
function Xmt() {
|
|
119722
119722
|
const e = /* @__PURE__ */ new Set();
|
|
@@ -119803,7 +119803,7 @@ var Ymt = class extends G.Component {
|
|
|
119803
119803
|
}
|
|
119804
119804
|
render() {
|
|
119805
119805
|
const { editor: e, innerRef: t, ...n } = this.props;
|
|
119806
|
-
return /* @__PURE__ */ xt(
|
|
119806
|
+
return /* @__PURE__ */ xt(Oa, { children: [
|
|
119807
119807
|
/* @__PURE__ */ L("div", { ref: qmt(t, this.editorContentRef), ...n }),
|
|
119808
119808
|
(e == null ? void 0 : e.contentComponent) && /* @__PURE__ */ L(Gmt, { contentComponent: e.contentComponent })
|
|
119809
119809
|
] });
|
|
@@ -129850,7 +129850,7 @@ const e4t = ({ editor: e }) => e && /* @__PURE__ */ L(
|
|
|
129850
129850
|
}
|
|
129851
129851
|
) }),
|
|
129852
129852
|
/* @__PURE__ */ xt("div", { className: "button-group", children: [
|
|
129853
|
-
n && /* @__PURE__ */ L(
|
|
129853
|
+
n && /* @__PURE__ */ L(Oa, { children: /* @__PURE__ */ L(
|
|
129854
129854
|
jl,
|
|
129855
129855
|
{
|
|
129856
129856
|
popupRender: () => /* @__PURE__ */ L(n4t, { editor: n }),
|
|
@@ -130032,7 +130032,7 @@ const e4t = ({ editor: e }) => e && /* @__PURE__ */ L(
|
|
|
130032
130032
|
)
|
|
130033
130033
|
] }),
|
|
130034
130034
|
/* @__PURE__ */ xt("div", { className: "button-group", children: [
|
|
130035
|
-
h !== "compact" && /* @__PURE__ */ xt(
|
|
130035
|
+
h !== "compact" && /* @__PURE__ */ xt(Oa, { children: [
|
|
130036
130036
|
/* @__PURE__ */ L(
|
|
130037
130037
|
tj,
|
|
130038
130038
|
{
|
|
@@ -130068,7 +130068,7 @@ const e4t = ({ editor: e }) => e && /* @__PURE__ */ L(
|
|
|
130068
130068
|
}
|
|
130069
130069
|
)
|
|
130070
130070
|
] }),
|
|
130071
|
-
h !== "compact" && /* @__PURE__ */ xt(
|
|
130071
|
+
h !== "compact" && /* @__PURE__ */ xt(Oa, { children: [
|
|
130072
130072
|
/* @__PURE__ */ L(
|
|
130073
130073
|
Hn,
|
|
130074
130074
|
{
|
|
@@ -131294,7 +131294,7 @@ const b4t = ({
|
|
|
131294
131294
|
__html: _4t(o)
|
|
131295
131295
|
}
|
|
131296
131296
|
}
|
|
131297
|
-
) }) : /* @__PURE__ */ xt(
|
|
131297
|
+
) }) : /* @__PURE__ */ xt(Oa, { children: [
|
|
131298
131298
|
y !== "compact" && /* @__PURE__ */ L(r3t, { editor: j, tablePosition: N }),
|
|
131299
131299
|
/* @__PURE__ */ L(e4t, { editor: j }),
|
|
131300
131300
|
!r && /* @__PURE__ */ L("div", { className: "disable-zone" }),
|
|
@@ -132721,14 +132721,14 @@ const Iyt = (e) => {
|
|
|
132721
132721
|
/* @__PURE__ */ L(dV, {}),
|
|
132722
132722
|
" ",
|
|
132723
132723
|
l
|
|
132724
|
-
] }) : /* @__PURE__ */ L(
|
|
132724
|
+
] }) : /* @__PURE__ */ L(Oa, { children: ie ? /* @__PURE__ */ L(
|
|
132725
132725
|
"iframe",
|
|
132726
132726
|
{
|
|
132727
132727
|
width: "100%",
|
|
132728
132728
|
height: "100%",
|
|
132729
132729
|
src: `https://www.youtube.com/embed/${ie}`
|
|
132730
132730
|
}
|
|
132731
|
-
) : /* @__PURE__ */ xt(
|
|
132731
|
+
) : /* @__PURE__ */ xt(Oa, { children: [
|
|
132732
132732
|
/* @__PURE__ */ L(
|
|
132733
132733
|
"video",
|
|
132734
132734
|
{
|
|
@@ -133136,7 +133136,7 @@ function Vyt(e) {
|
|
|
133136
133136
|
};
|
|
133137
133137
|
return n(e);
|
|
133138
133138
|
}
|
|
133139
|
-
function
|
|
133139
|
+
function Da(...e) {
|
|
133140
133140
|
const t = po(), n = new Array(e.length);
|
|
133141
133141
|
let r = 0;
|
|
133142
133142
|
const o = 2 ** e.length - 1;
|
|
@@ -133987,7 +133987,7 @@ const Tye = ko(
|
|
|
133987
133987
|
e
|
|
133988
133988
|
), dr(
|
|
133989
133989
|
un(
|
|
133990
|
-
|
|
133990
|
+
Da(o, t, r),
|
|
133991
133991
|
Lr(([s, c]) => WM(c)),
|
|
133992
133992
|
Bn(([s, c, u]) => wf(c.groupOffsetTree, Math.max(s - u, 0), "v")[0]),
|
|
133993
133993
|
_i(),
|
|
@@ -134120,7 +134120,7 @@ const E8 = ko(
|
|
|
134120
134120
|
c
|
|
134121
134121
|
), qo(
|
|
134122
134122
|
un(
|
|
134123
|
-
|
|
134123
|
+
Da(t, a),
|
|
134124
134124
|
Qr(l, n, e, c),
|
|
134125
134125
|
Lr(([[, u], d, { sizeTree: h }, g, v]) => u && (!ni(h) || PW(g)) && !d && !v),
|
|
134126
134126
|
Qr(s)
|
|
@@ -134168,7 +134168,7 @@ const S7 = "up", b6 = "down", ubt = "none", dbt = {
|
|
|
134168
134168
|
);
|
|
134169
134169
|
dr(
|
|
134170
134170
|
un(
|
|
134171
|
-
|
|
134171
|
+
Da(Pr(o), Pr(d)),
|
|
134172
134172
|
Bn(([x, $]) => x <= $),
|
|
134173
134173
|
_i()
|
|
134174
134174
|
),
|
|
@@ -134176,7 +134176,7 @@ const S7 = "up", b6 = "down", ubt = "none", dbt = {
|
|
|
134176
134176
|
), dr(un(l, Yh(50)), c);
|
|
134177
134177
|
const v = vu(
|
|
134178
134178
|
un(
|
|
134179
|
-
|
|
134179
|
+
Da(r, Pr(i), Pr(t), Pr(e), Pr(u)),
|
|
134180
134180
|
wp((x, [{ scrollHeight: $, scrollTop: N }, O, R, T, _]) => {
|
|
134181
134181
|
const k = N + O - $ > -_, P = {
|
|
134182
134182
|
scrollHeight: $,
|
|
@@ -134297,7 +134297,7 @@ const FW = ko(
|
|
|
134297
134297
|
([{ deviation: e, fixedHeaderHeight: t, headerHeight: n, scrollTop: r, viewportHeight: o }]) => {
|
|
134298
134298
|
const i = po(), a = wn(0), l = wn(0), s = wn(0), c = $s(
|
|
134299
134299
|
un(
|
|
134300
|
-
|
|
134300
|
+
Da(
|
|
134301
134301
|
Pr(r),
|
|
134302
134302
|
Pr(o),
|
|
134303
134303
|
Pr(n),
|
|
@@ -134449,7 +134449,7 @@ const gv = ko(
|
|
|
134449
134449
|
dr(i.topItemsIndexes, C);
|
|
134450
134450
|
const $ = $s(
|
|
134451
134451
|
un(
|
|
134452
|
-
|
|
134452
|
+
Da(
|
|
134453
134453
|
g,
|
|
134454
134454
|
v,
|
|
134455
134455
|
Pr(s, b7),
|
|
@@ -134646,7 +134646,7 @@ const gv = ko(
|
|
|
134646
134646
|
([{ fixedFooterHeight: e, fixedHeaderHeight: t, footerHeight: n, headerHeight: r }, { listState: o }]) => {
|
|
134647
134647
|
const i = po(), a = $s(
|
|
134648
134648
|
un(
|
|
134649
|
-
|
|
134649
|
+
Da(n, e, r, t, o),
|
|
134650
134650
|
Bn(([l, s, c, u, d]) => l + s + c + u + d.offsetBottom + d.bottom)
|
|
134651
134651
|
),
|
|
134652
134652
|
0
|
|
@@ -134659,7 +134659,7 @@ const gv = ko(
|
|
|
134659
134659
|
([{ viewportHeight: e }, { totalListHeight: t }]) => {
|
|
134660
134660
|
const n = wn(!1), r = $s(
|
|
134661
134661
|
un(
|
|
134662
|
-
|
|
134662
|
+
Da(n, e, t),
|
|
134663
134663
|
Lr(([o]) => o),
|
|
134664
134664
|
Bn(([, o, i]) => Math.max(0, o - i)),
|
|
134665
134665
|
Yh(0),
|
|
@@ -134746,7 +134746,7 @@ const gbt = (e, t) => typeof e == "function" ? Roe(e(t)) : t && Roe(e), vbt = ko
|
|
|
134746
134746
|
}
|
|
134747
134747
|
qo(
|
|
134748
134748
|
un(
|
|
134749
|
-
|
|
134749
|
+
Da(un(Pr(t), G2(1)), s),
|
|
134750
134750
|
Qr(Pr(v), i, l, d),
|
|
134751
134751
|
Bn(([[O, R], T, _, k, P]) => {
|
|
134752
134752
|
let D = R && k, H = "auto";
|
|
@@ -134770,7 +134770,7 @@ const gbt = (e, t) => typeof e == "function" ? Roe(e(t)) : t && Roe(e), vbt = ko
|
|
|
134770
134770
|
}
|
|
134771
134771
|
qo(
|
|
134772
134772
|
un(
|
|
134773
|
-
|
|
134773
|
+
Da(Pr(v), t, c),
|
|
134774
134774
|
Lr(([O, , R]) => O !== !1 && R),
|
|
134775
134775
|
wp(
|
|
134776
134776
|
({ value: O }, [, R]) => ({ refreshed: O === R, value: R }),
|
|
@@ -134784,7 +134784,7 @@ const gbt = (e, t) => typeof e == "function" ? Roe(e(t)) : t && Roe(e), vbt = ko
|
|
|
134784
134784
|
}
|
|
134785
134785
|
), qo(C, () => {
|
|
134786
134786
|
x(ji(v) !== !1);
|
|
134787
|
-
}), qo(
|
|
134787
|
+
}), qo(Da(Pr(v), o), ([O, R]) => {
|
|
134788
134788
|
O !== !1 && !R.atBottom && R.notAtBottomBecause === "VIEWPORT_HEIGHT_DECREASING" && S("auto");
|
|
134789
134789
|
});
|
|
134790
134790
|
const $ = wn(null), N = po();
|
|
@@ -134799,7 +134799,7 @@ const gbt = (e, t) => typeof e == "function" ? Roe(e(t)) : t && Roe(e), vbt = ko
|
|
|
134799
134799
|
N
|
|
134800
134800
|
), qo(
|
|
134801
134801
|
un(
|
|
134802
|
-
|
|
134802
|
+
Da(un(N, G2(1)), s),
|
|
134803
134803
|
Qr(Pr($), l, d, h),
|
|
134804
134804
|
Bn(([[O, R], T, _, k, P]) => R && _ && (T == null ? void 0 : T({ context: P, totalCount: O, scrollingInProgress: k }))),
|
|
134805
134805
|
Lr((O) => !!O),
|
|
@@ -134889,7 +134889,7 @@ const gbt = (e, t) => typeof e == "function" ? Roe(e(t)) : t && Roe(e), vbt = ko
|
|
|
134889
134889
|
),
|
|
134890
134890
|
t
|
|
134891
134891
|
), qo(
|
|
134892
|
-
un(
|
|
134892
|
+
un(Da(t, e, n), Qr(r)),
|
|
134893
134893
|
([[o, i, a], l]) => {
|
|
134894
134894
|
o && l !== !1 && l !== void 0 && l.change && l.change(i, a);
|
|
134895
134895
|
}
|
|
@@ -134901,7 +134901,7 @@ const gbt = (e, t) => typeof e == "function" ? Roe(e(t)) : t && Roe(e), vbt = ko
|
|
|
134901
134901
|
const n = po(), r = po(), o = po(), i = wn(!1), a = wn(void 0);
|
|
134902
134902
|
return dr(
|
|
134903
134903
|
un(
|
|
134904
|
-
|
|
134904
|
+
Da(n, r),
|
|
134905
134905
|
Bn(([{ scrollTop: l, viewportHeight: s }, { offsetTop: c, listHeight: u }]) => ({
|
|
134906
134906
|
scrollHeight: u,
|
|
134907
134907
|
scrollTop: Math.max(0, l - c),
|
|
@@ -135015,7 +135015,7 @@ const xbt = Dye(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.t
|
|
|
135015
135015
|
$ && xbt() ? Xr(e, x - S) : y(-S);
|
|
135016
135016
|
}), qo(
|
|
135017
135017
|
un(
|
|
135018
|
-
|
|
135018
|
+
Da($s(i, !1), e, v),
|
|
135019
135019
|
Lr(([S, x, $]) => !S && !$ && x !== 0),
|
|
135020
135020
|
Bn(([S, x]) => x),
|
|
135021
135021
|
Yh(1)
|
|
@@ -135753,7 +135753,7 @@ const Zbt = /* @__PURE__ */ ko(
|
|
|
135753
135753
|
}
|
|
135754
135754
|
), qo(
|
|
135755
135755
|
un(
|
|
135756
|
-
|
|
135756
|
+
Da(v, j, P, k, Y, Z),
|
|
135757
135757
|
Lr(([ne, ge, pe, de, , le]) => ne && !ge && pe.height !== 0 && de.height !== 0 && !le)
|
|
135758
135758
|
),
|
|
135759
135759
|
([, , , , ne]) => {
|
|
@@ -135789,7 +135789,7 @@ const Zbt = /* @__PURE__ */ ko(
|
|
|
135789
135789
|
d
|
|
135790
135790
|
), dr(
|
|
135791
135791
|
un(
|
|
135792
|
-
|
|
135792
|
+
Da(
|
|
135793
135793
|
Pr(k, HE),
|
|
135794
135794
|
Pr(P, HE),
|
|
135795
135795
|
Pr(B, (ne, ge) => ne !== void 0 && ne.column === ge.column && ne.row === ge.row),
|
|
@@ -135805,7 +135805,7 @@ const Zbt = /* @__PURE__ */ ko(
|
|
|
135805
135805
|
F
|
|
135806
135806
|
), dr(
|
|
135807
135807
|
un(
|
|
135808
|
-
|
|
135808
|
+
Da(
|
|
135809
135809
|
Pr(R),
|
|
135810
135810
|
r,
|
|
135811
135811
|
Pr(B, Ybt),
|
|
@@ -135856,7 +135856,7 @@ const Zbt = /* @__PURE__ */ ko(
|
|
|
135856
135856
|
R
|
|
135857
135857
|
), dr(
|
|
135858
135858
|
un(
|
|
135859
|
-
|
|
135859
|
+
Da(k, P, _, B),
|
|
135860
135860
|
Lr(([ne, ge, { items: pe }]) => pe.length > 0 && ge.height !== 0 && ne.height !== 0),
|
|
135861
135861
|
Bn(([ne, ge, { items: pe }, de]) => {
|
|
135862
135862
|
const { bottom: le, top: ce } = Aoe(ne, de, ge, pe);
|
|
@@ -135877,7 +135877,7 @@ const Zbt = /* @__PURE__ */ ko(
|
|
|
135877
135877
|
);
|
|
135878
135878
|
const ee = vu(
|
|
135879
135879
|
un(
|
|
135880
|
-
|
|
135880
|
+
Da(_, R),
|
|
135881
135881
|
Lr(([{ items: ne }]) => ne.length > 0),
|
|
135882
135882
|
Qr(q),
|
|
135883
135883
|
Lr(([[ne, ge], pe]) => {
|
|
@@ -137053,7 +137053,7 @@ const up = "img-crop", uD = 1, N9 = 0.1, I$ = 0, Zoe = -180, Joe = 180, dD = 1,
|
|
|
137053
137053
|
onReset: R
|
|
137054
137054
|
}));
|
|
137055
137055
|
const D = "[display:flex] [align-items:center] [width:60%] [margin-inline:auto]", H = "[display:flex] [align-items:center] [justify-content:center] [height:32px] [width:32px] [background:transparent] [border:0] [font-family:inherit] [font-size:18px] [cursor:pointer] disabled:[opacity:20%] disabled:[cursor:default]", V = "[flex:1]";
|
|
137056
|
-
return xt(
|
|
137056
|
+
return xt(Oa, { children: [L(H5t, Object.assign({}, v, {
|
|
137057
137057
|
ref: n,
|
|
137058
137058
|
image: s,
|
|
137059
137059
|
crop: T,
|
|
@@ -137176,7 +137176,7 @@ const W5t = d5t(Bse, "4.23.0") === -1 ? "visible" : "open", k4 = (e, t, n) => t
|
|
|
137176
137176
|
const re = {};
|
|
137177
137177
|
return S !== void 0 && (re.width = S), x !== void 0 && (re.okText = x), $ !== void 0 && (re.cancelText = $), re;
|
|
137178
137178
|
}, [$, x, S]), J = `${up}-modal${C ? ` ${C}` : ""}`, ee = (typeof window > "u" ? "" : window.navigator.language) === "zh-CN", ae = y || (ee ? "编辑图片" : "Edit image"), ie = s || (ee ? "重置" : "Reset");
|
|
137179
|
-
return xt(
|
|
137179
|
+
return xt(Oa, { children: [j, F && L(ll, Object.assign({}, R, Z, { [W5t]: !0 }, { title: ae, onCancel: U.current, onOk: Y.current, wrapClassName: J, maskClosable: !1, destroyOnClose: !0 }, { children: L(F5t, { ref: z, cropperRef: t, zoomSlider: k, rotationSlider: P, aspectSlider: a, showReset: l, resetBtnText: ie, modalImage: F, aspect: c, minZoom: u, maxZoom: d, cropShape: D, showGrid: H, cropperProps: v }) }))] });
|
|
137180
137180
|
}), Fjt = (e) => /* @__PURE__ */ L(U5t, { ...e });
|
|
137181
137181
|
var ed = {}, O8 = {}, K5t = typeof Fl == "object" && Fl && Fl.Object === Object && Fl, rbe = K5t, q5t = rbe, G5t = typeof self == "object" && self && self.Object === Object && self, X5t = q5t || G5t || Function("return this")(), qp = X5t, Y5t = qp, Z5t = Y5t.Symbol, N8 = Z5t, tie = N8, obe = Object.prototype, J5t = obe.hasOwnProperty, Q5t = obe.toString, M9 = tie ? tie.toStringTag : void 0;
|
|
137182
137182
|
function eCt(e) {
|
|
@@ -143789,7 +143789,7 @@ const iFt = (e) => {
|
|
|
143789
143789
|
var v;
|
|
143790
143790
|
(v = s.current) == null || v.blur();
|
|
143791
143791
|
}, 400);
|
|
143792
|
-
}, [u]), t ? /* @__PURE__ */ xt(
|
|
143792
|
+
}, [u]), t ? /* @__PURE__ */ xt(Oa, { children: [
|
|
143793
143793
|
/* @__PURE__ */ L(
|
|
143794
143794
|
ti.Item,
|
|
143795
143795
|
{
|
|
@@ -144035,14 +144035,14 @@ Hc.prototype.property = "";
|
|
|
144035
144035
|
Hc.prototype.spaceSeparated = !1;
|
|
144036
144036
|
Hc.prototype.space = void 0;
|
|
144037
144037
|
let qPt = 0;
|
|
144038
|
-
const Gr = Ev(),
|
|
144038
|
+
const Gr = Ev(), ka = Ev(), Ij = Ev(), Cn = Ev(), vi = Ev(), Ry = Ev(), ou = Ev();
|
|
144039
144039
|
function Ev() {
|
|
144040
144040
|
return 2 ** ++qPt;
|
|
144041
144041
|
}
|
|
144042
144042
|
const _j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
144043
144043
|
__proto__: null,
|
|
144044
144044
|
boolean: Gr,
|
|
144045
|
-
booleanish:
|
|
144045
|
+
booleanish: ka,
|
|
144046
144046
|
commaOrSpaceSeparated: ou,
|
|
144047
144047
|
commaSeparated: Ry,
|
|
144048
144048
|
number: Cn,
|
|
@@ -144095,10 +144095,10 @@ function t5(e) {
|
|
|
144095
144095
|
const g5e = t5({
|
|
144096
144096
|
properties: {
|
|
144097
144097
|
ariaActiveDescendant: null,
|
|
144098
|
-
ariaAtomic:
|
|
144098
|
+
ariaAtomic: ka,
|
|
144099
144099
|
ariaAutoComplete: null,
|
|
144100
|
-
ariaBusy:
|
|
144101
|
-
ariaChecked:
|
|
144100
|
+
ariaBusy: ka,
|
|
144101
|
+
ariaChecked: ka,
|
|
144102
144102
|
ariaColCount: Cn,
|
|
144103
144103
|
ariaColIndex: Cn,
|
|
144104
144104
|
ariaColSpan: Cn,
|
|
@@ -144106,36 +144106,36 @@ const g5e = t5({
|
|
|
144106
144106
|
ariaCurrent: null,
|
|
144107
144107
|
ariaDescribedBy: vi,
|
|
144108
144108
|
ariaDetails: null,
|
|
144109
|
-
ariaDisabled:
|
|
144109
|
+
ariaDisabled: ka,
|
|
144110
144110
|
ariaDropEffect: vi,
|
|
144111
144111
|
ariaErrorMessage: null,
|
|
144112
|
-
ariaExpanded:
|
|
144112
|
+
ariaExpanded: ka,
|
|
144113
144113
|
ariaFlowTo: vi,
|
|
144114
|
-
ariaGrabbed:
|
|
144114
|
+
ariaGrabbed: ka,
|
|
144115
144115
|
ariaHasPopup: null,
|
|
144116
|
-
ariaHidden:
|
|
144116
|
+
ariaHidden: ka,
|
|
144117
144117
|
ariaInvalid: null,
|
|
144118
144118
|
ariaKeyShortcuts: null,
|
|
144119
144119
|
ariaLabel: null,
|
|
144120
144120
|
ariaLabelledBy: vi,
|
|
144121
144121
|
ariaLevel: Cn,
|
|
144122
144122
|
ariaLive: null,
|
|
144123
|
-
ariaModal:
|
|
144124
|
-
ariaMultiLine:
|
|
144125
|
-
ariaMultiSelectable:
|
|
144123
|
+
ariaModal: ka,
|
|
144124
|
+
ariaMultiLine: ka,
|
|
144125
|
+
ariaMultiSelectable: ka,
|
|
144126
144126
|
ariaOrientation: null,
|
|
144127
144127
|
ariaOwns: vi,
|
|
144128
144128
|
ariaPlaceholder: null,
|
|
144129
144129
|
ariaPosInSet: Cn,
|
|
144130
|
-
ariaPressed:
|
|
144131
|
-
ariaReadOnly:
|
|
144130
|
+
ariaPressed: ka,
|
|
144131
|
+
ariaReadOnly: ka,
|
|
144132
144132
|
ariaRelevant: null,
|
|
144133
|
-
ariaRequired:
|
|
144133
|
+
ariaRequired: ka,
|
|
144134
144134
|
ariaRoleDescription: vi,
|
|
144135
144135
|
ariaRowCount: Cn,
|
|
144136
144136
|
ariaRowIndex: Cn,
|
|
144137
144137
|
ariaRowSpan: Cn,
|
|
144138
|
-
ariaSelected:
|
|
144138
|
+
ariaSelected: ka,
|
|
144139
144139
|
ariaSetSize: Cn,
|
|
144140
144140
|
ariaSort: null,
|
|
144141
144141
|
ariaValueMax: Cn,
|
|
@@ -144189,7 +144189,7 @@ const GPt = t5({
|
|
|
144189
144189
|
cols: Cn,
|
|
144190
144190
|
colSpan: null,
|
|
144191
144191
|
content: null,
|
|
144192
|
-
contentEditable:
|
|
144192
|
+
contentEditable: ka,
|
|
144193
144193
|
controls: Gr,
|
|
144194
144194
|
controlsList: vi,
|
|
144195
144195
|
coords: Cn | Ry,
|
|
@@ -144203,7 +144203,7 @@ const GPt = t5({
|
|
|
144203
144203
|
dirName: null,
|
|
144204
144204
|
disabled: Gr,
|
|
144205
144205
|
download: Ij,
|
|
144206
|
-
draggable:
|
|
144206
|
+
draggable: ka,
|
|
144207
144207
|
encType: null,
|
|
144208
144208
|
enterKeyHint: null,
|
|
144209
144209
|
fetchPriority: null,
|
|
@@ -144374,7 +144374,7 @@ const GPt = t5({
|
|
|
144374
144374
|
sizes: null,
|
|
144375
144375
|
slot: null,
|
|
144376
144376
|
span: Cn,
|
|
144377
|
-
spellCheck:
|
|
144377
|
+
spellCheck: ka,
|
|
144378
144378
|
src: null,
|
|
144379
144379
|
srcDoc: null,
|
|
144380
144380
|
srcLang: null,
|
|
@@ -144389,7 +144389,7 @@ const GPt = t5({
|
|
|
144389
144389
|
type: null,
|
|
144390
144390
|
typeMustMatch: Gr,
|
|
144391
144391
|
useMap: null,
|
|
144392
|
-
value:
|
|
144392
|
+
value: ka,
|
|
144393
144393
|
width: Cn,
|
|
144394
144394
|
wrap: null,
|
|
144395
144395
|
writingSuggestions: null,
|
|
@@ -144481,7 +144481,7 @@ const GPt = t5({
|
|
|
144481
144481
|
// `<table>`
|
|
144482
144482
|
scheme: null,
|
|
144483
144483
|
// `<meta>`
|
|
144484
|
-
scrolling:
|
|
144484
|
+
scrolling: ka,
|
|
144485
144485
|
// `<frame>`. Use overflow in the child context
|
|
144486
144486
|
standby: null,
|
|
144487
144487
|
// `<object>`
|
|
@@ -150679,7 +150679,7 @@ function NHt(e, t) {
|
|
|
150679
150679
|
for (const u of xHt)
|
|
150680
150680
|
Object.hasOwn(t, u.from) && ("" + u.from + (u.to ? "use `" + u.to + "` instead" : "remove it") + SHt + u.id, void 0);
|
|
150681
150681
|
return G5e(e, c), ALt(e, {
|
|
150682
|
-
Fragment:
|
|
150682
|
+
Fragment: Oa,
|
|
150683
150683
|
components: o,
|
|
150684
150684
|
ignoreInvalidStyle: !0,
|
|
150685
150685
|
jsx: L,
|
|
@@ -150749,7 +150749,7 @@ const MHt = ({
|
|
|
150749
150749
|
EHt,
|
|
150750
150750
|
{
|
|
150751
150751
|
components: {
|
|
150752
|
-
p: ({ children: l }) => /* @__PURE__ */ L(
|
|
150752
|
+
p: ({ children: l }) => /* @__PURE__ */ L(Oa, { children: l })
|
|
150753
150753
|
},
|
|
150754
150754
|
children: e.text
|
|
150755
150755
|
}
|
|
@@ -150926,7 +150926,7 @@ const IHt = 2, _Ht = G.forwardRef(({ style: e, ...t }, n) => /* @__PURE__ */ L(
|
|
|
150926
150926
|
);
|
|
150927
150927
|
return /* @__PURE__ */ xt("section", { className: ve("beca-chat-main"), children: [
|
|
150928
150928
|
/* @__PURE__ */ L("div", { className: "beca-chat-main-wallpaper" }),
|
|
150929
|
-
g ? /* @__PURE__ */ xt(
|
|
150929
|
+
g ? /* @__PURE__ */ xt(Oa, { children: [
|
|
150930
150930
|
H.visible && /* @__PURE__ */ xt("header", { className: "beca-chat-main-header", children: [
|
|
150931
150931
|
/* @__PURE__ */ L(
|
|
150932
150932
|
"div",
|
|
@@ -151019,7 +151019,7 @@ const IHt = 2, _Ht = G.forwardRef(({ style: e, ...t }, n) => /* @__PURE__ */ L(
|
|
|
151019
151019
|
className: "beca-chat-main-messages-container"
|
|
151020
151020
|
}
|
|
151021
151021
|
)),
|
|
151022
|
-
Footer: () => /* @__PURE__ */ xt(
|
|
151022
|
+
Footer: () => /* @__PURE__ */ xt(Oa, { children: [
|
|
151023
151023
|
O && /* @__PURE__ */ L(wle, { ...O }),
|
|
151024
151024
|
R && /* @__PURE__ */ L(wle, { ...R }),
|
|
151025
151025
|
/* @__PURE__ */ L("div", { className: "last-space" }),
|