pankosmia-bcv-muncher 0.2.17 → 0.2.18
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.
|
@@ -2,7 +2,7 @@ var xd = Object.defineProperty;
|
|
|
2
2
|
var kd = (e, t, n) => t in e ? xd(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Zt = (e, t, n) => kd(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import * as j from "react";
|
|
5
|
-
import pe, { useState as
|
|
5
|
+
import pe, { useState as be, useEffect as Pe, createElement as ll, useRef as Se, useContext as Rs, useLayoutEffect as Cd, useMemo as Dd, useCallback as Os } from "react";
|
|
6
6
|
import { Box as gt, Grid as dn, Accordion as ei, AccordionSummary as ti, Typography as yt, AccordionDetails as ni, List as Nd, ListItem as Td, ListItemText as ai, Divider as Ad, IconButton as ga, TextField as ba, MenuItem as pn, SvgIcon as ri, ToggleButtonGroup as Id, ToggleButton as ol, FormControl as Ps, AccordionActions as Rd, InputLabel as Od, Select as Pd, Popper as _d, Paper as Ld, MenuList as Md, ListItemIcon as Fd, Tooltip as Bd } from "@mui/material";
|
|
7
7
|
import ii from "@mui/icons-material/ExpandMore";
|
|
8
8
|
import { PanAdvancedDialog as jd, PanDialogActionsArray as Vd, PanMenuWrapper as zd } from "pankosmia-rcl";
|
|
@@ -127,7 +127,7 @@ function op() {
|
|
|
127
127
|
case S:
|
|
128
128
|
var _ = x.render;
|
|
129
129
|
return x = x.displayName, x || (x = _.displayName || _.name || "", x = x !== "" ? "ForwardRef(" + x + ")" : "ForwardRef"), x;
|
|
130
|
-
case
|
|
130
|
+
case L:
|
|
131
131
|
return _ = x.displayName || null, _ !== null ? _ : e(x.type) || "Memo";
|
|
132
132
|
case U:
|
|
133
133
|
_ = x._payload, x = x._init;
|
|
@@ -185,7 +185,7 @@ function op() {
|
|
|
185
185
|
}
|
|
186
186
|
function o(x, _) {
|
|
187
187
|
function v() {
|
|
188
|
-
|
|
188
|
+
Y || (Y = !0, console.error(
|
|
189
189
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
190
190
|
_
|
|
191
191
|
));
|
|
@@ -201,15 +201,15 @@ function op() {
|
|
|
201
201
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
202
202
|
)), x = this.props.ref, x !== void 0 ? x : null;
|
|
203
203
|
}
|
|
204
|
-
function s(x, _, v, z,
|
|
205
|
-
var
|
|
204
|
+
function s(x, _, v, z, K, q) {
|
|
205
|
+
var W = v.ref;
|
|
206
206
|
return x = {
|
|
207
207
|
$$typeof: h,
|
|
208
208
|
type: x,
|
|
209
209
|
key: _,
|
|
210
210
|
props: v,
|
|
211
211
|
_owner: z
|
|
212
|
-
}, (
|
|
212
|
+
}, (W !== void 0 ? W : null) !== null ? Object.defineProperty(x, "ref", {
|
|
213
213
|
enumerable: !1,
|
|
214
214
|
get: u
|
|
215
215
|
}) : Object.defineProperty(x, "ref", { enumerable: !1, value: null }), x._store = {}, Object.defineProperty(x._store, "validated", {
|
|
@@ -226,33 +226,33 @@ function op() {
|
|
|
226
226
|
configurable: !1,
|
|
227
227
|
enumerable: !1,
|
|
228
228
|
writable: !0,
|
|
229
|
-
value:
|
|
229
|
+
value: K
|
|
230
230
|
}), Object.defineProperty(x, "_debugTask", {
|
|
231
231
|
configurable: !1,
|
|
232
232
|
enumerable: !1,
|
|
233
233
|
writable: !0,
|
|
234
|
-
value:
|
|
234
|
+
value: q
|
|
235
235
|
}), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
|
|
236
236
|
}
|
|
237
|
-
function c(x, _, v, z,
|
|
238
|
-
var
|
|
239
|
-
if (
|
|
237
|
+
function c(x, _, v, z, K, q) {
|
|
238
|
+
var W = _.children;
|
|
239
|
+
if (W !== void 0)
|
|
240
240
|
if (z)
|
|
241
|
-
if (
|
|
242
|
-
for (z = 0; z <
|
|
243
|
-
d(
|
|
244
|
-
Object.freeze && Object.freeze(
|
|
241
|
+
if (F(W)) {
|
|
242
|
+
for (z = 0; z < W.length; z++)
|
|
243
|
+
d(W[z]);
|
|
244
|
+
Object.freeze && Object.freeze(W);
|
|
245
245
|
} else
|
|
246
246
|
console.error(
|
|
247
247
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
248
248
|
);
|
|
249
|
-
else d(
|
|
249
|
+
else d(W);
|
|
250
250
|
if (H.call(_, "key")) {
|
|
251
|
-
|
|
252
|
-
var
|
|
251
|
+
W = e(x);
|
|
252
|
+
var B = Object.keys(_).filter(function(J) {
|
|
253
253
|
return J !== "key";
|
|
254
254
|
});
|
|
255
|
-
z = 0 <
|
|
255
|
+
z = 0 < B.length ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}", m[W + z] || (B = 0 < B.length ? "{" + B.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
256
256
|
`A props object containing a "key" prop is being spread into JSX:
|
|
257
257
|
let props = %s;
|
|
258
258
|
<%s {...props} />
|
|
@@ -260,26 +260,26 @@ React keys must be passed directly to JSX without using spread:
|
|
|
260
260
|
let props = %s;
|
|
261
261
|
<%s key={someKey} {...props} />`,
|
|
262
262
|
z,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
), m[
|
|
263
|
+
W,
|
|
264
|
+
B,
|
|
265
|
+
W
|
|
266
|
+
), m[W + z] = !0);
|
|
267
267
|
}
|
|
268
|
-
if (
|
|
268
|
+
if (W = null, v !== void 0 && (n(v), W = "" + v), l(_) && (n(_.key), W = "" + _.key), "key" in _) {
|
|
269
269
|
v = {};
|
|
270
|
-
for (var
|
|
271
|
-
|
|
270
|
+
for (var G in _)
|
|
271
|
+
G !== "key" && (v[G] = _[G]);
|
|
272
272
|
} else v = _;
|
|
273
|
-
return
|
|
273
|
+
return W && o(
|
|
274
274
|
v,
|
|
275
275
|
typeof x == "function" ? x.displayName || x.name || "Unknown" : x
|
|
276
276
|
), s(
|
|
277
277
|
x,
|
|
278
|
-
|
|
278
|
+
W,
|
|
279
279
|
v,
|
|
280
280
|
r(),
|
|
281
|
-
|
|
282
|
-
|
|
281
|
+
K,
|
|
282
|
+
q
|
|
283
283
|
);
|
|
284
284
|
}
|
|
285
285
|
function d(x) {
|
|
@@ -288,7 +288,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
288
288
|
function p(x) {
|
|
289
289
|
return typeof x == "object" && x !== null && x.$$typeof === h;
|
|
290
290
|
}
|
|
291
|
-
var f = pe, h = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), D = Symbol.for("react.consumer"), k = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), A = Symbol.for("react.suspense_list"),
|
|
291
|
+
var f = pe, h = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), D = Symbol.for("react.consumer"), k = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), A = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), P = Symbol.for("react.activity"), N = Symbol.for("react.client.reference"), T = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = Object.prototype.hasOwnProperty, F = Array.isArray, R = console.createTask ? console.createTask : function() {
|
|
292
292
|
return null;
|
|
293
293
|
};
|
|
294
294
|
f = {
|
|
@@ -296,10 +296,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
296
296
|
return x();
|
|
297
297
|
}
|
|
298
298
|
};
|
|
299
|
-
var
|
|
299
|
+
var Y, Q = {}, ae = f.react_stack_bottom_frame.bind(
|
|
300
300
|
f,
|
|
301
301
|
i
|
|
302
|
-
)(),
|
|
302
|
+
)(), re = R(a(i)), m = {};
|
|
303
303
|
en.Fragment = b, en.jsx = function(x, _, v) {
|
|
304
304
|
var z = 1e4 > T.recentlyCreatedOwnerStacks++;
|
|
305
305
|
return c(
|
|
@@ -307,8 +307,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
307
307
|
_,
|
|
308
308
|
v,
|
|
309
309
|
!1,
|
|
310
|
-
z ? Error("react-stack-top-frame") :
|
|
311
|
-
z ?
|
|
310
|
+
z ? Error("react-stack-top-frame") : ae,
|
|
311
|
+
z ? R(a(x)) : re
|
|
312
312
|
);
|
|
313
313
|
}, en.jsxs = function(x, _, v) {
|
|
314
314
|
var z = 1e4 > T.recentlyCreatedOwnerStacks++;
|
|
@@ -317,8 +317,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
317
317
|
_,
|
|
318
318
|
v,
|
|
319
319
|
!0,
|
|
320
|
-
z ? Error("react-stack-top-frame") :
|
|
321
|
-
z ?
|
|
320
|
+
z ? Error("react-stack-top-frame") : ae,
|
|
321
|
+
z ? R(a(x)) : re
|
|
322
322
|
);
|
|
323
323
|
};
|
|
324
324
|
})()), en;
|
|
@@ -327,7 +327,7 @@ var pl;
|
|
|
327
327
|
function sp() {
|
|
328
328
|
return pl || (pl = 1, process.env.NODE_ENV === "production" ? zn.exports = lp() : zn.exports = op()), zn.exports;
|
|
329
329
|
}
|
|
330
|
-
var
|
|
330
|
+
var I = sp();
|
|
331
331
|
function up(e, t) {
|
|
332
332
|
const n = {};
|
|
333
333
|
return (e[e.length - 1] === "" ? [...e, ""] : e).join(
|
|
@@ -1535,76 +1535,76 @@ function Dp() {
|
|
|
1535
1535
|
if (!b) return [];
|
|
1536
1536
|
y = y || {};
|
|
1537
1537
|
var C = 1, D = 1;
|
|
1538
|
-
function k(
|
|
1539
|
-
var
|
|
1540
|
-
|
|
1541
|
-
var
|
|
1542
|
-
D = ~
|
|
1538
|
+
function k(F) {
|
|
1539
|
+
var R = F.match(t);
|
|
1540
|
+
R && (C += R.length);
|
|
1541
|
+
var Y = F.lastIndexOf(u);
|
|
1542
|
+
D = ~Y ? F.length - Y : D + F.length;
|
|
1543
1543
|
}
|
|
1544
1544
|
function S() {
|
|
1545
|
-
var
|
|
1546
|
-
return function(
|
|
1547
|
-
return
|
|
1545
|
+
var F = { line: C, column: D };
|
|
1546
|
+
return function(R) {
|
|
1547
|
+
return R.position = new w(F), U(), R;
|
|
1548
1548
|
};
|
|
1549
1549
|
}
|
|
1550
|
-
function w(
|
|
1551
|
-
this.start =
|
|
1550
|
+
function w(F) {
|
|
1551
|
+
this.start = F, this.end = { line: C, column: D }, this.source = y.source;
|
|
1552
1552
|
}
|
|
1553
1553
|
w.prototype.content = b;
|
|
1554
|
-
function A(
|
|
1555
|
-
var
|
|
1556
|
-
y.source + ":" + C + ":" + D + ": " +
|
|
1554
|
+
function A(F) {
|
|
1555
|
+
var R = new Error(
|
|
1556
|
+
y.source + ":" + C + ":" + D + ": " + F
|
|
1557
1557
|
);
|
|
1558
|
-
if (
|
|
1558
|
+
if (R.reason = F, R.filename = y.source, R.line = C, R.column = D, R.source = b, !y.silent) throw R;
|
|
1559
1559
|
}
|
|
1560
|
-
function
|
|
1561
|
-
var
|
|
1562
|
-
if (
|
|
1563
|
-
var
|
|
1564
|
-
return k(
|
|
1560
|
+
function L(F) {
|
|
1561
|
+
var R = F.exec(b);
|
|
1562
|
+
if (R) {
|
|
1563
|
+
var Y = R[0];
|
|
1564
|
+
return k(Y), b = b.slice(Y.length), R;
|
|
1565
1565
|
}
|
|
1566
1566
|
}
|
|
1567
1567
|
function U() {
|
|
1568
|
-
|
|
1568
|
+
L(n);
|
|
1569
1569
|
}
|
|
1570
|
-
function P(
|
|
1571
|
-
var
|
|
1572
|
-
for (
|
|
1573
|
-
|
|
1574
|
-
return
|
|
1570
|
+
function P(F) {
|
|
1571
|
+
var R;
|
|
1572
|
+
for (F = F || []; R = N(); )
|
|
1573
|
+
R !== !1 && F.push(R);
|
|
1574
|
+
return F;
|
|
1575
1575
|
}
|
|
1576
1576
|
function N() {
|
|
1577
|
-
var
|
|
1577
|
+
var F = S();
|
|
1578
1578
|
if (!(s != b.charAt(0) || c != b.charAt(1))) {
|
|
1579
|
-
for (var
|
|
1580
|
-
++
|
|
1581
|
-
if (
|
|
1579
|
+
for (var R = 2; d != b.charAt(R) && (c != b.charAt(R) || s != b.charAt(R + 1)); )
|
|
1580
|
+
++R;
|
|
1581
|
+
if (R += 2, d === b.charAt(R - 1))
|
|
1582
1582
|
return A("End of comment missing");
|
|
1583
|
-
var
|
|
1584
|
-
return D += 2, k(
|
|
1583
|
+
var Y = b.slice(2, R - 2);
|
|
1584
|
+
return D += 2, k(Y), b = b.slice(R), D += 2, F({
|
|
1585
1585
|
type: p,
|
|
1586
|
-
comment:
|
|
1586
|
+
comment: Y
|
|
1587
1587
|
});
|
|
1588
1588
|
}
|
|
1589
1589
|
}
|
|
1590
1590
|
function T() {
|
|
1591
|
-
var
|
|
1592
|
-
if (
|
|
1593
|
-
if (N(), !
|
|
1594
|
-
var
|
|
1591
|
+
var F = S(), R = L(a);
|
|
1592
|
+
if (R) {
|
|
1593
|
+
if (N(), !L(r)) return A("property missing ':'");
|
|
1594
|
+
var Y = L(i), Q = F({
|
|
1595
1595
|
type: f,
|
|
1596
|
-
property: g(
|
|
1597
|
-
value:
|
|
1596
|
+
property: g(R[0].replace(e, d)),
|
|
1597
|
+
value: Y ? g(Y[0].replace(e, d)) : d
|
|
1598
1598
|
});
|
|
1599
|
-
return
|
|
1599
|
+
return L(l), Q;
|
|
1600
1600
|
}
|
|
1601
1601
|
}
|
|
1602
1602
|
function H() {
|
|
1603
|
-
var
|
|
1604
|
-
P(
|
|
1605
|
-
for (var
|
|
1606
|
-
|
|
1607
|
-
return
|
|
1603
|
+
var F = [];
|
|
1604
|
+
P(F);
|
|
1605
|
+
for (var R; R = T(); )
|
|
1606
|
+
R !== !1 && (F.push(R), P(F));
|
|
1607
|
+
return F;
|
|
1608
1608
|
}
|
|
1609
1609
|
return U(), H();
|
|
1610
1610
|
}
|
|
@@ -2202,7 +2202,7 @@ function ee(e) {
|
|
|
2202
2202
|
function We(e) {
|
|
2203
2203
|
return e !== null && (e < 0 || e === 32);
|
|
2204
2204
|
}
|
|
2205
|
-
function
|
|
2205
|
+
function fe(e) {
|
|
2206
2206
|
return e === -2 || e === -1 || e === 32;
|
|
2207
2207
|
}
|
|
2208
2208
|
const uf = kt(new RegExp("\\p{P}|\\p{S}", "u")), cf = kt(/\s/);
|
|
@@ -2236,10 +2236,10 @@ function ye(e, t, n, a) {
|
|
|
2236
2236
|
let i = 0;
|
|
2237
2237
|
return l;
|
|
2238
2238
|
function l(u) {
|
|
2239
|
-
return
|
|
2239
|
+
return fe(u) ? (e.enter(n), o(u)) : t(u);
|
|
2240
2240
|
}
|
|
2241
2241
|
function o(u) {
|
|
2242
|
-
return
|
|
2242
|
+
return fe(u) && i++ < r ? (e.consume(u), o) : (e.exit(n), t(u));
|
|
2243
2243
|
}
|
|
2244
2244
|
}
|
|
2245
2245
|
const df = {
|
|
@@ -2363,11 +2363,11 @@ function mf(e) {
|
|
|
2363
2363
|
)
|
|
2364
2364
|
return;
|
|
2365
2365
|
const A = t.events.length;
|
|
2366
|
-
let
|
|
2367
|
-
for (;
|
|
2368
|
-
if (t.events[
|
|
2366
|
+
let L = A, U, P;
|
|
2367
|
+
for (; L--; )
|
|
2368
|
+
if (t.events[L][0] === "exit" && t.events[L][1].type === "chunkFlow") {
|
|
2369
2369
|
if (U) {
|
|
2370
|
-
P = t.events[
|
|
2370
|
+
P = t.events[L][1].end;
|
|
2371
2371
|
break;
|
|
2372
2372
|
}
|
|
2373
2373
|
U = !0;
|
|
@@ -2376,7 +2376,7 @@ function mf(e) {
|
|
|
2376
2376
|
t.events[w][1].end = {
|
|
2377
2377
|
...P
|
|
2378
2378
|
}, w++;
|
|
2379
|
-
mt(t.events,
|
|
2379
|
+
mt(t.events, L + 1, 0, t.events.slice(A)), t.events.length = w;
|
|
2380
2380
|
}
|
|
2381
2381
|
}
|
|
2382
2382
|
function y(D) {
|
|
@@ -2532,7 +2532,7 @@ const ya = {
|
|
|
2532
2532
|
function Sf(e, t, n) {
|
|
2533
2533
|
return a;
|
|
2534
2534
|
function a(i) {
|
|
2535
|
-
return
|
|
2535
|
+
return fe(i) ? ye(e, r, "linePrefix")(i) : r(i);
|
|
2536
2536
|
}
|
|
2537
2537
|
function r(i) {
|
|
2538
2538
|
return i === null || ee(i) ? t(i) : n(i);
|
|
@@ -2559,14 +2559,14 @@ function wf(e, t, n) {
|
|
|
2559
2559
|
return n(l);
|
|
2560
2560
|
}
|
|
2561
2561
|
function i(l) {
|
|
2562
|
-
return
|
|
2562
|
+
return fe(l) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(l), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(l));
|
|
2563
2563
|
}
|
|
2564
2564
|
}
|
|
2565
2565
|
function Ef(e, t, n) {
|
|
2566
2566
|
const a = this;
|
|
2567
2567
|
return r;
|
|
2568
2568
|
function r(l) {
|
|
2569
|
-
return
|
|
2569
|
+
return fe(l) ? ye(e, i, "linePrefix", a.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(l) : i(l);
|
|
2570
2570
|
}
|
|
2571
2571
|
function i(l) {
|
|
2572
2572
|
return e.attempt(Js, t, n)(l);
|
|
@@ -2636,7 +2636,7 @@ function Df(e, t, n) {
|
|
|
2636
2636
|
return i = A && A[1].type === "linePrefix" ? A[2].sliceSerialize(A[1], !0).length : 0, o = w, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(w);
|
|
2637
2637
|
}
|
|
2638
2638
|
function c(w) {
|
|
2639
|
-
return w === o ? (l++, e.consume(w), c) : l < 3 ? n(w) : (e.exit("codeFencedFenceSequence"),
|
|
2639
|
+
return w === o ? (l++, e.consume(w), c) : l < 3 ? n(w) : (e.exit("codeFencedFenceSequence"), fe(w) ? ye(e, d, "whitespace")(w) : d(w));
|
|
2640
2640
|
}
|
|
2641
2641
|
function d(w) {
|
|
2642
2642
|
return w === null || ee(w) ? (e.exit("codeFencedFence"), a.interrupt ? t(w) : e.check(Al, g, k)(w)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
@@ -2644,7 +2644,7 @@ function Df(e, t, n) {
|
|
|
2644
2644
|
}), p(w));
|
|
2645
2645
|
}
|
|
2646
2646
|
function p(w) {
|
|
2647
|
-
return w === null || ee(w) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(w)) :
|
|
2647
|
+
return w === null || ee(w) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(w)) : fe(w) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), ye(e, f, "whitespace")(w)) : w === 96 && w === o ? n(w) : (e.consume(w), p);
|
|
2648
2648
|
}
|
|
2649
2649
|
function f(w) {
|
|
2650
2650
|
return w === null || ee(w) ? d(w) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
|
@@ -2661,7 +2661,7 @@ function Df(e, t, n) {
|
|
|
2661
2661
|
return e.enter("lineEnding"), e.consume(w), e.exit("lineEnding"), y;
|
|
2662
2662
|
}
|
|
2663
2663
|
function y(w) {
|
|
2664
|
-
return i > 0 &&
|
|
2664
|
+
return i > 0 && fe(w) ? ye(e, C, "linePrefix", i + 1)(w) : C(w);
|
|
2665
2665
|
}
|
|
2666
2666
|
function C(w) {
|
|
2667
2667
|
return w === null || ee(w) ? e.check(Al, g, k)(w) : (e.enter("codeFlowValue"), D(w));
|
|
@@ -2672,23 +2672,23 @@ function Df(e, t, n) {
|
|
|
2672
2672
|
function k(w) {
|
|
2673
2673
|
return e.exit("codeFenced"), t(w);
|
|
2674
2674
|
}
|
|
2675
|
-
function S(w, A,
|
|
2675
|
+
function S(w, A, L) {
|
|
2676
2676
|
let U = 0;
|
|
2677
2677
|
return P;
|
|
2678
|
-
function P(
|
|
2679
|
-
return w.enter("lineEnding"), w.consume(
|
|
2678
|
+
function P(R) {
|
|
2679
|
+
return w.enter("lineEnding"), w.consume(R), w.exit("lineEnding"), N;
|
|
2680
2680
|
}
|
|
2681
|
-
function N(
|
|
2682
|
-
return w.enter("codeFencedFence"),
|
|
2681
|
+
function N(R) {
|
|
2682
|
+
return w.enter("codeFencedFence"), fe(R) ? ye(w, T, "linePrefix", a.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(R) : T(R);
|
|
2683
2683
|
}
|
|
2684
|
-
function T(
|
|
2685
|
-
return
|
|
2684
|
+
function T(R) {
|
|
2685
|
+
return R === o ? (w.enter("codeFencedFenceSequence"), H(R)) : L(R);
|
|
2686
2686
|
}
|
|
2687
|
-
function H(
|
|
2688
|
-
return
|
|
2687
|
+
function H(R) {
|
|
2688
|
+
return R === o ? (U++, w.consume(R), H) : U >= l ? (w.exit("codeFencedFenceSequence"), fe(R) ? ye(w, F, "whitespace")(R) : F(R)) : L(R);
|
|
2689
2689
|
}
|
|
2690
|
-
function
|
|
2691
|
-
return
|
|
2690
|
+
function F(R) {
|
|
2691
|
+
return R === null || ee(R) ? (w.exit("codeFencedFence"), A(R)) : L(R);
|
|
2692
2692
|
}
|
|
2693
2693
|
}
|
|
2694
2694
|
}
|
|
@@ -3091,7 +3091,7 @@ function tu(e, t, n, a, r, i) {
|
|
|
3091
3091
|
}), d(f));
|
|
3092
3092
|
}
|
|
3093
3093
|
function d(f) {
|
|
3094
|
-
return f === null || f === 91 || f === 93 || ee(f) || o++ > 999 ? (e.exit("chunkString"), c(f)) : (e.consume(f), u || (u = !
|
|
3094
|
+
return f === null || f === 91 || f === 93 || ee(f) || o++ > 999 ? (e.exit("chunkString"), c(f)) : (e.consume(f), u || (u = !fe(f)), f === 92 ? p : d);
|
|
3095
3095
|
}
|
|
3096
3096
|
function p(f) {
|
|
3097
3097
|
return f === 91 || f === 92 || f === 93 ? (e.consume(f), o++, d) : d(f);
|
|
@@ -3122,7 +3122,7 @@ function mn(e, t) {
|
|
|
3122
3122
|
let n;
|
|
3123
3123
|
return a;
|
|
3124
3124
|
function a(r) {
|
|
3125
|
-
return ee(r) ? (e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), n = !0, a) :
|
|
3125
|
+
return ee(r) ? (e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), n = !0, a) : fe(r) ? ye(e, a, n ? "linePrefix" : "lineSuffix")(r) : t(r);
|
|
3126
3126
|
}
|
|
3127
3127
|
}
|
|
3128
3128
|
const $f = {
|
|
@@ -3174,7 +3174,7 @@ function Hf(e, t, n) {
|
|
|
3174
3174
|
return e.attempt(Uf, d, d)(f);
|
|
3175
3175
|
}
|
|
3176
3176
|
function d(f) {
|
|
3177
|
-
return
|
|
3177
|
+
return fe(f) ? ye(e, p, "whitespace")(f) : p(f);
|
|
3178
3178
|
}
|
|
3179
3179
|
function p(f) {
|
|
3180
3180
|
return f === null || ee(f) ? (e.exit("definition"), a.parser.defined.push(r), t(f)) : n(f);
|
|
@@ -3189,7 +3189,7 @@ function Gf(e, t, n) {
|
|
|
3189
3189
|
return nu(e, i, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(o);
|
|
3190
3190
|
}
|
|
3191
3191
|
function i(o) {
|
|
3192
|
-
return
|
|
3192
|
+
return fe(o) ? ye(e, l, "whitespace")(o) : l(o);
|
|
3193
3193
|
}
|
|
3194
3194
|
function l(o) {
|
|
3195
3195
|
return o === null || ee(o) ? t(o) : n(o);
|
|
@@ -3239,7 +3239,7 @@ function Jf(e, t, n) {
|
|
|
3239
3239
|
return c === 35 && a++ < 6 ? (e.consume(c), l) : c === null || We(c) ? (e.exit("atxHeadingSequence"), o(c)) : n(c);
|
|
3240
3240
|
}
|
|
3241
3241
|
function o(c) {
|
|
3242
|
-
return c === 35 ? (e.enter("atxHeadingSequence"), u(c)) : c === null || ee(c) ? (e.exit("atxHeading"), t(c)) :
|
|
3242
|
+
return c === 35 ? (e.enter("atxHeadingSequence"), u(c)) : c === null || ee(c) ? (e.exit("atxHeading"), t(c)) : fe(c) ? ye(e, o, "whitespace")(c) : (e.enter("atxHeadingText"), s(c));
|
|
3243
3243
|
}
|
|
3244
3244
|
function u(c) {
|
|
3245
3245
|
return c === 35 ? (e.consume(c), u) : (e.exit("atxHeadingSequence"), o(c));
|
|
@@ -3357,8 +3357,8 @@ function nm(e, t, n) {
|
|
|
3357
3357
|
}
|
|
3358
3358
|
function b(v) {
|
|
3359
3359
|
if (v === null || v === 47 || v === 62 || We(v)) {
|
|
3360
|
-
const z = v === 47,
|
|
3361
|
-
return !z && !i && Rl.includes(
|
|
3360
|
+
const z = v === 47, K = l.toLowerCase();
|
|
3361
|
+
return !z && !i && Rl.includes(K) ? (r = 1, a.interrupt ? t(v) : T(v)) : Xf.includes(l.toLowerCase()) ? (r = 6, z ? (e.consume(v), y) : a.interrupt ? t(v) : T(v)) : (r = 7, a.interrupt && !a.parser.lazy[a.now().line] ? n(v) : i ? C(v) : D(v));
|
|
3362
3362
|
}
|
|
3363
3363
|
return v === 45 || Je(v) ? (e.consume(v), l += String.fromCharCode(v), b) : n(v);
|
|
3364
3364
|
}
|
|
@@ -3366,61 +3366,61 @@ function nm(e, t, n) {
|
|
|
3366
3366
|
return v === 62 ? (e.consume(v), a.interrupt ? t : T) : n(v);
|
|
3367
3367
|
}
|
|
3368
3368
|
function C(v) {
|
|
3369
|
-
return
|
|
3369
|
+
return fe(v) ? (e.consume(v), C) : P(v);
|
|
3370
3370
|
}
|
|
3371
3371
|
function D(v) {
|
|
3372
|
-
return v === 47 ? (e.consume(v), P) : v === 58 || v === 95 || ft(v) ? (e.consume(v), k) :
|
|
3372
|
+
return v === 47 ? (e.consume(v), P) : v === 58 || v === 95 || ft(v) ? (e.consume(v), k) : fe(v) ? (e.consume(v), D) : P(v);
|
|
3373
3373
|
}
|
|
3374
3374
|
function k(v) {
|
|
3375
3375
|
return v === 45 || v === 46 || v === 58 || v === 95 || Je(v) ? (e.consume(v), k) : S(v);
|
|
3376
3376
|
}
|
|
3377
3377
|
function S(v) {
|
|
3378
|
-
return v === 61 ? (e.consume(v), w) :
|
|
3378
|
+
return v === 61 ? (e.consume(v), w) : fe(v) ? (e.consume(v), S) : D(v);
|
|
3379
3379
|
}
|
|
3380
3380
|
function w(v) {
|
|
3381
|
-
return v === null || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 34 || v === 39 ? (e.consume(v), u = v, A) :
|
|
3381
|
+
return v === null || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 34 || v === 39 ? (e.consume(v), u = v, A) : fe(v) ? (e.consume(v), w) : L(v);
|
|
3382
3382
|
}
|
|
3383
3383
|
function A(v) {
|
|
3384
3384
|
return v === u ? (e.consume(v), u = null, U) : v === null || ee(v) ? n(v) : (e.consume(v), A);
|
|
3385
3385
|
}
|
|
3386
|
-
function
|
|
3387
|
-
return v === null || v === 34 || v === 39 || v === 47 || v === 60 || v === 61 || v === 62 || v === 96 || We(v) ? S(v) : (e.consume(v),
|
|
3386
|
+
function L(v) {
|
|
3387
|
+
return v === null || v === 34 || v === 39 || v === 47 || v === 60 || v === 61 || v === 62 || v === 96 || We(v) ? S(v) : (e.consume(v), L);
|
|
3388
3388
|
}
|
|
3389
3389
|
function U(v) {
|
|
3390
|
-
return v === 47 || v === 62 ||
|
|
3390
|
+
return v === 47 || v === 62 || fe(v) ? D(v) : n(v);
|
|
3391
3391
|
}
|
|
3392
3392
|
function P(v) {
|
|
3393
3393
|
return v === 62 ? (e.consume(v), N) : n(v);
|
|
3394
3394
|
}
|
|
3395
3395
|
function N(v) {
|
|
3396
|
-
return v === null || ee(v) ? T(v) :
|
|
3396
|
+
return v === null || ee(v) ? T(v) : fe(v) ? (e.consume(v), N) : n(v);
|
|
3397
3397
|
}
|
|
3398
3398
|
function T(v) {
|
|
3399
|
-
return v === 45 && r === 2 ? (e.consume(v),
|
|
3399
|
+
return v === 45 && r === 2 ? (e.consume(v), Y) : v === 60 && r === 1 ? (e.consume(v), Q) : v === 62 && r === 4 ? (e.consume(v), x) : v === 63 && r === 3 ? (e.consume(v), m) : v === 93 && r === 5 ? (e.consume(v), re) : ee(v) && (r === 6 || r === 7) ? (e.exit("htmlFlowData"), e.check(Qf, _, H)(v)) : v === null || ee(v) ? (e.exit("htmlFlowData"), H(v)) : (e.consume(v), T);
|
|
3400
3400
|
}
|
|
3401
3401
|
function H(v) {
|
|
3402
|
-
return e.check(em,
|
|
3402
|
+
return e.check(em, F, _)(v);
|
|
3403
3403
|
}
|
|
3404
|
-
function
|
|
3405
|
-
return e.enter("lineEnding"), e.consume(v), e.exit("lineEnding"),
|
|
3404
|
+
function F(v) {
|
|
3405
|
+
return e.enter("lineEnding"), e.consume(v), e.exit("lineEnding"), R;
|
|
3406
3406
|
}
|
|
3407
|
-
function
|
|
3407
|
+
function R(v) {
|
|
3408
3408
|
return v === null || ee(v) ? H(v) : (e.enter("htmlFlowData"), T(v));
|
|
3409
3409
|
}
|
|
3410
|
-
function
|
|
3410
|
+
function Y(v) {
|
|
3411
3411
|
return v === 45 ? (e.consume(v), m) : T(v);
|
|
3412
3412
|
}
|
|
3413
3413
|
function Q(v) {
|
|
3414
|
-
return v === 47 ? (e.consume(v), l = "",
|
|
3414
|
+
return v === 47 ? (e.consume(v), l = "", ae) : T(v);
|
|
3415
3415
|
}
|
|
3416
|
-
function
|
|
3416
|
+
function ae(v) {
|
|
3417
3417
|
if (v === 62) {
|
|
3418
3418
|
const z = l.toLowerCase();
|
|
3419
3419
|
return Rl.includes(z) ? (e.consume(v), x) : T(v);
|
|
3420
3420
|
}
|
|
3421
|
-
return ft(v) && l.length < 8 ? (e.consume(v), l += String.fromCharCode(v),
|
|
3421
|
+
return ft(v) && l.length < 8 ? (e.consume(v), l += String.fromCharCode(v), ae) : T(v);
|
|
3422
3422
|
}
|
|
3423
|
-
function
|
|
3423
|
+
function re(v) {
|
|
3424
3424
|
return v === 93 ? (e.consume(v), m) : T(v);
|
|
3425
3425
|
}
|
|
3426
3426
|
function m(v) {
|
|
@@ -3461,7 +3461,7 @@ function lm(e, t, n) {
|
|
|
3461
3461
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(m), u;
|
|
3462
3462
|
}
|
|
3463
3463
|
function u(m) {
|
|
3464
|
-
return m === 33 ? (e.consume(m), s) : m === 47 ? (e.consume(m), S) : m === 63 ? (e.consume(m), D) : ft(m) ? (e.consume(m),
|
|
3464
|
+
return m === 33 ? (e.consume(m), s) : m === 47 ? (e.consume(m), S) : m === 63 ? (e.consume(m), D) : ft(m) ? (e.consume(m), L) : n(m);
|
|
3465
3465
|
}
|
|
3466
3466
|
function s(m) {
|
|
3467
3467
|
return m === 45 ? (e.consume(m), c) : m === 91 ? (e.consume(m), i = 0, h) : ft(m) ? (e.consume(m), C) : n(m);
|
|
@@ -3476,7 +3476,7 @@ function lm(e, t, n) {
|
|
|
3476
3476
|
return m === 45 ? (e.consume(m), f) : d(m);
|
|
3477
3477
|
}
|
|
3478
3478
|
function f(m) {
|
|
3479
|
-
return m === 62 ?
|
|
3479
|
+
return m === 62 ? Y(m) : m === 45 ? p(m) : d(m);
|
|
3480
3480
|
}
|
|
3481
3481
|
function h(m) {
|
|
3482
3482
|
const x = "CDATA[";
|
|
@@ -3489,16 +3489,16 @@ function lm(e, t, n) {
|
|
|
3489
3489
|
return m === 93 ? (e.consume(m), y) : g(m);
|
|
3490
3490
|
}
|
|
3491
3491
|
function y(m) {
|
|
3492
|
-
return m === 62 ?
|
|
3492
|
+
return m === 62 ? Y(m) : m === 93 ? (e.consume(m), y) : g(m);
|
|
3493
3493
|
}
|
|
3494
3494
|
function C(m) {
|
|
3495
|
-
return m === null || m === 62 ?
|
|
3495
|
+
return m === null || m === 62 ? Y(m) : ee(m) ? (l = C, Q(m)) : (e.consume(m), C);
|
|
3496
3496
|
}
|
|
3497
3497
|
function D(m) {
|
|
3498
3498
|
return m === null ? n(m) : m === 63 ? (e.consume(m), k) : ee(m) ? (l = D, Q(m)) : (e.consume(m), D);
|
|
3499
3499
|
}
|
|
3500
3500
|
function k(m) {
|
|
3501
|
-
return m === 62 ?
|
|
3501
|
+
return m === 62 ? Y(m) : D(m);
|
|
3502
3502
|
}
|
|
3503
3503
|
function S(m) {
|
|
3504
3504
|
return ft(m) ? (e.consume(m), w) : n(m);
|
|
@@ -3507,42 +3507,42 @@ function lm(e, t, n) {
|
|
|
3507
3507
|
return m === 45 || Je(m) ? (e.consume(m), w) : A(m);
|
|
3508
3508
|
}
|
|
3509
3509
|
function A(m) {
|
|
3510
|
-
return ee(m) ? (l = A, Q(m)) :
|
|
3510
|
+
return ee(m) ? (l = A, Q(m)) : fe(m) ? (e.consume(m), A) : Y(m);
|
|
3511
3511
|
}
|
|
3512
|
-
function
|
|
3513
|
-
return m === 45 || Je(m) ? (e.consume(m),
|
|
3512
|
+
function L(m) {
|
|
3513
|
+
return m === 45 || Je(m) ? (e.consume(m), L) : m === 47 || m === 62 || We(m) ? U(m) : n(m);
|
|
3514
3514
|
}
|
|
3515
3515
|
function U(m) {
|
|
3516
|
-
return m === 47 ? (e.consume(m),
|
|
3516
|
+
return m === 47 ? (e.consume(m), Y) : m === 58 || m === 95 || ft(m) ? (e.consume(m), P) : ee(m) ? (l = U, Q(m)) : fe(m) ? (e.consume(m), U) : Y(m);
|
|
3517
3517
|
}
|
|
3518
3518
|
function P(m) {
|
|
3519
3519
|
return m === 45 || m === 46 || m === 58 || m === 95 || Je(m) ? (e.consume(m), P) : N(m);
|
|
3520
3520
|
}
|
|
3521
3521
|
function N(m) {
|
|
3522
|
-
return m === 61 ? (e.consume(m), T) : ee(m) ? (l = N, Q(m)) :
|
|
3522
|
+
return m === 61 ? (e.consume(m), T) : ee(m) ? (l = N, Q(m)) : fe(m) ? (e.consume(m), N) : U(m);
|
|
3523
3523
|
}
|
|
3524
3524
|
function T(m) {
|
|
3525
|
-
return m === null || m === 60 || m === 61 || m === 62 || m === 96 ? n(m) : m === 34 || m === 39 ? (e.consume(m), r = m, H) : ee(m) ? (l = T, Q(m)) :
|
|
3525
|
+
return m === null || m === 60 || m === 61 || m === 62 || m === 96 ? n(m) : m === 34 || m === 39 ? (e.consume(m), r = m, H) : ee(m) ? (l = T, Q(m)) : fe(m) ? (e.consume(m), T) : (e.consume(m), F);
|
|
3526
3526
|
}
|
|
3527
3527
|
function H(m) {
|
|
3528
|
-
return m === r ? (e.consume(m), r = void 0,
|
|
3528
|
+
return m === r ? (e.consume(m), r = void 0, R) : m === null ? n(m) : ee(m) ? (l = H, Q(m)) : (e.consume(m), H);
|
|
3529
3529
|
}
|
|
3530
|
-
function
|
|
3531
|
-
return m === null || m === 34 || m === 39 || m === 60 || m === 61 || m === 96 ? n(m) : m === 47 || m === 62 || We(m) ? U(m) : (e.consume(m),
|
|
3530
|
+
function F(m) {
|
|
3531
|
+
return m === null || m === 34 || m === 39 || m === 60 || m === 61 || m === 96 ? n(m) : m === 47 || m === 62 || We(m) ? U(m) : (e.consume(m), F);
|
|
3532
3532
|
}
|
|
3533
|
-
function
|
|
3533
|
+
function R(m) {
|
|
3534
3534
|
return m === 47 || m === 62 || We(m) ? U(m) : n(m);
|
|
3535
3535
|
}
|
|
3536
|
-
function
|
|
3536
|
+
function Y(m) {
|
|
3537
3537
|
return m === 62 ? (e.consume(m), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(m);
|
|
3538
3538
|
}
|
|
3539
3539
|
function Q(m) {
|
|
3540
|
-
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"),
|
|
3541
|
-
}
|
|
3542
|
-
function re(m) {
|
|
3543
|
-
return me(m) ? ye(e, ae, "linePrefix", a.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(m) : ae(m);
|
|
3540
|
+
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), ae;
|
|
3544
3541
|
}
|
|
3545
3542
|
function ae(m) {
|
|
3543
|
+
return fe(m) ? ye(e, re, "linePrefix", a.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(m) : re(m);
|
|
3544
|
+
}
|
|
3545
|
+
function re(m) {
|
|
3546
3546
|
return e.enter("htmlTextData"), l(m);
|
|
3547
3547
|
}
|
|
3548
3548
|
}
|
|
@@ -3747,7 +3747,7 @@ function wm(e, t, n) {
|
|
|
3747
3747
|
return s === r ? (e.enter("thematicBreakSequence"), u(s)) : a >= 3 && (s === null || ee(s)) ? (e.exit("thematicBreak"), t(s)) : n(s);
|
|
3748
3748
|
}
|
|
3749
3749
|
function u(s) {
|
|
3750
|
-
return s === r ? (e.consume(s), a++, u) : (e.exit("thematicBreakSequence"),
|
|
3750
|
+
return s === r ? (e.consume(s), a++, u) : (e.exit("thematicBreakSequence"), fe(s) ? ye(e, o, "whitespace")(s) : o(s));
|
|
3751
3751
|
}
|
|
3752
3752
|
}
|
|
3753
3753
|
const qe = {
|
|
@@ -3795,7 +3795,7 @@ function km(e, t, n) {
|
|
|
3795
3795
|
return a.containerState.initialBlankLine = !0, i++, p(f);
|
|
3796
3796
|
}
|
|
3797
3797
|
function d(f) {
|
|
3798
|
-
return
|
|
3798
|
+
return fe(f) ? (e.enter("listItemPrefixWhitespace"), e.consume(f), e.exit("listItemPrefixWhitespace"), p) : n(f);
|
|
3799
3799
|
}
|
|
3800
3800
|
function p(f) {
|
|
3801
3801
|
return a.containerState.size = i + a.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(f);
|
|
@@ -3808,7 +3808,7 @@ function Cm(e, t, n) {
|
|
|
3808
3808
|
return a.containerState.furtherBlankLines = a.containerState.furtherBlankLines || a.containerState.initialBlankLine, ye(e, t, "listItemIndent", a.containerState.size + 1)(o);
|
|
3809
3809
|
}
|
|
3810
3810
|
function i(o) {
|
|
3811
|
-
return a.containerState.furtherBlankLines || !
|
|
3811
|
+
return a.containerState.furtherBlankLines || !fe(o) ? (a.containerState.furtherBlankLines = void 0, a.containerState.initialBlankLine = void 0, l(o)) : (a.containerState.furtherBlankLines = void 0, a.containerState.initialBlankLine = void 0, e.attempt(xm, t, l)(o));
|
|
3812
3812
|
}
|
|
3813
3813
|
function l(o) {
|
|
3814
3814
|
return a.containerState._closeFlow = !0, a.interrupt = void 0, ye(e, e.attempt(qe, t, n), "linePrefix", a.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(o);
|
|
@@ -3830,7 +3830,7 @@ function Tm(e, t, n) {
|
|
|
3830
3830
|
return ye(e, r, "listItemPrefixWhitespace", a.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
|
|
3831
3831
|
function r(i) {
|
|
3832
3832
|
const l = a.events[a.events.length - 1];
|
|
3833
|
-
return !
|
|
3833
|
+
return !fe(i) && l && l[1].type === "listItemPrefixWhitespace" ? t(i) : n(i);
|
|
3834
3834
|
}
|
|
3835
3835
|
}
|
|
3836
3836
|
const Ol = {
|
|
@@ -3879,7 +3879,7 @@ function Im(e, t, n) {
|
|
|
3879
3879
|
return e.enter("setextHeadingLineSequence"), o(s);
|
|
3880
3880
|
}
|
|
3881
3881
|
function o(s) {
|
|
3882
|
-
return s === r ? (e.consume(s), o) : (e.exit("setextHeadingLineSequence"),
|
|
3882
|
+
return s === r ? (e.consume(s), o) : (e.exit("setextHeadingLineSequence"), fe(s) ? ye(e, u, "lineSuffix")(s) : u(s));
|
|
3883
3883
|
}
|
|
3884
3884
|
function u(s) {
|
|
3885
3885
|
return s === null || ee(s) ? (e.exit("setextHeadingLine"), t(s)) : n(s);
|
|
@@ -4100,7 +4100,7 @@ function Wm(e, t, n) {
|
|
|
4100
4100
|
let c = t.tokenize.call(s, u);
|
|
4101
4101
|
return t.resolveAll && i.push(t), s;
|
|
4102
4102
|
function d(N) {
|
|
4103
|
-
return l = tt(l, N), b(), l[l.length - 1] !== null ? [] : (
|
|
4103
|
+
return l = tt(l, N), b(), l[l.length - 1] !== null ? [] : (L(t, 0), s.events = fi(i, s.events, s), s.events);
|
|
4104
4104
|
}
|
|
4105
4105
|
function p(N, T) {
|
|
4106
4106
|
return Ym(f(N), T);
|
|
@@ -4113,15 +4113,15 @@ function Wm(e, t, n) {
|
|
|
4113
4113
|
_bufferIndex: N,
|
|
4114
4114
|
_index: T,
|
|
4115
4115
|
line: H,
|
|
4116
|
-
column:
|
|
4117
|
-
offset:
|
|
4116
|
+
column: F,
|
|
4117
|
+
offset: R
|
|
4118
4118
|
} = a;
|
|
4119
4119
|
return {
|
|
4120
4120
|
_bufferIndex: N,
|
|
4121
4121
|
_index: T,
|
|
4122
4122
|
line: H,
|
|
4123
|
-
column:
|
|
4124
|
-
offset:
|
|
4123
|
+
column: F,
|
|
4124
|
+
offset: R
|
|
4125
4125
|
};
|
|
4126
4126
|
}
|
|
4127
4127
|
function g(N) {
|
|
@@ -4156,73 +4156,73 @@ function Wm(e, t, n) {
|
|
|
4156
4156
|
return T.end = h(), s.events.push(["exit", T, s]), T;
|
|
4157
4157
|
}
|
|
4158
4158
|
function S(N, T) {
|
|
4159
|
-
|
|
4159
|
+
L(N, T.from);
|
|
4160
4160
|
}
|
|
4161
4161
|
function w(N, T) {
|
|
4162
4162
|
T.restore();
|
|
4163
4163
|
}
|
|
4164
4164
|
function A(N, T) {
|
|
4165
4165
|
return H;
|
|
4166
|
-
function H(
|
|
4167
|
-
let Q,
|
|
4168
|
-
return Array.isArray(
|
|
4166
|
+
function H(F, R, Y) {
|
|
4167
|
+
let Q, ae, re, m;
|
|
4168
|
+
return Array.isArray(F) ? (
|
|
4169
4169
|
/* c8 ignore next 1 */
|
|
4170
|
-
_(
|
|
4171
|
-
) : "tokenize" in
|
|
4170
|
+
_(F)
|
|
4171
|
+
) : "tokenize" in F ? (
|
|
4172
4172
|
// Looks like a construct.
|
|
4173
4173
|
_([
|
|
4174
4174
|
/** @type {Construct} */
|
|
4175
|
-
|
|
4175
|
+
F
|
|
4176
4176
|
])
|
|
4177
|
-
) : x(
|
|
4178
|
-
function x(
|
|
4179
|
-
return
|
|
4180
|
-
function
|
|
4181
|
-
const
|
|
4177
|
+
) : x(F);
|
|
4178
|
+
function x(q) {
|
|
4179
|
+
return W;
|
|
4180
|
+
function W(B) {
|
|
4181
|
+
const G = B !== null && q[B], J = B !== null && q.null, se = [
|
|
4182
4182
|
// To do: add more extension tests.
|
|
4183
4183
|
/* c8 ignore next 2 */
|
|
4184
|
-
...Array.isArray(
|
|
4184
|
+
...Array.isArray(G) ? G : G ? [G] : [],
|
|
4185
4185
|
...Array.isArray(J) ? J : J ? [J] : []
|
|
4186
4186
|
];
|
|
4187
|
-
return _(se)(
|
|
4187
|
+
return _(se)(B);
|
|
4188
4188
|
}
|
|
4189
4189
|
}
|
|
4190
|
-
function _(
|
|
4191
|
-
return Q =
|
|
4190
|
+
function _(q) {
|
|
4191
|
+
return Q = q, ae = 0, q.length === 0 ? Y : v(q[ae]);
|
|
4192
4192
|
}
|
|
4193
|
-
function v(
|
|
4194
|
-
return
|
|
4195
|
-
function
|
|
4196
|
-
return m = U(),
|
|
4193
|
+
function v(q) {
|
|
4194
|
+
return W;
|
|
4195
|
+
function W(B) {
|
|
4196
|
+
return m = U(), re = q, q.partial || (s.currentConstruct = q), q.name && s.parser.constructs.disable.null.includes(q.name) ? K() : q.tokenize.call(
|
|
4197
4197
|
// If we do have fields, create an object w/ `context` as its
|
|
4198
4198
|
// prototype.
|
|
4199
4199
|
// This allows a “live binding”, which is needed for `interrupt`.
|
|
4200
4200
|
T ? Object.assign(Object.create(s), T) : s,
|
|
4201
4201
|
u,
|
|
4202
4202
|
z,
|
|
4203
|
-
|
|
4204
|
-
)(
|
|
4203
|
+
K
|
|
4204
|
+
)(B);
|
|
4205
4205
|
}
|
|
4206
4206
|
}
|
|
4207
|
-
function z(
|
|
4208
|
-
return N(
|
|
4207
|
+
function z(q) {
|
|
4208
|
+
return N(re, m), R;
|
|
4209
4209
|
}
|
|
4210
|
-
function
|
|
4211
|
-
return m.restore(), ++
|
|
4210
|
+
function K(q) {
|
|
4211
|
+
return m.restore(), ++ae < Q.length ? v(Q[ae]) : Y;
|
|
4212
4212
|
}
|
|
4213
4213
|
}
|
|
4214
4214
|
}
|
|
4215
|
-
function
|
|
4215
|
+
function L(N, T) {
|
|
4216
4216
|
N.resolveAll && !i.includes(N) && i.push(N), N.resolve && mt(s.events, T, s.events.length - T, N.resolve(s.events.slice(T), s)), N.resolveTo && (s.events = N.resolveTo(s.events, s));
|
|
4217
4217
|
}
|
|
4218
4218
|
function U() {
|
|
4219
|
-
const N = h(), T = s.previous, H = s.currentConstruct,
|
|
4219
|
+
const N = h(), T = s.previous, H = s.currentConstruct, F = s.events.length, R = Array.from(o);
|
|
4220
4220
|
return {
|
|
4221
|
-
from:
|
|
4222
|
-
restore:
|
|
4221
|
+
from: F,
|
|
4222
|
+
restore: Y
|
|
4223
4223
|
};
|
|
4224
|
-
function
|
|
4225
|
-
a = N, s.previous = T, s.currentConstruct = H, s.events.length =
|
|
4224
|
+
function Y() {
|
|
4225
|
+
a = N, s.previous = T, s.currentConstruct = H, s.events.length = F, o = R, P();
|
|
4226
4226
|
}
|
|
4227
4227
|
}
|
|
4228
4228
|
function P() {
|
|
@@ -4379,7 +4379,7 @@ function ah(e) {
|
|
|
4379
4379
|
codeFencedFenceInfo: l,
|
|
4380
4380
|
codeFencedFenceMeta: l,
|
|
4381
4381
|
codeIndented: i(se, l),
|
|
4382
|
-
codeText: i(
|
|
4382
|
+
codeText: i(M, l),
|
|
4383
4383
|
codeTextData: U,
|
|
4384
4384
|
data: U,
|
|
4385
4385
|
codeFlowValue: U,
|
|
@@ -4414,21 +4414,21 @@ function ah(e) {
|
|
|
4414
4414
|
atxHeading: u(),
|
|
4415
4415
|
atxHeadingSequence: S,
|
|
4416
4416
|
autolink: u(),
|
|
4417
|
-
autolinkEmail:
|
|
4418
|
-
autolinkProtocol:
|
|
4417
|
+
autolinkEmail: G,
|
|
4418
|
+
autolinkProtocol: B,
|
|
4419
4419
|
blockQuote: u(),
|
|
4420
4420
|
characterEscapeValue: P,
|
|
4421
|
-
characterReferenceMarkerHexadecimal:
|
|
4422
|
-
characterReferenceMarkerNumeric:
|
|
4423
|
-
characterReferenceValue:
|
|
4424
|
-
characterReference:
|
|
4421
|
+
characterReferenceMarkerHexadecimal: K,
|
|
4422
|
+
characterReferenceMarkerNumeric: K,
|
|
4423
|
+
characterReferenceValue: q,
|
|
4424
|
+
characterReference: W,
|
|
4425
4425
|
codeFenced: u(b),
|
|
4426
4426
|
codeFencedFence: g,
|
|
4427
4427
|
codeFencedFenceInfo: f,
|
|
4428
4428
|
codeFencedFenceMeta: h,
|
|
4429
4429
|
codeFlowValue: P,
|
|
4430
4430
|
codeIndented: u(y),
|
|
4431
|
-
codeText: u(
|
|
4431
|
+
codeText: u(R),
|
|
4432
4432
|
codeTextData: P,
|
|
4433
4433
|
data: P,
|
|
4434
4434
|
definition: u(),
|
|
@@ -4440,13 +4440,13 @@ function ah(e) {
|
|
|
4440
4440
|
hardBreakTrailing: u(T),
|
|
4441
4441
|
htmlFlow: u(H),
|
|
4442
4442
|
htmlFlowData: P,
|
|
4443
|
-
htmlText: u(
|
|
4443
|
+
htmlText: u(F),
|
|
4444
4444
|
htmlTextData: P,
|
|
4445
4445
|
image: u(Q),
|
|
4446
|
-
label:
|
|
4447
|
-
labelText:
|
|
4446
|
+
label: re,
|
|
4447
|
+
labelText: ae,
|
|
4448
4448
|
lineEnding: N,
|
|
4449
|
-
link: u(
|
|
4449
|
+
link: u(Y),
|
|
4450
4450
|
listItem: u(),
|
|
4451
4451
|
listOrdered: u(),
|
|
4452
4452
|
listUnordered: u(),
|
|
@@ -4455,7 +4455,7 @@ function ah(e) {
|
|
|
4455
4455
|
resourceDestinationString: m,
|
|
4456
4456
|
resourceTitleString: x,
|
|
4457
4457
|
resource: _,
|
|
4458
|
-
setextHeading: u(
|
|
4458
|
+
setextHeading: u(L),
|
|
4459
4459
|
setextHeadingLineSequence: A,
|
|
4460
4460
|
setextHeadingText: w,
|
|
4461
4461
|
strong: u(),
|
|
@@ -4656,7 +4656,7 @@ function ah(e) {
|
|
|
4656
4656
|
const $ = this.stack[this.stack.length - 1];
|
|
4657
4657
|
$.depth = this.sliceSerialize(O).codePointAt(0) === 61 ? 1 : 2;
|
|
4658
4658
|
}
|
|
4659
|
-
function
|
|
4659
|
+
function L() {
|
|
4660
4660
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
4661
4661
|
}
|
|
4662
4662
|
function U(O) {
|
|
@@ -4688,15 +4688,15 @@ function ah(e) {
|
|
|
4688
4688
|
const O = this.resume(), $ = this.stack[this.stack.length - 1];
|
|
4689
4689
|
$.value = O;
|
|
4690
4690
|
}
|
|
4691
|
-
function
|
|
4691
|
+
function F() {
|
|
4692
4692
|
const O = this.resume(), $ = this.stack[this.stack.length - 1];
|
|
4693
4693
|
$.value = O;
|
|
4694
4694
|
}
|
|
4695
|
-
function
|
|
4695
|
+
function R() {
|
|
4696
4696
|
const O = this.resume(), $ = this.stack[this.stack.length - 1];
|
|
4697
4697
|
$.value = O;
|
|
4698
4698
|
}
|
|
4699
|
-
function
|
|
4699
|
+
function Y() {
|
|
4700
4700
|
const O = this.stack[this.stack.length - 1];
|
|
4701
4701
|
if (this.data.inReference) {
|
|
4702
4702
|
const $ = this.data.referenceType || "shortcut";
|
|
@@ -4714,11 +4714,11 @@ function ah(e) {
|
|
|
4714
4714
|
delete O.identifier, delete O.label;
|
|
4715
4715
|
this.data.referenceType = void 0;
|
|
4716
4716
|
}
|
|
4717
|
-
function
|
|
4717
|
+
function ae(O) {
|
|
4718
4718
|
const $ = this.sliceSerialize(O), X = this.stack[this.stack.length - 2];
|
|
4719
4719
|
X.label = eh($), X.identifier = zt($).toLowerCase();
|
|
4720
4720
|
}
|
|
4721
|
-
function
|
|
4721
|
+
function re() {
|
|
4722
4722
|
const O = this.stack[this.stack.length - 1], $ = this.resume(), X = this.stack[this.stack.length - 1];
|
|
4723
4723
|
if (this.data.inReference = !0, X.type === "link") {
|
|
4724
4724
|
const ne = O.children;
|
|
@@ -4744,26 +4744,26 @@ function ah(e) {
|
|
|
4744
4744
|
const $ = this.resume(), X = this.stack[this.stack.length - 1];
|
|
4745
4745
|
X.label = $, X.identifier = zt(this.sliceSerialize(O)).toLowerCase(), this.data.referenceType = "full";
|
|
4746
4746
|
}
|
|
4747
|
-
function
|
|
4747
|
+
function K(O) {
|
|
4748
4748
|
this.data.characterReferenceType = O.type;
|
|
4749
4749
|
}
|
|
4750
|
-
function
|
|
4750
|
+
function q(O) {
|
|
4751
4751
|
const $ = this.sliceSerialize(O), X = this.data.characterReferenceType;
|
|
4752
4752
|
let ne;
|
|
4753
4753
|
X ? (ne = Ys($, X === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : ne = pi($);
|
|
4754
4754
|
const ie = this.stack[this.stack.length - 1];
|
|
4755
4755
|
ie.value += ne;
|
|
4756
4756
|
}
|
|
4757
|
-
function
|
|
4757
|
+
function W(O) {
|
|
4758
4758
|
const $ = this.stack.pop();
|
|
4759
4759
|
$.position.end = bt(O.end);
|
|
4760
4760
|
}
|
|
4761
|
-
function
|
|
4761
|
+
function B(O) {
|
|
4762
4762
|
P.call(this, O);
|
|
4763
4763
|
const $ = this.stack[this.stack.length - 1];
|
|
4764
4764
|
$.url = this.sliceSerialize(O);
|
|
4765
4765
|
}
|
|
4766
|
-
function
|
|
4766
|
+
function G(O) {
|
|
4767
4767
|
P.call(this, O);
|
|
4768
4768
|
const $ = this.stack[this.stack.length - 1];
|
|
4769
4769
|
$.url = "mailto:" + this.sliceSerialize(O);
|
|
@@ -4782,7 +4782,7 @@ function ah(e) {
|
|
|
4782
4782
|
value: ""
|
|
4783
4783
|
};
|
|
4784
4784
|
}
|
|
4785
|
-
function
|
|
4785
|
+
function M() {
|
|
4786
4786
|
return {
|
|
4787
4787
|
type: "inlineCode",
|
|
4788
4788
|
value: ""
|
|
@@ -7061,11 +7061,11 @@ function Ng(e, t) {
|
|
|
7061
7061
|
for (const c of kg)
|
|
7062
7062
|
Object.hasOwn(t, c.from) && ("" + c.from + (c.to ? "use `" + c.to + "` instead" : "remove it") + Eg + c.id, void 0);
|
|
7063
7063
|
return hu(e, s), Fp(e, {
|
|
7064
|
-
Fragment:
|
|
7064
|
+
Fragment: I.Fragment,
|
|
7065
7065
|
components: r,
|
|
7066
7066
|
ignoreInvalidStyle: !0,
|
|
7067
|
-
jsx:
|
|
7068
|
-
jsxs:
|
|
7067
|
+
jsx: I.jsx,
|
|
7068
|
+
jsxs: I.jsxs,
|
|
7069
7069
|
passKeys: !0,
|
|
7070
7070
|
passNode: !0
|
|
7071
7071
|
});
|
|
@@ -7104,7 +7104,7 @@ async function bu(e, t = !1) {
|
|
|
7104
7104
|
url: e,
|
|
7105
7105
|
ok: !1,
|
|
7106
7106
|
status: n.status,
|
|
7107
|
-
error: await n.text()
|
|
7107
|
+
error: JSON.parse(await n.text())
|
|
7108
7108
|
};
|
|
7109
7109
|
return t && console.log("getJson", r), r;
|
|
7110
7110
|
}
|
|
@@ -7133,7 +7133,7 @@ async function Ea(e, t = !1) {
|
|
|
7133
7133
|
url: e,
|
|
7134
7134
|
ok: !1,
|
|
7135
7135
|
status: n.status,
|
|
7136
|
-
error: await n.text()
|
|
7136
|
+
error: JSON.parse(await n.text())
|
|
7137
7137
|
};
|
|
7138
7138
|
return t && console.log("getText", r), r;
|
|
7139
7139
|
}
|
|
@@ -7162,9 +7162,9 @@ async function ia(e, t = !1) {
|
|
|
7162
7162
|
url: e,
|
|
7163
7163
|
ok: !1,
|
|
7164
7164
|
status: n.status,
|
|
7165
|
-
error: await n.text()
|
|
7165
|
+
error: JSON.parse(await n.text())
|
|
7166
7166
|
};
|
|
7167
|
-
return t && console.log("
|
|
7167
|
+
return t && console.log("postEmpty", r), r;
|
|
7168
7168
|
}
|
|
7169
7169
|
const a = {
|
|
7170
7170
|
url: e,
|
|
@@ -7172,7 +7172,7 @@ async function ia(e, t = !1) {
|
|
|
7172
7172
|
status: n.status,
|
|
7173
7173
|
json: await n.json()
|
|
7174
7174
|
};
|
|
7175
|
-
return t && console.log("
|
|
7175
|
+
return t && console.log("postEmpty", a), a;
|
|
7176
7176
|
} catch (n) {
|
|
7177
7177
|
const a = {
|
|
7178
7178
|
url: e,
|
|
@@ -7180,25 +7180,22 @@ async function ia(e, t = !1) {
|
|
|
7180
7180
|
status: 0,
|
|
7181
7181
|
error: n.message
|
|
7182
7182
|
};
|
|
7183
|
-
return t && console.log("
|
|
7183
|
+
return t && console.log("postEmpty", a), a;
|
|
7184
7184
|
}
|
|
7185
7185
|
}
|
|
7186
7186
|
async function Ag(e, t, n = !1, a = "application/json") {
|
|
7187
7187
|
try {
|
|
7188
|
-
const r = await fetch(
|
|
7189
|
-
|
|
7190
|
-
{
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
body: t
|
|
7194
|
-
}
|
|
7195
|
-
);
|
|
7188
|
+
const r = await fetch(e, {
|
|
7189
|
+
method: "POST",
|
|
7190
|
+
headers: { "Content-Type": a },
|
|
7191
|
+
body: t
|
|
7192
|
+
});
|
|
7196
7193
|
if (!r.ok) {
|
|
7197
7194
|
const l = {
|
|
7198
7195
|
url: e,
|
|
7199
7196
|
ok: !1,
|
|
7200
7197
|
status: r.status,
|
|
7201
|
-
error: await r.text()
|
|
7198
|
+
error: JSON.parse(await r.text())
|
|
7202
7199
|
};
|
|
7203
7200
|
return n && console.log("postJson", l), l;
|
|
7204
7201
|
}
|
|
@@ -7299,7 +7296,7 @@ const Lg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7299
7296
|
useDeepCompareLayoutEffect: Pg,
|
|
7300
7297
|
useDeepCompareMemo: _g
|
|
7301
7298
|
}, Symbol.toStringTag, { value: "Module" })), vu = /* @__PURE__ */ ip(Lg);
|
|
7302
|
-
var Gn = { exports: {} }, qn = { exports: {} },
|
|
7299
|
+
var Gn = { exports: {} }, qn = { exports: {} }, me = {};
|
|
7303
7300
|
/** @license React v16.13.1
|
|
7304
7301
|
* react-is.production.min.js
|
|
7305
7302
|
*
|
|
@@ -7310,7 +7307,7 @@ var Gn = { exports: {} }, qn = { exports: {} }, he = {};
|
|
|
7310
7307
|
*/
|
|
7311
7308
|
var Ql;
|
|
7312
7309
|
function Mg() {
|
|
7313
|
-
if (Ql) return
|
|
7310
|
+
if (Ql) return me;
|
|
7314
7311
|
Ql = 1;
|
|
7315
7312
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
|
|
7316
7313
|
function D(S) {
|
|
@@ -7346,35 +7343,35 @@ function Mg() {
|
|
|
7346
7343
|
function k(S) {
|
|
7347
7344
|
return D(S) === s;
|
|
7348
7345
|
}
|
|
7349
|
-
return
|
|
7346
|
+
return me.AsyncMode = u, me.ConcurrentMode = s, me.ContextConsumer = o, me.ContextProvider = l, me.Element = t, me.ForwardRef = c, me.Fragment = a, me.Lazy = h, me.Memo = f, me.Portal = n, me.Profiler = i, me.StrictMode = r, me.Suspense = d, me.isAsyncMode = function(S) {
|
|
7350
7347
|
return k(S) || D(S) === u;
|
|
7351
|
-
},
|
|
7348
|
+
}, me.isConcurrentMode = k, me.isContextConsumer = function(S) {
|
|
7352
7349
|
return D(S) === o;
|
|
7353
|
-
},
|
|
7350
|
+
}, me.isContextProvider = function(S) {
|
|
7354
7351
|
return D(S) === l;
|
|
7355
|
-
},
|
|
7352
|
+
}, me.isElement = function(S) {
|
|
7356
7353
|
return typeof S == "object" && S !== null && S.$$typeof === t;
|
|
7357
|
-
},
|
|
7354
|
+
}, me.isForwardRef = function(S) {
|
|
7358
7355
|
return D(S) === c;
|
|
7359
|
-
},
|
|
7356
|
+
}, me.isFragment = function(S) {
|
|
7360
7357
|
return D(S) === a;
|
|
7361
|
-
},
|
|
7358
|
+
}, me.isLazy = function(S) {
|
|
7362
7359
|
return D(S) === h;
|
|
7363
|
-
},
|
|
7360
|
+
}, me.isMemo = function(S) {
|
|
7364
7361
|
return D(S) === f;
|
|
7365
|
-
},
|
|
7362
|
+
}, me.isPortal = function(S) {
|
|
7366
7363
|
return D(S) === n;
|
|
7367
|
-
},
|
|
7364
|
+
}, me.isProfiler = function(S) {
|
|
7368
7365
|
return D(S) === i;
|
|
7369
|
-
},
|
|
7366
|
+
}, me.isStrictMode = function(S) {
|
|
7370
7367
|
return D(S) === r;
|
|
7371
|
-
},
|
|
7368
|
+
}, me.isSuspense = function(S) {
|
|
7372
7369
|
return D(S) === d;
|
|
7373
|
-
},
|
|
7370
|
+
}, me.isValidElementType = function(S) {
|
|
7374
7371
|
return typeof S == "string" || typeof S == "function" || S === a || S === s || S === i || S === r || S === d || S === p || typeof S == "object" && S !== null && (S.$$typeof === h || S.$$typeof === f || S.$$typeof === l || S.$$typeof === o || S.$$typeof === c || S.$$typeof === b || S.$$typeof === y || S.$$typeof === C || S.$$typeof === g);
|
|
7375
|
-
},
|
|
7372
|
+
}, me.typeOf = D, me;
|
|
7376
7373
|
}
|
|
7377
|
-
var
|
|
7374
|
+
var he = {};
|
|
7378
7375
|
/** @license React v16.13.1
|
|
7379
7376
|
* react-is.development.js
|
|
7380
7377
|
*
|
|
@@ -7387,16 +7384,16 @@ var eo;
|
|
|
7387
7384
|
function Fg() {
|
|
7388
7385
|
return eo || (eo = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
7389
7386
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
|
|
7390
|
-
function D(
|
|
7391
|
-
return typeof
|
|
7392
|
-
|
|
7387
|
+
function D(M) {
|
|
7388
|
+
return typeof M == "string" || typeof M == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
7389
|
+
M === a || M === s || M === i || M === r || M === d || M === p || typeof M == "object" && M !== null && (M.$$typeof === h || M.$$typeof === f || M.$$typeof === l || M.$$typeof === o || M.$$typeof === c || M.$$typeof === b || M.$$typeof === y || M.$$typeof === C || M.$$typeof === g);
|
|
7393
7390
|
}
|
|
7394
|
-
function k(
|
|
7395
|
-
if (typeof
|
|
7396
|
-
var ue =
|
|
7391
|
+
function k(M) {
|
|
7392
|
+
if (typeof M == "object" && M !== null) {
|
|
7393
|
+
var ue = M.$$typeof;
|
|
7397
7394
|
switch (ue) {
|
|
7398
7395
|
case t:
|
|
7399
|
-
var xe =
|
|
7396
|
+
var xe = M.type;
|
|
7400
7397
|
switch (xe) {
|
|
7401
7398
|
case u:
|
|
7402
7399
|
case s:
|
|
@@ -7423,48 +7420,48 @@ function Fg() {
|
|
|
7423
7420
|
}
|
|
7424
7421
|
}
|
|
7425
7422
|
}
|
|
7426
|
-
var S = u, w = s, A = o,
|
|
7427
|
-
function
|
|
7428
|
-
return
|
|
7423
|
+
var S = u, w = s, A = o, L = l, U = t, P = c, N = a, T = h, H = f, F = n, R = i, Y = r, Q = d, ae = !1;
|
|
7424
|
+
function re(M) {
|
|
7425
|
+
return ae || (ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), m(M) || k(M) === u;
|
|
7429
7426
|
}
|
|
7430
|
-
function m(
|
|
7431
|
-
return k(
|
|
7427
|
+
function m(M) {
|
|
7428
|
+
return k(M) === s;
|
|
7432
7429
|
}
|
|
7433
|
-
function x(
|
|
7434
|
-
return k(
|
|
7430
|
+
function x(M) {
|
|
7431
|
+
return k(M) === o;
|
|
7435
7432
|
}
|
|
7436
|
-
function _(
|
|
7437
|
-
return k(
|
|
7433
|
+
function _(M) {
|
|
7434
|
+
return k(M) === l;
|
|
7438
7435
|
}
|
|
7439
|
-
function v(
|
|
7440
|
-
return typeof
|
|
7436
|
+
function v(M) {
|
|
7437
|
+
return typeof M == "object" && M !== null && M.$$typeof === t;
|
|
7441
7438
|
}
|
|
7442
|
-
function z(
|
|
7443
|
-
return k(
|
|
7439
|
+
function z(M) {
|
|
7440
|
+
return k(M) === c;
|
|
7444
7441
|
}
|
|
7445
|
-
function
|
|
7446
|
-
return k(
|
|
7442
|
+
function K(M) {
|
|
7443
|
+
return k(M) === a;
|
|
7447
7444
|
}
|
|
7448
|
-
function
|
|
7449
|
-
return k(
|
|
7445
|
+
function q(M) {
|
|
7446
|
+
return k(M) === h;
|
|
7450
7447
|
}
|
|
7451
|
-
function
|
|
7452
|
-
return k(
|
|
7448
|
+
function W(M) {
|
|
7449
|
+
return k(M) === f;
|
|
7453
7450
|
}
|
|
7454
|
-
function
|
|
7455
|
-
return k(
|
|
7451
|
+
function B(M) {
|
|
7452
|
+
return k(M) === n;
|
|
7456
7453
|
}
|
|
7457
|
-
function
|
|
7458
|
-
return k(
|
|
7454
|
+
function G(M) {
|
|
7455
|
+
return k(M) === i;
|
|
7459
7456
|
}
|
|
7460
|
-
function J(
|
|
7461
|
-
return k(
|
|
7457
|
+
function J(M) {
|
|
7458
|
+
return k(M) === r;
|
|
7462
7459
|
}
|
|
7463
|
-
function se(
|
|
7464
|
-
return k(
|
|
7460
|
+
function se(M) {
|
|
7461
|
+
return k(M) === d;
|
|
7465
7462
|
}
|
|
7466
|
-
|
|
7467
|
-
})()),
|
|
7463
|
+
he.AsyncMode = S, he.ConcurrentMode = w, he.ContextConsumer = A, he.ContextProvider = L, he.Element = U, he.ForwardRef = P, he.Fragment = N, he.Lazy = T, he.Memo = H, he.Portal = F, he.Profiler = R, he.StrictMode = Y, he.Suspense = Q, he.isAsyncMode = re, he.isConcurrentMode = m, he.isContextConsumer = x, he.isContextProvider = _, he.isElement = v, he.isForwardRef = z, he.isFragment = K, he.isLazy = q, he.isMemo = W, he.isPortal = B, he.isProfiler = G, he.isStrictMode = J, he.isSuspense = se, he.isValidElementType = D, he.typeOf = k;
|
|
7464
|
+
})()), he;
|
|
7468
7465
|
}
|
|
7469
7466
|
var to;
|
|
7470
7467
|
function yu() {
|
|
@@ -7620,7 +7617,7 @@ function Vg() {
|
|
|
7620
7617
|
elementType: S(),
|
|
7621
7618
|
instanceOf: w,
|
|
7622
7619
|
node: P(),
|
|
7623
|
-
objectOf:
|
|
7620
|
+
objectOf: L,
|
|
7624
7621
|
oneOf: A,
|
|
7625
7622
|
oneOfType: U,
|
|
7626
7623
|
shape: T,
|
|
@@ -7636,33 +7633,33 @@ function Vg() {
|
|
|
7636
7633
|
function b(m) {
|
|
7637
7634
|
if (process.env.NODE_ENV !== "production")
|
|
7638
7635
|
var x = {}, _ = 0;
|
|
7639
|
-
function v(
|
|
7640
|
-
if (
|
|
7636
|
+
function v(K, q, W, B, G, J, se) {
|
|
7637
|
+
if (B = B || p, J = J || W, se !== n) {
|
|
7641
7638
|
if (u) {
|
|
7642
|
-
var
|
|
7639
|
+
var M = new Error(
|
|
7643
7640
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
7644
7641
|
);
|
|
7645
|
-
throw
|
|
7642
|
+
throw M.name = "Invariant Violation", M;
|
|
7646
7643
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
7647
|
-
var ue =
|
|
7644
|
+
var ue = B + ":" + W;
|
|
7648
7645
|
!x[ue] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
7649
7646
|
_ < 3 && (i(
|
|
7650
|
-
"You are manually calling a React.PropTypes validation function for the `" + J + "` prop on `" +
|
|
7647
|
+
"You are manually calling a React.PropTypes validation function for the `" + J + "` prop on `" + B + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
7651
7648
|
), x[ue] = !0, _++);
|
|
7652
7649
|
}
|
|
7653
7650
|
}
|
|
7654
|
-
return W
|
|
7651
|
+
return q[W] == null ? K ? q[W] === null ? new g("The " + G + " `" + J + "` is marked as required " + ("in `" + B + "`, but its value is `null`.")) : new g("The " + G + " `" + J + "` is marked as required in " + ("`" + B + "`, but its value is `undefined`.")) : null : m(q, W, B, G, J);
|
|
7655
7652
|
}
|
|
7656
7653
|
var z = v.bind(null, !1);
|
|
7657
7654
|
return z.isRequired = v.bind(null, !0), z;
|
|
7658
7655
|
}
|
|
7659
7656
|
function y(m) {
|
|
7660
|
-
function x(_, v, z,
|
|
7661
|
-
var
|
|
7662
|
-
if (
|
|
7663
|
-
var J = Q(
|
|
7657
|
+
function x(_, v, z, K, q, W) {
|
|
7658
|
+
var B = _[v], G = Y(B);
|
|
7659
|
+
if (G !== m) {
|
|
7660
|
+
var J = Q(B);
|
|
7664
7661
|
return new g(
|
|
7665
|
-
"Invalid " +
|
|
7662
|
+
"Invalid " + K + " `" + q + "` of type " + ("`" + J + "` supplied to `" + z + "`, expected ") + ("`" + m + "`."),
|
|
7666
7663
|
{ expectedType: m }
|
|
7667
7664
|
);
|
|
7668
7665
|
}
|
|
@@ -7674,16 +7671,16 @@ function Vg() {
|
|
|
7674
7671
|
return b(l);
|
|
7675
7672
|
}
|
|
7676
7673
|
function D(m) {
|
|
7677
|
-
function x(_, v, z,
|
|
7674
|
+
function x(_, v, z, K, q) {
|
|
7678
7675
|
if (typeof m != "function")
|
|
7679
|
-
return new g("Property `" +
|
|
7680
|
-
var
|
|
7681
|
-
if (!Array.isArray(
|
|
7682
|
-
var
|
|
7683
|
-
return new g("Invalid " +
|
|
7676
|
+
return new g("Property `" + q + "` of component `" + z + "` has invalid PropType notation inside arrayOf.");
|
|
7677
|
+
var W = _[v];
|
|
7678
|
+
if (!Array.isArray(W)) {
|
|
7679
|
+
var B = Y(W);
|
|
7680
|
+
return new g("Invalid " + K + " `" + q + "` of type " + ("`" + B + "` supplied to `" + z + "`, expected an array."));
|
|
7684
7681
|
}
|
|
7685
|
-
for (var
|
|
7686
|
-
var J = m(
|
|
7682
|
+
for (var G = 0; G < W.length; G++) {
|
|
7683
|
+
var J = m(W, G, z, K, q + "[" + G + "]", n);
|
|
7687
7684
|
if (J instanceof Error)
|
|
7688
7685
|
return J;
|
|
7689
7686
|
}
|
|
@@ -7692,32 +7689,32 @@ function Vg() {
|
|
|
7692
7689
|
return b(x);
|
|
7693
7690
|
}
|
|
7694
7691
|
function k() {
|
|
7695
|
-
function m(x, _, v, z,
|
|
7696
|
-
var
|
|
7697
|
-
if (!o(
|
|
7698
|
-
var
|
|
7699
|
-
return new g("Invalid " + z + " `" +
|
|
7692
|
+
function m(x, _, v, z, K) {
|
|
7693
|
+
var q = x[_];
|
|
7694
|
+
if (!o(q)) {
|
|
7695
|
+
var W = Y(q);
|
|
7696
|
+
return new g("Invalid " + z + " `" + K + "` of type " + ("`" + W + "` supplied to `" + v + "`, expected a single ReactElement."));
|
|
7700
7697
|
}
|
|
7701
7698
|
return null;
|
|
7702
7699
|
}
|
|
7703
7700
|
return b(m);
|
|
7704
7701
|
}
|
|
7705
7702
|
function S() {
|
|
7706
|
-
function m(x, _, v, z,
|
|
7707
|
-
var
|
|
7708
|
-
if (!e.isValidElementType(
|
|
7709
|
-
var
|
|
7710
|
-
return new g("Invalid " + z + " `" +
|
|
7703
|
+
function m(x, _, v, z, K) {
|
|
7704
|
+
var q = x[_];
|
|
7705
|
+
if (!e.isValidElementType(q)) {
|
|
7706
|
+
var W = Y(q);
|
|
7707
|
+
return new g("Invalid " + z + " `" + K + "` of type " + ("`" + W + "` supplied to `" + v + "`, expected a single ReactElement type."));
|
|
7711
7708
|
}
|
|
7712
7709
|
return null;
|
|
7713
7710
|
}
|
|
7714
7711
|
return b(m);
|
|
7715
7712
|
}
|
|
7716
7713
|
function w(m) {
|
|
7717
|
-
function x(_, v, z,
|
|
7714
|
+
function x(_, v, z, K, q) {
|
|
7718
7715
|
if (!(_[v] instanceof m)) {
|
|
7719
|
-
var
|
|
7720
|
-
return new g("Invalid " +
|
|
7716
|
+
var W = m.name || p, B = re(_[v]);
|
|
7717
|
+
return new g("Invalid " + K + " `" + q + "` of type " + ("`" + B + "` supplied to `" + z + "`, expected ") + ("instance of `" + W + "`."));
|
|
7721
7718
|
}
|
|
7722
7719
|
return null;
|
|
7723
7720
|
}
|
|
@@ -7728,28 +7725,28 @@ function Vg() {
|
|
|
7728
7725
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
7729
7726
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
7730
7727
|
) : i("Invalid argument supplied to oneOf, expected an array.")), l;
|
|
7731
|
-
function x(_, v, z,
|
|
7732
|
-
for (var
|
|
7733
|
-
if (h(
|
|
7728
|
+
function x(_, v, z, K, q) {
|
|
7729
|
+
for (var W = _[v], B = 0; B < m.length; B++)
|
|
7730
|
+
if (h(W, m[B]))
|
|
7734
7731
|
return null;
|
|
7735
|
-
var
|
|
7736
|
-
var ue = Q(
|
|
7737
|
-
return ue === "symbol" ? String(
|
|
7732
|
+
var G = JSON.stringify(m, function(se, M) {
|
|
7733
|
+
var ue = Q(M);
|
|
7734
|
+
return ue === "symbol" ? String(M) : M;
|
|
7738
7735
|
});
|
|
7739
|
-
return new g("Invalid " +
|
|
7736
|
+
return new g("Invalid " + K + " `" + q + "` of value `" + String(W) + "` " + ("supplied to `" + z + "`, expected one of " + G + "."));
|
|
7740
7737
|
}
|
|
7741
7738
|
return b(x);
|
|
7742
7739
|
}
|
|
7743
|
-
function
|
|
7744
|
-
function x(_, v, z,
|
|
7740
|
+
function L(m) {
|
|
7741
|
+
function x(_, v, z, K, q) {
|
|
7745
7742
|
if (typeof m != "function")
|
|
7746
|
-
return new g("Property `" +
|
|
7747
|
-
var
|
|
7748
|
-
if (
|
|
7749
|
-
return new g("Invalid " +
|
|
7750
|
-
for (var
|
|
7751
|
-
if (a(
|
|
7752
|
-
var J = m(
|
|
7743
|
+
return new g("Property `" + q + "` of component `" + z + "` has invalid PropType notation inside objectOf.");
|
|
7744
|
+
var W = _[v], B = Y(W);
|
|
7745
|
+
if (B !== "object")
|
|
7746
|
+
return new g("Invalid " + K + " `" + q + "` of type " + ("`" + B + "` supplied to `" + z + "`, expected an object."));
|
|
7747
|
+
for (var G in W)
|
|
7748
|
+
if (a(W, G)) {
|
|
7749
|
+
var J = m(W, G, z, K, q + "." + G, n);
|
|
7753
7750
|
if (J instanceof Error)
|
|
7754
7751
|
return J;
|
|
7755
7752
|
}
|
|
@@ -7764,24 +7761,24 @@ function Vg() {
|
|
|
7764
7761
|
var _ = m[x];
|
|
7765
7762
|
if (typeof _ != "function")
|
|
7766
7763
|
return i(
|
|
7767
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
7764
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ae(_) + " at index " + x + "."
|
|
7768
7765
|
), l;
|
|
7769
7766
|
}
|
|
7770
|
-
function v(z,
|
|
7771
|
-
for (var
|
|
7772
|
-
var se = m[J],
|
|
7773
|
-
if (
|
|
7767
|
+
function v(z, K, q, W, B) {
|
|
7768
|
+
for (var G = [], J = 0; J < m.length; J++) {
|
|
7769
|
+
var se = m[J], M = se(z, K, q, W, B, n);
|
|
7770
|
+
if (M == null)
|
|
7774
7771
|
return null;
|
|
7775
|
-
|
|
7772
|
+
M.data && a(M.data, "expectedType") && G.push(M.data.expectedType);
|
|
7776
7773
|
}
|
|
7777
|
-
var ue =
|
|
7778
|
-
return new g("Invalid " +
|
|
7774
|
+
var ue = G.length > 0 ? ", expected one of type [" + G.join(", ") + "]" : "";
|
|
7775
|
+
return new g("Invalid " + W + " `" + B + "` supplied to " + ("`" + q + "`" + ue + "."));
|
|
7779
7776
|
}
|
|
7780
7777
|
return b(v);
|
|
7781
7778
|
}
|
|
7782
7779
|
function P() {
|
|
7783
|
-
function m(x, _, v, z,
|
|
7784
|
-
return
|
|
7780
|
+
function m(x, _, v, z, K) {
|
|
7781
|
+
return F(x[_]) ? null : new g("Invalid " + z + " `" + K + "` supplied to " + ("`" + v + "`, expected a ReactNode."));
|
|
7785
7782
|
}
|
|
7786
7783
|
return b(m);
|
|
7787
7784
|
}
|
|
@@ -7791,15 +7788,15 @@ function Vg() {
|
|
|
7791
7788
|
);
|
|
7792
7789
|
}
|
|
7793
7790
|
function T(m) {
|
|
7794
|
-
function x(_, v, z,
|
|
7795
|
-
var
|
|
7796
|
-
if (
|
|
7797
|
-
return new g("Invalid " +
|
|
7798
|
-
for (var
|
|
7799
|
-
var J = m[
|
|
7791
|
+
function x(_, v, z, K, q) {
|
|
7792
|
+
var W = _[v], B = Y(W);
|
|
7793
|
+
if (B !== "object")
|
|
7794
|
+
return new g("Invalid " + K + " `" + q + "` of type `" + B + "` " + ("supplied to `" + z + "`, expected `object`."));
|
|
7795
|
+
for (var G in m) {
|
|
7796
|
+
var J = m[G];
|
|
7800
7797
|
if (typeof J != "function")
|
|
7801
|
-
return N(z,
|
|
7802
|
-
var se = J(
|
|
7798
|
+
return N(z, K, q, G, Q(J));
|
|
7799
|
+
var se = J(W, G, z, K, q + "." + G, n);
|
|
7803
7800
|
if (se)
|
|
7804
7801
|
return se;
|
|
7805
7802
|
}
|
|
@@ -7808,29 +7805,29 @@ function Vg() {
|
|
|
7808
7805
|
return b(x);
|
|
7809
7806
|
}
|
|
7810
7807
|
function H(m) {
|
|
7811
|
-
function x(_, v, z,
|
|
7812
|
-
var
|
|
7813
|
-
if (
|
|
7814
|
-
return new g("Invalid " +
|
|
7815
|
-
var
|
|
7816
|
-
for (var J in
|
|
7808
|
+
function x(_, v, z, K, q) {
|
|
7809
|
+
var W = _[v], B = Y(W);
|
|
7810
|
+
if (B !== "object")
|
|
7811
|
+
return new g("Invalid " + K + " `" + q + "` of type `" + B + "` " + ("supplied to `" + z + "`, expected `object`."));
|
|
7812
|
+
var G = t({}, _[v], m);
|
|
7813
|
+
for (var J in G) {
|
|
7817
7814
|
var se = m[J];
|
|
7818
7815
|
if (a(m, J) && typeof se != "function")
|
|
7819
|
-
return N(z,
|
|
7816
|
+
return N(z, K, q, J, Q(se));
|
|
7820
7817
|
if (!se)
|
|
7821
7818
|
return new g(
|
|
7822
|
-
"Invalid " +
|
|
7819
|
+
"Invalid " + K + " `" + q + "` key `" + J + "` supplied to `" + z + "`.\nBad object: " + JSON.stringify(_[v], null, " ") + `
|
|
7823
7820
|
Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
7824
7821
|
);
|
|
7825
|
-
var
|
|
7826
|
-
if (
|
|
7827
|
-
return
|
|
7822
|
+
var M = se(W, J, z, K, q + "." + J, n);
|
|
7823
|
+
if (M)
|
|
7824
|
+
return M;
|
|
7828
7825
|
}
|
|
7829
7826
|
return null;
|
|
7830
7827
|
}
|
|
7831
7828
|
return b(x);
|
|
7832
7829
|
}
|
|
7833
|
-
function
|
|
7830
|
+
function F(m) {
|
|
7834
7831
|
switch (typeof m) {
|
|
7835
7832
|
case "number":
|
|
7836
7833
|
case "string":
|
|
@@ -7840,7 +7837,7 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
|
7840
7837
|
return !m;
|
|
7841
7838
|
case "object":
|
|
7842
7839
|
if (Array.isArray(m))
|
|
7843
|
-
return m.every(
|
|
7840
|
+
return m.every(F);
|
|
7844
7841
|
if (m === null || o(m))
|
|
7845
7842
|
return !0;
|
|
7846
7843
|
var x = d(m);
|
|
@@ -7848,12 +7845,12 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
|
7848
7845
|
var _ = x.call(m), v;
|
|
7849
7846
|
if (x !== m.entries) {
|
|
7850
7847
|
for (; !(v = _.next()).done; )
|
|
7851
|
-
if (!
|
|
7848
|
+
if (!F(v.value))
|
|
7852
7849
|
return !1;
|
|
7853
7850
|
} else
|
|
7854
7851
|
for (; !(v = _.next()).done; ) {
|
|
7855
7852
|
var z = v.value;
|
|
7856
|
-
if (z && !
|
|
7853
|
+
if (z && !F(z[1]))
|
|
7857
7854
|
return !1;
|
|
7858
7855
|
}
|
|
7859
7856
|
} else
|
|
@@ -7863,17 +7860,17 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
|
7863
7860
|
return !1;
|
|
7864
7861
|
}
|
|
7865
7862
|
}
|
|
7866
|
-
function
|
|
7863
|
+
function R(m, x) {
|
|
7867
7864
|
return m === "symbol" ? !0 : x ? x["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && x instanceof Symbol : !1;
|
|
7868
7865
|
}
|
|
7869
|
-
function
|
|
7866
|
+
function Y(m) {
|
|
7870
7867
|
var x = typeof m;
|
|
7871
|
-
return Array.isArray(m) ? "array" : m instanceof RegExp ? "object" :
|
|
7868
|
+
return Array.isArray(m) ? "array" : m instanceof RegExp ? "object" : R(x, m) ? "symbol" : x;
|
|
7872
7869
|
}
|
|
7873
7870
|
function Q(m) {
|
|
7874
7871
|
if (typeof m > "u" || m === null)
|
|
7875
7872
|
return "" + m;
|
|
7876
|
-
var x =
|
|
7873
|
+
var x = Y(m);
|
|
7877
7874
|
if (x === "object") {
|
|
7878
7875
|
if (m instanceof Date)
|
|
7879
7876
|
return "date";
|
|
@@ -7882,7 +7879,7 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
|
7882
7879
|
}
|
|
7883
7880
|
return x;
|
|
7884
7881
|
}
|
|
7885
|
-
function
|
|
7882
|
+
function ae(m) {
|
|
7886
7883
|
var x = Q(m);
|
|
7887
7884
|
switch (x) {
|
|
7888
7885
|
case "array":
|
|
@@ -7896,7 +7893,7 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
|
7896
7893
|
return x;
|
|
7897
7894
|
}
|
|
7898
7895
|
}
|
|
7899
|
-
function
|
|
7896
|
+
function re(m) {
|
|
7900
7897
|
return !m.constructor || !m.constructor.name ? p : m.constructor.name;
|
|
7901
7898
|
}
|
|
7902
7899
|
return f.checkPropTypes = r, f.resetWarningCache = r.resetWarningCache, f.PropTypes = f, f;
|
|
@@ -8160,17 +8157,17 @@ function qg() {
|
|
|
8160
8157
|
verbose: !1
|
|
8161
8158
|
};
|
|
8162
8159
|
function l(o) {
|
|
8163
|
-
var u = o.text, s = u === void 0 ? i.text : u, c = o.ratioThreshold, d = c === void 0 ? i.ratioThreshold : c, p = o.rtlScope, f = p === void 0 ? i.rtlScope : p, h = o.neutralScope, g = h === void 0 ? i.neutralScope : h, b = o.isMarkup, y = b === void 0 ? i.isMarkup : b, C = o.markupScope, D = C === void 0 ? i.markupScope : C, k = o.verbose, S = k === void 0 ? i.verbose : k, w = !1, A = f.regex[0],
|
|
8160
|
+
var u = o.text, s = u === void 0 ? i.text : u, c = o.ratioThreshold, d = c === void 0 ? i.ratioThreshold : c, p = o.rtlScope, f = p === void 0 ? i.rtlScope : p, h = o.neutralScope, g = h === void 0 ? i.neutralScope : h, b = o.isMarkup, y = b === void 0 ? i.isMarkup : b, C = o.markupScope, D = C === void 0 ? i.markupScope : C, k = o.verbose, S = k === void 0 ? i.verbose : k, w = !1, A = f.regex[0], L = g.regex[0], U = y ? D.regex[0] : "//gm";
|
|
8164
8161
|
if (s && s.length) {
|
|
8165
8162
|
S && console.group("Character Counts as per RegEx:"), S && console.log("%c total raw %c = %c " + s.length + " ", "color: yellow; background-color: black; font-weight: bold;", "", "color: yellow; background-color: black; font-weight: bold;");
|
|
8166
|
-
var P = (0, n.count)((0, n.matchesStr)(s,
|
|
8163
|
+
var P = (0, n.count)((0, n.matchesStr)(s, L));
|
|
8167
8164
|
S && console.log("%c neutral %c = %c " + P + " ", "color: yellow; background-color: black; font-weight: bold;", "", "color: yellow; background-color: black; font-weight: bold;");
|
|
8168
|
-
var N = (0, n.adjMarkupCount)(s, U,
|
|
8169
|
-
S && console.log("%c adj total %c = " + s.length + " total raw - " + P + " neutral - " + T + " adj Markup = %c " +
|
|
8170
|
-
var Q = (0, n.preAdjRtlCount)(s, A,
|
|
8171
|
-
S && console.log("%c adj RTL %c = " +
|
|
8172
|
-
var x = m /
|
|
8173
|
-
S && console.log("%c adj LTR %c = " +
|
|
8165
|
+
var N = (0, n.adjMarkupCount)(s, U, L, A, S, y), T = N.markupLessNeut, H = N.rtlInMarkup, F = N.neutInRtlInMarkup, R = H - F, Y = s.length - P - T || 1;
|
|
8166
|
+
S && console.log("%c adj total %c = " + s.length + " total raw - " + P + " neutral - " + T + " adj Markup = %c " + Y + " ", "color: yellow; background-color: black; font-weight: bold;", "", "color: yellow; background-color: black; font-weight: bold;");
|
|
8167
|
+
var Q = (0, n.preAdjRtlCount)(s, A, L, S, y), ae = Q.rtlChars, re = Q.neutralInRtl, m = ae - re - R;
|
|
8168
|
+
S && console.log("%c adj RTL %c = " + ae + " RTL - " + re + " neutral in RTL - ( " + H + " RTL in markup - " + F + " neutral in RLT in markup ) = %c " + m + " ", "color: yellow; background-color: black; font-weight: bold;", "", "color: yellow; background-color: black; font-weight: bold;");
|
|
8169
|
+
var x = m / Y;
|
|
8170
|
+
S && console.log("%c adj LTR %c = " + Y + " adj total - " + m + " adj RTL = %c " + (Y - m) + " ", "color: yellow; background-color: black; font-weight: bold;", "", "color: yellow; background-color: black; font-weight: bold;"), S && console.log("%c calculated ratio of adj RTL : adj total %c = " + m + " adj RTL : " + Y + " adj total = %c " + x + " ", "color: yellow; background-color: black; font-weight: bold;", "", "color: yellow; background-color: black; font-weight: bold;"), S && console.groupEnd(), x > d && (w = !0);
|
|
8174
8171
|
}
|
|
8175
8172
|
return w ? "rtl" : "ltr";
|
|
8176
8173
|
}
|
|
@@ -8455,7 +8452,7 @@ function wu(e, t) {
|
|
|
8455
8452
|
return tb.useDetectDir(c);
|
|
8456
8453
|
}
|
|
8457
8454
|
function Cx({ metadata: e, debugRef: t, systemBcv: n, i18nRef: a }) {
|
|
8458
|
-
const [r, i] =
|
|
8455
|
+
const [r, i] = be([]), [l, o] = be(
|
|
8459
8456
|
e != null && e.script_direction ? e.script_direction.toLowerCase() : void 0
|
|
8460
8457
|
), u = e != null && e.script_direction ? e.script_direction.toLowerCase() : void 0, s = u === "ltr" || u === "rtl", c = async () => {
|
|
8461
8458
|
const g = `/api/burrito/ingredient/raw/${e.local_path}?ipath=${n.bookCode}.tsv`;
|
|
@@ -8484,8 +8481,8 @@ function Cx({ metadata: e, debugRef: t, systemBcv: n, i18nRef: a }) {
|
|
|
8484
8481
|
const [y, C] = g.split(":"), [D, k] = b.split(":");
|
|
8485
8482
|
if (y !== D)
|
|
8486
8483
|
return !1;
|
|
8487
|
-
const S = (P) => P.split("-").map(Number), [w, A = w] = S(C), [
|
|
8488
|
-
return w <= U && A >=
|
|
8484
|
+
const S = (P) => P.split("-").map(Number), [w, A = w] = S(C), [L, U = L] = S(k);
|
|
8485
|
+
return w <= U && A >= L;
|
|
8489
8486
|
}, f = r.filter((g) => d(
|
|
8490
8487
|
`${n.chapterNum}:${n.verseNum}${n.endVerseNum ? `-${n.endVerseNum}` : ""}`,
|
|
8491
8488
|
g[0]
|
|
@@ -8493,7 +8490,7 @@ function Cx({ metadata: e, debugRef: t, systemBcv: n, i18nRef: a }) {
|
|
|
8493
8490
|
const y = b[0];
|
|
8494
8491
|
return g[y] || (g[y] = []), g[y].push(b), g;
|
|
8495
8492
|
}, {}), h = Object.entries(f);
|
|
8496
|
-
return /* @__PURE__ */
|
|
8493
|
+
return /* @__PURE__ */ I.jsx(gt, { sx: { flexGrow: 1 }, dir: s ? void 0 : l, children: /* @__PURE__ */ I.jsx(
|
|
8497
8494
|
dn,
|
|
8498
8495
|
{
|
|
8499
8496
|
container: !0,
|
|
@@ -8503,7 +8500,7 @@ function Cx({ metadata: e, debugRef: t, systemBcv: n, i18nRef: a }) {
|
|
|
8503
8500
|
justifyContent: "center",
|
|
8504
8501
|
alignItems: "center"
|
|
8505
8502
|
},
|
|
8506
|
-
children: /* @__PURE__ */
|
|
8503
|
+
children: /* @__PURE__ */ I.jsx(dn, { item: !0, size: 12, children: h.length > 0 && h.map(([g, b], y) => {
|
|
8507
8504
|
const C = b.map((D) => {
|
|
8508
8505
|
const k = D[1], S = (D[6] || D[5] || "").trimStart(), w = D[3] || "";
|
|
8509
8506
|
return `* (**${k}**) ${S.replace(`.
|
|
@@ -8515,17 +8512,17 @@ function Cx({ metadata: e, debugRef: t, systemBcv: n, i18nRef: a }) {
|
|
|
8515
8512
|
* `)}${w !== "" ? ` (${w.replace("rc://*/ta/man/translate/", "")})` : ""}`.trim();
|
|
8516
8513
|
}).join(`
|
|
8517
8514
|
`);
|
|
8518
|
-
return /* @__PURE__ */
|
|
8519
|
-
/* @__PURE__ */
|
|
8515
|
+
return /* @__PURE__ */ I.jsxs(ei, { defaultExpanded: y === 0, children: [
|
|
8516
|
+
/* @__PURE__ */ I.jsx(
|
|
8520
8517
|
ti,
|
|
8521
8518
|
{
|
|
8522
|
-
expandIcon: /* @__PURE__ */
|
|
8519
|
+
expandIcon: /* @__PURE__ */ I.jsx(ii, {}),
|
|
8523
8520
|
"aria-controls": `panel${y}-content`,
|
|
8524
8521
|
id: `tnote-${y}`,
|
|
8525
|
-
children: /* @__PURE__ */
|
|
8522
|
+
children: /* @__PURE__ */ I.jsx(yt, { component: "span", sx: { fontWeight: "bold" }, children: g })
|
|
8526
8523
|
}
|
|
8527
8524
|
),
|
|
8528
|
-
/* @__PURE__ */
|
|
8525
|
+
/* @__PURE__ */ I.jsx(ni, { children: r && /* @__PURE__ */ I.jsx("div", { className: "markdown", children: /* @__PURE__ */ I.jsx(Si, { children: C || De(
|
|
8529
8526
|
"pages:core-contenthandler_bcv:no_verse",
|
|
8530
8527
|
a.current
|
|
8531
8528
|
) }) }) })
|
|
@@ -8535,7 +8532,7 @@ function Cx({ metadata: e, debugRef: t, systemBcv: n, i18nRef: a }) {
|
|
|
8535
8532
|
) });
|
|
8536
8533
|
}
|
|
8537
8534
|
function Dx({ metadata: e, systemBcv: t, debugRef: n, i18nRef: a }) {
|
|
8538
|
-
const [r, i] =
|
|
8535
|
+
const [r, i] = be([]), [l, o] = be(
|
|
8539
8536
|
e != null && e.script_direction ? e.script_direction.toLowerCase() : void 0
|
|
8540
8537
|
), u = e != null && e.script_direction ? e.script_direction.toLowerCase() : void 0, s = u === "ltr" || u === "rtl", c = async () => {
|
|
8541
8538
|
const g = `/api/burrito/ingredient/raw/${e.local_path}?ipath=${t.bookCode}.tsv`;
|
|
@@ -8563,10 +8560,10 @@ function Dx({ metadata: e, systemBcv: t, debugRef: n, i18nRef: a }) {
|
|
|
8563
8560
|
const b = (k) => {
|
|
8564
8561
|
const w = k.split(",").map((A) => {
|
|
8565
8562
|
if (A.includes("-")) {
|
|
8566
|
-
const
|
|
8563
|
+
const L = Number(A.split("-")[0]), U = Number(A.split("-")[1]);
|
|
8567
8564
|
return Array.from(
|
|
8568
|
-
{ length: U -
|
|
8569
|
-
(N, T) =>
|
|
8565
|
+
{ length: U - L + 1 },
|
|
8566
|
+
(N, T) => L + T
|
|
8570
8567
|
);
|
|
8571
8568
|
} else
|
|
8572
8569
|
return [Number(A)];
|
|
@@ -8580,7 +8577,7 @@ function Dx({ metadata: e, systemBcv: t, debugRef: n, i18nRef: a }) {
|
|
|
8580
8577
|
(k) => D.includes(k)
|
|
8581
8578
|
);
|
|
8582
8579
|
}), p = d.map((g) => g[5]), f = d.map((g) => g[6]), h = `(${t.bookCode} ${t.chapterNum}:${t.verseNum}${t.endVerseNum && t.endVerseNum !== t.verseNum ? `-${t.endVerseNum}` : ""})`;
|
|
8583
|
-
return /* @__PURE__ */
|
|
8580
|
+
return /* @__PURE__ */ I.jsx(gt, { sx: { flexGrow: 1 }, dir: s ? void 0 : l, children: /* @__PURE__ */ I.jsxs(
|
|
8584
8581
|
dn,
|
|
8585
8582
|
{
|
|
8586
8583
|
container: !0,
|
|
@@ -8591,7 +8588,7 @@ function Dx({ metadata: e, systemBcv: t, debugRef: n, i18nRef: a }) {
|
|
|
8591
8588
|
alignItems: "center"
|
|
8592
8589
|
},
|
|
8593
8590
|
children: [
|
|
8594
|
-
/* @__PURE__ */
|
|
8591
|
+
/* @__PURE__ */ I.jsx(
|
|
8595
8592
|
dn,
|
|
8596
8593
|
{
|
|
8597
8594
|
item: !0,
|
|
@@ -8602,7 +8599,7 @@ function Dx({ metadata: e, systemBcv: t, debugRef: n, i18nRef: a }) {
|
|
|
8602
8599
|
alignItems: "center",
|
|
8603
8600
|
minWidth: 0
|
|
8604
8601
|
},
|
|
8605
|
-
children: /* @__PURE__ */
|
|
8602
|
+
children: /* @__PURE__ */ I.jsx(
|
|
8606
8603
|
yt,
|
|
8607
8604
|
{
|
|
8608
8605
|
variant: "subtitle1",
|
|
@@ -8618,11 +8615,11 @@ function Dx({ metadata: e, systemBcv: t, debugRef: n, i18nRef: a }) {
|
|
|
8618
8615
|
)
|
|
8619
8616
|
}
|
|
8620
8617
|
),
|
|
8621
|
-
/* @__PURE__ */
|
|
8622
|
-
/* @__PURE__ */
|
|
8618
|
+
/* @__PURE__ */ I.jsx(dn, { item: !0, size: 12, children: r && p.length > 0 ? p.map((g, b) => f[b].trim().length === 0 ? /* @__PURE__ */ I.jsxs(Nd, { sx: { width: "100%", bgcolor: "background.paper" }, children: [
|
|
8619
|
+
/* @__PURE__ */ I.jsx(Td, { alignItems: "flex-start", children: /* @__PURE__ */ I.jsx(
|
|
8623
8620
|
ai,
|
|
8624
8621
|
{
|
|
8625
|
-
primary: /* @__PURE__ */
|
|
8622
|
+
primary: /* @__PURE__ */ I.jsx(
|
|
8626
8623
|
yt,
|
|
8627
8624
|
{
|
|
8628
8625
|
component: "span",
|
|
@@ -8632,19 +8629,19 @@ function Dx({ metadata: e, systemBcv: t, debugRef: n, i18nRef: a }) {
|
|
|
8632
8629
|
)
|
|
8633
8630
|
}
|
|
8634
8631
|
) }),
|
|
8635
|
-
/* @__PURE__ */
|
|
8636
|
-
] }) : /* @__PURE__ */
|
|
8637
|
-
/* @__PURE__ */
|
|
8632
|
+
/* @__PURE__ */ I.jsx(Ad, { variant: "middle", component: "li" })
|
|
8633
|
+
] }) : /* @__PURE__ */ I.jsxs(ei, { children: [
|
|
8634
|
+
/* @__PURE__ */ I.jsx(
|
|
8638
8635
|
ti,
|
|
8639
8636
|
{
|
|
8640
|
-
expandIcon: /* @__PURE__ */
|
|
8637
|
+
expandIcon: /* @__PURE__ */ I.jsx(ii, {}),
|
|
8641
8638
|
"aria-controls": "panel1-content",
|
|
8642
8639
|
id: `tword-${b}`,
|
|
8643
|
-
children: /* @__PURE__ */
|
|
8640
|
+
children: /* @__PURE__ */ I.jsx(yt, { component: "span", sx: { fontWeight: "bold" }, children: g })
|
|
8644
8641
|
}
|
|
8645
8642
|
),
|
|
8646
|
-
/* @__PURE__ */
|
|
8647
|
-
] })) : /* @__PURE__ */
|
|
8643
|
+
/* @__PURE__ */ I.jsx(ni, { children: r && /* @__PURE__ */ I.jsx("div", { className: "markdown", children: /* @__PURE__ */ I.jsx(Si, { children: `${f[b]}` }) }) })
|
|
8644
|
+
] })) : /* @__PURE__ */ I.jsx(yt, { sx: { pl: 2 }, children: De(
|
|
8648
8645
|
"pages:core-contenthandler_bcv:no_question",
|
|
8649
8646
|
a.current
|
|
8650
8647
|
) }) })
|
|
@@ -8827,7 +8824,7 @@ function lb({
|
|
|
8827
8824
|
systemBcv: i,
|
|
8828
8825
|
debugRef: l
|
|
8829
8826
|
}) {
|
|
8830
|
-
const [o, u] =
|
|
8827
|
+
const [o, u] = be(!1), s = async (p, f) => {
|
|
8831
8828
|
const h = p.map(
|
|
8832
8829
|
(y) => y.map((C) => typeof C == "string" ? C.replace(/\n/g, "\\n") : C)
|
|
8833
8830
|
).map((y) => y.join(" ")).filter((y) => y.trim().length > 0).join(`
|
|
@@ -8851,7 +8848,7 @@ function lb({
|
|
|
8851
8848
|
}, d = () => {
|
|
8852
8849
|
a($t(JSON.stringify(e))), s([...e]);
|
|
8853
8850
|
};
|
|
8854
|
-
return /* @__PURE__ */
|
|
8851
|
+
return /* @__PURE__ */ I.jsx(
|
|
8855
8852
|
ga,
|
|
8856
8853
|
{
|
|
8857
8854
|
disabled: $t(JSON.stringify(e)) === n,
|
|
@@ -8864,7 +8861,7 @@ function lb({
|
|
|
8864
8861
|
onClick: () => {
|
|
8865
8862
|
d();
|
|
8866
8863
|
},
|
|
8867
|
-
children: /* @__PURE__ */
|
|
8864
|
+
children: /* @__PURE__ */ I.jsx(
|
|
8868
8865
|
Ud,
|
|
8869
8866
|
{
|
|
8870
8867
|
size: "large",
|
|
@@ -8896,7 +8893,7 @@ async function ob(e, t, n) {
|
|
|
8896
8893
|
}
|
|
8897
8894
|
}
|
|
8898
8895
|
function sb({ bcvRef: e, debugRef: t, i18nRef: n, currentProjectRef: a }) {
|
|
8899
|
-
const [r, i] =
|
|
8896
|
+
const [r, i] = be([]), [l, o] = be(e.current.bookCode);
|
|
8900
8897
|
return Pe(() => {
|
|
8901
8898
|
(async () => {
|
|
8902
8899
|
if (a.current) {
|
|
@@ -8913,7 +8910,7 @@ function sb({ bcvRef: e, debugRef: t, i18nRef: n, currentProjectRef: a }) {
|
|
|
8913
8910
|
t.current,
|
|
8914
8911
|
l
|
|
8915
8912
|
);
|
|
8916
|
-
}, [l]), /* @__PURE__ */
|
|
8913
|
+
}, [l]), /* @__PURE__ */ I.jsx(I.Fragment, { children: /* @__PURE__ */ I.jsx(
|
|
8917
8914
|
ba,
|
|
8918
8915
|
{
|
|
8919
8916
|
label: `${De("pages:core-contenthandler_bcv:book", n.current)}`,
|
|
@@ -8921,7 +8918,7 @@ function sb({ bcvRef: e, debugRef: t, i18nRef: n, currentProjectRef: a }) {
|
|
|
8921
8918
|
size: "small",
|
|
8922
8919
|
select: !0,
|
|
8923
8920
|
value: e.current.bookCode,
|
|
8924
|
-
children: r.map((u, s) => /* @__PURE__ */
|
|
8921
|
+
children: r.map((u, s) => /* @__PURE__ */ I.jsx(
|
|
8925
8922
|
pn,
|
|
8926
8923
|
{
|
|
8927
8924
|
sx: { maxHeight: "3rem", height: "2rem" },
|
|
@@ -8937,7 +8934,7 @@ function sb({ bcvRef: e, debugRef: t, i18nRef: n, currentProjectRef: a }) {
|
|
|
8937
8934
|
) });
|
|
8938
8935
|
}
|
|
8939
8936
|
function ub() {
|
|
8940
|
-
return /* @__PURE__ */
|
|
8937
|
+
return /* @__PURE__ */ I.jsx(ri, { children: /* @__PURE__ */ I.jsxs(
|
|
8941
8938
|
"svg",
|
|
8942
8939
|
{
|
|
8943
8940
|
width: "24",
|
|
@@ -8947,7 +8944,7 @@ function ub() {
|
|
|
8947
8944
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8948
8945
|
stroke: "none",
|
|
8949
8946
|
children: [
|
|
8950
|
-
/* @__PURE__ */
|
|
8947
|
+
/* @__PURE__ */ I.jsx(
|
|
8951
8948
|
"path",
|
|
8952
8949
|
{
|
|
8953
8950
|
d: "M13.9392 4H4C2.892 4 2 4.892 2 6V18C2 19.108 2.892 20 4 20H20C21.108 20 22 19.108 22 18V6L20 8V18H4V6H11.9392",
|
|
@@ -8955,10 +8952,10 @@ function ub() {
|
|
|
8955
8952
|
stroke: "none"
|
|
8956
8953
|
}
|
|
8957
8954
|
),
|
|
8958
|
-
/* @__PURE__ */
|
|
8959
|
-
/* @__PURE__ */
|
|
8960
|
-
/* @__PURE__ */
|
|
8961
|
-
/* @__PURE__ */
|
|
8955
|
+
/* @__PURE__ */ I.jsx("path", { d: "M20 12H4V14H20V12Z", fill: "currentColor", stroke: "none" }),
|
|
8956
|
+
/* @__PURE__ */ I.jsx("path", { d: "M10 14H8V18H10V14Z", fill: "currentColor", stroke: "none" }),
|
|
8957
|
+
/* @__PURE__ */ I.jsx("path", { d: "M16 14H14V18H16V14Z", fill: "currentColor", stroke: "none" }),
|
|
8958
|
+
/* @__PURE__ */ I.jsx(
|
|
8962
8959
|
"path",
|
|
8963
8960
|
{
|
|
8964
8961
|
d: "M13 10V6.925L18.525 1.425C18.675 1.275 18.8417 1.16667 19.025 1.1C19.2083 1.03333 19.3917 1 19.575 1C19.775 1 19.9667 1.0375 20.15 1.1125C20.3333 1.1875 20.5 1.3 20.65 1.45L21.575 2.375C21.7083 2.525 21.8125 2.69167 21.8875 2.875C21.9625 3.05833 22 3.24167 22 3.425C22 3.60833 21.9667 3.79583 21.9 3.9875C21.8333 4.17917 21.725 4.35 21.575 4.5L16.075 10H13ZM14.5 8.5H15.45L18.475 5.45L18.025 4.975L17.55 4.525L14.5 7.55V8.5ZM18.025 4.975L17.55 4.525L18.475 5.45L18.025 4.975Z",
|
|
@@ -8971,9 +8968,9 @@ function ub() {
|
|
|
8971
8968
|
) });
|
|
8972
8969
|
}
|
|
8973
8970
|
function cb({ value: e, label: t, key: n, onBlur: a, hidden: r }) {
|
|
8974
|
-
const [i, l] =
|
|
8975
|
-
return /* @__PURE__ */
|
|
8976
|
-
/* @__PURE__ */
|
|
8971
|
+
const [i, l] = be("write");
|
|
8972
|
+
return /* @__PURE__ */ I.jsxs(gt, { children: [
|
|
8973
|
+
/* @__PURE__ */ I.jsxs(
|
|
8977
8974
|
Id,
|
|
8978
8975
|
{
|
|
8979
8976
|
exclusive: !0,
|
|
@@ -8984,12 +8981,12 @@ function cb({ value: e, label: t, key: n, onBlur: a, hidden: r }) {
|
|
|
8984
8981
|
},
|
|
8985
8982
|
sx: { display: r ? "none" : void 0 },
|
|
8986
8983
|
children: [
|
|
8987
|
-
/* @__PURE__ */
|
|
8988
|
-
/* @__PURE__ */
|
|
8984
|
+
/* @__PURE__ */ I.jsx(ol, { value: "write", children: /* @__PURE__ */ I.jsx(qd, {}) }),
|
|
8985
|
+
/* @__PURE__ */ I.jsx(ol, { value: "preview", children: /* @__PURE__ */ I.jsx(Gd, {}) })
|
|
8989
8986
|
]
|
|
8990
8987
|
}
|
|
8991
8988
|
),
|
|
8992
|
-
i === "write" ? /* @__PURE__ */
|
|
8989
|
+
i === "write" ? /* @__PURE__ */ I.jsx(Ps, { fullWidth: !0, margin: "normal", children: /* @__PURE__ */ I.jsx(
|
|
8993
8990
|
ba,
|
|
8994
8991
|
{
|
|
8995
8992
|
label: t,
|
|
@@ -9004,7 +9001,7 @@ function cb({ value: e, label: t, key: n, onBlur: a, hidden: r }) {
|
|
|
9004
9001
|
sx: { display: r ? "none" : void 0 }
|
|
9005
9002
|
},
|
|
9006
9003
|
n
|
|
9007
|
-
) }) : /* @__PURE__ */
|
|
9004
|
+
) }) : /* @__PURE__ */ I.jsx(gt, { sx: { border: "1px solid", marginTop: 1, padding: 1 }, children: /* @__PURE__ */ I.jsx(Si, { fullWidth: !0, children: e }) })
|
|
9008
9005
|
] });
|
|
9009
9006
|
}
|
|
9010
9007
|
var db = /* @__PURE__ */ Pn();
|
|
@@ -9683,7 +9680,7 @@ function Vt(e, t, n) {
|
|
|
9683
9680
|
let a = e.replace(Cv, "").trim();
|
|
9684
9681
|
a = a.replace(Gu, "-").replace(qu, "+");
|
|
9685
9682
|
let r = !1;
|
|
9686
|
-
const i = (A,
|
|
9683
|
+
const i = (A, L) => (L === "-" && (r = !0), "");
|
|
9687
9684
|
a = a.replace(/([+-])\s*$/, i).replace(/^\s*([+-])/, i);
|
|
9688
9685
|
let l = t;
|
|
9689
9686
|
l === void 0 && (yv.test(a) ? l = "ar" : Sv.test(a) && (l = "zh"));
|
|
@@ -9712,7 +9709,7 @@ function Vt(e, t, n) {
|
|
|
9712
9709
|
// Numeral systems to ASCII digits
|
|
9713
9710
|
[uv, (A) => String(A.charCodeAt(0) % 16)],
|
|
9714
9711
|
[cv, (A) => String(Math.max(sv.indexOf(A) - 1, 0))]
|
|
9715
|
-
].reduce((A, [
|
|
9712
|
+
].reduce((A, [L, U]) => L ? A.replace(L, U) : A, a);
|
|
9716
9713
|
const b = g.lastIndexOf(".");
|
|
9717
9714
|
if (b !== -1 && (g = `${g.slice(0, b).replace(/\./g, "")}.${g.slice(b + 1).replace(/\./g, "")}`), /^[-+]?Infinity$/i.test(a) || a.includes("∞"))
|
|
9718
9715
|
return null;
|
|
@@ -9818,43 +9815,43 @@ const Lo = "none", Pv = "increment-press", _v = "decrement-press", Lv = "input-c
|
|
|
9818
9815
|
format: S,
|
|
9819
9816
|
locale: w,
|
|
9820
9817
|
render: A,
|
|
9821
|
-
className:
|
|
9818
|
+
className: L,
|
|
9822
9819
|
inputRef: U,
|
|
9823
9820
|
style: P,
|
|
9824
9821
|
...N
|
|
9825
9822
|
} = t, {
|
|
9826
9823
|
setDirty: T,
|
|
9827
9824
|
validityData: H,
|
|
9828
|
-
disabled:
|
|
9829
|
-
setFilled:
|
|
9830
|
-
name:
|
|
9825
|
+
disabled: F,
|
|
9826
|
+
setFilled: R,
|
|
9827
|
+
name: Y,
|
|
9831
9828
|
state: Q,
|
|
9832
|
-
validation:
|
|
9829
|
+
validation: ae
|
|
9833
9830
|
} = xa(), {
|
|
9834
|
-
clearErrors:
|
|
9835
|
-
} = Lu(), m =
|
|
9831
|
+
clearErrors: re
|
|
9832
|
+
} = Lu(), m = F || c, x = Y ?? f, _ = o === "any" ? 1 : o, [v, z] = j.useState(!1), K = r ?? Number.MIN_SAFE_INTEGER, q = i ?? Number.MAX_SAFE_INTEGER, W = r ?? 0, B = S == null ? void 0 : S.style, G = j.useRef(null), J = $r(U, ae.inputRef), se = Ub({
|
|
9836
9833
|
id: a
|
|
9837
|
-
}), [
|
|
9834
|
+
}), [M, ue] = pb({
|
|
9838
9835
|
controlled: g,
|
|
9839
9836
|
default: h,
|
|
9840
9837
|
name: "NumberField",
|
|
9841
9838
|
state: "value"
|
|
9842
|
-
}), xe = Co(
|
|
9839
|
+
}), xe = Co(M);
|
|
9843
9840
|
it(() => {
|
|
9844
|
-
|
|
9845
|
-
}, [
|
|
9841
|
+
R(M !== null);
|
|
9842
|
+
}, [R, M]);
|
|
9846
9843
|
const ze = Cu(), _e = Co(S), $e = j.useRef(!1), Me = at((le, oe) => {
|
|
9847
9844
|
$e.current = !1, y == null || y(le, oe);
|
|
9848
|
-
}), Ue = j.useRef(!0), Fe = j.useRef(null), [Dt, ot] = j.useState(() => ea(
|
|
9845
|
+
}), Ue = j.useRef(!0), Fe = j.useRef(null), [Dt, ot] = j.useState(() => ea(M, w, S)), [st, Xt] = j.useState("numeric"), Mt = at(() => {
|
|
9849
9846
|
var He;
|
|
9850
9847
|
const le = Wu(w, S), oe = new Set(Ev), Ee = (Ge) => Ge.forEach((Ed) => oe.add(Ed)), ce = ((He = le.find((Ge) => Ge.type === "decimal")) == null ? void 0 : He.value) ?? Ti(w, S).decimal;
|
|
9851
9848
|
oe.add(ce), le.forEach((Ge) => {
|
|
9852
9849
|
Ge.type === "integer" || Ge.type === "fraction" || Ge.type === "exponentInteger" || Ge.type === "compact" || (Ee(Array.from(Ge.value)), xv.test(Ge.value) && oe.add(" "));
|
|
9853
9850
|
});
|
|
9854
|
-
const Ie =
|
|
9855
|
-
return Ie && Ee(dv), Ce && Ee(pv), Ee(Dv), (
|
|
9851
|
+
const Ie = B === "percent" || B === "unit" && (S == null ? void 0 : S.unit) === "percent", Ce = B === "percent" || B === "unit" && (S == null ? void 0 : S.unit) === "permille";
|
|
9852
|
+
return Ie && Ee(dv), Ce && Ee(pv), Ee(Dv), (K < 0 || k) && Ee(Nv), oe;
|
|
9856
9853
|
}), O = at((le) => le != null && le.altKey ? l : le != null && le.shiftKey ? u : _), $ = at((le, oe) => {
|
|
9857
|
-
const Ee = oe.event, ce = oe.direction, Ie = oe.reason.startsWith("input-") || oe.reason === Lo, Ce = !k || !Ie, He = Ov(le, ce ? O(Ee) * ce : void 0,
|
|
9854
|
+
const Ee = oe.event, ce = oe.direction, Ie = oe.reason.startsWith("input-") || oe.reason === Lo, Ce = !k || !Ie, He = Ov(le, ce ? O(Ee) * ce : void 0, K, q, W, _e.current, D, (Ee == null ? void 0 : Ee.altKey) ?? !1, Ce), Ge = He !== M || Ie && (le !== M || Ue.current === !1);
|
|
9858
9855
|
if (Ge) {
|
|
9859
9856
|
if (b == null || b(He, oe), oe.isCanceled)
|
|
9860
9857
|
return !1;
|
|
@@ -9875,29 +9872,29 @@ const Lo = "none", Pv = "increment-press", _v = "decrement-press", Lv = "input-c
|
|
|
9875
9872
|
it(function() {
|
|
9876
9873
|
if (!Ue.current)
|
|
9877
9874
|
return;
|
|
9878
|
-
const oe = ea(
|
|
9875
|
+
const oe = ea(M, w, S);
|
|
9879
9876
|
oe !== Dt && ot(oe);
|
|
9880
9877
|
}), it(function() {
|
|
9881
9878
|
if (!Iu)
|
|
9882
9879
|
return;
|
|
9883
9880
|
let oe = "text";
|
|
9884
|
-
|
|
9885
|
-
}, [
|
|
9881
|
+
K >= 0 && (oe = "decimal"), Xt(oe);
|
|
9882
|
+
}, [K]);
|
|
9886
9883
|
const ne = at(() => {
|
|
9887
|
-
const le =
|
|
9884
|
+
const le = G.current;
|
|
9888
9885
|
if (!le)
|
|
9889
9886
|
return;
|
|
9890
9887
|
const oe = le.value.length;
|
|
9891
9888
|
le.setSelectionRange(oe, oe), le.focus();
|
|
9892
9889
|
});
|
|
9893
9890
|
j.useEffect(function() {
|
|
9894
|
-
const oe =
|
|
9891
|
+
const oe = G.current;
|
|
9895
9892
|
if (m || d || !C || !oe)
|
|
9896
9893
|
return;
|
|
9897
9894
|
function Ee(ce) {
|
|
9898
9895
|
if (
|
|
9899
9896
|
// Allow pinch-zooming.
|
|
9900
|
-
ce.ctrlKey || Ib(kb(
|
|
9897
|
+
ce.ctrlKey || Ib(kb(G.current)) !== G.current
|
|
9901
9898
|
)
|
|
9902
9899
|
return;
|
|
9903
9900
|
const Ie = Math.abs(ce.deltaX) > Math.abs(ce.deltaY), Ce = ce.shiftKey && Ie ? ce.deltaX : ce.deltaY;
|
|
@@ -9918,14 +9915,14 @@ const Lo = "none", Pv = "increment-press", _v = "decrement-press", Lv = "input-c
|
|
|
9918
9915
|
disabled: m,
|
|
9919
9916
|
readOnly: d,
|
|
9920
9917
|
required: s,
|
|
9921
|
-
value:
|
|
9918
|
+
value: M,
|
|
9922
9919
|
inputValue: Dt,
|
|
9923
9920
|
scrubbing: v
|
|
9924
|
-
}), [Q, m, d, s,
|
|
9925
|
-
inputRef:
|
|
9921
|
+
}), [Q, m, d, s, M, Dt, v]), Be = j.useMemo(() => ({
|
|
9922
|
+
inputRef: G,
|
|
9926
9923
|
focusInput: ne,
|
|
9927
|
-
minWithDefault:
|
|
9928
|
-
maxWithDefault:
|
|
9924
|
+
minWithDefault: K,
|
|
9925
|
+
maxWithDefault: q,
|
|
9929
9926
|
id: se,
|
|
9930
9927
|
setValue: $,
|
|
9931
9928
|
incrementValue: X,
|
|
@@ -9946,16 +9943,16 @@ const Lo = "none", Pv = "increment-press", _v = "decrement-press", Lv = "input-c
|
|
|
9946
9943
|
setIsScrubbing: z,
|
|
9947
9944
|
state: ie,
|
|
9948
9945
|
onValueCommitted: Me
|
|
9949
|
-
}), [
|
|
9946
|
+
}), [G, ne, K, q, se, $, X, O, _e, xe, x, f, st, Mt, r, i, ot, w, ie, Me]), ht = Ni("div", t, {
|
|
9950
9947
|
ref: n,
|
|
9951
9948
|
state: ie,
|
|
9952
9949
|
props: N,
|
|
9953
9950
|
stateAttributesMapping: Ci
|
|
9954
9951
|
});
|
|
9955
|
-
return /* @__PURE__ */
|
|
9952
|
+
return /* @__PURE__ */ I.jsxs(ki.Provider, {
|
|
9956
9953
|
value: Be,
|
|
9957
|
-
children: [ht, /* @__PURE__ */
|
|
9958
|
-
...
|
|
9954
|
+
children: [ht, /* @__PURE__ */ I.jsx("input", {
|
|
9955
|
+
...ae.getValidationProps(m, {
|
|
9959
9956
|
onFocus() {
|
|
9960
9957
|
ne();
|
|
9961
9958
|
},
|
|
@@ -9963,14 +9960,14 @@ const Lo = "none", Pv = "increment-press", _v = "decrement-press", Lv = "input-c
|
|
|
9963
9960
|
if (le.nativeEvent.defaultPrevented || m || d)
|
|
9964
9961
|
return;
|
|
9965
9962
|
const oe = le.currentTarget.valueAsNumber, Ee = Number.isNaN(oe) ? null : oe, ce = pt(Lo, le.nativeEvent);
|
|
9966
|
-
$(Ee, ce),
|
|
9963
|
+
$(Ee, ce), re(x), ae.change(Fe.current ?? Ee);
|
|
9967
9964
|
}
|
|
9968
9965
|
}),
|
|
9969
9966
|
ref: J,
|
|
9970
9967
|
type: "number",
|
|
9971
9968
|
form: p,
|
|
9972
9969
|
name: x,
|
|
9973
|
-
value:
|
|
9970
|
+
value: M ?? "",
|
|
9974
9971
|
min: r,
|
|
9975
9972
|
max: i,
|
|
9976
9973
|
step: o,
|
|
@@ -10088,7 +10085,7 @@ function jv(e = {}) {
|
|
|
10088
10085
|
onKeyDown(k) {
|
|
10089
10086
|
if (t || (sa(k), y == null || y(k), k.baseUIHandlerPrevented))
|
|
10090
10087
|
return;
|
|
10091
|
-
const S = k.target === k.currentTarget, w = k.currentTarget, A = Kn(w),
|
|
10088
|
+
const S = k.target === k.currentTarget, w = k.currentTarget, A = Kn(w), L = !r && Vv(w), U = S && (r ? A : !L), P = k.key === "Enter", N = k.key === " ", T = w.getAttribute("role"), H = (T == null ? void 0 : T.startsWith("menuitem")) || T === "option" || T === "gridcell";
|
|
10092
10089
|
if (S && u && N) {
|
|
10093
10090
|
if (k.defaultPrevented && H)
|
|
10094
10091
|
return;
|
|
@@ -10096,7 +10093,7 @@ function jv(e = {}) {
|
|
|
10096
10093
|
return;
|
|
10097
10094
|
}
|
|
10098
10095
|
if (!U || r || !N && !P) {
|
|
10099
|
-
S &&
|
|
10096
|
+
S && L && N && k.preventDefault();
|
|
10100
10097
|
return;
|
|
10101
10098
|
}
|
|
10102
10099
|
k.defaultPrevented || (k.preventDefault(), P && (k.preventBaseUIHandler(), cr(w, k)));
|
|
@@ -10212,10 +10209,10 @@ function Wv(e) {
|
|
|
10212
10209
|
});
|
|
10213
10210
|
function k(A) {
|
|
10214
10211
|
D();
|
|
10215
|
-
const
|
|
10216
|
-
if (!
|
|
10212
|
+
const L = o.current;
|
|
10213
|
+
if (!L)
|
|
10217
10214
|
return;
|
|
10218
|
-
const U = Ei(
|
|
10215
|
+
const U = Ei(L);
|
|
10219
10216
|
function P(N) {
|
|
10220
10217
|
N.preventDefault();
|
|
10221
10218
|
}
|
|
@@ -10264,9 +10261,9 @@ function Wv(e) {
|
|
|
10264
10261
|
return;
|
|
10265
10262
|
p.current += 1;
|
|
10266
10263
|
const {
|
|
10267
|
-
x:
|
|
10264
|
+
x: L,
|
|
10268
10265
|
y: U
|
|
10269
|
-
} = f.current, P =
|
|
10266
|
+
} = f.current, P = L - A.clientX, N = U - A.clientY;
|
|
10270
10267
|
P ** 2 + N ** 2 > l ** 2 && D();
|
|
10271
10268
|
},
|
|
10272
10269
|
onMouseEnter(A) {
|
|
@@ -10315,12 +10312,12 @@ function Zu(e, t, n) {
|
|
|
10315
10312
|
lastChangedValueRef: w,
|
|
10316
10313
|
onValueCommitted: A
|
|
10317
10314
|
} = Ou(), {
|
|
10318
|
-
disabled:
|
|
10315
|
+
disabled: L,
|
|
10319
10316
|
readOnly: U,
|
|
10320
10317
|
value: P,
|
|
10321
10318
|
inputValue: N
|
|
10322
|
-
} = D, T = P != null && (n ? P >= b : P <= y), H = i ||
|
|
10323
|
-
function
|
|
10319
|
+
} = D, T = P != null && (n ? P >= b : P <= y), H = i || L || T, F = n ? Pv : _v;
|
|
10320
|
+
function R(_) {
|
|
10324
10321
|
const v = !s.current;
|
|
10325
10322
|
if (s.current = !0, !v) {
|
|
10326
10323
|
w.current = k.current;
|
|
@@ -10328,12 +10325,12 @@ function Zu(e, t, n) {
|
|
|
10328
10325
|
}
|
|
10329
10326
|
const z = Vt(N, S, c.current);
|
|
10330
10327
|
if (z !== null) {
|
|
10331
|
-
const
|
|
10332
|
-
C(z,
|
|
10328
|
+
const K = pt(F, _);
|
|
10329
|
+
C(z, K), K.isCanceled || (k.current = z);
|
|
10333
10330
|
}
|
|
10334
10331
|
}
|
|
10335
10332
|
const {
|
|
10336
|
-
pointerHandlers:
|
|
10333
|
+
pointerHandlers: Y,
|
|
10337
10334
|
shouldSkipClick: Q
|
|
10338
10335
|
} = Wv({
|
|
10339
10336
|
disabled: H || U,
|
|
@@ -10343,14 +10340,14 @@ function Zu(e, t, n) {
|
|
|
10343
10340
|
return f(v, {
|
|
10344
10341
|
direction: n ? 1 : -1,
|
|
10345
10342
|
event: _,
|
|
10346
|
-
reason:
|
|
10343
|
+
reason: F
|
|
10347
10344
|
});
|
|
10348
10345
|
},
|
|
10349
10346
|
onStop(_) {
|
|
10350
10347
|
const v = w.current ?? k.current;
|
|
10351
|
-
A(v, Ut(
|
|
10348
|
+
A(v, Ut(F, _));
|
|
10352
10349
|
}
|
|
10353
|
-
}),
|
|
10350
|
+
}), ae = {
|
|
10354
10351
|
disabled: H,
|
|
10355
10352
|
"aria-label": n ? "Increase" : "Decrease",
|
|
10356
10353
|
"aria-controls": p,
|
|
@@ -10359,26 +10356,26 @@ function Zu(e, t, n) {
|
|
|
10359
10356
|
// readers should be able to use the buttons.
|
|
10360
10357
|
tabIndex: -1,
|
|
10361
10358
|
style: Kv,
|
|
10362
|
-
...
|
|
10359
|
+
...Y,
|
|
10363
10360
|
onClick(_) {
|
|
10364
10361
|
const v = H || U;
|
|
10365
10362
|
if (_.defaultPrevented || v || Q(_))
|
|
10366
10363
|
return;
|
|
10367
|
-
|
|
10368
|
-
const z = d(_),
|
|
10364
|
+
R(_.nativeEvent);
|
|
10365
|
+
const z = d(_), K = k.current;
|
|
10369
10366
|
f(z, {
|
|
10370
10367
|
direction: n ? 1 : -1,
|
|
10371
10368
|
event: _.nativeEvent,
|
|
10372
|
-
reason:
|
|
10369
|
+
reason: F
|
|
10373
10370
|
});
|
|
10374
|
-
const
|
|
10375
|
-
|
|
10371
|
+
const q = w.current ?? k.current;
|
|
10372
|
+
q !== K && A(q, Ut(F, _.nativeEvent));
|
|
10376
10373
|
},
|
|
10377
10374
|
onPointerDown(_) {
|
|
10378
|
-
_.defaultPrevented || U || _.button || H || (
|
|
10375
|
+
_.defaultPrevented || U || _.button || H || (R(_.nativeEvent), w.current = null, jt(_.pointerType) || g(), Y.onPointerDown(_));
|
|
10379
10376
|
}
|
|
10380
10377
|
}, {
|
|
10381
|
-
getButtonProps:
|
|
10378
|
+
getButtonProps: re,
|
|
10382
10379
|
buttonRef: m
|
|
10383
10380
|
} = jv({
|
|
10384
10381
|
// Read-only steppers are exposed as unavailable through button disabled semantics, while
|
|
@@ -10394,7 +10391,7 @@ function Zu(e, t, n) {
|
|
|
10394
10391
|
return Ni("button", e, {
|
|
10395
10392
|
ref: [t, m],
|
|
10396
10393
|
state: x,
|
|
10397
|
-
props: [
|
|
10394
|
+
props: [ae, u, re],
|
|
10398
10395
|
stateAttributesMapping: Ci
|
|
10399
10396
|
});
|
|
10400
10397
|
}
|
|
@@ -10472,38 +10469,38 @@ const Zv = /* @__PURE__ */ new Set(["Backspace", "Delete", "ArrowLeft", "ArrowRi
|
|
|
10472
10469
|
locale: S,
|
|
10473
10470
|
inputRef: w,
|
|
10474
10471
|
onValueCommitted: A,
|
|
10475
|
-
lastChangedValueRef:
|
|
10472
|
+
lastChangedValueRef: L,
|
|
10476
10473
|
hasPendingCommitRef: U,
|
|
10477
10474
|
valueRef: P
|
|
10478
10475
|
} = Ou(), {
|
|
10479
10476
|
disabled: N,
|
|
10480
10477
|
readOnly: T,
|
|
10481
10478
|
required: H,
|
|
10482
|
-
value:
|
|
10483
|
-
inputValue:
|
|
10479
|
+
value: F,
|
|
10480
|
+
inputValue: R
|
|
10484
10481
|
} = D, {
|
|
10485
|
-
clearErrors:
|
|
10482
|
+
clearErrors: Y
|
|
10486
10483
|
} = Lu(), {
|
|
10487
10484
|
validationMode: Q,
|
|
10488
|
-
setTouched:
|
|
10489
|
-
invalid:
|
|
10485
|
+
setTouched: ae,
|
|
10486
|
+
invalid: re,
|
|
10490
10487
|
shouldValidateOnChange: m,
|
|
10491
10488
|
validation: x
|
|
10492
10489
|
} = xa(), {
|
|
10493
10490
|
labelId: _
|
|
10494
|
-
} = Fu(), v = Yv(N, w), z = j.useRef(!1),
|
|
10495
|
-
return Jv(w, d,
|
|
10496
|
-
var
|
|
10497
|
-
if (
|
|
10498
|
-
const
|
|
10499
|
-
|
|
10500
|
-
}
|
|
10501
|
-
}), Xv(
|
|
10502
|
-
if (
|
|
10491
|
+
} = Fu(), v = Yv(N, w), z = j.useRef(!1), K = j.useRef(null);
|
|
10492
|
+
return Jv(w, d, F, void 0, !N, y), it(() => {
|
|
10493
|
+
var B;
|
|
10494
|
+
if (K.current != null) {
|
|
10495
|
+
const G = K.current;
|
|
10496
|
+
K.current = null, (B = w.current) == null || B.setSelectionRange(G, G);
|
|
10497
|
+
}
|
|
10498
|
+
}), Xv(F, () => {
|
|
10499
|
+
if (Y(b), z.current && !m()) {
|
|
10503
10500
|
z.current = !1;
|
|
10504
10501
|
return;
|
|
10505
10502
|
}
|
|
10506
|
-
x.change(
|
|
10503
|
+
x.change(F);
|
|
10507
10504
|
}), Ni("input", t, {
|
|
10508
10505
|
ref: [n, w],
|
|
10509
10506
|
state: D,
|
|
@@ -10513,118 +10510,118 @@ const Zv = /* @__PURE__ */ new Set(["Backspace", "Delete", "ArrowLeft", "ArrowRi
|
|
|
10513
10510
|
disabled: N,
|
|
10514
10511
|
readOnly: T,
|
|
10515
10512
|
inputMode: f,
|
|
10516
|
-
value:
|
|
10513
|
+
value: R,
|
|
10517
10514
|
type: "text",
|
|
10518
10515
|
autoComplete: "off",
|
|
10519
10516
|
autoCorrect: "off",
|
|
10520
10517
|
spellCheck: "false",
|
|
10521
10518
|
"aria-roledescription": "Number field",
|
|
10522
|
-
"aria-invalid": !N &&
|
|
10519
|
+
"aria-invalid": !N && re ? !0 : void 0,
|
|
10523
10520
|
"aria-labelledby": _,
|
|
10524
10521
|
// If the server's locale does not match the client's locale, the formatting may not match,
|
|
10525
10522
|
// causing a hydration mismatch.
|
|
10526
10523
|
suppressHydrationWarning: !0,
|
|
10527
|
-
onFocus(
|
|
10528
|
-
|
|
10524
|
+
onFocus(B) {
|
|
10525
|
+
B.defaultPrevented || N || v(!0);
|
|
10529
10526
|
},
|
|
10530
|
-
onBlur(
|
|
10531
|
-
if (
|
|
10527
|
+
onBlur(B) {
|
|
10528
|
+
if (B.defaultPrevented || N || (ae(!0), v(!1), T))
|
|
10532
10529
|
return;
|
|
10533
|
-
const
|
|
10534
|
-
if (o.current = !0,
|
|
10535
|
-
const Fe = pt(sr,
|
|
10530
|
+
const G = !o.current, J = U.current;
|
|
10531
|
+
if (o.current = !0, R.trim() === "") {
|
|
10532
|
+
const Fe = pt(sr, B.nativeEvent);
|
|
10536
10533
|
if (C(null, Fe), Fe.isCanceled)
|
|
10537
10534
|
return;
|
|
10538
|
-
Q === "onBlur" && x.commit(null), (
|
|
10535
|
+
Q === "onBlur" && x.commit(null), (G || J || F !== null) && A(null, Ut(sr, B.nativeEvent));
|
|
10539
10536
|
return;
|
|
10540
10537
|
}
|
|
10541
|
-
const se = u.current,
|
|
10542
|
-
if (
|
|
10538
|
+
const se = u.current, M = Vt(R, S, se);
|
|
10539
|
+
if (M === null)
|
|
10543
10540
|
return;
|
|
10544
10541
|
const ue = Ai(se);
|
|
10545
10542
|
let xe;
|
|
10546
|
-
!
|
|
10547
|
-
const ze = Ut(Mo,
|
|
10543
|
+
!G && !ue ? xe = F : ue ? xe = Ku(M, se) : xe = M;
|
|
10544
|
+
const ze = Ut(Mo, B.nativeEvent), _e = F !== xe, $e = G || _e || J;
|
|
10548
10545
|
let Me = xe;
|
|
10549
10546
|
if (_e) {
|
|
10550
|
-
const Fe = pt(Mo,
|
|
10547
|
+
const Fe = pt(Mo, B.nativeEvent);
|
|
10551
10548
|
if (z.current = !0, C(xe, Fe), Fe.isCanceled) {
|
|
10552
10549
|
z.current = !1;
|
|
10553
10550
|
return;
|
|
10554
10551
|
}
|
|
10555
|
-
Me =
|
|
10552
|
+
Me = L.current, Me === F && (z.current = !1);
|
|
10556
10553
|
}
|
|
10557
10554
|
Q === "onBlur" && x.commit(Me), $e && A(Me, ze);
|
|
10558
10555
|
const Ue = ea(Me, S, se);
|
|
10559
|
-
|
|
10556
|
+
R !== Ue && k(Ue);
|
|
10560
10557
|
},
|
|
10561
|
-
onChange(
|
|
10562
|
-
if (
|
|
10558
|
+
onChange(B) {
|
|
10559
|
+
if (B.nativeEvent.defaultPrevented)
|
|
10563
10560
|
return;
|
|
10564
10561
|
o.current = !1;
|
|
10565
|
-
const
|
|
10566
|
-
if (
|
|
10567
|
-
k(
|
|
10562
|
+
const G = B.currentTarget.value;
|
|
10563
|
+
if (G.trim() === "") {
|
|
10564
|
+
k(G), C(null, pt(sr, B.nativeEvent));
|
|
10568
10565
|
return;
|
|
10569
10566
|
}
|
|
10570
10567
|
const J = s();
|
|
10571
|
-
if (!Array.from(
|
|
10568
|
+
if (!Array.from(G).every((ue) => Ro(ue) || or.test(ue) || J.has(ue) || // Bidi/format controls are stripped by `parseNumber`; don't let them reject the string
|
|
10572
10569
|
// (RTL locales insert them around exponent/currency signs, e.g. scientific notation).
|
|
10573
10570
|
kv.test(ue)))
|
|
10574
10571
|
return;
|
|
10575
|
-
const
|
|
10576
|
-
k(
|
|
10572
|
+
const M = Vt(G, S, u.current);
|
|
10573
|
+
k(G), M !== null && C(M, pt(Lv, B.nativeEvent));
|
|
10577
10574
|
},
|
|
10578
|
-
onKeyDown(
|
|
10579
|
-
if (
|
|
10575
|
+
onKeyDown(B) {
|
|
10576
|
+
if (B.defaultPrevented || T || N)
|
|
10580
10577
|
return;
|
|
10581
|
-
const
|
|
10582
|
-
let
|
|
10578
|
+
const G = B.nativeEvent, J = !o.current, se = s();
|
|
10579
|
+
let M = se.has(B.key);
|
|
10583
10580
|
const {
|
|
10584
10581
|
decimal: ue,
|
|
10585
10582
|
currency: xe,
|
|
10586
10583
|
percentSign: ze
|
|
10587
|
-
} = Ti(S, u.current), _e =
|
|
10584
|
+
} = Ti(S, u.current), _e = B.currentTarget.selectionStart, $e = B.currentTarget.selectionEnd, Me = _e === 0 && $e === R.length, Ue = (X) => _e != null && $e != null && X >= _e && X < $e;
|
|
10588
10585
|
[[or, Gu], [Po, qu]].forEach(([X, ne]) => {
|
|
10589
|
-
if (X.test(
|
|
10590
|
-
const ie =
|
|
10591
|
-
|
|
10586
|
+
if (X.test(B.key) && Array.from(se).some((ie) => X.test(ie))) {
|
|
10587
|
+
const ie = R.search(ne), Be = ie !== -1 && Ue(ie);
|
|
10588
|
+
M = !(or.test(R) || Po.test(R)) || Me || Be;
|
|
10592
10589
|
}
|
|
10593
10590
|
}), [ue, xe, ze].forEach((X) => {
|
|
10594
|
-
if (
|
|
10595
|
-
const ne =
|
|
10596
|
-
|
|
10591
|
+
if (B.key === X) {
|
|
10592
|
+
const ne = R.indexOf(X), ie = Ue(ne);
|
|
10593
|
+
M = ne === -1 || Me || ie;
|
|
10597
10594
|
}
|
|
10598
10595
|
});
|
|
10599
|
-
const Dt = Zv.has(
|
|
10596
|
+
const Dt = Zv.has(B.key), ot = B.key === "ArrowUp" || B.key === "ArrowDown";
|
|
10600
10597
|
if (
|
|
10601
10598
|
// Allow composition events (e.g., pinyin)
|
|
10602
10599
|
// event.nativeEvent.isComposing does not work in Safari:
|
|
10603
10600
|
// https://bugs.webkit.org/show_bug.cgi?id=165004
|
|
10604
|
-
|
|
10601
|
+
B.which === 229 || B.altKey && !ot || B.ctrlKey || B.metaKey || M || Ro(B.key) || Dt
|
|
10605
10602
|
)
|
|
10606
10603
|
return;
|
|
10607
10604
|
let st = null;
|
|
10608
|
-
if (
|
|
10605
|
+
if (B.key === "Home" && g != null ? st = g : B.key === "End" && h != null && (st = h), B.key.length > 1 && !ot && st === null)
|
|
10609
10606
|
return;
|
|
10610
|
-
const Xt = J ? Vt(
|
|
10611
|
-
|
|
10612
|
-
const O = Ut(ur,
|
|
10607
|
+
const Xt = J ? Vt(R, S, u.current) : null, Mt = c(B);
|
|
10608
|
+
B.preventDefault(), B.stopPropagation();
|
|
10609
|
+
const O = Ut(ur, G);
|
|
10613
10610
|
let $ = !1;
|
|
10614
|
-
(ot || st !== null) && (o.current = !0), ot ? (J || (
|
|
10615
|
-
direction:
|
|
10611
|
+
(ot || st !== null) && (o.current = !0), ot ? (J || (L.current = P.current), $ = p(Mt, {
|
|
10612
|
+
direction: B.key === "ArrowUp" ? 1 : -1,
|
|
10616
10613
|
currentValue: Xt,
|
|
10617
|
-
event:
|
|
10614
|
+
event: G,
|
|
10618
10615
|
reason: ur
|
|
10619
|
-
})) : st !== null && ($ = C(st, pt(ur,
|
|
10616
|
+
})) : st !== null && ($ = C(st, pt(ur, G))), $ && A(L.current, O);
|
|
10620
10617
|
},
|
|
10621
|
-
onPaste(
|
|
10618
|
+
onPaste(B) {
|
|
10622
10619
|
var ze, _e;
|
|
10623
|
-
if (
|
|
10620
|
+
if (B.defaultPrevented || T || N)
|
|
10624
10621
|
return;
|
|
10625
|
-
let
|
|
10622
|
+
let G = "";
|
|
10626
10623
|
try {
|
|
10627
|
-
|
|
10624
|
+
G = ((ze = B.clipboardData) == null ? void 0 : ze.getData("text/plain")) ?? "";
|
|
10628
10625
|
} catch {
|
|
10629
10626
|
if (process.env.NODE_ENV !== "production") {
|
|
10630
10627
|
const $e = ((_e = nt.captureOwnerStack) == null ? void 0 : _e.call(nt)) || "";
|
|
@@ -10632,11 +10629,11 @@ const Zv = /* @__PURE__ */ new Set(["Backspace", "Delete", "ArrowLeft", "ArrowRi
|
|
|
10632
10629
|
}
|
|
10633
10630
|
return;
|
|
10634
10631
|
}
|
|
10635
|
-
|
|
10636
|
-
const J =
|
|
10637
|
-
xe !== null && (o.current = !1,
|
|
10632
|
+
B.preventDefault();
|
|
10633
|
+
const J = B.currentTarget, se = J.selectionStart, M = J.selectionEnd, ue = R.slice(0, se) + G + R.slice(M), xe = Vt(ue, S, u.current);
|
|
10634
|
+
xe !== null && (o.current = !1, K.current = se + G.length, C(xe, pt(Mv, B.nativeEvent)), k(ue));
|
|
10638
10635
|
}
|
|
10639
|
-
}, l, (
|
|
10636
|
+
}, l, (B) => x.getValidationProps(N, B)],
|
|
10640
10637
|
stateAttributesMapping: Ci
|
|
10641
10638
|
});
|
|
10642
10639
|
});
|
|
@@ -10654,11 +10651,11 @@ function ac({
|
|
|
10654
10651
|
...i
|
|
10655
10652
|
}) {
|
|
10656
10653
|
let l = j.useId();
|
|
10657
|
-
return e && (l = e), /* @__PURE__ */
|
|
10654
|
+
return e && (l = e), /* @__PURE__ */ I.jsxs(
|
|
10658
10655
|
Yu,
|
|
10659
10656
|
{
|
|
10660
10657
|
...i,
|
|
10661
|
-
render: (o, u) => /* @__PURE__ */
|
|
10658
|
+
render: (o, u) => /* @__PURE__ */ I.jsx(
|
|
10662
10659
|
Wd,
|
|
10663
10660
|
{
|
|
10664
10661
|
size: a,
|
|
@@ -10672,13 +10669,13 @@ function ac({
|
|
|
10672
10669
|
}
|
|
10673
10670
|
),
|
|
10674
10671
|
children: [
|
|
10675
|
-
/* @__PURE__ */
|
|
10676
|
-
/* @__PURE__ */
|
|
10677
|
-
/* @__PURE__ */
|
|
10672
|
+
/* @__PURE__ */ I.jsx(nc, { ...i }),
|
|
10673
|
+
/* @__PURE__ */ I.jsx(Jd, { htmlFor: l, children: t }),
|
|
10674
|
+
/* @__PURE__ */ I.jsx(
|
|
10678
10675
|
tc,
|
|
10679
10676
|
{
|
|
10680
10677
|
id: l,
|
|
10681
|
-
render: (o, u) => /* @__PURE__ */
|
|
10678
|
+
render: (o, u) => /* @__PURE__ */ I.jsx(
|
|
10682
10679
|
Kd,
|
|
10683
10680
|
{
|
|
10684
10681
|
"aria-describedby": `${l}-helper-text`,
|
|
@@ -10693,7 +10690,7 @@ function ac({
|
|
|
10693
10690
|
slotProps: {
|
|
10694
10691
|
input: o
|
|
10695
10692
|
},
|
|
10696
|
-
endAdornment: /* @__PURE__ */
|
|
10693
|
+
endAdornment: /* @__PURE__ */ I.jsxs(
|
|
10697
10694
|
Yd,
|
|
10698
10695
|
{
|
|
10699
10696
|
position: "end",
|
|
@@ -10711,11 +10708,11 @@ function ac({
|
|
|
10711
10708
|
}
|
|
10712
10709
|
},
|
|
10713
10710
|
children: [
|
|
10714
|
-
/* @__PURE__ */
|
|
10711
|
+
/* @__PURE__ */ I.jsx(
|
|
10715
10712
|
Qu,
|
|
10716
10713
|
{
|
|
10717
|
-
render: /* @__PURE__ */
|
|
10718
|
-
children: /* @__PURE__ */
|
|
10714
|
+
render: /* @__PURE__ */ I.jsx(ul, { size: a, "aria-label": "Increase" }),
|
|
10715
|
+
children: /* @__PURE__ */ I.jsx(
|
|
10719
10716
|
Xd,
|
|
10720
10717
|
{
|
|
10721
10718
|
fontSize: a,
|
|
@@ -10724,11 +10721,11 @@ function ac({
|
|
|
10724
10721
|
)
|
|
10725
10722
|
}
|
|
10726
10723
|
),
|
|
10727
|
-
/* @__PURE__ */
|
|
10724
|
+
/* @__PURE__ */ I.jsx(
|
|
10728
10725
|
ec,
|
|
10729
10726
|
{
|
|
10730
|
-
render: /* @__PURE__ */
|
|
10731
|
-
children: /* @__PURE__ */
|
|
10727
|
+
render: /* @__PURE__ */ I.jsx(ul, { size: a, "aria-label": "Decrease" }),
|
|
10728
|
+
children: /* @__PURE__ */ I.jsx(
|
|
10732
10729
|
Zd,
|
|
10733
10730
|
{
|
|
10734
10731
|
fontSize: a,
|
|
@@ -10765,10 +10762,10 @@ function rc(e) {
|
|
|
10765
10762
|
return t.length !== 2 ? !1 : Qv.test(t[0]) && ey.test(t[1]);
|
|
10766
10763
|
}
|
|
10767
10764
|
function ty({ value: e, label: t, onBlur: n, i18nRef: a, hidden: r }) {
|
|
10768
|
-
const [i, l] =
|
|
10765
|
+
const [i, l] = be(e), [o, u] = be(!1);
|
|
10769
10766
|
return Pe(() => {
|
|
10770
10767
|
l(e), u(!1);
|
|
10771
|
-
}, [e]), /* @__PURE__ */
|
|
10768
|
+
}, [e]), /* @__PURE__ */ I.jsx(
|
|
10772
10769
|
Qd,
|
|
10773
10770
|
{
|
|
10774
10771
|
sx: { display: r ? "none" : void 0 },
|
|
@@ -11560,106 +11557,106 @@ function e0(e, t, n, {
|
|
|
11560
11557
|
areMergedPropsEqual: o
|
|
11561
11558
|
};
|
|
11562
11559
|
function k(A) {
|
|
11563
|
-
const [
|
|
11564
|
-
const { reactReduxForwardedRef:
|
|
11565
|
-
return [A.context,
|
|
11560
|
+
const [L, U, P] = j.useMemo(() => {
|
|
11561
|
+
const { reactReduxForwardedRef: M, ...ue } = A;
|
|
11562
|
+
return [A.context, M, ue];
|
|
11566
11563
|
}, [A]), N = j.useMemo(() => {
|
|
11567
|
-
let
|
|
11568
|
-
if (
|
|
11564
|
+
let M = c;
|
|
11565
|
+
if (L != null && L.Consumer && process.env.NODE_ENV !== "production") {
|
|
11569
11566
|
if (!/* @__PURE__ */ Sy(
|
|
11570
11567
|
// @ts-ignore
|
|
11571
|
-
/* @__PURE__ */ j.createElement(
|
|
11568
|
+
/* @__PURE__ */ j.createElement(L.Consumer, null)
|
|
11572
11569
|
))
|
|
11573
11570
|
throw new Error(
|
|
11574
11571
|
"You must pass a valid React context consumer as `props.context`"
|
|
11575
11572
|
);
|
|
11576
|
-
|
|
11573
|
+
M = L;
|
|
11577
11574
|
}
|
|
11578
|
-
return
|
|
11579
|
-
}, [
|
|
11580
|
-
if (process.env.NODE_ENV !== "production" && !H && !
|
|
11575
|
+
return M;
|
|
11576
|
+
}, [L, c]), T = j.useContext(N), H = !!A.store && !!A.store.getState && !!A.store.dispatch, F = !!T && !!T.store;
|
|
11577
|
+
if (process.env.NODE_ENV !== "production" && !H && !F)
|
|
11581
11578
|
throw new Error(
|
|
11582
11579
|
`Could not find "store" in the context of "${C}". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to ${C} in connect options.`
|
|
11583
11580
|
);
|
|
11584
|
-
const
|
|
11581
|
+
const R = H ? A.store : T.store, Y = F ? T.getServerState : R.getState, Q = j.useMemo(() => ky(R.dispatch, D), [R]), [ae, re] = j.useMemo(() => {
|
|
11585
11582
|
if (!h) return Ky;
|
|
11586
|
-
const
|
|
11587
|
-
|
|
11583
|
+
const M = gc(
|
|
11584
|
+
R,
|
|
11588
11585
|
H ? void 0 : T.subscription
|
|
11589
|
-
), ue =
|
|
11590
|
-
return [
|
|
11591
|
-
}, [
|
|
11586
|
+
), ue = M.notifyNestedSubs.bind(M);
|
|
11587
|
+
return [M, ue];
|
|
11588
|
+
}, [R, H, T]), m = j.useMemo(() => H ? T : {
|
|
11592
11589
|
...T,
|
|
11593
|
-
subscription:
|
|
11594
|
-
}, [H, T,
|
|
11590
|
+
subscription: ae
|
|
11591
|
+
}, [H, T, ae]), x = j.useRef(void 0), _ = j.useRef(P), v = j.useRef(void 0), z = j.useRef(!1), K = j.useRef(!1), q = j.useRef(
|
|
11595
11592
|
void 0
|
|
11596
11593
|
);
|
|
11597
|
-
ua(() => (
|
|
11598
|
-
|
|
11594
|
+
ua(() => (K.current = !0, () => {
|
|
11595
|
+
K.current = !1;
|
|
11599
11596
|
}), []);
|
|
11600
|
-
const
|
|
11597
|
+
const W = j.useMemo(() => () => v.current && P === _.current ? v.current : Q(R.getState(), P), [R, P]), B = j.useMemo(() => (ue) => ae ? Zy(
|
|
11601
11598
|
h,
|
|
11602
|
-
|
|
11603
|
-
|
|
11599
|
+
R,
|
|
11600
|
+
ae,
|
|
11604
11601
|
// @ts-ignore
|
|
11605
11602
|
Q,
|
|
11606
11603
|
_,
|
|
11607
11604
|
x,
|
|
11608
11605
|
z,
|
|
11609
|
-
|
|
11606
|
+
K,
|
|
11610
11607
|
v,
|
|
11611
|
-
|
|
11608
|
+
re,
|
|
11612
11609
|
ue
|
|
11613
11610
|
) : () => {
|
|
11614
|
-
}, [
|
|
11611
|
+
}, [ae]);
|
|
11615
11612
|
Jy(Xy, [
|
|
11616
11613
|
_,
|
|
11617
11614
|
x,
|
|
11618
11615
|
z,
|
|
11619
11616
|
P,
|
|
11620
11617
|
v,
|
|
11621
|
-
|
|
11618
|
+
re
|
|
11622
11619
|
]);
|
|
11623
|
-
let
|
|
11620
|
+
let G;
|
|
11624
11621
|
try {
|
|
11625
|
-
|
|
11622
|
+
G = j.useSyncExternalStore(
|
|
11626
11623
|
// TODO We're passing through a big wrapper that does a bunch of extra side effects besides subscribing
|
|
11627
|
-
|
|
11624
|
+
B,
|
|
11628
11625
|
// TODO This is incredibly hacky. We've already processed the store update and calculated new child props,
|
|
11629
11626
|
// TODO and we're just passing that through so it triggers a re-render for us rather than relying on `uSES`.
|
|
11630
|
-
|
|
11631
|
-
|
|
11627
|
+
W,
|
|
11628
|
+
Y ? () => Q(Y(), P) : W
|
|
11632
11629
|
);
|
|
11633
|
-
} catch (
|
|
11634
|
-
throw
|
|
11630
|
+
} catch (M) {
|
|
11631
|
+
throw q.current && (M.message += `
|
|
11635
11632
|
The error may be correlated with this previous error:
|
|
11636
|
-
${
|
|
11633
|
+
${q.current.stack}
|
|
11637
11634
|
|
|
11638
|
-
`),
|
|
11635
|
+
`), M;
|
|
11639
11636
|
}
|
|
11640
11637
|
ua(() => {
|
|
11641
|
-
|
|
11638
|
+
q.current = void 0, v.current = void 0, x.current = G;
|
|
11642
11639
|
});
|
|
11643
11640
|
const J = j.useMemo(() => (
|
|
11644
11641
|
// @ts-ignore
|
|
11645
11642
|
/* @__PURE__ */ j.createElement(
|
|
11646
11643
|
b,
|
|
11647
11644
|
{
|
|
11648
|
-
...
|
|
11645
|
+
...G,
|
|
11649
11646
|
ref: U
|
|
11650
11647
|
}
|
|
11651
11648
|
)
|
|
11652
|
-
), [U, b,
|
|
11649
|
+
), [U, b, G]);
|
|
11653
11650
|
return j.useMemo(() => h ? /* @__PURE__ */ j.createElement(N.Provider, { value: m }, J) : J, [N, J, m]);
|
|
11654
11651
|
}
|
|
11655
11652
|
const w = j.memo(k);
|
|
11656
11653
|
if (w.WrappedComponent = b, w.displayName = k.displayName = C, u) {
|
|
11657
|
-
const
|
|
11654
|
+
const L = j.forwardRef(
|
|
11658
11655
|
function(P, N) {
|
|
11659
11656
|
return /* @__PURE__ */ j.createElement(w, { ...P, reactReduxForwardedRef: N });
|
|
11660
11657
|
}
|
|
11661
11658
|
);
|
|
11662
|
-
return
|
|
11659
|
+
return L.displayName = C, L.WrappedComponent = b, /* @__PURE__ */ qr(L, b);
|
|
11663
11660
|
}
|
|
11664
11661
|
return /* @__PURE__ */ qr(w, b);
|
|
11665
11662
|
};
|
|
@@ -11966,7 +11963,7 @@ function Cc(e, t) {
|
|
|
11966
11963
|
return !0;
|
|
11967
11964
|
}
|
|
11968
11965
|
function de(e, t) {
|
|
11969
|
-
const n =
|
|
11966
|
+
const n = be(() => ({
|
|
11970
11967
|
inputs: t,
|
|
11971
11968
|
result: e()
|
|
11972
11969
|
}))[0], a = Se(!0), r = Se(n), l = a.current || !!(t && r.current.inputs && Cc(t, r.current.inputs)) ? r.current : {
|
|
@@ -13637,7 +13634,7 @@ var xS = (e = fs, t) => {
|
|
|
13637
13634
|
}
|
|
13638
13635
|
return e;
|
|
13639
13636
|
};
|
|
13640
|
-
function
|
|
13637
|
+
function ge(e, t) {
|
|
13641
13638
|
return e instanceof Object && "type" in e && e.type === t;
|
|
13642
13639
|
}
|
|
13643
13640
|
const kS = (e) => ({
|
|
@@ -13733,7 +13730,7 @@ var $S = (e) => ({
|
|
|
13733
13730
|
getState: t,
|
|
13734
13731
|
dispatch: n
|
|
13735
13732
|
}) => (a) => (r) => {
|
|
13736
|
-
if (!
|
|
13733
|
+
if (!ge(r, "LIFT")) {
|
|
13737
13734
|
a(r);
|
|
13738
13735
|
return;
|
|
13739
13736
|
}
|
|
@@ -13766,7 +13763,7 @@ var $S = (e) => ({
|
|
|
13766
13763
|
viewport: f
|
|
13767
13764
|
}));
|
|
13768
13765
|
}, US = (e) => () => (t) => (n) => {
|
|
13769
|
-
|
|
13766
|
+
ge(n, "INITIAL_PUBLISH") && e.dragging(), ge(n, "DROP_ANIMATE") && e.dropping(n.payload.completed.result.reason), (ge(n, "FLUSH") || ge(n, "DROP_COMPLETE")) && e.resting(), t(n);
|
|
13770
13767
|
};
|
|
13771
13768
|
const Wi = {
|
|
13772
13769
|
outOfTheWay: "cubic-bezier(0.2, 0, 0, 1)",
|
|
@@ -13864,7 +13861,7 @@ const YS = ({
|
|
|
13864
13861
|
getState: e,
|
|
13865
13862
|
dispatch: t
|
|
13866
13863
|
}) => (n) => (a) => {
|
|
13867
|
-
if (!
|
|
13864
|
+
if (!ge(a, "DROP")) {
|
|
13868
13865
|
n(a);
|
|
13869
13866
|
return;
|
|
13870
13867
|
}
|
|
@@ -13968,7 +13965,7 @@ function XS({
|
|
|
13968
13965
|
isActive: i
|
|
13969
13966
|
};
|
|
13970
13967
|
}
|
|
13971
|
-
const ZS = (e) =>
|
|
13968
|
+
const ZS = (e) => ge(e, "DROP_COMPLETE") || ge(e, "DROP_ANIMATE") || ge(e, "FLUSH"), QS = (e) => {
|
|
13972
13969
|
const t = XS({
|
|
13973
13970
|
onWindowScroll: (n) => {
|
|
13974
13971
|
e.dispatch(OS({
|
|
@@ -13977,7 +13974,7 @@ const ZS = (e) => be(e, "DROP_COMPLETE") || be(e, "DROP_ANIMATE") || be(e, "FLUS
|
|
|
13977
13974
|
}
|
|
13978
13975
|
});
|
|
13979
13976
|
return (n) => (a) => {
|
|
13980
|
-
!t.isActive() &&
|
|
13977
|
+
!t.isActive() && ge(a, "INITIAL_PUBLISH") && t.start(), t.isActive() && ZS(a) && t.stop(), n(a);
|
|
13981
13978
|
};
|
|
13982
13979
|
};
|
|
13983
13980
|
var e1 = (e) => {
|
|
@@ -14122,21 +14119,21 @@ var i1 = (e, t) => {
|
|
|
14122
14119
|
}, l1 = (e, t) => {
|
|
14123
14120
|
const n = i1(e, t);
|
|
14124
14121
|
return (a) => (r) => (i) => {
|
|
14125
|
-
if (
|
|
14122
|
+
if (ge(i, "BEFORE_INITIAL_CAPTURE")) {
|
|
14126
14123
|
n.beforeCapture(i.payload.draggableId, i.payload.movementMode);
|
|
14127
14124
|
return;
|
|
14128
14125
|
}
|
|
14129
|
-
if (
|
|
14126
|
+
if (ge(i, "INITIAL_PUBLISH")) {
|
|
14130
14127
|
const o = i.payload.critical;
|
|
14131
14128
|
n.beforeStart(o, i.payload.movementMode), r(i), n.start(o, i.payload.movementMode);
|
|
14132
14129
|
return;
|
|
14133
14130
|
}
|
|
14134
|
-
if (
|
|
14131
|
+
if (ge(i, "DROP_COMPLETE")) {
|
|
14135
14132
|
const o = i.payload.completed.result;
|
|
14136
14133
|
n.flush(), r(i), n.drop(o);
|
|
14137
14134
|
return;
|
|
14138
14135
|
}
|
|
14139
|
-
if (r(i),
|
|
14136
|
+
if (r(i), ge(i, "FLUSH")) {
|
|
14140
14137
|
n.abort();
|
|
14141
14138
|
return;
|
|
14142
14139
|
}
|
|
@@ -14145,7 +14142,7 @@ var i1 = (e, t) => {
|
|
|
14145
14142
|
};
|
|
14146
14143
|
};
|
|
14147
14144
|
const o1 = (e) => (t) => (n) => {
|
|
14148
|
-
if (!
|
|
14145
|
+
if (!ge(n, "DROP_ANIMATION_FINISHED")) {
|
|
14149
14146
|
t(n);
|
|
14150
14147
|
return;
|
|
14151
14148
|
}
|
|
@@ -14159,7 +14156,7 @@ const o1 = (e) => (t) => (n) => {
|
|
|
14159
14156
|
n && (cancelAnimationFrame(n), n = null), t && (t(), t = null);
|
|
14160
14157
|
}
|
|
14161
14158
|
return (r) => (i) => {
|
|
14162
|
-
if ((
|
|
14159
|
+
if ((ge(i, "FLUSH") || ge(i, "DROP_COMPLETE") || ge(i, "DROP_ANIMATION_FINISHED")) && a(), r(i), !ge(i, "DROP_ANIMATE"))
|
|
14163
14160
|
return;
|
|
14164
14161
|
const l = {
|
|
14165
14162
|
eventName: "scroll",
|
|
@@ -14178,20 +14175,20 @@ const o1 = (e) => (t) => (n) => {
|
|
|
14178
14175
|
};
|
|
14179
14176
|
};
|
|
14180
14177
|
var u1 = (e) => () => (t) => (n) => {
|
|
14181
|
-
(
|
|
14178
|
+
(ge(n, "DROP_COMPLETE") || ge(n, "FLUSH") || ge(n, "DROP_ANIMATE")) && e.stopPublishing(), t(n);
|
|
14182
14179
|
}, c1 = (e) => {
|
|
14183
14180
|
let t = !1;
|
|
14184
14181
|
return () => (n) => (a) => {
|
|
14185
|
-
if (
|
|
14182
|
+
if (ge(a, "INITIAL_PUBLISH")) {
|
|
14186
14183
|
t = !0, e.tryRecordFocus(a.payload.critical.draggable.id), n(a), e.tryRestoreFocusRecorded();
|
|
14187
14184
|
return;
|
|
14188
14185
|
}
|
|
14189
14186
|
if (n(a), !!t) {
|
|
14190
|
-
if (
|
|
14187
|
+
if (ge(a, "FLUSH")) {
|
|
14191
14188
|
t = !1, e.tryRestoreFocusRecorded();
|
|
14192
14189
|
return;
|
|
14193
14190
|
}
|
|
14194
|
-
if (
|
|
14191
|
+
if (ge(a, "DROP_COMPLETE")) {
|
|
14195
14192
|
t = !1;
|
|
14196
14193
|
const r = a.payload.completed.result;
|
|
14197
14194
|
r.combine && e.tryShiftRecord(r.draggableId, r.combine.draggableId), e.tryRestoreFocusRecorded();
|
|
@@ -14199,13 +14196,13 @@ var u1 = (e) => () => (t) => (n) => {
|
|
|
14199
14196
|
}
|
|
14200
14197
|
};
|
|
14201
14198
|
};
|
|
14202
|
-
const d1 = (e) =>
|
|
14199
|
+
const d1 = (e) => ge(e, "DROP_COMPLETE") || ge(e, "DROP_ANIMATE") || ge(e, "FLUSH");
|
|
14203
14200
|
var p1 = (e) => (t) => (n) => (a) => {
|
|
14204
14201
|
if (d1(a)) {
|
|
14205
14202
|
e.stop(), n(a);
|
|
14206
14203
|
return;
|
|
14207
14204
|
}
|
|
14208
|
-
if (
|
|
14205
|
+
if (ge(a, "INITIAL_PUBLISH")) {
|
|
14209
14206
|
n(a);
|
|
14210
14207
|
const r = t.getState();
|
|
14211
14208
|
r.phase !== "DRAGGING" && (process.env.NODE_ENV !== "production" ? E(!1, "Expected phase to be DRAGGING after INITIAL_PUBLISH") : E()), e.start(r);
|
|
@@ -14214,7 +14211,7 @@ var p1 = (e) => (t) => (n) => (a) => {
|
|
|
14214
14211
|
n(a), e.scroll(t.getState());
|
|
14215
14212
|
};
|
|
14216
14213
|
const f1 = (e) => (t) => (n) => {
|
|
14217
|
-
if (t(n), !
|
|
14214
|
+
if (t(n), !ge(n, "PUBLISH_WHILE_DRAGGING"))
|
|
14218
14215
|
return;
|
|
14219
14216
|
const a = e.getState();
|
|
14220
14217
|
a.phase === "DROP_PENDING" && (a.isWaiting || e.dispatch(Wc({
|
|
@@ -15871,7 +15868,7 @@ function jw({
|
|
|
15871
15868
|
e.release(), d = "COMPLETED";
|
|
15872
15869
|
}
|
|
15873
15870
|
d !== "PRE_DRAG" && (w(), process.env.NODE_ENV !== "production" ? E(!1, `Cannot lift in phase ${d}`) : E()), n.dispatch(CS(S.liftActionArgs)), d = "DRAGGING";
|
|
15874
|
-
function A(
|
|
15871
|
+
function A(L, U = {
|
|
15875
15872
|
shouldBlockNextClick: !1
|
|
15876
15873
|
}) {
|
|
15877
15874
|
if (S.cleanup(), U.shouldBlockNextClick) {
|
|
@@ -15887,7 +15884,7 @@ function jw({
|
|
|
15887
15884
|
setTimeout(P);
|
|
15888
15885
|
}
|
|
15889
15886
|
w(), n.dispatch(Wc({
|
|
15890
|
-
reason:
|
|
15887
|
+
reason: L
|
|
15891
15888
|
}));
|
|
15892
15889
|
}
|
|
15893
15890
|
return {
|
|
@@ -15898,15 +15895,15 @@ function jw({
|
|
|
15898
15895
|
shouldWarn: !1
|
|
15899
15896
|
}),
|
|
15900
15897
|
shouldRespectForcePress: p,
|
|
15901
|
-
drop: (
|
|
15902
|
-
cancel: (
|
|
15898
|
+
drop: (L) => A("DROP", L),
|
|
15899
|
+
cancel: (L) => A("CANCEL", L),
|
|
15903
15900
|
...S.actions
|
|
15904
15901
|
};
|
|
15905
15902
|
}
|
|
15906
15903
|
function y(S) {
|
|
15907
|
-
const w = wn((
|
|
15904
|
+
const w = wn((L) => {
|
|
15908
15905
|
g(() => qc({
|
|
15909
|
-
client:
|
|
15906
|
+
client: L
|
|
15910
15907
|
}));
|
|
15911
15908
|
});
|
|
15912
15909
|
return {
|
|
@@ -15970,7 +15967,7 @@ function zw({
|
|
|
15970
15967
|
customSensors: a,
|
|
15971
15968
|
enableDefaultSensors: r
|
|
15972
15969
|
}) {
|
|
15973
|
-
const i = [...r ? Vw : [], ...a || []], l =
|
|
15970
|
+
const i = [...r ? Vw : [], ...a || []], l = be(() => aw())[0], o = Z(function(b, y) {
|
|
15974
15971
|
An(b) && !An(y) && l.tryAbandon();
|
|
15975
15972
|
}, [l]);
|
|
15976
15973
|
Qe(function() {
|
|
@@ -16078,15 +16075,15 @@ function Hw(e) {
|
|
|
16078
16075
|
tryAbort: k
|
|
16079
16076
|
}), [S, k]);
|
|
16080
16077
|
n(w);
|
|
16081
|
-
const A = Z((P) => td(cn(l).getState(), P), []),
|
|
16078
|
+
const A = Z((P) => td(cn(l).getState(), P), []), L = Z(() => Rt(cn(l).getState()), []), U = de(() => ({
|
|
16082
16079
|
marshal: b,
|
|
16083
16080
|
focus: C,
|
|
16084
16081
|
contextId: t,
|
|
16085
16082
|
canLift: A,
|
|
16086
|
-
isMovementAllowed:
|
|
16083
|
+
isMovementAllowed: L,
|
|
16087
16084
|
dragHandleUsageInstructionsId: d,
|
|
16088
16085
|
registry: g
|
|
16089
|
-
}), [t, b, d, C, A,
|
|
16086
|
+
}), [t, b, d, C, A, L, g]);
|
|
16090
16087
|
return zw({
|
|
16091
16088
|
contextId: t,
|
|
16092
16089
|
store: D,
|
|
@@ -16646,23 +16643,23 @@ function DE(e) {
|
|
|
16646
16643
|
t.current && (process.env.NODE_ENV !== "production" ? E(!1, "Cannot collect a droppable while a drag is occurring") : E());
|
|
16647
16644
|
const w = l.current, A = w.getDroppableRef();
|
|
16648
16645
|
A || (process.env.NODE_ENV !== "production" ? E(!1, "Cannot collect without a droppable ref") : E());
|
|
16649
|
-
const
|
|
16646
|
+
const L = SE(A), U = {
|
|
16650
16647
|
ref: A,
|
|
16651
16648
|
descriptor: o,
|
|
16652
|
-
env:
|
|
16649
|
+
env: L,
|
|
16653
16650
|
scrollOptions: S
|
|
16654
16651
|
};
|
|
16655
16652
|
t.current = U;
|
|
16656
16653
|
const P = xE({
|
|
16657
16654
|
ref: A,
|
|
16658
16655
|
descriptor: o,
|
|
16659
|
-
env:
|
|
16656
|
+
env: L,
|
|
16660
16657
|
windowScroll: k,
|
|
16661
16658
|
direction: w.direction,
|
|
16662
16659
|
isDropDisabled: w.isDropDisabled,
|
|
16663
16660
|
isCombineEnabled: w.isCombineEnabled,
|
|
16664
16661
|
shouldClipSubject: !w.ignoreContainerClipping
|
|
16665
|
-
}), N =
|
|
16662
|
+
}), N = L.closestScrollable;
|
|
16666
16663
|
return N && (N.setAttribute(Ss.contextId, n.contextId), N.addEventListener("scroll", f, Ns(U.scrollOptions)), process.env.NODE_ENV !== "production" && yE(N)), P;
|
|
16667
16664
|
}, [n.contextId, o, f, l]), g = Z(() => {
|
|
16668
16665
|
const k = t.current, S = Zn(k);
|
|
@@ -16741,7 +16738,7 @@ const Ts = {
|
|
|
16741
16738
|
onTransitionEnd: r,
|
|
16742
16739
|
onClose: i,
|
|
16743
16740
|
contextId: l
|
|
16744
|
-
} = e, [o, u] =
|
|
16741
|
+
} = e, [o, u] = be(e.animate === "open");
|
|
16745
16742
|
Pe(() => o ? a !== "open" ? (n(), u(!1), Dr) : t.current ? Dr : (t.current = setTimeout(() => {
|
|
16746
16743
|
t.current = null, u(!1);
|
|
16747
16744
|
}), n) : Dr, [a, o, n]);
|
|
@@ -16895,15 +16892,15 @@ const ME = (e) => {
|
|
|
16895
16892
|
}, ({
|
|
16896
16893
|
onClose: T,
|
|
16897
16894
|
data: H,
|
|
16898
|
-
animate:
|
|
16895
|
+
animate: F
|
|
16899
16896
|
}) => pe.createElement(IE, {
|
|
16900
16897
|
placeholder: H,
|
|
16901
16898
|
onClose: T,
|
|
16902
16899
|
innerRef: S,
|
|
16903
|
-
animate:
|
|
16900
|
+
animate: F,
|
|
16904
16901
|
contextId: n,
|
|
16905
16902
|
onTransitionEnd: w
|
|
16906
|
-
})), [n, w, e.placeholder, e.shouldAnimatePlaceholder, S]),
|
|
16903
|
+
})), [n, w, e.placeholder, e.shouldAnimatePlaceholder, S]), L = de(() => ({
|
|
16907
16904
|
innerRef: D,
|
|
16908
16905
|
placeholder: A,
|
|
16909
16906
|
droppableProps: {
|
|
@@ -16921,19 +16918,19 @@ const ME = (e) => {
|
|
|
16921
16918
|
const {
|
|
16922
16919
|
dragging: T,
|
|
16923
16920
|
render: H
|
|
16924
|
-
} = g,
|
|
16921
|
+
} = g, F = pe.createElement(vd, {
|
|
16925
16922
|
draggableId: T.draggableId,
|
|
16926
16923
|
index: T.source.index,
|
|
16927
16924
|
isClone: !0,
|
|
16928
16925
|
isEnabled: !0,
|
|
16929
16926
|
shouldRespectForcePress: !1,
|
|
16930
16927
|
canDragInteractiveElements: !0
|
|
16931
|
-
}, (
|
|
16932
|
-
return ep.createPortal(
|
|
16928
|
+
}, (R, Y) => H(R, Y, T));
|
|
16929
|
+
return ep.createPortal(F, y());
|
|
16933
16930
|
}
|
|
16934
16931
|
return pe.createElement(al.Provider, {
|
|
16935
16932
|
value: P
|
|
16936
|
-
}, l(
|
|
16933
|
+
}, l(L, h), N());
|
|
16937
16934
|
};
|
|
16938
16935
|
function FE() {
|
|
16939
16936
|
return document.body || (process.env.NODE_ENV !== "production" ? E(!1, "document.body is not ready") : E()), document.body;
|
|
@@ -17059,7 +17056,7 @@ function zE({
|
|
|
17059
17056
|
setCurrentReference: l,
|
|
17060
17057
|
hiddenFields: o
|
|
17061
17058
|
}) {
|
|
17062
|
-
const [u, s] =
|
|
17059
|
+
const [u, s] = be(!1), [c, d] = be(""), [p, f] = be(0);
|
|
17063
17060
|
Pe(() => {
|
|
17064
17061
|
(async () => {
|
|
17065
17062
|
const N = await bu(
|
|
@@ -17079,7 +17076,7 @@ function zE({
|
|
|
17079
17076
|
s(T ? P : !1);
|
|
17080
17077
|
}, k = (P, N, T) => {
|
|
17081
17078
|
const H = e.map(
|
|
17082
|
-
(
|
|
17079
|
+
(F, R) => R === P ? F.map((Y, Q) => Q === N ? T : Y) : F
|
|
17083
17080
|
);
|
|
17084
17081
|
n(H);
|
|
17085
17082
|
}, S = (P) => {
|
|
@@ -17094,45 +17091,45 @@ function zE({
|
|
|
17094
17091
|
`/api/app-state/snippet/${encodeURIComponent(N)}`,
|
|
17095
17092
|
r.current
|
|
17096
17093
|
);
|
|
17097
|
-
}, []),
|
|
17094
|
+
}, []), L = (e ?? []).map((P, N) => N).filter((P) => P !== 0 && e[P][0] === i), U = ({ source: P, destination: N }) => {
|
|
17098
17095
|
if (!N) return;
|
|
17099
|
-
const T =
|
|
17100
|
-
|
|
17096
|
+
const T = L[P.index], H = L[N.index], F = [...e], [R] = F.splice(T, 1);
|
|
17097
|
+
F.splice(H, 0, R), n(F);
|
|
17101
17098
|
};
|
|
17102
|
-
return /* @__PURE__ */
|
|
17103
|
-
e == null ? void 0 : e.map((N, T) => T === 0 || N[0] !== i ? null : /* @__PURE__ */
|
|
17099
|
+
return /* @__PURE__ */ I.jsx(gt, { children: /* @__PURE__ */ I.jsx(qw, { onDragEnd: U, children: /* @__PURE__ */ I.jsx(VE, { droppableId: "droppable", children: (P) => /* @__PURE__ */ I.jsxs("div", { ref: P.innerRef, ...P.droppableProps, children: [
|
|
17100
|
+
e == null ? void 0 : e.map((N, T) => T === 0 || N[0] !== i ? null : /* @__PURE__ */ I.jsx(
|
|
17104
17101
|
fE,
|
|
17105
17102
|
{
|
|
17106
17103
|
draggableId: `draggable-${T}`,
|
|
17107
|
-
index:
|
|
17108
|
-
children: (H) => /* @__PURE__ */
|
|
17104
|
+
index: L.indexOf(T),
|
|
17105
|
+
children: (H) => /* @__PURE__ */ I.jsx("div", { ref: H.innerRef, ...H.draggableProps, children: /* @__PURE__ */ I.jsxs(
|
|
17109
17106
|
ei,
|
|
17110
17107
|
{
|
|
17111
17108
|
expanded: u === `panel${T}`,
|
|
17112
17109
|
onChange: D(`panel${T}`),
|
|
17113
17110
|
sx: { mb: "1px" },
|
|
17114
17111
|
children: [
|
|
17115
|
-
/* @__PURE__ */
|
|
17112
|
+
/* @__PURE__ */ I.jsxs(
|
|
17116
17113
|
ti,
|
|
17117
17114
|
{
|
|
17118
17115
|
"aria-controls": `panel${T}d-content`,
|
|
17119
17116
|
id: `panel${T}d-header`,
|
|
17120
|
-
expandIcon: /* @__PURE__ */
|
|
17117
|
+
expandIcon: /* @__PURE__ */ I.jsx(ii, {}),
|
|
17121
17118
|
children: [
|
|
17122
|
-
/* @__PURE__ */
|
|
17119
|
+
/* @__PURE__ */ I.jsx(
|
|
17123
17120
|
gt,
|
|
17124
17121
|
{
|
|
17125
17122
|
...H.dragHandleProps,
|
|
17126
|
-
onClick: (
|
|
17123
|
+
onClick: (F) => F.stopPropagation(),
|
|
17127
17124
|
sx: {
|
|
17128
17125
|
padding: "0px 8px",
|
|
17129
17126
|
cursor: "grab",
|
|
17130
17127
|
color: "text.secondary"
|
|
17131
17128
|
},
|
|
17132
|
-
children: /* @__PURE__ */
|
|
17129
|
+
children: /* @__PURE__ */ I.jsx(tp, {})
|
|
17133
17130
|
}
|
|
17134
17131
|
),
|
|
17135
|
-
/* @__PURE__ */
|
|
17132
|
+
/* @__PURE__ */ I.jsx(
|
|
17136
17133
|
yt,
|
|
17137
17134
|
{
|
|
17138
17135
|
component: "span",
|
|
@@ -17144,7 +17141,7 @@ function zE({
|
|
|
17144
17141
|
children: N[1]
|
|
17145
17142
|
}
|
|
17146
17143
|
),
|
|
17147
|
-
/* @__PURE__ */
|
|
17144
|
+
/* @__PURE__ */ I.jsx(
|
|
17148
17145
|
yt,
|
|
17149
17146
|
{
|
|
17150
17147
|
sx: {
|
|
@@ -17162,7 +17159,7 @@ function zE({
|
|
|
17162
17159
|
]
|
|
17163
17160
|
}
|
|
17164
17161
|
),
|
|
17165
|
-
/* @__PURE__ */
|
|
17162
|
+
/* @__PURE__ */ I.jsx(
|
|
17166
17163
|
ni,
|
|
17167
17164
|
{
|
|
17168
17165
|
sx: {
|
|
@@ -17171,93 +17168,93 @@ function zE({
|
|
|
17171
17168
|
gap: 2
|
|
17172
17169
|
},
|
|
17173
17170
|
children: N.map(
|
|
17174
|
-
(
|
|
17175
|
-
var
|
|
17171
|
+
(F, R) => {
|
|
17172
|
+
var Y, Q, ae;
|
|
17176
17173
|
return b.includes(
|
|
17177
|
-
(
|
|
17178
|
-
) ? /* @__PURE__ */
|
|
17174
|
+
(Y = h[R]) == null ? void 0 : Y.toLowerCase()
|
|
17175
|
+
) ? /* @__PURE__ */ I.jsx(
|
|
17179
17176
|
ty,
|
|
17180
17177
|
{
|
|
17181
17178
|
i18nRef: a,
|
|
17182
|
-
value:
|
|
17183
|
-
label: h[
|
|
17184
|
-
onBlur: (
|
|
17179
|
+
value: F,
|
|
17180
|
+
label: h[R],
|
|
17181
|
+
onBlur: (re) => {
|
|
17185
17182
|
k(
|
|
17186
17183
|
T,
|
|
17187
|
-
|
|
17188
|
-
|
|
17189
|
-
), l(
|
|
17184
|
+
R,
|
|
17185
|
+
re
|
|
17186
|
+
), l(re);
|
|
17190
17187
|
},
|
|
17191
|
-
hidden: g(
|
|
17188
|
+
hidden: g(R)
|
|
17192
17189
|
},
|
|
17193
|
-
|
|
17190
|
+
R
|
|
17194
17191
|
) : y.includes(
|
|
17195
|
-
(Q = h[
|
|
17196
|
-
) ? /* @__PURE__ */
|
|
17192
|
+
(Q = h[R]) == null ? void 0 : Q.toLowerCase()
|
|
17193
|
+
) ? /* @__PURE__ */ I.jsx(
|
|
17197
17194
|
cb,
|
|
17198
17195
|
{
|
|
17199
|
-
value:
|
|
17200
|
-
label: h[
|
|
17201
|
-
onBlur: (
|
|
17196
|
+
value: F,
|
|
17197
|
+
label: h[R],
|
|
17198
|
+
onBlur: (re) => {
|
|
17202
17199
|
k(
|
|
17203
17200
|
T,
|
|
17204
|
-
|
|
17205
|
-
|
|
17201
|
+
R,
|
|
17202
|
+
re
|
|
17206
17203
|
);
|
|
17207
17204
|
},
|
|
17208
|
-
hidden: g(
|
|
17205
|
+
hidden: g(R)
|
|
17209
17206
|
},
|
|
17210
|
-
|
|
17207
|
+
R
|
|
17211
17208
|
) : C.includes(
|
|
17212
|
-
(
|
|
17213
|
-
) ? /* @__PURE__ */
|
|
17209
|
+
(ae = h[R]) == null ? void 0 : ae.toLowerCase()
|
|
17210
|
+
) ? /* @__PURE__ */ I.jsx(
|
|
17214
17211
|
ac,
|
|
17215
17212
|
{
|
|
17216
17213
|
size: "small",
|
|
17217
|
-
value:
|
|
17218
|
-
label: h[
|
|
17214
|
+
value: F === "" || F == null ? null : Number(F),
|
|
17215
|
+
label: h[R],
|
|
17219
17216
|
min: 0,
|
|
17220
|
-
onValueChange: (
|
|
17217
|
+
onValueChange: (re) => {
|
|
17221
17218
|
k(
|
|
17222
17219
|
T,
|
|
17223
|
-
|
|
17224
|
-
|
|
17220
|
+
R,
|
|
17221
|
+
re
|
|
17225
17222
|
);
|
|
17226
17223
|
},
|
|
17227
|
-
hidden: g(
|
|
17224
|
+
hidden: g(R)
|
|
17228
17225
|
},
|
|
17229
|
-
|
|
17230
|
-
) : /* @__PURE__ */
|
|
17226
|
+
R
|
|
17227
|
+
) : /* @__PURE__ */ I.jsx(
|
|
17231
17228
|
ba,
|
|
17232
17229
|
{
|
|
17233
17230
|
size: "small",
|
|
17234
|
-
defaultValue:
|
|
17235
|
-
disabled:
|
|
17236
|
-
label: h[
|
|
17231
|
+
defaultValue: F,
|
|
17232
|
+
disabled: R === 1,
|
|
17233
|
+
label: h[R],
|
|
17237
17234
|
variant: "outlined",
|
|
17238
17235
|
fullWidth: !0,
|
|
17239
17236
|
multiline: !0,
|
|
17240
|
-
onFocus: (
|
|
17241
|
-
|
|
17237
|
+
onFocus: (re) => {
|
|
17238
|
+
R === w && A(re.target.value);
|
|
17242
17239
|
},
|
|
17243
|
-
onBlur: (
|
|
17240
|
+
onBlur: (re) => {
|
|
17244
17241
|
k(
|
|
17245
17242
|
T,
|
|
17246
|
-
|
|
17247
|
-
|
|
17243
|
+
R,
|
|
17244
|
+
re.target.value
|
|
17248
17245
|
);
|
|
17249
17246
|
},
|
|
17250
17247
|
sx: {
|
|
17251
|
-
display: g(
|
|
17248
|
+
display: g(R) ? "none" : void 0
|
|
17252
17249
|
}
|
|
17253
17250
|
},
|
|
17254
|
-
|
|
17251
|
+
R
|
|
17255
17252
|
);
|
|
17256
17253
|
}
|
|
17257
17254
|
)
|
|
17258
17255
|
}
|
|
17259
17256
|
),
|
|
17260
|
-
/* @__PURE__ */
|
|
17257
|
+
/* @__PURE__ */ I.jsx(Rd, { children: /* @__PURE__ */ I.jsx(ga, { onClick: () => S(T), children: /* @__PURE__ */ I.jsx(Hd, {}) }) })
|
|
17261
17258
|
]
|
|
17262
17259
|
},
|
|
17263
17260
|
T
|
|
@@ -17297,7 +17294,7 @@ function WE({
|
|
|
17297
17294
|
setIngredient: r,
|
|
17298
17295
|
setCurrentReference: i
|
|
17299
17296
|
}) {
|
|
17300
|
-
const [l, o] =
|
|
17297
|
+
const [l, o] = be(""), [u, s] = be(!1), c = rc(l), d = (p, f) => {
|
|
17301
17298
|
const h = a.map((C) => C[1]);
|
|
17302
17299
|
let g = "", b = !1;
|
|
17303
17300
|
for (; !b; )
|
|
@@ -17305,7 +17302,7 @@ function WE({
|
|
|
17305
17302
|
const y = [f, g, "", "", "", "", ""];
|
|
17306
17303
|
r(xu([...a, y])), t(!1), i(f);
|
|
17307
17304
|
};
|
|
17308
|
-
return /* @__PURE__ */
|
|
17305
|
+
return /* @__PURE__ */ I.jsx(
|
|
17309
17306
|
jd,
|
|
17310
17307
|
{
|
|
17311
17308
|
titleLabel: De(
|
|
@@ -17330,7 +17327,7 @@ function WE({
|
|
|
17330
17327
|
),
|
|
17331
17328
|
closeOnAction: !1
|
|
17332
17329
|
}),
|
|
17333
|
-
children: /* @__PURE__ */
|
|
17330
|
+
children: /* @__PURE__ */ I.jsx(
|
|
17334
17331
|
ba,
|
|
17335
17332
|
{
|
|
17336
17333
|
fullWidth: !0,
|
|
@@ -17366,14 +17363,14 @@ function KE({
|
|
|
17366
17363
|
debugRef: l
|
|
17367
17364
|
}) {
|
|
17368
17365
|
var P;
|
|
17369
|
-
const [o, u] =
|
|
17366
|
+
const [o, u] = be(null), [s, c] = be(null), [d, p] = be(null), [f, h] = be(!1), g = Se(null), b = e == null ? void 0 : e.slice(1), y = [];
|
|
17370
17367
|
b.forEach((N) => {
|
|
17371
17368
|
const T = N[0];
|
|
17372
17369
|
y.includes(T) || y.push(T);
|
|
17373
17370
|
}), y.sort(Eu);
|
|
17374
17371
|
const C = [];
|
|
17375
17372
|
y.forEach((N) => {
|
|
17376
|
-
const T = N.split(":")[0], H = C.find(([
|
|
17373
|
+
const T = N.split(":")[0], H = C.find(([F]) => F === T);
|
|
17377
17374
|
H ? H[1].push(N) : C.push([T, [N]]);
|
|
17378
17375
|
});
|
|
17379
17376
|
const D = ((P = C.find(([N]) => N === d)) == null ? void 0 : P[1]) ?? [], k = () => {
|
|
@@ -17386,7 +17383,7 @@ function KE({
|
|
|
17386
17383
|
k(), c(N.currentTarget), p(T);
|
|
17387
17384
|
}, A = () => {
|
|
17388
17385
|
k(), u(null), c(null), p(null);
|
|
17389
|
-
},
|
|
17386
|
+
}, L = (N) => {
|
|
17390
17387
|
ia(
|
|
17391
17388
|
`/api/navigation/bcv/${i.current.bookCode}/${N.split(":")[0]}/${N.split(":")[1]}`,
|
|
17392
17389
|
l.current
|
|
@@ -17394,10 +17391,10 @@ function KE({
|
|
|
17394
17391
|
}, U = () => {
|
|
17395
17392
|
h(!0), A();
|
|
17396
17393
|
};
|
|
17397
|
-
return /* @__PURE__ */
|
|
17398
|
-
/* @__PURE__ */
|
|
17399
|
-
/* @__PURE__ */
|
|
17400
|
-
/* @__PURE__ */
|
|
17394
|
+
return /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
17395
|
+
/* @__PURE__ */ I.jsxs(Ps, { size: "small", sx: { minWidth: 110 }, children: [
|
|
17396
|
+
/* @__PURE__ */ I.jsx(Od, { id: "reference-label", children: De("pages:core-contenthandler_bcv:reference", n.current) }),
|
|
17397
|
+
/* @__PURE__ */ I.jsxs(
|
|
17401
17398
|
Pd,
|
|
17402
17399
|
{
|
|
17403
17400
|
labelId: "reference-label",
|
|
@@ -17415,26 +17412,26 @@ function KE({
|
|
|
17415
17412
|
},
|
|
17416
17413
|
renderValue: (N) => N || a[0],
|
|
17417
17414
|
children: [
|
|
17418
|
-
/* @__PURE__ */
|
|
17415
|
+
/* @__PURE__ */ I.jsx("div", { style: { maxHeight: "60vh", overflowY: "auto" }, children: C.map(([N]) => /* @__PURE__ */ I.jsxs(
|
|
17419
17416
|
pn,
|
|
17420
17417
|
{
|
|
17421
17418
|
onClick: (T) => w(T, N),
|
|
17422
17419
|
onMouseEnter: (T) => w(T, N),
|
|
17423
17420
|
onMouseLeave: S,
|
|
17424
17421
|
children: [
|
|
17425
|
-
/* @__PURE__ */
|
|
17426
|
-
/* @__PURE__ */
|
|
17422
|
+
/* @__PURE__ */ I.jsx(ai, { children: N }),
|
|
17423
|
+
/* @__PURE__ */ I.jsx(ap, { fontSize: "small" })
|
|
17427
17424
|
]
|
|
17428
17425
|
},
|
|
17429
17426
|
N
|
|
17430
17427
|
)) }),
|
|
17431
|
-
/* @__PURE__ */
|
|
17428
|
+
/* @__PURE__ */ I.jsxs(
|
|
17432
17429
|
pn,
|
|
17433
17430
|
{
|
|
17434
17431
|
onClick: U,
|
|
17435
17432
|
onMouseEnter: (N) => w(N, null),
|
|
17436
17433
|
children: [
|
|
17437
|
-
/* @__PURE__ */
|
|
17434
|
+
/* @__PURE__ */ I.jsx(np, { fontSize: "small", sx: { mr: 1 } }),
|
|
17438
17435
|
De("pages:core-contenthandler_bcv:add", n.current)
|
|
17439
17436
|
]
|
|
17440
17437
|
}
|
|
@@ -17443,23 +17440,23 @@ function KE({
|
|
|
17443
17440
|
}
|
|
17444
17441
|
)
|
|
17445
17442
|
] }),
|
|
17446
|
-
/* @__PURE__ */
|
|
17443
|
+
/* @__PURE__ */ I.jsx(
|
|
17447
17444
|
_d,
|
|
17448
17445
|
{
|
|
17449
17446
|
open: !!s,
|
|
17450
17447
|
anchorEl: s,
|
|
17451
17448
|
placement: "right-start",
|
|
17452
17449
|
sx: { zIndex: (N) => N.zIndex.modal + 1 },
|
|
17453
|
-
children: /* @__PURE__ */
|
|
17450
|
+
children: /* @__PURE__ */ I.jsx(
|
|
17454
17451
|
Ld,
|
|
17455
17452
|
{
|
|
17456
17453
|
sx: { maxHeight: "50vh", overflowY: "auto" },
|
|
17457
17454
|
onMouseEnter: k,
|
|
17458
17455
|
onMouseLeave: S,
|
|
17459
|
-
children: /* @__PURE__ */
|
|
17456
|
+
children: /* @__PURE__ */ I.jsx(Md, { children: D.map((N) => /* @__PURE__ */ I.jsx(
|
|
17460
17457
|
pn,
|
|
17461
17458
|
{
|
|
17462
|
-
onClick: () =>
|
|
17459
|
+
onClick: () => L(N),
|
|
17463
17460
|
children: N.split(":")[1]
|
|
17464
17461
|
},
|
|
17465
17462
|
N
|
|
@@ -17468,7 +17465,7 @@ function KE({
|
|
|
17468
17465
|
)
|
|
17469
17466
|
}
|
|
17470
17467
|
),
|
|
17471
|
-
f && /* @__PURE__ */
|
|
17468
|
+
f && /* @__PURE__ */ I.jsx(
|
|
17472
17469
|
WE,
|
|
17473
17470
|
{
|
|
17474
17471
|
addReferenceOpen: f,
|
|
@@ -17482,7 +17479,7 @@ function KE({
|
|
|
17482
17479
|
] });
|
|
17483
17480
|
}
|
|
17484
17481
|
function YE() {
|
|
17485
|
-
return /* @__PURE__ */
|
|
17482
|
+
return /* @__PURE__ */ I.jsx(ri, { children: /* @__PURE__ */ I.jsx(
|
|
17486
17483
|
"svg",
|
|
17487
17484
|
{
|
|
17488
17485
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -17490,12 +17487,12 @@ function YE() {
|
|
|
17490
17487
|
viewBox: "0 -960 960 960",
|
|
17491
17488
|
width: "24px",
|
|
17492
17489
|
fill: "currentColor",
|
|
17493
|
-
children: /* @__PURE__ */
|
|
17490
|
+
children: /* @__PURE__ */ I.jsx("path", { d: "m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z" })
|
|
17494
17491
|
}
|
|
17495
17492
|
) });
|
|
17496
17493
|
}
|
|
17497
17494
|
function JE() {
|
|
17498
|
-
return /* @__PURE__ */
|
|
17495
|
+
return /* @__PURE__ */ I.jsx(ri, { sx: { fontSize: "20px" }, children: /* @__PURE__ */ I.jsx(
|
|
17499
17496
|
"svg",
|
|
17500
17497
|
{
|
|
17501
17498
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -17503,7 +17500,7 @@ function JE() {
|
|
|
17503
17500
|
viewBox: "0 -960 960 960",
|
|
17504
17501
|
width: "20px",
|
|
17505
17502
|
fill: "currentColor",
|
|
17506
|
-
children: /* @__PURE__ */
|
|
17503
|
+
children: /* @__PURE__ */ I.jsx("path", { d: "m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z" })
|
|
17507
17504
|
}
|
|
17508
17505
|
) });
|
|
17509
17506
|
}
|
|
@@ -17521,16 +17518,16 @@ function XE({
|
|
|
17521
17518
|
(c) => c.includes(s) ? c.filter((d) => d !== s) : [...c, s]
|
|
17522
17519
|
);
|
|
17523
17520
|
};
|
|
17524
|
-
return /* @__PURE__ */
|
|
17525
|
-
/* @__PURE__ */
|
|
17526
|
-
/* @__PURE__ */
|
|
17521
|
+
return /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
17522
|
+
/* @__PURE__ */ I.jsx(ga, { onClick: l, children: /* @__PURE__ */ I.jsx(YE, {}) }),
|
|
17523
|
+
/* @__PURE__ */ I.jsx(zd, { anchorEl: i, setIsOpen: r, isOpen: a, children: o == null ? void 0 : o.map((s) => /* @__PURE__ */ I.jsxs(
|
|
17527
17524
|
pn,
|
|
17528
17525
|
{
|
|
17529
17526
|
onClick: () => u(s),
|
|
17530
17527
|
selected: !n.includes(s),
|
|
17531
17528
|
children: [
|
|
17532
|
-
/* @__PURE__ */
|
|
17533
|
-
/* @__PURE__ */
|
|
17529
|
+
/* @__PURE__ */ I.jsx(Fd, { children: n.includes(s) ? null : /* @__PURE__ */ I.jsx(rp, { fontSize: "small" }) }),
|
|
17530
|
+
/* @__PURE__ */ I.jsxs(ai, { children: [
|
|
17534
17531
|
" ",
|
|
17535
17532
|
s,
|
|
17536
17533
|
" "
|
|
@@ -17549,37 +17546,36 @@ function Nx({
|
|
|
17549
17546
|
bcvRef: r,
|
|
17550
17547
|
currentProjectRef: i
|
|
17551
17548
|
}) {
|
|
17552
|
-
const l = $d(), [o, u] =
|
|
17549
|
+
const l = $d(), [o, u] = be([]), [s, c] = be([]), [d, p] = be("1"), [f, h] = be(
|
|
17553
17550
|
`${r == null ? void 0 : r.current.chapterNum}:${r == null ? void 0 : r.current.verseNum}`
|
|
17554
|
-
), [
|
|
17555
|
-
|
|
17556
|
-
},
|
|
17557
|
-
const
|
|
17558
|
-
let
|
|
17559
|
-
if (
|
|
17560
|
-
const
|
|
17561
|
-
`).map((x) => x.split(" ").map((_) => _.replace(/(\\n){2,}/g, `
|
|
17551
|
+
), [g, b] = be([]), [y, C] = be(!1), [D, k] = be(null), S = (L) => {
|
|
17552
|
+
C(!0), k(L.currentTarget);
|
|
17553
|
+
}, w = async () => {
|
|
17554
|
+
const L = `/api/burrito/ingredient/raw/${e.local_path}?ipath=${n.bookCode}.tsv`;
|
|
17555
|
+
let U = await Ea(L, t.current);
|
|
17556
|
+
if (U.ok) {
|
|
17557
|
+
const P = U.text.split(/\r?\n+/g).map((H) => H.split(" ").map((F) => F.replace(/(\\n){2,}/g, `
|
|
17562
17558
|
|
|
17563
|
-
`))),
|
|
17564
|
-
u(
|
|
17565
|
-
const
|
|
17566
|
-
c(
|
|
17559
|
+
`))), N = xu(P);
|
|
17560
|
+
u(N);
|
|
17561
|
+
const T = $t(JSON.stringify(N));
|
|
17562
|
+
c(T);
|
|
17567
17563
|
}
|
|
17568
17564
|
};
|
|
17569
17565
|
Pe(() => {
|
|
17570
|
-
|
|
17566
|
+
w().then();
|
|
17571
17567
|
}, [n == null ? void 0 : n.bookCode]);
|
|
17572
|
-
const
|
|
17573
|
-
const
|
|
17574
|
-
if (!
|
|
17568
|
+
const A = Os(() => {
|
|
17569
|
+
const L = s;
|
|
17570
|
+
if (!L)
|
|
17575
17571
|
return !1;
|
|
17576
|
-
const
|
|
17577
|
-
return
|
|
17572
|
+
const U = $t(JSON.stringify(o));
|
|
17573
|
+
return L !== U;
|
|
17578
17574
|
}, [o, s]);
|
|
17579
17575
|
return Pe(() => {
|
|
17580
|
-
!!window.electronAPI && (
|
|
17581
|
-
}, [
|
|
17582
|
-
/* @__PURE__ */
|
|
17576
|
+
!!window.electronAPI && (A() ? window.electronAPI.setCanClose(!1) : window.electronAPI.setCanClose(!0));
|
|
17577
|
+
}, [A]), d && o.filter((L) => L[0].startsWith(`${d}:`)), /* @__PURE__ */ I.jsxs(gt, { sx: { display: "flex", flexDirection: "column" }, children: [
|
|
17578
|
+
/* @__PURE__ */ I.jsxs(
|
|
17583
17579
|
gt,
|
|
17584
17580
|
{
|
|
17585
17581
|
sx: {
|
|
@@ -17593,7 +17589,7 @@ function Nx({
|
|
|
17593
17589
|
gap: 1
|
|
17594
17590
|
},
|
|
17595
17591
|
children: [
|
|
17596
|
-
/* @__PURE__ */
|
|
17592
|
+
/* @__PURE__ */ I.jsx(
|
|
17597
17593
|
lb,
|
|
17598
17594
|
{
|
|
17599
17595
|
metadata: e,
|
|
@@ -17605,7 +17601,7 @@ function Nx({
|
|
|
17605
17601
|
systemBcv: n
|
|
17606
17602
|
}
|
|
17607
17603
|
),
|
|
17608
|
-
/* @__PURE__ */
|
|
17604
|
+
/* @__PURE__ */ I.jsx(
|
|
17609
17605
|
Bd,
|
|
17610
17606
|
{
|
|
17611
17607
|
title: De(
|
|
@@ -17613,7 +17609,7 @@ function Nx({
|
|
|
17613
17609
|
a.current,
|
|
17614
17610
|
t.current
|
|
17615
17611
|
),
|
|
17616
|
-
children: /* @__PURE__ */
|
|
17612
|
+
children: /* @__PURE__ */ I.jsx(
|
|
17617
17613
|
ga,
|
|
17618
17614
|
{
|
|
17619
17615
|
disabled: $t(JSON.stringify(o)) !== s,
|
|
@@ -17621,24 +17617,24 @@ function Nx({
|
|
|
17621
17617
|
pathname: "/",
|
|
17622
17618
|
search: "return-page=workspace"
|
|
17623
17619
|
}),
|
|
17624
|
-
children: /* @__PURE__ */
|
|
17620
|
+
children: /* @__PURE__ */ I.jsx(ub, {})
|
|
17625
17621
|
}
|
|
17626
17622
|
)
|
|
17627
17623
|
}
|
|
17628
17624
|
),
|
|
17629
|
-
/* @__PURE__ */
|
|
17625
|
+
/* @__PURE__ */ I.jsx(
|
|
17630
17626
|
XE,
|
|
17631
17627
|
{
|
|
17632
17628
|
ingredient: o,
|
|
17633
|
-
setHiddenFields:
|
|
17634
|
-
hiddenFields:
|
|
17635
|
-
isOpen:
|
|
17636
|
-
setIsOpen:
|
|
17637
|
-
anchorEl:
|
|
17638
|
-
handleOpen:
|
|
17629
|
+
setHiddenFields: b,
|
|
17630
|
+
hiddenFields: g,
|
|
17631
|
+
isOpen: y,
|
|
17632
|
+
setIsOpen: C,
|
|
17633
|
+
anchorEl: D,
|
|
17634
|
+
handleOpen: S
|
|
17639
17635
|
}
|
|
17640
17636
|
),
|
|
17641
|
-
/* @__PURE__ */
|
|
17637
|
+
/* @__PURE__ */ I.jsx(
|
|
17642
17638
|
sb,
|
|
17643
17639
|
{
|
|
17644
17640
|
bcvRef: r,
|
|
@@ -17648,14 +17644,14 @@ function Nx({
|
|
|
17648
17644
|
debugRef: t
|
|
17649
17645
|
}
|
|
17650
17646
|
),
|
|
17651
|
-
/* @__PURE__ */
|
|
17647
|
+
/* @__PURE__ */ I.jsx(
|
|
17652
17648
|
KE,
|
|
17653
17649
|
{
|
|
17654
17650
|
ingredient: o,
|
|
17655
17651
|
setIngredient: u,
|
|
17656
17652
|
i18nRef: a,
|
|
17657
|
-
currentReference:
|
|
17658
|
-
setCurrentReference:
|
|
17653
|
+
currentReference: f,
|
|
17654
|
+
setCurrentReference: h,
|
|
17659
17655
|
bcvRef: r,
|
|
17660
17656
|
debugRef: t
|
|
17661
17657
|
}
|
|
@@ -17663,7 +17659,7 @@ function Nx({
|
|
|
17663
17659
|
]
|
|
17664
17660
|
}
|
|
17665
17661
|
),
|
|
17666
|
-
|
|
17662
|
+
g.length > 0 && /* @__PURE__ */ I.jsxs(
|
|
17667
17663
|
gt,
|
|
17668
17664
|
{
|
|
17669
17665
|
sx: {
|
|
@@ -17675,10 +17671,10 @@ function Nx({
|
|
|
17675
17671
|
paddingLeft: 2
|
|
17676
17672
|
},
|
|
17677
17673
|
children: [
|
|
17678
|
-
/* @__PURE__ */
|
|
17679
|
-
/* @__PURE__ */
|
|
17674
|
+
/* @__PURE__ */ I.jsx(JE, {}),
|
|
17675
|
+
/* @__PURE__ */ I.jsxs(yt, { variant: "caption", children: [
|
|
17680
17676
|
" ",
|
|
17681
|
-
|
|
17677
|
+
g.length,
|
|
17682
17678
|
" ",
|
|
17683
17679
|
De(
|
|
17684
17680
|
"pages:core-contenthandler_bcv:hidden_fields",
|
|
@@ -17688,7 +17684,7 @@ function Nx({
|
|
|
17688
17684
|
]
|
|
17689
17685
|
}
|
|
17690
17686
|
),
|
|
17691
|
-
/* @__PURE__ */
|
|
17687
|
+
/* @__PURE__ */ I.jsx(
|
|
17692
17688
|
zE,
|
|
17693
17689
|
{
|
|
17694
17690
|
ingredient: o,
|
|
@@ -17696,9 +17692,9 @@ function Nx({
|
|
|
17696
17692
|
metadata: e,
|
|
17697
17693
|
i18nRef: a,
|
|
17698
17694
|
debugRef: t,
|
|
17699
|
-
currentReference:
|
|
17700
|
-
setCurrentReference:
|
|
17701
|
-
hiddenFields:
|
|
17695
|
+
currentReference: f,
|
|
17696
|
+
setCurrentReference: h,
|
|
17697
|
+
hiddenFields: g
|
|
17702
17698
|
}
|
|
17703
17699
|
)
|
|
17704
17700
|
] });
|