@builder.io/sdk-vue 4.0.6 → 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/{awaiter-96xCyq9c.cjs → awaiter-OLNb_n6-.cjs} +1 -1
- package/lib/browser/{awaiter-zNn8NS8r.js → awaiter-isRx9Yhd.js} +1 -1
- package/lib/browser/{block-styles-ofpNl1bZ.cjs → block-styles-6C_KdO7n.cjs} +1 -1
- package/lib/browser/{block-styles-0o9M36rK.js → block-styles-gW8iE3NH.js} +1 -1
- package/lib/browser/{block-wrapper-nAtnXdA_.js → block-wrapper--UA6l0DJ.js} +3 -3
- package/lib/browser/{block-wrapper-CROVZaJw.cjs → block-wrapper-VXy583MG.cjs} +1 -1
- package/lib/browser/blocks/image/image.vue.d.ts +3 -0
- package/lib/browser/blocks/symbol/symbol.vue.d.ts +1 -0
- package/lib/browser/component-ref-BSoLNe8a.cjs +1 -0
- package/lib/browser/{component-ref-G3WBnT08.js → component-ref-PKi5zQLG.js} +52 -33
- package/lib/browser/components/block/block.helpers.d.ts +1 -0
- package/lib/browser/components/block/block.vue.d.ts +1 -0
- package/lib/browser/components/block/components/interactive-element.vue.d.ts +11 -4
- package/lib/browser/components/block/components/repeated-block.vue.d.ts +5 -1
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-Tp3tEKPI.js → get-block-properties-IAHDaK7X.js} +1 -1
- package/lib/browser/{get-block-properties-35RfkJv0.cjs → get-block-properties-MbA9feRS.cjs} +1 -1
- package/lib/browser/{index-LQooJIVP.js → index-3lnsErPD.js} +272 -267
- package/lib/browser/index-4YDWt2GA.cjs +169 -0
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/repeated-block-UdGwjbN4.js +50 -0
- package/lib/browser/repeated-block-lYIzWwqT.cjs +1 -0
- package/lib/browser/style.css +1 -1
- package/lib/edge/{awaiter-84203SWg.cjs → awaiter-q73ktXnL.cjs} +1 -1
- package/lib/edge/{awaiter-BPHhe8gu.js → awaiter-yQhCDL0p.js} +1 -1
- package/lib/edge/{block-styles-FBx6Wj7n.js → block-styles-cQqc9t0g.js} +1 -1
- package/lib/edge/{block-styles-GoLS-7a-.cjs → block-styles-krtvZ4wJ.cjs} +1 -1
- package/lib/edge/{block-wrapper-GHYV0qcz.js → block-wrapper-9DbpMl_d.js} +3 -3
- package/lib/{node/block-wrapper-Aqn2S1Zk.cjs → edge/block-wrapper-P2ngZuRV.cjs} +1 -1
- package/lib/edge/blocks/image/image.vue.d.ts +3 -0
- package/lib/edge/blocks/symbol/symbol.vue.d.ts +1 -0
- package/lib/edge/component-ref-EDola72k.cjs +1 -0
- package/lib/{node/component-ref-7fop4Scs.js → edge/component-ref-FzpAjKWx.js} +52 -33
- package/lib/edge/components/block/block.helpers.d.ts +1 -0
- package/lib/edge/components/block/block.vue.d.ts +1 -0
- package/lib/edge/components/block/components/interactive-element.vue.d.ts +11 -4
- package/lib/edge/components/block/components/repeated-block.vue.d.ts +5 -1
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-nUOubhiy.js → get-block-properties-UnxPA054.js} +1 -1
- package/lib/edge/{get-block-properties-ePFST2_a.cjs → get-block-properties-fD4qNRB9.cjs} +1 -1
- package/lib/edge/{index-O2Rm1-0p.js → index-Phh5QI1z.js} +253 -248
- package/lib/edge/{index-SxXHoi3G.cjs → index-W-IYWIQ9.cjs} +17 -17
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/repeated-block-19TN96p4.cjs +1 -0
- package/lib/edge/{repeated-block-730A9lRm.js → repeated-block-pUBaF3y8.js} +24 -9
- package/lib/edge/style.css +1 -1
- package/lib/node/{awaiter-niFBXKBm.js → awaiter--eXt1zCI.js} +1 -1
- package/lib/node/{awaiter-p7qiswFI.cjs → awaiter-rTNOaG9i.cjs} +1 -1
- package/lib/node/{block-styles-3BFRWeR_.js → block-styles-CnYwZPG8.js} +1 -1
- package/lib/node/{block-styles-dahfLzRE.cjs → block-styles-X1zBe4K-.cjs} +1 -1
- package/lib/node/{block-wrapper-ThVlymJQ.js → block-wrapper-a-O0UYvU.js} +3 -3
- package/lib/{edge/block-wrapper-uwJjRSjB.cjs → node/block-wrapper-dUYQEu6i.cjs} +1 -1
- package/lib/node/blocks/image/image.vue.d.ts +3 -0
- package/lib/node/blocks/symbol/symbol.vue.d.ts +1 -0
- package/lib/{edge/component-ref-m6_Qgjxh.js → node/component-ref-6ZTfRWNi.js} +52 -33
- package/lib/node/component-ref-J2vcSy4E.cjs +1 -0
- package/lib/node/components/block/block.helpers.d.ts +1 -0
- package/lib/node/components/block/block.vue.d.ts +1 -0
- package/lib/node/components/block/components/interactive-element.vue.d.ts +11 -4
- package/lib/node/components/block/components/repeated-block.vue.d.ts +5 -1
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-pu3hVstP.cjs → get-block-properties-ZXWvNMFQ.cjs} +1 -1
- package/lib/node/{get-block-properties-XqAwKEib.js → get-block-properties-wNo96juQ.js} +1 -1
- package/lib/node/{index-6f7aS4as.js → index-dUsR-LUC.js} +269 -264
- package/lib/node/index-yWUac5KF.cjs +169 -0
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +1 -1
- package/lib/node/repeated-block-Mn3MoYF9.cjs +1 -0
- package/lib/node/repeated-block-WusuFFLd.js +49 -0
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
- package/lib/browser/component-ref-dYV2xUP6.cjs +0 -1
- package/lib/browser/index-3yShtqk3.cjs +0 -169
- package/lib/browser/repeated-block-9PgmawTD.cjs +0 -1
- package/lib/browser/repeated-block-nSWYIBYY.js +0 -35
- package/lib/edge/component-ref-RVSJkiDE.cjs +0 -1
- package/lib/edge/repeated-block-CKncF9Od.cjs +0 -1
- package/lib/node/component-ref-jm5wkBt_.cjs +0 -1
- package/lib/node/index-3VhVRFNG.cjs +0 -169
- package/lib/node/repeated-block-lURNziSK.cjs +0 -1
- package/lib/node/repeated-block-zjZTsi5s.js +0 -34
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { defineComponent as g, openBlock as c, createElementBlock as p, Fragment as $, createBlock as y, resolveDynamicComponent as z, mergeProps as C, toHandlers as x, withCtx as W, renderSlot as A, resolveComponent as k, createTextVNode as wt, toDisplayString as ne, defineAsyncComponent as
|
|
2
|
+
import { defineComponent as g, openBlock as c, createElementBlock as p, Fragment as $, createBlock as y, resolveDynamicComponent as z, mergeProps as C, toHandlers as x, withCtx as W, renderSlot as A, resolveComponent as k, createTextVNode as wt, toDisplayString as ne, defineAsyncComponent as j, createVNode as B, renderList as N, createCommentVNode as S, h as Ue, createElementVNode as M, normalizeStyle as U, normalizeClass as J, markRaw as Tt } from "vue";
|
|
3
3
|
const It = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), $t = (e) => typeof e == "string" && It.has(e.toLowerCase());
|
|
4
4
|
function V(e = {}, t, n) {
|
|
5
5
|
const o = {};
|
|
@@ -38,7 +38,7 @@ function Et(e, t, n, o, r, s) {
|
|
|
38
38
|
}, 16))
|
|
39
39
|
], 64));
|
|
40
40
|
}
|
|
41
|
-
const he = /* @__PURE__ */ b(Rt, [["render", Et]]),
|
|
41
|
+
const he = /* @__PURE__ */ b(Rt, [["render", Et]]), _s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42
42
|
__proto__: null,
|
|
43
43
|
default: he
|
|
44
44
|
}, Symbol.toStringTag, { value: "Module" })), R = "vue", _ = () => {
|
|
@@ -194,7 +194,7 @@ const Ot = () => {
|
|
|
194
194
|
}), Lt = (e, {
|
|
195
195
|
isExpression: t = !0
|
|
196
196
|
}) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e;
|
|
197
|
-
function
|
|
197
|
+
function Ke({
|
|
198
198
|
rootState: e,
|
|
199
199
|
localState: t,
|
|
200
200
|
rootSetState: n
|
|
@@ -204,7 +204,7 @@ function je({
|
|
|
204
204
|
if (t && r in t)
|
|
205
205
|
return t[r];
|
|
206
206
|
const s = o[r];
|
|
207
|
-
return typeof s == "object" && s !== null ?
|
|
207
|
+
return typeof s == "object" && s !== null ? Ke({
|
|
208
208
|
rootState: s,
|
|
209
209
|
localState: void 0,
|
|
210
210
|
rootSetState: n ? (i) => {
|
|
@@ -232,7 +232,7 @@ const $e = ({
|
|
|
232
232
|
builder: t,
|
|
233
233
|
context: n,
|
|
234
234
|
event: o,
|
|
235
|
-
state:
|
|
235
|
+
state: Ke({
|
|
236
236
|
rootState: i,
|
|
237
237
|
localState: r,
|
|
238
238
|
rootSetState: s
|
|
@@ -252,11 +252,11 @@ const Ht = ({
|
|
|
252
252
|
return !1;
|
|
253
253
|
const t = process.arch === "arm64", n = process.version.startsWith("v20"), o = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
|
|
254
254
|
return t && n && !o ? (e && P.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;
|
|
255
|
-
},
|
|
255
|
+
}, Kt = (e) => (w() || Ht({
|
|
256
256
|
shouldLogWarning: !0
|
|
257
|
-
}), $e(e)),
|
|
257
|
+
}), $e(e)), jt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, zt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, qt = (e) => {
|
|
258
258
|
var t, n, o, r, s, i;
|
|
259
|
-
return ((o = (n = (t =
|
|
259
|
+
return ((o = (n = (t = jt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((i = (s = (r = zt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : s.getPath) == null ? void 0 : i.slice(1));
|
|
260
260
|
};
|
|
261
261
|
function Y({
|
|
262
262
|
code: e,
|
|
@@ -287,7 +287,7 @@ function Y({
|
|
|
287
287
|
localState: n
|
|
288
288
|
};
|
|
289
289
|
try {
|
|
290
|
-
return
|
|
290
|
+
return Kt(a);
|
|
291
291
|
} catch (u) {
|
|
292
292
|
P.error("Failed code evaluation: " + u.message, {
|
|
293
293
|
code: e
|
|
@@ -340,7 +340,7 @@ function ee(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
|
|
|
340
340
|
}), ee(i, t, e, s, r);
|
|
341
341
|
}));
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function je(e) {
|
|
344
344
|
return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
|
|
345
345
|
}
|
|
346
346
|
function Xt(e) {
|
|
@@ -348,7 +348,7 @@ function Xt(e) {
|
|
|
348
348
|
return !1;
|
|
349
349
|
let t = !1;
|
|
350
350
|
return ee(e, (n) => {
|
|
351
|
-
if (
|
|
351
|
+
if (je(n)) {
|
|
352
352
|
t = !0;
|
|
353
353
|
return;
|
|
354
354
|
}
|
|
@@ -356,7 +356,7 @@ function Xt(e) {
|
|
|
356
356
|
}
|
|
357
357
|
function Qt(e, t) {
|
|
358
358
|
return !e || !Object.getOwnPropertyNames(e).length ? {} : (ee(e, (n, o) => {
|
|
359
|
-
|
|
359
|
+
je(n) && o(n[t] ?? void 0);
|
|
360
360
|
}), e);
|
|
361
361
|
}
|
|
362
362
|
function Zt(e, t) {
|
|
@@ -479,7 +479,7 @@ function sn(e, t) {
|
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
481
|
const Ee = {};
|
|
482
|
-
function
|
|
482
|
+
function ei(e) {
|
|
483
483
|
if (w()) {
|
|
484
484
|
Object.assign(Ee, e);
|
|
485
485
|
const t = {
|
|
@@ -504,7 +504,7 @@ const Pe = "builder.", an = "options.", Je = (e) => {
|
|
|
504
504
|
return {};
|
|
505
505
|
const e = new URLSearchParams(window.location.search);
|
|
506
506
|
return Je(e);
|
|
507
|
-
}, Ge = "4.0.
|
|
507
|
+
}, Ge = "4.0.8", Ye = () => ({
|
|
508
508
|
"X-Builder-SDK": R,
|
|
509
509
|
"X-Builder-SDK-GEN": "2",
|
|
510
510
|
"X-Builder-SDK-Version": Ge
|
|
@@ -699,7 +699,7 @@ async function pe({
|
|
|
699
699
|
console.error("Failed to track: ", r);
|
|
700
700
|
});
|
|
701
701
|
}
|
|
702
|
-
const
|
|
702
|
+
const ti = (e) => pe({
|
|
703
703
|
...e,
|
|
704
704
|
canTrack: !0
|
|
705
705
|
}), Tn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
|
|
@@ -829,7 +829,7 @@ const nt = (e) => {
|
|
|
829
829
|
break;
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
|
-
},
|
|
832
|
+
}, ni = ({
|
|
833
833
|
model: e,
|
|
834
834
|
apiKey: t,
|
|
835
835
|
callback: n,
|
|
@@ -986,7 +986,7 @@ function Vn() {
|
|
|
986
986
|
}
|
|
987
987
|
};
|
|
988
988
|
}
|
|
989
|
-
const at = Vn(),
|
|
989
|
+
const at = Vn(), oi = (e) => {
|
|
990
990
|
at.setUserAttributes(e);
|
|
991
991
|
}, G = (e) => {
|
|
992
992
|
const t = D(e) ? e : !0;
|
|
@@ -1068,8 +1068,8 @@ const Dn = "v3", xe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, ke = (
|
|
|
1068
1068
|
const O = me({
|
|
1069
1069
|
sort: v
|
|
1070
1070
|
});
|
|
1071
|
-
for (const
|
|
1072
|
-
I.searchParams.set(
|
|
1071
|
+
for (const K in O)
|
|
1072
|
+
I.searchParams.set(K, JSON.stringify(O[K]));
|
|
1073
1073
|
}
|
|
1074
1074
|
const Te = {
|
|
1075
1075
|
...ln(),
|
|
@@ -1086,8 +1086,8 @@ const Dn = "v3", xe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, ke = (
|
|
|
1086
1086
|
const O = lt({
|
|
1087
1087
|
query: o
|
|
1088
1088
|
});
|
|
1089
|
-
for (const
|
|
1090
|
-
I.searchParams.set(
|
|
1089
|
+
for (const K in O)
|
|
1090
|
+
I.searchParams.set(K, JSON.stringify(O[K]));
|
|
1091
1091
|
}
|
|
1092
1092
|
return I;
|
|
1093
1093
|
}, Fn = (e) => {
|
|
@@ -1106,7 +1106,7 @@ const Dn = "v3", xe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, ke = (
|
|
|
1106
1106
|
return {};
|
|
1107
1107
|
}, Mn = (e) => "results" in e;
|
|
1108
1108
|
async function ve(e) {
|
|
1109
|
-
const t = await
|
|
1109
|
+
const t = await jn({
|
|
1110
1110
|
...e,
|
|
1111
1111
|
limit: 1
|
|
1112
1112
|
});
|
|
@@ -1122,7 +1122,7 @@ const Hn = async (e) => {
|
|
|
1122
1122
|
}
|
|
1123
1123
|
};
|
|
1124
1124
|
return await (await n(t.href, o)).json();
|
|
1125
|
-
},
|
|
1125
|
+
}, Kn = async (e, t, n = ke(e)) => {
|
|
1126
1126
|
const o = G(e.canTrack);
|
|
1127
1127
|
if (n.search.includes("preview="), !o || !(w() || R === "reactNative"))
|
|
1128
1128
|
return t.results;
|
|
@@ -1139,7 +1139,7 @@ const Hn = async (e) => {
|
|
|
1139
1139
|
}
|
|
1140
1140
|
return t.results;
|
|
1141
1141
|
};
|
|
1142
|
-
async function
|
|
1142
|
+
async function jn(e) {
|
|
1143
1143
|
const t = ke(e), n = await Hn(e);
|
|
1144
1144
|
if (!Mn(n))
|
|
1145
1145
|
throw P.error("Error fetching data. ", {
|
|
@@ -1147,9 +1147,9 @@ async function Kn(e) {
|
|
|
1147
1147
|
content: n,
|
|
1148
1148
|
options: e
|
|
1149
1149
|
}), n;
|
|
1150
|
-
return
|
|
1150
|
+
return Kn(e, n);
|
|
1151
1151
|
}
|
|
1152
|
-
const
|
|
1152
|
+
const ri = async (e) => {
|
|
1153
1153
|
var o, r, s;
|
|
1154
1154
|
const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
|
|
1155
1155
|
...e,
|
|
@@ -1271,7 +1271,7 @@ const pt = (e) => Object.entries(e).map(([n, o]) => {
|
|
|
1271
1271
|
if (typeof o == "string")
|
|
1272
1272
|
return `${Se(n)}: ${o};`;
|
|
1273
1273
|
}).filter(D), Yn = (e) => pt(e).join(`
|
|
1274
|
-
`),
|
|
1274
|
+
`), si = ({
|
|
1275
1275
|
mediaQuery: e,
|
|
1276
1276
|
className: t,
|
|
1277
1277
|
styles: n
|
|
@@ -1288,7 +1288,7 @@ function Xn({
|
|
|
1288
1288
|
}) {
|
|
1289
1289
|
return e;
|
|
1290
1290
|
}
|
|
1291
|
-
const
|
|
1291
|
+
const ii = ({
|
|
1292
1292
|
block: e,
|
|
1293
1293
|
context: t
|
|
1294
1294
|
}) => mt(Xn({
|
|
@@ -1380,39 +1380,39 @@ const ht = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1380
1380
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
|
|
1381
1381
|
builderContext: t
|
|
1382
1382
|
} : {};
|
|
1383
|
-
}, oo = () => Promise.resolve().then(() =>
|
|
1383
|
+
}, oo = (e) => e.toString(), ro = () => Promise.resolve().then(() => ko).then((e) => e.default).catch((e) => {
|
|
1384
1384
|
throw console.error(
|
|
1385
1385
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1386
1386
|
e
|
|
1387
1387
|
), e;
|
|
1388
|
-
}),
|
|
1388
|
+
}), so = () => import("./block-styles-gW8iE3NH.js").then((e) => e.default).catch((e) => {
|
|
1389
1389
|
throw console.error(
|
|
1390
1390
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
1391
1391
|
e
|
|
1392
1392
|
), e;
|
|
1393
|
-
}),
|
|
1393
|
+
}), io = () => import("./block-wrapper--UA6l0DJ.js").then((e) => e.default).catch((e) => {
|
|
1394
1394
|
throw console.error(
|
|
1395
1395
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1396
1396
|
e
|
|
1397
1397
|
), e;
|
|
1398
|
-
}),
|
|
1398
|
+
}), ao = () => import("./component-ref-PKi5zQLG.js").then((e) => e.default).catch((e) => {
|
|
1399
1399
|
throw console.error(
|
|
1400
1400
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1401
1401
|
e
|
|
1402
1402
|
), e;
|
|
1403
|
-
}),
|
|
1403
|
+
}), lo = () => import("./repeated-block-UdGwjbN4.js").then((e) => e.default).catch((e) => {
|
|
1404
1404
|
throw console.error(
|
|
1405
1405
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1406
1406
|
e
|
|
1407
1407
|
), e;
|
|
1408
|
-
}),
|
|
1408
|
+
}), co = g({
|
|
1409
1409
|
name: "block",
|
|
1410
1410
|
components: {
|
|
1411
|
-
BlockStyles:
|
|
1412
|
-
RepeatedBlock:
|
|
1413
|
-
ComponentRef:
|
|
1414
|
-
BlockWrapper:
|
|
1415
|
-
DynamicDiv:
|
|
1411
|
+
BlockStyles: j(so),
|
|
1412
|
+
RepeatedBlock: j(lo),
|
|
1413
|
+
ComponentRef: j(ao),
|
|
1414
|
+
BlockWrapper: j(io),
|
|
1415
|
+
DynamicDiv: j(ro)
|
|
1416
1416
|
},
|
|
1417
1417
|
props: ["block", "context", "registeredComponents", "linkComponent"],
|
|
1418
1418
|
data() {
|
|
@@ -1420,7 +1420,8 @@ const ht = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1420
1420
|
_processedBlock: {
|
|
1421
1421
|
value: null,
|
|
1422
1422
|
update: !1
|
|
1423
|
-
}
|
|
1423
|
+
},
|
|
1424
|
+
generateKey: oo
|
|
1424
1425
|
};
|
|
1425
1426
|
},
|
|
1426
1427
|
mounted() {
|
|
@@ -1499,7 +1500,7 @@ const ht = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1499
1500
|
}
|
|
1500
1501
|
}
|
|
1501
1502
|
});
|
|
1502
|
-
function
|
|
1503
|
+
function uo(e, t, n, o, r, s) {
|
|
1503
1504
|
var m;
|
|
1504
1505
|
const i = k("BlockStyles"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), h = k("RepeatedBlock");
|
|
1505
1506
|
return e.canShowBlock ? (c(), p($, { key: 0 }, [
|
|
@@ -1509,7 +1510,7 @@ function co(e, t, n, o, r, s) {
|
|
|
1509
1510
|
}, null, 8, ["block", "context"]),
|
|
1510
1511
|
(m = e.blockComponent) != null && m.noWrap ? (c(), p($, { key: 1 }, [
|
|
1511
1512
|
e.repeatItem ? (c(!0), p($, { key: 1 }, N(e.repeatItem, (d, f) => (c(), y(h, {
|
|
1512
|
-
key: f,
|
|
1513
|
+
key: e.generateKey(f),
|
|
1513
1514
|
repeatContext: d.context,
|
|
1514
1515
|
block: d.block,
|
|
1515
1516
|
registeredComponents: e.registeredComponents,
|
|
@@ -1528,7 +1529,7 @@ function co(e, t, n, o, r, s) {
|
|
|
1528
1529
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
|
|
1529
1530
|
], 64)) : (c(), p($, { key: 0 }, [
|
|
1530
1531
|
e.repeatItem ? (c(!0), p($, { key: 1 }, N(e.repeatItem, (d, f) => (c(), y(h, {
|
|
1531
|
-
key: f,
|
|
1532
|
+
key: e.generateKey(f),
|
|
1532
1533
|
repeatContext: d.context,
|
|
1533
1534
|
block: d.block,
|
|
1534
1535
|
registeredComponents: e.registeredComponents,
|
|
@@ -1564,10 +1565,10 @@ function co(e, t, n, o, r, s) {
|
|
|
1564
1565
|
], 64))
|
|
1565
1566
|
], 64)) : S("", !0);
|
|
1566
1567
|
}
|
|
1567
|
-
const ft = /* @__PURE__ */ b(
|
|
1568
|
+
const ft = /* @__PURE__ */ b(co, [["render", uo]]), ai = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1568
1569
|
__proto__: null,
|
|
1569
1570
|
default: ft
|
|
1570
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1571
|
+
}, Symbol.toStringTag, { value: "Module" })), po = g({
|
|
1571
1572
|
name: "builder-blocks-wrapper",
|
|
1572
1573
|
props: [
|
|
1573
1574
|
"blocks",
|
|
@@ -1637,7 +1638,7 @@ const ft = /* @__PURE__ */ b(lo, [["render", co]]), ii = /* @__PURE__ */ Object.
|
|
|
1637
1638
|
}
|
|
1638
1639
|
}
|
|
1639
1640
|
});
|
|
1640
|
-
function
|
|
1641
|
+
function mo(e, t, n, o, r, s) {
|
|
1641
1642
|
return c(), y(z(e.BlocksWrapper), C({
|
|
1642
1643
|
ref: "blocksWrapperRef",
|
|
1643
1644
|
class: e.className + " component-tqyw9m0iue",
|
|
@@ -1654,9 +1655,9 @@ function po(e, t, n, o, r, s) {
|
|
|
1654
1655
|
_: 3
|
|
1655
1656
|
}, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
|
|
1656
1657
|
}
|
|
1657
|
-
const
|
|
1658
|
+
const ho = /* @__PURE__ */ b(po, [["render", mo], ["__scopeId", "data-v-e05fb921"]]), fo = g({
|
|
1658
1659
|
name: "builder-blocks",
|
|
1659
|
-
components: { BlocksWrapper:
|
|
1660
|
+
components: { BlocksWrapper: ho, Block: ft },
|
|
1660
1661
|
props: [
|
|
1661
1662
|
"blocks",
|
|
1662
1663
|
"parent",
|
|
@@ -1672,7 +1673,7 @@ const mo = /* @__PURE__ */ b(uo, [["render", po], ["__scopeId", "data-v-e05fb921
|
|
|
1672
1673
|
componentsContext: De.key
|
|
1673
1674
|
}
|
|
1674
1675
|
});
|
|
1675
|
-
function
|
|
1676
|
+
function go(e, t, n, o, r, s) {
|
|
1676
1677
|
var a, u, h, m;
|
|
1677
1678
|
const i = k("Block"), l = k("BlocksWrapper");
|
|
1678
1679
|
return c(), y(l, {
|
|
@@ -1699,16 +1700,16 @@ function fo(e, t, n, o, r, s) {
|
|
|
1699
1700
|
_: 1
|
|
1700
1701
|
}, 8, ["blocks", "parent", "path", "styleProp", "classNameProp", "BlocksWrapper", "BlocksWrapperProps"]);
|
|
1701
1702
|
}
|
|
1702
|
-
const H = /* @__PURE__ */ b(
|
|
1703
|
+
const H = /* @__PURE__ */ b(fo, [["render", go]]), bo = g({
|
|
1703
1704
|
name: "dynamic-div",
|
|
1704
1705
|
props: []
|
|
1705
1706
|
});
|
|
1706
|
-
function
|
|
1707
|
+
function yo(e, t, n, o, r, s) {
|
|
1707
1708
|
return c(), p("div", null, [
|
|
1708
1709
|
A(e.$slots, "default")
|
|
1709
1710
|
]);
|
|
1710
1711
|
}
|
|
1711
|
-
const X = /* @__PURE__ */ b(
|
|
1712
|
+
const X = /* @__PURE__ */ b(bo, [["render", yo]]), ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1712
1713
|
__proto__: null,
|
|
1713
1714
|
default: X
|
|
1714
1715
|
}, Symbol.toStringTag, { value: "Module" })), Ce = g({
|
|
@@ -1742,7 +1743,7 @@ const X = /* @__PURE__ */ b(go, [["render", bo]]), yo = /* @__PURE__ */ Object.f
|
|
|
1742
1743
|
default: 991,
|
|
1743
1744
|
max: 1200
|
|
1744
1745
|
}
|
|
1745
|
-
},
|
|
1746
|
+
}, li = (e, t = gt) => `@media (max-width: ${t[e].max}px)`, vo = (e) => {
|
|
1746
1747
|
const t = fe(gt);
|
|
1747
1748
|
if (!e)
|
|
1748
1749
|
return t;
|
|
@@ -1780,7 +1781,7 @@ const X = /* @__PURE__ */ b(go, [["render", bo]]), yo = /* @__PURE__ */ Object.f
|
|
|
1780
1781
|
min: l,
|
|
1781
1782
|
default: l + 1
|
|
1782
1783
|
}, t;
|
|
1783
|
-
},
|
|
1784
|
+
}, So = (e) => `builder-columns ${e}-breakpoints`, Co = g({
|
|
1784
1785
|
name: "builder-columns",
|
|
1785
1786
|
components: {
|
|
1786
1787
|
InlinedStyles: Ce,
|
|
@@ -1799,7 +1800,7 @@ const X = /* @__PURE__ */ b(go, [["render", bo]]), yo = /* @__PURE__ */ Object.f
|
|
|
1799
1800
|
"builderComponents"
|
|
1800
1801
|
],
|
|
1801
1802
|
data() {
|
|
1802
|
-
return { TARGET: R, getColumnsClass:
|
|
1803
|
+
return { TARGET: R, getColumnsClass: So };
|
|
1803
1804
|
},
|
|
1804
1805
|
computed: {
|
|
1805
1806
|
gutterSize() {
|
|
@@ -1878,7 +1879,7 @@ const X = /* @__PURE__ */ b(go, [["render", bo]]), yo = /* @__PURE__ */ Object.f
|
|
|
1878
1879
|
},
|
|
1879
1880
|
getWidthForBreakpointSize(e) {
|
|
1880
1881
|
var n, o;
|
|
1881
|
-
return
|
|
1882
|
+
return vo(
|
|
1882
1883
|
((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
|
|
1883
1884
|
)[e].max;
|
|
1884
1885
|
},
|
|
@@ -1921,7 +1922,7 @@ const X = /* @__PURE__ */ b(go, [["render", bo]]), yo = /* @__PURE__ */ Object.f
|
|
|
1921
1922
|
}
|
|
1922
1923
|
}
|
|
1923
1924
|
});
|
|
1924
|
-
function
|
|
1925
|
+
function wo(e, t, n, o, r, s) {
|
|
1925
1926
|
var u;
|
|
1926
1927
|
const i = k("InlinedStyles"), l = k("Blocks"), a = k("DynamicRenderer");
|
|
1927
1928
|
return c(), p("div", C({
|
|
@@ -1957,24 +1958,24 @@ function Co(e, t, n, o, r, s) {
|
|
|
1957
1958
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
1958
1959
|
], 16);
|
|
1959
1960
|
}
|
|
1960
|
-
const
|
|
1961
|
+
const To = /* @__PURE__ */ b(Co, [["render", wo], ["__scopeId", "data-v-459e0e34"]]), Io = g({
|
|
1961
1962
|
name: "builder-fragment-component",
|
|
1962
1963
|
props: []
|
|
1963
1964
|
});
|
|
1964
|
-
function
|
|
1965
|
+
function $o(e, t, n, o, r, s) {
|
|
1965
1966
|
return c(), p("span", null, [
|
|
1966
1967
|
A(e.$slots, "default")
|
|
1967
1968
|
]);
|
|
1968
1969
|
}
|
|
1969
|
-
const
|
|
1970
|
+
const Ro = /* @__PURE__ */ b(Io, [["render", $o]]);
|
|
1970
1971
|
function Ve(e) {
|
|
1971
1972
|
return e.replace(/http(s)?:/, "");
|
|
1972
1973
|
}
|
|
1973
|
-
function
|
|
1974
|
+
function Eo(e = "", t, n) {
|
|
1974
1975
|
const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
|
|
1975
1976
|
return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
|
|
1976
1977
|
}
|
|
1977
|
-
function
|
|
1978
|
+
function Po(e, t) {
|
|
1978
1979
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
1979
1980
|
return e;
|
|
1980
1981
|
if (t === "master")
|
|
@@ -1993,13 +1994,14 @@ function se(e) {
|
|
|
1993
1994
|
if (e.match(/builder\.io/)) {
|
|
1994
1995
|
let n = e;
|
|
1995
1996
|
const o = Number(e.split("?width=")[1]);
|
|
1996
|
-
return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${
|
|
1997
|
+
return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${Eo(e, "width", r)} ${r}w`).concat([n]).join(", ");
|
|
1997
1998
|
}
|
|
1998
|
-
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [
|
|
1999
|
+
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Po(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
|
|
1999
2000
|
}
|
|
2000
|
-
const
|
|
2001
|
+
const Bo = g({
|
|
2001
2002
|
name: "builder-image",
|
|
2002
2003
|
props: [
|
|
2004
|
+
"lazy",
|
|
2003
2005
|
"image",
|
|
2004
2006
|
"src",
|
|
2005
2007
|
"srcset",
|
|
@@ -2047,11 +2049,11 @@ const Po = g({
|
|
|
2047
2049
|
return this.aspectRatio ? e : void 0;
|
|
2048
2050
|
}
|
|
2049
2051
|
}
|
|
2050
|
-
}),
|
|
2052
|
+
}), Ao = ["srcset"], xo = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Vo = {
|
|
2051
2053
|
key: 2,
|
|
2052
2054
|
class: "div-29wpyomtntv-2"
|
|
2053
2055
|
};
|
|
2054
|
-
function
|
|
2056
|
+
function No(e, t, n, o, r, s) {
|
|
2055
2057
|
var i, l, a, u, h, m;
|
|
2056
2058
|
return c(), p($, null, [
|
|
2057
2059
|
M("picture", null, [
|
|
@@ -2059,7 +2061,7 @@ function Vo(e, t, n, o, r, s) {
|
|
|
2059
2061
|
key: 0,
|
|
2060
2062
|
type: "image/webp",
|
|
2061
2063
|
srcset: e.webpSrcSet
|
|
2062
|
-
}, null, 8,
|
|
2064
|
+
}, null, 8, Ao)) : S("", !0),
|
|
2063
2065
|
M("img", {
|
|
2064
2066
|
loading: e.highPriority ? "eager" : "lazy",
|
|
2065
2067
|
fetchpriority: e.highPriority ? "high" : "auto",
|
|
@@ -2077,7 +2079,7 @@ function Vo(e, t, n, o, r, s) {
|
|
|
2077
2079
|
src: e.image,
|
|
2078
2080
|
srcset: e.srcSetToUse,
|
|
2079
2081
|
sizes: e.sizes
|
|
2080
|
-
}, null, 14,
|
|
2082
|
+
}, null, 14, xo)
|
|
2081
2083
|
]),
|
|
2082
2084
|
e.aspectRatio && !((l = (i = e.builderBlock) == null ? void 0 : i.children) != null && l.length && e.fitContent) ? (c(), p("div", {
|
|
2083
2085
|
key: 0,
|
|
@@ -2087,19 +2089,19 @@ function Vo(e, t, n, o, r, s) {
|
|
|
2087
2089
|
})
|
|
2088
2090
|
}, null, 4)) : S("", !0),
|
|
2089
2091
|
(u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? A(e.$slots, "default", { key: 1 }, void 0, !0) : S("", !0),
|
|
2090
|
-
!e.fitContent && ((m = (h = e.builderBlock) == null ? void 0 : h.children) != null && m.length) ? (c(), p("div",
|
|
2092
|
+
!e.fitContent && ((m = (h = e.builderBlock) == null ? void 0 : h.children) != null && m.length) ? (c(), p("div", Vo, [
|
|
2091
2093
|
A(e.$slots, "default", {}, void 0, !0)
|
|
2092
2094
|
])) : S("", !0)
|
|
2093
2095
|
], 64);
|
|
2094
2096
|
}
|
|
2095
|
-
const
|
|
2097
|
+
const Wo = /* @__PURE__ */ b(Bo, [["render", No], ["__scopeId", "data-v-e6416c92"]]), Oo = g({
|
|
2096
2098
|
name: "builder-section-component",
|
|
2097
2099
|
props: ["attributes", "maxWidth"],
|
|
2098
2100
|
data() {
|
|
2099
2101
|
return { filterAttrs: V };
|
|
2100
2102
|
}
|
|
2101
2103
|
});
|
|
2102
|
-
function
|
|
2104
|
+
function Uo(e, t, n, o, r, s) {
|
|
2103
2105
|
return c(), p("section", C({
|
|
2104
2106
|
style: {
|
|
2105
2107
|
width: "100%",
|
|
@@ -2117,7 +2119,7 @@ function Oo(e, t, n, o, r, s) {
|
|
|
2117
2119
|
A(e.$slots, "default")
|
|
2118
2120
|
], 16);
|
|
2119
2121
|
}
|
|
2120
|
-
const
|
|
2122
|
+
const Do = /* @__PURE__ */ b(Oo, [["render", Uo]]), ie = {
|
|
2121
2123
|
"@type": "@builder.io/sdk:Element",
|
|
2122
2124
|
layerName: "Accordion item title",
|
|
2123
2125
|
responsiveStyles: {
|
|
@@ -2177,7 +2179,7 @@ const Uo = /* @__PURE__ */ b(Wo, [["render", Oo]]), ie = {
|
|
|
2177
2179
|
}
|
|
2178
2180
|
}
|
|
2179
2181
|
}]
|
|
2180
|
-
},
|
|
2182
|
+
}, Fo = {
|
|
2181
2183
|
name: "Builder:Accordion",
|
|
2182
2184
|
canHaveChildren: !0,
|
|
2183
2185
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -2241,7 +2243,7 @@ const Uo = /* @__PURE__ */ b(Wo, [["render", Oo]]), ie = {
|
|
|
2241
2243
|
builderComponents: !0,
|
|
2242
2244
|
builderLinkComponent: !0
|
|
2243
2245
|
}
|
|
2244
|
-
},
|
|
2246
|
+
}, Lo = (e) => e.toString(), Mo = g({
|
|
2245
2247
|
name: "builder-accordion",
|
|
2246
2248
|
components: { Blocks: H },
|
|
2247
2249
|
props: [
|
|
@@ -2255,7 +2257,7 @@ const Uo = /* @__PURE__ */ b(Wo, [["render", Oo]]), ie = {
|
|
|
2255
2257
|
"builderLinkComponent"
|
|
2256
2258
|
],
|
|
2257
2259
|
data() {
|
|
2258
|
-
return { open: [], convertOrderNumberToString:
|
|
2260
|
+
return { open: [], convertOrderNumberToString: Lo };
|
|
2259
2261
|
},
|
|
2260
2262
|
computed: {
|
|
2261
2263
|
onlyOneAtATime() {
|
|
@@ -2336,8 +2338,8 @@ const Uo = /* @__PURE__ */ b(Wo, [["render", Oo]]), ie = {
|
|
|
2336
2338
|
this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
|
|
2337
2339
|
}
|
|
2338
2340
|
}
|
|
2339
|
-
}),
|
|
2340
|
-
function
|
|
2341
|
+
}), Ho = ["data-index", "onClick"];
|
|
2342
|
+
function Ko(e, t, n, o, r, s) {
|
|
2341
2343
|
const i = k("Blocks");
|
|
2342
2344
|
return c(), p("div", {
|
|
2343
2345
|
class: "builder-accordion",
|
|
@@ -2364,7 +2366,7 @@ function Ho(e, t, n, o, r, s) {
|
|
|
2364
2366
|
registeredComponents: e.builderComponents,
|
|
2365
2367
|
linkComponent: e.builderLinkComponent
|
|
2366
2368
|
}, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
|
|
2367
|
-
], 14,
|
|
2369
|
+
], 14, Ho),
|
|
2368
2370
|
e.open.includes(a) ? (c(), p("div", {
|
|
2369
2371
|
key: 0,
|
|
2370
2372
|
class: J(e.getAccordionDetailClassName(a)),
|
|
@@ -2382,7 +2384,7 @@ function Ho(e, t, n, o, r, s) {
|
|
|
2382
2384
|
], 64))), 128))
|
|
2383
2385
|
], 4);
|
|
2384
2386
|
}
|
|
2385
|
-
const jo = /* @__PURE__ */ b(
|
|
2387
|
+
const jo = /* @__PURE__ */ b(Mo, [["render", Ko]]), zo = {
|
|
2386
2388
|
name: "Core:Button",
|
|
2387
2389
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
2388
2390
|
defaultStyles: {
|
|
@@ -2418,7 +2420,7 @@ const jo = /* @__PURE__ */ b(Lo, [["render", Ho]]), Ko = {
|
|
|
2418
2420
|
shouldReceiveBuilderProps: {
|
|
2419
2421
|
builderLinkComponent: !0
|
|
2420
2422
|
}
|
|
2421
|
-
},
|
|
2423
|
+
}, qo = {
|
|
2422
2424
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
2423
2425
|
name: "Columns",
|
|
2424
2426
|
isRSC: !0,
|
|
@@ -2625,13 +2627,13 @@ const jo = /* @__PURE__ */ b(Lo, [["render", Ho]]), Ko = {
|
|
|
2625
2627
|
builderComponents: !0,
|
|
2626
2628
|
builderLinkComponent: !0
|
|
2627
2629
|
}
|
|
2628
|
-
},
|
|
2630
|
+
}, Jo = {
|
|
2629
2631
|
name: "Fragment",
|
|
2630
2632
|
static: !0,
|
|
2631
2633
|
hidden: !0,
|
|
2632
2634
|
canHaveChildren: !0,
|
|
2633
2635
|
noWrap: !0
|
|
2634
|
-
}, we = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"],
|
|
2636
|
+
}, we = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], Go = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], Yo = {
|
|
2635
2637
|
name: "Image",
|
|
2636
2638
|
static: !0,
|
|
2637
2639
|
image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
|
|
@@ -2753,7 +2755,7 @@ const jo = /* @__PURE__ */ b(Lo, [["render", Ho]]), Ko = {
|
|
|
2753
2755
|
},
|
|
2754
2756
|
name: "inlined-script",
|
|
2755
2757
|
props: ["scriptStr", "id", "nonce"]
|
|
2756
|
-
}),
|
|
2758
|
+
}), Xo = {
|
|
2757
2759
|
name: "Core:Section",
|
|
2758
2760
|
static: !0,
|
|
2759
2761
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -2792,7 +2794,7 @@ const jo = /* @__PURE__ */ b(Lo, [["render", Ho]]), Ko = {
|
|
|
2792
2794
|
}
|
|
2793
2795
|
}
|
|
2794
2796
|
}]
|
|
2795
|
-
},
|
|
2797
|
+
}, Qo = {
|
|
2796
2798
|
name: "Slot",
|
|
2797
2799
|
isRSC: !0,
|
|
2798
2800
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -2809,12 +2811,12 @@ const jo = /* @__PURE__ */ b(Lo, [["render", Ho]]), Ko = {
|
|
|
2809
2811
|
builderContext: !0,
|
|
2810
2812
|
builderComponents: !0
|
|
2811
2813
|
}
|
|
2812
|
-
},
|
|
2814
|
+
}, Zo = g({
|
|
2813
2815
|
name: "builder-slot",
|
|
2814
2816
|
components: { Blocks: H },
|
|
2815
2817
|
props: ["builderContext", "name", "builderComponents"]
|
|
2816
2818
|
});
|
|
2817
|
-
function
|
|
2819
|
+
function _o(e, t, n, o, r, s) {
|
|
2818
2820
|
var l, a, u;
|
|
2819
2821
|
const i = k("Blocks");
|
|
2820
2822
|
return c(), p("div", C(
|
|
@@ -2834,7 +2836,7 @@ function Zo(e, t, n, o, r, s) {
|
|
|
2834
2836
|
}, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
|
|
2835
2837
|
], 16);
|
|
2836
2838
|
}
|
|
2837
|
-
const
|
|
2839
|
+
const er = /* @__PURE__ */ b(Zo, [["render", _o]]), tr = {
|
|
2838
2840
|
name: "Symbol",
|
|
2839
2841
|
noWrap: !0,
|
|
2840
2842
|
static: !0,
|
|
@@ -2911,7 +2913,7 @@ const _o = /* @__PURE__ */ b(Qo, [["render", Zo]]), er = {
|
|
|
2911
2913
|
text: "New tab content "
|
|
2912
2914
|
}
|
|
2913
2915
|
}
|
|
2914
|
-
},
|
|
2916
|
+
}, nr = {
|
|
2915
2917
|
name: "Builder: Tabs",
|
|
2916
2918
|
inputs: [{
|
|
2917
2919
|
name: "tabs",
|
|
@@ -3014,7 +3016,7 @@ const _o = /* @__PURE__ */ b(Qo, [["render", Zo]]), er = {
|
|
|
3014
3016
|
builderComponents: !0,
|
|
3015
3017
|
builderLinkComponent: !0
|
|
3016
3018
|
}
|
|
3017
|
-
},
|
|
3019
|
+
}, or = g({
|
|
3018
3020
|
name: "builder-tabs",
|
|
3019
3021
|
components: { Blocks: H },
|
|
3020
3022
|
props: [
|
|
@@ -3039,8 +3041,8 @@ const _o = /* @__PURE__ */ b(Qo, [["render", Zo]]), er = {
|
|
|
3039
3041
|
e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
|
|
3040
3042
|
}
|
|
3041
3043
|
}
|
|
3042
|
-
}),
|
|
3043
|
-
function
|
|
3044
|
+
}), rr = ["onClick"], sr = { key: 0 };
|
|
3045
|
+
function ir(e, t, n, o, r, s) {
|
|
3044
3046
|
const i = k("Blocks");
|
|
3045
3047
|
return c(), p("div", null, [
|
|
3046
3048
|
M("div", {
|
|
@@ -3068,9 +3070,9 @@ function sr(e, t, n, o, r, s) {
|
|
|
3068
3070
|
registeredComponents: e.builderComponents,
|
|
3069
3071
|
linkComponent: e.builderLinkComponent
|
|
3070
3072
|
}, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
|
|
3071
|
-
], 14,
|
|
3073
|
+
], 14, rr))), 128))
|
|
3072
3074
|
], 4),
|
|
3073
|
-
e.activeTabContent(e.activeTab) ? (c(), p("div",
|
|
3075
|
+
e.activeTabContent(e.activeTab) ? (c(), p("div", sr, [
|
|
3074
3076
|
B(i, {
|
|
3075
3077
|
parent: e.builderBlock.id,
|
|
3076
3078
|
path: `tabs.${e.activeTab}.content`,
|
|
@@ -3082,11 +3084,8 @@ function sr(e, t, n, o, r, s) {
|
|
|
3082
3084
|
])) : S("", !0)
|
|
3083
3085
|
]);
|
|
3084
3086
|
}
|
|
3085
|
-
const
|
|
3086
|
-
shouldReceiveBuilderProps: {
|
|
3087
|
-
builderBlock: !1,
|
|
3088
|
-
builderContext: !0
|
|
3089
|
-
},
|
|
3087
|
+
const ar = /* @__PURE__ */ b(or, [["render", ir]]), lr = {
|
|
3088
|
+
shouldReceiveBuilderProps: {},
|
|
3090
3089
|
name: "Text",
|
|
3091
3090
|
static: !0,
|
|
3092
3091
|
isRSC: !0,
|
|
@@ -3104,11 +3103,11 @@ const ir = /* @__PURE__ */ b(nr, [["render", sr]]), ar = {
|
|
|
3104
3103
|
height: "auto",
|
|
3105
3104
|
textAlign: "center"
|
|
3106
3105
|
}
|
|
3107
|
-
},
|
|
3106
|
+
}, cr = g({
|
|
3108
3107
|
name: "builder-text",
|
|
3109
3108
|
props: ["text"]
|
|
3110
|
-
}),
|
|
3111
|
-
function
|
|
3109
|
+
}), dr = ["innerHTML"];
|
|
3110
|
+
function ur(e, t, n, o, r, s) {
|
|
3112
3111
|
var i;
|
|
3113
3112
|
return c(), p("div", {
|
|
3114
3113
|
class: "builder-text",
|
|
@@ -3116,9 +3115,9 @@ function dr(e, t, n, o, r, s) {
|
|
|
3116
3115
|
style: {
|
|
3117
3116
|
outline: "none"
|
|
3118
3117
|
}
|
|
3119
|
-
}, null, 8,
|
|
3118
|
+
}, null, 8, dr);
|
|
3120
3119
|
}
|
|
3121
|
-
const
|
|
3120
|
+
const pr = /* @__PURE__ */ b(cr, [["render", ur]]), mr = {
|
|
3122
3121
|
name: "Custom Code",
|
|
3123
3122
|
static: !0,
|
|
3124
3123
|
requiredPermissions: ["editCode"],
|
|
@@ -3140,7 +3139,7 @@ const ur = /* @__PURE__ */ b(lr, [["render", dr]]), pr = {
|
|
|
3140
3139
|
helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
|
|
3141
3140
|
advanced: !0
|
|
3142
3141
|
}]
|
|
3143
|
-
},
|
|
3142
|
+
}, hr = g({
|
|
3144
3143
|
name: "builder-custom-code",
|
|
3145
3144
|
props: ["code", "replaceNodes"],
|
|
3146
3145
|
data() {
|
|
@@ -3199,15 +3198,15 @@ const ur = /* @__PURE__ */ b(lr, [["render", dr]]), pr = {
|
|
|
3199
3198
|
}
|
|
3200
3199
|
}
|
|
3201
3200
|
}
|
|
3202
|
-
}),
|
|
3203
|
-
function
|
|
3201
|
+
}), fr = ["innerHTML"];
|
|
3202
|
+
function gr(e, t, n, o, r, s) {
|
|
3204
3203
|
return c(), p("div", {
|
|
3205
3204
|
ref: "elementRef",
|
|
3206
3205
|
class: J("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
|
|
3207
3206
|
innerHTML: e.code
|
|
3208
|
-
}, null, 10,
|
|
3207
|
+
}, null, 10, fr);
|
|
3209
3208
|
}
|
|
3210
|
-
const
|
|
3209
|
+
const br = /* @__PURE__ */ b(hr, [["render", gr]]), yr = {
|
|
3211
3210
|
name: "Embed",
|
|
3212
3211
|
static: !0,
|
|
3213
3212
|
inputs: [{
|
|
@@ -3222,7 +3221,7 @@ const gr = /* @__PURE__ */ b(mr, [["render", fr]]), br = {
|
|
|
3222
3221
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
3223
3222
|
hideFromUI: !0
|
|
3224
3223
|
}]
|
|
3225
|
-
},
|
|
3224
|
+
}, kr = ["text/javascript", "application/javascript", "application/ecmascript"], vr = (e) => kr.includes(e.type), Sr = g({
|
|
3226
3225
|
name: "builder-embed",
|
|
3227
3226
|
props: ["content"],
|
|
3228
3227
|
data() {
|
|
@@ -3255,7 +3254,7 @@ const gr = /* @__PURE__ */ b(mr, [["render", fr]]), br = {
|
|
|
3255
3254
|
this.scriptsInserted.push(n.src);
|
|
3256
3255
|
const o = document.createElement("script");
|
|
3257
3256
|
o.async = !0, o.src = n.src, document.head.appendChild(o);
|
|
3258
|
-
} else if (
|
|
3257
|
+
} else if (vr(n) && !this.scriptsRun.includes(n.innerText))
|
|
3259
3258
|
try {
|
|
3260
3259
|
this.scriptsRun.push(n.innerText), new Function(n.innerText)();
|
|
3261
3260
|
} catch (o) {
|
|
@@ -3264,15 +3263,15 @@ const gr = /* @__PURE__ */ b(mr, [["render", fr]]), br = {
|
|
|
3264
3263
|
}
|
|
3265
3264
|
}
|
|
3266
3265
|
}
|
|
3267
|
-
}),
|
|
3268
|
-
function
|
|
3266
|
+
}), Cr = ["innerHTML"];
|
|
3267
|
+
function wr(e, t, n, o, r, s) {
|
|
3269
3268
|
return c(), p("div", {
|
|
3270
3269
|
class: "builder-embed",
|
|
3271
3270
|
ref: "elem",
|
|
3272
3271
|
innerHTML: e.content
|
|
3273
|
-
}, null, 8,
|
|
3272
|
+
}, null, 8, Cr);
|
|
3274
3273
|
}
|
|
3275
|
-
const
|
|
3274
|
+
const Tr = /* @__PURE__ */ b(Sr, [["render", wr]]), Ir = {
|
|
3276
3275
|
name: "Form:Form",
|
|
3277
3276
|
// editableTags: ['builder-form-error']
|
|
3278
3277
|
defaults: {
|
|
@@ -3509,10 +3508,10 @@ const wr = /* @__PURE__ */ b(vr, [["render", Cr]]), Tr = {
|
|
|
3509
3508
|
builderComponents: !0,
|
|
3510
3509
|
builderLinkComponent: !0
|
|
3511
3510
|
}
|
|
3512
|
-
},
|
|
3511
|
+
}, $r = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Rr = () => {
|
|
3513
3512
|
const e = process.env.NODE_ENV || "production";
|
|
3514
|
-
return
|
|
3515
|
-
},
|
|
3513
|
+
return $r.includes(e) ? e : "production";
|
|
3514
|
+
}, Er = g({
|
|
3516
3515
|
name: "builder-form-component",
|
|
3517
3516
|
components: { Blocks: H },
|
|
3518
3517
|
props: [
|
|
@@ -3612,7 +3611,7 @@ const wr = /* @__PURE__ */ b(vr, [["render", Cr]]), Tr = {
|
|
|
3612
3611
|
if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(u), u.defaultPrevented))
|
|
3613
3612
|
return;
|
|
3614
3613
|
this.formState = "sending";
|
|
3615
|
-
const h = `${
|
|
3614
|
+
const h = `${Rr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
|
|
3616
3615
|
this.sendSubmissionsToEmail || ""
|
|
3617
3616
|
)}&name=${encodeURIComponent(this.name || "")}`, m = this.sendSubmissionsTo === "email" ? h : this.action;
|
|
3618
3617
|
be(m), fetch(m, {
|
|
@@ -3665,11 +3664,11 @@ const wr = /* @__PURE__ */ b(vr, [["render", Cr]]), Tr = {
|
|
|
3665
3664
|
}
|
|
3666
3665
|
}
|
|
3667
3666
|
}
|
|
3668
|
-
}),
|
|
3667
|
+
}), Pr = ["validate", "action", "method", "name"], Br = {
|
|
3669
3668
|
key: 2,
|
|
3670
3669
|
class: "builder-form-error-text pre-1hjwvu3r5mj"
|
|
3671
3670
|
};
|
|
3672
|
-
function
|
|
3671
|
+
function Ar(e, t, n, o, r, s) {
|
|
3673
3672
|
const i = k("Blocks");
|
|
3674
3673
|
return c(), p("form", C({
|
|
3675
3674
|
validate: e.validate,
|
|
@@ -3692,16 +3691,16 @@ function Br(e, t, n, o, r, s) {
|
|
|
3692
3691
|
blocks: e.sendingMessage,
|
|
3693
3692
|
context: e.builderContext
|
|
3694
3693
|
}, null, 8, ["blocks", "context"])) : S("", !0),
|
|
3695
|
-
e.submissionState() === "error" && e.responseData ? (c(), p("pre",
|
|
3694
|
+
e.submissionState() === "error" && e.responseData ? (c(), p("pre", Br, ne(JSON.stringify(e.responseData, null, 2)), 1)) : S("", !0),
|
|
3696
3695
|
e.submissionState() === "success" ? (c(), y(i, {
|
|
3697
3696
|
key: 3,
|
|
3698
3697
|
path: "successMessage",
|
|
3699
3698
|
blocks: e.successMessage,
|
|
3700
3699
|
context: e.builderContext
|
|
3701
3700
|
}, null, 8, ["blocks", "context"])) : S("", !0)
|
|
3702
|
-
], 16,
|
|
3701
|
+
], 16, Pr);
|
|
3703
3702
|
}
|
|
3704
|
-
const
|
|
3703
|
+
const xr = /* @__PURE__ */ b(Er, [["render", Ar], ["__scopeId", "data-v-4ef43cdd"]]), Vr = {
|
|
3705
3704
|
name: "Form:Input",
|
|
3706
3705
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
3707
3706
|
inputs: [
|
|
@@ -3752,7 +3751,7 @@ const Ar = /* @__PURE__ */ b(Rr, [["render", Br], ["__scopeId", "data-v-4ef43cdd
|
|
|
3752
3751
|
borderStyle: "solid",
|
|
3753
3752
|
borderColor: "#ccc"
|
|
3754
3753
|
}
|
|
3755
|
-
},
|
|
3754
|
+
}, Nr = g({
|
|
3756
3755
|
name: "builder-form-input-component",
|
|
3757
3756
|
props: [
|
|
3758
3757
|
"attributes",
|
|
@@ -3766,8 +3765,8 @@ const Ar = /* @__PURE__ */ b(Rr, [["render", Br], ["__scopeId", "data-v-4ef43cdd
|
|
|
3766
3765
|
data() {
|
|
3767
3766
|
return { isEditing: E, filterAttrs: V };
|
|
3768
3767
|
}
|
|
3769
|
-
}),
|
|
3770
|
-
function
|
|
3768
|
+
}), Wr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
|
|
3769
|
+
function Or(e, t, n, o, r, s) {
|
|
3771
3770
|
return c(), p("input", C({
|
|
3772
3771
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
3773
3772
|
placeholder: e.placeholder,
|
|
@@ -3776,9 +3775,9 @@ function Wr(e, t, n, o, r, s) {
|
|
|
3776
3775
|
value: e.value,
|
|
3777
3776
|
defaultValue: e.defaultValue,
|
|
3778
3777
|
required: e.required
|
|
3779
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
3778
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Wr);
|
|
3780
3779
|
}
|
|
3781
|
-
const
|
|
3780
|
+
const Ur = /* @__PURE__ */ b(Nr, [["render", Or]]), Dr = {
|
|
3782
3781
|
name: "Form:Select",
|
|
3783
3782
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
3784
3783
|
defaultStyles: {
|
|
@@ -3820,14 +3819,14 @@ const Or = /* @__PURE__ */ b(Vr, [["render", Wr]]), Ur = {
|
|
|
3820
3819
|
}],
|
|
3821
3820
|
static: !0,
|
|
3822
3821
|
noWrap: !0
|
|
3823
|
-
},
|
|
3822
|
+
}, Fr = g({
|
|
3824
3823
|
name: "builder-select-component",
|
|
3825
3824
|
props: ["attributes", "value", "defaultValue", "name", "required", "options"],
|
|
3826
3825
|
data() {
|
|
3827
3826
|
return { isEditing: E, filterAttrs: V };
|
|
3828
3827
|
}
|
|
3829
|
-
}),
|
|
3830
|
-
function
|
|
3828
|
+
}), Lr = ["value", "defaultValue", "name", "required"], Mr = ["value"];
|
|
3829
|
+
function Hr(e, t, n, o, r, s) {
|
|
3831
3830
|
return c(), p("select", C({
|
|
3832
3831
|
value: e.value,
|
|
3833
3832
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
@@ -3838,10 +3837,10 @@ function Mr(e, t, n, o, r, s) {
|
|
|
3838
3837
|
(c(!0), p($, null, N(e.options, (i, l) => (c(), p("option", {
|
|
3839
3838
|
key: `${i.name}-${l}`,
|
|
3840
3839
|
value: i.value
|
|
3841
|
-
}, ne(i.name || i.value), 9,
|
|
3842
|
-
], 16,
|
|
3840
|
+
}, ne(i.name || i.value), 9, Mr))), 128))
|
|
3841
|
+
], 16, Lr);
|
|
3843
3842
|
}
|
|
3844
|
-
const
|
|
3843
|
+
const Kr = /* @__PURE__ */ b(Fr, [["render", Hr]]), jr = {
|
|
3845
3844
|
name: "Form:SubmitButton",
|
|
3846
3845
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
3847
3846
|
defaultStyles: {
|
|
@@ -3866,17 +3865,17 @@ const Hr = /* @__PURE__ */ b(Dr, [["render", Mr]]), jr = {
|
|
|
3866
3865
|
// that only shows if advanced setting is flipped
|
|
3867
3866
|
// TODO: defaultChildren
|
|
3868
3867
|
// canHaveChildren: true,
|
|
3869
|
-
},
|
|
3868
|
+
}, zr = g({
|
|
3870
3869
|
name: "builder-submit-button",
|
|
3871
3870
|
props: ["attributes", "text"],
|
|
3872
3871
|
data() {
|
|
3873
3872
|
return { filterAttrs: V };
|
|
3874
3873
|
}
|
|
3875
3874
|
});
|
|
3876
|
-
function
|
|
3875
|
+
function qr(e, t, n, o, r, s) {
|
|
3877
3876
|
return c(), p("button", C({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), ne(e.text), 17);
|
|
3878
3877
|
}
|
|
3879
|
-
const
|
|
3878
|
+
const Jr = /* @__PURE__ */ b(zr, [["render", qr]]), Gr = {
|
|
3880
3879
|
name: "Form:TextArea",
|
|
3881
3880
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
3882
3881
|
inputs: [{
|
|
@@ -3912,7 +3911,7 @@ const qr = /* @__PURE__ */ b(Kr, [["render", zr]]), Jr = {
|
|
|
3912
3911
|
},
|
|
3913
3912
|
static: !0,
|
|
3914
3913
|
noWrap: !0
|
|
3915
|
-
},
|
|
3914
|
+
}, Yr = g({
|
|
3916
3915
|
name: "builder-textarea",
|
|
3917
3916
|
props: [
|
|
3918
3917
|
"attributes",
|
|
@@ -3925,17 +3924,17 @@ const qr = /* @__PURE__ */ b(Kr, [["render", zr]]), Jr = {
|
|
|
3925
3924
|
data() {
|
|
3926
3925
|
return { filterAttrs: V };
|
|
3927
3926
|
}
|
|
3928
|
-
}),
|
|
3929
|
-
function
|
|
3927
|
+
}), Xr = ["placeholder", "name", "value", "defaultValue", "required"];
|
|
3928
|
+
function Qr(e, t, n, o, r, s) {
|
|
3930
3929
|
return c(), p("textarea", C({
|
|
3931
3930
|
placeholder: e.placeholder,
|
|
3932
3931
|
name: e.name,
|
|
3933
3932
|
value: e.value,
|
|
3934
3933
|
defaultValue: e.defaultValue,
|
|
3935
3934
|
required: e.required
|
|
3936
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
3935
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Xr);
|
|
3937
3936
|
}
|
|
3938
|
-
const
|
|
3937
|
+
const Zr = /* @__PURE__ */ b(Yr, [["render", Qr]]), _r = {
|
|
3939
3938
|
// friendlyName?
|
|
3940
3939
|
name: "Raw:Img",
|
|
3941
3940
|
hideFromInsertMenu: !0,
|
|
@@ -3949,7 +3948,7 @@ const Qr = /* @__PURE__ */ b(Gr, [["render", Xr]]), Zr = {
|
|
|
3949
3948
|
}],
|
|
3950
3949
|
noWrap: !0,
|
|
3951
3950
|
static: !0
|
|
3952
|
-
},
|
|
3951
|
+
}, es = g({
|
|
3953
3952
|
name: "builder-img-component",
|
|
3954
3953
|
props: [
|
|
3955
3954
|
"backgroundSize",
|
|
@@ -3962,8 +3961,8 @@ const Qr = /* @__PURE__ */ b(Gr, [["render", Xr]]), Zr = {
|
|
|
3962
3961
|
data() {
|
|
3963
3962
|
return { isEditing: E, filterAttrs: V };
|
|
3964
3963
|
}
|
|
3965
|
-
}),
|
|
3966
|
-
function
|
|
3964
|
+
}), ts = ["alt", "src"];
|
|
3965
|
+
function ns(e, t, n, o, r, s) {
|
|
3967
3966
|
return c(), p("img", C({
|
|
3968
3967
|
style: {
|
|
3969
3968
|
objectFit: e.backgroundSize || "cover",
|
|
@@ -3972,9 +3971,9 @@ function ts(e, t, n, o, r, s) {
|
|
|
3972
3971
|
key: e.isEditing() && e.imgSrc || "default-key",
|
|
3973
3972
|
alt: e.altText,
|
|
3974
3973
|
src: e.imgSrc || e.image
|
|
3975
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
3974
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, ts);
|
|
3976
3975
|
}
|
|
3977
|
-
const
|
|
3976
|
+
const os = /* @__PURE__ */ b(es, [["render", ns]]), rs = {
|
|
3978
3977
|
name: "Video",
|
|
3979
3978
|
canHaveChildren: !0,
|
|
3980
3979
|
defaultStyles: {
|
|
@@ -3985,7 +3984,7 @@ const ns = /* @__PURE__ */ b(_r, [["render", ts]]), os = {
|
|
|
3985
3984
|
inputs: [{
|
|
3986
3985
|
name: "video",
|
|
3987
3986
|
type: "file",
|
|
3988
|
-
allowedFileTypes:
|
|
3987
|
+
allowedFileTypes: Go,
|
|
3989
3988
|
bubble: !0,
|
|
3990
3989
|
defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
|
|
3991
3990
|
required: !0
|
|
@@ -4058,7 +4057,7 @@ const ns = /* @__PURE__ */ b(_r, [["render", ts]]), os = {
|
|
|
4058
4057
|
shouldReceiveBuilderProps: {
|
|
4059
4058
|
builderBlock: !0
|
|
4060
4059
|
}
|
|
4061
|
-
},
|
|
4060
|
+
}, ss = g({
|
|
4062
4061
|
name: "builder-video",
|
|
4063
4062
|
props: [
|
|
4064
4063
|
"lazyLoad",
|
|
@@ -4131,16 +4130,16 @@ const ns = /* @__PURE__ */ b(_r, [["render", ts]]), os = {
|
|
|
4131
4130
|
};
|
|
4132
4131
|
}
|
|
4133
4132
|
}
|
|
4134
|
-
}),
|
|
4133
|
+
}), is = { style: {
|
|
4135
4134
|
position: "relative"
|
|
4136
|
-
} },
|
|
4135
|
+
} }, as = ["preload", "poster"], ls = {
|
|
4137
4136
|
key: 1,
|
|
4138
4137
|
style: {
|
|
4139
4138
|
display: "flex",
|
|
4140
4139
|
flexDirection: "column",
|
|
4141
4140
|
alignItems: "stretch"
|
|
4142
4141
|
}
|
|
4143
|
-
},
|
|
4142
|
+
}, cs = {
|
|
4144
4143
|
key: 2,
|
|
4145
4144
|
style: {
|
|
4146
4145
|
pointerEvents: "none",
|
|
@@ -4154,9 +4153,9 @@ const ns = /* @__PURE__ */ b(_r, [["render", ts]]), os = {
|
|
|
4154
4153
|
height: "100%"
|
|
4155
4154
|
}
|
|
4156
4155
|
};
|
|
4157
|
-
function
|
|
4156
|
+
function ds(e, t, n, o, r, s) {
|
|
4158
4157
|
var i, l, a, u, h, m, d;
|
|
4159
|
-
return c(), p("div",
|
|
4158
|
+
return c(), p("div", is, [
|
|
4160
4159
|
M("video", C({
|
|
4161
4160
|
class: "builder-video",
|
|
4162
4161
|
ref: "videoRef",
|
|
@@ -4184,7 +4183,7 @@ function cs(e, t, n, o, r, s) {
|
|
|
4184
4183
|
src: e.video
|
|
4185
4184
|
}
|
|
4186
4185
|
), null, 16)
|
|
4187
|
-
], 16,
|
|
4186
|
+
], 16, as),
|
|
4188
4187
|
e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (c(), p("div", {
|
|
4189
4188
|
key: 0,
|
|
4190
4189
|
style: U({
|
|
@@ -4194,72 +4193,72 @@ function cs(e, t, n, o, r, s) {
|
|
|
4194
4193
|
fontSize: "0px"
|
|
4195
4194
|
})
|
|
4196
4195
|
}, null, 4)) : S("", !0),
|
|
4197
|
-
(h = (u = e.builderBlock) == null ? void 0 : u.children) != null && h.length && e.fitContent ? (c(), p("div",
|
|
4196
|
+
(h = (u = e.builderBlock) == null ? void 0 : u.children) != null && h.length && e.fitContent ? (c(), p("div", ls, [
|
|
4198
4197
|
A(e.$slots, "default")
|
|
4199
4198
|
])) : S("", !0),
|
|
4200
|
-
(d = (m = e.builderBlock) == null ? void 0 : m.children) != null && d.length && !e.fitContent ? (c(), p("div",
|
|
4199
|
+
(d = (m = e.builderBlock) == null ? void 0 : m.children) != null && d.length && !e.fitContent ? (c(), p("div", cs, [
|
|
4201
4200
|
A(e.$slots, "default")
|
|
4202
4201
|
])) : S("", !0)
|
|
4203
4202
|
]);
|
|
4204
4203
|
}
|
|
4205
|
-
const
|
|
4206
|
-
component:
|
|
4207
|
-
...
|
|
4204
|
+
const us = /* @__PURE__ */ b(ss, [["render", ds]]), ps = () => [{
|
|
4205
|
+
component: br,
|
|
4206
|
+
...mr
|
|
4208
4207
|
}, {
|
|
4209
|
-
component:
|
|
4210
|
-
...
|
|
4208
|
+
component: Tr,
|
|
4209
|
+
...yr
|
|
4211
4210
|
}, {
|
|
4212
|
-
component:
|
|
4213
|
-
...
|
|
4211
|
+
component: xr,
|
|
4212
|
+
...Ir
|
|
4214
4213
|
}, {
|
|
4215
|
-
component:
|
|
4216
|
-
...
|
|
4214
|
+
component: Ur,
|
|
4215
|
+
...Vr
|
|
4217
4216
|
}, {
|
|
4218
|
-
component:
|
|
4217
|
+
component: Jr,
|
|
4219
4218
|
...jr
|
|
4220
4219
|
}, {
|
|
4221
|
-
component:
|
|
4222
|
-
...
|
|
4220
|
+
component: Kr,
|
|
4221
|
+
...Dr
|
|
4223
4222
|
}, {
|
|
4224
|
-
component:
|
|
4225
|
-
...
|
|
4223
|
+
component: Zr,
|
|
4224
|
+
...Gr
|
|
4226
4225
|
}, {
|
|
4227
|
-
component:
|
|
4228
|
-
...
|
|
4226
|
+
component: os,
|
|
4227
|
+
..._r
|
|
4229
4228
|
}, {
|
|
4230
|
-
component:
|
|
4231
|
-
...
|
|
4229
|
+
component: us,
|
|
4230
|
+
...rs
|
|
4232
4231
|
}], Ne = () => [{
|
|
4233
4232
|
component: At,
|
|
4234
|
-
...Ko
|
|
4235
|
-
}, {
|
|
4236
|
-
component: wo,
|
|
4237
4233
|
...zo
|
|
4238
4234
|
}, {
|
|
4239
|
-
component:
|
|
4235
|
+
component: To,
|
|
4240
4236
|
...qo
|
|
4241
4237
|
}, {
|
|
4242
|
-
component:
|
|
4243
|
-
...
|
|
4238
|
+
component: Ro,
|
|
4239
|
+
...Jo
|
|
4244
4240
|
}, {
|
|
4245
|
-
component:
|
|
4241
|
+
component: Wo,
|
|
4246
4242
|
...Yo
|
|
4247
4243
|
}, {
|
|
4248
|
-
component:
|
|
4244
|
+
component: Do,
|
|
4249
4245
|
...Xo
|
|
4250
4246
|
}, {
|
|
4251
|
-
component:
|
|
4252
|
-
...
|
|
4253
|
-
}, {
|
|
4254
|
-
component: ur,
|
|
4255
|
-
...ar
|
|
4247
|
+
component: er,
|
|
4248
|
+
...Qo
|
|
4256
4249
|
}, {
|
|
4257
|
-
component:
|
|
4250
|
+
component: Xs,
|
|
4258
4251
|
...tr
|
|
4252
|
+
}, {
|
|
4253
|
+
component: pr,
|
|
4254
|
+
...lr
|
|
4255
|
+
}, {
|
|
4256
|
+
component: ar,
|
|
4257
|
+
...nr
|
|
4259
4258
|
}, {
|
|
4260
4259
|
component: jo,
|
|
4261
|
-
...
|
|
4262
|
-
}, ...
|
|
4260
|
+
...Fo
|
|
4261
|
+
}, ...ps()], ms = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
|
|
4263
4262
|
function getAndSetVariantId() {
|
|
4264
4263
|
function setCookie(name, value, days) {
|
|
4265
4264
|
let expires = '';
|
|
@@ -4318,7 +4317,7 @@ const ds = /* @__PURE__ */ b(rs, [["render", cs]]), us = () => [{
|
|
|
4318
4317
|
}).join('');
|
|
4319
4318
|
styleEl.innerHTML = newStyleStr;
|
|
4320
4319
|
}
|
|
4321
|
-
}`,
|
|
4320
|
+
}`, hs = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
4322
4321
|
if (!navigator.cookieEnabled) {
|
|
4323
4322
|
return;
|
|
4324
4323
|
}
|
|
@@ -4356,16 +4355,16 @@ const ds = /* @__PURE__ */ b(rs, [["render", cs]]), us = () => [{
|
|
|
4356
4355
|
...t,
|
|
4357
4356
|
testVariationId: t.id,
|
|
4358
4357
|
id: e == null ? void 0 : e.id
|
|
4359
|
-
})),
|
|
4358
|
+
})), fs = ({
|
|
4360
4359
|
canTrack: e,
|
|
4361
4360
|
content: t
|
|
4362
|
-
}) => !(!(Z(t).length > 0) || !e),
|
|
4363
|
-
window.${yt} = ${
|
|
4364
|
-
window.${kt} = ${
|
|
4365
|
-
`,
|
|
4361
|
+
}) => !(!(Z(t).length > 0) || !e), gs = (e) => e === "react" || e === "reactNative", bs = R === "angular", vt = gs(R), ys = () => `
|
|
4362
|
+
window.${yt} = ${ms}
|
|
4363
|
+
window.${kt} = ${hs}
|
|
4364
|
+
`, ks = (e, t) => `
|
|
4366
4365
|
window.${yt}(
|
|
4367
|
-
"${t}",${JSON.stringify(e)}, ${vt}, ${
|
|
4368
|
-
)`,
|
|
4366
|
+
"${t}",${JSON.stringify(e)}, ${vt}, ${bs}
|
|
4367
|
+
)`, vs = ({
|
|
4369
4368
|
contentId: e,
|
|
4370
4369
|
variationId: t
|
|
4371
4370
|
}) => `window.${kt}(
|
|
@@ -4374,7 +4373,7 @@ const ds = /* @__PURE__ */ b(rs, [["render", cs]]), us = () => [{
|
|
|
4374
4373
|
function We(e) {
|
|
4375
4374
|
return Math.round(e * 1e3) / 1e3;
|
|
4376
4375
|
}
|
|
4377
|
-
const
|
|
4376
|
+
const Ss = (e, t, n = !0) => {
|
|
4378
4377
|
if (!(e instanceof HTMLElement))
|
|
4379
4378
|
return null;
|
|
4380
4379
|
let o = n ? e : e.parentElement;
|
|
@@ -4385,7 +4384,7 @@ const vs = (e, t, n = !0) => {
|
|
|
4385
4384
|
return o;
|
|
4386
4385
|
} while (o = o.parentElement);
|
|
4387
4386
|
return null;
|
|
4388
|
-
},
|
|
4387
|
+
}, Cs = (e) => Ss(e, (t) => {
|
|
4389
4388
|
const n = t.getAttribute("builder-id") || t.id;
|
|
4390
4389
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
4391
4390
|
}), Oe = ({
|
|
@@ -4397,8 +4396,8 @@ const vs = (e, t, n = !0) => {
|
|
|
4397
4396
|
x: s,
|
|
4398
4397
|
y: i
|
|
4399
4398
|
};
|
|
4400
|
-
},
|
|
4401
|
-
const t = e.target, n = t &&
|
|
4399
|
+
}, ws = (e) => {
|
|
4400
|
+
const t = e.target, n = t && Cs(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
4402
4401
|
return {
|
|
4403
4402
|
targetBuilderElement: o || void 0,
|
|
4404
4403
|
metadata: {
|
|
@@ -4413,7 +4412,7 @@ const vs = (e, t, n = !0) => {
|
|
|
4413
4412
|
builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
|
|
4414
4413
|
}
|
|
4415
4414
|
};
|
|
4416
|
-
},
|
|
4415
|
+
}, Ts = ["svelte", "qwik", "vue"], Is = () => Ts.includes(R) && (E() || qe()), $s = (e) => {
|
|
4417
4416
|
var s;
|
|
4418
4417
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((s = e == null ? void 0 : e.files) == null ? void 0 : s.regular);
|
|
4419
4418
|
let r = "";
|
|
@@ -4439,15 +4438,15 @@ font-weight: ${i};
|
|
|
4439
4438
|
`.trim());
|
|
4440
4439
|
}
|
|
4441
4440
|
return r;
|
|
4442
|
-
},
|
|
4441
|
+
}, Rs = ({
|
|
4443
4442
|
customFonts: e
|
|
4444
4443
|
}) => {
|
|
4445
4444
|
var t;
|
|
4446
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
4447
|
-
},
|
|
4445
|
+
return ((t = e == null ? void 0 : e.map((n) => $s(n))) == null ? void 0 : t.join(" ")) || "";
|
|
4446
|
+
}, Es = ({
|
|
4448
4447
|
cssCode: e,
|
|
4449
4448
|
contentId: t
|
|
4450
|
-
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "",
|
|
4449
|
+
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ps = `
|
|
4451
4450
|
.builder-button {
|
|
4452
4451
|
all: unset;
|
|
4453
4452
|
}
|
|
@@ -4464,7 +4463,7 @@ font-weight: ${i};
|
|
|
4464
4463
|
text-align: inherit;
|
|
4465
4464
|
font-family: inherit;
|
|
4466
4465
|
}
|
|
4467
|
-
`,
|
|
4466
|
+
`, Bs = (e) => e ? "" : Ps, As = (e) => `variant-${e}`, xs = g({
|
|
4468
4467
|
name: "enable-editor",
|
|
4469
4468
|
components: { DynamicDiv: X },
|
|
4470
4469
|
props: [
|
|
@@ -4492,8 +4491,8 @@ font-weight: ${i};
|
|
|
4492
4491
|
httpReqsPending: {},
|
|
4493
4492
|
clicked: !1,
|
|
4494
4493
|
builderContext: de,
|
|
4495
|
-
needsElementRefDivForEditing:
|
|
4496
|
-
getWrapperClassName:
|
|
4494
|
+
needsElementRefDivForEditing: Is,
|
|
4495
|
+
getWrapperClassName: As
|
|
4497
4496
|
};
|
|
4498
4497
|
},
|
|
4499
4498
|
provide() {
|
|
@@ -4656,7 +4655,7 @@ font-weight: ${i};
|
|
|
4656
4655
|
contentId: r,
|
|
4657
4656
|
apiKey: this.apiKey,
|
|
4658
4657
|
variationId: o !== r ? o : void 0,
|
|
4659
|
-
...
|
|
4658
|
+
...ws(e),
|
|
4660
4659
|
unique: !this.clicked
|
|
4661
4660
|
});
|
|
4662
4661
|
}
|
|
@@ -4753,7 +4752,7 @@ font-weight: ${i};
|
|
|
4753
4752
|
}
|
|
4754
4753
|
}
|
|
4755
4754
|
});
|
|
4756
|
-
function
|
|
4755
|
+
function Vs(e, t, n, o, r, s) {
|
|
4757
4756
|
var i, l, a;
|
|
4758
4757
|
return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (c(), y(z(e.ContentWrapper), C({
|
|
4759
4758
|
key: 0,
|
|
@@ -4774,26 +4773,26 @@ function xs(e, t, n, o, r, s) {
|
|
|
4774
4773
|
_: 3
|
|
4775
4774
|
}, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : S("", !0);
|
|
4776
4775
|
}
|
|
4777
|
-
const
|
|
4776
|
+
const Ns = /* @__PURE__ */ b(xs, [["render", Vs]]), Ws = g({
|
|
4778
4777
|
name: "content-styles",
|
|
4779
4778
|
components: { InlinedStyles: Ce },
|
|
4780
4779
|
props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
|
|
4781
4780
|
data() {
|
|
4782
4781
|
return {
|
|
4783
4782
|
injectedStyles: `
|
|
4784
|
-
${
|
|
4783
|
+
${Es({
|
|
4785
4784
|
cssCode: this.cssCode,
|
|
4786
4785
|
contentId: this.contentId
|
|
4787
4786
|
})}
|
|
4788
|
-
${
|
|
4787
|
+
${Rs({
|
|
4789
4788
|
customFonts: this.customFonts
|
|
4790
4789
|
})}
|
|
4791
|
-
${
|
|
4790
|
+
${Bs(this.isNestedRender)}
|
|
4792
4791
|
`.trim()
|
|
4793
4792
|
};
|
|
4794
4793
|
}
|
|
4795
4794
|
});
|
|
4796
|
-
function
|
|
4795
|
+
function Os(e, t, n, o, r, s) {
|
|
4797
4796
|
const i = k("InlinedStyles");
|
|
4798
4797
|
return c(), y(i, {
|
|
4799
4798
|
id: "builderio-content",
|
|
@@ -4801,7 +4800,7 @@ function Ws(e, t, n, o, r, s) {
|
|
|
4801
4800
|
nonce: e.nonce
|
|
4802
4801
|
}, null, 8, ["styles", "nonce"]);
|
|
4803
4802
|
}
|
|
4804
|
-
const
|
|
4803
|
+
const Us = /* @__PURE__ */ b(Ws, [["render", Os]]), Ds = ({
|
|
4805
4804
|
content: e,
|
|
4806
4805
|
data: t,
|
|
4807
4806
|
locale: n
|
|
@@ -4818,7 +4817,7 @@ const Os = /* @__PURE__ */ b(Ns, [["render", Ws]]), Us = ({
|
|
|
4818
4817
|
locale: n
|
|
4819
4818
|
} : {}
|
|
4820
4819
|
};
|
|
4821
|
-
},
|
|
4820
|
+
}, Fs = ({
|
|
4822
4821
|
content: e,
|
|
4823
4822
|
data: t
|
|
4824
4823
|
}) => e ? {
|
|
@@ -4828,12 +4827,12 @@ const Os = /* @__PURE__ */ b(Ns, [["render", Ws]]), Us = ({
|
|
|
4828
4827
|
...t
|
|
4829
4828
|
},
|
|
4830
4829
|
meta: e == null ? void 0 : e.meta
|
|
4831
|
-
} : void 0,
|
|
4830
|
+
} : void 0, Ls = Tt, Ms = g({
|
|
4832
4831
|
name: "content-component",
|
|
4833
4832
|
components: {
|
|
4834
|
-
EnableEditor:
|
|
4833
|
+
EnableEditor: Ns,
|
|
4835
4834
|
InlinedScript: bt,
|
|
4836
|
-
ContentStyles:
|
|
4835
|
+
ContentStyles: Us,
|
|
4837
4836
|
Blocks: H,
|
|
4838
4837
|
DynamicDiv: X
|
|
4839
4838
|
},
|
|
@@ -4863,7 +4862,7 @@ const Os = /* @__PURE__ */ b(Ns, [["render", Ws]]), Us = ({
|
|
|
4863
4862
|
data() {
|
|
4864
4863
|
var e, t;
|
|
4865
4864
|
return {
|
|
4866
|
-
scriptStr:
|
|
4865
|
+
scriptStr: vs({
|
|
4867
4866
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4868
4867
|
variationId: (e = this.content) == null ? void 0 : e.testVariationId,
|
|
4869
4868
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
@@ -4876,19 +4875,19 @@ const Os = /* @__PURE__ */ b(Ns, [["render", Ws]]), Us = ({
|
|
|
4876
4875
|
(n, { component: o, ...r }) => ({
|
|
4877
4876
|
...n,
|
|
4878
4877
|
[r.name]: {
|
|
4879
|
-
component:
|
|
4878
|
+
component: Ls(o),
|
|
4880
4879
|
...te(r)
|
|
4881
4880
|
}
|
|
4882
4881
|
}),
|
|
4883
4882
|
{}
|
|
4884
4883
|
),
|
|
4885
4884
|
builderContextSignal: {
|
|
4886
|
-
content:
|
|
4885
|
+
content: Fs({
|
|
4887
4886
|
content: this.content,
|
|
4888
4887
|
data: this.data
|
|
4889
4888
|
}),
|
|
4890
4889
|
localState: void 0,
|
|
4891
|
-
rootState:
|
|
4890
|
+
rootState: Ds({
|
|
4892
4891
|
content: this.content,
|
|
4893
4892
|
data: this.data,
|
|
4894
4893
|
locale: this.locale
|
|
@@ -4948,7 +4947,7 @@ const Os = /* @__PURE__ */ b(Ns, [["render", Ws]]), Us = ({
|
|
|
4948
4947
|
}
|
|
4949
4948
|
}
|
|
4950
4949
|
});
|
|
4951
|
-
function
|
|
4950
|
+
function Hs(e, t, n, o, r, s) {
|
|
4952
4951
|
const i = k("InlinedScript"), l = k("ContentStyles"), a = k("Blocks"), u = k("EnableEditor");
|
|
4953
4952
|
return c(), y(u, C({
|
|
4954
4953
|
apiHost: e.apiHost,
|
|
@@ -4996,12 +4995,12 @@ function Ms(e, t, n, o, r, s) {
|
|
|
4996
4995
|
_: 1
|
|
4997
4996
|
}, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
|
|
4998
4997
|
}
|
|
4999
|
-
const
|
|
4998
|
+
const Ks = /* @__PURE__ */ b(Ms, [["render", Hs]]), js = g({
|
|
5000
4999
|
name: "content-variants",
|
|
5001
5000
|
components: {
|
|
5002
5001
|
InlinedScript: bt,
|
|
5003
5002
|
InlinedStyles: Ce,
|
|
5004
|
-
ContentComponent:
|
|
5003
|
+
ContentComponent: Ks
|
|
5005
5004
|
},
|
|
5006
5005
|
props: [
|
|
5007
5006
|
"canTrack",
|
|
@@ -5026,12 +5025,12 @@ const Hs = /* @__PURE__ */ b(Ls, [["render", Ms]]), js = g({
|
|
|
5026
5025
|
],
|
|
5027
5026
|
data() {
|
|
5028
5027
|
return {
|
|
5029
|
-
shouldRenderVariants:
|
|
5028
|
+
shouldRenderVariants: fs({
|
|
5030
5029
|
canTrack: G(this.canTrack),
|
|
5031
5030
|
content: this.content
|
|
5032
5031
|
}),
|
|
5033
5032
|
TARGET: R,
|
|
5034
|
-
getInitVariantsFnsScriptString:
|
|
5033
|
+
getInitVariantsFnsScriptString: ys,
|
|
5035
5034
|
getVariants: Z
|
|
5036
5035
|
};
|
|
5037
5036
|
},
|
|
@@ -5040,7 +5039,7 @@ const Hs = /* @__PURE__ */ b(Ls, [["render", Ms]]), js = g({
|
|
|
5040
5039
|
computed: {
|
|
5041
5040
|
updateCookieAndStylesScriptStr() {
|
|
5042
5041
|
var e;
|
|
5043
|
-
return
|
|
5042
|
+
return ks(
|
|
5044
5043
|
Z(this.content).map((t) => ({
|
|
5045
5044
|
id: t.testVariationId,
|
|
5046
5045
|
testRatio: t.testRatio
|
|
@@ -5063,7 +5062,7 @@ const Hs = /* @__PURE__ */ b(Ls, [["render", Ms]]), js = g({
|
|
|
5063
5062
|
}
|
|
5064
5063
|
}
|
|
5065
5064
|
});
|
|
5066
|
-
function
|
|
5065
|
+
function zs(e, t, n, o, r, s) {
|
|
5067
5066
|
const i = k("InlinedScript"), l = k("InlinedStyles"), a = k("ContentComponent");
|
|
5068
5067
|
return c(), p($, null, [
|
|
5069
5068
|
!e.isNestedRender && e.TARGET !== "reactNative" ? (c(), y(i, {
|
|
@@ -5135,7 +5134,7 @@ function Ks(e, t, n, o, r, s) {
|
|
|
5135
5134
|
}), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
|
|
5136
5135
|
], 64);
|
|
5137
5136
|
}
|
|
5138
|
-
const
|
|
5137
|
+
const qs = /* @__PURE__ */ b(js, [["render", zs]]), Js = async ({
|
|
5139
5138
|
builderContextValue: e,
|
|
5140
5139
|
symbol: t
|
|
5141
5140
|
}) => {
|
|
@@ -5153,9 +5152,9 @@ const zs = /* @__PURE__ */ b(js, [["render", Ks]]), qs = async ({
|
|
|
5153
5152
|
}).catch((n) => {
|
|
5154
5153
|
P.error("Could not fetch symbol content: ", n);
|
|
5155
5154
|
});
|
|
5156
|
-
},
|
|
5155
|
+
}, Gs = g({
|
|
5157
5156
|
name: "builder-symbol",
|
|
5158
|
-
components: { ContentVariants:
|
|
5157
|
+
components: { ContentVariants: qs, DynamicDiv: X },
|
|
5159
5158
|
props: [
|
|
5160
5159
|
"symbol",
|
|
5161
5160
|
"attributes",
|
|
@@ -5166,8 +5165,12 @@ const zs = /* @__PURE__ */ b(js, [["render", Ks]]), qs = async ({
|
|
|
5166
5165
|
"builderLinkComponent"
|
|
5167
5166
|
],
|
|
5168
5167
|
data() {
|
|
5169
|
-
var e;
|
|
5170
|
-
return {
|
|
5168
|
+
var e, t;
|
|
5169
|
+
return {
|
|
5170
|
+
contentToUse: (e = this.symbol) == null ? void 0 : e.content,
|
|
5171
|
+
symbolEntry: (t = this.symbol) == null ? void 0 : t.entry,
|
|
5172
|
+
filterAttrs: V
|
|
5173
|
+
};
|
|
5171
5174
|
},
|
|
5172
5175
|
mounted() {
|
|
5173
5176
|
this.setContent();
|
|
@@ -5204,16 +5207,18 @@ const zs = /* @__PURE__ */ b(js, [["render", Ks]]), qs = async ({
|
|
|
5204
5207
|
},
|
|
5205
5208
|
methods: {
|
|
5206
5209
|
setContent() {
|
|
5207
|
-
|
|
5210
|
+
var e;
|
|
5211
|
+
this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Js({
|
|
5208
5212
|
symbol: this.symbol,
|
|
5209
5213
|
builderContextValue: this.builderContext
|
|
5210
|
-
}).then((
|
|
5211
|
-
|
|
5214
|
+
}).then((t) => {
|
|
5215
|
+
var n;
|
|
5216
|
+
t && (this.contentToUse = t, this.symbolEntry = (n = this.symbol) == null ? void 0 : n.entry);
|
|
5212
5217
|
});
|
|
5213
5218
|
}
|
|
5214
5219
|
}
|
|
5215
5220
|
});
|
|
5216
|
-
function
|
|
5221
|
+
function Ys(e, t, n, o, r, s) {
|
|
5217
5222
|
var l, a, u, h, m;
|
|
5218
5223
|
const i = k("ContentVariants");
|
|
5219
5224
|
return c(), p("div", C({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
@@ -5241,45 +5246,45 @@ function Gs(e, t, n, o, r, s) {
|
|
|
5241
5246
|
}, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
|
|
5242
5247
|
], 16);
|
|
5243
5248
|
}
|
|
5244
|
-
const
|
|
5249
|
+
const Xs = /* @__PURE__ */ b(Gs, [["render", Ys]]);
|
|
5245
5250
|
export {
|
|
5246
|
-
|
|
5251
|
+
Kn as A,
|
|
5247
5252
|
ft as B,
|
|
5248
|
-
|
|
5249
|
-
|
|
5253
|
+
To as C,
|
|
5254
|
+
jn as D,
|
|
5250
5255
|
ve as E,
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
+
Ro as F,
|
|
5257
|
+
_s as G,
|
|
5258
|
+
ai as H,
|
|
5259
|
+
Wo as I,
|
|
5260
|
+
Do as S,
|
|
5256
5261
|
R as T,
|
|
5257
|
-
|
|
5262
|
+
us as V,
|
|
5258
5263
|
Ce as _,
|
|
5259
|
-
|
|
5260
|
-
|
|
5264
|
+
si as a,
|
|
5265
|
+
li as b,
|
|
5261
5266
|
D as c,
|
|
5262
5267
|
Se as d,
|
|
5263
5268
|
b as e,
|
|
5264
5269
|
Y as f,
|
|
5265
|
-
|
|
5266
|
-
|
|
5270
|
+
vo as g,
|
|
5271
|
+
ii as h,
|
|
5267
5272
|
_ as i,
|
|
5268
5273
|
de as j,
|
|
5269
5274
|
At as k,
|
|
5270
|
-
|
|
5271
|
-
|
|
5275
|
+
Xs as l,
|
|
5276
|
+
pr as m,
|
|
5272
5277
|
H as n,
|
|
5273
|
-
|
|
5278
|
+
qs as o,
|
|
5274
5279
|
E as p,
|
|
5275
5280
|
qe as q,
|
|
5276
5281
|
on as r,
|
|
5277
|
-
|
|
5282
|
+
oi as s,
|
|
5278
5283
|
sn as t,
|
|
5279
|
-
|
|
5284
|
+
ei as u,
|
|
5280
5285
|
Je as v,
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5286
|
+
Ls as w,
|
|
5287
|
+
ti as x,
|
|
5288
|
+
ni as y,
|
|
5289
|
+
ri as z
|
|
5285
5290
|
};
|