@builder.io/sdk-vue 5.2.4 → 5.2.6
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-4bKOAzti.cjs → awaiter-fjkJEwL2.cjs} +1 -1
- package/lib/browser/{awaiter-q_DSjMVD.js → awaiter-uv2UPA7r.js} +1 -1
- package/lib/browser/{block-wrapper-Q-de2c75.cjs → block-wrapper-78wlnbq2.cjs} +1 -1
- package/lib/browser/{block-wrapper-YNVEwJsu.js → block-wrapper-JeL_jj_h.js} +3 -3
- package/lib/browser/blocks/image/image.vue.d.ts +4 -3
- package/lib/browser/{component-ref-watkJI0h.js → component-ref-mKp3QJjb.js} +4 -4
- package/lib/browser/{component-ref-YeF1fWsm.cjs → component-ref-x3D964Ui.cjs} +1 -1
- package/lib/browser/components/content/components/enable-editor.vue.d.ts +1 -0
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-Q4RE1NYS.cjs → get-block-properties-OItA8P2h.cjs} +1 -1
- package/lib/browser/{get-block-properties-DvyFZA6k.js → get-block-properties-gsdrxoRd.js} +1 -1
- package/lib/browser/{index-DfB3iR8x.js → index-SDeF5ljo.js} +106 -97
- package/lib/browser/{index-U5K993_E.cjs → index-bSLOTVNj.cjs} +14 -14
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{live-edit-9dPB7jWd.js → live-edit-G9Y94Fp3.js} +1 -1
- package/lib/browser/{live-edit-naKnBygx.cjs → live-edit-tGxAmCBt.cjs} +1 -1
- package/lib/browser/{repeated-block-BQB7dngl.cjs → repeated-block-Fy3-rBBk.cjs} +1 -1
- package/lib/browser/{repeated-block-B84MBN4t.js → repeated-block-WgU2OssJ.js} +2 -2
- package/lib/browser/{style-wrapper-dtKxKeZ0.cjs → style-wrapper-EIQ0LSdQ.cjs} +1 -1
- package/lib/browser/{style-wrapper-1pU2q-Nj.js → style-wrapper-VY7cdn42.js} +1 -1
- package/lib/browser/style.css +1 -1
- package/lib/edge/{awaiter-HFBt_OAF.cjs → awaiter-To0MGZ0d.cjs} +1 -1
- package/lib/edge/{awaiter-n-gIbP8r.js → awaiter-xFN_a7xm.js} +1 -1
- package/lib/{node/block-wrapper-sEviqhU3.js → edge/block-wrapper-1dKtPesr.js} +3 -3
- package/lib/edge/{block-wrapper-Bu7g5EV_.cjs → block-wrapper-_thG9C3r.cjs} +1 -1
- package/lib/edge/blocks/image/image.vue.d.ts +4 -3
- package/lib/edge/{component-ref-4wKEKXCt.cjs → component-ref-Yf97BoLu.cjs} +1 -1
- package/lib/edge/{component-ref-JHSTjcJx.js → component-ref-e50s6g-8.js} +4 -4
- package/lib/edge/components/content/components/enable-editor.vue.d.ts +1 -0
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-5Wxv-oHg.js → get-block-properties-EY1VltaD.js} +1 -1
- package/lib/edge/{get-block-properties--14I0FqA.cjs → get-block-properties-_upYTgwb.cjs} +1 -1
- package/lib/edge/{index-_fUTINXy.js → index-47Iqxag2.js} +225 -216
- package/lib/edge/{index-78yK7PsD.cjs → index-i395EE2u.cjs} +6 -6
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/{node/live-edit-267vHpIq.cjs → edge/live-edit-NYmL2A7N.cjs} +1 -1
- package/lib/{node/live-edit-U9pCBdly.js → edge/live-edit-pS9LVcQU.js} +1 -1
- package/lib/edge/{repeated-block-nCuqUDP7.cjs → repeated-block-PQOSkxIA.cjs} +1 -1
- package/lib/edge/{repeated-block-F75iqpVr.js → repeated-block-YtApB6_A.js} +2 -2
- package/lib/edge/{style-wrapper-w933365M.js → style-wrapper-_yXwiJwO.js} +1 -1
- package/lib/edge/{style-wrapper-rVAWy7o_.cjs → style-wrapper-lmmE3giL.cjs} +1 -1
- package/lib/edge/style.css +1 -1
- package/lib/node/{awaiter-aepEb5fm.js → awaiter-DD7OMOMu.js} +1 -1
- package/lib/node/{awaiter-MgDlcUHI.cjs → awaiter-ef2JaOpA.cjs} +1 -1
- package/lib/node/{block-wrapper-3kiJne4m.cjs → block-wrapper-2UZEHIep.cjs} +1 -1
- package/lib/{edge/block-wrapper-fPMgU7lR.js → node/block-wrapper-QV4wX7ge.js} +3 -3
- package/lib/node/blocks/image/image.vue.d.ts +4 -3
- package/lib/node/{component-ref-TyXWBWEx.js → component-ref-BVAWbmSM.js} +5 -5
- package/lib/node/{component-ref-6kTApMRL.cjs → component-ref-PBLhD067.cjs} +1 -1
- package/lib/node/components/content/components/enable-editor.vue.d.ts +1 -0
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-3uCiF9Qm.cjs → get-block-properties-FqOAzbbj.cjs} +1 -1
- package/lib/node/{get-block-properties-NjyNQiag.js → get-block-properties-jtxNpCjP.js} +2 -2
- package/lib/node/{index-YYQAkk5S.js → index-ebgoy2dh.js} +61 -52
- package/lib/node/{index-9WZ86cun.cjs → index-sUYiBczF.cjs} +5 -5
- 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-nbVPESOp.cjs → node/live-edit-GjqOXJlY.cjs} +1 -1
- package/lib/{edge/live-edit-9xqNMwhC.js → node/live-edit-WlaTJPy3.js} +1 -1
- package/lib/node/{repeated-block-BfYZqoE0.cjs → repeated-block-M3uZwBiE.cjs} +1 -1
- package/lib/node/{repeated-block-f2s-IUoM.js → repeated-block-u2S52SQe.js} +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-HsyT-bd2.js → should-force-browser-runtime-in-node-0fyWCMQO.js} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-yK_d4v-W.cjs → should-force-browser-runtime-in-node-djPOsLG6.cjs} +1 -1
- package/lib/node/{style-wrapper-vHL9MNhi.cjs → style-wrapper-Kc9lgaOA.cjs} +1 -1
- package/lib/node/{style-wrapper-MJzB79lB.js → style-wrapper-OtcV4kQU.js} +2 -2
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as I, createBlock as S, resolveDynamicComponent as X, mergeProps as $, toHandlers as L, withCtx as
|
|
2
|
+
import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as I, createBlock as S, resolveDynamicComponent as X, mergeProps as $, toHandlers as L, withCtx as O, renderSlot as N, resolveComponent as k, createTextVNode as Vt, toDisplayString as de, defineAsyncComponent as Y, createVNode as E, renderList as F, createCommentVNode as C, h as Qe, createElementVNode as q, normalizeStyle as M, normalizeClass as _, markRaw as Nt } from "vue";
|
|
3
3
|
const Wt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Dt = (e) => typeof e == "string" && Wt.has(e.toLowerCase());
|
|
4
4
|
function W(e = {}, t, n) {
|
|
5
5
|
const o = {};
|
|
@@ -11,7 +11,7 @@ function W(e = {}, t, n) {
|
|
|
11
11
|
}
|
|
12
12
|
return o;
|
|
13
13
|
}
|
|
14
|
-
const
|
|
14
|
+
const xt = y({
|
|
15
15
|
name: "dynamic-renderer",
|
|
16
16
|
props: ["TagName", "attributes", "actionAttributes"],
|
|
17
17
|
data() {
|
|
@@ -23,22 +23,22 @@ const Ot = y({
|
|
|
23
23
|
n[o] = r;
|
|
24
24
|
return n;
|
|
25
25
|
};
|
|
26
|
-
function
|
|
26
|
+
function Ot(e, t, n, o, r, i) {
|
|
27
27
|
return e.isEmptyElement(e.TagName) ? (d(), S(X(e.TagName), $({ key: 1 }, e.attributes, L(e.actionAttributes)), null, 16)) : (d(), h(I, { key: 0 }, [
|
|
28
28
|
typeof e.TagName == "string" ? (d(), S(X(e.TagName), $({ key: 0 }, e.attributes, L(e.actionAttributes)), {
|
|
29
|
-
default:
|
|
29
|
+
default: O(() => [
|
|
30
30
|
N(e.$slots, "default")
|
|
31
31
|
]),
|
|
32
32
|
_: 3
|
|
33
33
|
}, 16)) : (d(), S(X(e.TagName), $({ key: 1 }, e.attributes, L(e.actionAttributes)), {
|
|
34
|
-
default:
|
|
34
|
+
default: O(() => [
|
|
35
35
|
N(e.$slots, "default")
|
|
36
36
|
]),
|
|
37
37
|
_: 3
|
|
38
38
|
}, 16))
|
|
39
39
|
], 64));
|
|
40
40
|
}
|
|
41
|
-
const Te = /* @__PURE__ */ v(
|
|
41
|
+
const Te = /* @__PURE__ */ v(xt, [["render", Ot]]), vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42
42
|
__proto__: null,
|
|
43
43
|
default: Te
|
|
44
44
|
}, Symbol.toStringTag, { value: "Module" })), R = "vue", j = () => {
|
|
@@ -90,7 +90,7 @@ function Lt(e, t, n, o, r, i) {
|
|
|
90
90
|
TagName: e.link ? e.builderLinkComponent || "a" : "button",
|
|
91
91
|
actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
|
|
92
92
|
}, {
|
|
93
|
-
default:
|
|
93
|
+
default: O(() => [
|
|
94
94
|
Vt(de(e.text), 1)
|
|
95
95
|
]),
|
|
96
96
|
_: 1
|
|
@@ -142,14 +142,14 @@ function A(e) {
|
|
|
142
142
|
return Kt() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
|
|
143
143
|
_e(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
|
|
144
144
|
}
|
|
145
|
-
const
|
|
145
|
+
const zt = () => {
|
|
146
146
|
if (T()) {
|
|
147
147
|
const e = new URL(location.href);
|
|
148
148
|
return e.pathname === "" && (e.pathname = "/"), e;
|
|
149
149
|
} else
|
|
150
150
|
return console.warn("Cannot get location for tracking in non-browser environment"), null;
|
|
151
|
-
},
|
|
152
|
-
const e =
|
|
151
|
+
}, qt = () => typeof navigator == "object" && navigator.userAgent || "", et = () => {
|
|
152
|
+
const e = qt(), t = {
|
|
153
153
|
Android() {
|
|
154
154
|
return e.match(/Android/i);
|
|
155
155
|
},
|
|
@@ -168,13 +168,13 @@ const qt = () => {
|
|
|
168
168
|
any() {
|
|
169
169
|
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || R === "reactNative";
|
|
170
170
|
}
|
|
171
|
-
}, n = e.match(/Tablet|iPad/i), o =
|
|
171
|
+
}, n = e.match(/Tablet|iPad/i), o = zt();
|
|
172
172
|
return {
|
|
173
173
|
urlPath: o == null ? void 0 : o.pathname,
|
|
174
174
|
host: (o == null ? void 0 : o.host) || (o == null ? void 0 : o.hostname),
|
|
175
175
|
device: n ? "tablet" : t.any() ? "mobile" : "desktop"
|
|
176
176
|
};
|
|
177
|
-
}, tt = "5.2.
|
|
177
|
+
}, tt = "5.2.6", nt = () => ({
|
|
178
178
|
"X-Builder-SDK": R,
|
|
179
179
|
"X-Builder-SDK-GEN": "2",
|
|
180
180
|
"X-Builder-SDK-Version": tt
|
|
@@ -432,7 +432,7 @@ function lt({
|
|
|
432
432
|
}
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
|
-
const
|
|
435
|
+
const Oe = ({
|
|
436
436
|
code: e,
|
|
437
437
|
builder: t,
|
|
438
438
|
context: n,
|
|
@@ -467,7 +467,7 @@ const mn = ({
|
|
|
467
467
|
return t && n && !o ? (e && B.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;
|
|
468
468
|
}, hn = (e) => (T() || mn({
|
|
469
469
|
shouldLogWarning: !0
|
|
470
|
-
}),
|
|
470
|
+
}), Oe(e)), fn = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, bn = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, gn = (e) => {
|
|
471
471
|
var t, n, o, r, i, s;
|
|
472
472
|
return ((o = (n = (t = fn.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = bn.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
|
|
473
473
|
};
|
|
@@ -730,10 +730,13 @@ const Fe = "builder.", Pn = "options.", ut = (e) => {
|
|
|
730
730
|
return ut(e);
|
|
731
731
|
}, Vn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
|
|
732
732
|
function pt(e, t) {
|
|
733
|
-
|
|
733
|
+
let n;
|
|
734
|
+
try {
|
|
735
|
+
n = new URL(t.origin);
|
|
736
|
+
} catch {
|
|
734
737
|
return !1;
|
|
735
|
-
|
|
736
|
-
return (e || Vn).findIndex((
|
|
738
|
+
}
|
|
739
|
+
return n.protocol !== "http:" && n.protocol !== "https:" ? !1 : (e || Vn).findIndex((o) => o.startsWith("*.") ? n.hostname.endsWith(o.slice(1)) : o === n.hostname) > -1;
|
|
737
740
|
}
|
|
738
741
|
let He = !1;
|
|
739
742
|
const mt = (e) => {
|
|
@@ -871,14 +874,14 @@ const mt = (e) => {
|
|
|
871
874
|
}) => ue({
|
|
872
875
|
name: Ee(e),
|
|
873
876
|
canTrack: !0
|
|
874
|
-
}),
|
|
877
|
+
}), xn = ({
|
|
875
878
|
contentId: e,
|
|
876
879
|
value: t
|
|
877
880
|
}) => we({
|
|
878
881
|
name: Ee(e),
|
|
879
882
|
value: t,
|
|
880
883
|
canTrack: !0
|
|
881
|
-
}), ft = (e) => K(e.id) && K(e.variations) && Object.keys(e.variations).length > 0,
|
|
884
|
+
}), ft = (e) => K(e.id) && K(e.variations) && Object.keys(e.variations).length > 0, On = ({
|
|
882
885
|
id: e,
|
|
883
886
|
variations: t
|
|
884
887
|
}) => {
|
|
@@ -892,8 +895,8 @@ const mt = (e) => {
|
|
|
892
895
|
}
|
|
893
896
|
return e;
|
|
894
897
|
}, bt = (e) => {
|
|
895
|
-
const t =
|
|
896
|
-
return
|
|
898
|
+
const t = On(e);
|
|
899
|
+
return xn({
|
|
897
900
|
contentId: e.id,
|
|
898
901
|
value: t
|
|
899
902
|
}).catch((n) => {
|
|
@@ -1069,11 +1072,11 @@ const Kn = "v3", Ke = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ae = (
|
|
|
1069
1072
|
w.searchParams.set("apiKey", i), w.searchParams.set("limit", String(t)), w.searchParams.set("noTraverse", String(U)), w.searchParams.set("includeRefs", String(!0)), l && w.searchParams.set("locale", l);
|
|
1070
1073
|
let D = n || {};
|
|
1071
1074
|
if (s && w.searchParams.set("enrich", String(s)), w.searchParams.set("omit", p ?? "meta.componentsUsed"), u && w.searchParams.set("fields", u), Number.isFinite(f) && f > -1 && w.searchParams.set("offset", String(Math.floor(f))), typeof g == "boolean" && w.searchParams.set("includeUnpublished", String(g)), c && Ke(c) && w.searchParams.set("cacheSeconds", String(c)), m && Ke(m) && w.searchParams.set("staleCacheSeconds", String(m)), b) {
|
|
1072
|
-
const
|
|
1075
|
+
const x = Se({
|
|
1073
1076
|
sort: b
|
|
1074
1077
|
});
|
|
1075
|
-
for (const H in
|
|
1076
|
-
w.searchParams.set(H, JSON.stringify(
|
|
1078
|
+
for (const H in x)
|
|
1079
|
+
w.searchParams.set(H, JSON.stringify(x[H]));
|
|
1077
1080
|
}
|
|
1078
1081
|
const J = {
|
|
1079
1082
|
...Bn(),
|
|
@@ -1081,28 +1084,28 @@ const Kn = "v3", Ke = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ae = (
|
|
|
1081
1084
|
};
|
|
1082
1085
|
D = {
|
|
1083
1086
|
...D,
|
|
1084
|
-
...
|
|
1087
|
+
...qn(J)
|
|
1085
1088
|
};
|
|
1086
1089
|
const Q = Se(J);
|
|
1087
|
-
for (const
|
|
1088
|
-
w.searchParams.set(
|
|
1090
|
+
for (const x in Q)
|
|
1091
|
+
w.searchParams.set(x, String(Q[x]));
|
|
1089
1092
|
if (Object.keys(D).length > 0 && w.searchParams.set("userAttributes", JSON.stringify(D)), o) {
|
|
1090
|
-
const
|
|
1093
|
+
const x = yt({
|
|
1091
1094
|
query: o
|
|
1092
1095
|
});
|
|
1093
|
-
for (const H in
|
|
1094
|
-
w.searchParams.set(H, JSON.stringify(
|
|
1096
|
+
for (const H in x)
|
|
1097
|
+
w.searchParams.set(H, JSON.stringify(x[H]));
|
|
1095
1098
|
}
|
|
1096
1099
|
return w;
|
|
1097
|
-
},
|
|
1100
|
+
}, zn = (e) => {
|
|
1098
1101
|
const t = {};
|
|
1099
1102
|
for (const n in e)
|
|
1100
1103
|
n.startsWith("userAttributes.") && (t[n] = e[n], delete e[n]);
|
|
1101
1104
|
return t;
|
|
1102
|
-
},
|
|
1105
|
+
}, qn = (e) => {
|
|
1103
1106
|
if (T() && e.preview === "BUILDER_STUDIO") {
|
|
1104
1107
|
e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
|
|
1105
|
-
const t =
|
|
1108
|
+
const t = zn(e), {
|
|
1106
1109
|
userAttributes: n
|
|
1107
1110
|
} = jn(t);
|
|
1108
1111
|
return n;
|
|
@@ -1395,22 +1398,22 @@ const wt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1395
1398
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1396
1399
|
e
|
|
1397
1400
|
), e;
|
|
1398
|
-
}), po = () => import("./block-wrapper-
|
|
1401
|
+
}), po = () => import("./block-wrapper-JeL_jj_h.js").then((e) => e.default).catch((e) => {
|
|
1399
1402
|
throw console.error(
|
|
1400
1403
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1401
1404
|
e
|
|
1402
1405
|
), e;
|
|
1403
|
-
}), mo = () => import("./component-ref-
|
|
1406
|
+
}), mo = () => import("./component-ref-mKp3QJjb.js").then((e) => e.default).catch((e) => {
|
|
1404
1407
|
throw console.error(
|
|
1405
1408
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1406
1409
|
e
|
|
1407
1410
|
), e;
|
|
1408
|
-
}), ho = () => import("./repeated-block-
|
|
1411
|
+
}), ho = () => import("./repeated-block-WgU2OssJ.js").then((e) => e.default).catch((e) => {
|
|
1409
1412
|
throw console.error(
|
|
1410
1413
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1411
1414
|
e
|
|
1412
1415
|
), e;
|
|
1413
|
-
}), fo = () => import("./style-wrapper-
|
|
1416
|
+
}), fo = () => import("./style-wrapper-VY7cdn42.js").then((e) => e.default).catch((e) => {
|
|
1414
1417
|
throw console.error(
|
|
1415
1418
|
"Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
|
|
1416
1419
|
e
|
|
@@ -1551,7 +1554,7 @@ function go(e, t, n, o, r, i) {
|
|
|
1551
1554
|
block: e.processedBlock,
|
|
1552
1555
|
context: e.context
|
|
1553
1556
|
}, {
|
|
1554
|
-
default:
|
|
1557
|
+
default: O(() => [
|
|
1555
1558
|
E(l, {
|
|
1556
1559
|
componentRef: e.componentRefProps.componentRef,
|
|
1557
1560
|
componentOptions: e.componentRefProps.componentOptions,
|
|
@@ -1660,7 +1663,7 @@ function vo(e, t, n, o, r, i) {
|
|
|
1660
1663
|
onMouseEnter: (s) => e.onMouseEnter(),
|
|
1661
1664
|
onKeyPress: (s) => e.onClick()
|
|
1662
1665
|
}, { ...e.BlocksWrapperProps }), {
|
|
1663
|
-
default:
|
|
1666
|
+
default: O(() => [
|
|
1664
1667
|
N(e.$slots, "default", {}, void 0, !0)
|
|
1665
1668
|
]),
|
|
1666
1669
|
_: 3
|
|
@@ -1697,7 +1700,7 @@ function Co(e, t, n, o, r, i) {
|
|
|
1697
1700
|
classNameProp: e.className,
|
|
1698
1701
|
BlocksWrapper: ((p = e.context) == null ? void 0 : p.BlocksWrapper) || ((f = e.builderContext) == null ? void 0 : f.BlocksWrapper)
|
|
1699
1702
|
}, {
|
|
1700
|
-
default:
|
|
1703
|
+
default: O(() => [
|
|
1701
1704
|
N(e.$slots, "default"),
|
|
1702
1705
|
e.blocks ? (d(!0), h(I, { key: 0 }, F(e.blocks, (c, m) => {
|
|
1703
1706
|
var b;
|
|
@@ -1713,7 +1716,7 @@ function Co(e, t, n, o, r, i) {
|
|
|
1713
1716
|
_: 3
|
|
1714
1717
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
|
|
1715
1718
|
}
|
|
1716
|
-
const
|
|
1719
|
+
const z = /* @__PURE__ */ v(ko, [["render", Co]]), To = y({
|
|
1717
1720
|
name: "dynamic-div",
|
|
1718
1721
|
props: []
|
|
1719
1722
|
});
|
|
@@ -1799,7 +1802,7 @@ const te = /* @__PURE__ */ v(To, [["render", wo]]), Io = /* @__PURE__ */ Object.
|
|
|
1799
1802
|
components: {
|
|
1800
1803
|
InlinedStyles: pe,
|
|
1801
1804
|
DynamicRenderer: Te,
|
|
1802
|
-
Blocks:
|
|
1805
|
+
Blocks: z,
|
|
1803
1806
|
DynamicDiv: te
|
|
1804
1807
|
},
|
|
1805
1808
|
props: [
|
|
@@ -1954,7 +1957,7 @@ function Ao(e, t, n, o, r, i) {
|
|
|
1954
1957
|
actionAttributes: {},
|
|
1955
1958
|
attributes: e.getAttributes(p, f)
|
|
1956
1959
|
}, {
|
|
1957
|
-
default:
|
|
1960
|
+
default: O(() => [
|
|
1958
1961
|
E(l, {
|
|
1959
1962
|
path: `columns.${f}.blocks`,
|
|
1960
1963
|
parent: e.builderBlock.id,
|
|
@@ -1981,7 +1984,7 @@ function Vo(e, t, n, o, r, i) {
|
|
|
1981
1984
|
]);
|
|
1982
1985
|
}
|
|
1983
1986
|
const No = /* @__PURE__ */ v(Bo, [["render", Vo]]);
|
|
1984
|
-
function
|
|
1987
|
+
function ze(e) {
|
|
1985
1988
|
return e.replace(/http(s)?:/, "");
|
|
1986
1989
|
}
|
|
1987
1990
|
function Wo(e = "", t, n) {
|
|
@@ -1992,11 +1995,11 @@ function Do(e, t) {
|
|
|
1992
1995
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
1993
1996
|
return e;
|
|
1994
1997
|
if (t === "master")
|
|
1995
|
-
return
|
|
1998
|
+
return ze(e);
|
|
1996
1999
|
const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
|
|
1997
2000
|
if (n) {
|
|
1998
2001
|
const o = e.split(n[0]), r = n[3], i = t.match("x") ? t : `${t}x`;
|
|
1999
|
-
return
|
|
2002
|
+
return ze(`${o[0]}_${i}${r}`);
|
|
2000
2003
|
}
|
|
2001
2004
|
return null;
|
|
2002
2005
|
}
|
|
@@ -2011,7 +2014,7 @@ function oe(e) {
|
|
|
2011
2014
|
}
|
|
2012
2015
|
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Do(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
|
|
2013
2016
|
}
|
|
2014
|
-
const
|
|
2017
|
+
const xo = y({
|
|
2015
2018
|
name: "builder-image",
|
|
2016
2019
|
props: [
|
|
2017
2020
|
"lazy",
|
|
@@ -2019,14 +2022,14 @@ const Oo = y({
|
|
|
2019
2022
|
"src",
|
|
2020
2023
|
"srcset",
|
|
2021
2024
|
"noWebp",
|
|
2022
|
-
"
|
|
2025
|
+
"sizes",
|
|
2023
2026
|
"highPriority",
|
|
2027
|
+
"aspectRatio",
|
|
2024
2028
|
"altText",
|
|
2025
2029
|
"title",
|
|
2026
2030
|
"backgroundPosition",
|
|
2027
2031
|
"backgroundSize",
|
|
2028
2032
|
"className",
|
|
2029
|
-
"sizes",
|
|
2030
2033
|
"builderBlock",
|
|
2031
2034
|
"fitContent"
|
|
2032
2035
|
],
|
|
@@ -2051,6 +2054,9 @@ const Oo = y({
|
|
|
2051
2054
|
var e;
|
|
2052
2055
|
return (e = this.srcSetToUse) != null && e.match(/builder\.io/) && !this.noWebp ? this.srcSetToUse.replace(/\?/g, "?format=webp&") : "";
|
|
2053
2056
|
},
|
|
2057
|
+
sizesToUse() {
|
|
2058
|
+
return this.sizes || (this.highPriority ? void 0 : "auto");
|
|
2059
|
+
},
|
|
2054
2060
|
aspectRatioCss() {
|
|
2055
2061
|
const e = {
|
|
2056
2062
|
position: "absolute",
|
|
@@ -2062,20 +2068,21 @@ const Oo = y({
|
|
|
2062
2068
|
return this.aspectRatio ? e : void 0;
|
|
2063
2069
|
}
|
|
2064
2070
|
}
|
|
2065
|
-
}),
|
|
2071
|
+
}), Oo = ["srcset", "sizes"], Uo = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Lo = {
|
|
2066
2072
|
key: 2,
|
|
2067
2073
|
class: "div-t43jfuqn6g-2"
|
|
2068
2074
|
};
|
|
2069
2075
|
function Fo(e, t, n, o, r, i) {
|
|
2070
2076
|
var s, l, a, u, p, f;
|
|
2071
2077
|
return d(), h(I, null, [
|
|
2072
|
-
|
|
2078
|
+
q("picture", null, [
|
|
2073
2079
|
e.webpSrcSet ? (d(), h("source", {
|
|
2074
2080
|
key: 0,
|
|
2075
2081
|
type: "image/webp",
|
|
2076
|
-
srcset: e.webpSrcSet
|
|
2077
|
-
|
|
2078
|
-
|
|
2082
|
+
srcset: e.webpSrcSet,
|
|
2083
|
+
sizes: e.sizesToUse
|
|
2084
|
+
}, null, 8, Oo)) : C("", !0),
|
|
2085
|
+
q("img", {
|
|
2079
2086
|
loading: e.highPriority ? "eager" : "lazy",
|
|
2080
2087
|
fetchpriority: e.highPriority ? "high" : "auto",
|
|
2081
2088
|
alt: e.altText,
|
|
@@ -2091,7 +2098,7 @@ function Fo(e, t, n, o, r, i) {
|
|
|
2091
2098
|
),
|
|
2092
2099
|
src: e.image,
|
|
2093
2100
|
srcset: e.srcSetToUse,
|
|
2094
|
-
sizes: e.
|
|
2101
|
+
sizes: e.sizesToUse
|
|
2095
2102
|
}, null, 14, Uo)
|
|
2096
2103
|
]),
|
|
2097
2104
|
e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), h("div", {
|
|
@@ -2107,7 +2114,7 @@ function Fo(e, t, n, o, r, i) {
|
|
|
2107
2114
|
])) : C("", !0)
|
|
2108
2115
|
], 64);
|
|
2109
2116
|
}
|
|
2110
|
-
const Ho = /* @__PURE__ */ v(
|
|
2117
|
+
const Ho = /* @__PURE__ */ v(xo, [["render", Fo], ["__scopeId", "data-v-17b592cd"]]), Mo = y({
|
|
2111
2118
|
name: "builder-section-component",
|
|
2112
2119
|
props: ["attributes", "maxWidth"],
|
|
2113
2120
|
data() {
|
|
@@ -2133,7 +2140,7 @@ function jo(e, t, n, o, r, i) {
|
|
|
2133
2140
|
], 16);
|
|
2134
2141
|
}
|
|
2135
2142
|
const Ko = /* @__PURE__ */ v(Mo, [["render", jo]]);
|
|
2136
|
-
function
|
|
2143
|
+
function zo(e, t, n, o) {
|
|
2137
2144
|
function r(u) {
|
|
2138
2145
|
return typeof u == "string";
|
|
2139
2146
|
}
|
|
@@ -2190,7 +2197,7 @@ function qo(e, t, n, o) {
|
|
|
2190
2197
|
}, a = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
|
|
2191
2198
|
return l.startDate && new Date(l.startDate) > a || l.endDate && new Date(l.endDate) < a ? !1 : !l.query || !l.query.length ? !0 : l.query.every((u) => s(e, u));
|
|
2192
2199
|
}
|
|
2193
|
-
const
|
|
2200
|
+
const qo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
|
|
2194
2201
|
if (!navigator.cookieEnabled) {
|
|
2195
2202
|
return;
|
|
2196
2203
|
}
|
|
@@ -2395,7 +2402,7 @@ function Xo({
|
|
|
2395
2402
|
}
|
|
2396
2403
|
const Zo = () => `
|
|
2397
2404
|
window.${Qo} = ${Go}
|
|
2398
|
-
window.${Rt} = ${
|
|
2405
|
+
window.${Rt} = ${qo}
|
|
2399
2406
|
window.${Et} = ${Jo}
|
|
2400
2407
|
`, Bt = R === "react", _o = (e, t, n) => `window.${Rt}(${JSON.stringify(e)}, "${t}", ${Bt}${n ? `, "${n}"` : ""})`, er = (e, t, n) => `window.${Et}(${JSON.stringify(e)}, "${t}", ${Bt}${n ? `, "${n}"` : ""})`, me = {
|
|
2401
2408
|
"@type": "@builder.io/sdk:Element",
|
|
@@ -2523,7 +2530,7 @@ const Zo = () => `
|
|
|
2523
2530
|
}
|
|
2524
2531
|
}, nr = (e) => e.toString(), or = y({
|
|
2525
2532
|
name: "builder-accordion",
|
|
2526
|
-
components: { Blocks:
|
|
2533
|
+
components: { Blocks: z },
|
|
2527
2534
|
props: [
|
|
2528
2535
|
"grid",
|
|
2529
2536
|
"oneAtATime",
|
|
@@ -2624,7 +2631,7 @@ function ir(e, t, n, o, r, i) {
|
|
|
2624
2631
|
style: M(e.accordionStyles)
|
|
2625
2632
|
}, [
|
|
2626
2633
|
(d(!0), h(I, null, F(e.items, (l, a) => (d(), h(I, { key: a }, [
|
|
2627
|
-
|
|
2634
|
+
q("div", {
|
|
2628
2635
|
class: _(e.getAccordionTitleClassName(a)),
|
|
2629
2636
|
style: M({
|
|
2630
2637
|
...e.accordionTitleStyles,
|
|
@@ -2993,7 +3000,8 @@ const sr = /* @__PURE__ */ v(or, [["render", ir]]), ar = {
|
|
|
2993
3000
|
}, {
|
|
2994
3001
|
name: "sizes",
|
|
2995
3002
|
type: "string",
|
|
2996
|
-
|
|
3003
|
+
advanced: !0,
|
|
3004
|
+
helperText: 'The sizes attribute for responsive images, e.g. "(max-width: 600px) 100vw, 50vw"'
|
|
2997
3005
|
}, {
|
|
2998
3006
|
name: "srcset",
|
|
2999
3007
|
type: "string",
|
|
@@ -3072,7 +3080,7 @@ const sr = /* @__PURE__ */ v(or, [["render", ir]]), ar = {
|
|
|
3072
3080
|
}), mr = y({
|
|
3073
3081
|
name: "builder-personalization-container",
|
|
3074
3082
|
components: {
|
|
3075
|
-
Blocks:
|
|
3083
|
+
Blocks: z,
|
|
3076
3084
|
InlinedStyles: pe,
|
|
3077
3085
|
InlinedScript: Ne
|
|
3078
3086
|
},
|
|
@@ -3161,7 +3169,7 @@ const sr = /* @__PURE__ */ v(or, [["render", ir]]), ar = {
|
|
|
3161
3169
|
filteredVariants() {
|
|
3162
3170
|
return (this.variants || []).filter((e) => {
|
|
3163
3171
|
var t, n, o, r;
|
|
3164
|
-
return
|
|
3172
|
+
return zo(
|
|
3165
3173
|
{
|
|
3166
3174
|
...(n = (t = this.builderContext) == null ? void 0 : t.rootState) != null && n.locale ? {
|
|
3167
3175
|
locale: (r = (o = this.builderContext) == null ? void 0 : o.rootState) == null ? void 0 : r.locale
|
|
@@ -3223,14 +3231,14 @@ function hr(e, t, n, o, r, i) {
|
|
|
3223
3231
|
id: `variants-visibility-script-${(g = e.builderBlock) == null ? void 0 : g.id}`
|
|
3224
3232
|
}, null, 8, ["nonce", "scriptStr", "id"]),
|
|
3225
3233
|
(d(!0), h(I, null, F(e.variants, (w, D) => {
|
|
3226
|
-
var J, Q,
|
|
3234
|
+
var J, Q, x, H;
|
|
3227
3235
|
return d(), S(s, {
|
|
3228
3236
|
key: `${(J = e.builderBlock) == null ? void 0 : J.id}-${D}`,
|
|
3229
3237
|
BlocksWrapperProps: {
|
|
3230
3238
|
...(Q = e.builderContext) == null ? void 0 : Q.BlocksWrapperProps,
|
|
3231
3239
|
"aria-hidden": !0,
|
|
3232
3240
|
hidden: !0,
|
|
3233
|
-
"data-variant-id": `${(
|
|
3241
|
+
"data-variant-id": `${(x = e.builderBlock) == null ? void 0 : x.id}-${D}`
|
|
3234
3242
|
},
|
|
3235
3243
|
blocks: w.blocks,
|
|
3236
3244
|
parent: (H = e.builderBlock) == null ? void 0 : H.id,
|
|
@@ -3238,13 +3246,13 @@ function hr(e, t, n, o, r, i) {
|
|
|
3238
3246
|
context: e.builderContext,
|
|
3239
3247
|
registeredComponents: e.builderComponents
|
|
3240
3248
|
}, {
|
|
3241
|
-
default:
|
|
3242
|
-
var De,
|
|
3249
|
+
default: O(() => {
|
|
3250
|
+
var De, xe;
|
|
3243
3251
|
return [
|
|
3244
3252
|
E(a, {
|
|
3245
3253
|
nonce: ((De = e.builderContext) == null ? void 0 : De.nonce) || "",
|
|
3246
3254
|
scriptStr: e.scriptStr,
|
|
3247
|
-
id: `variants-script-${(
|
|
3255
|
+
id: `variants-script-${(xe = e.builderBlock) == null ? void 0 : xe.id}-${D}`
|
|
3248
3256
|
}, null, 8, ["nonce", "scriptStr", "id"])
|
|
3249
3257
|
];
|
|
3250
3258
|
}),
|
|
@@ -3263,7 +3271,7 @@ function hr(e, t, n, o, r, i) {
|
|
|
3263
3271
|
"data-variant-id": `${(V = e.builderBlock) == null ? void 0 : V.id}-${e.blocksToRender.index}`
|
|
3264
3272
|
}
|
|
3265
3273
|
}, {
|
|
3266
|
-
default:
|
|
3274
|
+
default: O(() => {
|
|
3267
3275
|
var w, D;
|
|
3268
3276
|
return [
|
|
3269
3277
|
e.shouldRenderVariants ? (d(), S(a, {
|
|
@@ -3337,7 +3345,7 @@ const fr = /* @__PURE__ */ v(mr, [["render", hr]]), br = {
|
|
|
3337
3345
|
}
|
|
3338
3346
|
}, yr = y({
|
|
3339
3347
|
name: "builder-slot",
|
|
3340
|
-
components: { Blocks:
|
|
3348
|
+
components: { Blocks: z },
|
|
3341
3349
|
props: ["builderContext", "name", "builderComponents"]
|
|
3342
3350
|
});
|
|
3343
3351
|
function vr(e, t, n, o, r, i) {
|
|
@@ -3542,7 +3550,7 @@ const Sr = /* @__PURE__ */ v(yr, [["render", vr]]), kr = {
|
|
|
3542
3550
|
}
|
|
3543
3551
|
}, Tr = y({
|
|
3544
3552
|
name: "builder-tabs",
|
|
3545
|
-
components: { Blocks:
|
|
3553
|
+
components: { Blocks: z },
|
|
3546
3554
|
props: [
|
|
3547
3555
|
"defaultActiveTab",
|
|
3548
3556
|
"tabs",
|
|
@@ -3572,7 +3580,7 @@ const Sr = /* @__PURE__ */ v(yr, [["render", vr]]), kr = {
|
|
|
3572
3580
|
function $r(e, t, n, o, r, i) {
|
|
3573
3581
|
const s = k("Blocks");
|
|
3574
3582
|
return d(), h("div", null, [
|
|
3575
|
-
|
|
3583
|
+
q("div", {
|
|
3576
3584
|
class: "builder-tabs-wrap",
|
|
3577
3585
|
style: M({
|
|
3578
3586
|
display: "flex",
|
|
@@ -3723,14 +3731,14 @@ const Vr = /* @__PURE__ */ v(Ar, [["render", Br]]), Nr = {
|
|
|
3723
3731
|
}
|
|
3724
3732
|
}
|
|
3725
3733
|
}), Dr = ["innerHTML"];
|
|
3726
|
-
function
|
|
3734
|
+
function xr(e, t, n, o, r, i) {
|
|
3727
3735
|
return d(), h("div", {
|
|
3728
3736
|
ref: "elementRef",
|
|
3729
3737
|
class: _("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
|
|
3730
3738
|
innerHTML: e.code
|
|
3731
3739
|
}, null, 10, Dr);
|
|
3732
3740
|
}
|
|
3733
|
-
const
|
|
3741
|
+
const Or = /* @__PURE__ */ v(Wr, [["render", xr]]), Ur = {
|
|
3734
3742
|
name: "Embed",
|
|
3735
3743
|
static: !0,
|
|
3736
3744
|
inputs: [{
|
|
@@ -3795,7 +3803,7 @@ function jr(e, t, n, o, r, i) {
|
|
|
3795
3803
|
innerHTML: e.content
|
|
3796
3804
|
}, null, 8, Mr);
|
|
3797
3805
|
}
|
|
3798
|
-
const Kr = /* @__PURE__ */ v(Hr, [["render", jr]]),
|
|
3806
|
+
const Kr = /* @__PURE__ */ v(Hr, [["render", jr]]), zr = {
|
|
3799
3807
|
name: "Form:Form",
|
|
3800
3808
|
// editableTags: ['builder-form-error']
|
|
3801
3809
|
defaults: {
|
|
@@ -4032,12 +4040,12 @@ const Kr = /* @__PURE__ */ v(Hr, [["render", jr]]), qr = {
|
|
|
4032
4040
|
builderComponents: !0,
|
|
4033
4041
|
builderLinkComponent: !0
|
|
4034
4042
|
}
|
|
4035
|
-
},
|
|
4043
|
+
}, qr = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Gr = () => {
|
|
4036
4044
|
const e = process.env.NODE_ENV || "production";
|
|
4037
|
-
return
|
|
4045
|
+
return qr.includes(e) ? e : "production";
|
|
4038
4046
|
}, Jr = y({
|
|
4039
4047
|
name: "builder-form-component",
|
|
4040
|
-
components: { Blocks:
|
|
4048
|
+
components: { Blocks: z },
|
|
4041
4049
|
props: [
|
|
4042
4050
|
"builderContext",
|
|
4043
4051
|
"previewState",
|
|
@@ -4214,7 +4222,7 @@ const Kr = /* @__PURE__ */ v(Hr, [["render", jr]]), qr = {
|
|
|
4214
4222
|
}
|
|
4215
4223
|
}), Qr = ["validate", "action", "method", "name"], Yr = {
|
|
4216
4224
|
key: 2,
|
|
4217
|
-
class: "builder-form-error-text pre-
|
|
4225
|
+
class: "builder-form-error-text pre-2oa2wtipkzk"
|
|
4218
4226
|
};
|
|
4219
4227
|
function Xr(e, t, n, o, r, i) {
|
|
4220
4228
|
const s = k("Blocks");
|
|
@@ -4248,7 +4256,7 @@ function Xr(e, t, n, o, r, i) {
|
|
|
4248
4256
|
}, null, 8, ["blocks", "context"])) : C("", !0)
|
|
4249
4257
|
], 16, Qr);
|
|
4250
4258
|
}
|
|
4251
|
-
const Zr = /* @__PURE__ */ v(Jr, [["render", Xr], ["__scopeId", "data-v-
|
|
4259
|
+
const Zr = /* @__PURE__ */ v(Jr, [["render", Xr], ["__scopeId", "data-v-77c7888c"]]), _r = {
|
|
4252
4260
|
name: "Form:Input",
|
|
4253
4261
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
4254
4262
|
inputs: [
|
|
@@ -4756,7 +4764,7 @@ const Ti = /* @__PURE__ */ v(Si, [["render", Ci]]), wi = {
|
|
|
4756
4764
|
function Pi(e, t, n, o, r, i) {
|
|
4757
4765
|
var s, l, a, u, p, f, c;
|
|
4758
4766
|
return d(), h("div", $i, [
|
|
4759
|
-
|
|
4767
|
+
q("video", $({
|
|
4760
4768
|
class: "builder-video",
|
|
4761
4769
|
ref: "videoRef",
|
|
4762
4770
|
preload: e.lazyLoad ? "none" : e.preload || "metadata",
|
|
@@ -4775,7 +4783,7 @@ function Pi(e, t, n, o, r, i) {
|
|
|
4775
4783
|
},
|
|
4776
4784
|
poster: e.posterImage
|
|
4777
4785
|
}, e.spreadProps), [
|
|
4778
|
-
|
|
4786
|
+
q("source", $(
|
|
4779
4787
|
{ type: "video/mp4" },
|
|
4780
4788
|
e.lazyLoad ? {
|
|
4781
4789
|
"data-src": e.video
|
|
@@ -4802,14 +4810,14 @@ function Pi(e, t, n, o, r, i) {
|
|
|
4802
4810
|
]);
|
|
4803
4811
|
}
|
|
4804
4812
|
const Bi = /* @__PURE__ */ v(Ii, [["render", Pi]]), Vi = () => [{
|
|
4805
|
-
component:
|
|
4813
|
+
component: Or,
|
|
4806
4814
|
...Nr
|
|
4807
4815
|
}, {
|
|
4808
4816
|
component: Kr,
|
|
4809
4817
|
...Ur
|
|
4810
4818
|
}, {
|
|
4811
4819
|
component: Zr,
|
|
4812
|
-
...
|
|
4820
|
+
...zr
|
|
4813
4821
|
}, {
|
|
4814
4822
|
component: oi,
|
|
4815
4823
|
..._r
|
|
@@ -4828,7 +4836,7 @@ const Bi = /* @__PURE__ */ v(Ii, [["render", Pi]]), Vi = () => [{
|
|
|
4828
4836
|
}, {
|
|
4829
4837
|
component: Bi,
|
|
4830
4838
|
...wi
|
|
4831
|
-
}],
|
|
4839
|
+
}], qe = () => [{
|
|
4832
4840
|
component: Ft,
|
|
4833
4841
|
...ar
|
|
4834
4842
|
}, {
|
|
@@ -4961,7 +4969,7 @@ const Bi = /* @__PURE__ */ v(Ii, [["render", Pi]]), Vi = () => [{
|
|
|
4961
4969
|
})), Di = ({
|
|
4962
4970
|
canTrack: e,
|
|
4963
4971
|
content: t
|
|
4964
|
-
}) => !(!(ie(t).length > 0) || !e),
|
|
4972
|
+
}) => !(!(ie(t).length > 0) || !e), xi = (e) => e === "react" || e === "reactNative", Oi = R === "angular", We = xi(R), Ui = () => `
|
|
4965
4973
|
(function() {
|
|
4966
4974
|
if (!window.${ke}) {
|
|
4967
4975
|
window.${ke} = ${Ni};
|
|
@@ -4974,7 +4982,7 @@ const Bi = /* @__PURE__ */ v(Ii, [["render", Pi]]), Vi = () => [{
|
|
|
4974
4982
|
})();
|
|
4975
4983
|
`, Li = (e, t) => `
|
|
4976
4984
|
window.${ke}(
|
|
4977
|
-
"${t}",${JSON.stringify(e)}, ${We}, ${
|
|
4985
|
+
"${t}",${JSON.stringify(e)}, ${We}, ${Oi}
|
|
4978
4986
|
)`, Fi = ({
|
|
4979
4987
|
contentId: e,
|
|
4980
4988
|
variationId: t
|
|
@@ -5023,7 +5031,7 @@ const Hi = (e, t, n = !0) => {
|
|
|
5023
5031
|
builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
|
|
5024
5032
|
}
|
|
5025
5033
|
};
|
|
5026
|
-
}, Ki = ["svelte", "qwik", "vue"],
|
|
5034
|
+
}, Ki = ["svelte", "qwik", "vue"], zi = () => Ki.includes(R) && (A() || Re()), qi = (e) => {
|
|
5027
5035
|
var i;
|
|
5028
5036
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
|
|
5029
5037
|
let r = "";
|
|
@@ -5053,7 +5061,7 @@ font-weight: ${s};
|
|
|
5053
5061
|
customFonts: e
|
|
5054
5062
|
}) => {
|
|
5055
5063
|
var t;
|
|
5056
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
5064
|
+
return ((t = e == null ? void 0 : e.map((n) => qi(n))) == null ? void 0 : t.join(" ")) || "";
|
|
5057
5065
|
}, Ji = ({
|
|
5058
5066
|
cssCode: e,
|
|
5059
5067
|
contentId: t
|
|
@@ -5100,12 +5108,13 @@ font-weight: ${s};
|
|
|
5100
5108
|
contextValue: this.builderContextSignal,
|
|
5101
5109
|
prevData: null,
|
|
5102
5110
|
prevLocale: "",
|
|
5111
|
+
prevContent: null,
|
|
5103
5112
|
ContentWrapper: this.contentWrapper || "div",
|
|
5104
5113
|
httpReqsData: {},
|
|
5105
5114
|
httpReqsPending: {},
|
|
5106
5115
|
clicked: !1,
|
|
5107
5116
|
builderContext: ge,
|
|
5108
|
-
needsElementRefDivForEditing:
|
|
5117
|
+
needsElementRefDivForEditing: zi,
|
|
5109
5118
|
getWrapperClassName: Xi
|
|
5110
5119
|
};
|
|
5111
5120
|
},
|
|
@@ -5413,7 +5422,7 @@ function _i(e, t, n, o, r, i) {
|
|
|
5413
5422
|
onIniteditingbldr: (u) => e.elementRef_onIniteditingbldr(u),
|
|
5414
5423
|
onInitpreviewingbldr: (u) => e.elementRef_onInitpreviewingbldr(u)
|
|
5415
5424
|
}, { ...e.showContentProps, ...e.contentWrapperProps }), {
|
|
5416
|
-
default:
|
|
5425
|
+
default: O(() => [
|
|
5417
5426
|
N(e.$slots, "default")
|
|
5418
5427
|
]),
|
|
5419
5428
|
_: 3
|
|
@@ -5479,7 +5488,7 @@ const os = /* @__PURE__ */ v(ts, [["render", ns]]), rs = ({
|
|
|
5479
5488
|
EnableEditor: es,
|
|
5480
5489
|
InlinedScript: Ne,
|
|
5481
5490
|
ContentStyles: os,
|
|
5482
|
-
Blocks:
|
|
5491
|
+
Blocks: z,
|
|
5483
5492
|
DynamicDiv: te
|
|
5484
5493
|
},
|
|
5485
5494
|
props: [
|
|
@@ -5515,7 +5524,7 @@ const os = /* @__PURE__ */ v(ts, [["render", ns]]), rs = ({
|
|
|
5515
5524
|
contentId: (t = this.content) == null ? void 0 : t.id
|
|
5516
5525
|
}),
|
|
5517
5526
|
registeredComponents: [
|
|
5518
|
-
...
|
|
5527
|
+
...qe(),
|
|
5519
5528
|
...this.customComponents || []
|
|
5520
5529
|
].reduce(
|
|
5521
5530
|
(n, { component: o, ...r }) => ({
|
|
@@ -5544,7 +5553,7 @@ const os = /* @__PURE__ */ v(ts, [["render", ns]]), rs = ({
|
|
|
5544
5553
|
apiKey: this.apiKey,
|
|
5545
5554
|
apiVersion: this.apiVersion,
|
|
5546
5555
|
componentInfos: [
|
|
5547
|
-
...
|
|
5556
|
+
...qe(),
|
|
5548
5557
|
...this.customComponents || []
|
|
5549
5558
|
].reduce(
|
|
5550
5559
|
(n, { component: o, ...r }) => ({
|
|
@@ -5629,7 +5638,7 @@ function ls(e, t, n, o, r, i) {
|
|
|
5629
5638
|
trustedHosts: e.trustedHosts,
|
|
5630
5639
|
isNestedRender: e.isNestedRender
|
|
5631
5640
|
}, {}), {
|
|
5632
|
-
default:
|
|
5641
|
+
default: O(() => {
|
|
5633
5642
|
var p, f, c, m, b, g, P;
|
|
5634
5643
|
return [
|
|
5635
5644
|
e.isSsrAbTest ? (d(), S(s, {
|
|
@@ -5952,7 +5961,7 @@ export {
|
|
|
5952
5961
|
Ft as m,
|
|
5953
5962
|
bs as n,
|
|
5954
5963
|
Vr as o,
|
|
5955
|
-
|
|
5964
|
+
z as p,
|
|
5956
5965
|
ps as q,
|
|
5957
5966
|
Re as r,
|
|
5958
5967
|
Is as s,
|