@builder.io/sdk-vue 4.1.3 → 4.2.3

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 (126) hide show
  1. package/lib/browser/{awaiter-5XM6eBKO.js → awaiter-QkoC16ei.js} +1 -1
  2. package/lib/browser/{awaiter-DZTz3Ar3.cjs → awaiter-dVEzPIfa.cjs} +1 -1
  3. package/lib/browser/{block-wrapper-R-KDYbAM.cjs → block-wrapper-BOi64ZSf.cjs} +1 -1
  4. package/lib/browser/{block-wrapper-Bzn0Mn8q.js → block-wrapper-LGlUvVpu.js} +3 -3
  5. package/lib/browser/blocks/form/form/form.vue.d.ts +4 -3
  6. package/lib/browser/blocks/img/img.vue.d.ts +9 -2
  7. package/lib/browser/blocks/symbol/symbol.types.d.ts +1 -2
  8. package/lib/browser/blocks/symbol/symbol.vue.d.ts +1 -0
  9. package/lib/browser/blocks/tabs/tabs.vue.d.ts +1 -0
  10. package/lib/browser/component-ref-Jt8NZQKY.cjs +1 -0
  11. package/lib/browser/{component-ref-gskEENuC.js → component-ref-tMh8EWjb.js} +68 -57
  12. package/lib/browser/components/awaiter.types.d.ts +7 -0
  13. package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +1 -6
  14. package/lib/browser/components/block/components/interactive-element.vue.d.ts +6 -3
  15. package/lib/browser/components/block/components/live-edit-block-styles.vue.d.ts +19 -0
  16. package/lib/browser/components/block/components/style-wrapper.vue.d.ts +15 -0
  17. package/lib/browser/components/content/components/enable-editor.vue.d.ts +6 -2
  18. package/lib/browser/components/live-edit.vue.d.ts +17 -0
  19. package/lib/browser/constants/sdk-version.d.ts +1 -1
  20. package/lib/browser/find-block-4FksmtpZ.js +30 -0
  21. package/lib/browser/find-block-FHyxDYzT.cjs +1 -0
  22. package/lib/browser/functions/register.d.ts +18 -0
  23. package/lib/browser/{get-block-properties-WccKVsdn.js → get-block-properties-Ahsh8p5y.js} +8 -8
  24. package/lib/browser/{get-block-properties-qWby6E7c.cjs → get-block-properties-NuVrGQN_.cjs} +1 -1
  25. package/lib/browser/helpers/find-block.d.ts +18 -0
  26. package/lib/browser/helpers/subscribe-to-editor.d.ts +3 -2
  27. package/lib/browser/{index-AM8hDJBa.js → index-EtzQVBnH.js} +682 -581
  28. package/lib/browser/index-jbLVGF3d.cjs +334 -0
  29. package/lib/browser/index.cjs +1 -1
  30. package/lib/browser/index.mjs +11 -10
  31. package/lib/browser/live-edit-h_5MH287.cjs +1 -0
  32. package/lib/browser/live-edit-rw2-UX9h.js +32 -0
  33. package/lib/browser/{repeated-block-04Z899ts.cjs → repeated-block-DP1NryZH.cjs} +1 -1
  34. package/lib/browser/{repeated-block-jUlJ75XZ.js → repeated-block-WP795fea.js} +2 -2
  35. package/lib/browser/server-index.d.ts +1 -1
  36. package/lib/browser/style-wrapper-OLuHp-wg.js +210 -0
  37. package/lib/browser/style-wrapper-_FKH2e4u.cjs +1 -0
  38. package/lib/browser/style.css +1 -1
  39. package/lib/edge/{awaiter-GN-g8-yW.cjs → awaiter-AB81htE9.cjs} +1 -1
  40. package/lib/edge/{awaiter-itkvZDv7.js → awaiter-G2IZpq8y.js} +1 -1
  41. package/lib/{node/block-wrapper-vkf16jVz.cjs → edge/block-wrapper-3KMmt5za.cjs} +1 -1
  42. package/lib/{node/block-wrapper-Yxq8cADp.js → edge/block-wrapper-hc1D57Il.js} +3 -3
  43. package/lib/edge/blocks/form/form/form.vue.d.ts +4 -3
  44. package/lib/edge/blocks/img/img.vue.d.ts +9 -2
  45. package/lib/edge/blocks/symbol/symbol.types.d.ts +1 -2
  46. package/lib/edge/blocks/symbol/symbol.vue.d.ts +1 -0
  47. package/lib/edge/blocks/tabs/tabs.vue.d.ts +1 -0
  48. package/lib/edge/component-ref-1l1Dc15N.cjs +1 -0
  49. package/lib/edge/{component-ref-slGRIixC.js → component-ref-__eNmb_i.js} +68 -57
  50. package/lib/edge/components/awaiter.types.d.ts +7 -0
  51. package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +1 -6
  52. package/lib/edge/components/block/components/interactive-element.vue.d.ts +6 -3
  53. package/lib/edge/components/block/components/live-edit-block-styles.vue.d.ts +19 -0
  54. package/lib/edge/components/block/components/style-wrapper.vue.d.ts +15 -0
  55. package/lib/edge/components/content/components/enable-editor.vue.d.ts +6 -2
  56. package/lib/edge/components/live-edit.vue.d.ts +17 -0
  57. package/lib/edge/constants/sdk-version.d.ts +1 -1
  58. package/lib/edge/find-block-3Ig0kVVe.js +29 -0
  59. package/lib/edge/find-block-FREohLcp.cjs +1 -0
  60. package/lib/edge/functions/register.d.ts +18 -0
  61. package/lib/edge/{get-block-properties-Nz3tnjcZ.js → get-block-properties-IlO7VcTG.js} +10 -10
  62. package/lib/edge/{get-block-properties-K9_lkqhk.cjs → get-block-properties-YofIFdQl.cjs} +1 -1
  63. package/lib/edge/helpers/find-block.d.ts +18 -0
  64. package/lib/edge/helpers/subscribe-to-editor.d.ts +3 -2
  65. package/lib/edge/{index-t2wm1Hgb.cjs → index-UFKf4DGh.cjs} +37 -37
  66. package/lib/edge/{index-0P0ciM70.js → index-pedBdruj.js} +975 -874
  67. package/lib/edge/index.cjs +1 -1
  68. package/lib/edge/index.mjs +12 -11
  69. package/lib/edge/live-edit-bP5Bdb_I.cjs +1 -0
  70. package/lib/edge/live-edit-mkwzJ3KQ.js +31 -0
  71. package/lib/{node/repeated-block-DbM-cXD5.cjs → edge/repeated-block-eV-zFRwn.cjs} +1 -1
  72. package/lib/{node/repeated-block-FPm9ifh_.js → edge/repeated-block-i0HNWVX0.js} +2 -2
  73. package/lib/edge/server-index.d.ts +1 -1
  74. package/lib/edge/style-wrapper-QrUxYNMa.cjs +1 -0
  75. package/lib/edge/style-wrapper-mI3PSijR.js +209 -0
  76. package/lib/edge/style.css +1 -1
  77. package/lib/node/{awaiter-BKUR1e9L.cjs → awaiter-GsCK0Rmm.cjs} +1 -1
  78. package/lib/node/{awaiter-4Zchzm7Q.js → awaiter-vsM2I4ci.js} +2 -2
  79. package/lib/{edge/block-wrapper-e9t2aTqt.js → node/block-wrapper-HC1GKPg-.js} +3 -3
  80. package/lib/{edge/block-wrapper-W6MhBMeD.cjs → node/block-wrapper-VVk0Gqbc.cjs} +1 -1
  81. package/lib/node/blocks/form/form/form.vue.d.ts +4 -3
  82. package/lib/node/blocks/img/img.vue.d.ts +9 -2
  83. package/lib/node/blocks/symbol/symbol.types.d.ts +1 -2
  84. package/lib/node/blocks/symbol/symbol.vue.d.ts +1 -0
  85. package/lib/node/blocks/tabs/tabs.vue.d.ts +1 -0
  86. package/lib/node/component-ref-SsJCZYlF.cjs +1 -0
  87. package/lib/node/{component-ref-c_8IgXLb.js → component-ref-bqN5ZiyT.js} +70 -58
  88. package/lib/node/components/awaiter.types.d.ts +7 -0
  89. package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +1 -6
  90. package/lib/node/components/block/components/interactive-element.vue.d.ts +6 -3
  91. package/lib/node/components/block/components/live-edit-block-styles.vue.d.ts +19 -0
  92. package/lib/node/components/block/components/style-wrapper.vue.d.ts +15 -0
  93. package/lib/node/components/content/components/enable-editor.vue.d.ts +6 -2
  94. package/lib/node/components/live-edit.vue.d.ts +17 -0
  95. package/lib/node/constants/sdk-version.d.ts +1 -1
  96. package/lib/node/find-block-3Ig0kVVe.js +29 -0
  97. package/lib/node/find-block-FREohLcp.cjs +1 -0
  98. package/lib/node/functions/register.d.ts +18 -0
  99. package/lib/node/{get-block-properties-jreznjwW.cjs → get-block-properties--0kf0kc1.cjs} +1 -1
  100. package/lib/node/{get-block-properties-sJTTyxpy.js → get-block-properties-4dl07r5f.js} +1 -1
  101. package/lib/node/helpers/find-block.d.ts +18 -0
  102. package/lib/node/helpers/subscribe-to-editor.d.ts +3 -2
  103. package/lib/node/index-9ZnpkpZ8.cjs +334 -0
  104. package/lib/node/{index-0s5_7Gfu.js → index-BtCfIIfO.js} +844 -743
  105. package/lib/node/index.cjs +1 -1
  106. package/lib/node/index.mjs +10 -9
  107. package/lib/node/live-edit-dkMPrQFh.js +31 -0
  108. package/lib/node/live-edit-k5C1gkl6.cjs +1 -0
  109. package/lib/{edge/repeated-block-h1UA5gK0.js → node/repeated-block-FOLLYnPQ.js} +2 -2
  110. package/lib/{edge/repeated-block-_29LjXCq.cjs → node/repeated-block-pPsNH7xs.cjs} +1 -1
  111. package/lib/node/server-index.d.ts +1 -1
  112. package/lib/node/style-wrapper-CbrJHZiI.cjs +1 -0
  113. package/lib/node/style-wrapper-bEfbvdLX.js +210 -0
  114. package/lib/node/style.css +1 -1
  115. package/package.json +1 -1
  116. package/lib/browser/block-styles-58mkkubD.cjs +0 -1
  117. package/lib/browser/block-styles-biVGaluP.js +0 -84
  118. package/lib/browser/component-ref-V0MVxgsz.cjs +0 -1
  119. package/lib/browser/index-BiWOGEu2.cjs +0 -334
  120. package/lib/edge/block-styles-G1ClEDR3.cjs +0 -1
  121. package/lib/edge/block-styles-G42udXTn.js +0 -83
  122. package/lib/edge/component-ref-ia_8ZIAn.cjs +0 -1
  123. package/lib/node/block-styles-16ywDrRK.js +0 -84
  124. package/lib/node/block-styles-r6J38vG3.cjs +0 -1
  125. package/lib/node/component-ref-xUbOPInI.cjs +0 -1
  126. package/lib/node/index-t_oHxD-K.cjs +0 -334
@@ -1,6 +1,6 @@
1
- import { defineComponent as B, openBlock as y, createElementBlock as E, Fragment as z, createBlock as U, resolveDynamicComponent as dt, mergeProps as q, toHandlers as ye, withCtx as ve, renderSlot as pe, resolveComponent as W, createTextVNode as Xo, toDisplayString as Ut, defineAsyncComponent as st, createVNode as Z, renderList as Se, createCommentVNode as L, h as Mr, createElementVNode as qe, normalizeStyle as Oe, normalizeClass as gt, markRaw as Yo } from "vue";
1
+ import { defineComponent as B, openBlock as v, createElementBlock as w, Fragment as z, createBlock as U, resolveDynamicComponent as dt, mergeProps as q, toHandlers as ye, withCtx as me, renderSlot as pe, resolveComponent as W, createTextVNode as Xo, toDisplayString as Ut, defineAsyncComponent as st, createVNode as ee, renderList as ve, createCommentVNode as F, h as Mr, createElementVNode as Ge, normalizeStyle as Pe, normalizeClass as gt, markRaw as Yo } from "vue";
2
2
  const Qo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Zo = (e) => typeof e == "string" && Qo.has(e.toLowerCase());
