@valbuild/ui 0.40.0 → 0.41.0
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/valbuild-ui.cjs.js +494 -560
- package/dist/valbuild-ui.esm.js +494 -560
- package/package.json +3 -3
- package/server/.tmp/assets/index-yF-ezBh3.js +201 -0
- package/server/.tmp/index.html +1 -1
- package/server/dist/valbuild-ui-main.cjs.js +469 -195
- package/server/dist/valbuild-ui-main.esm.js +469 -195
- package/server/dist/valbuild-ui-server.cjs.js +1 -1
- package/server/dist/valbuild-ui-server.esm.js +1 -1
- package/server/.tmp/assets/index-U4J2Ol5s.js +0 -201
|
@@ -1983,7 +1983,7 @@ function requireReact_production_min() {
|
|
|
1983
1983
|
H.constructor = G;
|
|
1984
1984
|
C(H, E.prototype);
|
|
1985
1985
|
H.isPureReactComponent = true;
|
|
1986
|
-
var I = Array.isArray, J = Object.prototype.hasOwnProperty,
|
|
1986
|
+
var I = Array.isArray, J = Object.prototype.hasOwnProperty, K2 = { current: null }, L = { key: true, ref: true, __self: true, __source: true };
|
|
1987
1987
|
function M(a, b, e) {
|
|
1988
1988
|
var d, c = {}, k = null, h = null;
|
|
1989
1989
|
if (null != b)
|
|
@@ -2000,9 +2000,9 @@ function requireReact_production_min() {
|
|
|
2000
2000
|
if (a && a.defaultProps)
|
|
2001
2001
|
for (d in g = a.defaultProps, g)
|
|
2002
2002
|
void 0 === c[d] && (c[d] = g[d]);
|
|
2003
|
-
return { $$typeof: l, type: a, key: k, ref: h, props: c, _owner:
|
|
2003
|
+
return { $$typeof: l, type: a, key: k, ref: h, props: c, _owner: K2.current };
|
|
2004
2004
|
}
|
|
2005
|
-
function
|
|
2005
|
+
function N2(a, b) {
|
|
2006
2006
|
return { $$typeof: l, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner };
|
|
2007
2007
|
}
|
|
2008
2008
|
function O(a) {
|
|
@@ -2041,7 +2041,7 @@ function requireReact_production_min() {
|
|
|
2041
2041
|
if (h)
|
|
2042
2042
|
return h = a, c = c(h), a = "" === d ? "." + Q(h, 0) : d, I(c) ? (e = "", null != a && (e = a.replace(P, "$&/") + "/"), R(c, b, e, "", function(a2) {
|
|
2043
2043
|
return a2;
|
|
2044
|
-
})) : null != c && (O(c) && (c =
|
|
2044
|
+
})) : null != c && (O(c) && (c = N2(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P, "$&/") + "/") + a)), b.push(c)), 1;
|
|
2045
2045
|
h = 0;
|
|
2046
2046
|
d = "" === d ? "." : d + ":";
|
|
2047
2047
|
if (I(a))
|
|
@@ -2083,7 +2083,7 @@ function requireReact_production_min() {
|
|
|
2083
2083
|
return a._result.default;
|
|
2084
2084
|
throw a._result;
|
|
2085
2085
|
}
|
|
2086
|
-
var U = { current: null }, V = { transition: null },
|
|
2086
|
+
var U = { current: null }, V = { transition: null }, W2 = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K2 };
|
|
2087
2087
|
react_production_min.Children = { map: S, forEach: function(a, b, e) {
|
|
2088
2088
|
S(a, function() {
|
|
2089
2089
|
b.apply(this, arguments);
|
|
@@ -2109,13 +2109,13 @@ function requireReact_production_min() {
|
|
|
2109
2109
|
react_production_min.PureComponent = G;
|
|
2110
2110
|
react_production_min.StrictMode = q;
|
|
2111
2111
|
react_production_min.Suspense = w;
|
|
2112
|
-
react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
|
|
2112
|
+
react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W2;
|
|
2113
2113
|
react_production_min.cloneElement = function(a, b, e) {
|
|
2114
2114
|
if (null === a || void 0 === a)
|
|
2115
2115
|
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
|
|
2116
2116
|
var d = C({}, a.props), c = a.key, k = a.ref, h = a._owner;
|
|
2117
2117
|
if (null != b) {
|
|
2118
|
-
void 0 !== b.ref && (k = b.ref, h =
|
|
2118
|
+
void 0 !== b.ref && (k = b.ref, h = K2.current);
|
|
2119
2119
|
void 0 !== b.key && (c = "" + b.key);
|
|
2120
2120
|
if (a.type && a.type.defaultProps)
|
|
2121
2121
|
var g = a.type.defaultProps;
|
|
@@ -2770,7 +2770,7 @@ function requireScheduler_production_min() {
|
|
|
2770
2770
|
A = true, I(J);
|
|
2771
2771
|
else {
|
|
2772
2772
|
var b = h(t);
|
|
2773
|
-
null !== b &&
|
|
2773
|
+
null !== b && K2(H, b.startTime - a);
|
|
2774
2774
|
}
|
|
2775
2775
|
}
|
|
2776
2776
|
function J(a, b) {
|
|
@@ -2797,7 +2797,7 @@ function requireScheduler_production_min() {
|
|
|
2797
2797
|
var w = true;
|
|
2798
2798
|
else {
|
|
2799
2799
|
var m2 = h(t);
|
|
2800
|
-
null !== m2 &&
|
|
2800
|
+
null !== m2 && K2(H, m2.startTime - b);
|
|
2801
2801
|
w = false;
|
|
2802
2802
|
}
|
|
2803
2803
|
return w;
|
|
@@ -2805,7 +2805,7 @@ function requireScheduler_production_min() {
|
|
|
2805
2805
|
v = null, y = c, z = false;
|
|
2806
2806
|
}
|
|
2807
2807
|
}
|
|
2808
|
-
var
|
|
2808
|
+
var N2 = false, O = null, L = -1, P = 5, Q = -1;
|
|
2809
2809
|
function M() {
|
|
2810
2810
|
return exports.unstable_now() - Q < P ? false : true;
|
|
2811
2811
|
}
|
|
@@ -2817,10 +2817,10 @@ function requireScheduler_production_min() {
|
|
|
2817
2817
|
try {
|
|
2818
2818
|
b = O(true, a);
|
|
2819
2819
|
} finally {
|
|
2820
|
-
b ? S() : (
|
|
2820
|
+
b ? S() : (N2 = false, O = null);
|
|
2821
2821
|
}
|
|
2822
2822
|
} else
|
|
2823
|
-
|
|
2823
|
+
N2 = false;
|
|
2824
2824
|
}
|
|
2825
2825
|
var S;
|
|
2826
2826
|
if ("function" === typeof F)
|
|
@@ -2839,9 +2839,9 @@ function requireScheduler_production_min() {
|
|
|
2839
2839
|
};
|
|
2840
2840
|
function I(a) {
|
|
2841
2841
|
O = a;
|
|
2842
|
-
|
|
2842
|
+
N2 || (N2 = true, S());
|
|
2843
2843
|
}
|
|
2844
|
-
function
|
|
2844
|
+
function K2(a, b) {
|
|
2845
2845
|
L = D(function() {
|
|
2846
2846
|
a(exports.unstable_now());
|
|
2847
2847
|
}, b);
|
|
@@ -2929,7 +2929,7 @@ function requireScheduler_production_min() {
|
|
|
2929
2929
|
}
|
|
2930
2930
|
e = c + e;
|
|
2931
2931
|
a = { id: u++, callback: b, priorityLevel: a, startTime: c, expirationTime: e, sortIndex: -1 };
|
|
2932
|
-
c > d ? (a.sortIndex = c, f(t, a), null === h(r2) && a === h(t) && (B ? (E(L), L = -1) : B = true,
|
|
2932
|
+
c > d ? (a.sortIndex = c, f(t, a), null === h(r2) && a === h(t) && (B ? (E(L), L = -1) : B = true, K2(H, c - d))) : (a.sortIndex = e, f(r2, a), A || z || (A = true, I(J)));
|
|
2933
2933
|
return a;
|
|
2934
2934
|
};
|
|
2935
2935
|
exports.unstable_shouldYield = M;
|
|
@@ -26598,7 +26598,7 @@ function requireReactDom_production_min() {
|
|
|
26598
26598
|
a = a.updateQueue;
|
|
26599
26599
|
b.updateQueue === a && (b.updateQueue = { baseState: a.baseState, firstBaseUpdate: a.firstBaseUpdate, lastBaseUpdate: a.lastBaseUpdate, shared: a.shared, effects: a.effects });
|
|
26600
26600
|
}
|
|
26601
|
-
function
|
|
26601
|
+
function ch3(a, b) {
|
|
26602
26602
|
return { eventTime: a, lane: b, tag: 0, payload: null, callback: null, next: null };
|
|
26603
26603
|
}
|
|
26604
26604
|
function dh(a, b, c) {
|
|
@@ -26606,7 +26606,7 @@ function requireReactDom_production_min() {
|
|
|
26606
26606
|
if (null === d)
|
|
26607
26607
|
return null;
|
|
26608
26608
|
d = d.shared;
|
|
26609
|
-
if (0 !== (
|
|
26609
|
+
if (0 !== (K2 & 2)) {
|
|
26610
26610
|
var e = d.pending;
|
|
26611
26611
|
null === e ? b.next = b : (b.next = e.next, e.next = b);
|
|
26612
26612
|
d.pending = b;
|
|
@@ -26758,14 +26758,14 @@ function requireReactDom_production_min() {
|
|
|
26758
26758
|
return (a = a._reactInternals) ? Vb(a) === a : false;
|
|
26759
26759
|
}, enqueueSetState: function(a, b, c) {
|
|
26760
26760
|
a = a._reactInternals;
|
|
26761
|
-
var d = L(), e = lh(a), f =
|
|
26761
|
+
var d = L(), e = lh(a), f = ch3(d, e);
|
|
26762
26762
|
f.payload = b;
|
|
26763
26763
|
void 0 !== c && null !== c && (f.callback = c);
|
|
26764
26764
|
b = dh(a, f, e);
|
|
26765
26765
|
null !== b && (mh(b, a, e, d), eh(b, a, e));
|
|
26766
26766
|
}, enqueueReplaceState: function(a, b, c) {
|
|
26767
26767
|
a = a._reactInternals;
|
|
26768
|
-
var d = L(), e = lh(a), f =
|
|
26768
|
+
var d = L(), e = lh(a), f = ch3(d, e);
|
|
26769
26769
|
f.tag = 1;
|
|
26770
26770
|
f.payload = b;
|
|
26771
26771
|
void 0 !== c && null !== c && (f.callback = c);
|
|
@@ -26773,7 +26773,7 @@ function requireReactDom_production_min() {
|
|
|
26773
26773
|
null !== b && (mh(b, a, e, d), eh(b, a, e));
|
|
26774
26774
|
}, enqueueForceUpdate: function(a, b) {
|
|
26775
26775
|
a = a._reactInternals;
|
|
26776
|
-
var c = L(), d = lh(a), e =
|
|
26776
|
+
var c = L(), d = lh(a), e = ch3(c, d);
|
|
26777
26777
|
e.tag = 2;
|
|
26778
26778
|
void 0 !== b && null !== b && (e.callback = b);
|
|
26779
26779
|
b = dh(a, e, d);
|
|
@@ -27194,7 +27194,7 @@ function requireReactDom_production_min() {
|
|
|
27194
27194
|
Nh[a]._workInProgressVersionPrimary = null;
|
|
27195
27195
|
Nh.length = 0;
|
|
27196
27196
|
}
|
|
27197
|
-
var Ph = ua.ReactCurrentDispatcher, Qh = ua.ReactCurrentBatchConfig, Rh = 0,
|
|
27197
|
+
var Ph = ua.ReactCurrentDispatcher, Qh = ua.ReactCurrentBatchConfig, Rh = 0, N2 = null, O = null, P = null, Sh = false, Th = false, Uh = 0, Vh = 0;
|
|
27198
27198
|
function Q() {
|
|
27199
27199
|
throw Error(p(321));
|
|
27200
27200
|
}
|
|
@@ -27208,7 +27208,7 @@ function requireReactDom_production_min() {
|
|
|
27208
27208
|
}
|
|
27209
27209
|
function Xh(a, b, c, d, e, f) {
|
|
27210
27210
|
Rh = f;
|
|
27211
|
-
|
|
27211
|
+
N2 = b;
|
|
27212
27212
|
b.memoizedState = null;
|
|
27213
27213
|
b.updateQueue = null;
|
|
27214
27214
|
b.lanes = 0;
|
|
@@ -27231,7 +27231,7 @@ function requireReactDom_production_min() {
|
|
|
27231
27231
|
Ph.current = ai;
|
|
27232
27232
|
b = null !== O && null !== O.next;
|
|
27233
27233
|
Rh = 0;
|
|
27234
|
-
P = O =
|
|
27234
|
+
P = O = N2 = null;
|
|
27235
27235
|
Sh = false;
|
|
27236
27236
|
if (b)
|
|
27237
27237
|
throw Error(p(300));
|
|
@@ -27244,16 +27244,16 @@ function requireReactDom_production_min() {
|
|
|
27244
27244
|
}
|
|
27245
27245
|
function ci() {
|
|
27246
27246
|
var a = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
|
|
27247
|
-
null === P ?
|
|
27247
|
+
null === P ? N2.memoizedState = P = a : P = P.next = a;
|
|
27248
27248
|
return P;
|
|
27249
27249
|
}
|
|
27250
27250
|
function di() {
|
|
27251
27251
|
if (null === O) {
|
|
27252
|
-
var a =
|
|
27252
|
+
var a = N2.alternate;
|
|
27253
27253
|
a = null !== a ? a.memoizedState : null;
|
|
27254
27254
|
} else
|
|
27255
27255
|
a = O.next;
|
|
27256
|
-
var b = null === P ?
|
|
27256
|
+
var b = null === P ? N2.memoizedState : P.next;
|
|
27257
27257
|
if (null !== b)
|
|
27258
27258
|
P = b, O = a;
|
|
27259
27259
|
else {
|
|
@@ -27261,7 +27261,7 @@ function requireReactDom_production_min() {
|
|
|
27261
27261
|
throw Error(p(310));
|
|
27262
27262
|
O = a;
|
|
27263
27263
|
a = { memoizedState: O.memoizedState, baseState: O.baseState, baseQueue: O.baseQueue, queue: O.queue, next: null };
|
|
27264
|
-
null === P ?
|
|
27264
|
+
null === P ? N2.memoizedState = P = a : P = P.next = a;
|
|
27265
27265
|
}
|
|
27266
27266
|
return P;
|
|
27267
27267
|
}
|
|
@@ -27300,7 +27300,7 @@ function requireReactDom_production_min() {
|
|
|
27300
27300
|
next: null
|
|
27301
27301
|
};
|
|
27302
27302
|
null === k ? (h = k = q, g = d) : k = k.next = q;
|
|
27303
|
-
|
|
27303
|
+
N2.lanes |= m2;
|
|
27304
27304
|
hh |= m2;
|
|
27305
27305
|
}
|
|
27306
27306
|
l = l.next;
|
|
@@ -27316,7 +27316,7 @@ function requireReactDom_production_min() {
|
|
|
27316
27316
|
if (null !== a) {
|
|
27317
27317
|
e = a;
|
|
27318
27318
|
do
|
|
27319
|
-
f = e.lane,
|
|
27319
|
+
f = e.lane, N2.lanes |= f, hh |= f, e = e.next;
|
|
27320
27320
|
while (e !== a);
|
|
27321
27321
|
} else
|
|
27322
27322
|
null === e && (c.lanes = 0);
|
|
@@ -27344,7 +27344,7 @@ function requireReactDom_production_min() {
|
|
|
27344
27344
|
function hi() {
|
|
27345
27345
|
}
|
|
27346
27346
|
function ii(a, b) {
|
|
27347
|
-
var c =
|
|
27347
|
+
var c = N2, d = di(), e = b(), f = !He(d.memoizedState, e);
|
|
27348
27348
|
f && (d.memoizedState = e, Ug = true);
|
|
27349
27349
|
d = d.queue;
|
|
27350
27350
|
ji(ki.bind(null, c, d, a), [a]);
|
|
@@ -27360,8 +27360,8 @@ function requireReactDom_production_min() {
|
|
|
27360
27360
|
function ni(a, b, c) {
|
|
27361
27361
|
a.flags |= 16384;
|
|
27362
27362
|
a = { getSnapshot: b, value: c };
|
|
27363
|
-
b =
|
|
27364
|
-
null === b ? (b = { lastEffect: null, stores: null },
|
|
27363
|
+
b = N2.updateQueue;
|
|
27364
|
+
null === b ? (b = { lastEffect: null, stores: null }, N2.updateQueue = b, b.stores = [a]) : (c = b.stores, null === c ? b.stores = [a] : c.push(a));
|
|
27365
27365
|
}
|
|
27366
27366
|
function mi(a, b, c, d) {
|
|
27367
27367
|
b.value = c;
|
|
@@ -27393,13 +27393,13 @@ function requireReactDom_production_min() {
|
|
|
27393
27393
|
b.memoizedState = b.baseState = a;
|
|
27394
27394
|
a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: ei, lastRenderedState: a };
|
|
27395
27395
|
b.queue = a;
|
|
27396
|
-
a = a.dispatch = ri.bind(null,
|
|
27396
|
+
a = a.dispatch = ri.bind(null, N2, a);
|
|
27397
27397
|
return [b.memoizedState, a];
|
|
27398
27398
|
}
|
|
27399
27399
|
function li(a, b, c, d) {
|
|
27400
27400
|
a = { tag: a, create: b, destroy: c, deps: d, next: null };
|
|
27401
|
-
b =
|
|
27402
|
-
null === b ? (b = { lastEffect: null, stores: null },
|
|
27401
|
+
b = N2.updateQueue;
|
|
27402
|
+
null === b ? (b = { lastEffect: null, stores: null }, N2.updateQueue = b, b.lastEffect = a.next = a) : (c = b.lastEffect, null === c ? b.lastEffect = a.next = a : (d = c.next, c.next = a, a.next = d, b.lastEffect = a));
|
|
27403
27403
|
return a;
|
|
27404
27404
|
}
|
|
27405
27405
|
function si() {
|
|
@@ -27407,7 +27407,7 @@ function requireReactDom_production_min() {
|
|
|
27407
27407
|
}
|
|
27408
27408
|
function ti(a, b, c, d) {
|
|
27409
27409
|
var e = ci();
|
|
27410
|
-
|
|
27410
|
+
N2.flags |= a;
|
|
27411
27411
|
e.memoizedState = li(1 | b, c, void 0, void 0 === d ? null : d);
|
|
27412
27412
|
}
|
|
27413
27413
|
function ui(a, b, c, d) {
|
|
@@ -27422,7 +27422,7 @@ function requireReactDom_production_min() {
|
|
|
27422
27422
|
return;
|
|
27423
27423
|
}
|
|
27424
27424
|
}
|
|
27425
|
-
|
|
27425
|
+
N2.flags |= a;
|
|
27426
27426
|
e.memoizedState = li(1 | b, c, f, d);
|
|
27427
27427
|
}
|
|
27428
27428
|
function vi(a, b) {
|
|
@@ -27475,7 +27475,7 @@ function requireReactDom_production_min() {
|
|
|
27475
27475
|
function Di(a, b, c) {
|
|
27476
27476
|
if (0 === (Rh & 21))
|
|
27477
27477
|
return a.baseState && (a.baseState = false, Ug = true), a.memoizedState = c;
|
|
27478
|
-
He(c, b) || (c = yc(),
|
|
27478
|
+
He(c, b) || (c = yc(), N2.lanes |= c, hh |= c, a.baseState = true);
|
|
27479
27479
|
return b;
|
|
27480
27480
|
}
|
|
27481
27481
|
function Ei(a, b) {
|
|
@@ -27530,7 +27530,7 @@ function requireReactDom_production_min() {
|
|
|
27530
27530
|
}
|
|
27531
27531
|
function Hi(a) {
|
|
27532
27532
|
var b = a.alternate;
|
|
27533
|
-
return a ===
|
|
27533
|
+
return a === N2 || null !== b && b === N2;
|
|
27534
27534
|
}
|
|
27535
27535
|
function Ii(a, b) {
|
|
27536
27536
|
Th = Sh = true;
|
|
@@ -27574,7 +27574,7 @@ function requireReactDom_production_min() {
|
|
|
27574
27574
|
d.memoizedState = d.baseState = b;
|
|
27575
27575
|
a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: a, lastRenderedState: b };
|
|
27576
27576
|
d.queue = a;
|
|
27577
|
-
a = a.dispatch = Gi.bind(null,
|
|
27577
|
+
a = a.dispatch = Gi.bind(null, N2, a);
|
|
27578
27578
|
return [d.memoizedState, a];
|
|
27579
27579
|
}, useRef: function(a) {
|
|
27580
27580
|
var b = ci();
|
|
@@ -27589,7 +27589,7 @@ function requireReactDom_production_min() {
|
|
|
27589
27589
|
return [b, a];
|
|
27590
27590
|
}, useMutableSource: function() {
|
|
27591
27591
|
}, useSyncExternalStore: function(a, b, c) {
|
|
27592
|
-
var d =
|
|
27592
|
+
var d = N2, e = ci();
|
|
27593
27593
|
if (I) {
|
|
27594
27594
|
if (void 0 === c)
|
|
27595
27595
|
throw Error(p(407));
|
|
@@ -27687,7 +27687,7 @@ function requireReactDom_production_min() {
|
|
|
27687
27687
|
}
|
|
27688
27688
|
var Ni = "function" === typeof WeakMap ? WeakMap : Map;
|
|
27689
27689
|
function Oi(a, b, c) {
|
|
27690
|
-
c =
|
|
27690
|
+
c = ch3(-1, c);
|
|
27691
27691
|
c.tag = 3;
|
|
27692
27692
|
c.payload = { element: null };
|
|
27693
27693
|
var d = b.value;
|
|
@@ -27698,7 +27698,7 @@ function requireReactDom_production_min() {
|
|
|
27698
27698
|
return c;
|
|
27699
27699
|
}
|
|
27700
27700
|
function Ri(a, b, c) {
|
|
27701
|
-
c =
|
|
27701
|
+
c = ch3(-1, c);
|
|
27702
27702
|
c.tag = 3;
|
|
27703
27703
|
var d = a.type.getDerivedStateFromError;
|
|
27704
27704
|
if ("function" === typeof d) {
|
|
@@ -27742,7 +27742,7 @@ function requireReactDom_production_min() {
|
|
|
27742
27742
|
}
|
|
27743
27743
|
function Wi(a, b, c, d, e) {
|
|
27744
27744
|
if (0 === (a.mode & 1))
|
|
27745
|
-
return a === b ? a.flags |= 65536 : (a.flags |= 128, c.flags |= 131072, c.flags &= -52805, 1 === c.tag && (null === c.alternate ? c.tag = 17 : (b =
|
|
27745
|
+
return a === b ? a.flags |= 65536 : (a.flags |= 128, c.flags |= 131072, c.flags &= -52805, 1 === c.tag && (null === c.alternate ? c.tag = 17 : (b = ch3(-1, 1), b.tag = 2, dh(c, b, 1))), c.lanes |= 1), a;
|
|
27746
27746
|
a.flags |= 65536;
|
|
27747
27747
|
a.lanes = e;
|
|
27748
27748
|
return a;
|
|
@@ -28727,7 +28727,7 @@ function requireReactDom_production_min() {
|
|
|
28727
28727
|
try {
|
|
28728
28728
|
c(null);
|
|
28729
28729
|
} catch (d) {
|
|
28730
|
-
|
|
28730
|
+
W2(a, b, d);
|
|
28731
28731
|
}
|
|
28732
28732
|
else
|
|
28733
28733
|
c.current = null;
|
|
@@ -28736,7 +28736,7 @@ function requireReactDom_production_min() {
|
|
|
28736
28736
|
try {
|
|
28737
28737
|
c();
|
|
28738
28738
|
} catch (d) {
|
|
28739
|
-
|
|
28739
|
+
W2(a, b, d);
|
|
28740
28740
|
}
|
|
28741
28741
|
}
|
|
28742
28742
|
var Oj = false;
|
|
@@ -28826,7 +28826,7 @@ function requireReactDom_production_min() {
|
|
|
28826
28826
|
throw Error(p(163));
|
|
28827
28827
|
}
|
|
28828
28828
|
} catch (F) {
|
|
28829
|
-
|
|
28829
|
+
W2(b, b.return, F);
|
|
28830
28830
|
}
|
|
28831
28831
|
a = b.sibling;
|
|
28832
28832
|
if (null !== a) {
|
|
@@ -28993,7 +28993,7 @@ function requireReactDom_production_min() {
|
|
|
28993
28993
|
try {
|
|
28994
28994
|
d.props = c.memoizedProps, d.state = c.memoizedState, d.componentWillUnmount();
|
|
28995
28995
|
} catch (h) {
|
|
28996
|
-
|
|
28996
|
+
W2(c, b, h);
|
|
28997
28997
|
}
|
|
28998
28998
|
Zj(a, b, c);
|
|
28999
28999
|
break;
|
|
@@ -29053,7 +29053,7 @@ function requireReactDom_production_min() {
|
|
|
29053
29053
|
null !== k && (k.return = null);
|
|
29054
29054
|
e.return = null;
|
|
29055
29055
|
} catch (l) {
|
|
29056
|
-
|
|
29056
|
+
W2(e, b, l);
|
|
29057
29057
|
}
|
|
29058
29058
|
}
|
|
29059
29059
|
if (b.subtreeFlags & 12854)
|
|
@@ -29073,12 +29073,12 @@ function requireReactDom_production_min() {
|
|
|
29073
29073
|
try {
|
|
29074
29074
|
Qj(3, a, a.return), Rj(3, a);
|
|
29075
29075
|
} catch (t) {
|
|
29076
|
-
|
|
29076
|
+
W2(a, a.return, t);
|
|
29077
29077
|
}
|
|
29078
29078
|
try {
|
|
29079
29079
|
Qj(5, a, a.return);
|
|
29080
29080
|
} catch (t) {
|
|
29081
|
-
|
|
29081
|
+
W2(a, a.return, t);
|
|
29082
29082
|
}
|
|
29083
29083
|
}
|
|
29084
29084
|
break;
|
|
@@ -29096,7 +29096,7 @@ function requireReactDom_production_min() {
|
|
|
29096
29096
|
try {
|
|
29097
29097
|
ob(e, "");
|
|
29098
29098
|
} catch (t) {
|
|
29099
|
-
|
|
29099
|
+
W2(a, a.return, t);
|
|
29100
29100
|
}
|
|
29101
29101
|
}
|
|
29102
29102
|
if (d & 4 && (e = a.stateNode, null != e)) {
|
|
@@ -29131,7 +29131,7 @@ function requireReactDom_production_min() {
|
|
|
29131
29131
|
}
|
|
29132
29132
|
e[Pf] = f;
|
|
29133
29133
|
} catch (t) {
|
|
29134
|
-
|
|
29134
|
+
W2(a, a.return, t);
|
|
29135
29135
|
}
|
|
29136
29136
|
}
|
|
29137
29137
|
break;
|
|
@@ -29146,7 +29146,7 @@ function requireReactDom_production_min() {
|
|
|
29146
29146
|
try {
|
|
29147
29147
|
e.nodeValue = f;
|
|
29148
29148
|
} catch (t) {
|
|
29149
|
-
|
|
29149
|
+
W2(a, a.return, t);
|
|
29150
29150
|
}
|
|
29151
29151
|
}
|
|
29152
29152
|
break;
|
|
@@ -29157,7 +29157,7 @@ function requireReactDom_production_min() {
|
|
|
29157
29157
|
try {
|
|
29158
29158
|
bd(b.containerInfo);
|
|
29159
29159
|
} catch (t) {
|
|
29160
|
-
|
|
29160
|
+
W2(a, a.return, t);
|
|
29161
29161
|
}
|
|
29162
29162
|
break;
|
|
29163
29163
|
case 4:
|
|
@@ -29198,7 +29198,7 @@ function requireReactDom_production_min() {
|
|
|
29198
29198
|
try {
|
|
29199
29199
|
b = d, n.props = b.memoizedProps, n.state = b.memoizedState, n.componentWillUnmount();
|
|
29200
29200
|
} catch (t) {
|
|
29201
|
-
|
|
29201
|
+
W2(d, c, t);
|
|
29202
29202
|
}
|
|
29203
29203
|
}
|
|
29204
29204
|
break;
|
|
@@ -29223,7 +29223,7 @@ function requireReactDom_production_min() {
|
|
|
29223
29223
|
try {
|
|
29224
29224
|
e = q.stateNode, l ? (f = e.style, "function" === typeof f.setProperty ? f.setProperty("display", "none", "important") : f.display = "none") : (h = q.stateNode, k = q.memoizedProps.style, g = void 0 !== k && null !== k && k.hasOwnProperty("display") ? k.display : null, h.style.display = rb("display", g));
|
|
29225
29225
|
} catch (t) {
|
|
29226
|
-
|
|
29226
|
+
W2(a, a.return, t);
|
|
29227
29227
|
}
|
|
29228
29228
|
}
|
|
29229
29229
|
} else if (6 === q.tag) {
|
|
@@ -29231,7 +29231,7 @@ function requireReactDom_production_min() {
|
|
|
29231
29231
|
try {
|
|
29232
29232
|
q.stateNode.nodeValue = l ? "" : q.memoizedProps;
|
|
29233
29233
|
} catch (t) {
|
|
29234
|
-
|
|
29234
|
+
W2(a, a.return, t);
|
|
29235
29235
|
}
|
|
29236
29236
|
} else if ((22 !== q.tag && 23 !== q.tag || null === q.memoizedState || q === a) && null !== q.child) {
|
|
29237
29237
|
q.child.return = q;
|
|
@@ -29296,7 +29296,7 @@ function requireReactDom_production_min() {
|
|
|
29296
29296
|
throw Error(p(161));
|
|
29297
29297
|
}
|
|
29298
29298
|
} catch (k) {
|
|
29299
|
-
|
|
29299
|
+
W2(a, a.return, k);
|
|
29300
29300
|
}
|
|
29301
29301
|
a.flags &= -3;
|
|
29302
29302
|
}
|
|
@@ -29417,7 +29417,7 @@ function requireReactDom_production_min() {
|
|
|
29417
29417
|
}
|
|
29418
29418
|
U || b.flags & 512 && Sj(b);
|
|
29419
29419
|
} catch (r2) {
|
|
29420
|
-
|
|
29420
|
+
W2(b, b.return, r2);
|
|
29421
29421
|
}
|
|
29422
29422
|
}
|
|
29423
29423
|
if (b === a) {
|
|
@@ -29461,7 +29461,7 @@ function requireReactDom_production_min() {
|
|
|
29461
29461
|
try {
|
|
29462
29462
|
Rj(4, b);
|
|
29463
29463
|
} catch (k) {
|
|
29464
|
-
|
|
29464
|
+
W2(b, c, k);
|
|
29465
29465
|
}
|
|
29466
29466
|
break;
|
|
29467
29467
|
case 1:
|
|
@@ -29471,14 +29471,14 @@ function requireReactDom_production_min() {
|
|
|
29471
29471
|
try {
|
|
29472
29472
|
d.componentDidMount();
|
|
29473
29473
|
} catch (k) {
|
|
29474
|
-
|
|
29474
|
+
W2(b, e, k);
|
|
29475
29475
|
}
|
|
29476
29476
|
}
|
|
29477
29477
|
var f = b.return;
|
|
29478
29478
|
try {
|
|
29479
29479
|
Sj(b);
|
|
29480
29480
|
} catch (k) {
|
|
29481
|
-
|
|
29481
|
+
W2(b, f, k);
|
|
29482
29482
|
}
|
|
29483
29483
|
break;
|
|
29484
29484
|
case 5:
|
|
@@ -29486,11 +29486,11 @@ function requireReactDom_production_min() {
|
|
|
29486
29486
|
try {
|
|
29487
29487
|
Sj(b);
|
|
29488
29488
|
} catch (k) {
|
|
29489
|
-
|
|
29489
|
+
W2(b, g, k);
|
|
29490
29490
|
}
|
|
29491
29491
|
}
|
|
29492
29492
|
} catch (k) {
|
|
29493
|
-
|
|
29493
|
+
W2(b, b.return, k);
|
|
29494
29494
|
}
|
|
29495
29495
|
if (b === a) {
|
|
29496
29496
|
V = null;
|
|
@@ -29505,14 +29505,14 @@ function requireReactDom_production_min() {
|
|
|
29505
29505
|
V = b.return;
|
|
29506
29506
|
}
|
|
29507
29507
|
}
|
|
29508
|
-
var mk = Math.ceil, nk = ua.ReactCurrentDispatcher, ok2 = ua.ReactCurrentOwner, pk = ua.ReactCurrentBatchConfig,
|
|
29508
|
+
var mk = Math.ceil, nk = ua.ReactCurrentDispatcher, ok2 = ua.ReactCurrentOwner, pk = ua.ReactCurrentBatchConfig, K2 = 0, R = null, Y = null, Z = 0, gj = 0, fj = Uf(0), T = 0, qk = null, hh = 0, rk = 0, sk = 0, tk = null, uk = null, gk = 0, Hj = Infinity, vk = null, Pi = false, Qi = null, Si = null, wk = false, xk = null, yk = 0, zk = 0, Ak = null, Bk = -1, Ck = 0;
|
|
29509
29509
|
function L() {
|
|
29510
|
-
return 0 !== (
|
|
29510
|
+
return 0 !== (K2 & 6) ? B() : -1 !== Bk ? Bk : Bk = B();
|
|
29511
29511
|
}
|
|
29512
29512
|
function lh(a) {
|
|
29513
29513
|
if (0 === (a.mode & 1))
|
|
29514
29514
|
return 1;
|
|
29515
|
-
if (0 !== (
|
|
29515
|
+
if (0 !== (K2 & 2) && 0 !== Z)
|
|
29516
29516
|
return Z & -Z;
|
|
29517
29517
|
if (null !== Kg.transition)
|
|
29518
29518
|
return 0 === Ck && (Ck = yc()), Ck;
|
|
@@ -29527,8 +29527,8 @@ function requireReactDom_production_min() {
|
|
|
29527
29527
|
if (50 < zk)
|
|
29528
29528
|
throw zk = 0, Ak = null, Error(p(185));
|
|
29529
29529
|
Ac(a, c, d);
|
|
29530
|
-
if (0 === (
|
|
29531
|
-
a === R && (0 === (
|
|
29530
|
+
if (0 === (K2 & 2) || a !== R)
|
|
29531
|
+
a === R && (0 === (K2 & 2) && (rk |= c), 4 === T && Dk(a, Z)), Ek(a, d), 1 === c && 0 === K2 && 0 === (b.mode & 1) && (Hj = B() + 500, fg && jg());
|
|
29532
29532
|
}
|
|
29533
29533
|
function Ek(a, b) {
|
|
29534
29534
|
var c = a.callbackNode;
|
|
@@ -29540,7 +29540,7 @@ function requireReactDom_production_min() {
|
|
|
29540
29540
|
null != c && bc(c);
|
|
29541
29541
|
if (1 === b)
|
|
29542
29542
|
0 === a.tag ? ig(Fk.bind(null, a)) : hg(Fk.bind(null, a)), Jf(function() {
|
|
29543
|
-
0 === (
|
|
29543
|
+
0 === (K2 & 6) && jg();
|
|
29544
29544
|
}), c = null;
|
|
29545
29545
|
else {
|
|
29546
29546
|
switch (Dc(d)) {
|
|
@@ -29568,7 +29568,7 @@ function requireReactDom_production_min() {
|
|
|
29568
29568
|
function Hk(a, b) {
|
|
29569
29569
|
Bk = -1;
|
|
29570
29570
|
Ck = 0;
|
|
29571
|
-
if (0 !== (
|
|
29571
|
+
if (0 !== (K2 & 6))
|
|
29572
29572
|
throw Error(p(327));
|
|
29573
29573
|
var c = a.callbackNode;
|
|
29574
29574
|
if (Ik() && a.callbackNode !== c)
|
|
@@ -29580,8 +29580,8 @@ function requireReactDom_production_min() {
|
|
|
29580
29580
|
b = Jk(a, d);
|
|
29581
29581
|
else {
|
|
29582
29582
|
b = d;
|
|
29583
|
-
var e =
|
|
29584
|
-
|
|
29583
|
+
var e = K2;
|
|
29584
|
+
K2 |= 2;
|
|
29585
29585
|
var f = Kk();
|
|
29586
29586
|
if (R !== a || Z !== b)
|
|
29587
29587
|
vk = null, Hj = B() + 500, Lk(a, b);
|
|
@@ -29595,7 +29595,7 @@ function requireReactDom_production_min() {
|
|
|
29595
29595
|
while (1);
|
|
29596
29596
|
Qg();
|
|
29597
29597
|
nk.current = f;
|
|
29598
|
-
|
|
29598
|
+
K2 = e;
|
|
29599
29599
|
null !== Y ? b = 0 : (R = null, Z = 0, b = T);
|
|
29600
29600
|
}
|
|
29601
29601
|
if (0 !== b) {
|
|
@@ -29720,7 +29720,7 @@ function requireReactDom_production_min() {
|
|
|
29720
29720
|
}
|
|
29721
29721
|
}
|
|
29722
29722
|
function Fk(a) {
|
|
29723
|
-
if (0 !== (
|
|
29723
|
+
if (0 !== (K2 & 6))
|
|
29724
29724
|
throw Error(p(327));
|
|
29725
29725
|
Ik();
|
|
29726
29726
|
var b = uc(a, 0);
|
|
@@ -29742,24 +29742,24 @@ function requireReactDom_production_min() {
|
|
|
29742
29742
|
return null;
|
|
29743
29743
|
}
|
|
29744
29744
|
function Rk(a, b) {
|
|
29745
|
-
var c =
|
|
29746
|
-
|
|
29745
|
+
var c = K2;
|
|
29746
|
+
K2 |= 1;
|
|
29747
29747
|
try {
|
|
29748
29748
|
return a(b);
|
|
29749
29749
|
} finally {
|
|
29750
|
-
|
|
29750
|
+
K2 = c, 0 === K2 && (Hj = B() + 500, fg && jg());
|
|
29751
29751
|
}
|
|
29752
29752
|
}
|
|
29753
29753
|
function Sk(a) {
|
|
29754
|
-
null !== xk && 0 === xk.tag && 0 === (
|
|
29755
|
-
var b =
|
|
29756
|
-
|
|
29754
|
+
null !== xk && 0 === xk.tag && 0 === (K2 & 6) && Ik();
|
|
29755
|
+
var b = K2;
|
|
29756
|
+
K2 |= 1;
|
|
29757
29757
|
var c = pk.transition, d = C;
|
|
29758
29758
|
try {
|
|
29759
29759
|
if (pk.transition = null, C = 1, a)
|
|
29760
29760
|
return a();
|
|
29761
29761
|
} finally {
|
|
29762
|
-
C = d, pk.transition = c,
|
|
29762
|
+
C = d, pk.transition = c, K2 = b, 0 === (K2 & 6) && jg();
|
|
29763
29763
|
}
|
|
29764
29764
|
}
|
|
29765
29765
|
function Ij() {
|
|
@@ -29837,7 +29837,7 @@ function requireReactDom_production_min() {
|
|
|
29837
29837
|
Qg();
|
|
29838
29838
|
Ph.current = ai;
|
|
29839
29839
|
if (Sh) {
|
|
29840
|
-
for (var d =
|
|
29840
|
+
for (var d = N2.memoizedState; null !== d; ) {
|
|
29841
29841
|
var e = d.queue;
|
|
29842
29842
|
null !== e && (e.pending = null);
|
|
29843
29843
|
d = d.next;
|
|
@@ -29845,7 +29845,7 @@ function requireReactDom_production_min() {
|
|
|
29845
29845
|
Sh = false;
|
|
29846
29846
|
}
|
|
29847
29847
|
Rh = 0;
|
|
29848
|
-
P = O =
|
|
29848
|
+
P = O = N2 = null;
|
|
29849
29849
|
Th = false;
|
|
29850
29850
|
Uh = 0;
|
|
29851
29851
|
ok2.current = null;
|
|
@@ -29945,8 +29945,8 @@ function requireReactDom_production_min() {
|
|
|
29945
29945
|
null === R || 0 === (hh & 268435455) && 0 === (rk & 268435455) || Dk(R, Z);
|
|
29946
29946
|
}
|
|
29947
29947
|
function Jk(a, b) {
|
|
29948
|
-
var c =
|
|
29949
|
-
|
|
29948
|
+
var c = K2;
|
|
29949
|
+
K2 |= 2;
|
|
29950
29950
|
var d = Kk();
|
|
29951
29951
|
if (R !== a || Z !== b)
|
|
29952
29952
|
vk = null, Lk(a, b);
|
|
@@ -29959,7 +29959,7 @@ function requireReactDom_production_min() {
|
|
|
29959
29959
|
}
|
|
29960
29960
|
while (1);
|
|
29961
29961
|
Qg();
|
|
29962
|
-
|
|
29962
|
+
K2 = c;
|
|
29963
29963
|
nk.current = d;
|
|
29964
29964
|
if (null !== Y)
|
|
29965
29965
|
throw Error(p(261));
|
|
@@ -30028,7 +30028,7 @@ function requireReactDom_production_min() {
|
|
|
30028
30028
|
do
|
|
30029
30029
|
Ik();
|
|
30030
30030
|
while (null !== xk);
|
|
30031
|
-
if (0 !== (
|
|
30031
|
+
if (0 !== (K2 & 6))
|
|
30032
30032
|
throw Error(p(327));
|
|
30033
30033
|
c = a.finishedWork;
|
|
30034
30034
|
var e = a.finishedLanes;
|
|
@@ -30053,8 +30053,8 @@ function requireReactDom_production_min() {
|
|
|
30053
30053
|
pk.transition = null;
|
|
30054
30054
|
var g = C;
|
|
30055
30055
|
C = 1;
|
|
30056
|
-
var h =
|
|
30057
|
-
|
|
30056
|
+
var h = K2;
|
|
30057
|
+
K2 |= 4;
|
|
30058
30058
|
ok2.current = null;
|
|
30059
30059
|
Pj(a, c);
|
|
30060
30060
|
ek(c, a);
|
|
@@ -30064,7 +30064,7 @@ function requireReactDom_production_min() {
|
|
|
30064
30064
|
a.current = c;
|
|
30065
30065
|
ik(c);
|
|
30066
30066
|
dc();
|
|
30067
|
-
|
|
30067
|
+
K2 = h;
|
|
30068
30068
|
C = g;
|
|
30069
30069
|
pk.transition = f;
|
|
30070
30070
|
} else
|
|
@@ -30097,10 +30097,10 @@ function requireReactDom_production_min() {
|
|
|
30097
30097
|
a = xk;
|
|
30098
30098
|
xk = null;
|
|
30099
30099
|
yk = 0;
|
|
30100
|
-
if (0 !== (
|
|
30100
|
+
if (0 !== (K2 & 6))
|
|
30101
30101
|
throw Error(p(331));
|
|
30102
|
-
var e =
|
|
30103
|
-
|
|
30102
|
+
var e = K2;
|
|
30103
|
+
K2 |= 4;
|
|
30104
30104
|
for (V = a.current; null !== V; ) {
|
|
30105
30105
|
var f = V, g = f.child;
|
|
30106
30106
|
if (0 !== (V.flags & 16)) {
|
|
@@ -30193,7 +30193,7 @@ function requireReactDom_production_min() {
|
|
|
30193
30193
|
Rj(9, h);
|
|
30194
30194
|
}
|
|
30195
30195
|
} catch (na) {
|
|
30196
|
-
|
|
30196
|
+
W2(h, h.return, na);
|
|
30197
30197
|
}
|
|
30198
30198
|
if (h === g) {
|
|
30199
30199
|
V = null;
|
|
@@ -30208,7 +30208,7 @@ function requireReactDom_production_min() {
|
|
|
30208
30208
|
V = h.return;
|
|
30209
30209
|
}
|
|
30210
30210
|
}
|
|
30211
|
-
|
|
30211
|
+
K2 = e;
|
|
30212
30212
|
jg();
|
|
30213
30213
|
if (lc && "function" === typeof lc.onPostCommitFiberRoot)
|
|
30214
30214
|
try {
|
|
@@ -30231,7 +30231,7 @@ function requireReactDom_production_min() {
|
|
|
30231
30231
|
b = L();
|
|
30232
30232
|
null !== a && (Ac(a, 1, b), Ek(a, b));
|
|
30233
30233
|
}
|
|
30234
|
-
function
|
|
30234
|
+
function W2(a, b, c) {
|
|
30235
30235
|
if (3 === a.tag)
|
|
30236
30236
|
Yk(a, a, c);
|
|
30237
30237
|
else
|
|
@@ -30422,7 +30422,7 @@ function requireReactDom_production_min() {
|
|
|
30422
30422
|
for (var k = h.firstContext; null !== k; ) {
|
|
30423
30423
|
if (k.context === d) {
|
|
30424
30424
|
if (1 === f.tag) {
|
|
30425
|
-
k =
|
|
30425
|
+
k = ch3(-1, c & -c);
|
|
30426
30426
|
k.tag = 2;
|
|
30427
30427
|
var l = f.updateQueue;
|
|
30428
30428
|
if (null !== l) {
|
|
@@ -30688,7 +30688,7 @@ function requireReactDom_production_min() {
|
|
|
30688
30688
|
c = a.current;
|
|
30689
30689
|
d = L();
|
|
30690
30690
|
e = lh(c);
|
|
30691
|
-
f =
|
|
30691
|
+
f = ch3(d, e);
|
|
30692
30692
|
f.callback = void 0 !== b && null !== b ? b : null;
|
|
30693
30693
|
dh(c, f, e);
|
|
30694
30694
|
a.current.lanes = e;
|
|
@@ -30700,7 +30700,7 @@ function requireReactDom_production_min() {
|
|
|
30700
30700
|
var e = b.current, f = L(), g = lh(e);
|
|
30701
30701
|
c = el(c);
|
|
30702
30702
|
null === b.context ? b.context = c : b.pendingContext = c;
|
|
30703
|
-
b =
|
|
30703
|
+
b = ch3(f, g);
|
|
30704
30704
|
b.payload = { element: a };
|
|
30705
30705
|
d = void 0 === d ? null : d;
|
|
30706
30706
|
null !== d && (b.callback = d);
|
|
@@ -30833,7 +30833,7 @@ function requireReactDom_production_min() {
|
|
|
30833
30833
|
var b = a.stateNode;
|
|
30834
30834
|
if (b.current.memoizedState.isDehydrated) {
|
|
30835
30835
|
var c = tc(b.pendingLanes);
|
|
30836
|
-
0 !== c && (Cc(b, c | 1), Ek(b, B()), 0 === (
|
|
30836
|
+
0 !== c && (Cc(b, c | 1), Ek(b, B()), 0 === (K2 & 6) && (Hj = B() + 500, jg()));
|
|
30837
30837
|
}
|
|
30838
30838
|
break;
|
|
30839
30839
|
case 13:
|
|
@@ -32904,24 +32904,33 @@ var UnionSchema = /* @__PURE__ */ function(_Schema) {
|
|
|
32904
32904
|
_createClass(UnionSchema2, [{
|
|
32905
32905
|
key: "validate",
|
|
32906
32906
|
value: function validate(path, src) {
|
|
32907
|
-
|
|
32907
|
+
return false;
|
|
32908
32908
|
}
|
|
32909
32909
|
}, {
|
|
32910
32910
|
key: "assert",
|
|
32911
32911
|
value: function assert(src) {
|
|
32912
|
-
|
|
32912
|
+
return true;
|
|
32913
32913
|
}
|
|
32914
32914
|
}, {
|
|
32915
32915
|
key: "optional",
|
|
32916
32916
|
value: function optional() {
|
|
32917
|
-
|
|
32917
|
+
return new UnionSchema2(this.key, this.items, true);
|
|
32918
32918
|
}
|
|
32919
32919
|
}, {
|
|
32920
32920
|
key: "serialize",
|
|
32921
32921
|
value: function serialize() {
|
|
32922
|
+
if (typeof this.key === "string") {
|
|
32923
|
+
return {
|
|
32924
|
+
type: "union",
|
|
32925
|
+
key: this.key,
|
|
32926
|
+
items: this.items.map(function(o) {
|
|
32927
|
+
return o.serialize();
|
|
32928
|
+
}),
|
|
32929
|
+
opt: this.opt
|
|
32930
|
+
};
|
|
32931
|
+
}
|
|
32922
32932
|
return {
|
|
32923
32933
|
type: "union",
|
|
32924
|
-
key: this.key,
|
|
32925
32934
|
items: this.items.map(function(o) {
|
|
32926
32935
|
return o.serialize();
|
|
32927
32936
|
}),
|
|
@@ -33144,6 +33153,22 @@ function resolvePath$1(path, valModule, schema) {
|
|
|
33144
33153
|
};
|
|
33145
33154
|
} else if (isUnionSchema(resolvedSchema)) {
|
|
33146
33155
|
var _key = resolvedSchema.key;
|
|
33156
|
+
if (!_key) {
|
|
33157
|
+
return {
|
|
33158
|
+
v: {
|
|
33159
|
+
path: origParts.map(function(p) {
|
|
33160
|
+
if (!Number.isNaN(Number(p))) {
|
|
33161
|
+
return p;
|
|
33162
|
+
} else {
|
|
33163
|
+
return JSON.stringify(p);
|
|
33164
|
+
}
|
|
33165
|
+
}).join("."),
|
|
33166
|
+
// TODO: create a function generate path from parts (not sure if this always works)
|
|
33167
|
+
schema: resolvedSchema,
|
|
33168
|
+
source: resolvedSource
|
|
33169
|
+
}
|
|
33170
|
+
};
|
|
33171
|
+
}
|
|
33147
33172
|
var keyValue = resolvedSource[_key];
|
|
33148
33173
|
if (!keyValue) {
|
|
33149
33174
|
throw Error("Invalid path: union source ".concat(resolvedSchema, " did not have required key ").concat(_key, " in path: ").concat(path));
|
|
@@ -33346,6 +33371,261 @@ function newValProxy(val) {
|
|
|
33346
33371
|
function hasOwn(obj, prop) {
|
|
33347
33372
|
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
33348
33373
|
}
|
|
33374
|
+
var K = [1116352408 | 0, 1899447441 | 0, 3049323471 | 0, 3921009573 | 0, 961987163 | 0, 1508970993 | 0, 2453635748 | 0, 2870763221 | 0, 3624381080 | 0, 310598401 | 0, 607225278 | 0, 1426881987 | 0, 1925078388 | 0, 2162078206 | 0, 2614888103 | 0, 3248222580 | 0, 3835390401 | 0, 4022224774 | 0, 264347078 | 0, 604807628 | 0, 770255983 | 0, 1249150122 | 0, 1555081692 | 0, 1996064986 | 0, 2554220882 | 0, 2821834349 | 0, 2952996808 | 0, 3210313671 | 0, 3336571891 | 0, 3584528711 | 0, 113926993 | 0, 338241895 | 0, 666307205 | 0, 773529912 | 0, 1294757372 | 0, 1396182291 | 0, 1695183700 | 0, 1986661051 | 0, 2177026350 | 0, 2456956037 | 0, 2730485921 | 0, 2820302411 | 0, 3259730800 | 0, 3345764771 | 0, 3516065817 | 0, 3600352804 | 0, 4094571909 | 0, 275423344 | 0, 430227734 | 0, 506948616 | 0, 659060556 | 0, 883997877 | 0, 958139571 | 0, 1322822218 | 0, 1537002063 | 0, 1747873779 | 0, 1955562222 | 0, 2024104815 | 0, 2227730452 | 0, 2361852424 | 0, 2428436474 | 0, 2756734187 | 0, 3204031479 | 0, 3329325298 | 0];
|
|
33375
|
+
var N = /* @__PURE__ */ function(N2) {
|
|
33376
|
+
N2[N2["inputBytes"] = 64] = "inputBytes";
|
|
33377
|
+
N2[N2["inputWords"] = 16] = "inputWords";
|
|
33378
|
+
N2[N2["highIndex"] = 14] = "highIndex";
|
|
33379
|
+
N2[N2["lowIndex"] = 15] = "lowIndex";
|
|
33380
|
+
N2[N2["workWords"] = 64] = "workWords";
|
|
33381
|
+
N2[N2["allocBytes"] = 80] = "allocBytes";
|
|
33382
|
+
N2[N2["allocWords"] = 20] = "allocWords";
|
|
33383
|
+
N2[N2["allocTotal"] = 8e3] = "allocTotal";
|
|
33384
|
+
return N2;
|
|
33385
|
+
}(N || {});
|
|
33386
|
+
var algorithms = {
|
|
33387
|
+
sha256: 1
|
|
33388
|
+
};
|
|
33389
|
+
function createHash(algorithm) {
|
|
33390
|
+
if (algorithm && !algorithms[algorithm] && !algorithms[algorithm.toLowerCase()]) {
|
|
33391
|
+
throw new Error("Digest method not supported");
|
|
33392
|
+
}
|
|
33393
|
+
return new Hash();
|
|
33394
|
+
}
|
|
33395
|
+
var Hash = /* @__PURE__ */ function() {
|
|
33396
|
+
function Hash2() {
|
|
33397
|
+
_classCallCheck(this, Hash2);
|
|
33398
|
+
_defineProperty$1(this, "A", 1779033703 | 0);
|
|
33399
|
+
_defineProperty$1(this, "B", 3144134277 | 0);
|
|
33400
|
+
_defineProperty$1(this, "C", 1013904242 | 0);
|
|
33401
|
+
_defineProperty$1(this, "D", 2773480762 | 0);
|
|
33402
|
+
_defineProperty$1(this, "E", 1359893119 | 0);
|
|
33403
|
+
_defineProperty$1(this, "F", 2600822924 | 0);
|
|
33404
|
+
_defineProperty$1(this, "G", 528734635 | 0);
|
|
33405
|
+
_defineProperty$1(this, "H", 1541459225 | 0);
|
|
33406
|
+
_defineProperty$1(this, "_size", 0);
|
|
33407
|
+
_defineProperty$1(this, "_sp", 0);
|
|
33408
|
+
if (!sharedBuffer || sharedOffset >= N.allocTotal) {
|
|
33409
|
+
sharedBuffer = new ArrayBuffer(N.allocTotal);
|
|
33410
|
+
sharedOffset = 0;
|
|
33411
|
+
}
|
|
33412
|
+
this._byte = new Uint8Array(sharedBuffer, sharedOffset, N.allocBytes);
|
|
33413
|
+
this._word = new Int32Array(sharedBuffer, sharedOffset, N.allocWords);
|
|
33414
|
+
sharedOffset += N.allocBytes;
|
|
33415
|
+
}
|
|
33416
|
+
_createClass(Hash2, [{
|
|
33417
|
+
key: "update",
|
|
33418
|
+
value: function update(data) {
|
|
33419
|
+
if ("string" === typeof data) {
|
|
33420
|
+
return this._utf8(data);
|
|
33421
|
+
}
|
|
33422
|
+
if (data == null) {
|
|
33423
|
+
throw new TypeError("Invalid type: " + _typeof(data));
|
|
33424
|
+
}
|
|
33425
|
+
var byteOffset = data.byteOffset;
|
|
33426
|
+
var length = data.byteLength;
|
|
33427
|
+
var blocks = length / N.inputBytes | 0;
|
|
33428
|
+
var offset2 = 0;
|
|
33429
|
+
if (blocks && !(byteOffset & 3) && !(this._size % N.inputBytes)) {
|
|
33430
|
+
var block2 = new Int32Array(data.buffer, byteOffset, blocks * N.inputWords);
|
|
33431
|
+
while (blocks--) {
|
|
33432
|
+
this._int32(block2, offset2 >> 2);
|
|
33433
|
+
offset2 += N.inputBytes;
|
|
33434
|
+
}
|
|
33435
|
+
this._size += offset2;
|
|
33436
|
+
}
|
|
33437
|
+
var BYTES_PER_ELEMENT = data.BYTES_PER_ELEMENT;
|
|
33438
|
+
if (BYTES_PER_ELEMENT !== 1 && data.buffer) {
|
|
33439
|
+
var rest = new Uint8Array(data.buffer, byteOffset + offset2, length - offset2);
|
|
33440
|
+
return this._uint8(rest);
|
|
33441
|
+
}
|
|
33442
|
+
if (offset2 === length)
|
|
33443
|
+
return this;
|
|
33444
|
+
return this._uint8(data, offset2);
|
|
33445
|
+
}
|
|
33446
|
+
}, {
|
|
33447
|
+
key: "_uint8",
|
|
33448
|
+
value: function _uint8(data, offset2) {
|
|
33449
|
+
var _byte = this._byte, _word = this._word;
|
|
33450
|
+
var length = data.length;
|
|
33451
|
+
offset2 = offset2 | 0;
|
|
33452
|
+
while (offset2 < length) {
|
|
33453
|
+
var start = this._size % N.inputBytes;
|
|
33454
|
+
var index2 = start;
|
|
33455
|
+
while (offset2 < length && index2 < N.inputBytes) {
|
|
33456
|
+
_byte[index2++] = data[offset2++];
|
|
33457
|
+
}
|
|
33458
|
+
if (index2 >= N.inputBytes) {
|
|
33459
|
+
this._int32(_word);
|
|
33460
|
+
}
|
|
33461
|
+
this._size += index2 - start;
|
|
33462
|
+
}
|
|
33463
|
+
return this;
|
|
33464
|
+
}
|
|
33465
|
+
}, {
|
|
33466
|
+
key: "_utf8",
|
|
33467
|
+
value: function _utf8(text) {
|
|
33468
|
+
var _byte = this._byte, _word = this._word;
|
|
33469
|
+
var length = text.length;
|
|
33470
|
+
var surrogate = this._sp;
|
|
33471
|
+
for (var offset2 = 0; offset2 < length; ) {
|
|
33472
|
+
var start = this._size % N.inputBytes;
|
|
33473
|
+
var index2 = start;
|
|
33474
|
+
while (offset2 < length && index2 < N.inputBytes) {
|
|
33475
|
+
var code = text.charCodeAt(offset2++) | 0;
|
|
33476
|
+
if (code < 128) {
|
|
33477
|
+
_byte[index2++] = code;
|
|
33478
|
+
} else if (code < 2048) {
|
|
33479
|
+
_byte[index2++] = 192 | code >>> 6;
|
|
33480
|
+
_byte[index2++] = 128 | code & 63;
|
|
33481
|
+
} else if (code < 55296 || code > 57343) {
|
|
33482
|
+
_byte[index2++] = 224 | code >>> 12;
|
|
33483
|
+
_byte[index2++] = 128 | code >>> 6 & 63;
|
|
33484
|
+
_byte[index2++] = 128 | code & 63;
|
|
33485
|
+
} else if (surrogate) {
|
|
33486
|
+
code = ((surrogate & 1023) << 10) + (code & 1023) + 65536;
|
|
33487
|
+
_byte[index2++] = 240 | code >>> 18;
|
|
33488
|
+
_byte[index2++] = 128 | code >>> 12 & 63;
|
|
33489
|
+
_byte[index2++] = 128 | code >>> 6 & 63;
|
|
33490
|
+
_byte[index2++] = 128 | code & 63;
|
|
33491
|
+
surrogate = 0;
|
|
33492
|
+
} else {
|
|
33493
|
+
surrogate = code;
|
|
33494
|
+
}
|
|
33495
|
+
}
|
|
33496
|
+
if (index2 >= N.inputBytes) {
|
|
33497
|
+
this._int32(_word);
|
|
33498
|
+
_word[0] = _word[N.inputWords];
|
|
33499
|
+
}
|
|
33500
|
+
this._size += index2 - start;
|
|
33501
|
+
}
|
|
33502
|
+
this._sp = surrogate;
|
|
33503
|
+
return this;
|
|
33504
|
+
}
|
|
33505
|
+
}, {
|
|
33506
|
+
key: "_int32",
|
|
33507
|
+
value: function _int32(data, offset2) {
|
|
33508
|
+
var A = this.A, B = this.B, C = this.C, D = this.D, E = this.E, F = this.F, G = this.G, H = this.H;
|
|
33509
|
+
var i = 0;
|
|
33510
|
+
offset2 = offset2 | 0;
|
|
33511
|
+
while (i < N.inputWords) {
|
|
33512
|
+
W[i++] = swap32(data[offset2++]);
|
|
33513
|
+
}
|
|
33514
|
+
for (i = N.inputWords; i < N.workWords; i++) {
|
|
33515
|
+
W[i] = gamma1(W[i - 2]) + W[i - 7] + gamma0(W[i - 15]) + W[i - 16] | 0;
|
|
33516
|
+
}
|
|
33517
|
+
for (i = 0; i < N.workWords; i++) {
|
|
33518
|
+
var T1 = H + sigma1(E) + ch(E, F, G) + K[i] + W[i] | 0;
|
|
33519
|
+
var T2 = sigma0(A) + maj(A, B, C) | 0;
|
|
33520
|
+
H = G;
|
|
33521
|
+
G = F;
|
|
33522
|
+
F = E;
|
|
33523
|
+
E = D + T1 | 0;
|
|
33524
|
+
D = C;
|
|
33525
|
+
C = B;
|
|
33526
|
+
B = A;
|
|
33527
|
+
A = T1 + T2 | 0;
|
|
33528
|
+
}
|
|
33529
|
+
this.A = A + this.A | 0;
|
|
33530
|
+
this.B = B + this.B | 0;
|
|
33531
|
+
this.C = C + this.C | 0;
|
|
33532
|
+
this.D = D + this.D | 0;
|
|
33533
|
+
this.E = E + this.E | 0;
|
|
33534
|
+
this.F = F + this.F | 0;
|
|
33535
|
+
this.G = G + this.G | 0;
|
|
33536
|
+
this.H = H + this.H | 0;
|
|
33537
|
+
}
|
|
33538
|
+
}, {
|
|
33539
|
+
key: "digest",
|
|
33540
|
+
value: function digest(encoding) {
|
|
33541
|
+
var _byte = this._byte, _word = this._word;
|
|
33542
|
+
var i = this._size % N.inputBytes | 0;
|
|
33543
|
+
_byte[i++] = 128;
|
|
33544
|
+
while (i & 3) {
|
|
33545
|
+
_byte[i++] = 0;
|
|
33546
|
+
}
|
|
33547
|
+
i >>= 2;
|
|
33548
|
+
if (i > N.highIndex) {
|
|
33549
|
+
while (i < N.inputWords) {
|
|
33550
|
+
_word[i++] = 0;
|
|
33551
|
+
}
|
|
33552
|
+
i = 0;
|
|
33553
|
+
this._int32(_word);
|
|
33554
|
+
}
|
|
33555
|
+
while (i < N.inputWords) {
|
|
33556
|
+
_word[i++] = 0;
|
|
33557
|
+
}
|
|
33558
|
+
var bits64 = this._size * 8;
|
|
33559
|
+
var low32 = (bits64 & 4294967295) >>> 0;
|
|
33560
|
+
var high32 = (bits64 - low32) / 4294967296;
|
|
33561
|
+
if (high32)
|
|
33562
|
+
_word[N.highIndex] = swap32(high32);
|
|
33563
|
+
if (low32)
|
|
33564
|
+
_word[N.lowIndex] = swap32(low32);
|
|
33565
|
+
this._int32(_word);
|
|
33566
|
+
return encoding === "hex" ? this._hex() : this._bin();
|
|
33567
|
+
}
|
|
33568
|
+
}, {
|
|
33569
|
+
key: "_hex",
|
|
33570
|
+
value: function _hex() {
|
|
33571
|
+
var A = this.A, B = this.B, C = this.C, D = this.D, E = this.E, F = this.F, G = this.G, H = this.H;
|
|
33572
|
+
return hex32(A) + hex32(B) + hex32(C) + hex32(D) + hex32(E) + hex32(F) + hex32(G) + hex32(H);
|
|
33573
|
+
}
|
|
33574
|
+
}, {
|
|
33575
|
+
key: "_bin",
|
|
33576
|
+
value: function _bin() {
|
|
33577
|
+
var A = this.A, B = this.B, C = this.C, D = this.D, E = this.E, F = this.F, G = this.G, H = this.H, _byte = this._byte, _word = this._word;
|
|
33578
|
+
_word[0] = swap32(A);
|
|
33579
|
+
_word[1] = swap32(B);
|
|
33580
|
+
_word[2] = swap32(C);
|
|
33581
|
+
_word[3] = swap32(D);
|
|
33582
|
+
_word[4] = swap32(E);
|
|
33583
|
+
_word[5] = swap32(F);
|
|
33584
|
+
_word[6] = swap32(G);
|
|
33585
|
+
_word[7] = swap32(H);
|
|
33586
|
+
return _byte.slice(0, 32);
|
|
33587
|
+
}
|
|
33588
|
+
}]);
|
|
33589
|
+
return Hash2;
|
|
33590
|
+
}();
|
|
33591
|
+
var W = new Int32Array(N.workWords);
|
|
33592
|
+
var sharedBuffer;
|
|
33593
|
+
var sharedOffset = 0;
|
|
33594
|
+
var hex32 = function hex322(num) {
|
|
33595
|
+
return (num + 4294967296).toString(16).substr(-8);
|
|
33596
|
+
};
|
|
33597
|
+
var swapLE = function swapLE2(c) {
|
|
33598
|
+
return c << 24 & 4278190080 | c << 8 & 16711680 | c >> 8 & 65280 | c >> 24 & 255;
|
|
33599
|
+
};
|
|
33600
|
+
var swapBE = function swapBE2(c) {
|
|
33601
|
+
return c;
|
|
33602
|
+
};
|
|
33603
|
+
var swap32 = isBE() ? swapBE : swapLE;
|
|
33604
|
+
var ch = function ch2(x, y, z) {
|
|
33605
|
+
return z ^ x & (y ^ z);
|
|
33606
|
+
};
|
|
33607
|
+
var maj = function maj2(x, y, z) {
|
|
33608
|
+
return x & y | z & (x | y);
|
|
33609
|
+
};
|
|
33610
|
+
var sigma0 = function sigma02(x) {
|
|
33611
|
+
return (x >>> 2 | x << 30) ^ (x >>> 13 | x << 19) ^ (x >>> 22 | x << 10);
|
|
33612
|
+
};
|
|
33613
|
+
var sigma1 = function sigma12(x) {
|
|
33614
|
+
return (x >>> 6 | x << 26) ^ (x >>> 11 | x << 21) ^ (x >>> 25 | x << 7);
|
|
33615
|
+
};
|
|
33616
|
+
var gamma0 = function gamma02(x) {
|
|
33617
|
+
return (x >>> 7 | x << 25) ^ (x >>> 18 | x << 14) ^ x >>> 3;
|
|
33618
|
+
};
|
|
33619
|
+
var gamma1 = function gamma12(x) {
|
|
33620
|
+
return (x >>> 17 | x << 15) ^ (x >>> 19 | x << 13) ^ x >>> 10;
|
|
33621
|
+
};
|
|
33622
|
+
function isBE() {
|
|
33623
|
+
var buf = new Uint8Array(new Uint16Array([65279]).buffer);
|
|
33624
|
+
return buf[0] === 254;
|
|
33625
|
+
}
|
|
33626
|
+
var getSHA256Hash = function getSHA256Hash2(bits) {
|
|
33627
|
+
return createHash().update(bits).digest("hex");
|
|
33628
|
+
};
|
|
33349
33629
|
function _regeneratorRuntime$1() {
|
|
33350
33630
|
_regeneratorRuntime$1 = function() {
|
|
33351
33631
|
return e;
|
|
@@ -33686,32 +33966,6 @@ function _asyncToGenerator$1(fn) {
|
|
|
33686
33966
|
});
|
|
33687
33967
|
};
|
|
33688
33968
|
}
|
|
33689
|
-
var getSHA256Hash = /* @__PURE__ */ function() {
|
|
33690
|
-
var _ref = _asyncToGenerator$1(/* @__PURE__ */ _regeneratorRuntime$1().mark(function _callee(bits) {
|
|
33691
|
-
var hashBuffer, hashArray, hash;
|
|
33692
|
-
return _regeneratorRuntime$1().wrap(function _callee$(_context) {
|
|
33693
|
-
while (1)
|
|
33694
|
-
switch (_context.prev = _context.next) {
|
|
33695
|
-
case 0:
|
|
33696
|
-
_context.next = 2;
|
|
33697
|
-
return crypto.subtle.digest("SHA-256", bits);
|
|
33698
|
-
case 2:
|
|
33699
|
-
hashBuffer = _context.sent;
|
|
33700
|
-
hashArray = Array.from(new Uint8Array(hashBuffer));
|
|
33701
|
-
hash = hashArray.map(function(item) {
|
|
33702
|
-
return item.toString(16).padStart(2, "0");
|
|
33703
|
-
}).join("");
|
|
33704
|
-
return _context.abrupt("return", hash);
|
|
33705
|
-
case 6:
|
|
33706
|
-
case "end":
|
|
33707
|
-
return _context.stop();
|
|
33708
|
-
}
|
|
33709
|
-
}, _callee);
|
|
33710
|
-
}));
|
|
33711
|
-
return function getSHA256Hash2(_x) {
|
|
33712
|
-
return _ref.apply(this, arguments);
|
|
33713
|
-
};
|
|
33714
|
-
}();
|
|
33715
33969
|
var ValApi = /* @__PURE__ */ function() {
|
|
33716
33970
|
function ValApi2(host) {
|
|
33717
33971
|
_classCallCheck(this, ValApi2);
|
|
@@ -33722,11 +33976,6 @@ var ValApi = /* @__PURE__ */ function() {
|
|
|
33722
33976
|
value: function getDisableUrl(redirectTo) {
|
|
33723
33977
|
return "".concat(this.host, "/disable?redirect_to=").concat(encodeURIComponent(redirectTo));
|
|
33724
33978
|
}
|
|
33725
|
-
}, {
|
|
33726
|
-
key: "getEditUrl",
|
|
33727
|
-
value: function getEditUrl() {
|
|
33728
|
-
return "".concat(this.host, "/static/edit");
|
|
33729
|
-
}
|
|
33730
33979
|
}, {
|
|
33731
33980
|
key: "getLoginUrl",
|
|
33732
33981
|
value: function getLoginUrl(redirectTo) {
|
|
@@ -33768,6 +34017,11 @@ var ValApi = /* @__PURE__ */ function() {
|
|
|
33768
34017
|
}
|
|
33769
34018
|
return getPatches;
|
|
33770
34019
|
}()
|
|
34020
|
+
}, {
|
|
34021
|
+
key: "getEditUrl",
|
|
34022
|
+
value: function getEditUrl() {
|
|
34023
|
+
return "".concat(this.host, "/static/edit");
|
|
34024
|
+
}
|
|
33771
34025
|
}, {
|
|
33772
34026
|
key: "postPatches",
|
|
33773
34027
|
value: function postPatches(moduleId, patches, headers) {
|
|
@@ -37850,7 +38104,7 @@ const escapeReplacements = {
|
|
|
37850
38104
|
'"': """,
|
|
37851
38105
|
"'": "'"
|
|
37852
38106
|
};
|
|
37853
|
-
const getEscapeReplacement = (
|
|
38107
|
+
const getEscapeReplacement = (ch3) => escapeReplacements[ch3];
|
|
37854
38108
|
function escape(html, encode) {
|
|
37855
38109
|
if (encode) {
|
|
37856
38110
|
if (escapeTest.test(html)) {
|
|
@@ -40956,9 +41210,6 @@ function parseRichTextSource(_ref) {
|
|
|
40956
41210
|
}
|
|
40957
41211
|
return _defineProperty(_defineProperty({}, VAL_EXTENSION, "richtext"), "children", children);
|
|
40958
41212
|
}
|
|
40959
|
-
Internal.VAL_SESSION_COOKIE;
|
|
40960
|
-
Internal.VAL_STATE_COOKIE;
|
|
40961
|
-
Internal.VAL_ENABLE_COOKIE_NAME;
|
|
40962
41213
|
var LexicalList_prod = {};
|
|
40963
41214
|
var Lexical_prod = {};
|
|
40964
41215
|
var hasRequiredLexical_prod;
|
|
@@ -41389,7 +41640,7 @@ function requireLexical_prod() {
|
|
|
41389
41640
|
return "insertFromPaste" === a || "insertFromPasteAsQuotation" === a;
|
|
41390
41641
|
}
|
|
41391
41642
|
function uc(a) {
|
|
41392
|
-
return !
|
|
41643
|
+
return !K2(a) && !a.isLastChild() && !a.isInline();
|
|
41393
41644
|
}
|
|
41394
41645
|
function vc(a, b) {
|
|
41395
41646
|
a = a._keyToDOMMap.get(b);
|
|
@@ -41419,7 +41670,7 @@ function requireLexical_prod() {
|
|
|
41419
41670
|
return a;
|
|
41420
41671
|
}
|
|
41421
41672
|
function yc(a) {
|
|
41422
|
-
return
|
|
41673
|
+
return K2(a) || D(a) && a.isShadowRoot();
|
|
41423
41674
|
}
|
|
41424
41675
|
function zc(a) {
|
|
41425
41676
|
a = a.constructor.clone(a);
|
|
@@ -41436,7 +41687,7 @@ function requireLexical_prod() {
|
|
|
41436
41687
|
}
|
|
41437
41688
|
function Bc(a, b) {
|
|
41438
41689
|
a = a.getParent();
|
|
41439
|
-
!
|
|
41690
|
+
!K2(a) || D(b) || z(b) || r2(99);
|
|
41440
41691
|
}
|
|
41441
41692
|
function Cc(a) {
|
|
41442
41693
|
return (z(a) || D(a) && !a.canBeEmpty()) && !a.isInline();
|
|
@@ -41506,14 +41757,14 @@ function requireLexical_prod() {
|
|
|
41506
41757
|
for (let f of c)
|
|
41507
41758
|
d = b.get(f), void 0 === d || d.isAttached() || (a.has(f) || c.delete(f), b.delete(f));
|
|
41508
41759
|
}
|
|
41509
|
-
let L = "", M = "", Kc = "", Lc,
|
|
41760
|
+
let L = "", M = "", Kc = "", Lc, N2, Mc, Nc = false, Oc = false, Pc, Qc = null, Rc, Sc, Tc, Uc, Vc, ed;
|
|
41510
41761
|
function fd(a, b) {
|
|
41511
41762
|
let c = Tc.get(a);
|
|
41512
41763
|
if (null !== b) {
|
|
41513
41764
|
let d = gd(a);
|
|
41514
41765
|
d.parentNode === b && b.removeChild(d);
|
|
41515
41766
|
}
|
|
41516
|
-
Uc.has(a) ||
|
|
41767
|
+
Uc.has(a) || N2._keyToDOMMap.delete(a);
|
|
41517
41768
|
D(c) && (a = hd(c, Tc), id(a, 0, a.length - 1, null));
|
|
41518
41769
|
void 0 !== c && rc(ed, Mc, Pc, c, "destroyed");
|
|
41519
41770
|
}
|
|
@@ -41542,9 +41793,9 @@ function requireLexical_prod() {
|
|
|
41542
41793
|
function md(a, b, c) {
|
|
41543
41794
|
let d = Uc.get(a);
|
|
41544
41795
|
void 0 === d && r2(60);
|
|
41545
|
-
let e = d.createDOM(Lc,
|
|
41546
|
-
var f =
|
|
41547
|
-
e["__lexicalKey_" +
|
|
41796
|
+
let e = d.createDOM(Lc, N2);
|
|
41797
|
+
var f = N2._keyToDOMMap;
|
|
41798
|
+
e["__lexicalKey_" + N2._key] = a;
|
|
41548
41799
|
f.set(a, e);
|
|
41549
41800
|
B(d) ? e.setAttribute("data-lexical-text", "true") : z(d) && e.setAttribute("data-lexical-decorator", "true");
|
|
41550
41801
|
if (D(d)) {
|
|
@@ -41565,7 +41816,7 @@ function requireLexical_prod() {
|
|
|
41565
41816
|
d.isInline() || pd(null, d, e);
|
|
41566
41817
|
uc(d) && (L += "\n\n", Kc += "\n\n");
|
|
41567
41818
|
} else
|
|
41568
|
-
f = d.getTextContent(), z(d) ? (g = d.decorate(
|
|
41819
|
+
f = d.getTextContent(), z(d) ? (g = d.decorate(N2, Lc), null !== g && qd(a, g), e.contentEditable = "false") : B(d) && (d.isDirectionless() || (M += f)), L += f, Kc += f;
|
|
41569
41820
|
null !== b && (null != c ? b.insertBefore(e, c) : (c = b.__lexicalLineBreak, null != c ? b.insertBefore(e, c) : b.appendChild(e)));
|
|
41570
41821
|
rc(ed, Mc, Pc, d, "created");
|
|
41571
41822
|
return e;
|
|
@@ -41622,7 +41873,7 @@ function requireLexical_prod() {
|
|
|
41622
41873
|
var c = Tc.get(a), d = Uc.get(a);
|
|
41623
41874
|
void 0 !== c && void 0 !== d || r2(61);
|
|
41624
41875
|
var e = Nc || Sc.has(a) || Rc.has(a);
|
|
41625
|
-
let f = vc(
|
|
41876
|
+
let f = vc(N2, a);
|
|
41626
41877
|
if (c === d && !e)
|
|
41627
41878
|
return D(c) ? (d = f.__lexicalTextContent, void 0 !== d && (L += d, Kc += d), d = f.__lexicalDirTextContent, void 0 !== d && (M += d)) : (d = c.getTextContent(), B(c) && !c.isDirectionless() && (M += d), Kc += d, L += d), f;
|
|
41628
41879
|
c !== d && e && rc(ed, Mc, Pc, d, "updated");
|
|
@@ -41672,12 +41923,12 @@ function requireLexical_prod() {
|
|
|
41672
41923
|
void 0 === k && (k = new Set(l));
|
|
41673
41924
|
void 0 === n && (n = new Set(m2));
|
|
41674
41925
|
let A = n.has(q), Z = k.has(y);
|
|
41675
|
-
A ? (Z ? (q = vc(
|
|
41926
|
+
A ? (Z ? (q = vc(N2, y), q === u ? u = td(sd(y, f)) : (null != u ? f.insertBefore(q, u) : f.appendChild(q), sd(y, f)), x++) : md(y, f, u), h++) : (u = td(gd(q)), fd(q, f), x++);
|
|
41676
41927
|
}
|
|
41677
41928
|
}
|
|
41678
41929
|
k = x > p;
|
|
41679
41930
|
n = h > g;
|
|
41680
|
-
k && !n ? (k = m2[g + 1], k = void 0 === k ? null :
|
|
41931
|
+
k && !n ? (k = m2[g + 1], k = void 0 === k ? null : N2.getElementByKey(k), nd(m2, a, h, g, f, k)) : n && !k && id(l, x, p, f);
|
|
41681
41932
|
}
|
|
41682
41933
|
}
|
|
41683
41934
|
uc(a) && (L += "\n\n");
|
|
@@ -41685,26 +41936,26 @@ function requireLexical_prod() {
|
|
|
41685
41936
|
L = b + L;
|
|
41686
41937
|
od(a, f);
|
|
41687
41938
|
M = e;
|
|
41688
|
-
|
|
41939
|
+
K2(d) || d.isInline() || pd(c, d, f);
|
|
41689
41940
|
}
|
|
41690
41941
|
uc(d) && (L += "\n\n", Kc += "\n\n");
|
|
41691
41942
|
} else
|
|
41692
|
-
c = d.getTextContent(), z(d) ? (e = d.decorate(
|
|
41693
|
-
!Oc &&
|
|
41943
|
+
c = d.getTextContent(), z(d) ? (e = d.decorate(N2, Lc), null !== e && qd(a, e)) : B(d) && !d.isDirectionless() && (M += c), L += c, Kc += c;
|
|
41944
|
+
!Oc && K2(d) && d.__cachedText !== Kc && (d = d.getWritable(), d.__cachedText = Kc);
|
|
41694
41945
|
return f;
|
|
41695
41946
|
}
|
|
41696
41947
|
function qd(a, b) {
|
|
41697
|
-
let c =
|
|
41948
|
+
let c = N2._pendingDecorators, d = N2._decorators;
|
|
41698
41949
|
if (null === c) {
|
|
41699
41950
|
if (d[a] === b)
|
|
41700
41951
|
return;
|
|
41701
|
-
c = fc(
|
|
41952
|
+
c = fc(N2);
|
|
41702
41953
|
}
|
|
41703
41954
|
c[a] = b;
|
|
41704
41955
|
}
|
|
41705
41956
|
function td(a) {
|
|
41706
41957
|
a = a.nextSibling;
|
|
41707
|
-
null !== a && a ===
|
|
41958
|
+
null !== a && a === N2._blockCursorElement && (a = a.nextSibling);
|
|
41708
41959
|
return a;
|
|
41709
41960
|
}
|
|
41710
41961
|
function gd(a) {
|
|
@@ -41769,7 +42020,7 @@ function requireLexical_prod() {
|
|
|
41769
42020
|
if (C(c)) {
|
|
41770
42021
|
let g = c.anchor;
|
|
41771
42022
|
var f = g.getNode();
|
|
41772
|
-
"element" === g.type && 0 === g.offset && c.isCollapsed() && !
|
|
42023
|
+
"element" === g.type && 0 === g.offset && c.isCollapsed() && !K2(f) && 1 === hc().getChildrenSize() && f.getTopLevelElementOrThrow().isEmpty() && null !== e && c.is(e) ? (d.removeAllRanges(), c.dirty = true) : 3 !== a.detail || c.isCollapsed() || (d = c.focus.getNode(), f !== d && (D(f) ? f.select(0) : f.getParentOrThrow().select(0)));
|
|
41773
42024
|
} else
|
|
41774
42025
|
"touch" === a.pointerType && (f = d.anchorNode, null !== f && (f = f.nodeType, 1 === f || 3 === f)) && (d = Qd(e, d, b), yb(d));
|
|
41775
42026
|
O(b, ba, a);
|
|
@@ -41814,7 +42065,7 @@ function requireLexical_prod() {
|
|
|
41814
42065
|
if (C(e)) {
|
|
41815
42066
|
f = a.data;
|
|
41816
42067
|
null !== Gd && nc(false, b, Gd);
|
|
41817
|
-
e.dirty && null === Gd || !e.isCollapsed() ||
|
|
42068
|
+
e.dirty && null === Gd || !e.isCollapsed() || K2(e.anchor.getNode()) || null === d || e.applyDOMRange(d);
|
|
41818
42069
|
Gd = null;
|
|
41819
42070
|
var g = e.focus, h = e.anchor.getNode();
|
|
41820
42071
|
g = g.getNode();
|
|
@@ -42085,7 +42336,7 @@ function requireLexical_prod() {
|
|
|
42085
42336
|
Ud(k) && b && a.isSelected() && a.selectPrevious();
|
|
42086
42337
|
C(k) && b && !m2 ? (d = a.getIndexWithinParent(), bc(a), ae(k, e, d, -1)) : bc(a);
|
|
42087
42338
|
c || yc(e) || e.canBeEmpty() || !e.isEmpty() || Zd(e, b);
|
|
42088
|
-
b &&
|
|
42339
|
+
b && K2(e) && e.isEmpty() && e.selectEnd();
|
|
42089
42340
|
}
|
|
42090
42341
|
}
|
|
42091
42342
|
class be {
|
|
@@ -42975,7 +43226,7 @@ function requireLexical_prod() {
|
|
|
42975
43226
|
Ae(a, b);
|
|
42976
43227
|
}
|
|
42977
43228
|
function Be(a, b, c, d) {
|
|
42978
|
-
let e = a.getNode(), f = e.getChildAtIndex(a.offset), g = J(), h =
|
|
43229
|
+
let e = a.getNode(), f = e.getChildAtIndex(a.offset), g = J(), h = K2(e) ? de().append(g) : g;
|
|
42979
43230
|
g.setFormat(c);
|
|
42980
43231
|
g.setStyle(d);
|
|
42981
43232
|
null === f ? e.append(h) : (f.insertBefore(h), "element" === b.type && b.key === a.key && b.offset !== a.offset && b.set(b.key, b.offset + 1, "element"));
|
|
@@ -43388,7 +43639,7 @@ function requireLexical_prod() {
|
|
|
43388
43639
|
p.replace(q);
|
|
43389
43640
|
p = q;
|
|
43390
43641
|
}
|
|
43391
|
-
|
|
43642
|
+
K2(k.getNode()) || (p = p.spliceText(0, m2, ""));
|
|
43392
43643
|
e.add(p.__key);
|
|
43393
43644
|
} else
|
|
43394
43645
|
k = p.getParentOrThrow(), k.canBeEmpty() || 1 !== k.getChildrenSize() ? p.remove() : k.remove();
|
|
@@ -43546,7 +43797,7 @@ function requireLexical_prod() {
|
|
|
43546
43797
|
d = 1 === a.length && d.canBeEmpty() && d.isEmpty() ? d.insertBefore(n, false) : d.insertAfter(n, false);
|
|
43547
43798
|
else if (D(n)) {
|
|
43548
43799
|
if (n.canBeEmpty() || !n.isEmpty())
|
|
43549
|
-
|
|
43800
|
+
K2(d) ? (p = d.getChildAtIndex(c), null !== p ? p.insertBefore(n) : d.append(n), d = n) : n.isInline() ? (d.append(n), d = n) : d = d.insertAfter(n, false);
|
|
43550
43801
|
} else
|
|
43551
43802
|
p = d.getFirstChild(), null !== p ? p.insertBefore(n) : d.append(n), d = n;
|
|
43552
43803
|
else
|
|
@@ -43607,7 +43858,7 @@ function requireLexical_prod() {
|
|
|
43607
43858
|
insertLineBreak(a) {
|
|
43608
43859
|
let b = ge();
|
|
43609
43860
|
var c = this.anchor;
|
|
43610
|
-
"element" === c.type && (c = c.getNode(),
|
|
43861
|
+
"element" === c.type && (c = c.getNode(), K2(c) && this.insertParagraph());
|
|
43611
43862
|
a ? this.insertNodes([b], true) : this.insertNodes([b]) && b.selectNext(0, 0);
|
|
43612
43863
|
}
|
|
43613
43864
|
getCharacterOffsets() {
|
|
@@ -43635,7 +43886,7 @@ function requireLexical_prod() {
|
|
|
43635
43886
|
var h = e._blockCursorElement, k = e._rootElement;
|
|
43636
43887
|
null === k || null === h || !D(g) || g.isInline() || g.canBeEmpty() || Dc(h, e, k);
|
|
43637
43888
|
d.modify(a, b ? "backward" : "forward", c);
|
|
43638
|
-
if (0 < d.rangeCount && (g = d.getRangeAt(0), e = this.anchor.getNode(), e =
|
|
43889
|
+
if (0 < d.rangeCount && (g = d.getRangeAt(0), e = this.anchor.getNode(), e = K2(e) ? e : xc(e), this.applyDOMRange(g), this.dirty = true, !f)) {
|
|
43639
43890
|
f = this.getNodes();
|
|
43640
43891
|
a = [];
|
|
43641
43892
|
c = false;
|
|
@@ -43696,7 +43947,7 @@ function requireLexical_prod() {
|
|
|
43696
43947
|
return;
|
|
43697
43948
|
}
|
|
43698
43949
|
this.removeText();
|
|
43699
|
-
a && !b && this.isCollapsed() && "element" === this.anchor.type && 0 === this.anchor.offset && (a = this.anchor.getNode(), a.isEmpty() &&
|
|
43950
|
+
a && !b && this.isCollapsed() && "element" === this.anchor.type && 0 === this.anchor.offset && (a = this.anchor.getNode(), a.isEmpty() && K2(a.getParent()) && 0 === a.getIndexWithinParent() && a.collapseAtStart(this));
|
|
43700
43951
|
}
|
|
43701
43952
|
deleteLine(a) {
|
|
43702
43953
|
this.isCollapsed() && ("text" === this.anchor.type && this.modify("extend", a, "lineboundary"), 0 === (a ? this.focus : this.anchor).offset && this.modify("extend", a, "character"));
|
|
@@ -44036,10 +44287,10 @@ function requireLexical_prod() {
|
|
|
44036
44287
|
M = Kc = L = "";
|
|
44037
44288
|
Nc = 2 === x;
|
|
44038
44289
|
Qc = null;
|
|
44039
|
-
|
|
44290
|
+
N2 = a;
|
|
44040
44291
|
Lc = a._config;
|
|
44041
44292
|
Mc = a._nodes;
|
|
44042
|
-
Pc =
|
|
44293
|
+
Pc = N2._listeners.mutation;
|
|
44043
44294
|
Rc = y;
|
|
44044
44295
|
Sc = A;
|
|
44045
44296
|
Tc = f._nodeMap;
|
|
@@ -44049,7 +44300,7 @@ function requireLexical_prod() {
|
|
|
44049
44300
|
let ia = /* @__PURE__ */ new Map();
|
|
44050
44301
|
ed = ia;
|
|
44051
44302
|
sd("root", null);
|
|
44052
|
-
ed = Vc = Lc = Uc = Tc = Sc = Rc = Mc =
|
|
44303
|
+
ed = Vc = Lc = Uc = Tc = Sc = Rc = Mc = N2 = void 0;
|
|
44053
44304
|
u = ia;
|
|
44054
44305
|
} catch (E) {
|
|
44055
44306
|
E instanceof Error && a._onError(E);
|
|
@@ -44082,8 +44333,8 @@ function requireLexical_prod() {
|
|
|
44082
44333
|
let E = a._blockCursorElement;
|
|
44083
44334
|
null !== E && Dc(E, a, d);
|
|
44084
44335
|
a: {
|
|
44085
|
-
let Q = ja.anchorNode, R = ja.focusNode, ia = ja.anchorOffset, lb = ja.focusOffset,
|
|
44086
|
-
if (!(la.has("collaboration") &&
|
|
44336
|
+
let Q = ja.anchorNode, R = ja.focusNode, ia = ja.anchorOffset, lb = ja.focusOffset, W2 = document.activeElement;
|
|
44337
|
+
if (!(la.has("collaboration") && W2 !== d || null !== W2 && Kb(W2)))
|
|
44087
44338
|
if (C(h)) {
|
|
44088
44339
|
var mb = h.anchor, Yc = h.focus, Fe = mb.key, Ff = Yc.key, Ge = vc(a, Fe), He = vc(a, Ff), Qb = mb.offset, Ie = Yc.offset, Zc = h.format, $c = h.style, Je = h.isCollapsed(), nb = Ge, Rb = He, ad = false;
|
|
44089
44340
|
if ("text" === mb.type) {
|
|
@@ -44098,7 +44349,7 @@ function requireLexical_prod() {
|
|
|
44098
44349
|
var Gf = performance.now();
|
|
44099
44350
|
Md = [Zc, $c, Qb, Fe, Gf];
|
|
44100
44351
|
}
|
|
44101
|
-
if (ia === Qb && lb === Ie && Q === nb && R === Rb && ("Range" !== ja.type || !Je) && (null !==
|
|
44352
|
+
if (ia === Qb && lb === Ie && Q === nb && R === Rb && ("Range" !== ja.type || !Je) && (null !== W2 && d.contains(W2) || d.focus({ preventScroll: true }), "element" !== mb.type))
|
|
44102
44353
|
break a;
|
|
44103
44354
|
try {
|
|
44104
44355
|
ja.setBaseAndExtent(nb, Qb, Rb, Ie);
|
|
@@ -44152,19 +44403,19 @@ function requireLexical_prod() {
|
|
|
44152
44403
|
a: {
|
|
44153
44404
|
let E = a._blockCursorElement;
|
|
44154
44405
|
if (C(h) && h.isCollapsed() && "element" === h.anchor.type && d.contains(document.activeElement)) {
|
|
44155
|
-
let Q = h.anchor, R = Q.getNode(), ia = Q.offset, lb = R.getChildrenSize(),
|
|
44406
|
+
let Q = h.anchor, R = Q.getNode(), ia = Q.offset, lb = R.getChildrenSize(), W2 = false, X2 = null;
|
|
44156
44407
|
if (ia === lb) {
|
|
44157
44408
|
let Y = R.getChildAtIndex(ia - 1);
|
|
44158
|
-
Cc(Y) && (
|
|
44409
|
+
Cc(Y) && (W2 = true);
|
|
44159
44410
|
} else {
|
|
44160
44411
|
let Y = R.getChildAtIndex(ia);
|
|
44161
44412
|
if (Cc(Y)) {
|
|
44162
44413
|
let wa = Y.getPreviousSibling();
|
|
44163
44414
|
if (null === wa || Cc(wa))
|
|
44164
|
-
|
|
44415
|
+
W2 = true, X2 = a.getElementByKey(Y.__key);
|
|
44165
44416
|
}
|
|
44166
44417
|
}
|
|
44167
|
-
if (
|
|
44418
|
+
if (W2) {
|
|
44168
44419
|
let Y = a.getElementByKey(R.__key);
|
|
44169
44420
|
if (null === E) {
|
|
44170
44421
|
let wa = a._config.theme, Da = document.createElement("div");
|
|
@@ -44196,8 +44447,8 @@ function requireLexical_prod() {
|
|
|
44196
44447
|
var Hf = u;
|
|
44197
44448
|
let E = Array.from(a._listeners.mutation), Q = E.length;
|
|
44198
44449
|
for (let R = 0; R < Q; R++) {
|
|
44199
|
-
let [ia, lb] = E[R],
|
|
44200
|
-
void 0 !==
|
|
44450
|
+
let [ia, lb] = E[R], W2 = Hf.get(lb);
|
|
44451
|
+
void 0 !== W2 && ia(W2, { dirtyLeaves: Z, prevEditorState: f, updateTags: la });
|
|
44201
44452
|
}
|
|
44202
44453
|
}
|
|
44203
44454
|
C(h) || null === h || null !== g && g.is(h) || a.dispatchCommand(aa, void 0);
|
|
@@ -44711,7 +44962,7 @@ function requireLexical_prod() {
|
|
|
44711
44962
|
return true;
|
|
44712
44963
|
}
|
|
44713
44964
|
}
|
|
44714
|
-
function
|
|
44965
|
+
function K2(a) {
|
|
44715
44966
|
return a instanceof zf;
|
|
44716
44967
|
}
|
|
44717
44968
|
function vf(a, b) {
|
|
@@ -45175,7 +45426,7 @@ function requireLexical_prod() {
|
|
|
45175
45426
|
return a instanceof Cf;
|
|
45176
45427
|
};
|
|
45177
45428
|
Lexical_prod.$isRangeSelection = C;
|
|
45178
|
-
Lexical_prod.$isRootNode =
|
|
45429
|
+
Lexical_prod.$isRootNode = K2;
|
|
45179
45430
|
Lexical_prod.$isRootOrShadowRoot = yc;
|
|
45180
45431
|
Lexical_prod.$isTabNode = function(a) {
|
|
45181
45432
|
return a instanceof ye;
|
|
@@ -56107,7 +56358,7 @@ function requireLexicalList_prod() {
|
|
|
56107
56358
|
};
|
|
56108
56359
|
}
|
|
56109
56360
|
static importDOM() {
|
|
56110
|
-
return { li: () => ({ conversion:
|
|
56361
|
+
return { li: () => ({ conversion: K2, priority: 0 }) };
|
|
56111
56362
|
}
|
|
56112
56363
|
static importJSON(a) {
|
|
56113
56364
|
let b = y();
|
|
@@ -56311,7 +56562,7 @@ function requireLexicalList_prod() {
|
|
|
56311
56562
|
function I(a, b, c) {
|
|
56312
56563
|
q(b.getFirstChild()) ? (a.removeAttribute("role"), a.removeAttribute("tabIndex"), a.removeAttribute("aria-checked")) : (a.setAttribute("role", "checkbox"), a.setAttribute("tabIndex", "-1"), c && b.__checked === c.__checked || a.setAttribute("aria-checked", b.getChecked() ? "true" : "false"));
|
|
56313
56564
|
}
|
|
56314
|
-
function
|
|
56565
|
+
function K2(a) {
|
|
56315
56566
|
a = k.isHTMLElement(a) && "true" === a.getAttribute("aria-checked");
|
|
56316
56567
|
return { node: y(a) };
|
|
56317
56568
|
}
|
|
@@ -56326,11 +56577,11 @@ function requireLexicalList_prod() {
|
|
|
56326
56577
|
return "list";
|
|
56327
56578
|
}
|
|
56328
56579
|
static clone(a) {
|
|
56329
|
-
return new L(a.__listType ||
|
|
56580
|
+
return new L(a.__listType || N2[a.__tag], a.__start, a.__key);
|
|
56330
56581
|
}
|
|
56331
56582
|
constructor(a, b, c) {
|
|
56332
56583
|
super(c);
|
|
56333
|
-
this.__listType = a =
|
|
56584
|
+
this.__listType = a = N2[a] || a;
|
|
56334
56585
|
this.__tag = "number" === a ? "ol" : "ul";
|
|
56335
56586
|
this.__start = b;
|
|
56336
56587
|
}
|
|
@@ -56441,7 +56692,7 @@ function requireLexicalList_prod() {
|
|
|
56441
56692
|
"ol" === b ? c = D("number", a.start) : "ul" === b && (c = k.isHTMLElement(a) && "check" === a.getAttribute("__lexicallisttype") ? D("check") : D("bullet"));
|
|
56442
56693
|
return { after: Q, node: c };
|
|
56443
56694
|
}
|
|
56444
|
-
let
|
|
56695
|
+
let N2 = { ol: "number", ul: "bullet" };
|
|
56445
56696
|
function D(a, b = 1) {
|
|
56446
56697
|
return h.$applyNodeReplacement(new L(a, b));
|
|
56447
56698
|
}
|
|
@@ -59338,12 +59589,12 @@ function requireLexicalClipboard_prod() {
|
|
|
59338
59589
|
let H = y[G];
|
|
59339
59590
|
u.DEPRECATED_$isGridCellNode(H) || z(25);
|
|
59340
59591
|
l === f && v === c ? n = w.getKey() : l === k && v === h && (q = w.getKey());
|
|
59341
|
-
let
|
|
59592
|
+
let N2 = w.getChildren();
|
|
59342
59593
|
H.getChildren().forEach((x) => {
|
|
59343
59594
|
u.$isTextNode(x) && u.$createParagraphNode().append(x);
|
|
59344
59595
|
w.append(x);
|
|
59345
59596
|
});
|
|
59346
|
-
|
|
59597
|
+
N2.forEach((x) => x.remove());
|
|
59347
59598
|
G++;
|
|
59348
59599
|
}
|
|
59349
59600
|
g++;
|
|
@@ -59380,7 +59631,7 @@ function requireLexicalClipboard_prod() {
|
|
|
59380
59631
|
J(a, b, e[f], c);
|
|
59381
59632
|
return { namespace: a._config.namespace, nodes: c };
|
|
59382
59633
|
}
|
|
59383
|
-
function
|
|
59634
|
+
function K2(a) {
|
|
59384
59635
|
let b = [];
|
|
59385
59636
|
for (let c = 0; c < a.length; c++) {
|
|
59386
59637
|
let e = u.$parseSerializedNode(a[c]);
|
|
@@ -59413,7 +59664,7 @@ function requireLexicalClipboard_prod() {
|
|
|
59413
59664
|
return true;
|
|
59414
59665
|
}
|
|
59415
59666
|
LexicalClipboard_prod.$generateJSONFromSelectedNodes = D;
|
|
59416
|
-
LexicalClipboard_prod.$generateNodesFromSerializedNodes =
|
|
59667
|
+
LexicalClipboard_prod.$generateNodesFromSerializedNodes = K2;
|
|
59417
59668
|
LexicalClipboard_prod.$getHtmlContent = B;
|
|
59418
59669
|
LexicalClipboard_prod.$getLexicalContent = C;
|
|
59419
59670
|
LexicalClipboard_prod.$insertDataTransferForPlainText = function(a, b) {
|
|
@@ -59426,7 +59677,7 @@ function requireLexicalClipboard_prod() {
|
|
|
59426
59677
|
try {
|
|
59427
59678
|
let g = JSON.parse(e);
|
|
59428
59679
|
if (g.namespace === c._config.namespace && Array.isArray(g.nodes)) {
|
|
59429
|
-
let k =
|
|
59680
|
+
let k = K2(g.nodes);
|
|
59430
59681
|
return E(c, k, b);
|
|
59431
59682
|
}
|
|
59432
59683
|
} catch {
|
|
@@ -60277,8 +60528,8 @@ function requireLexicalRichText_prod() {
|
|
|
60277
60528
|
if (0 < d.length) {
|
|
60278
60529
|
var e = l(a.clientX, a.clientY);
|
|
60279
60530
|
if (null !== e) {
|
|
60280
|
-
const { offset: m2, node:
|
|
60281
|
-
var f = k.$getNearestNodeFromDOMNode(
|
|
60531
|
+
const { offset: m2, node: K2 } = e;
|
|
60532
|
+
var f = k.$getNearestNodeFromDOMNode(K2);
|
|
60282
60533
|
if (null !== f) {
|
|
60283
60534
|
e = k.$createRangeSelection();
|
|
60284
60535
|
if (k.$isTextNode(f))
|
|
@@ -68791,6 +69042,29 @@ function ValFormField({
|
|
|
68791
69042
|
}
|
|
68792
69043
|
);
|
|
68793
69044
|
}
|
|
69045
|
+
if ((typeof source === "number" || source === null) && (schema == null ? void 0 : schema.type) === "number") {
|
|
69046
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69047
|
+
NumberField,
|
|
69048
|
+
{
|
|
69049
|
+
defaultValue: source,
|
|
69050
|
+
disabled,
|
|
69051
|
+
registerPatchCallback,
|
|
69052
|
+
onSubmit
|
|
69053
|
+
}
|
|
69054
|
+
);
|
|
69055
|
+
}
|
|
69056
|
+
if ((typeof source === "number" || typeof source === "string" || source === null) && (schema == null ? void 0 : schema.type) === "keyOf") {
|
|
69057
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69058
|
+
KeyOfField,
|
|
69059
|
+
{
|
|
69060
|
+
defaultValue: source,
|
|
69061
|
+
disabled,
|
|
69062
|
+
registerPatchCallback,
|
|
69063
|
+
onSubmit,
|
|
69064
|
+
selector: schema.selector
|
|
69065
|
+
}
|
|
69066
|
+
);
|
|
69067
|
+
}
|
|
68794
69068
|
if ((typeof source === "object" || source === null) && (schema == null ? void 0 : schema.type) === "richtext") {
|
|
68795
69069
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
68796
69070
|
RichTextField,
|
|
@@ -69039,7 +69313,7 @@ function KeyOfField({
|
|
|
69039
69313
|
};
|
|
69040
69314
|
};
|
|
69041
69315
|
const typeAndValues = getValuesFromModule(valModule);
|
|
69042
|
-
const [value, setValue] = reactExports.useState(defaultValue
|
|
69316
|
+
const [value, setValue] = reactExports.useState(defaultValue || typeAndValues.values[0]);
|
|
69043
69317
|
const [loading, setLoading] = reactExports.useState(false);
|
|
69044
69318
|
reactExports.useEffect(() => {
|
|
69045
69319
|
setLoading(disabled);
|