pagepilot-visual-editor 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blocks-internal/block-container/src/index.d.ts +1 -1
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/constants.d.ts +1 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/dropdownCoordinator.d.ts +21 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/selection.d.ts +11 -1
- package/dist/{index-CVMg3yQl.cjs → index-BRCkTOtj.cjs} +191 -190
- package/dist/{index-BPcOuA23.js → index-CTFkp-2y.js} +13689 -13635
- package/dist/{index-DXHkxy8p.cjs → index-DwQy2aIc.cjs} +1 -1
- package/dist/{index-DxxdHQFS.js → index-oJHm00vZ.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/render.cjs +37 -37
- package/dist/render.js +297 -290
- package/dist/{xlsx-BIwL8IKs.cjs → xlsx-CZ5oGLN6.cjs} +1 -1
- package/dist/{xlsx-ByOGYYTp.js → xlsx-DwwPybqQ.js} +1 -1
- package/package.json +1 -1
package/dist/render.js
CHANGED
|
@@ -51,7 +51,7 @@ class Ai extends Error {
|
|
|
51
51
|
}
|
|
52
52
|
(Za = globalThis).__zod_globalConfig ?? (Za.__zod_globalConfig = {});
|
|
53
53
|
const Ca = globalThis.__zod_globalConfig;
|
|
54
|
-
function
|
|
54
|
+
function lt(e) {
|
|
55
55
|
return Ca;
|
|
56
56
|
}
|
|
57
57
|
function yi(e) {
|
|
@@ -340,7 +340,7 @@ function mt(e, t) {
|
|
|
340
340
|
function Sn(e) {
|
|
341
341
|
return typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function st(e, t, n) {
|
|
344
344
|
var s, c, u, m, d, h;
|
|
345
345
|
const o = e.message ? e.message : Sn((u = (c = (s = e.inst) == null ? void 0 : s._zod.def) == null ? void 0 : c.error) == null ? void 0 : u.call(c, e)) ?? Sn((m = t == null ? void 0 : t.error) == null ? void 0 : m.call(t, e)) ?? Sn((d = n.customError) == null ? void 0 : d.call(n, e)) ?? Sn((h = n.localeError) == null ? void 0 : h.call(n, e)) ?? "Invalid input", { inst: a, continue: i, input: r, ...l } = e;
|
|
346
346
|
return l.path ?? (l.path = []), l.message = o, t != null && t.reportInput && (l.input = r), l;
|
|
@@ -404,7 +404,7 @@ const Ra = (e) => (t, n, o, a) => {
|
|
|
404
404
|
if (r instanceof Promise)
|
|
405
405
|
throw new Ot();
|
|
406
406
|
if (r.issues.length) {
|
|
407
|
-
const l = new ((a == null ? void 0 : a.Err) ?? e)(r.issues.map((s) =>
|
|
407
|
+
const l = new ((a == null ? void 0 : a.Err) ?? e)(r.issues.map((s) => st(s, i, lt())));
|
|
408
408
|
throw Ni(l, a == null ? void 0 : a.callee), l;
|
|
409
409
|
}
|
|
410
410
|
return r.value;
|
|
@@ -412,7 +412,7 @@ const Ra = (e) => (t, n, o, a) => {
|
|
|
412
412
|
const i = o ? { ...o, async: !0 } : { async: !0 };
|
|
413
413
|
let r = t._zod.run({ value: n, issues: [] }, i);
|
|
414
414
|
if (r instanceof Promise && (r = await r), r.issues.length) {
|
|
415
|
-
const l = new ((a == null ? void 0 : a.Err) ?? e)(r.issues.map((s) =>
|
|
415
|
+
const l = new ((a == null ? void 0 : a.Err) ?? e)(r.issues.map((s) => st(s, i, lt())));
|
|
416
416
|
throw Ni(l, a == null ? void 0 : a.callee), l;
|
|
417
417
|
}
|
|
418
418
|
return r.value;
|
|
@@ -422,14 +422,14 @@ const Ra = (e) => (t, n, o, a) => {
|
|
|
422
422
|
throw new Ot();
|
|
423
423
|
return i.issues.length ? {
|
|
424
424
|
success: !1,
|
|
425
|
-
error: new (e ?? Ii)(i.issues.map((r) =>
|
|
425
|
+
error: new (e ?? Ii)(i.issues.map((r) => st(r, a, lt())))
|
|
426
426
|
} : { success: !0, data: i.value };
|
|
427
427
|
}, Ns = /* @__PURE__ */ Vn(Mi), Yn = (e) => async (t, n, o) => {
|
|
428
428
|
const a = o ? { ...o, async: !0 } : { async: !0 };
|
|
429
429
|
let i = t._zod.run({ value: n, issues: [] }, a);
|
|
430
430
|
return i instanceof Promise && (i = await i), i.issues.length ? {
|
|
431
431
|
success: !1,
|
|
432
|
-
error: new e(i.issues.map((r) =>
|
|
432
|
+
error: new e(i.issues.map((r) => st(r, a, lt())))
|
|
433
433
|
} : { success: !0, data: i.value };
|
|
434
434
|
}, Rs = /* @__PURE__ */ Yn(Mi), Es = (e) => (t, n, o) => {
|
|
435
435
|
const a = o ? { ...o, direction: "backward" } : { direction: "backward" };
|
|
@@ -768,7 +768,7 @@ const _c = {
|
|
|
768
768
|
major: 4,
|
|
769
769
|
minor: 4,
|
|
770
770
|
patch: 3
|
|
771
|
-
},
|
|
771
|
+
}, se = /* @__PURE__ */ R("$ZodType", (e, t) => {
|
|
772
772
|
var a;
|
|
773
773
|
var n;
|
|
774
774
|
e ?? (e = {}), e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = _c;
|
|
@@ -849,7 +849,7 @@ const _c = {
|
|
|
849
849
|
}));
|
|
850
850
|
}), Ia = /* @__PURE__ */ R("$ZodString", (e, t) => {
|
|
851
851
|
var n;
|
|
852
|
-
|
|
852
|
+
se.init(e, t), e._zod.pattern = [...((n = e == null ? void 0 : e._zod.bag) == null ? void 0 : n.patterns) ?? []].pop() ?? rc(e._zod.bag), e._zod.parse = (o, a) => {
|
|
853
853
|
if (t.coerce)
|
|
854
854
|
try {
|
|
855
855
|
o.value = String(o.value);
|
|
@@ -862,10 +862,10 @@ const _c = {
|
|
|
862
862
|
inst: e
|
|
863
863
|
}), o;
|
|
864
864
|
};
|
|
865
|
-
}),
|
|
865
|
+
}), de = /* @__PURE__ */ R("$ZodStringFormat", (e, t) => {
|
|
866
866
|
Kn.init(e, t), Ia.init(e, t);
|
|
867
867
|
}), $c = /* @__PURE__ */ R("$ZodGUID", (e, t) => {
|
|
868
|
-
t.pattern ?? (t.pattern = Zs),
|
|
868
|
+
t.pattern ?? (t.pattern = Zs), de.init(e, t);
|
|
869
869
|
}), Cc = /* @__PURE__ */ R("$ZodUUID", (e, t) => {
|
|
870
870
|
if (t.version) {
|
|
871
871
|
const o = {
|
|
@@ -883,11 +883,11 @@ const _c = {
|
|
|
883
883
|
t.pattern ?? (t.pattern = Va(o));
|
|
884
884
|
} else
|
|
885
885
|
t.pattern ?? (t.pattern = Va());
|
|
886
|
-
|
|
886
|
+
de.init(e, t);
|
|
887
887
|
}), Ac = /* @__PURE__ */ R("$ZodEmail", (e, t) => {
|
|
888
|
-
t.pattern ?? (t.pattern = Ws),
|
|
888
|
+
t.pattern ?? (t.pattern = Ws), de.init(e, t);
|
|
889
889
|
}), yc = /* @__PURE__ */ R("$ZodURL", (e, t) => {
|
|
890
|
-
|
|
890
|
+
de.init(e, t), e._zod.check = (n) => {
|
|
891
891
|
var o;
|
|
892
892
|
try {
|
|
893
893
|
const a = n.value.trim();
|
|
@@ -932,31 +932,31 @@ const _c = {
|
|
|
932
932
|
}
|
|
933
933
|
};
|
|
934
934
|
}), Nc = /* @__PURE__ */ R("$ZodEmoji", (e, t) => {
|
|
935
|
-
t.pattern ?? (t.pattern = Vs()),
|
|
935
|
+
t.pattern ?? (t.pattern = Vs()), de.init(e, t);
|
|
936
936
|
}), Rc = /* @__PURE__ */ R("$ZodNanoID", (e, t) => {
|
|
937
|
-
t.pattern ?? (t.pattern = js),
|
|
937
|
+
t.pattern ?? (t.pattern = js), de.init(e, t);
|
|
938
938
|
}), Ec = /* @__PURE__ */ R("$ZodCUID", (e, t) => {
|
|
939
|
-
t.pattern ?? (t.pattern = Bs),
|
|
939
|
+
t.pattern ?? (t.pattern = Bs), de.init(e, t);
|
|
940
940
|
}), Ic = /* @__PURE__ */ R("$ZodCUID2", (e, t) => {
|
|
941
|
-
t.pattern ?? (t.pattern = Ds),
|
|
941
|
+
t.pattern ?? (t.pattern = Ds), de.init(e, t);
|
|
942
942
|
}), Mc = /* @__PURE__ */ R("$ZodULID", (e, t) => {
|
|
943
|
-
t.pattern ?? (t.pattern = Hs),
|
|
943
|
+
t.pattern ?? (t.pattern = Hs), de.init(e, t);
|
|
944
944
|
}), Tc = /* @__PURE__ */ R("$ZodXID", (e, t) => {
|
|
945
|
-
t.pattern ?? (t.pattern = Fs),
|
|
945
|
+
t.pattern ?? (t.pattern = Fs), de.init(e, t);
|
|
946
946
|
}), Pc = /* @__PURE__ */ R("$ZodKSUID", (e, t) => {
|
|
947
|
-
t.pattern ?? (t.pattern = Gs),
|
|
947
|
+
t.pattern ?? (t.pattern = Gs), de.init(e, t);
|
|
948
948
|
}), Oc = /* @__PURE__ */ R("$ZodISODateTime", (e, t) => {
|
|
949
|
-
t.pattern ?? (t.pattern = ac(t)),
|
|
949
|
+
t.pattern ?? (t.pattern = ac(t)), de.init(e, t);
|
|
950
950
|
}), Lc = /* @__PURE__ */ R("$ZodISODate", (e, t) => {
|
|
951
|
-
t.pattern ?? (t.pattern = nc),
|
|
951
|
+
t.pattern ?? (t.pattern = nc), de.init(e, t);
|
|
952
952
|
}), zc = /* @__PURE__ */ R("$ZodISOTime", (e, t) => {
|
|
953
|
-
t.pattern ?? (t.pattern = oc(t)),
|
|
953
|
+
t.pattern ?? (t.pattern = oc(t)), de.init(e, t);
|
|
954
954
|
}), Bc = /* @__PURE__ */ R("$ZodISODuration", (e, t) => {
|
|
955
|
-
t.pattern ?? (t.pattern = Us),
|
|
955
|
+
t.pattern ?? (t.pattern = Us), de.init(e, t);
|
|
956
956
|
}), Dc = /* @__PURE__ */ R("$ZodIPv4", (e, t) => {
|
|
957
|
-
t.pattern ?? (t.pattern = Ys),
|
|
957
|
+
t.pattern ?? (t.pattern = Ys), de.init(e, t), e._zod.bag.format = "ipv4";
|
|
958
958
|
}), Hc = /* @__PURE__ */ R("$ZodIPv6", (e, t) => {
|
|
959
|
-
t.pattern ?? (t.pattern = Ks),
|
|
959
|
+
t.pattern ?? (t.pattern = Ks), de.init(e, t), e._zod.bag.format = "ipv6", e._zod.check = (n) => {
|
|
960
960
|
try {
|
|
961
961
|
new URL(`http://[${n.value}]`);
|
|
962
962
|
} catch {
|
|
@@ -970,9 +970,9 @@ const _c = {
|
|
|
970
970
|
}
|
|
971
971
|
};
|
|
972
972
|
}), Fc = /* @__PURE__ */ R("$ZodCIDRv4", (e, t) => {
|
|
973
|
-
t.pattern ?? (t.pattern = Js),
|
|
973
|
+
t.pattern ?? (t.pattern = Js), de.init(e, t);
|
|
974
974
|
}), Gc = /* @__PURE__ */ R("$ZodCIDRv6", (e, t) => {
|
|
975
|
-
t.pattern ?? (t.pattern = Xs),
|
|
975
|
+
t.pattern ?? (t.pattern = Xs), de.init(e, t), e._zod.check = (n) => {
|
|
976
976
|
const o = n.value.split("/");
|
|
977
977
|
try {
|
|
978
978
|
if (o.length !== 2)
|
|
@@ -1009,7 +1009,7 @@ function Hi(e) {
|
|
|
1009
1009
|
}
|
|
1010
1010
|
}
|
|
1011
1011
|
const jc = /* @__PURE__ */ R("$ZodBase64", (e, t) => {
|
|
1012
|
-
t.pattern ?? (t.pattern = Qs),
|
|
1012
|
+
t.pattern ?? (t.pattern = Qs), de.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (n) => {
|
|
1013
1013
|
Hi(n.value) || n.issues.push({
|
|
1014
1014
|
code: "invalid_format",
|
|
1015
1015
|
format: "base64",
|
|
@@ -1026,7 +1026,7 @@ function Uc(e) {
|
|
|
1026
1026
|
return Hi(n);
|
|
1027
1027
|
}
|
|
1028
1028
|
const Zc = /* @__PURE__ */ R("$ZodBase64URL", (e, t) => {
|
|
1029
|
-
t.pattern ?? (t.pattern = Ti),
|
|
1029
|
+
t.pattern ?? (t.pattern = Ti), de.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (n) => {
|
|
1030
1030
|
Uc(n.value) || n.issues.push({
|
|
1031
1031
|
code: "invalid_format",
|
|
1032
1032
|
format: "base64url",
|
|
@@ -1036,7 +1036,7 @@ const Zc = /* @__PURE__ */ R("$ZodBase64URL", (e, t) => {
|
|
|
1036
1036
|
});
|
|
1037
1037
|
};
|
|
1038
1038
|
}), Wc = /* @__PURE__ */ R("$ZodE164", (e, t) => {
|
|
1039
|
-
t.pattern ?? (t.pattern = tc),
|
|
1039
|
+
t.pattern ?? (t.pattern = tc), de.init(e, t);
|
|
1040
1040
|
});
|
|
1041
1041
|
function qc(e, t = null) {
|
|
1042
1042
|
try {
|
|
@@ -1053,7 +1053,7 @@ function qc(e, t = null) {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
}
|
|
1055
1055
|
const Vc = /* @__PURE__ */ R("$ZodJWT", (e, t) => {
|
|
1056
|
-
|
|
1056
|
+
de.init(e, t), e._zod.check = (n) => {
|
|
1057
1057
|
qc(n.value, t.alg) || n.issues.push({
|
|
1058
1058
|
code: "invalid_format",
|
|
1059
1059
|
format: "jwt",
|
|
@@ -1063,7 +1063,7 @@ const Vc = /* @__PURE__ */ R("$ZodJWT", (e, t) => {
|
|
|
1063
1063
|
});
|
|
1064
1064
|
};
|
|
1065
1065
|
}), Fi = /* @__PURE__ */ R("$ZodNumber", (e, t) => {
|
|
1066
|
-
|
|
1066
|
+
se.init(e, t), e._zod.pattern = e._zod.bag.pattern ?? Li, e._zod.parse = (n, o) => {
|
|
1067
1067
|
if (t.coerce)
|
|
1068
1068
|
try {
|
|
1069
1069
|
n.value = Number(n.value);
|
|
@@ -1084,7 +1084,7 @@ const Vc = /* @__PURE__ */ R("$ZodJWT", (e, t) => {
|
|
|
1084
1084
|
}), Yc = /* @__PURE__ */ R("$ZodNumberFormat", (e, t) => {
|
|
1085
1085
|
dc.init(e, t), Fi.init(e, t);
|
|
1086
1086
|
}), Kc = /* @__PURE__ */ R("$ZodBoolean", (e, t) => {
|
|
1087
|
-
|
|
1087
|
+
se.init(e, t), e._zod.pattern = lc, e._zod.parse = (n, o) => {
|
|
1088
1088
|
if (t.coerce)
|
|
1089
1089
|
try {
|
|
1090
1090
|
n.value = !!n.value;
|
|
@@ -1099,11 +1099,11 @@ const Vc = /* @__PURE__ */ R("$ZodJWT", (e, t) => {
|
|
|
1099
1099
|
}), n;
|
|
1100
1100
|
};
|
|
1101
1101
|
}), Jc = /* @__PURE__ */ R("$ZodAny", (e, t) => {
|
|
1102
|
-
|
|
1102
|
+
se.init(e, t), e._zod.parse = (n) => n;
|
|
1103
1103
|
}), Xc = /* @__PURE__ */ R("$ZodUnknown", (e, t) => {
|
|
1104
|
-
|
|
1104
|
+
se.init(e, t), e._zod.parse = (n) => n;
|
|
1105
1105
|
}), Qc = /* @__PURE__ */ R("$ZodNever", (e, t) => {
|
|
1106
|
-
|
|
1106
|
+
se.init(e, t), e._zod.parse = (n, o) => (n.issues.push({
|
|
1107
1107
|
expected: "never",
|
|
1108
1108
|
code: "invalid_type",
|
|
1109
1109
|
input: n.value,
|
|
@@ -1114,7 +1114,7 @@ function Ya(e, t, n) {
|
|
|
1114
1114
|
e.issues.length && t.issues.push(...mt(n, e.issues)), t.value[n] = e.value;
|
|
1115
1115
|
}
|
|
1116
1116
|
const eu = /* @__PURE__ */ R("$ZodArray", (e, t) => {
|
|
1117
|
-
|
|
1117
|
+
se.init(e, t), e._zod.parse = (n, o) => {
|
|
1118
1118
|
const a = n.value;
|
|
1119
1119
|
if (!Array.isArray(a))
|
|
1120
1120
|
return n.issues.push({
|
|
@@ -1188,7 +1188,7 @@ function ji(e, t, n, o, a, i) {
|
|
|
1188
1188
|
}), e.length ? Promise.all(e).then(() => n) : n;
|
|
1189
1189
|
}
|
|
1190
1190
|
const tu = /* @__PURE__ */ R("$ZodObject", (e, t) => {
|
|
1191
|
-
|
|
1191
|
+
se.init(e, t);
|
|
1192
1192
|
const n = Object.getOwnPropertyDescriptor(t, "shape");
|
|
1193
1193
|
if (!(n != null && n.get)) {
|
|
1194
1194
|
const l = t.shape;
|
|
@@ -1338,11 +1338,11 @@ function Ka(e, t, n, o) {
|
|
|
1338
1338
|
code: "invalid_union",
|
|
1339
1339
|
input: t.value,
|
|
1340
1340
|
inst: n,
|
|
1341
|
-
errors: e.map((i) => i.issues.map((r) =>
|
|
1341
|
+
errors: e.map((i) => i.issues.map((r) => st(r, o, lt())))
|
|
1342
1342
|
}), t);
|
|
1343
1343
|
}
|
|
1344
1344
|
const Ui = /* @__PURE__ */ R("$ZodUnion", (e, t) => {
|
|
1345
|
-
|
|
1345
|
+
se.init(e, t), J(e._zod, "optin", () => t.options.some((o) => o._zod.optin === "optional") ? "optional" : void 0), J(e._zod, "optout", () => t.options.some((o) => o._zod.optout === "optional") ? "optional" : void 0), J(e._zod, "values", () => {
|
|
1346
1346
|
if (t.options.every((o) => o._zod.values))
|
|
1347
1347
|
return new Set(t.options.flatMap((o) => Array.from(o._zod.values)));
|
|
1348
1348
|
}), J(e._zod, "pattern", () => {
|
|
@@ -1426,7 +1426,7 @@ const Ui = /* @__PURE__ */ R("$ZodUnion", (e, t) => {
|
|
|
1426
1426
|
}), a);
|
|
1427
1427
|
};
|
|
1428
1428
|
}), au = /* @__PURE__ */ R("$ZodIntersection", (e, t) => {
|
|
1429
|
-
|
|
1429
|
+
se.init(e, t), e._zod.parse = (n, o) => {
|
|
1430
1430
|
const a = n.value, i = t.left._zod.run({ value: a, issues: [] }, o), r = t.right._zod.run({ value: a, issues: [] }, o);
|
|
1431
1431
|
return i instanceof Promise || r instanceof Promise ? Promise.all([i, r]).then(([s, c]) => Ja(n, s, c)) : Ja(n, i, r);
|
|
1432
1432
|
};
|
|
@@ -1491,7 +1491,7 @@ function Ja(e, t, n) {
|
|
|
1491
1491
|
return e.value = r.data, e;
|
|
1492
1492
|
}
|
|
1493
1493
|
const ru = /* @__PURE__ */ R("$ZodTuple", (e, t) => {
|
|
1494
|
-
|
|
1494
|
+
se.init(e, t);
|
|
1495
1495
|
const n = t.items;
|
|
1496
1496
|
e._zod.parse = (o, a) => {
|
|
1497
1497
|
const i = o.value;
|
|
@@ -1568,7 +1568,7 @@ function er(e, t, n, o, a) {
|
|
|
1568
1568
|
return t;
|
|
1569
1569
|
}
|
|
1570
1570
|
const iu = /* @__PURE__ */ R("$ZodRecord", (e, t) => {
|
|
1571
|
-
|
|
1571
|
+
se.init(e, t), e._zod.parse = (n, o) => {
|
|
1572
1572
|
const a = n.value;
|
|
1573
1573
|
if (!zt(a))
|
|
1574
1574
|
return n.issues.push({
|
|
@@ -1591,7 +1591,7 @@ const iu = /* @__PURE__ */ R("$ZodRecord", (e, t) => {
|
|
|
1591
1591
|
n.issues.push({
|
|
1592
1592
|
code: "invalid_key",
|
|
1593
1593
|
origin: "record",
|
|
1594
|
-
issues: u.issues.map((h) =>
|
|
1594
|
+
issues: u.issues.map((h) => st(h, o, lt())),
|
|
1595
1595
|
input: c,
|
|
1596
1596
|
path: [c],
|
|
1597
1597
|
inst: e
|
|
@@ -1630,7 +1630,7 @@ const iu = /* @__PURE__ */ R("$ZodRecord", (e, t) => {
|
|
|
1630
1630
|
t.mode === "loose" ? n.value[l] = a[l] : n.issues.push({
|
|
1631
1631
|
code: "invalid_key",
|
|
1632
1632
|
origin: "record",
|
|
1633
|
-
issues: s.issues.map((m) =>
|
|
1633
|
+
issues: s.issues.map((m) => st(m, o, lt())),
|
|
1634
1634
|
input: l,
|
|
1635
1635
|
path: [l],
|
|
1636
1636
|
inst: e
|
|
@@ -1646,7 +1646,7 @@ const iu = /* @__PURE__ */ R("$ZodRecord", (e, t) => {
|
|
|
1646
1646
|
return i.length ? Promise.all(i).then(() => n) : n;
|
|
1647
1647
|
};
|
|
1648
1648
|
}), lu = /* @__PURE__ */ R("$ZodEnum", (e, t) => {
|
|
1649
|
-
|
|
1649
|
+
se.init(e, t);
|
|
1650
1650
|
const n = yi(t.entries), o = new Set(n);
|
|
1651
1651
|
e._zod.values = o, e._zod.pattern = new RegExp(`^(${n.filter((a) => ms.has(typeof a)).map((a) => typeof a == "string" ? Bt(a) : a.toString()).join("|")})$`), e._zod.parse = (a, i) => {
|
|
1652
1652
|
const r = a.value;
|
|
@@ -1658,7 +1658,7 @@ const iu = /* @__PURE__ */ R("$ZodRecord", (e, t) => {
|
|
|
1658
1658
|
}), a;
|
|
1659
1659
|
};
|
|
1660
1660
|
}), su = /* @__PURE__ */ R("$ZodLiteral", (e, t) => {
|
|
1661
|
-
if (
|
|
1661
|
+
if (se.init(e, t), t.values.length === 0)
|
|
1662
1662
|
throw new Error("Cannot create literal schema with no valid values");
|
|
1663
1663
|
const n = new Set(t.values);
|
|
1664
1664
|
e._zod.values = n, e._zod.pattern = new RegExp(`^(${t.values.map((o) => typeof o == "string" ? Bt(o) : o ? Bt(o.toString()) : String(o)).join("|")})$`), e._zod.parse = (o, a) => {
|
|
@@ -1671,7 +1671,7 @@ const iu = /* @__PURE__ */ R("$ZodRecord", (e, t) => {
|
|
|
1671
1671
|
}), o;
|
|
1672
1672
|
};
|
|
1673
1673
|
}), cu = /* @__PURE__ */ R("$ZodTransform", (e, t) => {
|
|
1674
|
-
|
|
1674
|
+
se.init(e, t), e._zod.optin = "optional", e._zod.parse = (n, o) => {
|
|
1675
1675
|
if (o.direction === "backward")
|
|
1676
1676
|
throw new Ai(e.constructor.name);
|
|
1677
1677
|
const a = t.transform(n.value, n);
|
|
@@ -1686,7 +1686,7 @@ function tr(e, t) {
|
|
|
1686
1686
|
return t === void 0 && (e.issues.length || e.fallback) ? { issues: [], value: void 0 } : e;
|
|
1687
1687
|
}
|
|
1688
1688
|
const Zi = /* @__PURE__ */ R("$ZodOptional", (e, t) => {
|
|
1689
|
-
|
|
1689
|
+
se.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", J(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), J(e._zod, "pattern", () => {
|
|
1690
1690
|
const n = t.innerType._zod.pattern;
|
|
1691
1691
|
return n ? new RegExp(`^(${ya(n.source)})?$`) : void 0;
|
|
1692
1692
|
}), e._zod.parse = (n, o) => {
|
|
@@ -1699,12 +1699,12 @@ const Zi = /* @__PURE__ */ R("$ZodOptional", (e, t) => {
|
|
|
1699
1699
|
}), uu = /* @__PURE__ */ R("$ZodExactOptional", (e, t) => {
|
|
1700
1700
|
Zi.init(e, t), J(e._zod, "values", () => t.innerType._zod.values), J(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (n, o) => t.innerType._zod.run(n, o);
|
|
1701
1701
|
}), du = /* @__PURE__ */ R("$ZodNullable", (e, t) => {
|
|
1702
|
-
|
|
1702
|
+
se.init(e, t), J(e._zod, "optin", () => t.innerType._zod.optin), J(e._zod, "optout", () => t.innerType._zod.optout), J(e._zod, "pattern", () => {
|
|
1703
1703
|
const n = t.innerType._zod.pattern;
|
|
1704
1704
|
return n ? new RegExp(`^(${ya(n.source)}|null)$`) : void 0;
|
|
1705
1705
|
}), J(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (n, o) => n.value === null ? n : t.innerType._zod.run(n, o);
|
|
1706
1706
|
}), hu = /* @__PURE__ */ R("$ZodDefault", (e, t) => {
|
|
1707
|
-
|
|
1707
|
+
se.init(e, t), e._zod.optin = "optional", J(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, o) => {
|
|
1708
1708
|
if (o.direction === "backward")
|
|
1709
1709
|
return t.innerType._zod.run(n, o);
|
|
1710
1710
|
if (n.value === void 0)
|
|
@@ -1717,9 +1717,9 @@ function nr(e, t) {
|
|
|
1717
1717
|
return e.value === void 0 && (e.value = t.defaultValue), e;
|
|
1718
1718
|
}
|
|
1719
1719
|
const fu = /* @__PURE__ */ R("$ZodPrefault", (e, t) => {
|
|
1720
|
-
|
|
1720
|
+
se.init(e, t), e._zod.optin = "optional", J(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, o) => (o.direction === "backward" || n.value === void 0 && (n.value = t.defaultValue), t.innerType._zod.run(n, o));
|
|
1721
1721
|
}), pu = /* @__PURE__ */ R("$ZodNonOptional", (e, t) => {
|
|
1722
|
-
|
|
1722
|
+
se.init(e, t), J(e._zod, "values", () => {
|
|
1723
1723
|
const n = t.innerType._zod.values;
|
|
1724
1724
|
return n ? new Set([...n].filter((o) => o !== void 0)) : void 0;
|
|
1725
1725
|
}), e._zod.parse = (n, o) => {
|
|
@@ -1736,26 +1736,26 @@ function or(e, t) {
|
|
|
1736
1736
|
}), e;
|
|
1737
1737
|
}
|
|
1738
1738
|
const mu = /* @__PURE__ */ R("$ZodCatch", (e, t) => {
|
|
1739
|
-
|
|
1739
|
+
se.init(e, t), e._zod.optin = "optional", J(e._zod, "optout", () => t.innerType._zod.optout), J(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, o) => {
|
|
1740
1740
|
if (o.direction === "backward")
|
|
1741
1741
|
return t.innerType._zod.run(n, o);
|
|
1742
1742
|
const a = t.innerType._zod.run(n, o);
|
|
1743
1743
|
return a instanceof Promise ? a.then((i) => (n.value = i.value, i.issues.length && (n.value = t.catchValue({
|
|
1744
1744
|
...n,
|
|
1745
1745
|
error: {
|
|
1746
|
-
issues: i.issues.map((r) =>
|
|
1746
|
+
issues: i.issues.map((r) => st(r, o, lt()))
|
|
1747
1747
|
},
|
|
1748
1748
|
input: n.value
|
|
1749
1749
|
}), n.issues = [], n.fallback = !0), n)) : (n.value = a.value, a.issues.length && (n.value = t.catchValue({
|
|
1750
1750
|
...n,
|
|
1751
1751
|
error: {
|
|
1752
|
-
issues: a.issues.map((i) =>
|
|
1752
|
+
issues: a.issues.map((i) => st(i, o, lt()))
|
|
1753
1753
|
},
|
|
1754
1754
|
input: n.value
|
|
1755
1755
|
}), n.issues = [], n.fallback = !0), n);
|
|
1756
1756
|
};
|
|
1757
1757
|
}), Wi = /* @__PURE__ */ R("$ZodPipe", (e, t) => {
|
|
1758
|
-
|
|
1758
|
+
se.init(e, t), J(e._zod, "values", () => t.in._zod.values), J(e._zod, "optin", () => t.in._zod.optin), J(e._zod, "optout", () => t.out._zod.optout), J(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (n, o) => {
|
|
1759
1759
|
if (o.direction === "backward") {
|
|
1760
1760
|
const i = t.out._zod.run(n, o);
|
|
1761
1761
|
return i instanceof Promise ? i.then((r) => wn(r, t.in, o)) : wn(i, t.in, o);
|
|
@@ -1770,7 +1770,7 @@ function wn(e, t, n) {
|
|
|
1770
1770
|
const gu = /* @__PURE__ */ R("$ZodPreprocess", (e, t) => {
|
|
1771
1771
|
Wi.init(e, t);
|
|
1772
1772
|
}), bu = /* @__PURE__ */ R("$ZodReadonly", (e, t) => {
|
|
1773
|
-
|
|
1773
|
+
se.init(e, t), J(e._zod, "propValues", () => t.innerType._zod.propValues), J(e._zod, "values", () => t.innerType._zod.values), J(e._zod, "optin", () => {
|
|
1774
1774
|
var n, o;
|
|
1775
1775
|
return (o = (n = t.innerType) == null ? void 0 : n._zod) == null ? void 0 : o.optin;
|
|
1776
1776
|
}), J(e._zod, "optout", () => {
|
|
@@ -1787,7 +1787,7 @@ function ar(e) {
|
|
|
1787
1787
|
return e.value = Object.freeze(e.value), e;
|
|
1788
1788
|
}
|
|
1789
1789
|
const vu = /* @__PURE__ */ R("$ZodLazy", (e, t) => {
|
|
1790
|
-
|
|
1790
|
+
se.init(e, t), J(e._zod, "innerType", () => {
|
|
1791
1791
|
const n = t;
|
|
1792
1792
|
return n._cachedInner || (n._cachedInner = t.getter()), n._cachedInner;
|
|
1793
1793
|
}), J(e._zod, "pattern", () => {
|
|
@@ -1804,7 +1804,7 @@ const vu = /* @__PURE__ */ R("$ZodLazy", (e, t) => {
|
|
|
1804
1804
|
return ((o = (n = e._zod.innerType) == null ? void 0 : n._zod) == null ? void 0 : o.optout) ?? void 0;
|
|
1805
1805
|
}), e._zod.parse = (n, o) => e._zod.innerType._zod.run(n, o);
|
|
1806
1806
|
}), xu = /* @__PURE__ */ R("$ZodCustom", (e, t) => {
|
|
1807
|
-
Ie.init(e, t),
|
|
1807
|
+
Ie.init(e, t), se.init(e, t), e._zod.parse = (n, o) => n, e._zod.check = (n) => {
|
|
1808
1808
|
const o = n.value, a = t.fn(o);
|
|
1809
1809
|
if (a instanceof Promise)
|
|
1810
1810
|
return a.then((i) => rr(i, n, o, e));
|
|
@@ -2877,7 +2877,7 @@ function dn(e, t, n) {
|
|
|
2877
2877
|
}
|
|
2878
2878
|
}
|
|
2879
2879
|
}
|
|
2880
|
-
const
|
|
2880
|
+
const ce = /* @__PURE__ */ R("ZodType", (e, t) => (se.init(e, t), Object.assign(e["~standard"], {
|
|
2881
2881
|
jsonSchema: {
|
|
2882
2882
|
input: Bn(e, "input"),
|
|
2883
2883
|
output: Bn(e, "output")
|
|
@@ -2981,7 +2981,7 @@ const se = /* @__PURE__ */ R("ZodType", (e, t) => (le.init(e, t), Object.assign(
|
|
|
2981
2981
|
},
|
|
2982
2982
|
configurable: !0
|
|
2983
2983
|
}), e)), Qi = /* @__PURE__ */ R("_ZodString", (e, t) => {
|
|
2984
|
-
Ia.init(e, t),
|
|
2984
|
+
Ia.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (o, a, i) => bd(e, o, a);
|
|
2985
2985
|
const n = e._zod.bag;
|
|
2986
2986
|
e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, dn(e, "_ZodString", {
|
|
2987
2987
|
regex(...o) {
|
|
@@ -3037,7 +3037,7 @@ function x(e) {
|
|
|
3037
3037
|
return /* @__PURE__ */ ku(sh, e);
|
|
3038
3038
|
}
|
|
3039
3039
|
const pe = /* @__PURE__ */ R("ZodStringFormat", (e, t) => {
|
|
3040
|
-
|
|
3040
|
+
de.init(e, t), Qi.init(e, t);
|
|
3041
3041
|
}), ch = /* @__PURE__ */ R("ZodEmail", (e, t) => {
|
|
3042
3042
|
Ac.init(e, t), pe.init(e, t);
|
|
3043
3043
|
}), hr = /* @__PURE__ */ R("ZodGUID", (e, t) => {
|
|
@@ -3077,7 +3077,7 @@ const pe = /* @__PURE__ */ R("ZodStringFormat", (e, t) => {
|
|
|
3077
3077
|
}), Ch = /* @__PURE__ */ R("ZodJWT", (e, t) => {
|
|
3078
3078
|
Vc.init(e, t), pe.init(e, t);
|
|
3079
3079
|
}), el = /* @__PURE__ */ R("ZodNumber", (e, t) => {
|
|
3080
|
-
Fi.init(e, t),
|
|
3080
|
+
Fi.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (o, a, i) => vd(e, o, a), dn(e, "ZodNumber", {
|
|
3081
3081
|
gt(o, a) {
|
|
3082
3082
|
return this.check(/* @__PURE__ */ cr(o, a));
|
|
3083
3083
|
},
|
|
@@ -3137,31 +3137,31 @@ function fr(e) {
|
|
|
3137
3137
|
return /* @__PURE__ */ Yu(Ah, e);
|
|
3138
3138
|
}
|
|
3139
3139
|
const yh = /* @__PURE__ */ R("ZodBoolean", (e, t) => {
|
|
3140
|
-
Kc.init(e, t),
|
|
3140
|
+
Kc.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => xd(e, n, o);
|
|
3141
3141
|
});
|
|
3142
3142
|
function O(e) {
|
|
3143
3143
|
return /* @__PURE__ */ Ku(yh, e);
|
|
3144
3144
|
}
|
|
3145
3145
|
const Nh = /* @__PURE__ */ R("ZodAny", (e, t) => {
|
|
3146
|
-
Jc.init(e, t),
|
|
3146
|
+
Jc.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => wd();
|
|
3147
3147
|
});
|
|
3148
3148
|
function sn() {
|
|
3149
3149
|
return /* @__PURE__ */ Ju(Nh);
|
|
3150
3150
|
}
|
|
3151
3151
|
const Rh = /* @__PURE__ */ R("ZodUnknown", (e, t) => {
|
|
3152
|
-
Xc.init(e, t),
|
|
3152
|
+
Xc.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => kd();
|
|
3153
3153
|
});
|
|
3154
3154
|
function pr() {
|
|
3155
3155
|
return /* @__PURE__ */ Xu(Rh);
|
|
3156
3156
|
}
|
|
3157
3157
|
const Eh = /* @__PURE__ */ R("ZodNever", (e, t) => {
|
|
3158
|
-
Qc.init(e, t),
|
|
3158
|
+
Qc.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Sd(e, n, o);
|
|
3159
3159
|
});
|
|
3160
3160
|
function Ih(e) {
|
|
3161
3161
|
return /* @__PURE__ */ Qu(Eh, e);
|
|
3162
3162
|
}
|
|
3163
3163
|
const Mh = /* @__PURE__ */ R("ZodArray", (e, t) => {
|
|
3164
|
-
eu.init(e, t),
|
|
3164
|
+
eu.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => yd(e, n, o, a), e.element = t.element, dn(e, "ZodArray", {
|
|
3165
3165
|
min(n, o) {
|
|
3166
3166
|
return this.check(/* @__PURE__ */ zn(n, o));
|
|
3167
3167
|
},
|
|
@@ -3183,7 +3183,7 @@ function q(e, t) {
|
|
|
3183
3183
|
return /* @__PURE__ */ dd(Mh, e, t);
|
|
3184
3184
|
}
|
|
3185
3185
|
const Th = /* @__PURE__ */ R("ZodObject", (e, t) => {
|
|
3186
|
-
nu.init(e, t),
|
|
3186
|
+
nu.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Nd(e, n, o, a), J(e, "shape", () => t.shape), dn(e, "ZodObject", {
|
|
3187
3187
|
keyof() {
|
|
3188
3188
|
return E(Object.keys(this._zod.def.shape));
|
|
3189
3189
|
},
|
|
@@ -3234,7 +3234,7 @@ function $(e, t) {
|
|
|
3234
3234
|
return new Th(n);
|
|
3235
3235
|
}
|
|
3236
3236
|
const tl = /* @__PURE__ */ R("ZodUnion", (e, t) => {
|
|
3237
|
-
Ui.init(e, t),
|
|
3237
|
+
Ui.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Rd(e, n, o, a), e.options = t.options;
|
|
3238
3238
|
});
|
|
3239
3239
|
function F(e, t) {
|
|
3240
3240
|
return new tl({
|
|
@@ -3255,7 +3255,7 @@ function Oh(e, t, n) {
|
|
|
3255
3255
|
});
|
|
3256
3256
|
}
|
|
3257
3257
|
const Lh = /* @__PURE__ */ R("ZodIntersection", (e, t) => {
|
|
3258
|
-
au.init(e, t),
|
|
3258
|
+
au.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Ed(e, n, o, a);
|
|
3259
3259
|
});
|
|
3260
3260
|
function zh(e, t) {
|
|
3261
3261
|
return new Lh({
|
|
@@ -3265,13 +3265,13 @@ function zh(e, t) {
|
|
|
3265
3265
|
});
|
|
3266
3266
|
}
|
|
3267
3267
|
const Bh = /* @__PURE__ */ R("ZodTuple", (e, t) => {
|
|
3268
|
-
ru.init(e, t),
|
|
3268
|
+
ru.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Id(e, n, o, a), e.rest = (n) => e.clone({
|
|
3269
3269
|
...e._zod.def,
|
|
3270
3270
|
rest: n
|
|
3271
3271
|
});
|
|
3272
3272
|
});
|
|
3273
3273
|
function nl(e, t, n) {
|
|
3274
|
-
const o = t instanceof
|
|
3274
|
+
const o = t instanceof se, a = o ? n : t, i = o ? t : null;
|
|
3275
3275
|
return new Bh({
|
|
3276
3276
|
type: "tuple",
|
|
3277
3277
|
items: e,
|
|
@@ -3280,7 +3280,7 @@ function nl(e, t, n) {
|
|
|
3280
3280
|
});
|
|
3281
3281
|
}
|
|
3282
3282
|
const mr = /* @__PURE__ */ R("ZodRecord", (e, t) => {
|
|
3283
|
-
iu.init(e, t),
|
|
3283
|
+
iu.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Md(e, n, o, a), e.keyType = t.keyType, e.valueType = t.valueType;
|
|
3284
3284
|
});
|
|
3285
3285
|
function Dt(e, t, n) {
|
|
3286
3286
|
return !t || !t._zod ? new mr({
|
|
@@ -3296,7 +3296,7 @@ function Dt(e, t, n) {
|
|
|
3296
3296
|
});
|
|
3297
3297
|
}
|
|
3298
3298
|
const Uo = /* @__PURE__ */ R("ZodEnum", (e, t) => {
|
|
3299
|
-
lu.init(e, t),
|
|
3299
|
+
lu.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (o, a, i) => _d(e, o, a), e.enum = t.entries, e.options = Object.values(t.entries);
|
|
3300
3300
|
const n = new Set(Object.keys(t.entries));
|
|
3301
3301
|
e.extract = (o, a) => {
|
|
3302
3302
|
const i = {};
|
|
@@ -3335,7 +3335,7 @@ function E(e, t) {
|
|
|
3335
3335
|
});
|
|
3336
3336
|
}
|
|
3337
3337
|
const Dh = /* @__PURE__ */ R("ZodLiteral", (e, t) => {
|
|
3338
|
-
su.init(e, t),
|
|
3338
|
+
su.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => $d(e, n, o), e.values = new Set(t.values), Object.defineProperty(e, "value", {
|
|
3339
3339
|
get() {
|
|
3340
3340
|
if (t.values.length > 1)
|
|
3341
3341
|
throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
|
|
@@ -3351,7 +3351,7 @@ function ae(e, t) {
|
|
|
3351
3351
|
});
|
|
3352
3352
|
}
|
|
3353
3353
|
const Hh = /* @__PURE__ */ R("ZodTransform", (e, t) => {
|
|
3354
|
-
cu.init(e, t),
|
|
3354
|
+
cu.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Ad(e, n), e._zod.parse = (n, o) => {
|
|
3355
3355
|
if (o.direction === "backward")
|
|
3356
3356
|
throw new Ai(e.constructor.name);
|
|
3357
3357
|
n.addIssue = (i) => {
|
|
@@ -3373,7 +3373,7 @@ function ol(e) {
|
|
|
3373
3373
|
});
|
|
3374
3374
|
}
|
|
3375
3375
|
const al = /* @__PURE__ */ R("ZodOptional", (e, t) => {
|
|
3376
|
-
Zi.init(e, t),
|
|
3376
|
+
Zi.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Xi(e, n, o, a), e.unwrap = () => e._zod.def.innerType;
|
|
3377
3377
|
});
|
|
3378
3378
|
function gr(e) {
|
|
3379
3379
|
return new al({
|
|
@@ -3382,7 +3382,7 @@ function gr(e) {
|
|
|
3382
3382
|
});
|
|
3383
3383
|
}
|
|
3384
3384
|
const Fh = /* @__PURE__ */ R("ZodExactOptional", (e, t) => {
|
|
3385
|
-
uu.init(e, t),
|
|
3385
|
+
uu.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Xi(e, n, o, a), e.unwrap = () => e._zod.def.innerType;
|
|
3386
3386
|
});
|
|
3387
3387
|
function Gh(e) {
|
|
3388
3388
|
return new Fh({
|
|
@@ -3391,7 +3391,7 @@ function Gh(e) {
|
|
|
3391
3391
|
});
|
|
3392
3392
|
}
|
|
3393
3393
|
const jh = /* @__PURE__ */ R("ZodNullable", (e, t) => {
|
|
3394
|
-
du.init(e, t),
|
|
3394
|
+
du.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Td(e, n, o, a), e.unwrap = () => e._zod.def.innerType;
|
|
3395
3395
|
});
|
|
3396
3396
|
function br(e) {
|
|
3397
3397
|
return new jh({
|
|
@@ -3400,7 +3400,7 @@ function br(e) {
|
|
|
3400
3400
|
});
|
|
3401
3401
|
}
|
|
3402
3402
|
const Uh = /* @__PURE__ */ R("ZodDefault", (e, t) => {
|
|
3403
|
-
hu.init(e, t),
|
|
3403
|
+
hu.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Od(e, n, o, a), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
|
|
3404
3404
|
});
|
|
3405
3405
|
function Zh(e, t) {
|
|
3406
3406
|
return new Uh({
|
|
@@ -3412,7 +3412,7 @@ function Zh(e, t) {
|
|
|
3412
3412
|
});
|
|
3413
3413
|
}
|
|
3414
3414
|
const Wh = /* @__PURE__ */ R("ZodPrefault", (e, t) => {
|
|
3415
|
-
fu.init(e, t),
|
|
3415
|
+
fu.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Ld(e, n, o, a), e.unwrap = () => e._zod.def.innerType;
|
|
3416
3416
|
});
|
|
3417
3417
|
function qh(e, t) {
|
|
3418
3418
|
return new Wh({
|
|
@@ -3424,7 +3424,7 @@ function qh(e, t) {
|
|
|
3424
3424
|
});
|
|
3425
3425
|
}
|
|
3426
3426
|
const rl = /* @__PURE__ */ R("ZodNonOptional", (e, t) => {
|
|
3427
|
-
pu.init(e, t),
|
|
3427
|
+
pu.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Pd(e, n, o, a), e.unwrap = () => e._zod.def.innerType;
|
|
3428
3428
|
});
|
|
3429
3429
|
function Vh(e, t) {
|
|
3430
3430
|
return new rl({
|
|
@@ -3434,7 +3434,7 @@ function Vh(e, t) {
|
|
|
3434
3434
|
});
|
|
3435
3435
|
}
|
|
3436
3436
|
const Yh = /* @__PURE__ */ R("ZodCatch", (e, t) => {
|
|
3437
|
-
mu.init(e, t),
|
|
3437
|
+
mu.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => zd(e, n, o, a), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
|
|
3438
3438
|
});
|
|
3439
3439
|
function Kh(e, t) {
|
|
3440
3440
|
return new Yh({
|
|
@@ -3444,7 +3444,7 @@ function Kh(e, t) {
|
|
|
3444
3444
|
});
|
|
3445
3445
|
}
|
|
3446
3446
|
const il = /* @__PURE__ */ R("ZodPipe", (e, t) => {
|
|
3447
|
-
Wi.init(e, t),
|
|
3447
|
+
Wi.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Bd(e, n, o, a), e.in = t.in, e.out = t.out;
|
|
3448
3448
|
});
|
|
3449
3449
|
function vr(e, t) {
|
|
3450
3450
|
return new il({
|
|
@@ -3457,7 +3457,7 @@ function vr(e, t) {
|
|
|
3457
3457
|
const Jh = /* @__PURE__ */ R("ZodPreprocess", (e, t) => {
|
|
3458
3458
|
il.init(e, t), gu.init(e, t);
|
|
3459
3459
|
}), Xh = /* @__PURE__ */ R("ZodReadonly", (e, t) => {
|
|
3460
|
-
bu.init(e, t),
|
|
3460
|
+
bu.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Dd(e, n, o, a), e.unwrap = () => e._zod.def.innerType;
|
|
3461
3461
|
});
|
|
3462
3462
|
function Qh(e) {
|
|
3463
3463
|
return new Xh({
|
|
@@ -3466,7 +3466,7 @@ function Qh(e) {
|
|
|
3466
3466
|
});
|
|
3467
3467
|
}
|
|
3468
3468
|
const ef = /* @__PURE__ */ R("ZodLazy", (e, t) => {
|
|
3469
|
-
vu.init(e, t),
|
|
3469
|
+
vu.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Hd(e, n, o, a), e.unwrap = () => e._zod.def.getter();
|
|
3470
3470
|
});
|
|
3471
3471
|
function tf(e) {
|
|
3472
3472
|
return new ef({
|
|
@@ -3475,7 +3475,7 @@ function tf(e) {
|
|
|
3475
3475
|
});
|
|
3476
3476
|
}
|
|
3477
3477
|
const nf = /* @__PURE__ */ R("ZodCustom", (e, t) => {
|
|
3478
|
-
xu.init(e, t),
|
|
3478
|
+
xu.init(e, t), ce.init(e, t), e._zod.processJSONSchema = (n, o, a) => Cd(e, n);
|
|
3479
3479
|
});
|
|
3480
3480
|
function of(e, t = {}) {
|
|
3481
3481
|
return /* @__PURE__ */ hd(nf, e, t);
|
|
@@ -3586,7 +3586,7 @@ const hn = $({
|
|
|
3586
3586
|
function ll() {
|
|
3587
3587
|
return "desktop";
|
|
3588
3588
|
}
|
|
3589
|
-
const Ge = 1024, Me = 640,
|
|
3589
|
+
const Ge = 1024, Me = 640, it = `@media (max-width: ${Ge}px)`, De = `@media (max-width: ${Me}px)`, fn = `@media (min-width: ${Me + 1}px) and (max-width: ${Ge}px)`, Jn = $({
|
|
3590
3590
|
color: x().optional().nullable(),
|
|
3591
3591
|
offsetX: f().default(0),
|
|
3592
3592
|
offsetY: f().default(0),
|
|
@@ -4086,7 +4086,7 @@ const ge = {
|
|
|
4086
4086
|
boxShadow: null
|
|
4087
4087
|
};
|
|
4088
4088
|
function Gf({ style: e, props: t }) {
|
|
4089
|
-
const o = `bh-${ki().replace(/:/g, "")}`, a = (t == null ? void 0 : t.text) ?? ge.text, i = (t == null ? void 0 : t.url) ?? ge.url, r = (t == null ? void 0 : t.fullWidth) ?? ge.fullWidth, l = (t == null ? void 0 : t.widthType) ?? ge.widthType, s = (t == null ? void 0 : t.width) ?? ge.width, c = (t == null ? void 0 : t.widthUnit) ?? ge.widthUnit, u = (t == null ? void 0 : t.widthTablet) ?? null, m = (t == null ? void 0 : t.widthMobile) ?? null, d = u ?? s, h = m ?? d, p = (t == null ? void 0 : t.widthTypeTablet) ?? l, b = (t == null ? void 0 : t.widthTypeMobile) ?? p, v = (t == null ? void 0 : t.size) ?? ge.size, k = (t == null ? void 0 : t.sizeTablet) ?? v, S = (t == null ? void 0 : t.sizeMobile) ?? k, C = l, w = s, _ = (t == null ? void 0 : t.buttonTextColor) ?? ge.buttonTextColor, N = (t == null ? void 0 : t.buttonBackground) ?? ge.buttonBackground, A = (t == null ? void 0 : t.iconEnabled) ?? ge.iconEnabled, y = (t == null ? void 0 : t.iconName) ?? ge.iconName, I = (t == null ? void 0 : t.iconAlignment) ?? ge.iconAlignment, M = (t == null ? void 0 : t.ariaLabel) ?? null, T = typeof a == "string" && a.trim().length > 0, L = M && M.trim().length > 0 ? M : !T && A && y ? y : void 0, G = (t == null ? void 0 : t.action) ?? ge.action,
|
|
4089
|
+
const o = `bh-${ki().replace(/:/g, "")}`, a = (t == null ? void 0 : t.text) ?? ge.text, i = (t == null ? void 0 : t.url) ?? ge.url, r = (t == null ? void 0 : t.fullWidth) ?? ge.fullWidth, l = (t == null ? void 0 : t.widthType) ?? ge.widthType, s = (t == null ? void 0 : t.width) ?? ge.width, c = (t == null ? void 0 : t.widthUnit) ?? ge.widthUnit, u = (t == null ? void 0 : t.widthTablet) ?? null, m = (t == null ? void 0 : t.widthMobile) ?? null, d = u ?? s, h = m ?? d, p = (t == null ? void 0 : t.widthTypeTablet) ?? l, b = (t == null ? void 0 : t.widthTypeMobile) ?? p, v = (t == null ? void 0 : t.size) ?? ge.size, k = (t == null ? void 0 : t.sizeTablet) ?? v, S = (t == null ? void 0 : t.sizeMobile) ?? k, C = l, w = s, _ = (t == null ? void 0 : t.buttonTextColor) ?? ge.buttonTextColor, N = (t == null ? void 0 : t.buttonBackground) ?? ge.buttonBackground, A = (t == null ? void 0 : t.iconEnabled) ?? ge.iconEnabled, y = (t == null ? void 0 : t.iconName) ?? ge.iconName, I = (t == null ? void 0 : t.iconAlignment) ?? ge.iconAlignment, M = (t == null ? void 0 : t.ariaLabel) ?? null, T = typeof a == "string" && a.trim().length > 0, L = M && M.trim().length > 0 ? M : !T && A && y ? y : void 0, G = (t == null ? void 0 : t.action) ?? ge.action, z = (t == null ? void 0 : t.openInNewTab) ?? ge.openInNewTab, B = ((t == null ? void 0 : t.customAction) ?? ge.customAction) || G, U = (t == null ? void 0 : t.actionPayload) ?? ge.actionPayload, j = (t == null ? void 0 : t.goToStep) ?? ge.goToStep, Y = (t == null ? void 0 : t.postMessageEvent) ?? ge.postMessageEvent, he = U || (B === "goToStep" ? { goToStep: j || "" } : null) || (B === "postMessageEvent" ? { postMessageEvent: Y || "" } : null), ne = he ? JSON.stringify(he) : void 0, ee = (t == null ? void 0 : t.borderRadius) ?? ge.borderRadius, W = (t == null ? void 0 : t.borderWidth) ?? ge.borderWidth, re = (t == null ? void 0 : t.borderColor) ?? ge.borderColor, Te = (t == null ? void 0 : t.boxShadow) ?? ge.boxShadow, $e = Xn(Te), me = (t == null ? void 0 : t.hoverBackground) ?? null, te = (t == null ? void 0 : t.hoverTextColor) ?? null, V = wr(
|
|
4090
4090
|
v
|
|
4091
4091
|
), Z = (Ae) => typeof Ae == "number" ? `${Ae}px` : `${Ae.topLeft}px ${Ae.topRight}px ${Ae.bottomRight}px ${Ae.bottomLeft}px`, X = (Ae, ht) => {
|
|
4092
4092
|
if (typeof Ae == "number")
|
|
@@ -4110,7 +4110,7 @@ function Gf({ style: e, props: t }) {
|
|
|
4110
4110
|
default:
|
|
4111
4111
|
return "auto";
|
|
4112
4112
|
}
|
|
4113
|
-
})(), Ce = (e == null ? void 0 : e.buttonTextAlign) ?? (e == null ? void 0 : e.textAlign) ?? "center",
|
|
4113
|
+
})(), Ce = (e == null ? void 0 : e.buttonTextAlign) ?? (e == null ? void 0 : e.textAlign) ?? "center", ct = Ce === "center" ? "center" : Ce === "right" ? "flex-end" : "flex-start", St = () => !re || re === "transparent" || !Q ? { border: "none" } : Re ? {
|
|
4114
4114
|
borderTop: `${K.top}px solid transparent`,
|
|
4115
4115
|
borderRight: `${K.right}px solid transparent`,
|
|
4116
4116
|
borderBottom: `${K.bottom}px solid transparent`,
|
|
@@ -4128,7 +4128,7 @@ function Gf({ style: e, props: t }) {
|
|
|
4128
4128
|
textAlign: (e == null ? void 0 : e.textAlign) ?? void 0,
|
|
4129
4129
|
padding: Df(e == null ? void 0 : e.padding),
|
|
4130
4130
|
margin: Hf(e == null ? void 0 : e.margin)
|
|
4131
|
-
}, Pe = St(),
|
|
4131
|
+
}, Pe = St(), ut = _e ? {
|
|
4132
4132
|
backgroundImage: _,
|
|
4133
4133
|
backgroundRepeat: "no-repeat",
|
|
4134
4134
|
backgroundSize: "100% 100%",
|
|
@@ -4138,12 +4138,12 @@ function Gf({ style: e, props: t }) {
|
|
|
4138
4138
|
display: "inline-block"
|
|
4139
4139
|
} : {
|
|
4140
4140
|
color: _ || void 0
|
|
4141
|
-
}, We = _e ? "transparent" : Ee ? void 0 : N,
|
|
4141
|
+
}, We = _e ? "transparent" : Ee ? void 0 : N, dt = _e ? void 0 : Ee ? N : void 0, Oe = (e == null ? void 0 : e.fontSize) ?? 16, At = `${Oe}px`, Wt = {
|
|
4142
4142
|
fontSize: At,
|
|
4143
4143
|
fontFamily: ro(e == null ? void 0 : e.fontFamily),
|
|
4144
4144
|
fontWeight: (e == null ? void 0 : e.fontWeight) ?? nn.REGULAR,
|
|
4145
4145
|
backgroundColor: We,
|
|
4146
|
-
backgroundImage:
|
|
4146
|
+
backgroundImage: dt,
|
|
4147
4147
|
borderRadius: Re ? "0px" : Z(ee),
|
|
4148
4148
|
...Pe,
|
|
4149
4149
|
...Re && Q ? {} : $e,
|
|
@@ -4152,7 +4152,7 @@ function Gf({ style: e, props: t }) {
|
|
|
4152
4152
|
padding: `${V[0]}px ${V[1]}px`,
|
|
4153
4153
|
textDecoration: "none",
|
|
4154
4154
|
boxSizing: "border-box",
|
|
4155
|
-
justifyContent:
|
|
4155
|
+
justifyContent: ct,
|
|
4156
4156
|
lineHeight: "normal"
|
|
4157
4157
|
}, vn = Re && Q ? /* @__PURE__ */ g(
|
|
4158
4158
|
"div",
|
|
@@ -4184,7 +4184,7 @@ function Gf({ style: e, props: t }) {
|
|
|
4184
4184
|
width: "100%",
|
|
4185
4185
|
fontWeight: (e == null ? void 0 : e.fontWeight) ?? nn.REGULAR,
|
|
4186
4186
|
fontFamily: ro(e == null ? void 0 : e.fontFamily),
|
|
4187
|
-
backgroundImage:
|
|
4187
|
+
backgroundImage: dt ?? (Ee ? N : "#fffff"),
|
|
4188
4188
|
backgroundColor: We ?? (Ee ? "#ffffff" : N),
|
|
4189
4189
|
textAlign: Ce,
|
|
4190
4190
|
textDecoration: "none",
|
|
@@ -4193,10 +4193,10 @@ function Gf({ style: e, props: t }) {
|
|
|
4193
4193
|
boxSizing: "border-box",
|
|
4194
4194
|
lineHeight: "normal"
|
|
4195
4195
|
},
|
|
4196
|
-
"data-action":
|
|
4196
|
+
"data-action": B,
|
|
4197
4197
|
"data-action-payload": ne,
|
|
4198
|
-
"data-goto-step":
|
|
4199
|
-
"data-post-message-event":
|
|
4198
|
+
"data-goto-step": B === "goToStep" && j ? j : void 0,
|
|
4199
|
+
"data-post-message-event": B === "postMessageEvent" && Y ? Y : void 0,
|
|
4200
4200
|
type: "button",
|
|
4201
4201
|
"aria-label": L,
|
|
4202
4202
|
children: [
|
|
@@ -4209,14 +4209,14 @@ function Gf({ style: e, props: t }) {
|
|
|
4209
4209
|
verticalAlign: "middle",
|
|
4210
4210
|
pointerEvents: "none"
|
|
4211
4211
|
},
|
|
4212
|
-
"data-action":
|
|
4212
|
+
"data-action": B,
|
|
4213
4213
|
children: ft(y, {
|
|
4214
4214
|
strokeColor: _e ? void 0 : _,
|
|
4215
4215
|
fontSize: Oe
|
|
4216
4216
|
})
|
|
4217
4217
|
}
|
|
4218
4218
|
) : null,
|
|
4219
|
-
/* @__PURE__ */ g("span", { style: { ...
|
|
4219
|
+
/* @__PURE__ */ g("span", { style: { ...ut, pointerEvents: "none" }, "data-action": B, children: a }),
|
|
4220
4220
|
A && y && I === "right" ? /* @__PURE__ */ g(
|
|
4221
4221
|
"span",
|
|
4222
4222
|
{
|
|
@@ -4226,7 +4226,7 @@ function Gf({ style: e, props: t }) {
|
|
|
4226
4226
|
verticalAlign: "middle",
|
|
4227
4227
|
pointerEvents: "none"
|
|
4228
4228
|
},
|
|
4229
|
-
"data-action":
|
|
4229
|
+
"data-action": B,
|
|
4230
4230
|
children: ft(y, {
|
|
4231
4231
|
strokeColor: _e ? void 0 : _,
|
|
4232
4232
|
fontSize: Oe
|
|
@@ -4249,7 +4249,7 @@ function Gf({ style: e, props: t }) {
|
|
|
4249
4249
|
fontWeight: (e == null ? void 0 : e.fontWeight) ?? nn.REGULAR,
|
|
4250
4250
|
fontFamily: ro(e == null ? void 0 : e.fontFamily),
|
|
4251
4251
|
backgroundColor: We ?? (Ee ? "" : N),
|
|
4252
|
-
backgroundImage:
|
|
4252
|
+
backgroundImage: dt ?? (Ee ? N : ""),
|
|
4253
4253
|
textAlign: Ce,
|
|
4254
4254
|
textDecoration: "none",
|
|
4255
4255
|
fontSize: At,
|
|
@@ -4257,10 +4257,10 @@ function Gf({ style: e, props: t }) {
|
|
|
4257
4257
|
boxSizing: "border-box",
|
|
4258
4258
|
lineHeight: "normal"
|
|
4259
4259
|
},
|
|
4260
|
-
"data-action":
|
|
4260
|
+
"data-action": B,
|
|
4261
4261
|
"data-action-payload": ne,
|
|
4262
|
-
"data-goto-step":
|
|
4263
|
-
"data-post-message-event":
|
|
4262
|
+
"data-goto-step": B === "goToStep" && j ? j : void 0,
|
|
4263
|
+
"data-post-message-event": B === "postMessageEvent" && Y ? Y : void 0,
|
|
4264
4264
|
type: "button",
|
|
4265
4265
|
"aria-label": L,
|
|
4266
4266
|
children: [
|
|
@@ -4273,14 +4273,14 @@ function Gf({ style: e, props: t }) {
|
|
|
4273
4273
|
verticalAlign: "middle",
|
|
4274
4274
|
pointerEvents: "none"
|
|
4275
4275
|
},
|
|
4276
|
-
"data-action":
|
|
4276
|
+
"data-action": B,
|
|
4277
4277
|
children: ft(y, {
|
|
4278
4278
|
strokeColor: _e ? void 0 : _,
|
|
4279
4279
|
fontSize: Oe
|
|
4280
4280
|
})
|
|
4281
4281
|
}
|
|
4282
4282
|
) : null,
|
|
4283
|
-
/* @__PURE__ */ g("span", { style: { ...
|
|
4283
|
+
/* @__PURE__ */ g("span", { style: { ...ut, pointerEvents: "none" }, "data-action": B, children: a }),
|
|
4284
4284
|
A && y && I === "right" ? /* @__PURE__ */ g(
|
|
4285
4285
|
"span",
|
|
4286
4286
|
{
|
|
@@ -4290,7 +4290,7 @@ function Gf({ style: e, props: t }) {
|
|
|
4290
4290
|
verticalAlign: "middle",
|
|
4291
4291
|
pointerEvents: "none"
|
|
4292
4292
|
},
|
|
4293
|
-
"data-action":
|
|
4293
|
+
"data-action": B,
|
|
4294
4294
|
children: ft(y, {
|
|
4295
4295
|
strokeColor: _e ? void 0 : _,
|
|
4296
4296
|
fontSize: Oe
|
|
@@ -4301,19 +4301,19 @@ function Gf({ style: e, props: t }) {
|
|
|
4301
4301
|
}
|
|
4302
4302
|
), oe = [];
|
|
4303
4303
|
me && oe.push(`background-color: ${me} !important; background-image: none !important;`), te && oe.push(`color: ${te} !important;`);
|
|
4304
|
-
const
|
|
4304
|
+
const le = oe.length > 0 ? `#${o} a:hover, #${o} button:hover { ${oe.join(" ")} transition: background-color 150ms ease, color 150ms ease; } #${o} a:hover span, #${o} button:hover span { ${te ? `color: ${te} !important; -webkit-text-fill-color: ${te} !important;` : ""} }` : null, Be = (Ae, ht, to, no) => {
|
|
4305
4305
|
const yt = [], Nt = r || ht === "fill" ? "100%" : ht === "fixed" ? `${to}${c}` : "auto";
|
|
4306
4306
|
yt.push(`width: ${Nt} !important;`, "max-width: 100% !important;"), yt.push(`display: ${Nt === "100%" ? "block" : "inline-block"} !important;`);
|
|
4307
4307
|
const [Ua, ss] = wr(no);
|
|
4308
4308
|
return yt.push(`padding: ${Ua}px ${ss}px !important;`), `${Ae} { #${o} a, #${o} button { ${yt.join(" ")} } #${o} > div { width: ${Nt} !important; max-width: 100% !important; display: ${Nt === "100%" ? "block" : "inline-block"} !important; } }`;
|
|
4309
|
-
},
|
|
4310
|
-
|
|
4311
|
-
|
|
4309
|
+
}, ot = p !== l || k !== v || p === "fixed" && d !== s, Je = b !== l || S !== v || b === "fixed" && h !== s, xn = ot || Je ? [
|
|
4310
|
+
ot ? Be(it, p, d, k) : "",
|
|
4311
|
+
Je ? Be(De, b, h, S) : ""
|
|
4312
4312
|
].filter(Boolean).join(`
|
|
4313
4313
|
`) : null;
|
|
4314
4314
|
if (G !== "link")
|
|
4315
4315
|
return /* @__PURE__ */ P("div", { id: o, className: "button-block", style: be, children: [
|
|
4316
|
-
|
|
4316
|
+
le && /* @__PURE__ */ g("style", { children: le }),
|
|
4317
4317
|
xn && /* @__PURE__ */ g("style", { children: xn }),
|
|
4318
4318
|
vn
|
|
4319
4319
|
] });
|
|
@@ -4348,10 +4348,10 @@ function Gf({ style: e, props: t }) {
|
|
|
4348
4348
|
width: "100%",
|
|
4349
4349
|
display: "inline-flex",
|
|
4350
4350
|
alignItems: "center",
|
|
4351
|
-
justifyContent:
|
|
4351
|
+
justifyContent: ct
|
|
4352
4352
|
},
|
|
4353
|
-
target:
|
|
4354
|
-
rel:
|
|
4353
|
+
target: z ? "_blank" : void 0,
|
|
4354
|
+
rel: z ? "noopener noreferrer" : void 0,
|
|
4355
4355
|
"aria-label": L,
|
|
4356
4356
|
children: [
|
|
4357
4357
|
A && y && I === "left" ? /* @__PURE__ */ g(
|
|
@@ -4369,7 +4369,7 @@ function Gf({ style: e, props: t }) {
|
|
|
4369
4369
|
})
|
|
4370
4370
|
}
|
|
4371
4371
|
) : null,
|
|
4372
|
-
/* @__PURE__ */ g("span", { style: { ...
|
|
4372
|
+
/* @__PURE__ */ g("span", { style: { ...ut, pointerEvents: "none" }, children: a }),
|
|
4373
4373
|
A && y && I === "right" ? /* @__PURE__ */ g(
|
|
4374
4374
|
"span",
|
|
4375
4375
|
{
|
|
@@ -4398,10 +4398,10 @@ function Gf({ style: e, props: t }) {
|
|
|
4398
4398
|
borderRadius: Z(ee),
|
|
4399
4399
|
display: "inline-flex",
|
|
4400
4400
|
alignItems: "center",
|
|
4401
|
-
justifyContent:
|
|
4401
|
+
justifyContent: ct
|
|
4402
4402
|
},
|
|
4403
|
-
target:
|
|
4404
|
-
rel:
|
|
4403
|
+
target: z ? "_blank" : void 0,
|
|
4404
|
+
rel: z ? "noopener noreferrer" : void 0,
|
|
4405
4405
|
"aria-label": L,
|
|
4406
4406
|
children: [
|
|
4407
4407
|
A && y && I === "left" ? /* @__PURE__ */ g(
|
|
@@ -4419,7 +4419,7 @@ function Gf({ style: e, props: t }) {
|
|
|
4419
4419
|
})
|
|
4420
4420
|
}
|
|
4421
4421
|
) : null,
|
|
4422
|
-
/* @__PURE__ */ g("span", { style: { ...
|
|
4422
|
+
/* @__PURE__ */ g("span", { style: { ...ut, pointerEvents: "none" }, children: a }),
|
|
4423
4423
|
A && y && I === "right" ? /* @__PURE__ */ g(
|
|
4424
4424
|
"span",
|
|
4425
4425
|
{
|
|
@@ -4439,7 +4439,7 @@ function Gf({ style: e, props: t }) {
|
|
|
4439
4439
|
}
|
|
4440
4440
|
);
|
|
4441
4441
|
return /* @__PURE__ */ P("div", { id: o, className: "button-block", style: be, children: [
|
|
4442
|
-
|
|
4442
|
+
le && /* @__PURE__ */ g("style", { children: le }),
|
|
4443
4443
|
xn && /* @__PURE__ */ g("style", { children: xn }),
|
|
4444
4444
|
ls
|
|
4445
4445
|
] });
|
|
@@ -4693,7 +4693,7 @@ function Lt(e, t) {
|
|
|
4693
4693
|
function Ht(e, t, n) {
|
|
4694
4694
|
return e.slice(t, n);
|
|
4695
4695
|
}
|
|
4696
|
-
function
|
|
4696
|
+
function tt(e) {
|
|
4697
4697
|
return e.length;
|
|
4698
4698
|
}
|
|
4699
4699
|
function bp(e) {
|
|
@@ -4757,7 +4757,7 @@ function cn(e) {
|
|
|
4757
4757
|
return 0;
|
|
4758
4758
|
}
|
|
4759
4759
|
function Sp(e) {
|
|
4760
|
-
return Qn = Ft = 1, hl =
|
|
4760
|
+
return Qn = Ft = 1, hl = tt(jt = e), He = 0, [];
|
|
4761
4761
|
}
|
|
4762
4762
|
function wp(e) {
|
|
4763
4763
|
return jt = "", e;
|
|
@@ -4838,14 +4838,14 @@ function Mn(e, t, n, o, a, i, r, l, s) {
|
|
|
4838
4838
|
switch (gt()) {
|
|
4839
4839
|
case 42:
|
|
4840
4840
|
case 47:
|
|
4841
|
-
$n(yp($p(Ye(), In()), t, n, s), s), (cn(p || 1) == 5 || cn(gt() || 1) == 5) &&
|
|
4841
|
+
$n(yp($p(Ye(), In()), t, n, s), s), (cn(p || 1) == 5 || cn(gt() || 1) == 5) && tt(y) && Ht(y, -1, void 0) !== " " && (y += " ");
|
|
4842
4842
|
break;
|
|
4843
4843
|
default:
|
|
4844
4844
|
y += "/";
|
|
4845
4845
|
}
|
|
4846
4846
|
break;
|
|
4847
4847
|
case 123 * b:
|
|
4848
|
-
l[c++] =
|
|
4848
|
+
l[c++] = tt(y) * k;
|
|
4849
4849
|
case 125 * b:
|
|
4850
4850
|
case 59:
|
|
4851
4851
|
case 0:
|
|
@@ -4858,7 +4858,7 @@ function Mn(e, t, n, o, a, i, r, l, s) {
|
|
|
4858
4858
|
case 125:
|
|
4859
4859
|
v = 0;
|
|
4860
4860
|
case 59 + u:
|
|
4861
|
-
k == -1 && (y = Zo(y, /\f/g, "")), h > 0 && (
|
|
4861
|
+
k == -1 && (y = Zo(y, /\f/g, "")), h > 0 && (tt(y) - m || b === 0) && $n(h > 32 ? Cr(y + ";", o, n, m - 1, s) : Cr(Zo(y, " ", "") + ";", o, n, m - 2, s), s);
|
|
4862
4862
|
break;
|
|
4863
4863
|
case 59:
|
|
4864
4864
|
y += ";";
|
|
@@ -4884,7 +4884,7 @@ function Mn(e, t, n, o, a, i, r, l, s) {
|
|
|
4884
4884
|
c = u = h = 0, b = k = 1, w = y = "", m = r;
|
|
4885
4885
|
break;
|
|
4886
4886
|
case 58:
|
|
4887
|
-
m = 1 +
|
|
4887
|
+
m = 1 + tt(y), h = p;
|
|
4888
4888
|
default:
|
|
4889
4889
|
if (b < 1) {
|
|
4890
4890
|
if (C == 123)
|
|
@@ -4898,13 +4898,13 @@ function Mn(e, t, n, o, a, i, r, l, s) {
|
|
|
4898
4898
|
break;
|
|
4899
4899
|
case 44:
|
|
4900
4900
|
if (S > 0) break;
|
|
4901
|
-
l[c++] = (
|
|
4901
|
+
l[c++] = (tt(y) - 1) * k, k = 1;
|
|
4902
4902
|
break;
|
|
4903
4903
|
case 64:
|
|
4904
|
-
gt() === 45 && (y += lo(Ye())), d = gt(), u = m =
|
|
4904
|
+
gt() === 45 && (y += lo(Ye())), d = gt(), u = m = tt(w = y += Cp(In())), C++;
|
|
4905
4905
|
break;
|
|
4906
4906
|
case 45:
|
|
4907
|
-
p === 45 &&
|
|
4907
|
+
p === 45 && tt(y) == 2 && (b = 0);
|
|
4908
4908
|
}
|
|
4909
4909
|
}
|
|
4910
4910
|
return i;
|
|
@@ -4939,9 +4939,9 @@ function Np(e, t, n, o) {
|
|
|
4939
4939
|
case pp:
|
|
4940
4940
|
return e.return = e.value + "{" + qo(e.children, o) + "}";
|
|
4941
4941
|
case cl:
|
|
4942
|
-
if (!
|
|
4942
|
+
if (!tt(e.value = e.props.join(","))) return "";
|
|
4943
4943
|
}
|
|
4944
|
-
return
|
|
4944
|
+
return tt(n = qo(e.children, o)) ? e.return = e.value + "{" + n + "}" : "";
|
|
4945
4945
|
}
|
|
4946
4946
|
const Rp = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), Ep = x().regex(/^rgba?\([^\)]+\)$/i), Ip = x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i), Mp = ae("transparent"), Ar = F([Rp, Ep, Ip, Mp]).nullable().optional(), Tp = $({
|
|
4947
4947
|
top: f(),
|
|
@@ -5231,12 +5231,12 @@ function tm({ style: e, props: t }) {
|
|
|
5231
5231
|
justifyContent: a,
|
|
5232
5232
|
width: "100%",
|
|
5233
5233
|
boxSizing: "border-box"
|
|
5234
|
-
}, r = (t == null ? void 0 : t.linkHref) ?? ye.linkHref, l = (t == null ? void 0 : t.widthType) ?? ye.widthType, s = (t == null ? void 0 : t.width) ?? ye.width, c = (t == null ? void 0 : t.widthUnit) ?? ye.widthUnit, u = (t == null ? void 0 : t.widthTablet) ?? null, m = (t == null ? void 0 : t.widthMobile) ?? null, d = u ?? s, h = m ?? d, p = (t == null ? void 0 : t.height) ?? ye.height, b = (t == null ? void 0 : t.heightTablet) ?? null, v = (t == null ? void 0 : t.heightMobile) ?? null, k = b ?? p, S = v ?? k, C = p, w = (t == null ? void 0 : t.url) ?? ye.url, _ = (t == null ? void 0 : t.urlTablet) ?? null, N = (t == null ? void 0 : t.urlMobile) ?? null, A = !r && ((t == null ? void 0 : t.decorative) ?? ye.decorative), y = A ? "" : (t == null ? void 0 : t.alt) ?? ye.alt, I = A ? { role: "presentation", "aria-hidden": !0 } : {}, M = (t == null ? void 0 : t.contentAlignment) ?? ye.contentAlignment, T = (t == null ? void 0 : t.borderRadius) ?? ye.borderRadius, L = (t == null ? void 0 : t.borderColor) ?? ye.borderColor, G = (t == null ? void 0 : t.borderWidth) ?? ye.borderWidth,
|
|
5234
|
+
}, r = (t == null ? void 0 : t.linkHref) ?? ye.linkHref, l = (t == null ? void 0 : t.widthType) ?? ye.widthType, s = (t == null ? void 0 : t.width) ?? ye.width, c = (t == null ? void 0 : t.widthUnit) ?? ye.widthUnit, u = (t == null ? void 0 : t.widthTablet) ?? null, m = (t == null ? void 0 : t.widthMobile) ?? null, d = u ?? s, h = m ?? d, p = (t == null ? void 0 : t.height) ?? ye.height, b = (t == null ? void 0 : t.heightTablet) ?? null, v = (t == null ? void 0 : t.heightMobile) ?? null, k = b ?? p, S = v ?? k, C = p, w = (t == null ? void 0 : t.url) ?? ye.url, _ = (t == null ? void 0 : t.urlTablet) ?? null, N = (t == null ? void 0 : t.urlMobile) ?? null, A = !r && ((t == null ? void 0 : t.decorative) ?? ye.decorative), y = A ? "" : (t == null ? void 0 : t.alt) ?? ye.alt, I = A ? { role: "presentation", "aria-hidden": !0 } : {}, M = (t == null ? void 0 : t.contentAlignment) ?? ye.contentAlignment, T = (t == null ? void 0 : t.borderRadius) ?? ye.borderRadius, L = (t == null ? void 0 : t.borderColor) ?? ye.borderColor, G = (t == null ? void 0 : t.borderWidth) ?? ye.borderWidth, z = (t == null ? void 0 : t.boxShadow) ?? ye.boxShadow, H = Xn(z), B = (t == null ? void 0 : t.rotation) ?? ye.rotation, U = (t == null ? void 0 : t.rotationTablet) ?? null, j = (t == null ? void 0 : t.rotationMobile) ?? null, Y = U ?? B, he = j ?? Y, ne = (ie) => {
|
|
5235
5235
|
const be = ie * Math.PI / 180, Pe = ie % 180 !== 0 ? 1 / (Math.abs(Math.cos(be)) + Math.abs(Math.sin(be))) : 1;
|
|
5236
5236
|
return `rotate(${ie}deg) scale(${Pe})`;
|
|
5237
|
-
}, ee =
|
|
5238
|
-
${
|
|
5239
|
-
${De} { .${n} img, .${n} > div { transform: ${ne(
|
|
5237
|
+
}, ee = B, W = ee ? { transform: ne(ee), transformOrigin: "center" } : {}, Te = U != null || j != null ? `
|
|
5238
|
+
${it} { .${n} img, .${n} > div { transform: ${ne(Y)} !important; transform-origin: center !important; } }
|
|
5239
|
+
${De} { .${n} img, .${n} > div { transform: ${ne(he)} !important; transform-origin: center !important; } }
|
|
5240
5240
|
`.trim() : null, $e = Xp(L, G), me = (ie) => typeof ie == "number" ? `${ie}px` : `${ie.topLeft}px ${ie.topRight}px ${ie.bottomRight}px ${ie.bottomLeft}px`, te = (ie, be) => {
|
|
5241
5241
|
const Pe = Math.max(
|
|
5242
5242
|
(be == null ? void 0 : be.top) || 0,
|
|
@@ -5246,8 +5246,8 @@ function tm({ style: e, props: t }) {
|
|
|
5246
5246
|
);
|
|
5247
5247
|
if (typeof ie == "number")
|
|
5248
5248
|
return `${Math.max(0, ie - Pe)}px`;
|
|
5249
|
-
const Zt = Math.max(0, (ie.topLeft || 0) - Pe),
|
|
5250
|
-
return `${Zt}px ${
|
|
5249
|
+
const Zt = Math.max(0, (ie.topLeft || 0) - Pe), ut = Math.max(0, (ie.topRight || 0) - Pe), We = Math.max(0, (ie.bottomRight || 0) - Pe), dt = Math.max(0, (ie.bottomLeft || 0) - Pe);
|
|
5250
|
+
return `${Zt}px ${ut}px ${We}px ${dt}px`;
|
|
5251
5251
|
}, Z = (() => {
|
|
5252
5252
|
switch (l) {
|
|
5253
5253
|
case "fill":
|
|
@@ -5259,18 +5259,18 @@ function tm({ style: e, props: t }) {
|
|
|
5259
5259
|
return;
|
|
5260
5260
|
}
|
|
5261
5261
|
})(), X = l === "fixed" ? `${s}${c}` : void 0, Re = w, Q = l === "fixed" ? `
|
|
5262
|
-
${
|
|
5262
|
+
${it} { .${n} img { width: ${d}${c} !important; max-width: 100% !important; } }
|
|
5263
5263
|
${De} { .${n} img { width: ${h}${c} !important; max-width: 100% !important; } }
|
|
5264
5264
|
`.trim() : null, K = b != null || v != null ? `
|
|
5265
|
-
${
|
|
5265
|
+
${it} { .${n} img { height: ${k ? `${k}px` : "auto"} !important; } }
|
|
5266
5266
|
${De} { .${n} img { height: ${S ? `${S}px` : "auto"} !important; } }
|
|
5267
5267
|
`.trim() : null, Ke = (t == null ? void 0 : t.hoverEffect) ?? ye.hoverEffect, ze = Ke != null && Ke.enabled ? `
|
|
5268
5268
|
.${n} picture { display: inline-block; transition: transform ${Ke.duration ?? 500}ms ${Ke.easing ?? "ease-in-out"}; }
|
|
5269
5269
|
.${n}:hover picture { transform: scale(${Ke.scale ?? 1.05}); }
|
|
5270
5270
|
`.trim() : null, Ce = [Q, K, Te, ze].filter(Boolean).join(`
|
|
5271
|
-
`) || null,
|
|
5271
|
+
`) || null, ct = L && (L.includes("linear-gradient") || L.includes("radial-gradient") || L.includes("repeating-linear-gradient")), St = (N || _) && /* @__PURE__ */ P(we, { children: [
|
|
5272
5272
|
N && /* @__PURE__ */ g("source", { media: De.replace("@media ", ""), srcSet: N }),
|
|
5273
|
-
(_ ?? N) && /* @__PURE__ */ g("source", { media:
|
|
5273
|
+
(_ ?? N) && /* @__PURE__ */ g("source", { media: it.replace("@media ", ""), srcSet: _ ?? N ?? w })
|
|
5274
5274
|
] }), Ee = /* @__PURE__ */ P("picture", { children: [
|
|
5275
5275
|
St,
|
|
5276
5276
|
/* @__PURE__ */ g(
|
|
@@ -5295,7 +5295,7 @@ function tm({ style: e, props: t }) {
|
|
|
5295
5295
|
}
|
|
5296
5296
|
}
|
|
5297
5297
|
)
|
|
5298
|
-
] }), _e =
|
|
5298
|
+
] }), _e = ct ? /* @__PURE__ */ g(
|
|
5299
5299
|
"div",
|
|
5300
5300
|
{
|
|
5301
5301
|
style: {
|
|
@@ -5457,7 +5457,7 @@ const co = (e) => typeof e == "number" ? `${e}px` : `${e.topLeft}px ${e.topRight
|
|
|
5457
5457
|
let fm = 0;
|
|
5458
5458
|
function pm({ style: e, props: t }) {
|
|
5459
5459
|
const n = (t == null ? void 0 : t.url) ?? qe.url, o = (t == null ? void 0 : t.urlTablet) ?? null, a = (t == null ? void 0 : t.urlMobile) ?? null, i = (t == null ? void 0 : t.showLink) ?? qe.showLink, r = (t == null ? void 0 : t.linkHref) ?? qe.linkHref, l = i && r ? r : null, s = (t == null ? void 0 : t.linkTarget) ?? qe.linkTarget, c = !l && ((t == null ? void 0 : t.decorative) ?? qe.decorative), u = c ? "" : (t == null ? void 0 : t.alt) ?? qe.alt, m = c ? { role: "presentation", "aria-hidden": !0 } : {}, d = (t == null ? void 0 : t.width) ?? qe.width, h = (t == null ? void 0 : t.widthTablet) ?? null, p = (t == null ? void 0 : t.widthMobile) ?? null, b = (t == null ? void 0 : t.borderRadius) ?? qe.borderRadius, v = (t == null ? void 0 : t.borderColor) ?? qe.borderColor, k = (t == null ? void 0 : t.borderWidth) ?? qe.borderWidth, S = (t == null ? void 0 : t.boxShadow) ?? qe.boxShadow, C = Xn(S), w = h ?? d, _ = p ?? w, N = d, A = n, y = `ahd-logo-${++fm}`, I = `
|
|
5460
|
-
${
|
|
5460
|
+
${it} { .${y} img { width: ${w}px !important; max-width: 100% !important; } }
|
|
5461
5461
|
${De} { .${y} img { width: ${_}px !important; max-width: 100% !important; } }
|
|
5462
5462
|
`.trim(), M = {
|
|
5463
5463
|
padding: cm(e == null ? void 0 : e.padding),
|
|
@@ -5477,7 +5477,7 @@ function pm({ style: e, props: t }) {
|
|
|
5477
5477
|
borderRadius: b ? co(b) : void 0
|
|
5478
5478
|
}, L = /* @__PURE__ */ P("picture", { children: [
|
|
5479
5479
|
a && /* @__PURE__ */ g("source", { media: De.replace("@media ", ""), srcSet: a }),
|
|
5480
|
-
o && /* @__PURE__ */ g("source", { media:
|
|
5480
|
+
o && /* @__PURE__ */ g("source", { media: it.replace("@media ", ""), srcSet: o }),
|
|
5481
5481
|
/* @__PURE__ */ g("img", { alt: u, ...m, src: A, width: N, style: T })
|
|
5482
5482
|
] }), G = v && v !== "transparent" ? /* @__PURE__ */ g(
|
|
5483
5483
|
"div",
|
|
@@ -5607,16 +5607,16 @@ function Em({ style: e, props: t }) {
|
|
|
5607
5607
|
${fn} { .${n} video, .${n} iframe { ${b(c) ? `width: ${b(c)} !important;` : ""} ${b(m) ? `height: ${b(m)} !important;` : ""} max-width: 100% !important; } }
|
|
5608
5608
|
${De} { .${n} video, .${n} iframe { ${b(u) ? `width: ${b(u)} !important;` : ""} ${b(d) ? `height: ${b(d)} !important;` : ""} max-width: 100% !important; } }
|
|
5609
5609
|
`.trim(), k = (t == null ? void 0 : t.linkHref) ?? null, S = (t == null ? void 0 : t.borderRadius) ?? 0, C = (L) => typeof L == "number" ? `${L}px` : `${L.topLeft}px ${L.topRight}px ${L.bottomRight}px ${L.bottomLeft}px`, w = (L, G) => {
|
|
5610
|
-
const
|
|
5610
|
+
const z = Math.max(
|
|
5611
5611
|
(G == null ? void 0 : G.top) || 0,
|
|
5612
5612
|
(G == null ? void 0 : G.right) || 0,
|
|
5613
5613
|
(G == null ? void 0 : G.bottom) || 0,
|
|
5614
5614
|
(G == null ? void 0 : G.left) || 0
|
|
5615
5615
|
);
|
|
5616
5616
|
if (typeof L == "number")
|
|
5617
|
-
return `${Math.max(0, L -
|
|
5618
|
-
const H = Math.max(0, (L.topLeft || 0) -
|
|
5619
|
-
return `${H}px ${
|
|
5617
|
+
return `${Math.max(0, L - z)}px`;
|
|
5618
|
+
const H = Math.max(0, (L.topLeft || 0) - z), B = Math.max(0, (L.topRight || 0) - z), U = Math.max(0, (L.bottomRight || 0) - z), j = Math.max(0, (L.bottomLeft || 0) - z);
|
|
5619
|
+
return `${H}px ${B}px ${U}px ${j}px`;
|
|
5620
5620
|
}, _ = (t == null ? void 0 : t.borderColor) ?? null, N = (t == null ? void 0 : t.borderWidth) ?? null, A = Cm(_, N), y = _ && (_.includes("linear-gradient") || _.includes("radial-gradient") || _.includes("repeating-linear-gradient")), I = Nm(t == null ? void 0 : t.url), M = I ? /* @__PURE__ */ g(
|
|
5621
5621
|
"iframe",
|
|
5622
5622
|
{
|
|
@@ -5928,7 +5928,7 @@ function Jm({ style: e, props: t }) {
|
|
|
5928
5928
|
backgroundColor: (e == null ? void 0 : e.backgroundColor) ?? void 0,
|
|
5929
5929
|
textAlign: (e == null ? void 0 : e.textAlign) ?? void 0
|
|
5930
5930
|
}, a = (t == null ? void 0 : t.linkHref) ?? null, i = (t == null ? void 0 : t.width) ?? void 0, r = (t == null ? void 0 : t.height) ?? void 0, l = (t == null ? void 0 : t.widthTablet) ?? null, s = (t == null ? void 0 : t.widthMobile) ?? null, c = (t == null ? void 0 : t.heightTablet) ?? null, u = (t == null ? void 0 : t.heightMobile) ?? null, m = l ?? i, d = s ?? m, h = c ?? r, p = u ?? h, b = i, v = r, k = (w) => w == null ? void 0 : typeof w == "number" ? `${w}px` : w, S = `
|
|
5931
|
-
${
|
|
5931
|
+
${it} { .${n} video { ${k(m) ? `width: ${k(m)} !important;` : ""} ${k(h) ? `height: ${k(h)} !important;` : ""} max-width: 100% !important; } }
|
|
5932
5932
|
${De} { .${n} video { ${k(d) ? `width: ${k(d)} !important;` : ""} ${k(p) ? `height: ${k(p)} !important;` : ""} max-width: 100% !important; } }
|
|
5933
5933
|
`.trim(), C = /* @__PURE__ */ g(
|
|
5934
5934
|
"video",
|
|
@@ -6682,7 +6682,7 @@ const gb = $({
|
|
|
6682
6682
|
}).optional().nullable()
|
|
6683
6683
|
}), Et = {
|
|
6684
6684
|
fullWidth: !1,
|
|
6685
|
-
widthType: "
|
|
6685
|
+
widthType: "fill",
|
|
6686
6686
|
width: 300,
|
|
6687
6687
|
widthUnit: "px",
|
|
6688
6688
|
alignment: "left",
|
|
@@ -6695,43 +6695,44 @@ const gb = $({
|
|
|
6695
6695
|
};
|
|
6696
6696
|
let bb = 0;
|
|
6697
6697
|
function vb({ style: e, props: t, children: n }) {
|
|
6698
|
-
const o = ll(), a = (t == null ? void 0 : t.fullWidth) ?? Et.fullWidth, i = (t == null ? void 0 : t.widthType) ?? Et.widthType, r = (t == null ? void 0 : t.widthTypeTablet) ?? null, l = (t == null ? void 0 : t.widthTypeMobile) ?? null, s = r ?? i, c = l ?? s, u = (t == null ? void 0 : t.width) ?? Et.width, m = (t == null ? void 0 : t.widthUnit) ?? Et.widthUnit, d = (t == null ? void 0 : t.widthTablet) ?? null, h = (t == null ? void 0 : t.widthMobile) ?? null, p = d ?? u, b = h ?? p, v = (t == null ? void 0 : t.height) ?? null, k = (t == null ? void 0 : t.heightTablet) ?? null, S = (t == null ? void 0 : t.heightMobile) ?? null, C = k ?? v, w = S ?? C, _ = (t == null ? void 0 : t.overflow) === !0, N = (t == null ? void 0 : t.alignment) ?? Et.alignment, A = (t == null ? void 0 : t.alignmentTablet) ?? null, y = (t == null ? void 0 : t.alignmentMobile) ?? null, I = N, M = (t == null ? void 0 : t.ariaLabel) ?? void 0, T = (t == null ? void 0 : t.elementId) ?? void 0, L = !!(t != null && t.showLink), G = (t == null ? void 0 : t.linkHref) ?? null,
|
|
6699
|
-
href:
|
|
6700
|
-
target:
|
|
6701
|
-
...
|
|
6698
|
+
const o = ll(), a = (t == null ? void 0 : t.fullWidth) ?? Et.fullWidth, i = (t == null ? void 0 : t.widthType) ?? Et.widthType, r = (t == null ? void 0 : t.widthTypeTablet) ?? null, l = (t == null ? void 0 : t.widthTypeMobile) ?? null, s = r ?? i, c = l ?? s, u = (t == null ? void 0 : t.width) ?? Et.width, m = (t == null ? void 0 : t.widthUnit) ?? Et.widthUnit, d = (t == null ? void 0 : t.widthTablet) ?? null, h = (t == null ? void 0 : t.widthMobile) ?? null, p = d ?? u, b = h ?? p, v = (t == null ? void 0 : t.height) ?? null, k = (t == null ? void 0 : t.heightTablet) ?? null, S = (t == null ? void 0 : t.heightMobile) ?? null, C = k ?? v, w = S ?? C, _ = (t == null ? void 0 : t.overflow) === !0, N = (t == null ? void 0 : t.alignment) ?? Et.alignment, A = (t == null ? void 0 : t.alignmentTablet) ?? null, y = (t == null ? void 0 : t.alignmentMobile) ?? null, I = N, M = (t == null ? void 0 : t.ariaLabel) ?? void 0, T = (t == null ? void 0 : t.elementId) ?? void 0, L = !!(t != null && t.showLink), G = (t == null ? void 0 : t.linkHref) ?? null, z = typeof G == "string" ? G.trim() : G, H = L && typeof z == "string" && z.length > 0, B = (t == null ? void 0 : t.linkTarget) ?? "_blank", U = H ? "a" : (t == null ? void 0 : t.tag) ?? "div", j = H ? {
|
|
6699
|
+
href: z,
|
|
6700
|
+
target: B,
|
|
6701
|
+
...B === "_blank" ? { rel: "noopener noreferrer" } : {},
|
|
6702
6702
|
style: { textDecoration: "none", color: "inherit", display: "block" }
|
|
6703
|
-
} : {}, Y = (oe,
|
|
6703
|
+
} : {}, Y = (oe, le, Be = !1) => {
|
|
6704
6704
|
if (Be && a) return "100%";
|
|
6705
6705
|
switch (oe) {
|
|
6706
6706
|
case "fill":
|
|
6707
6707
|
return "100%";
|
|
6708
6708
|
case "fixed":
|
|
6709
|
-
return `${
|
|
6709
|
+
return `${le}${m}`;
|
|
6710
6710
|
case "fit":
|
|
6711
6711
|
default:
|
|
6712
6712
|
return "auto";
|
|
6713
6713
|
}
|
|
6714
|
-
},
|
|
6715
|
-
|
|
6716
|
-
|
|
6714
|
+
}, he = (oe) => ((oe == null ? void 0 : oe.left) ?? 0) + ((oe == null ? void 0 : oe.right) ?? 0), ne = (oe, le, Be) => {
|
|
6715
|
+
const ot = (le == null ? void 0 : le.top) ?? 0, Je = (le == null ? void 0 : le.bottom) ?? 0;
|
|
6716
|
+
if (Be)
|
|
6717
|
+
return { marginTop: ot, marginBottom: Je, marginLeft: (le == null ? void 0 : le.left) ?? 0, marginRight: (le == null ? void 0 : le.right) ?? 0 };
|
|
6717
6718
|
switch (oe) {
|
|
6718
6719
|
case "center":
|
|
6719
|
-
return { marginTop:
|
|
6720
|
+
return { marginTop: ot, marginBottom: Je, marginLeft: "auto", marginRight: "auto" };
|
|
6720
6721
|
case "right":
|
|
6721
|
-
return { marginTop:
|
|
6722
|
+
return { marginTop: ot, marginBottom: Je, marginLeft: "auto", marginRight: (le == null ? void 0 : le.right) ?? 0 };
|
|
6722
6723
|
case "left":
|
|
6723
6724
|
default:
|
|
6724
|
-
return { marginTop:
|
|
6725
|
+
return { marginTop: ot, marginBottom: Je, marginLeft: (le == null ? void 0 : le.left) ?? 0, marginRight: "auto" };
|
|
6725
6726
|
}
|
|
6726
|
-
}, ee = (oe,
|
|
6727
|
-
const Be =
|
|
6727
|
+
}, ee = (oe, le) => {
|
|
6728
|
+
const Be = he(le);
|
|
6728
6729
|
return Be <= 0 ? oe : oe === "100%" ? `calc(100% - ${Be}px)` : oe;
|
|
6729
6730
|
}, W = i, re = u, Te = v, $e = Y(
|
|
6730
6731
|
W,
|
|
6731
6732
|
re,
|
|
6732
6733
|
o === "desktop"
|
|
6733
6734
|
), me = ee($e, e == null ? void 0 : e.margin), te = r != null || l != null || d != null || h != null || k != null || S != null || A != null || y != null, V = (t == null ? void 0 : t.hoverEffect) ?? Et.hoverEffect, Z = !!(V != null && V.enabled), X = te || Z ? `ahd-cb-${++bb}` : "", Re = te ? `
|
|
6734
|
-
${
|
|
6735
|
+
${it} { .${X} { width: ${ee(Y(s, p), e == null ? void 0 : e.margin)} !important; ${C != null ? `height: ${C}px !important;` : ""} max-width: 100% !important; } }
|
|
6735
6736
|
${De} { .${X} { width: ${ee(Y(c, b), e == null ? void 0 : e.margin)} !important; ${w != null ? `height: ${w}px !important;` : ""} max-width: 100% !important; } }
|
|
6736
6737
|
`.trim() : null, Q = Z ? `
|
|
6737
6738
|
.${X} { transition: transform ${V.duration ?? 500}ms ${V.easing ?? "ease-in-out"}; }
|
|
@@ -6740,8 +6741,8 @@ function vb({ style: e, props: t, children: n }) {
|
|
|
6740
6741
|
`) || null, Ke = Xn(e == null ? void 0 : e.boxShadow), ze = (oe) => {
|
|
6741
6742
|
if (oe != null)
|
|
6742
6743
|
return typeof oe == "number" ? `${oe}px` : `${oe.topLeft}px ${oe.topRight}px ${oe.bottomRight}px ${oe.bottomLeft}px`;
|
|
6743
|
-
}, Ce = (e == null ? void 0 : e.borderColor) ?? null,
|
|
6744
|
-
if (
|
|
6744
|
+
}, Ce = (e == null ? void 0 : e.borderColor) ?? null, ct = (e == null ? void 0 : e.borderWidth) ?? null, St = pb(Ce, ct), Ee = hb((e == null ? void 0 : e.backgroundColor) ?? ""), _e = (e == null ? void 0 : e.backgroundSize) === "none", ie = !_e && (e != null && e.backgroundImage) ? `url(${e.backgroundImage})` : void 0, be = fb(e == null ? void 0 : e.backgroundColor, ie), Pe = _e ? void 0 : (e == null ? void 0 : e.backgroundSize) ?? void 0, Zt = (e == null ? void 0 : e.backgroundRepeat) ?? "no-repeat", ut = Ce && (Ce.includes("linear-gradient") || Ce.includes("radial-gradient") || Ce.includes("repeating-linear-gradient")), We = Te != null, dt = We ? { "--ahd-cb-h": `${Te}px` } : {}, Oe = We ? " container-block-has-height" : "";
|
|
6745
|
+
if (ut) {
|
|
6745
6746
|
const oe = {
|
|
6746
6747
|
// border gradient + padding provided by borderStyles
|
|
6747
6748
|
...St,
|
|
@@ -6752,19 +6753,19 @@ function vb({ style: e, props: t, children: n }) {
|
|
|
6752
6753
|
boxSizing: "border-box",
|
|
6753
6754
|
...ne(I, e == null ? void 0 : e.margin, $e === "100%"),
|
|
6754
6755
|
...Ke,
|
|
6755
|
-
...
|
|
6756
|
-
},
|
|
6756
|
+
...dt
|
|
6757
|
+
}, le = {
|
|
6757
6758
|
...Ee,
|
|
6758
6759
|
backgroundImage: be,
|
|
6759
6760
|
backgroundSize: Pe,
|
|
6760
6761
|
backgroundRepeat: Zt,
|
|
6761
|
-
borderRadius: mb((e == null ? void 0 : e.borderRadius) ?? 0,
|
|
6762
|
+
borderRadius: mb((e == null ? void 0 : e.borderRadius) ?? 0, ct),
|
|
6762
6763
|
overflow: _ ? "auto" : "hidden",
|
|
6763
6764
|
padding: Pr(e == null ? void 0 : e.padding),
|
|
6764
6765
|
width: "100%",
|
|
6765
6766
|
height: We ? "100%" : void 0,
|
|
6766
6767
|
boxSizing: "border-box"
|
|
6767
|
-
}, Be = `container-block${_ ? " container-block-overflow" : ""}${Oe}${X ? ` ${X}` : ""}`,
|
|
6768
|
+
}, Be = `container-block${_ ? " container-block-overflow" : ""}${Oe}${X ? ` ${X}` : ""}`, ot = `container-block-inner${_ ? " container-block-overflow" : ""}`, Je = H ? { ...oe, ...j.style } : oe;
|
|
6768
6769
|
return n ? /* @__PURE__ */ P(we, { children: [
|
|
6769
6770
|
K && /* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: K } }),
|
|
6770
6771
|
/* @__PURE__ */ g(
|
|
@@ -6774,8 +6775,8 @@ function vb({ style: e, props: t, children: n }) {
|
|
|
6774
6775
|
"aria-label": M,
|
|
6775
6776
|
id: T,
|
|
6776
6777
|
...j,
|
|
6777
|
-
style:
|
|
6778
|
-
children: /* @__PURE__ */ g("div", { className:
|
|
6778
|
+
style: Je,
|
|
6779
|
+
children: /* @__PURE__ */ g("div", { className: ot, style: le, children: n })
|
|
6779
6780
|
}
|
|
6780
6781
|
)
|
|
6781
6782
|
] }) : /* @__PURE__ */ P(we, { children: [
|
|
@@ -6787,7 +6788,7 @@ function vb({ style: e, props: t, children: n }) {
|
|
|
6787
6788
|
"aria-label": M,
|
|
6788
6789
|
id: T,
|
|
6789
6790
|
...j,
|
|
6790
|
-
style:
|
|
6791
|
+
style: Je
|
|
6791
6792
|
}
|
|
6792
6793
|
)
|
|
6793
6794
|
] });
|
|
@@ -6806,8 +6807,13 @@ function vb({ style: e, props: t, children: n }) {
|
|
|
6806
6807
|
height: We ? `${Te}px` : void 0,
|
|
6807
6808
|
overflow: _ ? "auto" : void 0,
|
|
6808
6809
|
boxSizing: "border-box",
|
|
6810
|
+
// Without padding/border/overflow, this div has no block formatting
|
|
6811
|
+
// context, so a nested child's marginTop/marginBottom collapses straight
|
|
6812
|
+
// through it instead of creating visible space inside. `flow-root`
|
|
6813
|
+
// establishes a BFC (no other visual effect) so nested block margins render.
|
|
6814
|
+
..._ ? {} : { display: "flow-root" },
|
|
6809
6815
|
...Ke,
|
|
6810
|
-
...
|
|
6816
|
+
...dt
|
|
6811
6817
|
}, Wt = `container-block${_ ? " container-block-overflow" : ""}${Oe}${X ? ` ${X}` : ""}`, vn = H ? { ...At, ...j.style } : At;
|
|
6812
6818
|
return n ? /* @__PURE__ */ P(we, { children: [
|
|
6813
6819
|
K && /* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: K } }),
|
|
@@ -7320,7 +7326,7 @@ function qb() {
|
|
|
7320
7326
|
);
|
|
7321
7327
|
}
|
|
7322
7328
|
function Vb(e) {
|
|
7323
|
-
var Y,
|
|
7329
|
+
var Y, he, ne, ee, W, re, Te, $e, me, te, V, Z, X, Re;
|
|
7324
7330
|
const t = e.childrenIds ?? [], n = typeof window < "u" && window.location ? window.location.pathname : "", o = n.includes("page") ? "page" : "", a = n.includes("app-banner"), i = n.includes("demo"), r = n.includes("faq"), l = n.includes("tour"), s = n.includes("tooltip"), c = l || s || i, u = [
|
|
7325
7331
|
"top-left",
|
|
7326
7332
|
"top-right",
|
|
@@ -7331,7 +7337,7 @@ function Vb(e) {
|
|
|
7331
7337
|
"left-center",
|
|
7332
7338
|
"right-center",
|
|
7333
7339
|
"center"
|
|
7334
|
-
], m = a && (((Y = e.behaviour) == null ? void 0 : Y.bannerSubType) === "floater" || u.includes((
|
|
7340
|
+
], m = a && (((Y = e.behaviour) == null ? void 0 : Y.bannerSubType) === "floater" || u.includes((he = e.behaviour) == null ? void 0 : he.position)), d = a && ((ne = e.behaviour) == null ? void 0 : ne.bannerSubType) === "modal", h = (c || m || d) && ((ee = e.behaviour) == null ? void 0 : ee.showCloseIcon) !== !1, b = c && !0, v = a && e.linkHref ? e.linkHref : null, k = ke.useMemo(() => `ahd-layout-${zb += 1}`, []), C = Pb(
|
|
7335
7341
|
k,
|
|
7336
7342
|
e,
|
|
7337
7343
|
o === "page" || r ? "100%" : a && !m ? "900px" : "320px"
|
|
@@ -7346,7 +7352,7 @@ function Vb(e) {
|
|
|
7346
7352
|
style: { textDecoration: "none", color: "inherit", display: "block" },
|
|
7347
7353
|
children: Q
|
|
7348
7354
|
}
|
|
7349
|
-
) : Q, M = Db(e), T = a && !!((W = e.boxShadow) != null && W.color) && !!e.boxShadow.inset, L = a && !T ? Or(e.boxShadow) : {}, G = T ? Or(e.boxShadow) : {},
|
|
7355
|
+
) : Q, M = Db(e), T = a && !!((W = e.boxShadow) != null && W.color) && !!e.boxShadow.inset, L = a && !T ? Or(e.boxShadow) : {}, G = T ? Or(e.boxShadow) : {}, z = Gb(((re = e.behaviour) == null ? void 0 : re.position) ?? "right"), H = c && !m && !d && ((Te = e.behaviour) == null ? void 0 : Te.isCaret) !== !1, B = Ub(e.canvasColor, z), U = ((($e = e.margin) == null ? void 0 : $e.left) ?? 0) + (((me = e.margin) == null ? void 0 : me.right) ?? 0), j = U > 0 ? `calc(100% - ${U}px)` : "100%";
|
|
7350
7356
|
return I(
|
|
7351
7357
|
/* @__PURE__ */ P(
|
|
7352
7358
|
"div",
|
|
@@ -7392,7 +7398,7 @@ function Vb(e) {
|
|
|
7392
7398
|
...d || m ? null : { maxWidth: "100%" }
|
|
7393
7399
|
},
|
|
7394
7400
|
children: [
|
|
7395
|
-
H && /* @__PURE__ */ g(Zb, { position:
|
|
7401
|
+
H && /* @__PURE__ */ g(Zb, { position: z, color: B }),
|
|
7396
7402
|
/* @__PURE__ */ P(
|
|
7397
7403
|
"div",
|
|
7398
7404
|
{
|
|
@@ -7527,7 +7533,7 @@ const Yb = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), Kb =
|
|
|
7527
7533
|
numericFontSize: f().min(8).max(48).optional().nullable(),
|
|
7528
7534
|
numericPosition: E(["above", "below", "left", "right"]).optional().nullable()
|
|
7529
7535
|
}).optional().nullable()
|
|
7530
|
-
}),
|
|
7536
|
+
}), Xe = {
|
|
7531
7537
|
stepperType: "dots",
|
|
7532
7538
|
totalDots: 5,
|
|
7533
7539
|
activeIndex: 1,
|
|
@@ -7541,18 +7547,18 @@ const Yb = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), Kb =
|
|
|
7541
7547
|
};
|
|
7542
7548
|
function r0({ style: e, props: t }) {
|
|
7543
7549
|
const o = ll() === "mobile", i = typeof window < "u" && window.location.pathname.includes("page") && o, r = Kt(
|
|
7544
|
-
(t == null ? void 0 : t.totalDots) ??
|
|
7550
|
+
(t == null ? void 0 : t.totalDots) ?? Xe.totalDots,
|
|
7545
7551
|
Dn.min,
|
|
7546
7552
|
Dn.max
|
|
7547
7553
|
), l = Kt(
|
|
7548
|
-
(t == null ? void 0 : t.dotSize) ??
|
|
7554
|
+
(t == null ? void 0 : t.dotSize) ?? Xe.dotSize,
|
|
7549
7555
|
Hn.min,
|
|
7550
7556
|
Hn.max
|
|
7551
|
-
), s = Kt((t == null ? void 0 : t.dotSpacing) ??
|
|
7552
|
-
(t == null ? void 0 : t.numericFontSize) ??
|
|
7557
|
+
), s = Kt((t == null ? void 0 : t.dotSpacing) ?? Xe.dotSpacing, 0, 40), c = (t == null ? void 0 : t.activeIndex) ?? Xe.activeIndex, u = Kt(c, 1, r), m = (t == null ? void 0 : t.activeColor) ?? Xe.activeColor, d = (t == null ? void 0 : t.inactiveColor) ?? Xe.inactiveColor, h = (t == null ? void 0 : t.stepperType) ?? Xe.stepperType, p = h === "numeric" || h === "both", b = h === "dots" || h === "both", v = (t == null ? void 0 : t.numericColor) ?? Xe.numericColor, k = Kt(
|
|
7558
|
+
(t == null ? void 0 : t.numericFontSize) ?? Xe.numericFontSize,
|
|
7553
7559
|
8,
|
|
7554
7560
|
48
|
|
7555
|
-
), S = (t == null ? void 0 : t.numericPosition) ??
|
|
7561
|
+
), S = (t == null ? void 0 : t.numericPosition) ?? Xe.numericPosition, w = {
|
|
7556
7562
|
...Lr((e == null ? void 0 : e.backgroundColor) ?? void 0),
|
|
7557
7563
|
padding: n0(e == null ? void 0 : e.padding, i),
|
|
7558
7564
|
margin: o0(e == null ? void 0 : e.margin, i),
|
|
@@ -7581,8 +7587,8 @@ function r0({ style: e, props: t }) {
|
|
|
7581
7587
|
WebkitTextFillColor: "transparent",
|
|
7582
7588
|
backgroundClip: "text"
|
|
7583
7589
|
} : { color: v ?? void 0 }
|
|
7584
|
-
}, T = () => p ? /* @__PURE__ */ g("span", { style: M, children: y }) : null, L = () => /* @__PURE__ */ g("div", { style: A, "aria-hidden": "true", children: Array.from({ length: r }).map((G,
|
|
7585
|
-
const H =
|
|
7590
|
+
}, T = () => p ? /* @__PURE__ */ g("span", { style: M, children: y }) : null, L = () => /* @__PURE__ */ g("div", { style: A, "aria-hidden": "true", children: Array.from({ length: r }).map((G, z) => {
|
|
7591
|
+
const H = z === u - 1, B = {
|
|
7586
7592
|
width: l,
|
|
7587
7593
|
height: l,
|
|
7588
7594
|
borderRadius: "50%",
|
|
@@ -7591,7 +7597,7 @@ function r0({ style: e, props: t }) {
|
|
|
7591
7597
|
transform: H ? "scale(1.1)" : "scale(1)",
|
|
7592
7598
|
...Lr(H ? m : d)
|
|
7593
7599
|
};
|
|
7594
|
-
return /* @__PURE__ */ g("span", { style:
|
|
7600
|
+
return /* @__PURE__ */ g("span", { style: B, "data-active": H ? "true" : "false" }, z);
|
|
7595
7601
|
}) });
|
|
7596
7602
|
return /* @__PURE__ */ g(
|
|
7597
7603
|
"div",
|
|
@@ -8083,7 +8089,7 @@ function L0({ style: e, props: t }) {
|
|
|
8083
8089
|
const n = ve(
|
|
8084
8090
|
() => t != null && t.items && t.items.length > 0 ? t.items : [{ label: "Plan 1", cardChildrenIds: [], detailChildrenIds: [] }],
|
|
8085
8091
|
[t == null ? void 0 : t.items]
|
|
8086
|
-
), o = ve(() => `pacc-${Math.random().toString(36).slice(2, 9)}`, []), a = (t == null ? void 0 : t.accordionEnabled) ?? !1, i = (t == null ? void 0 : t.defaultOpenIndex) ?? null, r = (t == null ? void 0 : t.detailPosition) ?? "bottom", l = (e == null ? void 0 : e.cardGap) ?? 16, s = (e == null ? void 0 : e.equalCardWidth) ?? !0, c = (e == null ? void 0 : e.cardBgColor) ?? "#ffffff", u = (e == null ? void 0 : e.cardBorderColor) ?? "rgba(0,0,0,0.12)", m = (e == null ? void 0 : e.cardBorderWidth) ?? 1, d = (e == null ? void 0 : e.cardBorderRadius) ?? 12, h = (e == null ? void 0 : e.cardPadding) ?? 16, p = (e == null ? void 0 : e.cardShadow) ?? "none", b = (e == null ? void 0 : e.cardTextColor) ?? "inherit", v = (e == null ? void 0 : e.cardFontSize) ?? null, k = (e == null ? void 0 : e.cardFontFamily) ?? "inherit", S = (e == null ? void 0 : e.cardFontWeight) ?? "inherit", C = (e == null ? void 0 : e.cardTextAlign) ?? "left", w = (e == null ? void 0 : e.cardHoverBgColor) ?? null, _ = (e == null ? void 0 : e.cardHoverShadow) ?? "0 2px 6px rgba(0,0,0,0.07)", N = (e == null ? void 0 : e.activeCardBgColor) ?? c, A = (e == null ? void 0 : e.activeCardBorderColor) ?? u, y = (e == null ? void 0 : e.activeCardShadow) ?? p, I = (e == null ? void 0 : e.activeCardTextColor) ?? b, M = (e == null ? void 0 : e.arrowColor) ?? "currentColor", T = (e == null ? void 0 : e.arrowActiveColor) ?? M, L = (e == null ? void 0 : e.arrowSize) ?? 13, G = (e == null ? void 0 : e.detailBgColor) ?? "#f8fafc",
|
|
8092
|
+
), o = ve(() => `pacc-${Math.random().toString(36).slice(2, 9)}`, []), a = (t == null ? void 0 : t.accordionEnabled) ?? !1, i = (t == null ? void 0 : t.defaultOpenIndex) ?? null, r = (t == null ? void 0 : t.detailPosition) ?? "bottom", l = (e == null ? void 0 : e.cardGap) ?? 16, s = (e == null ? void 0 : e.equalCardWidth) ?? !0, c = (e == null ? void 0 : e.cardBgColor) ?? "#ffffff", u = (e == null ? void 0 : e.cardBorderColor) ?? "rgba(0,0,0,0.12)", m = (e == null ? void 0 : e.cardBorderWidth) ?? 1, d = (e == null ? void 0 : e.cardBorderRadius) ?? 12, h = (e == null ? void 0 : e.cardPadding) ?? 16, p = (e == null ? void 0 : e.cardShadow) ?? "none", b = (e == null ? void 0 : e.cardTextColor) ?? "inherit", v = (e == null ? void 0 : e.cardFontSize) ?? null, k = (e == null ? void 0 : e.cardFontFamily) ?? "inherit", S = (e == null ? void 0 : e.cardFontWeight) ?? "inherit", C = (e == null ? void 0 : e.cardTextAlign) ?? "left", w = (e == null ? void 0 : e.cardHoverBgColor) ?? null, _ = (e == null ? void 0 : e.cardHoverShadow) ?? "0 2px 6px rgba(0,0,0,0.07)", N = (e == null ? void 0 : e.activeCardBgColor) ?? c, A = (e == null ? void 0 : e.activeCardBorderColor) ?? u, y = (e == null ? void 0 : e.activeCardShadow) ?? p, I = (e == null ? void 0 : e.activeCardTextColor) ?? b, M = (e == null ? void 0 : e.arrowColor) ?? "currentColor", T = (e == null ? void 0 : e.arrowActiveColor) ?? M, L = (e == null ? void 0 : e.arrowSize) ?? 13, G = (e == null ? void 0 : e.detailBgColor) ?? "#f8fafc", z = (e == null ? void 0 : e.detailBorderColor) ?? "rgba(0,0,0,0.08)", H = (e == null ? void 0 : e.detailBorderWidth) ?? 1, B = (e == null ? void 0 : e.detailBorderRadius) ?? 12, U = (e == null ? void 0 : e.detailPadding) ?? 24, j = (e == null ? void 0 : e.detailShadow) ?? "none", Y = (e == null ? void 0 : e.detailGap) ?? 12, he = (e == null ? void 0 : e.rightCardWidth) ?? 280, ne = e == null ? void 0 : e.padding, ee = {
|
|
8087
8093
|
width: "100%",
|
|
8088
8094
|
boxSizing: "border-box",
|
|
8089
8095
|
background: (e == null ? void 0 : e.backgroundColor) ?? void 0,
|
|
@@ -8117,7 +8123,7 @@ function L0({ style: e, props: t }) {
|
|
|
8117
8123
|
${w ? `.pacc-card:hover{background:${w};box-shadow:${_}}` : `.pacc-card:hover{box-shadow:${_}}`}
|
|
8118
8124
|
.pacc-arrow{position:absolute;top:14px;right:12px;width:20px;height:20px;display:flex;align-items:center;justify-content:center;transition:transform 200ms ease,color 200ms ease;pointer-events:none;color:${M}}
|
|
8119
8125
|
.pacc-arrow i{font-family:'bootstrap-icons'!important;font-size:${L}px;line-height:1}
|
|
8120
|
-
.pacc-detail{display:none;margin-top:${Y}px;background:${G};border:${H}px solid ${
|
|
8126
|
+
.pacc-detail{display:none;margin-top:${Y}px;background:${G};border:${H}px solid ${z};border-radius:${B}px;padding:${U}px;box-sizing:border-box;box-shadow:${j}}
|
|
8121
8127
|
@media(max-width:640px){.pacc-wrap{grid-template-columns:1fr!important}}
|
|
8122
8128
|
${me}
|
|
8123
8129
|
`;
|
|
@@ -8137,7 +8143,7 @@ function L0({ style: e, props: t }) {
|
|
|
8137
8143
|
const V = `#${o}-cb${te}:checked ~ .pacc-wrap`;
|
|
8138
8144
|
return `${V}{grid-template-columns:1fr}` + n.map(
|
|
8139
8145
|
(Z, X) => X !== te ? `${V} .pacc-item:nth-child(${X + 1}){display:none}` : ""
|
|
8140
|
-
).join("") + `${V} .pacc-item:nth-child(${te + 1}){display:flex;flex-direction:row;gap:${Y}px;align-items:flex-start}${V} .pacc-item:nth-child(${te + 1}) .pacc-card{flex-shrink:0;width:${
|
|
8146
|
+
).join("") + `${V} .pacc-item:nth-child(${te + 1}){display:flex;flex-direction:row;gap:${Y}px;align-items:flex-start}${V} .pacc-item:nth-child(${te + 1}) .pacc-card{flex-shrink:0;width:${he}px;background:${N};border-color:${A};box-shadow:${y};color:${I}}${V} .pacc-item:nth-child(${te + 1}) .pacc-arrow{transform:rotate(90deg);color:${T}}${V} .pacc-item:nth-child(${te + 1}) .pacc-detail{display:block;flex:1;min-width:0}`;
|
|
8141
8147
|
}).join(""), $e = `
|
|
8142
8148
|
.pacc-cb{position:absolute!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}
|
|
8143
8149
|
.pacc-wrap{display:grid;grid-template-columns:${W};gap:${l}px;width:100%;box-sizing:border-box}
|
|
@@ -8146,7 +8152,7 @@ function L0({ style: e, props: t }) {
|
|
|
8146
8152
|
${w ? `.pacc-card:hover{background:${w};box-shadow:${_}}` : `.pacc-card:hover{box-shadow:${_}}`}
|
|
8147
8153
|
.pacc-arrow{position:absolute;top:14px;right:12px;width:20px;height:20px;display:flex;align-items:center;justify-content:center;transition:transform 200ms ease,color 200ms ease;pointer-events:none;color:${M}}
|
|
8148
8154
|
.pacc-arrow i{font-family:'bootstrap-icons'!important;font-size:${L}px;line-height:1}
|
|
8149
|
-
.pacc-detail{display:none;background:${G};border:${H}px solid ${
|
|
8155
|
+
.pacc-detail{display:none;background:${G};border:${H}px solid ${z};border-radius:${B}px;padding:${U}px;box-sizing:border-box;box-shadow:${j}}
|
|
8150
8156
|
@media(max-width:640px){.pacc-wrap{grid-template-columns:1fr!important}.pacc-item.pacc-item--open{flex-direction:column!important}.pacc-item.pacc-item--open .pacc-card{width:100%!important}}
|
|
8151
8157
|
${Te}
|
|
8152
8158
|
`;
|
|
@@ -8216,7 +8222,7 @@ const z0 = $({
|
|
|
8216
8222
|
stickyNav: O().optional().nullable(),
|
|
8217
8223
|
items: q(z0).min(1).max(20).optional().nullable()
|
|
8218
8224
|
}).optional().nullable()
|
|
8219
|
-
}),
|
|
8225
|
+
}), nt = [
|
|
8220
8226
|
{
|
|
8221
8227
|
key: "inherit",
|
|
8222
8228
|
label: "Inherit",
|
|
@@ -8401,16 +8407,16 @@ const z0 = $({
|
|
|
8401
8407
|
`${Object.entries(
|
|
8402
8408
|
D0
|
|
8403
8409
|
).map(([e, t]) => `family=${H0(e, t)}`).join("&")}`;
|
|
8404
|
-
const bl =
|
|
8410
|
+
const bl = nt.filter((e) => e.key !== "inherit").map((e) => ({
|
|
8405
8411
|
label: e.label,
|
|
8406
8412
|
css: e.value
|
|
8407
8413
|
}));
|
|
8408
8414
|
bl.map((e) => e.css);
|
|
8409
8415
|
const F0 = (e) => e.replace(/"/g, '\\"'), G0 = (e) => ((e || "").split(",")[0] || "").replace(/['"]/g, "").trim().toLowerCase();
|
|
8410
8416
|
new Set(
|
|
8411
|
-
|
|
8417
|
+
nt.filter((e) => e.key !== "inherit").map((e) => G0(e.value))
|
|
8412
8418
|
);
|
|
8413
|
-
const jr =
|
|
8419
|
+
const jr = nt.find((e) => e.key === "INTER");
|
|
8414
8420
|
jr && jr.value;
|
|
8415
8421
|
bl.map((e) => {
|
|
8416
8422
|
const t = F0(e.css);
|
|
@@ -8424,7 +8430,7 @@ bl.map((e) => {
|
|
|
8424
8430
|
`);
|
|
8425
8431
|
function j0(e) {
|
|
8426
8432
|
if (!e) return;
|
|
8427
|
-
const t =
|
|
8433
|
+
const t = nt.find((n) => n.key === e);
|
|
8428
8434
|
return (t == null ? void 0 : t.value) ?? e;
|
|
8429
8435
|
}
|
|
8430
8436
|
function U0(e) {
|
|
@@ -8470,7 +8476,7 @@ function q0({ style: e, props: t }) {
|
|
|
8470
8476
|
fontWeight: (e == null ? void 0 : e.fontWeight) ?? void 0,
|
|
8471
8477
|
color: m,
|
|
8472
8478
|
"--ahd-tabs-nav-border": h ?? "transparent"
|
|
8473
|
-
}, M = () => s.map((
|
|
8479
|
+
}, M = () => s.map((z, H) => /* @__PURE__ */ g(
|
|
8474
8480
|
"input",
|
|
8475
8481
|
{
|
|
8476
8482
|
type: "radio",
|
|
@@ -8482,12 +8488,12 @@ function q0({ style: e, props: t }) {
|
|
|
8482
8488
|
},
|
|
8483
8489
|
H
|
|
8484
8490
|
)), T = ve(() => {
|
|
8485
|
-
const
|
|
8486
|
-
let U = `${
|
|
8491
|
+
const z = `.${c}`, H = u || "currentColor";
|
|
8492
|
+
let U = `${z} .ahd-tabs-label{color:${m || "inherit"}}` + (r ? "" : `${z} .ahd-tabs-panel{display:none}`);
|
|
8487
8493
|
return s.forEach((j, Y) => {
|
|
8488
|
-
const
|
|
8494
|
+
const he = `#${c}-r${Y}:checked`, ne = `${he} ~ .ahd-tabs-nav .ahd-tabs-label:nth-of-type(${Y + 1})`, ee = `${he} ~ .ahd-tabs-panels .ahd-tabs-panel:nth-of-type(${Y + 1})`, W = `color:${H}!important;border-left-color:var(--ahd-tabs-active-border-color,${_})!important;border-bottom-color:var(--ahd-tabs-active-border-color,${_})!important`;
|
|
8489
8495
|
U += `${ne}{${W}}`, U += `${ne} .ahd-tabs-label-text{font-size:var(--ahd-tabs-active-font-size,${C ?? "inherit"})!important}`, r || (U += `${ee}{display:block!important}`);
|
|
8490
|
-
}), U += So(
|
|
8496
|
+
}), U += So(z, n, p, k, S), o !== n && (U += `${V0}{${So(z, o, p, k, S)}}`), a !== o && (U += `${Y0}{${So(z, a, p, k, S)}}`), l && (U += `${z} .ahd-tabs-nav{position:sticky;top:0;z-index:50}:where(.ahd-block-wrapper,[id]):has(> ${z}){position:sticky;top:0;z-index:50}`), U;
|
|
8491
8497
|
}, [
|
|
8492
8498
|
s,
|
|
8493
8499
|
c,
|
|
@@ -8501,8 +8507,9 @@ function q0({ style: e, props: t }) {
|
|
|
8501
8507
|
r,
|
|
8502
8508
|
p,
|
|
8503
8509
|
k,
|
|
8504
|
-
S
|
|
8505
|
-
|
|
8510
|
+
S,
|
|
8511
|
+
l
|
|
8512
|
+
]), L = (z) => r ? { display: "block", width: "100%", overflow: "visible", scrollMarginTop: 24, marginTop: z === 0 ? void 0 : S } : { width: "100%", minWidth: 0, overflow: "hidden" };
|
|
8506
8513
|
return /* @__PURE__ */ P(
|
|
8507
8514
|
"div",
|
|
8508
8515
|
{
|
|
@@ -8511,25 +8518,25 @@ function q0({ style: e, props: t }) {
|
|
|
8511
8518
|
children: [
|
|
8512
8519
|
/* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: T } }),
|
|
8513
8520
|
M(),
|
|
8514
|
-
/* @__PURE__ */ g("div", { className: "ahd-tabs-nav", style: { background: d, ...l ? { position: "sticky", top: 0 } : {} }, children: s.map((
|
|
8521
|
+
/* @__PURE__ */ g("div", { className: "ahd-tabs-nav", style: { background: d, ...l ? { position: "sticky", top: 0 } : {} }, children: s.map((z, H) => /* @__PURE__ */ g(
|
|
8515
8522
|
"label",
|
|
8516
8523
|
{
|
|
8517
8524
|
htmlFor: `${c}-r${H}`,
|
|
8518
8525
|
className: "ahd-tabs-label",
|
|
8519
8526
|
"data-ahd-tab-index": H,
|
|
8520
8527
|
style: { alignItems: "center", cursor: "pointer", lineHeight: 1, padding: n === "vertical" ? "10px 16px" : "10px 18px", whiteSpace: "nowrap", transition: "color .15s ease,border-color .15s ease", userSelect: "none", position: "relative" },
|
|
8521
|
-
children: /* @__PURE__ */ g("span", { className: "ahd-tabs-label-text", style: W0, children:
|
|
8528
|
+
children: /* @__PURE__ */ g("span", { className: "ahd-tabs-label-text", style: W0, children: z.label ?? `Tab ${H + 1}` })
|
|
8522
8529
|
},
|
|
8523
8530
|
H
|
|
8524
8531
|
)) }),
|
|
8525
|
-
/* @__PURE__ */ g("div", { className: "ahd-tabs-panels", children: s.map((
|
|
8532
|
+
/* @__PURE__ */ g("div", { className: "ahd-tabs-panels", children: s.map((z, H) => /* @__PURE__ */ g(
|
|
8526
8533
|
"div",
|
|
8527
8534
|
{
|
|
8528
8535
|
id: `${c}-panel-${H}`,
|
|
8529
8536
|
className: "ahd-tabs-panel",
|
|
8530
8537
|
"data-ahd-tab-index": H,
|
|
8531
8538
|
style: L(H),
|
|
8532
|
-
children: (
|
|
8539
|
+
children: (z.contentChildrenIds ?? []).map((B) => /* @__PURE__ */ g(Se, { id: B }, B))
|
|
8533
8540
|
},
|
|
8534
8541
|
H
|
|
8535
8542
|
)) })
|
|
@@ -8606,8 +8613,8 @@ function tv({ style: e, props: t }) {
|
|
|
8606
8613
|
padding: N ? `${N.top}px ${N.right}px ${N.bottom}px ${N.left}px` : void 0,
|
|
8607
8614
|
margin: A ? `${A.top}px ${A.right}px ${A.bottom}px ${A.left}px` : void 0
|
|
8608
8615
|
}, M = ve(() => {
|
|
8609
|
-
const
|
|
8610
|
-
return `${
|
|
8616
|
+
const z = `.${o}`, H = (B) => `calc((100% - ${h * (B - 1)}px) / ${B})`;
|
|
8617
|
+
return `${z} .ahd-carousel-viewport{overflow:hidden;width:100%}${z} .ahd-carousel-track{display:flex;gap:var(--ahd-carousel-slide-gap,${h}px);transition:transform ${d}ms ease;will-change:transform}${z} .ahd-carousel-slide{flex:0 0 ${H(a)};min-width:0;box-sizing:border-box}${z} .ahd-carousel-prev svg,${z} .ahd-carousel-next svg{width:var(--ahd-carousel-chevron-size,${_}px);height:var(--ahd-carousel-chevron-size,${_}px)}@media (max-width:${Ge}px){${z} .ahd-carousel-slide{flex-basis:${H(i)}}}@media (max-width:${Me}px){${z} .ahd-carousel-slide{flex-basis:${H(r)}}}`;
|
|
8611
8618
|
}, [o, h, d, a, i, r, _]), T = {
|
|
8612
8619
|
// appearance:none + explicit backgroundColor so a host page's own
|
|
8613
8620
|
// `button { background: … }` rules can't repaint the arrow (that was
|
|
@@ -8646,7 +8653,7 @@ function tv({ style: e, props: t }) {
|
|
|
8646
8653
|
/* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: M } }),
|
|
8647
8654
|
/* @__PURE__ */ P("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
8648
8655
|
l && /* @__PURE__ */ g("button", { type: "button", className: "ahd-carousel-prev", style: T, "aria-label": "Previous slide", children: /* @__PURE__ */ g(Zr, { d: Q0, size: _ }) }),
|
|
8649
|
-
/* @__PURE__ */ g("div", { className: "ahd-carousel-viewport", children: /* @__PURE__ */ g("div", { className: "ahd-carousel-track", children: n.map((
|
|
8656
|
+
/* @__PURE__ */ g("div", { className: "ahd-carousel-viewport", children: /* @__PURE__ */ g("div", { className: "ahd-carousel-track", children: n.map((z, H) => /* @__PURE__ */ g("div", { className: "ahd-carousel-slide", "data-ahd-slide-index": H, children: (z.contentChildrenIds ?? []).map((B) => /* @__PURE__ */ g(Se, { id: B }, B)) }, H)) }) }),
|
|
8650
8657
|
l && /* @__PURE__ */ g("button", { type: "button", className: "ahd-carousel-next", style: T, "aria-label": "Next slide", children: /* @__PURE__ */ g(Zr, { d: ev, size: _ }) })
|
|
8651
8658
|
] }),
|
|
8652
8659
|
s && G > 1 && /* @__PURE__ */ g(
|
|
@@ -8656,7 +8663,7 @@ function tv({ style: e, props: t }) {
|
|
|
8656
8663
|
style: { display: "flex", justifyContent: "center", gap: 8, marginTop: 16 },
|
|
8657
8664
|
"data-dot-color": S,
|
|
8658
8665
|
"data-dot-active-color": C,
|
|
8659
|
-
children: Array.from({ length: G }).map((
|
|
8666
|
+
children: Array.from({ length: G }).map((z, H) => /* @__PURE__ */ g(
|
|
8660
8667
|
"button",
|
|
8661
8668
|
{
|
|
8662
8669
|
type: "button",
|
|
@@ -8720,7 +8727,7 @@ const nv = $({
|
|
|
8720
8727
|
}), Wr = "M12 .587l3.668 7.431 8.2 1.193-5.934 5.787 1.401 8.168L12 18.896l-7.335 3.866 1.401-8.168L.132 9.211l8.2-1.193z";
|
|
8721
8728
|
function ov(e) {
|
|
8722
8729
|
if (!e) return;
|
|
8723
|
-
const t =
|
|
8730
|
+
const t = nt.find((n) => n.key === e);
|
|
8724
8731
|
return (t == null ? void 0 : t.value) ?? e;
|
|
8725
8732
|
}
|
|
8726
8733
|
function av(e) {
|
|
@@ -8861,7 +8868,7 @@ const lv = $({
|
|
|
8861
8868
|
});
|
|
8862
8869
|
function uv(e) {
|
|
8863
8870
|
if (!e) return;
|
|
8864
|
-
const t =
|
|
8871
|
+
const t = nt.find((n) => n.key === e);
|
|
8865
8872
|
return (t == null ? void 0 : t.value) ?? e;
|
|
8866
8873
|
}
|
|
8867
8874
|
function dv(e) {
|
|
@@ -9835,7 +9842,7 @@ function nx(e, t, n) {
|
|
|
9835
9842
|
}
|
|
9836
9843
|
function ox(e) {
|
|
9837
9844
|
if (!e) return;
|
|
9838
|
-
const t =
|
|
9845
|
+
const t = nt.find((n) => n.key === e);
|
|
9839
9846
|
return (t == null ? void 0 : t.value) ?? e;
|
|
9840
9847
|
}
|
|
9841
9848
|
let ax = 0;
|
|
@@ -9855,7 +9862,7 @@ function _o(e) {
|
|
|
9855
9862
|
].join(" ") : `color: ${e};` : "";
|
|
9856
9863
|
}
|
|
9857
9864
|
function rx({ style: e, props: t, renderCell: n }) {
|
|
9858
|
-
const o = Math.max(1, Math.min(50, (t == null ? void 0 : t.rows) ?? Ve.rows)), a = Math.max(1, Math.min(20, (t == null ? void 0 : t.columns) ?? Ve.columns)), i = (t == null ? void 0 : t.hasHeader) ?? Ve.hasHeader, r = (t == null ? void 0 : t.cells) ?? [], l = o * a, s = r.length === l ? r : Array.from({ length: l }, (
|
|
9865
|
+
const o = Math.max(1, Math.min(50, (t == null ? void 0 : t.rows) ?? Ve.rows)), a = Math.max(1, Math.min(20, (t == null ? void 0 : t.columns) ?? Ve.columns)), i = (t == null ? void 0 : t.hasHeader) ?? Ve.hasHeader, r = (t == null ? void 0 : t.cells) ?? [], l = o * a, s = r.length === l ? r : Array.from({ length: l }, (B, U) => r[U] ?? ""), c = (e == null ? void 0 : e.borderColor) ?? Ve.borderColor, u = (e == null ? void 0 : e.borderWidth) ?? Ve.borderWidth, m = (e == null ? void 0 : e.cellPadding) ?? Ve.cellPadding, d = (e == null ? void 0 : e.headerBackground) ?? Ve.headerBackground, h = (e == null ? void 0 : e.headerColor) ?? Ve.headerColor, p = (e == null ? void 0 : e.color) ?? Ve.color, b = (e == null ? void 0 : e.fontSize) ?? Ve.fontSize, v = (e == null ? void 0 : e.backgroundColor) ?? null, k = (e == null ? void 0 : e.stripedRowColor) === void 0 ? Ve.stripedRowColor : e.stripedRowColor, S = (e == null ? void 0 : e.stripedColColor) ?? null, C = `ahd-table-${++ax}`, w = {
|
|
9859
9866
|
padding: Oa(e == null ? void 0 : e.padding),
|
|
9860
9867
|
margin: La(e == null ? void 0 : e.margin),
|
|
9861
9868
|
textAlign: (e == null ? void 0 : e.textAlign) ?? void 0
|
|
@@ -9877,17 +9884,17 @@ function rx({ style: e, props: t, renderCell: n }) {
|
|
|
9877
9884
|
.${C} > caption > .ahd-table-cell-text { ${_o(p)} display: block; }
|
|
9878
9885
|
${I}
|
|
9879
9886
|
${M}
|
|
9880
|
-
`, L = Array.from({ length: o }, (
|
|
9881
|
-
`).map((
|
|
9882
|
-
|
|
9887
|
+
`, L = Array.from({ length: o }, (B, U) => U), G = Array.from({ length: a }, (B, U) => U), z = (B) => B.includes("<"), H = (B, U, j, Y) => n ? n({ row: B, col: U, value: j, isHeader: Y }) : z(j) ? /* @__PURE__ */ g("span", { dangerouslySetInnerHTML: { __html: j } }) : j.split(`
|
|
9888
|
+
`).map((he, ne, ee) => /* @__PURE__ */ P(ke.Fragment, { children: [
|
|
9889
|
+
he,
|
|
9883
9890
|
ne < ee.length - 1 ? /* @__PURE__ */ g("br", {}) : null
|
|
9884
9891
|
] }, ne));
|
|
9885
9892
|
return /* @__PURE__ */ P("div", { className: "table-block", style: w, children: [
|
|
9886
9893
|
/* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: T } }),
|
|
9887
9894
|
/* @__PURE__ */ P("table", { className: C, style: N, role: "table", children: [
|
|
9888
9895
|
t != null && t.caption ? /* @__PURE__ */ g("caption", { style: { captionSide: "top", textAlign: "left", padding: "4px 0", fontSize: b - 1 }, children: /* @__PURE__ */ g("div", { className: "ahd-table-cell-text", children: t.caption }) }) : null,
|
|
9889
|
-
i ? /* @__PURE__ */ g("thead", { children: /* @__PURE__ */ g("tr", { children: G.map((
|
|
9890
|
-
/* @__PURE__ */ g("tbody", { children: L.slice(i ? 1 : 0).map((
|
|
9896
|
+
i ? /* @__PURE__ */ g("thead", { children: /* @__PURE__ */ g("tr", { children: G.map((B) => /* @__PURE__ */ g("th", { scope: "col", style: { ...A, fontWeight: 600 }, children: /* @__PURE__ */ g("div", { className: "ahd-table-cell-text", children: H(0, B, s[B] ?? "", !0) }) }, B)) }) }) : null,
|
|
9897
|
+
/* @__PURE__ */ g("tbody", { children: L.slice(i ? 1 : 0).map((B) => /* @__PURE__ */ g("tr", { children: G.map((U) => /* @__PURE__ */ g("td", { style: A, children: /* @__PURE__ */ g("div", { className: "ahd-table-cell-text", children: H(B, U, s[B * a + U] ?? "", !1) }) }, U)) }, B)) })
|
|
9891
9898
|
] })
|
|
9892
9899
|
] });
|
|
9893
9900
|
}
|
|
@@ -10120,7 +10127,7 @@ const $x = (e, t) => {
|
|
|
10120
10127
|
return r;
|
|
10121
10128
|
}, Cx = (e) => {
|
|
10122
10129
|
if (!e) return;
|
|
10123
|
-
const t =
|
|
10130
|
+
const t = nt.find((n) => n.key === e);
|
|
10124
10131
|
return (t == null ? void 0 : t.value) || e;
|
|
10125
10132
|
}, Jo = (e, t, n, o, a, i, r, l, s, c, u, m, d = 0) => !e || e.length === 0 ? null : /* @__PURE__ */ g(
|
|
10126
10133
|
"ul",
|
|
@@ -10182,9 +10189,9 @@ const $x = (e, t) => {
|
|
|
10182
10189
|
bare: T
|
|
10183
10190
|
} = e ?? {};
|
|
10184
10191
|
if (!(Array.isArray(r) && r.length > 0) || !n && !t) return /* @__PURE__ */ g(we, {});
|
|
10185
|
-
const G = c === "logo-menu" || c === "logo-menu-cta",
|
|
10192
|
+
const G = c === "logo-menu" || c === "logo-menu-cta", z = c === "menu-cta" || c === "logo-menu-cta", H = G || z, B = u === "right" ? "end" : u === "center" ? "center" : "start", U = ke.useMemo(() => `c${Math.random().toString(36).slice(2, 9)}`, []), j = t || U, Y = (T == null ? void 0 : T.toggleId) ?? `ahd-menu-toggle-${j}`, he = (T == null ? void 0 : T.listId) ?? `ahd-menu-list-${j}`, ne = Cx(v);
|
|
10186
10193
|
if (T)
|
|
10187
|
-
return /* @__PURE__ */ g(we, { children: Jo(r, h, b, k, S, m, _, N, A, Y,
|
|
10194
|
+
return /* @__PURE__ */ g(we, { children: Jo(r, h, b, k, S, m, _, N, A, Y, he, ne) });
|
|
10188
10195
|
const ee = $x(j, { stickyNav: o, stickyNavTablet: a, stickyNavMobile: i }), W = _x(j, {
|
|
10189
10196
|
dropdownBackground: p ?? (d !== "transparent" ? d : null)
|
|
10190
10197
|
});
|
|
@@ -10218,7 +10225,7 @@ const $x = (e, t) => {
|
|
|
10218
10225
|
className: "ahd-menu-toggle",
|
|
10219
10226
|
role: "switch",
|
|
10220
10227
|
"aria-label": "Toggle main menu",
|
|
10221
|
-
"aria-controls":
|
|
10228
|
+
"aria-controls": he,
|
|
10222
10229
|
style: wx
|
|
10223
10230
|
}
|
|
10224
10231
|
),
|
|
@@ -10231,8 +10238,8 @@ const $x = (e, t) => {
|
|
|
10231
10238
|
}
|
|
10232
10239
|
),
|
|
10233
10240
|
G && /* @__PURE__ */ g("div", { className: "ahd-menu-start", style: yo("start"), children: (l ?? []).map((re) => /* @__PURE__ */ g(Se, { id: re }, re)) }),
|
|
10234
|
-
/* @__PURE__ */ g("div", { className: "ahd-menu-center", style: yo(
|
|
10235
|
-
|
|
10241
|
+
/* @__PURE__ */ g("div", { className: "ahd-menu-center", style: yo(B, H), children: Jo(r, h, b, k, S, m, _, N, A, Y, he, ne) }),
|
|
10242
|
+
z && /* @__PURE__ */ g("div", { className: "ahd-menu-end", style: yo("end"), children: (s ?? []).map((re) => /* @__PURE__ */ g(Se, { id: re }, re)) }),
|
|
10236
10243
|
/* @__PURE__ */ P(
|
|
10237
10244
|
"label",
|
|
10238
10245
|
{
|
|
@@ -10307,7 +10314,7 @@ function Tx(e) {
|
|
|
10307
10314
|
}
|
|
10308
10315
|
const Px = (e) => {
|
|
10309
10316
|
if (!e) return;
|
|
10310
|
-
const t =
|
|
10317
|
+
const t = nt.find((n) => n.key === e);
|
|
10311
10318
|
return (t == null ? void 0 : t.value) || e;
|
|
10312
10319
|
}, _l = (e) => e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0, Ox = _l, Lx = "M12 3.1 3 10.4V21h6v-6h6v6h6V10.4L12 3.1zm0 2.56 7 5.6V19h-2v-6H9v6H5v-7.74l7-5.6z", zx = ({ size: e, color: t }) => /* @__PURE__ */ g("svg", { width: e, height: e, viewBox: "0 0 24 24", "aria-hidden": "true", style: { display: "block", flex: "0 0 auto" }, children: /* @__PURE__ */ g("path", { d: Lx, fill: t }) }), Bx = ({ color: e, fontSize: t }) => /* @__PURE__ */ g("span", { "aria-hidden": "true", style: { color: e, fontSize: t }, children: "…" }), Dx = ({ props: e, renderLabel: t }) => {
|
|
10313
10320
|
const {
|
|
@@ -10330,12 +10337,12 @@ const Px = (e) => {
|
|
|
10330
10337
|
} = e ?? {};
|
|
10331
10338
|
if (!(Array.isArray(n) && n.length > 0)) return /* @__PURE__ */ g(we, {});
|
|
10332
10339
|
const C = Px(h), w = Mx(o, a), _ = n.length - 1, N = ke.useMemo(() => `b${Math.random().toString(36).slice(2, 9)}`, []), A = l ? Tx(N) : "", y = (I, M, T) => {
|
|
10333
|
-
const L = (T ? u : null) || I.textColor || c, G = !T || s,
|
|
10340
|
+
const L = (T ? u : null) || I.textColor || c, G = !T || s, z = {
|
|
10334
10341
|
color: L,
|
|
10335
10342
|
textDecoration: "none",
|
|
10336
10343
|
whiteSpace: "nowrap"
|
|
10337
10344
|
};
|
|
10338
|
-
return t ? t({ item: I, index: M, isLast: T, style:
|
|
10345
|
+
return t ? t({ item: I, index: M, isLast: T, style: z }) : G ? /* @__PURE__ */ g("a", { href: I.href || "#", style: z, "aria-current": T ? "page" : void 0, children: I.label || "" }) : /* @__PURE__ */ g("span", { style: z, "aria-current": "page", children: I.label || "" });
|
|
10339
10346
|
};
|
|
10340
10347
|
return /* @__PURE__ */ P(we, { children: [
|
|
10341
10348
|
A && /* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: A } }),
|
|
@@ -10569,7 +10576,7 @@ const Px = (e) => {
|
|
|
10569
10576
|
marginY: f().optional().nullable(),
|
|
10570
10577
|
displayMode: E(["focus-only", "always-visible"]).optional().nullable()
|
|
10571
10578
|
}).optional().nullable()
|
|
10572
|
-
}),
|
|
10579
|
+
}), Qe = {
|
|
10573
10580
|
text: "Skip to main content",
|
|
10574
10581
|
targetId: "main-content",
|
|
10575
10582
|
backgroundColor: "#000000",
|
|
@@ -10584,7 +10591,7 @@ const Px = (e) => {
|
|
|
10584
10591
|
let Qx = 0;
|
|
10585
10592
|
function $l({ style: e, props: t }) {
|
|
10586
10593
|
var k, S;
|
|
10587
|
-
const n = ((k = t == null ? void 0 : t.text) == null ? void 0 : k.trim()) ||
|
|
10594
|
+
const n = ((k = t == null ? void 0 : t.text) == null ? void 0 : k.trim()) || Qe.text, o = ((S = t == null ? void 0 : t.targetId) == null ? void 0 : S.trim()) || Qe.targetId, a = (t == null ? void 0 : t.backgroundColor) ?? Qe.backgroundColor, i = (t == null ? void 0 : t.textColor) ?? Qe.textColor, r = (t == null ? void 0 : t.fontSize) ?? Qe.fontSize, l = (t == null ? void 0 : t.borderRadius) ?? Qe.borderRadius, s = (t == null ? void 0 : t.paddingX) ?? Qe.paddingX, c = (t == null ? void 0 : t.paddingY) ?? Qe.paddingY, u = (t == null ? void 0 : t.marginX) ?? Qe.marginX, m = (t == null ? void 0 : t.marginY) ?? Qe.marginY, d = "always-visible", h = `skip-link-${++Qx}`, p = {
|
|
10588
10595
|
padding: Oa(e == null ? void 0 : e.padding),
|
|
10589
10596
|
margin: La(e == null ? void 0 : e.margin),
|
|
10590
10597
|
textAlign: (e == null ? void 0 : e.textAlign) ?? void 0
|
|
@@ -10639,7 +10646,7 @@ const e1 = $({
|
|
|
10639
10646
|
reset: O().optional().nullable()
|
|
10640
10647
|
}).optional().nullable()
|
|
10641
10648
|
}).optional().nullable()
|
|
10642
|
-
}),
|
|
10649
|
+
}), et = {
|
|
10643
10650
|
renderMode: "floating",
|
|
10644
10651
|
position: "top-right",
|
|
10645
10652
|
triggerLabel: "Accessibility tools",
|
|
@@ -10857,7 +10864,7 @@ function yl() {
|
|
|
10857
10864
|
`.trim();
|
|
10858
10865
|
}
|
|
10859
10866
|
function Nl({ style: e, props: t }) {
|
|
10860
|
-
const n = (t == null ? void 0 : t.renderMode) ??
|
|
10867
|
+
const n = (t == null ? void 0 : t.renderMode) ?? et.renderMode, o = (t == null ? void 0 : t.position) ?? et.position, a = (t == null ? void 0 : t.features) ?? void 0, i = (t == null ? void 0 : t.triggerBg) ?? et.triggerBg, r = (t == null ? void 0 : t.triggerColor) ?? et.triggerColor, l = (t == null ? void 0 : t.triggerLabel) ?? et.triggerLabel, s = (t == null ? void 0 : t.showLabelText) !== !1, c = (t == null ? void 0 : t.triggerFontSize) ?? et.triggerFontSize, u = (t == null ? void 0 : t.triggerBorderRadius) ?? et.triggerBorderRadius, m = (t == null ? void 0 : t.triggerPadding) ?? et.triggerPadding, d = (t == null ? void 0 : t.triggerMargin) ?? et.triggerMargin, h = (t == null ? void 0 : t.icon) ?? et.icon, p = {
|
|
10861
10868
|
padding: Oa(e == null ? void 0 : e.padding),
|
|
10862
10869
|
margin: La(e == null ? void 0 : e.margin),
|
|
10863
10870
|
textAlign: (e == null ? void 0 : e.textAlign) ?? void 0
|
|
@@ -10880,15 +10887,15 @@ function Nl({ style: e, props: t }) {
|
|
|
10880
10887
|
function r1(e) {
|
|
10881
10888
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
10882
10889
|
}
|
|
10883
|
-
var Xo = { exports: {} }, Qo = { exports: {} }, je = {},
|
|
10884
|
-
|
|
10885
|
-
|
|
10886
|
-
|
|
10887
|
-
|
|
10888
|
-
|
|
10889
|
-
|
|
10890
|
-
|
|
10891
|
-
|
|
10890
|
+
var Xo = { exports: {} }, Qo = { exports: {} }, je = {}, ue = {};
|
|
10891
|
+
ue.__esModule = !0;
|
|
10892
|
+
ue.extend = Rl;
|
|
10893
|
+
ue.indexOf = u1;
|
|
10894
|
+
ue.escapeExpression = d1;
|
|
10895
|
+
ue.isEmpty = h1;
|
|
10896
|
+
ue.createFrame = f1;
|
|
10897
|
+
ue.blockParams = p1;
|
|
10898
|
+
ue.appendContextPath = m1;
|
|
10892
10899
|
var i1 = {
|
|
10893
10900
|
"&": "&",
|
|
10894
10901
|
"<": "<",
|
|
@@ -10908,18 +10915,18 @@ function Rl(e) {
|
|
|
10908
10915
|
return e;
|
|
10909
10916
|
}
|
|
10910
10917
|
var za = Object.prototype.toString;
|
|
10911
|
-
|
|
10918
|
+
ue.toString = za;
|
|
10912
10919
|
var ea = function(t) {
|
|
10913
10920
|
return typeof t == "function";
|
|
10914
10921
|
};
|
|
10915
|
-
ea(/x/) && (
|
|
10922
|
+
ea(/x/) && (ue.isFunction = ea = function(e) {
|
|
10916
10923
|
return typeof e == "function" && za.call(e) === "[object Function]";
|
|
10917
10924
|
});
|
|
10918
|
-
|
|
10925
|
+
ue.isFunction = ea;
|
|
10919
10926
|
var El = Array.isArray || function(e) {
|
|
10920
10927
|
return e && typeof e == "object" ? za.call(e) === "[object Array]" : !1;
|
|
10921
10928
|
};
|
|
10922
|
-
|
|
10929
|
+
ue.isArray = El;
|
|
10923
10930
|
function u1(e, t) {
|
|
10924
10931
|
for (var n = 0, o = e.length; n < o; n++)
|
|
10925
10932
|
if (e[n] === t)
|
|
@@ -10977,7 +10984,7 @@ var ta = { exports: {} };
|
|
|
10977
10984
|
var Ue = ta.exports, pn = {}, na = { exports: {} };
|
|
10978
10985
|
(function(e, t) {
|
|
10979
10986
|
t.__esModule = !0;
|
|
10980
|
-
var n =
|
|
10987
|
+
var n = ue;
|
|
10981
10988
|
t.default = function(o) {
|
|
10982
10989
|
o.registerHelper("blockHelperMissing", function(a, i) {
|
|
10983
10990
|
var r = i.inverse, l = i.fn;
|
|
@@ -11001,7 +11008,7 @@ var g1 = na.exports, oa = { exports: {} };
|
|
|
11001
11008
|
function n(r) {
|
|
11002
11009
|
return r && r.__esModule ? r : { default: r };
|
|
11003
11010
|
}
|
|
11004
|
-
var o =
|
|
11011
|
+
var o = ue, a = Ue, i = n(a);
|
|
11005
11012
|
t.default = function(r) {
|
|
11006
11013
|
r.registerHelper("each", function(l, s) {
|
|
11007
11014
|
if (!s)
|
|
@@ -11055,7 +11062,7 @@ var v1 = aa.exports, ra = { exports: {} };
|
|
|
11055
11062
|
function n(r) {
|
|
11056
11063
|
return r && r.__esModule ? r : { default: r };
|
|
11057
11064
|
}
|
|
11058
|
-
var o =
|
|
11065
|
+
var o = ue, a = Ue, i = n(a);
|
|
11059
11066
|
t.default = function(r) {
|
|
11060
11067
|
r.registerHelper("if", function(l, s) {
|
|
11061
11068
|
if (arguments.length != 2)
|
|
@@ -11097,7 +11104,7 @@ var w1 = la.exports, sa = { exports: {} };
|
|
|
11097
11104
|
function n(r) {
|
|
11098
11105
|
return r && r.__esModule ? r : { default: r };
|
|
11099
11106
|
}
|
|
11100
|
-
var o =
|
|
11107
|
+
var o = ue, a = Ue, i = n(a);
|
|
11101
11108
|
t.default = function(r) {
|
|
11102
11109
|
r.registerHelper("with", function(l, s) {
|
|
11103
11110
|
if (arguments.length != 2)
|
|
@@ -11131,7 +11138,7 @@ function B1(e, t, n) {
|
|
|
11131
11138
|
var Ba = {}, ca = { exports: {} };
|
|
11132
11139
|
(function(e, t) {
|
|
11133
11140
|
t.__esModule = !0;
|
|
11134
|
-
var n =
|
|
11141
|
+
var n = ue;
|
|
11135
11142
|
t.default = function(o) {
|
|
11136
11143
|
o.registerDecorator("inline", function(a, i, r, l) {
|
|
11137
11144
|
var s = a;
|
|
@@ -11157,7 +11164,7 @@ function j1(e) {
|
|
|
11157
11164
|
var ua = { exports: {} };
|
|
11158
11165
|
(function(e, t) {
|
|
11159
11166
|
t.__esModule = !0;
|
|
11160
|
-
var n =
|
|
11167
|
+
var n = ue, o = {
|
|
11161
11168
|
methodMap: ["debug", "info", "warn", "error"],
|
|
11162
11169
|
level: "info",
|
|
11163
11170
|
// Maps a given level value to the `methodMap` indexes above.
|
|
@@ -11189,7 +11196,7 @@ Ut.resetLoggedProperties = K1;
|
|
|
11189
11196
|
function U1(e) {
|
|
11190
11197
|
return e && e.__esModule ? e : { default: e };
|
|
11191
11198
|
}
|
|
11192
|
-
var Qr =
|
|
11199
|
+
var Qr = ue, Z1 = Il, W1 = U1(Z1), jn = /* @__PURE__ */ Object.create(null);
|
|
11193
11200
|
function q1(e) {
|
|
11194
11201
|
var t = /* @__PURE__ */ Object.create(null);
|
|
11195
11202
|
t.__proto__ = !1, Qr.extend(t, e.allowedProtoProperties);
|
|
@@ -11226,7 +11233,7 @@ je.HandlebarsEnvironment = da;
|
|
|
11226
11233
|
function Ml(e) {
|
|
11227
11234
|
return e && e.__esModule ? e : { default: e };
|
|
11228
11235
|
}
|
|
11229
|
-
var kt =
|
|
11236
|
+
var kt = ue, J1 = Ue, Eo = Ml(J1), X1 = pn, Q1 = Ba, eS = Il, Un = Ml(eS), tS = Ut, nS = "4.7.9";
|
|
11230
11237
|
je.VERSION = nS;
|
|
11231
11238
|
var oS = 8;
|
|
11232
11239
|
je.COMPILER_REVISION = oS;
|
|
@@ -11339,21 +11346,21 @@ function uS(e) {
|
|
|
11339
11346
|
Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
|
|
11340
11347
|
return t.default = e, t;
|
|
11341
11348
|
}
|
|
11342
|
-
var dS =
|
|
11349
|
+
var dS = ue, Pt = uS(dS), hS = Ue, at = cS(hS), rt = je, ti = pn, fS = Da, ni = Ut;
|
|
11343
11350
|
function pS(e) {
|
|
11344
|
-
var t = e && e[0] || 1, n =
|
|
11345
|
-
if (!(t >=
|
|
11346
|
-
if (t <
|
|
11347
|
-
var o =
|
|
11348
|
-
throw new
|
|
11351
|
+
var t = e && e[0] || 1, n = rt.COMPILER_REVISION;
|
|
11352
|
+
if (!(t >= rt.LAST_COMPATIBLE_COMPILER_REVISION && t <= rt.COMPILER_REVISION))
|
|
11353
|
+
if (t < rt.LAST_COMPATIBLE_COMPILER_REVISION) {
|
|
11354
|
+
var o = rt.REVISION_CHANGES[n], a = rt.REVISION_CHANGES[t];
|
|
11355
|
+
throw new at.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version (" + o + ") or downgrade your runtime to an older version (" + a + ").");
|
|
11349
11356
|
} else
|
|
11350
|
-
throw new
|
|
11357
|
+
throw new at.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (" + e[1] + ").");
|
|
11351
11358
|
}
|
|
11352
11359
|
function mS(e, t) {
|
|
11353
11360
|
if (!t)
|
|
11354
|
-
throw new
|
|
11361
|
+
throw new at.default("No environment passed to template");
|
|
11355
11362
|
if (!e || !e.main)
|
|
11356
|
-
throw new
|
|
11363
|
+
throw new at.default("Unknown template object: " + typeof e);
|
|
11357
11364
|
e.main.decorator = e.main_d, t.VM.checkRevision(e.compiler);
|
|
11358
11365
|
var n = e.compiler && e.compiler[0] === 7;
|
|
11359
11366
|
function o(r, l, s) {
|
|
@@ -11369,12 +11376,12 @@ function mS(e, t) {
|
|
|
11369
11376
|
}
|
|
11370
11377
|
return c;
|
|
11371
11378
|
} else
|
|
11372
|
-
throw new
|
|
11379
|
+
throw new at.default("The partial " + s.name + " could not be compiled when running in runtime-only mode");
|
|
11373
11380
|
}
|
|
11374
11381
|
var a = {
|
|
11375
11382
|
strict: function(l, s, c) {
|
|
11376
11383
|
if (!l || !(s in l))
|
|
11377
|
-
throw new
|
|
11384
|
+
throw new at.default('"' + s + '" not defined in ' + l, {
|
|
11378
11385
|
loc: c
|
|
11379
11386
|
});
|
|
11380
11387
|
return a.lookupProperty(l, s);
|
|
@@ -11440,9 +11447,9 @@ function mS(e, t) {
|
|
|
11440
11447
|
}
|
|
11441
11448
|
}, i._child = function(r, l, s, c) {
|
|
11442
11449
|
if (e.useBlockParams && !s)
|
|
11443
|
-
throw new
|
|
11450
|
+
throw new at.default("must pass block params");
|
|
11444
11451
|
if (e.useDepths && !c)
|
|
11445
|
-
throw new
|
|
11452
|
+
throw new at.default("must pass parent depths");
|
|
11446
11453
|
return Tn(a, r, e[r], l, 0, s, c);
|
|
11447
11454
|
}, i;
|
|
11448
11455
|
}
|
|
@@ -11461,14 +11468,14 @@ function bS(e, t, n) {
|
|
|
11461
11468
|
n.partial = !0, n.ids && (n.data.contextPath = n.ids[0] || n.data.contextPath);
|
|
11462
11469
|
var a = void 0;
|
|
11463
11470
|
if (n.fn && n.fn !== Tl && function() {
|
|
11464
|
-
n.data =
|
|
11471
|
+
n.data = rt.createFrame(n.data);
|
|
11465
11472
|
var i = n.fn;
|
|
11466
11473
|
a = n.data["partial-block"] = function(l) {
|
|
11467
11474
|
var s = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1];
|
|
11468
|
-
return s.data =
|
|
11475
|
+
return s.data = rt.createFrame(s.data), s.data["partial-block"] = o, i(l, s);
|
|
11469
11476
|
}, i.partials && (n.partials = Pt.extend({}, n.partials, i.partials));
|
|
11470
11477
|
}(), e === void 0 && a && (e = a), e === void 0)
|
|
11471
|
-
throw new
|
|
11478
|
+
throw new at.default("The partial " + n.name + " could not be found");
|
|
11472
11479
|
if (e instanceof Function)
|
|
11473
11480
|
return e(t, n);
|
|
11474
11481
|
}
|
|
@@ -11480,7 +11487,7 @@ function Pn(e, t) {
|
|
|
11480
11487
|
return e[t];
|
|
11481
11488
|
}
|
|
11482
11489
|
function vS(e, t) {
|
|
11483
|
-
return (!t || !("root" in t)) && (t = t ?
|
|
11490
|
+
return (!t || !("root" in t)) && (t = t ? rt.createFrame(t) : {}, t.root = e), t;
|
|
11484
11491
|
}
|
|
11485
11492
|
function Pl(e, t, n, o, a, i) {
|
|
11486
11493
|
if (e.decorator) {
|
|
@@ -11530,7 +11537,7 @@ var Ol = fa.exports;
|
|
|
11530
11537
|
Object.prototype.hasOwnProperty.call(S, w) && (C[w] = S[w]);
|
|
11531
11538
|
return C.default = S, C;
|
|
11532
11539
|
}
|
|
11533
|
-
var a = je, i = o(a), r = lS, l = n(r), s = Ue, c = n(s), u =
|
|
11540
|
+
var a = je, i = o(a), r = lS, l = n(r), s = Ue, c = n(s), u = ue, m = o(u), d = xt, h = o(d), p = Ol, b = n(p);
|
|
11534
11541
|
function v() {
|
|
11535
11542
|
var S = new i.HandlebarsEnvironment();
|
|
11536
11543
|
return m.extend(S, i), S.SafeString = l.default, S.Exception = c.default, S.Utils = m, S.escapeExpression = m.escapeExpression, S.VM = h, S.template = function(C) {
|
|
@@ -12397,7 +12404,7 @@ function OS(e) {
|
|
|
12397
12404
|
function Ga(e) {
|
|
12398
12405
|
return e && e.__esModule ? e : { default: e };
|
|
12399
12406
|
}
|
|
12400
|
-
var LS = wS, va = Ga(LS), zS = kS, BS = Ga(zS), DS = Ze, HS = OS(DS), FS = Ue, Jt = Ga(FS), GS =
|
|
12407
|
+
var LS = wS, va = Ga(LS), zS = kS, BS = Ga(zS), DS = Ze, HS = OS(DS), FS = Ue, Jt = Ga(FS), GS = ue;
|
|
12401
12408
|
mn.parser = va.default;
|
|
12402
12409
|
var On = {};
|
|
12403
12410
|
GS.extend(On, HS);
|
|
@@ -12454,7 +12461,7 @@ gn.compile = KS;
|
|
|
12454
12461
|
function Dl(e) {
|
|
12455
12462
|
return e && e.__esModule ? e : { default: e };
|
|
12456
12463
|
}
|
|
12457
|
-
var WS = Ue, an = Dl(WS), un =
|
|
12464
|
+
var WS = Ue, an = Dl(WS), un = ue, qS = Ll, Xt = Dl(qS), VS = [].slice;
|
|
12458
12465
|
function Sa() {
|
|
12459
12466
|
}
|
|
12460
12467
|
Sa.prototype = {
|
|
@@ -13620,7 +13627,7 @@ function o2() {
|
|
|
13620
13627
|
}
|
|
13621
13628
|
(function(e, t) {
|
|
13622
13629
|
t.__esModule = !0;
|
|
13623
|
-
var n =
|
|
13630
|
+
var n = ue, o = void 0;
|
|
13624
13631
|
try {
|
|
13625
13632
|
var a = o2();
|
|
13626
13633
|
o = a.SourceNode;
|
|
@@ -13715,7 +13722,7 @@ var a2 = ka.exports;
|
|
|
13715
13722
|
function n(d) {
|
|
13716
13723
|
return d && d.__esModule ? d : { default: d };
|
|
13717
13724
|
}
|
|
13718
|
-
var o = je, a = Ue, i = n(a), r =
|
|
13725
|
+
var o = je, a = Ue, i = n(a), r = ue, l = a2, s = n(l);
|
|
13719
13726
|
function c(d) {
|
|
13720
13727
|
this.value = d;
|
|
13721
13728
|
}
|
|
@@ -14478,7 +14485,7 @@ function Yl(e, t) {
|
|
|
14478
14485
|
return a ? o : e;
|
|
14479
14486
|
}
|
|
14480
14487
|
const bi = Object.fromEntries(
|
|
14481
|
-
|
|
14488
|
+
nt.map((e) => [e.key, e.value])
|
|
14482
14489
|
);
|
|
14483
14490
|
function Zn(e) {
|
|
14484
14491
|
return !!e && typeof e == "object" && "top" in e && "left" in e;
|
|
@@ -15660,7 +15667,7 @@ ${t ? `.ahd-page-container {
|
|
|
15660
15667
|
.ahd-page-root h3,
|
|
15661
15668
|
.ahd-page-root h4,
|
|
15662
15669
|
.ahd-page-root h5,
|
|
15663
|
-
.ahd-page-root h6 { margin: 0; padding: 0; }
|
|
15670
|
+
.ahd-page-root h6 { margin: 0; padding: 0; font-weight: inherit; font-size: inherit; }
|
|
15664
15671
|
.ahd-page-root table { border-collapse: collapse; border-spacing: 0; }
|
|
15665
15672
|
.ahd-page-root td,
|
|
15666
15673
|
.ahd-page-root th { padding: 0; vertical-align: top; }
|
|
@@ -16598,7 +16605,7 @@ function ts(e, {
|
|
|
16598
16605
|
(j) => (j == null ? void 0 : j.type) === "AccessibilityTools"
|
|
16599
16606
|
);
|
|
16600
16607
|
!C && (k == null || k.enabled);
|
|
16601
|
-
const _ = !w && !!(S != null && S.enabled), N = _ ? Cl(S) : "", A = _ ? Al(S) : "", y = _ ? yl() : "", I = d && O2(e) ? G2() : "", M = h && z2(e) ? j2() : "", T = L2(e) ? F2() : "", L = D2(e), G = p && L ? H2() : "",
|
|
16608
|
+
const _ = !w && !!(S != null && S.enabled), N = _ ? Cl(S) : "", A = _ ? Al(S) : "", y = _ ? yl() : "", I = d && O2(e) ? G2() : "", M = h && z2(e) ? j2() : "", T = L2(e) ? F2() : "", L = D2(e), G = p && L ? H2() : "", z = /* @__PURE__ */ P("div", { style: { margin: 0, padding: 0 }, children: [
|
|
16602
16609
|
s && /* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: q2() } }),
|
|
16603
16610
|
N && /* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: N } }),
|
|
16604
16611
|
L && /* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: Z2 } }),
|
|
@@ -16613,7 +16620,7 @@ function ts(e, {
|
|
|
16613
16620
|
A && /* @__PURE__ */ g("div", { dangerouslySetInnerHTML: { __html: A } }),
|
|
16614
16621
|
y && /* @__PURE__ */ g("script", { dangerouslySetInnerHTML: { __html: y } }),
|
|
16615
16622
|
(() => {
|
|
16616
|
-
const j = M2(e), Y = T2(e),
|
|
16623
|
+
const j = M2(e), Y = T2(e), he = P2(e, t), ne = j ? e[j] : null, ee = Y ? e[Y] : null, W = he ? /* @__PURE__ */ g(
|
|
16617
16624
|
Wn,
|
|
16618
16625
|
{
|
|
16619
16626
|
document: e,
|
|
@@ -16621,7 +16628,7 @@ function ts(e, {
|
|
|
16621
16628
|
staticRender: !0,
|
|
16622
16629
|
injectElementIds: !!o,
|
|
16623
16630
|
isBanner: !!m,
|
|
16624
|
-
mainBlockId:
|
|
16631
|
+
mainBlockId: he,
|
|
16625
16632
|
hoistedSkipLinkId: j,
|
|
16626
16633
|
hoistedA11yToolsId: Y
|
|
16627
16634
|
}
|
|
@@ -16648,10 +16655,10 @@ function ts(e, {
|
|
|
16648
16655
|
T && /* @__PURE__ */ g("script", { dangerouslySetInnerHTML: { __html: T } }),
|
|
16649
16656
|
G && /* @__PURE__ */ g("script", { dangerouslySetInnerHTML: { __html: G } })
|
|
16650
16657
|
] }), H = cs(
|
|
16651
|
-
|
|
16658
|
+
z
|
|
16652
16659
|
);
|
|
16653
|
-
let
|
|
16654
|
-
return c && (
|
|
16660
|
+
let B = a ? Q2(H) : H;
|
|
16661
|
+
return c && (B = B.replace("</head>", `${c}</head>`)), u && (B = B.replace("</body>", `${u}</body>`)), B;
|
|
16655
16662
|
}
|
|
16656
16663
|
function wi(e) {
|
|
16657
16664
|
return ((e == null ? void 0 : e.sectionType) || "internal") === "external";
|