@builder.io/sdk-react-nextjs 0.15.2 → 0.16.1
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/lib/browser/blocks-exports.cjs +26 -26
- package/lib/browser/blocks-exports.mjs +576 -583
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/init.cjs +1 -1
- package/lib/browser/init.mjs +1 -1
- package/lib/browser/{server-entry-f64a4c2d.cjs → server-entry-555ce264.cjs} +1 -1
- package/lib/browser/{server-entry-7f981733.js → server-entry-8a4d2728.js} +1 -1
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/blocks-exports.cjs +36 -36
- package/lib/edge/blocks-exports.mjs +811 -818
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/init.cjs +1 -1
- package/lib/edge/init.mjs +1 -1
- package/lib/edge/{server-entry-f64a4c2d.cjs → server-entry-555ce264.cjs} +1 -1
- package/lib/edge/{server-entry-7f981733.js → server-entry-8a4d2728.js} +1 -1
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/node/blocks-exports.cjs +26 -26
- package/lib/node/blocks-exports.mjs +555 -562
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +2 -2
- package/lib/node/{node-runtime-6f522a33.cjs → node-runtime-1e70fe16.cjs} +1 -1
- package/lib/node/{node-runtime-3f0a39c5.js → node-runtime-753c71f6.js} +1 -1
- package/lib/node/{server-entry-68c26de0.cjs → server-entry-61a8c25a.cjs} +1 -1
- package/lib/node/{server-entry-46bde4f0.js → server-entry-e47775d7.js} +1 -1
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/package.json +1 -1
- package/types/cjs/components/block/block.helpers.d.ts +8 -8
- package/types/cjs/components/content/components/styles.d.ts +2 -1
- package/types/cjs/components/content-variants/content-variants.types.d.ts +4 -0
- package/types/cjs/components/inlined-script.d.ts +2 -1
- package/types/cjs/components/inlined-styles.d.ts +2 -1
- package/types/cjs/constants/sdk-version.d.ts +1 -1
- package/types/cjs/context/types.d.ts +1 -0
- package/types/cjs/types/builder-props.d.ts +3 -0
- package/types/esm/components/block/block.helpers.d.ts +8 -8
- package/types/esm/components/content/components/styles.d.ts +2 -1
- package/types/esm/components/content-variants/content-variants.types.d.ts +4 -0
- package/types/esm/components/inlined-script.d.ts +2 -1
- package/types/esm/components/inlined-styles.d.ts +2 -1
- package/types/esm/constants/sdk-version.d.ts +1 -1
- package/types/esm/context/types.d.ts +1 -0
- package/types/esm/types/builder-props.d.ts +3 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
import { jsx as
|
|
6
|
-
import { TARGET as H, checkIsDefined as K, logger as J, isBrowser as z, fastClone as
|
|
7
|
-
import { getFunctionArguments as
|
|
8
|
-
import { useRef as
|
|
9
|
-
import { useRouter as
|
|
2
|
+
var Ne = Object.defineProperty;
|
|
3
|
+
var Ae = (e, t, n) => t in e ? Ne(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
4
|
+
var ee = (e, t, n) => (Ae(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
5
|
+
import { jsx as l, Fragment as I, jsxs as P } from "react/jsx-runtime";
|
|
6
|
+
import { TARGET as H, checkIsDefined as K, logger as J, isBrowser as z, fastClone as ie, isEditing as V, init as Ve, getDefaultCanTrack as q, _track as ue, isPreviewing as $e, createEditorListener as Fe, fetch as Le, registerInsertMenu as je, setupBrowserForEditing as De, createRegisterComponentMessage as Oe, fetchOneEntry as pe, serializeComponentInfo as me, handleABTestingSync as He } from "./server-entry-e47775d7.js";
|
|
7
|
+
import { getFunctionArguments as Me, runInNode as Ue, parseCode as _e, getBuilderGlobals as Ke, set as ze } from "./node-runtime-753c71f6.js";
|
|
8
|
+
import { useRef as oe, useState as N, useEffect as R, createContext as qe } from "react";
|
|
9
|
+
import { useRouter as Ye } from "next/navigation";
|
|
10
10
|
import "lru-cache";
|
|
11
|
-
const
|
|
12
|
-
function
|
|
13
|
-
return /* @__PURE__ */
|
|
11
|
+
const Je = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Qe = (e) => typeof e == "string" && Je.has(e.toLowerCase());
|
|
12
|
+
function ae(e) {
|
|
13
|
+
return /* @__PURE__ */ l(I, { children: Qe(e.TagName) ? /* @__PURE__ */ l(I, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ l(I, { children: typeof e.TagName == "string" ? /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const D = () => {
|
|
16
16
|
switch (H) {
|
|
17
17
|
case "react":
|
|
18
18
|
case "reactNative":
|
|
@@ -26,11 +26,11 @@ const j = () => {
|
|
|
26
26
|
return "class";
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
function
|
|
29
|
+
function Ge(e) {
|
|
30
30
|
function t() {
|
|
31
31
|
return {
|
|
32
32
|
...e.attributes,
|
|
33
|
-
[
|
|
33
|
+
[D()]: `${e.link ? "" : "builder-button"} ${e.attributes[D()] || ""}`,
|
|
34
34
|
...e.link ? {
|
|
35
35
|
href: e.link,
|
|
36
36
|
target: e.openLinkInNewTab ? "_blank" : void 0,
|
|
@@ -40,8 +40,8 @@ function Xe(e) {
|
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
return /* @__PURE__ */
|
|
44
|
-
|
|
43
|
+
return /* @__PURE__ */ l(
|
|
44
|
+
ae,
|
|
45
45
|
{
|
|
46
46
|
attributes: t(),
|
|
47
47
|
TagName: e.link ? e.builderLinkComponent || "a" : "button",
|
|
@@ -50,35 +50,35 @@ function Xe(e) {
|
|
|
50
50
|
}
|
|
51
51
|
);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Xe(e) {
|
|
54
54
|
var t;
|
|
55
55
|
return {
|
|
56
56
|
...(t = e.component) == null ? void 0 : t.options,
|
|
57
57
|
...e.options
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
const
|
|
60
|
+
const Ze = ({
|
|
61
61
|
code: e,
|
|
62
62
|
builder: t,
|
|
63
63
|
context: n,
|
|
64
64
|
event: i,
|
|
65
65
|
localState: o,
|
|
66
66
|
rootSetState: a,
|
|
67
|
-
rootState:
|
|
67
|
+
rootState: c
|
|
68
68
|
}) => {
|
|
69
|
-
const r =
|
|
69
|
+
const r = Me({
|
|
70
70
|
builder: t,
|
|
71
71
|
context: n,
|
|
72
72
|
event: i,
|
|
73
|
-
state:
|
|
74
|
-
rootState:
|
|
73
|
+
state: ke({
|
|
74
|
+
rootState: c,
|
|
75
75
|
localState: o,
|
|
76
76
|
rootSetState: a
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
return new Function(...r.map(([s]) => s), e)(...r.map(([, s]) => s));
|
|
80
80
|
};
|
|
81
|
-
function
|
|
81
|
+
function ke({
|
|
82
82
|
rootState: e,
|
|
83
83
|
localState: t,
|
|
84
84
|
rootSetState: n
|
|
@@ -88,11 +88,11 @@ function Ce({
|
|
|
88
88
|
if (t && o in t)
|
|
89
89
|
return t[o];
|
|
90
90
|
const a = i[o];
|
|
91
|
-
return typeof a == "object" && a !== null ?
|
|
91
|
+
return typeof a == "object" && a !== null ? ke({
|
|
92
92
|
rootState: a,
|
|
93
93
|
localState: void 0,
|
|
94
|
-
rootSetState: n ? (
|
|
95
|
-
i[o] =
|
|
94
|
+
rootSetState: n ? (c) => {
|
|
95
|
+
i[o] = c, n(i);
|
|
96
96
|
} : void 0
|
|
97
97
|
}) : a;
|
|
98
98
|
},
|
|
@@ -103,17 +103,17 @@ function Ce({
|
|
|
103
103
|
}
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function et() {
|
|
107
107
|
var e;
|
|
108
108
|
return typeof process != "undefined" && K((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const tt = () => {
|
|
111
111
|
var i;
|
|
112
|
-
if (!
|
|
112
|
+
if (!et())
|
|
113
113
|
return !1;
|
|
114
114
|
const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (i = process.env.NODE_OPTIONS) == null ? void 0 : i.includes("--no-node-snapshot");
|
|
115
115
|
return e && t && !n ? (J.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
|
|
116
|
-
},
|
|
116
|
+
}, nt = (e) => z() || tt() ? Ze(e) : Ue(e), W = class W {
|
|
117
117
|
static getCacheKey(t) {
|
|
118
118
|
return JSON.stringify({
|
|
119
119
|
...t,
|
|
@@ -131,8 +131,8 @@ const nt = () => {
|
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
|
|
135
|
-
let
|
|
134
|
+
ee(W, "cacheLimit", 20), ee(W, "cache", /* @__PURE__ */ new Map());
|
|
135
|
+
let F = W;
|
|
136
136
|
function O({
|
|
137
137
|
code: e,
|
|
138
138
|
context: t,
|
|
@@ -140,16 +140,16 @@ function O({
|
|
|
140
140
|
rootState: i,
|
|
141
141
|
rootSetState: o,
|
|
142
142
|
event: a,
|
|
143
|
-
isExpression:
|
|
143
|
+
isExpression: c = !0,
|
|
144
144
|
enableCache: r
|
|
145
145
|
}) {
|
|
146
146
|
if (e === "")
|
|
147
147
|
return;
|
|
148
148
|
const s = {
|
|
149
|
-
code:
|
|
150
|
-
isExpression:
|
|
149
|
+
code: _e(e, {
|
|
150
|
+
isExpression: c
|
|
151
151
|
}),
|
|
152
|
-
builder:
|
|
152
|
+
builder: Ke(),
|
|
153
153
|
context: t,
|
|
154
154
|
event: a,
|
|
155
155
|
rootSetState: o,
|
|
@@ -157,15 +157,15 @@ function O({
|
|
|
157
157
|
localState: n
|
|
158
158
|
};
|
|
159
159
|
if (r) {
|
|
160
|
-
const d =
|
|
160
|
+
const d = F.getCacheKey(s), m = F.getCachedValue(d);
|
|
161
161
|
if (m)
|
|
162
162
|
return m.value;
|
|
163
163
|
}
|
|
164
164
|
try {
|
|
165
|
-
const d =
|
|
165
|
+
const d = nt(s);
|
|
166
166
|
if (r) {
|
|
167
|
-
const m =
|
|
168
|
-
|
|
167
|
+
const m = F.getCacheKey(s);
|
|
168
|
+
F.setCachedValue(m, d);
|
|
169
169
|
}
|
|
170
170
|
return d;
|
|
171
171
|
} catch (d) {
|
|
@@ -175,7 +175,7 @@ function O({
|
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
const
|
|
178
|
+
const it = ({
|
|
179
179
|
block: e,
|
|
180
180
|
context: t,
|
|
181
181
|
localState: n,
|
|
@@ -184,7 +184,7 @@ const ot = ({
|
|
|
184
184
|
}) => {
|
|
185
185
|
if (!e.bindings)
|
|
186
186
|
return e;
|
|
187
|
-
const a =
|
|
187
|
+
const a = ie(e), c = {
|
|
188
188
|
...a,
|
|
189
189
|
properties: {
|
|
190
190
|
...a.properties
|
|
@@ -202,9 +202,9 @@ const ot = ({
|
|
|
202
202
|
context: t,
|
|
203
203
|
enableCache: !0
|
|
204
204
|
});
|
|
205
|
-
|
|
205
|
+
ze(c, r, d);
|
|
206
206
|
}
|
|
207
|
-
return
|
|
207
|
+
return c;
|
|
208
208
|
};
|
|
209
209
|
function Y({
|
|
210
210
|
block: e,
|
|
@@ -214,51 +214,51 @@ function Y({
|
|
|
214
214
|
rootState: o,
|
|
215
215
|
rootSetState: a
|
|
216
216
|
}) {
|
|
217
|
-
const
|
|
218
|
-
return n ?
|
|
219
|
-
block:
|
|
217
|
+
const c = e;
|
|
218
|
+
return n ? it({
|
|
219
|
+
block: c,
|
|
220
220
|
localState: i,
|
|
221
221
|
rootState: o,
|
|
222
222
|
rootSetState: a,
|
|
223
223
|
context: t
|
|
224
|
-
}) :
|
|
224
|
+
}) : c;
|
|
225
225
|
}
|
|
226
|
-
const
|
|
226
|
+
const re = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "", Ce = (e) => Object.entries(e).map(([n, i]) => {
|
|
227
227
|
if (typeof i == "string")
|
|
228
|
-
return `${
|
|
229
|
-
}).filter(K),
|
|
228
|
+
return `${re(n)}: ${i};`;
|
|
229
|
+
}).filter(K), ot = (e) => Ce(e).join(`
|
|
230
230
|
`), U = ({
|
|
231
231
|
mediaQuery: e,
|
|
232
232
|
className: t,
|
|
233
233
|
styles: n
|
|
234
234
|
}) => {
|
|
235
235
|
const i = `.${t} {
|
|
236
|
-
${
|
|
236
|
+
${ot(n)}
|
|
237
237
|
}`;
|
|
238
238
|
return e ? `${e} {
|
|
239
239
|
${i}
|
|
240
240
|
}` : i;
|
|
241
241
|
};
|
|
242
|
-
function
|
|
242
|
+
function at({
|
|
243
243
|
style: e
|
|
244
244
|
}) {
|
|
245
245
|
return e;
|
|
246
246
|
}
|
|
247
|
-
const
|
|
247
|
+
const rt = ({
|
|
248
248
|
block: e,
|
|
249
249
|
context: t
|
|
250
|
-
}) =>
|
|
250
|
+
}) => Ie(at({
|
|
251
251
|
style: e.style || {},
|
|
252
252
|
context: t,
|
|
253
253
|
block: e
|
|
254
254
|
}));
|
|
255
|
-
function
|
|
255
|
+
function Ie(e) {
|
|
256
256
|
switch (H) {
|
|
257
257
|
case "svelte":
|
|
258
258
|
case "vue":
|
|
259
259
|
case "solid":
|
|
260
260
|
case "angular":
|
|
261
|
-
return
|
|
261
|
+
return Ce(e).join(" ");
|
|
262
262
|
case "qwik":
|
|
263
263
|
case "reactNative":
|
|
264
264
|
case "react":
|
|
@@ -288,7 +288,7 @@ const ct = ({
|
|
|
288
288
|
console.warn(`
|
|
289
289
|
Could not find a registered component named "${i}".
|
|
290
290
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
291
|
-
},
|
|
291
|
+
}, lt = ({
|
|
292
292
|
block: e,
|
|
293
293
|
context: t
|
|
294
294
|
}) => {
|
|
@@ -308,7 +308,7 @@ const ct = ({
|
|
|
308
308
|
});
|
|
309
309
|
if (!Array.isArray(o))
|
|
310
310
|
return;
|
|
311
|
-
const a = n.collection.split(".").pop(),
|
|
311
|
+
const a = n.collection.split(".").pop(), c = n.itemName || (a ? a + "Item" : "item");
|
|
312
312
|
return o.map((s, d) => ({
|
|
313
313
|
context: {
|
|
314
314
|
...t,
|
|
@@ -316,29 +316,33 @@ const ct = ({
|
|
|
316
316
|
...t.localState,
|
|
317
317
|
$index: d,
|
|
318
318
|
$item: s,
|
|
319
|
-
[
|
|
320
|
-
[`$${
|
|
319
|
+
[c]: s,
|
|
320
|
+
[`$${c}Index`]: d
|
|
321
321
|
}
|
|
322
322
|
},
|
|
323
323
|
block: i
|
|
324
324
|
}));
|
|
325
|
-
},
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
} : {}
|
|
340
|
-
|
|
341
|
-
|
|
325
|
+
}, st = (e, t) => {
|
|
326
|
+
var n;
|
|
327
|
+
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
|
|
328
|
+
builderLinkComponent: t
|
|
329
|
+
} : {};
|
|
330
|
+
}, dt = (e, t) => {
|
|
331
|
+
var n;
|
|
332
|
+
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderComponents ? {
|
|
333
|
+
builderComponents: t
|
|
334
|
+
} : {};
|
|
335
|
+
}, ut = (e, t) => {
|
|
336
|
+
var n;
|
|
337
|
+
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
|
|
338
|
+
builderBlock: t
|
|
339
|
+
} : {};
|
|
340
|
+
}, mt = (e, t) => {
|
|
341
|
+
var n;
|
|
342
|
+
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
|
|
343
|
+
builderContext: t
|
|
344
|
+
} : {};
|
|
345
|
+
}, we = {
|
|
342
346
|
small: {
|
|
343
347
|
min: 320,
|
|
344
348
|
default: 321,
|
|
@@ -354,11 +358,11 @@ const ct = ({
|
|
|
354
358
|
default: 991,
|
|
355
359
|
max: 1200
|
|
356
360
|
}
|
|
357
|
-
},
|
|
361
|
+
}, fe = (e, t = we) => `@media (max-width: ${t[e].max}px)`, Te = ({
|
|
358
362
|
small: e,
|
|
359
363
|
medium: t
|
|
360
364
|
}) => {
|
|
361
|
-
const n =
|
|
365
|
+
const n = ie(we);
|
|
362
366
|
if (!e || !t)
|
|
363
367
|
return n;
|
|
364
368
|
const i = Math.floor(e / 2);
|
|
@@ -381,16 +385,17 @@ const ct = ({
|
|
|
381
385
|
default: a + 1
|
|
382
386
|
}, n;
|
|
383
387
|
};
|
|
384
|
-
function
|
|
385
|
-
return /* @__PURE__ */
|
|
388
|
+
function Q(e) {
|
|
389
|
+
return /* @__PURE__ */ l(
|
|
386
390
|
"style",
|
|
387
391
|
{
|
|
388
392
|
dangerouslySetInnerHTML: { __html: e.styles },
|
|
389
|
-
"data-id": e.id
|
|
393
|
+
"data-id": e.id,
|
|
394
|
+
nonce: e.nonce
|
|
390
395
|
}
|
|
391
396
|
);
|
|
392
397
|
}
|
|
393
|
-
function
|
|
398
|
+
function ft(e) {
|
|
394
399
|
const t = function() {
|
|
395
400
|
const o = Y({
|
|
396
401
|
block: e.block,
|
|
@@ -402,7 +407,7 @@ function ht(e) {
|
|
|
402
407
|
});
|
|
403
408
|
return K(o.hide) ? !o.hide : K(o.show) ? o.show : !0;
|
|
404
409
|
}, n = function() {
|
|
405
|
-
var
|
|
410
|
+
var S, b, k;
|
|
406
411
|
const o = Y({
|
|
407
412
|
block: e.block,
|
|
408
413
|
localState: e.context.localState,
|
|
@@ -410,56 +415,63 @@ function ht(e) {
|
|
|
410
415
|
rootSetState: e.context.rootSetState,
|
|
411
416
|
context: e.context.context,
|
|
412
417
|
shouldEvaluateBindings: !0
|
|
413
|
-
}), a = o.responsiveStyles,
|
|
414
|
-
((
|
|
418
|
+
}), a = o.responsiveStyles, c = e.context.content, r = Te(
|
|
419
|
+
((S = c == null ? void 0 : c.meta) == null ? void 0 : S.breakpoints) || {}
|
|
415
420
|
), s = a == null ? void 0 : a.large, d = a == null ? void 0 : a.medium, m = a == null ? void 0 : a.small, u = o.id;
|
|
416
421
|
if (!u)
|
|
417
422
|
return "";
|
|
418
423
|
const h = s ? U({
|
|
419
424
|
className: u,
|
|
420
425
|
styles: s
|
|
421
|
-
}) : "",
|
|
426
|
+
}) : "", p = d ? U({
|
|
422
427
|
className: u,
|
|
423
428
|
styles: d,
|
|
424
|
-
mediaQuery:
|
|
429
|
+
mediaQuery: fe(
|
|
425
430
|
"medium",
|
|
426
431
|
r
|
|
427
432
|
)
|
|
428
433
|
}) : "", w = m ? U({
|
|
429
434
|
className: u,
|
|
430
435
|
styles: m,
|
|
431
|
-
mediaQuery:
|
|
436
|
+
mediaQuery: fe(
|
|
432
437
|
"small",
|
|
433
438
|
r
|
|
434
439
|
)
|
|
435
|
-
}) : "",
|
|
440
|
+
}) : "", y = o.animations && o.animations.find((T) => T.trigger === "hover");
|
|
436
441
|
let A = "";
|
|
437
|
-
if (
|
|
438
|
-
const
|
|
442
|
+
if (y) {
|
|
443
|
+
const T = ((k = (b = y.steps) == null ? void 0 : b[1]) == null ? void 0 : k.styles) || {};
|
|
439
444
|
A = U({
|
|
440
445
|
className: `${u}:hover`,
|
|
441
446
|
styles: {
|
|
442
|
-
...
|
|
443
|
-
transition: `all ${
|
|
444
|
-
|
|
447
|
+
...T,
|
|
448
|
+
transition: `all ${y.duration}s ${re(
|
|
449
|
+
y.easing
|
|
445
450
|
)}`,
|
|
446
|
-
transitionDelay:
|
|
451
|
+
transitionDelay: y.delay ? `${y.delay}s` : "0s"
|
|
447
452
|
}
|
|
448
453
|
}) || "";
|
|
449
454
|
}
|
|
450
455
|
return [
|
|
451
456
|
h,
|
|
452
|
-
|
|
457
|
+
p,
|
|
453
458
|
w,
|
|
454
459
|
A
|
|
455
460
|
].join(" ");
|
|
456
461
|
};
|
|
457
|
-
return /* @__PURE__ */
|
|
462
|
+
return /* @__PURE__ */ l(I, { children: n() && t() ? /* @__PURE__ */ l(I, { children: /* @__PURE__ */ l(
|
|
463
|
+
Q,
|
|
464
|
+
{
|
|
465
|
+
id: "builderio-block",
|
|
466
|
+
styles: n(),
|
|
467
|
+
nonce: e.context.nonce
|
|
468
|
+
}
|
|
469
|
+
) }) : null });
|
|
458
470
|
}
|
|
459
|
-
function
|
|
471
|
+
function ht(e) {
|
|
460
472
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
461
473
|
}
|
|
462
|
-
const gt = (e) => `on${
|
|
474
|
+
const gt = (e) => `on${ht(e)}`, bt = (e, t) => (n) => O({
|
|
463
475
|
code: e,
|
|
464
476
|
context: t.context,
|
|
465
477
|
localState: t.localState,
|
|
@@ -469,24 +481,24 @@ const gt = (e) => `on${bt(e)}`, pt = (e, t) => (n) => O({
|
|
|
469
481
|
isExpression: !1,
|
|
470
482
|
enableCache: !0
|
|
471
483
|
});
|
|
472
|
-
function
|
|
484
|
+
function Re(e) {
|
|
473
485
|
var i;
|
|
474
486
|
const t = {}, n = (i = e.block.actions) != null ? i : {};
|
|
475
487
|
for (const o in n) {
|
|
476
488
|
if (!n.hasOwnProperty(o))
|
|
477
489
|
continue;
|
|
478
490
|
const a = n[o];
|
|
479
|
-
let
|
|
491
|
+
let c = gt(o);
|
|
480
492
|
if (e.stripPrefix)
|
|
481
493
|
switch (H) {
|
|
482
494
|
case "vue":
|
|
483
|
-
|
|
495
|
+
c = c.replace("v-on:", "");
|
|
484
496
|
break;
|
|
485
497
|
case "svelte":
|
|
486
|
-
|
|
498
|
+
c = c.replace("on:", "");
|
|
487
499
|
break;
|
|
488
500
|
}
|
|
489
|
-
t[
|
|
501
|
+
t[c] = bt(a, e);
|
|
490
502
|
}
|
|
491
503
|
return t;
|
|
492
504
|
}
|
|
@@ -507,11 +519,11 @@ function ce({
|
|
|
507
519
|
...vt(e),
|
|
508
520
|
...e.properties,
|
|
509
521
|
"builder-id": e.id,
|
|
510
|
-
style:
|
|
522
|
+
style: rt({
|
|
511
523
|
block: e,
|
|
512
524
|
context: t
|
|
513
525
|
}),
|
|
514
|
-
[
|
|
526
|
+
[D()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
|
|
515
527
|
};
|
|
516
528
|
return yt({
|
|
517
529
|
properties: n,
|
|
@@ -520,15 +532,15 @@ function ce({
|
|
|
520
532
|
});
|
|
521
533
|
}
|
|
522
534
|
function xt(e) {
|
|
523
|
-
return /* @__PURE__ */
|
|
524
|
-
|
|
535
|
+
return /* @__PURE__ */ l(
|
|
536
|
+
ae,
|
|
525
537
|
{
|
|
526
538
|
TagName: e.Wrapper,
|
|
527
539
|
attributes: ce({
|
|
528
540
|
block: e.block,
|
|
529
541
|
context: e.context
|
|
530
542
|
}),
|
|
531
|
-
actionAttributes:
|
|
543
|
+
actionAttributes: Re({
|
|
532
544
|
block: e.block,
|
|
533
545
|
rootState: e.context.rootState,
|
|
534
546
|
rootSetState: e.context.rootSetState,
|
|
@@ -540,14 +552,14 @@ function xt(e) {
|
|
|
540
552
|
}
|
|
541
553
|
);
|
|
542
554
|
}
|
|
543
|
-
function
|
|
555
|
+
function St(e) {
|
|
544
556
|
function t() {
|
|
545
557
|
return e.includeBlockProps ? {
|
|
546
558
|
...ce({
|
|
547
559
|
block: e.block,
|
|
548
560
|
context: e.context
|
|
549
561
|
}),
|
|
550
|
-
...
|
|
562
|
+
...Re({
|
|
551
563
|
block: e.block,
|
|
552
564
|
rootState: e.context.rootState,
|
|
553
565
|
rootSetState: e.context.rootSetState,
|
|
@@ -556,16 +568,16 @@ function kt(e) {
|
|
|
556
568
|
})
|
|
557
569
|
} : {};
|
|
558
570
|
}
|
|
559
|
-
return /* @__PURE__ */
|
|
571
|
+
return /* @__PURE__ */ l(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children });
|
|
560
572
|
}
|
|
561
|
-
const
|
|
573
|
+
const pt = ({
|
|
562
574
|
componentOptions: e,
|
|
563
575
|
builderBlock: t,
|
|
564
576
|
context: n,
|
|
565
577
|
componentRef: i,
|
|
566
578
|
includeBlockProps: o,
|
|
567
579
|
isInteractive: a,
|
|
568
|
-
contextValue:
|
|
580
|
+
contextValue: c
|
|
569
581
|
}) => {
|
|
570
582
|
const r = {
|
|
571
583
|
...e,
|
|
@@ -576,7 +588,7 @@ const St = ({
|
|
|
576
588
|
...o ? {
|
|
577
589
|
attributes: ce({
|
|
578
590
|
block: t,
|
|
579
|
-
context:
|
|
591
|
+
context: c
|
|
580
592
|
})
|
|
581
593
|
} : {}
|
|
582
594
|
};
|
|
@@ -588,13 +600,13 @@ const St = ({
|
|
|
588
600
|
includeBlockProps: o
|
|
589
601
|
} : r;
|
|
590
602
|
};
|
|
591
|
-
function
|
|
603
|
+
function he(e) {
|
|
592
604
|
var n;
|
|
593
|
-
const t = e.isInteractive ?
|
|
594
|
-
return /* @__PURE__ */
|
|
605
|
+
const t = e.isInteractive ? St : e.componentRef;
|
|
606
|
+
return /* @__PURE__ */ l(I, { children: e.componentRef ? /* @__PURE__ */ l(I, { children: /* @__PURE__ */ l(
|
|
595
607
|
t,
|
|
596
608
|
{
|
|
597
|
-
...
|
|
609
|
+
...pt({
|
|
598
610
|
componentOptions: e.componentOptions,
|
|
599
611
|
builderBlock: e.builderBlock,
|
|
600
612
|
context: e.context,
|
|
@@ -604,8 +616,8 @@ function be(e) {
|
|
|
604
616
|
isInteractive: e.isInteractive,
|
|
605
617
|
contextValue: e.context
|
|
606
618
|
}),
|
|
607
|
-
children: (n = e.blockChildren) == null ? void 0 : n.map((i) => /* @__PURE__ */
|
|
608
|
-
|
|
619
|
+
children: (n = e.blockChildren) == null ? void 0 : n.map((i) => /* @__PURE__ */ l(
|
|
620
|
+
G,
|
|
609
621
|
{
|
|
610
622
|
block: i,
|
|
611
623
|
context: e.context,
|
|
@@ -617,10 +629,10 @@ function be(e) {
|
|
|
617
629
|
}
|
|
618
630
|
) }) : null });
|
|
619
631
|
}
|
|
620
|
-
function
|
|
632
|
+
function kt(e) {
|
|
621
633
|
const t = e.repeatContext;
|
|
622
|
-
return /* @__PURE__ */
|
|
623
|
-
|
|
634
|
+
return /* @__PURE__ */ l(
|
|
635
|
+
G,
|
|
624
636
|
{
|
|
625
637
|
block: e.block,
|
|
626
638
|
context: t,
|
|
@@ -629,7 +641,7 @@ function Ct(e) {
|
|
|
629
641
|
}
|
|
630
642
|
);
|
|
631
643
|
}
|
|
632
|
-
function
|
|
644
|
+
function G(e) {
|
|
633
645
|
var s, d, m;
|
|
634
646
|
const t = function() {
|
|
635
647
|
return ct({
|
|
@@ -638,7 +650,7 @@ function X(e) {
|
|
|
638
650
|
registeredComponents: e.registeredComponents
|
|
639
651
|
});
|
|
640
652
|
}, n = function() {
|
|
641
|
-
return
|
|
653
|
+
return lt({
|
|
642
654
|
block: e.block,
|
|
643
655
|
context: e.context
|
|
644
656
|
});
|
|
@@ -653,28 +665,28 @@ function X(e) {
|
|
|
653
665
|
shouldEvaluateBindings: !0
|
|
654
666
|
});
|
|
655
667
|
}, o = function() {
|
|
656
|
-
var
|
|
657
|
-
return e.block.tagName === "a" || ((
|
|
668
|
+
var p;
|
|
669
|
+
return e.block.tagName === "a" || ((p = i().properties) == null ? void 0 : p.href) || i().href ? e.linkComponent || "a" : e.block.tagName || "div";
|
|
658
670
|
}, a = function() {
|
|
659
|
-
var w,
|
|
671
|
+
var w, y;
|
|
660
672
|
if ((w = e.block.repeat) != null && w.collection)
|
|
661
|
-
return !!((
|
|
673
|
+
return !!((y = n()) != null && y.length);
|
|
662
674
|
const h = "hide" in i() ? i().hide : !1;
|
|
663
675
|
return ("show" in i() ? i().show : !0) && !h;
|
|
664
|
-
},
|
|
665
|
-
var
|
|
666
|
-
return !((
|
|
676
|
+
}, c = function() {
|
|
677
|
+
var p, w;
|
|
678
|
+
return !((p = t()) != null && p.component) && !n() ? (w = i().children) != null ? w : [] : [];
|
|
667
679
|
}, r = function() {
|
|
668
|
-
var h,
|
|
680
|
+
var h, p, w, y;
|
|
669
681
|
return {
|
|
670
682
|
blockChildren: (h = i().children) != null ? h : [],
|
|
671
|
-
componentRef: (
|
|
683
|
+
componentRef: (p = t()) == null ? void 0 : p.component,
|
|
672
684
|
componentOptions: {
|
|
673
|
-
...
|
|
674
|
-
...
|
|
675
|
-
...
|
|
676
|
-
...
|
|
677
|
-
...
|
|
685
|
+
...Xe(i()),
|
|
686
|
+
...ut(t(), i()),
|
|
687
|
+
...mt(t(), e.context),
|
|
688
|
+
...st(t(), e.linkComponent),
|
|
689
|
+
...dt(
|
|
678
690
|
t(),
|
|
679
691
|
e.registeredComponents
|
|
680
692
|
)
|
|
@@ -684,13 +696,13 @@ function X(e) {
|
|
|
684
696
|
registeredComponents: e.registeredComponents,
|
|
685
697
|
builderBlock: i(),
|
|
686
698
|
includeBlockProps: ((w = t()) == null ? void 0 : w.noWrap) === !0,
|
|
687
|
-
isInteractive: !((
|
|
699
|
+
isInteractive: !((y = t()) != null && y.isRSC)
|
|
688
700
|
};
|
|
689
701
|
};
|
|
690
|
-
return /* @__PURE__ */
|
|
691
|
-
/* @__PURE__ */
|
|
692
|
-
(s = t()) != null && s.noWrap ? /* @__PURE__ */
|
|
693
|
-
|
|
702
|
+
return /* @__PURE__ */ l(I, { children: a() ? /* @__PURE__ */ P(I, { children: [
|
|
703
|
+
/* @__PURE__ */ l(ft, { block: e.block, context: e.context }),
|
|
704
|
+
(s = t()) != null && s.noWrap ? /* @__PURE__ */ l(I, { children: /* @__PURE__ */ l(
|
|
705
|
+
he,
|
|
694
706
|
{
|
|
695
707
|
componentRef: r().componentRef,
|
|
696
708
|
componentOptions: r().componentOptions,
|
|
@@ -702,8 +714,8 @@ function X(e) {
|
|
|
702
714
|
includeBlockProps: r().includeBlockProps,
|
|
703
715
|
isInteractive: r().isInteractive
|
|
704
716
|
}
|
|
705
|
-
) }) : /* @__PURE__ */
|
|
706
|
-
|
|
717
|
+
) }) : /* @__PURE__ */ l(I, { children: n() ? /* @__PURE__ */ l(I, { children: (m = n()) == null ? void 0 : m.map((u, h) => /* @__PURE__ */ l(
|
|
718
|
+
kt,
|
|
707
719
|
{
|
|
708
720
|
repeatContext: u.context,
|
|
709
721
|
block: u.block,
|
|
@@ -718,8 +730,8 @@ function X(e) {
|
|
|
718
730
|
block: i(),
|
|
719
731
|
context: e.context,
|
|
720
732
|
children: [
|
|
721
|
-
/* @__PURE__ */
|
|
722
|
-
|
|
733
|
+
/* @__PURE__ */ l(
|
|
734
|
+
he,
|
|
723
735
|
{
|
|
724
736
|
componentRef: r().componentRef,
|
|
725
737
|
componentOptions: r().componentOptions,
|
|
@@ -732,8 +744,8 @@ function X(e) {
|
|
|
732
744
|
isInteractive: r().isInteractive
|
|
733
745
|
}
|
|
734
746
|
),
|
|
735
|
-
(d =
|
|
736
|
-
|
|
747
|
+
(d = c()) == null ? void 0 : d.map((u) => /* @__PURE__ */ l(
|
|
748
|
+
G,
|
|
737
749
|
{
|
|
738
750
|
block: u,
|
|
739
751
|
registeredComponents: e.registeredComponents,
|
|
@@ -747,7 +759,7 @@ function X(e) {
|
|
|
747
759
|
) })
|
|
748
760
|
] }) : null });
|
|
749
761
|
}
|
|
750
|
-
function
|
|
762
|
+
function Ct(e) {
|
|
751
763
|
function t() {
|
|
752
764
|
var o;
|
|
753
765
|
return "builder-blocks" + ((o = e.blocks) != null && o.length ? "" : " no-blocks");
|
|
@@ -778,8 +790,8 @@ function It(e) {
|
|
|
778
790
|
"*"
|
|
779
791
|
));
|
|
780
792
|
}
|
|
781
|
-
return /* @__PURE__ */ P(
|
|
782
|
-
/* @__PURE__ */
|
|
793
|
+
return /* @__PURE__ */ P(I, { children: [
|
|
794
|
+
/* @__PURE__ */ l(
|
|
783
795
|
e.BlocksWrapper,
|
|
784
796
|
{
|
|
785
797
|
className: t() + " props-blocks-wrapper-7cd1560e",
|
|
@@ -793,17 +805,17 @@ function It(e) {
|
|
|
793
805
|
children: e.children
|
|
794
806
|
}
|
|
795
807
|
),
|
|
796
|
-
/* @__PURE__ */
|
|
808
|
+
/* @__PURE__ */ l("style", { children: `.props-blocks-wrapper-7cd1560e {
|
|
797
809
|
display: flex;
|
|
798
810
|
flex-direction: column;
|
|
799
811
|
align-items: stretch;
|
|
800
812
|
}` })
|
|
801
813
|
] });
|
|
802
814
|
}
|
|
803
|
-
function
|
|
815
|
+
function le(e) {
|
|
804
816
|
var t, n, i;
|
|
805
|
-
return /* @__PURE__ */
|
|
806
|
-
|
|
817
|
+
return /* @__PURE__ */ l(
|
|
818
|
+
Ct,
|
|
807
819
|
{
|
|
808
820
|
blocks: e.blocks,
|
|
809
821
|
parent: e.parent,
|
|
@@ -811,8 +823,8 @@ function se(e) {
|
|
|
811
823
|
styleProp: e.styleProp,
|
|
812
824
|
BlocksWrapper: (t = e.context) == null ? void 0 : t.BlocksWrapper,
|
|
813
825
|
BlocksWrapperProps: (n = e.context) == null ? void 0 : n.BlocksWrapperProps,
|
|
814
|
-
children: e.blocks ? /* @__PURE__ */
|
|
815
|
-
|
|
826
|
+
children: e.blocks ? /* @__PURE__ */ l(I, { children: (i = e.blocks) == null ? void 0 : i.map((o) => /* @__PURE__ */ l(
|
|
827
|
+
G,
|
|
816
828
|
{
|
|
817
829
|
block: o,
|
|
818
830
|
linkComponent: e.linkComponent,
|
|
@@ -824,27 +836,27 @@ function se(e) {
|
|
|
824
836
|
}
|
|
825
837
|
);
|
|
826
838
|
}
|
|
827
|
-
const
|
|
828
|
-
function
|
|
829
|
-
var
|
|
830
|
-
const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], i = e.stackColumnsAt || "tablet", o = function(
|
|
831
|
-
return
|
|
832
|
-
}, a = function(
|
|
833
|
-
var
|
|
834
|
-
return ((
|
|
835
|
-
},
|
|
836
|
-
const
|
|
837
|
-
return `calc(${
|
|
839
|
+
const It = (e) => `builder-columns ${e}-breakpoints`;
|
|
840
|
+
function wt(e) {
|
|
841
|
+
var y, A;
|
|
842
|
+
const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], i = e.stackColumnsAt || "tablet", o = function(b) {
|
|
843
|
+
return b.link ? e.builderLinkComponent || "a" : "div";
|
|
844
|
+
}, a = function(b) {
|
|
845
|
+
var k;
|
|
846
|
+
return ((k = n[b]) == null ? void 0 : k.width) || 100 / n.length;
|
|
847
|
+
}, c = function(b) {
|
|
848
|
+
const k = a(b), T = t * (n.length - 1) * (k / 100);
|
|
849
|
+
return `calc(${k}% - ${T}px)`;
|
|
838
850
|
}, r = function({
|
|
839
|
-
stackedStyle:
|
|
840
|
-
desktopStyle:
|
|
851
|
+
stackedStyle: b,
|
|
852
|
+
desktopStyle: k
|
|
841
853
|
}) {
|
|
842
|
-
return i === "tablet" ?
|
|
854
|
+
return i === "tablet" ? b : k;
|
|
843
855
|
}, s = function({
|
|
844
|
-
stackedStyle:
|
|
845
|
-
desktopStyle:
|
|
856
|
+
stackedStyle: b,
|
|
857
|
+
desktopStyle: k
|
|
846
858
|
}) {
|
|
847
|
-
return i === "never" ?
|
|
859
|
+
return i === "never" ? k : b;
|
|
848
860
|
}, d = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", m = function() {
|
|
849
861
|
return {
|
|
850
862
|
"--flex-dir": d,
|
|
@@ -853,39 +865,39 @@ function Tt(e) {
|
|
|
853
865
|
desktopStyle: "row"
|
|
854
866
|
})
|
|
855
867
|
};
|
|
856
|
-
}, u = function(
|
|
857
|
-
const
|
|
868
|
+
}, u = function(b) {
|
|
869
|
+
const k = b === 0 ? 0 : t, T = c(b), B = `${k}px`, L = "100%", j = 0;
|
|
858
870
|
return {
|
|
859
871
|
...{
|
|
860
872
|
display: "flex",
|
|
861
873
|
flexDirection: "column",
|
|
862
874
|
alignItems: "stretch"
|
|
863
875
|
},
|
|
864
|
-
width:
|
|
865
|
-
["marginLeft"]:
|
|
876
|
+
width: T,
|
|
877
|
+
["marginLeft"]: B,
|
|
866
878
|
"--column-width-mobile": s({
|
|
867
|
-
stackedStyle:
|
|
868
|
-
desktopStyle:
|
|
879
|
+
stackedStyle: L,
|
|
880
|
+
desktopStyle: T
|
|
869
881
|
}),
|
|
870
882
|
"--column-margin-left-mobile": s({
|
|
871
|
-
stackedStyle:
|
|
872
|
-
desktopStyle:
|
|
883
|
+
stackedStyle: j,
|
|
884
|
+
desktopStyle: B
|
|
873
885
|
}),
|
|
874
886
|
"--column-width-tablet": r({
|
|
875
|
-
stackedStyle:
|
|
876
|
-
desktopStyle:
|
|
887
|
+
stackedStyle: L,
|
|
888
|
+
desktopStyle: T
|
|
877
889
|
}),
|
|
878
890
|
"--column-margin-left-tablet": r({
|
|
879
|
-
stackedStyle:
|
|
880
|
-
desktopStyle:
|
|
891
|
+
stackedStyle: j,
|
|
892
|
+
desktopStyle: B
|
|
881
893
|
})
|
|
882
894
|
};
|
|
883
|
-
}, h = function(
|
|
884
|
-
var
|
|
885
|
-
return
|
|
886
|
-
((
|
|
887
|
-
)[
|
|
888
|
-
},
|
|
895
|
+
}, h = function(b) {
|
|
896
|
+
var T, B;
|
|
897
|
+
return Te(
|
|
898
|
+
((B = (T = e.builderContext.content) == null ? void 0 : T.meta) == null ? void 0 : B.breakpoints) || {}
|
|
899
|
+
)[b].max;
|
|
900
|
+
}, p = function() {
|
|
889
901
|
return `
|
|
890
902
|
@media (max-width: ${h("medium")}px) {
|
|
891
903
|
.${e.builderBlock.id}-breakpoints {
|
|
@@ -911,33 +923,40 @@ function Tt(e) {
|
|
|
911
923
|
}
|
|
912
924
|
},
|
|
913
925
|
`;
|
|
914
|
-
}, w = function(
|
|
926
|
+
}, w = function(b, k) {
|
|
915
927
|
return {
|
|
916
|
-
...
|
|
917
|
-
href:
|
|
928
|
+
...b.link ? {
|
|
929
|
+
href: b.link
|
|
918
930
|
} : {},
|
|
919
|
-
[
|
|
920
|
-
style:
|
|
931
|
+
[D()]: "builder-column",
|
|
932
|
+
style: Ie(u(k))
|
|
921
933
|
};
|
|
922
934
|
};
|
|
923
|
-
return /* @__PURE__ */ P(
|
|
935
|
+
return /* @__PURE__ */ P(I, { children: [
|
|
924
936
|
/* @__PURE__ */ P(
|
|
925
937
|
"div",
|
|
926
938
|
{
|
|
927
|
-
className:
|
|
939
|
+
className: It((y = e.builderBlock) == null ? void 0 : y.id) + " div-c89348d2",
|
|
928
940
|
style: m(),
|
|
929
941
|
children: [
|
|
930
|
-
/* @__PURE__ */
|
|
931
|
-
|
|
932
|
-
re,
|
|
942
|
+
/* @__PURE__ */ l(
|
|
943
|
+
Q,
|
|
933
944
|
{
|
|
934
|
-
|
|
945
|
+
id: "builderio-columns",
|
|
946
|
+
styles: p(),
|
|
947
|
+
nonce: e.builderContext.nonce
|
|
948
|
+
}
|
|
949
|
+
),
|
|
950
|
+
(A = e.columns) == null ? void 0 : A.map((S, b) => /* @__PURE__ */ l(
|
|
951
|
+
ae,
|
|
952
|
+
{
|
|
953
|
+
TagName: o(S),
|
|
935
954
|
actionAttributes: {},
|
|
936
|
-
attributes: w(
|
|
937
|
-
children: /* @__PURE__ */
|
|
938
|
-
|
|
955
|
+
attributes: w(S, b),
|
|
956
|
+
children: /* @__PURE__ */ l(
|
|
957
|
+
le,
|
|
939
958
|
{
|
|
940
|
-
path: `component.options.columns.${
|
|
959
|
+
path: `component.options.columns.${b}.blocks`,
|
|
941
960
|
parent: e.builderBlock.id,
|
|
942
961
|
styleProp: {
|
|
943
962
|
flexGrow: "1"
|
|
@@ -945,32 +964,32 @@ function Tt(e) {
|
|
|
945
964
|
context: e.builderContext,
|
|
946
965
|
registeredComponents: e.builderComponents,
|
|
947
966
|
linkComponent: e.builderLinkComponent,
|
|
948
|
-
blocks:
|
|
967
|
+
blocks: S.blocks
|
|
949
968
|
}
|
|
950
969
|
)
|
|
951
970
|
},
|
|
952
|
-
|
|
971
|
+
b
|
|
953
972
|
))
|
|
954
973
|
]
|
|
955
974
|
}
|
|
956
975
|
),
|
|
957
|
-
/* @__PURE__ */
|
|
976
|
+
/* @__PURE__ */ l("style", { children: `.div-c89348d2 {
|
|
958
977
|
display: flex;
|
|
959
978
|
line-height: normal;
|
|
960
979
|
}` })
|
|
961
980
|
] });
|
|
962
981
|
}
|
|
963
|
-
function
|
|
964
|
-
return /* @__PURE__ */
|
|
982
|
+
function Tt(e) {
|
|
983
|
+
return /* @__PURE__ */ l("span", { children: e.children });
|
|
965
984
|
}
|
|
966
985
|
function ge(e) {
|
|
967
986
|
return e.replace(/http(s)?:/, "");
|
|
968
987
|
}
|
|
969
|
-
function
|
|
988
|
+
function Rt(e = "", t, n) {
|
|
970
989
|
const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
|
|
971
990
|
return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
|
|
972
991
|
}
|
|
973
|
-
function
|
|
992
|
+
function Pt(e, t) {
|
|
974
993
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
975
994
|
return e;
|
|
976
995
|
if (t === "master")
|
|
@@ -982,19 +1001,19 @@ function Bt(e, t) {
|
|
|
982
1001
|
}
|
|
983
1002
|
return null;
|
|
984
1003
|
}
|
|
985
|
-
function
|
|
1004
|
+
function te(e) {
|
|
986
1005
|
if (!e)
|
|
987
1006
|
return e;
|
|
988
1007
|
const t = [100, 200, 400, 800, 1200, 1600, 2e3];
|
|
989
1008
|
if (e.match(/builder\.io/)) {
|
|
990
1009
|
let n = e;
|
|
991
1010
|
const i = Number(e.split("?width=")[1]);
|
|
992
|
-
return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${
|
|
1011
|
+
return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${Rt(e, "width", o)} ${o}w`).concat([n]).join(", ");
|
|
993
1012
|
}
|
|
994
|
-
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [
|
|
1013
|
+
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Pt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
|
|
995
1014
|
}
|
|
996
1015
|
function Et(e) {
|
|
997
|
-
var o, a,
|
|
1016
|
+
var o, a, c, r, s, d;
|
|
998
1017
|
function t() {
|
|
999
1018
|
var h;
|
|
1000
1019
|
const u = e.image || e.src;
|
|
@@ -1004,10 +1023,10 @@ function Et(e) {
|
|
|
1004
1023
|
return e.srcset;
|
|
1005
1024
|
if (e.srcset && ((h = e.image) != null && h.includes("builder.io/api/v1/image"))) {
|
|
1006
1025
|
if (!e.srcset.includes(e.image.split("?")[0]))
|
|
1007
|
-
return console.debug("Removed given srcset"),
|
|
1026
|
+
return console.debug("Removed given srcset"), te(u);
|
|
1008
1027
|
} else if (e.image && !e.srcset)
|
|
1009
|
-
return
|
|
1010
|
-
return
|
|
1028
|
+
return te(u);
|
|
1029
|
+
return te(u);
|
|
1011
1030
|
}
|
|
1012
1031
|
function n() {
|
|
1013
1032
|
var m;
|
|
@@ -1023,11 +1042,11 @@ function Et(e) {
|
|
|
1023
1042
|
};
|
|
1024
1043
|
return e.aspectRatio ? m : void 0;
|
|
1025
1044
|
}
|
|
1026
|
-
return /* @__PURE__ */ P(
|
|
1027
|
-
/* @__PURE__ */ P(
|
|
1045
|
+
return /* @__PURE__ */ P(I, { children: [
|
|
1046
|
+
/* @__PURE__ */ P(I, { children: [
|
|
1028
1047
|
/* @__PURE__ */ P("picture", { children: [
|
|
1029
|
-
n() ? /* @__PURE__ */
|
|
1030
|
-
/* @__PURE__ */
|
|
1048
|
+
n() ? /* @__PURE__ */ l("source", { type: "image/webp", srcSet: n() }) : null,
|
|
1049
|
+
/* @__PURE__ */ l(
|
|
1031
1050
|
"img",
|
|
1032
1051
|
{
|
|
1033
1052
|
loading: e.highPriority ? "eager" : "lazy",
|
|
@@ -1046,7 +1065,7 @@ function Et(e) {
|
|
|
1046
1065
|
}
|
|
1047
1066
|
)
|
|
1048
1067
|
] }),
|
|
1049
|
-
e.aspectRatio && !((a = (o = e.builderBlock) == null ? void 0 : o.children) != null && a.length && e.fitContent) ? /* @__PURE__ */
|
|
1068
|
+
e.aspectRatio && !((a = (o = e.builderBlock) == null ? void 0 : o.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ l(
|
|
1050
1069
|
"div",
|
|
1051
1070
|
{
|
|
1052
1071
|
className: "builder-image-sizer div-ac3dff4a",
|
|
@@ -1055,10 +1074,10 @@ function Et(e) {
|
|
|
1055
1074
|
}
|
|
1056
1075
|
}
|
|
1057
1076
|
) : null,
|
|
1058
|
-
(r = (
|
|
1059
|
-
!e.fitContent && ((d = (s = e.builderBlock) == null ? void 0 : s.children) != null && d.length) ? /* @__PURE__ */
|
|
1077
|
+
(r = (c = e.builderBlock) == null ? void 0 : c.children) != null && r.length && e.fitContent ? /* @__PURE__ */ l(I, { children: e.children }) : null,
|
|
1078
|
+
!e.fitContent && ((d = (s = e.builderBlock) == null ? void 0 : s.children) != null && d.length) ? /* @__PURE__ */ l("div", { className: "div-ac3dff4a-2", children: e.children }) : null
|
|
1060
1079
|
] }),
|
|
1061
|
-
/* @__PURE__ */
|
|
1080
|
+
/* @__PURE__ */ l("style", { children: `.img-ac3dff4a {
|
|
1062
1081
|
opacity: 1;
|
|
1063
1082
|
transition: opacity 0.2s ease-in-out;
|
|
1064
1083
|
}.div-ac3dff4a {
|
|
@@ -1077,8 +1096,8 @@ function Et(e) {
|
|
|
1077
1096
|
}` })
|
|
1078
1097
|
] });
|
|
1079
1098
|
}
|
|
1080
|
-
function
|
|
1081
|
-
return /* @__PURE__ */
|
|
1099
|
+
function Bt(e) {
|
|
1100
|
+
return /* @__PURE__ */ l(
|
|
1082
1101
|
"section",
|
|
1083
1102
|
{
|
|
1084
1103
|
...e.attributes,
|
|
@@ -1098,7 +1117,7 @@ function Wt(e) {
|
|
|
1098
1117
|
}
|
|
1099
1118
|
);
|
|
1100
1119
|
}
|
|
1101
|
-
const
|
|
1120
|
+
const Wt = {
|
|
1102
1121
|
name: "Core:Button",
|
|
1103
1122
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
1104
1123
|
defaultStyles: {
|
|
@@ -1132,12 +1151,9 @@ const Nt = {
|
|
|
1132
1151
|
static: !0,
|
|
1133
1152
|
noWrap: !0,
|
|
1134
1153
|
shouldReceiveBuilderProps: {
|
|
1135
|
-
builderBlock: !1,
|
|
1136
|
-
builderContext: !1,
|
|
1137
|
-
builderComponents: !1,
|
|
1138
1154
|
builderLinkComponent: !0
|
|
1139
1155
|
}
|
|
1140
|
-
},
|
|
1156
|
+
}, Nt = {
|
|
1141
1157
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
1142
1158
|
name: "Columns",
|
|
1143
1159
|
isRSC: !0,
|
|
@@ -1344,19 +1360,13 @@ const Nt = {
|
|
|
1344
1360
|
builderComponents: !0,
|
|
1345
1361
|
builderLinkComponent: !0
|
|
1346
1362
|
}
|
|
1347
|
-
},
|
|
1348
|
-
shouldReceiveBuilderProps: {
|
|
1349
|
-
builderBlock: !1,
|
|
1350
|
-
builderContext: !1,
|
|
1351
|
-
builderComponents: !1,
|
|
1352
|
-
builderLinkComponent: !1
|
|
1353
|
-
},
|
|
1363
|
+
}, At = {
|
|
1354
1364
|
name: "Fragment",
|
|
1355
1365
|
static: !0,
|
|
1356
1366
|
hidden: !0,
|
|
1357
1367
|
canHaveChildren: !0,
|
|
1358
1368
|
noWrap: !0
|
|
1359
|
-
},
|
|
1369
|
+
}, Vt = {
|
|
1360
1370
|
name: "Image",
|
|
1361
1371
|
static: !0,
|
|
1362
1372
|
image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
|
|
@@ -1376,7 +1386,7 @@ const Nt = {
|
|
|
1376
1386
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
1377
1387
|
onChange: (e) => {
|
|
1378
1388
|
e.delete("srcset"), e.delete("noWebp");
|
|
1379
|
-
function n(
|
|
1389
|
+
function n(c, r = 6e4) {
|
|
1380
1390
|
return new Promise((s, d) => {
|
|
1381
1391
|
const m = document.createElement("img");
|
|
1382
1392
|
let u = !1;
|
|
@@ -1384,21 +1394,21 @@ const Nt = {
|
|
|
1384
1394
|
u = !0, s(m);
|
|
1385
1395
|
}, m.addEventListener("error", (h) => {
|
|
1386
1396
|
console.warn("Image load failed", h.error), d(h.error);
|
|
1387
|
-
}), m.src =
|
|
1397
|
+
}), m.src = c, setTimeout(() => {
|
|
1388
1398
|
u || d(new Error("Image load timed out"));
|
|
1389
1399
|
}, r);
|
|
1390
1400
|
});
|
|
1391
1401
|
}
|
|
1392
|
-
function i(
|
|
1393
|
-
return Math.round(
|
|
1402
|
+
function i(c) {
|
|
1403
|
+
return Math.round(c * 1e3) / 1e3;
|
|
1394
1404
|
}
|
|
1395
1405
|
const o = e.get("image"), a = e.get("aspectRatio");
|
|
1396
|
-
if (fetch(o).then((
|
|
1397
|
-
|
|
1406
|
+
if (fetch(o).then((c) => c.blob()).then((c) => {
|
|
1407
|
+
c.type.includes("svg") && e.set("noWebp", !0);
|
|
1398
1408
|
}), o && (!a || a === 0.7041))
|
|
1399
|
-
return n(o).then((
|
|
1409
|
+
return n(o).then((c) => {
|
|
1400
1410
|
const r = e.get("aspectRatio");
|
|
1401
|
-
e.get("image") === o && (!r || r === 0.7041) &&
|
|
1411
|
+
e.get("image") === o && (!r || r === 0.7041) && c.width && c.height && (e.set("aspectRatio", i(c.height / c.width)), e.set("height", c.height), e.set("width", c.width));
|
|
1402
1412
|
});
|
|
1403
1413
|
}
|
|
1404
1414
|
}, {
|
|
@@ -1462,18 +1472,9 @@ const Nt = {
|
|
|
1462
1472
|
defaultValue: 0.7041
|
|
1463
1473
|
}],
|
|
1464
1474
|
shouldReceiveBuilderProps: {
|
|
1465
|
-
builderBlock: !0
|
|
1466
|
-
builderContext: !1,
|
|
1467
|
-
builderComponents: !1,
|
|
1468
|
-
builderLinkComponent: !1
|
|
1475
|
+
builderBlock: !0
|
|
1469
1476
|
}
|
|
1470
|
-
},
|
|
1471
|
-
shouldReceiveBuilderProps: {
|
|
1472
|
-
builderBlock: !1,
|
|
1473
|
-
builderContext: !1,
|
|
1474
|
-
builderComponents: !1,
|
|
1475
|
-
builderLinkComponent: !1
|
|
1476
|
-
},
|
|
1477
|
+
}, $t = {
|
|
1477
1478
|
name: "Core:Section",
|
|
1478
1479
|
static: !0,
|
|
1479
1480
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -1526,15 +1527,12 @@ const Nt = {
|
|
|
1526
1527
|
defaultValue: "children"
|
|
1527
1528
|
}],
|
|
1528
1529
|
shouldReceiveBuilderProps: {
|
|
1529
|
-
|
|
1530
|
-
builderContext: !0,
|
|
1531
|
-
builderComponents: !1,
|
|
1532
|
-
builderLinkComponent: !1
|
|
1530
|
+
builderContext: !0
|
|
1533
1531
|
}
|
|
1534
1532
|
};
|
|
1535
|
-
function
|
|
1533
|
+
function Lt(e) {
|
|
1536
1534
|
var t, n, i;
|
|
1537
|
-
return /* @__PURE__ */
|
|
1535
|
+
return /* @__PURE__ */ l(
|
|
1538
1536
|
"div",
|
|
1539
1537
|
{
|
|
1540
1538
|
style: {
|
|
@@ -1543,8 +1541,8 @@ function Dt(e) {
|
|
|
1543
1541
|
...!((t = e.builderContext.context) != null && t.symbolId) && {
|
|
1544
1542
|
"builder-slot": e.name
|
|
1545
1543
|
},
|
|
1546
|
-
children: /* @__PURE__ */
|
|
1547
|
-
|
|
1544
|
+
children: /* @__PURE__ */ l(
|
|
1545
|
+
le,
|
|
1548
1546
|
{
|
|
1549
1547
|
parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
|
|
1550
1548
|
path: `symbol.data.${e.name}`,
|
|
@@ -1594,12 +1592,9 @@ const jt = {
|
|
|
1594
1592
|
builderComponents: !0,
|
|
1595
1593
|
builderLinkComponent: !0
|
|
1596
1594
|
}
|
|
1597
|
-
},
|
|
1595
|
+
}, Dt = {
|
|
1598
1596
|
shouldReceiveBuilderProps: {
|
|
1599
|
-
builderBlock: !1
|
|
1600
|
-
builderContext: !1,
|
|
1601
|
-
builderComponents: !1,
|
|
1602
|
-
builderLinkComponent: !1
|
|
1597
|
+
builderBlock: !1
|
|
1603
1598
|
},
|
|
1604
1599
|
name: "Text",
|
|
1605
1600
|
static: !0,
|
|
@@ -1619,9 +1614,9 @@ const jt = {
|
|
|
1619
1614
|
textAlign: "center"
|
|
1620
1615
|
}
|
|
1621
1616
|
};
|
|
1622
|
-
function
|
|
1617
|
+
function Ot(e) {
|
|
1623
1618
|
var t;
|
|
1624
|
-
return /* @__PURE__ */
|
|
1619
|
+
return /* @__PURE__ */ l(
|
|
1625
1620
|
"div",
|
|
1626
1621
|
{
|
|
1627
1622
|
className: "builder-text",
|
|
@@ -1632,13 +1627,7 @@ function Ht(e) {
|
|
|
1632
1627
|
}
|
|
1633
1628
|
);
|
|
1634
1629
|
}
|
|
1635
|
-
const
|
|
1636
|
-
shouldReceiveBuilderProps: {
|
|
1637
|
-
builderBlock: !1,
|
|
1638
|
-
builderContext: !1,
|
|
1639
|
-
builderComponents: !1,
|
|
1640
|
-
builderLinkComponent: !1
|
|
1641
|
-
},
|
|
1630
|
+
const Ht = {
|
|
1642
1631
|
name: "Custom Code",
|
|
1643
1632
|
static: !0,
|
|
1644
1633
|
requiredPermissions: ["editCode"],
|
|
@@ -1661,15 +1650,15 @@ const Mt = {
|
|
|
1661
1650
|
advanced: !0
|
|
1662
1651
|
}]
|
|
1663
1652
|
};
|
|
1664
|
-
function
|
|
1665
|
-
const t =
|
|
1666
|
-
return
|
|
1653
|
+
function Mt(e) {
|
|
1654
|
+
const t = oe(null), [n, i] = N(() => []), [o, a] = N(() => []);
|
|
1655
|
+
return R(() => {
|
|
1667
1656
|
var r;
|
|
1668
1657
|
if (!((r = t.current) != null && r.getElementsByTagName) || typeof window == "undefined")
|
|
1669
1658
|
return;
|
|
1670
|
-
const
|
|
1671
|
-
for (let s = 0; s <
|
|
1672
|
-
const d =
|
|
1659
|
+
const c = t.current.getElementsByTagName("script");
|
|
1660
|
+
for (let s = 0; s < c.length; s++) {
|
|
1661
|
+
const d = c[s];
|
|
1673
1662
|
if (d.src) {
|
|
1674
1663
|
if (n.includes(d.src))
|
|
1675
1664
|
continue;
|
|
@@ -1690,7 +1679,7 @@ function Ut(e) {
|
|
|
1690
1679
|
}
|
|
1691
1680
|
}
|
|
1692
1681
|
}
|
|
1693
|
-
}, []), /* @__PURE__ */
|
|
1682
|
+
}, []), /* @__PURE__ */ l(
|
|
1694
1683
|
"div",
|
|
1695
1684
|
{
|
|
1696
1685
|
ref: t,
|
|
@@ -1699,13 +1688,7 @@ function Ut(e) {
|
|
|
1699
1688
|
}
|
|
1700
1689
|
);
|
|
1701
1690
|
}
|
|
1702
|
-
const
|
|
1703
|
-
shouldReceiveBuilderProps: {
|
|
1704
|
-
builderBlock: !1,
|
|
1705
|
-
builderContext: !1,
|
|
1706
|
-
builderComponents: !1,
|
|
1707
|
-
builderLinkComponent: !1
|
|
1708
|
-
},
|
|
1691
|
+
const Ut = {
|
|
1709
1692
|
name: "Embed",
|
|
1710
1693
|
static: !0,
|
|
1711
1694
|
inputs: [{
|
|
@@ -1720,9 +1703,9 @@ const _t = {
|
|
|
1720
1703
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
1721
1704
|
hideFromUI: !0
|
|
1722
1705
|
}]
|
|
1723
|
-
},
|
|
1724
|
-
function
|
|
1725
|
-
const t =
|
|
1706
|
+
}, _t = ["text/javascript", "application/javascript", "application/ecmascript"], Kt = (e) => _t.includes(e.type);
|
|
1707
|
+
function zt(e) {
|
|
1708
|
+
const t = oe(null), [n, i] = N(() => []), [o, a] = N(() => []), [c, r] = N(() => !1);
|
|
1726
1709
|
function s() {
|
|
1727
1710
|
if (!t.current || !t.current.getElementsByTagName)
|
|
1728
1711
|
return;
|
|
@@ -1733,7 +1716,7 @@ function qt(e) {
|
|
|
1733
1716
|
n.push(u.src);
|
|
1734
1717
|
const h = document.createElement("script");
|
|
1735
1718
|
h.async = !0, h.src = u.src, document.head.appendChild(h);
|
|
1736
|
-
} else if (
|
|
1719
|
+
} else if (Kt(u) && !o.includes(u.innerText))
|
|
1737
1720
|
try {
|
|
1738
1721
|
o.push(u.innerText), new Function(u.innerText)();
|
|
1739
1722
|
} catch (h) {
|
|
@@ -1741,9 +1724,9 @@ function qt(e) {
|
|
|
1741
1724
|
}
|
|
1742
1725
|
}
|
|
1743
1726
|
}
|
|
1744
|
-
return
|
|
1745
|
-
t.current && !
|
|
1746
|
-
}, [t.current,
|
|
1727
|
+
return R(() => {
|
|
1728
|
+
t.current && !c && (r(!0), s());
|
|
1729
|
+
}, [t.current, c]), /* @__PURE__ */ l(
|
|
1747
1730
|
"div",
|
|
1748
1731
|
{
|
|
1749
1732
|
className: "builder-embed",
|
|
@@ -1752,13 +1735,7 @@ function qt(e) {
|
|
|
1752
1735
|
}
|
|
1753
1736
|
);
|
|
1754
1737
|
}
|
|
1755
|
-
const
|
|
1756
|
-
shouldReceiveBuilderProps: {
|
|
1757
|
-
builderBlock: !1,
|
|
1758
|
-
builderContext: !1,
|
|
1759
|
-
builderComponents: !1,
|
|
1760
|
-
builderLinkComponent: !1
|
|
1761
|
-
},
|
|
1738
|
+
const qt = {
|
|
1762
1739
|
// friendlyName?
|
|
1763
1740
|
name: "Raw:Img",
|
|
1764
1741
|
hideFromInsertMenu: !0,
|
|
@@ -1773,8 +1750,8 @@ const Yt = {
|
|
|
1773
1750
|
noWrap: !0,
|
|
1774
1751
|
static: !0
|
|
1775
1752
|
};
|
|
1776
|
-
function
|
|
1777
|
-
return /* @__PURE__ */
|
|
1753
|
+
function Yt(e) {
|
|
1754
|
+
return /* @__PURE__ */ l(
|
|
1778
1755
|
"img",
|
|
1779
1756
|
{
|
|
1780
1757
|
style: {
|
|
@@ -1788,7 +1765,7 @@ function Jt(e) {
|
|
|
1788
1765
|
V() && e.imgSrc || "default-key"
|
|
1789
1766
|
);
|
|
1790
1767
|
}
|
|
1791
|
-
const
|
|
1768
|
+
const Jt = {
|
|
1792
1769
|
name: "Video",
|
|
1793
1770
|
canHaveChildren: !0,
|
|
1794
1771
|
defaultStyles: {
|
|
@@ -1870,14 +1847,11 @@ const Qt = {
|
|
|
1870
1847
|
advanced: !0
|
|
1871
1848
|
}],
|
|
1872
1849
|
shouldReceiveBuilderProps: {
|
|
1873
|
-
builderBlock: !0
|
|
1874
|
-
builderContext: !1,
|
|
1875
|
-
builderComponents: !1,
|
|
1876
|
-
builderLinkComponent: !1
|
|
1850
|
+
builderBlock: !0
|
|
1877
1851
|
}
|
|
1878
1852
|
};
|
|
1879
|
-
function
|
|
1880
|
-
var i, o, a,
|
|
1853
|
+
function Qt(e) {
|
|
1854
|
+
var i, o, a, c, r, s, d;
|
|
1881
1855
|
function t() {
|
|
1882
1856
|
return {
|
|
1883
1857
|
...e.autoPlay === !0 ? {
|
|
@@ -1909,7 +1883,7 @@ function Gt(e) {
|
|
|
1909
1883
|
position: "relative"
|
|
1910
1884
|
},
|
|
1911
1885
|
children: [
|
|
1912
|
-
/* @__PURE__ */
|
|
1886
|
+
/* @__PURE__ */ l(
|
|
1913
1887
|
"video",
|
|
1914
1888
|
{
|
|
1915
1889
|
className: "builder-video",
|
|
@@ -1931,10 +1905,10 @@ function Gt(e) {
|
|
|
1931
1905
|
},
|
|
1932
1906
|
src: e.video || "no-src",
|
|
1933
1907
|
poster: e.posterImage,
|
|
1934
|
-
children: e.lazyLoad ? null : /* @__PURE__ */
|
|
1908
|
+
children: e.lazyLoad ? null : /* @__PURE__ */ l("source", { type: "video/mp4", src: e.video })
|
|
1935
1909
|
}
|
|
1936
1910
|
),
|
|
1937
|
-
e.aspectRatio && !(e.fitContent && ((a = (o = e.builderBlock) == null ? void 0 : o.children) != null && a.length)) ? /* @__PURE__ */
|
|
1911
|
+
e.aspectRatio && !(e.fitContent && ((a = (o = e.builderBlock) == null ? void 0 : o.children) != null && a.length)) ? /* @__PURE__ */ l(
|
|
1938
1912
|
"div",
|
|
1939
1913
|
{
|
|
1940
1914
|
style: {
|
|
@@ -1945,7 +1919,7 @@ function Gt(e) {
|
|
|
1945
1919
|
}
|
|
1946
1920
|
}
|
|
1947
1921
|
) : null,
|
|
1948
|
-
(r = (
|
|
1922
|
+
(r = (c = e.builderBlock) == null ? void 0 : c.children) != null && r.length && e.fitContent ? /* @__PURE__ */ l(
|
|
1949
1923
|
"div",
|
|
1950
1924
|
{
|
|
1951
1925
|
style: {
|
|
@@ -1956,7 +1930,7 @@ function Gt(e) {
|
|
|
1956
1930
|
children: e.children
|
|
1957
1931
|
}
|
|
1958
1932
|
) : null,
|
|
1959
|
-
(d = (s = e.builderBlock) == null ? void 0 : s.children) != null && d.length && !e.fitContent ? /* @__PURE__ */
|
|
1933
|
+
(d = (s = e.builderBlock) == null ? void 0 : s.children) != null && d.length && !e.fitContent ? /* @__PURE__ */ l(
|
|
1960
1934
|
"div",
|
|
1961
1935
|
{
|
|
1962
1936
|
style: {
|
|
@@ -1977,43 +1951,43 @@ function Gt(e) {
|
|
|
1977
1951
|
}
|
|
1978
1952
|
);
|
|
1979
1953
|
}
|
|
1980
|
-
const
|
|
1981
|
-
component:
|
|
1982
|
-
...
|
|
1954
|
+
const Gt = () => [{
|
|
1955
|
+
component: Mt,
|
|
1956
|
+
...Ht
|
|
1957
|
+
}, {
|
|
1958
|
+
component: zt,
|
|
1959
|
+
...Ut
|
|
1983
1960
|
}, {
|
|
1984
|
-
component:
|
|
1985
|
-
...
|
|
1961
|
+
component: Yt,
|
|
1962
|
+
...qt
|
|
1986
1963
|
}, {
|
|
1987
|
-
component:
|
|
1988
|
-
...
|
|
1964
|
+
component: Qt,
|
|
1965
|
+
...Jt
|
|
1966
|
+
}], be = () => [{
|
|
1967
|
+
component: Ge,
|
|
1968
|
+
...Wt
|
|
1989
1969
|
}, {
|
|
1990
|
-
component:
|
|
1991
|
-
...Qt
|
|
1992
|
-
}], pe = () => [{
|
|
1993
|
-
component: Xe,
|
|
1970
|
+
component: wt,
|
|
1994
1971
|
...Nt
|
|
1995
1972
|
}, {
|
|
1996
1973
|
component: Tt,
|
|
1997
1974
|
...At
|
|
1998
1975
|
}, {
|
|
1999
|
-
component:
|
|
1976
|
+
component: Et,
|
|
2000
1977
|
...Vt
|
|
2001
1978
|
}, {
|
|
2002
|
-
component:
|
|
1979
|
+
component: Bt,
|
|
2003
1980
|
...$t
|
|
2004
1981
|
}, {
|
|
2005
|
-
component:
|
|
2006
|
-
...Lt
|
|
2007
|
-
}, {
|
|
2008
|
-
component: Dt,
|
|
1982
|
+
component: Lt,
|
|
2009
1983
|
...Ft
|
|
2010
1984
|
}, {
|
|
2011
|
-
component:
|
|
1985
|
+
component: Rn,
|
|
2012
1986
|
...jt
|
|
2013
1987
|
}, {
|
|
2014
|
-
component:
|
|
2015
|
-
...
|
|
2016
|
-
}, ...
|
|
1988
|
+
component: Ot,
|
|
1989
|
+
...Dt
|
|
1990
|
+
}, ...Gt()], Xt = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
2017
1991
|
function getAndSetVariantId() {
|
|
2018
1992
|
function setCookie(name, value, days) {
|
|
2019
1993
|
let expires = '';
|
|
@@ -2069,7 +2043,7 @@ const Xt = () => [{
|
|
|
2069
2043
|
}).join('');
|
|
2070
2044
|
styleEl.innerHTML = newStyleStr;
|
|
2071
2045
|
}
|
|
2072
|
-
}`,
|
|
2046
|
+
}`, Zt = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
2073
2047
|
if (!navigator.cookieEnabled) {
|
|
2074
2048
|
return;
|
|
2075
2049
|
}
|
|
@@ -2103,35 +2077,36 @@ const Xt = () => [{
|
|
|
2103
2077
|
thisScriptEl?.remove();
|
|
2104
2078
|
}
|
|
2105
2079
|
return;
|
|
2106
|
-
}`,
|
|
2080
|
+
}`, Pe = "builderIoAbTest", Ee = "builderIoRenderContent", _ = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
2107
2081
|
...t,
|
|
2108
2082
|
testVariationId: t.id,
|
|
2109
2083
|
id: e == null ? void 0 : e.id
|
|
2110
|
-
})),
|
|
2084
|
+
})), en = ({
|
|
2111
2085
|
canTrack: e,
|
|
2112
2086
|
content: t
|
|
2113
|
-
}) => !(!(_(t).length > 0) || !e || z()),
|
|
2114
|
-
window.${
|
|
2115
|
-
window.${Ee} = ${
|
|
2116
|
-
`,
|
|
2117
|
-
window.${
|
|
2118
|
-
"${t}",${JSON.stringify(e)}, ${
|
|
2119
|
-
)`,
|
|
2087
|
+
}) => !(!(_(t).length > 0) || !e || z()), tn = (e) => e === "react" || e === "reactNative", Be = tn(H), nn = () => `
|
|
2088
|
+
window.${Pe} = ${Xt}
|
|
2089
|
+
window.${Ee} = ${Zt}
|
|
2090
|
+
`, on = (e, t) => `
|
|
2091
|
+
window.${Pe}(
|
|
2092
|
+
"${t}",${JSON.stringify(e)}, ${Be}
|
|
2093
|
+
)`, an = ({
|
|
2120
2094
|
contentId: e,
|
|
2121
2095
|
variationId: t
|
|
2122
2096
|
}) => `window.${Ee}(
|
|
2123
|
-
"${t}", "${e}", ${
|
|
2097
|
+
"${t}", "${e}", ${Be}
|
|
2124
2098
|
)`;
|
|
2125
|
-
function
|
|
2126
|
-
return /* @__PURE__ */
|
|
2099
|
+
function ne(e) {
|
|
2100
|
+
return /* @__PURE__ */ l(
|
|
2127
2101
|
"script",
|
|
2128
2102
|
{
|
|
2129
2103
|
dangerouslySetInnerHTML: { __html: e.scriptStr },
|
|
2130
|
-
"data-id": e.id
|
|
2104
|
+
"data-id": e.id,
|
|
2105
|
+
nonce: e.nonce || ""
|
|
2131
2106
|
}
|
|
2132
2107
|
);
|
|
2133
2108
|
}
|
|
2134
|
-
const
|
|
2109
|
+
const rn = qe({
|
|
2135
2110
|
content: null,
|
|
2136
2111
|
context: {},
|
|
2137
2112
|
localState: void 0,
|
|
@@ -2143,7 +2118,8 @@ const ln = Ye({
|
|
|
2143
2118
|
componentInfos: {},
|
|
2144
2119
|
inheritedStyles: {},
|
|
2145
2120
|
BlocksWrapper: "div",
|
|
2146
|
-
BlocksWrapperProps: {}
|
|
2121
|
+
BlocksWrapperProps: {},
|
|
2122
|
+
nonce: ""
|
|
2147
2123
|
});
|
|
2148
2124
|
function ye(e) {
|
|
2149
2125
|
return Math.round(e * 1e3) / 1e3;
|
|
@@ -2159,20 +2135,20 @@ const cn = (e, t, n = !0) => {
|
|
|
2159
2135
|
return i;
|
|
2160
2136
|
} while (i = i.parentElement);
|
|
2161
2137
|
return null;
|
|
2162
|
-
},
|
|
2138
|
+
}, ln = (e) => cn(e, (t) => {
|
|
2163
2139
|
const n = t.getAttribute("builder-id") || t.id;
|
|
2164
2140
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
2165
2141
|
}), ve = ({
|
|
2166
2142
|
event: e,
|
|
2167
2143
|
target: t
|
|
2168
2144
|
}) => {
|
|
2169
|
-
const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = ye(i / n.width),
|
|
2145
|
+
const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = ye(i / n.width), c = ye(o / n.height);
|
|
2170
2146
|
return {
|
|
2171
2147
|
x: a,
|
|
2172
|
-
y:
|
|
2148
|
+
y: c
|
|
2173
2149
|
};
|
|
2174
|
-
},
|
|
2175
|
-
const t = e.target, n = t &&
|
|
2150
|
+
}, sn = (e) => {
|
|
2151
|
+
const t = e.target, n = t && ln(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
2176
2152
|
return {
|
|
2177
2153
|
targetBuilderElement: i || void 0,
|
|
2178
2154
|
metadata: {
|
|
@@ -2188,11 +2164,11 @@ const cn = (e, t, n = !0) => {
|
|
|
2188
2164
|
}
|
|
2189
2165
|
};
|
|
2190
2166
|
};
|
|
2191
|
-
async function
|
|
2167
|
+
async function dn({
|
|
2192
2168
|
key: e,
|
|
2193
2169
|
value: t
|
|
2194
2170
|
}) {
|
|
2195
|
-
return
|
|
2171
|
+
return Ve(), globalThis._BUILDER_PREVIEW_LRU_CACHE.set(e, t), { [e]: t };
|
|
2196
2172
|
}
|
|
2197
2173
|
function xe(e, ...t) {
|
|
2198
2174
|
const n = Object(e);
|
|
@@ -2204,39 +2180,39 @@ function xe(e, ...t) {
|
|
|
2204
2180
|
}
|
|
2205
2181
|
return n;
|
|
2206
2182
|
}
|
|
2207
|
-
function
|
|
2183
|
+
function un(e) {
|
|
2208
2184
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
2209
2185
|
}
|
|
2210
|
-
function
|
|
2211
|
-
const n =
|
|
2212
|
-
for (const r of
|
|
2186
|
+
function mn(e, t) {
|
|
2187
|
+
const n = fn(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, c = [o, a];
|
|
2188
|
+
for (const r of c)
|
|
2213
2189
|
for (const s of n)
|
|
2214
2190
|
s in r || (r[s] = i[s]);
|
|
2215
2191
|
}
|
|
2216
|
-
function
|
|
2192
|
+
function fn(e) {
|
|
2217
2193
|
const t = [];
|
|
2218
2194
|
for (const n of e.steps)
|
|
2219
2195
|
for (const i in n.styles)
|
|
2220
2196
|
t.indexOf(i) === -1 && t.push(i);
|
|
2221
2197
|
return t;
|
|
2222
2198
|
}
|
|
2223
|
-
function
|
|
2199
|
+
function hn(e) {
|
|
2224
2200
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
2225
2201
|
if (!t.length) {
|
|
2226
|
-
|
|
2202
|
+
un(e.elementId || e.id || "");
|
|
2227
2203
|
return;
|
|
2228
2204
|
}
|
|
2229
2205
|
Array.from(t).forEach((n) => {
|
|
2230
|
-
|
|
2231
|
-
n.style.transition = `all ${e.duration}s ${
|
|
2206
|
+
mn(e, n), n.style.transition = "none", n.style.transitionDelay = "0", xe(n.style, e.steps[0].styles), setTimeout(() => {
|
|
2207
|
+
n.style.transition = `all ${e.duration}s ${re(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), xe(n.style, e.steps[1].styles), setTimeout(() => {
|
|
2232
2208
|
n.style.transition = "", n.style.transitionDelay = "";
|
|
2233
2209
|
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
2234
2210
|
});
|
|
2235
2211
|
});
|
|
2236
2212
|
}
|
|
2237
2213
|
const gn = (e) => {
|
|
2238
|
-
var a,
|
|
2239
|
-
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (
|
|
2214
|
+
var a, c;
|
|
2215
|
+
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (c = e.fileUrl) != null ? c : (a = e == null ? void 0 : e.files) == null ? void 0 : a.regular;
|
|
2240
2216
|
let o = "";
|
|
2241
2217
|
if (i && t && n && (o += `
|
|
2242
2218
|
@font-face {
|
|
@@ -2260,7 +2236,7 @@ font-weight: ${r};
|
|
|
2260
2236
|
`.trim());
|
|
2261
2237
|
}
|
|
2262
2238
|
return o;
|
|
2263
|
-
},
|
|
2239
|
+
}, bn = ({
|
|
2264
2240
|
customFonts: e
|
|
2265
2241
|
}) => {
|
|
2266
2242
|
var t;
|
|
@@ -2285,38 +2261,38 @@ font-weight: ${r};
|
|
|
2285
2261
|
text-align: inherit;
|
|
2286
2262
|
font-family: inherit;
|
|
2287
2263
|
}
|
|
2288
|
-
`, xn = (e) => e ? "" : vn,
|
|
2289
|
-
function
|
|
2290
|
-
var
|
|
2291
|
-
const t =
|
|
2292
|
-
function n(
|
|
2293
|
-
var
|
|
2264
|
+
`, xn = (e) => e ? "" : vn, Sn = (e) => `variant-${e}`;
|
|
2265
|
+
function pn(e) {
|
|
2266
|
+
var B, L, j, X, Z, se, de;
|
|
2267
|
+
const t = oe(null);
|
|
2268
|
+
function n(g) {
|
|
2269
|
+
var v, x;
|
|
2294
2270
|
const f = {
|
|
2295
2271
|
...e.builderContextSignal.rootState,
|
|
2296
|
-
...
|
|
2272
|
+
...g
|
|
2297
2273
|
};
|
|
2298
|
-
e.builderContextSignal.rootSetState ? (
|
|
2274
|
+
e.builderContextSignal.rootSetState ? (x = (v = e.builderContextSignal).rootSetState) == null || x.call(v, f) : e.builderContextSignal.rootState = f;
|
|
2299
2275
|
}
|
|
2300
|
-
function i(
|
|
2301
|
-
var
|
|
2276
|
+
function i(g) {
|
|
2277
|
+
var v, x, C, E, M;
|
|
2302
2278
|
const f = {
|
|
2303
2279
|
...e.builderContextSignal.content,
|
|
2304
|
-
...
|
|
2280
|
+
...g,
|
|
2305
2281
|
data: {
|
|
2306
|
-
...(
|
|
2307
|
-
...
|
|
2282
|
+
...(v = e.builderContextSignal.content) == null ? void 0 : v.data,
|
|
2283
|
+
...g == null ? void 0 : g.data
|
|
2308
2284
|
},
|
|
2309
2285
|
meta: {
|
|
2310
|
-
...(
|
|
2311
|
-
...
|
|
2312
|
-
breakpoints: ((
|
|
2286
|
+
...(x = e.builderContextSignal.content) == null ? void 0 : x.meta,
|
|
2287
|
+
...g == null ? void 0 : g.meta,
|
|
2288
|
+
breakpoints: ((C = g == null ? void 0 : g.meta) == null ? void 0 : C.breakpoints) || ((M = (E = e.builderContextSignal.content) == null ? void 0 : E.meta) == null ? void 0 : M.breakpoints)
|
|
2313
2289
|
}
|
|
2314
2290
|
};
|
|
2315
|
-
|
|
2291
|
+
dn({
|
|
2316
2292
|
value: f,
|
|
2317
2293
|
key: f.id
|
|
2318
2294
|
}).then(() => {
|
|
2319
|
-
|
|
2295
|
+
T.refresh();
|
|
2320
2296
|
});
|
|
2321
2297
|
}
|
|
2322
2298
|
function o() {
|
|
@@ -2325,37 +2301,37 @@ function Sn(e) {
|
|
|
2325
2301
|
"aria-hidden": !0
|
|
2326
2302
|
};
|
|
2327
2303
|
}
|
|
2328
|
-
const [a,
|
|
2304
|
+
const [a, c] = N(
|
|
2329
2305
|
() => e.contentWrapper || "div"
|
|
2330
2306
|
);
|
|
2331
|
-
function r(
|
|
2307
|
+
function r(g) {
|
|
2332
2308
|
return Fe({
|
|
2333
2309
|
model: e.model,
|
|
2334
2310
|
trustedHosts: e.trustedHosts,
|
|
2335
2311
|
callbacks: {
|
|
2336
2312
|
configureSdk: (f) => {
|
|
2337
|
-
var
|
|
2338
|
-
const { breakpoints:
|
|
2339
|
-
!
|
|
2313
|
+
var C;
|
|
2314
|
+
const { breakpoints: v, contentId: x } = f;
|
|
2315
|
+
!x || x !== ((C = e.builderContextSignal.content) == null ? void 0 : C.id) || v && i({
|
|
2340
2316
|
meta: {
|
|
2341
|
-
breakpoints:
|
|
2317
|
+
breakpoints: v
|
|
2342
2318
|
}
|
|
2343
2319
|
});
|
|
2344
2320
|
},
|
|
2345
2321
|
animation: (f) => {
|
|
2346
|
-
|
|
2322
|
+
hn(f);
|
|
2347
2323
|
},
|
|
2348
2324
|
contentUpdate: (f) => {
|
|
2349
2325
|
i(f);
|
|
2350
2326
|
}
|
|
2351
2327
|
}
|
|
2352
|
-
})(
|
|
2328
|
+
})(g);
|
|
2353
2329
|
}
|
|
2354
2330
|
function s() {
|
|
2355
|
-
var f,
|
|
2356
|
-
const
|
|
2357
|
-
|
|
2358
|
-
code:
|
|
2331
|
+
var f, v;
|
|
2332
|
+
const g = (v = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : v.jsCode;
|
|
2333
|
+
g && O({
|
|
2334
|
+
code: g,
|
|
2359
2335
|
context: e.context || {},
|
|
2360
2336
|
localState: void 0,
|
|
2361
2337
|
rootState: e.builderContextSignal.rootState,
|
|
@@ -2366,35 +2342,35 @@ function Sn(e) {
|
|
|
2366
2342
|
enableCache: !1
|
|
2367
2343
|
});
|
|
2368
2344
|
}
|
|
2369
|
-
const [d, m] = N(() => ({})), [u, h] = N(() => ({})), [
|
|
2370
|
-
function
|
|
2371
|
-
var f,
|
|
2345
|
+
const [d, m] = N(() => ({})), [u, h] = N(() => ({})), [p, w] = N(() => !1);
|
|
2346
|
+
function y(g) {
|
|
2347
|
+
var f, v;
|
|
2372
2348
|
if (e.builderContextSignal.content) {
|
|
2373
|
-
const
|
|
2374
|
-
|
|
2349
|
+
const x = (f = e.builderContextSignal.content) == null ? void 0 : f.testVariationId, C = (v = e.builderContextSignal.content) == null ? void 0 : v.id;
|
|
2350
|
+
ue({
|
|
2375
2351
|
type: "click",
|
|
2376
2352
|
canTrack: q(e.canTrack),
|
|
2377
|
-
contentId:
|
|
2353
|
+
contentId: C,
|
|
2378
2354
|
apiKey: e.apiKey,
|
|
2379
|
-
variationId:
|
|
2380
|
-
...
|
|
2381
|
-
unique: !
|
|
2355
|
+
variationId: x !== C ? x : void 0,
|
|
2356
|
+
...sn(g),
|
|
2357
|
+
unique: !p
|
|
2382
2358
|
});
|
|
2383
2359
|
}
|
|
2384
|
-
|
|
2360
|
+
p || w(!0);
|
|
2385
2361
|
}
|
|
2386
2362
|
function A() {
|
|
2387
|
-
var f,
|
|
2388
|
-
const
|
|
2389
|
-
Object.entries(
|
|
2390
|
-
if (!
|
|
2363
|
+
var f, v, x;
|
|
2364
|
+
const g = (x = (v = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : v.httpRequests) != null ? x : {};
|
|
2365
|
+
Object.entries(g).forEach(([C, E]) => {
|
|
2366
|
+
if (!E || u[C] || d[C] && !V())
|
|
2391
2367
|
return;
|
|
2392
|
-
u[
|
|
2393
|
-
const M =
|
|
2368
|
+
u[C] = !0;
|
|
2369
|
+
const M = E.replace(
|
|
2394
2370
|
/{{([^}]+)}}/g,
|
|
2395
|
-
($,
|
|
2371
|
+
($, We) => String(
|
|
2396
2372
|
O({
|
|
2397
|
-
code:
|
|
2373
|
+
code: We,
|
|
2398
2374
|
context: e.context || {},
|
|
2399
2375
|
localState: void 0,
|
|
2400
2376
|
rootState: e.builderContextSignal.rootState,
|
|
@@ -2403,24 +2379,24 @@ function Sn(e) {
|
|
|
2403
2379
|
})
|
|
2404
2380
|
)
|
|
2405
2381
|
);
|
|
2406
|
-
|
|
2382
|
+
Le(M).then(($) => $.json()).then(($) => {
|
|
2407
2383
|
n({
|
|
2408
|
-
[
|
|
2409
|
-
}), d[
|
|
2384
|
+
[C]: $
|
|
2385
|
+
}), d[C] = !0;
|
|
2410
2386
|
}).catch(($) => {
|
|
2411
|
-
console.error("error fetching dynamic data",
|
|
2387
|
+
console.error("error fetching dynamic data", E, $);
|
|
2412
2388
|
}).finally(() => {
|
|
2413
|
-
u[
|
|
2389
|
+
u[C] = !1;
|
|
2414
2390
|
});
|
|
2415
2391
|
});
|
|
2416
2392
|
}
|
|
2417
|
-
function
|
|
2393
|
+
function S() {
|
|
2418
2394
|
V() && window.dispatchEvent(
|
|
2419
2395
|
new CustomEvent(
|
|
2420
2396
|
"builder:component:stateChange",
|
|
2421
2397
|
{
|
|
2422
2398
|
detail: {
|
|
2423
|
-
state:
|
|
2399
|
+
state: ie(e.builderContextSignal.rootState),
|
|
2424
2400
|
ref: {
|
|
2425
2401
|
name: e.model
|
|
2426
2402
|
}
|
|
@@ -2429,8 +2405,8 @@ function Sn(e) {
|
|
|
2429
2405
|
)
|
|
2430
2406
|
);
|
|
2431
2407
|
}
|
|
2432
|
-
function g
|
|
2433
|
-
window.addEventListener("message", r), je(),
|
|
2408
|
+
function b(g) {
|
|
2409
|
+
window.addEventListener("message", r), je(), De({
|
|
2434
2410
|
...e.locale ? {
|
|
2435
2411
|
locale: e.locale
|
|
2436
2412
|
} : {},
|
|
@@ -2443,125 +2419,132 @@ function Sn(e) {
|
|
|
2443
2419
|
}), Object.values(
|
|
2444
2420
|
e.builderContextSignal.componentInfos
|
|
2445
2421
|
).forEach((f) => {
|
|
2446
|
-
var
|
|
2447
|
-
const
|
|
2448
|
-
(
|
|
2422
|
+
var x;
|
|
2423
|
+
const v = Oe(f);
|
|
2424
|
+
(x = window.parent) == null || x.postMessage(v, "*");
|
|
2449
2425
|
}), window.addEventListener(
|
|
2450
2426
|
"builder:component:stateChangeListenerActivated",
|
|
2451
|
-
|
|
2427
|
+
S
|
|
2452
2428
|
);
|
|
2453
2429
|
}
|
|
2454
|
-
function
|
|
2455
|
-
const f = new URL(location.href).searchParams,
|
|
2456
|
-
`builder.overrides.${
|
|
2457
|
-
),
|
|
2458
|
-
|
|
2430
|
+
function k(g) {
|
|
2431
|
+
const f = new URL(location.href).searchParams, v = f.get("builder.preview"), x = f.get(
|
|
2432
|
+
`builder.overrides.${v}`
|
|
2433
|
+
), C = f.get("apiKey") || f.get("builder.space");
|
|
2434
|
+
v === e.model && C === e.apiKey && (!e.content || x === e.content.id) && pe({
|
|
2459
2435
|
model: e.model,
|
|
2460
2436
|
apiKey: e.apiKey,
|
|
2461
2437
|
apiVersion: e.builderContextSignal.apiVersion
|
|
2462
|
-
}).then((
|
|
2463
|
-
|
|
2438
|
+
}).then((E) => {
|
|
2439
|
+
E && i(E);
|
|
2464
2440
|
});
|
|
2465
2441
|
}
|
|
2466
|
-
const
|
|
2467
|
-
return
|
|
2468
|
-
var
|
|
2469
|
-
return (
|
|
2442
|
+
const T = Ye();
|
|
2443
|
+
return R(() => {
|
|
2444
|
+
var g;
|
|
2445
|
+
return (g = t.current) == null || g.addEventListener(
|
|
2470
2446
|
"initeditingbldr",
|
|
2471
|
-
|
|
2447
|
+
b
|
|
2472
2448
|
), () => {
|
|
2473
2449
|
var f;
|
|
2474
2450
|
return (f = t.current) == null ? void 0 : f.removeEventListener(
|
|
2475
2451
|
"initeditingbldr",
|
|
2476
|
-
|
|
2452
|
+
b
|
|
2477
2453
|
);
|
|
2478
2454
|
};
|
|
2479
|
-
}, []),
|
|
2480
|
-
var
|
|
2481
|
-
return (
|
|
2455
|
+
}, []), R(() => {
|
|
2456
|
+
var g;
|
|
2457
|
+
return (g = t.current) == null || g.addEventListener(
|
|
2482
2458
|
"initpreviewingbldr",
|
|
2483
|
-
|
|
2459
|
+
k
|
|
2484
2460
|
), () => {
|
|
2485
2461
|
var f;
|
|
2486
2462
|
return (f = t.current) == null ? void 0 : f.removeEventListener(
|
|
2487
2463
|
"initpreviewingbldr",
|
|
2488
|
-
|
|
2464
|
+
k
|
|
2489
2465
|
);
|
|
2490
2466
|
};
|
|
2491
|
-
}, []),
|
|
2492
|
-
var
|
|
2467
|
+
}, []), R(() => {
|
|
2468
|
+
var g, f;
|
|
2493
2469
|
if (z()) {
|
|
2494
2470
|
if (V() && t.current && t.current.dispatchEvent(new CustomEvent("initeditingbldr")), e.builderContextSignal.content && q(e.canTrack)) {
|
|
2495
|
-
const
|
|
2496
|
-
|
|
2471
|
+
const x = (g = e.builderContextSignal.content) == null ? void 0 : g.testVariationId, C = (f = e.builderContextSignal.content) == null ? void 0 : f.id, E = e.apiKey;
|
|
2472
|
+
ue({
|
|
2497
2473
|
type: "impression",
|
|
2498
2474
|
canTrack: !0,
|
|
2499
|
-
contentId:
|
|
2500
|
-
apiKey:
|
|
2501
|
-
variationId:
|
|
2475
|
+
contentId: C,
|
|
2476
|
+
apiKey: E,
|
|
2477
|
+
variationId: x !== C ? x : void 0
|
|
2502
2478
|
});
|
|
2503
2479
|
}
|
|
2504
|
-
|
|
2480
|
+
$e() && V();
|
|
2505
2481
|
}
|
|
2506
|
-
}, []),
|
|
2482
|
+
}, []), R(() => {
|
|
2507
2483
|
e.apiKey || J.error(
|
|
2508
2484
|
"No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
2509
|
-
), s(), A(),
|
|
2510
|
-
}, []),
|
|
2511
|
-
}, [e.content]),
|
|
2485
|
+
), s(), A(), S();
|
|
2486
|
+
}, []), R(() => {
|
|
2487
|
+
}, [e.content]), R(() => {
|
|
2512
2488
|
s();
|
|
2513
|
-
}, [(
|
|
2489
|
+
}, [(L = (B = e.builderContextSignal.content) == null ? void 0 : B.data) == null ? void 0 : L.jsCode]), R(() => {
|
|
2514
2490
|
A();
|
|
2515
|
-
}, [(
|
|
2516
|
-
|
|
2517
|
-
}, [e.builderContextSignal.rootState]),
|
|
2491
|
+
}, [(X = (j = e.builderContextSignal.content) == null ? void 0 : j.data) == null ? void 0 : X.httpRequests]), R(() => {
|
|
2492
|
+
S();
|
|
2493
|
+
}, [e.builderContextSignal.rootState]), R(() => {
|
|
2518
2494
|
e.data && n(e.data);
|
|
2519
|
-
}, [e.data]),
|
|
2495
|
+
}, [e.data]), R(() => {
|
|
2520
2496
|
e.locale && n({
|
|
2521
2497
|
locale: e.locale
|
|
2522
2498
|
});
|
|
2523
|
-
}, [e.locale]),
|
|
2499
|
+
}, [e.locale]), R(() => () => {
|
|
2524
2500
|
z() && (window.removeEventListener("message", r), window.removeEventListener(
|
|
2525
2501
|
"builder:component:stateChangeListenerActivated",
|
|
2526
|
-
|
|
2502
|
+
S
|
|
2527
2503
|
));
|
|
2528
|
-
}, []), /* @__PURE__ */
|
|
2504
|
+
}, []), /* @__PURE__ */ l(rn.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ l(
|
|
2529
2505
|
a,
|
|
2530
2506
|
{
|
|
2531
2507
|
ref: t,
|
|
2532
|
-
onClick: (
|
|
2533
|
-
"builder-content-id": (
|
|
2508
|
+
onClick: (g) => y(g),
|
|
2509
|
+
"builder-content-id": (Z = e.builderContextSignal.content) == null ? void 0 : Z.id,
|
|
2534
2510
|
"builder-model": e.model,
|
|
2535
2511
|
...o(),
|
|
2536
2512
|
...e.contentWrapperProps,
|
|
2537
|
-
className:
|
|
2538
|
-
((
|
|
2513
|
+
className: Sn(
|
|
2514
|
+
((se = e.content) == null ? void 0 : se.testVariationId) || ((de = e.content) == null ? void 0 : de.id)
|
|
2539
2515
|
),
|
|
2540
2516
|
children: e.children
|
|
2541
2517
|
}
|
|
2542
2518
|
) : null });
|
|
2543
2519
|
}
|
|
2544
|
-
function
|
|
2520
|
+
function kn(e) {
|
|
2545
2521
|
const t = `
|
|
2546
2522
|
${yn({
|
|
2547
2523
|
cssCode: e.cssCode,
|
|
2548
2524
|
contentId: e.contentId
|
|
2549
2525
|
})}
|
|
2550
|
-
${
|
|
2526
|
+
${bn({
|
|
2551
2527
|
customFonts: e.customFonts
|
|
2552
2528
|
})}
|
|
2553
2529
|
${xn(e.isNestedRender)}
|
|
2554
2530
|
`.trim();
|
|
2555
|
-
return /* @__PURE__ */
|
|
2531
|
+
return /* @__PURE__ */ l(
|
|
2532
|
+
Q,
|
|
2533
|
+
{
|
|
2534
|
+
id: "builderio-content",
|
|
2535
|
+
styles: t,
|
|
2536
|
+
nonce: e.nonce
|
|
2537
|
+
}
|
|
2538
|
+
);
|
|
2556
2539
|
}
|
|
2557
|
-
const
|
|
2540
|
+
const Cn = ({
|
|
2558
2541
|
content: e,
|
|
2559
2542
|
data: t,
|
|
2560
2543
|
locale: n
|
|
2561
2544
|
}) => {
|
|
2562
|
-
var a,
|
|
2545
|
+
var a, c, r;
|
|
2563
2546
|
const i = {}, o = ((a = e == null ? void 0 : e.data) == null ? void 0 : a.state) || {};
|
|
2564
|
-
return (r = (
|
|
2547
|
+
return (r = (c = e == null ? void 0 : e.data) == null ? void 0 : c.inputs) == null || r.forEach((s) => {
|
|
2565
2548
|
s.name && s.defaultValue !== void 0 && (i[s.name] = s.defaultValue);
|
|
2566
2549
|
}), {
|
|
2567
2550
|
...i,
|
|
@@ -2571,7 +2554,7 @@ const In = ({
|
|
|
2571
2554
|
locale: n
|
|
2572
2555
|
} : {}
|
|
2573
2556
|
};
|
|
2574
|
-
},
|
|
2557
|
+
}, In = ({
|
|
2575
2558
|
content: e,
|
|
2576
2559
|
data: t
|
|
2577
2560
|
}) => e ? {
|
|
@@ -2582,32 +2565,32 @@ const In = ({
|
|
|
2582
2565
|
},
|
|
2583
2566
|
meta: e == null ? void 0 : e.meta
|
|
2584
2567
|
} : void 0;
|
|
2585
|
-
function
|
|
2586
|
-
var o, a,
|
|
2587
|
-
const t =
|
|
2568
|
+
function Se(e) {
|
|
2569
|
+
var o, a, c, r, s, d, m, u, h;
|
|
2570
|
+
const t = an({
|
|
2588
2571
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
2589
2572
|
variationId: (o = e.content) == null ? void 0 : o.testVariationId,
|
|
2590
2573
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
2591
2574
|
contentId: (a = e.content) == null ? void 0 : a.id
|
|
2592
2575
|
}), n = [
|
|
2593
|
-
...
|
|
2576
|
+
...be(),
|
|
2594
2577
|
...e.customComponents || []
|
|
2595
2578
|
].reduce(
|
|
2596
|
-
(
|
|
2597
|
-
...
|
|
2598
|
-
[
|
|
2579
|
+
(p, { component: w, ...y }) => ({
|
|
2580
|
+
...p,
|
|
2581
|
+
[y.name]: {
|
|
2599
2582
|
component: w,
|
|
2600
|
-
...
|
|
2583
|
+
...me(y)
|
|
2601
2584
|
}
|
|
2602
2585
|
}),
|
|
2603
2586
|
{}
|
|
2604
2587
|
), i = {
|
|
2605
|
-
content:
|
|
2588
|
+
content: In({
|
|
2606
2589
|
content: e.content,
|
|
2607
2590
|
data: e.data
|
|
2608
2591
|
}),
|
|
2609
2592
|
localState: void 0,
|
|
2610
|
-
rootState:
|
|
2593
|
+
rootState: Cn({
|
|
2611
2594
|
content: e.content,
|
|
2612
2595
|
data: e.data,
|
|
2613
2596
|
locale: e.locale
|
|
@@ -2618,22 +2601,24 @@ function ke(e) {
|
|
|
2618
2601
|
apiKey: e.apiKey,
|
|
2619
2602
|
apiVersion: e.apiVersion,
|
|
2620
2603
|
componentInfos: [
|
|
2621
|
-
...
|
|
2604
|
+
...be(),
|
|
2622
2605
|
...e.customComponents || []
|
|
2623
2606
|
].reduce(
|
|
2624
|
-
(
|
|
2625
|
-
...
|
|
2626
|
-
[
|
|
2607
|
+
(p, { component: w, ...y }) => ({
|
|
2608
|
+
...p,
|
|
2609
|
+
[y.name]: me(y)
|
|
2627
2610
|
}),
|
|
2628
2611
|
{}
|
|
2629
2612
|
),
|
|
2630
2613
|
inheritedStyles: {},
|
|
2631
2614
|
BlocksWrapper: e.blocksWrapper || "div",
|
|
2632
|
-
BlocksWrapperProps: e.blocksWrapperProps || {}
|
|
2615
|
+
BlocksWrapperProps: e.blocksWrapperProps || {},
|
|
2616
|
+
nonce: e.nonce || ""
|
|
2633
2617
|
};
|
|
2634
2618
|
return /* @__PURE__ */ P(
|
|
2635
|
-
|
|
2619
|
+
pn,
|
|
2636
2620
|
{
|
|
2621
|
+
nonce: e.nonce,
|
|
2637
2622
|
content: e.content,
|
|
2638
2623
|
data: e.data,
|
|
2639
2624
|
model: e.model,
|
|
@@ -2648,24 +2633,26 @@ function ke(e) {
|
|
|
2648
2633
|
contentWrapperProps: e.contentWrapperProps,
|
|
2649
2634
|
trustedHosts: e.trustedHosts,
|
|
2650
2635
|
children: [
|
|
2651
|
-
e.isSsrAbTest ? /* @__PURE__ */
|
|
2652
|
-
|
|
2636
|
+
e.isSsrAbTest ? /* @__PURE__ */ l(
|
|
2637
|
+
ne,
|
|
2653
2638
|
{
|
|
2654
2639
|
id: "builderio-variant-visibility",
|
|
2655
|
-
scriptStr: t
|
|
2640
|
+
scriptStr: t,
|
|
2641
|
+
nonce: e.nonce || ""
|
|
2656
2642
|
}
|
|
2657
2643
|
) : null,
|
|
2658
|
-
/* @__PURE__ */
|
|
2659
|
-
|
|
2644
|
+
/* @__PURE__ */ l(
|
|
2645
|
+
kn,
|
|
2660
2646
|
{
|
|
2647
|
+
nonce: e.nonce || "",
|
|
2661
2648
|
isNestedRender: e.isNestedRender,
|
|
2662
|
-
contentId: (
|
|
2649
|
+
contentId: (c = i.content) == null ? void 0 : c.id,
|
|
2663
2650
|
cssCode: (s = (r = i.content) == null ? void 0 : r.data) == null ? void 0 : s.cssCode,
|
|
2664
2651
|
customFonts: (m = (d = i.content) == null ? void 0 : d.data) == null ? void 0 : m.customFonts
|
|
2665
2652
|
}
|
|
2666
2653
|
),
|
|
2667
|
-
/* @__PURE__ */
|
|
2668
|
-
|
|
2654
|
+
/* @__PURE__ */ l(
|
|
2655
|
+
le,
|
|
2669
2656
|
{
|
|
2670
2657
|
blocks: (h = (u = i.content) == null ? void 0 : u.data) == null ? void 0 : h.blocks,
|
|
2671
2658
|
context: i,
|
|
@@ -2677,14 +2664,14 @@ function ke(e) {
|
|
|
2677
2664
|
}
|
|
2678
2665
|
);
|
|
2679
2666
|
}
|
|
2680
|
-
function
|
|
2667
|
+
function wn(e) {
|
|
2681
2668
|
var a;
|
|
2682
|
-
const t =
|
|
2669
|
+
const t = en({
|
|
2683
2670
|
canTrack: q(e.canTrack),
|
|
2684
2671
|
content: e.content
|
|
2685
2672
|
}), n = function() {
|
|
2686
2673
|
var r;
|
|
2687
|
-
return
|
|
2674
|
+
return on(
|
|
2688
2675
|
_(e.content).map((s) => ({
|
|
2689
2676
|
id: s.testVariationId,
|
|
2690
2677
|
testRatio: s.testRatio
|
|
@@ -2698,39 +2685,43 @@ function Tn(e) {
|
|
|
2698
2685
|
return t ? {
|
|
2699
2686
|
...e.content,
|
|
2700
2687
|
testVariationId: (r = e.content) == null ? void 0 : r.id
|
|
2701
|
-
} :
|
|
2688
|
+
} : He({
|
|
2702
2689
|
item: e.content,
|
|
2703
2690
|
canTrack: q(e.canTrack)
|
|
2704
2691
|
});
|
|
2705
2692
|
};
|
|
2706
|
-
return /* @__PURE__ */ P(
|
|
2707
|
-
!e.isNestedRender && H !== "reactNative" ? /* @__PURE__ */
|
|
2708
|
-
|
|
2693
|
+
return /* @__PURE__ */ P(I, { children: [
|
|
2694
|
+
!e.isNestedRender && H !== "reactNative" ? /* @__PURE__ */ l(
|
|
2695
|
+
ne,
|
|
2709
2696
|
{
|
|
2710
2697
|
id: "builderio-init-variants-fns",
|
|
2711
|
-
scriptStr:
|
|
2698
|
+
scriptStr: nn(),
|
|
2699
|
+
nonce: e.nonce || ""
|
|
2712
2700
|
}
|
|
2713
2701
|
) : null,
|
|
2714
|
-
t ? /* @__PURE__ */ P(
|
|
2715
|
-
/* @__PURE__ */
|
|
2716
|
-
|
|
2702
|
+
t ? /* @__PURE__ */ P(I, { children: [
|
|
2703
|
+
/* @__PURE__ */ l(
|
|
2704
|
+
Q,
|
|
2717
2705
|
{
|
|
2718
2706
|
id: "builderio-variants",
|
|
2719
|
-
styles: i()
|
|
2707
|
+
styles: i(),
|
|
2708
|
+
nonce: e.nonce || ""
|
|
2720
2709
|
}
|
|
2721
2710
|
),
|
|
2722
|
-
/* @__PURE__ */
|
|
2723
|
-
|
|
2711
|
+
/* @__PURE__ */ l(
|
|
2712
|
+
ne,
|
|
2724
2713
|
{
|
|
2725
2714
|
id: "builderio-variants-visibility",
|
|
2726
|
-
scriptStr: n()
|
|
2715
|
+
scriptStr: n(),
|
|
2716
|
+
nonce: e.nonce || ""
|
|
2727
2717
|
}
|
|
2728
2718
|
),
|
|
2729
|
-
(a = _(e.content)) == null ? void 0 : a.map((
|
|
2730
|
-
|
|
2719
|
+
(a = _(e.content)) == null ? void 0 : a.map((c) => /* @__PURE__ */ l(
|
|
2720
|
+
Se,
|
|
2731
2721
|
{
|
|
2732
2722
|
isNestedRender: e.isNestedRender,
|
|
2733
|
-
|
|
2723
|
+
nonce: e.nonce,
|
|
2724
|
+
content: c,
|
|
2734
2725
|
showContent: !1,
|
|
2735
2726
|
model: e.model,
|
|
2736
2727
|
data: e.data,
|
|
@@ -2749,12 +2740,13 @@ function Tn(e) {
|
|
|
2749
2740
|
contentWrapperProps: e.contentWrapperProps,
|
|
2750
2741
|
trustedHosts: e.trustedHosts
|
|
2751
2742
|
},
|
|
2752
|
-
|
|
2743
|
+
c.testVariationId
|
|
2753
2744
|
))
|
|
2754
2745
|
] }) : null,
|
|
2755
|
-
/* @__PURE__ */
|
|
2756
|
-
|
|
2746
|
+
/* @__PURE__ */ l(
|
|
2747
|
+
Se,
|
|
2757
2748
|
{
|
|
2749
|
+
nonce: e.nonce,
|
|
2758
2750
|
isNestedRender: e.isNestedRender,
|
|
2759
2751
|
content: o(),
|
|
2760
2752
|
showContent: !0,
|
|
@@ -2778,13 +2770,13 @@ function Tn(e) {
|
|
|
2778
2770
|
)
|
|
2779
2771
|
] });
|
|
2780
2772
|
}
|
|
2781
|
-
const
|
|
2773
|
+
const Tn = async ({
|
|
2782
2774
|
builderContextValue: e,
|
|
2783
2775
|
symbol: t
|
|
2784
2776
|
}) => {
|
|
2785
2777
|
if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
|
|
2786
2778
|
(e != null && e.apiKey))
|
|
2787
|
-
return
|
|
2779
|
+
return pe({
|
|
2788
2780
|
model: t.model,
|
|
2789
2781
|
apiKey: e.apiKey,
|
|
2790
2782
|
apiVersion: e.apiVersion,
|
|
@@ -2797,8 +2789,8 @@ const Rn = async ({
|
|
|
2797
2789
|
J.error("Could not fetch symbol content: ", n);
|
|
2798
2790
|
});
|
|
2799
2791
|
};
|
|
2800
|
-
async function
|
|
2801
|
-
var a,
|
|
2792
|
+
async function Rn(e) {
|
|
2793
|
+
var a, c, r, s, d;
|
|
2802
2794
|
const t = function() {
|
|
2803
2795
|
return "div";
|
|
2804
2796
|
}, n = function() {
|
|
@@ -2806,24 +2798,25 @@ async function Pn(e) {
|
|
|
2806
2798
|
}, i = function() {
|
|
2807
2799
|
var u, h;
|
|
2808
2800
|
return [
|
|
2809
|
-
e.attributes[
|
|
2801
|
+
e.attributes[D()],
|
|
2810
2802
|
"builder-symbol",
|
|
2811
2803
|
(u = e.symbol) != null && u.inline ? "builder-inline-symbol" : void 0,
|
|
2812
2804
|
(h = e.symbol) != null && h.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
|
|
2813
2805
|
].filter(Boolean).join(" ");
|
|
2814
|
-
}, o = ((a = e.symbol) == null ? void 0 : a.content) || await
|
|
2806
|
+
}, o = ((a = e.symbol) == null ? void 0 : a.content) || await Tn({
|
|
2815
2807
|
symbol: e.symbol,
|
|
2816
2808
|
builderContextValue: e.builderContext
|
|
2817
2809
|
});
|
|
2818
|
-
return /* @__PURE__ */
|
|
2819
|
-
|
|
2810
|
+
return /* @__PURE__ */ l("div", { ...e.attributes, className: i(), children: /* @__PURE__ */ l(
|
|
2811
|
+
wn,
|
|
2820
2812
|
{
|
|
2813
|
+
nonce: e.builderContext.nonce,
|
|
2821
2814
|
isNestedRender: !0,
|
|
2822
2815
|
apiVersion: e.builderContext.apiVersion,
|
|
2823
2816
|
apiKey: e.builderContext.apiKey,
|
|
2824
2817
|
context: {
|
|
2825
2818
|
...e.builderContext.context,
|
|
2826
|
-
symbolId: (
|
|
2819
|
+
symbolId: (c = e.builderBlock) == null ? void 0 : c.id
|
|
2827
2820
|
},
|
|
2828
2821
|
customComponents: Object.values(e.builderComponents),
|
|
2829
2822
|
data: {
|
|
@@ -2841,15 +2834,15 @@ async function Pn(e) {
|
|
|
2841
2834
|
) });
|
|
2842
2835
|
}
|
|
2843
2836
|
export {
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2837
|
+
le as Blocks,
|
|
2838
|
+
rn as BuilderContext,
|
|
2839
|
+
Ge as Button,
|
|
2840
|
+
wt as Columns,
|
|
2841
|
+
wn as Content,
|
|
2842
|
+
Tt as Fragment,
|
|
2850
2843
|
Et as Image,
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2844
|
+
Bt as Section,
|
|
2845
|
+
Rn as Symbol,
|
|
2846
|
+
Ot as Text,
|
|
2847
|
+
Qt as Video
|
|
2855
2848
|
};
|