@builder.io/sdk-vue 5.2.8 → 5.2.10
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-IcX6V8eX.cjs → awaiter-LIAqEcfX.cjs} +1 -1
- package/lib/browser/{awaiter-AIFoAawv.js → awaiter-NXhCBvJj.js} +1 -1
- package/lib/browser/{block-wrapper-68Tnvio6.cjs → block-wrapper-Gx5cmGCs.cjs} +1 -1
- package/lib/browser/{block-wrapper-SH9u53Qi.js → block-wrapper-sJgW-hxB.js} +3 -3
- package/lib/browser/{component-ref-z7zEURre.js → component-ref-3CB2cdJW.js} +4 -4
- package/lib/browser/{component-ref-wUqIIxip.cjs → component-ref-glX9-8fW.cjs} +1 -1
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-VWupAgli.js → get-block-properties-Ejar3KRa.js} +1 -1
- package/lib/browser/{get-block-properties--VAsIT45.cjs → get-block-properties-hkrxv2Yw.cjs} +1 -1
- package/lib/browser/{index-HB3L44gg.cjs → index-SRaav2aL.cjs} +28 -28
- package/lib/browser/{index-ZzazYt1D.js → index-bjZ2qhB0.js} +307 -307
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{live-edit-W9Gq09aM.js → live-edit-BGWSQRf6.js} +1 -1
- package/lib/browser/{live-edit-okfbtsmt.cjs → live-edit-Sfr-FIGs.cjs} +1 -1
- package/lib/browser/{repeated-block-miKz075X.js → repeated-block-ECd9zh7f.js} +2 -2
- package/lib/browser/{repeated-block-Vvbmdkrr.cjs → repeated-block-y2NflOf1.cjs} +1 -1
- package/lib/browser/{style-wrapper-mXbOjSAK.js → style-wrapper-9OtEbIRY.js} +1 -1
- package/lib/browser/{style-wrapper-TelEmeJj.cjs → style-wrapper-PR2ys7tw.cjs} +1 -1
- package/lib/browser/types/input.d.ts +3 -1
- package/lib/edge/{awaiter-3Flii8RX.cjs → awaiter-NONmvwQ6.cjs} +1 -1
- package/lib/edge/{awaiter-BtSV36rJ.js → awaiter-Rk0bT_z6.js} +1 -1
- package/lib/{node/block-wrapper-3r7iSmTG.js → edge/block-wrapper-bLEVePe1.js} +3 -3
- package/lib/edge/{block-wrapper-6JLvicun.cjs → block-wrapper-uQolhWhZ.cjs} +1 -1
- package/lib/edge/{component-ref-oJlqUh6D.cjs → component-ref-hvv1-QnL.cjs} +1 -1
- package/lib/edge/{component-ref-_d3aMVIo.js → component-ref-wRsXuO0w.js} +4 -4
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-946IiwFx.cjs → get-block-properties-Z_smIxVv.cjs} +1 -1
- package/lib/edge/{get-block-properties-cQDI_BKB.js → get-block-properties-kcXTpefp.js} +1 -1
- package/lib/edge/{index-tTjbaV1E.cjs → index-TqjgraOe.cjs} +28 -28
- package/lib/edge/{index-FKklHaiR.js → index-jT889Kr4.js} +307 -307
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/{node/live-edit-KA1ZvW6e.js → edge/live-edit-UREQGwDx.js} +1 -1
- package/lib/{node/live-edit-KGg67Sew.cjs → edge/live-edit-euz6qyjO.cjs} +1 -1
- package/lib/edge/{repeated-block-rGjK3kOA.js → repeated-block-XfL9MY4H.js} +2 -2
- package/lib/edge/{repeated-block-2ITNoSMz.cjs → repeated-block-ocRd-7Ri.cjs} +1 -1
- package/lib/edge/{style-wrapper-dhCPdw3s.cjs → style-wrapper-TUi2oGU5.cjs} +1 -1
- package/lib/edge/{style-wrapper-neegPC9j.js → style-wrapper-cgk8YrFm.js} +1 -1
- package/lib/edge/types/input.d.ts +3 -1
- package/lib/node/{awaiter-ptj2u-P4.cjs → awaiter-d876EVrj.cjs} +1 -1
- package/lib/node/{awaiter-5Z5oW4nt.js → awaiter-ooRB0LL_.js} +1 -1
- package/lib/node/{block-wrapper-3PKoCuH7.cjs → block-wrapper-ZBxys5Pi.cjs} +1 -1
- package/lib/{edge/block-wrapper-MXsaone2.js → node/block-wrapper-heMQ0bQW.js} +3 -3
- package/lib/node/{component-ref-7FU5lmjl.cjs → component-ref-HjW6Dn5U.cjs} +1 -1
- package/lib/node/{component-ref-UtUjsJae.js → component-ref-w7KWdZU9.js} +5 -5
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-3KrtkVx5.cjs → get-block-properties-G6DNp62v.cjs} +1 -1
- package/lib/node/{get-block-properties-KEH5v2BZ.js → get-block-properties-kLYkiFmS.js} +2 -2
- package/lib/node/{index-XRITvRUD.cjs → index-a8iqYi5t.cjs} +28 -28
- package/lib/node/{index-xwmaSdoU.js → index-quPzSfMY.js} +305 -305
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +1 -1
- package/lib/{edge/live-edit-shexMozc.js → node/live-edit-7Qru52il.js} +1 -1
- package/lib/{edge/live-edit-_fVhuHoc.cjs → node/live-edit-T7SWvgRt.cjs} +1 -1
- package/lib/node/{repeated-block-mOBGyRDu.js → repeated-block-h_P0vHI5.js} +2 -2
- package/lib/node/{repeated-block-F-pcaEbY.cjs → repeated-block-iHvrQwik.cjs} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-ImKl0uKN.js → should-force-browser-runtime-in-node-cuIgr-IV.js} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-5vSQhugh.cjs → should-force-browser-runtime-in-node-ovD5c_br.cjs} +1 -1
- package/lib/node/{style-wrapper-5E4UTieA.js → style-wrapper-MI0wKmtS.js} +2 -2
- package/lib/node/{style-wrapper-9TGI6Epy.cjs → style-wrapper-arJdhPdR.cjs} +1 -1
- package/lib/node/types/input.d.ts +3 -1
- package/package.json +1 -1
|
@@ -37,7 +37,7 @@ function ri(e, t, n, r, o, i) {
|
|
|
37
37
|
}, 16))
|
|
38
38
|
], 64));
|
|
39
39
|
}
|
|
40
|
-
const xn = /* @__PURE__ */ j(ni, [["render", ri]]),
|
|
40
|
+
const xn = /* @__PURE__ */ j(ni, [["render", ri]]), rc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
41
41
|
__proto__: null,
|
|
42
42
|
default: xn
|
|
43
43
|
}, Symbol.toStringTag, { value: "Module" })), G = "vue", Oe = () => {
|
|
@@ -173,7 +173,7 @@ const pi = () => {
|
|
|
173
173
|
host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
|
|
174
174
|
device: n ? "tablet" : t.any() ? "mobile" : "desktop"
|
|
175
175
|
};
|
|
176
|
-
}, to = "5.2.
|
|
176
|
+
}, to = "5.2.10", no = () => ({
|
|
177
177
|
"X-Builder-SDK": G,
|
|
178
178
|
"X-Builder-SDK-GEN": "2",
|
|
179
179
|
"X-Builder-SDK-Version": to
|
|
@@ -368,7 +368,7 @@ async function jt({
|
|
|
368
368
|
console.error("Failed to track: ", o);
|
|
369
369
|
});
|
|
370
370
|
}
|
|
371
|
-
const
|
|
371
|
+
const oc = (e) => jt({
|
|
372
372
|
...e,
|
|
373
373
|
canTrack: !0
|
|
374
374
|
}), lo = ({
|
|
@@ -3154,7 +3154,7 @@ function Dt(e) {
|
|
|
3154
3154
|
return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? fs(n) : n));
|
|
3155
3155
|
}
|
|
3156
3156
|
const Dr = {};
|
|
3157
|
-
function
|
|
3157
|
+
function ic(e, t) {
|
|
3158
3158
|
e === "plugin" && (t = Dt(t));
|
|
3159
3159
|
let n = Dr[e];
|
|
3160
3160
|
if (n || (n = Dr[e] = []), n.push(t), M()) {
|
|
@@ -3172,7 +3172,7 @@ function oc(e, t) {
|
|
|
3172
3172
|
}
|
|
3173
3173
|
}
|
|
3174
3174
|
}
|
|
3175
|
-
function
|
|
3175
|
+
function sc(e) {
|
|
3176
3176
|
var t;
|
|
3177
3177
|
if (M()) {
|
|
3178
3178
|
const n = JSON.parse(JSON.stringify(e));
|
|
@@ -3183,7 +3183,7 @@ function ic(e) {
|
|
|
3183
3183
|
}
|
|
3184
3184
|
}
|
|
3185
3185
|
const Ur = {};
|
|
3186
|
-
function
|
|
3186
|
+
function ac(e) {
|
|
3187
3187
|
if (M()) {
|
|
3188
3188
|
Object.assign(Ur, e);
|
|
3189
3189
|
const t = {
|
|
@@ -3315,7 +3315,7 @@ const bo = (e) => {
|
|
|
3315
3315
|
break;
|
|
3316
3316
|
}
|
|
3317
3317
|
}
|
|
3318
|
-
},
|
|
3318
|
+
}, lc = ({
|
|
3319
3319
|
model: e,
|
|
3320
3320
|
apiKey: t,
|
|
3321
3321
|
callback: n,
|
|
@@ -3477,7 +3477,7 @@ function Mr() {
|
|
|
3477
3477
|
}
|
|
3478
3478
|
let wn;
|
|
3479
3479
|
M() && G === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Mr()), wn = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : wn = Mr();
|
|
3480
|
-
const Ut = wn,
|
|
3480
|
+
const Ut = wn, uc = (e) => {
|
|
3481
3481
|
Ut.setUserAttributes(e);
|
|
3482
3482
|
}, Xe = (e) => {
|
|
3483
3483
|
const t = Ne(e) ? e : !0;
|
|
@@ -3564,7 +3564,7 @@ const As = "v3", Hr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, _n = (
|
|
|
3564
3564
|
};
|
|
3565
3565
|
ie = {
|
|
3566
3566
|
...ie,
|
|
3567
|
-
...
|
|
3567
|
+
...Ps(Ae)
|
|
3568
3568
|
};
|
|
3569
3569
|
const K = Tn(Ae);
|
|
3570
3570
|
for (const _ in K)
|
|
@@ -3577,21 +3577,21 @@ const As = "v3", Hr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, _n = (
|
|
|
3577
3577
|
D.searchParams.set(R, JSON.stringify(_[R]));
|
|
3578
3578
|
}
|
|
3579
3579
|
return D;
|
|
3580
|
-
}, $s = (e) => {
|
|
3580
|
+
}, $s = (e) => e === "true" ? !0 : e === "false" ? !1 : e, xs = (e) => {
|
|
3581
3581
|
const t = {};
|
|
3582
3582
|
for (const n in e)
|
|
3583
|
-
n.startsWith("userAttributes.") && (t[n] = e[n], delete e[n]);
|
|
3583
|
+
n.startsWith("userAttributes.") && (t[n] = $s(e[n]), delete e[n]);
|
|
3584
3584
|
return t;
|
|
3585
|
-
},
|
|
3585
|
+
}, Ps = (e) => {
|
|
3586
3586
|
if (M() && e.preview === "BUILDER_STUDIO") {
|
|
3587
3587
|
e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
|
|
3588
|
-
const t =
|
|
3588
|
+
const t = xs(e), {
|
|
3589
3589
|
userAttributes: n
|
|
3590
3590
|
} = Rs(t);
|
|
3591
3591
|
return n;
|
|
3592
3592
|
}
|
|
3593
3593
|
return {};
|
|
3594
|
-
},
|
|
3594
|
+
}, Os = (e) => "results" in e;
|
|
3595
3595
|
async function Jn(e) {
|
|
3596
3596
|
var r;
|
|
3597
3597
|
const t = e.locale || ((r = e.userAttributes) == null ? void 0 : r.locale);
|
|
@@ -3599,13 +3599,13 @@ async function Jn(e) {
|
|
|
3599
3599
|
locale: t,
|
|
3600
3600
|
...e.userAttributes
|
|
3601
3601
|
});
|
|
3602
|
-
const n = await
|
|
3602
|
+
const n = await js({
|
|
3603
3603
|
...e,
|
|
3604
3604
|
limit: 1
|
|
3605
3605
|
});
|
|
3606
3606
|
return n && n[0] || null;
|
|
3607
3607
|
}
|
|
3608
|
-
const
|
|
3608
|
+
const Ns = async (e) => {
|
|
3609
3609
|
var s;
|
|
3610
3610
|
const t = _n(e), n = e.fetch ?? Is, r = {
|
|
3611
3611
|
...e.fetchOptions,
|
|
@@ -3615,7 +3615,7 @@ const Os = async (e) => {
|
|
|
3615
3615
|
}
|
|
3616
3616
|
};
|
|
3617
3617
|
return await (await n(t.href, r)).json();
|
|
3618
|
-
},
|
|
3618
|
+
}, Bs = async (e, t, n = _n(e)) => {
|
|
3619
3619
|
const r = Xe(e.canTrack);
|
|
3620
3620
|
if (n.search.includes("preview="), !r || !(M() || G === "reactNative"))
|
|
3621
3621
|
return t.results;
|
|
@@ -3632,17 +3632,17 @@ const Os = async (e) => {
|
|
|
3632
3632
|
}
|
|
3633
3633
|
return t.results;
|
|
3634
3634
|
};
|
|
3635
|
-
async function
|
|
3636
|
-
const t = _n(e), n = await
|
|
3637
|
-
if (!
|
|
3635
|
+
async function js(e) {
|
|
3636
|
+
const t = _n(e), n = await Ns(e);
|
|
3637
|
+
if (!Os(n))
|
|
3638
3638
|
throw ue.error("Error fetching data. ", {
|
|
3639
3639
|
url: t,
|
|
3640
3640
|
content: n,
|
|
3641
3641
|
options: e
|
|
3642
3642
|
}), n;
|
|
3643
|
-
return
|
|
3643
|
+
return Bs(e, n);
|
|
3644
3644
|
}
|
|
3645
|
-
const
|
|
3645
|
+
const cc = async (e) => {
|
|
3646
3646
|
var r, o, i;
|
|
3647
3647
|
const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
|
|
3648
3648
|
...e,
|
|
@@ -3662,7 +3662,7 @@ const uc = async (e) => {
|
|
|
3662
3662
|
content: await Jn(n)
|
|
3663
3663
|
};
|
|
3664
3664
|
}, Xn = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
3665
|
-
function
|
|
3665
|
+
function Vs(e, t, n = {}) {
|
|
3666
3666
|
let r, o, i, s = null, u = 0;
|
|
3667
3667
|
const c = function() {
|
|
3668
3668
|
u = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(r, o), s || (r = o = null);
|
|
@@ -3684,14 +3684,14 @@ function mt(e, ...t) {
|
|
|
3684
3684
|
}
|
|
3685
3685
|
return n;
|
|
3686
3686
|
}
|
|
3687
|
-
function
|
|
3687
|
+
function Ds(e) {
|
|
3688
3688
|
for (const t of e)
|
|
3689
3689
|
switch (t.trigger) {
|
|
3690
3690
|
case "pageLoad":
|
|
3691
3691
|
Ro(t);
|
|
3692
3692
|
break;
|
|
3693
3693
|
case "scrollInView":
|
|
3694
|
-
|
|
3694
|
+
Ws(t);
|
|
3695
3695
|
break;
|
|
3696
3696
|
}
|
|
3697
3697
|
}
|
|
@@ -3699,12 +3699,12 @@ function Eo(e) {
|
|
|
3699
3699
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
3700
3700
|
}
|
|
3701
3701
|
function Io(e, t) {
|
|
3702
|
-
const n =
|
|
3702
|
+
const n = Us(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [o, i];
|
|
3703
3703
|
for (const u of s)
|
|
3704
3704
|
for (const c of n)
|
|
3705
3705
|
c in u || (u[c] = r[c]);
|
|
3706
3706
|
}
|
|
3707
|
-
function
|
|
3707
|
+
function Us(e) {
|
|
3708
3708
|
const t = [];
|
|
3709
3709
|
for (const n of e.steps)
|
|
3710
3710
|
for (const r in n.styles)
|
|
@@ -3725,7 +3725,7 @@ function Ro(e) {
|
|
|
3725
3725
|
});
|
|
3726
3726
|
});
|
|
3727
3727
|
}
|
|
3728
|
-
function
|
|
3728
|
+
function Ws(e) {
|
|
3729
3729
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
3730
3730
|
if (!t.length) {
|
|
3731
3731
|
Eo(e.elementId || e.id || "");
|
|
@@ -3741,7 +3741,7 @@ function Us(e) {
|
|
|
3741
3741
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
3742
3742
|
})) : e.repeat && r && !o && !u(n) && (r = !1, mt(n.style, e.steps[0].styles));
|
|
3743
3743
|
}
|
|
3744
|
-
const s =
|
|
3744
|
+
const s = Vs(i, 200, {
|
|
3745
3745
|
leading: !1
|
|
3746
3746
|
});
|
|
3747
3747
|
function u(y) {
|
|
@@ -3763,28 +3763,28 @@ function Us(e) {
|
|
|
3763
3763
|
const Ao = (e) => Object.entries(e).map(([n, r]) => {
|
|
3764
3764
|
if (typeof r == "string")
|
|
3765
3765
|
return `${Xn(n)}: ${r};`;
|
|
3766
|
-
}).filter(Ne),
|
|
3767
|
-
`),
|
|
3766
|
+
}).filter(Ne), Ls = (e) => Ao(e).join(`
|
|
3767
|
+
`), pc = ({
|
|
3768
3768
|
mediaQuery: e,
|
|
3769
3769
|
className: t,
|
|
3770
3770
|
styles: n
|
|
3771
3771
|
}) => {
|
|
3772
3772
|
const r = `.${t} {
|
|
3773
|
-
${
|
|
3773
|
+
${Ls(n)}
|
|
3774
3774
|
}`;
|
|
3775
3775
|
return e ? `${e} {
|
|
3776
3776
|
${r}
|
|
3777
3777
|
}` : r;
|
|
3778
3778
|
};
|
|
3779
|
-
function
|
|
3779
|
+
function Fs({
|
|
3780
3780
|
style: e
|
|
3781
3781
|
}) {
|
|
3782
3782
|
return e;
|
|
3783
3783
|
}
|
|
3784
|
-
const
|
|
3784
|
+
const dc = ({
|
|
3785
3785
|
block: e,
|
|
3786
3786
|
context: t
|
|
3787
|
-
}) => $o(
|
|
3787
|
+
}) => $o(Fs({
|
|
3788
3788
|
style: e.style || {},
|
|
3789
3789
|
context: t,
|
|
3790
3790
|
block: e
|
|
@@ -3803,7 +3803,7 @@ function $o(e) {
|
|
|
3803
3803
|
return e;
|
|
3804
3804
|
}
|
|
3805
3805
|
}
|
|
3806
|
-
const xo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0,
|
|
3806
|
+
const xo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Ms = ({
|
|
3807
3807
|
block: e,
|
|
3808
3808
|
registeredComponents: t,
|
|
3809
3809
|
model: n
|
|
@@ -3820,7 +3820,7 @@ const xo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3820
3820
|
return;
|
|
3821
3821
|
} else
|
|
3822
3822
|
return o;
|
|
3823
|
-
},
|
|
3823
|
+
}, Hs = ({
|
|
3824
3824
|
block: e,
|
|
3825
3825
|
context: t
|
|
3826
3826
|
}) => {
|
|
@@ -3853,59 +3853,59 @@ const xo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3853
3853
|
},
|
|
3854
3854
|
block: r
|
|
3855
3855
|
}));
|
|
3856
|
-
},
|
|
3856
|
+
}, Ks = (e, t) => {
|
|
3857
3857
|
var n;
|
|
3858
3858
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
|
|
3859
3859
|
builderLinkComponent: t
|
|
3860
3860
|
} : {};
|
|
3861
|
-
},
|
|
3861
|
+
}, zs = (e, t, n) => {
|
|
3862
3862
|
var r;
|
|
3863
3863
|
return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderComponents ? {
|
|
3864
3864
|
builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !xo(s, n)))
|
|
3865
3865
|
} : {};
|
|
3866
|
-
},
|
|
3866
|
+
}, qs = (e, t) => {
|
|
3867
3867
|
var n;
|
|
3868
3868
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
|
|
3869
3869
|
builderBlock: t
|
|
3870
3870
|
} : {};
|
|
3871
|
-
},
|
|
3871
|
+
}, Gs = (e, t) => {
|
|
3872
3872
|
var n;
|
|
3873
3873
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
|
|
3874
3874
|
builderContext: t
|
|
3875
3875
|
} : {};
|
|
3876
|
-
},
|
|
3876
|
+
}, _s = (e) => e.toString(), Js = () => Promise.resolve().then(() => ua).then((e) => e.default).catch((e) => {
|
|
3877
3877
|
throw console.error(
|
|
3878
3878
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
3879
3879
|
e
|
|
3880
3880
|
), e;
|
|
3881
|
-
}),
|
|
3881
|
+
}), Xs = () => import("./block-wrapper-bLEVePe1.js").then((e) => e.default).catch((e) => {
|
|
3882
3882
|
throw console.error(
|
|
3883
3883
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
3884
3884
|
e
|
|
3885
3885
|
), e;
|
|
3886
|
-
}),
|
|
3886
|
+
}), Ys = () => import("./component-ref-wRsXuO0w.js").then((e) => e.default).catch((e) => {
|
|
3887
3887
|
throw console.error(
|
|
3888
3888
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
3889
3889
|
e
|
|
3890
3890
|
), e;
|
|
3891
|
-
}),
|
|
3891
|
+
}), Qs = () => import("./repeated-block-XfL9MY4H.js").then((e) => e.default).catch((e) => {
|
|
3892
3892
|
throw console.error(
|
|
3893
3893
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
3894
3894
|
e
|
|
3895
3895
|
), e;
|
|
3896
|
-
}),
|
|
3896
|
+
}), Zs = () => import("./style-wrapper-cgk8YrFm.js").then((e) => e.default).catch((e) => {
|
|
3897
3897
|
throw console.error(
|
|
3898
3898
|
"Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
|
|
3899
3899
|
e
|
|
3900
3900
|
), e;
|
|
3901
|
-
}),
|
|
3901
|
+
}), ea = B({
|
|
3902
3902
|
name: "block",
|
|
3903
3903
|
components: {
|
|
3904
|
-
StyleWrapper: st(
|
|
3905
|
-
RepeatedBlock: st(
|
|
3906
|
-
ComponentRef: st(
|
|
3907
|
-
BlockWrapper: st(
|
|
3908
|
-
DynamicDiv: st(
|
|
3904
|
+
StyleWrapper: st(Zs),
|
|
3905
|
+
RepeatedBlock: st(Qs),
|
|
3906
|
+
ComponentRef: st(Ys),
|
|
3907
|
+
BlockWrapper: st(Xs),
|
|
3908
|
+
DynamicDiv: st(Js)
|
|
3909
3909
|
},
|
|
3910
3910
|
props: ["block", "context", "registeredComponents", "linkComponent"],
|
|
3911
3911
|
data() {
|
|
@@ -3914,12 +3914,12 @@ const xo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3914
3914
|
value: null,
|
|
3915
3915
|
update: !1
|
|
3916
3916
|
},
|
|
3917
|
-
generateKey:
|
|
3917
|
+
generateKey: _s
|
|
3918
3918
|
};
|
|
3919
3919
|
},
|
|
3920
3920
|
mounted() {
|
|
3921
3921
|
const e = this.processedBlock.id, t = this.processedBlock.animations;
|
|
3922
|
-
t && e &&
|
|
3922
|
+
t && e && Ds(
|
|
3923
3923
|
t.map((n) => ({
|
|
3924
3924
|
...n,
|
|
3925
3925
|
elementId: e
|
|
@@ -3930,7 +3930,7 @@ const xo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3930
3930
|
},
|
|
3931
3931
|
computed: {
|
|
3932
3932
|
repeatItem() {
|
|
3933
|
-
return
|
|
3933
|
+
return Hs({
|
|
3934
3934
|
block: this.block,
|
|
3935
3935
|
context: this.context
|
|
3936
3936
|
});
|
|
@@ -3946,7 +3946,7 @@ const xo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3946
3946
|
});
|
|
3947
3947
|
},
|
|
3948
3948
|
blockComponent() {
|
|
3949
|
-
return
|
|
3949
|
+
return Ms({
|
|
3950
3950
|
block: this.processedBlock,
|
|
3951
3951
|
registeredComponents: this.registeredComponents,
|
|
3952
3952
|
model: this.context.model
|
|
@@ -3974,10 +3974,10 @@ const xo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3974
3974
|
componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
|
|
3975
3975
|
componentOptions: {
|
|
3976
3976
|
...ns(this.processedBlock, this.context),
|
|
3977
|
-
...
|
|
3978
|
-
...
|
|
3979
|
-
...
|
|
3980
|
-
...
|
|
3977
|
+
...qs(this.blockComponent, this.processedBlock),
|
|
3978
|
+
...Gs(this.blockComponent, this.context),
|
|
3979
|
+
...Ks(this.blockComponent, this.linkComponent),
|
|
3980
|
+
...zs(
|
|
3981
3981
|
this.blockComponent,
|
|
3982
3982
|
this.registeredComponents,
|
|
3983
3983
|
this.context.model
|
|
@@ -3993,7 +3993,7 @@ const xo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3993
3993
|
}
|
|
3994
3994
|
}
|
|
3995
3995
|
});
|
|
3996
|
-
function
|
|
3996
|
+
function ta(e, t, n, r, o, i) {
|
|
3997
3997
|
var b;
|
|
3998
3998
|
const s = W("StyleWrapper"), u = W("ComponentRef"), c = W("Block", !0), m = W("BlockWrapper"), y = W("RepeatedBlock");
|
|
3999
3999
|
return e.canShowBlock ? (v(), w(z, { key: 0 }, [
|
|
@@ -4059,10 +4059,10 @@ function ea(e, t, n, r, o, i) {
|
|
|
4059
4059
|
], 64))
|
|
4060
4060
|
], 64)) : F("", !0);
|
|
4061
4061
|
}
|
|
4062
|
-
const Po = /* @__PURE__ */ j(
|
|
4062
|
+
const Po = /* @__PURE__ */ j(ea, [["render", ta]]), fc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4063
4063
|
__proto__: null,
|
|
4064
4064
|
default: Po
|
|
4065
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4065
|
+
}, Symbol.toStringTag, { value: "Module" })), na = B({
|
|
4066
4066
|
name: "builder-blocks-wrapper",
|
|
4067
4067
|
props: [
|
|
4068
4068
|
"blocks",
|
|
@@ -4132,7 +4132,7 @@ const Po = /* @__PURE__ */ j(Zs, [["render", ea]]), dc = /* @__PURE__ */ Object.
|
|
|
4132
4132
|
}
|
|
4133
4133
|
}
|
|
4134
4134
|
});
|
|
4135
|
-
function
|
|
4135
|
+
function ra(e, t, n, r, o, i) {
|
|
4136
4136
|
return v(), U(dt(e.BlocksWrapper), q({
|
|
4137
4137
|
ref: "blocksWrapperRef",
|
|
4138
4138
|
class: e.className + " component-5vz8uirn7sc",
|
|
@@ -4149,9 +4149,9 @@ function na(e, t, n, r, o, i) {
|
|
|
4149
4149
|
_: 3
|
|
4150
4150
|
}, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
|
|
4151
4151
|
}
|
|
4152
|
-
const
|
|
4152
|
+
const oa = /* @__PURE__ */ j(na, [["render", ra], ["__scopeId", "data-v-82fc93d6"]]), ia = B({
|
|
4153
4153
|
name: "builder-blocks",
|
|
4154
|
-
components: { BlocksWrapper:
|
|
4154
|
+
components: { BlocksWrapper: oa, Block: Po },
|
|
4155
4155
|
props: [
|
|
4156
4156
|
"blocks",
|
|
4157
4157
|
"parent",
|
|
@@ -4168,7 +4168,7 @@ const ra = /* @__PURE__ */ j(ta, [["render", na], ["__scopeId", "data-v-82fc93d6
|
|
|
4168
4168
|
componentsContext: Xr.key
|
|
4169
4169
|
}
|
|
4170
4170
|
});
|
|
4171
|
-
function
|
|
4171
|
+
function sa(e, t, n, r, o, i) {
|
|
4172
4172
|
var c, m, y, b;
|
|
4173
4173
|
const s = W("Block"), u = W("BlocksWrapper");
|
|
4174
4174
|
return v(), U(u, {
|
|
@@ -4196,16 +4196,16 @@ function ia(e, t, n, r, o, i) {
|
|
|
4196
4196
|
_: 3
|
|
4197
4197
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
|
|
4198
4198
|
}
|
|
4199
|
-
const Ue = /* @__PURE__ */ j(
|
|
4199
|
+
const Ue = /* @__PURE__ */ j(ia, [["render", sa]]), aa = B({
|
|
4200
4200
|
name: "dynamic-div",
|
|
4201
4201
|
props: []
|
|
4202
4202
|
});
|
|
4203
|
-
function
|
|
4203
|
+
function la(e, t, n, r, o, i) {
|
|
4204
4204
|
return v(), w("div", null, [
|
|
4205
4205
|
pe(e.$slots, "default")
|
|
4206
4206
|
]);
|
|
4207
4207
|
}
|
|
4208
|
-
const Ct = /* @__PURE__ */ j(
|
|
4208
|
+
const Ct = /* @__PURE__ */ j(aa, [["render", la]]), ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4209
4209
|
__proto__: null,
|
|
4210
4210
|
default: Ct
|
|
4211
4211
|
}, Symbol.toStringTag, { value: "Module" })), Ht = B({
|
|
@@ -4239,7 +4239,7 @@ const Ct = /* @__PURE__ */ j(sa, [["render", aa]]), la = /* @__PURE__ */ Object.
|
|
|
4239
4239
|
default: 991,
|
|
4240
4240
|
max: 1200
|
|
4241
4241
|
}
|
|
4242
|
-
},
|
|
4242
|
+
}, hc = (e, t = Oo) => `@media (max-width: ${t[e].max}px)`, ca = (e) => {
|
|
4243
4243
|
const t = zn(Oo);
|
|
4244
4244
|
if (!e)
|
|
4245
4245
|
return t;
|
|
@@ -4277,7 +4277,7 @@ const Ct = /* @__PURE__ */ j(sa, [["render", aa]]), la = /* @__PURE__ */ Object.
|
|
|
4277
4277
|
min: u,
|
|
4278
4278
|
default: u + 1
|
|
4279
4279
|
}, t;
|
|
4280
|
-
},
|
|
4280
|
+
}, pa = (e) => `builder-columns ${e}-breakpoints`, da = B({
|
|
4281
4281
|
name: "builder-columns",
|
|
4282
4282
|
components: {
|
|
4283
4283
|
InlinedStyles: Ht,
|
|
@@ -4296,7 +4296,7 @@ const Ct = /* @__PURE__ */ j(sa, [["render", aa]]), la = /* @__PURE__ */ Object.
|
|
|
4296
4296
|
"builderComponents"
|
|
4297
4297
|
],
|
|
4298
4298
|
data() {
|
|
4299
|
-
return { TARGET: G, getColumnsClass:
|
|
4299
|
+
return { TARGET: G, getColumnsClass: pa };
|
|
4300
4300
|
},
|
|
4301
4301
|
computed: {
|
|
4302
4302
|
gutterSize() {
|
|
@@ -4375,7 +4375,7 @@ const Ct = /* @__PURE__ */ j(sa, [["render", aa]]), la = /* @__PURE__ */ Object.
|
|
|
4375
4375
|
},
|
|
4376
4376
|
getWidthForBreakpointSize(e) {
|
|
4377
4377
|
var n, r;
|
|
4378
|
-
return
|
|
4378
|
+
return ca(
|
|
4379
4379
|
((r = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : r.breakpoints) || {}
|
|
4380
4380
|
)[e].max;
|
|
4381
4381
|
},
|
|
@@ -4418,7 +4418,7 @@ const Ct = /* @__PURE__ */ j(sa, [["render", aa]]), la = /* @__PURE__ */ Object.
|
|
|
4418
4418
|
}
|
|
4419
4419
|
}
|
|
4420
4420
|
});
|
|
4421
|
-
function
|
|
4421
|
+
function fa(e, t, n, r, o, i) {
|
|
4422
4422
|
var m;
|
|
4423
4423
|
const s = W("InlinedStyles"), u = W("Blocks"), c = W("DynamicRenderer");
|
|
4424
4424
|
return v(), w("div", q({
|
|
@@ -4454,24 +4454,24 @@ function da(e, t, n, r, o, i) {
|
|
|
4454
4454
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
4455
4455
|
], 16);
|
|
4456
4456
|
}
|
|
4457
|
-
const
|
|
4457
|
+
const ha = /* @__PURE__ */ j(da, [["render", fa], ["__scopeId", "data-v-ab15749a"]]), ma = B({
|
|
4458
4458
|
name: "builder-fragment-component",
|
|
4459
4459
|
props: []
|
|
4460
4460
|
});
|
|
4461
|
-
function
|
|
4461
|
+
function ga(e, t, n, r, o, i) {
|
|
4462
4462
|
return v(), w("span", null, [
|
|
4463
4463
|
pe(e.$slots, "default")
|
|
4464
4464
|
]);
|
|
4465
4465
|
}
|
|
4466
|
-
const
|
|
4466
|
+
const ya = /* @__PURE__ */ j(ma, [["render", ga]]);
|
|
4467
4467
|
function Kr(e) {
|
|
4468
4468
|
return e.replace(/http(s)?:/, "");
|
|
4469
4469
|
}
|
|
4470
|
-
function
|
|
4470
|
+
function va(e = "", t, n) {
|
|
4471
4471
|
const r = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
|
|
4472
4472
|
return e.match(r) ? e.replace(r, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
|
|
4473
4473
|
}
|
|
4474
|
-
function
|
|
4474
|
+
function ba(e, t) {
|
|
4475
4475
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
4476
4476
|
return e;
|
|
4477
4477
|
if (t === "master")
|
|
@@ -4490,11 +4490,11 @@ function Ot(e) {
|
|
|
4490
4490
|
if (e.match(/builder\.io/)) {
|
|
4491
4491
|
let n = e;
|
|
4492
4492
|
const r = Number(e.split("?width=")[1]);
|
|
4493
|
-
return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${
|
|
4493
|
+
return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${va(e, "width", o)} ${o}w`).concat([n]).join(", ");
|
|
4494
4494
|
}
|
|
4495
|
-
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [
|
|
4495
|
+
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [ba(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
|
|
4496
4496
|
}
|
|
4497
|
-
const
|
|
4497
|
+
const Sa = B({
|
|
4498
4498
|
name: "builder-image",
|
|
4499
4499
|
props: [
|
|
4500
4500
|
"lazy",
|
|
@@ -4548,11 +4548,11 @@ const ba = B({
|
|
|
4548
4548
|
return this.aspectRatio ? e : void 0;
|
|
4549
4549
|
}
|
|
4550
4550
|
}
|
|
4551
|
-
}),
|
|
4551
|
+
}), ka = ["srcset", "sizes"], Ca = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], wa = {
|
|
4552
4552
|
key: 2,
|
|
4553
4553
|
class: "div-t43jfuqn6g-2"
|
|
4554
4554
|
};
|
|
4555
|
-
function
|
|
4555
|
+
function Ta(e, t, n, r, o, i) {
|
|
4556
4556
|
var s, u, c, m, y, b;
|
|
4557
4557
|
return v(), w(z, null, [
|
|
4558
4558
|
Ge("picture", null, [
|
|
@@ -4561,7 +4561,7 @@ function wa(e, t, n, r, o, i) {
|
|
|
4561
4561
|
type: "image/webp",
|
|
4562
4562
|
srcset: e.webpSrcSet,
|
|
4563
4563
|
sizes: e.sizesToUse
|
|
4564
|
-
}, null, 8,
|
|
4564
|
+
}, null, 8, ka)) : F("", !0),
|
|
4565
4565
|
Ge("img", {
|
|
4566
4566
|
loading: e.highPriority ? "eager" : "lazy",
|
|
4567
4567
|
fetchpriority: e.highPriority ? "high" : "auto",
|
|
@@ -4579,7 +4579,7 @@ function wa(e, t, n, r, o, i) {
|
|
|
4579
4579
|
src: e.image,
|
|
4580
4580
|
srcset: e.srcSetToUse,
|
|
4581
4581
|
sizes: e.sizesToUse
|
|
4582
|
-
}, null, 14,
|
|
4582
|
+
}, null, 14, Ca)
|
|
4583
4583
|
]),
|
|
4584
4584
|
e.aspectRatio && !((u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent) ? (v(), w("div", {
|
|
4585
4585
|
key: 0,
|
|
@@ -4589,19 +4589,19 @@ function wa(e, t, n, r, o, i) {
|
|
|
4589
4589
|
})
|
|
4590
4590
|
}, null, 4)) : F("", !0),
|
|
4591
4591
|
(m = (c = e.builderBlock) == null ? void 0 : c.children) != null && m.length && e.fitContent ? pe(e.$slots, "default", { key: 1 }, void 0, !0) : F("", !0),
|
|
4592
|
-
!e.fitContent && ((b = (y = e.builderBlock) == null ? void 0 : y.children) != null && b.length) ? (v(), w("div",
|
|
4592
|
+
!e.fitContent && ((b = (y = e.builderBlock) == null ? void 0 : y.children) != null && b.length) ? (v(), w("div", wa, [
|
|
4593
4593
|
pe(e.$slots, "default", {}, void 0, !0)
|
|
4594
4594
|
])) : F("", !0)
|
|
4595
4595
|
], 64);
|
|
4596
4596
|
}
|
|
4597
|
-
const
|
|
4597
|
+
const Ea = /* @__PURE__ */ j(Sa, [["render", Ta], ["__scopeId", "data-v-bb2384ad"]]), Ia = B({
|
|
4598
4598
|
name: "builder-section-component",
|
|
4599
4599
|
props: ["attributes", "maxWidth"],
|
|
4600
4600
|
data() {
|
|
4601
4601
|
return { filterAttrs: de };
|
|
4602
4602
|
}
|
|
4603
4603
|
});
|
|
4604
|
-
function
|
|
4604
|
+
function Ra(e, t, n, r, o, i) {
|
|
4605
4605
|
return v(), w("section", q({
|
|
4606
4606
|
style: {
|
|
4607
4607
|
width: "100%",
|
|
@@ -4619,8 +4619,8 @@ function Ia(e, t, n, r, o, i) {
|
|
|
4619
4619
|
pe(e.$slots, "default")
|
|
4620
4620
|
], 16);
|
|
4621
4621
|
}
|
|
4622
|
-
const
|
|
4623
|
-
function
|
|
4622
|
+
const Aa = /* @__PURE__ */ j(Ia, [["render", Ra]]);
|
|
4623
|
+
function $a(e, t, n, r) {
|
|
4624
4624
|
function o(m) {
|
|
4625
4625
|
return typeof m == "string";
|
|
4626
4626
|
}
|
|
@@ -4677,7 +4677,7 @@ function Aa(e, t, n, r) {
|
|
|
4677
4677
|
}, c = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
|
|
4678
4678
|
return u.startDate && new Date(u.startDate) > c || u.endDate && new Date(u.endDate) < c ? !1 : !u.query || !u.query.length ? !0 : u.query.every((m) => s(e, m));
|
|
4679
4679
|
}
|
|
4680
|
-
const
|
|
4680
|
+
const xa = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
|
|
4681
4681
|
if (!navigator.cookieEnabled) {
|
|
4682
4682
|
return;
|
|
4683
4683
|
}
|
|
@@ -4722,7 +4722,7 @@ const $a = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
4722
4722
|
thisScript.remove();
|
|
4723
4723
|
}
|
|
4724
4724
|
}
|
|
4725
|
-
}`,
|
|
4725
|
+
}`, Pa = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
|
|
4726
4726
|
function isString(val) {
|
|
4727
4727
|
return typeof val === 'string';
|
|
4728
4728
|
}
|
|
@@ -4800,7 +4800,7 @@ const $a = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
4800
4800
|
return item.query.every(filter => {
|
|
4801
4801
|
return objectMatchesQuery(userAttributes, filter);
|
|
4802
4802
|
});
|
|
4803
|
-
}`,
|
|
4803
|
+
}`, Oa = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
|
|
4804
4804
|
function getCookie(name) {
|
|
4805
4805
|
const nameEQ = name + '=';
|
|
4806
4806
|
const ca = document.cookie.split(';');
|
|
@@ -4838,11 +4838,11 @@ const $a = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
4838
4838
|
visibilityStylesEl.innerHTML = newStyleStr;
|
|
4839
4839
|
}
|
|
4840
4840
|
}
|
|
4841
|
-
}`, Nt = "default", zr = "filterWithCustomTargeting", En = "builderIoPersonalization", In = "updateVisibilityStylesScript",
|
|
4842
|
-
function
|
|
4841
|
+
}`, Nt = "default", zr = "filterWithCustomTargeting", En = "builderIoPersonalization", In = "updateVisibilityStylesScript", Na = "PersonalizationContainer", No = ["react", "vue", "svelte", "qwik"], Bo = ["vue", "svelte", "qwik"];
|
|
4842
|
+
function Ba(e, t) {
|
|
4843
4843
|
return !(e && e.length > 0) || !t ? !1 : Bo.includes(G) ? !0 : !M();
|
|
4844
4844
|
}
|
|
4845
|
-
function
|
|
4845
|
+
function ja({
|
|
4846
4846
|
variants: e,
|
|
4847
4847
|
previewingIndex: t,
|
|
4848
4848
|
isHydrated: n,
|
|
@@ -4882,20 +4882,20 @@ function Ba({
|
|
|
4882
4882
|
}
|
|
4883
4883
|
const Rn = (e) => {
|
|
4884
4884
|
var t;
|
|
4885
|
-
return Array.isArray(e) ? e.some(Rn) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) ===
|
|
4886
|
-
},
|
|
4885
|
+
return Array.isArray(e) ? e.some(Rn) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === Na ? !0 : Object.values(e).some(Rn);
|
|
4886
|
+
}, Va = (e) => Rn(e), Da = () => `
|
|
4887
4887
|
(function() {
|
|
4888
4888
|
if (!window.${zr}) {
|
|
4889
|
-
window.${zr} = ${
|
|
4889
|
+
window.${zr} = ${Pa};
|
|
4890
4890
|
}
|
|
4891
4891
|
if (!window.${En}) {
|
|
4892
|
-
window.${En} = ${
|
|
4892
|
+
window.${En} = ${xa};
|
|
4893
4893
|
}
|
|
4894
4894
|
if (!window.${In}) {
|
|
4895
|
-
window.${In} = ${
|
|
4895
|
+
window.${In} = ${Oa};
|
|
4896
4896
|
}
|
|
4897
4897
|
})();
|
|
4898
|
-
`, jo = G === "react",
|
|
4898
|
+
`, jo = G === "react", Ua = (e, t, n) => `window.${En}(${JSON.stringify(e)}, "${t}", ${jo}${n ? `, "${n}"` : ""})`, Wa = (e, t, n) => `window.${In}(${JSON.stringify(e)}, "${t}", ${jo}${n ? `, "${n}"` : ""})`, hn = {
|
|
4899
4899
|
"@type": "@builder.io/sdk:Element",
|
|
4900
4900
|
layerName: "Accordion item title",
|
|
4901
4901
|
responsiveStyles: {
|
|
@@ -4955,7 +4955,7 @@ const Rn = (e) => {
|
|
|
4955
4955
|
}
|
|
4956
4956
|
}
|
|
4957
4957
|
}]
|
|
4958
|
-
},
|
|
4958
|
+
}, La = {
|
|
4959
4959
|
name: "Builder:Accordion",
|
|
4960
4960
|
canHaveChildren: !0,
|
|
4961
4961
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -5019,7 +5019,7 @@ const Rn = (e) => {
|
|
|
5019
5019
|
builderComponents: !0,
|
|
5020
5020
|
builderLinkComponent: !0
|
|
5021
5021
|
}
|
|
5022
|
-
},
|
|
5022
|
+
}, Fa = (e) => e.toString(), Ma = B({
|
|
5023
5023
|
name: "builder-accordion",
|
|
5024
5024
|
components: { Blocks: Ue },
|
|
5025
5025
|
props: [
|
|
@@ -5033,7 +5033,7 @@ const Rn = (e) => {
|
|
|
5033
5033
|
"builderLinkComponent"
|
|
5034
5034
|
],
|
|
5035
5035
|
data() {
|
|
5036
|
-
return { open: [], convertOrderNumberToString:
|
|
5036
|
+
return { open: [], convertOrderNumberToString: Fa };
|
|
5037
5037
|
},
|
|
5038
5038
|
computed: {
|
|
5039
5039
|
onlyOneAtATime() {
|
|
@@ -5114,8 +5114,8 @@ const Rn = (e) => {
|
|
|
5114
5114
|
this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
|
|
5115
5115
|
}
|
|
5116
5116
|
}
|
|
5117
|
-
}),
|
|
5118
|
-
function
|
|
5117
|
+
}), Ha = ["data-index", "onClick"];
|
|
5118
|
+
function Ka(e, t, n, r, o, i) {
|
|
5119
5119
|
const s = W("Blocks");
|
|
5120
5120
|
return v(), w("div", {
|
|
5121
5121
|
class: "builder-accordion",
|
|
@@ -5142,7 +5142,7 @@ function Ha(e, t, n, r, o, i) {
|
|
|
5142
5142
|
registeredComponents: e.builderComponents,
|
|
5143
5143
|
linkComponent: e.builderLinkComponent
|
|
5144
5144
|
}, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
|
|
5145
|
-
], 14,
|
|
5145
|
+
], 14, Ha),
|
|
5146
5146
|
e.open.includes(c) ? (v(), w("div", {
|
|
5147
5147
|
key: 0,
|
|
5148
5148
|
class: gt(e.getAccordionDetailClassName(c)),
|
|
@@ -5160,7 +5160,7 @@ function Ha(e, t, n, r, o, i) {
|
|
|
5160
5160
|
], 64))), 128))
|
|
5161
5161
|
], 4);
|
|
5162
5162
|
}
|
|
5163
|
-
const
|
|
5163
|
+
const za = /* @__PURE__ */ j(Ma, [["render", Ka]]), qa = {
|
|
5164
5164
|
name: "Core:Button",
|
|
5165
5165
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
5166
5166
|
defaultStyles: {
|
|
@@ -5196,7 +5196,7 @@ const Ka = /* @__PURE__ */ j(Fa, [["render", Ha]]), za = {
|
|
|
5196
5196
|
shouldReceiveBuilderProps: {
|
|
5197
5197
|
builderLinkComponent: !0
|
|
5198
5198
|
}
|
|
5199
|
-
},
|
|
5199
|
+
}, Ga = {
|
|
5200
5200
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
5201
5201
|
name: "Columns",
|
|
5202
5202
|
isRSC: !0,
|
|
@@ -5403,13 +5403,13 @@ const Ka = /* @__PURE__ */ j(Fa, [["render", Ha]]), za = {
|
|
|
5403
5403
|
builderComponents: !0,
|
|
5404
5404
|
builderLinkComponent: !0
|
|
5405
5405
|
}
|
|
5406
|
-
},
|
|
5406
|
+
}, _a = {
|
|
5407
5407
|
name: "Fragment",
|
|
5408
5408
|
static: !0,
|
|
5409
5409
|
hidden: !0,
|
|
5410
5410
|
canHaveChildren: !0,
|
|
5411
5411
|
noWrap: !0
|
|
5412
|
-
}, Yn = ["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"],
|
|
5412
|
+
}, Yn = ["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"], Ja = ["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"], Xa = {
|
|
5413
5413
|
name: "Image",
|
|
5414
5414
|
static: !0,
|
|
5415
5415
|
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",
|
|
@@ -5522,7 +5522,7 @@ const Ka = /* @__PURE__ */ j(Fa, [["render", Ha]]), za = {
|
|
|
5522
5522
|
shouldReceiveBuilderProps: {
|
|
5523
5523
|
builderBlock: !0
|
|
5524
5524
|
}
|
|
5525
|
-
},
|
|
5525
|
+
}, Ya = {
|
|
5526
5526
|
name: "PersonalizationContainer",
|
|
5527
5527
|
shouldReceiveBuilderProps: {
|
|
5528
5528
|
builderBlock: !0,
|
|
@@ -5568,7 +5568,7 @@ const Ka = /* @__PURE__ */ j(Fa, [["render", Ha]]), za = {
|
|
|
5568
5568
|
},
|
|
5569
5569
|
name: "inlined-script",
|
|
5570
5570
|
props: ["scriptStr", "id", "nonce"]
|
|
5571
|
-
}),
|
|
5571
|
+
}), Qa = B({
|
|
5572
5572
|
name: "builder-personalization-container",
|
|
5573
5573
|
components: {
|
|
5574
5574
|
Blocks: Ue,
|
|
@@ -5587,18 +5587,18 @@ const Ka = /* @__PURE__ */ j(Fa, [["render", Ha]]), za = {
|
|
|
5587
5587
|
var e, t, n, r, o, i, s;
|
|
5588
5588
|
return {
|
|
5589
5589
|
userAttributes: Ut.getUserAttributes(),
|
|
5590
|
-
scriptStr:
|
|
5590
|
+
scriptStr: Ua(
|
|
5591
5591
|
this.variants,
|
|
5592
5592
|
((e = this.builderBlock) == null ? void 0 : e.id) || "none",
|
|
5593
5593
|
(n = (t = this.builderContext) == null ? void 0 : t.rootState) == null ? void 0 : n.locale
|
|
5594
5594
|
),
|
|
5595
|
-
updateVisibilityStylesScript:
|
|
5595
|
+
updateVisibilityStylesScript: Wa(
|
|
5596
5596
|
this.variants,
|
|
5597
5597
|
((r = this.builderBlock) == null ? void 0 : r.id) || "none",
|
|
5598
5598
|
(i = (o = this.builderContext) == null ? void 0 : o.rootState) == null ? void 0 : i.locale
|
|
5599
5599
|
),
|
|
5600
5600
|
unsubscribers: [],
|
|
5601
|
-
shouldRenderVariants:
|
|
5601
|
+
shouldRenderVariants: Ba(
|
|
5602
5602
|
this.variants,
|
|
5603
5603
|
Xe((s = this.builderContext) == null ? void 0 : s.canTrack)
|
|
5604
5604
|
),
|
|
@@ -5660,7 +5660,7 @@ const Ka = /* @__PURE__ */ j(Fa, [["render", Ha]]), za = {
|
|
|
5660
5660
|
filteredVariants() {
|
|
5661
5661
|
return (this.variants || []).filter((e) => {
|
|
5662
5662
|
var t, n, r, o;
|
|
5663
|
-
return
|
|
5663
|
+
return $a(
|
|
5664
5664
|
{
|
|
5665
5665
|
...(n = (t = this.builderContext) == null ? void 0 : t.rootState) != null && n.locale ? {
|
|
5666
5666
|
locale: (o = (r = this.builderContext) == null ? void 0 : r.rootState) == null ? void 0 : o.locale
|
|
@@ -5675,7 +5675,7 @@ const Ka = /* @__PURE__ */ j(Fa, [["render", Ha]]), za = {
|
|
|
5675
5675
|
},
|
|
5676
5676
|
blocksToRender() {
|
|
5677
5677
|
var e;
|
|
5678
|
-
return
|
|
5678
|
+
return ja({
|
|
5679
5679
|
variants: this.variants,
|
|
5680
5680
|
fallbackBlocks: (e = this.builderBlock) == null ? void 0 : e.children,
|
|
5681
5681
|
isHydrated: this.shouldResetVariants,
|
|
@@ -5693,7 +5693,7 @@ const Ka = /* @__PURE__ */ j(Fa, [["render", Ha]]), za = {
|
|
|
5693
5693
|
}
|
|
5694
5694
|
}
|
|
5695
5695
|
});
|
|
5696
|
-
function
|
|
5696
|
+
function Za(e, t, n, r, o, i) {
|
|
5697
5697
|
var m, y, b, h, S, A, $, H, te, E;
|
|
5698
5698
|
const s = W("Blocks"), u = W("InlinedStyles"), c = W("InlinedScript");
|
|
5699
5699
|
return v(), w("div", q({ ref: "rootRef" }, e.attrs), [
|
|
@@ -5778,7 +5778,7 @@ function Qa(e, t, n, r, o, i) {
|
|
|
5778
5778
|
], 64)) : F("", !0)
|
|
5779
5779
|
], 16);
|
|
5780
5780
|
}
|
|
5781
|
-
const
|
|
5781
|
+
const el = /* @__PURE__ */ j(Qa, [["render", Za]]), tl = {
|
|
5782
5782
|
name: "Core:Section",
|
|
5783
5783
|
static: !0,
|
|
5784
5784
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -5817,7 +5817,7 @@ const Za = /* @__PURE__ */ j(Ya, [["render", Qa]]), el = {
|
|
|
5817
5817
|
}
|
|
5818
5818
|
}
|
|
5819
5819
|
}]
|
|
5820
|
-
},
|
|
5820
|
+
}, nl = {
|
|
5821
5821
|
name: "Slot",
|
|
5822
5822
|
isRSC: !0,
|
|
5823
5823
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -5834,12 +5834,12 @@ const Za = /* @__PURE__ */ j(Ya, [["render", Qa]]), el = {
|
|
|
5834
5834
|
builderContext: !0,
|
|
5835
5835
|
builderComponents: !0
|
|
5836
5836
|
}
|
|
5837
|
-
},
|
|
5837
|
+
}, rl = B({
|
|
5838
5838
|
name: "builder-slot",
|
|
5839
5839
|
components: { Blocks: Ue },
|
|
5840
5840
|
props: ["builderContext", "name", "builderComponents"]
|
|
5841
5841
|
});
|
|
5842
|
-
function
|
|
5842
|
+
function ol(e, t, n, r, o, i) {
|
|
5843
5843
|
var u, c, m;
|
|
5844
5844
|
const s = W("Blocks");
|
|
5845
5845
|
return v(), w("div", q(
|
|
@@ -5859,7 +5859,7 @@ function rl(e, t, n, r, o, i) {
|
|
|
5859
5859
|
}, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
|
|
5860
5860
|
], 16);
|
|
5861
5861
|
}
|
|
5862
|
-
const
|
|
5862
|
+
const il = /* @__PURE__ */ j(rl, [["render", ol]]), sl = {
|
|
5863
5863
|
name: "Symbol",
|
|
5864
5864
|
noWrap: !0,
|
|
5865
5865
|
static: !0,
|
|
@@ -5936,7 +5936,7 @@ const ol = /* @__PURE__ */ j(nl, [["render", rl]]), il = {
|
|
|
5936
5936
|
text: "New tab content "
|
|
5937
5937
|
}
|
|
5938
5938
|
}
|
|
5939
|
-
},
|
|
5939
|
+
}, al = {
|
|
5940
5940
|
name: "Builder: Tabs",
|
|
5941
5941
|
inputs: [{
|
|
5942
5942
|
name: "tabs",
|
|
@@ -6039,7 +6039,7 @@ const ol = /* @__PURE__ */ j(nl, [["render", rl]]), il = {
|
|
|
6039
6039
|
builderComponents: !0,
|
|
6040
6040
|
builderLinkComponent: !0
|
|
6041
6041
|
}
|
|
6042
|
-
},
|
|
6042
|
+
}, ll = B({
|
|
6043
6043
|
name: "builder-tabs",
|
|
6044
6044
|
components: { Blocks: Ue },
|
|
6045
6045
|
props: [
|
|
@@ -6067,8 +6067,8 @@ const ol = /* @__PURE__ */ j(nl, [["render", rl]]), il = {
|
|
|
6067
6067
|
e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
|
|
6068
6068
|
}
|
|
6069
6069
|
}
|
|
6070
|
-
}),
|
|
6071
|
-
function
|
|
6070
|
+
}), ul = ["onClick"], cl = { key: 0 };
|
|
6071
|
+
function pl(e, t, n, r, o, i) {
|
|
6072
6072
|
const s = W("Blocks");
|
|
6073
6073
|
return v(), w("div", null, [
|
|
6074
6074
|
Ge("div", {
|
|
@@ -6094,9 +6094,9 @@ function cl(e, t, n, r, o, i) {
|
|
|
6094
6094
|
registeredComponents: e.builderComponents,
|
|
6095
6095
|
linkComponent: e.builderLinkComponent
|
|
6096
6096
|
}, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
|
|
6097
|
-
], 14,
|
|
6097
|
+
], 14, ul))), 128))
|
|
6098
6098
|
], 4),
|
|
6099
|
-
e.activeTabContent(e.activeTab) ? (v(), w("div",
|
|
6099
|
+
e.activeTabContent(e.activeTab) ? (v(), w("div", cl, [
|
|
6100
6100
|
ee(s, {
|
|
6101
6101
|
parent: e.builderBlock.id,
|
|
6102
6102
|
path: `tabs.${e.activeTab}.content`,
|
|
@@ -6108,7 +6108,7 @@ function cl(e, t, n, r, o, i) {
|
|
|
6108
6108
|
])) : F("", !0)
|
|
6109
6109
|
]);
|
|
6110
6110
|
}
|
|
6111
|
-
const
|
|
6111
|
+
const dl = /* @__PURE__ */ j(ll, [["render", pl]]), fl = {
|
|
6112
6112
|
shouldReceiveBuilderProps: {},
|
|
6113
6113
|
name: "Text",
|
|
6114
6114
|
static: !0,
|
|
@@ -6126,11 +6126,11 @@ const pl = /* @__PURE__ */ j(al, [["render", cl]]), dl = {
|
|
|
6126
6126
|
height: "auto",
|
|
6127
6127
|
textAlign: "center"
|
|
6128
6128
|
}
|
|
6129
|
-
},
|
|
6129
|
+
}, hl = B({
|
|
6130
6130
|
name: "builder-text",
|
|
6131
6131
|
props: ["text"]
|
|
6132
|
-
}),
|
|
6133
|
-
function
|
|
6132
|
+
}), ml = ["innerHTML"];
|
|
6133
|
+
function gl(e, t, n, r, o, i) {
|
|
6134
6134
|
var s;
|
|
6135
6135
|
return v(), w("div", {
|
|
6136
6136
|
class: "builder-text",
|
|
@@ -6138,9 +6138,9 @@ function ml(e, t, n, r, o, i) {
|
|
|
6138
6138
|
style: {
|
|
6139
6139
|
outline: "none"
|
|
6140
6140
|
}
|
|
6141
|
-
}, null, 8,
|
|
6141
|
+
}, null, 8, ml);
|
|
6142
6142
|
}
|
|
6143
|
-
const
|
|
6143
|
+
const yl = /* @__PURE__ */ j(hl, [["render", gl]]), vl = {
|
|
6144
6144
|
name: "Custom Code",
|
|
6145
6145
|
static: !0,
|
|
6146
6146
|
requiredPermissions: ["editCode"],
|
|
@@ -6162,7 +6162,7 @@ const gl = /* @__PURE__ */ j(fl, [["render", ml]]), yl = {
|
|
|
6162
6162
|
helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
|
|
6163
6163
|
advanced: !0
|
|
6164
6164
|
}]
|
|
6165
|
-
},
|
|
6165
|
+
}, bl = B({
|
|
6166
6166
|
name: "builder-custom-code",
|
|
6167
6167
|
props: ["code", "replaceNodes"],
|
|
6168
6168
|
data() {
|
|
@@ -6221,15 +6221,15 @@ const gl = /* @__PURE__ */ j(fl, [["render", ml]]), yl = {
|
|
|
6221
6221
|
}
|
|
6222
6222
|
}
|
|
6223
6223
|
}
|
|
6224
|
-
}),
|
|
6225
|
-
function
|
|
6224
|
+
}), Sl = ["innerHTML"];
|
|
6225
|
+
function kl(e, t, n, r, o, i) {
|
|
6226
6226
|
return v(), w("div", {
|
|
6227
6227
|
ref: "elementRef",
|
|
6228
6228
|
class: gt("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
|
|
6229
6229
|
innerHTML: e.code
|
|
6230
|
-
}, null, 10,
|
|
6230
|
+
}, null, 10, Sl);
|
|
6231
6231
|
}
|
|
6232
|
-
const
|
|
6232
|
+
const Cl = /* @__PURE__ */ j(bl, [["render", kl]]), wl = {
|
|
6233
6233
|
name: "Embed",
|
|
6234
6234
|
static: !0,
|
|
6235
6235
|
inputs: [{
|
|
@@ -6244,7 +6244,7 @@ const kl = /* @__PURE__ */ j(vl, [["render", Sl]]), Cl = {
|
|
|
6244
6244
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
6245
6245
|
hideFromUI: !0
|
|
6246
6246
|
}]
|
|
6247
|
-
},
|
|
6247
|
+
}, Tl = ["text/javascript", "application/javascript", "application/ecmascript"], El = (e) => Tl.includes(e.type), Il = B({
|
|
6248
6248
|
name: "builder-embed",
|
|
6249
6249
|
props: ["content"],
|
|
6250
6250
|
data() {
|
|
@@ -6277,7 +6277,7 @@ const kl = /* @__PURE__ */ j(vl, [["render", Sl]]), Cl = {
|
|
|
6277
6277
|
this.scriptsInserted.push(n.src);
|
|
6278
6278
|
const r = document.createElement("script");
|
|
6279
6279
|
r.async = !0, r.src = n.src, document.head.appendChild(r);
|
|
6280
|
-
} else if (
|
|
6280
|
+
} else if (El(n) && !this.scriptsRun.includes(n.innerText))
|
|
6281
6281
|
try {
|
|
6282
6282
|
this.scriptsRun.push(n.innerText), new Function(n.innerText)();
|
|
6283
6283
|
} catch (r) {
|
|
@@ -6286,15 +6286,15 @@ const kl = /* @__PURE__ */ j(vl, [["render", Sl]]), Cl = {
|
|
|
6286
6286
|
}
|
|
6287
6287
|
}
|
|
6288
6288
|
}
|
|
6289
|
-
}),
|
|
6290
|
-
function
|
|
6289
|
+
}), Rl = ["innerHTML"];
|
|
6290
|
+
function Al(e, t, n, r, o, i) {
|
|
6291
6291
|
return v(), w("div", {
|
|
6292
6292
|
class: "builder-embed",
|
|
6293
6293
|
ref: "elem",
|
|
6294
6294
|
innerHTML: e.content
|
|
6295
|
-
}, null, 8,
|
|
6295
|
+
}, null, 8, Rl);
|
|
6296
6296
|
}
|
|
6297
|
-
const
|
|
6297
|
+
const $l = /* @__PURE__ */ j(Il, [["render", Al]]), xl = {
|
|
6298
6298
|
name: "Form:Form",
|
|
6299
6299
|
// editableTags: ['builder-form-error']
|
|
6300
6300
|
defaults: {
|
|
@@ -6531,10 +6531,10 @@ const Al = /* @__PURE__ */ j(El, [["render", Rl]]), $l = {
|
|
|
6531
6531
|
builderComponents: !0,
|
|
6532
6532
|
builderLinkComponent: !0
|
|
6533
6533
|
}
|
|
6534
|
-
},
|
|
6534
|
+
}, Pl = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Ol = () => {
|
|
6535
6535
|
const e = process.env.NODE_ENV || "production";
|
|
6536
|
-
return
|
|
6537
|
-
},
|
|
6536
|
+
return Pl.includes(e) ? e : "production";
|
|
6537
|
+
}, Nl = B({
|
|
6538
6538
|
name: "builder-form-component",
|
|
6539
6539
|
components: { Blocks: Ue },
|
|
6540
6540
|
props: [
|
|
@@ -6645,7 +6645,7 @@ const Al = /* @__PURE__ */ j(El, [["render", Rl]]), $l = {
|
|
|
6645
6645
|
});
|
|
6646
6646
|
return;
|
|
6647
6647
|
}
|
|
6648
|
-
const y = `${
|
|
6648
|
+
const y = `${Ol() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
|
|
6649
6649
|
this.sendSubmissionsToEmail || ""
|
|
6650
6650
|
)}&name=${encodeURIComponent(this.name || "")}`, b = this.sendSubmissionsTo === "email" ? y : this.action;
|
|
6651
6651
|
On(b), fetch(b, {
|
|
@@ -6711,11 +6711,11 @@ const Al = /* @__PURE__ */ j(El, [["render", Rl]]), $l = {
|
|
|
6711
6711
|
}
|
|
6712
6712
|
}
|
|
6713
6713
|
}
|
|
6714
|
-
}),
|
|
6714
|
+
}), Bl = ["validate", "action", "method", "name"], jl = {
|
|
6715
6715
|
key: 2,
|
|
6716
6716
|
class: "builder-form-error-text pre-2oa2wtipkzk"
|
|
6717
6717
|
};
|
|
6718
|
-
function
|
|
6718
|
+
function Vl(e, t, n, r, o, i) {
|
|
6719
6719
|
const s = W("Blocks");
|
|
6720
6720
|
return v(), w("form", q({
|
|
6721
6721
|
validate: e.validate,
|
|
@@ -6738,16 +6738,16 @@ function jl(e, t, n, r, o, i) {
|
|
|
6738
6738
|
blocks: e.sendingMessage,
|
|
6739
6739
|
context: e.builderContext
|
|
6740
6740
|
}, null, 8, ["blocks", "context"])) : F("", !0),
|
|
6741
|
-
e.submissionState() === "error" && e.responseData ? (v(), w("pre",
|
|
6741
|
+
e.submissionState() === "error" && e.responseData ? (v(), w("pre", jl, Wt(e.errorResponse(e.responseData)), 1)) : F("", !0),
|
|
6742
6742
|
e.submissionState() === "success" ? (v(), U(s, {
|
|
6743
6743
|
key: 3,
|
|
6744
6744
|
path: "successMessage",
|
|
6745
6745
|
blocks: e.successMessage,
|
|
6746
6746
|
context: e.builderContext
|
|
6747
6747
|
}, null, 8, ["blocks", "context"])) : F("", !0)
|
|
6748
|
-
], 16,
|
|
6748
|
+
], 16, Bl);
|
|
6749
6749
|
}
|
|
6750
|
-
const
|
|
6750
|
+
const Dl = /* @__PURE__ */ j(Nl, [["render", Vl], ["__scopeId", "data-v-77c7888c"]]), Ul = {
|
|
6751
6751
|
name: "Form:Input",
|
|
6752
6752
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
6753
6753
|
inputs: [
|
|
@@ -6798,7 +6798,7 @@ const Vl = /* @__PURE__ */ j(Ol, [["render", jl], ["__scopeId", "data-v-77c7888c
|
|
|
6798
6798
|
borderStyle: "solid",
|
|
6799
6799
|
borderColor: "#ccc"
|
|
6800
6800
|
}
|
|
6801
|
-
},
|
|
6801
|
+
}, Wl = B({
|
|
6802
6802
|
name: "builder-form-input-component",
|
|
6803
6803
|
props: [
|
|
6804
6804
|
"attributes",
|
|
@@ -6812,8 +6812,8 @@ const Vl = /* @__PURE__ */ j(Ol, [["render", jl], ["__scopeId", "data-v-77c7888c
|
|
|
6812
6812
|
data() {
|
|
6813
6813
|
return { isEditing: oe, filterAttrs: de };
|
|
6814
6814
|
}
|
|
6815
|
-
}),
|
|
6816
|
-
function
|
|
6815
|
+
}), Ll = ["placeholder", "type", "name", "value", "defaultValue", "required"];
|
|
6816
|
+
function Fl(e, t, n, r, o, i) {
|
|
6817
6817
|
return v(), w("input", q({
|
|
6818
6818
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
6819
6819
|
placeholder: e.placeholder,
|
|
@@ -6822,9 +6822,9 @@ function Ll(e, t, n, r, o, i) {
|
|
|
6822
6822
|
value: e.value,
|
|
6823
6823
|
defaultValue: e.defaultValue,
|
|
6824
6824
|
required: e.required
|
|
6825
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
6825
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Ll);
|
|
6826
6826
|
}
|
|
6827
|
-
const
|
|
6827
|
+
const Ml = /* @__PURE__ */ j(Wl, [["render", Fl]]), Hl = {
|
|
6828
6828
|
name: "Form:Select",
|
|
6829
6829
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
6830
6830
|
defaultStyles: {
|
|
@@ -6866,14 +6866,14 @@ const Fl = /* @__PURE__ */ j(Ul, [["render", Ll]]), Ml = {
|
|
|
6866
6866
|
}],
|
|
6867
6867
|
static: !0,
|
|
6868
6868
|
noWrap: !0
|
|
6869
|
-
},
|
|
6869
|
+
}, Kl = B({
|
|
6870
6870
|
name: "builder-select-component",
|
|
6871
6871
|
props: ["attributes", "value", "defaultValue", "name", "required", "options"],
|
|
6872
6872
|
data() {
|
|
6873
6873
|
return { isEditing: oe, filterAttrs: de };
|
|
6874
6874
|
}
|
|
6875
|
-
}),
|
|
6876
|
-
function
|
|
6875
|
+
}), zl = ["value", "defaultValue", "name", "required"], ql = ["value"];
|
|
6876
|
+
function Gl(e, t, n, r, o, i) {
|
|
6877
6877
|
return v(), w("select", q({
|
|
6878
6878
|
value: e.value,
|
|
6879
6879
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
@@ -6884,10 +6884,10 @@ function ql(e, t, n, r, o, i) {
|
|
|
6884
6884
|
(v(!0), w(z, null, ve(e.options, (s, u) => (v(), w("option", {
|
|
6885
6885
|
key: `${s.name}-${u}`,
|
|
6886
6886
|
value: s.value
|
|
6887
|
-
}, Wt(s.name || s.value), 9,
|
|
6888
|
-
], 16,
|
|
6887
|
+
}, Wt(s.name || s.value), 9, ql))), 128))
|
|
6888
|
+
], 16, zl);
|
|
6889
6889
|
}
|
|
6890
|
-
const
|
|
6890
|
+
const _l = /* @__PURE__ */ j(Kl, [["render", Gl]]), Jl = {
|
|
6891
6891
|
name: "Form:SubmitButton",
|
|
6892
6892
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
6893
6893
|
defaultStyles: {
|
|
@@ -6912,17 +6912,17 @@ const Gl = /* @__PURE__ */ j(Hl, [["render", ql]]), _l = {
|
|
|
6912
6912
|
// that only shows if advanced setting is flipped
|
|
6913
6913
|
// TODO: defaultChildren
|
|
6914
6914
|
// canHaveChildren: true,
|
|
6915
|
-
},
|
|
6915
|
+
}, Xl = B({
|
|
6916
6916
|
name: "builder-submit-button",
|
|
6917
6917
|
props: ["attributes", "text"],
|
|
6918
6918
|
data() {
|
|
6919
6919
|
return { filterAttrs: de };
|
|
6920
6920
|
}
|
|
6921
6921
|
});
|
|
6922
|
-
function
|
|
6922
|
+
function Yl(e, t, n, r, o, i) {
|
|
6923
6923
|
return v(), w("button", q({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Wt(e.text), 17);
|
|
6924
6924
|
}
|
|
6925
|
-
const
|
|
6925
|
+
const Ql = /* @__PURE__ */ j(Xl, [["render", Yl]]), Zl = {
|
|
6926
6926
|
name: "Form:TextArea",
|
|
6927
6927
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
6928
6928
|
inputs: [{
|
|
@@ -6958,7 +6958,7 @@ const Yl = /* @__PURE__ */ j(Jl, [["render", Xl]]), Ql = {
|
|
|
6958
6958
|
},
|
|
6959
6959
|
static: !0,
|
|
6960
6960
|
noWrap: !0
|
|
6961
|
-
},
|
|
6961
|
+
}, eu = B({
|
|
6962
6962
|
name: "builder-textarea",
|
|
6963
6963
|
props: [
|
|
6964
6964
|
"attributes",
|
|
@@ -6971,17 +6971,17 @@ const Yl = /* @__PURE__ */ j(Jl, [["render", Xl]]), Ql = {
|
|
|
6971
6971
|
data() {
|
|
6972
6972
|
return { filterAttrs: de };
|
|
6973
6973
|
}
|
|
6974
|
-
}),
|
|
6975
|
-
function
|
|
6974
|
+
}), tu = ["placeholder", "name", "value", "defaultValue", "required"];
|
|
6975
|
+
function nu(e, t, n, r, o, i) {
|
|
6976
6976
|
return v(), w("textarea", q({
|
|
6977
6977
|
placeholder: e.placeholder,
|
|
6978
6978
|
name: e.name,
|
|
6979
6979
|
value: e.value,
|
|
6980
6980
|
defaultValue: e.defaultValue,
|
|
6981
6981
|
required: e.required
|
|
6982
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
6982
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, tu);
|
|
6983
6983
|
}
|
|
6984
|
-
const
|
|
6984
|
+
const ru = /* @__PURE__ */ j(eu, [["render", nu]]), ou = {
|
|
6985
6985
|
name: "Raw:Img",
|
|
6986
6986
|
hideFromInsertMenu: !0,
|
|
6987
6987
|
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",
|
|
@@ -7025,7 +7025,7 @@ const nu = /* @__PURE__ */ j(Zl, [["render", tu]]), ru = {
|
|
|
7025
7025
|
defaultValue: 0.7041
|
|
7026
7026
|
}],
|
|
7027
7027
|
noWrap: !0
|
|
7028
|
-
},
|
|
7028
|
+
}, iu = B({
|
|
7029
7029
|
name: "builder-img-component",
|
|
7030
7030
|
props: [
|
|
7031
7031
|
"imgSrc",
|
|
@@ -7055,8 +7055,8 @@ const nu = /* @__PURE__ */ j(Zl, [["render", tu]]), ru = {
|
|
|
7055
7055
|
return delete e.style, e;
|
|
7056
7056
|
}
|
|
7057
7057
|
}
|
|
7058
|
-
}),
|
|
7059
|
-
function
|
|
7058
|
+
}), su = ["alt", "title", "src"];
|
|
7059
|
+
function au(e, t, n, r, o, i) {
|
|
7060
7060
|
var s;
|
|
7061
7061
|
return v(), w("img", q({
|
|
7062
7062
|
loading: "lazy",
|
|
@@ -7070,9 +7070,9 @@ function su(e, t, n, r, o, i) {
|
|
|
7070
7070
|
aspectRatio: e.aspectRatio || void 0,
|
|
7071
7071
|
...((s = e.attributes) == null ? void 0 : s.style) || {}
|
|
7072
7072
|
}
|
|
7073
|
-
}, e.imgAttrs), null, 16,
|
|
7073
|
+
}, e.imgAttrs), null, 16, su);
|
|
7074
7074
|
}
|
|
7075
|
-
const
|
|
7075
|
+
const lu = /* @__PURE__ */ j(iu, [["render", au]]), uu = {
|
|
7076
7076
|
name: "Video",
|
|
7077
7077
|
canHaveChildren: !0,
|
|
7078
7078
|
defaultStyles: {
|
|
@@ -7083,7 +7083,7 @@ const au = /* @__PURE__ */ j(ou, [["render", su]]), lu = {
|
|
|
7083
7083
|
inputs: [{
|
|
7084
7084
|
name: "video",
|
|
7085
7085
|
type: "file",
|
|
7086
|
-
allowedFileTypes:
|
|
7086
|
+
allowedFileTypes: Ja,
|
|
7087
7087
|
bubble: !0,
|
|
7088
7088
|
defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
|
|
7089
7089
|
required: !0
|
|
@@ -7156,7 +7156,7 @@ const au = /* @__PURE__ */ j(ou, [["render", su]]), lu = {
|
|
|
7156
7156
|
shouldReceiveBuilderProps: {
|
|
7157
7157
|
builderBlock: !0
|
|
7158
7158
|
}
|
|
7159
|
-
},
|
|
7159
|
+
}, cu = B({
|
|
7160
7160
|
name: "builder-video",
|
|
7161
7161
|
props: [
|
|
7162
7162
|
"lazyLoad",
|
|
@@ -7229,16 +7229,16 @@ const au = /* @__PURE__ */ j(ou, [["render", su]]), lu = {
|
|
|
7229
7229
|
};
|
|
7230
7230
|
}
|
|
7231
7231
|
}
|
|
7232
|
-
}),
|
|
7232
|
+
}), pu = { style: {
|
|
7233
7233
|
position: "relative"
|
|
7234
|
-
} },
|
|
7234
|
+
} }, du = ["preload", "poster"], fu = {
|
|
7235
7235
|
key: 1,
|
|
7236
7236
|
style: {
|
|
7237
7237
|
display: "flex",
|
|
7238
7238
|
flexDirection: "column",
|
|
7239
7239
|
alignItems: "stretch"
|
|
7240
7240
|
}
|
|
7241
|
-
},
|
|
7241
|
+
}, hu = {
|
|
7242
7242
|
key: 2,
|
|
7243
7243
|
style: {
|
|
7244
7244
|
pointerEvents: "none",
|
|
@@ -7252,9 +7252,9 @@ const au = /* @__PURE__ */ j(ou, [["render", su]]), lu = {
|
|
|
7252
7252
|
height: "100%"
|
|
7253
7253
|
}
|
|
7254
7254
|
};
|
|
7255
|
-
function
|
|
7255
|
+
function mu(e, t, n, r, o, i) {
|
|
7256
7256
|
var s, u, c, m, y, b, h;
|
|
7257
|
-
return v(), w("div",
|
|
7257
|
+
return v(), w("div", pu, [
|
|
7258
7258
|
Ge("video", q({
|
|
7259
7259
|
class: "builder-video",
|
|
7260
7260
|
ref: "videoRef",
|
|
@@ -7282,7 +7282,7 @@ function hu(e, t, n, r, o, i) {
|
|
|
7282
7282
|
src: e.video
|
|
7283
7283
|
}
|
|
7284
7284
|
), null, 16)
|
|
7285
|
-
], 16,
|
|
7285
|
+
], 16, du),
|
|
7286
7286
|
e.aspectRatio && !(e.fitContent && ((c = (u = e.builderBlock) == null ? void 0 : u.children) != null && c.length)) ? (v(), w("div", {
|
|
7287
7287
|
key: 0,
|
|
7288
7288
|
style: Pe({
|
|
@@ -7292,75 +7292,75 @@ function hu(e, t, n, r, o, i) {
|
|
|
7292
7292
|
fontSize: "0px"
|
|
7293
7293
|
})
|
|
7294
7294
|
}, null, 4)) : F("", !0),
|
|
7295
|
-
(y = (m = e.builderBlock) == null ? void 0 : m.children) != null && y.length && e.fitContent ? (v(), w("div",
|
|
7295
|
+
(y = (m = e.builderBlock) == null ? void 0 : m.children) != null && y.length && e.fitContent ? (v(), w("div", fu, [
|
|
7296
7296
|
pe(e.$slots, "default")
|
|
7297
7297
|
])) : F("", !0),
|
|
7298
|
-
(h = (b = e.builderBlock) == null ? void 0 : b.children) != null && h.length && !e.fitContent ? (v(), w("div",
|
|
7298
|
+
(h = (b = e.builderBlock) == null ? void 0 : b.children) != null && h.length && !e.fitContent ? (v(), w("div", hu, [
|
|
7299
7299
|
pe(e.$slots, "default")
|
|
7300
7300
|
])) : F("", !0)
|
|
7301
7301
|
]);
|
|
7302
7302
|
}
|
|
7303
|
-
const
|
|
7304
|
-
component:
|
|
7305
|
-
...
|
|
7303
|
+
const gu = /* @__PURE__ */ j(cu, [["render", mu]]), yu = () => [{
|
|
7304
|
+
component: Cl,
|
|
7305
|
+
...vl
|
|
7306
7306
|
}, {
|
|
7307
|
-
component:
|
|
7308
|
-
...
|
|
7307
|
+
component: $l,
|
|
7308
|
+
...wl
|
|
7309
7309
|
}, {
|
|
7310
|
-
component:
|
|
7311
|
-
|
|
7310
|
+
component: Dl,
|
|
7311
|
+
...xl
|
|
7312
7312
|
}, {
|
|
7313
|
-
component:
|
|
7314
|
-
...
|
|
7313
|
+
component: Ml,
|
|
7314
|
+
...Ul
|
|
7315
7315
|
}, {
|
|
7316
|
-
component:
|
|
7317
|
-
...
|
|
7316
|
+
component: Ql,
|
|
7317
|
+
...Jl
|
|
7318
7318
|
}, {
|
|
7319
|
-
component:
|
|
7320
|
-
...
|
|
7319
|
+
component: _l,
|
|
7320
|
+
...Hl
|
|
7321
7321
|
}, {
|
|
7322
|
-
component:
|
|
7323
|
-
...
|
|
7322
|
+
component: ru,
|
|
7323
|
+
...Zl
|
|
7324
7324
|
}, {
|
|
7325
|
-
component:
|
|
7326
|
-
...
|
|
7325
|
+
component: lu,
|
|
7326
|
+
...ou
|
|
7327
7327
|
}, {
|
|
7328
|
-
component:
|
|
7329
|
-
...
|
|
7328
|
+
component: gu,
|
|
7329
|
+
...uu
|
|
7330
7330
|
}], qr = () => [{
|
|
7331
7331
|
component: si,
|
|
7332
|
-
...za
|
|
7333
|
-
}, {
|
|
7334
|
-
component: fa,
|
|
7335
7332
|
...qa
|
|
7336
7333
|
}, {
|
|
7337
|
-
component:
|
|
7334
|
+
component: ha,
|
|
7338
7335
|
...Ga
|
|
7339
7336
|
}, {
|
|
7340
|
-
component:
|
|
7341
|
-
...
|
|
7337
|
+
component: ya,
|
|
7338
|
+
..._a
|
|
7342
7339
|
}, {
|
|
7343
|
-
component:
|
|
7344
|
-
...
|
|
7340
|
+
component: Ea,
|
|
7341
|
+
...Xa
|
|
7345
7342
|
}, {
|
|
7346
|
-
component:
|
|
7343
|
+
component: Aa,
|
|
7347
7344
|
...tl
|
|
7348
7345
|
}, {
|
|
7349
|
-
component:
|
|
7350
|
-
...
|
|
7346
|
+
component: il,
|
|
7347
|
+
...nl
|
|
7351
7348
|
}, {
|
|
7352
|
-
component:
|
|
7353
|
-
...
|
|
7349
|
+
component: tc,
|
|
7350
|
+
...sl
|
|
7351
|
+
}, {
|
|
7352
|
+
component: yl,
|
|
7353
|
+
...fl
|
|
7354
7354
|
}, ...No.includes(G) ? [{
|
|
7355
|
-
component:
|
|
7356
|
-
...
|
|
7355
|
+
component: el,
|
|
7356
|
+
...Ya
|
|
7357
7357
|
}] : [], {
|
|
7358
|
-
component:
|
|
7359
|
-
...
|
|
7358
|
+
component: dl,
|
|
7359
|
+
...al
|
|
7360
7360
|
}, {
|
|
7361
|
-
component:
|
|
7362
|
-
...
|
|
7363
|
-
}, ...
|
|
7361
|
+
component: za,
|
|
7362
|
+
...La
|
|
7363
|
+
}, ...yu()], vu = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
|
|
7364
7364
|
function getAndSetVariantId() {
|
|
7365
7365
|
function setCookie(name, value, days) {
|
|
7366
7366
|
let expires = '';
|
|
@@ -7419,7 +7419,7 @@ const mu = /* @__PURE__ */ j(uu, [["render", hu]]), gu = () => [{
|
|
|
7419
7419
|
}).join('');
|
|
7420
7420
|
styleEl.innerHTML = newStyleStr;
|
|
7421
7421
|
}
|
|
7422
|
-
}`,
|
|
7422
|
+
}`, bu = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
7423
7423
|
if (!navigator.cookieEnabled) {
|
|
7424
7424
|
return;
|
|
7425
7425
|
}
|
|
@@ -7457,24 +7457,24 @@ const mu = /* @__PURE__ */ j(uu, [["render", hu]]), gu = () => [{
|
|
|
7457
7457
|
...t,
|
|
7458
7458
|
testVariationId: t.id,
|
|
7459
7459
|
id: e == null ? void 0 : e.id
|
|
7460
|
-
})),
|
|
7460
|
+
})), Su = ({
|
|
7461
7461
|
canTrack: e,
|
|
7462
7462
|
content: t
|
|
7463
|
-
}) => !(!(Bt(t).length > 0) || !e),
|
|
7463
|
+
}) => !(!(Bt(t).length > 0) || !e), ku = (e) => e === "react" || e === "reactNative", Cu = G === "angular", Zn = ku(G), wu = () => `
|
|
7464
7464
|
(function() {
|
|
7465
7465
|
if (!window.${An}) {
|
|
7466
|
-
window.${An} = ${
|
|
7466
|
+
window.${An} = ${vu};
|
|
7467
7467
|
}
|
|
7468
7468
|
if (!window.${$n}) {
|
|
7469
|
-
window.${$n} = ${
|
|
7469
|
+
window.${$n} = ${bu};
|
|
7470
7470
|
}${Zn ? `
|
|
7471
7471
|
var thisScriptEl = document.currentScript;
|
|
7472
7472
|
if (thisScriptEl) { thisScriptEl.remove(); }` : ""}
|
|
7473
7473
|
})();
|
|
7474
|
-
`,
|
|
7474
|
+
`, Tu = (e, t) => `
|
|
7475
7475
|
window.${An}(
|
|
7476
|
-
"${t}",${JSON.stringify(e)}, ${Zn}, ${
|
|
7477
|
-
)`,
|
|
7476
|
+
"${t}",${JSON.stringify(e)}, ${Zn}, ${Cu}
|
|
7477
|
+
)`, Eu = ({
|
|
7478
7478
|
contentId: e,
|
|
7479
7479
|
variationId: t
|
|
7480
7480
|
}) => `window.${$n}(
|
|
@@ -7483,7 +7483,7 @@ const mu = /* @__PURE__ */ j(uu, [["render", hu]]), gu = () => [{
|
|
|
7483
7483
|
function Gr(e) {
|
|
7484
7484
|
return Math.round(e * 1e3) / 1e3;
|
|
7485
7485
|
}
|
|
7486
|
-
const
|
|
7486
|
+
const Iu = (e, t, n = !0) => {
|
|
7487
7487
|
if (!(e instanceof HTMLElement))
|
|
7488
7488
|
return null;
|
|
7489
7489
|
let r = n ? e : e.parentElement;
|
|
@@ -7494,7 +7494,7 @@ const Eu = (e, t, n = !0) => {
|
|
|
7494
7494
|
return r;
|
|
7495
7495
|
} while (r = r.parentElement);
|
|
7496
7496
|
return null;
|
|
7497
|
-
},
|
|
7497
|
+
}, Ru = (e) => Iu(e, (t) => {
|
|
7498
7498
|
const n = t.getAttribute("builder-id") || t.id;
|
|
7499
7499
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
7500
7500
|
}), _r = ({
|
|
@@ -7506,8 +7506,8 @@ const Eu = (e, t, n = !0) => {
|
|
|
7506
7506
|
x: i,
|
|
7507
7507
|
y: s
|
|
7508
7508
|
};
|
|
7509
|
-
},
|
|
7510
|
-
const t = e.target, n = t &&
|
|
7509
|
+
}, Au = (e) => {
|
|
7510
|
+
const t = e.target, n = t && Ru(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
7511
7511
|
return {
|
|
7512
7512
|
targetBuilderElement: r || void 0,
|
|
7513
7513
|
metadata: {
|
|
@@ -7522,7 +7522,7 @@ const Eu = (e, t, n = !0) => {
|
|
|
7522
7522
|
builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
|
|
7523
7523
|
}
|
|
7524
7524
|
};
|
|
7525
|
-
},
|
|
7525
|
+
}, $u = ["svelte", "qwik", "vue"], xu = () => $u.includes(G) && (oe() || qn()), Pu = (e) => {
|
|
7526
7526
|
var i;
|
|
7527
7527
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
|
|
7528
7528
|
let o = "";
|
|
@@ -7548,15 +7548,15 @@ font-weight: ${s};
|
|
|
7548
7548
|
`.trim());
|
|
7549
7549
|
}
|
|
7550
7550
|
return o;
|
|
7551
|
-
},
|
|
7551
|
+
}, Ou = ({
|
|
7552
7552
|
customFonts: e
|
|
7553
7553
|
}) => {
|
|
7554
7554
|
var t;
|
|
7555
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
7556
|
-
},
|
|
7555
|
+
return ((t = e == null ? void 0 : e.map((n) => Pu(n))) == null ? void 0 : t.join(" ")) || "";
|
|
7556
|
+
}, Nu = ({
|
|
7557
7557
|
cssCode: e,
|
|
7558
7558
|
contentId: t
|
|
7559
|
-
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "",
|
|
7559
|
+
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Bu = `
|
|
7560
7560
|
.builder-button {
|
|
7561
7561
|
all: unset;
|
|
7562
7562
|
}
|
|
@@ -7573,7 +7573,7 @@ font-weight: ${s};
|
|
|
7573
7573
|
text-align: inherit;
|
|
7574
7574
|
font-family: inherit;
|
|
7575
7575
|
}
|
|
7576
|
-
`,
|
|
7576
|
+
`, ju = (e) => e ? "" : Bu, Vu = (e) => `variant-${e}`, Du = B({
|
|
7577
7577
|
name: "enable-editor",
|
|
7578
7578
|
components: { DynamicDiv: Ct },
|
|
7579
7579
|
props: [
|
|
@@ -7605,8 +7605,8 @@ font-weight: ${s};
|
|
|
7605
7605
|
httpReqsPending: {},
|
|
7606
7606
|
clicked: !1,
|
|
7607
7607
|
builderContext: vn,
|
|
7608
|
-
needsElementRefDivForEditing:
|
|
7609
|
-
getWrapperClassName:
|
|
7608
|
+
needsElementRefDivForEditing: xu,
|
|
7609
|
+
getWrapperClassName: Vu
|
|
7610
7610
|
};
|
|
7611
7611
|
},
|
|
7612
7612
|
provide() {
|
|
@@ -7777,7 +7777,7 @@ font-weight: ${s};
|
|
|
7777
7777
|
contentId: o,
|
|
7778
7778
|
apiKey: this.apiKey,
|
|
7779
7779
|
variationId: r !== o ? r : void 0,
|
|
7780
|
-
...
|
|
7780
|
+
...Au(e),
|
|
7781
7781
|
unique: !this.clicked
|
|
7782
7782
|
});
|
|
7783
7783
|
}
|
|
@@ -7898,7 +7898,7 @@ font-weight: ${s};
|
|
|
7898
7898
|
}
|
|
7899
7899
|
}
|
|
7900
7900
|
});
|
|
7901
|
-
function
|
|
7901
|
+
function Uu(e, t, n, r, o, i) {
|
|
7902
7902
|
var s, u, c;
|
|
7903
7903
|
return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (v(), U(dt(e.ContentWrapper), q({
|
|
7904
7904
|
key: 0,
|
|
@@ -7919,26 +7919,26 @@ function Du(e, t, n, r, o, i) {
|
|
|
7919
7919
|
_: 3
|
|
7920
7920
|
}, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : F("", !0);
|
|
7921
7921
|
}
|
|
7922
|
-
const
|
|
7922
|
+
const Wu = /* @__PURE__ */ j(Du, [["render", Uu]]), Lu = B({
|
|
7923
7923
|
name: "content-styles",
|
|
7924
7924
|
components: { InlinedStyles: Ht },
|
|
7925
7925
|
props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
|
|
7926
7926
|
data() {
|
|
7927
7927
|
return {
|
|
7928
7928
|
injectedStyles: `
|
|
7929
|
-
${
|
|
7929
|
+
${Nu({
|
|
7930
7930
|
cssCode: this.cssCode,
|
|
7931
7931
|
contentId: this.contentId
|
|
7932
7932
|
})}
|
|
7933
|
-
${
|
|
7933
|
+
${Ou({
|
|
7934
7934
|
customFonts: this.customFonts
|
|
7935
7935
|
})}
|
|
7936
|
-
${
|
|
7936
|
+
${ju(this.isNestedRender)}
|
|
7937
7937
|
`.trim()
|
|
7938
7938
|
};
|
|
7939
7939
|
}
|
|
7940
7940
|
});
|
|
7941
|
-
function
|
|
7941
|
+
function Fu(e, t, n, r, o, i) {
|
|
7942
7942
|
const s = W("InlinedStyles");
|
|
7943
7943
|
return v(), U(s, {
|
|
7944
7944
|
id: "builderio-content",
|
|
@@ -7946,7 +7946,7 @@ function Lu(e, t, n, r, o, i) {
|
|
|
7946
7946
|
nonce: e.nonce
|
|
7947
7947
|
}, null, 8, ["styles", "nonce"]);
|
|
7948
7948
|
}
|
|
7949
|
-
const
|
|
7949
|
+
const Mu = /* @__PURE__ */ j(Lu, [["render", Fu]]), Hu = ({
|
|
7950
7950
|
content: e,
|
|
7951
7951
|
data: t,
|
|
7952
7952
|
locale: n
|
|
@@ -7963,7 +7963,7 @@ const Fu = /* @__PURE__ */ j(Wu, [["render", Lu]]), Mu = ({
|
|
|
7963
7963
|
locale: n
|
|
7964
7964
|
} : {}
|
|
7965
7965
|
};
|
|
7966
|
-
},
|
|
7966
|
+
}, Ku = ({
|
|
7967
7967
|
content: e,
|
|
7968
7968
|
data: t
|
|
7969
7969
|
}) => e ? {
|
|
@@ -7973,12 +7973,12 @@ const Fu = /* @__PURE__ */ j(Wu, [["render", Lu]]), Mu = ({
|
|
|
7973
7973
|
...t
|
|
7974
7974
|
},
|
|
7975
7975
|
meta: e == null ? void 0 : e.meta
|
|
7976
|
-
} : void 0,
|
|
7976
|
+
} : void 0, zu = Zo, qu = B({
|
|
7977
7977
|
name: "content-component",
|
|
7978
7978
|
components: {
|
|
7979
|
-
EnableEditor:
|
|
7979
|
+
EnableEditor: Wu,
|
|
7980
7980
|
InlinedScript: Qn,
|
|
7981
|
-
ContentStyles:
|
|
7981
|
+
ContentStyles: Mu,
|
|
7982
7982
|
Blocks: Ue,
|
|
7983
7983
|
DynamicDiv: Ct
|
|
7984
7984
|
},
|
|
@@ -8008,7 +8008,7 @@ const Fu = /* @__PURE__ */ j(Wu, [["render", Lu]]), Mu = ({
|
|
|
8008
8008
|
data() {
|
|
8009
8009
|
var e, t;
|
|
8010
8010
|
return {
|
|
8011
|
-
scriptStr:
|
|
8011
|
+
scriptStr: Eu({
|
|
8012
8012
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
8013
8013
|
variationId: (e = this.content) == null ? void 0 : e.testVariationId,
|
|
8014
8014
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
@@ -8021,19 +8021,19 @@ const Fu = /* @__PURE__ */ j(Wu, [["render", Lu]]), Mu = ({
|
|
|
8021
8021
|
(n, { component: r, ...o }) => ({
|
|
8022
8022
|
...n,
|
|
8023
8023
|
[o.name]: {
|
|
8024
|
-
component:
|
|
8024
|
+
component: zu(r),
|
|
8025
8025
|
...Dt(o)
|
|
8026
8026
|
}
|
|
8027
8027
|
}),
|
|
8028
8028
|
{}
|
|
8029
8029
|
),
|
|
8030
8030
|
builderContextSignal: {
|
|
8031
|
-
content:
|
|
8031
|
+
content: Ku({
|
|
8032
8032
|
content: this.content,
|
|
8033
8033
|
data: this.data
|
|
8034
8034
|
}),
|
|
8035
8035
|
localState: void 0,
|
|
8036
|
-
rootState:
|
|
8036
|
+
rootState: Hu({
|
|
8037
8037
|
content: this.content,
|
|
8038
8038
|
data: this.data,
|
|
8039
8039
|
locale: this.locale
|
|
@@ -8109,7 +8109,7 @@ const Fu = /* @__PURE__ */ j(Wu, [["render", Lu]]), Mu = ({
|
|
|
8109
8109
|
}
|
|
8110
8110
|
}
|
|
8111
8111
|
});
|
|
8112
|
-
function
|
|
8112
|
+
function Gu(e, t, n, r, o, i) {
|
|
8113
8113
|
const s = W("InlinedScript"), u = W("ContentStyles"), c = W("Blocks"), m = W("EnableEditor");
|
|
8114
8114
|
return v(), U(m, q({
|
|
8115
8115
|
apiHost: e.apiHost,
|
|
@@ -8157,12 +8157,12 @@ function qu(e, t, n, r, o, i) {
|
|
|
8157
8157
|
_: 1
|
|
8158
8158
|
}, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
|
|
8159
8159
|
}
|
|
8160
|
-
const
|
|
8160
|
+
const _u = /* @__PURE__ */ j(qu, [["render", Gu]]), Ju = B({
|
|
8161
8161
|
name: "content-variants",
|
|
8162
8162
|
components: {
|
|
8163
8163
|
InlinedScript: Qn,
|
|
8164
8164
|
InlinedStyles: Ht,
|
|
8165
|
-
ContentComponent:
|
|
8165
|
+
ContentComponent: _u
|
|
8166
8166
|
},
|
|
8167
8167
|
props: [
|
|
8168
8168
|
"canTrack",
|
|
@@ -8187,15 +8187,15 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = B({
|
|
|
8187
8187
|
],
|
|
8188
8188
|
data() {
|
|
8189
8189
|
return {
|
|
8190
|
-
shouldRenderVariants:
|
|
8190
|
+
shouldRenderVariants: Su({
|
|
8191
8191
|
canTrack: Xe(this.canTrack),
|
|
8192
8192
|
content: this.content
|
|
8193
8193
|
}),
|
|
8194
|
-
shouldEmitPersonalizationFns:
|
|
8194
|
+
shouldEmitPersonalizationFns: Va(this.content),
|
|
8195
8195
|
SDKS_SUPPORTING_PERSONALIZATION: No,
|
|
8196
|
-
getInitPersonalizationVariantsFnsScriptString:
|
|
8196
|
+
getInitPersonalizationVariantsFnsScriptString: Da,
|
|
8197
8197
|
TARGET: G,
|
|
8198
|
-
getInitVariantsFnsScriptString:
|
|
8198
|
+
getInitVariantsFnsScriptString: wu,
|
|
8199
8199
|
getVariants: Bt
|
|
8200
8200
|
};
|
|
8201
8201
|
},
|
|
@@ -8204,7 +8204,7 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = B({
|
|
|
8204
8204
|
computed: {
|
|
8205
8205
|
updateCookieAndStylesScriptStr() {
|
|
8206
8206
|
var e;
|
|
8207
|
-
return
|
|
8207
|
+
return Tu(
|
|
8208
8208
|
Bt(this.content).map((t) => ({
|
|
8209
8209
|
id: t.testVariationId,
|
|
8210
8210
|
testRatio: t.testRatio
|
|
@@ -8227,7 +8227,7 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = B({
|
|
|
8227
8227
|
}
|
|
8228
8228
|
}
|
|
8229
8229
|
});
|
|
8230
|
-
function
|
|
8230
|
+
function Xu(e, t, n, r, o, i) {
|
|
8231
8231
|
const s = W("InlinedScript"), u = W("InlinedStyles"), c = W("ContentComponent");
|
|
8232
8232
|
return v(), w(z, null, [
|
|
8233
8233
|
e.shouldEmitPersonalizationFns ? (v(), w(z, { key: 0 }, [
|
|
@@ -8306,7 +8306,7 @@ function Ju(e, t, n, r, o, i) {
|
|
|
8306
8306
|
}), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
|
|
8307
8307
|
], 64);
|
|
8308
8308
|
}
|
|
8309
|
-
const
|
|
8309
|
+
const Yu = /* @__PURE__ */ j(Ju, [["render", Xu]]), Qu = async ({
|
|
8310
8310
|
builderContextValue: e,
|
|
8311
8311
|
symbol: t
|
|
8312
8312
|
}) => {
|
|
@@ -8324,9 +8324,9 @@ const Xu = /* @__PURE__ */ j(_u, [["render", Ju]]), Yu = async ({
|
|
|
8324
8324
|
}).catch((n) => {
|
|
8325
8325
|
ue.error("Could not fetch symbol content: ", n);
|
|
8326
8326
|
});
|
|
8327
|
-
},
|
|
8327
|
+
}, Zu = B({
|
|
8328
8328
|
name: "builder-symbol",
|
|
8329
|
-
components: { ContentVariants:
|
|
8329
|
+
components: { ContentVariants: Yu, DynamicDiv: Ct },
|
|
8330
8330
|
props: [
|
|
8331
8331
|
"symbol",
|
|
8332
8332
|
"builderComponents",
|
|
@@ -8383,7 +8383,7 @@ const Xu = /* @__PURE__ */ j(_u, [["render", Ju]]), Yu = async ({
|
|
|
8383
8383
|
methods: {
|
|
8384
8384
|
setContent() {
|
|
8385
8385
|
var e;
|
|
8386
|
-
this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) ||
|
|
8386
|
+
this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Qu({
|
|
8387
8387
|
symbol: this.symbol,
|
|
8388
8388
|
builderContextValue: this.builderContext
|
|
8389
8389
|
}).then((t) => {
|
|
@@ -8393,7 +8393,7 @@ const Xu = /* @__PURE__ */ j(_u, [["render", Ju]]), Yu = async ({
|
|
|
8393
8393
|
}
|
|
8394
8394
|
}
|
|
8395
8395
|
});
|
|
8396
|
-
function
|
|
8396
|
+
function ec(e, t, n, r, o, i) {
|
|
8397
8397
|
var u, c, m, y, b, h, S;
|
|
8398
8398
|
const s = W("ContentVariants");
|
|
8399
8399
|
return v(), w("div", q({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
@@ -8421,47 +8421,47 @@ function Zu(e, t, n, r, o, i) {
|
|
|
8421
8421
|
}, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
|
|
8422
8422
|
], 16);
|
|
8423
8423
|
}
|
|
8424
|
-
const
|
|
8424
|
+
const tc = /* @__PURE__ */ j(Zu, [["render", ec]]);
|
|
8425
8425
|
export {
|
|
8426
|
-
|
|
8426
|
+
lc as A,
|
|
8427
8427
|
Po as B,
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8428
|
+
ha as C,
|
|
8429
|
+
cc as D,
|
|
8430
|
+
Bs as E,
|
|
8431
|
+
ya as F,
|
|
8432
|
+
js as G,
|
|
8433
8433
|
Jn as H,
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8434
|
+
Ea as I,
|
|
8435
|
+
rc as J,
|
|
8436
|
+
fc as K,
|
|
8437
|
+
Aa as S,
|
|
8438
8438
|
G as T,
|
|
8439
|
-
|
|
8439
|
+
gu as V,
|
|
8440
8440
|
j as _,
|
|
8441
8441
|
Oe as a,
|
|
8442
8442
|
vn as b,
|
|
8443
8443
|
Ht as c,
|
|
8444
8444
|
Ne as d,
|
|
8445
8445
|
kt as e,
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
|
|
8446
|
+
ca as f,
|
|
8447
|
+
dc as g,
|
|
8448
|
+
pc as h,
|
|
8449
8449
|
oe as i,
|
|
8450
|
-
|
|
8450
|
+
hc as j,
|
|
8451
8451
|
Xn as k,
|
|
8452
8452
|
ps as l,
|
|
8453
8453
|
si as m,
|
|
8454
|
-
|
|
8455
|
-
|
|
8454
|
+
tc as n,
|
|
8455
|
+
yl as o,
|
|
8456
8456
|
Ue as p,
|
|
8457
|
-
|
|
8457
|
+
Yu as q,
|
|
8458
8458
|
qn as r,
|
|
8459
|
-
|
|
8459
|
+
uc as s,
|
|
8460
8460
|
ds as t,
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
|
|
8464
|
-
|
|
8461
|
+
ic as u,
|
|
8462
|
+
sc as v,
|
|
8463
|
+
zu as w,
|
|
8464
|
+
ac as x,
|
|
8465
8465
|
yo as y,
|
|
8466
|
-
|
|
8466
|
+
oc as z
|
|
8467
8467
|
};
|