pagepilot-visual-editor 1.0.36 → 1.0.38
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/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +1 -1
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/TemplatePreviewDialog.d.ts +7 -2
- package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/dataReferenceUtils.d.ts +1 -1
- package/dist/editor-sample/App/shared/editor.styles.d.ts +1 -1
- package/dist/email-builder-core/renderers/pageScripts.d.ts +3 -0
- package/dist/email-builder-core/renderers/renderToStaticMarkup.d.ts +2 -1
- package/dist/{index-Brx-1-8Y.cjs → index-B3at_QxY.cjs} +1 -1
- package/dist/{index-RgbGkWJu.js → index-BCXN3RVI.js} +25058 -24400
- package/dist/{index-dxq1TSbA.js → index-CrB7O57y.js} +1 -1
- package/dist/{index-CbHyh5NE.cjs → index-dv-Dnodb.cjs} +316 -316
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/render-core/combineSections.d.ts +1 -0
- package/dist/render.cjs +72 -72
- package/dist/render.js +819 -809
- package/dist/{xlsx-BCDJ_8hn.js → xlsx-C0eQGSMm.js} +1 -1
- package/dist/{xlsx-Ca7xtzHX.cjs → xlsx-DCfe7eEJ.cjs} +1 -1
- package/package.json +1 -1
package/dist/render.js
CHANGED
|
@@ -3,7 +3,7 @@ var $d = (e, t, n) => t in e ? Sd(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var Se = (e, t, n) => $d(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { jsx as v, jsxs as L, Fragment as De } from "react/jsx-runtime";
|
|
5
5
|
import { renderToStaticMarkup as _d } from "react-dom/server";
|
|
6
|
-
import Ge, { useId as ni, useState as Cd, useMemo as
|
|
6
|
+
import Ge, { useId as ni, useState as Cd, useMemo as Me, useRef as ri, useEffect as Ad, useContext as oi, createContext as ai, useLayoutEffect as yd } from "react";
|
|
7
7
|
var Yi;
|
|
8
8
|
function E(e, t, n) {
|
|
9
9
|
function r(l, s) {
|
|
@@ -42,7 +42,7 @@ function E(e, t, n) {
|
|
|
42
42
|
}
|
|
43
43
|
}), Object.defineProperty(i, "name", { value: e }), i;
|
|
44
44
|
}
|
|
45
|
-
class
|
|
45
|
+
class $n extends Error {
|
|
46
46
|
constructor() {
|
|
47
47
|
super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
|
|
48
48
|
}
|
|
@@ -86,7 +86,7 @@ function Id(e, t) {
|
|
|
86
86
|
return Math.abs(n - r) < o ? 0 : n - r;
|
|
87
87
|
}
|
|
88
88
|
const Ki = /* @__PURE__ */ Symbol("evaluating");
|
|
89
|
-
function
|
|
89
|
+
function de(e, t, n) {
|
|
90
90
|
let r;
|
|
91
91
|
Object.defineProperty(e, t, {
|
|
92
92
|
get() {
|
|
@@ -140,7 +140,7 @@ const Td = /* @__PURE__ */ ao(() => {
|
|
|
140
140
|
return !1;
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
|
-
function
|
|
143
|
+
function An(e) {
|
|
144
144
|
if (Jn(e) === !1)
|
|
145
145
|
return !1;
|
|
146
146
|
const t = e.constructor;
|
|
@@ -150,10 +150,10 @@ function Cn(e) {
|
|
|
150
150
|
return !(Jn(n) === !1 || Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") === !1);
|
|
151
151
|
}
|
|
152
152
|
function rc(e) {
|
|
153
|
-
return
|
|
153
|
+
return An(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
|
|
154
154
|
}
|
|
155
155
|
const Nd = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
|
|
156
|
-
function
|
|
156
|
+
function yn(e) {
|
|
157
157
|
return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
158
158
|
}
|
|
159
159
|
function qt(e, t, n) {
|
|
@@ -220,7 +220,7 @@ function Od(e, t) {
|
|
|
220
220
|
return qt(e, a);
|
|
221
221
|
}
|
|
222
222
|
function Ld(e, t) {
|
|
223
|
-
if (!
|
|
223
|
+
if (!An(t))
|
|
224
224
|
throw new Error("Invalid input to extend: expected a plain object");
|
|
225
225
|
const n = e._zod.def.checks;
|
|
226
226
|
if (n && n.length > 0) {
|
|
@@ -238,7 +238,7 @@ function Ld(e, t) {
|
|
|
238
238
|
return qt(e, o);
|
|
239
239
|
}
|
|
240
240
|
function zd(e, t) {
|
|
241
|
-
if (!
|
|
241
|
+
if (!An(t))
|
|
242
242
|
throw new Error("Invalid input to safeExtend: expected a plain object");
|
|
243
243
|
const n = Zt(e._zod.def, {
|
|
244
244
|
get shape() {
|
|
@@ -316,7 +316,7 @@ function Fd(e, t, n) {
|
|
|
316
316
|
});
|
|
317
317
|
return qt(t, r);
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function kn(e, t = 0) {
|
|
320
320
|
var n;
|
|
321
321
|
if (e.aborted === !0)
|
|
322
322
|
return !0;
|
|
@@ -405,7 +405,7 @@ function jd(e, t = (n) => n.message) {
|
|
|
405
405
|
const ui = (e) => (t, n, r, o) => {
|
|
406
406
|
const a = r ? { ...r, async: !1 } : { async: !1 }, i = t._zod.run({ value: n, issues: [] }, a);
|
|
407
407
|
if (i instanceof Promise)
|
|
408
|
-
throw new
|
|
408
|
+
throw new $n();
|
|
409
409
|
if (i.issues.length) {
|
|
410
410
|
const l = new ((o == null ? void 0 : o.Err) ?? e)(i.issues.map((s) => zt(s, a, Lt())));
|
|
411
411
|
throw nc(l, o == null ? void 0 : o.callee), l;
|
|
@@ -422,7 +422,7 @@ const ui = (e) => (t, n, r, o) => {
|
|
|
422
422
|
}, io = (e) => (t, n, r) => {
|
|
423
423
|
const o = r ? { ...r, async: !1 } : { async: !1 }, a = t._zod.run({ value: n, issues: [] }, o);
|
|
424
424
|
if (a instanceof Promise)
|
|
425
|
-
throw new
|
|
425
|
+
throw new $n();
|
|
426
426
|
return a.issues.length ? {
|
|
427
427
|
success: !1,
|
|
428
428
|
error: new (e ?? ac)(a.issues.map((i) => zt(i, o, Lt())))
|
|
@@ -690,7 +690,7 @@ const wh = (e) => {
|
|
|
690
690
|
t.pattern ?? (t.pattern = Ch), so.init(e, t);
|
|
691
691
|
}), Mh = /* @__PURE__ */ E("$ZodCheckIncludes", (e, t) => {
|
|
692
692
|
it.init(e, t);
|
|
693
|
-
const n =
|
|
693
|
+
const n = yn(t.includes), r = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${n}` : n);
|
|
694
694
|
t.pattern = r, e._zod.onattach.push((o) => {
|
|
695
695
|
const a = o._zod.bag;
|
|
696
696
|
a.patterns ?? (a.patterns = /* @__PURE__ */ new Set()), a.patterns.add(r);
|
|
@@ -707,7 +707,7 @@ const wh = (e) => {
|
|
|
707
707
|
};
|
|
708
708
|
}), Oh = /* @__PURE__ */ E("$ZodCheckStartsWith", (e, t) => {
|
|
709
709
|
it.init(e, t);
|
|
710
|
-
const n = new RegExp(`^${
|
|
710
|
+
const n = new RegExp(`^${yn(t.prefix)}.*`);
|
|
711
711
|
t.pattern ?? (t.pattern = n), e._zod.onattach.push((r) => {
|
|
712
712
|
const o = r._zod.bag;
|
|
713
713
|
o.patterns ?? (o.patterns = /* @__PURE__ */ new Set()), o.patterns.add(n);
|
|
@@ -724,7 +724,7 @@ const wh = (e) => {
|
|
|
724
724
|
};
|
|
725
725
|
}), Lh = /* @__PURE__ */ E("$ZodCheckEndsWith", (e, t) => {
|
|
726
726
|
it.init(e, t);
|
|
727
|
-
const n = new RegExp(`.*${
|
|
727
|
+
const n = new RegExp(`.*${yn(t.suffix)}$`);
|
|
728
728
|
t.pattern ?? (t.pattern = n), e._zod.onattach.push((r) => {
|
|
729
729
|
const o = r._zod.bag;
|
|
730
730
|
o.patterns ?? (o.patterns = /* @__PURE__ */ new Set()), o.patterns.add(n);
|
|
@@ -786,7 +786,7 @@ const Dh = {
|
|
|
786
786
|
});
|
|
787
787
|
else {
|
|
788
788
|
const a = (l, s, u) => {
|
|
789
|
-
let c =
|
|
789
|
+
let c = kn(l), h;
|
|
790
790
|
for (const d of s) {
|
|
791
791
|
if (d._zod.def.when) {
|
|
792
792
|
if (Hd(l) || !d._zod.def.when(l))
|
|
@@ -795,25 +795,25 @@ const Dh = {
|
|
|
795
795
|
continue;
|
|
796
796
|
const f = l.issues.length, p = d._zod.check(l);
|
|
797
797
|
if (p instanceof Promise && (u == null ? void 0 : u.async) === !1)
|
|
798
|
-
throw new
|
|
798
|
+
throw new $n();
|
|
799
799
|
if (h || p instanceof Promise)
|
|
800
800
|
h = (h ?? Promise.resolve()).then(async () => {
|
|
801
|
-
await p, l.issues.length !== f && (c || (c =
|
|
801
|
+
await p, l.issues.length !== f && (c || (c = kn(l, f)));
|
|
802
802
|
});
|
|
803
803
|
else {
|
|
804
804
|
if (l.issues.length === f)
|
|
805
805
|
continue;
|
|
806
|
-
c || (c =
|
|
806
|
+
c || (c = kn(l, f));
|
|
807
807
|
}
|
|
808
808
|
}
|
|
809
809
|
return h ? h.then(() => l) : l;
|
|
810
810
|
}, i = (l, s, u) => {
|
|
811
|
-
if (
|
|
811
|
+
if (kn(l))
|
|
812
812
|
return l.aborted = !0, l;
|
|
813
813
|
const c = a(s, r, u);
|
|
814
814
|
if (c instanceof Promise) {
|
|
815
815
|
if (u.async === !1)
|
|
816
|
-
throw new
|
|
816
|
+
throw new $n();
|
|
817
817
|
return c.then((h) => e._zod.parse(h, u));
|
|
818
818
|
}
|
|
819
819
|
return e._zod.parse(c, u);
|
|
@@ -828,13 +828,13 @@ const Dh = {
|
|
|
828
828
|
const u = e._zod.parse(l, s);
|
|
829
829
|
if (u instanceof Promise) {
|
|
830
830
|
if (s.async === !1)
|
|
831
|
-
throw new
|
|
831
|
+
throw new $n();
|
|
832
832
|
return u.then((c) => a(c, r, s));
|
|
833
833
|
}
|
|
834
834
|
return a(u, r, s);
|
|
835
835
|
};
|
|
836
836
|
}
|
|
837
|
-
|
|
837
|
+
de(e, "~standard", () => ({
|
|
838
838
|
validate: (a) => {
|
|
839
839
|
var i;
|
|
840
840
|
try {
|
|
@@ -865,10 +865,10 @@ const Dh = {
|
|
|
865
865
|
inst: e
|
|
866
866
|
}), r;
|
|
867
867
|
};
|
|
868
|
-
}),
|
|
868
|
+
}), Te = /* @__PURE__ */ E("$ZodStringFormat", (e, t) => {
|
|
869
869
|
so.init(e, t), hi.init(e, t);
|
|
870
870
|
}), Fh = /* @__PURE__ */ E("$ZodGUID", (e, t) => {
|
|
871
|
-
t.pattern ?? (t.pattern = lh),
|
|
871
|
+
t.pattern ?? (t.pattern = lh), Te.init(e, t);
|
|
872
872
|
}), Hh = /* @__PURE__ */ E("$ZodUUID", (e, t) => {
|
|
873
873
|
if (t.version) {
|
|
874
874
|
const r = {
|
|
@@ -886,11 +886,11 @@ const Dh = {
|
|
|
886
886
|
t.pattern ?? (t.pattern = Xi(r));
|
|
887
887
|
} else
|
|
888
888
|
t.pattern ?? (t.pattern = Xi());
|
|
889
|
-
|
|
889
|
+
Te.init(e, t);
|
|
890
890
|
}), Gh = /* @__PURE__ */ E("$ZodEmail", (e, t) => {
|
|
891
|
-
t.pattern ?? (t.pattern = sh),
|
|
891
|
+
t.pattern ?? (t.pattern = sh), Te.init(e, t);
|
|
892
892
|
}), jh = /* @__PURE__ */ E("$ZodURL", (e, t) => {
|
|
893
|
-
|
|
893
|
+
Te.init(e, t), e._zod.check = (n) => {
|
|
894
894
|
var r;
|
|
895
895
|
try {
|
|
896
896
|
const o = n.value.trim();
|
|
@@ -935,31 +935,31 @@ const Dh = {
|
|
|
935
935
|
}
|
|
936
936
|
};
|
|
937
937
|
}), Wh = /* @__PURE__ */ E("$ZodEmoji", (e, t) => {
|
|
938
|
-
t.pattern ?? (t.pattern = uh()),
|
|
938
|
+
t.pattern ?? (t.pattern = uh()), Te.init(e, t);
|
|
939
939
|
}), Uh = /* @__PURE__ */ E("$ZodNanoID", (e, t) => {
|
|
940
|
-
t.pattern ?? (t.pattern = ah),
|
|
940
|
+
t.pattern ?? (t.pattern = ah), Te.init(e, t);
|
|
941
941
|
}), Zh = /* @__PURE__ */ E("$ZodCUID", (e, t) => {
|
|
942
|
-
t.pattern ?? (t.pattern = eh),
|
|
942
|
+
t.pattern ?? (t.pattern = eh), Te.init(e, t);
|
|
943
943
|
}), qh = /* @__PURE__ */ E("$ZodCUID2", (e, t) => {
|
|
944
|
-
t.pattern ?? (t.pattern = th),
|
|
944
|
+
t.pattern ?? (t.pattern = th), Te.init(e, t);
|
|
945
945
|
}), Vh = /* @__PURE__ */ E("$ZodULID", (e, t) => {
|
|
946
|
-
t.pattern ?? (t.pattern = nh),
|
|
946
|
+
t.pattern ?? (t.pattern = nh), Te.init(e, t);
|
|
947
947
|
}), Yh = /* @__PURE__ */ E("$ZodXID", (e, t) => {
|
|
948
|
-
t.pattern ?? (t.pattern = rh),
|
|
948
|
+
t.pattern ?? (t.pattern = rh), Te.init(e, t);
|
|
949
949
|
}), Kh = /* @__PURE__ */ E("$ZodKSUID", (e, t) => {
|
|
950
|
-
t.pattern ?? (t.pattern = oh),
|
|
950
|
+
t.pattern ?? (t.pattern = oh), Te.init(e, t);
|
|
951
951
|
}), Jh = /* @__PURE__ */ E("$ZodISODateTime", (e, t) => {
|
|
952
|
-
t.pattern ?? (t.pattern = kh(t)),
|
|
952
|
+
t.pattern ?? (t.pattern = kh(t)), Te.init(e, t);
|
|
953
953
|
}), Xh = /* @__PURE__ */ E("$ZodISODate", (e, t) => {
|
|
954
|
-
t.pattern ?? (t.pattern = vh),
|
|
954
|
+
t.pattern ?? (t.pattern = vh), Te.init(e, t);
|
|
955
955
|
}), Qh = /* @__PURE__ */ E("$ZodISOTime", (e, t) => {
|
|
956
|
-
t.pattern ?? (t.pattern = xh(t)),
|
|
956
|
+
t.pattern ?? (t.pattern = xh(t)), Te.init(e, t);
|
|
957
957
|
}), ef = /* @__PURE__ */ E("$ZodISODuration", (e, t) => {
|
|
958
|
-
t.pattern ?? (t.pattern = ih),
|
|
958
|
+
t.pattern ?? (t.pattern = ih), Te.init(e, t);
|
|
959
959
|
}), tf = /* @__PURE__ */ E("$ZodIPv4", (e, t) => {
|
|
960
|
-
t.pattern ?? (t.pattern = dh),
|
|
960
|
+
t.pattern ?? (t.pattern = dh), Te.init(e, t), e._zod.bag.format = "ipv4";
|
|
961
961
|
}), nf = /* @__PURE__ */ E("$ZodIPv6", (e, t) => {
|
|
962
|
-
t.pattern ?? (t.pattern = hh),
|
|
962
|
+
t.pattern ?? (t.pattern = hh), Te.init(e, t), e._zod.bag.format = "ipv6", e._zod.check = (n) => {
|
|
963
963
|
try {
|
|
964
964
|
new URL(`http://[${n.value}]`);
|
|
965
965
|
} catch {
|
|
@@ -973,9 +973,9 @@ const Dh = {
|
|
|
973
973
|
}
|
|
974
974
|
};
|
|
975
975
|
}), rf = /* @__PURE__ */ E("$ZodCIDRv4", (e, t) => {
|
|
976
|
-
t.pattern ?? (t.pattern = fh),
|
|
976
|
+
t.pattern ?? (t.pattern = fh), Te.init(e, t);
|
|
977
977
|
}), of = /* @__PURE__ */ E("$ZodCIDRv6", (e, t) => {
|
|
978
|
-
t.pattern ?? (t.pattern = ph),
|
|
978
|
+
t.pattern ?? (t.pattern = ph), Te.init(e, t), e._zod.check = (n) => {
|
|
979
979
|
const r = n.value.split("/");
|
|
980
980
|
try {
|
|
981
981
|
if (r.length !== 2)
|
|
@@ -1012,7 +1012,7 @@ function pc(e) {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
}
|
|
1014
1014
|
const af = /* @__PURE__ */ E("$ZodBase64", (e, t) => {
|
|
1015
|
-
t.pattern ?? (t.pattern = gh),
|
|
1015
|
+
t.pattern ?? (t.pattern = gh), Te.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (n) => {
|
|
1016
1016
|
pc(n.value) || n.issues.push({
|
|
1017
1017
|
code: "invalid_format",
|
|
1018
1018
|
format: "base64",
|
|
@@ -1029,7 +1029,7 @@ function lf(e) {
|
|
|
1029
1029
|
return pc(n);
|
|
1030
1030
|
}
|
|
1031
1031
|
const sf = /* @__PURE__ */ E("$ZodBase64URL", (e, t) => {
|
|
1032
|
-
t.pattern ?? (t.pattern = lc),
|
|
1032
|
+
t.pattern ?? (t.pattern = lc), Te.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (n) => {
|
|
1033
1033
|
lf(n.value) || n.issues.push({
|
|
1034
1034
|
code: "invalid_format",
|
|
1035
1035
|
format: "base64url",
|
|
@@ -1039,7 +1039,7 @@ const sf = /* @__PURE__ */ E("$ZodBase64URL", (e, t) => {
|
|
|
1039
1039
|
});
|
|
1040
1040
|
};
|
|
1041
1041
|
}), cf = /* @__PURE__ */ E("$ZodE164", (e, t) => {
|
|
1042
|
-
t.pattern ?? (t.pattern = bh),
|
|
1042
|
+
t.pattern ?? (t.pattern = bh), Te.init(e, t);
|
|
1043
1043
|
});
|
|
1044
1044
|
function uf(e, t = null) {
|
|
1045
1045
|
try {
|
|
@@ -1056,7 +1056,7 @@ function uf(e, t = null) {
|
|
|
1056
1056
|
}
|
|
1057
1057
|
}
|
|
1058
1058
|
const df = /* @__PURE__ */ E("$ZodJWT", (e, t) => {
|
|
1059
|
-
|
|
1059
|
+
Te.init(e, t), e._zod.check = (n) => {
|
|
1060
1060
|
uf(n.value, t.alg) || n.issues.push({
|
|
1061
1061
|
code: "invalid_format",
|
|
1062
1062
|
format: "jwt",
|
|
@@ -1205,7 +1205,7 @@ const vf = /* @__PURE__ */ E("$ZodObject", (e, t) => {
|
|
|
1205
1205
|
});
|
|
1206
1206
|
}
|
|
1207
1207
|
const r = ao(() => mc(t));
|
|
1208
|
-
|
|
1208
|
+
de(e._zod, "propValues", () => {
|
|
1209
1209
|
const l = t.shape, s = {};
|
|
1210
1210
|
for (const u in l) {
|
|
1211
1211
|
const c = l[u]._zod;
|
|
@@ -1336,7 +1336,7 @@ function el(e, t, n, r) {
|
|
|
1336
1336
|
for (const a of e)
|
|
1337
1337
|
if (a.issues.length === 0)
|
|
1338
1338
|
return t.value = a.value, t;
|
|
1339
|
-
const o = e.filter((a) => !
|
|
1339
|
+
const o = e.filter((a) => !kn(a));
|
|
1340
1340
|
return o.length === 1 ? (t.value = o[0].value, o[0]) : (t.issues.push({
|
|
1341
1341
|
code: "invalid_union",
|
|
1342
1342
|
input: t.value,
|
|
@@ -1345,10 +1345,10 @@ function el(e, t, n, r) {
|
|
|
1345
1345
|
}), t);
|
|
1346
1346
|
}
|
|
1347
1347
|
const vc = /* @__PURE__ */ E("$ZodUnion", (e, t) => {
|
|
1348
|
-
_e.init(e, t),
|
|
1348
|
+
_e.init(e, t), de(e._zod, "optin", () => t.options.some((r) => r._zod.optin === "optional") ? "optional" : void 0), de(e._zod, "optout", () => t.options.some((r) => r._zod.optout === "optional") ? "optional" : void 0), de(e._zod, "values", () => {
|
|
1349
1349
|
if (t.options.every((r) => r._zod.values))
|
|
1350
1350
|
return new Set(t.options.flatMap((r) => Array.from(r._zod.values)));
|
|
1351
|
-
}),
|
|
1351
|
+
}), de(e._zod, "pattern", () => {
|
|
1352
1352
|
if (t.options.every((r) => r._zod.pattern)) {
|
|
1353
1353
|
const r = t.options.map((o) => o._zod.pattern);
|
|
1354
1354
|
return new RegExp(`^(${r.map((o) => si(o.source)).join("|")})$`);
|
|
@@ -1378,7 +1378,7 @@ const vc = /* @__PURE__ */ E("$ZodUnion", (e, t) => {
|
|
|
1378
1378
|
}), kf = /* @__PURE__ */ E("$ZodDiscriminatedUnion", (e, t) => {
|
|
1379
1379
|
t.inclusive = !1, vc.init(e, t);
|
|
1380
1380
|
const n = e._zod.parse;
|
|
1381
|
-
|
|
1381
|
+
de(e._zod, "propValues", () => {
|
|
1382
1382
|
const o = {};
|
|
1383
1383
|
for (const a of t.options) {
|
|
1384
1384
|
const i = a._zod.propValues;
|
|
@@ -1439,7 +1439,7 @@ function ca(e, t) {
|
|
|
1439
1439
|
return { valid: !0, data: e };
|
|
1440
1440
|
if (e instanceof Date && t instanceof Date && +e == +t)
|
|
1441
1441
|
return { valid: !0, data: e };
|
|
1442
|
-
if (
|
|
1442
|
+
if (An(e) && An(t)) {
|
|
1443
1443
|
const n = Object.keys(t), r = Object.keys(e).filter((a) => n.indexOf(a) !== -1), o = { ...e, ...t };
|
|
1444
1444
|
for (const a of r) {
|
|
1445
1445
|
const i = ca(e[a], t[a]);
|
|
@@ -1486,7 +1486,7 @@ function tl(e, t, n) {
|
|
|
1486
1486
|
else
|
|
1487
1487
|
e.issues.push(l);
|
|
1488
1488
|
const a = [...r].filter(([, l]) => l.l && l.r).map(([l]) => l);
|
|
1489
|
-
if (a.length && o && e.issues.push({ ...o, keys: a }),
|
|
1489
|
+
if (a.length && o && e.issues.push({ ...o, keys: a }), kn(e))
|
|
1490
1490
|
return e;
|
|
1491
1491
|
const i = ca(t.value, n.value);
|
|
1492
1492
|
if (!i.valid)
|
|
@@ -1573,7 +1573,7 @@ function ol(e, t, n, r, o) {
|
|
|
1573
1573
|
const $f = /* @__PURE__ */ E("$ZodRecord", (e, t) => {
|
|
1574
1574
|
_e.init(e, t), e._zod.parse = (n, r) => {
|
|
1575
1575
|
const o = n.value;
|
|
1576
|
-
if (!
|
|
1576
|
+
if (!An(o))
|
|
1577
1577
|
return n.issues.push({
|
|
1578
1578
|
expected: "record",
|
|
1579
1579
|
code: "invalid_type",
|
|
@@ -1651,7 +1651,7 @@ const $f = /* @__PURE__ */ E("$ZodRecord", (e, t) => {
|
|
|
1651
1651
|
}), _f = /* @__PURE__ */ E("$ZodEnum", (e, t) => {
|
|
1652
1652
|
_e.init(e, t);
|
|
1653
1653
|
const n = tc(t.entries), r = new Set(n);
|
|
1654
|
-
e._zod.values = r, e._zod.pattern = new RegExp(`^(${n.filter((o) => Nd.has(typeof o)).map((o) => typeof o == "string" ?
|
|
1654
|
+
e._zod.values = r, e._zod.pattern = new RegExp(`^(${n.filter((o) => Nd.has(typeof o)).map((o) => typeof o == "string" ? yn(o) : o.toString()).join("|")})$`), e._zod.parse = (o, a) => {
|
|
1655
1655
|
const i = o.value;
|
|
1656
1656
|
return r.has(i) || o.issues.push({
|
|
1657
1657
|
code: "invalid_value",
|
|
@@ -1664,7 +1664,7 @@ const $f = /* @__PURE__ */ E("$ZodRecord", (e, t) => {
|
|
|
1664
1664
|
if (_e.init(e, t), t.values.length === 0)
|
|
1665
1665
|
throw new Error("Cannot create literal schema with no valid values");
|
|
1666
1666
|
const n = new Set(t.values);
|
|
1667
|
-
e._zod.values = n, e._zod.pattern = new RegExp(`^(${t.values.map((r) => typeof r == "string" ?
|
|
1667
|
+
e._zod.values = n, e._zod.pattern = new RegExp(`^(${t.values.map((r) => typeof r == "string" ? yn(r) : r ? yn(r.toString()) : String(r)).join("|")})$`), e._zod.parse = (r, o) => {
|
|
1668
1668
|
const a = r.value;
|
|
1669
1669
|
return n.has(a) || r.issues.push({
|
|
1670
1670
|
code: "invalid_value",
|
|
@@ -1681,7 +1681,7 @@ const $f = /* @__PURE__ */ E("$ZodRecord", (e, t) => {
|
|
|
1681
1681
|
if (r.async)
|
|
1682
1682
|
return (o instanceof Promise ? o : Promise.resolve(o)).then((i) => (n.value = i, n.fallback = !0, n));
|
|
1683
1683
|
if (o instanceof Promise)
|
|
1684
|
-
throw new
|
|
1684
|
+
throw new $n();
|
|
1685
1685
|
return n.value = o, n.fallback = !0, n;
|
|
1686
1686
|
};
|
|
1687
1687
|
});
|
|
@@ -1689,7 +1689,7 @@ function al(e, t) {
|
|
|
1689
1689
|
return t === void 0 && (e.issues.length || e.fallback) ? { issues: [], value: void 0 } : e;
|
|
1690
1690
|
}
|
|
1691
1691
|
const xc = /* @__PURE__ */ E("$ZodOptional", (e, t) => {
|
|
1692
|
-
_e.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional",
|
|
1692
|
+
_e.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", de(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), de(e._zod, "pattern", () => {
|
|
1693
1693
|
const n = t.innerType._zod.pattern;
|
|
1694
1694
|
return n ? new RegExp(`^(${si(n.source)})?$`) : void 0;
|
|
1695
1695
|
}), e._zod.parse = (n, r) => {
|
|
@@ -1700,14 +1700,14 @@ const xc = /* @__PURE__ */ E("$ZodOptional", (e, t) => {
|
|
|
1700
1700
|
return n.value === void 0 ? n : t.innerType._zod.run(n, r);
|
|
1701
1701
|
};
|
|
1702
1702
|
}), yf = /* @__PURE__ */ E("$ZodExactOptional", (e, t) => {
|
|
1703
|
-
xc.init(e, t),
|
|
1703
|
+
xc.init(e, t), de(e._zod, "values", () => t.innerType._zod.values), de(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (n, r) => t.innerType._zod.run(n, r);
|
|
1704
1704
|
}), If = /* @__PURE__ */ E("$ZodNullable", (e, t) => {
|
|
1705
|
-
_e.init(e, t),
|
|
1705
|
+
_e.init(e, t), de(e._zod, "optin", () => t.innerType._zod.optin), de(e._zod, "optout", () => t.innerType._zod.optout), de(e._zod, "pattern", () => {
|
|
1706
1706
|
const n = t.innerType._zod.pattern;
|
|
1707
1707
|
return n ? new RegExp(`^(${si(n.source)}|null)$`) : void 0;
|
|
1708
|
-
}),
|
|
1708
|
+
}), de(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (n, r) => n.value === null ? n : t.innerType._zod.run(n, r);
|
|
1709
1709
|
}), Rf = /* @__PURE__ */ E("$ZodDefault", (e, t) => {
|
|
1710
|
-
_e.init(e, t), e._zod.optin = "optional",
|
|
1710
|
+
_e.init(e, t), e._zod.optin = "optional", de(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, r) => {
|
|
1711
1711
|
if (r.direction === "backward")
|
|
1712
1712
|
return t.innerType._zod.run(n, r);
|
|
1713
1713
|
if (n.value === void 0)
|
|
@@ -1720,9 +1720,9 @@ function il(e, t) {
|
|
|
1720
1720
|
return e.value === void 0 && (e.value = t.defaultValue), e;
|
|
1721
1721
|
}
|
|
1722
1722
|
const Tf = /* @__PURE__ */ E("$ZodPrefault", (e, t) => {
|
|
1723
|
-
_e.init(e, t), e._zod.optin = "optional",
|
|
1723
|
+
_e.init(e, t), e._zod.optin = "optional", de(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, r) => (r.direction === "backward" || n.value === void 0 && (n.value = t.defaultValue), t.innerType._zod.run(n, r));
|
|
1724
1724
|
}), Nf = /* @__PURE__ */ E("$ZodNonOptional", (e, t) => {
|
|
1725
|
-
_e.init(e, t),
|
|
1725
|
+
_e.init(e, t), de(e._zod, "values", () => {
|
|
1726
1726
|
const n = t.innerType._zod.values;
|
|
1727
1727
|
return n ? new Set([...n].filter((r) => r !== void 0)) : void 0;
|
|
1728
1728
|
}), e._zod.parse = (n, r) => {
|
|
@@ -1739,7 +1739,7 @@ function ll(e, t) {
|
|
|
1739
1739
|
}), e;
|
|
1740
1740
|
}
|
|
1741
1741
|
const Ef = /* @__PURE__ */ E("$ZodCatch", (e, t) => {
|
|
1742
|
-
_e.init(e, t), e._zod.optin = "optional",
|
|
1742
|
+
_e.init(e, t), e._zod.optin = "optional", de(e._zod, "optout", () => t.innerType._zod.optout), de(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, r) => {
|
|
1743
1743
|
if (r.direction === "backward")
|
|
1744
1744
|
return t.innerType._zod.run(n, r);
|
|
1745
1745
|
const o = t.innerType._zod.run(n, r);
|
|
@@ -1758,7 +1758,7 @@ const Ef = /* @__PURE__ */ E("$ZodCatch", (e, t) => {
|
|
|
1758
1758
|
}), n.issues = [], n.fallback = !0), n);
|
|
1759
1759
|
};
|
|
1760
1760
|
}), kc = /* @__PURE__ */ E("$ZodPipe", (e, t) => {
|
|
1761
|
-
_e.init(e, t),
|
|
1761
|
+
_e.init(e, t), de(e._zod, "values", () => t.in._zod.values), de(e._zod, "optin", () => t.in._zod.optin), de(e._zod, "optout", () => t.out._zod.optout), de(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (n, r) => {
|
|
1762
1762
|
if (r.direction === "backward") {
|
|
1763
1763
|
const a = t.out._zod.run(n, r);
|
|
1764
1764
|
return a instanceof Promise ? a.then((i) => pr(i, t.in, r)) : pr(a, t.in, r);
|
|
@@ -1773,10 +1773,10 @@ function pr(e, t, n) {
|
|
|
1773
1773
|
const Pf = /* @__PURE__ */ E("$ZodPreprocess", (e, t) => {
|
|
1774
1774
|
kc.init(e, t);
|
|
1775
1775
|
}), Mf = /* @__PURE__ */ E("$ZodReadonly", (e, t) => {
|
|
1776
|
-
_e.init(e, t),
|
|
1776
|
+
_e.init(e, t), de(e._zod, "propValues", () => t.innerType._zod.propValues), de(e._zod, "values", () => t.innerType._zod.values), de(e._zod, "optin", () => {
|
|
1777
1777
|
var n, r;
|
|
1778
1778
|
return (r = (n = t.innerType) == null ? void 0 : n._zod) == null ? void 0 : r.optin;
|
|
1779
|
-
}),
|
|
1779
|
+
}), de(e._zod, "optout", () => {
|
|
1780
1780
|
var n, r;
|
|
1781
1781
|
return (r = (n = t.innerType) == null ? void 0 : n._zod) == null ? void 0 : r.optout;
|
|
1782
1782
|
}), e._zod.parse = (n, r) => {
|
|
@@ -1790,19 +1790,19 @@ function sl(e) {
|
|
|
1790
1790
|
return e.value = Object.freeze(e.value), e;
|
|
1791
1791
|
}
|
|
1792
1792
|
const Of = /* @__PURE__ */ E("$ZodLazy", (e, t) => {
|
|
1793
|
-
_e.init(e, t),
|
|
1793
|
+
_e.init(e, t), de(e._zod, "innerType", () => {
|
|
1794
1794
|
const n = t;
|
|
1795
1795
|
return n._cachedInner || (n._cachedInner = t.getter()), n._cachedInner;
|
|
1796
|
-
}),
|
|
1796
|
+
}), de(e._zod, "pattern", () => {
|
|
1797
1797
|
var n, r;
|
|
1798
1798
|
return (r = (n = e._zod.innerType) == null ? void 0 : n._zod) == null ? void 0 : r.pattern;
|
|
1799
|
-
}),
|
|
1799
|
+
}), de(e._zod, "propValues", () => {
|
|
1800
1800
|
var n, r;
|
|
1801
1801
|
return (r = (n = e._zod.innerType) == null ? void 0 : n._zod) == null ? void 0 : r.propValues;
|
|
1802
|
-
}),
|
|
1802
|
+
}), de(e._zod, "optin", () => {
|
|
1803
1803
|
var n, r;
|
|
1804
1804
|
return ((r = (n = e._zod.innerType) == null ? void 0 : n._zod) == null ? void 0 : r.optin) ?? void 0;
|
|
1805
|
-
}),
|
|
1805
|
+
}), de(e._zod, "optout", () => {
|
|
1806
1806
|
var n, r;
|
|
1807
1807
|
return ((r = (n = e._zod.innerType) == null ? void 0 : n._zod) == null ? void 0 : r.optout) ?? void 0;
|
|
1808
1808
|
}), e._zod.parse = (n, r) => e._zod.innerType._zod.run(n, r);
|
|
@@ -2299,7 +2299,7 @@ function Sp(e, t) {
|
|
|
2299
2299
|
});
|
|
2300
2300
|
}
|
|
2301
2301
|
// @__NO_SIDE_EFFECTS__
|
|
2302
|
-
function
|
|
2302
|
+
function Nn(e) {
|
|
2303
2303
|
return new zh({
|
|
2304
2304
|
check: "overwrite",
|
|
2305
2305
|
tx: e
|
|
@@ -2307,23 +2307,23 @@ function Tn(e) {
|
|
|
2307
2307
|
}
|
|
2308
2308
|
// @__NO_SIDE_EFFECTS__
|
|
2309
2309
|
function $p(e) {
|
|
2310
|
-
return /* @__PURE__ */
|
|
2310
|
+
return /* @__PURE__ */ Nn((t) => t.normalize(e));
|
|
2311
2311
|
}
|
|
2312
2312
|
// @__NO_SIDE_EFFECTS__
|
|
2313
2313
|
function _p() {
|
|
2314
|
-
return /* @__PURE__ */
|
|
2314
|
+
return /* @__PURE__ */ Nn((e) => e.trim());
|
|
2315
2315
|
}
|
|
2316
2316
|
// @__NO_SIDE_EFFECTS__
|
|
2317
2317
|
function Cp() {
|
|
2318
|
-
return /* @__PURE__ */
|
|
2318
|
+
return /* @__PURE__ */ Nn((e) => e.toLowerCase());
|
|
2319
2319
|
}
|
|
2320
2320
|
// @__NO_SIDE_EFFECTS__
|
|
2321
2321
|
function Ap() {
|
|
2322
|
-
return /* @__PURE__ */
|
|
2322
|
+
return /* @__PURE__ */ Nn((e) => e.toUpperCase());
|
|
2323
2323
|
}
|
|
2324
2324
|
// @__NO_SIDE_EFFECTS__
|
|
2325
2325
|
function yp() {
|
|
2326
|
-
return /* @__PURE__ */
|
|
2326
|
+
return /* @__PURE__ */ Nn((e) => Rd(e));
|
|
2327
2327
|
}
|
|
2328
2328
|
// @__NO_SIDE_EFFECTS__
|
|
2329
2329
|
function Ip(e, t, n) {
|
|
@@ -2382,7 +2382,7 @@ function $c(e) {
|
|
|
2382
2382
|
external: (e == null ? void 0 : e.external) ?? void 0
|
|
2383
2383
|
};
|
|
2384
2384
|
}
|
|
2385
|
-
function
|
|
2385
|
+
function Ne(e, t, n = { path: [], schemaPath: [] }) {
|
|
2386
2386
|
var c, h;
|
|
2387
2387
|
var r;
|
|
2388
2388
|
const o = e._zod.def, a = t.seen.get(e);
|
|
@@ -2408,7 +2408,7 @@ function Te(e, t, n = { path: [], schemaPath: [] }) {
|
|
|
2408
2408
|
m(e, t, p, d);
|
|
2409
2409
|
}
|
|
2410
2410
|
const f = e._zod.parent;
|
|
2411
|
-
f && (i.ref || (i.ref = f),
|
|
2411
|
+
f && (i.ref || (i.ref = f), Ne(f, t, d), t.seen.get(f).isParent = !0);
|
|
2412
2412
|
}
|
|
2413
2413
|
const s = t.metadataRegistry.get(e);
|
|
2414
2414
|
return s && Object.assign(i.schema, s), t.io === "input" && nt(e) && (delete i.schema.examples, delete i.schema.default), t.io === "input" && "_prefault" in i.schema && ((r = i.schema).default ?? (r.default = i.schema._prefault)), delete i.schema._prefault, t.seen.get(e).schema;
|
|
@@ -2600,10 +2600,10 @@ function nt(e, t) {
|
|
|
2600
2600
|
}
|
|
2601
2601
|
const Ep = (e, t = {}) => (n) => {
|
|
2602
2602
|
const r = $c({ ...n, processors: t });
|
|
2603
|
-
return
|
|
2603
|
+
return Ne(e, r), _c(r, e), Cc(r, e);
|
|
2604
2604
|
}, Hr = (e, t, n = {}) => (r) => {
|
|
2605
2605
|
const { libraryOptions: o, target: a } = r ?? {}, i = $c({ ...o ?? {}, target: a, io: t, processors: n });
|
|
2606
|
-
return
|
|
2606
|
+
return Ne(e, i), _c(i, e), Cc(i, e);
|
|
2607
2607
|
}, Pp = {
|
|
2608
2608
|
guid: "uuid",
|
|
2609
2609
|
url: "uri",
|
|
@@ -2663,7 +2663,7 @@ const Ep = (e, t = {}) => (n) => {
|
|
|
2663
2663
|
throw new Error("Transforms cannot be represented in JSON Schema");
|
|
2664
2664
|
}, Wp = (e, t, n, r) => {
|
|
2665
2665
|
const o = n, a = e._zod.def, { minimum: i, maximum: l } = e._zod.bag;
|
|
2666
|
-
typeof i == "number" && (o.minItems = i), typeof l == "number" && (o.maxItems = l), o.type = "array", o.items =
|
|
2666
|
+
typeof i == "number" && (o.minItems = i), typeof l == "number" && (o.maxItems = l), o.type = "array", o.items = Ne(a.element, t, {
|
|
2667
2667
|
...r,
|
|
2668
2668
|
path: [...r.path, "items"]
|
|
2669
2669
|
});
|
|
@@ -2673,7 +2673,7 @@ const Ep = (e, t = {}) => (n) => {
|
|
|
2673
2673
|
o.type = "object", o.properties = {};
|
|
2674
2674
|
const i = a.shape;
|
|
2675
2675
|
for (const c in i)
|
|
2676
|
-
o.properties[c] =
|
|
2676
|
+
o.properties[c] = Ne(i[c], t, {
|
|
2677
2677
|
...r,
|
|
2678
2678
|
path: [...r.path, "properties", c]
|
|
2679
2679
|
});
|
|
@@ -2681,21 +2681,21 @@ const Ep = (e, t = {}) => (n) => {
|
|
|
2681
2681
|
const h = a.shape[c]._zod;
|
|
2682
2682
|
return t.io === "input" ? h.optin === void 0 : h.optout === void 0;
|
|
2683
2683
|
}));
|
|
2684
|
-
s.size > 0 && (o.required = Array.from(s)), ((u = a.catchall) == null ? void 0 : u._zod.def.type) === "never" ? o.additionalProperties = !1 : a.catchall ? a.catchall && (o.additionalProperties =
|
|
2684
|
+
s.size > 0 && (o.required = Array.from(s)), ((u = a.catchall) == null ? void 0 : u._zod.def.type) === "never" ? o.additionalProperties = !1 : a.catchall ? a.catchall && (o.additionalProperties = Ne(a.catchall, t, {
|
|
2685
2685
|
...r,
|
|
2686
2686
|
path: [...r.path, "additionalProperties"]
|
|
2687
2687
|
})) : t.io === "output" && (o.additionalProperties = !1);
|
|
2688
2688
|
}, Zp = (e, t, n, r) => {
|
|
2689
|
-
const o = e._zod.def, a = o.inclusive === !1, i = o.options.map((l, s) =>
|
|
2689
|
+
const o = e._zod.def, a = o.inclusive === !1, i = o.options.map((l, s) => Ne(l, t, {
|
|
2690
2690
|
...r,
|
|
2691
2691
|
path: [...r.path, a ? "oneOf" : "anyOf", s]
|
|
2692
2692
|
}));
|
|
2693
2693
|
a ? n.oneOf = i : n.anyOf = i;
|
|
2694
2694
|
}, qp = (e, t, n, r) => {
|
|
2695
|
-
const o = e._zod.def, a =
|
|
2695
|
+
const o = e._zod.def, a = Ne(o.left, t, {
|
|
2696
2696
|
...r,
|
|
2697
2697
|
path: [...r.path, "allOf", 0]
|
|
2698
|
-
}), i =
|
|
2698
|
+
}), i = Ne(o.right, t, {
|
|
2699
2699
|
...r,
|
|
2700
2700
|
path: [...r.path, "allOf", 1]
|
|
2701
2701
|
}), l = (u) => "allOf" in u && Object.keys(u).length === 1, s = [
|
|
@@ -2706,10 +2706,10 @@ const Ep = (e, t = {}) => (n) => {
|
|
|
2706
2706
|
}, Vp = (e, t, n, r) => {
|
|
2707
2707
|
const o = n, a = e._zod.def;
|
|
2708
2708
|
o.type = "array";
|
|
2709
|
-
const i = t.target === "draft-2020-12" ? "prefixItems" : "items", l = t.target === "draft-2020-12" || t.target === "openapi-3.0" ? "items" : "additionalItems", s = a.items.map((d, f) =>
|
|
2709
|
+
const i = t.target === "draft-2020-12" ? "prefixItems" : "items", l = t.target === "draft-2020-12" || t.target === "openapi-3.0" ? "items" : "additionalItems", s = a.items.map((d, f) => Ne(d, t, {
|
|
2710
2710
|
...r,
|
|
2711
2711
|
path: [...r.path, i, f]
|
|
2712
|
-
})), u = a.rest ?
|
|
2712
|
+
})), u = a.rest ? Ne(a.rest, t, {
|
|
2713
2713
|
...r,
|
|
2714
2714
|
path: [...r.path, l, ...t.target === "openapi-3.0" ? [a.items.length] : []]
|
|
2715
2715
|
}) : null;
|
|
@@ -2723,7 +2723,7 @@ const Ep = (e, t = {}) => (n) => {
|
|
|
2723
2723
|
o.type = "object";
|
|
2724
2724
|
const i = a.keyType, l = i._zod.bag, s = l == null ? void 0 : l.patterns;
|
|
2725
2725
|
if (a.mode === "loose" && s && s.size > 0) {
|
|
2726
|
-
const c =
|
|
2726
|
+
const c = Ne(a.valueType, t, {
|
|
2727
2727
|
...r,
|
|
2728
2728
|
path: [...r.path, "patternProperties", "*"]
|
|
2729
2729
|
});
|
|
@@ -2731,10 +2731,10 @@ const Ep = (e, t = {}) => (n) => {
|
|
|
2731
2731
|
for (const h of s)
|
|
2732
2732
|
o.patternProperties[h.source] = c;
|
|
2733
2733
|
} else
|
|
2734
|
-
(t.target === "draft-07" || t.target === "draft-2020-12") && (o.propertyNames =
|
|
2734
|
+
(t.target === "draft-07" || t.target === "draft-2020-12") && (o.propertyNames = Ne(a.keyType, t, {
|
|
2735
2735
|
...r,
|
|
2736
2736
|
path: [...r.path, "propertyNames"]
|
|
2737
|
-
})), o.additionalProperties =
|
|
2737
|
+
})), o.additionalProperties = Ne(a.valueType, t, {
|
|
2738
2738
|
...r,
|
|
2739
2739
|
path: [...r.path, "additionalProperties"]
|
|
2740
2740
|
});
|
|
@@ -2744,26 +2744,26 @@ const Ep = (e, t = {}) => (n) => {
|
|
|
2744
2744
|
c.length > 0 && (o.required = c);
|
|
2745
2745
|
}
|
|
2746
2746
|
}, Kp = (e, t, n, r) => {
|
|
2747
|
-
const o = e._zod.def, a =
|
|
2747
|
+
const o = e._zod.def, a = Ne(o.innerType, t, r), i = t.seen.get(e);
|
|
2748
2748
|
t.target === "openapi-3.0" ? (i.ref = o.innerType, n.nullable = !0) : n.anyOf = [a, { type: "null" }];
|
|
2749
2749
|
}, Jp = (e, t, n, r) => {
|
|
2750
2750
|
const o = e._zod.def;
|
|
2751
|
-
|
|
2751
|
+
Ne(o.innerType, t, r);
|
|
2752
2752
|
const a = t.seen.get(e);
|
|
2753
2753
|
a.ref = o.innerType;
|
|
2754
2754
|
}, Xp = (e, t, n, r) => {
|
|
2755
2755
|
const o = e._zod.def;
|
|
2756
|
-
|
|
2756
|
+
Ne(o.innerType, t, r);
|
|
2757
2757
|
const a = t.seen.get(e);
|
|
2758
2758
|
a.ref = o.innerType, n.default = JSON.parse(JSON.stringify(o.defaultValue));
|
|
2759
2759
|
}, Qp = (e, t, n, r) => {
|
|
2760
2760
|
const o = e._zod.def;
|
|
2761
|
-
|
|
2761
|
+
Ne(o.innerType, t, r);
|
|
2762
2762
|
const a = t.seen.get(e);
|
|
2763
2763
|
a.ref = o.innerType, t.io === "input" && (n._prefault = JSON.parse(JSON.stringify(o.defaultValue)));
|
|
2764
2764
|
}, eg = (e, t, n, r) => {
|
|
2765
2765
|
const o = e._zod.def;
|
|
2766
|
-
|
|
2766
|
+
Ne(o.innerType, t, r);
|
|
2767
2767
|
const a = t.seen.get(e);
|
|
2768
2768
|
a.ref = o.innerType;
|
|
2769
2769
|
let i;
|
|
@@ -2775,44 +2775,44 @@ const Ep = (e, t = {}) => (n) => {
|
|
|
2775
2775
|
n.default = i;
|
|
2776
2776
|
}, tg = (e, t, n, r) => {
|
|
2777
2777
|
const o = e._zod.def, a = o.in._zod.traits.has("$ZodTransform"), i = t.io === "input" ? a ? o.out : o.in : o.out;
|
|
2778
|
-
|
|
2778
|
+
Ne(i, t, r);
|
|
2779
2779
|
const l = t.seen.get(e);
|
|
2780
2780
|
l.ref = i;
|
|
2781
2781
|
}, ng = (e, t, n, r) => {
|
|
2782
2782
|
const o = e._zod.def;
|
|
2783
|
-
|
|
2783
|
+
Ne(o.innerType, t, r);
|
|
2784
2784
|
const a = t.seen.get(e);
|
|
2785
2785
|
a.ref = o.innerType, n.readOnly = !0;
|
|
2786
2786
|
}, Ac = (e, t, n, r) => {
|
|
2787
2787
|
const o = e._zod.def;
|
|
2788
|
-
|
|
2788
|
+
Ne(o.innerType, t, r);
|
|
2789
2789
|
const a = t.seen.get(e);
|
|
2790
2790
|
a.ref = o.innerType;
|
|
2791
2791
|
}, rg = (e, t, n, r) => {
|
|
2792
2792
|
const o = e._zod.innerType;
|
|
2793
|
-
|
|
2793
|
+
Ne(o, t, r);
|
|
2794
2794
|
const a = t.seen.get(e);
|
|
2795
2795
|
a.ref = o;
|
|
2796
2796
|
}, og = /* @__PURE__ */ E("ZodISODateTime", (e, t) => {
|
|
2797
|
-
Jh.init(e, t),
|
|
2797
|
+
Jh.init(e, t), Ee.init(e, t);
|
|
2798
2798
|
});
|
|
2799
2799
|
function ag(e) {
|
|
2800
2800
|
return /* @__PURE__ */ lp(og, e);
|
|
2801
2801
|
}
|
|
2802
2802
|
const ig = /* @__PURE__ */ E("ZodISODate", (e, t) => {
|
|
2803
|
-
Xh.init(e, t),
|
|
2803
|
+
Xh.init(e, t), Ee.init(e, t);
|
|
2804
2804
|
});
|
|
2805
2805
|
function lg(e) {
|
|
2806
2806
|
return /* @__PURE__ */ sp(ig, e);
|
|
2807
2807
|
}
|
|
2808
2808
|
const sg = /* @__PURE__ */ E("ZodISOTime", (e, t) => {
|
|
2809
|
-
Qh.init(e, t),
|
|
2809
|
+
Qh.init(e, t), Ee.init(e, t);
|
|
2810
2810
|
});
|
|
2811
2811
|
function cg(e) {
|
|
2812
2812
|
return /* @__PURE__ */ cp(sg, e);
|
|
2813
2813
|
}
|
|
2814
2814
|
const ug = /* @__PURE__ */ E("ZodISODuration", (e, t) => {
|
|
2815
|
-
ef.init(e, t),
|
|
2815
|
+
ef.init(e, t), Ee.init(e, t);
|
|
2816
2816
|
});
|
|
2817
2817
|
function dg(e) {
|
|
2818
2818
|
return /* @__PURE__ */ up(ug, e);
|
|
@@ -2880,7 +2880,7 @@ function ar(e, t, n) {
|
|
|
2880
2880
|
}
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
2883
|
-
const
|
|
2883
|
+
const ye = /* @__PURE__ */ E("ZodType", (e, t) => (_e.init(e, t), Object.assign(e["~standard"], {
|
|
2884
2884
|
jsonSchema: {
|
|
2885
2885
|
input: Hr(e, "input"),
|
|
2886
2886
|
output: Hr(e, "output")
|
|
@@ -2914,7 +2914,7 @@ const Ae = /* @__PURE__ */ E("ZodType", (e, t) => (_e.init(e, t), Object.assign(
|
|
|
2914
2914
|
return this.check(wm(n, r));
|
|
2915
2915
|
},
|
|
2916
2916
|
overwrite(n) {
|
|
2917
|
-
return this.check(/* @__PURE__ */
|
|
2917
|
+
return this.check(/* @__PURE__ */ Nn(n));
|
|
2918
2918
|
},
|
|
2919
2919
|
optional() {
|
|
2920
2920
|
return kl(this);
|
|
@@ -2932,7 +2932,7 @@ const Ae = /* @__PURE__ */ E("ZodType", (e, t) => (_e.init(e, t), Object.assign(
|
|
|
2932
2932
|
return dm(this, n);
|
|
2933
2933
|
},
|
|
2934
2934
|
array() {
|
|
2935
|
-
return
|
|
2935
|
+
return oe(this);
|
|
2936
2936
|
},
|
|
2937
2937
|
or(n) {
|
|
2938
2938
|
return H([this, n]);
|
|
@@ -2984,7 +2984,7 @@ const Ae = /* @__PURE__ */ E("ZodType", (e, t) => (_e.init(e, t), Object.assign(
|
|
|
2984
2984
|
},
|
|
2985
2985
|
configurable: !0
|
|
2986
2986
|
}), e)), yc = /* @__PURE__ */ E("_ZodString", (e, t) => {
|
|
2987
|
-
hi.init(e, t),
|
|
2987
|
+
hi.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (r, o, a) => Mp(e, r, o);
|
|
2988
2988
|
const n = e._zod.bag;
|
|
2989
2989
|
e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, ar(e, "_ZodString", {
|
|
2990
2990
|
regex(...r) {
|
|
@@ -3039,48 +3039,48 @@ const Ae = /* @__PURE__ */ E("ZodType", (e, t) => (_e.init(e, t), Object.assign(
|
|
|
3039
3039
|
function $(e) {
|
|
3040
3040
|
return /* @__PURE__ */ Df(Cg, e);
|
|
3041
3041
|
}
|
|
3042
|
-
const
|
|
3043
|
-
|
|
3042
|
+
const Ee = /* @__PURE__ */ E("ZodStringFormat", (e, t) => {
|
|
3043
|
+
Te.init(e, t), yc.init(e, t);
|
|
3044
3044
|
}), Ag = /* @__PURE__ */ E("ZodEmail", (e, t) => {
|
|
3045
|
-
Gh.init(e, t),
|
|
3045
|
+
Gh.init(e, t), Ee.init(e, t);
|
|
3046
3046
|
}), ml = /* @__PURE__ */ E("ZodGUID", (e, t) => {
|
|
3047
|
-
Fh.init(e, t),
|
|
3047
|
+
Fh.init(e, t), Ee.init(e, t);
|
|
3048
3048
|
}), gr = /* @__PURE__ */ E("ZodUUID", (e, t) => {
|
|
3049
|
-
Hh.init(e, t),
|
|
3049
|
+
Hh.init(e, t), Ee.init(e, t);
|
|
3050
3050
|
}), yg = /* @__PURE__ */ E("ZodURL", (e, t) => {
|
|
3051
|
-
jh.init(e, t),
|
|
3051
|
+
jh.init(e, t), Ee.init(e, t);
|
|
3052
3052
|
}), Ig = /* @__PURE__ */ E("ZodEmoji", (e, t) => {
|
|
3053
|
-
Wh.init(e, t),
|
|
3053
|
+
Wh.init(e, t), Ee.init(e, t);
|
|
3054
3054
|
}), Rg = /* @__PURE__ */ E("ZodNanoID", (e, t) => {
|
|
3055
|
-
Uh.init(e, t),
|
|
3055
|
+
Uh.init(e, t), Ee.init(e, t);
|
|
3056
3056
|
}), Tg = /* @__PURE__ */ E("ZodCUID", (e, t) => {
|
|
3057
|
-
Zh.init(e, t),
|
|
3057
|
+
Zh.init(e, t), Ee.init(e, t);
|
|
3058
3058
|
}), Ng = /* @__PURE__ */ E("ZodCUID2", (e, t) => {
|
|
3059
|
-
qh.init(e, t),
|
|
3059
|
+
qh.init(e, t), Ee.init(e, t);
|
|
3060
3060
|
}), Eg = /* @__PURE__ */ E("ZodULID", (e, t) => {
|
|
3061
|
-
Vh.init(e, t),
|
|
3061
|
+
Vh.init(e, t), Ee.init(e, t);
|
|
3062
3062
|
}), Pg = /* @__PURE__ */ E("ZodXID", (e, t) => {
|
|
3063
|
-
Yh.init(e, t),
|
|
3063
|
+
Yh.init(e, t), Ee.init(e, t);
|
|
3064
3064
|
}), Mg = /* @__PURE__ */ E("ZodKSUID", (e, t) => {
|
|
3065
|
-
Kh.init(e, t),
|
|
3065
|
+
Kh.init(e, t), Ee.init(e, t);
|
|
3066
3066
|
}), Og = /* @__PURE__ */ E("ZodIPv4", (e, t) => {
|
|
3067
|
-
tf.init(e, t),
|
|
3067
|
+
tf.init(e, t), Ee.init(e, t);
|
|
3068
3068
|
}), Lg = /* @__PURE__ */ E("ZodIPv6", (e, t) => {
|
|
3069
|
-
nf.init(e, t),
|
|
3069
|
+
nf.init(e, t), Ee.init(e, t);
|
|
3070
3070
|
}), zg = /* @__PURE__ */ E("ZodCIDRv4", (e, t) => {
|
|
3071
|
-
rf.init(e, t),
|
|
3071
|
+
rf.init(e, t), Ee.init(e, t);
|
|
3072
3072
|
}), Bg = /* @__PURE__ */ E("ZodCIDRv6", (e, t) => {
|
|
3073
|
-
of.init(e, t),
|
|
3073
|
+
of.init(e, t), Ee.init(e, t);
|
|
3074
3074
|
}), Dg = /* @__PURE__ */ E("ZodBase64", (e, t) => {
|
|
3075
|
-
af.init(e, t),
|
|
3075
|
+
af.init(e, t), Ee.init(e, t);
|
|
3076
3076
|
}), Fg = /* @__PURE__ */ E("ZodBase64URL", (e, t) => {
|
|
3077
|
-
sf.init(e, t),
|
|
3077
|
+
sf.init(e, t), Ee.init(e, t);
|
|
3078
3078
|
}), Hg = /* @__PURE__ */ E("ZodE164", (e, t) => {
|
|
3079
|
-
cf.init(e, t),
|
|
3079
|
+
cf.init(e, t), Ee.init(e, t);
|
|
3080
3080
|
}), Gg = /* @__PURE__ */ E("ZodJWT", (e, t) => {
|
|
3081
|
-
df.init(e, t),
|
|
3081
|
+
df.init(e, t), Ee.init(e, t);
|
|
3082
3082
|
}), Ic = /* @__PURE__ */ E("ZodNumber", (e, t) => {
|
|
3083
|
-
gc.init(e, t),
|
|
3083
|
+
gc.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (r, o, a) => Op(e, r, o), ar(e, "ZodNumber", {
|
|
3084
3084
|
gt(r, o) {
|
|
3085
3085
|
return this.check(/* @__PURE__ */ fl(r, o));
|
|
3086
3086
|
},
|
|
@@ -3140,31 +3140,31 @@ function bl(e) {
|
|
|
3140
3140
|
return /* @__PURE__ */ hp(jg, e);
|
|
3141
3141
|
}
|
|
3142
3142
|
const Wg = /* @__PURE__ */ E("ZodBoolean", (e, t) => {
|
|
3143
|
-
ff.init(e, t),
|
|
3143
|
+
ff.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Lp(e, n, r);
|
|
3144
3144
|
});
|
|
3145
3145
|
function z(e) {
|
|
3146
3146
|
return /* @__PURE__ */ fp(Wg, e);
|
|
3147
3147
|
}
|
|
3148
3148
|
const Ug = /* @__PURE__ */ E("ZodAny", (e, t) => {
|
|
3149
|
-
pf.init(e, t),
|
|
3149
|
+
pf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Bp();
|
|
3150
3150
|
});
|
|
3151
3151
|
function Qn() {
|
|
3152
3152
|
return /* @__PURE__ */ pp(Ug);
|
|
3153
3153
|
}
|
|
3154
3154
|
const Zg = /* @__PURE__ */ E("ZodUnknown", (e, t) => {
|
|
3155
|
-
gf.init(e, t),
|
|
3155
|
+
gf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Dp();
|
|
3156
3156
|
});
|
|
3157
3157
|
function vl() {
|
|
3158
3158
|
return /* @__PURE__ */ gp(Zg);
|
|
3159
3159
|
}
|
|
3160
3160
|
const qg = /* @__PURE__ */ E("ZodNever", (e, t) => {
|
|
3161
|
-
mf.init(e, t),
|
|
3161
|
+
mf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => zp(e, n, r);
|
|
3162
3162
|
});
|
|
3163
3163
|
function Vg(e) {
|
|
3164
3164
|
return /* @__PURE__ */ mp(qg, e);
|
|
3165
3165
|
}
|
|
3166
3166
|
const Yg = /* @__PURE__ */ E("ZodArray", (e, t) => {
|
|
3167
|
-
bf.init(e, t),
|
|
3167
|
+
bf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Wp(e, n, r, o), e.element = t.element, ar(e, "ZodArray", {
|
|
3168
3168
|
min(n, r) {
|
|
3169
3169
|
return this.check(/* @__PURE__ */ Fr(n, r));
|
|
3170
3170
|
},
|
|
@@ -3182,11 +3182,11 @@ const Yg = /* @__PURE__ */ E("ZodArray", (e, t) => {
|
|
|
3182
3182
|
}
|
|
3183
3183
|
});
|
|
3184
3184
|
});
|
|
3185
|
-
function
|
|
3185
|
+
function oe(e, t) {
|
|
3186
3186
|
return /* @__PURE__ */ Ip(Yg, e, t);
|
|
3187
3187
|
}
|
|
3188
3188
|
const Kg = /* @__PURE__ */ E("ZodObject", (e, t) => {
|
|
3189
|
-
xf.init(e, t),
|
|
3189
|
+
xf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Up(e, n, r, o), de(e, "shape", () => t.shape), ar(e, "ZodObject", {
|
|
3190
3190
|
keyof() {
|
|
3191
3191
|
return T(Object.keys(this._zod.def.shape));
|
|
3192
3192
|
},
|
|
@@ -3237,7 +3237,7 @@ function C(e, t) {
|
|
|
3237
3237
|
return new Kg(n);
|
|
3238
3238
|
}
|
|
3239
3239
|
const Rc = /* @__PURE__ */ E("ZodUnion", (e, t) => {
|
|
3240
|
-
vc.init(e, t),
|
|
3240
|
+
vc.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Zp(e, n, r, o), e.options = t.options;
|
|
3241
3241
|
});
|
|
3242
3242
|
function H(e, t) {
|
|
3243
3243
|
return new Rc({
|
|
@@ -3258,7 +3258,7 @@ function Xg(e, t, n) {
|
|
|
3258
3258
|
});
|
|
3259
3259
|
}
|
|
3260
3260
|
const Qg = /* @__PURE__ */ E("ZodIntersection", (e, t) => {
|
|
3261
|
-
wf.init(e, t),
|
|
3261
|
+
wf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => qp(e, n, r, o);
|
|
3262
3262
|
});
|
|
3263
3263
|
function em(e, t) {
|
|
3264
3264
|
return new Qg({
|
|
@@ -3268,7 +3268,7 @@ function em(e, t) {
|
|
|
3268
3268
|
});
|
|
3269
3269
|
}
|
|
3270
3270
|
const tm = /* @__PURE__ */ E("ZodTuple", (e, t) => {
|
|
3271
|
-
Sf.init(e, t),
|
|
3271
|
+
Sf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Vp(e, n, r, o), e.rest = (n) => e.clone({
|
|
3272
3272
|
...e._zod.def,
|
|
3273
3273
|
rest: n
|
|
3274
3274
|
});
|
|
@@ -3283,9 +3283,9 @@ function Tc(e, t, n) {
|
|
|
3283
3283
|
});
|
|
3284
3284
|
}
|
|
3285
3285
|
const xl = /* @__PURE__ */ E("ZodRecord", (e, t) => {
|
|
3286
|
-
$f.init(e, t),
|
|
3286
|
+
$f.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Yp(e, n, r, o), e.keyType = t.keyType, e.valueType = t.valueType;
|
|
3287
3287
|
});
|
|
3288
|
-
function
|
|
3288
|
+
function In(e, t, n) {
|
|
3289
3289
|
return !t || !t._zod ? new xl({
|
|
3290
3290
|
type: "record",
|
|
3291
3291
|
keyType: $(),
|
|
@@ -3299,7 +3299,7 @@ function yn(e, t, n) {
|
|
|
3299
3299
|
});
|
|
3300
3300
|
}
|
|
3301
3301
|
const ua = /* @__PURE__ */ E("ZodEnum", (e, t) => {
|
|
3302
|
-
_f.init(e, t),
|
|
3302
|
+
_f.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (r, o, a) => Fp(e, r, o), e.enum = t.entries, e.options = Object.values(t.entries);
|
|
3303
3303
|
const n = new Set(Object.keys(t.entries));
|
|
3304
3304
|
e.extract = (r, o) => {
|
|
3305
3305
|
const a = {};
|
|
@@ -3338,7 +3338,7 @@ function T(e, t) {
|
|
|
3338
3338
|
});
|
|
3339
3339
|
}
|
|
3340
3340
|
const nm = /* @__PURE__ */ E("ZodLiteral", (e, t) => {
|
|
3341
|
-
Cf.init(e, t),
|
|
3341
|
+
Cf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Hp(e, n, r), e.values = new Set(t.values), Object.defineProperty(e, "value", {
|
|
3342
3342
|
get() {
|
|
3343
3343
|
if (t.values.length > 1)
|
|
3344
3344
|
throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
|
|
@@ -3354,7 +3354,7 @@ function le(e, t) {
|
|
|
3354
3354
|
});
|
|
3355
3355
|
}
|
|
3356
3356
|
const rm = /* @__PURE__ */ E("ZodTransform", (e, t) => {
|
|
3357
|
-
Af.init(e, t),
|
|
3357
|
+
Af.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => jp(e, n), e._zod.parse = (n, r) => {
|
|
3358
3358
|
if (r.direction === "backward")
|
|
3359
3359
|
throw new ec(e.constructor.name);
|
|
3360
3360
|
n.addIssue = (a) => {
|
|
@@ -3376,7 +3376,7 @@ function Nc(e) {
|
|
|
3376
3376
|
});
|
|
3377
3377
|
}
|
|
3378
3378
|
const Ec = /* @__PURE__ */ E("ZodOptional", (e, t) => {
|
|
3379
|
-
xc.init(e, t),
|
|
3379
|
+
xc.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Ac(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
|
|
3380
3380
|
});
|
|
3381
3381
|
function kl(e) {
|
|
3382
3382
|
return new Ec({
|
|
@@ -3385,7 +3385,7 @@ function kl(e) {
|
|
|
3385
3385
|
});
|
|
3386
3386
|
}
|
|
3387
3387
|
const om = /* @__PURE__ */ E("ZodExactOptional", (e, t) => {
|
|
3388
|
-
yf.init(e, t),
|
|
3388
|
+
yf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Ac(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
|
|
3389
3389
|
});
|
|
3390
3390
|
function am(e) {
|
|
3391
3391
|
return new om({
|
|
@@ -3394,7 +3394,7 @@ function am(e) {
|
|
|
3394
3394
|
});
|
|
3395
3395
|
}
|
|
3396
3396
|
const im = /* @__PURE__ */ E("ZodNullable", (e, t) => {
|
|
3397
|
-
If.init(e, t),
|
|
3397
|
+
If.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Kp(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
|
|
3398
3398
|
});
|
|
3399
3399
|
function wl(e) {
|
|
3400
3400
|
return new im({
|
|
@@ -3403,7 +3403,7 @@ function wl(e) {
|
|
|
3403
3403
|
});
|
|
3404
3404
|
}
|
|
3405
3405
|
const lm = /* @__PURE__ */ E("ZodDefault", (e, t) => {
|
|
3406
|
-
Rf.init(e, t),
|
|
3406
|
+
Rf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Xp(e, n, r, o), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
|
|
3407
3407
|
});
|
|
3408
3408
|
function sm(e, t) {
|
|
3409
3409
|
return new lm({
|
|
@@ -3415,7 +3415,7 @@ function sm(e, t) {
|
|
|
3415
3415
|
});
|
|
3416
3416
|
}
|
|
3417
3417
|
const cm = /* @__PURE__ */ E("ZodPrefault", (e, t) => {
|
|
3418
|
-
Tf.init(e, t),
|
|
3418
|
+
Tf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Qp(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
|
|
3419
3419
|
});
|
|
3420
3420
|
function um(e, t) {
|
|
3421
3421
|
return new cm({
|
|
@@ -3427,7 +3427,7 @@ function um(e, t) {
|
|
|
3427
3427
|
});
|
|
3428
3428
|
}
|
|
3429
3429
|
const Pc = /* @__PURE__ */ E("ZodNonOptional", (e, t) => {
|
|
3430
|
-
Nf.init(e, t),
|
|
3430
|
+
Nf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Jp(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
|
|
3431
3431
|
});
|
|
3432
3432
|
function dm(e, t) {
|
|
3433
3433
|
return new Pc({
|
|
@@ -3437,7 +3437,7 @@ function dm(e, t) {
|
|
|
3437
3437
|
});
|
|
3438
3438
|
}
|
|
3439
3439
|
const hm = /* @__PURE__ */ E("ZodCatch", (e, t) => {
|
|
3440
|
-
Ef.init(e, t),
|
|
3440
|
+
Ef.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => eg(e, n, r, o), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
|
|
3441
3441
|
});
|
|
3442
3442
|
function fm(e, t) {
|
|
3443
3443
|
return new hm({
|
|
@@ -3447,7 +3447,7 @@ function fm(e, t) {
|
|
|
3447
3447
|
});
|
|
3448
3448
|
}
|
|
3449
3449
|
const Mc = /* @__PURE__ */ E("ZodPipe", (e, t) => {
|
|
3450
|
-
kc.init(e, t),
|
|
3450
|
+
kc.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => tg(e, n, r, o), e.in = t.in, e.out = t.out;
|
|
3451
3451
|
});
|
|
3452
3452
|
function Sl(e, t) {
|
|
3453
3453
|
return new Mc({
|
|
@@ -3460,7 +3460,7 @@ function Sl(e, t) {
|
|
|
3460
3460
|
const pm = /* @__PURE__ */ E("ZodPreprocess", (e, t) => {
|
|
3461
3461
|
Mc.init(e, t), Pf.init(e, t);
|
|
3462
3462
|
}), gm = /* @__PURE__ */ E("ZodReadonly", (e, t) => {
|
|
3463
|
-
Mf.init(e, t),
|
|
3463
|
+
Mf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => ng(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
|
|
3464
3464
|
});
|
|
3465
3465
|
function mm(e) {
|
|
3466
3466
|
return new gm({
|
|
@@ -3469,7 +3469,7 @@ function mm(e) {
|
|
|
3469
3469
|
});
|
|
3470
3470
|
}
|
|
3471
3471
|
const bm = /* @__PURE__ */ E("ZodLazy", (e, t) => {
|
|
3472
|
-
Of.init(e, t),
|
|
3472
|
+
Of.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => rg(e, n, r, o), e.unwrap = () => e._zod.def.getter();
|
|
3473
3473
|
});
|
|
3474
3474
|
function vm(e) {
|
|
3475
3475
|
return new bm({
|
|
@@ -3478,7 +3478,7 @@ function vm(e) {
|
|
|
3478
3478
|
});
|
|
3479
3479
|
}
|
|
3480
3480
|
const xm = /* @__PURE__ */ E("ZodCustom", (e, t) => {
|
|
3481
|
-
Lf.init(e, t),
|
|
3481
|
+
Lf.init(e, t), ye.init(e, t), e._zod.processJSONSchema = (n, r, o) => Gp(e, n);
|
|
3482
3482
|
});
|
|
3483
3483
|
function km(e, t = {}) {
|
|
3484
3484
|
return /* @__PURE__ */ Rp(xm, e, t);
|
|
@@ -3597,8 +3597,8 @@ function fi() {
|
|
|
3597
3597
|
return "desktop";
|
|
3598
3598
|
}
|
|
3599
3599
|
const Ve = 1024, Je = 640, yt = `@media (max-width: ${Ve}px)`, rt = `@media (max-width: ${Je}px)`, ln = `@media (min-width: ${Je + 1}px) and (max-width: ${Ve}px)`, Xe = C({
|
|
3600
|
-
tablet:
|
|
3601
|
-
mobile:
|
|
3600
|
+
tablet: In($(), Qn()).optional().nullable(),
|
|
3601
|
+
mobile: In($(), Qn()).optional().nullable()
|
|
3602
3602
|
}).optional().nullable();
|
|
3603
3603
|
function Ut(e) {
|
|
3604
3604
|
if (!e) return "";
|
|
@@ -3606,52 +3606,52 @@ function Ut(e) {
|
|
|
3606
3606
|
const n = /^#([0-9a-f])([0-9a-f])([0-9a-f])$/.exec(t);
|
|
3607
3607
|
return n && (t = `#${n[1]}${n[1]}${n[2]}${n[2]}${n[3]}${n[3]}`), t;
|
|
3608
3608
|
}
|
|
3609
|
-
const
|
|
3609
|
+
const re = (e, t = [], n) => ({
|
|
3610
3610
|
role: e,
|
|
3611
3611
|
seeds: t.map(Ut),
|
|
3612
3612
|
nullFallback: n
|
|
3613
3613
|
}), Gr = {
|
|
3614
|
-
pageText:
|
|
3615
|
-
containerFill:
|
|
3616
|
-
layoutText:
|
|
3617
|
-
canvas:
|
|
3618
|
-
closeIcon:
|
|
3619
|
-
brandingText:
|
|
3620
|
-
blockText:
|
|
3621
|
-
listText:
|
|
3622
|
-
link:
|
|
3623
|
-
codeBg:
|
|
3624
|
-
quoteBorder:
|
|
3625
|
-
divider:
|
|
3626
|
-
tableText:
|
|
3627
|
-
tableBorder:
|
|
3628
|
-
tableHeaderBg:
|
|
3629
|
-
tableHeaderText:
|
|
3630
|
-
tableStripe:
|
|
3631
|
-
track:
|
|
3632
|
-
trackText:
|
|
3633
|
-
timerText:
|
|
3634
|
-
timerLabel:
|
|
3635
|
-
timerTrack:
|
|
3636
|
-
breadcrumbText:
|
|
3637
|
-
menuText:
|
|
3638
|
-
menuSurface:
|
|
3639
|
-
carouselArrow:
|
|
3640
|
-
carouselArrowBg:
|
|
3641
|
-
carouselArrowBorder:
|
|
3642
|
-
carouselDot:
|
|
3643
|
-
carouselDotActive:
|
|
3644
|
-
paginationBg:
|
|
3645
|
-
paginationText:
|
|
3646
|
-
paginationBorder:
|
|
3647
|
-
surface:
|
|
3648
|
-
surfaceLiteral:
|
|
3649
|
-
bgAdaptive:
|
|
3650
|
-
buttonText:
|
|
3651
|
-
borderAdaptive:
|
|
3652
|
-
borderSubtle:
|
|
3653
|
-
surfaceAlt:
|
|
3654
|
-
tabsRing:
|
|
3614
|
+
pageText: re("text", [], "#262626"),
|
|
3615
|
+
containerFill: re("surface", [], "#ffffff"),
|
|
3616
|
+
layoutText: re("text", ["#262626", "#1f2937"], "#262626"),
|
|
3617
|
+
canvas: re("surface", ["#ffffff"]),
|
|
3618
|
+
closeIcon: re("text", ["#000000", "#262626"], "#262626"),
|
|
3619
|
+
brandingText: re("text-muted", [], "#8a8a8a"),
|
|
3620
|
+
blockText: re("text", ["#262626"]),
|
|
3621
|
+
listText: re("text"),
|
|
3622
|
+
link: re("link", [], "#2563eb"),
|
|
3623
|
+
codeBg: re("surface-alt", [], "#f3f4f6"),
|
|
3624
|
+
quoteBorder: re("text-muted", [], "#9ca3af"),
|
|
3625
|
+
divider: re("border", ["#cccccc", "#333333"], "#cccccc"),
|
|
3626
|
+
tableText: re("text", ["#262626"]),
|
|
3627
|
+
tableBorder: re("border", ["#e5e7eb"]),
|
|
3628
|
+
tableHeaderBg: re("surface-alt", ["#f3f4f6"]),
|
|
3629
|
+
tableHeaderText: re("text-strong", ["#111827"]),
|
|
3630
|
+
tableStripe: re("surface-alt", ["#f8f6f6"]),
|
|
3631
|
+
track: re("track", ["#e5e7eb"]),
|
|
3632
|
+
trackText: re("text", ["#262626"]),
|
|
3633
|
+
timerText: re("text", [], "#1f1f1f"),
|
|
3634
|
+
timerLabel: re("text-muted", [], "#6b7280"),
|
|
3635
|
+
timerTrack: re("track", [], "#e5e7eb"),
|
|
3636
|
+
breadcrumbText: re("text-muted", ["#595959"]),
|
|
3637
|
+
menuText: re("text", ["#000000"], "#000000"),
|
|
3638
|
+
menuSurface: re("surface", [], "#ffffff"),
|
|
3639
|
+
carouselArrow: re("text", [], "#262626"),
|
|
3640
|
+
carouselArrowBg: re("surface", [], "#ffffff"),
|
|
3641
|
+
carouselArrowBorder: re("border-subtle", [], "rgba(0,0,0,.12)"),
|
|
3642
|
+
carouselDot: re("track", [], "#d4d4d4"),
|
|
3643
|
+
carouselDotActive: re("text", [], "#262626"),
|
|
3644
|
+
paginationBg: re("surface", ["#ffffff"], "#ffffff"),
|
|
3645
|
+
paginationText: re("text", ["#262626"], "#262626"),
|
|
3646
|
+
paginationBorder: re("border-subtle", ["rgba(0,0,0,.12)"], "rgba(0,0,0,.12)"),
|
|
3647
|
+
surface: re("surface", [], "#ffffff"),
|
|
3648
|
+
surfaceLiteral: re("surface"),
|
|
3649
|
+
bgAdaptive: re("surface"),
|
|
3650
|
+
buttonText: re("text"),
|
|
3651
|
+
borderAdaptive: re("border"),
|
|
3652
|
+
borderSubtle: re("border-subtle", [], "rgba(0,0,0,.12)"),
|
|
3653
|
+
surfaceAlt: re("surface-alt"),
|
|
3654
|
+
tabsRing: re("border", [], "#d0d5dd")
|
|
3655
3655
|
}, zc = (e) => /gradient\(|url\(/i.test(e);
|
|
3656
3656
|
function jr(e) {
|
|
3657
3657
|
const t = Ut(e);
|
|
@@ -3787,7 +3787,7 @@ function B(e, t) {
|
|
|
3787
3787
|
return o ? `light-dark(${e},${o})` : e;
|
|
3788
3788
|
}
|
|
3789
3789
|
const Dm = /^(transparent|none|inherit|initial|unset|currentcolor)$/i;
|
|
3790
|
-
function
|
|
3790
|
+
function ue(e, t, n) {
|
|
3791
3791
|
const r = (e ?? "").trim();
|
|
3792
3792
|
if (n && !t && Gr[n].seeds.includes(Ut(r))) return {};
|
|
3793
3793
|
if (n && !t && Fc(r)) return {};
|
|
@@ -4127,20 +4127,20 @@ const ub = 4, Ft = (e) => ({
|
|
|
4127
4127
|
'"': """,
|
|
4128
4128
|
"'": "'"
|
|
4129
4129
|
};
|
|
4130
|
-
function
|
|
4130
|
+
function _n(e) {
|
|
4131
4131
|
return e.replace(hb, (t) => fb[t]);
|
|
4132
4132
|
}
|
|
4133
4133
|
function uo(e) {
|
|
4134
4134
|
return !e || e.indexOf("{{") === -1 ? e : e.replace(Zc, (t, n, r, o) => {
|
|
4135
4135
|
if (n) return n;
|
|
4136
|
-
const a =
|
|
4136
|
+
const a = _n(o);
|
|
4137
4137
|
return `<span ${er}="${a}">{{${o}}}</span>`;
|
|
4138
4138
|
});
|
|
4139
4139
|
}
|
|
4140
4140
|
function gi(e) {
|
|
4141
|
-
return !e || e.indexOf("{{") === -1 ? e :
|
|
4141
|
+
return !e || e.indexOf("{{") === -1 ? e : _n(e).replace(Zc, (t, n, r, o) => {
|
|
4142
4142
|
if (n) return n;
|
|
4143
|
-
const a =
|
|
4143
|
+
const a = _n(o);
|
|
4144
4144
|
return `<span ${er}="${a}">{{${o}}}</span>`;
|
|
4145
4145
|
});
|
|
4146
4146
|
}
|
|
@@ -4165,8 +4165,8 @@ function mb(e, t) {
|
|
|
4165
4165
|
}
|
|
4166
4166
|
const da = "data-ahd-date", qc = "data-ahd-date-format";
|
|
4167
4167
|
function ha(e, t) {
|
|
4168
|
-
const n =
|
|
4169
|
-
return `<span ${er}="${n}" ${da}="${o}" ${qc}="relative">${
|
|
4168
|
+
const n = _n(e), r = t ?? "", o = _n(r), a = Vc(r) || `{{${n}}}`;
|
|
4169
|
+
return `<span ${er}="${n}" ${da}="${o}" ${qc}="relative">${_n(a)}</span>`;
|
|
4170
4170
|
}
|
|
4171
4171
|
function Vc(e, t = /* @__PURE__ */ new Date()) {
|
|
4172
4172
|
if (!e) return "";
|
|
@@ -4375,7 +4375,7 @@ const Eb = C({
|
|
|
4375
4375
|
action: T(["link", "onNextStep", "onPrevStep", "onCloseStep", "goToStep", "postMessageEvent"]).optional().nullable(),
|
|
4376
4376
|
openInNewTab: z().optional().nullable(),
|
|
4377
4377
|
customAction: $().optional().nullable(),
|
|
4378
|
-
actionPayload:
|
|
4378
|
+
actionPayload: In($(), Qn()).optional().nullable(),
|
|
4379
4379
|
iconEnabled: z().optional().nullable(),
|
|
4380
4380
|
iconName: $().optional().nullable(),
|
|
4381
4381
|
iconUrl: $().optional().nullable(),
|
|
@@ -4416,7 +4416,7 @@ function Nl(e) {
|
|
|
4416
4416
|
return [12, 20];
|
|
4417
4417
|
}
|
|
4418
4418
|
}
|
|
4419
|
-
const
|
|
4419
|
+
const Pe = {
|
|
4420
4420
|
text: "",
|
|
4421
4421
|
url: "",
|
|
4422
4422
|
fullWidth: !1,
|
|
@@ -4441,25 +4441,25 @@ const Ee = {
|
|
|
4441
4441
|
postMessageEvent: ""
|
|
4442
4442
|
};
|
|
4443
4443
|
function Pb({ style: e, props: t }) {
|
|
4444
|
-
const r = `bh-${ni().replace(/:/g, "")}`, o = (t == null ? void 0 : t.text) ??
|
|
4444
|
+
const r = `bh-${ni().replace(/:/g, "")}`, o = (t == null ? void 0 : t.text) ?? Pe.text, a = typeof o == "string" && o.indexOf("{{") !== -1, i = (He, pt) => a ? /* @__PURE__ */ v(
|
|
4445
4445
|
"span",
|
|
4446
4446
|
{
|
|
4447
4447
|
style: He,
|
|
4448
4448
|
"data-action": pt,
|
|
4449
4449
|
dangerouslySetInnerHTML: { __html: gi(o) }
|
|
4450
4450
|
}
|
|
4451
|
-
) : /* @__PURE__ */ v("span", { style: He, "data-action": pt, children: o }), l = (t == null ? void 0 : t.url) ??
|
|
4451
|
+
) : /* @__PURE__ */ v("span", { style: He, "data-action": pt, children: o }), l = (t == null ? void 0 : t.url) ?? Pe.url, s = gb(l), u = typeof window > "u" && typeof s == "string" && s.indexOf("{{") !== -1, c = (t == null ? void 0 : t.fullWidth) ?? Pe.fullWidth, h = (t == null ? void 0 : t.widthType) ?? Pe.widthType, d = (t == null ? void 0 : t.width) ?? Pe.width, f = (t == null ? void 0 : t.widthUnit) ?? Pe.widthUnit, p = (t == null ? void 0 : t.widthTablet) ?? null, m = (t == null ? void 0 : t.widthMobile) ?? null, b = p ?? d, w = m ?? b, k = (t == null ? void 0 : t.widthTypeTablet) ?? h, S = (t == null ? void 0 : t.widthTypeMobile) ?? k, x = (t == null ? void 0 : t.size) ?? Pe.size, _ = (t == null ? void 0 : t.sizeTablet) ?? x, y = (t == null ? void 0 : t.sizeMobile) ?? _, A = h, I = d, R = (t == null ? void 0 : t.buttonTextColor) ?? Pe.buttonTextColor, N = (t == null ? void 0 : t.buttonBackground) ?? Pe.buttonBackground, M = Fc(N), P = !/gradient\(/i.test(R ?? "") && (M || Tm(N)), O = P ? B(R, "buttonText") : se(R), F = M ? B(N, "bgAdaptive") : se(N), G = P ? "currentColor" : O, j = (t == null ? void 0 : t.iconEnabled) ?? Pe.iconEnabled, U = (t == null ? void 0 : t.iconName) ?? Pe.iconName, Z = (t == null ? void 0 : t.iconAlignment) ?? Pe.iconAlignment, J = (t == null ? void 0 : t.iconUrl) ?? null, X = !!(j && (J || U)), q = (t == null ? void 0 : t.ariaLabel) ?? null, te = typeof o == "string" && o.trim().length > 0, $e = q && q.trim().length > 0 ? q : !te && j && U ? U : void 0, Ce = (t == null ? void 0 : t.action) ?? Pe.action, ve = (t == null ? void 0 : t.openInNewTab) ?? Pe.openInNewTab, ee = ((t == null ? void 0 : t.customAction) ?? Pe.customAction) || Ce, Y = (t == null ? void 0 : t.actionPayload) ?? Pe.actionPayload, K = (t == null ? void 0 : t.goToStep) ?? Pe.goToStep, D = (t == null ? void 0 : t.postMessageEvent) ?? Pe.postMessageEvent, V = Y || (ee === "goToStep" ? { goToStep: K || "" } : null) || (ee === "postMessageEvent" ? { postMessageEvent: D || "" } : null), pe = V ? JSON.stringify(V) : void 0, ke = (t == null ? void 0 : t.borderRadius) ?? Pe.borderRadius, ge = (t == null ? void 0 : t.borderWidth) ?? Pe.borderWidth, fe = (t == null ? void 0 : t.borderColor) ?? Pe.borderColor, Ae = se(fe), ae = (t == null ? void 0 : t.boxShadow) ?? Pe.boxShadow, Le = Nb(ae), je = (t == null ? void 0 : t.hoverBackground) ?? null, me = (t == null ? void 0 : t.hoverTextColor) ?? null, We = Nl(
|
|
4452
4452
|
x
|
|
4453
4453
|
), Ue = (He) => typeof He == "number" ? `${He}px` : `${He.topLeft}px ${He.topRight}px ${He.bottomRight}px ${He.bottomLeft}px`, Q = (He, pt) => {
|
|
4454
4454
|
if (typeof He == "number")
|
|
4455
4455
|
return `${Math.max(0, He - pt)}px`;
|
|
4456
|
-
const bo = Math.max(0, (He.topLeft || 0) - pt), vo = Math.max(0, (He.topRight || 0) - pt),
|
|
4457
|
-
return `${bo}px ${vo}px ${
|
|
4458
|
-
}, Fe =
|
|
4459
|
-
top: (
|
|
4460
|
-
right: (
|
|
4461
|
-
bottom: (
|
|
4462
|
-
left: (
|
|
4456
|
+
const bo = Math.max(0, (He.topLeft || 0) - pt), vo = Math.max(0, (He.topRight || 0) - pt), dn = Math.max(0, (He.bottomRight || 0) - pt), hn = Math.max(0, (He.bottomLeft || 0) - pt);
|
|
4457
|
+
return `${bo}px ${vo}px ${dn}px ${hn}px`;
|
|
4458
|
+
}, Fe = fe && (fe.includes("linear-gradient") || fe.includes("radial-gradient") || fe.includes("repeating-linear-gradient")), Be = ge && ((ge.top ?? 0) > 0 || (ge.right ?? 0) > 0 || (ge.bottom ?? 0) > 0 || (ge.left ?? 0) > 0), ie = {
|
|
4459
|
+
top: (ge == null ? void 0 : ge.top) ?? 0,
|
|
4460
|
+
right: (ge == null ? void 0 : ge.right) ?? 0,
|
|
4461
|
+
bottom: (ge == null ? void 0 : ge.bottom) ?? 0,
|
|
4462
|
+
left: (ge == null ? void 0 : ge.left) ?? 0
|
|
4463
4463
|
}, Ze = (() => {
|
|
4464
4464
|
if (c)
|
|
4465
4465
|
return "100%";
|
|
@@ -4472,18 +4472,18 @@ function Pb({ style: e, props: t }) {
|
|
|
4472
4472
|
default:
|
|
4473
4473
|
return "auto";
|
|
4474
4474
|
}
|
|
4475
|
-
})(), ot = (e == null ? void 0 : e.buttonTextAlign) ?? (e == null ? void 0 : e.textAlign) ?? "center", lt = ot === "center" ? "center" : ot === "right" ? "flex-end" : "flex-start", Bt = () => !
|
|
4475
|
+
})(), ot = (e == null ? void 0 : e.buttonTextAlign) ?? (e == null ? void 0 : e.textAlign) ?? "center", lt = ot === "center" ? "center" : ot === "right" ? "flex-end" : "flex-start", Bt = () => !fe || fe === "transparent" || !Be ? { border: "none" } : Fe ? {
|
|
4476
4476
|
borderTop: `${ie.top}px solid transparent`,
|
|
4477
4477
|
borderRight: `${ie.right}px solid transparent`,
|
|
4478
4478
|
borderBottom: `${ie.bottom}px solid transparent`,
|
|
4479
4479
|
borderLeft: `${ie.left}px solid transparent`,
|
|
4480
|
-
borderImage: `${
|
|
4480
|
+
borderImage: `${Ae} `,
|
|
4481
4481
|
borderRadius: "0px"
|
|
4482
4482
|
} : {
|
|
4483
|
-
borderTop: `${ie.top}px solid ${
|
|
4484
|
-
borderRight: `${ie.right}px solid ${
|
|
4485
|
-
borderBottom: `${ie.bottom}px solid ${
|
|
4486
|
-
borderLeft: `${ie.left}px solid ${
|
|
4483
|
+
borderTop: `${ie.top}px solid ${Ae}`,
|
|
4484
|
+
borderRight: `${ie.right}px solid ${Ae}`,
|
|
4485
|
+
borderBottom: `${ie.bottom}px solid ${Ae}`,
|
|
4486
|
+
borderLeft: `${ie.left}px solid ${Ae}`
|
|
4487
4487
|
}, Tt = N && (N.includes("linear-gradient") || N.includes("radial-gradient") || N.includes("repeating-linear-gradient")), Qe = R && (R.includes("linear-gradient") || R.includes("radial-gradient") || R.includes("repeating-linear-gradient")), Dt = (e == null ? void 0 : e.backgroundColor) && (e.backgroundColor.includes("linear-gradient") || e.backgroundColor.includes("radial-gradient") || e.backgroundColor.includes("repeating-linear-gradient")), wt = {
|
|
4488
4488
|
backgroundColor: Dt ? void 0 : (e == null ? void 0 : e.backgroundColor) ?? void 0,
|
|
4489
4489
|
backgroundImage: Dt ? (e == null ? void 0 : e.backgroundColor) ?? void 0 : void 0,
|
|
@@ -4503,28 +4503,28 @@ function Pb({ style: e, props: t }) {
|
|
|
4503
4503
|
color: O || void 0
|
|
4504
4504
|
},
|
|
4505
4505
|
textDecoration: (e == null ? void 0 : e.textDecoration) ?? "none"
|
|
4506
|
-
}, Nt = Tt ? void 0 : F,
|
|
4506
|
+
}, Nt = Tt ? void 0 : F, ne = Tt ? F : void 0, Re = (e == null ? void 0 : e.fontSize) ?? 16, Ye = `${Re}px`, tt = () => J ? /* @__PURE__ */ v(
|
|
4507
4507
|
"span",
|
|
4508
4508
|
{
|
|
4509
4509
|
"aria-hidden": "true",
|
|
4510
4510
|
style: db(
|
|
4511
|
-
|
|
4512
|
-
|
|
4511
|
+
J,
|
|
4512
|
+
Re,
|
|
4513
4513
|
Qe ? "currentColor" : G || "currentColor"
|
|
4514
4514
|
)
|
|
4515
4515
|
}
|
|
4516
4516
|
) : cb(U, {
|
|
4517
4517
|
strokeColor: Qe ? void 0 : G,
|
|
4518
|
-
fontSize:
|
|
4518
|
+
fontSize: Re
|
|
4519
4519
|
}), Kt = {
|
|
4520
4520
|
fontSize: Ye,
|
|
4521
4521
|
fontFamily: Co(e == null ? void 0 : e.fontFamily),
|
|
4522
4522
|
fontWeight: (e == null ? void 0 : e.fontWeight) ?? qn.REGULAR,
|
|
4523
4523
|
backgroundColor: Nt,
|
|
4524
|
-
backgroundImage:
|
|
4524
|
+
backgroundImage: ne,
|
|
4525
4525
|
borderRadius: Fe ? "0px" : Ue(ke),
|
|
4526
4526
|
...Yt,
|
|
4527
|
-
...Fe && Be ? {} :
|
|
4527
|
+
...Fe && Be ? {} : Le,
|
|
4528
4528
|
display: Ze === "100%" ? "block" : "inline-block",
|
|
4529
4529
|
width: Ze,
|
|
4530
4530
|
padding: `${We[0]}px ${We[1]}px`,
|
|
@@ -4532,17 +4532,17 @@ function Pb({ style: e, props: t }) {
|
|
|
4532
4532
|
boxSizing: "border-box",
|
|
4533
4533
|
justifyContent: lt,
|
|
4534
4534
|
lineHeight: "normal"
|
|
4535
|
-
},
|
|
4535
|
+
}, ce = Fe && Be ? /* @__PURE__ */ v(
|
|
4536
4536
|
"div",
|
|
4537
4537
|
{
|
|
4538
4538
|
style: {
|
|
4539
4539
|
display: Ze === "100%" ? "block" : "inline-block",
|
|
4540
4540
|
padding: `${ie.top}px ${ie.right}px ${ie.bottom}px ${ie.left}px`,
|
|
4541
|
-
background:
|
|
4541
|
+
background: Ae,
|
|
4542
4542
|
borderRadius: Ue(ke),
|
|
4543
4543
|
width: Ze,
|
|
4544
4544
|
boxSizing: "border-box",
|
|
4545
|
-
...
|
|
4545
|
+
...Le
|
|
4546
4546
|
},
|
|
4547
4547
|
children: /* @__PURE__ */ L(
|
|
4548
4548
|
"button",
|
|
@@ -4562,7 +4562,7 @@ function Pb({ style: e, props: t }) {
|
|
|
4562
4562
|
width: "100%",
|
|
4563
4563
|
fontWeight: (e == null ? void 0 : e.fontWeight) ?? qn.REGULAR,
|
|
4564
4564
|
fontFamily: Co(e == null ? void 0 : e.fontFamily),
|
|
4565
|
-
backgroundImage:
|
|
4565
|
+
backgroundImage: ne,
|
|
4566
4566
|
backgroundColor: Nt,
|
|
4567
4567
|
textAlign: ot,
|
|
4568
4568
|
textDecoration: "none",
|
|
@@ -4573,13 +4573,13 @@ function Pb({ style: e, props: t }) {
|
|
|
4573
4573
|
...vr(lt)
|
|
4574
4574
|
},
|
|
4575
4575
|
"data-action": ee,
|
|
4576
|
-
"data-action-payload":
|
|
4576
|
+
"data-action-payload": pe,
|
|
4577
4577
|
"data-goto-step": ee === "goToStep" && K ? K : void 0,
|
|
4578
4578
|
"data-post-message-event": ee === "postMessageEvent" && D ? D : void 0,
|
|
4579
4579
|
type: "button",
|
|
4580
4580
|
"aria-label": $e,
|
|
4581
4581
|
children: [
|
|
4582
|
-
|
|
4582
|
+
X && Z === "left" ? /* @__PURE__ */ v(
|
|
4583
4583
|
"span",
|
|
4584
4584
|
{
|
|
4585
4585
|
style: Ft("left"),
|
|
@@ -4588,7 +4588,7 @@ function Pb({ style: e, props: t }) {
|
|
|
4588
4588
|
}
|
|
4589
4589
|
) : null,
|
|
4590
4590
|
i({ ...et, pointerEvents: "none" }, ee),
|
|
4591
|
-
|
|
4591
|
+
X && Z === "right" ? /* @__PURE__ */ v(
|
|
4592
4592
|
"span",
|
|
4593
4593
|
{
|
|
4594
4594
|
style: Ft("right"),
|
|
@@ -4606,13 +4606,13 @@ function Pb({ style: e, props: t }) {
|
|
|
4606
4606
|
style: {
|
|
4607
4607
|
cursor: "pointer",
|
|
4608
4608
|
...Yt,
|
|
4609
|
-
...
|
|
4609
|
+
...Le,
|
|
4610
4610
|
borderRadius: Ue(ke),
|
|
4611
4611
|
width: Ze,
|
|
4612
4612
|
fontWeight: (e == null ? void 0 : e.fontWeight) ?? qn.REGULAR,
|
|
4613
4613
|
fontFamily: Co(e == null ? void 0 : e.fontFamily),
|
|
4614
4614
|
backgroundColor: Nt,
|
|
4615
|
-
backgroundImage:
|
|
4615
|
+
backgroundImage: ne,
|
|
4616
4616
|
textAlign: ot,
|
|
4617
4617
|
textDecoration: "none",
|
|
4618
4618
|
fontSize: Ye,
|
|
@@ -4622,13 +4622,13 @@ function Pb({ style: e, props: t }) {
|
|
|
4622
4622
|
...vr(lt)
|
|
4623
4623
|
},
|
|
4624
4624
|
"data-action": ee,
|
|
4625
|
-
"data-action-payload":
|
|
4625
|
+
"data-action-payload": pe,
|
|
4626
4626
|
"data-goto-step": ee === "goToStep" && K ? K : void 0,
|
|
4627
4627
|
"data-post-message-event": ee === "postMessageEvent" && D ? D : void 0,
|
|
4628
4628
|
type: "button",
|
|
4629
4629
|
"aria-label": $e,
|
|
4630
4630
|
children: [
|
|
4631
|
-
|
|
4631
|
+
X && Z === "left" ? /* @__PURE__ */ v(
|
|
4632
4632
|
"span",
|
|
4633
4633
|
{
|
|
4634
4634
|
style: Ft("left"),
|
|
@@ -4637,7 +4637,7 @@ function Pb({ style: e, props: t }) {
|
|
|
4637
4637
|
}
|
|
4638
4638
|
) : null,
|
|
4639
4639
|
i({ ...et, pointerEvents: "none" }, ee),
|
|
4640
|
-
|
|
4640
|
+
X && Z === "right" ? /* @__PURE__ */ v(
|
|
4641
4641
|
"span",
|
|
4642
4642
|
{
|
|
4643
4643
|
style: Ft("right"),
|
|
@@ -4647,23 +4647,23 @@ function Pb({ style: e, props: t }) {
|
|
|
4647
4647
|
) : null
|
|
4648
4648
|
]
|
|
4649
4649
|
}
|
|
4650
|
-
),
|
|
4651
|
-
je && (
|
|
4652
|
-
const Et =
|
|
4653
|
-
const
|
|
4654
|
-
|
|
4650
|
+
), be = !!je && (je.includes("linear-gradient") || je.includes("radial-gradient") || je.includes("repeating-linear-gradient")), at = !!me && (me.includes("linear-gradient") || me.includes("radial-gradient") || me.includes("repeating-linear-gradient")), st = [];
|
|
4651
|
+
je && (be ? st.push(`background-image: ${je} !important; background-color: transparent !important;`) : st.push(`background-color: ${je} !important; background-image: none !important;`)), me && !at && st.push(`color: ${me} !important;`);
|
|
4652
|
+
const Et = me ? at ? `background-image: ${me} !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important; color: transparent !important; display: inline-block;` : `background-image: none !important; color: ${me} !important; -webkit-text-fill-color: ${me} !important;` : "", Jt = st.length > 0 || Et ? `#${r} a:hover, #${r} button:hover { ${st.join(" ")} transition: background-color 150ms ease, background-image 150ms ease, color 150ms ease; } #${r} a:hover span, #${r} button:hover span { ${Et} }` : null, Ui = (He, pt, bo, vo) => {
|
|
4653
|
+
const dn = [], hn = c || pt === "fill" ? "100%" : pt === "fixed" ? `${bo}${f}` : "auto";
|
|
4654
|
+
dn.push(`width: ${hn} !important;`, "max-width: 100% !important;"), dn.push(`display: ${hn === "100%" ? "block" : "inline-block"} !important;`);
|
|
4655
4655
|
const [Vi, wd] = Nl(vo);
|
|
4656
|
-
return
|
|
4656
|
+
return dn.push(`padding: ${Vi}px ${wd}px !important;`), `${He} { #${r} a, #${r} button { ${dn.join(" ")} } #${r} > div { width: ${hn} !important; max-width: 100% !important; display: ${hn === "100%" ? "block" : "inline-block"} !important; } }`;
|
|
4657
4657
|
}, Zi = k !== h || _ !== x || k === "fixed" && b !== d, qi = S !== h || y !== x || S === "fixed" && w !== d, hr = Zi || qi ? [
|
|
4658
4658
|
Zi ? Ui(yt, k, b, _) : "",
|
|
4659
4659
|
qi ? Ui(rt, S, w, y) : ""
|
|
4660
4660
|
].filter(Boolean).join(`
|
|
4661
4661
|
`) : null;
|
|
4662
|
-
if (
|
|
4662
|
+
if (Ce !== "link")
|
|
4663
4663
|
return /* @__PURE__ */ L("div", { id: r, className: "button-block", style: wt, children: [
|
|
4664
4664
|
Jt && /* @__PURE__ */ v("style", { children: Jt }),
|
|
4665
4665
|
hr && /* @__PURE__ */ v("style", { children: hr }),
|
|
4666
|
-
|
|
4666
|
+
ce
|
|
4667
4667
|
] });
|
|
4668
4668
|
const kd = Fe && Be ? /* @__PURE__ */ v(
|
|
4669
4669
|
"div",
|
|
@@ -4671,11 +4671,11 @@ function Pb({ style: e, props: t }) {
|
|
|
4671
4671
|
style: {
|
|
4672
4672
|
display: Ze === "100%" ? "block" : "inline-block",
|
|
4673
4673
|
padding: `${ie.top}px ${ie.right}px ${ie.bottom}px ${ie.left}px`,
|
|
4674
|
-
background:
|
|
4674
|
+
background: Ae,
|
|
4675
4675
|
borderRadius: Ue(ke),
|
|
4676
4676
|
width: Ze,
|
|
4677
4677
|
boxSizing: "border-box",
|
|
4678
|
-
...
|
|
4678
|
+
...Le
|
|
4679
4679
|
},
|
|
4680
4680
|
children: /* @__PURE__ */ L(
|
|
4681
4681
|
"a",
|
|
@@ -4697,11 +4697,11 @@ function Pb({ style: e, props: t }) {
|
|
|
4697
4697
|
width: "100%",
|
|
4698
4698
|
...vr(lt)
|
|
4699
4699
|
},
|
|
4700
|
-
target:
|
|
4701
|
-
rel:
|
|
4700
|
+
target: ve ? "_blank" : void 0,
|
|
4701
|
+
rel: ve ? "noopener noreferrer" : void 0,
|
|
4702
4702
|
"aria-label": $e,
|
|
4703
4703
|
children: [
|
|
4704
|
-
|
|
4704
|
+
X && Z === "left" ? /* @__PURE__ */ v(
|
|
4705
4705
|
"span",
|
|
4706
4706
|
{
|
|
4707
4707
|
style: Ft("left"),
|
|
@@ -4709,7 +4709,7 @@ function Pb({ style: e, props: t }) {
|
|
|
4709
4709
|
}
|
|
4710
4710
|
) : null,
|
|
4711
4711
|
i({ ...et, pointerEvents: "none" }),
|
|
4712
|
-
|
|
4712
|
+
X && Z === "right" ? /* @__PURE__ */ v(
|
|
4713
4713
|
"span",
|
|
4714
4714
|
{
|
|
4715
4715
|
style: Ft("right"),
|
|
@@ -4730,11 +4730,11 @@ function Pb({ style: e, props: t }) {
|
|
|
4730
4730
|
borderRadius: Ue(ke),
|
|
4731
4731
|
...vr(lt)
|
|
4732
4732
|
},
|
|
4733
|
-
target:
|
|
4734
|
-
rel:
|
|
4733
|
+
target: ve ? "_blank" : void 0,
|
|
4734
|
+
rel: ve ? "noopener noreferrer" : void 0,
|
|
4735
4735
|
"aria-label": $e,
|
|
4736
4736
|
children: [
|
|
4737
|
-
|
|
4737
|
+
X && Z === "left" ? /* @__PURE__ */ v(
|
|
4738
4738
|
"span",
|
|
4739
4739
|
{
|
|
4740
4740
|
style: Ft("left"),
|
|
@@ -4742,7 +4742,7 @@ function Pb({ style: e, props: t }) {
|
|
|
4742
4742
|
}
|
|
4743
4743
|
) : null,
|
|
4744
4744
|
i({ ...et, pointerEvents: "none" }),
|
|
4745
|
-
|
|
4745
|
+
X && Z === "right" ? /* @__PURE__ */ v(
|
|
4746
4746
|
"span",
|
|
4747
4747
|
{
|
|
4748
4748
|
style: Ft("right"),
|
|
@@ -4789,7 +4789,7 @@ function jb({ style: e, props: t }) {
|
|
|
4789
4789
|
backgroundColor: B(e == null ? void 0 : e.backgroundColor, "bgAdaptive"),
|
|
4790
4790
|
"--ahd-divider-thickness": `${n}px`
|
|
4791
4791
|
};
|
|
4792
|
-
return /* @__PURE__ */ v("div", { className: "divider-block", ...
|
|
4792
|
+
return /* @__PURE__ */ v("div", { className: "divider-block", ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: o, children: /* @__PURE__ */ v(
|
|
4793
4793
|
"hr",
|
|
4794
4794
|
{
|
|
4795
4795
|
style: {
|
|
@@ -5009,7 +5009,7 @@ function t0({ props: e, style: t }) {
|
|
|
5009
5009
|
p ? /* @__PURE__ */ v("span", { style: y }) : null,
|
|
5010
5010
|
m ? /* @__PURE__ */ v("span", { style: A }) : null
|
|
5011
5011
|
] }) });
|
|
5012
|
-
return /* @__PURE__ */ v("div", { className: "heading-block-wrapper", ...
|
|
5012
|
+
return /* @__PURE__ */ v("div", { className: "heading-block-wrapper", ...ue(I, void 0, "bgAdaptive"), style: O, children: s ? /* @__PURE__ */ v(
|
|
5013
5013
|
"a",
|
|
5014
5014
|
{
|
|
5015
5015
|
href: i,
|
|
@@ -5043,10 +5043,10 @@ function Xc(e) {
|
|
|
5043
5043
|
function fa(e, t, n) {
|
|
5044
5044
|
return e.replace(t, n);
|
|
5045
5045
|
}
|
|
5046
|
-
function
|
|
5046
|
+
function Cn(e, t) {
|
|
5047
5047
|
return e.charCodeAt(t) | 0;
|
|
5048
5048
|
}
|
|
5049
|
-
function
|
|
5049
|
+
function Rn(e, t, n) {
|
|
5050
5050
|
return e.slice(t, n);
|
|
5051
5051
|
}
|
|
5052
5052
|
function At(e) {
|
|
@@ -5058,27 +5058,27 @@ function s0(e) {
|
|
|
5058
5058
|
function xr(e, t) {
|
|
5059
5059
|
return t.push(e), e;
|
|
5060
5060
|
}
|
|
5061
|
-
var ho = 1,
|
|
5061
|
+
var ho = 1, Tn = 1, Qc = 0, ct = 0, ze = 0, En = "";
|
|
5062
5062
|
function mi(e, t, n, r, o, a, i, l) {
|
|
5063
|
-
return { value: e, root: t, parent: n, type: r, props: o, children: a, line: ho, column:
|
|
5063
|
+
return { value: e, root: t, parent: n, type: r, props: o, children: a, line: ho, column: Tn, length: i, return: "", siblings: l };
|
|
5064
5064
|
}
|
|
5065
5065
|
function c0() {
|
|
5066
|
-
return
|
|
5066
|
+
return ze;
|
|
5067
5067
|
}
|
|
5068
5068
|
function u0() {
|
|
5069
|
-
return
|
|
5069
|
+
return ze = ct > 0 ? Cn(En, --ct) : 0, Tn--, ze === 10 && (Tn = 1, ho--), ze;
|
|
5070
5070
|
}
|
|
5071
5071
|
function xt() {
|
|
5072
|
-
return
|
|
5072
|
+
return ze = ct < Qc ? Cn(En, ct++) : 0, Tn++, ze === 10 && (Tn = 1, ho++), ze;
|
|
5073
5073
|
}
|
|
5074
5074
|
function Wt() {
|
|
5075
|
-
return
|
|
5075
|
+
return Cn(En, ct);
|
|
5076
5076
|
}
|
|
5077
5077
|
function Tr() {
|
|
5078
5078
|
return ct;
|
|
5079
5079
|
}
|
|
5080
5080
|
function fo(e, t) {
|
|
5081
|
-
return
|
|
5081
|
+
return Rn(En, e, t);
|
|
5082
5082
|
}
|
|
5083
5083
|
function tr(e) {
|
|
5084
5084
|
switch (e) {
|
|
@@ -5113,32 +5113,32 @@ function tr(e) {
|
|
|
5113
5113
|
return 0;
|
|
5114
5114
|
}
|
|
5115
5115
|
function d0(e) {
|
|
5116
|
-
return ho =
|
|
5116
|
+
return ho = Tn = 1, Qc = At(En = e), ct = 0, [];
|
|
5117
5117
|
}
|
|
5118
5118
|
function h0(e) {
|
|
5119
|
-
return
|
|
5119
|
+
return En = "", e;
|
|
5120
5120
|
}
|
|
5121
5121
|
function yo(e) {
|
|
5122
5122
|
return Xc(fo(ct - 1, pa(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
5123
5123
|
}
|
|
5124
5124
|
function f0(e) {
|
|
5125
|
-
for (; (
|
|
5125
|
+
for (; (ze = Wt()) && ze < 33; )
|
|
5126
5126
|
xt();
|
|
5127
|
-
return tr(e) > 2 || tr(
|
|
5127
|
+
return tr(e) > 2 || tr(ze) > 3 ? "" : " ";
|
|
5128
5128
|
}
|
|
5129
5129
|
function p0(e, t) {
|
|
5130
|
-
for (; --t && xt() && !(
|
|
5130
|
+
for (; --t && xt() && !(ze < 48 || ze > 102 || ze > 57 && ze < 65 || ze > 70 && ze < 97); )
|
|
5131
5131
|
;
|
|
5132
5132
|
return fo(e, Tr() + (t < 6 && Wt() == 32 && xt() == 32));
|
|
5133
5133
|
}
|
|
5134
5134
|
function pa(e) {
|
|
5135
5135
|
for (; xt(); )
|
|
5136
|
-
switch (
|
|
5136
|
+
switch (ze) {
|
|
5137
5137
|
case e:
|
|
5138
5138
|
return ct;
|
|
5139
5139
|
case 34:
|
|
5140
5140
|
case 39:
|
|
5141
|
-
e !== 34 && e !== 39 && pa(
|
|
5141
|
+
e !== 34 && e !== 39 && pa(ze);
|
|
5142
5142
|
break;
|
|
5143
5143
|
case 40:
|
|
5144
5144
|
e === 41 && pa(e);
|
|
@@ -5150,8 +5150,8 @@ function pa(e) {
|
|
|
5150
5150
|
return ct;
|
|
5151
5151
|
}
|
|
5152
5152
|
function g0(e, t) {
|
|
5153
|
-
for (; xt() && e +
|
|
5154
|
-
if (e +
|
|
5153
|
+
for (; xt() && e + ze !== 57; )
|
|
5154
|
+
if (e + ze === 84 && Wt() === 47)
|
|
5155
5155
|
break;
|
|
5156
5156
|
return "/*" + fo(t, ct - 1) + "*" + Vn(e === 47 ? e : xt());
|
|
5157
5157
|
}
|
|
@@ -5167,7 +5167,7 @@ function Nr(e, t, n, r, o, a, i, l, s) {
|
|
|
5167
5167
|
for (var u = 0, c = 0, h = i, d = 0, f = 0, p = 0, m = 1, b = 1, w = 1, k = 0, S = 0, x = "", _ = o, y = a, A = r, I = x; b; )
|
|
5168
5168
|
switch (p = S, S = xt()) {
|
|
5169
5169
|
case 40:
|
|
5170
|
-
p != 108 &&
|
|
5170
|
+
p != 108 && Cn(I, h - 1) == 58 ? (k++, I += "(") : I += yo(S);
|
|
5171
5171
|
break;
|
|
5172
5172
|
case 41:
|
|
5173
5173
|
k--, I += ")";
|
|
@@ -5194,7 +5194,7 @@ function Nr(e, t, n, r, o, a, i, l, s) {
|
|
|
5194
5194
|
switch (Wt()) {
|
|
5195
5195
|
case 42:
|
|
5196
5196
|
case 47:
|
|
5197
|
-
xr(v0(g0(xt(), Tr()), t, n, s), s), (tr(p || 1) == 5 || tr(Wt() || 1) == 5) && At(I) &&
|
|
5197
|
+
xr(v0(g0(xt(), Tr()), t, n, s), s), (tr(p || 1) == 5 || tr(Wt() || 1) == 5) && At(I) && Rn(I, -1, void 0) !== " " && (I += " ");
|
|
5198
5198
|
break;
|
|
5199
5199
|
default:
|
|
5200
5200
|
I += "/";
|
|
@@ -5225,9 +5225,9 @@ function Nr(e, t, n, r, o, a, i, l, s) {
|
|
|
5225
5225
|
else {
|
|
5226
5226
|
switch (d) {
|
|
5227
5227
|
case 99:
|
|
5228
|
-
if (
|
|
5228
|
+
if (Cn(I, 3) === 110) break;
|
|
5229
5229
|
case 108:
|
|
5230
|
-
if (
|
|
5230
|
+
if (Cn(I, 2) === 97) break;
|
|
5231
5231
|
default:
|
|
5232
5232
|
c = 0;
|
|
5233
5233
|
case 100:
|
|
@@ -5267,15 +5267,15 @@ function Nr(e, t, n, r, o, a, i, l, s) {
|
|
|
5267
5267
|
}
|
|
5268
5268
|
function Ml(e, t, n, r, o, a, i, l, s, u, c, h) {
|
|
5269
5269
|
for (var d = o - 1, f = o === 0 ? a : [""], p = s0(f), m = 0, b = 0, w = 0; m < r; ++m)
|
|
5270
|
-
for (var k = 0, S =
|
|
5270
|
+
for (var k = 0, S = Rn(e, d + 1, d = l0(b = i[m])), x = e; k < p; ++k)
|
|
5271
5271
|
(x = Xc(b > 0 ? f[k] + " " + S : fa(S, /&\f/g, f[k]))) && (s[w++] = x);
|
|
5272
5272
|
return mi(e, t, n, o === 0 ? Kc : l, s, u, c, h);
|
|
5273
5273
|
}
|
|
5274
5274
|
function v0(e, t, n, r) {
|
|
5275
|
-
return mi(e, t, n, Yc, Vn(c0()),
|
|
5275
|
+
return mi(e, t, n, Yc, Vn(c0()), Rn(e, 2, -2), 0, r);
|
|
5276
5276
|
}
|
|
5277
5277
|
function Ol(e, t, n, r, o) {
|
|
5278
|
-
return mi(e, t, n, Jc,
|
|
5278
|
+
return mi(e, t, n, Jc, Rn(e, 0, r), Rn(e, r + 1, -1), r, o);
|
|
5279
5279
|
}
|
|
5280
5280
|
function ga(e, t) {
|
|
5281
5281
|
for (var n = "", r = 0; r < e.length; r++)
|
|
@@ -5424,7 +5424,7 @@ function E0(e, t) {
|
|
|
5424
5424
|
return { markup: r, css: o };
|
|
5425
5425
|
}
|
|
5426
5426
|
function P0({ style: e, props: t }) {
|
|
5427
|
-
const n = t == null ? void 0 : t.contents, [r, o] = Cd(!1), i = `data-html-scope-${ni().replace(/[^a-zA-Z0-9-]/g, "")}`, { markup: l, css: s } =
|
|
5427
|
+
const n = t == null ? void 0 : t.contents, [r, o] = Cd(!1), i = `data-html-scope-${ni().replace(/[^a-zA-Z0-9-]/g, "")}`, { markup: l, css: s } = Me(
|
|
5428
5428
|
() => n ? E0(n, i) : { markup: "", css: "" },
|
|
5429
5429
|
[n, i]
|
|
5430
5430
|
), u = {
|
|
@@ -5452,14 +5452,14 @@ function P0({ style: e, props: t }) {
|
|
|
5452
5452
|
o(!1);
|
|
5453
5453
|
}, f = `[${i}] pre,[${i}] code{white-space:pre-wrap;word-break:break-all;overflow-x:auto;max-width:100%}`;
|
|
5454
5454
|
if (!n)
|
|
5455
|
-
return /* @__PURE__ */ v("div", { ref: c, className: "html-block", ...
|
|
5455
|
+
return /* @__PURE__ */ v("div", { ref: c, className: "html-block", ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: u, children: /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: f } }) });
|
|
5456
5456
|
const p = `<style>${f}${s}</style>${uo(l)}`;
|
|
5457
5457
|
return /* @__PURE__ */ v(
|
|
5458
5458
|
"div",
|
|
5459
5459
|
{
|
|
5460
5460
|
ref: c,
|
|
5461
5461
|
className: "html-block",
|
|
5462
|
-
...
|
|
5462
|
+
...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"),
|
|
5463
5463
|
style: u,
|
|
5464
5464
|
onClick: h,
|
|
5465
5465
|
onBlur: d,
|
|
@@ -5639,24 +5639,24 @@ function J0({ style: e, props: t }) {
|
|
|
5639
5639
|
justifyContent: a,
|
|
5640
5640
|
width: l > 0 ? `max(0px, calc(100% - ${l}px))` : "100%",
|
|
5641
5641
|
boxSizing: "border-box"
|
|
5642
|
-
}, u = (t == null ? void 0 : t.showLink) ?? (t != null && t.linkHref ? !0 : qe.showLink), c = (t == null ? void 0 : t.linkHref) ?? qe.linkHref, h = u && c ? c : null, d = (t == null ? void 0 : t.linkTarget) ?? qe.linkTarget, f = (t == null ? void 0 : t.widthType) ?? qe.widthType, p = (t == null ? void 0 : t.widthTypeTablet) ?? f, m = (t == null ? void 0 : t.widthTypeMobile) ?? p, b = (t == null ? void 0 : t.width) ?? qe.width, w = (t == null ? void 0 : t.widthUnit) ?? qe.widthUnit, k = (t == null ? void 0 : t.widthUnitTablet) ?? w, S = (t == null ? void 0 : t.widthUnitMobile) ?? k, x = (t == null ? void 0 : t.widthTablet) ?? null, _ = (t == null ? void 0 : t.widthMobile) ?? null, y = x ?? b, A = _ ?? y, I = (t == null ? void 0 : t.height) ?? qe.height, R = (t == null ? void 0 : t.heightTablet) ?? null, N = (t == null ? void 0 : t.heightMobile) ?? null, M = R ?? I, P = N ?? M, O = I, F = (t == null ? void 0 : t.url) ?? qe.url, G = (t == null ? void 0 : t.urlTablet) ?? null, j = (t == null ? void 0 : t.urlMobile) ?? null, U = !h && ((t == null ? void 0 : t.decorative) ?? qe.decorative), Z = U ? "" : (t == null ? void 0 : t.alt) ?? qe.alt,
|
|
5643
|
-
const
|
|
5644
|
-
return `rotate(${
|
|
5645
|
-
},
|
|
5646
|
-
${yt} { .${n} img, .${n} > div { transform: ${
|
|
5647
|
-
${rt} { .${n} img, .${n} > div { transform: ${
|
|
5648
|
-
`.trim() : null,
|
|
5642
|
+
}, u = (t == null ? void 0 : t.showLink) ?? (t != null && t.linkHref ? !0 : qe.showLink), c = (t == null ? void 0 : t.linkHref) ?? qe.linkHref, h = u && c ? c : null, d = (t == null ? void 0 : t.linkTarget) ?? qe.linkTarget, f = (t == null ? void 0 : t.widthType) ?? qe.widthType, p = (t == null ? void 0 : t.widthTypeTablet) ?? f, m = (t == null ? void 0 : t.widthTypeMobile) ?? p, b = (t == null ? void 0 : t.width) ?? qe.width, w = (t == null ? void 0 : t.widthUnit) ?? qe.widthUnit, k = (t == null ? void 0 : t.widthUnitTablet) ?? w, S = (t == null ? void 0 : t.widthUnitMobile) ?? k, x = (t == null ? void 0 : t.widthTablet) ?? null, _ = (t == null ? void 0 : t.widthMobile) ?? null, y = x ?? b, A = _ ?? y, I = (t == null ? void 0 : t.height) ?? qe.height, R = (t == null ? void 0 : t.heightTablet) ?? null, N = (t == null ? void 0 : t.heightMobile) ?? null, M = R ?? I, P = N ?? M, O = I, F = (t == null ? void 0 : t.url) ?? qe.url, G = (t == null ? void 0 : t.urlTablet) ?? null, j = (t == null ? void 0 : t.urlMobile) ?? null, U = !h && ((t == null ? void 0 : t.decorative) ?? qe.decorative), Z = U ? "" : (t == null ? void 0 : t.alt) ?? qe.alt, J = U ? { role: "presentation", "aria-hidden": !0 } : {}, X = (t == null ? void 0 : t.contentAlignment) ?? qe.contentAlignment, q = (t == null ? void 0 : t.borderRadius) ?? qe.borderRadius, te = se((t == null ? void 0 : t.borderColor) ?? qe.borderColor), $e = (t == null ? void 0 : t.borderWidth) ?? qe.borderWidth, Ce = (t == null ? void 0 : t.boxShadow) ?? qe.boxShadow, ve = W0(Ce), xe = (t == null ? void 0 : t.rotation) ?? qe.rotation, ee = (t == null ? void 0 : t.rotationTablet) ?? null, Y = (t == null ? void 0 : t.rotationMobile) ?? null, K = ee ?? xe, D = Y ?? K, V = (ne) => {
|
|
5643
|
+
const Re = ne * Math.PI / 180, Ye = ne % 180 !== 0 ? 1 / (Math.abs(Math.cos(Re)) + Math.abs(Math.sin(Re))) : 1;
|
|
5644
|
+
return `rotate(${ne}deg) scale(${Ye})`;
|
|
5645
|
+
}, pe = xe, ke = pe ? { transform: V(pe), transformOrigin: "center" } : {}, fe = ee != null || Y != null ? `
|
|
5646
|
+
${yt} { .${n} img, .${n} > div { transform: ${V(K)} !important; transform-origin: center !important; } }
|
|
5647
|
+
${rt} { .${n} img, .${n} > div { transform: ${V(D)} !important; transform-origin: center !important; } }
|
|
5648
|
+
`.trim() : null, Ae = V0(te, $e), ae = (ne) => typeof ne == "number" ? `${ne}px` : `${ne.topLeft}px ${ne.topRight}px ${ne.bottomRight}px ${ne.bottomLeft}px`, Le = (ne, Re) => {
|
|
5649
5649
|
const Ye = Math.max(
|
|
5650
|
-
(
|
|
5651
|
-
(
|
|
5652
|
-
(
|
|
5653
|
-
(
|
|
5650
|
+
(Re == null ? void 0 : Re.top) || 0,
|
|
5651
|
+
(Re == null ? void 0 : Re.right) || 0,
|
|
5652
|
+
(Re == null ? void 0 : Re.bottom) || 0,
|
|
5653
|
+
(Re == null ? void 0 : Re.left) || 0
|
|
5654
5654
|
);
|
|
5655
|
-
if (typeof
|
|
5656
|
-
return `${Math.max(0,
|
|
5657
|
-
const tt = Math.max(0, (
|
|
5658
|
-
return `${tt}px ${Kt}px ${
|
|
5659
|
-
},
|
|
5655
|
+
if (typeof ne == "number")
|
|
5656
|
+
return `${Math.max(0, ne - Ye)}px`;
|
|
5657
|
+
const tt = Math.max(0, (ne.topLeft || 0) - Ye), Kt = Math.max(0, (ne.topRight || 0) - Ye), ce = Math.max(0, (ne.bottomRight || 0) - Ye), be = Math.max(0, (ne.bottomLeft || 0) - Ye);
|
|
5658
|
+
return `${tt}px ${Kt}px ${ce}px ${be}px`;
|
|
5659
|
+
}, me = (() => {
|
|
5660
5660
|
switch (f) {
|
|
5661
5661
|
case "fill":
|
|
5662
5662
|
return "100%";
|
|
@@ -5666,11 +5666,11 @@ function J0({ style: e, props: t }) {
|
|
|
5666
5666
|
default:
|
|
5667
5667
|
return;
|
|
5668
5668
|
}
|
|
5669
|
-
})(), Ue = f === "fixed" && typeof b == "number" && b > 0 && b <= 48 && (w ?? "px") === "px" ? { filter: "var(--pp-icon-filter, none)" } : {}, Q = (
|
|
5670
|
-
const
|
|
5671
|
-
if (
|
|
5672
|
-
if (
|
|
5673
|
-
const Ye =
|
|
5669
|
+
})(), Ue = f === "fixed" && typeof b == "number" && b > 0 && b <= 48 && (w ?? "px") === "px" ? { filter: "var(--pp-icon-filter, none)" } : {}, Q = (ne) => ne === "mobile" ? m : ne === "tablet" ? p : f, Fe = (ne) => ne === "mobile" ? S : ne === "tablet" ? k : w, Be = (ne) => {
|
|
5670
|
+
const Re = Q(ne);
|
|
5671
|
+
if (Re === "fill") return "100%";
|
|
5672
|
+
if (Re === "fit") return "auto";
|
|
5673
|
+
const Ye = ne === "mobile" ? A : ne === "tablet" ? y : b, tt = Fe(ne);
|
|
5674
5674
|
return `${Ye}${tt}`;
|
|
5675
5675
|
}, ie = Be(r), Rt = Fe(r), Ze = typeof ie == "string" && ie.endsWith("%") ? { display: "block", width: "100%", textAlign: o ?? "left" } : {}, ot = F, Bt = (t == null ? void 0 : t.widthTypeTablet) != null || (t == null ? void 0 : t.widthTypeMobile) != null || f === "fixed" ? `
|
|
5676
5676
|
${yt} { .${n} img { width: ${Be("tablet")} !important; max-width: 100% !important; } }
|
|
@@ -5681,8 +5681,8 @@ function J0({ style: e, props: t }) {
|
|
|
5681
5681
|
`.trim() : null, Qe = (t == null ? void 0 : t.hoverEffect) ?? qe.hoverEffect, Dt = Qe != null && Qe.enabled ? `
|
|
5682
5682
|
.${n} picture { display: inline-block; transition: transform ${Qe.duration ?? 500}ms ${Qe.easing ?? "ease-in-out"}; }
|
|
5683
5683
|
.${n}:hover picture { transform: scale(${Qe.scale ?? 1.05}); }
|
|
5684
|
-
`.trim() : null, wt = [Bt, Tt,
|
|
5685
|
-
`) || null, Yt =
|
|
5684
|
+
`.trim() : null, wt = [Bt, Tt, fe, Dt].filter(Boolean).join(`
|
|
5685
|
+
`) || null, Yt = te && (te.includes("linear-gradient") || te.includes("radial-gradient") || te.includes("repeating-linear-gradient")), On = (j || G) && /* @__PURE__ */ L(De, { children: [
|
|
5686
5686
|
j && /* @__PURE__ */ v("source", { media: rt.replace("@media ", ""), srcSet: j }),
|
|
5687
5687
|
(G ?? j) && /* @__PURE__ */ v("source", { media: yt.replace("@media ", ""), srcSet: G ?? j ?? F })
|
|
5688
5688
|
] }), et = /* @__PURE__ */ L("picture", { style: Ze, children: [
|
|
@@ -5691,21 +5691,21 @@ function J0({ style: e, props: t }) {
|
|
|
5691
5691
|
"img",
|
|
5692
5692
|
{
|
|
5693
5693
|
alt: Z,
|
|
5694
|
-
...
|
|
5694
|
+
...J,
|
|
5695
5695
|
src: ot,
|
|
5696
|
-
width: typeof
|
|
5696
|
+
width: typeof me == "number" && Rt === "px" ? me : void 0,
|
|
5697
5697
|
height: O !== null ? O : void 0,
|
|
5698
5698
|
style: {
|
|
5699
|
-
width: ie ?? (
|
|
5699
|
+
width: ie ?? (me === "100%" ? "100%" : typeof me == "number" ? `${me}${Rt}` : "auto"),
|
|
5700
5700
|
height: O ? `${O}px` : "auto",
|
|
5701
5701
|
outline: "none",
|
|
5702
5702
|
border: "none",
|
|
5703
5703
|
textDecoration: "none",
|
|
5704
|
-
verticalAlign:
|
|
5704
|
+
verticalAlign: X,
|
|
5705
5705
|
display: f === "fill" ? "block" : "inline-block",
|
|
5706
5706
|
maxWidth: "100%",
|
|
5707
5707
|
boxSizing: "border-box",
|
|
5708
|
-
borderRadius:
|
|
5708
|
+
borderRadius: q ? ae(q) : void 0,
|
|
5709
5709
|
...Ue
|
|
5710
5710
|
}
|
|
5711
5711
|
}
|
|
@@ -5714,9 +5714,9 @@ function J0({ style: e, props: t }) {
|
|
|
5714
5714
|
"div",
|
|
5715
5715
|
{
|
|
5716
5716
|
style: {
|
|
5717
|
-
borderRadius:
|
|
5718
|
-
...
|
|
5719
|
-
...
|
|
5717
|
+
borderRadius: q ? ae(q) : void 0,
|
|
5718
|
+
...Ae,
|
|
5719
|
+
...ve,
|
|
5720
5720
|
...ke
|
|
5721
5721
|
},
|
|
5722
5722
|
children: /* @__PURE__ */ L("picture", { children: [
|
|
@@ -5725,9 +5725,9 @@ function J0({ style: e, props: t }) {
|
|
|
5725
5725
|
"img",
|
|
5726
5726
|
{
|
|
5727
5727
|
alt: Z,
|
|
5728
|
-
...
|
|
5728
|
+
...J,
|
|
5729
5729
|
src: ot,
|
|
5730
|
-
width: typeof
|
|
5730
|
+
width: typeof me == "number" && Rt === "px" ? me : void 0,
|
|
5731
5731
|
height: O !== null ? O : void 0,
|
|
5732
5732
|
style: {
|
|
5733
5733
|
width: "100%",
|
|
@@ -5735,34 +5735,34 @@ function J0({ style: e, props: t }) {
|
|
|
5735
5735
|
outline: "none",
|
|
5736
5736
|
border: "none",
|
|
5737
5737
|
textDecoration: "none",
|
|
5738
|
-
verticalAlign:
|
|
5738
|
+
verticalAlign: X,
|
|
5739
5739
|
display: "block",
|
|
5740
|
-
maxWidth: ie ?? (typeof
|
|
5740
|
+
maxWidth: ie ?? (typeof me == "number" ? `${me}${Rt}` : "auto"),
|
|
5741
5741
|
boxSizing: "border-box",
|
|
5742
|
-
borderRadius:
|
|
5742
|
+
borderRadius: q ? Le(q, $e) : void 0,
|
|
5743
5743
|
...Ue
|
|
5744
5744
|
}
|
|
5745
5745
|
}
|
|
5746
5746
|
)
|
|
5747
5747
|
] })
|
|
5748
5748
|
}
|
|
5749
|
-
) :
|
|
5749
|
+
) : te ? /* @__PURE__ */ v(
|
|
5750
5750
|
"div",
|
|
5751
5751
|
{
|
|
5752
5752
|
style: {
|
|
5753
|
-
borderRadius:
|
|
5754
|
-
...
|
|
5755
|
-
...
|
|
5753
|
+
borderRadius: q ? ae(q) : void 0,
|
|
5754
|
+
...Ae,
|
|
5755
|
+
...ve,
|
|
5756
5756
|
...ke
|
|
5757
5757
|
},
|
|
5758
5758
|
children: et
|
|
5759
5759
|
}
|
|
5760
|
-
) :
|
|
5760
|
+
) : ve.boxShadow ? /* @__PURE__ */ v(
|
|
5761
5761
|
"div",
|
|
5762
5762
|
{
|
|
5763
5763
|
style: {
|
|
5764
|
-
borderRadius:
|
|
5765
|
-
...
|
|
5764
|
+
borderRadius: q ? ae(q) : void 0,
|
|
5765
|
+
...ve,
|
|
5766
5766
|
...ke
|
|
5767
5767
|
},
|
|
5768
5768
|
children: et
|
|
@@ -5770,10 +5770,10 @@ function J0({ style: e, props: t }) {
|
|
|
5770
5770
|
) : Ge.cloneElement(et, {
|
|
5771
5771
|
children: Ge.Children.map(
|
|
5772
5772
|
et.props.children,
|
|
5773
|
-
(
|
|
5773
|
+
(ne) => (ne == null ? void 0 : ne.type) === "img" ? Ge.cloneElement(ne, { style: { ...ne.props.style, ...ke } }) : ne
|
|
5774
5774
|
)
|
|
5775
5775
|
});
|
|
5776
|
-
return h ? /* @__PURE__ */ L("div", { className: `image-block ${n}`, ...
|
|
5776
|
+
return h ? /* @__PURE__ */ L("div", { className: `image-block ${n}`, ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: s, children: [
|
|
5777
5777
|
wt && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: wt } }),
|
|
5778
5778
|
/* @__PURE__ */ v(
|
|
5779
5779
|
"a",
|
|
@@ -5785,12 +5785,12 @@ function J0({ style: e, props: t }) {
|
|
|
5785
5785
|
children: Nt
|
|
5786
5786
|
}
|
|
5787
5787
|
)
|
|
5788
|
-
] }) : /* @__PURE__ */ L("div", { className: `image-block ${n}`, ...
|
|
5788
|
+
] }) : /* @__PURE__ */ L("div", { className: `image-block ${n}`, ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: s, children: [
|
|
5789
5789
|
wt && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: wt } }),
|
|
5790
5790
|
Nt
|
|
5791
5791
|
] });
|
|
5792
5792
|
}
|
|
5793
|
-
const X0 = $().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), Q0 = $().regex(/^rgba?\([^\)]+\)$/i), ev = $().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i), tv = le("transparent"),
|
|
5793
|
+
const X0 = $().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), Q0 = $().regex(/^rgba?\([^\)]+\)$/i), ev = $().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i), tv = le("transparent"), xn = H([X0, Q0, ev, tv]).nullable().optional(), nv = C({
|
|
5794
5794
|
top: g(),
|
|
5795
5795
|
bottom: g(),
|
|
5796
5796
|
right: g(),
|
|
@@ -5826,7 +5826,7 @@ function cv(e, t) {
|
|
|
5826
5826
|
};
|
|
5827
5827
|
}
|
|
5828
5828
|
const Io = (e) => typeof e == "number" ? `${e}px` : `${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`, uv = C({
|
|
5829
|
-
color:
|
|
5829
|
+
color: xn,
|
|
5830
5830
|
offsetX: g().default(0),
|
|
5831
5831
|
offsetY: g().default(0),
|
|
5832
5832
|
blur: g().default(0),
|
|
@@ -5849,7 +5849,7 @@ const fv = C({
|
|
|
5849
5849
|
style: C({
|
|
5850
5850
|
padding: nv,
|
|
5851
5851
|
margin: rv,
|
|
5852
|
-
backgroundColor:
|
|
5852
|
+
backgroundColor: xn.default(null),
|
|
5853
5853
|
textAlign: T(["center", "left", "right"]).optional().nullable()
|
|
5854
5854
|
}).optional().nullable(),
|
|
5855
5855
|
props: C({
|
|
@@ -5872,15 +5872,15 @@ const fv = C({
|
|
|
5872
5872
|
/** Width on mobile (≤600px). Pixels. Falls back to `widthTablet`, then `width`. */
|
|
5873
5873
|
widthMobile: g().positive().optional().nullable(),
|
|
5874
5874
|
borderRadius: ov,
|
|
5875
|
-
borderColor:
|
|
5875
|
+
borderColor: xn.default(null),
|
|
5876
5876
|
borderWidth: av,
|
|
5877
5877
|
boxShadow: uv,
|
|
5878
5878
|
iconName: $().optional().nullable(),
|
|
5879
5879
|
iconNameTablet: $().optional().nullable(),
|
|
5880
5880
|
iconNameMobile: $().optional().nullable(),
|
|
5881
|
-
iconFillColor:
|
|
5882
|
-
iconFillColorTablet:
|
|
5883
|
-
iconFillColorMobile:
|
|
5881
|
+
iconFillColor: xn.default(null),
|
|
5882
|
+
iconFillColorTablet: xn.default(null),
|
|
5883
|
+
iconFillColorMobile: xn.default(null),
|
|
5884
5884
|
// See block-image's ImagePropsSchema.props.animation — same shape.
|
|
5885
5885
|
animation: C({
|
|
5886
5886
|
type: T([
|
|
@@ -5962,7 +5962,7 @@ function gv({ style: e, props: t }) {
|
|
|
5962
5962
|
children: P
|
|
5963
5963
|
}
|
|
5964
5964
|
) : P;
|
|
5965
|
-
return l ? /* @__PURE__ */ L("div", { className: `logo-block ${I}`, ...
|
|
5965
|
+
return l ? /* @__PURE__ */ L("div", { className: `logo-block ${I}`, ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: N, children: [
|
|
5966
5966
|
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: R } }),
|
|
5967
5967
|
/* @__PURE__ */ v(
|
|
5968
5968
|
"a",
|
|
@@ -5975,7 +5975,7 @@ function gv({ style: e, props: t }) {
|
|
|
5975
5975
|
children: O
|
|
5976
5976
|
}
|
|
5977
5977
|
)
|
|
5978
|
-
] }) : /* @__PURE__ */ L("div", { className: `logo-block ${I}`, ...
|
|
5978
|
+
] }) : /* @__PURE__ */ L("div", { className: `logo-block ${I}`, ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: N, children: [
|
|
5979
5979
|
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: R } }),
|
|
5980
5980
|
O
|
|
5981
5981
|
] });
|
|
@@ -6184,7 +6184,7 @@ function Pv({ style: e, props: t }) {
|
|
|
6184
6184
|
children: N
|
|
6185
6185
|
}
|
|
6186
6186
|
) : N;
|
|
6187
|
-
return w ? /* @__PURE__ */ L("div", { className: `video-block ${n}`, ...
|
|
6187
|
+
return w ? /* @__PURE__ */ L("div", { className: `video-block ${n}`, ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: o, children: [
|
|
6188
6188
|
b && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: b } }),
|
|
6189
6189
|
/* @__PURE__ */ v(
|
|
6190
6190
|
"a",
|
|
@@ -6196,7 +6196,7 @@ function Pv({ style: e, props: t }) {
|
|
|
6196
6196
|
children: M
|
|
6197
6197
|
}
|
|
6198
6198
|
)
|
|
6199
|
-
] }) : /* @__PURE__ */ L("div", { className: `video-block ${n}`, ...
|
|
6199
|
+
] }) : /* @__PURE__ */ L("div", { className: `video-block ${n}`, ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: o, children: [
|
|
6200
6200
|
b && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: b } }),
|
|
6201
6201
|
M
|
|
6202
6202
|
] });
|
|
@@ -6795,7 +6795,7 @@ function cx({ style: e, props: t }) {
|
|
|
6795
6795
|
}, u = r, c = Wc(
|
|
6796
6796
|
uo((t == null ? void 0 : t.text) ?? sx.text)
|
|
6797
6797
|
);
|
|
6798
|
-
return /* @__PURE__ */ L("div", { className: "text-block", ...
|
|
6798
|
+
return /* @__PURE__ */ L("div", { className: "text-block", ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: s, children: [
|
|
6799
6799
|
/* @__PURE__ */ v(
|
|
6800
6800
|
"style",
|
|
6801
6801
|
{
|
|
@@ -6873,7 +6873,7 @@ function mx({ style: e, props: t }) {
|
|
|
6873
6873
|
}
|
|
6874
6874
|
}
|
|
6875
6875
|
);
|
|
6876
|
-
return o ? /* @__PURE__ */ L("div", { className: `youtube-url-block ${n}`, ...
|
|
6876
|
+
return o ? /* @__PURE__ */ L("div", { className: `youtube-url-block ${n}`, ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: r, children: [
|
|
6877
6877
|
k && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: k } }),
|
|
6878
6878
|
/* @__PURE__ */ v(
|
|
6879
6879
|
"a",
|
|
@@ -6885,7 +6885,7 @@ function mx({ style: e, props: t }) {
|
|
|
6885
6885
|
children: S
|
|
6886
6886
|
}
|
|
6887
6887
|
)
|
|
6888
|
-
] }) : /* @__PURE__ */ L("div", { className: `youtube-url-block ${n}`, ...
|
|
6888
|
+
] }) : /* @__PURE__ */ L("div", { className: `youtube-url-block ${n}`, ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: r, children: [
|
|
6889
6889
|
k && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: k } }),
|
|
6890
6890
|
S
|
|
6891
6891
|
] });
|
|
@@ -7152,7 +7152,7 @@ function Vx({ style: e, columns: t, props: n }) {
|
|
|
7152
7152
|
margin: Ux(e == null ? void 0 : e.margin),
|
|
7153
7153
|
"--columns-gap": `${_}px`
|
|
7154
7154
|
};
|
|
7155
|
-
return /* @__PURE__ */ L("div", { className: `columns-container ${N}${R ? " is-stacked" : ""}`, ...
|
|
7155
|
+
return /* @__PURE__ */ L("div", { className: `columns-container ${N}${R ? " is-stacked" : ""}`, ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: P, children: [
|
|
7156
7156
|
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: M } }),
|
|
7157
7157
|
/* @__PURE__ */ v(
|
|
7158
7158
|
"table",
|
|
@@ -7222,9 +7222,9 @@ const Jx = ru.shape.props.unwrap().unwrap().shape, Xx = ru.shape.style.unwrap().
|
|
|
7222
7222
|
props: C({
|
|
7223
7223
|
...Jx,
|
|
7224
7224
|
columns: Tc([
|
|
7225
|
-
C({ childrenIds:
|
|
7226
|
-
C({ childrenIds:
|
|
7227
|
-
C({ childrenIds:
|
|
7225
|
+
C({ childrenIds: oe($()) }),
|
|
7226
|
+
C({ childrenIds: oe($()) }),
|
|
7227
|
+
C({ childrenIds: oe($()) })
|
|
7228
7228
|
])
|
|
7229
7229
|
}).optional().nullable()
|
|
7230
7230
|
});
|
|
@@ -7235,7 +7235,7 @@ function e1(e) {
|
|
|
7235
7235
|
function t1({ style: e, props: t }) {
|
|
7236
7236
|
const { columns: n, ...r } = t ?? {};
|
|
7237
7237
|
let o;
|
|
7238
|
-
n && (o = n.map((d) => d.childrenIds.map((f) => /* @__PURE__ */ v(
|
|
7238
|
+
n && (o = n.map((d) => d.childrenIds.map((f) => /* @__PURE__ */ v(Oe, { id: f }, f))));
|
|
7239
7239
|
const { borderRadius: a, borderColor: i, borderWidth: l, ...s } = e ?? {}, u = {};
|
|
7240
7240
|
if (a != null && (u.borderRadius = e1(a)), i) {
|
|
7241
7241
|
const d = l ?? { top: 1, right: 1, bottom: 1, left: 1 };
|
|
@@ -7280,15 +7280,15 @@ const n1 = C({
|
|
|
7280
7280
|
mobileLayout: T(["wrap", "row"]).optional().nullable(),
|
|
7281
7281
|
tabletLayout: T(["wrap", "row"]).optional().nullable(),
|
|
7282
7282
|
// per-column shrink-to-content flag — true = flex:0 0 auto (hug content), false/absent = flex:1 1 auto (fill space)
|
|
7283
|
-
columnShrink:
|
|
7284
|
-
columnShrinkTablet:
|
|
7285
|
-
columnShrinkMobile:
|
|
7283
|
+
columnShrink: oe(z()).optional().nullable(),
|
|
7284
|
+
columnShrinkTablet: oe(z()).optional().nullable(),
|
|
7285
|
+
columnShrinkMobile: oe(z()).optional().nullable(),
|
|
7286
7286
|
// per-column 12-grid span (1-12, like Bootstrap col-N). null/absent = no span (existing behaviour).
|
|
7287
|
-
columnSpan:
|
|
7288
|
-
columnSpanTablet:
|
|
7289
|
-
columnSpanMobile:
|
|
7287
|
+
columnSpan: oe(g().int().min(1).max(12).nullable()).optional().nullable(),
|
|
7288
|
+
columnSpanTablet: oe(g().int().min(1).max(12).nullable()).optional().nullable(),
|
|
7289
|
+
columnSpanMobile: oe(g().int().min(1).max(12).nullable()).optional().nullable(),
|
|
7290
7290
|
equalColumns: z().optional().nullable(),
|
|
7291
|
-
columns:
|
|
7291
|
+
columns: oe(C({ childrenIds: oe($()) })).optional().nullable(),
|
|
7292
7292
|
align: T(["flex-start", "center", "flex-end", "stretch"]).optional().nullable(),
|
|
7293
7293
|
// Horizontal distribution of the columns along the row. Only has a visible
|
|
7294
7294
|
// effect when the columns don't already fill the row — i.e. when some are
|
|
@@ -7429,9 +7429,9 @@ function c1({ style: e, props: t }) {
|
|
|
7429
7429
|
alignItems: r,
|
|
7430
7430
|
justifyContent: o
|
|
7431
7431
|
};
|
|
7432
|
-
return /* @__PURE__ */ L("div", { className: `flex-columns-block ${l}`, ...
|
|
7432
|
+
return /* @__PURE__ */ L("div", { className: `flex-columns-block ${l}`, ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: o1(e), "data-cols": n, children: [
|
|
7433
7433
|
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: s } }),
|
|
7434
|
-
/* @__PURE__ */ v("div", { className: "fc-row", style: u, children: i.map((c, h) => /* @__PURE__ */ v("div", { className: "fc-col", children: c.childrenIds.map((d) => /* @__PURE__ */ v(
|
|
7434
|
+
/* @__PURE__ */ v("div", { className: "fc-row", style: u, children: i.map((c, h) => /* @__PURE__ */ v("div", { className: "fc-col", children: c.childrenIds.map((d) => /* @__PURE__ */ v(Oe, { id: d }, d)) }, h)) })
|
|
7435
7435
|
] });
|
|
7436
7436
|
}
|
|
7437
7437
|
const u1 = $().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), d1 = $().regex(/^rgba?\([^\)]+\)$/i), h1 = $().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i), f1 = le("transparent"), p1 = H([u1, d1, h1, f1]).nullable().optional(), g1 = C({
|
|
@@ -7483,9 +7483,9 @@ const u1 = $().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), d1 =
|
|
|
7483
7483
|
style: x1,
|
|
7484
7484
|
props: C({
|
|
7485
7485
|
...v1,
|
|
7486
|
-
cells:
|
|
7486
|
+
cells: oe(
|
|
7487
7487
|
C({
|
|
7488
|
-
childrenIds:
|
|
7488
|
+
childrenIds: oe($()),
|
|
7489
7489
|
// Explicit CSS grid placement (1-based grid lines). Optional/nullable —
|
|
7490
7490
|
// when absent, the cell falls back to implicit row-major auto-placement
|
|
7491
7491
|
// (legacy behavior), so existing documents remain valid and unaffected.
|
|
@@ -7546,14 +7546,14 @@ function _1({ style: e, props: t }) {
|
|
|
7546
7546
|
@media (max-width: ${Je}px) { .${f} > .grid-block-inner { grid-template-columns: repeat(${o}, minmax(0, 1fr)); } }
|
|
7547
7547
|
${y}
|
|
7548
7548
|
`.trim(), I = () => ({ minWidth: 0, boxSizing: "border-box" });
|
|
7549
|
-
return /* @__PURE__ */ L("div", { className: `grid-block ${f}`, ...
|
|
7549
|
+
return /* @__PURE__ */ L("div", { className: `grid-block ${f}`, ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: S, children: [
|
|
7550
7550
|
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: A } }),
|
|
7551
7551
|
/* @__PURE__ */ v("div", { className: "grid-block-inner", style: _, children: p.map((R, N) => /* @__PURE__ */ v(
|
|
7552
7552
|
"div",
|
|
7553
7553
|
{
|
|
7554
7554
|
className: `grid-cell ${f}-cell-${N}`,
|
|
7555
7555
|
style: I(),
|
|
7556
|
-
children: R.childrenIds.map((M) => /* @__PURE__ */ v(
|
|
7556
|
+
children: R.childrenIds.map((M) => /* @__PURE__ */ v(Oe, { id: M }, M))
|
|
7557
7557
|
},
|
|
7558
7558
|
N
|
|
7559
7559
|
)) })
|
|
@@ -7682,7 +7682,7 @@ const W1 = C({
|
|
|
7682
7682
|
easing: T(["ease", "ease-in", "ease-out", "ease-in-out", "linear"]).optional().nullable()
|
|
7683
7683
|
}).optional().nullable()
|
|
7684
7684
|
}).optional().nullable()
|
|
7685
|
-
}),
|
|
7685
|
+
}), fn = {
|
|
7686
7686
|
fullWidth: !1,
|
|
7687
7687
|
widthType: "fill",
|
|
7688
7688
|
width: 300,
|
|
@@ -7696,57 +7696,57 @@ const W1 = C({
|
|
|
7696
7696
|
}
|
|
7697
7697
|
};
|
|
7698
7698
|
function U1({ style: e, props: t, children: n, blockId: r }) {
|
|
7699
|
-
const o = fi(), a = (t == null ? void 0 : t.fullWidth) ??
|
|
7699
|
+
const o = fi(), a = (t == null ? void 0 : t.fullWidth) ?? fn.fullWidth, i = (t == null ? void 0 : t.widthType) ?? fn.widthType, l = (t == null ? void 0 : t.widthTypeTablet) ?? null, s = (t == null ? void 0 : t.widthTypeMobile) ?? null, u = l ?? i, c = s ?? u, h = (t == null ? void 0 : t.width) ?? fn.width, d = (t == null ? void 0 : t.widthUnit) ?? fn.widthUnit, f = (t == null ? void 0 : t.widthTablet) ?? null, p = (t == null ? void 0 : t.widthMobile) ?? null, m = f ?? h, b = p ?? m, w = (t == null ? void 0 : t.height) ?? null, k = (t == null ? void 0 : t.heightTablet) ?? null, S = (t == null ? void 0 : t.heightMobile) ?? null, x = k === "auto" ? null : k ?? w, _ = S === "auto" ? null : S ?? (k === "auto" ? null : x), y = (t == null ? void 0 : t.overflow) === !0, A = (t == null ? void 0 : t.alignment) ?? fn.alignment, I = (t == null ? void 0 : t.alignmentTablet) ?? null, R = (t == null ? void 0 : t.alignmentMobile) ?? null, N = I ?? A, M = R ?? N, P = A, O = (t == null ? void 0 : t.ariaLabel) ?? void 0, F = (t == null ? void 0 : t.elementId) ?? void 0, G = !!(t != null && t.showLink), j = (t == null ? void 0 : t.linkHref) ?? null, U = typeof j == "string" ? j.trim() : j, Z = G && typeof U == "string" && U.length > 0, J = (t == null ? void 0 : t.linkTarget) ?? "_blank", X = Z ? "a" : (t == null ? void 0 : t.tag) ?? "div", q = Z ? {
|
|
7700
7700
|
href: U,
|
|
7701
|
-
target:
|
|
7702
|
-
...
|
|
7701
|
+
target: J,
|
|
7702
|
+
...J === "_blank" ? { rel: "noopener noreferrer" } : {},
|
|
7703
7703
|
style: { textDecoration: "none", color: "inherit", display: "block" }
|
|
7704
|
-
} : {},
|
|
7704
|
+
} : {}, te = (ce, be, at = !1) => {
|
|
7705
7705
|
if (at && a) return "100%";
|
|
7706
|
-
switch (
|
|
7706
|
+
switch (ce) {
|
|
7707
7707
|
case "fill":
|
|
7708
7708
|
return "100%";
|
|
7709
7709
|
case "fixed":
|
|
7710
|
-
return `${
|
|
7710
|
+
return `${be}${d}`;
|
|
7711
7711
|
case "fit":
|
|
7712
7712
|
default:
|
|
7713
7713
|
return "auto";
|
|
7714
7714
|
}
|
|
7715
|
-
}, $e = (
|
|
7716
|
-
const st = (
|
|
7715
|
+
}, $e = (ce) => ((ce == null ? void 0 : ce.left) ?? 0) + ((ce == null ? void 0 : ce.right) ?? 0), Ce = (ce, be, at) => {
|
|
7716
|
+
const st = (be == null ? void 0 : be.top) ?? 0, Et = (be == null ? void 0 : be.bottom) ?? 0;
|
|
7717
7717
|
if (at)
|
|
7718
|
-
return { marginTop: st, marginBottom: Et, marginLeft: (
|
|
7719
|
-
switch (
|
|
7718
|
+
return { marginTop: st, marginBottom: Et, marginLeft: (be == null ? void 0 : be.left) ?? 0, marginRight: (be == null ? void 0 : be.right) ?? 0 };
|
|
7719
|
+
switch (ce) {
|
|
7720
7720
|
case "center":
|
|
7721
7721
|
return { marginTop: st, marginBottom: Et, marginLeft: "auto", marginRight: "auto" };
|
|
7722
7722
|
case "right":
|
|
7723
|
-
return { marginTop: st, marginBottom: Et, marginLeft: "auto", marginRight: (
|
|
7723
|
+
return { marginTop: st, marginBottom: Et, marginLeft: "auto", marginRight: (be == null ? void 0 : be.right) ?? 0 };
|
|
7724
7724
|
case "left":
|
|
7725
7725
|
default:
|
|
7726
|
-
return { marginTop: st, marginBottom: Et, marginLeft: (
|
|
7726
|
+
return { marginTop: st, marginBottom: Et, marginLeft: (be == null ? void 0 : be.left) ?? 0, marginRight: "auto" };
|
|
7727
7727
|
}
|
|
7728
|
-
},
|
|
7729
|
-
const at = $e(
|
|
7730
|
-
return at <= 0 ?
|
|
7731
|
-
},
|
|
7732
|
-
|
|
7728
|
+
}, ve = (ce, be) => {
|
|
7729
|
+
const at = $e(be);
|
|
7730
|
+
return at <= 0 ? ce : ce === "100%" ? `calc(100% - ${at}px)` : ce;
|
|
7731
|
+
}, xe = i, ee = h, Y = w, K = te(
|
|
7732
|
+
xe,
|
|
7733
7733
|
ee,
|
|
7734
7734
|
o === "desktop"
|
|
7735
|
-
), D =
|
|
7736
|
-
${yt} { .${
|
|
7737
|
-
${rt} { .${
|
|
7738
|
-
${yt} { .${
|
|
7739
|
-
${rt} { .${
|
|
7740
|
-
`.trim() : null, Ue =
|
|
7741
|
-
.${
|
|
7742
|
-
.${
|
|
7735
|
+
), D = ve(K, e == null ? void 0 : e.margin), pe = K === "100%" ? null : { textAlign: P === "left" ? "left" : P === "right" ? "right" : "center" }, ke = (ce, be, at) => te(be, at) === "100%" || ce === "left" ? "left" : ce === "right" ? "right" : "center", ge = l != null || s != null || f != null || p != null || k != null || S != null || I != null || R != null, fe = (t == null ? void 0 : t.hoverEffect) ?? fn.hoverEffect, Ae = !!(fe != null && fe.enabled), ae = (ge || Ae) && r ? `ahd-cb-${r}` : "", Le = ae ? `${ae}-align` : "", je = x != null ? `height: ${x}px !important; --ahd-cb-h: ${x}px !important;` : k === "auto" ? "height: auto !important; --ahd-cb-h: auto !important;" : "", me = _ != null ? `height: ${_}px !important; --ahd-cb-h: ${_}px !important;` : S === "auto" || S == null && k === "auto" ? "height: auto !important; --ahd-cb-h: auto !important;" : "", We = ge ? `
|
|
7736
|
+
${yt} { .${ae} { width: ${ve(te(u, m), e == null ? void 0 : e.margin)} !important; ${je} max-width: 100% !important; } }
|
|
7737
|
+
${rt} { .${ae} { width: ${ve(te(c, b), e == null ? void 0 : e.margin)} !important; ${me} max-width: 100% !important; } }
|
|
7738
|
+
${yt} { .${Le} { text-align: ${ke(N, u, m)} !important; } }
|
|
7739
|
+
${rt} { .${Le} { text-align: ${ke(M, c, b)} !important; } }
|
|
7740
|
+
`.trim() : null, Ue = Ae ? `
|
|
7741
|
+
.${ae} { transition: transform ${fe.duration ?? 500}ms ${fe.easing ?? "ease-in-out"}; }
|
|
7742
|
+
.${ae}:hover { transform: scale(${fe.scale ?? 1.05}); }
|
|
7743
7743
|
`.trim() : null, Q = [We, Ue].filter(Boolean).join(`
|
|
7744
|
-
`) || null, Fe = (
|
|
7745
|
-
if (
|
|
7746
|
-
return typeof
|
|
7747
|
-
}, Be = (e == null ? void 0 : e.borderColor) ?? null, ie = (e == null ? void 0 : e.borderWidth) ?? null, Rt = D1(B(Be, "borderAdaptive"), ie), Ze = G1(e == null ? void 0 : e.boxShadow), ot = B(e == null ? void 0 : e.backgroundColor, "bgAdaptive") ?? "", lt = z1(ot), Bt = (e == null ? void 0 : e.backgroundSize) === "none", Tt = !Bt && (e != null && e.backgroundImage) ? `url(${e.backgroundImage})` : void 0, Qe = B1(ot, Tt), Dt =
|
|
7744
|
+
`) || null, Fe = (ce) => {
|
|
7745
|
+
if (ce != null)
|
|
7746
|
+
return typeof ce == "number" ? `${ce}px` : `${ce.topLeft}px ${ce.topRight}px ${ce.bottomRight}px ${ce.bottomLeft}px`;
|
|
7747
|
+
}, Be = (e == null ? void 0 : e.borderColor) ?? null, ie = (e == null ? void 0 : e.borderWidth) ?? null, Rt = D1(B(Be, "borderAdaptive"), ie), Ze = G1(e == null ? void 0 : e.boxShadow), ot = B(e == null ? void 0 : e.backgroundColor, "bgAdaptive") ?? "", lt = z1(ot), Bt = (e == null ? void 0 : e.backgroundSize) === "none", Tt = !Bt && (e != null && e.backgroundImage) ? `url(${e.backgroundImage})` : void 0, Qe = B1(ot, Tt), Dt = ue(e == null ? void 0 : e.backgroundColor, Tt, "bgAdaptive"), wt = Bt ? void 0 : (e == null ? void 0 : e.backgroundSize) ?? void 0, Yt = (e == null ? void 0 : e.backgroundRepeat) ?? "no-repeat", On = Be && (Be.includes("linear-gradient") || Be.includes("radial-gradient") || Be.includes("repeating-linear-gradient")), et = Y != null, Nt = et ? { "--ahd-cb-h": `${Y}px` } : {}, ne = et ? " container-block-has-height" : "";
|
|
7748
7748
|
if (On) {
|
|
7749
|
-
const
|
|
7749
|
+
const ce = {
|
|
7750
7750
|
// border gradient + padding provided by borderStyles
|
|
7751
7751
|
...Rt,
|
|
7752
7752
|
borderRadius: Fe(e == null ? void 0 : e.borderRadius),
|
|
@@ -7755,11 +7755,11 @@ function U1({ style: e, props: t, children: n, blockId: r }) {
|
|
|
7755
7755
|
minWidth: 0,
|
|
7756
7756
|
height: et ? `${Y}px` : void 0,
|
|
7757
7757
|
boxSizing: "border-box",
|
|
7758
|
-
...
|
|
7759
|
-
...
|
|
7758
|
+
...Ce(P, e == null ? void 0 : e.margin, K === "100%"),
|
|
7759
|
+
...pe ? { display: "inline-block" } : {},
|
|
7760
7760
|
...Ze,
|
|
7761
7761
|
...Nt
|
|
7762
|
-
},
|
|
7762
|
+
}, be = {
|
|
7763
7763
|
...lt,
|
|
7764
7764
|
backgroundImage: Qe,
|
|
7765
7765
|
backgroundSize: wt,
|
|
@@ -7770,28 +7770,28 @@ function U1({ style: e, props: t, children: n, blockId: r }) {
|
|
|
7770
7770
|
width: "100%",
|
|
7771
7771
|
height: et ? "100%" : void 0,
|
|
7772
7772
|
boxSizing: "border-box"
|
|
7773
|
-
}, at = `container-block${y ? " container-block-overflow" : ""}${
|
|
7774
|
-
...
|
|
7775
|
-
...
|
|
7776
|
-
...
|
|
7777
|
-
} :
|
|
7778
|
-
|
|
7773
|
+
}, at = `container-block${y ? " container-block-overflow" : ""}${ne}${ae ? ` ${ae}` : ""}`, st = `container-block-inner${y ? " container-block-overflow" : ""}`, Et = Z ? {
|
|
7774
|
+
...ce,
|
|
7775
|
+
...q.style,
|
|
7776
|
+
...pe ? { display: "inline-block" } : {}
|
|
7777
|
+
} : ce, Jt = /* @__PURE__ */ v(
|
|
7778
|
+
X,
|
|
7779
7779
|
{
|
|
7780
7780
|
className: at,
|
|
7781
7781
|
"aria-label": O,
|
|
7782
7782
|
id: F,
|
|
7783
7783
|
...Dt,
|
|
7784
|
-
...
|
|
7784
|
+
...q,
|
|
7785
7785
|
style: Et,
|
|
7786
|
-
children: /* @__PURE__ */ v("div", { className: st, style:
|
|
7786
|
+
children: /* @__PURE__ */ v("div", { className: st, style: be, children: n })
|
|
7787
7787
|
}
|
|
7788
7788
|
);
|
|
7789
7789
|
return /* @__PURE__ */ L(De, { children: [
|
|
7790
7790
|
Q && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: Q } }),
|
|
7791
|
-
|
|
7791
|
+
pe ? /* @__PURE__ */ v("div", { className: Le, style: pe, children: Jt }) : Jt
|
|
7792
7792
|
] });
|
|
7793
7793
|
}
|
|
7794
|
-
const
|
|
7794
|
+
const Re = {
|
|
7795
7795
|
...lt,
|
|
7796
7796
|
backgroundImage: Qe,
|
|
7797
7797
|
backgroundSize: wt,
|
|
@@ -7799,7 +7799,7 @@ function U1({ style: e, props: t, children: n, blockId: r }) {
|
|
|
7799
7799
|
...Rt,
|
|
7800
7800
|
borderRadius: Fe(e == null ? void 0 : e.borderRadius),
|
|
7801
7801
|
padding: Zl(e == null ? void 0 : e.padding),
|
|
7802
|
-
...
|
|
7802
|
+
...Ce(P, e == null ? void 0 : e.margin, K === "100%"),
|
|
7803
7803
|
width: D,
|
|
7804
7804
|
maxWidth: "100%",
|
|
7805
7805
|
minWidth: 0,
|
|
@@ -7811,49 +7811,49 @@ function U1({ style: e, props: t, children: n, blockId: r }) {
|
|
|
7811
7811
|
// through it instead of creating visible space inside. `flow-root`
|
|
7812
7812
|
// establishes a BFC (no other visual effect) so nested block margins render.
|
|
7813
7813
|
...y ? {} : { display: "flow-root" },
|
|
7814
|
-
...
|
|
7814
|
+
...pe ? { display: "inline-block" } : {},
|
|
7815
7815
|
...Ze,
|
|
7816
7816
|
...Nt
|
|
7817
|
-
}, Ye = `container-block${y ? " container-block-overflow" : ""}${
|
|
7817
|
+
}, Ye = `container-block${y ? " container-block-overflow" : ""}${ne}${ae ? ` ${ae}` : ""}`, tt = Z ? { ...Re, ...q.style, ...pe ? { display: "inline-block" } : {} } : Re;
|
|
7818
7818
|
if (!n) {
|
|
7819
|
-
const
|
|
7820
|
-
|
|
7819
|
+
const ce = /* @__PURE__ */ v(
|
|
7820
|
+
X,
|
|
7821
7821
|
{
|
|
7822
7822
|
className: Ye,
|
|
7823
7823
|
"aria-label": O,
|
|
7824
7824
|
id: F,
|
|
7825
7825
|
...Dt,
|
|
7826
|
-
...
|
|
7826
|
+
...q,
|
|
7827
7827
|
style: tt
|
|
7828
7828
|
}
|
|
7829
7829
|
);
|
|
7830
7830
|
return /* @__PURE__ */ L(De, { children: [
|
|
7831
7831
|
Q && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: Q } }),
|
|
7832
|
-
|
|
7832
|
+
pe ? /* @__PURE__ */ v("div", { className: Le, style: pe, children: ce }) : ce
|
|
7833
7833
|
] });
|
|
7834
7834
|
}
|
|
7835
7835
|
const Kt = /* @__PURE__ */ v(
|
|
7836
|
-
|
|
7836
|
+
X,
|
|
7837
7837
|
{
|
|
7838
7838
|
className: Ye,
|
|
7839
7839
|
"aria-label": O,
|
|
7840
7840
|
id: F,
|
|
7841
7841
|
...Dt,
|
|
7842
|
-
...
|
|
7842
|
+
...q,
|
|
7843
7843
|
style: tt,
|
|
7844
7844
|
children: n
|
|
7845
7845
|
}
|
|
7846
7846
|
);
|
|
7847
7847
|
return /* @__PURE__ */ L(De, { children: [
|
|
7848
7848
|
Q && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: Q } }),
|
|
7849
|
-
|
|
7849
|
+
pe ? /* @__PURE__ */ v("div", { className: Le, style: pe, children: Kt }) : Kt
|
|
7850
7850
|
] });
|
|
7851
7851
|
}
|
|
7852
7852
|
const Z1 = C({
|
|
7853
7853
|
style: W1.shape.style,
|
|
7854
7854
|
responsive: Xe,
|
|
7855
7855
|
props: C({
|
|
7856
|
-
childrenIds:
|
|
7856
|
+
childrenIds: oe($()).optional().nullable(),
|
|
7857
7857
|
fullWidth: z().optional().nullable(),
|
|
7858
7858
|
widthType: T(["fixed", "fill", "fit"]).optional().nullable(),
|
|
7859
7859
|
widthTypeTablet: T(["fixed", "fill", "fit"]).optional().nullable(),
|
|
@@ -7935,11 +7935,11 @@ function au({ style: e, props: t, responsive: n, blockId: r }) {
|
|
|
7935
7935
|
linkTarget: (t == null ? void 0 : t.linkTarget) ?? void 0,
|
|
7936
7936
|
hoverEffect: (t == null ? void 0 : t.hoverEffect) ?? void 0
|
|
7937
7937
|
},
|
|
7938
|
-
children: o.map((h) => /* @__PURE__ */ v(
|
|
7938
|
+
children: o.map((h) => /* @__PURE__ */ v(Oe, { id: h }, h))
|
|
7939
7939
|
}
|
|
7940
7940
|
);
|
|
7941
7941
|
}
|
|
7942
|
-
const q1 = $().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), V1 = $().regex(/^rgba?\([^\)]+\)$/i), Y1 = $().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i), K1 = le("transparent"),
|
|
7942
|
+
const q1 = $().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), V1 = $().regex(/^rgba?\([^\)]+\)$/i), Y1 = $().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i), K1 = le("transparent"), wn = H([q1, V1, Y1, K1]).nullable().optional(), J1 = T([
|
|
7943
7943
|
"MODERN_SANS",
|
|
7944
7944
|
"BOOK_SANS",
|
|
7945
7945
|
"ORGANIC_SANS",
|
|
@@ -7978,7 +7978,7 @@ const q1 = $().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), V1 =
|
|
|
7978
7978
|
/^(auto|cover|contain|inherit|initial|revert-layer|revert|unset|\d+(px|em|rem|%)?(\s+\d+(px|em|rem|%)?)?)$/i,
|
|
7979
7979
|
"Invalid CSS background-size value"
|
|
7980
7980
|
).nullable().optional(), ek = C({
|
|
7981
|
-
color:
|
|
7981
|
+
color: wn,
|
|
7982
7982
|
offsetX: g().default(0),
|
|
7983
7983
|
offsetY: g().default(0),
|
|
7984
7984
|
blur: g().default(0),
|
|
@@ -8003,13 +8003,13 @@ const q1 = $().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), V1 =
|
|
|
8003
8003
|
isCaret: z().optional().default(!0),
|
|
8004
8004
|
selector: $().optional().default(""),
|
|
8005
8005
|
showCloseIcon: z().optional(),
|
|
8006
|
-
iconCloseColor:
|
|
8006
|
+
iconCloseColor: wn,
|
|
8007
8007
|
closeIconPosition: T(["left", "center", "right"]).optional(),
|
|
8008
8008
|
closeIconPaddingTop: g().optional(),
|
|
8009
8009
|
closeIconPaddingLeft: g().optional(),
|
|
8010
8010
|
closeIconPaddingRight: g().optional(),
|
|
8011
8011
|
bannerSubType: $().optional()
|
|
8012
|
-
}).passthrough().optional().nullable(), nk =
|
|
8012
|
+
}).passthrough().optional().nullable(), nk = oe(
|
|
8013
8013
|
C({
|
|
8014
8014
|
id: $(),
|
|
8015
8015
|
name: $(),
|
|
@@ -8019,15 +8019,15 @@ const q1 = $().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), V1 =
|
|
|
8019
8019
|
).optional().nullable(), rk = C({
|
|
8020
8020
|
// Template variables / merge fields ({{token}} substitution).
|
|
8021
8021
|
formFields: nk,
|
|
8022
|
-
backdropColor:
|
|
8023
|
-
borderColor:
|
|
8022
|
+
backdropColor: wn.default(null),
|
|
8023
|
+
borderColor: wn.default(null),
|
|
8024
8024
|
borderRadius: g().optional().nullable(),
|
|
8025
|
-
canvasColor:
|
|
8026
|
-
textColor:
|
|
8025
|
+
canvasColor: wn.default(null),
|
|
8026
|
+
textColor: wn,
|
|
8027
8027
|
// Published theme behaviour: absent/'follow' = adapt to the host theme, 'light' = lock to light.
|
|
8028
8028
|
hostTheme: T(["follow", "light"]).optional().nullable(),
|
|
8029
8029
|
fontFamily: J1,
|
|
8030
|
-
childrenIds:
|
|
8030
|
+
childrenIds: oe($()).optional().nullable(),
|
|
8031
8031
|
maxWidth: $().default(""),
|
|
8032
8032
|
maxHeight: $().default(""),
|
|
8033
8033
|
top: $().default(""),
|
|
@@ -8056,17 +8056,17 @@ const q1 = $().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), V1 =
|
|
|
8056
8056
|
function ik(e) {
|
|
8057
8057
|
return e || ak;
|
|
8058
8058
|
}
|
|
8059
|
-
function
|
|
8059
|
+
function pn(e) {
|
|
8060
8060
|
return !(e == null || typeof e == "string" && e.trim() === "");
|
|
8061
8061
|
}
|
|
8062
8062
|
function kr(e, t, n) {
|
|
8063
8063
|
const r = e ?? {}, o = r[t];
|
|
8064
|
-
if (n === "desktop") return
|
|
8064
|
+
if (n === "desktop") return pn(o) ? o : null;
|
|
8065
8065
|
const a = r[`${t}Tablet`];
|
|
8066
8066
|
if (n === "tablet")
|
|
8067
|
-
return
|
|
8067
|
+
return pn(a) ? a : pn(o) ? o : null;
|
|
8068
8068
|
const i = r[`${t}Mobile`];
|
|
8069
|
-
return
|
|
8069
|
+
return pn(i) ? i : pn(a) ? a : pn(o) ? o : null;
|
|
8070
8070
|
}
|
|
8071
8071
|
function Oo(e, t) {
|
|
8072
8072
|
return {
|
|
@@ -8363,7 +8363,7 @@ function Sk() {
|
|
|
8363
8363
|
);
|
|
8364
8364
|
}
|
|
8365
8365
|
function $k(e) {
|
|
8366
|
-
var
|
|
8366
|
+
var ve, xe, ee, Y, K, D, V, pe, ke, ge, fe, Ae, ae, Le, je, me, We, Ue;
|
|
8367
8367
|
const t = e.childrenIds ?? [], n = typeof window < "u" && window.location ? window.location.pathname : "", r = n.includes("page") ? "page" : "", o = n.includes("app-banner"), a = n.includes("demo"), i = n.includes("faq"), l = n.includes("tour"), s = n.includes("tooltip"), u = l || s || a, c = [
|
|
8368
8368
|
"top-left",
|
|
8369
8369
|
"top-right",
|
|
@@ -8374,7 +8374,7 @@ function $k(e) {
|
|
|
8374
8374
|
"left-center",
|
|
8375
8375
|
"right-center",
|
|
8376
8376
|
"center"
|
|
8377
|
-
], h = ym(), d = (
|
|
8377
|
+
], h = ym(), d = (ve = ok()) == null ? void 0 : ve.getState(), f = (Y = (ee = (xe = d == null ? void 0 : d.appBanner) == null ? void 0 : xe.view) == null ? void 0 : ee.record) == null ? void 0 : Y.type, p = h ?? f, m = r === "page" || h === "page", b = o && (p === "floater" || ((K = e.behaviour) == null ? void 0 : K.bannerSubType) === "floater" || c.includes((D = e.behaviour) == null ? void 0 : D.position)), w = o && (p === "modal" || ((V = e.behaviour) == null ? void 0 : V.bannerSubType) === "modal"), k = (u || b || w) && ((pe = e.behaviour) == null ? void 0 : pe.showCloseIcon) !== !1, x = u && !0, _ = o && e.linkHref ? e.linkHref : null, y = Ge.useMemo(() => `ahd-layout-${hk += 1}`, []), I = ck(
|
|
8378
8378
|
y,
|
|
8379
8379
|
e,
|
|
8380
8380
|
m || i ? "100%" : o && !b ? "900px" : "320px"
|
|
@@ -8392,7 +8392,7 @@ function $k(e) {
|
|
|
8392
8392
|
) : Q, G = pk({
|
|
8393
8393
|
...e,
|
|
8394
8394
|
borderColor: B(e.borderColor, "borderAdaptive") ?? null
|
|
8395
|
-
}), j = o && !!((ke = e.boxShadow) != null && ke.color) && !!e.boxShadow.inset, U = o && !j ? ql(e.boxShadow) : {}, Z = j ? ql(e.boxShadow) : {},
|
|
8395
|
+
}), j = o && !!((ke = e.boxShadow) != null && ke.color) && !!e.boxShadow.inset, U = o && !j ? ql(e.boxShadow) : {}, Z = j ? ql(e.boxShadow) : {}, J = bk(((ge = e.behaviour) == null ? void 0 : ge.position) ?? "right"), X = u && !b && !w && ((fe = e.behaviour) == null ? void 0 : fe.isCaret) !== !1, q = B(e.canvasColor, "canvas"), te = xk(q, J), $e = (((Ae = e.margin) == null ? void 0 : Ae.left) ?? 0) + (((ae = e.margin) == null ? void 0 : ae.right) ?? 0), Ce = $e > 0 ? `calc(100% - ${$e}px)` : "100%";
|
|
8396
8396
|
return F(
|
|
8397
8397
|
/* @__PURE__ */ L(
|
|
8398
8398
|
"div",
|
|
@@ -8439,7 +8439,7 @@ function $k(e) {
|
|
|
8439
8439
|
...w || b ? null : { maxWidth: "100%" }
|
|
8440
8440
|
},
|
|
8441
8441
|
children: [
|
|
8442
|
-
|
|
8442
|
+
X && /* @__PURE__ */ v(kk, { position: J, color: te }),
|
|
8443
8443
|
/* @__PURE__ */ L(
|
|
8444
8444
|
"div",
|
|
8445
8445
|
{
|
|
@@ -8476,9 +8476,9 @@ function $k(e) {
|
|
|
8476
8476
|
k && /* @__PURE__ */ v(
|
|
8477
8477
|
wk,
|
|
8478
8478
|
{
|
|
8479
|
-
color: (
|
|
8479
|
+
color: (Le = e.behaviour) == null ? void 0 : Le.iconCloseColor,
|
|
8480
8480
|
position: (je = e.behaviour) == null ? void 0 : je.closeIconPosition,
|
|
8481
|
-
paddingTop: (
|
|
8481
|
+
paddingTop: (me = e.behaviour) == null ? void 0 : me.closeIconPaddingTop,
|
|
8482
8482
|
paddingLeft: (We = e.behaviour) == null ? void 0 : We.closeIconPaddingLeft,
|
|
8483
8483
|
paddingRight: (Ue = e.behaviour) == null ? void 0 : Ue.closeIconPaddingRight
|
|
8484
8484
|
}
|
|
@@ -8488,9 +8488,9 @@ function $k(e) {
|
|
|
8488
8488
|
{
|
|
8489
8489
|
width: "100%",
|
|
8490
8490
|
className: "ahd-layout-table",
|
|
8491
|
-
...
|
|
8491
|
+
...ue(e.canvasColor, e.backgroundImage, "canvas"),
|
|
8492
8492
|
style: {
|
|
8493
|
-
width:
|
|
8493
|
+
width: Ce,
|
|
8494
8494
|
maxWidth: "100%",
|
|
8495
8495
|
boxSizing: "border-box",
|
|
8496
8496
|
flex: 1,
|
|
@@ -8498,7 +8498,7 @@ function $k(e) {
|
|
|
8498
8498
|
...w || b ? { maxWidth: "100%" } : null,
|
|
8499
8499
|
top: e.top || "",
|
|
8500
8500
|
left: e.left || "",
|
|
8501
|
-
...mk(
|
|
8501
|
+
...mk(q, e.backgroundImage, o ? "appBanner" : ""),
|
|
8502
8502
|
borderCollapse: "separate",
|
|
8503
8503
|
// `fixed` makes the single content cell honour the table's 100%
|
|
8504
8504
|
// width instead of growing to its content's intrinsic width. Without
|
|
@@ -8520,7 +8520,7 @@ function $k(e) {
|
|
|
8520
8520
|
cellSpacing: "0",
|
|
8521
8521
|
cellPadding: "0",
|
|
8522
8522
|
children: /* @__PURE__ */ v("tbody", { children: /* @__PURE__ */ v("tr", { style: { width: "100%" }, children: /* @__PURE__ */ L("td", { className: "email-layout-content", children: [
|
|
8523
|
-
t.map((Q) => /* @__PURE__ */ v(
|
|
8523
|
+
t.map((Q) => /* @__PURE__ */ v(Oe, { id: Q }, Q)),
|
|
8524
8524
|
x && /* @__PURE__ */ v(Sk, {})
|
|
8525
8525
|
] }) }) })
|
|
8526
8526
|
}
|
|
@@ -8714,7 +8714,7 @@ const Ok = $().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), Lk =
|
|
|
8714
8714
|
markerColor: zo,
|
|
8715
8715
|
markerSize: g().min(1).max(200).optional().nullable(),
|
|
8716
8716
|
itemGap: g().min(0).max(64).optional().nullable(),
|
|
8717
|
-
items:
|
|
8717
|
+
items: oe(Gk).optional().nullable()
|
|
8718
8718
|
}).optional().nullable(),
|
|
8719
8719
|
responsive: Xe
|
|
8720
8720
|
}), Ht = {
|
|
@@ -8799,7 +8799,7 @@ function Uk({ style: e, props: t, renderItemText: n }) {
|
|
|
8799
8799
|
color: B(s, "listText"),
|
|
8800
8800
|
fontSize: `${u}px`
|
|
8801
8801
|
}, w = (S) => a === "none" ? null : o ? Wk(a, S, l, i) : Yl[a] ?? Yl.disc;
|
|
8802
|
-
return /* @__PURE__ */ v("div", { className: "list-block", ...
|
|
8802
|
+
return /* @__PURE__ */ v("div", { className: "list-block", ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: p, children: /* @__PURE__ */ v(
|
|
8803
8803
|
"table",
|
|
8804
8804
|
{
|
|
8805
8805
|
role: "presentation",
|
|
@@ -8920,7 +8920,7 @@ function nw({ style: e, buttons: t, props: n }) {
|
|
|
8920
8920
|
"div",
|
|
8921
8921
|
{
|
|
8922
8922
|
className: `button-group ${x}`,
|
|
8923
|
-
...
|
|
8923
|
+
...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"),
|
|
8924
8924
|
style: S,
|
|
8925
8925
|
role: "group",
|
|
8926
8926
|
"aria-label": f,
|
|
@@ -8935,17 +8935,17 @@ const rw = ba.shape.props.unwrap().unwrap().shape, ow = C({
|
|
|
8935
8935
|
style: ba.shape.style,
|
|
8936
8936
|
props: C({
|
|
8937
8937
|
...rw,
|
|
8938
|
-
childrenIds:
|
|
8938
|
+
childrenIds: oe($()).optional().nullable()
|
|
8939
8939
|
}).optional().nullable(),
|
|
8940
8940
|
responsive: ba.shape.responsive
|
|
8941
8941
|
});
|
|
8942
8942
|
function aw({ style: e, props: t }) {
|
|
8943
|
-
const { childrenIds: n, ...r } = t ?? {}, o = (n ?? []).map((a) => /* @__PURE__ */ v(
|
|
8943
|
+
const { childrenIds: n, ...r } = t ?? {}, o = (n ?? []).map((a) => /* @__PURE__ */ v(Oe, { id: a }, a));
|
|
8944
8944
|
return /* @__PURE__ */ v(nw, { style: e, props: r, buttons: o });
|
|
8945
8945
|
}
|
|
8946
8946
|
const iw = C({
|
|
8947
|
-
titleChildrenIds:
|
|
8948
|
-
contentChildrenIds:
|
|
8947
|
+
titleChildrenIds: oe($()).optional().nullable(),
|
|
8948
|
+
contentChildrenIds: oe($()).optional().nullable()
|
|
8949
8949
|
}), lw = C({
|
|
8950
8950
|
responsive: Xe,
|
|
8951
8951
|
style: C({
|
|
@@ -8977,7 +8977,7 @@ const iw = C({
|
|
|
8977
8977
|
}).optional().nullable()
|
|
8978
8978
|
}).optional().nullable(),
|
|
8979
8979
|
props: C({
|
|
8980
|
-
items:
|
|
8980
|
+
items: oe(iw).min(1).max(25).optional().nullable(),
|
|
8981
8981
|
iconColor: $().optional().nullable(),
|
|
8982
8982
|
iconSize: g().optional().nullable(),
|
|
8983
8983
|
defaultOpen: z().optional().nullable(),
|
|
@@ -8995,13 +8995,13 @@ function cw(e, t) {
|
|
|
8995
8995
|
return r.length === 1 ? `${r[0]}px` : r.map((o) => `${o}px`).join(" ");
|
|
8996
8996
|
}
|
|
8997
8997
|
function uw({ style: e, props: t }) {
|
|
8998
|
-
const n =
|
|
8998
|
+
const n = Me(() => {
|
|
8999
8999
|
const A = t == null ? void 0 : t.items;
|
|
9000
9000
|
return !A || A.length === 0 ? { titleChildrenIds: [], contentChildrenIds: [] } : {
|
|
9001
9001
|
titleChildrenIds: A[0].titleChildrenIds ?? [],
|
|
9002
9002
|
contentChildrenIds: A[0].contentChildrenIds ?? []
|
|
9003
9003
|
};
|
|
9004
|
-
}, [t == null ? void 0 : t.items]), r =
|
|
9004
|
+
}, [t == null ? void 0 : t.items]), r = Me(() => `email-accordion-${Math.random().toString(36).slice(2, 9)}`, []), o = `${r}-content`, a = e == null ? void 0 : e.padding, i = e == null ? void 0 : e.margin, l = ((i == null ? void 0 : i.left) ?? 0) + ((i == null ? void 0 : i.right) ?? 0), s = t == null ? void 0 : t.activeBorderColor, u = e == null ? void 0 : e.borderColor, c = se(s), h = se(u), d = B(e == null ? void 0 : e.backgroundColor, "bgAdaptive"), f = B(null, "surface"), p = (e == null ? void 0 : e.borderWidth) ?? { top: 1, right: 1, bottom: 1, left: 1 }, m = `${p.top}px ${p.right}px ${p.bottom}px ${p.left}px`, b = sw(e == null ? void 0 : e.borderRadius), w = ts(u), k = ts(s), S = w || k, x = {
|
|
9005
9005
|
width: l > 0 ? `calc(100% - ${l}px)` : "100%",
|
|
9006
9006
|
boxSizing: "border-box",
|
|
9007
9007
|
borderRadius: b,
|
|
@@ -9044,9 +9044,9 @@ function uw({ style: e, props: t }) {
|
|
|
9044
9044
|
defaultChecked: (t == null ? void 0 : t.defaultOpen) ?? !1
|
|
9045
9045
|
}
|
|
9046
9046
|
),
|
|
9047
|
-
/* @__PURE__ */ v("div", { className: "email-accordion-root", ...
|
|
9047
|
+
/* @__PURE__ */ v("div", { className: "email-accordion-root", ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: x, children: /* @__PURE__ */ L("div", { className: "email-accordion-inner", style: _, children: [
|
|
9048
9048
|
/* @__PURE__ */ L("label", { htmlFor: r, className: "email-accordion-label", children: [
|
|
9049
|
-
/* @__PURE__ */ v("div", { className: "title", children: n.titleChildrenIds.map((A) => /* @__PURE__ */ v(
|
|
9049
|
+
/* @__PURE__ */ v("div", { className: "title", children: n.titleChildrenIds.map((A) => /* @__PURE__ */ v(Oe, { id: A }, A)) }),
|
|
9050
9050
|
/* @__PURE__ */ v(
|
|
9051
9051
|
"span",
|
|
9052
9052
|
{
|
|
@@ -9074,14 +9074,14 @@ function uw({ style: e, props: t }) {
|
|
|
9074
9074
|
}
|
|
9075
9075
|
)
|
|
9076
9076
|
] }),
|
|
9077
|
-
/* @__PURE__ */ v("div", { id: o, className: "email-accordion-content", role: "region", children: n.contentChildrenIds.map((A) => /* @__PURE__ */ v(
|
|
9077
|
+
/* @__PURE__ */ v("div", { id: o, className: "email-accordion-content", role: "region", children: n.contentChildrenIds.map((A) => /* @__PURE__ */ v(Oe, { id: A }, A)) })
|
|
9078
9078
|
] }) })
|
|
9079
9079
|
] });
|
|
9080
9080
|
}
|
|
9081
9081
|
const dw = C({
|
|
9082
9082
|
label: $().optional().nullable(),
|
|
9083
|
-
cardChildrenIds:
|
|
9084
|
-
detailChildrenIds:
|
|
9083
|
+
cardChildrenIds: oe($()).optional().nullable(),
|
|
9084
|
+
detailChildrenIds: oe($()).optional().nullable()
|
|
9085
9085
|
}), hw = C({
|
|
9086
9086
|
style: C({
|
|
9087
9087
|
// Outer container
|
|
@@ -9146,7 +9146,7 @@ const dw = C({
|
|
|
9146
9146
|
panelGap: g().optional().nullable()
|
|
9147
9147
|
}).optional().nullable(),
|
|
9148
9148
|
props: C({
|
|
9149
|
-
items:
|
|
9149
|
+
items: oe(dw).min(1).max(10).optional().nullable(),
|
|
9150
9150
|
defaultOpenIndex: g().optional().nullable(),
|
|
9151
9151
|
accordionEnabled: z().optional().nullable(),
|
|
9152
9152
|
detailPosition: T(["bottom", "right"]).optional().nullable()
|
|
@@ -9157,91 +9157,91 @@ function fw(e) {
|
|
|
9157
9157
|
return typeof e == "number" ? `${e}px` : typeof e == "string" ? e : `${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`;
|
|
9158
9158
|
}
|
|
9159
9159
|
function pw({ style: e, props: t }) {
|
|
9160
|
-
const n =
|
|
9160
|
+
const n = Me(
|
|
9161
9161
|
() => t != null && t.items && t.items.length > 0 ? t.items : [{ label: "Plan 1", cardChildrenIds: [], detailChildrenIds: [] }],
|
|
9162
9162
|
[t == null ? void 0 : t.items]
|
|
9163
|
-
), r =
|
|
9163
|
+
), r = Me(() => `pacc-${Math.random().toString(36).slice(2, 9)}`, []), o = (t == null ? void 0 : t.accordionEnabled) ?? !1, a = (t == null ? void 0 : t.defaultOpenIndex) ?? null, i = (t == null ? void 0 : t.detailPosition) ?? "bottom", l = (e == null ? void 0 : e.cardGap) ?? 16, s = (e == null ? void 0 : e.equalCardWidth) ?? !0, u = B(e == null ? void 0 : e.cardBgColor, "surface"), c = B(e == null ? void 0 : e.cardBorderColor, "borderSubtle"), h = (e == null ? void 0 : e.cardBorderWidth) ?? 1, d = (e == null ? void 0 : e.cardBorderRadius) ?? 12, f = (e == null ? void 0 : e.cardPadding) ?? 16, p = (e == null ? void 0 : e.cardShadow) ?? "none", m = se((e == null ? void 0 : e.cardTextColor) ?? "inherit"), b = (e == null ? void 0 : e.cardFontSize) ?? null, w = (e == null ? void 0 : e.cardFontFamily) ?? "inherit", k = (e == null ? void 0 : e.cardFontWeight) ?? "inherit", S = (e == null ? void 0 : e.cardTextAlign) ?? "left", x = se((e == null ? void 0 : e.cardHoverBgColor) ?? null), _ = (e == null ? void 0 : e.cardHoverShadow) ?? "0 2px 6px rgba(0,0,0,0.07)", y = se(e == null ? void 0 : e.activeCardBgColor) ?? u, A = se(e == null ? void 0 : e.activeCardBorderColor) ?? c, I = (e == null ? void 0 : e.activeCardShadow) ?? p, R = se(e == null ? void 0 : e.activeCardTextColor) ?? m, N = se((e == null ? void 0 : e.arrowColor) ?? "currentColor"), M = se(e == null ? void 0 : e.arrowActiveColor) ?? N, P = (e == null ? void 0 : e.arrowSize) ?? 13, O = B(e == null ? void 0 : e.detailBgColor, { role: "surface-alt", seeds: [], nullFallback: "#f8fafc" }), F = B(e == null ? void 0 : e.detailBorderColor, { role: "border-subtle", seeds: [], nullFallback: "rgba(0,0,0,0.08)" }), G = (e == null ? void 0 : e.detailBorderWidth) ?? 1, j = (e == null ? void 0 : e.detailBorderRadius) ?? 12, U = (e == null ? void 0 : e.detailPadding) ?? 24, Z = (e == null ? void 0 : e.detailShadow) ?? "none", J = (e == null ? void 0 : e.detailGap) ?? 12, X = (e == null ? void 0 : e.rightCardWidth) ?? 280, q = e == null ? void 0 : e.padding, te = {
|
|
9164
9164
|
width: "100%",
|
|
9165
9165
|
boxSizing: "border-box",
|
|
9166
9166
|
background: B(e == null ? void 0 : e.backgroundColor, "bgAdaptive"),
|
|
9167
9167
|
border: e != null && e.borderColor ? `${e.borderWidth ?? 1}px solid ${e.borderColor}` : void 0,
|
|
9168
9168
|
borderRadius: fw(e == null ? void 0 : e.borderRadius),
|
|
9169
|
-
padding:
|
|
9170
|
-
}, $e = s ? `repeat(${n.length}, minmax(0, 1fr))` : `repeat(${n.length}, minmax(0, auto))`,
|
|
9169
|
+
padding: q ? `${q.top}px ${q.right}px ${q.bottom}px ${q.left}px` : void 0
|
|
9170
|
+
}, $e = s ? `repeat(${n.length}, minmax(0, 1fr))` : `repeat(${n.length}, minmax(0, auto))`, Ce = b ? `${b}px` : "inherit";
|
|
9171
9171
|
if (!o) {
|
|
9172
9172
|
const ee = `
|
|
9173
9173
|
.pacc-grid{display:grid;grid-template-columns:${$e};gap:${l}px;width:100%;box-sizing:border-box}
|
|
9174
|
-
.pacc-grid-card{background:${u};border:${h}px solid ${c};border-radius:${d}px;padding:${f}px;box-sizing:border-box;box-shadow:${p};color:${m};font-size:${
|
|
9174
|
+
.pacc-grid-card{background:${u};border:${h}px solid ${c};border-radius:${d}px;padding:${f}px;box-sizing:border-box;box-shadow:${p};color:${m};font-size:${Ce};font-family:${w};font-weight:${k};text-align:${S}}
|
|
9175
9175
|
${x ? `.pacc-grid-card:hover{background:${x};box-shadow:${_}}` : `.pacc-grid-card:hover{box-shadow:${_}}`}
|
|
9176
9176
|
@media(max-width:640px){.pacc-grid{grid-template-columns:1fr}}
|
|
9177
9177
|
`;
|
|
9178
|
-
return /* @__PURE__ */ L("div", { ...
|
|
9178
|
+
return /* @__PURE__ */ L("div", { ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: te, children: [
|
|
9179
9179
|
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: ee } }),
|
|
9180
|
-
/* @__PURE__ */ v("div", { className: "pacc-grid", children: n.map((Y, K) => /* @__PURE__ */ v("div", { className: "pacc-grid-card", children: (Y.cardChildrenIds ?? []).map((D) => /* @__PURE__ */ v(
|
|
9180
|
+
/* @__PURE__ */ v("div", { className: "pacc-grid", children: n.map((Y, K) => /* @__PURE__ */ v("div", { className: "pacc-grid-card", children: (Y.cardChildrenIds ?? []).map((D) => /* @__PURE__ */ v(Oe, { id: D }, D)) }, K)) })
|
|
9181
9181
|
] });
|
|
9182
9182
|
}
|
|
9183
9183
|
if (i === "bottom") {
|
|
9184
9184
|
const ee = n.map((K, D) => {
|
|
9185
|
-
const
|
|
9186
|
-
return `${
|
|
9187
|
-
(
|
|
9188
|
-
).join("") + `${
|
|
9185
|
+
const V = `#${r}-cb${D}:checked ~ .pacc-wrap`;
|
|
9186
|
+
return `${V}{grid-template-columns:1fr}` + n.map(
|
|
9187
|
+
(pe, ke) => ke !== D ? `${V} .pacc-item:nth-child(${ke + 1}){display:none}` : ""
|
|
9188
|
+
).join("") + `${V} .pacc-item:nth-child(${D + 1}){display:block}${V} .pacc-item:nth-child(${D + 1}) .pacc-card{background:${y};border-color:${A};box-shadow:${I};color:${R}}${V} .pacc-item:nth-child(${D + 1}) .pacc-arrow{transform:rotate(180deg);color:${M}}${V} .pacc-item:nth-child(${D + 1}) .pacc-detail{display:block}`;
|
|
9189
9189
|
}).join(""), Y = `
|
|
9190
9190
|
.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}
|
|
9191
9191
|
.pacc-wrap{display:grid;grid-template-columns:${$e};gap:${l}px;width:100%;box-sizing:border-box}
|
|
9192
9192
|
.pacc-item{box-sizing:border-box}
|
|
9193
|
-
.pacc-card{background:${u};border:${h}px solid ${c};border-radius:${d}px;padding:${f}px;padding-right:${f + 28}px;box-sizing:border-box;display:flex;flex-direction:column;position:relative;cursor:pointer;transition:background 180ms ease,border-color 180ms ease,box-shadow 180ms ease;width:100%;text-align:${S};color:${m};font-size:${
|
|
9193
|
+
.pacc-card{background:${u};border:${h}px solid ${c};border-radius:${d}px;padding:${f}px;padding-right:${f + 28}px;box-sizing:border-box;display:flex;flex-direction:column;position:relative;cursor:pointer;transition:background 180ms ease,border-color 180ms ease,box-shadow 180ms ease;width:100%;text-align:${S};color:${m};font-size:${Ce};font-family:${w};font-weight:${k};box-shadow:${p}}
|
|
9194
9194
|
${x ? `.pacc-card:hover{background:${x};box-shadow:${_}}` : `.pacc-card:hover{box-shadow:${_}}`}
|
|
9195
9195
|
.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:${N}}
|
|
9196
9196
|
.pacc-arrow i{font-family:'bootstrap-icons'!important;font-size:${P}px;line-height:1}
|
|
9197
|
-
.pacc-detail{display:none;margin-top:${
|
|
9197
|
+
.pacc-detail{display:none;margin-top:${J}px;background:${O};border:${G}px solid ${F};border-radius:${j}px;padding:${U}px;box-sizing:border-box;box-shadow:${Z}}
|
|
9198
9198
|
@media(max-width:640px){.pacc-wrap{grid-template-columns:1fr!important}}
|
|
9199
9199
|
${ee}
|
|
9200
9200
|
`;
|
|
9201
|
-
return /* @__PURE__ */ L("div", { ...
|
|
9201
|
+
return /* @__PURE__ */ L("div", { ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: te, children: [
|
|
9202
9202
|
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: Y } }),
|
|
9203
9203
|
n.map((K, D) => /* @__PURE__ */ v("input", { type: "radio", name: r, id: `${r}-cb${D}`, className: "pacc-cb", defaultChecked: D === a }, D)),
|
|
9204
9204
|
/* @__PURE__ */ v("div", { className: "pacc-wrap", children: n.map((K, D) => /* @__PURE__ */ L("div", { className: "pacc-item", children: [
|
|
9205
9205
|
/* @__PURE__ */ L("label", { htmlFor: `${r}-cb${D}`, className: "pacc-card", children: [
|
|
9206
|
-
(K.cardChildrenIds ?? []).map((
|
|
9206
|
+
(K.cardChildrenIds ?? []).map((V) => /* @__PURE__ */ v(Oe, { id: V }, V)),
|
|
9207
9207
|
/* @__PURE__ */ v("span", { className: "pacc-arrow", "aria-hidden": "true", children: /* @__PURE__ */ v("i", { className: "bi bi-chevron-down" }) })
|
|
9208
9208
|
] }),
|
|
9209
|
-
/* @__PURE__ */ v("div", { className: "pacc-detail", children: (K.detailChildrenIds ?? []).map((
|
|
9209
|
+
/* @__PURE__ */ v("div", { className: "pacc-detail", children: (K.detailChildrenIds ?? []).map((V) => /* @__PURE__ */ v(Oe, { id: V }, V)) })
|
|
9210
9210
|
] }, D)) })
|
|
9211
9211
|
] });
|
|
9212
9212
|
}
|
|
9213
|
-
const
|
|
9213
|
+
const ve = n.map((ee, Y) => {
|
|
9214
9214
|
const K = `#${r}-cb${Y}:checked ~ .pacc-wrap`;
|
|
9215
9215
|
return `${K}{grid-template-columns:1fr}` + n.map(
|
|
9216
|
-
(D,
|
|
9217
|
-
).join("") + `${K} .pacc-item:nth-child(${Y + 1}){display:flex;flex-direction:row;gap:${
|
|
9218
|
-
}).join(""),
|
|
9216
|
+
(D, V) => V !== Y ? `${K} .pacc-item:nth-child(${V + 1}){display:none}` : ""
|
|
9217
|
+
).join("") + `${K} .pacc-item:nth-child(${Y + 1}){display:flex;flex-direction:row;gap:${J}px;align-items:flex-start}${K} .pacc-item:nth-child(${Y + 1}) .pacc-card{flex-shrink:0;width:${X}px;background:${y};border-color:${A};box-shadow:${I};color:${R}}${K} .pacc-item:nth-child(${Y + 1}) .pacc-arrow{transform:rotate(90deg);color:${M}}${K} .pacc-item:nth-child(${Y + 1}) .pacc-detail{display:block;flex:1;min-width:0}`;
|
|
9218
|
+
}).join(""), xe = `
|
|
9219
9219
|
.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}
|
|
9220
9220
|
.pacc-wrap{display:grid;grid-template-columns:${$e};gap:${l}px;width:100%;box-sizing:border-box}
|
|
9221
9221
|
.pacc-item{box-sizing:border-box}
|
|
9222
|
-
.pacc-card{background:${u};border:${h}px solid ${c};border-radius:${d}px;padding:${f}px;padding-right:${f + 28}px;box-sizing:border-box;display:flex;flex-direction:column;position:relative;cursor:pointer;transition:background 180ms ease,border-color 180ms ease,box-shadow 180ms ease;width:100%;text-align:${S};color:${m};font-size:${
|
|
9222
|
+
.pacc-card{background:${u};border:${h}px solid ${c};border-radius:${d}px;padding:${f}px;padding-right:${f + 28}px;box-sizing:border-box;display:flex;flex-direction:column;position:relative;cursor:pointer;transition:background 180ms ease,border-color 180ms ease,box-shadow 180ms ease;width:100%;text-align:${S};color:${m};font-size:${Ce};font-family:${w};font-weight:${k};box-shadow:${p}}
|
|
9223
9223
|
${x ? `.pacc-card:hover{background:${x};box-shadow:${_}}` : `.pacc-card:hover{box-shadow:${_}}`}
|
|
9224
9224
|
.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:${N}}
|
|
9225
9225
|
.pacc-arrow i{font-family:'bootstrap-icons'!important;font-size:${P}px;line-height:1}
|
|
9226
9226
|
.pacc-detail{display:none;background:${O};border:${G}px solid ${F};border-radius:${j}px;padding:${U}px;box-sizing:border-box;box-shadow:${Z}}
|
|
9227
9227
|
@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}}
|
|
9228
|
-
${
|
|
9228
|
+
${ve}
|
|
9229
9229
|
`;
|
|
9230
|
-
return /* @__PURE__ */ L("div", { ...
|
|
9231
|
-
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html:
|
|
9230
|
+
return /* @__PURE__ */ L("div", { ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: te, children: [
|
|
9231
|
+
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: xe } }),
|
|
9232
9232
|
n.map((ee, Y) => /* @__PURE__ */ v("input", { type: "radio", name: r, id: `${r}-cb${Y}`, className: "pacc-cb", defaultChecked: Y === a }, Y)),
|
|
9233
9233
|
/* @__PURE__ */ v("div", { className: "pacc-wrap", children: n.map((ee, Y) => /* @__PURE__ */ L("div", { className: "pacc-item", children: [
|
|
9234
9234
|
/* @__PURE__ */ L("label", { htmlFor: `${r}-cb${Y}`, className: "pacc-card", children: [
|
|
9235
|
-
(ee.cardChildrenIds ?? []).map((K) => /* @__PURE__ */ v(
|
|
9235
|
+
(ee.cardChildrenIds ?? []).map((K) => /* @__PURE__ */ v(Oe, { id: K }, K)),
|
|
9236
9236
|
/* @__PURE__ */ v("span", { className: "pacc-arrow", "aria-hidden": "true", children: /* @__PURE__ */ v("i", { className: "bi bi-chevron-right" }) })
|
|
9237
9237
|
] }),
|
|
9238
|
-
/* @__PURE__ */ v("div", { className: "pacc-detail", children: (ee.detailChildrenIds ?? []).map((K) => /* @__PURE__ */ v(
|
|
9238
|
+
/* @__PURE__ */ v("div", { className: "pacc-detail", children: (ee.detailChildrenIds ?? []).map((K) => /* @__PURE__ */ v(Oe, { id: K }, K)) })
|
|
9239
9239
|
] }, Y)) })
|
|
9240
9240
|
] });
|
|
9241
9241
|
}
|
|
9242
9242
|
const gw = 160, mw = C({
|
|
9243
9243
|
label: $().optional().nullable(),
|
|
9244
|
-
contentChildrenIds:
|
|
9244
|
+
contentChildrenIds: oe($()).optional().nullable()
|
|
9245
9245
|
}), bw = C({
|
|
9246
9246
|
responsive: Xe,
|
|
9247
9247
|
style: C({
|
|
@@ -9304,7 +9304,7 @@ const gw = 160, mw = C({
|
|
|
9304
9304
|
dropdownMobile: z().optional().nullable(),
|
|
9305
9305
|
activeTabIndex: g().optional().nullable(),
|
|
9306
9306
|
stickyNav: z().optional().nullable(),
|
|
9307
|
-
items:
|
|
9307
|
+
items: oe(mw).min(1).max(20).optional().nullable()
|
|
9308
9308
|
}).optional().nullable()
|
|
9309
9309
|
});
|
|
9310
9310
|
function vw(e) {
|
|
@@ -9361,7 +9361,7 @@ function Sw(e, t, n = !1) {
|
|
|
9361
9361
|
const r = n ? "!important" : "";
|
|
9362
9362
|
return e ? It(e) ? `box-sizing:border-box${r};border:${t}px solid transparent${r};border-image-source:${e}${r};border-image-slice:1${r};box-shadow:none${r}` : `box-shadow:inset 0 0 0 ${t}px ${e}${r}` : `box-shadow:none${r}`;
|
|
9363
9363
|
}
|
|
9364
|
-
function
|
|
9364
|
+
function gn(e, t, n, r, o, a, i, l) {
|
|
9365
9365
|
const s = It(l), u = s ? va(l, n, "bottom") : `border-bottom:${n} solid var(--ahd-tabs-nav-border,transparent)`, c = s ? va(l, n, "right") : `border-right:${n} solid var(--ahd-tabs-nav-border,transparent)`;
|
|
9366
9366
|
if (t === "horizontal")
|
|
9367
9367
|
return `${e}{display:block}${e} > .ahd-tabs-dd-wrap > .ahd-tabs-nav{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;gap:${r};align-items:center;justify-content:${a};width:100%;${u};border-right:0}${e} > .ahd-tabs-dd-wrap > .ahd-tabs-nav > .ahd-tabs-label{display:inline-flex;border-bottom:3px solid transparent;border-left:0;margin-bottom:calc(-1 * ${n});margin-right:0}${e} > .ahd-tabs-panels{width:100%;margin-top:${o};margin-left:0}`;
|
|
@@ -9382,58 +9382,58 @@ function Bo(e, t) {
|
|
|
9382
9382
|
return `${e} > .ahd-tabs-dd-wrap{display:contents!important;position:static!important}${e} > .ahd-tabs-dd-wrap > .ahd-tabs-dd-trigger{display:none!important}${e} > .ahd-tabs-dd-wrap > .ahd-tabs-nav{position:static!important;top:auto!important;z-index:auto!important;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important;max-height:none!important;overflow:visible!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important}${e} > .ahd-tabs-dd-wrap > .ahd-tabs-nav > .ahd-tabs-label{border-radius:${t}!important;margin-top:0!important;box-shadow:none!important}`;
|
|
9383
9383
|
}
|
|
9384
9384
|
function _w({ style: e, props: t }) {
|
|
9385
|
-
const n = (t == null ? void 0 : t.orientation) ?? "horizontal", r = (t == null ? void 0 : t.orientationTablet) ?? n, o = (t == null ? void 0 : t.orientationMobile) ?? "vertical", i = ((t == null ? void 0 : t.behavior) ?? "showSelectedSection") === "scrollToSelectedSection", l = (t == null ? void 0 : t.stickyNav) ?? !1, s =
|
|
9385
|
+
const n = (t == null ? void 0 : t.orientation) ?? "horizontal", r = (t == null ? void 0 : t.orientationTablet) ?? n, o = (t == null ? void 0 : t.orientationMobile) ?? "vertical", i = ((t == null ? void 0 : t.behavior) ?? "showSelectedSection") === "scrollToSelectedSection", l = (t == null ? void 0 : t.stickyNav) ?? !1, s = Me(
|
|
9386
9386
|
() => t != null && t.items && t.items.length > 0 ? t.items : [{ label: "Tab 1", contentChildrenIds: [] }],
|
|
9387
9387
|
[t == null ? void 0 : t.items]
|
|
9388
|
-
), u =
|
|
9388
|
+
), u = Me(
|
|
9389
9389
|
() => `tabs-${Math.random().toString(36).slice(2, 9)}`,
|
|
9390
9390
|
[]
|
|
9391
|
-
), c = se(e == null ? void 0 : e.tabActiveColor), h = se(e == null ? void 0 : e.tabActiveBgColor), d = se(e == null ? void 0 : e.tabInactiveTextColor), f = se(e == null ? void 0 : e.tabInactiveBgColor), p = se(e == null ? void 0 : e.tabInactiveBorderColor), m = (e == null ? void 0 : e.tabInactiveBorderWidth) ?? 1, b = (e == null ? void 0 : e.tabBorderRadius) != null ? `${e.tabBorderRadius}px` : "0px", w = se(e == null ? void 0 : e.tabTextColor), k = se((e == null ? void 0 : e.tabBgColor) ?? "transparent"), S = se(e == null ? void 0 : e.navBorderColor), x = S ? "2px" : "0px", _ = (e == null ? void 0 : e.tabGap) != null ? `${e.tabGap}px` : "0px", y = (e == null ? void 0 : e.contentGap) != null ? `${e.contentGap}px` : "0px", A = (e == null ? void 0 : e.navWidth) != null ? e.navWidth : 160, I = "var(--ahd-tabs-tab-gap," + _ + ")", R = "var(--ahd-tabs-content-gap," + y + ")", N = (e == null ? void 0 : e.activeFontSize) != null ? ns(e.activeFontSize) : void 0, P = ((e == null ? void 0 : e.showActiveBorder) ?? !0) && !h ? c || "currentColor" : "transparent", O = (t == null ? void 0 : t.tabsAlign) ?? "left", F = O === "center" ? "center" : O === "right" ? "flex-end" : "flex-start", G = (t == null ? void 0 : t.dropdown) ?? !1, j = (t == null ? void 0 : t.dropdownTablet) ?? G, U = (t == null ? void 0 : t.dropdownMobile) ?? j, Z = e == null ? void 0 : e.padding,
|
|
9391
|
+
), c = se(e == null ? void 0 : e.tabActiveColor), h = se(e == null ? void 0 : e.tabActiveBgColor), d = se(e == null ? void 0 : e.tabInactiveTextColor), f = se(e == null ? void 0 : e.tabInactiveBgColor), p = se(e == null ? void 0 : e.tabInactiveBorderColor), m = (e == null ? void 0 : e.tabInactiveBorderWidth) ?? 1, b = (e == null ? void 0 : e.tabBorderRadius) != null ? `${e.tabBorderRadius}px` : "0px", w = se(e == null ? void 0 : e.tabTextColor), k = se((e == null ? void 0 : e.tabBgColor) ?? "transparent"), S = se(e == null ? void 0 : e.navBorderColor), x = S ? "2px" : "0px", _ = (e == null ? void 0 : e.tabGap) != null ? `${e.tabGap}px` : "0px", y = (e == null ? void 0 : e.contentGap) != null ? `${e.contentGap}px` : "0px", A = (e == null ? void 0 : e.navWidth) != null ? e.navWidth : 160, I = "var(--ahd-tabs-tab-gap," + _ + ")", R = "var(--ahd-tabs-content-gap," + y + ")", N = (e == null ? void 0 : e.activeFontSize) != null ? ns(e.activeFontSize) : void 0, P = ((e == null ? void 0 : e.showActiveBorder) ?? !0) && !h ? c || "currentColor" : "transparent", O = (t == null ? void 0 : t.tabsAlign) ?? "left", F = O === "center" ? "center" : O === "right" ? "flex-end" : "flex-start", G = (t == null ? void 0 : t.dropdown) ?? !1, j = (t == null ? void 0 : t.dropdownTablet) ?? G, U = (t == null ? void 0 : t.dropdownMobile) ?? j, Z = e == null ? void 0 : e.padding, J = e == null ? void 0 : e.margin, X = ((J == null ? void 0 : J.left) ?? 0) + ((J == null ? void 0 : J.right) ?? 0), q = (e == null ? void 0 : e.borderWidth) ?? { top: 1, right: 1, bottom: 1, left: 1 }, te = `${q.top}px ${q.right}px ${q.bottom}px ${q.left}px`, $e = It(e == null ? void 0 : e.borderColor), Ce = e != null && e.borderColor ? $e ? {
|
|
9392
9392
|
borderStyle: "solid",
|
|
9393
9393
|
borderColor: "transparent",
|
|
9394
|
-
borderWidth:
|
|
9394
|
+
borderWidth: te,
|
|
9395
9395
|
borderImageSource: e.borderColor,
|
|
9396
9396
|
borderImageSlice: 1
|
|
9397
|
-
} : { borderStyle: "solid", borderColor: e.borderColor, borderWidth:
|
|
9398
|
-
width:
|
|
9397
|
+
} : { borderStyle: "solid", borderColor: e.borderColor, borderWidth: te } : {}, ve = {
|
|
9398
|
+
width: X > 0 ? `calc(100% - ${X}px)` : "100%",
|
|
9399
9399
|
boxSizing: "border-box",
|
|
9400
9400
|
background: B(e == null ? void 0 : e.backgroundColor, "bgAdaptive"),
|
|
9401
|
-
...
|
|
9401
|
+
...Ce,
|
|
9402
9402
|
borderRadius: xw(e == null ? void 0 : e.borderRadius),
|
|
9403
9403
|
padding: Z ? `${Z.top}px ${Z.right}px ${Z.bottom}px ${Z.left}px` : void 0,
|
|
9404
|
-
margin:
|
|
9404
|
+
margin: J ? `${J.top}px ${J.right}px ${J.bottom}px ${J.left}px` : void 0,
|
|
9405
9405
|
fontFamily: vw(e == null ? void 0 : e.fontFamily),
|
|
9406
9406
|
fontSize: ns(e == null ? void 0 : e.fontSize),
|
|
9407
9407
|
fontWeight: (e == null ? void 0 : e.fontWeight) ?? void 0,
|
|
9408
9408
|
lineHeight: (e == null ? void 0 : e.lineHeight) ?? 1.5,
|
|
9409
9409
|
color: w,
|
|
9410
9410
|
"--ahd-tabs-nav-border": S ?? "transparent"
|
|
9411
|
-
},
|
|
9411
|
+
}, xe = () => s.map((D, V) => /* @__PURE__ */ v(
|
|
9412
9412
|
"input",
|
|
9413
9413
|
{
|
|
9414
9414
|
type: "radio",
|
|
9415
|
-
id: `${u}-r${
|
|
9415
|
+
id: `${u}-r${V}`,
|
|
9416
9416
|
name: u,
|
|
9417
9417
|
className: "ahd-tabs-radio",
|
|
9418
|
-
defaultChecked:
|
|
9418
|
+
defaultChecked: V === 0,
|
|
9419
9419
|
style: kw
|
|
9420
9420
|
},
|
|
9421
|
-
|
|
9422
|
-
)), ee =
|
|
9423
|
-
const D = `.${u}`,
|
|
9424
|
-
let
|
|
9421
|
+
V
|
|
9422
|
+
)), ee = Me(() => {
|
|
9423
|
+
const D = `.${u}`, V = c || "currentColor", pe = w || "inherit", ke = `${D} > .ahd-tabs-dd-wrap > .ahd-tabs-nav > .ahd-tabs-label`, ge = `${ke} > .ahd-tabs-label-text`, fe = `${D} > .ahd-tabs-panels > .ahd-tabs-panel`, Ae = d ?? pe;
|
|
9424
|
+
let ae = `${ke}{${Vr(Ae)};${qr(f)};${Sw(p, m)};border-radius:${b}}${ge}{${Yr(Ae)}}` + (i ? "" : `${fe}{display:none}`) + `${D} > .ahd-tabs-dd-wrap{display:contents}${D} > .ahd-tabs-dd-wrap > .ahd-tabs-dd-trigger{display:none}${D} > .ahd-tabs-dd-wrap > .ahd-tabs-dd-trigger > .ahd-tabs-dd-current > .ahd-tabs-dd-current-item{display:none}`;
|
|
9425
9425
|
s.forEach((Rt, Ze) => {
|
|
9426
|
-
const ot = `#${u}-r${Ze}:checked`, lt = `${ot} ~ .ahd-tabs-dd-wrap > .ahd-tabs-nav > .ahd-tabs-label:nth-of-type(${Ze + 1})`, Bt = `${ot} ~ .ahd-tabs-panels > .ahd-tabs-panel:nth-of-type(${Ze + 1})`, Tt = It(P), Qe = `${Vr(
|
|
9426
|
+
const ot = `#${u}-r${Ze}:checked`, lt = `${ot} ~ .ahd-tabs-dd-wrap > .ahd-tabs-nav > .ahd-tabs-label:nth-of-type(${Ze + 1})`, Bt = `${ot} ~ .ahd-tabs-panels > .ahd-tabs-panel:nth-of-type(${Ze + 1})`, Tt = It(P), Qe = `${Vr(V, !0)};${qr(h, !0)};box-shadow:none!important` + // Non-gradient border still routes through the CSS var so the
|
|
9427
9427
|
// showActiveBorder per-device toggle (responsiveCss.ts) keeps working.
|
|
9428
9428
|
(Tt ? `;${va(P, "3px", n === "vertical" ? "left" : "bottom", !0)}` : `;border-left-color:var(--ahd-tabs-active-border-color,${P})!important;border-bottom-color:var(--ahd-tabs-active-border-color,${P})!important`);
|
|
9429
|
-
|
|
9430
|
-
}),
|
|
9431
|
-
const
|
|
9429
|
+
ae += `${lt}{${Qe}}`, ae += `${lt} > .ahd-tabs-label-text{font-size:var(--ahd-tabs-active-font-size,${N ?? "inherit"})!important;${Yr(V, !0)}}`, i || (ae += `${Bt}{display:block!important}`), ae += `${ot} ~ .ahd-tabs-dd-wrap > .ahd-tabs-dd-trigger > .ahd-tabs-dd-current > .ahd-tabs-dd-current-item:nth-of-type(${Ze + 1}){display:inline}`;
|
|
9430
|
+
}), ae += gn(D, n, x, I, R, F, A != null ? String(A) : void 0, S ?? void 0), r !== n && (ae += `${Do}{${gn(D, r, x, I, R, F, A != null ? String(A) : void 0, S ?? void 0)}}`), o !== r && (ae += `${Fo}{${gn(D, o, x, I, R, F, A != null ? String(A) : void 0, S ?? void 0)}}`);
|
|
9431
|
+
const Le = p || S || B(null, "tabsRing"), je = (e == null ? void 0 : e.tabBorderRadius) != null ? `${e.tabBorderRadius}px` : "8px", me = B(e == null ? void 0 : e.tabBgColor, { role: "surface", seeds: [], nullFallback: "#fff" }), We = w ?? "inherit", Ue = h ?? "transparent", Q = c ?? "inherit", Fe = p ? It(p) ? "none" : `inset 0 0 0 ${m}px ${p}` : "none", Be = It(p) ? p : void 0, ie = $w(
|
|
9432
9432
|
D,
|
|
9433
|
-
|
|
9433
|
+
Le,
|
|
9434
9434
|
R,
|
|
9435
9435
|
je,
|
|
9436
|
-
|
|
9436
|
+
me,
|
|
9437
9437
|
We,
|
|
9438
9438
|
Ue,
|
|
9439
9439
|
Q,
|
|
@@ -9447,7 +9447,7 @@ function _w({ style: e, props: t }) {
|
|
|
9447
9447
|
Be,
|
|
9448
9448
|
m
|
|
9449
9449
|
);
|
|
9450
|
-
return l && (
|
|
9450
|
+
return l && (ae += `${D} > .ahd-tabs-dd-wrap > .ahd-tabs-nav{position:sticky;top:0;z-index:50}:where(.ahd-block-wrapper,[id]):has(> ${D}){position:sticky;top:0;z-index:50}`), G ? (ae += ie, j || (ae += `${Do}{${Bo(D, b)}${gn(D, r, x, I, R, F, A != null ? String(A) : void 0, S ?? void 0)}}`), !U && j && (ae += `${Fo}{${Bo(D, b)}${gn(D, o, x, I, R, F, A != null ? String(A) : void 0, S ?? void 0)}}`)) : (j && (ae += `${Do}{${ie}}`), U !== j && (ae += `${Fo}{${U ? ie : Bo(D, b) + gn(D, o, x, I, R, F, A != null ? String(A) : void 0, S ?? void 0)}}`)), ae;
|
|
9451
9451
|
}, [
|
|
9452
9452
|
s,
|
|
9453
9453
|
u,
|
|
@@ -9480,46 +9480,46 @@ function _w({ style: e, props: t }) {
|
|
|
9480
9480
|
"div",
|
|
9481
9481
|
{
|
|
9482
9482
|
className: `${u} ahd-tabs ${n === "vertical" ? "ahd-tabs-o-v" : "ahd-tabs-o-h"}${l ? " ahd-tabs-sticky" : ""}${i ? " ahd-tabs-scroll-sections" : ""}`,
|
|
9483
|
-
...
|
|
9484
|
-
style:
|
|
9483
|
+
...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"),
|
|
9484
|
+
style: ve,
|
|
9485
9485
|
children: [
|
|
9486
9486
|
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: ee } }),
|
|
9487
|
-
|
|
9487
|
+
xe(),
|
|
9488
9488
|
/* @__PURE__ */ L("div", { className: "ahd-tabs-dd-wrap", children: [
|
|
9489
9489
|
/* @__PURE__ */ L("button", { type: "button", className: "ahd-tabs-dd-trigger", "aria-haspopup": "listbox", tabIndex: 0, children: [
|
|
9490
|
-
/* @__PURE__ */ v("span", { className: "ahd-tabs-dd-current", children: s.map((D,
|
|
9490
|
+
/* @__PURE__ */ v("span", { className: "ahd-tabs-dd-current", children: s.map((D, V) => /* @__PURE__ */ v("span", { className: "ahd-tabs-dd-current-item", "data-ahd-tab-index": V, children: D.label ?? `Tab ${V + 1}` }, V)) }),
|
|
9491
9491
|
/* @__PURE__ */ v("span", { className: "ahd-tabs-dd-arrow", "aria-hidden": "true" })
|
|
9492
9492
|
] }),
|
|
9493
|
-
/* @__PURE__ */ v("div", { className: "ahd-tabs-nav", style: { background: k, ...l ? { position: "sticky", top: 0 } : {} }, children: s.map((D,
|
|
9493
|
+
/* @__PURE__ */ v("div", { className: "ahd-tabs-nav", style: { background: k, ...l ? { position: "sticky", top: 0 } : {} }, children: s.map((D, V) => /* @__PURE__ */ v(
|
|
9494
9494
|
"label",
|
|
9495
9495
|
{
|
|
9496
|
-
htmlFor: `${u}-r${
|
|
9496
|
+
htmlFor: `${u}-r${V}`,
|
|
9497
9497
|
className: "ahd-tabs-label",
|
|
9498
|
-
"data-ahd-tab-index":
|
|
9498
|
+
"data-ahd-tab-index": V,
|
|
9499
9499
|
tabIndex: -1,
|
|
9500
9500
|
style: { alignItems: "center", cursor: "pointer", padding: n === "vertical" ? "10px 16px" : "10px 18px", whiteSpace: n === "vertical" ? "normal" : "nowrap", transition: "color .15s ease,border-color .15s ease", userSelect: "none", position: "relative", outline: "none" },
|
|
9501
|
-
children: /* @__PURE__ */ v("span", { className: "ahd-tabs-label-text", style: ww, children: D.label ?? `Tab ${
|
|
9501
|
+
children: /* @__PURE__ */ v("span", { className: "ahd-tabs-label-text", style: ww, children: D.label ?? `Tab ${V + 1}` })
|
|
9502
9502
|
},
|
|
9503
|
-
|
|
9503
|
+
V
|
|
9504
9504
|
)) })
|
|
9505
9505
|
] }),
|
|
9506
|
-
/* @__PURE__ */ v("div", { className: "ahd-tabs-panels", children: s.map((D,
|
|
9506
|
+
/* @__PURE__ */ v("div", { className: "ahd-tabs-panels", children: s.map((D, V) => /* @__PURE__ */ v(
|
|
9507
9507
|
"div",
|
|
9508
9508
|
{
|
|
9509
|
-
id: `${u}-panel-${
|
|
9509
|
+
id: `${u}-panel-${V}`,
|
|
9510
9510
|
className: "ahd-tabs-panel",
|
|
9511
|
-
"data-ahd-tab-index":
|
|
9512
|
-
style: Y(
|
|
9513
|
-
children: (D.contentChildrenIds ?? []).map((
|
|
9511
|
+
"data-ahd-tab-index": V,
|
|
9512
|
+
style: Y(V),
|
|
9513
|
+
children: (D.contentChildrenIds ?? []).map((pe) => /* @__PURE__ */ v(Oe, { id: pe }, pe))
|
|
9514
9514
|
},
|
|
9515
|
-
|
|
9515
|
+
V
|
|
9516
9516
|
)) })
|
|
9517
9517
|
]
|
|
9518
9518
|
}
|
|
9519
9519
|
);
|
|
9520
9520
|
}
|
|
9521
9521
|
const Do = `@media (max-width:${Ve}px)`, Fo = `@media (max-width:${Je}px)`, Cw = C({
|
|
9522
|
-
contentChildrenIds:
|
|
9522
|
+
contentChildrenIds: oe($()).optional().nullable()
|
|
9523
9523
|
}), Aw = C({
|
|
9524
9524
|
style: C({
|
|
9525
9525
|
backgroundColor: $().optional().nullable(),
|
|
@@ -9565,7 +9565,7 @@ const Do = `@media (max-width:${Ve}px)`, Fo = `@media (max-width:${Je}px)`, Cw =
|
|
|
9565
9565
|
autoplayInterval: g().min(500).max(2e4).optional().nullable(),
|
|
9566
9566
|
loop: z().optional().nullable(),
|
|
9567
9567
|
transitionMs: g().min(0).max(3e3).optional().nullable(),
|
|
9568
|
-
items:
|
|
9568
|
+
items: oe(Cw).min(1).max(20).optional().nullable()
|
|
9569
9569
|
}).optional().nullable()
|
|
9570
9570
|
});
|
|
9571
9571
|
function yw(e) {
|
|
@@ -9574,10 +9574,10 @@ function yw(e) {
|
|
|
9574
9574
|
}
|
|
9575
9575
|
const Iw = "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z", Rw = "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z", rs = ({ d: e, size: t = 20 }) => /* @__PURE__ */ v("svg", { width: t, height: t, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ v("path", { d: e }) });
|
|
9576
9576
|
function Tw({ style: e, props: t }) {
|
|
9577
|
-
const n =
|
|
9577
|
+
const n = Me(
|
|
9578
9578
|
() => t != null && t.items && t.items.length > 0 ? t.items : [{ contentChildrenIds: [] }],
|
|
9579
9579
|
[t == null ? void 0 : t.items]
|
|
9580
|
-
), r =
|
|
9580
|
+
), r = Me(() => `carousel-${Math.random().toString(36).slice(2, 9)}`, []), o = Math.max(1, (t == null ? void 0 : t.slidesPerView) ?? 1), a = Math.max(1, (t == null ? void 0 : t.slidesPerViewTablet) ?? Math.min(o, 2)), i = Math.max(1, (t == null ? void 0 : t.slidesPerViewMobile) ?? 1), l = (t == null ? void 0 : t.showArrows) ?? !0, s = (t == null ? void 0 : t.showDots) ?? !0, u = (t == null ? void 0 : t.autoplay) ?? !1, c = (t == null ? void 0 : t.autoplayInterval) ?? 4e3, h = (t == null ? void 0 : t.loop) ?? !0, d = (t == null ? void 0 : t.transitionMs) ?? 400, f = (e == null ? void 0 : e.slideGap) ?? 16, p = B(e == null ? void 0 : e.arrowColor, "carouselArrow"), m = B(e == null ? void 0 : e.arrowBgColor, "carouselArrowBg"), b = B(e == null ? void 0 : e.arrowBorderColor, "carouselArrowBorder"), w = (e == null ? void 0 : e.arrowSize) ?? 40, k = B(e == null ? void 0 : e.dotColor, "carouselDot"), S = B(e == null ? void 0 : e.dotActiveColor, "carouselDotActive"), x = (e == null ? void 0 : e.dotSize) ?? 8, _ = Math.max(12, Math.min(40, Math.round(w * 0.5))), y = e == null ? void 0 : e.padding, A = e == null ? void 0 : e.margin, I = ((A == null ? void 0 : A.left) ?? 0) + ((A == null ? void 0 : A.right) ?? 0), R = {
|
|
9581
9581
|
width: I > 0 ? `calc(100% - ${I}px)` : "100%",
|
|
9582
9582
|
boxSizing: "border-box",
|
|
9583
9583
|
position: "relative",
|
|
@@ -9586,7 +9586,7 @@ function Tw({ style: e, props: t }) {
|
|
|
9586
9586
|
borderRadius: yw(e == null ? void 0 : e.borderRadius),
|
|
9587
9587
|
padding: y ? `${y.top}px ${y.right}px ${y.bottom}px ${y.left}px` : void 0,
|
|
9588
9588
|
margin: A ? `${A.top}px ${A.right}px ${A.bottom}px ${A.left}px` : void 0
|
|
9589
|
-
}, N =
|
|
9589
|
+
}, N = Me(() => {
|
|
9590
9590
|
const F = `.${r}`, G = (j) => `calc((100% - ${f * (j - 1)}px) / ${j})`;
|
|
9591
9591
|
return `${F} .ahd-carousel-viewport{overflow:hidden;width:100%}${F} .ahd-carousel-track{display:flex;gap:var(--ahd-carousel-slide-gap,${f}px);transition:transform ${d}ms ease;will-change:transform}${F} .ahd-carousel-slide{flex:0 0 ${G(o)};min-width:0;box-sizing:border-box}${F} .ahd-carousel-prev svg,${F} .ahd-carousel-next svg{width:var(--ahd-carousel-chevron-size,${_}px);height:var(--ahd-carousel-chevron-size,${_}px)}@media (max-width:${Ve}px){${F} .ahd-carousel-slide{flex-basis:${G(a)}}}@media (max-width:${Je}px){${F} .ahd-carousel-slide{flex-basis:${G(i)}}}`;
|
|
9592
9592
|
}, [r, f, d, o, a, i, _]), M = {
|
|
@@ -9616,7 +9616,7 @@ function Tw({ style: e, props: t }) {
|
|
|
9616
9616
|
"div",
|
|
9617
9617
|
{
|
|
9618
9618
|
className: `${r} ahd-carousel`,
|
|
9619
|
-
...
|
|
9619
|
+
...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"),
|
|
9620
9620
|
style: R,
|
|
9621
9621
|
"data-per-view": o,
|
|
9622
9622
|
"data-per-view-tablet": a,
|
|
@@ -9628,7 +9628,7 @@ function Tw({ style: e, props: t }) {
|
|
|
9628
9628
|
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: N } }),
|
|
9629
9629
|
/* @__PURE__ */ L("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
9630
9630
|
l && /* @__PURE__ */ v("button", { type: "button", className: "ahd-carousel-prev", style: M, "aria-label": "Previous slide", children: /* @__PURE__ */ v(rs, { d: Iw, size: _ }) }),
|
|
9631
|
-
/* @__PURE__ */ v("div", { className: "ahd-carousel-viewport", children: /* @__PURE__ */ v("div", { className: "ahd-carousel-track", children: n.map((F, G) => /* @__PURE__ */ v("div", { className: "ahd-carousel-slide", "data-ahd-slide-index": G, children: (F.contentChildrenIds ?? []).map((j) => /* @__PURE__ */ v(
|
|
9631
|
+
/* @__PURE__ */ v("div", { className: "ahd-carousel-viewport", children: /* @__PURE__ */ v("div", { className: "ahd-carousel-track", children: n.map((F, G) => /* @__PURE__ */ v("div", { className: "ahd-carousel-slide", "data-ahd-slide-index": G, children: (F.contentChildrenIds ?? []).map((j) => /* @__PURE__ */ v(Oe, { id: j }, j)) }, G)) }) }),
|
|
9632
9632
|
l && /* @__PURE__ */ v("button", { type: "button", className: "ahd-carousel-next", style: M, "aria-label": "Next slide", children: /* @__PURE__ */ v(rs, { d: Rw, size: _ }) })
|
|
9633
9633
|
] }),
|
|
9634
9634
|
s && O > 1 && /* @__PURE__ */ v(
|
|
@@ -9669,9 +9669,9 @@ function Tw({ style: e, props: t }) {
|
|
|
9669
9669
|
);
|
|
9670
9670
|
}
|
|
9671
9671
|
const Nw = T(["left", "center", "right", "space-between"]), Ew = C({
|
|
9672
|
-
contentChildrenIds:
|
|
9672
|
+
contentChildrenIds: oe($()).optional().nullable()
|
|
9673
9673
|
}), Pw = C({
|
|
9674
|
-
childrenIds:
|
|
9674
|
+
childrenIds: oe($())
|
|
9675
9675
|
}), Mw = C({
|
|
9676
9676
|
style: C({
|
|
9677
9677
|
backgroundColor: $().optional().nullable(),
|
|
@@ -9723,8 +9723,8 @@ const Nw = T(["left", "center", "right", "space-between"]), Ew = C({
|
|
|
9723
9723
|
fontFamily: $().optional().nullable()
|
|
9724
9724
|
}).optional().nullable(),
|
|
9725
9725
|
props: C({
|
|
9726
|
-
items:
|
|
9727
|
-
cells:
|
|
9726
|
+
items: oe(Ew).min(1).max(50).optional().nullable(),
|
|
9727
|
+
cells: oe(Pw).optional().nullable(),
|
|
9728
9728
|
columnsCount: g().int().min(1).max(12).optional().nullable(),
|
|
9729
9729
|
rowsCount: g().int().min(1).max(24).optional().nullable(),
|
|
9730
9730
|
columnsCountTablet: g().int().min(1).max(12).optional().nullable(),
|
|
@@ -9872,10 +9872,10 @@ function Gw({ style: e, props: t }) {
|
|
|
9872
9872
|
Go(t, "desktop"),
|
|
9873
9873
|
Go(t, "tablet"),
|
|
9874
9874
|
Go(t, "mobile")
|
|
9875
|
-
), l =
|
|
9875
|
+
), l = Me(() => r.cells.length >= i ? r.cells : Array.from({ length: i }, (U, Z) => r.cells[Z] ?? { childrenIds: [] }), [r.cells, i]), s = Me(
|
|
9876
9876
|
() => Lw(l, i),
|
|
9877
9877
|
[l, i]
|
|
9878
|
-
), u = Dw(s.length), c = (e == null ? void 0 : e.columnsGap) ?? n.itemGap, h = (e == null ? void 0 : e.rowsGap) ?? n.itemGap, d =
|
|
9878
|
+
), u = Dw(s.length), c = (e == null ? void 0 : e.columnsGap) ?? n.itemGap, h = (e == null ? void 0 : e.rowsGap) ?? n.itemGap, d = Me(() => `pgn-${Math.random().toString(36).slice(2, 9)}`, []), f = Me(
|
|
9879
9879
|
() => Fw(1, u, n.maxVisiblePages),
|
|
9880
9880
|
[u, n.maxVisiblePages]
|
|
9881
9881
|
), p = pi(), m = B(e == null ? void 0 : e.backgroundColor, "bgAdaptive"), b = p(e == null ? void 0 : e.borderColor), w = B(n.buttonBg, "paginationBg"), k = B(n.buttonColor, "paginationText"), S = B(n.buttonBorderColor, "paginationBorder"), x = B(n.arrowColor, "paginationText"), _ = p(n.activeButtonBg), y = p(n.activeButtonColor), A = p(n.activeButtonBorderColor), I = e == null ? void 0 : e.padding, R = e == null ? void 0 : e.margin, N = ((R == null ? void 0 : R.left) ?? 0) + ((R == null ? void 0 : R.right) ?? 0), M = {
|
|
@@ -9906,15 +9906,15 @@ function Gw({ style: e, props: t }) {
|
|
|
9906
9906
|
justifyContent: "center",
|
|
9907
9907
|
cursor: "pointer",
|
|
9908
9908
|
boxSizing: "border-box"
|
|
9909
|
-
}, F = { ...O, color: x }, G =
|
|
9910
|
-
const U = (
|
|
9911
|
-
const
|
|
9912
|
-
Math.max(1,
|
|
9909
|
+
}, F = { ...O, color: x }, G = Me(() => {
|
|
9910
|
+
const U = (X) => `grid-template-columns:repeat(${X.columnsCount},minmax(0,1fr));grid-template-rows:repeat(${Ow(X.columnsCount, X.rowsCount, i)},auto)`, Z = (X, q) => {
|
|
9911
|
+
const te = Math.min(
|
|
9912
|
+
Math.max(1, q.columnsCount * q.rowsCount),
|
|
9913
9913
|
Math.max(1, i)
|
|
9914
9914
|
);
|
|
9915
|
-
return
|
|
9916
|
-
},
|
|
9917
|
-
return `${
|
|
9915
|
+
return te >= i ? "" : `${X} .ahd-pgn-item>.ahd-pgn-cell:nth-child(n+${te + 1}){display:none}`;
|
|
9916
|
+
}, J = `.${d}`;
|
|
9917
|
+
return `${J} .ahd-pgn-item{display:grid;${U(r)};column-gap:${c}px;row-gap:${h}px}${J} .ahd-pgn-cell{display:flex;flex-direction:column;gap:${n.itemGap}px;min-width:0;box-sizing:border-box}` + Z(J, r) + `@media (max-width:${Ve}px){${J} .ahd-pgn-item{${U(o)}}${J} .ahd-pgn-item>.ahd-pgn-cell{display:flex}` + Z(J, o) + `}@media (max-width:${Je}px){${J} .ahd-pgn-item{${U(a)}}${J} .ahd-pgn-item>.ahd-pgn-cell{display:flex}` + Z(J, a) + "}";
|
|
9918
9918
|
}, [
|
|
9919
9919
|
d,
|
|
9920
9920
|
r,
|
|
@@ -9924,12 +9924,12 @@ function Gw({ style: e, props: t }) {
|
|
|
9924
9924
|
c,
|
|
9925
9925
|
h,
|
|
9926
9926
|
n.itemGap
|
|
9927
|
-
]), j = (U, Z,
|
|
9927
|
+
]), j = (U, Z, J) => /* @__PURE__ */ v(
|
|
9928
9928
|
"button",
|
|
9929
9929
|
{
|
|
9930
9930
|
type: "button",
|
|
9931
9931
|
className: `ahd-pgn-btn ${U}`,
|
|
9932
|
-
"data-ahd-page":
|
|
9932
|
+
"data-ahd-page": J,
|
|
9933
9933
|
style: F,
|
|
9934
9934
|
"aria-label": Z,
|
|
9935
9935
|
children: Z
|
|
@@ -9939,7 +9939,7 @@ function Gw({ style: e, props: t }) {
|
|
|
9939
9939
|
"div",
|
|
9940
9940
|
{
|
|
9941
9941
|
className: `${d} ahd-pagination`,
|
|
9942
|
-
...
|
|
9942
|
+
...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"),
|
|
9943
9943
|
style: M,
|
|
9944
9944
|
"data-total-pages": u,
|
|
9945
9945
|
"data-page-param": n.pageParam,
|
|
@@ -9970,7 +9970,7 @@ function Gw({ style: e, props: t }) {
|
|
|
9970
9970
|
className: "ahd-pgn-item",
|
|
9971
9971
|
"data-ahd-page-index": Z,
|
|
9972
9972
|
style: Z === 0 ? void 0 : { display: "none" },
|
|
9973
|
-
children: U.map((
|
|
9973
|
+
children: U.map((J, X) => /* @__PURE__ */ v("div", { className: "ahd-pgn-cell", children: (J.childrenIds ?? []).map((q) => /* @__PURE__ */ v(Oe, { id: q }, q)) }, X))
|
|
9974
9974
|
},
|
|
9975
9975
|
Z
|
|
9976
9976
|
)) }),
|
|
@@ -10126,7 +10126,7 @@ function Zw({
|
|
|
10126
10126
|
);
|
|
10127
10127
|
}
|
|
10128
10128
|
function qw({ style: e, props: t }) {
|
|
10129
|
-
const n =
|
|
10129
|
+
const n = Me(() => `rating-${Math.random().toString(36).slice(2, 9)}`, []), r = (w, k) => {
|
|
10130
10130
|
if (typeof w == "number") return Number.isFinite(w) ? w : k;
|
|
10131
10131
|
const S = parseFloat(String(w ?? ""));
|
|
10132
10132
|
return Number.isFinite(S) ? S : k;
|
|
@@ -10357,7 +10357,7 @@ function tS({ steps: e, activeIndex: t, trackColor: n, fillColor: r, stepSize: o
|
|
|
10357
10357
|
] });
|
|
10358
10358
|
}
|
|
10359
10359
|
function nS({ style: e, props: t }) {
|
|
10360
|
-
const n =
|
|
10360
|
+
const n = Me(() => `progress-${Math.random().toString(36).slice(2, 9)}`, []), r = (t == null ? void 0 : t.variant) ?? "linear", o = Math.max(1, as(t == null ? void 0 : t.max, 100)), a = Math.max(0, Math.min(o, as(t == null ? void 0 : t.value, 0))), i = a / o * 100, l = (t == null ? void 0 : t.showLabel) ?? !0, s = (t == null ? void 0 : t.labelFormat) ?? "percent", u = l ? is(i, a, o, s) : null, c = `Progress: ${is(i, a, o, "percent")}`, h = B((e == null ? void 0 : e.trackColor) ?? "#e5e7eb", "track"), d = se((e == null ? void 0 : e.fillColor) ?? "#3F73FF") ?? "#3F73FF", f = B((e == null ? void 0 : e.textColor) ?? "#262626", "trackText"), p = (e == null ? void 0 : e.textAlign) ?? "left", m = e == null ? void 0 : e.padding, b = e == null ? void 0 : e.margin, w = {
|
|
10361
10361
|
display: "flex",
|
|
10362
10362
|
justifyContent: p === "center" ? "center" : p === "right" ? "flex-end" : "flex-start",
|
|
10363
10363
|
color: f,
|
|
@@ -10457,7 +10457,7 @@ const rS = C({
|
|
|
10457
10457
|
repeat: g().min(2).max(6).optional().nullable(),
|
|
10458
10458
|
fadeEdges: z().optional().nullable(),
|
|
10459
10459
|
verticalAlign: T(["top", "middle", "bottom"]).optional().nullable(),
|
|
10460
|
-
items:
|
|
10460
|
+
items: oe(C({ contentChildrenIds: oe($()).optional().nullable() })).min(1).max(30).optional().nullable()
|
|
10461
10461
|
}).optional().nullable()
|
|
10462
10462
|
}), oS = 40, aS = 32, iS = 200, su = (e, t) => typeof e == "number" ? Math.max(40, Math.min(1200, e)) : t, cu = (e, t) => typeof e == "number" ? Math.max(5, Math.min(200, e)) : t, lS = (e) => Math.max(2, Math.round(1200 / e)), sS = (e) => Math.max(2, Math.min(6, typeof e == "number" ? e : 2)), uu = (e) => e === "up" || e === "down", cS = (e) => e === "top" ? "flex-start" : e === "bottom" ? "flex-end" : "center", Kr = (e) => e ? "linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent)" : "linear-gradient(to right, transparent, #000 12%, #000 88%, transparent)";
|
|
10463
10463
|
function uS(e, t) {
|
|
@@ -10512,7 +10512,7 @@ function mS(e, t) {
|
|
|
10512
10512
|
};
|
|
10513
10513
|
}
|
|
10514
10514
|
function bS({ style: e, props: t, responsive: n }) {
|
|
10515
|
-
const r =
|
|
10515
|
+
const r = Me(() => `marquee-${Math.random().toString(36).slice(2, 9)}`, []), o = t != null && t.items && t.items.length > 0 ? t.items : [{ contentChildrenIds: [] }], a = (t == null ? void 0 : t.direction) ?? "left", i = sS(t == null ? void 0 : t.repeat), l = uu(a), s = uS(e, t), u = B(e == null ? void 0 : e.backgroundColor, "bgAdaptive"), c = se(e == null ? void 0 : e.borderColor), h = e == null ? void 0 : e.padding, d = e == null ? void 0 : e.margin, f = ((d == null ? void 0 : d.left) ?? 0) + ((d == null ? void 0 : d.right) ?? 0), p = {
|
|
10516
10516
|
width: f > 0 ? `calc(100% - ${f}px)` : "100%",
|
|
10517
10517
|
maxWidth: "100%",
|
|
10518
10518
|
minWidth: 0,
|
|
@@ -10525,7 +10525,7 @@ function bS({ style: e, props: t, responsive: n }) {
|
|
|
10525
10525
|
padding: h ? `${h.top}px ${h.right}px ${h.bottom}px ${h.left}px` : void 0,
|
|
10526
10526
|
margin: d ? `${d.top}px ${d.right}px ${d.bottom}px ${d.left}px` : void 0,
|
|
10527
10527
|
...s.fadeEdges ? { WebkitMaskImage: Kr(l), maskImage: Kr(l) } : {}
|
|
10528
|
-
}, m = (t == null ? void 0 : t.verticalAlign) ?? "middle", b =
|
|
10528
|
+
}, m = (t == null ? void 0 : t.verticalAlign) ?? "middle", b = Me(
|
|
10529
10529
|
() => pS({ instanceId: r, direction: a, repeat: i, desktop: s, responsive: n, verticalAlign: m }),
|
|
10530
10530
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
10531
10531
|
[
|
|
@@ -10540,8 +10540,8 @@ function bS({ style: e, props: t, responsive: n }) {
|
|
|
10540
10540
|
n,
|
|
10541
10541
|
m
|
|
10542
10542
|
]
|
|
10543
|
-
), w = (k) => /* @__PURE__ */ v("div", { className: "ahd-marquee-group", "aria-hidden": k > 0 ? !0 : void 0, children: o.map((S, x) => /* @__PURE__ */ v("div", { className: "ahd-marquee-item", children: (S.contentChildrenIds ?? []).map((_) => /* @__PURE__ */ v(
|
|
10544
|
-
return /* @__PURE__ */ L("div", { className: `${r} ahd-marquee`, ...
|
|
10543
|
+
), w = (k) => /* @__PURE__ */ v("div", { className: "ahd-marquee-group", "aria-hidden": k > 0 ? !0 : void 0, children: o.map((S, x) => /* @__PURE__ */ v("div", { className: "ahd-marquee-item", children: (S.contentChildrenIds ?? []).map((_) => /* @__PURE__ */ v(Oe, { id: _ }, _)) }, x)) }, k);
|
|
10544
|
+
return /* @__PURE__ */ L("div", { className: `${r} ahd-marquee`, ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: p, children: [
|
|
10545
10545
|
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: b } }),
|
|
10546
10546
|
/* @__PURE__ */ v("div", { className: "ahd-marquee-viewport", children: /* @__PURE__ */ v("div", { className: "ahd-marquee-track", children: Array.from({ length: i }).map((k, S) => w(S)) }) })
|
|
10547
10547
|
] });
|
|
@@ -10785,7 +10785,7 @@ function RS({ style: e, props: t }) {
|
|
|
10785
10785
|
"data-ahd-timer-expired-message": i,
|
|
10786
10786
|
"data-ahd-timer-show-labels": o ? "1" : "0",
|
|
10787
10787
|
"data-ahd-timer-confetti": n.showConfetti ? "1" : "0",
|
|
10788
|
-
...
|
|
10788
|
+
...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"),
|
|
10789
10789
|
style: { ...y, display: R ? "none" : void 0 },
|
|
10790
10790
|
children: [
|
|
10791
10791
|
/* @__PURE__ */ v("div", { "data-ahd-timer-message": !0, style: { textAlign: "center", color: d ?? p, display: I ? void 0 : "none" }, children: i }),
|
|
@@ -11048,14 +11048,14 @@ function xu(e) {
|
|
|
11048
11048
|
sn = e;
|
|
11049
11049
|
}
|
|
11050
11050
|
var nn = { exec: () => null };
|
|
11051
|
-
function
|
|
11051
|
+
function mn(e) {
|
|
11052
11052
|
let t = [];
|
|
11053
11053
|
return (n) => {
|
|
11054
11054
|
let r = Math.max(0, Math.min(3, n - 1)), o = t[r];
|
|
11055
11055
|
return o || (o = e(r), t[r] = o), o;
|
|
11056
11056
|
};
|
|
11057
11057
|
}
|
|
11058
|
-
function
|
|
11058
|
+
function he(e, t = "") {
|
|
11059
11059
|
let n = typeof e == "string" ? e : e.source, r = { replace: (o, a) => {
|
|
11060
11060
|
let i = typeof a == "string" ? a : a.source;
|
|
11061
11061
|
return i = i.replace(Ke.caret, "$1"), n = n.replace(o, i), r;
|
|
@@ -11068,8 +11068,8 @@ var h$ = ((e = "") => {
|
|
|
11068
11068
|
} catch {
|
|
11069
11069
|
return !1;
|
|
11070
11070
|
}
|
|
11071
|
-
})(), Ke = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] +\S/, listReplaceTask: /^\[[ xX]\] +/, listTaskCheckbox: /\[[ xX]\]/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (e) => new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex:
|
|
11072
|
-
]`).replace("lheading", wu).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, C$ = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, A$ = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, $u = /^( {2,}|\\)\n(?!\s*$)/, y$ = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,
|
|
11071
|
+
})(), Ke = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] +\S/, listReplaceTask: /^\[[ xX]\] +/, listTaskCheckbox: /\[[ xX]\]/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (e) => new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: mn((e) => new RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)), hrRegex: mn((e) => new RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)), fencesBeginRegex: mn((e) => new RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)), headingBeginRegex: mn((e) => new RegExp(`^ {0,${e}}#`)), htmlBeginRegex: mn((e) => new RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`, "i")), blockquoteBeginRegex: mn((e) => new RegExp(`^ {0,${e}}>`)) }, f$ = /^(?:[ \t]*(?:\n|$))+/, p$ = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, g$ = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, lr = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, m$ = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, wi = / {0,3}(?:[*+-]|\d{1,9}[.)])/, ku = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, wu = he(ku).replace(/bull/g, wi).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), b$ = he(ku).replace(/bull/g, wi).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Si = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, v$ = /^[^\n]+/, $i = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, x$ = he(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", $i).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), k$ = he(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g, wi).getRegex(), po = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", _i = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, w$ = he("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", _i).replace("tag", po).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Su = he(Si).replace("hr", lr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", po).getRegex(), S$ = he(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Su).getRegex(), Ci = { blockquote: S$, code: p$, def: x$, fences: g$, heading: m$, hr: lr, html: w$, lheading: wu, list: k$, newline: f$, paragraph: Su, table: nn, text: v$ }, us = he("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", lr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", po).getRegex(), $$ = { ...Ci, lheading: b$, table: us, paragraph: he(Si).replace("hr", lr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", us).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", po).getRegex() }, _$ = { ...Ci, html: he(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", _i).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: nn, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: he(Si).replace("hr", lr).replace("heading", ` *#{1,6} *[^
|
|
11072
|
+
]`).replace("lheading", wu).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, C$ = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, A$ = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, $u = /^( {2,}|\\)\n(?!\s*$)/, y$ = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Pn = /[\p{P}\p{S}]/u, go = /[\s\p{P}\p{S}]/u, Ai = /[^\s\p{P}\p{S}]/u, I$ = he(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, go).getRegex(), _u = /(?!~)[\p{P}\p{S}]/u, R$ = /(?!~)[\s\p{P}\p{S}]/u, T$ = /(?:[^\s\p{P}\p{S}]|~)/u, N$ = he(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", h$ ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), Cu = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, E$ = he(Cu, "u").replace(/punct/g, Pn).getRegex(), P$ = he(Cu, "u").replace(/punct/g, _u).getRegex(), Au = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", M$ = he(Au, "gu").replace(/notPunctSpace/g, Ai).replace(/punctSpace/g, go).replace(/punct/g, Pn).getRegex(), O$ = he(Au, "gu").replace(/notPunctSpace/g, T$).replace(/punctSpace/g, R$).replace(/punct/g, _u).getRegex(), L$ = he("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Ai).replace(/punctSpace/g, go).replace(/punct/g, Pn).getRegex(), z$ = he(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, Pn).getRegex(), B$ = "^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", D$ = he(B$, "gu").replace(/notPunctSpace/g, Ai).replace(/punctSpace/g, go).replace(/punct/g, Pn).getRegex(), F$ = he(/\\(punct)/, "gu").replace(/punct/g, Pn).getRegex(), H$ = he(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), G$ = he(_i).replace("(?:-->|$)", "-->").getRegex(), j$ = he("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", G$).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Jr = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, W$ = he(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", Jr).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), yu = he(/^!?\[(label)\]\[(ref)\]/).replace("label", Jr).replace("ref", $i).getRegex(), Iu = he(/^!?\[(ref)\](?:\[\])?/).replace("ref", $i).getRegex(), U$ = he("reflink|nolink(?!\\()", "g").replace("reflink", yu).replace("nolink", Iu).getRegex(), ds = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, yi = { _backpedal: nn, anyPunctuation: F$, autolink: H$, blockSkip: N$, br: $u, code: A$, del: nn, delLDelim: nn, delRDelim: nn, emStrongLDelim: E$, emStrongRDelimAst: M$, emStrongRDelimUnd: L$, escape: C$, link: W$, nolink: Iu, punctuation: I$, reflink: yu, reflinkSearch: U$, tag: j$, text: y$, url: nn }, Z$ = { ...yi, link: he(/^!?\[(label)\]\((.*?)\)/).replace("label", Jr).getRegex(), reflink: he(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Jr).getRegex() }, $a = { ...yi, emStrongRDelimAst: O$, emStrongLDelim: P$, delLDelim: z$, delRDelim: D$, url: he(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", ds).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: he(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", ds).getRegex() }, q$ = { ...$a, br: he($u).replace("{2,}", "*").getRegex(), text: he($a.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, $r = { normal: Ci, gfm: $$, pedantic: _$ }, Dn = { normal: yi, gfm: $a, breaks: q$, pedantic: Z$ }, V$ = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }, hs = (e) => V$[e];
|
|
11073
11073
|
function Ct(e, t) {
|
|
11074
11074
|
if (t) {
|
|
11075
11075
|
if (Ke.escapeTest.test(e)) return e.replace(Ke.escapeReplace, hs);
|
|
@@ -12309,7 +12309,7 @@ function o2(e) {
|
|
|
12309
12309
|
return e2(r);
|
|
12310
12310
|
}
|
|
12311
12311
|
function a2({ markdown: e, ...t }) {
|
|
12312
|
-
const n =
|
|
12312
|
+
const n = Me(() => o2(e), [e]);
|
|
12313
12313
|
return /* @__PURE__ */ v("div", { ...t, dangerouslySetInnerHTML: { __html: n } });
|
|
12314
12314
|
}
|
|
12315
12315
|
const i2 = $().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), l2 = $().regex(/^rgba?\([^\)]+\)$/i), s2 = $().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i), vs = H([i2, l2, s2, le("transparent")]).nullable().optional(), c2 = C({ top: g(), bottom: g(), right: g(), left: g() }).optional().nullable(), u2 = C({ top: g(), bottom: g(), right: g(), left: g() }).optional().nullable(), d2 = C({
|
|
@@ -12348,10 +12348,10 @@ function g2({ style: e, props: t }) {
|
|
|
12348
12348
|
wordBreak: "break-word",
|
|
12349
12349
|
overflowWrap: "break-word"
|
|
12350
12350
|
}, r = (t == null ? void 0 : t.markdown) ?? h2.markdown, o = t == null ? void 0 : t.html, a = /* @__PURE__ */ v("style", { children: ".mdx-block ul,.mdx-block ol{margin-block-start:0;margin-block-end:0;padding-inline-start:revert}" });
|
|
12351
|
-
return o ? /* @__PURE__ */ L("div", { className: "mdx-block", ...
|
|
12351
|
+
return o ? /* @__PURE__ */ L("div", { className: "mdx-block", ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: n, children: [
|
|
12352
12352
|
a,
|
|
12353
12353
|
/* @__PURE__ */ v("div", { dangerouslySetInnerHTML: { __html: uo(o) } })
|
|
12354
|
-
] }) : /* @__PURE__ */ L("div", { className: "mdx-block", ...
|
|
12354
|
+
] }) : /* @__PURE__ */ L("div", { className: "mdx-block", ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: n, children: [
|
|
12355
12355
|
a,
|
|
12356
12356
|
/* @__PURE__ */ v(a2, { markdown: r, style: n })
|
|
12357
12357
|
] });
|
|
@@ -12403,7 +12403,7 @@ function y2({ style: e, props: t }) {
|
|
|
12403
12403
|
}, r = Wc(
|
|
12404
12404
|
uo((t == null ? void 0 : t.text) ?? A2.text)
|
|
12405
12405
|
);
|
|
12406
|
-
return /* @__PURE__ */ L("div", { className: "quill-block ql-editor", ...
|
|
12406
|
+
return /* @__PURE__ */ L("div", { className: "quill-block ql-editor", ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: { ...n, maxWidth: "100%", boxSizing: "border-box" }, children: [
|
|
12407
12407
|
/* @__PURE__ */ v("style", { children: ".quill-block ul,.quill-block ol{margin:0.5em 0;padding-left:2.5em}.quill-block li:not(.ql-direction-rtl)::before{margin-left:-2.5em}.quill-block blockquote{border-left:4px solid var(--pp-text-muted,#9ca3af);margin:0;padding:0.25em 0 0.25em 12px;font-style:italic;color:inherit}.quill-block *:not(blockquote)+blockquote{margin-top:0.75em}.quill-block blockquote+*:not(blockquote){margin-top:0.75em}.quill-block blockquote p{margin:0}.quill-block pre,.quill-block .ql-code-block-container,.quill-block .ql-code-block{background:var(--pp-surface-alt,#f3f4f6);border-radius:4px;padding:8px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:0.9em;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:100%;box-sizing:border-box}.quill-block img{max-width:100%;height:auto;display:block}" }),
|
|
12408
12408
|
/* @__PURE__ */ v("div", { dangerouslySetInnerHTML: { __html: r } })
|
|
12409
12409
|
] });
|
|
@@ -12470,7 +12470,7 @@ const ks = C({
|
|
|
12470
12470
|
// Site page this link points at; href is derived from its slug at sync.
|
|
12471
12471
|
pageId: $().optional().nullable(),
|
|
12472
12472
|
menuImage: $().optional(),
|
|
12473
|
-
children:
|
|
12473
|
+
children: oe(Ru).optional()
|
|
12474
12474
|
})
|
|
12475
12475
|
), Zo = C({
|
|
12476
12476
|
top: g(),
|
|
@@ -12499,9 +12499,9 @@ const ks = C({
|
|
|
12499
12499
|
position: T(["left", "center", "right"]).default("left"),
|
|
12500
12500
|
// 'columns': footer style, each top-level item heads a column of its children.
|
|
12501
12501
|
orientation: T(["horizontal", "vertical", "columns"]).default("horizontal"),
|
|
12502
|
-
menuItems:
|
|
12503
|
-
startChildrenIds:
|
|
12504
|
-
endChildrenIds:
|
|
12502
|
+
menuItems: oe(Ru).optional().nullable(),
|
|
12503
|
+
startChildrenIds: oe($()).optional().nullable(),
|
|
12504
|
+
endChildrenIds: oe($()).optional().nullable(),
|
|
12505
12505
|
layout: T(["menu-only", "logo-menu", "menu-cta", "logo-menu-cta"]).default("menu-only"),
|
|
12506
12506
|
backgroundColor: $().default("transparent"),
|
|
12507
12507
|
textColor: $().default("#000000"),
|
|
@@ -12856,7 +12856,7 @@ const Z2 = (e, t) => {
|
|
|
12856
12856
|
className: n === 0 ? "ahd-menu-list" : "ahd-menu-sublist",
|
|
12857
12857
|
style: B2(l, n, s),
|
|
12858
12858
|
children: e.map((O, F) => {
|
|
12859
|
-
const G = Array.isArray(O.children) ? O.children : [], j = G.length > 0, U = `ahd-submenu-${p}-${n}-${O.id || F}`, Z = O.name || O.label || "",
|
|
12859
|
+
const G = Array.isArray(O.children) ? O.children : [], j = G.length > 0, U = `ahd-submenu-${p}-${n}-${O.id || F}`, Z = O.name || O.label || "", J = /* @__PURE__ */ L(
|
|
12860
12860
|
"a",
|
|
12861
12861
|
{
|
|
12862
12862
|
href: O.href || "#",
|
|
@@ -12867,15 +12867,15 @@ const Z2 = (e, t) => {
|
|
|
12867
12867
|
j && /* @__PURE__ */ v(Ss, { size: k, className: "ahd-menu-caret" })
|
|
12868
12868
|
]
|
|
12869
12869
|
}
|
|
12870
|
-
),
|
|
12870
|
+
), X = j ? /* @__PURE__ */ L("span", { className: "ahd-menu-item-row", children: [
|
|
12871
12871
|
/* @__PURE__ */ v(
|
|
12872
12872
|
"label",
|
|
12873
12873
|
{
|
|
12874
12874
|
htmlFor: h,
|
|
12875
12875
|
className: "ahd-menu-item-label",
|
|
12876
12876
|
style: { display: "contents" },
|
|
12877
|
-
onClick: (
|
|
12878
|
-
children:
|
|
12877
|
+
onClick: (q) => q.stopPropagation(),
|
|
12878
|
+
children: J
|
|
12879
12879
|
}
|
|
12880
12880
|
),
|
|
12881
12881
|
/* @__PURE__ */ v(
|
|
@@ -12894,8 +12894,8 @@ const Z2 = (e, t) => {
|
|
|
12894
12894
|
htmlFor: h,
|
|
12895
12895
|
className: "ahd-menu-item-label",
|
|
12896
12896
|
style: { display: "contents" },
|
|
12897
|
-
onClick: (
|
|
12898
|
-
children:
|
|
12897
|
+
onClick: (q) => q.stopPropagation(),
|
|
12898
|
+
children: J
|
|
12899
12899
|
}
|
|
12900
12900
|
);
|
|
12901
12901
|
return /* @__PURE__ */ L("li", { style: D2, children: [
|
|
@@ -12908,10 +12908,10 @@ const Z2 = (e, t) => {
|
|
|
12908
12908
|
"aria-hidden": "true",
|
|
12909
12909
|
tabIndex: -1,
|
|
12910
12910
|
style: Mu,
|
|
12911
|
-
onClick: (
|
|
12911
|
+
onClick: (q) => q.stopPropagation()
|
|
12912
12912
|
}
|
|
12913
12913
|
),
|
|
12914
|
-
|
|
12914
|
+
X,
|
|
12915
12915
|
j && /* @__PURE__ */ v("div", { className: "ahd-menu-submenu", style: F2(n), children: /* @__PURE__ */ v(
|
|
12916
12916
|
"div",
|
|
12917
12917
|
{
|
|
@@ -12965,11 +12965,11 @@ const Z2 = (e, t) => {
|
|
|
12965
12965
|
submenuMinWidth: j,
|
|
12966
12966
|
submenuTextColor: U,
|
|
12967
12967
|
submenuFontSize: Z,
|
|
12968
|
-
submenuFontWeight:
|
|
12969
|
-
bare:
|
|
12970
|
-
} = e ?? {},
|
|
12968
|
+
submenuFontWeight: J,
|
|
12969
|
+
bare: X
|
|
12970
|
+
} = e ?? {}, q = pi(), te = B(d, "bgAdaptive") ?? d, $e = B(f, "menuText") ?? f, Ce = q(I), ve = q(p), xe = q(M), ee = q(U), Y = B(null, "menuSurface");
|
|
12971
12971
|
if (!(Array.isArray(i) && i.length > 0) || !n && !t) return /* @__PURE__ */ v(De, {});
|
|
12972
|
-
const D = u === "logo-menu" || u === "logo-menu-cta",
|
|
12972
|
+
const D = u === "logo-menu" || u === "logo-menu-cta", V = u === "menu-cta" || u === "logo-menu-cta", pe = D || V, ke = c === "right" ? "end" : c === "center" ? "center" : "start", ge = Ge.useMemo(() => `c${Math.random().toString(36).slice(2, 9)}`, []), fe = t || ge, Ae = (X == null ? void 0 : X.toggleId) ?? `ahd-menu-toggle-${fe}`, ae = (X == null ? void 0 : X.listId) ?? `ahd-menu-list-${fe}`, Le = V2(b), je = X ? X.toggleId.replace(/^ahd-menu-toggle-/, "") : fe, me = {
|
|
12973
12973
|
textColor: $e,
|
|
12974
12974
|
fontSize: m,
|
|
12975
12975
|
fontWeight: w,
|
|
@@ -12978,62 +12978,62 @@ const Z2 = (e, t) => {
|
|
|
12978
12978
|
gap: _,
|
|
12979
12979
|
showIcons: y,
|
|
12980
12980
|
iconSize: A,
|
|
12981
|
-
toggleId:
|
|
12982
|
-
listId:
|
|
12983
|
-
fontFamily:
|
|
12981
|
+
toggleId: Ae,
|
|
12982
|
+
listId: ae,
|
|
12983
|
+
fontFamily: Le,
|
|
12984
12984
|
menuKey: je,
|
|
12985
12985
|
// Sub-menu panels default to the same surface the collapsed burger dropdown
|
|
12986
12986
|
// uses, so one nav reads as one component without extra configuration.
|
|
12987
|
-
submenuBackground:
|
|
12987
|
+
submenuBackground: xe || ve || (d !== "transparent" ? te : Y),
|
|
12988
12988
|
submenuRadius: P ?? 8,
|
|
12989
|
-
submenuBorderColor:
|
|
12989
|
+
submenuBorderColor: Ce ?? null,
|
|
12990
12990
|
submenuIconSize: O ?? 14,
|
|
12991
12991
|
submenuPadding: F ?? null,
|
|
12992
12992
|
submenuItemPadding: G ?? null,
|
|
12993
12993
|
submenuMinWidth: j ?? null,
|
|
12994
12994
|
submenuTextColor: ee || null,
|
|
12995
12995
|
submenuFontSize: Z || null,
|
|
12996
|
-
submenuFontWeight:
|
|
12996
|
+
submenuFontWeight: J || null
|
|
12997
12997
|
};
|
|
12998
|
-
if (h === "columns" && !
|
|
12999
|
-
const Q = (Fe) => Fe != null && Fe.length ? Fe.map((Be) => /* @__PURE__ */ v(
|
|
12998
|
+
if (h === "columns" && !X) {
|
|
12999
|
+
const Q = (Fe) => Fe != null && Fe.length ? Fe.map((Be) => /* @__PURE__ */ v(Oe, { id: Be }, Be)) : null;
|
|
13000
13000
|
return /* @__PURE__ */ v(
|
|
13001
13001
|
q2,
|
|
13002
13002
|
{
|
|
13003
|
-
p: { ...e, borderColor:
|
|
13003
|
+
p: { ...e, borderColor: Ce },
|
|
13004
13004
|
menuItems: i,
|
|
13005
|
-
menuKey:
|
|
13005
|
+
menuKey: fe,
|
|
13006
13006
|
textColor: $e,
|
|
13007
13007
|
submenuTextColor: ee || null,
|
|
13008
13008
|
submenuFontSize: Z || null,
|
|
13009
|
-
backgroundColor:
|
|
13010
|
-
fontFamily:
|
|
13009
|
+
backgroundColor: te,
|
|
13010
|
+
fontFamily: Le,
|
|
13011
13011
|
start: D ? Q(l) : null,
|
|
13012
|
-
end:
|
|
13012
|
+
end: V ? Q(s) : null
|
|
13013
13013
|
}
|
|
13014
13014
|
);
|
|
13015
13015
|
}
|
|
13016
|
-
if (
|
|
13017
|
-
return /* @__PURE__ */ v(De, { children: ya(i,
|
|
13018
|
-
const We = Z2(
|
|
13019
|
-
dropdownBackground:
|
|
13016
|
+
if (X)
|
|
13017
|
+
return /* @__PURE__ */ v(De, { children: ya(i, me) });
|
|
13018
|
+
const We = Z2(fe, { stickyNav: r, stickyNavTablet: o, stickyNavMobile: a }), Ue = U2(fe, {
|
|
13019
|
+
dropdownBackground: ve ?? (d !== "transparent" ? te : null),
|
|
13020
13020
|
hasSubmenuItemPadding: !!G
|
|
13021
13021
|
});
|
|
13022
13022
|
return /* @__PURE__ */ L(De, { children: [
|
|
13023
|
-
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: Ue } },
|
|
13023
|
+
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: Ue } }, fe),
|
|
13024
13024
|
We && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: We } }),
|
|
13025
13025
|
/* @__PURE__ */ L(
|
|
13026
13026
|
"nav",
|
|
13027
13027
|
{
|
|
13028
|
-
className: `ahd-menu ahd-menu-${
|
|
13028
|
+
className: `ahd-menu ahd-menu-${fe} ahd-menu-sticky-${fe}`,
|
|
13029
13029
|
"data-block": "menu",
|
|
13030
13030
|
"data-layout": u,
|
|
13031
|
-
...
|
|
13031
|
+
...ue(d, void 0, "bgAdaptive"),
|
|
13032
13032
|
style: {
|
|
13033
|
-
...Nu(
|
|
13034
|
-
...
|
|
13033
|
+
...Nu(te, c, pe, S, x),
|
|
13034
|
+
...Ce ? {
|
|
13035
13035
|
borderStyle: "solid",
|
|
13036
|
-
borderColor:
|
|
13036
|
+
borderColor: Ce,
|
|
13037
13037
|
borderWidth: R ? `${R.top ?? 1}px ${R.right ?? 1}px ${R.bottom ?? 1}px ${R.left ?? 1}px` : "1px"
|
|
13038
13038
|
} : {},
|
|
13039
13039
|
...N != null ? {
|
|
@@ -13046,11 +13046,11 @@ const Z2 = (e, t) => {
|
|
|
13046
13046
|
"input",
|
|
13047
13047
|
{
|
|
13048
13048
|
type: "checkbox",
|
|
13049
|
-
id:
|
|
13049
|
+
id: Ae,
|
|
13050
13050
|
className: "ahd-menu-toggle",
|
|
13051
13051
|
role: "switch",
|
|
13052
13052
|
"aria-label": "Toggle main menu",
|
|
13053
|
-
"aria-controls":
|
|
13053
|
+
"aria-controls": ae,
|
|
13054
13054
|
style: Mu,
|
|
13055
13055
|
onClick: (Q) => Q.stopPropagation()
|
|
13056
13056
|
}
|
|
@@ -13058,23 +13058,23 @@ const Z2 = (e, t) => {
|
|
|
13058
13058
|
/* @__PURE__ */ v(
|
|
13059
13059
|
"label",
|
|
13060
13060
|
{
|
|
13061
|
-
htmlFor:
|
|
13061
|
+
htmlFor: Ae,
|
|
13062
13062
|
className: "ahd-menu-backdrop",
|
|
13063
13063
|
"aria-hidden": "true",
|
|
13064
|
-
onClick: Aa(
|
|
13064
|
+
onClick: Aa(Ae)
|
|
13065
13065
|
}
|
|
13066
13066
|
),
|
|
13067
|
-
D && /* @__PURE__ */ v("div", { className: "ahd-menu-start", style: qo("start"), children: (l ?? []).map((Q) => /* @__PURE__ */ v(
|
|
13068
|
-
/* @__PURE__ */ v("div", { className: "ahd-menu-center", style: qo(ke,
|
|
13069
|
-
|
|
13067
|
+
D && /* @__PURE__ */ v("div", { className: "ahd-menu-start", style: qo("start"), children: (l ?? []).map((Q) => /* @__PURE__ */ v(Oe, { id: Q }, Q)) }),
|
|
13068
|
+
/* @__PURE__ */ v("div", { className: "ahd-menu-center", style: qo(ke, pe), children: ya(i, me) }),
|
|
13069
|
+
V && /* @__PURE__ */ v("div", { className: "ahd-menu-end", style: qo("end"), children: (s ?? []).map((Q) => /* @__PURE__ */ v(Oe, { id: Q }, Q)) }),
|
|
13070
13070
|
/* @__PURE__ */ L(
|
|
13071
13071
|
"label",
|
|
13072
13072
|
{
|
|
13073
|
-
htmlFor:
|
|
13073
|
+
htmlFor: Ae,
|
|
13074
13074
|
className: "ahd-menu-burger",
|
|
13075
13075
|
"aria-hidden": "true",
|
|
13076
13076
|
style: W2($e),
|
|
13077
|
-
onClick: Aa(
|
|
13077
|
+
onClick: Aa(Ae),
|
|
13078
13078
|
children: [
|
|
13079
13079
|
/* @__PURE__ */ v("span", {}),
|
|
13080
13080
|
/* @__PURE__ */ v("span", {}),
|
|
@@ -13102,7 +13102,7 @@ const Z2 = (e, t) => {
|
|
|
13102
13102
|
bottom: g(),
|
|
13103
13103
|
left: g()
|
|
13104
13104
|
}).optional().nullable(), Q2 = C({
|
|
13105
|
-
items:
|
|
13105
|
+
items: oe(K2).optional().nullable(),
|
|
13106
13106
|
separator: T(["slash", "chevron", "dot", "pipe", "custom"]).default("chevron"),
|
|
13107
13107
|
customSeparator: $().optional().nullable(),
|
|
13108
13108
|
showHomeIcon: z().default(!1),
|
|
@@ -13304,7 +13304,7 @@ const r_ = (e) => {
|
|
|
13304
13304
|
` : "";
|
|
13305
13305
|
return /* @__PURE__ */ L(De, { children: [
|
|
13306
13306
|
w && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: w } }),
|
|
13307
|
-
/* @__PURE__ */ v("div", { ...
|
|
13307
|
+
/* @__PURE__ */ v("div", { ...ue(d.backgroundColor, void 0, "bgAdaptive"), style: m, children: /* @__PURE__ */ v(
|
|
13308
13308
|
"div",
|
|
13309
13309
|
{
|
|
13310
13310
|
style: {
|
|
@@ -13664,7 +13664,7 @@ const w_ = C({
|
|
|
13664
13664
|
props: C({
|
|
13665
13665
|
bannerId: $().default(""),
|
|
13666
13666
|
bannerName: $().optional().nullable(),
|
|
13667
|
-
contentDocument:
|
|
13667
|
+
contentDocument: In($(), Qn()).optional().nullable(),
|
|
13668
13668
|
padding: C({
|
|
13669
13669
|
top: g(),
|
|
13670
13670
|
right: g(),
|
|
@@ -13708,7 +13708,7 @@ const w_ = C({
|
|
|
13708
13708
|
props: C({
|
|
13709
13709
|
faqGroupId: $().default(""),
|
|
13710
13710
|
faqGroupName: $().optional().nullable(),
|
|
13711
|
-
contentDocument:
|
|
13711
|
+
contentDocument: In($(), Qn()).optional().nullable(),
|
|
13712
13712
|
padding: C({
|
|
13713
13713
|
top: g(),
|
|
13714
13714
|
right: g(),
|
|
@@ -13773,7 +13773,7 @@ const w_ = C({
|
|
|
13773
13773
|
hasHeader: z().optional().nullable(),
|
|
13774
13774
|
// Cells stored as a flat array indexed by row*columns + col.
|
|
13775
13775
|
// Flat storage keeps zod schema stable across resize operations.
|
|
13776
|
-
cells:
|
|
13776
|
+
cells: oe($()).optional().nullable(),
|
|
13777
13777
|
caption: $().optional().nullable(),
|
|
13778
13778
|
width: $().optional().nullable(),
|
|
13779
13779
|
enableScroll: z().optional().nullable(),
|
|
@@ -13848,14 +13848,14 @@ function N_({ style: e, props: t, renderCell: n }) {
|
|
|
13848
13848
|
fontWeight: 600,
|
|
13849
13849
|
textAlign: (e == null ? void 0 : e.textAlign) ?? "left"
|
|
13850
13850
|
}, P = A ? `.${S}, .${S} * { font-family: ${A} !important; }` : "", O = `${S}-scroll`, F = (t == null ? void 0 : t.enableScroll) ?? !1, G = (t == null ? void 0 : t.enableScrollTablet) ?? F, j = (t == null ? void 0 : t.enableScrollMobile) ?? F, U = (Y) => Y ? `.${O} > .${S} { table-layout: auto; width: max-content !important; min-width: 100%; max-width: none; }` : `.${O} > .${S} { table-layout: fixed; width: 100% !important; max-width: 100%; }
|
|
13851
|
-
.${O} > .${S} .ahd-table-cell-text { overflow-wrap: anywhere; }`,
|
|
13851
|
+
.${O} > .${S} .ahd-table-cell-text { overflow-wrap: anywhere; }`, J = [
|
|
13852
13852
|
U(F),
|
|
13853
13853
|
G !== F ? `@media (max-width: 1024px) { ${U(G)} }
|
|
13854
13854
|
@container ahd-page (max-width: 1024px) { ${U(G)} }` : "",
|
|
13855
13855
|
j !== G ? `@media (max-width: 640px) { ${U(j)} }
|
|
13856
13856
|
@container ahd-page (max-width: 640px) { ${U(j)} }` : ""
|
|
13857
13857
|
].filter(Boolean).join(`
|
|
13858
|
-
`),
|
|
13858
|
+
`), X = `
|
|
13859
13859
|
.${O} {
|
|
13860
13860
|
overflow-x: auto;
|
|
13861
13861
|
-webkit-overflow-scrolling: touch;
|
|
@@ -13893,23 +13893,23 @@ function N_({ style: e, props: t, renderCell: n }) {
|
|
|
13893
13893
|
background-color: #A0A0A0;
|
|
13894
13894
|
background-clip: content-box;
|
|
13895
13895
|
}
|
|
13896
|
-
${
|
|
13897
|
-
`,
|
|
13896
|
+
${J}
|
|
13897
|
+
`, q = w ? `.${S} > tbody > tr:nth-child(even) > td { ${_r(w)} }` : "", te = k ? `.${S} > tbody > tr > td:nth-child(even) { ${_r(k)} }` : "", $e = `
|
|
13898
13898
|
.${S} { ${_r(b)} }
|
|
13899
13899
|
${P}
|
|
13900
13900
|
.${S} > tbody > tr > td > .ahd-table-cell-text { ${Ko(p)} display: block; }
|
|
13901
13901
|
.${S} > thead > tr > th { ${_r(d)} }
|
|
13902
13902
|
.${S} > thead > tr > th > .ahd-table-cell-text { ${Ko(f)} display: block; }
|
|
13903
13903
|
.${S} > caption > .ahd-table-cell-text { ${Ko(p)} display: block; }
|
|
13904
|
-
${V}
|
|
13905
|
-
${ae}
|
|
13906
13904
|
${q}
|
|
13907
|
-
|
|
13908
|
-
|
|
13909
|
-
|
|
13910
|
-
|
|
13905
|
+
${te}
|
|
13906
|
+
${X}
|
|
13907
|
+
`, Ce = Array.from({ length: r }, (Y, K) => K), ve = Array.from({ length: o }, (Y, K) => K), xe = (Y) => Y.includes("<"), ee = (Y, K, D, V) => n ? n({ row: Y, col: K, value: D, isHeader: V }) : xe(D) ? /* @__PURE__ */ v("span", { dangerouslySetInnerHTML: { __html: D } }) : D.split(`
|
|
13908
|
+
`).map((pe, ke, ge) => /* @__PURE__ */ L(Ge.Fragment, { children: [
|
|
13909
|
+
pe,
|
|
13910
|
+
ke < ge.length - 1 ? /* @__PURE__ */ v("br", {}) : null
|
|
13911
13911
|
] }, ke));
|
|
13912
|
-
return /* @__PURE__ */ L("div", { className: "table-block", ...
|
|
13912
|
+
return /* @__PURE__ */ L("div", { className: "table-block", ...ue(e == null ? void 0 : e.backgroundColor, void 0, "bgAdaptive"), style: y, children: [
|
|
13913
13913
|
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: $e } }),
|
|
13914
13914
|
/* @__PURE__ */ v("div", { className: O, style: R, children: /* @__PURE__ */ L("table", { className: S, style: I, role: "table", children: [
|
|
13915
13915
|
t != null && t.caption ? /* @__PURE__ */ v(
|
|
@@ -13924,20 +13924,20 @@ function N_({ style: e, props: t, renderCell: n }) {
|
|
|
13924
13924
|
children: /* @__PURE__ */ v("div", { className: "ahd-table-cell-text", children: t.caption })
|
|
13925
13925
|
}
|
|
13926
13926
|
) : null,
|
|
13927
|
-
a ? /* @__PURE__ */ v("thead", { children: /* @__PURE__ */ v("tr", { children:
|
|
13928
|
-
/* @__PURE__ */ v("tbody", { children:
|
|
13927
|
+
a ? /* @__PURE__ */ v("thead", { children: /* @__PURE__ */ v("tr", { children: ve.map((Y) => /* @__PURE__ */ v("th", { scope: "col", style: M, children: /* @__PURE__ */ v("div", { className: "ahd-table-cell-text", children: ee(0, Y, s[Y] ?? "", !0) }) }, Y)) }) }) : null,
|
|
13928
|
+
/* @__PURE__ */ v("tbody", { children: Ce.slice(a ? 1 : 0).map((Y) => /* @__PURE__ */ v("tr", { children: ve.map((K) => /* @__PURE__ */ v("td", { style: N, children: /* @__PURE__ */ v("div", { className: "ahd-table-cell-text", children: ee(Y, K, s[Y * o + K] ?? "", !1) }) }, K)) }, Y)) })
|
|
13929
13929
|
] }) })
|
|
13930
13930
|
] });
|
|
13931
13931
|
}
|
|
13932
|
-
var Ia = { exports: {} }, Ra = { exports: {} }, dt = {},
|
|
13933
|
-
|
|
13934
|
-
|
|
13935
|
-
|
|
13936
|
-
|
|
13937
|
-
|
|
13938
|
-
|
|
13939
|
-
|
|
13940
|
-
|
|
13932
|
+
var Ia = { exports: {} }, Ra = { exports: {} }, dt = {}, Ie = {};
|
|
13933
|
+
Ie.__esModule = !0;
|
|
13934
|
+
Ie.extend = Gu;
|
|
13935
|
+
Ie.indexOf = L_;
|
|
13936
|
+
Ie.escapeExpression = z_;
|
|
13937
|
+
Ie.isEmpty = B_;
|
|
13938
|
+
Ie.createFrame = D_;
|
|
13939
|
+
Ie.blockParams = F_;
|
|
13940
|
+
Ie.appendContextPath = H_;
|
|
13941
13941
|
var E_ = {
|
|
13942
13942
|
"&": "&",
|
|
13943
13943
|
"<": "<",
|
|
@@ -13957,18 +13957,18 @@ function Gu(e) {
|
|
|
13957
13957
|
return e;
|
|
13958
13958
|
}
|
|
13959
13959
|
var Ti = Object.prototype.toString;
|
|
13960
|
-
|
|
13960
|
+
Ie.toString = Ti;
|
|
13961
13961
|
var Ta = function(t) {
|
|
13962
13962
|
return typeof t == "function";
|
|
13963
13963
|
};
|
|
13964
|
-
Ta(/x/) && (
|
|
13964
|
+
Ta(/x/) && (Ie.isFunction = Ta = function(e) {
|
|
13965
13965
|
return typeof e == "function" && Ti.call(e) === "[object Function]";
|
|
13966
13966
|
});
|
|
13967
|
-
|
|
13967
|
+
Ie.isFunction = Ta;
|
|
13968
13968
|
var ju = Array.isArray || function(e) {
|
|
13969
13969
|
return e && typeof e == "object" ? Ti.call(e) === "[object Array]" : !1;
|
|
13970
13970
|
};
|
|
13971
|
-
|
|
13971
|
+
Ie.isArray = ju;
|
|
13972
13972
|
function L_(e, t) {
|
|
13973
13973
|
for (var n = 0, r = e.length; n < r; n++)
|
|
13974
13974
|
if (e[n] === t)
|
|
@@ -14026,7 +14026,7 @@ var Na = { exports: {} };
|
|
|
14026
14026
|
var ht = Na.exports, sr = {}, Ea = { exports: {} };
|
|
14027
14027
|
(function(e, t) {
|
|
14028
14028
|
t.__esModule = !0;
|
|
14029
|
-
var n =
|
|
14029
|
+
var n = Ie;
|
|
14030
14030
|
t.default = function(r) {
|
|
14031
14031
|
r.registerHelper("blockHelperMissing", function(o, a) {
|
|
14032
14032
|
var i = a.inverse, l = a.fn;
|
|
@@ -14050,7 +14050,7 @@ var G_ = Ea.exports, Pa = { exports: {} };
|
|
|
14050
14050
|
function n(i) {
|
|
14051
14051
|
return i && i.__esModule ? i : { default: i };
|
|
14052
14052
|
}
|
|
14053
|
-
var r =
|
|
14053
|
+
var r = Ie, o = ht, a = n(o);
|
|
14054
14054
|
t.default = function(i) {
|
|
14055
14055
|
i.registerHelper("each", function(l, s) {
|
|
14056
14056
|
if (!s)
|
|
@@ -14104,7 +14104,7 @@ var W_ = Ma.exports, Oa = { exports: {} };
|
|
|
14104
14104
|
function n(i) {
|
|
14105
14105
|
return i && i.__esModule ? i : { default: i };
|
|
14106
14106
|
}
|
|
14107
|
-
var r =
|
|
14107
|
+
var r = Ie, o = ht, a = n(o);
|
|
14108
14108
|
t.default = function(i) {
|
|
14109
14109
|
i.registerHelper("if", function(l, s) {
|
|
14110
14110
|
if (arguments.length != 2)
|
|
@@ -14146,7 +14146,7 @@ var q_ = za.exports, Ba = { exports: {} };
|
|
|
14146
14146
|
function n(i) {
|
|
14147
14147
|
return i && i.__esModule ? i : { default: i };
|
|
14148
14148
|
}
|
|
14149
|
-
var r =
|
|
14149
|
+
var r = Ie, o = ht, a = n(o);
|
|
14150
14150
|
t.default = function(i) {
|
|
14151
14151
|
i.registerHelper("with", function(l, s) {
|
|
14152
14152
|
if (arguments.length != 2)
|
|
@@ -14180,7 +14180,7 @@ function uC(e, t, n) {
|
|
|
14180
14180
|
var Ni = {}, Da = { exports: {} };
|
|
14181
14181
|
(function(e, t) {
|
|
14182
14182
|
t.__esModule = !0;
|
|
14183
|
-
var n =
|
|
14183
|
+
var n = Ie;
|
|
14184
14184
|
t.default = function(r) {
|
|
14185
14185
|
r.registerDecorator("inline", function(o, a, i, l) {
|
|
14186
14186
|
var s = o;
|
|
@@ -14206,7 +14206,7 @@ function gC(e) {
|
|
|
14206
14206
|
var Fa = { exports: {} };
|
|
14207
14207
|
(function(e, t) {
|
|
14208
14208
|
t.__esModule = !0;
|
|
14209
|
-
var n =
|
|
14209
|
+
var n = Ie, r = {
|
|
14210
14210
|
methodMap: ["debug", "info", "warn", "error"],
|
|
14211
14211
|
level: "info",
|
|
14212
14212
|
// Maps a given level value to the `methodMap` indexes above.
|
|
@@ -14230,15 +14230,15 @@ var Fa = { exports: {} };
|
|
|
14230
14230
|
};
|
|
14231
14231
|
t.default = r, e.exports = t.default;
|
|
14232
14232
|
})(Fa, Fa.exports);
|
|
14233
|
-
var Wu = Fa.exports,
|
|
14234
|
-
|
|
14235
|
-
|
|
14236
|
-
|
|
14237
|
-
|
|
14233
|
+
var Wu = Fa.exports, Mn = {};
|
|
14234
|
+
Mn.__esModule = !0;
|
|
14235
|
+
Mn.createProtoAccessControl = xC;
|
|
14236
|
+
Mn.resultIsAllowed = kC;
|
|
14237
|
+
Mn.resetLoggedProperties = SC;
|
|
14238
14238
|
function mC(e) {
|
|
14239
14239
|
return e && e.__esModule ? e : { default: e };
|
|
14240
14240
|
}
|
|
14241
|
-
var $s =
|
|
14241
|
+
var $s = Ie, bC = Wu, vC = mC(bC), Qr = /* @__PURE__ */ Object.create(null);
|
|
14242
14242
|
function xC(e) {
|
|
14243
14243
|
var t = /* @__PURE__ */ Object.create(null);
|
|
14244
14244
|
t.__proto__ = !1, $s.extend(t, e.allowedProtoProperties);
|
|
@@ -14275,7 +14275,7 @@ dt.HandlebarsEnvironment = Ha;
|
|
|
14275
14275
|
function Uu(e) {
|
|
14276
14276
|
return e && e.__esModule ? e : { default: e };
|
|
14277
14277
|
}
|
|
14278
|
-
var en =
|
|
14278
|
+
var en = Ie, $C = ht, Jo = Uu($C), _C = sr, CC = Ni, AC = Wu, eo = Uu(AC), yC = Mn, IC = "4.7.9";
|
|
14279
14279
|
dt.VERSION = IC;
|
|
14280
14280
|
var RC = 8;
|
|
14281
14281
|
dt.COMPILER_REVISION = RC;
|
|
@@ -14388,7 +14388,7 @@ function LC(e) {
|
|
|
14388
14388
|
Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
|
|
14389
14389
|
return t.default = e, t;
|
|
14390
14390
|
}
|
|
14391
|
-
var zC =
|
|
14391
|
+
var zC = Ie, Sn = LC(zC), BC = ht, Mt = OC(BC), Ot = dt, Cs = sr, DC = Ei, As = Mn;
|
|
14392
14392
|
function FC(e) {
|
|
14393
14393
|
var t = e && e[0] || 1, n = Ot.COMPILER_REVISION;
|
|
14394
14394
|
if (!(t >= Ot.LAST_COMPATIBLE_COMPILER_REVISION && t <= Ot.COMPILER_REVISION))
|
|
@@ -14406,7 +14406,7 @@ function HC(e, t) {
|
|
|
14406
14406
|
e.main.decorator = e.main_d, t.VM.checkRevision(e.compiler);
|
|
14407
14407
|
var n = e.compiler && e.compiler[0] === 7;
|
|
14408
14408
|
function r(i, l, s) {
|
|
14409
|
-
s.hash && (l =
|
|
14409
|
+
s.hash && (l = Sn.extend({}, l, s.hash), s.ids && (s.ids[0] = !0)), i = t.VM.resolvePartial.call(this, i, l, s), s.hooks = this.hooks, s.protoAccessControl = this.protoAccessControl;
|
|
14410
14410
|
var u = t.VM.invokePartial.call(this, i, l, s);
|
|
14411
14411
|
if (u == null && t.compile && (s.partials[s.name] = t.compile(i, e.compilerOptions, t), u = s.partials[s.name](l, s)), u != null) {
|
|
14412
14412
|
if (s.indent) {
|
|
@@ -14443,7 +14443,7 @@ function HC(e, t) {
|
|
|
14443
14443
|
lambda: function(l, s) {
|
|
14444
14444
|
return typeof l == "function" ? l.call(s) : l;
|
|
14445
14445
|
},
|
|
14446
|
-
escapeExpression:
|
|
14446
|
+
escapeExpression: Sn.escapeExpression,
|
|
14447
14447
|
invokePartial: r,
|
|
14448
14448
|
fn: function(l) {
|
|
14449
14449
|
var s = e[l];
|
|
@@ -14461,7 +14461,7 @@ function HC(e, t) {
|
|
|
14461
14461
|
},
|
|
14462
14462
|
mergeIfNeeded: function(l, s) {
|
|
14463
14463
|
var u = l || s;
|
|
14464
|
-
return l && s && l !== s && (u =
|
|
14464
|
+
return l && s && l !== s && (u = Sn.extend({}, s, l)), u;
|
|
14465
14465
|
},
|
|
14466
14466
|
// An empty object to use as replacement for null-contexts
|
|
14467
14467
|
nullContext: Object.seal({}),
|
|
@@ -14483,7 +14483,7 @@ function HC(e, t) {
|
|
|
14483
14483
|
o.protoAccessControl = i.protoAccessControl, o.helpers = i.helpers, o.partials = i.partials, o.decorators = i.decorators, o.hooks = i.hooks;
|
|
14484
14484
|
else {
|
|
14485
14485
|
var l = {};
|
|
14486
|
-
ys(l, t.helpers, o), ys(l, i.helpers, o), o.helpers = l, e.usePartial && (o.partials = o.mergeIfNeeded(i.partials, t.partials)), (e.usePartial || e.useDecorators) && (o.decorators =
|
|
14486
|
+
ys(l, t.helpers, o), ys(l, i.helpers, o), o.helpers = l, e.usePartial && (o.partials = o.mergeIfNeeded(i.partials, t.partials)), (e.usePartial || e.useDecorators) && (o.decorators = Sn.extend({}, t.decorators, i.decorators)), o.hooks = {}, o.protoAccessControl = As.createProtoAccessControl(i);
|
|
14487
14487
|
var s = i.allowCallsToHelperMissing || n;
|
|
14488
14488
|
Cs.moveHelperToHooks(o, "helperMissing", s), Cs.moveHelperToHooks(o, "blockHelperMissing", s);
|
|
14489
14489
|
}
|
|
@@ -14515,7 +14515,7 @@ function jC(e, t, n) {
|
|
|
14515
14515
|
o = n.data["partial-block"] = function(l) {
|
|
14516
14516
|
var s = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1];
|
|
14517
14517
|
return s.data = Ot.createFrame(s.data), s.data["partial-block"] = r, a(l, s);
|
|
14518
|
-
}, a.partials && (n.partials =
|
|
14518
|
+
}, a.partials && (n.partials = Sn.extend({}, n.partials, a.partials));
|
|
14519
14519
|
}(), e === void 0 && o && (e = o), e === void 0)
|
|
14520
14520
|
throw new Mt.default("The partial " + n.name + " could not be found");
|
|
14521
14521
|
if (e instanceof Function)
|
|
@@ -14534,7 +14534,7 @@ function WC(e, t) {
|
|
|
14534
14534
|
function qu(e, t, n, r, o, a) {
|
|
14535
14535
|
if (e.decorator) {
|
|
14536
14536
|
var i = {};
|
|
14537
|
-
t = e.decorator(t, i, n, r && r[0], o, a, r),
|
|
14537
|
+
t = e.decorator(t, i, n, r && r[0], o, a, r), Sn.extend(t, i);
|
|
14538
14538
|
}
|
|
14539
14539
|
return t;
|
|
14540
14540
|
}
|
|
@@ -14579,7 +14579,7 @@ var Vu = ja.exports;
|
|
|
14579
14579
|
Object.prototype.hasOwnProperty.call(k, x) && (S[x] = k[x]);
|
|
14580
14580
|
return S.default = k, S;
|
|
14581
14581
|
}
|
|
14582
|
-
var o = dt, a = r(o), i = PC, l = n(i), s = ht, u = n(s), c =
|
|
14582
|
+
var o = dt, a = r(o), i = PC, l = n(i), s = ht, u = n(s), c = Ie, h = r(c), d = Vt, f = r(d), p = Vu, m = n(p);
|
|
14583
14583
|
function b() {
|
|
14584
14584
|
var k = new a.HandlebarsEnvironment();
|
|
14585
14585
|
return h.extend(k, a), k.SafeString = l.default, k.Exception = u.default, k.Utils = h, k.escapeExpression = h.escapeExpression, k.VM = f, k.template = function(S) {
|
|
@@ -15446,7 +15446,7 @@ function lA(e) {
|
|
|
15446
15446
|
function Oi(e) {
|
|
15447
15447
|
return e && e.__esModule ? e : { default: e };
|
|
15448
15448
|
}
|
|
15449
|
-
var sA = qC, Va = Oi(sA), cA = VC, uA = Oi(cA), dA = ft, hA = lA(dA), fA = ht, Fn = Oi(fA), pA =
|
|
15449
|
+
var sA = qC, Va = Oi(sA), cA = VC, uA = Oi(cA), dA = ft, hA = lA(dA), fA = ht, Fn = Oi(fA), pA = Ie;
|
|
15450
15450
|
cr.parser = Va.default;
|
|
15451
15451
|
var Lr = {};
|
|
15452
15452
|
pA.extend(Lr, hA);
|
|
@@ -15503,7 +15503,7 @@ ur.compile = SA;
|
|
|
15503
15503
|
function Xu(e) {
|
|
15504
15504
|
return e && e.__esModule ? e : { default: e };
|
|
15505
15505
|
}
|
|
15506
|
-
var vA = ht, Yn = Xu(vA), rr =
|
|
15506
|
+
var vA = ht, Yn = Xu(vA), rr = Ie, xA = Yu, Hn = Xu(xA), kA = [].slice;
|
|
15507
15507
|
function Ka() {
|
|
15508
15508
|
}
|
|
15509
15509
|
Ka.prototype = {
|
|
@@ -16669,7 +16669,7 @@ function RA() {
|
|
|
16669
16669
|
}
|
|
16670
16670
|
(function(e, t) {
|
|
16671
16671
|
t.__esModule = !0;
|
|
16672
|
-
var n =
|
|
16672
|
+
var n = Ie, r = void 0;
|
|
16673
16673
|
try {
|
|
16674
16674
|
var o = RA();
|
|
16675
16675
|
r = o.SourceNode;
|
|
@@ -16764,7 +16764,7 @@ var TA = Xa.exports;
|
|
|
16764
16764
|
function n(d) {
|
|
16765
16765
|
return d && d.__esModule ? d : { default: d };
|
|
16766
16766
|
}
|
|
16767
|
-
var r = dt, o = ht, a = n(o), i =
|
|
16767
|
+
var r = dt, o = ht, a = n(o), i = Ie, l = TA, s = n(l);
|
|
16768
16768
|
function u(d) {
|
|
16769
16769
|
this.value = d;
|
|
16770
16770
|
}
|
|
@@ -17649,7 +17649,7 @@ function qA(e, t, n) {
|
|
|
17649
17649
|
return i == null || i === "" ? r : n ? zr(o, String(i), n, a) : String(i);
|
|
17650
17650
|
});
|
|
17651
17651
|
}
|
|
17652
|
-
function
|
|
17652
|
+
function bn(e, t, n) {
|
|
17653
17653
|
if (!e) return e ?? "";
|
|
17654
17654
|
if (e.indexOf("{{") === -1) return e;
|
|
17655
17655
|
let r = e;
|
|
@@ -17685,7 +17685,7 @@ function ld(e, t, n, r) {
|
|
|
17685
17685
|
return S.forEach((_, y) => {
|
|
17686
17686
|
const A = _ == null ? void 0 : _.label;
|
|
17687
17687
|
if (typeof A != "string" || A.indexOf("{{") === -1) return;
|
|
17688
|
-
const I = Array.isArray(_ == null ? void 0 : _.contentChildrenIds) ? _.contentChildrenIds[0] : void 0, R = I && r ? r.get(I) : n, N =
|
|
17688
|
+
const I = Array.isArray(_ == null ? void 0 : _.contentChildrenIds) ? _.contentChildrenIds[0] : void 0, R = I && r ? r.get(I) : n, N = bn(A, t, R ?? null);
|
|
17689
17689
|
N !== A && (x || (x = S.map((M) => ({ ...M }))), x[y] = { ...x[y], label: N });
|
|
17690
17690
|
}), x ? {
|
|
17691
17691
|
...e,
|
|
@@ -17699,7 +17699,7 @@ function ld(e, t, n, r) {
|
|
|
17699
17699
|
return S.forEach((_, y) => {
|
|
17700
17700
|
const A = _ == null ? void 0 : _.text;
|
|
17701
17701
|
if (typeof A != "string" || A.indexOf("{{") === -1) return;
|
|
17702
|
-
const I =
|
|
17702
|
+
const I = bn(A, t, n);
|
|
17703
17703
|
I !== A && (x || (x = S.map((R) => ({ ...R }))), x[y] = { ...x[y], text: I });
|
|
17704
17704
|
}), x ? {
|
|
17705
17705
|
...e,
|
|
@@ -17714,7 +17714,7 @@ function ld(e, t, n, r) {
|
|
|
17714
17714
|
for (const A of ["label", "href"]) {
|
|
17715
17715
|
const I = _ == null ? void 0 : _[A];
|
|
17716
17716
|
if (typeof I != "string" || I.indexOf("{{") === -1) continue;
|
|
17717
|
-
const R =
|
|
17717
|
+
const R = bn(I, t, n);
|
|
17718
17718
|
R !== I && (x || (x = S.map((N) => ({ ...N }))), x[y] = { ...x[y], [A]: R });
|
|
17719
17719
|
}
|
|
17720
17720
|
}), x ? {
|
|
@@ -17728,7 +17728,7 @@ function ld(e, t, n, r) {
|
|
|
17728
17728
|
let x = null;
|
|
17729
17729
|
return S.forEach((_, y) => {
|
|
17730
17730
|
if (typeof _ != "string" || _.indexOf("{{") === -1) return;
|
|
17731
|
-
const A =
|
|
17731
|
+
const A = bn(_, t, n);
|
|
17732
17732
|
A !== _ && (x || (x = [...S]), x[y] = A);
|
|
17733
17733
|
}), x ? {
|
|
17734
17734
|
...e,
|
|
@@ -17739,7 +17739,7 @@ function ld(e, t, n, r) {
|
|
|
17739
17739
|
if (e.type === "Container") {
|
|
17740
17740
|
const S = (w = (b = e.data) == null ? void 0 : b.style) == null ? void 0 : w.backgroundImage;
|
|
17741
17741
|
if (typeof S == "string" && S.indexOf("{{") !== -1) {
|
|
17742
|
-
const x =
|
|
17742
|
+
const x = bn(S, t, n);
|
|
17743
17743
|
x !== S && (o = {
|
|
17744
17744
|
...o,
|
|
17745
17745
|
data: { ...o.data, style: { ...o.data.style, backgroundImage: x } }
|
|
@@ -17754,7 +17754,7 @@ function ld(e, t, n, r) {
|
|
|
17754
17754
|
for (const S of a) {
|
|
17755
17755
|
const x = i[S];
|
|
17756
17756
|
if (typeof x != "string" || x.indexOf("{{") === -1) continue;
|
|
17757
|
-
const _ =
|
|
17757
|
+
const _ = bn(x, t, n);
|
|
17758
17758
|
_ !== x && (l || (l = { ...i }), l[S] = _);
|
|
17759
17759
|
}
|
|
17760
17760
|
return l ? { ...o, data: { ...o.data, props: l } } : o;
|
|
@@ -18307,8 +18307,8 @@ const dd = {
|
|
|
18307
18307
|
schema: R_,
|
|
18308
18308
|
Component: N_
|
|
18309
18309
|
}
|
|
18310
|
-
}, hy = Lx(dd),
|
|
18311
|
-
function
|
|
18310
|
+
}, hy = Lx(dd), CI = In($(), hy), fy = Ox(dd);
|
|
18311
|
+
function Oe({ id: e }) {
|
|
18312
18312
|
var _, y, A, I, R, N, M;
|
|
18313
18313
|
const t = uy(), { staticRender: n, injectElementIds: r, mainBlockId: o, hoistedSkipLinkId: a, hoistedA11yToolsId: i } = dy(), l = t[e];
|
|
18314
18314
|
if (a && e === a && (l == null ? void 0 : l.type) === "SkipLink" || i && e === i && (l == null ? void 0 : l.type) === "AccessibilityTools")
|
|
@@ -18370,7 +18370,7 @@ function Me({ id: e }) {
|
|
|
18370
18370
|
);
|
|
18371
18371
|
}
|
|
18372
18372
|
function oo({ document: e, rootBlockId: t, staticRender: n, injectElementIds: r, isBanner: o, mainBlockId: a, hoistedSkipLinkId: i, hoistedA11yToolsId: l }) {
|
|
18373
|
-
const s =
|
|
18373
|
+
const s = Me(
|
|
18374
18374
|
() => ({
|
|
18375
18375
|
staticRender: !!n,
|
|
18376
18376
|
injectElementIds: !!r,
|
|
@@ -18383,7 +18383,7 @@ function oo({ document: e, rootBlockId: t, staticRender: n, injectElementIds: r,
|
|
|
18383
18383
|
), u = oi(qs), c = ri(null);
|
|
18384
18384
|
return sy(() => {
|
|
18385
18385
|
n || u || c.current && (mb(c.current), bb(c.current));
|
|
18386
|
-
}, [n, u, e, t]), /* @__PURE__ */ v("div", { ref: c, style: { display: "contents" }, children: /* @__PURE__ */ v(sd.Provider, { value: e, children: /* @__PURE__ */ v(ud.Provider, { value: s, children: /* @__PURE__ */ v(qs.Provider, { value: !0, children: /* @__PURE__ */ v(
|
|
18386
|
+
}, [n, u, e, t]), /* @__PURE__ */ v("div", { ref: c, style: { display: "contents" }, children: /* @__PURE__ */ v(sd.Provider, { value: e, children: /* @__PURE__ */ v(ud.Provider, { value: s, children: /* @__PURE__ */ v(qs.Provider, { value: !0, children: /* @__PURE__ */ v(Oe, { id: t }) }) }) }) });
|
|
18387
18387
|
}
|
|
18388
18388
|
function py(e) {
|
|
18389
18389
|
for (const [t, n] of Object.entries(e ?? {}))
|
|
@@ -18415,7 +18415,12 @@ function my(e, t) {
|
|
|
18415
18415
|
}
|
|
18416
18416
|
return r(t);
|
|
18417
18417
|
}
|
|
18418
|
-
const by = () => `<img alt="" src="x:invalid" style="display:none" onerror="${"var s=this;setTimeout(function(){try{var root=s.closest('[data-ahd-tpl-root]')||s.parentNode||document.body;if(!root){s.parentNode&&s.parentNode.removeChild(s);return;}var p=new URLSearchParams(location.search);var els=root.querySelectorAll('[data-ahd-var]');for(var i=0;i<els.length;i++){var el=els[i];var v=p.get(el.getAttribute('data-ahd-var')||'');if(v!==null){el.textContent=v;}}var hs=root.querySelectorAll('[data-ahd-href-tpl]');for(var j=0;j<hs.length;j++){var he=hs[j];var tpl=he.getAttribute('data-ahd-href-tpl')||'';var filled=tpl.replace(/\\{\\{\\s*([a-zA-Z_][a-zA-Z0-9_-]*)\\s*\\}\\}/g,function(m,n){var pv=p.get(n);return pv!==null?encodeURIComponent(pv):m;});he.setAttribute('href',filled);he.removeAttribute('data-ahd-href-tpl');}var ds=root.querySelectorAll('[data-ahd-date]');if(ds.length){var now=new Date();var sod=function(d){return new Date(d.getFullYear(),d.getMonth(),d.getDate()).getTime();};for(var k=0;k<ds.length;k++){var de=ds[k];var iso=de.getAttribute('data-ahd-date')||'';if(!iso)continue;var dt=new Date(iso);if(isNaN(dt.getTime()))continue;var diff=Math.round((sod(dt)-sod(now))/86400000);var lbl;if(diff===0){lbl='Today';}else if(diff===1){lbl='Tomorrow';}else if(diff===-1){lbl='Yesterday';}else if(diff>=-6&&diff<=6){lbl=dt.toLocaleDateString(undefined,{weekday:'short'});}else{var o={month:'short',day:'numeric'};if(dt.getFullYear()!==now.getFullYear()){o.year='numeric';}lbl=dt.toLocaleDateString(undefined,o);}de.textContent=lbl;}}s.parentNode&&s.parentNode.removeChild(s);}catch(e){}},0);".replace(/"/g, """)}">`, vy = (
|
|
18418
|
+
const by = () => `<img alt="" src="x:invalid" style="display:none" onerror="${"var s=this;setTimeout(function(){try{var root=s.closest('[data-ahd-tpl-root]')||s.parentNode||document.body;if(!root){s.parentNode&&s.parentNode.removeChild(s);return;}var p=new URLSearchParams(location.search);var els=root.querySelectorAll('[data-ahd-var]');for(var i=0;i<els.length;i++){var el=els[i];var v=p.get(el.getAttribute('data-ahd-var')||'');if(v!==null){el.textContent=v;}}var hs=root.querySelectorAll('[data-ahd-href-tpl]');for(var j=0;j<hs.length;j++){var he=hs[j];var tpl=he.getAttribute('data-ahd-href-tpl')||'';var filled=tpl.replace(/\\{\\{\\s*([a-zA-Z_][a-zA-Z0-9_-]*)\\s*\\}\\}/g,function(m,n){var pv=p.get(n);return pv!==null?encodeURIComponent(pv):m;});he.setAttribute('href',filled);he.removeAttribute('data-ahd-href-tpl');}var ds=root.querySelectorAll('[data-ahd-date]');if(ds.length){var now=new Date();var sod=function(d){return new Date(d.getFullYear(),d.getMonth(),d.getDate()).getTime();};for(var k=0;k<ds.length;k++){var de=ds[k];var iso=de.getAttribute('data-ahd-date')||'';if(!iso)continue;var dt=new Date(iso);if(isNaN(dt.getTime()))continue;var diff=Math.round((sod(dt)-sod(now))/86400000);var lbl;if(diff===0){lbl='Today';}else if(diff===1){lbl='Tomorrow';}else if(diff===-1){lbl='Yesterday';}else if(diff>=-6&&diff<=6){lbl=dt.toLocaleDateString(undefined,{weekday:'short'});}else{var o={month:'short',day:'numeric'};if(dt.getFullYear()!==now.getFullYear()){o.year='numeric';}lbl=dt.toLocaleDateString(undefined,o);}de.textContent=lbl;}}s.parentNode&&s.parentNode.removeChild(s);}catch(e){}},0);".replace(/"/g, """)}">`, vy = () => `<img alt="" src="x:invalid" style="display:none" onerror="${`var s=this;if(!window.__ahdPostMessageBound){window.__ahdPostMessageBound=true;document.addEventListener('click',function(e){try{var t=(e.composedPath&&e.composedPath()[0])||e.target;var b=t&&t.closest&&t.closest('[data-action="postMessageEvent"][data-post-message-event],[data-action="postMessageEvent"][data-action-payload]');if(!b)return;var n=b.getAttribute('data-post-message-event');if(!n){try{n=JSON.parse(b.getAttribute('data-action-payload')||'{}').postMessageEvent;}catch(x){}}if(!n)return;var ts=window.parent!==window?[window,window.parent]:[window];for(var i=0;i<ts.length;i++){ts[i].postMessage({type:n},'*');ts[i].postMessage({type:'ahd-button-click',event:n},'*');}}catch(x){}});}s.parentNode&&s.parentNode.removeChild(s);`.replace(/"/g, """)}">`, xy = (e) => Object.values(e ?? {}).some(
|
|
18419
|
+
(t) => {
|
|
18420
|
+
var n, r;
|
|
18421
|
+
return (t == null ? void 0 : t.type) === "Button" && ((r = (n = t == null ? void 0 : t.data) == null ? void 0 : n.props) == null ? void 0 : r.action) === "postMessageEvent";
|
|
18422
|
+
}
|
|
18423
|
+
), ky = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.type) === "TabsBlock"), wy = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.type) === "DemoPicker"), Sy = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.type) === "Carousel"), $y = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.type) === "Pagination"), _y = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.type) === "Timer"), Cy = /* @__PURE__ */ new Set([
|
|
18419
18424
|
"Image",
|
|
18420
18425
|
"Container",
|
|
18421
18426
|
"Button",
|
|
@@ -18426,9 +18431,9 @@ const by = () => `<img alt="" src="x:invalid" style="display:none" onerror="${"v
|
|
|
18426
18431
|
]), Ys = (e) => Object.values(e ?? {}).some(
|
|
18427
18432
|
(t) => {
|
|
18428
18433
|
var n, r, o;
|
|
18429
|
-
return
|
|
18434
|
+
return Cy.has(t == null ? void 0 : t.type) && ((o = (r = (n = t == null ? void 0 : t.data) == null ? void 0 : n.props) == null ? void 0 : r.animation) == null ? void 0 : o.type) && t.data.props.animation.type !== "none";
|
|
18430
18435
|
}
|
|
18431
|
-
),
|
|
18436
|
+
), un = "https://pagepilot.fabbuilder.com/scripts", Ay = `${un}/pagePilotTabs.js`, yy = `${un}/pagePilotCarousel.js`, Iy = `${un}/pagePilotPagination.js`, Ry = `${un}/pagePilotDemoScale.js`, Ty = `${un}/pagePilotTimer.js`, Ny = `${un}/pagePilotAnimation.js`, Ey = `${un}/pagePilotActions.js`, Py = `
|
|
18432
18437
|
@keyframes ahd-anim-fade-in { from { opacity: 0; } to { opacity: 1; } }
|
|
18433
18438
|
@keyframes ahd-anim-slide-left { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
|
|
18434
18439
|
@keyframes ahd-anim-slide-right { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
|
|
@@ -18442,7 +18447,7 @@ const by = () => `<img alt="" src="x:invalid" style="display:none" onerror="${"v
|
|
|
18442
18447
|
100% { opacity: 1; transform: translateY(0); }
|
|
18443
18448
|
}
|
|
18444
18449
|
`.trim(), hd = `
|
|
18445
|
-
${
|
|
18450
|
+
${Py}
|
|
18446
18451
|
|
|
18447
18452
|
/* Elements that animate on scroll/hover/click start hidden so there is no
|
|
18448
18453
|
flash of the final state before the trigger fires. Load-triggered elements
|
|
@@ -18469,7 +18474,7 @@ html.ahd-anim-ready [data-animate-type]:not([data-animate-trigger="load"]):not(.
|
|
|
18469
18474
|
animation-fill-mode: both;
|
|
18470
18475
|
animation-timing-function: ease-out;
|
|
18471
18476
|
}
|
|
18472
|
-
`.trim(),
|
|
18477
|
+
`.trim(), My = (e) => e.replace(/\/\*[\s\S]*?\*\//g, "").replace(/\s*([{}:;,>~+])\s*/g, "$1").replace(/\s+/g, " ").replace(/;}/g, "}").trim(), Oy = (e, t = !1) => My(`
|
|
18473
18478
|
|
|
18474
18479
|
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css');
|
|
18475
18480
|
|
|
@@ -18826,7 +18831,7 @@ table[style*="maxHeight"] {
|
|
|
18826
18831
|
|
|
18827
18832
|
${hd}
|
|
18828
18833
|
|
|
18829
|
-
`),
|
|
18834
|
+
`), Ly = [
|
|
18830
18835
|
{
|
|
18831
18836
|
key: "inherit",
|
|
18832
18837
|
label: "Inherit",
|
|
@@ -18977,7 +18982,7 @@ ${hd}
|
|
|
18977
18982
|
label: "Bebas Neue",
|
|
18978
18983
|
value: '"Bebas Neue", cursive, sans-serif'
|
|
18979
18984
|
}
|
|
18980
|
-
],
|
|
18985
|
+
], zy = {
|
|
18981
18986
|
Inter: [400, 500, 600, 700],
|
|
18982
18987
|
Roboto: [400, 500, 700],
|
|
18983
18988
|
"Open Sans": [400, 500, 600, 700],
|
|
@@ -19004,19 +19009,19 @@ ${hd}
|
|
|
19004
19009
|
"Libre Baskerville": [400, 700],
|
|
19005
19010
|
"EB Garamond": [400, 500, 700],
|
|
19006
19011
|
Lora: [400, 500, 700]
|
|
19007
|
-
},
|
|
19012
|
+
}, By = (e, t) => {
|
|
19008
19013
|
const n = e.replace(/ /g, "+");
|
|
19009
19014
|
return t.length === 1 && t[0] === 400 ? n : `${n}:wght@${t.join(";")}`;
|
|
19010
|
-
},
|
|
19011
|
-
|
|
19012
|
-
).map(([e, t]) => `family=${
|
|
19015
|
+
}, Dy = `https://fonts.googleapis.com/css2?${Object.entries(
|
|
19016
|
+
zy
|
|
19017
|
+
).map(([e, t]) => `family=${By(e, t)}`).join("&")}&display=swap`, fd = Ly.filter((e) => e.key !== "inherit").map((e) => ({
|
|
19013
19018
|
label: e.label,
|
|
19014
19019
|
css: e.value
|
|
19015
19020
|
}));
|
|
19016
19021
|
fd.map((e) => e.css);
|
|
19017
|
-
const
|
|
19022
|
+
const Fy = (e) => e.replace(/"/g, '\\"');
|
|
19018
19023
|
fd.map((e) => {
|
|
19019
|
-
const t =
|
|
19024
|
+
const t = Fy(e.css);
|
|
19020
19025
|
return `
|
|
19021
19026
|
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="${t}"]::before,
|
|
19022
19027
|
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="${t}"]::before {
|
|
@@ -19025,7 +19030,7 @@ fd.map((e) => {
|
|
|
19025
19030
|
}`;
|
|
19026
19031
|
}).join(`
|
|
19027
19032
|
`);
|
|
19028
|
-
const
|
|
19033
|
+
const Hy = (e) => {
|
|
19029
19034
|
let t = 0;
|
|
19030
19035
|
const n = e.replace(/<style([^>]*)>([\s\S]*?)<\/style>/gi, (r, o, a) => {
|
|
19031
19036
|
t++;
|
|
@@ -19051,26 +19056,27 @@ function pd(e, {
|
|
|
19051
19056
|
injectPaginationScript: p = !0,
|
|
19052
19057
|
injectFontAssets: m = !0,
|
|
19053
19058
|
injectTimerScript: b = !0,
|
|
19054
|
-
injectAnimationScript: w = !0
|
|
19059
|
+
injectAnimationScript: w = !0,
|
|
19060
|
+
injectPostMessageScript: k = !1
|
|
19055
19061
|
}) {
|
|
19056
|
-
var
|
|
19057
|
-
const
|
|
19058
|
-
a ??
|
|
19059
|
-
const
|
|
19060
|
-
(
|
|
19062
|
+
var ve;
|
|
19063
|
+
const S = ((ve = e == null ? void 0 : e[t]) == null ? void 0 : ve.data) ?? {};
|
|
19064
|
+
a ?? S.lang;
|
|
19065
|
+
const x = i ?? S.skipLink ?? void 0, _ = l ?? S.accessibilityTools ?? void 0, y = Object.values(e ?? {}).some((xe) => (xe == null ? void 0 : xe.type) === "SkipLink"), A = Object.values(e ?? {}).some(
|
|
19066
|
+
(xe) => (xe == null ? void 0 : xe.type) === "AccessibilityTools"
|
|
19061
19067
|
);
|
|
19062
|
-
!
|
|
19063
|
-
const
|
|
19068
|
+
!y && (x == null || x.enabled);
|
|
19069
|
+
const I = !A && !!(_ != null && _.enabled), R = I ? zu(_) : "", N = I ? Bu(_) : "", M = I ? Du() : "", P = d && ky(e), O = f && Sy(e), F = p && $y(e), G = b && _y(e), j = wy(e), U = w && Ys(e), Z = k && xy(e), J = Ys(e), X = /* @__PURE__ */ L(
|
|
19064
19070
|
"div",
|
|
19065
19071
|
{
|
|
19066
19072
|
style: { margin: 0, padding: 0 },
|
|
19067
19073
|
"data-ahd-tpl-root": "true",
|
|
19068
19074
|
children: [
|
|
19069
19075
|
/* @__PURE__ */ v("style", { "data-pp-theme-css": "", dangerouslySetInnerHTML: { __html: Wm } }),
|
|
19070
|
-
s && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html:
|
|
19071
|
-
|
|
19072
|
-
|
|
19073
|
-
m && /* @__PURE__ */ v("link", { rel: "stylesheet", href:
|
|
19076
|
+
s && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: Oy(void 0, !1) } }),
|
|
19077
|
+
R && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: R } }),
|
|
19078
|
+
J && /* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: hd } }),
|
|
19079
|
+
m && /* @__PURE__ */ v("link", { rel: "stylesheet", href: Dy }),
|
|
19074
19080
|
/* @__PURE__ */ v("style", { children: `.gc-tooltip * {
|
|
19075
19081
|
margin: 0;
|
|
19076
19082
|
padding: 0;
|
|
@@ -19079,10 +19085,10 @@ function pd(e, {
|
|
|
19079
19085
|
.gc-tooltip .gc-close { display: none !important; }
|
|
19080
19086
|
.gc-tooltip .gc-copyright { display: none !important; }` }),
|
|
19081
19087
|
/* @__PURE__ */ v("style", { dangerouslySetInnerHTML: { __html: bi } }),
|
|
19082
|
-
|
|
19083
|
-
|
|
19088
|
+
N && /* @__PURE__ */ v("div", { dangerouslySetInnerHTML: { __html: N } }),
|
|
19089
|
+
M && /* @__PURE__ */ v("script", { dangerouslySetInnerHTML: { __html: M } }),
|
|
19084
19090
|
(() => {
|
|
19085
|
-
const
|
|
19091
|
+
const xe = py(e), ee = gy(e), Y = my(e, t), K = xe ? e[xe] : null, D = ee ? e[ee] : null, V = Y ? /* @__PURE__ */ v(
|
|
19086
19092
|
oo,
|
|
19087
19093
|
{
|
|
19088
19094
|
document: e,
|
|
@@ -19090,9 +19096,9 @@ function pd(e, {
|
|
|
19090
19096
|
staticRender: !0,
|
|
19091
19097
|
injectElementIds: !!r,
|
|
19092
19098
|
isBanner: !!h,
|
|
19093
|
-
mainBlockId:
|
|
19094
|
-
hoistedSkipLinkId:
|
|
19095
|
-
hoistedA11yToolsId:
|
|
19099
|
+
mainBlockId: Y,
|
|
19100
|
+
hoistedSkipLinkId: xe,
|
|
19101
|
+
hoistedA11yToolsId: ee
|
|
19096
19102
|
}
|
|
19097
19103
|
) : /* @__PURE__ */ v("main", { id: "main-content", tabIndex: -1, children: /* @__PURE__ */ v(
|
|
19098
19104
|
oo,
|
|
@@ -19102,41 +19108,42 @@ function pd(e, {
|
|
|
19102
19108
|
staticRender: !0,
|
|
19103
19109
|
injectElementIds: !!r,
|
|
19104
19110
|
isBanner: !!h,
|
|
19105
|
-
hoistedSkipLinkId:
|
|
19106
|
-
hoistedA11yToolsId:
|
|
19111
|
+
hoistedSkipLinkId: xe,
|
|
19112
|
+
hoistedA11yToolsId: ee
|
|
19107
19113
|
}
|
|
19108
19114
|
) });
|
|
19109
19115
|
return /* @__PURE__ */ L(De, { children: [
|
|
19110
|
-
|
|
19111
|
-
h ?
|
|
19112
|
-
|
|
19116
|
+
K && /* @__PURE__ */ v(Lu, { ...K.data ?? {} }),
|
|
19117
|
+
h ? V : /* @__PURE__ */ v("div", { className: "ahd-page-root", children: V }),
|
|
19118
|
+
D && /* @__PURE__ */ v(Fu, { ...D.data ?? {} })
|
|
19113
19119
|
] });
|
|
19114
19120
|
})(),
|
|
19115
|
-
|
|
19116
|
-
|
|
19117
|
-
O && /* @__PURE__ */ v("script", { src: Ay, defer: !0 }),
|
|
19121
|
+
P && /* @__PURE__ */ v("script", { src: Ay, defer: !0 }),
|
|
19122
|
+
O && /* @__PURE__ */ v("script", { src: yy, defer: !0 }),
|
|
19118
19123
|
F && /* @__PURE__ */ v("script", { src: Iy, defer: !0 }),
|
|
19119
|
-
G && /* @__PURE__ */ v("script", { src:
|
|
19120
|
-
j && /* @__PURE__ */ v("script", { src: Ry, defer: !0 })
|
|
19124
|
+
G && /* @__PURE__ */ v("script", { src: Ty, defer: !0 }),
|
|
19125
|
+
j && /* @__PURE__ */ v("script", { src: Ry, defer: !0 }),
|
|
19126
|
+
U && /* @__PURE__ */ v("script", { src: Ny, defer: !0 }),
|
|
19127
|
+
Z && /* @__PURE__ */ v("script", { src: Ey, defer: !0 })
|
|
19121
19128
|
]
|
|
19122
19129
|
}
|
|
19123
|
-
),
|
|
19124
|
-
let
|
|
19125
|
-
const
|
|
19126
|
-
return
|
|
19130
|
+
), q = _d(X);
|
|
19131
|
+
let te = o ? Hy(q) : q;
|
|
19132
|
+
const $e = by() + (Z ? vy() : ""), Ce = te.lastIndexOf("</div>");
|
|
19133
|
+
return te = Ce !== -1 ? te.slice(0, Ce) + $e + te.slice(Ce) : te + $e, u && (te = te.replace("</head>", `${u}</head>`)), c && (te = te.replace("</body>", `${c}</body>`)), te;
|
|
19127
19134
|
}
|
|
19128
19135
|
function gd(e) {
|
|
19129
19136
|
return ((e == null ? void 0 : e.sectionType) || "internal") === "external";
|
|
19130
19137
|
}
|
|
19131
|
-
function
|
|
19138
|
+
function Gy(e) {
|
|
19132
19139
|
var t;
|
|
19133
19140
|
return String((e == null ? void 0 : e.identifier) || ((t = e == null ? void 0 : e.metadata) == null ? void 0 : t.identifier) || "");
|
|
19134
19141
|
}
|
|
19135
|
-
function
|
|
19136
|
-
const t =
|
|
19142
|
+
function jy(e) {
|
|
19143
|
+
const t = Gy(e);
|
|
19137
19144
|
return t ? `<div id="${Br(t)}"></div>` : "";
|
|
19138
19145
|
}
|
|
19139
|
-
function
|
|
19146
|
+
function Wy(e, t = {}) {
|
|
19140
19147
|
var a;
|
|
19141
19148
|
if (!e) return "";
|
|
19142
19149
|
const n = t.rootBlockId ?? "root", r = ((a = e == null ? void 0 : e[n]) == null ? void 0 : a.data) ?? {}, o = t.rootOverrides ?? {};
|
|
@@ -19153,6 +19160,9 @@ function Hy(e, t = {}) {
|
|
|
19153
19160
|
injectCarouselScript: t.injectCarouselScript,
|
|
19154
19161
|
injectPaginationScript: t.injectPaginationScript,
|
|
19155
19162
|
injectAnimationScript: t.injectAnimationScript,
|
|
19163
|
+
// Default on: backend page re-renders do not pass this. The editor save
|
|
19164
|
+
// pipeline passes false for tours/tooltips/banners, which use ahdjs.
|
|
19165
|
+
injectPostMessageScript: t.injectPostMessageScript ?? !0,
|
|
19156
19166
|
injectFontAssets: t.injectFontAssets,
|
|
19157
19167
|
headHtml: t.headHtml,
|
|
19158
19168
|
bodyBottomHtml: t.bodyBottomHtml,
|
|
@@ -19166,7 +19176,7 @@ function Hy(e, t = {}) {
|
|
|
19166
19176
|
function Br(e) {
|
|
19167
19177
|
return String(e).replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">");
|
|
19168
19178
|
}
|
|
19169
|
-
function
|
|
19179
|
+
function Uy(e, t, n = {}) {
|
|
19170
19180
|
var d, f, p;
|
|
19171
19181
|
const r = t.find((m) => !gd(m)), o = ((p = (f = (d = r == null ? void 0 : r.contentMetadata) == null ? void 0 : d.document) == null ? void 0 : f.root) == null ? void 0 : p.data) ?? {}, a = n.lang || o.lang || "en", i = n.canvasColor || o.canvasColor || "#FFFFFF", l = n.fontFamily || (typeof o.fontFamily == "string" ? o.fontFamily : "Inter, system-ui, sans-serif"), s = n.seoTitle ? `<title>${Br(n.seoTitle)}</title>` : "", u = n.seoDescription ? `<meta name="description" content="${Br(n.seoDescription)}" />` : "", c = n.extraHead ?? "", h = n.extraBodyBottom ?? "";
|
|
19172
19182
|
return `<!doctype html>
|
|
@@ -19189,17 +19199,17 @@ ${h}
|
|
|
19189
19199
|
</body>
|
|
19190
19200
|
</html>`;
|
|
19191
19201
|
}
|
|
19192
|
-
function
|
|
19202
|
+
function Zy(e, t = {}) {
|
|
19193
19203
|
const n = t.includeExternalSections ?? !0, r = t.wrapInDocumentShell ?? !0, o = [], a = e.map((l) => {
|
|
19194
19204
|
var c;
|
|
19195
19205
|
if (gd(l)) {
|
|
19196
|
-
const h =
|
|
19206
|
+
const h = jy(l);
|
|
19197
19207
|
return n && h && o.push(h), { ...l, content: h };
|
|
19198
19208
|
}
|
|
19199
19209
|
const s = (c = l == null ? void 0 : l.contentMetadata) == null ? void 0 : c.document;
|
|
19200
19210
|
if (!s)
|
|
19201
19211
|
return l != null && l.content && o.push(String(l.content)), l;
|
|
19202
|
-
const u =
|
|
19212
|
+
const u = Wy(s, t);
|
|
19203
19213
|
return u && o.push(u), {
|
|
19204
19214
|
...l,
|
|
19205
19215
|
content: u,
|
|
@@ -19211,12 +19221,12 @@ function jy(e, t = {}) {
|
|
|
19211
19221
|
}), i = o.join(`
|
|
19212
19222
|
`);
|
|
19213
19223
|
return r ? {
|
|
19214
|
-
html:
|
|
19224
|
+
html: Uy(i, e, t),
|
|
19215
19225
|
sectionHtml: o,
|
|
19216
19226
|
flushedSections: a
|
|
19217
19227
|
} : { html: i, sectionHtml: o, flushedSections: a };
|
|
19218
19228
|
}
|
|
19219
|
-
function
|
|
19229
|
+
function qy(e) {
|
|
19220
19230
|
var a, i, l, s, u, c, h, d, f, p, m;
|
|
19221
19231
|
if (!e) return [];
|
|
19222
19232
|
const t = e.configuration ?? {}, n = (i = (a = t == null ? void 0 : t.root) == null ? void 0 : a.data) == null ? void 0 : i.formFields;
|
|
@@ -19237,7 +19247,7 @@ function Wy(e) {
|
|
|
19237
19247
|
const o = (m = (p = (f = (d = (h = t == null ? void 0 : t.step) == null ? void 0 : h.contentMetadata) == null ? void 0 : d.document) == null ? void 0 : f.root) == null ? void 0 : p.data) == null ? void 0 : m.formFields;
|
|
19238
19248
|
return Array.isArray(o) && o.length > 0 ? o : Array.isArray(e.formFields) ? e.formFields : [];
|
|
19239
19249
|
}
|
|
19240
|
-
function
|
|
19250
|
+
function Vy(e) {
|
|
19241
19251
|
var n, r, o, a, i, l, s;
|
|
19242
19252
|
if (!e || typeof e != "object") return null;
|
|
19243
19253
|
const t = e.configuration;
|
|
@@ -19283,7 +19293,7 @@ function md(e, t) {
|
|
|
19283
19293
|
}
|
|
19284
19294
|
return null;
|
|
19285
19295
|
}
|
|
19286
|
-
function
|
|
19296
|
+
function Yy(e, t) {
|
|
19287
19297
|
if (!t || t.length === 0) {
|
|
19288
19298
|
const r = {};
|
|
19289
19299
|
for (const [o, a] of Object.entries(e))
|
|
@@ -19297,7 +19307,7 @@ function Zy(e, t) {
|
|
|
19297
19307
|
}
|
|
19298
19308
|
return e.id !== void 0 && n.id === void 0 && (n.id = String(e.id)), n;
|
|
19299
19309
|
}
|
|
19300
|
-
async function
|
|
19310
|
+
async function Ky(e, t, n, r) {
|
|
19301
19311
|
if (typeof AbortController > "u") return n(e, t);
|
|
19302
19312
|
const o = new AbortController(), a = setTimeout(() => o.abort(), r);
|
|
19303
19313
|
try {
|
|
@@ -19306,7 +19316,7 @@ async function qy(e, t, n, r) {
|
|
|
19306
19316
|
clearTimeout(a);
|
|
19307
19317
|
}
|
|
19308
19318
|
}
|
|
19309
|
-
async function
|
|
19319
|
+
async function Jy(e, t = {}) {
|
|
19310
19320
|
var h;
|
|
19311
19321
|
const n = Array.isArray(e) ? e : [], r = n.filter(
|
|
19312
19322
|
(d) => {
|
|
@@ -19336,7 +19346,7 @@ async function Vy(e, t = {}) {
|
|
|
19336
19346
|
var b;
|
|
19337
19347
|
const { apiUrl: f, apiMethod: p = "GET", apiItemPath: m } = d.dataSource;
|
|
19338
19348
|
try {
|
|
19339
|
-
const w = await
|
|
19349
|
+
const w = await Ky(
|
|
19340
19350
|
f,
|
|
19341
19351
|
{
|
|
19342
19352
|
method: p,
|
|
@@ -19350,7 +19360,7 @@ async function Vy(e, t = {}) {
|
|
|
19350
19360
|
const k = await w.json(), S = md(k, m);
|
|
19351
19361
|
if (!S)
|
|
19352
19362
|
throw new Error(`GET ${f} → response had no array of rows`);
|
|
19353
|
-
const x = S.map((_) =>
|
|
19363
|
+
const x = S.map((_) => Yy(_, d.itemFields));
|
|
19354
19364
|
return l += 1, { id: d.id, value: x };
|
|
19355
19365
|
} catch (w) {
|
|
19356
19366
|
const k = w instanceof Error ? w : new Error(String(w));
|
|
@@ -19365,10 +19375,10 @@ async function Vy(e, t = {}) {
|
|
|
19365
19375
|
(d) => u.has(d.id) ? { ...d, value: u.get(d.id) } : d
|
|
19366
19376
|
), attempted: r.length, refreshed: l, errors: i };
|
|
19367
19377
|
}
|
|
19368
|
-
async function
|
|
19378
|
+
async function Xy(e, t = {}) {
|
|
19369
19379
|
var r, o;
|
|
19370
19380
|
const n = (o = (r = e == null ? void 0 : e.root) == null ? void 0 : r.data) == null ? void 0 : o.formFields;
|
|
19371
|
-
return
|
|
19381
|
+
return Jy(Array.isArray(n) ? n : [], t);
|
|
19372
19382
|
}
|
|
19373
19383
|
function bd(e, t) {
|
|
19374
19384
|
if (!e) return t();
|
|
@@ -19379,19 +19389,19 @@ function bd(e, t) {
|
|
|
19379
19389
|
Cl(null);
|
|
19380
19390
|
}
|
|
19381
19391
|
}
|
|
19382
|
-
function
|
|
19392
|
+
function Qy(e) {
|
|
19383
19393
|
const t = e;
|
|
19384
19394
|
return !!(t.pageId && t.baseUrl && t.tenantId);
|
|
19385
19395
|
}
|
|
19386
|
-
function
|
|
19396
|
+
function eI(e) {
|
|
19387
19397
|
const t = e;
|
|
19388
19398
|
return !!(t.pagePath && t.baseUrl && t.tenantId);
|
|
19389
19399
|
}
|
|
19390
|
-
function
|
|
19400
|
+
function tI(e) {
|
|
19391
19401
|
const t = e;
|
|
19392
19402
|
return !!(t.templateId && t.baseUrl);
|
|
19393
19403
|
}
|
|
19394
|
-
function
|
|
19404
|
+
function nI(e) {
|
|
19395
19405
|
if (!e || typeof e != "object") return e;
|
|
19396
19406
|
const t = zi(e);
|
|
19397
19407
|
return !t || t.length === 0 ? e : Bi(e, t);
|
|
@@ -19403,7 +19413,7 @@ async function Js(e, t) {
|
|
|
19403
19413
|
if (!n || n.length === 0)
|
|
19404
19414
|
return { document: e, apiRefresh: null };
|
|
19405
19415
|
let r = n, o = null;
|
|
19406
|
-
return t.refreshApiDataSources && (o = await
|
|
19416
|
+
return t.refreshApiDataSources && (o = await Xy(e, {
|
|
19407
19417
|
fetchFn: t.fetchFn,
|
|
19408
19418
|
headers: t.apiDataSourceHeaders,
|
|
19409
19419
|
timeoutMs: t.apiDataSourceTimeoutMs,
|
|
@@ -19413,7 +19423,7 @@ async function Js(e, t) {
|
|
|
19413
19423
|
apiRefresh: o
|
|
19414
19424
|
};
|
|
19415
19425
|
}
|
|
19416
|
-
const
|
|
19426
|
+
const rI = /* @__PURE__ */ new Set([
|
|
19417
19427
|
"ColumnsContainer",
|
|
19418
19428
|
"FlexColumns",
|
|
19419
19429
|
"Grid",
|
|
@@ -19456,7 +19466,7 @@ const eI = /* @__PURE__ */ new Set([
|
|
|
19456
19466
|
"Mdx",
|
|
19457
19467
|
"QuillBlock"
|
|
19458
19468
|
]);
|
|
19459
|
-
function
|
|
19469
|
+
function oI(e) {
|
|
19460
19470
|
var r, o, a;
|
|
19461
19471
|
const t = ((r = e == null ? void 0 : e.data) == null ? void 0 : r.props) ?? {};
|
|
19462
19472
|
return {
|
|
@@ -19474,7 +19484,7 @@ function vd(e) {
|
|
|
19474
19484
|
const n = {};
|
|
19475
19485
|
for (const [r, o] of Object.entries(e)) {
|
|
19476
19486
|
const a = o == null ? void 0 : o.type;
|
|
19477
|
-
a && !
|
|
19487
|
+
a && !rI.has(a) ? (n[r] = oI(o), t = !0, console.warn(
|
|
19478
19488
|
`[pagepilot-visual-editor] renderToStaticHtml: block "${r}" has unsupported type "${a}" — coerced to Text.`
|
|
19479
19489
|
)) : n[r] = o;
|
|
19480
19490
|
}
|
|
@@ -19483,7 +19493,7 @@ function vd(e) {
|
|
|
19483
19493
|
function Fi(e, t) {
|
|
19484
19494
|
var i;
|
|
19485
19495
|
if (!e) return "";
|
|
19486
|
-
const n = t.rootBlockId ?? "root", r =
|
|
19496
|
+
const n = t.rootBlockId ?? "root", r = nI(e), o = vd(r), a = ((i = o == null ? void 0 : o[n]) == null ? void 0 : i.data) ?? {};
|
|
19487
19497
|
return bd(t.recordType, () => pd(o, {
|
|
19488
19498
|
rootBlockId: n,
|
|
19489
19499
|
injectElementIds: t.injectElementIds ?? !0,
|
|
@@ -19545,7 +19555,7 @@ async function xd(e, t, n) {
|
|
|
19545
19555
|
}
|
|
19546
19556
|
};
|
|
19547
19557
|
})
|
|
19548
|
-
), { html: s } = bd(n.recordType ?? "page", () =>
|
|
19558
|
+
), { html: s } = bd(n.recordType ?? "page", () => Zy(l, {
|
|
19549
19559
|
rootBlockId: n.rootBlockId,
|
|
19550
19560
|
injectTabsScrollSyncScript: n.injectTabsScrollSyncScript,
|
|
19551
19561
|
injectCarouselScript: n.injectCarouselScript,
|
|
@@ -19561,7 +19571,7 @@ async function xd(e, t, n) {
|
|
|
19561
19571
|
}));
|
|
19562
19572
|
return s;
|
|
19563
19573
|
}
|
|
19564
|
-
async function
|
|
19574
|
+
async function aI(e, t) {
|
|
19565
19575
|
const { baseUrl: n, tenantId: r, pageId: o } = t, i = `${n.replace(/\/+$/, "")}/tenant/${r}/page/${o}`, l = Hi(t), s = await ji(
|
|
19566
19576
|
i,
|
|
19567
19577
|
{ method: "GET", headers: Gi(t) },
|
|
@@ -19573,7 +19583,7 @@ async function nI(e, t) {
|
|
|
19573
19583
|
);
|
|
19574
19584
|
return xd(e, s.body, { ...t, fetchFn: l });
|
|
19575
19585
|
}
|
|
19576
|
-
async function
|
|
19586
|
+
async function iI(e, t) {
|
|
19577
19587
|
var d, f;
|
|
19578
19588
|
const { baseUrl: n, tenantId: r, pagePath: o, cache: a = !1, update: i = !0 } = t, s = `${n.replace(/\/+$/, "")}/tenant/${r}/pagebypath/${encodeURIComponent(
|
|
19579
19589
|
o
|
|
@@ -19589,14 +19599,14 @@ async function rI(e, t) {
|
|
|
19589
19599
|
const h = ((d = c.body) == null ? void 0 : d.data) ?? ((f = c.body) == null ? void 0 : f.payload) ?? c.body;
|
|
19590
19600
|
return xd(e, h, { ...t, fetchFn: u });
|
|
19591
19601
|
}
|
|
19592
|
-
async function
|
|
19602
|
+
async function lI(e) {
|
|
19593
19603
|
const { baseUrl: t, tenantId: n, templateId: r, isGlobal: o = !1 } = e, a = t.replace(/\/+$/, ""), i = Hi(e), l = o ? `${a}/global-template/${r}` : `${a}/tenant/${n}/template/${r}`, s = o ? { "Content-Type": "application/json" } : Gi(e), u = await ji(l, { method: "GET", headers: s }, i);
|
|
19594
19604
|
if (u.ok) return u.body;
|
|
19595
19605
|
throw new Error(
|
|
19596
19606
|
`[pagepilot-visual-editor] renderToStaticHtml: GET ${l} → ${u.status}${u.text ? `: ${u.text}` : ""}`
|
|
19597
19607
|
);
|
|
19598
19608
|
}
|
|
19599
|
-
function
|
|
19609
|
+
function sI(e, t) {
|
|
19600
19610
|
if (!t) return e;
|
|
19601
19611
|
const n = /* @__PURE__ */ new Map();
|
|
19602
19612
|
for (const o of e) o != null && o.id && n.set(o.id, o);
|
|
@@ -19621,19 +19631,19 @@ function aI(e, t) {
|
|
|
19621
19631
|
}
|
|
19622
19632
|
return Array.from(n.values());
|
|
19623
19633
|
}
|
|
19624
|
-
async function
|
|
19625
|
-
const n = await
|
|
19634
|
+
async function cI(e, t) {
|
|
19635
|
+
const n = await lI(t), r = Vy(n) ?? (e && Object.keys(e).length > 0 ? e : null);
|
|
19626
19636
|
if (!r) return "";
|
|
19627
|
-
const o =
|
|
19637
|
+
const o = qy(n), a = sI(o, t.variables), i = Bi(r, a);
|
|
19628
19638
|
return Fi(i, t);
|
|
19629
19639
|
}
|
|
19630
|
-
function
|
|
19631
|
-
return
|
|
19640
|
+
function AI(e, t) {
|
|
19641
|
+
return tI(t) ? cI(e, t) : eI(t) ? iI(e, t) : Qy(t) ? aI(e, t) : Fi(e, t);
|
|
19632
19642
|
}
|
|
19633
|
-
function
|
|
19643
|
+
function uI() {
|
|
19634
19644
|
return `block-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;
|
|
19635
19645
|
}
|
|
19636
|
-
function
|
|
19646
|
+
function dI(e, t) {
|
|
19637
19647
|
e.data && (Array.isArray(e.data.childrenIds) && (e.data.childrenIds = e.data.childrenIds.map((n) => t[n] ?? n)), e.data.props && (Array.isArray(e.data.props.childrenIds) && (e.data.props.childrenIds = e.data.props.childrenIds.map((n) => t[n] ?? n)), Array.isArray(e.data.props.startChildrenIds) && (e.data.props.startChildrenIds = e.data.props.startChildrenIds.map((n) => t[n] ?? n)), Array.isArray(e.data.props.endChildrenIds) && (e.data.props.endChildrenIds = e.data.props.endChildrenIds.map((n) => t[n] ?? n)), Array.isArray(e.data.props.columns) && (e.data.props.columns = e.data.props.columns.map((n) => ({
|
|
19638
19648
|
...n,
|
|
19639
19649
|
childrenIds: (n.childrenIds || []).map((r) => t[r] ?? r)
|
|
@@ -19648,18 +19658,18 @@ function sI(e, t) {
|
|
|
19648
19658
|
...n.detailChildrenIds !== void 0 ? { detailChildrenIds: (n.detailChildrenIds || []).map((r) => t[r] ?? r) } : {}
|
|
19649
19659
|
})))));
|
|
19650
19660
|
}
|
|
19651
|
-
function
|
|
19661
|
+
function vn(e, t) {
|
|
19652
19662
|
const n = to(e, t), r = {};
|
|
19653
19663
|
n.forEach((a) => {
|
|
19654
|
-
r[a] =
|
|
19664
|
+
r[a] = uI();
|
|
19655
19665
|
});
|
|
19656
19666
|
const o = {};
|
|
19657
19667
|
return n.forEach((a) => {
|
|
19658
19668
|
const i = JSON.parse(JSON.stringify(e[a]));
|
|
19659
|
-
|
|
19669
|
+
dI(i, r), o[r[a]] = i;
|
|
19660
19670
|
}), { newBlocks: o, idMap: r, newRootId: r[t] };
|
|
19661
19671
|
}
|
|
19662
|
-
function
|
|
19672
|
+
function hI(e, t, n) {
|
|
19663
19673
|
var r, o, a, i;
|
|
19664
19674
|
for (const [l, s] of Object.entries(e)) {
|
|
19665
19675
|
if (!s || typeof s != "object") continue;
|
|
@@ -19786,7 +19796,7 @@ function cI(e, t, n) {
|
|
|
19786
19796
|
}
|
|
19787
19797
|
return null;
|
|
19788
19798
|
}
|
|
19789
|
-
function
|
|
19799
|
+
function fI(e, t) {
|
|
19790
19800
|
var n, r, o;
|
|
19791
19801
|
for (const [a, i] of Object.entries(e)) {
|
|
19792
19802
|
if ((i == null ? void 0 : i.type) !== "FlexColumns") continue;
|
|
@@ -19799,7 +19809,7 @@ function uI(e, t) {
|
|
|
19799
19809
|
}
|
|
19800
19810
|
return null;
|
|
19801
19811
|
}
|
|
19802
|
-
function
|
|
19812
|
+
function pI(e, t) {
|
|
19803
19813
|
var n, r, o;
|
|
19804
19814
|
for (const [a, i] of Object.entries(e)) {
|
|
19805
19815
|
const l = (r = (n = i == null ? void 0 : i.data) == null ? void 0 : n.props) == null ? void 0 : r.cells;
|
|
@@ -19811,7 +19821,7 @@ function dI(e, t) {
|
|
|
19811
19821
|
}
|
|
19812
19822
|
return null;
|
|
19813
19823
|
}
|
|
19814
|
-
function
|
|
19824
|
+
function gI(e, t) {
|
|
19815
19825
|
var n, r, o;
|
|
19816
19826
|
for (const [a, i] of Object.entries(e)) {
|
|
19817
19827
|
if ((i == null ? void 0 : i.type) !== "Pagination") continue;
|
|
@@ -19824,7 +19834,7 @@ function hI(e, t) {
|
|
|
19824
19834
|
}
|
|
19825
19835
|
return null;
|
|
19826
19836
|
}
|
|
19827
|
-
function
|
|
19837
|
+
function mI(e, t) {
|
|
19828
19838
|
var n, r, o;
|
|
19829
19839
|
for (const [a, i] of Object.entries(e)) {
|
|
19830
19840
|
const l = i == null ? void 0 : i.type;
|
|
@@ -19851,7 +19861,7 @@ function Xs(e, t, n) {
|
|
|
19851
19861
|
let _ = null;
|
|
19852
19862
|
for (const I of k) {
|
|
19853
19863
|
if (!S[I]) continue;
|
|
19854
|
-
const { newBlocks: R, newRootId: N } =
|
|
19864
|
+
const { newBlocks: R, newRootId: N } = vn(S, I);
|
|
19855
19865
|
S = { ...S, ...R }, x.push(N), _ || (_ = N);
|
|
19856
19866
|
}
|
|
19857
19867
|
const y = _ ?? t, A = [
|
|
@@ -19872,7 +19882,7 @@ function Xs(e, t, n) {
|
|
|
19872
19882
|
}
|
|
19873
19883
|
}, { updatedDocument: S, newRootId: y };
|
|
19874
19884
|
}
|
|
19875
|
-
const o =
|
|
19885
|
+
const o = pI(e, n);
|
|
19876
19886
|
if (o) {
|
|
19877
19887
|
const m = e[o.gridId], b = m.data.props ?? {}, w = b.columnsCount ?? 2, k = b.rowsCount ?? 2, S = Array.isArray(b.cells) ? b.cells : [], _ = S.some(
|
|
19878
19888
|
(P) => (P == null ? void 0 : P.colStart) != null || (P == null ? void 0 : P.rowStart) != null || (P == null ? void 0 : P.colSpan) != null || (P == null ? void 0 : P.rowSpan) != null
|
|
@@ -19881,7 +19891,7 @@ function Xs(e, t, n) {
|
|
|
19881
19891
|
(P, O) => O > o.cellIndex && (!Array.isArray(P == null ? void 0 : P.childrenIds) || P.childrenIds.length === 0)
|
|
19882
19892
|
);
|
|
19883
19893
|
if (A === -1 && (A = y.findIndex((P) => !Array.isArray(P == null ? void 0 : P.childrenIds) || P.childrenIds.length === 0)), A === -1) return null;
|
|
19884
|
-
const { newBlocks: I, newRootId: R } =
|
|
19894
|
+
const { newBlocks: I, newRootId: R } = vn(e, t), N = y.map((P, O) => O === A ? { ...P, childrenIds: [...(P == null ? void 0 : P.childrenIds) ?? [], R] } : P);
|
|
19885
19895
|
return { updatedDocument: {
|
|
19886
19896
|
...e,
|
|
19887
19897
|
...I,
|
|
@@ -19891,14 +19901,14 @@ function Xs(e, t, n) {
|
|
|
19891
19901
|
}
|
|
19892
19902
|
}, newRootId: R };
|
|
19893
19903
|
}
|
|
19894
|
-
const a =
|
|
19904
|
+
const a = gI(e, n);
|
|
19895
19905
|
if (a) {
|
|
19896
19906
|
const m = e[a.paginationId], b = m.data.props ?? {}, w = b.columnsCount ?? 2, k = b.rowsCount ?? 2, S = Array.isArray(b.cells) ? b.cells : [], x = Math.max(w * k, S.length), _ = Array.from({ length: x }, (M, P) => S[P] ?? { childrenIds: [] });
|
|
19897
19907
|
let y = _.findIndex(
|
|
19898
19908
|
(M, P) => P > a.cellIndex && (!Array.isArray(M == null ? void 0 : M.childrenIds) || M.childrenIds.length === 0)
|
|
19899
19909
|
);
|
|
19900
19910
|
y === -1 && (y = _.findIndex((M) => !Array.isArray(M == null ? void 0 : M.childrenIds) || M.childrenIds.length === 0)), y === -1 && (_.push({ childrenIds: [] }), y = _.length - 1);
|
|
19901
|
-
const { newBlocks: A, newRootId: I } =
|
|
19911
|
+
const { newBlocks: A, newRootId: I } = vn(e, t), R = _.map((M, P) => P === y ? { ...M, childrenIds: [...(M == null ? void 0 : M.childrenIds) ?? [], I] } : M);
|
|
19902
19912
|
return { updatedDocument: {
|
|
19903
19913
|
...e,
|
|
19904
19914
|
...A,
|
|
@@ -19908,14 +19918,14 @@ function Xs(e, t, n) {
|
|
|
19908
19918
|
}
|
|
19909
19919
|
}, newRootId: I };
|
|
19910
19920
|
}
|
|
19911
|
-
const i =
|
|
19921
|
+
const i = fI(e, n);
|
|
19912
19922
|
if (i) {
|
|
19913
19923
|
const m = e[i.flexId], b = m.data.props ?? {}, w = b.columnsCount ?? 2, k = Array.isArray(b.columns) ? b.columns : [], S = Array.from({ length: w }, (R, N) => k[N] ?? { childrenIds: [] });
|
|
19914
19924
|
let x = S.findIndex(
|
|
19915
19925
|
(R, N) => N > i.columnIndex && (!Array.isArray(R == null ? void 0 : R.childrenIds) || R.childrenIds.length === 0)
|
|
19916
19926
|
);
|
|
19917
19927
|
if (x === -1 && (x = S.findIndex((R) => !Array.isArray(R == null ? void 0 : R.childrenIds) || R.childrenIds.length === 0)), x === -1) return null;
|
|
19918
|
-
const { newBlocks: _, newRootId: y } =
|
|
19928
|
+
const { newBlocks: _, newRootId: y } = vn(e, t), A = S.map((R, N) => N === x ? { ...R, childrenIds: [...(R == null ? void 0 : R.childrenIds) ?? [], y] } : R);
|
|
19919
19929
|
return { updatedDocument: {
|
|
19920
19930
|
...e,
|
|
19921
19931
|
..._,
|
|
@@ -19925,7 +19935,7 @@ function Xs(e, t, n) {
|
|
|
19925
19935
|
}
|
|
19926
19936
|
}, newRootId: y };
|
|
19927
19937
|
}
|
|
19928
|
-
const l =
|
|
19938
|
+
const l = mI(e, n);
|
|
19929
19939
|
if (l) {
|
|
19930
19940
|
let m = e[l.parentId], b = Array.isArray((p = m.data.props) == null ? void 0 : p.items) ? m.data.props.items : [], w = e, k = b.findIndex(
|
|
19931
19941
|
(A, I) => I > l.itemIndex && (!Array.isArray(A == null ? void 0 : A.contentChildrenIds) || A.contentChildrenIds.length === 0)
|
|
@@ -19942,7 +19952,7 @@ function Xs(e, t, n) {
|
|
|
19942
19952
|
}, m = w[l.parentId], b = A, k = b.length - 1;
|
|
19943
19953
|
} else
|
|
19944
19954
|
return null;
|
|
19945
|
-
const { newBlocks: S, newRootId: x } =
|
|
19955
|
+
const { newBlocks: S, newRootId: x } = vn(w, t), _ = b.map(
|
|
19946
19956
|
(A, I) => I === k ? {
|
|
19947
19957
|
...A,
|
|
19948
19958
|
...l.parentType === "TabsBlock" && !(A != null && A.label) ? { label: `Tab ${I + 1}` } : {},
|
|
@@ -19958,10 +19968,10 @@ function Xs(e, t, n) {
|
|
|
19958
19968
|
}
|
|
19959
19969
|
}, newRootId: x };
|
|
19960
19970
|
}
|
|
19961
|
-
const { newBlocks: s, newRootId: u } =
|
|
19971
|
+
const { newBlocks: s, newRootId: u } = vn(e, t), c = { ...e, ...s }, h = hI(c, n, u);
|
|
19962
19972
|
return h && (c[h.parentId] = h.updatedParent), { updatedDocument: c, newRootId: u };
|
|
19963
19973
|
}
|
|
19964
|
-
function
|
|
19974
|
+
function bI(e, t) {
|
|
19965
19975
|
const n = (o) => Array.isArray(o) ? o.filter((a) => !t.has(a)) : o, r = {};
|
|
19966
19976
|
for (const [o, a] of Object.entries(e)) {
|
|
19967
19977
|
if (t.has(o)) continue;
|
|
@@ -19985,7 +19995,7 @@ function pI(e, t) {
|
|
|
19985
19995
|
}
|
|
19986
19996
|
return r;
|
|
19987
19997
|
}
|
|
19988
|
-
function
|
|
19998
|
+
function vI(e) {
|
|
19989
19999
|
var r;
|
|
19990
20000
|
const t = e == null ? void 0 : e.type, n = ((r = e == null ? void 0 : e.data) == null ? void 0 : r.props) ?? {};
|
|
19991
20001
|
if (t === "Grid") {
|
|
@@ -20043,7 +20053,7 @@ function Wi(e, t) {
|
|
|
20043
20053
|
return r && r.containerId === t ? r : r && { ...r, containerId: t };
|
|
20044
20054
|
if (!mo(n.type))
|
|
20045
20055
|
return yr.set(n, null), null;
|
|
20046
|
-
const o =
|
|
20056
|
+
const o = vI(n);
|
|
20047
20057
|
if (!o)
|
|
20048
20058
|
return yr.set(n, null), null;
|
|
20049
20059
|
const { slotCount: a, slots: i } = o, l = i.findIndex((c) => c.childrenIds.length > 0), s = i.filter((c) => c.childrenIds.length === 0).length, u = { containerId: t, type: n.type, slotCount: a, slots: i, firstFilledSlot: l, emptySlotCount: s };
|
|
@@ -20057,7 +20067,7 @@ function Qs(e, t) {
|
|
|
20057
20067
|
}
|
|
20058
20068
|
return null;
|
|
20059
20069
|
}
|
|
20060
|
-
function
|
|
20070
|
+
function xI(e, t, n, r) {
|
|
20061
20071
|
var u;
|
|
20062
20072
|
const o = e[t];
|
|
20063
20073
|
if (!o || !mo(o.type)) return e;
|
|
@@ -20103,7 +20113,7 @@ function mI(e, t, n, r) {
|
|
|
20103
20113
|
[t]: { ...o, data: { ...o.data, props: { ...a, columnsCount: n, columns: s } } }
|
|
20104
20114
|
};
|
|
20105
20115
|
}
|
|
20106
|
-
function
|
|
20116
|
+
function kI(e, t, n) {
|
|
20107
20117
|
var u;
|
|
20108
20118
|
const r = e[t];
|
|
20109
20119
|
if (!r || !mo(r.type)) return e;
|
|
@@ -20150,7 +20160,7 @@ function bI(e, t, n) {
|
|
|
20150
20160
|
[t]: { ...r, data: { ...r.data, props: { ...l, columnsCount: i, columns: s.slice(0, i) } } }
|
|
20151
20161
|
};
|
|
20152
20162
|
}
|
|
20153
|
-
function
|
|
20163
|
+
function yI(e, t, n, r = "columns") {
|
|
20154
20164
|
const o = t == null ? void 0 : t.sourceBlockId;
|
|
20155
20165
|
if (!o || !e[o]) return null;
|
|
20156
20166
|
const a = Math.max(1, n);
|
|
@@ -20168,7 +20178,7 @@ function _I(e, t, n, r = "columns") {
|
|
|
20168
20178
|
h = !0;
|
|
20169
20179
|
break;
|
|
20170
20180
|
}
|
|
20171
|
-
const m = Wi(i, p), b = ((m == null ? void 0 : m.slotCount) ?? 0) + (a - s), w =
|
|
20181
|
+
const m = Wi(i, p), b = ((m == null ? void 0 : m.slotCount) ?? 0) + (a - s), w = xI(i, p, b, r);
|
|
20172
20182
|
if (w === i) {
|
|
20173
20183
|
h = !0;
|
|
20174
20184
|
break;
|
|
@@ -20187,28 +20197,28 @@ function _I(e, t, n, r = "columns") {
|
|
|
20187
20197
|
const h = /* @__PURE__ */ new Set();
|
|
20188
20198
|
for (const f of c)
|
|
20189
20199
|
for (const p of to(i, f)) h.add(p);
|
|
20190
|
-
i =
|
|
20200
|
+
i = bI(i, h);
|
|
20191
20201
|
const d = Qs(i, o);
|
|
20192
|
-
d && (i =
|
|
20202
|
+
d && (i = kI(i, d, u)), l = l.slice(0, u - 1), s = 1 + l.length;
|
|
20193
20203
|
}
|
|
20194
20204
|
return { document: i, sourceBlockId: o, rowIds: l, achievedRowCount: s, capacityLimited: !1 };
|
|
20195
20205
|
}
|
|
20196
20206
|
export {
|
|
20197
20207
|
oo as Reader,
|
|
20198
|
-
|
|
20208
|
+
Oe as ReaderBlock,
|
|
20199
20209
|
hy as ReaderBlockSchema,
|
|
20200
|
-
|
|
20201
|
-
|
|
20210
|
+
CI as ReaderDocumentSchema,
|
|
20211
|
+
vn as cloneSubtree,
|
|
20202
20212
|
md as extractApiRows,
|
|
20203
20213
|
Qs as findRepeatableContainerOf,
|
|
20204
20214
|
Wi as getRepeatableContainerInfo,
|
|
20205
|
-
|
|
20215
|
+
xI as growContainerToFit,
|
|
20206
20216
|
mo as isRepeatableContainerType,
|
|
20207
|
-
|
|
20208
|
-
|
|
20209
|
-
|
|
20210
|
-
|
|
20211
|
-
|
|
20217
|
+
yI as reconcileRepeatFieldRowCount,
|
|
20218
|
+
Jy as refreshApiDataSources,
|
|
20219
|
+
Xy as refreshDocumentApiDataSources,
|
|
20220
|
+
bI as removeSubtree,
|
|
20221
|
+
AI as renderToStaticHtml,
|
|
20212
20222
|
pd as renderToStaticMarkup,
|
|
20213
|
-
|
|
20223
|
+
kI as shrinkContainerToFit
|
|
20214
20224
|
};
|