@builder.io/sdk-vue 1.0.30 → 1.0.32

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 (94) hide show
  1. package/lib/browser/{block-styles-YSorgBmY.cjs → block-styles-ohyKYsYW.cjs} +1 -1
  2. package/lib/browser/{block-styles-zsif4DNQ.js → block-styles-zIxnCsu7.js} +1 -1
  3. package/lib/browser/{block-wrapper-q84y908Y.js → block-wrapper-BwmUweGI.js} +3 -3
  4. package/lib/browser/{block-wrapper-pkRmh7Y9.cjs → block-wrapper-C1moZ3Lz.cjs} +1 -1
  5. package/lib/browser/blocks/accordion/accordion.vue.d.ts +3 -3
  6. package/lib/browser/blocks/button/button.vue.d.ts +3 -3
  7. package/lib/browser/blocks/columns/columns.vue.d.ts +3 -3
  8. package/lib/browser/blocks/form/form/form.vue.d.ts +6 -6
  9. package/lib/browser/blocks/image/image.types.d.ts +1 -0
  10. package/lib/browser/blocks/image/image.vue.d.ts +3 -0
  11. package/lib/browser/blocks/symbol/symbol.vue.d.ts +6 -6
  12. package/lib/browser/blocks/tabs/tabs.vue.d.ts +3 -3
  13. package/lib/browser/blocks/video/video.vue.d.ts +3 -3
  14. package/lib/browser/{component-ref-XwVx-xwI.js → component-ref-SNXa2Dn9.js} +2 -2
  15. package/lib/browser/{component-ref-CXa8wrso.cjs → component-ref-SkL82rhz.cjs} +1 -1
  16. package/lib/browser/components/block/block.helpers.d.ts +20 -2
  17. package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +3 -3
  18. package/lib/browser/components/content/content.vue.d.ts +4 -3
  19. package/lib/browser/components/content-variants/content-variants.vue.d.ts +3 -3
  20. package/lib/browser/constants/sdk-version.d.ts +1 -1
  21. package/lib/browser/context/types.d.ts +1 -0
  22. package/lib/browser/{get-block-properties-hsTkDYka.cjs → get-block-properties-EE60D1wR.cjs} +1 -1
  23. package/lib/browser/{get-block-properties-VVu6XRdj.js → get-block-properties-qSi9NMOx.js} +1 -1
  24. package/lib/browser/index-7_PIOwAU.cjs +166 -0
  25. package/lib/browser/{index-GWArj2Lm.js → index-KOlrj9_0.js} +398 -387
  26. package/lib/browser/index.cjs +1 -1
  27. package/lib/browser/index.mjs +1 -1
  28. package/lib/browser/{repeated-block-CUsgbkNQ.cjs → repeated-block-L_hMsmwd.cjs} +1 -1
  29. package/lib/browser/{repeated-block-D-MjOcCg.js → repeated-block-SnsEMvw9.js} +2 -2
  30. package/lib/browser/style.css +1 -1
  31. package/lib/edge/{block-styles-uTIfxLdH.cjs → block-styles-gwGxMYsP.cjs} +1 -1
  32. package/lib/edge/{block-styles-SZkRWx2m.js → block-styles-mlYBYkOs.js} +1 -1
  33. package/lib/edge/{block-wrapper-1FmTfk0Z.js → block-wrapper-RexwV794.js} +3 -3
  34. package/lib/{node/block-wrapper-Kl4r-UZc.cjs → edge/block-wrapper-k_uBDftu.cjs} +1 -1
  35. package/lib/edge/blocks/accordion/accordion.vue.d.ts +3 -3
  36. package/lib/edge/blocks/button/button.vue.d.ts +3 -3
  37. package/lib/edge/blocks/columns/columns.vue.d.ts +3 -3
  38. package/lib/edge/blocks/form/form/form.vue.d.ts +6 -6
  39. package/lib/edge/blocks/image/image.types.d.ts +1 -0
  40. package/lib/edge/blocks/image/image.vue.d.ts +3 -0
  41. package/lib/edge/blocks/symbol/symbol.vue.d.ts +6 -6
  42. package/lib/edge/blocks/tabs/tabs.vue.d.ts +3 -3
  43. package/lib/edge/blocks/video/video.vue.d.ts +3 -3
  44. package/lib/{node/component-ref-GwPAXEsY.js → edge/component-ref-9oxLY_Z3.js} +2 -2
  45. package/lib/{node/component-ref-UFlAHlUI.cjs → edge/component-ref-TND3R4QY.cjs} +1 -1
  46. package/lib/edge/components/block/block.helpers.d.ts +20 -2
  47. package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +3 -3
  48. package/lib/edge/components/content/content.vue.d.ts +4 -3
  49. package/lib/edge/components/content-variants/content-variants.vue.d.ts +3 -3
  50. package/lib/edge/constants/sdk-version.d.ts +1 -1
  51. package/lib/edge/context/types.d.ts +1 -0
  52. package/lib/edge/{get-block-properties-WIpsp8uv.js → get-block-properties-3R5EHXuo.js} +1 -1
  53. package/lib/edge/{get-block-properties-G5ekM4kF.cjs → get-block-properties-QFyJgbX0.cjs} +1 -1
  54. package/lib/edge/{index-_IEZqnuL.js → index-d_K2eAST.js} +911 -908
  55. package/lib/edge/index-eH2Ry0LC.cjs +186 -0
  56. package/lib/edge/index.cjs +1 -1
  57. package/lib/edge/index.mjs +1 -1
  58. package/lib/edge/{repeated-block-l_pH5BtY.js → repeated-block-D9Jv_G43.js} +2 -2
  59. package/lib/edge/{repeated-block-JI8fIaI5.cjs → repeated-block-xpYAEu9G.cjs} +1 -1
  60. package/lib/edge/style.css +1 -1
  61. package/lib/node/{block-styles-Apz1TRWM.js → block-styles-af4EPg11.js} +1 -1
  62. package/lib/node/{block-styles-i8di2-zT.cjs → block-styles-z3Qw3dTH.cjs} +1 -1
  63. package/lib/node/{block-wrapper-QX3GGdXx.js → block-wrapper-SyXs3NLC.js} +3 -3
  64. package/lib/{edge/block-wrapper-ptnWXdWA.cjs → node/block-wrapper-lMpMCXMf.cjs} +1 -1
  65. package/lib/node/blocks/accordion/accordion.vue.d.ts +3 -3
  66. package/lib/node/blocks/button/button.vue.d.ts +3 -3
  67. package/lib/node/blocks/columns/columns.vue.d.ts +3 -3
  68. package/lib/node/blocks/form/form/form.vue.d.ts +6 -6
  69. package/lib/node/blocks/image/image.types.d.ts +1 -0
  70. package/lib/node/blocks/image/image.vue.d.ts +3 -0
  71. package/lib/node/blocks/symbol/symbol.vue.d.ts +6 -6
  72. package/lib/node/blocks/tabs/tabs.vue.d.ts +3 -3
  73. package/lib/node/blocks/video/video.vue.d.ts +3 -3
  74. package/lib/{edge/component-ref-t89FNM-X.js → node/component-ref-0ajNv9SP.js} +2 -2
  75. package/lib/{edge/component-ref-WuOY1u6o.cjs → node/component-ref-8_jLowQd.cjs} +1 -1
  76. package/lib/node/components/block/block.helpers.d.ts +20 -2
  77. package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +3 -3
  78. package/lib/node/components/content/content.vue.d.ts +4 -3
  79. package/lib/node/components/content-variants/content-variants.vue.d.ts +3 -3
  80. package/lib/node/constants/sdk-version.d.ts +1 -1
  81. package/lib/node/context/types.d.ts +1 -0
  82. package/lib/node/{get-block-properties-6o05nE8l.js → get-block-properties-QICAzFwt.js} +1 -1
  83. package/lib/node/{get-block-properties-fC1x6jsD.cjs → get-block-properties-zlMUIw8E.cjs} +1 -1
  84. package/lib/node/{index-JPhQDQvI.js → index-8Qp_Egul.js} +47 -36
  85. package/lib/node/index-8u2tX4TV.cjs +213 -0
  86. package/lib/node/index.cjs +1 -1
  87. package/lib/node/index.mjs +1 -1
  88. package/lib/node/{repeated-block-3fH2ZcAG.cjs → repeated-block-JdD3AVtB.cjs} +1 -1
  89. package/lib/node/{repeated-block-XDR6iCBj.js → repeated-block-kaQa2H7q.js} +2 -2
  90. package/lib/node/style.css +1 -1
  91. package/package.json +1 -1
  92. package/lib/browser/index-LucJc9GG.cjs +0 -166
  93. package/lib/edge/index-BbL0O7Qi.cjs +0 -186
  94. package/lib/node/index-7VeFZAl3.cjs +0 -213
