@builder.io/sdk-vue 5.2.5 → 5.2.7

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.
Files changed (79) hide show
  1. package/lib/browser/{awaiter-RQWxLPh7.cjs → awaiter-0mKQSRRk.cjs} +1 -1
  2. package/lib/browser/{awaiter-BKtN2AMs.js → awaiter-aT9nEkF0.js} +1 -1
  3. package/lib/browser/{block-wrapper-nMKh8p11.cjs → block-wrapper-ebPi5330.cjs} +1 -1
  4. package/lib/browser/{block-wrapper-tny9tjLX.js → block-wrapper-hsmUEUmJ.js} +3 -3
  5. package/lib/browser/blocks/image/image.vue.d.ts +4 -3
  6. package/lib/browser/blocks/personalization-container/helpers.d.ts +2 -0
  7. package/lib/browser/{component-ref-d2TAsp69.js → component-ref-2JLic_6J.js} +4 -4
  8. package/lib/browser/{component-ref-Mw4IXQsf.cjs → component-ref-5lsY_P2L.cjs} +1 -1
  9. package/lib/browser/components/content/components/enable-editor.vue.d.ts +1 -0
  10. package/lib/browser/components/content-variants/content-variants.vue.d.ts +1 -0
  11. package/lib/browser/constants/sdk-version.d.ts +1 -1
  12. package/lib/browser/{get-block-properties-yuV5qbSy.cjs → get-block-properties-DMrMpyLe.cjs} +1 -1
  13. package/lib/browser/{get-block-properties-DXgJ283y.js → get-block-properties-uAJb6ltf.js} +1 -1
  14. package/lib/browser/index-HltbyCkc.cjs +350 -0
  15. package/lib/browser/{index-NzYhd2fP.js → index-ODe_HCA4.js} +693 -675
  16. package/lib/browser/index.cjs +1 -1
  17. package/lib/browser/index.mjs +1 -1
  18. package/lib/browser/{live-edit-MYo3p6a8.js → live-edit-6Fy-p514.js} +1 -1
  19. package/lib/browser/{live-edit-2xpHwDC6.cjs → live-edit-jPgkphth.cjs} +1 -1
  20. package/lib/browser/{repeated-block-Ga5ASejd.js → repeated-block-GCDk4uyK.js} +2 -2
  21. package/lib/browser/{repeated-block-2EBzVyUu.cjs → repeated-block-dwcsu5Tf.cjs} +1 -1
  22. package/lib/browser/{style-wrapper-L7DnOyfm.cjs → style-wrapper-uJyikbLw.cjs} +1 -1
  23. package/lib/browser/{style-wrapper-dI5wRv59.js → style-wrapper-uzjZV5OS.js} +1 -1
  24. package/lib/browser/style.css +1 -1
  25. package/lib/edge/{awaiter-6AjvWUxL.cjs → awaiter-eu9BKtnq.cjs} +1 -1
  26. package/lib/edge/{awaiter-4nEUChYV.js → awaiter-n2CWjZB1.js} +1 -1
  27. package/lib/{node/block-wrapper-CVcdunhe.cjs → edge/block-wrapper--rtRhHUc.cjs} +1 -1
  28. package/lib/edge/{block-wrapper-46vOpFGy.js → block-wrapper-9nBz9JZR.js} +3 -3
  29. package/lib/edge/blocks/image/image.vue.d.ts +4 -3
  30. package/lib/edge/blocks/personalization-container/helpers.d.ts +2 -0
  31. package/lib/edge/{component-ref-yTXpKy_r.js → component-ref-S9vJwuiq.js} +4 -4
  32. package/lib/edge/{component-ref-DUyRq-EJ.cjs → component-ref-jnjNzDWr.cjs} +1 -1
  33. package/lib/edge/components/content/components/enable-editor.vue.d.ts +1 -0
  34. package/lib/edge/components/content-variants/content-variants.vue.d.ts +1 -0
  35. package/lib/edge/constants/sdk-version.d.ts +1 -1
  36. package/lib/edge/{get-block-properties-W3W_9H-Z.js → get-block-properties--bKisxsm.js} +1 -1
  37. package/lib/edge/{get-block-properties-jJLbFHeq.cjs → get-block-properties-TpA1c-Zj.cjs} +1 -1
  38. package/lib/edge/{index-jpFEl6o1.cjs → index-_nY8Y9dm.cjs} +49 -41
  39. package/lib/edge/{index-DHXkBA25.js → index-bxo4ghDB.js} +799 -781
  40. package/lib/edge/index.cjs +1 -1
  41. package/lib/edge/index.mjs +1 -1
  42. package/lib/{node/live-edit-NBkhYc-u.js → edge/live-edit-7g02-2DF.js} +1 -1
  43. package/lib/{node/live-edit-iOkS0wUg.cjs → edge/live-edit-e8Z6uQ-j.cjs} +1 -1
  44. package/lib/edge/{repeated-block-dGVzaSM5.cjs → repeated-block-OUui2NbB.cjs} +1 -1
  45. package/lib/edge/{repeated-block-eANZkOUH.js → repeated-block-R_IWEkxl.js} +2 -2
  46. package/lib/edge/{style-wrapper-CvNVb0wT.cjs → style-wrapper-F_5qcoF-.cjs} +1 -1
  47. package/lib/edge/{style-wrapper-GqtgkGuc.js → style-wrapper-sQRz1Tz9.js} +1 -1
  48. package/lib/edge/style.css +1 -1
  49. package/lib/node/{awaiter-6JHJCJgG.js → awaiter-JSpfFLrt.js} +1 -1
  50. package/lib/node/{awaiter-_rQTvMWR.cjs → awaiter-N70CU_8O.cjs} +1 -1
  51. package/lib/node/{block-wrapper-3P0_XOfk.js → block-wrapper-8WuMQvKC.js} +3 -3
  52. package/lib/{edge/block-wrapper-97OfjwlX.cjs → node/block-wrapper-pbauouda.cjs} +1 -1
  53. package/lib/node/blocks/image/image.vue.d.ts +4 -3
  54. package/lib/node/blocks/personalization-container/helpers.d.ts +2 -0
  55. package/lib/node/{component-ref-tWjNsmU5.cjs → component-ref-0QnbZN8R.cjs} +1 -1
  56. package/lib/node/{component-ref-RHwChjOp.js → component-ref-Why7x4bF.js} +5 -5
  57. package/lib/node/components/content/components/enable-editor.vue.d.ts +1 -0
  58. package/lib/node/components/content-variants/content-variants.vue.d.ts +1 -0
  59. package/lib/node/constants/sdk-version.d.ts +1 -1
  60. package/lib/node/{get-block-properties-jknWz7As.cjs → get-block-properties-49Z6hgAn.cjs} +1 -1
  61. package/lib/node/{get-block-properties-9gqKfU1J.js → get-block-properties-yMS_NiSc.js} +2 -2
  62. package/lib/node/index-2G2Z-ncC.cjs +350 -0
  63. package/lib/node/{index-CwfwLkvc.js → index-4BcEpdYg.js} +578 -560
  64. package/lib/node/index.cjs +1 -1
  65. package/lib/node/index.mjs +2 -2
  66. package/lib/node/init.cjs +1 -1
  67. package/lib/node/init.mjs +1 -1
  68. package/lib/{edge/live-edit-WpboQZDv.cjs → node/live-edit-0eQ2U7us.cjs} +1 -1
  69. package/lib/{edge/live-edit-nhAMI-64.js → node/live-edit-959vfTqG.js} +1 -1
  70. package/lib/node/{repeated-block-BqCLqE8_.cjs → repeated-block-NkQjCyoE.cjs} +1 -1
  71. package/lib/node/{repeated-block-aHj4jtJt.js → repeated-block-uTpfjUj-.js} +2 -2
  72. package/lib/node/{should-force-browser-runtime-in-node-j9YDACzy.cjs → should-force-browser-runtime-in-node-hS7qkwoE.cjs} +1 -1
  73. package/lib/node/{should-force-browser-runtime-in-node-2bRYXF-W.js → should-force-browser-runtime-in-node-k20eAE3E.js} +1 -1
  74. package/lib/node/{style-wrapper-kcTKCb_j.js → style-wrapper-HY1zLGB7.js} +2 -2
  75. package/lib/node/{style-wrapper-WxU8Uo4d.cjs → style-wrapper-dYrN4_G9.cjs} +1 -1
  76. package/lib/node/style.css +1 -1
  77. package/package.json +1 -1
  78. package/lib/browser/index-yyjVNpWr.cjs +0 -342
  79. package/lib/node/index-eeU-4w7r.cjs +0 -342
