@builder.io/sdk-vue 5.1.0 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/lib/browser/{awaiter-GjRYxPnU.cjs → awaiter-Xj7xgU8A.cjs} +1 -1
  2. package/lib/browser/{awaiter-5WjT5CVy.js → awaiter-fiHMd9OX.js} +1 -1
  3. package/lib/browser/block-wrapper-2d_iPFQQ.js +51 -0
  4. package/lib/browser/block-wrapper-lKLgKxgH.cjs +1 -0
  5. package/lib/browser/blocks/form/form/form.vue.d.ts +3 -3
  6. package/lib/browser/blocks/form/input/input.vue.d.ts +3 -3
  7. package/lib/browser/blocks/symbol/symbol.helpers.d.ts +2 -0
  8. package/lib/browser/blocks/symbol/symbol.types.d.ts +2 -0
  9. package/lib/browser/component-ref-Bo_fwbYK.cjs +1 -0
  10. package/lib/browser/component-ref-YEfZKvMy.js +185 -0
  11. package/lib/browser/components/content/components/enable-editor.vue.d.ts +9 -9
  12. package/lib/browser/components/content/components/styles.vue.d.ts +3 -3
  13. package/lib/browser/components/content/content.vue.d.ts +9 -9
  14. package/lib/browser/components/content-variants/content-variants.vue.d.ts +9 -9
  15. package/lib/browser/components/inlined-script.vue.d.ts +3 -3
  16. package/lib/browser/components/inlined-styles.vue.d.ts +3 -3
  17. package/lib/browser/constants/sdk-version.d.ts +1 -1
  18. package/lib/browser/functions/evaluate/evaluate.d.ts +1 -1
  19. package/lib/browser/functions/evaluate/helpers.d.ts +9 -1
  20. package/lib/browser/functions/get-block-actions-handler.d.ts +2 -0
  21. package/lib/browser/functions/get-block-actions.d.ts +2 -0
  22. package/lib/{edge/get-block-properties--YFzBEV7.js → browser/get-block-properties-5nuoWf39.js} +9 -7
  23. package/lib/browser/get-block-properties-d-Ruoi4f.cjs +1 -0
  24. package/lib/browser/index-1GET5eOz.cjs +334 -0
  25. package/lib/browser/{index-EQdaCBDB.js → index-eVqO7_Qb.js} +475 -459
  26. package/lib/browser/index.cjs +1 -1
  27. package/lib/browser/index.mjs +1 -1
  28. package/lib/browser/{live-edit-tO-V6Sv7.js → live-edit-9paJdIsz.js} +1 -1
  29. package/lib/browser/{live-edit-Jion_iv8.cjs → live-edit-ETOoXz63.cjs} +1 -1
  30. package/lib/browser/{repeated-block-kNj6mfjr.js → repeated-block-A24n6o-E.js} +2 -2
  31. package/lib/browser/{repeated-block-uNYlrd8d.cjs → repeated-block-RfWox6Ev.cjs} +1 -1
  32. package/lib/browser/{style-wrapper-jthdwC6f.cjs → style-wrapper-GTejPbe6.cjs} +1 -1
  33. package/lib/browser/{style-wrapper-CSSH3Epu.js → style-wrapper-tibcUSpL.js} +1 -1
  34. package/lib/edge/{awaiter-0PdAd6k-.cjs → awaiter-SdqgCFCT.cjs} +1 -1
  35. package/lib/edge/{awaiter-OJqvwrja.js → awaiter-rbgcBB2Y.js} +1 -1
  36. package/lib/edge/block-wrapper-DYh1gucy.js +50 -0
  37. package/lib/edge/block-wrapper-WT0fK9OQ.cjs +1 -0
  38. package/lib/edge/blocks/form/form/form.vue.d.ts +3 -3
  39. package/lib/edge/blocks/form/input/input.vue.d.ts +3 -3
  40. package/lib/edge/blocks/symbol/symbol.helpers.d.ts +2 -0
  41. package/lib/edge/blocks/symbol/symbol.types.d.ts +2 -0
  42. package/lib/edge/component-ref-14bWdw0y.js +184 -0
  43. package/lib/edge/component-ref-Ari_o8qM.cjs +1 -0
  44. package/lib/edge/components/content/components/enable-editor.vue.d.ts +9 -9
  45. package/lib/edge/components/content/components/styles.vue.d.ts +3 -3
  46. package/lib/edge/components/content/content.vue.d.ts +9 -9
  47. package/lib/edge/components/content-variants/content-variants.vue.d.ts +9 -9
  48. package/lib/edge/components/inlined-script.vue.d.ts +3 -3
  49. package/lib/edge/components/inlined-styles.vue.d.ts +3 -3
  50. package/lib/edge/constants/sdk-version.d.ts +1 -1
  51. package/lib/edge/functions/evaluate/evaluate.d.ts +1 -1
  52. package/lib/edge/functions/evaluate/helpers.d.ts +9 -1
  53. package/lib/edge/functions/get-block-actions-handler.d.ts +2 -0
  54. package/lib/edge/functions/get-block-actions.d.ts +2 -0
  55. package/lib/{browser/get-block-properties-dmm_DIxo.js → edge/get-block-properties-6j21Yx4_.js} +17 -17
  56. package/lib/edge/get-block-properties-kMAb8z5D.cjs +1 -0
  57. package/lib/edge/{index-ljVeDS39.cjs → index-2Armmtcs.cjs} +17 -17
  58. package/lib/edge/{index-Agn-gjHJ.js → index-unVH2XRb.js} +848 -832
  59. package/lib/edge/index.cjs +1 -1
  60. package/lib/edge/index.mjs +1 -1
  61. package/lib/{node/live-edit-jWT4dXgM.cjs → edge/live-edit-gMqK1-U2.cjs} +1 -1
  62. package/lib/{node/live-edit-E90Rueqo.js → edge/live-edit-yXkE9pDV.js} +1 -1
  63. package/lib/{node/repeated-block-gCLdrEyt.js → edge/repeated-block-F4oPiI78.js} +2 -2
  64. package/lib/edge/{repeated-block-GaabRNMP.cjs → repeated-block-Y0Z3ldLT.cjs} +1 -1
  65. package/lib/edge/{style-wrapper-I1DS5PUP.js → style-wrapper-Ad7ABy2Z.js} +1 -1
  66. package/lib/edge/{style-wrapper-MIBe_b13.cjs → style-wrapper-sL972lDH.cjs} +1 -1
  67. package/lib/node/{awaiter-qP3UIYQS.js → awaiter-_ZqW9w8N.js} +1 -1
  68. package/lib/node/{awaiter-ZX8mvzyL.cjs → awaiter-i0lAEAYI.cjs} +1 -1
  69. package/lib/node/block-wrapper-Bv_s1rr1.cjs +1 -0
  70. package/lib/node/block-wrapper-CnMu7UjK.js +50 -0
  71. package/lib/node/blocks/form/form/form.vue.d.ts +3 -3
  72. package/lib/node/blocks/form/input/input.vue.d.ts +3 -3
  73. package/lib/node/blocks/symbol/symbol.helpers.d.ts +2 -0
  74. package/lib/node/blocks/symbol/symbol.types.d.ts +2 -0
  75. package/lib/node/component-ref-LWytt0tD.cjs +1 -0
  76. package/lib/node/component-ref-lU9WFg32.js +185 -0
  77. package/lib/node/components/content/components/enable-editor.vue.d.ts +9 -9
  78. package/lib/node/components/content/components/styles.vue.d.ts +3 -3
  79. package/lib/node/components/content/content.vue.d.ts +9 -9
  80. package/lib/node/components/content-variants/content-variants.vue.d.ts +9 -9
  81. package/lib/node/components/inlined-script.vue.d.ts +3 -3
  82. package/lib/node/components/inlined-styles.vue.d.ts +3 -3
  83. package/lib/node/constants/sdk-version.d.ts +1 -1
  84. package/lib/node/functions/evaluate/evaluate.d.ts +1 -1
  85. package/lib/node/functions/evaluate/helpers.d.ts +9 -1
  86. package/lib/node/functions/get-block-actions-handler.d.ts +2 -0
  87. package/lib/node/functions/get-block-actions.d.ts +2 -0
  88. package/lib/node/{get-block-properties-o5VoFlz_.js → get-block-properties-oSP4WCJG.js} +18 -17
  89. package/lib/node/get-block-properties-sdbm535D.cjs +1 -0
  90. package/lib/node/{index-SH8gdiHf.js → index-9Wxomhx_.js} +702 -900
  91. package/lib/node/{index-AumTeVyL.cjs → index-z7Ed9MEJ.cjs} +30 -30
  92. package/lib/node/index.cjs +1 -1
  93. package/lib/node/index.mjs +11 -11
  94. package/lib/node/init.cjs +1 -1
  95. package/lib/node/init.mjs +1 -1
  96. package/lib/{edge/live-edit-TWpZ33A7.js → node/live-edit-ZjrPT1e_.js} +1 -1
  97. package/lib/{edge/live-edit-nHq1I7ij.cjs → node/live-edit-nQPgUSEF.cjs} +1 -1
  98. package/lib/node/{repeated-block-4pHYUEBM.cjs → repeated-block-G-7Wr2Ub.cjs} +1 -1
  99. package/lib/{edge/repeated-block-_wYfLmVg.js → node/repeated-block-zGwBOU59.js} +2 -2
  100. package/lib/node/{should-force-browser-runtime-in-node-5h08TaCf.js → should-force-browser-runtime-in-node-0jTQ7bdA.js} +261 -41
  101. package/lib/node/should-force-browser-runtime-in-node-kkE7IeZS.cjs +48 -0
  102. package/lib/node/{style-wrapper-7nh-8JLA.cjs → style-wrapper-QZvOi8Ur.cjs} +1 -1
  103. package/lib/node/{style-wrapper-1rHE_XSt.js → style-wrapper-QtIk1dHP.js} +10 -10
  104. package/package.json +1 -1
  105. package/lib/browser/block-wrapper-8v7I2JSB.cjs +0 -1
  106. package/lib/browser/block-wrapper-s3-0mqGr.js +0 -44
  107. package/lib/browser/component-ref-8g4g9kyF.js +0 -178
  108. package/lib/browser/component-ref-r7lSDLc0.cjs +0 -1
  109. package/lib/browser/get-block-properties-GPPIll7t.cjs +0 -1
  110. package/lib/browser/index-Treb985Y.cjs +0 -334
  111. package/lib/edge/block-wrapper-DfG53TBm.cjs +0 -1
  112. package/lib/edge/block-wrapper-LzMR5J5q.js +0 -43
  113. package/lib/edge/component-ref-30u-bbmm.js +0 -177
  114. package/lib/edge/component-ref-VTMpfeME.cjs +0 -1
  115. package/lib/edge/get-block-properties-yv9bFXVp.cjs +0 -1
  116. package/lib/node/block-wrapper-3FbaAWv9.js +0 -43
  117. package/lib/node/block-wrapper-mEOIfHOk.cjs +0 -1
  118. package/lib/node/component-ref-DHpSqIaD.cjs +0 -1
  119. package/lib/node/component-ref-MKSj3oym.js +0 -178
  120. package/lib/node/get-block-properties-b4xkM8mc.cjs +0 -1
  121. package/lib/node/should-force-browser-runtime-in-node-IsToRTN-.cjs +0 -48
@@ -1,4 +1,4 @@
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";
1
+ import { defineComponent as B, openBlock as v, createElementBlock as w, Fragment as z, createBlock as U, resolveDynamicComponent as dt, mergeProps as q, toHandlers as ye, withCtx as me, renderSlot as pe, resolveComponent as W, createTextVNode as Xo, toDisplayString as Wt, defineAsyncComponent as st, createVNode as ee, renderList as ve, createCommentVNode as F, h as 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
3
  function de(e = {}, t, n) {
4
4
  const r = {};
@@ -90,12 +90,12 @@ function ri(e, t, n, r, o, i) {
90
90
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
91
91
  }, {
92
92
  default: me(() => [
93
- Xo(Ut(e.text), 1)
93
+ Xo(Wt(e.text), 1)
94
94
  ]),
95
95
  _: 1
96
96
  }, 8, ["attributes", "TagName", "actionAttributes"]);
97
97
  }
