@nypl/design-system-react-components 3.3.0 → 3.3.1-rc-test-card-image
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/design-system-react-components.cjs +26 -26
- package/dist/design-system-react-components.js +758 -742
- package/dist/src/components/Card/Card.d.ts +1 -1
- package/dist/src/components/CheckboxGroup/CheckboxGroup.d.ts +1 -1
- package/dist/src/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/src/components/Fieldset/Fieldset.d.ts +2 -2
- package/dist/src/components/Image/Image.d.ts +7 -3
- package/dist/src/components/Label/Label.d.ts +2 -2
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/src/components/Select/Select.d.ts +1 -1
- package/dist/src/components/Slider/Slider.d.ts +1 -1
- package/dist/src/components/TextInput/TextInput.d.ts +2 -2
- package/dist/src/components/Tooltip/Tooltip.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var BS = Object.defineProperty;
|
|
2
2
|
var FS = (r, a, o) => a in r ? BS(r, a, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[a] = o;
|
|
3
3
|
var Fu = (r, a, o) => (FS(r, typeof a != "symbol" ? a + "" : a, o), o);
|
|
4
|
-
import { chakra as F1, useStyleConfig as R3, Icon as xh, Box as
|
|
4
|
+
import { chakra as F1, useStyleConfig as R3, Icon as xh, Box as v1, useColorMode as Vh, Accordion as jS, AccordionPanel as Dy, AccordionItem as AS, AccordionButton as zS, useMultiStyleConfig as U2, Button as US, Link as IS, Text as $S, Heading as YS, useColorModeValue as a5, Flex as Mh, useMergeRefs as rc, Tooltip as WS, Breadcrumb as QS, BreadcrumbItem as qS, BreadcrumbLink as GS, Stack as P0, LinkBox as XS, LinkOverlay as KS, Checkbox as JS, CheckboxGroup as ek, Thead as tk, Tr as Ry, Th as Zy, Table as nk, TableCaption as rk, Tbody as ak, Td as ik, HStack as ok, SimpleGrid as lk, Input as sk, Textarea as uk, defineStyleConfig as ee, extendTheme as ck, ChakraProvider as dk, Radio as Ck, RadioGroup as fk, useMediaQuery as pk, useDisclosure as la, Drawer as hk, DrawerOverlay as mk, DrawerContent as vk, DrawerHeader as gk, DrawerBody as yk, VStack as zp, Modal as Up, ModalOverlay as Ip, ModalContent as $p, ModalHeader as Yp, ModalCloseButton as Wp, ModalBody as Qp, ModalFooter as qp, Menu as Lk, MenuList as bk, MenuButton as wk, MenuDivider as Hk, MenuGroup as xk, MenuItem as Vk, CircularProgress as Mk, CircularProgressLabel as Ek, Progress as Sk, Select as kk, Skeleton as lp, RangeSlider as Tk, RangeSliderTrack as _k, RangeSliderFilledTrack as Dk, RangeSliderThumb as Oy, Slider as Rk, SliderTrack as Zk, SliderFilledTrack as Ok, SliderThumb as Nk, Tabs as Pk, Tab as Bk, TabPanel as Ny, TabList as Cb, TabPanels as fb, Switch as Fk, useOutsideClick as jk, useTheme as Ak } from "@chakra-ui/react";
|
|
5
5
|
import { Box as QI, Center as qI, Circle as GI, ColorModeScript as XI, Flex as KI, FocusLock as JI, Grid as e$, GridItem as t$, HStack as n$, Spacer as r$, Square as a$, Stack as i$, Tab as o$, TabList as l$, TabPanel as s$, TabPanels as u$, VStack as c$, chakra as d$, cookieStorageManager as C$, cookieStorageManagerSSR as f$, localStorageManager as p$, useColorMode as h$, useColorModeValue as m$, useMediaQuery as v$, useMultiStyleConfig as g$, useStyleConfig as y$ } from "@chakra-ui/react";
|
|
6
6
|
import * as C from "react";
|
|
7
7
|
import X, { forwardRef as c2, useState as u4, useEffect as v7, useRef as w5, createElement as zk, Component as Uk, createRef as Ik, useReducer as $k } from "react";
|
|
@@ -76,16 +76,16 @@ function Qk() {
|
|
|
76
76
|
J2.unshift("Warning: " + w1), Function.prototype.apply.call(console[U], console, J2);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
var Y = !1, j = !1, i1 = !1, r1 = !1, p1 = !1,
|
|
80
|
-
|
|
81
|
-
function
|
|
79
|
+
var Y = !1, j = !1, i1 = !1, r1 = !1, p1 = !1, g1;
|
|
80
|
+
g1 = Symbol.for("react.module.reference");
|
|
81
|
+
function H1(U) {
|
|
82
82
|
return !!(typeof U == "string" || typeof U == "function" || U === s || U === p || p1 || U === i || U === L || U === M || r1 || U === _ || Y || j || i1 || typeof U == "object" && U !== null && (U.$$typeof === k || U.$$typeof === E || U.$$typeof === d || U.$$typeof === v || U.$$typeof === y || // This needs to include all possible module reference object
|
|
83
83
|
// types supported by any Flight configuration anywhere since
|
|
84
84
|
// we don't know which Flight build this will end up being used
|
|
85
85
|
// with.
|
|
86
|
-
U.$$typeof ===
|
|
86
|
+
U.$$typeof === g1 || U.getModuleId !== void 0));
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function x1(U, w1, N1) {
|
|
89
89
|
var h2 = U.displayName;
|
|
90
90
|
if (h2)
|
|
91
91
|
return h2;
|
|
@@ -125,7 +125,7 @@ function Qk() {
|
|
|
125
125
|
var N1 = U;
|
|
126
126
|
return P1(N1._context) + ".Provider";
|
|
127
127
|
case y:
|
|
128
|
-
return
|
|
128
|
+
return x1(U, U.render, "ForwardRef");
|
|
129
129
|
case E:
|
|
130
130
|
var h2 = U.displayName || null;
|
|
131
131
|
return h2 !== null ? h2 : m1(U.type) || "Memo";
|
|
@@ -140,13 +140,13 @@ function Qk() {
|
|
|
140
140
|
}
|
|
141
141
|
return null;
|
|
142
142
|
}
|
|
143
|
-
var k1 = Object.assign,
|
|
143
|
+
var k1 = Object.assign, A1 = 0, T1, f2, C1, E1, y1, K1, G1;
|
|
144
144
|
function R1() {
|
|
145
145
|
}
|
|
146
146
|
R1.__reactDisabledLog = !0;
|
|
147
147
|
function E2() {
|
|
148
148
|
{
|
|
149
|
-
if (
|
|
149
|
+
if (A1 === 0) {
|
|
150
150
|
T1 = console.log, f2 = console.info, C1 = console.warn, E1 = console.error, y1 = console.group, K1 = console.groupCollapsed, G1 = console.groupEnd;
|
|
151
151
|
var U = {
|
|
152
152
|
configurable: !0,
|
|
@@ -164,12 +164,12 @@ function Qk() {
|
|
|
164
164
|
groupEnd: U
|
|
165
165
|
});
|
|
166
166
|
}
|
|
167
|
-
|
|
167
|
+
A1++;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
function a3() {
|
|
171
171
|
{
|
|
172
|
-
if (
|
|
172
|
+
if (A1--, A1 === 0) {
|
|
173
173
|
var U = {
|
|
174
174
|
configurable: !0,
|
|
175
175
|
enumerable: !0,
|
|
@@ -199,7 +199,7 @@ function Qk() {
|
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
|
-
|
|
202
|
+
A1 < 0 && $("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
var H2 = z.ReactCurrentDispatcher, j2;
|
|
@@ -299,7 +299,7 @@ function Qk() {
|
|
|
299
299
|
var w1 = U.prototype;
|
|
300
300
|
return !!(w1 && w1.isReactComponent);
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function U1(U, w1, N1) {
|
|
303
303
|
if (U == null)
|
|
304
304
|
return "";
|
|
305
305
|
if (typeof U == "function")
|
|
@@ -317,11 +317,11 @@ function Qk() {
|
|
|
317
317
|
case y:
|
|
318
318
|
return Y2(U.render);
|
|
319
319
|
case E:
|
|
320
|
-
return
|
|
320
|
+
return U1(U.type, w1, N1);
|
|
321
321
|
case k: {
|
|
322
322
|
var h2 = U, x2 = h2._payload, J2 = h2._init;
|
|
323
323
|
try {
|
|
324
|
-
return
|
|
324
|
+
return U1(J2(x2), w1, N1);
|
|
325
325
|
} catch {
|
|
326
326
|
}
|
|
327
327
|
}
|
|
@@ -331,7 +331,7 @@ function Qk() {
|
|
|
331
331
|
var N2 = Object.prototype.hasOwnProperty, _2 = {}, Z3 = z.ReactDebugCurrentFrame;
|
|
332
332
|
function me(U) {
|
|
333
333
|
if (U) {
|
|
334
|
-
var w1 = U._owner, N1 =
|
|
334
|
+
var w1 = U._owner, N1 = U1(U.type, U._source, w1 ? w1.type : null);
|
|
335
335
|
Z3.setExtraStackFrame(N1);
|
|
336
336
|
} else
|
|
337
337
|
Z3.setExtraStackFrame(null);
|
|
@@ -480,7 +480,7 @@ function Qk() {
|
|
|
480
480
|
var S3 = z.ReactCurrentOwner, d4 = z.ReactDebugCurrentFrame;
|
|
481
481
|
function i3(U) {
|
|
482
482
|
if (U) {
|
|
483
|
-
var w1 = U._owner, N1 =
|
|
483
|
+
var w1 = U._owner, N1 = U1(U.type, U._source, w1 ? w1.type : null);
|
|
484
484
|
d4.setExtraStackFrame(N1);
|
|
485
485
|
} else
|
|
486
486
|
d4.setExtraStackFrame(null);
|
|
@@ -589,7 +589,7 @@ Check the top-level render call using <` + N1 + ">.");
|
|
|
589
589
|
}
|
|
590
590
|
function x5(U, w1, N1, h2, x2, J2) {
|
|
591
591
|
{
|
|
592
|
-
var R2 =
|
|
592
|
+
var R2 = H1(U);
|
|
593
593
|
if (!R2) {
|
|
594
594
|
var v2 = "";
|
|
595
595
|
(U === void 0 || typeof U == "object" && U !== null && Object.keys(U).length === 0) && (v2 += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
@@ -1044,7 +1044,7 @@ const qk = ({
|
|
|
1044
1044
|
ref: a
|
|
1045
1045
|
}) : console.warn(
|
|
1046
1046
|
"NYPL Reservoir Icon: An `svg` element must be passed to the `Icon` component as its child."
|
|
1047
|
-
), /* @__PURE__ */ x.jsx(
|
|
1047
|
+
), /* @__PURE__ */ x.jsx(v1, { ref: a, __css: R, children: P });
|
|
1048
1048
|
}),
|
|
1049
1049
|
// Pass all custom props to Chakra and override, e.g. we want the
|
|
1050
1050
|
// DS color value set and not color strings.
|
|
@@ -1122,7 +1122,7 @@ const qk = ({
|
|
|
1122
1122
|
},
|
|
1123
1123
|
children: [
|
|
1124
1124
|
/* @__PURE__ */ x.jsx(
|
|
1125
|
-
|
|
1125
|
+
v1,
|
|
1126
1126
|
{
|
|
1127
1127
|
as: "span",
|
|
1128
1128
|
flex: "1",
|
|
@@ -1235,7 +1235,7 @@ const qk = ({
|
|
|
1235
1235
|
...k,
|
|
1236
1236
|
children: [
|
|
1237
1237
|
s,
|
|
1238
|
-
L && /* @__PURE__ */ x.jsx(
|
|
1238
|
+
L && /* @__PURE__ */ x.jsx(v1, { as: "span", __css: z.screenreaderOnly, children: L })
|
|
1239
1239
|
]
|
|
1240
1240
|
}
|
|
1241
1241
|
);
|
|
@@ -1279,7 +1279,7 @@ function L_(r, a, o) {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
function b_(r, a, o) {
|
|
1281
1281
|
const s = `${a}-external-icon`, i = /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
1282
|
-
/* @__PURE__ */ x.jsx(
|
|
1282
|
+
/* @__PURE__ */ x.jsx(v1, { as: "span", __css: o, children: "This link opens in a new window" }),
|
|
1283
1283
|
/* @__PURE__ */ x.jsx(
|
|
1284
1284
|
F3,
|
|
1285
1285
|
{
|
|
@@ -1347,7 +1347,7 @@ const D0 = F1(
|
|
|
1347
1347
|
s,
|
|
1348
1348
|
Y,
|
|
1349
1349
|
A.screenreaderOnly
|
|
1350
|
-
) || k === "standalone" && w_(s, Y) || s, i1 = M ? /* @__PURE__ */ x.jsx(
|
|
1350
|
+
) || k === "standalone" && w_(s, Y) || s, i1 = M ? /* @__PURE__ */ x.jsx(v1, { as: "span", __css: A.screenreaderOnly, children: M }) : null;
|
|
1351
1351
|
return /* @__PURE__ */ x.jsxs(
|
|
1352
1352
|
IS,
|
|
1353
1353
|
{
|
|
@@ -1476,11 +1476,11 @@ const D0 = F1(
|
|
|
1476
1476
|
"heading2",
|
|
1477
1477
|
"h1",
|
|
1478
1478
|
"h2"
|
|
1479
|
-
], p1 = r1.includes(z) ? "overline1" : "overline2",
|
|
1479
|
+
], p1 = r1.includes(z) ? "overline1" : "overline2", g1 = r1.includes(z) ? "subtitle1" : "subtitle2", H1 = $.headingWrapper, x1 = L || E ? {
|
|
1480
1480
|
...$.base
|
|
1481
1481
|
} : {
|
|
1482
1482
|
...$.base,
|
|
1483
|
-
...
|
|
1483
|
+
...H1
|
|
1484
1484
|
}, P1 = /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
1485
1485
|
L && /* @__PURE__ */ x.jsx(
|
|
1486
1486
|
L5,
|
|
@@ -1500,7 +1500,7 @@ const D0 = F1(
|
|
|
1500
1500
|
id: s,
|
|
1501
1501
|
ref: a,
|
|
1502
1502
|
sx: {
|
|
1503
|
-
...
|
|
1503
|
+
...x1
|
|
1504
1504
|
},
|
|
1505
1505
|
...O,
|
|
1506
1506
|
children: i1
|
|
@@ -1513,18 +1513,18 @@ const D0 = F1(
|
|
|
1513
1513
|
mt: "xs",
|
|
1514
1514
|
noSpace: !0,
|
|
1515
1515
|
role: "paragraph",
|
|
1516
|
-
size:
|
|
1516
|
+
size: g1,
|
|
1517
1517
|
children: E
|
|
1518
1518
|
}
|
|
1519
1519
|
)
|
|
1520
1520
|
] });
|
|
1521
1521
|
return L || E ? /* @__PURE__ */ x.jsx(
|
|
1522
|
-
|
|
1522
|
+
v1,
|
|
1523
1523
|
{
|
|
1524
1524
|
as: "hgroup",
|
|
1525
1525
|
role: "group",
|
|
1526
1526
|
"aria-roledescription": "Heading group",
|
|
1527
|
-
sx: { ...
|
|
1527
|
+
sx: { ...H1 },
|
|
1528
1528
|
...O,
|
|
1529
1529
|
children: P1
|
|
1530
1530
|
}
|
|
@@ -1569,8 +1569,8 @@ const Xr = F1(
|
|
|
1569
1569
|
__css: L,
|
|
1570
1570
|
...v
|
|
1571
1571
|
};
|
|
1572
|
-
return /* @__PURE__ */ x.jsx(
|
|
1573
|
-
|
|
1572
|
+
return /* @__PURE__ */ x.jsx(v1, { ...M, children: p ? typeof d == "string" ? /* @__PURE__ */ x.jsx(
|
|
1573
|
+
v1,
|
|
1574
1574
|
{
|
|
1575
1575
|
dangerouslySetInnerHTML: { __html: d },
|
|
1576
1576
|
__css: L.innerChild
|
|
@@ -1597,7 +1597,7 @@ const Xr = F1(
|
|
|
1597
1597
|
return _ || console.warn(
|
|
1598
1598
|
"NYPL Reservoir ComponentWrapper: No children were passed."
|
|
1599
1599
|
), /* @__PURE__ */ x.jsxs(
|
|
1600
|
-
|
|
1600
|
+
v1,
|
|
1601
1601
|
{
|
|
1602
1602
|
className: s,
|
|
1603
1603
|
id: `${y}-wrapper`,
|
|
@@ -1692,15 +1692,15 @@ const Xr = F1(
|
|
|
1692
1692
|
id: `filter-${Y.value}`,
|
|
1693
1693
|
isDisabled: r1,
|
|
1694
1694
|
sx: p1,
|
|
1695
|
-
onClick: (
|
|
1696
|
-
P(
|
|
1695
|
+
onClick: (g1) => {
|
|
1696
|
+
P(g1, Y.value);
|
|
1697
1697
|
},
|
|
1698
1698
|
children: Y.text
|
|
1699
1699
|
},
|
|
1700
1700
|
Y.value
|
|
1701
1701
|
);
|
|
1702
1702
|
}, A = () => k.map((Y) => $(Y));
|
|
1703
|
-
return /* @__PURE__ */ x.jsx(
|
|
1703
|
+
return /* @__PURE__ */ x.jsx(v1, { as: "nav", ref: a, "aria-label": "Filter by letter", children: /* @__PURE__ */ x.jsx(
|
|
1704
1704
|
N6,
|
|
1705
1705
|
{
|
|
1706
1706
|
id: v,
|
|
@@ -1746,7 +1746,7 @@ const Xr = F1(
|
|
|
1746
1746
|
const z = U2("AudioPlayer", {});
|
|
1747
1747
|
function $() {
|
|
1748
1748
|
return _ ? /* @__PURE__ */ x.jsx(
|
|
1749
|
-
|
|
1749
|
+
v1,
|
|
1750
1750
|
{
|
|
1751
1751
|
dangerouslySetInnerHTML: {
|
|
1752
1752
|
__html: _.outerHTML
|
|
@@ -1768,7 +1768,7 @@ const Xr = F1(
|
|
|
1768
1768
|
__css: z.base,
|
|
1769
1769
|
...M,
|
|
1770
1770
|
children: E ? /* @__PURE__ */ x.jsx(
|
|
1771
|
-
|
|
1771
|
+
v1,
|
|
1772
1772
|
{
|
|
1773
1773
|
dangerouslySetInnerHTML: { __html: O },
|
|
1774
1774
|
__css: z.invalid
|
|
@@ -1879,7 +1879,7 @@ const E_ = {
|
|
|
1879
1879
|
), v && !s && console.warn(
|
|
1880
1880
|
"NYPL Reservoir Banner: The `highlightColor` prop has been passed, but the `backgroundColor` prop has not been passed. Because of this, the `highlightColor` prop will be ignored."
|
|
1881
1881
|
), /* @__PURE__ */ x.jsxs(
|
|
1882
|
-
|
|
1882
|
+
v1,
|
|
1883
1883
|
{
|
|
1884
1884
|
"aria-label": o,
|
|
1885
1885
|
as: "aside",
|
|
@@ -1891,9 +1891,9 @@ const E_ = {
|
|
|
1891
1891
|
...k,
|
|
1892
1892
|
children: [
|
|
1893
1893
|
j,
|
|
1894
|
-
/* @__PURE__ */ x.jsxs(
|
|
1894
|
+
/* @__PURE__ */ x.jsxs(v1, { maxWidth: "800px", children: [
|
|
1895
1895
|
d && A,
|
|
1896
|
-
typeof p == "string" ? /* @__PURE__ */ x.jsx(
|
|
1896
|
+
typeof p == "string" ? /* @__PURE__ */ x.jsx(v1, { dangerouslySetInnerHTML: { __html: p } }) : /* @__PURE__ */ x.jsx(x.Fragment, { children: p })
|
|
1897
1897
|
] }),
|
|
1898
1898
|
M && Y
|
|
1899
1899
|
]
|
|
@@ -2011,22 +2011,24 @@ const O_ = F1(
|
|
|
2011
2011
|
additionalWrapperStyles: a = {},
|
|
2012
2012
|
className: o = "",
|
|
2013
2013
|
children: s,
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2014
|
+
id: i,
|
|
2015
|
+
ratio: p = "original",
|
|
2016
|
+
size: d = "default",
|
|
2017
|
+
sizeBasedOn: v = "width",
|
|
2018
|
+
...y
|
|
2019
|
+
} = r, L = U2("ReservoirImageWrapper", {
|
|
2020
|
+
ratio: p,
|
|
2021
|
+
size: d,
|
|
2022
|
+
sizeBasedOn: v
|
|
2022
2023
|
});
|
|
2023
2024
|
return /* @__PURE__ */ x.jsx(
|
|
2024
|
-
|
|
2025
|
+
v1,
|
|
2025
2026
|
{
|
|
2026
2027
|
className: `the-wrap ${o}`,
|
|
2027
|
-
|
|
2028
|
-
...
|
|
2029
|
-
|
|
2028
|
+
id: i,
|
|
2029
|
+
__css: { ...L.base, ...a },
|
|
2030
|
+
...y,
|
|
2031
|
+
children: /* @__PURE__ */ x.jsx(v1, { className: "the-crop", __css: L.crop, children: s })
|
|
2030
2032
|
}
|
|
2031
2033
|
);
|
|
2032
2034
|
}
|
|
@@ -2043,63 +2045,66 @@ const O_ = F1(
|
|
|
2043
2045
|
component: L,
|
|
2044
2046
|
credit: M,
|
|
2045
2047
|
fallbackSrc: E,
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2048
|
+
id: k,
|
|
2049
|
+
imageType: _ = "default",
|
|
2050
|
+
isLazy: R = !1,
|
|
2051
|
+
onError: O,
|
|
2052
|
+
size: P = "default",
|
|
2053
|
+
sizeBasedOn: z = "width",
|
|
2054
|
+
src: $,
|
|
2055
|
+
...A
|
|
2056
|
+
} = r, Y = S_(), [j, i1] = Z_({
|
|
2054
2057
|
triggerOnce: !0,
|
|
2055
|
-
skip:
|
|
2056
|
-
}),
|
|
2057
|
-
variant:
|
|
2058
|
+
skip: Y
|
|
2059
|
+
}), r1 = d !== "original", p1 = U2("ReservoirImage", {
|
|
2060
|
+
variant: _,
|
|
2058
2061
|
ratio: d,
|
|
2059
|
-
size:
|
|
2060
|
-
sizeBasedOn:
|
|
2061
|
-
}),
|
|
2062
|
+
size: P,
|
|
2063
|
+
sizeBasedOn: z
|
|
2064
|
+
}), g1 = (A1) => {
|
|
2062
2065
|
console.warn(
|
|
2063
2066
|
"NYPL Reservoir Image: The initial image failed to load in the browser. The fallback image source will now be used."
|
|
2064
|
-
),
|
|
2067
|
+
), A1.target.src = E || "", O && O(A1);
|
|
2065
2068
|
};
|
|
2066
|
-
let
|
|
2069
|
+
let H1 = null, x1, P1, m1 = R ? {} : { src: $ };
|
|
2067
2070
|
if (p && p.length > 300)
|
|
2068
2071
|
throw new Error(
|
|
2069
2072
|
"NYPL Reservoir Image: Alt text must be less than 300 characters."
|
|
2070
2073
|
);
|
|
2071
|
-
|
|
2072
|
-
|
|
2074
|
+
R && (i1 || Y) && (x1 = j, m1 = { src: $ }), P1 = rc(x1, a), H1 = L || /* @__PURE__ */ x.jsx(
|
|
2075
|
+
v1,
|
|
2073
2076
|
{
|
|
2074
2077
|
as: "img",
|
|
2075
2078
|
alt: p,
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2079
|
+
id: k || null,
|
|
2080
|
+
loading: R ? "lazy" : void 0,
|
|
2081
|
+
onError: g1,
|
|
2082
|
+
...m1,
|
|
2083
|
+
__css: { ...p1.img, ...s },
|
|
2084
|
+
...A
|
|
2081
2085
|
}
|
|
2082
2086
|
);
|
|
2083
|
-
const
|
|
2087
|
+
const k1 = r1 ? /* @__PURE__ */ x.jsx(
|
|
2084
2088
|
O_,
|
|
2085
2089
|
{
|
|
2086
2090
|
additionalWrapperStyles: i,
|
|
2087
|
-
ratio: d,
|
|
2088
2091
|
className: y,
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2092
|
+
id: k ? `${k}-wrapper` : null,
|
|
2093
|
+
ratio: d,
|
|
2094
|
+
size: P,
|
|
2095
|
+
sizeBasedOn: z,
|
|
2096
|
+
...v || M ? {} : A,
|
|
2097
|
+
children: H1
|
|
2098
|
+
}
|
|
2099
|
+
) : H1;
|
|
2100
|
+
return /* @__PURE__ */ x.jsx(v1, { ref: P1, children: v || M ? /* @__PURE__ */ x.jsxs(
|
|
2101
|
+
v1,
|
|
2097
2102
|
{
|
|
2098
2103
|
as: "figure",
|
|
2099
|
-
__css: { ...
|
|
2104
|
+
__css: { ...p1.figure, ...o },
|
|
2100
2105
|
children: [
|
|
2101
|
-
|
|
2102
|
-
/* @__PURE__ */ x.jsxs(
|
|
2106
|
+
k1,
|
|
2107
|
+
/* @__PURE__ */ x.jsxs(v1, { as: "figcaption", __css: p1.figcaption, children: [
|
|
2103
2108
|
v && /* @__PURE__ */ x.jsx(
|
|
2104
2109
|
Xr,
|
|
2105
2110
|
{
|
|
@@ -2119,7 +2124,7 @@ const O_ = F1(
|
|
|
2119
2124
|
] })
|
|
2120
2125
|
]
|
|
2121
2126
|
}
|
|
2122
|
-
) :
|
|
2127
|
+
) : k1 });
|
|
2123
2128
|
}),
|
|
2124
2129
|
{ shouldForwardProp: () => !0 }
|
|
2125
2130
|
), pb = F1(
|
|
@@ -2129,19 +2134,21 @@ const O_ = F1(
|
|
|
2129
2134
|
className: s,
|
|
2130
2135
|
content: i,
|
|
2131
2136
|
id: p,
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2137
|
+
placement: d = "top",
|
|
2138
|
+
offset: v = [0, 8],
|
|
2139
|
+
isDisabled: y,
|
|
2140
|
+
shouldWrapChildren: L,
|
|
2141
|
+
...M
|
|
2135
2142
|
} = r;
|
|
2136
2143
|
typeof i != "string" && typeof i != "number" && X.Children.map(
|
|
2137
2144
|
i,
|
|
2138
|
-
(
|
|
2139
|
-
(
|
|
2145
|
+
(_) => {
|
|
2146
|
+
(_.type !== F3 || _.type !== sa) && console.warn(
|
|
2140
2147
|
"NYPL Reservoir Tooltip: Pass in a string, number, DS Icon, or DS Image into the 'content' prop."
|
|
2141
2148
|
);
|
|
2142
2149
|
}
|
|
2143
2150
|
);
|
|
2144
|
-
const
|
|
2151
|
+
const E = L ? /* @__PURE__ */ x.jsx(N6, { width: "fit-content", children: o }) : o, k = R3("Tooltip", {});
|
|
2145
2152
|
return /* @__PURE__ */ x.jsx(
|
|
2146
2153
|
WS,
|
|
2147
2154
|
{
|
|
@@ -2151,14 +2158,15 @@ const O_ = F1(
|
|
|
2151
2158
|
closeOnEsc: !0,
|
|
2152
2159
|
closeOnMouseDown: !0,
|
|
2153
2160
|
hasArrow: !0,
|
|
2154
|
-
isDisabled:
|
|
2161
|
+
isDisabled: y,
|
|
2155
2162
|
label: i,
|
|
2156
2163
|
openDelay: 500,
|
|
2157
|
-
|
|
2164
|
+
offset: v,
|
|
2165
|
+
placement: d,
|
|
2158
2166
|
ref: a,
|
|
2159
|
-
|
|
2160
|
-
...
|
|
2161
|
-
children:
|
|
2167
|
+
sx: k,
|
|
2168
|
+
...M,
|
|
2169
|
+
children: E
|
|
2162
2170
|
}
|
|
2163
2171
|
);
|
|
2164
2172
|
})
|
|
@@ -2290,20 +2298,22 @@ function B_(r) {
|
|
|
2290
2298
|
caption: s,
|
|
2291
2299
|
component: i,
|
|
2292
2300
|
credit: p,
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2301
|
+
fallbackSrc: d,
|
|
2302
|
+
id: v,
|
|
2303
|
+
isAtEnd: y,
|
|
2304
|
+
isCentered: L,
|
|
2305
|
+
isLazy: M,
|
|
2306
|
+
layout: E,
|
|
2307
|
+
onError: k,
|
|
2308
|
+
size: _,
|
|
2309
|
+
src: R
|
|
2310
|
+
} = r, O = R3("CardImage", {
|
|
2311
|
+
imageIsAtEnd: y,
|
|
2312
|
+
isCentered: L,
|
|
2313
|
+
layout: E,
|
|
2314
|
+
size: _
|
|
2305
2315
|
});
|
|
2306
|
-
return /* @__PURE__ */ x.jsx(
|
|
2316
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: O, children: /* @__PURE__ */ x.jsx(
|
|
2307
2317
|
sa,
|
|
2308
2318
|
{
|
|
2309
2319
|
alt: a,
|
|
@@ -2311,17 +2321,19 @@ function B_(r) {
|
|
|
2311
2321
|
caption: s,
|
|
2312
2322
|
component: i,
|
|
2313
2323
|
credit: p,
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2324
|
+
fallbackSrc: d,
|
|
2325
|
+
id: v,
|
|
2326
|
+
isLazy: M,
|
|
2327
|
+
onError: k,
|
|
2328
|
+
size: _,
|
|
2329
|
+
src: R
|
|
2318
2330
|
}
|
|
2319
2331
|
) });
|
|
2320
2332
|
}
|
|
2321
2333
|
const F_ = F1(s9), j_ = F1(
|
|
2322
2334
|
(r) => {
|
|
2323
2335
|
const { children: a, ...o } = r, s = R3("CardContent");
|
|
2324
|
-
return a ? /* @__PURE__ */ x.jsx(
|
|
2336
|
+
return a ? /* @__PURE__ */ x.jsx(v1, { __css: s, ...o, children: a }) : null;
|
|
2325
2337
|
}
|
|
2326
2338
|
), A_ = F1(
|
|
2327
2339
|
(r) => {
|
|
@@ -2331,7 +2343,7 @@ const F_ = F1(s9), j_ = F1(
|
|
|
2331
2343
|
layout: i,
|
|
2332
2344
|
topBorder: p
|
|
2333
2345
|
});
|
|
2334
|
-
return o ? /* @__PURE__ */ x.jsx(
|
|
2346
|
+
return o ? /* @__PURE__ */ x.jsx(v1, { __css: v, ...d, children: o }) : null;
|
|
2335
2347
|
}
|
|
2336
2348
|
), z_ = F1(
|
|
2337
2349
|
c2(
|
|
@@ -2345,7 +2357,7 @@ const F_ = F1(s9), j_ = F1(
|
|
|
2345
2357
|
...p,
|
|
2346
2358
|
children: a
|
|
2347
2359
|
}
|
|
2348
|
-
) : /* @__PURE__ */ x.jsx(
|
|
2360
|
+
) : /* @__PURE__ */ x.jsx(v1, { id: o, className: r, ref: d, sx: i, ...p, children: a })
|
|
2349
2361
|
)
|
|
2350
2362
|
);
|
|
2351
2363
|
function U_({
|
|
@@ -2369,9 +2381,11 @@ const uI = F1(
|
|
|
2369
2381
|
caption: void 0,
|
|
2370
2382
|
component: void 0,
|
|
2371
2383
|
credit: void 0,
|
|
2384
|
+
fallbackSrc: void 0,
|
|
2372
2385
|
id: void 0,
|
|
2373
2386
|
isAtEnd: !1,
|
|
2374
2387
|
isLazy: !1,
|
|
2388
|
+
onError: void 0,
|
|
2375
2389
|
size: "default",
|
|
2376
2390
|
src: ""
|
|
2377
2391
|
},
|
|
@@ -2400,14 +2414,14 @@ const uI = F1(
|
|
|
2400
2414
|
(j, i1) => {
|
|
2401
2415
|
const r1 = j.type === A_ || j.props.mdxType === "CardActions";
|
|
2402
2416
|
if (j.type === F_ || j.props.mdxType === "CardHeading") {
|
|
2403
|
-
const p1 = A === 0 ? /* @__PURE__ */ x.jsx(U_, { mainActionLink: k, children: j.props.children }) : j.props.children,
|
|
2417
|
+
const p1 = A === 0 ? /* @__PURE__ */ x.jsx(U_, { mainActionLink: k, children: j.props.children }) : j.props.children, g1 = X.cloneElement(j, {
|
|
2404
2418
|
key: i1,
|
|
2405
2419
|
// Override the child text with the potential `CardLinkOverlay`.
|
|
2406
2420
|
children: p1,
|
|
2407
2421
|
layout: E,
|
|
2408
2422
|
__css: Y.heading
|
|
2409
2423
|
});
|
|
2410
|
-
z.push(
|
|
2424
|
+
z.push(g1), A++;
|
|
2411
2425
|
} else if (j.type === j_ || j.props.mdxType === "CardContent") {
|
|
2412
2426
|
const p1 = X.cloneElement(j, { key: i1 });
|
|
2413
2427
|
z.push(p1);
|
|
@@ -2437,17 +2451,19 @@ const uI = F1(
|
|
|
2437
2451
|
caption: v.caption,
|
|
2438
2452
|
component: v.component,
|
|
2439
2453
|
credit: v.credit,
|
|
2454
|
+
fallbackSrc: v.fallbackSrc,
|
|
2440
2455
|
id: v.id,
|
|
2441
2456
|
isAtEnd: v.isAtEnd,
|
|
2442
2457
|
isLazy: v.isLazy,
|
|
2458
|
+
onError: v.onError,
|
|
2443
2459
|
layout: E,
|
|
2444
2460
|
size: v.size,
|
|
2445
2461
|
src: v.src ? v.src : void 0
|
|
2446
2462
|
}
|
|
2447
2463
|
),
|
|
2448
|
-
/* @__PURE__ */ x.jsx(
|
|
2464
|
+
/* @__PURE__ */ x.jsx(v1, { className: "card-body", __css: Y.body, children: z }),
|
|
2449
2465
|
$.length ? /* @__PURE__ */ x.jsx(
|
|
2450
|
-
|
|
2466
|
+
v1,
|
|
2451
2467
|
{
|
|
2452
2468
|
className: "card-right",
|
|
2453
2469
|
__css: { ...Y.body, ...Y.actions },
|
|
@@ -2551,7 +2567,7 @@ const up = F1(
|
|
|
2551
2567
|
return o || console.warn(
|
|
2552
2568
|
"NYPL Reservoir Fieldset: This component's required `id` prop was not passed."
|
|
2553
2569
|
), /* @__PURE__ */ x.jsxs(
|
|
2554
|
-
|
|
2570
|
+
v1,
|
|
2555
2571
|
{
|
|
2556
2572
|
as: "fieldset",
|
|
2557
2573
|
id: o,
|
|
@@ -2562,7 +2578,7 @@ const up = F1(
|
|
|
2562
2578
|
children: [
|
|
2563
2579
|
/* @__PURE__ */ x.jsxs("legend", { children: [
|
|
2564
2580
|
p,
|
|
2565
|
-
d && i && /* @__PURE__ */ x.jsx("span", { children: " (
|
|
2581
|
+
d && i && /* @__PURE__ */ x.jsx("span", { children: " (required)" })
|
|
2566
2582
|
] }),
|
|
2567
2583
|
r
|
|
2568
2584
|
]
|
|
@@ -2719,17 +2735,17 @@ const up = F1(
|
|
|
2719
2735
|
"NYPL Reservoir CheckboxGroup: This component's required `id` prop was not passed."
|
|
2720
2736
|
), X.Children.map(
|
|
2721
2737
|
o,
|
|
2722
|
-
(
|
|
2723
|
-
if (
|
|
2724
|
-
const
|
|
2725
|
-
key:
|
|
2726
|
-
id: `${p}-${
|
|
2738
|
+
(g1, H1) => {
|
|
2739
|
+
if (g1 != null) {
|
|
2740
|
+
const x1 = {
|
|
2741
|
+
key: H1,
|
|
2742
|
+
id: `${p}-${H1}`,
|
|
2727
2743
|
name: _,
|
|
2728
2744
|
isDisabled: v,
|
|
2729
2745
|
isInvalid: L,
|
|
2730
2746
|
isRequired: M
|
|
2731
2747
|
};
|
|
2732
|
-
j.push(X.cloneElement(
|
|
2748
|
+
j.push(X.cloneElement(g1, x1));
|
|
2733
2749
|
}
|
|
2734
2750
|
}
|
|
2735
2751
|
);
|
|
@@ -2806,7 +2822,7 @@ const up = F1(
|
|
|
2806
2822
|
break;
|
|
2807
2823
|
}
|
|
2808
2824
|
const z = ($, A) => /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
2809
|
-
/* @__PURE__ */ x.jsx(
|
|
2825
|
+
/* @__PURE__ */ x.jsx(v1, { as: "span", display: { base: "block", md: "none" }, children: s[$] }),
|
|
2810
2826
|
/* @__PURE__ */ x.jsx("span", { children: A })
|
|
2811
2827
|
] });
|
|
2812
2828
|
return /* @__PURE__ */ x.jsx(ak, { children: y.map(($, A) => /* @__PURE__ */ x.jsx(Ry, { children: $.map(
|
|
@@ -2880,7 +2896,7 @@ const up = F1(
|
|
|
2880
2896
|
), _ = (G1, R1 = "small") => {
|
|
2881
2897
|
const E2 = R1 === "small" ? 1 : 2;
|
|
2882
2898
|
return (G1[E2] === "AA" || G1[E2] === "AAA") && /* @__PURE__ */ x.jsx(k, {});
|
|
2883
|
-
}, R = ["Color", "Ratio", "16px", "36px"], O = _(y), P = _(y, "large"), z = _(p), $ = _(p, "large"), A = L && _(L), Y = L && _(L, "large"), j = M && _(M), i1 = M && _(M, "large"), r1 = a && _(a), p1 = a && _(a, "large"),
|
|
2899
|
+
}, R = ["Color", "Ratio", "16px", "36px"], O = _(y), P = _(y, "large"), z = _(p), $ = _(p, "large"), A = L && _(L), Y = L && _(L, "large"), j = M && _(M), i1 = M && _(M, "large"), r1 = a && _(a), p1 = a && _(a, "large"), g1 = o && _(o), H1 = o && _(o, "large"), x1 = s && _(s), P1 = s && _(s, "large"), m1 = i && _(i), k1 = i && _(i, "large"), A1 = d && _(d), T1 = d && _(d, "large"), f2 = v && _(v), C1 = v && _(v, "large"), E1 = [
|
|
2884
2900
|
[
|
|
2885
2901
|
/* @__PURE__ */ x.jsxs("span", { style: { padding: 0 }, children: [
|
|
2886
2902
|
/* @__PURE__ */ x.jsx(o8, { backgroundColor: "white", border: !0 }),
|
|
@@ -3004,11 +3020,11 @@ const up = F1(
|
|
|
3004
3020
|
/* @__PURE__ */ x.jsx("span", { children: `${o[0]}:1` }, "colorBgDefaultRatio"),
|
|
3005
3021
|
/* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
3006
3022
|
o[1],
|
|
3007
|
-
|
|
3023
|
+
g1
|
|
3008
3024
|
] }),
|
|
3009
3025
|
/* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
3010
3026
|
o[2],
|
|
3011
|
-
|
|
3027
|
+
H1
|
|
3012
3028
|
] })
|
|
3013
3029
|
]), s && s.length > 0 && E1.push([
|
|
3014
3030
|
/* @__PURE__ */ x.jsxs("span", { style: { padding: 0 }, children: [
|
|
@@ -3018,7 +3034,7 @@ const up = F1(
|
|
|
3018
3034
|
/* @__PURE__ */ x.jsx("span", { children: `${s[0]}:1` }, "colorDarkBgPageRatio"),
|
|
3019
3035
|
/* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
3020
3036
|
s[1],
|
|
3021
|
-
|
|
3037
|
+
x1
|
|
3022
3038
|
] }),
|
|
3023
3039
|
/* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
3024
3040
|
s[2],
|
|
@@ -3046,7 +3062,7 @@ const up = F1(
|
|
|
3046
3062
|
/* @__PURE__ */ x.jsx("span", { children: `${d[0]}:1` }, "colorDarkHeadingRatio"),
|
|
3047
3063
|
/* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
3048
3064
|
d[1],
|
|
3049
|
-
|
|
3065
|
+
A1
|
|
3050
3066
|
] }),
|
|
3051
3067
|
/* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
3052
3068
|
d[2],
|
|
@@ -3096,7 +3112,7 @@ const up = F1(
|
|
|
3096
3112
|
textColor: O = "ui.white"
|
|
3097
3113
|
} = r, P = `--nypl-colors-${d.replace(/\./g, "-")}`, z = a === "ui.white" || a === "ui.typography.inverse.heading" || a === "ui.typography.inverse.body" ? "1px solid var(--nypl-colors-ui-gray-light-cool)" : void 0;
|
|
3098
3114
|
return /* @__PURE__ */ x.jsx(
|
|
3099
|
-
|
|
3115
|
+
v1,
|
|
3100
3116
|
{
|
|
3101
3117
|
bg: a,
|
|
3102
3118
|
color: O,
|
|
@@ -3105,7 +3121,7 @@ const up = F1(
|
|
|
3105
3121
|
paddingTop: "s",
|
|
3106
3122
|
border: z,
|
|
3107
3123
|
children: /* @__PURE__ */ x.jsxs(ok, { alignItems: "top", children: [
|
|
3108
|
-
/* @__PURE__ */ x.jsxs(
|
|
3124
|
+
/* @__PURE__ */ x.jsxs(v1, { width: "80%", children: [
|
|
3109
3125
|
/* @__PURE__ */ x.jsx(
|
|
3110
3126
|
s9,
|
|
3111
3127
|
{
|
|
@@ -4442,40 +4458,40 @@ function Iy(r, a, o) {
|
|
|
4442
4458
|
var j = String(a), i1 = B0(), r1 = (s = (i = o == null ? void 0 : o.locale) !== null && i !== void 0 ? i : i1.locale) !== null && s !== void 0 ? s : Hb, p1 = q2((p = (d = (v = (y = o == null ? void 0 : o.firstWeekContainsDate) !== null && y !== void 0 ? y : o == null || (L = o.locale) === null || L === void 0 || (M = L.options) === null || M === void 0 ? void 0 : M.firstWeekContainsDate) !== null && v !== void 0 ? v : i1.firstWeekContainsDate) !== null && d !== void 0 ? d : (E = i1.locale) === null || E === void 0 || (k = E.options) === null || k === void 0 ? void 0 : k.firstWeekContainsDate) !== null && p !== void 0 ? p : 1);
|
|
4443
4459
|
if (!(p1 >= 1 && p1 <= 7))
|
|
4444
4460
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
4445
|
-
var
|
|
4446
|
-
if (!(
|
|
4461
|
+
var g1 = q2((_ = (R = (O = (P = o == null ? void 0 : o.weekStartsOn) !== null && P !== void 0 ? P : o == null || (z = o.locale) === null || z === void 0 || ($ = z.options) === null || $ === void 0 ? void 0 : $.weekStartsOn) !== null && O !== void 0 ? O : i1.weekStartsOn) !== null && R !== void 0 ? R : (A = i1.locale) === null || A === void 0 || (Y = A.options) === null || Y === void 0 ? void 0 : Y.weekStartsOn) !== null && _ !== void 0 ? _ : 0);
|
|
4462
|
+
if (!(g1 >= 0 && g1 <= 6))
|
|
4447
4463
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
4448
4464
|
if (!r1.localize)
|
|
4449
4465
|
throw new RangeError("locale must contain localize property");
|
|
4450
4466
|
if (!r1.formatLong)
|
|
4451
4467
|
throw new RangeError("locale must contain formatLong property");
|
|
4452
|
-
var
|
|
4453
|
-
if (!ac(
|
|
4468
|
+
var H1 = a2(r);
|
|
4469
|
+
if (!ac(H1))
|
|
4454
4470
|
throw new RangeError("Invalid time value");
|
|
4455
|
-
var
|
|
4471
|
+
var x1 = ic(H1), P1 = mb(H1, x1), m1 = {
|
|
4456
4472
|
firstWeekContainsDate: p1,
|
|
4457
|
-
weekStartsOn:
|
|
4473
|
+
weekStartsOn: g1,
|
|
4458
4474
|
locale: r1,
|
|
4459
|
-
_originalDate:
|
|
4460
|
-
}, k1 = j.match(AD).map(function(
|
|
4461
|
-
var T1 =
|
|
4475
|
+
_originalDate: H1
|
|
4476
|
+
}, k1 = j.match(AD).map(function(A1) {
|
|
4477
|
+
var T1 = A1[0];
|
|
4462
4478
|
if (T1 === "p" || T1 === "P") {
|
|
4463
4479
|
var f2 = Kp[T1];
|
|
4464
|
-
return f2(
|
|
4480
|
+
return f2(A1, r1.formatLong);
|
|
4465
4481
|
}
|
|
4466
|
-
return
|
|
4467
|
-
}).join("").match(jD).map(function(
|
|
4468
|
-
if (
|
|
4482
|
+
return A1;
|
|
4483
|
+
}).join("").match(jD).map(function(A1) {
|
|
4484
|
+
if (A1 === "''")
|
|
4469
4485
|
return "'";
|
|
4470
|
-
var T1 =
|
|
4486
|
+
var T1 = A1[0];
|
|
4471
4487
|
if (T1 === "'")
|
|
4472
|
-
return $D(
|
|
4488
|
+
return $D(A1);
|
|
4473
4489
|
var f2 = aD[T1];
|
|
4474
4490
|
if (f2)
|
|
4475
|
-
return !(o != null && o.useAdditionalWeekYearTokens) && wb(
|
|
4491
|
+
return !(o != null && o.useAdditionalWeekYearTokens) && wb(A1) && oc(A1, a, String(r)), !(o != null && o.useAdditionalDayOfYearTokens) && bb(A1) && oc(A1, a, String(r)), f2(P1, A1, r1.localize, m1);
|
|
4476
4492
|
if (T1.match(ID))
|
|
4477
4493
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + T1 + "`");
|
|
4478
|
-
return
|
|
4494
|
+
return A1;
|
|
4479
4495
|
}).join("");
|
|
4480
4496
|
return k1;
|
|
4481
4497
|
}
|
|
@@ -6583,29 +6599,29 @@ var UR = /* @__PURE__ */ function(r) {
|
|
|
6583
6599
|
function Cp(r, a, o, s) {
|
|
6584
6600
|
var i, p, d, v, y, L, M, E, k, _, R, O, P, z, $, A, Y, j;
|
|
6585
6601
|
j1(3, arguments);
|
|
6586
|
-
var i1 = String(r), r1 = String(a), p1 = B0(),
|
|
6587
|
-
if (!
|
|
6602
|
+
var i1 = String(r), r1 = String(a), p1 = B0(), g1 = (i = (p = s == null ? void 0 : s.locale) !== null && p !== void 0 ? p : p1.locale) !== null && i !== void 0 ? i : Hb;
|
|
6603
|
+
if (!g1.match)
|
|
6588
6604
|
throw new RangeError("locale must contain match property");
|
|
6589
|
-
var
|
|
6590
|
-
if (!(
|
|
6605
|
+
var H1 = q2((d = (v = (y = (L = s == null ? void 0 : s.firstWeekContainsDate) !== null && L !== void 0 ? L : s == null || (M = s.locale) === null || M === void 0 || (E = M.options) === null || E === void 0 ? void 0 : E.firstWeekContainsDate) !== null && y !== void 0 ? y : p1.firstWeekContainsDate) !== null && v !== void 0 ? v : (k = p1.locale) === null || k === void 0 || (_ = k.options) === null || _ === void 0 ? void 0 : _.firstWeekContainsDate) !== null && d !== void 0 ? d : 1);
|
|
6606
|
+
if (!(H1 >= 1 && H1 <= 7))
|
|
6591
6607
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
6592
|
-
var
|
|
6593
|
-
if (!(
|
|
6608
|
+
var x1 = q2((R = (O = (P = (z = s == null ? void 0 : s.weekStartsOn) !== null && z !== void 0 ? z : s == null || ($ = s.locale) === null || $ === void 0 || (A = $.options) === null || A === void 0 ? void 0 : A.weekStartsOn) !== null && P !== void 0 ? P : p1.weekStartsOn) !== null && O !== void 0 ? O : (Y = p1.locale) === null || Y === void 0 || (j = Y.options) === null || j === void 0 ? void 0 : j.weekStartsOn) !== null && R !== void 0 ? R : 0);
|
|
6609
|
+
if (!(x1 >= 0 && x1 <= 6))
|
|
6594
6610
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
6595
6611
|
if (r1 === "")
|
|
6596
6612
|
return i1 === "" ? a2(o) : /* @__PURE__ */ new Date(NaN);
|
|
6597
6613
|
var P1 = {
|
|
6598
|
-
firstWeekContainsDate:
|
|
6599
|
-
weekStartsOn:
|
|
6600
|
-
locale:
|
|
6614
|
+
firstWeekContainsDate: H1,
|
|
6615
|
+
weekStartsOn: x1,
|
|
6616
|
+
locale: g1
|
|
6601
6617
|
}, m1 = [new LR()], k1 = r1.match(oZ).map(function(s2) {
|
|
6602
6618
|
var o2 = s2[0];
|
|
6603
6619
|
if (o2 in Kp) {
|
|
6604
6620
|
var P2 = Kp[o2];
|
|
6605
|
-
return P2(s2,
|
|
6621
|
+
return P2(s2, g1.formatLong);
|
|
6606
6622
|
}
|
|
6607
6623
|
return s2;
|
|
6608
|
-
}).join("").match(iZ),
|
|
6624
|
+
}).join("").match(iZ), A1 = [], T1 = qy(k1), f2;
|
|
6609
6625
|
try {
|
|
6610
6626
|
var C1 = function() {
|
|
6611
6627
|
var o2 = f2.value;
|
|
@@ -6614,18 +6630,18 @@ function Cp(r, a, o, s) {
|
|
|
6614
6630
|
if (G2) {
|
|
6615
6631
|
var V3 = G2.incompatibleTokens;
|
|
6616
6632
|
if (Array.isArray(V3)) {
|
|
6617
|
-
var Y2 =
|
|
6618
|
-
return V3.includes(
|
|
6633
|
+
var Y2 = A1.find(function(U1) {
|
|
6634
|
+
return V3.includes(U1.token) || U1.token === P2;
|
|
6619
6635
|
});
|
|
6620
6636
|
if (Y2)
|
|
6621
6637
|
throw new RangeError("The format string mustn't contain `".concat(Y2.fullToken, "` and `").concat(o2, "` at the same time"));
|
|
6622
|
-
} else if (G2.incompatibleTokens === "*" &&
|
|
6638
|
+
} else if (G2.incompatibleTokens === "*" && A1.length > 0)
|
|
6623
6639
|
throw new RangeError("The format string mustn't contain `".concat(o2, "` and any other token at the same time"));
|
|
6624
|
-
|
|
6640
|
+
A1.push({
|
|
6625
6641
|
token: P2,
|
|
6626
6642
|
fullToken: o2
|
|
6627
6643
|
});
|
|
6628
|
-
var _1 = G2.run(i1, o2,
|
|
6644
|
+
var _1 = G2.run(i1, o2, g1.match, P1);
|
|
6629
6645
|
if (!_1)
|
|
6630
6646
|
return {
|
|
6631
6647
|
v: /* @__PURE__ */ new Date(NaN)
|
|
@@ -6892,7 +6908,7 @@ function SZ() {
|
|
|
6892
6908
|
R = !1, O && (O = !1, z(p1), p1 = -1), _ = !0;
|
|
6893
6909
|
var y1 = k;
|
|
6894
6910
|
try {
|
|
6895
|
-
for (A(E1), E = o(y); E !== null && (!(E.expirationTime > E1) || C1 && !
|
|
6911
|
+
for (A(E1), E = o(y); E !== null && (!(E.expirationTime > E1) || C1 && !x1()); ) {
|
|
6896
6912
|
var K1 = E.callback;
|
|
6897
6913
|
if (typeof K1 == "function") {
|
|
6898
6914
|
E.callback = null, k = E.priorityLevel;
|
|
@@ -6913,14 +6929,14 @@ function SZ() {
|
|
|
6913
6929
|
E = null, k = y1, _ = !1;
|
|
6914
6930
|
}
|
|
6915
6931
|
}
|
|
6916
|
-
var i1 = !1, r1 = null, p1 = -1,
|
|
6917
|
-
function
|
|
6918
|
-
return !(r.unstable_now() -
|
|
6932
|
+
var i1 = !1, r1 = null, p1 = -1, g1 = 5, H1 = -1;
|
|
6933
|
+
function x1() {
|
|
6934
|
+
return !(r.unstable_now() - H1 < g1);
|
|
6919
6935
|
}
|
|
6920
6936
|
function P1() {
|
|
6921
6937
|
if (r1 !== null) {
|
|
6922
6938
|
var C1 = r.unstable_now();
|
|
6923
|
-
|
|
6939
|
+
H1 = C1;
|
|
6924
6940
|
var E1 = !0;
|
|
6925
6941
|
try {
|
|
6926
6942
|
E1 = r1(!0, C1);
|
|
@@ -6936,9 +6952,9 @@ function SZ() {
|
|
|
6936
6952
|
$(P1);
|
|
6937
6953
|
};
|
|
6938
6954
|
else if (typeof MessageChannel < "u") {
|
|
6939
|
-
var k1 = new MessageChannel(),
|
|
6955
|
+
var k1 = new MessageChannel(), A1 = k1.port2;
|
|
6940
6956
|
k1.port1.onmessage = P1, m1 = function() {
|
|
6941
|
-
|
|
6957
|
+
A1.postMessage(null);
|
|
6942
6958
|
};
|
|
6943
6959
|
} else
|
|
6944
6960
|
m1 = function() {
|
|
@@ -6957,7 +6973,7 @@ function SZ() {
|
|
|
6957
6973
|
}, r.unstable_continueExecution = function() {
|
|
6958
6974
|
R || _ || (R = !0, T1(j));
|
|
6959
6975
|
}, r.unstable_forceFrameRate = function(C1) {
|
|
6960
|
-
0 > C1 || 125 < C1 ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") :
|
|
6976
|
+
0 > C1 || 125 < C1 ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : g1 = 0 < C1 ? Math.floor(1e3 / C1) : 5;
|
|
6961
6977
|
}, r.unstable_getCurrentPriorityLevel = function() {
|
|
6962
6978
|
return k;
|
|
6963
6979
|
}, r.unstable_getFirstCallbackNode = function() {
|
|
@@ -7018,7 +7034,7 @@ function SZ() {
|
|
|
7018
7034
|
G1 = 5e3;
|
|
7019
7035
|
}
|
|
7020
7036
|
return G1 = y1 + G1, C1 = { id: M++, callback: E1, priorityLevel: C1, startTime: y1, expirationTime: G1, sortIndex: -1 }, y1 > K1 ? (C1.sortIndex = y1, a(L, C1), o(y) === null && C1 === o(L) && (O ? (z(p1), p1 = -1) : O = !0, f2(Y, y1 - K1))) : (C1.sortIndex = G1, a(y, C1), R || _ || (R = !0, T1(j))), C1;
|
|
7021
|
-
}, r.unstable_shouldYield =
|
|
7037
|
+
}, r.unstable_shouldYield = x1, r.unstable_wrapCallback = function(C1) {
|
|
7022
7038
|
var E1 = k;
|
|
7023
7039
|
return function() {
|
|
7024
7040
|
var y1 = k;
|
|
@@ -7100,54 +7116,54 @@ function kZ() {
|
|
|
7100
7116
|
return $.now() - A;
|
|
7101
7117
|
};
|
|
7102
7118
|
}
|
|
7103
|
-
var Y = 1073741823, j = -1, i1 = 250, r1 = 5e3, p1 = 1e4,
|
|
7119
|
+
var Y = 1073741823, j = -1, i1 = 250, r1 = 5e3, p1 = 1e4, g1 = Y, H1 = [], x1 = [], P1 = 1, m1 = null, k1 = k, A1 = !1, T1 = !1, f2 = !1, C1 = typeof setTimeout == "function" ? setTimeout : null, E1 = typeof clearTimeout == "function" ? clearTimeout : null, y1 = typeof setImmediate < "u" ? setImmediate : null;
|
|
7104
7120
|
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
|
7105
7121
|
function K1(D1) {
|
|
7106
|
-
for (var d2 = p(
|
|
7122
|
+
for (var d2 = p(x1); d2 !== null; ) {
|
|
7107
7123
|
if (d2.callback === null)
|
|
7108
|
-
d(
|
|
7124
|
+
d(x1);
|
|
7109
7125
|
else if (d2.startTime <= D1)
|
|
7110
|
-
d(
|
|
7126
|
+
d(x1), d2.sortIndex = d2.expirationTime, i(H1, d2);
|
|
7111
7127
|
else
|
|
7112
7128
|
return;
|
|
7113
|
-
d2 = p(
|
|
7129
|
+
d2 = p(x1);
|
|
7114
7130
|
}
|
|
7115
7131
|
}
|
|
7116
7132
|
function G1(D1) {
|
|
7117
7133
|
if (f2 = !1, K1(D1), !T1)
|
|
7118
|
-
if (p(
|
|
7134
|
+
if (p(H1) !== null)
|
|
7119
7135
|
T1 = !0, c4(R1);
|
|
7120
7136
|
else {
|
|
7121
|
-
var d2 = p(
|
|
7137
|
+
var d2 = p(x1);
|
|
7122
7138
|
d2 !== null && $3(G1, d2.startTime - D1);
|
|
7123
7139
|
}
|
|
7124
7140
|
}
|
|
7125
7141
|
function R1(D1, d2) {
|
|
7126
|
-
T1 = !1, f2 && (f2 = !1, ge()),
|
|
7142
|
+
T1 = !1, f2 && (f2 = !1, ge()), A1 = !0;
|
|
7127
7143
|
var B2 = k1;
|
|
7128
7144
|
try {
|
|
7129
7145
|
var m3;
|
|
7130
7146
|
if (!o)
|
|
7131
7147
|
return E2(D1, d2);
|
|
7132
7148
|
} finally {
|
|
7133
|
-
m1 = null, k1 = B2,
|
|
7149
|
+
m1 = null, k1 = B2, A1 = !1;
|
|
7134
7150
|
}
|
|
7135
7151
|
}
|
|
7136
7152
|
function E2(D1, d2) {
|
|
7137
7153
|
var B2 = d2;
|
|
7138
|
-
for (K1(B2), m1 = p(
|
|
7154
|
+
for (K1(B2), m1 = p(H1); m1 !== null && !a && !(m1.expirationTime > B2 && (!D1 || me())); ) {
|
|
7139
7155
|
var m3 = m1.callback;
|
|
7140
7156
|
if (typeof m3 == "function") {
|
|
7141
7157
|
m1.callback = null, k1 = m1.priorityLevel;
|
|
7142
7158
|
var v3 = m1.expirationTime <= B2, ne = m3(v3);
|
|
7143
|
-
B2 = r.unstable_now(), typeof ne == "function" ? m1.callback = ne : m1 === p(
|
|
7159
|
+
B2 = r.unstable_now(), typeof ne == "function" ? m1.callback = ne : m1 === p(H1) && d(H1), K1(B2);
|
|
7144
7160
|
} else
|
|
7145
|
-
d(
|
|
7146
|
-
m1 = p(
|
|
7161
|
+
d(H1);
|
|
7162
|
+
m1 = p(H1);
|
|
7147
7163
|
}
|
|
7148
7164
|
if (m1 !== null)
|
|
7149
7165
|
return !0;
|
|
7150
|
-
var re = p(
|
|
7166
|
+
var re = p(x1);
|
|
7151
7167
|
return re !== null && $3(G1, re.startTime - B2), !1;
|
|
7152
7168
|
}
|
|
7153
7169
|
function a3(D1, d2) {
|
|
@@ -7217,7 +7233,7 @@ function kZ() {
|
|
|
7217
7233
|
re = i1;
|
|
7218
7234
|
break;
|
|
7219
7235
|
case R:
|
|
7220
|
-
re =
|
|
7236
|
+
re = g1;
|
|
7221
7237
|
break;
|
|
7222
7238
|
case _:
|
|
7223
7239
|
re = p1;
|
|
@@ -7235,15 +7251,15 @@ function kZ() {
|
|
|
7235
7251
|
expirationTime: qe,
|
|
7236
7252
|
sortIndex: -1
|
|
7237
7253
|
};
|
|
7238
|
-
return v3 > m3 ? (S3.sortIndex = v3, i(
|
|
7254
|
+
return v3 > m3 ? (S3.sortIndex = v3, i(x1, S3), p(H1) === null && S3 === p(x1) && (f2 ? ge() : f2 = !0, $3(G1, v3 - m3))) : (S3.sortIndex = qe, i(H1, S3), !T1 && !A1 && (T1 = !0, c4(R1))), S3;
|
|
7239
7255
|
}
|
|
7240
7256
|
function o2() {
|
|
7241
7257
|
}
|
|
7242
7258
|
function P2() {
|
|
7243
|
-
!T1 &&
|
|
7259
|
+
!T1 && !A1 && (T1 = !0, c4(R1));
|
|
7244
7260
|
}
|
|
7245
7261
|
function G2() {
|
|
7246
|
-
return p(
|
|
7262
|
+
return p(H1);
|
|
7247
7263
|
}
|
|
7248
7264
|
function V3(D1) {
|
|
7249
7265
|
D1.callback = null;
|
|
@@ -7251,7 +7267,7 @@ function kZ() {
|
|
|
7251
7267
|
function Y2() {
|
|
7252
7268
|
return k1;
|
|
7253
7269
|
}
|
|
7254
|
-
var _1 = !1,
|
|
7270
|
+
var _1 = !1, U1 = null, N2 = -1, _2 = s, Z3 = -1;
|
|
7255
7271
|
function me() {
|
|
7256
7272
|
var D1 = r.unstable_now() - Z3;
|
|
7257
7273
|
return !(D1 < _2);
|
|
@@ -7266,14 +7282,14 @@ function kZ() {
|
|
|
7266
7282
|
D1 > 0 ? _2 = Math.floor(1e3 / D1) : _2 = s;
|
|
7267
7283
|
}
|
|
7268
7284
|
var ve = function() {
|
|
7269
|
-
if (
|
|
7285
|
+
if (U1 !== null) {
|
|
7270
7286
|
var D1 = r.unstable_now();
|
|
7271
7287
|
Z3 = D1;
|
|
7272
7288
|
var d2 = !0, B2 = !0;
|
|
7273
7289
|
try {
|
|
7274
|
-
B2 =
|
|
7290
|
+
B2 = U1(d2, D1);
|
|
7275
7291
|
} finally {
|
|
7276
|
-
B2 ? D2() : (_1 = !1,
|
|
7292
|
+
B2 ? D2() : (_1 = !1, U1 = null);
|
|
7277
7293
|
}
|
|
7278
7294
|
} else
|
|
7279
7295
|
_1 = !1;
|
|
@@ -7292,7 +7308,7 @@ function kZ() {
|
|
|
7292
7308
|
C1(ve, 0);
|
|
7293
7309
|
};
|
|
7294
7310
|
function c4(D1) {
|
|
7295
|
-
|
|
7311
|
+
U1 = D1, _1 || (_1 = !0, D2());
|
|
7296
7312
|
}
|
|
7297
7313
|
function $3(D1, d2) {
|
|
7298
7314
|
N2 = C1(function() {
|
|
@@ -7423,7 +7439,7 @@ function TZ() {
|
|
|
7423
7439
|
var b = P.hasOwnProperty(l) ? P[l] : null;
|
|
7424
7440
|
(b !== null ? b.type !== 0 : m || !(2 < l.length) || l[0] !== "o" && l[0] !== "O" || l[1] !== "n" && l[1] !== "N") && (R(l, f, b, m) && (f = null), m || b === null ? k(l) && (f === null ? n.removeAttribute(l) : n.setAttribute(l, "" + f)) : b.mustUseProperty ? n[b.propertyName] = f === null ? b.type === 3 ? !1 : "" : f : (l = b.attributeName, m = b.attributeNamespace, f === null ? n.removeAttribute(l) : (b = b.type, f = b === 3 || b === 4 && f === !0 ? "" : "" + f, m ? n.setAttributeNS(m, l, f) : n.setAttribute(l, f))));
|
|
7425
7441
|
}
|
|
7426
|
-
var Y = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, j = Symbol.for("react.element"), i1 = Symbol.for("react.portal"), r1 = Symbol.for("react.fragment"), p1 = Symbol.for("react.strict_mode"),
|
|
7442
|
+
var Y = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, j = Symbol.for("react.element"), i1 = Symbol.for("react.portal"), r1 = Symbol.for("react.fragment"), p1 = Symbol.for("react.strict_mode"), g1 = Symbol.for("react.profiler"), H1 = Symbol.for("react.provider"), x1 = Symbol.for("react.context"), P1 = Symbol.for("react.forward_ref"), m1 = Symbol.for("react.suspense"), k1 = Symbol.for("react.suspense_list"), A1 = Symbol.for("react.memo"), T1 = Symbol.for("react.lazy"), f2 = Symbol.for("react.offscreen"), C1 = Symbol.iterator;
|
|
7427
7443
|
function E1(n) {
|
|
7428
7444
|
return n === null || typeof n != "object" ? null : (n = C1 && n[C1] || n["@@iterator"], typeof n == "function" ? n : null);
|
|
7429
7445
|
}
|
|
@@ -7533,7 +7549,7 @@ function TZ() {
|
|
|
7533
7549
|
return "Fragment";
|
|
7534
7550
|
case i1:
|
|
7535
7551
|
return "Portal";
|
|
7536
|
-
case
|
|
7552
|
+
case g1:
|
|
7537
7553
|
return "Profiler";
|
|
7538
7554
|
case p1:
|
|
7539
7555
|
return "StrictMode";
|
|
@@ -7544,14 +7560,14 @@ function TZ() {
|
|
|
7544
7560
|
}
|
|
7545
7561
|
if (typeof n == "object")
|
|
7546
7562
|
switch (n.$$typeof) {
|
|
7547
|
-
case
|
|
7563
|
+
case x1:
|
|
7548
7564
|
return (n.displayName || "Context") + ".Consumer";
|
|
7549
|
-
case
|
|
7565
|
+
case H1:
|
|
7550
7566
|
return (n._context.displayName || "Context") + ".Provider";
|
|
7551
7567
|
case P1:
|
|
7552
7568
|
var l = n.render;
|
|
7553
7569
|
return n = n.displayName, n || (n = l.displayName || l.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
|
|
7554
|
-
case
|
|
7570
|
+
case A1:
|
|
7555
7571
|
return l = n.displayName || null, l !== null ? l : H2(n.type) || "Memo";
|
|
7556
7572
|
case T1:
|
|
7557
7573
|
l = n._payload, n = n._init;
|
|
@@ -7673,7 +7689,7 @@ function TZ() {
|
|
|
7673
7689
|
var f = l.checked;
|
|
7674
7690
|
return y1({}, l, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: f ?? n._wrapperState.initialChecked });
|
|
7675
7691
|
}
|
|
7676
|
-
function
|
|
7692
|
+
function U1(n, l) {
|
|
7677
7693
|
var f = l.defaultValue == null ? "" : l.defaultValue, m = l.checked != null ? l.checked : l.defaultChecked;
|
|
7678
7694
|
f = s2(l.value != null ? l.value : f), n._wrapperState = { initialChecked: m, initialValue: f, controlled: l.type === "checkbox" || l.type === "radio" ? l.checked != null : l.value != null };
|
|
7679
7695
|
}
|
|
@@ -8966,28 +8982,28 @@ function TZ() {
|
|
|
8966
8982
|
m = m.return;
|
|
8967
8983
|
}
|
|
8968
8984
|
C4(function() {
|
|
8969
|
-
var s1 = H, b1 = S3(f),
|
|
8985
|
+
var s1 = H, b1 = S3(f), V1 = [];
|
|
8970
8986
|
e: {
|
|
8971
8987
|
var L1 = Hl.get(n);
|
|
8972
8988
|
if (L1 !== void 0) {
|
|
8973
|
-
var
|
|
8989
|
+
var I1 = Q0, t2 = n;
|
|
8974
8990
|
switch (n) {
|
|
8975
8991
|
case "keypress":
|
|
8976
8992
|
if (V5(f) === 0)
|
|
8977
8993
|
break e;
|
|
8978
8994
|
case "keydown":
|
|
8979
8995
|
case "keyup":
|
|
8980
|
-
|
|
8996
|
+
I1 = Pc;
|
|
8981
8997
|
break;
|
|
8982
8998
|
case "focusin":
|
|
8983
|
-
t2 = "focus",
|
|
8999
|
+
t2 = "focus", I1 = k7;
|
|
8984
9000
|
break;
|
|
8985
9001
|
case "focusout":
|
|
8986
|
-
t2 = "blur",
|
|
9002
|
+
t2 = "blur", I1 = k7;
|
|
8987
9003
|
break;
|
|
8988
9004
|
case "beforeblur":
|
|
8989
9005
|
case "afterblur":
|
|
8990
|
-
|
|
9006
|
+
I1 = k7;
|
|
8991
9007
|
break;
|
|
8992
9008
|
case "click":
|
|
8993
9009
|
if (f.button === 2)
|
|
@@ -9000,7 +9016,7 @@ function TZ() {
|
|
|
9000
9016
|
case "mouseout":
|
|
9001
9017
|
case "mouseover":
|
|
9002
9018
|
case "contextmenu":
|
|
9003
|
-
|
|
9019
|
+
I1 = G0;
|
|
9004
9020
|
break;
|
|
9005
9021
|
case "drag":
|
|
9006
9022
|
case "dragend":
|
|
@@ -9010,32 +9026,32 @@ function TZ() {
|
|
|
9010
9026
|
case "dragover":
|
|
9011
9027
|
case "dragstart":
|
|
9012
9028
|
case "drop":
|
|
9013
|
-
|
|
9029
|
+
I1 = Ko;
|
|
9014
9030
|
break;
|
|
9015
9031
|
case "touchcancel":
|
|
9016
9032
|
case "touchend":
|
|
9017
9033
|
case "touchmove":
|
|
9018
9034
|
case "touchstart":
|
|
9019
|
-
|
|
9035
|
+
I1 = Bc;
|
|
9020
9036
|
break;
|
|
9021
9037
|
case ka:
|
|
9022
9038
|
case Ll:
|
|
9023
9039
|
case bl:
|
|
9024
|
-
|
|
9040
|
+
I1 = Jo;
|
|
9025
9041
|
break;
|
|
9026
9042
|
case wl:
|
|
9027
|
-
|
|
9043
|
+
I1 = rl;
|
|
9028
9044
|
break;
|
|
9029
9045
|
case "scroll":
|
|
9030
|
-
|
|
9046
|
+
I1 = Go;
|
|
9031
9047
|
break;
|
|
9032
9048
|
case "wheel":
|
|
9033
|
-
|
|
9049
|
+
I1 = $6;
|
|
9034
9050
|
break;
|
|
9035
9051
|
case "copy":
|
|
9036
9052
|
case "cut":
|
|
9037
9053
|
case "paste":
|
|
9038
|
-
|
|
9054
|
+
I1 = Oc;
|
|
9039
9055
|
break;
|
|
9040
9056
|
case "gotpointercapture":
|
|
9041
9057
|
case "lostpointercapture":
|
|
@@ -9045,7 +9061,7 @@ function TZ() {
|
|
|
9045
9061
|
case "pointerout":
|
|
9046
9062
|
case "pointerover":
|
|
9047
9063
|
case "pointerup":
|
|
9048
|
-
|
|
9064
|
+
I1 = X0;
|
|
9049
9065
|
}
|
|
9050
9066
|
var i2 = (l & 4) !== 0, Le = !i2 && n === "scroll", e1 = i2 ? L1 !== null ? L1 + "Capture" : null : L1;
|
|
9051
9067
|
i2 = [];
|
|
@@ -9056,17 +9072,17 @@ function TZ() {
|
|
|
9056
9072
|
break;
|
|
9057
9073
|
q = q.return;
|
|
9058
9074
|
}
|
|
9059
|
-
0 < i2.length && (L1 = new
|
|
9075
|
+
0 < i2.length && (L1 = new I1(L1, t2, null, f, b1), V1.push({ event: L1, listeners: i2 }));
|
|
9060
9076
|
}
|
|
9061
9077
|
}
|
|
9062
9078
|
if (!(l & 7)) {
|
|
9063
9079
|
e: {
|
|
9064
|
-
if (L1 = n === "mouseover" || n === "pointerover",
|
|
9080
|
+
if (L1 = n === "mouseover" || n === "pointerover", I1 = n === "mouseout" || n === "pointerout", L1 && f !== qe && (t2 = f.relatedTarget || f.fromElement) && (E5(t2) || t2[q6]))
|
|
9065
9081
|
break e;
|
|
9066
|
-
if ((
|
|
9067
|
-
if (i2 = G0, S1 = "onMouseLeave", e1 = "onMouseEnter", q = "mouse", (n === "pointerout" || n === "pointerover") && (i2 = X0, S1 = "onPointerLeave", e1 = "onPointerEnter", q = "pointer"), Le =
|
|
9082
|
+
if ((I1 || L1) && (L1 = b1.window === b1 ? b1 : (L1 = b1.ownerDocument) ? L1.defaultView || L1.parentWindow : window, I1 ? (t2 = f.relatedTarget || f.toElement, I1 = s1, t2 = t2 ? E5(t2) : null, t2 !== null && (Le = x2(t2), t2 !== Le || t2.tag !== 5 && t2.tag !== 6) && (t2 = null)) : (I1 = null, t2 = s1), I1 !== t2)) {
|
|
9083
|
+
if (i2 = G0, S1 = "onMouseLeave", e1 = "onMouseEnter", q = "mouse", (n === "pointerout" || n === "pointerover") && (i2 = X0, S1 = "onPointerLeave", e1 = "onPointerEnter", q = "pointer"), Le = I1 == null ? L1 : E9(I1), a1 = t2 == null ? L1 : E9(t2), L1 = new i2(S1, q + "leave", I1, f, b1), L1.target = Le, L1.relatedTarget = a1, S1 = null, E5(b1) === s1 && (i2 = new i2(e1, q + "enter", t2, f, b1), i2.target = a1, i2.relatedTarget = Le, S1 = i2), Le = S1, I1 && t2)
|
|
9068
9084
|
t: {
|
|
9069
|
-
for (i2 =
|
|
9085
|
+
for (i2 = I1, e1 = t2, q = 0, a1 = i2; a1; a1 = b8(a1))
|
|
9070
9086
|
q++;
|
|
9071
9087
|
for (a1 = 0, S1 = e1; S1; S1 = b8(S1))
|
|
9072
9088
|
a1++;
|
|
@@ -9083,11 +9099,11 @@ function TZ() {
|
|
|
9083
9099
|
}
|
|
9084
9100
|
else
|
|
9085
9101
|
i2 = null;
|
|
9086
|
-
|
|
9102
|
+
I1 !== null && Ta(V1, L1, I1, i2, !1), t2 !== null && Le !== null && Ta(V1, Le, t2, i2, !0);
|
|
9087
9103
|
}
|
|
9088
9104
|
}
|
|
9089
9105
|
e: {
|
|
9090
|
-
if (L1 = s1 ? E9(s1) : window,
|
|
9106
|
+
if (L1 = s1 ? E9(s1) : window, I1 = L1.nodeName && L1.nodeName.toLowerCase(), I1 === "select" || I1 === "input" && L1.type === "file")
|
|
9091
9107
|
var l2 = cl;
|
|
9092
9108
|
else if (sl(L1))
|
|
9093
9109
|
if (wa)
|
|
@@ -9097,9 +9113,9 @@ function TZ() {
|
|
|
9097
9113
|
var n2 = Ac;
|
|
9098
9114
|
}
|
|
9099
9115
|
else
|
|
9100
|
-
(
|
|
9116
|
+
(I1 = L1.nodeName) && I1.toLowerCase() === "input" && (L1.type === "checkbox" || L1.type === "radio") && (l2 = Uc);
|
|
9101
9117
|
if (l2 && (l2 = l2(n, s1))) {
|
|
9102
|
-
ul(
|
|
9118
|
+
ul(V1, l2, f, b1);
|
|
9103
9119
|
break e;
|
|
9104
9120
|
}
|
|
9105
9121
|
n2 && n2(n, L1, s1), n === "focusout" && (n2 = L1._wrapperState) && n2.controlled && L1.type === "number" && me(L1, "number", L1.value);
|
|
@@ -9117,14 +9133,14 @@ function TZ() {
|
|
|
9117
9133
|
case "contextmenu":
|
|
9118
9134
|
case "mouseup":
|
|
9119
9135
|
case "dragend":
|
|
9120
|
-
Ma = !1, yl(
|
|
9136
|
+
Ma = !1, yl(V1, f, b1);
|
|
9121
9137
|
break;
|
|
9122
9138
|
case "selectionchange":
|
|
9123
9139
|
if (gl)
|
|
9124
9140
|
break;
|
|
9125
9141
|
case "keydown":
|
|
9126
9142
|
case "keyup":
|
|
9127
|
-
yl(
|
|
9143
|
+
yl(V1, f, b1);
|
|
9128
9144
|
}
|
|
9129
9145
|
var p2;
|
|
9130
9146
|
if (Q5)
|
|
@@ -9144,9 +9160,9 @@ function TZ() {
|
|
|
9144
9160
|
}
|
|
9145
9161
|
else
|
|
9146
9162
|
w9 ? ol(n, f) && (M2 = "onCompositionEnd") : n === "keydown" && f.keyCode === 229 && (M2 = "onCompositionStart");
|
|
9147
|
-
M2 && (al && f.locale !== "ko" && (w9 || M2 !== "onCompositionStart" ? M2 === "onCompositionEnd" && w9 && (p2 = Xe()) : (F2 = b1, w3 = "value" in F2 ? F2.value : F2.textContent, w9 = !0)), n2 = Pt(s1, M2), 0 < n2.length && (M2 = new va(M2, n, null, f, b1),
|
|
9163
|
+
M2 && (al && f.locale !== "ko" && (w9 || M2 !== "onCompositionStart" ? M2 === "onCompositionEnd" && w9 && (p2 = Xe()) : (F2 = b1, w3 = "value" in F2 ? F2.value : F2.textContent, w9 = !0)), n2 = Pt(s1, M2), 0 < n2.length && (M2 = new va(M2, n, null, f, b1), V1.push({ event: M2, listeners: n2 }), p2 ? M2.data = p2 : (p2 = en(f), p2 !== null && (M2.data = p2)))), (p2 = J0 ? Fc(n, f) : jc(n, f)) && (s1 = Pt(s1, "onBeforeInput"), 0 < s1.length && (b1 = new va("onBeforeInput", "beforeinput", null, f, b1), V1.push({ event: b1, listeners: s1 }), b1.data = p2));
|
|
9148
9164
|
}
|
|
9149
|
-
an(
|
|
9165
|
+
an(V1, l);
|
|
9150
9166
|
});
|
|
9151
9167
|
}
|
|
9152
9168
|
function Nt(n, l, f) {
|
|
@@ -9584,13 +9600,13 @@ function TZ() {
|
|
|
9584
9600
|
b1 !== null && (b1 = b1.updateQueue, B = b1.lastBaseUpdate, B !== T && (B === null ? b1.firstBaseUpdate = s1 : B.next = s1, b1.lastBaseUpdate = W));
|
|
9585
9601
|
}
|
|
9586
9602
|
if (H !== null) {
|
|
9587
|
-
var
|
|
9603
|
+
var V1 = b.baseState;
|
|
9588
9604
|
T = 0, b1 = s1 = W = null, B = H;
|
|
9589
9605
|
do {
|
|
9590
|
-
var L1 = B.lane,
|
|
9606
|
+
var L1 = B.lane, I1 = B.eventTime;
|
|
9591
9607
|
if ((m & L1) === L1) {
|
|
9592
9608
|
b1 !== null && (b1 = b1.next = {
|
|
9593
|
-
eventTime:
|
|
9609
|
+
eventTime: I1,
|
|
9594
9610
|
lane: 0,
|
|
9595
9611
|
tag: B.tag,
|
|
9596
9612
|
payload: B.payload,
|
|
@@ -9599,20 +9615,20 @@ function TZ() {
|
|
|
9599
9615
|
});
|
|
9600
9616
|
e: {
|
|
9601
9617
|
var t2 = n, i2 = B;
|
|
9602
|
-
switch (L1 = l,
|
|
9618
|
+
switch (L1 = l, I1 = f, i2.tag) {
|
|
9603
9619
|
case 1:
|
|
9604
9620
|
if (t2 = i2.payload, typeof t2 == "function") {
|
|
9605
|
-
|
|
9621
|
+
V1 = t2.call(I1, V1, L1);
|
|
9606
9622
|
break e;
|
|
9607
9623
|
}
|
|
9608
|
-
|
|
9624
|
+
V1 = t2;
|
|
9609
9625
|
break e;
|
|
9610
9626
|
case 3:
|
|
9611
9627
|
t2.flags = t2.flags & -65537 | 128;
|
|
9612
9628
|
case 0:
|
|
9613
|
-
if (t2 = i2.payload, L1 = typeof t2 == "function" ? t2.call(
|
|
9629
|
+
if (t2 = i2.payload, L1 = typeof t2 == "function" ? t2.call(I1, V1, L1) : t2, L1 == null)
|
|
9614
9630
|
break e;
|
|
9615
|
-
|
|
9631
|
+
V1 = y1({}, V1, L1);
|
|
9616
9632
|
break e;
|
|
9617
9633
|
case 2:
|
|
9618
9634
|
B7 = !0;
|
|
@@ -9620,21 +9636,21 @@ function TZ() {
|
|
|
9620
9636
|
}
|
|
9621
9637
|
B.callback !== null && B.lane !== 0 && (n.flags |= 64, L1 = b.effects, L1 === null ? b.effects = [B] : L1.push(B));
|
|
9622
9638
|
} else
|
|
9623
|
-
|
|
9639
|
+
I1 = { eventTime: I1, lane: L1, tag: B.tag, payload: B.payload, callback: B.callback, next: null }, b1 === null ? (s1 = b1 = I1, W = V1) : b1 = b1.next = I1, T |= L1;
|
|
9624
9640
|
if (B = B.next, B === null) {
|
|
9625
9641
|
if (B = b.shared.pending, B === null)
|
|
9626
9642
|
break;
|
|
9627
9643
|
L1 = B, B = L1.next, L1.next = null, b.lastBaseUpdate = L1, b.shared.pending = null;
|
|
9628
9644
|
}
|
|
9629
9645
|
} while (!0);
|
|
9630
|
-
if (b1 === null && (W =
|
|
9646
|
+
if (b1 === null && (W = V1), b.baseState = W, b.firstBaseUpdate = s1, b.lastBaseUpdate = b1, l = b.shared.interleaved, l !== null) {
|
|
9631
9647
|
b = l;
|
|
9632
9648
|
do
|
|
9633
9649
|
T |= b.lane, b = b.next;
|
|
9634
9650
|
while (b !== l);
|
|
9635
9651
|
} else
|
|
9636
9652
|
H === null && (b.shared.lanes = 0);
|
|
9637
|
-
n7 |= T, n.lanes = T, n.memoizedState =
|
|
9653
|
+
n7 |= T, n.lanes = T, n.memoizedState = V1;
|
|
9638
9654
|
}
|
|
9639
9655
|
}
|
|
9640
9656
|
function M8(n, l, f) {
|
|
@@ -9754,7 +9770,7 @@ function TZ() {
|
|
|
9754
9770
|
function b1(e1, q, a1, S1, l2) {
|
|
9755
9771
|
return q === null || q.tag !== 7 ? (q = I8(a1, e1.mode, S1, l2), q.return = e1, q) : (q = b(q, a1), q.return = e1, q);
|
|
9756
9772
|
}
|
|
9757
|
-
function
|
|
9773
|
+
function V1(e1, q, a1) {
|
|
9758
9774
|
if (typeof q == "string" && q !== "" || typeof q == "number")
|
|
9759
9775
|
return q = l0("" + q, e1.mode, a1), q.return = e1, q;
|
|
9760
9776
|
if (typeof q == "object" && q !== null) {
|
|
@@ -9765,7 +9781,7 @@ function TZ() {
|
|
|
9765
9781
|
return q = $8(q, e1.mode, a1), q.return = e1, q;
|
|
9766
9782
|
case T1:
|
|
9767
9783
|
var S1 = q._init;
|
|
9768
|
-
return
|
|
9784
|
+
return V1(e1, S1(q._payload), a1);
|
|
9769
9785
|
}
|
|
9770
9786
|
if (U3(q) || E1(q))
|
|
9771
9787
|
return q = I8(q, e1.mode, a1, null), q.return = e1, q;
|
|
@@ -9797,7 +9813,7 @@ function TZ() {
|
|
|
9797
9813
|
}
|
|
9798
9814
|
return null;
|
|
9799
9815
|
}
|
|
9800
|
-
function
|
|
9816
|
+
function I1(e1, q, a1, S1, l2) {
|
|
9801
9817
|
if (typeof S1 == "string" && S1 !== "" || typeof S1 == "number")
|
|
9802
9818
|
return e1 = e1.get(a1) || null, B(q, e1, "" + S1, l2);
|
|
9803
9819
|
if (typeof S1 == "object" && S1 !== null) {
|
|
@@ -9808,7 +9824,7 @@ function TZ() {
|
|
|
9808
9824
|
return e1 = e1.get(S1.key === null ? a1 : S1.key) || null, s1(q, e1, S1, l2);
|
|
9809
9825
|
case T1:
|
|
9810
9826
|
var n2 = S1._init;
|
|
9811
|
-
return
|
|
9827
|
+
return I1(e1, q, a1, n2(S1._payload), l2);
|
|
9812
9828
|
}
|
|
9813
9829
|
if (U3(S1) || E1(S1))
|
|
9814
9830
|
return e1 = e1.get(a1) || null, b1(q, e1, S1, l2, null);
|
|
@@ -9830,11 +9846,11 @@ function TZ() {
|
|
|
9830
9846
|
return f(e1, p2), W3 && u5(e1, M2), l2;
|
|
9831
9847
|
if (p2 === null) {
|
|
9832
9848
|
for (; M2 < a1.length; M2++)
|
|
9833
|
-
p2 =
|
|
9849
|
+
p2 = V1(e1, a1[M2], S1), p2 !== null && (q = H(p2, q, M2), n2 === null ? l2 = p2 : n2.sibling = p2, n2 = p2);
|
|
9834
9850
|
return W3 && u5(e1, M2), l2;
|
|
9835
9851
|
}
|
|
9836
9852
|
for (p2 = m(e1, p2); M2 < a1.length; M2++)
|
|
9837
|
-
We =
|
|
9853
|
+
We = I1(p2, e1, M2, a1[M2], S1), We !== null && (n && We.alternate !== null && p2.delete(We.key === null ? M2 : We.key), q = H(We, q, M2), n2 === null ? l2 = We : n2.sibling = We, n2 = We);
|
|
9838
9854
|
return n && p2.forEach(function(q7) {
|
|
9839
9855
|
return l(e1, q7);
|
|
9840
9856
|
}), W3 && u5(e1, M2), l2;
|
|
@@ -9861,11 +9877,11 @@ function TZ() {
|
|
|
9861
9877
|
), W3 && u5(e1, M2), l2;
|
|
9862
9878
|
if (p2 === null) {
|
|
9863
9879
|
for (; !o3.done; M2++, o3 = a1.next())
|
|
9864
|
-
o3 =
|
|
9880
|
+
o3 = V1(e1, o3.value, S1), o3 !== null && (q = H(o3, q, M2), n2 === null ? l2 = o3 : n2.sibling = o3, n2 = o3);
|
|
9865
9881
|
return W3 && u5(e1, M2), l2;
|
|
9866
9882
|
}
|
|
9867
9883
|
for (p2 = m(e1, p2); !o3.done; M2++, o3 = a1.next())
|
|
9868
|
-
o3 =
|
|
9884
|
+
o3 = I1(p2, e1, M2, o3.value, S1), o3 !== null && (n && o3.alternate !== null && p2.delete(o3.key === null ? M2 : o3.key), q = H(o3, q, M2), n2 === null ? l2 = o3 : n2.sibling = o3, n2 = o3);
|
|
9869
9885
|
return n && p2.forEach(function(hd) {
|
|
9870
9886
|
return l(e1, hd);
|
|
9871
9887
|
}), W3 && u5(e1, M2), l2;
|
|
@@ -10058,14 +10074,14 @@ function TZ() {
|
|
|
10058
10074
|
if ((S8 & b1) === b1)
|
|
10059
10075
|
W !== null && (W = W.next = { lane: 0, action: s1.action, hasEagerState: s1.hasEagerState, eagerState: s1.eagerState, next: null }), m = s1.hasEagerState ? s1.eagerState : n(m, s1.action);
|
|
10060
10076
|
else {
|
|
10061
|
-
var
|
|
10077
|
+
var V1 = {
|
|
10062
10078
|
lane: b1,
|
|
10063
10079
|
action: s1.action,
|
|
10064
10080
|
hasEagerState: s1.hasEagerState,
|
|
10065
10081
|
eagerState: s1.eagerState,
|
|
10066
10082
|
next: null
|
|
10067
10083
|
};
|
|
10068
|
-
W === null ? (B = W =
|
|
10084
|
+
W === null ? (B = W = V1, T = m) : W = W.next = V1, Q3.lanes |= b1, n7 |= b1;
|
|
10069
10085
|
}
|
|
10070
10086
|
s1 = s1.next;
|
|
10071
10087
|
} while (s1 !== null && s1 !== H);
|
|
@@ -10491,16 +10507,16 @@ Error generating stack: ` + H.message + `
|
|
|
10491
10507
|
T.props = B;
|
|
10492
10508
|
var W = T.context, s1 = f.contextType;
|
|
10493
10509
|
typeof s1 == "object" && s1 !== null ? s1 = ye(s1) : (s1 = K3(f) ? I4 : V2.current, s1 = S5(l, s1));
|
|
10494
|
-
var b1 = f.getDerivedStateFromProps,
|
|
10495
|
-
|
|
10510
|
+
var b1 = f.getDerivedStateFromProps, V1 = typeof b1 == "function" || typeof T.getSnapshotBeforeUpdate == "function";
|
|
10511
|
+
V1 || typeof T.UNSAFE_componentWillReceiveProps != "function" && typeof T.componentWillReceiveProps != "function" || (B !== m || W !== s1) && Nl(l, T, m, s1), B7 = !1;
|
|
10496
10512
|
var L1 = l.memoizedState;
|
|
10497
|
-
T.state = L1, j7(l, m, T, b), W = l.memoizedState, B !== m || L1 !== W || Ce.current || B7 ? (typeof b1 == "function" && (qa(l, f, b1, m), W = l.memoizedState), (B = B7 || Zl(l, f, B, m, L1, W, s1)) ? (
|
|
10513
|
+
T.state = L1, j7(l, m, T, b), W = l.memoizedState, B !== m || L1 !== W || Ce.current || B7 ? (typeof b1 == "function" && (qa(l, f, b1, m), W = l.memoizedState), (B = B7 || Zl(l, f, B, m, L1, W, s1)) ? (V1 || typeof T.UNSAFE_componentWillMount != "function" && typeof T.componentWillMount != "function" || (typeof T.componentWillMount == "function" && T.componentWillMount(), typeof T.UNSAFE_componentWillMount == "function" && T.UNSAFE_componentWillMount()), typeof T.componentDidMount == "function" && (l.flags |= 4194308)) : (typeof T.componentDidMount == "function" && (l.flags |= 4194308), l.memoizedProps = m, l.memoizedState = W), T.props = m, T.state = W, T.context = s1, m = B) : (typeof T.componentDidMount == "function" && (l.flags |= 4194308), m = !1);
|
|
10498
10514
|
} else {
|
|
10499
|
-
T = l.stateNode, _e(n, l), B = l.memoizedProps, s1 = l.type === l.elementType ? B : d5(l.type, B), T.props = s1,
|
|
10500
|
-
var
|
|
10501
|
-
(b1 = typeof
|
|
10515
|
+
T = l.stateNode, _e(n, l), B = l.memoizedProps, s1 = l.type === l.elementType ? B : d5(l.type, B), T.props = s1, V1 = l.pendingProps, L1 = T.context, W = f.contextType, typeof W == "object" && W !== null ? W = ye(W) : (W = K3(f) ? I4 : V2.current, W = S5(l, W));
|
|
10516
|
+
var I1 = f.getDerivedStateFromProps;
|
|
10517
|
+
(b1 = typeof I1 == "function" || typeof T.getSnapshotBeforeUpdate == "function") || typeof T.UNSAFE_componentWillReceiveProps != "function" && typeof T.componentWillReceiveProps != "function" || (B !== V1 || L1 !== W) && Nl(l, T, m, W), B7 = !1, L1 = l.memoizedState, T.state = L1, j7(l, m, T, b);
|
|
10502
10518
|
var t2 = l.memoizedState;
|
|
10503
|
-
B !==
|
|
10519
|
+
B !== V1 || L1 !== t2 || Ce.current || B7 ? (typeof I1 == "function" && (qa(l, f, I1, m), t2 = l.memoizedState), (s1 = B7 || Zl(l, f, s1, m, L1, t2, W) || !1) ? (b1 || typeof T.UNSAFE_componentWillUpdate != "function" && typeof T.componentWillUpdate != "function" || (typeof T.componentWillUpdate == "function" && T.componentWillUpdate(m, t2, W), typeof T.UNSAFE_componentWillUpdate == "function" && T.UNSAFE_componentWillUpdate(m, t2, W)), typeof T.componentDidUpdate == "function" && (l.flags |= 4), typeof T.getSnapshotBeforeUpdate == "function" && (l.flags |= 1024)) : (typeof T.componentDidUpdate != "function" || B === n.memoizedProps && L1 === n.memoizedState || (l.flags |= 4), typeof T.getSnapshotBeforeUpdate != "function" || B === n.memoizedProps && L1 === n.memoizedState || (l.flags |= 1024), l.memoizedProps = m, l.memoizedState = t2), T.props = m, T.state = t2, T.context = W, m = s1) : (typeof T.componentDidUpdate != "function" || B === n.memoizedProps && L1 === n.memoizedState || (l.flags |= 4), typeof T.getSnapshotBeforeUpdate != "function" || B === n.memoizedProps && L1 === n.memoizedState || (l.flags |= 1024), m = !1);
|
|
10504
10520
|
}
|
|
10505
10521
|
return Ul(n, l, f, m, H, b);
|
|
10506
10522
|
}
|
|
@@ -10872,7 +10888,7 @@ Error generating stack: ` + H.message + `
|
|
|
10872
10888
|
O3("toggle", m);
|
|
10873
10889
|
break;
|
|
10874
10890
|
case "input":
|
|
10875
|
-
|
|
10891
|
+
U1(m, H), O3("invalid", m);
|
|
10876
10892
|
break;
|
|
10877
10893
|
case "select":
|
|
10878
10894
|
m._wrapperState = { wasMultiple: !!H.multiple }, O3("invalid", m);
|
|
@@ -10937,7 +10953,7 @@ Error generating stack: ` + H.message + `
|
|
|
10937
10953
|
O3("toggle", n), b = m;
|
|
10938
10954
|
break;
|
|
10939
10955
|
case "input":
|
|
10940
|
-
|
|
10956
|
+
U1(n, m), b = _1(n, m), O3("invalid", n);
|
|
10941
10957
|
break;
|
|
10942
10958
|
case "option":
|
|
10943
10959
|
b = m;
|
|
@@ -11150,19 +11166,19 @@ Error generating stack: ` + H.message + `
|
|
|
11150
11166
|
f = null;
|
|
11151
11167
|
break e;
|
|
11152
11168
|
}
|
|
11153
|
-
var T = 0, B = -1, W = -1, s1 = 0, b1 = 0,
|
|
11169
|
+
var T = 0, B = -1, W = -1, s1 = 0, b1 = 0, V1 = n, L1 = null;
|
|
11154
11170
|
t:
|
|
11155
11171
|
for (; ; ) {
|
|
11156
|
-
for (var
|
|
11157
|
-
L1 =
|
|
11172
|
+
for (var I1; V1 !== f || b !== 0 && V1.nodeType !== 3 || (B = T + b), V1 !== H || m !== 0 && V1.nodeType !== 3 || (W = T + m), V1.nodeType === 3 && (T += V1.nodeValue.length), (I1 = V1.firstChild) !== null; )
|
|
11173
|
+
L1 = V1, V1 = I1;
|
|
11158
11174
|
for (; ; ) {
|
|
11159
|
-
if (
|
|
11175
|
+
if (V1 === n)
|
|
11160
11176
|
break t;
|
|
11161
|
-
if (L1 === f && ++s1 === b && (B = T), L1 === H && ++b1 === m && (W = T), (
|
|
11177
|
+
if (L1 === f && ++s1 === b && (B = T), L1 === H && ++b1 === m && (W = T), (I1 = V1.nextSibling) !== null)
|
|
11162
11178
|
break;
|
|
11163
|
-
|
|
11179
|
+
V1 = L1, L1 = V1.parentNode;
|
|
11164
11180
|
}
|
|
11165
|
-
|
|
11181
|
+
V1 = I1;
|
|
11166
11182
|
}
|
|
11167
11183
|
f = B === -1 || W === -1 ? null : { start: B, end: W };
|
|
11168
11184
|
} else
|
|
@@ -11434,8 +11450,8 @@ Error generating stack: ` + H.message + `
|
|
|
11434
11450
|
B === "input" && H.type === "radio" && H.name != null && N2(b, H), re(B, T);
|
|
11435
11451
|
var s1 = re(B, H);
|
|
11436
11452
|
for (T = 0; T < W.length; T += 2) {
|
|
11437
|
-
var b1 = W[T],
|
|
11438
|
-
b1 === "style" ? m3(b,
|
|
11453
|
+
var b1 = W[T], V1 = W[T + 1];
|
|
11454
|
+
b1 === "style" ? m3(b, V1) : b1 === "dangerouslySetInnerHTML" ? W5(b, V1) : b1 === "children" ? F4(b, V1) : A(b, b1, V1, s1);
|
|
11439
11455
|
}
|
|
11440
11456
|
switch (B) {
|
|
11441
11457
|
case "input":
|
|
@@ -11447,8 +11463,8 @@ Error generating stack: ` + H.message + `
|
|
|
11447
11463
|
case "select":
|
|
11448
11464
|
var L1 = b._wrapperState.wasMultiple;
|
|
11449
11465
|
b._wrapperState.wasMultiple = !!H.multiple;
|
|
11450
|
-
var
|
|
11451
|
-
|
|
11466
|
+
var I1 = H.value;
|
|
11467
|
+
I1 != null ? te(b, !!H.multiple, I1, !1) : L1 !== !!H.multiple && (H.defaultValue != null ? te(
|
|
11452
11468
|
b,
|
|
11453
11469
|
!!H.multiple,
|
|
11454
11470
|
H.defaultValue,
|
|
@@ -11491,8 +11507,8 @@ Error generating stack: ` + H.message + `
|
|
|
11491
11507
|
if (b1 = f !== null && f.memoizedState !== null, n.mode & 1 ? (Ze = (s1 = Ze) || b1, K5(l, n), Ze = s1) : K5(l, n), L6(n), m & 8192) {
|
|
11492
11508
|
if (s1 = n.memoizedState !== null, (n.stateNode.isHidden = s1) && !b1 && n.mode & 1)
|
|
11493
11509
|
for (J1 = n, b1 = n.child; b1 !== null; ) {
|
|
11494
|
-
for (
|
|
11495
|
-
switch (L1 = J1,
|
|
11510
|
+
for (V1 = J1 = b1; J1 !== null; ) {
|
|
11511
|
+
switch (L1 = J1, I1 = L1.child, L1.tag) {
|
|
11496
11512
|
case 0:
|
|
11497
11513
|
case 11:
|
|
11498
11514
|
case 14:
|
|
@@ -11516,44 +11532,44 @@ Error generating stack: ` + H.message + `
|
|
|
11516
11532
|
break;
|
|
11517
11533
|
case 22:
|
|
11518
11534
|
if (L1.memoizedState !== null) {
|
|
11519
|
-
di(
|
|
11535
|
+
di(V1);
|
|
11520
11536
|
continue;
|
|
11521
11537
|
}
|
|
11522
11538
|
}
|
|
11523
|
-
|
|
11539
|
+
I1 !== null ? (I1.return = L1, J1 = I1) : di(V1);
|
|
11524
11540
|
}
|
|
11525
11541
|
b1 = b1.sibling;
|
|
11526
11542
|
}
|
|
11527
11543
|
e:
|
|
11528
|
-
for (b1 = null,
|
|
11529
|
-
if (
|
|
11544
|
+
for (b1 = null, V1 = n; ; ) {
|
|
11545
|
+
if (V1.tag === 5) {
|
|
11530
11546
|
if (b1 === null) {
|
|
11531
|
-
b1 =
|
|
11547
|
+
b1 = V1;
|
|
11532
11548
|
try {
|
|
11533
|
-
b =
|
|
11549
|
+
b = V1.stateNode, s1 ? (H = b.style, typeof H.setProperty == "function" ? H.setProperty("display", "none", "important") : H.display = "none") : (B = V1.stateNode, W = V1.memoizedProps.style, T = W != null && W.hasOwnProperty("display") ? W.display : null, B.style.display = B2("display", T));
|
|
11534
11550
|
} catch (i2) {
|
|
11535
11551
|
pe(n, n.return, i2);
|
|
11536
11552
|
}
|
|
11537
11553
|
}
|
|
11538
|
-
} else if (
|
|
11554
|
+
} else if (V1.tag === 6) {
|
|
11539
11555
|
if (b1 === null)
|
|
11540
11556
|
try {
|
|
11541
|
-
|
|
11557
|
+
V1.stateNode.nodeValue = s1 ? "" : V1.memoizedProps;
|
|
11542
11558
|
} catch (i2) {
|
|
11543
11559
|
pe(n, n.return, i2);
|
|
11544
11560
|
}
|
|
11545
|
-
} else if ((
|
|
11546
|
-
|
|
11561
|
+
} else if ((V1.tag !== 22 && V1.tag !== 23 || V1.memoizedState === null || V1 === n) && V1.child !== null) {
|
|
11562
|
+
V1.child.return = V1, V1 = V1.child;
|
|
11547
11563
|
continue;
|
|
11548
11564
|
}
|
|
11549
|
-
if (
|
|
11565
|
+
if (V1 === n)
|
|
11550
11566
|
break e;
|
|
11551
|
-
for (;
|
|
11552
|
-
if (
|
|
11567
|
+
for (; V1.sibling === null; ) {
|
|
11568
|
+
if (V1.return === null || V1.return === n)
|
|
11553
11569
|
break e;
|
|
11554
|
-
b1 ===
|
|
11570
|
+
b1 === V1 && (b1 = null), V1 = V1.return;
|
|
11555
11571
|
}
|
|
11556
|
-
b1 ===
|
|
11572
|
+
b1 === V1 && (b1 = null), V1.sibling.return = V1.return, V1 = V1.sibling;
|
|
11557
11573
|
}
|
|
11558
11574
|
}
|
|
11559
11575
|
break;
|
|
@@ -11697,8 +11713,8 @@ Error generating stack: ` + H.message + `
|
|
|
11697
11713
|
if (s1 !== null) {
|
|
11698
11714
|
var b1 = s1.memoizedState;
|
|
11699
11715
|
if (b1 !== null) {
|
|
11700
|
-
var
|
|
11701
|
-
|
|
11716
|
+
var V1 = b1.dehydrated;
|
|
11717
|
+
V1 !== null && M7(V1);
|
|
11702
11718
|
}
|
|
11703
11719
|
}
|
|
11704
11720
|
}
|
|
@@ -12075,14 +12091,14 @@ Error generating stack: ` + H.message + `
|
|
|
12075
12091
|
e: {
|
|
12076
12092
|
var H = n, T = f.return, B = f, W = l;
|
|
12077
12093
|
if (l = Ye, B.flags |= 32768, W !== null && typeof W == "object" && typeof W.then == "function") {
|
|
12078
|
-
var s1 = W, b1 = B,
|
|
12079
|
-
if (!(b1.mode & 1) && (
|
|
12094
|
+
var s1 = W, b1 = B, V1 = b1.tag;
|
|
12095
|
+
if (!(b1.mode & 1) && (V1 === 0 || V1 === 11 || V1 === 15)) {
|
|
12080
12096
|
var L1 = b1.alternate;
|
|
12081
12097
|
L1 ? (b1.updateQueue = L1.updateQueue, b1.memoizedState = L1.memoizedState, b1.lanes = L1.lanes) : (b1.updateQueue = null, b1.memoizedState = null);
|
|
12082
12098
|
}
|
|
12083
|
-
var
|
|
12084
|
-
if (
|
|
12085
|
-
|
|
12099
|
+
var I1 = ei(T);
|
|
12100
|
+
if (I1 !== null) {
|
|
12101
|
+
I1.flags &= -257, ti(I1, T, B, H, l), I1.mode & 1 && zl(H, s1, l), l = I1, W = s1;
|
|
12086
12102
|
var t2 = l.updateQueue;
|
|
12087
12103
|
if (t2 === null) {
|
|
12088
12104
|
var i2 = /* @__PURE__ */ new Set();
|
|
@@ -12261,22 +12277,22 @@ Error generating stack: ` + H.message + `
|
|
|
12261
12277
|
case 15:
|
|
12262
12278
|
t0(8, b1, H);
|
|
12263
12279
|
}
|
|
12264
|
-
var
|
|
12265
|
-
if (
|
|
12266
|
-
|
|
12280
|
+
var V1 = b1.child;
|
|
12281
|
+
if (V1 !== null)
|
|
12282
|
+
V1.return = b1, J1 = V1;
|
|
12267
12283
|
else
|
|
12268
12284
|
for (; J1 !== null; ) {
|
|
12269
12285
|
b1 = J1;
|
|
12270
|
-
var L1 = b1.sibling,
|
|
12286
|
+
var L1 = b1.sibling, I1 = b1.return;
|
|
12271
12287
|
if (ci(b1), b1 === s1) {
|
|
12272
12288
|
J1 = null;
|
|
12273
12289
|
break;
|
|
12274
12290
|
}
|
|
12275
12291
|
if (L1 !== null) {
|
|
12276
|
-
L1.return =
|
|
12292
|
+
L1.return = I1, J1 = L1;
|
|
12277
12293
|
break;
|
|
12278
12294
|
}
|
|
12279
|
-
J1 =
|
|
12295
|
+
J1 = I1;
|
|
12280
12296
|
}
|
|
12281
12297
|
}
|
|
12282
12298
|
}
|
|
@@ -12592,7 +12608,7 @@ Error generating stack: ` + H.message + `
|
|
|
12592
12608
|
if (n != null) {
|
|
12593
12609
|
if (n = n.$$typeof, n === P1)
|
|
12594
12610
|
return 11;
|
|
12595
|
-
if (n ===
|
|
12611
|
+
if (n === A1)
|
|
12596
12612
|
return 14;
|
|
12597
12613
|
}
|
|
12598
12614
|
return 2;
|
|
@@ -12615,8 +12631,8 @@ Error generating stack: ` + H.message + `
|
|
|
12615
12631
|
case p1:
|
|
12616
12632
|
T = 8, b |= 8;
|
|
12617
12633
|
break;
|
|
12618
|
-
case
|
|
12619
|
-
return n = P5(12, f, l, b | 2), n.elementType =
|
|
12634
|
+
case g1:
|
|
12635
|
+
return n = P5(12, f, l, b | 2), n.elementType = g1, n.lanes = H, n;
|
|
12620
12636
|
case m1:
|
|
12621
12637
|
return n = P5(13, f, l, b), n.elementType = m1, n.lanes = H, n;
|
|
12622
12638
|
case k1:
|
|
@@ -12626,16 +12642,16 @@ Error generating stack: ` + H.message + `
|
|
|
12626
12642
|
default:
|
|
12627
12643
|
if (typeof n == "object" && n !== null)
|
|
12628
12644
|
switch (n.$$typeof) {
|
|
12629
|
-
case
|
|
12645
|
+
case H1:
|
|
12630
12646
|
T = 10;
|
|
12631
12647
|
break e;
|
|
12632
|
-
case
|
|
12648
|
+
case x1:
|
|
12633
12649
|
T = 9;
|
|
12634
12650
|
break e;
|
|
12635
12651
|
case P1:
|
|
12636
12652
|
T = 11;
|
|
12637
12653
|
break e;
|
|
12638
|
-
case
|
|
12654
|
+
case A1:
|
|
12639
12655
|
T = 14;
|
|
12640
12656
|
break e;
|
|
12641
12657
|
case T1:
|
|
@@ -12988,7 +13004,7 @@ function _Z() {
|
|
|
12988
13004
|
g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
|
|
12989
13005
|
}
|
|
12990
13006
|
}
|
|
12991
|
-
var y = 0, L = 1, M = 2, E = 3, k = 4, _ = 5, R = 6, O = 7, P = 8, z = 9, $ = 10, A = 11, Y = 12, j = 13, i1 = 14, r1 = 15, p1 = 16,
|
|
13007
|
+
var y = 0, L = 1, M = 2, E = 3, k = 4, _ = 5, R = 6, O = 7, P = 8, z = 9, $ = 10, A = 11, Y = 12, j = 13, i1 = 14, r1 = 15, p1 = 16, g1 = 17, H1 = 18, x1 = 19, P1 = 21, m1 = 22, k1 = 23, A1 = 24, T1 = 25, f2 = !0, C1 = !1, E1 = !1, y1 = !1, K1 = !1, G1 = !0, R1 = !1, E2 = !1, a3 = !0, H2 = !0, j2 = !0, s2 = /* @__PURE__ */ new Set(), o2 = {}, P2 = {};
|
|
12992
13008
|
function G2(e, t) {
|
|
12993
13009
|
V3(e, t), V3(e + "Capture", t);
|
|
12994
13010
|
}
|
|
@@ -13002,7 +13018,7 @@ function _Z() {
|
|
|
13002
13018
|
s2.add(t[c]);
|
|
13003
13019
|
}
|
|
13004
13020
|
var Y2 = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", _1 = Object.prototype.hasOwnProperty;
|
|
13005
|
-
function
|
|
13021
|
+
function U1(e) {
|
|
13006
13022
|
{
|
|
13007
13023
|
var t = typeof Symbol == "function" && Symbol.toStringTag, u = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
13008
13024
|
return u;
|
|
@@ -13020,27 +13036,27 @@ function _Z() {
|
|
|
13020
13036
|
}
|
|
13021
13037
|
function Z3(e, t) {
|
|
13022
13038
|
if (N2(e))
|
|
13023
|
-
return d("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", t,
|
|
13039
|
+
return d("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", t, U1(e)), _2(e);
|
|
13024
13040
|
}
|
|
13025
13041
|
function me(e) {
|
|
13026
13042
|
if (N2(e))
|
|
13027
|
-
return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
13043
|
+
return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", U1(e)), _2(e);
|
|
13028
13044
|
}
|
|
13029
13045
|
function U3(e, t) {
|
|
13030
13046
|
if (N2(e))
|
|
13031
|
-
return d("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.", t,
|
|
13047
|
+
return d("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.", t, U1(e)), _2(e);
|
|
13032
13048
|
}
|
|
13033
13049
|
function te(e, t) {
|
|
13034
13050
|
if (N2(e))
|
|
13035
|
-
return d("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", t,
|
|
13051
|
+
return d("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", t, U1(e)), _2(e);
|
|
13036
13052
|
}
|
|
13037
13053
|
function ve(e) {
|
|
13038
13054
|
if (N2(e))
|
|
13039
|
-
return d("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
13055
|
+
return d("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", U1(e)), _2(e);
|
|
13040
13056
|
}
|
|
13041
13057
|
function D2(e) {
|
|
13042
13058
|
if (N2(e))
|
|
13043
|
-
return d("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",
|
|
13059
|
+
return d("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.", U1(e)), _2(e);
|
|
13044
13060
|
}
|
|
13045
13061
|
var I3 = 0, ue = 1, c4 = 2, $3 = 3, ge = 4, W5 = 5, F4 = 6, D1 = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", d2 = D1 + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", B2 = new RegExp("^[" + D1 + "][" + d2 + "]*$"), m3 = {}, v3 = {};
|
|
13046
13062
|
function ne(e) {
|
|
@@ -13733,7 +13749,7 @@ function _Z() {
|
|
|
13733
13749
|
return l5("Lazy");
|
|
13734
13750
|
case j:
|
|
13735
13751
|
return l5("Suspense");
|
|
13736
|
-
case
|
|
13752
|
+
case x1:
|
|
13737
13753
|
return l5("SuspenseList");
|
|
13738
13754
|
case y:
|
|
13739
13755
|
case M:
|
|
@@ -13825,7 +13841,7 @@ Error generating stack: ` + c.message + `
|
|
|
13825
13841
|
function S2(e) {
|
|
13826
13842
|
var t = e.tag, u = e.type;
|
|
13827
13843
|
switch (t) {
|
|
13828
|
-
case
|
|
13844
|
+
case A1:
|
|
13829
13845
|
return "Cache";
|
|
13830
13846
|
case z:
|
|
13831
13847
|
var c = u;
|
|
@@ -13833,7 +13849,7 @@ Error generating stack: ` + c.message + `
|
|
|
13833
13849
|
case $:
|
|
13834
13850
|
var h = u;
|
|
13835
13851
|
return Et(h._context) + ".Provider";
|
|
13836
|
-
case
|
|
13852
|
+
case H1:
|
|
13837
13853
|
return "DehydratedFragment";
|
|
13838
13854
|
case A:
|
|
13839
13855
|
return $0(u, u.render, "ForwardRef");
|
|
@@ -13859,13 +13875,13 @@ Error generating stack: ` + c.message + `
|
|
|
13859
13875
|
return "Scope";
|
|
13860
13876
|
case j:
|
|
13861
13877
|
return "Suspense";
|
|
13862
|
-
case
|
|
13878
|
+
case x1:
|
|
13863
13879
|
return "SuspenseList";
|
|
13864
13880
|
case T1:
|
|
13865
13881
|
return "TracingMarker";
|
|
13866
13882
|
case L:
|
|
13867
13883
|
case y:
|
|
13868
|
-
case
|
|
13884
|
+
case g1:
|
|
13869
13885
|
case M:
|
|
13870
13886
|
case i1:
|
|
13871
13887
|
case r1:
|
|
@@ -17113,18 +17129,18 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17113
17129
|
var W = !1;
|
|
17114
17130
|
Y2 && (W = pd("input") && (!document.documentMode || document.documentMode > 9));
|
|
17115
17131
|
function s1(e, t) {
|
|
17116
|
-
l = e, f = t, l.attachEvent("onpropertychange",
|
|
17132
|
+
l = e, f = t, l.attachEvent("onpropertychange", V1);
|
|
17117
17133
|
}
|
|
17118
17134
|
function b1() {
|
|
17119
|
-
l && (l.detachEvent("onpropertychange",
|
|
17135
|
+
l && (l.detachEvent("onpropertychange", V1), l = null, f = null);
|
|
17120
17136
|
}
|
|
17121
|
-
function
|
|
17137
|
+
function V1(e) {
|
|
17122
17138
|
e.propertyName === "value" && T(f) && b(e);
|
|
17123
17139
|
}
|
|
17124
17140
|
function L1(e, t, u) {
|
|
17125
17141
|
e === "focusin" ? (b1(), s1(t, u)) : e === "focusout" && b1();
|
|
17126
17142
|
}
|
|
17127
|
-
function
|
|
17143
|
+
function I1(e, t) {
|
|
17128
17144
|
if (e === "selectionchange" || e === "keyup" || e === "keydown")
|
|
17129
17145
|
return T(f);
|
|
17130
17146
|
}
|
|
@@ -17146,7 +17162,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17146
17162
|
}
|
|
17147
17163
|
function q(e, t, u, c, h, g, w) {
|
|
17148
17164
|
var V = u ? ur(u) : window, S, D;
|
|
17149
|
-
if (m(V) ? S = B : q9(V) ? W ? S = Le : (S =
|
|
17165
|
+
if (m(V) ? S = B : q9(V) ? W ? S = Le : (S = I1, D = L1) : t2(V) && (S = i2), S) {
|
|
17150
17166
|
var Z = S(t, u);
|
|
17151
17167
|
if (Z) {
|
|
17152
17168
|
n(e, Z, c, h);
|
|
@@ -19444,7 +19460,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, h)
|
|
|
19444
19460
|
}
|
|
19445
19461
|
} else if (c.tag === $)
|
|
19446
19462
|
h = c.type === e.type ? null : c.child;
|
|
19447
|
-
else if (c.tag ===
|
|
19463
|
+
else if (c.tag === H1) {
|
|
19448
19464
|
var o1 = c.return;
|
|
19449
19465
|
if (o1 === null)
|
|
19450
19466
|
throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");
|
|
@@ -19751,8 +19767,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, h)
|
|
|
19751
19767
|
if (u2 = u2.next, u2 === null) {
|
|
19752
19768
|
if (V = h.shared.pending, V === null)
|
|
19753
19769
|
break;
|
|
19754
|
-
var W1 = V,
|
|
19755
|
-
W1.next = null, u2 =
|
|
19770
|
+
var W1 = V, z1 = W1.next;
|
|
19771
|
+
W1.next = null, u2 = z1, h.lastBaseUpdate = W1, h.shared.pending = null;
|
|
19756
19772
|
}
|
|
19757
19773
|
} while (!0);
|
|
19758
19774
|
g2 === null && (c1 = o1), h.baseState = c1, h.firstBaseUpdate = Y1, h.lastBaseUpdate = g2;
|
|
@@ -20146,8 +20162,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20146
20162
|
var W1 = Xf(n1, t1.mode, M1);
|
|
20147
20163
|
return W1.return = t1, W1;
|
|
20148
20164
|
} else {
|
|
20149
|
-
var
|
|
20150
|
-
return
|
|
20165
|
+
var z1 = h(d1, n1);
|
|
20166
|
+
return z1.return = t1, z1;
|
|
20151
20167
|
}
|
|
20152
20168
|
}
|
|
20153
20169
|
function S(t1, d1, n1, M1) {
|
|
@@ -20160,8 +20176,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20160
20176
|
// because hot reloading has different semantics than prod because
|
|
20161
20177
|
// it doesn't resuspend. So we can't let the call below suspend.
|
|
20162
20178
|
typeof W1 == "object" && W1 !== null && W1.$$typeof === v2 && sv(W1) === d1.type)) {
|
|
20163
|
-
var
|
|
20164
|
-
return
|
|
20179
|
+
var z1 = h(d1, n1.props);
|
|
20180
|
+
return z1.ref = $i(t1, d1, n1), z1.return = t1, z1._debugSource = n1._source, z1._debugOwner = n1._owner, z1;
|
|
20165
20181
|
}
|
|
20166
20182
|
var w2 = Gf(n1, t1.mode, M1);
|
|
20167
20183
|
return w2.ref = $i(t1, d1, n1), w2.return = t1, w2;
|
|
@@ -20171,14 +20187,14 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20171
20187
|
var W1 = Kf(n1, t1.mode, M1);
|
|
20172
20188
|
return W1.return = t1, W1;
|
|
20173
20189
|
} else {
|
|
20174
|
-
var
|
|
20175
|
-
return
|
|
20190
|
+
var z1 = h(d1, n1.children || []);
|
|
20191
|
+
return z1.return = t1, z1;
|
|
20176
20192
|
}
|
|
20177
20193
|
}
|
|
20178
20194
|
function Z(t1, d1, n1, M1, W1) {
|
|
20179
20195
|
if (d1 === null || d1.tag !== O) {
|
|
20180
|
-
var
|
|
20181
|
-
return
|
|
20196
|
+
var z1 = ft(n1, t1.mode, M1, W1);
|
|
20197
|
+
return z1.return = t1, z1;
|
|
20182
20198
|
} else {
|
|
20183
20199
|
var w2 = h(d1, n1);
|
|
20184
20200
|
return w2.return = t1, w2;
|
|
@@ -20196,8 +20212,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20196
20212
|
return W1.ref = $i(t1, null, d1), W1.return = t1, W1;
|
|
20197
20213
|
}
|
|
20198
20214
|
case E4: {
|
|
20199
|
-
var
|
|
20200
|
-
return
|
|
20215
|
+
var z1 = Kf(d1, t1.mode, n1);
|
|
20216
|
+
return z1.return = t1, z1;
|
|
20201
20217
|
}
|
|
20202
20218
|
case v2: {
|
|
20203
20219
|
var w2 = d1._payload, T2 = d1._init;
|
|
@@ -20223,8 +20239,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20223
20239
|
case E4:
|
|
20224
20240
|
return n1.key === W1 ? D(t1, d1, n1, M1) : null;
|
|
20225
20241
|
case v2: {
|
|
20226
|
-
var
|
|
20227
|
-
return Q(t1, d1, w2(
|
|
20242
|
+
var z1 = n1._payload, w2 = n1._init;
|
|
20243
|
+
return Q(t1, d1, w2(z1), M1);
|
|
20228
20244
|
}
|
|
20229
20245
|
}
|
|
20230
20246
|
if (Ae(n1) || A4(n1))
|
|
@@ -20235,8 +20251,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20235
20251
|
}
|
|
20236
20252
|
function o1(t1, d1, n1, M1, W1) {
|
|
20237
20253
|
if (typeof M1 == "string" && M1 !== "" || typeof M1 == "number") {
|
|
20238
|
-
var
|
|
20239
|
-
return V(d1,
|
|
20254
|
+
var z1 = t1.get(n1) || null;
|
|
20255
|
+
return V(d1, z1, "" + M1, W1);
|
|
20240
20256
|
}
|
|
20241
20257
|
if (typeof M1 == "object" && M1 !== null) {
|
|
20242
20258
|
switch (M1.$$typeof) {
|
|
@@ -20282,16 +20298,16 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20282
20298
|
d("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.", M1);
|
|
20283
20299
|
break;
|
|
20284
20300
|
case v2:
|
|
20285
|
-
var W1 = t1._payload,
|
|
20286
|
-
l1(
|
|
20301
|
+
var W1 = t1._payload, z1 = t1._init;
|
|
20302
|
+
l1(z1(W1), d1, n1);
|
|
20287
20303
|
break;
|
|
20288
20304
|
}
|
|
20289
20305
|
}
|
|
20290
20306
|
return d1;
|
|
20291
20307
|
}
|
|
20292
20308
|
function c1(t1, d1, n1, M1) {
|
|
20293
|
-
for (var W1 = null,
|
|
20294
|
-
var w2 = n1[
|
|
20309
|
+
for (var W1 = null, z1 = 0; z1 < n1.length; z1++) {
|
|
20310
|
+
var w2 = n1[z1];
|
|
20295
20311
|
W1 = l1(w2, W1, t1);
|
|
20296
20312
|
}
|
|
20297
20313
|
for (var T2 = null, D3 = null, p3 = d1, Ne = 0, h3 = 0, Ee = null; p3 !== null && h3 < n1.length; h3++) {
|
|
@@ -20340,9 +20356,9 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20340
20356
|
{
|
|
20341
20357
|
typeof Symbol == "function" && // $FlowFixMe Flow doesn't know about toStringTag
|
|
20342
20358
|
n1[Symbol.toStringTag] === "Generator" && (LC || d("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."), LC = !0), n1.entries === W1 && (yC || d("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), yC = !0);
|
|
20343
|
-
var
|
|
20344
|
-
if (
|
|
20345
|
-
for (var w2 = null, T2 =
|
|
20359
|
+
var z1 = W1.call(n1);
|
|
20360
|
+
if (z1)
|
|
20361
|
+
for (var w2 = null, T2 = z1.next(); !T2.done; T2 = z1.next()) {
|
|
20346
20362
|
var D3 = T2.value;
|
|
20347
20363
|
w2 = l1(D3, w2, t1);
|
|
20348
20364
|
}
|
|
@@ -20396,34 +20412,34 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20396
20412
|
return W1.return = t1, W1;
|
|
20397
20413
|
}
|
|
20398
20414
|
u(t1, d1);
|
|
20399
|
-
var
|
|
20400
|
-
return
|
|
20415
|
+
var z1 = Xf(n1, t1.mode, M1);
|
|
20416
|
+
return z1.return = t1, z1;
|
|
20401
20417
|
}
|
|
20402
20418
|
function u2(t1, d1, n1, M1) {
|
|
20403
|
-
for (var W1 = n1.key,
|
|
20404
|
-
if (
|
|
20419
|
+
for (var W1 = n1.key, z1 = d1; z1 !== null; ) {
|
|
20420
|
+
if (z1.key === W1) {
|
|
20405
20421
|
var w2 = n1.type;
|
|
20406
20422
|
if (w2 === je) {
|
|
20407
|
-
if (
|
|
20408
|
-
u(t1,
|
|
20409
|
-
var T2 = h(
|
|
20423
|
+
if (z1.tag === O) {
|
|
20424
|
+
u(t1, z1.sibling);
|
|
20425
|
+
var T2 = h(z1, n1.props.children);
|
|
20410
20426
|
return T2.return = t1, T2._debugSource = n1._source, T2._debugOwner = n1._owner, T2;
|
|
20411
20427
|
}
|
|
20412
|
-
} else if (
|
|
20413
|
-
Jg(
|
|
20428
|
+
} else if (z1.elementType === w2 || // Keep this check inline so it only runs on the false path:
|
|
20429
|
+
Jg(z1, n1) || // Lazy types should reconcile their resolved type.
|
|
20414
20430
|
// We need to do this after the Hot Reloading check above,
|
|
20415
20431
|
// because hot reloading has different semantics than prod because
|
|
20416
20432
|
// it doesn't resuspend. So we can't let the call below suspend.
|
|
20417
|
-
typeof w2 == "object" && w2 !== null && w2.$$typeof === v2 && sv(w2) ===
|
|
20418
|
-
u(t1,
|
|
20419
|
-
var D3 = h(
|
|
20420
|
-
return D3.ref = $i(t1,
|
|
20433
|
+
typeof w2 == "object" && w2 !== null && w2.$$typeof === v2 && sv(w2) === z1.type) {
|
|
20434
|
+
u(t1, z1.sibling);
|
|
20435
|
+
var D3 = h(z1, n1.props);
|
|
20436
|
+
return D3.ref = $i(t1, z1, n1), D3.return = t1, D3._debugSource = n1._source, D3._debugOwner = n1._owner, D3;
|
|
20421
20437
|
}
|
|
20422
|
-
u(t1,
|
|
20438
|
+
u(t1, z1);
|
|
20423
20439
|
break;
|
|
20424
20440
|
} else
|
|
20425
|
-
t(t1,
|
|
20426
|
-
|
|
20441
|
+
t(t1, z1);
|
|
20442
|
+
z1 = z1.sibling;
|
|
20427
20443
|
}
|
|
20428
20444
|
if (n1.type === je) {
|
|
20429
20445
|
var p3 = ft(n1.props.children, t1.mode, M1, n1.key);
|
|
@@ -20434,19 +20450,19 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20434
20450
|
}
|
|
20435
20451
|
}
|
|
20436
20452
|
function n3(t1, d1, n1, M1) {
|
|
20437
|
-
for (var W1 = n1.key,
|
|
20438
|
-
if (
|
|
20439
|
-
if (
|
|
20440
|
-
u(t1,
|
|
20441
|
-
var w2 = h(
|
|
20453
|
+
for (var W1 = n1.key, z1 = d1; z1 !== null; ) {
|
|
20454
|
+
if (z1.key === W1)
|
|
20455
|
+
if (z1.tag === k && z1.stateNode.containerInfo === n1.containerInfo && z1.stateNode.implementation === n1.implementation) {
|
|
20456
|
+
u(t1, z1.sibling);
|
|
20457
|
+
var w2 = h(z1, n1.children || []);
|
|
20442
20458
|
return w2.return = t1, w2;
|
|
20443
20459
|
} else {
|
|
20444
|
-
u(t1,
|
|
20460
|
+
u(t1, z1);
|
|
20445
20461
|
break;
|
|
20446
20462
|
}
|
|
20447
20463
|
else
|
|
20448
|
-
t(t1,
|
|
20449
|
-
|
|
20464
|
+
t(t1, z1);
|
|
20465
|
+
z1 = z1.sibling;
|
|
20450
20466
|
}
|
|
20451
20467
|
var T2 = Kf(n1, t1.mode, M1);
|
|
20452
20468
|
return T2.return = t1, T2;
|
|
@@ -20460,8 +20476,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20460
20476
|
case E4:
|
|
20461
20477
|
return w(n3(t1, d1, n1, M1));
|
|
20462
20478
|
case v2:
|
|
20463
|
-
var
|
|
20464
|
-
return Q2(t1, d1, w2(
|
|
20479
|
+
var z1 = n1._payload, w2 = n1._init;
|
|
20480
|
+
return Q2(t1, d1, w2(z1), M1);
|
|
20465
20481
|
}
|
|
20466
20482
|
if (Ae(n1))
|
|
20467
20483
|
return c1(t1, d1, n1, M1);
|
|
@@ -20550,7 +20566,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20550
20566
|
if (c === null || xm(c) || Zd(c))
|
|
20551
20567
|
return t;
|
|
20552
20568
|
}
|
|
20553
|
-
} else if (t.tag ===
|
|
20569
|
+
} else if (t.tag === x1 && // revealOrder undefined can't be trusted because it don't
|
|
20554
20570
|
// keep track of whether it suspended or not.
|
|
20555
20571
|
t.memoizedProps.revealOrder !== void 0) {
|
|
20556
20572
|
var h = (t.flags & V2) !== m2;
|
|
@@ -20598,7 +20614,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
20598
20614
|
var u = t._getVersion, c = u(t._source);
|
|
20599
20615
|
e.mutableSourceEagerHydrationData == null ? e.mutableSourceEagerHydrationData = [t, c] : e.mutableSourceEagerHydrationData.push(t, c);
|
|
20600
20616
|
}
|
|
20601
|
-
var
|
|
20617
|
+
var $1 = o.ReactCurrentDispatcher, qi = o.ReactCurrentBatchConfig, _C, br;
|
|
20602
20618
|
_C = /* @__PURE__ */ new Set();
|
|
20603
20619
|
var y0 = f1, _3 = null, r4 = null, a4 = null, Js = !1, Gi = !1, Xi = 0, TV = 0, _V = 25, h1 = null, V6 = null, ot = -1, DC = !1;
|
|
20604
20620
|
function x3() {
|
|
@@ -20657,17 +20673,17 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20657
20673
|
return !0;
|
|
20658
20674
|
}
|
|
20659
20675
|
function Hr(e, t, u, c, h, g) {
|
|
20660
|
-
y0 = g, _3 = t, V6 = e !== null ? e._debugHookTypes : null, ot = -1, DC = e !== null && e.type !== t.type, t.memoizedState = null, t.updateQueue = null, t.lanes = f1, e !== null && e.memoizedState !== null ?
|
|
20676
|
+
y0 = g, _3 = t, V6 = e !== null ? e._debugHookTypes : null, ot = -1, DC = e !== null && e.type !== t.type, t.memoizedState = null, t.updateQueue = null, t.lanes = f1, e !== null && e.memoizedState !== null ? $1.current = Nv : V6 !== null ? $1.current = Ov : $1.current = Zv;
|
|
20661
20677
|
var w = u(c, h);
|
|
20662
20678
|
if (Gi) {
|
|
20663
20679
|
var V = 0;
|
|
20664
20680
|
do {
|
|
20665
20681
|
if (Gi = !1, Xi = 0, V >= _V)
|
|
20666
20682
|
throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");
|
|
20667
|
-
V += 1, DC = !1, r4 = null, a4 = null, t.updateQueue = null, ot = -1,
|
|
20683
|
+
V += 1, DC = !1, r4 = null, a4 = null, t.updateQueue = null, ot = -1, $1.current = Pv, w = u(c, h);
|
|
20668
20684
|
} while (Gi);
|
|
20669
20685
|
}
|
|
20670
|
-
|
|
20686
|
+
$1.current = Cu, t._debugHookTypes = V6;
|
|
20671
20687
|
var S = r4 !== null && r4.next !== null;
|
|
20672
20688
|
if (y0 = f1, _3 = null, r4 = null, a4 = null, h1 = null, V6 = null, ot = -1, e !== null && (e.flags & Ke) !== (t.flags & Ke) && // Disable this warning in legacy mode, because legacy Suspense is weird
|
|
20673
20689
|
// and creates false positives. To make this work in legacy mode, we'd
|
|
@@ -20686,7 +20702,7 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
20686
20702
|
t.updateQueue = e.updateQueue, (t.mode & D5) !== y2 ? t.flags &= ~(V8 | Y4 | K3 | Z2) : t.flags &= ~(K3 | Z2), e.lanes = N9(e.lanes, u);
|
|
20687
20703
|
}
|
|
20688
20704
|
function mv() {
|
|
20689
|
-
if (
|
|
20705
|
+
if ($1.current = Cu, Js) {
|
|
20690
20706
|
for (var e = _3.memoizedState; e !== null; ) {
|
|
20691
20707
|
var t = e.queue;
|
|
20692
20708
|
t !== null && (t.pending = null), e = e.next;
|
|
@@ -21176,7 +21192,7 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21176
21192
|
var w = t.lastRenderedReducer;
|
|
21177
21193
|
if (w !== null) {
|
|
21178
21194
|
var V;
|
|
21179
|
-
V =
|
|
21195
|
+
V = $1.current, $1.current = c7;
|
|
21180
21196
|
try {
|
|
21181
21197
|
var S = t.lastRenderedState, D = w(S, u);
|
|
21182
21198
|
if (h.hasEagerState = !0, h.eagerState = D, n2(D, S)) {
|
|
@@ -21185,7 +21201,7 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21185
21201
|
}
|
|
21186
21202
|
} catch {
|
|
21187
21203
|
} finally {
|
|
21188
|
-
|
|
21204
|
+
$1.current = V;
|
|
21189
21205
|
}
|
|
21190
21206
|
}
|
|
21191
21207
|
}
|
|
@@ -21267,22 +21283,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21267
21283
|
},
|
|
21268
21284
|
useMemo: function(e, t) {
|
|
21269
21285
|
h1 = "useMemo", x3(), wr(t);
|
|
21270
|
-
var u =
|
|
21271
|
-
|
|
21286
|
+
var u = $1.current;
|
|
21287
|
+
$1.current = e8;
|
|
21272
21288
|
try {
|
|
21273
21289
|
return YC(e, t);
|
|
21274
21290
|
} finally {
|
|
21275
|
-
|
|
21291
|
+
$1.current = u;
|
|
21276
21292
|
}
|
|
21277
21293
|
},
|
|
21278
21294
|
useReducer: function(e, t, u) {
|
|
21279
21295
|
h1 = "useReducer", x3();
|
|
21280
|
-
var c =
|
|
21281
|
-
|
|
21296
|
+
var c = $1.current;
|
|
21297
|
+
$1.current = e8;
|
|
21282
21298
|
try {
|
|
21283
21299
|
return OC(e, t, u);
|
|
21284
21300
|
} finally {
|
|
21285
|
-
|
|
21301
|
+
$1.current = c;
|
|
21286
21302
|
}
|
|
21287
21303
|
},
|
|
21288
21304
|
useRef: function(e) {
|
|
@@ -21290,12 +21306,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21290
21306
|
},
|
|
21291
21307
|
useState: function(e) {
|
|
21292
21308
|
h1 = "useState", x3();
|
|
21293
|
-
var t =
|
|
21294
|
-
|
|
21309
|
+
var t = $1.current;
|
|
21310
|
+
$1.current = e8;
|
|
21295
21311
|
try {
|
|
21296
21312
|
return tu(e);
|
|
21297
21313
|
} finally {
|
|
21298
|
-
|
|
21314
|
+
$1.current = t;
|
|
21299
21315
|
}
|
|
21300
21316
|
},
|
|
21301
21317
|
useDebugValue: function(e, t) {
|
|
@@ -21341,22 +21357,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21341
21357
|
},
|
|
21342
21358
|
useMemo: function(e, t) {
|
|
21343
21359
|
h1 = "useMemo", O1();
|
|
21344
|
-
var u =
|
|
21345
|
-
|
|
21360
|
+
var u = $1.current;
|
|
21361
|
+
$1.current = e8;
|
|
21346
21362
|
try {
|
|
21347
21363
|
return YC(e, t);
|
|
21348
21364
|
} finally {
|
|
21349
|
-
|
|
21365
|
+
$1.current = u;
|
|
21350
21366
|
}
|
|
21351
21367
|
},
|
|
21352
21368
|
useReducer: function(e, t, u) {
|
|
21353
21369
|
h1 = "useReducer", O1();
|
|
21354
|
-
var c =
|
|
21355
|
-
|
|
21370
|
+
var c = $1.current;
|
|
21371
|
+
$1.current = e8;
|
|
21356
21372
|
try {
|
|
21357
21373
|
return OC(e, t, u);
|
|
21358
21374
|
} finally {
|
|
21359
|
-
|
|
21375
|
+
$1.current = c;
|
|
21360
21376
|
}
|
|
21361
21377
|
},
|
|
21362
21378
|
useRef: function(e) {
|
|
@@ -21364,12 +21380,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21364
21380
|
},
|
|
21365
21381
|
useState: function(e) {
|
|
21366
21382
|
h1 = "useState", O1();
|
|
21367
|
-
var t =
|
|
21368
|
-
|
|
21383
|
+
var t = $1.current;
|
|
21384
|
+
$1.current = e8;
|
|
21369
21385
|
try {
|
|
21370
21386
|
return tu(e);
|
|
21371
21387
|
} finally {
|
|
21372
|
-
|
|
21388
|
+
$1.current = t;
|
|
21373
21389
|
}
|
|
21374
21390
|
},
|
|
21375
21391
|
useDebugValue: function(e, t) {
|
|
@@ -21415,22 +21431,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21415
21431
|
},
|
|
21416
21432
|
useMemo: function(e, t) {
|
|
21417
21433
|
h1 = "useMemo", O1();
|
|
21418
|
-
var u =
|
|
21419
|
-
|
|
21434
|
+
var u = $1.current;
|
|
21435
|
+
$1.current = c7;
|
|
21420
21436
|
try {
|
|
21421
21437
|
return cu(e, t);
|
|
21422
21438
|
} finally {
|
|
21423
|
-
|
|
21439
|
+
$1.current = u;
|
|
21424
21440
|
}
|
|
21425
21441
|
},
|
|
21426
21442
|
useReducer: function(e, t, u) {
|
|
21427
21443
|
h1 = "useReducer", O1();
|
|
21428
|
-
var c =
|
|
21429
|
-
|
|
21444
|
+
var c = $1.current;
|
|
21445
|
+
$1.current = c7;
|
|
21430
21446
|
try {
|
|
21431
21447
|
return NC(e, t, u);
|
|
21432
21448
|
} finally {
|
|
21433
|
-
|
|
21449
|
+
$1.current = c;
|
|
21434
21450
|
}
|
|
21435
21451
|
},
|
|
21436
21452
|
useRef: function(e) {
|
|
@@ -21438,12 +21454,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21438
21454
|
},
|
|
21439
21455
|
useState: function(e) {
|
|
21440
21456
|
h1 = "useState", O1();
|
|
21441
|
-
var t =
|
|
21442
|
-
|
|
21457
|
+
var t = $1.current;
|
|
21458
|
+
$1.current = c7;
|
|
21443
21459
|
try {
|
|
21444
21460
|
return FC(e);
|
|
21445
21461
|
} finally {
|
|
21446
|
-
|
|
21462
|
+
$1.current = t;
|
|
21447
21463
|
}
|
|
21448
21464
|
},
|
|
21449
21465
|
useDebugValue: function(e, t) {
|
|
@@ -21489,22 +21505,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21489
21505
|
},
|
|
21490
21506
|
useMemo: function(e, t) {
|
|
21491
21507
|
h1 = "useMemo", O1();
|
|
21492
|
-
var u =
|
|
21493
|
-
|
|
21508
|
+
var u = $1.current;
|
|
21509
|
+
$1.current = fu;
|
|
21494
21510
|
try {
|
|
21495
21511
|
return cu(e, t);
|
|
21496
21512
|
} finally {
|
|
21497
|
-
|
|
21513
|
+
$1.current = u;
|
|
21498
21514
|
}
|
|
21499
21515
|
},
|
|
21500
21516
|
useReducer: function(e, t, u) {
|
|
21501
21517
|
h1 = "useReducer", O1();
|
|
21502
|
-
var c =
|
|
21503
|
-
|
|
21518
|
+
var c = $1.current;
|
|
21519
|
+
$1.current = fu;
|
|
21504
21520
|
try {
|
|
21505
21521
|
return PC(e, t, u);
|
|
21506
21522
|
} finally {
|
|
21507
|
-
|
|
21523
|
+
$1.current = c;
|
|
21508
21524
|
}
|
|
21509
21525
|
},
|
|
21510
21526
|
useRef: function(e) {
|
|
@@ -21512,12 +21528,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21512
21528
|
},
|
|
21513
21529
|
useState: function(e) {
|
|
21514
21530
|
h1 = "useState", O1();
|
|
21515
|
-
var t =
|
|
21516
|
-
|
|
21531
|
+
var t = $1.current;
|
|
21532
|
+
$1.current = fu;
|
|
21517
21533
|
try {
|
|
21518
21534
|
return jC(e);
|
|
21519
21535
|
} finally {
|
|
21520
|
-
|
|
21536
|
+
$1.current = t;
|
|
21521
21537
|
}
|
|
21522
21538
|
},
|
|
21523
21539
|
useDebugValue: function(e, t) {
|
|
@@ -21563,22 +21579,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21563
21579
|
},
|
|
21564
21580
|
useMemo: function(e, t) {
|
|
21565
21581
|
h1 = "useMemo", k2(), x3();
|
|
21566
|
-
var u =
|
|
21567
|
-
|
|
21582
|
+
var u = $1.current;
|
|
21583
|
+
$1.current = e8;
|
|
21568
21584
|
try {
|
|
21569
21585
|
return YC(e, t);
|
|
21570
21586
|
} finally {
|
|
21571
|
-
|
|
21587
|
+
$1.current = u;
|
|
21572
21588
|
}
|
|
21573
21589
|
},
|
|
21574
21590
|
useReducer: function(e, t, u) {
|
|
21575
21591
|
h1 = "useReducer", k2(), x3();
|
|
21576
|
-
var c =
|
|
21577
|
-
|
|
21592
|
+
var c = $1.current;
|
|
21593
|
+
$1.current = e8;
|
|
21578
21594
|
try {
|
|
21579
21595
|
return OC(e, t, u);
|
|
21580
21596
|
} finally {
|
|
21581
|
-
|
|
21597
|
+
$1.current = c;
|
|
21582
21598
|
}
|
|
21583
21599
|
},
|
|
21584
21600
|
useRef: function(e) {
|
|
@@ -21586,12 +21602,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21586
21602
|
},
|
|
21587
21603
|
useState: function(e) {
|
|
21588
21604
|
h1 = "useState", k2(), x3();
|
|
21589
|
-
var t =
|
|
21590
|
-
|
|
21605
|
+
var t = $1.current;
|
|
21606
|
+
$1.current = e8;
|
|
21591
21607
|
try {
|
|
21592
21608
|
return tu(e);
|
|
21593
21609
|
} finally {
|
|
21594
|
-
|
|
21610
|
+
$1.current = t;
|
|
21595
21611
|
}
|
|
21596
21612
|
},
|
|
21597
21613
|
useDebugValue: function(e, t) {
|
|
@@ -21637,22 +21653,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21637
21653
|
},
|
|
21638
21654
|
useMemo: function(e, t) {
|
|
21639
21655
|
h1 = "useMemo", k2(), O1();
|
|
21640
|
-
var u =
|
|
21641
|
-
|
|
21656
|
+
var u = $1.current;
|
|
21657
|
+
$1.current = c7;
|
|
21642
21658
|
try {
|
|
21643
21659
|
return cu(e, t);
|
|
21644
21660
|
} finally {
|
|
21645
|
-
|
|
21661
|
+
$1.current = u;
|
|
21646
21662
|
}
|
|
21647
21663
|
},
|
|
21648
21664
|
useReducer: function(e, t, u) {
|
|
21649
21665
|
h1 = "useReducer", k2(), O1();
|
|
21650
|
-
var c =
|
|
21651
|
-
|
|
21666
|
+
var c = $1.current;
|
|
21667
|
+
$1.current = c7;
|
|
21652
21668
|
try {
|
|
21653
21669
|
return NC(e, t, u);
|
|
21654
21670
|
} finally {
|
|
21655
|
-
|
|
21671
|
+
$1.current = c;
|
|
21656
21672
|
}
|
|
21657
21673
|
},
|
|
21658
21674
|
useRef: function(e) {
|
|
@@ -21660,12 +21676,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21660
21676
|
},
|
|
21661
21677
|
useState: function(e) {
|
|
21662
21678
|
h1 = "useState", k2(), O1();
|
|
21663
|
-
var t =
|
|
21664
|
-
|
|
21679
|
+
var t = $1.current;
|
|
21680
|
+
$1.current = c7;
|
|
21665
21681
|
try {
|
|
21666
21682
|
return FC(e);
|
|
21667
21683
|
} finally {
|
|
21668
|
-
|
|
21684
|
+
$1.current = t;
|
|
21669
21685
|
}
|
|
21670
21686
|
},
|
|
21671
21687
|
useDebugValue: function(e, t) {
|
|
@@ -21711,22 +21727,22 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21711
21727
|
},
|
|
21712
21728
|
useMemo: function(e, t) {
|
|
21713
21729
|
h1 = "useMemo", k2(), O1();
|
|
21714
|
-
var u =
|
|
21715
|
-
|
|
21730
|
+
var u = $1.current;
|
|
21731
|
+
$1.current = c7;
|
|
21716
21732
|
try {
|
|
21717
21733
|
return cu(e, t);
|
|
21718
21734
|
} finally {
|
|
21719
|
-
|
|
21735
|
+
$1.current = u;
|
|
21720
21736
|
}
|
|
21721
21737
|
},
|
|
21722
21738
|
useReducer: function(e, t, u) {
|
|
21723
21739
|
h1 = "useReducer", k2(), O1();
|
|
21724
|
-
var c =
|
|
21725
|
-
|
|
21740
|
+
var c = $1.current;
|
|
21741
|
+
$1.current = c7;
|
|
21726
21742
|
try {
|
|
21727
21743
|
return PC(e, t, u);
|
|
21728
21744
|
} finally {
|
|
21729
|
-
|
|
21745
|
+
$1.current = c;
|
|
21730
21746
|
}
|
|
21731
21747
|
},
|
|
21732
21748
|
useRef: function(e) {
|
|
@@ -21734,12 +21750,12 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
21734
21750
|
},
|
|
21735
21751
|
useState: function(e) {
|
|
21736
21752
|
h1 = "useState", k2(), O1();
|
|
21737
|
-
var t =
|
|
21738
|
-
|
|
21753
|
+
var t = $1.current;
|
|
21754
|
+
$1.current = c7;
|
|
21739
21755
|
try {
|
|
21740
21756
|
return jC(e);
|
|
21741
21757
|
} finally {
|
|
21742
|
-
|
|
21758
|
+
$1.current = t;
|
|
21743
21759
|
}
|
|
21744
21760
|
},
|
|
21745
21761
|
useDebugValue: function(e, t) {
|
|
@@ -21963,7 +21979,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
21963
21979
|
if (e.flags |= V2, u.flags |= zt, u.flags &= ~(un | s5), u.tag === L) {
|
|
21964
21980
|
var g = u.alternate;
|
|
21965
21981
|
if (g === null)
|
|
21966
|
-
u.tag =
|
|
21982
|
+
u.tag = g1;
|
|
21967
21983
|
else {
|
|
21968
21984
|
var w = X8(N3, b2);
|
|
21969
21985
|
w.tag = As, rt(u, w, b2);
|
|
@@ -22656,7 +22672,7 @@ Check the render method of \`` + c + "`.");
|
|
|
22656
22672
|
if (c.tag === j) {
|
|
22657
22673
|
var h = c.memoizedState;
|
|
22658
22674
|
h !== null && rg(c, u, e);
|
|
22659
|
-
} else if (c.tag ===
|
|
22675
|
+
} else if (c.tag === x1)
|
|
22660
22676
|
rg(c, u, e);
|
|
22661
22677
|
else if (c.child !== null) {
|
|
22662
22678
|
c.child.return = c, c = c.child;
|
|
@@ -22925,7 +22941,7 @@ Check the render method of \`` + c + "`.");
|
|
|
22925
22941
|
it(t, yr(u7.current));
|
|
22926
22942
|
break;
|
|
22927
22943
|
}
|
|
22928
|
-
case
|
|
22944
|
+
case x1: {
|
|
22929
22945
|
var Q = (e.flags & V2) !== m2, o1 = X4(u, t.childLanes);
|
|
22930
22946
|
if (Q) {
|
|
22931
22947
|
if (o1)
|
|
@@ -23018,11 +23034,11 @@ Check the render method of \`` + c + "`.");
|
|
|
23018
23034
|
}
|
|
23019
23035
|
case r1:
|
|
23020
23036
|
return qv(e, t, t.type, t.pendingProps, u);
|
|
23021
|
-
case
|
|
23037
|
+
case g1: {
|
|
23022
23038
|
var d1 = t.type, n1 = t.pendingProps, M1 = t.elementType === d1 ? n1 : s7(d1, n1);
|
|
23023
23039
|
return tM(e, t, d1, M1, u);
|
|
23024
23040
|
}
|
|
23025
|
-
case
|
|
23041
|
+
case x1:
|
|
23026
23042
|
return ig(e, t, u);
|
|
23027
23043
|
case P1:
|
|
23028
23044
|
break;
|
|
@@ -23232,13 +23248,13 @@ Check the render method of \`` + c + "`.");
|
|
|
23232
23248
|
case k:
|
|
23233
23249
|
return gr(t), Lf(e, t), e === null && jx(t.stateNode.containerInfo), D4(t), null;
|
|
23234
23250
|
case $:
|
|
23235
|
-
var
|
|
23236
|
-
return eC(
|
|
23237
|
-
case
|
|
23251
|
+
var z1 = t.type._context;
|
|
23252
|
+
return eC(z1, t), D4(t), null;
|
|
23253
|
+
case g1: {
|
|
23238
23254
|
var w2 = t.type;
|
|
23239
23255
|
return X7(w2) && ks(t), D4(t), null;
|
|
23240
23256
|
}
|
|
23241
|
-
case
|
|
23257
|
+
case x1: {
|
|
23242
23258
|
Lr(t);
|
|
23243
23259
|
var T2 = t.memoizedState;
|
|
23244
23260
|
if (T2 === null)
|
|
@@ -23303,7 +23319,7 @@ Check the render method of \`` + c + "`.");
|
|
|
23303
23319
|
}
|
|
23304
23320
|
return !Rr || (t.mode & I2) === y2 ? D4(t) : X4(a8, G4) && (D4(t), t.subtreeFlags & (Y3 | Z2) && (t.flags |= Z7)), null;
|
|
23305
23321
|
}
|
|
23306
|
-
case
|
|
23322
|
+
case A1:
|
|
23307
23323
|
return null;
|
|
23308
23324
|
case T1:
|
|
23309
23325
|
return null;
|
|
@@ -23336,7 +23352,7 @@ Check the render method of \`` + c + "`.");
|
|
|
23336
23352
|
var V = t.flags;
|
|
23337
23353
|
return V & Ue ? (t.flags = V & ~Ue | V2, (t.mode & L2) !== y2 && tf(t), t) : null;
|
|
23338
23354
|
}
|
|
23339
|
-
case
|
|
23355
|
+
case x1:
|
|
23340
23356
|
return Lr(t), null;
|
|
23341
23357
|
case k:
|
|
23342
23358
|
return gr(t), null;
|
|
@@ -23346,7 +23362,7 @@ Check the render method of \`` + c + "`.");
|
|
|
23346
23362
|
case m1:
|
|
23347
23363
|
case k1:
|
|
23348
23364
|
return Pf(t), null;
|
|
23349
|
-
case
|
|
23365
|
+
case A1:
|
|
23350
23366
|
return null;
|
|
23351
23367
|
default:
|
|
23352
23368
|
return null;
|
|
@@ -23373,7 +23389,7 @@ Check the render method of \`` + c + "`.");
|
|
|
23373
23389
|
case j:
|
|
23374
23390
|
Lr(t);
|
|
23375
23391
|
break;
|
|
23376
|
-
case
|
|
23392
|
+
case x1:
|
|
23377
23393
|
Lr(t);
|
|
23378
23394
|
break;
|
|
23379
23395
|
case $:
|
|
@@ -23521,7 +23537,7 @@ Check the render method of \`` + c + "`.");
|
|
|
23521
23537
|
case _:
|
|
23522
23538
|
case R:
|
|
23523
23539
|
case k:
|
|
23524
|
-
case
|
|
23540
|
+
case g1:
|
|
23525
23541
|
break;
|
|
23526
23542
|
default:
|
|
23527
23543
|
throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.");
|
|
@@ -23705,8 +23721,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
23705
23721
|
AM(e, u);
|
|
23706
23722
|
break;
|
|
23707
23723
|
}
|
|
23708
|
-
case
|
|
23709
|
-
case
|
|
23724
|
+
case x1:
|
|
23725
|
+
case g1:
|
|
23710
23726
|
case P1:
|
|
23711
23727
|
case m1:
|
|
23712
23728
|
case k1:
|
|
@@ -23840,7 +23856,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
23840
23856
|
return null;
|
|
23841
23857
|
t = t.return;
|
|
23842
23858
|
}
|
|
23843
|
-
for (t.sibling.return = t.return, t = t.sibling; t.tag !== _ && t.tag !== R && t.tag !==
|
|
23859
|
+
for (t.sibling.return = t.return, t = t.sibling; t.tag !== _ && t.tag !== R && t.tag !== H1; ) {
|
|
23844
23860
|
if (t.flags & Y3 || t.child === null || t.tag === k)
|
|
23845
23861
|
continue e;
|
|
23846
23862
|
t.child.return = t, t = t.child;
|
|
@@ -23940,7 +23956,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
23940
23956
|
}
|
|
23941
23957
|
return;
|
|
23942
23958
|
}
|
|
23943
|
-
case
|
|
23959
|
+
case H1: {
|
|
23944
23960
|
Z4 !== null && (f7 ? lx(Z4, u.stateNode) : Rd(Z4, u.stateNode));
|
|
23945
23961
|
return;
|
|
23946
23962
|
}
|
|
@@ -24177,14 +24193,14 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
24177
24193
|
var d1 = e.stateNode, n1 = e.memoizedState, M1 = n1 !== null, W1 = e;
|
|
24178
24194
|
if (d1.isHidden = M1, M1 && !Q2 && (W1.mode & I2) !== y2) {
|
|
24179
24195
|
r2 = W1;
|
|
24180
|
-
for (var
|
|
24181
|
-
r2 =
|
|
24196
|
+
for (var z1 = W1.child; z1 !== null; )
|
|
24197
|
+
r2 = z1, IM(z1), z1 = z1.sibling;
|
|
24182
24198
|
}
|
|
24183
24199
|
OM(W1, M1);
|
|
24184
24200
|
}
|
|
24185
24201
|
return;
|
|
24186
24202
|
}
|
|
24187
|
-
case
|
|
24203
|
+
case x1: {
|
|
24188
24204
|
p7(t, e), r8(e), h & Z2 && xg(e);
|
|
24189
24205
|
return;
|
|
24190
24206
|
}
|
|
@@ -25211,7 +25227,7 @@ Error message:
|
|
|
25211
25227
|
var h = e.memoizedState;
|
|
25212
25228
|
h !== null && (u = h.retryLane);
|
|
25213
25229
|
break;
|
|
25214
|
-
case
|
|
25230
|
+
case x1:
|
|
25215
25231
|
c = e.stateNode;
|
|
25216
25232
|
break;
|
|
25217
25233
|
default:
|
|
@@ -25711,7 +25727,7 @@ Check the render method of \`` + D + "`.");
|
|
|
25711
25727
|
return h.elementType = x2, h.lanes = u, h;
|
|
25712
25728
|
}
|
|
25713
25729
|
function aS(e, t, u, c) {
|
|
25714
|
-
var h = e6(
|
|
25730
|
+
var h = e6(x1, e, c, t);
|
|
25715
25731
|
return h.elementType = J2, h.lanes = u, h;
|
|
25716
25732
|
}
|
|
25717
25733
|
function ny(e, t, u, c) {
|
|
@@ -25731,7 +25747,7 @@ Check the render method of \`` + D + "`.");
|
|
|
25731
25747
|
return e.elementType = "DELETED", e;
|
|
25732
25748
|
}
|
|
25733
25749
|
function oS(e) {
|
|
25734
|
-
var t = e6(
|
|
25750
|
+
var t = e6(H1, null, null, y2);
|
|
25735
25751
|
return t.stateNode = e, t;
|
|
25736
25752
|
}
|
|
25737
25753
|
function Kf(e, t, u) {
|
|
@@ -26774,22 +26790,22 @@ function lL(r) {
|
|
|
26774
26790
|
var i1 = Qo(o), r1 = "clientHeight", p1 = "clientWidth";
|
|
26775
26791
|
if (i1 === s6(o) && (i1 = bt(o), u9(i1).position !== "static" && v === "absolute" && (r1 = "scrollHeight", p1 = "scrollWidth")), i1 = i1, i === $5 || (i === Y5 || i === O6) && p === zo) {
|
|
26776
26792
|
Y = Z6;
|
|
26777
|
-
var
|
|
26793
|
+
var g1 = E && i1 === j && j.visualViewport ? j.visualViewport.height : (
|
|
26778
26794
|
// $FlowFixMe[prop-missing]
|
|
26779
26795
|
i1[r1]
|
|
26780
26796
|
);
|
|
26781
|
-
O -=
|
|
26797
|
+
O -= g1 - s.height, O *= y ? 1 : -1;
|
|
26782
26798
|
}
|
|
26783
26799
|
if (i === Y5 || (i === $5 || i === Z6) && p === zo) {
|
|
26784
26800
|
A = O6;
|
|
26785
|
-
var
|
|
26801
|
+
var H1 = E && i1 === j && j.visualViewport ? j.visualViewport.width : (
|
|
26786
26802
|
// $FlowFixMe[prop-missing]
|
|
26787
26803
|
i1[p1]
|
|
26788
26804
|
);
|
|
26789
|
-
_ -=
|
|
26805
|
+
_ -= H1 - s.width, _ *= y ? 1 : -1;
|
|
26790
26806
|
}
|
|
26791
26807
|
}
|
|
26792
|
-
var
|
|
26808
|
+
var x1 = Object.assign({
|
|
26793
26809
|
position: v
|
|
26794
26810
|
}, L && CO), P1 = M === !0 ? fO({
|
|
26795
26811
|
x: _,
|
|
@@ -26800,9 +26816,9 @@ function lL(r) {
|
|
|
26800
26816
|
};
|
|
26801
26817
|
if (_ = P1.x, O = P1.y, y) {
|
|
26802
26818
|
var m1;
|
|
26803
|
-
return Object.assign({},
|
|
26819
|
+
return Object.assign({}, x1, (m1 = {}, m1[Y] = $ ? "0" : "", m1[A] = z ? "0" : "", m1.transform = (j.devicePixelRatio || 1) <= 1 ? "translate(" + _ + "px, " + O + "px)" : "translate3d(" + _ + "px, " + O + "px, 0)", m1));
|
|
26804
26820
|
}
|
|
26805
|
-
return Object.assign({},
|
|
26821
|
+
return Object.assign({}, x1, (a = {}, a[Y] = $ ? O + "px" : "", a[A] = z ? _ + "px" : "", a.transform = "", a));
|
|
26806
26822
|
}
|
|
26807
26823
|
function pO(r) {
|
|
26808
26824
|
var a = r.state, o = r.options, s = o.gpuAcceleration, i = s === void 0 ? !0 : s, p = o.adaptive, d = p === void 0 ? !0 : p, v = o.roundOffsets, y = v === void 0 ? !0 : v, L = {
|
|
@@ -27007,20 +27023,20 @@ function Uo(r, a) {
|
|
|
27007
27023
|
element: A,
|
|
27008
27024
|
strategy: "absolute",
|
|
27009
27025
|
placement: i
|
|
27010
|
-
}), p1 = uh(Object.assign({}, A, r1)),
|
|
27011
|
-
top: j.top -
|
|
27012
|
-
bottom:
|
|
27013
|
-
left: j.left -
|
|
27014
|
-
right:
|
|
27015
|
-
},
|
|
27016
|
-
if (k === ko &&
|
|
27017
|
-
var P1 =
|
|
27018
|
-
Object.keys(
|
|
27019
|
-
var k1 = [O6, Z6].indexOf(m1) >= 0 ? 1 : -1,
|
|
27020
|
-
|
|
27026
|
+
}), p1 = uh(Object.assign({}, A, r1)), g1 = k === ko ? p1 : i1, H1 = {
|
|
27027
|
+
top: j.top - g1.top + z.top,
|
|
27028
|
+
bottom: g1.bottom - j.bottom + z.bottom,
|
|
27029
|
+
left: j.left - g1.left + z.left,
|
|
27030
|
+
right: g1.right - j.right + z.right
|
|
27031
|
+
}, x1 = r.modifiersData.offset;
|
|
27032
|
+
if (k === ko && x1) {
|
|
27033
|
+
var P1 = x1[i];
|
|
27034
|
+
Object.keys(H1).forEach(function(m1) {
|
|
27035
|
+
var k1 = [O6, Z6].indexOf(m1) >= 0 ? 1 : -1, A1 = [$5, Z6].indexOf(m1) >= 0 ? "y" : "x";
|
|
27036
|
+
H1[m1] += P1[A1] * k1;
|
|
27021
27037
|
});
|
|
27022
27038
|
}
|
|
27023
|
-
return
|
|
27039
|
+
return H1;
|
|
27024
27040
|
}
|
|
27025
27041
|
function VO(r, a) {
|
|
27026
27042
|
a === void 0 && (a = {});
|
|
@@ -27060,23 +27076,23 @@ function EO(r) {
|
|
|
27060
27076
|
flipVariations: R,
|
|
27061
27077
|
allowedAutoPlacements: O
|
|
27062
27078
|
}) : a3);
|
|
27063
|
-
}, []), j = a.rects.reference, i1 = a.rects.popper, r1 = /* @__PURE__ */ new Map(), p1 = !0,
|
|
27064
|
-
var
|
|
27065
|
-
placement:
|
|
27079
|
+
}, []), j = a.rects.reference, i1 = a.rects.popper, r1 = /* @__PURE__ */ new Map(), p1 = !0, g1 = Y[0], H1 = 0; H1 < Y.length; H1++) {
|
|
27080
|
+
var x1 = Y[H1], P1 = C8(x1), m1 = aa(x1) === ta, k1 = [$5, Z6].indexOf(P1) >= 0, A1 = k1 ? "width" : "height", T1 = Uo(a, {
|
|
27081
|
+
placement: x1,
|
|
27066
27082
|
boundary: M,
|
|
27067
27083
|
rootBoundary: E,
|
|
27068
27084
|
altBoundary: k,
|
|
27069
27085
|
padding: L
|
|
27070
27086
|
}), f2 = k1 ? m1 ? O6 : Y5 : m1 ? Z6 : $5;
|
|
27071
|
-
j[
|
|
27087
|
+
j[A1] > i1[A1] && (f2 = Xu(f2));
|
|
27072
27088
|
var C1 = Xu(f2), E1 = [];
|
|
27073
27089
|
if (p && E1.push(T1[P1] <= 0), v && E1.push(T1[f2] <= 0, T1[C1] <= 0), E1.every(function(E2) {
|
|
27074
27090
|
return E2;
|
|
27075
27091
|
})) {
|
|
27076
|
-
|
|
27092
|
+
g1 = x1, p1 = !1;
|
|
27077
27093
|
break;
|
|
27078
27094
|
}
|
|
27079
|
-
r1.set(
|
|
27095
|
+
r1.set(x1, E1);
|
|
27080
27096
|
}
|
|
27081
27097
|
if (p1)
|
|
27082
27098
|
for (var y1 = R ? 3 : 1, K1 = function(a3) {
|
|
@@ -27088,13 +27104,13 @@ function EO(r) {
|
|
|
27088
27104
|
});
|
|
27089
27105
|
});
|
|
27090
27106
|
if (H2)
|
|
27091
|
-
return
|
|
27107
|
+
return g1 = H2, "break";
|
|
27092
27108
|
}, G1 = y1; G1 > 0; G1--) {
|
|
27093
27109
|
var R1 = K1(G1);
|
|
27094
27110
|
if (R1 === "break")
|
|
27095
27111
|
break;
|
|
27096
27112
|
}
|
|
27097
|
-
a.placement !==
|
|
27113
|
+
a.placement !== g1 && (a.modifiersData[s]._skip = !0, a.placement = g1, a.reset = !0);
|
|
27098
27114
|
}
|
|
27099
27115
|
}
|
|
27100
27116
|
const SO = {
|
|
@@ -27196,28 +27212,28 @@ function PO(r) {
|
|
|
27196
27212
|
rootBoundary: L,
|
|
27197
27213
|
padding: E,
|
|
27198
27214
|
altBoundary: M
|
|
27199
|
-
}), z = C8(a.placement), $ = aa(a.placement), A = !$, Y = Fh(z), j = NO(Y), i1 = a.modifiersData.popperOffsets, r1 = a.rects.reference, p1 = a.rects.popper,
|
|
27215
|
+
}), z = C8(a.placement), $ = aa(a.placement), A = !$, Y = Fh(z), j = NO(Y), i1 = a.modifiersData.popperOffsets, r1 = a.rects.reference, p1 = a.rects.popper, g1 = typeof O == "function" ? O(Object.assign({}, a.rects, {
|
|
27200
27216
|
placement: a.placement
|
|
27201
|
-
})) : O,
|
|
27202
|
-
mainAxis:
|
|
27203
|
-
altAxis:
|
|
27217
|
+
})) : O, H1 = typeof g1 == "number" ? {
|
|
27218
|
+
mainAxis: g1,
|
|
27219
|
+
altAxis: g1
|
|
27204
27220
|
} : Object.assign({
|
|
27205
27221
|
mainAxis: 0,
|
|
27206
27222
|
altAxis: 0
|
|
27207
|
-
},
|
|
27223
|
+
}, g1), x1 = a.modifiersData.offset ? a.modifiersData.offset[a.placement] : null, P1 = {
|
|
27208
27224
|
x: 0,
|
|
27209
27225
|
y: 0
|
|
27210
27226
|
};
|
|
27211
27227
|
if (i1) {
|
|
27212
27228
|
if (p) {
|
|
27213
|
-
var m1, k1 = Y === "y" ? $5 : Y5,
|
|
27229
|
+
var m1, k1 = Y === "y" ? $5 : Y5, A1 = Y === "y" ? Z6 : O6, T1 = Y === "y" ? "height" : "width", f2 = i1[Y], C1 = f2 + P[k1], E1 = f2 - P[A1], y1 = _ ? -p1[T1] / 2 : 0, K1 = $ === ta ? r1[T1] : p1[T1], G1 = $ === ta ? -p1[T1] : -r1[T1], R1 = a.elements.arrow, E2 = _ && R1 ? Bh(R1) : {
|
|
27214
27230
|
width: 0,
|
|
27215
27231
|
height: 0
|
|
27216
|
-
}, a3 = a.modifiersData["arrow#persistent"] ? a.modifiersData["arrow#persistent"].padding : $b(), H2 = a3[k1], j2 = a3[
|
|
27232
|
+
}, a3 = a.modifiersData["arrow#persistent"] ? a.modifiersData["arrow#persistent"].padding : $b(), H2 = a3[k1], j2 = a3[A1], s2 = Zo(0, r1[T1], E2[T1]), o2 = A ? r1[T1] / 2 - y1 - s2 - H2 - H1.mainAxis : K1 - s2 - H2 - H1.mainAxis, P2 = A ? -r1[T1] / 2 + y1 + s2 + j2 + H1.mainAxis : G1 + s2 + j2 + H1.mainAxis, G2 = a.elements.arrow && Qo(a.elements.arrow), V3 = G2 ? Y === "y" ? G2.clientTop || 0 : G2.clientLeft || 0 : 0, Y2 = (m1 = x1 == null ? void 0 : x1[Y]) != null ? m1 : 0, _1 = f2 + o2 - Y2 - V3, U1 = f2 + P2 - Y2, N2 = Zo(_ ? fc(C1, _1) : C1, f2, _ ? k0(E1, U1) : E1);
|
|
27217
27233
|
i1[Y] = N2, P1[Y] = N2 - f2;
|
|
27218
27234
|
}
|
|
27219
27235
|
if (v) {
|
|
27220
|
-
var _2, Z3 = Y === "x" ? $5 : Y5, me = Y === "x" ? Z6 : O6, U3 = i1[j], te = j === "y" ? "height" : "width", ve = U3 + P[Z3], D2 = U3 - P[me], I3 = [$5, Y5].indexOf(z) !== -1, ue = (_2 =
|
|
27236
|
+
var _2, Z3 = Y === "x" ? $5 : Y5, me = Y === "x" ? Z6 : O6, U3 = i1[j], te = j === "y" ? "height" : "width", ve = U3 + P[Z3], D2 = U3 - P[me], I3 = [$5, Y5].indexOf(z) !== -1, ue = (_2 = x1 == null ? void 0 : x1[j]) != null ? _2 : 0, c4 = I3 ? ve : U3 - r1[te] - p1[te] - ue + H1.altAxis, $3 = I3 ? U3 + r1[te] + p1[te] - ue - H1.altAxis : D2, ge = _ && I3 ? lO(c4, U3, $3) : Zo(_ ? c4 : ve, U3, _ ? $3 : D2);
|
|
27221
27237
|
i1[j] = ge, P1[j] = ge - U3;
|
|
27222
27238
|
}
|
|
27223
27239
|
a.modifiersData[s] = P1;
|
|
@@ -27362,19 +27378,19 @@ function WO(r) {
|
|
|
27362
27378
|
M.rects = {
|
|
27363
27379
|
reference: zO($, Qo(A), M.options.strategy === "fixed"),
|
|
27364
27380
|
popper: Bh(A)
|
|
27365
|
-
}, M.reset = !1, M.placement = M.options.placement, M.orderedModifiers.forEach(function(
|
|
27366
|
-
return M.modifiersData[
|
|
27381
|
+
}, M.reset = !1, M.placement = M.options.placement, M.orderedModifiers.forEach(function(H1) {
|
|
27382
|
+
return M.modifiersData[H1.name] = Object.assign({}, H1.data);
|
|
27367
27383
|
});
|
|
27368
27384
|
for (var Y = 0; Y < M.orderedModifiers.length; Y++) {
|
|
27369
27385
|
if (M.reset === !0) {
|
|
27370
27386
|
M.reset = !1, Y = -1;
|
|
27371
27387
|
continue;
|
|
27372
27388
|
}
|
|
27373
|
-
var j = M.orderedModifiers[Y], i1 = j.fn, r1 = j.options, p1 = r1 === void 0 ? {} : r1,
|
|
27389
|
+
var j = M.orderedModifiers[Y], i1 = j.fn, r1 = j.options, p1 = r1 === void 0 ? {} : r1, g1 = j.name;
|
|
27374
27390
|
typeof i1 == "function" && (M = i1({
|
|
27375
27391
|
state: M,
|
|
27376
27392
|
options: p1,
|
|
27377
|
-
name:
|
|
27393
|
+
name: g1,
|
|
27378
27394
|
instance: _
|
|
27379
27395
|
}) || M);
|
|
27380
27396
|
}
|
|
@@ -29431,7 +29447,7 @@ const Yh = F1(
|
|
|
29431
29447
|
(k, _) => k && X.cloneElement(k, { gap: p, id: `${d}-child${_}` })
|
|
29432
29448
|
);
|
|
29433
29449
|
return /* @__PURE__ */ x.jsx(
|
|
29434
|
-
|
|
29450
|
+
v1,
|
|
29435
29451
|
{
|
|
29436
29452
|
as: "form",
|
|
29437
29453
|
"aria-label": "form",
|
|
@@ -29461,7 +29477,7 @@ const Yh = F1(
|
|
|
29461
29477
|
return p || console.warn(
|
|
29462
29478
|
"NYPL Reservoir Label: This component's required `id` prop was not passed."
|
|
29463
29479
|
), /* @__PURE__ */ x.jsxs(
|
|
29464
|
-
|
|
29480
|
+
v1,
|
|
29465
29481
|
{
|
|
29466
29482
|
as: "label",
|
|
29467
29483
|
id: p,
|
|
@@ -29472,7 +29488,7 @@ const Yh = F1(
|
|
|
29472
29488
|
...L,
|
|
29473
29489
|
children: [
|
|
29474
29490
|
o,
|
|
29475
|
-
v && /* @__PURE__ */ x.jsx("span", { children: y ? ` (${y})` : " (
|
|
29491
|
+
v && /* @__PURE__ */ x.jsx("span", { children: y ? ` (${y})` : " (required)" })
|
|
29476
29492
|
]
|
|
29477
29493
|
}
|
|
29478
29494
|
);
|
|
@@ -29519,19 +29535,19 @@ const YN = {
|
|
|
29519
29535
|
onClick: i1,
|
|
29520
29536
|
onFocus: r1,
|
|
29521
29537
|
pattern: p1,
|
|
29522
|
-
placeholder:
|
|
29523
|
-
showHelperInvalidText:
|
|
29524
|
-
showLabel:
|
|
29538
|
+
placeholder: g1,
|
|
29539
|
+
showHelperInvalidText: H1 = !0,
|
|
29540
|
+
showLabel: x1 = !0,
|
|
29525
29541
|
showRequiredLabel: P1 = !0,
|
|
29526
29542
|
requiredLabelText: m1,
|
|
29527
29543
|
step: k1 = 1,
|
|
29528
|
-
textInputType:
|
|
29544
|
+
textInputType: A1 = "default",
|
|
29529
29545
|
type: T1 = "text",
|
|
29530
29546
|
value: f2,
|
|
29531
29547
|
...C1
|
|
29532
29548
|
} = r, [E1, y1] = hc(f2), K1 = w5(), G1 = rc(K1, a), R1 = a ? G1 : K1, E2 = U2("TextInput", {
|
|
29533
|
-
showLabel:
|
|
29534
|
-
variant:
|
|
29549
|
+
showLabel: x1,
|
|
29550
|
+
variant: A1
|
|
29535
29551
|
}), a3 = T1 === "textarea", H2 = T1 === "hidden";
|
|
29536
29552
|
let j2 = !!p;
|
|
29537
29553
|
const s2 = M || "There is an error related to this field.", o2 = (_2) => {
|
|
@@ -29556,7 +29572,7 @@ const YN = {
|
|
|
29556
29572
|
id: L,
|
|
29557
29573
|
labelText: P,
|
|
29558
29574
|
name: "TextInput",
|
|
29559
|
-
showLabel:
|
|
29575
|
+
showLabel: x1
|
|
29560
29576
|
}),
|
|
29561
29577
|
// getAriaAttrs returns an object with the key `aria-describedby`,
|
|
29562
29578
|
// but if we need to override it, we can do so here.
|
|
@@ -29564,7 +29580,7 @@ const YN = {
|
|
|
29564
29580
|
}, V3 = () => {
|
|
29565
29581
|
y1(""), k && k(), R1.current.focus();
|
|
29566
29582
|
};
|
|
29567
|
-
let Y2 = R, _1,
|
|
29583
|
+
let Y2 = R, _1, U1, N2;
|
|
29568
29584
|
return L || console.warn(
|
|
29569
29585
|
"NYPL Reservoir TextInput: This component's required `id` prop was not passed."
|
|
29570
29586
|
), T1 === "number" && z && A && A > z && (Y2 = !0, console.warn(
|
|
@@ -29597,7 +29613,7 @@ const YN = {
|
|
|
29597
29613
|
onClick: i1,
|
|
29598
29614
|
onFocus: r1,
|
|
29599
29615
|
pattern: p1,
|
|
29600
|
-
placeholder:
|
|
29616
|
+
placeholder: g1,
|
|
29601
29617
|
ref: R1,
|
|
29602
29618
|
// The `step` attribute is useful for the number type.
|
|
29603
29619
|
step: T1 === "number" ? k1 : null,
|
|
@@ -29605,7 +29621,7 @@ const YN = {
|
|
|
29605
29621
|
...G2
|
|
29606
29622
|
}, a3 ? (E && console.warn(
|
|
29607
29623
|
"NYPL Reservoir TextInput: The `isClearable` prop cannot be used with the `textarea` type."
|
|
29608
|
-
), _1 = /* @__PURE__ */ x.jsx(uk, { ...N2, __css: E2.textarea, children: f2 })) : (N2 = { type: T1, value: E1, ...N2 }, _1 = /* @__PURE__ */ x.jsx(sk, { ...N2, __css: E2.input }), E && !H2 && (
|
|
29624
|
+
), _1 = /* @__PURE__ */ x.jsx(uk, { ...N2, __css: E2.textarea, children: f2 })) : (N2 = { type: T1, value: E1, ...N2 }, _1 = /* @__PURE__ */ x.jsx(sk, { ...N2, __css: E2.input }), E && !H2 && (U1 = /* @__PURE__ */ x.jsxs(
|
|
29609
29625
|
B3,
|
|
29610
29626
|
{
|
|
29611
29627
|
buttonType: "text",
|
|
@@ -29628,11 +29644,11 @@ const YN = {
|
|
|
29628
29644
|
id: L,
|
|
29629
29645
|
invalidText: s2,
|
|
29630
29646
|
isInvalid: Y2,
|
|
29631
|
-
showHelperInvalidText:
|
|
29647
|
+
showHelperInvalidText: H1 && !H2,
|
|
29632
29648
|
__css: E2,
|
|
29633
29649
|
...C1,
|
|
29634
29650
|
children: [
|
|
29635
|
-
P &&
|
|
29651
|
+
P && x1 && !H2 && /* @__PURE__ */ x.jsx(
|
|
29636
29652
|
Io,
|
|
29637
29653
|
{
|
|
29638
29654
|
htmlFor: L,
|
|
@@ -29642,9 +29658,9 @@ const YN = {
|
|
|
29642
29658
|
children: P
|
|
29643
29659
|
}
|
|
29644
29660
|
),
|
|
29645
|
-
/* @__PURE__ */ x.jsxs(
|
|
29661
|
+
/* @__PURE__ */ x.jsxs(v1, { position: "relative", children: [
|
|
29646
29662
|
_1,
|
|
29647
|
-
!H2 && (E1 == null ? void 0 : E1.length) > 0 &&
|
|
29663
|
+
!H2 && (E1 == null ? void 0 : E1.length) > 0 && U1
|
|
29648
29664
|
] })
|
|
29649
29665
|
]
|
|
29650
29666
|
}
|
|
@@ -29749,18 +29765,18 @@ const YN = {
|
|
|
29749
29765
|
placeholder: i1,
|
|
29750
29766
|
placeholderTo: r1,
|
|
29751
29767
|
refTo: p1,
|
|
29752
|
-
showHelperInvalidText:
|
|
29753
|
-
showLabel:
|
|
29754
|
-
showRequiredLabel:
|
|
29768
|
+
showHelperInvalidText: g1 = !0,
|
|
29769
|
+
showLabel: H1 = !0,
|
|
29770
|
+
showRequiredLabel: x1 = !0,
|
|
29755
29771
|
...P1
|
|
29756
|
-
} = r, m1 = U2("DatePicker", {}), k1 = k ? m1 : {},
|
|
29772
|
+
} = r, m1 = U2("DatePicker", {}), k1 = k ? m1 : {}, A1 = L ? new Date(L) : L === "" ? null : /* @__PURE__ */ new Date(), T1 = M ? new Date(M) : M === "" ? null : /* @__PURE__ */ new Date(), f2 = w5(null), C1 = w5(null), E1 = {
|
|
29757
29773
|
startDate: f2,
|
|
29758
29774
|
endDate: C1
|
|
29759
29775
|
}, y1 = rc(f2, a), K1 = rc(C1, p1);
|
|
29760
|
-
let G1 = { startDate:
|
|
29776
|
+
let G1 = { startDate: A1 };
|
|
29761
29777
|
k && (G1 = { ...G1, endDate: T1 });
|
|
29762
|
-
const [R1, E2] = u4(G1), a3 = (_1,
|
|
29763
|
-
E2({ ...R1, [
|
|
29778
|
+
const [R1, E2] = u4(G1), a3 = (_1, U1) => {
|
|
29779
|
+
E2({ ...R1, [U1]: _1 }), j && j({ ...R1, [U1]: _1 }), E1[U1].current.focus();
|
|
29764
29780
|
}, H2 = 12;
|
|
29765
29781
|
let j2 = {
|
|
29766
29782
|
popperClassName: "date-picker-calendar",
|
|
@@ -29778,16 +29794,16 @@ const YN = {
|
|
|
29778
29794
|
dateFormat: s
|
|
29779
29795
|
}, s2 = {
|
|
29780
29796
|
isRequired: O,
|
|
29781
|
-
// In the date range type, don't display the "(
|
|
29797
|
+
// In the date range type, don't display the "(required)" text in
|
|
29782
29798
|
// individual input labels. It'll display in the legend element.
|
|
29783
|
-
showRequiredLabel: k ? !1 :
|
|
29799
|
+
showRequiredLabel: k ? !1 : x1,
|
|
29784
29800
|
// Always display the labels for the input fields when
|
|
29785
29801
|
// the DatePicker component is a date range type.
|
|
29786
|
-
showLabel: k ? !0 :
|
|
29802
|
+
showLabel: k ? !0 : H1,
|
|
29787
29803
|
isDisabled: _,
|
|
29788
29804
|
isInvalid: R,
|
|
29789
29805
|
helperText: k ? d : p,
|
|
29790
|
-
showHelperInvalidText:
|
|
29806
|
+
showHelperInvalidText: g1,
|
|
29791
29807
|
invalidText: E,
|
|
29792
29808
|
__css: k1.subLabels
|
|
29793
29809
|
}, o2 = {}, P2 = {}, G2 = null, V3 = P;
|
|
@@ -29827,7 +29843,7 @@ const YN = {
|
|
|
29827
29843
|
),
|
|
29828
29844
|
id: `${y}-end`,
|
|
29829
29845
|
name: Y,
|
|
29830
|
-
onChange: (
|
|
29846
|
+
onChange: (U1) => a3(U1, "endDate"),
|
|
29831
29847
|
placeholderText: r1,
|
|
29832
29848
|
selected: R1.endDate,
|
|
29833
29849
|
...P2
|
|
@@ -29859,11 +29875,11 @@ const YN = {
|
|
|
29859
29875
|
{
|
|
29860
29876
|
id: y,
|
|
29861
29877
|
isDateRange: k,
|
|
29862
|
-
showLabel:
|
|
29878
|
+
showLabel: H1,
|
|
29863
29879
|
labelText: P,
|
|
29864
29880
|
className: o,
|
|
29865
29881
|
isRequired: O,
|
|
29866
|
-
showRequiredLabel:
|
|
29882
|
+
showRequiredLabel: x1,
|
|
29867
29883
|
...P1,
|
|
29868
29884
|
children: [
|
|
29869
29885
|
/* @__PURE__ */ x.jsxs(QN, { id: y, isDateRange: k, children: [
|
|
@@ -29875,7 +29891,7 @@ const YN = {
|
|
|
29875
29891
|
{
|
|
29876
29892
|
id: `${y}-helper-text`,
|
|
29877
29893
|
isInvalid: !1,
|
|
29878
|
-
isRenderedText: k &&
|
|
29894
|
+
isRenderedText: k && g1,
|
|
29879
29895
|
text: p
|
|
29880
29896
|
}
|
|
29881
29897
|
)
|
|
@@ -29888,8 +29904,8 @@ const YN = {
|
|
|
29888
29904
|
var mc = { exports: {} };
|
|
29889
29905
|
mc.exports;
|
|
29890
29906
|
(function(r, a) {
|
|
29891
|
-
var o = 200, s = "__lodash_hash_undefined__", i = 800, p = 16, d = 9007199254740991, v = "[object Arguments]", y = "[object Array]", L = "[object AsyncFunction]", M = "[object Boolean]", E = "[object Date]", k = "[object Error]", _ = "[object Function]", R = "[object GeneratorFunction]", O = "[object Map]", P = "[object Number]", z = "[object Null]", $ = "[object Object]", A = "[object Proxy]", Y = "[object RegExp]", j = "[object Set]", i1 = "[object String]", r1 = "[object Undefined]", p1 = "[object WeakMap]",
|
|
29892
|
-
R1[
|
|
29907
|
+
var o = 200, s = "__lodash_hash_undefined__", i = 800, p = 16, d = 9007199254740991, v = "[object Arguments]", y = "[object Array]", L = "[object AsyncFunction]", M = "[object Boolean]", E = "[object Date]", k = "[object Error]", _ = "[object Function]", R = "[object GeneratorFunction]", O = "[object Map]", P = "[object Number]", z = "[object Null]", $ = "[object Object]", A = "[object Proxy]", Y = "[object RegExp]", j = "[object Set]", i1 = "[object String]", r1 = "[object Undefined]", p1 = "[object WeakMap]", g1 = "[object ArrayBuffer]", H1 = "[object DataView]", x1 = "[object Float32Array]", P1 = "[object Float64Array]", m1 = "[object Int8Array]", k1 = "[object Int16Array]", A1 = "[object Int32Array]", T1 = "[object Uint8Array]", f2 = "[object Uint8ClampedArray]", C1 = "[object Uint16Array]", E1 = "[object Uint32Array]", y1 = /[\\^$.*+?()[\]{}|]/g, K1 = /^\[object .+?Constructor\]$/, G1 = /^(?:0|[1-9]\d*)$/, R1 = {};
|
|
29908
|
+
R1[x1] = R1[P1] = R1[m1] = R1[k1] = R1[A1] = R1[T1] = R1[f2] = R1[C1] = R1[E1] = !0, R1[v] = R1[y] = R1[g1] = R1[M] = R1[H1] = R1[E] = R1[k] = R1[_] = R1[O] = R1[P] = R1[$] = R1[Y] = R1[j] = R1[i1] = R1[p1] = !1;
|
|
29893
29909
|
var E2 = typeof ju == "object" && ju && ju.Object === Object && ju, a3 = typeof self == "object" && self && self.Object === Object && self, H2 = E2 || a3 || Function("return this")(), j2 = a && !a.nodeType && a, s2 = j2 && !0 && r && !r.nodeType && r, o2 = s2 && s2.exports === j2, P2 = o2 && E2.process, G2 = function() {
|
|
29894
29910
|
try {
|
|
29895
29911
|
var N = s2 && s2.require && s2.require("util").types;
|
|
@@ -29915,7 +29931,7 @@ mc.exports;
|
|
|
29915
29931
|
X1[u1] = K(u1);
|
|
29916
29932
|
return X1;
|
|
29917
29933
|
}
|
|
29918
|
-
function
|
|
29934
|
+
function U1(N) {
|
|
29919
29935
|
return function(K) {
|
|
29920
29936
|
return N(K);
|
|
29921
29937
|
};
|
|
@@ -30338,7 +30354,7 @@ mc.exports;
|
|
|
30338
30354
|
var u1 = D2.call(K, "constructor") && K.constructor;
|
|
30339
30355
|
return typeof u1 == "function" && u1 instanceof u1 && ve.call(u1) == c4;
|
|
30340
30356
|
}
|
|
30341
|
-
var St = V3 ?
|
|
30357
|
+
var St = V3 ? U1(V3) : j0;
|
|
30342
30358
|
function V7(N) {
|
|
30343
30359
|
return w7(N, g9(N));
|
|
30344
30360
|
}
|
|
@@ -37618,15 +37634,15 @@ const fI = F1(
|
|
|
37618
37634
|
), o || console.warn(
|
|
37619
37635
|
"NYPL Reservoir FeaturedContent: The 'textContent' prop is required."
|
|
37620
37636
|
), /* @__PURE__ */ x.jsx(
|
|
37621
|
-
|
|
37637
|
+
v1,
|
|
37622
37638
|
{
|
|
37623
37639
|
"data-testid": "featuredcontent",
|
|
37624
37640
|
__css: d.base,
|
|
37625
37641
|
ref: a,
|
|
37626
37642
|
...p,
|
|
37627
|
-
children: /* @__PURE__ */ x.jsxs(
|
|
37643
|
+
children: /* @__PURE__ */ x.jsxs(v1, { __css: d.wrapper, children: [
|
|
37628
37644
|
/* @__PURE__ */ x.jsx(
|
|
37629
|
-
|
|
37645
|
+
v1,
|
|
37630
37646
|
{
|
|
37631
37647
|
"data-testid": "featuredcontent-bg-image",
|
|
37632
37648
|
__css: {
|
|
@@ -37642,7 +37658,7 @@ const fI = F1(
|
|
|
37642
37658
|
)
|
|
37643
37659
|
}
|
|
37644
37660
|
),
|
|
37645
|
-
/* @__PURE__ */ x.jsx(
|
|
37661
|
+
/* @__PURE__ */ x.jsx(v1, { __css: d.text, children: o })
|
|
37646
37662
|
] })
|
|
37647
37663
|
}
|
|
37648
37664
|
);
|
|
@@ -37671,7 +37687,7 @@ const fI = F1(
|
|
|
37671
37687
|
title: y,
|
|
37672
37688
|
id: s
|
|
37673
37689
|
});
|
|
37674
|
-
return /* @__PURE__ */ x.jsxs(
|
|
37690
|
+
return /* @__PURE__ */ x.jsxs(v1, { as: "header", __css: v, ...d, children: [
|
|
37675
37691
|
o,
|
|
37676
37692
|
a && L
|
|
37677
37693
|
] });
|
|
@@ -37691,7 +37707,7 @@ const fI = F1(
|
|
|
37691
37707
|
notificationType: p,
|
|
37692
37708
|
showIcon: d
|
|
37693
37709
|
});
|
|
37694
|
-
return /* @__PURE__ */ x.jsx(
|
|
37710
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: y, ...v, children: o && /* @__PURE__ */ x.jsx(v1, { __css: y.content, children: o }) });
|
|
37695
37711
|
}), Mz = F1(
|
|
37696
37712
|
c2((r, a) => {
|
|
37697
37713
|
const {
|
|
@@ -37714,7 +37730,7 @@ const fI = F1(
|
|
|
37714
37730
|
notificationType: E,
|
|
37715
37731
|
showIcon: k
|
|
37716
37732
|
}), A = () => {
|
|
37717
|
-
const
|
|
37733
|
+
const H1 = {
|
|
37718
37734
|
size: "large",
|
|
37719
37735
|
__css: $.icon
|
|
37720
37736
|
};
|
|
@@ -37723,9 +37739,9 @@ const fI = F1(
|
|
|
37723
37739
|
if (p)
|
|
37724
37740
|
return X.cloneElement(p, {
|
|
37725
37741
|
id: `${d}-custom-notification-icon`,
|
|
37726
|
-
...
|
|
37742
|
+
...H1
|
|
37727
37743
|
});
|
|
37728
|
-
const
|
|
37744
|
+
const x1 = {
|
|
37729
37745
|
announcement: {
|
|
37730
37746
|
color: P === "dark" ? "dark.ui.success.primary" : "section.research.secondary",
|
|
37731
37747
|
name: "speakerNotes",
|
|
@@ -37747,8 +37763,8 @@ const fI = F1(
|
|
|
37747
37763
|
{
|
|
37748
37764
|
className: "notification-icon",
|
|
37749
37765
|
id: `${d}-notification-icon`,
|
|
37750
|
-
...
|
|
37751
|
-
...
|
|
37766
|
+
...x1[E],
|
|
37767
|
+
...H1
|
|
37752
37768
|
}
|
|
37753
37769
|
);
|
|
37754
37770
|
}, Y = a5(
|
|
@@ -37782,7 +37798,7 @@ const fI = F1(
|
|
|
37782
37798
|
notificationType: E,
|
|
37783
37799
|
children: M
|
|
37784
37800
|
}
|
|
37785
|
-
), p1 = !!(r1 && k && (p || !v)),
|
|
37801
|
+
), p1 = !!(r1 && k && (p || !v)), g1 = /* @__PURE__ */ x.jsx(
|
|
37786
37802
|
Vz,
|
|
37787
37803
|
{
|
|
37788
37804
|
alignText: p1,
|
|
@@ -37794,7 +37810,7 @@ const fI = F1(
|
|
|
37794
37810
|
}
|
|
37795
37811
|
);
|
|
37796
37812
|
return R ? /* @__PURE__ */ x.jsxs(
|
|
37797
|
-
|
|
37813
|
+
v1,
|
|
37798
37814
|
{
|
|
37799
37815
|
"aria-label": o,
|
|
37800
37816
|
as: "aside",
|
|
@@ -37805,9 +37821,9 @@ const fI = F1(
|
|
|
37805
37821
|
__css: $,
|
|
37806
37822
|
..._,
|
|
37807
37823
|
children: [
|
|
37808
|
-
/* @__PURE__ */ x.jsxs(
|
|
37824
|
+
/* @__PURE__ */ x.jsxs(v1, { __css: $.container, children: [
|
|
37809
37825
|
r1,
|
|
37810
|
-
|
|
37826
|
+
g1
|
|
37811
37827
|
] }),
|
|
37812
37828
|
j
|
|
37813
37829
|
]
|
|
@@ -37868,7 +37884,7 @@ const fI = F1(
|
|
|
37868
37884
|
alignItems: "flex-start",
|
|
37869
37885
|
sx: z,
|
|
37870
37886
|
...Y,
|
|
37871
|
-
children: /* @__PURE__ */ x.jsx(
|
|
37887
|
+
children: /* @__PURE__ */ x.jsx(v1, { as: "span", __css: R ? {} : z.hiddenLabel, children: M })
|
|
37872
37888
|
}
|
|
37873
37889
|
)
|
|
37874
37890
|
}
|
|
@@ -37896,10 +37912,10 @@ const fI = F1(
|
|
|
37896
37912
|
showLabel: z = !0,
|
|
37897
37913
|
showRequiredLabel: $ = !0,
|
|
37898
37914
|
...A
|
|
37899
|
-
} = r, [Y, j] = X.useState(i), i1 = M ? v : p, r1 = _ === "column" ? Fo.s : Fo.l, p1 = [],
|
|
37915
|
+
} = r, [Y, j] = X.useState(i), i1 = M ? v : p, r1 = _ === "column" ? Fo.s : Fo.l, p1 = [], g1 = U2("RadioGroup", { isFullWidth: L }), H1 = {
|
|
37900
37916
|
name: R,
|
|
37901
|
-
onChange: (
|
|
37902
|
-
j(
|
|
37917
|
+
onChange: (x1) => {
|
|
37918
|
+
j(x1), O && O(x1);
|
|
37903
37919
|
},
|
|
37904
37920
|
ref: a,
|
|
37905
37921
|
value: Y
|
|
@@ -37908,18 +37924,18 @@ const fI = F1(
|
|
|
37908
37924
|
"NYPL Reservoir RadioGroup: This component's required `id` prop was not passed."
|
|
37909
37925
|
), X.Children.map(
|
|
37910
37926
|
o,
|
|
37911
|
-
(
|
|
37927
|
+
(x1, P1) => {
|
|
37912
37928
|
var m1, k1;
|
|
37913
|
-
if ((
|
|
37929
|
+
if ((x1 == null ? void 0 : x1.type) !== nc && ((m1 = x1.props) != null && m1.mdxType && ((k1 = x1.props) == null ? void 0 : k1.mdxType) === "Radio" || console.warn(
|
|
37914
37930
|
"NYPL Reservoir RadioGroup: Only `Radio` components are allowed inside the `RadioGroup` component."
|
|
37915
|
-
)),
|
|
37916
|
-
const
|
|
37931
|
+
)), x1 != null) {
|
|
37932
|
+
const A1 = {
|
|
37917
37933
|
key: P1,
|
|
37918
37934
|
isDisabled: y,
|
|
37919
37935
|
isInvalid: M,
|
|
37920
37936
|
isRequired: E
|
|
37921
37937
|
};
|
|
37922
|
-
p1.push(X.cloneElement(
|
|
37938
|
+
p1.push(X.cloneElement(x1, A1));
|
|
37923
37939
|
}
|
|
37924
37940
|
}
|
|
37925
37941
|
), /* @__PURE__ */ x.jsxs(
|
|
@@ -37932,9 +37948,9 @@ const fI = F1(
|
|
|
37932
37948
|
legendText: k,
|
|
37933
37949
|
showRequiredLabel: $,
|
|
37934
37950
|
...A,
|
|
37935
|
-
__css:
|
|
37951
|
+
__css: g1,
|
|
37936
37952
|
children: [
|
|
37937
|
-
/* @__PURE__ */ x.jsx(fk, { ...
|
|
37953
|
+
/* @__PURE__ */ x.jsx(fk, { ...H1, children: /* @__PURE__ */ x.jsx(P0, { direction: [_], spacing: r1, children: p1 }) }),
|
|
37938
37954
|
/* @__PURE__ */ x.jsx(
|
|
37939
37955
|
Xr,
|
|
37940
37956
|
{
|
|
@@ -37942,7 +37958,7 @@ const fI = F1(
|
|
|
37942
37958
|
isInvalid: M,
|
|
37943
37959
|
isRenderedText: P,
|
|
37944
37960
|
text: i1,
|
|
37945
|
-
__css:
|
|
37961
|
+
__css: g1.helperErrorText
|
|
37946
37962
|
}
|
|
37947
37963
|
)
|
|
37948
37964
|
]
|
|
@@ -38040,8 +38056,8 @@ const Tz = F1(
|
|
|
38040
38056
|
onClose: O,
|
|
38041
38057
|
...P
|
|
38042
38058
|
}, z) => {
|
|
38043
|
-
const [$, A] = hc(k), [Y, j] = hc(p), [i1, r1] = u4(!1), { state: p1, setCategory:
|
|
38044
|
-
let
|
|
38059
|
+
const [$, A] = hc(k), [Y, j] = hc(p), [i1, r1] = u4(!1), { state: p1, setCategory: g1, setComment: H1, setEmail: x1, clearValues: P1 } = kz(), { isLargerThanMobile: m1 } = da(), k1 = la(), A1 = _ || k1.isOpen, T1 = R || k1.onOpen, f2 = O || k1.onClose, C1 = w5(), E1 = w5(), y1 = w5(), K1 = U2("FeedbackBox", {}), G1 = $ === "form", R1 = $ === "confirmation", E2 = $ === "error", a3 = 3e3, H2 = 500, j2 = 165, s2 = "auto 1fr", o2 = a5(null, "dark.ui.typography.body"), P2 = 235, G2 = 275, V3 = 345, Y2 = 37, _1 = 24;
|
|
38060
|
+
let U1 = j2;
|
|
38045
38061
|
const N2 = () => {
|
|
38046
38062
|
f2(), A("form"), P1(), j(!1), setTimeout(() => {
|
|
38047
38063
|
var D2;
|
|
@@ -38098,9 +38114,9 @@ const Tz = F1(
|
|
|
38098
38114
|
var I3;
|
|
38099
38115
|
(I3 = C1 == null ? void 0 : C1.current) == null || I3.focus();
|
|
38100
38116
|
}, 250)), () => clearTimeout(D2);
|
|
38101
|
-
}, [C1, $]), L && (
|
|
38102
|
-
let ve =
|
|
38103
|
-
return /* @__PURE__ */ x.jsxs(
|
|
38117
|
+
}, [C1, $]), L && (U1 = P2), M && (U1 = G2), L && M && (U1 = V3), v && (U1 += Y2), o && (U1 += _1), v && o && (U1 += 16);
|
|
38118
|
+
let ve = U1 + "px";
|
|
38119
|
+
return /* @__PURE__ */ x.jsxs(v1, { className: r, id: i, ref: z, sx: K1, ...P, children: [
|
|
38104
38120
|
/* @__PURE__ */ x.jsx(
|
|
38105
38121
|
B3,
|
|
38106
38122
|
{
|
|
@@ -38115,7 +38131,7 @@ const Tz = F1(
|
|
|
38115
38131
|
hk,
|
|
38116
38132
|
{
|
|
38117
38133
|
blockScrollOnMount: !1,
|
|
38118
|
-
isOpen:
|
|
38134
|
+
isOpen: A1,
|
|
38119
38135
|
onClose: N2,
|
|
38120
38136
|
placement: "bottom",
|
|
38121
38137
|
children: [
|
|
@@ -38173,7 +38189,7 @@ const Tz = F1(
|
|
|
38173
38189
|
labelText: "What is your feedback about?",
|
|
38174
38190
|
layout: m1 ? "row" : "column",
|
|
38175
38191
|
name: `${i}-category`,
|
|
38176
|
-
onChange: (D2) =>
|
|
38192
|
+
onChange: (D2) => g1(D2),
|
|
38177
38193
|
children: [
|
|
38178
38194
|
/* @__PURE__ */ x.jsx(
|
|
38179
38195
|
nc,
|
|
@@ -38204,10 +38220,10 @@ const Tz = F1(
|
|
|
38204
38220
|
invalidText: "There was a problem. Please fill out this field.",
|
|
38205
38221
|
isDisabled: i1,
|
|
38206
38222
|
isInvalid: Y,
|
|
38207
|
-
labelText: "Comment (
|
|
38223
|
+
labelText: "Comment (required)",
|
|
38208
38224
|
maxLength: H2,
|
|
38209
38225
|
name: `${i}-comment`,
|
|
38210
|
-
onChange: (D2) =>
|
|
38226
|
+
onChange: (D2) => H1(D2.target.value),
|
|
38211
38227
|
placeholder: "Enter your question or feedback here",
|
|
38212
38228
|
ref: y1,
|
|
38213
38229
|
type: "textarea"
|
|
@@ -38222,7 +38238,7 @@ const Tz = F1(
|
|
|
38222
38238
|
isInvalid: d,
|
|
38223
38239
|
labelText: "Email",
|
|
38224
38240
|
name: `${i}-email`,
|
|
38225
|
-
onChange: (D2) =>
|
|
38241
|
+
onChange: (D2) => x1(D2.target.value),
|
|
38226
38242
|
placeholder: "Enter your email address here",
|
|
38227
38243
|
type: "email",
|
|
38228
38244
|
value: p1.email
|
|
@@ -38256,7 +38272,7 @@ const Tz = F1(
|
|
|
38256
38272
|
] }),
|
|
38257
38273
|
R1 && /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
38258
38274
|
/* @__PURE__ */ x.jsxs(
|
|
38259
|
-
|
|
38275
|
+
v1,
|
|
38260
38276
|
{
|
|
38261
38277
|
className: "feedback-body response",
|
|
38262
38278
|
margin: "auto",
|
|
@@ -38292,7 +38308,7 @@ const Tz = F1(
|
|
|
38292
38308
|
] }),
|
|
38293
38309
|
E2 && /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
38294
38310
|
/* @__PURE__ */ x.jsxs(
|
|
38295
|
-
|
|
38311
|
+
v1,
|
|
38296
38312
|
{
|
|
38297
38313
|
className: "feedback-body response",
|
|
38298
38314
|
color: "ui.error.primary",
|
|
@@ -38471,7 +38487,7 @@ const hI = F1(
|
|
|
38471
38487
|
(p1 = i1.current) == null || p1.focus();
|
|
38472
38488
|
}, 1);
|
|
38473
38489
|
};
|
|
38474
|
-
return /* @__PURE__ */ x.jsxs(
|
|
38490
|
+
return /* @__PURE__ */ x.jsxs(v1, { id: `filter-bar-${s}`, ref: a, ..._, children: [
|
|
38475
38491
|
/* @__PURE__ */ x.jsx(
|
|
38476
38492
|
B3,
|
|
38477
38493
|
{
|
|
@@ -38669,7 +38685,7 @@ const cb = [
|
|
|
38669
38685
|
}
|
|
38670
38686
|
), i1 = v === "campaign" ? /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
38671
38687
|
/* @__PURE__ */ x.jsx(
|
|
38672
|
-
|
|
38688
|
+
v1,
|
|
38673
38689
|
{
|
|
38674
38690
|
__css: {
|
|
38675
38691
|
...R.imgWrapper
|
|
@@ -38680,13 +38696,13 @@ const cb = [
|
|
|
38680
38696
|
children: j
|
|
38681
38697
|
}
|
|
38682
38698
|
),
|
|
38683
|
-
/* @__PURE__ */ x.jsxs(
|
|
38699
|
+
/* @__PURE__ */ x.jsxs(v1, { __css: R.interior, children: [
|
|
38684
38700
|
P,
|
|
38685
38701
|
_
|
|
38686
38702
|
] })
|
|
38687
38703
|
] }) : /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
38688
38704
|
v !== "primary" && v !== "tertiary" && /* @__PURE__ */ x.jsx(
|
|
38689
|
-
|
|
38705
|
+
v1,
|
|
38690
38706
|
{
|
|
38691
38707
|
__css: {
|
|
38692
38708
|
...R.imgWrapper
|
|
@@ -38698,10 +38714,10 @@ const cb = [
|
|
|
38698
38714
|
}
|
|
38699
38715
|
),
|
|
38700
38716
|
P,
|
|
38701
|
-
v === "tertiary" && _ ? /* @__PURE__ */ x.jsx("p", { children: _ }) : /* @__PURE__ */ x.jsx(
|
|
38717
|
+
v === "tertiary" && _ ? /* @__PURE__ */ x.jsx("p", { children: _ }) : /* @__PURE__ */ x.jsx(v1, { __css: R.bodyText, children: _ })
|
|
38702
38718
|
] });
|
|
38703
38719
|
return /* @__PURE__ */ x.jsx(
|
|
38704
|
-
|
|
38720
|
+
v1,
|
|
38705
38721
|
{
|
|
38706
38722
|
"data-testid": "hero",
|
|
38707
38723
|
"data-responsive-background-image": !0,
|
|
@@ -38712,7 +38728,7 @@ const cb = [
|
|
|
38712
38728
|
...z
|
|
38713
38729
|
},
|
|
38714
38730
|
children: /* @__PURE__ */ x.jsx(
|
|
38715
|
-
|
|
38731
|
+
v1,
|
|
38716
38732
|
{
|
|
38717
38733
|
"data-testid": "hero-content",
|
|
38718
38734
|
style: $,
|
|
@@ -38734,7 +38750,7 @@ const cb = [
|
|
|
38734
38750
|
width: "100%"
|
|
38735
38751
|
};
|
|
38736
38752
|
return /* @__PURE__ */ x.jsx(
|
|
38737
|
-
|
|
38753
|
+
v1,
|
|
38738
38754
|
{
|
|
38739
38755
|
as: "hr",
|
|
38740
38756
|
className: s,
|
|
@@ -38783,7 +38799,7 @@ const cb = [
|
|
|
38783
38799
|
/* @__PURE__ */ x.jsx("dd", { children: $.description }, `${A}-des`)
|
|
38784
38800
|
]) : null : null);
|
|
38785
38801
|
return M === "ol" || M === "ul" ? (Qw(o, M), R = /* @__PURE__ */ x.jsx(
|
|
38786
|
-
|
|
38802
|
+
v1,
|
|
38787
38803
|
{
|
|
38788
38804
|
as: M,
|
|
38789
38805
|
id: i,
|
|
@@ -38803,7 +38819,7 @@ const cb = [
|
|
|
38803
38819
|
}
|
|
38804
38820
|
);
|
|
38805
38821
|
})(), R = /* @__PURE__ */ x.jsxs(
|
|
38806
|
-
|
|
38822
|
+
v1,
|
|
38807
38823
|
{
|
|
38808
38824
|
as: "section",
|
|
38809
38825
|
id: i,
|
|
@@ -39177,7 +39193,7 @@ const cb = [
|
|
|
39177
39193
|
ref: a
|
|
39178
39194
|
}) : console.warn(
|
|
39179
39195
|
"NYPL Reservoir Logo: An `svg` element must be passed to the `Logo` component as its child."
|
|
39180
|
-
), /* @__PURE__ */ x.jsx(
|
|
39196
|
+
), /* @__PURE__ */ x.jsx(v1, { ref: a, __css: E, children: _ });
|
|
39181
39197
|
})
|
|
39182
39198
|
);
|
|
39183
39199
|
class LI {
|
|
@@ -39381,7 +39397,7 @@ const bI = F1(
|
|
|
39381
39397
|
backgroundColor: j ? "ui.link.primary-05 !important" : "unset",
|
|
39382
39398
|
children: [
|
|
39383
39399
|
y && /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
39384
|
-
/* @__PURE__ */ x.jsx(
|
|
39400
|
+
/* @__PURE__ */ x.jsx(v1, { as: "span", sx: { paddingRight: "xs" }, children: p && R ? R.label : o }),
|
|
39385
39401
|
/* @__PURE__ */ x.jsx(
|
|
39386
39402
|
F3,
|
|
39387
39403
|
{
|
|
@@ -39413,7 +39429,7 @@ const bI = F1(
|
|
|
39413
39429
|
),
|
|
39414
39430
|
...A(r1.children)
|
|
39415
39431
|
];
|
|
39416
|
-
const p1 = R ? R.id === r1.id : !1,
|
|
39432
|
+
const p1 = R ? R.id === r1.id : !1, g1 = /* @__PURE__ */ x.jsx(
|
|
39417
39433
|
Vk,
|
|
39418
39434
|
{
|
|
39419
39435
|
isFocusable: !0,
|
|
@@ -39425,7 +39441,7 @@ const bI = F1(
|
|
|
39425
39441
|
...p1 && k.selected
|
|
39426
39442
|
},
|
|
39427
39443
|
children: /* @__PURE__ */ x.jsxs(
|
|
39428
|
-
|
|
39444
|
+
v1,
|
|
39429
39445
|
{
|
|
39430
39446
|
style: {
|
|
39431
39447
|
display: "flex",
|
|
@@ -39441,9 +39457,9 @@ const bI = F1(
|
|
|
39441
39457
|
},
|
|
39442
39458
|
r1.id
|
|
39443
39459
|
);
|
|
39444
|
-
return [...i1,
|
|
39460
|
+
return [...i1, g1];
|
|
39445
39461
|
}, []), Y = w5();
|
|
39446
|
-
return /* @__PURE__ */ x.jsx(
|
|
39462
|
+
return /* @__PURE__ */ x.jsx(v1, { ref: E, children: /* @__PURE__ */ x.jsx(
|
|
39447
39463
|
Lk,
|
|
39448
39464
|
{
|
|
39449
39465
|
id: a,
|
|
@@ -39688,14 +39704,14 @@ const RU = c2((r, a) => {
|
|
|
39688
39704
|
...P
|
|
39689
39705
|
} = r, [z, $] = u4(!1), A = w5(), Y = w5(), j = w5(), i1 = (_1) => {
|
|
39690
39706
|
if (_1.type === "mousedown") {
|
|
39691
|
-
const
|
|
39692
|
-
|
|
39707
|
+
const U1 = Y.current;
|
|
39708
|
+
U1 && !U1.contains(_1.target) ? $(!0) : $(!1);
|
|
39693
39709
|
}
|
|
39694
39710
|
}, r1 = (_1) => {
|
|
39695
39711
|
if (_1.key === "Tab") {
|
|
39696
|
-
const
|
|
39712
|
+
const U1 = Y.current;
|
|
39697
39713
|
setTimeout(() => {
|
|
39698
|
-
|
|
39714
|
+
U1 && !U1.contains(document.activeElement) ? $(!0) : $(!1);
|
|
39699
39715
|
}, 0);
|
|
39700
39716
|
}
|
|
39701
39717
|
};
|
|
@@ -39705,50 +39721,50 @@ const RU = c2((r, a) => {
|
|
|
39705
39721
|
document.removeEventListener("mousedown", i1), document.removeEventListener("keydown", r1);
|
|
39706
39722
|
};
|
|
39707
39723
|
}, [M]);
|
|
39708
|
-
const
|
|
39709
|
-
() =>
|
|
39710
|
-
[
|
|
39711
|
-
), [m1, k1] = u4(P1), [
|
|
39724
|
+
const H1 = y === "expand" ? "unset" : p ? "270px" : "215px", x1 = v.length > d && y === "expand", P1 = X.useMemo(
|
|
39725
|
+
() => x1 ? v.slice(0, d) : v,
|
|
39726
|
+
[x1, v, d]
|
|
39727
|
+
), [m1, k1] = u4(P1), [A1, T1] = u4(!0), f2 = ((Y2 = R[o]) == null ? void 0 : Y2.items.length) || 0, C1 = `item${f2 === 1 ? "" : "s"}`, E1 = `${L}, ${f2} ${C1} currently selected`, y1 = U2("MultiSelect", {
|
|
39712
39728
|
isBlockElement: s,
|
|
39713
39729
|
width: O
|
|
39714
|
-
}), K1 = (_1,
|
|
39715
|
-
(N2) => N2 ===
|
|
39716
|
-
) : !1, G1 = (_1,
|
|
39717
|
-
let N2 =
|
|
39730
|
+
}), K1 = (_1, U1) => R[_1] ? !!R[_1].items.find(
|
|
39731
|
+
(N2) => N2 === U1
|
|
39732
|
+
) : !1, G1 = (_1, U1) => {
|
|
39733
|
+
let N2 = U1.children.map((_2) => _2.id);
|
|
39718
39734
|
return R[_1] !== void 0 ? N2.every(
|
|
39719
39735
|
(_2) => {
|
|
39720
39736
|
var Z3;
|
|
39721
|
-
return R[_1].items.includes(_2) && !((Z3 =
|
|
39737
|
+
return R[_1].items.includes(_2) && !((Z3 = U1.children.find((me) => me.id === _2)) != null && Z3.isDisabled);
|
|
39722
39738
|
}
|
|
39723
39739
|
) : !1;
|
|
39724
|
-
}, R1 = (_1,
|
|
39725
|
-
let N2 =
|
|
39740
|
+
}, R1 = (_1, U1) => {
|
|
39741
|
+
let N2 = U1.children.map((_2) => _2.id);
|
|
39726
39742
|
return R[_1] !== void 0 && N2.length > 0 && N2.some(
|
|
39727
39743
|
(_2) => {
|
|
39728
39744
|
var Z3;
|
|
39729
|
-
return R[_1].items.includes(_2) && !((Z3 =
|
|
39745
|
+
return R[_1].items.includes(_2) && !((Z3 = U1.children.find((me) => me.id === _2)) != null && Z3.isDisabled);
|
|
39730
39746
|
}
|
|
39731
|
-
) ? !G1(_1,
|
|
39732
|
-
}, E2 = (_1) => (_1.children.every((
|
|
39733
|
-
const
|
|
39734
|
-
if (!
|
|
39735
|
-
k1(
|
|
39747
|
+
) ? !G1(_1, U1) : !1;
|
|
39748
|
+
}, E2 = (_1) => (_1.children.every((U1) => U1.isDisabled) ? _1.isDisabled = !0 : _1.isDisabled = !1, _1.isDisabled), a3 = () => /* @__PURE__ */ x.jsx(v1, { marginTop: "xs", children: "No options found" }), H2 = (_1) => {
|
|
39749
|
+
const U1 = _1.target.value.trim().toLowerCase();
|
|
39750
|
+
if (!U1) {
|
|
39751
|
+
k1(A1 ? P1 : v);
|
|
39736
39752
|
return;
|
|
39737
39753
|
}
|
|
39738
|
-
const N2 = v.filter((_2) => _2.children ? _2.name.toLowerCase().includes(
|
|
39739
|
-
(Z3) => Z3.name.toLowerCase().includes(
|
|
39740
|
-
) : _2.name.toLowerCase().includes(
|
|
39754
|
+
const N2 = v.filter((_2) => _2.children ? _2.name.toLowerCase().includes(U1) ? !0 : _2.children.some(
|
|
39755
|
+
(Z3) => Z3.name.toLowerCase().includes(U1)
|
|
39756
|
+
) : _2.name.toLowerCase().includes(U1));
|
|
39741
39757
|
k1(N2);
|
|
39742
39758
|
}, j2 = () => {
|
|
39743
|
-
k1(
|
|
39759
|
+
k1(A1 ? P1 : v);
|
|
39744
39760
|
}, s2 = () => {
|
|
39745
39761
|
T1((_1) => !_1), setTimeout(() => {
|
|
39746
39762
|
j.current && j.current.focus();
|
|
39747
39763
|
}, 1);
|
|
39748
39764
|
};
|
|
39749
39765
|
X.useEffect(() => {
|
|
39750
|
-
k1(
|
|
39751
|
-
}, [
|
|
39766
|
+
k1(A1 ? P1 : v);
|
|
39767
|
+
}, [A1, P1, v]);
|
|
39752
39768
|
const o2 = () => /* @__PURE__ */ x.jsx(
|
|
39753
39769
|
B3,
|
|
39754
39770
|
{
|
|
@@ -39758,7 +39774,7 @@ const RU = c2((r, a) => {
|
|
|
39758
39774
|
ref: j,
|
|
39759
39775
|
onClick: s2,
|
|
39760
39776
|
__css: y1.viewAllButton,
|
|
39761
|
-
children:
|
|
39777
|
+
children: A1 ? "View all" : "View less"
|
|
39762
39778
|
}
|
|
39763
39779
|
), P2 = (_1) => _1.children ? [
|
|
39764
39780
|
/* @__PURE__ */ x.jsx(
|
|
@@ -39780,19 +39796,19 @@ const RU = c2((r, a) => {
|
|
|
39780
39796
|
},
|
|
39781
39797
|
_1.id
|
|
39782
39798
|
),
|
|
39783
|
-
..._1.children.map((
|
|
39799
|
+
..._1.children.map((U1) => /* @__PURE__ */ x.jsx(
|
|
39784
39800
|
up,
|
|
39785
39801
|
{
|
|
39786
39802
|
marginInlineStart: "0",
|
|
39787
|
-
id:
|
|
39788
|
-
labelText:
|
|
39789
|
-
name:
|
|
39790
|
-
isDisabled:
|
|
39791
|
-
isChecked: K1(o,
|
|
39803
|
+
id: U1.id,
|
|
39804
|
+
labelText: U1.name,
|
|
39805
|
+
name: U1.name,
|
|
39806
|
+
isDisabled: U1.isDisabled,
|
|
39807
|
+
isChecked: K1(o, U1.id),
|
|
39792
39808
|
onChange: E,
|
|
39793
39809
|
__css: y1.menuChildren
|
|
39794
39810
|
},
|
|
39795
|
-
|
|
39811
|
+
U1.id
|
|
39796
39812
|
))
|
|
39797
39813
|
] : [
|
|
39798
39814
|
/* @__PURE__ */ x.jsx(
|
|
@@ -39808,14 +39824,14 @@ const RU = c2((r, a) => {
|
|
|
39808
39824
|
_1.id
|
|
39809
39825
|
)
|
|
39810
39826
|
], G2 = /* @__PURE__ */ x.jsx(
|
|
39811
|
-
|
|
39827
|
+
v1,
|
|
39812
39828
|
{
|
|
39813
39829
|
as: "span",
|
|
39814
39830
|
title: L,
|
|
39815
39831
|
__css: f2 > 0 ? y1.buttonTextLabel : null,
|
|
39816
39832
|
children: L
|
|
39817
39833
|
}
|
|
39818
|
-
), V3 = /* @__PURE__ */ x.jsxs(
|
|
39834
|
+
), V3 = /* @__PURE__ */ x.jsxs(v1, { children: [
|
|
39819
39835
|
p && /* @__PURE__ */ x.jsx(
|
|
39820
39836
|
N0,
|
|
39821
39837
|
{
|
|
@@ -39846,11 +39862,11 @@ const RU = c2((r, a) => {
|
|
|
39846
39862
|
children: m1.map((_1) => /* @__PURE__ */ x.jsx(x.Fragment, { children: P2(_1) }))
|
|
39847
39863
|
}
|
|
39848
39864
|
),
|
|
39849
|
-
|
|
39865
|
+
x1 && /* @__PURE__ */ x.jsx(o2, {})
|
|
39850
39866
|
] })
|
|
39851
39867
|
] });
|
|
39852
39868
|
return /* @__PURE__ */ x.jsxs(
|
|
39853
|
-
|
|
39869
|
+
v1,
|
|
39854
39870
|
{
|
|
39855
39871
|
id: o,
|
|
39856
39872
|
__css: y1.base,
|
|
@@ -39875,7 +39891,7 @@ const RU = c2((r, a) => {
|
|
|
39875
39891
|
isDefaultOpen: i,
|
|
39876
39892
|
isAlwaysRendered: !0,
|
|
39877
39893
|
userClickedOutside: z,
|
|
39878
|
-
panelMaxHeight:
|
|
39894
|
+
panelMaxHeight: H1,
|
|
39879
39895
|
sx: {
|
|
39880
39896
|
...y1.accordionStyles
|
|
39881
39897
|
}
|
|
@@ -39953,7 +39969,7 @@ const RU = c2((r, a) => {
|
|
|
39953
39969
|
iconColor: i,
|
|
39954
39970
|
text: p
|
|
39955
39971
|
}) => /* @__PURE__ */ x.jsxs(
|
|
39956
|
-
|
|
39972
|
+
v1,
|
|
39957
39973
|
{
|
|
39958
39974
|
className: "feedback-body response",
|
|
39959
39975
|
margin: "auto",
|
|
@@ -39961,7 +39977,7 @@ const RU = c2((r, a) => {
|
|
|
39961
39977
|
tabIndex: -1,
|
|
39962
39978
|
width: "100%",
|
|
39963
39979
|
children: [
|
|
39964
|
-
/* @__PURE__ */ x.jsxs(
|
|
39980
|
+
/* @__PURE__ */ x.jsxs(v1, { display: "flex", marginBottom: "xs", alignItems: { md: "center" }, children: [
|
|
39965
39981
|
/* @__PURE__ */ x.jsx(F3, { color: i, name: s, size: "large" }),
|
|
39966
39982
|
/* @__PURE__ */ x.jsx(
|
|
39967
39983
|
L5,
|
|
@@ -40012,10 +40028,10 @@ const RU = c2((r, a) => {
|
|
|
40012
40028
|
additionalStyles: {
|
|
40013
40029
|
marginBottom: 0
|
|
40014
40030
|
}
|
|
40015
|
-
}),
|
|
40031
|
+
}), g1 = X.useRef(null);
|
|
40016
40032
|
return X.useEffect(() => {
|
|
40017
|
-
var
|
|
40018
|
-
(
|
|
40033
|
+
var H1;
|
|
40034
|
+
(H1 = g1.current) == null || H1.focus();
|
|
40019
40035
|
}, [P]), /* @__PURE__ */ x.jsxs(
|
|
40020
40036
|
P0,
|
|
40021
40037
|
{
|
|
@@ -40078,7 +40094,7 @@ const RU = c2((r, a) => {
|
|
|
40078
40094
|
P === "confirmation" && /* @__PURE__ */ x.jsx(
|
|
40079
40095
|
db,
|
|
40080
40096
|
{
|
|
40081
|
-
focusRef:
|
|
40097
|
+
focusRef: g1,
|
|
40082
40098
|
heading: a,
|
|
40083
40099
|
iconName: "actionCheckCircleFilled",
|
|
40084
40100
|
iconColor: j,
|
|
@@ -40088,7 +40104,7 @@ const RU = c2((r, a) => {
|
|
|
40088
40104
|
P === "error" && /* @__PURE__ */ x.jsx(
|
|
40089
40105
|
db,
|
|
40090
40106
|
{
|
|
40091
|
-
focusRef:
|
|
40107
|
+
focusRef: g1,
|
|
40092
40108
|
heading: i,
|
|
40093
40109
|
headingColor: i1,
|
|
40094
40110
|
iconName: "errorFilled",
|
|
@@ -40123,14 +40139,14 @@ const RU = c2((r, a) => {
|
|
|
40123
40139
|
), i && s && console.warn(
|
|
40124
40140
|
"NYPL Reservoir Pagination: The `currentPage` prop does not work with the `getPageHref` prop. Use `currentPage` with `onPageChange` instead."
|
|
40125
40141
|
);
|
|
40126
|
-
const P = typeof i < "u" && typeof i == "function", z = (p1,
|
|
40127
|
-
p1.preventDefault && p1.preventDefault(), E !==
|
|
40142
|
+
const P = typeof i < "u" && typeof i == "function", z = (p1, g1) => {
|
|
40143
|
+
p1.preventDefault && p1.preventDefault(), E !== g1 && (k(g1), v && v(g1));
|
|
40128
40144
|
}, $ = (p1) => {
|
|
40129
40145
|
E > 1 && z(p1, R);
|
|
40130
40146
|
}, A = (p1) => {
|
|
40131
40147
|
E < y && z(p1, O);
|
|
40132
|
-
}, Y = (p1,
|
|
40133
|
-
const
|
|
40148
|
+
}, Y = (p1, g1) => {
|
|
40149
|
+
const H1 = E === g1, x1 = H1 ? {
|
|
40134
40150
|
color: "ui.typography.body",
|
|
40135
40151
|
pointerEvent: "none",
|
|
40136
40152
|
_dark: {
|
|
@@ -40138,13 +40154,13 @@ const RU = c2((r, a) => {
|
|
|
40138
40154
|
}
|
|
40139
40155
|
} : {}, m1 = {
|
|
40140
40156
|
items: {
|
|
40141
|
-
href: P ? i(
|
|
40157
|
+
href: P ? i(g1) : "#",
|
|
40142
40158
|
attributes: {
|
|
40143
|
-
"aria-label": `Page ${
|
|
40144
|
-
"aria-current":
|
|
40145
|
-
onClick: P ? void 0 : (k1) => z(k1,
|
|
40159
|
+
"aria-label": `Page ${g1}`,
|
|
40160
|
+
"aria-current": H1 ? "page" : null,
|
|
40161
|
+
onClick: P ? void 0 : (k1) => z(k1, g1)
|
|
40146
40162
|
},
|
|
40147
|
-
text:
|
|
40163
|
+
text: g1
|
|
40148
40164
|
},
|
|
40149
40165
|
previous: {
|
|
40150
40166
|
href: P ? i(R) : "#",
|
|
@@ -40171,13 +40187,13 @@ const RU = c2((r, a) => {
|
|
|
40171
40187
|
...m1.attributes,
|
|
40172
40188
|
__css: {
|
|
40173
40189
|
..._.link,
|
|
40174
|
-
...
|
|
40190
|
+
...x1
|
|
40175
40191
|
},
|
|
40176
40192
|
children: m1.text
|
|
40177
40193
|
}
|
|
40178
40194
|
);
|
|
40179
40195
|
}, j = (p1) => {
|
|
40180
|
-
const
|
|
40196
|
+
const g1 = Math.max(
|
|
40181
40197
|
// Start at three if the current page is near the beginning.
|
|
40182
40198
|
3,
|
|
40183
40199
|
Math.min(
|
|
@@ -40187,7 +40203,7 @@ const RU = c2((r, a) => {
|
|
|
40187
40203
|
// If the current page is near the end, show the last five items.
|
|
40188
40204
|
y - 4
|
|
40189
40205
|
)
|
|
40190
|
-
),
|
|
40206
|
+
), H1 = Math.min(
|
|
40191
40207
|
// If the current page is near the end, end the range
|
|
40192
40208
|
// two place before the last page number.
|
|
40193
40209
|
y - 2,
|
|
@@ -40208,13 +40224,13 @@ const RU = c2((r, a) => {
|
|
|
40208
40224
|
// Always display the first page.
|
|
40209
40225
|
1,
|
|
40210
40226
|
// The second item will be 2 or an ellipse.
|
|
40211
|
-
|
|
40227
|
+
g1 > 3 ? "ellipse-start" : 2,
|
|
40212
40228
|
// The middle range of page numbers to display.
|
|
40213
40229
|
// Add +1 to the end since range() doesn't include the last number.
|
|
40214
|
-
...v_(
|
|
40230
|
+
...v_(g1, H1 + 1),
|
|
40215
40231
|
// The next to last item will be the next to last
|
|
40216
40232
|
// number or an ellipse.
|
|
40217
|
-
|
|
40233
|
+
H1 < y - 2 ? "ellipse-end" : y - 1,
|
|
40218
40234
|
// Always display the last page.
|
|
40219
40235
|
y
|
|
40220
40236
|
]
|
|
@@ -40224,7 +40240,7 @@ const RU = c2((r, a) => {
|
|
|
40224
40240
|
});
|
|
40225
40241
|
}, i1 = E !== 1 && /* @__PURE__ */ x.jsx("li", { children: Y("previous") }, "previous"), r1 = E !== y && /* @__PURE__ */ x.jsx("li", { children: Y("next") }, "next");
|
|
40226
40242
|
return /* @__PURE__ */ x.jsx(
|
|
40227
|
-
|
|
40243
|
+
v1,
|
|
40228
40244
|
{
|
|
40229
40245
|
as: "nav",
|
|
40230
40246
|
id: p,
|
|
@@ -40273,7 +40289,7 @@ const RU = c2((r, a) => {
|
|
|
40273
40289
|
// If `isIndeterminate` is true, then it overrides the `value` prop.
|
|
40274
40290
|
isIndeterminate: p || void 0,
|
|
40275
40291
|
value: p ? void 0 : k
|
|
40276
|
-
}, R = (O) => O === "circular" ? (y === "small" && (_["aria-label"] = d), /* @__PURE__ */ x.jsxs(
|
|
40292
|
+
}, R = (O) => O === "circular" ? (y === "small" && (_["aria-label"] = d), /* @__PURE__ */ x.jsxs(v1, { __css: E.circularContainer, children: [
|
|
40277
40293
|
/* @__PURE__ */ x.jsx(Mk, { ..._, sx: E.circular, children: v && !p && y !== "small" && /* @__PURE__ */ x.jsxs(Ek, { children: [
|
|
40278
40294
|
k,
|
|
40279
40295
|
"%"
|
|
@@ -40281,15 +40297,15 @@ const RU = c2((r, a) => {
|
|
|
40281
40297
|
v && y !== "small" && /* @__PURE__ */ x.jsx(Io, { id: `${s}-label`, htmlFor: s, children: d })
|
|
40282
40298
|
] })) : /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
40283
40299
|
v && /* @__PURE__ */ x.jsx(Io, { id: `${s}-label`, htmlFor: s, children: d }),
|
|
40284
|
-
/* @__PURE__ */ x.jsxs(
|
|
40300
|
+
/* @__PURE__ */ x.jsxs(v1, { __css: E.linearContainer, children: [
|
|
40285
40301
|
/* @__PURE__ */ x.jsx(Sk, { ..._, sx: E.linear }),
|
|
40286
|
-
v && !p && /* @__PURE__ */ x.jsxs(
|
|
40302
|
+
v && !p && /* @__PURE__ */ x.jsxs(v1, { __css: E.linearPercentage, children: [
|
|
40287
40303
|
k,
|
|
40288
40304
|
"%"
|
|
40289
40305
|
] })
|
|
40290
40306
|
] })
|
|
40291
40307
|
] });
|
|
40292
|
-
return /* @__PURE__ */ x.jsx(
|
|
40308
|
+
return /* @__PURE__ */ x.jsx(v1, { ref: a, __css: E, ...M, children: R(i) });
|
|
40293
40309
|
})
|
|
40294
40310
|
), ZU = F1(
|
|
40295
40311
|
c2(
|
|
@@ -40315,16 +40331,16 @@ const RU = c2((r, a) => {
|
|
|
40315
40331
|
showRequiredLabel: A = !0,
|
|
40316
40332
|
value: Y = "",
|
|
40317
40333
|
...j
|
|
40318
|
-
} = r, [i1, r1] = u4(0), p1 = w5(null),
|
|
40334
|
+
} = r, [i1, r1] = u4(0), p1 = w5(null), g1 = U2("CustomSelect", {
|
|
40319
40335
|
variant: P,
|
|
40320
40336
|
labelPosition: E
|
|
40321
|
-
}),
|
|
40322
|
-
footnote: L ?
|
|
40337
|
+
}), H1 = v || "There is an error related to this field.", P1 = Yo({
|
|
40338
|
+
footnote: L ? H1 : p,
|
|
40323
40339
|
id: d,
|
|
40324
40340
|
labelText: k,
|
|
40325
40341
|
name: "Select",
|
|
40326
40342
|
showLabel: $
|
|
40327
|
-
}), m1 = R ? { onChange: R, value: Y } : i ? { defaultValue: i } : {}, k1 = 8,
|
|
40343
|
+
}), m1 = R ? { onChange: R, value: Y } : i ? { defaultValue: i } : {}, k1 = 8, A1 = a5(
|
|
40328
40344
|
L ? "ui.error.primary" : "ui.black",
|
|
40329
40345
|
L ? "dark.ui.error.primary" : "dark.ui.typography.body"
|
|
40330
40346
|
);
|
|
@@ -40349,13 +40365,13 @@ const RU = c2((r, a) => {
|
|
|
40349
40365
|
marginStart: { sm: "auto", md: `${i1}px` }
|
|
40350
40366
|
},
|
|
40351
40367
|
id: d,
|
|
40352
|
-
invalidText:
|
|
40368
|
+
invalidText: H1,
|
|
40353
40369
|
isInvalid: L,
|
|
40354
40370
|
showHelperInvalidText: z,
|
|
40355
|
-
__css:
|
|
40371
|
+
__css: g1,
|
|
40356
40372
|
...j,
|
|
40357
|
-
children: /* @__PURE__ */ x.jsxs(
|
|
40358
|
-
$ && /* @__PURE__ */ x.jsx(
|
|
40373
|
+
children: /* @__PURE__ */ x.jsxs(v1, { __css: E === "inline" && g1.inline, children: [
|
|
40374
|
+
$ && /* @__PURE__ */ x.jsx(v1, { ref: p1, children: /* @__PURE__ */ x.jsx(
|
|
40359
40375
|
Io,
|
|
40360
40376
|
{
|
|
40361
40377
|
htmlFor: d,
|
|
@@ -40381,13 +40397,13 @@ const RU = c2((r, a) => {
|
|
|
40381
40397
|
icon: /* @__PURE__ */ x.jsx(
|
|
40382
40398
|
F3,
|
|
40383
40399
|
{
|
|
40384
|
-
color:
|
|
40400
|
+
color: A1,
|
|
40385
40401
|
id: `${d}-icon`,
|
|
40386
40402
|
name: "arrow",
|
|
40387
40403
|
size: "medium"
|
|
40388
40404
|
}
|
|
40389
40405
|
),
|
|
40390
|
-
__css:
|
|
40406
|
+
__css: g1.select,
|
|
40391
40407
|
children: o
|
|
40392
40408
|
}
|
|
40393
40409
|
)
|
|
@@ -40425,7 +40441,7 @@ const RU = c2((r, a) => {
|
|
|
40425
40441
|
isRequired: k,
|
|
40426
40442
|
showHelperInvalidText: !1,
|
|
40427
40443
|
showLabel: !1
|
|
40428
|
-
}, r1 = E ? L : v, p1 = r1 ? `${_} - ${r1}` : _,
|
|
40444
|
+
}, r1 = E ? L : v, p1 = r1 ? `${_} - ${r1}` : _, H1 = `${(A == null ? void 0 : A.placeholder) || "Search terms"} ${k ? "(required)" : ""}`, x1 = O ? "noBrand" : "primary", { isLargerThanMobile: P1 } = da(), m1 = P1 ? "small" : "medium";
|
|
40429
40445
|
y || console.warn(
|
|
40430
40446
|
"NYPL Reservoir SearchBar: This component's required `id` prop was not passed."
|
|
40431
40447
|
);
|
|
@@ -40442,7 +40458,7 @@ const RU = c2((r, a) => {
|
|
|
40442
40458
|
...i1,
|
|
40443
40459
|
children: z == null ? void 0 : z.optionsData.map((C1) => /* @__PURE__ */ x.jsx("option", { value: C1.value, children: C1.text }, C1.value))
|
|
40444
40460
|
}
|
|
40445
|
-
),
|
|
40461
|
+
), A1 = A && /* @__PURE__ */ x.jsx(
|
|
40446
40462
|
N0,
|
|
40447
40463
|
{
|
|
40448
40464
|
"aria-describedby": r1 ? `${y}-helperText` : void 0,
|
|
@@ -40458,7 +40474,7 @@ const RU = c2((r, a) => {
|
|
|
40458
40474
|
min: A == null ? void 0 : A.min,
|
|
40459
40475
|
onChange: A == null ? void 0 : A.onChange,
|
|
40460
40476
|
pattern: A == null ? void 0 : A.pattern,
|
|
40461
|
-
placeholder:
|
|
40477
|
+
placeholder: H1,
|
|
40462
40478
|
textInputType: k1 ? "searchBarSelect" : "searchBar",
|
|
40463
40479
|
type: "text",
|
|
40464
40480
|
value: A == null ? void 0 : A.value,
|
|
@@ -40473,7 +40489,7 @@ const RU = c2((r, a) => {
|
|
|
40473
40489
|
B3,
|
|
40474
40490
|
{
|
|
40475
40491
|
className: "searchButton",
|
|
40476
|
-
buttonType:
|
|
40492
|
+
buttonType: x1,
|
|
40477
40493
|
id: `searchbar-button-${y}`,
|
|
40478
40494
|
isDisabled: M,
|
|
40479
40495
|
onClick: s,
|
|
@@ -40492,7 +40508,7 @@ const RU = c2((r, a) => {
|
|
|
40492
40508
|
/* @__PURE__ */ x.jsx("span", { children: "Search" })
|
|
40493
40509
|
]
|
|
40494
40510
|
}
|
|
40495
|
-
), f2 = $ ||
|
|
40511
|
+
), f2 = $ || A1;
|
|
40496
40512
|
return /* @__PURE__ */ x.jsx(
|
|
40497
40513
|
N6,
|
|
40498
40514
|
{
|
|
@@ -40505,7 +40521,7 @@ const RU = c2((r, a) => {
|
|
|
40505
40521
|
ref: a,
|
|
40506
40522
|
...Y,
|
|
40507
40523
|
children: /* @__PURE__ */ x.jsxs(
|
|
40508
|
-
|
|
40524
|
+
v1,
|
|
40509
40525
|
{
|
|
40510
40526
|
as: "form",
|
|
40511
40527
|
id: `searchbar-form-${y}`,
|
|
@@ -40518,7 +40534,7 @@ const RU = c2((r, a) => {
|
|
|
40518
40534
|
__css: j,
|
|
40519
40535
|
children: [
|
|
40520
40536
|
k1,
|
|
40521
|
-
/* @__PURE__ */ x.jsxs(
|
|
40537
|
+
/* @__PURE__ */ x.jsxs(v1, { sx: { display: "flex", flexDirection: "row", width: "100%" }, children: [
|
|
40522
40538
|
f2,
|
|
40523
40539
|
T1
|
|
40524
40540
|
] })
|
|
@@ -40558,7 +40574,7 @@ const RU = c2((r, a) => {
|
|
|
40558
40574
|
width: i1,
|
|
40559
40575
|
sx: O.loader,
|
|
40560
40576
|
children: /* @__PURE__ */ x.jsx(
|
|
40561
|
-
|
|
40577
|
+
v1,
|
|
40562
40578
|
{
|
|
40563
40579
|
__css: O[z],
|
|
40564
40580
|
style: { marginBottom: r1 }
|
|
@@ -40569,7 +40585,7 @@ const RU = c2((r, a) => {
|
|
|
40569
40585
|
);
|
|
40570
40586
|
});
|
|
40571
40587
|
return /* @__PURE__ */ x.jsxs(
|
|
40572
|
-
|
|
40588
|
+
v1,
|
|
40573
40589
|
{
|
|
40574
40590
|
className: o,
|
|
40575
40591
|
id: d,
|
|
@@ -40578,11 +40594,11 @@ const RU = c2((r, a) => {
|
|
|
40578
40594
|
style: { width: _ },
|
|
40579
40595
|
...R,
|
|
40580
40596
|
children: [
|
|
40581
|
-
k && /* @__PURE__ */ x.jsx(lp, { sx: O.loader, children: /* @__PURE__ */ x.jsx(
|
|
40582
|
-
/* @__PURE__ */ x.jsxs(
|
|
40583
|
-
E && /* @__PURE__ */ x.jsx(
|
|
40584
|
-
M && /* @__PURE__ */ x.jsx(
|
|
40585
|
-
L && /* @__PURE__ */ x.jsx(
|
|
40597
|
+
k && /* @__PURE__ */ x.jsx(lp, { sx: O.loader, children: /* @__PURE__ */ x.jsx(v1, { __css: { ...O.element, ...O.image } }) }),
|
|
40598
|
+
/* @__PURE__ */ x.jsxs(v1, { className: y, __css: O.container, children: [
|
|
40599
|
+
E && /* @__PURE__ */ x.jsx(v1, { __css: O.section, children: P("heading", i, "80%") }),
|
|
40600
|
+
M && /* @__PURE__ */ x.jsx(v1, { __css: O.section, children: P("content", s, "30%") }),
|
|
40601
|
+
L && /* @__PURE__ */ x.jsx(v1, { __css: { ...O.section, ...O.button }, children: /* @__PURE__ */ x.jsx(lp, { borderRadius: "16px", sx: O.loader, children: /* @__PURE__ */ x.jsx(v1, { __css: O.button }) }) })
|
|
40586
40602
|
] })
|
|
40587
40603
|
]
|
|
40588
40604
|
}
|
|
@@ -40594,7 +40610,7 @@ const RU = c2((r, a) => {
|
|
|
40594
40610
|
(r, a) => {
|
|
40595
40611
|
const { className: o, id: s, target: i = "#mainContent", ...p } = r, d = R3("SkipNavigation");
|
|
40596
40612
|
return /* @__PURE__ */ x.jsx(
|
|
40597
|
-
|
|
40613
|
+
v1,
|
|
40598
40614
|
{
|
|
40599
40615
|
as: "nav",
|
|
40600
40616
|
"aria-label": "Skip Navigation",
|
|
@@ -40653,15 +40669,15 @@ const RU = c2((r, a) => {
|
|
|
40653
40669
|
), O && P && console.warn(
|
|
40654
40670
|
"NYPL Reservoir Slider: Both `onChange` and `onChangeEnd` props were passed."
|
|
40655
40671
|
);
|
|
40656
|
-
const [
|
|
40672
|
+
const [g1, H1] = hc(r1), x1 = Vh().colorMode === "dark";
|
|
40657
40673
|
let P1 = y;
|
|
40658
|
-
L &&
|
|
40674
|
+
L && g1[0] > g1[1] && (P1 = !0, console.warn(
|
|
40659
40675
|
"NYPL Reservoir Slider: The RangeSlider's first value is greater than the second value."
|
|
40660
40676
|
)), _ > k && (P1 = !0, console.warn(
|
|
40661
40677
|
"NYPL Reservoir Slider: The `min` prop is greater than the `max` prop."
|
|
40662
40678
|
));
|
|
40663
40679
|
const m1 = U2("CustomSlider", {
|
|
40664
|
-
isDarkMode:
|
|
40680
|
+
isDarkMode: x1,
|
|
40665
40681
|
isDisabled: v,
|
|
40666
40682
|
isInvalid: P1,
|
|
40667
40683
|
showBoxes: z,
|
|
@@ -40675,7 +40691,7 @@ const RU = c2((r, a) => {
|
|
|
40675
40691
|
min: _,
|
|
40676
40692
|
name: R,
|
|
40677
40693
|
onChange: (C1) => {
|
|
40678
|
-
|
|
40694
|
+
H1(C1), O && O(C1);
|
|
40679
40695
|
},
|
|
40680
40696
|
onChangeEnd: (C1) => {
|
|
40681
40697
|
P && P(C1);
|
|
@@ -40684,7 +40700,7 @@ const RU = c2((r, a) => {
|
|
|
40684
40700
|
// Additional margins so slider thumbs don't overflow past the
|
|
40685
40701
|
// edge when the value boxes or min/max values are hidden.
|
|
40686
40702
|
sx: m1.sliderContainer
|
|
40687
|
-
},
|
|
40703
|
+
}, A1 = {
|
|
40688
40704
|
isDisabled: v,
|
|
40689
40705
|
isInvalid: P1,
|
|
40690
40706
|
isRequired: M,
|
|
@@ -40699,25 +40715,25 @@ const RU = c2((r, a) => {
|
|
|
40699
40715
|
const E1 = {
|
|
40700
40716
|
start: {
|
|
40701
40717
|
// We only want the value for this box in the `isRangeSlider` case.
|
|
40702
|
-
value: L ?
|
|
40718
|
+
value: L ? g1[0].toString() : "",
|
|
40703
40719
|
onChange: (K1) => {
|
|
40704
|
-
const R1 = [parseInt(K1.target.value, 10) ? parseInt(K1.target.value, 10) : 0,
|
|
40705
|
-
|
|
40720
|
+
const R1 = [parseInt(K1.target.value, 10) ? parseInt(K1.target.value, 10) : 0, g1[1]];
|
|
40721
|
+
H1(R1), O && O && O(R1), P && P && P(R1);
|
|
40706
40722
|
},
|
|
40707
|
-
|
|
40723
|
+
...A1
|
|
40708
40724
|
},
|
|
40709
40725
|
end: {
|
|
40710
40726
|
// This text input *always* shows. In the default case, we only
|
|
40711
40727
|
// keep track of one value. For the `isRangeSlider` case, we keep
|
|
40712
40728
|
// track of an array but only want the second value.
|
|
40713
|
-
value: L ?
|
|
40729
|
+
value: L ? g1[1].toString() : g1.toString(),
|
|
40714
40730
|
onChange: (K1) => {
|
|
40715
40731
|
let G1 = parseInt(K1.target.value, 10) ? parseInt(K1.target.value, 10) : 0;
|
|
40716
40732
|
G1 > k && (G1 = k);
|
|
40717
|
-
const R1 = L ? [
|
|
40718
|
-
|
|
40733
|
+
const R1 = L ? [g1[0], G1] : G1;
|
|
40734
|
+
H1(R1), O && O && O(R1), P && P && P(R1);
|
|
40719
40735
|
},
|
|
40720
|
-
|
|
40736
|
+
...A1
|
|
40721
40737
|
}
|
|
40722
40738
|
}, y1 = L ? `${E} - ${C1} value` : `${E} - value`;
|
|
40723
40739
|
return /* @__PURE__ */ x.jsx(
|
|
@@ -40742,7 +40758,7 @@ const RU = c2((r, a) => {
|
|
|
40742
40758
|
`${E} - slider handle for start value`,
|
|
40743
40759
|
`${E} - slider handle for end value`
|
|
40744
40760
|
],
|
|
40745
|
-
value:
|
|
40761
|
+
value: g1,
|
|
40746
40762
|
size: "lg",
|
|
40747
40763
|
...k1,
|
|
40748
40764
|
children: [
|
|
@@ -40755,7 +40771,7 @@ const RU = c2((r, a) => {
|
|
|
40755
40771
|
Rk,
|
|
40756
40772
|
{
|
|
40757
40773
|
"aria-label": `${E} - slider handle`,
|
|
40758
|
-
value:
|
|
40774
|
+
value: g1,
|
|
40759
40775
|
size: "lg",
|
|
40760
40776
|
...k1,
|
|
40761
40777
|
children: [
|
|
@@ -40786,11 +40802,11 @@ const RU = c2((r, a) => {
|
|
|
40786
40802
|
children: E
|
|
40787
40803
|
}
|
|
40788
40804
|
),
|
|
40789
|
-
/* @__PURE__ */ x.jsxs(
|
|
40805
|
+
/* @__PURE__ */ x.jsxs(v1, { __css: m1.container, children: [
|
|
40790
40806
|
z && L && T1("start"),
|
|
40791
|
-
j && /* @__PURE__ */ x.jsx(
|
|
40807
|
+
j && /* @__PURE__ */ x.jsx(v1, { __css: m1.leftValue, children: _ }),
|
|
40792
40808
|
f2(),
|
|
40793
|
-
j && /* @__PURE__ */ x.jsx(
|
|
40809
|
+
j && /* @__PURE__ */ x.jsx(v1, { __css: m1.rightValue, children: k }),
|
|
40794
40810
|
z && T1("end")
|
|
40795
40811
|
] })
|
|
40796
40812
|
]
|
|
@@ -40867,7 +40883,7 @@ const RU = c2((r, a) => {
|
|
|
40867
40883
|
c2(
|
|
40868
40884
|
(r, a) => {
|
|
40869
40885
|
const { children: o, className: s, id: i, level: p, type: d, ...v } = r, L = R3("StatusBadge", { variant: p || d || "low" });
|
|
40870
|
-
return o || console.warn("NYPL Reservoir StatusBadge: No children were passed."), /* @__PURE__ */ x.jsx(
|
|
40886
|
+
return o || console.warn("NYPL Reservoir StatusBadge: No children were passed."), /* @__PURE__ */ x.jsx(v1, { id: i, className: s, ref: a, __css: L, ...v, children: o });
|
|
40871
40887
|
}
|
|
40872
40888
|
)
|
|
40873
40889
|
), NU = F1((r) => {
|
|
@@ -40928,7 +40944,7 @@ const RU = c2((r, a) => {
|
|
|
40928
40944
|
className: "structuredcontent-body",
|
|
40929
40945
|
dangerouslySetInnerHTML: { __html: v }
|
|
40930
40946
|
}
|
|
40931
|
-
) : /* @__PURE__ */ x.jsx(
|
|
40947
|
+
) : /* @__PURE__ */ x.jsx(v1, { className: "structuredcontent-body", children: v }), _ = R0({
|
|
40932
40948
|
title: i,
|
|
40933
40949
|
id: p
|
|
40934
40950
|
}), R = o ? typeof o == "string" ? /* @__PURE__ */ x.jsx(s9, { id: `${p}-callout`, level: "h3", size: "heading5", children: o }) : o : void 0, O = R0({
|
|
@@ -40936,7 +40952,7 @@ const RU = c2((r, a) => {
|
|
|
40936
40952
|
});
|
|
40937
40953
|
return L && !d.alt && console.warn(
|
|
40938
40954
|
"NYPL Reservoir StructuredContent: The `imageProps.alt` prop is required when using an image."
|
|
40939
|
-
), /* @__PURE__ */ x.jsxs(
|
|
40955
|
+
), /* @__PURE__ */ x.jsxs(v1, { id: p, className: s, ref: a, __css: E, ...y, children: [
|
|
40940
40956
|
_,
|
|
40941
40957
|
O,
|
|
40942
40958
|
L && /* @__PURE__ */ x.jsx(
|
|
@@ -40975,7 +40991,7 @@ const RU = c2((r, a) => {
|
|
|
40975
40991
|
let L;
|
|
40976
40992
|
return o && p.length > 0 ? (console.warn(
|
|
40977
40993
|
"NYPL Reservoir StyledList: Pass in either `<li>` children or use the `listItems` data prop. Do not use both."
|
|
40978
|
-
), null) : (Qw(o, "ul", "StyledList"), L = o || p.map((M, E) => /* @__PURE__ */ x.jsx("li", { children: M }, E)), /* @__PURE__ */ x.jsx(
|
|
40994
|
+
), null) : (Qw(o, "ul", "StyledList"), L = o || p.map((M, E) => /* @__PURE__ */ x.jsx("li", { children: M }, E)), /* @__PURE__ */ x.jsx(v1, { as: "ul", className: s, id: i, ref: a, __css: y, children: L }));
|
|
40979
40995
|
}
|
|
40980
40996
|
)
|
|
40981
40997
|
), PU = (r) => {
|
|
@@ -41109,7 +41125,7 @@ const RU = c2((r, a) => {
|
|
|
41109
41125
|
...y,
|
|
41110
41126
|
children: [
|
|
41111
41127
|
/* @__PURE__ */ x.jsxs(
|
|
41112
|
-
|
|
41128
|
+
v1,
|
|
41113
41129
|
{
|
|
41114
41130
|
__css: E.tablistWrapper,
|
|
41115
41131
|
sx: {
|
|
@@ -41119,7 +41135,7 @@ const RU = c2((r, a) => {
|
|
|
41119
41135
|
},
|
|
41120
41136
|
children: [
|
|
41121
41137
|
z,
|
|
41122
|
-
/* @__PURE__ */ x.jsx(
|
|
41138
|
+
/* @__PURE__ */ x.jsx(v1, { __css: E.carouselParent, ref: A, children: k }),
|
|
41123
41139
|
$
|
|
41124
41140
|
]
|
|
41125
41141
|
}
|
|
@@ -41142,7 +41158,7 @@ const RU = c2((r, a) => {
|
|
|
41142
41158
|
return /* @__PURE__ */ x.jsx(x.Fragment, { children: a.map((s, i) => (typeof s.label == "string" && console.warn(
|
|
41143
41159
|
"NYPL Reservoir TagSet: Explore tags require all `label` props to be React components."
|
|
41144
41160
|
), /* @__PURE__ */ x.jsx(qw, { label: s.label, children: /* @__PURE__ */ x.jsxs(
|
|
41145
|
-
|
|
41161
|
+
v1,
|
|
41146
41162
|
{
|
|
41147
41163
|
"data-testid": "explore-tags",
|
|
41148
41164
|
id: `ts-explore-${s.id}-${i}`,
|
|
@@ -41268,27 +41284,27 @@ const PI = F1(
|
|
|
41268
41284
|
c2(
|
|
41269
41285
|
(r, a) => {
|
|
41270
41286
|
const o = R3("Template", {});
|
|
41271
|
-
return /* @__PURE__ */ x.jsx(
|
|
41287
|
+
return /* @__PURE__ */ x.jsx(v1, { id: r.id, ref: a, __css: o, ...r, children: r.children });
|
|
41272
41288
|
}
|
|
41273
41289
|
)
|
|
41274
41290
|
), IU = (r) => {
|
|
41275
41291
|
const a = R3("TemplateBreakout", {});
|
|
41276
|
-
return /* @__PURE__ */ x.jsx(
|
|
41292
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: a, children: r.children });
|
|
41277
41293
|
}, $U = ({
|
|
41278
41294
|
children: r,
|
|
41279
41295
|
renderHeaderElement: a = !0
|
|
41280
41296
|
}) => {
|
|
41281
41297
|
const o = R3("TemplateBreakout", {});
|
|
41282
|
-
let s = /* @__PURE__ */ x.jsx(
|
|
41298
|
+
let s = /* @__PURE__ */ x.jsx(v1, { __css: o, children: r });
|
|
41283
41299
|
return a && (X.Children.map(r, (i) => {
|
|
41284
41300
|
var p;
|
|
41285
41301
|
((i == null ? void 0 : i.type) === "header" || ((p = i == null ? void 0 : i.props) == null ? void 0 : p.mdxType) === "header") && console.warn(
|
|
41286
41302
|
"NYPL Reservoir TemplateHeader: An HTML `header` element was passed in. Set `renderHeaderElement` to `false` to avoid nested HTML `header` elements."
|
|
41287
41303
|
);
|
|
41288
|
-
}), s = /* @__PURE__ */ x.jsx(
|
|
41304
|
+
}), s = /* @__PURE__ */ x.jsx(v1, { as: "header", __css: o, children: r })), s;
|
|
41289
41305
|
}, YU = (r) => {
|
|
41290
41306
|
const a = R3("TemplateBreakout", {});
|
|
41291
|
-
return /* @__PURE__ */ x.jsx(
|
|
41307
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: a, children: r.children });
|
|
41292
41308
|
}, WU = (r) => {
|
|
41293
41309
|
const { children: a, id: o = "mainContent", sidebar: s = "none" } = r, i = R3("TemplateContent", {
|
|
41294
41310
|
variant: s
|
|
@@ -41300,35 +41316,35 @@ const PI = F1(
|
|
|
41300
41316
|
return (d && (d == null ? void 0 : d.type) === Gw || d != null && d.props && ((y = d.props) == null ? void 0 : y.mdxType) === "TemplateContentPrimary" || (d == null ? void 0 : d.type) === Xw || d != null && d.props && ((L = d.props) == null ? void 0 : L.mdxType) === "TemplateContentSidebar") && (v = X.cloneElement(d, { sidebar: s })), v;
|
|
41301
41317
|
}
|
|
41302
41318
|
);
|
|
41303
|
-
return /* @__PURE__ */ x.jsx(
|
|
41319
|
+
return /* @__PURE__ */ x.jsx(v1, { as: "main", id: o, __css: i, children: p });
|
|
41304
41320
|
}, QU = (r) => {
|
|
41305
41321
|
const a = R3("TemplateContentTopBottom", {});
|
|
41306
|
-
return /* @__PURE__ */ x.jsx(
|
|
41322
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: a, children: r.children });
|
|
41307
41323
|
}, qU = (r) => {
|
|
41308
41324
|
const a = R3("TemplateContentTopBottom", {});
|
|
41309
|
-
return /* @__PURE__ */ x.jsx(
|
|
41325
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: a, children: r.children });
|
|
41310
41326
|
}, Gw = (r) => {
|
|
41311
41327
|
const { sidebar: a } = r, o = R3("TemplateContentPrimary", {
|
|
41312
41328
|
variant: a
|
|
41313
41329
|
});
|
|
41314
|
-
return /* @__PURE__ */ x.jsx(
|
|
41330
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: o, children: r.children });
|
|
41315
41331
|
}, Xw = (r) => {
|
|
41316
41332
|
const { sidebar: a } = r, o = R3("TemplateContentSidebar", {
|
|
41317
41333
|
variant: a
|
|
41318
41334
|
});
|
|
41319
|
-
return /* @__PURE__ */ x.jsx(
|
|
41335
|
+
return /* @__PURE__ */ x.jsx(v1, { __css: o, children: r.children });
|
|
41320
41336
|
}, GU = ({
|
|
41321
41337
|
children: r,
|
|
41322
41338
|
renderFooterElement: a = !0
|
|
41323
41339
|
}) => {
|
|
41324
41340
|
const o = R3("TemplateBreakout", {});
|
|
41325
|
-
let s = /* @__PURE__ */ x.jsx(
|
|
41341
|
+
let s = /* @__PURE__ */ x.jsx(v1, { __css: o, children: r });
|
|
41326
41342
|
return a && (X.Children.map(r, (i) => {
|
|
41327
41343
|
var p;
|
|
41328
41344
|
((i == null ? void 0 : i.type) === "footer" || ((p = i == null ? void 0 : i.props) == null ? void 0 : p.mdxType) === "footer") && console.warn(
|
|
41329
41345
|
"NYPL Reservoir TemplateFooter: An HTML `footer` element was passed in. Set `renderFooterElement` to `false` to avoid nested HTML `footer` elements."
|
|
41330
41346
|
);
|
|
41331
|
-
}), s = /* @__PURE__ */ x.jsx(
|
|
41347
|
+
}), s = /* @__PURE__ */ x.jsx(v1, { as: "footer", __css: o, children: r })), s;
|
|
41332
41348
|
}, BI = F1(
|
|
41333
41349
|
c2((r, a) => {
|
|
41334
41350
|
const {
|
|
@@ -41404,7 +41420,7 @@ const PI = F1(
|
|
|
41404
41420
|
invalidText: p,
|
|
41405
41421
|
isInvalid: y,
|
|
41406
41422
|
...R,
|
|
41407
|
-
children: /* @__PURE__ */ x.jsx(
|
|
41423
|
+
children: /* @__PURE__ */ x.jsx(v1, { __css: O, children: /* @__PURE__ */ x.jsx(
|
|
41408
41424
|
Fk,
|
|
41409
41425
|
{
|
|
41410
41426
|
id: i,
|
|
@@ -41649,7 +41665,7 @@ const $I = F1(
|
|
|
41649
41665
|
"NYPL Reservoir VideoPlayer: The `embedCode` prop is not configured properly."
|
|
41650
41666
|
), A = !0);
|
|
41651
41667
|
const j = U2("VideoPlayer", { variant: A ? "invalid" : o }), i1 = z ? /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: z } }) : /* @__PURE__ */ x.jsx(
|
|
41652
|
-
|
|
41668
|
+
v1,
|
|
41653
41669
|
{
|
|
41654
41670
|
as: "iframe",
|
|
41655
41671
|
src: O,
|
|
@@ -41661,7 +41677,7 @@ const $I = F1(
|
|
|
41661
41677
|
}
|
|
41662
41678
|
);
|
|
41663
41679
|
return /* @__PURE__ */ x.jsx(
|
|
41664
|
-
|
|
41680
|
+
v1,
|
|
41665
41681
|
{
|
|
41666
41682
|
className: s,
|
|
41667
41683
|
"data-testid": "video-player-component",
|
|
@@ -41676,7 +41692,7 @@ const $I = F1(
|
|
|
41676
41692
|
descriptionText: i || void 0,
|
|
41677
41693
|
helperText: v && M ? v : void 0,
|
|
41678
41694
|
id: `${y}-componentWrapper`,
|
|
41679
|
-
children: /* @__PURE__ */ x.jsx(
|
|
41695
|
+
children: /* @__PURE__ */ x.jsx(v1, { __css: j.inside, children: i1 })
|
|
41680
41696
|
}
|
|
41681
41697
|
)
|
|
41682
41698
|
}
|