@builder.io/sdk-react 4.0.7 → 4.0.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/blocks-exports.cjs +13 -13
- package/lib/browser/blocks-exports.mjs +613 -605
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{server-entry-4c650ff5.cjs → server-entry-8ea5d047.cjs} +1 -1
- package/lib/browser/{server-entry-e70c12ff.js → server-entry-d0b98fb0.js} +1 -1
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/{accordion-742ca147.js → accordion-8ef468e5.js} +1 -1
- package/lib/edge/{accordion-c97e6506.cjs → accordion-94839d7d.cjs} +1 -1
- package/lib/edge/{blocks-2a015bd6.js → blocks-548ec8c2.js} +879 -876
- package/lib/edge/{blocks-70894a53.cjs → blocks-7e8837dc.cjs} +15 -15
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-deecd9b5.js → button-09f38c2e.js} +2 -2
- package/lib/edge/{button-6a072716.cjs → button-66c37b9c.cjs} +1 -1
- package/lib/edge/{columns-0e9b2bf4.js → columns-42cbe467.js} +3 -3
- package/lib/edge/{columns-02352a9f.cjs → columns-67ded4b4.cjs} +1 -1
- package/lib/edge/{content-variants-6948115a.js → content-variants-5a4eecaf.js} +12 -12
- package/lib/edge/{content-variants-41781d1f.cjs → content-variants-cf107f82.cjs} +1 -1
- package/lib/edge/{custom-code-73f76f76.js → custom-code-cf216b27.js} +1 -1
- package/lib/edge/{custom-code-77f98605.cjs → custom-code-ea534e98.cjs} +1 -1
- package/lib/edge/{embed-26470ea1.js → embed-12b85639.js} +1 -1
- package/lib/edge/{embed-9aaf87f9.cjs → embed-7ca4af6e.cjs} +1 -1
- package/lib/edge/{form-0213200e.cjs → form-85ea06df.cjs} +1 -1
- package/lib/edge/{form-652ef8a9.js → form-f1188ad2.js} +3 -3
- package/lib/edge/{get-class-prop-name-8647a440.cjs → get-class-prop-name-316a93c9.cjs} +1 -1
- package/lib/edge/{get-class-prop-name-1a003fac.js → get-class-prop-name-90df5962.js} +1 -1
- package/lib/edge/{img-f0b9e982.cjs → img-81a7f4d7.cjs} +1 -1
- package/lib/edge/{img-2d35513d.js → img-ee2838af.js} +1 -1
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{input-e61cf32f.cjs → input-231ec63f.cjs} +1 -1
- package/lib/edge/{input-cdd96bc7.js → input-b8907c7d.js} +1 -1
- package/lib/edge/{personalization-container-e1f03976.js → personalization-container-896a298a.js} +4 -4
- package/lib/edge/{personalization-container-4f73fbdf.cjs → personalization-container-95cba946.cjs} +1 -1
- package/lib/edge/{select-f1165866.cjs → select-b1650a75.cjs} +1 -1
- package/lib/edge/{select-de96bdc0.js → select-ffee7a69.js} +1 -1
- package/lib/edge/{server-entry-10ca8502.cjs → server-entry-1b560ddb.cjs} +1 -1
- package/lib/edge/{server-entry-637ed5ff.js → server-entry-e9974799.js} +1 -1
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-3ecf31d9.cjs → slot-ddddba8d.cjs} +1 -1
- package/lib/edge/{slot-72846242.js → slot-fe93ec42.js} +3 -3
- package/lib/edge/symbol-c266ba83.js +90 -0
- package/lib/edge/symbol-d9175a66.cjs +1 -0
- package/lib/edge/{tabs-ea0258b8.js → tabs-3481a6f6.js} +3 -3
- package/lib/edge/{tabs-788974d9.cjs → tabs-f76f757a.cjs} +1 -1
- package/lib/node/blocks-exports.cjs +17 -17
- package/lib/node/blocks-exports.mjs +426 -418
- 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-e76904a8.cjs → server-entry-03fc1c6d.cjs} +1 -1
- package/lib/node/{server-entry-7167da7c.js → server-entry-2b91f2d9.js} +1 -1
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/lib/node/{setIvm-e89d1a08.cjs → setIvm-26e766c5.cjs} +1 -1
- package/lib/node/{setIvm-72c91afa.js → setIvm-419a94e0.js} +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-09a401d5.js → should-force-browser-runtime-in-node-67506521.js} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-b3e23348.cjs → should-force-browser-runtime-in-node-fe3d9cb0.cjs} +1 -1
- package/package.json +1 -1
- package/types/constants/sdk-version.d.ts +1 -1
- package/lib/edge/symbol-49ed2192.cjs +0 -1
- package/lib/edge/symbol-61a3651b.js +0 -85
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { TARGET as L, isEditing as A, isBrowser as U, getUserAttributes as Xe, checkIsDefined as Q, logger as _, isPreviewing as Z, userAttributesService as be, getDefaultCanTrack as j, logFetch as Be, registerInsertMenu as Ze, setupBrowserForEditing as et, createRegisterComponentMessage as tt, getCookieSync as nt, _track as pe, fetchOneEntry as Ae, createEditorListener as it, serializeIncludingFunctions as ye, handleABTestingSync as
|
|
3
|
-
import { setClientUserAttributes as Ri } from "./server-entry-
|
|
4
|
-
import { jsx as s, Fragment as
|
|
5
|
-
import * as
|
|
6
|
-
import { createContext as Ne, useEffect as
|
|
2
|
+
import { TARGET as L, isEditing as A, isBrowser as U, getUserAttributes as Xe, checkIsDefined as Q, logger as _, isPreviewing as Z, userAttributesService as be, getDefaultCanTrack as j, logFetch as Be, registerInsertMenu as Ze, setupBrowserForEditing as et, createRegisterComponentMessage as tt, getCookieSync as nt, _track as pe, fetchOneEntry as Ae, createEditorListener as it, serializeIncludingFunctions as ye, handleABTestingSync as ot } from "./server-entry-d0b98fb0.js";
|
|
3
|
+
import { setClientUserAttributes as Ri } from "./server-entry-d0b98fb0.js";
|
|
4
|
+
import { jsx as s, Fragment as P, jsxs as B } from "react/jsx-runtime";
|
|
5
|
+
import * as at from "react";
|
|
6
|
+
import { createContext as Ne, useEffect as R, useState as I, useRef as O, useContext as ve, createElement as We } from "react";
|
|
7
7
|
const rt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), lt = (e) => typeof e == "string" && rt.has(e.toLowerCase());
|
|
8
8
|
function ue(e) {
|
|
9
|
-
return /* @__PURE__ */ s(
|
|
9
|
+
return /* @__PURE__ */ s(P, { children: lt(e.TagName) ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(P, { 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 }) }) });
|
|
10
10
|
}
|
|
11
11
|
const z = () => {
|
|
12
12
|
switch (L) {
|
|
@@ -62,7 +62,7 @@ const de = Ne({
|
|
|
62
62
|
nonce: "",
|
|
63
63
|
model: ""
|
|
64
64
|
}), De = Ne({ registeredComponents: {} }), $e = (e, t, n) => {
|
|
65
|
-
const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((
|
|
65
|
+
const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, a) => o != null ? o[a] : o, e);
|
|
66
66
|
return i === void 0 || i === e ? n : i;
|
|
67
67
|
}, ct = ({
|
|
68
68
|
builder: e,
|
|
@@ -90,22 +90,22 @@ function Fe({
|
|
|
90
90
|
rootSetState: n
|
|
91
91
|
}) {
|
|
92
92
|
return new Proxy(e, {
|
|
93
|
-
get: (i,
|
|
94
|
-
if (t &&
|
|
95
|
-
return t[
|
|
96
|
-
const
|
|
97
|
-
return typeof
|
|
98
|
-
rootState:
|
|
93
|
+
get: (i, o) => {
|
|
94
|
+
if (t && o in t)
|
|
95
|
+
return t[o];
|
|
96
|
+
const a = i[o];
|
|
97
|
+
return typeof a == "object" && a !== null ? Fe({
|
|
98
|
+
rootState: a,
|
|
99
99
|
localState: void 0,
|
|
100
100
|
rootSetState: n ? (r) => {
|
|
101
|
-
i[
|
|
101
|
+
i[o] = r, n(i);
|
|
102
102
|
} : void 0
|
|
103
|
-
}) :
|
|
103
|
+
}) : a;
|
|
104
104
|
},
|
|
105
|
-
set: (i,
|
|
106
|
-
if (t &&
|
|
105
|
+
set: (i, o, a) => {
|
|
106
|
+
if (t && o in t)
|
|
107
107
|
throw new Error("Writing to local state is not allowed as it is read-only.");
|
|
108
|
-
return i[
|
|
108
|
+
return i[o] = a, n == null || n(i), !0;
|
|
109
109
|
}
|
|
110
110
|
});
|
|
111
111
|
}
|
|
@@ -114,8 +114,8 @@ const xe = ({
|
|
|
114
114
|
builder: t,
|
|
115
115
|
context: n,
|
|
116
116
|
event: i,
|
|
117
|
-
localState:
|
|
118
|
-
rootSetState:
|
|
117
|
+
localState: o,
|
|
118
|
+
rootSetState: a,
|
|
119
119
|
rootState: r
|
|
120
120
|
}) => {
|
|
121
121
|
const l = ct({
|
|
@@ -124,8 +124,8 @@ const xe = ({
|
|
|
124
124
|
event: i,
|
|
125
125
|
state: Fe({
|
|
126
126
|
rootState: r,
|
|
127
|
-
localState:
|
|
128
|
-
rootSetState:
|
|
127
|
+
localState: o,
|
|
128
|
+
rootSetState: a
|
|
129
129
|
})
|
|
130
130
|
});
|
|
131
131
|
return new Function(...l.map(([d]) => d), e)(...l.map(([, d]) => d));
|
|
@@ -137,24 +137,24 @@ function mt() {
|
|
|
137
137
|
const ft = ({
|
|
138
138
|
shouldLogWarning: e
|
|
139
139
|
}) => {
|
|
140
|
-
var
|
|
140
|
+
var o;
|
|
141
141
|
if (!mt())
|
|
142
142
|
return !1;
|
|
143
|
-
const t = process.arch === "arm64", n = process.version.startsWith("v20"), i = (
|
|
143
|
+
const t = process.arch === "arm64", n = process.version.startsWith("v20"), i = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
|
|
144
144
|
return t && n && !i ? (e && _.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;
|
|
145
145
|
}, ht = (e) => (U() || ft({
|
|
146
146
|
shouldLogWarning: !0
|
|
147
147
|
}), xe(e)), gt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, bt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, pt = (e) => {
|
|
148
|
-
var t, n, i,
|
|
149
|
-
return ((i = (n = (t = gt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((r = (
|
|
148
|
+
var t, n, i, o, a, r;
|
|
149
|
+
return ((i = (n = (t = gt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((r = (a = (o = bt.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : a.getPath) == null ? void 0 : r.slice(1));
|
|
150
150
|
};
|
|
151
151
|
function q({
|
|
152
152
|
code: e,
|
|
153
153
|
context: t,
|
|
154
154
|
localState: n,
|
|
155
155
|
rootState: i,
|
|
156
|
-
rootSetState:
|
|
157
|
-
event:
|
|
156
|
+
rootSetState: o,
|
|
157
|
+
event: a,
|
|
158
158
|
isExpression: r = !0
|
|
159
159
|
}) {
|
|
160
160
|
if (e.trim() === "")
|
|
@@ -171,15 +171,15 @@ function q({
|
|
|
171
171
|
}),
|
|
172
172
|
builder: ut(),
|
|
173
173
|
context: t,
|
|
174
|
-
event:
|
|
175
|
-
rootSetState:
|
|
174
|
+
event: a,
|
|
175
|
+
rootSetState: o,
|
|
176
176
|
rootState: i,
|
|
177
177
|
localState: n
|
|
178
178
|
};
|
|
179
179
|
try {
|
|
180
180
|
return ht(d);
|
|
181
|
-
} catch (
|
|
182
|
-
_.error("Failed code evaluation: " +
|
|
181
|
+
} catch (c) {
|
|
182
|
+
_.error("Failed code evaluation: " + c.message, {
|
|
183
183
|
code: e
|
|
184
184
|
});
|
|
185
185
|
return;
|
|
@@ -198,8 +198,8 @@ const vt = (e, t) => {
|
|
|
198
198
|
if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((i = e.component.options) != null && i.text) && typeof e.component.options.text == "string")
|
|
199
199
|
return {
|
|
200
200
|
...e.component.options,
|
|
201
|
-
text: e.component.options.text.replace(/{{([^}]+)}}/g, (
|
|
202
|
-
code:
|
|
201
|
+
text: e.component.options.text.replace(/{{([^}]+)}}/g, (o, a) => q({
|
|
202
|
+
code: a,
|
|
203
203
|
context: t,
|
|
204
204
|
localState: t.localState,
|
|
205
205
|
rootState: t.rootState,
|
|
@@ -213,21 +213,21 @@ function xt(e, ...t) {
|
|
|
213
213
|
delete n[i];
|
|
214
214
|
return n;
|
|
215
215
|
}
|
|
216
|
-
function Y(e, t, n = null, i = null,
|
|
216
|
+
function Y(e, t, n = null, i = null, o = /* @__PURE__ */ new WeakSet()) {
|
|
217
217
|
if (e == null || typeof e != "object") {
|
|
218
|
-
t(e, (
|
|
219
|
-
n !== null && i !== null && (n[i] =
|
|
218
|
+
t(e, (a) => {
|
|
219
|
+
n !== null && i !== null && (n[i] = a);
|
|
220
220
|
});
|
|
221
221
|
return;
|
|
222
222
|
}
|
|
223
|
-
|
|
224
|
-
t(
|
|
223
|
+
o.has(e) || (o.add(e), Array.isArray(e) ? e.forEach((a, r) => {
|
|
224
|
+
t(a, (d) => {
|
|
225
225
|
e[r] = d;
|
|
226
|
-
}), Y(
|
|
227
|
-
}) : Object.entries(e).forEach(([
|
|
226
|
+
}), Y(a, t, e, r, o);
|
|
227
|
+
}) : Object.entries(e).forEach(([a, r]) => {
|
|
228
228
|
t(r, (d) => {
|
|
229
|
-
e[
|
|
230
|
-
}), Y(r, t, e,
|
|
229
|
+
e[a] = d;
|
|
230
|
+
}), Y(r, t, e, a, o);
|
|
231
231
|
}));
|
|
232
232
|
}
|
|
233
233
|
function Oe(e) {
|
|
@@ -246,8 +246,8 @@ function St(e) {
|
|
|
246
246
|
}
|
|
247
247
|
function kt(e, t) {
|
|
248
248
|
return !e || !Object.getOwnPropertyNames(e).length ? {} : (Y(e, (n, i) => {
|
|
249
|
-
var
|
|
250
|
-
Oe(n) && i((
|
|
249
|
+
var o;
|
|
250
|
+
Oe(n) && i((o = n[t]) != null ? o : void 0);
|
|
251
251
|
}), e);
|
|
252
252
|
}
|
|
253
253
|
function Ct(e, t) {
|
|
@@ -258,7 +258,7 @@ const me = (e) => JSON.parse(JSON.stringify(e)), Le = (e, t, n) => {
|
|
|
258
258
|
if (Object(e) !== e)
|
|
259
259
|
return e;
|
|
260
260
|
const i = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
261
|
-
return i.slice(0, -1).reduce((
|
|
261
|
+
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;
|
|
262
262
|
};
|
|
263
263
|
function ce(e) {
|
|
264
264
|
if (e === null || typeof e != "object")
|
|
@@ -303,59 +303,59 @@ const Tt = ["svelte", "vue", "angular", "qwik", "solid"].includes(L), wt = (e) =
|
|
|
303
303
|
context: t,
|
|
304
304
|
localState: n,
|
|
305
305
|
rootState: i,
|
|
306
|
-
rootSetState:
|
|
306
|
+
rootSetState: o
|
|
307
307
|
}) => {
|
|
308
308
|
if (!e.bindings)
|
|
309
309
|
return e;
|
|
310
|
-
const
|
|
310
|
+
const a = wt(e);
|
|
311
311
|
for (const r in e.bindings) {
|
|
312
312
|
const l = e.bindings[r], d = q({
|
|
313
313
|
code: l,
|
|
314
314
|
localState: n,
|
|
315
315
|
rootState: i,
|
|
316
|
-
rootSetState:
|
|
316
|
+
rootSetState: o,
|
|
317
317
|
context: t
|
|
318
318
|
});
|
|
319
|
-
Le(
|
|
319
|
+
Le(a, r, d);
|
|
320
320
|
}
|
|
321
|
-
return
|
|
321
|
+
return a;
|
|
322
322
|
};
|
|
323
323
|
function Et({
|
|
324
324
|
block: e,
|
|
325
325
|
context: t,
|
|
326
326
|
localState: n,
|
|
327
327
|
rootState: i,
|
|
328
|
-
rootSetState:
|
|
328
|
+
rootSetState: o
|
|
329
329
|
}) {
|
|
330
|
-
let
|
|
331
|
-
return
|
|
332
|
-
block:
|
|
330
|
+
let a = Ct(e, i.locale);
|
|
331
|
+
return a = a, It({
|
|
332
|
+
block: a,
|
|
333
333
|
localState: n,
|
|
334
334
|
rootState: i,
|
|
335
|
-
rootSetState:
|
|
335
|
+
rootSetState: o,
|
|
336
336
|
context: t
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
339
|
const ee = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
340
340
|
function Rt(e, t, n = {}) {
|
|
341
|
-
let i,
|
|
341
|
+
let i, o, a, r = null, l = 0;
|
|
342
342
|
const d = function() {
|
|
343
|
-
l = n.leading === !1 ? 0 : Date.now(), r = null,
|
|
343
|
+
l = n.leading === !1 ? 0 : Date.now(), r = null, a = e.apply(i, o), r || (i = o = null);
|
|
344
344
|
};
|
|
345
345
|
return function() {
|
|
346
|
-
const
|
|
347
|
-
!l && n.leading === !1 && (l =
|
|
348
|
-
const h = t - (
|
|
349
|
-
return i = this,
|
|
346
|
+
const c = Date.now();
|
|
347
|
+
!l && n.leading === !1 && (l = c);
|
|
348
|
+
const h = t - (c - l);
|
|
349
|
+
return i = this, o = arguments, h <= 0 || h > t ? (r && (clearTimeout(r), r = null), l = c, a = e.apply(i, o), r || (i = o = null)) : !r && n.trailing !== !1 && (r = setTimeout(d, h)), a;
|
|
350
350
|
};
|
|
351
351
|
}
|
|
352
352
|
function H(e, ...t) {
|
|
353
353
|
const n = Object(e);
|
|
354
354
|
for (let i = 1; i < arguments.length; i++) {
|
|
355
|
-
const
|
|
356
|
-
if (
|
|
357
|
-
for (const
|
|
358
|
-
Object.prototype.hasOwnProperty.call(
|
|
355
|
+
const o = arguments[i];
|
|
356
|
+
if (o != null)
|
|
357
|
+
for (const a in o)
|
|
358
|
+
Object.prototype.hasOwnProperty.call(o, a) && (n[a] = o[a]);
|
|
359
359
|
}
|
|
360
360
|
return n;
|
|
361
361
|
}
|
|
@@ -374,7 +374,7 @@ function Ue(e) {
|
|
|
374
374
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
375
375
|
}
|
|
376
376
|
function _e(e, t) {
|
|
377
|
-
const n = Vt(e), i = getComputedStyle(t),
|
|
377
|
+
const n = Vt(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
|
|
378
378
|
for (const l of r)
|
|
379
379
|
for (const d of n)
|
|
380
380
|
d in l || (l[d] = i[d]);
|
|
@@ -408,31 +408,31 @@ function Bt(e) {
|
|
|
408
408
|
}
|
|
409
409
|
Array.from(t).forEach((n) => {
|
|
410
410
|
_e(e, n);
|
|
411
|
-
let i = !1,
|
|
412
|
-
function
|
|
413
|
-
!i && l(n) ? (i = !0,
|
|
411
|
+
let i = !1, o = !1;
|
|
412
|
+
function a() {
|
|
413
|
+
!i && l(n) ? (i = !0, o = !0, setTimeout(() => {
|
|
414
414
|
H(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", r), setTimeout(() => {
|
|
415
|
-
|
|
415
|
+
o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
|
|
416
416
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
417
|
-
})) : e.repeat && i && !
|
|
417
|
+
})) : e.repeat && i && !o && !l(n) && (i = !1, H(n.style, e.steps[0].styles));
|
|
418
418
|
}
|
|
419
|
-
const r = Rt(
|
|
419
|
+
const r = Rt(a, 200, {
|
|
420
420
|
leading: !1
|
|
421
421
|
});
|
|
422
422
|
function l(h) {
|
|
423
|
-
const
|
|
424
|
-
return
|
|
423
|
+
const b = h.getBoundingClientRect(), m = window.innerHeight, u = (e.thresholdPercent || 0) / 100 * m;
|
|
424
|
+
return b.bottom > u && b.top < m - u;
|
|
425
425
|
}
|
|
426
426
|
const d = e.steps[0].styles;
|
|
427
|
-
function
|
|
427
|
+
function c() {
|
|
428
428
|
H(n.style, d);
|
|
429
429
|
}
|
|
430
|
-
|
|
430
|
+
c(), setTimeout(() => {
|
|
431
431
|
n.style.transition = `all ${e.duration}s ${ee(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
432
432
|
}), document.addEventListener("scroll", r, {
|
|
433
433
|
capture: !0,
|
|
434
434
|
passive: !0
|
|
435
|
-
}),
|
|
435
|
+
}), a();
|
|
436
436
|
});
|
|
437
437
|
}
|
|
438
438
|
const Me = (e) => Object.entries(e).map(([n, i]) => {
|
|
@@ -483,18 +483,18 @@ const je = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
483
483
|
registeredComponents: t,
|
|
484
484
|
model: n
|
|
485
485
|
}) => {
|
|
486
|
-
var
|
|
487
|
-
const i = (
|
|
486
|
+
var a;
|
|
487
|
+
const i = (a = e.component) == null ? void 0 : a.name;
|
|
488
488
|
if (!i)
|
|
489
489
|
return null;
|
|
490
|
-
const
|
|
491
|
-
if (!
|
|
490
|
+
const o = t[i];
|
|
491
|
+
if (!o || je(o, n)) {
|
|
492
492
|
console.warn(`
|
|
493
493
|
Could not find a registered component named "${i}".
|
|
494
494
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
495
495
|
return;
|
|
496
496
|
} else
|
|
497
|
-
return
|
|
497
|
+
return o;
|
|
498
498
|
}, $t = ({
|
|
499
499
|
block: e,
|
|
500
500
|
context: t
|
|
@@ -505,25 +505,25 @@ const je = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
505
505
|
} = e;
|
|
506
506
|
if (!(n != null && n.collection))
|
|
507
507
|
return;
|
|
508
|
-
const
|
|
508
|
+
const o = q({
|
|
509
509
|
code: n.collection,
|
|
510
510
|
localState: t.localState,
|
|
511
511
|
rootState: t.rootState,
|
|
512
512
|
rootSetState: t.rootSetState,
|
|
513
513
|
context: t.context
|
|
514
514
|
});
|
|
515
|
-
if (!Array.isArray(
|
|
515
|
+
if (!Array.isArray(o))
|
|
516
516
|
return;
|
|
517
|
-
const
|
|
518
|
-
return
|
|
517
|
+
const a = n.collection.split(".").pop(), r = n.itemName || (a ? a + "Item" : "item");
|
|
518
|
+
return o.map((d, c) => ({
|
|
519
519
|
context: {
|
|
520
520
|
...t,
|
|
521
521
|
localState: {
|
|
522
522
|
...t.localState,
|
|
523
|
-
$index:
|
|
523
|
+
$index: c,
|
|
524
524
|
$item: d,
|
|
525
525
|
[r]: d,
|
|
526
|
-
[`$${r}Index`]:
|
|
526
|
+
[`$${r}Index`]: c
|
|
527
527
|
}
|
|
528
528
|
},
|
|
529
529
|
block: i
|
|
@@ -536,7 +536,7 @@ const je = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
536
536
|
}, Ot = (e, t, n) => {
|
|
537
537
|
var i;
|
|
538
538
|
return (i = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && i.builderComponents ? {
|
|
539
|
-
builderComponents: Object.fromEntries(Object.entries(t).filter(([
|
|
539
|
+
builderComponents: Object.fromEntries(Object.entries(t).filter(([a, r]) => !je(r, n)))
|
|
540
540
|
} : {};
|
|
541
541
|
}, Lt = (e, t) => {
|
|
542
542
|
var n;
|
|
@@ -576,7 +576,7 @@ const je = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
576
576
|
const {
|
|
577
577
|
xsmall: n,
|
|
578
578
|
small: i,
|
|
579
|
-
medium:
|
|
579
|
+
medium: o
|
|
580
580
|
} = e;
|
|
581
581
|
if (n) {
|
|
582
582
|
const d = Math.floor(n / 2);
|
|
@@ -586,17 +586,17 @@ const je = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
586
586
|
default: d + 1
|
|
587
587
|
};
|
|
588
588
|
}
|
|
589
|
-
if (!i || !
|
|
589
|
+
if (!i || !o)
|
|
590
590
|
return t;
|
|
591
|
-
const
|
|
591
|
+
const a = n ? t.xsmall.max + 1 : Math.floor(i / 2);
|
|
592
592
|
t.small = {
|
|
593
593
|
max: i,
|
|
594
|
-
min:
|
|
595
|
-
default:
|
|
594
|
+
min: a,
|
|
595
|
+
default: a + 1
|
|
596
596
|
};
|
|
597
597
|
const r = t.small.max + 1;
|
|
598
598
|
t.medium = {
|
|
599
|
-
max:
|
|
599
|
+
max: o,
|
|
600
600
|
min: r,
|
|
601
601
|
default: r + 1
|
|
602
602
|
};
|
|
@@ -624,32 +624,32 @@ function _t(e) {
|
|
|
624
624
|
return Q(i.hide) ? !i.hide : Q(i.show) ? i.show : !0;
|
|
625
625
|
}
|
|
626
626
|
function n() {
|
|
627
|
-
var C,
|
|
628
|
-
const i = e.block,
|
|
629
|
-
((C =
|
|
630
|
-
), l = !!((w = (
|
|
631
|
-
if (!
|
|
627
|
+
var C, V, w, S, f;
|
|
628
|
+
const i = e.block, o = i.responsiveStyles, a = e.context.content, r = Ke(
|
|
629
|
+
((C = a == null ? void 0 : a.meta) == null ? void 0 : C.breakpoints) || {}
|
|
630
|
+
), l = !!((w = (V = a == null ? void 0 : a.meta) == null ? void 0 : V.breakpoints) != null && w.xsmall), d = o == null ? void 0 : o.large, c = o == null ? void 0 : o.medium, h = o == null ? void 0 : o.small, b = o == null ? void 0 : o.xsmall, m = i.id;
|
|
631
|
+
if (!m)
|
|
632
632
|
return "";
|
|
633
|
-
const
|
|
634
|
-
className:
|
|
633
|
+
const x = d ? M({
|
|
634
|
+
className: m,
|
|
635
635
|
styles: d
|
|
636
|
-
}) : "",
|
|
637
|
-
className:
|
|
638
|
-
styles:
|
|
636
|
+
}) : "", u = c ? M({
|
|
637
|
+
className: m,
|
|
638
|
+
styles: c,
|
|
639
639
|
mediaQuery: ie(
|
|
640
640
|
"medium",
|
|
641
641
|
r
|
|
642
642
|
)
|
|
643
|
-
}) : "",
|
|
644
|
-
className:
|
|
643
|
+
}) : "", g = h ? M({
|
|
644
|
+
className: m,
|
|
645
645
|
styles: h,
|
|
646
646
|
mediaQuery: ie(
|
|
647
647
|
"small",
|
|
648
648
|
r
|
|
649
649
|
)
|
|
650
|
-
}) : "",
|
|
651
|
-
className:
|
|
652
|
-
styles:
|
|
650
|
+
}) : "", v = b && l ? M({
|
|
651
|
+
className: m,
|
|
652
|
+
styles: b,
|
|
653
653
|
mediaQuery: ie(
|
|
654
654
|
"xsmall",
|
|
655
655
|
r
|
|
@@ -657,9 +657,9 @@ function _t(e) {
|
|
|
657
657
|
}) : "", p = i.animations && i.animations.find((y) => y.trigger === "hover");
|
|
658
658
|
let k = "";
|
|
659
659
|
if (p) {
|
|
660
|
-
const y = ((
|
|
660
|
+
const y = ((f = (S = p.steps) == null ? void 0 : S[1]) == null ? void 0 : f.styles) || {};
|
|
661
661
|
k = M({
|
|
662
|
-
className: `${
|
|
662
|
+
className: `${m}:hover`,
|
|
663
663
|
styles: {
|
|
664
664
|
...y,
|
|
665
665
|
transition: `all ${p.duration}s ${ee(
|
|
@@ -670,14 +670,14 @@ function _t(e) {
|
|
|
670
670
|
}) || "";
|
|
671
671
|
}
|
|
672
672
|
return [
|
|
673
|
+
x,
|
|
674
|
+
u,
|
|
675
|
+
g,
|
|
673
676
|
v,
|
|
674
|
-
f,
|
|
675
|
-
b,
|
|
676
|
-
S,
|
|
677
677
|
k
|
|
678
678
|
].join(" ");
|
|
679
679
|
}
|
|
680
|
-
return /* @__PURE__ */ s(
|
|
680
|
+
return /* @__PURE__ */ s(P, { children: n() && t() ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
|
|
681
681
|
K,
|
|
682
682
|
{
|
|
683
683
|
id: "builderio-block",
|
|
@@ -701,11 +701,11 @@ const Mt = (e) => `on${qt(e)}`, Ht = (e, t) => (n) => q({
|
|
|
701
701
|
function Je(e) {
|
|
702
702
|
var i;
|
|
703
703
|
const t = {}, n = (i = e.block.actions) != null ? i : {};
|
|
704
|
-
for (const
|
|
705
|
-
if (!n.hasOwnProperty(
|
|
704
|
+
for (const o in n) {
|
|
705
|
+
if (!n.hasOwnProperty(o))
|
|
706
706
|
continue;
|
|
707
|
-
const
|
|
708
|
-
let r = Mt(
|
|
707
|
+
const a = n[o];
|
|
708
|
+
let r = Mt(o);
|
|
709
709
|
if (e.stripPrefix)
|
|
710
710
|
switch (L) {
|
|
711
711
|
case "vue":
|
|
@@ -715,7 +715,7 @@ function Je(e) {
|
|
|
715
715
|
r = r.replace("on:", "");
|
|
716
716
|
break;
|
|
717
717
|
}
|
|
718
|
-
t[r] = Ht(
|
|
718
|
+
t[r] = Ht(a, e);
|
|
719
719
|
}
|
|
720
720
|
return t;
|
|
721
721
|
}
|
|
@@ -770,10 +770,12 @@ function Kt(e) {
|
|
|
770
770
|
);
|
|
771
771
|
}
|
|
772
772
|
function Jt(e) {
|
|
773
|
-
return
|
|
774
|
-
}, []), /* @__PURE__ */ s(
|
|
773
|
+
return R(() => {
|
|
774
|
+
}, []), /* @__PURE__ */ s(P, { children: e.children });
|
|
775
775
|
}
|
|
776
776
|
function Gt(e) {
|
|
777
|
+
var i, o;
|
|
778
|
+
I(() => 0);
|
|
777
779
|
function t() {
|
|
778
780
|
return e.includeBlockProps ? {
|
|
779
781
|
...fe({
|
|
@@ -792,7 +794,8 @@ function Gt(e) {
|
|
|
792
794
|
function n() {
|
|
793
795
|
return e.wrapperProps;
|
|
794
796
|
}
|
|
795
|
-
return
|
|
797
|
+
return R(() => {
|
|
798
|
+
}, [e.wrapperProps, (o = (i = e.block) == null ? void 0 : i.component) == null ? void 0 : o.options]), /* @__PURE__ */ s(P, { children: e.Wrapper.load ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
|
|
796
799
|
Jt,
|
|
797
800
|
{
|
|
798
801
|
load: e.Wrapper.load,
|
|
@@ -808,8 +811,8 @@ const Qt = ({
|
|
|
808
811
|
builderBlock: t,
|
|
809
812
|
context: n,
|
|
810
813
|
componentRef: i,
|
|
811
|
-
includeBlockProps:
|
|
812
|
-
isInteractive:
|
|
814
|
+
includeBlockProps: o,
|
|
815
|
+
isInteractive: a,
|
|
813
816
|
contextValue: r
|
|
814
817
|
}) => {
|
|
815
818
|
const l = {
|
|
@@ -818,19 +821,19 @@ const Qt = ({
|
|
|
818
821
|
* If `noWrap` is set to `true`, then the block's props/attributes are provided to the
|
|
819
822
|
* component itself directly. Otherwise, they are provided to the wrapper element.
|
|
820
823
|
*/
|
|
821
|
-
...
|
|
824
|
+
...o ? {
|
|
822
825
|
attributes: fe({
|
|
823
826
|
block: t,
|
|
824
827
|
context: r
|
|
825
828
|
})
|
|
826
829
|
} : {}
|
|
827
830
|
};
|
|
828
|
-
return
|
|
831
|
+
return a ? {
|
|
829
832
|
Wrapper: i,
|
|
830
833
|
block: t,
|
|
831
834
|
context: n,
|
|
832
835
|
wrapperProps: e,
|
|
833
|
-
includeBlockProps:
|
|
836
|
+
includeBlockProps: o
|
|
834
837
|
} : l;
|
|
835
838
|
};
|
|
836
839
|
function ke(e) {
|
|
@@ -839,8 +842,8 @@ function ke(e) {
|
|
|
839
842
|
const [t, n] = I(
|
|
840
843
|
() => e.isInteractive ? Gt : e.componentRef
|
|
841
844
|
);
|
|
842
|
-
return
|
|
843
|
-
}, [e.componentOptions, e.blockChildren]), /* @__PURE__ */ s(
|
|
845
|
+
return R(() => {
|
|
846
|
+
}, [e.componentOptions, e.blockChildren]), /* @__PURE__ */ s(P, { children: e.componentRef ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
|
|
844
847
|
t,
|
|
845
848
|
{
|
|
846
849
|
...Qt({
|
|
@@ -853,22 +856,22 @@ function ke(e) {
|
|
|
853
856
|
isInteractive: e.isInteractive,
|
|
854
857
|
contextValue: e.context
|
|
855
858
|
}),
|
|
856
|
-
children: (i = e.blockChildren) == null ? void 0 : i.map((
|
|
859
|
+
children: (i = e.blockChildren) == null ? void 0 : i.map((o) => /* @__PURE__ */ s(
|
|
857
860
|
te,
|
|
858
861
|
{
|
|
859
|
-
block:
|
|
862
|
+
block: o,
|
|
860
863
|
context: e.context,
|
|
861
864
|
registeredComponents: e.registeredComponents,
|
|
862
865
|
linkComponent: e.linkComponent
|
|
863
866
|
},
|
|
864
|
-
|
|
867
|
+
o.id
|
|
865
868
|
))
|
|
866
869
|
}
|
|
867
870
|
) }) : null });
|
|
868
871
|
}
|
|
869
872
|
function Ce(e) {
|
|
870
873
|
const [t, n] = I(() => e.repeatContext);
|
|
871
|
-
return
|
|
874
|
+
return R(() => {
|
|
872
875
|
n(e.repeatContext);
|
|
873
876
|
}, [e.repeatContext]), /* @__PURE__ */ s(de.Provider, { value: t, children: /* @__PURE__ */ s(
|
|
874
877
|
te,
|
|
@@ -881,7 +884,7 @@ function Ce(e) {
|
|
|
881
884
|
) });
|
|
882
885
|
}
|
|
883
886
|
function te(e) {
|
|
884
|
-
var h,
|
|
887
|
+
var h, b, m, x;
|
|
885
888
|
function t() {
|
|
886
889
|
return $t({
|
|
887
890
|
block: e.block,
|
|
@@ -892,53 +895,53 @@ function te(e) {
|
|
|
892
895
|
value: null,
|
|
893
896
|
update: !1
|
|
894
897
|
}));
|
|
895
|
-
function
|
|
896
|
-
var
|
|
898
|
+
function o() {
|
|
899
|
+
var g;
|
|
897
900
|
if (n.value && !n.update && !Z())
|
|
898
901
|
return n.value;
|
|
899
|
-
const
|
|
902
|
+
const u = (g = e.block.repeat) != null && g.collection ? e.block : Et({
|
|
900
903
|
block: e.block,
|
|
901
904
|
localState: e.context.localState,
|
|
902
905
|
rootState: e.context.rootState,
|
|
903
906
|
rootSetState: e.context.rootSetState,
|
|
904
907
|
context: e.context.context
|
|
905
908
|
});
|
|
906
|
-
return n.value =
|
|
909
|
+
return n.value = u, n.update = !1, u;
|
|
907
910
|
}
|
|
908
|
-
function
|
|
911
|
+
function a() {
|
|
909
912
|
return Dt({
|
|
910
|
-
block:
|
|
913
|
+
block: o(),
|
|
911
914
|
registeredComponents: e.registeredComponents,
|
|
912
915
|
model: e.context.model
|
|
913
916
|
});
|
|
914
917
|
}
|
|
915
918
|
function r() {
|
|
916
|
-
var
|
|
917
|
-
return e.block.tagName === "a" || ((
|
|
919
|
+
var g;
|
|
920
|
+
return e.block.tagName === "a" || ((g = o().properties) == null ? void 0 : g.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
|
|
918
921
|
}
|
|
919
922
|
function l() {
|
|
920
|
-
var
|
|
921
|
-
if ((
|
|
923
|
+
var v, p;
|
|
924
|
+
if ((v = e.block.repeat) != null && v.collection)
|
|
922
925
|
return !!((p = t == null ? void 0 : t()) != null && p.length);
|
|
923
|
-
const
|
|
924
|
-
return ("show" in
|
|
926
|
+
const u = "hide" in o() ? o().hide : !1;
|
|
927
|
+
return ("show" in o() ? o().show : !0) && !u;
|
|
925
928
|
}
|
|
926
929
|
function d() {
|
|
927
|
-
var
|
|
928
|
-
return !((
|
|
930
|
+
var g, v;
|
|
931
|
+
return !((g = a == null ? void 0 : a()) != null && g.component) && !t() ? (v = o().children) != null ? v : [] : [];
|
|
929
932
|
}
|
|
930
|
-
function
|
|
931
|
-
var
|
|
933
|
+
function c() {
|
|
934
|
+
var u, g, v, p;
|
|
932
935
|
return {
|
|
933
|
-
blockChildren: (
|
|
934
|
-
componentRef: (
|
|
936
|
+
blockChildren: (u = o().children) != null ? u : [],
|
|
937
|
+
componentRef: (g = a == null ? void 0 : a()) == null ? void 0 : g.component,
|
|
935
938
|
componentOptions: {
|
|
936
|
-
...yt(
|
|
937
|
-
...Lt(
|
|
938
|
-
...Ut(
|
|
939
|
-
...Ft(
|
|
939
|
+
...yt(o(), e.context),
|
|
940
|
+
...Lt(a(), o()),
|
|
941
|
+
...Ut(a(), e.context),
|
|
942
|
+
...Ft(a(), e.linkComponent),
|
|
940
943
|
...Ot(
|
|
941
|
-
|
|
944
|
+
a(),
|
|
942
945
|
e.registeredComponents,
|
|
943
946
|
e.context.model
|
|
944
947
|
)
|
|
@@ -946,84 +949,84 @@ function te(e) {
|
|
|
946
949
|
context: e.context,
|
|
947
950
|
linkComponent: e.linkComponent,
|
|
948
951
|
registeredComponents: e.registeredComponents,
|
|
949
|
-
builderBlock:
|
|
950
|
-
includeBlockProps: ((
|
|
951
|
-
isInteractive: !((p =
|
|
952
|
+
builderBlock: o(),
|
|
953
|
+
includeBlockProps: ((v = a == null ? void 0 : a()) == null ? void 0 : v.noWrap) === !0,
|
|
954
|
+
isInteractive: !((p = a == null ? void 0 : a()) != null && p.isRSC && L === "rsc")
|
|
952
955
|
};
|
|
953
956
|
}
|
|
954
|
-
return
|
|
955
|
-
const
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
...
|
|
959
|
-
elementId:
|
|
957
|
+
return R(() => {
|
|
958
|
+
const u = o().id, g = o().animations;
|
|
959
|
+
g && u && Pt(
|
|
960
|
+
g.map((v) => ({
|
|
961
|
+
...v,
|
|
962
|
+
elementId: u
|
|
960
963
|
}))
|
|
961
964
|
);
|
|
962
|
-
}, []),
|
|
965
|
+
}, []), R(() => {
|
|
963
966
|
n.update = !0;
|
|
964
|
-
}), /* @__PURE__ */ s(
|
|
965
|
-
/* @__PURE__ */ s(_t, { block:
|
|
966
|
-
(h =
|
|
967
|
+
}), /* @__PURE__ */ s(P, { children: l() ? /* @__PURE__ */ B(P, { children: [
|
|
968
|
+
/* @__PURE__ */ s(_t, { block: o(), context: e.context }),
|
|
969
|
+
(h = a == null ? void 0 : a()) != null && h.noWrap ? t() ? /* @__PURE__ */ s(P, { children: (x = t()) == null ? void 0 : x.map((u, g) => /* @__PURE__ */ s(
|
|
967
970
|
Ce,
|
|
968
971
|
{
|
|
969
|
-
repeatContext:
|
|
970
|
-
block:
|
|
972
|
+
repeatContext: u.context,
|
|
973
|
+
block: u.block,
|
|
971
974
|
registeredComponents: e.registeredComponents,
|
|
972
975
|
linkComponent: e.linkComponent
|
|
973
976
|
},
|
|
974
|
-
Se(
|
|
977
|
+
Se(g)
|
|
975
978
|
)) }) : /* @__PURE__ */ s(
|
|
976
979
|
ke,
|
|
977
980
|
{
|
|
978
|
-
componentRef:
|
|
979
|
-
componentOptions:
|
|
980
|
-
blockChildren:
|
|
981
|
-
context:
|
|
982
|
-
registeredComponents:
|
|
983
|
-
linkComponent:
|
|
984
|
-
builderBlock:
|
|
985
|
-
includeBlockProps:
|
|
986
|
-
isInteractive:
|
|
981
|
+
componentRef: c().componentRef,
|
|
982
|
+
componentOptions: c().componentOptions,
|
|
983
|
+
blockChildren: c().blockChildren,
|
|
984
|
+
context: c().context,
|
|
985
|
+
registeredComponents: c().registeredComponents,
|
|
986
|
+
linkComponent: c().linkComponent,
|
|
987
|
+
builderBlock: c().builderBlock,
|
|
988
|
+
includeBlockProps: c().includeBlockProps,
|
|
989
|
+
isInteractive: c().isInteractive
|
|
987
990
|
}
|
|
988
|
-
) : /* @__PURE__ */ s(
|
|
991
|
+
) : /* @__PURE__ */ s(P, { children: t() ? /* @__PURE__ */ s(P, { children: (m = t()) == null ? void 0 : m.map((u, g) => /* @__PURE__ */ s(
|
|
989
992
|
Ce,
|
|
990
993
|
{
|
|
991
|
-
repeatContext:
|
|
992
|
-
block:
|
|
994
|
+
repeatContext: u.context,
|
|
995
|
+
block: u.block,
|
|
993
996
|
registeredComponents: e.registeredComponents,
|
|
994
997
|
linkComponent: e.linkComponent
|
|
995
998
|
},
|
|
996
|
-
Se(
|
|
999
|
+
Se(g)
|
|
997
1000
|
)) }) : /* @__PURE__ */ B(
|
|
998
1001
|
Kt,
|
|
999
1002
|
{
|
|
1000
1003
|
Wrapper: r(),
|
|
1001
|
-
block:
|
|
1004
|
+
block: o(),
|
|
1002
1005
|
context: e.context,
|
|
1003
1006
|
children: [
|
|
1004
1007
|
/* @__PURE__ */ s(
|
|
1005
1008
|
ke,
|
|
1006
1009
|
{
|
|
1007
|
-
componentRef:
|
|
1008
|
-
componentOptions:
|
|
1009
|
-
blockChildren:
|
|
1010
|
-
context:
|
|
1011
|
-
registeredComponents:
|
|
1012
|
-
linkComponent:
|
|
1013
|
-
builderBlock:
|
|
1014
|
-
includeBlockProps:
|
|
1015
|
-
isInteractive:
|
|
1010
|
+
componentRef: c().componentRef,
|
|
1011
|
+
componentOptions: c().componentOptions,
|
|
1012
|
+
blockChildren: c().blockChildren,
|
|
1013
|
+
context: c().context,
|
|
1014
|
+
registeredComponents: c().registeredComponents,
|
|
1015
|
+
linkComponent: c().linkComponent,
|
|
1016
|
+
builderBlock: c().builderBlock,
|
|
1017
|
+
includeBlockProps: c().includeBlockProps,
|
|
1018
|
+
isInteractive: c().isInteractive
|
|
1016
1019
|
}
|
|
1017
1020
|
),
|
|
1018
|
-
(
|
|
1021
|
+
(b = d()) == null ? void 0 : b.map((u) => /* @__PURE__ */ s(
|
|
1019
1022
|
te,
|
|
1020
1023
|
{
|
|
1021
|
-
block:
|
|
1024
|
+
block: u,
|
|
1022
1025
|
registeredComponents: e.registeredComponents,
|
|
1023
1026
|
linkComponent: e.linkComponent,
|
|
1024
1027
|
context: e.context
|
|
1025
1028
|
},
|
|
1026
|
-
|
|
1029
|
+
u.id
|
|
1027
1030
|
))
|
|
1028
1031
|
]
|
|
1029
1032
|
}
|
|
@@ -1047,7 +1050,7 @@ function Yt(e) {
|
|
|
1047
1050
|
const r = "this.", l = "component.options.";
|
|
1048
1051
|
return e.path.startsWith(r) ? e.path.replace(r, "") : e.path.startsWith(l) ? e.path : `${l}${e.path || ""}`;
|
|
1049
1052
|
}
|
|
1050
|
-
function
|
|
1053
|
+
function o() {
|
|
1051
1054
|
var r, l;
|
|
1052
1055
|
A() && !((r = e.blocks) != null && r.length) && ((l = window.parent) == null || l.postMessage(
|
|
1053
1056
|
{
|
|
@@ -1060,7 +1063,7 @@ function Yt(e) {
|
|
|
1060
1063
|
"*"
|
|
1061
1064
|
));
|
|
1062
1065
|
}
|
|
1063
|
-
function
|
|
1066
|
+
function a() {
|
|
1064
1067
|
var r, l;
|
|
1065
1068
|
A() && !((r = e.blocks) != null && r.length) && ((l = window.parent) == null || l.postMessage(
|
|
1066
1069
|
{
|
|
@@ -1073,9 +1076,9 @@ function Yt(e) {
|
|
|
1073
1076
|
"*"
|
|
1074
1077
|
));
|
|
1075
1078
|
}
|
|
1076
|
-
return
|
|
1077
|
-
}, []),
|
|
1078
|
-
}, [e.blocks]), /* @__PURE__ */ B(
|
|
1079
|
+
return R(() => {
|
|
1080
|
+
}, []), R(() => {
|
|
1081
|
+
}, [e.blocks]), /* @__PURE__ */ B(P, { children: [
|
|
1079
1082
|
/* @__PURE__ */ s(
|
|
1080
1083
|
e.BlocksWrapper,
|
|
1081
1084
|
{
|
|
@@ -1084,9 +1087,9 @@ function Yt(e) {
|
|
|
1084
1087
|
"builder-path": i(),
|
|
1085
1088
|
"builder-parent-id": e.parent,
|
|
1086
1089
|
style: e.styleProp,
|
|
1087
|
-
onClick: (r) =>
|
|
1088
|
-
onMouseEnter: (r) =>
|
|
1089
|
-
onKeyPress: (r) =>
|
|
1090
|
+
onClick: (r) => o(),
|
|
1091
|
+
onMouseEnter: (r) => a(),
|
|
1092
|
+
onKeyPress: (r) => o(),
|
|
1090
1093
|
...e.BlocksWrapperProps,
|
|
1091
1094
|
children: e.children
|
|
1092
1095
|
}
|
|
@@ -1099,7 +1102,7 @@ function Yt(e) {
|
|
|
1099
1102
|
] });
|
|
1100
1103
|
}
|
|
1101
1104
|
function $(e) {
|
|
1102
|
-
var i,
|
|
1105
|
+
var i, o, a;
|
|
1103
1106
|
const t = ve(de), n = ve(De);
|
|
1104
1107
|
return /* @__PURE__ */ s(
|
|
1105
1108
|
Yt,
|
|
@@ -1110,8 +1113,8 @@ function $(e) {
|
|
|
1110
1113
|
styleProp: e.styleProp,
|
|
1111
1114
|
classNameProp: e.className,
|
|
1112
1115
|
BlocksWrapper: ((i = e.context) == null ? void 0 : i.BlocksWrapper) || (t == null ? void 0 : t.BlocksWrapper),
|
|
1113
|
-
BlocksWrapperProps: ((
|
|
1114
|
-
children: e.blocks ? /* @__PURE__ */ s(
|
|
1116
|
+
BlocksWrapperProps: ((o = e.context) == null ? void 0 : o.BlocksWrapperProps) || (t == null ? void 0 : t.BlocksWrapperProps),
|
|
1117
|
+
children: e.blocks ? /* @__PURE__ */ s(P, { children: (a = e.blocks) == null ? void 0 : a.map((r) => /* @__PURE__ */ s(
|
|
1115
1118
|
te,
|
|
1116
1119
|
{
|
|
1117
1120
|
block: r,
|
|
@@ -1126,7 +1129,7 @@ function $(e) {
|
|
|
1126
1129
|
}
|
|
1127
1130
|
const Xt = (e) => `builder-columns ${e}-breakpoints`;
|
|
1128
1131
|
function Zt(e) {
|
|
1129
|
-
var
|
|
1132
|
+
var g, v;
|
|
1130
1133
|
function t() {
|
|
1131
1134
|
return typeof e.space == "number" ? e.space || 0 : 20;
|
|
1132
1135
|
}
|
|
@@ -1136,15 +1139,15 @@ function Zt(e) {
|
|
|
1136
1139
|
function i() {
|
|
1137
1140
|
return e.stackColumnsAt || "tablet";
|
|
1138
1141
|
}
|
|
1139
|
-
function
|
|
1142
|
+
function o(p) {
|
|
1140
1143
|
return p.link ? e.builderLinkComponent || "a" : "div";
|
|
1141
1144
|
}
|
|
1142
|
-
function
|
|
1145
|
+
function a(p) {
|
|
1143
1146
|
var k;
|
|
1144
1147
|
return ((k = n()[p]) == null ? void 0 : k.width) || 100 / n().length;
|
|
1145
1148
|
}
|
|
1146
1149
|
function r(p) {
|
|
1147
|
-
const k =
|
|
1150
|
+
const k = a(p), C = t() * (n().length - 1) * (k / 100);
|
|
1148
1151
|
return `calc(${k}% - ${C}px)`;
|
|
1149
1152
|
}
|
|
1150
1153
|
function l({
|
|
@@ -1159,20 +1162,20 @@ function Zt(e) {
|
|
|
1159
1162
|
}) {
|
|
1160
1163
|
return i() === "never" ? k : p;
|
|
1161
1164
|
}
|
|
1162
|
-
function
|
|
1165
|
+
function c() {
|
|
1163
1166
|
return e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column";
|
|
1164
1167
|
}
|
|
1165
1168
|
function h() {
|
|
1166
1169
|
return {
|
|
1167
|
-
"--flex-dir":
|
|
1170
|
+
"--flex-dir": c(),
|
|
1168
1171
|
"--flex-dir-tablet": l({
|
|
1169
|
-
stackedStyle:
|
|
1172
|
+
stackedStyle: c(),
|
|
1170
1173
|
desktopStyle: "row"
|
|
1171
1174
|
})
|
|
1172
1175
|
};
|
|
1173
1176
|
}
|
|
1174
|
-
function
|
|
1175
|
-
const k = p === 0 ? 0 : t(), C = r(p),
|
|
1177
|
+
function b(p) {
|
|
1178
|
+
const k = p === 0 ? 0 : t(), C = r(p), V = `${k}px`, w = "100%", S = 0;
|
|
1176
1179
|
return {
|
|
1177
1180
|
...{
|
|
1178
1181
|
display: "flex",
|
|
@@ -1180,35 +1183,35 @@ function Zt(e) {
|
|
|
1180
1183
|
alignItems: "stretch"
|
|
1181
1184
|
},
|
|
1182
1185
|
width: C,
|
|
1183
|
-
["marginLeft"]:
|
|
1186
|
+
["marginLeft"]: V,
|
|
1184
1187
|
"--column-width-mobile": d({
|
|
1185
1188
|
stackedStyle: w,
|
|
1186
1189
|
desktopStyle: C
|
|
1187
1190
|
}),
|
|
1188
1191
|
"--column-margin-left-mobile": d({
|
|
1189
|
-
stackedStyle:
|
|
1190
|
-
desktopStyle:
|
|
1192
|
+
stackedStyle: S,
|
|
1193
|
+
desktopStyle: V
|
|
1191
1194
|
}),
|
|
1192
1195
|
"--column-width-tablet": l({
|
|
1193
1196
|
stackedStyle: w,
|
|
1194
1197
|
desktopStyle: C
|
|
1195
1198
|
}),
|
|
1196
1199
|
"--column-margin-left-tablet": l({
|
|
1197
|
-
stackedStyle:
|
|
1198
|
-
desktopStyle:
|
|
1200
|
+
stackedStyle: S,
|
|
1201
|
+
desktopStyle: V
|
|
1199
1202
|
})
|
|
1200
1203
|
};
|
|
1201
1204
|
}
|
|
1202
|
-
function
|
|
1203
|
-
var C,
|
|
1205
|
+
function m(p) {
|
|
1206
|
+
var C, V;
|
|
1204
1207
|
return Ke(
|
|
1205
|
-
((
|
|
1208
|
+
((V = (C = e.builderContext.content) == null ? void 0 : C.meta) == null ? void 0 : V.breakpoints) || {}
|
|
1206
1209
|
)[p].max;
|
|
1207
1210
|
}
|
|
1208
|
-
function
|
|
1211
|
+
function x() {
|
|
1209
1212
|
const p = `.${e.builderBlock.id}-breakpoints > .builder-column`;
|
|
1210
1213
|
return `
|
|
1211
|
-
@media (max-width: ${
|
|
1214
|
+
@media (max-width: ${m("medium")}px) {
|
|
1212
1215
|
.${e.builderBlock.id}-breakpoints {
|
|
1213
1216
|
flex-direction: var(--flex-dir-tablet);
|
|
1214
1217
|
align-items: stretch;
|
|
@@ -1220,7 +1223,7 @@ function Zt(e) {
|
|
|
1220
1223
|
}
|
|
1221
1224
|
}
|
|
1222
1225
|
|
|
1223
|
-
@media (max-width: ${
|
|
1226
|
+
@media (max-width: ${m("small")}px) {
|
|
1224
1227
|
.${e.builderBlock.id}-breakpoints {
|
|
1225
1228
|
flex-direction: var(--flex-dir);
|
|
1226
1229
|
align-items: stretch;
|
|
@@ -1233,36 +1236,36 @@ function Zt(e) {
|
|
|
1233
1236
|
},
|
|
1234
1237
|
`;
|
|
1235
1238
|
}
|
|
1236
|
-
function
|
|
1239
|
+
function u(p, k) {
|
|
1237
1240
|
return {
|
|
1238
1241
|
...p.link ? {
|
|
1239
1242
|
href: p.link
|
|
1240
1243
|
} : {},
|
|
1241
1244
|
[z()]: "builder-column",
|
|
1242
|
-
style: He(
|
|
1245
|
+
style: He(b(k))
|
|
1243
1246
|
};
|
|
1244
1247
|
}
|
|
1245
|
-
return /* @__PURE__ */ B(
|
|
1248
|
+
return /* @__PURE__ */ B(P, { children: [
|
|
1246
1249
|
/* @__PURE__ */ B(
|
|
1247
1250
|
"div",
|
|
1248
1251
|
{
|
|
1249
|
-
className: Xt((
|
|
1252
|
+
className: Xt((g = e.builderBlock) == null ? void 0 : g.id) + " div-0369db37",
|
|
1250
1253
|
style: h(),
|
|
1251
1254
|
children: [
|
|
1252
1255
|
/* @__PURE__ */ s(
|
|
1253
1256
|
K,
|
|
1254
1257
|
{
|
|
1255
1258
|
id: "builderio-columns",
|
|
1256
|
-
styles:
|
|
1259
|
+
styles: x(),
|
|
1257
1260
|
nonce: e.builderContext.nonce
|
|
1258
1261
|
}
|
|
1259
1262
|
),
|
|
1260
|
-
(
|
|
1263
|
+
(v = e.columns) == null ? void 0 : v.map((p, k) => /* @__PURE__ */ s(
|
|
1261
1264
|
ue,
|
|
1262
1265
|
{
|
|
1263
|
-
TagName:
|
|
1266
|
+
TagName: o(p),
|
|
1264
1267
|
actionAttributes: {},
|
|
1265
|
-
attributes:
|
|
1268
|
+
attributes: u(p, k),
|
|
1266
1269
|
children: /* @__PURE__ */ s(
|
|
1267
1270
|
$,
|
|
1268
1271
|
{
|
|
@@ -1297,8 +1300,8 @@ function Te(e) {
|
|
|
1297
1300
|
return e.replace(/http(s)?:/, "");
|
|
1298
1301
|
}
|
|
1299
1302
|
function tn(e = "", t, n) {
|
|
1300
|
-
const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"),
|
|
1301
|
-
return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e +
|
|
1303
|
+
const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
|
|
1304
|
+
return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
|
|
1302
1305
|
}
|
|
1303
1306
|
function nn(e, t) {
|
|
1304
1307
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
@@ -1307,38 +1310,38 @@ function nn(e, t) {
|
|
|
1307
1310
|
return Te(e);
|
|
1308
1311
|
const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
|
|
1309
1312
|
if (n) {
|
|
1310
|
-
const i = e.split(n[0]),
|
|
1311
|
-
return Te(`${i[0]}_${
|
|
1313
|
+
const i = e.split(n[0]), o = n[3], a = t.match("x") ? t : `${t}x`;
|
|
1314
|
+
return Te(`${i[0]}_${a}${o}`);
|
|
1312
1315
|
}
|
|
1313
1316
|
return null;
|
|
1314
1317
|
}
|
|
1315
|
-
function
|
|
1318
|
+
function oe(e) {
|
|
1316
1319
|
if (!e)
|
|
1317
1320
|
return e;
|
|
1318
1321
|
const t = [100, 200, 400, 800, 1200, 1600, 2e3];
|
|
1319
1322
|
if (e.match(/builder\.io/)) {
|
|
1320
1323
|
let n = e;
|
|
1321
1324
|
const i = Number(e.split("?width=")[1]);
|
|
1322
|
-
return isNaN(i) || (n = `${n} ${i}w`), t.filter((
|
|
1325
|
+
return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${tn(e, "width", o)} ${o}w`).concat([n]).join(", ");
|
|
1323
1326
|
}
|
|
1324
1327
|
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [nn(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
|
|
1325
1328
|
}
|
|
1326
|
-
function
|
|
1327
|
-
var
|
|
1329
|
+
function on(e) {
|
|
1330
|
+
var o, a, r, l, d, c;
|
|
1328
1331
|
function t() {
|
|
1329
|
-
var
|
|
1330
|
-
const
|
|
1331
|
-
if (!
|
|
1332
|
+
var m;
|
|
1333
|
+
const b = e.image || e.src;
|
|
1334
|
+
if (!b || // We can auto add srcset for cdn.builder.io and shopify
|
|
1332
1335
|
// images, otherwise you can supply this prop manually
|
|
1333
|
-
!(typeof
|
|
1336
|
+
!(typeof b == "string" && (b.match(/builder\.io/) || b.match(/cdn\.shopify\.com/))))
|
|
1334
1337
|
return e.srcset;
|
|
1335
1338
|
if (!e.noWebp) {
|
|
1336
|
-
if (e.srcset && ((
|
|
1339
|
+
if (e.srcset && ((m = e.image) != null && m.includes("builder.io/api/v1/image"))) {
|
|
1337
1340
|
if (!e.srcset.includes(e.image.split("?")[0]))
|
|
1338
|
-
return console.debug("Removed given srcset"),
|
|
1341
|
+
return console.debug("Removed given srcset"), oe(b);
|
|
1339
1342
|
} else if (e.image && !e.srcset)
|
|
1340
|
-
return
|
|
1341
|
-
return
|
|
1343
|
+
return oe(b);
|
|
1344
|
+
return oe(b);
|
|
1342
1345
|
}
|
|
1343
1346
|
}
|
|
1344
1347
|
function n() {
|
|
@@ -1355,9 +1358,9 @@ function an(e) {
|
|
|
1355
1358
|
};
|
|
1356
1359
|
return e.aspectRatio ? h : void 0;
|
|
1357
1360
|
}
|
|
1358
|
-
return
|
|
1359
|
-
}, []), /* @__PURE__ */ B(
|
|
1360
|
-
/* @__PURE__ */ B(
|
|
1361
|
+
return R(() => {
|
|
1362
|
+
}, []), /* @__PURE__ */ B(P, { children: [
|
|
1363
|
+
/* @__PURE__ */ B(P, { children: [
|
|
1361
1364
|
/* @__PURE__ */ B("picture", { children: [
|
|
1362
1365
|
n() ? /* @__PURE__ */ s("source", { type: "image/webp", srcSet: n() }) : null,
|
|
1363
1366
|
/* @__PURE__ */ s(
|
|
@@ -1380,7 +1383,7 @@ function an(e) {
|
|
|
1380
1383
|
}
|
|
1381
1384
|
)
|
|
1382
1385
|
] }),
|
|
1383
|
-
e.aspectRatio && !((
|
|
1386
|
+
e.aspectRatio && !((a = (o = e.builderBlock) == null ? void 0 : o.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ s(
|
|
1384
1387
|
"div",
|
|
1385
1388
|
{
|
|
1386
1389
|
className: "builder-image-sizer div-3cc22d08",
|
|
@@ -1389,8 +1392,8 @@ function an(e) {
|
|
|
1389
1392
|
}
|
|
1390
1393
|
}
|
|
1391
1394
|
) : null,
|
|
1392
|
-
(l = (r = e.builderBlock) == null ? void 0 : r.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(
|
|
1393
|
-
!e.fitContent && ((
|
|
1395
|
+
(l = (r = e.builderBlock) == null ? void 0 : r.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(P, { children: e.children }) : null,
|
|
1396
|
+
!e.fitContent && ((c = (d = e.builderBlock) == null ? void 0 : d.children) != null && c.length) ? /* @__PURE__ */ s("div", { className: "div-3cc22d08-2", children: e.children }) : null
|
|
1394
1397
|
] }),
|
|
1395
1398
|
/* @__PURE__ */ s("style", { children: `.img-3cc22d08 {
|
|
1396
1399
|
opacity: 1;
|
|
@@ -1411,7 +1414,7 @@ function an(e) {
|
|
|
1411
1414
|
}` })
|
|
1412
1415
|
] });
|
|
1413
1416
|
}
|
|
1414
|
-
function
|
|
1417
|
+
function an(e) {
|
|
1415
1418
|
return /* @__PURE__ */ s(
|
|
1416
1419
|
"section",
|
|
1417
1420
|
{
|
|
@@ -1432,7 +1435,7 @@ function on(e) {
|
|
|
1432
1435
|
}
|
|
1433
1436
|
);
|
|
1434
1437
|
}
|
|
1435
|
-
const
|
|
1438
|
+
const ae = {
|
|
1436
1439
|
"@type": "@builder.io/sdk:Element",
|
|
1437
1440
|
layerName: "Accordion item title",
|
|
1438
1441
|
responsiveStyles: {
|
|
@@ -1509,7 +1512,7 @@ const oe = {
|
|
|
1509
1512
|
name: "title",
|
|
1510
1513
|
type: "uiBlocks",
|
|
1511
1514
|
hideFromUI: !0,
|
|
1512
|
-
defaultValue: [
|
|
1515
|
+
defaultValue: [ae]
|
|
1513
1516
|
}, {
|
|
1514
1517
|
name: "detail",
|
|
1515
1518
|
type: "uiBlocks",
|
|
@@ -1517,10 +1520,10 @@ const oe = {
|
|
|
1517
1520
|
defaultValue: [re]
|
|
1518
1521
|
}],
|
|
1519
1522
|
defaultValue: [{
|
|
1520
|
-
title: [
|
|
1523
|
+
title: [ae],
|
|
1521
1524
|
detail: [re]
|
|
1522
1525
|
}, {
|
|
1523
|
-
title: [
|
|
1526
|
+
title: [ae],
|
|
1524
1527
|
detail: [re]
|
|
1525
1528
|
}],
|
|
1526
1529
|
showIf: (e) => !e.get("useChildrenForItems")
|
|
@@ -1558,12 +1561,12 @@ const oe = {
|
|
|
1558
1561
|
}
|
|
1559
1562
|
}, we = (e) => e.toString();
|
|
1560
1563
|
function ln(e) {
|
|
1561
|
-
var
|
|
1564
|
+
var b;
|
|
1562
1565
|
const [t, n] = I(() => []);
|
|
1563
1566
|
function i() {
|
|
1564
1567
|
return !!(e.grid || e.oneAtATime);
|
|
1565
1568
|
}
|
|
1566
|
-
function
|
|
1569
|
+
function o() {
|
|
1567
1570
|
return {
|
|
1568
1571
|
display: "flex",
|
|
1569
1572
|
alignItems: "stretch",
|
|
@@ -1575,8 +1578,8 @@ function ln(e) {
|
|
|
1575
1578
|
}
|
|
1576
1579
|
};
|
|
1577
1580
|
}
|
|
1578
|
-
function
|
|
1579
|
-
const
|
|
1581
|
+
function a() {
|
|
1582
|
+
const x = {
|
|
1580
1583
|
...{
|
|
1581
1584
|
display: "flex",
|
|
1582
1585
|
flexDirection: "column"
|
|
@@ -1585,75 +1588,75 @@ function ln(e) {
|
|
|
1585
1588
|
cursor: "pointer"
|
|
1586
1589
|
};
|
|
1587
1590
|
return Object.fromEntries(
|
|
1588
|
-
Object.entries(
|
|
1591
|
+
Object.entries(x).filter(([u, g]) => g !== void 0)
|
|
1589
1592
|
);
|
|
1590
1593
|
}
|
|
1591
|
-
function r(
|
|
1592
|
-
return `builder-accordion-title builder-accordion-title-${t.includes(
|
|
1594
|
+
function r(m) {
|
|
1595
|
+
return `builder-accordion-title builder-accordion-title-${t.includes(m) ? "open" : "closed"}`;
|
|
1593
1596
|
}
|
|
1594
|
-
function l(
|
|
1595
|
-
return `builder-accordion-detail builder-accordion-detail-${t.includes(
|
|
1597
|
+
function l(m) {
|
|
1598
|
+
return `builder-accordion-detail builder-accordion-detail-${t.includes(m) ? "open" : "closed"}`;
|
|
1596
1599
|
}
|
|
1597
1600
|
function d() {
|
|
1598
|
-
let
|
|
1601
|
+
let m = null;
|
|
1599
1602
|
if (e.grid && t.length && document) {
|
|
1600
|
-
const
|
|
1601
|
-
let
|
|
1602
|
-
`.builder-accordion-title[data-index="${
|
|
1603
|
+
const u = t[0];
|
|
1604
|
+
let v = document.querySelector(
|
|
1605
|
+
`.builder-accordion-title[data-index="${u}"]`
|
|
1603
1606
|
);
|
|
1604
|
-
if (
|
|
1605
|
-
let p =
|
|
1606
|
-
for (;
|
|
1607
|
-
if (
|
|
1608
|
-
if (
|
|
1607
|
+
if (m = u, v) {
|
|
1608
|
+
let p = v.getBoundingClientRect();
|
|
1609
|
+
for (; v = v && v.nextElementSibling; )
|
|
1610
|
+
if (v) {
|
|
1611
|
+
if (v.classList.contains("builder-accordion-detail"))
|
|
1609
1612
|
continue;
|
|
1610
|
-
const k =
|
|
1613
|
+
const k = v.getBoundingClientRect();
|
|
1611
1614
|
if (k.left > p.left) {
|
|
1612
1615
|
const C = parseInt(
|
|
1613
|
-
|
|
1616
|
+
v.getAttribute("data-index") || "",
|
|
1614
1617
|
10
|
|
1615
1618
|
);
|
|
1616
|
-
isNaN(C) || (p = k,
|
|
1619
|
+
isNaN(C) || (p = k, m = C);
|
|
1617
1620
|
} else
|
|
1618
1621
|
break;
|
|
1619
1622
|
}
|
|
1620
1623
|
}
|
|
1621
1624
|
}
|
|
1622
|
-
return typeof
|
|
1625
|
+
return typeof m == "number" && (m = m + 1), m;
|
|
1623
1626
|
}
|
|
1624
|
-
function
|
|
1625
|
-
const
|
|
1627
|
+
function c() {
|
|
1628
|
+
const m = {
|
|
1626
1629
|
order: typeof d() == "number" ? d() : void 0,
|
|
1627
1630
|
...e.grid && {
|
|
1628
1631
|
width: "100%"
|
|
1629
1632
|
}
|
|
1630
1633
|
};
|
|
1631
1634
|
return Object.fromEntries(
|
|
1632
|
-
Object.entries(
|
|
1635
|
+
Object.entries(m).filter(([x, u]) => u !== void 0)
|
|
1633
1636
|
);
|
|
1634
1637
|
}
|
|
1635
|
-
function h(
|
|
1636
|
-
t.includes(
|
|
1638
|
+
function h(m) {
|
|
1639
|
+
t.includes(m) ? n(i() ? [] : t.filter((x) => x !== m)) : n(i() ? [m] : t.concat(m));
|
|
1637
1640
|
}
|
|
1638
|
-
return /* @__PURE__ */ s("div", { className: "builder-accordion", style:
|
|
1641
|
+
return /* @__PURE__ */ s("div", { className: "builder-accordion", style: o(), children: (b = e.items) == null ? void 0 : b.map((m, x) => /* @__PURE__ */ B(at.Fragment, { children: [
|
|
1639
1642
|
/* @__PURE__ */ s(
|
|
1640
1643
|
"div",
|
|
1641
1644
|
{
|
|
1642
|
-
className: r(
|
|
1645
|
+
className: r(x),
|
|
1643
1646
|
style: {
|
|
1644
|
-
...
|
|
1647
|
+
...a(),
|
|
1645
1648
|
...e.grid && {
|
|
1646
1649
|
width: e.gridRowWidth,
|
|
1647
|
-
order: d() !== null ? we(
|
|
1650
|
+
order: d() !== null ? we(x) : we(x + 1)
|
|
1648
1651
|
}
|
|
1649
1652
|
},
|
|
1650
|
-
"data-index":
|
|
1651
|
-
onClick: (
|
|
1653
|
+
"data-index": x,
|
|
1654
|
+
onClick: (u) => h(x),
|
|
1652
1655
|
children: /* @__PURE__ */ s(
|
|
1653
1656
|
$,
|
|
1654
1657
|
{
|
|
1655
|
-
blocks:
|
|
1656
|
-
path: `items.${
|
|
1658
|
+
blocks: m.title,
|
|
1659
|
+
path: `items.${x}.title`,
|
|
1657
1660
|
parent: e.builderBlock.id,
|
|
1658
1661
|
context: e.builderContext,
|
|
1659
1662
|
registeredComponents: e.builderComponents,
|
|
@@ -1662,16 +1665,16 @@ function ln(e) {
|
|
|
1662
1665
|
)
|
|
1663
1666
|
}
|
|
1664
1667
|
),
|
|
1665
|
-
t.includes(
|
|
1668
|
+
t.includes(x) ? /* @__PURE__ */ s(
|
|
1666
1669
|
"div",
|
|
1667
1670
|
{
|
|
1668
|
-
className: l(
|
|
1669
|
-
style:
|
|
1671
|
+
className: l(x),
|
|
1672
|
+
style: c(),
|
|
1670
1673
|
children: /* @__PURE__ */ s(
|
|
1671
1674
|
$,
|
|
1672
1675
|
{
|
|
1673
|
-
blocks:
|
|
1674
|
-
path: `items.${
|
|
1676
|
+
blocks: m.detail,
|
|
1677
|
+
path: `items.${x}.detail`,
|
|
1675
1678
|
parent: e.builderBlock.id,
|
|
1676
1679
|
context: e.builderContext,
|
|
1677
1680
|
registeredComponents: e.builderComponents,
|
|
@@ -1680,7 +1683,7 @@ function ln(e) {
|
|
|
1680
1683
|
)
|
|
1681
1684
|
}
|
|
1682
1685
|
) : null
|
|
1683
|
-
] },
|
|
1686
|
+
] }, x)) });
|
|
1684
1687
|
}
|
|
1685
1688
|
const sn = {
|
|
1686
1689
|
name: "Core:Button",
|
|
@@ -1897,7 +1900,7 @@ const sn = {
|
|
|
1897
1900
|
});
|
|
1898
1901
|
}
|
|
1899
1902
|
const n = e.get("columns");
|
|
1900
|
-
Array.isArray(n) && n.find((
|
|
1903
|
+
Array.isArray(n) && n.find((o) => o.get("width")) && (n.find((a) => !a.get("width")) || n.reduce((l, d) => l + d.get("width"), 0) !== 100) && t();
|
|
1901
1904
|
}
|
|
1902
1905
|
}, {
|
|
1903
1906
|
name: "space",
|
|
@@ -1952,28 +1955,28 @@ const sn = {
|
|
|
1952
1955
|
onChange: (e) => {
|
|
1953
1956
|
e.delete("srcset"), e.delete("noWebp");
|
|
1954
1957
|
function n(r, l = 6e4) {
|
|
1955
|
-
return new Promise((d,
|
|
1958
|
+
return new Promise((d, c) => {
|
|
1956
1959
|
const h = document.createElement("img");
|
|
1957
|
-
let
|
|
1960
|
+
let b = !1;
|
|
1958
1961
|
h.onload = () => {
|
|
1959
|
-
|
|
1960
|
-
}, h.addEventListener("error", (
|
|
1961
|
-
console.warn("Image load failed",
|
|
1962
|
+
b = !0, d(h);
|
|
1963
|
+
}, h.addEventListener("error", (m) => {
|
|
1964
|
+
console.warn("Image load failed", m.error), c(m.error);
|
|
1962
1965
|
}), h.src = r, setTimeout(() => {
|
|
1963
|
-
|
|
1966
|
+
b || c(new Error("Image load timed out"));
|
|
1964
1967
|
}, l);
|
|
1965
1968
|
});
|
|
1966
1969
|
}
|
|
1967
1970
|
function i(r) {
|
|
1968
1971
|
return Math.round(r * 1e3) / 1e3;
|
|
1969
1972
|
}
|
|
1970
|
-
const
|
|
1971
|
-
if (fetch(
|
|
1973
|
+
const o = e.get("image"), a = e.get("aspectRatio");
|
|
1974
|
+
if (fetch(o).then((r) => r.blob()).then((r) => {
|
|
1972
1975
|
r.type.includes("svg") && e.set("noWebp", !0);
|
|
1973
|
-
}),
|
|
1974
|
-
return n(
|
|
1976
|
+
}), o && (!a || a === 0.7041))
|
|
1977
|
+
return n(o).then((r) => {
|
|
1975
1978
|
const l = e.get("aspectRatio");
|
|
1976
|
-
e.get("image") ===
|
|
1979
|
+
e.get("image") === o && (!l || l === 0.7041) && r.width && r.height && (e.set("aspectRatio", i(r.height / r.width)), e.set("height", r.height), e.set("width", r.width));
|
|
1977
1980
|
});
|
|
1978
1981
|
}
|
|
1979
1982
|
}, {
|
|
@@ -2090,50 +2093,50 @@ function X(e) {
|
|
|
2090
2093
|
);
|
|
2091
2094
|
}
|
|
2092
2095
|
function hn(e, t, n, i) {
|
|
2093
|
-
function
|
|
2094
|
-
return typeof
|
|
2096
|
+
function o(c) {
|
|
2097
|
+
return typeof c == "string";
|
|
2095
2098
|
}
|
|
2096
|
-
function
|
|
2097
|
-
return typeof
|
|
2099
|
+
function a(c) {
|
|
2100
|
+
return typeof c == "number";
|
|
2098
2101
|
}
|
|
2099
|
-
function r(
|
|
2102
|
+
function r(c, h) {
|
|
2100
2103
|
return (() => {
|
|
2101
|
-
const
|
|
2102
|
-
let
|
|
2103
|
-
if (h && h.property === "urlPath" && h.value && typeof h.value == "string" && h.value !== "/" && h.value.endsWith("/") && (
|
|
2104
|
+
const m = h.property, x = h.operator;
|
|
2105
|
+
let u = h.value;
|
|
2106
|
+
if (h && h.property === "urlPath" && h.value && typeof h.value == "string" && h.value !== "/" && h.value.endsWith("/") && (u = h.value.slice(0, -1)), !(m && x))
|
|
2104
2107
|
return !0;
|
|
2105
|
-
if (Array.isArray(
|
|
2106
|
-
return
|
|
2107
|
-
property:
|
|
2108
|
-
operator:
|
|
2109
|
-
value:
|
|
2110
|
-
})) : !!
|
|
2111
|
-
property:
|
|
2112
|
-
operator:
|
|
2113
|
-
value:
|
|
2108
|
+
if (Array.isArray(u))
|
|
2109
|
+
return x === "isNot" ? u.every((v) => r(c, {
|
|
2110
|
+
property: m,
|
|
2111
|
+
operator: x,
|
|
2112
|
+
value: v
|
|
2113
|
+
})) : !!u.find((v) => r(c, {
|
|
2114
|
+
property: m,
|
|
2115
|
+
operator: x,
|
|
2116
|
+
value: v
|
|
2114
2117
|
}));
|
|
2115
|
-
const
|
|
2116
|
-
if (Array.isArray(
|
|
2117
|
-
return
|
|
2118
|
-
switch (
|
|
2118
|
+
const g = c[m];
|
|
2119
|
+
if (Array.isArray(g))
|
|
2120
|
+
return g.includes(u);
|
|
2121
|
+
switch (x) {
|
|
2119
2122
|
case "is":
|
|
2120
|
-
return
|
|
2123
|
+
return g === u;
|
|
2121
2124
|
case "isNot":
|
|
2122
|
-
return
|
|
2125
|
+
return g !== u;
|
|
2123
2126
|
case "contains":
|
|
2124
|
-
return (
|
|
2127
|
+
return (o(g) || Array.isArray(g)) && g.includes(String(u));
|
|
2125
2128
|
case "startsWith":
|
|
2126
|
-
return
|
|
2129
|
+
return o(g) && g.startsWith(String(u));
|
|
2127
2130
|
case "endsWith":
|
|
2128
|
-
return
|
|
2131
|
+
return o(g) && g.endsWith(String(u));
|
|
2129
2132
|
case "greaterThan":
|
|
2130
|
-
return
|
|
2133
|
+
return a(g) && a(u) && g > u;
|
|
2131
2134
|
case "lessThan":
|
|
2132
|
-
return
|
|
2135
|
+
return a(g) && a(u) && g < u;
|
|
2133
2136
|
case "greaterThanOrEqualTo":
|
|
2134
|
-
return
|
|
2137
|
+
return a(g) && a(u) && g >= u;
|
|
2135
2138
|
case "lessThanOrEqualTo":
|
|
2136
|
-
return
|
|
2139
|
+
return a(g) && a(u) && g <= u;
|
|
2137
2140
|
default:
|
|
2138
2141
|
return !1;
|
|
2139
2142
|
}
|
|
@@ -2144,7 +2147,7 @@ function hn(e, t, n, i) {
|
|
|
2144
2147
|
startDate: n,
|
|
2145
2148
|
endDate: i
|
|
2146
2149
|
}, d = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
|
|
2147
|
-
return l.startDate && new Date(l.startDate) > d || l.endDate && new Date(l.endDate) < d ? !1 : !l.query || !l.query.length ? !0 : l.query.every((
|
|
2150
|
+
return l.startDate && new Date(l.startDate) > d || l.endDate && new Date(l.endDate) < d ? !1 : !l.query || !l.query.length ? !0 : l.query.every((c) => r(e, c));
|
|
2148
2151
|
}
|
|
2149
2152
|
const gn = `function getPersonalizedVariant(variants, blockId, locale) {
|
|
2150
2153
|
if (!navigator.cookieEnabled) {
|
|
@@ -2286,18 +2289,18 @@ function yn({
|
|
|
2286
2289
|
previewingIndex: t,
|
|
2287
2290
|
isHydrated: n,
|
|
2288
2291
|
filteredVariants: i,
|
|
2289
|
-
fallbackBlocks:
|
|
2292
|
+
fallbackBlocks: o
|
|
2290
2293
|
}) {
|
|
2291
2294
|
var r;
|
|
2292
|
-
const
|
|
2293
|
-
blocks:
|
|
2295
|
+
const a = {
|
|
2296
|
+
blocks: o != null ? o : [],
|
|
2294
2297
|
path: "this.children"
|
|
2295
2298
|
};
|
|
2296
2299
|
if (n && A())
|
|
2297
2300
|
return typeof t == "number" && t < ((r = e == null ? void 0 : e.length) != null ? r : 0) ? {
|
|
2298
2301
|
blocks: e[t].blocks,
|
|
2299
2302
|
path: `component.options.variants.${t}.blocks`
|
|
2300
|
-
} :
|
|
2303
|
+
} : a;
|
|
2301
2304
|
if (U()) {
|
|
2302
2305
|
const l = i == null ? void 0 : i[0];
|
|
2303
2306
|
if (l)
|
|
@@ -2306,7 +2309,7 @@ function yn({
|
|
|
2306
2309
|
path: `component.options.variants.${e == null ? void 0 : e.indexOf(l)}.blocks`
|
|
2307
2310
|
};
|
|
2308
2311
|
}
|
|
2309
|
-
return
|
|
2312
|
+
return a;
|
|
2310
2313
|
}
|
|
2311
2314
|
const vn = (e, t, n) => `
|
|
2312
2315
|
(function() {
|
|
@@ -2316,76 +2319,76 @@ const vn = (e, t, n) => `
|
|
|
2316
2319
|
})();
|
|
2317
2320
|
`;
|
|
2318
2321
|
function xn(e) {
|
|
2319
|
-
var
|
|
2322
|
+
var g, v, p, k, C, V, w;
|
|
2320
2323
|
const t = O(null), [n, i] = I(
|
|
2321
2324
|
() => be.getUserAttributes()
|
|
2322
|
-
), [
|
|
2325
|
+
), [o, a] = I(
|
|
2323
2326
|
() => {
|
|
2324
|
-
var
|
|
2327
|
+
var S, f, y;
|
|
2325
2328
|
return vn(
|
|
2326
2329
|
e.variants,
|
|
2327
|
-
((
|
|
2328
|
-
(y = (
|
|
2330
|
+
((S = e.builderBlock) == null ? void 0 : S.id) || "none",
|
|
2331
|
+
(y = (f = e.builderContext) == null ? void 0 : f.rootState) == null ? void 0 : y.locale
|
|
2329
2332
|
);
|
|
2330
2333
|
}
|
|
2331
|
-
), [r, l] = I(() => []), [d,
|
|
2334
|
+
), [r, l] = I(() => []), [d, c] = I(
|
|
2332
2335
|
() => {
|
|
2333
|
-
var
|
|
2336
|
+
var S;
|
|
2334
2337
|
return pn(
|
|
2335
2338
|
e.variants,
|
|
2336
|
-
j((
|
|
2339
|
+
j((S = e.builderContext) == null ? void 0 : S.canTrack)
|
|
2337
2340
|
);
|
|
2338
2341
|
}
|
|
2339
|
-
), [h,
|
|
2340
|
-
function
|
|
2341
|
-
return (e.variants || []).filter((
|
|
2342
|
-
var
|
|
2342
|
+
), [h, b] = I(() => !1);
|
|
2343
|
+
function m() {
|
|
2344
|
+
return (e.variants || []).filter((S) => {
|
|
2345
|
+
var f, y, T, E;
|
|
2343
2346
|
return hn(
|
|
2344
2347
|
{
|
|
2345
|
-
...(y = (
|
|
2348
|
+
...(y = (f = e.builderContext) == null ? void 0 : f.rootState) != null && y.locale ? {
|
|
2346
2349
|
locale: (E = (T = e.builderContext) == null ? void 0 : T.rootState) == null ? void 0 : E.locale
|
|
2347
2350
|
} : {},
|
|
2348
2351
|
...n
|
|
2349
2352
|
},
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
+
S.query,
|
|
2354
|
+
S.startDate,
|
|
2355
|
+
S.endDate
|
|
2353
2356
|
);
|
|
2354
2357
|
});
|
|
2355
2358
|
}
|
|
2356
|
-
function
|
|
2357
|
-
var
|
|
2359
|
+
function x() {
|
|
2360
|
+
var S;
|
|
2358
2361
|
return yn({
|
|
2359
2362
|
variants: e.variants,
|
|
2360
|
-
fallbackBlocks: (
|
|
2363
|
+
fallbackBlocks: (S = e.builderBlock) == null ? void 0 : S.children,
|
|
2361
2364
|
isHydrated: h,
|
|
2362
|
-
filteredVariants:
|
|
2365
|
+
filteredVariants: m(),
|
|
2363
2366
|
previewingIndex: e.previewingIndex
|
|
2364
2367
|
});
|
|
2365
2368
|
}
|
|
2366
|
-
function
|
|
2369
|
+
function u() {
|
|
2367
2370
|
return (e.variants || []).map(
|
|
2368
|
-
(
|
|
2371
|
+
(S, f) => {
|
|
2369
2372
|
var y;
|
|
2370
|
-
return `[data-variant-id="${(y = e.builderBlock) == null ? void 0 : y.id}-${
|
|
2373
|
+
return `[data-variant-id="${(y = e.builderBlock) == null ? void 0 : y.id}-${f}"] { display: none; } `;
|
|
2371
2374
|
}
|
|
2372
2375
|
).join("");
|
|
2373
2376
|
}
|
|
2374
|
-
return
|
|
2375
|
-
var
|
|
2376
|
-
|
|
2377
|
-
const
|
|
2377
|
+
return R(() => {
|
|
2378
|
+
var f;
|
|
2379
|
+
b(!0);
|
|
2380
|
+
const S = be.subscribeOnUserAttributesChange(
|
|
2378
2381
|
(y) => {
|
|
2379
2382
|
i(y);
|
|
2380
2383
|
}
|
|
2381
2384
|
);
|
|
2382
2385
|
if (!(A() || Z())) {
|
|
2383
|
-
const y =
|
|
2386
|
+
const y = m()[0];
|
|
2384
2387
|
t.current && (t.current.dispatchEvent(
|
|
2385
2388
|
new CustomEvent("builder.variantLoaded", {
|
|
2386
2389
|
detail: {
|
|
2387
2390
|
variant: y || "default",
|
|
2388
|
-
content: (
|
|
2391
|
+
content: (f = e.builderContext) == null ? void 0 : f.content
|
|
2389
2392
|
},
|
|
2390
2393
|
bubbles: !0
|
|
2391
2394
|
})
|
|
@@ -2404,40 +2407,40 @@ function xn(e) {
|
|
|
2404
2407
|
});
|
|
2405
2408
|
}).observe(t.current));
|
|
2406
2409
|
}
|
|
2407
|
-
r.push(
|
|
2408
|
-
}, []),
|
|
2409
|
-
r.forEach((
|
|
2410
|
+
r.push(S);
|
|
2411
|
+
}, []), R(() => () => {
|
|
2412
|
+
r.forEach((S) => S());
|
|
2410
2413
|
}, []), /* @__PURE__ */ B(
|
|
2411
2414
|
"div",
|
|
2412
2415
|
{
|
|
2413
2416
|
ref: t,
|
|
2414
2417
|
...e.attributes,
|
|
2415
|
-
className: `builder-personalization-container ${((
|
|
2418
|
+
className: `builder-personalization-container ${((g = e.attributes) == null ? void 0 : g.className) || ""}`,
|
|
2416
2419
|
children: [
|
|
2417
|
-
d ? /* @__PURE__ */ B(
|
|
2418
|
-
(
|
|
2420
|
+
d ? /* @__PURE__ */ B(P, { children: [
|
|
2421
|
+
(v = e.variants) == null ? void 0 : v.map((S, f) => {
|
|
2419
2422
|
var y, T;
|
|
2420
2423
|
return /* @__PURE__ */ s(
|
|
2421
2424
|
"template",
|
|
2422
2425
|
{
|
|
2423
|
-
"data-variant-id": `${(y = e.builderBlock) == null ? void 0 : y.id}-${
|
|
2426
|
+
"data-variant-id": `${(y = e.builderBlock) == null ? void 0 : y.id}-${f}`,
|
|
2424
2427
|
children: /* @__PURE__ */ s(
|
|
2425
2428
|
$,
|
|
2426
2429
|
{
|
|
2427
|
-
blocks:
|
|
2430
|
+
blocks: S.blocks,
|
|
2428
2431
|
parent: (T = e.builderBlock) == null ? void 0 : T.id,
|
|
2429
|
-
path: `component.options.variants.${
|
|
2432
|
+
path: `component.options.variants.${f}.blocks`
|
|
2430
2433
|
}
|
|
2431
2434
|
)
|
|
2432
2435
|
},
|
|
2433
|
-
|
|
2436
|
+
f
|
|
2434
2437
|
);
|
|
2435
2438
|
}),
|
|
2436
2439
|
/* @__PURE__ */ s(
|
|
2437
2440
|
K,
|
|
2438
2441
|
{
|
|
2439
2442
|
nonce: ((p = e.builderContext) == null ? void 0 : p.nonce) || "",
|
|
2440
|
-
styles:
|
|
2443
|
+
styles: u(),
|
|
2441
2444
|
id: `variants-styles-${(k = e.builderBlock) == null ? void 0 : k.id}`
|
|
2442
2445
|
}
|
|
2443
2446
|
),
|
|
@@ -2445,17 +2448,17 @@ function xn(e) {
|
|
|
2445
2448
|
X,
|
|
2446
2449
|
{
|
|
2447
2450
|
nonce: ((C = e.builderContext) == null ? void 0 : C.nonce) || "",
|
|
2448
|
-
scriptStr:
|
|
2449
|
-
id: `variants-script-${(
|
|
2451
|
+
scriptStr: o,
|
|
2452
|
+
id: `variants-script-${(V = e.builderBlock) == null ? void 0 : V.id}`
|
|
2450
2453
|
}
|
|
2451
2454
|
)
|
|
2452
2455
|
] }) : null,
|
|
2453
2456
|
/* @__PURE__ */ s(
|
|
2454
2457
|
$,
|
|
2455
2458
|
{
|
|
2456
|
-
blocks:
|
|
2459
|
+
blocks: x().blocks,
|
|
2457
2460
|
parent: (w = e.builderBlock) == null ? void 0 : w.id,
|
|
2458
|
-
path:
|
|
2461
|
+
path: x().path
|
|
2459
2462
|
}
|
|
2460
2463
|
)
|
|
2461
2464
|
]
|
|
@@ -2725,14 +2728,14 @@ const Tn = {
|
|
|
2725
2728
|
}
|
|
2726
2729
|
};
|
|
2727
2730
|
function In(e) {
|
|
2728
|
-
var
|
|
2731
|
+
var a;
|
|
2729
2732
|
const [t, n] = I(
|
|
2730
2733
|
() => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
|
|
2731
2734
|
);
|
|
2732
2735
|
function i(r) {
|
|
2733
2736
|
return e.tabs && e.tabs[r].content;
|
|
2734
2737
|
}
|
|
2735
|
-
function
|
|
2738
|
+
function o(r) {
|
|
2736
2739
|
r === t && e.collapsible ? n(-1) : n(r);
|
|
2737
2740
|
}
|
|
2738
2741
|
return /* @__PURE__ */ B("div", { children: [
|
|
@@ -2746,14 +2749,14 @@ function In(e) {
|
|
|
2746
2749
|
justifyContent: e.tabHeaderLayout || "flex-start",
|
|
2747
2750
|
overflow: "auto"
|
|
2748
2751
|
},
|
|
2749
|
-
children: (
|
|
2752
|
+
children: (a = e.tabs) == null ? void 0 : a.map((r, l) => /* @__PURE__ */ s(
|
|
2750
2753
|
"span",
|
|
2751
2754
|
{
|
|
2752
2755
|
className: `builder-tab-wrap ${t === l ? "builder-tab-active" : ""}`,
|
|
2753
2756
|
style: {
|
|
2754
2757
|
...t === l ? e.activeTabStyle : {}
|
|
2755
2758
|
},
|
|
2756
|
-
onClick: (d) =>
|
|
2759
|
+
onClick: (d) => o(l),
|
|
2757
2760
|
children: /* @__PURE__ */ s(
|
|
2758
2761
|
$,
|
|
2759
2762
|
{
|
|
@@ -2840,41 +2843,41 @@ const Pn = {
|
|
|
2840
2843
|
}]
|
|
2841
2844
|
};
|
|
2842
2845
|
function Vn(e) {
|
|
2843
|
-
const t = O(null), [n, i] = I(() => []), [
|
|
2846
|
+
const t = O(null), [n, i] = I(() => []), [o, a] = I(() => []);
|
|
2844
2847
|
function r() {
|
|
2845
2848
|
var d;
|
|
2846
2849
|
if (!t.current || !((d = t.current) != null && d.getElementsByTagName) || typeof window == "undefined")
|
|
2847
2850
|
return;
|
|
2848
2851
|
const l = t.current.getElementsByTagName("script");
|
|
2849
|
-
for (let
|
|
2850
|
-
const h = l[
|
|
2852
|
+
for (let c = 0; c < l.length; c++) {
|
|
2853
|
+
const h = l[c];
|
|
2851
2854
|
if (h.src) {
|
|
2852
2855
|
if (n.includes(h.src))
|
|
2853
2856
|
continue;
|
|
2854
2857
|
n.push(h.src);
|
|
2855
|
-
const
|
|
2856
|
-
|
|
2858
|
+
const b = document.createElement("script");
|
|
2859
|
+
b.async = !0, b.src = h.src, document.head.appendChild(b);
|
|
2857
2860
|
} else if (!h.type || [
|
|
2858
2861
|
"text/javascript",
|
|
2859
2862
|
"application/javascript",
|
|
2860
2863
|
"application/ecmascript"
|
|
2861
2864
|
].includes(h.type)) {
|
|
2862
|
-
if (
|
|
2865
|
+
if (o.includes(h.innerText))
|
|
2863
2866
|
continue;
|
|
2864
2867
|
try {
|
|
2865
|
-
|
|
2866
|
-
} catch (
|
|
2868
|
+
o.push(h.innerText), new Function(h.innerText)();
|
|
2869
|
+
} catch (b) {
|
|
2867
2870
|
_.warn(
|
|
2868
2871
|
"[BUILDER.IO] `CustomCode`: Error running script:",
|
|
2869
|
-
|
|
2872
|
+
b
|
|
2870
2873
|
);
|
|
2871
2874
|
}
|
|
2872
2875
|
}
|
|
2873
2876
|
}
|
|
2874
2877
|
}
|
|
2875
|
-
return
|
|
2878
|
+
return R(() => {
|
|
2876
2879
|
r();
|
|
2877
|
-
}, []),
|
|
2880
|
+
}, []), R(() => {
|
|
2878
2881
|
A() && r();
|
|
2879
2882
|
}, [e.code]), /* @__PURE__ */ s(
|
|
2880
2883
|
"div",
|
|
@@ -2902,26 +2905,26 @@ const Bn = {
|
|
|
2902
2905
|
}]
|
|
2903
2906
|
}, An = ["text/javascript", "application/javascript", "application/ecmascript"], Nn = (e) => An.includes(e.type);
|
|
2904
2907
|
function Wn(e) {
|
|
2905
|
-
const t = O(null), [n, i] = I(() => []), [
|
|
2908
|
+
const t = O(null), [n, i] = I(() => []), [o, a] = I(() => []), [r, l] = I(() => !1);
|
|
2906
2909
|
function d() {
|
|
2907
2910
|
if (!t.current || !t.current.getElementsByTagName)
|
|
2908
2911
|
return;
|
|
2909
|
-
const
|
|
2910
|
-
for (let h = 0; h <
|
|
2911
|
-
const
|
|
2912
|
-
if (
|
|
2913
|
-
n.push(
|
|
2914
|
-
const
|
|
2915
|
-
|
|
2916
|
-
} else if (Nn(
|
|
2912
|
+
const c = t.current.getElementsByTagName("script");
|
|
2913
|
+
for (let h = 0; h < c.length; h++) {
|
|
2914
|
+
const b = c[h];
|
|
2915
|
+
if (b.src && !n.includes(b.src)) {
|
|
2916
|
+
n.push(b.src);
|
|
2917
|
+
const m = document.createElement("script");
|
|
2918
|
+
m.async = !0, m.src = b.src, document.head.appendChild(m);
|
|
2919
|
+
} else if (Nn(b) && !o.includes(b.innerText))
|
|
2917
2920
|
try {
|
|
2918
|
-
|
|
2919
|
-
} catch (
|
|
2920
|
-
_.warn("[BUILDER.IO] `Embed`: Error running script:",
|
|
2921
|
+
o.push(b.innerText), new Function(b.innerText)();
|
|
2922
|
+
} catch (m) {
|
|
2923
|
+
_.warn("[BUILDER.IO] `Embed`: Error running script:", m);
|
|
2921
2924
|
}
|
|
2922
2925
|
}
|
|
2923
2926
|
}
|
|
2924
|
-
return
|
|
2927
|
+
return R(() => {
|
|
2925
2928
|
t.current && !r && (l(!0), d());
|
|
2926
2929
|
}, [t.current, r]), /* @__PURE__ */ s(
|
|
2927
2930
|
"div",
|
|
@@ -3174,85 +3177,85 @@ const Dn = {
|
|
|
3174
3177
|
return $n.includes(e) ? e : "production";
|
|
3175
3178
|
};
|
|
3176
3179
|
function On(e) {
|
|
3177
|
-
const t = O(null), [n, i] = I(() => "unsubmitted"), [
|
|
3178
|
-
function d(
|
|
3179
|
-
var
|
|
3180
|
-
const
|
|
3180
|
+
const t = O(null), [n, i] = I(() => "unsubmitted"), [o, a] = I(() => null), [r, l] = I(() => "");
|
|
3181
|
+
function d(b) {
|
|
3182
|
+
var x, u;
|
|
3183
|
+
const m = {
|
|
3181
3184
|
...e.builderContext.rootState,
|
|
3182
|
-
...
|
|
3185
|
+
...b
|
|
3183
3186
|
};
|
|
3184
|
-
e.builderContext.rootSetState ? (
|
|
3187
|
+
e.builderContext.rootSetState ? (u = (x = e.builderContext).rootSetState) == null || u.call(x, m) : e.builderContext.rootState = m;
|
|
3185
3188
|
}
|
|
3186
|
-
function
|
|
3189
|
+
function c() {
|
|
3187
3190
|
return A() && e.previewState || n;
|
|
3188
3191
|
}
|
|
3189
|
-
function h(
|
|
3190
|
-
var
|
|
3191
|
-
const
|
|
3192
|
+
function h(b) {
|
|
3193
|
+
var x;
|
|
3194
|
+
const m = e.sendWithJs || e.sendSubmissionsTo === "email";
|
|
3192
3195
|
if (e.sendSubmissionsTo === "zapier")
|
|
3193
|
-
|
|
3194
|
-
else if (
|
|
3196
|
+
b.preventDefault();
|
|
3197
|
+
else if (m) {
|
|
3195
3198
|
if (!(e.action || e.sendSubmissionsTo === "email")) {
|
|
3196
|
-
|
|
3199
|
+
b.preventDefault();
|
|
3197
3200
|
return;
|
|
3198
3201
|
}
|
|
3199
|
-
|
|
3200
|
-
const
|
|
3201
|
-
let
|
|
3202
|
-
const p = new FormData(
|
|
3202
|
+
b.preventDefault();
|
|
3203
|
+
const u = b.currentTarget || b.target, g = e.customHeaders || {};
|
|
3204
|
+
let v;
|
|
3205
|
+
const p = new FormData(u), k = Array.from(u.querySelectorAll("input,select,textarea")).filter((f) => !!f.name).map((f) => {
|
|
3203
3206
|
let y;
|
|
3204
|
-
const T =
|
|
3205
|
-
if (
|
|
3206
|
-
if (
|
|
3207
|
-
if (
|
|
3208
|
-
return y =
|
|
3207
|
+
const T = f.name;
|
|
3208
|
+
if (f instanceof HTMLInputElement)
|
|
3209
|
+
if (f.type === "radio") {
|
|
3210
|
+
if (f.checked)
|
|
3211
|
+
return y = f.name, {
|
|
3209
3212
|
key: T,
|
|
3210
3213
|
value: y
|
|
3211
3214
|
};
|
|
3212
|
-
} else if (
|
|
3213
|
-
y =
|
|
3214
|
-
else if (
|
|
3215
|
-
const E =
|
|
3215
|
+
} else if (f.type === "checkbox")
|
|
3216
|
+
y = f.checked;
|
|
3217
|
+
else if (f.type === "number" || f.type === "range") {
|
|
3218
|
+
const E = f.valueAsNumber;
|
|
3216
3219
|
isNaN(E) || (y = E);
|
|
3217
3220
|
} else
|
|
3218
|
-
|
|
3221
|
+
f.type === "file" ? y = f.files : y = f.value;
|
|
3219
3222
|
else
|
|
3220
|
-
y =
|
|
3223
|
+
y = f.value;
|
|
3221
3224
|
return {
|
|
3222
3225
|
key: T,
|
|
3223
3226
|
value: y
|
|
3224
3227
|
};
|
|
3225
3228
|
});
|
|
3226
3229
|
let C = e.contentType;
|
|
3227
|
-
if (e.sendSubmissionsTo === "email" && (C = "multipart/form-data"), Array.from(k).forEach(({ value:
|
|
3228
|
-
(
|
|
3230
|
+
if (e.sendSubmissionsTo === "email" && (C = "multipart/form-data"), Array.from(k).forEach(({ value: f }) => {
|
|
3231
|
+
(f instanceof File || Array.isArray(f) && f[0] instanceof File || f instanceof FileList) && (C = "multipart/form-data");
|
|
3229
3232
|
}), C !== "application/json")
|
|
3230
|
-
|
|
3233
|
+
v = p;
|
|
3231
3234
|
else {
|
|
3232
|
-
const
|
|
3235
|
+
const f = {};
|
|
3233
3236
|
Array.from(k).forEach(({ value: y, key: T }) => {
|
|
3234
|
-
Le(
|
|
3235
|
-
}),
|
|
3237
|
+
Le(f, T, y);
|
|
3238
|
+
}), v = JSON.stringify(f);
|
|
3236
3239
|
}
|
|
3237
|
-
C && C !== "multipart/form-data" && (
|
|
3238
|
-
const
|
|
3239
|
-
if (t.current && (t.current.dispatchEvent(
|
|
3240
|
+
C && C !== "multipart/form-data" && (m && ((x = e.action) != null && x.includes("zapier.com")) || (g["content-type"] = C));
|
|
3241
|
+
const V = new CustomEvent("presubmit", { detail: { body: v } });
|
|
3242
|
+
if (t.current && (t.current.dispatchEvent(V), V.defaultPrevented))
|
|
3240
3243
|
return;
|
|
3241
3244
|
i("sending");
|
|
3242
3245
|
const w = `${Fn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
|
|
3243
3246
|
e.sendSubmissionsToEmail || ""
|
|
3244
|
-
)}&name=${encodeURIComponent(e.name || "")}`,
|
|
3245
|
-
Be(
|
|
3246
|
-
async (
|
|
3247
|
+
)}&name=${encodeURIComponent(e.name || "")}`, S = e.sendSubmissionsTo === "email" ? w : e.action;
|
|
3248
|
+
Be(S), fetch(S, { body: v, headers: g, method: e.method || "post" }).then(
|
|
3249
|
+
async (f) => {
|
|
3247
3250
|
let y;
|
|
3248
|
-
const T =
|
|
3249
|
-
if (T && T.indexOf("application/json") !== -1 ? y = await
|
|
3251
|
+
const T = f.headers.get("content-type");
|
|
3252
|
+
if (T && T.indexOf("application/json") !== -1 ? y = await f.json() : y = await f.text(), !f.ok && e.errorMessagePath) {
|
|
3250
3253
|
let E = $e(y, e.errorMessagePath);
|
|
3251
3254
|
E && (typeof E != "string" && (E = JSON.stringify(E)), l(E), d({ formErrorMessage: E }));
|
|
3252
3255
|
}
|
|
3253
|
-
if (
|
|
3256
|
+
if (a(y), i(f.ok ? "success" : "error"), f.ok) {
|
|
3254
3257
|
const E = new CustomEvent("submit:success", {
|
|
3255
|
-
detail: { res:
|
|
3258
|
+
detail: { res: f, body: y }
|
|
3256
3259
|
});
|
|
3257
3260
|
if (t.current) {
|
|
3258
3261
|
if (t.current.dispatchEvent(E), E.defaultPrevented)
|
|
@@ -3269,16 +3272,16 @@ function On(e) {
|
|
|
3269
3272
|
location.href = e.successUrl;
|
|
3270
3273
|
}
|
|
3271
3274
|
},
|
|
3272
|
-
(
|
|
3275
|
+
(f) => {
|
|
3273
3276
|
const y = new CustomEvent("submit:error", {
|
|
3274
|
-
detail: { error:
|
|
3277
|
+
detail: { error: f }
|
|
3275
3278
|
});
|
|
3276
|
-
t.current && (t.current.dispatchEvent(y), y.defaultPrevented) || (
|
|
3279
|
+
t.current && (t.current.dispatchEvent(y), y.defaultPrevented) || (a(f), i("error"));
|
|
3277
3280
|
}
|
|
3278
3281
|
);
|
|
3279
3282
|
}
|
|
3280
3283
|
}
|
|
3281
|
-
return /* @__PURE__ */ B(
|
|
3284
|
+
return /* @__PURE__ */ B(P, { children: [
|
|
3282
3285
|
" ",
|
|
3283
3286
|
/* @__PURE__ */ B(
|
|
3284
3287
|
"form",
|
|
@@ -3288,11 +3291,11 @@ function On(e) {
|
|
|
3288
3291
|
action: !e.sendWithJs && e.action,
|
|
3289
3292
|
method: e.method,
|
|
3290
3293
|
name: e.name,
|
|
3291
|
-
onSubmit: (
|
|
3294
|
+
onSubmit: (b) => h(b),
|
|
3292
3295
|
...e.attributes,
|
|
3293
3296
|
children: [
|
|
3294
3297
|
e.children,
|
|
3295
|
-
|
|
3298
|
+
c() === "error" ? /* @__PURE__ */ s(
|
|
3296
3299
|
$,
|
|
3297
3300
|
{
|
|
3298
3301
|
path: "errorMessage",
|
|
@@ -3300,7 +3303,7 @@ function On(e) {
|
|
|
3300
3303
|
context: e.builderContext
|
|
3301
3304
|
}
|
|
3302
3305
|
) : null,
|
|
3303
|
-
|
|
3306
|
+
c() === "sending" ? /* @__PURE__ */ s(
|
|
3304
3307
|
$,
|
|
3305
3308
|
{
|
|
3306
3309
|
path: "sendingMessage",
|
|
@@ -3308,8 +3311,8 @@ function On(e) {
|
|
|
3308
3311
|
context: e.builderContext
|
|
3309
3312
|
}
|
|
3310
3313
|
) : null,
|
|
3311
|
-
|
|
3312
|
-
|
|
3314
|
+
c() === "error" && o ? /* @__PURE__ */ s("pre", { className: "builder-form-error-text pre-7acc3b46", children: JSON.stringify(o, null, 2) }) : null,
|
|
3315
|
+
c() === "success" ? /* @__PURE__ */ s(
|
|
3313
3316
|
$,
|
|
3314
3317
|
{
|
|
3315
3318
|
path: "successMessage",
|
|
@@ -3645,7 +3648,7 @@ const Gn = {
|
|
|
3645
3648
|
}
|
|
3646
3649
|
};
|
|
3647
3650
|
function Qn(e) {
|
|
3648
|
-
var r, l, d,
|
|
3651
|
+
var r, l, d, c, h, b, m;
|
|
3649
3652
|
const t = O(null);
|
|
3650
3653
|
function n() {
|
|
3651
3654
|
return {
|
|
@@ -3671,31 +3674,31 @@ function Qn(e) {
|
|
|
3671
3674
|
...n()
|
|
3672
3675
|
};
|
|
3673
3676
|
}
|
|
3674
|
-
const [
|
|
3677
|
+
const [o, a] = I(() => {
|
|
3675
3678
|
});
|
|
3676
|
-
return
|
|
3679
|
+
return R(() => {
|
|
3677
3680
|
if (e.lazyLoad) {
|
|
3678
|
-
const
|
|
3679
|
-
|
|
3680
|
-
if (!
|
|
3681
|
+
const x = new IntersectionObserver(function(u) {
|
|
3682
|
+
u.forEach(function(g) {
|
|
3683
|
+
if (!g.isIntersecting)
|
|
3681
3684
|
return;
|
|
3682
|
-
const
|
|
3685
|
+
const v = g.target;
|
|
3683
3686
|
try {
|
|
3684
|
-
Array.from(
|
|
3687
|
+
Array.from(v.children).filter(
|
|
3685
3688
|
(p) => p instanceof HTMLElement && p.tagName === "SOURCE"
|
|
3686
3689
|
).forEach((p) => {
|
|
3687
3690
|
const k = p.dataset.src;
|
|
3688
3691
|
k && (p.src = k);
|
|
3689
|
-
}),
|
|
3692
|
+
}), v.load(), x.unobserve(v);
|
|
3690
3693
|
} catch (p) {
|
|
3691
3694
|
console.error("Error loading lazy video:", p);
|
|
3692
3695
|
}
|
|
3693
3696
|
});
|
|
3694
3697
|
});
|
|
3695
|
-
t.current &&
|
|
3698
|
+
t.current && x.observe(t.current), a(x);
|
|
3696
3699
|
}
|
|
3697
|
-
}, []),
|
|
3698
|
-
|
|
3700
|
+
}, []), R(() => () => {
|
|
3701
|
+
o && o.disconnect();
|
|
3699
3702
|
}, []), /* @__PURE__ */ B(
|
|
3700
3703
|
"div",
|
|
3701
3704
|
{
|
|
@@ -3748,7 +3751,7 @@ function Qn(e) {
|
|
|
3748
3751
|
}
|
|
3749
3752
|
}
|
|
3750
3753
|
) : null,
|
|
3751
|
-
(h = (
|
|
3754
|
+
(h = (c = e.builderBlock) == null ? void 0 : c.children) != null && h.length && e.fitContent ? /* @__PURE__ */ s(
|
|
3752
3755
|
"div",
|
|
3753
3756
|
{
|
|
3754
3757
|
style: {
|
|
@@ -3759,7 +3762,7 @@ function Qn(e) {
|
|
|
3759
3762
|
children: e.children
|
|
3760
3763
|
}
|
|
3761
3764
|
) : null,
|
|
3762
|
-
(
|
|
3765
|
+
(m = (b = e.builderBlock) == null ? void 0 : b.children) != null && m.length && !e.fitContent ? /* @__PURE__ */ s(
|
|
3763
3766
|
"div",
|
|
3764
3767
|
{
|
|
3765
3768
|
style: {
|
|
@@ -3817,10 +3820,10 @@ const Yn = () => [{
|
|
|
3817
3820
|
component: en,
|
|
3818
3821
|
...un
|
|
3819
3822
|
}, {
|
|
3820
|
-
component:
|
|
3823
|
+
component: on,
|
|
3821
3824
|
...mn
|
|
3822
3825
|
}, {
|
|
3823
|
-
component:
|
|
3826
|
+
component: an,
|
|
3824
3827
|
...Sn
|
|
3825
3828
|
}, {
|
|
3826
3829
|
component: Cn,
|
|
@@ -3943,10 +3946,10 @@ const Yn = () => [{
|
|
|
3943
3946
|
}) => !(!(G(t).length > 0) || !e || U()), ti = (e) => e === "react" || e === "reactNative", ni = L === "angular", Ye = ti(L), ii = () => `
|
|
3944
3947
|
window.${Ge} = ${Xn}
|
|
3945
3948
|
window.${Qe} = ${Zn}
|
|
3946
|
-
`,
|
|
3949
|
+
`, oi = (e, t) => `
|
|
3947
3950
|
window.${Ge}(
|
|
3948
3951
|
"${t}",${JSON.stringify(e)}, ${Ye}, ${ni}
|
|
3949
|
-
)`,
|
|
3952
|
+
)`, ai = ({
|
|
3950
3953
|
contentId: e,
|
|
3951
3954
|
variationId: t
|
|
3952
3955
|
}) => `window.${Qe}(
|
|
@@ -3973,9 +3976,9 @@ const ri = (e, t, n = !0) => {
|
|
|
3973
3976
|
event: e,
|
|
3974
3977
|
target: t
|
|
3975
3978
|
}) => {
|
|
3976
|
-
const n = t.getBoundingClientRect(), i = e.clientX - n.left,
|
|
3979
|
+
const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = Ee(i / n.width), r = Ee(o / n.height);
|
|
3977
3980
|
return {
|
|
3978
|
-
x:
|
|
3981
|
+
x: a,
|
|
3979
3982
|
y: r
|
|
3980
3983
|
};
|
|
3981
3984
|
}, si = (e) => {
|
|
@@ -3995,10 +3998,10 @@ const ri = (e, t, n = !0) => {
|
|
|
3995
3998
|
}
|
|
3996
3999
|
};
|
|
3997
4000
|
}, ci = ["svelte", "qwik", "vue"], Pe = () => ci.includes(L) && (A() || Z()), ui = (e) => {
|
|
3998
|
-
var
|
|
3999
|
-
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (r = e.fileUrl) != null ? r : (
|
|
4000
|
-
let
|
|
4001
|
-
if (i && t && n && (
|
|
4001
|
+
var a, r;
|
|
4002
|
+
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;
|
|
4003
|
+
let o = "";
|
|
4004
|
+
if (i && t && n && (o += `
|
|
4002
4005
|
@font-face {
|
|
4003
4006
|
font-family: "${t}";
|
|
4004
4007
|
src: local("${n}"), url('${i}') format('woff2');
|
|
@@ -4009,17 +4012,17 @@ font-weight: 400;
|
|
|
4009
4012
|
for (const l in e.files) {
|
|
4010
4013
|
if (!(String(Number(l)) === l))
|
|
4011
4014
|
continue;
|
|
4012
|
-
const
|
|
4013
|
-
|
|
4015
|
+
const c = e.files[l];
|
|
4016
|
+
c && c !== i && (o += `
|
|
4014
4017
|
@font-face {
|
|
4015
4018
|
font-family: "${t}";
|
|
4016
|
-
src: url('${
|
|
4019
|
+
src: url('${c}') format('woff2');
|
|
4017
4020
|
font-display: fallback;
|
|
4018
4021
|
font-weight: ${l};
|
|
4019
4022
|
}
|
|
4020
4023
|
`.trim());
|
|
4021
4024
|
}
|
|
4022
|
-
return
|
|
4025
|
+
return o;
|
|
4023
4026
|
}, di = ({
|
|
4024
4027
|
customFonts: e
|
|
4025
4028
|
}) => {
|
|
@@ -4047,27 +4050,27 @@ font-weight: ${l};
|
|
|
4047
4050
|
}
|
|
4048
4051
|
`, hi = (e) => e ? "" : fi, gi = (e) => `variant-${e}`;
|
|
4049
4052
|
function bi(e) {
|
|
4050
|
-
var k, C,
|
|
4053
|
+
var k, C, V;
|
|
4051
4054
|
const t = O(null);
|
|
4052
4055
|
I(() => !1);
|
|
4053
4056
|
function n(w) {
|
|
4054
|
-
var
|
|
4055
|
-
const
|
|
4057
|
+
var f, y;
|
|
4058
|
+
const S = {
|
|
4056
4059
|
...e.builderContextSignal.rootState,
|
|
4057
4060
|
...w
|
|
4058
4061
|
};
|
|
4059
|
-
e.builderContextSignal.rootSetState ? (y = (
|
|
4062
|
+
e.builderContextSignal.rootSetState ? (y = (f = e.builderContextSignal).rootSetState) == null || y.call(f, S) : e.setBuilderContextSignal((T) => ({
|
|
4060
4063
|
...T,
|
|
4061
|
-
rootState:
|
|
4064
|
+
rootState: S
|
|
4062
4065
|
}));
|
|
4063
4066
|
}
|
|
4064
4067
|
function i(w) {
|
|
4065
|
-
var
|
|
4066
|
-
const
|
|
4068
|
+
var f, y, T, E, N;
|
|
4069
|
+
const S = {
|
|
4067
4070
|
...e.builderContextSignal.content,
|
|
4068
4071
|
...w,
|
|
4069
4072
|
data: {
|
|
4070
|
-
...(
|
|
4073
|
+
...(f = e.builderContextSignal.content) == null ? void 0 : f.data,
|
|
4071
4074
|
...w == null ? void 0 : w.data
|
|
4072
4075
|
},
|
|
4073
4076
|
meta: {
|
|
@@ -4078,16 +4081,16 @@ function bi(e) {
|
|
|
4078
4081
|
};
|
|
4079
4082
|
e.setBuilderContextSignal((W) => ({
|
|
4080
4083
|
...W,
|
|
4081
|
-
content:
|
|
4084
|
+
content: S
|
|
4082
4085
|
}));
|
|
4083
4086
|
}
|
|
4084
|
-
function
|
|
4087
|
+
function o() {
|
|
4085
4088
|
return e.showContent ? {} : {
|
|
4086
4089
|
hidden: !0,
|
|
4087
4090
|
"aria-hidden": !0
|
|
4088
4091
|
};
|
|
4089
4092
|
}
|
|
4090
|
-
const [
|
|
4093
|
+
const [a, r] = I(
|
|
4091
4094
|
() => e.contentWrapper || "div"
|
|
4092
4095
|
);
|
|
4093
4096
|
function l(w) {
|
|
@@ -4095,32 +4098,32 @@ function bi(e) {
|
|
|
4095
4098
|
model: e.model,
|
|
4096
4099
|
trustedHosts: e.trustedHosts,
|
|
4097
4100
|
callbacks: {
|
|
4098
|
-
configureSdk: (
|
|
4101
|
+
configureSdk: (S) => {
|
|
4099
4102
|
var T;
|
|
4100
|
-
const { breakpoints:
|
|
4101
|
-
!y || y !== ((T = e.builderContextSignal.content) == null ? void 0 : T.id) ||
|
|
4103
|
+
const { breakpoints: f, contentId: y } = S;
|
|
4104
|
+
!y || y !== ((T = e.builderContextSignal.content) == null ? void 0 : T.id) || f && i({
|
|
4102
4105
|
meta: {
|
|
4103
|
-
breakpoints:
|
|
4106
|
+
breakpoints: f
|
|
4104
4107
|
}
|
|
4105
4108
|
});
|
|
4106
4109
|
},
|
|
4107
|
-
animation: (
|
|
4108
|
-
qe(
|
|
4110
|
+
animation: (S) => {
|
|
4111
|
+
qe(S);
|
|
4109
4112
|
},
|
|
4110
|
-
contentUpdate: (
|
|
4111
|
-
i(
|
|
4113
|
+
contentUpdate: (S) => {
|
|
4114
|
+
i(S);
|
|
4112
4115
|
},
|
|
4113
|
-
stateUpdate: (
|
|
4114
|
-
n(
|
|
4116
|
+
stateUpdate: (S) => {
|
|
4117
|
+
n(S);
|
|
4115
4118
|
}
|
|
4116
4119
|
}
|
|
4117
4120
|
})(w);
|
|
4118
4121
|
}
|
|
4119
|
-
const [d,
|
|
4120
|
-
function
|
|
4121
|
-
var
|
|
4122
|
+
const [d, c] = I(() => ({})), [h, b] = I(() => ({})), [m, x] = I(() => !1);
|
|
4123
|
+
function u(w) {
|
|
4124
|
+
var S, f;
|
|
4122
4125
|
if (e.builderContextSignal.content) {
|
|
4123
|
-
const y = (
|
|
4126
|
+
const y = (S = e.builderContextSignal.content) == null ? void 0 : S.testVariationId, T = (f = e.builderContextSignal.content) == null ? void 0 : f.id;
|
|
4124
4127
|
pe({
|
|
4125
4128
|
apiHost: e.apiHost,
|
|
4126
4129
|
type: "click",
|
|
@@ -4129,14 +4132,14 @@ function bi(e) {
|
|
|
4129
4132
|
apiKey: e.apiKey,
|
|
4130
4133
|
variationId: y !== T ? y : void 0,
|
|
4131
4134
|
...si(w),
|
|
4132
|
-
unique: !
|
|
4135
|
+
unique: !m
|
|
4133
4136
|
});
|
|
4134
4137
|
}
|
|
4135
|
-
|
|
4138
|
+
m || x(!0);
|
|
4136
4139
|
}
|
|
4137
|
-
function
|
|
4138
|
-
var
|
|
4139
|
-
const w = (y = (
|
|
4140
|
+
function g() {
|
|
4141
|
+
var S, f, y;
|
|
4142
|
+
const w = (y = (f = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : f.httpRequests) != null ? y : {};
|
|
4140
4143
|
Object.entries(w).forEach(([T, E]) => {
|
|
4141
4144
|
if (!E || h[T] || d[T] && !A())
|
|
4142
4145
|
return;
|
|
@@ -4164,7 +4167,7 @@ function bi(e) {
|
|
|
4164
4167
|
});
|
|
4165
4168
|
});
|
|
4166
4169
|
}
|
|
4167
|
-
function
|
|
4170
|
+
function v() {
|
|
4168
4171
|
A() && window.dispatchEvent(
|
|
4169
4172
|
new CustomEvent(
|
|
4170
4173
|
"builder:component:stateChange",
|
|
@@ -4180,8 +4183,8 @@ function bi(e) {
|
|
|
4180
4183
|
);
|
|
4181
4184
|
}
|
|
4182
4185
|
const p = O(!1);
|
|
4183
|
-
return p.current || (
|
|
4184
|
-
var w,
|
|
4186
|
+
return p.current || (g(), v(), p.current = !0), R(() => {
|
|
4187
|
+
var w, S, f, y, T;
|
|
4185
4188
|
if (U()) {
|
|
4186
4189
|
A() && !e.isNestedRender && (window.addEventListener("message", l), Ze(), et({
|
|
4187
4190
|
...e.locale ? {
|
|
@@ -4205,12 +4208,12 @@ function bi(e) {
|
|
|
4205
4208
|
}
|
|
4206
4209
|
}), window.addEventListener(
|
|
4207
4210
|
"builder:component:stateChangeListenerActivated",
|
|
4208
|
-
|
|
4211
|
+
v
|
|
4209
4212
|
));
|
|
4210
4213
|
const E = e.builderContextSignal.content && j(e.canTrack), N = nt({
|
|
4211
|
-
name: `builder.tests.${(
|
|
4214
|
+
name: `builder.tests.${(S = e.builderContextSignal.content) == null ? void 0 : S.id}`,
|
|
4212
4215
|
canTrack: !0
|
|
4213
|
-
}), W = (
|
|
4216
|
+
}), W = (f = e.builderContextSignal.content) == null ? void 0 : f.testVariationId;
|
|
4214
4217
|
if (E && W === N) {
|
|
4215
4218
|
const D = (y = e.builderContextSignal.content) == null ? void 0 : y.id, F = e.apiKey;
|
|
4216
4219
|
pe({
|
|
@@ -4240,35 +4243,35 @@ function bi(e) {
|
|
|
4240
4243
|
});
|
|
4241
4244
|
}
|
|
4242
4245
|
}
|
|
4243
|
-
}, []),
|
|
4246
|
+
}, []), R(() => {
|
|
4244
4247
|
e.content && i(e.content);
|
|
4245
|
-
}, [e.content]),
|
|
4246
|
-
|
|
4247
|
-
}, [e.builderContextSignal.rootState]),
|
|
4248
|
+
}, [e.content]), R(() => {
|
|
4249
|
+
v();
|
|
4250
|
+
}, [e.builderContextSignal.rootState]), R(() => {
|
|
4248
4251
|
e.data && n(e.data);
|
|
4249
|
-
}, [e.data]),
|
|
4252
|
+
}, [e.data]), R(() => {
|
|
4250
4253
|
e.locale && n({
|
|
4251
4254
|
locale: e.locale
|
|
4252
4255
|
});
|
|
4253
|
-
}, [e.locale]),
|
|
4256
|
+
}, [e.locale]), R(() => () => {
|
|
4254
4257
|
U() && (window.removeEventListener("message", l), window.removeEventListener(
|
|
4255
4258
|
"builder:component:stateChangeListenerActivated",
|
|
4256
|
-
|
|
4259
|
+
v
|
|
4257
4260
|
));
|
|
4258
4261
|
}, []), /* @__PURE__ */ s(de.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || Pe() ? /* @__PURE__ */ s(
|
|
4259
|
-
|
|
4262
|
+
a,
|
|
4260
4263
|
{
|
|
4261
4264
|
ref: t,
|
|
4262
|
-
onClick: (w) =>
|
|
4265
|
+
onClick: (w) => u(w),
|
|
4263
4266
|
"builder-content-id": (k = e.builderContextSignal.content) == null ? void 0 : k.id,
|
|
4264
4267
|
"builder-model": e.model,
|
|
4265
4268
|
className: gi(
|
|
4266
|
-
((C = e.content) == null ? void 0 : C.testVariationId) || ((
|
|
4269
|
+
((C = e.content) == null ? void 0 : C.testVariationId) || ((V = e.content) == null ? void 0 : V.id)
|
|
4267
4270
|
),
|
|
4268
4271
|
style: {
|
|
4269
4272
|
display: !e.builderContextSignal.content && Pe() ? "none" : void 0
|
|
4270
4273
|
},
|
|
4271
|
-
...
|
|
4274
|
+
...o(),
|
|
4272
4275
|
...e.contentWrapperProps,
|
|
4273
4276
|
children: e.children
|
|
4274
4277
|
}
|
|
@@ -4301,13 +4304,13 @@ const yi = ({
|
|
|
4301
4304
|
data: t,
|
|
4302
4305
|
locale: n
|
|
4303
4306
|
}) => {
|
|
4304
|
-
var
|
|
4305
|
-
const i = {},
|
|
4307
|
+
var a, r, l;
|
|
4308
|
+
const i = {}, o = ((a = e == null ? void 0 : e.data) == null ? void 0 : a.state) || {};
|
|
4306
4309
|
return (l = (r = e == null ? void 0 : e.data) == null ? void 0 : r.inputs) == null || l.forEach((d) => {
|
|
4307
4310
|
d.name && d.defaultValue !== void 0 && (i[d.name] = d.defaultValue);
|
|
4308
4311
|
}), {
|
|
4309
4312
|
...i,
|
|
4310
|
-
...
|
|
4313
|
+
...o,
|
|
4311
4314
|
...t,
|
|
4312
4315
|
...n ? {
|
|
4313
4316
|
locale: n
|
|
@@ -4325,11 +4328,11 @@ const yi = ({
|
|
|
4325
4328
|
meta: e == null ? void 0 : e.meta
|
|
4326
4329
|
} : void 0;
|
|
4327
4330
|
function Ve(e) {
|
|
4328
|
-
var
|
|
4331
|
+
var c, h, b, m, x, u, g, v, p;
|
|
4329
4332
|
const [t, n] = I(
|
|
4330
4333
|
() => {
|
|
4331
4334
|
var k, C;
|
|
4332
|
-
return
|
|
4335
|
+
return ai({
|
|
4333
4336
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4334
4337
|
variationId: (k = e.content) == null ? void 0 : k.testVariationId,
|
|
4335
4338
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
@@ -4343,16 +4346,16 @@ function Ve(e) {
|
|
|
4343
4346
|
rootState: k
|
|
4344
4347
|
}));
|
|
4345
4348
|
}
|
|
4346
|
-
const [
|
|
4349
|
+
const [o, a] = I(
|
|
4347
4350
|
() => [
|
|
4348
4351
|
...Ie(),
|
|
4349
4352
|
...e.customComponents || []
|
|
4350
4353
|
].reduce(
|
|
4351
|
-
(k, { component: C, ...
|
|
4354
|
+
(k, { component: C, ...V }) => ({
|
|
4352
4355
|
...k,
|
|
4353
|
-
[
|
|
4356
|
+
[V.name]: {
|
|
4354
4357
|
component: C,
|
|
4355
|
-
...ye(
|
|
4358
|
+
...ye(V)
|
|
4356
4359
|
}
|
|
4357
4360
|
}),
|
|
4358
4361
|
{}
|
|
@@ -4377,9 +4380,9 @@ function Ve(e) {
|
|
|
4377
4380
|
...Ie(),
|
|
4378
4381
|
...e.customComponents || []
|
|
4379
4382
|
].reduce(
|
|
4380
|
-
(k, { component: C, ...
|
|
4383
|
+
(k, { component: C, ...V }) => ({
|
|
4381
4384
|
...k,
|
|
4382
|
-
[
|
|
4385
|
+
[V.name]: ye(V)
|
|
4383
4386
|
}),
|
|
4384
4387
|
{}
|
|
4385
4388
|
),
|
|
@@ -4393,7 +4396,7 @@ function Ve(e) {
|
|
|
4393
4396
|
e.apiKey || _.error(
|
|
4394
4397
|
"No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
4395
4398
|
);
|
|
4396
|
-
const k = (h = (
|
|
4399
|
+
const k = (h = (c = r.content) == null ? void 0 : c.data) == null ? void 0 : h.jsCode;
|
|
4397
4400
|
k && q({
|
|
4398
4401
|
code: k,
|
|
4399
4402
|
context: e.context || {},
|
|
@@ -4409,7 +4412,7 @@ function Ve(e) {
|
|
|
4409
4412
|
De.Provider,
|
|
4410
4413
|
{
|
|
4411
4414
|
value: {
|
|
4412
|
-
registeredComponents:
|
|
4415
|
+
registeredComponents: o
|
|
4413
4416
|
},
|
|
4414
4417
|
children: /* @__PURE__ */ B(
|
|
4415
4418
|
bi,
|
|
@@ -4445,17 +4448,17 @@ function Ve(e) {
|
|
|
4445
4448
|
{
|
|
4446
4449
|
nonce: e.nonce || "",
|
|
4447
4450
|
isNestedRender: e.isNestedRender,
|
|
4448
|
-
contentId: (
|
|
4449
|
-
cssCode: (
|
|
4450
|
-
customFonts: (
|
|
4451
|
+
contentId: (b = r.content) == null ? void 0 : b.id,
|
|
4452
|
+
cssCode: (x = (m = r.content) == null ? void 0 : m.data) == null ? void 0 : x.cssCode,
|
|
4453
|
+
customFonts: (g = (u = r.content) == null ? void 0 : u.data) == null ? void 0 : g.customFonts
|
|
4451
4454
|
}
|
|
4452
4455
|
),
|
|
4453
4456
|
/* @__PURE__ */ s(
|
|
4454
4457
|
$,
|
|
4455
4458
|
{
|
|
4456
|
-
blocks: (p = (
|
|
4459
|
+
blocks: (p = (v = r.content) == null ? void 0 : v.data) == null ? void 0 : p.blocks,
|
|
4457
4460
|
context: r,
|
|
4458
|
-
registeredComponents:
|
|
4461
|
+
registeredComponents: o,
|
|
4459
4462
|
linkComponent: e.linkComponent
|
|
4460
4463
|
}
|
|
4461
4464
|
)
|
|
@@ -4475,7 +4478,7 @@ function xi(e) {
|
|
|
4475
4478
|
);
|
|
4476
4479
|
function i() {
|
|
4477
4480
|
var l;
|
|
4478
|
-
return
|
|
4481
|
+
return oi(
|
|
4479
4482
|
G(e.content).map((d) => ({
|
|
4480
4483
|
id: d.testVariationId,
|
|
4481
4484
|
testRatio: d.testRatio
|
|
@@ -4483,21 +4486,21 @@ function xi(e) {
|
|
|
4483
4486
|
((l = e.content) == null ? void 0 : l.id) || ""
|
|
4484
4487
|
);
|
|
4485
4488
|
}
|
|
4486
|
-
function
|
|
4489
|
+
function o() {
|
|
4487
4490
|
return G(e.content).map((l) => `.variant-${l.testVariationId} { display: none; } `).join("");
|
|
4488
4491
|
}
|
|
4489
|
-
function
|
|
4492
|
+
function a() {
|
|
4490
4493
|
var l;
|
|
4491
4494
|
return t ? {
|
|
4492
4495
|
...e.content,
|
|
4493
4496
|
testVariationId: (l = e.content) == null ? void 0 : l.id
|
|
4494
|
-
} :
|
|
4497
|
+
} : ot({
|
|
4495
4498
|
item: e.content,
|
|
4496
4499
|
canTrack: j(e.canTrack)
|
|
4497
4500
|
});
|
|
4498
4501
|
}
|
|
4499
|
-
return
|
|
4500
|
-
}, []), /* @__PURE__ */ B(
|
|
4502
|
+
return R(() => {
|
|
4503
|
+
}, []), /* @__PURE__ */ B(P, { children: [
|
|
4501
4504
|
!e.isNestedRender && L !== "reactNative" ? /* @__PURE__ */ s(
|
|
4502
4505
|
X,
|
|
4503
4506
|
{
|
|
@@ -4506,12 +4509,12 @@ function xi(e) {
|
|
|
4506
4509
|
nonce: e.nonce || ""
|
|
4507
4510
|
}
|
|
4508
4511
|
) : null,
|
|
4509
|
-
t ? /* @__PURE__ */ B(
|
|
4512
|
+
t ? /* @__PURE__ */ B(P, { children: [
|
|
4510
4513
|
/* @__PURE__ */ s(
|
|
4511
4514
|
K,
|
|
4512
4515
|
{
|
|
4513
4516
|
id: "builderio-variants",
|
|
4514
|
-
styles:
|
|
4517
|
+
styles: o(),
|
|
4515
4518
|
nonce: e.nonce || ""
|
|
4516
4519
|
}
|
|
4517
4520
|
),
|
|
@@ -4557,7 +4560,7 @@ function xi(e) {
|
|
|
4557
4560
|
apiHost: e.apiHost,
|
|
4558
4561
|
nonce: e.nonce,
|
|
4559
4562
|
isNestedRender: e.isNestedRender,
|
|
4560
|
-
content:
|
|
4563
|
+
content: a(),
|
|
4561
4564
|
showContent: !0,
|
|
4562
4565
|
model: e.model,
|
|
4563
4566
|
data: e.data,
|
|
@@ -4599,7 +4602,7 @@ const Si = async ({
|
|
|
4599
4602
|
});
|
|
4600
4603
|
};
|
|
4601
4604
|
function ki(e) {
|
|
4602
|
-
var
|
|
4605
|
+
var c, h, b, m, x;
|
|
4603
4606
|
function t() {
|
|
4604
4607
|
return "div";
|
|
4605
4608
|
}
|
|
@@ -4607,29 +4610,34 @@ function ki(e) {
|
|
|
4607
4610
|
return "div";
|
|
4608
4611
|
}
|
|
4609
4612
|
function i() {
|
|
4610
|
-
var
|
|
4613
|
+
var u, g;
|
|
4611
4614
|
return [
|
|
4612
4615
|
e.attributes[z()],
|
|
4613
4616
|
"builder-symbol",
|
|
4614
|
-
(
|
|
4615
|
-
(
|
|
4617
|
+
(u = e.symbol) != null && u.inline ? "builder-inline-symbol" : void 0,
|
|
4618
|
+
(g = e.symbol) != null && g.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
|
|
4616
4619
|
].filter(Boolean).join(" ");
|
|
4617
4620
|
}
|
|
4618
|
-
const [
|
|
4619
|
-
var
|
|
4620
|
-
return (
|
|
4621
|
+
const [o, a] = I(() => {
|
|
4622
|
+
var u;
|
|
4623
|
+
return (u = e.symbol) == null ? void 0 : u.content;
|
|
4624
|
+
}), [r, l] = I(() => {
|
|
4625
|
+
var u;
|
|
4626
|
+
return (u = e.symbol) == null ? void 0 : u.entry;
|
|
4621
4627
|
});
|
|
4622
|
-
function
|
|
4623
|
-
|
|
4628
|
+
function d() {
|
|
4629
|
+
var u;
|
|
4630
|
+
o && r === ((u = e.symbol) == null ? void 0 : u.entry) || Si({
|
|
4624
4631
|
symbol: e.symbol,
|
|
4625
4632
|
builderContextValue: e.builderContext
|
|
4626
|
-
}).then((
|
|
4627
|
-
|
|
4633
|
+
}).then((g) => {
|
|
4634
|
+
var v;
|
|
4635
|
+
g && (a(g), l((v = e.symbol) == null ? void 0 : v.entry));
|
|
4628
4636
|
});
|
|
4629
4637
|
}
|
|
4630
|
-
return
|
|
4631
|
-
}, []),
|
|
4632
|
-
|
|
4638
|
+
return R(() => {
|
|
4639
|
+
}, []), R(() => {
|
|
4640
|
+
d();
|
|
4633
4641
|
}, [e.symbol]), /* @__PURE__ */ s("div", { ...e.attributes, className: i(), children: /* @__PURE__ */ s(
|
|
4634
4642
|
xi,
|
|
4635
4643
|
{
|
|
@@ -4639,17 +4647,17 @@ function ki(e) {
|
|
|
4639
4647
|
apiKey: e.builderContext.apiKey,
|
|
4640
4648
|
context: {
|
|
4641
4649
|
...e.builderContext.context,
|
|
4642
|
-
symbolId: (
|
|
4650
|
+
symbolId: (c = e.builderBlock) == null ? void 0 : c.id
|
|
4643
4651
|
},
|
|
4644
4652
|
customComponents: Object.values(e.builderComponents),
|
|
4645
4653
|
data: {
|
|
4646
|
-
...(
|
|
4654
|
+
...(h = e.symbol) == null ? void 0 : h.data,
|
|
4647
4655
|
...e.builderContext.localState,
|
|
4648
|
-
...(
|
|
4656
|
+
...(b = o == null ? void 0 : o.data) == null ? void 0 : b.state
|
|
4649
4657
|
},
|
|
4650
4658
|
canTrack: e.builderContext.canTrack,
|
|
4651
|
-
model: (
|
|
4652
|
-
content:
|
|
4659
|
+
model: (x = (m = e.symbol) == null ? void 0 : m.model) != null ? x : "",
|
|
4660
|
+
content: o,
|
|
4653
4661
|
linkComponent: e.builderLinkComponent,
|
|
4654
4662
|
blocksWrapper: t(),
|
|
4655
4663
|
contentWrapper: n()
|
|
@@ -4663,8 +4671,8 @@ export {
|
|
|
4663
4671
|
Zt as Columns,
|
|
4664
4672
|
xi as Content,
|
|
4665
4673
|
en as Fragment,
|
|
4666
|
-
|
|
4667
|
-
|
|
4674
|
+
on as Image,
|
|
4675
|
+
an as Section,
|
|
4668
4676
|
ki as Symbol,
|
|
4669
4677
|
Rn as Text,
|
|
4670
4678
|
Qn as Video,
|