@@ -1,5 +1,5 @@
1
- import { defineComponent as B, openBlock as v, createElementBlock as w, Fragment as z, createBlock as U, resolveDynamicComponent as dt, mergeProps as q, toHandlers as ye, withCtx as me, renderSlot as pe, resolveComponent as W, createTextVNode as Xo, toDisplayString as Wt, defineAsyncComponent as st, createVNode as ee, renderList as ve, createCommentVNode as F, h as zr, createElementVNode as Ge, normalizeStyle as Pe, normalizeClass as gt, markRaw as Yo } from "vue";
2
- const Qo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Zo = (e) => typeof e == "string" && Qo.has(e.toLowerCase());
1
+ import { defineComponent as B, openBlock as v, createElementBlock as w, Fragment as z, createBlock as U, resolveDynamicComponent as dt, mergeProps as q, toHandlers as ye, withCtx as me, renderSlot as pe, resolveComponent as W, createTextVNode as Qo, toDisplayString as Wt, defineAsyncComponent as st, createVNode as ee, renderList as ve, createCommentVNode as F, h as Jr, createElementVNode as Ge, normalizeStyle as Pe, normalizeClass as gt, markRaw as Zo } from "vue";
2
+ const ei = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), ti = (e) => typeof e == "string" && ei.has(e.toLowerCase());
3
3
  function de(e = {}, t, n) {
4
4
  const r = {};
5
5
  for (const o in e) {
@@ -10,11 +10,11 @@ function de(e = {}, t, n) {
10
10
  }
11
11
  return r;
12
12
  }
13
- const ei = B({
13
+ const ni = B({
14
14
  name: "dynamic-renderer",
15
15
  props: ["TagName", "attributes", "actionAttributes"],
16
16
  data() {
17
- return { isEmptyElement: Zo };
17
+ return { isEmptyElement: ti };
18
18
  }
19
19
  }), j = (e, t) => {
20
20
  const n = e.__vccOpts || e;
@@ -22,7 +22,7 @@ const ei = B({
22
22
  n[r] = o;
23
23
  return n;
24
24
  };
25
- function ti(e, t, n, r, o, i) {
25
+ function ri(e, t, n, r, o, i) {
26
26
  return e.isEmptyElement(e.TagName) ? (v(), U(dt(e.TagName), q({ key: 1 }, e.attributes, ye(e.actionAttributes)), null, 16)) : (v(), w(z, { key: 0 }, [
27
27
  typeof e.TagName == "string" ? (v(), U(dt(e.TagName), q({ key: 0 }, e.attributes, ye(e.actionAttributes)), {
28
28
  default: me(() => [
@@ -37,9 +37,9 @@ function ti(e, t, n, r, o, i) {
37
37
  }, 16))
38
38
  ], 64));
39
39
  }
40
- const Rn = /* @__PURE__ */ j(ei, [["render", ti]]), Zu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
40
+ const xn = /* @__PURE__ */ j(ni, [["render", ri]]), nc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
41
  __proto__: null,
42
- default: Rn
42
+ default: xn
43
43
  }, Symbol.toStringTag, { value: "Module" })), G = "vue", Oe = () => {
44
44
  switch (G) {
45
45
  case "react":
@@ -53,9 +53,9 @@ const Rn = /* @__PURE__ */ j(ei, [["render", ti]]), Zu = /* @__PURE__ */ Object.
53
53
  case "angular":
54
54
  return "class";
55
55
  }
56
- }, ni = B({
56
+ }, oi = B({
57
57
  name: "builder-button",
58
- components: { DynamicRenderer: Rn },
58
+ components: { DynamicRenderer: xn },
59
59
  props: [
60
60
  "attributes",
61
61
  "link",
@@ -82,7 +82,7 @@ const Rn = /* @__PURE__ */ j(ei, [["render", ti]]), Zu = /* @__PURE__ */ Object.
82
82
  }
83
83
  }
84
84
  });
85
- function ri(e, t, n, r, o, i) {
85
+ function ii(e, t, n, r, o, i) {
86
86
  const s = W("DynamicRenderer");
87
87
  return v(), U(s, {
88
88
  attributes: e.attrs(),
@@ -90,12 +90,12 @@ function ri(e, t, n, r, o, i) {
90
90
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
91
91
  }, {
92
92
  default: me(() => [
93
- Xo(Wt(e.text), 1)
93
+ Qo(Wt(e.text), 1)
94
94
  ]),
95
95
  _: 1
96
96
  }, 8, ["attributes", "TagName", "actionAttributes"]);
97
97
  }
98
- const oi = /* @__PURE__ */ j(ni, [["render", ri]]), ii = Symbol(), vn = {
98
+ const si = /* @__PURE__ */ j(oi, [["render", ii]]), ai = Symbol(), vn = {
99
99
  Builder: {
100
100
  content: null,
101
101
  context: {},
@@ -112,43 +112,43 @@ const oi = /* @__PURE__ */ j(ni, [["render", ri]]), ii = Symbol(), vn = {
112
112
  nonce: "",
113
113
  model: ""
114
114
  },
115
- key: ii
116
- }, si = Symbol(), qr = {
115
+ key: ai
116
+ }, li = Symbol(), Xr = {
117
117
  Components: { registeredComponents: {} },
118
- key: si
118
+ key: li
119
119
  }, Pt = "[Builder.io]: ", ue = {
120
120
  log: (...e) => console.log(Pt, ...e),
121
121
  error: (...e) => console.error(Pt, ...e),
122
122
  warn: (...e) => console.warn(Pt, ...e),
123
123
  debug: (...e) => console.debug(Pt, ...e)
124
- }, Gr = (e, t, n) => {
124
+ }, Yr = (e, t, n) => {
125
125
  const r = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, i) => o != null ? o[i] : o, e);
126
126
  return r === void 0 || r === e ? n : r;
127
127
  };
128
128
  function M() {
129
129
  return typeof window < "u" && typeof document < "u";
130
130
  }
131
- const ai = (e) => {
131
+ const ui = (e) => {
132
132
  const t = {};
133
133
  return e.forEach((n, r) => {
134
134
  t[r] = n;
135
135
  }), t;
136
- }, _r = (e) => e instanceof URLSearchParams ? ai(e) : e, Jr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
137
- function li() {
136
+ }, Qr = (e) => e instanceof URLSearchParams ? ui(e) : e, Zr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
137
+ function ci() {
138
138
  return M() && window.self !== window.top;
139
139
  }
140
140
  function oe(e) {
141
- return li() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
142
- Jr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
141
+ return ci() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
142
+ Zr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
143
143
  }
144
- const ui = () => {
144
+ const pi = () => {
145
145
  if (M()) {
146
146
  const e = new URL(location.href);
147
147
  return e.pathname === "" && (e.pathname = "/"), e;
148
148
  } else
149
149
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
150
- }, ci = () => typeof navigator == "object" && navigator.userAgent || "", Xr = () => {
151
- const e = ci(), t = {
150
+ }, di = () => typeof navigator == "object" && navigator.userAgent || "", eo = () => {
151
+ const e = di(), t = {
152
152
  Android() {
153
153
  return e.match(/Android/i);
154
154
  },
@@ -167,17 +167,17 @@ const ui = () => {
167
167
  any() {
168
168
  return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || G === "reactNative";
169
169
  }
170
- }, n = e.match(/Tablet|iPad/i), r = ui();
170
+ }, n = e.match(/Tablet|iPad/i), r = pi();
171
171
  return {
172
172
  urlPath: r == null ? void 0 : r.pathname,
173
173
  host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
174
174
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
175
175
  };
176
- }, Yr = "5.2.5", Qr = () => ({
176
+ }, to = "5.2.7", no = () => ({
177
177
  "X-Builder-SDK": G,
178
178
  "X-Builder-SDK-GEN": "2",
179
- "X-Builder-SDK-Version": Yr
180
- }), Ne = (e) => e != null, pi = (e) => {
179
+ "X-Builder-SDK-Version": to
180
+ }), Ne = (e) => e != null, fi = (e) => {
181
181
  if (e === "localhost" || e === "127.0.0.1")
182
182
  return e;
183
183
  const t = e.split(".");
@@ -193,14 +193,14 @@ const ui = () => {
193
193
  ue.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
194
194
  return;
195
195
  }
196
- }, Zr = async (e) => Lt(e), di = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Ne).join("; "), fi = [["secure", ""], ["SameSite", "None"]], hi = ({
196
+ }, ro = async (e) => Lt(e), hi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Ne).join("; "), mi = [["secure", ""], ["SameSite", "None"]], gi = ({
197
197
  name: e,
198
198
  value: t,
199
199
  expires: n
200
200
  }) => {
201
- const o = (M() ? location.protocol === "https:" : !0) ? fi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", pi(window.location.hostname)], ...o];
202
- return di(s);
203
- }, An = async ({
201
+ const o = (M() ? location.protocol === "https:" : !0) ? mi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", fi(window.location.hostname)], ...o];
202
+ return hi(s);
203
+ }, Pn = async ({
204
204
  name: e,
205
205
  value: t,
206
206
  expires: n,
@@ -209,7 +209,7 @@ const ui = () => {
209
209
  try {
210
210
  if (!r)
211
211
  return;
212
- const o = hi({
212
+ const o = gi({
213
213
  name: e,
214
214
  value: t,
215
215
  expires: n
@@ -219,93 +219,93 @@ const ui = () => {
219
219
  ue.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
220
220
  }
221
221
  };
222
- function mi() {
222
+ function yi() {
223
223
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
224
224
  const t = Math.random() * 16 | 0;
225
225
  return (e == "x" ? t : t & 3 | 8).toString(16);
226
226
  });
227
227
  }
228
- function eo() {
229
- return mi().replace(/-/g, "");
228
+ function oo() {
229
+ return yi().replace(/-/g, "");
230
230
  }
231
- const to = "builderSessionId", gi = async ({
231
+ const io = "builderSessionId", vi = async ({
232
232
  canTrack: e
233
233
  }) => {
234
234
  if (!e)
235
235
  return;
236
- const t = await Zr({
237
- name: to,
236
+ const t = await ro({
237
+ name: io,
238
238
  canTrack: e
239
239
  });
240
240
  if (Ne(t))
241
241
  return t;
242
242
  {
243
- const n = yi();
244
- return vi({
243
+ const n = bi();
244
+ return Si({
245
245
  id: n,
246
246
  canTrack: e
247
247
  }), n;
248
248
  }
249
- }, yi = () => eo(), vi = ({
249
+ }, bi = () => oo(), Si = ({
250
250
  id: e,
251
251
  canTrack: t
252
- }) => An({
253
- name: to,
252
+ }) => Pn({
253
+ name: io,
254
254
  value: e,
255
255
  canTrack: t
256
- }), no = () => M() && typeof localStorage < "u" ? localStorage : void 0, bi = ({
256
+ }), so = () => M() && typeof localStorage < "u" ? localStorage : void 0, ki = ({
257
257
  key: e,
258
258
  canTrack: t
259
259
  }) => {
260
260
  var n;
261
261
  try {
262
- return t ? (n = no()) == null ? void 0 : n.getItem(e) : void 0;
262
+ return t ? (n = so()) == null ? void 0 : n.getItem(e) : void 0;
263
263
  } catch (r) {
264
264
  console.debug("[LocalStorage] GET error: ", r);
265
265
  return;
266
266
  }
267
- }, Si = ({
267
+ }, Ci = ({
268
268
  key: e,
269
269
  canTrack: t,
270
270
  value: n
271
271
  }) => {
272
272
  var r;
273
273
  try {
274
- t && ((r = no()) == null || r.setItem(e, n));
274
+ t && ((r = so()) == null || r.setItem(e, n));
275
275
  } catch (o) {
276
276
  console.debug("[LocalStorage] SET error: ", o);
277
277
  }
278
- }, ro = "builderVisitorId", ki = ({
278
+ }, ao = "builderVisitorId", wi = ({
279
279
  canTrack: e
280
280
  }) => {
281
281
  if (!e)
282
282
  return;
283
- const t = bi({
284
- key: ro,
283
+ const t = ki({
284
+ key: ao,
285
285
  canTrack: e
286
286
  });
287
287
  if (Ne(t))
288
288
  return t;
289
289
  {
290
- const n = Ci();
291
- return wi({
290
+ const n = Ti();
291
+ return Ei({
292
292
  id: n,
293
293
  canTrack: e
294
294
  }), n;
295
295
  }
296
- }, Ci = () => eo(), wi = ({
296
+ }, Ti = () => oo(), Ei = ({
297
297
  id: e,
298
298
  canTrack: t
299
- }) => Si({
300
- key: ro,
299
+ }) => Ci({
300
+ key: ao,
301
301
  value: e,
302
302
  canTrack: t
303
303
  });
304
- function $n(e) {
304
+ function On(e) {
305
305
  var t;
306
306
  typeof process < "u" && ((t = process.env) != null && t.DEBUG) && String(process.env.DEBUG) == "true" && ue.log(e);
307
307
  }
308
- const Ti = async ({
308
+ const Ii = async ({
309
309
  canTrack: e
310
310
  }) => {
311
311
  if (!e)
@@ -313,16 +313,16 @@ const Ti = async ({
313
313
  visitorId: void 0,
314
314
  sessionId: void 0
315
315
  };
316
- const t = await gi({
316
+ const t = await vi({
317
317
  canTrack: e
318
- }), n = ki({
318
+ }), n = wi({
319
319
  canTrack: e
320
320
  });
321
321
  return {
322
322
  sessionId: t,
323
323
  visitorId: n
324
324
  };
325
- }, Ei = async ({
325
+ }, Ri = async ({
326
326
  type: e,
327
327
  canTrack: t,
328
328
  apiKey: n,
@@ -336,10 +336,10 @@ const Ti = async ({
336
336
  url: location.href,
337
337
  ...r
338
338
  },
339
- ...await Ti({
339
+ ...await Ii({
340
340
  canTrack: t
341
341
  }),
342
- userAttributes: Xr(),
342
+ userAttributes: eo(),
343
343
  ownerId: n
344
344
  }
345
345
  });
@@ -354,24 +354,24 @@ async function jt({
354
354
  if (!t.canTrack || oe() || !(M() || G === "reactNative"))
355
355
  return;
356
356
  const r = `${e || "https://cdn.builder.io"}/api/v1/track`;
357
- return $n(r), fetch(r, {
357
+ return On(r), fetch(r, {
358
358
  method: "POST",
359
359
  body: JSON.stringify({
360
- events: [await Ei(t)]
360
+ events: [await Ri(t)]
361
361
  }),
362
362
  headers: {
363
363
  "content-type": "application/json",
364
- ...Qr()
364
+ ...no()
365
365
  },
366
366
  mode: "cors"
367
367
  }).catch((o) => {
368
368
  console.error("Failed to track: ", o);
369
369
  });
370
370
  }
371
- const ec = (e) => jt({
371
+ const rc = (e) => jt({
372
372
  ...e,
373
373
  canTrack: !0
374
- }), oo = ({
374
+ }), lo = ({
375
375
  builder: e,
376
376
  context: t,
377
377
  event: n,
@@ -383,11 +383,11 @@ const ec = (e) => jt({
383
383
  builder: e,
384
384
  context: t,
385
385
  event: n
386
- }), Ii = (e) => ({
386
+ }), Ai = (e) => ({
387
387
  isEditing: oe(),
388
388
  isBrowser: M(),
389
389
  isServer: !M(),
390
- getUserAttributes: () => Xr(),
390
+ getUserAttributes: () => eo(),
391
391
  trackConversion: (t, n) => {
392
392
  !(e != null && e.apiKey) || (e == null ? void 0 : e.canTrack) === !1 || jt({
393
393
  type: "conversion",
@@ -403,10 +403,10 @@ const ec = (e) => jt({
403
403
  }
404
404
  });
405
405
  }
406
- }), Ri = (e, {
406
+ }), $i = (e, {
407
407
  isExpression: t = !0
408
408
  }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e;
409
- function xn({
409
+ function Nn({
410
410
  rootState: e,
411
411
  localState: t,
412
412
  rootSetState: n
@@ -416,7 +416,7 @@ function xn({
416
416
  if (t && o in t)
417
417
  return t[o];
418
418
  const i = r[o];
419
- return typeof i == "object" && i !== null ? xn({
419
+ return typeof i == "object" && i !== null ? Nn({
420
420
  rootState: i,
421
421
  localState: void 0,
422
422
  rootSetState: n ? (s) => {
@@ -431,7 +431,7 @@ function xn({
431
431
  }
432
432
  });
433
433
  }
434
- const Ai = ({
434
+ const xi = ({
435
435
  code: e,
436
436
  builder: t,
437
437
  context: n,
@@ -440,11 +440,11 @@ const Ai = ({
440
440
  rootSetState: i,
441
441
  rootState: s
442
442
  }) => {
443
- const u = oo({
443
+ const u = lo({
444
444
  builder: t,
445
445
  context: n,
446
446
  event: r,
447
- state: xn({
447
+ state: Nn({
448
448
  rootState: s,
449
449
  localState: o,
450
450
  rootSetState: i
@@ -452,12 +452,12 @@ const Ai = ({
452
452
  });
453
453
  return new Function(...u.map(([c]) => c), e)(...u.map(([, c]) => c));
454
454
  };
455
- var V, $i = function(e) {
455
+ var V, Pi = function(e) {
456
456
  function t(a) {
457
- return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && _o.test(String.fromCharCode(a));
457
+ return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Xo.test(String.fromCharCode(a));
458
458
  }
459
459
  function n(a) {
460
- return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Rr.test(String.fromCharCode(a));
460
+ return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && xr.test(String.fromCharCode(a));
461
461
  }
462
462
  function r(a, l) {
463
463
  for (var p = k, f = 1, P = 0; ; ) {
@@ -517,7 +517,7 @@ var V, $i = function(e) {
517
517
  break;
518
518
  else if (a === 160)
519
519
  ++d;
520
- else if (5760 <= a && Go.test(String.fromCharCode(a)))
520
+ else if (5760 <= a && Jo.test(String.fromCharCode(a)))
521
521
  ++d;
522
522
  else
523
523
  break;
@@ -526,7 +526,7 @@ var V, $i = function(e) {
526
526
  function m(a) {
527
527
  switch (a) {
528
528
  case 46:
529
- a = k.charCodeAt(d + 1), 48 <= a && 57 >= a ? A(!0) : (++d, s(br));
529
+ a = k.charCodeAt(d + 1), 48 <= a && 57 >= a ? A(!0) : (++d, s(Cr));
530
530
  return;
531
531
  case 40:
532
532
  return ++d, s(Ce);
@@ -547,7 +547,7 @@ var V, $i = function(e) {
547
547
  case 58:
548
548
  return ++d, s(it);
549
549
  case 63:
550
- return ++d, s(Sr);
550
+ return ++d, s(wr);
551
551
  case 48:
552
552
  if (a = k.charCodeAt(d + 1), a === 120 || a === 88) {
553
553
  d += 2, a = S(16), a === null && r(Y + 2, "Expected hexadecimal number"), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), s(rt, a);
@@ -626,33 +626,33 @@ var V, $i = function(e) {
626
626
  }
627
627
  return;
628
628
  case 47:
629
- a = k.charCodeAt(d + 1), tt ? (++d, h()) : a === 61 ? b(De, 2) : b(kr, 1);
629
+ a = k.charCodeAt(d + 1), tt ? (++d, h()) : a === 61 ? b(De, 2) : b(Tr, 1);
630
630
  return;
631
631
  case 37:
632
632
  case 42:
633
- k.charCodeAt(d + 1) === 61 ? b(De, 2) : b(Ko, 1);
633
+ k.charCodeAt(d + 1) === 61 ? b(De, 2) : b(qo, 1);
634
634
  return;
635
635
  case 124:
636
636
  case 38:
637
- l = k.charCodeAt(d + 1), l === a ? b(a === 124 ? Tr : Er, 2) : l === 61 ? b(De, 2) : b(a === 124 ? Do : Wo, 1);
637
+ l = k.charCodeAt(d + 1), l === a ? b(a === 124 ? Rr : Ar, 2) : l === 61 ? b(De, 2) : b(a === 124 ? Wo : Fo, 1);
638
638
  return;
639
639
  case 94:
640
- k.charCodeAt(d + 1) === 61 ? b(De, 2) : b(Uo, 1);
640
+ k.charCodeAt(d + 1) === 61 ? b(De, 2) : b(Lo, 1);
641
641
  return;
642
642
  case 43:
643
643
  case 45:
644
- l = k.charCodeAt(d + 1), l === a ? l === 45 && k.charCodeAt(d + 2) === 62 && $t.test(k.slice($e, d)) ? (d += 3, u(), c(), y()) : b(Vo, 2) : l === 61 ? b(De, 2) : b(Ho, 1);
644
+ l = k.charCodeAt(d + 1), l === a ? l === 45 && k.charCodeAt(d + 2) === 62 && $t.test(k.slice($e, d)) ? (d += 3, u(), c(), y()) : b(Uo, 2) : l === 61 ? b(De, 2) : b(zo, 1);
645
645
  return;
646
646
  case 60:
647
647
  case 62:
648
- l = k.charCodeAt(d + 1), p = 1, l === a ? (p = a === 62 && k.charCodeAt(d + 2) === 62 ? 3 : 2, k.charCodeAt(d + p) === 61 ? b(De, p + 1) : b(Mo, p)) : l === 33 && a === 60 && k.charCodeAt(d + 2) === 45 && k.charCodeAt(d + 3) === 45 ? (d += 4, u(), c(), y()) : (l === 61 && (p = k.charCodeAt(d + 2) === 61 ? 3 : 2), b(Fo, p));
648
+ l = k.charCodeAt(d + 1), p = 1, l === a ? (p = a === 62 && k.charCodeAt(d + 2) === 62 ? 3 : 2, k.charCodeAt(d + p) === 61 ? b(De, p + 1) : b(Ko, p)) : l === 33 && a === 60 && k.charCodeAt(d + 2) === 45 && k.charCodeAt(d + 3) === 45 ? (d += 4, u(), c(), y()) : (l === 61 && (p = k.charCodeAt(d + 2) === 61 ? 3 : 2), b(Ho, p));
649
649
  return;
650
650
  case 61:
651
651
  case 33:
652
- k.charCodeAt(d + 1) === 61 ? b(Lo, k.charCodeAt(d + 2) === 61 ? 3 : 2) : b(a === 61 ? Cr : wr, 1);
652
+ k.charCodeAt(d + 1) === 61 ? b(Mo, k.charCodeAt(d + 2) === 61 ? 3 : 2) : b(a === 61 ? Er : Ir, 1);
653
653
  return;
654
654
  case 126:
655
- return b(wr, 1);
655
+ return b(Ir, 1);
656
656
  }
657
657
  return !1;
658
658
  }
@@ -664,7 +664,7 @@ var V, $i = function(e) {
664
664
  if (a = k.charCodeAt(d), n(a) || a === 92)
665
665
  return te();
666
666
  if (m(a) === !1) {
667
- if (a = String.fromCharCode(a), a === "\\" || Rr.test(a))
667
+ if (a = String.fromCharCode(a), a === "\\" || xr.test(a))
668
668
  return te();
669
669
  r(d, "Unexpected character '" + a + "'");
670
670
  }
@@ -696,7 +696,7 @@ var V, $i = function(e) {
696
696
  } catch (Q) {
697
697
  throw Q instanceof SyntaxError && r(p, Q.message), Q;
698
698
  }
699
- s(er, P);
699
+ s(rr, P);
700
700
  }
701
701
  function S(a, l) {
702
702
  for (var p = d, f = 0, P = l === void 0 ? 1 / 0 : l, Q = 0; Q < P; ++Q) {
@@ -734,7 +734,7 @@ var V, $i = function(e) {
734
734
  }
735
735
  function te() {
736
736
  var a = H(), l = Me;
737
- !Ke && qo(a) && (l = jo[a]), s(l, a);
737
+ !Ke && _o(a) && (l = Do[a]), s(l, a);
738
738
  }
739
739
  function E() {
740
740
  Zt = Y, $e = Fe, en = Qt, y();
@@ -785,11 +785,11 @@ var V, $i = function(e) {
785
785
  a.type !== "Identifier" && a.type !== "MemberExpression" && r(a.start, "Assigning to rvalue"), ce && a.type === "Identifier" && At(a.name) && r(a.start, "Assigning to " + a.name + " in strict mode");
786
786
  }
787
787
  function he() {
788
- (x === kr || x === De && fe === "/=") && y(!0);
788
+ (x === Tr || x === De && fe === "/=") && y(!0);
789
789
  var a = x, l = K();
790
790
  switch (a) {
791
791
  case nn:
792
- case nr:
792
+ case ir:
793
793
  E();
794
794
  var p = a === nn;
795
795
  L(we) || wt() ? l.label = null : x !== Me ? be() : (l.label = Se(), je());
@@ -799,31 +799,31 @@ var V, $i = function(e) {
799
799
  break;
800
800
  }
801
801
  return f === X.length && r(l.start, "Unsyntactic " + a.l), R(l, p ? "BreakStatement" : "ContinueStatement");
802
- case rr:
802
+ case sr:
803
803
  return E(), je(), R(l, "DebuggerStatement");
804
- case ir:
805
- return E(), X.push(pn), l.body = he(), X.pop(), J(ln), l.test = Qe(), je(), R(l, "DoWhileStatement");
806
804
  case lr:
807
- return E(), X.push(pn), J(Ce), x === we ? Kt(l, null) : x === an ? (a = K(), E(), Qn(a, !0), R(a, "VariableDeclaration"), a.fa.length === 1 && L(Rt) ? Yn(l, a) : Kt(l, a)) : (a = re(!1, !0), L(Rt) ? (Tt(a), Yn(l, a)) : Kt(l, a));
805
+ return E(), X.push(pn), l.body = he(), X.pop(), J(ln), l.test = Qe(), je(), R(l, "DoWhileStatement");
806
+ case pr:
807
+ return E(), X.push(pn), J(Ce), x === we ? Kt(l, null) : x === an ? (a = K(), E(), tr(a, !0), R(a, "VariableDeclaration"), a.fa.length === 1 && L(Rt) ? er(l, a) : Kt(l, a)) : (a = re(!1, !0), L(Rt) ? (Tt(a), er(l, a)) : Kt(l, a));
808
808
  case on:
809
809
  return E(), _t(l, !0);
810
- case ur:
811
- return E(), l.test = Qe(), l.da = he(), l.alternate = L(sr) ? he() : null, R(l, "IfStatement");
812
- case cr:
810
+ case dr:
811
+ return E(), l.test = Qe(), l.da = he(), l.alternate = L(ur) ? he() : null, R(l, "IfStatement");
812
+ case fr:
813
813
  return nt || O.Ib || r(Y, "'return' outside of function"), E(), L(we) || wt() ? l.K = null : (l.K = re(), je()), R(l, "ReturnStatement");
814
814
  case sn:
815
- for (E(), l.Qb = Qe(), l.tb = [], J(ot), X.push(Jo); x !== He; )
816
- x === rn || x === or ? (a = x === rn, f && R(f, "SwitchCase"), l.tb.push(f = K()), f.da = [], E(), a ? f.test = re() : (p && r(Zt, "Multiple default clauses"), p = !0, f.test = null), J(it)) : (f || be(), f.da.push(he()));
815
+ for (E(), l.Qb = Qe(), l.tb = [], J(ot), X.push(Yo); x !== He; )
816
+ x === rn || x === ar ? (a = x === rn, f && R(f, "SwitchCase"), l.tb.push(f = K()), f.da = [], E(), a ? f.test = re() : (p && r(Zt, "Multiple default clauses"), p = !0, f.test = null), J(it)) : (f || be(), f.da.push(he()));
817
817
  return f && R(f, "SwitchCase"), E(), X.pop(), R(l, "SwitchStatement");
818
- case pr:
818
+ case hr:
819
819
  return E(), $t.test(k.slice($e, Y)) && r($e, "Illegal newline after throw"), l.K = re(), je(), R(l, "ThrowStatement");
820
- case dr:
821
- return E(), l.block = Ze(), l.Ea = null, x === tr && (a = K(), E(), J(Ce), a.Ua = Se(), ce && At(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), J(ge), a.body = Ze(), l.Ea = R(a, "CatchClause")), l.fb = L(ar) ? Ze() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), R(l, "TryStatement");
820
+ case mr:
821
+ return E(), l.block = Ze(), l.Ea = null, x === or && (a = K(), E(), J(Ce), a.Ua = Se(), ce && At(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), J(ge), a.body = Ze(), l.Ea = R(a, "CatchClause")), l.fb = L(cr) ? Ze() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), R(l, "TryStatement");
822
822
  case an:
823
- return E(), Qn(l), je(), R(l, "VariableDeclaration");
823
+ return E(), tr(l), je(), R(l, "VariableDeclaration");
824
824
  case ln:
825
825
  return E(), l.test = Qe(), X.push(pn), l.body = he(), X.pop(), R(l, "WhileStatement");
826
- case fr:
826
+ case gr:
827
827
  return ce && r(Y, "'with' in strict mode"), E(), l.object = Qe(), l.body = he(), R(l, "WithStatement");
828
828
  case ot:
829
829
  return Ze();
@@ -861,13 +861,13 @@ var V, $i = function(e) {
861
861
  function Kt(a, l) {
862
862
  return a.ua = l, J(we), a.test = x === we ? null : re(), J(we), a.update = x === ge ? null : re(), J(ge), a.body = he(), X.pop(), R(a, "ForStatement");
863
863
  }
864
- function Yn(a, l) {
864
+ function er(a, l) {
865
865
  return a.left = l, a.right = re(), J(ge), a.body = he(), X.pop(), R(a, "ForInStatement");
866
866
  }
867
- function Qn(a, l) {
867
+ function tr(a, l) {
868
868
  for (a.fa = [], a.kind = "var"; ; ) {
869
869
  var p = K();
870
- if (p.id = Se(), ce && At(p.id.name) && r(p.id.start, "Binding " + p.id.name + " in strict mode"), p.ua = L(Cr) ? re(!0, l) : null, a.fa.push(R(p, "VariableDeclarator")), !L(xe))
870
+ if (p.id = Se(), ce && At(p.id.name) && r(p.id.start, "Binding " + p.id.name + " in strict mode"), p.ua = L(Er) ? re(!0, l) : null, a.fa.push(R(p, "VariableDeclarator")), !L(xe))
871
871
  break;
872
872
  }
873
873
  }
@@ -882,7 +882,7 @@ var V, $i = function(e) {
882
882
  }
883
883
  function zt(a) {
884
884
  var l = qt(Gt(), -1, a);
885
- if (L(Sr)) {
885
+ if (L(wr)) {
886
886
  var p = _(l);
887
887
  p.test = l, p.da = re(!0), J(it), p.alternate = re(!0, a), l = R(p, "ConditionalExpression");
888
888
  }
@@ -892,7 +892,7 @@ var V, $i = function(e) {
892
892
  var f = x.L;
893
893
  if (f !== null && (!p || x !== Rt) && f > l) {
894
894
  var P = _(a);
895
- return P.left = a, P.operator = fe, a = x, E(), P.right = qt(Gt(), f, p), f = R(P, a === Tr || a === Er ? "LogicalExpression" : "BinaryExpression"), qt(f, l, p);
895
+ return P.left = a, P.operator = fe, a = x, E(), P.right = qt(Gt(), f, p), f = R(P, a === Rr || a === Ar ? "LogicalExpression" : "BinaryExpression"), qt(f, l, p);
896
896
  }
897
897
  return a;
898
898
  }
@@ -906,7 +906,7 @@ var V, $i = function(e) {
906
906
  return l;
907
907
  }
908
908
  function et(a, l) {
909
- if (L(br)) {
909
+ if (L(Cr)) {
910
910
  var p = _(a);
911
911
  return p.object = a, p.Wa = Se(!0), p.bb = !1, et(R(p, "MemberExpression"), l);
912
912
  }
@@ -914,18 +914,18 @@ var V, $i = function(e) {
914
914
  }
915
915
  function Et() {
916
916
  switch (x) {
917
- case mr:
917
+ case vr:
918
918
  var a = K();
919
919
  return E(), R(a, "ThisExpression");
920
920
  case Me:
921
921
  return Se();
922
922
  case rt:
923
923
  case It:
924
- case er:
924
+ case rr:
925
925
  return a = K(), a.value = fe, a.raw = k.slice(Y, Fe), E(), R(a, "Literal");
926
- case gr:
927
- case yr:
928
- case vr:
926
+ case br:
927
+ case Sr:
928
+ case kr:
929
929
  return a = K(), a.value = x.$a, a.raw = x.l, E(), R(a, "Literal");
930
930
  case Ce:
931
931
  a = Yt;
@@ -962,8 +962,8 @@ var V, $i = function(e) {
962
962
  return R(a, "ObjectExpression");
963
963
  case on:
964
964
  return a = K(), E(), _t(a, !1);
965
- case hr:
966
- return a = K(), E(), a.callee = et(Et(), !0), a.arguments = L(Ce) ? Jt(ge, !1) : Bo, R(a, "NewExpression");
965
+ case yr:
966
+ return a = K(), E(), a.callee = et(Et(), !0), a.arguments = L(Ce) ? Jt(ge, !1) : Vo, R(a, "NewExpression");
967
967
  }
968
968
  be();
969
969
  }
@@ -976,7 +976,7 @@ var V, $i = function(e) {
976
976
  var f = X;
977
977
  if (nt = !0, X = [], a.body = Ze(!0), nt = p, X = f, ce || a.body.body.length && We(a.body.body[0])) {
978
978
  for (p = a.id ? -1 : 0; p < a.oa.length; ++p)
979
- if (f = 0 > p ? a.id : a.oa[p], (Ir(f.name) || At(f.name)) && r(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= p)
979
+ if (f = 0 > p ? a.id : a.oa[p], ($r(f.name) || At(f.name)) && r(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= p)
980
980
  for (var P = 0; P < p; ++P)
981
981
  f.name === a.oa[P].name && r(f.start, "Argument name clash in strict mode");
982
982
  }
@@ -994,19 +994,19 @@ var V, $i = function(e) {
994
994
  }
995
995
  function Se(a) {
996
996
  var l = K();
997
- return a && O.yb === "everywhere" && (a = !1), x === Me ? (!a && (O.yb && zo(fe) || ce && Ir(fe)) && k.slice(Y, Fe).indexOf("\\") === -1 && r(Y, "The keyword '" + fe + "' is reserved"), l.name = fe) : a && x.l ? l.name = x.l : be(), tt = !1, E(), R(l, "Identifier");
997
+ return a && O.yb === "everywhere" && (a = !1), x === Me ? (!a && (O.yb && Go(fe) || ce && $r(fe)) && k.slice(Y, Fe).indexOf("\\") === -1 && r(Y, "The keyword '" + fe + "' is reserved"), l.name = fe) : a && x.l ? l.name = x.l : be(), tt = !1, E(), R(l, "Identifier");
998
998
  }
999
999
  e.version = "0.5.0";
1000
1000
  var O, k = "", Le, Xt;
1001
1001
  e.parse = function(a, l) {
1002
1002
  k = String(a), Le = k.length, O = l || {};
1003
- for (var p in Zn)
1004
- Object.prototype.hasOwnProperty.call(O, p) || (O[p] = Zn[p]);
1003
+ for (var p in nr)
1004
+ Object.prototype.hasOwnProperty.call(O, p) || (O[p] = nr[p]);
1005
1005
  for (Xt = O.sourceFile, Ve = 1, d = ke = 0, tt = !0, c(), p = O.dc, Zt = $e = d, O.C && (en = new i()), nt = ce = !1, X = [], y(), a = p || K(), l = !0, p || (a.body = []); x !== tn; )
1006
1006
  p = he(), a.body.push(p), l && We(p) && D(!0), l = !1;
1007
1007
  return R(a, "Program");
1008
1008
  };
1009
- var Zn = {
1009
+ var nr = {
1010
1010
  fc: !1,
1011
1011
  sb: !0,
1012
1012
  yb: !1,
@@ -1017,9 +1017,9 @@ var V, $i = function(e) {
1017
1017
  dc: null,
1018
1018
  sourceFile: null,
1019
1019
  vb: null
1020
- }, d = 0, Y = 0, Fe = 0, Yt, Qt, x, fe, tt, Ve, ke, Zt = 0, $e = 0, en, nt, X, ce, Bo = [], rt = {
1020
+ }, d = 0, Y = 0, Fe = 0, Yt, Qt, x, fe, tt, Ve, ke, Zt = 0, $e = 0, en, nt, X, ce, Vo = [], rt = {
1021
1021
  type: "num"
1022
- }, er = {
1022
+ }, rr = {
1023
1023
  type: "regexp"
1024
1024
  }, It = {
1025
1025
  type: "string"
@@ -1032,95 +1032,95 @@ var V, $i = function(e) {
1032
1032
  }, rn = {
1033
1033
  l: "case",
1034
1034
  m: !0
1035
- }, tr = {
1035
+ }, or = {
1036
1036
  l: "catch"
1037
- }, nr = {
1037
+ }, ir = {
1038
1038
  l: "continue"
1039
- }, rr = {
1039
+ }, sr = {
1040
1040
  l: "debugger"
1041
- }, or = {
1041
+ }, ar = {
1042
1042
  l: "default"
1043
- }, ir = {
1043
+ }, lr = {
1044
1044
  l: "do",
1045
1045
  W: !0
1046
- }, sr = {
1046
+ }, ur = {
1047
1047
  l: "else",
1048
1048
  m: !0
1049
- }, ar = {
1049
+ }, cr = {
1050
1050
  l: "finally"
1051
- }, lr = {
1051
+ }, pr = {
1052
1052
  l: "for",
1053
1053
  W: !0
1054
1054
  }, on = {
1055
1055
  l: "function"
1056
- }, ur = {
1056
+ }, dr = {
1057
1057
  l: "if"
1058
- }, cr = {
1058
+ }, fr = {
1059
1059
  l: "return",
1060
1060
  m: !0
1061
1061
  }, sn = {
1062
1062
  l: "switch"
1063
- }, pr = {
1063
+ }, hr = {
1064
1064
  l: "throw",
1065
1065
  m: !0
1066
- }, dr = {
1066
+ }, mr = {
1067
1067
  l: "try"
1068
1068
  }, an = {
1069
1069
  l: "var"
1070
1070
  }, ln = {
1071
1071
  l: "while",
1072
1072
  W: !0
1073
- }, fr = {
1073
+ }, gr = {
1074
1074
  l: "with"
1075
- }, hr = {
1075
+ }, yr = {
1076
1076
  l: "new",
1077
1077
  m: !0
1078
- }, mr = {
1078
+ }, vr = {
1079
1079
  l: "this"
1080
- }, gr = {
1080
+ }, br = {
1081
1081
  l: "null",
1082
1082
  $a: null
1083
- }, yr = {
1083
+ }, Sr = {
1084
1084
  l: "true",
1085
1085
  $a: !0
1086
- }, vr = {
1086
+ }, kr = {
1087
1087
  l: "false",
1088
1088
  $a: !1
1089
1089
  }, Rt = {
1090
1090
  l: "in",
1091
1091
  L: 7,
1092
1092
  m: !0
1093
- }, jo = {
1093
+ }, Do = {
1094
1094
  break: nn,
1095
1095
  case: rn,
1096
- catch: tr,
1097
- continue: nr,
1098
- debugger: rr,
1099
- default: or,
1100
- do: ir,
1101
- else: sr,
1102
- finally: ar,
1103
- for: lr,
1096
+ catch: or,
1097
+ continue: ir,
1098
+ debugger: sr,
1099
+ default: ar,
1100
+ do: lr,
1101
+ else: ur,
1102
+ finally: cr,
1103
+ for: pr,
1104
1104
  function: on,
1105
- if: ur,
1106
- return: cr,
1105
+ if: dr,
1106
+ return: fr,
1107
1107
  switch: sn,
1108
- throw: pr,
1109
- try: dr,
1108
+ throw: hr,
1109
+ try: mr,
1110
1110
  var: an,
1111
1111
  while: ln,
1112
- with: fr,
1113
- null: gr,
1114
- true: yr,
1115
- false: vr,
1116
- new: hr,
1112
+ with: gr,
1113
+ null: br,
1114
+ true: Sr,
1115
+ false: kr,
1116
+ new: yr,
1117
1117
  in: Rt,
1118
1118
  instanceof: {
1119
1119
  l: "instanceof",
1120
1120
  L: 7,
1121
1121
  m: !0
1122
1122
  },
1123
- this: mr,
1123
+ this: vr,
1124
1124
  typeof: {
1125
1125
  l: "typeof",
1126
1126
  prefix: !0,
@@ -1160,65 +1160,65 @@ var V, $i = function(e) {
1160
1160
  }, it = {
1161
1161
  type: ":",
1162
1162
  m: !0
1163
- }, br = {
1163
+ }, Cr = {
1164
1164
  type: "."
1165
- }, Sr = {
1165
+ }, wr = {
1166
1166
  type: "?",
1167
1167
  m: !0
1168
- }, kr = {
1168
+ }, Tr = {
1169
1169
  L: 10,
1170
1170
  m: !0
1171
- }, Cr = {
1171
+ }, Er = {
1172
1172
  Cb: !0,
1173
1173
  m: !0
1174
1174
  }, De = {
1175
1175
  Cb: !0,
1176
1176
  m: !0
1177
- }, Vo = {
1177
+ }, Uo = {
1178
1178
  cc: !0,
1179
1179
  prefix: !0,
1180
1180
  $b: !0
1181
- }, wr = {
1181
+ }, Ir = {
1182
1182
  prefix: !0,
1183
1183
  m: !0
1184
- }, Tr = {
1184
+ }, Rr = {
1185
1185
  L: 1,
1186
1186
  m: !0
1187
- }, Er = {
1187
+ }, Ar = {
1188
1188
  L: 2,
1189
1189
  m: !0
1190
- }, Do = {
1190
+ }, Wo = {
1191
1191
  L: 3,
1192
1192
  m: !0
1193
- }, Uo = {
1193
+ }, Lo = {
1194
1194
  L: 4,
1195
1195
  m: !0
1196
- }, Wo = {
1196
+ }, Fo = {
1197
1197
  L: 5,
1198
1198
  m: !0
1199
- }, Lo = {
1199
+ }, Mo = {
1200
1200
  L: 6,
1201
1201
  m: !0
1202
- }, Fo = {
1202
+ }, Ho = {
1203
1203
  L: 7,
1204
1204
  m: !0
1205
- }, Mo = {
1205
+ }, Ko = {
1206
1206
  L: 8,
1207
1207
  m: !0
1208
- }, Ho = {
1208
+ }, zo = {
1209
1209
  L: 9,
1210
1210
  prefix: !0,
1211
1211
  m: !0
1212
- }, Ko = {
1212
+ }, qo = {
1213
1213
  L: 10,
1214
1214
  m: !0
1215
- }, zo = o("class enum extends super const export import"), Ir = o("implements interface let package private protected public static yield"), At = o("eval arguments"), qo = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Go = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Rr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), _o = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), $t = /[\n\r\u2028\u2029]/, xt = /\r\n|[\n\r\u2028\u2029]/g, Ke, pn = {
1215
+ }, Go = o("class enum extends super const export import"), $r = o("implements interface let package private protected public static yield"), At = o("eval arguments"), _o = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Jo = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, xr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Xo = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), $t = /[\n\r\u2028\u2029]/, xt = /\r\n|[\n\r\u2028\u2029]/g, Ke, pn = {
1216
1216
  kind: "loop"
1217
- }, Jo = {
1217
+ }, Yo = {
1218
1218
  kind: "switch"
1219
1219
  };
1220
1220
  }, bn = bn = typeof globalThis > "u" ? void 0 : globalThis;
1221
- $i(bn.j || (bn.j = {}));
1221
+ Pi(bn.j || (bn.j = {}));
1222
1222
  function g(e, t) {
1223
1223
  typeof e == "string" && (e = _e(e, "code"));
1224
1224
  var n = e.constructor;
@@ -1237,10 +1237,10 @@ function g(e, t) {
1237
1237
  this.N = kn(this, this.ra, null), this.Na = this.N.object, this.ra = _e(this.ba.join(`
1238
1238
  `), "polyfills"), this.ba = void 0, Ft(this.ra), i = new T(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new T(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
1239
1239
  }
1240
- var Ar = {
1240
+ var Pr = {
1241
1241
  C: !0,
1242
1242
  kc: 5
1243
- }, Pn = {
1243
+ }, Bn = {
1244
1244
  configurable: !0,
1245
1245
  enumerable: !0,
1246
1246
  writable: !1
@@ -1256,11 +1256,11 @@ var Ar = {
1256
1256
  configurable: !1,
1257
1257
  enumerable: !1,
1258
1258
  writable: !1
1259
- }, $r = {
1259
+ }, Or = {
1260
1260
  configurable: !1,
1261
1261
  enumerable: !0,
1262
1262
  writable: !0
1263
- }, io = {
1263
+ }, uo = {
1264
1264
  STEP_ERROR: !0
1265
1265
  }, Ye = {
1266
1266
  SCOPE_REFERENCE: !0
@@ -1268,8 +1268,8 @@ var Ar = {
1268
1268
  VALUE_IN_DESCRIPTOR: !0
1269
1269
  }, qe = {
1270
1270
  REGEXP_TIMEOUT: !0
1271
- }, xr = [], Ee = null, ft = null, Be = typeof globalThis > "u" ? void 0 : globalThis, xi = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
1272
- function On(e) {
1271
+ }, Nr = [], Ee = null, ft = null, Be = typeof globalThis > "u" ? void 0 : globalThis, Oi = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
1272
+ function jn(e) {
1273
1273
  var t = e >>> 0;
1274
1274
  return t === Number(e) ? t : NaN;
1275
1275
  }
@@ -1295,8 +1295,8 @@ V.Kb = 0;
1295
1295
  V.ic = 0;
1296
1296
  function _e(e, t) {
1297
1297
  var n = {}, r;
1298
- for (r in Ar)
1299
- n[r] = Ar[r];
1298
+ for (r in Pr)
1299
+ n[r] = Pr[r];
1300
1300
  return n.sourceFile = t, Be.j.parse(e, n);
1301
1301
  }
1302
1302
  V.Jb = function(e) {
@@ -1319,7 +1319,7 @@ V.lb = function() {
1319
1319
  if (n = this.ca[0], !n || n.time > Date.now())
1320
1320
  n = null;
1321
1321
  else {
1322
- this.ca.shift(), 0 <= n.interval && lo(this, n, n.interval);
1322
+ this.ca.shift(), 0 <= n.interval && fo(this, n, n.interval);
1323
1323
  var r = new T(n.node, n.scope);
1324
1324
  n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
1325
1325
  }
@@ -1332,7 +1332,7 @@ V.lb = function() {
1332
1332
  try {
1333
1333
  var i = this.rb[r.type](e, n, r);
1334
1334
  } catch (s) {
1335
- if (s !== io)
1335
+ if (s !== uo)
1336
1336
  throw this.value !== s && (this.value = void 0), s;
1337
1337
  } finally {
1338
1338
  ft = o;
@@ -1350,8 +1350,8 @@ V.Eb = function() {
1350
1350
  ;
1351
1351
  return this.za;
1352
1352
  };
1353
- function Pi(e, t) {
1354
- e.g(t, "NaN", NaN, at), e.g(t, "Infinity", 1 / 0, at), e.g(t, "undefined", void 0, at), e.g(t, "window", t, Pn), e.g(t, "this", t, at), e.g(t, "self", t), e.M = new N(null), e.Z = new N(e.M), Oi(e, t), Ni(e, t), t.xa = e.M, e.g(t, "constructor", e.v, C), Bi(e, t), ji(e, t), Vi(e, t), Di(e, t), Ui(e, t), Wi(e, t), Li(e, t), Fi(e, t), Mi(e, t);
1353
+ function Ni(e, t) {
1354
+ e.g(t, "NaN", NaN, at), e.g(t, "Infinity", 1 / 0, at), e.g(t, "undefined", void 0, at), e.g(t, "window", t, Bn), e.g(t, "this", t, at), e.g(t, "self", t), e.M = new N(null), e.Z = new N(e.M), Bi(e, t), ji(e, t), t.xa = e.M, e.g(t, "constructor", e.v, C), Vi(e, t), Di(e, t), Ui(e, t), Wi(e, t), Li(e, t), Fi(e, t), Mi(e, t), Hi(e, t), Ki(e, t);
1355
1355
  var n = e.i(function() {
1356
1356
  throw EvalError("Can't happen");
1357
1357
  }, !1);
@@ -1367,17 +1367,17 @@ function Pi(e, t) {
1367
1367
  };
1368
1368
  }(r[o][0]), e.g(t, r[o][1], e.i(n, !1), C);
1369
1369
  n = function(i) {
1370
- return Pr(e, !1, arguments);
1370
+ return Br(e, !1, arguments);
1371
1371
  }, e.g(t, "setTimeout", e.i(n, !1), C), n = function(i) {
1372
- return Pr(e, !0, arguments);
1372
+ return Br(e, !0, arguments);
1373
1373
  }, e.g(t, "setInterval", e.i(n, !1), C), n = function(i) {
1374
- Or(e, i);
1374
+ jr(e, i);
1375
1375
  }, e.g(t, "clearTimeout", e.i(n, !1), C), n = function(i) {
1376
- Or(e, i);
1376
+ jr(e, i);
1377
1377
  }, e.g(t, "clearInterval", e.i(n, !1), C), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
1378
1378
  }
1379
1379
  V.Wb = 0;
1380
- function Oi(e, t) {
1380
+ function Bi(e, t) {
1381
1381
  var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
1382
1382
  var i = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
1383
1383
  if (s) {
@@ -1393,12 +1393,12 @@ function Oi(e, t) {
1393
1393
  } catch (y) {
1394
1394
  I(e, e.T, "Invalid code: " + y.message);
1395
1395
  }
1396
- return m.body.length !== 1 && I(e, e.T, "Invalid code in function body"), jn(e, m.body[0].la, e.N, "anonymous");
1396
+ return m.body.length !== 1 && I(e, e.T, "Invalid code in function body"), Un(e, m.body[0].la, e.N, "anonymous");
1397
1397
  };
1398
1398
  e.O = e.i(r, !0), e.g(t, "Function", e.O, C), e.g(e.O, "prototype", e.Z, C), e.g(e.Z, "constructor", e.O, C), e.Z.Ta = function() {
1399
1399
  }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, le), e.Z.H = "Function", r = function(o, i) {
1400
1400
  var s = e.o[e.o.length - 1];
1401
- s.U = this, s.B = o, s.F = [], i != null && (i instanceof N ? s.F = so(e, i) : I(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1401
+ s.U = this, s.B = o, s.F = [], i != null && (i instanceof N ? s.F = co(e, i) : I(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1402
1402
  }, Z(e, e.O, "apply", r), r = function(o) {
1403
1403
  var i = e.o[e.o.length - 1];
1404
1404
  i.U = this, i.B = o, i.F = [];
@@ -1411,7 +1411,7 @@ function Oi(e, t) {
1411
1411
  return this.valueOf();
1412
1412
  }, Z(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), C);
1413
1413
  }
1414
- function Ni(e, t) {
1414
+ function ji(e, t) {
1415
1415
  function n(o) {
1416
1416
  o != null || I(e, e.j, "Cannot convert '" + o + "' to object");
1417
1417
  }
@@ -1456,11 +1456,11 @@ function Ni(e, t) {
1456
1456
  }
1457
1457
  }, Z(e, e.v, "isPrototypeOf", r);
1458
1458
  }
1459
- function Bi(e, t) {
1459
+ function Vi(e, t) {
1460
1460
  var n = function(r) {
1461
1461
  var o = Re(e) ? this : Je(e), i = arguments[0];
1462
1462
  if (arguments.length === 1 && typeof i == "number")
1463
- isNaN(On(i)) && I(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1463
+ isNaN(jn(i)) && I(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1464
1464
  else {
1465
1465
  for (i = 0; i < arguments.length; i++)
1466
1466
  o.h[i] = arguments[i];
@@ -1476,7 +1476,7 @@ function Bi(e, t) {
1476
1476
  writable: !0
1477
1477
  }), e.La.H = "Array", e.ba.push("(function() {", "function createArrayMethod_(f) {", "Object.defineProperty(Array.prototype, f.name,", "{configurable: true, writable: true, value: f});", "}", "createArrayMethod_(", "function pop() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "len--;", "var x = o[len];", "delete o[len];", "o.length = len;", "return x;", "}", ");", "createArrayMethod_(", "function push(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "for (var i = 0; i < arguments.length; i++) {", "o[len] = arguments[i];", "len++;", "}", "o.length = len;", "return len;", "}", ");", "createArrayMethod_(", "function shift() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "var value = o[0];", "for (var i = 0; i < len - 1; i++) {", "if ((i + 1) in o) {", "o[i] = o[i + 1];", "} else {", "delete o[i];", "}", "}", "delete o[i];", "o.length = len - 1;", "return value;", "}", ");", "createArrayMethod_(", "function unshift(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "len = 0;", "}", "for (var i = len - 1; i >= 0; i--) {", "if (i in o) {", "o[i + arguments.length] = o[i];", "} else {", "delete o[i + arguments.length];", "}", "}", "for (var i = 0; i < arguments.length; i++) {", "o[i] = arguments[i];", "}", "return (o.length = len + arguments.length);", "}", ");", "createArrayMethod_(", "function reverse() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 2) {", "return o;", "}", "for (var i = 0; i < len / 2 - 0.5; i++) {", "var x = o[i];", "var hasX = i in o;", "if ((len - i - 1) in o) {", "o[i] = o[len - i - 1];", "} else {", "delete o[i];", "}", "if (hasX) {", "o[len - i - 1] = x;", "} else {", "delete o[len - i - 1];", "}", "}", "return o;", "}", ");", "createArrayMethod_(", "function indexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var n = fromIndex | 0;", "if (!len || n >= len) {", "return -1;", "}", "var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);", "while (i < len) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i++;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function lastIndexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len) {", "return -1;", "}", "var n = len - 1;", "if (arguments.length > 1) {", "n = fromIndex | 0;", "if (n) {", "n = (n > 0 || -1) * Math.floor(Math.abs(n));", "}", "}", "var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);", "while (i >= 0) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i--;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function slice(start, end) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "start = (start >= 0) ? start : Math.max(0, len + start);", "if (typeof end !== 'undefined') {", "if (end !== Infinity) {", "end |= 0;", "}", "if (end < 0) {", "end = len + end;", "} else {", "end = Math.min(end, len);", "}", "} else {", "end = len;", "}", "var size = end - start;", "var cloned = new Array(size);", "for (var i = 0; i < size; i++) {", "if ((start + i) in o) {", "cloned[i] = o[start + i];", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function splice(start, deleteCount, var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "if (start < 0) {", "start = Math.max(len + start, 0);", "} else {", "start = Math.min(start, len);", "}", "if (arguments.length < 1) {", "deleteCount = len - start;", "} else {", "deleteCount |= 0;", "deleteCount = Math.max(0, Math.min(deleteCount, len - start));", "}", "var removed = [];", "for (var i = start; i < start + deleteCount; i++) {", "if (i in o) {", "removed.push(o[i]);", "} else {", "removed.length++;", "}", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = start + deleteCount; i < len - deleteCount; i++) {", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = len - deleteCount; i < len; i++) {", "delete o[i];", "}", "len -= deleteCount;", "var arl = arguments.length - 2;", "for (var i = len - 1; i >= start; i--) {", "if (i in o) {", "o[i + arl] = o[i];", "} else {", "delete o[i + arl];", "}", "}", "len += arl;", "for (var i = 2; i < arguments.length; i++) {", "o[start + i - 2] = arguments[i];", "}", "o.length = len;", "return removed;", "}", ");", "createArrayMethod_(", "function concat(var_args) {", "if (!this) throw TypeError();", "var o = Object(this);", "var cloned = [];", "for (var i = -1; i < arguments.length; i++) {", "var value = (i === -1) ? o : arguments[i];", "if (Array.isArray(value)) {", "for (var j = 0, l = value.length; j < l; j++) {", "if (j in value) {", "cloned.push(value[j]);", "} else {", "cloned.length++;", "}", "}", "} else {", "cloned.push(value);", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function join(opt_separator) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var sep = typeof opt_separator === 'undefined' ?", "',' : ('' + opt_separator);", "var str = '';", "for (var i = 0; i < len; i++) {", "if (i && sep) str += sep;", "str += (o[i] === null || o[i] === undefined) ? '' : o[i];", "}", "return str;", "}", ");", "createArrayMethod_(", "function every(callbackfn, thisArg) {", "if (!this || typeof callbackfn !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o && !callbackfn.call(t, o[k], k, o)) return false;", "k++;", "}", "return true;", "}", ");", "createArrayMethod_(", "function filter(fun, var_args) {", "if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var res = [];", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o) {", "var val = o[i];", "if (fun.call(thisArg, val, i, o)) res.push(val);", "}", "}", "return res;", "}", ");", "createArrayMethod_(", "function forEach(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o) callback.call(t, o[k], k, o);", "k++;", "}", "}", ");", "createArrayMethod_(", "function map(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "var a = new Array(len);", "while (k < len) {", "if (k in o) a[k] = callback.call(t, o[k], k, o);", "k++;", "}", "return a;", "}", ");", "createArrayMethod_(", "function reduce(callback /*, initialValue*/) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = 0, value;", "if (arguments.length === 2) {", "value = arguments[1];", "} else {", "while (k < len && !(k in o)) k++;", "if (k >= len) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k++];", "}", "for (; k < len; k++) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function reduceRight(callback /*, initialValue*/) {", "if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = len - 1, value;", "if (arguments.length >= 2) {", "value = arguments[1];", "} else {", "while (k >= 0 && !(k in o)) k--;", "if (k < 0) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k--];", "}", "for (; k >= 0; k--) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function some(fun/*, thisArg*/) {", "if (!this || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o && fun.call(thisArg, o[i], i, o)) return true;", "}", "return false;", "}", ");", "createArrayMethod_(", "function sort(opt_comp) {", "if (!this) throw TypeError();", "if (typeof opt_comp !== 'function') {", "opt_comp = undefined;", "}", "for (var i = 0; i < this.length; i++) {", "var changes = 0;", "for (var j = 0; j < this.length - i - 1; j++) {", "if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :", "(String(this[j]) > String(this[j + 1]))) {", "var swap = this[j];", "var hasSwap = j in this;", "if ((j + 1) in this) {", "this[j] = this[j + 1];", "} else {", "delete this[j];", "}", "if (hasSwap) {", "this[j + 1] = swap;", "} else {", "delete this[j + 1];", "}", "changes++;", "}", "}", "if (!changes) break;", "}", "return this;", "}", ");", "createArrayMethod_(", "function toLocaleString() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var out = [];", "for (var i = 0; i < len; i++) {", "out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();", "}", "return out.join(',');", "}", ");", "})();", "");
1478
1478
  }
1479
- function ji(e, t) {
1479
+ function Di(e, t) {
1480
1480
  var n = function(r) {
1481
1481
  return r = arguments.length ? Be.String(r) : "", Re(e) ? (this.data = r, this) : r;
1482
1482
  };
@@ -1559,12 +1559,12 @@ function ji(e, t) {
1559
1559
  i(s.replace(r, o));
1560
1560
  }, pt(e, e.J, "replace", n), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
1561
1561
  }
1562
- function Vi(e, t) {
1562
+ function Ui(e, t) {
1563
1563
  e.mb = e.i(function(n) {
1564
1564
  return n = Be.Boolean(n), Re(e) ? (this.data = n, this) : n;
1565
1565
  }, !0), e.g(t, "Boolean", e.mb, C);
1566
1566
  }
1567
- function Di(e, t) {
1567
+ function Wi(e, t) {
1568
1568
  var n = function(r) {
1569
1569
  return r = arguments.length ? Be.Number(r) : 0, Re(e) ? (this.data = r, this) : r;
1570
1570
  };
@@ -1603,7 +1603,7 @@ function Di(e, t) {
1603
1603
  }
1604
1604
  }, Z(e, e.aa, "toLocaleString", n);
1605
1605
  }
1606
- function Ui(e, t) {
1606
+ function Li(e, t) {
1607
1607
  var n = function(o, i) {
1608
1608
  if (!Re(e))
1609
1609
  return Be.Date();
@@ -1622,7 +1622,7 @@ function Ui(e, t) {
1622
1622
  };
1623
1623
  }(t[r]), Z(e, e.$, t[r], n);
1624
1624
  }
1625
- function Wi(e, t) {
1625
+ function Fi(e, t) {
1626
1626
  var n = function(r, o) {
1627
1627
  if (Re(e))
1628
1628
  var i = this;
@@ -1637,7 +1637,7 @@ function Wi(e, t) {
1637
1637
  } catch (u) {
1638
1638
  I(e, e.T, u.message);
1639
1639
  }
1640
- return Nn(e, i, s), i;
1640
+ return Vn(e, i, s), i;
1641
1641
  };
1642
1642
  e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, C), e.g(e.I.h.prototype, "global", void 0, le), e.g(e.I.h.prototype, "ignoreCase", void 0, le), e.g(e.I.h.prototype, "multiline", void 0, le), e.g(e.I.h.prototype, "source", "(?:)", le), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
1643
1643
  function i(y) {
@@ -1664,7 +1664,7 @@ function Wi(e, t) {
1664
1664
  r = s.exec(r), e.g(this, "lastIndex", s.lastIndex), o(i(r));
1665
1665
  }, pt(e, e.I, "exec", n);
1666
1666
  }
1667
- function Li(e, t) {
1667
+ function Mi(e, t) {
1668
1668
  function n(r) {
1669
1669
  var o = e.i(function(i) {
1670
1670
  var s = Re(e) ? this : e.Aa(o);
@@ -1677,7 +1677,7 @@ function Li(e, t) {
1677
1677
  return Sn(e, o, r), o;
1678
1678
  }, !0), e.g(t, "Error", e.D, C), e.g(e.D.h.prototype, "message", "", C), e.g(e.D.h.prototype, "name", "Error", C), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
1679
1679
  }
1680
- function Fi(e, t) {
1680
+ function Hi(e, t) {
1681
1681
  var n = e.s(e.M);
1682
1682
  e.g(t, "Math", n, C);
1683
1683
  var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
@@ -1686,7 +1686,7 @@ function Fi(e, t) {
1686
1686
  for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
1687
1687
  e.g(n, r[t], e.i(Math[r[t]], !1), C);
1688
1688
  }
1689
- function Mi(e, t) {
1689
+ function Ki(e, t) {
1690
1690
  var n = e.s(e.M);
1691
1691
  e.g(t, "JSON", n, C), t = function(r) {
1692
1692
  try {
@@ -1696,7 +1696,7 @@ function Mi(e, t) {
1696
1696
  }
1697
1697
  return e.Ia(o);
1698
1698
  }, e.g(n, "parse", e.i(t, !1)), t = function(r, o, i) {
1699
- o && o.H === "Function" ? I(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = so(e, o), o = o.filter(function(u) {
1699
+ o && o.H === "Function" ? I(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = co(e, o), o = o.filter(function(u) {
1700
1700
  return typeof u == "string" || typeof u == "number";
1701
1701
  })) : o = null, typeof i != "string" && typeof i != "number" && (i = void 0), r = e.R(r);
1702
1702
  try {
@@ -1719,7 +1719,7 @@ function ne(e, t, n) {
1719
1719
  }
1720
1720
  return !1;
1721
1721
  }
1722
- function Nn(e, t, n) {
1722
+ function Vn(e, t, n) {
1723
1723
  t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, C), e.g(t, "source", n.source, le), e.g(t, "global", n.global, le), e.g(t, "ignoreCase", n.ignoreCase, le), e.g(t, "multiline", n.multiline, le);
1724
1724
  }
1725
1725
  function Sn(e, t, n) {
@@ -1741,7 +1741,7 @@ function Sn(e, t, n) {
1741
1741
  }
1742
1742
  V.ha = function() {
1743
1743
  var e = this.ha.Mb;
1744
- return e || (e = new Blob([xi.join(`
1744
+ return e || (e = new Blob([Oi.join(`
1745
1745
  `)], {
1746
1746
  type: "application/javascript"
1747
1747
  }), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
@@ -1801,19 +1801,19 @@ function Je(e) {
1801
1801
  writable: !0
1802
1802
  }), t.H = "Array", t;
1803
1803
  }
1804
- function Bn(e, t, n) {
1804
+ function Dn(e, t, n) {
1805
1805
  var r = e.s(e.Z);
1806
1806
  return n ? (n = e.s(e.M), e.g(r, "prototype", n, C), e.g(n, "constructor", r, C)) : r.Ab = !0, e.g(r, "length", t, le), r.H = "Function", r;
1807
1807
  }
1808
- function jn(e, t, n, r) {
1809
- var o = Bn(e, t.oa.length, !0);
1808
+ function Un(e, t, n, r) {
1809
+ var o = Dn(e, t.oa.length, !0);
1810
1810
  return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", le), o;
1811
1811
  }
1812
1812
  V.i = function(e, t) {
1813
- return t = Bn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, le), t;
1813
+ return t = Dn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, le), t;
1814
1814
  };
1815
1815
  V.ub = function(e) {
1816
- var t = Bn(this, e.length, !0);
1816
+ var t = Dn(this, e.length, !0);
1817
1817
  return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, le), t;
1818
1818
  };
1819
1819
  V.Ia = function(e) {
@@ -1823,7 +1823,7 @@ V.Ia = function(e) {
1823
1823
  return e;
1824
1824
  if (e instanceof RegExp) {
1825
1825
  var t = this.s(this.Ma);
1826
- return Nn(this, t, e), t;
1826
+ return Vn(this, t, e), t;
1827
1827
  }
1828
1828
  if (e instanceof Date)
1829
1829
  return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
@@ -1882,11 +1882,11 @@ function Te(e, t) {
1882
1882
  e.g(n, r[o], t[r[o]]);
1883
1883
  return n;
1884
1884
  }
1885
- function so(e, t) {
1885
+ function co(e, t) {
1886
1886
  var n = [], r;
1887
1887
  for (r in t.h)
1888
1888
  n[r] = e.G(t, r);
1889
- return n.length = On(e.G(t, "length")) || 0, n;
1889
+ return n.length = jn(e.G(t, "length")) || 0, n;
1890
1890
  }
1891
1891
  function Ie(e, t) {
1892
1892
  switch (typeof t) {
@@ -1939,7 +1939,7 @@ V.g = function(e, t, n, r) {
1939
1939
  if (t = String(t), e != null || I(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof N))
1940
1940
  throw TypeError("Expecting native value or pseudo object");
1941
1941
  r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && I(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1942
- var o = !this.o || Vn(this).S;
1942
+ var o = !this.o || Wn(this).S;
1943
1943
  if (e instanceof N) {
1944
1944
  if (ne(this, e, this.J)) {
1945
1945
  var i = ht(t);
@@ -1955,7 +1955,7 @@ V.g = function(e, t, n, r) {
1955
1955
  return;
1956
1956
  n = r.value;
1957
1957
  }
1958
- if (n = On(n), isNaN(n) && I(this, this.ob, "Invalid array length"), n < i)
1958
+ if (n = jn(n), isNaN(n) && I(this, this.ob, "Invalid array length"), n < i)
1959
1959
  for (s in e.h) {
1960
1960
  var s = ht(s);
1961
1961
  !isNaN(s) && n <= s && delete e.h[s];
@@ -2007,7 +2007,7 @@ function Z(e, t, n, r) {
2007
2007
  function pt(e, t, n, r) {
2008
2008
  e.g(t.h.prototype, n, e.ub(r), C);
2009
2009
  }
2010
- function Vn(e) {
2010
+ function Wn(e) {
2011
2011
  if (e = e.o[e.o.length - 1].scope, !e)
2012
2012
  throw Error("No scope found");
2013
2013
  return e;
@@ -2020,15 +2020,15 @@ function kn(e, t, n) {
2020
2020
  var o = t.body && t.body[0];
2021
2021
  o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
2022
2022
  }
2023
- return o = e.s(null), r = new uo(n, r, o), n || Pi(e, r.object), vt(e, t, r), r;
2023
+ return o = e.s(null), r = new ho(n, r, o), n || Ni(e, r.object), vt(e, t, r), r;
2024
2024
  }
2025
- function Dn(e, t, n) {
2025
+ function Ln(e, t, n) {
2026
2026
  if (!t)
2027
2027
  throw Error("parentScope required");
2028
- return e = n || e.s(null), new uo(t, t.S, e);
2028
+ return e = n || e.s(null), new ho(t, t.S, e);
2029
2029
  }
2030
- function Un(e, t) {
2031
- for (var n = Vn(e); n && n !== e.N; ) {
2030
+ function Fn(e, t) {
2031
+ for (var n = Wn(e); n && n !== e.N; ) {
2032
2032
  if (t in n.object.h)
2033
2033
  return n.object.h[t];
2034
2034
  n = n.Va;
@@ -2037,8 +2037,8 @@ function Un(e, t) {
2037
2037
  return e.G(n.object, t);
2038
2038
  n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || I(e, e.pb, t + " is not defined");
2039
2039
  }
2040
- function ao(e, t, n) {
2041
- for (var r = Vn(e), o = r.S; r && r !== e.N; ) {
2040
+ function po(e, t, n) {
2041
+ for (var r = Wn(e), o = r.S; r && r !== e.N; ) {
2042
2042
  if (t in r.object.h) {
2043
2043
  try {
2044
2044
  r.object.h[t] = n;
@@ -2099,20 +2099,20 @@ function vt(e, t, n) {
2099
2099
  t.jb = r;
2100
2100
  }
2101
2101
  for (s in r)
2102
- r[s] === !0 ? e.g(n.object, s, void 0, $r) : e.g(n.object, s, jn(e, r[s], n), $r);
2102
+ r[s] === !0 ? e.g(n.object, s, void 0, Or) : e.g(n.object, s, Un(e, r[s], n), Or);
2103
2103
  return r;
2104
2104
  }
2105
2105
  function Re(e) {
2106
2106
  return e.o[e.o.length - 1].isConstructor;
2107
2107
  }
2108
- function Wn(e, t) {
2109
- return t[0] === Ye ? Un(e, t[1]) : e.G(t[0], t[1]);
2108
+ function Mn(e, t) {
2109
+ return t[0] === Ye ? Fn(e, t[1]) : e.G(t[0], t[1]);
2110
2110
  }
2111
- function Ln(e, t, n) {
2112
- return t[0] === Ye ? ao(e, t[1], n) : e.g(t[0], t[1], n);
2111
+ function Hn(e, t, n) {
2112
+ return t[0] === Ye ? po(e, t[1], n) : e.g(t[0], t[1], n);
2113
2113
  }
2114
2114
  function I(e, t, n) {
2115
- throw e.N ? (n !== void 0 && t instanceof N && (t = e.Aa(t), Sn(e, t, n)), bt(e, 4, t), io) : n === void 0 ? t : n;
2115
+ throw e.N ? (n !== void 0 && t instanceof N && (t = e.Aa(t), Sn(e, t, n)), bt(e, 4, t), uo) : n === void 0 ? t : n;
2116
2116
  }
2117
2117
  function bt(e, t, n, r) {
2118
2118
  if (t === 0)
@@ -2190,7 +2190,7 @@ function ae(e, t) {
2190
2190
  }
2191
2191
  return "???";
2192
2192
  }
2193
- function Pr(e, t, n) {
2193
+ function Br(e, t, n) {
2194
2194
  var r = e.o[e.o.length - 1], o = Array.from(n), i = o.shift();
2195
2195
  n = Math.max(Number(o.shift() || 0), 0);
2196
2196
  var s = e.ya();
@@ -2205,14 +2205,14 @@ function Pr(e, t, n) {
2205
2205
  }
2206
2206
  s.type = "EvalProgram_", s.body = c.body, r = r.node.arguments[0], Ft(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
2207
2207
  }
2208
- return t = new Hi(u, o, r, s, t ? n : -1), lo(e, t, n), t.Db;
2208
+ return t = new zi(u, o, r, s, t ? n : -1), fo(e, t, n), t.Db;
2209
2209
  }
2210
- function lo(e, t, n) {
2210
+ function fo(e, t, n) {
2211
2211
  t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
2212
2212
  return r.time - o.time;
2213
2213
  });
2214
2214
  }
2215
- function Or(e, t) {
2215
+ function jr(e, t) {
2216
2216
  for (var n = 0; n < e.ca.length; n++)
2217
2217
  if (e.ca[n].Db == t) {
2218
2218
  e.ca.splice(n, 1);
@@ -2226,7 +2226,7 @@ function St(e, t, n) {
2226
2226
  var r = e.ya();
2227
2227
  return r.type = "CallExpression", e = new T(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
2228
2228
  }
2229
- function Fn(e, t, n, r) {
2229
+ function Kn(e, t, n, r) {
2230
2230
  if (!e.Ka)
2231
2231
  throw Error("Unexpected call to createSetter");
2232
2232
  e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
@@ -2248,7 +2248,7 @@ V.ec = function(e) {
2248
2248
  function T(e, t) {
2249
2249
  this.node = e, this.scope = t;
2250
2250
  }
2251
- function uo(e, t, n) {
2251
+ function ho(e, t, n) {
2252
2252
  this.Va = e, this.S = t, this.object = n;
2253
2253
  }
2254
2254
  function N(e) {
@@ -2264,7 +2264,7 @@ V.toString = function() {
2264
2264
  if (!(this instanceof N))
2265
2265
  return String(this);
2266
2266
  if (this.H === "Array") {
2267
- var e = xr;
2267
+ var e = Nr;
2268
2268
  e.push(this);
2269
2269
  try {
2270
2270
  var t = [], n = this.h.length, r = !1;
@@ -2280,7 +2280,7 @@ V.toString = function() {
2280
2280
  return t.join(",");
2281
2281
  }
2282
2282
  if (this.H === "Error") {
2283
- if (e = xr, e.indexOf(this) !== -1)
2283
+ if (e = Nr, e.indexOf(this) !== -1)
2284
2284
  return "[object Error]";
2285
2285
  n = this;
2286
2286
  do
@@ -2309,10 +2309,10 @@ V.toString = function() {
2309
2309
  V.valueOf = function() {
2310
2310
  return !ft || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2311
2311
  };
2312
- function Hi(e, t, n, r, o) {
2313
- this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Ki, this.time = 0;
2312
+ function zi(e, t, n, r, o) {
2313
+ this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++qi, this.time = 0;
2314
2314
  }
2315
- var Ki = 0;
2315
+ var qi = 0;
2316
2316
  g.prototype.stepArrayExpression = function(e, t, n) {
2317
2317
  n = n.elements;
2318
2318
  var r = t.A || 0;
@@ -2327,7 +2327,7 @@ g.prototype.stepAssignmentExpression = function(e, t, n) {
2327
2327
  if (!t.ja)
2328
2328
  return t.ja = !0, t = new T(n.left, t.scope), t.sa = !0, t;
2329
2329
  if (!t.Da)
2330
- return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = Wn(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, St(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new T(n.right, t.scope));
2330
+ return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = Mn(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, St(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new T(n.right, t.scope));
2331
2331
  if (t.ta)
2332
2332
  e.pop(), e[e.length - 1].value = t.ib;
2333
2333
  else {
@@ -2372,8 +2372,8 @@ g.prototype.stepAssignmentExpression = function(e, t, n) {
2372
2372
  default:
2373
2373
  throw SyntaxError("Unknown assignment expression: " + n.operator);
2374
2374
  }
2375
- if (n = Ln(this, t.Fa, r))
2376
- return t.ta = !0, t.ib = r, Fn(this, n, t.Fa, r);
2375
+ if (n = Hn(this, t.Fa, r))
2376
+ return t.ta = !0, t.ib = r, Kn(this, n, t.Fa, r);
2377
2377
  e.pop(), e[e.length - 1].value = r;
2378
2378
  }
2379
2379
  };
@@ -2473,7 +2473,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
2473
2473
  t.ia = 2;
2474
2474
  var o = t.value;
2475
2475
  if (Array.isArray(o)) {
2476
- if (t.U = Wn(this, o), o[0] === Ye ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2476
+ if (t.U = Mn(this, o), o[0] === Ye ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2477
2477
  return t.ia = 1, St(this, o, t.value);
2478
2478
  } else
2479
2479
  t.U = o;
@@ -2501,7 +2501,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
2501
2501
  this.g(r, o, t.F[o]);
2502
2502
  for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
2503
2503
  this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
2504
- return n.S || (t.B = fn(this, t.B)), this.g(n.object, "this", t.B, Pn), t.value = void 0, new T(e.body, n);
2504
+ return n.S || (t.B = fn(this, t.B)), this.g(n.object, "this", t.B, Bn), t.value = void 0, new T(e.body, n);
2505
2505
  }
2506
2506
  if (o.eval)
2507
2507
  if (o = t.F[0], typeof o != "string")
@@ -2601,8 +2601,8 @@ g.prototype.stepForInStatement = function(e, t, n) {
2601
2601
  t.pa = [Ye, e.fa[0].id.name];
2602
2602
  else
2603
2603
  return t.pa = null, t = new T(e, t.scope), t.sa = !0, t;
2604
- if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = Ln(this, t.pa, e)))
2605
- return Fn(this, r, t.pa, e);
2604
+ if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = Hn(this, t.pa, e)))
2605
+ return Kn(this, r, t.pa, e);
2606
2606
  if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
2607
2607
  return new T(n.body, t.scope);
2608
2608
  };
@@ -2631,13 +2631,13 @@ g.prototype.stepFunctionDeclaration = function(e) {
2631
2631
  e.pop();
2632
2632
  };
2633
2633
  g.prototype.stepFunctionExpression = function(e, t, n) {
2634
- e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = Dn(this, e)), t.value = jn(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, Pn);
2634
+ e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = Ln(this, e)), t.value = Un(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, Bn);
2635
2635
  };
2636
2636
  g.prototype.stepIdentifier = function(e, t, n) {
2637
2637
  if (e.pop(), t.sa)
2638
2638
  e[e.length - 1].value = [Ye, n.name];
2639
2639
  else {
2640
- if (t = Un(this, n.name), this.P)
2640
+ if (t = Fn(this, n.name), this.P)
2641
2641
  return St(this, t, this.Na);
2642
2642
  e[e.length - 1].value = t;
2643
2643
  }
@@ -2647,7 +2647,7 @@ g.prototype.stepLabeledStatement = function(e, t, n) {
2647
2647
  return e.pop(), e = t.labels || [], e.push(n.label.name), t = new T(n.body, t.scope), t.labels = e, t;
2648
2648
  };
2649
2649
  g.prototype.stepLiteral = function(e, t, n) {
2650
- e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), Nn(this, n, t), t = n), e[e.length - 1].value = t;
2650
+ e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), Vn(this, n, t), t = n), e[e.length - 1].value = t;
2651
2651
  };
2652
2652
  g.prototype.stepLogicalExpression = function(e, t, n) {
2653
2653
  if (n.operator !== "&&" && n.operator !== "||")
@@ -2750,7 +2750,7 @@ g.prototype.stepSwitchStatement = function(e, t, n) {
2750
2750
  }
2751
2751
  };
2752
2752
  g.prototype.stepThisExpression = function(e) {
2753
- e.pop(), e[e.length - 1].value = Un(this, "this");
2753
+ e.pop(), e[e.length - 1].value = Fn(this, "this");
2754
2754
  };
2755
2755
  g.prototype.stepThrowStatement = function(e, t, n) {
2756
2756
  if (t.ka)
@@ -2762,7 +2762,7 @@ g.prototype.stepTryStatement = function(e, t, n) {
2762
2762
  if (!t.Rb)
2763
2763
  return t.Rb = !0, new T(n.block, t.scope);
2764
2764
  if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
2765
- return t.Tb = !0, e = Dn(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new T(n.Ea.body, e);
2765
+ return t.Tb = !0, e = Ln(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new T(n.Ea.body, e);
2766
2766
  if (!t.Sb && n.fb)
2767
2767
  return t.Sb = !0, new T(n.fb, t.scope);
2768
2768
  e.pop(), t.ea && bt(this, t.ea.type, t.ea.value, t.ea.label);
@@ -2812,7 +2812,7 @@ g.prototype.stepUpdateExpression = function(e, t, n) {
2812
2812
  if (!t.ja)
2813
2813
  return t.ja = !0, e = new T(n.K, t.scope), e.sa = !0, e;
2814
2814
  if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
2815
- var r = Wn(this, t.Ga);
2815
+ var r = Mn(this, t.Ga);
2816
2816
  if (t.ma = r, this.P)
2817
2817
  return t.Ba = !0, St(this, r, t.Ga);
2818
2818
  }
@@ -2825,15 +2825,15 @@ g.prototype.stepUpdateExpression = function(e, t, n) {
2825
2825
  o = r - 1;
2826
2826
  else
2827
2827
  throw SyntaxError("Unknown update expression: " + n.operator);
2828
- if (n = n.prefix ? o : r, r = Ln(this, t.Ga, o))
2829
- return t.ta = !0, t.ib = n, Fn(this, r, t.Ga, o);
2828
+ if (n = n.prefix ? o : r, r = Hn(this, t.Ga, o))
2829
+ return t.ta = !0, t.ib = n, Kn(this, r, t.Ga, o);
2830
2830
  e.pop(), e[e.length - 1].value = n;
2831
2831
  }
2832
2832
  };
2833
2833
  g.prototype.stepVariableDeclaration = function(e, t, n) {
2834
2834
  n = n.fa;
2835
2835
  var r = t.A || 0, o = n[r];
2836
- for (t.Bb && o && (ao(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2836
+ for (t.Bb && o && (po(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2837
2837
  if (o.ua)
2838
2838
  return t.A = r, t.Bb = !0, t.Pa = o.id.name, new T(o.ua, t.scope);
2839
2839
  o = n[++r];
@@ -2841,7 +2841,7 @@ g.prototype.stepVariableDeclaration = function(e, t, n) {
2841
2841
  e.pop();
2842
2842
  };
2843
2843
  g.prototype.stepWithStatement = function(e, t, n) {
2844
- return t.Ca ? (e.pop(), e = Dn(this, t.scope, t.value), new T(n.body, e)) : (t.Ca = !0, new T(n.object, t.scope));
2844
+ return t.Ca ? (e.pop(), e = Ln(this, t.scope, t.value), new T(n.body, e)) : (t.Ca = !0, new T(n.object, t.scope));
2845
2845
  };
2846
2846
  g.prototype.stepWhileStatement = g.prototype.stepDoWhileStatement;
2847
2847
  Be.Interpreter = g;
@@ -2860,7 +2860,7 @@ g.prototype.getGlobalScope = g.prototype.Xb;
2860
2860
  g.prototype.getStateStack = g.prototype.Yb;
2861
2861
  g.prototype.setStateStack = g.prototype.ec;
2862
2862
  g.VALUE_IN_DESCRIPTOR = yt;
2863
- function zi() {
2863
+ function Gi() {
2864
2864
  const e = g.prototype.getProperty, t = g.prototype.setProperty;
2865
2865
  function n(s, u) {
2866
2866
  if (s == null || !s._connected)
@@ -2885,11 +2885,11 @@ function zi() {
2885
2885
  return u._connected = s, u;
2886
2886
  };
2887
2887
  }
2888
- zi();
2889
- const qi = (e) => e.replace(/^.*?function main\(\)/, `
2888
+ Gi();
2889
+ const _i = (e) => e.replace(/^.*?function main\(\)/, `
2890
2890
  var __awaiter = function (e, t, n, r) {return r()},
2891
2891
  __generator = function (e, t) { return t() };
2892
- function main()`).replace(/\?\./g, "."), Nr = (e) => e + "JSON", Gi = ({
2892
+ function main()`).replace(/\?\./g, "."), Vr = (e) => e + "JSON", Ji = ({
2893
2893
  builder: e,
2894
2894
  context: t,
2895
2895
  event: n,
@@ -2898,20 +2898,20 @@ function main()`).replace(/\?\./g, "."), Nr = (e) => e + "JSON", Gi = ({
2898
2898
  rootSetState: i,
2899
2899
  code: s
2900
2900
  }) => {
2901
- const u = xn({
2901
+ const u = Nn({
2902
2902
  rootState: r,
2903
2903
  localState: o,
2904
2904
  rootSetState: i
2905
- }), c = oo({
2905
+ }), c = lo({
2906
2906
  builder: e,
2907
2907
  context: t,
2908
2908
  event: n,
2909
2909
  state: u
2910
2910
  }), m = c.map(([$]) => {
2911
- const H = Nr($);
2911
+ const H = Vr($);
2912
2912
  return $ === "state" ? "" : `var ${$} = ${H} === undefined ? undefined : JSON.parse(${H});`;
2913
2913
  }).join(`
2914
- `), y = qi(s);
2914
+ `), y = _i(s);
2915
2915
  if (y === "")
2916
2916
  return;
2917
2917
  const b = `
@@ -2927,29 +2927,29 @@ theFunction();
2927
2927
  $.setProperty(H, te, $.createConnectedObject(E), $.READONLY_DESCRIPTOR);
2928
2928
  else {
2929
2929
  const D = JSON.stringify(E);
2930
- $.setProperty(H, Nr(te), D);
2930
+ $.setProperty(H, Vr(te), D);
2931
2931
  }
2932
2932
  });
2933
2933
  }, S = new g(b, h);
2934
2934
  return S.run(), S.pseudoToNative(S.value);
2935
2935
  };
2936
- function _i() {
2936
+ function Xi() {
2937
2937
  var e;
2938
2938
  return typeof process < "u" && Ne((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
2939
2939
  }
2940
- const Ji = ({
2940
+ const Yi = ({
2941
2941
  shouldLogWarning: e
2942
2942
  }) => {
2943
2943
  var o;
2944
- if (!_i())
2944
+ if (!Xi())
2945
2945
  return !1;
2946
2946
  const t = process.arch === "arm64", n = process.version.startsWith("v20"), r = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
2947
2947
  return t && n && !r ? (e && ue.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;
2948
- }, Xi = (e) => M() || Ji({
2948
+ }, Qi = (e) => M() || Yi({
2949
2949
  shouldLogWarning: !0
2950
- }) ? Ai(e) : Gi(e), Yi = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Qi = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Zi = (e) => {
2950
+ }) ? xi(e) : Ji(e), Zi = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, es = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, ts = (e) => {
2951
2951
  var t, n, r, o, i, s;
2952
- return ((r = (n = (t = Yi.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : r.slice(1)) || ((s = (i = (o = Qi.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
2952
+ return ((r = (n = (t = Zi.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : r.slice(1)) || ((s = (i = (o = es.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
2953
2953
  };
2954
2954
  function kt({
2955
2955
  code: e,
@@ -2963,17 +2963,17 @@ function kt({
2963
2963
  }) {
2964
2964
  if (e.trim() === "")
2965
2965
  return;
2966
- const c = Zi(e.trim());
2966
+ const c = ts(e.trim());
2967
2967
  if (c)
2968
- return Gr({
2968
+ return Yr({
2969
2969
  ...r,
2970
2970
  ...n
2971
2971
  }, c);
2972
2972
  const m = {
2973
- code: Ri(e, {
2973
+ code: $i(e, {
2974
2974
  isExpression: s
2975
2975
  }),
2976
- builder: Ii(u),
2976
+ builder: Ai(u),
2977
2977
  context: t,
2978
2978
  event: i,
2979
2979
  rootSetState: o,
@@ -2981,7 +2981,7 @@ function kt({
2981
2981
  localState: n
2982
2982
  };
2983
2983
  try {
2984
- return Xi(m);
2984
+ return Qi(m);
2985
2985
  } catch (y) {
2986
2986
  ue.error("Failed code evaluation: " + y.message, {
2987
2987
  code: e
@@ -2989,15 +2989,15 @@ function kt({
2989
2989
  return;
2990
2990
  }
2991
2991
  }
2992
- function es(e, t) {
2992
+ function ns(e, t) {
2993
2993
  var n;
2994
2994
  return {
2995
2995
  ...(n = e.component) == null ? void 0 : n.options,
2996
2996
  ...e.options,
2997
- ...ts(e, t)
2997
+ ...rs(e, t)
2998
2998
  };
2999
2999
  }
3000
- const ts = (e, t) => {
3000
+ const rs = (e, t) => {
3001
3001
  var n, r;
3002
3002
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((r = e.component.options) != null && r.text) && typeof e.component.options.text == "string")
3003
3003
  return {
@@ -3011,7 +3011,7 @@ const ts = (e, t) => {
3011
3011
  }))
3012
3012
  };
3013
3013
  };
3014
- function ns(e, ...t) {
3014
+ function os(e, ...t) {
3015
3015
  const n = Object.assign({}, e);
3016
3016
  for (const r of t)
3017
3017
  delete n[r];
@@ -3034,30 +3034,30 @@ function Vt(e, t, n = null, r = null, o = /* @__PURE__ */ new WeakSet()) {
3034
3034
  }), Vt(s, t, e, i, o);
3035
3035
  }));
3036
3036
  }
3037
- function co(e) {
3037
+ function mo(e) {
3038
3038
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
3039
3039
  }
3040
- function rs(e) {
3040
+ function is(e) {
3041
3041
  if (!e || !Object.getOwnPropertyNames(e).length)
3042
3042
  return !1;
3043
3043
  let t = !1;
3044
3044
  return Vt(e, (n) => {
3045
- if (co(n)) {
3045
+ if (mo(n)) {
3046
3046
  t = !0;
3047
3047
  return;
3048
3048
  }
3049
3049
  }), t;
3050
3050
  }
3051
- function os(e, t) {
3051
+ function ss(e, t) {
3052
3052
  return !e || !Object.getOwnPropertyNames(e).length ? {} : (Vt(e, (n, r) => {
3053
- co(n) && r(n[t] ?? void 0);
3053
+ mo(n) && r(n[t] ?? void 0);
3054
3054
  }), e);
3055
3055
  }
3056
- function is(e, t) {
3056
+ function as(e, t) {
3057
3057
  var n, r;
3058
- return (n = e.component) != null && n.options && rs((r = e.component) == null ? void 0 : r.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = os(e.component.options, t ?? "Default")), e;
3058
+ return (n = e.component) != null && n.options && is((r = e.component) == null ? void 0 : r.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = ss(e.component.options, t ?? "Default")), e;
3059
3059
  }
3060
- const Mn = (e) => JSON.parse(JSON.stringify(e)), po = (e, t, n) => {
3060
+ const zn = (e) => JSON.parse(JSON.stringify(e)), go = (e, t, n) => {
3061
3061
  if (Object(e) !== e)
3062
3062
  return e;
3063
3063
  const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
@@ -3075,9 +3075,9 @@ function Cn(e) {
3075
3075
  n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = Cn(e[n]));
3076
3076
  return t;
3077
3077
  }
3078
- const ss = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), as = (e) => {
3079
- if (ss) {
3080
- const t = Mn(e);
3078
+ const ls = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), us = (e) => {
3079
+ if (ls) {
3080
+ const t = zn(e);
3081
3081
  return {
3082
3082
  ...t,
3083
3083
  properties: {
@@ -3088,7 +3088,7 @@ const ss = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), as = (e) =
3088
3088
  }
3089
3089
  };
3090
3090
  } else {
3091
- const t = Cn(ns(e, "children", "meta"));
3091
+ const t = Cn(os(e, "children", "meta"));
3092
3092
  return {
3093
3093
  ...t,
3094
3094
  properties: {
@@ -3101,7 +3101,7 @@ const ss = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), as = (e) =
3101
3101
  meta: e.meta
3102
3102
  };
3103
3103
  }
3104
- }, ls = ({
3104
+ }, cs = ({
3105
3105
  block: e,
3106
3106
  context: t,
3107
3107
  localState: n,
@@ -3110,7 +3110,7 @@ const ss = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), as = (e) =
3110
3110
  }) => {
3111
3111
  if (!e.bindings)
3112
3112
  return e;
3113
- const i = as(e);
3113
+ const i = us(e);
3114
3114
  for (const s in e.bindings) {
3115
3115
  const u = e.bindings[s], c = kt({
3116
3116
  code: u,
@@ -3119,11 +3119,11 @@ const ss = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), as = (e) =
3119
3119
  rootSetState: o,
3120
3120
  context: t
3121
3121
  });
3122
- po(i, s, c);
3122
+ go(i, s, c);
3123
3123
  }
3124
3124
  return i;
3125
3125
  };
3126
- function us({
3126
+ function ps({
3127
3127
  block: e,
3128
3128
  context: t,
3129
3129
  localState: n,
@@ -3131,33 +3131,33 @@ function us({
3131
3131
  rootSetState: o
3132
3132
  }) {
3133
3133
  let i = e;
3134
- return i = ls({
3134
+ return i = cs({
3135
3135
  block: i,
3136
3136
  localState: n,
3137
3137
  rootState: r,
3138
3138
  rootSetState: o,
3139
3139
  context: t
3140
- }), i = is(i, r.locale), i;
3140
+ }), i = as(i, r.locale), i;
3141
3141
  }
3142
- function Hn(e) {
3142
+ function qn(e) {
3143
3143
  const t = e || (M() ? window.location.search : void 0);
3144
- return t ? Jr(t).indexOf("builder.preview=") !== -1 : !1;
3144
+ return t ? Zr(t).indexOf("builder.preview=") !== -1 : !1;
3145
3145
  }
3146
- const cs = (e) => ({
3146
+ const ds = (e) => ({
3147
3147
  type: "builder.registerComponent",
3148
3148
  data: Dt(e)
3149
- }), ps = (e) => {
3149
+ }), fs = (e) => {
3150
3150
  const t = e.toString().trim(), n = /^[a-zA-Z0-9_]+\s*=>/i.test(t);
3151
3151
  return `return (${!t.startsWith("function") && !t.startsWith("async") && !t.startsWith("(") && !n ? "function " : ""}${t}).apply(this, arguments)`;
3152
3152
  };
3153
3153
  function Dt(e) {
3154
- return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? ps(n) : n));
3154
+ return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? fs(n) : n));
3155
3155
  }
3156
- const Br = {};
3157
- function tc(e, t) {
3156
+ const Dr = {};
3157
+ function oc(e, t) {
3158
3158
  e === "plugin" && (t = Dt(t));
3159
- let n = Br[e];
3160
- if (n || (n = Br[e] = []), n.push(t), M()) {
3159
+ let n = Dr[e];
3160
+ if (n || (n = Dr[e] = []), n.push(t), M()) {
3161
3161
  const r = {
3162
3162
  type: "builder.register",
3163
3163
  data: {
@@ -3172,7 +3172,7 @@ function tc(e, t) {
3172
3172
  }
3173
3173
  }
3174
3174
  }
3175
- function nc(e) {
3175
+ function ic(e) {
3176
3176
  var t;
3177
3177
  if (M()) {
3178
3178
  const n = JSON.parse(JSON.stringify(e));
@@ -3182,50 +3182,50 @@ function nc(e) {
3182
3182
  }, "*");
3183
3183
  }
3184
3184
  }
3185
- const jr = {};
3186
- function rc(e) {
3185
+ const Ur = {};
3186
+ function sc(e) {
3187
3187
  if (M()) {
3188
- Object.assign(jr, e);
3188
+ Object.assign(Ur, e);
3189
3189
  const t = {
3190
3190
  type: "builder.settingsChange",
3191
- data: jr
3191
+ data: Ur
3192
3192
  };
3193
3193
  parent.postMessage(t, "*");
3194
3194
  }
3195
3195
  }
3196
- const Vr = "builder.", ds = "options.", fo = (e) => {
3196
+ const Wr = "builder.", hs = "options.", yo = (e) => {
3197
3197
  if (!e)
3198
3198
  return {};
3199
- const t = _r(e), n = {};
3199
+ const t = Qr(e), n = {};
3200
3200
  return Object.keys(t).forEach((r) => {
3201
- if (r.startsWith(Vr)) {
3202
- const o = r.replace(Vr, "").replace(ds, "");
3201
+ if (r.startsWith(Wr)) {
3202
+ const o = r.replace(Wr, "").replace(hs, "");
3203
3203
  n[o] = t[r];
3204
3204
  }
3205
3205
  }), n;
3206
- }, fs = () => {
3206
+ }, ms = () => {
3207
3207
  if (!M())
3208
3208
  return {};
3209
3209
  const e = new URLSearchParams(window.location.search);
3210
- return fo(e);
3211
- }, hs = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3212
- function ho(e, t) {
3210
+ return yo(e);
3211
+ }, gs = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3212
+ function vo(e, t) {
3213
3213
  let n;
3214
3214
  try {
3215
3215
  n = new URL(t.origin);
3216
3216
  } catch {
3217
3217
  return !1;
3218
3218
  }
3219
- return n.protocol !== "http:" && n.protocol !== "https:" ? !1 : (e || hs).findIndex((r) => r.startsWith("*.") ? n.hostname.endsWith(r.slice(1)) : r === n.hostname) > -1;
3219
+ return n.protocol !== "http:" && n.protocol !== "https:" ? !1 : (e || gs).findIndex((r) => r.startsWith("*.") ? n.hostname.endsWith(r.slice(1)) : r === n.hostname) > -1;
3220
3220
  }
3221
- let Dr = !1;
3222
- const mo = (e) => {
3221
+ let Lr = !1;
3222
+ const bo = (e) => {
3223
3223
  var t, n;
3224
- Dr || (Dr = !0, M() && ((t = window.parent) == null || t.postMessage({
3224
+ Lr || (Lr = !0, M() && ((t = window.parent) == null || t.postMessage({
3225
3225
  type: "builder.sdkInfo",
3226
3226
  data: {
3227
3227
  target: G,
3228
- version: Yr,
3228
+ version: to,
3229
3229
  supportsPatchUpdates: !1,
3230
3230
  // Supports builder-model="..." attribute which is needed to
3231
3231
  // scope our '+ add block' button styling
@@ -3243,7 +3243,7 @@ const mo = (e) => {
3243
3243
  }
3244
3244
  }, "*"), window.addEventListener("message", (r) => {
3245
3245
  var i, s;
3246
- if (!ho(e.trustedHosts, r))
3246
+ if (!vo(e.trustedHosts, r))
3247
3247
  return;
3248
3248
  const {
3249
3249
  data: o
@@ -3284,12 +3284,12 @@ const mo = (e) => {
3284
3284
  }
3285
3285
  }
3286
3286
  })));
3287
- }, go = ({
3287
+ }, So = ({
3288
3288
  model: e,
3289
3289
  trustedHosts: t,
3290
3290
  callbacks: n
3291
3291
  }) => (r) => {
3292
- if (!ho(t, r))
3292
+ if (!vo(t, r))
3293
3293
  return;
3294
3294
  const {
3295
3295
  data: o
@@ -3315,7 +3315,7 @@ const mo = (e) => {
3315
3315
  break;
3316
3316
  }
3317
3317
  }
3318
- }, oc = ({
3318
+ }, ac = ({
3319
3319
  model: e,
3320
3320
  apiKey: t,
3321
3321
  callback: n,
@@ -3324,11 +3324,11 @@ const mo = (e) => {
3324
3324
  if (!M)
3325
3325
  return ue.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
3326
3326
  };
3327
- mo({
3327
+ bo({
3328
3328
  modelName: e,
3329
3329
  apiKey: t
3330
3330
  });
3331
- const o = go({
3331
+ const o = So({
3332
3332
  callbacks: {
3333
3333
  contentUpdate: n,
3334
3334
  animation: () => {
@@ -3344,24 +3344,24 @@ const mo = (e) => {
3344
3344
  return window.addEventListener("message", o), () => {
3345
3345
  window.removeEventListener("message", o);
3346
3346
  };
3347
- }, ms = "builder.tests", Kn = (e) => `${ms}.${e}`, gs = ({
3347
+ }, ys = "builder.tests", Gn = (e) => `${ys}.${e}`, vs = ({
3348
3348
  contentId: e
3349
- }) => Zr({
3350
- name: Kn(e),
3349
+ }) => ro({
3350
+ name: Gn(e),
3351
3351
  canTrack: !0
3352
- }), ys = ({
3352
+ }), bs = ({
3353
3353
  contentId: e
3354
3354
  }) => Lt({
3355
- name: Kn(e),
3355
+ name: Gn(e),
3356
3356
  canTrack: !0
3357
- }), vs = ({
3357
+ }), Ss = ({
3358
3358
  contentId: e,
3359
3359
  value: t
3360
- }) => An({
3361
- name: Kn(e),
3360
+ }) => Pn({
3361
+ name: Gn(e),
3362
3362
  value: t,
3363
3363
  canTrack: !0
3364
- }), yo = (e) => Ne(e.id) && Ne(e.variations) && Object.keys(e.variations).length > 0, bs = ({
3364
+ }), ko = (e) => Ne(e.id) && Ne(e.variations) && Object.keys(e.variations).length > 0, ks = ({
3365
3365
  id: e,
3366
3366
  variations: t
3367
3367
  }) => {
@@ -3374,15 +3374,15 @@ const mo = (e) => {
3374
3374
  return i;
3375
3375
  }
3376
3376
  return e;
3377
- }, vo = (e) => {
3378
- const t = bs(e);
3379
- return vs({
3377
+ }, Co = (e) => {
3378
+ const t = ks(e);
3379
+ return Ss({
3380
3380
  contentId: e.id,
3381
3381
  value: t
3382
3382
  }).catch((n) => {
3383
3383
  ue.error("could not store A/B test variation: ", n);
3384
3384
  }), t;
3385
- }, bo = ({
3385
+ }, wo = ({
3386
3386
  item: e,
3387
3387
  testGroupId: t
3388
3388
  }) => {
@@ -3396,7 +3396,7 @@ const mo = (e) => {
3396
3396
  testVariationId: n.id,
3397
3397
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
3398
3398
  };
3399
- }, Ss = ({
3399
+ }, Cs = ({
3400
3400
  item: e,
3401
3401
  canTrack: t
3402
3402
  }) => {
@@ -3404,14 +3404,14 @@ const mo = (e) => {
3404
3404
  return e;
3405
3405
  if (!e)
3406
3406
  return;
3407
- if (!yo(e))
3407
+ if (!ko(e))
3408
3408
  return e;
3409
- const n = ys({
3409
+ const n = bs({
3410
3410
  contentId: e.id
3411
- }) || vo({
3411
+ }) || Co({
3412
3412
  variations: e.variations,
3413
3413
  id: e.id
3414
- }), r = bo({
3414
+ }), r = wo({
3415
3415
  item: e,
3416
3416
  testGroupId: n
3417
3417
  });
@@ -3419,18 +3419,18 @@ const mo = (e) => {
3419
3419
  ...e,
3420
3420
  ...r
3421
3421
  };
3422
- }, ks = async ({
3422
+ }, ws = async ({
3423
3423
  item: e,
3424
3424
  canTrack: t
3425
3425
  }) => {
3426
- if (!t || !yo(e))
3426
+ if (!t || !ko(e))
3427
3427
  return e;
3428
- const r = await gs({
3428
+ const r = await vs({
3429
3429
  contentId: e.id
3430
- }) || vo({
3430
+ }) || Co({
3431
3431
  variations: e.variations,
3432
3432
  id: e.id
3433
- }), o = bo({
3433
+ }), o = wo({
3434
3434
  item: e,
3435
3435
  testGroupId: r
3436
3436
  });
@@ -3439,8 +3439,8 @@ const mo = (e) => {
3439
3439
  ...o
3440
3440
  };
3441
3441
  };
3442
- const Ur = "builder.userAttributes";
3443
- function Wr() {
3442
+ const Fr = "builder.userAttributes";
3443
+ function Mr() {
3444
3444
  let e = !0;
3445
3445
  const t = /* @__PURE__ */ new Set();
3446
3446
  return {
@@ -3451,15 +3451,15 @@ function Wr() {
3451
3451
  ...this.getUserAttributes(),
3452
3452
  ...n
3453
3453
  };
3454
- An({
3455
- name: Ur,
3454
+ Pn({
3455
+ name: Fr,
3456
3456
  value: JSON.stringify(r),
3457
3457
  canTrack: e
3458
3458
  }), t.forEach((o) => o(r));
3459
3459
  },
3460
3460
  getUserAttributes() {
3461
3461
  return M() ? JSON.parse(Lt({
3462
- name: Ur,
3462
+ name: Fr,
3463
3463
  canTrack: e
3464
3464
  }) || "{}") : {};
3465
3465
  },
@@ -3476,24 +3476,24 @@ function Wr() {
3476
3476
  };
3477
3477
  }
3478
3478
  let wn;
3479
- M() && G === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Wr()), wn = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : wn = Wr();
3480
- const Ut = wn, ic = (e) => {
3479
+ M() && G === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Mr()), wn = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : wn = Mr();
3480
+ const Ut = wn, lc = (e) => {
3481
3481
  Ut.setUserAttributes(e);
3482
3482
  }, Xe = (e) => {
3483
3483
  const t = Ne(e) ? e : !0;
3484
3484
  return Ut.setCanTrack(t), t;
3485
3485
  };
3486
- function Cs() {
3486
+ function Ts() {
3487
3487
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
3488
3488
  }
3489
- function ws() {
3490
- const e = Cs().fetch;
3489
+ function Es() {
3490
+ const e = Ts().fetch;
3491
3491
  if (typeof e > "u")
3492
3492
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
3493
3493
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
3494
3494
  return e;
3495
3495
  }
3496
- const Ts = ws();
3496
+ const Is = Es();
3497
3497
  function Tn(e, t = null, n = ".") {
3498
3498
  return Object.keys(e).reduce((r, o) => {
3499
3499
  const i = e[o], s = [t, o].filter(Boolean).join(n);
@@ -3506,14 +3506,14 @@ function Tn(e, t = null, n = ".") {
3506
3506
  };
3507
3507
  }, {});
3508
3508
  }
3509
- function So(e, t, n = {}) {
3509
+ function To(e, t, n = {}) {
3510
3510
  for (const r in e) {
3511
3511
  const o = e[r], i = t ? t + "." + r : r;
3512
- o && typeof o == "object" && !Array.isArray(o) && !Object.keys(o).find((s) => s.startsWith("$")) ? So(o, i, n) : n[i] = o;
3512
+ o && typeof o == "object" && !Array.isArray(o) && !Object.keys(o).find((s) => s.startsWith("$")) ? To(o, i, n) : n[i] = o;
3513
3513
  }
3514
3514
  return n;
3515
3515
  }
3516
- function Es(e) {
3516
+ function Rs(e) {
3517
3517
  const t = {};
3518
3518
  for (const n in e) {
3519
3519
  const r = n.split(".");
@@ -3525,7 +3525,7 @@ function Es(e) {
3525
3525
  }
3526
3526
  return t;
3527
3527
  }
3528
- const Is = "v3", Lr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, zn = (e) => {
3528
+ const As = "v3", Hr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, _n = (e) => {
3529
3529
  const {
3530
3530
  limit: t = 30,
3531
3531
  userAttributes: n,
@@ -3534,7 +3534,7 @@ const Is = "v3", Lr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, zn = (
3534
3534
  apiKey: i,
3535
3535
  enrich: s,
3536
3536
  locale: u,
3537
- apiVersion: c = Is,
3537
+ apiVersion: c = As,
3538
3538
  fields: m,
3539
3539
  omit: y,
3540
3540
  offset: b,
@@ -3551,7 +3551,7 @@ const Is = "v3", Lr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, zn = (
3551
3551
  const te = t !== 1, E = H || "https://cdn.builder.io", D = new URL(`${E}/api/${c}/content/${o}`);
3552
3552
  D.searchParams.set("apiKey", i), D.searchParams.set("limit", String(t)), D.searchParams.set("noTraverse", String(te)), D.searchParams.set("includeRefs", String(!0)), u && D.searchParams.set("locale", u);
3553
3553
  let ie = n || {};
3554
- if (s && D.searchParams.set("enrich", String(s)), D.searchParams.set("omit", y ?? "meta.componentsUsed"), m && D.searchParams.set("fields", m), Number.isFinite(b) && b > -1 && D.searchParams.set("offset", String(Math.floor(b))), typeof $ == "boolean" && D.searchParams.set("includeUnpublished", String($)), h && Lr(h) && D.searchParams.set("cacheSeconds", String(h)), S && Lr(S) && D.searchParams.set("staleCacheSeconds", String(S)), A) {
3554
+ if (s && D.searchParams.set("enrich", String(s)), D.searchParams.set("omit", y ?? "meta.componentsUsed"), m && D.searchParams.set("fields", m), Number.isFinite(b) && b > -1 && D.searchParams.set("offset", String(Math.floor(b))), typeof $ == "boolean" && D.searchParams.set("includeUnpublished", String($)), h && Hr(h) && D.searchParams.set("cacheSeconds", String(h)), S && Hr(S) && D.searchParams.set("staleCacheSeconds", String(S)), A) {
3555
3555
  const _ = Tn({
3556
3556
  sort: A
3557
3557
  });
@@ -3559,70 +3559,70 @@ const Is = "v3", Lr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, zn = (
3559
3559
  D.searchParams.set(R, JSON.stringify(_[R]));
3560
3560
  }
3561
3561
  const Ae = {
3562
- ...fs(),
3563
- ..._r(e.options || {})
3562
+ ...ms(),
3563
+ ...Qr(e.options || {})
3564
3564
  };
3565
3565
  ie = {
3566
3566
  ...ie,
3567
- ...As(Ae)
3567
+ ...xs(Ae)
3568
3568
  };
3569
3569
  const K = Tn(Ae);
3570
3570
  for (const _ in K)
3571
3571
  D.searchParams.set(_, String(K[_]));
3572
3572
  if (Object.keys(ie).length > 0 && D.searchParams.set("userAttributes", JSON.stringify(ie)), r) {
3573
- const _ = So({
3573
+ const _ = To({
3574
3574
  query: r
3575
3575
  });
3576
3576
  for (const R in _)
3577
3577
  D.searchParams.set(R, JSON.stringify(_[R]));
3578
3578
  }
3579
3579
  return D;
3580
- }, Rs = (e) => {
3580
+ }, $s = (e) => {
3581
3581
  const t = {};
3582
3582
  for (const n in e)
3583
3583
  n.startsWith("userAttributes.") && (t[n] = e[n], delete e[n]);
3584
3584
  return t;
3585
- }, As = (e) => {
3585
+ }, xs = (e) => {
3586
3586
  if (M() && e.preview === "BUILDER_STUDIO") {
3587
3587
  e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
3588
- const t = Rs(e), {
3588
+ const t = $s(e), {
3589
3589
  userAttributes: n
3590
- } = Es(t);
3590
+ } = Rs(t);
3591
3591
  return n;
3592
3592
  }
3593
3593
  return {};
3594
- }, $s = (e) => "results" in e;
3595
- async function qn(e) {
3594
+ }, Ps = (e) => "results" in e;
3595
+ async function Jn(e) {
3596
3596
  var r;
3597
3597
  const t = e.locale || ((r = e.userAttributes) == null ? void 0 : r.locale);
3598
3598
  t && (e.locale = t, e.userAttributes = {
3599
3599
  locale: t,
3600
3600
  ...e.userAttributes
3601
3601
  });
3602
- const n = await Os({
3602
+ const n = await Bs({
3603
3603
  ...e,
3604
3604
  limit: 1
3605
3605
  });
3606
3606
  return n && n[0] || null;
3607
3607
  }
3608
- const xs = async (e) => {
3608
+ const Os = async (e) => {
3609
3609
  var s;
3610
- const t = zn(e), n = e.fetch ?? Ts, r = {
3610
+ const t = _n(e), n = e.fetch ?? Is, r = {
3611
3611
  ...e.fetchOptions,
3612
3612
  headers: {
3613
3613
  ...(s = e.fetchOptions) == null ? void 0 : s.headers,
3614
- ...Qr()
3614
+ ...no()
3615
3615
  }
3616
3616
  };
3617
3617
  return await (await n(t.href, r)).json();
3618
- }, Ps = async (e, t, n = zn(e)) => {
3618
+ }, Ns = async (e, t, n = _n(e)) => {
3619
3619
  const r = Xe(e.canTrack);
3620
3620
  if (n.search.includes("preview="), !r || !(M() || G === "reactNative"))
3621
3621
  return t.results;
3622
3622
  try {
3623
3623
  const o = [];
3624
3624
  for (const i of t.results)
3625
- o.push(await ks({
3625
+ o.push(await ws({
3626
3626
  item: i,
3627
3627
  canTrack: r
3628
3628
  }));
@@ -3632,17 +3632,17 @@ const xs = async (e) => {
3632
3632
  }
3633
3633
  return t.results;
3634
3634
  };
3635
- async function Os(e) {
3636
- const t = zn(e), n = await xs(e);
3637
- if (!$s(n))
3635
+ async function Bs(e) {
3636
+ const t = _n(e), n = await Os(e);
3637
+ if (!Ps(n))
3638
3638
  throw ue.error("Error fetching data. ", {
3639
3639
  url: t,
3640
3640
  content: n,
3641
3641
  options: e
3642
3642
  }), n;
3643
- return Ps(e, n);
3643
+ return Ns(e, n);
3644
3644
  }
3645
- const sc = async (e) => {
3645
+ const uc = async (e) => {
3646
3646
  var r, o, i;
3647
3647
  const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
3648
3648
  ...e,
@@ -3654,15 +3654,15 @@ const sc = async (e) => {
3654
3654
  urlPath: t
3655
3655
  } : {}
3656
3656
  },
3657
- options: fo(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
3657
+ options: yo(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
3658
3658
  };
3659
3659
  return {
3660
3660
  apiKey: n.apiKey,
3661
3661
  model: n.model,
3662
- content: await qn(n)
3662
+ content: await Jn(n)
3663
3663
  };
3664
- }, Gn = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
3665
- function Ns(e, t, n = {}) {
3664
+ }, Xn = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
3665
+ function js(e, t, n = {}) {
3666
3666
  let r, o, i, s = null, u = 0;
3667
3667
  const c = function() {
3668
3668
  u = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(r, o), s || (r = o = null);
@@ -3684,55 +3684,55 @@ function mt(e, ...t) {
3684
3684
  }
3685
3685
  return n;
3686
3686
  }
3687
- function Bs(e) {
3687
+ function Vs(e) {
3688
3688
  for (const t of e)
3689
3689
  switch (t.trigger) {
3690
3690
  case "pageLoad":
3691
- wo(t);
3691
+ Ro(t);
3692
3692
  break;
3693
3693
  case "scrollInView":
3694
- Vs(t);
3694
+ Us(t);
3695
3695
  break;
3696
3696
  }
3697
3697
  }
3698
- function ko(e) {
3698
+ function Eo(e) {
3699
3699
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
3700
3700
  }
3701
- function Co(e, t) {
3702
- const n = js(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [o, i];
3701
+ function Io(e, t) {
3702
+ const n = Ds(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [o, i];
3703
3703
  for (const u of s)
3704
3704
  for (const c of n)
3705
3705
  c in u || (u[c] = r[c]);
3706
3706
  }
3707
- function js(e) {
3707
+ function Ds(e) {
3708
3708
  const t = [];
3709
3709
  for (const n of e.steps)
3710
3710
  for (const r in n.styles)
3711
3711
  t.indexOf(r) === -1 && t.push(r);
3712
3712
  return t;
3713
3713
  }
3714
- function wo(e) {
3714
+ function Ro(e) {
3715
3715
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
3716
3716
  if (!t.length) {
3717
- ko(e.elementId || e.id || "");
3717
+ Eo(e.elementId || e.id || "");
3718
3718
  return;
3719
3719
  }
3720
3720
  Array.from(t).forEach((n) => {
3721
- Co(e, n), n.style.transition = "none", n.style.transitionDelay = "0", mt(n.style, e.steps[0].styles), setTimeout(() => {
3722
- n.style.transition = `all ${e.duration}s ${Gn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), mt(n.style, e.steps[1].styles), setTimeout(() => {
3721
+ Io(e, n), n.style.transition = "none", n.style.transitionDelay = "0", mt(n.style, e.steps[0].styles), setTimeout(() => {
3722
+ n.style.transition = `all ${e.duration}s ${Xn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), mt(n.style, e.steps[1].styles), setTimeout(() => {
3723
3723
  n.style.transition = "", n.style.transitionDelay = "";
3724
3724
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
3725
3725
  });
3726
3726
  });
3727
3727
  }
3728
- function Vs(e) {
3728
+ function Us(e) {
3729
3729
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
3730
3730
  if (!t.length) {
3731
- ko(e.elementId || e.id || "");
3731
+ Eo(e.elementId || e.id || "");
3732
3732
  return;
3733
3733
  }
3734
3734
  Array.from(t).forEach((n) => {
3735
- Co(e, n);
3735
+ Io(e, n);
3736
3736
  let r = !1, o = !1;
3737
3737
  function i() {
3738
3738
  !r && u(n) ? (r = !0, o = !0, setTimeout(() => {
@@ -3741,7 +3741,7 @@ function Vs(e) {
3741
3741
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
3742
3742
  })) : e.repeat && r && !o && !u(n) && (r = !1, mt(n.style, e.steps[0].styles));
3743
3743
  }
3744
- const s = Ns(i, 200, {
3744
+ const s = js(i, 200, {
3745
3745
  leading: !1
3746
3746
  });
3747
3747
  function u(y) {
@@ -3753,49 +3753,49 @@ function Vs(e) {
3753
3753
  mt(n.style, c);
3754
3754
  }
3755
3755
  m(), setTimeout(() => {
3756
- n.style.transition = `all ${e.duration}s ${Gn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
3756
+ n.style.transition = `all ${e.duration}s ${Xn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
3757
3757
  }), document.addEventListener("scroll", s, {
3758
3758
  capture: !0,
3759
3759
  passive: !0
3760
3760
  }), i();
3761
3761
  });
3762
3762
  }
3763
- const To = (e) => Object.entries(e).map(([n, r]) => {
3763
+ const Ao = (e) => Object.entries(e).map(([n, r]) => {
3764
3764
  if (typeof r == "string")
3765
- return `${Gn(n)}: ${r};`;
3766
- }).filter(Ne), Ds = (e) => To(e).join(`
3767
- `), ac = ({
3765
+ return `${Xn(n)}: ${r};`;
3766
+ }).filter(Ne), Ws = (e) => Ao(e).join(`
3767
+ `), cc = ({
3768
3768
  mediaQuery: e,
3769
3769
  className: t,
3770
3770
  styles: n
3771
3771
  }) => {
3772
3772
  const r = `.${t} {
3773
- ${Ds(n)}
3773
+ ${Ws(n)}
3774
3774
  }`;
3775
3775
  return e ? `${e} {
3776
3776
  ${r}
3777
3777
  }` : r;
3778
3778
  };
3779
- function Us({
3779
+ function Ls({
3780
3780
  style: e
3781
3781
  }) {
3782
3782
  return e;
3783
3783
  }
3784
- const lc = ({
3784
+ const pc = ({
3785
3785
  block: e,
3786
3786
  context: t
3787
- }) => Eo(Us({
3787
+ }) => $o(Ls({
3788
3788
  style: e.style || {},
3789
3789
  context: t,
3790
3790
  block: e
3791
3791
  }));
3792
- function Eo(e) {
3792
+ function $o(e) {
3793
3793
  switch (G) {
3794
3794
  case "svelte":
3795
3795
  case "vue":
3796
3796
  case "solid":
3797
3797
  case "angular":
3798
- return To(e).join(" ");
3798
+ return Ao(e).join(" ");
3799
3799
  case "qwik":
3800
3800
  case "reactNative":
3801
3801
  case "react":
@@ -3803,7 +3803,7 @@ function Eo(e) {
3803
3803
  return e;
3804
3804
  }
3805
3805
  }
3806
- const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Ws = ({
3806
+ const xo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Fs = ({
3807
3807
  block: e,
3808
3808
  registeredComponents: t,
3809
3809
  model: n
@@ -3813,14 +3813,14 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3813
3813
  if (!r)
3814
3814
  return null;
3815
3815
  const o = t[r];
3816
- if (!o || Io(o, n)) {
3816
+ if (!o || xo(o, n)) {
3817
3817
  console.warn(`
3818
3818
  Could not find a registered component named "${r}".
3819
3819
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
3820
3820
  return;
3821
3821
  } else
3822
3822
  return o;
3823
- }, Ls = ({
3823
+ }, Ms = ({
3824
3824
  block: e,
3825
3825
  context: t
3826
3826
  }) => {
@@ -3853,59 +3853,59 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3853
3853
  },
3854
3854
  block: r
3855
3855
  }));
3856
- }, Fs = (e, t) => {
3856
+ }, Hs = (e, t) => {
3857
3857
  var n;
3858
3858
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
3859
3859
  builderLinkComponent: t
3860
3860
  } : {};
3861
- }, Ms = (e, t, n) => {
3861
+ }, Ks = (e, t, n) => {
3862
3862
  var r;
3863
3863
  return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderComponents ? {
3864
- builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !Io(s, n)))
3864
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !xo(s, n)))
3865
3865
  } : {};
3866
- }, Hs = (e, t) => {
3866
+ }, zs = (e, t) => {
3867
3867
  var n;
3868
3868
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
3869
3869
  builderBlock: t
3870
3870
  } : {};
3871
- }, Ks = (e, t) => {
3871
+ }, qs = (e, t) => {
3872
3872
  var n;
3873
3873
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
3874
3874
  builderContext: t
3875
3875
  } : {};
3876
- }, zs = (e) => e.toString(), qs = () => Promise.resolve().then(() => sa).then((e) => e.default).catch((e) => {
3876
+ }, Gs = (e) => e.toString(), _s = () => Promise.resolve().then(() => la).then((e) => e.default).catch((e) => {
3877
3877
  throw console.error(
3878
3878
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
3879
3879
  e
3880
3880
  ), e;
3881
- }), Gs = () => import("./block-wrapper-46vOpFGy.js").then((e) => e.default).catch((e) => {
3881
+ }), Js = () => import("./block-wrapper-9nBz9JZR.js").then((e) => e.default).catch((e) => {
3882
3882
  throw console.error(
3883
3883
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
3884
3884
  e
3885
3885
  ), e;
3886
- }), _s = () => import("./component-ref-yTXpKy_r.js").then((e) => e.default).catch((e) => {
3886
+ }), Xs = () => import("./component-ref-S9vJwuiq.js").then((e) => e.default).catch((e) => {
3887
3887
  throw console.error(
3888
3888
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
3889
3889
  e
3890
3890
  ), e;
3891
- }), Js = () => import("./repeated-block-eANZkOUH.js").then((e) => e.default).catch((e) => {
3891
+ }), Ys = () => import("./repeated-block-R_IWEkxl.js").then((e) => e.default).catch((e) => {
3892
3892
  throw console.error(
3893
3893
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
3894
3894
  e
3895
3895
  ), e;
3896
- }), Xs = () => import("./style-wrapper-GqtgkGuc.js").then((e) => e.default).catch((e) => {
3896
+ }), Qs = () => import("./style-wrapper-sQRz1Tz9.js").then((e) => e.default).catch((e) => {
3897
3897
  throw console.error(
3898
3898
  "Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
3899
3899
  e
3900
3900
  ), e;
3901
- }), Ys = B({
3901
+ }), Zs = B({
3902
3902
  name: "block",
3903
3903
  components: {
3904
- StyleWrapper: st(Xs),
3905
- RepeatedBlock: st(Js),
3906
- ComponentRef: st(_s),
3907
- BlockWrapper: st(Gs),
3908
- DynamicDiv: st(qs)
3904
+ StyleWrapper: st(Qs),
3905
+ RepeatedBlock: st(Ys),
3906
+ ComponentRef: st(Xs),
3907
+ BlockWrapper: st(Js),
3908
+ DynamicDiv: st(_s)
3909
3909
  },
3910
3910
  props: ["block", "context", "registeredComponents", "linkComponent"],
3911
3911
  data() {
@@ -3914,12 +3914,12 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3914
3914
  value: null,
3915
3915
  update: !1
3916
3916
  },
3917
- generateKey: zs
3917
+ generateKey: Gs
3918
3918
  };
3919
3919
  },
3920
3920
  mounted() {
3921
3921
  const e = this.processedBlock.id, t = this.processedBlock.animations;
3922
- t && e && Bs(
3922
+ t && e && Vs(
3923
3923
  t.map((n) => ({
3924
3924
  ...n,
3925
3925
  elementId: e
@@ -3930,14 +3930,14 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3930
3930
  },
3931
3931
  computed: {
3932
3932
  repeatItem() {
3933
- return Ls({
3933
+ return Ms({
3934
3934
  block: this.block,
3935
3935
  context: this.context
3936
3936
  });
3937
3937
  },
3938
3938
  processedBlock() {
3939
3939
  var t;
3940
- return (t = this.block.repeat) != null && t.collection ? this.block : us({
3940
+ return (t = this.block.repeat) != null && t.collection ? this.block : ps({
3941
3941
  block: this.block,
3942
3942
  localState: this.context.localState,
3943
3943
  rootState: this.context.rootState,
@@ -3946,7 +3946,7 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3946
3946
  });
3947
3947
  },
3948
3948
  blockComponent() {
3949
- return Ws({
3949
+ return Fs({
3950
3950
  block: this.processedBlock,
3951
3951
  registeredComponents: this.registeredComponents,
3952
3952
  model: this.context.model
@@ -3973,11 +3973,11 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3973
3973
  blockChildren: this.processedBlock.children ?? [],
3974
3974
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
3975
3975
  componentOptions: {
3976
- ...es(this.processedBlock, this.context),
3977
- ...Hs(this.blockComponent, this.processedBlock),
3978
- ...Ks(this.blockComponent, this.context),
3979
- ...Fs(this.blockComponent, this.linkComponent),
3980
- ...Ms(
3976
+ ...ns(this.processedBlock, this.context),
3977
+ ...zs(this.blockComponent, this.processedBlock),
3978
+ ...qs(this.blockComponent, this.context),
3979
+ ...Hs(this.blockComponent, this.linkComponent),
3980
+ ...Ks(
3981
3981
  this.blockComponent,
3982
3982
  this.registeredComponents,
3983
3983
  this.context.model
@@ -3993,7 +3993,7 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3993
3993
  }
3994
3994
  }
3995
3995
  });
3996
- function Qs(e, t, n, r, o, i) {
3996
+ function ea(e, t, n, r, o, i) {
3997
3997
  var b;
3998
3998
  const s = W("StyleWrapper"), u = W("ComponentRef"), c = W("Block", !0), m = W("BlockWrapper"), y = W("RepeatedBlock");
3999
3999
  return e.canShowBlock ? (v(), w(z, { key: 0 }, [
@@ -4059,10 +4059,10 @@ function Qs(e, t, n, r, o, i) {
4059
4059
  ], 64))
4060
4060
  ], 64)) : F("", !0);
4061
4061
  }
4062
- const Ro = /* @__PURE__ */ j(Ys, [["render", Qs]]), uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4062
+ const Po = /* @__PURE__ */ j(Zs, [["render", ea]]), dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4063
4063
  __proto__: null,
4064
- default: Ro
4065
- }, Symbol.toStringTag, { value: "Module" })), Zs = B({
4064
+ default: Po
4065
+ }, Symbol.toStringTag, { value: "Module" })), ta = B({
4066
4066
  name: "builder-blocks-wrapper",
4067
4067
  props: [
4068
4068
  "blocks",
@@ -4132,7 +4132,7 @@ const Ro = /* @__PURE__ */ j(Ys, [["render", Qs]]), uc = /* @__PURE__ */ Object.
4132
4132
  }
4133
4133
  }
4134
4134
  });
4135
- function ea(e, t, n, r, o, i) {
4135
+ function na(e, t, n, r, o, i) {
4136
4136
  return v(), U(dt(e.BlocksWrapper), q({
4137
4137
  ref: "blocksWrapperRef",
4138
4138
  class: e.className + " component-5vz8uirn7sc",
@@ -4149,9 +4149,9 @@ function ea(e, t, n, r, o, i) {
4149
4149
  _: 3
4150
4150
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
4151
4151
  }
4152
- const ta = /* @__PURE__ */ j(Zs, [["render", ea], ["__scopeId", "data-v-82fc93d6"]]), na = B({
4152
+ const ra = /* @__PURE__ */ j(ta, [["render", na], ["__scopeId", "data-v-82fc93d6"]]), oa = B({
4153
4153
  name: "builder-blocks",
4154
- components: { BlocksWrapper: ta, Block: Ro },
4154
+ components: { BlocksWrapper: ra, Block: Po },
4155
4155
  props: [
4156
4156
  "blocks",
4157
4157
  "parent",
@@ -4165,10 +4165,10 @@ const ta = /* @__PURE__ */ j(Zs, [["render", ea], ["__scopeId", "data-v-82fc93d6
4165
4165
  ],
4166
4166
  inject: {
4167
4167
  builderContext: vn.key,
4168
- componentsContext: qr.key
4168
+ componentsContext: Xr.key
4169
4169
  }
4170
4170
  });
4171
- function ra(e, t, n, r, o, i) {
4171
+ function ia(e, t, n, r, o, i) {
4172
4172
  var c, m, y, b;
4173
4173
  const s = W("Block"), u = W("BlocksWrapper");
4174
4174
  return v(), U(u, {
@@ -4196,21 +4196,21 @@ function ra(e, t, n, r, o, i) {
4196
4196
  _: 3
4197
4197
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
4198
4198
  }
4199
- const Ue = /* @__PURE__ */ j(na, [["render", ra]]), oa = B({
4199
+ const Ue = /* @__PURE__ */ j(oa, [["render", ia]]), sa = B({
4200
4200
  name: "dynamic-div",
4201
4201
  props: []
4202
4202
  });
4203
- function ia(e, t, n, r, o, i) {
4203
+ function aa(e, t, n, r, o, i) {
4204
4204
  return v(), w("div", null, [
4205
4205
  pe(e.$slots, "default")
4206
4206
  ]);
4207
4207
  }
4208
- const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4208
+ const Ct = /* @__PURE__ */ j(sa, [["render", aa]]), la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4209
4209
  __proto__: null,
4210
4210
  default: Ct
4211
4211
  }, Symbol.toStringTag, { value: "Module" })), Ht = B({
4212
4212
  render() {
4213
- return zr("style", {
4213
+ return Jr("style", {
4214
4214
  innerHTML: this.styles,
4215
4215
  "data-id": this.id,
4216
4216
  nonce: this.nonce
@@ -4218,7 +4218,7 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4218
4218
  },
4219
4219
  name: "inlined-styles",
4220
4220
  props: ["styles", "id", "nonce"]
4221
- }), Ao = {
4221
+ }), Oo = {
4222
4222
  xsmall: {
4223
4223
  min: 0,
4224
4224
  default: 160,
@@ -4239,8 +4239,8 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4239
4239
  default: 991,
4240
4240
  max: 1200
4241
4241
  }
4242
- }, cc = (e, t = Ao) => `@media (max-width: ${t[e].max}px)`, aa = (e) => {
4243
- const t = Mn(Ao);
4242
+ }, fc = (e, t = Oo) => `@media (max-width: ${t[e].max}px)`, ua = (e) => {
4243
+ const t = zn(Oo);
4244
4244
  if (!e)
4245
4245
  return t;
4246
4246
  const {
@@ -4277,11 +4277,11 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4277
4277
  min: u,
4278
4278
  default: u + 1
4279
4279
  }, t;
4280
- }, la = (e) => `builder-columns ${e}-breakpoints`, ua = B({
4280
+ }, ca = (e) => `builder-columns ${e}-breakpoints`, pa = B({
4281
4281
  name: "builder-columns",
4282
4282
  components: {
4283
4283
  InlinedStyles: Ht,
4284
- DynamicRenderer: Rn,
4284
+ DynamicRenderer: xn,
4285
4285
  Blocks: Ue,
4286
4286
  DynamicDiv: Ct
4287
4287
  },
@@ -4296,7 +4296,7 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4296
4296
  "builderComponents"
4297
4297
  ],
4298
4298
  data() {
4299
- return { TARGET: G, getColumnsClass: la };
4299
+ return { TARGET: G, getColumnsClass: ca };
4300
4300
  },
4301
4301
  computed: {
4302
4302
  gutterSize() {
@@ -4375,7 +4375,7 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4375
4375
  },
4376
4376
  getWidthForBreakpointSize(e) {
4377
4377
  var n, r;
4378
- return aa(
4378
+ return ua(
4379
4379
  ((r = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : r.breakpoints) || {}
4380
4380
  )[e].max;
4381
4381
  },
@@ -4413,12 +4413,12 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4413
4413
  href: e.link
4414
4414
  } : {},
4415
4415
  [Oe()]: "builder-column",
4416
- style: Eo(this.columnCssVars(t))
4416
+ style: $o(this.columnCssVars(t))
4417
4417
  };
4418
4418
  }
4419
4419
  }
4420
4420
  });
4421
- function ca(e, t, n, r, o, i) {
4421
+ function da(e, t, n, r, o, i) {
4422
4422
  var m;
4423
4423
  const s = W("InlinedStyles"), u = W("Blocks"), c = W("DynamicRenderer");
4424
4424
  return v(), w("div", q({
@@ -4454,32 +4454,32 @@ function ca(e, t, n, r, o, i) {
4454
4454
  }, 1032, ["TagName", "attributes"]))), 128))
4455
4455
  ], 16);
4456
4456
  }
4457
- const pa = /* @__PURE__ */ j(ua, [["render", ca], ["__scopeId", "data-v-ab15749a"]]), da = B({
4457
+ const fa = /* @__PURE__ */ j(pa, [["render", da], ["__scopeId", "data-v-ab15749a"]]), ha = B({
4458
4458
  name: "builder-fragment-component",
4459
4459
  props: []
4460
4460
  });
4461
- function fa(e, t, n, r, o, i) {
4461
+ function ma(e, t, n, r, o, i) {
4462
4462
  return v(), w("span", null, [
4463
4463
  pe(e.$slots, "default")
4464
4464
  ]);
4465
4465
  }
4466
- const ha = /* @__PURE__ */ j(da, [["render", fa]]);
4467
- function Fr(e) {
4466
+ const ga = /* @__PURE__ */ j(ha, [["render", ma]]);
4467
+ function Kr(e) {
4468
4468
  return e.replace(/http(s)?:/, "");
4469
4469
  }
4470
- function ma(e = "", t, n) {
4470
+ function ya(e = "", t, n) {
4471
4471
  const r = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
4472
4472
  return e.match(r) ? e.replace(r, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
4473
4473
  }
4474
- function ga(e, t) {
4474
+ function va(e, t) {
4475
4475
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
4476
4476
  return e;
4477
4477
  if (t === "master")
4478
- return Fr(e);
4478
+ return Kr(e);
4479
4479
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
4480
4480
  if (n) {
4481
4481
  const r = e.split(n[0]), o = n[3], i = t.match("x") ? t : `${t}x`;
4482
- return Fr(`${r[0]}_${i}${o}`);
4482
+ return Kr(`${r[0]}_${i}${o}`);
4483
4483
  }
4484
4484
  return null;
4485
4485
  }
@@ -4490,11 +4490,11 @@ function Ot(e) {
4490
4490
  if (e.match(/builder\.io/)) {
4491
4491
  let n = e;
4492
4492
  const r = Number(e.split("?width=")[1]);
4493
- return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${ma(e, "width", o)} ${o}w`).concat([n]).join(", ");
4493
+ return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${ya(e, "width", o)} ${o}w`).concat([n]).join(", ");
4494
4494
  }
4495
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [ga(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
4495
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [va(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
4496
4496
  }
4497
- const ya = B({
4497
+ const ba = B({
4498
4498
  name: "builder-image",
4499
4499
  props: [
4500
4500
  "lazy",
@@ -4502,14 +4502,14 @@ const ya = B({
4502
4502
  "src",
4503
4503
  "srcset",
4504
4504
  "noWebp",
4505
- "aspectRatio",
4505
+ "sizes",
4506
4506
  "highPriority",
4507
+ "aspectRatio",
4507
4508
  "altText",
4508
4509
  "title",
4509
4510
  "backgroundPosition",
4510
4511
  "backgroundSize",
4511
4512
  "className",
4512
- "sizes",
4513
4513
  "builderBlock",
4514
4514
  "fitContent"
4515
4515
  ],
@@ -4534,6 +4534,9 @@ const ya = B({
4534
4534
  var e;
4535
4535
  return (e = this.srcSetToUse) != null && e.match(/builder\.io/) && !this.noWebp ? this.srcSetToUse.replace(/\?/g, "?format=webp&") : "";
4536
4536
  },
4537
+ sizesToUse() {
4538
+ return this.sizes || (this.highPriority ? void 0 : "auto");
4539
+ },
4537
4540
  aspectRatioCss() {
4538
4541
  const e = {
4539
4542
  position: "absolute",
@@ -4545,19 +4548,20 @@ const ya = B({
4545
4548
  return this.aspectRatio ? e : void 0;
4546
4549
  }
4547
4550
  }
4548
- }), va = ["srcset"], ba = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Sa = {
4551
+ }), Sa = ["srcset", "sizes"], ka = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Ca = {
4549
4552
  key: 2,
4550
4553
  class: "div-t43jfuqn6g-2"
4551
4554
  };
4552
- function ka(e, t, n, r, o, i) {
4555
+ function wa(e, t, n, r, o, i) {
4553
4556
  var s, u, c, m, y, b;
4554
4557
  return v(), w(z, null, [
4555
4558
  Ge("picture", null, [
4556
4559
  e.webpSrcSet ? (v(), w("source", {
4557
4560
  key: 0,
4558
4561
  type: "image/webp",
4559
- srcset: e.webpSrcSet
4560
- }, null, 8, va)) : F("", !0),
4562
+ srcset: e.webpSrcSet,
4563
+ sizes: e.sizesToUse
4564
+ }, null, 8, Sa)) : F("", !0),
4561
4565
  Ge("img", {
4562
4566
  loading: e.highPriority ? "eager" : "lazy",
4563
4567
  fetchpriority: e.highPriority ? "high" : "auto",
@@ -4574,8 +4578,8 @@ function ka(e, t, n, r, o, i) {
4574
4578
  ),
4575
4579
  src: e.image,
4576
4580
  srcset: e.srcSetToUse,
4577
- sizes: e.sizes
4578
- }, null, 14, ba)
4581
+ sizes: e.sizesToUse
4582
+ }, null, 14, ka)
4579
4583
  ]),
4580
4584
  e.aspectRatio && !((u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent) ? (v(), w("div", {
4581
4585
  key: 0,
@@ -4585,19 +4589,19 @@ function ka(e, t, n, r, o, i) {
4585
4589
  })
4586
4590
  }, null, 4)) : F("", !0),
4587
4591
  (m = (c = e.builderBlock) == null ? void 0 : c.children) != null && m.length && e.fitContent ? pe(e.$slots, "default", { key: 1 }, void 0, !0) : F("", !0),
4588
- !e.fitContent && ((b = (y = e.builderBlock) == null ? void 0 : y.children) != null && b.length) ? (v(), w("div", Sa, [
4592
+ !e.fitContent && ((b = (y = e.builderBlock) == null ? void 0 : y.children) != null && b.length) ? (v(), w("div", Ca, [
4589
4593
  pe(e.$slots, "default", {}, void 0, !0)
4590
4594
  ])) : F("", !0)
4591
4595
  ], 64);
4592
4596
  }
4593
- const Ca = /* @__PURE__ */ j(ya, [["render", ka], ["__scopeId", "data-v-741b9bbc"]]), wa = B({
4597
+ const Ta = /* @__PURE__ */ j(ba, [["render", wa], ["__scopeId", "data-v-17b592cd"]]), Ea = B({
4594
4598
  name: "builder-section-component",
4595
4599
  props: ["attributes", "maxWidth"],
4596
4600
  data() {
4597
4601
  return { filterAttrs: de };
4598
4602
  }
4599
4603
  });
4600
- function Ta(e, t, n, r, o, i) {
4604
+ function Ia(e, t, n, r, o, i) {
4601
4605
  return v(), w("section", q({
4602
4606
  style: {
4603
4607
  width: "100%",
@@ -4615,8 +4619,8 @@ function Ta(e, t, n, r, o, i) {
4615
4619
  pe(e.$slots, "default")
4616
4620
  ], 16);
4617
4621
  }
4618
- const Ea = /* @__PURE__ */ j(wa, [["render", Ta]]);
4619
- function Ia(e, t, n, r) {
4622
+ const Ra = /* @__PURE__ */ j(Ea, [["render", Ia]]);
4623
+ function Aa(e, t, n, r) {
4620
4624
  function o(m) {
4621
4625
  return typeof m == "string";
4622
4626
  }
@@ -4673,7 +4677,7 @@ function Ia(e, t, n, r) {
4673
4677
  }, c = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
4674
4678
  return u.startDate && new Date(u.startDate) > c || u.endDate && new Date(u.endDate) < c ? !1 : !u.query || !u.query.length ? !0 : u.query.every((m) => s(e, m));
4675
4679
  }
4676
- const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
4680
+ const $a = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
4677
4681
  if (!navigator.cookieEnabled) {
4678
4682
  return;
4679
4683
  }
@@ -4718,7 +4722,7 @@ const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
4718
4722
  thisScript.remove();
4719
4723
  }
4720
4724
  }
4721
- }`, Aa = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
4725
+ }`, xa = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
4722
4726
  function isString(val) {
4723
4727
  return typeof val === 'string';
4724
4728
  }
@@ -4796,7 +4800,7 @@ const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
4796
4800
  return item.query.every(filter => {
4797
4801
  return objectMatchesQuery(userAttributes, filter);
4798
4802
  });
4799
- }`, $a = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
4803
+ }`, Pa = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
4800
4804
  function getCookie(name) {
4801
4805
  const nameEQ = name + '=';
4802
4806
  const ca = document.cookie.split(';');
@@ -4834,11 +4838,11 @@ const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
4834
4838
  visibilityStylesEl.innerHTML = newStyleStr;
4835
4839
  }
4836
4840
  }
4837
- }`, Nt = "default", xa = "filterWithCustomTargeting", $o = "builderIoPersonalization", xo = "updateVisibilityStylesScript", Po = ["react", "vue", "svelte", "qwik"], Oo = ["vue", "svelte", "qwik"];
4838
- function Pa(e, t) {
4839
- return !(e && e.length > 0) || !t ? !1 : Oo.includes(G) ? !0 : !M();
4841
+ }`, Nt = "default", zr = "filterWithCustomTargeting", En = "builderIoPersonalization", In = "updateVisibilityStylesScript", Oa = "PersonalizationContainer", No = ["react", "vue", "svelte", "qwik"], Bo = ["vue", "svelte", "qwik"];
4842
+ function Na(e, t) {
4843
+ return !(e && e.length > 0) || !t ? !1 : Bo.includes(G) ? !0 : !M();
4840
4844
  }
4841
- function Oa({
4845
+ function Ba({
4842
4846
  variants: e,
4843
4847
  previewingIndex: t,
4844
4848
  isHydrated: n,
@@ -4876,11 +4880,22 @@ function Oa({
4876
4880
  }
4877
4881
  return i;
4878
4882
  }
4879
- const Na = () => `
4880
- window.${xa} = ${Aa}
4881
- window.${$o} = ${Ra}
4882
- window.${xo} = ${$a}
4883
- `, No = G === "react", Ba = (e, t, n) => `window.${$o}(${JSON.stringify(e)}, "${t}", ${No}${n ? `, "${n}"` : ""})`, ja = (e, t, n) => `window.${xo}(${JSON.stringify(e)}, "${t}", ${No}${n ? `, "${n}"` : ""})`, hn = {
4883
+ const Rn = (e) => {
4884
+ var t;
4885
+ return Array.isArray(e) ? e.some(Rn) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === Oa ? !0 : Object.values(e).some(Rn);
4886
+ }, ja = (e) => Rn(e), Va = () => `
4887
+ (function() {
4888
+ if (!window.${zr}) {
4889
+ window.${zr} = ${xa};
4890
+ }
4891
+ if (!window.${En}) {
4892
+ window.${En} = ${$a};
4893
+ }
4894
+ if (!window.${In}) {
4895
+ window.${In} = ${Pa};
4896
+ }
4897
+ })();
4898
+ `, jo = G === "react", Da = (e, t, n) => `window.${En}(${JSON.stringify(e)}, "${t}", ${jo}${n ? `, "${n}"` : ""})`, Ua = (e, t, n) => `window.${In}(${JSON.stringify(e)}, "${t}", ${jo}${n ? `, "${n}"` : ""})`, hn = {
4884
4899
  "@type": "@builder.io/sdk:Element",
4885
4900
  layerName: "Accordion item title",
4886
4901
  responsiveStyles: {
@@ -4940,7 +4955,7 @@ const Na = () => `
4940
4955
  }
4941
4956
  }
4942
4957
  }]
4943
- }, Va = {
4958
+ }, Wa = {
4944
4959
  name: "Builder:Accordion",
4945
4960
  canHaveChildren: !0,
4946
4961
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -5004,7 +5019,7 @@ const Na = () => `
5004
5019
  builderComponents: !0,
5005
5020
  builderLinkComponent: !0
5006
5021
  }
5007
- }, Da = (e) => e.toString(), Ua = B({
5022
+ }, La = (e) => e.toString(), Fa = B({
5008
5023
  name: "builder-accordion",
5009
5024
  components: { Blocks: Ue },
5010
5025
  props: [
@@ -5018,7 +5033,7 @@ const Na = () => `
5018
5033
  "builderLinkComponent"
5019
5034
  ],
5020
5035
  data() {
5021
- return { open: [], convertOrderNumberToString: Da };
5036
+ return { open: [], convertOrderNumberToString: La };
5022
5037
  },
5023
5038
  computed: {
5024
5039
  onlyOneAtATime() {
@@ -5099,8 +5114,8 @@ const Na = () => `
5099
5114
  this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
5100
5115
  }
5101
5116
  }
5102
- }), Wa = ["data-index", "onClick"];
5103
- function La(e, t, n, r, o, i) {
5117
+ }), Ma = ["data-index", "onClick"];
5118
+ function Ha(e, t, n, r, o, i) {
5104
5119
  const s = W("Blocks");
5105
5120
  return v(), w("div", {
5106
5121
  class: "builder-accordion",
@@ -5127,7 +5142,7 @@ function La(e, t, n, r, o, i) {
5127
5142
  registeredComponents: e.builderComponents,
5128
5143
  linkComponent: e.builderLinkComponent
5129
5144
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
5130
- ], 14, Wa),
5145
+ ], 14, Ma),
5131
5146
  e.open.includes(c) ? (v(), w("div", {
5132
5147
  key: 0,
5133
5148
  class: gt(e.getAccordionDetailClassName(c)),
@@ -5145,7 +5160,7 @@ function La(e, t, n, r, o, i) {
5145
5160
  ], 64))), 128))
5146
5161
  ], 4);
5147
5162
  }
5148
- const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5163
+ const Ka = /* @__PURE__ */ j(Fa, [["render", Ha]]), za = {
5149
5164
  name: "Core:Button",
5150
5165
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
5151
5166
  defaultStyles: {
@@ -5181,7 +5196,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5181
5196
  shouldReceiveBuilderProps: {
5182
5197
  builderLinkComponent: !0
5183
5198
  }
5184
- }, Ha = {
5199
+ }, qa = {
5185
5200
  // TODO: ways to statically preprocess JSON for references, functions, etc
5186
5201
  name: "Columns",
5187
5202
  isRSC: !0,
@@ -5388,13 +5403,13 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5388
5403
  builderComponents: !0,
5389
5404
  builderLinkComponent: !0
5390
5405
  }
5391
- }, Ka = {
5406
+ }, Ga = {
5392
5407
  name: "Fragment",
5393
5408
  static: !0,
5394
5409
  hidden: !0,
5395
5410
  canHaveChildren: !0,
5396
5411
  noWrap: !0
5397
- }, _n = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], za = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], qa = {
5412
+ }, Yn = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], _a = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], Ja = {
5398
5413
  name: "Image",
5399
5414
  static: !0,
5400
5415
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -5409,7 +5424,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5409
5424
  name: "image",
5410
5425
  type: "file",
5411
5426
  bubble: !0,
5412
- allowedFileTypes: _n,
5427
+ allowedFileTypes: Yn,
5413
5428
  required: !0,
5414
5429
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
5415
5430
  onChange: (e) => {
@@ -5476,7 +5491,8 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5476
5491
  }, {
5477
5492
  name: "sizes",
5478
5493
  type: "string",
5479
- hideFromUI: !0
5494
+ advanced: !0,
5495
+ helperText: 'The sizes attribute for responsive images, e.g. "(max-width: 600px) 100vw, 50vw"'
5480
5496
  }, {
5481
5497
  name: "srcset",
5482
5498
  type: "string",
@@ -5506,7 +5522,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5506
5522
  shouldReceiveBuilderProps: {
5507
5523
  builderBlock: !0
5508
5524
  }
5509
- }, Ga = {
5525
+ }, Xa = {
5510
5526
  name: "PersonalizationContainer",
5511
5527
  shouldReceiveBuilderProps: {
5512
5528
  builderBlock: !0,
@@ -5542,9 +5558,9 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5542
5558
  defaultValue: []
5543
5559
  }]
5544
5560
  }]
5545
- }, Jn = B({
5561
+ }, Qn = B({
5546
5562
  render() {
5547
- return zr("script", {
5563
+ return Jr("script", {
5548
5564
  innerHTML: this.scriptStr,
5549
5565
  "data-id": this.id,
5550
5566
  nonce: this.nonce
@@ -5552,12 +5568,12 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5552
5568
  },
5553
5569
  name: "inlined-script",
5554
5570
  props: ["scriptStr", "id", "nonce"]
5555
- }), _a = B({
5571
+ }), Ya = B({
5556
5572
  name: "builder-personalization-container",
5557
5573
  components: {
5558
5574
  Blocks: Ue,
5559
5575
  InlinedStyles: Ht,
5560
- InlinedScript: Jn
5576
+ InlinedScript: Qn
5561
5577
  },
5562
5578
  props: [
5563
5579
  "builderContext",
@@ -5571,25 +5587,25 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5571
5587
  var e, t, n, r, o, i, s;
5572
5588
  return {
5573
5589
  userAttributes: Ut.getUserAttributes(),
5574
- scriptStr: Ba(
5590
+ scriptStr: Da(
5575
5591
  this.variants,
5576
5592
  ((e = this.builderBlock) == null ? void 0 : e.id) || "none",
5577
5593
  (n = (t = this.builderContext) == null ? void 0 : t.rootState) == null ? void 0 : n.locale
5578
5594
  ),
5579
- updateVisibilityStylesScript: ja(
5595
+ updateVisibilityStylesScript: Ua(
5580
5596
  this.variants,
5581
5597
  ((r = this.builderBlock) == null ? void 0 : r.id) || "none",
5582
5598
  (i = (o = this.builderContext) == null ? void 0 : o.rootState) == null ? void 0 : i.locale
5583
5599
  ),
5584
5600
  unsubscribers: [],
5585
- shouldRenderVariants: Pa(
5601
+ shouldRenderVariants: Na(
5586
5602
  this.variants,
5587
5603
  Xe((s = this.builderContext) == null ? void 0 : s.canTrack)
5588
5604
  ),
5589
5605
  shouldResetVariants: !1,
5590
5606
  TARGET: G,
5591
5607
  DEFAULT_INDEX: Nt,
5592
- SDKS_REQUIRING_RESET_APPROACH: Oo
5608
+ SDKS_REQUIRING_RESET_APPROACH: Bo
5593
5609
  };
5594
5610
  },
5595
5611
  mounted() {
@@ -5603,7 +5619,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5603
5619
  fireImmediately: G === "qwik"
5604
5620
  }
5605
5621
  );
5606
- if (!(oe() || Hn())) {
5622
+ if (!(oe() || qn())) {
5607
5623
  const n = this.filteredVariants[0];
5608
5624
  this.$refs.rootRef && (this.$refs.rootRef.dispatchEvent(
5609
5625
  new CustomEvent("builder.variantLoaded", {
@@ -5644,7 +5660,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5644
5660
  filteredVariants() {
5645
5661
  return (this.variants || []).filter((e) => {
5646
5662
  var t, n, r, o;
5647
- return Ia(
5663
+ return Aa(
5648
5664
  {
5649
5665
  ...(n = (t = this.builderContext) == null ? void 0 : t.rootState) != null && n.locale ? {
5650
5666
  locale: (o = (r = this.builderContext) == null ? void 0 : r.rootState) == null ? void 0 : o.locale
@@ -5659,7 +5675,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5659
5675
  },
5660
5676
  blocksToRender() {
5661
5677
  var e;
5662
- return Oa({
5678
+ return Ba({
5663
5679
  variants: this.variants,
5664
5680
  fallbackBlocks: (e = this.builderBlock) == null ? void 0 : e.children,
5665
5681
  isHydrated: this.shouldResetVariants,
@@ -5677,7 +5693,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5677
5693
  }
5678
5694
  }
5679
5695
  });
5680
- function Ja(e, t, n, r, o, i) {
5696
+ function Qa(e, t, n, r, o, i) {
5681
5697
  var m, y, b, h, S, A, $, H, te, E;
5682
5698
  const s = W("Blocks"), u = W("InlinedStyles"), c = W("InlinedScript");
5683
5699
  return v(), w("div", q({ ref: "rootRef" }, e.attrs), [
@@ -5762,7 +5778,7 @@ function Ja(e, t, n, r, o, i) {
5762
5778
  ], 64)) : F("", !0)
5763
5779
  ], 16);
5764
5780
  }
5765
- const Xa = /* @__PURE__ */ j(_a, [["render", Ja]]), Ya = {
5781
+ const Za = /* @__PURE__ */ j(Ya, [["render", Qa]]), el = {
5766
5782
  name: "Core:Section",
5767
5783
  static: !0,
5768
5784
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -5801,7 +5817,7 @@ const Xa = /* @__PURE__ */ j(_a, [["render", Ja]]), Ya = {
5801
5817
  }
5802
5818
  }
5803
5819
  }]
5804
- }, Qa = {
5820
+ }, tl = {
5805
5821
  name: "Slot",
5806
5822
  isRSC: !0,
5807
5823
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -5818,12 +5834,12 @@ const Xa = /* @__PURE__ */ j(_a, [["render", Ja]]), Ya = {
5818
5834
  builderContext: !0,
5819
5835
  builderComponents: !0
5820
5836
  }
5821
- }, Za = B({
5837
+ }, nl = B({
5822
5838
  name: "builder-slot",
5823
5839
  components: { Blocks: Ue },
5824
5840
  props: ["builderContext", "name", "builderComponents"]
5825
5841
  });
5826
- function el(e, t, n, r, o, i) {
5842
+ function rl(e, t, n, r, o, i) {
5827
5843
  var u, c, m;
5828
5844
  const s = W("Blocks");
5829
5845
  return v(), w("div", q(
@@ -5843,7 +5859,7 @@ function el(e, t, n, r, o, i) {
5843
5859
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
5844
5860
  ], 16);
5845
5861
  }
5846
- const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
5862
+ const ol = /* @__PURE__ */ j(nl, [["render", rl]]), il = {
5847
5863
  name: "Symbol",
5848
5864
  noWrap: !0,
5849
5865
  static: !0,
@@ -5920,7 +5936,7 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
5920
5936
  text: "New tab content "
5921
5937
  }
5922
5938
  }
5923
- }, rl = {
5939
+ }, sl = {
5924
5940
  name: "Builder: Tabs",
5925
5941
  inputs: [{
5926
5942
  name: "tabs",
@@ -6023,7 +6039,7 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
6023
6039
  builderComponents: !0,
6024
6040
  builderLinkComponent: !0
6025
6041
  }
6026
- }, ol = B({
6042
+ }, al = B({
6027
6043
  name: "builder-tabs",
6028
6044
  components: { Blocks: Ue },
6029
6045
  props: [
@@ -6051,8 +6067,8 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
6051
6067
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
6052
6068
  }
6053
6069
  }
6054
- }), il = ["onClick"], sl = { key: 0 };
6055
- function al(e, t, n, r, o, i) {
6070
+ }), ll = ["onClick"], ul = { key: 0 };
6071
+ function cl(e, t, n, r, o, i) {
6056
6072
  const s = W("Blocks");
6057
6073
  return v(), w("div", null, [
6058
6074
  Ge("div", {
@@ -6078,9 +6094,9 @@ function al(e, t, n, r, o, i) {
6078
6094
  registeredComponents: e.builderComponents,
6079
6095
  linkComponent: e.builderLinkComponent
6080
6096
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
6081
- ], 14, il))), 128))
6097
+ ], 14, ll))), 128))
6082
6098
  ], 4),
6083
- e.activeTabContent(e.activeTab) ? (v(), w("div", sl, [
6099
+ e.activeTabContent(e.activeTab) ? (v(), w("div", ul, [
6084
6100
  ee(s, {
6085
6101
  parent: e.builderBlock.id,
6086
6102
  path: `tabs.${e.activeTab}.content`,
@@ -6092,7 +6108,7 @@ function al(e, t, n, r, o, i) {
6092
6108
  ])) : F("", !0)
6093
6109
  ]);
6094
6110
  }
6095
- const ll = /* @__PURE__ */ j(ol, [["render", al]]), ul = {
6111
+ const pl = /* @__PURE__ */ j(al, [["render", cl]]), dl = {
6096
6112
  shouldReceiveBuilderProps: {},
6097
6113
  name: "Text",
6098
6114
  static: !0,
@@ -6110,11 +6126,11 @@ const ll = /* @__PURE__ */ j(ol, [["render", al]]), ul = {
6110
6126
  height: "auto",
6111
6127
  textAlign: "center"
6112
6128
  }
6113
- }, cl = B({
6129
+ }, fl = B({
6114
6130
  name: "builder-text",
6115
6131
  props: ["text"]
6116
- }), pl = ["innerHTML"];
6117
- function dl(e, t, n, r, o, i) {
6132
+ }), hl = ["innerHTML"];
6133
+ function ml(e, t, n, r, o, i) {
6118
6134
  var s;
6119
6135
  return v(), w("div", {
6120
6136
  class: "builder-text",
@@ -6122,9 +6138,9 @@ function dl(e, t, n, r, o, i) {
6122
6138
  style: {
6123
6139
  outline: "none"
6124
6140
  }
6125
- }, null, 8, pl);
6141
+ }, null, 8, hl);
6126
6142
  }
6127
- const fl = /* @__PURE__ */ j(cl, [["render", dl]]), hl = {
6143
+ const gl = /* @__PURE__ */ j(fl, [["render", ml]]), yl = {
6128
6144
  name: "Custom Code",
6129
6145
  static: !0,
6130
6146
  requiredPermissions: ["editCode"],
@@ -6146,7 +6162,7 @@ const fl = /* @__PURE__ */ j(cl, [["render", dl]]), hl = {
6146
6162
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
6147
6163
  advanced: !0
6148
6164
  }]
6149
- }, ml = B({
6165
+ }, vl = B({
6150
6166
  name: "builder-custom-code",
6151
6167
  props: ["code", "replaceNodes"],
6152
6168
  data() {
@@ -6205,15 +6221,15 @@ const fl = /* @__PURE__ */ j(cl, [["render", dl]]), hl = {
6205
6221
  }
6206
6222
  }
6207
6223
  }
6208
- }), gl = ["innerHTML"];
6209
- function yl(e, t, n, r, o, i) {
6224
+ }), bl = ["innerHTML"];
6225
+ function Sl(e, t, n, r, o, i) {
6210
6226
  return v(), w("div", {
6211
6227
  ref: "elementRef",
6212
6228
  class: gt("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
6213
6229
  innerHTML: e.code
6214
- }, null, 10, gl);
6230
+ }, null, 10, bl);
6215
6231
  }
6216
- const vl = /* @__PURE__ */ j(ml, [["render", yl]]), bl = {
6232
+ const kl = /* @__PURE__ */ j(vl, [["render", Sl]]), Cl = {
6217
6233
  name: "Embed",
6218
6234
  static: !0,
6219
6235
  inputs: [{
@@ -6228,7 +6244,7 @@ const vl = /* @__PURE__ */ j(ml, [["render", yl]]), bl = {
6228
6244
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
6229
6245
  hideFromUI: !0
6230
6246
  }]
6231
- }, Sl = ["text/javascript", "application/javascript", "application/ecmascript"], kl = (e) => Sl.includes(e.type), Cl = B({
6247
+ }, wl = ["text/javascript", "application/javascript", "application/ecmascript"], Tl = (e) => wl.includes(e.type), El = B({
6232
6248
  name: "builder-embed",
6233
6249
  props: ["content"],
6234
6250
  data() {
@@ -6261,7 +6277,7 @@ const vl = /* @__PURE__ */ j(ml, [["render", yl]]), bl = {
6261
6277
  this.scriptsInserted.push(n.src);
6262
6278
  const r = document.createElement("script");
6263
6279
  r.async = !0, r.src = n.src, document.head.appendChild(r);
6264
- } else if (kl(n) && !this.scriptsRun.includes(n.innerText))
6280
+ } else if (Tl(n) && !this.scriptsRun.includes(n.innerText))
6265
6281
  try {
6266
6282
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
6267
6283
  } catch (r) {
@@ -6270,15 +6286,15 @@ const vl = /* @__PURE__ */ j(ml, [["render", yl]]), bl = {
6270
6286
  }
6271
6287
  }
6272
6288
  }
6273
- }), wl = ["innerHTML"];
6274
- function Tl(e, t, n, r, o, i) {
6289
+ }), Il = ["innerHTML"];
6290
+ function Rl(e, t, n, r, o, i) {
6275
6291
  return v(), w("div", {
6276
6292
  class: "builder-embed",
6277
6293
  ref: "elem",
6278
6294
  innerHTML: e.content
6279
- }, null, 8, wl);
6295
+ }, null, 8, Il);
6280
6296
  }
6281
- const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6297
+ const Al = /* @__PURE__ */ j(El, [["render", Rl]]), $l = {
6282
6298
  name: "Form:Form",
6283
6299
  // editableTags: ['builder-form-error']
6284
6300
  defaults: {
@@ -6515,10 +6531,10 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6515
6531
  builderComponents: !0,
6516
6532
  builderLinkComponent: !0
6517
6533
  }
6518
- }, Rl = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Al = () => {
6534
+ }, xl = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Pl = () => {
6519
6535
  const e = process.env.NODE_ENV || "production";
6520
- return Rl.includes(e) ? e : "production";
6521
- }, $l = B({
6536
+ return xl.includes(e) ? e : "production";
6537
+ }, Ol = B({
6522
6538
  name: "builder-form-component",
6523
6539
  components: { Blocks: Ue },
6524
6540
  props: [
@@ -6611,7 +6627,7 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6611
6627
  else {
6612
6628
  const h = {};
6613
6629
  Array.from(u).forEach(({ value: S, key: A }) => {
6614
- po(h, A, S);
6630
+ go(h, A, S);
6615
6631
  }), i = JSON.stringify(h);
6616
6632
  }
6617
6633
  c && c !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (o["content-type"] = c));
@@ -6629,10 +6645,10 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6629
6645
  });
6630
6646
  return;
6631
6647
  }
6632
- const y = `${Al() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
6648
+ const y = `${Pl() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
6633
6649
  this.sendSubmissionsToEmail || ""
6634
6650
  )}&name=${encodeURIComponent(this.name || "")}`, b = this.sendSubmissionsTo === "email" ? y : this.action;
6635
- $n(b), fetch(b, {
6651
+ On(b), fetch(b, {
6636
6652
  body: i,
6637
6653
  headers: o,
6638
6654
  method: this.method || "post"
@@ -6653,7 +6669,7 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6653
6669
  ), te.defaultPrevented))
6654
6670
  return;
6655
6671
  this.responseData = S, this.formState = "error";
6656
- let E = this.errorMessagePath ? Gr(S, this.errorMessagePath) : S.message || S.error || S;
6672
+ let E = this.errorMessagePath ? Yr(S, this.errorMessagePath) : S.message || S.error || S;
6657
6673
  typeof E != "string" && (E = JSON.stringify(E)), this.formErrorMessage = E, this.mergeNewRootState({
6658
6674
  formErrorMessage: E
6659
6675
  });
@@ -6695,11 +6711,11 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6695
6711
  }
6696
6712
  }
6697
6713
  }
6698
- }), xl = ["validate", "action", "method", "name"], Pl = {
6714
+ }), Nl = ["validate", "action", "method", "name"], Bl = {
6699
6715
  key: 2,
6700
6716
  class: "builder-form-error-text pre-2oa2wtipkzk"
6701
6717
  };
6702
- function Ol(e, t, n, r, o, i) {
6718
+ function jl(e, t, n, r, o, i) {
6703
6719
  const s = W("Blocks");
6704
6720
  return v(), w("form", q({
6705
6721
  validate: e.validate,
@@ -6722,16 +6738,16 @@ function Ol(e, t, n, r, o, i) {
6722
6738
  blocks: e.sendingMessage,
6723
6739
  context: e.builderContext
6724
6740
  }, null, 8, ["blocks", "context"])) : F("", !0),
6725
- e.submissionState() === "error" && e.responseData ? (v(), w("pre", Pl, Wt(e.errorResponse(e.responseData)), 1)) : F("", !0),
6741
+ e.submissionState() === "error" && e.responseData ? (v(), w("pre", Bl, Wt(e.errorResponse(e.responseData)), 1)) : F("", !0),
6726
6742
  e.submissionState() === "success" ? (v(), U(s, {
6727
6743
  key: 3,
6728
6744
  path: "successMessage",
6729
6745
  blocks: e.successMessage,
6730
6746
  context: e.builderContext
6731
6747
  }, null, 8, ["blocks", "context"])) : F("", !0)
6732
- ], 16, xl);
6748
+ ], 16, Nl);
6733
6749
  }
6734
- const Nl = /* @__PURE__ */ j($l, [["render", Ol], ["__scopeId", "data-v-77c7888c"]]), Bl = {
6750
+ const Vl = /* @__PURE__ */ j(Ol, [["render", jl], ["__scopeId", "data-v-77c7888c"]]), Dl = {
6735
6751
  name: "Form:Input",
6736
6752
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
6737
6753
  inputs: [
@@ -6782,7 +6798,7 @@ const Nl = /* @__PURE__ */ j($l, [["render", Ol], ["__scopeId", "data-v-77c7888c
6782
6798
  borderStyle: "solid",
6783
6799
  borderColor: "#ccc"
6784
6800
  }
6785
- }, jl = B({
6801
+ }, Ul = B({
6786
6802
  name: "builder-form-input-component",
6787
6803
  props: [
6788
6804
  "attributes",
@@ -6796,8 +6812,8 @@ const Nl = /* @__PURE__ */ j($l, [["render", Ol], ["__scopeId", "data-v-77c7888c
6796
6812
  data() {
6797
6813
  return { isEditing: oe, filterAttrs: de };
6798
6814
  }
6799
- }), Vl = ["placeholder", "type", "name", "value", "defaultValue", "required"];
6800
- function Dl(e, t, n, r, o, i) {
6815
+ }), Wl = ["placeholder", "type", "name", "value", "defaultValue", "required"];
6816
+ function Ll(e, t, n, r, o, i) {
6801
6817
  return v(), w("input", q({
6802
6818
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
6803
6819
  placeholder: e.placeholder,
@@ -6806,9 +6822,9 @@ function Dl(e, t, n, r, o, i) {
6806
6822
  value: e.value,
6807
6823
  defaultValue: e.defaultValue,
6808
6824
  required: e.required
6809
- }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Vl);
6825
+ }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Wl);
6810
6826
  }
6811
- const Ul = /* @__PURE__ */ j(jl, [["render", Dl]]), Wl = {
6827
+ const Fl = /* @__PURE__ */ j(Ul, [["render", Ll]]), Ml = {
6812
6828
  name: "Form:Select",
6813
6829
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
6814
6830
  defaultStyles: {
@@ -6850,14 +6866,14 @@ const Ul = /* @__PURE__ */ j(jl, [["render", Dl]]), Wl = {
6850
6866
  }],
6851
6867
  static: !0,
6852
6868
  noWrap: !0
6853
- }, Ll = B({
6869
+ }, Hl = B({
6854
6870
  name: "builder-select-component",
6855
6871
  props: ["attributes", "value", "defaultValue", "name", "required", "options"],
6856
6872
  data() {
6857
6873
  return { isEditing: oe, filterAttrs: de };
6858
6874
  }
6859
- }), Fl = ["value", "defaultValue", "name", "required"], Ml = ["value"];
6860
- function Hl(e, t, n, r, o, i) {
6875
+ }), Kl = ["value", "defaultValue", "name", "required"], zl = ["value"];
6876
+ function ql(e, t, n, r, o, i) {
6861
6877
  return v(), w("select", q({
6862
6878
  value: e.value,
6863
6879
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
@@ -6868,10 +6884,10 @@ function Hl(e, t, n, r, o, i) {
6868
6884
  (v(!0), w(z, null, ve(e.options, (s, u) => (v(), w("option", {
6869
6885
  key: `${s.name}-${u}`,
6870
6886
  value: s.value
6871
- }, Wt(s.name || s.value), 9, Ml))), 128))
6872
- ], 16, Fl);
6887
+ }, Wt(s.name || s.value), 9, zl))), 128))
6888
+ ], 16, Kl);
6873
6889
  }
6874
- const Kl = /* @__PURE__ */ j(Ll, [["render", Hl]]), zl = {
6890
+ const Gl = /* @__PURE__ */ j(Hl, [["render", ql]]), _l = {
6875
6891
  name: "Form:SubmitButton",
6876
6892
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
6877
6893
  defaultStyles: {
@@ -6896,17 +6912,17 @@ const Kl = /* @__PURE__ */ j(Ll, [["render", Hl]]), zl = {
6896
6912
  // that only shows if advanced setting is flipped
6897
6913
  // TODO: defaultChildren
6898
6914
  // canHaveChildren: true,
6899
- }, ql = B({
6915
+ }, Jl = B({
6900
6916
  name: "builder-submit-button",
6901
6917
  props: ["attributes", "text"],
6902
6918
  data() {
6903
6919
  return { filterAttrs: de };
6904
6920
  }
6905
6921
  });
6906
- function Gl(e, t, n, r, o, i) {
6922
+ function Xl(e, t, n, r, o, i) {
6907
6923
  return v(), w("button", q({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Wt(e.text), 17);
6908
6924
  }
6909
- const _l = /* @__PURE__ */ j(ql, [["render", Gl]]), Jl = {
6925
+ const Yl = /* @__PURE__ */ j(Jl, [["render", Xl]]), Ql = {
6910
6926
  name: "Form:TextArea",
6911
6927
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
6912
6928
  inputs: [{
@@ -6942,7 +6958,7 @@ const _l = /* @__PURE__ */ j(ql, [["render", Gl]]), Jl = {
6942
6958
  },
6943
6959
  static: !0,
6944
6960
  noWrap: !0
6945
- }, Xl = B({
6961
+ }, Zl = B({
6946
6962
  name: "builder-textarea",
6947
6963
  props: [
6948
6964
  "attributes",
@@ -6955,17 +6971,17 @@ const _l = /* @__PURE__ */ j(ql, [["render", Gl]]), Jl = {
6955
6971
  data() {
6956
6972
  return { filterAttrs: de };
6957
6973
  }
6958
- }), Yl = ["placeholder", "name", "value", "defaultValue", "required"];
6959
- function Ql(e, t, n, r, o, i) {
6974
+ }), eu = ["placeholder", "name", "value", "defaultValue", "required"];
6975
+ function tu(e, t, n, r, o, i) {
6960
6976
  return v(), w("textarea", q({
6961
6977
  placeholder: e.placeholder,
6962
6978
  name: e.name,
6963
6979
  value: e.value,
6964
6980
  defaultValue: e.defaultValue,
6965
6981
  required: e.required
6966
- }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Yl);
6982
+ }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, eu);
6967
6983
  }
6968
- const Zl = /* @__PURE__ */ j(Xl, [["render", Ql]]), eu = {
6984
+ const nu = /* @__PURE__ */ j(Zl, [["render", tu]]), ru = {
6969
6985
  name: "Raw:Img",
6970
6986
  hideFromInsertMenu: !0,
6971
6987
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -6973,7 +6989,7 @@ const Zl = /* @__PURE__ */ j(Xl, [["render", Ql]]), eu = {
6973
6989
  name: "image",
6974
6990
  bubble: !0,
6975
6991
  type: "file",
6976
- allowedFileTypes: _n,
6992
+ allowedFileTypes: Yn,
6977
6993
  required: !0
6978
6994
  }, {
6979
6995
  name: "backgroundSize",
@@ -7009,7 +7025,7 @@ const Zl = /* @__PURE__ */ j(Xl, [["render", Ql]]), eu = {
7009
7025
  defaultValue: 0.7041
7010
7026
  }],
7011
7027
  noWrap: !0
7012
- }, tu = B({
7028
+ }, ou = B({
7013
7029
  name: "builder-img-component",
7014
7030
  props: [
7015
7031
  "imgSrc",
@@ -7039,8 +7055,8 @@ const Zl = /* @__PURE__ */ j(Xl, [["render", Ql]]), eu = {
7039
7055
  return delete e.style, e;
7040
7056
  }
7041
7057
  }
7042
- }), nu = ["alt", "title", "src"];
7043
- function ru(e, t, n, r, o, i) {
7058
+ }), iu = ["alt", "title", "src"];
7059
+ function su(e, t, n, r, o, i) {
7044
7060
  var s;
7045
7061
  return v(), w("img", q({
7046
7062
  loading: "lazy",
@@ -7054,9 +7070,9 @@ function ru(e, t, n, r, o, i) {
7054
7070
  aspectRatio: e.aspectRatio || void 0,
7055
7071
  ...((s = e.attributes) == null ? void 0 : s.style) || {}
7056
7072
  }
7057
- }, e.imgAttrs), null, 16, nu);
7073
+ }, e.imgAttrs), null, 16, iu);
7058
7074
  }
7059
- const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
7075
+ const au = /* @__PURE__ */ j(ou, [["render", su]]), lu = {
7060
7076
  name: "Video",
7061
7077
  canHaveChildren: !0,
7062
7078
  defaultStyles: {
@@ -7067,14 +7083,14 @@ const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
7067
7083
  inputs: [{
7068
7084
  name: "video",
7069
7085
  type: "file",
7070
- allowedFileTypes: za,
7086
+ allowedFileTypes: _a,
7071
7087
  bubble: !0,
7072
7088
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
7073
7089
  required: !0
7074
7090
  }, {
7075
7091
  name: "posterImage",
7076
7092
  type: "file",
7077
- allowedFileTypes: _n,
7093
+ allowedFileTypes: Yn,
7078
7094
  helperText: "Image to show before the video plays"
7079
7095
  }, {
7080
7096
  name: "autoPlay",
@@ -7140,7 +7156,7 @@ const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
7140
7156
  shouldReceiveBuilderProps: {
7141
7157
  builderBlock: !0
7142
7158
  }
7143
- }, su = B({
7159
+ }, uu = B({
7144
7160
  name: "builder-video",
7145
7161
  props: [
7146
7162
  "lazyLoad",
@@ -7213,16 +7229,16 @@ const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
7213
7229
  };
7214
7230
  }
7215
7231
  }
7216
- }), au = { style: {
7232
+ }), cu = { style: {
7217
7233
  position: "relative"
7218
- } }, lu = ["preload", "poster"], uu = {
7234
+ } }, pu = ["preload", "poster"], du = {
7219
7235
  key: 1,
7220
7236
  style: {
7221
7237
  display: "flex",
7222
7238
  flexDirection: "column",
7223
7239
  alignItems: "stretch"
7224
7240
  }
7225
- }, cu = {
7241
+ }, fu = {
7226
7242
  key: 2,
7227
7243
  style: {
7228
7244
  pointerEvents: "none",
@@ -7236,9 +7252,9 @@ const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
7236
7252
  height: "100%"
7237
7253
  }
7238
7254
  };
7239
- function pu(e, t, n, r, o, i) {
7255
+ function hu(e, t, n, r, o, i) {
7240
7256
  var s, u, c, m, y, b, h;
7241
- return v(), w("div", au, [
7257
+ return v(), w("div", cu, [
7242
7258
  Ge("video", q({
7243
7259
  class: "builder-video",
7244
7260
  ref: "videoRef",
@@ -7266,7 +7282,7 @@ function pu(e, t, n, r, o, i) {
7266
7282
  src: e.video
7267
7283
  }
7268
7284
  ), null, 16)
7269
- ], 16, lu),
7285
+ ], 16, pu),
7270
7286
  e.aspectRatio && !(e.fitContent && ((c = (u = e.builderBlock) == null ? void 0 : u.children) != null && c.length)) ? (v(), w("div", {
7271
7287
  key: 0,
7272
7288
  style: Pe({
@@ -7276,75 +7292,75 @@ function pu(e, t, n, r, o, i) {
7276
7292
  fontSize: "0px"
7277
7293
  })
7278
7294
  }, null, 4)) : F("", !0),
7279
- (y = (m = e.builderBlock) == null ? void 0 : m.children) != null && y.length && e.fitContent ? (v(), w("div", uu, [
7295
+ (y = (m = e.builderBlock) == null ? void 0 : m.children) != null && y.length && e.fitContent ? (v(), w("div", du, [
7280
7296
  pe(e.$slots, "default")
7281
7297
  ])) : F("", !0),
7282
- (h = (b = e.builderBlock) == null ? void 0 : b.children) != null && h.length && !e.fitContent ? (v(), w("div", cu, [
7298
+ (h = (b = e.builderBlock) == null ? void 0 : b.children) != null && h.length && !e.fitContent ? (v(), w("div", fu, [
7283
7299
  pe(e.$slots, "default")
7284
7300
  ])) : F("", !0)
7285
7301
  ]);
7286
7302
  }
7287
- const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7288
- component: vl,
7289
- ...hl
7303
+ const mu = /* @__PURE__ */ j(uu, [["render", hu]]), gu = () => [{
7304
+ component: kl,
7305
+ ...yl
7290
7306
  }, {
7291
- component: El,
7292
- ...bl
7307
+ component: Al,
7308
+ ...Cl
7293
7309
  }, {
7294
- component: Nl,
7295
- ...Il
7310
+ component: Vl,
7311
+ ...$l
7296
7312
  }, {
7297
- component: Ul,
7298
- ...Bl
7313
+ component: Fl,
7314
+ ...Dl
7299
7315
  }, {
7300
- component: _l,
7301
- ...zl
7316
+ component: Yl,
7317
+ ..._l
7302
7318
  }, {
7303
- component: Kl,
7304
- ...Wl
7319
+ component: Gl,
7320
+ ...Ml
7305
7321
  }, {
7306
- component: Zl,
7307
- ...Jl
7322
+ component: nu,
7323
+ ...Ql
7308
7324
  }, {
7309
- component: ou,
7310
- ...eu
7325
+ component: au,
7326
+ ...ru
7311
7327
  }, {
7312
- component: du,
7313
- ...iu
7314
- }], Mr = () => [{
7315
- component: oi,
7316
- ...Ma
7328
+ component: mu,
7329
+ ...lu
7330
+ }], qr = () => [{
7331
+ component: si,
7332
+ ...za
7317
7333
  }, {
7318
- component: pa,
7319
- ...Ha
7334
+ component: fa,
7335
+ ...qa
7320
7336
  }, {
7321
- component: ha,
7322
- ...Ka
7337
+ component: ga,
7338
+ ...Ga
7323
7339
  }, {
7324
- component: Ca,
7325
- ...qa
7340
+ component: Ta,
7341
+ ...Ja
7326
7342
  }, {
7327
- component: Ea,
7328
- ...Ya
7343
+ component: Ra,
7344
+ ...el
7329
7345
  }, {
7330
- component: tl,
7331
- ...Qa
7346
+ component: ol,
7347
+ ...tl
7332
7348
  }, {
7333
- component: Yu,
7334
- ...nl
7349
+ component: ec,
7350
+ ...il
7335
7351
  }, {
7336
- component: fl,
7337
- ...ul
7338
- }, ...Po.includes(G) ? [{
7339
- component: Xa,
7340
- ...Ga
7352
+ component: gl,
7353
+ ...dl
7354
+ }, ...No.includes(G) ? [{
7355
+ component: Za,
7356
+ ...Xa
7341
7357
  }] : [], {
7342
- component: ll,
7343
- ...rl
7358
+ component: pl,
7359
+ ...sl
7344
7360
  }, {
7345
- component: Fa,
7346
- ...Va
7347
- }, ...fu()], hu = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
7361
+ component: Ka,
7362
+ ...Wa
7363
+ }, ...gu()], yu = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
7348
7364
  function getAndSetVariantId() {
7349
7365
  function setCookie(name, value, days) {
7350
7366
  let expires = '';
@@ -7403,7 +7419,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7403
7419
  }).join('');
7404
7420
  styleEl.innerHTML = newStyleStr;
7405
7421
  }
7406
- }`, mu = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
7422
+ }`, vu = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
7407
7423
  if (!navigator.cookieEnabled) {
7408
7424
  return;
7409
7425
  }
@@ -7437,37 +7453,37 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7437
7453
  thisScriptEl?.remove();
7438
7454
  }
7439
7455
  return;
7440
- }`, En = "builderIoAbTest", In = "builderIoRenderContent", Bt = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
7456
+ }`, An = "builderIoAbTest", $n = "builderIoRenderContent", Bt = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
7441
7457
  ...t,
7442
7458
  testVariationId: t.id,
7443
7459
  id: e == null ? void 0 : e.id
7444
- })), gu = ({
7460
+ })), bu = ({
7445
7461
  canTrack: e,
7446
7462
  content: t
7447
- }) => !(!(Bt(t).length > 0) || !e), yu = (e) => e === "react" || e === "reactNative", vu = G === "angular", Xn = yu(G), bu = () => `
7463
+ }) => !(!(Bt(t).length > 0) || !e), Su = (e) => e === "react" || e === "reactNative", ku = G === "angular", Zn = Su(G), Cu = () => `
7448
7464
  (function() {
7449
- if (!window.${En}) {
7450
- window.${En} = ${hu};
7465
+ if (!window.${An}) {
7466
+ window.${An} = ${yu};
7451
7467
  }
7452
- if (!window.${In}) {
7453
- window.${In} = ${mu};
7454
- }${Xn ? `
7468
+ if (!window.${$n}) {
7469
+ window.${$n} = ${vu};
7470
+ }${Zn ? `
7455
7471
  var thisScriptEl = document.currentScript;
7456
7472
  if (thisScriptEl) { thisScriptEl.remove(); }` : ""}
7457
7473
  })();
7458
- `, Su = (e, t) => `
7459
- window.${En}(
7460
- "${t}",${JSON.stringify(e)}, ${Xn}, ${vu}
7461
- )`, ku = ({
7474
+ `, wu = (e, t) => `
7475
+ window.${An}(
7476
+ "${t}",${JSON.stringify(e)}, ${Zn}, ${ku}
7477
+ )`, Tu = ({
7462
7478
  contentId: e,
7463
7479
  variationId: t
7464
- }) => `window.${In}(
7465
- "${t}", "${e}", ${Xn}
7480
+ }) => `window.${$n}(
7481
+ "${t}", "${e}", ${Zn}
7466
7482
  )`;
7467
- function Hr(e) {
7483
+ function Gr(e) {
7468
7484
  return Math.round(e * 1e3) / 1e3;
7469
7485
  }
7470
- const Cu = (e, t, n = !0) => {
7486
+ const Eu = (e, t, n = !0) => {
7471
7487
  if (!(e instanceof HTMLElement))
7472
7488
  return null;
7473
7489
  let r = n ? e : e.parentElement;
@@ -7478,35 +7494,35 @@ const Cu = (e, t, n = !0) => {
7478
7494
  return r;
7479
7495
  } while (r = r.parentElement);
7480
7496
  return null;
7481
- }, wu = (e) => Cu(e, (t) => {
7497
+ }, Iu = (e) => Eu(e, (t) => {
7482
7498
  const n = t.getAttribute("builder-id") || t.id;
7483
7499
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
7484
- }), Kr = ({
7500
+ }), _r = ({
7485
7501
  event: e,
7486
7502
  target: t
7487
7503
  }) => {
7488
- const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = Hr(r / n.width), s = Hr(o / n.height);
7504
+ const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = Gr(r / n.width), s = Gr(o / n.height);
7489
7505
  return {
7490
7506
  x: i,
7491
7507
  y: s
7492
7508
  };
7493
- }, Tu = (e) => {
7494
- const t = e.target, n = t && wu(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
7509
+ }, Ru = (e) => {
7510
+ const t = e.target, n = t && Iu(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
7495
7511
  return {
7496
7512
  targetBuilderElement: r || void 0,
7497
7513
  metadata: {
7498
- targetOffset: t ? Kr({
7514
+ targetOffset: t ? _r({
7499
7515
  event: e,
7500
7516
  target: t
7501
7517
  }) : void 0,
7502
- builderTargetOffset: n ? Kr({
7518
+ builderTargetOffset: n ? _r({
7503
7519
  event: e,
7504
7520
  target: n
7505
7521
  }) : void 0,
7506
7522
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
7507
7523
  }
7508
7524
  };
7509
- }, Eu = ["svelte", "qwik", "vue"], Iu = () => Eu.includes(G) && (oe() || Hn()), Ru = (e) => {
7525
+ }, Au = ["svelte", "qwik", "vue"], $u = () => Au.includes(G) && (oe() || qn()), xu = (e) => {
7510
7526
  var i;
7511
7527
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
7512
7528
  let o = "";
@@ -7532,15 +7548,15 @@ font-weight: ${s};
7532
7548
  `.trim());
7533
7549
  }
7534
7550
  return o;
7535
- }, Au = ({
7551
+ }, Pu = ({
7536
7552
  customFonts: e
7537
7553
  }) => {
7538
7554
  var t;
7539
- return ((t = e == null ? void 0 : e.map((n) => Ru(n))) == null ? void 0 : t.join(" ")) || "";
7540
- }, $u = ({
7555
+ return ((t = e == null ? void 0 : e.map((n) => xu(n))) == null ? void 0 : t.join(" ")) || "";
7556
+ }, Ou = ({
7541
7557
  cssCode: e,
7542
7558
  contentId: t
7543
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", xu = `
7559
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Nu = `
7544
7560
  .builder-button {
7545
7561
  all: unset;
7546
7562
  }
@@ -7557,7 +7573,7 @@ font-weight: ${s};
7557
7573
  text-align: inherit;
7558
7574
  font-family: inherit;
7559
7575
  }
7560
- `, Pu = (e) => e ? "" : xu, Ou = (e) => `variant-${e}`, Nu = B({
7576
+ `, Bu = (e) => e ? "" : Nu, ju = (e) => `variant-${e}`, Vu = B({
7561
7577
  name: "enable-editor",
7562
7578
  components: { DynamicDiv: Ct },
7563
7579
  props: [
@@ -7583,13 +7599,14 @@ font-weight: ${s};
7583
7599
  contextValue: this.builderContextSignal,
7584
7600
  prevData: null,
7585
7601
  prevLocale: "",
7602
+ prevContent: null,
7586
7603
  ContentWrapper: this.contentWrapper || "div",
7587
7604
  httpReqsData: {},
7588
7605
  httpReqsPending: {},
7589
7606
  clicked: !1,
7590
7607
  builderContext: vn,
7591
- needsElementRefDivForEditing: Iu,
7592
- getWrapperClassName: Ou
7608
+ needsElementRefDivForEditing: $u,
7609
+ getWrapperClassName: ju
7593
7610
  };
7594
7611
  },
7595
7612
  provide() {
@@ -7622,7 +7639,7 @@ font-weight: ${s};
7622
7639
  variationId: o !== s ? o : void 0
7623
7640
  });
7624
7641
  }
7625
- Hn() && !oe() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
7642
+ qn() && !oe() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
7626
7643
  new CustomEvent("initpreviewingbldr")
7627
7644
  );
7628
7645
  }
@@ -7724,7 +7741,7 @@ font-weight: ${s};
7724
7741
  this.builderContextSignal.content = n;
7725
7742
  },
7726
7743
  processMessage(e) {
7727
- return go({
7744
+ return So({
7728
7745
  model: this.model,
7729
7746
  trustedHosts: this.trustedHosts,
7730
7747
  callbacks: {
@@ -7738,7 +7755,7 @@ font-weight: ${s};
7738
7755
  });
7739
7756
  },
7740
7757
  animation: (t) => {
7741
- wo(t);
7758
+ Ro(t);
7742
7759
  },
7743
7760
  contentUpdate: (t, n) => {
7744
7761
  this.mergeNewContent(t, n);
@@ -7760,7 +7777,7 @@ font-weight: ${s};
7760
7777
  contentId: o,
7761
7778
  apiKey: this.apiKey,
7762
7779
  variationId: r !== o ? r : void 0,
7763
- ...Tu(e),
7780
+ ...Ru(e),
7764
7781
  unique: !this.clicked
7765
7782
  });
7766
7783
  }
@@ -7798,7 +7815,7 @@ font-weight: ${s};
7798
7815
  url: u,
7799
7816
  method: "GET"
7800
7817
  };
7801
- $n(JSON.stringify(c));
7818
+ On(JSON.stringify(c));
7802
7819
  const m = {
7803
7820
  method: c.method,
7804
7821
  headers: c.headers,
@@ -7826,7 +7843,7 @@ font-weight: ${s};
7826
7843
  "builder:component:stateChange",
7827
7844
  {
7828
7845
  detail: {
7829
- state: Mn(this.builderContextSignal.rootState),
7846
+ state: zn(this.builderContextSignal.rootState),
7830
7847
  ref: {
7831
7848
  name: this.model
7832
7849
  }
@@ -7836,7 +7853,7 @@ font-weight: ${s};
7836
7853
  );
7837
7854
  },
7838
7855
  elementRef_onIniteditingbldr(e) {
7839
- window.addEventListener("message", this.processMessage), mo({
7856
+ window.addEventListener("message", this.processMessage), bo({
7840
7857
  ...this.locale ? {
7841
7858
  locale: this.locale
7842
7859
  } : {},
@@ -7853,7 +7870,7 @@ font-weight: ${s};
7853
7870
  ).forEach((t) => {
7854
7871
  var n, r;
7855
7872
  if (!((n = t.models) != null && n.length) || t.models.includes(this.model)) {
7856
- const o = cs(t);
7873
+ const o = ds(t);
7857
7874
  (r = window.parent) == null || r.postMessage(o, "*");
7858
7875
  }
7859
7876
  }), window.addEventListener(
@@ -7866,7 +7883,7 @@ font-weight: ${s};
7866
7883
  const t = new URL(location.href).searchParams, n = t.get("builder.preview"), r = t.get(
7867
7884
  `builder.overrides.${n}`
7868
7885
  ), o = t.get("apiKey") || t.get("builder.space");
7869
- (n === "BUILDER_STUDIO" || n === this.model && o === this.apiKey && (!this.content || r === this.content.id)) && qn({
7886
+ (n === "BUILDER_STUDIO" || n === this.model && o === this.apiKey && (!this.content || r === this.content.id)) && Jn({
7870
7887
  model: this.model,
7871
7888
  apiKey: this.apiKey,
7872
7889
  apiVersion: this.builderContextSignal.apiVersion,
@@ -7881,7 +7898,7 @@ font-weight: ${s};
7881
7898
  }
7882
7899
  }
7883
7900
  });
7884
- function Bu(e, t, n, r, o, i) {
7901
+ function Du(e, t, n, r, o, i) {
7885
7902
  var s, u, c;
7886
7903
  return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (v(), U(dt(e.ContentWrapper), q({
7887
7904
  key: 0,
@@ -7902,26 +7919,26 @@ function Bu(e, t, n, r, o, i) {
7902
7919
  _: 3
7903
7920
  }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : F("", !0);
7904
7921
  }
7905
- const ju = /* @__PURE__ */ j(Nu, [["render", Bu]]), Vu = B({
7922
+ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = B({
7906
7923
  name: "content-styles",
7907
7924
  components: { InlinedStyles: Ht },
7908
7925
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
7909
7926
  data() {
7910
7927
  return {
7911
7928
  injectedStyles: `
7912
- ${$u({
7929
+ ${Ou({
7913
7930
  cssCode: this.cssCode,
7914
7931
  contentId: this.contentId
7915
7932
  })}
7916
- ${Au({
7933
+ ${Pu({
7917
7934
  customFonts: this.customFonts
7918
7935
  })}
7919
- ${Pu(this.isNestedRender)}
7936
+ ${Bu(this.isNestedRender)}
7920
7937
  `.trim()
7921
7938
  };
7922
7939
  }
7923
7940
  });
7924
- function Du(e, t, n, r, o, i) {
7941
+ function Lu(e, t, n, r, o, i) {
7925
7942
  const s = W("InlinedStyles");
7926
7943
  return v(), U(s, {
7927
7944
  id: "builderio-content",
@@ -7929,7 +7946,7 @@ function Du(e, t, n, r, o, i) {
7929
7946
  nonce: e.nonce
7930
7947
  }, null, 8, ["styles", "nonce"]);
7931
7948
  }
7932
- const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7949
+ const Fu = /* @__PURE__ */ j(Wu, [["render", Lu]]), Mu = ({
7933
7950
  content: e,
7934
7951
  data: t,
7935
7952
  locale: n
@@ -7946,7 +7963,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7946
7963
  locale: n
7947
7964
  } : {}
7948
7965
  };
7949
- }, Lu = ({
7966
+ }, Hu = ({
7950
7967
  content: e,
7951
7968
  data: t
7952
7969
  }) => e ? {
@@ -7956,12 +7973,12 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7956
7973
  ...t
7957
7974
  },
7958
7975
  meta: e == null ? void 0 : e.meta
7959
- } : void 0, Fu = Yo, Mu = B({
7976
+ } : void 0, Ku = Zo, zu = B({
7960
7977
  name: "content-component",
7961
7978
  components: {
7962
- EnableEditor: ju,
7963
- InlinedScript: Jn,
7964
- ContentStyles: Uu,
7979
+ EnableEditor: Uu,
7980
+ InlinedScript: Qn,
7981
+ ContentStyles: Fu,
7965
7982
  Blocks: Ue,
7966
7983
  DynamicDiv: Ct
7967
7984
  },
@@ -7991,32 +8008,32 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7991
8008
  data() {
7992
8009
  var e, t;
7993
8010
  return {
7994
- scriptStr: ku({
8011
+ scriptStr: Tu({
7995
8012
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
7996
8013
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
7997
8014
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
7998
8015
  contentId: (t = this.content) == null ? void 0 : t.id
7999
8016
  }),
8000
8017
  registeredComponents: [
8001
- ...Mr(),
8018
+ ...qr(),
8002
8019
  ...this.customComponents || []
8003
8020
  ].reduce(
8004
8021
  (n, { component: r, ...o }) => ({
8005
8022
  ...n,
8006
8023
  [o.name]: {
8007
- component: Fu(r),
8024
+ component: Ku(r),
8008
8025
  ...Dt(o)
8009
8026
  }
8010
8027
  }),
8011
8028
  {}
8012
8029
  ),
8013
8030
  builderContextSignal: {
8014
- content: Lu({
8031
+ content: Hu({
8015
8032
  content: this.content,
8016
8033
  data: this.data
8017
8034
  }),
8018
8035
  localState: void 0,
8019
- rootState: Wu({
8036
+ rootState: Mu({
8020
8037
  content: this.content,
8021
8038
  data: this.data,
8022
8039
  locale: this.locale
@@ -8027,7 +8044,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
8027
8044
  apiKey: this.apiKey,
8028
8045
  apiVersion: this.apiVersion,
8029
8046
  componentInfos: [
8030
- ...Mr(),
8047
+ ...qr(),
8031
8048
  ...this.customComponents || []
8032
8049
  ].reduce(
8033
8050
  (n, { component: r, ...o }) => ({
@@ -8048,7 +8065,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
8048
8065
  provide() {
8049
8066
  const e = this;
8050
8067
  return {
8051
- [qr.key]: {
8068
+ [Xr.key]: {
8052
8069
  registeredComponents: e.registeredComponents
8053
8070
  }
8054
8071
  };
@@ -8092,7 +8109,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
8092
8109
  }
8093
8110
  }
8094
8111
  });
8095
- function Hu(e, t, n, r, o, i) {
8112
+ function qu(e, t, n, r, o, i) {
8096
8113
  const s = W("InlinedScript"), u = W("ContentStyles"), c = W("Blocks"), m = W("EnableEditor");
8097
8114
  return v(), U(m, q({
8098
8115
  apiHost: e.apiHost,
@@ -8140,19 +8157,19 @@ function Hu(e, t, n, r, o, i) {
8140
8157
  _: 1
8141
8158
  }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
8142
8159
  }
8143
- const Ku = /* @__PURE__ */ j(Mu, [["render", Hu]]), zu = B({
8160
+ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = B({
8144
8161
  name: "content-variants",
8145
8162
  components: {
8146
- InlinedScript: Jn,
8163
+ InlinedScript: Qn,
8147
8164
  InlinedStyles: Ht,
8148
- ContentComponent: Ku
8165
+ ContentComponent: Gu
8149
8166
  },
8150
8167
  props: [
8151
8168
  "canTrack",
8152
8169
  "content",
8153
- "isNestedRender",
8154
8170
  "nonce",
8155
8171
  "apiHost",
8172
+ "isNestedRender",
8156
8173
  "model",
8157
8174
  "data",
8158
8175
  "context",
@@ -8170,14 +8187,15 @@ const Ku = /* @__PURE__ */ j(Mu, [["render", Hu]]), zu = B({
8170
8187
  ],
8171
8188
  data() {
8172
8189
  return {
8173
- shouldRenderVariants: gu({
8190
+ shouldRenderVariants: bu({
8174
8191
  canTrack: Xe(this.canTrack),
8175
8192
  content: this.content
8176
8193
  }),
8177
- SDKS_SUPPORTING_PERSONALIZATION: Po,
8178
- getInitPersonalizationVariantsFnsScriptString: Na,
8194
+ shouldEmitPersonalizationFns: ja(this.content),
8195
+ SDKS_SUPPORTING_PERSONALIZATION: No,
8196
+ getInitPersonalizationVariantsFnsScriptString: Va,
8179
8197
  TARGET: G,
8180
- getInitVariantsFnsScriptString: bu,
8198
+ getInitVariantsFnsScriptString: Cu,
8181
8199
  getVariants: Bt
8182
8200
  };
8183
8201
  },
@@ -8186,7 +8204,7 @@ const Ku = /* @__PURE__ */ j(Mu, [["render", Hu]]), zu = B({
8186
8204
  computed: {
8187
8205
  updateCookieAndStylesScriptStr() {
8188
8206
  var e;
8189
- return Su(
8207
+ return wu(
8190
8208
  Bt(this.content).map((t) => ({
8191
8209
  id: t.testVariationId,
8192
8210
  testRatio: t.testRatio
@@ -8202,17 +8220,17 @@ const Ku = /* @__PURE__ */ j(Mu, [["render", Hu]]), zu = B({
8202
8220
  return this.shouldRenderVariants ? {
8203
8221
  ...this.content,
8204
8222
  testVariationId: (e = this.content) == null ? void 0 : e.id
8205
- } : Ss({
8223
+ } : Cs({
8206
8224
  item: this.content,
8207
8225
  canTrack: Xe(this.canTrack)
8208
8226
  });
8209
8227
  }
8210
8228
  }
8211
8229
  });
8212
- function qu(e, t, n, r, o, i) {
8230
+ function Ju(e, t, n, r, o, i) {
8213
8231
  const s = W("InlinedScript"), u = W("InlinedStyles"), c = W("ContentComponent");
8214
8232
  return v(), w(z, null, [
8215
- !e.isNestedRender && e.TARGET !== "reactNative" ? (v(), w(z, { key: 0 }, [
8233
+ e.shouldEmitPersonalizationFns ? (v(), w(z, { key: 0 }, [
8216
8234
  e.SDKS_SUPPORTING_PERSONALIZATION.includes(e.TARGET) ? (v(), U(s, {
8217
8235
  key: 0,
8218
8236
  id: "builderio-init-personalization-variants-fns",
@@ -8288,13 +8306,13 @@ function qu(e, t, n, r, o, i) {
8288
8306
  }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
8289
8307
  ], 64);
8290
8308
  }
8291
- const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8309
+ const Xu = /* @__PURE__ */ j(_u, [["render", Ju]]), Yu = async ({
8292
8310
  builderContextValue: e,
8293
8311
  symbol: t
8294
8312
  }) => {
8295
8313
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
8296
8314
  (e != null && e.apiKey))
8297
- return qn({
8315
+ return Jn({
8298
8316
  model: t.model,
8299
8317
  apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
8300
8318
  apiVersion: e.apiVersion,
@@ -8306,9 +8324,9 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8306
8324
  }).catch((n) => {
8307
8325
  ue.error("Could not fetch symbol content: ", n);
8308
8326
  });
8309
- }, Ju = B({
8327
+ }, Qu = B({
8310
8328
  name: "builder-symbol",
8311
- components: { ContentVariants: Gu, DynamicDiv: Ct },
8329
+ components: { ContentVariants: Xu, DynamicDiv: Ct },
8312
8330
  props: [
8313
8331
  "symbol",
8314
8332
  "builderComponents",
@@ -8365,7 +8383,7 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8365
8383
  methods: {
8366
8384
  setContent() {
8367
8385
  var e;
8368
- this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || _u({
8386
+ this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Yu({
8369
8387
  symbol: this.symbol,
8370
8388
  builderContextValue: this.builderContext
8371
8389
  }).then((t) => {
@@ -8375,7 +8393,7 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8375
8393
  }
8376
8394
  }
8377
8395
  });
8378
- function Xu(e, t, n, r, o, i) {
8396
+ function Zu(e, t, n, r, o, i) {
8379
8397
  var u, c, m, y, b, h, S;
8380
8398
  const s = W("ContentVariants");
8381
8399
  return v(), w("div", q({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
@@ -8403,47 +8421,47 @@ function Xu(e, t, n, r, o, i) {
8403
8421
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
8404
8422
  ], 16);
8405
8423
  }
8406
- const Yu = /* @__PURE__ */ j(Ju, [["render", Xu]]);
8424
+ const ec = /* @__PURE__ */ j(Qu, [["render", Zu]]);
8407
8425
  export {
8408
- oc as A,
8409
- Ro as B,
8410
- pa as C,
8411
- sc as D,
8412
- Ps as E,
8413
- ha as F,
8414
- Os as G,
8415
- qn as H,
8416
- Ca as I,
8417
- Zu as J,
8418
- uc as K,
8419
- Ea as S,
8426
+ ac as A,
8427
+ Po as B,
8428
+ fa as C,
8429
+ uc as D,
8430
+ Ns as E,
8431
+ ga as F,
8432
+ Bs as G,
8433
+ Jn as H,
8434
+ Ta as I,
8435
+ nc as J,
8436
+ dc as K,
8437
+ Ra as S,
8420
8438
  G as T,
8421
- du as V,
8439
+ mu as V,
8422
8440
  j as _,
8423
8441
  Oe as a,
8424
8442
  vn as b,
8425
8443
  Ht as c,
8426
8444
  Ne as d,
8427
8445
  kt as e,
8428
- aa as f,
8429
- lc as g,
8430
- ac as h,
8446
+ ua as f,
8447
+ pc as g,
8448
+ cc as h,
8431
8449
  oe as i,
8432
- cc as j,
8433
- Gn as k,
8434
- us as l,
8435
- oi as m,
8436
- Yu as n,
8437
- fl as o,
8450
+ fc as j,
8451
+ Xn as k,
8452
+ ps as l,
8453
+ si as m,
8454
+ ec as n,
8455
+ gl as o,
8438
8456
  Ue as p,
8439
- Gu as q,
8440
- Hn as r,
8441
- ic as s,
8442
- cs as t,
8443
- tc as u,
8444
- nc as v,
8445
- Fu as w,
8446
- rc as x,
8447
- fo as y,
8448
- ec as z
8457
+ Xu as q,
8458
+ qn as r,
8459
+ lc as s,
8460
+ ds as t,
8461
+ oc as u,
8462
+ ic as v,
8463
+ Ku as w,
8464
+ sc as x,
8465
+ yo as y,
8466
+ rc as z
8449
8467
  };