@builder.io/sdk-react 4.0.10 → 4.1.0
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 +9 -9
- package/lib/browser/blocks-exports.mjs +51 -45
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/server-entry-9ed7eace.cjs +2 -0
- package/lib/browser/{server-entry-a97b474c.js → server-entry-cddec22e.js} +1 -1
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/{accordion-f19408f1.cjs → accordion-59aed902.cjs} +1 -1
- package/lib/edge/{accordion-39aaa10f.js → accordion-88f5ca79.js} +1 -1
- package/lib/edge/{blocks-204bcb03.js → blocks-1bfa0619.js} +2 -2
- package/lib/edge/{blocks-bd4d19a4.cjs → blocks-e5610e53.cjs} +1 -1
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-eb4a1fce.js → button-cfcad5ee.js} +2 -2
- package/lib/edge/{button-39adadab.cjs → button-d4969c10.cjs} +1 -1
- package/lib/edge/{columns-3954e4e2.cjs → columns-4c22f5f9.cjs} +1 -1
- package/lib/edge/{columns-d3cef236.js → columns-840b77f4.js} +3 -3
- package/lib/edge/{content-variants-68bbb30c.js → content-variants-5b95a71c.js} +12 -12
- package/lib/edge/{content-variants-0c41aa3b.cjs → content-variants-9084d7cf.cjs} +2 -2
- package/lib/edge/{custom-code-f8374f7b.js → custom-code-c12691cc.js} +1 -1
- package/lib/edge/{custom-code-eded3b35.cjs → custom-code-f0f3bef1.cjs} +1 -1
- package/lib/edge/{embed-2b4ce9d5.js → embed-46acac57.js} +1 -1
- package/lib/edge/{embed-44dee332.cjs → embed-95c874d3.cjs} +1 -1
- package/lib/edge/{form-9faf63c9.js → form-49928227.js} +3 -3
- package/lib/edge/{form-1493caf1.cjs → form-e74d90ef.cjs} +1 -1
- package/lib/edge/{get-class-prop-name-a9265175.cjs → get-class-prop-name-5d642918.cjs} +1 -1
- package/lib/edge/{get-class-prop-name-cc48fc17.js → get-class-prop-name-de337a1b.js} +1 -1
- package/lib/edge/image-209835f4.js +94 -0
- package/lib/edge/image-87a4e006.cjs +17 -0
- package/lib/edge/image.helpers-3e926d47.js +33 -0
- package/lib/edge/image.helpers-dba8a869.cjs +1 -0
- package/lib/edge/img-0fe56811.cjs +1 -0
- package/lib/edge/img-a0115c68.js +27 -0
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{input-a7c01b3a.js → input-2a39a1a8.js} +1 -1
- package/lib/edge/{input-d988f887.cjs → input-4f2e451f.cjs} +1 -1
- package/lib/edge/{personalization-container-2f2bfa1b.cjs → personalization-container-9ddd7a55.cjs} +1 -1
- package/lib/edge/{personalization-container-9ae00624.js → personalization-container-d477347e.js} +4 -4
- package/lib/edge/{select-03b307f2.cjs → select-b5449eba.cjs} +1 -1
- package/lib/edge/{select-4f03decc.js → select-d1902b94.js} +1 -1
- package/lib/edge/{server-entry-0fe1fd76.js → server-entry-50618347.js} +1 -1
- package/lib/edge/{server-entry-e13b9b35.cjs → server-entry-a24928b8.cjs} +1 -1
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-125b0593.cjs → slot-e2f8c494.cjs} +1 -1
- package/lib/edge/{slot-ff90c844.js → slot-f37576fc.js} +3 -3
- package/lib/edge/{symbol-da3ec542.cjs → symbol-8424cd54.cjs} +1 -1
- package/lib/edge/{symbol-7558aa24.js → symbol-a34eea2a.js} +2 -2
- package/lib/edge/{tabs-a9e56d82.js → tabs-b97f9798.js} +3 -3
- package/lib/edge/{tabs-3cf7cfd3.cjs → tabs-e686d11f.cjs} +1 -1
- package/lib/node/blocks-exports.cjs +9 -9
- package/lib/node/blocks-exports.mjs +274 -268
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +3 -3
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +3 -3
- package/lib/node/{server-entry-23f9b44b.js → server-entry-1556528d.js} +1 -1
- package/lib/node/server-entry-ecee24b6.cjs +2 -0
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/lib/node/{setIvm-b29cbc40.js → setIvm-15c96eda.js} +1 -1
- package/lib/node/{setIvm-71bce8c3.cjs → setIvm-432010ba.cjs} +1 -1
- package/lib/node/setIvm.cjs +1 -1
- package/lib/node/setIvm.mjs +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-e0147364.cjs → should-force-browser-runtime-in-node-4128d124.cjs} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-5a2ea9eb.js → should-force-browser-runtime-in-node-d0bca779.js} +1 -1
- package/package.json +1 -1
- package/types/constants/sdk-version.d.ts +1 -1
- package/lib/browser/server-entry-6a0d3985.cjs +0 -2
- package/lib/edge/image-cce92f6c.cjs +0 -17
- package/lib/edge/image-d87761af.js +0 -123
- package/lib/edge/img-58c08dd4.js +0 -20
- package/lib/edge/img-b8d85bad.cjs +0 -1
- package/lib/node/server-entry-ceef853b.cjs +0 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { TARGET as F, isBrowser as K, logger as Z, checkIsDefined as ge, isPreviewing as
|
|
3
|
-
import { setClientUserAttributes as qi } from "./server-entry-
|
|
2
|
+
import { TARGET as F, isBrowser as K, logger as Z, checkIsDefined as ge, isPreviewing as le, isEditing as O, userAttributesService as Ce, getDefaultCanTrack as X, logFetch as Fe, registerInsertMenu as lt, setupBrowserForEditing as st, createRegisterComponentMessage as ct, getCookieSync as ut, _track as Te, fetchOneEntry as Le, createEditorListener as dt, serializeIncludingFunctions as Ie, handleABTestingSync as mt } from "./server-entry-1556528d.js";
|
|
3
|
+
import { setClientUserAttributes as qi } from "./server-entry-1556528d.js";
|
|
4
4
|
import { jsx as s, Fragment as R, jsxs as $ } from "react/jsx-runtime";
|
|
5
5
|
import * as ft from "react";
|
|
6
6
|
import { createContext as Oe, useEffect as V, useState as C, useRef as H, useContext as we, createElement as _e } from "react";
|
|
7
|
-
import { getFunctionArguments as ht, flattenState as gt, runInNode as bt, parseCode as yt, getBuilderGlobals as pt, set as Ue, fastClone as ye } from "./setIvm-
|
|
8
|
-
import { shouldForceBrowserRuntimeInNode as vt } from "./should-force-browser-runtime-in-node-
|
|
7
|
+
import { getFunctionArguments as ht, flattenState as gt, runInNode as bt, parseCode as yt, getBuilderGlobals as pt, set as Ue, fastClone as ye } from "./setIvm-15c96eda.js";
|
|
8
|
+
import { shouldForceBrowserRuntimeInNode as vt } from "./should-force-browser-runtime-in-node-d0bca779.js";
|
|
9
9
|
const xt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), St = (e) => typeof e == "string" && xt.has(e.toLowerCase());
|
|
10
10
|
function pe(e) {
|
|
11
11
|
return /* @__PURE__ */ s(R, { children: St(e.TagName) ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(R, { children: typeof e.TagName == "string" ? /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
|
|
@@ -64,24 +64,24 @@ const ve = Oe({
|
|
|
64
64
|
nonce: "",
|
|
65
65
|
model: ""
|
|
66
66
|
}), He = Oe({ registeredComponents: {} }), Me = (e, t, n) => {
|
|
67
|
-
const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((
|
|
67
|
+
const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, o) => r != null ? r[o] : r, e);
|
|
68
68
|
return i === void 0 || i === e ? n : i;
|
|
69
69
|
}, Ct = ({
|
|
70
70
|
code: e,
|
|
71
71
|
builder: t,
|
|
72
72
|
context: n,
|
|
73
73
|
event: i,
|
|
74
|
-
localState:
|
|
74
|
+
localState: r,
|
|
75
75
|
rootSetState: o,
|
|
76
|
-
rootState:
|
|
76
|
+
rootState: a
|
|
77
77
|
}) => {
|
|
78
78
|
const l = ht({
|
|
79
79
|
builder: t,
|
|
80
80
|
context: n,
|
|
81
81
|
event: i,
|
|
82
82
|
state: gt({
|
|
83
|
-
rootState:
|
|
84
|
-
localState:
|
|
83
|
+
rootState: a,
|
|
84
|
+
localState: r,
|
|
85
85
|
rootSetState: o
|
|
86
86
|
})
|
|
87
87
|
});
|
|
@@ -89,17 +89,17 @@ const ve = Oe({
|
|
|
89
89
|
}, Tt = (e) => K() || vt({
|
|
90
90
|
shouldLogWarning: !0
|
|
91
91
|
}) ? Ct(e) : bt(e), It = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, wt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Et = (e) => {
|
|
92
|
-
var t, n, i,
|
|
93
|
-
return ((i = (n = (t = It.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((
|
|
92
|
+
var t, n, i, r, o, a;
|
|
93
|
+
return ((i = (n = (t = It.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((a = (o = (r = wt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : o.getPath) == null ? void 0 : a.slice(1));
|
|
94
94
|
};
|
|
95
95
|
function J({
|
|
96
96
|
code: e,
|
|
97
97
|
context: t,
|
|
98
98
|
localState: n,
|
|
99
99
|
rootState: i,
|
|
100
|
-
rootSetState:
|
|
100
|
+
rootSetState: r,
|
|
101
101
|
event: o,
|
|
102
|
-
isExpression:
|
|
102
|
+
isExpression: a = !0
|
|
103
103
|
}) {
|
|
104
104
|
if (e.trim() === "")
|
|
105
105
|
return;
|
|
@@ -111,12 +111,12 @@ function J({
|
|
|
111
111
|
}, l);
|
|
112
112
|
const c = {
|
|
113
113
|
code: yt(e, {
|
|
114
|
-
isExpression:
|
|
114
|
+
isExpression: a
|
|
115
115
|
}),
|
|
116
116
|
builder: pt(),
|
|
117
117
|
context: t,
|
|
118
118
|
event: o,
|
|
119
|
-
rootSetState:
|
|
119
|
+
rootSetState: r,
|
|
120
120
|
rootState: i,
|
|
121
121
|
localState: n
|
|
122
122
|
};
|
|
@@ -142,7 +142,7 @@ const Pt = (e, t) => {
|
|
|
142
142
|
if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((i = e.component.options) != null && i.text) && typeof e.component.options.text == "string")
|
|
143
143
|
return {
|
|
144
144
|
...e.component.options,
|
|
145
|
-
text: e.component.options.text.replace(/{{([^}]+)}}/g, (
|
|
145
|
+
text: e.component.options.text.replace(/{{([^}]+)}}/g, (r, o) => J({
|
|
146
146
|
code: o,
|
|
147
147
|
context: t,
|
|
148
148
|
localState: t.localState,
|
|
@@ -157,21 +157,21 @@ function Vt(e, ...t) {
|
|
|
157
157
|
delete n[i];
|
|
158
158
|
return n;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function oe(e, t, n = null, i = null, r = /* @__PURE__ */ new WeakSet()) {
|
|
161
161
|
if (e == null || typeof e != "object") {
|
|
162
162
|
t(e, (o) => {
|
|
163
163
|
n !== null && i !== null && (n[i] = o);
|
|
164
164
|
});
|
|
165
165
|
return;
|
|
166
166
|
}
|
|
167
|
-
|
|
167
|
+
r.has(e) || (r.add(e), Array.isArray(e) ? e.forEach((o, a) => {
|
|
168
168
|
t(o, (c) => {
|
|
169
|
-
e[
|
|
170
|
-
}),
|
|
171
|
-
}) : Object.entries(e).forEach(([o,
|
|
172
|
-
t(
|
|
169
|
+
e[a] = c;
|
|
170
|
+
}), oe(o, t, e, a, r);
|
|
171
|
+
}) : Object.entries(e).forEach(([o, a]) => {
|
|
172
|
+
t(a, (c) => {
|
|
173
173
|
e[o] = c;
|
|
174
|
-
}),
|
|
174
|
+
}), oe(a, t, e, o, r);
|
|
175
175
|
}));
|
|
176
176
|
}
|
|
177
177
|
function qe(e) {
|
|
@@ -181,7 +181,7 @@ function At(e) {
|
|
|
181
181
|
if (!e || !Object.getOwnPropertyNames(e).length)
|
|
182
182
|
return !1;
|
|
183
183
|
let t = !1;
|
|
184
|
-
return
|
|
184
|
+
return oe(e, (n) => {
|
|
185
185
|
if (qe(n)) {
|
|
186
186
|
t = !0;
|
|
187
187
|
return;
|
|
@@ -189,9 +189,9 @@ function At(e) {
|
|
|
189
189
|
}), t;
|
|
190
190
|
}
|
|
191
191
|
function Bt(e, t) {
|
|
192
|
-
return !e || !Object.getOwnPropertyNames(e).length ? {} : (
|
|
193
|
-
var
|
|
194
|
-
qe(n) && i((
|
|
192
|
+
return !e || !Object.getOwnPropertyNames(e).length ? {} : (oe(e, (n, i) => {
|
|
193
|
+
var r;
|
|
194
|
+
qe(n) && i((r = n[t]) != null ? r : void 0);
|
|
195
195
|
}), e);
|
|
196
196
|
}
|
|
197
197
|
function Nt(e, t) {
|
|
@@ -241,20 +241,20 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) =
|
|
|
241
241
|
context: t,
|
|
242
242
|
localState: n,
|
|
243
243
|
rootState: i,
|
|
244
|
-
rootSetState:
|
|
244
|
+
rootSetState: r
|
|
245
245
|
}) => {
|
|
246
246
|
if (!e.bindings)
|
|
247
247
|
return e;
|
|
248
248
|
const o = Wt(e);
|
|
249
|
-
for (const
|
|
250
|
-
const l = e.bindings[
|
|
249
|
+
for (const a in e.bindings) {
|
|
250
|
+
const l = e.bindings[a], c = J({
|
|
251
251
|
code: l,
|
|
252
252
|
localState: n,
|
|
253
253
|
rootState: i,
|
|
254
|
-
rootSetState:
|
|
254
|
+
rootSetState: r,
|
|
255
255
|
context: t
|
|
256
256
|
});
|
|
257
|
-
Ue(o,
|
|
257
|
+
Ue(o, a, c);
|
|
258
258
|
}
|
|
259
259
|
return o;
|
|
260
260
|
};
|
|
@@ -263,37 +263,37 @@ function Ft({
|
|
|
263
263
|
context: t,
|
|
264
264
|
localState: n,
|
|
265
265
|
rootState: i,
|
|
266
|
-
rootSetState:
|
|
266
|
+
rootSetState: r
|
|
267
267
|
}) {
|
|
268
268
|
let o = Nt(e, i.locale);
|
|
269
269
|
return o = o, Dt({
|
|
270
270
|
block: o,
|
|
271
271
|
localState: n,
|
|
272
272
|
rootState: i,
|
|
273
|
-
rootSetState:
|
|
273
|
+
rootSetState: r,
|
|
274
274
|
context: t
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
|
-
const
|
|
277
|
+
const se = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
278
278
|
function Lt(e, t, n = {}) {
|
|
279
|
-
let i,
|
|
279
|
+
let i, r, o, a = null, l = 0;
|
|
280
280
|
const c = function() {
|
|
281
|
-
l = n.leading === !1 ? 0 : Date.now(),
|
|
281
|
+
l = n.leading === !1 ? 0 : Date.now(), a = null, o = e.apply(i, r), a || (i = r = null);
|
|
282
282
|
};
|
|
283
283
|
return function() {
|
|
284
284
|
const u = Date.now();
|
|
285
285
|
!l && n.leading === !1 && (l = u);
|
|
286
286
|
const f = t - (u - l);
|
|
287
|
-
return i = this,
|
|
287
|
+
return i = this, r = arguments, f <= 0 || f > t ? (a && (clearTimeout(a), a = null), l = u, o = e.apply(i, r), a || (i = r = null)) : !a && n.trailing !== !1 && (a = setTimeout(c, f)), o;
|
|
288
288
|
};
|
|
289
289
|
}
|
|
290
290
|
function Y(e, ...t) {
|
|
291
291
|
const n = Object(e);
|
|
292
292
|
for (let i = 1; i < arguments.length; i++) {
|
|
293
|
-
const
|
|
294
|
-
if (
|
|
295
|
-
for (const o in
|
|
296
|
-
Object.prototype.hasOwnProperty.call(
|
|
293
|
+
const r = arguments[i];
|
|
294
|
+
if (r != null)
|
|
295
|
+
for (const o in r)
|
|
296
|
+
Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
|
|
297
297
|
}
|
|
298
298
|
return n;
|
|
299
299
|
}
|
|
@@ -312,8 +312,8 @@ function je(e) {
|
|
|
312
312
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
313
313
|
}
|
|
314
314
|
function ze(e, t) {
|
|
315
|
-
const n = _t(e), i = getComputedStyle(t),
|
|
316
|
-
for (const l of
|
|
315
|
+
const n = _t(e), i = getComputedStyle(t), r = e.steps[0].styles, o = e.steps[e.steps.length - 1].styles, a = [r, o];
|
|
316
|
+
for (const l of a)
|
|
317
317
|
for (const c of n)
|
|
318
318
|
c in l || (l[c] = i[c]);
|
|
319
319
|
}
|
|
@@ -332,7 +332,7 @@ function Ke(e) {
|
|
|
332
332
|
}
|
|
333
333
|
Array.from(t).forEach((n) => {
|
|
334
334
|
ze(e, n), n.style.transition = "none", n.style.transitionDelay = "0", Y(n.style, e.steps[0].styles), setTimeout(() => {
|
|
335
|
-
n.style.transition = `all ${e.duration}s ${
|
|
335
|
+
n.style.transition = `all ${e.duration}s ${se(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), Y(n.style, e.steps[1].styles), setTimeout(() => {
|
|
336
336
|
n.style.transition = "", n.style.transitionDelay = "";
|
|
337
337
|
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
338
338
|
});
|
|
@@ -346,15 +346,15 @@ function Ut(e) {
|
|
|
346
346
|
}
|
|
347
347
|
Array.from(t).forEach((n) => {
|
|
348
348
|
ze(e, n);
|
|
349
|
-
let i = !1,
|
|
349
|
+
let i = !1, r = !1;
|
|
350
350
|
function o() {
|
|
351
|
-
!i && l(n) ? (i = !0,
|
|
352
|
-
Y(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll",
|
|
353
|
-
|
|
351
|
+
!i && l(n) ? (i = !0, r = !0, setTimeout(() => {
|
|
352
|
+
Y(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", a), setTimeout(() => {
|
|
353
|
+
r = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
|
|
354
354
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
355
|
-
})) : e.repeat && i && !
|
|
355
|
+
})) : e.repeat && i && !r && !l(n) && (i = !1, Y(n.style, e.steps[0].styles));
|
|
356
356
|
}
|
|
357
|
-
const
|
|
357
|
+
const a = Lt(o, 200, {
|
|
358
358
|
leading: !1
|
|
359
359
|
});
|
|
360
360
|
function l(f) {
|
|
@@ -366,8 +366,8 @@ function Ut(e) {
|
|
|
366
366
|
Y(n.style, c);
|
|
367
367
|
}
|
|
368
368
|
u(), setTimeout(() => {
|
|
369
|
-
n.style.transition = `all ${e.duration}s ${
|
|
370
|
-
}), document.addEventListener("scroll",
|
|
369
|
+
n.style.transition = `all ${e.duration}s ${se(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
370
|
+
}), document.addEventListener("scroll", a, {
|
|
371
371
|
capture: !0,
|
|
372
372
|
passive: !0
|
|
373
373
|
}), o();
|
|
@@ -375,7 +375,7 @@ function Ut(e) {
|
|
|
375
375
|
}
|
|
376
376
|
const Je = (e) => Object.entries(e).map(([n, i]) => {
|
|
377
377
|
if (typeof i == "string")
|
|
378
|
-
return `${
|
|
378
|
+
return `${se(n)}: ${i};`;
|
|
379
379
|
}).filter(ge), Ht = (e) => Je(e).join(`
|
|
380
380
|
`), Q = ({
|
|
381
381
|
mediaQuery: e,
|
|
@@ -425,14 +425,14 @@ const Qe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
425
425
|
const i = (o = e.component) == null ? void 0 : o.name;
|
|
426
426
|
if (!i)
|
|
427
427
|
return null;
|
|
428
|
-
const
|
|
429
|
-
if (!
|
|
428
|
+
const r = t[i];
|
|
429
|
+
if (!r || Qe(r, n)) {
|
|
430
430
|
console.warn(`
|
|
431
431
|
Could not find a registered component named "${i}".
|
|
432
432
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
433
433
|
return;
|
|
434
434
|
} else
|
|
435
|
-
return
|
|
435
|
+
return r;
|
|
436
436
|
}, zt = ({
|
|
437
437
|
block: e,
|
|
438
438
|
context: t
|
|
@@ -443,25 +443,25 @@ const Qe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
443
443
|
} = e;
|
|
444
444
|
if (!(n != null && n.collection))
|
|
445
445
|
return;
|
|
446
|
-
const
|
|
446
|
+
const r = J({
|
|
447
447
|
code: n.collection,
|
|
448
448
|
localState: t.localState,
|
|
449
449
|
rootState: t.rootState,
|
|
450
450
|
rootSetState: t.rootSetState,
|
|
451
451
|
context: t.context
|
|
452
452
|
});
|
|
453
|
-
if (!Array.isArray(
|
|
453
|
+
if (!Array.isArray(r))
|
|
454
454
|
return;
|
|
455
|
-
const o = n.collection.split(".").pop(),
|
|
456
|
-
return
|
|
455
|
+
const o = n.collection.split(".").pop(), a = n.itemName || (o ? o + "Item" : "item");
|
|
456
|
+
return r.map((c, u) => ({
|
|
457
457
|
context: {
|
|
458
458
|
...t,
|
|
459
459
|
localState: {
|
|
460
460
|
...t.localState,
|
|
461
461
|
$index: u,
|
|
462
462
|
$item: c,
|
|
463
|
-
[
|
|
464
|
-
[`$${
|
|
463
|
+
[a]: c,
|
|
464
|
+
[`$${a}Index`]: u
|
|
465
465
|
}
|
|
466
466
|
},
|
|
467
467
|
block: i
|
|
@@ -474,7 +474,7 @@ const Qe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
474
474
|
}, Jt = (e, t, n) => {
|
|
475
475
|
var i;
|
|
476
476
|
return (i = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && i.builderComponents ? {
|
|
477
|
-
builderComponents: Object.fromEntries(Object.entries(t).filter(([o,
|
|
477
|
+
builderComponents: Object.fromEntries(Object.entries(t).filter(([o, a]) => !Qe(a, n)))
|
|
478
478
|
} : {};
|
|
479
479
|
}, Gt = (e, t) => {
|
|
480
480
|
var n;
|
|
@@ -507,14 +507,14 @@ const Qe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
507
507
|
default: 991,
|
|
508
508
|
max: 1200
|
|
509
509
|
}
|
|
510
|
-
},
|
|
510
|
+
}, ue = (e, t = Ye) => `@media (max-width: ${t[e].max}px)`, Xe = (e) => {
|
|
511
511
|
const t = ye(Ye);
|
|
512
512
|
if (!e)
|
|
513
513
|
return t;
|
|
514
514
|
const {
|
|
515
515
|
xsmall: n,
|
|
516
516
|
small: i,
|
|
517
|
-
medium:
|
|
517
|
+
medium: r
|
|
518
518
|
} = e;
|
|
519
519
|
if (n) {
|
|
520
520
|
const c = Math.floor(n / 2);
|
|
@@ -524,7 +524,7 @@ const Qe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
524
524
|
default: c + 1
|
|
525
525
|
};
|
|
526
526
|
}
|
|
527
|
-
if (!i || !
|
|
527
|
+
if (!i || !r)
|
|
528
528
|
return t;
|
|
529
529
|
const o = n ? t.xsmall.max + 1 : Math.floor(i / 2);
|
|
530
530
|
t.small = {
|
|
@@ -532,11 +532,11 @@ const Qe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
532
532
|
min: o,
|
|
533
533
|
default: o + 1
|
|
534
534
|
};
|
|
535
|
-
const
|
|
535
|
+
const a = t.small.max + 1;
|
|
536
536
|
t.medium = {
|
|
537
|
-
max:
|
|
538
|
-
min:
|
|
539
|
-
default:
|
|
537
|
+
max: r,
|
|
538
|
+
min: a,
|
|
539
|
+
default: a + 1
|
|
540
540
|
};
|
|
541
541
|
const l = t.medium.max + 1;
|
|
542
542
|
return t.large = {
|
|
@@ -563,9 +563,9 @@ function Yt(e) {
|
|
|
563
563
|
}
|
|
564
564
|
function n() {
|
|
565
565
|
var k, A, T, I, g;
|
|
566
|
-
const i = e.block,
|
|
566
|
+
const i = e.block, r = i.responsiveStyles, o = e.context.content, a = Xe(
|
|
567
567
|
((k = o == null ? void 0 : o.meta) == null ? void 0 : k.breakpoints) || {}
|
|
568
|
-
), l = !!((T = (A = o == null ? void 0 : o.meta) == null ? void 0 : A.breakpoints) != null && T.xsmall), c =
|
|
568
|
+
), l = !!((T = (A = o == null ? void 0 : o.meta) == null ? void 0 : A.breakpoints) != null && T.xsmall), c = r == null ? void 0 : r.large, u = r == null ? void 0 : r.medium, f = r == null ? void 0 : r.small, b = r == null ? void 0 : r.xsmall, m = i.id;
|
|
569
569
|
if (!m)
|
|
570
570
|
return "";
|
|
571
571
|
const v = c ? Q({
|
|
@@ -574,23 +574,23 @@ function Yt(e) {
|
|
|
574
574
|
}) : "", d = u ? Q({
|
|
575
575
|
className: m,
|
|
576
576
|
styles: u,
|
|
577
|
-
mediaQuery:
|
|
577
|
+
mediaQuery: ue(
|
|
578
578
|
"medium",
|
|
579
|
-
|
|
579
|
+
a
|
|
580
580
|
)
|
|
581
581
|
}) : "", h = f ? Q({
|
|
582
582
|
className: m,
|
|
583
583
|
styles: f,
|
|
584
|
-
mediaQuery:
|
|
584
|
+
mediaQuery: ue(
|
|
585
585
|
"small",
|
|
586
|
-
|
|
586
|
+
a
|
|
587
587
|
)
|
|
588
588
|
}) : "", p = b && l ? Q({
|
|
589
589
|
className: m,
|
|
590
590
|
styles: b,
|
|
591
|
-
mediaQuery:
|
|
591
|
+
mediaQuery: ue(
|
|
592
592
|
"xsmall",
|
|
593
|
-
|
|
593
|
+
a
|
|
594
594
|
)
|
|
595
595
|
}) : "", y = i.animations && i.animations.find((x) => x.trigger === "hover");
|
|
596
596
|
let S = "";
|
|
@@ -600,7 +600,7 @@ function Yt(e) {
|
|
|
600
600
|
className: `${m}:hover`,
|
|
601
601
|
styles: {
|
|
602
602
|
...x,
|
|
603
|
-
transition: `all ${y.duration}s ${
|
|
603
|
+
transition: `all ${y.duration}s ${se(
|
|
604
604
|
y.easing
|
|
605
605
|
)}`,
|
|
606
606
|
transitionDelay: y.delay ? `${y.delay}s` : "0s"
|
|
@@ -639,21 +639,21 @@ const Zt = (e) => `on${Xt(e)}`, en = (e, t) => (n) => J({
|
|
|
639
639
|
function Ze(e) {
|
|
640
640
|
var i;
|
|
641
641
|
const t = {}, n = (i = e.block.actions) != null ? i : {};
|
|
642
|
-
for (const
|
|
643
|
-
if (!n.hasOwnProperty(
|
|
642
|
+
for (const r in n) {
|
|
643
|
+
if (!n.hasOwnProperty(r))
|
|
644
644
|
continue;
|
|
645
|
-
const o = n[
|
|
646
|
-
let
|
|
645
|
+
const o = n[r];
|
|
646
|
+
let a = Zt(r);
|
|
647
647
|
if (e.stripPrefix)
|
|
648
648
|
switch (F) {
|
|
649
649
|
case "vue":
|
|
650
|
-
|
|
650
|
+
a = a.replace("v-on:", "");
|
|
651
651
|
break;
|
|
652
652
|
case "svelte":
|
|
653
|
-
|
|
653
|
+
a = a.replace("on:", "");
|
|
654
654
|
break;
|
|
655
655
|
}
|
|
656
|
-
t[
|
|
656
|
+
t[a] = en(o, e);
|
|
657
657
|
}
|
|
658
658
|
return t;
|
|
659
659
|
}
|
|
@@ -686,7 +686,7 @@ function xe({
|
|
|
686
686
|
block: e
|
|
687
687
|
});
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function rn(e) {
|
|
690
690
|
return /* @__PURE__ */ s(
|
|
691
691
|
pe,
|
|
692
692
|
{
|
|
@@ -707,12 +707,12 @@ function an(e) {
|
|
|
707
707
|
}
|
|
708
708
|
);
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function an(e) {
|
|
711
711
|
return V(() => {
|
|
712
712
|
}, []), /* @__PURE__ */ s(R, { children: e.children });
|
|
713
713
|
}
|
|
714
714
|
function on(e) {
|
|
715
|
-
var i,
|
|
715
|
+
var i, r;
|
|
716
716
|
C(() => 0);
|
|
717
717
|
function t() {
|
|
718
718
|
return e.includeBlockProps ? {
|
|
@@ -733,8 +733,8 @@ function on(e) {
|
|
|
733
733
|
return e.wrapperProps;
|
|
734
734
|
}
|
|
735
735
|
return V(() => {
|
|
736
|
-
}, [e.wrapperProps, (
|
|
737
|
-
|
|
736
|
+
}, [e.wrapperProps, (r = (i = e.block) == null ? void 0 : i.component) == null ? void 0 : r.options]), /* @__PURE__ */ s(R, { children: e.Wrapper.load ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(
|
|
737
|
+
an,
|
|
738
738
|
{
|
|
739
739
|
load: e.Wrapper.load,
|
|
740
740
|
fallback: e.Wrapper.fallback,
|
|
@@ -749,9 +749,9 @@ const ln = ({
|
|
|
749
749
|
builderBlock: t,
|
|
750
750
|
context: n,
|
|
751
751
|
componentRef: i,
|
|
752
|
-
includeBlockProps:
|
|
752
|
+
includeBlockProps: r,
|
|
753
753
|
isInteractive: o,
|
|
754
|
-
contextValue:
|
|
754
|
+
contextValue: a
|
|
755
755
|
}) => {
|
|
756
756
|
const l = {
|
|
757
757
|
...e,
|
|
@@ -759,10 +759,10 @@ const ln = ({
|
|
|
759
759
|
* If `noWrap` is set to `true`, then the block's props/attributes are provided to the
|
|
760
760
|
* component itself directly. Otherwise, they are provided to the wrapper element.
|
|
761
761
|
*/
|
|
762
|
-
...
|
|
762
|
+
...r ? {
|
|
763
763
|
attributes: xe({
|
|
764
764
|
block: t,
|
|
765
|
-
context:
|
|
765
|
+
context: a
|
|
766
766
|
})
|
|
767
767
|
} : {}
|
|
768
768
|
};
|
|
@@ -771,7 +771,7 @@ const ln = ({
|
|
|
771
771
|
block: t,
|
|
772
772
|
context: n,
|
|
773
773
|
wrapperProps: e,
|
|
774
|
-
includeBlockProps:
|
|
774
|
+
includeBlockProps: r
|
|
775
775
|
} : l;
|
|
776
776
|
};
|
|
777
777
|
function Re(e) {
|
|
@@ -794,15 +794,15 @@ function Re(e) {
|
|
|
794
794
|
isInteractive: e.isInteractive,
|
|
795
795
|
contextValue: e.context
|
|
796
796
|
}),
|
|
797
|
-
children: (i = e.blockChildren) == null ? void 0 : i.map((
|
|
798
|
-
|
|
797
|
+
children: (i = e.blockChildren) == null ? void 0 : i.map((r) => /* @__PURE__ */ s(
|
|
798
|
+
ce,
|
|
799
799
|
{
|
|
800
|
-
block:
|
|
800
|
+
block: r,
|
|
801
801
|
context: e.context,
|
|
802
802
|
registeredComponents: e.registeredComponents,
|
|
803
803
|
linkComponent: e.linkComponent
|
|
804
804
|
},
|
|
805
|
-
|
|
805
|
+
r.id
|
|
806
806
|
))
|
|
807
807
|
}
|
|
808
808
|
) }) : null });
|
|
@@ -812,7 +812,7 @@ function Pe(e) {
|
|
|
812
812
|
return V(() => {
|
|
813
813
|
n(e.repeatContext);
|
|
814
814
|
}, [e.repeatContext]), /* @__PURE__ */ s(ve.Provider, { value: t, children: /* @__PURE__ */ s(
|
|
815
|
-
|
|
815
|
+
ce,
|
|
816
816
|
{
|
|
817
817
|
block: e.block,
|
|
818
818
|
context: t,
|
|
@@ -821,7 +821,7 @@ function Pe(e) {
|
|
|
821
821
|
}
|
|
822
822
|
) });
|
|
823
823
|
}
|
|
824
|
-
function
|
|
824
|
+
function ce(e) {
|
|
825
825
|
var f, b, m, v;
|
|
826
826
|
function t() {
|
|
827
827
|
return zt({
|
|
@@ -833,9 +833,9 @@ function se(e) {
|
|
|
833
833
|
value: null,
|
|
834
834
|
update: !1
|
|
835
835
|
}));
|
|
836
|
-
function
|
|
836
|
+
function r() {
|
|
837
837
|
var h;
|
|
838
|
-
if (n.value && !n.update && !
|
|
838
|
+
if (n.value && !n.update && !le())
|
|
839
839
|
return n.value;
|
|
840
840
|
const d = (h = e.block.repeat) != null && h.collection ? e.block : Ft({
|
|
841
841
|
block: e.block,
|
|
@@ -848,34 +848,34 @@ function se(e) {
|
|
|
848
848
|
}
|
|
849
849
|
function o() {
|
|
850
850
|
return jt({
|
|
851
|
-
block:
|
|
851
|
+
block: r(),
|
|
852
852
|
registeredComponents: e.registeredComponents,
|
|
853
853
|
model: e.context.model
|
|
854
854
|
});
|
|
855
855
|
}
|
|
856
|
-
function
|
|
856
|
+
function a() {
|
|
857
857
|
var h;
|
|
858
|
-
return e.block.tagName === "a" || ((h =
|
|
858
|
+
return e.block.tagName === "a" || ((h = r().properties) == null ? void 0 : h.href) || r().href ? e.linkComponent || "a" : e.block.tagName || "div";
|
|
859
859
|
}
|
|
860
860
|
function l() {
|
|
861
861
|
var p, y;
|
|
862
862
|
if ((p = e.block.repeat) != null && p.collection)
|
|
863
863
|
return !!((y = t == null ? void 0 : t()) != null && y.length);
|
|
864
|
-
const d = "hide" in
|
|
865
|
-
return ("show" in
|
|
864
|
+
const d = "hide" in r() ? r().hide : !1;
|
|
865
|
+
return ("show" in r() ? r().show : !0) && !d;
|
|
866
866
|
}
|
|
867
867
|
function c() {
|
|
868
868
|
var h, p;
|
|
869
|
-
return !((h = o == null ? void 0 : o()) != null && h.component) && !t() ? (p =
|
|
869
|
+
return !((h = o == null ? void 0 : o()) != null && h.component) && !t() ? (p = r().children) != null ? p : [] : [];
|
|
870
870
|
}
|
|
871
871
|
function u() {
|
|
872
872
|
var d, h, p, y;
|
|
873
873
|
return {
|
|
874
|
-
blockChildren: (d =
|
|
874
|
+
blockChildren: (d = r().children) != null ? d : [],
|
|
875
875
|
componentRef: (h = o == null ? void 0 : o()) == null ? void 0 : h.component,
|
|
876
876
|
componentOptions: {
|
|
877
|
-
...Rt(
|
|
878
|
-
...Gt(o(),
|
|
877
|
+
...Rt(r(), e.context),
|
|
878
|
+
...Gt(o(), r()),
|
|
879
879
|
...Qt(o(), e.context),
|
|
880
880
|
...Kt(o(), e.linkComponent),
|
|
881
881
|
...Jt(
|
|
@@ -887,13 +887,13 @@ function se(e) {
|
|
|
887
887
|
context: e.context,
|
|
888
888
|
linkComponent: e.linkComponent,
|
|
889
889
|
registeredComponents: e.registeredComponents,
|
|
890
|
-
builderBlock:
|
|
890
|
+
builderBlock: r(),
|
|
891
891
|
includeBlockProps: ((p = o == null ? void 0 : o()) == null ? void 0 : p.noWrap) === !0,
|
|
892
892
|
isInteractive: !((y = o == null ? void 0 : o()) != null && y.isRSC && F === "rsc")
|
|
893
893
|
};
|
|
894
894
|
}
|
|
895
895
|
return V(() => {
|
|
896
|
-
const d =
|
|
896
|
+
const d = r().id, h = r().animations;
|
|
897
897
|
h && d && Ot(
|
|
898
898
|
h.map((p) => ({
|
|
899
899
|
...p,
|
|
@@ -903,7 +903,7 @@ function se(e) {
|
|
|
903
903
|
}, []), V(() => {
|
|
904
904
|
n.update = !0;
|
|
905
905
|
}), /* @__PURE__ */ s(R, { children: l() ? /* @__PURE__ */ $(R, { children: [
|
|
906
|
-
/* @__PURE__ */ s(Yt, { block:
|
|
906
|
+
/* @__PURE__ */ s(Yt, { block: r(), context: e.context }),
|
|
907
907
|
(f = o == null ? void 0 : o()) != null && f.noWrap ? t() ? /* @__PURE__ */ s(R, { children: (v = t()) == null ? void 0 : v.map((d, h) => /* @__PURE__ */ s(
|
|
908
908
|
Pe,
|
|
909
909
|
{
|
|
@@ -936,10 +936,10 @@ function se(e) {
|
|
|
936
936
|
},
|
|
937
937
|
Ee(h)
|
|
938
938
|
)) }) : /* @__PURE__ */ $(
|
|
939
|
-
|
|
939
|
+
rn,
|
|
940
940
|
{
|
|
941
|
-
Wrapper:
|
|
942
|
-
block:
|
|
941
|
+
Wrapper: a(),
|
|
942
|
+
block: r(),
|
|
943
943
|
context: e.context,
|
|
944
944
|
children: [
|
|
945
945
|
/* @__PURE__ */ s(
|
|
@@ -957,7 +957,7 @@ function se(e) {
|
|
|
957
957
|
}
|
|
958
958
|
),
|
|
959
959
|
(b = c()) == null ? void 0 : b.map((d) => /* @__PURE__ */ s(
|
|
960
|
-
|
|
960
|
+
ce,
|
|
961
961
|
{
|
|
962
962
|
block: d,
|
|
963
963
|
registeredComponents: e.registeredComponents,
|
|
@@ -975,22 +975,22 @@ function sn(e) {
|
|
|
975
975
|
const t = H(null);
|
|
976
976
|
C(() => !1);
|
|
977
977
|
function n() {
|
|
978
|
-
var
|
|
978
|
+
var a;
|
|
979
979
|
return [
|
|
980
980
|
"builder-blocks",
|
|
981
|
-
(
|
|
981
|
+
(a = e.blocks) != null && a.length ? "" : "no-blocks",
|
|
982
982
|
e.classNameProp
|
|
983
983
|
].filter(Boolean).join(" ");
|
|
984
984
|
}
|
|
985
985
|
function i() {
|
|
986
986
|
if (!e.path)
|
|
987
987
|
return;
|
|
988
|
-
const
|
|
989
|
-
return e.path.startsWith(
|
|
988
|
+
const a = "this.", l = "component.options.";
|
|
989
|
+
return e.path.startsWith(a) ? e.path.replace(a, "") : e.path.startsWith(l) ? e.path : `${l}${e.path || ""}`;
|
|
990
990
|
}
|
|
991
|
-
function
|
|
992
|
-
var
|
|
993
|
-
O() && !((
|
|
991
|
+
function r() {
|
|
992
|
+
var a, l;
|
|
993
|
+
O() && !((a = e.blocks) != null && a.length) && ((l = window.parent) == null || l.postMessage(
|
|
994
994
|
{
|
|
995
995
|
type: "builder.clickEmptyBlocks",
|
|
996
996
|
data: {
|
|
@@ -1002,8 +1002,8 @@ function sn(e) {
|
|
|
1002
1002
|
));
|
|
1003
1003
|
}
|
|
1004
1004
|
function o() {
|
|
1005
|
-
var
|
|
1006
|
-
O() && !((
|
|
1005
|
+
var a, l;
|
|
1006
|
+
O() && !((a = e.blocks) != null && a.length) && ((l = window.parent) == null || l.postMessage(
|
|
1007
1007
|
{
|
|
1008
1008
|
type: "builder.hoverEmptyBlocks",
|
|
1009
1009
|
data: {
|
|
@@ -1030,9 +1030,9 @@ function sn(e) {
|
|
|
1030
1030
|
"builder-path": i(),
|
|
1031
1031
|
"builder-parent-id": e.parent,
|
|
1032
1032
|
style: e.styleProp,
|
|
1033
|
-
onClick: (
|
|
1034
|
-
onMouseEnter: (
|
|
1035
|
-
onKeyPress: (
|
|
1033
|
+
onClick: (a) => r(),
|
|
1034
|
+
onMouseEnter: (a) => o(),
|
|
1035
|
+
onKeyPress: (a) => r(),
|
|
1036
1036
|
...e.BlocksWrapperProps,
|
|
1037
1037
|
children: e.children
|
|
1038
1038
|
}
|
|
@@ -1040,7 +1040,7 @@ function sn(e) {
|
|
|
1040
1040
|
] });
|
|
1041
1041
|
}
|
|
1042
1042
|
function _(e) {
|
|
1043
|
-
var i,
|
|
1043
|
+
var i, r, o;
|
|
1044
1044
|
const t = we(ve), n = we(He);
|
|
1045
1045
|
return /* @__PURE__ */ $(
|
|
1046
1046
|
sn,
|
|
@@ -1051,18 +1051,18 @@ function _(e) {
|
|
|
1051
1051
|
styleProp: e.styleProp,
|
|
1052
1052
|
BlocksWrapperProps: e.BlocksWrapperProps || ((i = e.context) == null ? void 0 : i.BlocksWrapperProps) || (t == null ? void 0 : t.BlocksWrapperProps),
|
|
1053
1053
|
classNameProp: e.className,
|
|
1054
|
-
BlocksWrapper: ((
|
|
1054
|
+
BlocksWrapper: ((r = e.context) == null ? void 0 : r.BlocksWrapper) || (t == null ? void 0 : t.BlocksWrapper),
|
|
1055
1055
|
children: [
|
|
1056
1056
|
e.children,
|
|
1057
|
-
e.blocks ? /* @__PURE__ */ s(R, { children: (o = e.blocks) == null ? void 0 : o.map((
|
|
1058
|
-
|
|
1057
|
+
e.blocks ? /* @__PURE__ */ s(R, { children: (o = e.blocks) == null ? void 0 : o.map((a) => /* @__PURE__ */ s(
|
|
1058
|
+
ce,
|
|
1059
1059
|
{
|
|
1060
|
-
block:
|
|
1060
|
+
block: a,
|
|
1061
1061
|
linkComponent: e.linkComponent,
|
|
1062
1062
|
context: e.context || t,
|
|
1063
1063
|
registeredComponents: e.registeredComponents || (n == null ? void 0 : n.registeredComponents)
|
|
1064
1064
|
},
|
|
1065
|
-
|
|
1065
|
+
a.id
|
|
1066
1066
|
)) }) : null
|
|
1067
1067
|
]
|
|
1068
1068
|
}
|
|
@@ -1080,14 +1080,14 @@ function un(e) {
|
|
|
1080
1080
|
function i() {
|
|
1081
1081
|
return e.stackColumnsAt || "tablet";
|
|
1082
1082
|
}
|
|
1083
|
-
function
|
|
1083
|
+
function r(y) {
|
|
1084
1084
|
return y.link ? e.builderLinkComponent || "a" : "div";
|
|
1085
1085
|
}
|
|
1086
1086
|
function o(y) {
|
|
1087
1087
|
var S;
|
|
1088
1088
|
return ((S = n()[y]) == null ? void 0 : S.width) || 100 / n().length;
|
|
1089
1089
|
}
|
|
1090
|
-
function
|
|
1090
|
+
function a(y) {
|
|
1091
1091
|
const S = o(y), k = t() * (n().length - 1) * (S / 100);
|
|
1092
1092
|
return `calc(${S}% - ${k}px)`;
|
|
1093
1093
|
}
|
|
@@ -1116,7 +1116,7 @@ function un(e) {
|
|
|
1116
1116
|
};
|
|
1117
1117
|
}
|
|
1118
1118
|
function b(y) {
|
|
1119
|
-
const S = y === 0 ? 0 : t(), k =
|
|
1119
|
+
const S = y === 0 ? 0 : t(), k = a(y), A = `${S}px`, T = "100%", I = 0;
|
|
1120
1120
|
return {
|
|
1121
1121
|
...{
|
|
1122
1122
|
display: "flex",
|
|
@@ -1209,7 +1209,7 @@ function un(e) {
|
|
|
1209
1209
|
(p = e.columns) == null ? void 0 : p.map((y, S) => /* @__PURE__ */ s(
|
|
1210
1210
|
pe,
|
|
1211
1211
|
{
|
|
1212
|
-
TagName:
|
|
1212
|
+
TagName: r(y),
|
|
1213
1213
|
actionAttributes: {},
|
|
1214
1214
|
attributes: d(y, S),
|
|
1215
1215
|
children: /* @__PURE__ */ s(
|
|
@@ -1241,8 +1241,8 @@ function Ve(e) {
|
|
|
1241
1241
|
return e.replace(/http(s)?:/, "");
|
|
1242
1242
|
}
|
|
1243
1243
|
function mn(e = "", t, n) {
|
|
1244
|
-
const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"),
|
|
1245
|
-
return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e +
|
|
1244
|
+
const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
|
|
1245
|
+
return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
|
|
1246
1246
|
}
|
|
1247
1247
|
function fn(e, t) {
|
|
1248
1248
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
@@ -1251,24 +1251,24 @@ function fn(e, t) {
|
|
|
1251
1251
|
return Ve(e);
|
|
1252
1252
|
const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
|
|
1253
1253
|
if (n) {
|
|
1254
|
-
const i = e.split(n[0]),
|
|
1255
|
-
return Ve(`${i[0]}_${o}${
|
|
1254
|
+
const i = e.split(n[0]), r = n[3], o = t.match("x") ? t : `${t}x`;
|
|
1255
|
+
return Ve(`${i[0]}_${o}${r}`);
|
|
1256
1256
|
}
|
|
1257
1257
|
return null;
|
|
1258
1258
|
}
|
|
1259
|
-
function
|
|
1259
|
+
function ne(e) {
|
|
1260
1260
|
if (!e)
|
|
1261
1261
|
return e;
|
|
1262
1262
|
const t = [100, 200, 400, 800, 1200, 1600, 2e3];
|
|
1263
1263
|
if (e.match(/builder\.io/)) {
|
|
1264
1264
|
let n = e;
|
|
1265
1265
|
const i = Number(e.split("?width=")[1]);
|
|
1266
|
-
return isNaN(i) || (n = `${n} ${i}w`), t.filter((
|
|
1266
|
+
return isNaN(i) || (n = `${n} ${i}w`), t.filter((r) => r !== i).map((r) => `${mn(e, "width", r)} ${r}w`).concat([n]).join(", ");
|
|
1267
1267
|
}
|
|
1268
1268
|
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [fn(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
|
|
1269
1269
|
}
|
|
1270
1270
|
function hn(e) {
|
|
1271
|
-
var
|
|
1271
|
+
var r, o, a, l, c, u;
|
|
1272
1272
|
function t() {
|
|
1273
1273
|
var m;
|
|
1274
1274
|
const b = e.image || e.src;
|
|
@@ -1279,10 +1279,10 @@ function hn(e) {
|
|
|
1279
1279
|
if (!e.noWebp) {
|
|
1280
1280
|
if (e.srcset && ((m = e.image) != null && m.includes("builder.io/api/v1/image"))) {
|
|
1281
1281
|
if (!e.srcset.includes(e.image.split("?")[0]))
|
|
1282
|
-
return console.debug("Removed given srcset"),
|
|
1282
|
+
return console.debug("Removed given srcset"), ne(b);
|
|
1283
1283
|
} else if (e.image && !e.srcset)
|
|
1284
|
-
return
|
|
1285
|
-
return
|
|
1284
|
+
return ne(b);
|
|
1285
|
+
return ne(b);
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
1288
1288
|
function n() {
|
|
@@ -1341,7 +1341,7 @@ function hn(e) {
|
|
|
1341
1341
|
}
|
|
1342
1342
|
)
|
|
1343
1343
|
] }),
|
|
1344
|
-
e.aspectRatio && !((o = (
|
|
1344
|
+
e.aspectRatio && !((o = (r = e.builderBlock) == null ? void 0 : r.children) != null && o.length && e.fitContent) ? /* @__PURE__ */ s(
|
|
1345
1345
|
"div",
|
|
1346
1346
|
{
|
|
1347
1347
|
className: "builder-image-sizer div-3cc22d08",
|
|
@@ -1350,7 +1350,7 @@ function hn(e) {
|
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
1352
|
) : null,
|
|
1353
|
-
(l = (
|
|
1353
|
+
(l = (a = e.builderBlock) == null ? void 0 : a.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(R, { children: e.children }) : null,
|
|
1354
1354
|
!e.fitContent && ((u = (c = e.builderBlock) == null ? void 0 : c.children) != null && u.length) ? /* @__PURE__ */ s("div", { className: "div-3cc22d08-2", children: e.children }) : null
|
|
1355
1355
|
] })
|
|
1356
1356
|
] });
|
|
@@ -1377,24 +1377,24 @@ function gn(e) {
|
|
|
1377
1377
|
);
|
|
1378
1378
|
}
|
|
1379
1379
|
function bn(e, t, n, i) {
|
|
1380
|
-
function
|
|
1380
|
+
function r(u) {
|
|
1381
1381
|
return typeof u == "string";
|
|
1382
1382
|
}
|
|
1383
1383
|
function o(u) {
|
|
1384
1384
|
return typeof u == "number";
|
|
1385
1385
|
}
|
|
1386
|
-
function
|
|
1386
|
+
function a(u, f) {
|
|
1387
1387
|
return (() => {
|
|
1388
1388
|
const m = f.property, v = f.operator;
|
|
1389
1389
|
let d = f.value;
|
|
1390
1390
|
if (f && f.property === "urlPath" && f.value && typeof f.value == "string" && f.value !== "/" && f.value.endsWith("/") && (d = f.value.slice(0, -1)), !(m && v))
|
|
1391
1391
|
return !0;
|
|
1392
1392
|
if (Array.isArray(d))
|
|
1393
|
-
return v === "isNot" ? d.every((p) =>
|
|
1393
|
+
return v === "isNot" ? d.every((p) => a(u, {
|
|
1394
1394
|
property: m,
|
|
1395
1395
|
operator: v,
|
|
1396
1396
|
value: p
|
|
1397
|
-
})) : !!d.find((p) =>
|
|
1397
|
+
})) : !!d.find((p) => a(u, {
|
|
1398
1398
|
property: m,
|
|
1399
1399
|
operator: v,
|
|
1400
1400
|
value: p
|
|
@@ -1408,11 +1408,11 @@ function bn(e, t, n, i) {
|
|
|
1408
1408
|
case "isNot":
|
|
1409
1409
|
return h !== d;
|
|
1410
1410
|
case "contains":
|
|
1411
|
-
return (
|
|
1411
|
+
return (r(h) || Array.isArray(h)) && h.includes(String(d));
|
|
1412
1412
|
case "startsWith":
|
|
1413
|
-
return
|
|
1413
|
+
return r(h) && h.startsWith(String(d));
|
|
1414
1414
|
case "endsWith":
|
|
1415
|
-
return
|
|
1415
|
+
return r(h) && h.endsWith(String(d));
|
|
1416
1416
|
case "greaterThan":
|
|
1417
1417
|
return o(h) && o(d) && h > d;
|
|
1418
1418
|
case "lessThan":
|
|
@@ -1431,7 +1431,7 @@ function bn(e, t, n, i) {
|
|
|
1431
1431
|
startDate: n,
|
|
1432
1432
|
endDate: i
|
|
1433
1433
|
}, c = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
|
|
1434
|
-
return l.startDate && new Date(l.startDate) > c || l.endDate && new Date(l.endDate) < c ? !1 : !l.query || !l.query.length ? !0 : l.query.every((u) =>
|
|
1434
|
+
return l.startDate && new Date(l.startDate) > c || l.endDate && new Date(l.endDate) < c ? !1 : !l.query || !l.query.length ? !0 : l.query.every((u) => a(e, u));
|
|
1435
1435
|
}
|
|
1436
1436
|
const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
|
|
1437
1437
|
if (!navigator.cookieEnabled) {
|
|
@@ -1594,25 +1594,25 @@ const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
1594
1594
|
visibilityStylesEl.innerHTML = newStyleStr;
|
|
1595
1595
|
}
|
|
1596
1596
|
}
|
|
1597
|
-
}`,
|
|
1597
|
+
}`, ie = "default", xn = "filterWithCustomTargeting", et = "builderIoPersonalization", tt = "updateVisibilityStylesScript", nt = ["react", "vue", "svelte", "qwik"], re = ["vue", "svelte", "qwik"];
|
|
1598
1598
|
function Sn(e, t) {
|
|
1599
|
-
return !(e && e.length > 0) || !t ? !1 :
|
|
1599
|
+
return !(e && e.length > 0) || !t ? !1 : re.includes(F) ? !0 : !K();
|
|
1600
1600
|
}
|
|
1601
1601
|
function kn({
|
|
1602
1602
|
variants: e,
|
|
1603
1603
|
previewingIndex: t,
|
|
1604
1604
|
isHydrated: n,
|
|
1605
1605
|
filteredVariants: i,
|
|
1606
|
-
fallbackBlocks:
|
|
1606
|
+
fallbackBlocks: r
|
|
1607
1607
|
}) {
|
|
1608
|
-
var
|
|
1608
|
+
var a;
|
|
1609
1609
|
const o = {
|
|
1610
|
-
blocks:
|
|
1610
|
+
blocks: r != null ? r : [],
|
|
1611
1611
|
path: "this.children",
|
|
1612
|
-
index:
|
|
1612
|
+
index: ie
|
|
1613
1613
|
};
|
|
1614
1614
|
if (n && O()) {
|
|
1615
|
-
if (typeof t == "number" && t < ((
|
|
1615
|
+
if (typeof t == "number" && t < ((a = e == null ? void 0 : e.length) != null ? a : 0)) {
|
|
1616
1616
|
const l = e == null ? void 0 : e[t];
|
|
1617
1617
|
if (l)
|
|
1618
1618
|
return {
|
|
@@ -1772,7 +1772,7 @@ function En(e) {
|
|
|
1772
1772
|
function i() {
|
|
1773
1773
|
return !!(e.grid || e.oneAtATime);
|
|
1774
1774
|
}
|
|
1775
|
-
function
|
|
1775
|
+
function r() {
|
|
1776
1776
|
return {
|
|
1777
1777
|
display: "flex",
|
|
1778
1778
|
alignItems: "stretch",
|
|
@@ -1797,7 +1797,7 @@ function En(e) {
|
|
|
1797
1797
|
Object.entries(v).filter(([d, h]) => h !== void 0)
|
|
1798
1798
|
);
|
|
1799
1799
|
}
|
|
1800
|
-
function
|
|
1800
|
+
function a(m) {
|
|
1801
1801
|
return `builder-accordion-title builder-accordion-title-${t.includes(m) ? "open" : "closed"}`;
|
|
1802
1802
|
}
|
|
1803
1803
|
function l(m) {
|
|
@@ -1844,11 +1844,11 @@ function En(e) {
|
|
|
1844
1844
|
function f(m) {
|
|
1845
1845
|
t.includes(m) ? n(i() ? [] : t.filter((v) => v !== m)) : n(i() ? [m] : t.concat(m));
|
|
1846
1846
|
}
|
|
1847
|
-
return /* @__PURE__ */ s("div", { className: "builder-accordion", style:
|
|
1847
|
+
return /* @__PURE__ */ s("div", { className: "builder-accordion", style: r(), children: (b = e.items) == null ? void 0 : b.map((m, v) => /* @__PURE__ */ $(ft.Fragment, { children: [
|
|
1848
1848
|
/* @__PURE__ */ s(
|
|
1849
1849
|
"div",
|
|
1850
1850
|
{
|
|
1851
|
-
className:
|
|
1851
|
+
className: a(v),
|
|
1852
1852
|
style: {
|
|
1853
1853
|
...o(),
|
|
1854
1854
|
...e.grid && {
|
|
@@ -2106,7 +2106,7 @@ const Rn = {
|
|
|
2106
2106
|
});
|
|
2107
2107
|
}
|
|
2108
2108
|
const n = e.get("columns");
|
|
2109
|
-
Array.isArray(n) && n.find((
|
|
2109
|
+
Array.isArray(n) && n.find((r) => r.get("width")) && (n.find((o) => !o.get("width")) || n.reduce((l, c) => l + c.get("width"), 0) !== 100) && t();
|
|
2110
2110
|
}
|
|
2111
2111
|
}, {
|
|
2112
2112
|
name: "space",
|
|
@@ -2160,7 +2160,7 @@ const Rn = {
|
|
|
2160
2160
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
2161
2161
|
onChange: (e) => {
|
|
2162
2162
|
e.delete("srcset"), e.delete("noWebp");
|
|
2163
|
-
function n(
|
|
2163
|
+
function n(a, l = 6e4) {
|
|
2164
2164
|
return new Promise((c, u) => {
|
|
2165
2165
|
const f = document.createElement("img");
|
|
2166
2166
|
let b = !1;
|
|
@@ -2168,21 +2168,21 @@ const Rn = {
|
|
|
2168
2168
|
b = !0, c(f);
|
|
2169
2169
|
}, f.addEventListener("error", (m) => {
|
|
2170
2170
|
console.warn("Image load failed", m.error), u(m.error);
|
|
2171
|
-
}), f.src =
|
|
2171
|
+
}), f.src = a, setTimeout(() => {
|
|
2172
2172
|
b || u(new Error("Image load timed out"));
|
|
2173
2173
|
}, l);
|
|
2174
2174
|
});
|
|
2175
2175
|
}
|
|
2176
|
-
function i(
|
|
2177
|
-
return Math.round(
|
|
2176
|
+
function i(a) {
|
|
2177
|
+
return Math.round(a * 1e3) / 1e3;
|
|
2178
2178
|
}
|
|
2179
|
-
const
|
|
2180
|
-
if (fetch(
|
|
2181
|
-
|
|
2182
|
-
}),
|
|
2183
|
-
return n(
|
|
2179
|
+
const r = e.get("image"), o = e.get("aspectRatio");
|
|
2180
|
+
if (fetch(r).then((a) => a.blob()).then((a) => {
|
|
2181
|
+
a.type.includes("svg") && e.set("noWebp", !0);
|
|
2182
|
+
}), r && (!o || o === 0.7041))
|
|
2183
|
+
return n(r).then((a) => {
|
|
2184
2184
|
const l = e.get("aspectRatio");
|
|
2185
|
-
e.get("image") ===
|
|
2185
|
+
e.get("image") === r && (!l || l === 0.7041) && a.width && a.height && (e.set("aspectRatio", i(a.height / a.width)), e.set("height", a.height), e.set("width", a.width));
|
|
2186
2186
|
});
|
|
2187
2187
|
}
|
|
2188
2188
|
}, {
|
|
@@ -2303,7 +2303,7 @@ function $n(e) {
|
|
|
2303
2303
|
var S, k, A, T, I, g, x, w, D, L, W, P, U;
|
|
2304
2304
|
const t = H(null), [n, i] = C(
|
|
2305
2305
|
() => Ce.getUserAttributes()
|
|
2306
|
-
), [
|
|
2306
|
+
), [r, o] = C(
|
|
2307
2307
|
() => {
|
|
2308
2308
|
var E, B, N;
|
|
2309
2309
|
return Tn(
|
|
@@ -2312,7 +2312,7 @@ function $n(e) {
|
|
|
2312
2312
|
(N = (B = e.builderContext) == null ? void 0 : B.rootState) == null ? void 0 : N.locale
|
|
2313
2313
|
);
|
|
2314
2314
|
}
|
|
2315
|
-
), [
|
|
2315
|
+
), [a, l] = C(
|
|
2316
2316
|
() => {
|
|
2317
2317
|
var E, B, N;
|
|
2318
2318
|
return In(
|
|
@@ -2381,12 +2381,12 @@ function $n(e) {
|
|
|
2381
2381
|
fireImmediately: F === "qwik"
|
|
2382
2382
|
}
|
|
2383
2383
|
);
|
|
2384
|
-
if (!(O() ||
|
|
2384
|
+
if (!(O() || le())) {
|
|
2385
2385
|
const N = h()[0];
|
|
2386
2386
|
t.current && (t.current.dispatchEvent(
|
|
2387
2387
|
new CustomEvent("builder.variantLoaded", {
|
|
2388
2388
|
detail: {
|
|
2389
|
-
variant: N ||
|
|
2389
|
+
variant: N || ie,
|
|
2390
2390
|
content: (B = e.builderContext) == null ? void 0 : B.content
|
|
2391
2391
|
},
|
|
2392
2392
|
bubbles: !0
|
|
@@ -2397,7 +2397,7 @@ function $n(e) {
|
|
|
2397
2397
|
te.isIntersecting && t.current && t.current.dispatchEvent(
|
|
2398
2398
|
new CustomEvent("builder.variantDisplayed", {
|
|
2399
2399
|
detail: {
|
|
2400
|
-
variant: N ||
|
|
2400
|
+
variant: N || ie,
|
|
2401
2401
|
content: (G = e.builderContext) == null ? void 0 : G.content
|
|
2402
2402
|
},
|
|
2403
2403
|
bubbles: !0
|
|
@@ -2410,7 +2410,7 @@ function $n(e) {
|
|
|
2410
2410
|
}, []), V(() => () => {
|
|
2411
2411
|
c.forEach((E) => E());
|
|
2412
2412
|
}, []), /* @__PURE__ */ $("div", { ref: t, ...d(), children: [
|
|
2413
|
-
m &&
|
|
2413
|
+
m && re.includes(F) ? /* @__PURE__ */ s(
|
|
2414
2414
|
_,
|
|
2415
2415
|
{
|
|
2416
2416
|
blocks: p().blocks,
|
|
@@ -2424,7 +2424,7 @@ function $n(e) {
|
|
|
2424
2424
|
}
|
|
2425
2425
|
}
|
|
2426
2426
|
) : null,
|
|
2427
|
-
!m &&
|
|
2427
|
+
!m && re.includes(F) || !re.includes(F) ? /* @__PURE__ */ $(R, { children: [
|
|
2428
2428
|
f ? /* @__PURE__ */ $(R, { children: [
|
|
2429
2429
|
/* @__PURE__ */ s(
|
|
2430
2430
|
ee,
|
|
@@ -2438,7 +2438,7 @@ function $n(e) {
|
|
|
2438
2438
|
q,
|
|
2439
2439
|
{
|
|
2440
2440
|
nonce: ((g = e.builderContext) == null ? void 0 : g.nonce) || "",
|
|
2441
|
-
scriptStr:
|
|
2441
|
+
scriptStr: a,
|
|
2442
2442
|
id: `variants-visibility-script-${(x = e.builderBlock) == null ? void 0 : x.id}`
|
|
2443
2443
|
}
|
|
2444
2444
|
),
|
|
@@ -2462,7 +2462,7 @@ function $n(e) {
|
|
|
2462
2462
|
q,
|
|
2463
2463
|
{
|
|
2464
2464
|
nonce: ((te = e.builderContext) == null ? void 0 : te.nonce) || "",
|
|
2465
|
-
scriptStr:
|
|
2465
|
+
scriptStr: r,
|
|
2466
2466
|
id: `variants-script-${(G = e.builderBlock) == null ? void 0 : G.id}-${B}`
|
|
2467
2467
|
}
|
|
2468
2468
|
)
|
|
@@ -2487,8 +2487,8 @@ function $n(e) {
|
|
|
2487
2487
|
q,
|
|
2488
2488
|
{
|
|
2489
2489
|
nonce: ((P = e.builderContext) == null ? void 0 : P.nonce) || "",
|
|
2490
|
-
scriptStr:
|
|
2491
|
-
id: `variants-script-${(U = e.builderBlock) == null ? void 0 : U.id}-${
|
|
2490
|
+
scriptStr: r,
|
|
2491
|
+
id: `variants-script-${(U = e.builderBlock) == null ? void 0 : U.id}-${ie}`
|
|
2492
2492
|
}
|
|
2493
2493
|
) : null
|
|
2494
2494
|
}
|
|
@@ -2763,11 +2763,11 @@ function _n(e) {
|
|
|
2763
2763
|
const [t, n] = C(
|
|
2764
2764
|
() => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
|
|
2765
2765
|
);
|
|
2766
|
-
function i(
|
|
2767
|
-
return e.tabs && e.tabs[
|
|
2766
|
+
function i(a) {
|
|
2767
|
+
return e.tabs && e.tabs[a].content;
|
|
2768
2768
|
}
|
|
2769
|
-
function a
|
|
2770
|
-
|
|
2769
|
+
function r(a) {
|
|
2770
|
+
a === t && e.collapsible ? n(-1) : n(a);
|
|
2771
2771
|
}
|
|
2772
2772
|
return /* @__PURE__ */ $("div", { children: [
|
|
2773
2773
|
/* @__PURE__ */ s(
|
|
@@ -2780,20 +2780,20 @@ function _n(e) {
|
|
|
2780
2780
|
justifyContent: e.tabHeaderLayout || "flex-start",
|
|
2781
2781
|
overflow: "auto"
|
|
2782
2782
|
},
|
|
2783
|
-
children: (o = e.tabs) == null ? void 0 : o.map((
|
|
2783
|
+
children: (o = e.tabs) == null ? void 0 : o.map((a, l) => /* @__PURE__ */ s(
|
|
2784
2784
|
"span",
|
|
2785
2785
|
{
|
|
2786
2786
|
className: `builder-tab-wrap ${t === l ? "builder-tab-active" : ""}`,
|
|
2787
2787
|
style: {
|
|
2788
2788
|
...t === l ? e.activeTabStyle : {}
|
|
2789
2789
|
},
|
|
2790
|
-
onClick: (c) =>
|
|
2790
|
+
onClick: (c) => r(l),
|
|
2791
2791
|
children: /* @__PURE__ */ s(
|
|
2792
2792
|
_,
|
|
2793
2793
|
{
|
|
2794
2794
|
parent: e.builderBlock.id,
|
|
2795
2795
|
path: `tabs.${l}.label`,
|
|
2796
|
-
blocks:
|
|
2796
|
+
blocks: a.label,
|
|
2797
2797
|
context: e.builderContext,
|
|
2798
2798
|
registeredComponents: e.builderComponents,
|
|
2799
2799
|
linkComponent: e.builderLinkComponent
|
|
@@ -2874,8 +2874,8 @@ const Mn = {
|
|
|
2874
2874
|
}]
|
|
2875
2875
|
};
|
|
2876
2876
|
function qn(e) {
|
|
2877
|
-
const t = H(null), [n, i] = C(() => []), [
|
|
2878
|
-
function
|
|
2877
|
+
const t = H(null), [n, i] = C(() => []), [r, o] = C(() => []);
|
|
2878
|
+
function a() {
|
|
2879
2879
|
var c;
|
|
2880
2880
|
if (!t.current || !((c = t.current) != null && c.getElementsByTagName) || typeof window == "undefined")
|
|
2881
2881
|
return;
|
|
@@ -2893,10 +2893,10 @@ function qn(e) {
|
|
|
2893
2893
|
"application/javascript",
|
|
2894
2894
|
"application/ecmascript"
|
|
2895
2895
|
].includes(f.type)) {
|
|
2896
|
-
if (
|
|
2896
|
+
if (r.includes(f.innerText))
|
|
2897
2897
|
continue;
|
|
2898
2898
|
try {
|
|
2899
|
-
|
|
2899
|
+
r.push(f.innerText), new Function(f.innerText)();
|
|
2900
2900
|
} catch (b) {
|
|
2901
2901
|
Z.warn(
|
|
2902
2902
|
"[BUILDER.IO] `CustomCode`: Error running script:",
|
|
@@ -2907,9 +2907,9 @@ function qn(e) {
|
|
|
2907
2907
|
}
|
|
2908
2908
|
}
|
|
2909
2909
|
return V(() => {
|
|
2910
|
-
|
|
2910
|
+
a();
|
|
2911
2911
|
}, []), V(() => {
|
|
2912
|
-
O() &&
|
|
2912
|
+
O() && a();
|
|
2913
2913
|
}, [e.code]), /* @__PURE__ */ s(
|
|
2914
2914
|
"div",
|
|
2915
2915
|
{
|
|
@@ -2936,7 +2936,7 @@ const jn = {
|
|
|
2936
2936
|
}]
|
|
2937
2937
|
}, zn = ["text/javascript", "application/javascript", "application/ecmascript"], Kn = (e) => zn.includes(e.type);
|
|
2938
2938
|
function Jn(e) {
|
|
2939
|
-
const t = H(null), [n, i] = C(() => []), [
|
|
2939
|
+
const t = H(null), [n, i] = C(() => []), [r, o] = C(() => []), [a, l] = C(() => !1);
|
|
2940
2940
|
function c() {
|
|
2941
2941
|
if (!t.current || !t.current.getElementsByTagName)
|
|
2942
2942
|
return;
|
|
@@ -2947,17 +2947,17 @@ function Jn(e) {
|
|
|
2947
2947
|
n.push(b.src);
|
|
2948
2948
|
const m = document.createElement("script");
|
|
2949
2949
|
m.async = !0, m.src = b.src, document.head.appendChild(m);
|
|
2950
|
-
} else if (Kn(b) && !
|
|
2950
|
+
} else if (Kn(b) && !r.includes(b.innerText))
|
|
2951
2951
|
try {
|
|
2952
|
-
|
|
2952
|
+
r.push(b.innerText), new Function(b.innerText)();
|
|
2953
2953
|
} catch (m) {
|
|
2954
2954
|
Z.warn("[BUILDER.IO] `Embed`: Error running script:", m);
|
|
2955
2955
|
}
|
|
2956
2956
|
}
|
|
2957
2957
|
}
|
|
2958
2958
|
return V(() => {
|
|
2959
|
-
t.current && !
|
|
2960
|
-
}, [t.current,
|
|
2959
|
+
t.current && !a && (l(!0), c());
|
|
2960
|
+
}, [t.current, a]), /* @__PURE__ */ s(
|
|
2961
2961
|
"div",
|
|
2962
2962
|
{
|
|
2963
2963
|
className: "builder-embed",
|
|
@@ -3208,7 +3208,7 @@ const Gn = {
|
|
|
3208
3208
|
return Qn.includes(e) ? e : "production";
|
|
3209
3209
|
};
|
|
3210
3210
|
function Xn(e) {
|
|
3211
|
-
const t = H(null), [n, i] = C(() => "unsubmitted"), [
|
|
3211
|
+
const t = H(null), [n, i] = C(() => "unsubmitted"), [r, o] = C(() => null), [a, l] = C(() => "");
|
|
3212
3212
|
function c(b) {
|
|
3213
3213
|
var v, d;
|
|
3214
3214
|
const m = {
|
|
@@ -3356,7 +3356,7 @@ function Xn(e) {
|
|
|
3356
3356
|
context: e.builderContext
|
|
3357
3357
|
}
|
|
3358
3358
|
) : null,
|
|
3359
|
-
u() === "error" &&
|
|
3359
|
+
u() === "error" && r ? /* @__PURE__ */ s("pre", { className: "builder-form-error-text pre-7c90c93e", children: JSON.stringify(r, null, 2) }) : null,
|
|
3360
3360
|
u() === "success" ? /* @__PURE__ */ s(
|
|
3361
3361
|
_,
|
|
3362
3362
|
{
|
|
@@ -3522,10 +3522,10 @@ const ii = {
|
|
|
3522
3522
|
// TODO: defaultChildren
|
|
3523
3523
|
// canHaveChildren: true,
|
|
3524
3524
|
};
|
|
3525
|
-
function
|
|
3525
|
+
function ri(e) {
|
|
3526
3526
|
return /* @__PURE__ */ s("button", { type: "submit", ...e.attributes, children: e.text });
|
|
3527
3527
|
}
|
|
3528
|
-
const
|
|
3528
|
+
const ai = {
|
|
3529
3529
|
name: "Form:TextArea",
|
|
3530
3530
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
3531
3531
|
inputs: [{
|
|
@@ -3591,6 +3591,11 @@ const li = {
|
|
|
3591
3591
|
static: !0
|
|
3592
3592
|
};
|
|
3593
3593
|
function si(e) {
|
|
3594
|
+
function t() {
|
|
3595
|
+
const n = e.imgSrc || e.image;
|
|
3596
|
+
if (!(!n || typeof n != "string") && n.match(/builder\.io/))
|
|
3597
|
+
return ne(n);
|
|
3598
|
+
}
|
|
3594
3599
|
return /* @__PURE__ */ s(
|
|
3595
3600
|
"img",
|
|
3596
3601
|
{
|
|
@@ -3600,6 +3605,7 @@ function si(e) {
|
|
|
3600
3605
|
},
|
|
3601
3606
|
alt: e.altText,
|
|
3602
3607
|
src: e.imgSrc || e.image,
|
|
3608
|
+
srcSet: t(),
|
|
3603
3609
|
...e.attributes
|
|
3604
3610
|
},
|
|
3605
3611
|
O() && e.imgSrc || "default-key"
|
|
@@ -3691,7 +3697,7 @@ const ci = {
|
|
|
3691
3697
|
}
|
|
3692
3698
|
};
|
|
3693
3699
|
function ui(e) {
|
|
3694
|
-
var
|
|
3700
|
+
var a, l, c, u, f, b, m;
|
|
3695
3701
|
const t = H(null);
|
|
3696
3702
|
function n() {
|
|
3697
3703
|
return {
|
|
@@ -3717,7 +3723,7 @@ function ui(e) {
|
|
|
3717
3723
|
...n()
|
|
3718
3724
|
};
|
|
3719
3725
|
}
|
|
3720
|
-
const [
|
|
3726
|
+
const [r, o] = C(() => {
|
|
3721
3727
|
});
|
|
3722
3728
|
return V(() => {
|
|
3723
3729
|
if (e.lazyLoad) {
|
|
@@ -3741,7 +3747,7 @@ function ui(e) {
|
|
|
3741
3747
|
t.current && v.observe(t.current), o(v);
|
|
3742
3748
|
}
|
|
3743
3749
|
}, []), V(() => () => {
|
|
3744
|
-
|
|
3750
|
+
r && r.disconnect();
|
|
3745
3751
|
}, []), /* @__PURE__ */ $(
|
|
3746
3752
|
"div",
|
|
3747
3753
|
{
|
|
@@ -3759,7 +3765,7 @@ function ui(e) {
|
|
|
3759
3765
|
style: {
|
|
3760
3766
|
width: "100%",
|
|
3761
3767
|
height: "100%",
|
|
3762
|
-
...(
|
|
3768
|
+
...(a = e.attributes) == null ? void 0 : a.style,
|
|
3763
3769
|
objectFit: e.fit,
|
|
3764
3770
|
objectPosition: e.position,
|
|
3765
3771
|
// Hack to get object fit to work as expected and
|
|
@@ -3839,14 +3845,14 @@ const di = () => [{
|
|
|
3839
3845
|
component: ei,
|
|
3840
3846
|
...Zn
|
|
3841
3847
|
}, {
|
|
3842
|
-
component:
|
|
3848
|
+
component: ri,
|
|
3843
3849
|
...ii
|
|
3844
3850
|
}, {
|
|
3845
3851
|
component: ni,
|
|
3846
3852
|
...ti
|
|
3847
3853
|
}, {
|
|
3848
3854
|
component: oi,
|
|
3849
|
-
...
|
|
3855
|
+
...ai
|
|
3850
3856
|
}, {
|
|
3851
3857
|
component: si,
|
|
3852
3858
|
...li
|
|
@@ -3979,7 +3985,7 @@ const di = () => [{
|
|
|
3979
3985
|
thisScriptEl?.remove();
|
|
3980
3986
|
}
|
|
3981
3987
|
return;
|
|
3982
|
-
}`,
|
|
3988
|
+
}`, rt = "builderIoAbTest", at = "builderIoRenderContent", ae = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
3983
3989
|
...t,
|
|
3984
3990
|
testVariationId: t.id,
|
|
3985
3991
|
id: e == null ? void 0 : e.id
|
|
@@ -3987,15 +3993,15 @@ const di = () => [{
|
|
|
3987
3993
|
canTrack: e,
|
|
3988
3994
|
content: t
|
|
3989
3995
|
}) => !(!(ae(t).length > 0) || !e || K()), gi = (e) => e === "react" || e === "reactNative", bi = F === "angular", ot = gi(F), yi = () => `
|
|
3990
|
-
window.${
|
|
3991
|
-
window.${
|
|
3996
|
+
window.${rt} = ${mi}
|
|
3997
|
+
window.${at} = ${fi}
|
|
3992
3998
|
`, pi = (e, t) => `
|
|
3993
|
-
window.${
|
|
3999
|
+
window.${rt}(
|
|
3994
4000
|
"${t}",${JSON.stringify(e)}, ${ot}, ${bi}
|
|
3995
4001
|
)`, vi = ({
|
|
3996
4002
|
contentId: e,
|
|
3997
4003
|
variationId: t
|
|
3998
|
-
}) => `window.${
|
|
4004
|
+
}) => `window.${at}(
|
|
3999
4005
|
"${t}", "${e}", ${ot}
|
|
4000
4006
|
)`;
|
|
4001
4007
|
function Ne(e) {
|
|
@@ -4019,10 +4025,10 @@ const xi = (e, t, n = !0) => {
|
|
|
4019
4025
|
event: e,
|
|
4020
4026
|
target: t
|
|
4021
4027
|
}) => {
|
|
4022
|
-
const n = t.getBoundingClientRect(), i = e.clientX - n.left,
|
|
4028
|
+
const n = t.getBoundingClientRect(), i = e.clientX - n.left, r = e.clientY - n.top, o = Ne(i / n.width), a = Ne(r / n.height);
|
|
4023
4029
|
return {
|
|
4024
4030
|
x: o,
|
|
4025
|
-
y:
|
|
4031
|
+
y: a
|
|
4026
4032
|
};
|
|
4027
4033
|
}, ki = (e) => {
|
|
4028
4034
|
const t = e.target, n = t && Si(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
@@ -4040,11 +4046,11 @@ const xi = (e, t, n = !0) => {
|
|
|
4040
4046
|
builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
|
|
4041
4047
|
}
|
|
4042
4048
|
};
|
|
4043
|
-
}, Ci = ["svelte", "qwik", "vue"], We = () => Ci.includes(F) && (O() ||
|
|
4044
|
-
var o,
|
|
4045
|
-
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (
|
|
4046
|
-
let
|
|
4047
|
-
if (i && t && n && (
|
|
4049
|
+
}, Ci = ["svelte", "qwik", "vue"], We = () => Ci.includes(F) && (O() || le()), Ti = (e) => {
|
|
4050
|
+
var o, a;
|
|
4051
|
+
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (a = e.fileUrl) != null ? a : (o = e == null ? void 0 : e.files) == null ? void 0 : o.regular;
|
|
4052
|
+
let r = "";
|
|
4053
|
+
if (i && t && n && (r += `
|
|
4048
4054
|
@font-face {
|
|
4049
4055
|
font-family: "${t}";
|
|
4050
4056
|
src: local("${n}"), url('${i}') format('woff2');
|
|
@@ -4056,7 +4062,7 @@ font-weight: 400;
|
|
|
4056
4062
|
if (!(String(Number(l)) === l))
|
|
4057
4063
|
continue;
|
|
4058
4064
|
const u = e.files[l];
|
|
4059
|
-
u && u !== i && (
|
|
4065
|
+
u && u !== i && (r += `
|
|
4060
4066
|
@font-face {
|
|
4061
4067
|
font-family: "${t}";
|
|
4062
4068
|
src: url('${u}') format('woff2');
|
|
@@ -4065,7 +4071,7 @@ font-weight: ${l};
|
|
|
4065
4071
|
}
|
|
4066
4072
|
`.trim());
|
|
4067
4073
|
}
|
|
4068
|
-
return
|
|
4074
|
+
return r;
|
|
4069
4075
|
}, Ii = ({
|
|
4070
4076
|
customFonts: e
|
|
4071
4077
|
}) => {
|
|
@@ -4127,13 +4133,13 @@ function Vi(e) {
|
|
|
4127
4133
|
content: I
|
|
4128
4134
|
}));
|
|
4129
4135
|
}
|
|
4130
|
-
function
|
|
4136
|
+
function r() {
|
|
4131
4137
|
return e.showContent ? {} : {
|
|
4132
4138
|
hidden: !0,
|
|
4133
4139
|
"aria-hidden": !0
|
|
4134
4140
|
};
|
|
4135
4141
|
}
|
|
4136
|
-
const [o,
|
|
4142
|
+
const [o, a] = C(
|
|
4137
4143
|
() => e.contentWrapper || "div"
|
|
4138
4144
|
);
|
|
4139
4145
|
function l(T) {
|
|
@@ -4268,7 +4274,7 @@ function Vi(e) {
|
|
|
4268
4274
|
variationId: L !== P ? L : void 0
|
|
4269
4275
|
});
|
|
4270
4276
|
}
|
|
4271
|
-
if (
|
|
4277
|
+
if (le() && !O()) {
|
|
4272
4278
|
const P = new URL(location.href).searchParams, U = P.get("builder.preview"), E = P.get(
|
|
4273
4279
|
`builder.overrides.${U}`
|
|
4274
4280
|
), B = P.get("apiKey") || P.get("builder.space");
|
|
@@ -4314,7 +4320,7 @@ function Vi(e) {
|
|
|
4314
4320
|
style: {
|
|
4315
4321
|
display: !e.builderContextSignal.content && We() ? "none" : void 0
|
|
4316
4322
|
},
|
|
4317
|
-
...
|
|
4323
|
+
...r(),
|
|
4318
4324
|
...e.contentWrapperProps,
|
|
4319
4325
|
children: e.children
|
|
4320
4326
|
}
|
|
@@ -4347,13 +4353,13 @@ const Bi = ({
|
|
|
4347
4353
|
data: t,
|
|
4348
4354
|
locale: n
|
|
4349
4355
|
}) => {
|
|
4350
|
-
var o,
|
|
4351
|
-
const i = {},
|
|
4352
|
-
return (l = (
|
|
4356
|
+
var o, a, l;
|
|
4357
|
+
const i = {}, r = ((o = e == null ? void 0 : e.data) == null ? void 0 : o.state) || {};
|
|
4358
|
+
return (l = (a = e == null ? void 0 : e.data) == null ? void 0 : a.inputs) == null || l.forEach((c) => {
|
|
4353
4359
|
c.name && c.defaultValue !== void 0 && (i[c.name] = c.defaultValue);
|
|
4354
4360
|
}), {
|
|
4355
4361
|
...i,
|
|
4356
|
-
...
|
|
4362
|
+
...r,
|
|
4357
4363
|
...t,
|
|
4358
4364
|
...n ? {
|
|
4359
4365
|
locale: n
|
|
@@ -4389,7 +4395,7 @@ function De(e) {
|
|
|
4389
4395
|
rootState: S
|
|
4390
4396
|
}));
|
|
4391
4397
|
}
|
|
4392
|
-
const [
|
|
4398
|
+
const [r, o] = C(
|
|
4393
4399
|
() => [
|
|
4394
4400
|
...Be(),
|
|
4395
4401
|
...e.customComponents || []
|
|
@@ -4403,7 +4409,7 @@ function De(e) {
|
|
|
4403
4409
|
}),
|
|
4404
4410
|
{}
|
|
4405
4411
|
)
|
|
4406
|
-
), [
|
|
4412
|
+
), [a, l] = C(() => ({
|
|
4407
4413
|
content: Ni({
|
|
4408
4414
|
content: e.content,
|
|
4409
4415
|
data: e.data
|
|
@@ -4439,14 +4445,14 @@ function De(e) {
|
|
|
4439
4445
|
e.apiKey || Z.error(
|
|
4440
4446
|
"No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
4441
4447
|
);
|
|
4442
|
-
const S = (f = (u =
|
|
4448
|
+
const S = (f = (u = a.content) == null ? void 0 : u.data) == null ? void 0 : f.jsCode;
|
|
4443
4449
|
S && J({
|
|
4444
4450
|
code: S,
|
|
4445
4451
|
context: e.context || {},
|
|
4446
4452
|
localState: void 0,
|
|
4447
|
-
rootState:
|
|
4453
|
+
rootState: a.rootState,
|
|
4448
4454
|
rootSetState: (k) => {
|
|
4449
|
-
Object.assign(
|
|
4455
|
+
Object.assign(a.rootState, k);
|
|
4450
4456
|
},
|
|
4451
4457
|
isExpression: !1
|
|
4452
4458
|
}), c.current = !0;
|
|
@@ -4455,7 +4461,7 @@ function De(e) {
|
|
|
4455
4461
|
He.Provider,
|
|
4456
4462
|
{
|
|
4457
4463
|
value: {
|
|
4458
|
-
registeredComponents:
|
|
4464
|
+
registeredComponents: r
|
|
4459
4465
|
},
|
|
4460
4466
|
children: /* @__PURE__ */ $(
|
|
4461
4467
|
Vi,
|
|
@@ -4471,7 +4477,7 @@ function De(e) {
|
|
|
4471
4477
|
locale: e.locale,
|
|
4472
4478
|
enrich: e.enrich,
|
|
4473
4479
|
showContent: e.showContent,
|
|
4474
|
-
builderContextSignal:
|
|
4480
|
+
builderContextSignal: a,
|
|
4475
4481
|
contentWrapper: e.contentWrapper,
|
|
4476
4482
|
contentWrapperProps: e.contentWrapperProps,
|
|
4477
4483
|
trustedHosts: e.trustedHosts,
|
|
@@ -4491,17 +4497,17 @@ function De(e) {
|
|
|
4491
4497
|
{
|
|
4492
4498
|
nonce: e.nonce || "",
|
|
4493
4499
|
isNestedRender: e.isNestedRender,
|
|
4494
|
-
contentId: (b =
|
|
4495
|
-
cssCode: (v = (m =
|
|
4496
|
-
customFonts: (h = (d =
|
|
4500
|
+
contentId: (b = a.content) == null ? void 0 : b.id,
|
|
4501
|
+
cssCode: (v = (m = a.content) == null ? void 0 : m.data) == null ? void 0 : v.cssCode,
|
|
4502
|
+
customFonts: (h = (d = a.content) == null ? void 0 : d.data) == null ? void 0 : h.customFonts
|
|
4497
4503
|
}
|
|
4498
4504
|
),
|
|
4499
4505
|
/* @__PURE__ */ s(
|
|
4500
4506
|
_,
|
|
4501
4507
|
{
|
|
4502
|
-
blocks: (y = (p =
|
|
4503
|
-
context:
|
|
4504
|
-
registeredComponents:
|
|
4508
|
+
blocks: (y = (p = a.content) == null ? void 0 : p.data) == null ? void 0 : y.blocks,
|
|
4509
|
+
context: a,
|
|
4510
|
+
registeredComponents: r,
|
|
4505
4511
|
linkComponent: e.linkComponent
|
|
4506
4512
|
}
|
|
4507
4513
|
)
|
|
@@ -4512,7 +4518,7 @@ function De(e) {
|
|
|
4512
4518
|
);
|
|
4513
4519
|
}
|
|
4514
4520
|
function $i(e) {
|
|
4515
|
-
var
|
|
4521
|
+
var a;
|
|
4516
4522
|
const [t, n] = C(
|
|
4517
4523
|
() => hi({
|
|
4518
4524
|
canTrack: X(e.canTrack),
|
|
@@ -4529,7 +4535,7 @@ function $i(e) {
|
|
|
4529
4535
|
((l = e.content) == null ? void 0 : l.id) || ""
|
|
4530
4536
|
);
|
|
4531
4537
|
}
|
|
4532
|
-
function
|
|
4538
|
+
function r() {
|
|
4533
4539
|
return ae(e.content).map((l) => `.variant-${l.testVariationId} { display: none; } `).join("");
|
|
4534
4540
|
}
|
|
4535
4541
|
function o() {
|
|
@@ -4567,7 +4573,7 @@ function $i(e) {
|
|
|
4567
4573
|
ee,
|
|
4568
4574
|
{
|
|
4569
4575
|
id: "builderio-variants",
|
|
4570
|
-
styles:
|
|
4576
|
+
styles: r(),
|
|
4571
4577
|
nonce: e.nonce || ""
|
|
4572
4578
|
}
|
|
4573
4579
|
),
|
|
@@ -4579,7 +4585,7 @@ function $i(e) {
|
|
|
4579
4585
|
nonce: e.nonce || ""
|
|
4580
4586
|
}
|
|
4581
4587
|
),
|
|
4582
|
-
(
|
|
4588
|
+
(a = ae(e.content)) == null ? void 0 : a.map((l) => /* @__PURE__ */ s(
|
|
4583
4589
|
De,
|
|
4584
4590
|
{
|
|
4585
4591
|
apiHost: e.apiHost,
|
|
@@ -4671,16 +4677,16 @@ function Di(e) {
|
|
|
4671
4677
|
(h = e.symbol) != null && h.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
|
|
4672
4678
|
].filter(Boolean).join(" ");
|
|
4673
4679
|
}
|
|
4674
|
-
const [
|
|
4680
|
+
const [r, o] = C(() => {
|
|
4675
4681
|
var d;
|
|
4676
4682
|
return (d = e.symbol) == null ? void 0 : d.content;
|
|
4677
|
-
}), [
|
|
4683
|
+
}), [a, l] = C(() => {
|
|
4678
4684
|
var d;
|
|
4679
4685
|
return (d = e.symbol) == null ? void 0 : d.entry;
|
|
4680
4686
|
});
|
|
4681
4687
|
function c() {
|
|
4682
4688
|
var d;
|
|
4683
|
-
|
|
4689
|
+
r && a === ((d = e.symbol) == null ? void 0 : d.entry) || Wi({
|
|
4684
4690
|
symbol: e.symbol,
|
|
4685
4691
|
builderContextValue: e.builderContext
|
|
4686
4692
|
}).then((h) => {
|
|
@@ -4706,11 +4712,11 @@ function Di(e) {
|
|
|
4706
4712
|
data: {
|
|
4707
4713
|
...(f = e.symbol) == null ? void 0 : f.data,
|
|
4708
4714
|
...e.builderContext.localState,
|
|
4709
|
-
...(b =
|
|
4715
|
+
...(b = r == null ? void 0 : r.data) == null ? void 0 : b.state
|
|
4710
4716
|
},
|
|
4711
4717
|
canTrack: e.builderContext.canTrack,
|
|
4712
4718
|
model: (v = (m = e.symbol) == null ? void 0 : m.model) != null ? v : "",
|
|
4713
|
-
content:
|
|
4719
|
+
content: r,
|
|
4714
4720
|
linkComponent: e.builderLinkComponent,
|
|
4715
4721
|
blocksWrapper: t(),
|
|
4716
4722
|
contentWrapper: n()
|