@@ -1,9 +1,9 @@
1
- var Bo = Object.defineProperty;
2
- var Vo = (e, t, n) => t in e ? Bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
1
+ var No = Object.defineProperty;
2
+ var Vo = (e, t, n) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var ln = (e, t, n) => (Vo(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { defineComponent as j, openBlock as y, createElementBlock as T, Fragment as Z, createBlock as U, resolveDynamicComponent as ut, mergeProps as _, toHandlers as de, withCtx as we, renderSlot as ue, resolveComponent as V, createTextVNode as Uo, toDisplayString as Bt, defineAsyncComponent as ot, createVNode as oe, renderList as Te, createCommentVNode as D, h as jr, createElementVNode as ft, normalizeStyle as Oe, normalizeClass as mt, markRaw as Fo } from "vue";
4
+ import { defineComponent as j, openBlock as y, createElementBlock as T, Fragment as Z, createBlock as U, resolveDynamicComponent as ut, mergeProps as J, toHandlers as he, withCtx as we, renderSlot as pe, resolveComponent as F, createTextVNode as Fo, toDisplayString as Nt, defineAsyncComponent as ot, createVNode as se, renderList as Te, createCommentVNode as M, h as jr, createElementVNode as ft, normalizeStyle as Pe, normalizeClass as mt, markRaw as Uo } from "vue";
5
5
  const Do = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Mo = (e) => typeof e == "string" && Do.has(e.toLowerCase());
6
- function Ee(e = {}, t, n) {
6
+ function Ie(e = {}, t, n) {
7
7
  const r = {};
8
8
  for (const o in e) {
9
9
  if (!e[o] || n && !o.startsWith(t))
@@ -19,32 +19,32 @@ const Wo = j({
19
19
  data() {
20
20
  return { isEmptyElement: Mo };
21
21
  }
22
- }), B = (e, t) => {
22
+ }), V = (e, t) => {
23
23
  const n = e.__vccOpts || e;
24
24
  for (const [r, o] of t)
25
25
  n[r] = o;
26
26
  return n;
27
27
  };
28
28
  function Lo(e, t, n, r, o, i) {
29
- return e.isEmptyElement(e.TagName) ? (y(), U(ut(e.TagName), _({ key: 1 }, e.attributes, de(e.actionAttributes)), null, 16)) : (y(), T(Z, { key: 0 }, [
30
- typeof e.TagName == "string" ? (y(), U(ut(e.TagName), _({ key: 0 }, e.attributes, de(e.actionAttributes)), {
29
+ return e.isEmptyElement(e.TagName) ? (y(), U(ut(e.TagName), J({ key: 1 }, e.attributes, he(e.actionAttributes)), null, 16)) : (y(), T(Z, { key: 0 }, [
30
+ typeof e.TagName == "string" ? (y(), U(ut(e.TagName), J({ key: 0 }, e.attributes, he(e.actionAttributes)), {
31
31
  default: we(() => [
32
- ue(e.$slots, "default")
32
+ pe(e.$slots, "default")
33
33
  ]),
34
34
  _: 3
35
- }, 16)) : (y(), U(ut(e.TagName), _({ key: 1 }, e.attributes, de(e.actionAttributes)), {
35
+ }, 16)) : (y(), U(ut(e.TagName), J({ key: 1 }, e.attributes, he(e.actionAttributes)), {
36
36
  default: we(() => [
37
- ue(e.$slots, "default")
37
+ pe(e.$slots, "default")
38
38
  ]),
39
39
  _: 3
40
40
  }, 16))
41
41
  ], 64));
42
42
  }
43
- const Cn = /* @__PURE__ */ B(Wo, [["render", Lo]]), sc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
43
+ const Cn = /* @__PURE__ */ V(Wo, [["render", Lo]]), lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44
44
  __proto__: null,
45
45
  default: Cn
46
- }, Symbol.toStringTag, { value: "Module" })), he = "vue", jt = () => {
47
- switch (he) {
46
+ }, Symbol.toStringTag, { value: "Module" })), Q = "vue", jt = () => {
47
+ switch (Q) {
48
48
  case "react":
49
49
  case "reactNative":
50
50
  case "rsc":
@@ -67,12 +67,12 @@ const Cn = /* @__PURE__ */ B(Wo, [["render", Lo]]), sc = /* @__PURE__ */ Object.
67
67
  "text"
68
68
  ],
69
69
  data() {
70
- return { filterAttrs: Ee };
70
+ return { filterAttrs: Ie };
71
71
  },
72
72
  methods: {
73
73
  attrs() {
74
74
  return {
75
- ...Ee(this.attributes, "v-on:", !1),
75
+ ...Ie(this.attributes, "v-on:", !1),
76
76
  [jt()]: `${this.link ? "" : "builder-button"} ${this.attributes[jt()] || ""}`,
77
77
  ...this.link ? {
78
78
  href: this.link,
@@ -86,19 +86,19 @@ const Cn = /* @__PURE__ */ B(Wo, [["render", Lo]]), sc = /* @__PURE__ */ Object.
86
86
  }
87
87
  });
88
88
  function Ko(e, t, n, r, o, i) {
89
- const a = V("DynamicRenderer");
89
+ const a = F("DynamicRenderer");
90
90
  return y(), U(a, {
91
91
  attributes: e.attrs(),
92
92
  TagName: e.link ? e.builderLinkComponent || "a" : "button",
93
93
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
94
94
  }, {
95
95
  default: we(() => [
96
- Uo(Bt(e.text), 1)
96
+ Fo(Nt(e.text), 1)
97
97
  ]),
98
98
  _: 1
99
99
  }, 8, ["attributes", "TagName", "actionAttributes"]);
100
100
  }
101
- const zo = /* @__PURE__ */ B(Ho, [["render", Ko]]), Go = Symbol(), mn = {
101
+ const zo = /* @__PURE__ */ V(Ho, [["render", Ko]]), Go = Symbol(), mn = {
102
102
  Builder: {
103
103
  content: null,
104
104
  context: {},
@@ -114,7 +114,7 @@ const zo = /* @__PURE__ */ B(Ho, [["render", Ko]]), Go = Symbol(), mn = {
114
114
  BlocksWrapperProps: {}
115
115
  },
116
116
  key: Go
117
- }, qo = Symbol(), Nr = {
117
+ }, qo = Symbol(), Br = {
118
118
  Components: { registeredComponents: {} },
119
119
  key: qo
120
120
  };
@@ -122,20 +122,16 @@ function Jo(e) {
122
122
  var t;
123
123
  return {
124
124
  ...(t = e.component) == null ? void 0 : t.options,
125
- ...e.options,
126
- /**
127
- * Our built-in components frequently make use of the block, so we provide all of it under `builderBlock`
128
- */
129
- builderBlock: e
125
+ ...e.options
130
126
  };
131
127
  }
132
- const Ot = "[Builder.io]: ", ne = {
128
+ const Ot = "[Builder.io]: ", ae = {
133
129
  log: (...e) => console.log(Ot, ...e),
134
130
  error: (...e) => console.error(Ot, ...e),
135
131
  warn: (...e) => console.warn(Ot, ...e),
136
132
  debug: (...e) => console.debug(Ot, ...e)
137
133
  };
138
- function X() {
134
+ function _() {
139
135
  return typeof window < "u" && typeof document < "u";
140
136
  }
141
137
  const _o = (e) => {
@@ -143,21 +139,21 @@ const _o = (e) => {
143
139
  return e.forEach((n, r) => {
144
140
  t[r] = n;
145
141
  }), t;
146
- }, Br = (e) => e instanceof URLSearchParams ? _o(e) : e, Vr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
142
+ }, Nr = (e) => e instanceof URLSearchParams ? _o(e) : e, Vr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
147
143
  function Xo() {
148
- return X() && window.self !== window.top;
144
+ return _() && window.self !== window.top;
149
145
  }
150
- function se(e) {
146
+ function ce(e) {
151
147
  return Xo() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
152
148
  Vr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
153
149
  }
154
150
  const Yo = () => {
155
- if (X()) {
151
+ if (_()) {
156
152
  const e = new URL(location.href);
157
153
  return e.pathname === "" && (e.pathname = "/"), e;
158
154
  } else
159
155
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
160
- }, Zo = () => typeof navigator == "object" && navigator.userAgent || "", Ur = () => {
156
+ }, Zo = () => typeof navigator == "object" && navigator.userAgent || "", Fr = () => {
161
157
  const e = Zo(), t = {
162
158
  Android() {
163
159
  return e.match(/Android/i);
@@ -175,7 +171,7 @@ const Yo = () => {
175
171
  return e.match(/IEMobile/i) || e.match(/WPDesktop/i);
176
172
  },
177
173
  any() {
178
- return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || he === "reactNative";
174
+ return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || Q === "reactNative";
179
175
  }
180
176
  }, n = e.match(/Tablet|iPad/i), r = Yo();
181
177
  return {
@@ -183,7 +179,7 @@ const Yo = () => {
183
179
  host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
184
180
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
185
181
  };
186
- }, Fr = ({
182
+ }, Ur = ({
187
183
  builder: e,
188
184
  context: t,
189
185
  event: n,
@@ -196,10 +192,10 @@ const Yo = () => {
196
192
  context: t,
197
193
  event: n
198
194
  }), Qo = () => ({
199
- isEditing: se(),
200
- isBrowser: X(),
201
- isServer: !X(),
202
- getUserAttributes: () => Ur()
195
+ isEditing: ce(),
196
+ isBrowser: _(),
197
+ isServer: !_(),
198
+ getUserAttributes: () => Fr()
203
199
  }), ei = (e, {
204
200
  isExpression: t = !0
205
201
  }) => /* 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, ti = ({
@@ -211,7 +207,7 @@ const Yo = () => {
211
207
  rootSetState: i,
212
208
  rootState: a
213
209
  }) => {
214
- const c = Fr({
210
+ const c = Ur({
215
211
  builder: t,
216
212
  context: n,
217
213
  event: r,
@@ -254,7 +250,7 @@ const wn = (e, t, n) => {
254
250
  const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
255
251
  return r.slice(0, -1).reduce((o, i, a) => Object(o[i]) === o[i] ? o[i] : o[i] = Math.abs(Number(r[a + 1])) >> 0 === +r[a + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
256
252
  };
257
- var N, ni = function(e) {
253
+ var B, ni = function(e) {
258
254
  function t(s) {
259
255
  return 48 > s ? s === 36 : 58 > s ? !0 : 65 > s ? !1 : 91 > s ? !0 : 97 > s ? s === 95 : 123 > s ? !0 : 170 <= s && jo.test(String.fromCharCode(s));
260
256
  }
@@ -262,17 +258,17 @@ var N, ni = function(e) {
262
258
  return 65 > s ? s === 36 : 91 > s ? !0 : 97 > s ? s === 95 : 123 > s ? !0 : 170 <= s && yr.test(String.fromCharCode(s));
263
259
  }
264
260
  function r(s, l) {
265
- for (var u = b, f = 1, x = 0; ; ) {
266
- $t.lastIndex = x;
267
- var z = $t.exec(u);
268
- if (z && z.index < s)
269
- ++f, x = z.index + z[0].length;
261
+ for (var u = b, f = 1, E = 0; ; ) {
262
+ $t.lastIndex = E;
263
+ var K = $t.exec(u);
264
+ if (K && K.index < s)
265
+ ++f, E = K.index + K[0].length;
270
266
  else
271
267
  break;
272
268
  }
273
269
  throw u = {
274
270
  line: f,
275
- ab: s - x
271
+ ab: s - E
276
272
  }, l += " (" + u.line + ":" + u.ab + ")", l = new SyntaxError(l), l.j = s, l.X = u, l.o = d, l;
277
273
  }
278
274
  function o(s) {
@@ -284,25 +280,25 @@ var N, ni = function(e) {
284
280
  };
285
281
  }
286
282
  function i() {
287
- this.line = Be, this.ab = d - ge;
283
+ this.line = Ve, this.ab = d - ge;
288
284
  }
289
285
  function a(s, l) {
290
- De = d, R.C && (qt = new i()), I = s, p(), ie = l, Qe = s.m;
286
+ De = d, R.C && (qt = new i()), I = s, p(), le = l, Qe = s.m;
291
287
  }
292
288
  function c() {
293
- for (var s = d, l = R.va && R.C && new i(), u = b.charCodeAt(d += 2); d < Fe && u !== 10 && u !== 13 && u !== 8232 && u !== 8233; )
289
+ for (var s = d, l = R.va && R.C && new i(), u = b.charCodeAt(d += 2); d < Ue && u !== 10 && u !== 13 && u !== 8232 && u !== 8233; )
294
290
  ++d, u = b.charCodeAt(d);
295
291
  R.va && R.va(!1, b.slice(s + 2, d), s, d, l, R.C && new i());
296
292
  }
297
293
  function p() {
298
- for (; d < Fe; ) {
294
+ for (; d < Ue; ) {
299
295
  var s = b.charCodeAt(d);
300
296
  if (s === 32)
301
297
  ++d;
302
298
  else if (s === 13)
303
- ++d, s = b.charCodeAt(d), s === 10 && ++d, R.C && (++Be, ge = d);
299
+ ++d, s = b.charCodeAt(d), s === 10 && ++d, R.C && (++Ve, ge = d);
304
300
  else if (s === 10 || s === 8232 || s === 8233)
305
- ++d, R.C && (++Be, ge = d);
301
+ ++d, R.C && (++Ve, ge = d);
306
302
  else if (8 < s && 14 > s)
307
303
  ++d;
308
304
  else if (s === 47)
@@ -311,7 +307,7 @@ var N, ni = function(e) {
311
307
  var l = R.va && R.C && new i(), u = d, f = b.indexOf("*/", d += 2);
312
308
  if (f === -1 && r(d - 2, "Unterminated comment"), d = f + 2, R.C)
313
309
  for ($t.lastIndex = u; (s = $t.exec(b)) && s.index < d; )
314
- ++Be, ge = s.index + s[0].length;
310
+ ++Ve, ge = s.index + s[0].length;
315
311
  R.va && R.va(!0, b.slice(u + 2, f), u, d, l, R.C && new i());
316
312
  } else if (s === 47)
317
313
  c();
@@ -328,16 +324,16 @@ var N, ni = function(e) {
328
324
  function m(s) {
329
325
  switch (s) {
330
326
  case 46:
331
- s = b.charCodeAt(d + 1), 48 <= s && 57 >= s ? E(!0) : (++d, a(cr));
327
+ s = b.charCodeAt(d + 1), 48 <= s && 57 >= s ? O(!0) : (++d, a(cr));
332
328
  return;
333
329
  case 40:
334
330
  return ++d, a(ye);
335
331
  case 41:
336
- return ++d, a(pe);
332
+ return ++d, a(de);
337
333
  case 59:
338
334
  return ++d, a(ve);
339
335
  case 44:
340
- return ++d, a($e);
336
+ return ++d, a(Oe);
341
337
  case 91:
342
338
  return ++d, a(rn);
343
339
  case 93:
@@ -352,7 +348,7 @@ var N, ni = function(e) {
352
348
  return ++d, a(ur);
353
349
  case 48:
354
350
  if (s = b.charCodeAt(d + 1), s === 120 || s === 88) {
355
- d += 2, s = P(16), s === null && r(K + 2, "Expected hexadecimal number"), n(b.charCodeAt(d)) && r(d, "Identifier directly after number"), a(tt, s);
351
+ d += 2, s = P(16), s === null && r(H + 2, "Expected hexadecimal number"), n(b.charCodeAt(d)) && r(d, "Identifier directly after number"), a(tt, s);
356
352
  return;
357
353
  }
358
354
  case 49:
@@ -364,15 +360,15 @@ var N, ni = function(e) {
364
360
  case 55:
365
361
  case 56:
366
362
  case 57:
367
- return E(!1);
363
+ return O(!1);
368
364
  case 34:
369
365
  case 39:
370
366
  d++;
371
367
  for (var l = ""; ; ) {
372
- d >= Fe && r(K, "Unterminated string constant");
368
+ d >= Ue && r(H, "Unterminated string constant");
373
369
  var u = b.charCodeAt(d);
374
370
  if (u === s) {
375
- ++d, a(It, l);
371
+ ++d, a(Et, l);
376
372
  break;
377
373
  }
378
374
  if (u === 92) {
@@ -381,7 +377,7 @@ var N, ni = function(e) {
381
377
  for (f && (f = f[0]); f && 255 < parseInt(f, 8); )
382
378
  f = f.slice(0, -1);
383
379
  if (f === "0" && (f = null), ++d, f)
384
- re && r(d - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(f, 8)), d += f.length - 1;
380
+ ie && r(d - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(f, 8)), d += f.length - 1;
385
381
  else
386
382
  switch (u) {
387
383
  case 110:
@@ -392,13 +388,13 @@ var N, ni = function(e) {
392
388
  l += "\r";
393
389
  break;
394
390
  case 120:
395
- l += String.fromCharCode(M(2));
391
+ l += String.fromCharCode(ee(2));
396
392
  break;
397
393
  case 117:
398
- l += String.fromCharCode(M(4));
394
+ l += String.fromCharCode(ee(4));
399
395
  break;
400
396
  case 85:
401
- l += String.fromCharCode(M(8));
397
+ l += String.fromCharCode(ee(8));
402
398
  break;
403
399
  case 116:
404
400
  l += " ";
@@ -418,40 +414,40 @@ var N, ni = function(e) {
418
414
  case 13:
419
415
  b.charCodeAt(d) === 10 && ++d;
420
416
  case 10:
421
- R.C && (ge = d, ++Be);
417
+ R.C && (ge = d, ++Ve);
422
418
  break;
423
419
  default:
424
420
  l += String.fromCharCode(u);
425
421
  }
426
422
  } else
427
- u !== 13 && u !== 10 && u !== 8232 && u !== 8233 || r(K, "Unterminated string constant"), l += String.fromCharCode(u), ++d;
423
+ u !== 13 && u !== 10 && u !== 8232 && u !== 8233 || r(H, "Unterminated string constant"), l += String.fromCharCode(u), ++d;
428
424
  }
429
425
  return;
430
426
  case 47:
431
- s = b.charCodeAt(d + 1), Qe ? (++d, C()) : s === 61 ? h(Ve, 2) : h(pr, 1);
427
+ s = b.charCodeAt(d + 1), Qe ? (++d, C()) : s === 61 ? h(Fe, 2) : h(pr, 1);
432
428
  return;
433
429
  case 37:
434
430
  case 42:
435
- b.charCodeAt(d + 1) === 61 ? h(Ve, 2) : h(Ro, 1);
431
+ b.charCodeAt(d + 1) === 61 ? h(Fe, 2) : h(Ro, 1);
436
432
  return;
437
433
  case 124:
438
434
  case 38:
439
- l = b.charCodeAt(d + 1), l === s ? h(s === 124 ? fr : mr, 2) : l === 61 ? h(Ve, 2) : h(s === 124 ? Co : To, 1);
435
+ l = b.charCodeAt(d + 1), l === s ? h(s === 124 ? fr : mr, 2) : l === 61 ? h(Fe, 2) : h(s === 124 ? Co : To, 1);
440
436
  return;
441
437
  case 94:
442
- b.charCodeAt(d + 1) === 61 ? h(Ve, 2) : h(wo, 1);
438
+ b.charCodeAt(d + 1) === 61 ? h(Fe, 2) : h(wo, 1);
443
439
  return;
444
440
  case 43:
445
441
  case 45:
446
- l = b.charCodeAt(d + 1), l === s ? l === 45 && b.charCodeAt(d + 2) === 62 && Rt.test(b.slice(Re, d)) ? (d += 3, c(), p(), v()) : h(So, 2) : l === 61 ? h(Ve, 2) : h(Ao, 1);
442
+ l = b.charCodeAt(d + 1), l === s ? l === 45 && b.charCodeAt(d + 2) === 62 && Rt.test(b.slice($e, d)) ? (d += 3, c(), p(), v()) : h(So, 2) : l === 61 ? h(Fe, 2) : h(Ao, 1);
447
443
  return;
448
444
  case 60:
449
445
  case 62:
450
- l = b.charCodeAt(d + 1), u = 1, l === s ? (u = s === 62 && b.charCodeAt(d + 2) === 62 ? 3 : 2, b.charCodeAt(d + u) === 61 ? h(Ve, u + 1) : h(xo, u)) : l === 33 && s === 60 && b.charCodeAt(d + 2) === 45 && b.charCodeAt(d + 3) === 45 ? (d += 4, c(), p(), v()) : (l === 61 && (u = b.charCodeAt(d + 2) === 61 ? 3 : 2), h(Io, u));
446
+ l = b.charCodeAt(d + 1), u = 1, l === s ? (u = s === 62 && b.charCodeAt(d + 2) === 62 ? 3 : 2, b.charCodeAt(d + u) === 61 ? h(Fe, u + 1) : h(xo, u)) : l === 33 && s === 60 && b.charCodeAt(d + 2) === 45 && b.charCodeAt(d + 3) === 45 ? (d += 4, c(), p(), v()) : (l === 61 && (u = b.charCodeAt(d + 2) === 61 ? 3 : 2), h(Eo, u));
451
447
  return;
452
448
  case 61:
453
449
  case 33:
454
- b.charCodeAt(d + 1) === 61 ? h(Eo, b.charCodeAt(d + 2) === 61 ? 3 : 2) : h(s === 61 ? dr : hr, 1);
450
+ b.charCodeAt(d + 1) === 61 ? h(Io, b.charCodeAt(d + 2) === 61 ? 3 : 2) : h(s === 61 ? dr : hr, 1);
455
451
  return;
456
452
  case 126:
457
453
  return h(hr, 1);
@@ -459,15 +455,15 @@ var N, ni = function(e) {
459
455
  return !1;
460
456
  }
461
457
  function v(s) {
462
- if (s ? d = K + 1 : K = d, R.C && (Gt = new i()), s)
458
+ if (s ? d = H + 1 : H = d, R.C && (Gt = new i()), s)
463
459
  return C();
464
- if (d >= Fe)
460
+ if (d >= Ue)
465
461
  return a(Xt);
466
462
  if (s = b.charCodeAt(d), n(s) || s === 92)
467
- return W();
463
+ return N();
468
464
  if (m(s) === !1) {
469
465
  if (s = String.fromCharCode(s), s === "\\" || yr.test(s))
470
- return W();
466
+ return N();
471
467
  r(d, "Unexpected character '" + s + "'");
472
468
  }
473
469
  }
@@ -477,7 +473,7 @@ var N, ni = function(e) {
477
473
  }
478
474
  function C() {
479
475
  for (var s, l, u = d; ; ) {
480
- d >= Fe && r(u, "Unterminated regexp");
476
+ d >= Ue && r(u, "Unterminated regexp");
481
477
  var f = b.charAt(d);
482
478
  if (Rt.test(f) && r(u, "Unterminated regexp"), s)
483
479
  s = !1;
@@ -492,321 +488,321 @@ var N, ni = function(e) {
492
488
  }
493
489
  ++d;
494
490
  }
495
- s = b.slice(u, d), ++d, (l = ae()) && !/^[gmi]*$/.test(l) && r(u, "Invalid regexp flag");
491
+ s = b.slice(u, d), ++d, (l = X()) && !/^[gmi]*$/.test(l) && r(u, "Invalid regexp flag");
496
492
  try {
497
- var x = new RegExp(s, l);
498
- } catch (z) {
499
- throw z instanceof SyntaxError && r(u, z.message), z;
493
+ var E = new RegExp(s, l);
494
+ } catch (K) {
495
+ throw K instanceof SyntaxError && r(u, K.message), K;
500
496
  }
501
- a(Kn, x);
497
+ a(Kn, E);
502
498
  }
503
499
  function P(s, l) {
504
- for (var u = d, f = 0, x = l === void 0 ? 1 / 0 : l, z = 0; z < x; ++z) {
505
- var Q = b.charCodeAt(d);
506
- if (Q = 97 <= Q ? Q - 97 + 10 : 65 <= Q ? Q - 65 + 10 : 48 <= Q && 57 >= Q ? Q - 48 : 1 / 0, Q >= s)
500
+ for (var u = d, f = 0, E = l === void 0 ? 1 / 0 : l, K = 0; K < E; ++K) {
501
+ var te = b.charCodeAt(d);
502
+ if (te = 97 <= te ? te - 97 + 10 : 65 <= te ? te - 65 + 10 : 48 <= te && 57 >= te ? te - 48 : 1 / 0, te >= s)
507
503
  break;
508
- ++d, f = f * s + Q;
504
+ ++d, f = f * s + te;
509
505
  }
510
506
  return d === u || l !== void 0 && d - u !== l ? null : f;
511
507
  }
512
- function E(s) {
508
+ function O(s) {
513
509
  var l = d, u = !1, f = b.charCodeAt(d) === 48;
514
510
  s || P(10) !== null || r(l, "Invalid number"), b.charCodeAt(d) === 46 && (++d, P(10), u = !0), s = b.charCodeAt(d), (s === 69 || s === 101) && (s = b.charCodeAt(++d), s !== 43 && s !== 45 || ++d, P(10) === null && r(l, "Invalid number"), u = !0), n(b.charCodeAt(d)) && r(d, "Identifier directly after number"), s = b.slice(l, d);
515
- var x;
516
- u ? x = parseFloat(s) : f && s.length !== 1 ? /[89]/.test(s) || re ? r(l, "Invalid number") : x = parseInt(s, 8) : x = parseInt(s, 10), a(tt, x);
511
+ var E;
512
+ u ? E = parseFloat(s) : f && s.length !== 1 ? /[89]/.test(s) || ie ? r(l, "Invalid number") : E = parseInt(s, 8) : E = parseInt(s, 10), a(tt, E);
517
513
  }
518
- function M(s) {
519
- return s = P(16, s), s === null && r(K, "Bad character escape sequence"), s;
514
+ function ee(s) {
515
+ return s = P(16, s), s === null && r(H, "Bad character escape sequence"), s;
520
516
  }
521
- function ae() {
517
+ function X() {
522
518
  Le = !1;
523
519
  for (var s, l = !0, u = d; ; ) {
524
520
  var f = b.charCodeAt(d);
525
521
  if (t(f))
526
522
  Le && (s += b.charAt(d)), ++d;
527
523
  else if (f === 92) {
528
- Le || (s = b.slice(u, d)), Le = !0, b.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, f = M(4);
529
- var x = String.fromCharCode(f);
530
- x || r(d - 1, "Invalid Unicode escape"), (l ? n(f) : t(f)) || r(d - 4, "Invalid Unicode escape"), s += x;
524
+ Le || (s = b.slice(u, d)), Le = !0, b.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, f = ee(4);
525
+ var E = String.fromCharCode(f);
526
+ E || r(d - 1, "Invalid Unicode escape"), (l ? n(f) : t(f)) || r(d - 4, "Invalid Unicode escape"), s += E;
531
527
  } else
532
528
  break;
533
529
  l = !1;
534
530
  }
535
531
  return Le ? s : b.slice(u, d);
536
532
  }
537
- function W() {
538
- var s = ae(), l = Me;
533
+ function N() {
534
+ var s = X(), l = Me;
539
535
  !Le && Oo(s) && (l = ko[s]), a(l, s);
540
536
  }
541
- function $() {
542
- Jt = K, Re = De, _t = qt, v();
537
+ function A() {
538
+ Jt = H, $e = De, _t = qt, v();
543
539
  }
544
- function Ue(s) {
545
- if (re = s, d = K, R.C)
540
+ function xe(s) {
541
+ if (ie = s, d = H, R.C)
546
542
  for (; d < ge; )
547
543
  ge = b.lastIndexOf(`
548
- `, ge - 2) + 1, --Be;
544
+ `, ge - 2) + 1, --Ve;
549
545
  p(), v();
550
546
  }
551
- function le() {
552
- this.type = null, this.start = K, this.end = null;
547
+ function oe() {
548
+ this.type = null, this.start = H, this.end = null;
553
549
  }
554
- function xe() {
550
+ function Ae() {
555
551
  this.start = Gt, this.end = null, zt && (this.source = zt);
556
552
  }
557
- function q() {
558
- var s = new le();
559
- return R.C && (s.X = new xe()), R.vb && (s.sourceFile = R.vb), R.Xa && (s.j = [K, 0]), s;
553
+ function G() {
554
+ var s = new oe();
555
+ return R.C && (s.X = new Ae()), R.vb && (s.sourceFile = R.vb), R.Xa && (s.j = [H, 0]), s;
560
556
  }
561
- function Ae(s) {
562
- var l = new le();
563
- return l.start = s.start, R.C && (l.X = new xe(), l.X.start = s.X.start), R.Xa && (l.j = [s.j[0], 0]), l;
557
+ function Re(s) {
558
+ var l = new oe();
559
+ return l.start = s.start, R.C && (l.X = new Ae(), l.X.start = s.X.start), R.Xa && (l.j = [s.j[0], 0]), l;
564
560
  }
565
- function A(s, l) {
566
- return s.type = l, s.end = Re, R.C && (s.X.end = _t), R.Xa && (s.j[1] = Re), s;
561
+ function x(s, l) {
562
+ return s.type = l, s.end = $e, R.C && (s.X.end = _t), R.Xa && (s.j[1] = $e), s;
567
563
  }
568
- function Ft(s) {
564
+ function Ut(s) {
569
565
  return s.type === "ExpressionStatement" && s.la.type === "Literal" && s.la.value === "use strict";
570
566
  }
571
- function F(s) {
572
- return I === s ? ($(), !0) : !1;
567
+ function D(s) {
568
+ return I === s ? (A(), !0) : !1;
573
569
  }
574
570
  function wt() {
575
- return !R.fc && (I === Xt || I === We || Rt.test(b.slice(Re, K)));
571
+ return !R.fc && (I === Xt || I === We || Rt.test(b.slice($e, H)));
576
572
  }
577
573
  function Ne() {
578
- F(ve) || wt() || fe();
574
+ D(ve) || wt() || fe();
579
575
  }
580
- function L(s) {
581
- I === s ? $() : fe();
576
+ function W(s) {
577
+ I === s ? A() : fe();
582
578
  }
583
579
  function fe() {
584
- r(K, "Unexpected token");
580
+ r(H, "Unexpected token");
585
581
  }
586
582
  function Tt(s) {
587
- s.type !== "Identifier" && s.type !== "MemberExpression" && r(s.start, "Assigning to rvalue"), re && s.type === "Identifier" && At(s.name) && r(s.start, "Assigning to " + s.name + " in strict mode");
583
+ s.type !== "Identifier" && s.type !== "MemberExpression" && r(s.start, "Assigning to rvalue"), ie && s.type === "Identifier" && At(s.name) && r(s.start, "Assigning to " + s.name + " in strict mode");
588
584
  }
589
- function ce() {
590
- (I === pr || I === Ve && ie === "/=") && v(!0);
591
- var s = I, l = q();
585
+ function ue() {
586
+ (I === pr || I === Fe && le === "/=") && v(!0);
587
+ var s = I, l = G();
592
588
  switch (s) {
593
589
  case Yt:
594
590
  case Gn:
595
- $();
591
+ A();
596
592
  var u = s === Yt;
597
- F(ve) || wt() ? l.label = null : I !== Me ? fe() : (l.label = me(), Ne());
598
- for (var f = 0; f < H.length; ++f) {
599
- var x = H[f];
600
- if ((l.label === null || x.name === l.label.name) && (x.kind !== null && (u || x.kind === "loop") || l.label && u))
593
+ D(ve) || wt() ? l.label = null : I !== Me ? fe() : (l.label = me(), Ne());
594
+ for (var f = 0; f < L.length; ++f) {
595
+ var E = L[f];
596
+ if ((l.label === null || E.name === l.label.name) && (E.kind !== null && (u || E.kind === "loop") || l.label && u))
601
597
  break;
602
598
  }
603
- return f === H.length && r(l.start, "Unsyntactic " + s.l), A(l, u ? "BreakStatement" : "ContinueStatement");
599
+ return f === L.length && r(l.start, "Unsyntactic " + s.l), x(l, u ? "BreakStatement" : "ContinueStatement");
604
600
  case qn:
605
- return $(), Ne(), A(l, "DebuggerStatement");
601
+ return A(), Ne(), x(l, "DebuggerStatement");
606
602
  case _n:
607
- return $(), H.push(sn), l.body = ce(), H.pop(), L(nn), l.test = Xe(), Ne(), A(l, "DoWhileStatement");
603
+ return A(), L.push(sn), l.body = ue(), L.pop(), W(nn), l.test = Xe(), Ne(), x(l, "DoWhileStatement");
608
604
  case Zn:
609
- return $(), H.push(sn), L(ye), I === ve ? Dt(l, null) : I === tn ? (s = q(), $(), Ln(s, !0), A(s, "VariableDeclaration"), s.fa.length === 1 && F(xt) ? Wn(l, s) : Dt(l, s)) : (s = Y(!1, !0), F(xt) ? (Tt(s), Wn(l, s)) : Dt(l, s));
605
+ return A(), L.push(sn), W(ye), I === ve ? Dt(l, null) : I === tn ? (s = G(), A(), Ln(s, !0), x(s, "VariableDeclaration"), s.fa.length === 1 && D(xt) ? Wn(l, s) : Dt(l, s)) : (s = Y(!1, !0), D(xt) ? (Tt(s), Wn(l, s)) : Dt(l, s));
610
606
  case Qt:
611
- return $(), Ht(l, !0);
607
+ return A(), Ht(l, !0);
612
608
  case Qn:
613
- return $(), l.test = Xe(), l.da = ce(), l.alternate = F(Xn) ? ce() : null, A(l, "IfStatement");
609
+ return A(), l.test = Xe(), l.da = ue(), l.alternate = D(Xn) ? ue() : null, x(l, "IfStatement");
614
610
  case er:
615
- return et || R.Ib || r(K, "'return' outside of function"), $(), F(ve) || wt() ? l.K = null : (l.K = Y(), Ne()), A(l, "ReturnStatement");
611
+ return et || R.Ib || r(H, "'return' outside of function"), A(), D(ve) || wt() ? l.K = null : (l.K = Y(), Ne()), x(l, "ReturnStatement");
616
612
  case en:
617
- for ($(), l.Qb = Xe(), l.tb = [], L(nt), H.push(No); I !== We; )
618
- I === Zt || I === Jn ? (s = I === Zt, f && A(f, "SwitchCase"), l.tb.push(f = q()), f.da = [], $(), s ? f.test = Y() : (u && r(Jt, "Multiple default clauses"), u = !0, f.test = null), L(rt)) : (f || fe(), f.da.push(ce()));
619
- return f && A(f, "SwitchCase"), $(), H.pop(), A(l, "SwitchStatement");
613
+ for (A(), l.Qb = Xe(), l.tb = [], W(nt), L.push(Bo); I !== We; )
614
+ I === Zt || I === Jn ? (s = I === Zt, f && x(f, "SwitchCase"), l.tb.push(f = G()), f.da = [], A(), s ? f.test = Y() : (u && r(Jt, "Multiple default clauses"), u = !0, f.test = null), W(rt)) : (f || fe(), f.da.push(ue()));
615
+ return f && x(f, "SwitchCase"), A(), L.pop(), x(l, "SwitchStatement");
620
616
  case tr:
621
- return $(), Rt.test(b.slice(Re, K)) && r(Re, "Illegal newline after throw"), l.K = Y(), Ne(), A(l, "ThrowStatement");
617
+ return A(), Rt.test(b.slice($e, H)) && r($e, "Illegal newline after throw"), l.K = Y(), Ne(), x(l, "ThrowStatement");
622
618
  case nr:
623
- return $(), l.block = Ye(), l.Ea = null, I === zn && (s = q(), $(), L(ye), s.Ua = me(), re && At(s.Ua.name) && r(s.Ua.start, "Binding " + s.Ua.name + " in strict mode"), L(pe), s.body = Ye(), l.Ea = A(s, "CatchClause")), l.fb = F(Yn) ? Ye() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), A(l, "TryStatement");
619
+ return A(), l.block = Ye(), l.Ea = null, I === zn && (s = G(), A(), W(ye), s.Ua = me(), ie && At(s.Ua.name) && r(s.Ua.start, "Binding " + s.Ua.name + " in strict mode"), W(de), s.body = Ye(), l.Ea = x(s, "CatchClause")), l.fb = D(Yn) ? Ye() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), x(l, "TryStatement");
624
620
  case tn:
625
- return $(), Ln(l), Ne(), A(l, "VariableDeclaration");
621
+ return A(), Ln(l), Ne(), x(l, "VariableDeclaration");
626
622
  case nn:
627
- return $(), l.test = Xe(), H.push(sn), l.body = ce(), H.pop(), A(l, "WhileStatement");
623
+ return A(), l.test = Xe(), L.push(sn), l.body = ue(), L.pop(), x(l, "WhileStatement");
628
624
  case rr:
629
- return re && r(K, "'with' in strict mode"), $(), l.object = Xe(), l.body = ce(), A(l, "WithStatement");
625
+ return ie && r(H, "'with' in strict mode"), A(), l.object = Xe(), l.body = ue(), x(l, "WithStatement");
630
626
  case nt:
631
627
  return Ye();
632
628
  case ve:
633
- return $(), A(l, "EmptyStatement");
629
+ return A(), x(l, "EmptyStatement");
634
630
  default:
635
- if (u = ie, x = Y(), s === Me && x.type === "Identifier" && F(rt)) {
636
- for (f = 0; f < H.length; ++f)
637
- H[f].name === u && r(x.start, "Label '" + u + "' is already declared");
638
- return H.push({
631
+ if (u = le, E = Y(), s === Me && E.type === "Identifier" && D(rt)) {
632
+ for (f = 0; f < L.length; ++f)
633
+ L[f].name === u && r(E.start, "Label '" + u + "' is already declared");
634
+ return L.push({
639
635
  name: u,
640
636
  kind: I.W ? "loop" : I === en ? "switch" : null
641
- }), l.body = ce(), H.pop(), l.label = x, A(l, "LabeledStatement");
637
+ }), l.body = ue(), L.pop(), l.label = E, x(l, "LabeledStatement");
642
638
  }
643
- return l.la = x, Ne(), A(l, "ExpressionStatement");
639
+ return l.la = E, Ne(), x(l, "ExpressionStatement");
644
640
  }
645
641
  }
646
642
  function Xe() {
647
- L(ye);
643
+ W(ye);
648
644
  var s = Y();
649
- return L(pe), s;
645
+ return W(de), s;
650
646
  }
651
647
  function Ye(s) {
652
- var l = q(), u = !0, f = !1;
653
- for (l.body = [], L(nt); !F(We); ) {
654
- var x = ce();
655
- if (l.body.push(x), u && s && Ft(x)) {
656
- var z = f;
657
- Ue(f = !0);
648
+ var l = G(), u = !0, f = !1;
649
+ for (l.body = [], W(nt); !D(We); ) {
650
+ var E = ue();
651
+ if (l.body.push(E), u && s && Ut(E)) {
652
+ var K = f;
653
+ xe(f = !0);
658
654
  }
659
655
  u = !1;
660
656
  }
661
- return f && !z && Ue(!1), A(l, "BlockStatement");
657
+ return f && !K && xe(!1), x(l, "BlockStatement");
662
658
  }
663
659
  function Dt(s, l) {
664
- return s.ua = l, L(ve), s.test = I === ve ? null : Y(), L(ve), s.update = I === pe ? null : Y(), L(pe), s.body = ce(), H.pop(), A(s, "ForStatement");
660
+ return s.ua = l, W(ve), s.test = I === ve ? null : Y(), W(ve), s.update = I === de ? null : Y(), W(de), s.body = ue(), L.pop(), x(s, "ForStatement");
665
661
  }
666
662
  function Wn(s, l) {
667
- return s.left = l, s.right = Y(), L(pe), s.body = ce(), H.pop(), A(s, "ForInStatement");
663
+ return s.left = l, s.right = Y(), W(de), s.body = ue(), L.pop(), x(s, "ForInStatement");
668
664
  }
669
665
  function Ln(s, l) {
670
666
  for (s.fa = [], s.kind = "var"; ; ) {
671
- var u = q();
672
- if (u.id = me(), re && At(u.id.name) && r(u.id.start, "Binding " + u.id.name + " in strict mode"), u.ua = F(dr) ? Y(!0, l) : null, s.fa.push(A(u, "VariableDeclarator")), !F($e))
667
+ var u = G();
668
+ if (u.id = me(), ie && At(u.id.name) && r(u.id.start, "Binding " + u.id.name + " in strict mode"), u.ua = D(dr) ? Y(!0, l) : null, s.fa.push(x(u, "VariableDeclarator")), !D(Oe))
673
669
  break;
674
670
  }
675
671
  }
676
672
  function Y(s, l) {
677
673
  var u = Mt(l);
678
- if (!s && I === $e) {
679
- for (s = Ae(u), s.xb = [u]; F($e); )
674
+ if (!s && I === Oe) {
675
+ for (s = Re(u), s.xb = [u]; D(Oe); )
680
676
  s.xb.push(Mt(l));
681
- return A(s, "SequenceExpression");
677
+ return x(s, "SequenceExpression");
682
678
  }
683
679
  return u;
684
680
  }
685
681
  function Mt(s) {
686
682
  var l = Wt(Lt(), -1, s);
687
- if (F(ur)) {
688
- var u = Ae(l);
689
- u.test = l, u.da = Y(!0), L(rt), u.alternate = Y(!0, s), l = A(u, "ConditionalExpression");
683
+ if (D(ur)) {
684
+ var u = Re(l);
685
+ u.test = l, u.da = Y(!0), W(rt), u.alternate = Y(!0, s), l = x(u, "ConditionalExpression");
690
686
  }
691
- return I.Cb ? (u = Ae(l), u.operator = ie, u.left = l, $(), u.right = Mt(s), Tt(l), A(u, "AssignmentExpression")) : l;
687
+ return I.Cb ? (u = Re(l), u.operator = le, u.left = l, A(), u.right = Mt(s), Tt(l), x(u, "AssignmentExpression")) : l;
692
688
  }
693
689
  function Wt(s, l, u) {
694
690
  var f = I.L;
695
691
  if (f !== null && (!u || I !== xt) && f > l) {
696
- var x = Ae(s);
697
- return x.left = s, x.operator = ie, s = I, $(), x.right = Wt(Lt(), f, u), f = A(x, s === fr || s === mr ? "LogicalExpression" : "BinaryExpression"), Wt(f, l, u);
692
+ var E = Re(s);
693
+ return E.left = s, E.operator = le, s = I, A(), E.right = Wt(Lt(), f, u), f = x(E, s === fr || s === mr ? "LogicalExpression" : "BinaryExpression"), Wt(f, l, u);
698
694
  }
699
695
  return s;
700
696
  }
701
697
  function Lt() {
702
698
  if (I.prefix) {
703
- var s = q(), l = I.$b;
704
- return s.operator = ie, Qe = s.prefix = !0, $(), s.K = Lt(), l ? Tt(s.K) : re && s.operator === "delete" && s.K.type === "Identifier" && r(s.start, "Deleting local variable in strict mode"), A(s, l ? "UpdateExpression" : "UnaryExpression");
699
+ var s = G(), l = I.$b;
700
+ return s.operator = le, Qe = s.prefix = !0, A(), s.K = Lt(), l ? Tt(s.K) : ie && s.operator === "delete" && s.K.type === "Identifier" && r(s.start, "Deleting local variable in strict mode"), x(s, l ? "UpdateExpression" : "UnaryExpression");
705
701
  }
706
- for (l = Ze(Et()); I.cc && !wt(); )
707
- s = Ae(l), s.operator = ie, s.prefix = !1, s.K = l, Tt(l), $(), l = A(s, "UpdateExpression");
702
+ for (l = Ze(It()); I.cc && !wt(); )
703
+ s = Re(l), s.operator = le, s.prefix = !1, s.K = l, Tt(l), A(), l = x(s, "UpdateExpression");
708
704
  return l;
709
705
  }
710
706
  function Ze(s, l) {
711
- if (F(cr)) {
712
- var u = Ae(s);
713
- return u.object = s, u.Wa = me(!0), u.bb = !1, Ze(A(u, "MemberExpression"), l);
707
+ if (D(cr)) {
708
+ var u = Re(s);
709
+ return u.object = s, u.Wa = me(!0), u.bb = !1, Ze(x(u, "MemberExpression"), l);
714
710
  }
715
- return F(rn) ? (u = Ae(s), u.object = s, u.Wa = Y(), u.bb = !0, L(on), Ze(A(u, "MemberExpression"), l)) : !l && F(ye) ? (u = Ae(s), u.callee = s, u.arguments = Kt(pe, !1), Ze(A(u, "CallExpression"), l)) : s;
711
+ return D(rn) ? (u = Re(s), u.object = s, u.Wa = Y(), u.bb = !0, W(on), Ze(x(u, "MemberExpression"), l)) : !l && D(ye) ? (u = Re(s), u.callee = s, u.arguments = Kt(de, !1), Ze(x(u, "CallExpression"), l)) : s;
716
712
  }
717
- function Et() {
713
+ function It() {
718
714
  switch (I) {
719
715
  case ir:
720
- var s = q();
721
- return $(), A(s, "ThisExpression");
716
+ var s = G();
717
+ return A(), x(s, "ThisExpression");
722
718
  case Me:
723
719
  return me();
724
720
  case tt:
725
- case It:
721
+ case Et:
726
722
  case Kn:
727
- return s = q(), s.value = ie, s.raw = b.slice(K, De), $(), A(s, "Literal");
723
+ return s = G(), s.value = le, s.raw = b.slice(H, De), A(), x(s, "Literal");
728
724
  case sr:
729
725
  case ar:
730
726
  case lr:
731
- return s = q(), s.value = I.$a, s.raw = I.l, $(), A(s, "Literal");
727
+ return s = G(), s.value = I.$a, s.raw = I.l, A(), x(s, "Literal");
732
728
  case ye:
733
729
  s = Gt;
734
- var l = K;
735
- $();
730
+ var l = H;
731
+ A();
736
732
  var u = Y();
737
- return u.start = l, u.end = De, R.C && (u.X.start = s, u.X.end = qt), R.Xa && (u.j = [l, De]), L(pe), u;
733
+ return u.start = l, u.end = De, R.C && (u.X.start = s, u.X.end = qt), R.Xa && (u.j = [l, De]), W(de), u;
738
734
  case rn:
739
- return s = q(), $(), s.elements = Kt(on, !0, !0), A(s, "ArrayExpression");
735
+ return s = G(), A(), s.elements = Kt(on, !0, !0), x(s, "ArrayExpression");
740
736
  case nt:
741
- for (s = q(), l = !0, u = !1, s.h = [], $(); !F(We); ) {
737
+ for (s = G(), l = !0, u = !1, s.h = [], A(); !D(We); ) {
742
738
  if (l)
743
739
  l = !1;
744
- else if (L($e), R.sb && F(We))
740
+ else if (W(Oe), R.sb && D(We))
745
741
  break;
746
742
  var f = {
747
- key: I === tt || I === It ? Et() : me(!0)
748
- }, x = !1;
749
- if (F(rt)) {
743
+ key: I === tt || I === Et ? It() : me(!0)
744
+ }, E = !1;
745
+ if (D(rt)) {
750
746
  f.value = Y(!0);
751
- var z = f.kind = "init";
747
+ var K = f.kind = "init";
752
748
  } else
753
- f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? fe() : (x = u = !0, z = f.kind = f.key.name, f.key = I === tt || I === It ? Et() : me(!0), I !== ye && fe(), f.value = Ht(q(), !1));
754
- if (f.key.type === "Identifier" && (re || u))
755
- for (var Q = 0; Q < s.h.length; ++Q) {
756
- var He = s.h[Q];
749
+ f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? fe() : (E = u = !0, K = f.kind = f.key.name, f.key = I === tt || I === Et ? It() : me(!0), I !== ye && fe(), f.value = Ht(G(), !1));
750
+ if (f.key.type === "Identifier" && (ie || u))
751
+ for (var te = 0; te < s.h.length; ++te) {
752
+ var He = s.h[te];
757
753
  if (He.key.name === f.key.name) {
758
- var an = z === He.kind || x && He.kind === "init" || z === "init" && (He.kind === "get" || He.kind === "set");
759
- an && !re && z === "init" && He.kind === "init" && (an = !1), an && r(f.key.start, "Redefinition of property");
754
+ var an = K === He.kind || E && He.kind === "init" || K === "init" && (He.kind === "get" || He.kind === "set");
755
+ an && !ie && K === "init" && He.kind === "init" && (an = !1), an && r(f.key.start, "Redefinition of property");
760
756
  }
761
757
  }
762
758
  s.h.push(f);
763
759
  }
764
- return A(s, "ObjectExpression");
760
+ return x(s, "ObjectExpression");
765
761
  case Qt:
766
- return s = q(), $(), Ht(s, !1);
762
+ return s = G(), A(), Ht(s, !1);
767
763
  case or:
768
- return s = q(), $(), s.callee = Ze(Et(), !0), s.arguments = F(ye) ? Kt(pe, !1) : bo, A(s, "NewExpression");
764
+ return s = G(), A(), s.callee = Ze(It(), !0), s.arguments = D(ye) ? Kt(de, !1) : bo, x(s, "NewExpression");
769
765
  }
770
766
  fe();
771
767
  }
772
768
  function Ht(s, l) {
773
769
  I === Me ? s.id = me() : l ? fe() : s.id = null, s.oa = [];
774
770
  var u = !0;
775
- for (L(ye); !F(pe); )
776
- u ? u = !1 : L($e), s.oa.push(me());
771
+ for (W(ye); !D(de); )
772
+ u ? u = !1 : W(Oe), s.oa.push(me());
777
773
  u = et;
778
- var f = H;
779
- if (et = !0, H = [], s.body = Ye(!0), et = u, H = f, re || s.body.body.length && Ft(s.body.body[0])) {
774
+ var f = L;
775
+ if (et = !0, L = [], s.body = Ye(!0), et = u, L = f, ie || s.body.body.length && Ut(s.body.body[0])) {
780
776
  for (u = s.id ? -1 : 0; u < s.oa.length; ++u)
781
777
  if (f = 0 > u ? s.id : s.oa[u], (gr(f.name) || At(f.name)) && r(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= u)
782
- for (var x = 0; x < u; ++x)
783
- f.name === s.oa[x].name && r(f.start, "Argument name clash in strict mode");
778
+ for (var E = 0; E < u; ++E)
779
+ f.name === s.oa[E].name && r(f.start, "Argument name clash in strict mode");
784
780
  }
785
- return A(s, l ? "FunctionDeclaration" : "FunctionExpression");
781
+ return x(s, l ? "FunctionDeclaration" : "FunctionExpression");
786
782
  }
787
783
  function Kt(s, l, u) {
788
- for (var f = [], x = !0; !F(s); ) {
789
- if (x)
790
- x = !1;
791
- else if (L($e), l && R.sb && F(s))
784
+ for (var f = [], E = !0; !D(s); ) {
785
+ if (E)
786
+ E = !1;
787
+ else if (W(Oe), l && R.sb && D(s))
792
788
  break;
793
- f.push(u && I === $e ? null : Y(!0));
789
+ f.push(u && I === Oe ? null : Y(!0));
794
790
  }
795
791
  return f;
796
792
  }
797
793
  function me(s) {
798
- var l = q();
799
- return s && R.yb === "everywhere" && (s = !1), I === Me ? (!s && (R.yb && $o(ie) || re && gr(ie)) && b.slice(K, De).indexOf("\\") === -1 && r(K, "The keyword '" + ie + "' is reserved"), l.name = ie) : s && I.l ? l.name = I.l : fe(), Qe = !1, $(), A(l, "Identifier");
794
+ var l = G();
795
+ return s && R.yb === "everywhere" && (s = !1), I === Me ? (!s && (R.yb && $o(le) || ie && gr(le)) && b.slice(H, De).indexOf("\\") === -1 && r(H, "The keyword '" + le + "' is reserved"), l.name = le) : s && I.l ? l.name = I.l : fe(), Qe = !1, A(), x(l, "Identifier");
800
796
  }
801
797
  e.version = "0.5.0";
802
- var R, b = "", Fe, zt;
798
+ var R, b = "", Ue, zt;
803
799
  e.parse = function(s, l) {
804
- b = String(s), Fe = b.length, R = l || {};
800
+ b = String(s), Ue = b.length, R = l || {};
805
801
  for (var u in Hn)
806
802
  Object.prototype.hasOwnProperty.call(R, u) || (R[u] = Hn[u]);
807
- for (zt = R.sourceFile, Be = 1, d = ge = 0, Qe = !0, p(), u = R.dc, Jt = Re = d, R.C && (_t = new i()), et = re = !1, H = [], v(), s = u || q(), l = !0, u || (s.body = []); I !== Xt; )
808
- u = ce(), s.body.push(u), l && Ft(u) && Ue(!0), l = !1;
809
- return A(s, "Program");
803
+ for (zt = R.sourceFile, Ve = 1, d = ge = 0, Qe = !0, p(), u = R.dc, Jt = $e = d, R.C && (_t = new i()), et = ie = !1, L = [], v(), s = u || G(), l = !0, u || (s.body = []); I !== Xt; )
804
+ u = ue(), s.body.push(u), l && Ut(u) && xe(!0), l = !1;
805
+ return x(s, "Program");
810
806
  };
811
807
  var Hn = {
812
808
  fc: !1,
@@ -819,11 +815,11 @@ var N, ni = function(e) {
819
815
  dc: null,
820
816
  sourceFile: null,
821
817
  vb: null
822
- }, d = 0, K = 0, De = 0, Gt, qt, I, ie, Qe, Be, ge, Jt = 0, Re = 0, _t, et, H, re, bo = [], tt = {
818
+ }, d = 0, H = 0, De = 0, Gt, qt, I, le, Qe, Ve, ge, Jt = 0, $e = 0, _t, et, L, ie, bo = [], tt = {
823
819
  type: "num"
824
820
  }, Kn = {
825
821
  type: "regexp"
826
- }, It = {
822
+ }, Et = {
827
823
  type: "string"
828
824
  }, Me = {
829
825
  type: "name"
@@ -951,9 +947,9 @@ var N, ni = function(e) {
951
947
  }, ye = {
952
948
  type: "(",
953
949
  m: !0
954
- }, pe = {
950
+ }, de = {
955
951
  type: ")"
956
- }, $e = {
952
+ }, Oe = {
957
953
  type: ",",
958
954
  m: !0
959
955
  }, ve = {
@@ -973,7 +969,7 @@ var N, ni = function(e) {
973
969
  }, dr = {
974
970
  Cb: !0,
975
971
  m: !0
976
- }, Ve = {
972
+ }, Fe = {
977
973
  Cb: !0,
978
974
  m: !0
979
975
  }, So = {
@@ -998,10 +994,10 @@ var N, ni = function(e) {
998
994
  }, To = {
999
995
  L: 5,
1000
996
  m: !0
1001
- }, Eo = {
997
+ }, Io = {
1002
998
  L: 6,
1003
999
  m: !0
1004
- }, Io = {
1000
+ }, Eo = {
1005
1001
  L: 7,
1006
1002
  m: !0
1007
1003
  }, xo = {
@@ -1016,7 +1012,7 @@ var N, ni = function(e) {
1016
1012
  m: !0
1017
1013
  }, $o = o("class enum extends super const export import"), gr = o("implements interface let package private protected public static yield"), At = o("eval arguments"), Oo = 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"), Po = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, yr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), jo = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), Rt = /[\n\r\u2028\u2029]/, $t = /\r\n|[\n\r\u2028\u2029]/g, Le, sn = {
1018
1014
  kind: "loop"
1019
- }, No = {
1015
+ }, Bo = {
1020
1016
  kind: "switch"
1021
1017
  };
1022
1018
  }, gn = gn = typeof globalThis > "u" ? void 0 : globalThis;
@@ -1050,7 +1046,7 @@ var vr = {
1050
1046
  configurable: !0,
1051
1047
  enumerable: !1,
1052
1048
  writable: !0
1053
- }, te = {
1049
+ }, re = {
1054
1050
  configurable: !0,
1055
1051
  enumerable: !1,
1056
1052
  writable: !1
@@ -1070,8 +1066,8 @@ var vr = {
1070
1066
  VALUE_IN_DESCRIPTOR: !0
1071
1067
  }, Ke = {
1072
1068
  REGEXP_TIMEOUT: !0
1073
- }, kr = [], Se = null, pt = null, Pe = typeof globalThis > "u" ? void 0 : globalThis, ri = ["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();", "};"];
1074
- function En(e) {
1069
+ }, kr = [], Se = null, pt = null, je = typeof globalThis > "u" ? void 0 : globalThis, ri = ["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();", "};"];
1070
+ function In(e) {
1075
1071
  var t = e >>> 0;
1076
1072
  return t === Number(e) ? t : NaN;
1077
1073
  }
@@ -1090,18 +1086,18 @@ function Vt(e, t, n) {
1090
1086
  g.prototype.REGEXP_MODE = 2;
1091
1087
  g.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
1092
1088
  g.prototype.POLYFILL_TIMEOUT = 1e3;
1093
- N = g.prototype;
1094
- N.P = !1;
1095
- N.Ka = !1;
1096
- N.Kb = 0;
1097
- N.ic = 0;
1089
+ B = g.prototype;
1090
+ B.P = !1;
1091
+ B.Ka = !1;
1092
+ B.Kb = 0;
1093
+ B.ic = 0;
1098
1094
  function Ge(e, t) {
1099
1095
  var n = {}, r;
1100
1096
  for (r in vr)
1101
1097
  n[r] = vr[r];
1102
- return n.sourceFile = t, Pe.j.parse(e, n);
1098
+ return n.sourceFile = t, je.j.parse(e, n);
1103
1099
  }
1104
- N.Jb = function(e) {
1100
+ B.Jb = function(e) {
1105
1101
  var t = this.o[0];
1106
1102
  if (!t || t.node.type !== "Program")
1107
1103
  throw Error("Expecting original AST to start with a Program node");
@@ -1109,7 +1105,7 @@ N.Jb = function(e) {
1109
1105
  throw Error("Expecting new AST to start with a Program node");
1110
1106
  yt(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
1111
1107
  };
1112
- N.lb = function() {
1108
+ B.lb = function() {
1113
1109
  var e = this.o, t;
1114
1110
  do {
1115
1111
  var n = e[e.length - 1];
@@ -1147,13 +1143,13 @@ N.lb = function() {
1147
1143
  } while (!r.end && t > Date.now());
1148
1144
  return !0;
1149
1145
  };
1150
- N.Eb = function() {
1146
+ B.Eb = function() {
1151
1147
  for (; !this.za && this.lb(); )
1152
1148
  ;
1153
1149
  return this.za;
1154
1150
  };
1155
1151
  function oi(e, t) {
1156
- e.g(t, "NaN", NaN, it), e.g(t, "Infinity", 1 / 0, it), e.g(t, "undefined", void 0, it), e.g(t, "window", t, Tn), e.g(t, "this", t, it), e.g(t, "self", t), e.M = new O(null), e.Z = new O(e.M), ii(e, t), si(e, t), t.xa = e.M, e.g(t, "constructor", e.v, k), ai(e, t), li(e, t), ci(e, t), ui(e, t), pi(e, t), di(e, t), hi(e, t), fi(e, t), mi(e, t);
1152
+ e.g(t, "NaN", NaN, it), e.g(t, "Infinity", 1 / 0, it), e.g(t, "undefined", void 0, it), e.g(t, "window", t, Tn), e.g(t, "this", t, it), e.g(t, "self", t), e.M = new $(null), e.Z = new $(e.M), ii(e, t), si(e, t), t.xa = e.M, e.g(t, "constructor", e.v, k), ai(e, t), li(e, t), ci(e, t), ui(e, t), pi(e, t), di(e, t), hi(e, t), fi(e, t), mi(e, t);
1157
1153
  var n = e.i(function() {
1158
1154
  throw EvalError("Can't happen");
1159
1155
  }, !1);
@@ -1178,7 +1174,7 @@ function oi(e, t) {
1178
1174
  Cr(e, i);
1179
1175
  }, e.g(t, "clearInterval", e.i(n, !1), k), 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);
1180
1176
  }
1181
- N.Wb = 0;
1177
+ B.Wb = 0;
1182
1178
  function ii(e, t) {
1183
1179
  var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
1184
1180
  var i = arguments.length ? String(arguments[arguments.length - 1]) : "", a = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
@@ -1198,20 +1194,20 @@ function ii(e, t) {
1198
1194
  return m.body.length !== 1 && w(e, e.T, "Invalid code in function body"), An(e, m.body[0].la, e.N, "anonymous");
1199
1195
  };
1200
1196
  e.O = e.i(r, !0), e.g(t, "Function", e.O, k), e.g(e.O, "prototype", e.Z, k), e.g(e.Z, "constructor", e.O, k), e.Z.Ta = function() {
1201
- }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, te), e.Z.H = "Function", r = function(o, i) {
1197
+ }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, re), e.Z.H = "Function", r = function(o, i) {
1202
1198
  var a = e.o[e.o.length - 1];
1203
- a.U = this, a.B = o, a.F = [], i != null && (i instanceof O ? a.F = Wr(e, i) : w(e, e.j, "CreateListFromArrayLike called on non-object")), a.eb = !1;
1204
- }, G(e, e.O, "apply", r), r = function(o) {
1199
+ a.U = this, a.B = o, a.F = [], i != null && (i instanceof $ ? a.F = Wr(e, i) : w(e, e.j, "CreateListFromArrayLike called on non-object")), a.eb = !1;
1200
+ }, z(e, e.O, "apply", r), r = function(o) {
1205
1201
  var i = e.o[e.o.length - 1];
1206
1202
  i.U = this, i.B = o, i.F = [];
1207
1203
  for (var a = 1; a < arguments.length; a++)
1208
1204
  i.F.push(arguments[a]);
1209
1205
  i.eb = !1;
1210
- }, G(e, e.O, "call", r), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), r = function() {
1206
+ }, z(e, e.O, "call", r), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), r = function() {
1211
1207
  return String(this);
1212
- }, G(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), k), r = function() {
1208
+ }, z(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), k), r = function() {
1213
1209
  return this.valueOf();
1214
- }, G(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), k);
1210
+ }, z(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), k);
1215
1211
  }
1216
1212
  function si(e, t) {
1217
1213
  function n(o) {
@@ -1219,23 +1215,23 @@ function si(e, t) {
1219
1215
  }
1220
1216
  var r = function(o) {
1221
1217
  if (o == null)
1222
- return Ie(e) ? this : e.s(e.M);
1223
- if (!(o instanceof O)) {
1218
+ return Ee(e) ? this : e.s(e.M);
1219
+ if (!(o instanceof $)) {
1224
1220
  var i = e.s(Ce(e, o));
1225
1221
  return i.data = o, i;
1226
1222
  }
1227
1223
  return o;
1228
1224
  };
1229
1225
  e.v = e.i(r, !0), e.g(e.v, "prototype", e.M, k), e.g(e.M, "constructor", e.v, k), e.g(t, "Object", e.v, k), r = function(o) {
1230
- return n(o), ke(e, Object.getOwnPropertyNames(o instanceof O ? o.h : o));
1226
+ return n(o), ke(e, Object.getOwnPropertyNames(o instanceof $ ? o.h : o));
1231
1227
  }, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), k), r = function(o) {
1232
- return n(o), o instanceof O && (o = o.h), ke(e, Object.keys(o));
1228
+ return n(o), o instanceof $ && (o = o.h), ke(e, Object.keys(o));
1233
1229
  }, e.g(e.v, "keys", e.i(r, !1), k), r = function(o) {
1234
- return o === null ? e.s(null) : (o instanceof O || w(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
1230
+ return o === null ? e.s(null) : (o instanceof $ || w(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
1235
1231
  }, e.g(e.v, "create", e.i(r, !1), k), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), r = function(o, i, a) {
1236
- return i = String(i), o instanceof O || w(e, e.j, "Object.defineProperty called on non-object: " + o), a instanceof O || w(e, e.j, "Property description must be an object"), !o.preventExtensions || i in o.h || w(e, e.j, "Can't define property '" + i + "', object is not extensible"), e.g(o, i, gt, a.h), o;
1232
+ return i = String(i), o instanceof $ || w(e, e.j, "Object.defineProperty called on non-object: " + o), a instanceof $ || w(e, e.j, "Property description must be an object"), !o.preventExtensions || i in o.h || w(e, e.j, "Can't define property '" + i + "', object is not extensible"), e.g(o, i, gt, a.h), o;
1237
1233
  }, e.g(e.v, "defineProperty", e.i(r, !1), k), e.ba.push("(function() {", "var defineProperty_ = Object.defineProperty;", "Object.defineProperty = function defineProperty(obj, prop, d1) {", "var d2 = {};", "if ('configurable' in d1) d2.configurable = d1.configurable;", "if ('enumerable' in d1) d2.enumerable = d1.enumerable;", "if ('writable' in d1) d2.writable = d1.writable;", "if ('value' in d1) d2.value = d1.value;", "if ('get' in d1) d2.get = d1.get;", "if ('set' in d1) d2.set = d1.set;", "return defineProperty_(obj, prop, d2);", "};", "})();", "Object.defineProperty(Object, 'defineProperties',", "{configurable: true, writable: true, value:", "function defineProperties(obj, props) {", "var keys = Object.keys(props);", "for (var i = 0; i < keys.length; i++) {", "Object.defineProperty(obj, keys[i], props[keys[i]]);", "}", "return obj;", "}", "});", ""), r = function(o, i) {
1238
- if (o instanceof O || w(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), i = String(i), i in o.h) {
1234
+ if (o instanceof $ || w(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), i = String(i), i in o.h) {
1239
1235
  var a = Object.getOwnPropertyDescriptor(o.h, i), c = o.V[i];
1240
1236
  return o = o.Y[i], i = e.s(e.M), c || o ? (e.g(i, "get", c), e.g(i, "set", o)) : (e.g(i, "value", a.value), e.g(i, "writable", a.writable)), e.g(i, "configurable", a.configurable), e.g(i, "enumerable", a.enumerable), i;
1241
1237
  }
@@ -1244,25 +1240,25 @@ function si(e, t) {
1244
1240
  }, e.g(e.v, "getPrototypeOf", e.i(r, !1), k), r = function(o) {
1245
1241
  return !!o && !o.preventExtensions;
1246
1242
  }, e.g(e.v, "isExtensible", e.i(r, !1), k), r = function(o) {
1247
- return o instanceof O && (o.preventExtensions = !0), o;
1248
- }, e.g(e.v, "preventExtensions", e.i(r, !1), k), G(e, e.v, "toString", O.prototype.toString), G(e, e.v, "toLocaleString", O.prototype.toString), G(e, e.v, "valueOf", O.prototype.valueOf), r = function(o) {
1249
- return n(this), this instanceof O ? String(o) in this.h : this.hasOwnProperty(o);
1250
- }, G(e, e.v, "hasOwnProperty", r), r = function(o) {
1251
- return n(this), this instanceof O ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
1252
- }, G(e, e.v, "propertyIsEnumerable", r), r = function(o) {
1243
+ return o instanceof $ && (o.preventExtensions = !0), o;
1244
+ }, e.g(e.v, "preventExtensions", e.i(r, !1), k), z(e, e.v, "toString", $.prototype.toString), z(e, e.v, "toLocaleString", $.prototype.toString), z(e, e.v, "valueOf", $.prototype.valueOf), r = function(o) {
1245
+ return n(this), this instanceof $ ? String(o) in this.h : this.hasOwnProperty(o);
1246
+ }, z(e, e.v, "hasOwnProperty", r), r = function(o) {
1247
+ return n(this), this instanceof $ ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
1248
+ }, z(e, e.v, "propertyIsEnumerable", r), r = function(o) {
1253
1249
  for (; ; ) {
1254
1250
  if (o = Ce(e, o), !o)
1255
1251
  return !1;
1256
1252
  if (o === this)
1257
1253
  return !0;
1258
1254
  }
1259
- }, G(e, e.v, "isPrototypeOf", r);
1255
+ }, z(e, e.v, "isPrototypeOf", r);
1260
1256
  }
1261
1257
  function ai(e, t) {
1262
1258
  var n = function(r) {
1263
- var o = Ie(e) ? this : qe(e), i = arguments[0];
1259
+ var o = Ee(e) ? this : qe(e), i = arguments[0];
1264
1260
  if (arguments.length === 1 && typeof i == "number")
1265
- isNaN(En(i)) && w(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1261
+ isNaN(In(i)) && w(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1266
1262
  else {
1267
1263
  for (i = 0; i < arguments.length; i++)
1268
1264
  o.h[i] = arguments[i];
@@ -1280,10 +1276,10 @@ function ai(e, t) {
1280
1276
  }
1281
1277
  function li(e, t) {
1282
1278
  var n = function(r) {
1283
- return r = arguments.length ? Pe.String(r) : "", Ie(e) ? (this.data = r, this) : r;
1279
+ return r = arguments.length ? je.String(r) : "", Ee(e) ? (this.data = r, this) : r;
1284
1280
  };
1285
1281
  for (e.J = e.i(n, !0), e.g(t, "String", e.J, k), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), k), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
1286
- G(e, e.J, t[n], String.prototype[t[n]]);
1282
+ z(e, e.J, t[n], String.prototype[t[n]]);
1287
1283
  n = function(r, o, i) {
1288
1284
  o = e.R(o), i = e.R(i);
1289
1285
  try {
@@ -1291,9 +1287,9 @@ function li(e, t) {
1291
1287
  } catch (a) {
1292
1288
  w(e, e.D, "localeCompare: " + a.message);
1293
1289
  }
1294
- }, G(e, e.J, "localeCompare", n), n = function(r, o, i) {
1290
+ }, z(e, e.J, "localeCompare", n), n = function(r, o, i) {
1295
1291
  var a = String(this);
1296
- if (o = o ? Number(o) : void 0, J(e, r, e.I) && (r = r.data, at(e, r, i), e.REGEXP_MODE === 2)) {
1292
+ if (o = o ? Number(o) : void 0, q(e, r, e.I) && (r = r.data, at(e, r, i), e.REGEXP_MODE === 2)) {
1297
1293
  if (Se)
1298
1294
  r = st(e, "string.split(separator, limit)", {
1299
1295
  string: a,
@@ -1311,7 +1307,7 @@ function li(e, t) {
1311
1307
  r = a.split(r, o), i(ke(e, r));
1312
1308
  }, ct(e, e.J, "split", n), n = function(r, o) {
1313
1309
  var i = String(this);
1314
- if (r = J(e, r, e.I) ? r.data : new RegExp(r), at(e, r, o), e.REGEXP_MODE === 2)
1310
+ if (r = q(e, r, e.I) ? r.data : new RegExp(r), at(e, r, o), e.REGEXP_MODE === 2)
1315
1311
  if (Se)
1316
1312
  r = st(e, "string.match(regexp)", {
1317
1313
  string: i,
@@ -1327,7 +1323,7 @@ function li(e, t) {
1327
1323
  r = i.match(r), o(r && ke(e, r));
1328
1324
  }, ct(e, e.J, "match", n), n = function(r, o) {
1329
1325
  var i = String(this);
1330
- if (J(e, r, e.I) ? r = r.data : r = new RegExp(r), at(e, r, o), e.REGEXP_MODE === 2)
1326
+ if (q(e, r, e.I) ? r = r.data : r = new RegExp(r), at(e, r, o), e.REGEXP_MODE === 2)
1331
1327
  if (Se)
1332
1328
  r = st(e, "string.search(regexp)", {
1333
1329
  string: i,
@@ -1343,7 +1339,7 @@ function li(e, t) {
1343
1339
  o(i.search(r));
1344
1340
  }, ct(e, e.J, "search", n), n = function(r, o, i) {
1345
1341
  var a = String(this);
1346
- if (o = String(o), J(e, r, e.I) && (r = r.data, at(e, r, i), e.REGEXP_MODE === 2)) {
1342
+ if (o = String(o), q(e, r, e.I) && (r = r.data, at(e, r, i), e.REGEXP_MODE === 2)) {
1347
1343
  if (Se)
1348
1344
  r = st(e, "string.replace(substr, newSubstr)", {
1349
1345
  string: a,
@@ -1363,12 +1359,12 @@ function li(e, t) {
1363
1359
  }
1364
1360
  function ci(e, t) {
1365
1361
  e.mb = e.i(function(n) {
1366
- return n = Pe.Boolean(n), Ie(e) ? (this.data = n, this) : n;
1362
+ return n = je.Boolean(n), Ee(e) ? (this.data = n, this) : n;
1367
1363
  }, !0), e.g(t, "Boolean", e.mb, k);
1368
1364
  }
1369
1365
  function ui(e, t) {
1370
1366
  var n = function(r) {
1371
- return r = arguments.length ? Pe.Number(r) : 0, Ie(e) ? (this.data = r, this) : r;
1367
+ return r = arguments.length ? je.Number(r) : 0, Ee(e) ? (this.data = r, this) : r;
1372
1368
  };
1373
1369
  for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, k), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
1374
1370
  e.g(e.aa, t[n], Number[t[n]], it);
@@ -1378,39 +1374,39 @@ function ui(e, t) {
1378
1374
  } catch (o) {
1379
1375
  w(e, e.D, o.message);
1380
1376
  }
1381
- }, G(e, e.aa, "toExponential", n), n = function(r) {
1377
+ }, z(e, e.aa, "toExponential", n), n = function(r) {
1382
1378
  try {
1383
1379
  return Number(this).toFixed(r);
1384
1380
  } catch (o) {
1385
1381
  w(e, e.D, o.message);
1386
1382
  }
1387
- }, G(e, e.aa, "toFixed", n), n = function(r) {
1383
+ }, z(e, e.aa, "toFixed", n), n = function(r) {
1388
1384
  try {
1389
1385
  return Number(this).toPrecision(r);
1390
1386
  } catch (o) {
1391
1387
  w(e, e.D, o.message);
1392
1388
  }
1393
- }, G(e, e.aa, "toPrecision", n), n = function(r) {
1389
+ }, z(e, e.aa, "toPrecision", n), n = function(r) {
1394
1390
  try {
1395
1391
  return Number(this).toString(r);
1396
1392
  } catch (o) {
1397
1393
  w(e, e.D, o.message);
1398
1394
  }
1399
- }, G(e, e.aa, "toString", n), n = function(r, o) {
1395
+ }, z(e, e.aa, "toString", n), n = function(r, o) {
1400
1396
  r = r ? e.R(r) : void 0, o = o ? e.R(o) : void 0;
1401
1397
  try {
1402
1398
  return Number(this).toLocaleString(r, o);
1403
1399
  } catch (i) {
1404
1400
  w(e, e.D, "toLocaleString: " + i.message);
1405
1401
  }
1406
- }, G(e, e.aa, "toLocaleString", n);
1402
+ }, z(e, e.aa, "toLocaleString", n);
1407
1403
  }
1408
1404
  function pi(e, t) {
1409
1405
  var n = function(o, i) {
1410
- if (!Ie(e))
1411
- return Pe.Date();
1406
+ if (!Ee(e))
1407
+ return je.Date();
1412
1408
  var a = [null].concat(Array.from(arguments));
1413
- return this.data = new (Function.prototype.bind.apply(Pe.Date, a))(), this;
1409
+ return this.data = new (Function.prototype.bind.apply(je.Date, a))(), this;
1414
1410
  };
1415
1411
  e.$ = e.i(n, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, k), e.g(e.$, "now", e.i(Date.now, !1), k), e.g(e.$, "parse", e.i(Date.parse, !1), k), e.g(e.$, "UTC", e.i(Date.UTC, !1), k), t = "getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");
1416
1412
  for (var r = 0; r < t.length; r++)
@@ -1422,26 +1418,26 @@ function pi(e, t) {
1422
1418
  c[p] = e.R(arguments[p]);
1423
1419
  return a[o].apply(a, c);
1424
1420
  };
1425
- }(t[r]), G(e, e.$, t[r], n);
1421
+ }(t[r]), z(e, e.$, t[r], n);
1426
1422
  }
1427
1423
  function di(e, t) {
1428
1424
  var n = function(r, o) {
1429
- if (Ie(e))
1425
+ if (Ee(e))
1430
1426
  var i = this;
1431
1427
  else {
1432
- if (o === void 0 && J(e, r, e.I))
1428
+ if (o === void 0 && q(e, r, e.I))
1433
1429
  return r;
1434
1430
  i = e.s(e.Ma);
1435
1431
  }
1436
1432
  r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) || w(e, e.T, "Invalid regexp flag: " + o);
1437
1433
  try {
1438
- var a = new Pe.RegExp(r, o);
1434
+ var a = new je.RegExp(r, o);
1439
1435
  } catch (c) {
1440
1436
  w(e, e.T, c.message);
1441
1437
  }
1442
- return In(e, i, a), i;
1438
+ return En(e, i, a), i;
1443
1439
  };
1444
- e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, k), e.g(e.I.h.prototype, "global", void 0, te), e.g(e.I.h.prototype, "ignoreCase", void 0, te), e.g(e.I.h.prototype, "multiline", void 0, te), e.g(e.I.h.prototype, "source", "(?:)", te), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
1440
+ e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, k), e.g(e.I.h.prototype, "global", void 0, re), e.g(e.I.h.prototype, "ignoreCase", void 0, re), e.g(e.I.h.prototype, "multiline", void 0, re), e.g(e.I.h.prototype, "source", "(?:)", re), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
1445
1441
  function i(v) {
1446
1442
  if (v) {
1447
1443
  var h = ke(e, v);
@@ -1469,13 +1465,13 @@ function di(e, t) {
1469
1465
  function hi(e, t) {
1470
1466
  function n(r) {
1471
1467
  var o = e.i(function(i) {
1472
- var a = Ie(e) ? this : e.Aa(o);
1468
+ var a = Ee(e) ? this : e.Aa(o);
1473
1469
  return yn(e, a, i), a;
1474
1470
  }, !0);
1475
1471
  return e.g(o, "prototype", e.Aa(e.D), k), e.g(o.h.prototype, "name", r, k), e.g(t, r, o, k), o;
1476
1472
  }
1477
1473
  e.D = e.i(function(r) {
1478
- var o = Ie(e) ? this : e.Aa(e.D);
1474
+ var o = Ee(e) ? this : e.Aa(e.D);
1479
1475
  return yn(e, o, r), o;
1480
1476
  }, !0), e.g(t, "Error", e.D, k), e.g(e.D.h.prototype, "message", "", k), e.g(e.D.h.prototype, "name", "Error", k), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
1481
1477
  }
@@ -1484,7 +1480,7 @@ function fi(e, t) {
1484
1480
  e.g(t, "Math", n, k);
1485
1481
  var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
1486
1482
  for (t = 0; t < r.length; t++)
1487
- e.g(n, r[t], Math[r[t]], te);
1483
+ e.g(n, r[t], Math[r[t]], re);
1488
1484
  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++)
1489
1485
  e.g(n, r[t], e.i(Math[r[t]], !1), k);
1490
1486
  }
@@ -1509,7 +1505,7 @@ function mi(e, t) {
1509
1505
  return a;
1510
1506
  }, e.g(n, "stringify", e.i(t, !1));
1511
1507
  }
1512
- function J(e, t, n) {
1508
+ function q(e, t, n) {
1513
1509
  if (t == null || !n)
1514
1510
  return !1;
1515
1511
  if (n = n.h.prototype, t === n)
@@ -1521,8 +1517,8 @@ function J(e, t, n) {
1521
1517
  }
1522
1518
  return !1;
1523
1519
  }
1524
- function In(e, t, n) {
1525
- t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, k), e.g(t, "source", n.source, te), e.g(t, "global", n.global, te), e.g(t, "ignoreCase", n.ignoreCase, te), e.g(t, "multiline", n.multiline, te);
1520
+ function En(e, t, n) {
1521
+ t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, k), e.g(t, "source", n.source, re), e.g(t, "global", n.global, re), e.g(t, "ignoreCase", n.ignoreCase, re), e.g(t, "multiline", n.multiline, re);
1526
1522
  }
1527
1523
  function yn(e, t, n) {
1528
1524
  n && e.g(t, "message", String(n), k), n = [];
@@ -1541,7 +1537,7 @@ function yn(e, t, n) {
1541
1537
  }
1542
1538
  e.g(t, "stack", i.trim(), k);
1543
1539
  }
1544
- N.ha = function() {
1540
+ B.ha = function() {
1545
1541
  var e = this.ha.Mb;
1546
1542
  return e || (e = new Blob([ri.join(`
1547
1543
  `)], {
@@ -1587,13 +1583,13 @@ function lt(e, t, n, r) {
1587
1583
  }
1588
1584
  }, e.REGEXP_THREAD_TIMEOUT);
1589
1585
  }
1590
- N.Aa = function(e) {
1586
+ B.Aa = function(e) {
1591
1587
  return this.s(e && e.h.prototype);
1592
1588
  };
1593
- N.s = function(e) {
1589
+ B.s = function(e) {
1594
1590
  if (typeof e != "object")
1595
1591
  throw Error("Non object prototype");
1596
- return e = new O(e), J(this, e, this.D) && (e.H = "Error"), e;
1592
+ return e = new $(e), q(this, e, this.D) && (e.H = "Error"), e;
1597
1593
  };
1598
1594
  function qe(e) {
1599
1595
  var t = e.s(e.La);
@@ -1605,27 +1601,27 @@ function qe(e) {
1605
1601
  }
1606
1602
  function xn(e, t, n) {
1607
1603
  var r = e.s(e.Z);
1608
- return n ? (n = e.s(e.M), e.g(r, "prototype", n, k), e.g(n, "constructor", r, k)) : r.Ab = !0, e.g(r, "length", t, te), r.H = "Function", r;
1604
+ return n ? (n = e.s(e.M), e.g(r, "prototype", n, k), e.g(n, "constructor", r, k)) : r.Ab = !0, e.g(r, "length", t, re), r.H = "Function", r;
1609
1605
  }
1610
1606
  function An(e, t, n, r) {
1611
1607
  var o = xn(e, t.oa.length, !0);
1612
- return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", te), o;
1608
+ return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", re), o;
1613
1609
  }
1614
- N.i = function(e, t) {
1615
- return t = xn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, te), t;
1610
+ B.i = function(e, t) {
1611
+ return t = xn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, re), t;
1616
1612
  };
1617
- N.ub = function(e) {
1613
+ B.ub = function(e) {
1618
1614
  var t = xn(this, e.length, !0);
1619
- return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, te), t;
1615
+ return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, re), t;
1620
1616
  };
1621
- N.Ia = function(e) {
1622
- if (e instanceof O)
1617
+ B.Ia = function(e) {
1618
+ if (e instanceof $)
1623
1619
  throw Error("Object is already pseudo");
1624
1620
  if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
1625
1621
  return e;
1626
1622
  if (e instanceof RegExp) {
1627
1623
  var t = this.s(this.Ma);
1628
- return In(this, t, e), t;
1624
+ return En(this, t, e), t;
1629
1625
  }
1630
1626
  if (e instanceof Date)
1631
1627
  return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
@@ -1649,14 +1645,14 @@ N.Ia = function(e) {
1649
1645
  this.g(t, r, this.Ia(e[r]));
1650
1646
  return t;
1651
1647
  };
1652
- N.R = function(e, t) {
1648
+ B.R = function(e, t) {
1653
1649
  if (typeof e != "object" && typeof e != "function" || e === null)
1654
1650
  return e;
1655
- if (!(e instanceof O))
1651
+ if (!(e instanceof $))
1656
1652
  throw Error("Object is not pseudo");
1657
- if (J(this, e, this.I))
1653
+ if (q(this, e, this.I))
1658
1654
  return t = new RegExp(e.data.source, e.data.flags), t.lastIndex = e.data.lastIndex, t;
1659
- if (J(this, e, this.$))
1655
+ if (q(this, e, this.$))
1660
1656
  return new Date(e.data.valueOf());
1661
1657
  t = t || {
1662
1658
  hb: [],
@@ -1665,10 +1661,10 @@ N.R = function(e, t) {
1665
1661
  var n = t.hb.indexOf(e);
1666
1662
  if (n !== -1)
1667
1663
  return t.Sa[n];
1668
- if (t.hb.push(e), J(this, e, this.qa)) {
1664
+ if (t.hb.push(e), q(this, e, this.qa)) {
1669
1665
  n = [], t.Sa.push(n);
1670
1666
  for (var r = this.G(e, "length"), o = 0; o < r; o++)
1671
- Ut(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1667
+ Ft(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1672
1668
  } else
1673
1669
  for (r in n = {}, t.Sa.push(n), e.h)
1674
1670
  o = this.R(e.h[r], t), Object.defineProperty(n, r, {
@@ -1688,7 +1684,7 @@ function Wr(e, t) {
1688
1684
  var n = [], r;
1689
1685
  for (r in t.h)
1690
1686
  n[r] = e.G(t, r);
1691
- return n.length = En(e.G(t, "length")) || 0, n;
1687
+ return n.length = In(e.G(t, "length")) || 0, n;
1692
1688
  }
1693
1689
  function Ce(e, t) {
1694
1690
  switch (typeof t) {
@@ -1701,15 +1697,15 @@ function Ce(e, t) {
1701
1697
  }
1702
1698
  return t ? t.xa : null;
1703
1699
  }
1704
- N.G = function(e, t) {
1700
+ B.G = function(e, t) {
1705
1701
  if (this.P)
1706
1702
  throw Error("Getter not supported in that context");
1707
- if (t = String(t), e != null || w(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof O))
1703
+ if (t = String(t), e != null || w(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof $))
1708
1704
  throw TypeError("Expecting native value or pseudo object");
1709
1705
  if (t === "length") {
1710
- if (J(this, e, this.J))
1706
+ if (q(this, e, this.J))
1711
1707
  return String(e).length;
1712
- } else if (64 > t.charCodeAt(0) && J(this, e, this.J)) {
1708
+ } else if (64 > t.charCodeAt(0) && q(this, e, this.J)) {
1713
1709
  var n = dt(t);
1714
1710
  if (!isNaN(n) && n < String(e).length)
1715
1711
  return String(e)[n];
@@ -1719,12 +1715,12 @@ N.G = function(e, t) {
1719
1715
  return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
1720
1716
  while (e = Ce(this, e));
1721
1717
  };
1722
- function Ut(e, t, n) {
1723
- if (!(t instanceof O))
1718
+ function Ft(e, t, n) {
1719
+ if (!(t instanceof $))
1724
1720
  throw TypeError("Primitive data type has no properties");
1725
- if (n = String(n), n === "length" && J(e, t, e.J))
1721
+ if (n = String(n), n === "length" && q(e, t, e.J))
1726
1722
  return !0;
1727
- if (J(e, t, e.J)) {
1723
+ if (q(e, t, e.J)) {
1728
1724
  var r = dt(n);
1729
1725
  if (!isNaN(r) && r < String(t).length)
1730
1726
  return !0;
@@ -1735,15 +1731,15 @@ function Ut(e, t, n) {
1735
1731
  while (t = Ce(e, t));
1736
1732
  return !1;
1737
1733
  }
1738
- N.g = function(e, t, n, r) {
1734
+ B.g = function(e, t, n, r) {
1739
1735
  if (this.Ka)
1740
1736
  throw Error("Setter not supported in that context");
1741
- if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof O))
1737
+ if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof $))
1742
1738
  throw TypeError("Expecting native value or pseudo object");
1743
1739
  r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && w(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1744
1740
  var o = !this.o || Rn(this).S;
1745
- if (e instanceof O) {
1746
- if (J(this, e, this.J)) {
1741
+ if (e instanceof $) {
1742
+ if (q(this, e, this.J)) {
1747
1743
  var i = dt(t);
1748
1744
  if (t === "length" || !isNaN(i) && i < String(e).length) {
1749
1745
  o && w(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
@@ -1757,7 +1753,7 @@ N.g = function(e, t, n, r) {
1757
1753
  return;
1758
1754
  n = r.value;
1759
1755
  }
1760
- if (n = En(n), isNaN(n) && w(this, this.ob, "Invalid array length"), n < i)
1756
+ if (n = In(n), isNaN(n) && w(this, this.ob, "Invalid array length"), n < i)
1761
1757
  for (a in e.h) {
1762
1758
  var a = dt(a);
1763
1759
  !isNaN(a) && n <= a && delete e.h[a];
@@ -1797,13 +1793,13 @@ N.g = function(e, t, n, r) {
1797
1793
  } else
1798
1794
  o && w(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1799
1795
  };
1800
- N.g.ac = function() {
1796
+ B.g.ac = function() {
1801
1797
  throw Error("Placeholder getter");
1802
1798
  };
1803
- N.g.bc = function() {
1799
+ B.g.bc = function() {
1804
1800
  throw Error("Placeholder setter");
1805
1801
  };
1806
- function G(e, t, n, r) {
1802
+ function z(e, t, n, r) {
1807
1803
  e.g(t.h.prototype, n, e.i(r, !1), k);
1808
1804
  }
1809
1805
  function ct(e, t, n, r) {
@@ -1835,7 +1831,7 @@ function On(e, t) {
1835
1831
  return n.object.h[t];
1836
1832
  n = n.Va;
1837
1833
  }
1838
- if (n === e.N && Ut(e, n.object, t))
1834
+ if (n === e.N && Ft(e, n.object, t))
1839
1835
  return e.G(n.object, t);
1840
1836
  n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || w(e, e.pb, t + " is not defined");
1841
1837
  }
@@ -1851,7 +1847,7 @@ function Lr(e, t, n) {
1851
1847
  }
1852
1848
  r = r.Va;
1853
1849
  }
1854
- if (r === e.N && (!o || Ut(e, r.object, t)))
1850
+ if (r === e.N && (!o || Ft(e, r.object, t)))
1855
1851
  return e.g(r.object, t, n);
1856
1852
  w(e, e.pb, t + " is not defined");
1857
1853
  }
@@ -1904,7 +1900,7 @@ function yt(e, t, n) {
1904
1900
  r[a] === !0 ? e.g(n.object, a, void 0, br) : e.g(n.object, a, An(e, r[a], n), br);
1905
1901
  return r;
1906
1902
  }
1907
- function Ie(e) {
1903
+ function Ee(e) {
1908
1904
  return e.o[e.o.length - 1].isConstructor;
1909
1905
  }
1910
1906
  function Pn(e, t) {
@@ -1914,7 +1910,7 @@ function jn(e, t, n) {
1914
1910
  return t[0] === Je ? Lr(e, t[1], n) : e.g(t[0], t[1], n);
1915
1911
  }
1916
1912
  function w(e, t, n) {
1917
- throw e.N ? (n !== void 0 && t instanceof O && (t = e.Aa(t), yn(e, t, n)), bt(e, 4, t), Mr) : n === void 0 ? t : n;
1913
+ throw e.N ? (n !== void 0 && t instanceof $ && (t = e.Aa(t), yn(e, t, n)), bt(e, 4, t), Mr) : n === void 0 ? t : n;
1918
1914
  }
1919
1915
  function bt(e, t, n, r) {
1920
1916
  if (t === 0)
@@ -1952,7 +1948,7 @@ function bt(e, t, n, r) {
1952
1948
  } else if (t === 2 && (r ? i.labels && i.labels.indexOf(r) !== -1 : i.W))
1953
1949
  return;
1954
1950
  }
1955
- throw J(e, n, e.D) ? (t = {
1951
+ throw q(e, n, e.D) ? (t = {
1956
1952
  EvalError,
1957
1953
  RangeError,
1958
1954
  ReferenceError,
@@ -1961,34 +1957,34 @@ function bt(e, t, n, r) {
1961
1957
  URIError
1962
1958
  }, r = String(e.G(n, "name")), o = e.G(n, "message").valueOf(), t = (t[r] || Error)(o), t.stack = String(e.G(n, "stack"))) : t = String(n), e.value = t, t;
1963
1959
  }
1964
- function ee(e, t) {
1960
+ function ne(e, t) {
1965
1961
  switch (t.type) {
1966
1962
  case "ArrayExpression":
1967
1963
  return "[...]";
1968
1964
  case "BinaryExpression":
1969
1965
  case "LogicalExpression":
1970
- return ee(e, t.left) + " " + t.operator + " " + ee(e, t.right);
1966
+ return ne(e, t.left) + " " + t.operator + " " + ne(e, t.right);
1971
1967
  case "CallExpression":
1972
- return ee(e, t.callee) + "(...)";
1968
+ return ne(e, t.callee) + "(...)";
1973
1969
  case "ConditionalExpression":
1974
- return ee(e, t.test) + " ? " + ee(e, t.da) + " : " + ee(e, t.alternate);
1970
+ return ne(e, t.test) + " ? " + ne(e, t.da) + " : " + ne(e, t.alternate);
1975
1971
  case "Identifier":
1976
1972
  return t.name;
1977
1973
  case "Literal":
1978
1974
  return t.raw;
1979
1975
  case "MemberExpression":
1980
- var n = ee(e, t.object);
1981
- return e = ee(e, t.Wa), t.bb ? n + "[" + e + "]" : n + "." + e;
1976
+ var n = ne(e, t.object);
1977
+ return e = ne(e, t.Wa), t.bb ? n + "[" + e + "]" : n + "." + e;
1982
1978
  case "NewExpression":
1983
- return "new " + ee(e, t.callee) + "(...)";
1979
+ return "new " + ne(e, t.callee) + "(...)";
1984
1980
  case "ObjectExpression":
1985
1981
  return "{...}";
1986
1982
  case "ThisExpression":
1987
1983
  return "this";
1988
1984
  case "UnaryExpression":
1989
- return t.operator + " " + ee(e, t.K);
1985
+ return t.operator + " " + ne(e, t.K);
1990
1986
  case "UpdateExpression":
1991
- return n = ee(e, t.K), t.prefix ? t.operator + n : n + t.operator;
1987
+ return n = ne(e, t.K), t.prefix ? t.operator + n : n + t.operator;
1992
1988
  }
1993
1989
  return "???";
1994
1990
  }
@@ -1996,7 +1992,7 @@ function Sr(e, t, n) {
1996
1992
  var r = e.o[e.o.length - 1], o = Array.from(n), i = o.shift();
1997
1993
  n = Math.max(Number(o.shift() || 0), 0);
1998
1994
  var a = e.ya();
1999
- if (i instanceof O && i.H === "Function") {
1995
+ if (i instanceof $ && i.H === "Function") {
2000
1996
  var c = i;
2001
1997
  a.type = "CallExpression", r = r.scope;
2002
1998
  } else {
@@ -2028,7 +2024,7 @@ function kt(e, t, n) {
2028
2024
  var r = e.ya();
2029
2025
  return r.type = "CallExpression", e = new S(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
2030
2026
  }
2031
- function Nn(e, t, n, r) {
2027
+ function Bn(e, t, n, r) {
2032
2028
  if (!e.Ka)
2033
2029
  throw Error("Unexpected call to createSetter");
2034
2030
  e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
@@ -2036,15 +2032,15 @@ function Nn(e, t, n, r) {
2036
2032
  return o.type = "CallExpression", e = new S(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
2037
2033
  }
2038
2034
  function cn(e, t) {
2039
- return t == null ? e.Na : t instanceof O ? t : (e = e.s(Ce(e, t)), e.data = t, e);
2035
+ return t == null ? e.Na : t instanceof $ ? t : (e = e.s(Ce(e, t)), e.data = t, e);
2040
2036
  }
2041
- N.Xb = function() {
2037
+ B.Xb = function() {
2042
2038
  return this.N;
2043
2039
  };
2044
- N.Yb = function() {
2040
+ B.Yb = function() {
2045
2041
  return this.o;
2046
2042
  };
2047
- N.ec = function(e) {
2043
+ B.ec = function(e) {
2048
2044
  this.o = e;
2049
2045
  };
2050
2046
  function S(e, t) {
@@ -2053,17 +2049,17 @@ function S(e, t) {
2053
2049
  function Kr(e, t, n) {
2054
2050
  this.Va = e, this.S = t, this.object = n;
2055
2051
  }
2056
- function O(e) {
2052
+ function $(e) {
2057
2053
  this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
2058
2054
  }
2059
- N = O.prototype;
2060
- N.xa = null;
2061
- N.H = "Object";
2062
- N.data = null;
2063
- N.toString = function() {
2055
+ B = $.prototype;
2056
+ B.xa = null;
2057
+ B.H = "Object";
2058
+ B.data = null;
2059
+ B.toString = function() {
2064
2060
  if (!pt)
2065
2061
  return "[object Interpreter.Object]";
2066
- if (!(this instanceof O))
2062
+ if (!(this instanceof $))
2067
2063
  return String(this);
2068
2064
  if (this.H === "Array") {
2069
2065
  var e = kr;
@@ -2073,7 +2069,7 @@ N.toString = function() {
2073
2069
  1024 < n && (n = 1e3, r = !0);
2074
2070
  for (var o = 0; o < n; o++) {
2075
2071
  var i = this.h[o];
2076
- t[o] = i instanceof O && e.indexOf(i) !== -1 ? "..." : i;
2072
+ t[o] = i instanceof $ && e.indexOf(i) !== -1 ? "..." : i;
2077
2073
  }
2078
2074
  r && t.push("...");
2079
2075
  } finally {
@@ -2108,7 +2104,7 @@ N.toString = function() {
2108
2104
  }
2109
2105
  return this.data !== null ? String(this.data) : "[object " + this.H + "]";
2110
2106
  };
2111
- N.valueOf = function() {
2107
+ B.valueOf = function() {
2112
2108
  return !pt || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2113
2109
  };
2114
2110
  function gi(e, t, n, r, o) {
@@ -2175,7 +2171,7 @@ g.prototype.stepAssignmentExpression = function(e, t, n) {
2175
2171
  throw SyntaxError("Unknown assignment expression: " + n.operator);
2176
2172
  }
2177
2173
  if (n = jn(this, t.Fa, r))
2178
- return t.ta = !0, t.ib = r, Nn(this, n, t.Fa, r);
2174
+ return t.ta = !0, t.ib = r, Bn(this, n, t.Fa, r);
2179
2175
  e.pop(), e[e.length - 1].value = r;
2180
2176
  }
2181
2177
  };
@@ -2245,10 +2241,10 @@ g.prototype.stepBinaryExpression = function(e, t, n) {
2245
2241
  n = r >>> t;
2246
2242
  break;
2247
2243
  case "in":
2248
- t instanceof O || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = Ut(this, t, r);
2244
+ t instanceof $ || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = Ft(this, t, r);
2249
2245
  break;
2250
2246
  case "instanceof":
2251
- J(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof O ? J(this, r, t) : !1;
2247
+ q(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof $ ? q(this, r, t) : !1;
2252
2248
  break;
2253
2249
  default:
2254
2250
  throw SyntaxError("Unknown binary operator: " + n.operator);
@@ -2285,7 +2281,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
2285
2281
  if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
2286
2282
  return new S(n.arguments[t.A++], t.scope);
2287
2283
  if (n.type === "NewExpression") {
2288
- if (o instanceof O && !o.Ab || w(this, this.j, ee(this, n.callee) + " is not a constructor"), o === this.qa)
2284
+ if (o instanceof $ && !o.Ab || w(this, this.j, ne(this, n.callee) + " is not a constructor"), o === this.qa)
2289
2285
  t.B = qe(this);
2290
2286
  else {
2291
2287
  var i = o.h.prototype;
@@ -2298,7 +2294,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
2298
2294
  if (t.eb)
2299
2295
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2300
2296
  else {
2301
- if (t.eb = !0, o instanceof O || w(this, this.j, ee(this, n.callee) + " is not a function"), e = o.node) {
2297
+ if (t.eb = !0, o instanceof $ || w(this, this.j, ne(this, n.callee) + " is not a function"), e = o.node) {
2302
2298
  for (n = vn(this, e.body, o.Va), r = qe(this), o = 0; o < t.F.length; o++)
2303
2299
  this.g(r, o, t.F[o]);
2304
2300
  for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
@@ -2324,7 +2320,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
2324
2320
  t.value = c, a.za = !1;
2325
2321
  }), this.za = !0, t.scope.S || (t.B = cn(this, t.B)), o.Za.apply(t.B, r);
2326
2322
  } else
2327
- w(this, this.j, ee(this, n.callee) + " is not callable");
2323
+ w(this, this.j, ne(this, n.callee) + " is not callable");
2328
2324
  }
2329
2325
  };
2330
2326
  g.prototype.stepConditionalExpression = function(e, t, n) {
@@ -2376,7 +2372,7 @@ g.prototype.stepForInStatement = function(e, t, n) {
2376
2372
  if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
2377
2373
  e:
2378
2374
  for (; ; ) {
2379
- if (t.u instanceof O)
2375
+ if (t.u instanceof $)
2380
2376
  for (t.wa || (t.wa = Object.getOwnPropertyNames(t.u.h)); ; ) {
2381
2377
  var r = t.wa.shift();
2382
2378
  if (r === void 0)
@@ -2404,7 +2400,7 @@ g.prototype.stepForInStatement = function(e, t, n) {
2404
2400
  else
2405
2401
  return t.pa = null, t = new S(e, t.scope), t.sa = !0, t;
2406
2402
  if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = jn(this, t.pa, e)))
2407
- return Nn(this, r, t.pa, e);
2403
+ return Bn(this, r, t.pa, e);
2408
2404
  if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
2409
2405
  return new S(n.body, t.scope);
2410
2406
  };
@@ -2449,7 +2445,7 @@ g.prototype.stepLabeledStatement = function(e, t, n) {
2449
2445
  return e.pop(), e = t.labels || [], e.push(n.label.name), t = new S(n.body, t.scope), t.labels = e, t;
2450
2446
  };
2451
2447
  g.prototype.stepLiteral = function(e, t, n) {
2452
- e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), In(this, n, t), t = n), e[e.length - 1].value = t;
2448
+ e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), En(this, n, t), t = n), e[e.length - 1].value = t;
2453
2449
  };
2454
2450
  g.prototype.stepLogicalExpression = function(e, t, n) {
2455
2451
  if (n.operator !== "&&" && n.operator !== "||")
@@ -2628,7 +2624,7 @@ g.prototype.stepUpdateExpression = function(e, t, n) {
2628
2624
  else
2629
2625
  throw SyntaxError("Unknown update expression: " + n.operator);
2630
2626
  if (n = n.prefix ? o : r, r = jn(this, t.Ga, o))
2631
- return t.ta = !0, t.ib = n, Nn(this, r, t.Ga, o);
2627
+ return t.ta = !0, t.ib = n, Bn(this, r, t.Ga, o);
2632
2628
  e.pop(), e[e.length - 1].value = n;
2633
2629
  }
2634
2630
  };
@@ -2646,7 +2642,7 @@ g.prototype.stepWithStatement = function(e, t, n) {
2646
2642
  return t.Ca ? (e.pop(), e = $n(this, t.scope, t.value), new S(n.body, e)) : (t.Ca = !0, new S(n.object, t.scope));
2647
2643
  };
2648
2644
  g.prototype.stepWhileStatement = g.prototype.stepDoWhileStatement;
2649
- Pe.Interpreter = g;
2645
+ je.Interpreter = g;
2650
2646
  g.prototype.step = g.prototype.lb;
2651
2647
  g.prototype.run = g.prototype.Eb;
2652
2648
  g.prototype.appendCode = g.prototype.Jb;
@@ -2687,18 +2683,18 @@ const vi = (e) => e.split(`
2687
2683
  const c = {
2688
2684
  ...r,
2689
2685
  ...o
2690
- }, p = Fr({
2686
+ }, p = Ur({
2691
2687
  builder: e,
2692
2688
  context: t,
2693
2689
  event: n,
2694
2690
  state: c
2695
- }), m = p.map(([E]) => {
2696
- const M = wr(E);
2697
- return `var ${E} = ${M} === undefined ? undefined : JSON.parse(${M});`;
2691
+ }), m = p.map(([X]) => {
2692
+ const N = wr(X);
2693
+ return `var ${X} = ${N} === undefined ? undefined : JSON.parse(${N});`;
2698
2694
  }).join(`
2699
2695
  `), v = vi(a);
2700
2696
  if (v === "") {
2701
- ne.warn("Skipping evaluation of empty code block.");
2697
+ ae.warn("Skipping evaluation of empty code block.");
2702
2698
  return;
2703
2699
  }
2704
2700
  const h = `
@@ -2708,36 +2704,28 @@ function theFunction() {
2708
2704
  ${v}
2709
2705
  }
2710
2706
  theFunction();
2711
- `, C = (E, M) => {
2712
- const ae = wn(c, E, M);
2713
- i == null || i(ae);
2714
- }, P = function(E, M) {
2715
- p.forEach(([ae, W]) => {
2716
- const $ = JSON.stringify(W);
2717
- E.setProperty(M, wr(ae), $);
2718
- }), E.setProperty(M, "setRootState", E.createNativeFunction(C));
2719
- };
2720
- try {
2721
- const E = new g(h, P);
2722
- return E.run(), E.pseudoToNative(E.value);
2723
- } catch (E) {
2724
- ne.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2725
- e: E
2726
- });
2727
- return;
2728
- }
2729
- }, je = (e) => e != null;
2707
+ `, C = (X, N) => {
2708
+ const A = wn(c, X, N);
2709
+ i == null || i(A);
2710
+ }, P = function(X, N) {
2711
+ p.forEach(([A, xe]) => {
2712
+ const oe = JSON.stringify(xe);
2713
+ X.setProperty(N, wr(A), oe);
2714
+ }), X.setProperty(N, "setRootState", X.createNativeFunction(C));
2715
+ }, O = new g(h, P);
2716
+ return O.run(), O.pseudoToNative(O.value);
2717
+ }, Be = (e) => e != null;
2730
2718
  function ki() {
2731
2719
  var e;
2732
- return typeof process < "u" && je((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
2720
+ return typeof process < "u" && Be((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
2733
2721
  }
2734
2722
  const Si = () => {
2735
2723
  var r;
2736
2724
  if (!ki())
2737
2725
  return !1;
2738
2726
  const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
2739
- return e && t && !n ? (ne.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;
2740
- }, Ci = (e) => X() || Si() ? ti(e) : bi(e), be = class be {
2727
+ return e && t && !n ? (ae.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;
2728
+ }, Ci = (e) => _() || Si() ? ti(e) : bi(e), be = class be {
2741
2729
  static getCacheKey(t) {
2742
2730
  return JSON.stringify({
2743
2731
  ...t,
@@ -2757,7 +2745,7 @@ const Si = () => {
2757
2745
  };
2758
2746
  ln(be, "cacheLimit", 20), ln(be, "cache", /* @__PURE__ */ new Map());
2759
2747
  let ze = be;
2760
- function Nt({
2748
+ function Bt({
2761
2749
  code: e,
2762
2750
  context: t,
2763
2751
  localState: n,
@@ -2793,7 +2781,7 @@ function Nt({
2793
2781
  }
2794
2782
  return m;
2795
2783
  } catch (m) {
2796
- ne.error("Failed code evaluation: " + m.message, {
2784
+ ae.error("Failed code evaluation: " + m.message, {
2797
2785
  code: e
2798
2786
  });
2799
2787
  return;
@@ -2819,7 +2807,7 @@ const wi = ({
2819
2807
  }
2820
2808
  };
2821
2809
  for (const c in e.bindings) {
2822
- const p = e.bindings[c], m = Nt({
2810
+ const p = e.bindings[c], m = Bt({
2823
2811
  code: p,
2824
2812
  localState: n,
2825
2813
  rootState: r,
@@ -2848,7 +2836,7 @@ function zr({
2848
2836
  context: t
2849
2837
  }) : a;
2850
2838
  }
2851
- const Bn = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
2839
+ const Nn = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
2852
2840
  function Ti(e, t, n = {}) {
2853
2841
  let r, o, i, a = null, c = 0;
2854
2842
  const p = function() {
@@ -2871,7 +2859,7 @@ function ht(e, ...t) {
2871
2859
  }
2872
2860
  return n;
2873
2861
  }
2874
- function Ei(e) {
2862
+ function Ii(e) {
2875
2863
  for (const t of e)
2876
2864
  switch (t.trigger) {
2877
2865
  case "pageLoad":
@@ -2886,12 +2874,12 @@ function Gr(e) {
2886
2874
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
2887
2875
  }
2888
2876
  function qr(e, t) {
2889
- const n = Ii(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, a = [o, i];
2877
+ const n = Ei(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, a = [o, i];
2890
2878
  for (const c of a)
2891
2879
  for (const p of n)
2892
2880
  p in c || (c[p] = r[p]);
2893
2881
  }
2894
- function Ii(e) {
2882
+ function Ei(e) {
2895
2883
  const t = [];
2896
2884
  for (const n of e.steps)
2897
2885
  for (const r in n.styles)
@@ -2906,7 +2894,7 @@ function Jr(e) {
2906
2894
  }
2907
2895
  Array.from(t).forEach((n) => {
2908
2896
  qr(e, n), n.style.transition = "none", n.style.transitionDelay = "0", ht(n.style, e.steps[0].styles), setTimeout(() => {
2909
- n.style.transition = `all ${e.duration}s ${Bn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), ht(n.style, e.steps[1].styles), setTimeout(() => {
2897
+ n.style.transition = `all ${e.duration}s ${Nn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), ht(n.style, e.steps[1].styles), setTimeout(() => {
2910
2898
  n.style.transition = "", n.style.transitionDelay = "";
2911
2899
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
2912
2900
  });
@@ -2932,15 +2920,15 @@ function xi(e) {
2932
2920
  leading: !1
2933
2921
  });
2934
2922
  function c(v) {
2935
- const h = v.getBoundingClientRect(), C = window.innerHeight, E = (e.thresholdPercent || 0) / 100 * C;
2936
- return h.bottom > E && h.top < C - E;
2923
+ const h = v.getBoundingClientRect(), C = window.innerHeight, O = (e.thresholdPercent || 0) / 100 * C;
2924
+ return h.bottom > O && h.top < C - O;
2937
2925
  }
2938
2926
  const p = e.steps[0].styles;
2939
2927
  function m() {
2940
2928
  ht(n.style, p);
2941
2929
  }
2942
2930
  m(), setTimeout(() => {
2943
- n.style.transition = `all ${e.duration}s ${Bn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
2931
+ n.style.transition = `all ${e.duration}s ${Nn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
2944
2932
  }), document.addEventListener("scroll", a, {
2945
2933
  capture: !0,
2946
2934
  passive: !0
@@ -2949,9 +2937,9 @@ function xi(e) {
2949
2937
  }
2950
2938
  const _r = (e) => Object.entries(e).map(([n, r]) => {
2951
2939
  if (typeof r == "string")
2952
- return `${Bn(n)}: ${r};`;
2953
- }).filter(je), Ai = (e) => _r(e).join(`
2954
- `), ac = ({
2940
+ return `${Nn(n)}: ${r};`;
2941
+ }).filter(Be), Ai = (e) => _r(e).join(`
2942
+ `), cc = ({
2955
2943
  mediaQuery: e,
2956
2944
  className: t,
2957
2945
  styles: n
@@ -2968,7 +2956,7 @@ function Ri({
2968
2956
  }) {
2969
2957
  return e;
2970
2958
  }
2971
- const lc = ({
2959
+ const uc = ({
2972
2960
  block: e,
2973
2961
  context: t
2974
2962
  }) => Xr(Ri({
@@ -2977,7 +2965,7 @@ const lc = ({
2977
2965
  block: e
2978
2966
  }));
2979
2967
  function Xr(e) {
2980
- switch (he) {
2968
+ switch (Q) {
2981
2969
  case "svelte":
2982
2970
  case "vue":
2983
2971
  case "solid":
@@ -3022,7 +3010,7 @@ const $i = ({
3022
3010
  } = e;
3023
3011
  if (!(n != null && n.collection))
3024
3012
  return;
3025
- const o = Nt({
3013
+ const o = Bt({
3026
3014
  code: n.collection,
3027
3015
  localState: t.localState,
3028
3016
  rootState: t.rootState,
@@ -3046,44 +3034,52 @@ const $i = ({
3046
3034
  },
3047
3035
  block: r
3048
3036
  }));
3049
- }, Pi = (e) => e && (e.isRSC || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)), ji = (e) => e && (e.isRSC || ["Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)), Ni = () => Promise.resolve().then(() => Ji).then((e) => e.default).catch((e) => {
3037
+ }, Pi = (e, t) => e && (e.isRSC && Q === "rsc" || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)) ? {
3038
+ builderLinkComponent: t
3039
+ } : {}, ji = (e, t) => e && (e.isRSC && Q === "rsc" || ["Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)) ? {
3040
+ builderComponents: t
3041
+ } : {}, Bi = (e, t) => e && (e.isRSC && Q === "rsc" || Q === "reactNative" || ["Builder:Accordion", "Columns", "Form:Form", "Builder: Tabs", "Symbol", "Image", "Video"].includes(e.name)) ? {
3042
+ builderBlock: t
3043
+ } : {}, Ni = (e, t) => e && (e.isRSC && Q === "rsc" || ["Builder:Accordion", "Columns", "Form:Form", "Builder: Tabs", "Symbol", "Slot"].includes(e.name)) ? {
3044
+ builderContext: t
3045
+ } : {}, Vi = () => Promise.resolve().then(() => Xi).then((e) => e.default).catch((e) => {
3050
3046
  throw console.error(
3051
3047
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
3052
3048
  e
3053
3049
  ), e;
3054
- }), Bi = () => import("./block-styles-SZkRWx2m.js").then((e) => e.default).catch((e) => {
3050
+ }), Fi = () => import("./block-styles-mlYBYkOs.js").then((e) => e.default).catch((e) => {
3055
3051
  throw console.error(
3056
3052
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
3057
3053
  e
3058
3054
  ), e;
3059
- }), Vi = () => import("./block-wrapper-1FmTfk0Z.js").then((e) => e.default).catch((e) => {
3055
+ }), Ui = () => import("./block-wrapper-RexwV794.js").then((e) => e.default).catch((e) => {
3060
3056
  throw console.error(
3061
3057
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
3062
3058
  e
3063
3059
  ), e;
3064
- }), Ui = () => import("./component-ref-t89FNM-X.js").then((e) => e.default).catch((e) => {
3060
+ }), Di = () => import("./component-ref-9oxLY_Z3.js").then((e) => e.default).catch((e) => {
3065
3061
  throw console.error(
3066
3062
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
3067
3063
  e
3068
3064
  ), e;
3069
- }), Fi = () => import("./repeated-block-l_pH5BtY.js").then((e) => e.default).catch((e) => {
3065
+ }), Mi = () => import("./repeated-block-D9Jv_G43.js").then((e) => e.default).catch((e) => {
3070
3066
  throw console.error(
3071
3067
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
3072
3068
  e
3073
3069
  ), e;
3074
- }), Di = j({
3070
+ }), Wi = j({
3075
3071
  name: "block",
3076
3072
  components: {
3077
- BlockStyles: ot(Bi),
3078
- ComponentRef: ot(Ui),
3079
- RepeatedBlock: ot(Fi),
3080
- BlockWrapper: ot(Vi),
3081
- DynamicDiv: ot(Ni)
3073
+ BlockStyles: ot(Fi),
3074
+ ComponentRef: ot(Di),
3075
+ RepeatedBlock: ot(Mi),
3076
+ BlockWrapper: ot(Ui),
3077
+ DynamicDiv: ot(Vi)
3082
3078
  },
3083
3079
  props: ["block", "context", "registeredComponents", "linkComponent"],
3084
3080
  mounted() {
3085
3081
  const e = this.processedBlock.id, t = this.processedBlock.animations;
3086
- t && e && Ei(
3082
+ t && e && Ii(
3087
3083
  t.map((n) => ({
3088
3084
  ...n,
3089
3085
  elementId: e
@@ -3137,13 +3133,13 @@ const $i = ({
3137
3133
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
3138
3134
  componentOptions: {
3139
3135
  ...Jo(this.processedBlock),
3140
- builderContext: this.context,
3141
- ...Pi(this.blockComponent) ? {
3142
- builderLinkComponent: this.linkComponent
3143
- } : {},
3144
- ...ji(this.blockComponent) ? {
3145
- builderComponents: this.registeredComponents
3146
- } : {}
3136
+ ...Bi(this.blockComponent, this.processedBlock),
3137
+ ...Ni(this.blockComponent, this.context),
3138
+ ...Pi(this.blockComponent, this.linkComponent),
3139
+ ...ji(
3140
+ this.blockComponent,
3141
+ this.registeredComponents
3142
+ )
3147
3143
  },
3148
3144
  context: this.context,
3149
3145
  linkComponent: this.linkComponent,
@@ -3155,11 +3151,11 @@ const $i = ({
3155
3151
  }
3156
3152
  }
3157
3153
  });
3158
- function Mi(e, t, n, r, o, i) {
3154
+ function Li(e, t, n, r, o, i) {
3159
3155
  var h;
3160
- const a = V("BlockStyles"), c = V("ComponentRef"), p = V("Block", !0), m = V("BlockWrapper"), v = V("RepeatedBlock");
3156
+ const a = F("BlockStyles"), c = F("ComponentRef"), p = F("Block", !0), m = F("BlockWrapper"), v = F("RepeatedBlock");
3161
3157
  return e.canShowBlock ? (y(), T(Z, { key: 0 }, [
3162
- oe(a, {
3158
+ se(a, {
3163
3159
  block: e.block,
3164
3160
  context: e.context
3165
3161
  }, null, 8, ["block", "context"]),
@@ -3185,11 +3181,10 @@ function Mi(e, t, n, r, o, i) {
3185
3181
  key: 0,
3186
3182
  Wrapper: e.Tag,
3187
3183
  block: e.processedBlock,
3188
- context: e.context,
3189
- linkComponent: e.linkComponent
3184
+ context: e.context
3190
3185
  }, {
3191
3186
  default: we(() => [
3192
- oe(c, {
3187
+ se(c, {
3193
3188
  componentRef: e.componentRefProps.componentRef,
3194
3189
  componentOptions: e.componentRefProps.componentOptions,
3195
3190
  blockChildren: e.componentRefProps.blockChildren,
@@ -3209,14 +3204,14 @@ function Mi(e, t, n, r, o, i) {
3209
3204
  }, null, 8, ["block", "registeredComponents", "linkComponent", "context"]))), 128))
3210
3205
  ]),
3211
3206
  _: 1
3212
- }, 8, ["Wrapper", "block", "context", "linkComponent"]))
3207
+ }, 8, ["Wrapper", "block", "context"]))
3213
3208
  ], 64))
3214
- ], 64)) : D("", !0);
3209
+ ], 64)) : M("", !0);
3215
3210
  }
3216
- const Vn = /* @__PURE__ */ B(Di, [["render", Mi]]), cc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3211
+ const Vn = /* @__PURE__ */ V(Wi, [["render", Li]]), pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3217
3212
  __proto__: null,
3218
3213
  default: Vn
3219
- }, Symbol.toStringTag, { value: "Module" })), Wi = j({
3214
+ }, Symbol.toStringTag, { value: "Module" })), Hi = j({
3220
3215
  name: "builder-blocks-wrapper",
3221
3216
  props: [
3222
3217
  "blocks",
@@ -3235,7 +3230,7 @@ const Vn = /* @__PURE__ */ B(Di, [["render", Mi]]), cc = /* @__PURE__ */ Object.
3235
3230
  methods: {
3236
3231
  onClick() {
3237
3232
  var e, t;
3238
- se() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
3233
+ ce() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
3239
3234
  {
3240
3235
  type: "builder.clickEmptyBlocks",
3241
3236
  data: {
@@ -3248,7 +3243,7 @@ const Vn = /* @__PURE__ */ B(Di, [["render", Mi]]), cc = /* @__PURE__ */ Object.
3248
3243
  },
3249
3244
  onMouseEnter() {
3250
3245
  var e, t;
3251
- se() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
3246
+ ce() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
3252
3247
  {
3253
3248
  type: "builder.hoverEmptyBlocks",
3254
3249
  data: {
@@ -3261,8 +3256,8 @@ const Vn = /* @__PURE__ */ B(Di, [["render", Mi]]), cc = /* @__PURE__ */ Object.
3261
3256
  }
3262
3257
  }
3263
3258
  });
3264
- function Li(e, t, n, r, o, i) {
3265
- return y(), U(ut(e.BlocksWrapper), _({
3259
+ function Ki(e, t, n, r, o, i) {
3260
+ return y(), U(ut(e.BlocksWrapper), J({
3266
3261
  class: e.className + " component-1k2igrjdg3x",
3267
3262
  "builder-path": e.path,
3268
3263
  "builder-parent-id": e.parent,
@@ -3272,14 +3267,14 @@ function Li(e, t, n, r, o, i) {
3272
3267
  onKeyPress: (a) => e.onClick()
3273
3268
  }, { ...e.BlocksWrapperProps }), {
3274
3269
  default: we(() => [
3275
- ue(e.$slots, "default", {}, void 0, !0)
3270
+ pe(e.$slots, "default", {}, void 0, !0)
3276
3271
  ]),
3277
3272
  _: 3
3278
3273
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
3279
3274
  }
3280
- const Hi = /* @__PURE__ */ B(Wi, [["render", Li], ["__scopeId", "data-v-f091a4a7"]]), Ki = j({
3275
+ const zi = /* @__PURE__ */ V(Hi, [["render", Ki], ["__scopeId", "data-v-f091a4a7"]]), Gi = j({
3281
3276
  name: "builder-blocks",
3282
- components: { BlocksWrapper: Hi, Block: Vn },
3277
+ components: { BlocksWrapper: zi, Block: Vn },
3283
3278
  props: [
3284
3279
  "blocks",
3285
3280
  "parent",
@@ -3291,12 +3286,12 @@ const Hi = /* @__PURE__ */ B(Wi, [["render", Li], ["__scopeId", "data-v-f091a4a7
3291
3286
  ],
3292
3287
  inject: {
3293
3288
  builderContext: mn.key,
3294
- componentsContext: Nr.key
3289
+ componentsContext: Br.key
3295
3290
  }
3296
3291
  });
3297
- function zi(e, t, n, r, o, i) {
3292
+ function qi(e, t, n, r, o, i) {
3298
3293
  var p, m;
3299
- const a = V("Block"), c = V("BlocksWrapper");
3294
+ const a = F("Block"), c = F("BlocksWrapper");
3300
3295
  return y(), U(c, {
3301
3296
  blocks: e.blocks,
3302
3297
  parent: e.parent,
@@ -3312,24 +3307,24 @@ function zi(e, t, n, r, o, i) {
3312
3307
  linkComponent: e.linkComponent,
3313
3308
  context: e.context || e.builderContext,
3314
3309
  registeredComponents: e.registeredComponents || e.componentsContext.registeredComponents
3315
- }, null, 8, ["block", "linkComponent", "context", "registeredComponents"]))), 128)) : D("", !0)
3310
+ }, null, 8, ["block", "linkComponent", "context", "registeredComponents"]))), 128)) : M("", !0)
3316
3311
  ]),
3317
3312
  _: 1
3318
3313
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapper", "BlocksWrapperProps"]);
3319
3314
  }
3320
- const _e = /* @__PURE__ */ B(Ki, [["render", zi]]), Gi = j({
3315
+ const _e = /* @__PURE__ */ V(Gi, [["render", qi]]), Ji = j({
3321
3316
  name: "dynamic-div",
3322
3317
  props: []
3323
3318
  });
3324
- function qi(e, t, n, r, o, i) {
3319
+ function _i(e, t, n, r, o, i) {
3325
3320
  return y(), T("div", null, [
3326
- ue(e.$slots, "default")
3321
+ pe(e.$slots, "default")
3327
3322
  ]);
3328
3323
  }
3329
- const Ct = /* @__PURE__ */ B(Gi, [["render", qi]]), Ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3324
+ const Ct = /* @__PURE__ */ V(Ji, [["render", _i]]), Xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3330
3325
  __proto__: null,
3331
3326
  default: Ct
3332
- }, Symbol.toStringTag, { value: "Module" })), Un = j({
3327
+ }, Symbol.toStringTag, { value: "Module" })), Fn = j({
3333
3328
  render() {
3334
3329
  return jr("style", {
3335
3330
  innerHTML: this.styles,
@@ -3354,7 +3349,7 @@ const Ct = /* @__PURE__ */ B(Gi, [["render", qi]]), Ji = /* @__PURE__ */ Object.
3354
3349
  default: 991,
3355
3350
  max: 1200
3356
3351
  }
3357
- }, uc = (e, t = Yr) => `@media (max-width: ${t[e].max}px)`, _i = ({
3352
+ }, dc = (e, t = Yr) => `@media (max-width: ${t[e].max}px)`, Yi = ({
3358
3353
  small: e,
3359
3354
  medium: t
3360
3355
  }) => {
@@ -3380,10 +3375,10 @@ const Ct = /* @__PURE__ */ B(Gi, [["render", qi]]), Ji = /* @__PURE__ */ Object.
3380
3375
  min: i,
3381
3376
  default: i + 1
3382
3377
  }, n;
3383
- }, Xi = (e) => `builder-columns ${e}-breakpoints`, Yi = j({
3378
+ }, Zi = (e) => `builder-columns ${e}-breakpoints`, Qi = j({
3384
3379
  name: "builder-columns",
3385
3380
  components: {
3386
- InlinedStyles: Un,
3381
+ InlinedStyles: Fn,
3387
3382
  DynamicRenderer: Cn,
3388
3383
  Blocks: _e,
3389
3384
  DynamicDiv: Ct
@@ -3404,8 +3399,8 @@ const Ct = /* @__PURE__ */ B(Gi, [["render", qi]]), Ji = /* @__PURE__ */ Object.
3404
3399
  cols: this.columns || [],
3405
3400
  stackAt: this.stackColumnsAt || "tablet",
3406
3401
  flexDir: this.stackColumnsAt === "never" ? "row" : this.reverseColumnsWhenStacked ? "column-reverse" : "column",
3407
- TARGET: he,
3408
- getColumnsClass: Xi
3402
+ TARGET: Q,
3403
+ getColumnsClass: Zi
3409
3404
  };
3410
3405
  },
3411
3406
  methods: {
@@ -3471,7 +3466,7 @@ const Ct = /* @__PURE__ */ B(Gi, [["render", qi]]), Ji = /* @__PURE__ */ Object.
3471
3466
  },
3472
3467
  getWidthForBreakpointSize(e) {
3473
3468
  var n, r;
3474
- return _i(
3469
+ return Yi(
3475
3470
  ((r = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : r.breakpoints) || {}
3476
3471
  )[e].max;
3477
3472
  },
@@ -3513,10 +3508,10 @@ const Ct = /* @__PURE__ */ B(Gi, [["render", qi]]), Ji = /* @__PURE__ */ Object.
3513
3508
  }
3514
3509
  }
3515
3510
  });
3516
- function Zi(e, t, n, r, o, i) {
3511
+ function es(e, t, n, r, o, i) {
3517
3512
  var m;
3518
- const a = V("InlinedStyles"), c = V("Blocks"), p = V("DynamicRenderer");
3519
- return y(), T("div", _({
3513
+ const a = F("InlinedStyles"), c = F("Blocks"), p = F("DynamicRenderer");
3514
+ return y(), T("div", J({
3520
3515
  class: e.getColumnsClass((m = e.builderBlock) == null ? void 0 : m.id) + " div-2brhoa1k8gd",
3521
3516
  style: e.columnsCssVars()
3522
3517
  }, {}), [
@@ -3524,7 +3519,7 @@ function Zi(e, t, n, r, o, i) {
3524
3519
  key: 0,
3525
3520
  id: "builderio-columns",
3526
3521
  styles: e.columnsStyles()
3527
- }, null, 8, ["styles"])) : D("", !0),
3522
+ }, null, 8, ["styles"])) : M("", !0),
3528
3523
  (y(!0), T(Z, null, Te(e.columns, (v, h) => (y(), U(p, {
3529
3524
  key: h,
3530
3525
  TagName: e.getTagName(v),
@@ -3532,7 +3527,7 @@ function Zi(e, t, n, r, o, i) {
3532
3527
  attributes: e.getAttributes(v, h)
3533
3528
  }, {
3534
3529
  default: we(() => [
3535
- oe(c, {
3530
+ se(c, {
3536
3531
  path: `component.options.columns.${h}.blocks`,
3537
3532
  parent: e.builderBlock.id,
3538
3533
  styleProp: {
@@ -3548,24 +3543,24 @@ function Zi(e, t, n, r, o, i) {
3548
3543
  }, 1032, ["TagName", "attributes"]))), 128))
3549
3544
  ], 16);
3550
3545
  }
3551
- const Qi = /* @__PURE__ */ B(Yi, [["render", Zi], ["__scopeId", "data-v-27a4dde0"]]), es = j({
3546
+ const ts = /* @__PURE__ */ V(Qi, [["render", es], ["__scopeId", "data-v-27a4dde0"]]), ns = j({
3552
3547
  name: "builder-fragment-component",
3553
3548
  props: []
3554
3549
  });
3555
- function ts(e, t, n, r, o, i) {
3550
+ function rs(e, t, n, r, o, i) {
3556
3551
  return y(), T("span", null, [
3557
- ue(e.$slots, "default")
3552
+ pe(e.$slots, "default")
3558
3553
  ]);
3559
3554
  }
3560
- const ns = /* @__PURE__ */ B(es, [["render", ts]]);
3555
+ const os = /* @__PURE__ */ V(ns, [["render", rs]]);
3561
3556
  function Tr(e) {
3562
3557
  return e.replace(/http(s)?:/, "");
3563
3558
  }
3564
- function rs(e = "", t, n) {
3559
+ function is(e = "", t, n) {
3565
3560
  const r = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
3566
3561
  return e.match(r) ? e.replace(r, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
3567
3562
  }
3568
- function os(e, t) {
3563
+ function ss(e, t) {
3569
3564
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
3570
3565
  return e;
3571
3566
  if (t === "master")
@@ -3584,11 +3579,11 @@ function un(e) {
3584
3579
  if (e.match(/builder\.io/)) {
3585
3580
  let n = e;
3586
3581
  const r = Number(e.split("?width=")[1]);
3587
- return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${rs(e, "width", o)} ${o}w`).concat([n]).join(", ");
3582
+ return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${is(e, "width", o)} ${o}w`).concat([n]).join(", ");
3588
3583
  }
3589
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [os(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3584
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [ss(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3590
3585
  }
3591
- const is = j({
3586
+ const as = j({
3592
3587
  name: "builder-image",
3593
3588
  props: [
3594
3589
  "image",
@@ -3596,6 +3591,7 @@ const is = j({
3596
3591
  "srcset",
3597
3592
  "noWebp",
3598
3593
  "aspectRatio",
3594
+ "highPriority",
3599
3595
  "altText",
3600
3596
  "backgroundPosition",
3601
3597
  "backgroundSize",
@@ -3634,11 +3630,11 @@ const is = j({
3634
3630
  return this.aspectRatio ? e : void 0;
3635
3631
  }
3636
3632
  }
3637
- }), ss = ["srcset"], as = ["alt", "role", "src", "srcset", "sizes"], ls = {
3633
+ }), ls = ["srcset"], cs = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], us = {
3638
3634
  key: 2,
3639
3635
  class: "div-1pl23ac79ld-2"
3640
3636
  };
3641
- function cs(e, t, n, r, o, i) {
3637
+ function ps(e, t, n, r, o, i) {
3642
3638
  var a, c, p, m, v, h;
3643
3639
  return y(), T(Z, null, [
3644
3640
  ft("picture", null, [
@@ -3646,12 +3642,13 @@ function cs(e, t, n, r, o, i) {
3646
3642
  key: 0,
3647
3643
  type: "image/webp",
3648
3644
  srcset: e.webpSrcSet
3649
- }, null, 8, ss)) : D("", !0),
3645
+ }, null, 8, ls)) : M("", !0),
3650
3646
  ft("img", {
3651
- loading: "lazy",
3647
+ loading: e.highPriority ? "eager" : "lazy",
3648
+ fetchpriority: e.highPriority ? "high" : "auto",
3652
3649
  alt: e.altText,
3653
3650
  role: e.altText ? void 0 : "presentation",
3654
- style: Oe({
3651
+ style: Pe({
3655
3652
  objectPosition: e.backgroundPosition || "center",
3656
3653
  objectFit: e.backgroundSize || "cover",
3657
3654
  ...e.aspectRatioCss
@@ -3662,30 +3659,30 @@ function cs(e, t, n, r, o, i) {
3662
3659
  src: e.image,
3663
3660
  srcset: e.srcSetToUse,
3664
3661
  sizes: e.sizes
3665
- }, null, 14, as)
3662
+ }, null, 14, cs)
3666
3663
  ]),
3667
3664
  e.aspectRatio && !((c = (a = e.builderBlock) == null ? void 0 : a.children) != null && c.length && e.fitContent) ? (y(), T("div", {
3668
3665
  key: 0,
3669
3666
  class: "builder-image-sizer div-1pl23ac79ld",
3670
- style: Oe({
3667
+ style: Pe({
3671
3668
  paddingTop: e.aspectRatio * 100 + "%"
3672
3669
  })
3673
- }, null, 4)) : D("", !0),
3674
- (m = (p = e.builderBlock) == null ? void 0 : p.children) != null && m.length && e.fitContent ? ue(e.$slots, "default", { key: 1 }, void 0, !0) : D("", !0),
3675
- !e.fitContent && ((h = (v = e.builderBlock) == null ? void 0 : v.children) != null && h.length) ? (y(), T("div", ls, [
3676
- ue(e.$slots, "default", {}, void 0, !0)
3677
- ])) : D("", !0)
3670
+ }, null, 4)) : M("", !0),
3671
+ (m = (p = e.builderBlock) == null ? void 0 : p.children) != null && m.length && e.fitContent ? pe(e.$slots, "default", { key: 1 }, void 0, !0) : M("", !0),
3672
+ !e.fitContent && ((h = (v = e.builderBlock) == null ? void 0 : v.children) != null && h.length) ? (y(), T("div", us, [
3673
+ pe(e.$slots, "default", {}, void 0, !0)
3674
+ ])) : M("", !0)
3678
3675
  ], 64);
3679
3676
  }
3680
- const us = /* @__PURE__ */ B(is, [["render", cs], ["__scopeId", "data-v-6b703704"]]), ps = j({
3677
+ const ds = /* @__PURE__ */ V(as, [["render", ps], ["__scopeId", "data-v-0d528855"]]), hs = j({
3681
3678
  name: "builder-section-component",
3682
3679
  props: ["attributes", "maxWidth"],
3683
3680
  data() {
3684
- return { filterAttrs: Ee };
3681
+ return { filterAttrs: Ie };
3685
3682
  }
3686
3683
  });
3687
- function ds(e, t, n, r, o, i) {
3688
- return y(), T("section", _({
3684
+ function fs(e, t, n, r, o, i) {
3685
+ return y(), T("section", J({
3689
3686
  style: {
3690
3687
  width: "100%",
3691
3688
  alignSelf: "stretch",
@@ -3698,11 +3695,11 @@ function ds(e, t, n, r, o, i) {
3698
3695
  marginLeft: "auto",
3699
3696
  marginRight: "auto"
3700
3697
  }
3701
- }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3702
- ue(e.$slots, "default")
3698
+ }, e.filterAttrs(e.attributes, "v-on:", !1), he(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3699
+ pe(e.$slots, "default")
3703
3700
  ], 16);
3704
3701
  }
3705
- const hs = /* @__PURE__ */ B(ps, [["render", ds]]), fs = (e) => {
3702
+ const ms = /* @__PURE__ */ V(hs, [["render", fs]]), gs = (e) => {
3706
3703
  if (e === "localhost" || e === "127.0.0.1")
3707
3704
  return e;
3708
3705
  const t = e.split(".");
@@ -3715,16 +3712,16 @@ const hs = /* @__PURE__ */ B(ps, [["render", ds]]), fs = (e) => {
3715
3712
  try {
3716
3713
  return t ? (n = document.cookie.split("; ").find((r) => r.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
3717
3714
  } catch (r) {
3718
- ne.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3715
+ ae.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3719
3716
  return;
3720
3717
  }
3721
- }, Qr = async (e) => Zr(e), ms = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(je).join("; "), gs = [["secure", ""], ["SameSite", "None"]], ys = ({
3718
+ }, Qr = async (e) => Zr(e), ys = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Be).join("; "), vs = [["secure", ""], ["SameSite", "None"]], bs = ({
3722
3719
  name: e,
3723
3720
  value: t,
3724
3721
  expires: n
3725
3722
  }) => {
3726
- const o = (X() ? location.protocol === "https:" : !0) ? gs : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], a = [[e, t], ...i, ["path", "/"], ["domain", fs(window.location.hostname)], ...o];
3727
- return ms(a);
3723
+ const o = (_() ? location.protocol === "https:" : !0) ? vs : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], a = [[e, t], ...i, ["path", "/"], ["domain", gs(window.location.hostname)], ...o];
3724
+ return ys(a);
3728
3725
  }, eo = async ({
3729
3726
  name: e,
3730
3727
  value: t,
@@ -3734,33 +3731,33 @@ const hs = /* @__PURE__ */ B(ps, [["render", ds]]), fs = (e) => {
3734
3731
  try {
3735
3732
  if (!r)
3736
3733
  return;
3737
- const o = ys({
3734
+ const o = bs({
3738
3735
  name: e,
3739
3736
  value: t,
3740
3737
  expires: n
3741
3738
  });
3742
3739
  document.cookie = o;
3743
3740
  } catch (o) {
3744
- ne.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3741
+ ae.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3745
3742
  }
3746
- }, vs = "builder.tests", Fn = (e) => `${vs}.${e}`, bs = ({
3743
+ }, ks = "builder.tests", Un = (e) => `${ks}.${e}`, Ss = ({
3747
3744
  contentId: e
3748
3745
  }) => Qr({
3749
- name: Fn(e),
3746
+ name: Un(e),
3750
3747
  canTrack: !0
3751
- }), ks = ({
3748
+ }), Cs = ({
3752
3749
  contentId: e
3753
3750
  }) => Zr({
3754
- name: Fn(e),
3751
+ name: Un(e),
3755
3752
  canTrack: !0
3756
- }), Ss = ({
3753
+ }), ws = ({
3757
3754
  contentId: e,
3758
3755
  value: t
3759
3756
  }) => eo({
3760
- name: Fn(e),
3757
+ name: Un(e),
3761
3758
  value: t,
3762
3759
  canTrack: !0
3763
- }), to = (e) => je(e.id) && je(e.variations) && Object.keys(e.variations).length > 0, Cs = ({
3760
+ }), to = (e) => Be(e.id) && Be(e.variations) && Object.keys(e.variations).length > 0, Ts = ({
3764
3761
  id: e,
3765
3762
  variations: t
3766
3763
  }) => {
@@ -3774,12 +3771,12 @@ const hs = /* @__PURE__ */ B(ps, [["render", ds]]), fs = (e) => {
3774
3771
  }
3775
3772
  return e;
3776
3773
  }, no = (e) => {
3777
- const t = Cs(e);
3778
- return Ss({
3774
+ const t = Ts(e);
3775
+ return ws({
3779
3776
  contentId: e.id,
3780
3777
  value: t
3781
3778
  }).catch((n) => {
3782
- ne.error("could not store A/B test variation: ", n);
3779
+ ae.error("could not store A/B test variation: ", n);
3783
3780
  }), t;
3784
3781
  }, ro = ({
3785
3782
  item: e,
@@ -3795,7 +3792,7 @@ const hs = /* @__PURE__ */ B(ps, [["render", ds]]), fs = (e) => {
3795
3792
  testVariationId: n.id,
3796
3793
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
3797
3794
  };
3798
- }, ws = ({
3795
+ }, Is = ({
3799
3796
  item: e,
3800
3797
  canTrack: t
3801
3798
  }) => {
@@ -3805,7 +3802,7 @@ const hs = /* @__PURE__ */ B(ps, [["render", ds]]), fs = (e) => {
3805
3802
  return;
3806
3803
  if (!to(e))
3807
3804
  return e;
3808
- const n = ks({
3805
+ const n = Cs({
3809
3806
  contentId: e.id
3810
3807
  }) || no({
3811
3808
  variations: e.variations,
@@ -3818,13 +3815,13 @@ const hs = /* @__PURE__ */ B(ps, [["render", ds]]), fs = (e) => {
3818
3815
  ...e,
3819
3816
  ...r
3820
3817
  };
3821
- }, Ts = async ({
3818
+ }, Es = async ({
3822
3819
  item: e,
3823
3820
  canTrack: t
3824
3821
  }) => {
3825
3822
  if (!t || !to(e))
3826
3823
  return e;
3827
- const r = await bs({
3824
+ const r = await Ss({
3828
3825
  contentId: e.id
3829
3826
  }) || no({
3830
3827
  variations: e.variations,
@@ -3837,7 +3834,7 @@ const hs = /* @__PURE__ */ B(ps, [["render", ds]]), fs = (e) => {
3837
3834
  ...e,
3838
3835
  ...o
3839
3836
  };
3840
- }, vt = (e) => je(e) ? e : !0, pn = {
3837
+ }, vt = (e) => Be(e) ? e : !0, pn = {
3841
3838
  "@type": "@builder.io/sdk:Element",
3842
3839
  layerName: "Accordion item title",
3843
3840
  responsiveStyles: {
@@ -3897,7 +3894,7 @@ const hs = /* @__PURE__ */ B(ps, [["render", ds]]), fs = (e) => {
3897
3894
  }
3898
3895
  }
3899
3896
  }]
3900
- }, Es = {
3897
+ }, xs = {
3901
3898
  name: "Builder:Accordion",
3902
3899
  canHaveChildren: !0,
3903
3900
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -3955,7 +3952,7 @@ const hs = /* @__PURE__ */ B(ps, [["render", ds]]), fs = (e) => {
3955
3952
  e.get("useChildrenForItems") === !0 && e.set("items", []);
3956
3953
  }
3957
3954
  }]
3958
- }, Is = (e) => e.toString(), xs = j({
3955
+ }, As = (e) => e.toString(), Rs = j({
3959
3956
  name: "builder-accordion",
3960
3957
  components: { Blocks: _e },
3961
3958
  props: [
@@ -3969,7 +3966,7 @@ const hs = /* @__PURE__ */ B(ps, [["render", ds]]), fs = (e) => {
3969
3966
  "builderLinkComponent"
3970
3967
  ],
3971
3968
  data() {
3972
- return { open: [], convertOrderNumberToString: Is };
3969
+ return { open: [], convertOrderNumberToString: As };
3973
3970
  },
3974
3971
  computed: {
3975
3972
  onlyOneAtATime() {
@@ -4050,17 +4047,17 @@ const hs = /* @__PURE__ */ B(ps, [["render", ds]]), fs = (e) => {
4050
4047
  this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
4051
4048
  }
4052
4049
  }
4053
- }), As = ["data-index", "onClick"];
4054
- function Rs(e, t, n, r, o, i) {
4055
- const a = V("Blocks");
4050
+ }), $s = ["data-index", "onClick"];
4051
+ function Os(e, t, n, r, o, i) {
4052
+ const a = F("Blocks");
4056
4053
  return y(), T("div", {
4057
4054
  class: "builder-accordion",
4058
- style: Oe(e.accordionStyles)
4055
+ style: Pe(e.accordionStyles)
4059
4056
  }, [
4060
4057
  (y(!0), T(Z, null, Te(e.items, (c, p) => (y(), T(Z, { key: p }, [
4061
4058
  ft("div", {
4062
4059
  class: mt(e.getAccordionTitleClassName(p)),
4063
- style: Oe({
4060
+ style: Pe({
4064
4061
  ...e.accordionTitleStyles,
4065
4062
  width: e.grid ? e.gridRowWidth : void 0,
4066
4063
  order: e.openGridItemOrder !== null ? e.convertOrderNumberToString(p) : e.convertOrderNumberToString(p + 1)
@@ -4068,7 +4065,7 @@ function Rs(e, t, n, r, o, i) {
4068
4065
  "data-index": p,
4069
4066
  onClick: (m) => e.onClick(p)
4070
4067
  }, [
4071
- oe(a, {
4068
+ se(a, {
4072
4069
  blocks: c.title,
4073
4070
  path: `items.${p}.title`,
4074
4071
  parent: e.builderBlock.id,
@@ -4076,13 +4073,13 @@ function Rs(e, t, n, r, o, i) {
4076
4073
  registeredComponents: e.builderComponents,
4077
4074
  linkComponent: e.builderLinkComponent
4078
4075
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
4079
- ], 14, As),
4076
+ ], 14, $s),
4080
4077
  e.open.includes(p) ? (y(), T("div", {
4081
4078
  key: 0,
4082
4079
  class: mt(e.getAccordionDetailClassName(p)),
4083
- style: Oe(e.accordionDetailStyles)
4080
+ style: Pe(e.accordionDetailStyles)
4084
4081
  }, [
4085
- oe(a, {
4082
+ se(a, {
4086
4083
  blocks: c.detail,
4087
4084
  path: `items.${p}.detail`,
4088
4085
  parent: e.builderBlock.id,
@@ -4090,11 +4087,11 @@ function Rs(e, t, n, r, o, i) {
4090
4087
  registeredComponents: e.builderComponents,
4091
4088
  linkComponent: e.builderLinkComponent
4092
4089
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
4093
- ], 6)) : D("", !0)
4090
+ ], 6)) : M("", !0)
4094
4091
  ], 64))), 128))
4095
4092
  ], 4);
4096
4093
  }
4097
- const $s = /* @__PURE__ */ B(xs, [["render", Rs]]), Os = {
4094
+ const Ps = /* @__PURE__ */ V(Rs, [["render", Os]]), js = {
4098
4095
  name: "Core:Button",
4099
4096
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
4100
4097
  defaultStyles: {
@@ -4127,7 +4124,7 @@ const $s = /* @__PURE__ */ B(xs, [["render", Rs]]), Os = {
4127
4124
  }],
4128
4125
  static: !0,
4129
4126
  noWrap: !0
4130
- }, Ps = {
4127
+ }, Bs = {
4131
4128
  // TODO: ways to statically preprocess JSON for references, functions, etc
4132
4129
  name: "Columns",
4133
4130
  isRSC: !0,
@@ -4328,13 +4325,13 @@ const $s = /* @__PURE__ */ B(xs, [["render", Rs]]), Os = {
4328
4325
  helperText: "When stacking columns for mobile devices, reverse the ordering",
4329
4326
  advanced: !0
4330
4327
  }]
4331
- }, js = {
4328
+ }, Ns = {
4332
4329
  name: "Fragment",
4333
4330
  static: !0,
4334
4331
  hidden: !0,
4335
4332
  canHaveChildren: !0,
4336
4333
  noWrap: !0
4337
- }, Ns = {
4334
+ }, Vs = {
4338
4335
  name: "Image",
4339
4336
  static: !0,
4340
4337
  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",
@@ -4427,6 +4424,11 @@ const $s = /* @__PURE__ */ B(xs, [["render", Rs]]), Os = {
4427
4424
  type: "boolean",
4428
4425
  helperText: "When child blocks are provided, fit to them instead of using the image's aspect ratio",
4429
4426
  defaultValue: !0
4427
+ }, {
4428
+ name: "highPriority",
4429
+ type: "boolean",
4430
+ advanced: !0,
4431
+ helperText: "Mark this image as high priority compared to other images on the page. This prevents lazy loading of the image and tells the browser to load this image before others on the page."
4430
4432
  }, {
4431
4433
  name: "aspectRatio",
4432
4434
  type: "number",
@@ -4434,7 +4436,7 @@ const $s = /* @__PURE__ */ B(xs, [["render", Rs]]), Os = {
4434
4436
  advanced: !0,
4435
4437
  defaultValue: 0.7041
4436
4438
  }]
4437
- }, Bs = {
4439
+ }, Fs = {
4438
4440
  name: "Core:Section",
4439
4441
  static: !0,
4440
4442
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -4473,7 +4475,7 @@ const $s = /* @__PURE__ */ B(xs, [["render", Rs]]), Os = {
4473
4475
  }
4474
4476
  }
4475
4477
  }]
4476
- }, Vs = {
4478
+ }, Us = {
4477
4479
  name: "Slot",
4478
4480
  isRSC: !0,
4479
4481
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -4486,15 +4488,15 @@ const $s = /* @__PURE__ */ B(xs, [["render", Rs]]), Os = {
4486
4488
  required: !0,
4487
4489
  defaultValue: "children"
4488
4490
  }]
4489
- }, Us = j({
4491
+ }, Ds = j({
4490
4492
  name: "builder-slot",
4491
4493
  components: { Blocks: _e },
4492
4494
  props: ["builderContext", "name"]
4493
4495
  });
4494
- function Fs(e, t, n, r, o, i) {
4496
+ function Ms(e, t, n, r, o, i) {
4495
4497
  var c, p, m;
4496
- const a = V("Blocks");
4497
- return y(), T("div", _(
4498
+ const a = F("Blocks");
4499
+ return y(), T("div", J(
4498
4500
  { style: {
4499
4501
  pointerEvents: "auto"
4500
4502
  } },
@@ -4502,7 +4504,7 @@ function Fs(e, t, n, r, o, i) {
4502
4504
  "builder-slot": e.name
4503
4505
  }
4504
4506
  ), [
4505
- oe(a, {
4507
+ se(a, {
4506
4508
  parent: (p = e.builderContext.context) == null ? void 0 : p.symbolId,
4507
4509
  path: `symbol.data.${e.name}`,
4508
4510
  context: e.builderContext,
@@ -4510,7 +4512,7 @@ function Fs(e, t, n, r, o, i) {
4510
4512
  }, null, 8, ["parent", "path", "context", "blocks"])
4511
4513
  ], 16);
4512
4514
  }
4513
- const Ds = /* @__PURE__ */ B(Us, [["render", Fs]]), Ms = {
4515
+ const Ws = /* @__PURE__ */ V(Ds, [["render", Ms]]), Ls = {
4514
4516
  name: "Symbol",
4515
4517
  noWrap: !0,
4516
4518
  static: !0,
@@ -4581,7 +4583,7 @@ const Ds = /* @__PURE__ */ B(Us, [["render", Fs]]), Ms = {
4581
4583
  text: "New tab content "
4582
4584
  }
4583
4585
  }
4584
- }, Ws = {
4586
+ }, Hs = {
4585
4587
  name: "Builder: Tabs",
4586
4588
  inputs: [{
4587
4589
  name: "tabs",
@@ -4678,7 +4680,7 @@ const Ds = /* @__PURE__ */ B(Us, [["render", Fs]]), Ms = {
4678
4680
  value: "flex-end"
4679
4681
  }]
4680
4682
  }]
4681
- }, Ls = j({
4683
+ }, Ks = j({
4682
4684
  name: "builder-tabs",
4683
4685
  components: { Blocks: _e },
4684
4686
  props: [
@@ -4703,13 +4705,13 @@ const Ds = /* @__PURE__ */ B(Us, [["render", Fs]]), Ms = {
4703
4705
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
4704
4706
  }
4705
4707
  }
4706
- }), Hs = ["onClick"], Ks = { key: 0 };
4707
- function zs(e, t, n, r, o, i) {
4708
- const a = V("Blocks");
4708
+ }), zs = ["onClick"], Gs = { key: 0 };
4709
+ function qs(e, t, n, r, o, i) {
4710
+ const a = F("Blocks");
4709
4711
  return y(), T("div", null, [
4710
4712
  ft("div", {
4711
4713
  class: "builder-tabs-wrap",
4712
- style: Oe({
4714
+ style: Pe({
4713
4715
  display: "flex",
4714
4716
  flexDirection: "row",
4715
4717
  justifyContent: e.tabHeaderLayout || "flex-start",
@@ -4719,12 +4721,12 @@ function zs(e, t, n, r, o, i) {
4719
4721
  (y(!0), T(Z, null, Te(e.tabs, (c, p) => (y(), T("span", {
4720
4722
  key: p,
4721
4723
  class: mt(`builder-tab-wrap ${e.activeTab === p ? "builder-tab-active" : ""}`),
4722
- style: Oe({
4724
+ style: Pe({
4723
4725
  ...e.activeTab === p ? e.activeTabStyle : {}
4724
4726
  }),
4725
4727
  onClick: (m) => e.onClick(p)
4726
4728
  }, [
4727
- oe(a, {
4729
+ se(a, {
4728
4730
  parent: e.builderBlock.id,
4729
4731
  path: `component.options.tabs.${p}.label`,
4730
4732
  blocks: c.label,
@@ -4732,10 +4734,10 @@ function zs(e, t, n, r, o, i) {
4732
4734
  registeredComponents: e.builderComponents,
4733
4735
  linkComponent: e.builderLinkComponent
4734
4736
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
4735
- ], 14, Hs))), 128))
4737
+ ], 14, zs))), 128))
4736
4738
  ], 4),
4737
- e.activeTabContent(e.activeTab) ? (y(), T("div", Ks, [
4738
- oe(a, {
4739
+ e.activeTabContent(e.activeTab) ? (y(), T("div", Gs, [
4740
+ se(a, {
4739
4741
  parent: e.builderBlock.id,
4740
4742
  path: `component.options.tabs.${e.activeTab}.content`,
4741
4743
  blocks: e.activeTabContent(e.activeTab),
@@ -4743,10 +4745,10 @@ function zs(e, t, n, r, o, i) {
4743
4745
  registeredComponents: e.builderComponents,
4744
4746
  linkComponent: e.builderLinkComponent
4745
4747
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
4746
- ])) : D("", !0)
4748
+ ])) : M("", !0)
4747
4749
  ]);
4748
4750
  }
4749
- const Gs = /* @__PURE__ */ B(Ls, [["render", zs]]), qs = {
4751
+ const Js = /* @__PURE__ */ V(Ks, [["render", qs]]), _s = {
4750
4752
  name: "Text",
4751
4753
  static: !0,
4752
4754
  isRSC: !0,
@@ -4764,11 +4766,11 @@ const Gs = /* @__PURE__ */ B(Ls, [["render", zs]]), qs = {
4764
4766
  height: "auto",
4765
4767
  textAlign: "center"
4766
4768
  }
4767
- }, Js = j({
4769
+ }, Xs = j({
4768
4770
  name: "builder-text",
4769
4771
  props: ["text"]
4770
- }), _s = ["innerHTML"];
4771
- function Xs(e, t, n, r, o, i) {
4772
+ }), Ys = ["innerHTML"];
4773
+ function Zs(e, t, n, r, o, i) {
4772
4774
  var a;
4773
4775
  return y(), T("div", {
4774
4776
  class: "builder-text",
@@ -4776,9 +4778,9 @@ function Xs(e, t, n, r, o, i) {
4776
4778
  style: {
4777
4779
  outline: "none"
4778
4780
  }
4779
- }, null, 8, _s);
4781
+ }, null, 8, Ys);
4780
4782
  }
4781
- const Ys = /* @__PURE__ */ B(Js, [["render", Xs]]), Zs = {
4783
+ const Qs = /* @__PURE__ */ V(Xs, [["render", Zs]]), ea = {
4782
4784
  name: "Custom Code",
4783
4785
  static: !0,
4784
4786
  requiredPermissions: ["editCode"],
@@ -4800,7 +4802,7 @@ const Ys = /* @__PURE__ */ B(Js, [["render", Xs]]), Zs = {
4800
4802
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
4801
4803
  advanced: !0
4802
4804
  }]
4803
- }, Qs = j({
4805
+ }, ta = j({
4804
4806
  name: "builder-custom-code",
4805
4807
  props: ["replaceNodes", "code"],
4806
4808
  data() {
@@ -4834,15 +4836,15 @@ const Ys = /* @__PURE__ */ B(Js, [["render", Xs]]), Zs = {
4834
4836
  }
4835
4837
  }
4836
4838
  }
4837
- }), ea = ["innerHTML"];
4838
- function ta(e, t, n, r, o, i) {
4839
+ }), na = ["innerHTML"];
4840
+ function ra(e, t, n, r, o, i) {
4839
4841
  return y(), T("div", {
4840
4842
  ref: "elementRef",
4841
4843
  class: mt("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
4842
4844
  innerHTML: e.code
4843
- }, null, 10, ea);
4845
+ }, null, 10, na);
4844
4846
  }
4845
- const na = /* @__PURE__ */ B(Qs, [["render", ta]]), ra = {
4847
+ const oa = /* @__PURE__ */ V(ta, [["render", ra]]), ia = {
4846
4848
  name: "Embed",
4847
4849
  static: !0,
4848
4850
  inputs: [{
@@ -4867,7 +4869,7 @@ const na = /* @__PURE__ */ B(Qs, [["render", ta]]), ra = {
4867
4869
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
4868
4870
  hideFromUI: !0
4869
4871
  }]
4870
- }, oa = ["text/javascript", "application/javascript", "application/ecmascript"], ia = (e) => oa.includes(e.type), sa = j({
4872
+ }, sa = ["text/javascript", "application/javascript", "application/ecmascript"], aa = (e) => sa.includes(e.type), la = j({
4871
4873
  name: "builder-embed",
4872
4874
  props: ["content"],
4873
4875
  data() {
@@ -4900,7 +4902,7 @@ const na = /* @__PURE__ */ B(Qs, [["render", ta]]), ra = {
4900
4902
  this.scriptsInserted.push(n.src);
4901
4903
  const r = document.createElement("script");
4902
4904
  r.async = !0, r.src = n.src, document.head.appendChild(r);
4903
- } else if (ia(n) && !this.scriptsRun.includes(n.innerText))
4905
+ } else if (aa(n) && !this.scriptsRun.includes(n.innerText))
4904
4906
  try {
4905
4907
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
4906
4908
  } catch (r) {
@@ -4909,15 +4911,15 @@ const na = /* @__PURE__ */ B(Qs, [["render", ta]]), ra = {
4909
4911
  }
4910
4912
  }
4911
4913
  }
4912
- }), aa = ["innerHTML"];
4913
- function la(e, t, n, r, o, i) {
4914
+ }), ca = ["innerHTML"];
4915
+ function ua(e, t, n, r, o, i) {
4914
4916
  return y(), T("div", {
4915
4917
  class: "builder-embed",
4916
4918
  ref: "elem",
4917
4919
  innerHTML: e.content
4918
- }, null, 8, aa);
4920
+ }, null, 8, ca);
4919
4921
  }
4920
- const ca = /* @__PURE__ */ B(sa, [["render", la]]), ua = {
4922
+ const pa = /* @__PURE__ */ V(la, [["render", ua]]), da = {
4921
4923
  name: "Form:Form",
4922
4924
  // editableTags: ['builder-form-error']
4923
4925
  defaults: {
@@ -5148,13 +5150,13 @@ const ca = /* @__PURE__ */ B(sa, [["render", la]]), ua = {
5148
5150
  }
5149
5151
  }
5150
5152
  }]
5151
- }, pa = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], da = () => {
5153
+ }, ha = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], fa = () => {
5152
5154
  const e = process.env.NODE_ENV || "production";
5153
- return pa.includes(e) ? e : "production";
5154
- }, ha = (e, t, n) => {
5155
+ return ha.includes(e) ? e : "production";
5156
+ }, ma = (e, t, n) => {
5155
5157
  const r = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, i) => o != null ? o[i] : o, e);
5156
5158
  return r === void 0 || r === e ? n : r;
5157
- }, fa = j({
5159
+ }, ga = j({
5158
5160
  name: "builder-form-component",
5159
5161
  components: { Block: Vn, Blocks: _e },
5160
5162
  props: [
@@ -5185,7 +5187,7 @@ const ca = /* @__PURE__ */ B(sa, [["render", la]]), ua = {
5185
5187
  formState: "unsubmitted",
5186
5188
  responseData: null,
5187
5189
  formErrorMessage: "",
5188
- filterAttrs: Ee
5190
+ filterAttrs: Ie
5189
5191
  };
5190
5192
  },
5191
5193
  methods: {
@@ -5198,7 +5200,7 @@ const ca = /* @__PURE__ */ B(sa, [["render", la]]), ua = {
5198
5200
  this.builderContext.rootSetState ? (r = (n = this.builderContext).rootSetState) == null || r.call(n, t) : this.builderContext.rootState = t;
5199
5201
  },
5200
5202
  submissionState() {
5201
- return se() && this.previewState || this.formState;
5203
+ return ce() && this.previewState || this.formState;
5202
5204
  },
5203
5205
  onSubmit(e) {
5204
5206
  var n;
@@ -5226,8 +5228,8 @@ const ca = /* @__PURE__ */ B(sa, [["render", la]]), ua = {
5226
5228
  } else if (h.type === "checkbox")
5227
5229
  C = h.checked;
5228
5230
  else if (h.type === "number" || h.type === "range") {
5229
- const E = h.valueAsNumber;
5230
- isNaN(E) || (C = E);
5231
+ const O = h.valueAsNumber;
5232
+ isNaN(O) || (C = O);
5231
5233
  } else
5232
5234
  h.type === "file" ? C = h.files : C = h.value;
5233
5235
  else
@@ -5257,7 +5259,7 @@ const ca = /* @__PURE__ */ B(sa, [["render", la]]), ua = {
5257
5259
  if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(m), m.defaultPrevented))
5258
5260
  return;
5259
5261
  this.formState = "sending";
5260
- const v = `${da() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
5262
+ const v = `${fa() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
5261
5263
  this.sendSubmissionsToEmail || ""
5262
5264
  )}&name=${encodeURIComponent(this.name || "")}`;
5263
5265
  fetch(
@@ -5272,31 +5274,31 @@ const ca = /* @__PURE__ */ B(sa, [["render", la]]), ua = {
5272
5274
  let C;
5273
5275
  const P = h.headers.get("content-type");
5274
5276
  if (P && P.indexOf("application/json") !== -1 ? C = await h.json() : C = await h.text(), !h.ok && this.errorMessagePath) {
5275
- let E = ha(C, this.errorMessagePath);
5276
- E && (typeof E != "string" && (E = JSON.stringify(E)), this.formErrorMessage = E, this.mergeNewRootState({
5277
- formErrorMessage: E
5277
+ let O = ma(C, this.errorMessagePath);
5278
+ O && (typeof O != "string" && (O = JSON.stringify(O)), this.formErrorMessage = O, this.mergeNewRootState({
5279
+ formErrorMessage: O
5278
5280
  }));
5279
5281
  }
5280
5282
  if (this.responseData = C, this.formState = h.ok ? "success" : "error", h.ok) {
5281
- const E = new CustomEvent("submit:success", {
5283
+ const O = new CustomEvent("submit:success", {
5282
5284
  detail: {
5283
5285
  res: h,
5284
5286
  body: C
5285
5287
  }
5286
5288
  });
5287
5289
  if (this.$refs.formRef) {
5288
- if (this.$refs.formRef.dispatchEvent(E), E.defaultPrevented)
5290
+ if (this.$refs.formRef.dispatchEvent(O), O.defaultPrevented)
5289
5291
  return;
5290
5292
  this.resetFormOnSubmit !== !1 && this.$refs.formRef.reset();
5291
5293
  }
5292
5294
  if (this.successUrl)
5293
5295
  if (this.$refs.formRef) {
5294
- const M = new CustomEvent("route", {
5296
+ const ee = new CustomEvent("route", {
5295
5297
  detail: {
5296
5298
  url: this.successUrl
5297
5299
  }
5298
5300
  });
5299
- this.$refs.formRef.dispatchEvent(M), M.defaultPrevented || (location.href = this.successUrl);
5301
+ this.$refs.formRef.dispatchEvent(ee), ee.defaultPrevented || (location.href = this.successUrl);
5300
5302
  } else
5301
5303
  location.href = this.successUrl;
5302
5304
  }
@@ -5313,50 +5315,50 @@ const ca = /* @__PURE__ */ B(sa, [["render", la]]), ua = {
5313
5315
  }
5314
5316
  }
5315
5317
  }
5316
- }), ma = ["validate", "action", "method", "name"], ga = {
5318
+ }), ya = ["validate", "action", "method", "name"], va = {
5317
5319
  key: 3,
5318
5320
  class: "builder-form-error-text pre-3q96myty4lk"
5319
5321
  };
5320
- function ya(e, t, n, r, o, i) {
5322
+ function ba(e, t, n, r, o, i) {
5321
5323
  var p;
5322
- const a = V("Block"), c = V("Blocks");
5323
- return y(), T("form", _({
5324
+ const a = F("Block"), c = F("Blocks");
5325
+ return y(), T("form", J({
5324
5326
  validate: e.validate,
5325
5327
  ref: "formRef",
5326
5328
  action: !e.sendWithJs && e.action,
5327
5329
  method: e.method,
5328
5330
  name: e.name,
5329
5331
  onSubmit: t[0] || (t[0] = (m) => e.onSubmit(m))
5330
- }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5332
+ }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, he(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5331
5333
  e.builderBlock && e.builderBlock.children ? (y(!0), T(Z, { key: 0 }, Te((p = e.builderBlock) == null ? void 0 : p.children, (m, v) => (y(), U(a, {
5332
5334
  key: `form-block-${e.idx}`,
5333
5335
  block: m,
5334
5336
  context: e.builderContext,
5335
5337
  registeredComponents: e.builderComponents,
5336
5338
  linkComponent: e.builderLinkComponent
5337
- }, null, 8, ["block", "context", "registeredComponents", "linkComponent"]))), 128)) : D("", !0),
5339
+ }, null, 8, ["block", "context", "registeredComponents", "linkComponent"]))), 128)) : M("", !0),
5338
5340
  e.submissionState() === "error" ? (y(), U(c, {
5339
5341
  key: 1,
5340
5342
  path: "errorMessage",
5341
5343
  blocks: e.errorMessage,
5342
5344
  context: e.builderContext
5343
- }, null, 8, ["blocks", "context"])) : D("", !0),
5345
+ }, null, 8, ["blocks", "context"])) : M("", !0),
5344
5346
  e.submissionState() === "sending" ? (y(), U(c, {
5345
5347
  key: 2,
5346
5348
  path: "sendingMessage",
5347
5349
  blocks: e.sendingMessage,
5348
5350
  context: e.builderContext
5349
- }, null, 8, ["blocks", "context"])) : D("", !0),
5350
- e.submissionState() === "error" && e.responseData ? (y(), T("pre", ga, Bt(JSON.stringify(e.responseData, null, 2)), 1)) : D("", !0),
5351
+ }, null, 8, ["blocks", "context"])) : M("", !0),
5352
+ e.submissionState() === "error" && e.responseData ? (y(), T("pre", va, Nt(JSON.stringify(e.responseData, null, 2)), 1)) : M("", !0),
5351
5353
  e.submissionState() === "success" ? (y(), U(c, {
5352
5354
  key: 4,
5353
5355
  path: "successMessage",
5354
5356
  blocks: e.successMessage,
5355
5357
  context: e.builderContext
5356
- }, null, 8, ["blocks", "context"])) : D("", !0)
5357
- ], 16, ma);
5358
+ }, null, 8, ["blocks", "context"])) : M("", !0)
5359
+ ], 16, ya);
5358
5360
  }
5359
- const va = /* @__PURE__ */ B(fa, [["render", ya], ["__scopeId", "data-v-6e18f21b"]]), ba = {
5361
+ const ka = /* @__PURE__ */ V(ga, [["render", ba], ["__scopeId", "data-v-6e18f21b"]]), Sa = {
5360
5362
  name: "Form:Input",
5361
5363
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
5362
5364
  inputs: [
@@ -5407,7 +5409,7 @@ const va = /* @__PURE__ */ B(fa, [["render", ya], ["__scopeId", "data-v-6e18f21b
5407
5409
  borderStyle: "solid",
5408
5410
  borderColor: "#ccc"
5409
5411
  }
5410
- }, ka = j({
5412
+ }, Ca = j({
5411
5413
  name: "builder-form-input-component",
5412
5414
  props: [
5413
5415
  "attributes",
@@ -5419,11 +5421,11 @@ const va = /* @__PURE__ */ B(fa, [["render", ya], ["__scopeId", "data-v-6e18f21b
5419
5421
  "required"
5420
5422
  ],
5421
5423
  data() {
5422
- return { isEditing: se, filterAttrs: Ee };
5424
+ return { isEditing: ce, filterAttrs: Ie };
5423
5425
  }
5424
- }), Sa = ["placeholder", "type", "name", "value", "defaultValue", "required"];
5425
- function Ca(e, t, n, r, o, i) {
5426
- return y(), T("input", _({
5426
+ }), wa = ["placeholder", "type", "name", "value", "defaultValue", "required"];
5427
+ function Ta(e, t, n, r, o, i) {
5428
+ return y(), T("input", J({
5427
5429
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
5428
5430
  placeholder: e.placeholder,
5429
5431
  type: e.type,
@@ -5431,9 +5433,9 @@ function Ca(e, t, n, r, o, i) {
5431
5433
  value: e.value,
5432
5434
  defaultValue: e.defaultValue,
5433
5435
  required: e.required
5434
- }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Sa);
5436
+ }, e.filterAttrs(e.attributes, "v-on:", !1), he(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, wa);
5435
5437
  }
5436
- const wa = /* @__PURE__ */ B(ka, [["render", Ca]]), Ta = {
5438
+ const Ia = /* @__PURE__ */ V(Ca, [["render", Ta]]), Ea = {
5437
5439
  name: "Form:Select",
5438
5440
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
5439
5441
  defaultStyles: {
@@ -5475,27 +5477,27 @@ const wa = /* @__PURE__ */ B(ka, [["render", Ca]]), Ta = {
5475
5477
  }],
5476
5478
  static: !0,
5477
5479
  noWrap: !0
5478
- }, Ea = j({
5480
+ }, xa = j({
5479
5481
  name: "builder-select-component",
5480
5482
  props: ["attributes", "value", "defaultValue", "name", "options"],
5481
5483
  data() {
5482
- return { isEditing: se, filterAttrs: Ee };
5484
+ return { isEditing: ce, filterAttrs: Ie };
5483
5485
  }
5484
- }), Ia = ["value", "defaultValue", "name"], xa = ["value"];
5485
- function Aa(e, t, n, r, o, i) {
5486
- return y(), T("select", _({
5486
+ }), Aa = ["value", "defaultValue", "name"], Ra = ["value"];
5487
+ function $a(e, t, n, r, o, i) {
5488
+ return y(), T("select", J({
5487
5489
  value: e.value,
5488
5490
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
5489
5491
  defaultValue: e.defaultValue,
5490
5492
  name: e.name
5491
- }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5493
+ }, e.filterAttrs(e.attributes, "v-on:", !1), he(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5492
5494
  (y(!0), T(Z, null, Te(e.options, (a, c) => (y(), T("option", {
5493
5495
  key: `${a.name}-${c}`,
5494
5496
  value: a.value
5495
- }, Bt(a.name || a.value), 9, xa))), 128))
5496
- ], 16, Ia);
5497
+ }, Nt(a.name || a.value), 9, Ra))), 128))
5498
+ ], 16, Aa);
5497
5499
  }
5498
- const Ra = /* @__PURE__ */ B(Ea, [["render", Aa]]), $a = {
5500
+ const Oa = /* @__PURE__ */ V(xa, [["render", $a]]), Pa = {
5499
5501
  name: "Form:SubmitButton",
5500
5502
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
5501
5503
  defaultStyles: {
@@ -5520,17 +5522,17 @@ const Ra = /* @__PURE__ */ B(Ea, [["render", Aa]]), $a = {
5520
5522
  // that only shows if advanced setting is flipped
5521
5523
  // TODO: defaultChildren
5522
5524
  // canHaveChildren: true,
5523
- }, Oa = j({
5525
+ }, ja = j({
5524
5526
  name: "builder-submit-button",
5525
5527
  props: ["attributes", "text"],
5526
5528
  data() {
5527
- return { filterAttrs: Ee };
5529
+ return { filterAttrs: Ie };
5528
5530
  }
5529
5531
  });
5530
- function Pa(e, t, n, r, o, i) {
5531
- return y(), T("button", _({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Bt(e.text), 17);
5532
+ function Ba(e, t, n, r, o, i) {
5533
+ return y(), T("button", J({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), he(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Nt(e.text), 17);
5532
5534
  }
5533
- const ja = /* @__PURE__ */ B(Oa, [["render", Pa]]), Na = {
5535
+ const Na = /* @__PURE__ */ V(ja, [["render", Ba]]), Va = {
5534
5536
  // friendlyName?
5535
5537
  name: "Raw:Img",
5536
5538
  hideFromInsertMenu: !0,
@@ -5544,7 +5546,7 @@ const ja = /* @__PURE__ */ B(Oa, [["render", Pa]]), Na = {
5544
5546
  }],
5545
5547
  noWrap: !0,
5546
5548
  static: !0
5547
- }, Ba = j({
5549
+ }, Fa = j({
5548
5550
  name: "builder-img-component",
5549
5551
  props: [
5550
5552
  "backgroundSize",
@@ -5555,11 +5557,11 @@ const ja = /* @__PURE__ */ B(Oa, [["render", Pa]]), Na = {
5555
5557
  "attributes"
5556
5558
  ],
5557
5559
  data() {
5558
- return { isEditing: se, filterAttrs: Ee };
5560
+ return { isEditing: ce, filterAttrs: Ie };
5559
5561
  }
5560
- }), Va = ["alt", "src"];
5561
- function Ua(e, t, n, r, o, i) {
5562
- return y(), T("img", _({
5562
+ }), Ua = ["alt", "src"];
5563
+ function Da(e, t, n, r, o, i) {
5564
+ return y(), T("img", J({
5563
5565
  style: {
5564
5566
  objectFit: e.backgroundSize || "cover",
5565
5567
  objectPosition: e.backgroundPosition || "center"
@@ -5567,9 +5569,9 @@ function Ua(e, t, n, r, o, i) {
5567
5569
  key: e.isEditing() && e.imgSrc || "default-key",
5568
5570
  alt: e.altText,
5569
5571
  src: e.imgSrc || e.image
5570
- }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Va);
5572
+ }, e.filterAttrs(e.attributes, "v-on:", !1), he(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Ua);
5571
5573
  }
5572
- const Fa = /* @__PURE__ */ B(Ba, [["render", Ua]]), Da = {
5574
+ const Ma = /* @__PURE__ */ V(Fa, [["render", Da]]), Wa = {
5573
5575
  name: "Video",
5574
5576
  canHaveChildren: !0,
5575
5577
  defaultStyles: {
@@ -5650,7 +5652,7 @@ const Fa = /* @__PURE__ */ B(Ba, [["render", Ua]]), Da = {
5650
5652
  defaultValue: !0,
5651
5653
  advanced: !0
5652
5654
  }]
5653
- }, Ma = j({
5655
+ }, La = j({
5654
5656
  name: "builder-video",
5655
5657
  props: [
5656
5658
  "autoPlay",
@@ -5695,16 +5697,16 @@ const Fa = /* @__PURE__ */ B(Ba, [["render", Ua]]), Da = {
5695
5697
  };
5696
5698
  }
5697
5699
  }
5698
- }), Wa = { style: {
5700
+ }), Ha = { style: {
5699
5701
  position: "relative"
5700
- } }, La = ["preload", "src", "poster"], Ha = ["src"], Ka = {
5702
+ } }, Ka = ["preload", "src", "poster"], za = ["src"], Ga = {
5701
5703
  key: 1,
5702
5704
  style: {
5703
5705
  display: "flex",
5704
5706
  flexDirection: "column",
5705
5707
  alignItems: "stretch"
5706
5708
  }
5707
- }, za = {
5709
+ }, qa = {
5708
5710
  key: 2,
5709
5711
  style: {
5710
5712
  pointerEvents: "none",
@@ -5718,10 +5720,10 @@ const Fa = /* @__PURE__ */ B(Ba, [["render", Ua]]), Da = {
5718
5720
  height: "100%"
5719
5721
  }
5720
5722
  };
5721
- function Ga(e, t, n, r, o, i) {
5723
+ function Ja(e, t, n, r, o, i) {
5722
5724
  var a, c, p, m, v, h, C;
5723
- return y(), T("div", Wa, [
5724
- ft("video", _({
5725
+ return y(), T("div", Ha, [
5726
+ ft("video", J({
5725
5727
  class: "builder-video",
5726
5728
  preload: e.preload || "metadata",
5727
5729
  style: {
@@ -5741,99 +5743,99 @@ function Ga(e, t, n, r, o, i) {
5741
5743
  src: e.video || "no-src",
5742
5744
  poster: e.posterImage
5743
5745
  }, e.spreadProps), [
5744
- e.lazyLoad ? D("", !0) : (y(), T("source", {
5746
+ e.lazyLoad ? M("", !0) : (y(), T("source", {
5745
5747
  key: 0,
5746
5748
  type: "video/mp4",
5747
5749
  src: e.video
5748
- }, null, 8, Ha))
5749
- ], 16, La),
5750
+ }, null, 8, za))
5751
+ ], 16, Ka),
5750
5752
  e.aspectRatio && !(e.fitContent && ((p = (c = e.builderBlock) == null ? void 0 : c.children) != null && p.length)) ? (y(), T("div", {
5751
5753
  key: 0,
5752
- style: Oe({
5754
+ style: Pe({
5753
5755
  width: "100%",
5754
5756
  paddingTop: e.aspectRatio * 100 + "%",
5755
5757
  pointerEvents: "none",
5756
5758
  fontSize: "0px"
5757
5759
  })
5758
- }, null, 4)) : D("", !0),
5759
- (v = (m = e.builderBlock) == null ? void 0 : m.children) != null && v.length && e.fitContent ? (y(), T("div", Ka, [
5760
- ue(e.$slots, "default")
5761
- ])) : D("", !0),
5762
- (C = (h = e.builderBlock) == null ? void 0 : h.children) != null && C.length && !e.fitContent ? (y(), T("div", za, [
5763
- ue(e.$slots, "default")
5764
- ])) : D("", !0)
5760
+ }, null, 4)) : M("", !0),
5761
+ (v = (m = e.builderBlock) == null ? void 0 : m.children) != null && v.length && e.fitContent ? (y(), T("div", Ga, [
5762
+ pe(e.$slots, "default")
5763
+ ])) : M("", !0),
5764
+ (C = (h = e.builderBlock) == null ? void 0 : h.children) != null && C.length && !e.fitContent ? (y(), T("div", qa, [
5765
+ pe(e.$slots, "default")
5766
+ ])) : M("", !0)
5765
5767
  ]);
5766
5768
  }
5767
- const qa = /* @__PURE__ */ B(Ma, [["render", Ga]]), Ja = () => [{
5768
- component: na,
5769
- ...Zs
5769
+ const _a = /* @__PURE__ */ V(La, [["render", Ja]]), Xa = () => [{
5770
+ component: oa,
5771
+ ...ea
5770
5772
  }, {
5771
- component: ca,
5772
- ...ra
5773
+ component: pa,
5774
+ ...ia
5773
5775
  }, {
5774
- component: va,
5775
- ...ua
5776
+ component: ka,
5777
+ ...da
5776
5778
  }, {
5777
- component: wa,
5778
- ...ba
5779
+ component: Ia,
5780
+ ...Sa
5779
5781
  }, {
5780
- component: ja,
5781
- ...$a
5782
+ component: Na,
5783
+ ...Pa
5782
5784
  }, {
5783
- component: Ra,
5784
- ...Ta
5785
+ component: Oa,
5786
+ ...Ea
5785
5787
  }, {
5786
- component: Fa,
5787
- ...Na
5788
+ component: Ma,
5789
+ ...Va
5788
5790
  }, {
5789
- component: qa,
5790
- ...Da
5791
- }], Er = () => [{
5791
+ component: _a,
5792
+ ...Wa
5793
+ }], Ir = () => [{
5792
5794
  component: zo,
5793
- ...Os
5794
- }, {
5795
- component: Qi,
5796
- ...Ps
5797
- }, {
5798
- component: ns,
5799
5795
  ...js
5800
5796
  }, {
5801
- component: us,
5802
- ...Ns
5803
- }, {
5804
- component: hs,
5797
+ component: ts,
5805
5798
  ...Bs
5806
5799
  }, {
5807
- component: Ds,
5800
+ component: os,
5801
+ ...Ns
5802
+ }, {
5803
+ component: ds,
5808
5804
  ...Vs
5809
5805
  }, {
5810
- component: rc,
5811
- ...Ms
5806
+ component: ms,
5807
+ ...Fs
5808
+ }, {
5809
+ component: Ws,
5810
+ ...Us
5812
5811
  }, {
5813
- component: Ys,
5814
- ...qs
5812
+ component: ic,
5813
+ ...Ls
5815
5814
  }, {
5816
- component: Gs,
5817
- ...Ws
5815
+ component: Qs,
5816
+ ..._s
5818
5817
  }, {
5819
- component: $s,
5820
- ...Es
5821
- }, ...Ja()], _a = (e) => ({
5818
+ component: Js,
5819
+ ...Hs
5820
+ }, {
5821
+ component: Ps,
5822
+ ...xs
5823
+ }, ...Xa()], Ya = (e) => ({
5822
5824
  type: "builder.registerComponent",
5823
5825
  data: bn(e)
5824
- }), Xa = (e) => {
5826
+ }), Za = (e) => {
5825
5827
  const t = e.toString().trim();
5826
5828
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
5827
- }, Ya = (e) => typeof e == "function" ? Xa(e) : St(e), bn = ({
5829
+ }, Qa = (e) => typeof e == "function" ? Za(e) : St(e), bn = ({
5828
5830
  inputs: e,
5829
5831
  ...t
5830
5832
  }) => ({
5831
5833
  ...St(t),
5832
5834
  inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((r, [o, i]) => ({
5833
5835
  ...r,
5834
- [o]: Ya(i)
5836
+ [o]: Qa(i)
5835
5837
  }), {}))
5836
- }), Za = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
5838
+ }), el = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
5837
5839
  function getAndSetVariantId() {
5838
5840
  function setCookie(name, value, days) {
5839
5841
  let expires = '';
@@ -5889,7 +5891,7 @@ const qa = /* @__PURE__ */ B(Ma, [["render", Ga]]), Ja = () => [{
5889
5891
  }).join('');
5890
5892
  styleEl.innerHTML = newStyleStr;
5891
5893
  }
5892
- }`, Qa = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
5894
+ }`, tl = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
5893
5895
  if (!navigator.cookieEnabled) {
5894
5896
  return;
5895
5897
  }
@@ -5927,16 +5929,16 @@ const qa = /* @__PURE__ */ B(Ma, [["render", Ga]]), Ja = () => [{
5927
5929
  ...t,
5928
5930
  testVariationId: t.id,
5929
5931
  id: e == null ? void 0 : e.id
5930
- })), el = ({
5932
+ })), nl = ({
5931
5933
  canTrack: e,
5932
5934
  content: t
5933
- }) => !(!(Pt(t).length > 0) || !e), tl = (e) => e === "react" || e === "reactNative", so = tl(he), nl = () => `
5934
- window.${oo} = ${Za}
5935
- window.${io} = ${Qa}
5936
- `, rl = (e, t) => `
5935
+ }) => !(!(Pt(t).length > 0) || !e), rl = (e) => e === "react" || e === "reactNative", so = rl(Q), ol = () => `
5936
+ window.${oo} = ${el}
5937
+ window.${io} = ${tl}
5938
+ `, il = (e, t) => `
5937
5939
  window.${oo}(
5938
5940
  "${t}",${JSON.stringify(e)}, ${so}
5939
- )`, ol = ({
5941
+ )`, sl = ({
5940
5942
  contentId: e,
5941
5943
  variationId: t
5942
5944
  }) => `window.${io}(
@@ -5951,17 +5953,17 @@ const qa = /* @__PURE__ */ B(Ma, [["render", Ga]]), Ja = () => [{
5951
5953
  name: "inlined-script",
5952
5954
  props: ["scriptStr", "id"]
5953
5955
  });
5954
- function il() {
5956
+ function al() {
5955
5957
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
5956
5958
  }
5957
- function sl() {
5958
- const e = il().fetch;
5959
+ function ll() {
5960
+ const e = al().fetch;
5959
5961
  if (typeof e > "u")
5960
5962
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
5961
5963
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
5962
5964
  return e;
5963
5965
  }
5964
- const lo = sl();
5966
+ const lo = ll();
5965
5967
  function kn(e, t = null, n = ".") {
5966
5968
  return Object.keys(e).reduce((r, o) => {
5967
5969
  const i = e[o], a = [t, o].filter(Boolean).join(n);
@@ -5981,18 +5983,18 @@ function co(e, t, n = {}) {
5981
5983
  }
5982
5984
  return n;
5983
5985
  }
5984
- const al = "v3", Ir = "builder.", ll = "options.", uo = (e) => {
5986
+ const cl = "v3", Er = "builder.", ul = "options.", uo = (e) => {
5985
5987
  if (!e)
5986
5988
  return {};
5987
- const t = Br(e), n = {};
5989
+ const t = Nr(e), n = {};
5988
5990
  return Object.keys(t).forEach((r) => {
5989
- if (r.startsWith(Ir)) {
5990
- const o = r.replace(Ir, "").replace(ll, "");
5991
+ if (r.startsWith(Er)) {
5992
+ const o = r.replace(Er, "").replace(ul, "");
5991
5993
  n[o] = t[r];
5992
5994
  }
5993
5995
  }), n;
5994
- }, cl = () => {
5995
- if (!X())
5996
+ }, pl = () => {
5997
+ if (!_())
5996
5998
  return {};
5997
5999
  const e = new URLSearchParams(window.location.search);
5998
6000
  return uo(e);
@@ -6005,95 +6007,95 @@ const al = "v3", Ir = "builder.", ll = "options.", uo = (e) => {
6005
6007
  apiKey: i,
6006
6008
  enrich: a,
6007
6009
  locale: c,
6008
- apiVersion: p = al,
6010
+ apiVersion: p = cl,
6009
6011
  fields: m,
6010
6012
  omit: v,
6011
6013
  offset: h,
6012
6014
  cacheSeconds: C,
6013
6015
  staleCacheSeconds: P,
6014
- sort: E,
6015
- includeUnpublished: M
6016
+ sort: O,
6017
+ includeUnpublished: ee
6016
6018
  } = e;
6017
6019
  if (!i)
6018
6020
  throw new Error("Missing API key");
6019
6021
  if (!["v3"].includes(p))
6020
6022
  throw new Error(`Invalid apiVersion: expected 'v3', received '${p}'`);
6021
- const ae = t !== 1, W = new URL(`https://cdn.builder.io/api/${p}/content/${o}`);
6022
- if (W.searchParams.set("apiKey", i), W.searchParams.set("limit", String(t)), W.searchParams.set("noTraverse", String(ae)), W.searchParams.set("includeRefs", String(!0)), c && W.searchParams.set("locale", c), a && W.searchParams.set("enrich", String(a)), W.searchParams.set("omit", v || "meta.componentsUsed"), m && W.searchParams.set("fields", m), Number.isFinite(h) && h > -1 && W.searchParams.set("offset", String(Math.floor(h))), typeof M == "boolean" && W.searchParams.set("includeUnpublished", String(M)), C && xr(C) && W.searchParams.set("cacheSeconds", String(C)), P && xr(P) && W.searchParams.set("staleCacheSeconds", String(P)), E) {
6023
- const le = kn({
6024
- sort: E
6023
+ const X = t !== 1, N = new URL(`https://cdn.builder.io/api/${p}/content/${o}`);
6024
+ if (N.searchParams.set("apiKey", i), N.searchParams.set("limit", String(t)), N.searchParams.set("noTraverse", String(X)), N.searchParams.set("includeRefs", String(!0)), c && N.searchParams.set("locale", c), a && N.searchParams.set("enrich", String(a)), N.searchParams.set("omit", v || "meta.componentsUsed"), m && N.searchParams.set("fields", m), Number.isFinite(h) && h > -1 && N.searchParams.set("offset", String(Math.floor(h))), typeof ee == "boolean" && N.searchParams.set("includeUnpublished", String(ee)), C && xr(C) && N.searchParams.set("cacheSeconds", String(C)), P && xr(P) && N.searchParams.set("staleCacheSeconds", String(P)), O) {
6025
+ const oe = kn({
6026
+ sort: O
6025
6027
  });
6026
- for (const xe in le)
6027
- W.searchParams.set(xe, JSON.stringify(le[xe]));
6028
- }
6029
- const $ = {
6030
- ...cl(),
6031
- ...Br(e.options || {})
6032
- }, Ue = kn($);
6033
- for (const le in Ue)
6034
- W.searchParams.set(le, String(Ue[le]));
6035
- if (n && W.searchParams.set("userAttributes", JSON.stringify(n)), r) {
6036
- const le = co({
6028
+ for (const Ae in oe)
6029
+ N.searchParams.set(Ae, JSON.stringify(oe[Ae]));
6030
+ }
6031
+ const A = {
6032
+ ...pl(),
6033
+ ...Nr(e.options || {})
6034
+ }, xe = kn(A);
6035
+ for (const oe in xe)
6036
+ N.searchParams.set(oe, String(xe[oe]));
6037
+ if (n && N.searchParams.set("userAttributes", JSON.stringify(n)), r) {
6038
+ const oe = co({
6037
6039
  query: r
6038
6040
  });
6039
- for (const xe in le)
6040
- W.searchParams.set(xe, JSON.stringify(le[xe]));
6041
+ for (const Ae in oe)
6042
+ N.searchParams.set(Ae, JSON.stringify(oe[Ae]));
6041
6043
  }
6042
- return W;
6043
- }, ul = (e) => "results" in e;
6044
+ return N;
6045
+ }, dl = (e) => "results" in e;
6044
6046
  async function Mn(e) {
6045
- const t = await hl({
6047
+ const t = await ml({
6046
6048
  ...e,
6047
6049
  limit: 1
6048
6050
  });
6049
6051
  return t && t[0] || null;
6050
6052
  }
6051
- const pl = async (e) => {
6053
+ const hl = async (e) => {
6052
6054
  const t = Dn(e);
6053
6055
  return await (await (e.fetch ?? lo)(t.href, e.fetchOptions)).json();
6054
- }, dl = async (e, t, n = Dn(e)) => {
6056
+ }, fl = async (e, t, n = Dn(e)) => {
6055
6057
  const r = vt(e.canTrack);
6056
- if (n.search.includes("preview="), !r || !(X() || he === "reactNative"))
6058
+ if (n.search.includes("preview="), !r || !(_() || Q === "reactNative"))
6057
6059
  return t.results;
6058
6060
  try {
6059
6061
  const o = [];
6060
6062
  for (const i of t.results)
6061
- o.push(await Ts({
6063
+ o.push(await Es({
6062
6064
  item: i,
6063
6065
  canTrack: r
6064
6066
  }));
6065
6067
  t.results = o;
6066
6068
  } catch (o) {
6067
- ne.error("Could not process A/B tests. ", o);
6069
+ ae.error("Could not process A/B tests. ", o);
6068
6070
  }
6069
6071
  return t.results;
6070
6072
  };
6071
- async function hl(e) {
6073
+ async function ml(e) {
6072
6074
  try {
6073
- const t = Dn(e), n = await pl(e);
6074
- return ul(n) ? dl(e, n) : (ne.error("Error fetching data. ", {
6075
+ const t = Dn(e), n = await hl(e);
6076
+ return dl(n) ? fl(e, n) : (ae.error("Error fetching data. ", {
6075
6077
  url: t,
6076
6078
  content: n,
6077
6079
  options: e
6078
6080
  }), null);
6079
6081
  } catch (t) {
6080
- return ne.error("Error fetching data. ", t), null;
6082
+ return ae.error("Error fetching data. ", t), null;
6081
6083
  }
6082
6084
  }
6083
- function fl(e) {
6084
- const t = e || (X() ? window.location.search : void 0);
6085
+ function gl(e) {
6086
+ const t = e || (_() ? window.location.search : void 0);
6085
6087
  return t ? Vr(t).indexOf("builder.preview=") !== -1 : !1;
6086
6088
  }
6087
- function ml() {
6089
+ function yl() {
6088
6090
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
6089
6091
  const t = Math.random() * 16 | 0;
6090
6092
  return (e == "x" ? t : t & 3 | 8).toString(16);
6091
6093
  });
6092
6094
  }
6093
6095
  function po() {
6094
- return ml().replace(/-/g, "");
6096
+ return yl().replace(/-/g, "");
6095
6097
  }
6096
- const ho = "builderSessionId", gl = async ({
6098
+ const ho = "builderSessionId", vl = async ({
6097
6099
  canTrack: e
6098
6100
  }) => {
6099
6101
  if (!e)
@@ -6102,23 +6104,23 @@ const ho = "builderSessionId", gl = async ({
6102
6104
  name: ho,
6103
6105
  canTrack: e
6104
6106
  });
6105
- if (je(t))
6107
+ if (Be(t))
6106
6108
  return t;
6107
6109
  {
6108
- const n = yl();
6109
- return vl({
6110
+ const n = bl();
6111
+ return kl({
6110
6112
  id: n,
6111
6113
  canTrack: e
6112
6114
  }), n;
6113
6115
  }
6114
- }, yl = () => po(), vl = ({
6116
+ }, bl = () => po(), kl = ({
6115
6117
  id: e,
6116
6118
  canTrack: t
6117
6119
  }) => eo({
6118
6120
  name: ho,
6119
6121
  value: e,
6120
6122
  canTrack: t
6121
- }), fo = () => X() && typeof localStorage < "u" ? localStorage : void 0, bl = ({
6123
+ }), fo = () => _() && typeof localStorage < "u" ? localStorage : void 0, Sl = ({
6122
6124
  key: e,
6123
6125
  canTrack: t
6124
6126
  }) => {
@@ -6129,7 +6131,7 @@ const ho = "builderSessionId", gl = async ({
6129
6131
  console.debug("[LocalStorage] GET error: ", r);
6130
6132
  return;
6131
6133
  }
6132
- }, kl = ({
6134
+ }, Cl = ({
6133
6135
  key: e,
6134
6136
  canTrack: t,
6135
6137
  value: n
@@ -6140,32 +6142,32 @@ const ho = "builderSessionId", gl = async ({
6140
6142
  } catch (o) {
6141
6143
  console.debug("[LocalStorage] SET error: ", o);
6142
6144
  }
6143
- }, mo = "builderVisitorId", Sl = ({
6145
+ }, mo = "builderVisitorId", wl = ({
6144
6146
  canTrack: e
6145
6147
  }) => {
6146
6148
  if (!e)
6147
6149
  return;
6148
- const t = bl({
6150
+ const t = Sl({
6149
6151
  key: mo,
6150
6152
  canTrack: e
6151
6153
  });
6152
- if (je(t))
6154
+ if (Be(t))
6153
6155
  return t;
6154
6156
  {
6155
- const n = Cl();
6156
- return wl({
6157
+ const n = Tl();
6158
+ return Il({
6157
6159
  id: n,
6158
6160
  canTrack: e
6159
6161
  }), n;
6160
6162
  }
6161
- }, Cl = () => po(), wl = ({
6163
+ }, Tl = () => po(), Il = ({
6162
6164
  id: e,
6163
6165
  canTrack: t
6164
- }) => kl({
6166
+ }) => Cl({
6165
6167
  key: mo,
6166
6168
  value: e,
6167
6169
  canTrack: t
6168
- }), Tl = async ({
6170
+ }), El = async ({
6169
6171
  canTrack: e
6170
6172
  }) => {
6171
6173
  if (!e)
@@ -6173,16 +6175,16 @@ const ho = "builderSessionId", gl = async ({
6173
6175
  visitorId: void 0,
6174
6176
  sessionId: void 0
6175
6177
  };
6176
- const t = await gl({
6178
+ const t = await vl({
6177
6179
  canTrack: e
6178
- }), n = Sl({
6180
+ }), n = wl({
6179
6181
  canTrack: e
6180
6182
  });
6181
6183
  return {
6182
6184
  sessionId: t,
6183
6185
  visitorId: n
6184
6186
  };
6185
- }, El = async ({
6187
+ }, xl = async ({
6186
6188
  type: e,
6187
6189
  canTrack: t,
6188
6190
  apiKey: n,
@@ -6196,23 +6198,23 @@ const ho = "builderSessionId", gl = async ({
6196
6198
  url: location.href,
6197
6199
  ...r
6198
6200
  },
6199
- ...await Tl({
6201
+ ...await El({
6200
6202
  canTrack: t
6201
6203
  }),
6202
- userAttributes: Ur(),
6204
+ userAttributes: Fr(),
6203
6205
  ownerId: n
6204
6206
  }
6205
6207
  });
6206
6208
  async function Sn(e) {
6207
6209
  if (!e.apiKey) {
6208
- ne.error("Missing API key for track call. Please provide your API key.");
6210
+ ae.error("Missing API key for track call. Please provide your API key.");
6209
6211
  return;
6210
6212
  }
6211
- if (e.canTrack && !se() && (X() || he === "reactNative"))
6213
+ if (e.canTrack && !ce() && (_() || Q === "reactNative"))
6212
6214
  return fetch("https://cdn.builder.io/api/v1/track", {
6213
6215
  method: "POST",
6214
6216
  body: JSON.stringify({
6215
- events: [await El(e)]
6217
+ events: [await xl(e)]
6216
6218
  }),
6217
6219
  headers: {
6218
6220
  "content-type": "application/json"
@@ -6222,14 +6224,14 @@ async function Sn(e) {
6222
6224
  console.error("Failed to track: ", t);
6223
6225
  });
6224
6226
  }
6225
- const pc = (e) => Sn({
6227
+ const hc = (e) => Sn({
6226
6228
  ...e,
6227
6229
  canTrack: !0
6228
6230
  });
6229
6231
  function Ar(e) {
6230
6232
  return Math.round(e * 1e3) / 1e3;
6231
6233
  }
6232
- const Il = (e, t, n = !0) => {
6234
+ const Al = (e, t, n = !0) => {
6233
6235
  if (!(e instanceof HTMLElement))
6234
6236
  return null;
6235
6237
  let r = n ? e : e.parentElement;
@@ -6240,7 +6242,7 @@ const Il = (e, t, n = !0) => {
6240
6242
  return r;
6241
6243
  } while (r = r.parentElement);
6242
6244
  return null;
6243
- }, xl = (e) => Il(e, (t) => {
6245
+ }, Rl = (e) => Al(e, (t) => {
6244
6246
  const n = t.getAttribute("builder-id") || t.id;
6245
6247
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
6246
6248
  }), Rr = ({
@@ -6252,8 +6254,8 @@ const Il = (e, t, n = !0) => {
6252
6254
  x: i,
6253
6255
  y: a
6254
6256
  };
6255
- }, Al = (e) => {
6256
- const t = e.target, n = t && xl(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
6257
+ }, $l = (e) => {
6258
+ const t = e.target, n = t && Rl(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
6257
6259
  return {
6258
6260
  targetBuilderElement: r || void 0,
6259
6261
  metadata: {
@@ -6268,15 +6270,15 @@ const Il = (e, t, n = !0) => {
6268
6270
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
6269
6271
  }
6270
6272
  };
6271
- }, Rl = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
6273
+ }, Ol = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
6272
6274
  function go(e, t) {
6273
6275
  const n = new URL(t.origin), r = n.hostname;
6274
- return (e || Rl).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
6276
+ return (e || Ol).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
6275
6277
  }
6276
- const $l = "1.0.30", $r = {};
6277
- function Ol(e, t) {
6278
+ const Pl = "1.0.32", $r = {};
6279
+ function jl(e, t) {
6278
6280
  let n = $r[e];
6279
- if (n || (n = $r[e] = []), n.push(t), X()) {
6281
+ if (n || (n = $r[e] = []), n.push(t), _()) {
6280
6282
  const r = {
6281
6283
  type: "builder.register",
6282
6284
  data: {
@@ -6291,8 +6293,8 @@ function Ol(e, t) {
6291
6293
  }
6292
6294
  }
6293
6295
  }
6294
- const Pl = () => {
6295
- Ol("insertMenu", {
6296
+ const Bl = () => {
6297
+ jl("insertMenu", {
6296
6298
  name: "_default",
6297
6299
  default: !0,
6298
6300
  items: [{
@@ -6317,11 +6319,11 @@ const Pl = () => {
6317
6319
  let Or = !1;
6318
6320
  const yo = (e = {}) => {
6319
6321
  var t, n;
6320
- Or || (Or = !0, X() && ((t = window.parent) == null || t.postMessage({
6322
+ Or || (Or = !0, _() && ((t = window.parent) == null || t.postMessage({
6321
6323
  type: "builder.sdkInfo",
6322
6324
  data: {
6323
- target: he,
6324
- version: $l,
6325
+ target: Q,
6326
+ version: Pl,
6325
6327
  supportsPatchUpdates: !1,
6326
6328
  // Supports builder-model="..." attribute which is needed to
6327
6329
  // scope our '+ add block' button styling
@@ -6357,8 +6359,8 @@ const yo = (e = {}) => {
6357
6359
  error: C.message
6358
6360
  }
6359
6361
  }, "*") : h && typeof h.then == "function" ? h.then((P) => {
6360
- var E;
6361
- (E = window.parent) == null || E.postMessage({
6362
+ var O;
6363
+ (O = window.parent) == null || O.postMessage({
6362
6364
  type: "builder.evaluateResult",
6363
6365
  data: {
6364
6366
  id: m,
@@ -6402,9 +6404,9 @@ const yo = (e = {}) => {
6402
6404
  break;
6403
6405
  }
6404
6406
  }
6405
- }, dc = (e, t, n) => {
6406
- if (!X)
6407
- return ne.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
6407
+ }, fc = (e, t, n) => {
6408
+ if (!_)
6409
+ return ae.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
6408
6410
  };
6409
6411
  yo();
6410
6412
  const r = vo({
@@ -6421,7 +6423,7 @@ const yo = (e = {}) => {
6421
6423
  return window.addEventListener("message", r), () => {
6422
6424
  window.removeEventListener("message", r);
6423
6425
  };
6424
- }, jl = (e) => {
6426
+ }, Nl = (e) => {
6425
6427
  var i;
6426
6428
  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);
6427
6429
  let o = "";
@@ -6447,15 +6449,15 @@ font-weight: ${a};
6447
6449
  `.trim());
6448
6450
  }
6449
6451
  return o;
6450
- }, Nl = ({
6452
+ }, Vl = ({
6451
6453
  customFonts: e
6452
6454
  }) => {
6453
6455
  var t;
6454
- return ((t = e == null ? void 0 : e.map((n) => jl(n))) == null ? void 0 : t.join(" ")) || "";
6455
- }, Bl = ({
6456
+ return ((t = e == null ? void 0 : e.map((n) => Nl(n))) == null ? void 0 : t.join(" ")) || "";
6457
+ }, Fl = ({
6456
6458
  cssCode: e,
6457
6459
  contentId: t
6458
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Vl = `
6460
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ul = `
6459
6461
  .builder-button {
6460
6462
  all: unset;
6461
6463
  }
@@ -6472,7 +6474,7 @@ font-weight: ${a};
6472
6474
  text-align: inherit;
6473
6475
  font-family: inherit;
6474
6476
  }
6475
- `, Ul = (e) => e ? "" : Vl, Fl = (e) => `variant-${e}`, Dl = j({
6477
+ `, Dl = (e) => e ? "" : Ul, Ml = (e) => `variant-${e}`, Wl = j({
6476
6478
  name: "enable-editor",
6477
6479
  components: { DynamicDiv: Ct },
6478
6480
  props: [
@@ -6497,7 +6499,7 @@ font-weight: ${a};
6497
6499
  httpReqsPending: {},
6498
6500
  clicked: !1,
6499
6501
  builderContext: mn,
6500
- getWrapperClassName: Fl
6502
+ getWrapperClassName: Ml
6501
6503
  };
6502
6504
  },
6503
6505
  provide() {
@@ -6509,8 +6511,8 @@ font-weight: ${a};
6509
6511
  mounted() {
6510
6512
  (() => {
6511
6513
  var n, r;
6512
- if (X()) {
6513
- if (se() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
6514
+ if (_()) {
6515
+ if (ce() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
6514
6516
  new CustomEvent("initeditingbldr")
6515
6517
  ), this.builderContextSignal.content && vt(this.canTrack)) {
6516
6518
  const i = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, a = (r = this.builderContextSignal.content) == null ? void 0 : r.id, c = this.apiKey;
@@ -6522,12 +6524,12 @@ font-weight: ${a};
6522
6524
  variationId: i !== a ? i : void 0
6523
6525
  });
6524
6526
  }
6525
- fl() && !se() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
6527
+ gl() && !ce() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
6526
6528
  new CustomEvent("initpreviewingbldr")
6527
6529
  );
6528
6530
  }
6529
6531
  })(), (() => {
6530
- this.apiKey || ne.error(
6532
+ this.apiKey || ae.error(
6531
6533
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
6532
6534
  ), this.evaluateJsCode(), this.runHttpRequests(), this.emitStateUpdate();
6533
6535
  })();
@@ -6573,7 +6575,7 @@ font-weight: ${a};
6573
6575
  }
6574
6576
  },
6575
6577
  unmounted() {
6576
- X() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
6578
+ _() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
6577
6579
  "builder:component:stateChangeListenerActivated",
6578
6580
  this.emitStateUpdate
6579
6581
  ));
@@ -6670,7 +6672,7 @@ font-weight: ${a};
6670
6672
  evaluateJsCode() {
6671
6673
  var t, n;
6672
6674
  const e = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.jsCode;
6673
- e && Nt({
6675
+ e && Bt({
6674
6676
  code: e,
6675
6677
  context: this.context || {},
6676
6678
  localState: void 0,
@@ -6692,7 +6694,7 @@ font-weight: ${a};
6692
6694
  contentId: o,
6693
6695
  apiKey: this.apiKey,
6694
6696
  variationId: r !== o ? r : void 0,
6695
- ...Al(e),
6697
+ ...$l(e),
6696
6698
  unique: !this.clicked
6697
6699
  });
6698
6700
  }
@@ -6702,13 +6704,13 @@ font-weight: ${a};
6702
6704
  var t, n;
6703
6705
  const e = ((n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.httpRequests) ?? {};
6704
6706
  Object.entries(e).forEach(([r, o]) => {
6705
- if (!o || this.httpReqsPending[r] || this.httpReqsData[r] && !se())
6707
+ if (!o || this.httpReqsPending[r] || this.httpReqsData[r] && !ce())
6706
6708
  return;
6707
6709
  this.httpReqsPending[r] = !0;
6708
6710
  const i = o.replace(
6709
6711
  /{{([^}]+)}}/g,
6710
6712
  (a, c) => String(
6711
- Nt({
6713
+ Bt({
6712
6714
  code: c,
6713
6715
  context: this.context || {},
6714
6716
  localState: void 0,
@@ -6730,7 +6732,7 @@ font-weight: ${a};
6730
6732
  });
6731
6733
  },
6732
6734
  emitStateUpdate() {
6733
- se() && window.dispatchEvent(
6735
+ ce() && window.dispatchEvent(
6734
6736
  new CustomEvent(
6735
6737
  "builder:component:stateChange",
6736
6738
  {
@@ -6745,7 +6747,7 @@ font-weight: ${a};
6745
6747
  );
6746
6748
  },
6747
6749
  elementRef_onIniteditingbldr(e) {
6748
- window.addEventListener("message", this.processMessage), Pl(), yo({
6750
+ window.addEventListener("message", this.processMessage), Bl(), yo({
6749
6751
  ...this.locale ? {
6750
6752
  locale: this.locale
6751
6753
  } : {},
@@ -6759,7 +6761,7 @@ font-weight: ${a};
6759
6761
  this.builderContextSignal.componentInfos
6760
6762
  ).forEach((t) => {
6761
6763
  var r;
6762
- const n = _a(t);
6764
+ const n = Ya(t);
6763
6765
  (r = window.parent) == null || r.postMessage(n, "*");
6764
6766
  }), window.addEventListener(
6765
6767
  "builder:component:stateChangeListenerActivated",
@@ -6780,9 +6782,9 @@ font-weight: ${a};
6780
6782
  }
6781
6783
  }
6782
6784
  });
6783
- function Ml(e, t, n, r, o, i) {
6785
+ function Ll(e, t, n, r, o, i) {
6784
6786
  var a, c, p;
6785
- return e.builderContextSignal.content ? (y(), U(ut(e.ContentWrapper), _({
6787
+ return e.builderContextSignal.content ? (y(), U(ut(e.ContentWrapper), J({
6786
6788
  key: 0,
6787
6789
  ref: "elementRef",
6788
6790
  onClick: (m) => e.onClick(m),
@@ -6793,38 +6795,38 @@ function Ml(e, t, n, r, o, i) {
6793
6795
  onInitpreviewingbldr: (m) => e.elementRef_onInitpreviewingbldr(m)
6794
6796
  }, { ...e.showContentProps, ...e.contentWrapperProps }), {
6795
6797
  default: we(() => [
6796
- ue(e.$slots, "default")
6798
+ pe(e.$slots, "default")
6797
6799
  ]),
6798
6800
  _: 3
6799
- }, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : D("", !0);
6801
+ }, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : M("", !0);
6800
6802
  }
6801
- const Wl = /* @__PURE__ */ B(Dl, [["render", Ml]]), Ll = j({
6803
+ const Hl = /* @__PURE__ */ V(Wl, [["render", Ll]]), Kl = j({
6802
6804
  name: "content-styles",
6803
- components: { InlinedStyles: Un },
6805
+ components: { InlinedStyles: Fn },
6804
6806
  props: ["cssCode", "contentId", "customFonts", "isNestedRender"],
6805
6807
  data() {
6806
6808
  return {
6807
6809
  injectedStyles: `
6808
- ${Bl({
6810
+ ${Fl({
6809
6811
  cssCode: this.cssCode,
6810
6812
  contentId: this.contentId
6811
6813
  })}
6812
- ${Nl({
6814
+ ${Vl({
6813
6815
  customFonts: this.customFonts
6814
6816
  })}
6815
- ${Ul(this.isNestedRender)}
6817
+ ${Dl(this.isNestedRender)}
6816
6818
  `.trim()
6817
6819
  };
6818
6820
  }
6819
6821
  });
6820
- function Hl(e, t, n, r, o, i) {
6821
- const a = V("InlinedStyles");
6822
+ function zl(e, t, n, r, o, i) {
6823
+ const a = F("InlinedStyles");
6822
6824
  return y(), U(a, {
6823
6825
  id: "builderio-content",
6824
6826
  styles: e.injectedStyles
6825
6827
  }, null, 8, ["styles"]);
6826
6828
  }
6827
- const Kl = /* @__PURE__ */ B(Ll, [["render", Hl]]), zl = ({
6829
+ const Gl = /* @__PURE__ */ V(Kl, [["render", zl]]), ql = ({
6828
6830
  content: e,
6829
6831
  data: t,
6830
6832
  locale: n
@@ -6841,7 +6843,7 @@ const Kl = /* @__PURE__ */ B(Ll, [["render", Hl]]), zl = ({
6841
6843
  locale: n
6842
6844
  } : {}
6843
6845
  };
6844
- }, Gl = ({
6846
+ }, Jl = ({
6845
6847
  content: e,
6846
6848
  data: t
6847
6849
  }) => e ? {
@@ -6851,12 +6853,12 @@ const Kl = /* @__PURE__ */ B(Ll, [["render", Hl]]), zl = ({
6851
6853
  ...t
6852
6854
  },
6853
6855
  meta: e == null ? void 0 : e.meta
6854
- } : void 0, ql = Fo, Jl = j({
6856
+ } : void 0, _l = Uo, Xl = j({
6855
6857
  name: "content-component",
6856
6858
  components: {
6857
- EnableEditor: Wl,
6859
+ EnableEditor: Hl,
6858
6860
  InlinedScript: ao,
6859
- ContentStyles: Kl,
6861
+ ContentStyles: Gl,
6860
6862
  Blocks: _e,
6861
6863
  DynamicDiv: Ct
6862
6864
  },
@@ -6866,60 +6868,61 @@ const Kl = /* @__PURE__ */ B(Ll, [["render", Hl]]), zl = ({
6866
6868
  "data",
6867
6869
  "locale",
6868
6870
  "context",
6871
+ "canTrack",
6869
6872
  "apiKey",
6870
6873
  "apiVersion",
6871
6874
  "blocksWrapper",
6872
6875
  "blocksWrapperProps",
6873
6876
  "model",
6874
- "canTrack",
6875
6877
  "enrich",
6876
6878
  "showContent",
6877
6879
  "contentWrapper",
6878
6880
  "contentWrapperProps",
6879
- "linkComponent",
6880
6881
  "trustedHosts",
6881
6882
  "isSsrAbTest",
6882
- "isNestedRender"
6883
+ "isNestedRender",
6884
+ "linkComponent"
6883
6885
  ],
6884
6886
  data() {
6885
6887
  var e, t;
6886
6888
  return {
6887
- scriptStr: ol({
6889
+ scriptStr: sl({
6888
6890
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
6889
6891
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
6890
6892
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
6891
6893
  contentId: (t = this.content) == null ? void 0 : t.id
6892
6894
  }),
6893
6895
  registeredComponents: [
6894
- ...Er(),
6896
+ ...Ir(),
6895
6897
  ...this.customComponents || []
6896
6898
  ].reduce(
6897
6899
  (n, { component: r, ...o }) => ({
6898
6900
  ...n,
6899
6901
  [o.name]: {
6900
- component: ql(r),
6902
+ component: _l(r),
6901
6903
  ...bn(o)
6902
6904
  }
6903
6905
  }),
6904
6906
  {}
6905
6907
  ),
6906
6908
  builderContextSignal: {
6907
- content: Gl({
6909
+ content: Jl({
6908
6910
  content: this.content,
6909
6911
  data: this.data
6910
6912
  }),
6911
6913
  localState: void 0,
6912
- rootState: zl({
6914
+ rootState: ql({
6913
6915
  content: this.content,
6914
6916
  data: this.data,
6915
6917
  locale: this.locale
6916
6918
  }),
6917
6919
  rootSetState: this.contentSetState,
6918
6920
  context: this.context || {},
6921
+ canTrack: this.canTrack,
6919
6922
  apiKey: this.apiKey,
6920
6923
  apiVersion: this.apiVersion,
6921
6924
  componentInfos: [
6922
- ...Er(),
6925
+ ...Ir(),
6923
6926
  ...this.customComponents || []
6924
6927
  ].reduce(
6925
6928
  (n, { component: r, ...o }) => ({
@@ -6932,13 +6935,13 @@ const Kl = /* @__PURE__ */ B(Ll, [["render", Hl]]), zl = ({
6932
6935
  BlocksWrapper: this.blocksWrapper || "div",
6933
6936
  BlocksWrapperProps: this.blocksWrapperProps || {}
6934
6937
  },
6935
- TARGET: he
6938
+ TARGET: Q
6936
6939
  };
6937
6940
  },
6938
6941
  provide() {
6939
6942
  const e = this;
6940
6943
  return {
6941
- [Nr.key]: {
6944
+ [Br.key]: {
6942
6945
  registeredComponents: e.registeredComponents
6943
6946
  }
6944
6947
  };
@@ -6949,9 +6952,9 @@ const Kl = /* @__PURE__ */ B(Ll, [["render", Hl]]), zl = ({
6949
6952
  }
6950
6953
  }
6951
6954
  });
6952
- function _l(e, t, n, r, o, i) {
6953
- const a = V("InlinedScript"), c = V("ContentStyles"), p = V("Blocks"), m = V("EnableEditor");
6954
- return y(), U(m, _({
6955
+ function Yl(e, t, n, r, o, i) {
6956
+ const a = F("InlinedScript"), c = F("ContentStyles"), p = F("Blocks"), m = F("EnableEditor");
6957
+ return y(), U(m, J({
6955
6958
  content: e.content,
6956
6959
  data: e.data,
6957
6960
  model: e.model,
@@ -6964,26 +6967,25 @@ function _l(e, t, n, r, o, i) {
6964
6967
  builderContextSignal: e.builderContextSignal,
6965
6968
  contentWrapper: e.contentWrapper,
6966
6969
  contentWrapperProps: e.contentWrapperProps,
6967
- linkComponent: e.linkComponent,
6968
6970
  trustedHosts: e.trustedHosts
6969
6971
  }, {}), {
6970
6972
  default: we(() => {
6971
- var v, h, C, P, E, M, ae;
6973
+ var v, h, C, P, O, ee, X;
6972
6974
  return [
6973
6975
  e.isSsrAbTest ? (y(), U(a, {
6974
6976
  key: 0,
6975
6977
  id: "builderio-variant-visibility",
6976
6978
  scriptStr: e.scriptStr
6977
- }, null, 8, ["scriptStr"])) : D("", !0),
6979
+ }, null, 8, ["scriptStr"])) : M("", !0),
6978
6980
  e.TARGET !== "reactNative" ? (y(), U(c, {
6979
6981
  key: 1,
6980
6982
  isNestedRender: e.isNestedRender,
6981
6983
  contentId: (v = e.builderContextSignal.content) == null ? void 0 : v.id,
6982
6984
  cssCode: (C = (h = e.builderContextSignal.content) == null ? void 0 : h.data) == null ? void 0 : C.cssCode,
6983
- customFonts: (E = (P = e.builderContextSignal.content) == null ? void 0 : P.data) == null ? void 0 : E.customFonts
6984
- }, null, 8, ["isNestedRender", "contentId", "cssCode", "customFonts"])) : D("", !0),
6985
- oe(p, {
6986
- blocks: (ae = (M = e.builderContextSignal.content) == null ? void 0 : M.data) == null ? void 0 : ae.blocks,
6985
+ customFonts: (O = (P = e.builderContextSignal.content) == null ? void 0 : P.data) == null ? void 0 : O.customFonts
6986
+ }, null, 8, ["isNestedRender", "contentId", "cssCode", "customFonts"])) : M("", !0),
6987
+ se(p, {
6988
+ blocks: (X = (ee = e.builderContextSignal.content) == null ? void 0 : ee.data) == null ? void 0 : X.blocks,
6987
6989
  context: e.builderContextSignal,
6988
6990
  registeredComponents: e.registeredComponents,
6989
6991
  linkComponent: e.linkComponent
@@ -6991,14 +6993,14 @@ function _l(e, t, n, r, o, i) {
6991
6993
  ];
6992
6994
  }),
6993
6995
  _: 1
6994
- }, 16, ["content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "linkComponent", "trustedHosts"]);
6996
+ }, 16, ["content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts"]);
6995
6997
  }
6996
- const Xl = /* @__PURE__ */ B(Jl, [["render", _l]]), Yl = j({
6998
+ const Zl = /* @__PURE__ */ V(Xl, [["render", Yl]]), Ql = j({
6997
6999
  name: "content-variants",
6998
7000
  components: {
6999
7001
  InlinedScript: ao,
7000
- InlinedStyles: Un,
7001
- ContentComponent: Xl
7002
+ InlinedStyles: Fn,
7003
+ ContentComponent: Zl
7002
7004
  },
7003
7005
  props: [
7004
7006
  "canTrack",
@@ -7021,12 +7023,12 @@ const Xl = /* @__PURE__ */ B(Jl, [["render", _l]]), Yl = j({
7021
7023
  ],
7022
7024
  data() {
7023
7025
  return {
7024
- shouldRenderVariants: el({
7026
+ shouldRenderVariants: nl({
7025
7027
  canTrack: vt(this.canTrack),
7026
7028
  content: this.content
7027
7029
  }),
7028
- TARGET: he,
7029
- getInitVariantsFnsScriptString: nl,
7030
+ TARGET: Q,
7031
+ getInitVariantsFnsScriptString: ol,
7030
7032
  getVariants: Pt
7031
7033
  };
7032
7034
  },
@@ -7035,7 +7037,7 @@ const Xl = /* @__PURE__ */ B(Jl, [["render", _l]]), Yl = j({
7035
7037
  computed: {
7036
7038
  updateCookieAndStylesScriptStr() {
7037
7039
  var e;
7038
- return rl(
7040
+ return il(
7039
7041
  Pt(this.content).map((t) => ({
7040
7042
  id: t.testVariationId,
7041
7043
  testRatio: t.testRatio
@@ -7051,27 +7053,27 @@ const Xl = /* @__PURE__ */ B(Jl, [["render", _l]]), Yl = j({
7051
7053
  return this.shouldRenderVariants ? {
7052
7054
  ...this.content,
7053
7055
  testVariationId: (e = this.content) == null ? void 0 : e.id
7054
- } : ws({
7056
+ } : Is({
7055
7057
  item: this.content,
7056
7058
  canTrack: vt(this.canTrack)
7057
7059
  });
7058
7060
  }
7059
7061
  }
7060
7062
  });
7061
- function Zl(e, t, n, r, o, i) {
7062
- const a = V("InlinedScript"), c = V("InlinedStyles"), p = V("ContentComponent");
7063
+ function ec(e, t, n, r, o, i) {
7064
+ const a = F("InlinedScript"), c = F("InlinedStyles"), p = F("ContentComponent");
7063
7065
  return y(), T(Z, null, [
7064
7066
  !e.isNestedRender && e.TARGET !== "reactNative" ? (y(), U(a, {
7065
7067
  key: 0,
7066
7068
  id: "builderio-init-variants-fns",
7067
7069
  scriptStr: e.getInitVariantsFnsScriptString()
7068
- }, null, 8, ["scriptStr"])) : D("", !0),
7070
+ }, null, 8, ["scriptStr"])) : M("", !0),
7069
7071
  e.shouldRenderVariants ? (y(), T(Z, { key: 1 }, [
7070
- oe(c, {
7072
+ se(c, {
7071
7073
  id: "builderio-variants",
7072
7074
  styles: e.hideVariantsStyleString
7073
7075
  }, null, 8, ["styles"]),
7074
- oe(a, {
7076
+ se(a, {
7075
7077
  id: "builderio-variants-visibility",
7076
7078
  scriptStr: e.updateCookieAndStylesScriptStr
7077
7079
  }, null, 8, ["scriptStr"]),
@@ -7097,8 +7099,8 @@ function Zl(e, t, n, r, o, i) {
7097
7099
  contentWrapperProps: e.contentWrapperProps,
7098
7100
  trustedHosts: e.trustedHosts
7099
7101
  }, null, 8, ["isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
7100
- ], 64)) : D("", !0),
7101
- oe(p, _({
7102
+ ], 64)) : M("", !0),
7103
+ se(p, J({
7102
7104
  isNestedRender: e.isNestedRender,
7103
7105
  content: e.defaultContent,
7104
7106
  showContent: !0,
@@ -7123,7 +7125,7 @@ function Zl(e, t, n, r, o, i) {
7123
7125
  }), null, 16, ["isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
7124
7126
  ], 64);
7125
7127
  }
7126
- const Ql = /* @__PURE__ */ B(Yl, [["render", Zl]]), ec = async ({
7128
+ const tc = /* @__PURE__ */ V(Ql, [["render", ec]]), nc = async ({
7127
7129
  builderContextValue: e,
7128
7130
  symbol: t
7129
7131
  }) => {
@@ -7139,11 +7141,11 @@ const Ql = /* @__PURE__ */ B(Yl, [["render", Zl]]), ec = async ({
7139
7141
  }
7140
7142
  }
7141
7143
  }).catch((n) => {
7142
- ne.error("Could not fetch symbol content: ", n);
7144
+ ae.error("Could not fetch symbol content: ", n);
7143
7145
  });
7144
- }, tc = j({
7146
+ }, rc = j({
7145
7147
  name: "builder-symbol",
7146
- components: { ContentVariants: Ql, DynamicDiv: Ct },
7148
+ components: { ContentVariants: tc, DynamicDiv: Ct },
7147
7149
  props: [
7148
7150
  "symbol",
7149
7151
  "attributes",
@@ -7155,7 +7157,7 @@ const Ql = /* @__PURE__ */ B(Yl, [["render", Zl]]), ec = async ({
7155
7157
  ],
7156
7158
  data() {
7157
7159
  var e;
7158
- return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs: Ee };
7160
+ return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs: Ie };
7159
7161
  },
7160
7162
  mounted() {
7161
7163
  this.setContent();
@@ -7192,7 +7194,7 @@ const Ql = /* @__PURE__ */ B(Yl, [["render", Zl]]), ec = async ({
7192
7194
  },
7193
7195
  methods: {
7194
7196
  setContent() {
7195
- this.contentToUse || ec({
7197
+ this.contentToUse || nc({
7196
7198
  symbol: this.symbol,
7197
7199
  builderContextValue: this.builderContext
7198
7200
  }).then((e) => {
@@ -7201,11 +7203,11 @@ const Ql = /* @__PURE__ */ B(Yl, [["render", Zl]]), ec = async ({
7201
7203
  }
7202
7204
  }
7203
7205
  });
7204
- function nc(e, t, n, r, o, i) {
7206
+ function oc(e, t, n, r, o, i) {
7205
7207
  var c, p, m, v, h;
7206
- const a = V("ContentVariants");
7207
- return y(), T("div", _({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
7208
- oe(a, {
7208
+ const a = F("ContentVariants");
7209
+ return y(), T("div", J({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, he(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
7210
+ se(a, {
7209
7211
  isNestedRender: !0,
7210
7212
  apiVersion: e.builderContext.apiVersion,
7211
7213
  apiKey: e.builderContext.apiKey,
@@ -7219,17 +7221,18 @@ function nc(e, t, n, r, o, i) {
7219
7221
  ...e.builderContext.localState,
7220
7222
  ...(v = (m = e.contentToUse) == null ? void 0 : m.data) == null ? void 0 : v.state
7221
7223
  },
7224
+ canTrack: e.builderContext.canTrack,
7222
7225
  model: (h = e.symbol) == null ? void 0 : h.model,
7223
7226
  content: e.contentToUse,
7224
7227
  linkComponent: e.builderLinkComponent,
7225
7228
  blocksWrapper: e.blocksWrapper,
7226
7229
  contentWrapper: e.contentWrapper
7227
- }, null, 8, ["apiVersion", "apiKey", "context", "customComponents", "data", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
7230
+ }, null, 8, ["apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
7228
7231
  ], 16);
7229
7232
  }
7230
- const rc = /* @__PURE__ */ B(tc, [["render", nc]]), Pr = {};
7231
- function hc(e) {
7232
- if (X()) {
7233
+ const ic = /* @__PURE__ */ V(rc, [["render", oc]]), Pr = {};
7234
+ function mc(e) {
7235
+ if (_()) {
7233
7236
  Object.assign(Pr, e);
7234
7237
  const t = {
7235
7238
  type: "builder.settingsChange",
@@ -7238,7 +7241,7 @@ function hc(e) {
7238
7241
  parent.postMessage(t, "*");
7239
7242
  }
7240
7243
  }
7241
- const fc = async (e) => {
7244
+ const gc = async (e) => {
7242
7245
  var r, o, i;
7243
7246
  const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
7244
7247
  ...e,
@@ -7259,43 +7262,43 @@ const fc = async (e) => {
7259
7262
  };
7260
7263
  };
7261
7264
  export {
7262
- dl as A,
7265
+ fl as A,
7263
7266
  Vn as B,
7264
- Qi as C,
7265
- hl as D,
7267
+ ts as C,
7268
+ ml as D,
7266
7269
  Mn as E,
7267
- ns as F,
7268
- sc as G,
7269
- cc as H,
7270
- us as I,
7271
- hs as S,
7272
- he as T,
7273
- qa as V,
7274
- Un as _,
7275
- _i as a,
7276
- ac as b,
7277
- je as c,
7278
- uc as d,
7279
- Bn as e,
7280
- B as f,
7270
+ os as F,
7271
+ lc as G,
7272
+ pc as H,
7273
+ ds as I,
7274
+ ms as S,
7275
+ Q as T,
7276
+ _a as V,
7277
+ Fn as _,
7278
+ Yi as a,
7279
+ cc as b,
7280
+ Be as c,
7281
+ dc as d,
7282
+ Nn as e,
7283
+ V as f,
7281
7284
  zr as g,
7282
- Nt as h,
7283
- lc as i,
7285
+ Bt as h,
7286
+ uc as i,
7284
7287
  jt as j,
7285
7288
  mn as k,
7286
7289
  zo as l,
7287
- rc as m,
7288
- Ys as n,
7290
+ ic as m,
7291
+ Qs as n,
7289
7292
  _e as o,
7290
- Ql as p,
7291
- se as q,
7292
- fl as r,
7293
- _a as s,
7294
- Ol as t,
7295
- hc as u,
7293
+ tc as p,
7294
+ ce as q,
7295
+ gl as r,
7296
+ Ya as s,
7297
+ jl as t,
7298
+ mc as u,
7296
7299
  uo as v,
7297
- ql as w,
7298
- pc as x,
7299
- dc as y,
7300
- fc as z
7300
+ _l as w,
7301
+ hc as x,
7302
+ fc as y,
7303
+ gc as z
7301
7304
  };