98
- const oi = /* @__PURE__ */ j(ni, [["render", ri]]), ii = Symbol(), yn = {
98
+ const oi = /* @__PURE__ */ j(ni, [["render", ri]]), ii = Symbol(), vn = {
99
99
  Builder: {
100
100
  content: null,
101
101
  context: {},
@@ -173,7 +173,205 @@ const ui = () => {
173
173
  host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
174
174
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
175
175
  };
176
- }, _r = ({
176
+ }, _r = "5.2.0", Jr = () => ({
177
+ "X-Builder-SDK": G,
178
+ "X-Builder-SDK-GEN": "2",
179
+ "X-Builder-SDK-Version": _r
180
+ }), Ne = (e) => e != null, pi = (e) => {
181
+ if (e === "localhost" || e === "127.0.0.1")
182
+ return e;
183
+ const t = e.split(".");
184
+ return t.length > 2 ? t.slice(1).join(".") : e;
185
+ }, Lt = ({
186
+ name: e,
187
+ canTrack: t
188
+ }) => {
189
+ var n;
190
+ try {
191
+ return t ? (n = document.cookie.split("; ").find((r) => r.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
192
+ } catch (r) {
193
+ ue.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
194
+ return;
195
+ }
196
+ }, Xr = async (e) => Lt(e), di = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Ne).join("; "), fi = [["secure", ""], ["SameSite", "None"]], hi = ({
197
+ name: e,
198
+ value: t,
199
+ expires: n
200
+ }) => {
201
+ const o = (M() ? location.protocol === "https:" : !0) ? fi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", pi(window.location.hostname)], ...o];
202
+ return di(s);
203
+ }, In = async ({
204
+ name: e,
205
+ value: t,
206
+ expires: n,
207
+ canTrack: r
208
+ }) => {
209
+ try {
210
+ if (!r)
211
+ return;
212
+ const o = hi({
213
+ name: e,
214
+ value: t,
215
+ expires: n
216
+ });
217
+ document.cookie = o;
218
+ } catch (o) {
219
+ ue.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
220
+ }
221
+ };
222
+ function mi() {
223
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
224
+ const t = Math.random() * 16 | 0;
225
+ return (e == "x" ? t : t & 3 | 8).toString(16);
226
+ });
227
+ }
228
+ function Yr() {
229
+ return mi().replace(/-/g, "");
230
+ }
231
+ const Qr = "builderSessionId", gi = async ({
232
+ canTrack: e
233
+ }) => {
234
+ if (!e)
235
+ return;
236
+ const t = await Xr({
237
+ name: Qr,
238
+ canTrack: e
239
+ });
240
+ if (Ne(t))
241
+ return t;
242
+ {
243
+ const n = yi();
244
+ return vi({
245
+ id: n,
246
+ canTrack: e
247
+ }), n;
248
+ }
249
+ }, yi = () => Yr(), vi = ({
250
+ id: e,
251
+ canTrack: t
252
+ }) => In({
253
+ name: Qr,
254
+ value: e,
255
+ canTrack: t
256
+ }), Zr = () => M() && typeof localStorage < "u" ? localStorage : void 0, bi = ({
257
+ key: e,
258
+ canTrack: t
259
+ }) => {
260
+ var n;
261
+ try {
262
+ return t ? (n = Zr()) == null ? void 0 : n.getItem(e) : void 0;
263
+ } catch (r) {
264
+ console.debug("[LocalStorage] GET error: ", r);
265
+ return;
266
+ }
267
+ }, Si = ({
268
+ key: e,
269
+ canTrack: t,
270
+ value: n
271
+ }) => {
272
+ var r;
273
+ try {
274
+ t && ((r = Zr()) == null || r.setItem(e, n));
275
+ } catch (o) {
276
+ console.debug("[LocalStorage] SET error: ", o);
277
+ }
278
+ }, eo = "builderVisitorId", ki = ({
279
+ canTrack: e
280
+ }) => {
281
+ if (!e)
282
+ return;
283
+ const t = bi({
284
+ key: eo,
285
+ canTrack: e
286
+ });
287
+ if (Ne(t))
288
+ return t;
289
+ {
290
+ const n = Ci();
291
+ return wi({
292
+ id: n,
293
+ canTrack: e
294
+ }), n;
295
+ }
296
+ }, Ci = () => Yr(), wi = ({
297
+ id: e,
298
+ canTrack: t
299
+ }) => Si({
300
+ key: eo,
301
+ value: e,
302
+ canTrack: t
303
+ });
304
+ function Rn(e) {
305
+ var t;
306
+ typeof process < "u" && ((t = process.env) != null && t.DEBUG) && String(process.env.DEBUG) == "true" && ue.log(e);
307
+ }
308
+ const Ti = async ({
309
+ canTrack: e
310
+ }) => {
311
+ if (!e)
312
+ return {
313
+ visitorId: void 0,
314
+ sessionId: void 0
315
+ };
316
+ const t = await gi({
317
+ canTrack: e
318
+ }), n = ki({
319
+ canTrack: e
320
+ });
321
+ return {
322
+ sessionId: t,
323
+ visitorId: n
324
+ };
325
+ }, Ei = async ({
326
+ type: e,
327
+ canTrack: t,
328
+ apiKey: n,
329
+ metadata: r,
330
+ ...o
331
+ }) => ({
332
+ type: e,
333
+ data: {
334
+ ...o,
335
+ metadata: {
336
+ url: location.href,
337
+ ...r
338
+ },
339
+ ...await Ti({
340
+ canTrack: t
341
+ }),
342
+ userAttributes: Gr(),
343
+ ownerId: n
344
+ }
345
+ });
346
+ async function jt({
347
+ apiHost: e,
348
+ ...t
349
+ }) {
350
+ if (!t.apiKey) {
351
+ ue.error("Missing API key for track call. Please provide your API key.");
352
+ return;
353
+ }
354
+ if (!t.canTrack || oe() || !(M() || G === "reactNative"))
355
+ return;
356
+ const r = `${e || "https://cdn.builder.io"}/api/v1/track`;
357
+ return Rn(r), fetch(r, {
358
+ method: "POST",
359
+ body: JSON.stringify({
360
+ events: [await Ei(t)]
361
+ }),
362
+ headers: {
363
+ "content-type": "application/json",
364
+ ...Jr()
365
+ },
366
+ mode: "cors"
367
+ }).catch((o) => {
368
+ console.error("Failed to track: ", o);
369
+ });
370
+ }
371
+ const ec = (e) => jt({
372
+ ...e,
373
+ canTrack: !0
374
+ }), to = ({
177
375
  builder: e,
178
376
  context: t,
179
377
  event: n,
@@ -185,15 +383,30 @@ const ui = () => {
185
383
  builder: e,
186
384
  context: t,
187
385
  event: n
188
- }), pi = () => ({
386
+ }), Ii = (e) => ({
189
387
  isEditing: oe(),
190
388
  isBrowser: M(),
191
389
  isServer: !M(),
192
- getUserAttributes: () => Gr()
193
- }), di = (e, {
390
+ getUserAttributes: () => Gr(),
391
+ trackConversion: (t, n) => {
392
+ !(e != null && e.apiKey) || (e == null ? void 0 : e.canTrack) === !1 || jt({
393
+ type: "conversion",
394
+ apiKey: e.apiKey,
395
+ canTrack: e.canTrack ?? !0,
396
+ contentId: e.contentId,
397
+ variationId: e.variationId !== e.contentId ? e.variationId : void 0,
398
+ metadata: {
399
+ ...n || {},
400
+ ...t !== void 0 ? {
401
+ amount: t
402
+ } : {}
403
+ }
404
+ });
405
+ }
406
+ }), Ri = (e, {
194
407
  isExpression: t = !0
195
408
  }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e;
196
- function In({
409
+ function An({
197
410
  rootState: e,
198
411
  localState: t,
199
412
  rootSetState: n
@@ -203,7 +416,7 @@ function In({
203
416
  if (t && o in t)
204
417
  return t[o];
205
418
  const i = r[o];
206
- return typeof i == "object" && i !== null ? In({
419
+ return typeof i == "object" && i !== null ? An({
207
420
  rootState: i,
208
421
  localState: void 0,
209
422
  rootSetState: n ? (s) => {
@@ -218,7 +431,7 @@ function In({
218
431
  }
219
432
  });
220
433
  }
221
- const hi = ({
434
+ const Ai = ({
222
435
  code: e,
223
436
  builder: t,
224
437
  context: n,
@@ -227,11 +440,11 @@ const hi = ({
227
440
  rootSetState: i,
228
441
  rootState: s
229
442
  }) => {
230
- const u = _r({
443
+ const u = to({
231
444
  builder: t,
232
445
  context: n,
233
446
  event: r,
234
- state: In({
447
+ state: An({
235
448
  rootState: s,
236
449
  localState: o,
237
450
  rootSetState: i
@@ -239,7 +452,7 @@ const hi = ({
239
452
  });
240
453
  return new Function(...u.map(([c]) => c), e)(...u.map(([, c]) => c));
241
454
  };
242
- var V, fi = function(e) {
455
+ var V, $i = function(e) {
243
456
  function t(a) {
244
457
  return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && _o.test(String.fromCharCode(a));
245
458
  }
@@ -247,16 +460,16 @@ var V, fi = function(e) {
247
460
  return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Tr.test(String.fromCharCode(a));
248
461
  }
249
462
  function r(a, l) {
250
- for (var p = k, h = 1, P = 0; ; ) {
251
- $t.lastIndex = P;
252
- var Q = $t.exec(p);
463
+ for (var p = k, f = 1, P = 0; ; ) {
464
+ xt.lastIndex = P;
465
+ var Q = xt.exec(p);
253
466
  if (Q && Q.index < a)
254
- ++h, P = Q.index + Q[0].length;
467
+ ++f, P = Q.index + Q[0].length;
255
468
  else
256
469
  break;
257
470
  }
258
471
  throw p = {
259
- line: h,
472
+ line: f,
260
473
  ab: a - P
261
474
  }, l += " (" + p.line + ":" + p.ab + ")", l = new SyntaxError(l), l.j = a, l.X = p, l.o = d, l;
262
475
  }
@@ -264,15 +477,15 @@ var V, fi = function(e) {
264
477
  a = a.split(" ");
265
478
  for (var l = /* @__PURE__ */ Object.create(null), p = 0; p < a.length; p++)
266
479
  l[a[p]] = !0;
267
- return function(h) {
268
- return l[h] || !1;
480
+ return function(f) {
481
+ return l[f] || !1;
269
482
  };
270
483
  }
271
484
  function i() {
272
485
  this.line = Ve, this.ab = d - ke;
273
486
  }
274
487
  function s(a, l) {
275
- Fe = d, O.C && (Yt = new i()), $ = a, c(), he = l, tt = a.m;
488
+ Fe = d, O.C && (Qt = new i()), x = a, c(), fe = l, tt = a.m;
276
489
  }
277
490
  function u() {
278
491
  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; )
@@ -293,11 +506,11 @@ var V, fi = function(e) {
293
506
  else if (a === 47)
294
507
  if (a = k.charCodeAt(d + 1), a === 42) {
295
508
  a = void 0;
296
- var l = O.va && O.C && new i(), p = d, h = k.indexOf("*/", d += 2);
297
- if (h === -1 && r(d - 2, "Unterminated comment"), d = h + 2, O.C)
298
- for ($t.lastIndex = p; (a = $t.exec(k)) && a.index < d; )
509
+ var l = O.va && O.C && new i(), p = d, f = k.indexOf("*/", d += 2);
510
+ if (f === -1 && r(d - 2, "Unterminated comment"), d = f + 2, O.C)
511
+ for (xt.lastIndex = p; (a = xt.exec(k)) && a.index < d; )
299
512
  ++Ve, ke = a.index + a[0].length;
300
- O.va && O.va(!0, k.slice(p + 2, h), p, d, l, O.C && new i());
513
+ O.va && O.va(!0, k.slice(p + 2, f), p, d, l, O.C && new i());
301
514
  } else if (a === 47)
302
515
  u();
303
516
  else
@@ -310,7 +523,7 @@ var V, fi = function(e) {
310
523
  break;
311
524
  }
312
525
  }
313
- function f(a) {
526
+ function m(a) {
314
527
  switch (a) {
315
528
  case 46:
316
529
  a = k.charCodeAt(d + 1), 48 <= a && 57 >= a ? A(!0) : (++d, s(gr));
@@ -322,11 +535,11 @@ var V, fi = function(e) {
322
535
  case 59:
323
536
  return ++d, s(we);
324
537
  case 44:
325
- return ++d, s($e);
538
+ return ++d, s(xe);
326
539
  case 91:
327
- return ++d, s(ln);
328
- case 93:
329
540
  return ++d, s(un);
541
+ case 93:
542
+ return ++d, s(cn);
330
543
  case 123:
331
544
  return ++d, s(ot);
332
545
  case 125:
@@ -362,11 +575,11 @@ var V, fi = function(e) {
362
575
  }
363
576
  if (p === 92) {
364
577
  p = k.charCodeAt(++d);
365
- var h = /^[0-7]+/.exec(k.slice(d, d + 3));
366
- for (h && (h = h[0]); h && 255 < parseInt(h, 8); )
367
- h = h.slice(0, -1);
368
- if (h === "0" && (h = null), ++d, h)
369
- ce && r(d - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(h, 8)), d += h.length - 1;
578
+ var f = /^[0-7]+/.exec(k.slice(d, d + 3));
579
+ for (f && (f = f[0]); f && 255 < parseInt(f, 8); )
580
+ f = f.slice(0, -1);
581
+ if (f === "0" && (f = null), ++d, f)
582
+ ce && r(d - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(f, 8)), d += f.length - 1;
370
583
  else
371
584
  switch (p) {
372
585
  case 110:
@@ -377,13 +590,13 @@ var V, fi = function(e) {
377
590
  l += "\r";
378
591
  break;
379
592
  case 120:
380
- l += String.fromCharCode(x(2));
593
+ l += String.fromCharCode($(2));
381
594
  break;
382
595
  case 117:
383
- l += String.fromCharCode(x(4));
596
+ l += String.fromCharCode($(4));
384
597
  break;
385
598
  case 85:
386
- l += String.fromCharCode(x(8));
599
+ l += String.fromCharCode($(8));
387
600
  break;
388
601
  case 116:
389
602
  l += " ";
@@ -413,7 +626,7 @@ var V, fi = function(e) {
413
626
  }
414
627
  return;
415
628
  case 47:
416
- a = k.charCodeAt(d + 1), tt ? (++d, m()) : a === 61 ? b(De, 2) : b(vr, 1);
629
+ a = k.charCodeAt(d + 1), tt ? (++d, h()) : a === 61 ? b(De, 2) : b(vr, 1);
417
630
  return;
418
631
  case 37:
419
632
  case 42:
@@ -428,7 +641,7 @@ var V, fi = function(e) {
428
641
  return;
429
642
  case 43:
430
643
  case 45:
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);
644
+ l = k.charCodeAt(d + 1), l === a ? l === 45 && k.charCodeAt(d + 2) === 62 && $t.test(k.slice($e, d)) ? (d += 3, u(), c(), y()) : b(Vo, 2) : l === 61 ? b(De, 2) : b(Ho, 1);
432
645
  return;
433
646
  case 60:
434
647
  case 62:
@@ -444,13 +657,13 @@ var V, fi = function(e) {
444
657
  return !1;
445
658
  }
446
659
  function y(a) {
447
- if (a ? d = Y + 1 : Y = d, O.C && (Xt = new i()), a)
448
- return m();
660
+ if (a ? d = Y + 1 : Y = d, O.C && (Yt = new i()), a)
661
+ return h();
449
662
  if (d >= Le)
450
- return s(en);
663
+ return s(tn);
451
664
  if (a = k.charCodeAt(d), n(a) || a === 92)
452
665
  return te();
453
- if (f(a) === !1) {
666
+ if (m(a) === !1) {
454
667
  if (a = String.fromCharCode(a), a === "\\" || Tr.test(a))
455
668
  return te();
456
669
  r(d, "Unexpected character '" + a + "'");
@@ -460,20 +673,20 @@ var V, fi = function(e) {
460
673
  var p = k.slice(d, d + l);
461
674
  d += l, s(a, p);
462
675
  }
463
- function m() {
676
+ function h() {
464
677
  for (var a, l, p = d; ; ) {
465
678
  d >= Le && r(p, "Unterminated regexp");
466
- var h = k.charAt(d);
467
- if (xt.test(h) && r(p, "Unterminated regexp"), a)
679
+ var f = k.charAt(d);
680
+ if ($t.test(f) && r(p, "Unterminated regexp"), a)
468
681
  a = !1;
469
682
  else {
470
- if (h === "[")
683
+ if (f === "[")
471
684
  l = !0;
472
- else if (h === "]" && l)
685
+ else if (f === "]" && l)
473
686
  l = !1;
474
- else if (h === "/" && !l)
687
+ else if (f === "/" && !l)
475
688
  break;
476
- a = h === "\\";
689
+ a = f === "\\";
477
690
  }
478
691
  ++d;
479
692
  }
@@ -486,33 +699,33 @@ var V, fi = function(e) {
486
699
  s(Yn, P);
487
700
  }
488
701
  function S(a, l) {
489
- for (var p = d, h = 0, P = l === void 0 ? 1 / 0 : l, Q = 0; Q < P; ++Q) {
702
+ for (var p = d, f = 0, P = l === void 0 ? 1 / 0 : l, Q = 0; Q < P; ++Q) {
490
703
  var se = k.charCodeAt(d);
491
704
  if (se = 97 <= se ? se - 97 + 10 : 65 <= se ? se - 65 + 10 : 48 <= se && 57 >= se ? se - 48 : 1 / 0, se >= a)
492
705
  break;
493
- ++d, h = h * a + se;
706
+ ++d, f = f * a + se;
494
707
  }
495
- return d === p || l !== void 0 && d - p !== l ? null : h;
708
+ return d === p || l !== void 0 && d - p !== l ? null : f;
496
709
  }
497
710
  function A(a) {
498
- var l = d, p = !1, h = k.charCodeAt(d) === 48;
711
+ var l = d, p = !1, f = k.charCodeAt(d) === 48;
499
712
  a || S(10) !== null || r(l, "Invalid number"), k.charCodeAt(d) === 46 && (++d, S(10), p = !0), a = k.charCodeAt(d), (a === 69 || a === 101) && (a = k.charCodeAt(++d), a !== 43 && a !== 45 || ++d, S(10) === null && r(l, "Invalid number"), p = !0), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), a = k.slice(l, d);
500
713
  var P;
501
- p ? P = parseFloat(a) : h && a.length !== 1 ? /[89]/.test(a) || ce ? r(l, "Invalid number") : P = parseInt(a, 8) : P = parseInt(a, 10), s(rt, P);
714
+ 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
715
  }
503
- function x(a) {
716
+ function $(a) {
504
717
  return a = S(16, a), a === null && r(Y, "Bad character escape sequence"), a;
505
718
  }
506
719
  function H() {
507
720
  Ke = !1;
508
721
  for (var a, l = !0, p = d; ; ) {
509
- var h = k.charCodeAt(d);
510
- if (t(h))
722
+ var f = k.charCodeAt(d);
723
+ if (t(f))
511
724
  Ke && (a += k.charAt(d)), ++d;
512
- else if (h === 92) {
513
- Ke || (a = k.slice(p, d)), Ke = !0, k.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, h = x(4);
514
- var P = String.fromCharCode(h);
515
- P || r(d - 1, "Invalid Unicode escape"), (l ? n(h) : t(h)) || r(d - 4, "Invalid Unicode escape"), a += P;
725
+ else if (f === 92) {
726
+ Ke || (a = k.slice(p, d)), Ke = !0, k.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, f = $(4);
727
+ var P = String.fromCharCode(f);
728
+ P || r(d - 1, "Invalid Unicode escape"), (l ? n(f) : t(f)) || r(d - 4, "Invalid Unicode escape"), a += P;
516
729
  } else
517
730
  break;
518
731
  l = !1;
@@ -524,7 +737,7 @@ var V, fi = function(e) {
524
737
  !Ke && qo(a) && (l = jo[a]), s(l, a);
525
738
  }
526
739
  function E() {
527
- Qt = Y, xe = Fe, Zt = Yt, y();
740
+ Zt = Y, $e = Fe, en = Qt, y();
528
741
  }
529
742
  function D(a) {
530
743
  if (ce = a, d = Y, O.C)
@@ -537,7 +750,7 @@ var V, fi = function(e) {
537
750
  this.type = null, this.start = Y, this.end = null;
538
751
  }
539
752
  function Ae() {
540
- this.start = Xt, this.end = null, Jt && (this.source = Jt);
753
+ this.start = Yt, this.end = null, Xt && (this.source = Xt);
541
754
  }
542
755
  function K() {
543
756
  var a = new ie();
@@ -548,22 +761,22 @@ var V, fi = function(e) {
548
761
  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
762
  }
550
763
  function R(a, l) {
551
- return a.type = l, a.end = xe, O.C && (a.X.end = Zt), O.Xa && (a.j[1] = xe), a;
764
+ return a.type = l, a.end = $e, O.C && (a.X.end = en), O.Xa && (a.j[1] = $e), a;
552
765
  }
553
766
  function We(a) {
554
767
  return a.type === "ExpressionStatement" && a.la.type === "Literal" && a.la.value === "use strict";
555
768
  }
556
769
  function L(a) {
557
- return $ === a ? (E(), !0) : !1;
770
+ return x === a ? (E(), !0) : !1;
558
771
  }
559
772
  function wt() {
560
- return !O.fc && ($ === en || $ === He || xt.test(k.slice(xe, Y)));
773
+ return !O.fc && (x === tn || x === He || $t.test(k.slice($e, Y)));
561
774
  }
562
775
  function je() {
563
776
  L(we) || wt() || be();
564
777
  }
565
778
  function J(a) {
566
- $ === a ? E() : be();
779
+ x === a ? E() : be();
567
780
  }
568
781
  function be() {
569
782
  r(Y, "Unexpected token");
@@ -571,59 +784,59 @@ var V, fi = function(e) {
571
784
  function Tt(a) {
572
785
  a.type !== "Identifier" && a.type !== "MemberExpression" && r(a.start, "Assigning to rvalue"), ce && a.type === "Identifier" && At(a.name) && r(a.start, "Assigning to " + a.name + " in strict mode");
573
786
  }
574
- function fe() {
575
- ($ === vr || $ === De && he === "/=") && y(!0);
576
- var a = $, l = K();
787
+ function he() {
788
+ (x === vr || x === De && fe === "/=") && y(!0);
789
+ var a = x, l = K();
577
790
  switch (a) {
578
- case tn:
791
+ case nn:
579
792
  case Zn:
580
793
  E();
581
- var p = a === tn;
582
- L(we) || wt() ? l.label = null : $ !== Me ? be() : (l.label = Se(), je());
583
- for (var h = 0; h < X.length; ++h) {
584
- var P = X[h];
794
+ var p = a === nn;
795
+ L(we) || wt() ? l.label = null : x !== Me ? be() : (l.label = Se(), je());
796
+ for (var f = 0; f < X.length; ++f) {
797
+ var P = X[f];
585
798
  if ((l.label === null || P.name === l.label.name) && (P.kind !== null && (p || P.kind === "loop") || l.label && p))
586
799
  break;
587
800
  }
588
- return h === X.length && r(l.start, "Unsyntactic " + a.l), R(l, p ? "BreakStatement" : "ContinueStatement");
801
+ return f === X.length && r(l.start, "Unsyntactic " + a.l), R(l, p ? "BreakStatement" : "ContinueStatement");
589
802
  case er:
590
803
  return E(), je(), R(l, "DebuggerStatement");
591
804
  case nr:
592
- return E(), X.push(cn), l.body = fe(), X.pop(), J(an), l.test = Qe(), je(), R(l, "DoWhileStatement");
805
+ return E(), X.push(pn), l.body = he(), X.pop(), J(ln), l.test = Qe(), je(), R(l, "DoWhileStatement");
593
806
  case ir:
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
- case rn:
596
- return E(), Gt(l, !0);
807
+ return E(), X.push(pn), J(Ce), x === we ? Kt(l, null) : x === an ? (a = K(), E(), Jn(a, !0), R(a, "VariableDeclaration"), a.fa.length === 1 && L(Rt) ? _n(l, a) : Kt(l, a)) : (a = re(!1, !0), L(Rt) ? (Tt(a), _n(l, a)) : Kt(l, a));
808
+ case on:
809
+ return E(), _t(l, !0);
597
810
  case sr:
598
- return E(), l.test = Qe(), l.da = fe(), l.alternate = L(rr) ? fe() : null, R(l, "IfStatement");
811
+ return E(), l.test = Qe(), l.da = he(), l.alternate = L(rr) ? he() : null, R(l, "IfStatement");
599
812
  case ar:
600
813
  return nt || O.Ib || r(Y, "'return' outside of function"), E(), L(we) || wt() ? l.K = null : (l.K = re(), je()), R(l, "ReturnStatement");
601
- case on:
602
- for (E(), l.Qb = Qe(), l.tb = [], J(ot), X.push(Jo); $ !== He; )
603
- $ === nn || $ === tr ? (a = $ === nn, h && R(h, "SwitchCase"), l.tb.push(h = K()), h.da = [], E(), a ? h.test = re() : (p && r(Qt, "Multiple default clauses"), p = !0, h.test = null), J(it)) : (h || be(), h.da.push(fe()));
604
- return h && R(h, "SwitchCase"), E(), X.pop(), R(l, "SwitchStatement");
814
+ case sn:
815
+ for (E(), l.Qb = Qe(), l.tb = [], J(ot), X.push(Jo); x !== He; )
816
+ x === rn || x === tr ? (a = x === rn, f && R(f, "SwitchCase"), l.tb.push(f = K()), f.da = [], E(), a ? f.test = re() : (p && r(Zt, "Multiple default clauses"), p = !0, f.test = null), J(it)) : (f || be(), f.da.push(he()));
817
+ return f && R(f, "SwitchCase"), E(), X.pop(), R(l, "SwitchStatement");
605
818
  case lr:
606
- return E(), xt.test(k.slice(xe, Y)) && r(xe, "Illegal newline after throw"), l.K = re(), je(), R(l, "ThrowStatement");
819
+ return E(), $t.test(k.slice($e, Y)) && r($e, "Illegal newline after throw"), l.K = re(), je(), R(l, "ThrowStatement");
607
820
  case ur:
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
- case sn:
610
- return E(), Jn(l), je(), R(l, "VariableDeclaration");
821
+ return E(), l.block = Ze(), l.Ea = null, x === 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");
611
822
  case an:
612
- return E(), l.test = Qe(), X.push(cn), l.body = fe(), X.pop(), R(l, "WhileStatement");
823
+ return E(), Jn(l), je(), R(l, "VariableDeclaration");
824
+ case ln:
825
+ return E(), l.test = Qe(), X.push(pn), l.body = he(), X.pop(), R(l, "WhileStatement");
613
826
  case cr:
614
- return ce && r(Y, "'with' in strict mode"), E(), l.object = Qe(), l.body = fe(), R(l, "WithStatement");
827
+ return ce && r(Y, "'with' in strict mode"), E(), l.object = Qe(), l.body = he(), R(l, "WithStatement");
615
828
  case ot:
616
829
  return Ze();
617
830
  case we:
618
831
  return E(), R(l, "EmptyStatement");
619
832
  default:
620
- if (p = he, P = re(), a === Me && P.type === "Identifier" && L(it)) {
621
- for (h = 0; h < X.length; ++h)
622
- X[h].name === p && r(P.start, "Label '" + p + "' is already declared");
833
+ if (p = fe, P = re(), a === Me && P.type === "Identifier" && L(it)) {
834
+ for (f = 0; f < X.length; ++f)
835
+ X[f].name === p && r(P.start, "Label '" + p + "' is already declared");
623
836
  return X.push({
624
837
  name: p,
625
- kind: $.W ? "loop" : $ === on ? "switch" : null
626
- }), l.body = fe(), X.pop(), l.label = P, R(l, "LabeledStatement");
838
+ kind: x.W ? "loop" : x === sn ? "switch" : null
839
+ }), l.body = he(), X.pop(), l.label = P, R(l, "LabeledStatement");
627
840
  }
628
841
  return l.la = P, je(), R(l, "ExpressionStatement");
629
842
  }
@@ -634,62 +847,62 @@ var V, fi = function(e) {
634
847
  return J(ge), a;
635
848
  }
636
849
  function Ze(a) {
637
- var l = K(), p = !0, h = !1;
850
+ var l = K(), p = !0, f = !1;
638
851
  for (l.body = [], J(ot); !L(He); ) {
639
- var P = fe();
852
+ var P = he();
640
853
  if (l.body.push(P), p && a && We(P)) {
641
- var Q = h;
642
- D(h = !0);
854
+ var Q = f;
855
+ D(f = !0);
643
856
  }
644
857
  p = !1;
645
858
  }
646
- return h && !Q && D(!1), R(l, "BlockStatement");
859
+ return f && !Q && D(!1), R(l, "BlockStatement");
647
860
  }
648
- function Ht(a, l) {
649
- return a.ua = l, J(we), a.test = $ === we ? null : re(), J(we), a.update = $ === ge ? null : re(), J(ge), a.body = fe(), X.pop(), R(a, "ForStatement");
861
+ function Kt(a, l) {
862
+ return a.ua = l, J(we), a.test = x === we ? null : re(), J(we), a.update = x === ge ? null : re(), J(ge), a.body = he(), X.pop(), R(a, "ForStatement");
650
863
  }
651
864
  function _n(a, l) {
652
- return a.left = l, a.right = re(), J(ge), a.body = fe(), X.pop(), R(a, "ForInStatement");
865
+ return a.left = l, a.right = re(), J(ge), a.body = he(), X.pop(), R(a, "ForInStatement");
653
866
  }
654
867
  function Jn(a, l) {
655
868
  for (a.fa = [], a.kind = "var"; ; ) {
656
869
  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))
870
+ 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(xe))
658
871
  break;
659
872
  }
660
873
  }
661
874
  function re(a, l) {
662
- var p = Kt(l);
663
- if (!a && $ === $e) {
664
- for (a = _(p), a.xb = [p]; L($e); )
665
- a.xb.push(Kt(l));
875
+ var p = zt(l);
876
+ if (!a && x === xe) {
877
+ for (a = _(p), a.xb = [p]; L(xe); )
878
+ a.xb.push(zt(l));
666
879
  return R(a, "SequenceExpression");
667
880
  }
668
881
  return p;
669
882
  }
670
- function Kt(a) {
671
- var l = zt(qt(), -1, a);
883
+ function zt(a) {
884
+ var l = qt(Gt(), -1, a);
672
885
  if (L(yr)) {
673
886
  var p = _(l);
674
887
  p.test = l, p.da = re(!0), J(it), p.alternate = re(!0, a), l = R(p, "ConditionalExpression");
675
888
  }
676
- return $.Cb ? (p = _(l), p.operator = he, p.left = l, E(), p.right = Kt(a), Tt(l), R(p, "AssignmentExpression")) : l;
889
+ return x.Cb ? (p = _(l), p.operator = fe, p.left = l, E(), p.right = zt(a), Tt(l), R(p, "AssignmentExpression")) : l;
677
890
  }
678
- function zt(a, l, p) {
679
- var h = $.L;
680
- if (h !== null && (!p || $ !== Rt) && h > l) {
891
+ function qt(a, l, p) {
892
+ var f = x.L;
893
+ if (f !== null && (!p || x !== Rt) && f > l) {
681
894
  var P = _(a);
682
- return P.left = a, P.operator = he, a = $, E(), P.right = zt(qt(), h, p), h = R(P, a === kr || a === Cr ? "LogicalExpression" : "BinaryExpression"), zt(h, l, p);
895
+ return P.left = a, P.operator = fe, a = x, E(), P.right = qt(Gt(), f, p), f = R(P, a === kr || a === Cr ? "LogicalExpression" : "BinaryExpression"), qt(f, l, p);
683
896
  }
684
897
  return a;
685
898
  }
686
- function qt() {
687
- if ($.prefix) {
688
- var a = K(), l = $.$b;
689
- return a.operator = he, 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");
899
+ function Gt() {
900
+ if (x.prefix) {
901
+ var a = K(), l = x.$b;
902
+ return a.operator = fe, tt = a.prefix = !0, E(), a.K = Gt(), 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
903
  }
691
- for (l = et(Et()); $.cc && !wt(); )
692
- a = _(l), a.operator = he, a.prefix = !1, a.K = l, Tt(l), E(), l = R(a, "UpdateExpression");
904
+ for (l = et(Et()); x.cc && !wt(); )
905
+ a = _(l), a.operator = fe, a.prefix = !1, a.K = l, Tt(l), E(), l = R(a, "UpdateExpression");
693
906
  return l;
694
907
  }
695
908
  function et(a, l) {
@@ -697,10 +910,10 @@ var V, fi = function(e) {
697
910
  var p = _(a);
698
911
  return p.object = a, p.Wa = Se(!0), p.bb = !1, et(R(p, "MemberExpression"), l);
699
912
  }
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;
913
+ return L(un) ? (p = _(a), p.object = a, p.Wa = re(), p.bb = !0, J(cn), et(R(p, "MemberExpression"), l)) : !l && L(Ce) ? (p = _(a), p.callee = a, p.arguments = Jt(ge, !1), et(R(p, "CallExpression"), l)) : a;
701
914
  }
702
915
  function Et() {
703
- switch ($) {
916
+ switch (x) {
704
917
  case dr:
705
918
  var a = K();
706
919
  return E(), R(a, "ThisExpression");
@@ -709,88 +922,88 @@ var V, fi = function(e) {
709
922
  case rt:
710
923
  case It:
711
924
  case Yn:
712
- return a = K(), a.value = he, a.raw = k.slice(Y, Fe), E(), R(a, "Literal");
713
- case hr:
925
+ return a = K(), a.value = fe, a.raw = k.slice(Y, Fe), E(), R(a, "Literal");
714
926
  case fr:
927
+ case hr:
715
928
  case mr:
716
- return a = K(), a.value = $.$a, a.raw = $.l, E(), R(a, "Literal");
929
+ return a = K(), a.value = x.$a, a.raw = x.l, E(), R(a, "Literal");
717
930
  case Ce:
718
- a = Xt;
931
+ a = Yt;
719
932
  var l = Y;
720
933
  E();
721
934
  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
- case ln:
724
- return a = K(), E(), a.elements = _t(un, !0, !0), R(a, "ArrayExpression");
935
+ return p.start = l, p.end = Fe, O.C && (p.X.start = a, p.X.end = Qt), O.Xa && (p.j = [l, Fe]), J(ge), p;
936
+ case un:
937
+ return a = K(), E(), a.elements = Jt(cn, !0, !0), R(a, "ArrayExpression");
725
938
  case ot:
726
939
  for (a = K(), l = !0, p = !1, a.h = [], E(); !L(He); ) {
727
940
  if (l)
728
941
  l = !1;
729
- else if (J($e), O.sb && L(He))
942
+ else if (J(xe), O.sb && L(He))
730
943
  break;
731
- var h = {
732
- key: $ === rt || $ === It ? Et() : Se(!0)
944
+ var f = {
945
+ key: x === rt || x === It ? Et() : Se(!0)
733
946
  }, P = !1;
734
947
  if (L(it)) {
735
- h.value = re(!0);
736
- var Q = h.kind = "init";
948
+ f.value = re(!0);
949
+ var Q = f.kind = "init";
737
950
  } else
738
- h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ? be() : (P = p = !0, Q = h.kind = h.key.name, h.key = $ === rt || $ === It ? Et() : Se(!0), $ !== Ce && be(), h.value = Gt(K(), !1));
739
- if (h.key.type === "Identifier" && (ce || p))
951
+ f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? be() : (P = p = !0, Q = f.kind = f.key.name, f.key = x === rt || x === It ? Et() : Se(!0), x !== Ce && be(), f.value = _t(K(), !1));
952
+ if (f.key.type === "Identifier" && (ce || p))
740
953
  for (var se = 0; se < a.h.length; ++se) {
741
954
  var ze = a.h[se];
742
- if (ze.key.name === h.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(h.key.start, "Redefinition of property");
955
+ if (ze.key.name === f.key.name) {
956
+ var dn = Q === ze.kind || P && ze.kind === "init" || Q === "init" && (ze.kind === "get" || ze.kind === "set");
957
+ dn && !ce && Q === "init" && ze.kind === "init" && (dn = !1), dn && r(f.key.start, "Redefinition of property");
745
958
  }
746
959
  }
747
- a.h.push(h);
960
+ a.h.push(f);
748
961
  }
749
962
  return R(a, "ObjectExpression");
750
- case rn:
751
- return a = K(), E(), Gt(a, !1);
963
+ case on:
964
+ return a = K(), E(), _t(a, !1);
752
965
  case pr:
753
- return a = K(), E(), a.callee = et(Et(), !0), a.arguments = L(Ce) ? _t(ge, !1) : Bo, R(a, "NewExpression");
966
+ return a = K(), E(), a.callee = et(Et(), !0), a.arguments = L(Ce) ? Jt(ge, !1) : Bo, R(a, "NewExpression");
754
967
  }
755
968
  be();
756
969
  }
757
- function Gt(a, l) {
758
- $ === Me ? a.id = Se() : l ? be() : a.id = null, a.oa = [];
970
+ function _t(a, l) {
971
+ x === Me ? a.id = Se() : l ? be() : a.id = null, a.oa = [];
759
972
  var p = !0;
760
973
  for (J(Ce); !L(ge); )
761
- p ? p = !1 : J($e), a.oa.push(Se());
974
+ p ? p = !1 : J(xe), a.oa.push(Se());
762
975
  p = nt;
763
- var h = X;
764
- if (nt = !0, X = [], a.body = Ze(!0), nt = p, X = h, ce || a.body.body.length && We(a.body.body[0])) {
976
+ var f = X;
977
+ if (nt = !0, X = [], a.body = Ze(!0), nt = p, X = f, ce || a.body.body.length && We(a.body.body[0])) {
765
978
  for (p = a.id ? -1 : 0; p < a.oa.length; ++p)
766
- if (h = 0 > p ? a.id : a.oa[p], (wr(h.name) || At(h.name)) && r(h.start, "Defining '" + h.name + "' in strict mode"), 0 <= p)
979
+ 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
980
  for (var P = 0; P < p; ++P)
768
- h.name === a.oa[P].name && r(h.start, "Argument name clash in strict mode");
981
+ f.name === a.oa[P].name && r(f.start, "Argument name clash in strict mode");
769
982
  }
770
983
  return R(a, l ? "FunctionDeclaration" : "FunctionExpression");
771
984
  }
772
- function _t(a, l, p) {
773
- for (var h = [], P = !0; !L(a); ) {
985
+ function Jt(a, l, p) {
986
+ for (var f = [], P = !0; !L(a); ) {
774
987
  if (P)
775
988
  P = !1;
776
- else if (J($e), l && O.sb && L(a))
989
+ else if (J(xe), l && O.sb && L(a))
777
990
  break;
778
- h.push(p && $ === $e ? null : re(!0));
991
+ f.push(p && x === xe ? null : re(!0));
779
992
  }
780
- return h;
993
+ return f;
781
994
  }
782
995
  function Se(a) {
783
996
  var l = K();
784
- return a && O.yb === "everywhere" && (a = !1), $ === Me ? (!a && (O.yb && zo(he) || ce && wr(he)) && k.slice(Y, Fe).indexOf("\\") === -1 && r(Y, "The keyword '" + he + "' is reserved"), l.name = he) : a && $.l ? l.name = $.l : be(), tt = !1, E(), R(l, "Identifier");
997
+ return a && O.yb === "everywhere" && (a = !1), x === 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 && x.l ? l.name = x.l : be(), tt = !1, E(), R(l, "Identifier");
785
998
  }
786
999
  e.version = "0.5.0";
787
- var O, k = "", Le, Jt;
1000
+ var O, k = "", Le, Xt;
788
1001
  e.parse = function(a, l) {
789
1002
  k = String(a), Le = k.length, O = l || {};
790
1003
  for (var p in Xn)
791
1004
  Object.prototype.hasOwnProperty.call(O, p) || (O[p] = Xn[p]);
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 = fe(), a.body.push(p), l && We(p) && D(!0), l = !1;
1005
+ for (Xt = O.sourceFile, Ve = 1, d = ke = 0, tt = !0, c(), p = O.dc, Zt = $e = d, O.C && (en = new i()), nt = ce = !1, X = [], y(), a = p || K(), l = !0, p || (a.body = []); x !== tn; )
1006
+ p = he(), a.body.push(p), l && We(p) && D(!0), l = !1;
794
1007
  return R(a, "Program");
795
1008
  };
796
1009
  var Xn = {
@@ -804,7 +1017,7 @@ var V, fi = function(e) {
804
1017
  dc: null,
805
1018
  sourceFile: null,
806
1019
  vb: null
807
- }, d = 0, Y = 0, Fe = 0, Xt, Yt, $, he, tt, Ve, ke, Qt = 0, xe = 0, Zt, nt, X, ce, Bo = [], rt = {
1020
+ }, d = 0, Y = 0, Fe = 0, Yt, Qt, x, fe, tt, Ve, ke, Zt = 0, $e = 0, en, nt, X, ce, Bo = [], rt = {
808
1021
  type: "num"
809
1022
  }, Yn = {
810
1023
  type: "regexp"
@@ -812,11 +1025,11 @@ var V, fi = function(e) {
812
1025
  type: "string"
813
1026
  }, Me = {
814
1027
  type: "name"
815
- }, en = {
816
- type: "eof"
817
1028
  }, tn = {
818
- l: "break"
1029
+ type: "eof"
819
1030
  }, nn = {
1031
+ l: "break"
1032
+ }, rn = {
820
1033
  l: "case",
821
1034
  m: !0
822
1035
  }, Qn = {
@@ -838,23 +1051,23 @@ var V, fi = function(e) {
838
1051
  }, ir = {
839
1052
  l: "for",
840
1053
  W: !0
841
- }, rn = {
1054
+ }, on = {
842
1055
  l: "function"
843
1056
  }, sr = {
844
1057
  l: "if"
845
1058
  }, ar = {
846
1059
  l: "return",
847
1060
  m: !0
848
- }, on = {
1061
+ }, sn = {
849
1062
  l: "switch"
850
1063
  }, lr = {
851
1064
  l: "throw",
852
1065
  m: !0
853
1066
  }, ur = {
854
1067
  l: "try"
855
- }, sn = {
856
- l: "var"
857
1068
  }, an = {
1069
+ l: "var"
1070
+ }, ln = {
858
1071
  l: "while",
859
1072
  W: !0
860
1073
  }, cr = {
@@ -864,10 +1077,10 @@ var V, fi = function(e) {
864
1077
  m: !0
865
1078
  }, dr = {
866
1079
  l: "this"
867
- }, hr = {
1080
+ }, fr = {
868
1081
  l: "null",
869
1082
  $a: null
870
- }, fr = {
1083
+ }, hr = {
871
1084
  l: "true",
872
1085
  $a: !0
873
1086
  }, mr = {
@@ -878,8 +1091,8 @@ var V, fi = function(e) {
878
1091
  L: 7,
879
1092
  m: !0
880
1093
  }, jo = {
881
- break: tn,
882
- case: nn,
1094
+ break: nn,
1095
+ case: rn,
883
1096
  catch: Qn,
884
1097
  continue: Zn,
885
1098
  debugger: er,
@@ -888,17 +1101,17 @@ var V, fi = function(e) {
888
1101
  else: rr,
889
1102
  finally: or,
890
1103
  for: ir,
891
- function: rn,
1104
+ function: on,
892
1105
  if: sr,
893
1106
  return: ar,
894
- switch: on,
1107
+ switch: sn,
895
1108
  throw: lr,
896
1109
  try: ur,
897
- var: sn,
898
- while: an,
1110
+ var: an,
1111
+ while: ln,
899
1112
  with: cr,
900
- null: hr,
901
- true: fr,
1113
+ null: fr,
1114
+ true: hr,
902
1115
  false: mr,
903
1116
  new: pr,
904
1117
  in: Rt,
@@ -923,10 +1136,10 @@ var V, fi = function(e) {
923
1136
  prefix: !0,
924
1137
  m: !0
925
1138
  }
926
- }, ln = {
1139
+ }, un = {
927
1140
  type: "[",
928
1141
  m: !0
929
- }, un = {
1142
+ }, cn = {
930
1143
  type: "]"
931
1144
  }, ot = {
932
1145
  type: "{",
@@ -938,7 +1151,7 @@ var V, fi = function(e) {
938
1151
  m: !0
939
1152
  }, ge = {
940
1153
  type: ")"
941
- }, $e = {
1154
+ }, xe = {
942
1155
  type: ",",
943
1156
  m: !0
944
1157
  }, we = {
@@ -999,13 +1212,13 @@ var V, fi = function(e) {
999
1212
  }, Ko = {
1000
1213
  L: 10,
1001
1214
  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]/, 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 = {
1215
+ }, 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_]"), $t = /[\n\r\u2028\u2029]/, xt = /\r\n|[\n\r\u2028\u2029]/g, Ke, pn = {
1003
1216
  kind: "loop"
1004
1217
  }, Jo = {
1005
1218
  kind: "switch"
1006
1219
  };
1007
- }, vn = vn = typeof globalThis > "u" ? void 0 : globalThis;
1008
- fi(vn.j || (vn.j = {}));
1220
+ }, bn = bn = typeof globalThis > "u" ? void 0 : globalThis;
1221
+ $i(bn.j || (bn.j = {}));
1009
1222
  function g(e, t) {
1010
1223
  typeof e == "string" && (e = _e(e, "code"));
1011
1224
  var n = e.constructor;
@@ -1021,13 +1234,13 @@ function g(e, t) {
1021
1234
  var i, s;
1022
1235
  for (s in this)
1023
1236
  typeof this[s] == "function" && (i = s.match(e)) && (this.rb[i[1]] = this[s].bind(this));
1024
- this.N = Sn(this, this.ra, null), this.Na = this.N.object, this.ra = _e(this.ba.join(`
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;
1237
+ this.N = kn(this, this.ra, null), this.Na = this.N.object, this.ra = _e(this.ba.join(`
1238
+ `), "polyfills"), this.ba = void 0, Ft(this.ra), i = new T(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new T(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
1026
1239
  }
1027
1240
  var Er = {
1028
1241
  C: !0,
1029
1242
  kc: 5
1030
- }, Rn = {
1243
+ }, $n = {
1031
1244
  configurable: !0,
1032
1245
  enumerable: !0,
1033
1246
  writable: !1
@@ -1047,7 +1260,7 @@ var Er = {
1047
1260
  configurable: !1,
1048
1261
  enumerable: !0,
1049
1262
  writable: !0
1050
- }, Jr = {
1263
+ }, no = {
1051
1264
  STEP_ERROR: !0
1052
1265
  }, Ye = {
1053
1266
  SCOPE_REFERENCE: !0
@@ -1055,21 +1268,21 @@ var Er = {
1055
1268
  VALUE_IN_DESCRIPTOR: !0
1056
1269
  }, qe = {
1057
1270
  REGEXP_TIMEOUT: !0
1058
- }, Rr = [], Ee = null, ht = 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
- function An(e) {
1271
+ }, Rr = [], Ee = null, ft = null, Be = typeof globalThis > "u" ? void 0 : globalThis, xi = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
1272
+ function xn(e) {
1060
1273
  var t = e >>> 0;
1061
1274
  return t === Number(e) ? t : NaN;
1062
1275
  }
1063
- function ft(e) {
1276
+ function ht(e) {
1064
1277
  var t = e >>> 0;
1065
1278
  return String(t) === String(e) && t !== 4294967295 ? t : NaN;
1066
1279
  }
1067
- function Wt(e, t, n) {
1280
+ function Ft(e, t, n) {
1068
1281
  t ? e.start = t : delete e.start, n ? e.end = n : delete e.end;
1069
1282
  for (var r in e)
1070
1283
  if (r !== "loc" && e.hasOwnProperty(r)) {
1071
1284
  var o = e[r];
1072
- o && typeof o == "object" && Wt(o, t, n);
1285
+ o && typeof o == "object" && Ft(o, t, n);
1073
1286
  }
1074
1287
  }
1075
1288
  g.prototype.REGEXP_MODE = 2;
@@ -1084,7 +1297,7 @@ function _e(e, t) {
1084
1297
  var n = {}, r;
1085
1298
  for (r in Er)
1086
1299
  n[r] = Er[r];
1087
- return n.sourceFile = t, Ne.j.parse(e, n);
1300
+ return n.sourceFile = t, Be.j.parse(e, n);
1088
1301
  }
1089
1302
  V.Jb = function(e) {
1090
1303
  var t = this.o[0];
@@ -1106,7 +1319,7 @@ V.lb = function() {
1106
1319
  if (n = this.ca[0], !n || n.time > Date.now())
1107
1320
  n = null;
1108
1321
  else {
1109
- this.ca.shift(), 0 <= n.interval && Qr(this, n, n.interval);
1322
+ this.ca.shift(), 0 <= n.interval && io(this, n, n.interval);
1110
1323
  var r = new T(n.node, n.scope);
1111
1324
  n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
1112
1325
  }
@@ -1114,15 +1327,15 @@ V.lb = function() {
1114
1327
  break;
1115
1328
  }
1116
1329
  r = n.node;
1117
- var o = ht;
1118
- ht = this;
1330
+ var o = ft;
1331
+ ft = this;
1119
1332
  try {
1120
1333
  var i = this.rb[r.type](e, n, r);
1121
1334
  } catch (s) {
1122
- if (s !== Jr)
1335
+ if (s !== no)
1123
1336
  throw this.value !== s && (this.value = void 0), s;
1124
1337
  } finally {
1125
- ht = o;
1338
+ ft = o;
1126
1339
  }
1127
1340
  if (i && e.push(i), this.P)
1128
1341
  throw this.value = void 0, Error("Getter not supported in this context");
@@ -1137,8 +1350,8 @@ V.Eb = function() {
1137
1350
  ;
1138
1351
  return this.za;
1139
1352
  };
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), Ti(e, t), Ei(e, t), Ii(e, t), Ri(e, t);
1353
+ function Pi(e, t) {
1354
+ e.g(t, "NaN", NaN, at), e.g(t, "Infinity", 1 / 0, at), e.g(t, "undefined", void 0, at), e.g(t, "window", t, $n), e.g(t, "this", t, at), e.g(t, "self", t), e.M = new N(null), e.Z = new N(e.M), Oi(e, t), Ni(e, t), t.xa = e.M, e.g(t, "constructor", e.v, C), Bi(e, t), ji(e, t), Vi(e, t), Di(e, t), Ui(e, t), Wi(e, t), Li(e, t), Fi(e, t), Mi(e, t);
1142
1355
  var n = e.i(function() {
1143
1356
  throw EvalError("Can't happen");
1144
1357
  }, !1);
@@ -1158,13 +1371,13 @@ function gi(e, t) {
1158
1371
  }, e.g(t, "setTimeout", e.i(n, !1), C), n = function(i) {
1159
1372
  return Ar(e, !0, arguments);
1160
1373
  }, e.g(t, "setInterval", e.i(n, !1), C), n = function(i) {
1161
- xr(e, i);
1374
+ $r(e, i);
1162
1375
  }, e.g(t, "clearTimeout", e.i(n, !1), C), n = function(i) {
1163
- xr(e, i);
1376
+ $r(e, i);
1164
1377
  }, e.g(t, "clearInterval", e.i(n, !1), C), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
1165
1378
  }
1166
1379
  V.Wb = 0;
1167
- function yi(e, t) {
1380
+ function Oi(e, t) {
1168
1381
  var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
1169
1382
  var i = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
1170
1383
  if (s) {
@@ -1176,16 +1389,16 @@ function yi(e, t) {
1176
1389
  s = s.join(", ");
1177
1390
  }
1178
1391
  try {
1179
- var f = _e("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1392
+ var m = _e("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1180
1393
  } catch (y) {
1181
1394
  I(e, e.T, "Invalid code: " + y.message);
1182
1395
  }
1183
- return f.body.length !== 1 && I(e, e.T, "Invalid code in function body"), Pn(e, f.body[0].la, e.N, "anonymous");
1396
+ return m.body.length !== 1 && I(e, e.T, "Invalid code in function body"), Nn(e, m.body[0].la, e.N, "anonymous");
1184
1397
  };
1185
1398
  e.O = e.i(r, !0), e.g(t, "Function", e.O, C), e.g(e.O, "prototype", e.Z, C), e.g(e.Z, "constructor", e.O, C), e.Z.Ta = function() {
1186
1399
  }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, le), e.Z.H = "Function", r = function(o, i) {
1187
1400
  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) : I(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1401
+ s.U = this, s.B = o, s.F = [], i != null && (i instanceof N ? s.F = ro(e, i) : I(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1189
1402
  }, Z(e, e.O, "apply", r), r = function(o) {
1190
1403
  var i = e.o[e.o.length - 1];
1191
1404
  i.U = this, i.B = o, i.F = [];
@@ -1198,7 +1411,7 @@ function yi(e, t) {
1198
1411
  return this.valueOf();
1199
1412
  }, Z(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), C);
1200
1413
  }
1201
- function vi(e, t) {
1414
+ function Ni(e, t) {
1202
1415
  function n(o) {
1203
1416
  o != null || I(e, e.j, "Cannot convert '" + o + "' to object");
1204
1417
  }
@@ -1243,11 +1456,11 @@ function vi(e, t) {
1243
1456
  }
1244
1457
  }, Z(e, e.v, "isPrototypeOf", r);
1245
1458
  }
1246
- function bi(e, t) {
1459
+ function Bi(e, t) {
1247
1460
  var n = function(r) {
1248
1461
  var o = Re(e) ? this : Je(e), i = arguments[0];
1249
1462
  if (arguments.length === 1 && typeof i == "number")
1250
- isNaN(An(i)) && I(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1463
+ isNaN(xn(i)) && I(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1251
1464
  else {
1252
1465
  for (i = 0; i < arguments.length; i++)
1253
1466
  o.h[i] = arguments[i];
@@ -1263,9 +1476,9 @@ function bi(e, t) {
1263
1476
  writable: !0
1264
1477
  }), e.La.H = "Array", e.ba.push("(function() {", "function createArrayMethod_(f) {", "Object.defineProperty(Array.prototype, f.name,", "{configurable: true, writable: true, value: f});", "}", "createArrayMethod_(", "function pop() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "len--;", "var x = o[len];", "delete o[len];", "o.length = len;", "return x;", "}", ");", "createArrayMethod_(", "function push(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "for (var i = 0; i < arguments.length; i++) {", "o[len] = arguments[i];", "len++;", "}", "o.length = len;", "return len;", "}", ");", "createArrayMethod_(", "function shift() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "var value = o[0];", "for (var i = 0; i < len - 1; i++) {", "if ((i + 1) in o) {", "o[i] = o[i + 1];", "} else {", "delete o[i];", "}", "}", "delete o[i];", "o.length = len - 1;", "return value;", "}", ");", "createArrayMethod_(", "function unshift(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "len = 0;", "}", "for (var i = len - 1; i >= 0; i--) {", "if (i in o) {", "o[i + arguments.length] = o[i];", "} else {", "delete o[i + arguments.length];", "}", "}", "for (var i = 0; i < arguments.length; i++) {", "o[i] = arguments[i];", "}", "return (o.length = len + arguments.length);", "}", ");", "createArrayMethod_(", "function reverse() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 2) {", "return o;", "}", "for (var i = 0; i < len / 2 - 0.5; i++) {", "var x = o[i];", "var hasX = i in o;", "if ((len - i - 1) in o) {", "o[i] = o[len - i - 1];", "} else {", "delete o[i];", "}", "if (hasX) {", "o[len - i - 1] = x;", "} else {", "delete o[len - i - 1];", "}", "}", "return o;", "}", ");", "createArrayMethod_(", "function indexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var n = fromIndex | 0;", "if (!len || n >= len) {", "return -1;", "}", "var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);", "while (i < len) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i++;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function lastIndexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len) {", "return -1;", "}", "var n = len - 1;", "if (arguments.length > 1) {", "n = fromIndex | 0;", "if (n) {", "n = (n > 0 || -1) * Math.floor(Math.abs(n));", "}", "}", "var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);", "while (i >= 0) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i--;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function slice(start, end) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "start = (start >= 0) ? start : Math.max(0, len + start);", "if (typeof end !== 'undefined') {", "if (end !== Infinity) {", "end |= 0;", "}", "if (end < 0) {", "end = len + end;", "} else {", "end = Math.min(end, len);", "}", "} else {", "end = len;", "}", "var size = end - start;", "var cloned = new Array(size);", "for (var i = 0; i < size; i++) {", "if ((start + i) in o) {", "cloned[i] = o[start + i];", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function splice(start, deleteCount, var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "if (start < 0) {", "start = Math.max(len + start, 0);", "} else {", "start = Math.min(start, len);", "}", "if (arguments.length < 1) {", "deleteCount = len - start;", "} else {", "deleteCount |= 0;", "deleteCount = Math.max(0, Math.min(deleteCount, len - start));", "}", "var removed = [];", "for (var i = start; i < start + deleteCount; i++) {", "if (i in o) {", "removed.push(o[i]);", "} else {", "removed.length++;", "}", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = start + deleteCount; i < len - deleteCount; i++) {", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = len - deleteCount; i < len; i++) {", "delete o[i];", "}", "len -= deleteCount;", "var arl = arguments.length - 2;", "for (var i = len - 1; i >= start; i--) {", "if (i in o) {", "o[i + arl] = o[i];", "} else {", "delete o[i + arl];", "}", "}", "len += arl;", "for (var i = 2; i < arguments.length; i++) {", "o[start + i - 2] = arguments[i];", "}", "o.length = len;", "return removed;", "}", ");", "createArrayMethod_(", "function concat(var_args) {", "if (!this) throw TypeError();", "var o = Object(this);", "var cloned = [];", "for (var i = -1; i < arguments.length; i++) {", "var value = (i === -1) ? o : arguments[i];", "if (Array.isArray(value)) {", "for (var j = 0, l = value.length; j < l; j++) {", "if (j in value) {", "cloned.push(value[j]);", "} else {", "cloned.length++;", "}", "}", "} else {", "cloned.push(value);", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function join(opt_separator) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var sep = typeof opt_separator === 'undefined' ?", "',' : ('' + opt_separator);", "var str = '';", "for (var i = 0; i < len; i++) {", "if (i && sep) str += sep;", "str += (o[i] === null || o[i] === undefined) ? '' : o[i];", "}", "return str;", "}", ");", "createArrayMethod_(", "function every(callbackfn, thisArg) {", "if (!this || typeof callbackfn !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o && !callbackfn.call(t, o[k], k, o)) return false;", "k++;", "}", "return true;", "}", ");", "createArrayMethod_(", "function filter(fun, var_args) {", "if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var res = [];", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o) {", "var val = o[i];", "if (fun.call(thisArg, val, i, o)) res.push(val);", "}", "}", "return res;", "}", ");", "createArrayMethod_(", "function forEach(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o) callback.call(t, o[k], k, o);", "k++;", "}", "}", ");", "createArrayMethod_(", "function map(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "var a = new Array(len);", "while (k < len) {", "if (k in o) a[k] = callback.call(t, o[k], k, o);", "k++;", "}", "return a;", "}", ");", "createArrayMethod_(", "function reduce(callback /*, initialValue*/) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = 0, value;", "if (arguments.length === 2) {", "value = arguments[1];", "} else {", "while (k < len && !(k in o)) k++;", "if (k >= len) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k++];", "}", "for (; k < len; k++) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function reduceRight(callback /*, initialValue*/) {", "if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = len - 1, value;", "if (arguments.length >= 2) {", "value = arguments[1];", "} else {", "while (k >= 0 && !(k in o)) k--;", "if (k < 0) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k--];", "}", "for (; k >= 0; k--) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function some(fun/*, thisArg*/) {", "if (!this || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o && fun.call(thisArg, o[i], i, o)) return true;", "}", "return false;", "}", ");", "createArrayMethod_(", "function sort(opt_comp) {", "if (!this) throw TypeError();", "if (typeof opt_comp !== 'function') {", "opt_comp = undefined;", "}", "for (var i = 0; i < this.length; i++) {", "var changes = 0;", "for (var j = 0; j < this.length - i - 1; j++) {", "if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :", "(String(this[j]) > String(this[j + 1]))) {", "var swap = this[j];", "var hasSwap = j in this;", "if ((j + 1) in this) {", "this[j] = this[j + 1];", "} else {", "delete this[j];", "}", "if (hasSwap) {", "this[j + 1] = swap;", "} else {", "delete this[j + 1];", "}", "changes++;", "}", "}", "if (!changes) break;", "}", "return this;", "}", ");", "createArrayMethod_(", "function toLocaleString() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var out = [];", "for (var i = 0; i < len; i++) {", "out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();", "}", "return out.join(',');", "}", ");", "})();", "");
1265
1478
  }
1266
- function Si(e, t) {
1479
+ function ji(e, t) {
1267
1480
  var n = function(r) {
1268
- return r = arguments.length ? Ne.String(r) : "", Re(e) ? (this.data = r, this) : r;
1481
+ return r = arguments.length ? Be.String(r) : "", Re(e) ? (this.data = r, this) : r;
1269
1482
  };
1270
1483
  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
1484
  Z(e, e.J, t[n], String.prototype[t[n]]);
@@ -1287,8 +1500,8 @@ function Si(e, t) {
1287
1500
  }, r, i), r !== qe && i(Te(e, r));
1288
1501
  else {
1289
1502
  var u = e.ha(), c = ct(e, r, u, i);
1290
- u.onmessage = function(f) {
1291
- clearTimeout(c), i(Te(e, f.data));
1503
+ u.onmessage = function(m) {
1504
+ clearTimeout(c), i(Te(e, m.data));
1292
1505
  }, u.postMessage(["split", s, r, o]);
1293
1506
  }
1294
1507
  return;
@@ -1337,8 +1550,8 @@ function Si(e, t) {
1337
1550
  }, r, i), r !== qe && i(r);
1338
1551
  else {
1339
1552
  var u = e.ha(), c = ct(e, r, u, i);
1340
- u.onmessage = function(f) {
1341
- clearTimeout(c), i(f.data);
1553
+ u.onmessage = function(m) {
1554
+ clearTimeout(c), i(m.data);
1342
1555
  }, u.postMessage(["replace", s, r, o]);
1343
1556
  }
1344
1557
  return;
@@ -1346,14 +1559,14 @@ function Si(e, t) {
1346
1559
  i(s.replace(r, o));
1347
1560
  }, pt(e, e.J, "replace", n), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
1348
1561
  }
1349
- function ki(e, t) {
1562
+ function Vi(e, t) {
1350
1563
  e.mb = e.i(function(n) {
1351
- return n = Ne.Boolean(n), Re(e) ? (this.data = n, this) : n;
1564
+ return n = Be.Boolean(n), Re(e) ? (this.data = n, this) : n;
1352
1565
  }, !0), e.g(t, "Boolean", e.mb, C);
1353
1566
  }
1354
- function Ci(e, t) {
1567
+ function Di(e, t) {
1355
1568
  var n = function(r) {
1356
- return r = arguments.length ? Ne.Number(r) : 0, Re(e) ? (this.data = r, this) : r;
1569
+ return r = arguments.length ? Be.Number(r) : 0, Re(e) ? (this.data = r, this) : r;
1357
1570
  };
1358
1571
  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
1572
  e.g(e.aa, t[n], Number[t[n]], at);
@@ -1390,12 +1603,12 @@ function Ci(e, t) {
1390
1603
  }
1391
1604
  }, Z(e, e.aa, "toLocaleString", n);
1392
1605
  }
1393
- function wi(e, t) {
1606
+ function Ui(e, t) {
1394
1607
  var n = function(o, i) {
1395
1608
  if (!Re(e))
1396
- return Ne.Date();
1609
+ return Be.Date();
1397
1610
  var s = [null].concat(Array.from(arguments));
1398
- return this.data = new (Function.prototype.bind.apply(Ne.Date, s))(), this;
1611
+ return this.data = new (Function.prototype.bind.apply(Be.Date, s))(), this;
1399
1612
  };
1400
1613
  e.$ = e.i(n, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, C), e.g(e.$, "now", e.i(Date.now, !1), C), e.g(e.$, "parse", e.i(Date.parse, !1), C), e.g(e.$, "UTC", e.i(Date.UTC, !1), C), t = "getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");
1401
1614
  for (var r = 0; r < t.length; r++)
@@ -1409,7 +1622,7 @@ function wi(e, t) {
1409
1622
  };
1410
1623
  }(t[r]), Z(e, e.$, t[r], n);
1411
1624
  }
1412
- function Ti(e, t) {
1625
+ function Wi(e, t) {
1413
1626
  var n = function(r, o) {
1414
1627
  if (Re(e))
1415
1628
  var i = this;
@@ -1420,11 +1633,11 @@ function Ti(e, t) {
1420
1633
  }
1421
1634
  r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) || I(e, e.T, "Invalid regexp flag: " + o);
1422
1635
  try {
1423
- var s = new Ne.RegExp(r, o);
1636
+ var s = new Be.RegExp(r, o);
1424
1637
  } catch (u) {
1425
1638
  I(e, e.T, u.message);
1426
1639
  }
1427
- return xn(e, i, s), i;
1640
+ return Pn(e, i, s), i;
1428
1641
  };
1429
1642
  e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, C), e.g(e.I.h.prototype, "global", void 0, le), e.g(e.I.h.prototype, "ignoreCase", void 0, le), e.g(e.I.h.prototype, "multiline", void 0, le), e.g(e.I.h.prototype, "source", "(?:)", le), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
1430
1643
  function i(y) {
@@ -1442,29 +1655,29 @@ function Ti(e, t) {
1442
1655
  regexp: s
1443
1656
  }, s, o), r !== qe && (e.g(this, "lastIndex", s.lastIndex), o(i(r)));
1444
1657
  else {
1445
- var u = e.ha(), c = ct(e, s, u, o), f = this;
1658
+ var u = e.ha(), c = ct(e, s, u, o), m = this;
1446
1659
  u.onmessage = function(y) {
1447
- clearTimeout(c), e.g(f, "lastIndex", y.data[1]), o(i(y.data[0]));
1660
+ clearTimeout(c), e.g(m, "lastIndex", y.data[1]), o(i(y.data[0]));
1448
1661
  }, u.postMessage(["exec", s, s.lastIndex, r]);
1449
1662
  }
1450
1663
  else
1451
1664
  r = s.exec(r), e.g(this, "lastIndex", s.lastIndex), o(i(r));
1452
1665
  }, pt(e, e.I, "exec", n);
1453
1666
  }
1454
- function Ei(e, t) {
1667
+ function Li(e, t) {
1455
1668
  function n(r) {
1456
1669
  var o = e.i(function(i) {
1457
1670
  var s = Re(e) ? this : e.Aa(o);
1458
- return bn(e, s, i), s;
1671
+ return Sn(e, s, i), s;
1459
1672
  }, !0);
1460
1673
  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
1674
  }
1462
1675
  e.D = e.i(function(r) {
1463
1676
  var o = Re(e) ? this : e.Aa(e.D);
1464
- return bn(e, o, r), o;
1677
+ return Sn(e, o, r), o;
1465
1678
  }, !0), e.g(t, "Error", e.D, C), e.g(e.D.h.prototype, "message", "", C), e.g(e.D.h.prototype, "name", "Error", C), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
1466
1679
  }
1467
- function Ii(e, t) {
1680
+ function Fi(e, t) {
1468
1681
  var n = e.s(e.M);
1469
1682
  e.g(t, "Math", n, C);
1470
1683
  var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
@@ -1473,7 +1686,7 @@ function Ii(e, t) {
1473
1686
  for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
1474
1687
  e.g(n, r[t], e.i(Math[r[t]], !1), C);
1475
1688
  }
1476
- function Ri(e, t) {
1689
+ function Mi(e, t) {
1477
1690
  var n = e.s(e.M);
1478
1691
  e.g(t, "JSON", n, C), t = function(r) {
1479
1692
  try {
@@ -1483,7 +1696,7 @@ function Ri(e, t) {
1483
1696
  }
1484
1697
  return e.Ia(o);
1485
1698
  }, e.g(n, "parse", e.i(t, !1)), t = function(r, o, i) {
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) {
1699
+ o && o.H === "Function" ? I(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = ro(e, o), o = o.filter(function(u) {
1487
1700
  return typeof u == "string" || typeof u == "number";
1488
1701
  })) : o = null, typeof i != "string" && typeof i != "number" && (i = void 0), r = e.R(r);
1489
1702
  try {
@@ -1506,10 +1719,10 @@ function ne(e, t, n) {
1506
1719
  }
1507
1720
  return !1;
1508
1721
  }
1509
- function xn(e, t, n) {
1722
+ function Pn(e, t, n) {
1510
1723
  t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, C), e.g(t, "source", n.source, le), e.g(t, "global", n.global, le), e.g(t, "ignoreCase", n.ignoreCase, le), e.g(t, "multiline", n.multiline, le);
1511
1724
  }
1512
- function bn(e, t, n) {
1725
+ function Sn(e, t, n) {
1513
1726
  n && e.g(t, "message", String(n), C), n = [];
1514
1727
  for (var r = e.o.length - 1; 0 <= r; r--) {
1515
1728
  var o = e.o[r], i = o.node;
@@ -1528,7 +1741,7 @@ function bn(e, t, n) {
1528
1741
  }
1529
1742
  V.ha = function() {
1530
1743
  var e = this.ha.Mb;
1531
- return e || (e = new Blob([mi.join(`
1744
+ return e || (e = new Blob([xi.join(`
1532
1745
  `)], {
1533
1746
  type: "application/javascript"
1534
1747
  }), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
@@ -1588,19 +1801,19 @@ function Je(e) {
1588
1801
  writable: !0
1589
1802
  }), t.H = "Array", t;
1590
1803
  }
1591
- function $n(e, t, n) {
1804
+ function On(e, t, n) {
1592
1805
  var r = e.s(e.Z);
1593
1806
  return n ? (n = e.s(e.M), e.g(r, "prototype", n, C), e.g(n, "constructor", r, C)) : r.Ab = !0, e.g(r, "length", t, le), r.H = "Function", r;
1594
1807
  }
1595
- function Pn(e, t, n, r) {
1596
- var o = $n(e, t.oa.length, !0);
1808
+ function Nn(e, t, n, r) {
1809
+ var o = On(e, t.oa.length, !0);
1597
1810
  return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", le), o;
1598
1811
  }
1599
1812
  V.i = function(e, t) {
1600
- return t = $n(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, le), t;
1813
+ return t = On(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, le), t;
1601
1814
  };
1602
1815
  V.ub = function(e) {
1603
- var t = $n(this, e.length, !0);
1816
+ var t = On(this, e.length, !0);
1604
1817
  return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, le), t;
1605
1818
  };
1606
1819
  V.Ia = function(e) {
@@ -1610,7 +1823,7 @@ V.Ia = function(e) {
1610
1823
  return e;
1611
1824
  if (e instanceof RegExp) {
1612
1825
  var t = this.s(this.Ma);
1613
- return xn(this, t, e), t;
1826
+ return Pn(this, t, e), t;
1614
1827
  }
1615
1828
  if (e instanceof Date)
1616
1829
  return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
@@ -1653,7 +1866,7 @@ V.R = function(e, t) {
1653
1866
  if (t.hb.push(e), ne(this, e, this.qa)) {
1654
1867
  n = [], t.Sa.push(n);
1655
1868
  for (var r = this.G(e, "length"), o = 0; o < r; o++)
1656
- Lt(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1869
+ Mt(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1657
1870
  } else
1658
1871
  for (r in n = {}, t.Sa.push(n), e.h)
1659
1872
  o = this.R(e.h[r], t), Object.defineProperty(n, r, {
@@ -1669,11 +1882,11 @@ function Te(e, t) {
1669
1882
  e.g(n, r[o], t[r[o]]);
1670
1883
  return n;
1671
1884
  }
1672
- function Xr(e, t) {
1885
+ function ro(e, t) {
1673
1886
  var n = [], r;
1674
1887
  for (r in t.h)
1675
1888
  n[r] = e.G(t, r);
1676
- return n.length = An(e.G(t, "length")) || 0, n;
1889
+ return n.length = xn(e.G(t, "length")) || 0, n;
1677
1890
  }
1678
1891
  function Ie(e, t) {
1679
1892
  switch (typeof t) {
@@ -1695,7 +1908,7 @@ V.G = function(e, t) {
1695
1908
  if (ne(this, e, this.J))
1696
1909
  return String(e).length;
1697
1910
  } else if (64 > t.charCodeAt(0) && ne(this, e, this.J)) {
1698
- var n = ft(t);
1911
+ var n = ht(t);
1699
1912
  if (!isNaN(n) && n < String(e).length)
1700
1913
  return String(e)[n];
1701
1914
  }
@@ -1704,13 +1917,13 @@ V.G = function(e, t) {
1704
1917
  return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
1705
1918
  while (e = Ie(this, e));
1706
1919
  };
1707
- function Lt(e, t, n) {
1920
+ function Mt(e, t, n) {
1708
1921
  if (!(t instanceof N))
1709
1922
  throw TypeError("Primitive data type has no properties");
1710
1923
  if (n = String(n), n === "length" && ne(e, t, e.J))
1711
1924
  return !0;
1712
1925
  if (ne(e, t, e.J)) {
1713
- var r = ft(n);
1926
+ var r = ht(n);
1714
1927
  if (!isNaN(r) && r < String(t).length)
1715
1928
  return !0;
1716
1929
  }
@@ -1726,10 +1939,10 @@ V.g = function(e, t, n, r) {
1726
1939
  if (t = String(t), e != null || I(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof N))
1727
1940
  throw TypeError("Expecting native value or pseudo object");
1728
1941
  r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && I(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1729
- var o = !this.o || On(this).S;
1942
+ var o = !this.o || Bn(this).S;
1730
1943
  if (e instanceof N) {
1731
1944
  if (ne(this, e, this.J)) {
1732
- var i = ft(t);
1945
+ var i = ht(t);
1733
1946
  if (t === "length" || !isNaN(i) && i < String(e).length) {
1734
1947
  o && I(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1735
1948
  return;
@@ -1742,13 +1955,13 @@ V.g = function(e, t, n, r) {
1742
1955
  return;
1743
1956
  n = r.value;
1744
1957
  }
1745
- if (n = An(n), isNaN(n) && I(this, this.ob, "Invalid array length"), n < i)
1958
+ if (n = xn(n), isNaN(n) && I(this, this.ob, "Invalid array length"), n < i)
1746
1959
  for (s in e.h) {
1747
- var s = ft(s);
1960
+ var s = ht(s);
1748
1961
  !isNaN(s) && n <= s && delete e.h[s];
1749
1962
  }
1750
1963
  } else
1751
- isNaN(s = ft(t)) || (e.h.length = Math.max(i, s + 1));
1964
+ isNaN(s = ht(t)) || (e.h.length = Math.max(i, s + 1));
1752
1965
  if (!e.preventExtensions || t in e.h)
1753
1966
  if (r) {
1754
1967
  o = {}, "get" in r && r.get && (e.V[t] = r.get, o.get = this.g.ac), "set" in r && r.set && (e.Y[t] = r.set, o.set = this.g.bc), "configurable" in r && (o.configurable = r.configurable), "enumerable" in r && (o.enumerable = r.enumerable), "writable" in r && (o.writable = r.writable, delete e.V[t], delete e.Y[t]), "value" in r ? (o.value = r.value, delete e.V[t], delete e.Y[t]) : n !== yt && (o.value = n, delete e.V[t], delete e.Y[t]);
@@ -1794,12 +2007,12 @@ function Z(e, t, n, r) {
1794
2007
  function pt(e, t, n, r) {
1795
2008
  e.g(t.h.prototype, n, e.ub(r), C);
1796
2009
  }
1797
- function On(e) {
2010
+ function Bn(e) {
1798
2011
  if (e = e.o[e.o.length - 1].scope, !e)
1799
2012
  throw Error("No scope found");
1800
2013
  return e;
1801
2014
  }
1802
- function Sn(e, t, n) {
2015
+ function kn(e, t, n) {
1803
2016
  var r = !1;
1804
2017
  if (n && n.S)
1805
2018
  r = !0;
@@ -1807,25 +2020,25 @@ function Sn(e, t, n) {
1807
2020
  var o = t.body && t.body[0];
1808
2021
  o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
1809
2022
  }
1810
- return o = e.s(null), r = new Zr(n, r, o), n || gi(e, r.object), vt(e, t, r), r;
2023
+ return o = e.s(null), r = new so(n, r, o), n || Pi(e, r.object), vt(e, t, r), r;
1811
2024
  }
1812
- function Nn(e, t, n) {
2025
+ function jn(e, t, n) {
1813
2026
  if (!t)
1814
2027
  throw Error("parentScope required");
1815
- return e = n || e.s(null), new Zr(t, t.S, e);
2028
+ return e = n || e.s(null), new so(t, t.S, e);
1816
2029
  }
1817
- function Bn(e, t) {
1818
- for (var n = On(e); n && n !== e.N; ) {
2030
+ function Vn(e, t) {
2031
+ for (var n = Bn(e); n && n !== e.N; ) {
1819
2032
  if (t in n.object.h)
1820
2033
  return n.object.h[t];
1821
2034
  n = n.Va;
1822
2035
  }
1823
- if (n === e.N && Lt(e, n.object, t))
2036
+ if (n === e.N && Mt(e, n.object, t))
1824
2037
  return e.G(n.object, t);
1825
2038
  n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || I(e, e.pb, t + " is not defined");
1826
2039
  }
1827
- function Yr(e, t, n) {
1828
- for (var r = On(e), o = r.S; r && r !== e.N; ) {
2040
+ function oo(e, t, n) {
2041
+ for (var r = Bn(e), o = r.S; r && r !== e.N; ) {
1829
2042
  if (t in r.object.h) {
1830
2043
  try {
1831
2044
  r.object.h[t] = n;
@@ -1836,7 +2049,7 @@ function Yr(e, t, n) {
1836
2049
  }
1837
2050
  r = r.Va;
1838
2051
  }
1839
- if (r === e.N && (!o || Lt(e, r.object, t)))
2052
+ if (r === e.N && (!o || Mt(e, r.object, t)))
1840
2053
  return e.g(r.object, t, n);
1841
2054
  I(e, e.pb, t + " is not defined");
1842
2055
  }
@@ -1886,20 +2099,20 @@ function vt(e, t, n) {
1886
2099
  t.jb = r;
1887
2100
  }
1888
2101
  for (s in r)
1889
- r[s] === !0 ? e.g(n.object, s, void 0, Ir) : e.g(n.object, s, Pn(e, r[s], n), Ir);
2102
+ r[s] === !0 ? e.g(n.object, s, void 0, Ir) : e.g(n.object, s, Nn(e, r[s], n), Ir);
1890
2103
  return r;
1891
2104
  }
1892
2105
  function Re(e) {
1893
2106
  return e.o[e.o.length - 1].isConstructor;
1894
2107
  }
1895
- function jn(e, t) {
1896
- return t[0] === Ye ? Bn(e, t[1]) : e.G(t[0], t[1]);
2108
+ function Dn(e, t) {
2109
+ return t[0] === Ye ? Vn(e, t[1]) : e.G(t[0], t[1]);
1897
2110
  }
1898
- function Vn(e, t, n) {
1899
- return t[0] === Ye ? Yr(e, t[1], n) : e.g(t[0], t[1], n);
2111
+ function Un(e, t, n) {
2112
+ return t[0] === Ye ? oo(e, t[1], n) : e.g(t[0], t[1], n);
1900
2113
  }
1901
2114
  function I(e, t, n) {
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;
2115
+ throw e.N ? (n !== void 0 && t instanceof N && (t = e.Aa(t), Sn(e, t, n)), bt(e, 4, t), no) : n === void 0 ? t : n;
1903
2116
  }
1904
2117
  function bt(e, t, n, r) {
1905
2118
  if (t === 0)
@@ -1987,19 +2200,19 @@ function Ar(e, t, n) {
1987
2200
  } else {
1988
2201
  try {
1989
2202
  var c = _e(String(i), "taskCode" + e.ic++);
1990
- } catch (f) {
1991
- I(e, e.T, "Invalid code: " + f.message);
2203
+ } catch (m) {
2204
+ I(e, e.T, "Invalid code: " + m.message);
1992
2205
  }
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;
2206
+ s.type = "EvalProgram_", s.body = c.body, r = r.node.arguments[0], Ft(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
1994
2207
  }
1995
- return t = new Ai(u, o, r, s, t ? n : -1), Qr(e, t, n), t.Db;
2208
+ return t = new Hi(u, o, r, s, t ? n : -1), io(e, t, n), t.Db;
1996
2209
  }
1997
- function Qr(e, t, n) {
2210
+ function io(e, t, n) {
1998
2211
  t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
1999
2212
  return r.time - o.time;
2000
2213
  });
2001
2214
  }
2002
- function xr(e, t) {
2215
+ function $r(e, t) {
2003
2216
  for (var n = 0; n < e.ca.length; n++)
2004
2217
  if (e.ca[n].Db == t) {
2005
2218
  e.ca.splice(n, 1);
@@ -2013,14 +2226,14 @@ function St(e, t, n) {
2013
2226
  var r = e.ya();
2014
2227
  return r.type = "CallExpression", e = new T(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
2015
2228
  }
2016
- function Dn(e, t, n, r) {
2229
+ function Wn(e, t, n, r) {
2017
2230
  if (!e.Ka)
2018
2231
  throw Error("Unexpected call to createSetter");
2019
2232
  e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
2020
2233
  var o = e.ya();
2021
2234
  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
2235
  }
2023
- function dn(e, t) {
2236
+ function fn(e, t) {
2024
2237
  return t == null ? e.Na : t instanceof N ? t : (e = e.s(Ie(e, t)), e.data = t, e);
2025
2238
  }
2026
2239
  V.Xb = function() {
@@ -2035,7 +2248,7 @@ V.ec = function(e) {
2035
2248
  function T(e, t) {
2036
2249
  this.node = e, this.scope = t;
2037
2250
  }
2038
- function Zr(e, t, n) {
2251
+ function so(e, t, n) {
2039
2252
  this.Va = e, this.S = t, this.object = n;
2040
2253
  }
2041
2254
  function N(e) {
@@ -2046,7 +2259,7 @@ V.xa = null;
2046
2259
  V.H = "Object";
2047
2260
  V.data = null;
2048
2261
  V.toString = function() {
2049
- if (!ht)
2262
+ if (!ft)
2050
2263
  return "[object Interpreter.Object]";
2051
2264
  if (!(this instanceof N))
2052
2265
  return String(this);
@@ -2094,12 +2307,12 @@ V.toString = function() {
2094
2307
  return this.data !== null ? String(this.data) : "[object " + this.H + "]";
2095
2308
  };
2096
2309
  V.valueOf = function() {
2097
- return !ht || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2310
+ return !ft || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2098
2311
  };
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 = ++xi, this.time = 0;
2312
+ function Hi(e, t, n, r, o) {
2313
+ this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Ki, this.time = 0;
2101
2314
  }
2102
- var xi = 0;
2315
+ var Ki = 0;
2103
2316
  g.prototype.stepArrayExpression = function(e, t, n) {
2104
2317
  n = n.elements;
2105
2318
  var r = t.A || 0;
@@ -2114,7 +2327,7 @@ g.prototype.stepAssignmentExpression = function(e, t, n) {
2114
2327
  if (!t.ja)
2115
2328
  return t.ja = !0, t = new T(n.left, t.scope), t.sa = !0, t;
2116
2329
  if (!t.Da)
2117
- return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = jn(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, St(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new T(n.right, t.scope));
2330
+ return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = Dn(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, St(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new T(n.right, t.scope));
2118
2331
  if (t.ta)
2119
2332
  e.pop(), e[e.length - 1].value = t.ib;
2120
2333
  else {
@@ -2159,8 +2372,8 @@ g.prototype.stepAssignmentExpression = function(e, t, n) {
2159
2372
  default:
2160
2373
  throw SyntaxError("Unknown assignment expression: " + n.operator);
2161
2374
  }
2162
- if (n = Vn(this, t.Fa, r))
2163
- return t.ta = !0, t.ib = r, Dn(this, n, t.Fa, r);
2375
+ if (n = Un(this, t.Fa, r))
2376
+ return t.ta = !0, t.ib = r, Wn(this, n, t.Fa, r);
2164
2377
  e.pop(), e[e.length - 1].value = r;
2165
2378
  }
2166
2379
  };
@@ -2230,7 +2443,7 @@ g.prototype.stepBinaryExpression = function(e, t, n) {
2230
2443
  n = r >>> t;
2231
2444
  break;
2232
2445
  case "in":
2233
- t instanceof N || I(this, this.j, "'in' expects an object, not '" + t + "'"), n = Lt(this, t, r);
2446
+ t instanceof N || I(this, this.j, "'in' expects an object, not '" + t + "'"), n = Mt(this, t, r);
2234
2447
  break;
2235
2448
  case "instanceof":
2236
2449
  ne(this, t, this.O) || I(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof N ? ne(this, r, t) : !1;
@@ -2260,7 +2473,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
2260
2473
  t.ia = 2;
2261
2474
  var o = t.value;
2262
2475
  if (Array.isArray(o)) {
2263
- if (t.U = jn(this, o), o[0] === Ye ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2476
+ if (t.U = Dn(this, o), o[0] === Ye ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2264
2477
  return t.ia = 1, St(this, o, t.value);
2265
2478
  } else
2266
2479
  t.U = o;
@@ -2284,11 +2497,11 @@ g.prototype.stepCallExpression = function(e, t, n) {
2284
2497
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2285
2498
  else {
2286
2499
  if (t.eb = !0, o instanceof N || I(this, this.j, ae(this, n.callee) + " is not a function"), e = o.node) {
2287
- for (n = Sn(this, e.body, o.Va), r = Je(this), o = 0; o < t.F.length; o++)
2500
+ for (n = kn(this, e.body, o.Va), r = Je(this), o = 0; o < t.F.length; o++)
2288
2501
  this.g(r, o, t.F[o]);
2289
2502
  for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
2290
2503
  this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
2291
- return n.S || (t.B = dn(this, t.B)), this.g(n.object, "this", t.B, Rn), t.value = void 0, new T(e.body, n);
2504
+ return n.S || (t.B = fn(this, t.B)), this.g(n.object, "this", t.B, $n), t.value = void 0, new T(e.body, n);
2292
2505
  }
2293
2506
  if (o.eval)
2294
2507
  if (o = t.F[0], typeof o != "string")
@@ -2299,15 +2512,15 @@ g.prototype.stepCallExpression = function(e, t, n) {
2299
2512
  } catch (u) {
2300
2513
  I(this, this.T, "Invalid code: " + u.message);
2301
2514
  }
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);
2515
+ return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, Ft(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = kn(this, r, n) : vt(this, r, n), this.value = void 0, new T(o, n);
2303
2516
  }
2304
2517
  else if (o.Ta)
2305
- t.scope.S || (t.B = dn(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
2518
+ t.scope.S || (t.B = fn(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
2306
2519
  else if (o.Za) {
2307
2520
  var s = this;
2308
2521
  r = o.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(u) {
2309
2522
  t.value = u, s.za = !1;
2310
- }), this.za = !0, t.scope.S || (t.B = dn(this, t.B)), o.Za.apply(t.B, r);
2523
+ }), this.za = !0, t.scope.S || (t.B = fn(this, t.B)), o.Za.apply(t.B, r);
2311
2524
  } else
2312
2525
  I(this, this.j, ae(this, n.callee) + " is not callable");
2313
2526
  }
@@ -2388,8 +2601,8 @@ g.prototype.stepForInStatement = function(e, t, n) {
2388
2601
  t.pa = [Ye, e.fa[0].id.name];
2389
2602
  else
2390
2603
  return t.pa = null, t = new T(e, t.scope), t.sa = !0, t;
2391
- if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = Vn(this, t.pa, e)))
2392
- return Dn(this, r, t.pa, e);
2604
+ if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = Un(this, t.pa, e)))
2605
+ return Wn(this, r, t.pa, e);
2393
2606
  if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
2394
2607
  return new T(n.body, t.scope);
2395
2608
  };
@@ -2418,13 +2631,13 @@ g.prototype.stepFunctionDeclaration = function(e) {
2418
2631
  e.pop();
2419
2632
  };
2420
2633
  g.prototype.stepFunctionExpression = function(e, t, n) {
2421
- e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = Nn(this, e)), t.value = Pn(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, Rn);
2634
+ e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = jn(this, e)), t.value = Nn(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, $n);
2422
2635
  };
2423
2636
  g.prototype.stepIdentifier = function(e, t, n) {
2424
2637
  if (e.pop(), t.sa)
2425
2638
  e[e.length - 1].value = [Ye, n.name];
2426
2639
  else {
2427
- if (t = Bn(this, n.name), this.P)
2640
+ if (t = Vn(this, n.name), this.P)
2428
2641
  return St(this, t, this.Na);
2429
2642
  e[e.length - 1].value = t;
2430
2643
  }
@@ -2434,7 +2647,7 @@ g.prototype.stepLabeledStatement = function(e, t, n) {
2434
2647
  return e.pop(), e = t.labels || [], e.push(n.label.name), t = new T(n.body, t.scope), t.labels = e, t;
2435
2648
  };
2436
2649
  g.prototype.stepLiteral = function(e, t, n) {
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;
2650
+ e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), Pn(this, n, t), t = n), e[e.length - 1].value = t;
2438
2651
  };
2439
2652
  g.prototype.stepLogicalExpression = function(e, t, n) {
2440
2653
  if (n.operator !== "&&" && n.operator !== "||")
@@ -2537,7 +2750,7 @@ g.prototype.stepSwitchStatement = function(e, t, n) {
2537
2750
  }
2538
2751
  };
2539
2752
  g.prototype.stepThisExpression = function(e) {
2540
- e.pop(), e[e.length - 1].value = Bn(this, "this");
2753
+ e.pop(), e[e.length - 1].value = Vn(this, "this");
2541
2754
  };
2542
2755
  g.prototype.stepThrowStatement = function(e, t, n) {
2543
2756
  if (t.ka)
@@ -2549,7 +2762,7 @@ g.prototype.stepTryStatement = function(e, t, n) {
2549
2762
  if (!t.Rb)
2550
2763
  return t.Rb = !0, new T(n.block, t.scope);
2551
2764
  if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
2552
- return t.Tb = !0, e = Nn(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new T(n.Ea.body, e);
2765
+ return t.Tb = !0, e = jn(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new T(n.Ea.body, e);
2553
2766
  if (!t.Sb && n.fb)
2554
2767
  return t.Sb = !0, new T(n.fb, t.scope);
2555
2768
  e.pop(), t.ea && bt(this, t.ea.type, t.ea.value, t.ea.label);
@@ -2599,7 +2812,7 @@ g.prototype.stepUpdateExpression = function(e, t, n) {
2599
2812
  if (!t.ja)
2600
2813
  return t.ja = !0, e = new T(n.K, t.scope), e.sa = !0, e;
2601
2814
  if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
2602
- var r = jn(this, t.Ga);
2815
+ var r = Dn(this, t.Ga);
2603
2816
  if (t.ma = r, this.P)
2604
2817
  return t.Ba = !0, St(this, r, t.Ga);
2605
2818
  }
@@ -2612,15 +2825,15 @@ g.prototype.stepUpdateExpression = function(e, t, n) {
2612
2825
  o = r - 1;
2613
2826
  else
2614
2827
  throw SyntaxError("Unknown update expression: " + n.operator);
2615
- if (n = n.prefix ? o : r, r = Vn(this, t.Ga, o))
2616
- return t.ta = !0, t.ib = n, Dn(this, r, t.Ga, o);
2828
+ if (n = n.prefix ? o : r, r = Un(this, t.Ga, o))
2829
+ return t.ta = !0, t.ib = n, Wn(this, r, t.Ga, o);
2617
2830
  e.pop(), e[e.length - 1].value = n;
2618
2831
  }
2619
2832
  };
2620
2833
  g.prototype.stepVariableDeclaration = function(e, t, n) {
2621
2834
  n = n.fa;
2622
2835
  var r = t.A || 0, o = n[r];
2623
- for (t.Bb && o && (Yr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2836
+ for (t.Bb && o && (oo(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2624
2837
  if (o.ua)
2625
2838
  return t.A = r, t.Bb = !0, t.Pa = o.id.name, new T(o.ua, t.scope);
2626
2839
  o = n[++r];
@@ -2628,10 +2841,10 @@ g.prototype.stepVariableDeclaration = function(e, t, n) {
2628
2841
  e.pop();
2629
2842
  };
2630
2843
  g.prototype.stepWithStatement = function(e, t, n) {
2631
- return t.Ca ? (e.pop(), e = Nn(this, t.scope, t.value), new T(n.body, e)) : (t.Ca = !0, new T(n.object, t.scope));
2844
+ return t.Ca ? (e.pop(), e = jn(this, t.scope, t.value), new T(n.body, e)) : (t.Ca = !0, new T(n.object, t.scope));
2632
2845
  };
2633
2846
  g.prototype.stepWhileStatement = g.prototype.stepDoWhileStatement;
2634
- Ne.Interpreter = g;
2847
+ Be.Interpreter = g;
2635
2848
  g.prototype.step = g.prototype.lb;
2636
2849
  g.prototype.run = g.prototype.Eb;
2637
2850
  g.prototype.appendCode = g.prototype.Jb;
@@ -2647,7 +2860,7 @@ g.prototype.getGlobalScope = g.prototype.Xb;
2647
2860
  g.prototype.getStateStack = g.prototype.Yb;
2648
2861
  g.prototype.setStateStack = g.prototype.ec;
2649
2862
  g.VALUE_IN_DESCRIPTOR = yt;
2650
- function $i() {
2863
+ function zi() {
2651
2864
  const e = g.prototype.getProperty, t = g.prototype.setProperty;
2652
2865
  function n(s, u) {
2653
2866
  if (s == null || !s._connected)
@@ -2655,9 +2868,9 @@ function $i() {
2655
2868
  const c = s._connected[u];
2656
2869
  return Array.isArray(c) ? this.nativeToPseudo(c) : typeof c == "object" ? this.createConnectedObject(c) : c;
2657
2870
  }
2658
- function r(s, u, c, f) {
2871
+ function r(s, u, c, m) {
2659
2872
  if (s == null || !s._connected)
2660
- return t.call(this, s, u, c, f);
2873
+ return t.call(this, s, u, c, m);
2661
2874
  s._connected[u] = this.pseudoToNative(c);
2662
2875
  }
2663
2876
  const o = [], i = [];
@@ -2672,11 +2885,11 @@ function $i() {
2672
2885
  return u._connected = s, u;
2673
2886
  };
2674
2887
  }
2675
- $i();
2676
- const Pi = (e) => e.replace(/^.*?function main\(\)/, `
2888
+ zi();
2889
+ const qi = (e) => e.replace(/^.*?function main\(\)/, `
2677
2890
  var __awaiter = function (e, t, n, r) {return r()},
2678
2891
  __generator = function (e, t) { return t() };
2679
- function main()`).replace(/\?\./g, "."), $r = (e) => e + "JSON", Oi = ({
2892
+ function main()`).replace(/\?\./g, "."), xr = (e) => e + "JSON", Gi = ({
2680
2893
  builder: e,
2681
2894
  context: t,
2682
2895
  event: n,
@@ -2685,58 +2898,58 @@ function main()`).replace(/\?\./g, "."), $r = (e) => e + "JSON", Oi = ({
2685
2898
  rootSetState: i,
2686
2899
  code: s
2687
2900
  }) => {
2688
- const u = In({
2901
+ const u = An({
2689
2902
  rootState: r,
2690
2903
  localState: o,
2691
2904
  rootSetState: i
2692
- }), c = _r({
2905
+ }), c = to({
2693
2906
  builder: e,
2694
2907
  context: t,
2695
2908
  event: n,
2696
2909
  state: u
2697
- }), f = c.map(([x]) => {
2698
- const H = $r(x);
2699
- return x === "state" ? "" : `var ${x} = ${H} === undefined ? undefined : JSON.parse(${H});`;
2910
+ }), m = c.map(([$]) => {
2911
+ const H = xr($);
2912
+ return $ === "state" ? "" : `var ${$} = ${H} === undefined ? undefined : JSON.parse(${H});`;
2700
2913
  }).join(`
2701
- `), y = Pi(s);
2914
+ `), y = qi(s);
2702
2915
  if (y === "")
2703
2916
  return;
2704
2917
  const b = `
2705
2918
  function theFunction() {
2706
- ${f}
2919
+ ${m}
2707
2920
 
2708
2921
  ${y}
2709
2922
  }
2710
2923
  theFunction();
2711
- `, m = function(x, H) {
2924
+ `, h = function($, H) {
2712
2925
  c.forEach(([te, E]) => {
2713
2926
  if (te === "state")
2714
- x.setProperty(H, te, x.createConnectedObject(E), x.READONLY_DESCRIPTOR);
2927
+ $.setProperty(H, te, $.createConnectedObject(E), $.READONLY_DESCRIPTOR);
2715
2928
  else {
2716
2929
  const D = JSON.stringify(E);
2717
- x.setProperty(H, $r(te), D);
2930
+ $.setProperty(H, xr(te), D);
2718
2931
  }
2719
2932
  });
2720
- }, S = new g(b, m);
2933
+ }, S = new g(b, h);
2721
2934
  return S.run(), S.pseudoToNative(S.value);
2722
- }, Be = (e) => e != null;
2723
- function Ni() {
2935
+ };
2936
+ function _i() {
2724
2937
  var e;
2725
- return typeof process < "u" && Be((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
2938
+ return typeof process < "u" && Ne((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
2726
2939
  }
2727
- const Bi = ({
2940
+ const Ji = ({
2728
2941
  shouldLogWarning: e
2729
2942
  }) => {
2730
2943
  var o;
2731
- if (!Ni())
2944
+ if (!_i())
2732
2945
  return !1;
2733
2946
  const t = process.arch === "arm64", n = process.version.startsWith("v20"), r = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
2734
2947
  return t && n && !r ? (e && ue.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
2735
- }, ji = (e) => M() || Bi({
2948
+ }, Xi = (e) => M() || Ji({
2736
2949
  shouldLogWarning: !0
2737
- }) ? hi(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) => {
2950
+ }) ? Ai(e) : Gi(e), Yi = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Qi = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Zi = (e) => {
2738
2951
  var t, n, r, o, i, s;
2739
- return ((r = (n = (t = Vi.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : r.slice(1)) || ((s = (i = (o = Di.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
2952
+ return ((r = (n = (t = Yi.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : r.slice(1)) || ((s = (i = (o = Qi.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
2740
2953
  };
2741
2954
  function kt({
2742
2955
  code: e,
@@ -2745,21 +2958,22 @@ function kt({
2745
2958
  rootState: r,
2746
2959
  rootSetState: o,
2747
2960
  event: i,
2748
- isExpression: s = !0
2961
+ isExpression: s = !0,
2962
+ trackingContext: u
2749
2963
  }) {
2750
2964
  if (e.trim() === "")
2751
2965
  return;
2752
- const u = Ui(e.trim());
2753
- if (u)
2966
+ const c = Zi(e.trim());
2967
+ if (c)
2754
2968
  return Kr({
2755
2969
  ...r,
2756
2970
  ...n
2757
- }, u);
2758
- const c = {
2759
- code: di(e, {
2971
+ }, c);
2972
+ const m = {
2973
+ code: Ri(e, {
2760
2974
  isExpression: s
2761
2975
  }),
2762
- builder: pi(),
2976
+ builder: Ii(u),
2763
2977
  context: t,
2764
2978
  event: i,
2765
2979
  rootSetState: o,
@@ -2767,23 +2981,23 @@ function kt({
2767
2981
  localState: n
2768
2982
  };
2769
2983
  try {
2770
- return ji(c);
2771
- } catch (f) {
2772
- ue.error("Failed code evaluation: " + f.message, {
2984
+ return Xi(m);
2985
+ } catch (y) {
2986
+ ue.error("Failed code evaluation: " + y.message, {
2773
2987
  code: e
2774
2988
  });
2775
2989
  return;
2776
2990
  }
2777
2991
  }
2778
- function Wi(e, t) {
2992
+ function es(e, t) {
2779
2993
  var n;
2780
2994
  return {
2781
2995
  ...(n = e.component) == null ? void 0 : n.options,
2782
2996
  ...e.options,
2783
- ...Li(e, t)
2997
+ ...ts(e, t)
2784
2998
  };
2785
2999
  }
2786
- const Li = (e, t) => {
3000
+ const ts = (e, t) => {
2787
3001
  var n, r;
2788
3002
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((r = e.component.options) != null && r.text) && typeof e.component.options.text == "string")
2789
3003
  return {
@@ -2797,13 +3011,13 @@ const Li = (e, t) => {
2797
3011
  }))
2798
3012
  };
2799
3013
  };
2800
- function Fi(e, ...t) {
3014
+ function ns(e, ...t) {
2801
3015
  const n = Object.assign({}, e);
2802
3016
  for (const r of t)
2803
3017
  delete n[r];
2804
3018
  return n;
2805
3019
  }
2806
- function jt(e, t, n = null, r = null, o = /* @__PURE__ */ new WeakSet()) {
3020
+ function Vt(e, t, n = null, r = null, o = /* @__PURE__ */ new WeakSet()) {
2807
3021
  if (e == null || typeof e != "object") {
2808
3022
  t(e, (i) => {
2809
3023
  n !== null && r !== null && (n[r] = i);
@@ -2813,57 +3027,57 @@ function jt(e, t, n = null, r = null, o = /* @__PURE__ */ new WeakSet()) {
2813
3027
  o.has(e) || (o.add(e), Array.isArray(e) ? e.forEach((i, s) => {
2814
3028
  t(i, (c) => {
2815
3029
  e[s] = c;
2816
- }), jt(i, t, e, s, o);
3030
+ }), Vt(i, t, e, s, o);
2817
3031
  }) : Object.entries(e).forEach(([i, s]) => {
2818
3032
  t(s, (c) => {
2819
3033
  e[i] = c;
2820
- }), jt(s, t, e, i, o);
3034
+ }), Vt(s, t, e, i, o);
2821
3035
  }));
2822
3036
  }
2823
- function eo(e) {
3037
+ function ao(e) {
2824
3038
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
2825
3039
  }
2826
- function Mi(e) {
3040
+ function rs(e) {
2827
3041
  if (!e || !Object.getOwnPropertyNames(e).length)
2828
3042
  return !1;
2829
3043
  let t = !1;
2830
- return jt(e, (n) => {
2831
- if (eo(n)) {
3044
+ return Vt(e, (n) => {
3045
+ if (ao(n)) {
2832
3046
  t = !0;
2833
3047
  return;
2834
3048
  }
2835
3049
  }), t;
2836
3050
  }
2837
- function Hi(e, t) {
2838
- return !e || !Object.getOwnPropertyNames(e).length ? {} : (jt(e, (n, r) => {
2839
- eo(n) && r(n[t] ?? void 0);
3051
+ function os(e, t) {
3052
+ return !e || !Object.getOwnPropertyNames(e).length ? {} : (Vt(e, (n, r) => {
3053
+ ao(n) && r(n[t] ?? void 0);
2840
3054
  }), e);
2841
3055
  }
2842
- function Ki(e, t) {
3056
+ function is(e, t) {
2843
3057
  var n, r;
2844
- return (n = e.component) != null && n.options && Mi((r = e.component) == null ? void 0 : r.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = Hi(e.component.options, t ?? "Default")), e;
3058
+ return (n = e.component) != null && n.options && rs((r = e.component) == null ? void 0 : r.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = os(e.component.options, t ?? "Default")), e;
2845
3059
  }
2846
- const Un = (e) => JSON.parse(JSON.stringify(e)), to = (e, t, n) => {
3060
+ const Ln = (e) => JSON.parse(JSON.stringify(e)), lo = (e, t, n) => {
2847
3061
  if (Object(e) !== e)
2848
3062
  return e;
2849
3063
  const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
2850
3064
  return r.slice(0, -1).reduce((o, i, s) => Object(o[i]) === o[i] ? o[i] : o[i] = Math.abs(Number(r[s + 1])) >> 0 === +r[s + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
2851
3065
  };
2852
- function kn(e) {
3066
+ function Cn(e) {
2853
3067
  if (e === null || typeof e != "object")
2854
3068
  return e;
2855
3069
  if (Array.isArray(e))
2856
- return e.map((n) => kn(n));
3070
+ return e.map((n) => Cn(n));
2857
3071
  if (e["@type"] === "@builder.io/sdk:Element")
2858
3072
  return e;
2859
3073
  const t = {};
2860
3074
  for (const n in e)
2861
- n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = kn(e[n]));
3075
+ n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = Cn(e[n]));
2862
3076
  return t;
2863
3077
  }
2864
- const zi = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), qi = (e) => {
2865
- if (zi) {
2866
- const t = Un(e);
3078
+ const ss = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), as = (e) => {
3079
+ if (ss) {
3080
+ const t = Ln(e);
2867
3081
  return {
2868
3082
  ...t,
2869
3083
  properties: {
@@ -2874,7 +3088,7 @@ const zi = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), qi = (e) =
2874
3088
  }
2875
3089
  };
2876
3090
  } else {
2877
- const t = kn(Fi(e, "children", "meta"));
3091
+ const t = Cn(ns(e, "children", "meta"));
2878
3092
  return {
2879
3093
  ...t,
2880
3094
  properties: {
@@ -2887,7 +3101,7 @@ const zi = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), qi = (e) =
2887
3101
  meta: e.meta
2888
3102
  };
2889
3103
  }
2890
- }, Gi = ({
3104
+ }, ls = ({
2891
3105
  block: e,
2892
3106
  context: t,
2893
3107
  localState: n,
@@ -2896,7 +3110,7 @@ const zi = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), qi = (e) =
2896
3110
  }) => {
2897
3111
  if (!e.bindings)
2898
3112
  return e;
2899
- const i = qi(e);
3113
+ const i = as(e);
2900
3114
  for (const s in e.bindings) {
2901
3115
  const u = e.bindings[s], c = kt({
2902
3116
  code: u,
@@ -2905,11 +3119,11 @@ const zi = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), qi = (e) =
2905
3119
  rootSetState: o,
2906
3120
  context: t
2907
3121
  });
2908
- to(i, s, c);
3122
+ lo(i, s, c);
2909
3123
  }
2910
3124
  return i;
2911
3125
  };
2912
- function _i({
3126
+ function us({
2913
3127
  block: e,
2914
3128
  context: t,
2915
3129
  localState: n,
@@ -2917,31 +3131,31 @@ function _i({
2917
3131
  rootSetState: o
2918
3132
  }) {
2919
3133
  let i = e;
2920
- return i = Gi({
3134
+ return i = ls({
2921
3135
  block: i,
2922
3136
  localState: n,
2923
3137
  rootState: r,
2924
3138
  rootSetState: o,
2925
3139
  context: t
2926
- }), i = Ki(i, r.locale), i;
3140
+ }), i = is(i, r.locale), i;
2927
3141
  }
2928
- function Wn(e) {
3142
+ function Fn(e) {
2929
3143
  const t = e || (M() ? window.location.search : void 0);
2930
3144
  return t ? qr(t).indexOf("builder.preview=") !== -1 : !1;
2931
3145
  }
2932
- const Ji = (e) => ({
3146
+ const cs = (e) => ({
2933
3147
  type: "builder.registerComponent",
2934
- data: Vt(e)
2935
- }), Xi = (e) => {
3148
+ data: Dt(e)
3149
+ }), ps = (e) => {
2936
3150
  const t = e.toString().trim(), n = /^[a-zA-Z0-9_]+\s*=>/i.test(t);
2937
3151
  return `return (${!t.startsWith("function") && !t.startsWith("async") && !t.startsWith("(") && !n ? "function " : ""}${t}).apply(this, arguments)`;
2938
3152
  };
2939
- function Vt(e) {
2940
- return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Xi(n) : n));
3153
+ function Dt(e) {
3154
+ return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? ps(n) : n));
2941
3155
  }
2942
3156
  const Pr = {};
2943
- function ec(e, t) {
2944
- e === "plugin" && (t = Vt(t));
3157
+ function tc(e, t) {
3158
+ e === "plugin" && (t = Dt(t));
2945
3159
  let n = Pr[e];
2946
3160
  if (n || (n = Pr[e] = []), n.push(t), M()) {
2947
3161
  const r = {
@@ -2958,7 +3172,7 @@ function ec(e, t) {
2958
3172
  }
2959
3173
  }
2960
3174
  }
2961
- function tc(e) {
3175
+ function nc(e) {
2962
3176
  var t;
2963
3177
  if (M()) {
2964
3178
  const n = JSON.parse(JSON.stringify(e));
@@ -2969,7 +3183,7 @@ function tc(e) {
2969
3183
  }
2970
3184
  }
2971
3185
  const Or = {};
2972
- function nc(e) {
3186
+ function rc(e) {
2973
3187
  if (M()) {
2974
3188
  Object.assign(Or, e);
2975
3189
  const t = {
@@ -2979,225 +3193,27 @@ function nc(e) {
2979
3193
  parent.postMessage(t, "*");
2980
3194
  }
2981
3195
  }
2982
- const Nr = "builder.", Yi = "options.", no = (e) => {
3196
+ const Nr = "builder.", ds = "options.", uo = (e) => {
2983
3197
  if (!e)
2984
3198
  return {};
2985
3199
  const t = zr(e), n = {};
2986
3200
  return Object.keys(t).forEach((r) => {
2987
3201
  if (r.startsWith(Nr)) {
2988
- const o = r.replace(Nr, "").replace(Yi, "");
3202
+ const o = r.replace(Nr, "").replace(ds, "");
2989
3203
  n[o] = t[r];
2990
3204
  }
2991
3205
  }), n;
2992
- }, Qi = () => {
3206
+ }, fs = () => {
2993
3207
  if (!M())
2994
3208
  return {};
2995
3209
  const e = new URLSearchParams(window.location.search);
2996
- return no(e);
2997
- }, ro = "5.1.0", oo = () => ({
2998
- "X-Builder-SDK": G,
2999
- "X-Builder-SDK-GEN": "2",
3000
- "X-Builder-SDK-Version": ro
3001
- }), Zi = (e) => {
3002
- if (e === "localhost" || e === "127.0.0.1")
3003
- return e;
3004
- const t = e.split(".");
3005
- return t.length > 2 ? t.slice(1).join(".") : e;
3006
- }, Ft = ({
3007
- name: e,
3008
- canTrack: t
3009
- }) => {
3010
- var n;
3011
- try {
3012
- return t ? (n = document.cookie.split("; ").find((r) => r.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
3013
- } catch (r) {
3014
- ue.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3015
- return;
3016
- }
3017
- }, io = async (e) => Ft(e), es = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Be).join("; "), ts = [["secure", ""], ["SameSite", "None"]], ns = ({
3018
- name: e,
3019
- value: t,
3020
- expires: n
3021
- }) => {
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];
3023
- return es(s);
3024
- }, Ln = async ({
3025
- name: e,
3026
- value: t,
3027
- expires: n,
3028
- canTrack: r
3029
- }) => {
3030
- try {
3031
- if (!r)
3032
- return;
3033
- const o = ns({
3034
- name: e,
3035
- value: t,
3036
- expires: n
3037
- });
3038
- document.cookie = o;
3039
- } catch (o) {
3040
- ue.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3041
- }
3042
- };
3043
- function rs() {
3044
- return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
3045
- const t = Math.random() * 16 | 0;
3046
- return (e == "x" ? t : t & 3 | 8).toString(16);
3047
- });
3048
- }
3049
- function so() {
3050
- return rs().replace(/-/g, "");
3051
- }
3052
- const ao = "builderSessionId", os = async ({
3053
- canTrack: e
3054
- }) => {
3055
- if (!e)
3056
- return;
3057
- const t = await io({
3058
- name: ao,
3059
- canTrack: e
3060
- });
3061
- if (Be(t))
3062
- return t;
3063
- {
3064
- const n = is();
3065
- return ss({
3066
- id: n,
3067
- canTrack: e
3068
- }), n;
3069
- }
3070
- }, is = () => so(), ss = ({
3071
- id: e,
3072
- canTrack: t
3073
- }) => Ln({
3074
- name: ao,
3075
- value: e,
3076
- canTrack: t
3077
- }), lo = () => M() && typeof localStorage < "u" ? localStorage : void 0, as = ({
3078
- key: e,
3079
- canTrack: t
3080
- }) => {
3081
- var n;
3082
- try {
3083
- return t ? (n = lo()) == null ? void 0 : n.getItem(e) : void 0;
3084
- } catch (r) {
3085
- console.debug("[LocalStorage] GET error: ", r);
3086
- return;
3087
- }
3088
- }, ls = ({
3089
- key: e,
3090
- canTrack: t,
3091
- value: n
3092
- }) => {
3093
- var r;
3094
- try {
3095
- t && ((r = lo()) == null || r.setItem(e, n));
3096
- } catch (o) {
3097
- console.debug("[LocalStorage] SET error: ", o);
3098
- }
3099
- }, uo = "builderVisitorId", us = ({
3100
- canTrack: e
3101
- }) => {
3102
- if (!e)
3103
- return;
3104
- const t = as({
3105
- key: uo,
3106
- canTrack: e
3107
- });
3108
- if (Be(t))
3109
- return t;
3110
- {
3111
- const n = cs();
3112
- return ps({
3113
- id: n,
3114
- canTrack: e
3115
- }), n;
3116
- }
3117
- }, cs = () => so(), ps = ({
3118
- id: e,
3119
- canTrack: t
3120
- }) => ls({
3121
- key: uo,
3122
- value: e,
3123
- canTrack: t
3124
- });
3125
- function Fn(e) {
3126
- var t;
3127
- typeof process < "u" && ((t = process.env) != null && t.DEBUG) && String(process.env.DEBUG) == "true" && ue.log(e);
3128
- }
3129
- const ds = async ({
3130
- canTrack: e
3131
- }) => {
3132
- if (!e)
3133
- return {
3134
- visitorId: void 0,
3135
- sessionId: void 0
3136
- };
3137
- const t = await os({
3138
- canTrack: e
3139
- }), n = us({
3140
- canTrack: e
3141
- });
3142
- return {
3143
- sessionId: t,
3144
- visitorId: n
3145
- };
3146
- }, hs = async ({
3147
- type: e,
3148
- canTrack: t,
3149
- apiKey: n,
3150
- metadata: r,
3151
- ...o
3152
- }) => ({
3153
- type: e,
3154
- data: {
3155
- ...o,
3156
- metadata: {
3157
- url: location.href,
3158
- ...r
3159
- },
3160
- ...await ds({
3161
- canTrack: t
3162
- }),
3163
- userAttributes: Gr(),
3164
- ownerId: n
3165
- }
3166
- });
3167
- async function Cn({
3168
- apiHost: e,
3169
- ...t
3170
- }) {
3171
- if (!t.apiKey) {
3172
- ue.error("Missing API key for track call. Please provide your API key.");
3173
- return;
3174
- }
3175
- if (!t.canTrack || oe() || !(M() || G === "reactNative"))
3176
- return;
3177
- const r = `${e || "https://cdn.builder.io"}/api/v1/track`;
3178
- return Fn(r), fetch(r, {
3179
- method: "POST",
3180
- body: JSON.stringify({
3181
- events: [await hs(t)]
3182
- }),
3183
- headers: {
3184
- "content-type": "application/json",
3185
- ...oo()
3186
- },
3187
- mode: "cors"
3188
- }).catch((o) => {
3189
- console.error("Failed to track: ", o);
3190
- });
3191
- }
3192
- const rc = (e) => Cn({
3193
- ...e,
3194
- canTrack: !0
3195
- }), fs = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3210
+ return uo(e);
3211
+ }, hs = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3196
3212
  function co(e, t) {
3197
3213
  if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
3198
3214
  return !1;
3199
3215
  const n = new URL(t.origin), r = n.hostname;
3200
- return (e || fs).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
3216
+ return (e || hs).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
3201
3217
  }
3202
3218
  let Br = !1;
3203
3219
  const po = (e) => {
@@ -3206,7 +3222,7 @@ const po = (e) => {
3206
3222
  type: "builder.sdkInfo",
3207
3223
  data: {
3208
3224
  target: G,
3209
- version: ro,
3225
+ version: _r,
3210
3226
  supportsPatchUpdates: !1,
3211
3227
  // Supports builder-model="..." attribute which is needed to
3212
3228
  // scope our '+ add block' button styling
@@ -3232,25 +3248,25 @@ const po = (e) => {
3232
3248
  if (o != null && o.type)
3233
3249
  switch (o.type) {
3234
3250
  case "builder.evaluate": {
3235
- const u = o.data.text, c = o.data.arguments || [], f = o.data.id, y = new Function(u);
3236
- let b, m = null;
3251
+ const u = o.data.text, c = o.data.arguments || [], m = o.data.id, y = new Function(u);
3252
+ let b, h = null;
3237
3253
  try {
3238
3254
  b = y.apply(null, c);
3239
3255
  } catch (S) {
3240
- m = S;
3256
+ h = S;
3241
3257
  }
3242
- m ? (i = window.parent) == null || i.postMessage({
3258
+ h ? (i = window.parent) == null || i.postMessage({
3243
3259
  type: "builder.evaluateError",
3244
3260
  data: {
3245
- id: f,
3246
- error: m.message
3261
+ id: m,
3262
+ error: h.message
3247
3263
  }
3248
3264
  }, "*") : b && typeof b.then == "function" ? b.then((S) => {
3249
3265
  var A;
3250
3266
  (A = window.parent) == null || A.postMessage({
3251
3267
  type: "builder.evaluateResult",
3252
3268
  data: {
3253
- id: f,
3269
+ id: m,
3254
3270
  result: S
3255
3271
  }
3256
3272
  }, "*");
@@ -3258,14 +3274,14 @@ const po = (e) => {
3258
3274
  type: "builder.evaluateResult",
3259
3275
  data: {
3260
3276
  result: b,
3261
- id: f
3277
+ id: m
3262
3278
  }
3263
3279
  }, "*");
3264
3280
  break;
3265
3281
  }
3266
3282
  }
3267
3283
  })));
3268
- }, ho = ({
3284
+ }, fo = ({
3269
3285
  model: e,
3270
3286
  trustedHosts: t,
3271
3287
  callbacks: n
@@ -3309,7 +3325,7 @@ const po = (e) => {
3309
3325
  modelName: e,
3310
3326
  apiKey: t
3311
3327
  });
3312
- const o = ho({
3328
+ const o = fo({
3313
3329
  callbacks: {
3314
3330
  contentUpdate: n,
3315
3331
  animation: () => {
@@ -3327,22 +3343,22 @@ const po = (e) => {
3327
3343
  };
3328
3344
  }, ms = "builder.tests", Mn = (e) => `${ms}.${e}`, gs = ({
3329
3345
  contentId: e
3330
- }) => io({
3346
+ }) => Xr({
3331
3347
  name: Mn(e),
3332
3348
  canTrack: !0
3333
3349
  }), ys = ({
3334
3350
  contentId: e
3335
- }) => Ft({
3351
+ }) => Lt({
3336
3352
  name: Mn(e),
3337
3353
  canTrack: !0
3338
3354
  }), vs = ({
3339
3355
  contentId: e,
3340
3356
  value: t
3341
- }) => Ln({
3357
+ }) => In({
3342
3358
  name: Mn(e),
3343
3359
  value: t,
3344
3360
  canTrack: !0
3345
- }), fo = (e) => Be(e.id) && Be(e.variations) && Object.keys(e.variations).length > 0, bs = ({
3361
+ }), ho = (e) => Ne(e.id) && Ne(e.variations) && Object.keys(e.variations).length > 0, bs = ({
3346
3362
  id: e,
3347
3363
  variations: t
3348
3364
  }) => {
@@ -3385,7 +3401,7 @@ const po = (e) => {
3385
3401
  return e;
3386
3402
  if (!e)
3387
3403
  return;
3388
- if (!fo(e))
3404
+ if (!ho(e))
3389
3405
  return e;
3390
3406
  const n = ys({
3391
3407
  contentId: e.id
@@ -3404,7 +3420,7 @@ const po = (e) => {
3404
3420
  item: e,
3405
3421
  canTrack: t
3406
3422
  }) => {
3407
- if (!t || !fo(e))
3423
+ if (!t || !ho(e))
3408
3424
  return e;
3409
3425
  const r = await gs({
3410
3426
  contentId: e.id
@@ -3432,14 +3448,14 @@ function Vr() {
3432
3448
  ...this.getUserAttributes(),
3433
3449
  ...n
3434
3450
  };
3435
- Ln({
3451
+ In({
3436
3452
  name: jr,
3437
3453
  value: JSON.stringify(r),
3438
3454
  canTrack: e
3439
3455
  }), t.forEach((o) => o(r));
3440
3456
  },
3441
3457
  getUserAttributes() {
3442
- return M() ? JSON.parse(Ft({
3458
+ return M() ? JSON.parse(Lt({
3443
3459
  name: jr,
3444
3460
  canTrack: e
3445
3461
  }) || "{}") : {};
@@ -3458,11 +3474,11 @@ function Vr() {
3458
3474
  }
3459
3475
  let wn;
3460
3476
  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) => {
3462
- Dt.setUserAttributes(e);
3477
+ const Ut = wn, ic = (e) => {
3478
+ Ut.setUserAttributes(e);
3463
3479
  }, Xe = (e) => {
3464
- const t = Be(e) ? e : !0;
3465
- return Dt.setCanTrack(t), t;
3480
+ const t = Ne(e) ? e : !0;
3481
+ return Ut.setCanTrack(t), t;
3466
3482
  };
3467
3483
  function Cs() {
3468
3484
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
@@ -3516,13 +3532,13 @@ const Is = "v3", Dr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Hn = (
3516
3532
  enrich: s,
3517
3533
  locale: u,
3518
3534
  apiVersion: c = Is,
3519
- fields: f,
3535
+ fields: m,
3520
3536
  omit: y,
3521
3537
  offset: b,
3522
- cacheSeconds: m,
3538
+ cacheSeconds: h,
3523
3539
  staleCacheSeconds: S,
3524
3540
  sort: A,
3525
- includeUnpublished: x,
3541
+ includeUnpublished: $,
3526
3542
  apiHost: H
3527
3543
  } = e;
3528
3544
  if (!i)
@@ -3532,7 +3548,7 @@ const Is = "v3", Dr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Hn = (
3532
3548
  const te = t !== 1, E = H || "https://cdn.builder.io", D = new URL(`${E}/api/${c}/content/${o}`);
3533
3549
  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
3550
  let ie = n || {};
3535
- if (s && D.searchParams.set("enrich", String(s)), D.searchParams.set("omit", y ?? "meta.componentsUsed"), f && D.searchParams.set("fields", f), 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) {
3551
+ if (s && D.searchParams.set("enrich", String(s)), D.searchParams.set("omit", y ?? "meta.componentsUsed"), m && D.searchParams.set("fields", m), Number.isFinite(b) && b > -1 && D.searchParams.set("offset", String(Math.floor(b))), typeof $ == "boolean" && D.searchParams.set("includeUnpublished", String($)), h && Dr(h) && D.searchParams.set("cacheSeconds", String(h)), S && Dr(S) && D.searchParams.set("staleCacheSeconds", String(S)), A) {
3536
3552
  const _ = Tn({
3537
3553
  sort: A
3538
3554
  });
@@ -3540,7 +3556,7 @@ const Is = "v3", Dr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Hn = (
3540
3556
  D.searchParams.set(R, JSON.stringify(_[R]));
3541
3557
  }
3542
3558
  const Ae = {
3543
- ...Qi(),
3559
+ ...fs(),
3544
3560
  ...zr(e.options || {})
3545
3561
  };
3546
3562
  ie = {
@@ -3572,7 +3588,7 @@ const Is = "v3", Dr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Hn = (
3572
3588
  return n;
3573
3589
  }
3574
3590
  return {};
3575
- }, xs = (e) => "results" in e;
3591
+ }, $s = (e) => "results" in e;
3576
3592
  async function Kn(e) {
3577
3593
  var r;
3578
3594
  const t = e.locale || ((r = e.userAttributes) == null ? void 0 : r.locale);
@@ -3586,13 +3602,13 @@ async function Kn(e) {
3586
3602
  });
3587
3603
  return n && n[0] || null;
3588
3604
  }
3589
- const $s = async (e) => {
3605
+ const xs = async (e) => {
3590
3606
  var s;
3591
3607
  const t = Hn(e), n = e.fetch ?? Ts, r = {
3592
3608
  ...e.fetchOptions,
3593
3609
  headers: {
3594
3610
  ...(s = e.fetchOptions) == null ? void 0 : s.headers,
3595
- ...oo()
3611
+ ...Jr()
3596
3612
  }
3597
3613
  };
3598
3614
  return await (await n(t.href, r)).json();
@@ -3614,8 +3630,8 @@ const $s = async (e) => {
3614
3630
  return t.results;
3615
3631
  };
3616
3632
  async function Os(e) {
3617
- const t = Hn(e), n = await $s(e);
3618
- if (!xs(n))
3633
+ const t = Hn(e), n = await xs(e);
3634
+ if (!$s(n))
3619
3635
  throw ue.error("Error fetching data. ", {
3620
3636
  url: t,
3621
3637
  content: n,
@@ -3635,7 +3651,7 @@ const sc = async (e) => {
3635
3651
  urlPath: t
3636
3652
  } : {}
3637
3653
  },
3638
- options: no(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
3654
+ options: uo(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
3639
3655
  };
3640
3656
  return {
3641
3657
  apiKey: n.apiKey,
@@ -3649,10 +3665,10 @@ function Ns(e, t, n = {}) {
3649
3665
  u = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(r, o), s || (r = o = null);
3650
3666
  };
3651
3667
  return function() {
3652
- const f = Date.now();
3653
- !u && n.leading === !1 && (u = f);
3654
- const y = t - (f - u);
3655
- return r = this, o = arguments, y <= 0 || y > t ? (s && (clearTimeout(s), s = null), u = f, i = e.apply(r, o), s || (r = o = null)) : !s && n.trailing !== !1 && (s = setTimeout(c, y)), i;
3668
+ const m = Date.now();
3669
+ !u && n.leading === !1 && (u = m);
3670
+ const y = t - (m - u);
3671
+ return r = this, o = arguments, y <= 0 || y > t ? (s && (clearTimeout(s), s = null), u = m, i = e.apply(r, o), s || (r = o = null)) : !s && n.trailing !== !1 && (s = setTimeout(c, y)), i;
3656
3672
  };
3657
3673
  }
3658
3674
  function mt(e, ...t) {
@@ -3726,14 +3742,14 @@ function Vs(e) {
3726
3742
  leading: !1
3727
3743
  });
3728
3744
  function u(y) {
3729
- const b = y.getBoundingClientRect(), m = window.innerHeight, A = (e.thresholdPercent || 0) / 100 * m;
3730
- return b.bottom > A && b.top < m - A;
3745
+ const b = y.getBoundingClientRect(), h = window.innerHeight, A = (e.thresholdPercent || 0) / 100 * h;
3746
+ return b.bottom > A && b.top < h - A;
3731
3747
  }
3732
3748
  const c = e.steps[0].styles;
3733
- function f() {
3749
+ function m() {
3734
3750
  mt(n.style, c);
3735
3751
  }
3736
- f(), setTimeout(() => {
3752
+ m(), setTimeout(() => {
3737
3753
  n.style.transition = `all ${e.duration}s ${zn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
3738
3754
  }), document.addEventListener("scroll", s, {
3739
3755
  capture: !0,
@@ -3744,7 +3760,7 @@ function Vs(e) {
3744
3760
  const ko = (e) => Object.entries(e).map(([n, r]) => {
3745
3761
  if (typeof r == "string")
3746
3762
  return `${zn(n)}: ${r};`;
3747
- }).filter(Be), Ds = (e) => ko(e).join(`
3763
+ }).filter(Ne), Ds = (e) => ko(e).join(`
3748
3764
  `), ac = ({
3749
3765
  mediaQuery: e,
3750
3766
  className: t,
@@ -3821,15 +3837,15 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3821
3837
  if (!Array.isArray(o))
3822
3838
  return;
3823
3839
  const i = n.collection.split(".").pop(), s = n.itemName || (i ? i + "Item" : "item");
3824
- return o.map((c, f) => ({
3840
+ return o.map((c, m) => ({
3825
3841
  context: {
3826
3842
  ...t,
3827
3843
  localState: {
3828
3844
  ...t.localState,
3829
- $index: f,
3845
+ $index: m,
3830
3846
  $item: c,
3831
3847
  [s]: c,
3832
- [`$${s}Index`]: f
3848
+ [`$${s}Index`]: m
3833
3849
  }
3834
3850
  },
3835
3851
  block: r
@@ -3859,22 +3875,22 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3859
3875
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
3860
3876
  e
3861
3877
  ), e;
3862
- }), Gs = () => import("./block-wrapper-LzMR5J5q.js").then((e) => e.default).catch((e) => {
3878
+ }), Gs = () => import("./block-wrapper-DYh1gucy.js").then((e) => e.default).catch((e) => {
3863
3879
  throw console.error(
3864
3880
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
3865
3881
  e
3866
3882
  ), e;
3867
- }), _s = () => import("./component-ref-30u-bbmm.js").then((e) => e.default).catch((e) => {
3883
+ }), _s = () => import("./component-ref-14bWdw0y.js").then((e) => e.default).catch((e) => {
3868
3884
  throw console.error(
3869
3885
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
3870
3886
  e
3871
3887
  ), e;
3872
- }), Js = () => import("./repeated-block-_wYfLmVg.js").then((e) => e.default).catch((e) => {
3888
+ }), Js = () => import("./repeated-block-F4oPiI78.js").then((e) => e.default).catch((e) => {
3873
3889
  throw console.error(
3874
3890
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
3875
3891
  e
3876
3892
  ), e;
3877
- }), Xs = () => import("./style-wrapper-I1DS5PUP.js").then((e) => e.default).catch((e) => {
3893
+ }), Xs = () => import("./style-wrapper-Ad7ABy2Z.js").then((e) => e.default).catch((e) => {
3878
3894
  throw console.error(
3879
3895
  "Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
3880
3896
  e
@@ -3918,7 +3934,7 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3918
3934
  },
3919
3935
  processedBlock() {
3920
3936
  var t;
3921
- return (t = this.block.repeat) != null && t.collection ? this.block : _i({
3937
+ return (t = this.block.repeat) != null && t.collection ? this.block : us({
3922
3938
  block: this.block,
3923
3939
  localState: this.context.localState,
3924
3940
  rootState: this.context.rootState,
@@ -3954,7 +3970,7 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3954
3970
  blockChildren: this.processedBlock.children ?? [],
3955
3971
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
3956
3972
  componentOptions: {
3957
- ...Wi(this.processedBlock, this.context),
3973
+ ...es(this.processedBlock, this.context),
3958
3974
  ...Hs(this.blockComponent, this.processedBlock),
3959
3975
  ...Ks(this.blockComponent, this.context),
3960
3976
  ...Fs(this.blockComponent, this.linkComponent),
@@ -3976,7 +3992,7 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3976
3992
  });
3977
3993
  function Qs(e, t, n, r, o, i) {
3978
3994
  var b;
3979
- const s = W("StyleWrapper"), u = W("ComponentRef"), c = W("Block", !0), f = W("BlockWrapper"), y = W("RepeatedBlock");
3995
+ const s = W("StyleWrapper"), u = W("ComponentRef"), c = W("Block", !0), m = W("BlockWrapper"), y = W("RepeatedBlock");
3980
3996
  return e.canShowBlock ? (v(), w(z, { key: 0 }, [
3981
3997
  ee(s, {
3982
3998
  block: e.processedBlock,
@@ -3984,10 +4000,10 @@ function Qs(e, t, n, r, o, i) {
3984
4000
  id: e.block.id
3985
4001
  }, null, 8, ["block", "context", "id"]),
3986
4002
  (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, {
4003
+ e.repeatItem ? (v(!0), w(z, { key: 1 }, ve(e.repeatItem, (h, S) => (v(), U(y, {
3988
4004
  key: e.generateKey(S),
3989
- repeatContext: m.context,
3990
- block: m.block,
4005
+ repeatContext: h.context,
4006
+ block: h.block,
3991
4007
  registeredComponents: e.registeredComponents,
3992
4008
  linkComponent: e.linkComponent
3993
4009
  }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (v(), U(u, {
@@ -4003,13 +4019,13 @@ function Qs(e, t, n, r, o, i) {
4003
4019
  isInteractive: e.componentRefProps.isInteractive
4004
4020
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
4005
4021
  ], 64)) : (v(), w(z, { key: 0 }, [
4006
- e.repeatItem ? (v(!0), w(z, { key: 1 }, ve(e.repeatItem, (m, S) => (v(), U(y, {
4022
+ e.repeatItem ? (v(!0), w(z, { key: 1 }, ve(e.repeatItem, (h, S) => (v(), U(y, {
4007
4023
  key: e.generateKey(S),
4008
- repeatContext: m.context,
4009
- block: m.block,
4024
+ repeatContext: h.context,
4025
+ block: h.block,
4010
4026
  registeredComponents: e.registeredComponents,
4011
4027
  linkComponent: e.linkComponent
4012
- }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (v(), U(f, {
4028
+ }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (v(), U(m, {
4013
4029
  key: 0,
4014
4030
  Wrapper: e.Tag,
4015
4031
  block: e.processedBlock,
@@ -4027,9 +4043,9 @@ function Qs(e, t, n, r, o, i) {
4027
4043
  includeBlockProps: e.componentRefProps.includeBlockProps,
4028
4044
  isInteractive: e.componentRefProps.isInteractive
4029
4045
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
4030
- (v(!0), w(z, null, ve(e.childrenWithoutParentComponent, (m, S) => (v(), U(c, {
4031
- key: m.id,
4032
- block: m,
4046
+ (v(!0), w(z, null, ve(e.childrenWithoutParentComponent, (h, S) => (v(), U(c, {
4047
+ key: h.id,
4048
+ block: h,
4033
4049
  registeredComponents: e.registeredComponents,
4034
4050
  linkComponent: e.linkComponent,
4035
4051
  context: e.context
@@ -4145,29 +4161,29 @@ const ta = /* @__PURE__ */ j(Zs, [["render", ea], ["__scopeId", "data-v-82fc93d6
4145
4161
  "registeredComponents"
4146
4162
  ],
4147
4163
  inject: {
4148
- builderContext: yn.key,
4164
+ builderContext: vn.key,
4149
4165
  componentsContext: Hr.key
4150
4166
  }
4151
4167
  });
4152
4168
  function ra(e, t, n, r, o, i) {
4153
- var c, f, y, b;
4169
+ var c, m, y, b;
4154
4170
  const s = W("Block"), u = W("BlocksWrapper");
4155
4171
  return v(), U(u, {
4156
4172
  blocks: e.blocks,
4157
4173
  parent: e.parent,
4158
4174
  path: e.path,
4159
4175
  styleProp: e.styleProp,
4160
- BlocksWrapperProps: e.BlocksWrapperProps || ((c = e.context) == null ? void 0 : c.BlocksWrapperProps) || ((f = e.builderContext) == null ? void 0 : f.BlocksWrapperProps),
4176
+ BlocksWrapperProps: e.BlocksWrapperProps || ((c = e.context) == null ? void 0 : c.BlocksWrapperProps) || ((m = e.builderContext) == null ? void 0 : m.BlocksWrapperProps),
4161
4177
  classNameProp: e.className,
4162
4178
  BlocksWrapper: ((y = e.context) == null ? void 0 : y.BlocksWrapper) || ((b = e.builderContext) == null ? void 0 : b.BlocksWrapper)
4163
4179
  }, {
4164
4180
  default: me(() => [
4165
4181
  pe(e.$slots, "default"),
4166
- e.blocks ? (v(!0), w(z, { key: 0 }, ve(e.blocks, (m, S) => {
4182
+ e.blocks ? (v(!0), w(z, { key: 0 }, ve(e.blocks, (h, S) => {
4167
4183
  var A;
4168
4184
  return v(), U(s, {
4169
- key: m.id,
4170
- block: m,
4185
+ key: h.id,
4186
+ block: h,
4171
4187
  linkComponent: e.linkComponent,
4172
4188
  context: e.context || e.builderContext,
4173
4189
  registeredComponents: e.registeredComponents || ((A = e.componentsContext) == null ? void 0 : A.registeredComponents)
@@ -4189,7 +4205,7 @@ function ia(e, t, n, r, o, i) {
4189
4205
  const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4190
4206
  __proto__: null,
4191
4207
  default: Ct
4192
- }, Symbol.toStringTag, { value: "Module" })), Mt = B({
4208
+ }, Symbol.toStringTag, { value: "Module" })), Ht = B({
4193
4209
  render() {
4194
4210
  return Mr("style", {
4195
4211
  innerHTML: this.styles,
@@ -4221,7 +4237,7 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4221
4237
  max: 1200
4222
4238
  }
4223
4239
  }, cc = (e, t = Eo) => `@media (max-width: ${t[e].max}px)`, aa = (e) => {
4224
- const t = Un(Eo);
4240
+ const t = Ln(Eo);
4225
4241
  if (!e)
4226
4242
  return t;
4227
4243
  const {
@@ -4261,7 +4277,7 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4261
4277
  }, la = (e) => `builder-columns ${e}-breakpoints`, ua = B({
4262
4278
  name: "builder-columns",
4263
4279
  components: {
4264
- InlinedStyles: Mt,
4280
+ InlinedStyles: Ht,
4265
4281
  DynamicRenderer: En,
4266
4282
  Blocks: Ue,
4267
4283
  DynamicDiv: Ct
@@ -4400,10 +4416,10 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4400
4416
  }
4401
4417
  });
4402
4418
  function ca(e, t, n, r, o, i) {
4403
- var f;
4419
+ var m;
4404
4420
  const s = W("InlinedStyles"), u = W("Blocks"), c = W("DynamicRenderer");
4405
4421
  return v(), w("div", q({
4406
- class: e.getColumnsClass((f = e.builderBlock) == null ? void 0 : f.id) + " div-1be3j8m9ewb",
4422
+ class: e.getColumnsClass((m = e.builderBlock) == null ? void 0 : m.id) + " div-1be3j8m9ewb",
4407
4423
  style: e.columnsCssVars()
4408
4424
  }, {}), [
4409
4425
  e.TARGET !== "reactNative" ? (v(), U(s, {
@@ -4439,12 +4455,12 @@ const pa = /* @__PURE__ */ j(ua, [["render", ca], ["__scopeId", "data-v-ab15749a
4439
4455
  name: "builder-fragment-component",
4440
4456
  props: []
4441
4457
  });
4442
- function ha(e, t, n, r, o, i) {
4458
+ function fa(e, t, n, r, o, i) {
4443
4459
  return v(), w("span", null, [
4444
4460
  pe(e.$slots, "default")
4445
4461
  ]);
4446
4462
  }
4447
- const fa = /* @__PURE__ */ j(da, [["render", ha]]);
4463
+ const ha = /* @__PURE__ */ j(da, [["render", fa]]);
4448
4464
  function Ur(e) {
4449
4465
  return e.replace(/http(s)?:/, "");
4450
4466
  }
@@ -4531,7 +4547,7 @@ const ya = B({
4531
4547
  class: "div-t43jfuqn6g-2"
4532
4548
  };
4533
4549
  function ka(e, t, n, r, o, i) {
4534
- var s, u, c, f, y, b;
4550
+ var s, u, c, m, y, b;
4535
4551
  return v(), w(z, null, [
4536
4552
  Ge("picture", null, [
4537
4553
  e.webpSrcSet ? (v(), w("source", {
@@ -4565,7 +4581,7 @@ function ka(e, t, n, r, o, i) {
4565
4581
  paddingTop: e.aspectRatio * 100 + "%"
4566
4582
  })
4567
4583
  }, null, 4)) : F("", !0),
4568
- (f = (c = e.builderBlock) == null ? void 0 : c.children) != null && f.length && e.fitContent ? pe(e.$slots, "default", { key: 1 }, void 0, !0) : F("", !0),
4584
+ (m = (c = e.builderBlock) == null ? void 0 : c.children) != null && m.length && e.fitContent ? pe(e.$slots, "default", { key: 1 }, void 0, !0) : F("", !0),
4569
4585
  !e.fitContent && ((b = (y = e.builderBlock) == null ? void 0 : y.children) != null && b.length) ? (v(), w("div", Sa, [
4570
4586
  pe(e.$slots, "default", {}, void 0, !0)
4571
4587
  ])) : F("", !0)
@@ -4598,50 +4614,50 @@ function Ta(e, t, n, r, o, i) {
4598
4614
  }
4599
4615
  const Ea = /* @__PURE__ */ j(wa, [["render", Ta]]);
4600
4616
  function Ia(e, t, n, r) {
4601
- function o(f) {
4602
- return typeof f == "string";
4617
+ function o(m) {
4618
+ return typeof m == "string";
4603
4619
  }
4604
- function i(f) {
4605
- return typeof f == "number";
4620
+ function i(m) {
4621
+ return typeof m == "number";
4606
4622
  }
4607
- function s(f, y) {
4623
+ function s(m, y) {
4608
4624
  return (() => {
4609
- const m = y.property, S = y.operator;
4625
+ const h = y.property, S = y.operator;
4610
4626
  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))
4627
+ if (y && y.property === "urlPath" && y.value && typeof y.value == "string" && y.value !== "/" && y.value.endsWith("/") && (A = y.value.slice(0, -1)), !(h && S))
4612
4628
  return !0;
4613
4629
  if (Array.isArray(A))
4614
- return S === "isNot" ? A.every((H) => s(f, {
4615
- property: m,
4630
+ return S === "isNot" ? A.every((H) => s(m, {
4631
+ property: h,
4616
4632
  operator: S,
4617
4633
  value: H
4618
- })) : !!A.find((H) => s(f, {
4619
- property: m,
4634
+ })) : !!A.find((H) => s(m, {
4635
+ property: h,
4620
4636
  operator: S,
4621
4637
  value: H
4622
4638
  }));
4623
- const x = f[m];
4624
- if (Array.isArray(x))
4625
- return x.includes(A);
4639
+ const $ = m[h];
4640
+ if (Array.isArray($))
4641
+ return $.includes(A);
4626
4642
  switch (S) {
4627
4643
  case "is":
4628
- return x === A;
4644
+ return $ === A;
4629
4645
  case "isNot":
4630
- return x !== A;
4646
+ return $ !== A;
4631
4647
  case "contains":
4632
- return (o(x) || Array.isArray(x)) && x.includes(String(A));
4648
+ return (o($) || Array.isArray($)) && $.includes(String(A));
4633
4649
  case "startsWith":
4634
- return o(x) && x.startsWith(String(A));
4650
+ return o($) && $.startsWith(String(A));
4635
4651
  case "endsWith":
4636
- return o(x) && x.endsWith(String(A));
4652
+ return o($) && $.endsWith(String(A));
4637
4653
  case "greaterThan":
4638
- return i(x) && i(A) && x > A;
4654
+ return i($) && i(A) && $ > A;
4639
4655
  case "lessThan":
4640
- return i(x) && i(A) && x < A;
4656
+ return i($) && i(A) && $ < A;
4641
4657
  case "greaterThanOrEqualTo":
4642
- return i(x) && i(A) && x >= A;
4658
+ return i($) && i(A) && $ >= A;
4643
4659
  case "lessThanOrEqualTo":
4644
- return i(x) && i(A) && x <= A;
4660
+ return i($) && i(A) && $ <= A;
4645
4661
  default:
4646
4662
  return !1;
4647
4663
  }
@@ -4652,7 +4668,7 @@ function Ia(e, t, n, r) {
4652
4668
  startDate: n,
4653
4669
  endDate: r
4654
4670
  }, c = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
4655
- return u.startDate && new Date(u.startDate) > c || u.endDate && new Date(u.endDate) < c ? !1 : !u.query || !u.query.length ? !0 : u.query.every((f) => s(e, f));
4671
+ return u.startDate && new Date(u.startDate) > c || u.endDate && new Date(u.endDate) < c ? !1 : !u.query || !u.query.length ? !0 : u.query.every((m) => s(e, m));
4656
4672
  }
4657
4673
  const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
4658
4674
  if (!navigator.cookieEnabled) {
@@ -4777,7 +4793,7 @@ const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
4777
4793
  return item.query.every(filter => {
4778
4794
  return objectMatchesQuery(userAttributes, filter);
4779
4795
  });
4780
- }`, xa = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
4796
+ }`, $a = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
4781
4797
  function getCookie(name) {
4782
4798
  const nameEQ = name + '=';
4783
4799
  const ca = document.cookie.split(';');
@@ -4815,9 +4831,9 @@ const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
4815
4831
  visibilityStylesEl.innerHTML = newStyleStr;
4816
4832
  }
4817
4833
  }
4818
- }`, Nt = "default", $a = "filterWithCustomTargeting", Io = "builderIoPersonalization", Ro = "updateVisibilityStylesScript", Ao = ["react", "vue", "svelte", "qwik"], xo = ["vue", "svelte", "qwik"];
4834
+ }`, Nt = "default", xa = "filterWithCustomTargeting", Io = "builderIoPersonalization", Ro = "updateVisibilityStylesScript", Ao = ["react", "vue", "svelte", "qwik"], $o = ["vue", "svelte", "qwik"];
4819
4835
  function Pa(e, t) {
4820
- return !(e && e.length > 0) || !t ? !1 : xo.includes(G) ? !0 : !M();
4836
+ return !(e && e.length > 0) || !t ? !1 : $o.includes(G) ? !0 : !M();
4821
4837
  }
4822
4838
  function Oa({
4823
4839
  variants: e,
@@ -4858,10 +4874,10 @@ function Oa({
4858
4874
  return i;
4859
4875
  }
4860
4876
  const Na = () => `
4861
- window.${$a} = ${Aa}
4877
+ window.${xa} = ${Aa}
4862
4878
  window.${Io} = ${Ra}
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}"` : ""})`, hn = {
4879
+ window.${Ro} = ${$a}
4880
+ `, 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}"` : ""})`, hn = {
4865
4881
  "@type": "@builder.io/sdk:Element",
4866
4882
  layerName: "Accordion item title",
4867
4883
  responsiveStyles: {
@@ -4890,7 +4906,7 @@ const Na = () => `
4890
4906
  }
4891
4907
  }
4892
4908
  }]
4893
- }, fn = {
4909
+ }, mn = {
4894
4910
  "@type": "@builder.io/sdk:Element",
4895
4911
  layerName: "Accordion item detail",
4896
4912
  responsiveStyles: {
@@ -4943,14 +4959,14 @@ const Na = () => `
4943
4959
  name: "detail",
4944
4960
  type: "uiBlocks",
4945
4961
  hideFromUI: !0,
4946
- defaultValue: [fn]
4962
+ defaultValue: [mn]
4947
4963
  }],
4948
4964
  defaultValue: [{
4949
4965
  title: [hn],
4950
- detail: [fn]
4966
+ detail: [mn]
4951
4967
  }, {
4952
4968
  title: [hn],
4953
- detail: [fn]
4969
+ detail: [mn]
4954
4970
  }],
4955
4971
  showIf: (e) => !e.get("useChildrenForItems")
4956
4972
  }, {
@@ -5098,7 +5114,7 @@ function La(e, t, n, r, o, i) {
5098
5114
  }
5099
5115
  }),
5100
5116
  "data-index": c,
5101
- onClick: async (f) => e.onClick(c)
5117
+ onClick: async (m) => e.onClick(c)
5102
5118
  }, [
5103
5119
  ee(s, {
5104
5120
  blocks: u.title,
@@ -5396,15 +5412,15 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5396
5412
  onChange: (e) => {
5397
5413
  e.delete("srcset"), e.delete("noWebp");
5398
5414
  function n(s, u = 6e4) {
5399
- return new Promise((c, f) => {
5415
+ return new Promise((c, m) => {
5400
5416
  const y = document.createElement("img");
5401
5417
  let b = !1;
5402
5418
  y.onload = () => {
5403
5419
  b = !0, c(y);
5404
- }, y.addEventListener("error", (m) => {
5405
- console.warn("Image load failed", m.error), f(m.error);
5420
+ }, y.addEventListener("error", (h) => {
5421
+ console.warn("Image load failed", h.error), m(h.error);
5406
5422
  }), y.src = s, setTimeout(() => {
5407
- b || f(new Error("Image load timed out"));
5423
+ b || m(new Error("Image load timed out"));
5408
5424
  }, u);
5409
5425
  });
5410
5426
  }
@@ -5537,7 +5553,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5537
5553
  name: "builder-personalization-container",
5538
5554
  components: {
5539
5555
  Blocks: Ue,
5540
- InlinedStyles: Mt,
5556
+ InlinedStyles: Ht,
5541
5557
  InlinedScript: Gn
5542
5558
  },
5543
5559
  props: [
@@ -5551,7 +5567,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5551
5567
  data() {
5552
5568
  var e, t, n, r, o, i, s;
5553
5569
  return {
5554
- userAttributes: Dt.getUserAttributes(),
5570
+ userAttributes: Ut.getUserAttributes(),
5555
5571
  scriptStr: Ba(
5556
5572
  this.variants,
5557
5573
  ((e = this.builderBlock) == null ? void 0 : e.id) || "none",
@@ -5570,13 +5586,13 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5570
5586
  shouldResetVariants: !1,
5571
5587
  TARGET: G,
5572
5588
  DEFAULT_INDEX: Nt,
5573
- SDKS_REQUIRING_RESET_APPROACH: xo
5589
+ SDKS_REQUIRING_RESET_APPROACH: $o
5574
5590
  };
5575
5591
  },
5576
5592
  mounted() {
5577
5593
  var t;
5578
5594
  this.shouldResetVariants = !0;
5579
- const e = Dt.subscribeOnUserAttributesChange(
5595
+ const e = Ut.subscribeOnUserAttributesChange(
5580
5596
  (n) => {
5581
5597
  this.userAttributes = n;
5582
5598
  },
@@ -5584,7 +5600,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5584
5600
  fireImmediately: G === "qwik"
5585
5601
  }
5586
5602
  );
5587
- if (!(oe() || Wn())) {
5603
+ if (!(oe() || Fn())) {
5588
5604
  const n = this.filteredVariants[0];
5589
5605
  this.$refs.rootRef && (this.$refs.rootRef.dispatchEvent(
5590
5606
  new CustomEvent("builder.variantLoaded", {
@@ -5659,13 +5675,13 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5659
5675
  }
5660
5676
  });
5661
5677
  function Ja(e, t, n, r, o, i) {
5662
- var f, y, b, m, S, A, x, H, te, E;
5678
+ var m, y, b, h, S, A, $, H, te, E;
5663
5679
  const s = W("Blocks"), u = W("InlinedStyles"), c = W("InlinedScript");
5664
5680
  return v(), w("div", q({ ref: "rootRef" }, e.attrs), [
5665
5681
  e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (v(), U(s, {
5666
5682
  key: 0,
5667
5683
  blocks: e.blocksToRender.blocks,
5668
- parent: (f = e.builderBlock) == null ? void 0 : f.id,
5684
+ parent: (m = e.builderBlock) == null ? void 0 : m.id,
5669
5685
  path: e.blocksToRender.path,
5670
5686
  context: e.builderContext,
5671
5687
  registeredComponents: e.builderComponents,
@@ -5677,14 +5693,14 @@ function Ja(e, t, n, r, o, i) {
5677
5693
  !e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (v(), w(z, { key: 1 }, [
5678
5694
  e.shouldRenderVariants ? (v(), w(z, { key: 0 }, [
5679
5695
  ee(u, {
5680
- nonce: ((m = e.builderContext) == null ? void 0 : m.nonce) || "",
5696
+ nonce: ((h = e.builderContext) == null ? void 0 : h.nonce) || "",
5681
5697
  styles: e.hideVariantsStyleString,
5682
5698
  id: `variants-styles-${(S = e.builderBlock) == null ? void 0 : S.id}`
5683
5699
  }, null, 8, ["nonce", "styles", "id"]),
5684
5700
  ee(c, {
5685
5701
  nonce: ((A = e.builderContext) == null ? void 0 : A.nonce) || "",
5686
5702
  scriptStr: e.updateVisibilityStylesScript,
5687
- id: `variants-visibility-script-${(x = e.builderBlock) == null ? void 0 : x.id}`
5703
+ id: `variants-visibility-script-${($ = e.builderBlock) == null ? void 0 : $.id}`
5688
5704
  }, null, 8, ["nonce", "scriptStr", "id"]),
5689
5705
  (v(!0), w(z, null, ve(e.variants, (D, ie) => {
5690
5706
  var Ae, K, _, R;
@@ -5805,7 +5821,7 @@ const Xa = /* @__PURE__ */ j(_a, [["render", Ja]]), Ya = {
5805
5821
  props: ["builderContext", "name", "builderComponents"]
5806
5822
  });
5807
5823
  function el(e, t, n, r, o, i) {
5808
- var u, c, f;
5824
+ var u, c, m;
5809
5825
  const s = W("Blocks");
5810
5826
  return v(), w("div", q(
5811
5827
  { style: {
@@ -5820,7 +5836,7 @@ function el(e, t, n, r, o, i) {
5820
5836
  path: `symbol.data.${e.name}`,
5821
5837
  context: e.builderContext,
5822
5838
  registeredComponents: e.builderComponents,
5823
- blocks: (f = e.builderContext.rootState) == null ? void 0 : f[e.name]
5839
+ blocks: (m = e.builderContext.rootState) == null ? void 0 : m[e.name]
5824
5840
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
5825
5841
  ], 16);
5826
5842
  }
@@ -5863,7 +5879,7 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
5863
5879
  builderComponents: !0,
5864
5880
  builderLinkComponent: !0
5865
5881
  }
5866
- }, mn = {
5882
+ }, gn = {
5867
5883
  "@type": "@builder.io/sdk:Element",
5868
5884
  responsiveStyles: {
5869
5885
  large: {
@@ -5885,7 +5901,7 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
5885
5901
  text: "New tab"
5886
5902
  }
5887
5903
  }
5888
- }, gn = {
5904
+ }, yn = {
5889
5905
  "@type": "@builder.io/sdk:Element",
5890
5906
  responsiveStyles: {
5891
5907
  large: {
@@ -5911,16 +5927,16 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
5911
5927
  name: "label",
5912
5928
  type: "uiBlocks",
5913
5929
  hideFromUI: !0,
5914
- defaultValue: [mn]
5930
+ defaultValue: [gn]
5915
5931
  }, {
5916
5932
  name: "content",
5917
5933
  type: "uiBlocks",
5918
5934
  hideFromUI: !0,
5919
- defaultValue: [gn]
5935
+ defaultValue: [yn]
5920
5936
  }],
5921
5937
  defaultValue: [{
5922
5938
  label: [{
5923
- ...mn,
5939
+ ...gn,
5924
5940
  component: {
5925
5941
  name: "Text",
5926
5942
  options: {
@@ -5929,7 +5945,7 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
5929
5945
  }
5930
5946
  }],
5931
5947
  content: [{
5932
- ...gn,
5948
+ ...yn,
5933
5949
  component: {
5934
5950
  name: "Text",
5935
5951
  options: {
@@ -5939,7 +5955,7 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
5939
5955
  }]
5940
5956
  }, {
5941
5957
  label: [{
5942
- ...mn,
5958
+ ...gn,
5943
5959
  component: {
5944
5960
  name: "Text",
5945
5961
  options: {
@@ -5948,7 +5964,7 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
5948
5964
  }
5949
5965
  }],
5950
5966
  content: [{
5951
- ...gn,
5967
+ ...yn,
5952
5968
  component: {
5953
5969
  name: "Text",
5954
5970
  options: {
@@ -6049,7 +6065,7 @@ function al(e, t, n, r, o, i) {
6049
6065
  key: c,
6050
6066
  class: gt(`builder-tab-wrap ${e.activeTab === c ? "builder-tab-active" : ""}`),
6051
6067
  style: Pe(e.getTabStyle(c)),
6052
- onClick: async (f) => e.onClick(c)
6068
+ onClick: async (m) => e.onClick(c)
6053
6069
  }, [
6054
6070
  ee(s, {
6055
6071
  parent: e.builderBlock.id,
@@ -6105,7 +6121,7 @@ function dl(e, t, n, r, o, i) {
6105
6121
  }
6106
6122
  }, null, 8, pl);
6107
6123
  }
6108
- const hl = /* @__PURE__ */ j(cl, [["render", dl]]), fl = {
6124
+ const fl = /* @__PURE__ */ j(cl, [["render", dl]]), hl = {
6109
6125
  name: "Custom Code",
6110
6126
  static: !0,
6111
6127
  requiredPermissions: ["editCode"],
@@ -6499,7 +6515,7 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6499
6515
  }, Rl = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Al = () => {
6500
6516
  const e = process.env.NODE_ENV || "production";
6501
6517
  return Rl.includes(e) ? e : "production";
6502
- }, xl = B({
6518
+ }, $l = B({
6503
6519
  name: "builder-form-component",
6504
6520
  components: { Blocks: Ue },
6505
6521
  props: [
@@ -6558,78 +6574,78 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6558
6574
  e.preventDefault();
6559
6575
  const r = e.currentTarget || e.target, o = this.customHeaders || {};
6560
6576
  let i;
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) => {
6577
+ const s = new FormData(r), u = Array.from(r.querySelectorAll("input,select,textarea")).filter((h) => !!h.name).filter(
6578
+ (h) => !!h.name && (h.type !== "radio" || h.checked)
6579
+ ).map((h) => {
6564
6580
  let S;
6565
- const A = m.name;
6566
- if (m instanceof HTMLInputElement)
6567
- if (m.type === "radio") {
6568
- if (m.checked)
6569
- return S = m.value, {
6581
+ const A = h.name;
6582
+ if (h instanceof HTMLInputElement)
6583
+ if (h.type === "radio") {
6584
+ if (h.checked)
6585
+ return S = h.value, {
6570
6586
  key: A,
6571
6587
  value: S
6572
6588
  };
6573
- } else if (m.type === "checkbox")
6574
- S = m.checked;
6575
- else if (m.type === "number" || m.type === "range") {
6576
- const x = m.valueAsNumber;
6577
- isNaN(x) || (S = x);
6589
+ } else if (h.type === "checkbox")
6590
+ S = h.checked;
6591
+ else if (h.type === "number" || h.type === "range") {
6592
+ const $ = h.valueAsNumber;
6593
+ isNaN($) || (S = $);
6578
6594
  } else
6579
- m.type === "file" ? S = m.files : S = m.value;
6595
+ h.type === "file" ? S = h.files : S = h.value;
6580
6596
  else
6581
- S = m.value;
6597
+ S = h.value;
6582
6598
  return {
6583
6599
  key: A,
6584
6600
  value: S
6585
6601
  };
6586
6602
  });
6587
6603
  let c = this.contentType;
6588
- if (this.sendSubmissionsTo === "email" && (c = "multipart/form-data"), Array.from(u).forEach(({ value: m }) => {
6589
- (m instanceof File || Array.isArray(m) && m[0] instanceof File || m instanceof FileList) && (c = "multipart/form-data");
6604
+ if (this.sendSubmissionsTo === "email" && (c = "multipart/form-data"), Array.from(u).forEach(({ value: h }) => {
6605
+ (h instanceof File || Array.isArray(h) && h[0] instanceof File || h instanceof FileList) && (c = "multipart/form-data");
6590
6606
  }), c !== "application/json")
6591
6607
  i = s;
6592
6608
  else {
6593
- const m = {};
6609
+ const h = {};
6594
6610
  Array.from(u).forEach(({ value: S, key: A }) => {
6595
- to(m, A, S);
6596
- }), i = JSON.stringify(m);
6611
+ lo(h, A, S);
6612
+ }), i = JSON.stringify(h);
6597
6613
  }
6598
6614
  c && c !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (o["content-type"] = c));
6599
- const f = new CustomEvent("presubmit", {
6615
+ const m = new CustomEvent("presubmit", {
6600
6616
  detail: {
6601
6617
  body: i
6602
6618
  }
6603
6619
  });
6604
- if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(f), f.defaultPrevented))
6620
+ if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(m), m.defaultPrevented))
6605
6621
  return;
6606
6622
  if (this.formState = "sending", this.sendSubmissionsTo === "email" && (this.sendSubmissionsToEmail === "your@email.com" || !this.sendSubmissionsToEmail)) {
6607
- const m = "SubmissionsToEmail is required when sendSubmissionsTo is set to email";
6608
- console.error(m), this.formState = "error", this.mergeNewRootState({
6609
- formErrorMessage: m
6623
+ const h = "SubmissionsToEmail is required when sendSubmissionsTo is set to email";
6624
+ console.error(h), this.formState = "error", this.mergeNewRootState({
6625
+ formErrorMessage: h
6610
6626
  });
6611
6627
  return;
6612
6628
  }
6613
6629
  const y = `${Al() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
6614
6630
  this.sendSubmissionsToEmail || ""
6615
6631
  )}&name=${encodeURIComponent(this.name || "")}`, b = this.sendSubmissionsTo === "email" ? y : this.action;
6616
- Fn(b), fetch(b, {
6632
+ Rn(b), fetch(b, {
6617
6633
  body: i,
6618
6634
  headers: o,
6619
6635
  method: this.method || "post"
6620
6636
  }).then(
6621
- async (m) => {
6622
- var x, H;
6637
+ async (h) => {
6638
+ var $, H;
6623
6639
  let S;
6624
- const A = m.headers.get("content-type");
6625
- if (A && A.indexOf("application/json") !== -1 ? S = await m.json() : S = await m.text(), !m.ok) {
6640
+ const A = h.headers.get("content-type");
6641
+ if (A && A.indexOf("application/json") !== -1 ? S = await h.json() : S = await h.text(), !h.ok) {
6626
6642
  const te = new CustomEvent("submit:error", {
6627
6643
  detail: {
6628
6644
  error: S,
6629
- status: m.status
6645
+ status: h.status
6630
6646
  }
6631
6647
  });
6632
- if ((x = this.$refs.formRef) != null && x.nativeElement && ((H = this.$refs.formRef) == null || H.nativeElement.dispatchEvent(
6648
+ if (($ = this.$refs.formRef) != null && $.nativeElement && ((H = this.$refs.formRef) == null || H.nativeElement.dispatchEvent(
6633
6649
  te
6634
6650
  ), te.defaultPrevented))
6635
6651
  return;
@@ -6640,10 +6656,10 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6640
6656
  });
6641
6657
  return;
6642
6658
  }
6643
- if (this.responseData = S, this.formState = m.ok ? "success" : "error", m.ok) {
6659
+ if (this.responseData = S, this.formState = h.ok ? "success" : "error", h.ok) {
6644
6660
  const te = new CustomEvent("submit:success", {
6645
6661
  detail: {
6646
- res: m,
6662
+ res: h,
6647
6663
  body: S
6648
6664
  }
6649
6665
  });
@@ -6664,19 +6680,19 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6664
6680
  location.href = this.successUrl;
6665
6681
  }
6666
6682
  },
6667
- (m) => {
6683
+ (h) => {
6668
6684
  const S = new CustomEvent("submit:error", {
6669
6685
  detail: {
6670
- error: m
6686
+ error: h
6671
6687
  }
6672
6688
  });
6673
- this.$refs.formRef && (this.$refs.formRef.dispatchEvent(S), S.defaultPrevented) || (this.responseData = m, this.formState = "error");
6689
+ this.$refs.formRef && (this.$refs.formRef.dispatchEvent(S), S.defaultPrevented) || (this.responseData = h, this.formState = "error");
6674
6690
  }
6675
6691
  );
6676
6692
  }
6677
6693
  }
6678
6694
  }
6679
- }), $l = ["validate", "action", "method", "name"], Pl = {
6695
+ }), xl = ["validate", "action", "method", "name"], Pl = {
6680
6696
  key: 2,
6681
6697
  class: "builder-form-error-text pre-2oa2wtipkzk"
6682
6698
  };
@@ -6703,16 +6719,16 @@ function Ol(e, t, n, r, o, i) {
6703
6719
  blocks: e.sendingMessage,
6704
6720
  context: e.builderContext
6705
6721
  }, null, 8, ["blocks", "context"])) : F("", !0),
6706
- e.submissionState() === "error" && e.responseData ? (v(), w("pre", Pl, Ut(e.errorResponse(e.responseData)), 1)) : F("", !0),
6722
+ e.submissionState() === "error" && e.responseData ? (v(), w("pre", Pl, Wt(e.errorResponse(e.responseData)), 1)) : F("", !0),
6707
6723
  e.submissionState() === "success" ? (v(), U(s, {
6708
6724
  key: 3,
6709
6725
  path: "successMessage",
6710
6726
  blocks: e.successMessage,
6711
6727
  context: e.builderContext
6712
6728
  }, null, 8, ["blocks", "context"])) : F("", !0)
6713
- ], 16, $l);
6729
+ ], 16, xl);
6714
6730
  }
6715
- const Nl = /* @__PURE__ */ j(xl, [["render", Ol], ["__scopeId", "data-v-77c7888c"]]), Bl = {
6731
+ const Nl = /* @__PURE__ */ j($l, [["render", Ol], ["__scopeId", "data-v-77c7888c"]]), Bl = {
6716
6732
  name: "Form:Input",
6717
6733
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
6718
6734
  inputs: [
@@ -6849,7 +6865,7 @@ function Hl(e, t, n, r, o, i) {
6849
6865
  (v(!0), w(z, null, ve(e.options, (s, u) => (v(), w("option", {
6850
6866
  key: `${s.name}-${u}`,
6851
6867
  value: s.value
6852
- }, Ut(s.name || s.value), 9, Ml))), 128))
6868
+ }, Wt(s.name || s.value), 9, Ml))), 128))
6853
6869
  ], 16, Fl);
6854
6870
  }
6855
6871
  const Kl = /* @__PURE__ */ j(Ll, [["render", Hl]]), zl = {
@@ -6885,7 +6901,7 @@ const Kl = /* @__PURE__ */ j(Ll, [["render", Hl]]), zl = {
6885
6901
  }
6886
6902
  });
6887
6903
  function Gl(e, t, n, r, o, i) {
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);
6904
+ return v(), w("button", q({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Wt(e.text), 17);
6889
6905
  }
6890
6906
  const _l = /* @__PURE__ */ j(ql, [["render", Gl]]), Jl = {
6891
6907
  name: "Form:TextArea",
@@ -7218,7 +7234,7 @@ const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
7218
7234
  }
7219
7235
  };
7220
7236
  function pu(e, t, n, r, o, i) {
7221
- var s, u, c, f, y, b, m;
7237
+ var s, u, c, m, y, b, h;
7222
7238
  return v(), w("div", au, [
7223
7239
  Ge("video", q({
7224
7240
  class: "builder-video",
@@ -7257,17 +7273,17 @@ function pu(e, t, n, r, o, i) {
7257
7273
  fontSize: "0px"
7258
7274
  })
7259
7275
  }, null, 4)) : F("", !0),
7260
- (y = (f = e.builderBlock) == null ? void 0 : f.children) != null && y.length && e.fitContent ? (v(), w("div", uu, [
7276
+ (y = (m = e.builderBlock) == null ? void 0 : m.children) != null && y.length && e.fitContent ? (v(), w("div", uu, [
7261
7277
  pe(e.$slots, "default")
7262
7278
  ])) : F("", !0),
7263
- (m = (b = e.builderBlock) == null ? void 0 : b.children) != null && m.length && !e.fitContent ? (v(), w("div", cu, [
7279
+ (h = (b = e.builderBlock) == null ? void 0 : b.children) != null && h.length && !e.fitContent ? (v(), w("div", cu, [
7264
7280
  pe(e.$slots, "default")
7265
7281
  ])) : F("", !0)
7266
7282
  ]);
7267
7283
  }
7268
- const du = /* @__PURE__ */ j(su, [["render", pu]]), hu = () => [{
7284
+ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7269
7285
  component: vl,
7270
- ...fl
7286
+ ...hl
7271
7287
  }, {
7272
7288
  component: El,
7273
7289
  ...bl
@@ -7299,7 +7315,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), hu = () => [{
7299
7315
  component: pa,
7300
7316
  ...Ha
7301
7317
  }, {
7302
- component: fa,
7318
+ component: ha,
7303
7319
  ...Ka
7304
7320
  }, {
7305
7321
  component: Ca,
@@ -7314,7 +7330,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), hu = () => [{
7314
7330
  component: Yu,
7315
7331
  ...nl
7316
7332
  }, {
7317
- component: hl,
7333
+ component: fl,
7318
7334
  ...ul
7319
7335
  }, ...Ao.includes(G) ? [{
7320
7336
  component: Xa,
@@ -7325,7 +7341,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), hu = () => [{
7325
7341
  }, {
7326
7342
  component: Fa,
7327
7343
  ...Va
7328
- }, ...hu()], fu = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
7344
+ }, ...fu()], hu = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
7329
7345
  function getAndSetVariantId() {
7330
7346
  function setCookie(name, value, days) {
7331
7347
  let expires = '';
@@ -7426,7 +7442,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), hu = () => [{
7426
7442
  canTrack: e,
7427
7443
  content: t
7428
7444
  }) => !(!(Bt(t).length > 0) || !e), yu = (e) => e === "react" || e === "reactNative", vu = G === "angular", No = yu(G), bu = () => `
7429
- window.${Po} = ${fu}
7445
+ window.${Po} = ${hu}
7430
7446
  window.${Oo} = ${mu}
7431
7447
  `, Su = (e, t) => `
7432
7448
  window.${Po}(
@@ -7479,7 +7495,7 @@ const Cu = (e, t, n = !0) => {
7479
7495
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
7480
7496
  }
7481
7497
  };
7482
- }, Eu = ["svelte", "qwik", "vue"], Iu = () => Eu.includes(G) && (oe() || Wn()), Ru = (e) => {
7498
+ }, Eu = ["svelte", "qwik", "vue"], Iu = () => Eu.includes(G) && (oe() || Fn()), Ru = (e) => {
7483
7499
  var i;
7484
7500
  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);
7485
7501
  let o = "";
@@ -7510,10 +7526,10 @@ font-weight: ${s};
7510
7526
  }) => {
7511
7527
  var t;
7512
7528
  return ((t = e == null ? void 0 : e.map((n) => Ru(n))) == null ? void 0 : t.join(" ")) || "";
7513
- }, xu = ({
7529
+ }, $u = ({
7514
7530
  cssCode: e,
7515
7531
  contentId: t
7516
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", $u = `
7532
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", xu = `
7517
7533
  .builder-button {
7518
7534
  all: unset;
7519
7535
  }
@@ -7530,7 +7546,7 @@ font-weight: ${s};
7530
7546
  text-align: inherit;
7531
7547
  font-family: inherit;
7532
7548
  }
7533
- `, Pu = (e) => e ? "" : $u, Ou = (e) => `variant-${e}`, Nu = B({
7549
+ `, Pu = (e) => e ? "" : xu, Ou = (e) => `variant-${e}`, Nu = B({
7534
7550
  name: "enable-editor",
7535
7551
  components: { DynamicDiv: Ct },
7536
7552
  props: [
@@ -7560,7 +7576,7 @@ font-weight: ${s};
7560
7576
  httpReqsData: {},
7561
7577
  httpReqsPending: {},
7562
7578
  clicked: !1,
7563
- builderContext: yn,
7579
+ builderContext: vn,
7564
7580
  needsElementRefDivForEditing: Iu,
7565
7581
  getWrapperClassName: Ou
7566
7582
  };
@@ -7568,7 +7584,7 @@ font-weight: ${s};
7568
7584
  provide() {
7569
7585
  const e = this;
7570
7586
  return {
7571
- [yn.key]: e.builderContextSignal
7587
+ [vn.key]: e.builderContextSignal
7572
7588
  };
7573
7589
  },
7574
7590
  created() {
@@ -7580,13 +7596,13 @@ font-weight: ${s};
7580
7596
  oe() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
7581
7597
  new CustomEvent("initeditingbldr")
7582
7598
  );
7583
- const r = this.builderContextSignal.content && Xe(this.canTrack), o = Ft({
7599
+ const r = this.builderContextSignal.content && Xe(this.canTrack), o = Lt({
7584
7600
  name: `builder.tests.${(e = this.builderContextSignal.content) == null ? void 0 : e.id}`,
7585
7601
  canTrack: !0
7586
7602
  }), i = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId;
7587
7603
  if (r && i === o) {
7588
7604
  const s = (n = this.builderContextSignal.content) == null ? void 0 : n.id, u = this.apiKey;
7589
- Cn({
7605
+ jt({
7590
7606
  apiHost: this.apiHost,
7591
7607
  type: "impression",
7592
7608
  canTrack: !0,
@@ -7595,7 +7611,7 @@ font-weight: ${s};
7595
7611
  variationId: o !== s ? o : void 0
7596
7612
  });
7597
7613
  }
7598
- Wn() && !oe() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
7614
+ Fn() && !oe() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
7599
7615
  new CustomEvent("initpreviewingbldr")
7600
7616
  );
7601
7617
  }
@@ -7697,7 +7713,7 @@ font-weight: ${s};
7697
7713
  this.builderContextSignal.content = n;
7698
7714
  },
7699
7715
  processMessage(e) {
7700
- return ho({
7716
+ return fo({
7701
7717
  model: this.model,
7702
7718
  trustedHosts: this.trustedHosts,
7703
7719
  callbacks: {
@@ -7726,7 +7742,7 @@ font-weight: ${s};
7726
7742
  var t, n;
7727
7743
  if (this.builderContextSignal.content) {
7728
7744
  const r = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, o = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
7729
- Cn({
7745
+ jt({
7730
7746
  apiHost: this.apiHost,
7731
7747
  type: "click",
7732
7748
  canTrack: Xe(this.canTrack),
@@ -7771,13 +7787,13 @@ font-weight: ${s};
7771
7787
  url: u,
7772
7788
  method: "GET"
7773
7789
  };
7774
- Fn(JSON.stringify(c));
7775
- const f = {
7790
+ Rn(JSON.stringify(c));
7791
+ const m = {
7776
7792
  method: c.method,
7777
7793
  headers: c.headers,
7778
7794
  body: c.body
7779
7795
  };
7780
- c.method === "GET" && delete f.body, fetch(c.url, f).then((y) => y.json()).then((y) => {
7796
+ c.method === "GET" && delete m.body, fetch(c.url, m).then((y) => y.json()).then((y) => {
7781
7797
  this.mergeNewRootState({
7782
7798
  [r]: y
7783
7799
  }), this.httpReqsData[r] = !0;
@@ -7799,7 +7815,7 @@ font-weight: ${s};
7799
7815
  "builder:component:stateChange",
7800
7816
  {
7801
7817
  detail: {
7802
- state: Un(this.builderContextSignal.rootState),
7818
+ state: Ln(this.builderContextSignal.rootState),
7803
7819
  ref: {
7804
7820
  name: this.model
7805
7821
  }
@@ -7826,7 +7842,7 @@ font-weight: ${s};
7826
7842
  ).forEach((t) => {
7827
7843
  var n, r;
7828
7844
  if (!((n = t.models) != null && n.length) || t.models.includes(this.model)) {
7829
- const o = Ji(t);
7845
+ const o = cs(t);
7830
7846
  (r = window.parent) == null || r.postMessage(o, "*");
7831
7847
  }
7832
7848
  }), window.addEventListener(
@@ -7859,15 +7875,15 @@ function Bu(e, t, n, r, o, i) {
7859
7875
  return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (v(), U(dt(e.ContentWrapper), q({
7860
7876
  key: 0,
7861
7877
  ref: "elementRef",
7862
- onClick: (f) => e.onClick(f),
7878
+ onClick: (m) => e.onClick(m),
7863
7879
  "builder-content-id": (s = e.builderContextSignal.content) == null ? void 0 : s.id,
7864
7880
  "builder-model": e.model,
7865
7881
  className: e.getWrapperClassName(((u = e.content) == null ? void 0 : u.testVariationId) || ((c = e.content) == null ? void 0 : c.id)),
7866
7882
  style: {
7867
7883
  display: !e.builderContextSignal.content && e.needsElementRefDivForEditing() ? "none" : void 0
7868
7884
  },
7869
- onIniteditingbldr: (f) => e.elementRef_onIniteditingbldr(f),
7870
- onInitpreviewingbldr: (f) => e.elementRef_onInitpreviewingbldr(f)
7885
+ onIniteditingbldr: (m) => e.elementRef_onIniteditingbldr(m),
7886
+ onInitpreviewingbldr: (m) => e.elementRef_onInitpreviewingbldr(m)
7871
7887
  }, { ...e.showContentProps, ...e.contentWrapperProps }), {
7872
7888
  default: me(() => [
7873
7889
  pe(e.$slots, "default")
@@ -7877,12 +7893,12 @@ function Bu(e, t, n, r, o, i) {
7877
7893
  }
7878
7894
  const ju = /* @__PURE__ */ j(Nu, [["render", Bu]]), Vu = B({
7879
7895
  name: "content-styles",
7880
- components: { InlinedStyles: Mt },
7896
+ components: { InlinedStyles: Ht },
7881
7897
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
7882
7898
  data() {
7883
7899
  return {
7884
7900
  injectedStyles: `
7885
- ${xu({
7901
+ ${$u({
7886
7902
  cssCode: this.cssCode,
7887
7903
  contentId: this.contentId
7888
7904
  })}
@@ -7978,7 +7994,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7978
7994
  ...n,
7979
7995
  [o.name]: {
7980
7996
  component: Fu(r),
7981
- ...Vt(o)
7997
+ ...Dt(o)
7982
7998
  }
7983
7999
  }),
7984
8000
  {}
@@ -8005,7 +8021,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
8005
8021
  ].reduce(
8006
8022
  (n, { component: r, ...o }) => ({
8007
8023
  ...n,
8008
- [o.name]: Vt(o)
8024
+ [o.name]: Dt(o)
8009
8025
  }),
8010
8026
  {}
8011
8027
  ),
@@ -8066,8 +8082,8 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
8066
8082
  }
8067
8083
  });
8068
8084
  function Hu(e, t, n, r, o, i) {
8069
- const s = W("InlinedScript"), u = W("ContentStyles"), c = W("Blocks"), f = W("EnableEditor");
8070
- return v(), U(f, q({
8085
+ const s = W("InlinedScript"), u = W("ContentStyles"), c = W("Blocks"), m = W("EnableEditor");
8086
+ return v(), U(m, q({
8071
8087
  apiHost: e.apiHost,
8072
8088
  nonce: e.nonce,
8073
8089
  content: e.content,
@@ -8086,7 +8102,7 @@ function Hu(e, t, n, r, o, i) {
8086
8102
  isNestedRender: e.isNestedRender
8087
8103
  }, {}), {
8088
8104
  default: me(() => {
8089
- var y, b, m, S, A, x, H;
8105
+ var y, b, h, S, A, $, H;
8090
8106
  return [
8091
8107
  e.isSsrAbTest ? (v(), U(s, {
8092
8108
  key: 0,
@@ -8099,11 +8115,11 @@ function Hu(e, t, n, r, o, i) {
8099
8115
  nonce: e.nonce || "",
8100
8116
  isNestedRender: e.isNestedRender,
8101
8117
  contentId: (y = e.builderContextSignal.content) == null ? void 0 : y.id,
8102
- cssCode: (m = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : m.cssCode,
8118
+ cssCode: (h = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : h.cssCode,
8103
8119
  customFonts: (A = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : A.customFonts
8104
8120
  }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : F("", !0),
8105
8121
  ee(c, {
8106
- blocks: (H = (x = e.builderContextSignal.content) == null ? void 0 : x.data) == null ? void 0 : H.blocks,
8122
+ blocks: (H = ($ = e.builderContextSignal.content) == null ? void 0 : $.data) == null ? void 0 : H.blocks,
8107
8123
  context: e.builderContextSignal,
8108
8124
  registeredComponents: e.registeredComponents,
8109
8125
  linkComponent: e.linkComponent
@@ -8117,7 +8133,7 @@ const Ku = /* @__PURE__ */ j(Mu, [["render", Hu]]), zu = B({
8117
8133
  name: "content-variants",
8118
8134
  components: {
8119
8135
  InlinedScript: Gn,
8120
- InlinedStyles: Mt,
8136
+ InlinedStyles: Ht,
8121
8137
  ContentComponent: Ku
8122
8138
  },
8123
8139
  props: [
@@ -8209,12 +8225,12 @@ function qu(e, t, n, r, o, i) {
8209
8225
  scriptStr: e.updateCookieAndStylesScriptStr,
8210
8226
  nonce: e.nonce || ""
8211
8227
  }, null, 8, ["scriptStr", "nonce"]),
8212
- (v(!0), w(z, null, ve(e.getVariants(e.content), (f, y) => (v(), U(c, q({
8213
- key: f.testVariationId,
8228
+ (v(!0), w(z, null, ve(e.getVariants(e.content), (m, y) => (v(), U(c, q({
8229
+ key: m.testVariationId,
8214
8230
  apiHost: e.apiHost,
8215
8231
  isNestedRender: e.isNestedRender,
8216
8232
  nonce: e.nonce,
8217
- content: f,
8233
+ content: m,
8218
8234
  showContent: !1,
8219
8235
  model: e.model,
8220
8236
  data: e.data,
@@ -8269,7 +8285,7 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8269
8285
  (e != null && e.apiKey))
8270
8286
  return Kn({
8271
8287
  model: t.model,
8272
- apiKey: e.apiKey,
8288
+ apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
8273
8289
  apiVersion: e.apiVersion,
8274
8290
  ...(t == null ? void 0 : t.entry) && {
8275
8291
  query: {
@@ -8349,26 +8365,26 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8349
8365
  }
8350
8366
  });
8351
8367
  function Xu(e, t, n, r, o, i) {
8352
- var u, c, f, y, b;
8368
+ var u, c, m, y, b, h, S;
8353
8369
  const s = W("ContentVariants");
8354
8370
  return v(), w("div", q({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
8355
8371
  ee(s, {
8356
8372
  nonce: e.builderContext.nonce,
8357
8373
  isNestedRender: !0,
8358
8374
  apiVersion: e.builderContext.apiVersion,
8359
- apiKey: e.builderContext.apiKey,
8375
+ apiKey: (u = e.symbol) != null && u.global && ((c = e.symbol) != null && c.ownerId) ? e.symbol.ownerId : e.builderContext.apiKey,
8360
8376
  context: {
8361
8377
  ...e.builderContext.context,
8362
- symbolId: (u = e.builderBlock) == null ? void 0 : u.id
8378
+ symbolId: (m = e.builderBlock) == null ? void 0 : m.id
8363
8379
  },
8364
8380
  customComponents: e.customComponents,
8365
8381
  data: {
8366
- ...(c = e.symbol) == null ? void 0 : c.data,
8382
+ ...(y = e.symbol) == null ? void 0 : y.data,
8367
8383
  ...e.builderContext.localState,
8368
- ...(y = (f = e.contentToUse) == null ? void 0 : f.data) == null ? void 0 : y.state
8384
+ ...(h = (b = e.contentToUse) == null ? void 0 : b.data) == null ? void 0 : h.state
8369
8385
  },
8370
8386
  canTrack: e.builderContext.canTrack,
8371
- model: ((b = e.symbol) == null ? void 0 : b.model) ?? "",
8387
+ model: ((S = e.symbol) == null ? void 0 : S.model) ?? "",
8372
8388
  content: e.contentToUse,
8373
8389
  linkComponent: e.builderLinkComponent,
8374
8390
  blocksWrapper: e.blocksWrapper,
@@ -8383,7 +8399,7 @@ export {
8383
8399
  pa as C,
8384
8400
  sc as D,
8385
8401
  Ps as E,
8386
- fa as F,
8402
+ ha as F,
8387
8403
  Os as G,
8388
8404
  Kn as H,
8389
8405
  Ca as I,
@@ -8394,9 +8410,9 @@ export {
8394
8410
  du as V,
8395
8411
  j as _,
8396
8412
  Oe as a,
8397
- yn as b,
8398
- Mt as c,
8399
- Be as d,
8413
+ vn as b,
8414
+ Ht as c,
8415
+ Ne as d,
8400
8416
  kt as e,
8401
8417
  aa as f,
8402
8418
  lc as g,
@@ -8404,19 +8420,19 @@ export {
8404
8420
  oe as i,
8405
8421
  cc as j,
8406
8422
  zn as k,
8407
- _i as l,
8423
+ us as l,
8408
8424
  oi as m,
8409
8425
  Yu as n,
8410
- hl as o,
8426
+ fl as o,
8411
8427
  Ue as p,
8412
8428
  Gu as q,
8413
- Wn as r,
8429
+ Fn as r,
8414
8430
  ic as s,
8415
- Ji as t,
8416
- ec as u,
8417
- tc as v,
8431
+ cs as t,
8432
+ tc as u,
8433
+ nc as v,
8418
8434
  Fu as w,
8419
- nc as x,
8420
- no as y,
8421
- rc as z
8435
+ rc as x,
8436
+ uo as y,
8437
+ ec as z
8422
8438
  };