@simoncomputing/mui-bueno-v2 0.29.0 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/components/Table/DiffTable/DiffTable.d.ts +1 -1
- package/dist/components/Table/DiffTable/DiffTableView/DiffTableView.d.ts +2 -2
- package/dist/components/Table/DiffTable/utils.d.ts +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +366 -366
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './index.css';var M3 = Object.defineProperty;
|
|
2
2
|
var _3 = (t, e, n) => e in t ? M3(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var Ac = (t, e, n) => _3(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { createTheme as gM, Box as Pe, Typography as
|
|
4
|
+
import { createTheme as gM, Box as Pe, Typography as Ze, InputLabel as nv, FormControl as pi, Autocomplete as rv, TextField as ec, FormControlLabel as Ih, Checkbox as ov, FormLabel as yM, Button as En, styled as bM, Card as Ea, CardContent as jb, IconButton as Hn, Radio as R3, FormHelperText as I3, RadioGroup as D3, Slider as A3, MenuItem as Dh, ListItemIcon as iv, Select as P3, Switch as N3, InputAdornment as $3, useMediaQuery as Ls, useTheme as Xn, Paper as Ba, List as vM, ListItem as Yf, ListItemButton as L3, Collapse as FC, TableRow as Jc, TableCell as Xc, CircularProgress as sv, Divider as vs, TableContainer as F3, Table as B3, TableHead as V3, TableBody as z3, Tooltip as No, TablePagination as H3, Popper as av, DialogActions as xp, Dialog as W3, DialogTitle as j3, DialogContent as U3, DialogContentText as q3, useScrollTrigger as K3, Zoom as Y3, Fab as G3, Menu as J3, ListItemText as xM, Stepper as X3, Step as Z3, StepLabel as Q3, Chip as eV, Link as wM, Drawer as tV, MenuList as nV, Tabs as rV, Tab as oV, AppBar as iV, Toolbar as sV, Breadcrumbs as aV, Snackbar as lV, AlertTitle as cV } from "@mui/material";
|
|
5
5
|
import { jsx as w, jsxs as Q, Fragment as Ln } from "react/jsx-runtime";
|
|
6
6
|
import * as D from "react";
|
|
7
|
-
import ze, { useContext as Zu, createContext as tc, isValidElement as Gf, cloneElement as Jf, Children as uV, useCallback as Ar, useRef as ln, useLayoutEffect as CM, useEffect as Ft, useState as
|
|
7
|
+
import ze, { useContext as Zu, createContext as tc, isValidElement as Gf, cloneElement as Jf, Children as uV, useCallback as Ar, useRef as ln, useLayoutEffect as CM, useEffect as Ft, useState as gt, useMemo as Co, forwardRef as Ah, Component as dV, useDebugValue as SM, createRef as fV, memo as pV, createElement as hV, version as BC, useImperativeHandle as TM } from "react";
|
|
8
8
|
import { useField as Zn, useFormikContext as kM, Formik as lv, Form as EM, FieldArray as mV } from "formik";
|
|
9
9
|
import { Link as OM, useNavigate as nc, useLocation as cv } from "react-router-dom";
|
|
10
10
|
import gV from "@emotion/styled";
|
|
@@ -2102,7 +2102,7 @@ function wp(t, e, n, r = n) {
|
|
|
2102
2102
|
let o;
|
|
2103
2103
|
return typeof t == "function" ? o = t(n) : Array.isArray(t) ? o = t[n] || r : o = ws(t, n) || r, e && (o = e(o, r, t)), o;
|
|
2104
2104
|
}
|
|
2105
|
-
function
|
|
2105
|
+
function On(t) {
|
|
2106
2106
|
const {
|
|
2107
2107
|
prop: e,
|
|
2108
2108
|
cssProperty: n = t.prop,
|
|
@@ -2206,7 +2206,7 @@ function mo(t) {
|
|
|
2206
2206
|
return typeof t != "number" ? t : `${t}px solid`;
|
|
2207
2207
|
}
|
|
2208
2208
|
function Eo(t, e) {
|
|
2209
|
-
return
|
|
2209
|
+
return On({
|
|
2210
2210
|
prop: t,
|
|
2211
2211
|
themeKey: "borders",
|
|
2212
2212
|
transform: e
|
|
@@ -2265,39 +2265,39 @@ jh.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2265
2265
|
rowGap: Fs
|
|
2266
2266
|
} : {};
|
|
2267
2267
|
jh.filterProps = ["rowGap"];
|
|
2268
|
-
const SW =
|
|
2268
|
+
const SW = On({
|
|
2269
2269
|
prop: "gridColumn"
|
|
2270
|
-
}), TW =
|
|
2270
|
+
}), TW = On({
|
|
2271
2271
|
prop: "gridRow"
|
|
2272
|
-
}), kW =
|
|
2272
|
+
}), kW = On({
|
|
2273
2273
|
prop: "gridAutoFlow"
|
|
2274
|
-
}), EW =
|
|
2274
|
+
}), EW = On({
|
|
2275
2275
|
prop: "gridAutoColumns"
|
|
2276
|
-
}), OW =
|
|
2276
|
+
}), OW = On({
|
|
2277
2277
|
prop: "gridAutoRows"
|
|
2278
|
-
}), MW =
|
|
2278
|
+
}), MW = On({
|
|
2279
2279
|
prop: "gridTemplateColumns"
|
|
2280
|
-
}), _W =
|
|
2280
|
+
}), _W = On({
|
|
2281
2281
|
prop: "gridTemplateRows"
|
|
2282
|
-
}), RW =
|
|
2282
|
+
}), RW = On({
|
|
2283
2283
|
prop: "gridTemplateAreas"
|
|
2284
|
-
}), IW =
|
|
2284
|
+
}), IW = On({
|
|
2285
2285
|
prop: "gridArea"
|
|
2286
2286
|
});
|
|
2287
2287
|
Vh(Hh, Wh, jh, SW, TW, kW, EW, OW, MW, _W, RW, IW);
|
|
2288
2288
|
function Ml(t, e) {
|
|
2289
2289
|
return e === "grey" ? e : t;
|
|
2290
2290
|
}
|
|
2291
|
-
const DW =
|
|
2291
|
+
const DW = On({
|
|
2292
2292
|
prop: "color",
|
|
2293
2293
|
themeKey: "palette",
|
|
2294
2294
|
transform: Ml
|
|
2295
|
-
}), AW =
|
|
2295
|
+
}), AW = On({
|
|
2296
2296
|
prop: "bgcolor",
|
|
2297
2297
|
cssProperty: "backgroundColor",
|
|
2298
2298
|
themeKey: "palette",
|
|
2299
2299
|
transform: Ml
|
|
2300
|
-
}), PW =
|
|
2300
|
+
}), PW = On({
|
|
2301
2301
|
prop: "backgroundColor",
|
|
2302
2302
|
themeKey: "palette",
|
|
2303
2303
|
transform: Ml
|
|
@@ -2306,7 +2306,7 @@ Vh(DW, AW, PW);
|
|
|
2306
2306
|
function jr(t) {
|
|
2307
2307
|
return t <= 1 && t !== 0 ? `${t * 100}%` : t;
|
|
2308
2308
|
}
|
|
2309
|
-
const NW =
|
|
2309
|
+
const NW = On({
|
|
2310
2310
|
prop: "width",
|
|
2311
2311
|
transform: jr
|
|
2312
2312
|
}), fv = (t) => {
|
|
@@ -2327,30 +2327,30 @@ const NW = En({
|
|
|
2327
2327
|
return null;
|
|
2328
2328
|
};
|
|
2329
2329
|
fv.filterProps = ["maxWidth"];
|
|
2330
|
-
const $W =
|
|
2330
|
+
const $W = On({
|
|
2331
2331
|
prop: "minWidth",
|
|
2332
2332
|
transform: jr
|
|
2333
|
-
}), LW =
|
|
2333
|
+
}), LW = On({
|
|
2334
2334
|
prop: "height",
|
|
2335
2335
|
transform: jr
|
|
2336
|
-
}), FW =
|
|
2336
|
+
}), FW = On({
|
|
2337
2337
|
prop: "maxHeight",
|
|
2338
2338
|
transform: jr
|
|
2339
|
-
}), BW =
|
|
2339
|
+
}), BW = On({
|
|
2340
2340
|
prop: "minHeight",
|
|
2341
2341
|
transform: jr
|
|
2342
2342
|
});
|
|
2343
|
-
|
|
2343
|
+
On({
|
|
2344
2344
|
prop: "size",
|
|
2345
2345
|
cssProperty: "width",
|
|
2346
2346
|
transform: jr
|
|
2347
2347
|
});
|
|
2348
|
-
|
|
2348
|
+
On({
|
|
2349
2349
|
prop: "size",
|
|
2350
2350
|
cssProperty: "height",
|
|
2351
2351
|
transform: jr
|
|
2352
2352
|
});
|
|
2353
|
-
const VW =
|
|
2353
|
+
const VW = On({
|
|
2354
2354
|
prop: "boxSizing"
|
|
2355
2355
|
});
|
|
2356
2356
|
Vh(NW, fv, $W, LW, FW, BW, VW);
|
|
@@ -5072,7 +5072,7 @@ const y_ = Ae(/* @__PURE__ */ w("path", {
|
|
|
5072
5072
|
const { name: e, id: n, className: r, errorMode: o = "normal" } = t, [i, s, a] = Zn(e), { error: l } = s;
|
|
5073
5073
|
if (o !== "hidden" && !(o === "collapse" && !l))
|
|
5074
5074
|
return /* @__PURE__ */ Q(
|
|
5075
|
-
|
|
5075
|
+
Ze,
|
|
5076
5076
|
{
|
|
5077
5077
|
id: n,
|
|
5078
5078
|
"data-testid": `test-${n}`,
|
|
@@ -8215,7 +8215,7 @@ class gr {
|
|
|
8215
8215
|
return vy[e] = n, n.prototype.jsonID = e, n;
|
|
8216
8216
|
}
|
|
8217
8217
|
}
|
|
8218
|
-
class
|
|
8218
|
+
class Rn {
|
|
8219
8219
|
/**
|
|
8220
8220
|
@internal
|
|
8221
8221
|
*/
|
|
@@ -8226,13 +8226,13 @@ class _n {
|
|
|
8226
8226
|
Create a successful step result.
|
|
8227
8227
|
*/
|
|
8228
8228
|
static ok(e) {
|
|
8229
|
-
return new
|
|
8229
|
+
return new Rn(e, null);
|
|
8230
8230
|
}
|
|
8231
8231
|
/**
|
|
8232
8232
|
Create a failed step result.
|
|
8233
8233
|
*/
|
|
8234
8234
|
static fail(e) {
|
|
8235
|
-
return new
|
|
8235
|
+
return new Rn(null, e);
|
|
8236
8236
|
}
|
|
8237
8237
|
/**
|
|
8238
8238
|
Call [`Node.replace`](https://prosemirror.net/docs/ref/#model.Node.replace) with the given
|
|
@@ -8241,10 +8241,10 @@ class _n {
|
|
|
8241
8241
|
*/
|
|
8242
8242
|
static fromReplace(e, n, r, o) {
|
|
8243
8243
|
try {
|
|
8244
|
-
return
|
|
8244
|
+
return Rn.ok(e.replace(n, r, o));
|
|
8245
8245
|
} catch (i) {
|
|
8246
8246
|
if (i instanceof kp)
|
|
8247
|
-
return
|
|
8247
|
+
return Rn.fail(i.message);
|
|
8248
8248
|
throw i;
|
|
8249
8249
|
}
|
|
8250
8250
|
}
|
|
@@ -8266,7 +8266,7 @@ class Ss extends gr {
|
|
|
8266
8266
|
}
|
|
8267
8267
|
apply(e) {
|
|
8268
8268
|
let n = e.slice(this.from, this.to), r = e.resolve(this.from), o = r.node(r.sharedDepth(this.to)), i = new Ne(yv(n.content, (s, a) => !s.isAtom || !a.type.allowsMarkType(this.mark.type) ? s : s.mark(this.mark.addToSet(s.marks)), o), n.openStart, n.openEnd);
|
|
8269
|
-
return
|
|
8269
|
+
return Rn.fromReplace(e, this.from, this.to, i);
|
|
8270
8270
|
}
|
|
8271
8271
|
invert() {
|
|
8272
8272
|
return new ri(this.from, this.to, this.mark);
|
|
@@ -8305,7 +8305,7 @@ class ri extends gr {
|
|
|
8305
8305
|
}
|
|
8306
8306
|
apply(e) {
|
|
8307
8307
|
let n = e.slice(this.from, this.to), r = new Ne(yv(n.content, (o) => o.mark(this.mark.removeFromSet(o.marks)), e), n.openStart, n.openEnd);
|
|
8308
|
-
return
|
|
8308
|
+
return Rn.fromReplace(e, this.from, this.to, r);
|
|
8309
8309
|
}
|
|
8310
8310
|
invert() {
|
|
8311
8311
|
return new Ss(this.from, this.to, this.mark);
|
|
@@ -8345,9 +8345,9 @@ class Ts extends gr {
|
|
|
8345
8345
|
apply(e) {
|
|
8346
8346
|
let n = e.nodeAt(this.pos);
|
|
8347
8347
|
if (!n)
|
|
8348
|
-
return
|
|
8348
|
+
return Rn.fail("No node at mark step's position");
|
|
8349
8349
|
let r = n.type.create(n.attrs, null, this.mark.addToSet(n.marks));
|
|
8350
|
-
return
|
|
8350
|
+
return Rn.fromReplace(e, this.pos, this.pos + 1, new Ne(Oe.from(r), 0, n.isLeaf ? 0 : 1));
|
|
8351
8351
|
}
|
|
8352
8352
|
invert(e) {
|
|
8353
8353
|
let n = e.nodeAt(this.pos);
|
|
@@ -8389,9 +8389,9 @@ class Ia extends gr {
|
|
|
8389
8389
|
apply(e) {
|
|
8390
8390
|
let n = e.nodeAt(this.pos);
|
|
8391
8391
|
if (!n)
|
|
8392
|
-
return
|
|
8392
|
+
return Rn.fail("No node at mark step's position");
|
|
8393
8393
|
let r = n.type.create(n.attrs, null, this.mark.removeFromSet(n.marks));
|
|
8394
|
-
return
|
|
8394
|
+
return Rn.fromReplace(e, this.pos, this.pos + 1, new Ne(Oe.from(r), 0, n.isLeaf ? 0 : 1));
|
|
8395
8395
|
}
|
|
8396
8396
|
invert(e) {
|
|
8397
8397
|
let n = e.nodeAt(this.pos);
|
|
@@ -8428,7 +8428,7 @@ class Wn extends gr {
|
|
|
8428
8428
|
super(), this.from = e, this.to = n, this.slice = r, this.structure = o;
|
|
8429
8429
|
}
|
|
8430
8430
|
apply(e) {
|
|
8431
|
-
return this.structure && t0(e, this.from, this.to) ?
|
|
8431
|
+
return this.structure && t0(e, this.from, this.to) ? Rn.fail("Structure replace would overwrite content") : Rn.fromReplace(e, this.from, this.to, this.slice);
|
|
8432
8432
|
}
|
|
8433
8433
|
getMap() {
|
|
8434
8434
|
return new Ur([this.from, this.to - this.from, this.slice.size]);
|
|
@@ -8478,12 +8478,12 @@ class Gn extends gr {
|
|
|
8478
8478
|
}
|
|
8479
8479
|
apply(e) {
|
|
8480
8480
|
if (this.structure && (t0(e, this.from, this.gapFrom) || t0(e, this.gapTo, this.to)))
|
|
8481
|
-
return
|
|
8481
|
+
return Rn.fail("Structure gap-replace would overwrite content");
|
|
8482
8482
|
let n = e.slice(this.gapFrom, this.gapTo);
|
|
8483
8483
|
if (n.openStart || n.openEnd)
|
|
8484
|
-
return
|
|
8484
|
+
return Rn.fail("Gap is not a flat range");
|
|
8485
8485
|
let r = this.slice.insertAt(this.insert, n.content);
|
|
8486
|
-
return r ?
|
|
8486
|
+
return r ? Rn.fromReplace(e, this.from, this.to, r) : Rn.fail("Content does not fit in gap");
|
|
8487
8487
|
}
|
|
8488
8488
|
getMap() {
|
|
8489
8489
|
return new Ur([
|
|
@@ -9120,13 +9120,13 @@ class _l extends gr {
|
|
|
9120
9120
|
apply(e) {
|
|
9121
9121
|
let n = e.nodeAt(this.pos);
|
|
9122
9122
|
if (!n)
|
|
9123
|
-
return
|
|
9123
|
+
return Rn.fail("No node at attribute step's position");
|
|
9124
9124
|
let r = /* @__PURE__ */ Object.create(null);
|
|
9125
9125
|
for (let i in n.attrs)
|
|
9126
9126
|
r[i] = n.attrs[i];
|
|
9127
9127
|
r[this.attr] = this.value;
|
|
9128
9128
|
let o = n.type.create(r, null, n.marks);
|
|
9129
|
-
return
|
|
9129
|
+
return Rn.fromReplace(e, this.pos, this.pos + 1, new Ne(Oe.from(o), 0, n.isLeaf ? 0 : 1));
|
|
9130
9130
|
}
|
|
9131
9131
|
getMap() {
|
|
9132
9132
|
return Ur.empty;
|
|
@@ -9161,7 +9161,7 @@ class Pu extends gr {
|
|
|
9161
9161
|
n[o] = e.attrs[o];
|
|
9162
9162
|
n[this.attr] = this.value;
|
|
9163
9163
|
let r = e.type.create(n, e.content, e.marks);
|
|
9164
|
-
return
|
|
9164
|
+
return Rn.ok(r);
|
|
9165
9165
|
}
|
|
9166
9166
|
getMap() {
|
|
9167
9167
|
return Ur.empty;
|
|
@@ -9677,7 +9677,7 @@ class Zh {
|
|
|
9677
9677
|
return Qe.between(e.resolve(this.anchor), e.resolve(this.head));
|
|
9678
9678
|
}
|
|
9679
9679
|
}
|
|
9680
|
-
class
|
|
9680
|
+
class Xe extends it {
|
|
9681
9681
|
/**
|
|
9682
9682
|
Create a node selection. Does not verify the validity of its
|
|
9683
9683
|
argument.
|
|
@@ -9688,13 +9688,13 @@ class Ze extends it {
|
|
|
9688
9688
|
}
|
|
9689
9689
|
map(e, n) {
|
|
9690
9690
|
let { deleted: r, pos: o } = n.mapResult(this.anchor), i = e.resolve(o);
|
|
9691
|
-
return r ? it.near(i) : new
|
|
9691
|
+
return r ? it.near(i) : new Xe(i);
|
|
9692
9692
|
}
|
|
9693
9693
|
content() {
|
|
9694
9694
|
return new Ne(Oe.from(this.node), 0, 0);
|
|
9695
9695
|
}
|
|
9696
9696
|
eq(e) {
|
|
9697
|
-
return e instanceof
|
|
9697
|
+
return e instanceof Xe && e.anchor == this.anchor;
|
|
9698
9698
|
}
|
|
9699
9699
|
toJSON() {
|
|
9700
9700
|
return { type: "node", anchor: this.anchor };
|
|
@@ -9708,13 +9708,13 @@ class Ze extends it {
|
|
|
9708
9708
|
static fromJSON(e, n) {
|
|
9709
9709
|
if (typeof n.anchor != "number")
|
|
9710
9710
|
throw new RangeError("Invalid input for NodeSelection.fromJSON");
|
|
9711
|
-
return new
|
|
9711
|
+
return new Xe(e.resolve(n.anchor));
|
|
9712
9712
|
}
|
|
9713
9713
|
/**
|
|
9714
9714
|
Create a node selection from non-resolved positions.
|
|
9715
9715
|
*/
|
|
9716
9716
|
static create(e, n) {
|
|
9717
|
-
return new
|
|
9717
|
+
return new Xe(e.resolve(n));
|
|
9718
9718
|
}
|
|
9719
9719
|
/**
|
|
9720
9720
|
Determines whether the given node may be selected as a node
|
|
@@ -9724,8 +9724,8 @@ class Ze extends it {
|
|
|
9724
9724
|
return !e.isText && e.type.spec.selectable !== !1;
|
|
9725
9725
|
}
|
|
9726
9726
|
}
|
|
9727
|
-
|
|
9728
|
-
it.jsonID("node",
|
|
9727
|
+
Xe.prototype.visible = !1;
|
|
9728
|
+
it.jsonID("node", Xe);
|
|
9729
9729
|
class wv {
|
|
9730
9730
|
constructor(e) {
|
|
9731
9731
|
this.anchor = e;
|
|
@@ -9736,7 +9736,7 @@ class wv {
|
|
|
9736
9736
|
}
|
|
9737
9737
|
resolve(e) {
|
|
9738
9738
|
let n = e.resolve(this.anchor), r = n.nodeAfter;
|
|
9739
|
-
return r &&
|
|
9739
|
+
return r && Xe.isSelectable(r) ? new Xe(n) : it.near(n);
|
|
9740
9740
|
}
|
|
9741
9741
|
}
|
|
9742
9742
|
class Jr extends it {
|
|
@@ -9788,8 +9788,8 @@ function bl(t, e, n, r, o, i = !1) {
|
|
|
9788
9788
|
for (let s = r - (o > 0 ? 0 : 1); o > 0 ? s < e.childCount : s >= 0; s += o) {
|
|
9789
9789
|
let a = e.child(s);
|
|
9790
9790
|
if (a.isAtom) {
|
|
9791
|
-
if (!i &&
|
|
9792
|
-
return
|
|
9791
|
+
if (!i && Xe.isSelectable(a))
|
|
9792
|
+
return Xe.create(t, n - (o < 0 ? a.nodeSize : 0));
|
|
9793
9793
|
} else {
|
|
9794
9794
|
let l = bl(t, a, n + o, o < 0 ? a.childCount : 0, o, i);
|
|
9795
9795
|
if (l)
|
|
@@ -11708,9 +11708,9 @@ function Sv(t, e = null) {
|
|
|
11708
11708
|
for (l = s; o && !o.node; )
|
|
11709
11709
|
o = o.parent;
|
|
11710
11710
|
let p = o.node;
|
|
11711
|
-
if (o && p.isAtom &&
|
|
11711
|
+
if (o && p.isAtom && Xe.isSelectable(p) && o.parent && !(p.isInline && C9(n.focusNode, n.focusOffset, o.dom))) {
|
|
11712
11712
|
let m = o.posBefore;
|
|
11713
|
-
u = new
|
|
11713
|
+
u = new Xe(s == m ? a : r.resolve(m));
|
|
11714
11714
|
}
|
|
11715
11715
|
} else {
|
|
11716
11716
|
if (n instanceof t.dom.ownerDocument.defaultView.Selection && n.rangeCount > 1) {
|
|
@@ -11792,7 +11792,7 @@ function X9(t) {
|
|
|
11792
11792
|
r ? e.collapse(n.parentNode, sr(n) + 1) : e.collapse(n, 0), !r && !t.state.selection.visible && Pr && _s <= 11 && (n.disabled = !0, n.disabled = !1);
|
|
11793
11793
|
}
|
|
11794
11794
|
function g2(t, e) {
|
|
11795
|
-
if (e instanceof
|
|
11795
|
+
if (e instanceof Xe) {
|
|
11796
11796
|
let n = t.docView.descAt(e.from);
|
|
11797
11797
|
n != t.lastSelectedViewDesc && (sT(t), n && n.selectNode(), t.lastSelectedViewDesc = n);
|
|
11798
11798
|
} else
|
|
@@ -11840,17 +11840,17 @@ function lT(t, e, n) {
|
|
|
11840
11840
|
} else if (r.empty) {
|
|
11841
11841
|
if (t.endOfTextblock(e > 0 ? "forward" : "backward")) {
|
|
11842
11842
|
let o = l0(t.state, e);
|
|
11843
|
-
return o && o instanceof
|
|
11843
|
+
return o && o instanceof Xe ? ps(t, o) : !1;
|
|
11844
11844
|
} else if (!(po && n.indexOf("m") > -1)) {
|
|
11845
11845
|
let o = r.$head, i = o.textOffset ? null : e < 0 ? o.nodeBefore : o.nodeAfter, s;
|
|
11846
11846
|
if (!i || i.isText)
|
|
11847
11847
|
return !1;
|
|
11848
11848
|
let a = e < 0 ? o.pos - i.nodeSize : o.pos;
|
|
11849
|
-
return i.isAtom || (s = t.docView.descAt(a)) && !s.contentDOM ?
|
|
11849
|
+
return i.isAtom || (s = t.docView.descAt(a)) && !s.contentDOM ? Xe.isSelectable(i) ? ps(t, new Xe(e < 0 ? t.state.doc.resolve(o.pos - i.nodeSize) : o)) : nd ? ps(t, new Qe(t.state.doc.resolve(e < 0 ? a : a + i.nodeSize))) : !1 : !1;
|
|
11850
11850
|
}
|
|
11851
11851
|
} else return !1;
|
|
11852
11852
|
else {
|
|
11853
|
-
if (r instanceof
|
|
11853
|
+
if (r instanceof Xe && r.node.isInline)
|
|
11854
11854
|
return ps(t, new Qe(e > 0 ? r.$to : r.$from));
|
|
11855
11855
|
{
|
|
11856
11856
|
let o = l0(t.state, e);
|
|
@@ -12006,7 +12006,7 @@ function uT(t, e, n) {
|
|
|
12006
12006
|
let { $from: o, $to: i } = r;
|
|
12007
12007
|
if (!o.parent.inlineContent || t.endOfTextblock(e < 0 ? "up" : "down")) {
|
|
12008
12008
|
let s = l0(t.state, e);
|
|
12009
|
-
if (s && s instanceof
|
|
12009
|
+
if (s && s instanceof Xe)
|
|
12010
12010
|
return ps(t, s);
|
|
12011
12011
|
}
|
|
12012
12012
|
if (!o.parent.inlineContent) {
|
|
@@ -12365,22 +12365,22 @@ function v8(t, e) {
|
|
|
12365
12365
|
if (e == -1)
|
|
12366
12366
|
return !1;
|
|
12367
12367
|
let n = t.state.doc.resolve(e), r = n.nodeAfter;
|
|
12368
|
-
return r && r.isAtom &&
|
|
12368
|
+
return r && r.isAtom && Xe.isSelectable(r) ? (Rl(t, new Xe(n)), !0) : !1;
|
|
12369
12369
|
}
|
|
12370
12370
|
function x8(t, e) {
|
|
12371
12371
|
if (e == -1)
|
|
12372
12372
|
return !1;
|
|
12373
12373
|
let n = t.state.selection, r, o;
|
|
12374
|
-
n instanceof
|
|
12374
|
+
n instanceof Xe && (r = n.node);
|
|
12375
12375
|
let i = t.state.doc.resolve(e);
|
|
12376
12376
|
for (let s = i.depth + 1; s > 0; s--) {
|
|
12377
12377
|
let a = s > i.depth ? i.nodeAfter : i.node(s);
|
|
12378
|
-
if (
|
|
12378
|
+
if (Xe.isSelectable(a)) {
|
|
12379
12379
|
r && n.$from.depth > 0 && s >= n.$from.depth && i.before(n.$from.depth + 1) == n.$from.pos ? o = i.before(n.$from.depth) : o = i.before(s);
|
|
12380
12380
|
break;
|
|
12381
12381
|
}
|
|
12382
12382
|
}
|
|
12383
|
-
return o != null ? (Rl(t,
|
|
12383
|
+
return o != null ? (Rl(t, Xe.create(t.state.doc, o)), !0) : !1;
|
|
12384
12384
|
}
|
|
12385
12385
|
function w8(t, e, n, r, o) {
|
|
12386
12386
|
return Ov(t, "handleClickOn", e, n, r) || t.someProp("handleClick", (i) => i(t, e, r)) || (o ? x8(t, n) : v8(t, n));
|
|
@@ -12402,8 +12402,8 @@ function T8(t, e, n) {
|
|
|
12402
12402
|
let s = i > o.depth ? o.nodeAfter : o.node(i), a = o.before(i);
|
|
12403
12403
|
if (s.inlineContent)
|
|
12404
12404
|
Rl(t, Qe.create(r, a + 1, a + 1 + s.content.size));
|
|
12405
|
-
else if (
|
|
12406
|
-
Rl(t,
|
|
12405
|
+
else if (Xe.isSelectable(s))
|
|
12406
|
+
Rl(t, Xe.create(r, a));
|
|
12407
12407
|
else
|
|
12408
12408
|
continue;
|
|
12409
12409
|
return !0;
|
|
@@ -12434,7 +12434,7 @@ class k8 {
|
|
|
12434
12434
|
const a = o ? null : r.target, l = a ? e.docView.nearestDesc(a, !0) : null;
|
|
12435
12435
|
this.target = l && l.nodeDOM.nodeType == 1 ? l.nodeDOM : null;
|
|
12436
12436
|
let { selection: u } = e.state;
|
|
12437
|
-
(r.button == 0 && i.type.spec.draggable && i.type.spec.selectable !== !1 || u instanceof
|
|
12437
|
+
(r.button == 0 && i.type.spec.draggable && i.type.spec.selectable !== !1 || u instanceof Xe && u.from <= s && u.to > s) && (this.mightDrag = {
|
|
12438
12438
|
node: i,
|
|
12439
12439
|
pos: s,
|
|
12440
12440
|
addAttr: !!(this.target && !this.target.draggable),
|
|
@@ -12620,12 +12620,12 @@ Tr.dragstart = (t, e) => {
|
|
|
12620
12620
|
if (r && r.done(), !n.dataTransfer)
|
|
12621
12621
|
return;
|
|
12622
12622
|
let o = t.state.selection, i = o.empty ? null : t.posAtCoords(tm(n)), s;
|
|
12623
|
-
if (!(i && i.pos >= o.from && i.pos <= (o instanceof
|
|
12623
|
+
if (!(i && i.pos >= o.from && i.pos <= (o instanceof Xe ? o.to - 1 : o.to))) {
|
|
12624
12624
|
if (r && r.mightDrag)
|
|
12625
|
-
s =
|
|
12625
|
+
s = Xe.create(t.state.doc, r.mightDrag.pos);
|
|
12626
12626
|
else if (n.target && n.target.nodeType == 1) {
|
|
12627
12627
|
let p = t.docView.nearestDesc(n.target, !0);
|
|
12628
|
-
p && p.node.type.spec.draggable && p != t.docView && (s =
|
|
12628
|
+
p && p.node.type.spec.draggable && p != t.docView && (s = Xe.create(t.state.doc, p.posBefore));
|
|
12629
12629
|
}
|
|
12630
12630
|
}
|
|
12631
12631
|
let a = (s || t.state.selection).content(), { dom: l, text: u, slice: f } = kv(t, a);
|
|
@@ -12674,8 +12674,8 @@ function P8(t, e, n) {
|
|
|
12674
12674
|
if (f ? l.replaceRangeWith(u, u, i.content.firstChild) : l.replaceRange(u, u, i), l.doc.eq(p))
|
|
12675
12675
|
return;
|
|
12676
12676
|
let m = l.doc.resolve(u);
|
|
12677
|
-
if (f &&
|
|
12678
|
-
l.setSelection(new
|
|
12677
|
+
if (f && Xe.isSelectable(i.content.firstChild) && m.nodeAfter && m.nodeAfter.sameMarkup(i.content.firstChild))
|
|
12678
|
+
l.setSelection(new Xe(m));
|
|
12679
12679
|
else {
|
|
12680
12680
|
let y = l.mapping.map(a);
|
|
12681
12681
|
l.mapping.maps[l.mapping.maps.length - 1].forEach((b, g, v, C) => y = C), l.setSelection(Tv(t, m, l.doc.resolve(y)));
|
|
@@ -13700,7 +13700,7 @@ class N2 {
|
|
|
13700
13700
|
scrollToSelection() {
|
|
13701
13701
|
let e = this.domSelectionRange().focusNode;
|
|
13702
13702
|
if (!(!e || !this.dom.contains(e.nodeType == 1 ? e : e.parentNode))) {
|
|
13703
|
-
if (!this.someProp("handleScrollToSelection", (n) => n(this))) if (this.state.selection instanceof
|
|
13703
|
+
if (!this.someProp("handleScrollToSelection", (n) => n(this))) if (this.state.selection instanceof Xe) {
|
|
13704
13704
|
let n = this.docView.domAfterPos(this.state.selection.from);
|
|
13705
13705
|
n.nodeType == 1 && GS(this, n.getBoundingClientRect(), e);
|
|
13706
13706
|
} else
|
|
@@ -13737,7 +13737,7 @@ class N2 {
|
|
|
13737
13737
|
let i = r.from + (this.state.doc.content.size - n.doc.content.size);
|
|
13738
13738
|
(i > 0 && this.state.doc.nodeAt(i)) == r.node && (o = i);
|
|
13739
13739
|
}
|
|
13740
|
-
this.dragging = new R2(e.slice, e.move, o < 0 ? void 0 :
|
|
13740
|
+
this.dragging = new R2(e.slice, e.move, o < 0 ? void 0 : Xe.create(this.state.doc, o));
|
|
13741
13741
|
}
|
|
13742
13742
|
someProp(e, n) {
|
|
13743
13743
|
let r = this._props && this._props[e], o;
|
|
@@ -14150,13 +14150,13 @@ const L2 = (t, e, n) => {
|
|
|
14150
14150
|
let i = o.nodeBefore;
|
|
14151
14151
|
if (q2(t, o, e, -1))
|
|
14152
14152
|
return !0;
|
|
14153
|
-
if (r.parent.content.size == 0 && (Wl(i, "end") ||
|
|
14153
|
+
if (r.parent.content.size == 0 && (Wl(i, "end") || Xe.isSelectable(i)))
|
|
14154
14154
|
for (let s = r.depth; ; s--) {
|
|
14155
14155
|
let a = Xh(t.doc, r.before(s), r.after(s), Ne.empty);
|
|
14156
14156
|
if (a && a.slice.size < a.to - a.from) {
|
|
14157
14157
|
if (e) {
|
|
14158
14158
|
let l = t.tr.step(a);
|
|
14159
|
-
l.setSelection(Wl(i, "end") ? it.findFrom(l.doc.resolve(l.mapping.map(o.pos, -1)), -1) :
|
|
14159
|
+
l.setSelection(Wl(i, "end") ? it.findFrom(l.doc.resolve(l.mapping.map(o.pos, -1)), -1) : Xe.create(l.doc, o.pos - i.nodeSize)), e(l.scrollIntoView());
|
|
14160
14160
|
}
|
|
14161
14161
|
return !0;
|
|
14162
14162
|
}
|
|
@@ -14224,7 +14224,7 @@ const B2 = (t, e, n) => {
|
|
|
14224
14224
|
i = Av(r);
|
|
14225
14225
|
}
|
|
14226
14226
|
let s = i && i.nodeBefore;
|
|
14227
|
-
return !s || !
|
|
14227
|
+
return !s || !Xe.isSelectable(s) ? !1 : (e && e(t.tr.setSelection(Xe.create(t.doc, i.pos - s.nodeSize)).scrollIntoView()), !0);
|
|
14228
14228
|
};
|
|
14229
14229
|
function Av(t) {
|
|
14230
14230
|
if (!t.parent.type.spec.isolating)
|
|
@@ -14250,12 +14250,12 @@ const z2 = (t, e, n) => {
|
|
|
14250
14250
|
let i = o.nodeAfter;
|
|
14251
14251
|
if (q2(t, o, e, 1))
|
|
14252
14252
|
return !0;
|
|
14253
|
-
if (r.parent.content.size == 0 && (Wl(i, "start") ||
|
|
14253
|
+
if (r.parent.content.size == 0 && (Wl(i, "start") || Xe.isSelectable(i))) {
|
|
14254
14254
|
let s = Xh(t.doc, r.before(), r.after(), Ne.empty);
|
|
14255
14255
|
if (s && s.slice.size < s.to - s.from) {
|
|
14256
14256
|
if (e) {
|
|
14257
14257
|
let a = t.tr.step(s);
|
|
14258
|
-
a.setSelection(Wl(i, "start") ? it.findFrom(a.doc.resolve(a.mapping.map(o.pos)), 1) :
|
|
14258
|
+
a.setSelection(Wl(i, "start") ? it.findFrom(a.doc.resolve(a.mapping.map(o.pos)), 1) : Xe.create(a.doc, a.mapping.map(o.pos))), e(a.scrollIntoView());
|
|
14259
14259
|
}
|
|
14260
14260
|
return !0;
|
|
14261
14261
|
}
|
|
@@ -14271,7 +14271,7 @@ const z2 = (t, e, n) => {
|
|
|
14271
14271
|
i = Pv(r);
|
|
14272
14272
|
}
|
|
14273
14273
|
let s = i && i.nodeAfter;
|
|
14274
|
-
return !s || !
|
|
14274
|
+
return !s || !Xe.isSelectable(s) ? !1 : (e && e(t.tr.setSelection(Xe.create(t.doc, i.pos)).scrollIntoView()), !0);
|
|
14275
14275
|
};
|
|
14276
14276
|
function Pv(t) {
|
|
14277
14277
|
if (!t.parent.type.spec.isolating)
|
|
@@ -14285,7 +14285,7 @@ function Pv(t) {
|
|
|
14285
14285
|
return null;
|
|
14286
14286
|
}
|
|
14287
14287
|
const c7 = (t, e) => {
|
|
14288
|
-
let n = t.selection, r = n instanceof
|
|
14288
|
+
let n = t.selection, r = n instanceof Xe, o;
|
|
14289
14289
|
if (r) {
|
|
14290
14290
|
if (n.node.isTextblock || !Bs(t.doc, n.from))
|
|
14291
14291
|
return !1;
|
|
@@ -14294,12 +14294,12 @@ const c7 = (t, e) => {
|
|
|
14294
14294
|
return !1;
|
|
14295
14295
|
if (e) {
|
|
14296
14296
|
let i = t.tr.join(o);
|
|
14297
|
-
r && i.setSelection(
|
|
14297
|
+
r && i.setSelection(Xe.create(i.doc, o - t.doc.resolve(o).nodeBefore.nodeSize)), e(i.scrollIntoView());
|
|
14298
14298
|
}
|
|
14299
14299
|
return !0;
|
|
14300
14300
|
}, u7 = (t, e) => {
|
|
14301
14301
|
let n = t.selection, r;
|
|
14302
|
-
if (n instanceof
|
|
14302
|
+
if (n instanceof Xe) {
|
|
14303
14303
|
if (n.node.isTextblock || !Bs(t.doc, n.to))
|
|
14304
14304
|
return !1;
|
|
14305
14305
|
r = n.to;
|
|
@@ -14361,7 +14361,7 @@ const f7 = (t, e) => {
|
|
|
14361
14361
|
function p7(t) {
|
|
14362
14362
|
return (e, n) => {
|
|
14363
14363
|
let { $from: r, $to: o } = e.selection;
|
|
14364
|
-
if (e.selection instanceof
|
|
14364
|
+
if (e.selection instanceof Xe && e.selection.node.isBlock)
|
|
14365
14365
|
return !r.parentOffset || !zi(e.doc, r.pos) ? !1 : (n && n(e.tr.split(r.pos).scrollIntoView()), !0);
|
|
14366
14366
|
if (!r.depth)
|
|
14367
14367
|
return !1;
|
|
@@ -14389,7 +14389,7 @@ function p7(t) {
|
|
|
14389
14389
|
}
|
|
14390
14390
|
const h7 = p7(), m7 = (t, e) => {
|
|
14391
14391
|
let { $from: n, to: r } = t.selection, o, i = n.sharedDepth(r);
|
|
14392
|
-
return i == 0 ? !1 : (o = n.before(i), e && e(t.tr.setSelection(
|
|
14392
|
+
return i == 0 ? !1 : (o = n.before(i), e && e(t.tr.setSelection(Xe.create(t.doc, o))), !0);
|
|
14393
14393
|
};
|
|
14394
14394
|
function g7(t, e, n) {
|
|
14395
14395
|
let r = e.nodeBefore, o = e.nodeAfter, i = e.index();
|
|
@@ -16123,7 +16123,7 @@ function am(t, { checkChildren: e = !0, ignoreWhitespace: n = !1 } = {}) {
|
|
|
16123
16123
|
return !1;
|
|
16124
16124
|
}
|
|
16125
16125
|
function iR(t) {
|
|
16126
|
-
return t instanceof
|
|
16126
|
+
return t instanceof Xe;
|
|
16127
16127
|
}
|
|
16128
16128
|
function sR(t, e, n) {
|
|
16129
16129
|
const o = t.state.doc.content.size, i = Bi(e, 0, o), s = Bi(n, 0, o), a = t.coordsAtPos(i), l = t.coordsAtPos(s, -1), u = Math.min(a.top, l.top), f = Math.max(a.bottom, l.bottom), p = Math.min(a.left, l.left), m = Math.max(a.right, l.right), y = m - p, b = f - u, C = {
|
|
@@ -16192,7 +16192,7 @@ const zU = (t, e = {}) => ({ tr: n, state: r, dispatch: o }) => {
|
|
|
16192
16192
|
return n.selection.$anchor.sameParent(n.selection.$head) && (s = n.selection.$anchor.parent.attrs), i.isTextblock ? o().command(({ commands: a }) => ET(i, { ...s, ...e })(n) ? !0 : a.clearNodes()).command(({ state: a }) => ET(i, { ...s, ...e })(a, r)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
|
|
16193
16193
|
}, jU = (t) => ({ tr: e, dispatch: n }) => {
|
|
16194
16194
|
if (n) {
|
|
16195
|
-
const { doc: r } = e, o = Bi(t, 0, r.content.size), i =
|
|
16195
|
+
const { doc: r } = e, o = Bi(t, 0, r.content.size), i = Xe.create(r, o);
|
|
16196
16196
|
e.setSelection(i);
|
|
16197
16197
|
}
|
|
16198
16198
|
return !0;
|
|
@@ -16215,7 +16215,7 @@ function AT(t, e) {
|
|
|
16215
16215
|
}
|
|
16216
16216
|
const KU = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor: o }) => {
|
|
16217
16217
|
const { selection: i, doc: s } = e, { $from: a, $to: l } = i, u = o.extensionManager.attributes, f = ep(u, a.node().type.name, a.node().attrs);
|
|
16218
|
-
if (i instanceof
|
|
16218
|
+
if (i instanceof Xe && i.node.isBlock)
|
|
16219
16219
|
return !a.parentOffset || !zi(s, a.pos) ? !1 : (r && (t && AT(n, o.extensionManager.splittableMarks), e.split(a.pos).scrollIntoView()), !0);
|
|
16220
16220
|
if (!a.parent.isBlock)
|
|
16221
16221
|
return !1;
|
|
@@ -17341,7 +17341,7 @@ class yq {
|
|
|
17341
17341
|
const g = this.getPos();
|
|
17342
17342
|
if (typeof g != "number")
|
|
17343
17343
|
return;
|
|
17344
|
-
const v =
|
|
17344
|
+
const v = Xe.create(u.state.doc, g), C = u.state.tr.setSelection(v);
|
|
17345
17345
|
u.dispatch(C);
|
|
17346
17346
|
}
|
|
17347
17347
|
stopEvent(e) {
|
|
@@ -17356,7 +17356,7 @@ class yq {
|
|
|
17356
17356
|
const i = e.type.startsWith("drag"), s = e.type === "drop";
|
|
17357
17357
|
if ((["INPUT", "BUTTON", "SELECT", "TEXTAREA"].includes(r.tagName) || r.isContentEditable) && !s && !i)
|
|
17358
17358
|
return !0;
|
|
17359
|
-
const { isEditable: l } = this.editor, { isDragging: u } = this, f = !!this.node.type.spec.draggable, p =
|
|
17359
|
+
const { isEditable: l } = this.editor, { isDragging: u } = this, f = !!this.node.type.spec.draggable, p = Xe.isSelectable(this.node), m = e.type === "copy", y = e.type === "paste", b = e.type === "cut", g = e.type === "mousedown";
|
|
17360
17360
|
if (!f && p && i && e.target === this.dom && e.preventDefault(), f && i && !u && e.target === this.dom)
|
|
17361
17361
|
return e.preventDefault(), !1;
|
|
17362
17362
|
if (f && l && !u && g) {
|
|
@@ -17425,7 +17425,7 @@ function Ns(t) {
|
|
|
17425
17425
|
}
|
|
17426
17426
|
function bq(t, e) {
|
|
17427
17427
|
const { selection: n } = t, { $from: r } = n;
|
|
17428
|
-
if (n instanceof
|
|
17428
|
+
if (n instanceof Xe) {
|
|
17429
17429
|
const i = r.index();
|
|
17430
17430
|
return r.parent.canReplaceWith(i, i + 1, e);
|
|
17431
17431
|
}
|
|
@@ -17937,7 +17937,7 @@ class vn extends it {
|
|
|
17937
17937
|
for (; ; ) {
|
|
17938
17938
|
let s = n > 0 ? i.firstChild : i.lastChild;
|
|
17939
17939
|
if (!s) {
|
|
17940
|
-
if (i.isAtom && !i.isText && !
|
|
17940
|
+
if (i.isAtom && !i.isText && !Xe.isSelectable(i)) {
|
|
17941
17941
|
e = e.doc.resolve(o + i.nodeSize * n), r = !1;
|
|
17942
17942
|
continue e;
|
|
17943
17943
|
}
|
|
@@ -18043,7 +18043,7 @@ function $q(t, e, n) {
|
|
|
18043
18043
|
if (!vn.valid(r))
|
|
18044
18044
|
return !1;
|
|
18045
18045
|
let o = t.posAtCoords({ left: n.clientX, top: n.clientY });
|
|
18046
|
-
return o && o.inside > -1 &&
|
|
18046
|
+
return o && o.inside > -1 && Xe.isSelectable(t.state.doc.nodeAt(o.inside)) ? !1 : (t.dispatch(t.state.tr.setSelection(new vn(r))), !0);
|
|
18047
18047
|
}
|
|
18048
18048
|
function Lq(t, e) {
|
|
18049
18049
|
if (e.inputType != "insertCompositionText" || !(t.state.selection instanceof vn))
|
|
@@ -18578,7 +18578,7 @@ const wR = xR(!1, !0), CR = xR(!0, !0), SR = wn.create({
|
|
|
18578
18578
|
if (a) {
|
|
18579
18579
|
const { $to: u } = s.selection, f = u.end();
|
|
18580
18580
|
if (u.nodeAfter)
|
|
18581
|
-
u.nodeAfter.isTextblock ? s.setSelection(Qe.create(s.doc, u.pos + 1)) : u.nodeAfter.isBlock ? s.setSelection(
|
|
18581
|
+
u.nodeAfter.isTextblock ? s.setSelection(Qe.create(s.doc, u.pos + 1)) : u.nodeAfter.isBlock ? s.setSelection(Xe.create(s.doc, u.pos)) : s.setSelection(Qe.create(s.doc, u.pos));
|
|
18582
18582
|
else {
|
|
18583
18583
|
const p = (l = u.parent.type.contentMatch.defaultType) === null || l === void 0 ? void 0 : l.create();
|
|
18584
18584
|
p && (s.insert(f, p), s.setSelection(Qe.create(s.doc, f + 1)));
|
|
@@ -20994,7 +20994,7 @@ function SY(t) {
|
|
|
20994
20994
|
R[S] = Se, z[S] = Se - B;
|
|
20995
20995
|
}
|
|
20996
20996
|
if (a) {
|
|
20997
|
-
var Re, Me = S === "x" ? Nr : $r, Ve = S === "x" ? So : To, Ue = R[O], he = O === "y" ? "height" : "width", we = Ue + v[Me], Je = Ue - v[Ve],
|
|
20997
|
+
var Re, Me = S === "x" ? Nr : $r, Ve = S === "x" ? So : To, Ue = R[O], he = O === "y" ? "height" : "width", we = Ue + v[Me], Je = Ue - v[Ve], yt = [Nr, $r].indexOf(C) !== -1, Tt = (Re = L == null ? void 0 : L[O]) != null ? Re : 0, An = yt ? we : Ue - N[he] - $[he] - Tt + M.altAxis, rn = yt ? Ue + N[he] + $[he] - Tt - M.altAxis : Je, dn = y && yt ? KK(An, Ue, rn) : mu(y ? An : we, Ue, y ? rn : Je);
|
|
20998
20998
|
R[O] = dn, z[O] = dn - Ue;
|
|
20999
20999
|
}
|
|
21000
21000
|
e.modifiersData[r] = z;
|
|
@@ -22760,7 +22760,7 @@ const um = (t, e) => {
|
|
|
22760
22760
|
F && F(ot), T.onFocus && T.onFocus(ot), de && de.onFocus ? de.onFocus(ot) : Z(!0);
|
|
22761
22761
|
}, Ue = (ot) => {
|
|
22762
22762
|
M && M(ot), T.onBlur && T.onBlur(ot), de && de.onBlur ? de.onBlur(ot) : Z(!1);
|
|
22763
|
-
}, he = (ot, ...
|
|
22763
|
+
}, he = (ot, ..._n) => {
|
|
22764
22764
|
if (!ee) {
|
|
22765
22765
|
const Zt = ot.target || ne.current;
|
|
22766
22766
|
if (Zt == null)
|
|
@@ -22769,7 +22769,7 @@ const um = (t, e) => {
|
|
|
22769
22769
|
value: Zt.value
|
|
22770
22770
|
});
|
|
22771
22771
|
}
|
|
22772
|
-
T.onChange && T.onChange(ot, ...
|
|
22772
|
+
T.onChange && T.onChange(ot, ..._n), L && L(ot, ..._n);
|
|
22773
22773
|
};
|
|
22774
22774
|
D.useEffect(() => {
|
|
22775
22775
|
Me(ne.current);
|
|
@@ -22777,17 +22777,17 @@ const um = (t, e) => {
|
|
|
22777
22777
|
const we = (ot) => {
|
|
22778
22778
|
ne.current && ot.currentTarget === ot.target && ne.current.focus(), z && z(ot);
|
|
22779
22779
|
};
|
|
22780
|
-
let Je = k,
|
|
22781
|
-
$ && Je === "input" && (q ? (process.env.NODE_ENV !== "production" && (N || R) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),
|
|
22780
|
+
let Je = k, yt = T;
|
|
22781
|
+
$ && Je === "input" && (q ? (process.env.NODE_ENV !== "production" && (N || R) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), yt = {
|
|
22782
22782
|
type: void 0,
|
|
22783
22783
|
minRows: q,
|
|
22784
22784
|
maxRows: q,
|
|
22785
|
-
...
|
|
22786
|
-
}) :
|
|
22785
|
+
...yt
|
|
22786
|
+
}) : yt = {
|
|
22787
22787
|
type: void 0,
|
|
22788
22788
|
maxRows: R,
|
|
22789
22789
|
minRows: N,
|
|
22790
|
-
...
|
|
22790
|
+
...yt
|
|
22791
22791
|
}, Je = YR);
|
|
22792
22792
|
const Tt = (ot) => {
|
|
22793
22793
|
Me(ot.animationName === "mui-auto-fill-cancel" ? ne.current : {
|
|
@@ -22812,8 +22812,8 @@ const um = (t, e) => {
|
|
|
22812
22812
|
startAdornment: ue,
|
|
22813
22813
|
type: le
|
|
22814
22814
|
}, rn = ZY(An), dn = pe.root || u.Root || fm, Cn = Y.root || f.root || {}, Qn = pe.input || u.Input || pm;
|
|
22815
|
-
return
|
|
22816
|
-
...
|
|
22815
|
+
return yt = {
|
|
22816
|
+
...yt,
|
|
22817
22817
|
...Y.input ?? f.input
|
|
22818
22818
|
}, /* @__PURE__ */ Q(D.Fragment, {
|
|
22819
22819
|
children: [!y && typeof sk == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
|
|
@@ -22850,16 +22850,16 @@ const um = (t, e) => {
|
|
|
22850
22850
|
onKeyDown: A,
|
|
22851
22851
|
onKeyUp: _,
|
|
22852
22852
|
type: le,
|
|
22853
|
-
...
|
|
22853
|
+
...yt,
|
|
22854
22854
|
...!Wu(Qn) && {
|
|
22855
22855
|
as: Je,
|
|
22856
22856
|
ownerState: {
|
|
22857
22857
|
...An,
|
|
22858
|
-
...
|
|
22858
|
+
...yt.ownerState
|
|
22859
22859
|
}
|
|
22860
22860
|
},
|
|
22861
22861
|
ref: me,
|
|
22862
|
-
className: ge(rn.input,
|
|
22862
|
+
className: ge(rn.input, yt.className, B && "MuiInputBase-readOnly"),
|
|
22863
22863
|
onBlur: Ue,
|
|
22864
22864
|
onChange: he,
|
|
22865
22865
|
onFocus: Ve
|
|
@@ -27884,7 +27884,7 @@ const bJ = (t) => {
|
|
|
27884
27884
|
};
|
|
27885
27885
|
delete W["aria-invalid"];
|
|
27886
27886
|
let we, Je;
|
|
27887
|
-
const
|
|
27887
|
+
const yt = [];
|
|
27888
27888
|
let Tt = !1, An = !1;
|
|
27889
27889
|
(Hp({
|
|
27890
27890
|
value: q
|
|
@@ -27898,7 +27898,7 @@ const bJ = (t) => {
|
|
|
27898
27898
|
if (k) {
|
|
27899
27899
|
if (!Array.isArray(q))
|
|
27900
27900
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : ii(2));
|
|
27901
|
-
Be = q.some((Ye) => bk(Ye, Ee.props.value)), Be && Tt &&
|
|
27901
|
+
Be = q.some((Ye) => bk(Ye, Ee.props.value)), Be && Tt && yt.push(Ee.props.children);
|
|
27902
27902
|
} else
|
|
27903
27903
|
Be = bk(q, Ee.props.value), Be && Tt && (Je = Ee.props.children);
|
|
27904
27904
|
return Be && (An = !0), /* @__PURE__ */ D.cloneElement(Ee, {
|
|
@@ -27921,7 +27921,7 @@ const bJ = (t) => {
|
|
|
27921
27921
|
console.warn([`MUI: You have provided an out-of-range value \`${q}\` for the select ${T ? `(name="${T}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${Ee.filter((Be) => Be != null).map((Be) => `\`${Be}\``).join(", ") || '""'}.`].join(`
|
|
27922
27922
|
`));
|
|
27923
27923
|
}
|
|
27924
|
-
}, [An, Se, k, T, q]), Tt && (k ?
|
|
27924
|
+
}, [An, Se, k, T, q]), Tt && (k ? yt.length === 0 ? we = null : we = yt.reduce((Ee, Be, Ye) => (Ee.push(Be), Ye < yt.length - 1 && Ee.push(", "), Ee), []) : we = Je);
|
|
27925
27925
|
let dn = ee;
|
|
27926
27926
|
!s && ce && J && (dn = K.clientWidth);
|
|
27927
27927
|
let Cn;
|
|
@@ -27932,7 +27932,7 @@ const bJ = (t) => {
|
|
|
27932
27932
|
value: q,
|
|
27933
27933
|
open: Ue,
|
|
27934
27934
|
error: y
|
|
27935
|
-
},
|
|
27935
|
+
}, _n = bJ(ot), Zt = {
|
|
27936
27936
|
...C.PaperProps,
|
|
27937
27937
|
...(Le = C.slotProps) == null ? void 0 : Le.paper
|
|
27938
27938
|
}, ye = Fo();
|
|
@@ -27957,7 +27957,7 @@ const bJ = (t) => {
|
|
|
27957
27957
|
onFocus: N,
|
|
27958
27958
|
...F,
|
|
27959
27959
|
ownerState: ot,
|
|
27960
|
-
className: ge(F.className,
|
|
27960
|
+
className: ge(F.className, _n.select, l),
|
|
27961
27961
|
id: Qn,
|
|
27962
27962
|
children: yJ(we) ? (
|
|
27963
27963
|
// notranslate needed while Google Translate will not fix zero-width space issue
|
|
@@ -27976,14 +27976,14 @@ const bJ = (t) => {
|
|
|
27976
27976
|
onChange: Re,
|
|
27977
27977
|
tabIndex: -1,
|
|
27978
27978
|
disabled: p,
|
|
27979
|
-
className:
|
|
27979
|
+
className: _n.nativeInput,
|
|
27980
27980
|
autoFocus: i,
|
|
27981
27981
|
required: z,
|
|
27982
27982
|
...W,
|
|
27983
27983
|
ownerState: ot
|
|
27984
27984
|
}), /* @__PURE__ */ w(mJ, {
|
|
27985
27985
|
as: b,
|
|
27986
|
-
className:
|
|
27986
|
+
className: _n.icon,
|
|
27987
27987
|
ownerState: ot
|
|
27988
27988
|
}), /* @__PURE__ */ w(tI, {
|
|
27989
27989
|
id: `menu-${T || ""}`,
|
|
@@ -28554,7 +28554,7 @@ const kJ = {
|
|
|
28554
28554
|
elementType: bm,
|
|
28555
28555
|
externalForwardedProps: ne,
|
|
28556
28556
|
ownerState: ue
|
|
28557
|
-
}),
|
|
28557
|
+
}), yt = /* @__PURE__ */ w(de, {
|
|
28558
28558
|
"aria-describedby": re,
|
|
28559
28559
|
autoComplete: o,
|
|
28560
28560
|
autoFocus: i,
|
|
@@ -28591,10 +28591,10 @@ const kJ = {
|
|
|
28591
28591
|
id: J,
|
|
28592
28592
|
labelId: ce,
|
|
28593
28593
|
value: j,
|
|
28594
|
-
input:
|
|
28594
|
+
input: yt,
|
|
28595
28595
|
...Je,
|
|
28596
28596
|
children: s
|
|
28597
|
-
}) :
|
|
28597
|
+
}) : yt, b && /* @__PURE__ */ w(Ue, {
|
|
28598
28598
|
id: re,
|
|
28599
28599
|
...he,
|
|
28600
28600
|
children: b
|
|
@@ -28927,7 +28927,7 @@ var Zl = function(t, e, n) {
|
|
|
28927
28927
|
return t.toLowerCase() === e.toLowerCase() || fI(T0(t), T0(e));
|
|
28928
28928
|
};
|
|
28929
28929
|
function hI(t, e, n) {
|
|
28930
|
-
var r = C0(n), o =
|
|
28930
|
+
var r = C0(n), o = gt(function() {
|
|
28931
28931
|
return t.toHsva(e);
|
|
28932
28932
|
}), i = o[0], s = o[1], a = ln({ color: e, hsva: i });
|
|
28933
28933
|
Ft(function() {
|
|
@@ -31200,7 +31200,7 @@ const y1 = /* @__PURE__ */ D.forwardRef(function(e, n) {
|
|
|
31200
31200
|
le.current = !0;
|
|
31201
31201
|
const tr = B.props;
|
|
31202
31202
|
tr.onTouchStart && tr.onTouchStart(lt);
|
|
31203
|
-
},
|
|
31203
|
+
}, yt = (lt) => {
|
|
31204
31204
|
Je(lt), ee.clear(), re.clear(), Ce(), de.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", ne.start(v, () => {
|
|
31205
31205
|
document.body.style.WebkitUserSelect = de.current, Me(lt);
|
|
31206
31206
|
});
|
|
@@ -31244,8 +31244,8 @@ const y1 = /* @__PURE__ */ D.forwardRef(function(e, n) {
|
|
|
31244
31244
|
j && !j.getAttribute("data-mui-internal-clone-element") && console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.", "Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
31245
31245
|
`));
|
|
31246
31246
|
}, [j]));
|
|
31247
|
-
const
|
|
31248
|
-
y || (ot.onTouchStart =
|
|
31247
|
+
const _n = {};
|
|
31248
|
+
y || (ot.onTouchStart = yt, ot.onTouchEnd = Tt), p || (ot.onMouseOver = If(Me, ot.onMouseOver), ot.onMouseLeave = If(Ve, ot.onMouseLeave), J || (_n.onMouseOver = Me, _n.onMouseLeave = Ve)), f || (ot.onFocus = If(we, ot.onFocus), ot.onBlur = If(he, ot.onBlur), J || (_n.onFocus = we, _n.onBlur = he)), process.env.NODE_ENV !== "production" && B.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${B.props.title}\` or the Tooltip component.`].join(`
|
|
31249
31249
|
`));
|
|
31250
31250
|
const Zt = {
|
|
31251
31251
|
...r,
|
|
@@ -31330,7 +31330,7 @@ const y1 = /* @__PURE__ */ D.forwardRef(function(e, n) {
|
|
|
31330
31330
|
open: j ? K : !1,
|
|
31331
31331
|
id: Z,
|
|
31332
31332
|
transition: !0,
|
|
31333
|
-
...
|
|
31333
|
+
..._n,
|
|
31334
31334
|
...Pt,
|
|
31335
31335
|
popperOptions: Le,
|
|
31336
31336
|
children: ({
|
|
@@ -31540,7 +31540,7 @@ const OX = nn("ColorPickerPopper", [
|
|
|
31540
31540
|
"root"
|
|
31541
31541
|
]);
|
|
31542
31542
|
function MX({ value: t, onCancel: e, onSave: n, swatchColors: r, labels: o = {}, ColorPickerProps: i }) {
|
|
31543
|
-
const { removeColorButton: s = "None", removeColorButtonTooltipTitle: a = "", cancelButton: l = "Cancel", saveButton: u = "OK" } = o, [f, p] =
|
|
31543
|
+
const { removeColorButton: s = "None", removeColorButtonTooltipTitle: a = "", cancelButton: l = "Cancel", saveButton: u = "OK" } = o, [f, p] = gt(t);
|
|
31544
31544
|
return Ft(() => {
|
|
31545
31545
|
p(t);
|
|
31546
31546
|
}, [t]), Q(Ln, { children: [w(YJ, { swatchColors: r, value: f, onChange: (m) => {
|
|
@@ -32305,7 +32305,7 @@ const Uy = nn("MenuButtonColorPicker", [
|
|
|
32305
32305
|
}
|
|
32306
32306
|
}));
|
|
32307
32307
|
function OI(t) {
|
|
32308
|
-
const e = st({ props: t, name: v1 }), { value: n, onChange: r, swatchColors: o, labels: i, hideColorIndicator: s = !1, popperId: a, PopperProps: l, ColorPickerProps: u, classes: f = {}, ...p } = e, [m, y] =
|
|
32308
|
+
const e = st({ props: t, name: v1 }), { value: n, onChange: r, swatchColors: o, labels: i, hideColorIndicator: s = !1, popperId: a, PopperProps: l, ColorPickerProps: u, classes: f = {}, ...p } = e, [m, y] = gt(null), b = {
|
|
32309
32309
|
disabled: p.disabled
|
|
32310
32310
|
}, g = () => {
|
|
32311
32311
|
y(null);
|
|
@@ -32718,7 +32718,7 @@ const Ik = nn("MenuSelect", ["root", "tooltip"]), S1 = Jt("MenuSelect"), vQ = te
|
|
|
32718
32718
|
display: "inline-flex"
|
|
32719
32719
|
});
|
|
32720
32720
|
function Cm(t) {
|
|
32721
|
-
const e = st({ props: t, name: S1 }), { tooltipTitle: n, classes: r = {}, sx: o, ...i } = e, [s, a] =
|
|
32721
|
+
const e = st({ props: t, name: S1 }), { tooltipTitle: n, classes: r = {}, sx: o, ...i } = e, [s, a] = gt(!1), l = w(vQ, {
|
|
32722
32722
|
margin: "none",
|
|
32723
32723
|
variant: "outlined",
|
|
32724
32724
|
size: "small",
|
|
@@ -34253,9 +34253,9 @@ function Oee(t, e) {
|
|
|
34253
34253
|
show: Cn,
|
|
34254
34254
|
hide: Qn,
|
|
34255
34255
|
hideWithInteractivity: ot,
|
|
34256
|
-
enable:
|
|
34256
|
+
enable: yt,
|
|
34257
34257
|
disable: Tt,
|
|
34258
|
-
unmount:
|
|
34258
|
+
unmount: _n,
|
|
34259
34259
|
destroy: Zt
|
|
34260
34260
|
};
|
|
34261
34261
|
if (!n.render)
|
|
@@ -34552,7 +34552,7 @@ function Oee(t, e) {
|
|
|
34552
34552
|
});
|
|
34553
34553
|
}
|
|
34554
34554
|
}
|
|
34555
|
-
function
|
|
34555
|
+
function yt() {
|
|
34556
34556
|
S.state.isEnabled = !0;
|
|
34557
34557
|
}
|
|
34558
34558
|
function Tt() {
|
|
@@ -34615,7 +34615,7 @@ function Oee(t, e) {
|
|
|
34615
34615
|
function ot(ye) {
|
|
34616
34616
|
process.env.NODE_ENV !== "production" && $i(S.state.isDestroyed, ml("hideWithInteractivity")), A().addEventListener("mousemove", b), Vk(Af, b), b(ye);
|
|
34617
34617
|
}
|
|
34618
|
-
function
|
|
34618
|
+
function _n() {
|
|
34619
34619
|
process.env.NODE_ENV !== "production" && $i(S.state.isDestroyed, ml("unmount")), S.state.isVisible && S.hide(), S.state.isMounted && (Ve(), he().forEach(function(ye) {
|
|
34620
34620
|
ye._tippy.unmount();
|
|
34621
34621
|
}), R.parentNode && R.parentNode.removeChild(R), tb = tb.filter(function(ye) {
|
|
@@ -35098,7 +35098,7 @@ class Wee {
|
|
|
35098
35098
|
}
|
|
35099
35099
|
function jee(t) {
|
|
35100
35100
|
var e;
|
|
35101
|
-
const [n] =
|
|
35101
|
+
const [n] = gt(() => new Wee(t.editor)), r = zee.useSyncExternalStoreWithSelector(n.subscribe, n.getSnapshot, n.getServerSnapshot, t.selector, (e = t.equalityFn) !== null && e !== void 0 ? e : Fee);
|
|
35102
35102
|
return Hee(() => n.watch(t.editor), [t.editor, n]), SM(r), r;
|
|
35103
35103
|
}
|
|
35104
35104
|
const Qk = process.env.NODE_ENV !== "production", $0 = typeof window > "u", Uee = $0 || !!(typeof window < "u" && window.next);
|
|
@@ -35242,7 +35242,7 @@ class E1 {
|
|
|
35242
35242
|
function qI(t = {}, e = []) {
|
|
35243
35243
|
const n = ln(t);
|
|
35244
35244
|
n.current = t;
|
|
35245
|
-
const [r] =
|
|
35245
|
+
const [r] = gt(() => new E1(n)), o = Tm.useSyncExternalStore(r.subscribe, r.getEditor, r.getServerSnapshot);
|
|
35246
35246
|
return SM(o), Ft(r.onRender(e)), jee({
|
|
35247
35247
|
editor: o,
|
|
35248
35248
|
selector: ({ transactionNumber: i }) => t.shouldRerenderOnTransaction === !1 ? null : t.immediatelyRender && i === 0 ? 0 : i + 1
|
|
@@ -35868,7 +35868,7 @@ const mte = 15, km = Jt("ResizableImageComponent"), gte = te("div", {
|
|
|
35868
35868
|
}));
|
|
35869
35869
|
function vte(t) {
|
|
35870
35870
|
var e, n, r;
|
|
35871
|
-
const o = st({ props: t, name: km }), { node: i, selected: s, updateAttributes: a, extension: l, classes: u = {}, sx: f } = o, { attrs: p } = i, m = ln(null), [y, b] =
|
|
35871
|
+
const o = st({ props: t, name: km }), { node: i, selected: s, updateAttributes: a, extension: l, classes: u = {}, sx: f } = o, { attrs: p } = i, m = ln(null), [y, b] = gt(!1), g = s || y, v = {
|
|
35872
35872
|
selected: s,
|
|
35873
35873
|
selectedOrResizing: g
|
|
35874
35874
|
}, C = Co(() => (
|
|
@@ -36479,7 +36479,7 @@ function Dte({ $from: t, $to: e }) {
|
|
|
36479
36479
|
function Ate(t, e, n) {
|
|
36480
36480
|
const r = (e || t).selection, o = (e || t).doc;
|
|
36481
36481
|
let i, s;
|
|
36482
|
-
if (r instanceof
|
|
36482
|
+
if (r instanceof Xe && (s = r.node.type.spec.tableRole)) {
|
|
36483
36483
|
if (s == "cell" || s == "header_cell") i = Kt.create(o, r.from);
|
|
36484
36484
|
else if (s == "row") {
|
|
36485
36485
|
const a = o.resolve(r.from + 1);
|
|
@@ -37765,7 +37765,7 @@ function kne(t) {
|
|
|
37765
37765
|
]), "aria-hidden": !0 })] });
|
|
37766
37766
|
}
|
|
37767
37767
|
function lD({ editor: t, wait: e = 250 }) {
|
|
37768
|
-
const [n, r] =
|
|
37768
|
+
const [n, r] = gt(!!(t != null && t.isFocused)), o = Co(() => _I((i) => {
|
|
37769
37769
|
r(i);
|
|
37770
37770
|
}, e), [e]);
|
|
37771
37771
|
return Ft(() => {
|
|
@@ -37873,7 +37873,7 @@ process.env.NODE_ENV !== "production" && (Om.propTypes = {
|
|
|
37873
37873
|
});
|
|
37874
37874
|
function _ne({ editor: t, onCancel: e, onSave: n, labels: r, formatHref: o = VZ }) {
|
|
37875
37875
|
var i, s, a, l, u, f;
|
|
37876
|
-
const p = t.isActive("link") ? t.getAttributes("link").href : "", m = id(t.state.selection.$from, Vo("link", t.schema)), y = m ? t.state.doc.textBetween(m.from, m.to) : "", b = t.state.doc.textBetween(t.state.selection.$from.pos, t.state.selection.$to.pos), g = y || b, [v, C] =
|
|
37876
|
+
const p = t.isActive("link") ? t.getAttributes("link").href : "", m = id(t.state.selection.$from, Vo("link", t.schema)), y = m ? t.state.doc.textBetween(m.from, m.to) : "", b = t.state.doc.textBetween(t.state.selection.$from.pos, t.state.selection.$to.pos), g = y || b, [v, C] = gt(g), [k, T] = gt(p), S = ln(null), O = ln(null), R = !p, N = (i = r == null ? void 0 : r.editLinkAddTitle) !== null && i !== void 0 ? i : "Add link", $ = (s = r == null ? void 0 : r.editLinkEditTitle) !== null && s !== void 0 ? s : "Edit link", V = R ? N : $;
|
|
37877
37877
|
Ft(() => {
|
|
37878
37878
|
var F, A;
|
|
37879
37879
|
!R || !g ? (F = S.current) === null || F === void 0 || F.focus({ preventScroll: !0 }) : (A = O.current) === null || A === void 0 || A.focus({ preventScroll: !0 });
|
|
@@ -37881,7 +37881,7 @@ function _ne({ editor: t, onCancel: e, onSave: n, labels: r, formatHref: o = VZ
|
|
|
37881
37881
|
function M() {
|
|
37882
37882
|
O.current && T(o(O.current.value));
|
|
37883
37883
|
}
|
|
37884
|
-
const [L, z] =
|
|
37884
|
+
const [L, z] = gt(!1);
|
|
37885
37885
|
return Q("form", { onSubmit: (F) => {
|
|
37886
37886
|
var A, _, I, B;
|
|
37887
37887
|
F.preventDefault(), F.stopPropagation(), z(!0);
|
|
@@ -39278,9 +39278,9 @@ const sre = /* @__PURE__ */ cr(ire), Yp = "rgba(194, 249, 112, .5)", Gp = "rgba(
|
|
|
39278
39278
|
diffSnapshot: a,
|
|
39279
39279
|
diffMode: l,
|
|
39280
39280
|
...u
|
|
39281
|
-
} = t, f = () => s ? /* @__PURE__ */ w(are, { beforeTxt: a, afterTxt: n, mode: l, ...u }) : r || /* @__PURE__ */ w(
|
|
39281
|
+
} = t, f = () => s ? /* @__PURE__ */ w(are, { beforeTxt: a, afterTxt: n, mode: l, ...u }) : r || /* @__PURE__ */ w(Ze, { children: n });
|
|
39282
39282
|
return /* @__PURE__ */ Q(Pe, { width: "100%", mb: "8px", children: [
|
|
39283
|
-
o ? /* @__PURE__ */ w(
|
|
39283
|
+
o ? /* @__PURE__ */ w(Ze, { ...i, children: e }) : /* @__PURE__ */ w(nv, { children: e }),
|
|
39284
39284
|
f()
|
|
39285
39285
|
] });
|
|
39286
39286
|
}, pre = (t) => {
|
|
@@ -39356,7 +39356,7 @@ const sre = /* @__PURE__ */ cr(ire), Yp = "rgba(194, 249, 112, .5)", Gp = "rgba(
|
|
|
39356
39356
|
diffSnapshot: z(I(e))
|
|
39357
39357
|
}
|
|
39358
39358
|
) : /* @__PURE__ */ Q(pi, { margin: u, fullWidth: f, required: p, children: [
|
|
39359
|
-
s && /* @__PURE__ */ w(
|
|
39359
|
+
s && /* @__PURE__ */ w(Ze, { ...a, children: n }),
|
|
39360
39360
|
/* @__PURE__ */ Q(Pe, { children: [
|
|
39361
39361
|
/* @__PURE__ */ w(rv, { ...L }),
|
|
39362
39362
|
/* @__PURE__ */ w(Zr, { name: e, id: `${e}-err`, errorMode: k })
|
|
@@ -39386,7 +39386,7 @@ function mre() {
|
|
|
39386
39386
|
["partial", O],
|
|
39387
39387
|
["partialRight", R],
|
|
39388
39388
|
["rearg", $]
|
|
39389
|
-
], J = "[object Arguments]", re = "[object Array]", ce = "[object AsyncFunction]", ee = "[object Boolean]", ne = "[object Date]", se = "[object DOMException]", me = "[object Error]", K = "[object Function]", Z = "[object GeneratorFunction]", de = "[object Map]", Ce = "[object Number]", Se = "[object Null]", Re = "[object Object]", Me = "[object Promise]", Ve = "[object Proxy]", Ue = "[object RegExp]", he = "[object Set]", we = "[object String]", Je = "[object Symbol]",
|
|
39389
|
+
], J = "[object Arguments]", re = "[object Array]", ce = "[object AsyncFunction]", ee = "[object Boolean]", ne = "[object Date]", se = "[object DOMException]", me = "[object Error]", K = "[object Function]", Z = "[object GeneratorFunction]", de = "[object Map]", Ce = "[object Number]", Se = "[object Null]", Re = "[object Object]", Me = "[object Promise]", Ve = "[object Proxy]", Ue = "[object RegExp]", he = "[object Set]", we = "[object String]", Je = "[object Symbol]", yt = "[object Undefined]", Tt = "[object WeakMap]", An = "[object WeakSet]", rn = "[object ArrayBuffer]", dn = "[object DataView]", Cn = "[object Float32Array]", Qn = "[object Float64Array]", ot = "[object Int8Array]", _n = "[object Int16Array]", Zt = "[object Int32Array]", ye = "[object Uint8Array]", Le = "[object Uint8ClampedArray]", Ee = "[object Uint16Array]", Be = "[object Uint32Array]", Ye = /\b__p \+= '';/g, tt = /\b(__p \+=) '' \+/g, Pt = /(__e\(.*?\)|\b__t\)) \+\n'';/g, er = /&(?:amp|lt|gt|quot|#39);/g, ur = /[&<>"']/g, _o = RegExp(er.source), js = RegExp(ur.source), Zi = /<%-([\s\S]+?)%>/g, jo = /<%([\s\S]+?)%>/g, lt = /<%=([\s\S]+?)%>/g, tr = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, gi = /^\w*$/, oP = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Km = /[\\^$.*+?()[\]{}|]/g, iP = RegExp(Km.source), Ym = /^\s+/, sP = /\s/, aP = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, lP = /\{\n\/\* \[wrapped with (.+)\] \*/, cP = /,? & /, uP = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, dP = /[()=,{}\[\]\/\s]/, fP = /\\(\\)?/g, pP = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, fx = /\w*$/, hP = /^[-+]0x[0-9a-f]+$/i, mP = /^0b[01]+$/i, gP = /^\[object .+?Constructor\]$/, yP = /^0o[0-7]+$/i, bP = /^(?:0|[1-9]\d*)$/, vP = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Cd = /($^)/, xP = /['\n\r\u2028\u2029\\]/g, Sd = "\\ud800-\\udfff", wP = "\\u0300-\\u036f", CP = "\\ufe20-\\ufe2f", SP = "\\u20d0-\\u20ff", px = wP + CP + SP, hx = "\\u2700-\\u27bf", mx = "a-z\\xdf-\\xf6\\xf8-\\xff", TP = "\\xac\\xb1\\xd7\\xf7", kP = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", EP = "\\u2000-\\u206f", OP = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", gx = "A-Z\\xc0-\\xd6\\xd8-\\xde", yx = "\\ufe0e\\ufe0f", bx = TP + kP + EP + OP, Gm = "['’]", MP = "[" + Sd + "]", vx = "[" + bx + "]", Td = "[" + px + "]", xx = "\\d+", _P = "[" + hx + "]", wx = "[" + mx + "]", Cx = "[^" + Sd + bx + xx + hx + mx + gx + "]", Jm = "\\ud83c[\\udffb-\\udfff]", RP = "(?:" + Td + "|" + Jm + ")", Sx = "[^" + Sd + "]", Xm = "(?:\\ud83c[\\udde6-\\uddff]){2}", Zm = "[\\ud800-\\udbff][\\udc00-\\udfff]", qa = "[" + gx + "]", Tx = "\\u200d", kx = "(?:" + wx + "|" + Cx + ")", IP = "(?:" + qa + "|" + Cx + ")", Ex = "(?:" + Gm + "(?:d|ll|m|re|s|t|ve))?", Ox = "(?:" + Gm + "(?:D|LL|M|RE|S|T|VE))?", Mx = RP + "?", _x = "[" + yx + "]?", DP = "(?:" + Tx + "(?:" + [Sx, Xm, Zm].join("|") + ")" + _x + Mx + ")*", AP = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", PP = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Rx = _x + Mx + DP, NP = "(?:" + [_P, Xm, Zm].join("|") + ")" + Rx, $P = "(?:" + [Sx + Td + "?", Td, Xm, Zm, MP].join("|") + ")", LP = RegExp(Gm, "g"), FP = RegExp(Td, "g"), Qm = RegExp(Jm + "(?=" + Jm + ")|" + $P + Rx, "g"), BP = RegExp([
|
|
39390
39390
|
qa + "?" + wx + "+" + Ex + "(?=" + [vx, qa, "$"].join("|") + ")",
|
|
39391
39391
|
IP + "+" + Ox + "(?=" + [vx, qa + kx, "$"].join("|") + ")",
|
|
39392
39392
|
qa + "?" + kx + "+" + Ex,
|
|
@@ -39427,9 +39427,9 @@ function mre() {
|
|
|
39427
39427
|
"parseInt",
|
|
39428
39428
|
"setTimeout"
|
|
39429
39429
|
], WP = -1, Yt = {};
|
|
39430
|
-
Yt[Cn] = Yt[Qn] = Yt[ot] = Yt[
|
|
39430
|
+
Yt[Cn] = Yt[Qn] = Yt[ot] = Yt[_n] = Yt[Zt] = Yt[ye] = Yt[Le] = Yt[Ee] = Yt[Be] = !0, Yt[J] = Yt[re] = Yt[rn] = Yt[ee] = Yt[dn] = Yt[ne] = Yt[me] = Yt[K] = Yt[de] = Yt[Ce] = Yt[Re] = Yt[Ue] = Yt[he] = Yt[we] = Yt[Tt] = !1;
|
|
39431
39431
|
var qt = {};
|
|
39432
|
-
qt[J] = qt[re] = qt[rn] = qt[dn] = qt[ee] = qt[ne] = qt[Cn] = qt[Qn] = qt[ot] = qt[
|
|
39432
|
+
qt[J] = qt[re] = qt[rn] = qt[dn] = qt[ee] = qt[ne] = qt[Cn] = qt[Qn] = qt[ot] = qt[_n] = qt[Zt] = qt[de] = qt[Ce] = qt[Re] = qt[Ue] = qt[he] = qt[we] = qt[Je] = qt[ye] = qt[Le] = qt[Ee] = qt[Be] = !0, qt[me] = qt[K] = qt[Tt] = !1;
|
|
39433
39433
|
var jP = {
|
|
39434
39434
|
// Latin-1 Supplement block.
|
|
39435
39435
|
À: "A",
|
|
@@ -40367,7 +40367,7 @@ function mre() {
|
|
|
40367
40367
|
return dt(d) ? E : es(E, x(d));
|
|
40368
40368
|
}
|
|
40369
40369
|
function yr(d) {
|
|
40370
|
-
return d == null ? d === n ?
|
|
40370
|
+
return d == null ? d === n ? yt : Se : qs && qs in Ht(d) ? eL(d) : pL(d);
|
|
40371
40371
|
}
|
|
40372
40372
|
function vg(d, h) {
|
|
40373
40373
|
return d > h;
|
|
@@ -40624,7 +40624,7 @@ function mre() {
|
|
|
40624
40624
|
while (h);
|
|
40625
40625
|
return x;
|
|
40626
40626
|
}
|
|
40627
|
-
function
|
|
40627
|
+
function bt(d, h) {
|
|
40628
40628
|
return Wg(Xw(d, h, _r), d + "");
|
|
40629
40629
|
}
|
|
40630
40630
|
function N$(d) {
|
|
@@ -40789,7 +40789,7 @@ function mre() {
|
|
|
40789
40789
|
function ss(d, h) {
|
|
40790
40790
|
return dt(d) ? d : Vg(d, h) ? [d] : nC(Nt(d));
|
|
40791
40791
|
}
|
|
40792
|
-
var V$ =
|
|
40792
|
+
var V$ = bt;
|
|
40793
40793
|
function as(d, h, x) {
|
|
40794
40794
|
var E = d.length;
|
|
40795
40795
|
return x = x === n ? E : x, !h && x >= E ? d : io(d, h, x);
|
|
@@ -40890,7 +40890,7 @@ function mre() {
|
|
|
40890
40890
|
};
|
|
40891
40891
|
}
|
|
40892
40892
|
function tl(d) {
|
|
40893
|
-
return
|
|
40893
|
+
return bt(function(h, x) {
|
|
40894
40894
|
var E = -1, P = x.length, U = P > 1 ? x[P - 1] : n, G = P > 2 ? x[2] : n;
|
|
40895
40895
|
for (U = d.length > 3 && typeof U == "function" ? (P--, U) : n, G && br(x[0], x[1], G) && (U = P < 3 ? n : U, P = 1), h = Ht(h); ++E < P; ) {
|
|
40896
40896
|
var X = x[E];
|
|
@@ -41074,7 +41074,7 @@ function mre() {
|
|
|
41074
41074
|
}
|
|
41075
41075
|
function Ag(d) {
|
|
41076
41076
|
return wi(function(h) {
|
|
41077
|
-
return h = Qt(h, Br(et())),
|
|
41077
|
+
return h = Qt(h, Br(et())), bt(function(x) {
|
|
41078
41078
|
var E = this;
|
|
41079
41079
|
return d(h, function(P) {
|
|
41080
41080
|
return Fr(P, E, x);
|
|
@@ -41415,7 +41415,7 @@ function mre() {
|
|
|
41415
41415
|
case Cn:
|
|
41416
41416
|
case Qn:
|
|
41417
41417
|
case ot:
|
|
41418
|
-
case
|
|
41418
|
+
case _n:
|
|
41419
41419
|
case Zt:
|
|
41420
41420
|
case ye:
|
|
41421
41421
|
case Le:
|
|
@@ -41632,12 +41632,12 @@ function mre() {
|
|
|
41632
41632
|
h[E - 1] = arguments[E];
|
|
41633
41633
|
return es(dt(x) ? Er(x) : [x], rr(h, 1));
|
|
41634
41634
|
}
|
|
41635
|
-
var vL =
|
|
41635
|
+
var vL = bt(function(d, h) {
|
|
41636
41636
|
return Sn(d) ? kc(d, rr(h, 1, Sn, !0)) : [];
|
|
41637
|
-
}), xL =
|
|
41637
|
+
}), xL = bt(function(d, h) {
|
|
41638
41638
|
var x = so(h);
|
|
41639
41639
|
return Sn(x) && (x = n), Sn(d) ? kc(d, rr(h, 1, Sn, !0), et(x, 2)) : [];
|
|
41640
|
-
}), wL =
|
|
41640
|
+
}), wL = bt(function(d, h) {
|
|
41641
41641
|
var x = so(h);
|
|
41642
41642
|
return Sn(x) && (x = n), Sn(d) ? kc(d, rr(h, 1, Sn, !0), n, x) : [];
|
|
41643
41643
|
});
|
|
@@ -41706,13 +41706,13 @@ function mre() {
|
|
|
41706
41706
|
var h = d == null ? 0 : d.length;
|
|
41707
41707
|
return h ? io(d, 0, -1) : [];
|
|
41708
41708
|
}
|
|
41709
|
-
var DL =
|
|
41709
|
+
var DL = bt(function(d) {
|
|
41710
41710
|
var h = Qt(d, Rg);
|
|
41711
41711
|
return h.length && h[0] === d[0] ? xg(h) : [];
|
|
41712
|
-
}), AL =
|
|
41712
|
+
}), AL = bt(function(d) {
|
|
41713
41713
|
var h = so(d), x = Qt(d, Rg);
|
|
41714
41714
|
return h === so(x) ? h = n : x.pop(), x.length && x[0] === d[0] ? xg(x, et(h, 2)) : [];
|
|
41715
|
-
}), PL =
|
|
41715
|
+
}), PL = bt(function(d) {
|
|
41716
41716
|
var h = so(d), x = Qt(d, Rg);
|
|
41717
41717
|
return h = typeof h == "function" ? h : n, h && x.pop(), x.length && x[0] === d[0] ? xg(x, n, h) : [];
|
|
41718
41718
|
});
|
|
@@ -41733,7 +41733,7 @@ function mre() {
|
|
|
41733
41733
|
function LL(d, h) {
|
|
41734
41734
|
return d && d.length ? bw(d, ft(h)) : n;
|
|
41735
41735
|
}
|
|
41736
|
-
var FL =
|
|
41736
|
+
var FL = bt(lC);
|
|
41737
41737
|
function lC(d, h) {
|
|
41738
41738
|
return d && d.length && h && h.length ? Tg(d, h) : d;
|
|
41739
41739
|
}
|
|
@@ -41820,12 +41820,12 @@ function mre() {
|
|
|
41820
41820
|
function nF(d, h) {
|
|
41821
41821
|
return d && d.length ? Kd(d, et(h, 3)) : [];
|
|
41822
41822
|
}
|
|
41823
|
-
var rF =
|
|
41823
|
+
var rF = bt(function(d) {
|
|
41824
41824
|
return is(rr(d, 1, Sn, !0));
|
|
41825
|
-
}), oF =
|
|
41825
|
+
}), oF = bt(function(d) {
|
|
41826
41826
|
var h = so(d);
|
|
41827
41827
|
return Sn(h) && (h = n), is(rr(d, 1, Sn, !0), et(h, 2));
|
|
41828
|
-
}), iF =
|
|
41828
|
+
}), iF = bt(function(d) {
|
|
41829
41829
|
var h = so(d);
|
|
41830
41830
|
return h = typeof h == "function" ? h : n, is(rr(d, 1, Sn, !0), n, h);
|
|
41831
41831
|
});
|
|
@@ -41857,24 +41857,24 @@ function mre() {
|
|
|
41857
41857
|
return Fr(h, n, E);
|
|
41858
41858
|
});
|
|
41859
41859
|
}
|
|
41860
|
-
var cF =
|
|
41860
|
+
var cF = bt(function(d, h) {
|
|
41861
41861
|
return Sn(d) ? kc(d, h) : [];
|
|
41862
|
-
}), uF =
|
|
41862
|
+
}), uF = bt(function(d) {
|
|
41863
41863
|
return _g(Qi(d, Sn));
|
|
41864
|
-
}), dF =
|
|
41864
|
+
}), dF = bt(function(d) {
|
|
41865
41865
|
var h = so(d);
|
|
41866
41866
|
return Sn(h) && (h = n), _g(Qi(d, Sn), et(h, 2));
|
|
41867
|
-
}), fF =
|
|
41867
|
+
}), fF = bt(function(d) {
|
|
41868
41868
|
var h = so(d);
|
|
41869
41869
|
return h = typeof h == "function" ? h : n, _g(Qi(d, Sn), n, h);
|
|
41870
|
-
}), pF =
|
|
41870
|
+
}), pF = bt(Ug);
|
|
41871
41871
|
function hF(d, h) {
|
|
41872
41872
|
return Ow(d || [], h || [], Tc);
|
|
41873
41873
|
}
|
|
41874
41874
|
function mF(d, h) {
|
|
41875
41875
|
return Ow(d || [], h || [], Mc);
|
|
41876
41876
|
}
|
|
41877
|
-
var gF =
|
|
41877
|
+
var gF = bt(function(d) {
|
|
41878
41878
|
var h = d.length, x = h > 1 ? d[h - 1] : n;
|
|
41879
41879
|
return x = typeof x == "function" ? (d.pop(), x) : n, cC(d, x);
|
|
41880
41880
|
});
|
|
@@ -41975,7 +41975,7 @@ function mre() {
|
|
|
41975
41975
|
var P = d.length;
|
|
41976
41976
|
return x < 0 && (x = Nn(P + x, 0)), cf(d) ? x <= P && d.indexOf(h, x) > -1 : !!P && Ka(d, h, x) > -1;
|
|
41977
41977
|
}
|
|
41978
|
-
var $F =
|
|
41978
|
+
var $F = bt(function(d, h, x) {
|
|
41979
41979
|
var E = -1, P = typeof h == "function", U = Or(d) ? be(d.length) : [];
|
|
41980
41980
|
return rs(d, function(G) {
|
|
41981
41981
|
U[++E] = P ? Fr(h, G, x) : Ec(G, h, x);
|
|
@@ -42032,7 +42032,7 @@ function mre() {
|
|
|
42032
42032
|
var E = dt(d) ? og : B$;
|
|
42033
42033
|
return x && br(d, h, x) && (h = n), E(d, et(h, 3));
|
|
42034
42034
|
}
|
|
42035
|
-
var YF =
|
|
42035
|
+
var YF = bt(function(d, h) {
|
|
42036
42036
|
if (d == null)
|
|
42037
42037
|
return [];
|
|
42038
42038
|
var x = h.length;
|
|
@@ -42059,14 +42059,14 @@ function mre() {
|
|
|
42059
42059
|
return --d > 0 && (x = h.apply(this, arguments)), d <= 1 && (h = n), x;
|
|
42060
42060
|
};
|
|
42061
42061
|
}
|
|
42062
|
-
var qg =
|
|
42062
|
+
var qg = bt(function(d, h, x) {
|
|
42063
42063
|
var E = v;
|
|
42064
42064
|
if (x.length) {
|
|
42065
42065
|
var P = ts(x, rl(qg));
|
|
42066
42066
|
E |= O;
|
|
42067
42067
|
}
|
|
42068
42068
|
return xi(d, E, h, x, P);
|
|
42069
|
-
}), mC =
|
|
42069
|
+
}), mC = bt(function(d, h, x) {
|
|
42070
42070
|
var E = v | C;
|
|
42071
42071
|
if (x.length) {
|
|
42072
42072
|
var P = ts(x, rl(mC));
|
|
@@ -42131,9 +42131,9 @@ function mre() {
|
|
|
42131
42131
|
}
|
|
42132
42132
|
return Wr.cancel = Hr, Wr.flush = vr, Wr;
|
|
42133
42133
|
}
|
|
42134
|
-
var JF =
|
|
42134
|
+
var JF = bt(function(d, h) {
|
|
42135
42135
|
return aw(d, 1, h);
|
|
42136
|
-
}), XF =
|
|
42136
|
+
}), XF = bt(function(d, h, x) {
|
|
42137
42137
|
return aw(d, ao(h) || 0, x);
|
|
42138
42138
|
});
|
|
42139
42139
|
function ZF(d) {
|
|
@@ -42176,15 +42176,15 @@ function mre() {
|
|
|
42176
42176
|
var e5 = V$(function(d, h) {
|
|
42177
42177
|
h = h.length == 1 && dt(h[0]) ? Qt(h[0], Br(et())) : Qt(rr(h, 1), Br(et()));
|
|
42178
42178
|
var x = h.length;
|
|
42179
|
-
return
|
|
42179
|
+
return bt(function(E) {
|
|
42180
42180
|
for (var P = -1, U = dr(E.length, x); ++P < U; )
|
|
42181
42181
|
E[P] = h[P].call(this, E[P]);
|
|
42182
42182
|
return Fr(d, this, E);
|
|
42183
42183
|
});
|
|
42184
|
-
}), Kg =
|
|
42184
|
+
}), Kg = bt(function(d, h) {
|
|
42185
42185
|
var x = ts(h, rl(Kg));
|
|
42186
42186
|
return xi(d, O, n, h, x);
|
|
42187
|
-
}), vC =
|
|
42187
|
+
}), vC = bt(function(d, h) {
|
|
42188
42188
|
var x = ts(h, rl(vC));
|
|
42189
42189
|
return xi(d, R, n, h, x);
|
|
42190
42190
|
}), t5 = wi(function(d, h) {
|
|
@@ -42193,12 +42193,12 @@ function mre() {
|
|
|
42193
42193
|
function n5(d, h) {
|
|
42194
42194
|
if (typeof d != "function")
|
|
42195
42195
|
throw new no(s);
|
|
42196
|
-
return h = h === n ? h : ft(h),
|
|
42196
|
+
return h = h === n ? h : ft(h), bt(d, h);
|
|
42197
42197
|
}
|
|
42198
42198
|
function r5(d, h) {
|
|
42199
42199
|
if (typeof d != "function")
|
|
42200
42200
|
throw new no(s);
|
|
42201
|
-
return h = h == null ? 0 : Nn(ft(h), 0),
|
|
42201
|
+
return h = h == null ? 0 : Nn(ft(h), 0), bt(function(x) {
|
|
42202
42202
|
var E = x[h], P = as(x, 0, h);
|
|
42203
42203
|
return E && es(P, E), Fr(d, this, P);
|
|
42204
42204
|
});
|
|
@@ -42439,7 +42439,7 @@ function mre() {
|
|
|
42439
42439
|
var x = el(d);
|
|
42440
42440
|
return h == null ? x : iw(x, h);
|
|
42441
42441
|
}
|
|
42442
|
-
var V5 =
|
|
42442
|
+
var V5 = bt(function(d, h) {
|
|
42443
42443
|
d = Ht(d);
|
|
42444
42444
|
var x = -1, E = h.length, P = E > 2 ? h[2] : n;
|
|
42445
42445
|
for (P && br(h[0], h[1], P) && (E = 1); ++x < E; )
|
|
@@ -42448,7 +42448,7 @@ function mre() {
|
|
|
42448
42448
|
(ke === n || Do(ke, Xa[Te]) && !Bt.call(d, Te)) && (d[Te] = U[Te]);
|
|
42449
42449
|
}
|
|
42450
42450
|
return d;
|
|
42451
|
-
}), z5 =
|
|
42451
|
+
}), z5 = bt(function(d) {
|
|
42452
42452
|
return d.push(n, jw), Fr(MC, n, d);
|
|
42453
42453
|
});
|
|
42454
42454
|
function H5(d, h) {
|
|
@@ -42489,7 +42489,7 @@ function mre() {
|
|
|
42489
42489
|
h != null && typeof h.toString != "function" && (h = Id.call(h)), d[h] = x;
|
|
42490
42490
|
}, Qg(_r)), Z5 = Bw(function(d, h, x) {
|
|
42491
42491
|
h != null && typeof h.toString != "function" && (h = Id.call(h)), Bt.call(d, h) ? d[h].push(x) : d[h] = [x];
|
|
42492
|
-
}, et), Q5 =
|
|
42492
|
+
}, et), Q5 = bt(Ec);
|
|
42493
42493
|
function Vn(d) {
|
|
42494
42494
|
return Or(d) ? rw(d) : Cg(d);
|
|
42495
42495
|
}
|
|
@@ -42777,7 +42777,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
42777
42777
|
function PC(d, h, x) {
|
|
42778
42778
|
return d = Nt(d), h = x ? n : h, h === n ? dN(d) ? vN(d) : nN(d) : d.match(h) || [];
|
|
42779
42779
|
}
|
|
42780
|
-
var NC =
|
|
42780
|
+
var NC = bt(function(d, h) {
|
|
42781
42781
|
try {
|
|
42782
42782
|
return Fr(d, n, h);
|
|
42783
42783
|
} catch (x) {
|
|
@@ -42794,7 +42794,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
42794
42794
|
if (typeof E[1] != "function")
|
|
42795
42795
|
throw new no(s);
|
|
42796
42796
|
return [x(E[0]), E[1]];
|
|
42797
|
-
}) : [],
|
|
42797
|
+
}) : [], bt(function(E) {
|
|
42798
42798
|
for (var P = -1; ++P < h; ) {
|
|
42799
42799
|
var U = d[P];
|
|
42800
42800
|
if (Fr(U[0], this, E))
|
|
@@ -42826,11 +42826,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
42826
42826
|
function JB(d, h) {
|
|
42827
42827
|
return yw(d, oo(h, p));
|
|
42828
42828
|
}
|
|
42829
|
-
var XB =
|
|
42829
|
+
var XB = bt(function(d, h) {
|
|
42830
42830
|
return function(x) {
|
|
42831
42831
|
return Ec(x, d, h);
|
|
42832
42832
|
};
|
|
42833
|
-
}), ZB =
|
|
42833
|
+
}), ZB = bt(function(d, h) {
|
|
42834
42834
|
return function(x) {
|
|
42835
42835
|
return Ec(d, x, h);
|
|
42836
42836
|
};
|
|
@@ -42857,7 +42857,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
42857
42857
|
function ny() {
|
|
42858
42858
|
}
|
|
42859
42859
|
function e3(d) {
|
|
42860
|
-
return d = ft(d),
|
|
42860
|
+
return d = ft(d), bt(function(h) {
|
|
42861
42861
|
return bw(h, d);
|
|
42862
42862
|
});
|
|
42863
42863
|
}
|
|
@@ -42979,7 +42979,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
42979
42979
|
return this.filter(d).head();
|
|
42980
42980
|
}, St.prototype.findLast = function(d) {
|
|
42981
42981
|
return this.reverse().find(d);
|
|
42982
|
-
}, St.prototype.invokeMap =
|
|
42982
|
+
}, St.prototype.invokeMap = bt(function(d, h) {
|
|
42983
42983
|
return typeof d == "function" ? new St(this) : this.map(function(x) {
|
|
42984
42984
|
return Ec(x, d, h);
|
|
42985
42985
|
});
|
|
@@ -43158,7 +43158,7 @@ const wD = /* @__PURE__ */ cr(La), Rpe = (t) => {
|
|
|
43158
43158
|
diffMode: "comma"
|
|
43159
43159
|
}
|
|
43160
43160
|
) : /* @__PURE__ */ Q(pi, { margin: u, fullWidth: f, required: p, children: [
|
|
43161
|
-
s && /* @__PURE__ */ w(
|
|
43161
|
+
s && /* @__PURE__ */ w(Ze, { ...a, children: n }),
|
|
43162
43162
|
/* @__PURE__ */ Q(Pe, { children: [
|
|
43163
43163
|
/* @__PURE__ */ w(rv, { ...$, multiple: !0 }),
|
|
43164
43164
|
/* @__PURE__ */ w(Zr, { name: e, id: `${e}-err`, errorMode: v })
|
|
@@ -43183,10 +43183,10 @@ const wD = /* @__PURE__ */ cr(La), Rpe = (t) => {
|
|
|
43183
43183
|
);
|
|
43184
43184
|
const m = Zn({ name: e }), y = m[0], b = m[2], g = r ? /* @__PURE__ */ Q("div", { children: [
|
|
43185
43185
|
/* @__PURE__ */ w("p", { style: { margin: 0 }, children: n }),
|
|
43186
|
-
/* @__PURE__ */ w(
|
|
43186
|
+
/* @__PURE__ */ w(Ze, { variant: "caption", style: { fontSize: "0.85rem" }, children: r })
|
|
43187
43187
|
] }) : n, v = s === "top" && (i === "start" || i === "end");
|
|
43188
43188
|
if (a)
|
|
43189
|
-
return y.value && /* @__PURE__ */ w(
|
|
43189
|
+
return y.value && /* @__PURE__ */ w(Ze, { ...l, children: g });
|
|
43190
43190
|
const C = /* @__PURE__ */ w(
|
|
43191
43191
|
Ih,
|
|
43192
43192
|
{
|
|
@@ -43261,7 +43261,7 @@ const wD = /* @__PURE__ */ cr(La), Rpe = (t) => {
|
|
|
43261
43261
|
diffMode: b
|
|
43262
43262
|
}
|
|
43263
43263
|
) : /* @__PURE__ */ Q(pi, { margin: p, fullWidth: !0, children: [
|
|
43264
|
-
s && /* @__PURE__ */ w(
|
|
43264
|
+
s && /* @__PURE__ */ w(Ze, { ...a, children: n }),
|
|
43265
43265
|
/* @__PURE__ */ Q(Pe, { children: [
|
|
43266
43266
|
/* @__PURE__ */ w(
|
|
43267
43267
|
ec,
|
|
@@ -43323,7 +43323,7 @@ const wD = /* @__PURE__ */ cr(La), Rpe = (t) => {
|
|
|
43323
43323
|
const V = () => t.labelPlacement == "start" ? "right" : t.labelPlacement == "top" || t.labelPlacement == "bottom" ? "center" : "left", M = (_) => typeof _ == "string" ? _ : !_.textField && !_.helperText ? _.label : /* @__PURE__ */ Q(Pe, { display: "flex", flexDirection: "row", justifyContent: "center", gap: "0.5rem", alignItems: "baseline", children: [
|
|
43324
43324
|
/* @__PURE__ */ Q(Pe, { display: "flex", flexDirection: "column", justifyContent: "center", children: [
|
|
43325
43325
|
/* @__PURE__ */ w("p", { style: { margin: 0 }, children: _.label }),
|
|
43326
|
-
_.helperText && /* @__PURE__ */ w(
|
|
43326
|
+
_.helperText && /* @__PURE__ */ w(Ze, { variant: "caption", style: { fontSize: "0.85rem" }, children: _.helperText })
|
|
43327
43327
|
] }),
|
|
43328
43328
|
_.textField && /* @__PURE__ */ w(
|
|
43329
43329
|
Es,
|
|
@@ -43364,14 +43364,14 @@ const wD = /* @__PURE__ */ cr(La), Rpe = (t) => {
|
|
|
43364
43364
|
);
|
|
43365
43365
|
}), z = () => {
|
|
43366
43366
|
if (f < n.length && u > 0)
|
|
43367
|
-
return /* @__PURE__ */ w(
|
|
43367
|
+
return /* @__PURE__ */ w(Ze, { variant: "subtitle2", children: p.replace("{min}", `${u}`).replace("{max}", `${f}`) });
|
|
43368
43368
|
if (f < n.length)
|
|
43369
|
-
return /* @__PURE__ */ w(
|
|
43369
|
+
return /* @__PURE__ */ w(Ze, { variant: "subtitle2", children: m.replace("{max}", `${f}`) });
|
|
43370
43370
|
if (u > 0)
|
|
43371
|
-
return /* @__PURE__ */ w(
|
|
43371
|
+
return /* @__PURE__ */ w(Ze, { variant: "subtitle2", children: y.replace("{min}", `${u}`) });
|
|
43372
43372
|
};
|
|
43373
43373
|
return l ? /* @__PURE__ */ Q(Pe, { children: [
|
|
43374
|
-
/* @__PURE__ */ w(
|
|
43374
|
+
/* @__PURE__ */ w(Ze, { ...g, children: r }),
|
|
43375
43375
|
R.join(", ")
|
|
43376
43376
|
] }) : /* @__PURE__ */ Q(pi, { onChange: (_) => {
|
|
43377
43377
|
const I = _.target.value, B = _.target.checked, W = n.find((j) => typeof j == "string" ? j === I : j.label === I);
|
|
@@ -43409,7 +43409,7 @@ const wD = /* @__PURE__ */ cr(La), Rpe = (t) => {
|
|
|
43409
43409
|
n ? m([...T(), ...V]) : !Array.isArray(y) && V.length > 0 && m(V[0]);
|
|
43410
43410
|
}
|
|
43411
43411
|
}, T = () => y ? Array.isArray(y) ? y : [y] : [], S = (V, M) => V.lastModified === M.lastModified && V.name === M.name && V.type === M.type && V.size === M.size, O = () => T().map((V) => V.name).join(", "), R = /* @__PURE__ */ w(Zr, { name: e, id: `${e}-err`, errorMode: l });
|
|
43412
|
-
return r ? /* @__PURE__ */ w(
|
|
43412
|
+
return r ? /* @__PURE__ */ w(Ze, { "data-testid": "fileupload-readonly", ...a, children: O() }) : o === "drag-and-drop" ? /* @__PURE__ */ Q(
|
|
43413
43413
|
"div",
|
|
43414
43414
|
{
|
|
43415
43415
|
style: {
|
|
@@ -43425,9 +43425,9 @@ const wD = /* @__PURE__ */ cr(La), Rpe = (t) => {
|
|
|
43425
43425
|
children: [
|
|
43426
43426
|
/* @__PURE__ */ w(EE, { color: "primary", sx: { fontSize: "40px" } }),
|
|
43427
43427
|
/* @__PURE__ */ Q("div", { style: { display: "flex", flexDirection: "row", alignItems: "baseline" }, children: [
|
|
43428
|
-
/* @__PURE__ */ w(
|
|
43428
|
+
/* @__PURE__ */ w(Ze, { children: "Drag and drop or" }),
|
|
43429
43429
|
/* @__PURE__ */ Q(
|
|
43430
|
-
|
|
43430
|
+
En,
|
|
43431
43431
|
{
|
|
43432
43432
|
component: "label",
|
|
43433
43433
|
role: void 0,
|
|
@@ -43452,13 +43452,13 @@ const wD = /* @__PURE__ */ cr(La), Rpe = (t) => {
|
|
|
43452
43452
|
}
|
|
43453
43453
|
)
|
|
43454
43454
|
] }),
|
|
43455
|
-
g && /* @__PURE__ */ w(
|
|
43455
|
+
g && /* @__PURE__ */ w(Ze, { variant: "caption", children: g }),
|
|
43456
43456
|
R
|
|
43457
43457
|
]
|
|
43458
43458
|
}
|
|
43459
43459
|
) : /* @__PURE__ */ Q("div", { style: { display: "flex", flexDirection: "column" }, children: [
|
|
43460
43460
|
/* @__PURE__ */ w("div", { style: { display: "flex", alignItems: "center", marginBottom: "4px" }, children: /* @__PURE__ */ Q(
|
|
43461
|
-
|
|
43461
|
+
En,
|
|
43462
43462
|
{
|
|
43463
43463
|
component: "label",
|
|
43464
43464
|
role: void 0,
|
|
@@ -43509,7 +43509,7 @@ const wD = /* @__PURE__ */ cr(La), Rpe = (t) => {
|
|
|
43509
43509
|
},
|
|
43510
43510
|
children: [
|
|
43511
43511
|
/* @__PURE__ */ w(vre, { sx: { color: "gray", fontSize: "20px" } }),
|
|
43512
|
-
/* @__PURE__ */ w(
|
|
43512
|
+
/* @__PURE__ */ w(Ze, { sx: { padding: "8px", overflowWrap: "anywhere" }, children: s.name }),
|
|
43513
43513
|
/* @__PURE__ */ w(
|
|
43514
43514
|
Hn,
|
|
43515
43515
|
{
|
|
@@ -43776,7 +43776,7 @@ const Fre = /* @__PURE__ */ cr(Lre), Bre = (t) => {
|
|
|
43776
43776
|
const f = o && u.highlight ? 700 : 400;
|
|
43777
43777
|
return /* @__PURE__ */ w("span", { style: { fontWeight: f }, children: u.text }, `${n.place_id}_${u.text}`);
|
|
43778
43778
|
}),
|
|
43779
|
-
/* @__PURE__ */ w(
|
|
43779
|
+
/* @__PURE__ */ w(Ze, { variant: "body2", color: "textSecondary", children: s })
|
|
43780
43780
|
] })
|
|
43781
43781
|
] }) });
|
|
43782
43782
|
};
|
|
@@ -43905,8 +43905,8 @@ const Wc = { current: null }, Ppe = (t) => {
|
|
|
43905
43905
|
}
|
|
43906
43906
|
);
|
|
43907
43907
|
return /* @__PURE__ */ Q(pi, { margin: p, fullWidth: !0, children: [
|
|
43908
|
-
(l || f) && /* @__PURE__ */ w(
|
|
43909
|
-
f ? /* @__PURE__ */ w(
|
|
43908
|
+
(l || f) && /* @__PURE__ */ w(Ze, { ...u, children: n }),
|
|
43909
|
+
f ? /* @__PURE__ */ w(Ze, { children: y == null ? void 0 : y.description }) : /* @__PURE__ */ Q(Pe, { children: [
|
|
43910
43910
|
_,
|
|
43911
43911
|
/* @__PURE__ */ w(Zr, { name: e, id: `${e}-err`, errorMode: m })
|
|
43912
43912
|
] })
|
|
@@ -43944,7 +43944,7 @@ const Wc = { current: null }, Ppe = (t) => {
|
|
|
43944
43944
|
], R = () => t.labelPlacement == "start" ? "right" : t.labelPlacement == "top" || t.labelPlacement == "bottom" ? "center" : "left", N = n.map((_, I) => {
|
|
43945
43945
|
const B = i === "top" && (o === "start" || o === "end"), W = _.helperText ? /* @__PURE__ */ Q("div", { children: [
|
|
43946
43946
|
/* @__PURE__ */ w("p", { style: { margin: 0 }, children: _.label }),
|
|
43947
|
-
/* @__PURE__ */ w(
|
|
43947
|
+
/* @__PURE__ */ w(Ze, { variant: "caption", style: { fontSize: "0.85rem" }, children: _.helperText })
|
|
43948
43948
|
] }) : _.label;
|
|
43949
43949
|
return /* @__PURE__ */ w(
|
|
43950
43950
|
Ih,
|
|
@@ -43974,8 +43974,8 @@ const Wc = { current: null }, Ppe = (t) => {
|
|
|
43974
43974
|
}, V = (_) => {
|
|
43975
43975
|
const I = n.find((B) => B.value === _);
|
|
43976
43976
|
return /* @__PURE__ */ Q(Pe, { children: [
|
|
43977
|
-
/* @__PURE__ */ w(
|
|
43978
|
-
(I == null ? void 0 : I.helperText) && /* @__PURE__ */ w(
|
|
43977
|
+
/* @__PURE__ */ w(Ze, { children: I == null ? void 0 : I.label }),
|
|
43978
|
+
(I == null ? void 0 : I.helperText) && /* @__PURE__ */ w(Ze, { variant: "caption", style: { fontSize: "0.85rem" }, children: I.helperText })
|
|
43979
43979
|
] });
|
|
43980
43980
|
}, M = (_) => {
|
|
43981
43981
|
C(_.target.value), f && f(_.target.value);
|
|
@@ -44018,11 +44018,11 @@ const Wc = { current: null }, Ppe = (t) => {
|
|
|
44018
44018
|
return s ? (() => {
|
|
44019
44019
|
let y;
|
|
44020
44020
|
return Array.isArray(u) ? y = s === "percent" ? `${100 * (u[0] ?? 0) / o}% - ${100 * (u[1] ?? 0) / o}%` : `${u[0] ?? 0} - ${u[1] ?? 0}` : y = s === "percent" ? `${100 * (u ?? 0) / o}%` : `${u ?? 0}`, /* @__PURE__ */ Q(Pe, { children: [
|
|
44021
|
-
/* @__PURE__ */ w(
|
|
44022
|
-
/* @__PURE__ */ w(
|
|
44021
|
+
/* @__PURE__ */ w(Ze, { ...a, children: n }),
|
|
44022
|
+
/* @__PURE__ */ w(Ze, { children: y })
|
|
44023
44023
|
] });
|
|
44024
44024
|
})() : /* @__PURE__ */ Q(pi, { fullWidth: !0, children: [
|
|
44025
|
-
/* @__PURE__ */ w(
|
|
44025
|
+
/* @__PURE__ */ w(Ze, { gutterBottom: !0, color: "textSecondary", children: n }),
|
|
44026
44026
|
/* @__PURE__ */ w(
|
|
44027
44027
|
A3,
|
|
44028
44028
|
{
|
|
@@ -44115,7 +44115,7 @@ const Wc = { current: null }, Ppe = (t) => {
|
|
|
44115
44115
|
diffSnapshot: HC(k, I(e), t.multiple)
|
|
44116
44116
|
}
|
|
44117
44117
|
) : /* @__PURE__ */ Q(pi, { fullWidth: !0, variant: a, error: !!C, margin: u, required: f, children: [
|
|
44118
|
-
i ? /* @__PURE__ */ w(
|
|
44118
|
+
i ? /* @__PURE__ */ w(Ze, { ...s, children: r }) : /* @__PURE__ */ w(nv, { id: `${e}-select-label`, children: r }),
|
|
44119
44119
|
/* @__PURE__ */ Q(Pe, { children: [
|
|
44120
44120
|
/* @__PURE__ */ w(
|
|
44121
44121
|
P3,
|
|
@@ -44163,8 +44163,8 @@ const Wc = { current: null }, Ppe = (t) => {
|
|
|
44163
44163
|
}
|
|
44164
44164
|
};
|
|
44165
44165
|
return o ? /* @__PURE__ */ Q(Pe, { children: [
|
|
44166
|
-
/* @__PURE__ */ w(
|
|
44167
|
-
/* @__PURE__ */ w(
|
|
44166
|
+
/* @__PURE__ */ w(Ze, { ...i, children: n }),
|
|
44167
|
+
/* @__PURE__ */ w(Ze, { children: C(g) })
|
|
44168
44168
|
] }) : /* @__PURE__ */ Q(
|
|
44169
44169
|
Pe,
|
|
44170
44170
|
{
|
|
@@ -48567,7 +48567,7 @@ function eh(t, e, n, r = n) {
|
|
|
48567
48567
|
let o;
|
|
48568
48568
|
return typeof t == "function" ? o = t(n) : Array.isArray(t) ? o = t[n] || r : o = Pm(t, n) || r, e && (o = e(o, r, t)), o;
|
|
48569
48569
|
}
|
|
48570
|
-
function
|
|
48570
|
+
function Mn(t) {
|
|
48571
48571
|
const {
|
|
48572
48572
|
prop: e,
|
|
48573
48573
|
cssProperty: n = t.prop,
|
|
@@ -48682,7 +48682,7 @@ function go(t) {
|
|
|
48682
48682
|
return typeof t != "number" ? t : `${t}px solid`;
|
|
48683
48683
|
}
|
|
48684
48684
|
function Mo(t, e) {
|
|
48685
|
-
return
|
|
48685
|
+
return Mn({
|
|
48686
48686
|
prop: t,
|
|
48687
48687
|
themeKey: "borders",
|
|
48688
48688
|
transform: e
|
|
@@ -48741,39 +48741,39 @@ zm.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
48741
48741
|
rowGap: Ws
|
|
48742
48742
|
} : {};
|
|
48743
48743
|
zm.filterProps = ["rowGap"];
|
|
48744
|
-
const qse =
|
|
48744
|
+
const qse = Mn({
|
|
48745
48745
|
prop: "gridColumn"
|
|
48746
|
-
}), Kse =
|
|
48746
|
+
}), Kse = Mn({
|
|
48747
48747
|
prop: "gridRow"
|
|
48748
|
-
}), Yse =
|
|
48748
|
+
}), Yse = Mn({
|
|
48749
48749
|
prop: "gridAutoFlow"
|
|
48750
|
-
}), Gse =
|
|
48750
|
+
}), Gse = Mn({
|
|
48751
48751
|
prop: "gridAutoColumns"
|
|
48752
|
-
}), Jse =
|
|
48752
|
+
}), Jse = Mn({
|
|
48753
48753
|
prop: "gridAutoRows"
|
|
48754
|
-
}), Xse =
|
|
48754
|
+
}), Xse = Mn({
|
|
48755
48755
|
prop: "gridTemplateColumns"
|
|
48756
|
-
}), Zse =
|
|
48756
|
+
}), Zse = Mn({
|
|
48757
48757
|
prop: "gridTemplateRows"
|
|
48758
|
-
}), Qse =
|
|
48758
|
+
}), Qse = Mn({
|
|
48759
48759
|
prop: "gridTemplateAreas"
|
|
48760
|
-
}), eae =
|
|
48760
|
+
}), eae = Mn({
|
|
48761
48761
|
prop: "gridArea"
|
|
48762
48762
|
});
|
|
48763
48763
|
Lm(Bm, Vm, zm, qse, Kse, Yse, Gse, Jse, Xse, Zse, Qse, eae);
|
|
48764
48764
|
function Dl(t, e) {
|
|
48765
48765
|
return e === "grey" ? e : t;
|
|
48766
48766
|
}
|
|
48767
|
-
const tae =
|
|
48767
|
+
const tae = Mn({
|
|
48768
48768
|
prop: "color",
|
|
48769
48769
|
themeKey: "palette",
|
|
48770
48770
|
transform: Dl
|
|
48771
|
-
}), nae =
|
|
48771
|
+
}), nae = Mn({
|
|
48772
48772
|
prop: "bgcolor",
|
|
48773
48773
|
cssProperty: "backgroundColor",
|
|
48774
48774
|
themeKey: "palette",
|
|
48775
48775
|
transform: Dl
|
|
48776
|
-
}), rae =
|
|
48776
|
+
}), rae = Mn({
|
|
48777
48777
|
prop: "backgroundColor",
|
|
48778
48778
|
themeKey: "palette",
|
|
48779
48779
|
transform: Dl
|
|
@@ -48782,7 +48782,7 @@ Lm(tae, nae, rae);
|
|
|
48782
48782
|
function Yr(t) {
|
|
48783
48783
|
return t <= 1 && t !== 0 ? `${t * 100}%` : t;
|
|
48784
48784
|
}
|
|
48785
|
-
const oae =
|
|
48785
|
+
const oae = Mn({
|
|
48786
48786
|
prop: "width",
|
|
48787
48787
|
transform: Yr
|
|
48788
48788
|
}), K1 = (t) => {
|
|
@@ -48803,30 +48803,30 @@ const oae = On({
|
|
|
48803
48803
|
return null;
|
|
48804
48804
|
};
|
|
48805
48805
|
K1.filterProps = ["maxWidth"];
|
|
48806
|
-
const iae =
|
|
48806
|
+
const iae = Mn({
|
|
48807
48807
|
prop: "minWidth",
|
|
48808
48808
|
transform: Yr
|
|
48809
|
-
}), sae =
|
|
48809
|
+
}), sae = Mn({
|
|
48810
48810
|
prop: "height",
|
|
48811
48811
|
transform: Yr
|
|
48812
|
-
}), aae =
|
|
48812
|
+
}), aae = Mn({
|
|
48813
48813
|
prop: "maxHeight",
|
|
48814
48814
|
transform: Yr
|
|
48815
|
-
}), lae =
|
|
48815
|
+
}), lae = Mn({
|
|
48816
48816
|
prop: "minHeight",
|
|
48817
48817
|
transform: Yr
|
|
48818
48818
|
});
|
|
48819
|
-
|
|
48819
|
+
Mn({
|
|
48820
48820
|
prop: "size",
|
|
48821
48821
|
cssProperty: "width",
|
|
48822
48822
|
transform: Yr
|
|
48823
48823
|
});
|
|
48824
|
-
|
|
48824
|
+
Mn({
|
|
48825
48825
|
prop: "size",
|
|
48826
48826
|
cssProperty: "height",
|
|
48827
48827
|
transform: Yr
|
|
48828
48828
|
});
|
|
48829
|
-
const cae =
|
|
48829
|
+
const cae = Mn({
|
|
48830
48830
|
prop: "boxSizing"
|
|
48831
48831
|
});
|
|
48832
48832
|
Lm(oae, K1, iae, sae, aae, lae, cae);
|
|
@@ -54933,7 +54933,7 @@ const mue = te(uue, {
|
|
|
54933
54933
|
disablePast: m,
|
|
54934
54934
|
disableFuture: p,
|
|
54935
54935
|
timezone: se
|
|
54936
|
-
}),
|
|
54936
|
+
}), yt = $ && ee || M, Tt = $ && ee || L, An = `${o}-grid-label`, rn = Z !== null, dn = (W == null ? void 0 : W.calendarHeader) ?? xA, Cn = At({
|
|
54937
54937
|
elementType: dn,
|
|
54938
54938
|
externalSlotProps: q == null ? void 0 : q.calendarHeader,
|
|
54939
54939
|
additionalProps: {
|
|
@@ -54945,7 +54945,7 @@ const mue = te(uue, {
|
|
|
54945
54945
|
newMonth: tt,
|
|
54946
54946
|
direction: Pt
|
|
54947
54947
|
}),
|
|
54948
|
-
minDate:
|
|
54948
|
+
minDate: yt,
|
|
54949
54949
|
maxDate: Tt,
|
|
54950
54950
|
disabled: $,
|
|
54951
54951
|
disablePast: m,
|
|
@@ -54979,7 +54979,7 @@ const mue = te(uue, {
|
|
|
54979
54979
|
timezone: se
|
|
54980
54980
|
}) : tt;
|
|
54981
54981
|
ur ? (Se(ur, "finish"), b == null || b(ur)) : (Ce(), Ue(Pt)), Ve(ur, !0);
|
|
54982
|
-
}),
|
|
54982
|
+
}), _n = Fe((tt) => ne(tt && Xp(r, tt, ee ?? Re), "finish", me));
|
|
54983
54983
|
D.useEffect(() => {
|
|
54984
54984
|
ee != null && r.isValid(ee) && Ue(ee);
|
|
54985
54985
|
}, [ee]);
|
|
@@ -55038,7 +55038,7 @@ const mue = te(uue, {
|
|
|
55038
55038
|
onFocusedDayChange: Ve,
|
|
55039
55039
|
reduceAnimations: v,
|
|
55040
55040
|
selectedDays: Ye,
|
|
55041
|
-
onSelectedDaysChange:
|
|
55041
|
+
onSelectedDaysChange: _n,
|
|
55042
55042
|
shouldDisableDate: C,
|
|
55043
55043
|
shouldDisableMonth: k,
|
|
55044
55044
|
shouldDisableYear: T,
|
|
@@ -57239,8 +57239,8 @@ const wO = (t) => {
|
|
|
57239
57239
|
...Sr({ ...t }, $)
|
|
57240
57240
|
};
|
|
57241
57241
|
return /* @__PURE__ */ Q(pi, { fullWidth: !0, margin: l, children: [
|
|
57242
|
-
(u || o) && /* @__PURE__ */ w(
|
|
57243
|
-
o ? /* @__PURE__ */ w(
|
|
57242
|
+
(u || o) && /* @__PURE__ */ w(Ze, { ...f, children: n }),
|
|
57243
|
+
o ? /* @__PURE__ */ w(Ze, { "data-testid": "date-field_readonly-value", children: T != null && T.isValid() ? T.format(i) : "" }) : /* @__PURE__ */ Q(Pe, { children: [
|
|
57244
57244
|
/* @__PURE__ */ w($1, { dateAdapter: Noe, children: /* @__PURE__ */ w(Pe, { children: a ? /* @__PURE__ */ w(
|
|
57245
57245
|
OA,
|
|
57246
57246
|
{
|
|
@@ -59088,7 +59088,7 @@ const xde = cn.create({
|
|
|
59088
59088
|
};
|
|
59089
59089
|
}
|
|
59090
59090
|
}), BA = Ah((t, e) => {
|
|
59091
|
-
const [n, r] =
|
|
59091
|
+
const [n, r] = gt(0), o = (l) => {
|
|
59092
59092
|
if (l >= t.items.length)
|
|
59093
59093
|
return;
|
|
59094
59094
|
const u = t.items[l], f = {
|
|
@@ -59452,16 +59452,16 @@ const Bpe = (t) => {
|
|
|
59452
59452
|
}
|
|
59453
59453
|
);
|
|
59454
59454
|
return /* @__PURE__ */ Q(Pe, { display: "flex", flexDirection: "column", children: [
|
|
59455
|
-
r && /* @__PURE__ */ w(
|
|
59455
|
+
r && /* @__PURE__ */ w(Ze, { ...o, children: r }),
|
|
59456
59456
|
v
|
|
59457
59457
|
] });
|
|
59458
59458
|
}, DO = (t) => {
|
|
59459
|
-
const { colSpan: e, isExpanded: n, renderExpand: r, obj: o, asMobileCard: i = !1, reRenderExpand: s = !1 } = t, [a, l] =
|
|
59459
|
+
const { colSpan: e, isExpanded: n, renderExpand: r, obj: o, asMobileCard: i = !1, reRenderExpand: s = !1 } = t, [a, l] = gt(!1), [u, f] = gt(void 0);
|
|
59460
59460
|
return Ft(() => {
|
|
59461
59461
|
n && (!a || s) && (l(!0), f(r(o)));
|
|
59462
59462
|
}, [n, o]), i ? /* @__PURE__ */ w(FC, { in: n, children: u }) : /* @__PURE__ */ w(Jc, { sx: { "&:last-child td": { borderBottom: "unset" } }, children: /* @__PURE__ */ w(Xc, { sx: { paddingBottom: 0, paddingTop: 0 }, colSpan: e, children: /* @__PURE__ */ w(FC, { in: n, children: u }) }) });
|
|
59463
59463
|
}, Pde = ({ isLoading: t, children: e }) => {
|
|
59464
|
-
const [n, r] =
|
|
59464
|
+
const [n, r] = gt(!1);
|
|
59465
59465
|
return Ft(() => {
|
|
59466
59466
|
let o, i;
|
|
59467
59467
|
return t ? o = setTimeout(() => r(!0), 300) : n ? i = setTimeout(() => r(!1), 200) : (o && clearTimeout(o), r(!1)), () => {
|
|
@@ -59544,15 +59544,15 @@ const Bpe = (t) => {
|
|
|
59544
59544
|
// this works even if the obj doesn't have an id but should improve fieldName to be more flexible
|
|
59545
59545
|
label: "",
|
|
59546
59546
|
render: (he, we) => {
|
|
59547
|
-
const Je = n(we),
|
|
59547
|
+
const Je = n(we), yt = I === Je;
|
|
59548
59548
|
return /* @__PURE__ */ w(
|
|
59549
59549
|
Hn,
|
|
59550
59550
|
{
|
|
59551
59551
|
"data-testid": "expand-collapse-btn",
|
|
59552
|
-
"aria-label":
|
|
59552
|
+
"aria-label": yt ? "collapse row" : "expand row",
|
|
59553
59553
|
size: "small",
|
|
59554
59554
|
onClick: () => K(Je),
|
|
59555
|
-
children:
|
|
59555
|
+
children: yt ? /* @__PURE__ */ w(lp, { "data-testid": "collapse-up" }) : /* @__PURE__ */ w(Db, { "data-testid": "expand-down" })
|
|
59556
59556
|
}
|
|
59557
59557
|
);
|
|
59558
59558
|
}
|
|
@@ -59568,8 +59568,8 @@ const Bpe = (t) => {
|
|
|
59568
59568
|
ov,
|
|
59569
59569
|
{
|
|
59570
59570
|
onChange: () => {
|
|
59571
|
-
const
|
|
59572
|
-
l(
|
|
59571
|
+
const yt = a.includes(Je);
|
|
59572
|
+
l(yt ? a.filter((Tt) => Tt !== Je) : [...a, Je]);
|
|
59573
59573
|
},
|
|
59574
59574
|
checked: a.includes(Je)
|
|
59575
59575
|
}
|
|
@@ -59592,7 +59592,7 @@ const Bpe = (t) => {
|
|
|
59592
59592
|
/* @__PURE__ */ w(y_, { color: "error" }),
|
|
59593
59593
|
" ",
|
|
59594
59594
|
C,
|
|
59595
|
-
k && /* @__PURE__ */ w(
|
|
59595
|
+
k && /* @__PURE__ */ w(En, { variant: "text", onClick: k, children: "Retry?" })
|
|
59596
59596
|
]
|
|
59597
59597
|
}
|
|
59598
59598
|
), ee = () => {
|
|
@@ -59619,7 +59619,7 @@ const Bpe = (t) => {
|
|
|
59619
59619
|
const we = I === n(he);
|
|
59620
59620
|
return /* @__PURE__ */ Q(Ln, { children: [
|
|
59621
59621
|
/* @__PURE__ */ Q(
|
|
59622
|
-
|
|
59622
|
+
En,
|
|
59623
59623
|
{
|
|
59624
59624
|
"data-testid": "show-more-less-btn",
|
|
59625
59625
|
variant: "text",
|
|
@@ -59644,13 +59644,13 @@ const Bpe = (t) => {
|
|
|
59644
59644
|
)
|
|
59645
59645
|
] });
|
|
59646
59646
|
}, de = R ?? _, Ce = (he) => {
|
|
59647
|
-
const Je = (O ? W : N) === n(he) ? de : "inherit",
|
|
59647
|
+
const Je = (O ? W : N) === n(he) ? de : "inherit", yt = i || s || L;
|
|
59648
59648
|
return {
|
|
59649
|
-
cursor:
|
|
59649
|
+
cursor: yt ? "pointer" : "default",
|
|
59650
59650
|
backgroundColor: Je,
|
|
59651
59651
|
...u ? { "& > td": { borderBottom: "unset" } } : { "&:last-child td": { borderBottom: "unset" } },
|
|
59652
59652
|
// Remove bottom border from last TableCell since table has a border
|
|
59653
|
-
...
|
|
59653
|
+
...yt && {
|
|
59654
59654
|
"&:hover": {
|
|
59655
59655
|
// use darken to indicate hover when hovering over the selected row, since the same color is used
|
|
59656
59656
|
// to highlight the selected row AND for hovering
|
|
@@ -59666,11 +59666,11 @@ const Bpe = (t) => {
|
|
|
59666
59666
|
sx: { color: z ?? Se, marginLeft: "2px" }
|
|
59667
59667
|
}
|
|
59668
59668
|
) }), Me = (he, we) => {
|
|
59669
|
-
const Je = he.find((Tt) => Tt.key === "MBv2_Checkbox_Column"),
|
|
59669
|
+
const Je = he.find((Tt) => Tt.key === "MBv2_Checkbox_Column"), yt = ue.filter((Tt) => Tt.key !== "MBv2_Checkbox_Column");
|
|
59670
59670
|
return /* @__PURE__ */ Q(Ql, { alignItems: "flex-start", children: [
|
|
59671
59671
|
Je && /* @__PURE__ */ w(Mh, { children: Nl(Je, we, pe) }),
|
|
59672
59672
|
/* @__PURE__ */ Q(Mh, { width: "100%", children: [
|
|
59673
|
-
/* @__PURE__ */ w("table", { className: "MBv2_Table_Stack", children: /* @__PURE__ */ w("tbody", { className: "MBv2_Table_Stack_Body", children:
|
|
59673
|
+
/* @__PURE__ */ w("table", { className: "MBv2_Table_Stack", children: /* @__PURE__ */ w("tbody", { className: "MBv2_Table_Stack_Body", children: yt.map((Tt) => /* @__PURE__ */ Q("tr", { className: "MBv2_Table_Stack_Row", children: [
|
|
59674
59674
|
/* @__PURE__ */ Q(
|
|
59675
59675
|
"td",
|
|
59676
59676
|
{
|
|
@@ -59962,7 +59962,7 @@ const Bpe = (t) => {
|
|
|
59962
59962
|
variant: i = "contained"
|
|
59963
59963
|
} = t, { width: s } = zA(), a = ["locationInBar", "closeDialog", "fullWidthOnMobile"], l = r && s < 600;
|
|
59964
59964
|
return /* @__PURE__ */ w(
|
|
59965
|
-
|
|
59965
|
+
En,
|
|
59966
59966
|
{
|
|
59967
59967
|
role: "button",
|
|
59968
59968
|
name: e,
|
|
@@ -59987,7 +59987,7 @@ const Bpe = (t) => {
|
|
|
59987
59987
|
flexDirection: "column",
|
|
59988
59988
|
alignItems: "end",
|
|
59989
59989
|
children: [
|
|
59990
|
-
/* @__PURE__ */ Q(
|
|
59990
|
+
/* @__PURE__ */ Q(Ze, { variant: "body2", sx: { wordBreak: "break-all", maxWidth: "350px" }, children: [
|
|
59991
59991
|
"Are you sure you want to go to ",
|
|
59992
59992
|
/* @__PURE__ */ w("br", {}),
|
|
59993
59993
|
/* @__PURE__ */ w("b", { children: e.url }),
|
|
@@ -60033,7 +60033,7 @@ const Bpe = (t) => {
|
|
|
60033
60033
|
boxShadow: 9,
|
|
60034
60034
|
"data-testid": `citation-table_delete-prompt-${e.id}`,
|
|
60035
60035
|
children: [
|
|
60036
|
-
/* @__PURE__ */ Q(
|
|
60036
|
+
/* @__PURE__ */ Q(Ze, { variant: "body2", children: [
|
|
60037
60037
|
"Are you sure you want to delete this ",
|
|
60038
60038
|
e.fileName ? "attachment" : "citation",
|
|
60039
60039
|
"?"
|
|
@@ -60091,7 +60091,7 @@ const Bpe = (t) => {
|
|
|
60091
60091
|
readOnly: R = !1,
|
|
60092
60092
|
showCloseBtn: N = !1,
|
|
60093
60093
|
canSearch: $ = !1
|
|
60094
|
-
} = t, V = !!t.canCreate && !R, M = !!a && !!s && !R, L = !!u && !!l && R && k, z = !!f && !R, { palette: F } = Xn(), [A, _] =
|
|
60094
|
+
} = t, V = !!t.canCreate && !R, M = !!a && !!s && !R, L = !!u && !!l && R && k, z = !!f && !R, { palette: F } = Xn(), [A, _] = gt([]), [I, B] = gt(!1), [W, q] = gt(!0), [j, Y] = gt(null), [pe, ue] = gt(null), [le, J] = gt(null), [re, ce] = gt({
|
|
60095
60095
|
pageNo: 0,
|
|
60096
60096
|
pageSize: k ? 5 : 10,
|
|
60097
60097
|
totalCount: 0,
|
|
@@ -60255,7 +60255,7 @@ const Bpe = (t) => {
|
|
|
60255
60255
|
}, []);
|
|
60256
60256
|
return /* @__PURE__ */ Q(Mh, { children: [
|
|
60257
60257
|
/* @__PURE__ */ Q(Pe, { display: "flex", flexDirection: "row", justifyContent: "space-between", alignItems: "center", children: [
|
|
60258
|
-
/* @__PURE__ */ w(
|
|
60258
|
+
/* @__PURE__ */ w(Ze, { variant: k ? "h6" : "h2", children: n }),
|
|
60259
60259
|
!T && V && /* @__PURE__ */ Q(Pe, { display: "flex", flexDirection: "row", gap: 1, children: [
|
|
60260
60260
|
se,
|
|
60261
60261
|
me
|
|
@@ -61973,8 +61973,8 @@ const Sfe = (t) => {
|
|
|
61973
61973
|
style: { zIndex: 1300 },
|
|
61974
61974
|
sx: { maxWidth: "500px" },
|
|
61975
61975
|
children: /* @__PURE__ */ Q(Mh, { component: Ba, p: 1, boxShadow: 9, gap: 0.25, children: [
|
|
61976
|
-
/* @__PURE__ */ w(
|
|
61977
|
-
/* @__PURE__ */ w(
|
|
61976
|
+
/* @__PURE__ */ w(Ze, { variant: "body1", children: "Paste in a preformatted citation" }),
|
|
61977
|
+
/* @__PURE__ */ w(Ze, { variant: "body2", color: "text.secondary", fontStyle: "italic", fontSize: ".8em", children: "For best results, ensure your citations use a vertical bar ( | ) to separate the title, source, url, etc. Incomplete citations are allowed but may result in incompletely filled fields." }),
|
|
61978
61978
|
/* @__PURE__ */ w(
|
|
61979
61979
|
lv,
|
|
61980
61980
|
{
|
|
@@ -62047,7 +62047,7 @@ const Sfe = (t) => {
|
|
|
62047
62047
|
details: Kf(e, o)
|
|
62048
62048
|
};
|
|
62049
62049
|
}, Kf = (t, e) => e < 0 || e >= t.length ? "" : t[e], Ofe = (t, e) => e < 0 || e >= t.length ? "" : Lue(t[e].toUpperCase().replace(/^ACCESSED\s+/, "")), Mfe = (t, e) => e < 0 || e >= t.length ? "" : t[e].toUpperCase().includes("PUBLIC") ? "Public Source" : "Proprietary Source", _fe = (t) => {
|
|
62050
|
-
const { title: e, onSave: n, onCancel: r, onClose: o, modifyCitation: i, readOnly: s = !1, showCloseBtn: a = !1 } = t, l = ln(null), [u, f] =
|
|
62050
|
+
const { title: e, onSave: n, onCancel: r, onClose: o, modifyCitation: i, readOnly: s = !1, showCloseBtn: a = !1 } = t, l = ln(null), [u, f] = gt(!1), [p, m] = gt(!1), y = ln(null), [b, g] = gt(!1), [v, C] = gt({
|
|
62051
62051
|
type: "Url",
|
|
62052
62052
|
source: "",
|
|
62053
62053
|
title: "",
|
|
@@ -62070,9 +62070,9 @@ const Sfe = (t) => {
|
|
|
62070
62070
|
return /* @__PURE__ */ Q(Pe, { minWidth: "300px", maxWidth: "500px", children: [
|
|
62071
62071
|
/* @__PURE__ */ Q(Ql, { justifyContent: "space-between", children: [
|
|
62072
62072
|
/* @__PURE__ */ Q(Ql, { gap: 2, children: [
|
|
62073
|
-
/* @__PURE__ */ w(
|
|
62073
|
+
/* @__PURE__ */ w(Ze, { variant: "h6", margin: "10px 0", children: e }),
|
|
62074
62074
|
!s && /* @__PURE__ */ w(
|
|
62075
|
-
|
|
62075
|
+
En,
|
|
62076
62076
|
{
|
|
62077
62077
|
variant: "outlined",
|
|
62078
62078
|
size: "small",
|
|
@@ -62128,8 +62128,8 @@ const Sfe = (t) => {
|
|
|
62128
62128
|
}
|
|
62129
62129
|
)
|
|
62130
62130
|
] }),
|
|
62131
|
-
/* @__PURE__ */ w(xp, { sx: { px: 0 }, children: s ? /* @__PURE__ */ w(
|
|
62132
|
-
/* @__PURE__ */ w(
|
|
62131
|
+
/* @__PURE__ */ w(xp, { sx: { px: 0 }, children: s ? /* @__PURE__ */ w(En, { onClick: r, size: "small", variant: "contained", children: "Back to Table" }) : /* @__PURE__ */ Q(Ln, { children: [
|
|
62132
|
+
/* @__PURE__ */ w(En, { onClick: r, variant: "outlined", size: "small", children: "Cancel" }),
|
|
62133
62133
|
/* @__PURE__ */ w(
|
|
62134
62134
|
HA,
|
|
62135
62135
|
{
|
|
@@ -62179,7 +62179,7 @@ const Sfe = (t) => {
|
|
|
62179
62179
|
modifyCitation: s,
|
|
62180
62180
|
readOnly: a = !1,
|
|
62181
62181
|
showCloseBtn: l = !1
|
|
62182
|
-
} = t, u = ln(null), [f, p] =
|
|
62182
|
+
} = t, u = ln(null), [f, p] = gt(!1), [m, y] = gt(!1), [b, g] = gt({
|
|
62183
62183
|
type: "Attachment",
|
|
62184
62184
|
title: "",
|
|
62185
62185
|
file: void 0,
|
|
@@ -62194,7 +62194,7 @@ const Sfe = (t) => {
|
|
|
62194
62194
|
});
|
|
62195
62195
|
}, []), /* @__PURE__ */ Q(Pe, { minWidth: "300px", maxWidth: "500px", children: [
|
|
62196
62196
|
/* @__PURE__ */ Q(Pe, { display: "flex", flexDirection: "row", alignItems: "center", justifyContent: "space-between", children: [
|
|
62197
|
-
/* @__PURE__ */ w(
|
|
62197
|
+
/* @__PURE__ */ w(Ze, { variant: "h6", margin: "10px 0", children: e }),
|
|
62198
62198
|
l && /* @__PURE__ */ w(Hn, { onClick: o, children: /* @__PURE__ */ w(Mm, {}) })
|
|
62199
62199
|
] }),
|
|
62200
62200
|
/* @__PURE__ */ w(
|
|
@@ -62244,8 +62244,8 @@ const Sfe = (t) => {
|
|
|
62244
62244
|
] }),
|
|
62245
62245
|
/* @__PURE__ */ w(Zr, { name: "fileName" })
|
|
62246
62246
|
] }),
|
|
62247
|
-
/* @__PURE__ */ w(xp, { sx: { px: 0 }, children: a ? /* @__PURE__ */ w(
|
|
62248
|
-
/* @__PURE__ */ w(
|
|
62247
|
+
/* @__PURE__ */ w(xp, { sx: { px: 0 }, children: a ? /* @__PURE__ */ w(En, { onClick: r, size: "small", variant: "contained", children: "Back to Table" }) : /* @__PURE__ */ Q(Ln, { children: [
|
|
62248
|
+
/* @__PURE__ */ w(En, { onClick: r, variant: "outlined", size: "small", children: "Cancel" }),
|
|
62249
62249
|
/* @__PURE__ */ w(
|
|
62250
62250
|
HA,
|
|
62251
62251
|
{
|
|
@@ -62280,7 +62280,7 @@ const Sfe = (t) => {
|
|
|
62280
62280
|
if (!e) return null;
|
|
62281
62281
|
const p = a === "bottom" || a === "top-and-bottom", m = a === "top" || a === "top-and-bottom", y = () => {
|
|
62282
62282
|
if (s && p)
|
|
62283
|
-
return /* @__PURE__ */ w(
|
|
62283
|
+
return /* @__PURE__ */ w(En, { className: "MBv2_Modal_Close", onClick: t.onClose, ...l, children: s });
|
|
62284
62284
|
};
|
|
62285
62285
|
return /* @__PURE__ */ Q(
|
|
62286
62286
|
W3,
|
|
@@ -62693,7 +62693,7 @@ const wd = (t) => {
|
|
|
62693
62693
|
...u,
|
|
62694
62694
|
...a,
|
|
62695
62695
|
children: [
|
|
62696
|
-
s && /* @__PURE__ */ w(
|
|
62696
|
+
s && /* @__PURE__ */ w(Ze, { variant: "h3", children: s }),
|
|
62697
62697
|
n
|
|
62698
62698
|
]
|
|
62699
62699
|
}
|
|
@@ -62727,12 +62727,12 @@ function tP({
|
|
|
62727
62727
|
readOnly: C,
|
|
62728
62728
|
canSearch: k = !1
|
|
62729
62729
|
}) {
|
|
62730
|
-
const [T, S] =
|
|
62730
|
+
const [T, S] = gt(
|
|
62731
62731
|
"Insert Citation/Attachment(s)"
|
|
62732
62732
|
/* CITATIONS_TABLE */
|
|
62733
|
-
), [O, R] =
|
|
62733
|
+
), [O, R] = gt(u), [N, $] = gt(void 0), [V, M] = gt(void 0), L = (K) => {
|
|
62734
62734
|
M(void 0), S(K);
|
|
62735
|
-
}, [z, F] =
|
|
62735
|
+
}, [z, F] = gt(0);
|
|
62736
62736
|
Ft(() => {
|
|
62737
62737
|
f == null || f();
|
|
62738
62738
|
}, [T, V, f]);
|
|
@@ -63011,7 +63011,7 @@ function Jfe(t) {
|
|
|
63011
63011
|
...t,
|
|
63012
63012
|
children: /* @__PURE__ */ Q(Pe, { display: "flex", flexDirection: "row", gap: "4px", alignItems: "center", children: [
|
|
63013
63013
|
/* @__PURE__ */ w(qre, { fontSize: "small" }),
|
|
63014
|
-
/* @__PURE__ */ w(
|
|
63014
|
+
/* @__PURE__ */ w(Ze, { variant: "body2", children: "Insert Citation/Attachment" })
|
|
63015
63015
|
] })
|
|
63016
63016
|
}
|
|
63017
63017
|
);
|
|
@@ -63028,7 +63028,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63028
63028
|
updateAttributes: o,
|
|
63029
63029
|
deleteNode: i
|
|
63030
63030
|
}) => {
|
|
63031
|
-
const s = t.attrs.ids || [], { citations: a, isLoaded: l } = rP(), [u, f] =
|
|
63031
|
+
const s = t.attrs.ids || [], { citations: a, isLoaded: l } = rP(), [u, f] = gt(s ? String(s) : ""), [p, m] = gt([]), y = r.options.citationMaxLength;
|
|
63032
63032
|
if (Ft(() => {
|
|
63033
63033
|
if (!l) return;
|
|
63034
63034
|
const b = a.filter((C) => s.includes(C.id)), g = b.map((C) => La.truncate(C.title, { length: y, omission: "..." })).join(", ");
|
|
@@ -63049,7 +63049,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63049
63049
|
b.url,
|
|
63050
63050
|
b.classification
|
|
63051
63051
|
];
|
|
63052
|
-
return /* @__PURE__ */ Q(
|
|
63052
|
+
return /* @__PURE__ */ Q(Ze, { variant: "subtitle2", children: [
|
|
63053
63053
|
C.filter(Boolean).join(" | "),
|
|
63054
63054
|
g < p.length - 1 && /* @__PURE__ */ w(vs, { className: "citation-tooltip-divider" })
|
|
63055
63055
|
] }, b.id);
|
|
@@ -63303,7 +63303,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63303
63303
|
const f = r && !e;
|
|
63304
63304
|
return /* @__PURE__ */ Q(Ln, { children: [
|
|
63305
63305
|
/* @__PURE__ */ w(
|
|
63306
|
-
|
|
63306
|
+
En,
|
|
63307
63307
|
{
|
|
63308
63308
|
startIcon: f ? void 0 : r,
|
|
63309
63309
|
variant: "outlined",
|
|
@@ -63328,20 +63328,20 @@ const nP = tc(void 0), rP = () => {
|
|
|
63328
63328
|
const { values: t, errors: e, status: n } = kM(), { palette: r } = Xn();
|
|
63329
63329
|
return /* @__PURE__ */ w(Ba, { style: { backgroundColor: r.mode === "dark" ? "#303030" : "#f0f0f0", margin: "10px 0" }, children: /* @__PURE__ */ Q(vM, { children: [
|
|
63330
63330
|
/* @__PURE__ */ Q(Yf, { children: [
|
|
63331
|
-
/* @__PURE__ */ w(
|
|
63331
|
+
/* @__PURE__ */ w(Ze, { display: "block", variant: "h6", children: "Values" }),
|
|
63332
63332
|
/* @__PURE__ */ w("br", {}),
|
|
63333
63333
|
/* @__PURE__ */ w(vs, { variant: "inset" }),
|
|
63334
63334
|
/* @__PURE__ */ w("pre", { children: JSON.stringify(t, null, 2) })
|
|
63335
63335
|
] }),
|
|
63336
63336
|
/* @__PURE__ */ w(vs, { variant: "inset", component: "li" }),
|
|
63337
63337
|
/* @__PURE__ */ Q(Yf, { id: "testing", children: [
|
|
63338
|
-
/* @__PURE__ */ w(
|
|
63338
|
+
/* @__PURE__ */ w(Ze, { display: "block", variant: "h6", children: "Errors" }),
|
|
63339
63339
|
/* @__PURE__ */ w("br", {}),
|
|
63340
63340
|
/* @__PURE__ */ w(vs, { variant: "inset" }),
|
|
63341
63341
|
/* @__PURE__ */ w("pre", { children: JSON.stringify(e, null, 2) })
|
|
63342
63342
|
] }),
|
|
63343
63343
|
/* @__PURE__ */ Q(Yf, { children: [
|
|
63344
|
-
/* @__PURE__ */ w(
|
|
63344
|
+
/* @__PURE__ */ w(Ze, { display: "block", variant: "h6", children: "Status" }),
|
|
63345
63345
|
/* @__PURE__ */ w("br", {}),
|
|
63346
63346
|
/* @__PURE__ */ w(vs, { variant: "inset" }),
|
|
63347
63347
|
/* @__PURE__ */ w("pre", { children: JSON.stringify(n, null, 2) })
|
|
@@ -63390,8 +63390,8 @@ const nP = tc(void 0), rP = () => {
|
|
|
63390
63390
|
alignItems: T === "bottom" ? "flex-start" : "center"
|
|
63391
63391
|
});
|
|
63392
63392
|
return /* @__PURE__ */ Q(pi, { fullWidth: !0, children: [
|
|
63393
|
-
/* @__PURE__ */ w(
|
|
63394
|
-
m && v.value.length === 0 ? /* @__PURE__ */ w(
|
|
63393
|
+
/* @__PURE__ */ w(Ze, { ...r, children: n }),
|
|
63394
|
+
m && v.value.length === 0 ? /* @__PURE__ */ w(Ze, { children: y }) : /* @__PURE__ */ w(
|
|
63395
63395
|
mV,
|
|
63396
63396
|
{
|
|
63397
63397
|
name: e,
|
|
@@ -63411,7 +63411,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63411
63411
|
b && O !== C.length - 1 && /* @__PURE__ */ w(vs, { "data-testid": "divider" })
|
|
63412
63412
|
] }),
|
|
63413
63413
|
!m && C.length > (p ? 0 : 1) && /* @__PURE__ */ w(
|
|
63414
|
-
|
|
63414
|
+
En,
|
|
63415
63415
|
{
|
|
63416
63416
|
"data-testid": "repeatable-form-group_remove-btn",
|
|
63417
63417
|
sx: f,
|
|
@@ -63425,7 +63425,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63425
63425
|
}
|
|
63426
63426
|
) }, `${e}-${O}`)),
|
|
63427
63427
|
!m && /* @__PURE__ */ w(
|
|
63428
|
-
|
|
63428
|
+
En,
|
|
63429
63429
|
{
|
|
63430
63430
|
"data-testid": "repeatable-form-group_add-btn",
|
|
63431
63431
|
onClick: () => T.push(o),
|
|
@@ -63470,7 +63470,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63470
63470
|
qm,
|
|
63471
63471
|
{
|
|
63472
63472
|
actions: [
|
|
63473
|
-
/* @__PURE__ */ w(
|
|
63473
|
+
/* @__PURE__ */ w(En, { className: "MBv2_ConfirmationModal_ConfirmBtn", onClick: n, ...r, children: e })
|
|
63474
63474
|
],
|
|
63475
63475
|
closeBtnLabel: o,
|
|
63476
63476
|
closeButtonPosition: i,
|
|
@@ -63519,7 +63519,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63519
63519
|
{
|
|
63520
63520
|
actions: [
|
|
63521
63521
|
/* @__PURE__ */ w(
|
|
63522
|
-
|
|
63522
|
+
En,
|
|
63523
63523
|
{
|
|
63524
63524
|
className: "MBv2_DecisionModal_SecondaryAction",
|
|
63525
63525
|
onClick: i,
|
|
@@ -63527,7 +63527,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63527
63527
|
children: o
|
|
63528
63528
|
}
|
|
63529
63529
|
),
|
|
63530
|
-
/* @__PURE__ */ w(
|
|
63530
|
+
/* @__PURE__ */ w(En, { className: "MBv2_DecisionModal_PrimaryAction", onClick: n, ...r, children: e })
|
|
63531
63531
|
],
|
|
63532
63532
|
closeBtnLabel: a,
|
|
63533
63533
|
closeButtonPosition: l,
|
|
@@ -63537,7 +63537,8 @@ const nP = tc(void 0), rP = () => {
|
|
|
63537
63537
|
}, npe = {
|
|
63538
63538
|
added: { icon: jre, label: "Added", color: "success" },
|
|
63539
63539
|
deleted: { icon: OD, label: "Deleted", color: "error" },
|
|
63540
|
-
modified: { icon: Kre, label: "Modified", color: "info" }
|
|
63540
|
+
modified: { icon: Kre, label: "Modified", color: "info" },
|
|
63541
|
+
unmodified: { label: "Unmodified", color: "default" }
|
|
63541
63542
|
}, rpe = (t, e) => /* @__PURE__ */ Q(Ln, { children: [
|
|
63542
63543
|
/* @__PURE__ */ w(Pe, { "data-testid": "diff-table-cell-removed", sx: { backgroundColor: Gp }, children: /* @__PURE__ */ w("s", { children: t }) }),
|
|
63543
63544
|
/* @__PURE__ */ w(Pe, { "data-testid": "diff-table-cell-added", sx: { backgroundColor: Yp }, children: /* @__PURE__ */ w("u", { children: e }) })
|
|
@@ -63551,57 +63552,57 @@ const nP = tc(void 0), rP = () => {
|
|
|
63551
63552
|
}
|
|
63552
63553
|
return o;
|
|
63553
63554
|
}, ipe = (t, e, n, r = !1, o) => {
|
|
63554
|
-
const i = [];
|
|
63555
|
-
let
|
|
63556
|
-
for (e.sort((u, f) => u.id - f.id), n.sort((u, f) => u.id - f.id);
|
|
63557
|
-
const u = e[
|
|
63555
|
+
const i = [], s = [];
|
|
63556
|
+
let a = 0, l = 0;
|
|
63557
|
+
for (e.sort((u, f) => u.id - f.id), n.sort((u, f) => u.id - f.id); a < e.length && l < n.length; ) {
|
|
63558
|
+
const u = e[a], f = n[l];
|
|
63558
63559
|
if (u.id === f.id) {
|
|
63559
63560
|
const p = ope(t, u, f, r);
|
|
63560
|
-
(o == null ? void 0 : o(u, f)) ?? Object.keys(p).length === 0 ?
|
|
63561
|
+
(o == null ? void 0 : o(u, f)) ?? Object.keys(p).length === 0 ? s.push({ ...f, changeType: "unmodified" }) : i.push({
|
|
63561
63562
|
...f,
|
|
63562
63563
|
changeType: "modified",
|
|
63563
63564
|
modifiedDiff: p
|
|
63564
|
-
}),
|
|
63565
|
-
} else u.id < f.id ? (i.push({ ...u, changeType: "deleted" }),
|
|
63566
|
-
}
|
|
63567
|
-
for (;
|
|
63568
|
-
i.push({ ...e[
|
|
63569
|
-
for (;
|
|
63570
|
-
i.push({ ...n[
|
|
63571
|
-
return { dataDiff: i,
|
|
63565
|
+
}), a++, l++;
|
|
63566
|
+
} else u.id < f.id ? (i.push({ ...u, changeType: "deleted" }), a++) : (i.push({ ...f, changeType: "added" }), l++);
|
|
63567
|
+
}
|
|
63568
|
+
for (; a < e.length; )
|
|
63569
|
+
i.push({ ...e[a], changeType: "deleted" }), a++;
|
|
63570
|
+
for (; l < n.length; )
|
|
63571
|
+
i.push({ ...n[l], changeType: "added" }), l++;
|
|
63572
|
+
return { dataDiff: i, dataUnmodified: s };
|
|
63572
63573
|
}, spe = (t) => {
|
|
63573
63574
|
const { beforeData: e, afterData: n, columns: r, isEqual: o, size: i, isMobileScreen: s } = t;
|
|
63574
63575
|
t.renderExpand != null && o == null && console.warn("DiffTable: isEqual prop should be provided when renderExpand is provided");
|
|
63575
|
-
const { dataDiff: a,
|
|
63576
|
-
{
|
|
63577
|
-
fieldName: "changeType",
|
|
63578
|
-
render: (f) => {
|
|
63579
|
-
const p = npe[f];
|
|
63580
|
-
return /* @__PURE__ */ w(
|
|
63581
|
-
eV,
|
|
63582
|
-
{
|
|
63583
|
-
color: p.color,
|
|
63584
|
-
size: i == "small" || i == "x-small" ? "small" : "medium",
|
|
63585
|
-
label: /* @__PURE__ */ Q(Xe, { children: [
|
|
63586
|
-
/* @__PURE__ */ w(b_, { icon: p.icon }),
|
|
63587
|
-
p.label
|
|
63588
|
-
] })
|
|
63589
|
-
}
|
|
63590
|
-
);
|
|
63591
|
-
}
|
|
63592
|
-
},
|
|
63593
|
-
...r.map((f) => ({
|
|
63594
|
-
...f,
|
|
63595
|
-
render: (p, m) => {
|
|
63596
|
-
var y;
|
|
63597
|
-
return ((y = m.modifiedDiff) == null ? void 0 : y[kn(f)]) ?? Nl(f, m, s);
|
|
63598
|
-
}
|
|
63599
|
-
}))
|
|
63600
|
-
];
|
|
63576
|
+
const { dataDiff: a, dataUnmodified: l } = ipe(r, e, n, s, o);
|
|
63601
63577
|
return {
|
|
63602
|
-
|
|
63603
|
-
|
|
63578
|
+
columns: [
|
|
63579
|
+
{
|
|
63580
|
+
fieldName: "changeType",
|
|
63581
|
+
render: (f) => {
|
|
63582
|
+
const p = npe[f];
|
|
63583
|
+
return /* @__PURE__ */ w(
|
|
63584
|
+
eV,
|
|
63585
|
+
{
|
|
63586
|
+
color: p.color,
|
|
63587
|
+
size: i == "small" || i == "x-small" ? "small" : "medium",
|
|
63588
|
+
label: /* @__PURE__ */ Q(Ze, { children: [
|
|
63589
|
+
p.icon && /* @__PURE__ */ w(b_, { icon: p.icon }),
|
|
63590
|
+
p.label
|
|
63591
|
+
] })
|
|
63592
|
+
}
|
|
63593
|
+
);
|
|
63594
|
+
}
|
|
63595
|
+
},
|
|
63596
|
+
...r.map((f) => ({
|
|
63597
|
+
...f,
|
|
63598
|
+
render: (p, m) => {
|
|
63599
|
+
var y;
|
|
63600
|
+
return ((y = m.modifiedDiff) == null ? void 0 : y[kn(f)]) ?? Nl(f, m, s);
|
|
63601
|
+
}
|
|
63602
|
+
}))
|
|
63603
|
+
],
|
|
63604
63604
|
data: a,
|
|
63605
|
+
unmodifiedData: l,
|
|
63605
63606
|
renderExpand: t.renderExpand ? (f) => {
|
|
63606
63607
|
const p = e.find((m) => m.id === f.id);
|
|
63607
63608
|
return /* @__PURE__ */ w(
|
|
@@ -63618,27 +63619,26 @@ const nP = tc(void 0), rP = () => {
|
|
|
63618
63619
|
}, ape = ({
|
|
63619
63620
|
columns: t,
|
|
63620
63621
|
data: e,
|
|
63621
|
-
|
|
63622
|
-
|
|
63623
|
-
|
|
63624
|
-
|
|
63625
|
-
}) =>
|
|
63626
|
-
|
|
63627
|
-
|
|
63628
|
-
|
|
63629
|
-
|
|
63630
|
-
|
|
63631
|
-
|
|
63632
|
-
|
|
63633
|
-
|
|
63634
|
-
|
|
63635
|
-
|
|
63636
|
-
|
|
63637
|
-
|
|
63638
|
-
|
|
63639
|
-
|
|
63640
|
-
|
|
63641
|
-
] }), Gpe = (t) => {
|
|
63622
|
+
unmodifiedData: n = [],
|
|
63623
|
+
emptyTableMsg: r = "No changes to display",
|
|
63624
|
+
renderExpand: o,
|
|
63625
|
+
size: i
|
|
63626
|
+
}) => {
|
|
63627
|
+
const [s, a] = gt(!1), l = () => a(!s), u = `${s ? "Hide" : "Show"} ${n.length} unmodified row${n.length > 1 ? "s" : void 0}`;
|
|
63628
|
+
return /* @__PURE__ */ Q(Pe, { children: [
|
|
63629
|
+
/* @__PURE__ */ w(
|
|
63630
|
+
VA,
|
|
63631
|
+
{
|
|
63632
|
+
columns: t,
|
|
63633
|
+
data: [...e, ...s ? n : []],
|
|
63634
|
+
emptyTableMsg: r,
|
|
63635
|
+
renderExpand: o,
|
|
63636
|
+
size: i
|
|
63637
|
+
}
|
|
63638
|
+
),
|
|
63639
|
+
n.length > 0 && /* @__PURE__ */ w(Pe, { children: /* @__PURE__ */ w(En, { onClick: l, children: u }) })
|
|
63640
|
+
] });
|
|
63641
|
+
}, Gpe = (t) => {
|
|
63642
63642
|
const { emptyTableMsg: e = "No changes to display", ...n } = t, r = Ls(Xn().breakpoints.down("sm")), o = "beforeData" in n ? spe({
|
|
63643
63643
|
...n,
|
|
63644
63644
|
isMobileScreen: r
|
|
@@ -63706,7 +63706,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63706
63706
|
}
|
|
63707
63707
|
),
|
|
63708
63708
|
n && /* @__PURE__ */ w(
|
|
63709
|
-
|
|
63709
|
+
Ze,
|
|
63710
63710
|
{
|
|
63711
63711
|
style: { fontSize: 15 },
|
|
63712
63712
|
"data-testid": "copyright",
|
|
@@ -63722,7 +63722,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63722
63722
|
}
|
|
63723
63723
|
);
|
|
63724
63724
|
}, lpe = (t) => {
|
|
63725
|
-
const { menuOptionLists: e, anchor: n = "left", children: r } = t, { pathname: o } = cv(), i = nc(), [s, a] =
|
|
63725
|
+
const { menuOptionLists: e, anchor: n = "left", children: r } = t, { pathname: o } = cv(), i = nc(), [s, a] = gt(!1), l = (m, y) => /* @__PURE__ */ w(nV, { children: m.map((b) => /* @__PURE__ */ Q(
|
|
63726
63726
|
Dh,
|
|
63727
63727
|
{
|
|
63728
63728
|
...oc(b, i, () => a(!1)),
|
|
@@ -63762,7 +63762,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63762
63762
|
alignItems: "center",
|
|
63763
63763
|
justifyContent: "center"
|
|
63764
63764
|
},
|
|
63765
|
-
children: /* @__PURE__ */ Q(
|
|
63765
|
+
children: /* @__PURE__ */ Q(Ze, { variant: "h6", color: "error", children: [
|
|
63766
63766
|
e,
|
|
63767
63767
|
" Environment - Test Data Only"
|
|
63768
63768
|
] })
|
|
@@ -63853,7 +63853,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63853
63853
|
gap: 2
|
|
63854
63854
|
},
|
|
63855
63855
|
children: [
|
|
63856
|
-
/* @__PURE__ */ w(
|
|
63856
|
+
/* @__PURE__ */ w(En, { disableRipple: !0, component: OM, to: "/", children: r && typeof r == "string" ? /* @__PURE__ */ w(
|
|
63857
63857
|
"img",
|
|
63858
63858
|
{
|
|
63859
63859
|
draggable: "false",
|
|
@@ -63871,7 +63871,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63871
63871
|
!g && /* @__PURE__ */ Q(Ln, { children: [
|
|
63872
63872
|
/* @__PURE__ */ w(Pe, { display: "flex", gap: 0, children: a == null ? void 0 : a.map((N, $) => /* @__PURE__ */ Q(Pe, { display: "flex", alignItems: "center", children: [
|
|
63873
63873
|
$ > 0 && /* @__PURE__ */ w(
|
|
63874
|
-
|
|
63874
|
+
Ze,
|
|
63875
63875
|
{
|
|
63876
63876
|
className: "quickLink-divider",
|
|
63877
63877
|
color: v.primary.contrastText,
|
|
@@ -63879,7 +63879,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63879
63879
|
}
|
|
63880
63880
|
),
|
|
63881
63881
|
/* @__PURE__ */ w(
|
|
63882
|
-
|
|
63882
|
+
En,
|
|
63883
63883
|
{
|
|
63884
63884
|
variant: "text",
|
|
63885
63885
|
sx: { color: "white" },
|
|
@@ -63939,7 +63939,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
63939
63939
|
}
|
|
63940
63940
|
);
|
|
63941
63941
|
}, ehe = ({ children: t, getCitations: e }) => {
|
|
63942
|
-
const [n, r] =
|
|
63942
|
+
const [n, r] = gt([]), [o, i] = gt(!1);
|
|
63943
63943
|
Ft(() => {
|
|
63944
63944
|
(async () => e().then((f) => {
|
|
63945
63945
|
r((p) => {
|
|
@@ -64002,7 +64002,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
64002
64002
|
children: o
|
|
64003
64003
|
},
|
|
64004
64004
|
o
|
|
64005
|
-
) : /* @__PURE__ */ w(
|
|
64005
|
+
) : /* @__PURE__ */ w(Ze, { color: "text.primary", children: o }, o)) });
|
|
64006
64006
|
}, rhe = (t) => {
|
|
64007
64007
|
const { title: e, message: n, type: r, onClose: o, autoHideDuration: i, variant: s = "leftBorder", elevation: a = 6 } = t, l = hpe(r);
|
|
64008
64008
|
return /* @__PURE__ */ w(
|
|
@@ -64080,7 +64080,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
64080
64080
|
width: "100%",
|
|
64081
64081
|
gap: 1,
|
|
64082
64082
|
children: [
|
|
64083
|
-
typeof e == "string" ? /* @__PURE__ */ w(
|
|
64083
|
+
typeof e == "string" ? /* @__PURE__ */ w(Ze, { className: "MBv2_PageHeader_Title", variant: "h2", children: e }) : e,
|
|
64084
64084
|
r && /* @__PURE__ */ Q(Gr, { className: "MBv2_PageHeader_CreateBtn", onClick: () => o(), children: [
|
|
64085
64085
|
/* @__PURE__ */ w(Ure, { style: { marginRight: "0.5rem" } }),
|
|
64086
64086
|
n
|
|
@@ -64121,7 +64121,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
64121
64121
|
}
|
|
64122
64122
|
),
|
|
64123
64123
|
/* @__PURE__ */ w(
|
|
64124
|
-
|
|
64124
|
+
Ze,
|
|
64125
64125
|
{
|
|
64126
64126
|
variant: "h1",
|
|
64127
64127
|
display: "inline",
|
|
@@ -64132,7 +64132,7 @@ const nP = tc(void 0), rP = () => {
|
|
|
64132
64132
|
),
|
|
64133
64133
|
o,
|
|
64134
64134
|
/* @__PURE__ */ w(
|
|
64135
|
-
|
|
64135
|
+
En,
|
|
64136
64136
|
{
|
|
64137
64137
|
variant: "contained",
|
|
64138
64138
|
color: "primary",
|
|
@@ -64147,8 +64147,8 @@ const nP = tc(void 0), rP = () => {
|
|
|
64147
64147
|
const { title: e = "Loading...", message: n } = t;
|
|
64148
64148
|
return /* @__PURE__ */ Q(Pe, { className: "loading-page", sx: { gap: 2 }, "data-testid": "loading-page", children: [
|
|
64149
64149
|
/* @__PURE__ */ Q(Pe, { className: "text-content", children: [
|
|
64150
|
-
/* @__PURE__ */ w(
|
|
64151
|
-
n && /* @__PURE__ */ w(
|
|
64150
|
+
/* @__PURE__ */ w(Ze, { variant: "h1", "data-testid": "title", children: e }),
|
|
64151
|
+
n && /* @__PURE__ */ w(Ze, { "data-testid": "message", children: n })
|
|
64152
64152
|
] }),
|
|
64153
64153
|
/* @__PURE__ */ w(sv, { size: 75, "data-testid": "loading-spinner" })
|
|
64154
64154
|
] });
|