@builder.io/sdk-vue 0.5.4 → 0.5.6-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +20 -9
- package/packages/_vue2/dist/block-12099f71.js +189 -0
- package/packages/_vue2/dist/block-246063be.cjs +3 -0
- package/packages/_vue2/dist/block-styles-9360f05a.cjs +1 -0
- package/packages/_vue2/dist/block-styles-cfdd1b51.js +79 -0
- package/packages/_vue2/dist/block-wrapper-857a5d4f.cjs +1 -0
- package/packages/_vue2/dist/{block-wrapper.6a744b92.js → block-wrapper-f852f3a4.js} +19 -16
- package/packages/_vue2/dist/{blocks-wrapper.ab5c72c6.cjs → blocks-wrapper-87a5ef9b.cjs} +1 -1
- package/packages/_vue2/dist/{blocks-wrapper.d33d2eb3.js → blocks-wrapper-98241c68.js} +1 -1
- package/packages/_vue2/dist/{component-ref.ae718032.js → component-ref-47d34951.js} +29 -21
- package/packages/_vue2/dist/component-ref-b891d36b.cjs +1 -0
- package/packages/_vue2/dist/content-043dd197.cjs +1 -0
- package/packages/_vue2/dist/{content.ceded193.js → content-ab735937.js} +36 -19
- package/packages/_vue2/dist/{css.e3de5493.cjs → css-03a9ebe6.cjs} +1 -1
- package/packages/_vue2/dist/{css.29007594.js → css-8b11bb6e.js} +1 -1
- package/packages/_vue2/dist/enable-editor-04399d8f.cjs +1 -0
- package/packages/_vue2/dist/{enable-editor.291bc6cc.js → enable-editor-2d8d86f8.js} +28 -22
- package/packages/_vue2/dist/evaluate-6a213bca.cjs +1 -0
- package/packages/_vue2/dist/evaluate-c9d68bff.js +76 -0
- package/packages/_vue2/dist/get-block-actions-2b1bc20b.cjs +1 -0
- package/packages/_vue2/dist/get-block-actions-75e52f20.js +36 -0
- package/packages/_vue2/dist/get-block-properties-0e241c2c.cjs +1 -0
- package/packages/_vue2/dist/{get-block-properties.c65799b6.js → get-block-properties-f778ef2a.js} +2 -2
- package/packages/_vue2/dist/get-processed-block-41399170.cjs +1 -0
- package/packages/_vue2/dist/get-processed-block-940605b2.js +46 -0
- package/packages/_vue2/dist/helpers-327ed263.js +16 -0
- package/packages/_vue2/dist/helpers-4efe31ac.cjs +1 -0
- package/packages/_vue2/dist/index-537704ba.cjs +1 -0
- package/packages/_vue2/dist/{index.9a42542a.js → index-a089abc3.js} +592 -540
- package/packages/_vue2/dist/index-c1c356f8.cjs +32 -0
- package/packages/_vue2/dist/index-cc904f8c.js +10 -0
- package/packages/_vue2/dist/{inlined-script.8d01264c.js → inlined-script-5ac8fff7.js} +1 -1
- package/packages/_vue2/dist/{inlined-script.b0a9d187.cjs → inlined-script-73ce088c.cjs} +1 -1
- package/packages/_vue2/dist/inlined-styles-1d50f193.cjs +1 -0
- package/packages/_vue2/dist/{inlined-styles.316b8b1e.js → inlined-styles-3a327fbd.js} +1 -1
- package/packages/_vue2/dist/{interactive-element.8dc26caa.js → interactive-element-2aec4d6f.js} +12 -10
- package/packages/_vue2/dist/interactive-element-67792031.cjs +1 -0
- package/packages/_vue2/dist/main.cjs +1 -0
- package/packages/_vue2/dist/main.js +29 -0
- package/packages/_vue2/dist/node-runtime-25e8d976.js +93 -0
- package/packages/_vue2/dist/node-runtime-5a567c42.cjs +39 -0
- package/packages/_vue2/dist/repeated-block-5eb2f7c6.cjs +1 -0
- package/packages/_vue2/dist/{repeated-block.10e3172b.js → repeated-block-a0f25ac2.js} +6 -6
- package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +2 -2
- package/packages/_vue2/dist/src/blocks/symbol/symbol.helpers.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +2 -2
- package/packages/_vue2/dist/src/components/block/block.helpers.d.ts +5 -2
- package/packages/_vue2/dist/src/components/block/block.vue.d.ts +2 -4
- package/packages/_vue2/dist/src/components/block/components/block-styles.vue.d.ts +5 -0
- package/packages/_vue2/dist/src/components/block/components/block-wrapper.vue.d.ts +3 -0
- package/packages/_vue2/dist/src/components/block/components/component-ref/component-ref.helpers.d.ts +3 -2
- package/packages/_vue2/dist/src/components/block/components/interactive-element.vue.d.ts +5 -0
- package/packages/_vue2/dist/src/components/blocks/blocks.vue.d.ts +9 -8
- package/packages/_vue2/dist/src/components/content/content.vue.d.ts +1 -0
- package/packages/_vue2/dist/src/components/content-variants/content-variants.types.d.ts +2 -0
- package/packages/_vue2/dist/src/components/content-variants/content-variants.vue.d.ts +3 -0
- package/packages/_vue2/dist/src/functions/evaluate/browser-runtime/browser.d.ts +4 -0
- package/packages/_vue2/dist/src/functions/evaluate/browser-runtime/index.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/evaluate/evaluate.d.ts +6 -7
- package/packages/_vue2/dist/src/functions/evaluate/helpers.d.ts +18 -0
- package/packages/_vue2/dist/src/functions/evaluate/node-runtime/index.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/packages/_vue2/dist/src/functions/fetch-builder-props.d.ts +39 -0
- package/packages/_vue2/dist/src/functions/get-block-actions-handler.d.ts +2 -5
- package/packages/_vue2/dist/src/functions/get-block-actions.d.ts +3 -3
- package/packages/_vue2/dist/src/functions/get-content/index.d.ts +20 -3
- package/packages/_vue2/dist/src/functions/get-processed-block.d.ts +5 -3
- package/packages/_vue2/dist/src/helpers/preview-lru-cache/get.d.ts +2 -1
- package/packages/_vue2/dist/src/index-helpers/blocks-exports.d.ts +86 -2
- package/packages/_vue2/dist/src/index.d.ts +2 -1
- package/packages/_vue2/dist/src/types/builder-props.d.ts +15 -3
- package/packages/_vue2/dist/style.css +1 -1
- package/packages/_vue2/dist/{styles.c15a31cd.js → styles-183aeb6b.js} +18 -18
- package/packages/_vue2/dist/{styles.4dc21fe2.cjs → styles-6e2cbe10.cjs} +5 -5
- package/packages/_vue3/dist/{block-wrapper.ac816add.cjs → block-wrapper.500b81ef.cjs} +1 -1
- package/packages/_vue3/dist/{block-wrapper.08dd54d9.js → block-wrapper.5ca35adf.js} +2 -2
- package/packages/_vue3/dist/{component-ref.d0335518.js → component-ref.5764cdf2.js} +2 -2
- package/packages/_vue3/dist/{component-ref.754dc07d.cjs → component-ref.67d028bc.cjs} +1 -1
- package/packages/_vue3/dist/{get-block-actions.b4525c26.js → get-block-actions.0f635805.js} +1 -1
- package/packages/_vue3/dist/{get-block-actions.9bec6cab.cjs → get-block-actions.20d51d99.cjs} +1 -1
- package/packages/_vue3/dist/index.0db0f592.cjs +69 -0
- package/packages/_vue3/dist/{index.b56aec16.js → index.f5a3101b.js} +607 -553
- package/packages/_vue3/dist/node-runtime.ba895a23.cjs +39 -0
- package/packages/_vue3/dist/node-runtime.dc2f1f18.js +93 -0
- package/packages/{_vue2/dist/non-node-runtime.16157193.js → _vue3/dist/non-node-runtime.45773de4.js} +62 -64
- package/packages/_vue3/dist/{non-node-runtime.d2ddf155.cjs → non-node-runtime.c8fc465e.cjs} +8 -8
- package/packages/_vue3/dist/{repeated-block.85d9be5c.js → repeated-block.238616b4.js} +2 -2
- package/packages/_vue3/dist/{repeated-block.d02083fc.cjs → repeated-block.8ca9be30.cjs} +1 -1
- package/packages/_vue3/dist/sdk.cjs +1 -1
- package/packages/_vue3/dist/sdk.js +24 -19
- package/packages/_vue3/dist/src/blocks/symbol/symbol.helpers.d.ts +1 -1
- package/packages/_vue3/dist/src/functions/evaluate/browser-runtime/browser.d.ts +4 -0
- package/packages/_vue3/dist/src/functions/evaluate/browser-runtime/index.d.ts +1 -0
- package/packages/_vue3/dist/src/functions/evaluate/evaluate.d.ts +1 -5
- package/packages/_vue3/dist/src/functions/evaluate/helpers.d.ts +18 -0
- package/packages/{_vue2/dist/src/functions/evaluate/non-node-runtime → _vue3/dist/src/functions/evaluate/node-runtime}/index.d.ts +2 -2
- package/packages/_vue3/dist/src/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/packages/_vue3/dist/src/functions/evaluate/non-node-runtime/non-node-runtime.d.ts +2 -2
- package/packages/_vue3/dist/src/functions/fetch-builder-props.d.ts +39 -0
- package/packages/_vue3/dist/src/functions/get-content/index.d.ts +20 -3
- package/packages/_vue3/dist/src/helpers/preview-lru-cache/get.d.ts +2 -1
- package/packages/_vue3/dist/src/index-helpers/blocks-exports.d.ts +103 -2
- package/packages/_vue3/dist/src/index.d.ts +2 -1
- package/packages/_vue3/dist/style.css +1 -1
- package/packages/_vue2/dist/block-styles.563377dc.js +0 -78
- package/packages/_vue2/dist/block-styles.aabc1381.cjs +0 -1
- package/packages/_vue2/dist/block-wrapper.c398fe34.cjs +0 -1
- package/packages/_vue2/dist/block.4a82f1e9.js +0 -179
- package/packages/_vue2/dist/block.fa54ef53.cjs +0 -3
- package/packages/_vue2/dist/component-ref.bea9f39d.cjs +0 -1
- package/packages/_vue2/dist/content.9a0690f2.cjs +0 -1
- package/packages/_vue2/dist/enable-editor.e85c5d91.cjs +0 -1
- package/packages/_vue2/dist/evaluate.83e2fb2d.cjs +0 -4
- package/packages/_vue2/dist/evaluate.eae5dad2.js +0 -79
- package/packages/_vue2/dist/get-block-actions.22f6ccba.js +0 -36
- package/packages/_vue2/dist/get-block-actions.46be48ce.cjs +0 -1
- package/packages/_vue2/dist/get-block-properties.b4dbb641.cjs +0 -1
- package/packages/_vue2/dist/get-processed-block.2e8ebb41.js +0 -53
- package/packages/_vue2/dist/get-processed-block.72afae32.cjs +0 -1
- package/packages/_vue2/dist/index.30399a4c.cjs +0 -32
- package/packages/_vue2/dist/inlined-styles.5b59dee2.cjs +0 -1
- package/packages/_vue2/dist/interactive-element.9055f3e5.cjs +0 -1
- package/packages/_vue2/dist/non-node-runtime.2bbed913.cjs +0 -21
- package/packages/_vue2/dist/repeated-block.14f211c3.cjs +0 -1
- package/packages/_vue2/dist/sdk.cjs +0 -1
- package/packages/_vue2/dist/sdk.js +0 -24
- package/packages/_vue2/dist/set.87eb0329.cjs +0 -1
- package/packages/_vue2/dist/set.b219ab0e.js +0 -9
- package/packages/_vue2/dist/src/functions/evaluate/non-node-runtime/non-node-runtime.d.ts +0 -2
- package/packages/_vue2/dist/src/functions/evaluate/types.d.ts +0 -11
- package/packages/_vue2/dist/src/helpers/preview-lru-cache/helpers.d.ts +0 -1
- package/packages/_vue2/dist/src/helpers/preview-lru-cache/init.d.ts +0 -6
- package/packages/_vue2/dist/src/helpers/preview-lru-cache/types.d.ts +0 -12
- package/packages/_vue3/dist/index.6a3c8bf5.cjs +0 -72
- package/packages/_vue3/dist/non-node-runtime.3700b5dd.js +0 -2476
- package/packages/_vue3/dist/src/functions/evaluate/acorn-interpreter.d.ts +0 -2
- package/packages/_vue3/dist/src/functions/evaluate/types.d.ts +0 -11
- package/packages/_vue3/dist/src/helpers/preview-lru-cache/helpers.d.ts +0 -1
- package/packages/_vue3/dist/src/helpers/preview-lru-cache/init.d.ts +0 -6
- package/packages/_vue3/dist/src/helpers/preview-lru-cache/types.d.ts +0 -12
- /package/packages/_vue2/dist/{sdk.d.ts → index.d.ts} +0 -0
- /package/packages/{_vue2/dist/src/functions/evaluate → _vue3/dist/src/functions/evaluate/non-node-runtime}/acorn-interpreter.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as g } from "vue";
|
|
2
|
-
function
|
|
2
|
+
function E(e = {}, t, n) {
|
|
3
3
|
const o = {};
|
|
4
4
|
for (const r in e) {
|
|
5
5
|
if (!e[r] || n && !r.startsWith(t))
|
|
@@ -9,11 +9,11 @@ function V(e = {}, t, n) {
|
|
|
9
9
|
}
|
|
10
10
|
return o;
|
|
11
11
|
}
|
|
12
|
-
const
|
|
12
|
+
const st = g({
|
|
13
13
|
name: "builder-button",
|
|
14
14
|
props: ["attributes", "text", "link", "openLinkInNewTab"],
|
|
15
15
|
data() {
|
|
16
|
-
return { filterAttrs:
|
|
16
|
+
return { filterAttrs: E };
|
|
17
17
|
},
|
|
18
18
|
methods: {
|
|
19
19
|
_classStringToObject(e) {
|
|
@@ -27,12 +27,14 @@ const tt = g({
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function y(e, t, n, o, r, s, i, u) {
|
|
31
31
|
var a = typeof e == "function" ? e.options : e;
|
|
32
32
|
t && (a.render = t, a.staticRenderFns = n, a._compiled = !0), o && (a.functional = !0), s && (a._scopeId = "data-v-" + s);
|
|
33
33
|
var d;
|
|
34
34
|
if (i ? (d = function(c) {
|
|
35
|
-
c = c ||
|
|
35
|
+
c = c || // cached call
|
|
36
|
+
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
37
|
+
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !c && typeof __VUE_SSR_CONTEXT__ < "u" && (c = __VUE_SSR_CONTEXT__), r && r.call(this, c), c && c._registeredComponents && c._registeredComponents.add(i);
|
|
36
38
|
}, a._ssrRegister = d) : r && (d = u ? function() {
|
|
37
39
|
r.call(
|
|
38
40
|
this,
|
|
@@ -41,33 +43,33 @@ function b(e, t, n, o, r, s, i, u) {
|
|
|
41
43
|
} : r), d)
|
|
42
44
|
if (a.functional) {
|
|
43
45
|
a._injectStyles = d;
|
|
44
|
-
var
|
|
45
|
-
a.render = function(
|
|
46
|
-
return d.call(l), m
|
|
46
|
+
var p = a.render;
|
|
47
|
+
a.render = function(m, l) {
|
|
48
|
+
return d.call(l), p(m, l);
|
|
47
49
|
};
|
|
48
50
|
} else {
|
|
49
|
-
var
|
|
50
|
-
a.beforeCreate =
|
|
51
|
+
var f = a.beforeCreate;
|
|
52
|
+
a.beforeCreate = f ? [].concat(f, d) : [d];
|
|
51
53
|
}
|
|
52
54
|
return {
|
|
53
55
|
exports: e,
|
|
54
56
|
options: a
|
|
55
57
|
};
|
|
56
58
|
}
|
|
57
|
-
var
|
|
59
|
+
var it = function() {
|
|
58
60
|
var t = this, n = t._self._c;
|
|
59
61
|
return t._self._setupProxy, t.link ? n("a", t._g(t._b({ attrs: { role: "button", href: t.link, target: t.openLinkInNewTab ? "_blank" : void 0 } }, "a", t.filterAttrs(t.attributes, "v-on:", !1), !1), t.filterAttrs(t.attributes, "v-on:", !0)), [t._v(" " + t._s(t.text) + " ")]) : n("button", t._g(t._b({ class: t._classStringToObject(t.attributes.class + " button-2fnk003dqad"), style: t.attributes.style }, "button", t.filterAttrs(t.attributes, "v-on:", !1), !1), t.filterAttrs(t.attributes, "v-on:", !0)), [t._v(" " + t._s(t.text) + " ")]);
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
}, at = [], ct = /* @__PURE__ */ y(
|
|
63
|
+
st,
|
|
64
|
+
it,
|
|
65
|
+
at,
|
|
64
66
|
!1,
|
|
65
67
|
null,
|
|
66
68
|
"d03c6eb1",
|
|
67
69
|
null,
|
|
68
70
|
null
|
|
69
71
|
);
|
|
70
|
-
const
|
|
72
|
+
const on = ct.exports, A = (e) => JSON.parse(JSON.stringify(e)), U = {
|
|
71
73
|
small: {
|
|
72
74
|
min: 320,
|
|
73
75
|
default: 321,
|
|
@@ -83,11 +85,11 @@ const nn = ot.exports, A = (e) => JSON.parse(JSON.stringify(e)), F = {
|
|
|
83
85
|
default: 991,
|
|
84
86
|
max: 1200
|
|
85
87
|
}
|
|
86
|
-
},
|
|
88
|
+
}, rn = (e, t = U) => `@media (max-width: ${t[e].max}px)`, lt = ({
|
|
87
89
|
small: e,
|
|
88
90
|
medium: t
|
|
89
91
|
}) => {
|
|
90
|
-
const n = A(
|
|
92
|
+
const n = A(U);
|
|
91
93
|
if (!e || !t)
|
|
92
94
|
return n;
|
|
93
95
|
const o = Math.floor(e / 2);
|
|
@@ -105,22 +107,23 @@ const nn = ot.exports, A = (e) => JSON.parse(JSON.stringify(e)), F = {
|
|
|
105
107
|
const s = n.medium.max + 1;
|
|
106
108
|
return n.large = {
|
|
107
109
|
max: 2e3,
|
|
110
|
+
// TODO: decide upper limit
|
|
108
111
|
min: s,
|
|
109
112
|
default: s + 1
|
|
110
113
|
}, n;
|
|
111
|
-
}, w = "vue2",
|
|
114
|
+
}, w = "vue2", ut = () => Promise.resolve().then(() => ee).then((e) => e.default).catch((e) => {
|
|
112
115
|
throw console.error(
|
|
113
116
|
"Error while attempting to dynamically import component Blocks at ../../components/blocks/blocks.vue",
|
|
114
117
|
e
|
|
115
118
|
), e;
|
|
116
|
-
}),
|
|
119
|
+
}), dt = () => import("./inlined-styles-3a327fbd.js").then((e) => e.default).catch((e) => {
|
|
117
120
|
throw console.error(
|
|
118
121
|
"Error while attempting to dynamically import component InlinedStyles at ../../components/inlined-styles.vue",
|
|
119
122
|
e
|
|
120
123
|
), e;
|
|
121
|
-
}),
|
|
124
|
+
}), mt = g({
|
|
122
125
|
name: "builder-columns",
|
|
123
|
-
components: { "inlined-styles":
|
|
126
|
+
components: { "inlined-styles": dt, blocks: ut },
|
|
124
127
|
props: [
|
|
125
128
|
"js",
|
|
126
129
|
"space",
|
|
@@ -129,7 +132,8 @@ const nn = ot.exports, A = (e) => JSON.parse(JSON.stringify(e)), F = {
|
|
|
129
132
|
"reverseColumnsWhenStacked",
|
|
130
133
|
"builderContext",
|
|
131
134
|
"builderBlock",
|
|
132
|
-
"builderComponents"
|
|
135
|
+
"builderComponents",
|
|
136
|
+
"builderServerExecutor"
|
|
133
137
|
],
|
|
134
138
|
data() {
|
|
135
139
|
return {
|
|
@@ -224,7 +228,7 @@ const nn = ot.exports, A = (e) => JSON.parse(JSON.stringify(e)), F = {
|
|
|
224
228
|
},
|
|
225
229
|
getWidthForBreakpointSize(e) {
|
|
226
230
|
var n, o;
|
|
227
|
-
return
|
|
231
|
+
return lt(
|
|
228
232
|
((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
|
|
229
233
|
)[e].max;
|
|
230
234
|
},
|
|
@@ -239,59 +243,59 @@ const nn = ot.exports, A = (e) => JSON.parse(JSON.stringify(e)), F = {
|
|
|
239
243
|
}
|
|
240
244
|
}
|
|
241
245
|
});
|
|
242
|
-
var
|
|
246
|
+
var pt = function() {
|
|
243
247
|
var t = this, n = t._self._c;
|
|
244
248
|
return t._self._setupProxy, n("div", t._b({ class: t._classStringToObject(
|
|
245
249
|
`builder-columns ${t.builderBlock.id}-breakpoints div-t9spj7joih`
|
|
246
250
|
), style: t.columnsCssVars }, "div", {}, !1), [t.TARGET !== "reactNative" ? [n("inlined-styles", { attrs: { styles: t.columnsStyles } })] : t._e(), t._l(t.columns, function(o, r) {
|
|
247
251
|
return n("div", t._b({ key: r, staticClass: "builder-column div-t9spj7joih-2", style: t.columnCssVars(r) }, "div", {}, !1), [n("blocks", { attrs: { blocks: o.blocks, path: `component.options.columns.${r}.blocks`, parent: t.builderBlock.id, styleProp: {
|
|
248
252
|
flexGrow: "1"
|
|
249
|
-
}, context: t.builderContext,
|
|
253
|
+
}, context: t.builderContext, components: t.builderComponents, serverExecutor: t.builderServerExecutor } })], 1);
|
|
250
254
|
})], 2);
|
|
251
|
-
},
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
+
}, ft = [], ht = /* @__PURE__ */ y(
|
|
256
|
+
mt,
|
|
257
|
+
pt,
|
|
258
|
+
ft,
|
|
255
259
|
!1,
|
|
256
260
|
null,
|
|
257
|
-
"
|
|
261
|
+
"8c47bcc2",
|
|
258
262
|
null,
|
|
259
263
|
null
|
|
260
264
|
);
|
|
261
|
-
const
|
|
265
|
+
const sn = ht.exports, _t = g({
|
|
262
266
|
name: "builder-fragment-component",
|
|
263
267
|
props: []
|
|
264
268
|
});
|
|
265
|
-
var
|
|
269
|
+
var bt = function() {
|
|
266
270
|
var t = this, n = t._self._c;
|
|
267
271
|
return t._self._setupProxy, n("span", [t._t("default")], 2);
|
|
268
|
-
},
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
+
}, gt = [], yt = /* @__PURE__ */ y(
|
|
273
|
+
_t,
|
|
274
|
+
bt,
|
|
275
|
+
gt,
|
|
272
276
|
!1,
|
|
273
277
|
null,
|
|
274
278
|
null,
|
|
275
279
|
null,
|
|
276
280
|
null
|
|
277
281
|
);
|
|
278
|
-
const
|
|
279
|
-
function
|
|
282
|
+
const an = yt.exports;
|
|
283
|
+
function B(e) {
|
|
280
284
|
return e.replace(/http(s)?:/, "");
|
|
281
285
|
}
|
|
282
|
-
function
|
|
286
|
+
function vt(e = "", t, n) {
|
|
283
287
|
const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
|
|
284
288
|
return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
|
|
285
289
|
}
|
|
286
|
-
function
|
|
290
|
+
function St(e, t) {
|
|
287
291
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
288
292
|
return e;
|
|
289
293
|
if (t === "master")
|
|
290
|
-
return
|
|
294
|
+
return B(e);
|
|
291
295
|
const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
|
|
292
296
|
if (n) {
|
|
293
297
|
const o = e.split(n[0]), r = n[3], s = t.match("x") ? t : `${t}x`;
|
|
294
|
-
return
|
|
298
|
+
return B(`${o[0]}_${s}${r}`);
|
|
295
299
|
}
|
|
296
300
|
return null;
|
|
297
301
|
}
|
|
@@ -302,11 +306,11 @@ function T(e) {
|
|
|
302
306
|
if (e.match(/builder\.io/)) {
|
|
303
307
|
let n = e;
|
|
304
308
|
const o = Number(e.split("?width=")[1]);
|
|
305
|
-
return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${
|
|
309
|
+
return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${vt(e, "width", r)} ${r}w`).concat([n]).join(", ");
|
|
306
310
|
}
|
|
307
|
-
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [
|
|
311
|
+
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [St(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
|
|
308
312
|
}
|
|
309
|
-
const
|
|
313
|
+
const kt = g({
|
|
310
314
|
name: "builder-image",
|
|
311
315
|
props: [
|
|
312
316
|
"image",
|
|
@@ -326,9 +330,11 @@ const gt = g({
|
|
|
326
330
|
srcSetToUse() {
|
|
327
331
|
var n;
|
|
328
332
|
const t = this.image || this.src;
|
|
329
|
-
if (!t ||
|
|
333
|
+
if (!t || // We can auto add srcset for cdn.builder.io and shopify
|
|
334
|
+
// images, otherwise you can supply this prop manually
|
|
335
|
+
!(t.match(/builder\.io/) || t.match(/cdn\.shopify\.com/)))
|
|
330
336
|
return this.srcset;
|
|
331
|
-
if (this.srcset && ((n = this.image)
|
|
337
|
+
if (this.srcset && ((n = this.image) != null && n.includes("builder.io/api/v1/image"))) {
|
|
332
338
|
if (!this.srcset.includes(this.image.split("?")[0]))
|
|
333
339
|
return console.debug("Removed given srcset"), T(t);
|
|
334
340
|
} else if (this.image && !this.srcset)
|
|
@@ -337,7 +343,7 @@ const gt = g({
|
|
|
337
343
|
},
|
|
338
344
|
webpSrcSet() {
|
|
339
345
|
var e;
|
|
340
|
-
return (
|
|
346
|
+
return (e = this.srcSetToUse) != null && e.match(/builder\.io/) && !this.noWebp ? this.srcSetToUse.replace(/\?/g, "?format=webp&") : "";
|
|
341
347
|
},
|
|
342
348
|
aspectRatioCss() {
|
|
343
349
|
const e = {
|
|
@@ -362,108 +368,36 @@ const gt = g({
|
|
|
362
368
|
}
|
|
363
369
|
}
|
|
364
370
|
});
|
|
365
|
-
var
|
|
371
|
+
var xt = function() {
|
|
366
372
|
var o, r, s, i;
|
|
367
373
|
var t = this, n = t._self._c;
|
|
368
374
|
return t._self._setupProxy, n("div", [n("picture", [t.webpSrcSet ? [n("source", { attrs: { type: "image/webp", srcset: t.webpSrcSet } })] : t._e(), n("img", { class: t._classStringToObject(
|
|
369
|
-
"builder-image" + (t.className ? " " + t.className : "") + " img-
|
|
375
|
+
"builder-image" + (t.className ? " " + t.className : "") + " img-1pl23ac79ld"
|
|
370
376
|
), style: {
|
|
371
377
|
objectPosition: t.backgroundPosition || "center",
|
|
372
378
|
objectFit: t.backgroundSize || "cover",
|
|
373
379
|
...t.aspectRatioCss
|
|
374
|
-
}, attrs: { loading: "lazy", alt: t.altText, role: t.altText ? "presentation" : void 0, src: t.image, srcset: t.srcSetToUse, sizes: t.sizes } })], 2), t.aspectRatio && !((
|
|
380
|
+
}, attrs: { loading: "lazy", alt: t.altText, role: t.altText ? "presentation" : void 0, src: t.image, srcset: t.srcSetToUse, sizes: t.sizes } })], 2), t.aspectRatio && !((r = (o = t.builderBlock) == null ? void 0 : o.children) != null && r.length && t.fitContent) ? [n("div", { staticClass: "builder-image-sizer div-1pl23ac79ld", style: {
|
|
375
381
|
paddingTop: t.aspectRatio * 100 + "%"
|
|
376
|
-
} })] : t._e(), (
|
|
377
|
-
},
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
382
|
+
} })] : t._e(), (i = (s = t.builderBlock) == null ? void 0 : s.children) != null && i.length && t.fitContent ? [t._t("default")] : t._e(), !t.fitContent && t.$slots.default ? [n("div", { staticClass: "div-1pl23ac79ld-2" }, [t._t("default")], 2)] : t._e()], 2);
|
|
383
|
+
}, wt = [], Ct = /* @__PURE__ */ y(
|
|
384
|
+
kt,
|
|
385
|
+
xt,
|
|
386
|
+
wt,
|
|
381
387
|
!1,
|
|
382
388
|
null,
|
|
383
|
-
"
|
|
389
|
+
"29cdebee",
|
|
384
390
|
null,
|
|
385
391
|
null
|
|
386
392
|
);
|
|
387
|
-
const
|
|
388
|
-
Builder: {
|
|
389
|
-
content: null,
|
|
390
|
-
context: {},
|
|
391
|
-
localState: void 0,
|
|
392
|
-
rootSetState() {
|
|
393
|
-
},
|
|
394
|
-
rootState: {},
|
|
395
|
-
apiKey: null,
|
|
396
|
-
apiVersion: void 0,
|
|
397
|
-
componentInfos: {},
|
|
398
|
-
inheritedStyles: {}
|
|
399
|
-
},
|
|
400
|
-
key: St
|
|
401
|
-
}, xt = Symbol(), wt = {
|
|
402
|
-
Components: { registeredComponents: {} },
|
|
403
|
-
key: xt
|
|
404
|
-
}, Ct = () => import("./block-styles.563377dc.js").then((e) => e.default).catch((e) => {
|
|
405
|
-
throw console.error(
|
|
406
|
-
"Error while attempting to dynamically import component BlockStyles at ../block/components/block-styles.vue",
|
|
407
|
-
e
|
|
408
|
-
), e;
|
|
409
|
-
}), $t = () => import("./block.4a82f1e9.js").then((e) => e.default).catch((e) => {
|
|
410
|
-
throw console.error(
|
|
411
|
-
"Error while attempting to dynamically import component Block at ../block/block.vue",
|
|
412
|
-
e
|
|
413
|
-
), e;
|
|
414
|
-
}), Tt = () => import("./blocks-wrapper.d33d2eb3.js").then((e) => e.default).catch((e) => {
|
|
415
|
-
throw console.error(
|
|
416
|
-
"Error while attempting to dynamically import component BlocksWrapper at ./blocks-wrapper.vue",
|
|
417
|
-
e
|
|
418
|
-
), e;
|
|
419
|
-
}), It = g({
|
|
420
|
-
name: "builder-blocks",
|
|
421
|
-
components: {
|
|
422
|
-
"blocks-wrapper": Tt,
|
|
423
|
-
block: $t,
|
|
424
|
-
"block-styles": Ct
|
|
425
|
-
},
|
|
426
|
-
props: [
|
|
427
|
-
"blocks",
|
|
428
|
-
"parent",
|
|
429
|
-
"path",
|
|
430
|
-
"styleProp",
|
|
431
|
-
"context",
|
|
432
|
-
"registeredComponents"
|
|
433
|
-
],
|
|
434
|
-
inject: {
|
|
435
|
-
builderContext: kt.key,
|
|
436
|
-
componentsContext: wt.key
|
|
437
|
-
}
|
|
438
|
-
});
|
|
439
|
-
var Rt = function() {
|
|
440
|
-
var t = this, n = t._self._c;
|
|
441
|
-
return t._self._setupProxy, n("blocks-wrapper", { attrs: { blocks: t.blocks, parent: t.parent, path: t.path, styleProp: t.styleProp } }, [t.blocks ? t._l(t.blocks, function(o, r) {
|
|
442
|
-
return n("block", { key: "render-block-" + o.id, attrs: { block: o, context: t.context || t.builderContext, registeredComponents: t.registeredComponents || t.componentsContext.registeredComponents } });
|
|
443
|
-
}) : t._e(), t.blocks ? t._l(t.blocks, function(o, r) {
|
|
444
|
-
return n("block-styles", { key: "block-style-" + o.id, attrs: { block: o, context: t.context || t.builderContext } });
|
|
445
|
-
}) : t._e()], 2);
|
|
446
|
-
}, Vt = [], At = /* @__PURE__ */ b(
|
|
447
|
-
It,
|
|
448
|
-
Rt,
|
|
449
|
-
Vt,
|
|
450
|
-
!1,
|
|
451
|
-
null,
|
|
452
|
-
null,
|
|
453
|
-
null,
|
|
454
|
-
null
|
|
455
|
-
);
|
|
456
|
-
const Ot = At.exports, Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
457
|
-
__proto__: null,
|
|
458
|
-
default: Ot
|
|
459
|
-
}, Symbol.toStringTag, { value: "Module" })), Pt = g({
|
|
393
|
+
const cn = Ct.exports, $t = g({
|
|
460
394
|
name: "builder-section-component",
|
|
461
395
|
props: ["attributes", "maxWidth"],
|
|
462
396
|
data() {
|
|
463
|
-
return { filterAttrs:
|
|
397
|
+
return { filterAttrs: E };
|
|
464
398
|
}
|
|
465
399
|
});
|
|
466
|
-
var
|
|
400
|
+
var Tt = function() {
|
|
467
401
|
var t = this, n = t._self._c;
|
|
468
402
|
return t._self._setupProxy, n("section", t._g(t._b({ style: {
|
|
469
403
|
width: "100%",
|
|
@@ -477,280 +411,28 @@ var jt = function() {
|
|
|
477
411
|
marginLeft: "auto",
|
|
478
412
|
marginRight: "auto"
|
|
479
413
|
} }, "section", t.filterAttrs(t.attributes, "v-on:", !1), !1), t.filterAttrs(t.attributes, "v-on:", !0)), [t._t("default")], 2);
|
|
480
|
-
},
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
414
|
+
}, It = [], Rt = /* @__PURE__ */ y(
|
|
415
|
+
$t,
|
|
416
|
+
Tt,
|
|
417
|
+
It,
|
|
484
418
|
!1,
|
|
485
419
|
null,
|
|
486
420
|
null,
|
|
487
421
|
null,
|
|
488
422
|
null
|
|
489
423
|
);
|
|
490
|
-
const
|
|
491
|
-
function y() {
|
|
492
|
-
return typeof window < "u" && typeof document < "u";
|
|
493
|
-
}
|
|
494
|
-
const C = "[Builder.io]: ", v = {
|
|
424
|
+
const ln = Rt.exports, C = "[Builder.io]: ", v = {
|
|
495
425
|
log: (...e) => console.log(C, ...e),
|
|
496
426
|
error: (...e) => console.error(C, ...e),
|
|
497
427
|
warn: (...e) => console.warn(C, ...e),
|
|
498
428
|
debug: (...e) => console.debug(C, ...e)
|
|
499
|
-
},
|
|
500
|
-
if (e === "localhost" || e === "127.0.0.1")
|
|
501
|
-
return e;
|
|
502
|
-
const t = e.split(".");
|
|
503
|
-
return t.length > 2 ? t.slice(1).join(".") : e;
|
|
504
|
-
}, U = ({
|
|
505
|
-
name: e,
|
|
506
|
-
canTrack: t
|
|
507
|
-
}) => {
|
|
508
|
-
var n;
|
|
509
|
-
try {
|
|
510
|
-
return t ? (n = document.cookie.split("; ").find((o) => o.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
|
|
511
|
-
} catch (o) {
|
|
512
|
-
v.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
|
|
513
|
-
return;
|
|
514
|
-
}
|
|
515
|
-
}, M = async (e) => U(e), Ut = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(x).join("; "), Mt = [["secure", ""], ["SameSite", "None"]], Wt = ({
|
|
516
|
-
name: e,
|
|
517
|
-
value: t,
|
|
518
|
-
expires: n
|
|
519
|
-
}) => {
|
|
520
|
-
const r = (y() ? location.protocol === "https:" : !0) ? Mt : [[]], s = n ? [["expires", n.toUTCString()]] : [[]], i = [[e, t], ...s, ["path", "/"], ["domain", Ft(window.location.hostname)], ...r];
|
|
521
|
-
return Ut(i);
|
|
522
|
-
}, W = async ({
|
|
523
|
-
name: e,
|
|
524
|
-
value: t,
|
|
525
|
-
expires: n,
|
|
526
|
-
canTrack: o
|
|
527
|
-
}) => {
|
|
528
|
-
try {
|
|
529
|
-
if (!o)
|
|
530
|
-
return;
|
|
531
|
-
const r = Wt({
|
|
532
|
-
name: e,
|
|
533
|
-
value: t,
|
|
534
|
-
expires: n
|
|
535
|
-
});
|
|
536
|
-
document.cookie = r;
|
|
537
|
-
} catch (r) {
|
|
538
|
-
v.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
|
|
539
|
-
}
|
|
540
|
-
}, Lt = "builder.tests", O = (e) => `${Lt}.${e}`, Kt = ({
|
|
541
|
-
contentId: e
|
|
542
|
-
}) => M({
|
|
543
|
-
name: O(e),
|
|
544
|
-
canTrack: !0
|
|
545
|
-
}), zt = ({
|
|
546
|
-
contentId: e
|
|
547
|
-
}) => U({
|
|
548
|
-
name: O(e),
|
|
549
|
-
canTrack: !0
|
|
550
|
-
}), Gt = ({
|
|
551
|
-
contentId: e,
|
|
552
|
-
value: t
|
|
553
|
-
}) => W({
|
|
554
|
-
name: O(e),
|
|
555
|
-
value: t,
|
|
556
|
-
canTrack: !0
|
|
557
|
-
}), L = (e) => x(e.id) && x(e.variations) && Object.keys(e.variations).length > 0, Dt = ({
|
|
558
|
-
id: e,
|
|
559
|
-
variations: t
|
|
560
|
-
}) => {
|
|
561
|
-
var r;
|
|
562
|
-
let n = 0;
|
|
563
|
-
const o = Math.random();
|
|
564
|
-
for (const s in t) {
|
|
565
|
-
const i = (r = t[s]) == null ? void 0 : r.testRatio;
|
|
566
|
-
if (n += i, o < n)
|
|
567
|
-
return s;
|
|
568
|
-
}
|
|
569
|
-
return e;
|
|
570
|
-
}, K = (e) => {
|
|
571
|
-
const t = Dt(e);
|
|
572
|
-
return Gt({
|
|
573
|
-
contentId: e.id,
|
|
574
|
-
value: t
|
|
575
|
-
}).catch((n) => {
|
|
576
|
-
v.error("could not store A/B test variation: ", n);
|
|
577
|
-
}), t;
|
|
578
|
-
}, z = ({
|
|
579
|
-
item: e,
|
|
580
|
-
testGroupId: t
|
|
581
|
-
}) => {
|
|
582
|
-
const n = e.variations[t];
|
|
583
|
-
return t === e.id || !n ? {
|
|
584
|
-
testVariationId: e.id,
|
|
585
|
-
testVariationName: "Default"
|
|
586
|
-
} : {
|
|
587
|
-
data: n.data,
|
|
588
|
-
testVariationId: n.id,
|
|
589
|
-
testVariationName: n.name || (n.id === e.id ? "Default" : "")
|
|
590
|
-
};
|
|
591
|
-
}, Ht = ({
|
|
592
|
-
item: e,
|
|
593
|
-
canTrack: t
|
|
594
|
-
}) => {
|
|
595
|
-
if (!t)
|
|
596
|
-
return e;
|
|
597
|
-
if (!e)
|
|
598
|
-
return;
|
|
599
|
-
if (!L(e))
|
|
600
|
-
return e;
|
|
601
|
-
const n = zt({
|
|
602
|
-
contentId: e.id
|
|
603
|
-
}) || K({
|
|
604
|
-
variations: e.variations,
|
|
605
|
-
id: e.id
|
|
606
|
-
}), o = z({
|
|
607
|
-
item: e,
|
|
608
|
-
testGroupId: n
|
|
609
|
-
});
|
|
610
|
-
return {
|
|
611
|
-
...e,
|
|
612
|
-
...o
|
|
613
|
-
};
|
|
614
|
-
}, Jt = async ({
|
|
615
|
-
item: e,
|
|
616
|
-
canTrack: t
|
|
617
|
-
}) => {
|
|
618
|
-
if (!t || !L(e))
|
|
619
|
-
return e;
|
|
620
|
-
const o = await Kt({
|
|
621
|
-
contentId: e.id
|
|
622
|
-
}) || K({
|
|
623
|
-
variations: e.variations,
|
|
624
|
-
id: e.id
|
|
625
|
-
}), r = z({
|
|
626
|
-
item: e,
|
|
627
|
-
testGroupId: o
|
|
628
|
-
});
|
|
629
|
-
return {
|
|
630
|
-
...e,
|
|
631
|
-
...r
|
|
632
|
-
};
|
|
633
|
-
}, I = (e) => x(e) ? e : !0;
|
|
634
|
-
function Xt() {
|
|
635
|
-
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
|
|
636
|
-
}
|
|
637
|
-
function qt() {
|
|
638
|
-
const e = Xt().fetch;
|
|
639
|
-
if (typeof e > "u")
|
|
640
|
-
throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
|
|
641
|
-
For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
|
|
642
|
-
return e;
|
|
643
|
-
}
|
|
644
|
-
const Qt = qt();
|
|
645
|
-
function R(e, t = null, n = ".") {
|
|
646
|
-
return Object.keys(e).reduce((o, r) => {
|
|
647
|
-
const s = e[r], i = [t, r].filter(Boolean).join(n);
|
|
648
|
-
return [typeof s == "object", s !== null, !(Array.isArray(s) && s.length === 0)].every(Boolean) ? {
|
|
649
|
-
...o,
|
|
650
|
-
...R(s, i, n)
|
|
651
|
-
} : {
|
|
652
|
-
...o,
|
|
653
|
-
[i]: s
|
|
654
|
-
};
|
|
655
|
-
}, {});
|
|
656
|
-
}
|
|
657
|
-
const j = "builder.", Yt = "options.", Zt = (e) => {
|
|
658
|
-
const t = {};
|
|
659
|
-
return e.forEach((n, o) => {
|
|
660
|
-
t[o] = n;
|
|
661
|
-
}), t;
|
|
662
|
-
}, te = (e) => {
|
|
663
|
-
if (!e)
|
|
664
|
-
return {};
|
|
665
|
-
const t = G(e), n = {};
|
|
666
|
-
return Object.keys(t).forEach((o) => {
|
|
667
|
-
if (o.startsWith(j)) {
|
|
668
|
-
const r = o.replace(j, "").replace(Yt, "");
|
|
669
|
-
n[r] = t[o];
|
|
670
|
-
}
|
|
671
|
-
}), n;
|
|
672
|
-
}, ee = () => {
|
|
673
|
-
if (!y())
|
|
674
|
-
return {};
|
|
675
|
-
const e = new URLSearchParams(window.location.search);
|
|
676
|
-
return te(e);
|
|
677
|
-
}, G = (e) => e instanceof URLSearchParams ? Zt(e) : e, ne = "v3", E = (e) => {
|
|
678
|
-
const {
|
|
679
|
-
limit: t = 30,
|
|
680
|
-
userAttributes: n,
|
|
681
|
-
query: o,
|
|
682
|
-
noTraverse: r = !1,
|
|
683
|
-
model: s,
|
|
684
|
-
apiKey: i,
|
|
685
|
-
includeRefs: u = !0,
|
|
686
|
-
enrich: a,
|
|
687
|
-
locale: d,
|
|
688
|
-
apiVersion: m = ne
|
|
689
|
-
} = e;
|
|
690
|
-
if (!i)
|
|
691
|
-
throw new Error("Missing API key");
|
|
692
|
-
if (!["v2", "v3"].includes(m))
|
|
693
|
-
throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${m}'`);
|
|
694
|
-
const p = new URL(`https://cdn.builder.io/api/${m}/content/${s}?apiKey=${i}&limit=${t}&noTraverse=${r}&includeRefs=${u}${d ? `&locale=${d}` : ""}${a ? `&enrich=${a}` : ""}`), c = {
|
|
695
|
-
...ee(),
|
|
696
|
-
...G(e.options || {})
|
|
697
|
-
}, f = R(c);
|
|
698
|
-
for (const l in f)
|
|
699
|
-
p.searchParams.set(l, String(f[l]));
|
|
700
|
-
if (n && p.searchParams.set("userAttributes", JSON.stringify(n)), o) {
|
|
701
|
-
const l = R({
|
|
702
|
-
query: o
|
|
703
|
-
});
|
|
704
|
-
for (const h in l)
|
|
705
|
-
p.searchParams.set(h, JSON.stringify(l[h]));
|
|
706
|
-
}
|
|
707
|
-
return p;
|
|
708
|
-
}, oe = (e) => "results" in e;
|
|
709
|
-
async function re(e) {
|
|
710
|
-
const t = await ae({
|
|
711
|
-
...e,
|
|
712
|
-
limit: 1
|
|
713
|
-
});
|
|
714
|
-
return t && t.results[0] || null;
|
|
715
|
-
}
|
|
716
|
-
const se = async (e) => {
|
|
717
|
-
const t = E(e);
|
|
718
|
-
return await (await Qt(t.href)).json();
|
|
719
|
-
}, ie = async (e, t, n = E(e)) => {
|
|
720
|
-
const o = I(e.canTrack);
|
|
721
|
-
if (n.search.includes("preview="), !o || !(y() || w === "reactNative"))
|
|
722
|
-
return t;
|
|
723
|
-
try {
|
|
724
|
-
const r = [];
|
|
725
|
-
for (const s of t.results)
|
|
726
|
-
r.push(await Jt({
|
|
727
|
-
item: s,
|
|
728
|
-
canTrack: o
|
|
729
|
-
}));
|
|
730
|
-
t.results = r;
|
|
731
|
-
} catch (r) {
|
|
732
|
-
v.error("Could not process A/B tests. ", r);
|
|
733
|
-
}
|
|
734
|
-
return t;
|
|
735
|
-
};
|
|
736
|
-
async function ae(e) {
|
|
737
|
-
try {
|
|
738
|
-
const t = E(e), n = await se(e);
|
|
739
|
-
return oe(n) ? ie(e, n) : (v.error("Error fetching data. ", {
|
|
740
|
-
url: t,
|
|
741
|
-
content: n,
|
|
742
|
-
options: e
|
|
743
|
-
}), null);
|
|
744
|
-
} catch (t) {
|
|
745
|
-
return v.error("Error fetching data. ", t), null;
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
const ce = async ({
|
|
429
|
+
}, Et = async ({
|
|
749
430
|
builderContextValue: e,
|
|
750
431
|
symbol: t
|
|
751
432
|
}) => {
|
|
752
|
-
if (
|
|
753
|
-
|
|
433
|
+
if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
|
|
434
|
+
(e != null && e.apiKey))
|
|
435
|
+
return O({
|
|
754
436
|
model: t.model,
|
|
755
437
|
apiKey: e.apiKey,
|
|
756
438
|
apiVersion: e.apiVersion,
|
|
@@ -762,14 +444,14 @@ const ce = async ({
|
|
|
762
444
|
}).catch((n) => {
|
|
763
445
|
v.error("Could not fetch symbol content: ", n);
|
|
764
446
|
});
|
|
765
|
-
},
|
|
447
|
+
}, At = () => Promise.resolve().then(() => $e).then((e) => e.default).catch((e) => {
|
|
766
448
|
throw console.error(
|
|
767
449
|
"Error while attempting to dynamically import component ContentVariants at ../../components/content-variants/content-variants.vue",
|
|
768
450
|
e
|
|
769
451
|
), e;
|
|
770
|
-
}),
|
|
452
|
+
}), Pt = g({
|
|
771
453
|
name: "builder-symbol",
|
|
772
|
-
components: { "content-variants":
|
|
454
|
+
components: { "content-variants": At },
|
|
773
455
|
props: [
|
|
774
456
|
"js",
|
|
775
457
|
"attributes",
|
|
@@ -780,7 +462,7 @@ const ce = async ({
|
|
|
780
462
|
],
|
|
781
463
|
data() {
|
|
782
464
|
var e;
|
|
783
|
-
return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs:
|
|
465
|
+
return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs: E };
|
|
784
466
|
},
|
|
785
467
|
mounted() {
|
|
786
468
|
this.setContent();
|
|
@@ -800,7 +482,7 @@ const ce = async ({
|
|
|
800
482
|
...Object.keys(this.attributes.class),
|
|
801
483
|
"builder-symbol",
|
|
802
484
|
(e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
|
|
803
|
-
(
|
|
485
|
+
(t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
|
|
804
486
|
].filter(Boolean).join(" ");
|
|
805
487
|
},
|
|
806
488
|
onUpdateHook0() {
|
|
@@ -811,7 +493,7 @@ const ce = async ({
|
|
|
811
493
|
},
|
|
812
494
|
methods: {
|
|
813
495
|
setContent() {
|
|
814
|
-
this.contentToUse ||
|
|
496
|
+
this.contentToUse || Et({
|
|
815
497
|
symbol: this.symbol,
|
|
816
498
|
builderContextValue: this.builderContext
|
|
817
499
|
}).then((e) => {
|
|
@@ -829,7 +511,7 @@ const ce = async ({
|
|
|
829
511
|
}
|
|
830
512
|
}
|
|
831
513
|
});
|
|
832
|
-
var
|
|
514
|
+
var Vt = function() {
|
|
833
515
|
var o, r, s, i;
|
|
834
516
|
var t = this, n = t._self._c;
|
|
835
517
|
return t._self._setupProxy, n("div", t._g(t._b({ class: t._classStringToObject(t.className) }, "div", { ...t.filterAttrs(t.attributes, "v-on:", !1) }, !1), t.filterAttrs(t.attributes, "v-on:", !0)), [n("content-variants", { attrs: { __isNestedRender: !0, apiVersion: t.builderContext.apiVersion, apiKey: t.builderContext.apiKey, context: t.builderContext.context, customComponents: Object.values(t.builderComponents), data: {
|
|
@@ -837,37 +519,37 @@ var de = function() {
|
|
|
837
519
|
...t.builderContext.localState,
|
|
838
520
|
...(s = (r = t.contentToUse) == null ? void 0 : r.data) == null ? void 0 : s.state
|
|
839
521
|
}, model: (i = t.symbol) == null ? void 0 : i.model, content: t.contentToUse } })], 1);
|
|
840
|
-
},
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
522
|
+
}, Ot = [], Bt = /* @__PURE__ */ y(
|
|
523
|
+
Pt,
|
|
524
|
+
Vt,
|
|
525
|
+
Ot,
|
|
844
526
|
!1,
|
|
845
527
|
null,
|
|
846
528
|
null,
|
|
847
529
|
null,
|
|
848
530
|
null
|
|
849
531
|
);
|
|
850
|
-
const
|
|
532
|
+
const un = Bt.exports, jt = g({
|
|
851
533
|
name: "builder-text",
|
|
852
534
|
props: ["text"]
|
|
853
535
|
});
|
|
854
|
-
var
|
|
536
|
+
var Nt = function() {
|
|
855
537
|
var o;
|
|
856
538
|
var t = this, n = t._self._c;
|
|
857
539
|
return t._self._setupProxy, n("span", t._b({ staticClass: "builder-text", style: {
|
|
858
540
|
outline: "none"
|
|
859
541
|
}, domProps: { innerHTML: t._s(((o = t.text) == null ? void 0 : o.toString()) || "") } }, "span", {}, !1));
|
|
860
|
-
},
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
542
|
+
}, Ft = [], Ut = /* @__PURE__ */ y(
|
|
543
|
+
jt,
|
|
544
|
+
Nt,
|
|
545
|
+
Ft,
|
|
864
546
|
!1,
|
|
865
547
|
null,
|
|
866
548
|
null,
|
|
867
549
|
null,
|
|
868
550
|
null
|
|
869
551
|
);
|
|
870
|
-
const
|
|
552
|
+
const dn = Ut.exports, Lt = g({
|
|
871
553
|
name: "builder-video",
|
|
872
554
|
props: [
|
|
873
555
|
"autoPlay",
|
|
@@ -910,7 +592,7 @@ const un = ge.exports, be = g({
|
|
|
910
592
|
}
|
|
911
593
|
}
|
|
912
594
|
});
|
|
913
|
-
var
|
|
595
|
+
var Mt = function() {
|
|
914
596
|
var o;
|
|
915
597
|
var t = this, n = t._self._c;
|
|
916
598
|
return t._self._setupProxy, n("video", t._b({ style: {
|
|
@@ -919,57 +601,137 @@ var ye = function() {
|
|
|
919
601
|
...(o = t.attributes) == null ? void 0 : o.style,
|
|
920
602
|
objectFit: t.fit,
|
|
921
603
|
objectPosition: t.position,
|
|
604
|
+
// Hack to get object fit to work as expected and
|
|
605
|
+
// not have the video overflow
|
|
922
606
|
borderRadius: 1
|
|
923
607
|
}, attrs: { preload: t.preload || "metadata", src: t.video || "no-src", poster: t.posterImage } }, "video", t.spreadProps, !1));
|
|
924
|
-
},
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
608
|
+
}, Wt = [], Kt = /* @__PURE__ */ y(
|
|
609
|
+
Lt,
|
|
610
|
+
Mt,
|
|
611
|
+
Wt,
|
|
612
|
+
!1,
|
|
613
|
+
null,
|
|
614
|
+
null,
|
|
615
|
+
null,
|
|
616
|
+
null
|
|
617
|
+
);
|
|
618
|
+
const mn = Kt.exports, zt = Symbol(), Gt = {
|
|
619
|
+
Builder: {
|
|
620
|
+
content: null,
|
|
621
|
+
context: {},
|
|
622
|
+
localState: void 0,
|
|
623
|
+
rootSetState() {
|
|
624
|
+
},
|
|
625
|
+
rootState: {},
|
|
626
|
+
apiKey: null,
|
|
627
|
+
apiVersion: void 0,
|
|
628
|
+
componentInfos: {},
|
|
629
|
+
inheritedStyles: {}
|
|
630
|
+
},
|
|
631
|
+
key: zt
|
|
632
|
+
}, Dt = Symbol(), Ht = {
|
|
633
|
+
Components: { registeredComponents: {} },
|
|
634
|
+
key: Dt
|
|
635
|
+
}, Jt = () => import("./block-styles-cfdd1b51.js").then((e) => e.default).catch((e) => {
|
|
636
|
+
throw console.error(
|
|
637
|
+
"Error while attempting to dynamically import component BlockStyles at ../block/components/block-styles.vue",
|
|
638
|
+
e
|
|
639
|
+
), e;
|
|
640
|
+
}), Xt = () => import("./block-12099f71.js").then((e) => e.default).catch((e) => {
|
|
641
|
+
throw console.error(
|
|
642
|
+
"Error while attempting to dynamically import component Block at ../block/block.vue",
|
|
643
|
+
e
|
|
644
|
+
), e;
|
|
645
|
+
}), qt = () => import("./blocks-wrapper-98241c68.js").then((e) => e.default).catch((e) => {
|
|
646
|
+
throw console.error(
|
|
647
|
+
"Error while attempting to dynamically import component BlocksWrapper at ./blocks-wrapper.vue",
|
|
648
|
+
e
|
|
649
|
+
), e;
|
|
650
|
+
}), Qt = g({
|
|
651
|
+
name: "builder-blocks",
|
|
652
|
+
components: {
|
|
653
|
+
"blocks-wrapper": qt,
|
|
654
|
+
block: Xt,
|
|
655
|
+
"block-styles": Jt
|
|
656
|
+
},
|
|
657
|
+
props: [
|
|
658
|
+
"blocks",
|
|
659
|
+
"parent",
|
|
660
|
+
"path",
|
|
661
|
+
"styleProp",
|
|
662
|
+
"serverExecutor",
|
|
663
|
+
"context",
|
|
664
|
+
"components"
|
|
665
|
+
],
|
|
666
|
+
inject: {
|
|
667
|
+
builderContext: Gt.key,
|
|
668
|
+
componentsContext: Ht.key
|
|
669
|
+
}
|
|
670
|
+
});
|
|
671
|
+
var Yt = function() {
|
|
672
|
+
var t = this, n = t._self._c;
|
|
673
|
+
return t._self._setupProxy, n("blocks-wrapper", { attrs: { blocks: t.blocks, parent: t.parent, path: t.path, styleProp: t.styleProp } }, [t.blocks ? t._l(t.blocks, function(o, r) {
|
|
674
|
+
return n("block", { key: "render-block-" + o.id, attrs: { block: o, serverExecutor: t.serverExecutor, context: t.context || t.builderContext, components: t.components || t.componentsContext.registeredComponents } });
|
|
675
|
+
}) : t._e(), t.blocks ? t._l(t.blocks, function(o, r) {
|
|
676
|
+
var s;
|
|
677
|
+
return n("block-styles", { key: "block-style-" + o.id, attrs: { block: o, serverExecutor: t.serverExecutor, context: ((s = t.context) == null ? void 0 : s.value) || t.builderContext } });
|
|
678
|
+
}) : t._e()], 2);
|
|
679
|
+
}, Zt = [], te = /* @__PURE__ */ y(
|
|
680
|
+
Qt,
|
|
681
|
+
Yt,
|
|
682
|
+
Zt,
|
|
928
683
|
!1,
|
|
929
684
|
null,
|
|
930
685
|
null,
|
|
931
686
|
null,
|
|
932
687
|
null
|
|
933
688
|
);
|
|
934
|
-
const
|
|
689
|
+
const L = te.exports, ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
690
|
+
__proto__: null,
|
|
691
|
+
default: L
|
|
692
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
693
|
+
function h() {
|
|
694
|
+
return typeof window < "u" && typeof document < "u";
|
|
695
|
+
}
|
|
696
|
+
const $ = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
935
697
|
...t,
|
|
936
698
|
testVariationId: t.id,
|
|
937
699
|
id: e == null ? void 0 : e.id
|
|
938
|
-
})),
|
|
700
|
+
})), ne = ({
|
|
939
701
|
canTrack: e,
|
|
940
702
|
content: t
|
|
941
703
|
}) => !(!($(t).length > 0) || !e);
|
|
942
|
-
function
|
|
704
|
+
function oe(e, t, n) {
|
|
943
705
|
var i;
|
|
944
706
|
function o() {
|
|
945
|
-
function u(l,
|
|
707
|
+
function u(l, _, S) {
|
|
946
708
|
let k = "";
|
|
947
709
|
if (S) {
|
|
948
|
-
const
|
|
949
|
-
|
|
710
|
+
const b = /* @__PURE__ */ new Date();
|
|
711
|
+
b.setTime(b.getTime() + S * 24 * 60 * 60 * 1e3), k = "; expires=" + b.toUTCString();
|
|
950
712
|
}
|
|
951
|
-
document.cookie = l + "=" + (
|
|
713
|
+
document.cookie = l + "=" + (_ || "") + k + "; path=/; Secure; SameSite=None";
|
|
952
714
|
}
|
|
953
715
|
function a(l) {
|
|
954
|
-
const
|
|
716
|
+
const _ = l + "=", S = document.cookie.split(";");
|
|
955
717
|
for (let k = 0; k < S.length; k++) {
|
|
956
|
-
let
|
|
957
|
-
for (;
|
|
958
|
-
|
|
959
|
-
if (
|
|
960
|
-
return
|
|
718
|
+
let b = S[k];
|
|
719
|
+
for (; b.charAt(0) === " "; )
|
|
720
|
+
b = b.substring(1, b.length);
|
|
721
|
+
if (b.indexOf(_) === 0)
|
|
722
|
+
return b.substring(_.length, b.length);
|
|
961
723
|
}
|
|
962
724
|
return null;
|
|
963
725
|
}
|
|
964
|
-
const d = `builder.tests.${e}`,
|
|
965
|
-
if (
|
|
966
|
-
return
|
|
726
|
+
const d = `builder.tests.${e}`, p = a(d), f = t.map((l) => l.id).concat(e);
|
|
727
|
+
if (p && f.includes(p))
|
|
728
|
+
return p;
|
|
967
729
|
let c = 0;
|
|
968
|
-
const
|
|
730
|
+
const m = Math.random();
|
|
969
731
|
for (let l = 0; l < t.length; l++) {
|
|
970
|
-
const
|
|
971
|
-
if (c += S,
|
|
972
|
-
return u(d,
|
|
732
|
+
const _ = t[l], S = _.testRatio;
|
|
733
|
+
if (c += S, m < c)
|
|
734
|
+
return u(d, _.id), _.id;
|
|
973
735
|
}
|
|
974
736
|
return u(d, e), e;
|
|
975
737
|
}
|
|
@@ -986,18 +748,18 @@ function xe(e, t, n) {
|
|
|
986
748
|
s.innerHTML = u;
|
|
987
749
|
}
|
|
988
750
|
}
|
|
989
|
-
function
|
|
751
|
+
function re(e, t, n) {
|
|
990
752
|
var a;
|
|
991
753
|
if (!navigator.cookieEnabled)
|
|
992
754
|
return;
|
|
993
755
|
function o(d) {
|
|
994
|
-
const
|
|
995
|
-
for (let c = 0; c <
|
|
996
|
-
let
|
|
997
|
-
for (;
|
|
998
|
-
|
|
999
|
-
if (
|
|
1000
|
-
return
|
|
756
|
+
const p = d + "=", f = document.cookie.split(";");
|
|
757
|
+
for (let c = 0; c < f.length; c++) {
|
|
758
|
+
let m = f[c];
|
|
759
|
+
for (; m.charAt(0) === " "; )
|
|
760
|
+
m = m.substring(1, m.length);
|
|
761
|
+
if (m.indexOf(p) === 0)
|
|
762
|
+
return m.substring(p.length, m.length);
|
|
1001
763
|
}
|
|
1002
764
|
return null;
|
|
1003
765
|
}
|
|
@@ -1011,38 +773,173 @@ function we(e, t, n) {
|
|
|
1011
773
|
return;
|
|
1012
774
|
}
|
|
1013
775
|
}
|
|
1014
|
-
const
|
|
1015
|
-
const e =
|
|
776
|
+
const se = (e) => e === "react" || e === "reactNative", M = se(w), W = "builderIoAbTest", K = "builderIoRenderContent", ie = () => {
|
|
777
|
+
const e = oe.toString().replace(/\s+/g, " "), t = re.toString().replace(/\s+/g, " ");
|
|
1016
778
|
return `
|
|
1017
|
-
window.${
|
|
1018
|
-
window.${
|
|
779
|
+
window.${W} = ${e}
|
|
780
|
+
window.${K} = ${t}
|
|
1019
781
|
`;
|
|
1020
|
-
},
|
|
1021
|
-
window.${
|
|
782
|
+
}, ae = (e, t) => `
|
|
783
|
+
window.${W}("${t}",${JSON.stringify(e)}, ${M})`, pn = ({
|
|
1022
784
|
contentId: e,
|
|
1023
785
|
variationId: t
|
|
1024
786
|
}) => `
|
|
1025
|
-
window.${
|
|
787
|
+
window.${K}("${t}", "${e}", ${M})`, x = (e) => e != null, I = (e) => x(e) ? e : !0, ce = (e) => {
|
|
788
|
+
if (e === "localhost" || e === "127.0.0.1")
|
|
789
|
+
return e;
|
|
790
|
+
const t = e.split(".");
|
|
791
|
+
return t.length > 2 ? t.slice(1).join(".") : e;
|
|
792
|
+
}, z = ({
|
|
793
|
+
name: e,
|
|
794
|
+
canTrack: t
|
|
795
|
+
}) => {
|
|
796
|
+
var n;
|
|
797
|
+
try {
|
|
798
|
+
return t ? (n = document.cookie.split("; ").find((o) => o.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
|
|
799
|
+
} catch (o) {
|
|
800
|
+
v.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
|
|
801
|
+
return;
|
|
802
|
+
}
|
|
803
|
+
}, G = async (e) => z(e), le = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(x).join("; "), ue = [["secure", ""], ["SameSite", "None"]], de = ({
|
|
804
|
+
name: e,
|
|
805
|
+
value: t,
|
|
806
|
+
expires: n
|
|
807
|
+
}) => {
|
|
808
|
+
const r = (h() ? location.protocol === "https:" : !0) ? ue : [[]], s = n ? [["expires", n.toUTCString()]] : [[]], i = [[e, t], ...s, ["path", "/"], ["domain", ce(window.location.hostname)], ...r];
|
|
809
|
+
return le(i);
|
|
810
|
+
}, D = async ({
|
|
811
|
+
name: e,
|
|
812
|
+
value: t,
|
|
813
|
+
expires: n,
|
|
814
|
+
canTrack: o
|
|
815
|
+
}) => {
|
|
816
|
+
try {
|
|
817
|
+
if (!o)
|
|
818
|
+
return;
|
|
819
|
+
const r = de({
|
|
820
|
+
name: e,
|
|
821
|
+
value: t,
|
|
822
|
+
expires: n
|
|
823
|
+
});
|
|
824
|
+
document.cookie = r;
|
|
825
|
+
} catch (r) {
|
|
826
|
+
v.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
|
|
827
|
+
}
|
|
828
|
+
}, me = "builder.tests", P = (e) => `${me}.${e}`, pe = ({
|
|
829
|
+
contentId: e
|
|
830
|
+
}) => G({
|
|
831
|
+
name: P(e),
|
|
832
|
+
canTrack: !0
|
|
833
|
+
}), fe = ({
|
|
834
|
+
contentId: e
|
|
835
|
+
}) => z({
|
|
836
|
+
name: P(e),
|
|
837
|
+
canTrack: !0
|
|
838
|
+
}), he = ({
|
|
839
|
+
contentId: e,
|
|
840
|
+
value: t
|
|
841
|
+
}) => D({
|
|
842
|
+
name: P(e),
|
|
843
|
+
value: t,
|
|
844
|
+
canTrack: !0
|
|
845
|
+
}), H = (e) => x(e.id) && x(e.variations) && Object.keys(e.variations).length > 0, _e = ({
|
|
846
|
+
id: e,
|
|
847
|
+
variations: t
|
|
848
|
+
}) => {
|
|
849
|
+
var r;
|
|
850
|
+
let n = 0;
|
|
851
|
+
const o = Math.random();
|
|
852
|
+
for (const s in t) {
|
|
853
|
+
const i = (r = t[s]) == null ? void 0 : r.testRatio;
|
|
854
|
+
if (n += i, o < n)
|
|
855
|
+
return s;
|
|
856
|
+
}
|
|
857
|
+
return e;
|
|
858
|
+
}, J = (e) => {
|
|
859
|
+
const t = _e(e);
|
|
860
|
+
return he({
|
|
861
|
+
contentId: e.id,
|
|
862
|
+
value: t
|
|
863
|
+
}).catch((n) => {
|
|
864
|
+
v.error("could not store A/B test variation: ", n);
|
|
865
|
+
}), t;
|
|
866
|
+
}, X = ({
|
|
867
|
+
item: e,
|
|
868
|
+
testGroupId: t
|
|
869
|
+
}) => {
|
|
870
|
+
const n = e.variations[t];
|
|
871
|
+
return t === e.id || // handle edge-case where `testGroupId` points to non-existing variation
|
|
872
|
+
!n ? {
|
|
873
|
+
testVariationId: e.id,
|
|
874
|
+
testVariationName: "Default"
|
|
875
|
+
} : {
|
|
876
|
+
data: n.data,
|
|
877
|
+
testVariationId: n.id,
|
|
878
|
+
testVariationName: n.name || (n.id === e.id ? "Default" : "")
|
|
879
|
+
};
|
|
880
|
+
}, be = ({
|
|
881
|
+
item: e,
|
|
882
|
+
canTrack: t
|
|
883
|
+
}) => {
|
|
884
|
+
if (!t)
|
|
885
|
+
return e;
|
|
886
|
+
if (!e)
|
|
887
|
+
return;
|
|
888
|
+
if (!H(e))
|
|
889
|
+
return e;
|
|
890
|
+
const n = fe({
|
|
891
|
+
contentId: e.id
|
|
892
|
+
}) || J({
|
|
893
|
+
variations: e.variations,
|
|
894
|
+
id: e.id
|
|
895
|
+
}), o = X({
|
|
896
|
+
item: e,
|
|
897
|
+
testGroupId: n
|
|
898
|
+
});
|
|
899
|
+
return {
|
|
900
|
+
...e,
|
|
901
|
+
...o
|
|
902
|
+
};
|
|
903
|
+
}, ge = async ({
|
|
904
|
+
item: e,
|
|
905
|
+
canTrack: t
|
|
906
|
+
}) => {
|
|
907
|
+
if (!t || !H(e))
|
|
908
|
+
return e;
|
|
909
|
+
const o = await pe({
|
|
910
|
+
contentId: e.id
|
|
911
|
+
}) || J({
|
|
912
|
+
variations: e.variations,
|
|
913
|
+
id: e.id
|
|
914
|
+
}), r = X({
|
|
915
|
+
item: e,
|
|
916
|
+
testGroupId: o
|
|
917
|
+
});
|
|
918
|
+
return {
|
|
919
|
+
...e,
|
|
920
|
+
...r
|
|
921
|
+
};
|
|
922
|
+
}, ye = () => import("./content-ab735937.js").then((e) => e.default).catch((e) => {
|
|
1026
923
|
throw console.error(
|
|
1027
924
|
"Error while attempting to dynamically import component ContentComponent at ../content/content.vue",
|
|
1028
925
|
e
|
|
1029
926
|
), e;
|
|
1030
|
-
}),
|
|
927
|
+
}), ve = () => import("./inlined-styles-3a327fbd.js").then((e) => e.default).catch((e) => {
|
|
1031
928
|
throw console.error(
|
|
1032
929
|
"Error while attempting to dynamically import component InlinedStyles at ../inlined-styles.vue",
|
|
1033
930
|
e
|
|
1034
931
|
), e;
|
|
1035
|
-
}),
|
|
932
|
+
}), Se = () => import("./inlined-script-5ac8fff7.js").then((e) => e.default).catch((e) => {
|
|
1036
933
|
throw console.error(
|
|
1037
934
|
"Error while attempting to dynamically import component InlinedScript at ../inlined-script.vue",
|
|
1038
935
|
e
|
|
1039
936
|
), e;
|
|
1040
|
-
}),
|
|
937
|
+
}), ke = g({
|
|
1041
938
|
name: "content-variants",
|
|
1042
939
|
components: {
|
|
1043
|
-
"inlined-script":
|
|
1044
|
-
"inlined-styles":
|
|
1045
|
-
"content-component":
|
|
940
|
+
"inlined-script": Se,
|
|
941
|
+
"inlined-styles": ve,
|
|
942
|
+
"content-component": ye
|
|
1046
943
|
},
|
|
1047
944
|
props: [
|
|
1048
945
|
"canTrack",
|
|
@@ -1056,15 +953,16 @@ const Ce = (e) => e === "react" || e === "reactNative", D = Ce(w), H = "builderI
|
|
|
1056
953
|
"customComponents",
|
|
1057
954
|
"locale",
|
|
1058
955
|
"includeRefs",
|
|
1059
|
-
"enrich"
|
|
956
|
+
"enrich",
|
|
957
|
+
"serverExecutor"
|
|
1060
958
|
],
|
|
1061
959
|
data() {
|
|
1062
960
|
return {
|
|
1063
|
-
shouldRenderVariants:
|
|
961
|
+
shouldRenderVariants: ne({
|
|
1064
962
|
canTrack: I(this.canTrack),
|
|
1065
963
|
content: this.content
|
|
1066
964
|
}),
|
|
1067
|
-
getScriptString:
|
|
965
|
+
getScriptString: ie,
|
|
1068
966
|
getVariants: $,
|
|
1069
967
|
TARGET: w
|
|
1070
968
|
};
|
|
@@ -1075,7 +973,7 @@ const Ce = (e) => e === "react" || e === "reactNative", D = Ce(w), H = "builderI
|
|
|
1075
973
|
computed: {
|
|
1076
974
|
variantScriptStr() {
|
|
1077
975
|
var e;
|
|
1078
|
-
return
|
|
976
|
+
return ae(
|
|
1079
977
|
$(this.content).map((t) => ({
|
|
1080
978
|
id: t.testVariationId,
|
|
1081
979
|
testRatio: t.testRatio
|
|
@@ -1091,63 +989,63 @@ const Ce = (e) => e === "react" || e === "reactNative", D = Ce(w), H = "builderI
|
|
|
1091
989
|
return this.shouldRenderVariants ? {
|
|
1092
990
|
...this.content,
|
|
1093
991
|
testVariationId: (e = this.content) == null ? void 0 : e.id
|
|
1094
|
-
} :
|
|
992
|
+
} : be({
|
|
1095
993
|
item: this.content,
|
|
1096
994
|
canTrack: I(this.canTrack)
|
|
1097
995
|
});
|
|
1098
996
|
}
|
|
1099
997
|
}
|
|
1100
998
|
});
|
|
1101
|
-
var
|
|
999
|
+
var xe = function() {
|
|
1102
1000
|
var o, r;
|
|
1103
1001
|
var t = this, n = t._self._c;
|
|
1104
1002
|
return t._self._setupProxy, n("div", [!t.__isNestedRender && t.TARGET !== "reactNative" ? [n("inlined-script", { attrs: { scriptStr: t.getScriptString() } })] : t._e(), t.shouldRenderVariants ? [n("inlined-styles", { attrs: { id: `variants-styles-${(o = t.content) == null ? void 0 : o.id}`, styles: t.hideVariantsStyleString } }), n("inlined-script", { attrs: { scriptStr: t.variantScriptStr } }), t._l(t.getVariants(t.content), function(s, i) {
|
|
1105
|
-
return n("content-component", { key: s.testVariationId, attrs: { content: s, showContent: !1, classNameProp: void 0, model: t.model, data: t.data, context: t.context, apiKey: t.apiKey, apiVersion: t.apiVersion, customComponents: t.customComponents, canTrack: t.canTrack, locale: t.locale, includeRefs: t.includeRefs, enrich: t.enrich, isSsrAbTest: t.shouldRenderVariants } });
|
|
1106
|
-
})] : t._e(), n("content-component", t._b({ attrs: { content: t.defaultContent, classNameProp: `variant-${(r = t.content) == null ? void 0 : r.id}`, showContent: !0, model: t.model, data: t.data, context: t.context, apiKey: t.apiKey, apiVersion: t.apiVersion, customComponents: t.customComponents, canTrack: t.canTrack, locale: t.locale, includeRefs: t.includeRefs, enrich: t.enrich, isSsrAbTest: t.shouldRenderVariants } }, "content-component", {
|
|
1003
|
+
return n("content-component", { key: s.testVariationId, attrs: { content: s, showContent: !1, classNameProp: void 0, model: t.model, data: t.data, context: t.context, apiKey: t.apiKey, apiVersion: t.apiVersion, customComponents: t.customComponents, canTrack: t.canTrack, locale: t.locale, includeRefs: t.includeRefs, enrich: t.enrich, isSsrAbTest: t.shouldRenderVariants, serverExecutor: t.serverExecutor } });
|
|
1004
|
+
})] : t._e(), n("content-component", t._b({ attrs: { content: t.defaultContent, classNameProp: `variant-${(r = t.content) == null ? void 0 : r.id}`, showContent: !0, model: t.model, data: t.data, context: t.context, apiKey: t.apiKey, apiVersion: t.apiVersion, customComponents: t.customComponents, canTrack: t.canTrack, locale: t.locale, includeRefs: t.includeRefs, enrich: t.enrich, isSsrAbTest: t.shouldRenderVariants, serverExecutor: t.serverExecutor } }, "content-component", {
|
|
1107
1005
|
key: t.shouldRenderVariants.toString()
|
|
1108
1006
|
}, !1))], 2);
|
|
1109
|
-
},
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1007
|
+
}, we = [], Ce = /* @__PURE__ */ y(
|
|
1008
|
+
ke,
|
|
1009
|
+
xe,
|
|
1010
|
+
we,
|
|
1113
1011
|
!1,
|
|
1114
1012
|
null,
|
|
1115
1013
|
null,
|
|
1116
1014
|
null,
|
|
1117
1015
|
null
|
|
1118
1016
|
);
|
|
1119
|
-
const
|
|
1017
|
+
const q = Ce.exports, $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1120
1018
|
__proto__: null,
|
|
1121
|
-
default:
|
|
1122
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
1123
|
-
function
|
|
1124
|
-
return
|
|
1019
|
+
default: q
|
|
1020
|
+
}, Symbol.toStringTag, { value: "Module" })), fn = L, hn = q;
|
|
1021
|
+
function Te() {
|
|
1022
|
+
return h() && window.self !== window.top;
|
|
1125
1023
|
}
|
|
1126
|
-
function
|
|
1127
|
-
return
|
|
1024
|
+
function Q() {
|
|
1025
|
+
return Te() && window.location.search.indexOf("builder.frameEditing=") !== -1;
|
|
1128
1026
|
}
|
|
1129
|
-
function
|
|
1130
|
-
return !
|
|
1027
|
+
function _n() {
|
|
1028
|
+
return !h() || Q() ? !1 : location.search.indexOf("builder.preview=") !== -1;
|
|
1131
1029
|
}
|
|
1132
|
-
const
|
|
1030
|
+
const bn = [], gn = (e) => ({
|
|
1133
1031
|
type: "builder.registerComponent",
|
|
1134
1032
|
data: e
|
|
1135
|
-
}),
|
|
1033
|
+
}), Ie = (e) => {
|
|
1136
1034
|
const t = e.toString().trim();
|
|
1137
1035
|
return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
|
|
1138
|
-
},
|
|
1036
|
+
}, Re = (e) => typeof e == "function" ? Ie(e) : A(e), yn = ({
|
|
1139
1037
|
inputs: e,
|
|
1140
1038
|
...t
|
|
1141
1039
|
}) => ({
|
|
1142
1040
|
...A(t),
|
|
1143
1041
|
inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [r, s]) => ({
|
|
1144
1042
|
...o,
|
|
1145
|
-
[r]:
|
|
1043
|
+
[r]: Re(s)
|
|
1146
1044
|
}), {}))
|
|
1147
|
-
}),
|
|
1148
|
-
function
|
|
1149
|
-
let n =
|
|
1150
|
-
if (n || (n =
|
|
1045
|
+
}), j = {};
|
|
1046
|
+
function vn(e, t) {
|
|
1047
|
+
let n = j[e];
|
|
1048
|
+
if (n || (n = j[e] = []), n.push(t), h()) {
|
|
1151
1049
|
const o = {
|
|
1152
1050
|
type: "builder.register",
|
|
1153
1051
|
data: {
|
|
@@ -1163,8 +1061,8 @@ function gn(e, t) {
|
|
|
1163
1061
|
}
|
|
1164
1062
|
}
|
|
1165
1063
|
const N = {};
|
|
1166
|
-
function
|
|
1167
|
-
if (
|
|
1064
|
+
function Sn(e) {
|
|
1065
|
+
if (h()) {
|
|
1168
1066
|
Object.assign(N, e);
|
|
1169
1067
|
const t = {
|
|
1170
1068
|
type: "builder.settingsChange",
|
|
@@ -1173,47 +1071,162 @@ function bn(e) {
|
|
|
1173
1071
|
parent.postMessage(t, "*");
|
|
1174
1072
|
}
|
|
1175
1073
|
}
|
|
1176
|
-
function
|
|
1074
|
+
function Ee() {
|
|
1075
|
+
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
|
|
1076
|
+
}
|
|
1077
|
+
function Ae() {
|
|
1078
|
+
const e = Ee().fetch;
|
|
1079
|
+
if (typeof e > "u")
|
|
1080
|
+
throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
|
|
1081
|
+
For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
|
|
1082
|
+
return e;
|
|
1083
|
+
}
|
|
1084
|
+
const Pe = Ae();
|
|
1085
|
+
function R(e, t = null, n = ".") {
|
|
1086
|
+
return Object.keys(e).reduce((o, r) => {
|
|
1087
|
+
const s = e[r], i = [t, r].filter(Boolean).join(n);
|
|
1088
|
+
return [typeof s == "object", s !== null, !(Array.isArray(s) && s.length === 0)].every(Boolean) ? {
|
|
1089
|
+
...o,
|
|
1090
|
+
...R(s, i, n)
|
|
1091
|
+
} : {
|
|
1092
|
+
...o,
|
|
1093
|
+
[i]: s
|
|
1094
|
+
};
|
|
1095
|
+
}, {});
|
|
1096
|
+
}
|
|
1097
|
+
const F = "builder.", Ve = "options.", Oe = (e) => {
|
|
1098
|
+
const t = {};
|
|
1099
|
+
return e.forEach((n, o) => {
|
|
1100
|
+
t[o] = n;
|
|
1101
|
+
}), t;
|
|
1102
|
+
}, Y = (e) => {
|
|
1103
|
+
if (!e)
|
|
1104
|
+
return {};
|
|
1105
|
+
const t = Z(e), n = {};
|
|
1106
|
+
return Object.keys(t).forEach((o) => {
|
|
1107
|
+
if (o.startsWith(F)) {
|
|
1108
|
+
const r = o.replace(F, "").replace(Ve, "");
|
|
1109
|
+
n[r] = t[o];
|
|
1110
|
+
}
|
|
1111
|
+
}), n;
|
|
1112
|
+
}, Be = () => {
|
|
1113
|
+
if (!h())
|
|
1114
|
+
return {};
|
|
1115
|
+
const e = new URLSearchParams(window.location.search);
|
|
1116
|
+
return Y(e);
|
|
1117
|
+
}, Z = (e) => e instanceof URLSearchParams ? Oe(e) : e, je = "v3", V = (e) => {
|
|
1118
|
+
const {
|
|
1119
|
+
limit: t = 30,
|
|
1120
|
+
userAttributes: n,
|
|
1121
|
+
query: o,
|
|
1122
|
+
noTraverse: r = !1,
|
|
1123
|
+
model: s,
|
|
1124
|
+
apiKey: i,
|
|
1125
|
+
includeRefs: u = !0,
|
|
1126
|
+
enrich: a,
|
|
1127
|
+
locale: d,
|
|
1128
|
+
apiVersion: p = je
|
|
1129
|
+
} = e;
|
|
1130
|
+
if (!i)
|
|
1131
|
+
throw new Error("Missing API key");
|
|
1132
|
+
if (!["v2", "v3"].includes(p))
|
|
1133
|
+
throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${p}'`);
|
|
1134
|
+
const f = new URL(`https://cdn.builder.io/api/${p}/content/${s}?apiKey=${i}&limit=${t}&noTraverse=${r}&includeRefs=${u}${d ? `&locale=${d}` : ""}${a ? `&enrich=${a}` : ""}`), c = {
|
|
1135
|
+
...Be(),
|
|
1136
|
+
...Z(e.options || {})
|
|
1137
|
+
}, m = R(c);
|
|
1138
|
+
for (const l in m)
|
|
1139
|
+
f.searchParams.set(l, String(m[l]));
|
|
1140
|
+
if (n && f.searchParams.set("userAttributes", JSON.stringify(n)), o) {
|
|
1141
|
+
const l = R({
|
|
1142
|
+
query: o
|
|
1143
|
+
});
|
|
1144
|
+
for (const _ in l)
|
|
1145
|
+
f.searchParams.set(_, JSON.stringify(l[_]));
|
|
1146
|
+
}
|
|
1147
|
+
return f;
|
|
1148
|
+
}, Ne = (e) => "results" in e;
|
|
1149
|
+
async function O(e) {
|
|
1150
|
+
const t = await tt({
|
|
1151
|
+
...e,
|
|
1152
|
+
limit: 1
|
|
1153
|
+
});
|
|
1154
|
+
return t && t.results[0] || null;
|
|
1155
|
+
}
|
|
1156
|
+
const kn = O, Fe = async (e) => {
|
|
1157
|
+
const t = V(e);
|
|
1158
|
+
return await (await Pe(t.href)).json();
|
|
1159
|
+
}, Ue = async (e, t, n = V(e)) => {
|
|
1160
|
+
const o = I(e.canTrack);
|
|
1161
|
+
if (n.search.includes("preview="), !o || !(h() || w === "reactNative"))
|
|
1162
|
+
return t;
|
|
1163
|
+
try {
|
|
1164
|
+
const r = [];
|
|
1165
|
+
for (const s of t.results)
|
|
1166
|
+
r.push(await ge({
|
|
1167
|
+
item: s,
|
|
1168
|
+
canTrack: o
|
|
1169
|
+
}));
|
|
1170
|
+
t.results = r;
|
|
1171
|
+
} catch (r) {
|
|
1172
|
+
v.error("Could not process A/B tests. ", r);
|
|
1173
|
+
}
|
|
1174
|
+
return t;
|
|
1175
|
+
};
|
|
1176
|
+
async function tt(e) {
|
|
1177
|
+
try {
|
|
1178
|
+
const t = V(e), n = await Fe(e);
|
|
1179
|
+
return Ne(n) ? Ue(e, n) : (v.error("Error fetching data. ", {
|
|
1180
|
+
url: t,
|
|
1181
|
+
content: n,
|
|
1182
|
+
options: e
|
|
1183
|
+
}), null);
|
|
1184
|
+
} catch (t) {
|
|
1185
|
+
return v.error("Error fetching data. ", t), null;
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
const xn = tt;
|
|
1189
|
+
function Le() {
|
|
1177
1190
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
1178
1191
|
const t = Math.random() * 16 | 0;
|
|
1179
1192
|
return (e == "x" ? t : t & 3 | 8).toString(16);
|
|
1180
1193
|
});
|
|
1181
1194
|
}
|
|
1182
|
-
function
|
|
1183
|
-
return
|
|
1195
|
+
function et() {
|
|
1196
|
+
return Le().replace(/-/g, "");
|
|
1184
1197
|
}
|
|
1185
|
-
const
|
|
1198
|
+
const nt = "builderSessionId", Me = async ({
|
|
1186
1199
|
canTrack: e
|
|
1187
1200
|
}) => {
|
|
1188
1201
|
if (!e)
|
|
1189
1202
|
return;
|
|
1190
|
-
const t = await
|
|
1191
|
-
name:
|
|
1203
|
+
const t = await G({
|
|
1204
|
+
name: nt,
|
|
1192
1205
|
canTrack: e
|
|
1193
1206
|
});
|
|
1194
1207
|
if (x(t))
|
|
1195
1208
|
return t;
|
|
1196
1209
|
{
|
|
1197
|
-
const n =
|
|
1210
|
+
const n = We();
|
|
1198
1211
|
return Ke({
|
|
1199
1212
|
id: n,
|
|
1200
1213
|
canTrack: e
|
|
1201
1214
|
}), n;
|
|
1202
1215
|
}
|
|
1203
|
-
},
|
|
1216
|
+
}, We = () => et(), Ke = ({
|
|
1204
1217
|
id: e,
|
|
1205
1218
|
canTrack: t
|
|
1206
|
-
}) =>
|
|
1207
|
-
name:
|
|
1219
|
+
}) => D({
|
|
1220
|
+
name: nt,
|
|
1208
1221
|
value: e,
|
|
1209
1222
|
canTrack: t
|
|
1210
|
-
}),
|
|
1223
|
+
}), ot = () => h() && typeof localStorage < "u" ? localStorage : void 0, ze = ({
|
|
1211
1224
|
key: e,
|
|
1212
1225
|
canTrack: t
|
|
1213
1226
|
}) => {
|
|
1214
1227
|
var n;
|
|
1215
1228
|
try {
|
|
1216
|
-
return t ? (n =
|
|
1229
|
+
return t ? (n = ot()) == null ? void 0 : n.getItem(e) : void 0;
|
|
1217
1230
|
} catch (o) {
|
|
1218
1231
|
console.debug("[LocalStorage] GET error: ", o);
|
|
1219
1232
|
return;
|
|
@@ -1225,17 +1238,17 @@ const Q = "builderSessionId", We = async ({
|
|
|
1225
1238
|
}) => {
|
|
1226
1239
|
var o;
|
|
1227
1240
|
try {
|
|
1228
|
-
t && ((o =
|
|
1241
|
+
t && ((o = ot()) == null || o.setItem(e, n));
|
|
1229
1242
|
} catch (r) {
|
|
1230
1243
|
console.debug("[LocalStorage] SET error: ", r);
|
|
1231
1244
|
}
|
|
1232
|
-
},
|
|
1245
|
+
}, rt = "builderVisitorId", De = ({
|
|
1233
1246
|
canTrack: e
|
|
1234
1247
|
}) => {
|
|
1235
1248
|
if (!e)
|
|
1236
1249
|
return;
|
|
1237
1250
|
const t = ze({
|
|
1238
|
-
key:
|
|
1251
|
+
key: rt,
|
|
1239
1252
|
canTrack: e
|
|
1240
1253
|
});
|
|
1241
1254
|
if (x(t))
|
|
@@ -1247,15 +1260,15 @@ const Q = "builderSessionId", We = async ({
|
|
|
1247
1260
|
canTrack: e
|
|
1248
1261
|
}), n;
|
|
1249
1262
|
}
|
|
1250
|
-
}, He = () =>
|
|
1263
|
+
}, He = () => et(), Je = ({
|
|
1251
1264
|
id: e,
|
|
1252
1265
|
canTrack: t
|
|
1253
1266
|
}) => Ge({
|
|
1254
|
-
key:
|
|
1267
|
+
key: rt,
|
|
1255
1268
|
value: e,
|
|
1256
1269
|
canTrack: t
|
|
1257
1270
|
}), Xe = () => {
|
|
1258
|
-
if (
|
|
1271
|
+
if (h()) {
|
|
1259
1272
|
const e = new URL(location.href);
|
|
1260
1273
|
return e.pathname === "" && (e.pathname = "/"), e;
|
|
1261
1274
|
} else
|
|
@@ -1294,7 +1307,7 @@ const Q = "builderSessionId", We = async ({
|
|
|
1294
1307
|
visitorId: void 0,
|
|
1295
1308
|
sessionId: void 0
|
|
1296
1309
|
};
|
|
1297
|
-
const t = await
|
|
1310
|
+
const t = await Me({
|
|
1298
1311
|
canTrack: e
|
|
1299
1312
|
}), n = De({
|
|
1300
1313
|
canTrack: e
|
|
@@ -1329,7 +1342,7 @@ async function tn(e) {
|
|
|
1329
1342
|
v.error("Missing API key for track call. Please provide your API key.");
|
|
1330
1343
|
return;
|
|
1331
1344
|
}
|
|
1332
|
-
if (
|
|
1345
|
+
if (e.canTrack && !Q() && (h() || w === "reactNative"))
|
|
1333
1346
|
return fetch("https://cdn.builder.io/api/v1/track", {
|
|
1334
1347
|
method: "POST",
|
|
1335
1348
|
body: JSON.stringify({
|
|
@@ -1343,46 +1356,85 @@ async function tn(e) {
|
|
|
1343
1356
|
console.error("Failed to track: ", t);
|
|
1344
1357
|
});
|
|
1345
1358
|
}
|
|
1346
|
-
const
|
|
1359
|
+
const wn = (e) => tn({
|
|
1347
1360
|
...e,
|
|
1348
1361
|
canTrack: !0
|
|
1349
1362
|
});
|
|
1363
|
+
function en() {
|
|
1364
|
+
const e = () => {
|
|
1365
|
+
var t;
|
|
1366
|
+
return typeof process < "u" && ((t = process == null ? void 0 : process.versions) == null ? void 0 : t.node);
|
|
1367
|
+
};
|
|
1368
|
+
return !h() && !e();
|
|
1369
|
+
}
|
|
1370
|
+
const Cn = async (e) => {
|
|
1371
|
+
var r, s, i;
|
|
1372
|
+
const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((s = e.userAttributes) == null ? void 0 : s.urlPath), n = {
|
|
1373
|
+
...e,
|
|
1374
|
+
apiKey: e.apiKey,
|
|
1375
|
+
model: e.model || "page",
|
|
1376
|
+
userAttributes: {
|
|
1377
|
+
...e.userAttributes,
|
|
1378
|
+
...t ? {
|
|
1379
|
+
urlPath: t
|
|
1380
|
+
} : {}
|
|
1381
|
+
},
|
|
1382
|
+
options: Y(
|
|
1383
|
+
e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options
|
|
1384
|
+
)
|
|
1385
|
+
};
|
|
1386
|
+
console.log("yeeh");
|
|
1387
|
+
const o = h() ? void 0 : en() ? (await import("./index-cc904f8c.js")).evaluator : (await import("./index-cc904f8c.js")).evaluator;
|
|
1388
|
+
return console.log("yeeh 2", o), {
|
|
1389
|
+
apiKey: n.apiKey,
|
|
1390
|
+
model: n.model,
|
|
1391
|
+
content: await O(n),
|
|
1392
|
+
serverExecutor: o
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1350
1395
|
export {
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1396
|
+
kn as A,
|
|
1397
|
+
on as B,
|
|
1398
|
+
sn as C,
|
|
1399
|
+
Ue as D,
|
|
1400
|
+
Y as E,
|
|
1401
|
+
an as F,
|
|
1402
|
+
wn as G,
|
|
1403
|
+
Cn as H,
|
|
1404
|
+
cn as I,
|
|
1405
|
+
L as J,
|
|
1406
|
+
q as K,
|
|
1407
|
+
hn as L,
|
|
1408
|
+
ee as M,
|
|
1409
|
+
fn as R,
|
|
1410
|
+
ln as S,
|
|
1359
1411
|
w as T,
|
|
1360
|
-
|
|
1412
|
+
mn as V,
|
|
1361
1413
|
tn as _,
|
|
1362
|
-
|
|
1363
|
-
|
|
1414
|
+
en as a,
|
|
1415
|
+
rn as b,
|
|
1364
1416
|
x as c,
|
|
1365
|
-
|
|
1366
|
-
|
|
1417
|
+
Q as d,
|
|
1418
|
+
E as e,
|
|
1367
1419
|
A as f,
|
|
1368
|
-
|
|
1420
|
+
lt as g,
|
|
1369
1421
|
un as h,
|
|
1370
|
-
|
|
1371
|
-
|
|
1422
|
+
h as i,
|
|
1423
|
+
dn as j,
|
|
1372
1424
|
pn as k,
|
|
1373
1425
|
v as l,
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1426
|
+
bn as m,
|
|
1427
|
+
y as n,
|
|
1428
|
+
Ht as o,
|
|
1429
|
+
Gt as p,
|
|
1430
|
+
_n as q,
|
|
1431
|
+
vn as r,
|
|
1432
|
+
yn as s,
|
|
1433
|
+
O as t,
|
|
1434
|
+
Pe as u,
|
|
1435
|
+
gn as v,
|
|
1436
|
+
Qe as w,
|
|
1437
|
+
Sn as x,
|
|
1438
|
+
tt as y,
|
|
1439
|
+
xn as z
|
|
1388
1440
|
};
|