3
- function me(e = {}, t, n) {
3
+ function de(e = {}, t, n) {
4
4
  const r = {};
5
5
  for (const o in e) {
6
6
  if (!e[o] || n && !o.startsWith(t))
@@ -23,24 +23,24 @@ const ei = B({
23
23
  return n;
24
24
  };
25
25
  function ti(e, t, n, r, o, i) {
26
- return e.isEmptyElement(e.TagName) ? (y(), U(dt(e.TagName), q({ key: 1 }, e.attributes, ye(e.actionAttributes)), null, 16)) : (y(), E(z, { key: 0 }, [
27
- typeof e.TagName == "string" ? (y(), U(dt(e.TagName), q({ key: 0 }, e.attributes, ye(e.actionAttributes)), {
28
- default: ve(() => [
26
+ return e.isEmptyElement(e.TagName) ? (v(), U(dt(e.TagName), q({ key: 1 }, e.attributes, ye(e.actionAttributes)), null, 16)) : (v(), w(z, { key: 0 }, [
27
+ typeof e.TagName == "string" ? (v(), U(dt(e.TagName), q({ key: 0 }, e.attributes, ye(e.actionAttributes)), {
28
+ default: me(() => [
29
29
  pe(e.$slots, "default")
30
30
  ]),
31
31
  _: 3
32
- }, 16)) : (y(), U(dt(e.TagName), q({ key: 1 }, e.attributes, ye(e.actionAttributes)), {
33
- default: ve(() => [
32
+ }, 16)) : (v(), U(dt(e.TagName), q({ key: 1 }, e.attributes, ye(e.actionAttributes)), {
33
+ default: me(() => [
34
34
  pe(e.$slots, "default")
35
35
  ]),
36
36
  _: 3
37
37
  }, 16))
38
38
  ], 64));
39
39
  }
40
- const Tn = /* @__PURE__ */ j(ei, [["render", ti]]), Zu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
40
+ const En = /* @__PURE__ */ j(ei, [["render", ti]]), Zu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
41
  __proto__: null,
42
- default: Tn
43
- }, Symbol.toStringTag, { value: "Module" })), G = "vue", Ge = () => {
42
+ default: En
43
+ }, Symbol.toStringTag, { value: "Module" })), G = "vue", Oe = () => {
44
44
  switch (G) {
45
45
  case "react":
46
46
  case "reactNative":
@@ -55,7 +55,7 @@ const Tn = /* @__PURE__ */ j(ei, [["render", ti]]), Zu = /* @__PURE__ */ Object.
55
55
  }
56
56
  }, ni = B({
57
57
  name: "builder-button",
58
- components: { DynamicRenderer: Tn },
58
+ components: { DynamicRenderer: En },
59
59
  props: [
60
60
  "attributes",
61
61
  "link",
@@ -64,13 +64,13 @@ const Tn = /* @__PURE__ */ j(ei, [["render", ti]]), Zu = /* @__PURE__ */ Object.
64
64
  "text"
65
65
  ],
66
66
  data() {
67
- return { filterAttrs: me };
67
+ return { filterAttrs: de };
68
68
  },
69
69
  methods: {
70
70
  attrs() {
71
71
  return {
72
- ...me(this.attributes, "v-on:", !1),
73
- [Ge()]: `${this.link ? "" : "builder-button"} ${this.attributes[Ge()] || ""}`,
72
+ ...de(this.attributes, "v-on:", !1),
73
+ [Oe()]: `${this.link ? "" : "builder-button"} ${this.attributes[Oe()] || ""}`,
74
74
  ...this.link ? {
75
75
  href: this.link,
76
76
  target: this.openLinkInNewTab ? "_blank" : void 0,
@@ -84,12 +84,12 @@ const Tn = /* @__PURE__ */ j(ei, [["render", ti]]), Zu = /* @__PURE__ */ Object.
84
84
  });
85
85
  function ri(e, t, n, r, o, i) {
86
86
  const s = W("DynamicRenderer");
87
- return y(), U(s, {
87
+ return v(), U(s, {
88
88
  attributes: e.attrs(),
89
89
  TagName: e.link ? e.builderLinkComponent || "a" : "button",
90
90
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
91
91
  }, {
92
- default: ve(() => [
92
+ default: me(() => [
93
93
  Xo(Ut(e.text), 1)
94
94
  ]),
95
95
  _: 1
@@ -125,7 +125,7 @@ const oi = /* @__PURE__ */ j(ni, [["render", ri]]), ii = Symbol(), yn = {
125
125
  const r = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, i) => o != null ? o[i] : o, e);
126
126
  return r === void 0 || r === e ? n : r;
127
127
  };
128
- function K() {
128
+ function M() {
129
129
  return typeof window < "u" && typeof document < "u";
130
130
  }
131
131
  const ai = (e) => {
@@ -135,14 +135,14 @@ const ai = (e) => {
135
135
  }), t;
136
136
  }, zr = (e) => e instanceof URLSearchParams ? ai(e) : e, qr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
137
137
  function li() {
138
- return K() && window.self !== window.top;
138
+ return M() && window.self !== window.top;
139
139
  }
140
- function re(e) {
140
+ function oe(e) {
141
141
  return li() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
142
142
  qr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
143
143
  }
144
144
  const ui = () => {
145
- if (K()) {
145
+ if (M()) {
146
146
  const e = new URL(location.href);
147
147
  return e.pathname === "" && (e.pathname = "/"), e;
148
148
  } else
@@ -186,9 +186,9 @@ const ui = () => {
186
186
  context: t,
187
187
  event: n
188
188
  }), pi = () => ({
189
- isEditing: re(),
190
- isBrowser: K(),
191
- isServer: !K(),
189
+ isEditing: oe(),
190
+ isBrowser: M(),
191
+ isServer: !M(),
192
192
  getUserAttributes: () => Gr()
193
193
  }), di = (e, {
194
194
  isExpression: t = !0
@@ -244,14 +244,14 @@ var V, hi = function(e) {
244
244
  return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && _o.test(String.fromCharCode(a));
245
245
  }
246
246
  function n(a) {
247
- return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Er.test(String.fromCharCode(a));
247
+ return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Tr.test(String.fromCharCode(a));
248
248
  }
249
249
  function r(a, l) {
250
250
  for (var p = k, f = 1, P = 0; ; ) {
251
- xt.lastIndex = P;
252
- var Y = xt.exec(p);
253
- if (Y && Y.index < a)
254
- ++f, P = Y.index + Y[0].length;
251
+ $t.lastIndex = P;
252
+ var Q = $t.exec(p);
253
+ if (Q && Q.index < a)
254
+ ++f, P = Q.index + Q[0].length;
255
255
  else
256
256
  break;
257
257
  }
@@ -269,25 +269,25 @@ var V, hi = function(e) {
269
269
  };
270
270
  }
271
271
  function i() {
272
- this.line = Ve, this.ab = d - we;
272
+ this.line = Ve, this.ab = d - ke;
273
273
  }
274
274
  function s(a, l) {
275
- Fe = d, O.C && (Yt = new i()), x = a, c(), he = l, tt = a.m;
275
+ Fe = d, O.C && (Yt = new i()), $ = a, c(), fe = l, tt = a.m;
276
276
  }
277
277
  function u() {
278
- for (var a = d, l = O.va && O.C && new i(), p = k.charCodeAt(d += 2); d < We && p !== 10 && p !== 13 && p !== 8232 && p !== 8233; )
278
+ for (var a = d, l = O.va && O.C && new i(), p = k.charCodeAt(d += 2); d < Le && p !== 10 && p !== 13 && p !== 8232 && p !== 8233; )
279
279
  ++d, p = k.charCodeAt(d);
280
280
  O.va && O.va(!1, k.slice(a + 2, d), a, d, l, O.C && new i());
281
281
  }
282
282
  function c() {
283
- for (; d < We; ) {
283
+ for (; d < Le; ) {
284
284
  var a = k.charCodeAt(d);
285
285
  if (a === 32)
286
286
  ++d;
287
287
  else if (a === 13)
288
- ++d, a = k.charCodeAt(d), a === 10 && ++d, O.C && (++Ve, we = d);
288
+ ++d, a = k.charCodeAt(d), a === 10 && ++d, O.C && (++Ve, ke = d);
289
289
  else if (a === 10 || a === 8232 || a === 8233)
290
- ++d, O.C && (++Ve, we = d);
290
+ ++d, O.C && (++Ve, ke = d);
291
291
  else if (8 < a && 14 > a)
292
292
  ++d;
293
293
  else if (a === 47)
@@ -295,8 +295,8 @@ var V, hi = function(e) {
295
295
  a = void 0;
296
296
  var l = O.va && O.C && new i(), p = d, f = k.indexOf("*/", d += 2);
297
297
  if (f === -1 && r(d - 2, "Unterminated comment"), d = f + 2, O.C)
298
- for (xt.lastIndex = p; (a = xt.exec(k)) && a.index < d; )
299
- ++Ve, we = a.index + a[0].length;
298
+ for ($t.lastIndex = p; (a = $t.exec(k)) && a.index < d; )
299
+ ++Ve, ke = a.index + a[0].length;
300
300
  O.va && O.va(!0, k.slice(p + 2, f), p, d, l, O.C && new i());
301
301
  } else if (a === 47)
302
302
  u();
@@ -316,13 +316,13 @@ var V, hi = function(e) {
316
316
  a = k.charCodeAt(d + 1), 48 <= a && 57 >= a ? A(!0) : (++d, s(gr));
317
317
  return;
318
318
  case 40:
319
- return ++d, s(Ee);
319
+ return ++d, s(Ce);
320
320
  case 41:
321
- return ++d, s(be);
321
+ return ++d, s(ge);
322
322
  case 59:
323
- return ++d, s(Te);
323
+ return ++d, s(we);
324
324
  case 44:
325
- return ++d, s(Pe);
325
+ return ++d, s($e);
326
326
  case 91:
327
327
  return ++d, s(ln);
328
328
  case 93:
@@ -330,14 +330,14 @@ var V, hi = function(e) {
330
330
  case 123:
331
331
  return ++d, s(ot);
332
332
  case 125:
333
- return ++d, s(Me);
333
+ return ++d, s(He);
334
334
  case 58:
335
335
  return ++d, s(it);
336
336
  case 63:
337
337
  return ++d, s(yr);
338
338
  case 48:
339
339
  if (a = k.charCodeAt(d + 1), a === 120 || a === 88) {
340
- d += 2, a = S(16), a === null && r(X + 2, "Expected hexadecimal number"), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), s(rt, a);
340
+ d += 2, a = S(16), a === null && r(Y + 2, "Expected hexadecimal number"), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), s(rt, a);
341
341
  return;
342
342
  }
343
343
  case 49:
@@ -354,7 +354,7 @@ var V, hi = function(e) {
354
354
  case 39:
355
355
  d++;
356
356
  for (var l = ""; ; ) {
357
- d >= We && r(X, "Unterminated string constant");
357
+ d >= Le && r(Y, "Unterminated string constant");
358
358
  var p = k.charCodeAt(d);
359
359
  if (p === a) {
360
360
  ++d, s(It, l);
@@ -377,13 +377,13 @@ var V, hi = function(e) {
377
377
  l += "\r";
378
378
  break;
379
379
  case 120:
380
- l += String.fromCharCode($(2));
380
+ l += String.fromCharCode(x(2));
381
381
  break;
382
382
  case 117:
383
- l += String.fromCharCode($(4));
383
+ l += String.fromCharCode(x(4));
384
384
  break;
385
385
  case 85:
386
- l += String.fromCharCode($(8));
386
+ l += String.fromCharCode(x(8));
387
387
  break;
388
388
  case 116:
389
389
  l += " ";
@@ -403,13 +403,13 @@ var V, hi = function(e) {
403
403
  case 13:
404
404
  k.charCodeAt(d) === 10 && ++d;
405
405
  case 10:
406
- O.C && (we = d, ++Ve);
406
+ O.C && (ke = d, ++Ve);
407
407
  break;
408
408
  default:
409
409
  l += String.fromCharCode(p);
410
410
  }
411
411
  } else
412
- p !== 13 && p !== 10 && p !== 8232 && p !== 8233 || r(X, "Unterminated string constant"), l += String.fromCharCode(p), ++d;
412
+ p !== 13 && p !== 10 && p !== 8232 && p !== 8233 || r(Y, "Unterminated string constant"), l += String.fromCharCode(p), ++d;
413
413
  }
414
414
  return;
415
415
  case 47:
@@ -428,31 +428,31 @@ var V, hi = function(e) {
428
428
  return;
429
429
  case 43:
430
430
  case 45:
431
- l = k.charCodeAt(d + 1), l === a ? l === 45 && k.charCodeAt(d + 2) === 62 && $t.test(k.slice(xe, d)) ? (d += 3, u(), c(), v()) : b(Vo, 2) : l === 61 ? b(De, 2) : b(Ho, 1);
431
+ l = k.charCodeAt(d + 1), l === a ? l === 45 && k.charCodeAt(d + 2) === 62 && xt.test(k.slice(xe, d)) ? (d += 3, u(), c(), y()) : b(Vo, 2) : l === 61 ? b(De, 2) : b(Ho, 1);
432
432
  return;
433
433
  case 60:
434
434
  case 62:
435
- l = k.charCodeAt(d + 1), p = 1, l === a ? (p = a === 62 && k.charCodeAt(d + 2) === 62 ? 3 : 2, k.charCodeAt(d + p) === 61 ? b(De, p + 1) : b(Mo, p)) : l === 33 && a === 60 && k.charCodeAt(d + 2) === 45 && k.charCodeAt(d + 3) === 45 ? (d += 4, u(), c(), v()) : (l === 61 && (p = k.charCodeAt(d + 2) === 61 ? 3 : 2), b(Lo, p));
435
+ l = k.charCodeAt(d + 1), p = 1, l === a ? (p = a === 62 && k.charCodeAt(d + 2) === 62 ? 3 : 2, k.charCodeAt(d + p) === 61 ? b(De, p + 1) : b(Mo, p)) : l === 33 && a === 60 && k.charCodeAt(d + 2) === 45 && k.charCodeAt(d + 3) === 45 ? (d += 4, u(), c(), y()) : (l === 61 && (p = k.charCodeAt(d + 2) === 61 ? 3 : 2), b(Fo, p));
436
436
  return;
437
437
  case 61:
438
438
  case 33:
439
- k.charCodeAt(d + 1) === 61 ? b(Fo, k.charCodeAt(d + 2) === 61 ? 3 : 2) : b(a === 61 ? br : Sr, 1);
439
+ k.charCodeAt(d + 1) === 61 ? b(Lo, k.charCodeAt(d + 2) === 61 ? 3 : 2) : b(a === 61 ? br : Sr, 1);
440
440
  return;
441
441
  case 126:
442
442
  return b(Sr, 1);
443
443
  }
444
444
  return !1;
445
445
  }
446
- function v(a) {
447
- if (a ? d = X + 1 : X = d, O.C && (Xt = new i()), a)
446
+ function y(a) {
447
+ if (a ? d = Y + 1 : Y = d, O.C && (Xt = new i()), a)
448
448
  return m();
449
- if (d >= We)
449
+ if (d >= Le)
450
450
  return s(en);
451
451
  if (a = k.charCodeAt(d), n(a) || a === 92)
452
- return ee();
452
+ return te();
453
453
  if (h(a) === !1) {
454
- if (a = String.fromCharCode(a), a === "\\" || Er.test(a))
455
- return ee();
454
+ if (a = String.fromCharCode(a), a === "\\" || Tr.test(a))
455
+ return te();
456
456
  r(d, "Unexpected character '" + a + "'");
457
457
  }
458
458
  }
@@ -462,9 +462,9 @@ var V, hi = function(e) {
462
462
  }
463
463
  function m() {
464
464
  for (var a, l, p = d; ; ) {
465
- d >= We && r(p, "Unterminated regexp");
465
+ d >= Le && r(p, "Unterminated regexp");
466
466
  var f = k.charAt(d);
467
- if ($t.test(f) && r(p, "Unterminated regexp"), a)
467
+ if (xt.test(f) && r(p, "Unterminated regexp"), a)
468
468
  a = !1;
469
469
  else {
470
470
  if (f === "[")
@@ -477,16 +477,16 @@ var V, hi = function(e) {
477
477
  }
478
478
  ++d;
479
479
  }
480
- a = k.slice(p, d), ++d, (l = M()) && !/^[gmi]*$/.test(l) && r(p, "Invalid regexp flag");
480
+ a = k.slice(p, d), ++d, (l = H()) && !/^[gmi]*$/.test(l) && r(p, "Invalid regexp flag");
481
481
  try {
482
482
  var P = new RegExp(a, l);
483
- } catch (Y) {
484
- throw Y instanceof SyntaxError && r(p, Y.message), Y;
483
+ } catch (Q) {
484
+ throw Q instanceof SyntaxError && r(p, Q.message), Q;
485
485
  }
486
486
  s(Yn, P);
487
487
  }
488
488
  function S(a, l) {
489
- for (var p = d, f = 0, P = l === void 0 ? 1 / 0 : l, Y = 0; Y < P; ++Y) {
489
+ for (var p = d, f = 0, P = l === void 0 ? 1 / 0 : l, Q = 0; Q < P; ++Q) {
490
490
  var se = k.charCodeAt(d);
491
491
  if (se = 97 <= se ? se - 97 + 10 : 65 <= se ? se - 65 + 10 : 48 <= se && 57 >= se ? se - 48 : 1 / 0, se >= a)
492
492
  break;
@@ -500,298 +500,298 @@ var V, hi = function(e) {
500
500
  var P;
501
501
  p ? P = parseFloat(a) : f && a.length !== 1 ? /[89]/.test(a) || ce ? r(l, "Invalid number") : P = parseInt(a, 8) : P = parseInt(a, 10), s(rt, P);
502
502
  }
503
- function $(a) {
504
- return a = S(16, a), a === null && r(X, "Bad character escape sequence"), a;
503
+ function x(a) {
504
+ return a = S(16, a), a === null && r(Y, "Bad character escape sequence"), a;
505
505
  }
506
- function M() {
507
- He = !1;
506
+ function H() {
507
+ Ke = !1;
508
508
  for (var a, l = !0, p = d; ; ) {
509
509
  var f = k.charCodeAt(d);
510
510
  if (t(f))
511
- He && (a += k.charAt(d)), ++d;
511
+ Ke && (a += k.charAt(d)), ++d;
512
512
  else if (f === 92) {
513
- He || (a = k.slice(p, d)), He = !0, k.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, f = $(4);
513
+ Ke || (a = k.slice(p, d)), Ke = !0, k.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, f = x(4);
514
514
  var P = String.fromCharCode(f);
515
515
  P || r(d - 1, "Invalid Unicode escape"), (l ? n(f) : t(f)) || r(d - 4, "Invalid Unicode escape"), a += P;
516
516
  } else
517
517
  break;
518
518
  l = !1;
519
519
  }
520
- return He ? a : k.slice(p, d);
520
+ return Ke ? a : k.slice(p, d);
521
521
  }
522
- function ee() {
523
- var a = M(), l = Le;
524
- !He && qo(a) && (l = jo[a]), s(l, a);
522
+ function te() {
523
+ var a = H(), l = Me;
524
+ !Ke && qo(a) && (l = jo[a]), s(l, a);
525
525
  }
526
- function I() {
527
- Qt = X, xe = Fe, Zt = Yt, v();
526
+ function E() {
527
+ Qt = Y, xe = Fe, Zt = Yt, y();
528
528
  }
529
529
  function D(a) {
530
- if (ce = a, d = X, O.C)
531
- for (; d < we; )
532
- we = k.lastIndexOf(`
533
- `, we - 2) + 1, --Ve;
534
- c(), v();
530
+ if (ce = a, d = Y, O.C)
531
+ for (; d < ke; )
532
+ ke = k.lastIndexOf(`
533
+ `, ke - 2) + 1, --Ve;
534
+ c(), y();
535
535
  }
536
- function oe() {
537
- this.type = null, this.start = X, this.end = null;
536
+ function ie() {
537
+ this.type = null, this.start = Y, this.end = null;
538
538
  }
539
- function de() {
539
+ function Ae() {
540
540
  this.start = Xt, this.end = null, Jt && (this.source = Jt);
541
541
  }
542
- function H() {
543
- var a = new oe();
544
- return O.C && (a.X = new de()), O.vb && (a.sourceFile = O.vb), O.Xa && (a.j = [X, 0]), a;
542
+ function K() {
543
+ var a = new ie();
544
+ return O.C && (a.X = new Ae()), O.vb && (a.sourceFile = O.vb), O.Xa && (a.j = [Y, 0]), a;
545
545
  }
546
- function ie(a) {
547
- var l = new oe();
548
- return l.start = a.start, O.C && (l.X = new de(), l.X.start = a.X.start), O.Xa && (l.j = [a.j[0], 0]), l;
546
+ function _(a) {
547
+ var l = new ie();
548
+ return l.start = a.start, O.C && (l.X = new Ae(), l.X.start = a.X.start), O.Xa && (l.j = [a.j[0], 0]), l;
549
549
  }
550
- function w(a, l) {
550
+ function R(a, l) {
551
551
  return a.type = l, a.end = xe, O.C && (a.X.end = Zt), O.Xa && (a.j[1] = xe), a;
552
552
  }
553
- function fe(a) {
553
+ function We(a) {
554
554
  return a.type === "ExpressionStatement" && a.la.type === "Literal" && a.la.value === "use strict";
555
555
  }
556
- function F(a) {
557
- return x === a ? (I(), !0) : !1;
556
+ function L(a) {
557
+ return $ === a ? (E(), !0) : !1;
558
558
  }
559
559
  function wt() {
560
- return !O.fc && (x === en || x === Me || $t.test(k.slice(xe, X)));
560
+ return !O.fc && ($ === en || $ === He || xt.test(k.slice(xe, Y)));
561
561
  }
562
562
  function je() {
563
- F(Te) || wt() || ke();
563
+ L(we) || wt() || be();
564
564
  }
565
- function _(a) {
566
- x === a ? I() : ke();
565
+ function J(a) {
566
+ $ === a ? E() : be();
567
567
  }
568
- function ke() {
569
- r(X, "Unexpected token");
568
+ function be() {
569
+ r(Y, "Unexpected token");
570
570
  }
571
- function Et(a) {
571
+ function Tt(a) {
572
572
  a.type !== "Identifier" && a.type !== "MemberExpression" && r(a.start, "Assigning to rvalue"), ce && a.type === "Identifier" && At(a.name) && r(a.start, "Assigning to " + a.name + " in strict mode");
573
573
  }
574
- function ge() {
575
- (x === vr || x === De && he === "/=") && v(!0);
576
- var a = x, l = H();
574
+ function he() {
575
+ ($ === vr || $ === De && fe === "/=") && y(!0);
576
+ var a = $, l = K();
577
577
  switch (a) {
578
578
  case tn:
579
579
  case Zn:
580
- I();
580
+ E();
581
581
  var p = a === tn;
582
- F(Te) || wt() ? l.label = null : x !== Le ? ke() : (l.label = Ce(), je());
583
- for (var f = 0; f < J.length; ++f) {
584
- var P = J[f];
582
+ L(we) || wt() ? l.label = null : $ !== Me ? be() : (l.label = Se(), je());
583
+ for (var f = 0; f < X.length; ++f) {
584
+ var P = X[f];
585
585
  if ((l.label === null || P.name === l.label.name) && (P.kind !== null && (p || P.kind === "loop") || l.label && p))
586
586
  break;
587
587
  }
588
- return f === J.length && r(l.start, "Unsyntactic " + a.l), w(l, p ? "BreakStatement" : "ContinueStatement");
588
+ return f === X.length && r(l.start, "Unsyntactic " + a.l), R(l, p ? "BreakStatement" : "ContinueStatement");
589
589
  case er:
590
- return I(), je(), w(l, "DebuggerStatement");
590
+ return E(), je(), R(l, "DebuggerStatement");
591
591
  case nr:
592
- return I(), J.push(cn), l.body = ge(), J.pop(), _(an), l.test = Qe(), je(), w(l, "DoWhileStatement");
592
+ return E(), X.push(cn), l.body = he(), X.pop(), J(an), l.test = Qe(), je(), R(l, "DoWhileStatement");
593
593
  case ir:
594
- return I(), J.push(cn), _(Ee), x === Te ? Ht(l, null) : x === sn ? (a = H(), I(), Jn(a, !0), w(a, "VariableDeclaration"), a.fa.length === 1 && F(Rt) ? _n(l, a) : Ht(l, a)) : (a = ne(!1, !0), F(Rt) ? (Et(a), _n(l, a)) : Ht(l, a));
594
+ return E(), X.push(cn), J(Ce), $ === we ? Ht(l, null) : $ === sn ? (a = K(), E(), Jn(a, !0), R(a, "VariableDeclaration"), a.fa.length === 1 && L(Rt) ? _n(l, a) : Ht(l, a)) : (a = re(!1, !0), L(Rt) ? (Tt(a), _n(l, a)) : Ht(l, a));
595
595
  case rn:
596
- return I(), Gt(l, !0);
596
+ return E(), Gt(l, !0);
597
597
  case sr:
598
- return I(), l.test = Qe(), l.da = ge(), l.alternate = F(rr) ? ge() : null, w(l, "IfStatement");
598
+ return E(), l.test = Qe(), l.da = he(), l.alternate = L(rr) ? he() : null, R(l, "IfStatement");
599
599
  case ar:
600
- return nt || O.Ib || r(X, "'return' outside of function"), I(), F(Te) || wt() ? l.K = null : (l.K = ne(), je()), w(l, "ReturnStatement");
600
+ return nt || O.Ib || r(Y, "'return' outside of function"), E(), L(we) || wt() ? l.K = null : (l.K = re(), je()), R(l, "ReturnStatement");
601
601
  case on:
602
- for (I(), l.Qb = Qe(), l.tb = [], _(ot), J.push(Jo); x !== Me; )
603
- x === nn || x === tr ? (a = x === nn, f && w(f, "SwitchCase"), l.tb.push(f = H()), f.da = [], I(), a ? f.test = ne() : (p && r(Qt, "Multiple default clauses"), p = !0, f.test = null), _(it)) : (f || ke(), f.da.push(ge()));
604
- return f && w(f, "SwitchCase"), I(), J.pop(), w(l, "SwitchStatement");
602
+ for (E(), l.Qb = Qe(), l.tb = [], J(ot), X.push(Jo); $ !== He; )
603
+ $ === nn || $ === tr ? (a = $ === nn, f && R(f, "SwitchCase"), l.tb.push(f = K()), f.da = [], E(), a ? f.test = re() : (p && r(Qt, "Multiple default clauses"), p = !0, f.test = null), J(it)) : (f || be(), f.da.push(he()));
604
+ return f && R(f, "SwitchCase"), E(), X.pop(), R(l, "SwitchStatement");
605
605
  case lr:
606
- return I(), $t.test(k.slice(xe, X)) && r(xe, "Illegal newline after throw"), l.K = ne(), je(), w(l, "ThrowStatement");
606
+ return E(), xt.test(k.slice(xe, Y)) && r(xe, "Illegal newline after throw"), l.K = re(), je(), R(l, "ThrowStatement");
607
607
  case ur:
608
- return I(), l.block = Ze(), l.Ea = null, x === Qn && (a = H(), I(), _(Ee), a.Ua = Ce(), ce && At(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), _(be), a.body = Ze(), l.Ea = w(a, "CatchClause")), l.fb = F(or) ? Ze() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), w(l, "TryStatement");
608
+ return E(), l.block = Ze(), l.Ea = null, $ === Qn && (a = K(), E(), J(Ce), a.Ua = Se(), ce && At(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), J(ge), a.body = Ze(), l.Ea = R(a, "CatchClause")), l.fb = L(or) ? Ze() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), R(l, "TryStatement");
609
609
  case sn:
610
- return I(), Jn(l), je(), w(l, "VariableDeclaration");
610
+ return E(), Jn(l), je(), R(l, "VariableDeclaration");
611
611
  case an:
612
- return I(), l.test = Qe(), J.push(cn), l.body = ge(), J.pop(), w(l, "WhileStatement");
612
+ return E(), l.test = Qe(), X.push(cn), l.body = he(), X.pop(), R(l, "WhileStatement");
613
613
  case cr:
614
- return ce && r(X, "'with' in strict mode"), I(), l.object = Qe(), l.body = ge(), w(l, "WithStatement");
614
+ return ce && r(Y, "'with' in strict mode"), E(), l.object = Qe(), l.body = he(), R(l, "WithStatement");
615
615
  case ot:
616
616
  return Ze();
617
- case Te:
618
- return I(), w(l, "EmptyStatement");
617
+ case we:
618
+ return E(), R(l, "EmptyStatement");
619
619
  default:
620
- if (p = he, P = ne(), a === Le && P.type === "Identifier" && F(it)) {
621
- for (f = 0; f < J.length; ++f)
622
- J[f].name === p && r(P.start, "Label '" + p + "' is already declared");
623
- return J.push({
620
+ if (p = fe, P = re(), a === Me && P.type === "Identifier" && L(it)) {
621
+ for (f = 0; f < X.length; ++f)
622
+ X[f].name === p && r(P.start, "Label '" + p + "' is already declared");
623
+ return X.push({
624
624
  name: p,
625
- kind: x.W ? "loop" : x === on ? "switch" : null
626
- }), l.body = ge(), J.pop(), l.label = P, w(l, "LabeledStatement");
625
+ kind: $.W ? "loop" : $ === on ? "switch" : null
626
+ }), l.body = he(), X.pop(), l.label = P, R(l, "LabeledStatement");
627
627
  }
628
- return l.la = P, je(), w(l, "ExpressionStatement");
628
+ return l.la = P, je(), R(l, "ExpressionStatement");
629
629
  }
630
630
  }
631
631
  function Qe() {
632
- _(Ee);
633
- var a = ne();
634
- return _(be), a;
632
+ J(Ce);
633
+ var a = re();
634
+ return J(ge), a;
635
635
  }
636
636
  function Ze(a) {
637
- var l = H(), p = !0, f = !1;
638
- for (l.body = [], _(ot); !F(Me); ) {
639
- var P = ge();
640
- if (l.body.push(P), p && a && fe(P)) {
641
- var Y = f;
637
+ var l = K(), p = !0, f = !1;
638
+ for (l.body = [], J(ot); !L(He); ) {
639
+ var P = he();
640
+ if (l.body.push(P), p && a && We(P)) {
641
+ var Q = f;
642
642
  D(f = !0);
643
643
  }
644
644
  p = !1;
645
645
  }
646
- return f && !Y && D(!1), w(l, "BlockStatement");
646
+ return f && !Q && D(!1), R(l, "BlockStatement");
647
647
  }
648
648
  function Ht(a, l) {
649
- return a.ua = l, _(Te), a.test = x === Te ? null : ne(), _(Te), a.update = x === be ? null : ne(), _(be), a.body = ge(), J.pop(), w(a, "ForStatement");
649
+ return a.ua = l, J(we), a.test = $ === we ? null : re(), J(we), a.update = $ === ge ? null : re(), J(ge), a.body = he(), X.pop(), R(a, "ForStatement");
650
650
  }
651
651
  function _n(a, l) {
652
- return a.left = l, a.right = ne(), _(be), a.body = ge(), J.pop(), w(a, "ForInStatement");
652
+ return a.left = l, a.right = re(), J(ge), a.body = he(), X.pop(), R(a, "ForInStatement");
653
653
  }
654
654
  function Jn(a, l) {
655
655
  for (a.fa = [], a.kind = "var"; ; ) {
656
- var p = H();
657
- if (p.id = Ce(), ce && At(p.id.name) && r(p.id.start, "Binding " + p.id.name + " in strict mode"), p.ua = F(br) ? ne(!0, l) : null, a.fa.push(w(p, "VariableDeclarator")), !F(Pe))
656
+ var p = K();
657
+ if (p.id = Se(), ce && At(p.id.name) && r(p.id.start, "Binding " + p.id.name + " in strict mode"), p.ua = L(br) ? re(!0, l) : null, a.fa.push(R(p, "VariableDeclarator")), !L($e))
658
658
  break;
659
659
  }
660
660
  }
661
- function ne(a, l) {
661
+ function re(a, l) {
662
662
  var p = Kt(l);
663
- if (!a && x === Pe) {
664
- for (a = ie(p), a.xb = [p]; F(Pe); )
663
+ if (!a && $ === $e) {
664
+ for (a = _(p), a.xb = [p]; L($e); )
665
665
  a.xb.push(Kt(l));
666
- return w(a, "SequenceExpression");
666
+ return R(a, "SequenceExpression");
667
667
  }
668
668
  return p;
669
669
  }
670
670
  function Kt(a) {
671
671
  var l = zt(qt(), -1, a);
672
- if (F(yr)) {
673
- var p = ie(l);
674
- p.test = l, p.da = ne(!0), _(it), p.alternate = ne(!0, a), l = w(p, "ConditionalExpression");
672
+ if (L(yr)) {
673
+ var p = _(l);
674
+ p.test = l, p.da = re(!0), J(it), p.alternate = re(!0, a), l = R(p, "ConditionalExpression");
675
675
  }
676
- return x.Cb ? (p = ie(l), p.operator = he, p.left = l, I(), p.right = Kt(a), Et(l), w(p, "AssignmentExpression")) : l;
676
+ return $.Cb ? (p = _(l), p.operator = fe, p.left = l, E(), p.right = Kt(a), Tt(l), R(p, "AssignmentExpression")) : l;
677
677
  }
678
678
  function zt(a, l, p) {
679
- var f = x.L;
680
- if (f !== null && (!p || x !== Rt) && f > l) {
681
- var P = ie(a);
682
- return P.left = a, P.operator = he, a = x, I(), P.right = zt(qt(), f, p), f = w(P, a === kr || a === Cr ? "LogicalExpression" : "BinaryExpression"), zt(f, l, p);
679
+ var f = $.L;
680
+ if (f !== null && (!p || $ !== Rt) && f > l) {
681
+ var P = _(a);
682
+ return P.left = a, P.operator = fe, a = $, E(), P.right = zt(qt(), f, p), f = R(P, a === kr || a === Cr ? "LogicalExpression" : "BinaryExpression"), zt(f, l, p);
683
683
  }
684
684
  return a;
685
685
  }
686
686
  function qt() {
687
- if (x.prefix) {
688
- var a = H(), l = x.$b;
689
- return a.operator = he, tt = a.prefix = !0, I(), a.K = qt(), l ? Et(a.K) : ce && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), w(a, l ? "UpdateExpression" : "UnaryExpression");
687
+ if ($.prefix) {
688
+ var a = K(), l = $.$b;
689
+ return a.operator = fe, tt = a.prefix = !0, E(), a.K = qt(), l ? Tt(a.K) : ce && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), R(a, l ? "UpdateExpression" : "UnaryExpression");
690
690
  }
691
- for (l = et(Tt()); x.cc && !wt(); )
692
- a = ie(l), a.operator = he, a.prefix = !1, a.K = l, Et(l), I(), l = w(a, "UpdateExpression");
691
+ for (l = et(Et()); $.cc && !wt(); )
692
+ a = _(l), a.operator = fe, a.prefix = !1, a.K = l, Tt(l), E(), l = R(a, "UpdateExpression");
693
693
  return l;
694
694
  }
695
695
  function et(a, l) {
696
- if (F(gr)) {
697
- var p = ie(a);
698
- return p.object = a, p.Wa = Ce(!0), p.bb = !1, et(w(p, "MemberExpression"), l);
696
+ if (L(gr)) {
697
+ var p = _(a);
698
+ return p.object = a, p.Wa = Se(!0), p.bb = !1, et(R(p, "MemberExpression"), l);
699
699
  }
700
- return F(ln) ? (p = ie(a), p.object = a, p.Wa = ne(), p.bb = !0, _(un), et(w(p, "MemberExpression"), l)) : !l && F(Ee) ? (p = ie(a), p.callee = a, p.arguments = _t(be, !1), et(w(p, "CallExpression"), l)) : a;
700
+ return L(ln) ? (p = _(a), p.object = a, p.Wa = re(), p.bb = !0, J(un), et(R(p, "MemberExpression"), l)) : !l && L(Ce) ? (p = _(a), p.callee = a, p.arguments = _t(ge, !1), et(R(p, "CallExpression"), l)) : a;
701
701
  }
702
- function Tt() {
703
- switch (x) {
702
+ function Et() {
703
+ switch ($) {
704
704
  case dr:
705
- var a = H();
706
- return I(), w(a, "ThisExpression");
707
- case Le:
708
- return Ce();
705
+ var a = K();
706
+ return E(), R(a, "ThisExpression");
707
+ case Me:
708
+ return Se();
709
709
  case rt:
710
710
  case It:
711
711
  case Yn:
712
- return a = H(), a.value = he, a.raw = k.slice(X, Fe), I(), w(a, "Literal");
712
+ return a = K(), a.value = fe, a.raw = k.slice(Y, Fe), E(), R(a, "Literal");
713
713
  case fr:
714
714
  case hr:
715
715
  case mr:
716
- return a = H(), a.value = x.$a, a.raw = x.l, I(), w(a, "Literal");
717
- case Ee:
716
+ return a = K(), a.value = $.$a, a.raw = $.l, E(), R(a, "Literal");
717
+ case Ce:
718
718
  a = Xt;
719
- var l = X;
720
- I();
721
- var p = ne();
722
- return p.start = l, p.end = Fe, O.C && (p.X.start = a, p.X.end = Yt), O.Xa && (p.j = [l, Fe]), _(be), p;
719
+ var l = Y;
720
+ E();
721
+ var p = re();
722
+ return p.start = l, p.end = Fe, O.C && (p.X.start = a, p.X.end = Yt), O.Xa && (p.j = [l, Fe]), J(ge), p;
723
723
  case ln:
724
- return a = H(), I(), a.elements = _t(un, !0, !0), w(a, "ArrayExpression");
724
+ return a = K(), E(), a.elements = _t(un, !0, !0), R(a, "ArrayExpression");
725
725
  case ot:
726
- for (a = H(), l = !0, p = !1, a.h = [], I(); !F(Me); ) {
726
+ for (a = K(), l = !0, p = !1, a.h = [], E(); !L(He); ) {
727
727
  if (l)
728
728
  l = !1;
729
- else if (_(Pe), O.sb && F(Me))
729
+ else if (J($e), O.sb && L(He))
730
730
  break;
731
731
  var f = {
732
- key: x === rt || x === It ? Tt() : Ce(!0)
732
+ key: $ === rt || $ === It ? Et() : Se(!0)
733
733
  }, P = !1;
734
- if (F(it)) {
735
- f.value = ne(!0);
736
- var Y = f.kind = "init";
734
+ if (L(it)) {
735
+ f.value = re(!0);
736
+ var Q = f.kind = "init";
737
737
  } else
738
- f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? ke() : (P = p = !0, Y = f.kind = f.key.name, f.key = x === rt || x === It ? Tt() : Ce(!0), x !== Ee && ke(), f.value = Gt(H(), !1));
738
+ f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? be() : (P = p = !0, Q = f.kind = f.key.name, f.key = $ === rt || $ === It ? Et() : Se(!0), $ !== Ce && be(), f.value = Gt(K(), !1));
739
739
  if (f.key.type === "Identifier" && (ce || p))
740
740
  for (var se = 0; se < a.h.length; ++se) {
741
- var Ke = a.h[se];
742
- if (Ke.key.name === f.key.name) {
743
- var pn = Y === Ke.kind || P && Ke.kind === "init" || Y === "init" && (Ke.kind === "get" || Ke.kind === "set");
744
- pn && !ce && Y === "init" && Ke.kind === "init" && (pn = !1), pn && r(f.key.start, "Redefinition of property");
741
+ var ze = a.h[se];
742
+ if (ze.key.name === f.key.name) {
743
+ var pn = Q === ze.kind || P && ze.kind === "init" || Q === "init" && (ze.kind === "get" || ze.kind === "set");
744
+ pn && !ce && Q === "init" && ze.kind === "init" && (pn = !1), pn && r(f.key.start, "Redefinition of property");
745
745
  }
746
746
  }
747
747
  a.h.push(f);
748
748
  }
749
- return w(a, "ObjectExpression");
749
+ return R(a, "ObjectExpression");
750
750
  case rn:
751
- return a = H(), I(), Gt(a, !1);
751
+ return a = K(), E(), Gt(a, !1);
752
752
  case pr:
753
- return a = H(), I(), a.callee = et(Tt(), !0), a.arguments = F(Ee) ? _t(be, !1) : Bo, w(a, "NewExpression");
753
+ return a = K(), E(), a.callee = et(Et(), !0), a.arguments = L(Ce) ? _t(ge, !1) : Bo, R(a, "NewExpression");
754
754
  }
755
- ke();
755
+ be();
756
756
  }
757
757
  function Gt(a, l) {
758
- x === Le ? a.id = Ce() : l ? ke() : a.id = null, a.oa = [];
758
+ $ === Me ? a.id = Se() : l ? be() : a.id = null, a.oa = [];
759
759
  var p = !0;
760
- for (_(Ee); !F(be); )
761
- p ? p = !1 : _(Pe), a.oa.push(Ce());
760
+ for (J(Ce); !L(ge); )
761
+ p ? p = !1 : J($e), a.oa.push(Se());
762
762
  p = nt;
763
- var f = J;
764
- if (nt = !0, J = [], a.body = Ze(!0), nt = p, J = f, ce || a.body.body.length && fe(a.body.body[0])) {
763
+ var f = X;
764
+ if (nt = !0, X = [], a.body = Ze(!0), nt = p, X = f, ce || a.body.body.length && We(a.body.body[0])) {
765
765
  for (p = a.id ? -1 : 0; p < a.oa.length; ++p)
766
766
  if (f = 0 > p ? a.id : a.oa[p], (wr(f.name) || At(f.name)) && r(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= p)
767
767
  for (var P = 0; P < p; ++P)
768
768
  f.name === a.oa[P].name && r(f.start, "Argument name clash in strict mode");
769
769
  }
770
- return w(a, l ? "FunctionDeclaration" : "FunctionExpression");
770
+ return R(a, l ? "FunctionDeclaration" : "FunctionExpression");
771
771
  }
772
772
  function _t(a, l, p) {
773
- for (var f = [], P = !0; !F(a); ) {
773
+ for (var f = [], P = !0; !L(a); ) {
774
774
  if (P)
775
775
  P = !1;
776
- else if (_(Pe), l && O.sb && F(a))
776
+ else if (J($e), l && O.sb && L(a))
777
777
  break;
778
- f.push(p && x === Pe ? null : ne(!0));
778
+ f.push(p && $ === $e ? null : re(!0));
779
779
  }
780
780
  return f;
781
781
  }
782
- function Ce(a) {
783
- var l = H();
784
- return a && O.yb === "everywhere" && (a = !1), x === Le ? (!a && (O.yb && zo(he) || ce && wr(he)) && k.slice(X, Fe).indexOf("\\") === -1 && r(X, "The keyword '" + he + "' is reserved"), l.name = he) : a && x.l ? l.name = x.l : ke(), tt = !1, I(), w(l, "Identifier");
782
+ function Se(a) {
783
+ var l = K();
784
+ return a && O.yb === "everywhere" && (a = !1), $ === Me ? (!a && (O.yb && zo(fe) || ce && wr(fe)) && k.slice(Y, Fe).indexOf("\\") === -1 && r(Y, "The keyword '" + fe + "' is reserved"), l.name = fe) : a && $.l ? l.name = $.l : be(), tt = !1, E(), R(l, "Identifier");
785
785
  }
786
786
  e.version = "0.5.0";
787
- var O, k = "", We, Jt;
787
+ var O, k = "", Le, Jt;
788
788
  e.parse = function(a, l) {
789
- k = String(a), We = k.length, O = l || {};
789
+ k = String(a), Le = k.length, O = l || {};
790
790
  for (var p in Xn)
791
791
  Object.prototype.hasOwnProperty.call(O, p) || (O[p] = Xn[p]);
792
- for (Jt = O.sourceFile, Ve = 1, d = we = 0, tt = !0, c(), p = O.dc, Qt = xe = d, O.C && (Zt = new i()), nt = ce = !1, J = [], v(), a = p || H(), l = !0, p || (a.body = []); x !== en; )
793
- p = ge(), a.body.push(p), l && fe(p) && D(!0), l = !1;
794
- return w(a, "Program");
792
+ for (Jt = O.sourceFile, Ve = 1, d = ke = 0, tt = !0, c(), p = O.dc, Qt = xe = d, O.C && (Zt = new i()), nt = ce = !1, X = [], y(), a = p || K(), l = !0, p || (a.body = []); $ !== en; )
793
+ p = he(), a.body.push(p), l && We(p) && D(!0), l = !1;
794
+ return R(a, "Program");
795
795
  };
796
796
  var Xn = {
797
797
  fc: !1,
@@ -804,13 +804,13 @@ var V, hi = function(e) {
804
804
  dc: null,
805
805
  sourceFile: null,
806
806
  vb: null
807
- }, d = 0, X = 0, Fe = 0, Xt, Yt, x, he, tt, Ve, we, Qt = 0, xe = 0, Zt, nt, J, ce, Bo = [], rt = {
807
+ }, d = 0, Y = 0, Fe = 0, Xt, Yt, $, fe, tt, Ve, ke, Qt = 0, xe = 0, Zt, nt, X, ce, Bo = [], rt = {
808
808
  type: "num"
809
809
  }, Yn = {
810
810
  type: "regexp"
811
811
  }, It = {
812
812
  type: "string"
813
- }, Le = {
813
+ }, Me = {
814
814
  type: "name"
815
815
  }, en = {
816
816
  type: "eof"
@@ -931,17 +931,17 @@ var V, hi = function(e) {
931
931
  }, ot = {
932
932
  type: "{",
933
933
  m: !0
934
- }, Me = {
934
+ }, He = {
935
935
  type: "}"
936
- }, Ee = {
936
+ }, Ce = {
937
937
  type: "(",
938
938
  m: !0
939
- }, be = {
939
+ }, ge = {
940
940
  type: ")"
941
- }, Pe = {
941
+ }, $e = {
942
942
  type: ",",
943
943
  m: !0
944
- }, Te = {
944
+ }, we = {
945
945
  type: ";",
946
946
  m: !0
947
947
  }, it = {
@@ -983,10 +983,10 @@ var V, hi = function(e) {
983
983
  }, Wo = {
984
984
  L: 5,
985
985
  m: !0
986
- }, Fo = {
986
+ }, Lo = {
987
987
  L: 6,
988
988
  m: !0
989
- }, Lo = {
989
+ }, Fo = {
990
990
  L: 7,
991
991
  m: !0
992
992
  }, Mo = {
@@ -999,7 +999,7 @@ var V, hi = function(e) {
999
999
  }, Ko = {
1000
1000
  L: 10,
1001
1001
  m: !0
1002
- }, zo = o("class enum extends super const export import"), wr = o("implements interface let package private protected public static yield"), At = o("eval arguments"), qo = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Go = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Er = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), _o = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), $t = /[\n\r\u2028\u2029]/, xt = /\r\n|[\n\r\u2028\u2029]/g, He, cn = {
1002
+ }, zo = o("class enum extends super const export import"), wr = o("implements interface let package private protected public static yield"), At = o("eval arguments"), qo = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Go = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Tr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), _o = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), xt = /[\n\r\u2028\u2029]/, $t = /\r\n|[\n\r\u2028\u2029]/g, Ke, cn = {
1003
1003
  kind: "loop"
1004
1004
  }, Jo = {
1005
1005
  kind: "switch"
@@ -1024,7 +1024,7 @@ function g(e, t) {
1024
1024
  this.N = Sn(this, this.ra, null), this.Na = this.N.object, this.ra = _e(this.ba.join(`
1025
1025
  `), "polyfills"), this.ba = void 0, Wt(this.ra), i = new T(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new T(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
1026
1026
  }
1027
- var Tr = {
1027
+ var Er = {
1028
1028
  C: !0,
1029
1029
  kc: 5
1030
1030
  }, Rn = {
@@ -1053,9 +1053,9 @@ var Tr = {
1053
1053
  SCOPE_REFERENCE: !0
1054
1054
  }, yt = {
1055
1055
  VALUE_IN_DESCRIPTOR: !0
1056
- }, ze = {
1056
+ }, qe = {
1057
1057
  REGEXP_TIMEOUT: !0
1058
- }, Rr = [], Re = null, ft = null, Ne = typeof globalThis > "u" ? void 0 : globalThis, mi = ["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();", "};"];
1058
+ }, Rr = [], Ee = null, ft = null, Ne = typeof globalThis > "u" ? void 0 : globalThis, mi = ["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();", "};"];
1059
1059
  function An(e) {
1060
1060
  var t = e >>> 0;
1061
1061
  return t === Number(e) ? t : NaN;
@@ -1082,8 +1082,8 @@ V.Kb = 0;
1082
1082
  V.ic = 0;
1083
1083
  function _e(e, t) {
1084
1084
  var n = {}, r;
1085
- for (r in Tr)
1086
- n[r] = Tr[r];
1085
+ for (r in Er)
1086
+ n[r] = Er[r];
1087
1087
  return n.sourceFile = t, Ne.j.parse(e, n);
1088
1088
  }
1089
1089
  V.Jb = function(e) {
@@ -1138,7 +1138,7 @@ V.Eb = function() {
1138
1138
  return this.za;
1139
1139
  };
1140
1140
  function gi(e, t) {
1141
- e.g(t, "NaN", NaN, at), e.g(t, "Infinity", 1 / 0, at), e.g(t, "undefined", void 0, at), e.g(t, "window", t, Rn), e.g(t, "this", t, at), e.g(t, "self", t), e.M = new N(null), e.Z = new N(e.M), yi(e, t), vi(e, t), t.xa = e.M, e.g(t, "constructor", e.v, C), bi(e, t), Si(e, t), ki(e, t), Ci(e, t), wi(e, t), Ei(e, t), Ti(e, t), Ii(e, t), Ri(e, t);
1141
+ e.g(t, "NaN", NaN, at), e.g(t, "Infinity", 1 / 0, at), e.g(t, "undefined", void 0, at), e.g(t, "window", t, Rn), e.g(t, "this", t, at), e.g(t, "self", t), e.M = new N(null), e.Z = new N(e.M), yi(e, t), vi(e, t), t.xa = e.M, e.g(t, "constructor", e.v, C), bi(e, t), Si(e, t), ki(e, t), Ci(e, t), wi(e, t), Ti(e, t), Ei(e, t), Ii(e, t), Ri(e, t);
1142
1142
  var n = e.i(function() {
1143
1143
  throw EvalError("Can't happen");
1144
1144
  }, !1);
@@ -1149,7 +1149,7 @@ function gi(e, t) {
1149
1149
  try {
1150
1150
  return i(s);
1151
1151
  } catch (u) {
1152
- R(e, e.Gb, u.message);
1152
+ I(e, e.Gb, u.message);
1153
1153
  }
1154
1154
  };
1155
1155
  }(r[o][0]), e.g(t, r[o][1], e.i(n, !1), C);
@@ -1158,9 +1158,9 @@ function gi(e, t) {
1158
1158
  }, e.g(t, "setTimeout", e.i(n, !1), C), n = function(i) {
1159
1159
  return Ar(e, !0, arguments);
1160
1160
  }, e.g(t, "setInterval", e.i(n, !1), C), n = function(i) {
1161
- $r(e, i);
1161
+ xr(e, i);
1162
1162
  }, e.g(t, "clearTimeout", e.i(n, !1), C), n = function(i) {
1163
- $r(e, i);
1163
+ xr(e, i);
1164
1164
  }, e.g(t, "clearInterval", e.i(n, !1), C), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
1165
1165
  }
1166
1166
  V.Wb = 0;
@@ -1171,83 +1171,83 @@ function yi(e, t) {
1171
1171
  s = s.split(/\s*,\s*/);
1172
1172
  for (var u = 0; u < s.length; u++) {
1173
1173
  var c = s[u];
1174
- n.test(c) || R(e, e.T, "Invalid function argument: " + c);
1174
+ n.test(c) || I(e, e.T, "Invalid function argument: " + c);
1175
1175
  }
1176
1176
  s = s.join(", ");
1177
1177
  }
1178
1178
  try {
1179
1179
  var h = _e("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1180
- } catch (v) {
1181
- R(e, e.T, "Invalid code: " + v.message);
1180
+ } catch (y) {
1181
+ I(e, e.T, "Invalid code: " + y.message);
1182
1182
  }
1183
- return h.body.length !== 1 && R(e, e.T, "Invalid code in function body"), Pn(e, h.body[0].la, e.N, "anonymous");
1183
+ return h.body.length !== 1 && I(e, e.T, "Invalid code in function body"), Pn(e, h.body[0].la, e.N, "anonymous");
1184
1184
  };
1185
1185
  e.O = e.i(r, !0), e.g(t, "Function", e.O, C), e.g(e.O, "prototype", e.Z, C), e.g(e.Z, "constructor", e.O, C), e.Z.Ta = function() {
1186
1186
  }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, le), e.Z.H = "Function", r = function(o, i) {
1187
1187
  var s = e.o[e.o.length - 1];
1188
- s.U = this, s.B = o, s.F = [], i != null && (i instanceof N ? s.F = Xr(e, i) : R(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1189
- }, Q(e, e.O, "apply", r), r = function(o) {
1188
+ s.U = this, s.B = o, s.F = [], i != null && (i instanceof N ? s.F = Xr(e, i) : I(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1189
+ }, Z(e, e.O, "apply", r), r = function(o) {
1190
1190
  var i = e.o[e.o.length - 1];
1191
1191
  i.U = this, i.B = o, i.F = [];
1192
1192
  for (var s = 1; s < arguments.length; s++)
1193
1193
  i.F.push(arguments[s]);
1194
1194
  i.eb = !1;
1195
- }, Q(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() {
1195
+ }, 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() {
1196
1196
  return String(this);
1197
- }, Q(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), C), r = function() {
1197
+ }, Z(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), C), r = function() {
1198
1198
  return this.valueOf();
1199
- }, Q(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), C);
1199
+ }, Z(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), C);
1200
1200
  }
1201
1201
  function vi(e, t) {
1202
1202
  function n(o) {
1203
- o != null || R(e, e.j, "Cannot convert '" + o + "' to object");
1203
+ o != null || I(e, e.j, "Cannot convert '" + o + "' to object");
1204
1204
  }
1205
1205
  var r = function(o) {
1206
1206
  if (o == null)
1207
- return $e(e) ? this : e.s(e.M);
1207
+ return Re(e) ? this : e.s(e.M);
1208
1208
  if (!(o instanceof N)) {
1209
- var i = e.s(Ae(e, o));
1209
+ var i = e.s(Ie(e, o));
1210
1210
  return i.data = o, i;
1211
1211
  }
1212
1212
  return o;
1213
1213
  };
1214
1214
  e.v = e.i(r, !0), e.g(e.v, "prototype", e.M, C), e.g(e.M, "constructor", e.v, C), e.g(t, "Object", e.v, C), r = function(o) {
1215
- return n(o), Ie(e, Object.getOwnPropertyNames(o instanceof N ? o.h : o));
1215
+ return n(o), Te(e, Object.getOwnPropertyNames(o instanceof N ? o.h : o));
1216
1216
  }, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), C), r = function(o) {
1217
- return n(o), o instanceof N && (o = o.h), Ie(e, Object.keys(o));
1217
+ return n(o), o instanceof N && (o = o.h), Te(e, Object.keys(o));
1218
1218
  }, e.g(e.v, "keys", e.i(r, !1), C), r = function(o) {
1219
- return o === null ? e.s(null) : (o instanceof N || R(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
1219
+ return o === null ? e.s(null) : (o instanceof N || I(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
1220
1220
  }, e.g(e.v, "create", e.i(r, !1), C), 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, s) {
1221
- return i = String(i), o instanceof N || R(e, e.j, "Object.defineProperty called on non-object: " + o), s instanceof N || R(e, e.j, "Property description must be an object"), !o.preventExtensions || i in o.h || R(e, e.j, "Can't define property '" + i + "', object is not extensible"), e.g(o, i, yt, s.h), o;
1221
+ return i = String(i), o instanceof N || I(e, e.j, "Object.defineProperty called on non-object: " + o), s instanceof N || I(e, e.j, "Property description must be an object"), !o.preventExtensions || i in o.h || I(e, e.j, "Can't define property '" + i + "', object is not extensible"), e.g(o, i, yt, s.h), o;
1222
1222
  }, e.g(e.v, "defineProperty", e.i(r, !1), C), 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) {
1223
- if (o instanceof N || R(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), i = String(i), i in o.h) {
1223
+ if (o instanceof N || I(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), i = String(i), i in o.h) {
1224
1224
  var s = Object.getOwnPropertyDescriptor(o.h, i), u = o.V[i];
1225
1225
  return o = o.Y[i], i = e.s(e.M), u || o ? (e.g(i, "get", u), e.g(i, "set", o)) : (e.g(i, "value", s.value), e.g(i, "writable", s.writable)), e.g(i, "configurable", s.configurable), e.g(i, "enumerable", s.enumerable), i;
1226
1226
  }
1227
1227
  }, e.g(e.v, "getOwnPropertyDescriptor", e.i(r, !1), C), r = function(o) {
1228
- return n(o), Ae(e, o);
1228
+ return n(o), Ie(e, o);
1229
1229
  }, e.g(e.v, "getPrototypeOf", e.i(r, !1), C), r = function(o) {
1230
1230
  return !!o && !o.preventExtensions;
1231
1231
  }, e.g(e.v, "isExtensible", e.i(r, !1), C), r = function(o) {
1232
1232
  return o instanceof N && (o.preventExtensions = !0), o;
1233
- }, e.g(e.v, "preventExtensions", e.i(r, !1), C), Q(e, e.v, "toString", N.prototype.toString), Q(e, e.v, "toLocaleString", N.prototype.toString), Q(e, e.v, "valueOf", N.prototype.valueOf), r = function(o) {
1233
+ }, e.g(e.v, "preventExtensions", e.i(r, !1), C), Z(e, e.v, "toString", N.prototype.toString), Z(e, e.v, "toLocaleString", N.prototype.toString), Z(e, e.v, "valueOf", N.prototype.valueOf), r = function(o) {
1234
1234
  return n(this), this instanceof N ? String(o) in this.h : this.hasOwnProperty(o);
1235
- }, Q(e, e.v, "hasOwnProperty", r), r = function(o) {
1235
+ }, Z(e, e.v, "hasOwnProperty", r), r = function(o) {
1236
1236
  return n(this), this instanceof N ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
1237
- }, Q(e, e.v, "propertyIsEnumerable", r), r = function(o) {
1237
+ }, Z(e, e.v, "propertyIsEnumerable", r), r = function(o) {
1238
1238
  for (; ; ) {
1239
- if (o = Ae(e, o), !o)
1239
+ if (o = Ie(e, o), !o)
1240
1240
  return !1;
1241
1241
  if (o === this)
1242
1242
  return !0;
1243
1243
  }
1244
- }, Q(e, e.v, "isPrototypeOf", r);
1244
+ }, Z(e, e.v, "isPrototypeOf", r);
1245
1245
  }
1246
1246
  function bi(e, t) {
1247
1247
  var n = function(r) {
1248
- var o = $e(e) ? this : Je(e), i = arguments[0];
1248
+ var o = Re(e) ? this : Je(e), i = arguments[0];
1249
1249
  if (arguments.length === 1 && typeof i == "number")
1250
- isNaN(An(i)) && R(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1250
+ isNaN(An(i)) && I(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1251
1251
  else {
1252
1252
  for (i = 0; i < arguments.length; i++)
1253
1253
  o.h[i] = arguments[i];
@@ -1265,59 +1265,59 @@ function bi(e, t) {
1265
1265
  }
1266
1266
  function Si(e, t) {
1267
1267
  var n = function(r) {
1268
- return r = arguments.length ? Ne.String(r) : "", $e(e) ? (this.data = r, this) : r;
1268
+ return r = arguments.length ? Ne.String(r) : "", Re(e) ? (this.data = r, this) : r;
1269
1269
  };
1270
1270
  for (e.J = e.i(n, !0), e.g(t, "String", e.J, C), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), C), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
1271
- Q(e, e.J, t[n], String.prototype[t[n]]);
1271
+ Z(e, e.J, t[n], String.prototype[t[n]]);
1272
1272
  n = function(r, o, i) {
1273
1273
  o = e.R(o), i = e.R(i);
1274
1274
  try {
1275
1275
  return String(this).localeCompare(r, o, i);
1276
1276
  } catch (s) {
1277
- R(e, e.D, "localeCompare: " + s.message);
1277
+ I(e, e.D, "localeCompare: " + s.message);
1278
1278
  }
1279
- }, Q(e, e.J, "localeCompare", n), n = function(r, o, i) {
1279
+ }, Z(e, e.J, "localeCompare", n), n = function(r, o, i) {
1280
1280
  var s = String(this);
1281
- if (o = o ? Number(o) : void 0, te(e, r, e.I) && (r = r.data, ut(e, r, i), e.REGEXP_MODE === 2)) {
1282
- if (Re)
1281
+ if (o = o ? Number(o) : void 0, ne(e, r, e.I) && (r = r.data, ut(e, r, i), e.REGEXP_MODE === 2)) {
1282
+ if (Ee)
1283
1283
  r = lt(e, "string.split(separator, limit)", {
1284
1284
  string: s,
1285
1285
  separator: r,
1286
1286
  limit: o
1287
- }, r, i), r !== ze && i(Ie(e, r));
1287
+ }, r, i), r !== qe && i(Te(e, r));
1288
1288
  else {
1289
1289
  var u = e.ha(), c = ct(e, r, u, i);
1290
1290
  u.onmessage = function(h) {
1291
- clearTimeout(c), i(Ie(e, h.data));
1291
+ clearTimeout(c), i(Te(e, h.data));
1292
1292
  }, u.postMessage(["split", s, r, o]);
1293
1293
  }
1294
1294
  return;
1295
1295
  }
1296
- r = s.split(r, o), i(Ie(e, r));
1296
+ r = s.split(r, o), i(Te(e, r));
1297
1297
  }, pt(e, e.J, "split", n), n = function(r, o) {
1298
1298
  var i = String(this);
1299
- if (r = te(e, r, e.I) ? r.data : new RegExp(r), ut(e, r, o), e.REGEXP_MODE === 2)
1300
- if (Re)
1299
+ if (r = ne(e, r, e.I) ? r.data : new RegExp(r), ut(e, r, o), e.REGEXP_MODE === 2)
1300
+ if (Ee)
1301
1301
  r = lt(e, "string.match(regexp)", {
1302
1302
  string: i,
1303
1303
  regexp: r
1304
- }, r, o), r !== ze && o(r && Ie(e, r));
1304
+ }, r, o), r !== qe && o(r && Te(e, r));
1305
1305
  else {
1306
1306
  var s = e.ha(), u = ct(e, r, s, o);
1307
1307
  s.onmessage = function(c) {
1308
- clearTimeout(u), o(c.data && Ie(e, c.data));
1308
+ clearTimeout(u), o(c.data && Te(e, c.data));
1309
1309
  }, s.postMessage(["match", i, r]);
1310
1310
  }
1311
1311
  else
1312
- r = i.match(r), o(r && Ie(e, r));
1312
+ r = i.match(r), o(r && Te(e, r));
1313
1313
  }, pt(e, e.J, "match", n), n = function(r, o) {
1314
1314
  var i = String(this);
1315
- if (te(e, r, e.I) ? r = r.data : r = new RegExp(r), ut(e, r, o), e.REGEXP_MODE === 2)
1316
- if (Re)
1315
+ if (ne(e, r, e.I) ? r = r.data : r = new RegExp(r), ut(e, r, o), e.REGEXP_MODE === 2)
1316
+ if (Ee)
1317
1317
  r = lt(e, "string.search(regexp)", {
1318
1318
  string: i,
1319
1319
  regexp: r
1320
- }, r, o), r !== ze && o(r);
1320
+ }, r, o), r !== qe && o(r);
1321
1321
  else {
1322
1322
  var s = e.ha(), u = ct(e, r, s, o);
1323
1323
  s.onmessage = function(c) {
@@ -1328,13 +1328,13 @@ function Si(e, t) {
1328
1328
  o(i.search(r));
1329
1329
  }, pt(e, e.J, "search", n), n = function(r, o, i) {
1330
1330
  var s = String(this);
1331
- if (o = String(o), te(e, r, e.I) && (r = r.data, ut(e, r, i), e.REGEXP_MODE === 2)) {
1332
- if (Re)
1331
+ if (o = String(o), ne(e, r, e.I) && (r = r.data, ut(e, r, i), e.REGEXP_MODE === 2)) {
1332
+ if (Ee)
1333
1333
  r = lt(e, "string.replace(substr, newSubstr)", {
1334
1334
  string: s,
1335
1335
  substr: r,
1336
1336
  newSubstr: o
1337
- }, r, i), r !== ze && i(r);
1337
+ }, r, i), r !== qe && i(r);
1338
1338
  else {
1339
1339
  var u = e.ha(), c = ct(e, r, u, i);
1340
1340
  u.onmessage = function(h) {
@@ -1348,12 +1348,12 @@ function Si(e, t) {
1348
1348
  }
1349
1349
  function ki(e, t) {
1350
1350
  e.mb = e.i(function(n) {
1351
- return n = Ne.Boolean(n), $e(e) ? (this.data = n, this) : n;
1351
+ return n = Ne.Boolean(n), Re(e) ? (this.data = n, this) : n;
1352
1352
  }, !0), e.g(t, "Boolean", e.mb, C);
1353
1353
  }
1354
1354
  function Ci(e, t) {
1355
1355
  var n = function(r) {
1356
- return r = arguments.length ? Ne.Number(r) : 0, $e(e) ? (this.data = r, this) : r;
1356
+ return r = arguments.length ? Ne.Number(r) : 0, Re(e) ? (this.data = r, this) : r;
1357
1357
  };
1358
1358
  for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, C), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
1359
1359
  e.g(e.aa, t[n], Number[t[n]], at);
@@ -1361,38 +1361,38 @@ function Ci(e, t) {
1361
1361
  try {
1362
1362
  return Number(this).toExponential(r);
1363
1363
  } catch (o) {
1364
- R(e, e.D, o.message);
1364
+ I(e, e.D, o.message);
1365
1365
  }
1366
- }, Q(e, e.aa, "toExponential", n), n = function(r) {
1366
+ }, Z(e, e.aa, "toExponential", n), n = function(r) {
1367
1367
  try {
1368
1368
  return Number(this).toFixed(r);
1369
1369
  } catch (o) {
1370
- R(e, e.D, o.message);
1370
+ I(e, e.D, o.message);
1371
1371
  }
1372
- }, Q(e, e.aa, "toFixed", n), n = function(r) {
1372
+ }, Z(e, e.aa, "toFixed", n), n = function(r) {
1373
1373
  try {
1374
1374
  return Number(this).toPrecision(r);
1375
1375
  } catch (o) {
1376
- R(e, e.D, o.message);
1376
+ I(e, e.D, o.message);
1377
1377
  }
1378
- }, Q(e, e.aa, "toPrecision", n), n = function(r) {
1378
+ }, Z(e, e.aa, "toPrecision", n), n = function(r) {
1379
1379
  try {
1380
1380
  return Number(this).toString(r);
1381
1381
  } catch (o) {
1382
- R(e, e.D, o.message);
1382
+ I(e, e.D, o.message);
1383
1383
  }
1384
- }, Q(e, e.aa, "toString", n), n = function(r, o) {
1384
+ }, Z(e, e.aa, "toString", n), n = function(r, o) {
1385
1385
  r = r ? e.R(r) : void 0, o = o ? e.R(o) : void 0;
1386
1386
  try {
1387
1387
  return Number(this).toLocaleString(r, o);
1388
1388
  } catch (i) {
1389
- R(e, e.D, "toLocaleString: " + i.message);
1389
+ I(e, e.D, "toLocaleString: " + i.message);
1390
1390
  }
1391
- }, Q(e, e.aa, "toLocaleString", n);
1391
+ }, Z(e, e.aa, "toLocaleString", n);
1392
1392
  }
1393
1393
  function wi(e, t) {
1394
1394
  var n = function(o, i) {
1395
- if (!$e(e))
1395
+ if (!Re(e))
1396
1396
  return Ne.Date();
1397
1397
  var s = [null].concat(Array.from(arguments));
1398
1398
  return this.data = new (Function.prototype.bind.apply(Ne.Date, s))(), this;
@@ -1402,65 +1402,65 @@ function wi(e, t) {
1402
1402
  n = /* @__PURE__ */ function(o) {
1403
1403
  return function(i) {
1404
1404
  var s = this.data;
1405
- s instanceof Date || R(e, e.j, o + " not called on a Date");
1405
+ s instanceof Date || I(e, e.j, o + " not called on a Date");
1406
1406
  for (var u = [], c = 0; c < arguments.length; c++)
1407
1407
  u[c] = e.R(arguments[c]);
1408
1408
  return s[o].apply(s, u);
1409
1409
  };
1410
- }(t[r]), Q(e, e.$, t[r], n);
1410
+ }(t[r]), Z(e, e.$, t[r], n);
1411
1411
  }
1412
- function Ei(e, t) {
1412
+ function Ti(e, t) {
1413
1413
  var n = function(r, o) {
1414
- if ($e(e))
1414
+ if (Re(e))
1415
1415
  var i = this;
1416
1416
  else {
1417
- if (o === void 0 && te(e, r, e.I))
1417
+ if (o === void 0 && ne(e, r, e.I))
1418
1418
  return r;
1419
1419
  i = e.s(e.Ma);
1420
1420
  }
1421
- r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) || R(e, e.T, "Invalid regexp flag: " + o);
1421
+ r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) || I(e, e.T, "Invalid regexp flag: " + o);
1422
1422
  try {
1423
1423
  var s = new Ne.RegExp(r, o);
1424
1424
  } catch (u) {
1425
- R(e, e.T, u.message);
1425
+ I(e, e.T, u.message);
1426
1426
  }
1427
- return $n(e, i, s), i;
1427
+ return xn(e, i, s), i;
1428
1428
  };
1429
1429
  e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, C), e.g(e.I.h.prototype, "global", void 0, le), e.g(e.I.h.prototype, "ignoreCase", void 0, le), e.g(e.I.h.prototype, "multiline", void 0, le), e.g(e.I.h.prototype, "source", "(?:)", le), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
1430
- function i(v) {
1431
- if (v) {
1432
- var b = Ie(e, v);
1433
- return e.g(b, "index", v.index), e.g(b, "input", v.input), b;
1430
+ function i(y) {
1431
+ if (y) {
1432
+ var b = Te(e, y);
1433
+ return e.g(b, "index", y.index), e.g(b, "input", y.input), b;
1434
1434
  }
1435
1435
  return null;
1436
1436
  }
1437
1437
  var s = this.data;
1438
1438
  if (r = String(r), s.lastIndex = Number(e.G(this, "lastIndex")), ut(e, s, o), e.REGEXP_MODE === 2)
1439
- if (Re)
1439
+ if (Ee)
1440
1440
  r = lt(e, "regexp.exec(string)", {
1441
1441
  string: r,
1442
1442
  regexp: s
1443
- }, s, o), r !== ze && (e.g(this, "lastIndex", s.lastIndex), o(i(r)));
1443
+ }, s, o), r !== qe && (e.g(this, "lastIndex", s.lastIndex), o(i(r)));
1444
1444
  else {
1445
1445
  var u = e.ha(), c = ct(e, s, u, o), h = this;
1446
- u.onmessage = function(v) {
1447
- clearTimeout(c), e.g(h, "lastIndex", v.data[1]), o(i(v.data[0]));
1446
+ u.onmessage = function(y) {
1447
+ clearTimeout(c), e.g(h, "lastIndex", y.data[1]), o(i(y.data[0]));
1448
1448
  }, u.postMessage(["exec", s, s.lastIndex, r]);
1449
1449
  }
1450
1450
  else
1451
1451
  r = s.exec(r), e.g(this, "lastIndex", s.lastIndex), o(i(r));
1452
1452
  }, pt(e, e.I, "exec", n);
1453
1453
  }
1454
- function Ti(e, t) {
1454
+ function Ei(e, t) {
1455
1455
  function n(r) {
1456
1456
  var o = e.i(function(i) {
1457
- var s = $e(e) ? this : e.Aa(o);
1457
+ var s = Re(e) ? this : e.Aa(o);
1458
1458
  return bn(e, s, i), s;
1459
1459
  }, !0);
1460
1460
  return e.g(o, "prototype", e.Aa(e.D), C), e.g(o.h.prototype, "name", r, C), e.g(t, r, o, C), o;
1461
1461
  }
1462
1462
  e.D = e.i(function(r) {
1463
- var o = $e(e) ? this : e.Aa(e.D);
1463
+ var o = Re(e) ? this : e.Aa(e.D);
1464
1464
  return bn(e, o, r), o;
1465
1465
  }, !0), e.g(t, "Error", e.D, C), e.g(e.D.h.prototype, "message", "", C), e.g(e.D.h.prototype, "name", "Error", C), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
1466
1466
  }
@@ -1479,34 +1479,34 @@ function Ri(e, t) {
1479
1479
  try {
1480
1480
  var o = JSON.parse(String(r));
1481
1481
  } catch (i) {
1482
- R(e, e.T, i.message);
1482
+ I(e, e.T, i.message);
1483
1483
  }
1484
1484
  return e.Ia(o);
1485
1485
  }, e.g(n, "parse", e.i(t, !1)), t = function(r, o, i) {
1486
- o && o.H === "Function" ? R(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = Xr(e, o), o = o.filter(function(u) {
1486
+ o && o.H === "Function" ? I(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = Xr(e, o), o = o.filter(function(u) {
1487
1487
  return typeof u == "string" || typeof u == "number";
1488
1488
  })) : o = null, typeof i != "string" && typeof i != "number" && (i = void 0), r = e.R(r);
1489
1489
  try {
1490
1490
  var s = JSON.stringify(r, o, i);
1491
1491
  } catch (u) {
1492
- R(e, e.j, u.message);
1492
+ I(e, e.j, u.message);
1493
1493
  }
1494
1494
  return s;
1495
1495
  }, e.g(n, "stringify", e.i(t, !1));
1496
1496
  }
1497
- function te(e, t, n) {
1497
+ function ne(e, t, n) {
1498
1498
  if (t == null || !n)
1499
1499
  return !1;
1500
1500
  if (n = n.h.prototype, t === n)
1501
1501
  return !0;
1502
- for (t = Ae(e, t); t; ) {
1502
+ for (t = Ie(e, t); t; ) {
1503
1503
  if (t === n)
1504
1504
  return !0;
1505
1505
  t = t.xa;
1506
1506
  }
1507
1507
  return !1;
1508
1508
  }
1509
- function $n(e, t, n) {
1509
+ function xn(e, t, n) {
1510
1510
  t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, C), e.g(t, "source", n.source, le), e.g(t, "global", n.global, le), e.g(t, "ignoreCase", n.ignoreCase, le), e.g(t, "multiline", n.multiline, le);
1511
1511
  }
1512
1512
  function bn(e, t, n) {
@@ -1538,36 +1538,36 @@ function lt(e, t, n, r, o) {
1538
1538
  timeout: e.REGEXP_THREAD_TIMEOUT
1539
1539
  };
1540
1540
  try {
1541
- return Re.runInNewContext(t, n, i);
1541
+ return Ee.runInNewContext(t, n, i);
1542
1542
  } catch {
1543
- o(null), R(e, e.D, "RegExp Timeout: " + r);
1543
+ o(null), I(e, e.D, "RegExp Timeout: " + r);
1544
1544
  }
1545
- return ze;
1545
+ return qe;
1546
1546
  }
1547
1547
  function ut(e, t, n) {
1548
1548
  if (e.REGEXP_MODE === 0)
1549
1549
  var r = !1;
1550
1550
  else if (e.REGEXP_MODE === 1)
1551
1551
  r = !0;
1552
- else if (Re)
1552
+ else if (Ee)
1553
1553
  r = !0;
1554
1554
  else if (typeof Worker == "function" && typeof URL == "function")
1555
1555
  r = !0;
1556
1556
  else if (typeof require == "function") {
1557
1557
  try {
1558
- Re = require("vm");
1558
+ Ee = require("vm");
1559
1559
  } catch {
1560
1560
  }
1561
- r = !!Re;
1561
+ r = !!Ee;
1562
1562
  } else
1563
1563
  r = !1;
1564
- r || (n(null), R(e, e.D, "Regular expressions not supported: " + t));
1564
+ r || (n(null), I(e, e.D, "Regular expressions not supported: " + t));
1565
1565
  }
1566
1566
  function ct(e, t, n, r) {
1567
1567
  return setTimeout(function() {
1568
1568
  n.terminate(), r(null);
1569
1569
  try {
1570
- R(e, e.D, "RegExp Timeout: " + t);
1570
+ I(e, e.D, "RegExp Timeout: " + t);
1571
1571
  } catch {
1572
1572
  }
1573
1573
  }, e.REGEXP_THREAD_TIMEOUT);
@@ -1578,7 +1578,7 @@ V.Aa = function(e) {
1578
1578
  V.s = function(e) {
1579
1579
  if (typeof e != "object")
1580
1580
  throw Error("Non object prototype");
1581
- return e = new N(e), te(this, e, this.D) && (e.H = "Error"), e;
1581
+ return e = new N(e), ne(this, e, this.D) && (e.H = "Error"), e;
1582
1582
  };
1583
1583
  function Je(e) {
1584
1584
  var t = e.s(e.La);
@@ -1588,19 +1588,19 @@ function Je(e) {
1588
1588
  writable: !0
1589
1589
  }), t.H = "Array", t;
1590
1590
  }
1591
- function xn(e, t, n) {
1591
+ function $n(e, t, n) {
1592
1592
  var r = e.s(e.Z);
1593
1593
  return n ? (n = e.s(e.M), e.g(r, "prototype", n, C), e.g(n, "constructor", r, C)) : r.Ab = !0, e.g(r, "length", t, le), r.H = "Function", r;
1594
1594
  }
1595
1595
  function Pn(e, t, n, r) {
1596
- var o = xn(e, t.oa.length, !0);
1596
+ var o = $n(e, t.oa.length, !0);
1597
1597
  return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", le), o;
1598
1598
  }
1599
1599
  V.i = function(e, t) {
1600
- return t = xn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, le), t;
1600
+ return t = $n(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, le), t;
1601
1601
  };
1602
1602
  V.ub = function(e) {
1603
- var t = xn(this, e.length, !0);
1603
+ var t = $n(this, e.length, !0);
1604
1604
  return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, le), t;
1605
1605
  };
1606
1606
  V.Ia = function(e) {
@@ -1610,7 +1610,7 @@ V.Ia = function(e) {
1610
1610
  return e;
1611
1611
  if (e instanceof RegExp) {
1612
1612
  var t = this.s(this.Ma);
1613
- return $n(this, t, e), t;
1613
+ return xn(this, t, e), t;
1614
1614
  }
1615
1615
  if (e instanceof Date)
1616
1616
  return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
@@ -1639,9 +1639,9 @@ V.R = function(e, t) {
1639
1639
  return e;
1640
1640
  if (!(e instanceof N))
1641
1641
  throw Error("Object is not pseudo");
1642
- if (te(this, e, this.I))
1642
+ if (ne(this, e, this.I))
1643
1643
  return t = new RegExp(e.data.source, e.data.flags), t.lastIndex = e.data.lastIndex, t;
1644
- if (te(this, e, this.$))
1644
+ if (ne(this, e, this.$))
1645
1645
  return new Date(e.data.valueOf());
1646
1646
  t = t || {
1647
1647
  hb: [],
@@ -1650,10 +1650,10 @@ V.R = function(e, t) {
1650
1650
  var n = t.hb.indexOf(e);
1651
1651
  if (n !== -1)
1652
1652
  return t.Sa[n];
1653
- if (t.hb.push(e), te(this, e, this.qa)) {
1653
+ if (t.hb.push(e), ne(this, e, this.qa)) {
1654
1654
  n = [], t.Sa.push(n);
1655
1655
  for (var r = this.G(e, "length"), o = 0; o < r; o++)
1656
- Ft(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1656
+ Lt(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1657
1657
  } else
1658
1658
  for (r in n = {}, t.Sa.push(n), e.h)
1659
1659
  o = this.R(e.h[r], t), Object.defineProperty(n, r, {
@@ -1664,7 +1664,7 @@ V.R = function(e, t) {
1664
1664
  });
1665
1665
  return t.hb.pop(), t.Sa.pop(), n;
1666
1666
  };
1667
- function Ie(e, t) {
1667
+ function Te(e, t) {
1668
1668
  for (var n = Je(e), r = Object.getOwnPropertyNames(t), o = 0; o < r.length; o++)
1669
1669
  e.g(n, r[o], t[r[o]]);
1670
1670
  return n;
@@ -1675,7 +1675,7 @@ function Xr(e, t) {
1675
1675
  n[r] = e.G(t, r);
1676
1676
  return n.length = An(e.G(t, "length")) || 0, n;
1677
1677
  }
1678
- function Ae(e, t) {
1678
+ function Ie(e, t) {
1679
1679
  switch (typeof t) {
1680
1680
  case "number":
1681
1681
  return e.aa.h.prototype;
@@ -1689,12 +1689,12 @@ function Ae(e, t) {
1689
1689
  V.G = function(e, t) {
1690
1690
  if (this.P)
1691
1691
  throw Error("Getter not supported in that context");
1692
- if (t = String(t), e != null || R(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof N))
1692
+ if (t = String(t), e != null || I(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof N))
1693
1693
  throw TypeError("Expecting native value or pseudo object");
1694
1694
  if (t === "length") {
1695
- if (te(this, e, this.J))
1695
+ if (ne(this, e, this.J))
1696
1696
  return String(e).length;
1697
- } else if (64 > t.charCodeAt(0) && te(this, e, this.J)) {
1697
+ } else if (64 > t.charCodeAt(0) && ne(this, e, this.J)) {
1698
1698
  var n = ht(t);
1699
1699
  if (!isNaN(n) && n < String(e).length)
1700
1700
  return String(e)[n];
@@ -1702,14 +1702,14 @@ V.G = function(e, t) {
1702
1702
  do
1703
1703
  if (e.h && t in e.h)
1704
1704
  return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
1705
- while (e = Ae(this, e));
1705
+ while (e = Ie(this, e));
1706
1706
  };
1707
- function Ft(e, t, n) {
1707
+ function Lt(e, t, n) {
1708
1708
  if (!(t instanceof N))
1709
1709
  throw TypeError("Primitive data type has no properties");
1710
- if (n = String(n), n === "length" && te(e, t, e.J))
1710
+ if (n = String(n), n === "length" && ne(e, t, e.J))
1711
1711
  return !0;
1712
- if (te(e, t, e.J)) {
1712
+ if (ne(e, t, e.J)) {
1713
1713
  var r = ht(n);
1714
1714
  if (!isNaN(r) && r < String(t).length)
1715
1715
  return !0;
@@ -1717,21 +1717,21 @@ function Ft(e, t, n) {
1717
1717
  do
1718
1718
  if (t.h && n in t.h)
1719
1719
  return !0;
1720
- while (t = Ae(e, t));
1720
+ while (t = Ie(e, t));
1721
1721
  return !1;
1722
1722
  }
1723
1723
  V.g = function(e, t, n, r) {
1724
1724
  if (this.Ka)
1725
1725
  throw Error("Setter not supported in that context");
1726
- if (t = String(t), e != null || R(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof N))
1726
+ if (t = String(t), e != null || I(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof N))
1727
1727
  throw TypeError("Expecting native value or pseudo object");
1728
- r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && R(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1728
+ r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && I(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1729
1729
  var o = !this.o || On(this).S;
1730
1730
  if (e instanceof N) {
1731
- if (te(this, e, this.J)) {
1731
+ if (ne(this, e, this.J)) {
1732
1732
  var i = ht(t);
1733
1733
  if (t === "length" || !isNaN(i) && i < String(e).length) {
1734
- o && R(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1734
+ o && I(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1735
1735
  return;
1736
1736
  }
1737
1737
  }
@@ -1742,7 +1742,7 @@ V.g = function(e, t, n, r) {
1742
1742
  return;
1743
1743
  n = r.value;
1744
1744
  }
1745
- if (n = An(n), isNaN(n) && R(this, this.ob, "Invalid array length"), n < i)
1745
+ if (n = An(n), isNaN(n) && I(this, this.ob, "Invalid array length"), n < i)
1746
1746
  for (s in e.h) {
1747
1747
  var s = ht(s);
1748
1748
  !isNaN(s) && n <= s && delete e.h[s];
@@ -1755,32 +1755,32 @@ V.g = function(e, t, n, r) {
1755
1755
  try {
1756
1756
  Object.defineProperty(e.h, t, o);
1757
1757
  } catch {
1758
- R(this, this.j, "Cannot redefine property: " + t);
1758
+ I(this, this.j, "Cannot redefine property: " + t);
1759
1759
  }
1760
1760
  "get" in r && !r.get && delete e.V[t], "set" in r && !r.set && delete e.Y[t];
1761
1761
  } else {
1762
1762
  if (n === yt)
1763
1763
  throw ReferenceError("Value not specified");
1764
1764
  for (r = e; !(t in r.h); )
1765
- if (r = Ae(this, r), !r) {
1765
+ if (r = Ie(this, r), !r) {
1766
1766
  r = e;
1767
1767
  break;
1768
1768
  }
1769
1769
  if (r.Y && r.Y[t])
1770
1770
  return this.Ka = !0, r.Y[t];
1771
1771
  if (r.V && r.V[t])
1772
- o && R(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
1772
+ o && I(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
1773
1773
  else
1774
1774
  try {
1775
1775
  e.h[t] = n;
1776
1776
  } catch {
1777
- o && R(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
1777
+ o && I(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
1778
1778
  }
1779
1779
  }
1780
1780
  else
1781
- o && R(this, this.j, "Can't add property '" + t + "', object is not extensible");
1781
+ o && I(this, this.j, "Can't add property '" + t + "', object is not extensible");
1782
1782
  } else
1783
- o && R(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1783
+ o && I(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1784
1784
  };
1785
1785
  V.g.ac = function() {
1786
1786
  throw Error("Placeholder getter");
@@ -1788,7 +1788,7 @@ V.g.ac = function() {
1788
1788
  V.g.bc = function() {
1789
1789
  throw Error("Placeholder setter");
1790
1790
  };
1791
- function Q(e, t, n, r) {
1791
+ function Z(e, t, n, r) {
1792
1792
  e.g(t.h.prototype, n, e.i(r, !1), C);
1793
1793
  }
1794
1794
  function pt(e, t, n, r) {
@@ -1820,9 +1820,9 @@ function Bn(e, t) {
1820
1820
  return n.object.h[t];
1821
1821
  n = n.Va;
1822
1822
  }
1823
- if (n === e.N && Ft(e, n.object, t))
1823
+ if (n === e.N && Lt(e, n.object, t))
1824
1824
  return e.G(n.object, t);
1825
- n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || R(e, e.pb, t + " is not defined");
1825
+ n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || I(e, e.pb, t + " is not defined");
1826
1826
  }
1827
1827
  function Yr(e, t, n) {
1828
1828
  for (var r = On(e), o = r.S; r && r !== e.N; ) {
@@ -1830,15 +1830,15 @@ function Yr(e, t, n) {
1830
1830
  try {
1831
1831
  r.object.h[t] = n;
1832
1832
  } catch {
1833
- o && R(e, e.j, "Cannot assign to read only variable '" + t + "'");
1833
+ o && I(e, e.j, "Cannot assign to read only variable '" + t + "'");
1834
1834
  }
1835
1835
  return;
1836
1836
  }
1837
1837
  r = r.Va;
1838
1838
  }
1839
- if (r === e.N && (!o || Ft(e, r.object, t)))
1839
+ if (r === e.N && (!o || Lt(e, r.object, t)))
1840
1840
  return e.g(r.object, t, n);
1841
- R(e, e.pb, t + " is not defined");
1841
+ I(e, e.pb, t + " is not defined");
1842
1842
  }
1843
1843
  function vt(e, t, n) {
1844
1844
  if (t.jb)
@@ -1889,7 +1889,7 @@ function vt(e, t, n) {
1889
1889
  r[s] === !0 ? e.g(n.object, s, void 0, Ir) : e.g(n.object, s, Pn(e, r[s], n), Ir);
1890
1890
  return r;
1891
1891
  }
1892
- function $e(e) {
1892
+ function Re(e) {
1893
1893
  return e.o[e.o.length - 1].isConstructor;
1894
1894
  }
1895
1895
  function jn(e, t) {
@@ -1898,7 +1898,7 @@ function jn(e, t) {
1898
1898
  function Vn(e, t, n) {
1899
1899
  return t[0] === Ye ? Yr(e, t[1], n) : e.g(t[0], t[1], n);
1900
1900
  }
1901
- function R(e, t, n) {
1901
+ function I(e, t, n) {
1902
1902
  throw e.N ? (n !== void 0 && t instanceof N && (t = e.Aa(t), bn(e, t, n)), bt(e, 4, t), Jr) : n === void 0 ? t : n;
1903
1903
  }
1904
1904
  function bt(e, t, n, r) {
@@ -1937,7 +1937,7 @@ function bt(e, t, n, r) {
1937
1937
  } else if (t === 2 && (r ? i.labels && i.labels.indexOf(r) !== -1 : i.W))
1938
1938
  return;
1939
1939
  }
1940
- throw te(e, n, e.D) ? (t = {
1940
+ throw ne(e, n, e.D) ? (t = {
1941
1941
  EvalError,
1942
1942
  RangeError,
1943
1943
  ReferenceError,
@@ -1988,7 +1988,7 @@ function Ar(e, t, n) {
1988
1988
  try {
1989
1989
  var c = _e(String(i), "taskCode" + e.ic++);
1990
1990
  } catch (h) {
1991
- R(e, e.T, "Invalid code: " + h.message);
1991
+ I(e, e.T, "Invalid code: " + h.message);
1992
1992
  }
1993
1993
  s.type = "EvalProgram_", s.body = c.body, r = r.node.arguments[0], Wt(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
1994
1994
  }
@@ -1999,7 +1999,7 @@ function Qr(e, t, n) {
1999
1999
  return r.time - o.time;
2000
2000
  });
2001
2001
  }
2002
- function $r(e, t) {
2002
+ function xr(e, t) {
2003
2003
  for (var n = 0; n < e.ca.length; n++)
2004
2004
  if (e.ca[n].Db == t) {
2005
2005
  e.ca.splice(n, 1);
@@ -2021,7 +2021,7 @@ function Dn(e, t, n, r) {
2021
2021
  return o.type = "CallExpression", e = new T(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
2022
2022
  }
2023
2023
  function dn(e, t) {
2024
- return t == null ? e.Na : t instanceof N ? t : (e = e.s(Ae(e, t)), e.data = t, e);
2024
+ return t == null ? e.Na : t instanceof N ? t : (e = e.s(Ie(e, t)), e.data = t, e);
2025
2025
  }
2026
2026
  V.Xb = function() {
2027
2027
  return this.N;
@@ -2097,9 +2097,9 @@ V.valueOf = function() {
2097
2097
  return !ft || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2098
2098
  };
2099
2099
  function Ai(e, t, n, r, o) {
2100
- this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++$i, this.time = 0;
2100
+ this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++xi, this.time = 0;
2101
2101
  }
2102
- var $i = 0;
2102
+ var xi = 0;
2103
2103
  g.prototype.stepArrayExpression = function(e, t, n) {
2104
2104
  n = n.elements;
2105
2105
  var r = t.A || 0;
@@ -2230,10 +2230,10 @@ g.prototype.stepBinaryExpression = function(e, t, n) {
2230
2230
  n = r >>> t;
2231
2231
  break;
2232
2232
  case "in":
2233
- t instanceof N || R(this, this.j, "'in' expects an object, not '" + t + "'"), n = Ft(this, t, r);
2233
+ t instanceof N || I(this, this.j, "'in' expects an object, not '" + t + "'"), n = Lt(this, t, r);
2234
2234
  break;
2235
2235
  case "instanceof":
2236
- te(this, t, this.O) || R(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof N ? te(this, r, t) : !1;
2236
+ ne(this, t, this.O) || I(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof N ? ne(this, r, t) : !1;
2237
2237
  break;
2238
2238
  default:
2239
2239
  throw SyntaxError("Unknown binary operator: " + n.operator);
@@ -2270,7 +2270,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
2270
2270
  if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
2271
2271
  return new T(n.arguments[t.A++], t.scope);
2272
2272
  if (n.type === "NewExpression") {
2273
- if (o instanceof N && !o.Ab || R(this, this.j, ae(this, n.callee) + " is not a constructor"), o === this.qa)
2273
+ if (o instanceof N && !o.Ab || I(this, this.j, ae(this, n.callee) + " is not a constructor"), o === this.qa)
2274
2274
  t.B = Je(this);
2275
2275
  else {
2276
2276
  var i = o.h.prototype;
@@ -2283,7 +2283,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
2283
2283
  if (t.eb)
2284
2284
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2285
2285
  else {
2286
- if (t.eb = !0, o instanceof N || R(this, this.j, ae(this, n.callee) + " is not a function"), e = o.node) {
2286
+ if (t.eb = !0, o instanceof N || I(this, this.j, ae(this, n.callee) + " is not a function"), e = o.node) {
2287
2287
  for (n = Sn(this, e.body, o.Va), r = Je(this), o = 0; o < t.F.length; o++)
2288
2288
  this.g(r, o, t.F[o]);
2289
2289
  for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
@@ -2297,7 +2297,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
2297
2297
  try {
2298
2298
  r = _e(String(o), "eval" + this.Hb++);
2299
2299
  } catch (u) {
2300
- R(this, this.T, "Invalid code: " + u.message);
2300
+ I(this, this.T, "Invalid code: " + u.message);
2301
2301
  }
2302
2302
  return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, Wt(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = Sn(this, r, n) : vt(this, r, n), this.value = void 0, new T(o, n);
2303
2303
  }
@@ -2309,7 +2309,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
2309
2309
  t.value = u, s.za = !1;
2310
2310
  }), this.za = !0, t.scope.S || (t.B = dn(this, t.B)), o.Za.apply(t.B, r);
2311
2311
  } else
2312
- R(this, this.j, ae(this, n.callee) + " is not callable");
2312
+ I(this, this.j, ae(this, n.callee) + " is not callable");
2313
2313
  }
2314
2314
  };
2315
2315
  g.prototype.stepConditionalExpression = function(e, t, n) {
@@ -2355,7 +2355,7 @@ g.prototype.stepExpressionStatement = function(e, t, n) {
2355
2355
  };
2356
2356
  g.prototype.stepForInStatement = function(e, t, n) {
2357
2357
  if (!t.Ub && (t.Ub = !0, n.left.fa && n.left.fa[0].ua))
2358
- return t.scope.S && R(this, this.T, "for-in loop variable declaration may not have an initializer"), new T(n.left, t.scope);
2358
+ return t.scope.S && I(this, this.T, "for-in loop variable declaration may not have an initializer"), new T(n.left, t.scope);
2359
2359
  if (!t.Ca)
2360
2360
  return t.Ca = !0, t.pa || (t.pa = t.value), new T(n.right, t.scope);
2361
2361
  if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
@@ -2378,7 +2378,7 @@ g.prototype.stepForInStatement = function(e, t, n) {
2378
2378
  break e;
2379
2379
  }
2380
2380
  }
2381
- if (t.u = Ae(this, t.u), t.wa = null, t.u === null) {
2381
+ if (t.u = Ie(this, t.u), t.wa = null, t.u === null) {
2382
2382
  e.pop();
2383
2383
  return;
2384
2384
  }
@@ -2434,7 +2434,7 @@ g.prototype.stepLabeledStatement = function(e, t, n) {
2434
2434
  return e.pop(), e = t.labels || [], e.push(n.label.name), t = new T(n.body, t.scope), t.labels = e, t;
2435
2435
  };
2436
2436
  g.prototype.stepLiteral = function(e, t, n) {
2437
- e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), $n(this, n, t), t = n), e[e.length - 1].value = t;
2437
+ e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), xn(this, n, t), t = n), e[e.length - 1].value = t;
2438
2438
  };
2439
2439
  g.prototype.stepLogicalExpression = function(e, t, n) {
2440
2440
  if (n.operator !== "&&" && n.operator !== "||")
@@ -2541,7 +2541,7 @@ g.prototype.stepThisExpression = function(e) {
2541
2541
  };
2542
2542
  g.prototype.stepThrowStatement = function(e, t, n) {
2543
2543
  if (t.ka)
2544
- R(this, t.value);
2544
+ I(this, t.value);
2545
2545
  else
2546
2546
  return t.ka = !0, new T(n.K, t.scope);
2547
2547
  };
@@ -2579,7 +2579,7 @@ g.prototype.stepUnaryExpression = function(e, t, n) {
2579
2579
  try {
2580
2580
  delete o.h[r];
2581
2581
  } catch {
2582
- t.scope.S ? R(this, this.j, "Cannot delete property '" + r + "' of '" + o + "'") : n = !1;
2582
+ t.scope.S ? I(this, this.j, "Cannot delete property '" + r + "' of '" + o + "'") : n = !1;
2583
2583
  }
2584
2584
  }
2585
2585
  r = n;
@@ -2647,7 +2647,7 @@ g.prototype.getGlobalScope = g.prototype.Xb;
2647
2647
  g.prototype.getStateStack = g.prototype.Yb;
2648
2648
  g.prototype.setStateStack = g.prototype.ec;
2649
2649
  g.VALUE_IN_DESCRIPTOR = yt;
2650
- function xi() {
2650
+ function $i() {
2651
2651
  const e = g.prototype.getProperty, t = g.prototype.setProperty;
2652
2652
  function n(s, u) {
2653
2653
  if (s == null || !s._connected)
@@ -2672,11 +2672,11 @@ function xi() {
2672
2672
  return u._connected = s, u;
2673
2673
  };
2674
2674
  }
2675
- xi();
2675
+ $i();
2676
2676
  const Pi = (e) => e.replace(/^.*?function main\(\)/, `
2677
2677
  var __awaiter = function (e, t, n, r) {return r()},
2678
2678
  __generator = function (e, t) { return t() };
2679
- function main()`).replace(/\?\./g, "."), xr = (e) => e + "JSON", Oi = ({
2679
+ function main()`).replace(/\?\./g, "."), $r = (e) => e + "JSON", Oi = ({
2680
2680
  builder: e,
2681
2681
  context: t,
2682
2682
  event: n,
@@ -2694,27 +2694,27 @@ function main()`).replace(/\?\./g, "."), xr = (e) => e + "JSON", Oi = ({
2694
2694
  context: t,
2695
2695
  event: n,
2696
2696
  state: u
2697
- }), h = c.map(([$]) => {
2698
- const M = xr($);
2699
- return $ === "state" ? "" : `var ${$} = ${M} === undefined ? undefined : JSON.parse(${M});`;
2697
+ }), h = c.map(([x]) => {
2698
+ const H = $r(x);
2699
+ return x === "state" ? "" : `var ${x} = ${H} === undefined ? undefined : JSON.parse(${H});`;
2700
2700
  }).join(`
2701
- `), v = Pi(s);
2702
- if (v === "")
2701
+ `), y = Pi(s);
2702
+ if (y === "")
2703
2703
  return;
2704
2704
  const b = `
2705
2705
  function theFunction() {
2706
2706
  ${h}
2707
2707
 
2708
- ${v}
2708
+ ${y}
2709
2709
  }
2710
2710
  theFunction();
2711
- `, m = function($, M) {
2712
- c.forEach(([ee, I]) => {
2713
- if (ee === "state")
2714
- $.setProperty(M, ee, $.createConnectedObject(I), $.READONLY_DESCRIPTOR);
2711
+ `, m = function(x, H) {
2712
+ c.forEach(([te, E]) => {
2713
+ if (te === "state")
2714
+ x.setProperty(H, te, x.createConnectedObject(E), x.READONLY_DESCRIPTOR);
2715
2715
  else {
2716
- const D = JSON.stringify(I);
2717
- $.setProperty(M, xr(ee), D);
2716
+ const D = JSON.stringify(E);
2717
+ x.setProperty(H, $r(te), D);
2718
2718
  }
2719
2719
  });
2720
2720
  }, S = new g(b, m);
@@ -2732,7 +2732,7 @@ const Bi = ({
2732
2732
  return !1;
2733
2733
  const t = process.arch === "arm64", n = process.version.startsWith("v20"), r = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
2734
2734
  return t && n && !r ? (e && ue.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
2735
- }, ji = (e) => K() || Bi({
2735
+ }, ji = (e) => M() || Bi({
2736
2736
  shouldLogWarning: !0
2737
2737
  }) ? fi(e) : Oi(e), Vi = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Di = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Ui = (e) => {
2738
2738
  var t, n, r, o, i, s;
@@ -2780,10 +2780,10 @@ function Wi(e, t) {
2780
2780
  return {
2781
2781
  ...(n = e.component) == null ? void 0 : n.options,
2782
2782
  ...e.options,
2783
- ...Fi(e, t)
2783
+ ...Li(e, t)
2784
2784
  };
2785
2785
  }
2786
- const Fi = (e, t) => {
2786
+ const Li = (e, t) => {
2787
2787
  var n, r;
2788
2788
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((r = e.component.options) != null && r.text) && typeof e.component.options.text == "string")
2789
2789
  return {
@@ -2797,7 +2797,7 @@ const Fi = (e, t) => {
2797
2797
  }))
2798
2798
  };
2799
2799
  };
2800
- function Li(e, ...t) {
2800
+ function Fi(e, ...t) {
2801
2801
  const n = Object.assign({}, e);
2802
2802
  for (const r of t)
2803
2803
  delete n[r];
@@ -2874,7 +2874,7 @@ const zi = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), qi = (e) =
2874
2874
  }
2875
2875
  };
2876
2876
  } else {
2877
- const t = kn(Li(e, "children", "meta"));
2877
+ const t = kn(Fi(e, "children", "meta"));
2878
2878
  return {
2879
2879
  ...t,
2880
2880
  properties: {
@@ -2926,7 +2926,7 @@ function _i({
2926
2926
  }), i = Ki(i, r.locale), i;
2927
2927
  }
2928
2928
  function Wn(e) {
2929
- const t = e || (K() ? window.location.search : void 0);
2929
+ const t = e || (M() ? window.location.search : void 0);
2930
2930
  return t ? qr(t).indexOf("builder.preview=") !== -1 : !1;
2931
2931
  }
2932
2932
  const Ji = (e) => ({
@@ -2943,7 +2943,7 @@ const Pr = {};
2943
2943
  function ec(e, t) {
2944
2944
  e === "plugin" && (t = Vt(t));
2945
2945
  let n = Pr[e];
2946
- if (n || (n = Pr[e] = []), n.push(t), K()) {
2946
+ if (n || (n = Pr[e] = []), n.push(t), M()) {
2947
2947
  const r = {
2948
2948
  type: "builder.register",
2949
2949
  data: {
@@ -2958,9 +2958,19 @@ function ec(e, t) {
2958
2958
  }
2959
2959
  }
2960
2960
  }
2961
- const Or = {};
2962
2961
  function tc(e) {
2963
- if (K()) {
2962
+ var t;
2963
+ if (M()) {
2964
+ const n = JSON.parse(JSON.stringify(e));
2965
+ e.action && (n.action = e.action.toString()), (t = window.parent) == null || t.postMessage({
2966
+ type: "builder.registerAction",
2967
+ data: n
2968
+ }, "*");
2969
+ }
2970
+ }
2971
+ const Or = {};
2972
+ function nc(e) {
2973
+ if (M()) {
2964
2974
  Object.assign(Or, e);
2965
2975
  const t = {
2966
2976
  type: "builder.settingsChange",
@@ -2980,11 +2990,11 @@ const Nr = "builder.", Yi = "options.", no = (e) => {
2980
2990
  }
2981
2991
  }), n;
2982
2992
  }, Qi = () => {
2983
- if (!K())
2993
+ if (!M())
2984
2994
  return {};
2985
2995
  const e = new URLSearchParams(window.location.search);
2986
2996
  return no(e);
2987
- }, ro = "4.1.3", oo = () => ({
2997
+ }, ro = "4.2.3", oo = () => ({
2988
2998
  "X-Builder-SDK": G,
2989
2999
  "X-Builder-SDK-GEN": "2",
2990
3000
  "X-Builder-SDK-Version": ro
@@ -2993,7 +3003,7 @@ const Nr = "builder.", Yi = "options.", no = (e) => {
2993
3003
  return e;
2994
3004
  const t = e.split(".");
2995
3005
  return t.length > 2 ? t.slice(1).join(".") : e;
2996
- }, Lt = ({
3006
+ }, Ft = ({
2997
3007
  name: e,
2998
3008
  canTrack: t
2999
3009
  }) => {
@@ -3004,14 +3014,14 @@ const Nr = "builder.", Yi = "options.", no = (e) => {
3004
3014
  ue.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3005
3015
  return;
3006
3016
  }
3007
- }, io = async (e) => Lt(e), es = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Be).join("; "), ts = [["secure", ""], ["SameSite", "None"]], ns = ({
3017
+ }, io = async (e) => Ft(e), es = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Be).join("; "), ts = [["secure", ""], ["SameSite", "None"]], ns = ({
3008
3018
  name: e,
3009
3019
  value: t,
3010
3020
  expires: n
3011
3021
  }) => {
3012
- const o = (K() ? location.protocol === "https:" : !0) ? ts : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Zi(window.location.hostname)], ...o];
3022
+ const o = (M() ? location.protocol === "https:" : !0) ? ts : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Zi(window.location.hostname)], ...o];
3013
3023
  return es(s);
3014
- }, Fn = async ({
3024
+ }, Ln = async ({
3015
3025
  name: e,
3016
3026
  value: t,
3017
3027
  expires: n,
@@ -3060,11 +3070,11 @@ const ao = "builderSessionId", os = async ({
3060
3070
  }, is = () => so(), ss = ({
3061
3071
  id: e,
3062
3072
  canTrack: t
3063
- }) => Fn({
3073
+ }) => Ln({
3064
3074
  name: ao,
3065
3075
  value: e,
3066
3076
  canTrack: t
3067
- }), lo = () => K() && typeof localStorage < "u" ? localStorage : void 0, as = ({
3077
+ }), lo = () => M() && typeof localStorage < "u" ? localStorage : void 0, as = ({
3068
3078
  key: e,
3069
3079
  canTrack: t
3070
3080
  }) => {
@@ -3112,7 +3122,7 @@ const ao = "builderSessionId", os = async ({
3112
3122
  value: e,
3113
3123
  canTrack: t
3114
3124
  });
3115
- function Ln(e) {
3125
+ function Fn(e) {
3116
3126
  var t;
3117
3127
  typeof process < "u" && ((t = process.env) != null && t.DEBUG) && String(process.env.DEBUG) == "true" && ue.log(e);
3118
3128
  }
@@ -3162,10 +3172,10 @@ async function Cn({
3162
3172
  ue.error("Missing API key for track call. Please provide your API key.");
3163
3173
  return;
3164
3174
  }
3165
- if (!t.canTrack || re() || !(K() || G === "reactNative"))
3175
+ if (!t.canTrack || oe() || !(M() || G === "reactNative"))
3166
3176
  return;
3167
3177
  const r = `${e || "https://cdn.builder.io"}/api/v1/track`;
3168
- return Ln(r), fetch(r, {
3178
+ return Fn(r), fetch(r, {
3169
3179
  method: "POST",
3170
3180
  body: JSON.stringify({
3171
3181
  events: [await fs(t)]
@@ -3179,7 +3189,7 @@ async function Cn({
3179
3189
  console.error("Failed to track: ", o);
3180
3190
  });
3181
3191
  }
3182
- const nc = (e) => Cn({
3192
+ const rc = (e) => Cn({
3183
3193
  ...e,
3184
3194
  canTrack: !0
3185
3195
  }), hs = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
@@ -3192,7 +3202,7 @@ function co(e, t) {
3192
3202
  let Br = !1;
3193
3203
  const po = (e) => {
3194
3204
  var t, n;
3195
- Br || (Br = !0, K() && ((t = window.parent) == null || t.postMessage({
3205
+ Br || (Br = !0, M() && ((t = window.parent) == null || t.postMessage({
3196
3206
  type: "builder.sdkInfo",
3197
3207
  data: {
3198
3208
  target: G,
@@ -3222,10 +3232,10 @@ const po = (e) => {
3222
3232
  if (o != null && o.type)
3223
3233
  switch (o.type) {
3224
3234
  case "builder.evaluate": {
3225
- const u = o.data.text, c = o.data.arguments || [], h = o.data.id, v = new Function(u);
3235
+ const u = o.data.text, c = o.data.arguments || [], h = o.data.id, y = new Function(u);
3226
3236
  let b, m = null;
3227
3237
  try {
3228
- b = v.apply(null, c);
3238
+ b = y.apply(null, c);
3229
3239
  } catch (S) {
3230
3240
  m = S;
3231
3241
  }
@@ -3276,23 +3286,23 @@ const po = (e) => {
3276
3286
  break;
3277
3287
  }
3278
3288
  case "builder.resetState": {
3279
- const i = o.data, s = i.model, u = i == null ? void 0 : i.state;
3280
- s === e && u && n.stateUpdate(u);
3289
+ const i = o.data, s = i.model, u = i == null ? void 0 : i.state, c = i.editType;
3290
+ s === e && u && n.stateUpdate(u, c);
3281
3291
  break;
3282
3292
  }
3283
3293
  case "builder.contentUpdate": {
3284
- const i = o.data, s = i.key || i.alias || i.entry || i.modelName, u = i.data;
3285
- s === e && n.contentUpdate(u);
3294
+ const i = o.data, s = i.key || i.alias || i.entry || i.modelName, u = i.data, c = i.editType;
3295
+ s === e && n.contentUpdate(u, c);
3286
3296
  break;
3287
3297
  }
3288
3298
  }
3289
- }, rc = ({
3299
+ }, oc = ({
3290
3300
  model: e,
3291
3301
  apiKey: t,
3292
3302
  callback: n,
3293
3303
  trustedHosts: r
3294
3304
  }) => {
3295
- if (!K)
3305
+ if (!M)
3296
3306
  return ue.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
3297
3307
  };
3298
3308
  po({
@@ -3322,13 +3332,13 @@ const po = (e) => {
3322
3332
  canTrack: !0
3323
3333
  }), ys = ({
3324
3334
  contentId: e
3325
- }) => Lt({
3335
+ }) => Ft({
3326
3336
  name: Mn(e),
3327
3337
  canTrack: !0
3328
3338
  }), vs = ({
3329
3339
  contentId: e,
3330
3340
  value: t
3331
- }) => Fn({
3341
+ }) => Ln({
3332
3342
  name: Mn(e),
3333
3343
  value: t,
3334
3344
  canTrack: !0
@@ -3416,20 +3426,20 @@ function Vr() {
3416
3426
  const t = /* @__PURE__ */ new Set();
3417
3427
  return {
3418
3428
  setUserAttributes(n) {
3419
- if (!K())
3429
+ if (!M())
3420
3430
  return;
3421
3431
  const r = {
3422
3432
  ...this.getUserAttributes(),
3423
3433
  ...n
3424
3434
  };
3425
- Fn({
3435
+ Ln({
3426
3436
  name: jr,
3427
3437
  value: JSON.stringify(r),
3428
3438
  canTrack: e
3429
3439
  }), t.forEach((o) => o(r));
3430
3440
  },
3431
3441
  getUserAttributes() {
3432
- return K() ? JSON.parse(Lt({
3442
+ return M() ? JSON.parse(Ft({
3433
3443
  name: jr,
3434
3444
  canTrack: e
3435
3445
  }) || "{}") : {};
@@ -3447,8 +3457,8 @@ function Vr() {
3447
3457
  };
3448
3458
  }
3449
3459
  let wn;
3450
- K() && G === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Vr()), wn = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : wn = Vr();
3451
- const Dt = wn, oc = (e) => {
3460
+ M() && G === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Vr()), wn = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : wn = Vr();
3461
+ const Dt = wn, ic = (e) => {
3452
3462
  Dt.setUserAttributes(e);
3453
3463
  }, Xe = (e) => {
3454
3464
  const t = Be(e) ? e : !0;
@@ -3464,13 +3474,13 @@ function ws() {
3464
3474
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
3465
3475
  return e;
3466
3476
  }
3467
- const Es = ws();
3468
- function En(e, t = null, n = ".") {
3477
+ const Ts = ws();
3478
+ function Tn(e, t = null, n = ".") {
3469
3479
  return Object.keys(e).reduce((r, o) => {
3470
3480
  const i = e[o], s = [t, o].filter(Boolean).join(n);
3471
3481
  return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
3472
3482
  ...r,
3473
- ...En(i, s, n)
3483
+ ...Tn(i, s, n)
3474
3484
  } : {
3475
3485
  ...r,
3476
3486
  [s]: i
@@ -3484,7 +3494,7 @@ function yo(e, t, n = {}) {
3484
3494
  }
3485
3495
  return n;
3486
3496
  }
3487
- function Ts(e) {
3497
+ function Es(e) {
3488
3498
  const t = {};
3489
3499
  for (const n in e) {
3490
3500
  const r = n.split(".");
@@ -3507,49 +3517,45 @@ const Is = "v3", Dr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Hn = (
3507
3517
  locale: u,
3508
3518
  apiVersion: c = Is,
3509
3519
  fields: h,
3510
- omit: v,
3520
+ omit: y,
3511
3521
  offset: b,
3512
3522
  cacheSeconds: m,
3513
3523
  staleCacheSeconds: S,
3514
3524
  sort: A,
3515
- includeUnpublished: $,
3516
- apiHost: M
3525
+ includeUnpublished: x,
3526
+ apiHost: H
3517
3527
  } = e;
3518
3528
  if (!i)
3519
3529
  throw new Error("Missing API key");
3520
3530
  if (!["v3"].includes(c))
3521
3531
  throw new Error(`Invalid apiVersion: expected 'v3', received '${c}'`);
3522
- const ee = t !== 1, I = M || "https://cdn.builder.io", D = new URL(`${I}/api/${c}/content/${o}`);
3523
- D.searchParams.set("apiKey", i), D.searchParams.set("limit", String(t)), D.searchParams.set("noTraverse", String(ee)), D.searchParams.set("includeRefs", String(!0));
3524
- const oe = u || (n == null ? void 0 : n.locale);
3525
- let de = n || {};
3526
- if (oe && (D.searchParams.set("locale", oe), de = {
3527
- locale: oe,
3528
- ...de
3529
- }), s && D.searchParams.set("enrich", String(s)), D.searchParams.set("omit", v ?? "meta.componentsUsed"), h && D.searchParams.set("fields", h), Number.isFinite(b) && b > -1 && D.searchParams.set("offset", String(Math.floor(b))), typeof $ == "boolean" && D.searchParams.set("includeUnpublished", String($)), m && Dr(m) && D.searchParams.set("cacheSeconds", String(m)), S && Dr(S) && D.searchParams.set("staleCacheSeconds", String(S)), A) {
3530
- const w = En({
3532
+ const te = t !== 1, E = H || "https://cdn.builder.io", D = new URL(`${E}/api/${c}/content/${o}`);
3533
+ D.searchParams.set("apiKey", i), D.searchParams.set("limit", String(t)), D.searchParams.set("noTraverse", String(te)), D.searchParams.set("includeRefs", String(!0)), u && D.searchParams.set("locale", u);
3534
+ let ie = n || {};
3535
+ if (s && D.searchParams.set("enrich", String(s)), D.searchParams.set("omit", y ?? "meta.componentsUsed"), h && D.searchParams.set("fields", h), Number.isFinite(b) && b > -1 && D.searchParams.set("offset", String(Math.floor(b))), typeof x == "boolean" && D.searchParams.set("includeUnpublished", String(x)), m && Dr(m) && D.searchParams.set("cacheSeconds", String(m)), S && Dr(S) && D.searchParams.set("staleCacheSeconds", String(S)), A) {
3536
+ const _ = Tn({
3531
3537
  sort: A
3532
3538
  });
3533
- for (const fe in w)
3534
- D.searchParams.set(fe, JSON.stringify(w[fe]));
3539
+ for (const R in _)
3540
+ D.searchParams.set(R, JSON.stringify(_[R]));
3535
3541
  }
3536
- const H = {
3542
+ const Ae = {
3537
3543
  ...Qi(),
3538
3544
  ...zr(e.options || {})
3539
3545
  };
3540
- de = {
3541
- ...de,
3542
- ...As(H)
3546
+ ie = {
3547
+ ...ie,
3548
+ ...As(Ae)
3543
3549
  };
3544
- const ie = En(H);
3545
- for (const w in ie)
3546
- D.searchParams.set(w, String(ie[w]));
3547
- if (Object.keys(de).length > 0 && D.searchParams.set("userAttributes", JSON.stringify(de)), r) {
3548
- const w = yo({
3550
+ const K = Tn(Ae);
3551
+ for (const _ in K)
3552
+ D.searchParams.set(_, String(K[_]));
3553
+ if (Object.keys(ie).length > 0 && D.searchParams.set("userAttributes", JSON.stringify(ie)), r) {
3554
+ const _ = yo({
3549
3555
  query: r
3550
3556
  });
3551
- for (const fe in w)
3552
- D.searchParams.set(fe, JSON.stringify(w[fe]));
3557
+ for (const R in _)
3558
+ D.searchParams.set(R, JSON.stringify(_[R]));
3553
3559
  }
3554
3560
  return D;
3555
3561
  }, Rs = (e) => {
@@ -3558,25 +3564,31 @@ const Is = "v3", Dr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Hn = (
3558
3564
  n.startsWith("userAttributes.") && (t[n] = e[n], delete e[n]);
3559
3565
  return t;
3560
3566
  }, As = (e) => {
3561
- if (K() && e.preview === "BUILDER_STUDIO") {
3567
+ if (M() && e.preview === "BUILDER_STUDIO") {
3562
3568
  e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
3563
3569
  const t = Rs(e), {
3564
3570
  userAttributes: n
3565
- } = Ts(t);
3571
+ } = Es(t);
3566
3572
  return n;
3567
3573
  }
3568
3574
  return {};
3569
- }, $s = (e) => "results" in e;
3575
+ }, xs = (e) => "results" in e;
3570
3576
  async function Kn(e) {
3571
- const t = await Os({
3577
+ var r;
3578
+ const t = e.locale || ((r = e.userAttributes) == null ? void 0 : r.locale);
3579
+ t && (e.locale = t, e.userAttributes = {
3580
+ locale: t,
3581
+ ...e.userAttributes
3582
+ });
3583
+ const n = await Os({
3572
3584
  ...e,
3573
3585
  limit: 1
3574
3586
  });
3575
- return t && t[0] || null;
3587
+ return n && n[0] || null;
3576
3588
  }
3577
- const xs = async (e) => {
3589
+ const $s = async (e) => {
3578
3590
  var s;
3579
- const t = Hn(e), n = e.fetch ?? Es, r = {
3591
+ const t = Hn(e), n = e.fetch ?? Ts, r = {
3580
3592
  ...e.fetchOptions,
3581
3593
  headers: {
3582
3594
  ...(s = e.fetchOptions) == null ? void 0 : s.headers,
@@ -3586,7 +3598,7 @@ const xs = async (e) => {
3586
3598
  return await (await n(t.href, r)).json();
3587
3599
  }, Ps = async (e, t, n = Hn(e)) => {
3588
3600
  const r = Xe(e.canTrack);
3589
- if (n.search.includes("preview="), !r || !(K() || G === "reactNative"))
3601
+ if (n.search.includes("preview="), !r || !(M() || G === "reactNative"))
3590
3602
  return t.results;
3591
3603
  try {
3592
3604
  const o = [];
@@ -3602,8 +3614,8 @@ const xs = async (e) => {
3602
3614
  return t.results;
3603
3615
  };
3604
3616
  async function Os(e) {
3605
- const t = Hn(e), n = await xs(e);
3606
- if (!$s(n))
3617
+ const t = Hn(e), n = await $s(e);
3618
+ if (!xs(n))
3607
3619
  throw ue.error("Error fetching data. ", {
3608
3620
  url: t,
3609
3621
  content: n,
@@ -3611,7 +3623,7 @@ async function Os(e) {
3611
3623
  }), n;
3612
3624
  return Ps(e, n);
3613
3625
  }
3614
- const ic = async (e) => {
3626
+ const sc = async (e) => {
3615
3627
  var r, o, i;
3616
3628
  const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
3617
3629
  ...e,
@@ -3639,8 +3651,8 @@ function Ns(e, t, n = {}) {
3639
3651
  return function() {
3640
3652
  const h = Date.now();
3641
3653
  !u && n.leading === !1 && (u = h);
3642
- const v = t - (h - u);
3643
- return r = this, o = arguments, v <= 0 || v > t ? (s && (clearTimeout(s), s = null), u = h, i = e.apply(r, o), s || (r = o = null)) : !s && n.trailing !== !1 && (s = setTimeout(c, v)), i;
3654
+ const y = t - (h - u);
3655
+ return r = this, o = arguments, y <= 0 || y > t ? (s && (clearTimeout(s), s = null), u = h, i = e.apply(r, o), s || (r = o = null)) : !s && n.trailing !== !1 && (s = setTimeout(c, y)), i;
3644
3656
  };
3645
3657
  }
3646
3658
  function mt(e, ...t) {
@@ -3713,8 +3725,8 @@ function Vs(e) {
3713
3725
  const s = Ns(i, 200, {
3714
3726
  leading: !1
3715
3727
  });
3716
- function u(v) {
3717
- const b = v.getBoundingClientRect(), m = window.innerHeight, A = (e.thresholdPercent || 0) / 100 * m;
3728
+ function u(y) {
3729
+ const b = y.getBoundingClientRect(), m = window.innerHeight, A = (e.thresholdPercent || 0) / 100 * m;
3718
3730
  return b.bottom > A && b.top < m - A;
3719
3731
  }
3720
3732
  const c = e.steps[0].styles;
@@ -3733,7 +3745,7 @@ const ko = (e) => Object.entries(e).map(([n, r]) => {
3733
3745
  if (typeof r == "string")
3734
3746
  return `${zn(n)}: ${r};`;
3735
3747
  }).filter(Be), Ds = (e) => ko(e).join(`
3736
- `), sc = ({
3748
+ `), ac = ({
3737
3749
  mediaQuery: e,
3738
3750
  className: t,
3739
3751
  styles: n
@@ -3750,7 +3762,7 @@ function Us({
3750
3762
  }) {
3751
3763
  return e;
3752
3764
  }
3753
- const ac = ({
3765
+ const lc = ({
3754
3766
  block: e,
3755
3767
  context: t
3756
3768
  }) => Co(Us({
@@ -3789,7 +3801,7 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3789
3801
  return;
3790
3802
  } else
3791
3803
  return o;
3792
- }, Fs = ({
3804
+ }, Ls = ({
3793
3805
  block: e,
3794
3806
  context: t
3795
3807
  }) => {
@@ -3822,7 +3834,7 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3822
3834
  },
3823
3835
  block: r
3824
3836
  }));
3825
- }, Ls = (e, t) => {
3837
+ }, Fs = (e, t) => {
3826
3838
  var n;
3827
3839
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
3828
3840
  builderLinkComponent: t
@@ -3847,33 +3859,33 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3847
3859
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
3848
3860
  e
3849
3861
  ), e;
3850
- }), Gs = () => import("./block-styles-G42udXTn.js").then((e) => e.default).catch((e) => {
3851
- throw console.error(
3852
- "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
3853
- e
3854
- ), e;
3855
- }), _s = () => import("./block-wrapper-e9t2aTqt.js").then((e) => e.default).catch((e) => {
3862
+ }), Gs = () => import("./block-wrapper-hc1D57Il.js").then((e) => e.default).catch((e) => {
3856
3863
  throw console.error(
3857
3864
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
3858
3865
  e
3859
3866
  ), e;
3860
- }), Js = () => import("./component-ref-slGRIixC.js").then((e) => e.default).catch((e) => {
3867
+ }), _s = () => import("./component-ref-__eNmb_i.js").then((e) => e.default).catch((e) => {
3861
3868
  throw console.error(
3862
3869
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
3863
3870
  e
3864
3871
  ), e;
3865
- }), Xs = () => import("./repeated-block-h1UA5gK0.js").then((e) => e.default).catch((e) => {
3872
+ }), Js = () => import("./repeated-block-i0HNWVX0.js").then((e) => e.default).catch((e) => {
3866
3873
  throw console.error(
3867
3874
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
3868
3875
  e
3869
3876
  ), e;
3877
+ }), Xs = () => import("./style-wrapper-mI3PSijR.js").then((e) => e.default).catch((e) => {
3878
+ throw console.error(
3879
+ "Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
3880
+ e
3881
+ ), e;
3870
3882
  }), Ys = B({
3871
3883
  name: "block",
3872
3884
  components: {
3873
- BlockStyles: st(Gs),
3874
- RepeatedBlock: st(Xs),
3875
- ComponentRef: st(Js),
3876
- BlockWrapper: st(_s),
3885
+ StyleWrapper: st(Xs),
3886
+ RepeatedBlock: st(Js),
3887
+ ComponentRef: st(_s),
3888
+ BlockWrapper: st(Gs),
3877
3889
  DynamicDiv: st(qs)
3878
3890
  },
3879
3891
  props: ["block", "context", "registeredComponents", "linkComponent"],
@@ -3899,7 +3911,7 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3899
3911
  },
3900
3912
  computed: {
3901
3913
  repeatItem() {
3902
- return Fs({
3914
+ return Ls({
3903
3915
  block: this.block,
3904
3916
  context: this.context
3905
3917
  });
@@ -3945,7 +3957,7 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3945
3957
  ...Wi(this.processedBlock, this.context),
3946
3958
  ...Hs(this.blockComponent, this.processedBlock),
3947
3959
  ...Ks(this.blockComponent, this.context),
3948
- ...Ls(this.blockComponent, this.linkComponent),
3960
+ ...Fs(this.blockComponent, this.linkComponent),
3949
3961
  ...Ms(
3950
3962
  this.blockComponent,
3951
3963
  this.registeredComponents,
@@ -3964,20 +3976,21 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3964
3976
  });
3965
3977
  function Qs(e, t, n, r, o, i) {
3966
3978
  var b;
3967
- const s = W("BlockStyles"), u = W("ComponentRef"), c = W("Block", !0), h = W("BlockWrapper"), v = W("RepeatedBlock");
3968
- return e.canShowBlock ? (y(), E(z, { key: 0 }, [
3969
- Z(s, {
3979
+ const s = W("StyleWrapper"), u = W("ComponentRef"), c = W("Block", !0), h = W("BlockWrapper"), y = W("RepeatedBlock");
3980
+ return e.canShowBlock ? (v(), w(z, { key: 0 }, [
3981
+ ee(s, {
3970
3982
  block: e.processedBlock,
3971
- context: e.context
3972
- }, null, 8, ["block", "context"]),
3973
- (b = e.blockComponent) != null && b.noWrap ? (y(), E(z, { key: 1 }, [
3974
- e.repeatItem ? (y(!0), E(z, { key: 1 }, Se(e.repeatItem, (m, S) => (y(), U(v, {
3983
+ context: e.context,
3984
+ id: e.block.id
3985
+ }, null, 8, ["block", "context", "id"]),
3986
+ (b = e.blockComponent) != null && b.noWrap ? (v(), w(z, { key: 1 }, [
3987
+ e.repeatItem ? (v(!0), w(z, { key: 1 }, ve(e.repeatItem, (m, S) => (v(), U(y, {
3975
3988
  key: e.generateKey(S),
3976
3989
  repeatContext: m.context,
3977
3990
  block: m.block,
3978
3991
  registeredComponents: e.registeredComponents,
3979
3992
  linkComponent: e.linkComponent
3980
- }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (y(), U(u, {
3993
+ }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (v(), U(u, {
3981
3994
  key: 0,
3982
3995
  componentRef: e.componentRefProps.componentRef,
3983
3996
  componentOptions: e.componentRefProps.componentOptions,
@@ -3989,21 +4002,21 @@ function Qs(e, t, n, r, o, i) {
3989
4002
  includeBlockProps: e.componentRefProps.includeBlockProps,
3990
4003
  isInteractive: e.componentRefProps.isInteractive
3991
4004
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
3992
- ], 64)) : (y(), E(z, { key: 0 }, [
3993
- e.repeatItem ? (y(!0), E(z, { key: 1 }, Se(e.repeatItem, (m, S) => (y(), U(v, {
4005
+ ], 64)) : (v(), w(z, { key: 0 }, [
4006
+ e.repeatItem ? (v(!0), w(z, { key: 1 }, ve(e.repeatItem, (m, S) => (v(), U(y, {
3994
4007
  key: e.generateKey(S),
3995
4008
  repeatContext: m.context,
3996
4009
  block: m.block,
3997
4010
  registeredComponents: e.registeredComponents,
3998
4011
  linkComponent: e.linkComponent
3999
- }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (y(), U(h, {
4012
+ }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (v(), U(h, {
4000
4013
  key: 0,
4001
4014
  Wrapper: e.Tag,
4002
4015
  block: e.processedBlock,
4003
4016
  context: e.context
4004
4017
  }, {
4005
- default: ve(() => [
4006
- Z(u, {
4018
+ default: me(() => [
4019
+ ee(u, {
4007
4020
  componentRef: e.componentRefProps.componentRef,
4008
4021
  componentOptions: e.componentRefProps.componentOptions,
4009
4022
  blockChildren: e.componentRefProps.blockChildren,
@@ -4014,7 +4027,7 @@ function Qs(e, t, n, r, o, i) {
4014
4027
  includeBlockProps: e.componentRefProps.includeBlockProps,
4015
4028
  isInteractive: e.componentRefProps.isInteractive
4016
4029
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
4017
- (y(!0), E(z, null, Se(e.childrenWithoutParentComponent, (m, S) => (y(), U(c, {
4030
+ (v(!0), w(z, null, ve(e.childrenWithoutParentComponent, (m, S) => (v(), U(c, {
4018
4031
  key: m.id,
4019
4032
  block: m,
4020
4033
  registeredComponents: e.registeredComponents,
@@ -4025,11 +4038,11 @@ function Qs(e, t, n, r, o, i) {
4025
4038
  _: 1
4026
4039
  }, 8, ["Wrapper", "block", "context"]))
4027
4040
  ], 64))
4028
- ], 64)) : L("", !0);
4041
+ ], 64)) : F("", !0);
4029
4042
  }
4030
- const Eo = /* @__PURE__ */ j(Ys, [["render", Qs]]), lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4043
+ const To = /* @__PURE__ */ j(Ys, [["render", Qs]]), uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4031
4044
  __proto__: null,
4032
- default: Eo
4045
+ default: To
4033
4046
  }, Symbol.toStringTag, { value: "Module" })), Zs = B({
4034
4047
  name: "builder-blocks-wrapper",
4035
4048
  props: [
@@ -4074,7 +4087,7 @@ const Eo = /* @__PURE__ */ j(Ys, [["render", Qs]]), lc = /* @__PURE__ */ Object.
4074
4087
  methods: {
4075
4088
  onClick() {
4076
4089
  var e, t;
4077
- re() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
4090
+ oe() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
4078
4091
  {
4079
4092
  type: "builder.clickEmptyBlocks",
4080
4093
  data: {
@@ -4087,7 +4100,7 @@ const Eo = /* @__PURE__ */ j(Ys, [["render", Qs]]), lc = /* @__PURE__ */ Object.
4087
4100
  },
4088
4101
  onMouseEnter() {
4089
4102
  var e, t;
4090
- re() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
4103
+ oe() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
4091
4104
  {
4092
4105
  type: "builder.hoverEmptyBlocks",
4093
4106
  data: {
@@ -4101,9 +4114,9 @@ const Eo = /* @__PURE__ */ j(Ys, [["render", Qs]]), lc = /* @__PURE__ */ Object.
4101
4114
  }
4102
4115
  });
4103
4116
  function ea(e, t, n, r, o, i) {
4104
- return y(), U(dt(e.BlocksWrapper), q({
4117
+ return v(), U(dt(e.BlocksWrapper), q({
4105
4118
  ref: "blocksWrapperRef",
4106
- class: e.className + " component-tqyw9m0iue",
4119
+ class: e.className + " component-5vz8uirn7sc",
4107
4120
  "builder-path": e.dataPath,
4108
4121
  "builder-parent-id": e.parent,
4109
4122
  style: e.styleProp,
@@ -4111,15 +4124,15 @@ function ea(e, t, n, r, o, i) {
4111
4124
  onMouseEnter: (s) => e.onMouseEnter(),
4112
4125
  onKeyPress: (s) => e.onClick()
4113
4126
  }, { ...e.BlocksWrapperProps }), {
4114
- default: ve(() => [
4127
+ default: me(() => [
4115
4128
  pe(e.$slots, "default", {}, void 0, !0)
4116
4129
  ]),
4117
4130
  _: 3
4118
4131
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
4119
4132
  }
4120
- const ta = /* @__PURE__ */ j(Zs, [["render", ea], ["__scopeId", "data-v-161c6b74"]]), na = B({
4133
+ const ta = /* @__PURE__ */ j(Zs, [["render", ea], ["__scopeId", "data-v-82fc93d6"]]), na = B({
4121
4134
  name: "builder-blocks",
4122
- components: { BlocksWrapper: ta, Block: Eo },
4135
+ components: { BlocksWrapper: ta, Block: To },
4123
4136
  props: [
4124
4137
  "blocks",
4125
4138
  "parent",
@@ -4137,29 +4150,29 @@ const ta = /* @__PURE__ */ j(Zs, [["render", ea], ["__scopeId", "data-v-161c6b74
4137
4150
  }
4138
4151
  });
4139
4152
  function ra(e, t, n, r, o, i) {
4140
- var c, h, v, b;
4153
+ var c, h, y, b;
4141
4154
  const s = W("Block"), u = W("BlocksWrapper");
4142
- return y(), U(u, {
4155
+ return v(), U(u, {
4143
4156
  blocks: e.blocks,
4144
4157
  parent: e.parent,
4145
4158
  path: e.path,
4146
4159
  styleProp: e.styleProp,
4147
4160
  BlocksWrapperProps: e.BlocksWrapperProps || ((c = e.context) == null ? void 0 : c.BlocksWrapperProps) || ((h = e.builderContext) == null ? void 0 : h.BlocksWrapperProps),
4148
4161
  classNameProp: e.className,
4149
- BlocksWrapper: ((v = e.context) == null ? void 0 : v.BlocksWrapper) || ((b = e.builderContext) == null ? void 0 : b.BlocksWrapper)
4162
+ BlocksWrapper: ((y = e.context) == null ? void 0 : y.BlocksWrapper) || ((b = e.builderContext) == null ? void 0 : b.BlocksWrapper)
4150
4163
  }, {
4151
- default: ve(() => [
4164
+ default: me(() => [
4152
4165
  pe(e.$slots, "default"),
4153
- e.blocks ? (y(!0), E(z, { key: 0 }, Se(e.blocks, (m, S) => {
4166
+ e.blocks ? (v(!0), w(z, { key: 0 }, ve(e.blocks, (m, S) => {
4154
4167
  var A;
4155
- return y(), U(s, {
4168
+ return v(), U(s, {
4156
4169
  key: m.id,
4157
4170
  block: m,
4158
4171
  linkComponent: e.linkComponent,
4159
4172
  context: e.context || e.builderContext,
4160
4173
  registeredComponents: e.registeredComponents || ((A = e.componentsContext) == null ? void 0 : A.registeredComponents)
4161
4174
  }, null, 8, ["block", "linkComponent", "context", "registeredComponents"]);
4162
- }), 128)) : L("", !0)
4175
+ }), 128)) : F("", !0)
4163
4176
  ]),
4164
4177
  _: 3
4165
4178
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
@@ -4169,7 +4182,7 @@ const Ue = /* @__PURE__ */ j(na, [["render", ra]]), oa = B({
4169
4182
  props: []
4170
4183
  });
4171
4184
  function ia(e, t, n, r, o, i) {
4172
- return y(), E("div", null, [
4185
+ return v(), w("div", null, [
4173
4186
  pe(e.$slots, "default")
4174
4187
  ]);
4175
4188
  }
@@ -4186,7 +4199,7 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4186
4199
  },
4187
4200
  name: "inlined-styles",
4188
4201
  props: ["styles", "id", "nonce"]
4189
- }), To = {
4202
+ }), Eo = {
4190
4203
  xsmall: {
4191
4204
  min: 0,
4192
4205
  default: 160,
@@ -4207,8 +4220,8 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4207
4220
  default: 991,
4208
4221
  max: 1200
4209
4222
  }
4210
- }, uc = (e, t = To) => `@media (max-width: ${t[e].max}px)`, aa = (e) => {
4211
- const t = Un(To);
4223
+ }, cc = (e, t = Eo) => `@media (max-width: ${t[e].max}px)`, aa = (e) => {
4224
+ const t = Un(Eo);
4212
4225
  if (!e)
4213
4226
  return t;
4214
4227
  const {
@@ -4249,7 +4262,7 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4249
4262
  name: "builder-columns",
4250
4263
  components: {
4251
4264
  InlinedStyles: Mt,
4252
- DynamicRenderer: Tn,
4265
+ DynamicRenderer: En,
4253
4266
  Blocks: Ue,
4254
4267
  DynamicDiv: Ct
4255
4268
  },
@@ -4380,7 +4393,7 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4380
4393
  ...e.link ? {
4381
4394
  href: e.link
4382
4395
  } : {},
4383
- [Ge()]: "builder-column",
4396
+ [Oe()]: "builder-column",
4384
4397
  style: Co(this.columnCssVars(t))
4385
4398
  };
4386
4399
  }
@@ -4389,30 +4402,30 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4389
4402
  function ca(e, t, n, r, o, i) {
4390
4403
  var h;
4391
4404
  const s = W("InlinedStyles"), u = W("Blocks"), c = W("DynamicRenderer");
4392
- return y(), E("div", q({
4393
- class: e.getColumnsClass((h = e.builderBlock) == null ? void 0 : h.id) + " div-4wbls88y960",
4405
+ return v(), w("div", q({
4406
+ class: e.getColumnsClass((h = e.builderBlock) == null ? void 0 : h.id) + " div-1be3j8m9ewb",
4394
4407
  style: e.columnsCssVars()
4395
4408
  }, {}), [
4396
- e.TARGET !== "reactNative" ? (y(), U(s, {
4409
+ e.TARGET !== "reactNative" ? (v(), U(s, {
4397
4410
  key: 0,
4398
4411
  id: "builderio-columns",
4399
4412
  styles: e.columnsStyles(),
4400
4413
  nonce: e.builderContext.nonce
4401
- }, null, 8, ["styles", "nonce"])) : L("", !0),
4402
- (y(!0), E(z, null, Se(e.columns, (v, b) => (y(), U(c, {
4414
+ }, null, 8, ["styles", "nonce"])) : F("", !0),
4415
+ (v(!0), w(z, null, ve(e.columns, (y, b) => (v(), U(c, {
4403
4416
  key: b,
4404
- TagName: e.getTagName(v),
4417
+ TagName: e.getTagName(y),
4405
4418
  actionAttributes: {},
4406
- attributes: e.getAttributes(v, b)
4419
+ attributes: e.getAttributes(y, b)
4407
4420
  }, {
4408
- default: ve(() => [
4409
- Z(u, {
4421
+ default: me(() => [
4422
+ ee(u, {
4410
4423
  path: `columns.${b}.blocks`,
4411
4424
  parent: e.builderBlock.id,
4412
4425
  context: e.builderContext,
4413
4426
  registeredComponents: e.builderComponents,
4414
4427
  linkComponent: e.builderLinkComponent,
4415
- blocks: v.blocks,
4428
+ blocks: y.blocks,
4416
4429
  styleProp: {
4417
4430
  flexGrow: "1"
4418
4431
  }
@@ -4422,12 +4435,12 @@ function ca(e, t, n, r, o, i) {
4422
4435
  }, 1032, ["TagName", "attributes"]))), 128))
4423
4436
  ], 16);
4424
4437
  }
4425
- const pa = /* @__PURE__ */ j(ua, [["render", ca], ["__scopeId", "data-v-459e0e34"]]), da = B({
4438
+ const pa = /* @__PURE__ */ j(ua, [["render", ca], ["__scopeId", "data-v-ab15749a"]]), da = B({
4426
4439
  name: "builder-fragment-component",
4427
4440
  props: []
4428
4441
  });
4429
4442
  function fa(e, t, n, r, o, i) {
4430
- return y(), E("span", null, [
4443
+ return v(), w("span", null, [
4431
4444
  pe(e.$slots, "default")
4432
4445
  ]);
4433
4446
  }
@@ -4515,58 +4528,58 @@ const ya = B({
4515
4528
  }
4516
4529
  }), va = ["srcset"], ba = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Sa = {
4517
4530
  key: 2,
4518
- class: "div-29wpyomtntv-2"
4531
+ class: "div-t43jfuqn6g-2"
4519
4532
  };
4520
4533
  function ka(e, t, n, r, o, i) {
4521
- var s, u, c, h, v, b;
4522
- return y(), E(z, null, [
4523
- qe("picture", null, [
4524
- e.webpSrcSet ? (y(), E("source", {
4534
+ var s, u, c, h, y, b;
4535
+ return v(), w(z, null, [
4536
+ Ge("picture", null, [
4537
+ e.webpSrcSet ? (v(), w("source", {
4525
4538
  key: 0,
4526
4539
  type: "image/webp",
4527
4540
  srcset: e.webpSrcSet
4528
- }, null, 8, va)) : L("", !0),
4529
- qe("img", {
4541
+ }, null, 8, va)) : F("", !0),
4542
+ Ge("img", {
4530
4543
  loading: e.highPriority ? "eager" : "lazy",
4531
4544
  fetchpriority: e.highPriority ? "high" : "auto",
4532
4545
  alt: e.altText,
4533
4546
  title: e.title,
4534
4547
  role: e.altText ? void 0 : "presentation",
4535
- style: Oe({
4548
+ style: Pe({
4536
4549
  objectPosition: e.backgroundPosition || "center",
4537
4550
  objectFit: e.backgroundSize || "cover",
4538
4551
  ...e.aspectRatioCss
4539
4552
  }),
4540
4553
  class: gt(
4541
- "builder-image" + (e.className ? " " + e.className : "") + " img-29wpyomtntv"
4554
+ "builder-image" + (e.className ? " " + e.className : "") + " img-t43jfuqn6g"
4542
4555
  ),
4543
4556
  src: e.image,
4544
4557
  srcset: e.srcSetToUse,
4545
4558
  sizes: e.sizes
4546
4559
  }, null, 14, ba)
4547
4560
  ]),
4548
- e.aspectRatio && !((u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent) ? (y(), E("div", {
4561
+ e.aspectRatio && !((u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent) ? (v(), w("div", {
4549
4562
  key: 0,
4550
- class: "builder-image-sizer div-29wpyomtntv",
4551
- style: Oe({
4563
+ class: "builder-image-sizer div-t43jfuqn6g",
4564
+ style: Pe({
4552
4565
  paddingTop: e.aspectRatio * 100 + "%"
4553
4566
  })
4554
- }, null, 4)) : L("", !0),
4555
- (h = (c = e.builderBlock) == null ? void 0 : c.children) != null && h.length && e.fitContent ? pe(e.$slots, "default", { key: 1 }, void 0, !0) : L("", !0),
4556
- !e.fitContent && ((b = (v = e.builderBlock) == null ? void 0 : v.children) != null && b.length) ? (y(), E("div", Sa, [
4567
+ }, null, 4)) : F("", !0),
4568
+ (h = (c = e.builderBlock) == null ? void 0 : c.children) != null && h.length && e.fitContent ? pe(e.$slots, "default", { key: 1 }, void 0, !0) : F("", !0),
4569
+ !e.fitContent && ((b = (y = e.builderBlock) == null ? void 0 : y.children) != null && b.length) ? (v(), w("div", Sa, [
4557
4570
  pe(e.$slots, "default", {}, void 0, !0)
4558
- ])) : L("", !0)
4571
+ ])) : F("", !0)
4559
4572
  ], 64);
4560
4573
  }
4561
- const Ca = /* @__PURE__ */ j(ya, [["render", ka], ["__scopeId", "data-v-e6416c92"]]), wa = B({
4574
+ const Ca = /* @__PURE__ */ j(ya, [["render", ka], ["__scopeId", "data-v-741b9bbc"]]), wa = B({
4562
4575
  name: "builder-section-component",
4563
4576
  props: ["attributes", "maxWidth"],
4564
4577
  data() {
4565
- return { filterAttrs: me };
4578
+ return { filterAttrs: de };
4566
4579
  }
4567
4580
  });
4568
- function Ea(e, t, n, r, o, i) {
4569
- return y(), E("section", q({
4581
+ function Ta(e, t, n, r, o, i) {
4582
+ return v(), w("section", q({
4570
4583
  style: {
4571
4584
  width: "100%",
4572
4585
  alignSelf: "stretch",
@@ -4583,7 +4596,7 @@ function Ea(e, t, n, r, o, i) {
4583
4596
  pe(e.$slots, "default")
4584
4597
  ], 16);
4585
4598
  }
4586
- const Ta = /* @__PURE__ */ j(wa, [["render", Ea]]);
4599
+ const Ea = /* @__PURE__ */ j(wa, [["render", Ta]]);
4587
4600
  function Ia(e, t, n, r) {
4588
4601
  function o(h) {
4589
4602
  return typeof h == "string";
@@ -4591,44 +4604,44 @@ function Ia(e, t, n, r) {
4591
4604
  function i(h) {
4592
4605
  return typeof h == "number";
4593
4606
  }
4594
- function s(h, v) {
4607
+ function s(h, y) {
4595
4608
  return (() => {
4596
- const m = v.property, S = v.operator;
4597
- let A = v.value;
4598
- if (v && v.property === "urlPath" && v.value && typeof v.value == "string" && v.value !== "/" && v.value.endsWith("/") && (A = v.value.slice(0, -1)), !(m && S))
4609
+ const m = y.property, S = y.operator;
4610
+ let A = y.value;
4611
+ if (y && y.property === "urlPath" && y.value && typeof y.value == "string" && y.value !== "/" && y.value.endsWith("/") && (A = y.value.slice(0, -1)), !(m && S))
4599
4612
  return !0;
4600
4613
  if (Array.isArray(A))
4601
- return S === "isNot" ? A.every((M) => s(h, {
4614
+ return S === "isNot" ? A.every((H) => s(h, {
4602
4615
  property: m,
4603
4616
  operator: S,
4604
- value: M
4605
- })) : !!A.find((M) => s(h, {
4617
+ value: H
4618
+ })) : !!A.find((H) => s(h, {
4606
4619
  property: m,
4607
4620
  operator: S,
4608
- value: M
4621
+ value: H
4609
4622
  }));
4610
- const $ = h[m];
4611
- if (Array.isArray($))
4612
- return $.includes(A);
4623
+ const x = h[m];
4624
+ if (Array.isArray(x))
4625
+ return x.includes(A);
4613
4626
  switch (S) {
4614
4627
  case "is":
4615
- return $ === A;
4628
+ return x === A;
4616
4629
  case "isNot":
4617
- return $ !== A;
4630
+ return x !== A;
4618
4631
  case "contains":
4619
- return (o($) || Array.isArray($)) && $.includes(String(A));
4632
+ return (o(x) || Array.isArray(x)) && x.includes(String(A));
4620
4633
  case "startsWith":
4621
- return o($) && $.startsWith(String(A));
4634
+ return o(x) && x.startsWith(String(A));
4622
4635
  case "endsWith":
4623
- return o($) && $.endsWith(String(A));
4636
+ return o(x) && x.endsWith(String(A));
4624
4637
  case "greaterThan":
4625
- return i($) && i(A) && $ > A;
4638
+ return i(x) && i(A) && x > A;
4626
4639
  case "lessThan":
4627
- return i($) && i(A) && $ < A;
4640
+ return i(x) && i(A) && x < A;
4628
4641
  case "greaterThanOrEqualTo":
4629
- return i($) && i(A) && $ >= A;
4642
+ return i(x) && i(A) && x >= A;
4630
4643
  case "lessThanOrEqualTo":
4631
- return i($) && i(A) && $ <= A;
4644
+ return i(x) && i(A) && x <= A;
4632
4645
  default:
4633
4646
  return !1;
4634
4647
  }
@@ -4764,7 +4777,7 @@ const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
4764
4777
  return item.query.every(filter => {
4765
4778
  return objectMatchesQuery(userAttributes, filter);
4766
4779
  });
4767
- }`, $a = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
4780
+ }`, xa = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
4768
4781
  function getCookie(name) {
4769
4782
  const nameEQ = name + '=';
4770
4783
  const ca = document.cookie.split(';');
@@ -4802,9 +4815,9 @@ const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
4802
4815
  visibilityStylesEl.innerHTML = newStyleStr;
4803
4816
  }
4804
4817
  }
4805
- }`, Nt = "default", xa = "filterWithCustomTargeting", Io = "builderIoPersonalization", Ro = "updateVisibilityStylesScript", Ao = ["react", "vue", "svelte", "qwik"], $o = ["vue", "svelte", "qwik"];
4818
+ }`, Nt = "default", $a = "filterWithCustomTargeting", Io = "builderIoPersonalization", Ro = "updateVisibilityStylesScript", Ao = ["react", "vue", "svelte", "qwik"], xo = ["vue", "svelte", "qwik"];
4806
4819
  function Pa(e, t) {
4807
- return !(e && e.length > 0) || !t ? !1 : $o.includes(G) ? !0 : !K();
4820
+ return !(e && e.length > 0) || !t ? !1 : xo.includes(G) ? !0 : !M();
4808
4821
  }
4809
4822
  function Oa({
4810
4823
  variants: e,
@@ -4818,7 +4831,7 @@ function Oa({
4818
4831
  path: "this.children",
4819
4832
  index: Nt
4820
4833
  };
4821
- if (n && re()) {
4834
+ if (n && oe()) {
4822
4835
  if (typeof t == "number" && t < ((e == null ? void 0 : e.length) ?? 0)) {
4823
4836
  const s = e == null ? void 0 : e[t];
4824
4837
  if (s)
@@ -4830,7 +4843,7 @@ function Oa({
4830
4843
  }
4831
4844
  return i;
4832
4845
  }
4833
- if (K()) {
4846
+ if (M()) {
4834
4847
  const s = r == null ? void 0 : r[0];
4835
4848
  if (s && e) {
4836
4849
  const u = e.indexOf(s);
@@ -4845,10 +4858,10 @@ function Oa({
4845
4858
  return i;
4846
4859
  }
4847
4860
  const Na = () => `
4848
- window.${xa} = ${Aa}
4861
+ window.${$a} = ${Aa}
4849
4862
  window.${Io} = ${Ra}
4850
- window.${Ro} = ${$a}
4851
- `, xo = G === "react", Ba = (e, t, n) => `window.${Io}(${JSON.stringify(e)}, "${t}", ${xo}${n ? `, "${n}"` : ""})`, ja = (e, t, n) => `window.${Ro}(${JSON.stringify(e)}, "${t}", ${xo}${n ? `, "${n}"` : ""})`, fn = {
4863
+ window.${Ro} = ${xa}
4864
+ `, $o = G === "react", Ba = (e, t, n) => `window.${Io}(${JSON.stringify(e)}, "${t}", ${$o}${n ? `, "${n}"` : ""})`, ja = (e, t, n) => `window.${Ro}(${JSON.stringify(e)}, "${t}", ${$o}${n ? `, "${n}"` : ""})`, fn = {
4852
4865
  "@type": "@builder.io/sdk:Element",
4853
4866
  layerName: "Accordion item title",
4854
4867
  responsiveStyles: {
@@ -5068,16 +5081,16 @@ const Na = () => `
5068
5081
  }
5069
5082
  }
5070
5083
  }), Wa = ["data-index", "onClick"];
5071
- function Fa(e, t, n, r, o, i) {
5084
+ function La(e, t, n, r, o, i) {
5072
5085
  const s = W("Blocks");
5073
- return y(), E("div", {
5086
+ return v(), w("div", {
5074
5087
  class: "builder-accordion",
5075
- style: Oe(e.accordionStyles)
5088
+ style: Pe(e.accordionStyles)
5076
5089
  }, [
5077
- (y(!0), E(z, null, Se(e.items, (u, c) => (y(), E(z, { key: c }, [
5078
- qe("div", {
5090
+ (v(!0), w(z, null, ve(e.items, (u, c) => (v(), w(z, { key: c }, [
5091
+ Ge("div", {
5079
5092
  class: gt(e.getAccordionTitleClassName(c)),
5080
- style: Oe({
5093
+ style: Pe({
5081
5094
  ...e.accordionTitleStyles,
5082
5095
  ...e.grid && {
5083
5096
  width: e.gridRowWidth,
@@ -5087,7 +5100,7 @@ function Fa(e, t, n, r, o, i) {
5087
5100
  "data-index": c,
5088
5101
  onClick: async (h) => e.onClick(c)
5089
5102
  }, [
5090
- Z(s, {
5103
+ ee(s, {
5091
5104
  blocks: u.title,
5092
5105
  path: `items.${c}.title`,
5093
5106
  parent: e.builderBlock.id,
@@ -5096,12 +5109,12 @@ function Fa(e, t, n, r, o, i) {
5096
5109
  linkComponent: e.builderLinkComponent
5097
5110
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
5098
5111
  ], 14, Wa),
5099
- e.open.includes(c) ? (y(), E("div", {
5112
+ e.open.includes(c) ? (v(), w("div", {
5100
5113
  key: 0,
5101
5114
  class: gt(e.getAccordionDetailClassName(c)),
5102
- style: Oe(e.accordionDetailStyles)
5115
+ style: Pe(e.accordionDetailStyles)
5103
5116
  }, [
5104
- Z(s, {
5117
+ ee(s, {
5105
5118
  blocks: u.detail,
5106
5119
  path: `items.${c}.detail`,
5107
5120
  parent: e.builderBlock.id,
@@ -5109,11 +5122,11 @@ function Fa(e, t, n, r, o, i) {
5109
5122
  registeredComponents: e.builderComponents,
5110
5123
  linkComponent: e.builderLinkComponent
5111
5124
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
5112
- ], 6)) : L("", !0)
5125
+ ], 6)) : F("", !0)
5113
5126
  ], 64))), 128))
5114
5127
  ], 4);
5115
5128
  }
5116
- const La = /* @__PURE__ */ j(Ua, [["render", Fa]]), Ma = {
5129
+ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5117
5130
  name: "Core:Button",
5118
5131
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
5119
5132
  defaultStyles: {
@@ -5384,13 +5397,13 @@ const La = /* @__PURE__ */ j(Ua, [["render", Fa]]), Ma = {
5384
5397
  e.delete("srcset"), e.delete("noWebp");
5385
5398
  function n(s, u = 6e4) {
5386
5399
  return new Promise((c, h) => {
5387
- const v = document.createElement("img");
5400
+ const y = document.createElement("img");
5388
5401
  let b = !1;
5389
- v.onload = () => {
5390
- b = !0, c(v);
5391
- }, v.addEventListener("error", (m) => {
5402
+ y.onload = () => {
5403
+ b = !0, c(y);
5404
+ }, y.addEventListener("error", (m) => {
5392
5405
  console.warn("Image load failed", m.error), h(m.error);
5393
- }), v.src = s, setTimeout(() => {
5406
+ }), y.src = s, setTimeout(() => {
5394
5407
  b || h(new Error("Image load timed out"));
5395
5408
  }, u);
5396
5409
  });
@@ -5557,7 +5570,7 @@ const La = /* @__PURE__ */ j(Ua, [["render", Fa]]), Ma = {
5557
5570
  shouldResetVariants: !1,
5558
5571
  TARGET: G,
5559
5572
  DEFAULT_INDEX: Nt,
5560
- SDKS_REQUIRING_RESET_APPROACH: $o
5573
+ SDKS_REQUIRING_RESET_APPROACH: xo
5561
5574
  };
5562
5575
  },
5563
5576
  mounted() {
@@ -5571,7 +5584,7 @@ const La = /* @__PURE__ */ j(Ua, [["render", Fa]]), Ma = {
5571
5584
  fireImmediately: G === "qwik"
5572
5585
  }
5573
5586
  );
5574
- if (!(re() || Wn())) {
5587
+ if (!(oe() || Wn())) {
5575
5588
  const n = this.filteredVariants[0];
5576
5589
  this.$refs.rootRef && (this.$refs.rootRef.dispatchEvent(
5577
5590
  new CustomEvent("builder.variantLoaded", {
@@ -5604,9 +5617,9 @@ const La = /* @__PURE__ */ j(Ua, [["render", Fa]]), Ma = {
5604
5617
  computed: {
5605
5618
  attrs() {
5606
5619
  return {
5607
- ...me(this.attributes, "v-on:", !1),
5608
- ...me(this.attributes, "v-on:", !0),
5609
- [Ge()]: `builder-personalization-container ${this.attributes[Ge()] || ""}`
5620
+ ...de(this.attributes, "v-on:", !1),
5621
+ ...de(this.attributes, "v-on:", !0),
5622
+ [Oe()]: `builder-personalization-container ${this.attributes[Oe()] || ""}`
5610
5623
  };
5611
5624
  },
5612
5625
  filteredVariants() {
@@ -5646,10 +5659,10 @@ const La = /* @__PURE__ */ j(Ua, [["render", Fa]]), Ma = {
5646
5659
  }
5647
5660
  });
5648
5661
  function Ja(e, t, n, r, o, i) {
5649
- var h, v, b, m, S, A, $, M, ee, I;
5662
+ var h, y, b, m, S, A, x, H, te, E;
5650
5663
  const s = W("Blocks"), u = W("InlinedStyles"), c = W("InlinedScript");
5651
- return y(), E("div", q({ ref: "rootRef" }, e.attrs), [
5652
- e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (y(), U(s, {
5664
+ return v(), w("div", q({ ref: "rootRef" }, e.attrs), [
5665
+ e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (v(), U(s, {
5653
5666
  key: 0,
5654
5667
  blocks: e.blocksToRender.blocks,
5655
5668
  parent: (h = e.builderBlock) == null ? void 0 : h.id,
@@ -5657,77 +5670,77 @@ function Ja(e, t, n, r, o, i) {
5657
5670
  context: e.builderContext,
5658
5671
  registeredComponents: e.builderComponents,
5659
5672
  BlocksWrapperProps: {
5660
- ...(v = e.builderContext) == null ? void 0 : v.BlocksWrapperProps,
5673
+ ...(y = e.builderContext) == null ? void 0 : y.BlocksWrapperProps,
5661
5674
  "data-variant-id": `${(b = e.builderBlock) == null ? void 0 : b.id}-${e.blocksToRender.index}`
5662
5675
  }
5663
- }, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) : L("", !0),
5664
- !e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (y(), E(z, { key: 1 }, [
5665
- e.shouldRenderVariants ? (y(), E(z, { key: 0 }, [
5666
- Z(u, {
5676
+ }, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) : F("", !0),
5677
+ !e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (v(), w(z, { key: 1 }, [
5678
+ e.shouldRenderVariants ? (v(), w(z, { key: 0 }, [
5679
+ ee(u, {
5667
5680
  nonce: ((m = e.builderContext) == null ? void 0 : m.nonce) || "",
5668
5681
  styles: e.hideVariantsStyleString,
5669
5682
  id: `variants-styles-${(S = e.builderBlock) == null ? void 0 : S.id}`
5670
5683
  }, null, 8, ["nonce", "styles", "id"]),
5671
- Z(c, {
5684
+ ee(c, {
5672
5685
  nonce: ((A = e.builderContext) == null ? void 0 : A.nonce) || "",
5673
5686
  scriptStr: e.updateVisibilityStylesScript,
5674
- id: `variants-visibility-script-${($ = e.builderBlock) == null ? void 0 : $.id}`
5687
+ id: `variants-visibility-script-${(x = e.builderBlock) == null ? void 0 : x.id}`
5675
5688
  }, null, 8, ["nonce", "scriptStr", "id"]),
5676
- (y(!0), E(z, null, Se(e.variants, (D, oe) => {
5677
- var de, H, ie, w;
5678
- return y(), U(s, {
5679
- key: `${(de = e.builderBlock) == null ? void 0 : de.id}-${oe}`,
5689
+ (v(!0), w(z, null, ve(e.variants, (D, ie) => {
5690
+ var Ae, K, _, R;
5691
+ return v(), U(s, {
5692
+ key: `${(Ae = e.builderBlock) == null ? void 0 : Ae.id}-${ie}`,
5680
5693
  BlocksWrapperProps: {
5681
- ...(H = e.builderContext) == null ? void 0 : H.BlocksWrapperProps,
5694
+ ...(K = e.builderContext) == null ? void 0 : K.BlocksWrapperProps,
5682
5695
  "aria-hidden": !0,
5683
5696
  hidden: !0,
5684
- "data-variant-id": `${(ie = e.builderBlock) == null ? void 0 : ie.id}-${oe}`
5697
+ "data-variant-id": `${(_ = e.builderBlock) == null ? void 0 : _.id}-${ie}`
5685
5698
  },
5686
5699
  blocks: D.blocks,
5687
- parent: (w = e.builderBlock) == null ? void 0 : w.id,
5688
- path: `component.options.variants.${oe}.blocks`,
5700
+ parent: (R = e.builderBlock) == null ? void 0 : R.id,
5701
+ path: `component.options.variants.${ie}.blocks`,
5689
5702
  context: e.builderContext,
5690
5703
  registeredComponents: e.builderComponents
5691
5704
  }, {
5692
- default: ve(() => {
5693
- var fe, F;
5705
+ default: me(() => {
5706
+ var We, L;
5694
5707
  return [
5695
- Z(c, {
5696
- nonce: ((fe = e.builderContext) == null ? void 0 : fe.nonce) || "",
5708
+ ee(c, {
5709
+ nonce: ((We = e.builderContext) == null ? void 0 : We.nonce) || "",
5697
5710
  scriptStr: e.scriptStr,
5698
- id: `variants-script-${(F = e.builderBlock) == null ? void 0 : F.id}-${oe}`
5711
+ id: `variants-script-${(L = e.builderBlock) == null ? void 0 : L.id}-${ie}`
5699
5712
  }, null, 8, ["nonce", "scriptStr", "id"])
5700
5713
  ];
5701
5714
  }),
5702
5715
  _: 2
5703
5716
  }, 1032, ["BlocksWrapperProps", "blocks", "parent", "path", "context", "registeredComponents"]);
5704
5717
  }), 128))
5705
- ], 64)) : L("", !0),
5706
- Z(s, {
5718
+ ], 64)) : F("", !0),
5719
+ ee(s, {
5707
5720
  blocks: e.blocksToRender.blocks,
5708
- parent: (M = e.builderBlock) == null ? void 0 : M.id,
5721
+ parent: (H = e.builderBlock) == null ? void 0 : H.id,
5709
5722
  path: e.blocksToRender.path,
5710
5723
  context: e.builderContext,
5711
5724
  registeredComponents: e.builderComponents,
5712
5725
  BlocksWrapperProps: {
5713
- ...(ee = e.builderContext) == null ? void 0 : ee.BlocksWrapperProps,
5714
- "data-variant-id": `${(I = e.builderBlock) == null ? void 0 : I.id}-${e.blocksToRender.index}`
5726
+ ...(te = e.builderContext) == null ? void 0 : te.BlocksWrapperProps,
5727
+ "data-variant-id": `${(E = e.builderBlock) == null ? void 0 : E.id}-${e.blocksToRender.index}`
5715
5728
  }
5716
5729
  }, {
5717
- default: ve(() => {
5718
- var D, oe;
5730
+ default: me(() => {
5731
+ var D, ie;
5719
5732
  return [
5720
- e.shouldRenderVariants ? (y(), U(c, {
5733
+ e.shouldRenderVariants ? (v(), U(c, {
5721
5734
  key: 0,
5722
5735
  nonce: ((D = e.builderContext) == null ? void 0 : D.nonce) || "",
5723
5736
  scriptStr: e.scriptStr,
5724
- id: `variants-script-${(oe = e.builderBlock) == null ? void 0 : oe.id}-${e.DEFAULT_INDEX}`
5725
- }, null, 8, ["nonce", "scriptStr", "id"])) : L("", !0)
5737
+ id: `variants-script-${(ie = e.builderBlock) == null ? void 0 : ie.id}-${e.DEFAULT_INDEX}`
5738
+ }, null, 8, ["nonce", "scriptStr", "id"])) : F("", !0)
5726
5739
  ];
5727
5740
  }),
5728
5741
  _: 1
5729
5742
  }, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])
5730
- ], 64)) : L("", !0)
5743
+ ], 64)) : F("", !0)
5731
5744
  ], 16);
5732
5745
  }
5733
5746
  const Xa = /* @__PURE__ */ j(_a, [["render", Ja]]), Ya = {
@@ -5794,7 +5807,7 @@ const Xa = /* @__PURE__ */ j(_a, [["render", Ja]]), Ya = {
5794
5807
  function el(e, t, n, r, o, i) {
5795
5808
  var u, c, h;
5796
5809
  const s = W("Blocks");
5797
- return y(), E("div", q(
5810
+ return v(), w("div", q(
5798
5811
  { style: {
5799
5812
  pointerEvents: "auto"
5800
5813
  } },
@@ -5802,7 +5815,7 @@ function el(e, t, n, r, o, i) {
5802
5815
  "builder-slot": e.name
5803
5816
  }
5804
5817
  ), [
5805
- Z(s, {
5818
+ ee(s, {
5806
5819
  parent: (c = e.builderContext.context) == null ? void 0 : c.symbolId,
5807
5820
  path: `symbol.data.${e.name}`,
5808
5821
  context: e.builderContext,
@@ -5997,9 +6010,9 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
5997
6010
  props: [
5998
6011
  "defaultActiveTab",
5999
6012
  "tabs",
6013
+ "activeTabStyle",
6000
6014
  "collapsible",
6001
6015
  "tabHeaderLayout",
6002
- "activeTabStyle",
6003
6016
  "builderBlock",
6004
6017
  "builderContext",
6005
6018
  "builderComponents",
@@ -6012,6 +6025,9 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
6012
6025
  activeTabContent(e) {
6013
6026
  return this.tabs && this.tabs[e].content;
6014
6027
  },
6028
+ getTabStyle(e) {
6029
+ return e === this.activeTab ? this.activeTabStyle : {};
6030
+ },
6015
6031
  onClick(e) {
6016
6032
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
6017
6033
  }
@@ -6019,25 +6035,23 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
6019
6035
  }), il = ["onClick"], sl = { key: 0 };
6020
6036
  function al(e, t, n, r, o, i) {
6021
6037
  const s = W("Blocks");
6022
- return y(), E("div", null, [
6023
- qe("div", {
6038
+ return v(), w("div", null, [
6039
+ Ge("div", {
6024
6040
  class: "builder-tabs-wrap",
6025
- style: Oe({
6041
+ style: Pe({
6026
6042
  display: "flex",
6027
6043
  flexDirection: "row",
6028
6044
  justifyContent: e.tabHeaderLayout || "flex-start",
6029
6045
  overflow: "auto"
6030
6046
  })
6031
6047
  }, [
6032
- (y(!0), E(z, null, Se(e.tabs, (u, c) => (y(), E("span", {
6048
+ (v(!0), w(z, null, ve(e.tabs, (u, c) => (v(), w("span", {
6033
6049
  key: c,
6034
6050
  class: gt(`builder-tab-wrap ${e.activeTab === c ? "builder-tab-active" : ""}`),
6035
- style: Oe({
6036
- ...e.activeTab === c ? e.activeTabStyle : {}
6037
- }),
6051
+ style: Pe(e.getTabStyle(c)),
6038
6052
  onClick: async (h) => e.onClick(c)
6039
6053
  }, [
6040
- Z(s, {
6054
+ ee(s, {
6041
6055
  parent: e.builderBlock.id,
6042
6056
  path: `tabs.${c}.label`,
6043
6057
  blocks: u.label,
@@ -6047,8 +6061,8 @@ function al(e, t, n, r, o, i) {
6047
6061
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
6048
6062
  ], 14, il))), 128))
6049
6063
  ], 4),
6050
- e.activeTabContent(e.activeTab) ? (y(), E("div", sl, [
6051
- Z(s, {
6064
+ e.activeTabContent(e.activeTab) ? (v(), w("div", sl, [
6065
+ ee(s, {
6052
6066
  parent: e.builderBlock.id,
6053
6067
  path: `tabs.${e.activeTab}.content`,
6054
6068
  blocks: e.activeTabContent(e.activeTab),
@@ -6056,14 +6070,13 @@ function al(e, t, n, r, o, i) {
6056
6070
  registeredComponents: e.builderComponents,
6057
6071
  linkComponent: e.builderLinkComponent
6058
6072
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
6059
- ])) : L("", !0)
6073
+ ])) : F("", !0)
6060
6074
  ]);
6061
6075
  }
6062
6076
  const ll = /* @__PURE__ */ j(ol, [["render", al]]), ul = {
6063
6077
  shouldReceiveBuilderProps: {},
6064
6078
  name: "Text",
6065
6079
  static: !0,
6066
- isRSC: !0,
6067
6080
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",
6068
6081
  inputs: [{
6069
6082
  name: "text",
@@ -6084,7 +6097,7 @@ const ll = /* @__PURE__ */ j(ol, [["render", al]]), ul = {
6084
6097
  }), pl = ["innerHTML"];
6085
6098
  function dl(e, t, n, r, o, i) {
6086
6099
  var s;
6087
- return y(), E("div", {
6100
+ return v(), w("div", {
6088
6101
  class: "builder-text",
6089
6102
  innerHTML: ((s = e.text) == null ? void 0 : s.toString()) || "",
6090
6103
  style: {
@@ -6126,7 +6139,7 @@ const fl = /* @__PURE__ */ j(cl, [["render", dl]]), hl = {
6126
6139
  watch: {
6127
6140
  onUpdateHook0: {
6128
6141
  handler() {
6129
- re() && setTimeout(() => {
6142
+ oe() && setTimeout(() => {
6130
6143
  this.runScripts();
6131
6144
  }, 0);
6132
6145
  },
@@ -6175,7 +6188,7 @@ const fl = /* @__PURE__ */ j(cl, [["render", dl]]), hl = {
6175
6188
  }
6176
6189
  }), gl = ["innerHTML"];
6177
6190
  function yl(e, t, n, r, o, i) {
6178
- return y(), E("div", {
6191
+ return v(), w("div", {
6179
6192
  ref: "elementRef",
6180
6193
  class: gt("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
6181
6194
  innerHTML: e.code
@@ -6239,14 +6252,14 @@ const vl = /* @__PURE__ */ j(ml, [["render", yl]]), bl = {
6239
6252
  }
6240
6253
  }
6241
6254
  }), wl = ["innerHTML"];
6242
- function El(e, t, n, r, o, i) {
6243
- return y(), E("div", {
6255
+ function Tl(e, t, n, r, o, i) {
6256
+ return v(), w("div", {
6244
6257
  class: "builder-embed",
6245
6258
  ref: "elem",
6246
6259
  innerHTML: e.content
6247
6260
  }, null, 8, wl);
6248
6261
  }
6249
- const Tl = /* @__PURE__ */ j(Cl, [["render", El]]), Il = {
6262
+ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6250
6263
  name: "Form:Form",
6251
6264
  // editableTags: ['builder-form-error']
6252
6265
  defaults: {
@@ -6486,7 +6499,7 @@ const Tl = /* @__PURE__ */ j(Cl, [["render", El]]), Il = {
6486
6499
  }, Rl = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Al = () => {
6487
6500
  const e = process.env.NODE_ENV || "production";
6488
6501
  return Rl.includes(e) ? e : "production";
6489
- }, $l = B({
6502
+ }, xl = B({
6490
6503
  name: "builder-form-component",
6491
6504
  components: { Blocks: Ue },
6492
6505
  props: [
@@ -6514,7 +6527,7 @@ const Tl = /* @__PURE__ */ j(Cl, [["render", El]]), Il = {
6514
6527
  formState: "unsubmitted",
6515
6528
  responseData: null,
6516
6529
  formErrorMessage: "",
6517
- filterAttrs: me
6530
+ filterAttrs: de
6518
6531
  };
6519
6532
  },
6520
6533
  methods: {
@@ -6527,7 +6540,10 @@ const Tl = /* @__PURE__ */ j(Cl, [["render", El]]), Il = {
6527
6540
  this.builderContext.rootSetState ? (r = (n = this.builderContext).rootSetState) == null || r.call(n, t) : this.builderContext.rootState = t;
6528
6541
  },
6529
6542
  submissionState() {
6530
- return re() && this.previewState || this.formState;
6543
+ return oe() && this.previewState || this.formState;
6544
+ },
6545
+ errorResponse(e) {
6546
+ return JSON.stringify(e, null, 2);
6531
6547
  },
6532
6548
  onSubmit(e) {
6533
6549
  var n;
@@ -6542,21 +6558,23 @@ const Tl = /* @__PURE__ */ j(Cl, [["render", El]]), Il = {
6542
6558
  e.preventDefault();
6543
6559
  const r = e.currentTarget || e.target, o = this.customHeaders || {};
6544
6560
  let i;
6545
- const s = new FormData(r), u = Array.from(r.querySelectorAll("input,select,textarea")).filter((m) => !!m.name).map((m) => {
6561
+ const s = new FormData(r), u = Array.from(r.querySelectorAll("input,select,textarea")).filter((m) => !!m.name).filter(
6562
+ (m) => !!m.name && (m.type !== "radio" || m.checked)
6563
+ ).map((m) => {
6546
6564
  let S;
6547
6565
  const A = m.name;
6548
6566
  if (m instanceof HTMLInputElement)
6549
6567
  if (m.type === "radio") {
6550
6568
  if (m.checked)
6551
- return S = m.name, {
6569
+ return S = m.value, {
6552
6570
  key: A,
6553
6571
  value: S
6554
6572
  };
6555
6573
  } else if (m.type === "checkbox")
6556
6574
  S = m.checked;
6557
6575
  else if (m.type === "number" || m.type === "range") {
6558
- const $ = m.valueAsNumber;
6559
- isNaN($) || (S = $);
6576
+ const x = m.valueAsNumber;
6577
+ isNaN(x) || (S = x);
6560
6578
  } else
6561
6579
  m.type === "file" ? S = m.files : S = m.value;
6562
6580
  else
@@ -6592,56 +6610,56 @@ const Tl = /* @__PURE__ */ j(Cl, [["render", El]]), Il = {
6592
6610
  });
6593
6611
  return;
6594
6612
  }
6595
- const v = `${Al() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
6613
+ const y = `${Al() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
6596
6614
  this.sendSubmissionsToEmail || ""
6597
- )}&name=${encodeURIComponent(this.name || "")}`, b = this.sendSubmissionsTo === "email" ? v : this.action;
6598
- Ln(b), fetch(b, {
6615
+ )}&name=${encodeURIComponent(this.name || "")}`, b = this.sendSubmissionsTo === "email" ? y : this.action;
6616
+ Fn(b), fetch(b, {
6599
6617
  body: i,
6600
6618
  headers: o,
6601
6619
  method: this.method || "post"
6602
6620
  }).then(
6603
6621
  async (m) => {
6604
- var $, M;
6622
+ var x, H;
6605
6623
  let S;
6606
6624
  const A = m.headers.get("content-type");
6607
6625
  if (A && A.indexOf("application/json") !== -1 ? S = await m.json() : S = await m.text(), !m.ok) {
6608
- const ee = new CustomEvent("submit:error", {
6626
+ const te = new CustomEvent("submit:error", {
6609
6627
  detail: {
6610
6628
  error: S,
6611
6629
  status: m.status
6612
6630
  }
6613
6631
  });
6614
- if (($ = this.$refs.formRef) != null && $.nativeElement && ((M = this.$refs.formRef) == null || M.nativeElement.dispatchEvent(
6615
- ee
6616
- ), ee.defaultPrevented))
6632
+ if ((x = this.$refs.formRef) != null && x.nativeElement && ((H = this.$refs.formRef) == null || H.nativeElement.dispatchEvent(
6633
+ te
6634
+ ), te.defaultPrevented))
6617
6635
  return;
6618
6636
  this.responseData = S, this.formState = "error";
6619
- let I = this.errorMessagePath ? Kr(S, this.errorMessagePath) : S.message || S.error || S;
6620
- typeof I != "string" && (I = JSON.stringify(I)), this.formErrorMessage = I, this.mergeNewRootState({
6621
- formErrorMessage: I
6637
+ let E = this.errorMessagePath ? Kr(S, this.errorMessagePath) : S.message || S.error || S;
6638
+ typeof E != "string" && (E = JSON.stringify(E)), this.formErrorMessage = E, this.mergeNewRootState({
6639
+ formErrorMessage: E
6622
6640
  });
6623
6641
  return;
6624
6642
  }
6625
6643
  if (this.responseData = S, this.formState = m.ok ? "success" : "error", m.ok) {
6626
- const ee = new CustomEvent("submit:success", {
6644
+ const te = new CustomEvent("submit:success", {
6627
6645
  detail: {
6628
6646
  res: m,
6629
6647
  body: S
6630
6648
  }
6631
6649
  });
6632
6650
  if (this.$refs.formRef) {
6633
- if (this.$refs.formRef.dispatchEvent(ee), ee.defaultPrevented)
6651
+ if (this.$refs.formRef.dispatchEvent(te), te.defaultPrevented)
6634
6652
  return;
6635
6653
  this.resetFormOnSubmit !== !1 && this.$refs.formRef.reset();
6636
6654
  }
6637
6655
  if (this.successUrl)
6638
6656
  if (this.$refs.formRef) {
6639
- const I = new CustomEvent("route", {
6657
+ const E = new CustomEvent("route", {
6640
6658
  detail: {
6641
6659
  url: this.successUrl
6642
6660
  }
6643
6661
  });
6644
- this.$refs.formRef.dispatchEvent(I), I.defaultPrevented || (location.href = this.successUrl);
6662
+ this.$refs.formRef.dispatchEvent(E), E.defaultPrevented || (location.href = this.successUrl);
6645
6663
  } else
6646
6664
  location.href = this.successUrl;
6647
6665
  }
@@ -6658,13 +6676,13 @@ const Tl = /* @__PURE__ */ j(Cl, [["render", El]]), Il = {
6658
6676
  }
6659
6677
  }
6660
6678
  }
6661
- }), xl = ["validate", "action", "method", "name"], Pl = {
6679
+ }), $l = ["validate", "action", "method", "name"], Pl = {
6662
6680
  key: 2,
6663
- class: "builder-form-error-text pre-1hjwvu3r5mj"
6681
+ class: "builder-form-error-text pre-2oa2wtipkzk"
6664
6682
  };
6665
6683
  function Ol(e, t, n, r, o, i) {
6666
6684
  const s = W("Blocks");
6667
- return y(), E("form", q({
6685
+ return v(), w("form", q({
6668
6686
  validate: e.validate,
6669
6687
  ref: "formRef",
6670
6688
  action: !e.sendWithJs && e.action,
@@ -6673,28 +6691,28 @@ function Ol(e, t, n, r, o, i) {
6673
6691
  onSubmit: t[0] || (t[0] = async (u) => e.onSubmit(u))
6674
6692
  }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
6675
6693
  pe(e.$slots, "default", {}, void 0, !0),
6676
- e.submissionState() === "error" ? (y(), U(s, {
6694
+ e.submissionState() === "error" ? (v(), U(s, {
6677
6695
  key: 0,
6678
6696
  path: "errorMessage",
6679
6697
  blocks: e.errorMessage,
6680
6698
  context: e.builderContext
6681
- }, null, 8, ["blocks", "context"])) : L("", !0),
6682
- e.submissionState() === "sending" ? (y(), U(s, {
6699
+ }, null, 8, ["blocks", "context"])) : F("", !0),
6700
+ e.submissionState() === "sending" ? (v(), U(s, {
6683
6701
  key: 1,
6684
6702
  path: "sendingMessage",
6685
6703
  blocks: e.sendingMessage,
6686
6704
  context: e.builderContext
6687
- }, null, 8, ["blocks", "context"])) : L("", !0),
6688
- e.submissionState() === "error" && e.responseData ? (y(), E("pre", Pl, Ut(JSON.stringify(e.responseData, null, 2)), 1)) : L("", !0),
6689
- e.submissionState() === "success" ? (y(), U(s, {
6705
+ }, null, 8, ["blocks", "context"])) : F("", !0),
6706
+ e.submissionState() === "error" && e.responseData ? (v(), w("pre", Pl, Ut(e.errorResponse(e.responseData)), 1)) : F("", !0),
6707
+ e.submissionState() === "success" ? (v(), U(s, {
6690
6708
  key: 3,
6691
6709
  path: "successMessage",
6692
6710
  blocks: e.successMessage,
6693
6711
  context: e.builderContext
6694
- }, null, 8, ["blocks", "context"])) : L("", !0)
6695
- ], 16, xl);
6712
+ }, null, 8, ["blocks", "context"])) : F("", !0)
6713
+ ], 16, $l);
6696
6714
  }
6697
- const Nl = /* @__PURE__ */ j($l, [["render", Ol], ["__scopeId", "data-v-89aa89a6"]]), Bl = {
6715
+ const Nl = /* @__PURE__ */ j(xl, [["render", Ol], ["__scopeId", "data-v-77c7888c"]]), Bl = {
6698
6716
  name: "Form:Input",
6699
6717
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
6700
6718
  inputs: [
@@ -6757,11 +6775,11 @@ const Nl = /* @__PURE__ */ j($l, [["render", Ol], ["__scopeId", "data-v-89aa89a6
6757
6775
  "required"
6758
6776
  ],
6759
6777
  data() {
6760
- return { isEditing: re, filterAttrs: me };
6778
+ return { isEditing: oe, filterAttrs: de };
6761
6779
  }
6762
6780
  }), Vl = ["placeholder", "type", "name", "value", "defaultValue", "required"];
6763
6781
  function Dl(e, t, n, r, o, i) {
6764
- return y(), E("input", q({
6782
+ return v(), w("input", q({
6765
6783
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
6766
6784
  placeholder: e.placeholder,
6767
6785
  type: e.type,
@@ -6813,28 +6831,28 @@ const Ul = /* @__PURE__ */ j(jl, [["render", Dl]]), Wl = {
6813
6831
  }],
6814
6832
  static: !0,
6815
6833
  noWrap: !0
6816
- }, Fl = B({
6834
+ }, Ll = B({
6817
6835
  name: "builder-select-component",
6818
6836
  props: ["attributes", "value", "defaultValue", "name", "required", "options"],
6819
6837
  data() {
6820
- return { isEditing: re, filterAttrs: me };
6838
+ return { isEditing: oe, filterAttrs: de };
6821
6839
  }
6822
- }), Ll = ["value", "defaultValue", "name", "required"], Ml = ["value"];
6840
+ }), Fl = ["value", "defaultValue", "name", "required"], Ml = ["value"];
6823
6841
  function Hl(e, t, n, r, o, i) {
6824
- return y(), E("select", q({
6842
+ return v(), w("select", q({
6825
6843
  value: e.value,
6826
6844
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
6827
6845
  defaultValue: e.defaultValue,
6828
6846
  name: e.name,
6829
6847
  required: e.required
6830
6848
  }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
6831
- (y(!0), E(z, null, Se(e.options, (s, u) => (y(), E("option", {
6849
+ (v(!0), w(z, null, ve(e.options, (s, u) => (v(), w("option", {
6832
6850
  key: `${s.name}-${u}`,
6833
6851
  value: s.value
6834
6852
  }, Ut(s.name || s.value), 9, Ml))), 128))
6835
- ], 16, Ll);
6853
+ ], 16, Fl);
6836
6854
  }
6837
- const Kl = /* @__PURE__ */ j(Fl, [["render", Hl]]), zl = {
6855
+ const Kl = /* @__PURE__ */ j(Ll, [["render", Hl]]), zl = {
6838
6856
  name: "Form:SubmitButton",
6839
6857
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
6840
6858
  defaultStyles: {
@@ -6863,11 +6881,11 @@ const Kl = /* @__PURE__ */ j(Fl, [["render", Hl]]), zl = {
6863
6881
  name: "builder-submit-button",
6864
6882
  props: ["attributes", "text"],
6865
6883
  data() {
6866
- return { filterAttrs: me };
6884
+ return { filterAttrs: de };
6867
6885
  }
6868
6886
  });
6869
6887
  function Gl(e, t, n, r, o, i) {
6870
- return y(), E("button", q({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Ut(e.text), 17);
6888
+ return v(), w("button", q({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Ut(e.text), 17);
6871
6889
  }
6872
6890
  const _l = /* @__PURE__ */ j(ql, [["render", Gl]]), Jl = {
6873
6891
  name: "Form:TextArea",
@@ -6916,11 +6934,11 @@ const _l = /* @__PURE__ */ j(ql, [["render", Gl]]), Jl = {
6916
6934
  "required"
6917
6935
  ],
6918
6936
  data() {
6919
- return { filterAttrs: me };
6937
+ return { filterAttrs: de };
6920
6938
  }
6921
6939
  }), Yl = ["placeholder", "name", "value", "defaultValue", "required"];
6922
6940
  function Ql(e, t, n, r, o, i) {
6923
- return y(), E("textarea", q({
6941
+ return v(), w("textarea", q({
6924
6942
  placeholder: e.placeholder,
6925
6943
  name: e.name,
6926
6944
  value: e.value,
@@ -6929,7 +6947,6 @@ function Ql(e, t, n, r, o, i) {
6929
6947
  }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Yl);
6930
6948
  }
6931
6949
  const Zl = /* @__PURE__ */ j(Xl, [["render", Ql]]), eu = {
6932
- // friendlyName?
6933
6950
  name: "Raw:Img",
6934
6951
  hideFromInsertMenu: !0,
6935
6952
  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",
@@ -6939,42 +6956,86 @@ const Zl = /* @__PURE__ */ j(Xl, [["render", Ql]]), eu = {
6939
6956
  type: "file",
6940
6957
  allowedFileTypes: qn,
6941
6958
  required: !0
6959
+ }, {
6960
+ name: "backgroundSize",
6961
+ type: "text",
6962
+ defaultValue: "cover",
6963
+ enum: [{
6964
+ label: "contain",
6965
+ value: "contain",
6966
+ helperText: "The image should never get cropped"
6967
+ }, {
6968
+ label: "cover",
6969
+ value: "cover",
6970
+ helperText: "The image should fill it's box, cropping when needed"
6971
+ }]
6972
+ }, {
6973
+ name: "backgroundPosition",
6974
+ type: "text",
6975
+ defaultValue: "center",
6976
+ enum: ["center", "top", "left", "right", "bottom", "top left", "top right", "bottom left", "bottom right"]
6977
+ }, {
6978
+ name: "altText",
6979
+ type: "string",
6980
+ helperText: "Text to display when the user has images off"
6981
+ }, {
6982
+ name: "title",
6983
+ type: "string",
6984
+ helperText: "Text to display when hovering over the asset"
6985
+ }, {
6986
+ name: "aspectRatio",
6987
+ type: "number",
6988
+ helperText: "This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",
6989
+ advanced: !0,
6990
+ defaultValue: 0.7041
6942
6991
  }],
6943
- noWrap: !0,
6944
- static: !0
6992
+ noWrap: !0
6945
6993
  }, tu = B({
6946
6994
  name: "builder-img-component",
6947
6995
  props: [
6948
6996
  "imgSrc",
6949
6997
  "image",
6998
+ "attributes",
6999
+ "altText",
7000
+ "title",
6950
7001
  "backgroundSize",
6951
7002
  "backgroundPosition",
6952
- "altText",
6953
- "attributes"
7003
+ "aspectRatio"
6954
7004
  ],
6955
7005
  data() {
6956
- return { isEditing: re, filterAttrs: me };
7006
+ return { isEditing: oe };
6957
7007
  },
6958
7008
  computed: {
6959
7009
  srcSetToUse() {
6960
7010
  const e = this.imgSrc || this.image;
6961
7011
  if (!(!e || typeof e != "string") && e.match(/builder\.io/))
6962
7012
  return Ot(e);
7013
+ },
7014
+ imgAttrs() {
7015
+ const e = {
7016
+ ...de(this.attributes, "v-on:", !1),
7017
+ ...de(this.attributes, "v-on:", !0),
7018
+ [Oe()]: `builder-raw-img ${this.attributes[Oe()] || ""}`
7019
+ };
7020
+ return delete e.style, e;
6963
7021
  }
6964
7022
  }
6965
- }), nu = ["alt", "src", "srcSet"];
7023
+ }), nu = ["alt", "title", "src"];
6966
7024
  function ru(e, t, n, r, o, i) {
6967
- return y(), E("img", q({
7025
+ var s;
7026
+ return v(), w("img", q({
6968
7027
  loading: "lazy",
6969
- style: {
6970
- objectFit: e.backgroundSize || "cover",
6971
- objectPosition: e.backgroundPosition || "center"
6972
- },
6973
7028
  key: e.isEditing() && e.imgSrc || "default-key",
6974
7029
  alt: e.altText,
7030
+ title: e.title,
6975
7031
  src: e.imgSrc || e.image,
6976
- srcSet: e.srcSetToUse
6977
- }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, nu);
7032
+ style: {
7033
+ objectFit: e.backgroundSize || "cover",
7034
+ objectPosition: e.backgroundPosition || "center",
7035
+ aspectRatio: e.aspectRatio || void 0,
7036
+ ...((s = e.attributes) == null ? void 0 : s.style) || {}
7037
+ }
7038
+ }, e.imgAttrs), null, 16, nu);
6978
7039
  }
6979
7040
  const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
6980
7041
  name: "Video",
@@ -7157,9 +7218,9 @@ const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
7157
7218
  }
7158
7219
  };
7159
7220
  function pu(e, t, n, r, o, i) {
7160
- var s, u, c, h, v, b, m;
7161
- return y(), E("div", au, [
7162
- qe("video", q({
7221
+ var s, u, c, h, y, b, m;
7222
+ return v(), w("div", au, [
7223
+ Ge("video", q({
7163
7224
  class: "builder-video",
7164
7225
  ref: "videoRef",
7165
7226
  preload: e.lazyLoad ? "none" : e.preload || "metadata",
@@ -7178,7 +7239,7 @@ function pu(e, t, n, r, o, i) {
7178
7239
  },
7179
7240
  poster: e.posterImage
7180
7241
  }, e.spreadProps), [
7181
- qe("source", q(
7242
+ Ge("source", q(
7182
7243
  { type: "video/mp4" },
7183
7244
  e.lazyLoad ? {
7184
7245
  "data-src": e.video
@@ -7187,28 +7248,28 @@ function pu(e, t, n, r, o, i) {
7187
7248
  }
7188
7249
  ), null, 16)
7189
7250
  ], 16, lu),
7190
- e.aspectRatio && !(e.fitContent && ((c = (u = e.builderBlock) == null ? void 0 : u.children) != null && c.length)) ? (y(), E("div", {
7251
+ e.aspectRatio && !(e.fitContent && ((c = (u = e.builderBlock) == null ? void 0 : u.children) != null && c.length)) ? (v(), w("div", {
7191
7252
  key: 0,
7192
- style: Oe({
7253
+ style: Pe({
7193
7254
  width: "100%",
7194
7255
  paddingTop: e.aspectRatio * 100 + "%",
7195
7256
  pointerEvents: "none",
7196
7257
  fontSize: "0px"
7197
7258
  })
7198
- }, null, 4)) : L("", !0),
7199
- (v = (h = e.builderBlock) == null ? void 0 : h.children) != null && v.length && e.fitContent ? (y(), E("div", uu, [
7259
+ }, null, 4)) : F("", !0),
7260
+ (y = (h = e.builderBlock) == null ? void 0 : h.children) != null && y.length && e.fitContent ? (v(), w("div", uu, [
7200
7261
  pe(e.$slots, "default")
7201
- ])) : L("", !0),
7202
- (m = (b = e.builderBlock) == null ? void 0 : b.children) != null && m.length && !e.fitContent ? (y(), E("div", cu, [
7262
+ ])) : F("", !0),
7263
+ (m = (b = e.builderBlock) == null ? void 0 : b.children) != null && m.length && !e.fitContent ? (v(), w("div", cu, [
7203
7264
  pe(e.$slots, "default")
7204
- ])) : L("", !0)
7265
+ ])) : F("", !0)
7205
7266
  ]);
7206
7267
  }
7207
7268
  const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7208
7269
  component: vl,
7209
7270
  ...hl
7210
7271
  }, {
7211
- component: Tl,
7272
+ component: El,
7212
7273
  ...bl
7213
7274
  }, {
7214
7275
  component: Nl,
@@ -7244,7 +7305,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7244
7305
  component: Ca,
7245
7306
  ...qa
7246
7307
  }, {
7247
- component: Ta,
7308
+ component: Ea,
7248
7309
  ...Ya
7249
7310
  }, {
7250
7311
  component: tl,
@@ -7262,7 +7323,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7262
7323
  component: ll,
7263
7324
  ...rl
7264
7325
  }, {
7265
- component: La,
7326
+ component: Fa,
7266
7327
  ...Va
7267
7328
  }, ...fu()], hu = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
7268
7329
  function getAndSetVariantId() {
@@ -7376,7 +7437,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7376
7437
  }) => `window.${Oo}(
7377
7438
  "${t}", "${e}", ${No}
7378
7439
  )`;
7379
- function Fr(e) {
7440
+ function Lr(e) {
7380
7441
  return Math.round(e * 1e3) / 1e3;
7381
7442
  }
7382
7443
  const Cu = (e, t, n = !0) => {
@@ -7393,32 +7454,32 @@ const Cu = (e, t, n = !0) => {
7393
7454
  }, wu = (e) => Cu(e, (t) => {
7394
7455
  const n = t.getAttribute("builder-id") || t.id;
7395
7456
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
7396
- }), Lr = ({
7457
+ }), Fr = ({
7397
7458
  event: e,
7398
7459
  target: t
7399
7460
  }) => {
7400
- const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = Fr(r / n.width), s = Fr(o / n.height);
7461
+ const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = Lr(r / n.width), s = Lr(o / n.height);
7401
7462
  return {
7402
7463
  x: i,
7403
7464
  y: s
7404
7465
  };
7405
- }, Eu = (e) => {
7466
+ }, Tu = (e) => {
7406
7467
  const t = e.target, n = t && wu(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
7407
7468
  return {
7408
7469
  targetBuilderElement: r || void 0,
7409
7470
  metadata: {
7410
- targetOffset: t ? Lr({
7471
+ targetOffset: t ? Fr({
7411
7472
  event: e,
7412
7473
  target: t
7413
7474
  }) : void 0,
7414
- builderTargetOffset: n ? Lr({
7475
+ builderTargetOffset: n ? Fr({
7415
7476
  event: e,
7416
7477
  target: n
7417
7478
  }) : void 0,
7418
7479
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
7419
7480
  }
7420
7481
  };
7421
- }, Tu = ["svelte", "qwik", "vue"], Iu = () => Tu.includes(G) && (re() || Wn()), Ru = (e) => {
7482
+ }, Eu = ["svelte", "qwik", "vue"], Iu = () => Eu.includes(G) && (oe() || Wn()), Ru = (e) => {
7422
7483
  var i;
7423
7484
  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);
7424
7485
  let o = "";
@@ -7449,10 +7510,10 @@ font-weight: ${s};
7449
7510
  }) => {
7450
7511
  var t;
7451
7512
  return ((t = e == null ? void 0 : e.map((n) => Ru(n))) == null ? void 0 : t.join(" ")) || "";
7452
- }, $u = ({
7513
+ }, xu = ({
7453
7514
  cssCode: e,
7454
7515
  contentId: t
7455
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", xu = `
7516
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", $u = `
7456
7517
  .builder-button {
7457
7518
  all: unset;
7458
7519
  }
@@ -7469,7 +7530,7 @@ font-weight: ${s};
7469
7530
  text-align: inherit;
7470
7531
  font-family: inherit;
7471
7532
  }
7472
- `, Pu = (e) => e ? "" : xu, Ou = (e) => `variant-${e}`, Nu = B({
7533
+ `, Pu = (e) => e ? "" : $u, Ou = (e) => `variant-${e}`, Nu = B({
7473
7534
  name: "enable-editor",
7474
7535
  components: { DynamicDiv: Ct },
7475
7536
  props: [
@@ -7492,6 +7553,9 @@ font-weight: ${s};
7492
7553
  data() {
7493
7554
  return {
7494
7555
  hasExecuted: !1,
7556
+ contextValue: this.builderContextSignal,
7557
+ prevData: null,
7558
+ prevLocale: "",
7495
7559
  ContentWrapper: this.contentWrapper || "div",
7496
7560
  httpReqsData: {},
7497
7561
  httpReqsPending: {},
@@ -7512,11 +7576,11 @@ font-weight: ${s};
7512
7576
  },
7513
7577
  mounted() {
7514
7578
  var e, t, n;
7515
- if (K()) {
7516
- re() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
7579
+ if (M()) {
7580
+ oe() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
7517
7581
  new CustomEvent("initeditingbldr")
7518
7582
  );
7519
- const r = this.builderContextSignal.content && Xe(this.canTrack), o = Lt({
7583
+ const r = this.builderContextSignal.content && Xe(this.canTrack), o = Ft({
7520
7584
  name: `builder.tests.${(e = this.builderContextSignal.content) == null ? void 0 : e.id}`,
7521
7585
  canTrack: !0
7522
7586
  }), i = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId;
@@ -7531,7 +7595,7 @@ font-weight: ${s};
7531
7595
  variationId: o !== s ? o : void 0
7532
7596
  });
7533
7597
  }
7534
- Wn() && !re() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
7598
+ Wn() && !oe() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
7535
7599
  new CustomEvent("initpreviewingbldr")
7536
7600
  );
7537
7601
  }
@@ -7551,21 +7615,29 @@ font-weight: ${s};
7551
7615
  },
7552
7616
  onUpdateHook2: {
7553
7617
  handler() {
7554
- this.data && this.mergeNewRootState(this.data);
7618
+ if (this.data) {
7619
+ if (this.prevData === this.data)
7620
+ return;
7621
+ this.mergeNewRootState(this.data), this.prevData = this.data;
7622
+ }
7555
7623
  },
7556
7624
  immediate: !0
7557
7625
  },
7558
7626
  onUpdateHook3: {
7559
7627
  handler() {
7560
- this.locale && this.mergeNewRootState({
7561
- locale: this.locale
7562
- });
7628
+ if (this.locale) {
7629
+ if (this.prevLocale === this.locale)
7630
+ return;
7631
+ this.mergeNewRootState({
7632
+ locale: this.locale
7633
+ }), this.prevLocale = this.locale;
7634
+ }
7563
7635
  },
7564
7636
  immediate: !0
7565
7637
  }
7566
7638
  },
7567
7639
  unmounted() {
7568
- K() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
7640
+ M() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
7569
7641
  "builder:component:stateChangeListenerActivated",
7570
7642
  this.emitStateUpdate
7571
7643
  ));
@@ -7599,30 +7671,30 @@ font-weight: ${s};
7599
7671
  }
7600
7672
  },
7601
7673
  methods: {
7602
- mergeNewRootState(e) {
7603
- var n, r;
7604
- const t = {
7674
+ mergeNewRootState(e, t) {
7675
+ var r, o;
7676
+ const n = {
7605
7677
  ...this.builderContextSignal.rootState,
7606
7678
  ...e
7607
7679
  };
7608
- this.builderContextSignal.rootSetState ? (r = (n = this.builderContextSignal).rootSetState) == null || r.call(n, t) : this.builderContextSignal.rootState = t;
7680
+ this.builderContextSignal.rootSetState ? (o = (r = this.builderContextSignal).rootSetState) == null || o.call(r, n) : this.builderContextSignal.rootState = n, this.builderContextSignal.rootSetState ? this.builderContextSignal.rootSetState(n) : this.builderContextSignal.rootState = n;
7609
7681
  },
7610
- mergeNewContent(e) {
7611
- var n, r, o, i, s;
7612
- const t = {
7682
+ mergeNewContent(e, t) {
7683
+ var r, o, i, s, u;
7684
+ const n = {
7613
7685
  ...this.builderContextSignal.content,
7614
7686
  ...e,
7615
7687
  data: {
7616
- ...(n = this.builderContextSignal.content) == null ? void 0 : n.data,
7688
+ ...(r = this.builderContextSignal.content) == null ? void 0 : r.data,
7617
7689
  ...e == null ? void 0 : e.data
7618
7690
  },
7619
7691
  meta: {
7620
- ...(r = this.builderContextSignal.content) == null ? void 0 : r.meta,
7692
+ ...(o = this.builderContextSignal.content) == null ? void 0 : o.meta,
7621
7693
  ...e == null ? void 0 : e.meta,
7622
- breakpoints: ((o = e == null ? void 0 : e.meta) == null ? void 0 : o.breakpoints) || ((s = (i = this.builderContextSignal.content) == null ? void 0 : i.meta) == null ? void 0 : s.breakpoints)
7694
+ breakpoints: ((i = e == null ? void 0 : e.meta) == null ? void 0 : i.breakpoints) || ((u = (s = this.builderContextSignal.content) == null ? void 0 : s.meta) == null ? void 0 : u.breakpoints)
7623
7695
  }
7624
7696
  };
7625
- this.builderContextSignal.content = t;
7697
+ this.builderContextSignal.content = n;
7626
7698
  },
7627
7699
  processMessage(e) {
7628
7700
  return fo({
@@ -7641,11 +7713,11 @@ font-weight: ${s};
7641
7713
  animation: (t) => {
7642
7714
  So(t);
7643
7715
  },
7644
- contentUpdate: (t) => {
7645
- this.mergeNewContent(t);
7716
+ contentUpdate: (t, n) => {
7717
+ this.mergeNewContent(t, n);
7646
7718
  },
7647
- stateUpdate: (t) => {
7648
- this.mergeNewRootState(t);
7719
+ stateUpdate: (t, n) => {
7720
+ this.mergeNewRootState(t, n);
7649
7721
  }
7650
7722
  }
7651
7723
  })(e);
@@ -7661,7 +7733,7 @@ font-weight: ${s};
7661
7733
  contentId: o,
7662
7734
  apiKey: this.apiKey,
7663
7735
  variationId: r !== o ? r : void 0,
7664
- ...Eu(e),
7736
+ ...Tu(e),
7665
7737
  unique: !this.clicked
7666
7738
  });
7667
7739
  }
@@ -7670,35 +7742,59 @@ font-weight: ${s};
7670
7742
  runHttpRequests() {
7671
7743
  var t, n;
7672
7744
  const e = ((n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.httpRequests) ?? {};
7673
- Object.entries(e).forEach(([r, o]) => {
7674
- if (!o || this.httpReqsPending[r] || this.httpReqsData[r] && !re())
7675
- return;
7676
- this.httpReqsPending[r] = !0;
7677
- const i = o.replace(
7678
- /{{([^}]+)}}/g,
7679
- (s, u) => String(
7680
- kt({
7681
- code: u,
7682
- context: this.context || {},
7683
- localState: void 0,
7684
- rootState: this.builderContextSignal.rootState,
7685
- rootSetState: this.builderContextSignal.rootSetState
7686
- })
7687
- )
7688
- );
7689
- Ln(i), fetch(i).then((s) => s.json()).then((s) => {
7690
- this.mergeNewRootState({
7691
- [r]: s
7692
- }), this.httpReqsData[r] = !0;
7693
- }).catch((s) => {
7694
- console.error("error fetching dynamic data", o, s);
7695
- }).finally(() => {
7696
- this.httpReqsPending[r] = !1;
7697
- });
7698
- });
7745
+ Object.entries(e).forEach(
7746
+ ([r, o]) => {
7747
+ if (!o)
7748
+ return;
7749
+ const i = typeof o == "object" && o["@type"] === "@builder.io/core:Request";
7750
+ if (this.httpReqsPending[r] || this.httpReqsData[r] && !oe())
7751
+ return;
7752
+ const s = i ? o.request.url : o;
7753
+ this.httpReqsPending[r] = !0;
7754
+ const u = s.replace(
7755
+ /{{([^}]+)}}/g,
7756
+ (y, b) => String(
7757
+ kt({
7758
+ code: b,
7759
+ context: this.context || {},
7760
+ localState: void 0,
7761
+ rootState: this.builderContextSignal.rootState,
7762
+ rootSetState: this.builderContextSignal.rootSetState
7763
+ })
7764
+ )
7765
+ ), c = i ? {
7766
+ url: u,
7767
+ method: o.request.method,
7768
+ headers: o.request.headers,
7769
+ body: o.request.body
7770
+ } : {
7771
+ url: u,
7772
+ method: "GET"
7773
+ };
7774
+ Fn(JSON.stringify(c));
7775
+ const h = {
7776
+ method: c.method,
7777
+ headers: c.headers,
7778
+ body: c.body
7779
+ };
7780
+ c.method === "GET" && delete h.body, fetch(c.url, h).then((y) => y.json()).then((y) => {
7781
+ this.mergeNewRootState({
7782
+ [r]: y
7783
+ }), this.httpReqsData[r] = !0;
7784
+ }).catch((y) => {
7785
+ console.error(
7786
+ "error fetching dynamic data",
7787
+ JSON.stringify(o),
7788
+ y
7789
+ );
7790
+ }).finally(() => {
7791
+ this.httpReqsPending[r] = !1;
7792
+ });
7793
+ }
7794
+ );
7699
7795
  },
7700
7796
  emitStateUpdate() {
7701
- re() && window.dispatchEvent(
7797
+ oe() && window.dispatchEvent(
7702
7798
  new CustomEvent(
7703
7799
  "builder:component:stateChange",
7704
7800
  {
@@ -7760,7 +7856,7 @@ font-weight: ${s};
7760
7856
  });
7761
7857
  function Bu(e, t, n, r, o, i) {
7762
7858
  var s, u, c;
7763
- return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (y(), U(dt(e.ContentWrapper), q({
7859
+ return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (v(), U(dt(e.ContentWrapper), q({
7764
7860
  key: 0,
7765
7861
  ref: "elementRef",
7766
7862
  onClick: (h) => e.onClick(h),
@@ -7773,11 +7869,11 @@ function Bu(e, t, n, r, o, i) {
7773
7869
  onIniteditingbldr: (h) => e.elementRef_onIniteditingbldr(h),
7774
7870
  onInitpreviewingbldr: (h) => e.elementRef_onInitpreviewingbldr(h)
7775
7871
  }, { ...e.showContentProps, ...e.contentWrapperProps }), {
7776
- default: ve(() => [
7872
+ default: me(() => [
7777
7873
  pe(e.$slots, "default")
7778
7874
  ]),
7779
7875
  _: 3
7780
- }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : L("", !0);
7876
+ }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : F("", !0);
7781
7877
  }
7782
7878
  const ju = /* @__PURE__ */ j(Nu, [["render", Bu]]), Vu = B({
7783
7879
  name: "content-styles",
@@ -7786,7 +7882,7 @@ const ju = /* @__PURE__ */ j(Nu, [["render", Bu]]), Vu = B({
7786
7882
  data() {
7787
7883
  return {
7788
7884
  injectedStyles: `
7789
- ${$u({
7885
+ ${xu({
7790
7886
  cssCode: this.cssCode,
7791
7887
  contentId: this.contentId
7792
7888
  })}
@@ -7800,7 +7896,7 @@ ${Pu(this.isNestedRender)}
7800
7896
  });
7801
7897
  function Du(e, t, n, r, o, i) {
7802
7898
  const s = W("InlinedStyles");
7803
- return y(), U(s, {
7899
+ return v(), U(s, {
7804
7900
  id: "builderio-content",
7805
7901
  styles: e.injectedStyles,
7806
7902
  nonce: e.nonce
@@ -7823,7 +7919,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7823
7919
  locale: n
7824
7920
  } : {}
7825
7921
  };
7826
- }, Fu = ({
7922
+ }, Lu = ({
7827
7923
  content: e,
7828
7924
  data: t
7829
7925
  }) => e ? {
@@ -7833,7 +7929,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7833
7929
  ...t
7834
7930
  },
7835
7931
  meta: e == null ? void 0 : e.meta
7836
- } : void 0, Lu = Yo, Mu = B({
7932
+ } : void 0, Fu = Yo, Mu = B({
7837
7933
  name: "content-component",
7838
7934
  components: {
7839
7935
  EnableEditor: ju,
@@ -7881,14 +7977,14 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7881
7977
  (n, { component: r, ...o }) => ({
7882
7978
  ...n,
7883
7979
  [o.name]: {
7884
- component: Lu(r),
7980
+ component: Fu(r),
7885
7981
  ...Vt(o)
7886
7982
  }
7887
7983
  }),
7888
7984
  {}
7889
7985
  ),
7890
7986
  builderContextSignal: {
7891
- content: Fu({
7987
+ content: Lu({
7892
7988
  content: this.content,
7893
7989
  data: this.data
7894
7990
  }),
@@ -7955,7 +8051,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7955
8051
  });
7956
8052
  function Hu(e, t, n, r, o, i) {
7957
8053
  const s = W("InlinedScript"), u = W("ContentStyles"), c = W("Blocks"), h = W("EnableEditor");
7958
- return y(), U(h, q({
8054
+ return v(), U(h, q({
7959
8055
  apiHost: e.apiHost,
7960
8056
  nonce: e.nonce,
7961
8057
  content: e.content,
@@ -7973,25 +8069,25 @@ function Hu(e, t, n, r, o, i) {
7973
8069
  trustedHosts: e.trustedHosts,
7974
8070
  isNestedRender: e.isNestedRender
7975
8071
  }, {}), {
7976
- default: ve(() => {
7977
- var v, b, m, S, A, $, M;
8072
+ default: me(() => {
8073
+ var y, b, m, S, A, x, H;
7978
8074
  return [
7979
- e.isSsrAbTest ? (y(), U(s, {
8075
+ e.isSsrAbTest ? (v(), U(s, {
7980
8076
  key: 0,
7981
8077
  id: "builderio-variant-visibility",
7982
8078
  scriptStr: e.scriptStr,
7983
8079
  nonce: e.nonce || ""
7984
- }, null, 8, ["scriptStr", "nonce"])) : L("", !0),
7985
- e.TARGET !== "reactNative" ? (y(), U(u, {
8080
+ }, null, 8, ["scriptStr", "nonce"])) : F("", !0),
8081
+ e.TARGET !== "reactNative" ? (v(), U(u, {
7986
8082
  key: 1,
7987
8083
  nonce: e.nonce || "",
7988
8084
  isNestedRender: e.isNestedRender,
7989
- contentId: (v = e.builderContextSignal.content) == null ? void 0 : v.id,
8085
+ contentId: (y = e.builderContextSignal.content) == null ? void 0 : y.id,
7990
8086
  cssCode: (m = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : m.cssCode,
7991
8087
  customFonts: (A = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : A.customFonts
7992
- }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : L("", !0),
7993
- Z(c, {
7994
- blocks: (M = ($ = e.builderContextSignal.content) == null ? void 0 : $.data) == null ? void 0 : M.blocks,
8088
+ }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : F("", !0),
8089
+ ee(c, {
8090
+ blocks: (H = (x = e.builderContextSignal.content) == null ? void 0 : x.data) == null ? void 0 : H.blocks,
7995
8091
  context: e.builderContextSignal,
7996
8092
  registeredComponents: e.registeredComponents,
7997
8093
  linkComponent: e.linkComponent
@@ -8072,32 +8168,32 @@ const Ku = /* @__PURE__ */ j(Mu, [["render", Hu]]), zu = B({
8072
8168
  });
8073
8169
  function qu(e, t, n, r, o, i) {
8074
8170
  const s = W("InlinedScript"), u = W("InlinedStyles"), c = W("ContentComponent");
8075
- return y(), E(z, null, [
8076
- !e.isNestedRender && e.TARGET !== "reactNative" ? (y(), E(z, { key: 0 }, [
8077
- Z(s, {
8171
+ return v(), w(z, null, [
8172
+ !e.isNestedRender && e.TARGET !== "reactNative" ? (v(), w(z, { key: 0 }, [
8173
+ ee(s, {
8078
8174
  id: "builderio-init-variants-fns",
8079
8175
  scriptStr: e.getInitVariantsFnsScriptString(),
8080
8176
  nonce: e.nonce || ""
8081
8177
  }, null, 8, ["scriptStr", "nonce"]),
8082
- e.SDKS_SUPPORTING_PERSONALIZATION.includes(e.TARGET) ? (y(), U(s, {
8178
+ e.SDKS_SUPPORTING_PERSONALIZATION.includes(e.TARGET) ? (v(), U(s, {
8083
8179
  key: 0,
8084
8180
  id: "builderio-init-personalization-variants-fns",
8085
8181
  nonce: e.nonce || "",
8086
8182
  scriptStr: e.getInitPersonalizationVariantsFnsScriptString()
8087
- }, null, 8, ["nonce", "scriptStr"])) : L("", !0)
8088
- ], 64)) : L("", !0),
8089
- e.shouldRenderVariants ? (y(), E(z, { key: 1 }, [
8090
- Z(u, {
8183
+ }, null, 8, ["nonce", "scriptStr"])) : F("", !0)
8184
+ ], 64)) : F("", !0),
8185
+ e.shouldRenderVariants ? (v(), w(z, { key: 1 }, [
8186
+ ee(u, {
8091
8187
  id: "builderio-variants",
8092
8188
  styles: e.hideVariantsStyleString,
8093
8189
  nonce: e.nonce || ""
8094
8190
  }, null, 8, ["styles", "nonce"]),
8095
- Z(s, {
8191
+ ee(s, {
8096
8192
  id: "builderio-variants-visibility",
8097
8193
  scriptStr: e.updateCookieAndStylesScriptStr,
8098
8194
  nonce: e.nonce || ""
8099
8195
  }, null, 8, ["scriptStr", "nonce"]),
8100
- (y(!0), E(z, null, Se(e.getVariants(e.content), (h, v) => (y(), U(c, q({
8196
+ (v(!0), w(z, null, ve(e.getVariants(e.content), (h, y) => (v(), U(c, q({
8101
8197
  key: h.testVariationId,
8102
8198
  apiHost: e.apiHost,
8103
8199
  isNestedRender: e.isNestedRender,
@@ -8121,8 +8217,8 @@ function qu(e, t, n, r, o, i) {
8121
8217
  contentWrapperProps: e.contentWrapperProps,
8122
8218
  trustedHosts: e.trustedHosts
8123
8219
  }, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
8124
- ], 64)) : L("", !0),
8125
- Z(c, q({
8220
+ ], 64)) : F("", !0),
8221
+ ee(c, q({
8126
8222
  apiHost: e.apiHost,
8127
8223
  nonce: e.nonce,
8128
8224
  isNestedRender: e.isNestedRender,
@@ -8172,11 +8268,11 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8172
8268
  components: { ContentVariants: Gu, DynamicDiv: Ct },
8173
8269
  props: [
8174
8270
  "symbol",
8271
+ "builderComponents",
8175
8272
  "attributes",
8176
8273
  "dynamic",
8177
8274
  "builderContext",
8178
8275
  "builderBlock",
8179
- "builderComponents",
8180
8276
  "builderLinkComponent"
8181
8277
  ],
8182
8278
  data() {
@@ -8184,7 +8280,7 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8184
8280
  return {
8185
8281
  contentToUse: (e = this.symbol) == null ? void 0 : e.content,
8186
8282
  symbolEntry: (t = this.symbol) == null ? void 0 : t.entry,
8187
- filterAttrs: me
8283
+ filterAttrs: de
8188
8284
  };
8189
8285
  },
8190
8286
  mounted() {
@@ -8205,10 +8301,13 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8205
8301
  contentWrapper() {
8206
8302
  return "div";
8207
8303
  },
8304
+ customComponents() {
8305
+ return Object.values(this.builderComponents);
8306
+ },
8208
8307
  className() {
8209
8308
  var e, t;
8210
8309
  return [
8211
- this.attributes[Ge()],
8310
+ this.attributes[Oe()],
8212
8311
  "builder-symbol",
8213
8312
  (e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
8214
8313
  (t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
@@ -8234,10 +8333,10 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8234
8333
  }
8235
8334
  });
8236
8335
  function Xu(e, t, n, r, o, i) {
8237
- var u, c, h, v, b;
8336
+ var u, c, h, y, b;
8238
8337
  const s = W("ContentVariants");
8239
- return y(), E("div", q({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
8240
- Z(s, {
8338
+ return v(), w("div", q({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
8339
+ ee(s, {
8241
8340
  nonce: e.builderContext.nonce,
8242
8341
  isNestedRender: !0,
8243
8342
  apiVersion: e.builderContext.apiVersion,
@@ -8246,11 +8345,11 @@ function Xu(e, t, n, r, o, i) {
8246
8345
  ...e.builderContext.context,
8247
8346
  symbolId: (u = e.builderBlock) == null ? void 0 : u.id
8248
8347
  },
8249
- customComponents: Object.values(e.builderComponents),
8348
+ customComponents: e.customComponents,
8250
8349
  data: {
8251
8350
  ...(c = e.symbol) == null ? void 0 : c.data,
8252
8351
  ...e.builderContext.localState,
8253
- ...(v = (h = e.contentToUse) == null ? void 0 : h.data) == null ? void 0 : v.state
8352
+ ...(y = (h = e.contentToUse) == null ? void 0 : h.data) == null ? void 0 : y.state
8254
8353
  },
8255
8354
  canTrack: e.builderContext.canTrack,
8256
8355
  model: ((b = e.symbol) == null ? void 0 : b.model) ?? "",
@@ -8263,43 +8362,45 @@ function Xu(e, t, n, r, o, i) {
8263
8362
  }
8264
8363
  const Yu = /* @__PURE__ */ j(Ju, [["render", Xu]]);
8265
8364
  export {
8266
- Ps as A,
8267
- Eo as B,
8365
+ oc as A,
8366
+ To as B,
8268
8367
  pa as C,
8269
- Os as D,
8270
- Kn as E,
8368
+ sc as D,
8369
+ Ps as E,
8271
8370
  ha as F,
8272
- Zu as G,
8273
- lc as H,
8371
+ Os as G,
8372
+ Kn as H,
8274
8373
  Ca as I,
8275
- Ta as S,
8374
+ Zu as J,
8375
+ uc as K,
8376
+ Ea as S,
8276
8377
  G as T,
8277
8378
  du as V,
8278
- Mt as _,
8279
- sc as a,
8280
- uc as b,
8281
- Be as c,
8282
- zn as d,
8283
- j as e,
8284
- kt as f,
8285
- aa as g,
8379
+ j as _,
8380
+ Oe as a,
8381
+ yn as b,
8382
+ Mt as c,
8383
+ Be as d,
8384
+ kt as e,
8385
+ aa as f,
8386
+ lc as g,
8286
8387
  ac as h,
8287
- Ge as i,
8288
- yn as j,
8289
- oi as k,
8290
- Yu as l,
8291
- fl as m,
8292
- Ue as n,
8293
- Gu as o,
8294
- re as p,
8295
- Wn as q,
8296
- Ji as r,
8297
- oc as s,
8298
- ec as t,
8299
- tc as u,
8300
- no as v,
8301
- Lu as w,
8388
+ oe as i,
8389
+ cc as j,
8390
+ zn as k,
8391
+ _i as l,
8392
+ oi as m,
8393
+ Yu as n,
8394
+ fl as o,
8395
+ Ue as p,
8396
+ Gu as q,
8397
+ Wn as r,
8398
+ ic as s,
8399
+ Ji as t,
8400
+ ec as u,
8401
+ tc as v,
8402
+ Fu as w,
8302
8403
  nc as x,
8303
- rc as y,
8304
- ic as z
8404
+ no as y,
8405
+ rc as z
8305
8406
  };