@goodhood-web/nebenan-core 1.1.0-development.49 → 1.1.0-development.50
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/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Ae, { createElement as ja, useRef as st, useEffect as ot, useState as Da, useCallback as ye, useMemo as Vn, createContext as Gi, useLayoutEffect as Yi, forwardRef as zi, useContext as Wi } from "react";
|
|
2
2
|
import { Sticker as qi, Typography as le, Fieldset as _t, InputFieldSpecial as Ji, TextButton as ln, Modal as Xi, Card as Pa, CardBody as Ba, Divider as Un, CheckboxInput as Qi, SelectablePillGroup as es, ButtonPrimary as ts, Icon as rs, SwitcherToggle as ns, Form as as } from "@goodhood-web/ui";
|
|
3
3
|
var be = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
4
|
function is(e) {
|
|
@@ -18,7 +18,7 @@ var Zn;
|
|
|
18
18
|
function ss() {
|
|
19
19
|
if (Zn) return Yt;
|
|
20
20
|
Zn = 1;
|
|
21
|
-
var e =
|
|
21
|
+
var e = Ae, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
22
|
function s(u, f, c) {
|
|
23
23
|
var _, b = {}, E = null, P = null;
|
|
24
24
|
c !== void 0 && (E = "" + c), f.key !== void 0 && (E = "" + f.key), f.ref !== void 0 && (P = f.ref);
|
|
@@ -41,7 +41,7 @@ var zt = {};
|
|
|
41
41
|
var Gn;
|
|
42
42
|
function os() {
|
|
43
43
|
return Gn || (Gn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var e =
|
|
44
|
+
var e = Ae, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), R = Symbol.iterator, X = "@@iterator";
|
|
45
45
|
function Q(o) {
|
|
46
46
|
if (o === null || typeof o != "object")
|
|
47
47
|
return null;
|
|
@@ -66,14 +66,14 @@ function os() {
|
|
|
66
66
|
ae.unshift("Warning: " + v), Function.prototype.apply.call(console[o], console, ae);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var D = !1, g = !1, K = !1, O = !1, ne = !1,
|
|
70
|
-
|
|
69
|
+
var D = !1, g = !1, K = !1, O = !1, ne = !1, Le;
|
|
70
|
+
Le = Symbol.for("react.module.reference");
|
|
71
71
|
function Oe(o) {
|
|
72
72
|
return !!(typeof o == "string" || typeof o == "function" || o === n || o === i || ne || o === a || o === c || o === _ || O || o === P || D || g || K || typeof o == "object" && o !== null && (o.$$typeof === E || o.$$typeof === b || o.$$typeof === s || o.$$typeof === u || o.$$typeof === f || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
76
|
-
o.$$typeof ===
|
|
76
|
+
o.$$typeof === Le || o.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
78
|
function De(o, v, I) {
|
|
79
79
|
var F = o.displayName;
|
|
@@ -82,7 +82,7 @@ function os() {
|
|
|
82
82
|
var ee = v.displayName || v.name || "";
|
|
83
83
|
return ee !== "" ? I + "(" + ee + ")" : I;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Ne(o) {
|
|
86
86
|
return o.displayName || "Context";
|
|
87
87
|
}
|
|
88
88
|
function N(o) {
|
|
@@ -110,10 +110,10 @@ function os() {
|
|
|
110
110
|
switch (o.$$typeof) {
|
|
111
111
|
case u:
|
|
112
112
|
var v = o;
|
|
113
|
-
return
|
|
113
|
+
return Ne(v) + ".Consumer";
|
|
114
114
|
case s:
|
|
115
115
|
var I = o;
|
|
116
|
-
return
|
|
116
|
+
return Ne(I._context) + ".Provider";
|
|
117
117
|
case f:
|
|
118
118
|
return De(o, o.render, "ForwardRef");
|
|
119
119
|
case b:
|
|
@@ -237,37 +237,37 @@ function os() {
|
|
|
237
237
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
238
|
try {
|
|
239
239
|
Reflect.construct(W, []);
|
|
240
|
-
} catch (
|
|
241
|
-
F =
|
|
240
|
+
} catch (je) {
|
|
241
|
+
F = je;
|
|
242
242
|
}
|
|
243
243
|
Reflect.construct(o, [], W);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
246
|
W.call();
|
|
247
|
-
} catch (
|
|
248
|
-
F =
|
|
247
|
+
} catch (je) {
|
|
248
|
+
F = je;
|
|
249
249
|
}
|
|
250
250
|
o.call(W.prototype);
|
|
251
251
|
}
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
254
254
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
F =
|
|
255
|
+
} catch (je) {
|
|
256
|
+
F = je;
|
|
257
257
|
}
|
|
258
258
|
o();
|
|
259
259
|
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var z =
|
|
263
|
-
`),
|
|
264
|
-
`), fe = z.length - 1, ve =
|
|
260
|
+
} catch (je) {
|
|
261
|
+
if (je && F && typeof je.stack == "string") {
|
|
262
|
+
for (var z = je.stack.split(`
|
|
263
|
+
`), Re = F.stack.split(`
|
|
264
|
+
`), fe = z.length - 1, ve = Re.length - 1; fe >= 1 && ve >= 0 && z[fe] !== Re[ve]; )
|
|
265
265
|
ve--;
|
|
266
266
|
for (; fe >= 1 && ve >= 0; fe--, ve--)
|
|
267
|
-
if (z[fe] !==
|
|
267
|
+
if (z[fe] !== Re[ve]) {
|
|
268
268
|
if (fe !== 1 || ve !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (fe--, ve--, ve < 0 || z[fe] !==
|
|
270
|
+
if (fe--, ve--, ve < 0 || z[fe] !== Re[ve]) {
|
|
271
271
|
var Me = `
|
|
272
272
|
` + z[fe].replace(" at new ", " at ");
|
|
273
273
|
return o.displayName && Me.includes("<anonymous>") && (Me = Me.replace("<anonymous>", o.displayName)), typeof o == "function" && _e.set(o, Me), Me;
|
|
@@ -334,8 +334,8 @@ function os() {
|
|
|
334
334
|
var z = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof o[W] != "function") {
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
337
|
+
var Re = Error((F || "React class") + ": " + I + " type `" + W + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[W] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
|
+
throw Re.name = "Invariant Violation", Re;
|
|
339
339
|
}
|
|
340
340
|
z = o[W](v, W, F, I, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
341
|
} catch (fe) {
|
|
@@ -451,8 +451,8 @@ function os() {
|
|
|
451
451
|
};
|
|
452
452
|
function Pi(o, v, I, F, ee) {
|
|
453
453
|
{
|
|
454
|
-
var ae, W = {}, z = null,
|
|
455
|
-
I !== void 0 && (V(I), z = "" + I), Gr(v) && (V(v.key), z = "" + v.key), Zr(v) && (
|
|
454
|
+
var ae, W = {}, z = null, Re = null;
|
|
455
|
+
I !== void 0 && (V(I), z = "" + I), Gr(v) && (V(v.key), z = "" + v.key), Zr(v) && (Re = v.ref, Or(v, ee));
|
|
456
456
|
for (ae in v)
|
|
457
457
|
vt.call(v, ae) && !me.hasOwnProperty(ae) && (W[ae] = v[ae]);
|
|
458
458
|
if (o && o.defaultProps) {
|
|
@@ -460,11 +460,11 @@ function os() {
|
|
|
460
460
|
for (ae in fe)
|
|
461
461
|
W[ae] === void 0 && (W[ae] = fe[ae]);
|
|
462
462
|
}
|
|
463
|
-
if (z ||
|
|
463
|
+
if (z || Re) {
|
|
464
464
|
var ve = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
465
|
-
z && Yr(W, ve),
|
|
465
|
+
z && Yr(W, ve), Re && ji(W, ve);
|
|
466
466
|
}
|
|
467
|
-
return Di(o, z,
|
|
467
|
+
return Di(o, z, Re, ee, F, Y.current, W);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
var zr = m.ReactCurrentOwner, Bn = m.ReactDebugCurrentFrame;
|
|
@@ -584,8 +584,8 @@ Check the top-level render call using <` + I + ">.");
|
|
|
584
584
|
if (!W) {
|
|
585
585
|
var z = "";
|
|
586
586
|
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (z += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
587
|
-
var
|
|
588
|
-
|
|
587
|
+
var Re = Bi();
|
|
588
|
+
Re ? z += Re : z += kn();
|
|
589
589
|
var fe;
|
|
590
590
|
o === null ? fe = "null" : d(o) ? fe = "array" : o !== void 0 && o.$$typeof === t ? (fe = "<" + (N(o.type) || "Unknown") + " />", z = " Did you accidentally export a JSX literal instead of a component?") : fe = typeof o, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", fe, z);
|
|
591
591
|
}
|
|
@@ -606,11 +606,11 @@ Check the top-level render call using <` + I + ">.");
|
|
|
606
606
|
Kn(Me, o);
|
|
607
607
|
}
|
|
608
608
|
if (vt.call(v, "key")) {
|
|
609
|
-
var gt = N(o),
|
|
609
|
+
var gt = N(o), je = Object.keys(v).filter(function(Zi) {
|
|
610
610
|
return Zi !== "key";
|
|
611
|
-
}), Jr =
|
|
611
|
+
}), Jr = je.length > 0 ? "{key: someKey, " + je.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
612
612
|
if (!Fn[gt + Jr]) {
|
|
613
|
-
var Ui =
|
|
613
|
+
var Ui = je.length > 0 ? "{" + je.join(": ..., ") + ": ...}" : "{}";
|
|
614
614
|
T(`A props object containing a "key" prop is being spread into JSX:
|
|
615
615
|
let props = %s;
|
|
616
616
|
<%s {...props} />
|
|
@@ -666,15 +666,16 @@ const us = "_persuasionContent_10etw_106", Xr = {
|
|
|
666
666
|
return /* @__PURE__ */ h.jsx("div", { className: n, children: r });
|
|
667
667
|
}, ls = "_persuationImage_sbo87_106", ds = {
|
|
668
668
|
persuationImage: ls
|
|
669
|
-
}, fs = ({ data: e }) => /* @__PURE__ */ h.jsx("div", { className: ds.persuationImage, children: e.map((t) => /* @__PURE__ */ h.jsx("img", { src: t.src, alt: t.alt }, t.
|
|
669
|
+
}, fs = ({ data: e }) => /* @__PURE__ */ h.jsx("div", { className: ds.persuationImage, children: e.map((t) => /* @__PURE__ */ h.jsx("img", { src: t.src, alt: t.alt }, t.id)) }), hs = ({ block: e }) => {
|
|
670
670
|
const t = () => {
|
|
671
671
|
var n;
|
|
672
672
|
const r = [];
|
|
673
|
-
return (n = e.fields.images) == null || n.map((a) => {
|
|
674
|
-
var
|
|
673
|
+
return (n = e.fields.images) == null || n.map((a, i) => {
|
|
674
|
+
var s, u;
|
|
675
675
|
r.push({
|
|
676
676
|
alt: (a == null ? void 0 : a.fields.description) ?? "",
|
|
677
|
-
|
|
677
|
+
id: `${a == null ? void 0 : a.sys.id}_${i}`,
|
|
678
|
+
src: (s = a == null ? void 0 : a.fields.file) != null && s.url ? `https:${(u = a.fields.file) == null ? void 0 : u.url}` : ""
|
|
678
679
|
});
|
|
679
680
|
}), r;
|
|
680
681
|
};
|
|
@@ -692,27 +693,28 @@ const us = "_persuasionContent_10etw_106", Xr = {
|
|
|
692
693
|
[Cr["persuasionListItem--hasIcon"]]: r
|
|
693
694
|
});
|
|
694
695
|
return /* @__PURE__ */ h.jsxs("li", { className: n, children: [
|
|
695
|
-
r
|
|
696
|
+
r ? /* @__PURE__ */ h.jsx(qi, { color: "green", icon: r, size: "small" }) : /* @__PURE__ */ h.jsx("div", { className: Cr.persuasionListItem__ellipse }),
|
|
696
697
|
/* @__PURE__ */ h.jsxs("div", { className: Cr.persuasionListItem__text, children: [
|
|
697
698
|
t && /* @__PURE__ */ h.jsx(le, { type: "h5", children: t }),
|
|
698
699
|
e && /* @__PURE__ */ h.jsx(le, { type: "body-regular", children: e })
|
|
699
700
|
] })
|
|
700
701
|
] });
|
|
701
|
-
}, Es = ({ list: e }) => /* @__PURE__ */ h.jsx("ul", { className: _s.persuasionList, children: e.map((t) => /* @__PURE__ */ ja(gs, { ...t, key: t.
|
|
702
|
+
}, Es = ({ list: e }) => /* @__PURE__ */ h.jsx("ul", { className: _s.persuasionList, children: e.map((t) => /* @__PURE__ */ ja(gs, { ...t, key: t.id })) }), Ss = ({ block: e }) => {
|
|
702
703
|
const t = () => {
|
|
703
704
|
var n;
|
|
704
705
|
const r = [];
|
|
705
|
-
return (n = e.fields.items) == null || n.map((a) => r.push({
|
|
706
|
+
return (n = e.fields.items) == null || n.map((a, i) => r.push({
|
|
706
707
|
body: a == null ? void 0 : a.fields.body,
|
|
707
708
|
headline: a == null ? void 0 : a.fields.headline,
|
|
708
|
-
icon: a == null ? void 0 : a.fields.icon
|
|
709
|
+
icon: a == null ? void 0 : a.fields.icon,
|
|
710
|
+
id: `${a == null ? void 0 : a.sys.id}_${i}`
|
|
709
711
|
})), r;
|
|
710
712
|
};
|
|
711
713
|
return /* @__PURE__ */ h.jsx(Es, { list: t() });
|
|
712
714
|
};
|
|
713
715
|
var On = {};
|
|
714
716
|
(function(e) {
|
|
715
|
-
var t =
|
|
717
|
+
var t = Ae, r = function() {
|
|
716
718
|
return r = Object.assign || function(S) {
|
|
717
719
|
for (var U, p = 1, de = arguments.length; p < de; p++) {
|
|
718
720
|
U = arguments[p];
|
|
@@ -869,8 +871,8 @@ var On = {};
|
|
|
869
871
|
throw new Error('Could not dynamically require "' + l + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
870
872
|
}
|
|
871
873
|
var ne = {};
|
|
872
|
-
Object.defineProperty(ne, "__esModule", { value: !0 }), ne.getSchemaWithNodeType =
|
|
873
|
-
function
|
|
874
|
+
Object.defineProperty(ne, "__esModule", { value: !0 }), ne.getSchemaWithNodeType = Le;
|
|
875
|
+
function Le(l) {
|
|
874
876
|
try {
|
|
875
877
|
return O("./generated/".concat(l, ".json"));
|
|
876
878
|
} catch {
|
|
@@ -927,10 +929,10 @@ var On = {};
|
|
|
927
929
|
}
|
|
928
930
|
function De(l, S) {
|
|
929
931
|
return l.map(function(U, p) {
|
|
930
|
-
return Oe(
|
|
932
|
+
return Oe(Ne(U, S), p);
|
|
931
933
|
});
|
|
932
934
|
}
|
|
933
|
-
function
|
|
935
|
+
function Ne(l, S) {
|
|
934
936
|
var U = S.renderNode, p = S.renderMark, de = S.renderText, oe = S.preserveWhitespace;
|
|
935
937
|
if (a.helpers.isText(l)) {
|
|
936
938
|
var Ee = de ? de(l.value) : l.value;
|
|
@@ -1042,7 +1044,7 @@ var On = {};
|
|
|
1042
1044
|
);
|
|
1043
1045
|
}
|
|
1044
1046
|
function Xe(l, S) {
|
|
1045
|
-
return S === void 0 && (S = {}), l ?
|
|
1047
|
+
return S === void 0 && (S = {}), l ? Ne(l, {
|
|
1046
1048
|
renderNode: r(r({}, ge), S.renderNode),
|
|
1047
1049
|
renderMark: r(r({}, Ke), S.renderMark),
|
|
1048
1050
|
renderText: S.renderText,
|
|
@@ -1288,16 +1290,18 @@ const Ls = "_persuasionText_tz1xc_106", Rs = {
|
|
|
1288
1290
|
switch (n == null ? void 0 : n.sys.contentType.sys.id) {
|
|
1289
1291
|
case "componentPersuasionImage": {
|
|
1290
1292
|
const a = n;
|
|
1291
|
-
return /* @__PURE__ */ h.jsx(hs, { block: a });
|
|
1293
|
+
return /* @__PURE__ */ h.jsx(hs, { block: a }, n.sys.id);
|
|
1292
1294
|
}
|
|
1293
1295
|
case "componentPersuasionText": {
|
|
1294
1296
|
const a = n;
|
|
1295
|
-
return /* @__PURE__ */ h.jsx(Ns, { block: a });
|
|
1297
|
+
return /* @__PURE__ */ h.jsx(Ns, { block: a }, n.sys.id);
|
|
1296
1298
|
}
|
|
1297
1299
|
case "componentPersuasionList": {
|
|
1298
1300
|
const a = n;
|
|
1299
|
-
return /* @__PURE__ */ h.jsx(Ss, { block: a });
|
|
1301
|
+
return /* @__PURE__ */ h.jsx(Ss, { block: a }, n.sys.id);
|
|
1300
1302
|
}
|
|
1303
|
+
default:
|
|
1304
|
+
return null;
|
|
1301
1305
|
}
|
|
1302
1306
|
});
|
|
1303
1307
|
};
|
|
@@ -1391,7 +1395,7 @@ const Ls = "_persuasionText_tz1xc_106", Rs = {
|
|
|
1391
1395
|
}) => /* @__PURE__ */ h.jsx(h.Fragment, { children: e && e.map((r) => {
|
|
1392
1396
|
switch (r == null ? void 0 : r.sys.contentType.sys.id) {
|
|
1393
1397
|
case "blockSponsorCard":
|
|
1394
|
-
return /* @__PURE__ */ h.jsx(
|
|
1398
|
+
return /* @__PURE__ */ h.jsx(Ae.Fragment, { children: /* @__PURE__ */ h.jsx(
|
|
1395
1399
|
sh,
|
|
1396
1400
|
{
|
|
1397
1401
|
block: r,
|
|
@@ -1399,21 +1403,21 @@ const Ls = "_persuasionText_tz1xc_106", Rs = {
|
|
|
1399
1403
|
}
|
|
1400
1404
|
) }, r == null ? void 0 : r.sys.id);
|
|
1401
1405
|
case "blockPersuasionImageSet":
|
|
1402
|
-
return /* @__PURE__ */ h.jsx(
|
|
1406
|
+
return /* @__PURE__ */ h.jsx(Ae.Fragment, { children: /* @__PURE__ */ h.jsx(
|
|
1403
1407
|
Ks,
|
|
1404
1408
|
{
|
|
1405
1409
|
block: r
|
|
1406
1410
|
}
|
|
1407
|
-
);
|
|
1411
|
+
) }, r == null ? void 0 : r.sys.id);
|
|
1408
1412
|
case "blockPersuasionContent":
|
|
1409
|
-
return /* @__PURE__ */ h.jsx(
|
|
1413
|
+
return /* @__PURE__ */ h.jsx(Ae.Fragment, { children: /* @__PURE__ */ h.jsx(
|
|
1410
1414
|
js,
|
|
1411
1415
|
{
|
|
1412
1416
|
block: r
|
|
1413
1417
|
}
|
|
1414
|
-
);
|
|
1418
|
+
) }, r == null ? void 0 : r.sys.id);
|
|
1415
1419
|
default:
|
|
1416
|
-
return
|
|
1420
|
+
return null;
|
|
1417
1421
|
}
|
|
1418
1422
|
}) });
|
|
1419
1423
|
var Fs = function(t) {
|
|
@@ -2277,7 +2281,7 @@ function Yl() {
|
|
|
2277
2281
|
}
|
|
2278
2282
|
}
|
|
2279
2283
|
}
|
|
2280
|
-
var g = f, K = c, O = u, ne = s,
|
|
2284
|
+
var g = f, K = c, O = u, ne = s, Le = t, Oe = _, De = n, Ne = R, N = P, J = r, ge = i, Ke = a, Ye = b, Fe = !1;
|
|
2281
2285
|
function Xe(C) {
|
|
2282
2286
|
return Fe || (Fe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), l(C) || D(C) === f;
|
|
2283
2287
|
}
|
|
@@ -2317,7 +2321,7 @@ function Yl() {
|
|
|
2317
2321
|
function G(C) {
|
|
2318
2322
|
return D(C) === b;
|
|
2319
2323
|
}
|
|
2320
|
-
re.AsyncMode = g, re.ConcurrentMode = K, re.ContextConsumer = O, re.ContextProvider = ne, re.Element =
|
|
2324
|
+
re.AsyncMode = g, re.ConcurrentMode = K, re.ContextConsumer = O, re.ContextProvider = ne, re.Element = Le, re.ForwardRef = Oe, re.Fragment = De, re.Lazy = Ne, re.Memo = N, re.Portal = J, re.Profiler = ge, re.StrictMode = Ke, re.Suspense = Ye, re.isAsyncMode = Xe, re.isConcurrentMode = l, re.isContextConsumer = S, re.isContextProvider = U, re.isElement = p, re.isForwardRef = de, re.isFragment = oe, re.isLazy = Ee, re.isMemo = he, re.isPortal = Te, re.isProfiler = pe, re.isStrictMode = _e, re.isSuspense = G, re.isValidElementType = B, re.typeOf = D;
|
|
2321
2325
|
}()), re;
|
|
2322
2326
|
}
|
|
2323
2327
|
process.env.NODE_ENV === "production" ? yn.exports = Gl() : yn.exports = Yl();
|
|
@@ -2505,7 +2509,7 @@ function td(e) {
|
|
|
2505
2509
|
process.env.NODE_ENV !== "production" && console.warn("Warning: An unhandled error was caught during validation in <Formik validate />", Y), k(Y);
|
|
2506
2510
|
}) : w(V);
|
|
2507
2511
|
});
|
|
2508
|
-
}, [E.validate]),
|
|
2512
|
+
}, [E.validate]), Le = ye(function(d, A) {
|
|
2509
2513
|
var w = E.validationSchema, k = He(w) ? w(A) : w, V = A && k.validateAt ? k.validateAt(A, d) : nd(d, k);
|
|
2510
2514
|
return new Promise(function(Y, me) {
|
|
2511
2515
|
V.then(function() {
|
|
@@ -2529,18 +2533,18 @@ function td(e) {
|
|
|
2529
2533
|
return Y === "DO_NOT_DELETE_YOU_WILL_BE_FIRED" || Y && (V = Tt(V, A[me], Y)), V;
|
|
2530
2534
|
}, {});
|
|
2531
2535
|
});
|
|
2532
|
-
}, [Oe]),
|
|
2533
|
-
return Promise.all([De(d), E.validationSchema ?
|
|
2536
|
+
}, [Oe]), Ne = ye(function(d) {
|
|
2537
|
+
return Promise.all([De(d), E.validationSchema ? Le(d) : {}, E.validate ? ne(d) : {}]).then(function(A) {
|
|
2534
2538
|
var w = A[0], k = A[1], V = A[2], Y = fn.all([w, k, V], {
|
|
2535
2539
|
arrayMerge: ad
|
|
2536
2540
|
});
|
|
2537
2541
|
return Y;
|
|
2538
2542
|
});
|
|
2539
|
-
}, [E.validate, E.validationSchema, De, ne,
|
|
2543
|
+
}, [E.validate, E.validationSchema, De, ne, Le]), N = $e(function(d) {
|
|
2540
2544
|
return d === void 0 && (d = K.values), O({
|
|
2541
2545
|
type: "SET_ISVALIDATING",
|
|
2542
2546
|
payload: !0
|
|
2543
|
-
}),
|
|
2547
|
+
}), Ne(d).then(function(A) {
|
|
2544
2548
|
return m.current && (O({
|
|
2545
2549
|
type: "SET_ISVALIDATING",
|
|
2546
2550
|
payload: !1
|
|
@@ -2624,7 +2628,7 @@ function td(e) {
|
|
|
2624
2628
|
return O({
|
|
2625
2629
|
type: "SET_ISVALIDATING",
|
|
2626
2630
|
payload: !0
|
|
2627
|
-
}),
|
|
2631
|
+
}), Le(K.values, d).then(function(k) {
|
|
2628
2632
|
return k;
|
|
2629
2633
|
}).then(function(k) {
|
|
2630
2634
|
O({
|
|
@@ -3227,7 +3231,7 @@ function x(e, t) {
|
|
|
3227
3231
|
});
|
|
3228
3232
|
e.common.issues.push(n);
|
|
3229
3233
|
}
|
|
3230
|
-
class
|
|
3234
|
+
class Ie {
|
|
3231
3235
|
constructor() {
|
|
3232
3236
|
this.value = "valid";
|
|
3233
3237
|
}
|
|
@@ -3255,7 +3259,7 @@ class Ae {
|
|
|
3255
3259
|
value: s
|
|
3256
3260
|
});
|
|
3257
3261
|
}
|
|
3258
|
-
return
|
|
3262
|
+
return Ie.mergeObjectSync(t, n);
|
|
3259
3263
|
}
|
|
3260
3264
|
static mergeObjectSync(t, r) {
|
|
3261
3265
|
const n = {};
|
|
@@ -3270,7 +3274,7 @@ class Ae {
|
|
|
3270
3274
|
}
|
|
3271
3275
|
const $ = Object.freeze({
|
|
3272
3276
|
status: "aborted"
|
|
3273
|
-
}), $t = (e) => ({ status: "dirty", value: e }),
|
|
3277
|
+
}), $t = (e) => ({ status: "dirty", value: e }), we = (e) => ({ status: "valid", value: e }), Sn = (e) => e.status === "aborted", bn = (e) => e.status === "dirty", nr = (e) => e.status === "valid", ar = (e) => typeof Promise < "u" && e instanceof Promise;
|
|
3274
3278
|
function wr(e, t, r, n) {
|
|
3275
3279
|
if (typeof t == "function" ? e !== t || !n : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
3276
3280
|
return t.get(e);
|
|
@@ -3341,7 +3345,7 @@ class Z {
|
|
|
3341
3345
|
}
|
|
3342
3346
|
_processInputParams(t) {
|
|
3343
3347
|
return {
|
|
3344
|
-
status: new
|
|
3348
|
+
status: new Ie(),
|
|
3345
3349
|
ctx: {
|
|
3346
3350
|
common: t.parent.common,
|
|
3347
3351
|
data: t.data,
|
|
@@ -3530,7 +3534,7 @@ class Ue extends Z {
|
|
|
3530
3534
|
received: i.parsedType
|
|
3531
3535
|
}), $;
|
|
3532
3536
|
}
|
|
3533
|
-
const n = new
|
|
3537
|
+
const n = new Ie();
|
|
3534
3538
|
let a;
|
|
3535
3539
|
for (const i of this._def.checks)
|
|
3536
3540
|
if (i.kind === "min")
|
|
@@ -3896,7 +3900,7 @@ class dt extends Z {
|
|
|
3896
3900
|
}), $;
|
|
3897
3901
|
}
|
|
3898
3902
|
let n;
|
|
3899
|
-
const a = new
|
|
3903
|
+
const a = new Ie();
|
|
3900
3904
|
for (const i of this._def.checks)
|
|
3901
3905
|
i.kind === "int" ? q.isInteger(t.data) || (n = this._getOrReturnCtx(t, n), x(n, {
|
|
3902
3906
|
code: y.invalid_type,
|
|
@@ -4068,7 +4072,7 @@ class ft extends Z {
|
|
|
4068
4072
|
}), $;
|
|
4069
4073
|
}
|
|
4070
4074
|
let n;
|
|
4071
|
-
const a = new
|
|
4075
|
+
const a = new Ie();
|
|
4072
4076
|
for (const i of this._def.checks)
|
|
4073
4077
|
i.kind === "min" ? (i.inclusive ? t.data < i.value : t.data <= i.value) && (n = this._getOrReturnCtx(t, n), x(n, {
|
|
4074
4078
|
code: y.too_small,
|
|
@@ -4192,7 +4196,7 @@ class ir extends Z {
|
|
|
4192
4196
|
received: n.parsedType
|
|
4193
4197
|
}), $;
|
|
4194
4198
|
}
|
|
4195
|
-
return
|
|
4199
|
+
return we(t.data);
|
|
4196
4200
|
}
|
|
4197
4201
|
}
|
|
4198
4202
|
ir.create = (e) => new ir({
|
|
@@ -4216,7 +4220,7 @@ class At extends Z {
|
|
|
4216
4220
|
code: y.invalid_date
|
|
4217
4221
|
}), $;
|
|
4218
4222
|
}
|
|
4219
|
-
const n = new
|
|
4223
|
+
const n = new Ie();
|
|
4220
4224
|
let a;
|
|
4221
4225
|
for (const i of this._def.checks)
|
|
4222
4226
|
i.kind === "min" ? t.data.getTime() < i.value && (a = this._getOrReturnCtx(t, a), x(a, {
|
|
@@ -4288,7 +4292,7 @@ class Nr extends Z {
|
|
|
4288
4292
|
received: n.parsedType
|
|
4289
4293
|
}), $;
|
|
4290
4294
|
}
|
|
4291
|
-
return
|
|
4295
|
+
return we(t.data);
|
|
4292
4296
|
}
|
|
4293
4297
|
}
|
|
4294
4298
|
Nr.create = (e) => new Nr({
|
|
@@ -4305,7 +4309,7 @@ class sr extends Z {
|
|
|
4305
4309
|
received: n.parsedType
|
|
4306
4310
|
}), $;
|
|
4307
4311
|
}
|
|
4308
|
-
return
|
|
4312
|
+
return we(t.data);
|
|
4309
4313
|
}
|
|
4310
4314
|
}
|
|
4311
4315
|
sr.create = (e) => new sr({
|
|
@@ -4322,7 +4326,7 @@ class or extends Z {
|
|
|
4322
4326
|
received: n.parsedType
|
|
4323
4327
|
}), $;
|
|
4324
4328
|
}
|
|
4325
|
-
return
|
|
4329
|
+
return we(t.data);
|
|
4326
4330
|
}
|
|
4327
4331
|
}
|
|
4328
4332
|
or.create = (e) => new or({
|
|
@@ -4334,7 +4338,7 @@ class Vt extends Z {
|
|
|
4334
4338
|
super(...arguments), this._any = !0;
|
|
4335
4339
|
}
|
|
4336
4340
|
_parse(t) {
|
|
4337
|
-
return
|
|
4341
|
+
return we(t.data);
|
|
4338
4342
|
}
|
|
4339
4343
|
}
|
|
4340
4344
|
Vt.create = (e) => new Vt({
|
|
@@ -4346,7 +4350,7 @@ class Ot extends Z {
|
|
|
4346
4350
|
super(...arguments), this._unknown = !0;
|
|
4347
4351
|
}
|
|
4348
4352
|
_parse(t) {
|
|
4349
|
-
return
|
|
4353
|
+
return we(t.data);
|
|
4350
4354
|
}
|
|
4351
4355
|
}
|
|
4352
4356
|
Ot.create = (e) => new Ot({
|
|
@@ -4377,7 +4381,7 @@ class jr extends Z {
|
|
|
4377
4381
|
received: n.parsedType
|
|
4378
4382
|
}), $;
|
|
4379
4383
|
}
|
|
4380
|
-
return
|
|
4384
|
+
return we(t.data);
|
|
4381
4385
|
}
|
|
4382
4386
|
}
|
|
4383
4387
|
jr.create = (e) => new jr({
|
|
@@ -4420,9 +4424,9 @@ class Ze extends Z {
|
|
|
4420
4424
|
exact: !1,
|
|
4421
4425
|
message: a.maxLength.message
|
|
4422
4426
|
}), n.dirty()), r.common.async)
|
|
4423
|
-
return Promise.all([...r.data].map((s, u) => a.type._parseAsync(new We(r, s, r.path, u)))).then((s) =>
|
|
4427
|
+
return Promise.all([...r.data].map((s, u) => a.type._parseAsync(new We(r, s, r.path, u)))).then((s) => Ie.mergeArray(n, s));
|
|
4424
4428
|
const i = [...r.data].map((s, u) => a.type._parseSync(new We(r, s, r.path, u)));
|
|
4425
|
-
return
|
|
4429
|
+
return Ie.mergeArray(n, i);
|
|
4426
4430
|
}
|
|
4427
4431
|
get element() {
|
|
4428
4432
|
return this._def.type;
|
|
@@ -4544,7 +4548,7 @@ class ce extends Z {
|
|
|
4544
4548
|
});
|
|
4545
4549
|
}
|
|
4546
4550
|
return c;
|
|
4547
|
-
}).then((c) =>
|
|
4551
|
+
}).then((c) => Ie.mergeObjectSync(n, c)) : Ie.mergeObjectSync(n, f);
|
|
4548
4552
|
}
|
|
4549
4553
|
get shape() {
|
|
4550
4554
|
return this._def.shape();
|
|
@@ -4988,7 +4992,7 @@ class qe extends Z {
|
|
|
4988
4992
|
const f = this._def.items[u] || this._def.rest;
|
|
4989
4993
|
return f ? f._parse(new We(n, s, n.path, u)) : null;
|
|
4990
4994
|
}).filter((s) => !!s);
|
|
4991
|
-
return n.common.async ? Promise.all(i).then((s) =>
|
|
4995
|
+
return n.common.async ? Promise.all(i).then((s) => Ie.mergeArray(r, s)) : Ie.mergeArray(r, i);
|
|
4992
4996
|
}
|
|
4993
4997
|
get items() {
|
|
4994
4998
|
return this._def.items;
|
|
@@ -5032,7 +5036,7 @@ class lr extends Z {
|
|
|
5032
5036
|
value: s._parse(new We(n, n.data[u], n.path, u)),
|
|
5033
5037
|
alwaysSet: u in n.data
|
|
5034
5038
|
});
|
|
5035
|
-
return n.common.async ?
|
|
5039
|
+
return n.common.async ? Ie.mergeObjectAsync(r, a) : Ie.mergeObjectSync(r, a);
|
|
5036
5040
|
}
|
|
5037
5041
|
get element() {
|
|
5038
5042
|
return this._def.valueType;
|
|
@@ -5210,7 +5214,7 @@ class Kt extends Z {
|
|
|
5210
5214
|
const i = { errorMap: r.common.contextualErrorMap }, s = r.data;
|
|
5211
5215
|
if (this._def.returns instanceof Ut) {
|
|
5212
5216
|
const u = this;
|
|
5213
|
-
return
|
|
5217
|
+
return we(async function(...f) {
|
|
5214
5218
|
const c = new ke([]), _ = await u._def.args.parseAsync(f, i).catch((P) => {
|
|
5215
5219
|
throw c.addIssue(n(f, P)), c;
|
|
5216
5220
|
}), b = await Reflect.apply(s, this, _);
|
|
@@ -5220,7 +5224,7 @@ class Kt extends Z {
|
|
|
5220
5224
|
});
|
|
5221
5225
|
} else {
|
|
5222
5226
|
const u = this;
|
|
5223
|
-
return
|
|
5227
|
+
return we(function(...f) {
|
|
5224
5228
|
const c = u._def.args.safeParse(f, i);
|
|
5225
5229
|
if (!c.success)
|
|
5226
5230
|
throw new ke([n(f, c.error)]);
|
|
@@ -5327,7 +5331,7 @@ class ht extends Z {
|
|
|
5327
5331
|
options: n
|
|
5328
5332
|
}), $;
|
|
5329
5333
|
}
|
|
5330
|
-
return
|
|
5334
|
+
return we(t.data);
|
|
5331
5335
|
}
|
|
5332
5336
|
get options() {
|
|
5333
5337
|
return this._def.values;
|
|
@@ -5387,7 +5391,7 @@ class hr extends Z {
|
|
|
5387
5391
|
options: a
|
|
5388
5392
|
}), $;
|
|
5389
5393
|
}
|
|
5390
|
-
return
|
|
5394
|
+
return we(t.data);
|
|
5391
5395
|
}
|
|
5392
5396
|
get enum() {
|
|
5393
5397
|
return this._def.values;
|
|
@@ -5412,7 +5416,7 @@ class Ut extends Z {
|
|
|
5412
5416
|
received: r.parsedType
|
|
5413
5417
|
}), $;
|
|
5414
5418
|
const n = r.parsedType === L.promise ? r.data : Promise.resolve(r.data);
|
|
5415
|
-
return
|
|
5419
|
+
return we(n.then((a) => this._def.type.parseAsync(a, {
|
|
5416
5420
|
path: r.path,
|
|
5417
5421
|
errorMap: r.common.contextualErrorMap
|
|
5418
5422
|
})));
|
|
@@ -5514,7 +5518,7 @@ Ge.createWithPreprocess = (e, t, r) => new Ge({
|
|
|
5514
5518
|
});
|
|
5515
5519
|
class ze extends Z {
|
|
5516
5520
|
_parse(t) {
|
|
5517
|
-
return this._getType(t) === L.undefined ?
|
|
5521
|
+
return this._getType(t) === L.undefined ? we(void 0) : this._def.innerType._parse(t);
|
|
5518
5522
|
}
|
|
5519
5523
|
unwrap() {
|
|
5520
5524
|
return this._def.innerType;
|
|
@@ -5527,7 +5531,7 @@ ze.create = (e, t) => new ze({
|
|
|
5527
5531
|
});
|
|
5528
5532
|
class pt extends Z {
|
|
5529
5533
|
_parse(t) {
|
|
5530
|
-
return this._getType(t) === L.null ?
|
|
5534
|
+
return this._getType(t) === L.null ? we(null) : this._def.innerType._parse(t);
|
|
5531
5535
|
}
|
|
5532
5536
|
unwrap() {
|
|
5533
5537
|
return this._def.innerType;
|
|
@@ -5722,10 +5726,10 @@ var an = /* @__PURE__ */ Object.freeze({
|
|
|
5722
5726
|
makeIssue: Rr,
|
|
5723
5727
|
EMPTY_PATH: dd,
|
|
5724
5728
|
addIssueToContext: x,
|
|
5725
|
-
ParseStatus:
|
|
5729
|
+
ParseStatus: Ie,
|
|
5726
5730
|
INVALID: $,
|
|
5727
5731
|
DIRTY: $t,
|
|
5728
|
-
OK:
|
|
5732
|
+
OK: we,
|
|
5729
5733
|
isAborted: Sn,
|
|
5730
5734
|
isDirty: bn,
|
|
5731
5735
|
isValid: nr,
|
|
@@ -6074,7 +6078,7 @@ const vf = "_root_hqa63_106", yf = "_root__body_hqa63_111", gf = "_root__form_hq
|
|
|
6074
6078
|
/* @__PURE__ */ h.jsx(le, { type: "body-regular", children: r })
|
|
6075
6079
|
] }),
|
|
6076
6080
|
/* @__PURE__ */ h.jsx(Un, {}),
|
|
6077
|
-
t.map((f, c) => /* @__PURE__ */ h.jsxs(
|
|
6081
|
+
t.map((f, c) => /* @__PURE__ */ h.jsxs(Ae.Fragment, { children: [
|
|
6078
6082
|
/* @__PURE__ */ h.jsx("div", { className: on.root__block, children: f }),
|
|
6079
6083
|
c !== t.length - 1 && /* @__PURE__ */ h.jsx(Un, {})
|
|
6080
6084
|
] }, `rich_text_el_${c}`))
|
|
@@ -6256,16 +6260,16 @@ const vf = "_root_hqa63_106", yf = "_root__body_hqa63_111", gf = "_root__form_hq
|
|
|
6256
6260
|
validateOnBlur: !0,
|
|
6257
6261
|
validateOnChange: !0,
|
|
6258
6262
|
validationSchema: Ni(_)
|
|
6259
|
-
}), X = async (O, ne,
|
|
6263
|
+
}), X = async (O, ne, Le) => {
|
|
6260
6264
|
const Oe = O || e.selectablePills[ne].filter(
|
|
6261
|
-
(N) => N.value ===
|
|
6262
|
-
)[0], De = Oe ? r[Oe.id] : e.priceDescription.label,
|
|
6265
|
+
(N) => N.value === Le
|
|
6266
|
+
)[0], De = Oe ? r[Oe.id] : e.priceDescription.label, Ne = Oe ? [{ id: Oe.id, value: Oe.value }] : [];
|
|
6263
6267
|
await R.setValues(
|
|
6264
6268
|
{
|
|
6265
6269
|
...R.values,
|
|
6266
|
-
amount: Number(
|
|
6270
|
+
amount: Number(Le),
|
|
6267
6271
|
fieldDescription: De,
|
|
6268
|
-
selectedPills:
|
|
6272
|
+
selectedPills: Ne
|
|
6269
6273
|
},
|
|
6270
6274
|
!0
|
|
6271
6275
|
);
|
|
@@ -6289,9 +6293,9 @@ const vf = "_root_hqa63_106", yf = "_root__body_hqa63_111", gf = "_root__form_hq
|
|
|
6289
6293
|
const ne = e[O];
|
|
6290
6294
|
switch (O) {
|
|
6291
6295
|
case Qe.headline:
|
|
6292
|
-
return /* @__PURE__ */ h.jsx(
|
|
6296
|
+
return /* @__PURE__ */ h.jsx(Ae.Fragment, { children: /* @__PURE__ */ h.jsx(Nf, { data: ne }) }, O);
|
|
6293
6297
|
case Qe.switcherToggle:
|
|
6294
|
-
return /* @__PURE__ */ h.jsx(
|
|
6298
|
+
return /* @__PURE__ */ h.jsx(Ae.Fragment, { children: /* @__PURE__ */ h.jsx(
|
|
6295
6299
|
nh,
|
|
6296
6300
|
{
|
|
6297
6301
|
switcherToggle: ne,
|
|
@@ -6300,7 +6304,7 @@ const vf = "_root_hqa63_106", yf = "_root__body_hqa63_111", gf = "_root__form_hq
|
|
|
6300
6304
|
}
|
|
6301
6305
|
) }, O);
|
|
6302
6306
|
case Qe.selectablePills:
|
|
6303
|
-
return /* @__PURE__ */ h.jsx(
|
|
6307
|
+
return /* @__PURE__ */ h.jsx(Ae.Fragment, { children: /* @__PURE__ */ h.jsx(
|
|
6304
6308
|
qf,
|
|
6305
6309
|
{
|
|
6306
6310
|
onChange: m,
|
|
@@ -6311,9 +6315,9 @@ const vf = "_root_hqa63_106", yf = "_root__body_hqa63_111", gf = "_root__form_hq
|
|
|
6311
6315
|
}
|
|
6312
6316
|
) }, O);
|
|
6313
6317
|
case Qe.priceDescription:
|
|
6314
|
-
return /* @__PURE__ */ h.jsx(
|
|
6318
|
+
return /* @__PURE__ */ h.jsx(Ae.Fragment, { children: /* @__PURE__ */ h.jsx(Yf, { label: R.values.fieldDescription }) }, O);
|
|
6315
6319
|
case Qe.amountPicker:
|
|
6316
|
-
return /* @__PURE__ */ h.jsx(
|
|
6320
|
+
return /* @__PURE__ */ h.jsx(Ae.Fragment, { children: /* @__PURE__ */ h.jsx(
|
|
6317
6321
|
bf,
|
|
6318
6322
|
{
|
|
6319
6323
|
id: "amount",
|
|
@@ -6323,7 +6327,7 @@ const vf = "_root_hqa63_106", yf = "_root__body_hqa63_111", gf = "_root__form_hq
|
|
|
6323
6327
|
}
|
|
6324
6328
|
) }, O);
|
|
6325
6329
|
case Qe.legalCheckbox:
|
|
6326
|
-
return /* @__PURE__ */ h.jsx(
|
|
6330
|
+
return /* @__PURE__ */ h.jsx(Ae.Fragment, { children: /* @__PURE__ */ h.jsx(
|
|
6327
6331
|
Kf,
|
|
6328
6332
|
{
|
|
6329
6333
|
data: ne,
|
|
@@ -6333,7 +6337,7 @@ const vf = "_root_hqa63_106", yf = "_root__body_hqa63_111", gf = "_root__form_hq
|
|
|
6333
6337
|
}
|
|
6334
6338
|
) }, O);
|
|
6335
6339
|
case Qe.submitButton:
|
|
6336
|
-
return /* @__PURE__ */ h.jsx(
|
|
6340
|
+
return /* @__PURE__ */ h.jsx(Ae.Fragment, { children: /* @__PURE__ */ h.jsx(
|
|
6337
6341
|
eh,
|
|
6338
6342
|
{
|
|
6339
6343
|
data: ne,
|
|
@@ -6341,14 +6345,14 @@ const vf = "_root_hqa63_106", yf = "_root__body_hqa63_111", gf = "_root__form_hq
|
|
|
6341
6345
|
}
|
|
6342
6346
|
) }, O);
|
|
6343
6347
|
case Qe.paymentMethods:
|
|
6344
|
-
return /* @__PURE__ */ h.jsx(
|
|
6348
|
+
return /* @__PURE__ */ h.jsx(Ae.Fragment, { children: /* @__PURE__ */ h.jsx(
|
|
6345
6349
|
Uf,
|
|
6346
6350
|
{
|
|
6347
6351
|
methods: ne
|
|
6348
6352
|
}
|
|
6349
6353
|
) }, O);
|
|
6350
6354
|
case Qe.cta:
|
|
6351
|
-
return /* @__PURE__ */ h.jsx(
|
|
6355
|
+
return /* @__PURE__ */ h.jsx(Ae.Fragment, { children: /* @__PURE__ */ h.jsx(Cf, { data: ne }) }, O);
|
|
6352
6356
|
default:
|
|
6353
6357
|
return null;
|
|
6354
6358
|
}
|
|
@@ -6457,8 +6461,8 @@ const vf = "_root_hqa63_106", yf = "_root__body_hqa63_111", gf = "_root__form_hq
|
|
|
6457
6461
|
})));
|
|
6458
6462
|
}), m;
|
|
6459
6463
|
}, X = () => {
|
|
6460
|
-
var De,
|
|
6461
|
-
const m = (De = e == null ? void 0 : e.fields.legalCheckbox) == null ? void 0 : De.fields.guidelinesModal, T = (
|
|
6464
|
+
var De, Ne;
|
|
6465
|
+
const m = (De = e == null ? void 0 : e.fields.legalCheckbox) == null ? void 0 : De.fields.guidelinesModal, T = (Ne = m == null ? void 0 : m.fields) == null ? void 0 : Ne.text;
|
|
6462
6466
|
if (!T)
|
|
6463
6467
|
return {
|
|
6464
6468
|
buttonText: "",
|
|
@@ -6478,11 +6482,11 @@ const vf = "_root_hqa63_106", yf = "_root__body_hqa63_111", gf = "_root__form_hq
|
|
|
6478
6482
|
return Array.isArray(N) && N.forEach((Ke) => {
|
|
6479
6483
|
Ke.type === "hr" ? (ge.length > 0 && J.push(ge), ge = []) : ge.push(Ke);
|
|
6480
6484
|
}), ge.length > 0 && J.push(ge), J;
|
|
6481
|
-
}, g = On.documentToReactComponents(T, B), K = g ? D(g) : [], O = (m == null ? void 0 : m.fields.closeModalButtonText) || "", ne = (m == null ? void 0 : m.fields.headline) || "",
|
|
6485
|
+
}, g = On.documentToReactComponents(T, B), K = g ? D(g) : [], O = (m == null ? void 0 : m.fields.closeModalButtonText) || "", ne = (m == null ? void 0 : m.fields.headline) || "", Le = (m == null ? void 0 : m.fields.data) || "", Oe = (m == null ? void 0 : m.fields.version) || "";
|
|
6482
6486
|
return {
|
|
6483
6487
|
buttonText: O,
|
|
6484
6488
|
content: K,
|
|
6485
|
-
date:
|
|
6489
|
+
date: Le,
|
|
6486
6490
|
headline: ne,
|
|
6487
6491
|
version: Oe
|
|
6488
6492
|
};
|