pagepilot-visual-editor 1.0.23 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blocks-internal/block-iframe/src/index.d.ts +6 -0
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/TemplatePreviewDialog.d.ts +3 -1
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/templateApplyHelpers.d.ts +14 -0
- package/dist/editor-sample/documents/editor/core.d.ts +6 -0
- package/dist/host-stubs/modules/_hostListShim.d.ts +1 -1
- package/dist/host-stubs/modules/forms/formsService.d.ts +2 -1
- package/dist/host-stubs/modules/forms/useFormsList.d.ts +12 -0
- package/dist/{index-GFzSAPVu.cjs → index-Cx_nuxVE.cjs} +1 -1
- package/dist/{index-C74HSWbI.cjs → index-RcTlEXS2.cjs} +266 -266
- package/dist/{index-9JekOUrW.js → index-txCEAgzG.js} +28027 -27162
- package/dist/{index-RE2xshRk.js → index-uAL1Hpt1.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/render.cjs +33 -33
- package/dist/render.js +697 -688
- package/dist/{xlsx-BQgSA_Gx.cjs → xlsx-CMNIZUaT.cjs} +1 -1
- package/dist/{xlsx-DltID3D9.js → xlsx-DSQPVb8u.js} +1 -1
- package/package.json +1 -1
package/dist/render.js
CHANGED
|
@@ -6108,9 +6108,15 @@ const og = C({
|
|
|
6108
6108
|
right: f(),
|
|
6109
6109
|
left: f()
|
|
6110
6110
|
}).optional().nullable(), ag = C({
|
|
6111
|
+
top: f(),
|
|
6112
|
+
bottom: f(),
|
|
6113
|
+
right: f(),
|
|
6114
|
+
left: f()
|
|
6115
|
+
}).optional().nullable(), rg = C({
|
|
6111
6116
|
responsive: Le,
|
|
6112
6117
|
style: C({
|
|
6113
6118
|
padding: og,
|
|
6119
|
+
margin: ag,
|
|
6114
6120
|
textAlign: I(["left", "center", "right"]).optional().nullable()
|
|
6115
6121
|
}).optional().nullable(),
|
|
6116
6122
|
props: C({
|
|
@@ -6120,13 +6126,15 @@ const og = C({
|
|
|
6120
6126
|
title: x().optional().nullable(),
|
|
6121
6127
|
allowFullscreen: O().optional().nullable()
|
|
6122
6128
|
}).optional().nullable()
|
|
6123
|
-
}),
|
|
6124
|
-
function
|
|
6125
|
-
|
|
6126
|
-
|
|
6129
|
+
}), ig = (e) => e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0, lg = (e) => e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0;
|
|
6130
|
+
function sg({ style: e, props: t }) {
|
|
6131
|
+
var d, h;
|
|
6132
|
+
const n = (t == null ? void 0 : t.src) ?? "", o = (t == null ? void 0 : t.width) ?? "100%", a = t == null ? void 0 : t.height, i = !a || /^\s*(0|0px|100vh)\s*$/i.test(a) ? "800px" : a, r = (t == null ? void 0 : t.title) ?? "Embedded content", l = (t == null ? void 0 : t.allowFullscreen) ?? !0, s = Ci(null), c = (((d = e == null ? void 0 : e.margin) == null ? void 0 : d.left) ?? 0) + (((h = e == null ? void 0 : e.margin) == null ? void 0 : h.right) ?? 0), u = {
|
|
6133
|
+
padding: ig(e == null ? void 0 : e.padding),
|
|
6134
|
+
margin: lg(e == null ? void 0 : e.margin),
|
|
6127
6135
|
textAlign: (e == null ? void 0 : e.textAlign) ?? void 0,
|
|
6128
|
-
width:
|
|
6129
|
-
},
|
|
6136
|
+
width: `calc(100% - ${c}px)`
|
|
6137
|
+
}, p = {
|
|
6130
6138
|
width: `var(--ahd-iframe-width,${o})`,
|
|
6131
6139
|
height: `var(--ahd-iframe-height,${i})`,
|
|
6132
6140
|
minHeight: `var(--ahd-iframe-height,${i})`,
|
|
@@ -6134,32 +6142,32 @@ function ig({ style: e, props: t }) {
|
|
|
6134
6142
|
display: "inline-block",
|
|
6135
6143
|
verticalAlign: "top"
|
|
6136
6144
|
};
|
|
6137
|
-
return n ? /* @__PURE__ */ g("div", { className: "iframe-block", style:
|
|
6145
|
+
return n ? /* @__PURE__ */ g("div", { className: "iframe-block", style: u, children: /* @__PURE__ */ g(
|
|
6138
6146
|
"iframe",
|
|
6139
6147
|
{
|
|
6140
6148
|
ref: s,
|
|
6141
6149
|
src: n,
|
|
6142
6150
|
title: r,
|
|
6143
|
-
style:
|
|
6151
|
+
style: p,
|
|
6144
6152
|
allowFullScreen: l
|
|
6145
6153
|
}
|
|
6146
|
-
) }) : /* @__PURE__ */ g("div", { className: "iframe-block", style: { ...
|
|
6154
|
+
) }) : /* @__PURE__ */ g("div", { className: "iframe-block", style: { ...u, backgroundColor: "#F5F5F5", padding: "24px", textAlign: "center", color: "#888", fontSize: "14px" }, children: "IFrame — enter a URL in the panel" });
|
|
6147
6155
|
}
|
|
6148
|
-
const
|
|
6156
|
+
const cg = C({
|
|
6149
6157
|
top: f(),
|
|
6150
6158
|
bottom: f(),
|
|
6151
6159
|
right: f(),
|
|
6152
6160
|
left: f()
|
|
6153
|
-
}).optional().nullable(),
|
|
6161
|
+
}).optional().nullable(), ug = C({
|
|
6154
6162
|
top: f(),
|
|
6155
6163
|
bottom: f(),
|
|
6156
6164
|
right: f(),
|
|
6157
6165
|
left: f()
|
|
6158
|
-
}).optional().nullable(),
|
|
6166
|
+
}).optional().nullable(), dg = C({
|
|
6159
6167
|
responsive: Le,
|
|
6160
6168
|
style: C({
|
|
6161
|
-
padding:
|
|
6162
|
-
margin:
|
|
6169
|
+
padding: cg,
|
|
6170
|
+
margin: ug,
|
|
6163
6171
|
textAlign: I(["left", "center", "right"]).optional().nullable()
|
|
6164
6172
|
}).optional().nullable(),
|
|
6165
6173
|
props: C({
|
|
@@ -6169,24 +6177,24 @@ const lg = C({
|
|
|
6169
6177
|
title: x().optional().nullable(),
|
|
6170
6178
|
allowFullscreen: O().optional().nullable()
|
|
6171
6179
|
}).optional().nullable()
|
|
6172
|
-
}),
|
|
6180
|
+
}), hg = (e) => {
|
|
6173
6181
|
if (!e) return;
|
|
6174
6182
|
if (typeof e == "string") return e;
|
|
6175
6183
|
const { top: t = 0, right: n = 0, bottom: o = 0, left: a = 0 } = e;
|
|
6176
6184
|
return `${t}px ${n}px ${o}px ${a}px`;
|
|
6177
|
-
},
|
|
6185
|
+
}, fg = (e) => {
|
|
6178
6186
|
if (!e) return;
|
|
6179
6187
|
if (typeof e == "string") return e;
|
|
6180
6188
|
const { top: t = 0, right: n = 0, bottom: o = 0, left: a = 0 } = e;
|
|
6181
6189
|
return `${t}px ${n}px ${o}px ${a}px`;
|
|
6182
|
-
},
|
|
6190
|
+
}, pg = ({ props: e, style: t }) => {
|
|
6183
6191
|
var u, p;
|
|
6184
6192
|
const { src: n, width: o, height: a, title: i, allowFullscreen: r = !0 } = e ?? {};
|
|
6185
6193
|
if (!n) return /* @__PURE__ */ g(we, {});
|
|
6186
6194
|
const l = (((u = t == null ? void 0 : t.margin) == null ? void 0 : u.left) ?? 0) + (((p = t == null ? void 0 : t.margin) == null ? void 0 : p.right) ?? 0), s = t ?? {}, c = {
|
|
6187
6195
|
width: l > 0 ? `calc(100% - ${l}px)` : "100%",
|
|
6188
|
-
padding:
|
|
6189
|
-
margin:
|
|
6196
|
+
padding: hg(s.padding),
|
|
6197
|
+
margin: fg(s.margin),
|
|
6190
6198
|
textAlign: s.textAlign || void 0
|
|
6191
6199
|
};
|
|
6192
6200
|
return /* @__PURE__ */ g("div", { className: "calendly-block", style: c, children: /* @__PURE__ */ g(
|
|
@@ -6206,21 +6214,21 @@ const lg = C({
|
|
|
6206
6214
|
}
|
|
6207
6215
|
) });
|
|
6208
6216
|
};
|
|
6209
|
-
var
|
|
6217
|
+
var mg = Object.defineProperty, Nr = Object.getOwnPropertySymbols, gg = Object.prototype.hasOwnProperty, bg = Object.prototype.propertyIsEnumerable, Rr = (e, t, n) => t in e ? mg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, vg = (e, t) => {
|
|
6210
6218
|
for (var n in t || (t = {}))
|
|
6211
|
-
|
|
6219
|
+
gg.call(t, n) && Rr(e, n, t[n]);
|
|
6212
6220
|
if (Nr)
|
|
6213
6221
|
for (var n of Nr(t))
|
|
6214
|
-
|
|
6222
|
+
bg.call(t, n) && Rr(e, n, t[n]);
|
|
6215
6223
|
return e;
|
|
6216
6224
|
};
|
|
6217
|
-
function
|
|
6225
|
+
function xg(e) {
|
|
6218
6226
|
return function({ type: n, data: o }) {
|
|
6219
6227
|
const a = e[n].Component;
|
|
6220
|
-
return /* @__PURE__ */ ke.createElement(a,
|
|
6228
|
+
return /* @__PURE__ */ ke.createElement(a, vg({}, o));
|
|
6221
6229
|
};
|
|
6222
6230
|
}
|
|
6223
|
-
function
|
|
6231
|
+
function Sg(e) {
|
|
6224
6232
|
const t = Object.keys(e).map(
|
|
6225
6233
|
(n) => C({
|
|
6226
6234
|
type: re(n),
|
|
@@ -6229,21 +6237,21 @@ function vg(e) {
|
|
|
6229
6237
|
);
|
|
6230
6238
|
return Bh("type", t).transform((n) => n);
|
|
6231
6239
|
}
|
|
6232
|
-
const
|
|
6240
|
+
const wg = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), kg = x().regex(/^rgba?\([^\)]+\)$/i), _g = x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i), $g = re("transparent"), Cg = F([wg, kg, _g, $g]).nullable().optional(), Ag = C({
|
|
6233
6241
|
top: f(),
|
|
6234
6242
|
bottom: f(),
|
|
6235
6243
|
right: f(),
|
|
6236
6244
|
left: f()
|
|
6237
|
-
}).optional().nullable(),
|
|
6245
|
+
}).optional().nullable(), yg = C({
|
|
6238
6246
|
top: f(),
|
|
6239
6247
|
bottom: f(),
|
|
6240
6248
|
right: f(),
|
|
6241
6249
|
left: f()
|
|
6242
|
-
}).optional().nullable(), uo = al([f().optional().nullish(), f().optional().nullish(), f().optional().nullish(), f().optional().nullish(), f().optional().nullish()]).optional().nullable(), ho = I(["fixed", "fill", "fit"]).optional().nullable(),
|
|
6250
|
+
}).optional().nullable(), uo = al([f().optional().nullish(), f().optional().nullish(), f().optional().nullish(), f().optional().nullish(), f().optional().nullish()]).optional().nullable(), ho = I(["fixed", "fill", "fit"]).optional().nullable(), Ng = (e) => e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0, Rg = (e) => e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0, gl = C({
|
|
6243
6251
|
style: C({
|
|
6244
|
-
backgroundColor:
|
|
6245
|
-
padding:
|
|
6246
|
-
margin:
|
|
6252
|
+
backgroundColor: Cg,
|
|
6253
|
+
padding: Ag,
|
|
6254
|
+
margin: yg
|
|
6247
6255
|
}).optional().nullable(),
|
|
6248
6256
|
props: C({
|
|
6249
6257
|
widthType: ho,
|
|
@@ -6305,7 +6313,7 @@ function Mr(e, t, n, o, a, i) {
|
|
|
6305
6313
|
return r.join(`
|
|
6306
6314
|
`);
|
|
6307
6315
|
}
|
|
6308
|
-
function
|
|
6316
|
+
function Eg(e, t) {
|
|
6309
6317
|
const n = `.${e}.columns-container`, o = (a, i) => !i && a ? `${n} td { vertical-align: ${a} !important; }` : "";
|
|
6310
6318
|
return `
|
|
6311
6319
|
@media (max-width: ${Fe}px) {
|
|
@@ -6322,12 +6330,12 @@ function Ng(e, t) {
|
|
|
6322
6330
|
}
|
|
6323
6331
|
`.trim();
|
|
6324
6332
|
}
|
|
6325
|
-
let
|
|
6326
|
-
function
|
|
6333
|
+
let Ig = 0;
|
|
6334
|
+
function Mg({ style: e, columns: t, props: n }) {
|
|
6327
6335
|
const o = (n == null ? void 0 : n.widthType) ?? _t.widthType, a = (n == null ? void 0 : n.widthTypeTablet) ?? o, i = (n == null ? void 0 : n.widthTypeMobile) ?? a, r = n == null ? void 0 : n.fixedWidths, l = (n == null ? void 0 : n.fixedWidthsTablet) ?? r, s = (n == null ? void 0 : n.fixedWidthsMobile) ?? l, c = (n == null ? void 0 : n.columnsGap) ?? _t.columnsGap, u = (n == null ? void 0 : n.columnsGapTablet) ?? c, p = (n == null ? void 0 : n.columnsGapMobile) ?? u, d = (n == null ? void 0 : n.columnsDirection) ?? _t.columnsDirection, h = (n == null ? void 0 : n.columnsDirectionTablet) ?? d, m = (n == null ? void 0 : n.columnsDirectionMobile) ?? h, b = (n == null ? void 0 : n.contentAlignment) ?? _t.contentAlignment, v = (n == null ? void 0 : n.contentAlignmentTablet) ?? b, k = (n == null ? void 0 : n.contentAlignmentMobile) ?? v, S = (n == null ? void 0 : n.columnsCount) ?? _t.columnsCount, $ = o, w = r, _ = c, N = d, y = { widthType: $, columnsCount: S, columnsGap: _, columnsDirection: N, contentAlignment: b, fixedWidths: w }, R = N === "vertical", M = ke.useMemo(
|
|
6328
|
-
() => `ahd-cc-${
|
|
6336
|
+
() => `ahd-cc-${Ig += 1}`,
|
|
6329
6337
|
[]
|
|
6330
|
-
), T =
|
|
6338
|
+
), T = Eg(M, {
|
|
6331
6339
|
tabletVertical: h === "vertical",
|
|
6332
6340
|
mobileVertical: m === "vertical",
|
|
6333
6341
|
columnsCount: S,
|
|
@@ -6341,8 +6349,8 @@ function Eg({ style: e, columns: t, props: n }) {
|
|
|
6341
6349
|
mobileAlign: k
|
|
6342
6350
|
}), z = {
|
|
6343
6351
|
background: (e == null ? void 0 : e.backgroundColor) ?? void 0,
|
|
6344
|
-
padding:
|
|
6345
|
-
margin:
|
|
6352
|
+
padding: Ng(e == null ? void 0 : e.padding),
|
|
6353
|
+
margin: Rg(e == null ? void 0 : e.margin),
|
|
6346
6354
|
"--columns-gap": `${_}px`
|
|
6347
6355
|
};
|
|
6348
6356
|
return /* @__PURE__ */ P("div", { className: `columns-container ${M}${R ? " is-stacked" : ""}`, style: z, children: [
|
|
@@ -6377,7 +6385,7 @@ function Yt({ index: e, props: t, columns: n }) {
|
|
|
6377
6385
|
const o = (t == null ? void 0 : t.columnsCount) ?? _t.columnsCount;
|
|
6378
6386
|
if (e >= o)
|
|
6379
6387
|
return null;
|
|
6380
|
-
const a = t.columnsDirection === "vertical", i = a ? 0 :
|
|
6388
|
+
const a = t.columnsDirection === "vertical", i = a ? 0 : Tg(e, t), r = a ? 0 : Pg(e, t), l = (p = t.fixedWidths) == null ? void 0 : p[e], s = {
|
|
6381
6389
|
boxSizing: a ? "border-box" : "content-box",
|
|
6382
6390
|
verticalAlign: a ? "top" : (t == null ? void 0 : t.contentAlignment) ?? _t.contentAlignment,
|
|
6383
6391
|
paddingLeft: i ? `${i}px` : 0,
|
|
@@ -6391,15 +6399,15 @@ function Yt({ index: e, props: t, columns: n }) {
|
|
|
6391
6399
|
}, c = (n == null ? void 0 : n[e]) ?? null, u = t.widthType === "fixed" && l != null ? l : void 0;
|
|
6392
6400
|
return /* @__PURE__ */ g("td", { style: s, width: u, children: c });
|
|
6393
6401
|
}
|
|
6394
|
-
function
|
|
6402
|
+
function Tg(e, { columnsGap: t }) {
|
|
6395
6403
|
return e === 0 ? 0 : t / 2;
|
|
6396
6404
|
}
|
|
6397
|
-
function
|
|
6405
|
+
function Pg(e, { columnsGap: t, columnsCount: n }) {
|
|
6398
6406
|
return e === n - 1 ? 0 : t / 2;
|
|
6399
6407
|
}
|
|
6400
|
-
const
|
|
6408
|
+
const Og = gl.shape.props.unwrap().unwrap().shape, Lg = gl.shape.style.unwrap().unwrap().shape, zg = C({
|
|
6401
6409
|
style: C({
|
|
6402
|
-
...
|
|
6410
|
+
...Lg,
|
|
6403
6411
|
borderRadius: F([
|
|
6404
6412
|
f(),
|
|
6405
6413
|
C({
|
|
@@ -6413,7 +6421,7 @@ const Tg = gl.shape.props.unwrap().unwrap().shape, Pg = gl.shape.style.unwrap().
|
|
|
6413
6421
|
borderWidth: C({ top: f(), right: f(), bottom: f(), left: f() }).optional().nullable()
|
|
6414
6422
|
}).optional().nullable(),
|
|
6415
6423
|
props: C({
|
|
6416
|
-
...
|
|
6424
|
+
...Og,
|
|
6417
6425
|
columns: al([
|
|
6418
6426
|
C({ childrenIds: W(x()) }),
|
|
6419
6427
|
C({ childrenIds: W(x()) }),
|
|
@@ -6421,24 +6429,24 @@ const Tg = gl.shape.props.unwrap().unwrap().shape, Pg = gl.shape.style.unwrap().
|
|
|
6421
6429
|
])
|
|
6422
6430
|
}).optional().nullable()
|
|
6423
6431
|
});
|
|
6424
|
-
function
|
|
6432
|
+
function Bg(e) {
|
|
6425
6433
|
if (e != null)
|
|
6426
6434
|
return typeof e == "number" ? `${e}px` : `${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`;
|
|
6427
6435
|
}
|
|
6428
|
-
function
|
|
6436
|
+
function Dg({ style: e, props: t }) {
|
|
6429
6437
|
const { columns: n, ...o } = t ?? {};
|
|
6430
6438
|
let a;
|
|
6431
6439
|
n && (a = n.map((d) => ((d == null ? void 0 : d.childrenIds) ?? []).map((h) => /* @__PURE__ */ g(Se, { id: h }, h))));
|
|
6432
6440
|
const { borderRadius: i, borderColor: r, borderWidth: l, ...s } = e ?? {}, c = {};
|
|
6433
|
-
if (i != null && (c.borderRadius =
|
|
6441
|
+
if (i != null && (c.borderRadius = Bg(i)), r) {
|
|
6434
6442
|
const d = l ?? { top: 1, right: 1, bottom: 1, left: 1 };
|
|
6435
6443
|
c.borderStyle = "solid", c.borderColor = r, c.borderWidth = `${d.top}px ${d.right}px ${d.bottom}px ${d.left}px`;
|
|
6436
6444
|
}
|
|
6437
6445
|
c.overflow = "hidden";
|
|
6438
|
-
const u = i != null || !!r, p = /* @__PURE__ */ g(
|
|
6446
|
+
const u = i != null || !!r, p = /* @__PURE__ */ g(Mg, { props: o, columns: a, style: s });
|
|
6439
6447
|
return u ? /* @__PURE__ */ g("div", { style: c, children: p }) : /* @__PURE__ */ g(we, { children: p });
|
|
6440
6448
|
}
|
|
6441
|
-
const
|
|
6449
|
+
const Hg = C({
|
|
6442
6450
|
style: C({
|
|
6443
6451
|
backgroundColor: x().optional().nullable(),
|
|
6444
6452
|
padding: C({ top: f(), right: f(), bottom: f(), left: f() }).optional().nullable(),
|
|
@@ -6489,11 +6497,11 @@ const Bg = C({
|
|
|
6489
6497
|
repeatableEnabled: O().optional().nullable()
|
|
6490
6498
|
}).optional().nullable()
|
|
6491
6499
|
});
|
|
6492
|
-
function
|
|
6500
|
+
function Fg(e) {
|
|
6493
6501
|
if (e != null)
|
|
6494
6502
|
return typeof e == "number" ? `${e}px` : `${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`;
|
|
6495
6503
|
}
|
|
6496
|
-
function
|
|
6504
|
+
function Gg(e) {
|
|
6497
6505
|
var a, i;
|
|
6498
6506
|
const t = e ?? {}, n = (((a = t.margin) == null ? void 0 : a.left) ?? 0) + (((i = t.margin) == null ? void 0 : i.right) ?? 0), o = {
|
|
6499
6507
|
boxSizing: "border-box",
|
|
@@ -6507,7 +6515,7 @@ function Hg(e) {
|
|
|
6507
6515
|
const r = t.margin;
|
|
6508
6516
|
o.margin = `${r.top}px ${r.right}px ${r.bottom}px ${r.left}px`;
|
|
6509
6517
|
}
|
|
6510
|
-
if (t.borderRadius != null && (o.borderRadius =
|
|
6518
|
+
if (t.borderRadius != null && (o.borderRadius = Fg(t.borderRadius), o.overflow = "hidden"), t.borderColor) {
|
|
6511
6519
|
const r = t.borderWidth ?? { top: 1, right: 1, bottom: 1, left: 1 };
|
|
6512
6520
|
o.borderStyle = "solid", o.borderColor = t.borderColor, o.borderWidth = `${r.top}px ${r.right}px ${r.bottom}px ${r.left}px`;
|
|
6513
6521
|
}
|
|
@@ -6527,7 +6535,7 @@ function fo(e, t, n) {
|
|
|
6527
6535
|
reverseColumns: o.reverseColumns === !0
|
|
6528
6536
|
};
|
|
6529
6537
|
}
|
|
6530
|
-
function
|
|
6538
|
+
function jg(e) {
|
|
6531
6539
|
switch (e) {
|
|
6532
6540
|
case "shrink":
|
|
6533
6541
|
return "flex: 0 0 auto; width: auto;";
|
|
@@ -6537,7 +6545,7 @@ function Fg(e) {
|
|
|
6537
6545
|
return "flex: 1 1 auto; width: auto;";
|
|
6538
6546
|
}
|
|
6539
6547
|
}
|
|
6540
|
-
function
|
|
6548
|
+
function Ug(e, { shrink: t, equalColumns: n }) {
|
|
6541
6549
|
return t[e] ? "shrink" : n ? "equal" : "plain";
|
|
6542
6550
|
}
|
|
6543
6551
|
function po(e, t, n, o) {
|
|
@@ -6550,15 +6558,15 @@ function po(e, t, n, o) {
|
|
|
6550
6558
|
`);
|
|
6551
6559
|
const u = [`${e} { flex-direction: ${i ? "row-reverse" : "row"}; flex-wrap: nowrap; gap: ${r}px; }`], p = /* @__PURE__ */ new Map();
|
|
6552
6560
|
for (const d of s) {
|
|
6553
|
-
const h =
|
|
6561
|
+
const h = Ug(d, n);
|
|
6554
6562
|
p.set(h, [...p.get(h) ?? [], d]);
|
|
6555
6563
|
}
|
|
6556
6564
|
for (const [d, h] of p)
|
|
6557
|
-
u.push(`${l(h)} { ${
|
|
6565
|
+
u.push(`${l(h)} { ${jg(d)} max-width: 100%; }`);
|
|
6558
6566
|
return u.join(`
|
|
6559
6567
|
`);
|
|
6560
6568
|
}
|
|
6561
|
-
function
|
|
6569
|
+
function Zg(e, t) {
|
|
6562
6570
|
const { columnsCount: n, desktop: o, tablet: a, mobile: i } = t, r = `.${e}.flex-columns-block > .fc-row`, l = `${r} > .fc-col`, s = [
|
|
6563
6571
|
`${r} { display: flex; width: 100%; box-sizing: border-box; }`,
|
|
6564
6572
|
`${l} { min-width: 0; box-sizing: border-box; }`,
|
|
@@ -6585,12 +6593,12 @@ ${h}
|
|
|
6585
6593
|
].filter(Boolean).join(`
|
|
6586
6594
|
`);
|
|
6587
6595
|
}
|
|
6588
|
-
let
|
|
6589
|
-
function
|
|
6596
|
+
let Wg = 0;
|
|
6597
|
+
function qg({ style: e, props: t }) {
|
|
6590
6598
|
const n = (t == null ? void 0 : t.columnsCount) ?? 2, o = (t == null ? void 0 : t.align) ?? "flex-start", a = (t == null ? void 0 : t.justify) ?? "flex-start", i = (t == null ? void 0 : t.columns) ?? [], r = Array.from(
|
|
6591
6599
|
{ length: n },
|
|
6592
6600
|
(u, p) => i[p] ?? { childrenIds: [] }
|
|
6593
|
-
), l = ke.useMemo(() => `ahd-fc-${
|
|
6601
|
+
), l = ke.useMemo(() => `ahd-fc-${Wg += 1}`, []), s = Zg(l, {
|
|
6594
6602
|
columnsCount: n,
|
|
6595
6603
|
desktop: fo(t, "desktop", n),
|
|
6596
6604
|
tablet: fo(t, "tablet", n),
|
|
@@ -6599,26 +6607,26 @@ function Zg({ style: e, props: t }) {
|
|
|
6599
6607
|
alignItems: o,
|
|
6600
6608
|
justifyContent: a
|
|
6601
6609
|
};
|
|
6602
|
-
return /* @__PURE__ */ P("div", { className: `flex-columns-block ${l}`, style:
|
|
6610
|
+
return /* @__PURE__ */ P("div", { className: `flex-columns-block ${l}`, style: Gg(e), "data-cols": n, children: [
|
|
6603
6611
|
/* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: s } }),
|
|
6604
6612
|
/* @__PURE__ */ g("div", { className: "fc-row", style: c, children: r.map((u, p) => /* @__PURE__ */ g("div", { className: "fc-col", children: u.childrenIds.map((d) => /* @__PURE__ */ g(Se, { id: d }, d)) }, p)) })
|
|
6605
6613
|
] });
|
|
6606
6614
|
}
|
|
6607
|
-
const
|
|
6615
|
+
const Vg = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), Yg = x().regex(/^rgba?\([^\)]+\)$/i), Kg = x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i), Jg = re("transparent"), Xg = F([Vg, Yg, Kg, Jg]).nullable().optional(), Qg = C({
|
|
6608
6616
|
top: f(),
|
|
6609
6617
|
bottom: f(),
|
|
6610
6618
|
right: f(),
|
|
6611
6619
|
left: f()
|
|
6612
|
-
}).optional().nullable(),
|
|
6620
|
+
}).optional().nullable(), eb = C({
|
|
6613
6621
|
top: f(),
|
|
6614
6622
|
bottom: f(),
|
|
6615
6623
|
right: f(),
|
|
6616
6624
|
left: f()
|
|
6617
|
-
}).optional().nullable(),
|
|
6625
|
+
}).optional().nullable(), tb = C({
|
|
6618
6626
|
style: C({
|
|
6619
|
-
backgroundColor:
|
|
6620
|
-
padding:
|
|
6621
|
-
margin:
|
|
6627
|
+
backgroundColor: Xg,
|
|
6628
|
+
padding: Qg,
|
|
6629
|
+
margin: eb
|
|
6622
6630
|
}).optional().nullable(),
|
|
6623
6631
|
props: C({
|
|
6624
6632
|
// Counts are bounded only by a minimum of 1 (no hard upper cap) so authors
|
|
@@ -6634,7 +6642,7 @@ const Wg = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), qg =
|
|
|
6634
6642
|
rowsGap: f().optional().nullable(),
|
|
6635
6643
|
contentAlignment: I(["top", "middle", "bottom"]).optional().nullable()
|
|
6636
6644
|
}).optional().nullable()
|
|
6637
|
-
}),
|
|
6645
|
+
}), nb = tb.shape.props.unwrap().unwrap().shape, ob = C({
|
|
6638
6646
|
backgroundColor: x().optional().nullable(),
|
|
6639
6647
|
padding: C({ top: f(), right: f(), bottom: f(), left: f() }).optional().nullable(),
|
|
6640
6648
|
margin: C({ top: f(), right: f(), bottom: f(), left: f() }).optional().nullable(),
|
|
@@ -6649,10 +6657,10 @@ const Wg = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), qg =
|
|
|
6649
6657
|
]).optional().nullable(),
|
|
6650
6658
|
borderColor: x().optional().nullable(),
|
|
6651
6659
|
borderWidth: C({ top: f(), right: f(), bottom: f(), left: f() }).optional().nullable()
|
|
6652
|
-
}).optional().nullable(),
|
|
6653
|
-
style:
|
|
6660
|
+
}).optional().nullable(), ab = C({
|
|
6661
|
+
style: ob,
|
|
6654
6662
|
props: C({
|
|
6655
|
-
...
|
|
6663
|
+
...nb,
|
|
6656
6664
|
cells: W(
|
|
6657
6665
|
C({
|
|
6658
6666
|
childrenIds: W(x()),
|
|
@@ -6671,20 +6679,20 @@ const Wg = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), qg =
|
|
|
6671
6679
|
contentAlignment: I(["top", "middle", "bottom"]).optional().nullable(),
|
|
6672
6680
|
horizontalAlignment: I(["left", "center", "right"]).optional().nullable()
|
|
6673
6681
|
}).optional().nullable()
|
|
6674
|
-
}),
|
|
6682
|
+
}), rb = {
|
|
6675
6683
|
top: "flex-start",
|
|
6676
6684
|
middle: "center",
|
|
6677
6685
|
bottom: "flex-end"
|
|
6678
|
-
},
|
|
6686
|
+
}, ib = {
|
|
6679
6687
|
left: "flex-start",
|
|
6680
6688
|
center: "center",
|
|
6681
6689
|
right: "flex-end"
|
|
6682
6690
|
};
|
|
6683
|
-
let
|
|
6684
|
-
function
|
|
6691
|
+
let lb = 0;
|
|
6692
|
+
function sb({ style: e, props: t }) {
|
|
6685
6693
|
const n = (t == null ? void 0 : t.columnsCount) ?? 2, o = (t == null ? void 0 : t.columnsCountTablet) ?? n, a = (t == null ? void 0 : t.columnsCountMobile) ?? 1, i = (t == null ? void 0 : t.rowsCount) ?? 2, r = (t == null ? void 0 : t.columnsGap) ?? 0, l = (t == null ? void 0 : t.rowsGap) ?? 0, s = (t == null ? void 0 : t.contentAlignment) ?? "middle", c = (t == null ? void 0 : t.horizontalAlignment) ?? "left", u = (t == null ? void 0 : t.cells) ?? [], d = u.some(
|
|
6686
6694
|
(R) => (R == null ? void 0 : R.colStart) != null || (R == null ? void 0 : R.rowStart) != null || (R == null ? void 0 : R.colSpan) != null || (R == null ? void 0 : R.rowSpan) != null
|
|
6687
|
-
) ? u.length : n * i, h = ke.useMemo(() => `ahd-grid-${
|
|
6695
|
+
) ? u.length : n * i, h = ke.useMemo(() => `ahd-grid-${lb += 1}`, []), m = Array.from({ length: d }, (R, M) => u[M] ?? { childrenIds: [] }), b = e == null ? void 0 : e.padding, v = e == null ? void 0 : e.margin, k = ((v == null ? void 0 : v.left) ?? 0) + ((v == null ? void 0 : v.right) ?? 0), S = k > 0 ? `calc(100% - ${k}px)` : "100%", $ = {
|
|
6688
6696
|
backgroundColor: (e == null ? void 0 : e.backgroundColor) ?? void 0,
|
|
6689
6697
|
padding: b ? `${b.top}px ${b.right}px ${b.bottom}px ${b.left}px` : void 0,
|
|
6690
6698
|
boxSizing: "border-box",
|
|
@@ -6700,8 +6708,8 @@ function ib({ style: e, props: t }) {
|
|
|
6700
6708
|
display: "grid",
|
|
6701
6709
|
columnGap: `${r}px`,
|
|
6702
6710
|
rowGap: `${l}px`,
|
|
6703
|
-
alignItems:
|
|
6704
|
-
justifyContent:
|
|
6711
|
+
alignItems: rb[s] ?? "center",
|
|
6712
|
+
justifyContent: ib[c] ?? "flex-start",
|
|
6705
6713
|
width: "100%",
|
|
6706
6714
|
boxSizing: "border-box"
|
|
6707
6715
|
}, N = m.map((R, M) => {
|
|
@@ -6729,23 +6737,23 @@ ${N}
|
|
|
6729
6737
|
)) })
|
|
6730
6738
|
] });
|
|
6731
6739
|
}
|
|
6732
|
-
const
|
|
6740
|
+
const cb = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), ub = x().regex(/^rgba?\([^\)]+\)$/i), db = x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i), hb = re("transparent"), Tr = cl(
|
|
6733
6741
|
(e) => typeof e == "string" ? e.trim() : e,
|
|
6734
|
-
F([
|
|
6735
|
-
),
|
|
6742
|
+
F([cb, ub, db, hb]).nullable().optional()
|
|
6743
|
+
), fb = x().url().regex(/^https?:\/\//, "URL must start with http:// or https://").nullable().optional(), pb = x().regex(
|
|
6736
6744
|
/^(none|auto|cover|contain|inherit|initial|revert-layer|revert|unset|\d+(px|em|rem|%)?(\s+\d+(px|em|rem|%)?)?)$/i,
|
|
6737
6745
|
"Invalid CSS background-size value"
|
|
6738
|
-
).nullable().optional(),
|
|
6746
|
+
).nullable().optional(), mb = C({
|
|
6739
6747
|
top: f(),
|
|
6740
6748
|
bottom: f(),
|
|
6741
6749
|
right: f(),
|
|
6742
6750
|
left: f()
|
|
6743
|
-
}).optional().nullable(),
|
|
6751
|
+
}).optional().nullable(), gb = C({
|
|
6744
6752
|
top: f(),
|
|
6745
6753
|
bottom: f(),
|
|
6746
6754
|
right: f(),
|
|
6747
6755
|
left: f()
|
|
6748
|
-
}).optional().nullable(),
|
|
6756
|
+
}).optional().nullable(), bb = F([
|
|
6749
6757
|
f(),
|
|
6750
6758
|
C({
|
|
6751
6759
|
topLeft: f(),
|
|
@@ -6753,7 +6761,7 @@ const lb = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), sb =
|
|
|
6753
6761
|
bottomRight: f(),
|
|
6754
6762
|
bottomLeft: f()
|
|
6755
6763
|
})
|
|
6756
|
-
]).optional().nullable(),
|
|
6764
|
+
]).optional().nullable(), vb = C({
|
|
6757
6765
|
top: f(),
|
|
6758
6766
|
bottom: f(),
|
|
6759
6767
|
right: f(),
|
|
@@ -6762,14 +6770,14 @@ const lb = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), sb =
|
|
|
6762
6770
|
function bl(e) {
|
|
6763
6771
|
return e.includes("linear-gradient") || e.includes("radial-gradient") || e.includes("repeating-linear-gradient");
|
|
6764
6772
|
}
|
|
6765
|
-
function
|
|
6773
|
+
function xb(e) {
|
|
6766
6774
|
return !e || e === "transparent" ? { backgroundColor: e ?? "transparent" } : bl(e) ? { backgroundColor: "transparent" } : { backgroundColor: e };
|
|
6767
6775
|
}
|
|
6768
|
-
function
|
|
6776
|
+
function Sb(e, t) {
|
|
6769
6777
|
const n = e && bl(e) ? e : void 0;
|
|
6770
6778
|
return n && t ? `${n}, ${t}` : n ?? t;
|
|
6771
6779
|
}
|
|
6772
|
-
function
|
|
6780
|
+
function wb(e, t) {
|
|
6773
6781
|
return e ? e === "transparent" ? { border: "none" } : e && (e.includes("linear-gradient") || e.includes("radial-gradient") || e.includes("repeating-linear-gradient")) ? {
|
|
6774
6782
|
background: e,
|
|
6775
6783
|
padding: `${(t == null ? void 0 : t.top) || 1}px ${(t == null ? void 0 : t.right) || 1}px ${(t == null ? void 0 : t.bottom) || 1}px ${(t == null ? void 0 : t.left) || 1}px`
|
|
@@ -6780,24 +6788,24 @@ function xb(e, t) {
|
|
|
6780
6788
|
borderLeft: `${(t == null ? void 0 : t.left) || 1}px solid ${e}`
|
|
6781
6789
|
} : {};
|
|
6782
6790
|
}
|
|
6783
|
-
function
|
|
6791
|
+
function kb(e, t) {
|
|
6784
6792
|
const n = Math.max((t == null ? void 0 : t.top) || 0, (t == null ? void 0 : t.right) || 0, (t == null ? void 0 : t.bottom) || 0, (t == null ? void 0 : t.left) || 0);
|
|
6785
6793
|
if (e == null) return;
|
|
6786
6794
|
if (typeof e == "number") return `${Math.max(0, e - n)}px`;
|
|
6787
6795
|
const o = Math.max(0, (e.topLeft || 0) - n), a = Math.max(0, (e.topRight || 0) - n), i = Math.max(0, (e.bottomRight || 0) - n), r = Math.max(0, (e.bottomLeft || 0) - n);
|
|
6788
6796
|
return `${o}px ${a}px ${i}px ${r}px`;
|
|
6789
6797
|
}
|
|
6790
|
-
const
|
|
6798
|
+
const _b = C({
|
|
6791
6799
|
style: C({
|
|
6792
6800
|
backgroundColor: Tr,
|
|
6793
|
-
backgroundImage:
|
|
6794
|
-
backgroundSize:
|
|
6801
|
+
backgroundImage: fb,
|
|
6802
|
+
backgroundSize: pb,
|
|
6795
6803
|
backgroundRepeat: I(["repeat", "no-repeat"]).optional().nullable(),
|
|
6796
6804
|
borderColor: Tr,
|
|
6797
|
-
borderRadius:
|
|
6798
|
-
padding:
|
|
6799
|
-
margin:
|
|
6800
|
-
borderWidth:
|
|
6805
|
+
borderRadius: bb,
|
|
6806
|
+
padding: mb,
|
|
6807
|
+
margin: gb,
|
|
6808
|
+
borderWidth: vb,
|
|
6801
6809
|
boxShadow: Jn
|
|
6802
6810
|
}).optional().nullable(),
|
|
6803
6811
|
props: C({
|
|
@@ -6840,8 +6848,8 @@ const wb = C({
|
|
|
6840
6848
|
easing: "ease-in-out"
|
|
6841
6849
|
}
|
|
6842
6850
|
};
|
|
6843
|
-
let
|
|
6844
|
-
function
|
|
6851
|
+
let $b = 0;
|
|
6852
|
+
function Cb({ style: e, props: t, children: n }) {
|
|
6845
6853
|
const o = ul(), a = (t == null ? void 0 : t.fullWidth) ?? Et.fullWidth, i = (t == null ? void 0 : t.widthType) ?? Et.widthType, r = (t == null ? void 0 : t.widthTypeTablet) ?? null, l = (t == null ? void 0 : t.widthTypeMobile) ?? null, s = r ?? i, c = l ?? s, u = (t == null ? void 0 : t.width) ?? Et.width, p = (t == null ? void 0 : t.widthUnit) ?? Et.widthUnit, d = (t == null ? void 0 : t.widthTablet) ?? null, h = (t == null ? void 0 : t.widthMobile) ?? null, m = d ?? u, b = h ?? m, v = (t == null ? void 0 : t.height) ?? null, k = (t == null ? void 0 : t.heightTablet) ?? null, S = (t == null ? void 0 : t.heightMobile) ?? null, $ = k ?? v, w = S ?? $, _ = (t == null ? void 0 : t.overflow) === !0, N = (t == null ? void 0 : t.alignment) ?? Et.alignment, A = (t == null ? void 0 : t.alignmentTablet) ?? null, y = (t == null ? void 0 : t.alignmentMobile) ?? null, R = N, M = (t == null ? void 0 : t.ariaLabel) ?? void 0, T = (t == null ? void 0 : t.elementId) ?? void 0, z = !!(t != null && t.showLink), G = (t == null ? void 0 : t.linkHref) ?? null, j = typeof G == "string" ? G.trim() : G, D = z && typeof j == "string" && j.length > 0, L = (t == null ? void 0 : t.linkTarget) ?? "_blank", q = D ? "a" : (t == null ? void 0 : t.tag) ?? "div", H = D ? {
|
|
6846
6854
|
href: j,
|
|
6847
6855
|
target: L,
|
|
@@ -6878,7 +6886,7 @@ function _b({ style: e, props: t, children: n }) {
|
|
|
6878
6886
|
Z,
|
|
6879
6887
|
J,
|
|
6880
6888
|
o === "desktop"
|
|
6881
|
-
), me = ee($e, e == null ? void 0 : e.margin), ne = r != null || l != null || d != null || h != null || k != null || S != null || A != null || y != null, V = (t == null ? void 0 : t.hoverEffect) ?? Et.hoverEffect, U = !!(V != null && V.enabled), X = ne || U ? `ahd-cb-${
|
|
6889
|
+
), me = ee($e, e == null ? void 0 : e.margin), ne = r != null || l != null || d != null || h != null || k != null || S != null || A != null || y != null, V = (t == null ? void 0 : t.hoverEffect) ?? Et.hoverEffect, U = !!(V != null && V.enabled), X = ne || U ? `ahd-cb-${++$b}` : "", Ee = ne ? `
|
|
6882
6890
|
${it} { .${X} { width: ${ee(Y(s, m), e == null ? void 0 : e.margin)} !important; ${$ != null ? `height: ${$}px !important;` : ""} max-width: 100% !important; } }
|
|
6883
6891
|
${Be} { .${X} { width: ${ee(Y(c, b), e == null ? void 0 : e.margin)} !important; ${w != null ? `height: ${w}px !important;` : ""} max-width: 100% !important; } }
|
|
6884
6892
|
`.trim() : null, te = U ? `
|
|
@@ -6888,7 +6896,7 @@ function _b({ style: e, props: t, children: n }) {
|
|
|
6888
6896
|
`) || null, Ke = Xn(e == null ? void 0 : e.boxShadow), ze = (ae) => {
|
|
6889
6897
|
if (ae != null)
|
|
6890
6898
|
return typeof ae == "number" ? `${ae}px` : `${ae.topLeft}px ${ae.topRight}px ${ae.bottomRight}px ${ae.bottomLeft}px`;
|
|
6891
|
-
}, Ce = (e == null ? void 0 : e.borderColor) ?? null, ct = (e == null ? void 0 : e.borderWidth) ?? null, St =
|
|
6899
|
+
}, Ce = (e == null ? void 0 : e.borderColor) ?? null, ct = (e == null ? void 0 : e.borderWidth) ?? null, St = wb(Ce, ct), Ie = xb((e == null ? void 0 : e.backgroundColor) ?? ""), _e = (e == null ? void 0 : e.backgroundSize) === "none", ie = !_e && (e != null && e.backgroundImage) ? `url(${e.backgroundImage})` : void 0, be = Sb(e == null ? void 0 : e.backgroundColor, ie), Pe = _e ? void 0 : (e == null ? void 0 : e.backgroundSize) ?? void 0, Zt = (e == null ? void 0 : e.backgroundRepeat) ?? "no-repeat", ut = Ce && (Ce.includes("linear-gradient") || Ce.includes("radial-gradient") || Ce.includes("repeating-linear-gradient")), Ze = Te != null, dt = Ze ? { "--ahd-cb-h": `${Te}px` } : {}, Oe = Ze ? " container-block-has-height" : "";
|
|
6892
6900
|
if (ut) {
|
|
6893
6901
|
const ae = {
|
|
6894
6902
|
// border gradient + padding provided by borderStyles
|
|
@@ -6906,7 +6914,7 @@ function _b({ style: e, props: t, children: n }) {
|
|
|
6906
6914
|
backgroundImage: be,
|
|
6907
6915
|
backgroundSize: Pe,
|
|
6908
6916
|
backgroundRepeat: Zt,
|
|
6909
|
-
borderRadius:
|
|
6917
|
+
borderRadius: kb((e == null ? void 0 : e.borderRadius) ?? 0, ct),
|
|
6910
6918
|
overflow: _ ? "auto" : "hidden",
|
|
6911
6919
|
padding: Pr(e == null ? void 0 : e.padding),
|
|
6912
6920
|
width: "100%",
|
|
@@ -6977,8 +6985,8 @@ function _b({ style: e, props: t, children: n }) {
|
|
|
6977
6985
|
)
|
|
6978
6986
|
] });
|
|
6979
6987
|
}
|
|
6980
|
-
const
|
|
6981
|
-
style:
|
|
6988
|
+
const Ab = C({
|
|
6989
|
+
style: _b.shape.style,
|
|
6982
6990
|
responsive: Le,
|
|
6983
6991
|
props: C({
|
|
6984
6992
|
childrenIds: W(x()).optional().nullable(),
|
|
@@ -7008,10 +7016,10 @@ const $b = C({
|
|
|
7008
7016
|
hoverEffect: Pa
|
|
7009
7017
|
}).optional().nullable()
|
|
7010
7018
|
});
|
|
7011
|
-
function
|
|
7019
|
+
function yb({ style: e, props: t }) {
|
|
7012
7020
|
const n = (t == null ? void 0 : t.childrenIds) ?? [];
|
|
7013
7021
|
return /* @__PURE__ */ g(
|
|
7014
|
-
|
|
7022
|
+
Cb,
|
|
7015
7023
|
{
|
|
7016
7024
|
style: e,
|
|
7017
7025
|
props: {
|
|
@@ -7042,7 +7050,7 @@ function Cb({ style: e, props: t }) {
|
|
|
7042
7050
|
}
|
|
7043
7051
|
);
|
|
7044
7052
|
}
|
|
7045
|
-
const
|
|
7053
|
+
const Nb = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), Rb = x().regex(/^rgba?\([^\)]+\)$/i), Eb = x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i), Ib = re("transparent"), Tt = F([Nb, Rb, Eb, Ib]).nullable().optional(), Mb = I([
|
|
7046
7054
|
"MODERN_SANS",
|
|
7047
7055
|
"BOOK_SANS",
|
|
7048
7056
|
"ORGANIC_SANS",
|
|
@@ -7072,22 +7080,22 @@ const Ab = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), yb =
|
|
|
7072
7080
|
"PACIFICO",
|
|
7073
7081
|
"LOBSTER",
|
|
7074
7082
|
"BEBAS_NEUE"
|
|
7075
|
-
]).nullable().optional(),
|
|
7083
|
+
]).nullable().optional(), Tb = C({
|
|
7076
7084
|
top: f(),
|
|
7077
7085
|
bottom: f(),
|
|
7078
7086
|
right: f(),
|
|
7079
7087
|
left: f()
|
|
7080
|
-
}).optional().nullable(), mo = C({ top: f(), bottom: f(), right: f(), left: f() }).optional().nullable(), go = C({ top: f(), bottom: f(), right: f(), left: f() }).optional().nullable(),
|
|
7088
|
+
}).optional().nullable(), mo = C({ top: f(), bottom: f(), right: f(), left: f() }).optional().nullable(), go = C({ top: f(), bottom: f(), right: f(), left: f() }).optional().nullable(), Pb = x().regex(
|
|
7081
7089
|
/^(auto|cover|contain|inherit|initial|revert-layer|revert|unset|\d+(px|em|rem|%)?(\s+\d+(px|em|rem|%)?)?)$/i,
|
|
7082
7090
|
"Invalid CSS background-size value"
|
|
7083
|
-
).nullable().optional(),
|
|
7091
|
+
).nullable().optional(), Ob = C({
|
|
7084
7092
|
color: Tt,
|
|
7085
7093
|
offsetX: f().default(0),
|
|
7086
7094
|
offsetY: f().default(0),
|
|
7087
7095
|
blur: f().default(0),
|
|
7088
7096
|
spread: f().default(0),
|
|
7089
7097
|
inset: O().default(!1)
|
|
7090
|
-
}).partial().optional().nullable(),
|
|
7098
|
+
}).partial().optional().nullable(), Lb = C({
|
|
7091
7099
|
position: I([
|
|
7092
7100
|
"top",
|
|
7093
7101
|
"top-left",
|
|
@@ -7112,22 +7120,22 @@ const Ab = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), yb =
|
|
|
7112
7120
|
closeIconPaddingLeft: f().optional(),
|
|
7113
7121
|
closeIconPaddingRight: f().optional(),
|
|
7114
7122
|
bannerSubType: x().optional()
|
|
7115
|
-
}).passthrough().optional().nullable(),
|
|
7123
|
+
}).passthrough().optional().nullable(), zb = W(
|
|
7116
7124
|
C({
|
|
7117
7125
|
id: x(),
|
|
7118
7126
|
name: x(),
|
|
7119
7127
|
type: x().optional().default("text"),
|
|
7120
7128
|
value: x().optional()
|
|
7121
7129
|
})
|
|
7122
|
-
).optional().nullable(),
|
|
7130
|
+
).optional().nullable(), Bb = C({
|
|
7123
7131
|
// Template variables / merge fields ({{token}} substitution).
|
|
7124
|
-
formFields:
|
|
7132
|
+
formFields: zb,
|
|
7125
7133
|
backdropColor: Tt.default(null),
|
|
7126
7134
|
borderColor: Tt.default(null),
|
|
7127
7135
|
borderRadius: f().optional().nullable(),
|
|
7128
7136
|
canvasColor: Tt.default(null),
|
|
7129
7137
|
textColor: Tt,
|
|
7130
|
-
fontFamily:
|
|
7138
|
+
fontFamily: Mb,
|
|
7131
7139
|
childrenIds: W(x()).optional().nullable(),
|
|
7132
7140
|
maxWidth: x().default(""),
|
|
7133
7141
|
maxHeight: x().default(""),
|
|
@@ -7146,12 +7154,12 @@ const Ab = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), yb =
|
|
|
7146
7154
|
paddingMobile: mo,
|
|
7147
7155
|
marginTablet: go,
|
|
7148
7156
|
marginMobile: go,
|
|
7149
|
-
borderWidth:
|
|
7150
|
-
boxShadow:
|
|
7151
|
-
behaviour:
|
|
7157
|
+
borderWidth: Tb,
|
|
7158
|
+
boxShadow: Ob,
|
|
7159
|
+
behaviour: Lb,
|
|
7152
7160
|
linkHref: x().optional().default(""),
|
|
7153
7161
|
backgroundImage: x().default("").nullable().optional(),
|
|
7154
|
-
backgroundSize:
|
|
7162
|
+
backgroundSize: Pb,
|
|
7155
7163
|
backgroundRepeat: I(["repeat", "no-repeat"]).optional().nullable()
|
|
7156
7164
|
});
|
|
7157
7165
|
function It(e) {
|
|
@@ -7174,17 +7182,17 @@ function bo(e, t) {
|
|
|
7174
7182
|
margin: Cn(e, "margin", t) ?? null
|
|
7175
7183
|
};
|
|
7176
7184
|
}
|
|
7177
|
-
function
|
|
7185
|
+
function Db(e) {
|
|
7178
7186
|
return `${e.top ?? 0}px ${e.right ?? 0}px ${e.bottom ?? 0}px ${e.left ?? 0}px`;
|
|
7179
7187
|
}
|
|
7180
|
-
function
|
|
7188
|
+
function Hb(e) {
|
|
7181
7189
|
return `${e.top ?? 0}px ${e.right ?? 0}px ${e.bottom ?? 0}px ${e.left ?? 0}px`;
|
|
7182
7190
|
}
|
|
7183
7191
|
function vo(e, t) {
|
|
7184
7192
|
const n = [];
|
|
7185
|
-
return t.maxWidth && (n.push(`${e.width}{width:${t.maxWidth};max-width:100%;}`), n.push(`${e.table}{max-width:${t.maxWidth};min-width:0;}`)), t.maxHeight && n.push(`${e.table}{height:${t.maxHeight};}`), t.padding && n.push(`${e.padding}{padding:${
|
|
7193
|
+
return t.maxWidth && (n.push(`${e.width}{width:${t.maxWidth};max-width:100%;}`), n.push(`${e.table}{max-width:${t.maxWidth};min-width:0;}`)), t.maxHeight && n.push(`${e.table}{height:${t.maxHeight};}`), t.padding && n.push(`${e.padding}{padding:${Db(t.padding)};}`), t.margin && n.push(`${e.margin}{margin:${Hb(t.margin)};}`), n.join("");
|
|
7186
7194
|
}
|
|
7187
|
-
function
|
|
7195
|
+
function Fb(e, t, n) {
|
|
7188
7196
|
const o = `.${e}`, a = {
|
|
7189
7197
|
width: `${o} .ahd-layout-sizer`,
|
|
7190
7198
|
table: `${o} .ahd-layout-table`,
|
|
@@ -7200,9 +7208,9 @@ function Db(e, t, n) {
|
|
|
7200
7208
|
c(Re, s)
|
|
7201
7209
|
].filter(Boolean).join("");
|
|
7202
7210
|
}
|
|
7203
|
-
const
|
|
7204
|
-
let
|
|
7205
|
-
function
|
|
7211
|
+
const Gb = "Made with Page Pilot", jb = "https://pagepilot.fabbuilder.com";
|
|
7212
|
+
let Ub = 0;
|
|
7213
|
+
function Zb(e) {
|
|
7206
7214
|
switch (e ?? "MODERN_SANS") {
|
|
7207
7215
|
case "MODERN_SANS":
|
|
7208
7216
|
return 'Inter, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif';
|
|
@@ -7264,7 +7272,7 @@ function jb(e) {
|
|
|
7264
7272
|
return '"Bebas Neue", cursive, sans-serif';
|
|
7265
7273
|
}
|
|
7266
7274
|
}
|
|
7267
|
-
function
|
|
7275
|
+
function Wb(e) {
|
|
7268
7276
|
const { borderColor: t, borderWidth: n, borderRadius: o } = e;
|
|
7269
7277
|
if (!t)
|
|
7270
7278
|
return {};
|
|
@@ -7298,22 +7306,22 @@ function Ub(e) {
|
|
|
7298
7306
|
borderRadius: i ? r(i) : void 0
|
|
7299
7307
|
};
|
|
7300
7308
|
}
|
|
7301
|
-
function
|
|
7309
|
+
function qb(e) {
|
|
7302
7310
|
return e.includes("gradient") ? (e.match(/#[0-9a-fA-F]{3,8}|(?:rgba?|hsla?)\([^)]*\)/gi) ?? [])[0] ?? "#000000" : e;
|
|
7303
7311
|
}
|
|
7304
7312
|
function Or(e) {
|
|
7305
7313
|
if (!e || !e.color) return {};
|
|
7306
|
-
const { color: t, offsetX: n = 0, offsetY: o = 0, blur: a = 0, spread: i = 0, inset: r = !1 } = e, l =
|
|
7314
|
+
const { color: t, offsetX: n = 0, offsetY: o = 0, blur: a = 0, spread: i = 0, inset: r = !1 } = e, l = qb(t);
|
|
7307
7315
|
return {
|
|
7308
7316
|
boxShadow: `${r ? "inset " : ""}${n}px ${o}px ${a}px ${i}px ${l}`
|
|
7309
7317
|
};
|
|
7310
7318
|
}
|
|
7311
|
-
function
|
|
7319
|
+
function Vb(e, t, n) {
|
|
7312
7320
|
return n === "appBanner" && t ? {
|
|
7313
7321
|
backgroundColor: "transparent"
|
|
7314
7322
|
} : !e || e === "transparent" ? { backgroundColor: e ?? "transparent" } : e.includes("linear-gradient") || e.includes("radial-gradient") || e.includes("repeating-linear-gradient") ? { background: e } : { backgroundColor: e };
|
|
7315
7323
|
}
|
|
7316
|
-
function
|
|
7324
|
+
function Yb(e) {
|
|
7317
7325
|
switch (e) {
|
|
7318
7326
|
case "top":
|
|
7319
7327
|
return "bottom";
|
|
@@ -7335,16 +7343,16 @@ function qb(e) {
|
|
|
7335
7343
|
return e;
|
|
7336
7344
|
}
|
|
7337
7345
|
}
|
|
7338
|
-
function
|
|
7346
|
+
function Kb(e) {
|
|
7339
7347
|
return e.match(/#[0-9a-fA-F]{3,8}|(?:rgba?|hsla?)\([^)]*\)/gi) ?? [];
|
|
7340
7348
|
}
|
|
7341
|
-
function
|
|
7349
|
+
function Jb(e, t) {
|
|
7342
7350
|
if (!e || e === "transparent") return "#ffffff";
|
|
7343
7351
|
if (!e.includes("gradient")) return e;
|
|
7344
|
-
const n =
|
|
7352
|
+
const n = Kb(e);
|
|
7345
7353
|
return n.length === 0 ? "#ffffff" : t === "right" || t === "bottom" || t === "bottom-left" || t === "bottom-right" ? n[n.length - 1] : n[0];
|
|
7346
7354
|
}
|
|
7347
|
-
function
|
|
7355
|
+
function Xb({ position: e, color: t }) {
|
|
7348
7356
|
const a = "20px", i = {
|
|
7349
7357
|
position: "absolute",
|
|
7350
7358
|
background: t,
|
|
@@ -7382,7 +7390,7 @@ function Kb({ position: e, color: t }) {
|
|
|
7382
7390
|
}
|
|
7383
7391
|
return /* @__PURE__ */ g("div", { "aria-hidden": !0, style: { ...i, ...u } });
|
|
7384
7392
|
}
|
|
7385
|
-
function
|
|
7393
|
+
function Qb({
|
|
7386
7394
|
color: e,
|
|
7387
7395
|
position: t,
|
|
7388
7396
|
paddingTop: n,
|
|
@@ -7434,7 +7442,7 @@ function Jb({
|
|
|
7434
7442
|
}
|
|
7435
7443
|
);
|
|
7436
7444
|
}
|
|
7437
|
-
function
|
|
7445
|
+
function e0() {
|
|
7438
7446
|
return /* @__PURE__ */ g(
|
|
7439
7447
|
"div",
|
|
7440
7448
|
{
|
|
@@ -7450,17 +7458,17 @@ function Xb() {
|
|
|
7450
7458
|
children: /* @__PURE__ */ g(
|
|
7451
7459
|
"a",
|
|
7452
7460
|
{
|
|
7453
|
-
href:
|
|
7461
|
+
href: jb,
|
|
7454
7462
|
target: "_blank",
|
|
7455
7463
|
rel: "noopener noreferrer",
|
|
7456
7464
|
style: { color: "inherit", textDecoration: "underline" },
|
|
7457
|
-
children:
|
|
7465
|
+
children: Gb
|
|
7458
7466
|
}
|
|
7459
7467
|
)
|
|
7460
7468
|
}
|
|
7461
7469
|
);
|
|
7462
7470
|
}
|
|
7463
|
-
function
|
|
7471
|
+
function t0(e) {
|
|
7464
7472
|
var Y, de, oe, ee, Z, J, Te, $e, me, ne, V, U, X, Ee;
|
|
7465
7473
|
const t = e.childrenIds ?? [], n = typeof window < "u" && window.location ? window.location.pathname : "", o = n.includes("page") ? "page" : "", a = n.includes("app-banner"), i = n.includes("demo"), r = n.includes("faq"), l = n.includes("tour"), s = n.includes("tooltip"), c = l || s || i, u = [
|
|
7466
7474
|
"top-left",
|
|
@@ -7472,7 +7480,7 @@ function Qb(e) {
|
|
|
7472
7480
|
"left-center",
|
|
7473
7481
|
"right-center",
|
|
7474
7482
|
"center"
|
|
7475
|
-
], p = a && (((Y = e.behaviour) == null ? void 0 : Y.bannerSubType) === "floater" || u.includes((de = e.behaviour) == null ? void 0 : de.position)), d = a && ((oe = e.behaviour) == null ? void 0 : oe.bannerSubType) === "modal", h = (c || p || d) && ((ee = e.behaviour) == null ? void 0 : ee.showCloseIcon) !== !1, b = c && !0, v = a && e.linkHref ? e.linkHref : null, k = ke.useMemo(() => `ahd-layout-${
|
|
7483
|
+
], p = a && (((Y = e.behaviour) == null ? void 0 : Y.bannerSubType) === "floater" || u.includes((de = e.behaviour) == null ? void 0 : de.position)), d = a && ((oe = e.behaviour) == null ? void 0 : oe.bannerSubType) === "modal", h = (c || p || d) && ((ee = e.behaviour) == null ? void 0 : ee.showCloseIcon) !== !1, b = c && !0, v = a && e.linkHref ? e.linkHref : null, k = ke.useMemo(() => `ahd-layout-${Ub += 1}`, []), $ = Fb(
|
|
7476
7484
|
k,
|
|
7477
7485
|
e,
|
|
7478
7486
|
o === "page" || r ? "100%" : a && !p ? "900px" : "320px"
|
|
@@ -7487,7 +7495,7 @@ function Qb(e) {
|
|
|
7487
7495
|
style: { textDecoration: "none", color: "inherit", display: "block" },
|
|
7488
7496
|
children: te
|
|
7489
7497
|
}
|
|
7490
|
-
) : te, M =
|
|
7498
|
+
) : te, M = Wb(e), T = a && !!((Z = e.boxShadow) != null && Z.color) && !!e.boxShadow.inset, z = a && !T ? Or(e.boxShadow) : {}, G = T ? Or(e.boxShadow) : {}, j = Yb(((J = e.behaviour) == null ? void 0 : J.position) ?? "right"), D = c && !p && !d && ((Te = e.behaviour) == null ? void 0 : Te.isCaret) !== !1, L = Jb(e.canvasColor, j), q = ((($e = e.margin) == null ? void 0 : $e.left) ?? 0) + (((me = e.margin) == null ? void 0 : me.right) ?? 0), H = q > 0 ? `calc(100% - ${q}px)` : "100%";
|
|
7491
7499
|
return R(
|
|
7492
7500
|
/* @__PURE__ */ P(
|
|
7493
7501
|
"div",
|
|
@@ -7508,7 +7516,7 @@ function Qb(e) {
|
|
|
7508
7516
|
style: {
|
|
7509
7517
|
// backgroundColor: props.backdropColor ?? '',
|
|
7510
7518
|
color: e.textColor ?? "#262626",
|
|
7511
|
-
fontFamily:
|
|
7519
|
+
fontFamily: Zb(e.fontFamily),
|
|
7512
7520
|
fontSize: "16px",
|
|
7513
7521
|
fontWeight: "400",
|
|
7514
7522
|
letterSpacing: "normal",
|
|
@@ -7533,7 +7541,7 @@ function Qb(e) {
|
|
|
7533
7541
|
...d || p ? null : { maxWidth: "100%" }
|
|
7534
7542
|
},
|
|
7535
7543
|
children: [
|
|
7536
|
-
D && /* @__PURE__ */ g(
|
|
7544
|
+
D && /* @__PURE__ */ g(Xb, { position: j, color: L }),
|
|
7537
7545
|
/* @__PURE__ */ P(
|
|
7538
7546
|
"div",
|
|
7539
7547
|
{
|
|
@@ -7573,7 +7581,7 @@ function Qb(e) {
|
|
|
7573
7581
|
}
|
|
7574
7582
|
),
|
|
7575
7583
|
h && /* @__PURE__ */ g(
|
|
7576
|
-
|
|
7584
|
+
Qb,
|
|
7577
7585
|
{
|
|
7578
7586
|
color: (ne = e.behaviour) == null ? void 0 : ne.iconCloseColor,
|
|
7579
7587
|
position: (V = e.behaviour) == null ? void 0 : V.closeIconPosition,
|
|
@@ -7596,7 +7604,7 @@ function Qb(e) {
|
|
|
7596
7604
|
...d || p ? { maxWidth: "100%" } : null,
|
|
7597
7605
|
top: e.top || "",
|
|
7598
7606
|
left: e.left || "",
|
|
7599
|
-
...
|
|
7607
|
+
...Vb(e.canvasColor, e.backgroundImage, a ? "appBanner" : ""),
|
|
7600
7608
|
borderCollapse: "separate",
|
|
7601
7609
|
// `fixed` makes the single content cell honour the table's 100%
|
|
7602
7610
|
// width instead of growing to its content's intrinsic width. Without
|
|
@@ -7619,7 +7627,7 @@ function Qb(e) {
|
|
|
7619
7627
|
cellPadding: "0",
|
|
7620
7628
|
children: /* @__PURE__ */ g("tbody", { children: /* @__PURE__ */ g("tr", { style: { width: "100%" }, children: /* @__PURE__ */ P("td", { className: "email-layout-content", children: [
|
|
7621
7629
|
t.map((te) => /* @__PURE__ */ g(Se, { id: te }, te)),
|
|
7622
|
-
b && /* @__PURE__ */ g(
|
|
7630
|
+
b && /* @__PURE__ */ g(e0, {})
|
|
7623
7631
|
] }) }) })
|
|
7624
7632
|
}
|
|
7625
7633
|
)
|
|
@@ -7636,25 +7644,25 @@ function Qb(e) {
|
|
|
7636
7644
|
)
|
|
7637
7645
|
);
|
|
7638
7646
|
}
|
|
7639
|
-
const
|
|
7647
|
+
const n0 = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), o0 = x().regex(/^rgba?\([^\)]+\)$/i), a0 = x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i), r0 = re("transparent"), An = F([n0, o0, a0, r0]).nullable().optional(), i0 = C({
|
|
7640
7648
|
top: f(),
|
|
7641
7649
|
bottom: f(),
|
|
7642
7650
|
right: f(),
|
|
7643
7651
|
left: f()
|
|
7644
|
-
}).optional().nullable(),
|
|
7652
|
+
}).optional().nullable(), l0 = C({
|
|
7645
7653
|
top: f(),
|
|
7646
7654
|
bottom: f(),
|
|
7647
7655
|
right: f(),
|
|
7648
7656
|
left: f()
|
|
7649
|
-
}).optional().nullable(),
|
|
7657
|
+
}).optional().nullable(), s0 = I(["left", "center", "right"]).optional().nullable(), Dn = { min: 1, max: 20 }, Hn = { min: 4, max: 48 }, vl = (e) => typeof e == "string" && /^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(e), c0 = (e, t = !1) => t ? "16px" : e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0, u0 = (e, t = !1) => t ? "16px" : e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0, Kt = (e, t, n) => Math.min(Math.max(e, t), n), Lr = (e) => e ? vl(e) ? {
|
|
7650
7658
|
backgroundImage: e,
|
|
7651
7659
|
backgroundColor: void 0
|
|
7652
|
-
} : { backgroundColor: e ?? void 0 } : {},
|
|
7660
|
+
} : { backgroundColor: e ?? void 0 } : {}, d0 = C({
|
|
7653
7661
|
style: C({
|
|
7654
7662
|
backgroundColor: An,
|
|
7655
|
-
textAlign:
|
|
7656
|
-
padding:
|
|
7657
|
-
margin:
|
|
7663
|
+
textAlign: s0,
|
|
7664
|
+
padding: i0,
|
|
7665
|
+
margin: l0
|
|
7658
7666
|
}).optional().nullable(),
|
|
7659
7667
|
props: C({
|
|
7660
7668
|
stepperType: I(["dots", "numeric", "both"]).optional().nullable(),
|
|
@@ -7680,7 +7688,7 @@ const e0 = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), t0 =
|
|
|
7680
7688
|
numericFontSize: 14,
|
|
7681
7689
|
numericPosition: "below"
|
|
7682
7690
|
};
|
|
7683
|
-
function
|
|
7691
|
+
function h0({ style: e, props: t }) {
|
|
7684
7692
|
const o = ul() === "mobile", i = typeof window < "u" && window.location.pathname.includes("page") && o, r = Kt(
|
|
7685
7693
|
(t == null ? void 0 : t.totalDots) ?? Je.totalDots,
|
|
7686
7694
|
Dn.min,
|
|
@@ -7695,8 +7703,8 @@ function u0({ style: e, props: t }) {
|
|
|
7695
7703
|
48
|
|
7696
7704
|
), S = (t == null ? void 0 : t.numericPosition) ?? Je.numericPosition, w = {
|
|
7697
7705
|
...Lr((e == null ? void 0 : e.backgroundColor) ?? void 0),
|
|
7698
|
-
padding:
|
|
7699
|
-
margin:
|
|
7706
|
+
padding: c0(e == null ? void 0 : e.padding, i),
|
|
7707
|
+
margin: u0(e == null ? void 0 : e.margin, i),
|
|
7700
7708
|
textAlign: (e == null ? void 0 : e.textAlign) ?? "center",
|
|
7701
7709
|
width: "100%",
|
|
7702
7710
|
boxSizing: "border-box"
|
|
@@ -7755,12 +7763,12 @@ function u0({ style: e, props: t }) {
|
|
|
7755
7763
|
}
|
|
7756
7764
|
);
|
|
7757
7765
|
}
|
|
7758
|
-
const
|
|
7766
|
+
const f0 = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), p0 = x().regex(/^rgba?\([^\)]+\)$/i), m0 = re("transparent"), xo = F([f0, p0, m0]).nullable().optional(), xl = C({
|
|
7759
7767
|
top: f(),
|
|
7760
7768
|
bottom: f(),
|
|
7761
7769
|
right: f(),
|
|
7762
7770
|
left: f()
|
|
7763
|
-
}).optional().nullable(),
|
|
7771
|
+
}).optional().nullable(), g0 = xl, b0 = I(["left", "center", "right"]).optional().nullable(), v0 = [
|
|
7764
7772
|
"disc",
|
|
7765
7773
|
"circle",
|
|
7766
7774
|
"square",
|
|
@@ -7769,7 +7777,7 @@ const d0 = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), h0 =
|
|
|
7769
7777
|
"check",
|
|
7770
7778
|
"cross",
|
|
7771
7779
|
"none"
|
|
7772
|
-
],
|
|
7780
|
+
], x0 = [
|
|
7773
7781
|
"decimal",
|
|
7774
7782
|
"decimal-zero",
|
|
7775
7783
|
"lower-alpha",
|
|
@@ -7784,23 +7792,23 @@ const d0 = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), h0 =
|
|
|
7784
7792
|
arrow: "➤",
|
|
7785
7793
|
check: "✓",
|
|
7786
7794
|
cross: "✗"
|
|
7787
|
-
},
|
|
7795
|
+
}, S0 = C({
|
|
7788
7796
|
text: x()
|
|
7789
|
-
}),
|
|
7797
|
+
}), w0 = C({
|
|
7790
7798
|
style: C({
|
|
7791
7799
|
color: xo,
|
|
7792
7800
|
backgroundColor: xo,
|
|
7793
|
-
textAlign:
|
|
7801
|
+
textAlign: b0,
|
|
7794
7802
|
fontSize: f().min(8).max(72).optional().nullable(),
|
|
7795
7803
|
fontFamily: x().optional().nullable(),
|
|
7796
7804
|
fontWeight: F([f(), x()]).optional().nullable(),
|
|
7797
7805
|
lineHeight: f().min(1).max(3).optional().nullable(),
|
|
7798
7806
|
padding: xl,
|
|
7799
|
-
margin:
|
|
7807
|
+
margin: g0
|
|
7800
7808
|
}).optional().nullable(),
|
|
7801
7809
|
props: C({
|
|
7802
7810
|
listType: I(["unordered", "ordered"]).optional().nullable(),
|
|
7803
|
-
marker: I([...
|
|
7811
|
+
marker: I([...v0, ...x0]).optional().nullable(),
|
|
7804
7812
|
// AI-generated documents sometimes send "" instead of omitting the field
|
|
7805
7813
|
// (e.g. unordered lists don't use a suffix but the field is still present
|
|
7806
7814
|
// as an empty string). Treat "" as unset so it doesn't fail validation.
|
|
@@ -7812,7 +7820,7 @@ const d0 = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), h0 =
|
|
|
7812
7820
|
markerColor: xo,
|
|
7813
7821
|
markerSize: f().min(8).max(72).optional().nullable(),
|
|
7814
7822
|
itemGap: f().min(0).max(64).optional().nullable(),
|
|
7815
|
-
items: W(
|
|
7823
|
+
items: W(S0).optional().nullable()
|
|
7816
7824
|
}).optional().nullable(),
|
|
7817
7825
|
responsive: Le
|
|
7818
7826
|
}), pt = {
|
|
@@ -7857,7 +7865,7 @@ const d0 = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), h0 =
|
|
|
7857
7865
|
n = String.fromCharCode(97 + o) + n, t = Math.floor((t - 1) / 26);
|
|
7858
7866
|
}
|
|
7859
7867
|
return n || "a";
|
|
7860
|
-
},
|
|
7868
|
+
}, k0 = (e, t, n, o) => {
|
|
7861
7869
|
const a = n + t;
|
|
7862
7870
|
switch (e) {
|
|
7863
7871
|
case "decimal-zero":
|
|
@@ -7875,7 +7883,7 @@ const d0 = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), h0 =
|
|
|
7875
7883
|
return `${a}${o}`;
|
|
7876
7884
|
}
|
|
7877
7885
|
};
|
|
7878
|
-
function
|
|
7886
|
+
function _0({ style: e, props: t }) {
|
|
7879
7887
|
var v;
|
|
7880
7888
|
const o = ((t == null ? void 0 : t.listType) ?? pt.listType) === "ordered", a = (t == null ? void 0 : t.marker) ?? (o ? "decimal" : pt.marker), i = (t == null ? void 0 : t.numberSuffix) ?? pt.numberSuffix, r = (t == null ? void 0 : t.startNumber) ?? pt.startNumber, l = (t == null ? void 0 : t.markerColor) ?? pt.markerColor, s = Br((t == null ? void 0 : t.markerSize) ?? pt.markerSize, 8, 72), c = Br((t == null ? void 0 : t.itemGap) ?? pt.itemGap, 0, 64), u = (v = t == null ? void 0 : t.items) != null && v.length ? t.items : pt.items.map((k) => ({ ...k })), p = (e == null ? void 0 : e.color) ?? void 0, d = {
|
|
7881
7889
|
backgroundColor: (e == null ? void 0 : e.backgroundColor) ?? void 0,
|
|
@@ -7897,7 +7905,7 @@ function w0({ style: e, props: t }) {
|
|
|
7897
7905
|
color: l ?? p,
|
|
7898
7906
|
fontSize: `${s}px`,
|
|
7899
7907
|
lineHeight: (e == null ? void 0 : e.lineHeight) ?? 1.5
|
|
7900
|
-
}, b = (k) => a === "none" ? null : o ?
|
|
7908
|
+
}, b = (k) => a === "none" ? null : o ? k0(a, k, r, i) : zr[a] ?? zr.disc;
|
|
7901
7909
|
return /* @__PURE__ */ g("div", { className: "list-block", style: d, children: /* @__PURE__ */ g(
|
|
7902
7910
|
"table",
|
|
7903
7911
|
{
|
|
@@ -7925,15 +7933,15 @@ function w0({ style: e, props: t }) {
|
|
|
7925
7933
|
}
|
|
7926
7934
|
) });
|
|
7927
7935
|
}
|
|
7928
|
-
const
|
|
7936
|
+
const $0 = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), C0 = x().regex(/^rgba?\([^\)]+\)$/i), A0 = x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i), y0 = re("transparent"), N0 = F([$0, C0, A0, y0]).nullable().optional(), R0 = C({
|
|
7929
7937
|
top: f(),
|
|
7930
7938
|
bottom: f(),
|
|
7931
7939
|
right: f(),
|
|
7932
7940
|
left: f()
|
|
7933
7941
|
}).optional().nullable(), Vo = C({
|
|
7934
7942
|
style: C({
|
|
7935
|
-
backgroundColor:
|
|
7936
|
-
padding:
|
|
7943
|
+
backgroundColor: N0,
|
|
7944
|
+
padding: R0
|
|
7937
7945
|
}).optional().nullable(),
|
|
7938
7946
|
props: C({
|
|
7939
7947
|
direction: I(["row", "column"]).optional().nullable(),
|
|
@@ -7961,13 +7969,13 @@ const k0 = x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/), _0 =
|
|
|
7961
7969
|
center: "center",
|
|
7962
7970
|
end: "flex-end",
|
|
7963
7971
|
"space-between": "space-between"
|
|
7964
|
-
},
|
|
7972
|
+
}, E0 = (e) => e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0;
|
|
7965
7973
|
function Gr(e, t, n, o) {
|
|
7966
7974
|
const a = e === "row" ? Fn[t] : "flex-start", i = e === "column" ? Fn[t] : "center";
|
|
7967
7975
|
return `flex-direction:${e}!important;justify-content:${a}!important;align-items:${i}!important;flex-wrap:${e === "row" && n ? "wrap" : "nowrap"}!important;gap:${o}px!important;`;
|
|
7968
7976
|
}
|
|
7969
|
-
let
|
|
7970
|
-
function
|
|
7977
|
+
let I0 = 0;
|
|
7978
|
+
function M0({ style: e, buttons: t, props: n }) {
|
|
7971
7979
|
const o = (n == null ? void 0 : n.direction) ?? yn.direction, a = (n == null ? void 0 : n.directionTablet) ?? o, i = (n == null ? void 0 : n.directionMobile) ?? a, r = (n == null ? void 0 : n.gap) ?? yn.gap, l = (n == null ? void 0 : n.gapTablet) ?? r, s = (n == null ? void 0 : n.gapMobile) ?? l, c = (n == null ? void 0 : n.alignment) ?? yn.alignment, u = (n == null ? void 0 : n.alignmentTablet) ?? c, p = (n == null ? void 0 : n.alignmentMobile) ?? u, d = (n == null ? void 0 : n.wrap) ?? yn.wrap, h = (n == null ? void 0 : n.ariaLabel) ?? void 0, m = o, b = c, k = {
|
|
7972
7980
|
display: "flex",
|
|
7973
7981
|
flexDirection: m,
|
|
@@ -7976,10 +7984,10 @@ function E0({ style: e, buttons: t, props: n }) {
|
|
|
7976
7984
|
alignItems: m === "column" ? Fn[b] : "center",
|
|
7977
7985
|
flexWrap: m === "row" && d ? "wrap" : "nowrap",
|
|
7978
7986
|
background: (e == null ? void 0 : e.backgroundColor) ?? void 0,
|
|
7979
|
-
padding:
|
|
7987
|
+
padding: E0(e == null ? void 0 : e.padding),
|
|
7980
7988
|
boxSizing: "border-box",
|
|
7981
7989
|
width: "100%"
|
|
7982
|
-
}, S = ke.useMemo(() => `ahd-bg-${
|
|
7990
|
+
}, S = ke.useMemo(() => `ahd-bg-${I0 += 1}`, []), $ = ke.useMemo(() => {
|
|
7983
7991
|
const w = `.${S}`;
|
|
7984
7992
|
let _ = "";
|
|
7985
7993
|
return (a !== o || u !== c || l !== r) && (_ += `@media (max-width:${Fe}px){${w}{${Gr(a, u, d, l)}}}`), (i !== a || p !== u || s !== l) && (_ += `@media (max-width:${Re}px){${w}{${Gr(i, p, d, s)}}}`), _;
|
|
@@ -8010,22 +8018,22 @@ function E0({ style: e, buttons: t, props: n }) {
|
|
|
8010
8018
|
}
|
|
8011
8019
|
);
|
|
8012
8020
|
}
|
|
8013
|
-
const
|
|
8021
|
+
const T0 = Vo.shape.props.unwrap().unwrap().shape, P0 = C({
|
|
8014
8022
|
style: Vo.shape.style,
|
|
8015
8023
|
props: C({
|
|
8016
|
-
...
|
|
8024
|
+
...T0,
|
|
8017
8025
|
childrenIds: W(x()).optional().nullable()
|
|
8018
8026
|
}).optional().nullable(),
|
|
8019
8027
|
responsive: Vo.shape.responsive
|
|
8020
8028
|
});
|
|
8021
|
-
function
|
|
8029
|
+
function O0({ style: e, props: t }) {
|
|
8022
8030
|
const { childrenIds: n, ...o } = t ?? {}, a = (n ?? []).map((i) => /* @__PURE__ */ g(Se, { id: i }, i));
|
|
8023
|
-
return /* @__PURE__ */ g(
|
|
8031
|
+
return /* @__PURE__ */ g(M0, { style: e, props: o, buttons: a });
|
|
8024
8032
|
}
|
|
8025
|
-
const
|
|
8033
|
+
const L0 = C({
|
|
8026
8034
|
titleChildrenIds: W(x()).optional().nullable(),
|
|
8027
8035
|
contentChildrenIds: W(x()).optional().nullable()
|
|
8028
|
-
}),
|
|
8036
|
+
}), z0 = C({
|
|
8029
8037
|
responsive: Le,
|
|
8030
8038
|
style: C({
|
|
8031
8039
|
backgroundColor: x().optional().nullable(),
|
|
@@ -8056,31 +8064,31 @@ const P0 = C({
|
|
|
8056
8064
|
}).optional().nullable()
|
|
8057
8065
|
}).optional().nullable(),
|
|
8058
8066
|
props: C({
|
|
8059
|
-
items: W(
|
|
8067
|
+
items: W(L0).min(1).max(25).optional().nullable(),
|
|
8060
8068
|
iconColor: x().optional().nullable(),
|
|
8061
8069
|
iconSize: f().optional().nullable(),
|
|
8062
8070
|
defaultOpen: O().optional().nullable(),
|
|
8063
8071
|
activeBorderColor: x().optional().nullable()
|
|
8064
8072
|
}).optional().nullable()
|
|
8065
8073
|
});
|
|
8066
|
-
function
|
|
8074
|
+
function B0(e) {
|
|
8067
8075
|
if (e != null)
|
|
8068
8076
|
return typeof e == "number" ? `${e}px` : typeof e == "string" ? e : `${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`;
|
|
8069
8077
|
}
|
|
8070
8078
|
const jr = (e) => typeof e == "string" && /^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(e);
|
|
8071
|
-
function
|
|
8079
|
+
function D0(e, t) {
|
|
8072
8080
|
if (!e) return;
|
|
8073
8081
|
const n = Math.max(t.top, t.right, t.bottom, t.left), o = e.split(" ").map((a) => Math.max(0, parseFloat(a) - n));
|
|
8074
8082
|
return o.length === 1 ? `${o[0]}px` : o.map((a) => `${a}px`).join(" ");
|
|
8075
8083
|
}
|
|
8076
|
-
function
|
|
8084
|
+
function H0({ style: e, props: t }) {
|
|
8077
8085
|
const n = ve(() => {
|
|
8078
8086
|
const $ = t == null ? void 0 : t.items;
|
|
8079
8087
|
return !$ || $.length === 0 ? { titleChildrenIds: [], contentChildrenIds: [] } : {
|
|
8080
8088
|
titleChildrenIds: $[0].titleChildrenIds ?? [],
|
|
8081
8089
|
contentChildrenIds: $[0].contentChildrenIds ?? []
|
|
8082
8090
|
};
|
|
8083
|
-
}, [t == null ? void 0 : t.items]), o = ve(() => `email-accordion-${Math.random().toString(36).slice(2, 9)}`, []), a = `${o}-content`, i = e == null ? void 0 : e.padding, r = e == null ? void 0 : e.margin, l = ((r == null ? void 0 : r.left) ?? 0) + ((r == null ? void 0 : r.right) ?? 0), s = t == null ? void 0 : t.activeBorderColor, c = e == null ? void 0 : e.borderColor, u = (e == null ? void 0 : e.borderWidth) ?? { top: 1, right: 1, bottom: 1, left: 1 }, p = `${u.top}px ${u.right}px ${u.bottom}px ${u.left}px`, d =
|
|
8091
|
+
}, [t == null ? void 0 : t.items]), o = ve(() => `email-accordion-${Math.random().toString(36).slice(2, 9)}`, []), a = `${o}-content`, i = e == null ? void 0 : e.padding, r = e == null ? void 0 : e.margin, l = ((r == null ? void 0 : r.left) ?? 0) + ((r == null ? void 0 : r.right) ?? 0), s = t == null ? void 0 : t.activeBorderColor, c = e == null ? void 0 : e.borderColor, u = (e == null ? void 0 : e.borderWidth) ?? { top: 1, right: 1, bottom: 1, left: 1 }, p = `${u.top}px ${u.right}px ${u.bottom}px ${u.left}px`, d = B0(e == null ? void 0 : e.borderRadius), h = jr(c), m = jr(s), b = h || m, v = {
|
|
8084
8092
|
width: l > 0 ? `calc(100% - ${l}px)` : "100%",
|
|
8085
8093
|
boxSizing: "border-box",
|
|
8086
8094
|
borderRadius: d,
|
|
@@ -8090,7 +8098,7 @@ function B0({ style: e, props: t }) {
|
|
|
8090
8098
|
(e == null ? void 0 : e.borderRadius) != null && (v.overflow = "hidden"), b ? (v.padding = p, h ? v.background = c : c && (v.borderStyle = "solid", v.borderColor = c, v.borderWidth = p)) : c && (v.borderStyle = "solid", v.borderColor = c, v.borderWidth = p);
|
|
8091
8099
|
const k = {
|
|
8092
8100
|
background: (e == null ? void 0 : e.backgroundColor) ?? (b ? "#ffffff" : void 0),
|
|
8093
|
-
borderRadius: b ?
|
|
8101
|
+
borderRadius: b ? D0(d, u) : void 0,
|
|
8094
8102
|
padding: i ? `${i.top}px ${i.right}px ${i.bottom}px ${i.left}px` : void 0,
|
|
8095
8103
|
overflow: b && (e == null ? void 0 : e.borderRadius) != null ? "hidden" : void 0
|
|
8096
8104
|
}, S = [];
|
|
@@ -8157,11 +8165,11 @@ function B0({ style: e, props: t }) {
|
|
|
8157
8165
|
] }) })
|
|
8158
8166
|
] });
|
|
8159
8167
|
}
|
|
8160
|
-
const
|
|
8168
|
+
const F0 = C({
|
|
8161
8169
|
label: x().optional().nullable(),
|
|
8162
8170
|
cardChildrenIds: W(x()).optional().nullable(),
|
|
8163
8171
|
detailChildrenIds: W(x()).optional().nullable()
|
|
8164
|
-
}),
|
|
8172
|
+
}), G0 = C({
|
|
8165
8173
|
style: C({
|
|
8166
8174
|
// Outer container
|
|
8167
8175
|
backgroundColor: x().optional().nullable(),
|
|
@@ -8225,17 +8233,17 @@ const D0 = C({
|
|
|
8225
8233
|
panelGap: f().optional().nullable()
|
|
8226
8234
|
}).optional().nullable(),
|
|
8227
8235
|
props: C({
|
|
8228
|
-
items: W(
|
|
8236
|
+
items: W(F0).min(1).max(10).optional().nullable(),
|
|
8229
8237
|
defaultOpenIndex: f().optional().nullable(),
|
|
8230
8238
|
accordionEnabled: O().optional().nullable(),
|
|
8231
8239
|
detailPosition: I(["bottom", "right"]).optional().nullable()
|
|
8232
8240
|
}).optional().nullable()
|
|
8233
8241
|
});
|
|
8234
|
-
function
|
|
8242
|
+
function j0(e) {
|
|
8235
8243
|
if (e != null)
|
|
8236
8244
|
return typeof e == "number" ? `${e}px` : typeof e == "string" ? e : `${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`;
|
|
8237
8245
|
}
|
|
8238
|
-
function
|
|
8246
|
+
function U0({ style: e, props: t }) {
|
|
8239
8247
|
const n = ve(
|
|
8240
8248
|
() => t != null && t.items && t.items.length > 0 ? t.items : [{ label: "Plan 1", cardChildrenIds: [], detailChildrenIds: [] }],
|
|
8241
8249
|
[t == null ? void 0 : t.items]
|
|
@@ -8244,7 +8252,7 @@ function G0({ style: e, props: t }) {
|
|
|
8244
8252
|
boxSizing: "border-box",
|
|
8245
8253
|
background: (e == null ? void 0 : e.backgroundColor) ?? void 0,
|
|
8246
8254
|
border: e != null && e.borderColor ? `${e.borderWidth ?? 1}px solid ${e.borderColor}` : void 0,
|
|
8247
|
-
borderRadius:
|
|
8255
|
+
borderRadius: j0(e == null ? void 0 : e.borderRadius),
|
|
8248
8256
|
padding: oe ? `${oe.top}px ${oe.right}px ${oe.bottom}px ${oe.left}px` : void 0
|
|
8249
8257
|
}, Z = s ? `repeat(${n.length}, minmax(0, 1fr))` : `repeat(${n.length}, minmax(0, auto))`, J = v ? `${v}px` : "inherit";
|
|
8250
8258
|
if (!a) {
|
|
@@ -8318,10 +8326,10 @@ function G0({ style: e, props: t }) {
|
|
|
8318
8326
|
] }, ne)) })
|
|
8319
8327
|
] });
|
|
8320
8328
|
}
|
|
8321
|
-
const
|
|
8329
|
+
const Z0 = C({
|
|
8322
8330
|
label: x().optional().nullable(),
|
|
8323
8331
|
contentChildrenIds: W(x()).optional().nullable()
|
|
8324
|
-
}),
|
|
8332
|
+
}), W0 = C({
|
|
8325
8333
|
responsive: Le,
|
|
8326
8334
|
style: C({
|
|
8327
8335
|
backgroundColor: x().optional().nullable(),
|
|
@@ -8372,7 +8380,7 @@ const j0 = C({
|
|
|
8372
8380
|
behavior: I(["showSelectedSection", "scrollToSelectedSection"]).optional().nullable(),
|
|
8373
8381
|
activeTabIndex: f().optional().nullable(),
|
|
8374
8382
|
stickyNav: O().optional().nullable(),
|
|
8375
|
-
items: W(
|
|
8383
|
+
items: W(Z0).min(1).max(20).optional().nullable()
|
|
8376
8384
|
}).optional().nullable()
|
|
8377
8385
|
}), tt = [
|
|
8378
8386
|
{
|
|
@@ -8525,7 +8533,7 @@ const j0 = C({
|
|
|
8525
8533
|
label: "Bebas Neue",
|
|
8526
8534
|
value: '"Bebas Neue", cursive, sans-serif'
|
|
8527
8535
|
}
|
|
8528
|
-
],
|
|
8536
|
+
], q0 = {
|
|
8529
8537
|
Inter: [400, 500, 600, 700],
|
|
8530
8538
|
Roboto: [400, 500, 700],
|
|
8531
8539
|
"Open Sans": [400, 500, 600, 700],
|
|
@@ -8552,26 +8560,26 @@ const j0 = C({
|
|
|
8552
8560
|
"Libre Baskerville": [400, 700],
|
|
8553
8561
|
"EB Garamond": [400, 500, 700],
|
|
8554
8562
|
Lora: [400, 500, 700]
|
|
8555
|
-
},
|
|
8563
|
+
}, V0 = (e, t) => {
|
|
8556
8564
|
const n = e.replace(/ /g, "+");
|
|
8557
8565
|
return t.length === 1 && t[0] === 400 ? n : `${n}:wght@${t.join(";")}`;
|
|
8558
8566
|
};
|
|
8559
8567
|
`${Object.entries(
|
|
8560
|
-
|
|
8561
|
-
).map(([e, t]) => `family=${
|
|
8568
|
+
q0
|
|
8569
|
+
).map(([e, t]) => `family=${V0(e, t)}`).join("&")}`;
|
|
8562
8570
|
const Sl = tt.filter((e) => e.key !== "inherit").map((e) => ({
|
|
8563
8571
|
label: e.label,
|
|
8564
8572
|
css: e.value
|
|
8565
8573
|
}));
|
|
8566
8574
|
Sl.map((e) => e.css);
|
|
8567
|
-
const
|
|
8575
|
+
const Y0 = (e) => e.replace(/"/g, '\\"'), K0 = (e) => ((e || "").split(",")[0] || "").replace(/['"]/g, "").trim().toLowerCase();
|
|
8568
8576
|
new Set(
|
|
8569
|
-
tt.filter((e) => e.key !== "inherit").map((e) =>
|
|
8577
|
+
tt.filter((e) => e.key !== "inherit").map((e) => K0(e.value))
|
|
8570
8578
|
);
|
|
8571
8579
|
const Ur = tt.find((e) => e.key === "INTER");
|
|
8572
8580
|
Ur && Ur.value;
|
|
8573
8581
|
Sl.map((e) => {
|
|
8574
|
-
const t =
|
|
8582
|
+
const t = Y0(e.css);
|
|
8575
8583
|
return `
|
|
8576
8584
|
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="${t}"]::before,
|
|
8577
8585
|
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="${t}"]::before {
|
|
@@ -8580,12 +8588,12 @@ Sl.map((e) => {
|
|
|
8580
8588
|
}`;
|
|
8581
8589
|
}).join(`
|
|
8582
8590
|
`);
|
|
8583
|
-
function
|
|
8591
|
+
function J0(e) {
|
|
8584
8592
|
if (!e) return;
|
|
8585
8593
|
const t = tt.find((n) => n.key === e);
|
|
8586
8594
|
return (t == null ? void 0 : t.value) ?? e;
|
|
8587
8595
|
}
|
|
8588
|
-
function
|
|
8596
|
+
function X0(e) {
|
|
8589
8597
|
if (e != null)
|
|
8590
8598
|
return typeof e == "number" ? `${e}px` : typeof e == "string" ? e : `${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`;
|
|
8591
8599
|
}
|
|
@@ -8593,7 +8601,7 @@ function Zr(e) {
|
|
|
8593
8601
|
if (e != null)
|
|
8594
8602
|
return typeof e == "number" ? `${e}px` : e;
|
|
8595
8603
|
}
|
|
8596
|
-
const
|
|
8604
|
+
const Q0 = {
|
|
8597
8605
|
position: "absolute",
|
|
8598
8606
|
opacity: 0,
|
|
8599
8607
|
pointerEvents: "none",
|
|
@@ -8604,7 +8612,7 @@ const J0 = {
|
|
|
8604
8612
|
border: 0,
|
|
8605
8613
|
overflow: "hidden",
|
|
8606
8614
|
clip: "rect(0 0 0 0)"
|
|
8607
|
-
},
|
|
8615
|
+
}, ev = {
|
|
8608
8616
|
display: "inline-block",
|
|
8609
8617
|
minWidth: 0,
|
|
8610
8618
|
maxWidth: "100%",
|
|
@@ -8617,7 +8625,7 @@ function So(e, t, n, o, a, i) {
|
|
|
8617
8625
|
const r = i ? `${i}px` : void 0, l = `var(--ahd-tabs-nav-width,${r ?? "minmax(0,max-content)"})`, s = `width:var(--ahd-tabs-nav-width,${r ?? "auto"});max-width:var(--ahd-tabs-nav-width,${r ?? "40%"})`;
|
|
8618
8626
|
return `${e}{display:grid;grid-template-columns:${l} minmax(0,1fr);column-gap:${a};align-items:start}${e} .ahd-tabs-nav{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;grid-column:1;grid-row:1;align-self:start;${s};min-width:0;overflow:visible;border-right:${n} solid var(--ahd-tabs-nav-border,transparent);border-bottom:0}${e} .ahd-tabs-label{display:flex;border-left:3px solid transparent;border-bottom:0;margin-right:calc(-1 * ${n});margin-bottom:${o};white-space:normal!important;word-break:break-word;overflow-wrap:anywhere;min-width:0;max-width:100%;box-sizing:border-box}${e} .ahd-tabs-panels{grid-column:2;grid-row:1;width:100%;margin-top:0}`;
|
|
8619
8627
|
}
|
|
8620
|
-
function
|
|
8628
|
+
function tv({ style: e, props: t }) {
|
|
8621
8629
|
const n = (t == null ? void 0 : t.orientation) ?? "horizontal", o = (t == null ? void 0 : t.orientationTablet) ?? n, a = (t == null ? void 0 : t.orientationMobile) ?? o, r = ((t == null ? void 0 : t.behavior) ?? "showSelectedSection") === "scrollToSelectedSection", l = (t == null ? void 0 : t.stickyNav) ?? !1, s = ve(
|
|
8622
8630
|
() => t != null && t.items && t.items.length > 0 ? t.items : [{ label: "Tab 1", contentChildrenIds: [] }],
|
|
8623
8631
|
[t == null ? void 0 : t.items]
|
|
@@ -8629,10 +8637,10 @@ function Q0({ style: e, props: t }) {
|
|
|
8629
8637
|
boxSizing: "border-box",
|
|
8630
8638
|
background: (e == null ? void 0 : e.backgroundColor) ?? void 0,
|
|
8631
8639
|
border: e != null && e.borderColor ? `1px solid ${e.borderColor}` : void 0,
|
|
8632
|
-
borderRadius:
|
|
8640
|
+
borderRadius: X0(e == null ? void 0 : e.borderRadius),
|
|
8633
8641
|
padding: A ? `${A.top}px ${A.right}px ${A.bottom}px ${A.left}px` : void 0,
|
|
8634
8642
|
margin: y ? `${y.top}px ${y.right}px ${y.bottom}px ${y.left}px` : void 0,
|
|
8635
|
-
fontFamily:
|
|
8643
|
+
fontFamily: J0(e == null ? void 0 : e.fontFamily),
|
|
8636
8644
|
fontSize: Zr(e == null ? void 0 : e.fontSize),
|
|
8637
8645
|
fontWeight: (e == null ? void 0 : e.fontWeight) ?? void 0,
|
|
8638
8646
|
lineHeight: (e == null ? void 0 : e.lineHeight) ?? 1.5,
|
|
@@ -8646,7 +8654,7 @@ function Q0({ style: e, props: t }) {
|
|
|
8646
8654
|
name: c,
|
|
8647
8655
|
className: "ahd-tabs-radio",
|
|
8648
8656
|
defaultChecked: L === 0,
|
|
8649
|
-
style:
|
|
8657
|
+
style: Q0
|
|
8650
8658
|
},
|
|
8651
8659
|
L
|
|
8652
8660
|
)), z = ve(() => {
|
|
@@ -8655,7 +8663,7 @@ function Q0({ style: e, props: t }) {
|
|
|
8655
8663
|
return s.forEach((Y, de) => {
|
|
8656
8664
|
const oe = `#${c}-r${de}:checked`, ee = `${oe} ~ .ahd-tabs-nav .ahd-tabs-label:nth-of-type(${de + 1})`, Z = `${oe} ~ .ahd-tabs-panels .ahd-tabs-panel:nth-of-type(${de + 1})`, J = `color:${L}!important;border-left-color:var(--ahd-tabs-active-border-color,${N})!important;border-bottom-color:var(--ahd-tabs-active-border-color,${N})!important`;
|
|
8657
8665
|
H += `${ee}{${J}}`, H += `${ee} .ahd-tabs-label-text{font-size:var(--ahd-tabs-active-font-size,${w ?? "inherit"})!important}`, r || (H += `${Z}{display:block!important}`);
|
|
8658
|
-
}), H += So(D, n, m, S, $, k), o !== n && (H += `${
|
|
8666
|
+
}), H += So(D, n, m, S, $, k), o !== n && (H += `${nv}{${So(D, o, m, S, $, k)}}`), a !== o && (H += `${ov}{${So(D, a, m, S, $, k)}}`), l && (H += `${D} .ahd-tabs-nav{position:sticky;top:0;z-index:50}:where(.ahd-block-wrapper,[id]):has(> ${D}){position:sticky;top:0;z-index:50}`), H;
|
|
8659
8667
|
}, [
|
|
8660
8668
|
s,
|
|
8661
8669
|
c,
|
|
@@ -8688,7 +8696,7 @@ function Q0({ style: e, props: t }) {
|
|
|
8688
8696
|
className: "ahd-tabs-label",
|
|
8689
8697
|
"data-ahd-tab-index": L,
|
|
8690
8698
|
style: { alignItems: "center", cursor: "pointer", padding: n === "vertical" ? "10px 16px" : "10px 18px", whiteSpace: "nowrap", transition: "color .15s ease,border-color .15s ease", userSelect: "none", position: "relative" },
|
|
8691
|
-
children: /* @__PURE__ */ g("span", { className: "ahd-tabs-label-text", style:
|
|
8699
|
+
children: /* @__PURE__ */ g("span", { className: "ahd-tabs-label-text", style: ev, children: D.label ?? `Tab ${L + 1}` })
|
|
8692
8700
|
},
|
|
8693
8701
|
L
|
|
8694
8702
|
)) }),
|
|
@@ -8707,9 +8715,9 @@ function Q0({ style: e, props: t }) {
|
|
|
8707
8715
|
}
|
|
8708
8716
|
);
|
|
8709
8717
|
}
|
|
8710
|
-
const
|
|
8718
|
+
const nv = `@media (max-width:${Fe}px)`, ov = `@media (max-width:${Re}px)`, av = C({
|
|
8711
8719
|
contentChildrenIds: W(x()).optional().nullable()
|
|
8712
|
-
}),
|
|
8720
|
+
}), rv = C({
|
|
8713
8721
|
style: C({
|
|
8714
8722
|
backgroundColor: x().optional().nullable(),
|
|
8715
8723
|
borderColor: x().optional().nullable(),
|
|
@@ -8754,15 +8762,15 @@ const ev = `@media (max-width:${Fe}px)`, tv = `@media (max-width:${Re}px)`, nv =
|
|
|
8754
8762
|
autoplayInterval: f().min(500).max(2e4).optional().nullable(),
|
|
8755
8763
|
loop: O().optional().nullable(),
|
|
8756
8764
|
transitionMs: f().min(0).max(3e3).optional().nullable(),
|
|
8757
|
-
items: W(
|
|
8765
|
+
items: W(av).min(1).max(20).optional().nullable()
|
|
8758
8766
|
}).optional().nullable()
|
|
8759
8767
|
});
|
|
8760
|
-
function
|
|
8768
|
+
function iv(e) {
|
|
8761
8769
|
if (e != null)
|
|
8762
8770
|
return typeof e == "number" ? `${e}px` : typeof e == "string" ? e : `${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`;
|
|
8763
8771
|
}
|
|
8764
|
-
const
|
|
8765
|
-
function
|
|
8772
|
+
const lv = "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z", sv = "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z", Wr = ({ d: e, size: t = 20 }) => /* @__PURE__ */ g("svg", { width: t, height: t, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ g("path", { d: e }) });
|
|
8773
|
+
function cv({ style: e, props: t }) {
|
|
8766
8774
|
const n = ve(
|
|
8767
8775
|
() => t != null && t.items && t.items.length > 0 ? t.items : [{ contentChildrenIds: [] }],
|
|
8768
8776
|
[t == null ? void 0 : t.items]
|
|
@@ -8772,7 +8780,7 @@ function lv({ style: e, props: t }) {
|
|
|
8772
8780
|
position: "relative",
|
|
8773
8781
|
background: (e == null ? void 0 : e.backgroundColor) ?? void 0,
|
|
8774
8782
|
border: e != null && e.borderColor ? `1px solid ${e.borderColor}` : void 0,
|
|
8775
|
-
borderRadius:
|
|
8783
|
+
borderRadius: iv(e == null ? void 0 : e.borderRadius),
|
|
8776
8784
|
padding: N ? `${N.top}px ${N.right}px ${N.bottom}px ${N.left}px` : void 0,
|
|
8777
8785
|
margin: A ? `${A.top}px ${A.right}px ${A.bottom}px ${A.left}px` : void 0
|
|
8778
8786
|
}, M = ve(() => {
|
|
@@ -8815,9 +8823,9 @@ function lv({ style: e, props: t }) {
|
|
|
8815
8823
|
children: [
|
|
8816
8824
|
/* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: M } }),
|
|
8817
8825
|
/* @__PURE__ */ P("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
8818
|
-
l && /* @__PURE__ */ g("button", { type: "button", className: "ahd-carousel-prev", style: T, "aria-label": "Previous slide", children: /* @__PURE__ */ g(Wr, { d:
|
|
8826
|
+
l && /* @__PURE__ */ g("button", { type: "button", className: "ahd-carousel-prev", style: T, "aria-label": "Previous slide", children: /* @__PURE__ */ g(Wr, { d: lv, size: _ }) }),
|
|
8819
8827
|
/* @__PURE__ */ g("div", { className: "ahd-carousel-viewport", children: /* @__PURE__ */ g("div", { className: "ahd-carousel-track", children: n.map((j, D) => /* @__PURE__ */ g("div", { className: "ahd-carousel-slide", "data-ahd-slide-index": D, children: (j.contentChildrenIds ?? []).map((L) => /* @__PURE__ */ g(Se, { id: L }, L)) }, D)) }) }),
|
|
8820
|
-
l && /* @__PURE__ */ g("button", { type: "button", className: "ahd-carousel-next", style: T, "aria-label": "Next slide", children: /* @__PURE__ */ g(Wr, { d:
|
|
8828
|
+
l && /* @__PURE__ */ g("button", { type: "button", className: "ahd-carousel-next", style: T, "aria-label": "Next slide", children: /* @__PURE__ */ g(Wr, { d: sv, size: _ }) })
|
|
8821
8829
|
] }),
|
|
8822
8830
|
s && G > 1 && /* @__PURE__ */ g(
|
|
8823
8831
|
"div",
|
|
@@ -8856,7 +8864,7 @@ function lv({ style: e, props: t }) {
|
|
|
8856
8864
|
}
|
|
8857
8865
|
);
|
|
8858
8866
|
}
|
|
8859
|
-
const
|
|
8867
|
+
const uv = C({
|
|
8860
8868
|
style: C({
|
|
8861
8869
|
starColor: x().optional().nullable(),
|
|
8862
8870
|
starEmptyColor: x().optional().nullable(),
|
|
@@ -8888,16 +8896,16 @@ const sv = C({
|
|
|
8888
8896
|
showValue: O().optional().nullable()
|
|
8889
8897
|
}).optional().nullable()
|
|
8890
8898
|
}), qr = "M12 .587l3.668 7.431 8.2 1.193-5.934 5.787 1.401 8.168L12 18.896l-7.335 3.866 1.401-8.168L.132 9.211l8.2-1.193z";
|
|
8891
|
-
function
|
|
8899
|
+
function dv(e) {
|
|
8892
8900
|
if (!e) return;
|
|
8893
8901
|
const t = tt.find((n) => n.key === e);
|
|
8894
8902
|
return (t == null ? void 0 : t.value) ?? e;
|
|
8895
8903
|
}
|
|
8896
|
-
function
|
|
8904
|
+
function hv(e) {
|
|
8897
8905
|
if (e != null)
|
|
8898
8906
|
return typeof e == "number" ? `${e}px` : e;
|
|
8899
8907
|
}
|
|
8900
|
-
function
|
|
8908
|
+
function fv({
|
|
8901
8909
|
fillPct: e,
|
|
8902
8910
|
size: t,
|
|
8903
8911
|
filledColor: n,
|
|
@@ -8945,7 +8953,7 @@ function dv({
|
|
|
8945
8953
|
}
|
|
8946
8954
|
);
|
|
8947
8955
|
}
|
|
8948
|
-
function
|
|
8956
|
+
function pv({ style: e, props: t }) {
|
|
8949
8957
|
const n = ve(() => `rating-${Math.random().toString(36).slice(2, 9)}`, []), o = (k, S) => {
|
|
8950
8958
|
if (typeof k == "number") return Number.isFinite(k) ? k : S;
|
|
8951
8959
|
const $ = parseFloat(String(k ?? ""));
|
|
@@ -8957,8 +8965,8 @@ function hv({ style: e, props: t }) {
|
|
|
8957
8965
|
justifyContent: d === "center" ? "center" : d === "right" ? "flex-end" : "flex-start",
|
|
8958
8966
|
flexWrap: "wrap",
|
|
8959
8967
|
color: p,
|
|
8960
|
-
fontFamily:
|
|
8961
|
-
fontSize:
|
|
8968
|
+
fontFamily: dv(e == null ? void 0 : e.fontFamily),
|
|
8969
|
+
fontSize: hv(e == null ? void 0 : e.fontSize),
|
|
8962
8970
|
fontWeight: (e == null ? void 0 : e.fontWeight) ?? void 0,
|
|
8963
8971
|
padding: h ? `${h.top}px ${h.right}px ${h.bottom}px ${h.left}px` : void 0,
|
|
8964
8972
|
margin: m ? `${m.top}px ${m.right}px ${m.bottom}px ${m.left}px` : void 0,
|
|
@@ -8973,7 +8981,7 @@ function hv({ style: e, props: t }) {
|
|
|
8973
8981
|
{
|
|
8974
8982
|
className: "ahd-rating-stars",
|
|
8975
8983
|
style: { display: "inline-flex", alignItems: "center", gap: `var(--ahd-rating-star-gap, ${u}px)` },
|
|
8976
|
-
children: Array.from({ length: a }).map((k, S) => /* @__PURE__ */ g(
|
|
8984
|
+
children: Array.from({ length: a }).map((k, S) => /* @__PURE__ */ g(fv, { fillPct: v(S), size: c, filledColor: l, emptyColor: s }, S))
|
|
8977
8985
|
}
|
|
8978
8986
|
),
|
|
8979
8987
|
r && /* @__PURE__ */ P("span", { className: "ahd-rating-value", style: { fontWeight: 600 }, children: [
|
|
@@ -8985,17 +8993,17 @@ function hv({ style: e, props: t }) {
|
|
|
8985
8993
|
] })
|
|
8986
8994
|
] });
|
|
8987
8995
|
}
|
|
8988
|
-
const
|
|
8996
|
+
const mv = C({
|
|
8989
8997
|
top: f(),
|
|
8990
8998
|
bottom: f(),
|
|
8991
8999
|
right: f(),
|
|
8992
9000
|
left: f()
|
|
8993
|
-
}).optional().nullable(),
|
|
9001
|
+
}).optional().nullable(), gv = C({
|
|
8994
9002
|
top: f(),
|
|
8995
9003
|
bottom: f(),
|
|
8996
9004
|
right: f(),
|
|
8997
9005
|
left: f()
|
|
8998
|
-
}).optional().nullable(),
|
|
9006
|
+
}).optional().nullable(), bv = C({
|
|
8999
9007
|
style: C({
|
|
9000
9008
|
trackColor: x().optional().nullable(),
|
|
9001
9009
|
fillColor: x().optional().nullable(),
|
|
@@ -9013,8 +9021,8 @@ const fv = C({
|
|
|
9013
9021
|
// steps-specific
|
|
9014
9022
|
stepSize: f().min(4).max(48).optional().nullable(),
|
|
9015
9023
|
stepGap: f().min(0).max(40).optional().nullable(),
|
|
9016
|
-
padding:
|
|
9017
|
-
margin:
|
|
9024
|
+
padding: mv,
|
|
9025
|
+
margin: gv
|
|
9018
9026
|
}).optional().nullable(),
|
|
9019
9027
|
props: C({
|
|
9020
9028
|
// value/max allow a string so a {{token}} can be authored here; each
|
|
@@ -9029,12 +9037,12 @@ const fv = C({
|
|
|
9029
9037
|
animated: O().optional().nullable()
|
|
9030
9038
|
}).optional().nullable()
|
|
9031
9039
|
});
|
|
9032
|
-
function
|
|
9040
|
+
function vv(e) {
|
|
9033
9041
|
if (!e) return;
|
|
9034
9042
|
const t = tt.find((n) => n.key === e);
|
|
9035
9043
|
return (t == null ? void 0 : t.value) ?? e;
|
|
9036
9044
|
}
|
|
9037
|
-
function
|
|
9045
|
+
function xv(e) {
|
|
9038
9046
|
if (e != null)
|
|
9039
9047
|
return typeof e == "number" ? `${e}px` : e;
|
|
9040
9048
|
}
|
|
@@ -9046,9 +9054,10 @@ function Vr(e, t) {
|
|
|
9046
9054
|
function Yr(e, t, n, o) {
|
|
9047
9055
|
return o === "fraction" ? `${Number.isInteger(t) ? t : t.toFixed(1)}/${n}` : `${Math.round(e)}%`;
|
|
9048
9056
|
}
|
|
9049
|
-
function
|
|
9057
|
+
function Sv({ pct: e, label: t, trackColor: n, fillColor: o, barHeight: a, barRadius: i, striped: r, animated: l, ariaLabel: s, value: c, max: u }) {
|
|
9058
|
+
const p = r && l;
|
|
9050
9059
|
return /* @__PURE__ */ P("div", { style: { display: "flex", flexDirection: "column", gap: 6, width: "100%" }, children: [
|
|
9051
|
-
|
|
9060
|
+
p && /* @__PURE__ */ g(
|
|
9052
9061
|
"style",
|
|
9053
9062
|
{
|
|
9054
9063
|
dangerouslySetInnerHTML: {
|
|
@@ -9076,14 +9085,14 @@ function vv({ pct: e, label: t, trackColor: n, fillColor: o, barHeight: a, barRa
|
|
|
9076
9085
|
children: /* @__PURE__ */ g(
|
|
9077
9086
|
"div",
|
|
9078
9087
|
{
|
|
9079
|
-
className: `ahd-progress-fill${r ? " ahd-progress-striped" : ""}${
|
|
9088
|
+
className: `ahd-progress-fill${r ? " ahd-progress-striped" : ""}${p ? " ahd-progress-animated" : ""}`,
|
|
9080
9089
|
style: {
|
|
9081
9090
|
width: `${e}%`,
|
|
9082
9091
|
height: "100%",
|
|
9083
9092
|
borderRadius: i,
|
|
9084
9093
|
backgroundColor: o,
|
|
9085
|
-
backgroundImage: r
|
|
9086
|
-
backgroundSize: r
|
|
9094
|
+
backgroundImage: r ? "linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)" : void 0,
|
|
9095
|
+
backgroundSize: r ? "1rem 1rem" : void 0,
|
|
9087
9096
|
transition: "width 300ms ease"
|
|
9088
9097
|
}
|
|
9089
9098
|
}
|
|
@@ -9093,7 +9102,7 @@ function vv({ pct: e, label: t, trackColor: n, fillColor: o, barHeight: a, barRa
|
|
|
9093
9102
|
t != null && /* @__PURE__ */ g("span", { children: t })
|
|
9094
9103
|
] });
|
|
9095
9104
|
}
|
|
9096
|
-
function
|
|
9105
|
+
function wv({ pct: e, label: t, trackColor: n, fillColor: o, size: a, strokeWidth: i, textColor: r, ariaLabel: l, value: s, max: c }) {
|
|
9097
9106
|
const u = (a - i) / 2, p = 2 * Math.PI * u, d = p * (1 - e / 100), h = a / 2;
|
|
9098
9107
|
return /* @__PURE__ */ P(
|
|
9099
9108
|
"div",
|
|
@@ -9143,7 +9152,7 @@ function xv({ pct: e, label: t, trackColor: n, fillColor: o, size: a, strokeWidt
|
|
|
9143
9152
|
}
|
|
9144
9153
|
);
|
|
9145
9154
|
}
|
|
9146
|
-
function
|
|
9155
|
+
function kv({ steps: e, activeIndex: t, trackColor: n, fillColor: o, stepSize: a, stepGap: i, label: r, ariaLabel: l, value: s, max: c }) {
|
|
9147
9156
|
return /* @__PURE__ */ P("div", { style: { display: "flex", flexDirection: "column", gap: 6 }, children: [
|
|
9148
9157
|
/* @__PURE__ */ g(
|
|
9149
9158
|
"div",
|
|
@@ -9175,20 +9184,20 @@ function Sv({ steps: e, activeIndex: t, trackColor: n, fillColor: o, stepSize: a
|
|
|
9175
9184
|
r != null && /* @__PURE__ */ g("span", { children: r })
|
|
9176
9185
|
] });
|
|
9177
9186
|
}
|
|
9178
|
-
function
|
|
9187
|
+
function _v({ style: e, props: t }) {
|
|
9179
9188
|
const n = ve(() => `progress-${Math.random().toString(36).slice(2, 9)}`, []), o = (t == null ? void 0 : t.variant) ?? "linear", a = Math.max(1, Vr(t == null ? void 0 : t.max, 100)), i = Math.max(0, Math.min(a, Vr(t == null ? void 0 : t.value, 0))), r = i / a * 100, l = (t == null ? void 0 : t.showLabel) ?? !0, s = (t == null ? void 0 : t.labelFormat) ?? "percent", c = l ? Yr(r, i, a, s) : null, u = `Progress: ${Yr(r, i, a, "percent")}`, p = (e == null ? void 0 : e.trackColor) ?? "#e5e7eb", d = (e == null ? void 0 : e.fillColor) ?? "#3F73FF", h = (e == null ? void 0 : e.textColor) ?? "#262626", m = (e == null ? void 0 : e.textAlign) ?? "left", b = e == null ? void 0 : e.padding, v = e == null ? void 0 : e.margin, k = {
|
|
9180
9189
|
display: "flex",
|
|
9181
9190
|
justifyContent: m === "center" ? "center" : m === "right" ? "flex-end" : "flex-start",
|
|
9182
9191
|
color: h,
|
|
9183
|
-
fontFamily:
|
|
9184
|
-
fontSize:
|
|
9192
|
+
fontFamily: vv(e == null ? void 0 : e.fontFamily),
|
|
9193
|
+
fontSize: xv((e == null ? void 0 : e.fontSize) ?? 13),
|
|
9185
9194
|
fontWeight: (e == null ? void 0 : e.fontWeight) ?? void 0,
|
|
9186
9195
|
padding: b ? `${b.top}px ${b.right}px ${b.bottom}px ${b.left}px` : void 0,
|
|
9187
9196
|
margin: v ? `${v.top}px ${v.right}px ${v.bottom}px ${v.left}px` : void 0,
|
|
9188
9197
|
boxSizing: "border-box"
|
|
9189
9198
|
}, S = Math.max(2, Math.min(20, Math.round((t == null ? void 0 : t.steps) ?? 5))), $ = Math.round(r / 100 * S);
|
|
9190
9199
|
return /* @__PURE__ */ g("div", { className: `${n} ahd-progress progress-block`, style: k, children: o === "circular" ? /* @__PURE__ */ g(
|
|
9191
|
-
|
|
9200
|
+
wv,
|
|
9192
9201
|
{
|
|
9193
9202
|
pct: r,
|
|
9194
9203
|
label: c,
|
|
@@ -9202,7 +9211,7 @@ function wv({ style: e, props: t }) {
|
|
|
9202
9211
|
max: a
|
|
9203
9212
|
}
|
|
9204
9213
|
) : o === "steps" ? /* @__PURE__ */ g(
|
|
9205
|
-
|
|
9214
|
+
kv,
|
|
9206
9215
|
{
|
|
9207
9216
|
steps: S,
|
|
9208
9217
|
activeIndex: $,
|
|
@@ -9216,7 +9225,7 @@ function wv({ style: e, props: t }) {
|
|
|
9216
9225
|
max: a
|
|
9217
9226
|
}
|
|
9218
9227
|
) : /* @__PURE__ */ g(
|
|
9219
|
-
|
|
9228
|
+
Sv,
|
|
9220
9229
|
{
|
|
9221
9230
|
pct: r,
|
|
9222
9231
|
label: c,
|
|
@@ -9232,7 +9241,7 @@ function wv({ style: e, props: t }) {
|
|
|
9232
9241
|
}
|
|
9233
9242
|
) });
|
|
9234
9243
|
}
|
|
9235
|
-
const
|
|
9244
|
+
const $v = C({
|
|
9236
9245
|
responsive: Le,
|
|
9237
9246
|
style: C({
|
|
9238
9247
|
backgroundColor: x().optional().nullable(),
|
|
@@ -9277,17 +9286,17 @@ const kv = C({
|
|
|
9277
9286
|
verticalAlign: I(["top", "middle", "bottom"]).optional().nullable(),
|
|
9278
9287
|
items: W(C({ contentChildrenIds: W(x()).optional().nullable() })).min(1).max(30).optional().nullable()
|
|
9279
9288
|
}).optional().nullable()
|
|
9280
|
-
}),
|
|
9281
|
-
function
|
|
9289
|
+
}), Cv = 40, Av = 32, yv = 200, wl = (e, t) => typeof e == "number" ? Math.max(40, Math.min(1200, e)) : t, kl = (e, t) => typeof e == "number" ? Math.max(5, Math.min(200, e)) : t, Nv = (e) => Math.max(2, Math.round(1200 / e)), Rv = (e) => Math.max(2, Math.min(6, typeof e == "number" ? e : 2)), _l = (e) => e === "up" || e === "down", Ev = (e) => e === "top" ? "flex-start" : e === "bottom" ? "flex-end" : "center", Gn = (e) => e ? "linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent)" : "linear-gradient(to right, transparent, #000 12%, #000 88%, transparent)";
|
|
9290
|
+
function Iv(e, t) {
|
|
9282
9291
|
return {
|
|
9283
|
-
speed: kl(t == null ? void 0 : t.speed,
|
|
9292
|
+
speed: kl(t == null ? void 0 : t.speed, Cv),
|
|
9284
9293
|
pauseOnHover: (t == null ? void 0 : t.pauseOnHover) ?? !1,
|
|
9285
9294
|
fadeEdges: (t == null ? void 0 : t.fadeEdges) ?? !1,
|
|
9286
|
-
itemGap: (e == null ? void 0 : e.itemGap) ??
|
|
9287
|
-
viewportHeight: wl(e == null ? void 0 : e.viewportHeight,
|
|
9295
|
+
itemGap: (e == null ? void 0 : e.itemGap) ?? Av,
|
|
9296
|
+
viewportHeight: wl(e == null ? void 0 : e.viewportHeight, yv)
|
|
9288
9297
|
};
|
|
9289
9298
|
}
|
|
9290
|
-
function
|
|
9299
|
+
function Mv(e, t, n) {
|
|
9291
9300
|
var a, i, r, l, s;
|
|
9292
9301
|
const o = e == null ? void 0 : e[t];
|
|
9293
9302
|
return {
|
|
@@ -9298,11 +9307,11 @@ function Ev(e, t, n) {
|
|
|
9298
9307
|
viewportHeight: wl((s = o == null ? void 0 : o.style) == null ? void 0 : s.viewportHeight, n.viewportHeight)
|
|
9299
9308
|
};
|
|
9300
9309
|
}
|
|
9301
|
-
const
|
|
9310
|
+
const Tv = (e, t) => {
|
|
9302
9311
|
const n = e == null ? void 0 : e[t];
|
|
9303
9312
|
return !!(n != null && n.props || n != null && n.style);
|
|
9304
|
-
}, Kr = (e) => `--ahd-mq-gap:${e.itemGap}px;--ahd-mq-duration:${
|
|
9305
|
-
function
|
|
9313
|
+
}, Kr = (e) => `--ahd-mq-gap:${e.itemGap}px;--ahd-mq-duration:${Nv(e.speed)}s;--ahd-mq-height:${e.viewportHeight}px;--ahd-mq-hover:${e.pauseOnHover ? "paused" : "running"}`, Pv = (e, t) => e.fadeEdges ? `-webkit-mask-image:${Gn(t)}!important;mask-image:${Gn(t)}!important` : "-webkit-mask-image:none!important;mask-image:none!important";
|
|
9314
|
+
function Ov({
|
|
9306
9315
|
instanceId: e,
|
|
9307
9316
|
direction: t,
|
|
9308
9317
|
repeat: n,
|
|
@@ -9310,18 +9319,18 @@ function Tv({
|
|
|
9310
9319
|
responsive: a,
|
|
9311
9320
|
verticalAlign: i
|
|
9312
9321
|
}) {
|
|
9313
|
-
const r = `.${e}`, l = _l(t), s = l ? "column" : "row", c = t === "right" || t === "down" ? "reverse" : "normal", u = l ? "flex-start" :
|
|
9314
|
-
if (!
|
|
9315
|
-
const k =
|
|
9316
|
-
return `${b}{${r}{${Kr(k)};${
|
|
9322
|
+
const r = `.${e}`, l = _l(t), s = l ? "column" : "row", c = t === "right" || t === "down" ? "reverse" : "normal", u = l ? "flex-start" : Ev(i), p = 100 / n, d = l ? `@keyframes ${e}-kf{from{transform:translateY(0)}to{transform:translateY(-${p}%)}}` : `@keyframes ${e}-kf{from{transform:translateX(0)}to{transform:translateX(-${p}%)}}`, h = (b, v) => {
|
|
9323
|
+
if (!Tv(a, v)) return "";
|
|
9324
|
+
const k = Mv(a, v, o);
|
|
9325
|
+
return `${b}{${r}{${Kr(k)};${Pv(k, l)}}}`;
|
|
9317
9326
|
}, m = l ? `${r} .ahd-marquee-viewport{height:var(--ahd-mq-height);overflow:hidden;position:relative}` : `${r} .ahd-marquee-viewport{overflow:hidden;position:relative;max-width:100%}`;
|
|
9318
9327
|
return d + `${r}{${Kr(o)}}` + m + `${r} .ahd-marquee-track{display:flex;flex-direction:${s};gap:var(--ahd-mq-gap);width:${l ? "100%" : "max-content"};animation:${e}-kf var(--ahd-mq-duration) linear infinite ${c};will-change:transform}${r} .ahd-marquee-group{display:flex;flex-direction:${s};gap:var(--ahd-mq-gap);flex:0 0 auto;align-items:${u}}${r} .ahd-marquee-item{flex:0 0 auto;${l ? "width:100%" : ""}}${r}:hover .ahd-marquee-track{animation-play-state:var(--ahd-mq-hover)}` + h(fn, "tablet") + h(Be, "mobile") + `@media (prefers-reduced-motion: reduce){${r} .ahd-marquee-track{animation:none}}`;
|
|
9319
9328
|
}
|
|
9320
|
-
function
|
|
9329
|
+
function Lv(e) {
|
|
9321
9330
|
if (e != null)
|
|
9322
9331
|
return typeof e == "number" ? `${e}px` : typeof e == "string" ? e : `${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`;
|
|
9323
9332
|
}
|
|
9324
|
-
function
|
|
9333
|
+
function zv(e, t) {
|
|
9325
9334
|
if (!e) return {};
|
|
9326
9335
|
const n = (t == null ? void 0 : t.top) ?? 1, o = (t == null ? void 0 : t.bottom) ?? 1;
|
|
9327
9336
|
return {
|
|
@@ -9329,8 +9338,8 @@ function Ov(e, t) {
|
|
|
9329
9338
|
borderBottom: o > 0 ? `${o}px solid ${e}` : void 0
|
|
9330
9339
|
};
|
|
9331
9340
|
}
|
|
9332
|
-
function
|
|
9333
|
-
const o = ve(() => `marquee-${Math.random().toString(36).slice(2, 9)}`, []), a = t != null && t.items && t.items.length > 0 ? t.items : [{ contentChildrenIds: [] }], i = (t == null ? void 0 : t.direction) ?? "left", r =
|
|
9341
|
+
function Bv({ style: e, props: t, responsive: n }) {
|
|
9342
|
+
const o = ve(() => `marquee-${Math.random().toString(36).slice(2, 9)}`, []), a = t != null && t.items && t.items.length > 0 ? t.items : [{ contentChildrenIds: [] }], i = (t == null ? void 0 : t.direction) ?? "left", r = Rv(t == null ? void 0 : t.repeat), l = _l(i), s = Iv(e, t), c = e == null ? void 0 : e.padding, u = e == null ? void 0 : e.margin, p = ((u == null ? void 0 : u.left) ?? 0) + ((u == null ? void 0 : u.right) ?? 0), d = {
|
|
9334
9343
|
width: p > 0 ? `calc(100% - ${p}px)` : "100%",
|
|
9335
9344
|
maxWidth: "100%",
|
|
9336
9345
|
minWidth: 0,
|
|
@@ -9338,13 +9347,13 @@ function Lv({ style: e, props: t, responsive: n }) {
|
|
|
9338
9347
|
overflow: "hidden",
|
|
9339
9348
|
position: "relative",
|
|
9340
9349
|
background: (e == null ? void 0 : e.backgroundColor) ?? void 0,
|
|
9341
|
-
...
|
|
9342
|
-
borderRadius:
|
|
9350
|
+
...zv(e == null ? void 0 : e.borderColor, e == null ? void 0 : e.borderWidth),
|
|
9351
|
+
borderRadius: Lv(e == null ? void 0 : e.borderRadius),
|
|
9343
9352
|
padding: c ? `${c.top}px ${c.right}px ${c.bottom}px ${c.left}px` : void 0,
|
|
9344
9353
|
margin: u ? `${u.top}px ${u.right}px ${u.bottom}px ${u.left}px` : void 0,
|
|
9345
9354
|
...s.fadeEdges ? { WebkitMaskImage: Gn(l), maskImage: Gn(l) } : {}
|
|
9346
9355
|
}, h = (t == null ? void 0 : t.verticalAlign) ?? "middle", m = ve(
|
|
9347
|
-
() =>
|
|
9356
|
+
() => Ov({ instanceId: o, direction: i, repeat: r, desktop: s, responsive: n, verticalAlign: h }),
|
|
9348
9357
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
9349
9358
|
[
|
|
9350
9359
|
o,
|
|
@@ -9364,17 +9373,17 @@ function Lv({ style: e, props: t, responsive: n }) {
|
|
|
9364
9373
|
/* @__PURE__ */ g("div", { className: "ahd-marquee-viewport", children: /* @__PURE__ */ g("div", { className: "ahd-marquee-track", children: Array.from({ length: r }).map((v, k) => b(k)) }) })
|
|
9365
9374
|
] });
|
|
9366
9375
|
}
|
|
9367
|
-
const
|
|
9376
|
+
const Dv = C({
|
|
9368
9377
|
top: f(),
|
|
9369
9378
|
right: f(),
|
|
9370
9379
|
bottom: f(),
|
|
9371
9380
|
left: f()
|
|
9372
|
-
}).optional().nullable(),
|
|
9381
|
+
}).optional().nullable(), Hv = C({
|
|
9373
9382
|
top: f(),
|
|
9374
9383
|
right: f(),
|
|
9375
9384
|
bottom: f(),
|
|
9376
9385
|
left: f()
|
|
9377
|
-
}).optional().nullable(),
|
|
9386
|
+
}).optional().nullable(), Fv = C({
|
|
9378
9387
|
style: C({
|
|
9379
9388
|
backgroundColor: x().optional().nullable(),
|
|
9380
9389
|
textColor: x().optional().nullable(),
|
|
@@ -9391,8 +9400,8 @@ const zv = C({
|
|
|
9391
9400
|
bottomLeft: f()
|
|
9392
9401
|
})
|
|
9393
9402
|
]).optional().nullable(),
|
|
9394
|
-
padding:
|
|
9395
|
-
margin:
|
|
9403
|
+
padding: Dv,
|
|
9404
|
+
margin: Hv
|
|
9396
9405
|
}).optional().nullable(),
|
|
9397
9406
|
props: C({
|
|
9398
9407
|
layout: I(["digitalFlip", "circularProgress", "textInline"]).default("digitalFlip"),
|
|
@@ -9402,10 +9411,10 @@ const zv = C({
|
|
|
9402
9411
|
expiredMessage: x().default("Offer has ended")
|
|
9403
9412
|
}).optional().nullable()
|
|
9404
9413
|
});
|
|
9405
|
-
function
|
|
9414
|
+
function Gv(e) {
|
|
9406
9415
|
return String(Math.max(0, e)).padStart(2, "0");
|
|
9407
9416
|
}
|
|
9408
|
-
function
|
|
9417
|
+
function jv({ days: e, hours: t, minutes: n, seconds: o, showLabels: a, accentColor: i, textColor: r, numberColor: l }) {
|
|
9409
9418
|
return /* @__PURE__ */ g("div", { className: "ahd-timer-digital", style: { display: "flex", gap: 12, alignItems: "flex-start", justifyContent: "center" }, children: [
|
|
9410
9419
|
{ value: e, label: "Days" },
|
|
9411
9420
|
{ value: t, label: "Hours" },
|
|
@@ -9428,17 +9437,17 @@ function Fv({ days: e, hours: t, minutes: n, seconds: o, showLabels: a, accentCo
|
|
|
9428
9437
|
textAlign: "center",
|
|
9429
9438
|
lineHeight: 1
|
|
9430
9439
|
},
|
|
9431
|
-
children:
|
|
9440
|
+
children: Gv(c.value)
|
|
9432
9441
|
}
|
|
9433
9442
|
),
|
|
9434
9443
|
a && /* @__PURE__ */ g("span", { style: { fontSize: 11, color: r ?? "#6b7280", textTransform: "uppercase" }, children: c.label })
|
|
9435
9444
|
] }, c.label)) });
|
|
9436
9445
|
}
|
|
9437
|
-
function
|
|
9446
|
+
function Uv(e) {
|
|
9438
9447
|
return String(Math.max(0, e)).padStart(2, "0");
|
|
9439
9448
|
}
|
|
9440
9449
|
const Yo = 26, Jr = 2 * Math.PI * Yo;
|
|
9441
|
-
function
|
|
9450
|
+
function Zv({
|
|
9442
9451
|
value: e,
|
|
9443
9452
|
max: t,
|
|
9444
9453
|
accentColor: n,
|
|
@@ -9465,10 +9474,10 @@ function jv({
|
|
|
9465
9474
|
style: { transition: "stroke-dashoffset 1s linear" }
|
|
9466
9475
|
}
|
|
9467
9476
|
),
|
|
9468
|
-
/* @__PURE__ */ g("text", { "data-ahd-timer-text": !0, x: 32, y: 37, textAnchor: "middle", fontSize: 15, fontWeight: 700, fill: o, children:
|
|
9477
|
+
/* @__PURE__ */ g("text", { "data-ahd-timer-text": !0, x: 32, y: 37, textAnchor: "middle", fontSize: 15, fontWeight: 700, fill: o, children: Uv(e) })
|
|
9469
9478
|
] });
|
|
9470
9479
|
}
|
|
9471
|
-
function
|
|
9480
|
+
function Wv({
|
|
9472
9481
|
days: e,
|
|
9473
9482
|
hours: t,
|
|
9474
9483
|
minutes: n,
|
|
@@ -9485,14 +9494,14 @@ function Uv({
|
|
|
9485
9494
|
{ value: n, max: 60, label: "Minutes" },
|
|
9486
9495
|
{ value: o, max: 60, label: "Seconds" }
|
|
9487
9496
|
].map((p) => /* @__PURE__ */ P("div", { style: { display: "flex", flexDirection: "column", alignItems: "center", gap: 4 }, children: [
|
|
9488
|
-
/* @__PURE__ */ g(
|
|
9497
|
+
/* @__PURE__ */ g(Zv, { value: p.value, max: p.max, accentColor: s, numberColor: c, unit: p.label.toLowerCase() }),
|
|
9489
9498
|
a && /* @__PURE__ */ g("span", { style: { fontSize: 11, color: r ?? "#6b7280", textTransform: "uppercase" }, children: p.label })
|
|
9490
9499
|
] }, p.label)) });
|
|
9491
9500
|
}
|
|
9492
9501
|
function wt(e) {
|
|
9493
9502
|
return String(Math.max(0, e)).padStart(2, "0");
|
|
9494
9503
|
}
|
|
9495
|
-
function
|
|
9504
|
+
function qv({ days: e, hours: t, minutes: n, seconds: o, showLabels: a, accentColor: i, textColor: r }) {
|
|
9496
9505
|
const l = [
|
|
9497
9506
|
{ key: "days", text: a ? `${e}d` : wt(e) },
|
|
9498
9507
|
{ key: "hours", text: a ? `${wt(t)}h` : wt(t) },
|
|
@@ -9521,11 +9530,11 @@ function Zv({ days: e, hours: t, minutes: n, seconds: o, showLabels: a, accentCo
|
|
|
9521
9530
|
}
|
|
9522
9531
|
);
|
|
9523
9532
|
}
|
|
9524
|
-
function
|
|
9533
|
+
function Vv(e) {
|
|
9525
9534
|
if (e != null)
|
|
9526
9535
|
return typeof e == "number" ? `${e}px` : typeof e == "string" ? e : `${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`;
|
|
9527
9536
|
}
|
|
9528
|
-
function
|
|
9537
|
+
function Yv(e, t = Date.now()) {
|
|
9529
9538
|
const n = e ? new Date(e).getTime() : NaN;
|
|
9530
9539
|
if (Number.isNaN(n)) return { days: 0, hours: 0, minutes: 0, seconds: 0, completed: !0 };
|
|
9531
9540
|
const o = Math.max(0, n - t), a = o <= 0, i = Math.floor(o / 1e3);
|
|
@@ -9537,13 +9546,13 @@ function qv(e, t = Date.now()) {
|
|
|
9537
9546
|
completed: a
|
|
9538
9547
|
};
|
|
9539
9548
|
}
|
|
9540
|
-
function
|
|
9541
|
-
const n = t ?? {}, o = n.layout ?? "digitalFlip", a = n.showLabels ?? !0, i = n.expiredBehavior ?? "showMessage", r = n.expiredMessage || "Offer has ended", l =
|
|
9549
|
+
function Kv({ style: e, props: t }) {
|
|
9550
|
+
const n = t ?? {}, o = n.layout ?? "digitalFlip", a = n.showLabels ?? !0, i = n.expiredBehavior ?? "showMessage", r = n.expiredMessage || "Offer has ended", l = Yv(n.targetDate), s = l.completed, c = e == null ? void 0 : e.padding, u = e == null ? void 0 : e.margin, p = ((u == null ? void 0 : u.left) ?? 0) + ((u == null ? void 0 : u.right) ?? 0), d = {
|
|
9542
9551
|
width: p > 0 ? `calc(100% - ${p}px)` : "100%",
|
|
9543
9552
|
boxSizing: "border-box",
|
|
9544
9553
|
background: (e == null ? void 0 : e.backgroundColor) ?? void 0,
|
|
9545
9554
|
border: e != null && e.borderColor ? `1px solid ${e.borderColor}` : void 0,
|
|
9546
|
-
borderRadius:
|
|
9555
|
+
borderRadius: Vv(e == null ? void 0 : e.borderRadius),
|
|
9547
9556
|
padding: c ? `${c.top}px ${c.right}px ${c.bottom}px ${c.left}px` : "16px",
|
|
9548
9557
|
margin: u ? `${u.top}px ${u.right}px ${u.bottom}px ${u.left}px` : void 0
|
|
9549
9558
|
}, h = {
|
|
@@ -9569,19 +9578,19 @@ function Vv({ style: e, props: t }) {
|
|
|
9569
9578
|
children: [
|
|
9570
9579
|
/* @__PURE__ */ g("div", { "data-ahd-timer-message": !0, style: { textAlign: "center", color: (e == null ? void 0 : e.textColor) ?? "#1f1f1f", display: m ? void 0 : "none" }, children: r }),
|
|
9571
9580
|
/* @__PURE__ */ P("div", { "data-ahd-timer-body": !0, style: { display: m ? "none" : void 0 }, children: [
|
|
9572
|
-
o === "digitalFlip" && /* @__PURE__ */ g(
|
|
9573
|
-
o === "circularProgress" && /* @__PURE__ */ g(
|
|
9574
|
-
o === "textInline" && /* @__PURE__ */ g(
|
|
9581
|
+
o === "digitalFlip" && /* @__PURE__ */ g(jv, { ...h }),
|
|
9582
|
+
o === "circularProgress" && /* @__PURE__ */ g(Wv, { ...h }),
|
|
9583
|
+
o === "textInline" && /* @__PURE__ */ g(qv, { ...h })
|
|
9575
9584
|
] })
|
|
9576
9585
|
]
|
|
9577
9586
|
}
|
|
9578
9587
|
);
|
|
9579
9588
|
}
|
|
9580
|
-
const
|
|
9589
|
+
const Jv = I(["left", "center", "right", "space-between"]), Xv = C({
|
|
9581
9590
|
contentChildrenIds: W(x()).optional().nullable()
|
|
9582
|
-
}),
|
|
9591
|
+
}), Qv = C({
|
|
9583
9592
|
childrenIds: W(x())
|
|
9584
|
-
}),
|
|
9593
|
+
}), ex = C({
|
|
9585
9594
|
style: C({
|
|
9586
9595
|
backgroundColor: x().optional().nullable(),
|
|
9587
9596
|
borderColor: x().optional().nullable(),
|
|
@@ -9616,7 +9625,7 @@ const Yv = I(["left", "center", "right", "space-between"]), Kv = C({
|
|
|
9616
9625
|
// Space between the content area and the pagination control below it.
|
|
9617
9626
|
controlGap: f().min(0).max(120).optional().nullable(),
|
|
9618
9627
|
// Alignment of the pagination control row.
|
|
9619
|
-
controlAlign:
|
|
9628
|
+
controlAlign: Jv.optional().nullable(),
|
|
9620
9629
|
// Numbered-button appearance.
|
|
9621
9630
|
buttonSize: f().min(20).max(72).optional().nullable(),
|
|
9622
9631
|
buttonGap: f().min(0).max(40).optional().nullable(),
|
|
@@ -9632,8 +9641,8 @@ const Yv = I(["left", "center", "right", "space-between"]), Kv = C({
|
|
|
9632
9641
|
fontFamily: x().optional().nullable()
|
|
9633
9642
|
}).optional().nullable(),
|
|
9634
9643
|
props: C({
|
|
9635
|
-
items: W(
|
|
9636
|
-
cells: W(
|
|
9644
|
+
items: W(Xv).min(1).max(50).optional().nullable(),
|
|
9645
|
+
cells: W(Qv).optional().nullable(),
|
|
9637
9646
|
columnsCount: f().int().min(1).max(12).optional().nullable(),
|
|
9638
9647
|
rowsCount: f().int().min(1).max(24).optional().nullable(),
|
|
9639
9648
|
columnsCountTablet: f().int().min(1).max(12).optional().nullable(),
|
|
@@ -9681,11 +9690,11 @@ function ko(e, t = "desktop") {
|
|
|
9681
9690
|
const n = (e == null ? void 0 : e.columnsCount) ?? Ko.columnsCount, o = (e == null ? void 0 : e.rowsCount) ?? Ko.rowsCount, a = t === "mobile" ? (e == null ? void 0 : e.columnsCountMobile) ?? 1 : t === "tablet" ? (e == null ? void 0 : e.columnsCountTablet) ?? n : n, i = t === "mobile" ? (e == null ? void 0 : e.rowsCountMobile) ?? o : t === "tablet" ? (e == null ? void 0 : e.rowsCountTablet) ?? o : o;
|
|
9682
9691
|
return Math.max(1, a * i);
|
|
9683
9692
|
}
|
|
9684
|
-
function
|
|
9693
|
+
function tx(e, t, n) {
|
|
9685
9694
|
const o = Math.max(1, e), a = Math.min(Math.max(1, n), o * Math.max(1, t));
|
|
9686
9695
|
return Math.max(1, Math.ceil(a / o));
|
|
9687
9696
|
}
|
|
9688
|
-
function
|
|
9697
|
+
function nx(e, t) {
|
|
9689
9698
|
const n = Math.max(1, t);
|
|
9690
9699
|
if (e.length === 0) return [[]];
|
|
9691
9700
|
const o = [];
|
|
@@ -9693,7 +9702,7 @@ function ex(e, t) {
|
|
|
9693
9702
|
o.push(e.slice(a, a + n));
|
|
9694
9703
|
return o;
|
|
9695
9704
|
}
|
|
9696
|
-
const
|
|
9705
|
+
const ox = {
|
|
9697
9706
|
pageParam: "page",
|
|
9698
9707
|
syncUrl: !0,
|
|
9699
9708
|
showNumbers: !0,
|
|
@@ -9720,8 +9729,8 @@ const tx = {
|
|
|
9720
9729
|
arrowColor: "#262626",
|
|
9721
9730
|
fontSize: 14
|
|
9722
9731
|
};
|
|
9723
|
-
function
|
|
9724
|
-
const n =
|
|
9732
|
+
function ax({ style: e, props: t }) {
|
|
9733
|
+
const n = ox;
|
|
9725
9734
|
return {
|
|
9726
9735
|
pageParam: ((t == null ? void 0 : t.pageParam) ?? n.pageParam).trim() || n.pageParam,
|
|
9727
9736
|
syncUrl: (t == null ? void 0 : t.syncUrl) ?? n.syncUrl,
|
|
@@ -9759,10 +9768,10 @@ function nx({ style: e, props: t }) {
|
|
|
9759
9768
|
fontFamily: (e == null ? void 0 : e.fontFamily) ?? void 0
|
|
9760
9769
|
};
|
|
9761
9770
|
}
|
|
9762
|
-
function
|
|
9771
|
+
function rx(e) {
|
|
9763
9772
|
return Math.max(1, e);
|
|
9764
9773
|
}
|
|
9765
|
-
function
|
|
9774
|
+
function ix(e, t, n) {
|
|
9766
9775
|
if (t <= 1) return [1];
|
|
9767
9776
|
if (n <= 0 || t <= n)
|
|
9768
9777
|
return Array.from({ length: t }, (s, c) => c + 1);
|
|
@@ -9772,27 +9781,27 @@ function ax(e, t, n) {
|
|
|
9772
9781
|
for (let s = r; s <= l; s++) o.push(s);
|
|
9773
9782
|
return l < t - 1 && o.push("ellipsis"), o.push(t), o;
|
|
9774
9783
|
}
|
|
9775
|
-
function
|
|
9784
|
+
function lx(e) {
|
|
9776
9785
|
if (e != null)
|
|
9777
9786
|
return typeof e == "number" ? `${e}px` : typeof e == "string" ? e : `${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`;
|
|
9778
9787
|
}
|
|
9779
|
-
function
|
|
9780
|
-
const n =
|
|
9788
|
+
function sx({ style: e, props: t }) {
|
|
9789
|
+
const n = ax({ style: e, props: t }), o = wo(t, "desktop"), a = wo(t, "tablet"), i = wo(t, "mobile"), r = Math.max(
|
|
9781
9790
|
ko(t, "desktop"),
|
|
9782
9791
|
ko(t, "tablet"),
|
|
9783
9792
|
ko(t, "mobile")
|
|
9784
9793
|
), l = ve(() => o.cells.length >= r ? o.cells : Array.from({ length: r }, (A, y) => o.cells[y] ?? { childrenIds: [] }), [o.cells, r]), s = ve(
|
|
9785
|
-
() =>
|
|
9794
|
+
() => nx(l, r),
|
|
9786
9795
|
[l, r]
|
|
9787
|
-
), c =
|
|
9788
|
-
() =>
|
|
9796
|
+
), c = rx(s.length), u = (e == null ? void 0 : e.columnsGap) ?? n.itemGap, p = (e == null ? void 0 : e.rowsGap) ?? n.itemGap, d = ve(() => `pgn-${Math.random().toString(36).slice(2, 9)}`, []), h = ve(
|
|
9797
|
+
() => ix(1, c, n.maxVisiblePages),
|
|
9789
9798
|
[c, n.maxVisiblePages]
|
|
9790
9799
|
), m = e == null ? void 0 : e.padding, b = e == null ? void 0 : e.margin, v = ((b == null ? void 0 : b.left) ?? 0) + ((b == null ? void 0 : b.right) ?? 0), k = {
|
|
9791
9800
|
width: v > 0 ? `calc(100% - ${v}px)` : "100%",
|
|
9792
9801
|
boxSizing: "border-box",
|
|
9793
9802
|
background: (e == null ? void 0 : e.backgroundColor) ?? void 0,
|
|
9794
9803
|
border: e != null && e.borderColor ? `1px solid ${e.borderColor}` : void 0,
|
|
9795
|
-
borderRadius:
|
|
9804
|
+
borderRadius: lx(e == null ? void 0 : e.borderRadius),
|
|
9796
9805
|
padding: m ? `${m.top}px ${m.right}px ${m.bottom}px ${m.left}px` : void 0,
|
|
9797
9806
|
margin: b ? `${b.top}px ${b.right}px ${b.bottom}px ${b.left}px` : void 0,
|
|
9798
9807
|
fontFamily: n.fontFamily
|
|
@@ -9816,7 +9825,7 @@ function ix({ style: e, props: t }) {
|
|
|
9816
9825
|
cursor: "pointer",
|
|
9817
9826
|
boxSizing: "border-box"
|
|
9818
9827
|
}, w = { ...$, color: n.arrowColor }, _ = ve(() => {
|
|
9819
|
-
const A = (M) => `grid-template-columns:repeat(${M.columnsCount},minmax(0,1fr));grid-template-rows:repeat(${
|
|
9828
|
+
const A = (M) => `grid-template-columns:repeat(${M.columnsCount},minmax(0,1fr));grid-template-rows:repeat(${tx(M.columnsCount, M.rowsCount, r)},auto)`, y = (M, T) => {
|
|
9820
9829
|
const z = Math.min(
|
|
9821
9830
|
Math.max(1, T.columnsCount * T.rowsCount),
|
|
9822
9831
|
Math.max(1, r)
|
|
@@ -9944,7 +9953,7 @@ function ix({ style: e, props: t }) {
|
|
|
9944
9953
|
}
|
|
9945
9954
|
);
|
|
9946
9955
|
}
|
|
9947
|
-
const
|
|
9956
|
+
const cx = C({
|
|
9948
9957
|
responsive: Le,
|
|
9949
9958
|
style: C({
|
|
9950
9959
|
padding: C({ top: f(), right: f(), bottom: f(), left: f() }).optional().nullable(),
|
|
@@ -10000,15 +10009,15 @@ function La(e) {
|
|
|
10000
10009
|
if (e)
|
|
10001
10010
|
return `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`;
|
|
10002
10011
|
}
|
|
10003
|
-
function
|
|
10012
|
+
function ux(e, t, n) {
|
|
10004
10013
|
return t ? (typeof e == "string" ? e.trim() : "").length === 0 ? n : typeof e == "string" ? e : n : null;
|
|
10005
10014
|
}
|
|
10006
|
-
function
|
|
10015
|
+
function dx(e) {
|
|
10007
10016
|
if (!e) return;
|
|
10008
10017
|
const t = tt.find((n) => n.key === e);
|
|
10009
10018
|
return (t == null ? void 0 : t.value) ?? e;
|
|
10010
10019
|
}
|
|
10011
|
-
let
|
|
10020
|
+
let hx = 0;
|
|
10012
10021
|
function $l(e) {
|
|
10013
10022
|
return e ? e.includes("linear-gradient") || e.includes("radial-gradient") || e.includes("repeating-linear-gradient") : !1;
|
|
10014
10023
|
}
|
|
@@ -10024,12 +10033,12 @@ function _o(e) {
|
|
|
10024
10033
|
"color: transparent;"
|
|
10025
10034
|
].join(" ") : `color: ${e};` : "";
|
|
10026
10035
|
}
|
|
10027
|
-
function
|
|
10028
|
-
const o = Math.max(1, Math.min(50, (t == null ? void 0 : t.rows) ?? Ve.rows)), a = Math.max(1, Math.min(20, (t == null ? void 0 : t.columns) ?? Ve.columns)), i = (t == null ? void 0 : t.hasHeader) ?? Ve.hasHeader, r = (t == null ? void 0 : t.cells) ?? [], l = o * a, s = r.length === l ? r : Array.from({ length: l }, (L, q) => r[q] ?? ""), c = (e == null ? void 0 : e.borderColor) ?? Ve.borderColor, u = (e == null ? void 0 : e.borderWidth) ?? Ve.borderWidth, p = (e == null ? void 0 : e.cellPadding) ?? Ve.cellPadding, d = (e == null ? void 0 : e.headerBackground) ?? Ve.headerBackground, h = (e == null ? void 0 : e.headerColor) ?? Ve.headerColor, m = (e == null ? void 0 : e.color) ?? Ve.color, b = (e == null ? void 0 : e.fontSize) ?? Ve.fontSize, v = (e == null ? void 0 : e.backgroundColor) ?? null, k = (e == null ? void 0 : e.stripedRowColor) === void 0 ? Ve.stripedRowColor : e.stripedRowColor, S = (e == null ? void 0 : e.stripedColColor) ?? null, $ = `ahd-table-${++
|
|
10036
|
+
function fx({ style: e, props: t, renderCell: n }) {
|
|
10037
|
+
const o = Math.max(1, Math.min(50, (t == null ? void 0 : t.rows) ?? Ve.rows)), a = Math.max(1, Math.min(20, (t == null ? void 0 : t.columns) ?? Ve.columns)), i = (t == null ? void 0 : t.hasHeader) ?? Ve.hasHeader, r = (t == null ? void 0 : t.cells) ?? [], l = o * a, s = r.length === l ? r : Array.from({ length: l }, (L, q) => r[q] ?? ""), c = (e == null ? void 0 : e.borderColor) ?? Ve.borderColor, u = (e == null ? void 0 : e.borderWidth) ?? Ve.borderWidth, p = (e == null ? void 0 : e.cellPadding) ?? Ve.cellPadding, d = (e == null ? void 0 : e.headerBackground) ?? Ve.headerBackground, h = (e == null ? void 0 : e.headerColor) ?? Ve.headerColor, m = (e == null ? void 0 : e.color) ?? Ve.color, b = (e == null ? void 0 : e.fontSize) ?? Ve.fontSize, v = (e == null ? void 0 : e.backgroundColor) ?? null, k = (e == null ? void 0 : e.stripedRowColor) === void 0 ? Ve.stripedRowColor : e.stripedRowColor, S = (e == null ? void 0 : e.stripedColColor) ?? null, $ = `ahd-table-${++hx}`, w = {
|
|
10029
10038
|
padding: Oa(e == null ? void 0 : e.padding),
|
|
10030
10039
|
margin: La(e == null ? void 0 : e.margin),
|
|
10031
10040
|
textAlign: (e == null ? void 0 : e.textAlign) ?? void 0
|
|
10032
|
-
}, _ =
|
|
10041
|
+
}, _ = dx(e == null ? void 0 : e.fontFamily), N = {
|
|
10033
10042
|
borderCollapse: "collapse",
|
|
10034
10043
|
width: (t == null ? void 0 : t.width) || "100%",
|
|
10035
10044
|
fontSize: b,
|
|
@@ -10066,7 +10075,7 @@ const Xr = C({
|
|
|
10066
10075
|
bottom: f(),
|
|
10067
10076
|
right: f(),
|
|
10068
10077
|
left: f()
|
|
10069
|
-
}).optional().nullable(),
|
|
10078
|
+
}).optional().nullable(), px = C({
|
|
10070
10079
|
responsive: Le,
|
|
10071
10080
|
style: C({
|
|
10072
10081
|
padding: Xr,
|
|
@@ -10082,7 +10091,7 @@ const Xr = C({
|
|
|
10082
10091
|
borderColor: x().optional().nullable(),
|
|
10083
10092
|
borderWidth: f().optional().nullable()
|
|
10084
10093
|
}).optional().nullable()
|
|
10085
|
-
}), Qr = (e) => e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0,
|
|
10094
|
+
}), Qr = (e) => e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0, mx = (e, t) => e == null || e === "" ? t : typeof e == "number" ? `${e}px` : e, $o = 1440, Co = 830, gx = ({ style: e, props: t }) => {
|
|
10086
10095
|
const { demoId: n, iframeSrc: o, width: a, borderRadius: i, borderColor: r, borderWidth: l } = t ?? {}, s = {
|
|
10087
10096
|
padding: Qr(e == null ? void 0 : e.padding),
|
|
10088
10097
|
margin: Qr(e == null ? void 0 : e.margin),
|
|
@@ -10096,7 +10105,7 @@ const Xr = C({
|
|
|
10096
10105
|
{
|
|
10097
10106
|
id: "demoAspect",
|
|
10098
10107
|
style: {
|
|
10099
|
-
width: `var(--ahd-demo-width,${
|
|
10108
|
+
width: `var(--ahd-demo-width,${mx(a, "100%")})`,
|
|
10100
10109
|
aspectRatio: `${$o} / ${Co}`,
|
|
10101
10110
|
maxWidth: "100%",
|
|
10102
10111
|
overflow: "hidden",
|
|
@@ -10128,7 +10137,7 @@ const Xr = C({
|
|
|
10128
10137
|
right: f(),
|
|
10129
10138
|
bottom: f(),
|
|
10130
10139
|
left: f()
|
|
10131
|
-
}).optional().nullable(),
|
|
10140
|
+
}).optional().nullable(), bx = C({
|
|
10132
10141
|
menuId: x().default(""),
|
|
10133
10142
|
// false (default) = pick a menu from the menu API list; true = author builds
|
|
10134
10143
|
// their own menu items (name + link) right here.
|
|
@@ -10163,18 +10172,18 @@ const Xr = C({
|
|
|
10163
10172
|
gap: x().default("16px"),
|
|
10164
10173
|
showIcons: O().default(!0),
|
|
10165
10174
|
iconSize: x().default("24px")
|
|
10166
|
-
}),
|
|
10175
|
+
}), vx = C({
|
|
10167
10176
|
style: C({}).passthrough().optional().nullable(),
|
|
10168
10177
|
// Without this, Zod strips `data.responsive` on the save/load round-trip and
|
|
10169
10178
|
// every per-device override for this block is silently lost.
|
|
10170
10179
|
responsive: Le,
|
|
10171
|
-
props:
|
|
10172
|
-
}),
|
|
10180
|
+
props: bx.optional().nullable()
|
|
10181
|
+
}), xx = {
|
|
10173
10182
|
left: "flex-start",
|
|
10174
10183
|
center: "center",
|
|
10175
10184
|
right: "flex-end"
|
|
10176
|
-
},
|
|
10177
|
-
const i =
|
|
10185
|
+
}, Sx = (e) => e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0, wx = (e) => e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0, kx = (e) => e ? e.left + e.right : 0, _x = (e, t, n = !1, o, a) => {
|
|
10186
|
+
const i = kx(a);
|
|
10178
10187
|
return {
|
|
10179
10188
|
backgroundColor: e,
|
|
10180
10189
|
// Subtract horizontal margin from the reported width so the nav can't
|
|
@@ -10185,9 +10194,9 @@ const Xr = C({
|
|
|
10185
10194
|
display: "flex",
|
|
10186
10195
|
alignItems: "center",
|
|
10187
10196
|
gap: "16px",
|
|
10188
|
-
padding:
|
|
10189
|
-
margin:
|
|
10190
|
-
justifyContent: n ? "space-between" :
|
|
10197
|
+
padding: Sx(o),
|
|
10198
|
+
margin: wx(a),
|
|
10199
|
+
justifyContent: n ? "space-between" : xx[t] || "flex-start"
|
|
10191
10200
|
};
|
|
10192
10201
|
}, yo = (e, t = !1) => ({
|
|
10193
10202
|
display: "flex",
|
|
@@ -10195,7 +10204,7 @@ const Xr = C({
|
|
|
10195
10204
|
flex: t ? "1 1 auto" : "0 0 auto",
|
|
10196
10205
|
justifyContent: e === "start" ? "flex-start" : e === "end" ? "flex-end" : "center",
|
|
10197
10206
|
minWidth: 0
|
|
10198
|
-
}),
|
|
10207
|
+
}), $x = (e, t, n) => ({
|
|
10199
10208
|
listStyle: "none",
|
|
10200
10209
|
margin: 0,
|
|
10201
10210
|
padding: 0,
|
|
@@ -10203,9 +10212,9 @@ const Xr = C({
|
|
|
10203
10212
|
flexDirection: "row",
|
|
10204
10213
|
flexWrap: "wrap",
|
|
10205
10214
|
gap: e === "horizontal" && t === 0 ? n : "0"
|
|
10206
|
-
}),
|
|
10215
|
+
}), Cx = {
|
|
10207
10216
|
position: "relative"
|
|
10208
|
-
},
|
|
10217
|
+
}, Ax = (e, t, n, o, a, i, r, l) => ({
|
|
10209
10218
|
display: "flex",
|
|
10210
10219
|
alignItems: "center",
|
|
10211
10220
|
gap: e && t ? "8px" : "0",
|
|
@@ -10223,14 +10232,14 @@ const Xr = C({
|
|
|
10223
10232
|
borderWidth: l.borderWidth ?? 1
|
|
10224
10233
|
} : void 0,
|
|
10225
10234
|
borderRadius: (l == null ? void 0 : l.borderRadius) != null ? `${l.borderRadius}px` : void 0
|
|
10226
|
-
}),
|
|
10235
|
+
}), yx = (e) => ({
|
|
10227
10236
|
width: e,
|
|
10228
10237
|
height: e,
|
|
10229
10238
|
objectFit: "contain",
|
|
10230
10239
|
flexShrink: 0
|
|
10231
|
-
}),
|
|
10240
|
+
}), Nx = (e) => ({
|
|
10232
10241
|
paddingLeft: e === 0 ? "0" : "12px"
|
|
10233
|
-
}),
|
|
10242
|
+
}), Rx = {
|
|
10234
10243
|
position: "absolute",
|
|
10235
10244
|
opacity: 0,
|
|
10236
10245
|
pointerEvents: "none",
|
|
@@ -10241,10 +10250,10 @@ const Xr = C({
|
|
|
10241
10250
|
border: 0,
|
|
10242
10251
|
overflow: "hidden",
|
|
10243
10252
|
clip: "rect(0 0 0 0)"
|
|
10244
|
-
},
|
|
10253
|
+
}, Ex = (e) => ({
|
|
10245
10254
|
color: e
|
|
10246
10255
|
});
|
|
10247
|
-
function
|
|
10256
|
+
function Ix(e, t) {
|
|
10248
10257
|
const n = `.ahd-menu-${e}`, o = (t == null ? void 0 : t.dropdownBackground) || "#fff", a = [
|
|
10249
10258
|
`${n}{position:relative}`,
|
|
10250
10259
|
`${n} .ahd-menu-toggle{position:absolute!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}`,
|
|
@@ -10276,7 +10285,7 @@ function Rx(e, t) {
|
|
|
10276
10285
|
].join(""), r = `(max-width:${Fe}px)`;
|
|
10277
10286
|
return a + `@media ${r}{${i}}@container ahd-page ${r}{${i}}`;
|
|
10278
10287
|
}
|
|
10279
|
-
const
|
|
10288
|
+
const Mx = (e, t) => {
|
|
10280
10289
|
const n = !!t.stickyNav, o = t.stickyNavTablet ?? n, a = t.stickyNavMobile ?? o, i = (l) => l ? `.ahd-menu-sticky-${e}{position:sticky;top:0;z-index:50}:where(.ahd-block-wrapper,[id]):has(> .ahd-menu-sticky-${e}){position:sticky;top:0;z-index:50}` : `.ahd-menu-sticky-${e}{position:static}:where(.ahd-block-wrapper,[id]):has(> .ahd-menu-sticky-${e}){position:static}`;
|
|
10281
10290
|
let r = n ? i(!0) : "";
|
|
10282
10291
|
if (o !== n) {
|
|
@@ -10288,7 +10297,7 @@ const Ex = (e, t) => {
|
|
|
10288
10297
|
r += `@media ${l}{${i(a)}}`, r += `@container ahd-page ${l}{${i(a)}}`;
|
|
10289
10298
|
}
|
|
10290
10299
|
return r;
|
|
10291
|
-
},
|
|
10300
|
+
}, Tx = (e) => {
|
|
10292
10301
|
if (!e) return;
|
|
10293
10302
|
const t = tt.find((n) => n.key === e);
|
|
10294
10303
|
return (t == null ? void 0 : t.value) || e;
|
|
@@ -10301,8 +10310,8 @@ const Ex = (e, t) => {
|
|
|
10301
10310
|
{
|
|
10302
10311
|
id: d === 0 ? u : void 0,
|
|
10303
10312
|
className: d === 0 ? "ahd-menu-list" : "ahd-menu-sublist",
|
|
10304
|
-
style:
|
|
10305
|
-
children: e.map((h, m) => /* @__PURE__ */ P("li", { style:
|
|
10313
|
+
style: $x(i, d, r),
|
|
10314
|
+
children: e.map((h, m) => /* @__PURE__ */ P("li", { style: Cx, children: [
|
|
10306
10315
|
/* @__PURE__ */ g(
|
|
10307
10316
|
"label",
|
|
10308
10317
|
{
|
|
@@ -10314,7 +10323,7 @@ const Ex = (e, t) => {
|
|
|
10314
10323
|
"a",
|
|
10315
10324
|
{
|
|
10316
10325
|
href: h.href || "#",
|
|
10317
|
-
style:
|
|
10326
|
+
style: Ax(l, !!h.menuImage, t, n, o, a, p, h),
|
|
10318
10327
|
children: [
|
|
10319
10328
|
l && h.menuImage && /* @__PURE__ */ g(
|
|
10320
10329
|
"img",
|
|
@@ -10322,7 +10331,7 @@ const Ex = (e, t) => {
|
|
|
10322
10331
|
src: h.menuImage,
|
|
10323
10332
|
alt: "",
|
|
10324
10333
|
"aria-hidden": "true",
|
|
10325
|
-
style:
|
|
10334
|
+
style: yx(s)
|
|
10326
10335
|
}
|
|
10327
10336
|
),
|
|
10328
10337
|
h.name || h.label || ""
|
|
@@ -10331,10 +10340,10 @@ const Ex = (e, t) => {
|
|
|
10331
10340
|
)
|
|
10332
10341
|
}
|
|
10333
10342
|
),
|
|
10334
|
-
h.children && h.children.length > 0 && /* @__PURE__ */ g("div", { style:
|
|
10343
|
+
h.children && h.children.length > 0 && /* @__PURE__ */ g("div", { style: Nx(d), children: Jo(h.children, t, n, o, a, "vertical", r, l, s, c, u, p, d + 1) })
|
|
10335
10344
|
] }, h.id || m))
|
|
10336
10345
|
}
|
|
10337
|
-
),
|
|
10346
|
+
), Px = ({ props: e }) => {
|
|
10338
10347
|
const {
|
|
10339
10348
|
menuId: t,
|
|
10340
10349
|
useCustomMenu: n = !1,
|
|
@@ -10365,10 +10374,10 @@ const Ex = (e, t) => {
|
|
|
10365
10374
|
bare: T
|
|
10366
10375
|
} = e ?? {};
|
|
10367
10376
|
if (!(Array.isArray(r) && r.length > 0) || !n && !t) return /* @__PURE__ */ g(we, {});
|
|
10368
|
-
const G = c === "logo-menu" || c === "logo-menu-cta", j = c === "menu-cta" || c === "logo-menu-cta", D = G || j, L = u === "right" ? "end" : u === "center" ? "center" : "start", q = ke.useMemo(() => `c${Math.random().toString(36).slice(2, 9)}`, []), H = t || q, Y = (T == null ? void 0 : T.toggleId) ?? `ahd-menu-toggle-${H}`, de = (T == null ? void 0 : T.listId) ?? `ahd-menu-list-${H}`, oe =
|
|
10377
|
+
const G = c === "logo-menu" || c === "logo-menu-cta", j = c === "menu-cta" || c === "logo-menu-cta", D = G || j, L = u === "right" ? "end" : u === "center" ? "center" : "start", q = ke.useMemo(() => `c${Math.random().toString(36).slice(2, 9)}`, []), H = t || q, Y = (T == null ? void 0 : T.toggleId) ?? `ahd-menu-toggle-${H}`, de = (T == null ? void 0 : T.listId) ?? `ahd-menu-list-${H}`, oe = Tx(v);
|
|
10369
10378
|
if (T)
|
|
10370
10379
|
return /* @__PURE__ */ g(we, { children: Jo(r, h, b, k, S, p, _, N, A, Y, de, oe) });
|
|
10371
|
-
const ee =
|
|
10380
|
+
const ee = Mx(H, { stickyNav: o, stickyNavTablet: a, stickyNavMobile: i }), Z = Ix(H, {
|
|
10372
10381
|
dropdownBackground: m ?? (d !== "transparent" ? d : null)
|
|
10373
10382
|
});
|
|
10374
10383
|
return /* @__PURE__ */ P(we, { children: [
|
|
@@ -10381,7 +10390,7 @@ const Ex = (e, t) => {
|
|
|
10381
10390
|
"data-block": "menu",
|
|
10382
10391
|
"data-layout": c,
|
|
10383
10392
|
style: {
|
|
10384
|
-
...
|
|
10393
|
+
..._x(d, u, D, $, w),
|
|
10385
10394
|
...y ? {
|
|
10386
10395
|
borderStyle: "solid",
|
|
10387
10396
|
borderColor: y,
|
|
@@ -10402,7 +10411,7 @@ const Ex = (e, t) => {
|
|
|
10402
10411
|
role: "switch",
|
|
10403
10412
|
"aria-label": "Toggle main menu",
|
|
10404
10413
|
"aria-controls": de,
|
|
10405
|
-
style:
|
|
10414
|
+
style: Rx,
|
|
10406
10415
|
onClick: (J) => J.stopPropagation()
|
|
10407
10416
|
}
|
|
10408
10417
|
),
|
|
@@ -10424,7 +10433,7 @@ const Ex = (e, t) => {
|
|
|
10424
10433
|
htmlFor: Y,
|
|
10425
10434
|
className: "ahd-menu-burger",
|
|
10426
10435
|
"aria-hidden": "true",
|
|
10427
|
-
style:
|
|
10436
|
+
style: Ex(h),
|
|
10428
10437
|
onClick: ei(Y),
|
|
10429
10438
|
children: [
|
|
10430
10439
|
/* @__PURE__ */ g("span", {}),
|
|
@@ -10437,23 +10446,23 @@ const Ex = (e, t) => {
|
|
|
10437
10446
|
}
|
|
10438
10447
|
)
|
|
10439
10448
|
] });
|
|
10440
|
-
},
|
|
10449
|
+
}, Ox = C({
|
|
10441
10450
|
id: x().optional(),
|
|
10442
10451
|
label: x().optional(),
|
|
10443
10452
|
href: x().optional(),
|
|
10444
10453
|
textColor: x().optional().nullable()
|
|
10445
|
-
}),
|
|
10454
|
+
}), Lx = C({
|
|
10446
10455
|
top: f(),
|
|
10447
10456
|
right: f(),
|
|
10448
10457
|
bottom: f(),
|
|
10449
10458
|
left: f()
|
|
10450
|
-
}).optional().nullable(),
|
|
10459
|
+
}).optional().nullable(), zx = C({
|
|
10451
10460
|
top: f(),
|
|
10452
10461
|
right: f(),
|
|
10453
10462
|
bottom: f(),
|
|
10454
10463
|
left: f()
|
|
10455
|
-
}).optional().nullable(),
|
|
10456
|
-
items: W(
|
|
10464
|
+
}).optional().nullable(), Bx = C({
|
|
10465
|
+
items: W(Ox).optional().nullable(),
|
|
10457
10466
|
separator: I(["slash", "chevron", "dot", "pipe", "custom"]).default("chevron"),
|
|
10458
10467
|
customSeparator: x().optional().nullable(),
|
|
10459
10468
|
showHomeIcon: O().default(!1),
|
|
@@ -10467,35 +10476,35 @@ const Ex = (e, t) => {
|
|
|
10467
10476
|
fontFamily: x().optional().nullable(),
|
|
10468
10477
|
fontWeight: x().default("400"),
|
|
10469
10478
|
gap: x().default("8px"),
|
|
10470
|
-
blockPadding:
|
|
10471
|
-
blockMargin:
|
|
10472
|
-
}),
|
|
10479
|
+
blockPadding: Lx,
|
|
10480
|
+
blockMargin: zx
|
|
10481
|
+
}), Dx = C({
|
|
10473
10482
|
style: C({}).passthrough().optional().nullable(),
|
|
10474
10483
|
// Without this, Zod strips `data.responsive` on the save/load round-trip and
|
|
10475
10484
|
// every per-device override for this block is silently lost.
|
|
10476
10485
|
responsive: Le,
|
|
10477
|
-
props:
|
|
10486
|
+
props: Bx.optional().nullable()
|
|
10478
10487
|
}), No = {
|
|
10479
10488
|
slash: "/",
|
|
10480
10489
|
chevron: "›",
|
|
10481
10490
|
dot: "•",
|
|
10482
10491
|
pipe: "|"
|
|
10483
10492
|
};
|
|
10484
|
-
function
|
|
10493
|
+
function Hx(e, t) {
|
|
10485
10494
|
return e === "custom" ? t || "›" : e && No[e] ? No[e] : No.chevron;
|
|
10486
10495
|
}
|
|
10487
|
-
function
|
|
10496
|
+
function Fx(e) {
|
|
10488
10497
|
const t = `.ahd-breadcrumb-${e}`, n = [
|
|
10489
10498
|
`${t} .ahd-breadcrumb-collapsible{display:none!important}`,
|
|
10490
10499
|
`${t} .ahd-breadcrumb-ellipsis{display:flex!important}`
|
|
10491
10500
|
].join(""), o = `(max-width:${Re}px)`;
|
|
10492
10501
|
return `@media ${o}{${n}}@container ahd-page ${o}{${n}}`;
|
|
10493
10502
|
}
|
|
10494
|
-
const
|
|
10503
|
+
const Gx = (e) => {
|
|
10495
10504
|
if (!e) return;
|
|
10496
10505
|
const t = tt.find((n) => n.key === e);
|
|
10497
10506
|
return (t == null ? void 0 : t.value) || e;
|
|
10498
|
-
}, Al = (e) => e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0,
|
|
10507
|
+
}, Al = (e) => e ? `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px` : void 0, jx = Al, Ux = "M12 3.1 3 10.4V21h6v-6h6v6h6V10.4L12 3.1zm0 2.56 7 5.6V19h-2v-6H9v6H5v-7.74l7-5.6z", Zx = ({ size: e, color: t }) => /* @__PURE__ */ g("svg", { width: e, height: e, viewBox: "0 0 24 24", "aria-hidden": "true", style: { display: "block", flex: "0 0 auto" }, children: /* @__PURE__ */ g("path", { d: Ux, fill: t }) }), Wx = ({ color: e, fontSize: t }) => /* @__PURE__ */ g("span", { "aria-hidden": "true", style: { color: e, fontSize: t }, children: "…" }), qx = ({ props: e, renderLabel: t }) => {
|
|
10499
10508
|
const {
|
|
10500
10509
|
items: n,
|
|
10501
10510
|
separator: o = "chevron",
|
|
@@ -10515,7 +10524,7 @@ const Hx = (e) => {
|
|
|
10515
10524
|
blockMargin: k
|
|
10516
10525
|
} = e ?? {};
|
|
10517
10526
|
if (!(Array.isArray(n) && n.length > 0)) return /* @__PURE__ */ g(we, {});
|
|
10518
|
-
const $ =
|
|
10527
|
+
const $ = Gx(h), w = Hx(o, a), _ = n.length - 1, N = ke.useMemo(() => `b${Math.random().toString(36).slice(2, 9)}`, []), A = l ? Fx(N) : "", y = (R, M, T) => {
|
|
10519
10528
|
const z = (T ? u : null) || R.textColor || c, G = !T || s, j = {
|
|
10520
10529
|
color: z,
|
|
10521
10530
|
textDecoration: "none",
|
|
@@ -10532,7 +10541,7 @@ const Hx = (e) => {
|
|
|
10532
10541
|
"aria-label": "Breadcrumb",
|
|
10533
10542
|
style: {
|
|
10534
10543
|
padding: Al(v),
|
|
10535
|
-
margin:
|
|
10544
|
+
margin: jx(k)
|
|
10536
10545
|
},
|
|
10537
10546
|
children: /* @__PURE__ */ P(
|
|
10538
10547
|
"ol",
|
|
@@ -10556,7 +10565,7 @@ const Hx = (e) => {
|
|
|
10556
10565
|
className: "ahd-breadcrumb-home",
|
|
10557
10566
|
style: { display: "flex", alignItems: "center", gap: b },
|
|
10558
10567
|
children: [
|
|
10559
|
-
/* @__PURE__ */ g("a", { href: r || "/", style: { display: "flex", color: c }, children: /* @__PURE__ */ g(
|
|
10568
|
+
/* @__PURE__ */ g("a", { href: r || "/", style: { display: "flex", color: c }, children: /* @__PURE__ */ g(Zx, { size: parseInt(d, 10) || 14, color: c }) }),
|
|
10560
10569
|
/* @__PURE__ */ g("span", { "aria-hidden": "true", style: { color: p || c }, children: w })
|
|
10561
10570
|
]
|
|
10562
10571
|
}
|
|
@@ -10577,7 +10586,7 @@ const Hx = (e) => {
|
|
|
10577
10586
|
);
|
|
10578
10587
|
}),
|
|
10579
10588
|
l && n.length > 2 && /* @__PURE__ */ P("li", { className: "ahd-breadcrumb-ellipsis", style: { display: "none", alignItems: "center", gap: b }, children: [
|
|
10580
|
-
/* @__PURE__ */ g(
|
|
10589
|
+
/* @__PURE__ */ g(Wx, { color: c, fontSize: d }),
|
|
10581
10590
|
/* @__PURE__ */ g("span", { "aria-hidden": "true", style: { color: p || c }, children: w })
|
|
10582
10591
|
] })
|
|
10583
10592
|
]
|
|
@@ -10586,7 +10595,7 @@ const Hx = (e) => {
|
|
|
10586
10595
|
}
|
|
10587
10596
|
)
|
|
10588
10597
|
] });
|
|
10589
|
-
},
|
|
10598
|
+
}, Vx = C({
|
|
10590
10599
|
style: C({}).passthrough().optional().nullable(),
|
|
10591
10600
|
props: C({
|
|
10592
10601
|
formId: x().default(""),
|
|
@@ -10598,17 +10607,17 @@ const Hx = (e) => {
|
|
|
10598
10607
|
heightMobile: x().optional(),
|
|
10599
10608
|
alignment: I(["left", "center", "right"]).default("left")
|
|
10600
10609
|
}).optional().nullable()
|
|
10601
|
-
}),
|
|
10610
|
+
}), Yx = (e) => {
|
|
10602
10611
|
let t = 0;
|
|
10603
10612
|
for (let n = 0; n < e.length; n += 1)
|
|
10604
10613
|
t = t * 31 + e.charCodeAt(n) | 0;
|
|
10605
10614
|
return `form-${Math.abs(t).toString(36)}`;
|
|
10606
|
-
},
|
|
10615
|
+
}, Kx = (e) => {
|
|
10607
10616
|
if (!e) return;
|
|
10608
10617
|
if (typeof e == "string") return e;
|
|
10609
10618
|
const { top: t = 0, right: n = 0, bottom: o = 0, left: a = 0 } = e;
|
|
10610
10619
|
return `${t}px ${n}px ${o}px ${a}px`;
|
|
10611
|
-
},
|
|
10620
|
+
}, Jx = ({ props: e, style: t }) => {
|
|
10612
10621
|
const {
|
|
10613
10622
|
formId: n,
|
|
10614
10623
|
iframeSrc: o,
|
|
@@ -10624,10 +10633,10 @@ const Hx = (e) => {
|
|
|
10624
10633
|
display: "flex",
|
|
10625
10634
|
justifyContent: u,
|
|
10626
10635
|
width: "100%",
|
|
10627
|
-
padding:
|
|
10636
|
+
padding: Kx(p.padding),
|
|
10628
10637
|
backgroundColor: p.backgroundColor || void 0,
|
|
10629
10638
|
borderRadius: p.borderRadius || void 0
|
|
10630
|
-
}, h =
|
|
10639
|
+
}, h = Yx(`${n}|${o ?? ""}`), m = r || l ? `
|
|
10631
10640
|
${r ? `${fn} { #${h} { height: ${r} !important; } }` : ""}
|
|
10632
10641
|
${l ? `${Be} { #${h} { height: ${l} !important; } }` : ""}
|
|
10633
10642
|
` : "";
|
|
@@ -10650,7 +10659,7 @@ const Hx = (e) => {
|
|
|
10650
10659
|
}
|
|
10651
10660
|
) })
|
|
10652
10661
|
] });
|
|
10653
|
-
},
|
|
10662
|
+
}, Xx = C({
|
|
10654
10663
|
style: C({}).passthrough().optional().nullable(),
|
|
10655
10664
|
props: C({
|
|
10656
10665
|
bannerId: x().default(""),
|
|
@@ -10669,32 +10678,32 @@ const Hx = (e) => {
|
|
|
10669
10678
|
left: f()
|
|
10670
10679
|
}).optional().nullable()
|
|
10671
10680
|
}).optional().nullable()
|
|
10672
|
-
}),
|
|
10681
|
+
}), Qx = (e) => e ? {
|
|
10673
10682
|
// Real padding as the base value (works without the stylesheet); the
|
|
10674
10683
|
// !important responsive rules in pagePilotStyles.css scale these via the vars.
|
|
10675
10684
|
paddingTop: e.top,
|
|
10676
10685
|
paddingRight: e.right,
|
|
10677
10686
|
paddingBottom: e.bottom,
|
|
10678
10687
|
paddingLeft: e.left
|
|
10679
|
-
} : {},
|
|
10688
|
+
} : {}, e1 = (e) => e ? {
|
|
10680
10689
|
marginTop: e.top,
|
|
10681
10690
|
marginRight: e.right,
|
|
10682
10691
|
marginBottom: e.bottom,
|
|
10683
10692
|
marginLeft: e.left
|
|
10684
|
-
} : {},
|
|
10693
|
+
} : {}, t1 = ({ props: e }) => {
|
|
10685
10694
|
const { bannerId: t, contentDocument: n, padding: o, margin: a } = e ?? {};
|
|
10686
10695
|
return t ? n && n.root ? /* @__PURE__ */ g(
|
|
10687
10696
|
"div",
|
|
10688
10697
|
{
|
|
10689
10698
|
className: "app-banner-picker-block",
|
|
10690
10699
|
style: {
|
|
10691
|
-
...
|
|
10692
|
-
...
|
|
10700
|
+
...Qx(o),
|
|
10701
|
+
...e1(a)
|
|
10693
10702
|
},
|
|
10694
10703
|
children: /* @__PURE__ */ g(Wn, { document: n, rootBlockId: "root" })
|
|
10695
10704
|
}
|
|
10696
10705
|
) : /* @__PURE__ */ g(we, {}) : /* @__PURE__ */ g(we, {});
|
|
10697
|
-
},
|
|
10706
|
+
}, n1 = C({
|
|
10698
10707
|
style: C({}).passthrough().optional().nullable(),
|
|
10699
10708
|
props: C({
|
|
10700
10709
|
faqGroupId: x().default(""),
|
|
@@ -10713,30 +10722,30 @@ const Hx = (e) => {
|
|
|
10713
10722
|
left: f()
|
|
10714
10723
|
}).optional().nullable()
|
|
10715
10724
|
}).optional().nullable()
|
|
10716
|
-
}),
|
|
10725
|
+
}), o1 = (e) => e ? {
|
|
10717
10726
|
paddingTop: e.top,
|
|
10718
10727
|
paddingRight: e.right,
|
|
10719
10728
|
paddingBottom: e.bottom,
|
|
10720
10729
|
paddingLeft: e.left
|
|
10721
|
-
} : {},
|
|
10730
|
+
} : {}, a1 = (e) => e ? {
|
|
10722
10731
|
marginTop: e.top,
|
|
10723
10732
|
marginRight: e.right,
|
|
10724
10733
|
marginBottom: e.bottom,
|
|
10725
10734
|
marginLeft: e.left
|
|
10726
|
-
} : {},
|
|
10735
|
+
} : {}, r1 = ({ props: e }) => {
|
|
10727
10736
|
const { faqGroupId: t, contentDocument: n, padding: o, margin: a } = e ?? {};
|
|
10728
10737
|
return t ? !n || !n.root ? /* @__PURE__ */ g(we, {}) : /* @__PURE__ */ g(
|
|
10729
10738
|
"div",
|
|
10730
10739
|
{
|
|
10731
10740
|
className: "faq-picker-block",
|
|
10732
10741
|
style: {
|
|
10733
|
-
...
|
|
10734
|
-
...
|
|
10742
|
+
...o1(o),
|
|
10743
|
+
...a1(a)
|
|
10735
10744
|
},
|
|
10736
10745
|
children: /* @__PURE__ */ g(Wn, { document: n, rootBlockId: "root" })
|
|
10737
10746
|
}
|
|
10738
10747
|
) : /* @__PURE__ */ g(we, {});
|
|
10739
|
-
},
|
|
10748
|
+
}, i1 = C({
|
|
10740
10749
|
style: C({
|
|
10741
10750
|
padding: C({ top: f(), right: f(), bottom: f(), left: f() }).optional().nullable(),
|
|
10742
10751
|
margin: C({ top: f(), right: f(), bottom: f(), left: f() }).optional().nullable(),
|
|
@@ -10767,10 +10776,10 @@ const Hx = (e) => {
|
|
|
10767
10776
|
marginX: 0,
|
|
10768
10777
|
marginY: 0
|
|
10769
10778
|
};
|
|
10770
|
-
let
|
|
10779
|
+
let l1 = 0;
|
|
10771
10780
|
function yl({ style: e, props: t }) {
|
|
10772
10781
|
var k, S;
|
|
10773
|
-
const n = ((k = t == null ? void 0 : t.text) == null ? void 0 : k.trim()) || Xe.text, o = ((S = t == null ? void 0 : t.targetId) == null ? void 0 : S.trim()) || Xe.targetId, a = (t == null ? void 0 : t.backgroundColor) ?? Xe.backgroundColor, i = (t == null ? void 0 : t.textColor) ?? Xe.textColor, r = (t == null ? void 0 : t.fontSize) ?? Xe.fontSize, l = (t == null ? void 0 : t.borderRadius) ?? Xe.borderRadius, s = (t == null ? void 0 : t.paddingX) ?? Xe.paddingX, c = (t == null ? void 0 : t.paddingY) ?? Xe.paddingY, u = (t == null ? void 0 : t.marginX) ?? Xe.marginX, p = (t == null ? void 0 : t.marginY) ?? Xe.marginY, d = "always-visible", h = `skip-link-${++
|
|
10782
|
+
const n = ((k = t == null ? void 0 : t.text) == null ? void 0 : k.trim()) || Xe.text, o = ((S = t == null ? void 0 : t.targetId) == null ? void 0 : S.trim()) || Xe.targetId, a = (t == null ? void 0 : t.backgroundColor) ?? Xe.backgroundColor, i = (t == null ? void 0 : t.textColor) ?? Xe.textColor, r = (t == null ? void 0 : t.fontSize) ?? Xe.fontSize, l = (t == null ? void 0 : t.borderRadius) ?? Xe.borderRadius, s = (t == null ? void 0 : t.paddingX) ?? Xe.paddingX, c = (t == null ? void 0 : t.paddingY) ?? Xe.paddingY, u = (t == null ? void 0 : t.marginX) ?? Xe.marginX, p = (t == null ? void 0 : t.marginY) ?? Xe.marginY, d = "always-visible", h = `skip-link-${++l1}`, m = {
|
|
10774
10783
|
padding: Oa(e == null ? void 0 : e.padding),
|
|
10775
10784
|
margin: La(e == null ? void 0 : e.margin),
|
|
10776
10785
|
textAlign: (e == null ? void 0 : e.textAlign) ?? void 0
|
|
@@ -10793,7 +10802,7 @@ function yl({ style: e, props: t }) {
|
|
|
10793
10802
|
/* @__PURE__ */ g("a", { href: `#${o}`, className: h, "data-skip-link": d, children: n })
|
|
10794
10803
|
] });
|
|
10795
10804
|
}
|
|
10796
|
-
const
|
|
10805
|
+
const s1 = C({
|
|
10797
10806
|
style: C({
|
|
10798
10807
|
padding: C({ top: f(), right: f(), bottom: f(), left: f() }).optional().nullable(),
|
|
10799
10808
|
margin: C({ top: f(), right: f(), bottom: f(), left: f() }).optional().nullable(),
|
|
@@ -10843,13 +10852,13 @@ const i1 = C({
|
|
|
10843
10852
|
eye: "M12 5c-7 0-11 7-11 7s4 7 11 7 11-7 11-7-4-7-11-7zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-2a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",
|
|
10844
10853
|
info: "M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 15h-2v-6h2zm0-8h-2V7h2z"
|
|
10845
10854
|
};
|
|
10846
|
-
function
|
|
10855
|
+
function c1(e) {
|
|
10847
10856
|
return e && Ro[e] ? Ro[e] : Ro.accessibility;
|
|
10848
10857
|
}
|
|
10849
|
-
function
|
|
10850
|
-
return `<svg viewBox="0 0 24 24" aria-hidden="true"><path d="${
|
|
10858
|
+
function u1(e) {
|
|
10859
|
+
return `<svg viewBox="0 0 24 24" aria-hidden="true"><path d="${c1(e)}"/></svg>`;
|
|
10851
10860
|
}
|
|
10852
|
-
const
|
|
10861
|
+
const d1 = {
|
|
10853
10862
|
contrast: !0,
|
|
10854
10863
|
invert: !0,
|
|
10855
10864
|
saturation: !0,
|
|
@@ -10861,12 +10870,12 @@ const c1 = {
|
|
|
10861
10870
|
bigCursor: !0,
|
|
10862
10871
|
reset: !0
|
|
10863
10872
|
};
|
|
10864
|
-
function
|
|
10873
|
+
function h1(e) {
|
|
10865
10874
|
const t = e ?? "top-right";
|
|
10866
10875
|
return { containerPos: t === "top-right" ? "top:16px;right:16px;" : t === "top-left" ? "top:16px;left:16px;" : t === "bottom-right" ? "bottom:16px;right:16px;" : "bottom:16px;left:16px;" };
|
|
10867
10876
|
}
|
|
10868
10877
|
function Nl(e) {
|
|
10869
|
-
const { containerPos: t } =
|
|
10878
|
+
const { containerPos: t } = h1(e.position);
|
|
10870
10879
|
return `
|
|
10871
10880
|
/* Accessibility Tools widget */
|
|
10872
10881
|
.ahd-a11y-widget{position:relative;display:inline-block}
|
|
@@ -10902,7 +10911,7 @@ html.a11y-big-cursor,html.a11y-big-cursor *{cursor:url('data:image/svg+xml;utf8,
|
|
|
10902
10911
|
`.trim();
|
|
10903
10912
|
}
|
|
10904
10913
|
function Rl(e) {
|
|
10905
|
-
const t = { ...
|
|
10914
|
+
const t = { ...d1, ...e.features ?? {} }, n = (p, d) => `<button type="button" class="ahd-a11y-btn" data-a11y="${p}" aria-pressed="false">${d}</button>`, o = t.contrast || t.invert || t.saturation ? `<div class="ahd-a11y-group"><div class="ahd-a11y-group-title">Color & Contrast</div><div class="ahd-a11y-row">${[
|
|
10906
10915
|
t.contrast ? n("contrast", "High contrast") : "",
|
|
10907
10916
|
t.invert ? n("invert", "Invert colors") : "",
|
|
10908
10917
|
t.saturation ? n("desat", "Grayscale") : ""
|
|
@@ -10916,7 +10925,7 @@ function Rl(e) {
|
|
|
10916
10925
|
].filter(Boolean).join("")}</div></div>` : "", i = t.hideImages || t.bigCursor ? `<div class="ahd-a11y-group"><div class="ahd-a11y-group-title">Other</div><div class="ahd-a11y-row">${[
|
|
10917
10926
|
t.hideImages ? n("hide-images", "Hide images") : "",
|
|
10918
10927
|
t.bigCursor ? n("big-cursor", "Big cursor") : ""
|
|
10919
|
-
].filter(Boolean).join("")}</div></div>` : "", r = t.reset ? '<button type="button" class="ahd-a11y-reset" data-a11y-reset>Reset all</button>' : "", l = e.renderMode === "floating" ? "floating" : "inline", s =
|
|
10928
|
+
].filter(Boolean).join("")}</div></div>` : "", r = t.reset ? '<button type="button" class="ahd-a11y-reset" data-a11y-reset>Reset all</button>' : "", l = e.renderMode === "floating" ? "floating" : "inline", s = u1(e.icon ?? "accessibility"), c = ux(
|
|
10920
10929
|
e.triggerText,
|
|
10921
10930
|
e.showLabelText !== !1,
|
|
10922
10931
|
"Accessibility"
|
|
@@ -11063,19 +11072,19 @@ function Il({ style: e, props: t }) {
|
|
|
11063
11072
|
/* @__PURE__ */ g("span", { "aria-hidden": "true", style: { display: "none" }, children: l })
|
|
11064
11073
|
] });
|
|
11065
11074
|
}
|
|
11066
|
-
function
|
|
11075
|
+
function f1(e) {
|
|
11067
11076
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
11068
11077
|
}
|
|
11069
11078
|
var Xo = { exports: {} }, Qo = { exports: {} }, Ge = {}, ue = {};
|
|
11070
11079
|
ue.__esModule = !0;
|
|
11071
11080
|
ue.extend = Ml;
|
|
11072
|
-
ue.indexOf =
|
|
11073
|
-
ue.escapeExpression =
|
|
11074
|
-
ue.isEmpty =
|
|
11075
|
-
ue.createFrame =
|
|
11076
|
-
ue.blockParams =
|
|
11077
|
-
ue.appendContextPath =
|
|
11078
|
-
var
|
|
11081
|
+
ue.indexOf = v1;
|
|
11082
|
+
ue.escapeExpression = x1;
|
|
11083
|
+
ue.isEmpty = S1;
|
|
11084
|
+
ue.createFrame = w1;
|
|
11085
|
+
ue.blockParams = k1;
|
|
11086
|
+
ue.appendContextPath = _1;
|
|
11087
|
+
var p1 = {
|
|
11079
11088
|
"&": "&",
|
|
11080
11089
|
"<": "<",
|
|
11081
11090
|
">": ">",
|
|
@@ -11083,9 +11092,9 @@ var h1 = {
|
|
|
11083
11092
|
"'": "'",
|
|
11084
11093
|
"`": "`",
|
|
11085
11094
|
"=": "="
|
|
11086
|
-
},
|
|
11087
|
-
function
|
|
11088
|
-
return
|
|
11095
|
+
}, m1 = /[&<>"'`=]/g, g1 = /[&<>"'`=]/;
|
|
11096
|
+
function b1(e) {
|
|
11097
|
+
return p1[e];
|
|
11089
11098
|
}
|
|
11090
11099
|
function Ml(e) {
|
|
11091
11100
|
for (var t = 1; t < arguments.length; t++)
|
|
@@ -11106,13 +11115,13 @@ var Tl = Array.isArray || function(e) {
|
|
|
11106
11115
|
return e && typeof e == "object" ? za.call(e) === "[object Array]" : !1;
|
|
11107
11116
|
};
|
|
11108
11117
|
ue.isArray = Tl;
|
|
11109
|
-
function
|
|
11118
|
+
function v1(e, t) {
|
|
11110
11119
|
for (var n = 0, o = e.length; n < o; n++)
|
|
11111
11120
|
if (e[n] === t)
|
|
11112
11121
|
return n;
|
|
11113
11122
|
return -1;
|
|
11114
11123
|
}
|
|
11115
|
-
function
|
|
11124
|
+
function x1(e) {
|
|
11116
11125
|
if (typeof e != "string") {
|
|
11117
11126
|
if (e && e.toHTML)
|
|
11118
11127
|
return e.toHTML();
|
|
@@ -11122,19 +11131,19 @@ function b1(e) {
|
|
|
11122
11131
|
return e + "";
|
|
11123
11132
|
e = "" + e;
|
|
11124
11133
|
}
|
|
11125
|
-
return
|
|
11134
|
+
return g1.test(e) ? e.replace(m1, b1) : e;
|
|
11126
11135
|
}
|
|
11127
|
-
function
|
|
11136
|
+
function S1(e) {
|
|
11128
11137
|
return !e && e !== 0 ? !0 : !!(Tl(e) && e.length === 0);
|
|
11129
11138
|
}
|
|
11130
|
-
function
|
|
11139
|
+
function w1(e) {
|
|
11131
11140
|
var t = Ml({}, e);
|
|
11132
11141
|
return t._parent = e, t;
|
|
11133
11142
|
}
|
|
11134
|
-
function
|
|
11143
|
+
function k1(e, t) {
|
|
11135
11144
|
return e.path = t, e;
|
|
11136
11145
|
}
|
|
11137
|
-
function
|
|
11146
|
+
function _1(e, t) {
|
|
11138
11147
|
return (e ? e + "." : "") + t;
|
|
11139
11148
|
}
|
|
11140
11149
|
var ta = { exports: {} };
|
|
@@ -11181,7 +11190,7 @@ var je = ta.exports, pn = {}, na = { exports: {} };
|
|
|
11181
11190
|
});
|
|
11182
11191
|
}, e.exports = t.default;
|
|
11183
11192
|
})(na, na.exports);
|
|
11184
|
-
var
|
|
11193
|
+
var $1 = na.exports, oa = { exports: {} };
|
|
11185
11194
|
(function(e, t) {
|
|
11186
11195
|
t.__esModule = !0;
|
|
11187
11196
|
function n(r) {
|
|
@@ -11221,7 +11230,7 @@ var k1 = na.exports, oa = { exports: {} };
|
|
|
11221
11230
|
});
|
|
11222
11231
|
}, e.exports = t.default;
|
|
11223
11232
|
})(oa, oa.exports);
|
|
11224
|
-
var
|
|
11233
|
+
var C1 = oa.exports, aa = { exports: {} };
|
|
11225
11234
|
(function(e, t) {
|
|
11226
11235
|
t.__esModule = !0;
|
|
11227
11236
|
function n(i) {
|
|
@@ -11235,7 +11244,7 @@ var _1 = oa.exports, aa = { exports: {} };
|
|
|
11235
11244
|
});
|
|
11236
11245
|
}, e.exports = t.default;
|
|
11237
11246
|
})(aa, aa.exports);
|
|
11238
|
-
var
|
|
11247
|
+
var A1 = aa.exports, ra = { exports: {} };
|
|
11239
11248
|
(function(e, t) {
|
|
11240
11249
|
t.__esModule = !0;
|
|
11241
11250
|
function n(r) {
|
|
@@ -11258,7 +11267,7 @@ var $1 = aa.exports, ra = { exports: {} };
|
|
|
11258
11267
|
});
|
|
11259
11268
|
}, e.exports = t.default;
|
|
11260
11269
|
})(ra, ra.exports);
|
|
11261
|
-
var
|
|
11270
|
+
var y1 = ra.exports, ia = { exports: {} };
|
|
11262
11271
|
(function(e, t) {
|
|
11263
11272
|
t.__esModule = !0, t.default = function(n) {
|
|
11264
11273
|
n.registerHelper("log", function() {
|
|
@@ -11269,7 +11278,7 @@ var C1 = ra.exports, ia = { exports: {} };
|
|
|
11269
11278
|
});
|
|
11270
11279
|
}, e.exports = t.default;
|
|
11271
11280
|
})(ia, ia.exports);
|
|
11272
|
-
var
|
|
11281
|
+
var N1 = ia.exports, la = { exports: {} };
|
|
11273
11282
|
(function(e, t) {
|
|
11274
11283
|
t.__esModule = !0, t.default = function(n) {
|
|
11275
11284
|
n.registerHelper("lookup", function(o, a, i) {
|
|
@@ -11277,7 +11286,7 @@ var A1 = ia.exports, la = { exports: {} };
|
|
|
11277
11286
|
});
|
|
11278
11287
|
}, e.exports = t.default;
|
|
11279
11288
|
})(la, la.exports);
|
|
11280
|
-
var
|
|
11289
|
+
var R1 = la.exports, sa = { exports: {} };
|
|
11281
11290
|
(function(e, t) {
|
|
11282
11291
|
t.__esModule = !0;
|
|
11283
11292
|
function n(r) {
|
|
@@ -11300,18 +11309,18 @@ var y1 = la.exports, sa = { exports: {} };
|
|
|
11300
11309
|
});
|
|
11301
11310
|
}, e.exports = t.default;
|
|
11302
11311
|
})(sa, sa.exports);
|
|
11303
|
-
var
|
|
11312
|
+
var E1 = sa.exports;
|
|
11304
11313
|
pn.__esModule = !0;
|
|
11305
|
-
pn.registerDefaultHelpers =
|
|
11306
|
-
pn.moveHelperToHooks =
|
|
11314
|
+
pn.registerDefaultHelpers = Z1;
|
|
11315
|
+
pn.moveHelperToHooks = W1;
|
|
11307
11316
|
function Ct(e) {
|
|
11308
11317
|
return e && e.__esModule ? e : { default: e };
|
|
11309
11318
|
}
|
|
11310
|
-
var
|
|
11311
|
-
function
|
|
11312
|
-
|
|
11319
|
+
var I1 = $1, M1 = Ct(I1), T1 = C1, P1 = Ct(T1), O1 = A1, L1 = Ct(O1), z1 = y1, B1 = Ct(z1), D1 = N1, H1 = Ct(D1), F1 = R1, G1 = Ct(F1), j1 = E1, U1 = Ct(j1);
|
|
11320
|
+
function Z1(e) {
|
|
11321
|
+
M1.default(e), P1.default(e), L1.default(e), B1.default(e), H1.default(e), G1.default(e), U1.default(e);
|
|
11313
11322
|
}
|
|
11314
|
-
function
|
|
11323
|
+
function W1(e, t, n) {
|
|
11315
11324
|
e.helpers[t] && (e.hooks[t] = e.helpers[t], n || (e.helpers[t] = void 0));
|
|
11316
11325
|
}
|
|
11317
11326
|
var Ba = {}, ca = { exports: {} };
|
|
@@ -11330,15 +11339,15 @@ var Ba = {}, ca = { exports: {} };
|
|
|
11330
11339
|
});
|
|
11331
11340
|
}, e.exports = t.default;
|
|
11332
11341
|
})(ca, ca.exports);
|
|
11333
|
-
var
|
|
11342
|
+
var q1 = ca.exports;
|
|
11334
11343
|
Ba.__esModule = !0;
|
|
11335
|
-
Ba.registerDefaultDecorators =
|
|
11336
|
-
function
|
|
11344
|
+
Ba.registerDefaultDecorators = J1;
|
|
11345
|
+
function V1(e) {
|
|
11337
11346
|
return e && e.__esModule ? e : { default: e };
|
|
11338
11347
|
}
|
|
11339
|
-
var
|
|
11340
|
-
function
|
|
11341
|
-
|
|
11348
|
+
var Y1 = q1, K1 = V1(Y1);
|
|
11349
|
+
function J1(e) {
|
|
11350
|
+
K1.default(e);
|
|
11342
11351
|
}
|
|
11343
11352
|
var ua = { exports: {} };
|
|
11344
11353
|
(function(e, t) {
|
|
@@ -11369,14 +11378,14 @@ var ua = { exports: {} };
|
|
|
11369
11378
|
})(ua, ua.exports);
|
|
11370
11379
|
var Pl = ua.exports, Ut = {};
|
|
11371
11380
|
Ut.__esModule = !0;
|
|
11372
|
-
Ut.createProtoAccessControl =
|
|
11373
|
-
Ut.resultIsAllowed =
|
|
11374
|
-
Ut.resetLoggedProperties =
|
|
11375
|
-
function
|
|
11381
|
+
Ut.createProtoAccessControl = tS;
|
|
11382
|
+
Ut.resultIsAllowed = nS;
|
|
11383
|
+
Ut.resetLoggedProperties = aS;
|
|
11384
|
+
function X1(e) {
|
|
11376
11385
|
return e && e.__esModule ? e : { default: e };
|
|
11377
11386
|
}
|
|
11378
|
-
var ti = ue,
|
|
11379
|
-
function
|
|
11387
|
+
var ti = ue, Q1 = Pl, eS = X1(Q1), jn = /* @__PURE__ */ Object.create(null);
|
|
11388
|
+
function tS(e) {
|
|
11380
11389
|
var t = /* @__PURE__ */ Object.create(null);
|
|
11381
11390
|
t.__proto__ = !1, ti.extend(t, e.allowedProtoProperties);
|
|
11382
11391
|
var n = /* @__PURE__ */ Object.create(null);
|
|
@@ -11391,18 +11400,18 @@ function Q1(e) {
|
|
|
11391
11400
|
}
|
|
11392
11401
|
};
|
|
11393
11402
|
}
|
|
11394
|
-
function
|
|
11403
|
+
function nS(e, t, n) {
|
|
11395
11404
|
return ni(typeof e == "function" ? t.methods : t.properties, n);
|
|
11396
11405
|
}
|
|
11397
11406
|
function ni(e, t) {
|
|
11398
|
-
return e.whitelist[t] !== void 0 ? e.whitelist[t] === !0 : e.defaultValue !== void 0 ? e.defaultValue : (
|
|
11407
|
+
return e.whitelist[t] !== void 0 ? e.whitelist[t] === !0 : e.defaultValue !== void 0 ? e.defaultValue : (oS(t), !1);
|
|
11399
11408
|
}
|
|
11400
|
-
function
|
|
11401
|
-
jn[e] !== !0 && (jn[e] = !0,
|
|
11409
|
+
function oS(e) {
|
|
11410
|
+
jn[e] !== !0 && (jn[e] = !0, eS.default.log("error", 'Handlebars: Access has been denied to resolve the property "' + e + `" because it is not an "own property" of its parent.
|
|
11402
11411
|
You can add a runtime option to disable the check or this warning:
|
|
11403
11412
|
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`));
|
|
11404
11413
|
}
|
|
11405
|
-
function
|
|
11414
|
+
function aS() {
|
|
11406
11415
|
Object.keys(jn).forEach(function(e) {
|
|
11407
11416
|
delete jn[e];
|
|
11408
11417
|
});
|
|
@@ -11412,13 +11421,13 @@ Ge.HandlebarsEnvironment = da;
|
|
|
11412
11421
|
function Ol(e) {
|
|
11413
11422
|
return e && e.__esModule ? e : { default: e };
|
|
11414
11423
|
}
|
|
11415
|
-
var kt = ue,
|
|
11416
|
-
Ge.VERSION =
|
|
11417
|
-
var
|
|
11418
|
-
Ge.COMPILER_REVISION =
|
|
11419
|
-
var
|
|
11420
|
-
Ge.LAST_COMPATIBLE_COMPILER_REVISION =
|
|
11421
|
-
var
|
|
11424
|
+
var kt = ue, rS = je, Eo = Ol(rS), iS = pn, lS = Ba, sS = Pl, Un = Ol(sS), cS = Ut, uS = "4.7.9";
|
|
11425
|
+
Ge.VERSION = uS;
|
|
11426
|
+
var dS = 8;
|
|
11427
|
+
Ge.COMPILER_REVISION = dS;
|
|
11428
|
+
var hS = 7;
|
|
11429
|
+
Ge.LAST_COMPATIBLE_COMPILER_REVISION = hS;
|
|
11430
|
+
var fS = {
|
|
11422
11431
|
1: "<= 1.0.rc.2",
|
|
11423
11432
|
// 1.0.rc.2 is actually rev2 but doesn't report it
|
|
11424
11433
|
2: "== 1.0.0-rc.3",
|
|
@@ -11429,10 +11438,10 @@ var dS = {
|
|
|
11429
11438
|
7: ">= 4.0.0 <4.3.0",
|
|
11430
11439
|
8: ">= 4.3.0"
|
|
11431
11440
|
};
|
|
11432
|
-
Ge.REVISION_CHANGES =
|
|
11441
|
+
Ge.REVISION_CHANGES = fS;
|
|
11433
11442
|
var Io = "[object Object]";
|
|
11434
11443
|
function da(e, t, n) {
|
|
11435
|
-
this.helpers = e || {}, this.partials = t || {}, this.decorators = n || {},
|
|
11444
|
+
this.helpers = e || {}, this.partials = t || {}, this.decorators = n || {}, iS.registerDefaultHelpers(this), lS.registerDefaultDecorators(this);
|
|
11436
11445
|
}
|
|
11437
11446
|
da.prototype = {
|
|
11438
11447
|
constructor: da,
|
|
@@ -11477,11 +11486,11 @@ da.prototype = {
|
|
|
11477
11486
|
* @deprecated should only be used in handlebars test-cases
|
|
11478
11487
|
*/
|
|
11479
11488
|
resetLoggedPropertyAccesses: function() {
|
|
11480
|
-
|
|
11489
|
+
cS.resetLoggedProperties();
|
|
11481
11490
|
}
|
|
11482
11491
|
};
|
|
11483
|
-
var
|
|
11484
|
-
Ge.log =
|
|
11492
|
+
var pS = Un.default.log;
|
|
11493
|
+
Ge.log = pS;
|
|
11485
11494
|
Ge.createFrame = kt.createFrame;
|
|
11486
11495
|
Ge.logger = Un.default;
|
|
11487
11496
|
var ha = { exports: {} };
|
|
@@ -11494,10 +11503,10 @@ var ha = { exports: {} };
|
|
|
11494
11503
|
return "" + this.string;
|
|
11495
11504
|
}, t.default = n, e.exports = t.default;
|
|
11496
11505
|
})(ha, ha.exports);
|
|
11497
|
-
var
|
|
11506
|
+
var mS = ha.exports, xt = {}, Da = {};
|
|
11498
11507
|
Da.__esModule = !0;
|
|
11499
|
-
Da.wrapHelper =
|
|
11500
|
-
function
|
|
11508
|
+
Da.wrapHelper = gS;
|
|
11509
|
+
function gS(e, t) {
|
|
11501
11510
|
if (typeof e != "function")
|
|
11502
11511
|
return e;
|
|
11503
11512
|
var n = function() {
|
|
@@ -11507,16 +11516,16 @@ function pS(e, t) {
|
|
|
11507
11516
|
return n;
|
|
11508
11517
|
}
|
|
11509
11518
|
xt.__esModule = !0;
|
|
11510
|
-
xt.checkRevision =
|
|
11511
|
-
xt.template =
|
|
11519
|
+
xt.checkRevision = kS;
|
|
11520
|
+
xt.template = _S;
|
|
11512
11521
|
xt.wrapProgram = Tn;
|
|
11513
|
-
xt.resolvePartial =
|
|
11514
|
-
xt.invokePartial =
|
|
11522
|
+
xt.resolvePartial = $S;
|
|
11523
|
+
xt.invokePartial = CS;
|
|
11515
11524
|
xt.noop = Ll;
|
|
11516
|
-
function
|
|
11525
|
+
function bS(e) {
|
|
11517
11526
|
return e && e.__esModule ? e : { default: e };
|
|
11518
11527
|
}
|
|
11519
|
-
function
|
|
11528
|
+
function vS(e) {
|
|
11520
11529
|
if (e && e.__esModule)
|
|
11521
11530
|
return e;
|
|
11522
11531
|
var t = {};
|
|
@@ -11525,8 +11534,8 @@ function gS(e) {
|
|
|
11525
11534
|
Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
|
|
11526
11535
|
return t.default = e, t;
|
|
11527
11536
|
}
|
|
11528
|
-
var
|
|
11529
|
-
function
|
|
11537
|
+
var xS = ue, Pt = vS(xS), SS = je, at = bS(SS), rt = Ge, oi = pn, wS = Da, ai = Ut;
|
|
11538
|
+
function kS(e) {
|
|
11530
11539
|
var t = e && e[0] || 1, n = rt.COMPILER_REVISION;
|
|
11531
11540
|
if (!(t >= rt.LAST_COMPATIBLE_COMPILER_REVISION && t <= rt.COMPILER_REVISION))
|
|
11532
11541
|
if (t < rt.LAST_COMPATIBLE_COMPILER_REVISION) {
|
|
@@ -11535,7 +11544,7 @@ function SS(e) {
|
|
|
11535
11544
|
} else
|
|
11536
11545
|
throw new at.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (" + e[1] + ").");
|
|
11537
11546
|
}
|
|
11538
|
-
function
|
|
11547
|
+
function _S(e, t) {
|
|
11539
11548
|
if (!t)
|
|
11540
11549
|
throw new at.default("No environment passed to template");
|
|
11541
11550
|
if (!e || !e.main)
|
|
@@ -11607,7 +11616,7 @@ function wS(e, t) {
|
|
|
11607
11616
|
};
|
|
11608
11617
|
function i(r) {
|
|
11609
11618
|
var l = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], s = l.data;
|
|
11610
|
-
i._setup(l), !l.partial && e.useData && (s =
|
|
11619
|
+
i._setup(l), !l.partial && e.useData && (s = AS(r, s));
|
|
11611
11620
|
var c = void 0, u = e.useBlockParams ? [] : void 0;
|
|
11612
11621
|
e.useDepths && (l.depths ? c = r != l.depths[0] ? [r].concat(l.depths) : l.depths : c = [r]);
|
|
11613
11622
|
function p(d) {
|
|
@@ -11639,10 +11648,10 @@ function Tn(e, t, n, o, a, i, r) {
|
|
|
11639
11648
|
}
|
|
11640
11649
|
return l = zl(n, l, e, r, o, i), l.program = t, l.depth = r ? r.length : 0, l.blockParams = a || 0, l;
|
|
11641
11650
|
}
|
|
11642
|
-
function
|
|
11651
|
+
function $S(e, t, n) {
|
|
11643
11652
|
return e ? !e.call && !n.name && (n.name = e, e = Pn(n.partials, e)) : n.name === "@partial-block" ? e = Pn(n.data, "partial-block") : e = Pn(n.partials, n.name), e;
|
|
11644
11653
|
}
|
|
11645
|
-
function
|
|
11654
|
+
function CS(e, t, n) {
|
|
11646
11655
|
var o = Pn(n.data, "partial-block");
|
|
11647
11656
|
n.partial = !0, n.ids && (n.data.contextPath = n.ids[0] || n.data.contextPath);
|
|
11648
11657
|
var a = void 0;
|
|
@@ -11665,7 +11674,7 @@ function Pn(e, t) {
|
|
|
11665
11674
|
if (e && Object.prototype.hasOwnProperty.call(e, t))
|
|
11666
11675
|
return e[t];
|
|
11667
11676
|
}
|
|
11668
|
-
function
|
|
11677
|
+
function AS(e, t) {
|
|
11669
11678
|
return (!t || !("root" in t)) && (t = t ? rt.createFrame(t) : {}, t.root = e), t;
|
|
11670
11679
|
}
|
|
11671
11680
|
function zl(e, t, n, o, a, i) {
|
|
@@ -11678,12 +11687,12 @@ function zl(e, t, n, o, a, i) {
|
|
|
11678
11687
|
function ri(e, t, n) {
|
|
11679
11688
|
t && Object.keys(t).forEach(function(o) {
|
|
11680
11689
|
var a = t[o];
|
|
11681
|
-
e[o] =
|
|
11690
|
+
e[o] = yS(a, n);
|
|
11682
11691
|
});
|
|
11683
11692
|
}
|
|
11684
|
-
function
|
|
11693
|
+
function yS(e, t) {
|
|
11685
11694
|
var n = t.lookupProperty;
|
|
11686
|
-
return
|
|
11695
|
+
return wS.wrapHelper(e, function(o) {
|
|
11687
11696
|
return o.lookupProperty = n, o;
|
|
11688
11697
|
});
|
|
11689
11698
|
}
|
|
@@ -11716,7 +11725,7 @@ var Bl = fa.exports;
|
|
|
11716
11725
|
Object.prototype.hasOwnProperty.call(S, w) && ($[w] = S[w]);
|
|
11717
11726
|
return $.default = S, $;
|
|
11718
11727
|
}
|
|
11719
|
-
var a = Ge, i = o(a), r =
|
|
11728
|
+
var a = Ge, i = o(a), r = mS, l = n(r), s = je, c = n(s), u = ue, p = o(u), d = xt, h = o(d), m = Bl, b = n(m);
|
|
11720
11729
|
function v() {
|
|
11721
11730
|
var S = new i.HandlebarsEnvironment();
|
|
11722
11731
|
return p.extend(S, i), S.SafeString = l.default, S.Exception = c.default, S.Utils = p, S.escapeExpression = p.escapeExpression, S.VM = h, S.template = function($) {
|
|
@@ -11726,7 +11735,7 @@ var Bl = fa.exports;
|
|
|
11726
11735
|
var k = v();
|
|
11727
11736
|
k.create = v, b.default(k), k.default = k, t.default = k, e.exports = t.default;
|
|
11728
11737
|
})(Qo, Qo.exports);
|
|
11729
|
-
var
|
|
11738
|
+
var NS = Qo.exports, pa = { exports: {} };
|
|
11730
11739
|
(function(e, t) {
|
|
11731
11740
|
t.__esModule = !0;
|
|
11732
11741
|
var n = {
|
|
@@ -12241,7 +12250,7 @@ Expecting ` + T.join(", ") + ", got '" + (this.terminals_[$] || $) + "'" : z = "
|
|
|
12241
12250
|
}();
|
|
12242
12251
|
t.default = n, e.exports = t.default;
|
|
12243
12252
|
})(ma, ma.exports);
|
|
12244
|
-
var
|
|
12253
|
+
var RS = ma.exports, ga = { exports: {} }, ba = { exports: {} };
|
|
12245
12254
|
(function(e, t) {
|
|
12246
12255
|
t.__esModule = !0;
|
|
12247
12256
|
function n(c) {
|
|
@@ -12416,29 +12425,29 @@ var Hl = ba.exports;
|
|
|
12416
12425
|
}
|
|
12417
12426
|
t.default = i, e.exports = t.default;
|
|
12418
12427
|
})(ga, ga.exports);
|
|
12419
|
-
var
|
|
12428
|
+
var ES = ga.exports, Ue = {};
|
|
12420
12429
|
Ue.__esModule = !0;
|
|
12421
|
-
Ue.SourceLocation =
|
|
12422
|
-
Ue.id =
|
|
12423
|
-
Ue.stripFlags =
|
|
12424
|
-
Ue.stripComment =
|
|
12425
|
-
Ue.preparePath =
|
|
12426
|
-
Ue.prepareMustache =
|
|
12427
|
-
Ue.prepareRawBlock =
|
|
12428
|
-
Ue.prepareBlock =
|
|
12429
|
-
Ue.prepareProgram =
|
|
12430
|
-
Ue.preparePartialBlock =
|
|
12431
|
-
function
|
|
12430
|
+
Ue.SourceLocation = TS;
|
|
12431
|
+
Ue.id = PS;
|
|
12432
|
+
Ue.stripFlags = OS;
|
|
12433
|
+
Ue.stripComment = LS;
|
|
12434
|
+
Ue.preparePath = zS;
|
|
12435
|
+
Ue.prepareMustache = BS;
|
|
12436
|
+
Ue.prepareRawBlock = DS;
|
|
12437
|
+
Ue.prepareBlock = HS;
|
|
12438
|
+
Ue.prepareProgram = FS;
|
|
12439
|
+
Ue.preparePartialBlock = GS;
|
|
12440
|
+
function IS(e) {
|
|
12432
12441
|
return e && e.__esModule ? e : { default: e };
|
|
12433
12442
|
}
|
|
12434
|
-
var
|
|
12443
|
+
var MS = je, Ha = IS(MS);
|
|
12435
12444
|
function Fa(e, t) {
|
|
12436
12445
|
if (t = t.path ? t.path.original : t, e.path.original !== t) {
|
|
12437
12446
|
var n = { loc: e.path.loc };
|
|
12438
12447
|
throw new Ha.default(e.path.original + " doesn't match " + t, n);
|
|
12439
12448
|
}
|
|
12440
12449
|
}
|
|
12441
|
-
function
|
|
12450
|
+
function TS(e, t) {
|
|
12442
12451
|
this.source = e, this.start = {
|
|
12443
12452
|
line: t.first_line,
|
|
12444
12453
|
column: t.first_column
|
|
@@ -12447,19 +12456,19 @@ function IS(e, t) {
|
|
|
12447
12456
|
column: t.last_column
|
|
12448
12457
|
};
|
|
12449
12458
|
}
|
|
12450
|
-
function
|
|
12459
|
+
function PS(e) {
|
|
12451
12460
|
return /^\[.*\]$/.test(e) ? e.substring(1, e.length - 1) : e;
|
|
12452
12461
|
}
|
|
12453
|
-
function
|
|
12462
|
+
function OS(e, t) {
|
|
12454
12463
|
return {
|
|
12455
12464
|
open: e.charAt(2) === "~",
|
|
12456
12465
|
close: t.charAt(t.length - 3) === "~"
|
|
12457
12466
|
};
|
|
12458
12467
|
}
|
|
12459
|
-
function
|
|
12468
|
+
function LS(e) {
|
|
12460
12469
|
return e.replace(/^\{\{~?!-?-?/, "").replace(/-?-?~?\}\}$/, "");
|
|
12461
12470
|
}
|
|
12462
|
-
function
|
|
12471
|
+
function zS(e, t, n) {
|
|
12463
12472
|
n = this.locInfo(n);
|
|
12464
12473
|
for (var o = e ? "@" : "", a = [], i = 0, r = 0, l = t.length; r < l; r++) {
|
|
12465
12474
|
var s = t[r].part, c = t[r].original !== s;
|
|
@@ -12479,7 +12488,7 @@ function OS(e, t, n) {
|
|
|
12479
12488
|
loc: n
|
|
12480
12489
|
};
|
|
12481
12490
|
}
|
|
12482
|
-
function
|
|
12491
|
+
function BS(e, t, n, o, a, i) {
|
|
12483
12492
|
var r = o.charAt(3) || o.charAt(2), l = r !== "{" && r !== "&", s = /\*/.test(o);
|
|
12484
12493
|
return {
|
|
12485
12494
|
type: s ? "Decorator" : "MustacheStatement",
|
|
@@ -12491,7 +12500,7 @@ function LS(e, t, n, o, a, i) {
|
|
|
12491
12500
|
loc: this.locInfo(i)
|
|
12492
12501
|
};
|
|
12493
12502
|
}
|
|
12494
|
-
function
|
|
12503
|
+
function DS(e, t, n, o) {
|
|
12495
12504
|
Fa(e, n), o = this.locInfo(o);
|
|
12496
12505
|
var a = {
|
|
12497
12506
|
type: "Program",
|
|
@@ -12511,7 +12520,7 @@ function zS(e, t, n, o) {
|
|
|
12511
12520
|
loc: o
|
|
12512
12521
|
};
|
|
12513
12522
|
}
|
|
12514
|
-
function
|
|
12523
|
+
function HS(e, t, n, o, a, i) {
|
|
12515
12524
|
o && o.path && Fa(e, o);
|
|
12516
12525
|
var r = /\*/.test(e.open);
|
|
12517
12526
|
t.blockParams = e.blockParams;
|
|
@@ -12534,7 +12543,7 @@ function BS(e, t, n, o, a, i) {
|
|
|
12534
12543
|
loc: this.locInfo(i)
|
|
12535
12544
|
};
|
|
12536
12545
|
}
|
|
12537
|
-
function
|
|
12546
|
+
function FS(e, t) {
|
|
12538
12547
|
if (!t && e.length) {
|
|
12539
12548
|
var n = e[0].loc, o = e[e.length - 1].loc;
|
|
12540
12549
|
n && o && (t = {
|
|
@@ -12556,7 +12565,7 @@ function DS(e, t) {
|
|
|
12556
12565
|
loc: t
|
|
12557
12566
|
};
|
|
12558
12567
|
}
|
|
12559
|
-
function
|
|
12568
|
+
function GS(e, t, n, o) {
|
|
12560
12569
|
return Fa(e, n), {
|
|
12561
12570
|
type: "PartialBlockStatement",
|
|
12562
12571
|
name: e.path,
|
|
@@ -12570,8 +12579,8 @@ function HS(e, t, n, o) {
|
|
|
12570
12579
|
}
|
|
12571
12580
|
mn.__esModule = !0;
|
|
12572
12581
|
mn.parseWithoutProcessing = Fl;
|
|
12573
|
-
mn.parse =
|
|
12574
|
-
function
|
|
12582
|
+
mn.parse = JS;
|
|
12583
|
+
function jS(e) {
|
|
12575
12584
|
if (e && e.__esModule)
|
|
12576
12585
|
return e;
|
|
12577
12586
|
var t = {};
|
|
@@ -12583,24 +12592,24 @@ function FS(e) {
|
|
|
12583
12592
|
function Ga(e) {
|
|
12584
12593
|
return e && e.__esModule ? e : { default: e };
|
|
12585
12594
|
}
|
|
12586
|
-
var
|
|
12595
|
+
var US = RS, va = Ga(US), ZS = ES, WS = Ga(ZS), qS = Ue, VS = jS(qS), YS = je, Jt = Ga(YS), KS = ue;
|
|
12587
12596
|
mn.parser = va.default;
|
|
12588
12597
|
var On = {};
|
|
12589
|
-
|
|
12598
|
+
KS.extend(On, VS);
|
|
12590
12599
|
function Fl(e, t) {
|
|
12591
12600
|
if (e.type === "Program")
|
|
12592
|
-
return
|
|
12601
|
+
return XS(e), e;
|
|
12593
12602
|
va.default.yy = On, On.locInfo = function(o) {
|
|
12594
12603
|
return new On.SourceLocation(t && t.srcName, o);
|
|
12595
12604
|
};
|
|
12596
12605
|
var n = va.default.parse(e);
|
|
12597
12606
|
return n;
|
|
12598
12607
|
}
|
|
12599
|
-
function
|
|
12600
|
-
var n = Fl(e, t), o = new
|
|
12608
|
+
function JS(e, t) {
|
|
12609
|
+
var n = Fl(e, t), o = new WS.default(t);
|
|
12601
12610
|
return o.accept(n);
|
|
12602
12611
|
}
|
|
12603
|
-
function
|
|
12612
|
+
function XS(e) {
|
|
12604
12613
|
xa(e);
|
|
12605
12614
|
}
|
|
12606
12615
|
function xa(e) {
|
|
@@ -12611,7 +12620,7 @@ function xa(e) {
|
|
|
12611
12620
|
}
|
|
12612
12621
|
if (typeof e == "object") {
|
|
12613
12622
|
if (e.type === "PathExpression") {
|
|
12614
|
-
if (!
|
|
12623
|
+
if (!QS(e.depth))
|
|
12615
12624
|
throw new Jt.default("Invalid AST: PathExpression.depth must be an integer");
|
|
12616
12625
|
if (!Array.isArray(e.parts))
|
|
12617
12626
|
throw new Jt.default("Invalid AST: PathExpression.parts must be an array");
|
|
@@ -12629,18 +12638,18 @@ function xa(e) {
|
|
|
12629
12638
|
}
|
|
12630
12639
|
}
|
|
12631
12640
|
}
|
|
12632
|
-
function
|
|
12641
|
+
function QS(e) {
|
|
12633
12642
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && e >= 0;
|
|
12634
12643
|
}
|
|
12635
12644
|
var gn = {};
|
|
12636
12645
|
gn.__esModule = !0;
|
|
12637
12646
|
gn.Compiler = Sa;
|
|
12638
|
-
gn.precompile =
|
|
12639
|
-
gn.compile =
|
|
12647
|
+
gn.precompile = o2;
|
|
12648
|
+
gn.compile = a2;
|
|
12640
12649
|
function Gl(e) {
|
|
12641
12650
|
return e && e.__esModule ? e : { default: e };
|
|
12642
12651
|
}
|
|
12643
|
-
var
|
|
12652
|
+
var e2 = je, an = Gl(e2), un = ue, t2 = Dl, Xt = Gl(t2), n2 = [].slice;
|
|
12644
12653
|
function Sa() {
|
|
12645
12654
|
}
|
|
12646
12655
|
Sa.prototype = {
|
|
@@ -12783,7 +12792,7 @@ Sa.prototype = {
|
|
|
12783
12792
|
opcode: function(t) {
|
|
12784
12793
|
this.opcodes.push({
|
|
12785
12794
|
opcode: t,
|
|
12786
|
-
args:
|
|
12795
|
+
args: n2.call(arguments, 1),
|
|
12787
12796
|
loc: this.sourceNode[0].loc
|
|
12788
12797
|
});
|
|
12789
12798
|
},
|
|
@@ -12830,14 +12839,14 @@ Sa.prototype = {
|
|
|
12830
12839
|
}
|
|
12831
12840
|
}
|
|
12832
12841
|
};
|
|
12833
|
-
function
|
|
12842
|
+
function o2(e, t, n) {
|
|
12834
12843
|
if (e == null || typeof e != "string" && e.type !== "Program")
|
|
12835
12844
|
throw new an.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed " + e);
|
|
12836
12845
|
t = t || {}, "data" in t || (t.data = !0), t.compat && (t.useDepths = !0);
|
|
12837
12846
|
var o = n.parse(e, t), a = new n.Compiler().compile(o, t);
|
|
12838
12847
|
return new n.JavaScriptCompiler().compile(a, t);
|
|
12839
12848
|
}
|
|
12840
|
-
function
|
|
12849
|
+
function a2(e, t, n) {
|
|
12841
12850
|
if (t === void 0 && (t = {}), e == null || typeof e != "string" && e.type !== "Program")
|
|
12842
12851
|
throw new an.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed " + e);
|
|
12843
12852
|
t = un.extend({}, t), "data" in t || (t.data = !0), t.compat && (t.useDepths = !0);
|
|
@@ -12879,7 +12888,7 @@ function ii(e) {
|
|
|
12879
12888
|
}
|
|
12880
12889
|
}
|
|
12881
12890
|
var wa = { exports: {} }, ka = { exports: {} }, Qt = {}, Mo = {}, Rn = {}, En = {}, li;
|
|
12882
|
-
function
|
|
12891
|
+
function r2() {
|
|
12883
12892
|
if (li) return En;
|
|
12884
12893
|
li = 1;
|
|
12885
12894
|
var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
@@ -12896,7 +12905,7 @@ var si;
|
|
|
12896
12905
|
function Ul() {
|
|
12897
12906
|
if (si) return Rn;
|
|
12898
12907
|
si = 1;
|
|
12899
|
-
var e =
|
|
12908
|
+
var e = r2(), t = 5, n = 1 << t, o = n - 1, a = n;
|
|
12900
12909
|
function i(l) {
|
|
12901
12910
|
return l < 0 ? (-l << 1) + 1 : (l << 1) + 0;
|
|
12902
12911
|
}
|
|
@@ -13094,7 +13103,7 @@ function Zl() {
|
|
|
13094
13103
|
}, Po.ArraySet = o, Po;
|
|
13095
13104
|
}
|
|
13096
13105
|
var Oo = {}, di;
|
|
13097
|
-
function
|
|
13106
|
+
function i2() {
|
|
13098
13107
|
if (di) return Oo;
|
|
13099
13108
|
di = 1;
|
|
13100
13109
|
var e = bn();
|
|
@@ -13117,7 +13126,7 @@ var hi;
|
|
|
13117
13126
|
function Wl() {
|
|
13118
13127
|
if (hi) return Mo;
|
|
13119
13128
|
hi = 1;
|
|
13120
|
-
var e = Ul(), t = bn(), n = Zl().ArraySet, o =
|
|
13129
|
+
var e = Ul(), t = bn(), n = Zl().ArraySet, o = i2().MappingList;
|
|
13121
13130
|
function a(i) {
|
|
13122
13131
|
i || (i = {}), this._file = t.getArg(i, "file", null), this._sourceRoot = t.getArg(i, "sourceRoot", null), this._skipValidation = t.getArg(i, "skipValidation", !1), this._sources = new n(), this._names = new n(), this._mappings = new o(), this._sourcesContents = null;
|
|
13123
13132
|
}
|
|
@@ -13233,7 +13242,7 @@ function Wl() {
|
|
|
13233
13242
|
}, Mo.SourceMapGenerator = a, Mo;
|
|
13234
13243
|
}
|
|
13235
13244
|
var en = {}, Lo = {}, fi;
|
|
13236
|
-
function
|
|
13245
|
+
function l2() {
|
|
13237
13246
|
return fi || (fi = 1, function(e) {
|
|
13238
13247
|
e.GREATEST_LOWER_BOUND = 1, e.LEAST_UPPER_BOUND = 2;
|
|
13239
13248
|
function t(n, o, a, i, r, l) {
|
|
@@ -13260,7 +13269,7 @@ function r2() {
|
|
|
13260
13269
|
}(Lo)), Lo;
|
|
13261
13270
|
}
|
|
13262
13271
|
var zo = {}, pi;
|
|
13263
|
-
function
|
|
13272
|
+
function s2() {
|
|
13264
13273
|
if (pi) return zo;
|
|
13265
13274
|
pi = 1;
|
|
13266
13275
|
function e(o, a, i) {
|
|
@@ -13286,10 +13295,10 @@ function i2() {
|
|
|
13286
13295
|
}, zo;
|
|
13287
13296
|
}
|
|
13288
13297
|
var mi;
|
|
13289
|
-
function
|
|
13298
|
+
function c2() {
|
|
13290
13299
|
if (mi) return en;
|
|
13291
13300
|
mi = 1;
|
|
13292
|
-
var e = bn(), t =
|
|
13301
|
+
var e = bn(), t = l2(), n = Zl().ArraySet, o = Ul(), a = s2().quickSort;
|
|
13293
13302
|
function i(c, u) {
|
|
13294
13303
|
var p = c;
|
|
13295
13304
|
return typeof c == "string" && (p = e.parseSourceMapInput(c)), p.sections != null ? new s(p, u) : new r(p, u);
|
|
@@ -13655,7 +13664,7 @@ function l2() {
|
|
|
13655
13664
|
}, en.IndexedSourceMapConsumer = s, en;
|
|
13656
13665
|
}
|
|
13657
13666
|
var Bo = {}, gi;
|
|
13658
|
-
function
|
|
13667
|
+
function u2() {
|
|
13659
13668
|
if (gi) return Bo;
|
|
13660
13669
|
gi = 1;
|
|
13661
13670
|
var e = Wl().SourceMapGenerator, t = bn(), n = /(\r?\n)/, o = 10, a = "$$$isSourceNode$$$";
|
|
@@ -13801,14 +13810,14 @@ function s2() {
|
|
|
13801
13810
|
}, Bo.SourceNode = i, Bo;
|
|
13802
13811
|
}
|
|
13803
13812
|
var bi;
|
|
13804
|
-
function
|
|
13805
|
-
return bi || (bi = 1, Qt.SourceMapGenerator = Wl().SourceMapGenerator, Qt.SourceMapConsumer =
|
|
13813
|
+
function d2() {
|
|
13814
|
+
return bi || (bi = 1, Qt.SourceMapGenerator = Wl().SourceMapGenerator, Qt.SourceMapConsumer = c2().SourceMapConsumer, Qt.SourceNode = u2().SourceNode), Qt;
|
|
13806
13815
|
}
|
|
13807
13816
|
(function(e, t) {
|
|
13808
13817
|
t.__esModule = !0;
|
|
13809
13818
|
var n = ue, o = void 0;
|
|
13810
13819
|
try {
|
|
13811
|
-
var a =
|
|
13820
|
+
var a = d2();
|
|
13812
13821
|
o = a.SourceNode;
|
|
13813
13822
|
} catch {
|
|
13814
13823
|
}
|
|
@@ -13895,13 +13904,13 @@ function c2() {
|
|
|
13895
13904
|
}
|
|
13896
13905
|
}, t.default = r, e.exports = t.default;
|
|
13897
13906
|
})(ka, ka.exports);
|
|
13898
|
-
var
|
|
13907
|
+
var h2 = ka.exports;
|
|
13899
13908
|
(function(e, t) {
|
|
13900
13909
|
t.__esModule = !0;
|
|
13901
13910
|
function n(d) {
|
|
13902
13911
|
return d && d.__esModule ? d : { default: d };
|
|
13903
13912
|
}
|
|
13904
|
-
var o = Ge, a = je, i = n(a), r = ue, l =
|
|
13913
|
+
var o = Ge, a = je, i = n(a), r = ue, l = h2, s = n(l);
|
|
13905
13914
|
function c(d) {
|
|
13906
13915
|
this.value = d;
|
|
13907
13916
|
}
|
|
@@ -14409,13 +14418,13 @@ var u2 = ka.exports;
|
|
|
14409
14418
|
}
|
|
14410
14419
|
t.default = u, e.exports = t.default;
|
|
14411
14420
|
})(wa, wa.exports);
|
|
14412
|
-
var
|
|
14421
|
+
var f2 = wa.exports;
|
|
14413
14422
|
(function(e, t) {
|
|
14414
14423
|
t.__esModule = !0;
|
|
14415
14424
|
function n(S) {
|
|
14416
14425
|
return S && S.__esModule ? S : { default: S };
|
|
14417
14426
|
}
|
|
14418
|
-
var o =
|
|
14427
|
+
var o = NS, a = n(o), i = Dl, r = n(i), l = mn, s = gn, c = f2, u = n(c), p = Hl, d = n(p), h = Bl, m = n(h), b = a.default.create;
|
|
14419
14428
|
function v() {
|
|
14420
14429
|
var S = b();
|
|
14421
14430
|
return S.compile = function($, w) {
|
|
@@ -14427,9 +14436,9 @@ var d2 = wa.exports;
|
|
|
14427
14436
|
var k = v();
|
|
14428
14437
|
k.create = v, m.default(k), k.Visitor = d.default, k.default = k, t.default = k, e.exports = t.default;
|
|
14429
14438
|
})(Xo, Xo.exports);
|
|
14430
|
-
var
|
|
14431
|
-
const
|
|
14432
|
-
function
|
|
14439
|
+
var p2 = Xo.exports;
|
|
14440
|
+
const m2 = /* @__PURE__ */ f1(p2);
|
|
14441
|
+
function g2(e, t) {
|
|
14433
14442
|
const n = [], o = /* @__PURE__ */ new Set(), a = (i) => {
|
|
14434
14443
|
var l, s, c, u, p, d, h, m, b, v;
|
|
14435
14444
|
if (o.has(i) || !e[i]) return;
|
|
@@ -14495,12 +14504,12 @@ function ql(e, t) {
|
|
|
14495
14504
|
var c;
|
|
14496
14505
|
const s = l === 0 ? a.sourceBlockId : (c = a.rowIds) == null ? void 0 : c[l - 1];
|
|
14497
14506
|
if (!(!s || !o[s]))
|
|
14498
|
-
for (const u of
|
|
14507
|
+
for (const u of g2(o, s)) n.set(u, r || {});
|
|
14499
14508
|
});
|
|
14500
14509
|
}
|
|
14501
14510
|
return n;
|
|
14502
14511
|
}
|
|
14503
|
-
const
|
|
14512
|
+
const b2 = {
|
|
14504
14513
|
Text: ["text"],
|
|
14505
14514
|
Heading: ["text"],
|
|
14506
14515
|
Button: ["text", "url"],
|
|
@@ -14511,16 +14520,16 @@ const m2 = {
|
|
|
14511
14520
|
Progress: ["value", "max"],
|
|
14512
14521
|
Container: ["linkHref"]
|
|
14513
14522
|
};
|
|
14514
|
-
function
|
|
14515
|
-
return e ?
|
|
14523
|
+
function v2(e) {
|
|
14524
|
+
return e ? b2[e] : void 0;
|
|
14516
14525
|
}
|
|
14517
|
-
const _a =
|
|
14526
|
+
const _a = m2.create();
|
|
14518
14527
|
_a.registerHelper("helperMissing", function(...e) {
|
|
14519
14528
|
const t = e[e.length - 1];
|
|
14520
14529
|
return new _a.SafeString(`{{${t.name}}}`);
|
|
14521
14530
|
});
|
|
14522
14531
|
const vi = /* @__PURE__ */ new Map();
|
|
14523
|
-
function
|
|
14532
|
+
function x2(e) {
|
|
14524
14533
|
let t = vi.get(e);
|
|
14525
14534
|
return t || (t = _a.compile(e, { noEscape: !0, strict: !1 }), vi.set(e, t)), t;
|
|
14526
14535
|
}
|
|
@@ -14554,12 +14563,12 @@ function Yl(e) {
|
|
|
14554
14563
|
const t = (o = (n = e == null ? void 0 : e.root) == null ? void 0 : n.data) == null ? void 0 : o.formFields;
|
|
14555
14564
|
return Array.isArray(t) ? t : [];
|
|
14556
14565
|
}
|
|
14557
|
-
const
|
|
14558
|
-
function
|
|
14566
|
+
const S2 = /\{\{\s*#each\s+([\w.[\]]+)\s*\}\}([\s\S]*?)\{\{\s*\/each\s*\}\}/g;
|
|
14567
|
+
function w2(e, t) {
|
|
14559
14568
|
const n = /* @__PURE__ */ new Map();
|
|
14560
14569
|
if (e.indexOf("#each") === -1) return { masked: e, restore: n };
|
|
14561
14570
|
let o = 0;
|
|
14562
|
-
return { masked: e.replace(
|
|
14571
|
+
return { masked: e.replace(S2, (i, r) => {
|
|
14563
14572
|
const l = t[r];
|
|
14564
14573
|
if (Array.isArray(l) && l.length > 0) return i;
|
|
14565
14574
|
const c = "HB_EACH_" + o++ + "_";
|
|
@@ -14567,7 +14576,7 @@ function x2(e, t) {
|
|
|
14567
14576
|
}), restore: n };
|
|
14568
14577
|
}
|
|
14569
14578
|
const Kl = /\{\{\s*this\.([\w]+)\s*\}\}/g;
|
|
14570
|
-
function
|
|
14579
|
+
function k2(e, t) {
|
|
14571
14580
|
return e.replace(Kl, (n, o) => {
|
|
14572
14581
|
const a = t == null ? void 0 : t[o];
|
|
14573
14582
|
return a != null && a !== "" ? String(a) : n;
|
|
@@ -14577,9 +14586,9 @@ function Do(e, t, n) {
|
|
|
14577
14586
|
if (!e) return e ?? "";
|
|
14578
14587
|
if (e.indexOf("{{") === -1) return e;
|
|
14579
14588
|
let o = e;
|
|
14580
|
-
if (n && (o =
|
|
14589
|
+
if (n && (o = k2(o, n), o.indexOf("{{") === -1) || !t || t.length === 0) return o;
|
|
14581
14590
|
try {
|
|
14582
|
-
const a = t && t.length > 0 ? Vl(t) : {}, { masked: i, restore: r } =
|
|
14591
|
+
const a = t && t.length > 0 ? Vl(t) : {}, { masked: i, restore: r } = w2(o, a), l = /* @__PURE__ */ new Map();
|
|
14583
14592
|
let s = i;
|
|
14584
14593
|
if (i.indexOf("{{") !== -1 && i.indexOf("#each") === -1) {
|
|
14585
14594
|
let u = 0;
|
|
@@ -14588,7 +14597,7 @@ function Do(e, t, n) {
|
|
|
14588
14597
|
return l.set(d, p), d;
|
|
14589
14598
|
});
|
|
14590
14599
|
}
|
|
14591
|
-
let c =
|
|
14600
|
+
let c = x2(s)(a);
|
|
14592
14601
|
for (const [u, p] of l)
|
|
14593
14602
|
c = c.split(u).join(p);
|
|
14594
14603
|
if (r.size > 0)
|
|
@@ -14632,7 +14641,7 @@ function Jl(e, t, n) {
|
|
|
14632
14641
|
data: { ...e.data, props: { ...e.data.props, items: d } }
|
|
14633
14642
|
} : e;
|
|
14634
14643
|
}
|
|
14635
|
-
const o =
|
|
14644
|
+
const o = v2(e.type);
|
|
14636
14645
|
if (!o) return e;
|
|
14637
14646
|
const a = (u = e.data) == null ? void 0 : u.props;
|
|
14638
14647
|
if (!a) return e;
|
|
@@ -14669,25 +14678,25 @@ const xi = Object.fromEntries(
|
|
|
14669
14678
|
function Zn(e) {
|
|
14670
14679
|
return !!e && typeof e == "object" && "top" in e && "left" in e;
|
|
14671
14680
|
}
|
|
14672
|
-
function
|
|
14681
|
+
function _2(e) {
|
|
14673
14682
|
return e.includes("linear-gradient") || e.includes("radial-gradient") || e.includes("repeating-linear-gradient");
|
|
14674
14683
|
}
|
|
14675
|
-
function
|
|
14684
|
+
function $2(e) {
|
|
14676
14685
|
const t = e.borderColor ?? null;
|
|
14677
14686
|
if (!t) return "";
|
|
14678
14687
|
if (t === "transparent") return "border:none!important";
|
|
14679
14688
|
const n = Zn(e.borderWidth) ? e.borderWidth : null;
|
|
14680
|
-
return
|
|
14689
|
+
return _2(t) ? "" : [
|
|
14681
14690
|
`border-top:${(n == null ? void 0 : n.top) ?? 0}px solid ${t}!important`,
|
|
14682
14691
|
`border-right:${(n == null ? void 0 : n.right) ?? 0}px solid ${t}!important`,
|
|
14683
14692
|
`border-bottom:${(n == null ? void 0 : n.bottom) ?? 0}px solid ${t}!important`,
|
|
14684
14693
|
`border-left:${(n == null ? void 0 : n.left) ?? 0}px solid ${t}!important`
|
|
14685
14694
|
].join(";");
|
|
14686
14695
|
}
|
|
14687
|
-
function
|
|
14696
|
+
function C2(e) {
|
|
14688
14697
|
const t = [];
|
|
14689
14698
|
if (e.borderColor !== void 0 || e.borderWidth !== void 0) {
|
|
14690
|
-
const o =
|
|
14699
|
+
const o = $2(e);
|
|
14691
14700
|
o && t.push(o);
|
|
14692
14701
|
}
|
|
14693
14702
|
const n = e.backgroundSize === "none";
|
|
@@ -14810,7 +14819,7 @@ function _2(e) {
|
|
|
14810
14819
|
}
|
|
14811
14820
|
return t.join(";");
|
|
14812
14821
|
}
|
|
14813
|
-
function
|
|
14822
|
+
function A2(e) {
|
|
14814
14823
|
const t = [];
|
|
14815
14824
|
for (const n of Object.keys(e)) {
|
|
14816
14825
|
const o = e[n];
|
|
@@ -14852,17 +14861,17 @@ function Si(e, t) {
|
|
|
14852
14861
|
}
|
|
14853
14862
|
return o;
|
|
14854
14863
|
}
|
|
14855
|
-
function
|
|
14864
|
+
function y2(e, t, n, o) {
|
|
14856
14865
|
if (!t) return "";
|
|
14857
|
-
const a = `#${e}`, i =
|
|
14858
|
-
const p = Si(n, u == null ? void 0 : u.style), d = Si(o, u == null ? void 0 : u.props), h = [p ?
|
|
14866
|
+
const a = `#${e}`, i = R2(a), r = [], l = (c, u) => {
|
|
14867
|
+
const p = Si(n, u == null ? void 0 : u.style), d = Si(o, u == null ? void 0 : u.props), h = [p ? C2(p) : "", d ? A2(d) : ""].filter(Boolean).join(";"), m = [h ? `${i}{${h}}` : "", u != null && u.hidden ? `${a}{display:none}` : ""].filter(Boolean).join("");
|
|
14859
14868
|
m && r.push(`${c}{${m}}`);
|
|
14860
14869
|
};
|
|
14861
14870
|
l(fn, t.tablet), l(`@media (max-width:${Re}px)`, t.mobile);
|
|
14862
|
-
const s =
|
|
14871
|
+
const s = I2(e, t, n, o);
|
|
14863
14872
|
return s && r.push(s), r.join("");
|
|
14864
14873
|
}
|
|
14865
|
-
function
|
|
14874
|
+
function N2(e, t) {
|
|
14866
14875
|
return t ? e ? { ...e, ...t } : t : e;
|
|
14867
14876
|
}
|
|
14868
14877
|
function $a(e, t) {
|
|
@@ -14870,13 +14879,13 @@ function $a(e, t) {
|
|
|
14870
14879
|
}
|
|
14871
14880
|
function wi(e, t, n) {
|
|
14872
14881
|
const o = $a(e, t), a = $a(n == null ? void 0 : n.style, n == null ? void 0 : n.props);
|
|
14873
|
-
return
|
|
14882
|
+
return N2(o, a);
|
|
14874
14883
|
}
|
|
14875
14884
|
function Ho(e) {
|
|
14876
14885
|
const t = ((e == null ? void 0 : e.left) ?? 0) + ((e == null ? void 0 : e.right) ?? 0);
|
|
14877
14886
|
return t > 0 ? `calc(100% - ${t}px)` : "100%";
|
|
14878
14887
|
}
|
|
14879
|
-
function
|
|
14888
|
+
function R2(e) {
|
|
14880
14889
|
return [
|
|
14881
14890
|
`${e}>.text-block`,
|
|
14882
14891
|
`${e}>.button-block`,
|
|
@@ -14914,7 +14923,7 @@ function y2(e) {
|
|
|
14914
14923
|
`${e}>.ahd-menu`
|
|
14915
14924
|
].join(",");
|
|
14916
14925
|
}
|
|
14917
|
-
function
|
|
14926
|
+
function E2(e) {
|
|
14918
14927
|
return [
|
|
14919
14928
|
`${e}>.text-block`,
|
|
14920
14929
|
`${e}>.button-block`,
|
|
@@ -14953,9 +14962,9 @@ function N2(e) {
|
|
|
14953
14962
|
`${e}>.ahd-menu`
|
|
14954
14963
|
].join(",");
|
|
14955
14964
|
}
|
|
14956
|
-
function
|
|
14965
|
+
function I2(e, t, n, o) {
|
|
14957
14966
|
if (!t) return "";
|
|
14958
|
-
const a = `#${e}`, i =
|
|
14967
|
+
const a = `#${e}`, i = E2(a), r = $a(n, o), l = Ho(r), s = Ho(
|
|
14959
14968
|
wi(n, o, t.tablet)
|
|
14960
14969
|
), c = Ho(
|
|
14961
14970
|
wi(n, o, t.mobile)
|
|
@@ -14965,93 +14974,93 @@ ${fn} { ${i} { width: ${s} !important; max-width: 100% !important; } }
|
|
|
14965
14974
|
@media (max-width:${Re}px) { ${i} { width: ${c} !important; max-width: 100% !important; } }
|
|
14966
14975
|
`.trim();
|
|
14967
14976
|
}
|
|
14968
|
-
const
|
|
14977
|
+
const M2 = (e) => {
|
|
14969
14978
|
var o, a;
|
|
14970
14979
|
const t = !!((o = e == null ? void 0 : e.props) != null && o.decorative), n = ((a = e == null ? void 0 : e.props) == null ? void 0 : a.alt) ?? "";
|
|
14971
14980
|
return t ? /* @__PURE__ */ g("div", { "aria-hidden": "true", role: "presentation", style: { display: "contents" }, children: /* @__PURE__ */ g(Sr, { ...e, props: { ...(e == null ? void 0 : e.props) ?? {}, alt: "" } }) }) : /* @__PURE__ */ g(Sr, { ...e, props: { ...(e == null ? void 0 : e.props) ?? {}, alt: n } });
|
|
14972
|
-
},
|
|
14981
|
+
}, T2 = (e) => /* @__PURE__ */ g("div", { "aria-hidden": "true", style: { display: "contents" }, children: /* @__PURE__ */ g(Om, { ...e }) }), P2 = t0, Ql = Ai({});
|
|
14973
14982
|
function es(e) {
|
|
14974
14983
|
var n, o;
|
|
14975
14984
|
const t = (o = (n = e == null ? void 0 : e.root) == null ? void 0 : n.data) == null ? void 0 : o.formFields;
|
|
14976
14985
|
return Array.isArray(t) ? t : [];
|
|
14977
14986
|
}
|
|
14978
14987
|
const ki = /* @__PURE__ */ new WeakMap();
|
|
14979
|
-
function
|
|
14988
|
+
function O2(e) {
|
|
14980
14989
|
if (!e || typeof e != "object") return /* @__PURE__ */ new Map();
|
|
14981
14990
|
let t = ki.get(e);
|
|
14982
14991
|
return t || (t = ql(e, es(e)), ki.set(e, t)), t;
|
|
14983
14992
|
}
|
|
14984
14993
|
const ts = Ai({});
|
|
14985
|
-
function
|
|
14994
|
+
function L2() {
|
|
14986
14995
|
return yi(Ql);
|
|
14987
14996
|
}
|
|
14988
|
-
function
|
|
14997
|
+
function z2() {
|
|
14989
14998
|
return yi(ts);
|
|
14990
14999
|
}
|
|
14991
15000
|
const ns = {
|
|
14992
15001
|
ColumnsContainer: {
|
|
14993
|
-
schema:
|
|
14994
|
-
Component:
|
|
15002
|
+
schema: zg,
|
|
15003
|
+
Component: Dg
|
|
14995
15004
|
},
|
|
14996
15005
|
FlexColumns: {
|
|
14997
|
-
schema:
|
|
14998
|
-
Component:
|
|
15006
|
+
schema: Hg,
|
|
15007
|
+
Component: qg
|
|
14999
15008
|
},
|
|
15000
15009
|
Grid: {
|
|
15001
|
-
schema:
|
|
15002
|
-
Component:
|
|
15010
|
+
schema: ab,
|
|
15011
|
+
Component: sb
|
|
15003
15012
|
},
|
|
15004
15013
|
ButtonGroup: {
|
|
15005
|
-
schema:
|
|
15006
|
-
Component:
|
|
15014
|
+
schema: P0,
|
|
15015
|
+
Component: O0
|
|
15007
15016
|
},
|
|
15008
15017
|
Container: {
|
|
15009
|
-
schema:
|
|
15010
|
-
Component:
|
|
15018
|
+
schema: Ab,
|
|
15019
|
+
Component: yb
|
|
15011
15020
|
},
|
|
15012
15021
|
EmailLayout: {
|
|
15013
|
-
schema:
|
|
15014
|
-
Component:
|
|
15022
|
+
schema: Bb,
|
|
15023
|
+
Component: P2
|
|
15015
15024
|
},
|
|
15016
15025
|
Accordion: {
|
|
15017
|
-
schema:
|
|
15018
|
-
Component:
|
|
15026
|
+
schema: z0,
|
|
15027
|
+
Component: H0
|
|
15019
15028
|
},
|
|
15020
15029
|
PricingAccordion: {
|
|
15021
|
-
schema:
|
|
15022
|
-
Component:
|
|
15030
|
+
schema: G0,
|
|
15031
|
+
Component: U0
|
|
15023
15032
|
},
|
|
15024
15033
|
TabsBlock: {
|
|
15025
|
-
schema:
|
|
15026
|
-
Component:
|
|
15034
|
+
schema: W0,
|
|
15035
|
+
Component: tv
|
|
15027
15036
|
},
|
|
15028
15037
|
Carousel: {
|
|
15029
|
-
schema:
|
|
15030
|
-
Component:
|
|
15038
|
+
schema: rv,
|
|
15039
|
+
Component: cv
|
|
15031
15040
|
},
|
|
15032
15041
|
Rating: {
|
|
15033
|
-
schema:
|
|
15034
|
-
Component:
|
|
15042
|
+
schema: uv,
|
|
15043
|
+
Component: pv
|
|
15035
15044
|
},
|
|
15036
15045
|
Progress: {
|
|
15037
|
-
schema:
|
|
15038
|
-
Component:
|
|
15046
|
+
schema: bv,
|
|
15047
|
+
Component: _v
|
|
15039
15048
|
},
|
|
15040
15049
|
Marquee: {
|
|
15041
|
-
schema:
|
|
15042
|
-
Component:
|
|
15050
|
+
schema: $v,
|
|
15051
|
+
Component: Bv
|
|
15043
15052
|
},
|
|
15044
15053
|
Timer: {
|
|
15045
|
-
schema:
|
|
15046
|
-
Component:
|
|
15054
|
+
schema: Fv,
|
|
15055
|
+
Component: Kv
|
|
15047
15056
|
},
|
|
15048
15057
|
Pagination: {
|
|
15049
|
-
schema:
|
|
15050
|
-
Component:
|
|
15058
|
+
schema: ex,
|
|
15059
|
+
Component: sx
|
|
15051
15060
|
},
|
|
15052
15061
|
Table: {
|
|
15053
|
-
schema:
|
|
15054
|
-
Component:
|
|
15062
|
+
schema: cx,
|
|
15063
|
+
Component: fx
|
|
15055
15064
|
},
|
|
15056
15065
|
// Picker readers reach back into `../../Reader/core` (MenuReader) or
|
|
15057
15066
|
// `../../index` (AppBannerReader / FaqReader) which re-exports this
|
|
@@ -15060,33 +15069,33 @@ const ns = {
|
|
|
15060
15069
|
// at load time. Wrapping each in an arrow defers the identifier
|
|
15061
15070
|
// lookup to render time, when every module has finished evaluating.
|
|
15062
15071
|
DemoPicker: {
|
|
15063
|
-
schema:
|
|
15064
|
-
Component: (e) => /* @__PURE__ */ g(
|
|
15072
|
+
schema: px,
|
|
15073
|
+
Component: (e) => /* @__PURE__ */ g(gx, { ...e })
|
|
15065
15074
|
},
|
|
15066
15075
|
MenuPicker: {
|
|
15067
|
-
schema:
|
|
15068
|
-
Component: (e) => /* @__PURE__ */ g(
|
|
15076
|
+
schema: vx,
|
|
15077
|
+
Component: (e) => /* @__PURE__ */ g(Px, { ...e })
|
|
15069
15078
|
},
|
|
15070
15079
|
Breadcrumb: {
|
|
15071
|
-
schema:
|
|
15072
|
-
Component:
|
|
15080
|
+
schema: Dx,
|
|
15081
|
+
Component: qx
|
|
15073
15082
|
},
|
|
15074
15083
|
FormsPicker: {
|
|
15075
|
-
schema:
|
|
15076
|
-
Component: (e) => /* @__PURE__ */ g(
|
|
15084
|
+
schema: Vx,
|
|
15085
|
+
Component: (e) => /* @__PURE__ */ g(Jx, { ...e })
|
|
15077
15086
|
},
|
|
15078
15087
|
AppBannerPicker: {
|
|
15079
|
-
schema:
|
|
15080
|
-
Component: (e) => /* @__PURE__ */ g(
|
|
15088
|
+
schema: Xx,
|
|
15089
|
+
Component: (e) => /* @__PURE__ */ g(t1, { ...e })
|
|
15081
15090
|
},
|
|
15082
15091
|
FaqPicker: {
|
|
15083
|
-
schema:
|
|
15084
|
-
Component: (e) => /* @__PURE__ */ g(
|
|
15092
|
+
schema: n1,
|
|
15093
|
+
Component: (e) => /* @__PURE__ */ g(r1, { ...e })
|
|
15085
15094
|
},
|
|
15086
15095
|
//
|
|
15087
15096
|
Avatar: {
|
|
15088
15097
|
schema: hf,
|
|
15089
|
-
Component:
|
|
15098
|
+
Component: M2
|
|
15090
15099
|
},
|
|
15091
15100
|
Button: {
|
|
15092
15101
|
schema: jf,
|
|
@@ -15117,12 +15126,12 @@ const ns = {
|
|
|
15117
15126
|
Component: Mm
|
|
15118
15127
|
},
|
|
15119
15128
|
IFrame: {
|
|
15120
|
-
schema:
|
|
15121
|
-
Component:
|
|
15129
|
+
schema: rg,
|
|
15130
|
+
Component: sg
|
|
15122
15131
|
},
|
|
15123
15132
|
Calendly: {
|
|
15124
|
-
schema:
|
|
15125
|
-
Component:
|
|
15133
|
+
schema: dg,
|
|
15134
|
+
Component: pg
|
|
15126
15135
|
},
|
|
15127
15136
|
YouTubeUrl: {
|
|
15128
15137
|
schema: eg,
|
|
@@ -15130,23 +15139,23 @@ const ns = {
|
|
|
15130
15139
|
},
|
|
15131
15140
|
Spacer: {
|
|
15132
15141
|
schema: Tm,
|
|
15133
|
-
Component:
|
|
15142
|
+
Component: T2
|
|
15134
15143
|
},
|
|
15135
15144
|
SkipLink: {
|
|
15136
|
-
schema:
|
|
15145
|
+
schema: i1,
|
|
15137
15146
|
Component: yl
|
|
15138
15147
|
},
|
|
15139
15148
|
AccessibilityTools: {
|
|
15140
|
-
schema:
|
|
15149
|
+
schema: s1,
|
|
15141
15150
|
Component: Il
|
|
15142
15151
|
},
|
|
15143
15152
|
Stepper: {
|
|
15144
|
-
schema:
|
|
15145
|
-
Component:
|
|
15153
|
+
schema: d0,
|
|
15154
|
+
Component: h0
|
|
15146
15155
|
},
|
|
15147
15156
|
List: {
|
|
15148
|
-
schema:
|
|
15149
|
-
Component:
|
|
15157
|
+
schema: w0,
|
|
15158
|
+
Component: _0
|
|
15150
15159
|
},
|
|
15151
15160
|
Text: {
|
|
15152
15161
|
schema: Ym,
|
|
@@ -15154,10 +15163,10 @@ const ns = {
|
|
|
15154
15163
|
}
|
|
15155
15164
|
// Mdx / QuillBlock / DemoPicker / MenuPicker / AppBannerPicker / FaqPicker /
|
|
15156
15165
|
// FormsPicker blocks removed from the standalone page editor build.
|
|
15157
|
-
},
|
|
15166
|
+
}, B2 = Sg(ns), _w = Dt(x(), B2), D2 = xg(ns);
|
|
15158
15167
|
function Se({ id: e }) {
|
|
15159
15168
|
var $, w, _, N, A, y, R;
|
|
15160
|
-
const t =
|
|
15169
|
+
const t = L2(), { staticRender: n, injectElementIds: o, mainBlockId: a, hoistedSkipLinkId: i, hoistedA11yToolsId: r } = z2(), l = t[e];
|
|
15161
15170
|
if (i && e === i && (l == null ? void 0 : l.type) === "SkipLink" || r && e === r && (l == null ? void 0 : l.type) === "AccessibilityTools")
|
|
15162
15171
|
return null;
|
|
15163
15172
|
const s = a && e === a && (l == null ? void 0 : l.type) === "Container" ? {
|
|
@@ -15169,7 +15178,7 @@ function Se({ id: e }) {
|
|
|
15169
15178
|
elementId: "main-content"
|
|
15170
15179
|
}
|
|
15171
15180
|
}
|
|
15172
|
-
} : l, c = es(t), u =
|
|
15181
|
+
} : l, c = es(t), u = O2(t).get(e), p = Jl(s, c, u), d = /* @__PURE__ */ g(D2, { ...p });
|
|
15173
15182
|
if (e === "root") return d;
|
|
15174
15183
|
const h = !!((w = l == null ? void 0 : l.data) != null && w.hidden), b = (/* @__PURE__ */ new Set(["Image", "Container", "Button", "Avatar", "Logo"])).has(p == null ? void 0 : p.type) ? (N = (_ = p == null ? void 0 : p.data) == null ? void 0 : _.props) == null ? void 0 : N.animation : null, v = b && b.type && b.type !== "none" ? {
|
|
15175
15184
|
"data-animate-type": b.type,
|
|
@@ -15177,7 +15186,7 @@ function Se({ id: e }) {
|
|
|
15177
15186
|
"data-animate-speed": b.speed ?? "medium",
|
|
15178
15187
|
"data-animate-delay": b.delay ?? 0,
|
|
15179
15188
|
...b.disableOnMobile ? { "data-animate-disable-mobile": "true" } : {}
|
|
15180
|
-
} : {}, k = n && o ? `ahd-${e}` : e, S =
|
|
15189
|
+
} : {}, k = n && o ? `ahd-${e}` : e, S = y2(
|
|
15181
15190
|
k,
|
|
15182
15191
|
(A = p == null ? void 0 : p.data) == null ? void 0 : A.responsive,
|
|
15183
15192
|
(y = p == null ? void 0 : p.data) == null ? void 0 : y.style,
|
|
@@ -15222,15 +15231,15 @@ function Wn({ document: e, rootBlockId: t, staticRender: n, injectElementIds: o,
|
|
|
15222
15231
|
);
|
|
15223
15232
|
return /* @__PURE__ */ g(Ql.Provider, { value: e, children: /* @__PURE__ */ g(ts.Provider, { value: s, children: /* @__PURE__ */ g(Se, { id: t }) }) });
|
|
15224
15233
|
}
|
|
15225
|
-
function
|
|
15234
|
+
function H2(e) {
|
|
15226
15235
|
for (const [t, n] of Object.entries(e ?? {}))
|
|
15227
15236
|
if ((n == null ? void 0 : n.type) === "SkipLink") return t;
|
|
15228
15237
|
}
|
|
15229
|
-
function
|
|
15238
|
+
function F2(e) {
|
|
15230
15239
|
for (const [t, n] of Object.entries(e ?? {}))
|
|
15231
15240
|
if ((n == null ? void 0 : n.type) === "AccessibilityTools") return t;
|
|
15232
15241
|
}
|
|
15233
|
-
function
|
|
15242
|
+
function G2(e, t) {
|
|
15234
15243
|
const n = /* @__PURE__ */ new Set();
|
|
15235
15244
|
function o(a) {
|
|
15236
15245
|
var s, c, u, p;
|
|
@@ -15252,7 +15261,7 @@ function H2(e, t) {
|
|
|
15252
15261
|
}
|
|
15253
15262
|
return o(t);
|
|
15254
15263
|
}
|
|
15255
|
-
const
|
|
15264
|
+
const j2 = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.type) === "TabsBlock"), U2 = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.type) === "DemoPicker"), Z2 = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.type) === "Carousel"), W2 = /* @__PURE__ */ new Set([
|
|
15256
15265
|
"Image",
|
|
15257
15266
|
"Container",
|
|
15258
15267
|
"Button",
|
|
@@ -15260,12 +15269,12 @@ const F2 = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.typ
|
|
|
15260
15269
|
"Logo",
|
|
15261
15270
|
"Heading",
|
|
15262
15271
|
"Text"
|
|
15263
|
-
]),
|
|
15272
|
+
]), q2 = (e) => Object.values(e ?? {}).some(
|
|
15264
15273
|
(t) => {
|
|
15265
15274
|
var n, o, a;
|
|
15266
|
-
return
|
|
15275
|
+
return W2.has(t == null ? void 0 : t.type) && ((a = (o = (n = t == null ? void 0 : t.data) == null ? void 0 : n.props) == null ? void 0 : o.animation) == null ? void 0 : a.type) && t.data.props.animation.type !== "none";
|
|
15267
15276
|
}
|
|
15268
|
-
),
|
|
15277
|
+
), V2 = () => `
|
|
15269
15278
|
(function () {
|
|
15270
15279
|
if (window.__ahdAnimationBound) return;
|
|
15271
15280
|
window.__ahdAnimationBound = true;
|
|
@@ -15373,7 +15382,7 @@ const F2 = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.typ
|
|
|
15373
15382
|
var timer = setInterval(function () { initAll(); if (++tries > 20) clearInterval(timer); }, 250);
|
|
15374
15383
|
}
|
|
15375
15384
|
})();
|
|
15376
|
-
`.trim(),
|
|
15385
|
+
`.trim(), Y2 = () => `
|
|
15377
15386
|
(function () {
|
|
15378
15387
|
var BASE_WIDTH = 1440;
|
|
15379
15388
|
var BASE_HEIGHT = 830;
|
|
@@ -15402,7 +15411,7 @@ const F2 = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.typ
|
|
|
15402
15411
|
init();
|
|
15403
15412
|
}
|
|
15404
15413
|
})();
|
|
15405
|
-
`,
|
|
15414
|
+
`, K2 = () => `
|
|
15406
15415
|
(function () {
|
|
15407
15416
|
if (window.__ahdTabsBound) return;
|
|
15408
15417
|
window.__ahdTabsBound = true;
|
|
@@ -15526,7 +15535,7 @@ const F2 = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.typ
|
|
|
15526
15535
|
var timer = setInterval(function () { initAll(); if (++tries > 20) clearInterval(timer); }, 250);
|
|
15527
15536
|
}
|
|
15528
15537
|
})();
|
|
15529
|
-
`,
|
|
15538
|
+
`, J2 = () => `
|
|
15530
15539
|
(function () {
|
|
15531
15540
|
if (window.__ahdCarouselBound) return;
|
|
15532
15541
|
window.__ahdCarouselBound = true;
|
|
@@ -15708,7 +15717,7 @@ const F2 = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.typ
|
|
|
15708
15717
|
var timer = setInterval(function () { initAll(); if (++tries > 20) clearInterval(timer); }, 250);
|
|
15709
15718
|
}
|
|
15710
15719
|
})();
|
|
15711
|
-
`,
|
|
15720
|
+
`, X2 = `
|
|
15712
15721
|
@keyframes ahd-anim-fade-in { from { opacity: 0; } to { opacity: 1; } }
|
|
15713
15722
|
@keyframes ahd-anim-slide-left { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
|
|
15714
15723
|
@keyframes ahd-anim-slide-right { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
|
|
@@ -15721,8 +15730,8 @@ const F2 = (e) => Object.values(e ?? {}).some((t) => (t == null ? void 0 : t.typ
|
|
|
15721
15730
|
80% { transform: translateY(-2px); }
|
|
15722
15731
|
100% { opacity: 1; transform: translateY(0); }
|
|
15723
15732
|
}
|
|
15724
|
-
`.trim(),
|
|
15725
|
-
${
|
|
15733
|
+
`.trim(), Q2 = `
|
|
15734
|
+
${X2}
|
|
15726
15735
|
|
|
15727
15736
|
/* Elements that animate on scroll/hover/click start hidden so there is no
|
|
15728
15737
|
flash of the final state before the trigger fires. Load-triggered elements
|
|
@@ -15740,7 +15749,7 @@ html.ahd-anim-ready [data-animate-type]:not([data-animate-trigger="load"]):not(.
|
|
|
15740
15749
|
animation-fill-mode: both;
|
|
15741
15750
|
animation-timing-function: ease-out;
|
|
15742
15751
|
}
|
|
15743
|
-
`.trim(),
|
|
15752
|
+
`.trim(), ew = (e) => e.replace(/\/\*[\s\S]*?\*\//g, "").replace(/\s*([{}:;,>~+])\s*/g, "$1").replace(/\s+/g, " ").replace(/;}/g, "}").trim(), tw = (e, t = !1) => ew(`
|
|
15744
15753
|
|
|
15745
15754
|
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css');
|
|
15746
15755
|
|
|
@@ -16572,7 +16581,7 @@ table[style*="maxHeight"] {
|
|
|
16572
16581
|
transform: translateY(-7px) rotate(-45deg);
|
|
16573
16582
|
}
|
|
16574
16583
|
}
|
|
16575
|
-
`),
|
|
16584
|
+
`), nw = [
|
|
16576
16585
|
{
|
|
16577
16586
|
key: "inherit",
|
|
16578
16587
|
label: "Inherit",
|
|
@@ -16723,7 +16732,7 @@ table[style*="maxHeight"] {
|
|
|
16723
16732
|
label: "Bebas Neue",
|
|
16724
16733
|
value: '"Bebas Neue", cursive, sans-serif'
|
|
16725
16734
|
}
|
|
16726
|
-
],
|
|
16735
|
+
], ow = {
|
|
16727
16736
|
Inter: [400, 500, 600, 700],
|
|
16728
16737
|
Roboto: [400, 500, 700],
|
|
16729
16738
|
"Open Sans": [400, 500, 600, 700],
|
|
@@ -16750,19 +16759,19 @@ table[style*="maxHeight"] {
|
|
|
16750
16759
|
"Libre Baskerville": [400, 700],
|
|
16751
16760
|
"EB Garamond": [400, 500, 700],
|
|
16752
16761
|
Lora: [400, 500, 700]
|
|
16753
|
-
},
|
|
16762
|
+
}, aw = (e, t) => {
|
|
16754
16763
|
const n = e.replace(/ /g, "+");
|
|
16755
16764
|
return t.length === 1 && t[0] === 400 ? n : `${n}:wght@${t.join(";")}`;
|
|
16756
|
-
},
|
|
16757
|
-
|
|
16758
|
-
).map(([e, t]) => `family=${
|
|
16765
|
+
}, rw = `https://fonts.googleapis.com/css2?${Object.entries(
|
|
16766
|
+
ow
|
|
16767
|
+
).map(([e, t]) => `family=${aw(e, t)}`).join("&")}&display=swap`, os = nw.filter((e) => e.key !== "inherit").map((e) => ({
|
|
16759
16768
|
label: e.label,
|
|
16760
16769
|
css: e.value
|
|
16761
16770
|
}));
|
|
16762
16771
|
os.map((e) => e.css);
|
|
16763
|
-
const
|
|
16772
|
+
const iw = (e) => e.replace(/"/g, '\\"');
|
|
16764
16773
|
os.map((e) => {
|
|
16765
|
-
const t =
|
|
16774
|
+
const t = iw(e.css);
|
|
16766
16775
|
return `
|
|
16767
16776
|
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="${t}"]::before,
|
|
16768
16777
|
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="${t}"]::before {
|
|
@@ -16771,7 +16780,7 @@ os.map((e) => {
|
|
|
16771
16780
|
}`;
|
|
16772
16781
|
}).join(`
|
|
16773
16782
|
`);
|
|
16774
|
-
const
|
|
16783
|
+
const lw = (e) => {
|
|
16775
16784
|
let t = 0;
|
|
16776
16785
|
const n = e.replace(/<style([^>]*)>([\s\S]*?)<\/style>/gi, (o, a, i) => {
|
|
16777
16786
|
t++;
|
|
@@ -16804,11 +16813,11 @@ function as(e, {
|
|
|
16804
16813
|
(H) => (H == null ? void 0 : H.type) === "AccessibilityTools"
|
|
16805
16814
|
);
|
|
16806
16815
|
!$ && (k == null || k.enabled);
|
|
16807
|
-
const _ = !w && !!(S != null && S.enabled), N = _ ? Nl(S) : "", A = _ ? Rl(S) : "", y = _ ? El() : "", R = d &&
|
|
16808
|
-
s && /* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html:
|
|
16816
|
+
const _ = !w && !!(S != null && S.enabled), N = _ ? Nl(S) : "", A = _ ? Rl(S) : "", y = _ ? El() : "", R = d && j2(e) ? K2() : "", M = h && Z2(e) ? J2() : "", T = U2(e) ? Y2() : "", z = q2(e), G = m && z ? V2() : "", j = /* @__PURE__ */ P("div", { style: { margin: 0, padding: 0 }, children: [
|
|
16817
|
+
s && /* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: tw() } }),
|
|
16809
16818
|
N && /* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: N } }),
|
|
16810
|
-
z && /* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html:
|
|
16811
|
-
b && /* @__PURE__ */ g("link", { rel: "stylesheet", href:
|
|
16819
|
+
z && /* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: Q2 } }),
|
|
16820
|
+
b && /* @__PURE__ */ g("link", { rel: "stylesheet", href: rw }),
|
|
16812
16821
|
/* @__PURE__ */ g("style", { children: `.gc-tooltip * {
|
|
16813
16822
|
margin: 0;
|
|
16814
16823
|
padding: 0;
|
|
@@ -16819,7 +16828,7 @@ function as(e, {
|
|
|
16819
16828
|
A && /* @__PURE__ */ g("div", { dangerouslySetInnerHTML: { __html: A } }),
|
|
16820
16829
|
y && /* @__PURE__ */ g("script", { dangerouslySetInnerHTML: { __html: y } }),
|
|
16821
16830
|
(() => {
|
|
16822
|
-
const H =
|
|
16831
|
+
const H = H2(e), Y = F2(e), de = G2(e, t), oe = H ? e[H] : null, ee = Y ? e[Y] : null, Z = de ? /* @__PURE__ */ g(
|
|
16823
16832
|
Wn,
|
|
16824
16833
|
{
|
|
16825
16834
|
document: e,
|
|
@@ -16856,13 +16865,13 @@ function as(e, {
|
|
|
16856
16865
|
] }), D = hs(
|
|
16857
16866
|
j
|
|
16858
16867
|
);
|
|
16859
|
-
let L = a ?
|
|
16868
|
+
let L = a ? lw(D) : D;
|
|
16860
16869
|
return c && (L = L.replace("</head>", `${c}</head>`)), u && (L = L.replace("</body>", `${u}</body>`)), L;
|
|
16861
16870
|
}
|
|
16862
16871
|
function _i(e) {
|
|
16863
16872
|
return ((e == null ? void 0 : e.sectionType) || "internal") === "external";
|
|
16864
16873
|
}
|
|
16865
|
-
function
|
|
16874
|
+
function sw(e, t = {}) {
|
|
16866
16875
|
var a;
|
|
16867
16876
|
if (!e) return "";
|
|
16868
16877
|
const n = t.rootBlockId ?? "root", o = ((a = e == null ? void 0 : e[n]) == null ? void 0 : a.data) ?? {};
|
|
@@ -16891,7 +16900,7 @@ function iw(e, t = {}) {
|
|
|
16891
16900
|
function Fo(e) {
|
|
16892
16901
|
return String(e).replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">");
|
|
16893
16902
|
}
|
|
16894
|
-
function
|
|
16903
|
+
function cw(e, t = {}) {
|
|
16895
16904
|
var k, S, $;
|
|
16896
16905
|
const n = t.includeExternalSections ?? !0, o = t.wrapInDocumentShell ?? !0, a = [], i = e.map((w) => {
|
|
16897
16906
|
var A;
|
|
@@ -16900,7 +16909,7 @@ function lw(e, t = {}) {
|
|
|
16900
16909
|
const _ = (A = w == null ? void 0 : w.contentMetadata) == null ? void 0 : A.document;
|
|
16901
16910
|
if (!_)
|
|
16902
16911
|
return w != null && w.content && a.push(String(w.content)), w;
|
|
16903
|
-
const N =
|
|
16912
|
+
const N = sw(_, t);
|
|
16904
16913
|
return N && a.push(N), {
|
|
16905
16914
|
...w,
|
|
16906
16915
|
content: N,
|
|
@@ -16934,7 +16943,7 @@ ${b}
|
|
|
16934
16943
|
</body>
|
|
16935
16944
|
</html>`, sectionHtml: a, flushedSections: i };
|
|
16936
16945
|
}
|
|
16937
|
-
function
|
|
16946
|
+
function uw(e) {
|
|
16938
16947
|
var i, r, l, s, c, u, p, d, h, m, b;
|
|
16939
16948
|
if (!e) return [];
|
|
16940
16949
|
const t = e.configuration ?? {}, n = (r = (i = t == null ? void 0 : t.root) == null ? void 0 : i.data) == null ? void 0 : r.formFields;
|
|
@@ -16955,7 +16964,7 @@ function sw(e) {
|
|
|
16955
16964
|
const a = (b = (m = (h = (d = (p = t == null ? void 0 : t.step) == null ? void 0 : p.contentMetadata) == null ? void 0 : d.document) == null ? void 0 : h.root) == null ? void 0 : m.data) == null ? void 0 : b.formFields;
|
|
16956
16965
|
return Array.isArray(a) && a.length > 0 ? a : Array.isArray(e.formFields) ? e.formFields : [];
|
|
16957
16966
|
}
|
|
16958
|
-
function
|
|
16967
|
+
function dw(e) {
|
|
16959
16968
|
var n, o, a, i, r, l, s;
|
|
16960
16969
|
if (!e || typeof e != "object") return null;
|
|
16961
16970
|
const t = e.configuration;
|
|
@@ -16981,11 +16990,11 @@ function cw(e) {
|
|
|
16981
16990
|
}
|
|
16982
16991
|
return (a = (o = (n = t.content) == null ? void 0 : n.contentMetadata) == null ? void 0 : o.document) != null && a.root ? t.content.contentMetadata.document : (r = (i = t.contentMetadata) == null ? void 0 : i.document) != null && r.root ? t.contentMetadata.document : (s = (l = e.contentMetadata) == null ? void 0 : l.document) != null && s.root ? e.contentMetadata.document : null;
|
|
16983
16992
|
}
|
|
16984
|
-
function
|
|
16993
|
+
function hw(e) {
|
|
16985
16994
|
const t = e;
|
|
16986
16995
|
return !!(t.pageId && t.baseUrl && t.tenantId);
|
|
16987
16996
|
}
|
|
16988
|
-
function
|
|
16997
|
+
function fw(e) {
|
|
16989
16998
|
const t = e;
|
|
16990
16999
|
return !!(t.templateId && t.baseUrl);
|
|
16991
17000
|
}
|
|
@@ -16994,7 +17003,7 @@ function rs(e) {
|
|
|
16994
17003
|
const t = Yl(e);
|
|
16995
17004
|
return !t || t.length === 0 ? e : Xl(e, t);
|
|
16996
17005
|
}
|
|
16997
|
-
const
|
|
17006
|
+
const pw = /* @__PURE__ */ new Set([
|
|
16998
17007
|
"ColumnsContainer",
|
|
16999
17008
|
"FlexColumns",
|
|
17000
17009
|
"Grid",
|
|
@@ -17033,7 +17042,7 @@ const hw = /* @__PURE__ */ new Set([
|
|
|
17033
17042
|
"List",
|
|
17034
17043
|
"Text"
|
|
17035
17044
|
]);
|
|
17036
|
-
function
|
|
17045
|
+
function mw(e) {
|
|
17037
17046
|
var o, a, i;
|
|
17038
17047
|
const t = ((o = e == null ? void 0 : e.data) == null ? void 0 : o.props) ?? {};
|
|
17039
17048
|
return {
|
|
@@ -17051,7 +17060,7 @@ function is(e) {
|
|
|
17051
17060
|
const n = {};
|
|
17052
17061
|
for (const [o, a] of Object.entries(e)) {
|
|
17053
17062
|
const i = a == null ? void 0 : a.type;
|
|
17054
|
-
i && !
|
|
17063
|
+
i && !pw.has(i) ? (n[o] = mw(a), t = !0, console.warn(
|
|
17055
17064
|
`[pagepilot-visual-editor] renderToStaticHtml: block "${o}" has unsupported type "${i}" — coerced to Text.`
|
|
17056
17065
|
)) : n[o] = a;
|
|
17057
17066
|
}
|
|
@@ -17098,7 +17107,7 @@ async function cs(e, t, n) {
|
|
|
17098
17107
|
}
|
|
17099
17108
|
return { ok: !0, body: await o.json(), status: o.status, text: "" };
|
|
17100
17109
|
}
|
|
17101
|
-
async function
|
|
17110
|
+
async function gw(e, t) {
|
|
17102
17111
|
var v;
|
|
17103
17112
|
const { baseUrl: n, tenantId: o, pageId: a } = t, r = `${n.replace(/\/+$/, "")}/tenant/${o}/page/${a}`, l = ls(t), s = await cs(
|
|
17104
17113
|
r,
|
|
@@ -17127,7 +17136,7 @@ async function pw(e, t) {
|
|
|
17127
17136
|
document: w
|
|
17128
17137
|
}
|
|
17129
17138
|
};
|
|
17130
|
-
}), { html: b } =
|
|
17139
|
+
}), { html: b } = cw(m, {
|
|
17131
17140
|
rootBlockId: t.rootBlockId,
|
|
17132
17141
|
injectTabsScrollSyncScript: t.injectTabsScrollSyncScript,
|
|
17133
17142
|
injectCarouselScript: t.injectCarouselScript,
|
|
@@ -17143,14 +17152,14 @@ async function pw(e, t) {
|
|
|
17143
17152
|
});
|
|
17144
17153
|
return b;
|
|
17145
17154
|
}
|
|
17146
|
-
async function
|
|
17155
|
+
async function bw(e) {
|
|
17147
17156
|
const { baseUrl: t, tenantId: n, templateId: o, isGlobal: a = !1 } = e, i = t.replace(/\/+$/, ""), r = ls(e), l = a ? `${i}/global-template/${o}` : `${i}/tenant/${n}/template/${o}`, s = a ? { "Content-Type": "application/json" } : ss(e), c = await cs(l, { method: "GET", headers: s }, r);
|
|
17148
17157
|
if (c.ok) return c.body;
|
|
17149
17158
|
throw new Error(
|
|
17150
17159
|
`[pagepilot-visual-editor] renderToStaticHtml: GET ${l} → ${c.status}${c.text ? `: ${c.text}` : ""}`
|
|
17151
17160
|
);
|
|
17152
17161
|
}
|
|
17153
|
-
function
|
|
17162
|
+
function vw(e, t) {
|
|
17154
17163
|
if (!t) return e;
|
|
17155
17164
|
const n = /* @__PURE__ */ new Map();
|
|
17156
17165
|
for (const a of e) a != null && a.id && n.set(a.id, a);
|
|
@@ -17175,20 +17184,20 @@ function gw(e, t) {
|
|
|
17175
17184
|
}
|
|
17176
17185
|
return Array.from(n.values());
|
|
17177
17186
|
}
|
|
17178
|
-
async function
|
|
17179
|
-
const n = await
|
|
17187
|
+
async function xw(e, t) {
|
|
17188
|
+
const n = await bw(t), o = dw(n) ?? (e && Object.keys(e).length > 0 ? e : null);
|
|
17180
17189
|
if (!o) return "";
|
|
17181
|
-
const a =
|
|
17190
|
+
const a = uw(n), i = vw(a, t.variables), r = Xl(o, i);
|
|
17182
17191
|
return ja(r, t);
|
|
17183
17192
|
}
|
|
17184
|
-
function
|
|
17185
|
-
return
|
|
17193
|
+
function $w(e, t) {
|
|
17194
|
+
return fw(t) ? xw(e, t) : hw(t) ? gw(e, t) : ja(e, t);
|
|
17186
17195
|
}
|
|
17187
17196
|
export {
|
|
17188
17197
|
Wn as Reader,
|
|
17189
17198
|
Se as ReaderBlock,
|
|
17190
|
-
|
|
17191
|
-
|
|
17192
|
-
|
|
17199
|
+
B2 as ReaderBlockSchema,
|
|
17200
|
+
_w as ReaderDocumentSchema,
|
|
17201
|
+
$w as renderToStaticHtml,
|
|
17193
17202
|
as as renderToStaticMarkup
|
|
17194
17203
|
};
|