@builder.io/sdk-react 0.12.6 → 0.12.8
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/index.cjs +27 -27
- package/lib/browser/index.mjs +645 -606
- package/lib/browser/server-entry-564cbc17.cjs +2 -0
- package/lib/browser/server-entry-db4e2a47.js +690 -0
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +4 -3
- package/lib/edge/index.cjs +44 -44
- package/lib/edge/index.mjs +1921 -1882
- package/lib/edge/server-entry-064c255e.js +690 -0
- package/lib/edge/server-entry-564cbc17.cjs +2 -0
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +4 -3
- package/lib/node/index.cjs +10 -10
- package/lib/node/index.mjs +389 -350
- package/lib/node/server-entry-c063befa.cjs +2 -0
- package/lib/node/server-entry-d816840a.js +690 -0
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +4 -3
- package/package.json +1 -1
- package/types/components/block/animator.d.ts +5 -0
- package/types/components/content-variants/helpers.d.ts +1 -1
- package/types/constants/sdk-version.d.ts +1 -1
- package/types/helpers/subscribe-to-editor.d.ts +35 -0
- package/types/server-index.d.ts +18 -3
- package/types/types/builder-block.d.ts +18 -1
- package/lib/browser/server-entry-b9bdd327.js +0 -551
- package/lib/browser/server-entry-fc715776.cjs +0 -2
- package/lib/edge/server-entry-57d4ae22.js +0 -551
- package/lib/edge/server-entry-fc715776.cjs +0 -2
- package/lib/node/server-entry-0457c4c8.js +0 -551
- package/lib/node/server-entry-bcb725be.cjs +0 -2
package/lib/browser/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as l, Fragment as h, jsxs as
|
|
3
|
-
import { createContext as
|
|
4
|
-
import { T as
|
|
5
|
-
import { _ as
|
|
6
|
-
const
|
|
7
|
-
function
|
|
8
|
-
return /* @__PURE__ */ l(h, { children:
|
|
2
|
+
import { jsx as l, Fragment as h, jsxs as W } from "react/jsx-runtime";
|
|
3
|
+
import { createContext as Ie, useState as v, useEffect as T, useContext as fe, useRef as te, createElement as je } from "react";
|
|
4
|
+
import { T as _, i as $, k as V, l as _e, m as M, n as D, o as ne, p as K, q as he, a as He, u as Ue, v as Me, w as Ke, c as ze, e as Te, x as qe, y as ge, z as be, A as Ye } from "./server-entry-db4e2a47.js";
|
|
5
|
+
import { _ as En, f as Pn, d as An, h as Bn, g as Wn, j as $n, r as Nn, s as Vn, b as Fn, t as Ln } from "./server-entry-db4e2a47.js";
|
|
6
|
+
const Qe = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Ge = (e) => typeof e == "string" && Qe.has(e.toLowerCase());
|
|
7
|
+
function ie(e) {
|
|
8
|
+
return /* @__PURE__ */ l(h, { children: Ge(e.TagName) ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ l(h, { children: typeof e.TagName == "string" ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) : /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) }) });
|
|
9
9
|
}
|
|
10
10
|
const O = () => {
|
|
11
|
-
switch (
|
|
11
|
+
switch (_) {
|
|
12
12
|
case "react":
|
|
13
13
|
case "reactNative":
|
|
14
14
|
case "rsc":
|
|
@@ -20,9 +20,9 @@ const O = () => {
|
|
|
20
20
|
return "class";
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
|
-
function
|
|
23
|
+
function Je(e) {
|
|
24
24
|
return /* @__PURE__ */ l(
|
|
25
|
-
|
|
25
|
+
ie,
|
|
26
26
|
{
|
|
27
27
|
TagName: e.link ? e.builderLinkComponent || "a" : "button",
|
|
28
28
|
attributes: {
|
|
@@ -41,7 +41,7 @@ function ze(e) {
|
|
|
41
41
|
}
|
|
42
42
|
);
|
|
43
43
|
}
|
|
44
|
-
const
|
|
44
|
+
const oe = Ie({
|
|
45
45
|
content: null,
|
|
46
46
|
context: {},
|
|
47
47
|
localState: void 0,
|
|
@@ -54,8 +54,8 @@ const ie = pe({
|
|
|
54
54
|
inheritedStyles: {},
|
|
55
55
|
BlocksWrapper: "div",
|
|
56
56
|
BlocksWrapperProps: {}
|
|
57
|
-
}),
|
|
58
|
-
function
|
|
57
|
+
}), Re = Ie({ registeredComponents: {} });
|
|
58
|
+
function Xe(e) {
|
|
59
59
|
var t;
|
|
60
60
|
return {
|
|
61
61
|
...(t = e.component) == null ? void 0 : t.options,
|
|
@@ -66,7 +66,7 @@ function qe(e) {
|
|
|
66
66
|
builderBlock: e
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
const
|
|
69
|
+
const Ze = ({
|
|
70
70
|
builder: e,
|
|
71
71
|
context: t,
|
|
72
72
|
event: n,
|
|
@@ -78,14 +78,14 @@ const Ye = ({
|
|
|
78
78
|
builder: e,
|
|
79
79
|
context: t,
|
|
80
80
|
event: n
|
|
81
|
-
}),
|
|
82
|
-
isEditing:
|
|
81
|
+
}), et = () => ({
|
|
82
|
+
isEditing: $(),
|
|
83
83
|
isBrowser: V(),
|
|
84
84
|
isServer: !V(),
|
|
85
85
|
getUserAttributes: () => _e()
|
|
86
|
-
}),
|
|
86
|
+
}), tt = (e, {
|
|
87
87
|
isExpression: t = !0
|
|
88
|
-
}) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e,
|
|
88
|
+
}) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, ye = ({
|
|
89
89
|
code: e,
|
|
90
90
|
builder: t,
|
|
91
91
|
context: n,
|
|
@@ -94,11 +94,11 @@ const Ye = ({
|
|
|
94
94
|
rootSetState: a,
|
|
95
95
|
rootState: r
|
|
96
96
|
}) => {
|
|
97
|
-
const c =
|
|
97
|
+
const c = Ze({
|
|
98
98
|
builder: t,
|
|
99
99
|
context: n,
|
|
100
100
|
event: i,
|
|
101
|
-
state:
|
|
101
|
+
state: Ee({
|
|
102
102
|
rootState: r,
|
|
103
103
|
localState: o,
|
|
104
104
|
rootSetState: a
|
|
@@ -106,7 +106,7 @@ const Ye = ({
|
|
|
106
106
|
});
|
|
107
107
|
return new Function(...c.map(([s]) => s), e)(...c.map(([, s]) => s));
|
|
108
108
|
};
|
|
109
|
-
function
|
|
109
|
+
function Ee({
|
|
110
110
|
rootState: e,
|
|
111
111
|
localState: t,
|
|
112
112
|
rootSetState: n
|
|
@@ -116,7 +116,7 @@ function Ie({
|
|
|
116
116
|
if (t && o in t)
|
|
117
117
|
return t[o];
|
|
118
118
|
const a = i[o];
|
|
119
|
-
return typeof a == "object" ?
|
|
119
|
+
return typeof a == "object" ? Ee({
|
|
120
120
|
rootState: a,
|
|
121
121
|
localState: void 0,
|
|
122
122
|
rootSetState: n ? (r) => {
|
|
@@ -131,17 +131,17 @@ function Ie({
|
|
|
131
131
|
}
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function nt() {
|
|
135
135
|
var e;
|
|
136
136
|
return typeof process != "undefined" && M((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
|
|
137
137
|
}
|
|
138
|
-
const
|
|
138
|
+
const it = () => {
|
|
139
139
|
var i;
|
|
140
|
-
if (!
|
|
140
|
+
if (!nt())
|
|
141
141
|
return !1;
|
|
142
142
|
const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (i = process.env.NODE_OPTIONS) == null ? void 0 : i.includes("--no-node-snapshot");
|
|
143
|
-
return e && t && !n ? (
|
|
144
|
-
},
|
|
143
|
+
return e && t && !n ? (D.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;
|
|
144
|
+
}, ot = (e) => (V() || it(), ye(e));
|
|
145
145
|
function j({
|
|
146
146
|
code: e,
|
|
147
147
|
context: t,
|
|
@@ -152,14 +152,14 @@ function j({
|
|
|
152
152
|
isExpression: r = !0
|
|
153
153
|
}) {
|
|
154
154
|
if (e === "") {
|
|
155
|
-
|
|
155
|
+
D.warn("Skipping evaluation of empty code block.");
|
|
156
156
|
return;
|
|
157
157
|
}
|
|
158
158
|
const c = {
|
|
159
|
-
code:
|
|
159
|
+
code: tt(e, {
|
|
160
160
|
isExpression: r
|
|
161
161
|
}),
|
|
162
|
-
builder:
|
|
162
|
+
builder: et(),
|
|
163
163
|
context: t,
|
|
164
164
|
event: a,
|
|
165
165
|
rootSetState: o,
|
|
@@ -167,21 +167,21 @@ function j({
|
|
|
167
167
|
localState: n
|
|
168
168
|
};
|
|
169
169
|
try {
|
|
170
|
-
return
|
|
170
|
+
return ot(c);
|
|
171
171
|
} catch (s) {
|
|
172
|
-
|
|
172
|
+
D.error("Failed code evaluation: " + s.message, {
|
|
173
173
|
code: e
|
|
174
174
|
});
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
const
|
|
178
|
+
const at = (e, t, n) => {
|
|
179
179
|
if (Object(e) !== e)
|
|
180
180
|
return e;
|
|
181
181
|
const i = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
182
182
|
return i.slice(0, -1).reduce((o, a, r) => Object(o[a]) === o[a] ? o[a] : o[a] = Math.abs(Number(i[r + 1])) >> 0 === +i[r + 1] ? [] : {}, e)[i[i.length - 1]] = n, e;
|
|
183
183
|
};
|
|
184
|
-
const
|
|
184
|
+
const rt = ({
|
|
185
185
|
block: e,
|
|
186
186
|
context: t,
|
|
187
187
|
localState: n,
|
|
@@ -190,7 +190,7 @@ const tt = ({
|
|
|
190
190
|
}) => {
|
|
191
191
|
if (!e.bindings)
|
|
192
192
|
return e;
|
|
193
|
-
const a =
|
|
193
|
+
const a = ne(e), r = {
|
|
194
194
|
...a,
|
|
195
195
|
properties: {
|
|
196
196
|
...a.properties
|
|
@@ -207,11 +207,11 @@ const tt = ({
|
|
|
207
207
|
rootSetState: o,
|
|
208
208
|
context: t
|
|
209
209
|
});
|
|
210
|
-
|
|
210
|
+
at(r, c, d);
|
|
211
211
|
}
|
|
212
212
|
return r;
|
|
213
213
|
};
|
|
214
|
-
function
|
|
214
|
+
function z({
|
|
215
215
|
block: e,
|
|
216
216
|
context: t,
|
|
217
217
|
shouldEvaluateBindings: n,
|
|
@@ -220,7 +220,7 @@ function K({
|
|
|
220
220
|
rootSetState: a
|
|
221
221
|
}) {
|
|
222
222
|
const r = e;
|
|
223
|
-
return n ?
|
|
223
|
+
return n ? rt({
|
|
224
224
|
block: r,
|
|
225
225
|
localState: i,
|
|
226
226
|
rootState: o,
|
|
@@ -228,13 +228,135 @@ function K({
|
|
|
228
228
|
context: t
|
|
229
229
|
}) : r;
|
|
230
230
|
}
|
|
231
|
-
|
|
231
|
+
function lt(e, t, n = {}) {
|
|
232
|
+
let i, o, a, r = null, c = 0;
|
|
233
|
+
const s = function() {
|
|
234
|
+
c = n.leading === !1 ? 0 : Date.now(), r = null, a = e.apply(i, o), r || (i = o = null);
|
|
235
|
+
};
|
|
236
|
+
return function() {
|
|
237
|
+
const d = Date.now();
|
|
238
|
+
!c && n.leading === !1 && (c = d);
|
|
239
|
+
const u = t - (d - c);
|
|
240
|
+
return i = this, o = arguments, u <= 0 || u > t ? (r && (clearTimeout(r), r = null), c = d, a = e.apply(i, o), r || (i = o = null)) : !r && n.trailing !== !1 && (r = setTimeout(s, u)), a;
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
function N(e, ...t) {
|
|
244
|
+
const n = Object(e);
|
|
245
|
+
for (let i = 1; i < arguments.length; i++) {
|
|
246
|
+
const o = arguments[i];
|
|
247
|
+
if (o != null)
|
|
248
|
+
for (const a in o)
|
|
249
|
+
Object.prototype.hasOwnProperty.call(o, a) && (n[a] = o[a]);
|
|
250
|
+
}
|
|
251
|
+
return n;
|
|
252
|
+
}
|
|
253
|
+
const ae = (e) => e ? e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`) : "";
|
|
254
|
+
function ct(e) {
|
|
255
|
+
for (const t of e)
|
|
256
|
+
switch (t.trigger) {
|
|
257
|
+
case "pageLoad":
|
|
258
|
+
Pe(t);
|
|
259
|
+
break;
|
|
260
|
+
case "hover":
|
|
261
|
+
dt(t);
|
|
262
|
+
break;
|
|
263
|
+
case "scrollInView":
|
|
264
|
+
ut(t);
|
|
265
|
+
break;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
function re(e) {
|
|
269
|
+
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
270
|
+
}
|
|
271
|
+
function le(e, t) {
|
|
272
|
+
const n = st(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
|
|
273
|
+
for (const c of r)
|
|
274
|
+
for (const s of n)
|
|
275
|
+
s in c || (c[s] = i[s]);
|
|
276
|
+
}
|
|
277
|
+
function st(e) {
|
|
278
|
+
const t = [];
|
|
279
|
+
for (const n of e.steps)
|
|
280
|
+
for (const i in n.styles)
|
|
281
|
+
t.indexOf(i) === -1 && t.push(i);
|
|
282
|
+
return t;
|
|
283
|
+
}
|
|
284
|
+
function Pe(e) {
|
|
285
|
+
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
286
|
+
if (!t.length) {
|
|
287
|
+
re(e.elementId || e.id || "");
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
Array.from(t).forEach((n) => {
|
|
291
|
+
le(e, n), n.style.transition = "none", n.style.transitionDelay = "0", N(n.style, e.steps[0].styles), setTimeout(() => {
|
|
292
|
+
n.style.transition = `all ${e.duration}s ${ae(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), N(n.style, e.steps[1].styles), setTimeout(() => {
|
|
293
|
+
n.style.transition = "", n.style.transitionDelay = "";
|
|
294
|
+
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
295
|
+
});
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
function dt(e) {
|
|
299
|
+
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
300
|
+
if (!t.length) {
|
|
301
|
+
re(e.elementId || e.id || "");
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
Array.from(t).forEach((n) => {
|
|
305
|
+
le(e, n);
|
|
306
|
+
const i = e.steps[0].styles, o = e.steps[1].styles;
|
|
307
|
+
function a() {
|
|
308
|
+
N(n.style, i);
|
|
309
|
+
}
|
|
310
|
+
function r() {
|
|
311
|
+
N(n.style, o);
|
|
312
|
+
}
|
|
313
|
+
a(), n.addEventListener("mouseenter", r), n.addEventListener("mouseleave", a), setTimeout(() => {
|
|
314
|
+
n.style.transition = `all ${e.duration}s ${ae(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
315
|
+
});
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
function ut(e) {
|
|
319
|
+
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
320
|
+
if (!t.length) {
|
|
321
|
+
re(e.elementId || e.id || "");
|
|
322
|
+
return;
|
|
323
|
+
}
|
|
324
|
+
Array.from(t).forEach((n) => {
|
|
325
|
+
le(e, n);
|
|
326
|
+
let i = !1, o = !1;
|
|
327
|
+
function a() {
|
|
328
|
+
!i && c(n) ? (i = !0, o = !0, setTimeout(() => {
|
|
329
|
+
N(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", r), setTimeout(() => {
|
|
330
|
+
o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
|
|
331
|
+
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
332
|
+
})) : e.repeat && i && !o && !c(n) && (i = !1, N(n.style, e.steps[0].styles));
|
|
333
|
+
}
|
|
334
|
+
const r = lt(a, 200, {
|
|
335
|
+
leading: !1
|
|
336
|
+
});
|
|
337
|
+
function c(u) {
|
|
338
|
+
const b = u.getBoundingClientRect(), k = window.innerHeight, y = (e.thresholdPercent || 0) / 100 * k;
|
|
339
|
+
return b.bottom > y && b.top < k - y;
|
|
340
|
+
}
|
|
341
|
+
const s = e.steps[0].styles;
|
|
342
|
+
function d() {
|
|
343
|
+
N(n.style, s);
|
|
344
|
+
}
|
|
345
|
+
d(), setTimeout(() => {
|
|
346
|
+
n.style.transition = `all ${e.duration}s ${ae(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
347
|
+
}), document.addEventListener("scroll", r, {
|
|
348
|
+
capture: !0,
|
|
349
|
+
passive: !0
|
|
350
|
+
}), a();
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
const mt = ({
|
|
232
354
|
block: e,
|
|
233
355
|
context: t,
|
|
234
356
|
registeredComponents: n
|
|
235
357
|
}) => {
|
|
236
358
|
var a;
|
|
237
|
-
const i = (a =
|
|
359
|
+
const i = (a = z({
|
|
238
360
|
block: e,
|
|
239
361
|
localState: t.localState,
|
|
240
362
|
rootState: t.rootState,
|
|
@@ -250,7 +372,7 @@ const nt = ({
|
|
|
250
372
|
console.warn(`
|
|
251
373
|
Could not find a registered component named "${i}".
|
|
252
374
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
253
|
-
},
|
|
375
|
+
}, ft = ({
|
|
254
376
|
block: e,
|
|
255
377
|
context: t
|
|
256
378
|
}) => {
|
|
@@ -283,7 +405,7 @@ const nt = ({
|
|
|
283
405
|
},
|
|
284
406
|
block: i
|
|
285
407
|
}));
|
|
286
|
-
},
|
|
408
|
+
}, Ae = {
|
|
287
409
|
small: {
|
|
288
410
|
min: 320,
|
|
289
411
|
default: 321,
|
|
@@ -299,11 +421,11 @@ const nt = ({
|
|
|
299
421
|
default: 991,
|
|
300
422
|
max: 1200
|
|
301
423
|
}
|
|
302
|
-
},
|
|
424
|
+
}, Se = (e, t = Ae) => `@media (max-width: ${t[e].max}px)`, Be = ({
|
|
303
425
|
small: e,
|
|
304
426
|
medium: t
|
|
305
427
|
}) => {
|
|
306
|
-
const n =
|
|
428
|
+
const n = ne(Ae);
|
|
307
429
|
if (!e || !t)
|
|
308
430
|
return n;
|
|
309
431
|
const i = Math.floor(e / 2);
|
|
@@ -325,28 +447,28 @@ const nt = ({
|
|
|
325
447
|
min: a,
|
|
326
448
|
default: a + 1
|
|
327
449
|
}, n;
|
|
328
|
-
},
|
|
450
|
+
}, ht = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), We = (e) => Object.entries(e).map(([n, i]) => {
|
|
329
451
|
if (typeof i == "string")
|
|
330
|
-
return `${
|
|
331
|
-
}).filter(M),
|
|
332
|
-
`),
|
|
452
|
+
return `${ht(n)}: ${i};`;
|
|
453
|
+
}).filter(M), gt = (e) => We(e).join(`
|
|
454
|
+
`), X = ({
|
|
333
455
|
mediaQuery: e,
|
|
334
456
|
className: t,
|
|
335
457
|
styles: n
|
|
336
458
|
}) => {
|
|
337
459
|
const i = `.${t} {
|
|
338
|
-
${
|
|
460
|
+
${gt(n)}
|
|
339
461
|
}`;
|
|
340
462
|
return e ? `${e} {
|
|
341
463
|
${i}
|
|
342
464
|
}` : i;
|
|
343
465
|
};
|
|
344
|
-
function
|
|
466
|
+
function q(e) {
|
|
345
467
|
return /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
|
|
346
468
|
}
|
|
347
|
-
function
|
|
469
|
+
function bt(e) {
|
|
348
470
|
function t() {
|
|
349
|
-
const i =
|
|
471
|
+
const i = z({
|
|
350
472
|
block: e.block,
|
|
351
473
|
localState: e.context.localState,
|
|
352
474
|
rootState: e.context.rootState,
|
|
@@ -357,45 +479,45 @@ function rt(e) {
|
|
|
357
479
|
return M(i.hide) ? !i.hide : M(i.show) ? i.show : !0;
|
|
358
480
|
}
|
|
359
481
|
function n() {
|
|
360
|
-
var
|
|
361
|
-
const i =
|
|
482
|
+
var y;
|
|
483
|
+
const i = z({
|
|
362
484
|
block: e.block,
|
|
363
485
|
localState: e.context.localState,
|
|
364
486
|
rootState: e.context.rootState,
|
|
365
487
|
rootSetState: e.context.rootSetState,
|
|
366
488
|
context: e.context.context,
|
|
367
489
|
shouldEvaluateBindings: !0
|
|
368
|
-
}), o = i.responsiveStyles, a = e.context.content, r =
|
|
369
|
-
((
|
|
370
|
-
), c = o == null ? void 0 : o.large, s = o == null ? void 0 : o.medium, d = o == null ? void 0 : o.small,
|
|
371
|
-
if (!
|
|
490
|
+
}), o = i.responsiveStyles, a = e.context.content, r = Be(
|
|
491
|
+
((y = a == null ? void 0 : a.meta) == null ? void 0 : y.breakpoints) || {}
|
|
492
|
+
), c = o == null ? void 0 : o.large, s = o == null ? void 0 : o.medium, d = o == null ? void 0 : o.small, u = i.id;
|
|
493
|
+
if (!u)
|
|
372
494
|
return "";
|
|
373
|
-
const
|
|
374
|
-
className:
|
|
495
|
+
const b = c ? X({
|
|
496
|
+
className: u,
|
|
375
497
|
styles: c
|
|
376
|
-
}) : "", k = s ?
|
|
377
|
-
className:
|
|
498
|
+
}) : "", k = s ? X({
|
|
499
|
+
className: u,
|
|
378
500
|
styles: s,
|
|
379
|
-
mediaQuery:
|
|
501
|
+
mediaQuery: Se(
|
|
380
502
|
"medium",
|
|
381
503
|
r
|
|
382
504
|
)
|
|
383
|
-
}) : "", S = d ?
|
|
384
|
-
className:
|
|
505
|
+
}) : "", S = d ? X({
|
|
506
|
+
className: u,
|
|
385
507
|
styles: d,
|
|
386
|
-
mediaQuery:
|
|
508
|
+
mediaQuery: Se(
|
|
387
509
|
"small",
|
|
388
510
|
r
|
|
389
511
|
)
|
|
390
512
|
}) : "";
|
|
391
|
-
return [
|
|
513
|
+
return [b, k, S].join(" ");
|
|
392
514
|
}
|
|
393
|
-
return /* @__PURE__ */ l(h, { children: n() && t() ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
|
|
515
|
+
return /* @__PURE__ */ l(h, { children: n() && t() ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(q, { styles: n() }) }) : null });
|
|
394
516
|
}
|
|
395
|
-
function
|
|
517
|
+
function yt(e) {
|
|
396
518
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
397
519
|
}
|
|
398
|
-
const
|
|
520
|
+
const St = (e) => `on${yt(e)}`, xt = (e, t) => (n) => j({
|
|
399
521
|
code: e,
|
|
400
522
|
context: t.context,
|
|
401
523
|
localState: t.localState,
|
|
@@ -404,16 +526,16 @@ const ct = (e) => `on${lt(e)}`, st = (e, t) => (n) => j({
|
|
|
404
526
|
event: n,
|
|
405
527
|
isExpression: !1
|
|
406
528
|
});
|
|
407
|
-
function
|
|
529
|
+
function $e(e) {
|
|
408
530
|
var i;
|
|
409
531
|
const t = {}, n = (i = e.block.actions) != null ? i : {};
|
|
410
532
|
for (const o in n) {
|
|
411
533
|
if (!n.hasOwnProperty(o))
|
|
412
534
|
continue;
|
|
413
535
|
const a = n[o];
|
|
414
|
-
let r =
|
|
536
|
+
let r = St(o);
|
|
415
537
|
if (e.stripPrefix)
|
|
416
|
-
switch (
|
|
538
|
+
switch (_) {
|
|
417
539
|
case "vue":
|
|
418
540
|
r = r.replace("v-on:", "");
|
|
419
541
|
break;
|
|
@@ -421,29 +543,29 @@ function Pe(e) {
|
|
|
421
543
|
r = r.replace("on:", "");
|
|
422
544
|
break;
|
|
423
545
|
}
|
|
424
|
-
t[r] =
|
|
546
|
+
t[r] = xt(a, e);
|
|
425
547
|
}
|
|
426
548
|
return t;
|
|
427
549
|
}
|
|
428
|
-
function
|
|
550
|
+
function vt({
|
|
429
551
|
style: e
|
|
430
552
|
}) {
|
|
431
553
|
return e;
|
|
432
554
|
}
|
|
433
|
-
const
|
|
555
|
+
const pt = ({
|
|
434
556
|
block: e,
|
|
435
557
|
context: t
|
|
436
|
-
}) =>
|
|
558
|
+
}) => Ne(vt({
|
|
437
559
|
style: e.style || {},
|
|
438
560
|
context: t,
|
|
439
561
|
block: e
|
|
440
562
|
}));
|
|
441
|
-
function
|
|
442
|
-
switch (
|
|
563
|
+
function Ne(e) {
|
|
564
|
+
switch (_) {
|
|
443
565
|
case "svelte":
|
|
444
566
|
case "vue":
|
|
445
567
|
case "solid":
|
|
446
|
-
return
|
|
568
|
+
return We(e).join(" ");
|
|
447
569
|
case "qwik":
|
|
448
570
|
case "reactNative":
|
|
449
571
|
case "react":
|
|
@@ -451,45 +573,45 @@ function Be(e) {
|
|
|
451
573
|
return e;
|
|
452
574
|
}
|
|
453
575
|
}
|
|
454
|
-
function
|
|
576
|
+
function kt({
|
|
455
577
|
properties: e
|
|
456
578
|
}) {
|
|
457
579
|
return e;
|
|
458
580
|
}
|
|
459
|
-
const
|
|
581
|
+
const Ct = (e) => ({
|
|
460
582
|
href: e.href
|
|
461
583
|
});
|
|
462
|
-
function
|
|
584
|
+
function ce({
|
|
463
585
|
block: e,
|
|
464
586
|
context: t
|
|
465
587
|
}) {
|
|
466
588
|
var i;
|
|
467
589
|
const n = {
|
|
468
|
-
...
|
|
590
|
+
...Ct(e),
|
|
469
591
|
...e.properties,
|
|
470
592
|
"builder-id": e.id,
|
|
471
|
-
style:
|
|
593
|
+
style: pt({
|
|
472
594
|
block: e,
|
|
473
595
|
context: t
|
|
474
596
|
}),
|
|
475
597
|
[O()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
|
|
476
598
|
};
|
|
477
|
-
return
|
|
599
|
+
return kt({
|
|
478
600
|
properties: n,
|
|
479
601
|
context: t,
|
|
480
602
|
block: e
|
|
481
603
|
});
|
|
482
604
|
}
|
|
483
|
-
function
|
|
605
|
+
function wt(e) {
|
|
484
606
|
return /* @__PURE__ */ l(
|
|
485
|
-
|
|
607
|
+
ie,
|
|
486
608
|
{
|
|
487
609
|
TagName: e.Wrapper,
|
|
488
|
-
attributes:
|
|
610
|
+
attributes: ce({
|
|
489
611
|
block: e.block,
|
|
490
612
|
context: e.context
|
|
491
613
|
}),
|
|
492
|
-
actionAttributes:
|
|
614
|
+
actionAttributes: $e({
|
|
493
615
|
block: e.block,
|
|
494
616
|
rootState: e.context.rootState,
|
|
495
617
|
rootSetState: e.context.rootSetState,
|
|
@@ -501,17 +623,17 @@ function ht(e) {
|
|
|
501
623
|
}
|
|
502
624
|
);
|
|
503
625
|
}
|
|
504
|
-
function
|
|
626
|
+
function It(e) {
|
|
505
627
|
return /* @__PURE__ */ l(
|
|
506
628
|
e.Wrapper,
|
|
507
629
|
{
|
|
508
630
|
...e.wrapperProps,
|
|
509
631
|
attributes: e.includeBlockProps ? {
|
|
510
|
-
...
|
|
632
|
+
...ce({
|
|
511
633
|
block: e.block,
|
|
512
634
|
context: e.context
|
|
513
635
|
}),
|
|
514
|
-
|
|
636
|
+
...$e({
|
|
515
637
|
block: e.block,
|
|
516
638
|
rootState: e.context.rootState,
|
|
517
639
|
rootSetState: e.context.rootSetState,
|
|
@@ -523,7 +645,7 @@ function gt(e) {
|
|
|
523
645
|
}
|
|
524
646
|
);
|
|
525
647
|
}
|
|
526
|
-
const
|
|
648
|
+
const Tt = ({
|
|
527
649
|
componentOptions: e,
|
|
528
650
|
builderBlock: t,
|
|
529
651
|
context: n,
|
|
@@ -539,7 +661,7 @@ const bt = ({
|
|
|
539
661
|
* component itself directly. Otherwise, they are provided to the wrapper element.
|
|
540
662
|
*/
|
|
541
663
|
...o ? {
|
|
542
|
-
attributes:
|
|
664
|
+
attributes: ce({
|
|
543
665
|
block: t,
|
|
544
666
|
context: r
|
|
545
667
|
})
|
|
@@ -553,15 +675,15 @@ const bt = ({
|
|
|
553
675
|
includeBlockProps: o
|
|
554
676
|
} : c;
|
|
555
677
|
};
|
|
556
|
-
function
|
|
678
|
+
function xe(e) {
|
|
557
679
|
var i;
|
|
558
680
|
const [t, n] = v(
|
|
559
|
-
() => e.isInteractive ?
|
|
681
|
+
() => e.isInteractive ? It : e.componentRef
|
|
560
682
|
);
|
|
561
683
|
return /* @__PURE__ */ l(h, { children: e.componentRef ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
|
|
562
684
|
t,
|
|
563
685
|
{
|
|
564
|
-
...
|
|
686
|
+
...Tt({
|
|
565
687
|
componentOptions: e.componentOptions,
|
|
566
688
|
builderBlock: e.builderBlock,
|
|
567
689
|
context: e.context,
|
|
@@ -572,7 +694,7 @@ function ge(e) {
|
|
|
572
694
|
contextValue: e.context
|
|
573
695
|
}),
|
|
574
696
|
children: (i = e.blockChildren) == null ? void 0 : i.map((o) => /* @__PURE__ */ l(
|
|
575
|
-
|
|
697
|
+
Y,
|
|
576
698
|
{
|
|
577
699
|
block: o,
|
|
578
700
|
context: e.context,
|
|
@@ -584,10 +706,10 @@ function ge(e) {
|
|
|
584
706
|
}
|
|
585
707
|
) }) : null });
|
|
586
708
|
}
|
|
587
|
-
function
|
|
709
|
+
function Rt(e) {
|
|
588
710
|
const [t, n] = v(() => e.repeatContext);
|
|
589
|
-
return /* @__PURE__ */ l(
|
|
590
|
-
|
|
711
|
+
return /* @__PURE__ */ l(oe.Provider, { value: t, children: /* @__PURE__ */ l(
|
|
712
|
+
Y,
|
|
591
713
|
{
|
|
592
714
|
block: e.block,
|
|
593
715
|
context: t,
|
|
@@ -596,24 +718,24 @@ function yt(e) {
|
|
|
596
718
|
}
|
|
597
719
|
) });
|
|
598
720
|
}
|
|
599
|
-
function
|
|
600
|
-
var
|
|
721
|
+
function Y(e) {
|
|
722
|
+
var u, b, k;
|
|
601
723
|
function t() {
|
|
602
|
-
return
|
|
724
|
+
return mt({
|
|
603
725
|
block: e.block,
|
|
604
726
|
context: e.context,
|
|
605
727
|
registeredComponents: e.registeredComponents
|
|
606
728
|
});
|
|
607
729
|
}
|
|
608
730
|
function n() {
|
|
609
|
-
return
|
|
731
|
+
return ft({
|
|
610
732
|
block: e.block,
|
|
611
733
|
context: e.context
|
|
612
734
|
});
|
|
613
735
|
}
|
|
614
736
|
function i() {
|
|
615
737
|
var S;
|
|
616
|
-
return (S = e.block.repeat) != null && S.collection ? e.block :
|
|
738
|
+
return (S = e.block.repeat) != null && S.collection ? e.block : z({
|
|
617
739
|
block: e.block,
|
|
618
740
|
localState: e.context.localState,
|
|
619
741
|
rootState: e.context.rootState,
|
|
@@ -623,32 +745,32 @@ function q(e) {
|
|
|
623
745
|
});
|
|
624
746
|
}
|
|
625
747
|
function o() {
|
|
626
|
-
var
|
|
627
|
-
return e.block.tagName === "a" || ((
|
|
748
|
+
var y;
|
|
749
|
+
return e.block.tagName === "a" || ((y = i().properties) == null ? void 0 : y.href) || i().href ? e.linkComponent || "a" : e.block.tagName || "div";
|
|
628
750
|
}
|
|
629
751
|
function a() {
|
|
630
|
-
var
|
|
631
|
-
if ((
|
|
752
|
+
var x, R;
|
|
753
|
+
if ((x = e.block.repeat) != null && x.collection)
|
|
632
754
|
return !!((R = n == null ? void 0 : n()) != null && R.length);
|
|
633
755
|
const S = "hide" in i() ? i().hide : !1;
|
|
634
756
|
return ("show" in i() ? i().show : !0) && !S;
|
|
635
757
|
}
|
|
636
758
|
function r() {
|
|
637
|
-
var
|
|
638
|
-
return !((
|
|
759
|
+
var y, x;
|
|
760
|
+
return !((y = t == null ? void 0 : t()) != null && y.component) && !n() ? (x = i().children) != null ? x : [] : [];
|
|
639
761
|
}
|
|
640
762
|
function c() {
|
|
641
|
-
var S,
|
|
763
|
+
var S, y, x, R, P, C, w, E, B;
|
|
642
764
|
return {
|
|
643
765
|
blockChildren: (S = i().children) != null ? S : [],
|
|
644
|
-
componentRef: (
|
|
766
|
+
componentRef: (y = t == null ? void 0 : t()) == null ? void 0 : y.component,
|
|
645
767
|
componentOptions: {
|
|
646
|
-
...
|
|
768
|
+
...Xe(i()),
|
|
647
769
|
builderContext: e.context,
|
|
648
|
-
...((
|
|
770
|
+
...((x = t == null ? void 0 : t()) == null ? void 0 : x.name) === "Core:Button" || ((R = t == null ? void 0 : t()) == null ? void 0 : R.name) === "Symbol" || ((P = t == null ? void 0 : t()) == null ? void 0 : P.name) === "Columns" ? {
|
|
649
771
|
builderLinkComponent: e.linkComponent
|
|
650
772
|
} : {},
|
|
651
|
-
...((
|
|
773
|
+
...((C = t == null ? void 0 : t()) == null ? void 0 : C.name) === "Symbol" || ((w = t == null ? void 0 : t()) == null ? void 0 : w.name) === "Columns" ? {
|
|
652
774
|
builderComponents: e.registeredComponents
|
|
653
775
|
} : {}
|
|
654
776
|
},
|
|
@@ -656,15 +778,23 @@ function q(e) {
|
|
|
656
778
|
linkComponent: e.linkComponent,
|
|
657
779
|
registeredComponents: e.registeredComponents,
|
|
658
780
|
builderBlock: i(),
|
|
659
|
-
includeBlockProps: ((
|
|
660
|
-
isInteractive: !((
|
|
781
|
+
includeBlockProps: ((E = t == null ? void 0 : t()) == null ? void 0 : E.noWrap) === !0,
|
|
782
|
+
isInteractive: !((B = t == null ? void 0 : t()) != null && B.isRSC)
|
|
661
783
|
};
|
|
662
784
|
}
|
|
663
785
|
const [s, d] = v(() => e.context);
|
|
664
|
-
return
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
786
|
+
return T(() => {
|
|
787
|
+
const S = i().id, y = i().animations;
|
|
788
|
+
y && S && ct(
|
|
789
|
+
y.filter((x) => x.trigger !== "hover").map((x) => ({
|
|
790
|
+
...x,
|
|
791
|
+
elementId: S
|
|
792
|
+
}))
|
|
793
|
+
);
|
|
794
|
+
}, []), /* @__PURE__ */ l(h, { children: a() ? /* @__PURE__ */ W(h, { children: [
|
|
795
|
+
/* @__PURE__ */ l(bt, { block: e.block, context: e.context }),
|
|
796
|
+
(u = t == null ? void 0 : t()) != null && u.noWrap ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
|
|
797
|
+
xe,
|
|
668
798
|
{
|
|
669
799
|
componentRef: c().componentRef,
|
|
670
800
|
componentOptions: c().componentOptions,
|
|
@@ -676,17 +806,17 @@ function q(e) {
|
|
|
676
806
|
includeBlockProps: c().includeBlockProps,
|
|
677
807
|
isInteractive: c().isInteractive
|
|
678
808
|
}
|
|
679
|
-
) }) : /* @__PURE__ */ l(h, { children: n() ? /* @__PURE__ */ l(h, { children: (k = n()) == null ? void 0 : k.map((S,
|
|
680
|
-
|
|
809
|
+
) }) : /* @__PURE__ */ l(h, { children: n() ? /* @__PURE__ */ l(h, { children: (k = n()) == null ? void 0 : k.map((S, y) => /* @__PURE__ */ l(
|
|
810
|
+
Rt,
|
|
681
811
|
{
|
|
682
812
|
repeatContext: S.context,
|
|
683
813
|
block: S.block,
|
|
684
814
|
registeredComponents: e.registeredComponents,
|
|
685
815
|
linkComponent: e.linkComponent
|
|
686
816
|
},
|
|
687
|
-
|
|
688
|
-
)) }) : /* @__PURE__ */ l(h, { children: /* @__PURE__ */
|
|
689
|
-
|
|
817
|
+
y
|
|
818
|
+
)) }) : /* @__PURE__ */ l(h, { children: /* @__PURE__ */ W(
|
|
819
|
+
wt,
|
|
690
820
|
{
|
|
691
821
|
Wrapper: o(),
|
|
692
822
|
block: i(),
|
|
@@ -694,7 +824,7 @@ function q(e) {
|
|
|
694
824
|
linkComponent: e.linkComponent,
|
|
695
825
|
children: [
|
|
696
826
|
/* @__PURE__ */ l(
|
|
697
|
-
|
|
827
|
+
xe,
|
|
698
828
|
{
|
|
699
829
|
componentRef: c().componentRef,
|
|
700
830
|
componentOptions: c().componentOptions,
|
|
@@ -707,8 +837,8 @@ function q(e) {
|
|
|
707
837
|
isInteractive: c().isInteractive
|
|
708
838
|
}
|
|
709
839
|
),
|
|
710
|
-
(
|
|
711
|
-
|
|
840
|
+
(b = r()) == null ? void 0 : b.map((S) => /* @__PURE__ */ l(
|
|
841
|
+
Y,
|
|
712
842
|
{
|
|
713
843
|
block: S,
|
|
714
844
|
context: s,
|
|
@@ -722,14 +852,14 @@ function q(e) {
|
|
|
722
852
|
) }) })
|
|
723
853
|
] }) : null });
|
|
724
854
|
}
|
|
725
|
-
function
|
|
855
|
+
function Et(e) {
|
|
726
856
|
function t() {
|
|
727
857
|
var o;
|
|
728
858
|
return "builder-blocks" + ((o = e.blocks) != null && o.length ? "" : " no-blocks");
|
|
729
859
|
}
|
|
730
860
|
function n() {
|
|
731
861
|
var o, a;
|
|
732
|
-
|
|
862
|
+
$() && !((o = e.blocks) != null && o.length) && ((a = window.parent) == null || a.postMessage(
|
|
733
863
|
{
|
|
734
864
|
type: "builder.clickEmptyBlocks",
|
|
735
865
|
data: {
|
|
@@ -742,7 +872,7 @@ function St(e) {
|
|
|
742
872
|
}
|
|
743
873
|
function i() {
|
|
744
874
|
var o, a;
|
|
745
|
-
|
|
875
|
+
$() && !((o = e.blocks) != null && o.length) && ((a = window.parent) == null || a.postMessage(
|
|
746
876
|
{
|
|
747
877
|
type: "builder.hoverEmptyBlocks",
|
|
748
878
|
data: {
|
|
@@ -753,7 +883,7 @@ function St(e) {
|
|
|
753
883
|
"*"
|
|
754
884
|
));
|
|
755
885
|
}
|
|
756
|
-
return /* @__PURE__ */
|
|
886
|
+
return /* @__PURE__ */ W(h, { children: [
|
|
757
887
|
/* @__PURE__ */ l(
|
|
758
888
|
e.BlocksWrapper,
|
|
759
889
|
{
|
|
@@ -775,11 +905,11 @@ function St(e) {
|
|
|
775
905
|
}` })
|
|
776
906
|
] });
|
|
777
907
|
}
|
|
778
|
-
function
|
|
908
|
+
function Q(e) {
|
|
779
909
|
var i, o, a;
|
|
780
|
-
const t =
|
|
910
|
+
const t = fe(oe), n = fe(Re);
|
|
781
911
|
return /* @__PURE__ */ l(
|
|
782
|
-
|
|
912
|
+
Et,
|
|
783
913
|
{
|
|
784
914
|
blocks: e.blocks,
|
|
785
915
|
parent: e.parent,
|
|
@@ -788,7 +918,7 @@ function Y(e) {
|
|
|
788
918
|
BlocksWrapper: (i = e.context) == null ? void 0 : i.BlocksWrapper,
|
|
789
919
|
BlocksWrapperProps: (o = e.context) == null ? void 0 : o.BlocksWrapperProps,
|
|
790
920
|
children: e.blocks ? /* @__PURE__ */ l(h, { children: (a = e.blocks) == null ? void 0 : a.map((r) => /* @__PURE__ */ l(
|
|
791
|
-
|
|
921
|
+
Y,
|
|
792
922
|
{
|
|
793
923
|
block: r,
|
|
794
924
|
linkComponent: e.linkComponent,
|
|
@@ -800,82 +930,82 @@ function Y(e) {
|
|
|
800
930
|
}
|
|
801
931
|
);
|
|
802
932
|
}
|
|
803
|
-
function
|
|
804
|
-
var
|
|
933
|
+
function Pt(e) {
|
|
934
|
+
var P;
|
|
805
935
|
const [t, n] = v(
|
|
806
936
|
() => typeof e.space == "number" ? e.space || 0 : 20
|
|
807
937
|
), [i, o] = v(() => e.columns || []), [a, r] = v(
|
|
808
938
|
() => e.stackColumnsAt || "tablet"
|
|
809
939
|
);
|
|
810
|
-
function c(
|
|
811
|
-
var
|
|
812
|
-
return ((
|
|
940
|
+
function c(C) {
|
|
941
|
+
var w;
|
|
942
|
+
return ((w = i[C]) == null ? void 0 : w.width) || 100 / i.length;
|
|
813
943
|
}
|
|
814
|
-
function s(
|
|
815
|
-
const
|
|
816
|
-
return `calc(${c(
|
|
944
|
+
function s(C) {
|
|
945
|
+
const w = t * (i.length - 1) / i.length;
|
|
946
|
+
return `calc(${c(C)}% - ${w}px)`;
|
|
817
947
|
}
|
|
818
948
|
function d({
|
|
819
|
-
stackedStyle:
|
|
820
|
-
desktopStyle:
|
|
949
|
+
stackedStyle: C,
|
|
950
|
+
desktopStyle: w
|
|
821
951
|
}) {
|
|
822
|
-
return a === "tablet" ?
|
|
952
|
+
return a === "tablet" ? C : w;
|
|
823
953
|
}
|
|
824
|
-
function
|
|
825
|
-
stackedStyle:
|
|
826
|
-
desktopStyle:
|
|
954
|
+
function u({
|
|
955
|
+
stackedStyle: C,
|
|
956
|
+
desktopStyle: w
|
|
827
957
|
}) {
|
|
828
|
-
return a === "never" ?
|
|
958
|
+
return a === "never" ? w : C;
|
|
829
959
|
}
|
|
830
|
-
const [
|
|
960
|
+
const [b, k] = v(
|
|
831
961
|
() => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
|
|
832
962
|
);
|
|
833
963
|
function S() {
|
|
834
964
|
return {
|
|
835
|
-
"--flex-dir":
|
|
965
|
+
"--flex-dir": b,
|
|
836
966
|
"--flex-dir-tablet": d({
|
|
837
|
-
stackedStyle:
|
|
967
|
+
stackedStyle: b,
|
|
838
968
|
desktopStyle: "row"
|
|
839
969
|
})
|
|
840
970
|
};
|
|
841
971
|
}
|
|
842
|
-
function
|
|
843
|
-
const
|
|
972
|
+
function y(C) {
|
|
973
|
+
const w = C === 0 ? 0 : t, E = s(C), B = `${w}px`, F = "100%", L = 0;
|
|
844
974
|
return {
|
|
845
975
|
...{
|
|
846
976
|
display: "flex",
|
|
847
977
|
flexDirection: "column",
|
|
848
978
|
alignItems: "stretch"
|
|
849
979
|
},
|
|
850
|
-
width:
|
|
851
|
-
["marginLeft"]:
|
|
852
|
-
"--column-width-mobile":
|
|
980
|
+
width: E,
|
|
981
|
+
["marginLeft"]: B,
|
|
982
|
+
"--column-width-mobile": u({
|
|
853
983
|
stackedStyle: F,
|
|
854
|
-
desktopStyle:
|
|
984
|
+
desktopStyle: E
|
|
855
985
|
}),
|
|
856
|
-
"--column-margin-left-mobile":
|
|
986
|
+
"--column-margin-left-mobile": u({
|
|
857
987
|
stackedStyle: L,
|
|
858
|
-
desktopStyle:
|
|
988
|
+
desktopStyle: B
|
|
859
989
|
}),
|
|
860
990
|
"--column-width-tablet": d({
|
|
861
991
|
stackedStyle: F,
|
|
862
|
-
desktopStyle:
|
|
992
|
+
desktopStyle: E
|
|
863
993
|
}),
|
|
864
994
|
"--column-margin-left-tablet": d({
|
|
865
995
|
stackedStyle: L,
|
|
866
|
-
desktopStyle:
|
|
996
|
+
desktopStyle: B
|
|
867
997
|
})
|
|
868
998
|
};
|
|
869
999
|
}
|
|
870
|
-
function C
|
|
871
|
-
var
|
|
872
|
-
return
|
|
873
|
-
((
|
|
874
|
-
)[
|
|
1000
|
+
function x(C) {
|
|
1001
|
+
var E, B;
|
|
1002
|
+
return Be(
|
|
1003
|
+
((B = (E = e.builderContext.content) == null ? void 0 : E.meta) == null ? void 0 : B.breakpoints) || {}
|
|
1004
|
+
)[C].max;
|
|
875
1005
|
}
|
|
876
1006
|
function R() {
|
|
877
1007
|
return `
|
|
878
|
-
@media (max-width: ${
|
|
1008
|
+
@media (max-width: ${x("medium")}px) {
|
|
879
1009
|
.${e.builderBlock.id}-breakpoints {
|
|
880
1010
|
flex-direction: var(--flex-dir-tablet);
|
|
881
1011
|
align-items: stretch;
|
|
@@ -887,7 +1017,7 @@ function xt(e) {
|
|
|
887
1017
|
}
|
|
888
1018
|
}
|
|
889
1019
|
|
|
890
|
-
@media (max-width: ${
|
|
1020
|
+
@media (max-width: ${x("small")}px) {
|
|
891
1021
|
.${e.builderBlock.id}-breakpoints {
|
|
892
1022
|
flex-direction: var(--flex-dir);
|
|
893
1023
|
align-items: stretch;
|
|
@@ -900,30 +1030,30 @@ function xt(e) {
|
|
|
900
1030
|
},
|
|
901
1031
|
`;
|
|
902
1032
|
}
|
|
903
|
-
return /* @__PURE__ */
|
|
904
|
-
/* @__PURE__ */
|
|
1033
|
+
return /* @__PURE__ */ W(h, { children: [
|
|
1034
|
+
/* @__PURE__ */ W(
|
|
905
1035
|
"div",
|
|
906
1036
|
{
|
|
907
1037
|
className: `builder-columns ${e.builderBlock.id}-breakpoints div-6f826264`,
|
|
908
1038
|
style: S(),
|
|
909
1039
|
children: [
|
|
910
|
-
/* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
|
|
911
|
-
(
|
|
912
|
-
|
|
1040
|
+
/* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(q, { styles: R() }) }),
|
|
1041
|
+
(P = e.columns) == null ? void 0 : P.map((C, w) => /* @__PURE__ */ l(
|
|
1042
|
+
ie,
|
|
913
1043
|
{
|
|
914
|
-
TagName:
|
|
1044
|
+
TagName: C.link ? e.builderLinkComponent || "a" : "div",
|
|
915
1045
|
actionAttributes: {},
|
|
916
1046
|
attributes: {
|
|
917
|
-
...
|
|
918
|
-
href:
|
|
1047
|
+
...C.link ? {
|
|
1048
|
+
href: C.link
|
|
919
1049
|
} : {},
|
|
920
1050
|
[O()]: "builder-column",
|
|
921
|
-
style:
|
|
1051
|
+
style: Ne(y(w))
|
|
922
1052
|
},
|
|
923
1053
|
children: /* @__PURE__ */ l(
|
|
924
|
-
|
|
1054
|
+
Q,
|
|
925
1055
|
{
|
|
926
|
-
path: `component.options.columns.${
|
|
1056
|
+
path: `component.options.columns.${w}.blocks`,
|
|
927
1057
|
parent: e.builderBlock.id,
|
|
928
1058
|
styleProp: {
|
|
929
1059
|
flexGrow: "1"
|
|
@@ -931,11 +1061,11 @@ function xt(e) {
|
|
|
931
1061
|
context: e.builderContext,
|
|
932
1062
|
registeredComponents: e.builderComponents,
|
|
933
1063
|
linkComponent: e.builderLinkComponent,
|
|
934
|
-
blocks:
|
|
1064
|
+
blocks: C.blocks
|
|
935
1065
|
}
|
|
936
1066
|
)
|
|
937
1067
|
},
|
|
938
|
-
|
|
1068
|
+
w
|
|
939
1069
|
))
|
|
940
1070
|
]
|
|
941
1071
|
}
|
|
@@ -946,54 +1076,54 @@ function xt(e) {
|
|
|
946
1076
|
}` })
|
|
947
1077
|
] });
|
|
948
1078
|
}
|
|
949
|
-
function
|
|
1079
|
+
function At(e) {
|
|
950
1080
|
return /* @__PURE__ */ l("span", { children: e.children });
|
|
951
1081
|
}
|
|
952
|
-
function
|
|
1082
|
+
function ve(e) {
|
|
953
1083
|
return e.replace(/http(s)?:/, "");
|
|
954
1084
|
}
|
|
955
|
-
function
|
|
1085
|
+
function Bt(e = "", t, n) {
|
|
956
1086
|
const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
|
|
957
1087
|
return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
|
|
958
1088
|
}
|
|
959
|
-
function
|
|
1089
|
+
function Wt(e, t) {
|
|
960
1090
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
961
1091
|
return e;
|
|
962
1092
|
if (t === "master")
|
|
963
|
-
return
|
|
1093
|
+
return ve(e);
|
|
964
1094
|
const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
|
|
965
1095
|
if (n) {
|
|
966
1096
|
const i = e.split(n[0]), o = n[3], a = t.match("x") ? t : `${t}x`;
|
|
967
|
-
return
|
|
1097
|
+
return ve(`${i[0]}_${a}${o}`);
|
|
968
1098
|
}
|
|
969
1099
|
return null;
|
|
970
1100
|
}
|
|
971
|
-
function
|
|
1101
|
+
function Z(e) {
|
|
972
1102
|
if (!e)
|
|
973
1103
|
return e;
|
|
974
1104
|
const t = [100, 200, 400, 800, 1200, 1600, 2e3];
|
|
975
1105
|
if (e.match(/builder\.io/)) {
|
|
976
1106
|
let n = e;
|
|
977
1107
|
const i = Number(e.split("?width=")[1]);
|
|
978
|
-
return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${
|
|
1108
|
+
return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${Bt(e, "width", o)} ${o}w`).concat([n]).join(", ");
|
|
979
1109
|
}
|
|
980
|
-
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [
|
|
1110
|
+
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Wt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
|
|
981
1111
|
}
|
|
982
|
-
function
|
|
1112
|
+
function $t(e) {
|
|
983
1113
|
var o, a, r, c;
|
|
984
1114
|
function t() {
|
|
985
|
-
var
|
|
1115
|
+
var u;
|
|
986
1116
|
const d = e.image || e.src;
|
|
987
1117
|
if (!d || // We can auto add srcset for cdn.builder.io and shopify
|
|
988
1118
|
// images, otherwise you can supply this prop manually
|
|
989
1119
|
!(d.match(/builder\.io/) || d.match(/cdn\.shopify\.com/)))
|
|
990
1120
|
return e.srcset;
|
|
991
|
-
if (e.srcset && ((
|
|
1121
|
+
if (e.srcset && ((u = e.image) != null && u.includes("builder.io/api/v1/image"))) {
|
|
992
1122
|
if (!e.srcset.includes(e.image.split("?")[0]))
|
|
993
|
-
return console.debug("Removed given srcset"),
|
|
1123
|
+
return console.debug("Removed given srcset"), Z(d);
|
|
994
1124
|
} else if (e.image && !e.srcset)
|
|
995
|
-
return
|
|
996
|
-
return
|
|
1125
|
+
return Z(d);
|
|
1126
|
+
return Z(d);
|
|
997
1127
|
}
|
|
998
1128
|
function n() {
|
|
999
1129
|
var s;
|
|
@@ -1009,9 +1139,9 @@ function Ct(e) {
|
|
|
1009
1139
|
};
|
|
1010
1140
|
return e.aspectRatio ? s : void 0;
|
|
1011
1141
|
}
|
|
1012
|
-
return /* @__PURE__ */
|
|
1013
|
-
/* @__PURE__ */
|
|
1014
|
-
/* @__PURE__ */
|
|
1142
|
+
return /* @__PURE__ */ W(h, { children: [
|
|
1143
|
+
/* @__PURE__ */ W(h, { children: [
|
|
1144
|
+
/* @__PURE__ */ W("picture", { children: [
|
|
1015
1145
|
n() ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l("source", { type: "image/webp", srcSet: n() }) }) : null,
|
|
1016
1146
|
/* @__PURE__ */ l(
|
|
1017
1147
|
"img",
|
|
@@ -1062,7 +1192,7 @@ function Ct(e) {
|
|
|
1062
1192
|
}` })
|
|
1063
1193
|
] });
|
|
1064
1194
|
}
|
|
1065
|
-
function
|
|
1195
|
+
function Nt(e) {
|
|
1066
1196
|
return /* @__PURE__ */ l(
|
|
1067
1197
|
"section",
|
|
1068
1198
|
{
|
|
@@ -1083,7 +1213,7 @@ function wt(e) {
|
|
|
1083
1213
|
}
|
|
1084
1214
|
);
|
|
1085
1215
|
}
|
|
1086
|
-
const
|
|
1216
|
+
const Vt = {
|
|
1087
1217
|
name: "Core:Button",
|
|
1088
1218
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
1089
1219
|
defaultStyles: {
|
|
@@ -1116,7 +1246,7 @@ const It = {
|
|
|
1116
1246
|
}],
|
|
1117
1247
|
static: !0,
|
|
1118
1248
|
noWrap: !0
|
|
1119
|
-
},
|
|
1249
|
+
}, Ft = {
|
|
1120
1250
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
1121
1251
|
name: "Columns",
|
|
1122
1252
|
isRSC: !0,
|
|
@@ -1317,7 +1447,7 @@ const It = {
|
|
|
1317
1447
|
helperText: "When stacking columns for mobile devices, reverse the ordering",
|
|
1318
1448
|
advanced: !0
|
|
1319
1449
|
}]
|
|
1320
|
-
},
|
|
1450
|
+
}, Lt = {
|
|
1321
1451
|
name: "Custom Code",
|
|
1322
1452
|
static: !0,
|
|
1323
1453
|
requiredPermissions: ["editCode"],
|
|
@@ -1340,9 +1470,9 @@ const It = {
|
|
|
1340
1470
|
advanced: !0
|
|
1341
1471
|
}]
|
|
1342
1472
|
};
|
|
1343
|
-
function
|
|
1344
|
-
const t =
|
|
1345
|
-
return
|
|
1473
|
+
function Dt(e) {
|
|
1474
|
+
const t = te(null), [n, i] = v(() => []), [o, a] = v(() => []);
|
|
1475
|
+
return T(() => {
|
|
1346
1476
|
var c;
|
|
1347
1477
|
if (!((c = t.current) != null && c.getElementsByTagName) || typeof window == "undefined")
|
|
1348
1478
|
return;
|
|
@@ -1353,8 +1483,8 @@ function Et(e) {
|
|
|
1353
1483
|
if (n.includes(d.src))
|
|
1354
1484
|
continue;
|
|
1355
1485
|
n.push(d.src);
|
|
1356
|
-
const
|
|
1357
|
-
|
|
1486
|
+
const u = document.createElement("script");
|
|
1487
|
+
u.async = !0, u.src = d.src, document.head.appendChild(u);
|
|
1358
1488
|
} else if (!d.type || [
|
|
1359
1489
|
"text/javascript",
|
|
1360
1490
|
"application/javascript",
|
|
@@ -1364,8 +1494,8 @@ function Et(e) {
|
|
|
1364
1494
|
continue;
|
|
1365
1495
|
try {
|
|
1366
1496
|
o.push(d.innerText), new Function(d.innerText)();
|
|
1367
|
-
} catch (
|
|
1368
|
-
console.warn("`CustomCode`: Error running script:",
|
|
1497
|
+
} catch (u) {
|
|
1498
|
+
console.warn("`CustomCode`: Error running script:", u);
|
|
1369
1499
|
}
|
|
1370
1500
|
}
|
|
1371
1501
|
}
|
|
@@ -1378,7 +1508,7 @@ function Et(e) {
|
|
|
1378
1508
|
}
|
|
1379
1509
|
);
|
|
1380
1510
|
}
|
|
1381
|
-
const
|
|
1511
|
+
const Ot = {
|
|
1382
1512
|
name: "Embed",
|
|
1383
1513
|
static: !0,
|
|
1384
1514
|
inputs: [{
|
|
@@ -1403,28 +1533,28 @@ const Pt = {
|
|
|
1403
1533
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
1404
1534
|
hideFromUI: !0
|
|
1405
1535
|
}]
|
|
1406
|
-
},
|
|
1407
|
-
function
|
|
1408
|
-
const t =
|
|
1536
|
+
}, jt = ["text/javascript", "application/javascript", "application/ecmascript"], _t = (e) => jt.includes(e.type);
|
|
1537
|
+
function Ht(e) {
|
|
1538
|
+
const t = te(null), [n, i] = v(() => []), [o, a] = v(() => []), [r, c] = v(() => !1);
|
|
1409
1539
|
function s() {
|
|
1410
1540
|
if (!t.current || !t.current.getElementsByTagName)
|
|
1411
1541
|
return;
|
|
1412
1542
|
const d = t.current.getElementsByTagName("script");
|
|
1413
|
-
for (let
|
|
1414
|
-
const
|
|
1415
|
-
if (
|
|
1416
|
-
n.push(
|
|
1543
|
+
for (let u = 0; u < d.length; u++) {
|
|
1544
|
+
const b = d[u];
|
|
1545
|
+
if (b.src && !n.includes(b.src)) {
|
|
1546
|
+
n.push(b.src);
|
|
1417
1547
|
const k = document.createElement("script");
|
|
1418
|
-
k.async = !0, k.src =
|
|
1419
|
-
} else if (
|
|
1548
|
+
k.async = !0, k.src = b.src, document.head.appendChild(k);
|
|
1549
|
+
} else if (_t(b) && !o.includes(b.innerText))
|
|
1420
1550
|
try {
|
|
1421
|
-
o.push(
|
|
1551
|
+
o.push(b.innerText), new Function(b.innerText)();
|
|
1422
1552
|
} catch (k) {
|
|
1423
1553
|
console.warn("`Embed`: Error running script:", k);
|
|
1424
1554
|
}
|
|
1425
1555
|
}
|
|
1426
1556
|
}
|
|
1427
|
-
return
|
|
1557
|
+
return T(() => {
|
|
1428
1558
|
t.current && !r && (c(!0), s());
|
|
1429
1559
|
}, [t.current, r]), /* @__PURE__ */ l(
|
|
1430
1560
|
"div",
|
|
@@ -1435,13 +1565,13 @@ function At(e) {
|
|
|
1435
1565
|
}
|
|
1436
1566
|
);
|
|
1437
1567
|
}
|
|
1438
|
-
const
|
|
1568
|
+
const Ut = {
|
|
1439
1569
|
name: "Fragment",
|
|
1440
1570
|
static: !0,
|
|
1441
1571
|
hidden: !0,
|
|
1442
1572
|
canHaveChildren: !0,
|
|
1443
1573
|
noWrap: !0
|
|
1444
|
-
},
|
|
1574
|
+
}, Mt = {
|
|
1445
1575
|
name: "Image",
|
|
1446
1576
|
static: !0,
|
|
1447
1577
|
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",
|
|
@@ -1463,14 +1593,14 @@ const Nt = {
|
|
|
1463
1593
|
e.delete("srcset"), e.delete("noWebp");
|
|
1464
1594
|
function n(r, c = 6e4) {
|
|
1465
1595
|
return new Promise((s, d) => {
|
|
1466
|
-
const
|
|
1467
|
-
let
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
},
|
|
1596
|
+
const u = document.createElement("img");
|
|
1597
|
+
let b = !1;
|
|
1598
|
+
u.onload = () => {
|
|
1599
|
+
b = !0, s(u);
|
|
1600
|
+
}, u.addEventListener("error", (k) => {
|
|
1471
1601
|
console.warn("Image load failed", k.error), d(k.error);
|
|
1472
|
-
}),
|
|
1473
|
-
|
|
1602
|
+
}), u.src = r, setTimeout(() => {
|
|
1603
|
+
b || d(new Error("Image load timed out"));
|
|
1474
1604
|
}, c);
|
|
1475
1605
|
});
|
|
1476
1606
|
}
|
|
@@ -1541,7 +1671,7 @@ const Nt = {
|
|
|
1541
1671
|
advanced: !0,
|
|
1542
1672
|
defaultValue: 0.7041
|
|
1543
1673
|
}]
|
|
1544
|
-
},
|
|
1674
|
+
}, Kt = {
|
|
1545
1675
|
// friendlyName?
|
|
1546
1676
|
name: "Raw:Img",
|
|
1547
1677
|
hideFromInsertMenu: !0,
|
|
@@ -1556,7 +1686,7 @@ const Nt = {
|
|
|
1556
1686
|
noWrap: !0,
|
|
1557
1687
|
static: !0
|
|
1558
1688
|
};
|
|
1559
|
-
function
|
|
1689
|
+
function zt(e) {
|
|
1560
1690
|
return /* @__PURE__ */ l(
|
|
1561
1691
|
"img",
|
|
1562
1692
|
{
|
|
@@ -1568,10 +1698,10 @@ function Ft(e) {
|
|
|
1568
1698
|
src: e.imgSrc || e.image,
|
|
1569
1699
|
...e.attributes
|
|
1570
1700
|
},
|
|
1571
|
-
|
|
1701
|
+
$() && e.imgSrc || "default-key"
|
|
1572
1702
|
);
|
|
1573
1703
|
}
|
|
1574
|
-
const
|
|
1704
|
+
const qt = {
|
|
1575
1705
|
name: "Core:Section",
|
|
1576
1706
|
static: !0,
|
|
1577
1707
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -1610,7 +1740,7 @@ const Lt = {
|
|
|
1610
1740
|
}
|
|
1611
1741
|
}
|
|
1612
1742
|
}]
|
|
1613
|
-
},
|
|
1743
|
+
}, Yt = {
|
|
1614
1744
|
name: "Slot",
|
|
1615
1745
|
isRSC: !0,
|
|
1616
1746
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -1624,7 +1754,7 @@ const Lt = {
|
|
|
1624
1754
|
defaultValue: "children"
|
|
1625
1755
|
}]
|
|
1626
1756
|
};
|
|
1627
|
-
function
|
|
1757
|
+
function Qt(e) {
|
|
1628
1758
|
var t, n, i;
|
|
1629
1759
|
return /* @__PURE__ */ l(
|
|
1630
1760
|
"div",
|
|
@@ -1636,7 +1766,7 @@ function Ot(e) {
|
|
|
1636
1766
|
"builder-slot": e.name
|
|
1637
1767
|
},
|
|
1638
1768
|
children: /* @__PURE__ */ l(
|
|
1639
|
-
|
|
1769
|
+
Q,
|
|
1640
1770
|
{
|
|
1641
1771
|
parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
|
|
1642
1772
|
path: `symbol.data.${e.name}`,
|
|
@@ -1647,7 +1777,7 @@ function Ot(e) {
|
|
|
1647
1777
|
}
|
|
1648
1778
|
);
|
|
1649
1779
|
}
|
|
1650
|
-
const
|
|
1780
|
+
const Gt = {
|
|
1651
1781
|
name: "Symbol",
|
|
1652
1782
|
noWrap: !0,
|
|
1653
1783
|
static: !0,
|
|
@@ -1680,7 +1810,7 @@ const jt = {
|
|
|
1680
1810
|
hideFromUI: !0,
|
|
1681
1811
|
type: "boolean"
|
|
1682
1812
|
}]
|
|
1683
|
-
},
|
|
1813
|
+
}, Jt = {
|
|
1684
1814
|
name: "Text",
|
|
1685
1815
|
static: !0,
|
|
1686
1816
|
isRSC: !0,
|
|
@@ -1699,7 +1829,7 @@ const jt = {
|
|
|
1699
1829
|
textAlign: "center"
|
|
1700
1830
|
}
|
|
1701
1831
|
};
|
|
1702
|
-
function
|
|
1832
|
+
function Xt(e) {
|
|
1703
1833
|
var t;
|
|
1704
1834
|
return /* @__PURE__ */ l(
|
|
1705
1835
|
"div",
|
|
@@ -1712,7 +1842,7 @@ function Ut(e) {
|
|
|
1712
1842
|
}
|
|
1713
1843
|
);
|
|
1714
1844
|
}
|
|
1715
|
-
const
|
|
1845
|
+
const Zt = {
|
|
1716
1846
|
name: "Video",
|
|
1717
1847
|
canHaveChildren: !0,
|
|
1718
1848
|
defaultStyles: {
|
|
@@ -1794,7 +1924,7 @@ const Mt = {
|
|
|
1794
1924
|
advanced: !0
|
|
1795
1925
|
}]
|
|
1796
1926
|
};
|
|
1797
|
-
function
|
|
1927
|
+
function en(e) {
|
|
1798
1928
|
var i, o, a, r, c, s, d;
|
|
1799
1929
|
function t() {
|
|
1800
1930
|
return {
|
|
@@ -1820,7 +1950,7 @@ function Ht(e) {
|
|
|
1820
1950
|
...t()
|
|
1821
1951
|
};
|
|
1822
1952
|
}
|
|
1823
|
-
return /* @__PURE__ */
|
|
1953
|
+
return /* @__PURE__ */ W(
|
|
1824
1954
|
"div",
|
|
1825
1955
|
{
|
|
1826
1956
|
style: {
|
|
@@ -1895,43 +2025,43 @@ function Ht(e) {
|
|
|
1895
2025
|
}
|
|
1896
2026
|
);
|
|
1897
2027
|
}
|
|
1898
|
-
const
|
|
1899
|
-
component:
|
|
1900
|
-
...
|
|
2028
|
+
const pe = () => [{
|
|
2029
|
+
component: Je,
|
|
2030
|
+
...Vt
|
|
1901
2031
|
}, {
|
|
1902
|
-
component:
|
|
1903
|
-
...
|
|
2032
|
+
component: Pt,
|
|
2033
|
+
...Ft
|
|
1904
2034
|
}, {
|
|
1905
|
-
component:
|
|
1906
|
-
...
|
|
2035
|
+
component: Dt,
|
|
2036
|
+
...Lt
|
|
1907
2037
|
}, {
|
|
1908
|
-
component:
|
|
1909
|
-
...
|
|
2038
|
+
component: Ht,
|
|
2039
|
+
...Ot
|
|
1910
2040
|
}, {
|
|
1911
|
-
component:
|
|
1912
|
-
...
|
|
2041
|
+
component: At,
|
|
2042
|
+
...Ut
|
|
1913
2043
|
}, {
|
|
1914
|
-
component:
|
|
1915
|
-
...
|
|
2044
|
+
component: $t,
|
|
2045
|
+
...Mt
|
|
1916
2046
|
}, {
|
|
1917
|
-
component:
|
|
1918
|
-
|
|
2047
|
+
component: zt,
|
|
2048
|
+
...Kt
|
|
1919
2049
|
}, {
|
|
1920
|
-
component:
|
|
1921
|
-
...
|
|
2050
|
+
component: Nt,
|
|
2051
|
+
...qt
|
|
1922
2052
|
}, {
|
|
1923
|
-
component:
|
|
1924
|
-
...
|
|
2053
|
+
component: vn,
|
|
2054
|
+
...Gt
|
|
1925
2055
|
}, {
|
|
1926
|
-
component:
|
|
1927
|
-
...
|
|
2056
|
+
component: Xt,
|
|
2057
|
+
...Jt
|
|
1928
2058
|
}, {
|
|
1929
|
-
component:
|
|
1930
|
-
...
|
|
2059
|
+
component: en,
|
|
2060
|
+
...Zt
|
|
1931
2061
|
}, {
|
|
1932
|
-
component:
|
|
1933
|
-
...
|
|
1934
|
-
}],
|
|
2062
|
+
component: Qt,
|
|
2063
|
+
...Yt
|
|
2064
|
+
}], tn = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
1935
2065
|
function getAndSetVariantId() {
|
|
1936
2066
|
function setCookie(name, value, days) {
|
|
1937
2067
|
let expires = '';
|
|
@@ -1987,7 +2117,7 @@ const ye = () => [{
|
|
|
1987
2117
|
}).join('');
|
|
1988
2118
|
styleEl.innerHTML = newStyleStr;
|
|
1989
2119
|
}
|
|
1990
|
-
}`,
|
|
2120
|
+
}`, nn = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
1991
2121
|
if (!navigator.cookieEnabled) {
|
|
1992
2122
|
return;
|
|
1993
2123
|
}
|
|
@@ -2021,26 +2151,26 @@ const ye = () => [{
|
|
|
2021
2151
|
thisScriptEl?.remove();
|
|
2022
2152
|
}
|
|
2023
2153
|
return;
|
|
2024
|
-
}`,
|
|
2154
|
+
}`, Ve = "builderIoAbTest", Fe = "builderIoRenderContent", U = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
2025
2155
|
...t,
|
|
2026
2156
|
testVariationId: t.id,
|
|
2027
2157
|
id: e == null ? void 0 : e.id
|
|
2028
|
-
})),
|
|
2158
|
+
})), on = ({
|
|
2029
2159
|
canTrack: e,
|
|
2030
2160
|
content: t
|
|
2031
|
-
}) => !(!(U(t).length > 0) || !e || V()),
|
|
2032
|
-
window.${
|
|
2033
|
-
window.${
|
|
2034
|
-
`,
|
|
2035
|
-
window.${
|
|
2036
|
-
"${t}",${JSON.stringify(e)}, ${
|
|
2037
|
-
)`,
|
|
2161
|
+
}) => !(!(U(t).length > 0) || !e || V()), an = (e) => e === "react" || e === "reactNative", Le = an(_), rn = () => `
|
|
2162
|
+
window.${Ve} = ${tn}
|
|
2163
|
+
window.${Fe} = ${nn}
|
|
2164
|
+
`, ln = (e, t) => `
|
|
2165
|
+
window.${Ve}(
|
|
2166
|
+
"${t}",${JSON.stringify(e)}, ${Le}
|
|
2167
|
+
)`, cn = ({
|
|
2038
2168
|
contentId: e,
|
|
2039
2169
|
variationId: t
|
|
2040
|
-
}) => `window.${
|
|
2041
|
-
"${t}", "${e}", ${
|
|
2170
|
+
}) => `window.${Fe}(
|
|
2171
|
+
"${t}", "${e}", ${Le}
|
|
2042
2172
|
)`;
|
|
2043
|
-
function
|
|
2173
|
+
function ee(e) {
|
|
2044
2174
|
return /* @__PURE__ */ l(
|
|
2045
2175
|
"script",
|
|
2046
2176
|
{
|
|
@@ -2049,15 +2179,10 @@ function Z(e) {
|
|
|
2049
2179
|
}
|
|
2050
2180
|
);
|
|
2051
2181
|
}
|
|
2052
|
-
|
|
2053
|
-
function Ve(e, t) {
|
|
2054
|
-
const n = new URL(t.origin), i = n.hostname;
|
|
2055
|
-
return (e || Xt).findIndex((o) => o.startsWith("*.") ? i.endsWith(o.slice(1)) : o === i) > -1;
|
|
2056
|
-
}
|
|
2057
|
-
function Se(e) {
|
|
2182
|
+
function ke(e) {
|
|
2058
2183
|
return Math.round(e * 1e3) / 1e3;
|
|
2059
2184
|
}
|
|
2060
|
-
const
|
|
2185
|
+
const sn = (e, t, n = !0) => {
|
|
2061
2186
|
if (!(e instanceof HTMLElement))
|
|
2062
2187
|
return null;
|
|
2063
2188
|
let i = n ? e : e.parentElement;
|
|
@@ -2068,152 +2193,67 @@ const Zt = (e, t, n = !0) => {
|
|
|
2068
2193
|
return i;
|
|
2069
2194
|
} while (i = i.parentElement);
|
|
2070
2195
|
return null;
|
|
2071
|
-
},
|
|
2196
|
+
}, dn = (e) => sn(e, (t) => {
|
|
2072
2197
|
const n = t.getAttribute("builder-id") || t.id;
|
|
2073
2198
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
2074
|
-
}),
|
|
2199
|
+
}), Ce = ({
|
|
2075
2200
|
event: e,
|
|
2076
2201
|
target: t
|
|
2077
2202
|
}) => {
|
|
2078
|
-
const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a =
|
|
2203
|
+
const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = ke(i / n.width), r = ke(o / n.height);
|
|
2079
2204
|
return {
|
|
2080
2205
|
x: a,
|
|
2081
2206
|
y: r
|
|
2082
2207
|
};
|
|
2083
|
-
},
|
|
2084
|
-
const t = e.target, n = t &&
|
|
2208
|
+
}, un = (e) => {
|
|
2209
|
+
const t = e.target, n = t && dn(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
2085
2210
|
return {
|
|
2086
2211
|
targetBuilderElement: i || void 0,
|
|
2087
2212
|
metadata: {
|
|
2088
|
-
targetOffset: t ?
|
|
2213
|
+
targetOffset: t ? Ce({
|
|
2089
2214
|
event: e,
|
|
2090
2215
|
target: t
|
|
2091
2216
|
}) : void 0,
|
|
2092
|
-
builderTargetOffset: n ?
|
|
2217
|
+
builderTargetOffset: n ? Ce({
|
|
2093
2218
|
event: e,
|
|
2094
2219
|
target: n
|
|
2095
2220
|
}) : void 0,
|
|
2096
2221
|
builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
|
|
2097
2222
|
}
|
|
2098
2223
|
};
|
|
2099
|
-
}, nn = "0.12.6", on = () => {
|
|
2100
|
-
Oe("insertMenu", {
|
|
2101
|
-
name: "_default",
|
|
2102
|
-
default: !0,
|
|
2103
|
-
items: [{
|
|
2104
|
-
name: "Box"
|
|
2105
|
-
}, {
|
|
2106
|
-
name: "Text"
|
|
2107
|
-
}, {
|
|
2108
|
-
name: "Image"
|
|
2109
|
-
}, {
|
|
2110
|
-
name: "Columns"
|
|
2111
|
-
}, {
|
|
2112
|
-
name: "Core:Section"
|
|
2113
|
-
}, {
|
|
2114
|
-
name: "Core:Button"
|
|
2115
|
-
}, {
|
|
2116
|
-
name: "Embed"
|
|
2117
|
-
}, {
|
|
2118
|
-
name: "Custom Code"
|
|
2119
|
-
}]
|
|
2120
|
-
});
|
|
2121
2224
|
};
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
ve || (ve = !0, V() && ((t = window.parent) == null || t.postMessage({
|
|
2126
|
-
type: "builder.sdkInfo",
|
|
2127
|
-
data: {
|
|
2128
|
-
target: $,
|
|
2129
|
-
version: nn,
|
|
2130
|
-
supportsPatchUpdates: !1,
|
|
2131
|
-
// Supports builder-model="..." attribute which is needed to
|
|
2132
|
-
// scope our '+ add block' button styling
|
|
2133
|
-
supportsAddBlockScoping: !0,
|
|
2134
|
-
supportsCustomBreakpoints: !0
|
|
2135
|
-
}
|
|
2136
|
-
}, "*"), (n = window.parent) == null || n.postMessage({
|
|
2137
|
-
type: "builder.updateContent",
|
|
2138
|
-
data: {
|
|
2139
|
-
options: e
|
|
2140
|
-
}
|
|
2141
|
-
}, "*"), window.addEventListener("message", (i) => {
|
|
2142
|
-
var a, r;
|
|
2143
|
-
if (!Ve(e.trustedHosts, i))
|
|
2144
|
-
return;
|
|
2145
|
-
const {
|
|
2146
|
-
data: o
|
|
2147
|
-
} = i;
|
|
2148
|
-
if (o != null && o.type)
|
|
2149
|
-
switch (o.type) {
|
|
2150
|
-
case "builder.evaluate": {
|
|
2151
|
-
const c = o.data.text, s = o.data.arguments || [], d = o.data.id, m = new Function(c);
|
|
2152
|
-
let g, k = null;
|
|
2153
|
-
try {
|
|
2154
|
-
g = m.apply(null, s);
|
|
2155
|
-
} catch (S) {
|
|
2156
|
-
k = S;
|
|
2157
|
-
}
|
|
2158
|
-
k ? (a = window.parent) == null || a.postMessage({
|
|
2159
|
-
type: "builder.evaluateError",
|
|
2160
|
-
data: {
|
|
2161
|
-
id: d,
|
|
2162
|
-
error: k.message
|
|
2163
|
-
}
|
|
2164
|
-
}, "*") : g && typeof g.then == "function" ? g.then((S) => {
|
|
2165
|
-
var x;
|
|
2166
|
-
(x = window.parent) == null || x.postMessage({
|
|
2167
|
-
type: "builder.evaluateResult",
|
|
2168
|
-
data: {
|
|
2169
|
-
id: d,
|
|
2170
|
-
result: S
|
|
2171
|
-
}
|
|
2172
|
-
}, "*");
|
|
2173
|
-
}).catch(console.error) : (r = window.parent) == null || r.postMessage({
|
|
2174
|
-
type: "builder.evaluateResult",
|
|
2175
|
-
data: {
|
|
2176
|
-
result: g,
|
|
2177
|
-
id: d
|
|
2178
|
-
}
|
|
2179
|
-
}, "*");
|
|
2180
|
-
break;
|
|
2181
|
-
}
|
|
2182
|
-
}
|
|
2183
|
-
})));
|
|
2184
|
-
};
|
|
2185
|
-
function rn(e) {
|
|
2186
|
-
var L, Q, G, ae, re, le, ce;
|
|
2187
|
-
const t = ee(null), [n, i] = v(() => 0);
|
|
2225
|
+
function mn(e) {
|
|
2226
|
+
var L, G, J, se, de, ue, me;
|
|
2227
|
+
const t = te(null), [n, i] = v(() => 0);
|
|
2188
2228
|
v(() => !0);
|
|
2189
|
-
function o(
|
|
2190
|
-
var
|
|
2229
|
+
function o(m) {
|
|
2230
|
+
var g, p;
|
|
2191
2231
|
const f = {
|
|
2192
2232
|
...e.builderContextSignal.rootState,
|
|
2193
|
-
...
|
|
2233
|
+
...m
|
|
2194
2234
|
};
|
|
2195
|
-
e.builderContextSignal.rootSetState ? (
|
|
2196
|
-
...
|
|
2235
|
+
e.builderContextSignal.rootSetState ? (p = (g = e.builderContextSignal).rootSetState) == null || p.call(g, f) : e.setBuilderContextSignal((I) => ({
|
|
2236
|
+
...I,
|
|
2197
2237
|
rootState: f
|
|
2198
2238
|
}));
|
|
2199
2239
|
}
|
|
2200
|
-
function a(
|
|
2201
|
-
var
|
|
2240
|
+
function a(m) {
|
|
2241
|
+
var g, p, I, A, H;
|
|
2202
2242
|
const f = {
|
|
2203
2243
|
...e.builderContextSignal.content,
|
|
2204
|
-
...
|
|
2244
|
+
...m,
|
|
2205
2245
|
data: {
|
|
2206
|
-
...(
|
|
2207
|
-
...
|
|
2246
|
+
...(g = e.builderContextSignal.content) == null ? void 0 : g.data,
|
|
2247
|
+
...m == null ? void 0 : m.data
|
|
2208
2248
|
},
|
|
2209
2249
|
meta: {
|
|
2210
|
-
...(
|
|
2211
|
-
...
|
|
2212
|
-
breakpoints: ((
|
|
2250
|
+
...(p = e.builderContextSignal.content) == null ? void 0 : p.meta,
|
|
2251
|
+
...m == null ? void 0 : m.meta,
|
|
2252
|
+
breakpoints: ((I = m == null ? void 0 : m.meta) == null ? void 0 : I.breakpoints) || ((H = (A = e.builderContextSignal.content) == null ? void 0 : A.meta) == null ? void 0 : H.breakpoints)
|
|
2213
2253
|
}
|
|
2214
2254
|
};
|
|
2215
|
-
e.setBuilderContextSignal((
|
|
2216
|
-
...
|
|
2255
|
+
e.setBuilderContextSignal((Oe) => ({
|
|
2256
|
+
...Oe,
|
|
2217
2257
|
content: f
|
|
2218
2258
|
}));
|
|
2219
2259
|
}
|
|
@@ -2223,64 +2263,62 @@ function rn(e) {
|
|
|
2223
2263
|
), [s, d] = v(
|
|
2224
2264
|
() => e.contentWrapper || "div"
|
|
2225
2265
|
);
|
|
2226
|
-
function m
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
if (!T || T !== ((b = e.builderContextSignal.content) == null ? void 0 : b.id))
|
|
2236
|
-
return;
|
|
2237
|
-
p && a({
|
|
2266
|
+
function u(m) {
|
|
2267
|
+
return Ue({
|
|
2268
|
+
model: e.model,
|
|
2269
|
+
trustedHosts: e.trustedHosts,
|
|
2270
|
+
callbacks: {
|
|
2271
|
+
configureSdk: (f) => {
|
|
2272
|
+
var I;
|
|
2273
|
+
const { breakpoints: g, contentId: p } = f;
|
|
2274
|
+
!p || p !== ((I = e.builderContextSignal.content) == null ? void 0 : I.id) || g && (a({
|
|
2238
2275
|
meta: {
|
|
2239
|
-
breakpoints:
|
|
2276
|
+
breakpoints: g
|
|
2240
2277
|
}
|
|
2241
|
-
}), i(n + 1);
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2278
|
+
}), i(n + 1));
|
|
2279
|
+
},
|
|
2280
|
+
animation: (f) => {
|
|
2281
|
+
Pe(f);
|
|
2282
|
+
},
|
|
2283
|
+
contentUpdate: (f) => {
|
|
2284
|
+
a(f), i(n + 1);
|
|
2248
2285
|
}
|
|
2249
2286
|
}
|
|
2287
|
+
})(m);
|
|
2250
2288
|
}
|
|
2251
|
-
function
|
|
2252
|
-
var f,
|
|
2253
|
-
const
|
|
2254
|
-
|
|
2255
|
-
code:
|
|
2289
|
+
function b() {
|
|
2290
|
+
var f, g;
|
|
2291
|
+
const m = (g = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : g.jsCode;
|
|
2292
|
+
m && j({
|
|
2293
|
+
code: m,
|
|
2256
2294
|
context: e.context || {},
|
|
2257
2295
|
localState: void 0,
|
|
2258
2296
|
rootState: e.builderContextSignal.rootState,
|
|
2259
2297
|
rootSetState: e.builderContextSignal.rootSetState
|
|
2260
2298
|
});
|
|
2261
2299
|
}
|
|
2262
|
-
const [k, S] = v(() => ({})), [
|
|
2263
|
-
function R(
|
|
2264
|
-
var f,
|
|
2300
|
+
const [k, S] = v(() => ({})), [y, x] = v(() => !1);
|
|
2301
|
+
function R(m) {
|
|
2302
|
+
var f, g;
|
|
2265
2303
|
if (e.builderContextSignal.content) {
|
|
2266
|
-
const
|
|
2267
|
-
|
|
2304
|
+
const p = (f = e.builderContextSignal.content) == null ? void 0 : f.testVariationId, I = (g = e.builderContextSignal.content) == null ? void 0 : g.id;
|
|
2305
|
+
he({
|
|
2268
2306
|
type: "click",
|
|
2269
|
-
canTrack:
|
|
2270
|
-
contentId:
|
|
2307
|
+
canTrack: K(e.canTrack),
|
|
2308
|
+
contentId: I,
|
|
2271
2309
|
apiKey: e.apiKey,
|
|
2272
|
-
variationId:
|
|
2273
|
-
...
|
|
2274
|
-
unique: !
|
|
2310
|
+
variationId: p !== I ? p : void 0,
|
|
2311
|
+
...un(m),
|
|
2312
|
+
unique: !y
|
|
2275
2313
|
});
|
|
2276
2314
|
}
|
|
2277
|
-
|
|
2315
|
+
y || x(!0);
|
|
2278
2316
|
}
|
|
2279
|
-
function
|
|
2280
|
-
return
|
|
2317
|
+
function P(m) {
|
|
2318
|
+
return m.replace(
|
|
2281
2319
|
/{{([^}]+)}}/g,
|
|
2282
|
-
(f,
|
|
2283
|
-
code:
|
|
2320
|
+
(f, g) => j({
|
|
2321
|
+
code: g,
|
|
2284
2322
|
context: e.context || {},
|
|
2285
2323
|
localState: void 0,
|
|
2286
2324
|
rootState: e.builderContextSignal.rootState,
|
|
@@ -2288,38 +2326,38 @@ function rn(e) {
|
|
|
2288
2326
|
})
|
|
2289
2327
|
);
|
|
2290
2328
|
}
|
|
2291
|
-
function
|
|
2292
|
-
|
|
2293
|
-
var
|
|
2294
|
-
const
|
|
2329
|
+
function C({ url: m, key: f }) {
|
|
2330
|
+
qe(m).then((g) => g.json()).then((g) => {
|
|
2331
|
+
var I, A;
|
|
2332
|
+
const p = {
|
|
2295
2333
|
...e.builderContextSignal.rootState,
|
|
2296
|
-
[f]:
|
|
2334
|
+
[f]: g
|
|
2297
2335
|
};
|
|
2298
|
-
(
|
|
2299
|
-
}).catch((
|
|
2300
|
-
console.error("error fetching dynamic data",
|
|
2336
|
+
(A = (I = e.builderContextSignal).rootSetState) == null || A.call(I, p), k[f] = !0;
|
|
2337
|
+
}).catch((g) => {
|
|
2338
|
+
console.error("error fetching dynamic data", m, g);
|
|
2301
2339
|
});
|
|
2302
2340
|
}
|
|
2303
|
-
function
|
|
2304
|
-
var f,
|
|
2305
|
-
const
|
|
2306
|
-
Object.entries(
|
|
2307
|
-
if (
|
|
2308
|
-
const
|
|
2309
|
-
|
|
2310
|
-
url:
|
|
2311
|
-
key:
|
|
2341
|
+
function w() {
|
|
2342
|
+
var f, g, p;
|
|
2343
|
+
const m = (p = (g = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : g.httpRequests) != null ? p : {};
|
|
2344
|
+
Object.entries(m).forEach(([I, A]) => {
|
|
2345
|
+
if (A && (!k[I] || $())) {
|
|
2346
|
+
const H = P(A);
|
|
2347
|
+
C({
|
|
2348
|
+
url: H,
|
|
2349
|
+
key: I
|
|
2312
2350
|
});
|
|
2313
2351
|
}
|
|
2314
2352
|
});
|
|
2315
2353
|
}
|
|
2316
|
-
function
|
|
2317
|
-
|
|
2354
|
+
function E() {
|
|
2355
|
+
$() && window.dispatchEvent(
|
|
2318
2356
|
new CustomEvent(
|
|
2319
2357
|
"builder:component:stateChange",
|
|
2320
2358
|
{
|
|
2321
2359
|
detail: {
|
|
2322
|
-
state:
|
|
2360
|
+
state: ne(e.builderContextSignal.rootState),
|
|
2323
2361
|
ref: {
|
|
2324
2362
|
name: e.model
|
|
2325
2363
|
}
|
|
@@ -2328,8 +2366,8 @@ function rn(e) {
|
|
|
2328
2366
|
)
|
|
2329
2367
|
);
|
|
2330
2368
|
}
|
|
2331
|
-
function
|
|
2332
|
-
i(n + 1), window.addEventListener("message",
|
|
2369
|
+
function B(m) {
|
|
2370
|
+
i(n + 1), window.addEventListener("message", u), Me(), Ke({
|
|
2333
2371
|
...e.locale ? {
|
|
2334
2372
|
locale: e.locale
|
|
2335
2373
|
} : {},
|
|
@@ -2345,41 +2383,41 @@ function rn(e) {
|
|
|
2345
2383
|
}), Object.values(
|
|
2346
2384
|
e.builderContextSignal.componentInfos
|
|
2347
2385
|
).forEach((f) => {
|
|
2348
|
-
var
|
|
2349
|
-
const
|
|
2350
|
-
(
|
|
2386
|
+
var p;
|
|
2387
|
+
const g = ze(f);
|
|
2388
|
+
(p = window.parent) == null || p.postMessage(g, "*");
|
|
2351
2389
|
}), window.addEventListener(
|
|
2352
2390
|
"builder:component:stateChangeListenerActivated",
|
|
2353
|
-
|
|
2391
|
+
E
|
|
2354
2392
|
);
|
|
2355
2393
|
}
|
|
2356
|
-
function F(
|
|
2357
|
-
const f = new URL(location.href).searchParams,
|
|
2358
|
-
`builder.preview.${
|
|
2359
|
-
),
|
|
2360
|
-
|
|
2394
|
+
function F(m) {
|
|
2395
|
+
const f = new URL(location.href).searchParams, g = f.get("builder.preview"), p = f.get(
|
|
2396
|
+
`builder.preview.${g}`
|
|
2397
|
+
), I = f.get("apiKey") || f.get("builder.space");
|
|
2398
|
+
g === e.model && I === e.apiKey && (!e.content || p === e.content.id) && Te({
|
|
2361
2399
|
model: e.model,
|
|
2362
2400
|
apiKey: e.apiKey,
|
|
2363
2401
|
apiVersion: e.builderContextSignal.apiVersion
|
|
2364
|
-
}).then((
|
|
2365
|
-
|
|
2402
|
+
}).then((A) => {
|
|
2403
|
+
A && a(A);
|
|
2366
2404
|
});
|
|
2367
2405
|
}
|
|
2368
|
-
return
|
|
2369
|
-
var
|
|
2370
|
-
return (
|
|
2406
|
+
return T(() => {
|
|
2407
|
+
var m;
|
|
2408
|
+
return (m = t.current) == null || m.addEventListener(
|
|
2371
2409
|
"initeditingbldr",
|
|
2372
|
-
|
|
2410
|
+
B
|
|
2373
2411
|
), () => {
|
|
2374
2412
|
var f;
|
|
2375
2413
|
return (f = t.current) == null ? void 0 : f.removeEventListener(
|
|
2376
2414
|
"initeditingbldr",
|
|
2377
|
-
|
|
2415
|
+
B
|
|
2378
2416
|
);
|
|
2379
2417
|
};
|
|
2380
|
-
}, []),
|
|
2381
|
-
var
|
|
2382
|
-
return (
|
|
2418
|
+
}, []), T(() => {
|
|
2419
|
+
var m;
|
|
2420
|
+
return (m = t.current) == null || m.addEventListener(
|
|
2383
2421
|
"initpreviewingbldr",
|
|
2384
2422
|
F
|
|
2385
2423
|
), () => {
|
|
@@ -2389,64 +2427,64 @@ function rn(e) {
|
|
|
2389
2427
|
F
|
|
2390
2428
|
);
|
|
2391
2429
|
};
|
|
2392
|
-
}, []),
|
|
2393
|
-
var
|
|
2430
|
+
}, []), T(() => {
|
|
2431
|
+
var m, f;
|
|
2394
2432
|
if (V()) {
|
|
2395
|
-
if (
|
|
2396
|
-
const
|
|
2397
|
-
|
|
2433
|
+
if ($() && t.current && t.current.dispatchEvent(new CustomEvent("initeditingbldr")), e.builderContextSignal.content && K(e.canTrack)) {
|
|
2434
|
+
const p = (m = e.builderContextSignal.content) == null ? void 0 : m.testVariationId, I = (f = e.builderContextSignal.content) == null ? void 0 : f.id, A = e.apiKey;
|
|
2435
|
+
he({
|
|
2398
2436
|
type: "impression",
|
|
2399
2437
|
canTrack: !0,
|
|
2400
|
-
contentId:
|
|
2401
|
-
apiKey:
|
|
2402
|
-
variationId:
|
|
2438
|
+
contentId: I,
|
|
2439
|
+
apiKey: A,
|
|
2440
|
+
variationId: p !== I ? p : void 0
|
|
2403
2441
|
});
|
|
2404
2442
|
}
|
|
2405
|
-
|
|
2443
|
+
He() && t.current && t.current.dispatchEvent(new CustomEvent("initpreviewingbldr"));
|
|
2406
2444
|
}
|
|
2407
|
-
}, []),
|
|
2408
|
-
e.apiKey ||
|
|
2445
|
+
}, []), T(() => {
|
|
2446
|
+
e.apiKey || D.error(
|
|
2409
2447
|
"No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
2410
|
-
),
|
|
2411
|
-
}, []),
|
|
2448
|
+
), b(), w(), E();
|
|
2449
|
+
}, []), T(() => {
|
|
2412
2450
|
e.content && a(e.content);
|
|
2413
|
-
}, [e.content]),
|
|
2414
|
-
}, [r]),
|
|
2415
|
-
|
|
2416
|
-
}, [(
|
|
2417
|
-
|
|
2418
|
-
}, [(
|
|
2419
|
-
|
|
2420
|
-
}, [e.builderContextSignal.rootState]),
|
|
2451
|
+
}, [e.content]), T(() => {
|
|
2452
|
+
}, [r]), T(() => {
|
|
2453
|
+
b();
|
|
2454
|
+
}, [(G = (L = e.builderContextSignal.content) == null ? void 0 : L.data) == null ? void 0 : G.jsCode]), T(() => {
|
|
2455
|
+
w();
|
|
2456
|
+
}, [(se = (J = e.builderContextSignal.content) == null ? void 0 : J.data) == null ? void 0 : se.httpRequests]), T(() => {
|
|
2457
|
+
E();
|
|
2458
|
+
}, [e.builderContextSignal.rootState]), T(() => {
|
|
2421
2459
|
e.data && o(e.data);
|
|
2422
|
-
}, [e.data]),
|
|
2460
|
+
}, [e.data]), T(() => {
|
|
2423
2461
|
e.locale && o({
|
|
2424
2462
|
locale: e.locale
|
|
2425
2463
|
});
|
|
2426
|
-
}, [e.locale]),
|
|
2427
|
-
V() && (window.removeEventListener("message",
|
|
2464
|
+
}, [e.locale]), T(() => () => {
|
|
2465
|
+
V() && (window.removeEventListener("message", u), window.removeEventListener(
|
|
2428
2466
|
"builder:component:stateChangeListenerActivated",
|
|
2429
|
-
|
|
2467
|
+
E
|
|
2430
2468
|
));
|
|
2431
|
-
}, []), /* @__PURE__ */ l(
|
|
2469
|
+
}, []), /* @__PURE__ */ l(oe.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ je(
|
|
2432
2470
|
s,
|
|
2433
2471
|
{
|
|
2434
2472
|
key: n,
|
|
2435
2473
|
ref: t,
|
|
2436
|
-
onClick: (
|
|
2437
|
-
"builder-content-id": (
|
|
2474
|
+
onClick: (m) => R(m),
|
|
2475
|
+
"builder-content-id": (de = e.builderContextSignal.content) == null ? void 0 : de.id,
|
|
2438
2476
|
"builder-model": e.model,
|
|
2439
2477
|
...e.showContent ? {} : {
|
|
2440
2478
|
hidden: !0,
|
|
2441
2479
|
"aria-hidden": !0
|
|
2442
2480
|
},
|
|
2443
2481
|
...e.contentWrapperProps,
|
|
2444
|
-
className: `variant-${((
|
|
2482
|
+
className: `variant-${((ue = e.content) == null ? void 0 : ue.testVariationId) || ((me = e.content) == null ? void 0 : me.id)}`
|
|
2445
2483
|
},
|
|
2446
2484
|
e.children
|
|
2447
2485
|
) }) : null });
|
|
2448
2486
|
}
|
|
2449
|
-
const
|
|
2487
|
+
const fn = (e) => {
|
|
2450
2488
|
var a, r;
|
|
2451
2489
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (r = e.fileUrl) != null ? r : (a = e == null ? void 0 : e.files) == null ? void 0 : a.regular;
|
|
2452
2490
|
let o = "";
|
|
@@ -2472,23 +2510,23 @@ font-weight: ${c};
|
|
|
2472
2510
|
`.trim());
|
|
2473
2511
|
}
|
|
2474
2512
|
return o;
|
|
2475
|
-
},
|
|
2513
|
+
}, hn = ({
|
|
2476
2514
|
customFonts: e
|
|
2477
2515
|
}) => {
|
|
2478
2516
|
var t;
|
|
2479
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
2480
|
-
},
|
|
2517
|
+
return ((t = e == null ? void 0 : e.map((n) => fn(n))) == null ? void 0 : t.join(" ")) || "";
|
|
2518
|
+
}, gn = ({
|
|
2481
2519
|
cssCode: e,
|
|
2482
2520
|
contentId: t
|
|
2483
2521
|
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
|
|
2484
|
-
function
|
|
2522
|
+
function bn(e) {
|
|
2485
2523
|
const [t, n] = v(
|
|
2486
2524
|
() => `
|
|
2487
|
-
${
|
|
2525
|
+
${gn({
|
|
2488
2526
|
cssCode: e.cssCode,
|
|
2489
2527
|
contentId: e.contentId
|
|
2490
2528
|
})}
|
|
2491
|
-
${
|
|
2529
|
+
${hn({
|
|
2492
2530
|
customFonts: e.customFonts
|
|
2493
2531
|
})}
|
|
2494
2532
|
|
|
@@ -2510,9 +2548,9 @@ ${cn({
|
|
|
2510
2548
|
}
|
|
2511
2549
|
`.trim()
|
|
2512
2550
|
);
|
|
2513
|
-
return /* @__PURE__ */ l(
|
|
2551
|
+
return /* @__PURE__ */ l(q, { styles: t });
|
|
2514
2552
|
}
|
|
2515
|
-
const
|
|
2553
|
+
const yn = ({
|
|
2516
2554
|
content: e,
|
|
2517
2555
|
data: t,
|
|
2518
2556
|
locale: n
|
|
@@ -2529,7 +2567,7 @@ const un = ({
|
|
|
2529
2567
|
locale: n
|
|
2530
2568
|
} : {}
|
|
2531
2569
|
};
|
|
2532
|
-
},
|
|
2570
|
+
}, Sn = ({
|
|
2533
2571
|
content: e,
|
|
2534
2572
|
data: t
|
|
2535
2573
|
}) => e ? {
|
|
@@ -2540,52 +2578,52 @@ const un = ({
|
|
|
2540
2578
|
},
|
|
2541
2579
|
meta: e == null ? void 0 : e.meta
|
|
2542
2580
|
} : void 0;
|
|
2543
|
-
function
|
|
2544
|
-
var s, d,
|
|
2581
|
+
function we(e) {
|
|
2582
|
+
var s, d, u, b, k, S, y;
|
|
2545
2583
|
const [t, n] = v(
|
|
2546
2584
|
() => {
|
|
2547
|
-
var
|
|
2548
|
-
return
|
|
2585
|
+
var x, R;
|
|
2586
|
+
return cn({
|
|
2549
2587
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
2550
|
-
variationId: (
|
|
2588
|
+
variationId: (x = e.content) == null ? void 0 : x.testVariationId,
|
|
2551
2589
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
2552
2590
|
contentId: (R = e.content) == null ? void 0 : R.id
|
|
2553
2591
|
});
|
|
2554
2592
|
}
|
|
2555
2593
|
);
|
|
2556
|
-
function i(
|
|
2594
|
+
function i(x) {
|
|
2557
2595
|
c((R) => ({
|
|
2558
2596
|
...R,
|
|
2559
|
-
rootState:
|
|
2597
|
+
rootState: x
|
|
2560
2598
|
}));
|
|
2561
2599
|
}
|
|
2562
2600
|
const [o, a] = v(
|
|
2563
2601
|
() => [
|
|
2564
|
-
...
|
|
2602
|
+
...pe(),
|
|
2565
2603
|
// While this `components` object is deprecated, we must maintain support for it.
|
|
2566
2604
|
// Since users are able to override our default components, we need to make sure that we do not break such
|
|
2567
2605
|
// existing usage.
|
|
2568
2606
|
// This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
|
|
2569
2607
|
// which is the new standard way of providing custom components, and must therefore take precedence.
|
|
2570
|
-
...
|
|
2608
|
+
...ge,
|
|
2571
2609
|
...e.customComponents || []
|
|
2572
2610
|
].reduce(
|
|
2573
|
-
(
|
|
2574
|
-
...
|
|
2575
|
-
[
|
|
2611
|
+
(x, { component: R, ...P }) => ({
|
|
2612
|
+
...x,
|
|
2613
|
+
[P.name]: {
|
|
2576
2614
|
component: R,
|
|
2577
|
-
...
|
|
2615
|
+
...be(P)
|
|
2578
2616
|
}
|
|
2579
2617
|
}),
|
|
2580
2618
|
{}
|
|
2581
2619
|
)
|
|
2582
2620
|
), [r, c] = v(() => ({
|
|
2583
|
-
content:
|
|
2621
|
+
content: Sn({
|
|
2584
2622
|
content: e.content,
|
|
2585
2623
|
data: e.data
|
|
2586
2624
|
}),
|
|
2587
2625
|
localState: void 0,
|
|
2588
|
-
rootState:
|
|
2626
|
+
rootState: yn({
|
|
2589
2627
|
content: e.content,
|
|
2590
2628
|
data: e.data,
|
|
2591
2629
|
locale: e.locale
|
|
@@ -2595,18 +2633,18 @@ function ke(e) {
|
|
|
2595
2633
|
apiKey: e.apiKey,
|
|
2596
2634
|
apiVersion: e.apiVersion,
|
|
2597
2635
|
componentInfos: [
|
|
2598
|
-
...
|
|
2636
|
+
...pe(),
|
|
2599
2637
|
// While this `components` object is deprecated, we must maintain support for it.
|
|
2600
2638
|
// Since users are able to override our default components, we need to make sure that we do not break such
|
|
2601
2639
|
// existing usage.
|
|
2602
2640
|
// This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
|
|
2603
2641
|
// which is the new standard way of providing custom components, and must therefore take precedence.
|
|
2604
|
-
...
|
|
2642
|
+
...ge,
|
|
2605
2643
|
...e.customComponents || []
|
|
2606
2644
|
].reduce(
|
|
2607
|
-
(
|
|
2608
|
-
...
|
|
2609
|
-
[
|
|
2645
|
+
(x, { component: R, ...P }) => ({
|
|
2646
|
+
...x,
|
|
2647
|
+
[P.name]: be(P)
|
|
2610
2648
|
}),
|
|
2611
2649
|
{}
|
|
2612
2650
|
),
|
|
@@ -2615,13 +2653,13 @@ function ke(e) {
|
|
|
2615
2653
|
BlocksWrapperProps: e.blocksWrapperProps || {}
|
|
2616
2654
|
}));
|
|
2617
2655
|
return /* @__PURE__ */ l(
|
|
2618
|
-
|
|
2656
|
+
Re.Provider,
|
|
2619
2657
|
{
|
|
2620
2658
|
value: {
|
|
2621
2659
|
registeredComponents: o
|
|
2622
2660
|
},
|
|
2623
|
-
children: /* @__PURE__ */
|
|
2624
|
-
|
|
2661
|
+
children: /* @__PURE__ */ W(
|
|
2662
|
+
mn,
|
|
2625
2663
|
{
|
|
2626
2664
|
content: e.content,
|
|
2627
2665
|
data: e.data,
|
|
@@ -2640,19 +2678,19 @@ function ke(e) {
|
|
|
2640
2678
|
trustedHosts: e.trustedHosts,
|
|
2641
2679
|
setBuilderContextSignal: c,
|
|
2642
2680
|
children: [
|
|
2643
|
-
e.isSsrAbTest ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
|
|
2681
|
+
e.isSsrAbTest ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(ee, { scriptStr: t }) }) : null,
|
|
2644
2682
|
/* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
|
|
2645
|
-
|
|
2683
|
+
bn,
|
|
2646
2684
|
{
|
|
2647
2685
|
contentId: (s = r.content) == null ? void 0 : s.id,
|
|
2648
|
-
cssCode: (
|
|
2649
|
-
customFonts: (k = (
|
|
2686
|
+
cssCode: (u = (d = r.content) == null ? void 0 : d.data) == null ? void 0 : u.cssCode,
|
|
2687
|
+
customFonts: (k = (b = r.content) == null ? void 0 : b.data) == null ? void 0 : k.customFonts
|
|
2650
2688
|
}
|
|
2651
2689
|
) }),
|
|
2652
2690
|
/* @__PURE__ */ l(
|
|
2653
|
-
|
|
2691
|
+
Q,
|
|
2654
2692
|
{
|
|
2655
|
-
blocks: (
|
|
2693
|
+
blocks: (y = (S = r.content) == null ? void 0 : S.data) == null ? void 0 : y.blocks,
|
|
2656
2694
|
context: r,
|
|
2657
2695
|
registeredComponents: o,
|
|
2658
2696
|
linkComponent: e.linkComponent
|
|
@@ -2664,17 +2702,17 @@ function ke(e) {
|
|
|
2664
2702
|
}
|
|
2665
2703
|
);
|
|
2666
2704
|
}
|
|
2667
|
-
function
|
|
2705
|
+
function De(e) {
|
|
2668
2706
|
var r, c;
|
|
2669
2707
|
const [t, n] = v(
|
|
2670
|
-
() =>
|
|
2671
|
-
canTrack:
|
|
2708
|
+
() => on({
|
|
2709
|
+
canTrack: K(e.canTrack),
|
|
2672
2710
|
content: e.content
|
|
2673
2711
|
})
|
|
2674
2712
|
);
|
|
2675
2713
|
function i() {
|
|
2676
2714
|
var s;
|
|
2677
|
-
return
|
|
2715
|
+
return ln(
|
|
2678
2716
|
U(e.content).map((d) => ({
|
|
2679
2717
|
id: d.testVariationId,
|
|
2680
2718
|
testRatio: d.testRatio
|
|
@@ -2690,25 +2728,25 @@ function $e(e) {
|
|
|
2690
2728
|
return t ? {
|
|
2691
2729
|
...e.content,
|
|
2692
2730
|
testVariationId: (s = e.content) == null ? void 0 : s.id
|
|
2693
|
-
} :
|
|
2731
|
+
} : Ye({
|
|
2694
2732
|
item: e.content,
|
|
2695
|
-
canTrack:
|
|
2733
|
+
canTrack: K(e.canTrack)
|
|
2696
2734
|
});
|
|
2697
2735
|
}
|
|
2698
|
-
return
|
|
2699
|
-
}, []), /* @__PURE__ */
|
|
2700
|
-
!e.__isNestedRender &&
|
|
2701
|
-
t ? /* @__PURE__ */
|
|
2736
|
+
return T(() => {
|
|
2737
|
+
}, []), /* @__PURE__ */ W(h, { children: [
|
|
2738
|
+
!e.__isNestedRender && _ !== "reactNative" ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(ee, { scriptStr: rn() }) }) : null,
|
|
2739
|
+
t ? /* @__PURE__ */ W(h, { children: [
|
|
2702
2740
|
/* @__PURE__ */ l(
|
|
2703
|
-
|
|
2741
|
+
q,
|
|
2704
2742
|
{
|
|
2705
2743
|
id: `variants-styles-${(r = e.content) == null ? void 0 : r.id}`,
|
|
2706
2744
|
styles: o()
|
|
2707
2745
|
}
|
|
2708
2746
|
),
|
|
2709
|
-
/* @__PURE__ */ l(
|
|
2747
|
+
/* @__PURE__ */ l(ee, { scriptStr: i() }),
|
|
2710
2748
|
(c = U(e.content)) == null ? void 0 : c.map((s) => /* @__PURE__ */ l(
|
|
2711
|
-
|
|
2749
|
+
we,
|
|
2712
2750
|
{
|
|
2713
2751
|
content: s,
|
|
2714
2752
|
showContent: !1,
|
|
@@ -2734,7 +2772,7 @@ function $e(e) {
|
|
|
2734
2772
|
))
|
|
2735
2773
|
] }) : null,
|
|
2736
2774
|
/* @__PURE__ */ l(
|
|
2737
|
-
|
|
2775
|
+
we,
|
|
2738
2776
|
{
|
|
2739
2777
|
content: a(),
|
|
2740
2778
|
showContent: !0,
|
|
@@ -2759,13 +2797,13 @@ function $e(e) {
|
|
|
2759
2797
|
)
|
|
2760
2798
|
] });
|
|
2761
2799
|
}
|
|
2762
|
-
const
|
|
2800
|
+
const xn = async ({
|
|
2763
2801
|
builderContextValue: e,
|
|
2764
2802
|
symbol: t
|
|
2765
2803
|
}) => {
|
|
2766
2804
|
if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
|
|
2767
2805
|
(e != null && e.apiKey))
|
|
2768
|
-
return
|
|
2806
|
+
return Te({
|
|
2769
2807
|
model: t.model,
|
|
2770
2808
|
apiKey: e.apiKey,
|
|
2771
2809
|
apiVersion: e.apiVersion,
|
|
@@ -2775,18 +2813,18 @@ const fn = async ({
|
|
|
2775
2813
|
}
|
|
2776
2814
|
}
|
|
2777
2815
|
}).catch((n) => {
|
|
2778
|
-
|
|
2816
|
+
D.error("Could not fetch symbol content: ", n);
|
|
2779
2817
|
});
|
|
2780
2818
|
};
|
|
2781
|
-
function
|
|
2819
|
+
function vn(e) {
|
|
2782
2820
|
var a, r, c, s;
|
|
2783
2821
|
function t() {
|
|
2784
|
-
var d,
|
|
2822
|
+
var d, u;
|
|
2785
2823
|
return [
|
|
2786
2824
|
e.attributes[O()],
|
|
2787
2825
|
"builder-symbol",
|
|
2788
2826
|
(d = e.symbol) != null && d.inline ? "builder-inline-symbol" : void 0,
|
|
2789
|
-
(
|
|
2827
|
+
(u = e.symbol) != null && u.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
|
|
2790
2828
|
].filter(Boolean).join(" ");
|
|
2791
2829
|
}
|
|
2792
2830
|
const [n, i] = v(() => {
|
|
@@ -2794,18 +2832,18 @@ function hn(e) {
|
|
|
2794
2832
|
return (d = e.symbol) == null ? void 0 : d.content;
|
|
2795
2833
|
});
|
|
2796
2834
|
function o() {
|
|
2797
|
-
n ||
|
|
2835
|
+
n || xn({
|
|
2798
2836
|
symbol: e.symbol,
|
|
2799
2837
|
builderContextValue: e.builderContext
|
|
2800
2838
|
}).then((d) => {
|
|
2801
2839
|
d && i(d);
|
|
2802
2840
|
});
|
|
2803
2841
|
}
|
|
2804
|
-
return
|
|
2805
|
-
}, []),
|
|
2842
|
+
return T(() => {
|
|
2843
|
+
}, []), T(() => {
|
|
2806
2844
|
o();
|
|
2807
2845
|
}, [e.symbol]), /* @__PURE__ */ l("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ l(
|
|
2808
|
-
|
|
2846
|
+
De,
|
|
2809
2847
|
{
|
|
2810
2848
|
__isNestedRender: !0,
|
|
2811
2849
|
apiVersion: e.builderContext.apiVersion,
|
|
@@ -2826,31 +2864,32 @@ function hn(e) {
|
|
|
2826
2864
|
}
|
|
2827
2865
|
) });
|
|
2828
2866
|
}
|
|
2829
|
-
const
|
|
2867
|
+
const wn = Q, In = De;
|
|
2830
2868
|
export {
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2869
|
+
Q as Blocks,
|
|
2870
|
+
Je as Button,
|
|
2871
|
+
Pt as Columns,
|
|
2872
|
+
De as Content,
|
|
2873
|
+
At as Fragment,
|
|
2874
|
+
$t as Image,
|
|
2875
|
+
wn as RenderBlocks,
|
|
2876
|
+
In as RenderContent,
|
|
2877
|
+
Nt as Section,
|
|
2878
|
+
vn as Symbol,
|
|
2879
|
+
Xt as Text,
|
|
2880
|
+
en as Video,
|
|
2881
|
+
En as _processContentResult,
|
|
2882
|
+
ze as createRegisterComponentMessage,
|
|
2883
|
+
Pn as fetchBuilderProps,
|
|
2884
|
+
An as fetchEntries,
|
|
2885
|
+
Te as fetchOneEntry,
|
|
2886
|
+
Bn as getAllContent,
|
|
2887
|
+
Wn as getBuilderSearchParams,
|
|
2888
|
+
$n as getContent,
|
|
2889
|
+
$ as isEditing,
|
|
2890
|
+
He as isPreviewing,
|
|
2891
|
+
Nn as register,
|
|
2892
|
+
Vn as setEditorSettings,
|
|
2893
|
+
Fn as subscribeToEditor,
|
|
2894
|
+
Ln as track
|
|
2856
2895
|
};
|