@builder.io/sdk-vue 0.5.6-0 → 0.5.6

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 (137) hide show
  1. package/package.json +9 -20
  2. package/packages/_vue2/dist/block-styles.ac28ad89.js +78 -0
  3. package/packages/_vue2/dist/block-styles.d7a0bd18.cjs +1 -0
  4. package/packages/_vue2/dist/block-wrapper.4020c35e.cjs +1 -0
  5. package/packages/_vue2/dist/{block-wrapper-f852f3a4.js → block-wrapper.877d598e.js} +16 -19
  6. package/packages/_vue2/dist/block.03f6b1f1.cjs +3 -0
  7. package/packages/_vue2/dist/block.4db8867b.js +179 -0
  8. package/packages/_vue2/dist/{blocks-wrapper-87a5ef9b.cjs → blocks-wrapper.69dad1d3.cjs} +1 -1
  9. package/packages/_vue2/dist/{blocks-wrapper-98241c68.js → blocks-wrapper.88129f1c.js} +6 -6
  10. package/packages/_vue2/dist/component-ref.5beb6576.cjs +1 -0
  11. package/packages/_vue2/dist/{component-ref-47d34951.js → component-ref.ae6b00e2.js} +21 -29
  12. package/packages/_vue2/dist/content.4429d811.cjs +1 -0
  13. package/packages/_vue2/dist/{content-ab735937.js → content.d83d212f.js} +19 -36
  14. package/packages/_vue2/dist/{css-8b11bb6e.js → css.e33adaf0.js} +1 -1
  15. package/packages/_vue2/dist/{css-03a9ebe6.cjs → css.ec4684cd.cjs} +1 -1
  16. package/packages/_vue2/dist/{enable-editor-2d8d86f8.js → enable-editor.2a84c36c.js} +29 -35
  17. package/packages/_vue2/dist/enable-editor.7bbb8293.cjs +1 -0
  18. package/packages/_vue2/dist/evaluate.15b2ed56.js +79 -0
  19. package/packages/_vue2/dist/evaluate.eba0e0f9.cjs +4 -0
  20. package/packages/_vue2/dist/get-block-actions.1973b4d5.cjs +1 -0
  21. package/packages/_vue2/dist/get-block-actions.db2ac618.js +36 -0
  22. package/packages/_vue2/dist/{get-block-properties-f778ef2a.js → get-block-properties.322d544d.js} +2 -2
  23. package/packages/_vue2/dist/get-block-properties.ef1464fb.cjs +1 -0
  24. package/packages/_vue2/dist/get-processed-block.9d4edbee.cjs +1 -0
  25. package/packages/_vue2/dist/get-processed-block.c9980195.js +53 -0
  26. package/packages/_vue2/dist/index.0c5f9582.cjs +32 -0
  27. package/packages/_vue2/dist/{index-a089abc3.js → index.fc359faf.js} +173 -201
  28. package/packages/_vue2/dist/{inlined-script-5ac8fff7.js → inlined-script.1b247526.js} +1 -1
  29. package/packages/_vue2/dist/{inlined-script-73ce088c.cjs → inlined-script.3e92a79e.cjs} +1 -1
  30. package/packages/_vue2/dist/{inlined-styles-3a327fbd.js → inlined-styles.32485f82.js} +1 -1
  31. package/packages/_vue2/dist/inlined-styles.f9ade1ef.cjs +1 -0
  32. package/packages/_vue2/dist/interactive-element.21050a26.cjs +1 -0
  33. package/packages/_vue2/dist/{interactive-element-2aec4d6f.js → interactive-element.c8119384.js} +10 -12
  34. package/packages/{_vue3/dist/non-node-runtime.45773de4.js → _vue2/dist/non-node-runtime.84ddb11a.js} +64 -62
  35. package/packages/_vue2/dist/non-node-runtime.ddd24d83.cjs +21 -0
  36. package/packages/_vue2/dist/{repeated-block-a0f25ac2.js → repeated-block.4fbd3217.js} +6 -6
  37. package/packages/_vue2/dist/repeated-block.f4f2b4be.cjs +1 -0
  38. package/packages/_vue2/dist/sdk.cjs +1 -0
  39. package/packages/_vue2/dist/sdk.js +29 -0
  40. package/packages/_vue2/dist/set.87eb0329.cjs +1 -0
  41. package/packages/_vue2/dist/set.b219ab0e.js +9 -0
  42. package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +2 -2
  43. package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +2 -2
  44. package/packages/_vue2/dist/src/components/block/block.helpers.d.ts +2 -5
  45. package/packages/_vue2/dist/src/components/block/block.vue.d.ts +4 -2
  46. package/packages/_vue2/dist/src/components/block/components/block-styles.vue.d.ts +0 -5
  47. package/packages/_vue2/dist/src/components/block/components/block-wrapper.vue.d.ts +0 -3
  48. package/packages/_vue2/dist/src/components/block/components/component-ref/component-ref.helpers.d.ts +2 -3
  49. package/packages/_vue2/dist/src/components/block/components/interactive-element.vue.d.ts +0 -5
  50. package/packages/_vue2/dist/src/components/block/components/repeated-block.vue.d.ts +1 -1
  51. package/packages/_vue2/dist/src/components/blocks/blocks.vue.d.ts +8 -9
  52. package/packages/_vue2/dist/src/components/content/content.vue.d.ts +0 -1
  53. package/packages/_vue2/dist/src/components/content-variants/content-variants.types.d.ts +0 -2
  54. package/packages/_vue2/dist/src/components/content-variants/content-variants.vue.d.ts +0 -3
  55. package/packages/_vue2/dist/src/constants/sdk-version.d.ts +1 -1
  56. package/packages/_vue2/dist/src/constants/target.d.ts +1 -1
  57. package/packages/_vue2/dist/src/functions/evaluate/evaluate.d.ts +7 -6
  58. package/packages/{_vue3/dist/src/functions/evaluate/node-runtime → _vue2/dist/src/functions/evaluate/non-node-runtime}/index.d.ts +2 -2
  59. package/packages/_vue2/dist/src/functions/evaluate/non-node-runtime/non-node-runtime.d.ts +2 -0
  60. package/packages/_vue2/dist/src/functions/evaluate/types.d.ts +11 -0
  61. package/packages/_vue2/dist/src/functions/fetch-builder-props.d.ts +3 -3
  62. package/packages/_vue2/dist/src/functions/get-block-actions-handler.d.ts +5 -2
  63. package/packages/_vue2/dist/src/functions/get-block-actions.d.ts +3 -3
  64. package/packages/_vue2/dist/src/functions/get-processed-block.d.ts +3 -5
  65. package/packages/_vue2/dist/src/helpers/preview-lru-cache/get.d.ts +1 -1
  66. package/packages/_vue2/dist/src/helpers/preview-lru-cache/set.d.ts +1 -1
  67. package/packages/_vue2/dist/src/index-helpers/blocks-exports.d.ts +3 -9
  68. package/packages/_vue2/dist/src/index.d.ts +2 -2
  69. package/packages/_vue2/dist/src/types/builder-props.d.ts +3 -15
  70. package/packages/_vue2/dist/style.css +1 -1
  71. package/packages/_vue2/dist/{styles-183aeb6b.js → styles.29f558ce.js} +18 -18
  72. package/packages/_vue2/dist/{styles-6e2cbe10.cjs → styles.b060113b.cjs} +5 -5
  73. package/packages/_vue3/dist/{block-wrapper.5ca35adf.js → block-wrapper.0604faad.js} +2 -2
  74. package/packages/_vue3/dist/{block-wrapper.500b81ef.cjs → block-wrapper.759209a2.cjs} +1 -1
  75. package/packages/_vue3/dist/{component-ref.5764cdf2.js → component-ref.72a8476f.js} +2 -2
  76. package/packages/_vue3/dist/{component-ref.67d028bc.cjs → component-ref.cc553de5.cjs} +1 -1
  77. package/packages/_vue3/dist/{get-block-actions.0f635805.js → get-block-actions.0fc3b0b7.js} +1 -1
  78. package/packages/_vue3/dist/{get-block-actions.20d51d99.cjs → get-block-actions.b8fe4107.cjs} +1 -1
  79. package/packages/_vue3/dist/index.1bb7374b.cjs +72 -0
  80. package/packages/_vue3/dist/{index.f5a3101b.js → index.ebaa8c07.js} +521 -549
  81. package/packages/_vue3/dist/non-node-runtime.b16cf7b9.js +2476 -0
  82. package/packages/_vue3/dist/{non-node-runtime.c8fc465e.cjs → non-node-runtime.d7d010c9.cjs} +9 -9
  83. package/packages/_vue3/dist/{repeated-block.8ca9be30.cjs → repeated-block.115e1f66.cjs} +1 -1
  84. package/packages/_vue3/dist/{repeated-block.238616b4.js → repeated-block.ee20f5f0.js} +2 -2
  85. package/packages/_vue3/dist/sdk.cjs +1 -1
  86. package/packages/_vue3/dist/sdk.js +1 -1
  87. package/packages/_vue3/dist/src/constants/sdk-version.d.ts +1 -1
  88. package/packages/_vue3/dist/src/constants/target.d.ts +1 -1
  89. package/packages/_vue3/dist/src/functions/evaluate/acorn-interpreter.d.ts +2 -0
  90. package/packages/_vue3/dist/src/functions/evaluate/evaluate.d.ts +5 -1
  91. package/packages/_vue3/dist/src/functions/evaluate/non-node-runtime/non-node-runtime.d.ts +2 -2
  92. package/packages/_vue3/dist/src/functions/evaluate/types.d.ts +11 -0
  93. package/packages/_vue3/dist/src/functions/fetch-builder-props.d.ts +3 -3
  94. package/packages/_vue3/dist/src/helpers/preview-lru-cache/get.d.ts +1 -1
  95. package/packages/_vue3/dist/src/helpers/preview-lru-cache/set.d.ts +1 -1
  96. package/packages/_vue3/dist/src/index.d.ts +2 -2
  97. package/packages/_vue2/dist/block-12099f71.js +0 -189
  98. package/packages/_vue2/dist/block-246063be.cjs +0 -3
  99. package/packages/_vue2/dist/block-styles-9360f05a.cjs +0 -1
  100. package/packages/_vue2/dist/block-styles-cfdd1b51.js +0 -79
  101. package/packages/_vue2/dist/block-wrapper-857a5d4f.cjs +0 -1
  102. package/packages/_vue2/dist/component-ref-b891d36b.cjs +0 -1
  103. package/packages/_vue2/dist/content-043dd197.cjs +0 -1
  104. package/packages/_vue2/dist/enable-editor-04399d8f.cjs +0 -1
  105. package/packages/_vue2/dist/evaluate-6a213bca.cjs +0 -1
  106. package/packages/_vue2/dist/evaluate-c9d68bff.js +0 -76
  107. package/packages/_vue2/dist/get-block-actions-2b1bc20b.cjs +0 -1
  108. package/packages/_vue2/dist/get-block-actions-75e52f20.js +0 -36
  109. package/packages/_vue2/dist/get-block-properties-0e241c2c.cjs +0 -1
  110. package/packages/_vue2/dist/get-processed-block-41399170.cjs +0 -1
  111. package/packages/_vue2/dist/get-processed-block-940605b2.js +0 -46
  112. package/packages/_vue2/dist/helpers-327ed263.js +0 -16
  113. package/packages/_vue2/dist/helpers-4efe31ac.cjs +0 -1
  114. package/packages/_vue2/dist/index-537704ba.cjs +0 -1
  115. package/packages/_vue2/dist/index-c1c356f8.cjs +0 -32
  116. package/packages/_vue2/dist/index-cc904f8c.js +0 -10
  117. package/packages/_vue2/dist/inlined-styles-1d50f193.cjs +0 -1
  118. package/packages/_vue2/dist/interactive-element-67792031.cjs +0 -1
  119. package/packages/_vue2/dist/main.cjs +0 -1
  120. package/packages/_vue2/dist/main.js +0 -29
  121. package/packages/_vue2/dist/node-runtime-25e8d976.js +0 -93
  122. package/packages/_vue2/dist/node-runtime-5a567c42.cjs +0 -39
  123. package/packages/_vue2/dist/repeated-block-5eb2f7c6.cjs +0 -1
  124. package/packages/_vue2/dist/src/functions/evaluate/browser-runtime/browser.d.ts +0 -4
  125. package/packages/_vue2/dist/src/functions/evaluate/browser-runtime/index.d.ts +0 -1
  126. package/packages/_vue2/dist/src/functions/evaluate/helpers.d.ts +0 -18
  127. package/packages/_vue2/dist/src/functions/evaluate/node-runtime/index.d.ts +0 -1
  128. package/packages/_vue2/dist/src/functions/evaluate/node-runtime/node-runtime.d.ts +0 -2
  129. package/packages/_vue3/dist/index.0db0f592.cjs +0 -69
  130. package/packages/_vue3/dist/node-runtime.ba895a23.cjs +0 -39
  131. package/packages/_vue3/dist/node-runtime.dc2f1f18.js +0 -93
  132. package/packages/_vue3/dist/src/functions/evaluate/browser-runtime/browser.d.ts +0 -4
  133. package/packages/_vue3/dist/src/functions/evaluate/browser-runtime/index.d.ts +0 -1
  134. package/packages/_vue3/dist/src/functions/evaluate/helpers.d.ts +0 -18
  135. package/packages/_vue3/dist/src/functions/evaluate/node-runtime/node-runtime.d.ts +0 -2
  136. /package/packages/_vue2/dist/{index.d.ts → sdk.d.ts} +0 -0
  137. /package/packages/{_vue3/dist/src/functions/evaluate/non-node-runtime → _vue2/dist/src/functions/evaluate}/acorn-interpreter.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as t } from "vue";
2
- import { n as e } from "./index-a089abc3.js";
2
+ import { n as e } from "./index.fc359faf.js";
3
3
  const s = t({
4
4
  name: "inlined-script",
5
5
  props: ["scriptStr", "id"]
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),t=require("./index-c1c356f8.cjs"),i=r.defineComponent({name:"inlined-script",props:["scriptStr","id"]});var s=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("script",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.scriptStr)}})},o=[],c=t.normalizeComponent(i,s,o,!1,null,null,null,null);const l=c.exports;exports.default=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),t=require("./index.0c5f9582.cjs"),i=r.defineComponent({name:"inlined-script",props:["scriptStr","id"]});var s=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("script",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.scriptStr)}})},o=[],c=t.normalizeComponent(i,s,o,!1,null,null,null,null);const l=c.exports;exports.default=l;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s } from "vue";
2
- import { n as t } from "./index-a089abc3.js";
2
+ import { n as t } from "./index.fc359faf.js";
3
3
  const r = s({
4
4
  name: "inlined-styles",
5
5
  props: ["styles", "id"]
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),t=require("./index.0c5f9582.cjs"),r=s.defineComponent({name:"inlined-styles",props:["styles","id"]});var l=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("style",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.styles)}})},o=[],i=t.normalizeComponent(r,l,o,!1,null,null,null,null);const c=i.exports;exports.default=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),r=require("./get-block-actions.1973b4d5.cjs"),c=require("./get-block-properties.ef1464fb.cjs"),n=require("./index.0c5f9582.cjs");require("./evaluate.eba0e0f9.cjs");require("./css.ec4684cd.cjs");const s=o.defineComponent({name:"interactive-element",props:["wrapperProps","block","context","Wrapper"],data(){return{getBlockActions:r.getBlockActions,getBlockProperties:c.getBlockProperties}}});var l=function(){var e=this,t=e._self._c;return e._self._setupProxy,t(e.Wrapper,e._b({tag:"component",attrs:{attributes:{...e.getBlockProperties({block:e.block,context:e.context}),...e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}}},"component",e.wrapperProps,!1),[e._t("default")],2)},a=[],i=n.normalizeComponent(s,l,a,!1,null,null,null,null);const p=i.exports;exports.default=p;
@@ -1,13 +1,12 @@
1
1
  import { defineComponent as o } from "vue";
2
- import { g as r } from "./get-block-actions-75e52f20.js";
3
- import { g as n } from "./get-block-properties-f778ef2a.js";
4
- import { n as c } from "./index-a089abc3.js";
5
- import "./evaluate-c9d68bff.js";
6
- import "./helpers-327ed263.js";
7
- import "./css-8b11bb6e.js";
2
+ import { g as r } from "./get-block-actions.db2ac618.js";
3
+ import { g as n } from "./get-block-properties.322d544d.js";
4
+ import { n as c } from "./index.fc359faf.js";
5
+ import "./evaluate.15b2ed56.js";
6
+ import "./css.e33adaf0.js";
8
7
  const a = o({
9
8
  name: "interactive-element",
10
- props: ["wrapperProps", "block", "context", "serverExecutor", "Wrapper"],
9
+ props: ["wrapperProps", "block", "context", "Wrapper"],
11
10
  data() {
12
11
  return { getBlockActions: r, getBlockProperties: n };
13
12
  }
@@ -24,21 +23,20 @@ var l = function() {
24
23
  rootState: t.context.rootState,
25
24
  rootSetState: t.context.rootSetState,
26
25
  localState: t.context.localState,
27
- context: t.context.context,
28
- serverExecutor: t.serverExecutor
26
+ context: t.context.context
29
27
  })
30
28
  } } }, "component", t.wrapperProps, !1), [t._t("default")], 2);
31
- }, s = [], p = /* @__PURE__ */ c(
29
+ }, p = [], s = /* @__PURE__ */ c(
32
30
  a,
33
31
  l,
34
- s,
32
+ p,
35
33
  !1,
36
34
  null,
37
35
  null,
38
36
  null,
39
37
  null
40
38
  );
41
- const S = p.exports;
39
+ const S = s.exports;
42
40
  export {
43
41
  S as default
44
42
  };
@@ -1,6 +1,7 @@
1
- import { l as vu, g as Wu, s as Hu } from "./index.f5a3101b.js";
1
+ import { l as vu } from "./index.fc359faf.js";
2
+ import { s as Wu } from "./set.b219ab0e.js";
2
3
  import "vue";
3
- var w, Ju = function(e) {
4
+ var w, Hu = function(e) {
4
5
  function t(i) {
5
6
  return 48 > i ? i === 36 : 58 > i ? !0 : 65 > i ? !1 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && Xu.test(String.fromCharCode(i));
6
7
  }
@@ -30,7 +31,7 @@ var w, Ju = function(e) {
30
31
  };
31
32
  }
32
33
  function o() {
33
- this.line = ae, this.ab = c - K;
34
+ this.line = le, this.ab = c - K;
34
35
  }
35
36
  function a(i, s) {
36
37
  fe = c, m.C && (at = new o()), C = i, d(), V = s, Be = i.m;
@@ -46,9 +47,9 @@ var w, Ju = function(e) {
46
47
  if (i === 32)
47
48
  ++c;
48
49
  else if (i === 13)
49
- ++c, i = A.charCodeAt(c), i === 10 && ++c, m.C && (++ae, K = c);
50
+ ++c, i = A.charCodeAt(c), i === 10 && ++c, m.C && (++le, K = c);
50
51
  else if (i === 10 || i === 8232 || i === 8233)
51
- ++c, m.C && (++ae, K = c);
52
+ ++c, m.C && (++le, K = c);
52
53
  else if (8 < i && 14 > i)
53
54
  ++c;
54
55
  else if (i === 47)
@@ -57,7 +58,7 @@ var w, Ju = function(e) {
57
58
  var s = m.va && m.C && new o(), l = c, p = A.indexOf("*/", c += 2);
58
59
  if (p === -1 && u(c - 2, "Unterminated comment"), c = p + 2, m.C)
59
60
  for (Ke.lastIndex = l; (i = Ke.exec(A)) && i.index < c; )
60
- ++ae, K = i.index + i[0].length;
61
+ ++le, K = i.index + i[0].length;
61
62
  m.va && m.va(!0, A.slice(l + 2, p), l, c, s, m.C && new o());
62
63
  } else if (i === 47)
63
64
  h();
@@ -164,7 +165,7 @@ var w, Ju = function(e) {
164
165
  case 13:
165
166
  A.charCodeAt(c) === 10 && ++c;
166
167
  case 10:
167
- m.C && (K = c, ++ae);
168
+ m.C && (K = c, ++le);
168
169
  break;
169
170
  default:
170
171
  s += String.fromCharCode(l);
@@ -174,26 +175,26 @@ var w, Ju = function(e) {
174
175
  }
175
176
  return;
176
177
  case 47:
177
- i = A.charCodeAt(c + 1), Be ? (++c, Le()) : i === 61 ? x(le, 2) : x(lu, 1);
178
+ i = A.charCodeAt(c + 1), Be ? (++c, Le()) : i === 61 ? x(ce, 2) : x(lu, 1);
178
179
  return;
179
180
  case 37:
180
181
  case 42:
181
- A.charCodeAt(c + 1) === 61 ? x(le, 2) : x(bu, 1);
182
+ A.charCodeAt(c + 1) === 61 ? x(ce, 2) : x(bu, 1);
182
183
  return;
183
184
  case 124:
184
185
  case 38:
185
- s = A.charCodeAt(c + 1), s === i ? x(i === 124 ? fu : hu, 2) : s === 61 ? x(le, 2) : x(i === 124 ? Iu : Nu, 1);
186
+ s = A.charCodeAt(c + 1), s === i ? x(i === 124 ? fu : hu, 2) : s === 61 ? x(ce, 2) : x(i === 124 ? Iu : Nu, 1);
186
187
  return;
187
188
  case 94:
188
- A.charCodeAt(c + 1) === 61 ? x(le, 2) : x(Tu, 1);
189
+ A.charCodeAt(c + 1) === 61 ? x(ce, 2) : x(Tu, 1);
189
190
  return;
190
191
  case 43:
191
192
  case 45:
192
- s = A.charCodeAt(c + 1), s === i ? s === 45 && A.charCodeAt(c + 2) === 62 && $e.test(A.slice(re, c)) ? (c += 3, h(), d(), O()) : x(Ou, 2) : s === 61 ? x(le, 2) : x(Uu, 1);
193
+ s = A.charCodeAt(c + 1), s === i ? s === 45 && A.charCodeAt(c + 2) === 62 && $e.test(A.slice(re, c)) ? (c += 3, h(), d(), O()) : x(Ou, 2) : s === 61 ? x(ce, 2) : x(Uu, 1);
193
194
  return;
194
195
  case 60:
195
196
  case 62:
196
- s = A.charCodeAt(c + 1), l = 1, s === i ? (l = i === 62 && A.charCodeAt(c + 2) === 62 ? 3 : 2, A.charCodeAt(c + l) === 61 ? x(le, l + 1) : x(Pu, l)) : s === 33 && i === 60 && A.charCodeAt(c + 2) === 45 && A.charCodeAt(c + 3) === 45 ? (c += 4, h(), d(), O()) : (s === 61 && (l = A.charCodeAt(c + 2) === 61 ? 3 : 2), x(Ru, l));
197
+ s = A.charCodeAt(c + 1), l = 1, s === i ? (l = i === 62 && A.charCodeAt(c + 2) === 62 ? 3 : 2, A.charCodeAt(c + l) === 61 ? x(ce, l + 1) : x(Pu, l)) : s === 33 && i === 60 && A.charCodeAt(c + 2) === 45 && A.charCodeAt(c + 3) === 45 ? (c += 4, h(), d(), O()) : (s === 61 && (l = A.charCodeAt(c + 2) === 61 ? 3 : 2), x(Ru, l));
197
198
  return;
198
199
  case 61:
199
200
  case 33:
@@ -238,7 +239,7 @@ var w, Ju = function(e) {
238
239
  }
239
240
  ++c;
240
241
  }
241
- i = A.slice(l, c), ++c, (s = ce()) && !/^[gmi]*$/.test(s) && u(l, "Invalid regexp flag");
242
+ i = A.slice(l, c), ++c, (s = se()) && !/^[gmi]*$/.test(s) && u(l, "Invalid regexp flag");
242
243
  try {
243
244
  var E = new RegExp(i, s);
244
245
  } catch (T) {
@@ -264,7 +265,7 @@ var w, Ju = function(e) {
264
265
  function H(i) {
265
266
  return i = oe(16, i), i === null && u(I, "Bad character escape sequence"), i;
266
267
  }
267
- function ce() {
268
+ function se() {
268
269
  ge = !1;
269
270
  for (var i, s = !0, l = c; ; ) {
270
271
  var p = A.charCodeAt(c);
@@ -281,7 +282,7 @@ var w, Ju = function(e) {
281
282
  return ge ? i : A.slice(l, c);
282
283
  }
283
284
  function Ge() {
284
- var i = ce(), s = he;
285
+ var i = se(), s = he;
285
286
  !ge && Lu(i) && (s = ku[i]), a(s, i);
286
287
  }
287
288
  function D() {
@@ -291,7 +292,7 @@ var w, Ju = function(e) {
291
292
  if (X = i, c = I, m.C)
292
293
  for (; c < K; )
293
294
  K = A.lastIndexOf(`
294
- `, K - 2) + 1, --ae;
295
+ `, K - 2) + 1, --le;
295
296
  d(), O();
296
297
  }
297
298
  function Ut() {
@@ -320,7 +321,7 @@ var w, Ju = function(e) {
320
321
  function Xe() {
321
322
  return !m.fc && (C === pt || C === Ae || $e.test(A.slice(re, I)));
322
323
  }
323
- function se() {
324
+ function ae() {
324
325
  S(z) || Xe() || Y();
325
326
  }
326
327
  function j(i) {
@@ -333,14 +334,14 @@ var w, Ju = function(e) {
333
334
  i.type !== "Identifier" && i.type !== "MemberExpression" && u(i.start, "Assigning to rvalue"), X && i.type === "Identifier" && Ye(i.name) && u(i.start, "Assigning to " + i.name + " in strict mode");
334
335
  }
335
336
  function W() {
336
- (C === lu || C === le && V === "/=") && O(!0);
337
+ (C === lu || C === ce && V === "/=") && O(!0);
337
338
  var i = C, s = R();
338
339
  switch (i) {
339
340
  case ft:
340
341
  case Wt:
341
342
  D();
342
343
  var l = i === ft;
343
- S(z) || Xe() ? s.label = null : C !== he ? Y() : (s.label = $(), se());
344
+ S(z) || Xe() ? s.label = null : C !== he ? Y() : (s.label = $(), ae());
344
345
  for (var p = 0; p < k.length; ++p) {
345
346
  var E = k[p];
346
347
  if ((s.label === null || E.name === s.label.name) && (E.kind !== null && (l || E.kind === "loop") || s.label && l))
@@ -348,9 +349,9 @@ var w, Ju = function(e) {
348
349
  }
349
350
  return p === k.length && u(s.start, "Unsyntactic " + i.l), F(s, l ? "BreakStatement" : "ContinueStatement");
350
351
  case Ht:
351
- return D(), se(), F(s, "DebuggerStatement");
352
+ return D(), ae(), F(s, "DebuggerStatement");
352
353
  case Yt:
353
- return D(), k.push(Ft), s.body = W(), k.pop(), j(yt), s.test = me(), se(), F(s, "DoWhileStatement");
354
+ return D(), k.push(Ft), s.body = W(), k.pop(), j(yt), s.test = me(), ae(), F(s, "DoWhileStatement");
354
355
  case Zt:
355
356
  return D(), k.push(Ft), j(Z), C === z ? et(s, null) : C === vt ? (i = R(), D(), Lt(i, !0), F(i, "VariableDeclaration"), i.fa.length === 1 && S(Je) ? _t(s, i) : et(s, i)) : (i = U(!1, !0), S(Je) ? (Ve(i), _t(s, i)) : et(s, i));
356
357
  case At:
@@ -358,17 +359,17 @@ var w, Ju = function(e) {
358
359
  case zt:
359
360
  return D(), s.test = me(), s.da = W(), s.alternate = S($t) ? W() : null, F(s, "IfStatement");
360
361
  case Qt:
361
- return we || m.Ib || u(I, "'return' outside of function"), D(), S(z) || Xe() ? s.K = null : (s.K = U(), se()), F(s, "ReturnStatement");
362
+ return we || m.Ib || u(I, "'return' outside of function"), D(), S(z) || Xe() ? s.K = null : (s.K = U(), ae()), F(s, "ReturnStatement");
362
363
  case gt:
363
364
  for (D(), s.Qb = me(), s.tb = [], j(Se), k.push(Vu); C !== Ae; )
364
365
  C === ht || C === Jt ? (i = C === ht, p && F(p, "SwitchCase"), s.tb.push(p = R()), p.da = [], D(), i ? p.test = U() : (l && u(lt, "Multiple default clauses"), l = !0, p.test = null), j(je)) : (p || Y(), p.da.push(W()));
365
366
  return p && F(p, "SwitchCase"), D(), k.pop(), F(s, "SwitchStatement");
366
367
  case qt:
367
- return D(), $e.test(A.slice(re, I)) && u(re, "Illegal newline after throw"), s.K = U(), se(), F(s, "ThrowStatement");
368
+ return D(), $e.test(A.slice(re, I)) && u(re, "Illegal newline after throw"), s.K = U(), ae(), F(s, "ThrowStatement");
368
369
  case eu:
369
370
  return D(), s.block = de(), s.Ea = null, C === Vt && (i = R(), D(), j(Z), i.Ua = $(), X && Ye(i.Ua.name) && u(i.Ua.start, "Binding " + i.Ua.name + " in strict mode"), j(J), i.body = de(), s.Ea = F(i, "CatchClause")), s.fb = S(Kt) ? de() : null, s.Ea || s.fb || u(s.start, "Missing catch or finally clause"), F(s, "TryStatement");
370
371
  case vt:
371
- return D(), Lt(s), se(), F(s, "VariableDeclaration");
372
+ return D(), Lt(s), ae(), F(s, "VariableDeclaration");
372
373
  case yt:
373
374
  return D(), s.test = me(), k.push(Ft), s.body = W(), k.pop(), F(s, "WhileStatement");
374
375
  case tu:
@@ -386,7 +387,7 @@ var w, Ju = function(e) {
386
387
  kind: C.W ? "loop" : C === gt ? "switch" : null
387
388
  }), s.body = W(), k.pop(), s.label = E, F(s, "LabeledStatement");
388
389
  }
389
- return s.la = E, se(), F(s, "ExpressionStatement");
390
+ return s.la = E, ae(), F(s, "ExpressionStatement");
390
391
  }
391
392
  }
392
393
  function me() {
@@ -550,7 +551,7 @@ var w, Ju = function(e) {
550
551
  A = String(i), pe = A.length, m = s || {};
551
552
  for (var l in Gt)
552
553
  Object.prototype.hasOwnProperty.call(m, l) || (m[l] = Gt[l]);
553
- for (ot = m.sourceFile, ae = 1, c = K = 0, Be = !0, d(), l = m.dc, lt = re = c, m.C && (ct = new o()), we = X = !1, k = [], O(), i = l || R(), s = !0, l || (i.body = []); C !== pt; )
554
+ for (ot = m.sourceFile, le = 1, c = K = 0, Be = !0, d(), l = m.dc, lt = re = c, m.C && (ct = new o()), we = X = !1, k = [], O(), i = l || R(), s = !0, l || (i.body = []); C !== pt; )
554
555
  l = W(), i.body.push(l), s && qe(l) && Qe(!0), s = !1;
555
556
  return F(i, "Program");
556
557
  };
@@ -565,7 +566,7 @@ var w, Ju = function(e) {
565
566
  dc: null,
566
567
  sourceFile: null,
567
568
  vb: null
568
- }, c = 0, I = 0, fe = 0, st, at, C, V, Be, ae, K, lt = 0, re = 0, ct, we, k, X, ju = [], xe = {
569
+ }, c = 0, I = 0, fe = 0, st, at, C, V, Be, le, K, lt = 0, re = 0, ct, we, k, X, ju = [], xe = {
569
570
  type: "num"
570
571
  }, Xt = {
571
572
  type: "regexp"
@@ -719,7 +720,7 @@ var w, Ju = function(e) {
719
720
  }, cu = {
720
721
  Cb: !0,
721
722
  m: !0
722
- }, le = {
723
+ }, ce = {
723
724
  Cb: !0,
724
725
  m: !0
725
726
  }, Ou = {
@@ -766,7 +767,7 @@ var w, Ju = function(e) {
766
767
  kind: "switch"
767
768
  };
768
769
  }, Dt = Dt = typeof globalThis > "u" ? void 0 : globalThis;
769
- Ju(Dt.j || (Dt.j = {}));
770
+ Hu(Dt.j || (Dt.j = {}));
770
771
  function f(e, t) {
771
772
  typeof e == "string" && (e = Ce(e, "code"));
772
773
  var r = e.constructor;
@@ -816,7 +817,7 @@ var yu = {
816
817
  VALUE_IN_DESCRIPTOR: !0
817
818
  }, ye = {
818
819
  REGEXP_TIMEOUT: !0
819
- }, Eu = [], q = null, Me = null, ie = typeof globalThis > "u" ? void 0 : globalThis, Yu = ["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();", "};"];
820
+ }, Eu = [], q = null, Me = null, ie = typeof globalThis > "u" ? void 0 : globalThis, Ju = ["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();", "};"];
820
821
  function St(e) {
821
822
  var t = e >>> 0;
822
823
  return t === Number(e) ? t : NaN;
@@ -898,8 +899,8 @@ w.Eb = function() {
898
899
  ;
899
900
  return this.za;
900
901
  };
901
- function $u(e, t) {
902
- e.g(t, "NaN", NaN, ke), e.g(t, "Infinity", 1 / 0, ke), e.g(t, "undefined", void 0, ke), e.g(t, "window", t, xt), e.g(t, "this", t, ke), e.g(t, "self", t), e.M = new B(null), e.Z = new B(e.M), Ku(e, t), Zu(e, t), t.xa = e.M, e.g(t, "constructor", e.v, g), zu(e, t), Qu(e, t), qu(e, t), er(e, t), tr(e, t), ur(e, t), rr(e, t), nr(e, t), ir(e, t);
902
+ function Yu(e, t) {
903
+ e.g(t, "NaN", NaN, ke), e.g(t, "Infinity", 1 / 0, ke), e.g(t, "undefined", void 0, ke), e.g(t, "window", t, xt), e.g(t, "this", t, ke), e.g(t, "self", t), e.M = new B(null), e.Z = new B(e.M), $u(e, t), Ku(e, t), t.xa = e.M, e.g(t, "constructor", e.v, g), Zu(e, t), zu(e, t), Qu(e, t), qu(e, t), er(e, t), tr(e, t), ur(e, t), rr(e, t), nr(e, t);
903
904
  var r = e.i(function() {
904
905
  throw EvalError("Can't happen");
905
906
  }, !1);
@@ -925,7 +926,7 @@ function $u(e, t) {
925
926
  }, e.g(t, "clearInterval", e.i(r, !1), g), 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);
926
927
  }
927
928
  w.Wb = 0;
928
- function Ku(e, t) {
929
+ function $u(e, t) {
929
930
  var r = /^[A-Za-z_$][\w$]*$/, u = function(n) {
930
931
  var o = arguments.length ? String(arguments[arguments.length - 1]) : "", a = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
931
932
  if (a) {
@@ -959,7 +960,7 @@ function Ku(e, t) {
959
960
  return this.valueOf();
960
961
  }, N(e, e.O, "valueOf", u), e.g(e.O, "valueOf", e.i(u, !1), g);
961
962
  }
962
- function Zu(e, t) {
963
+ function Ku(e, t) {
963
964
  function r(n) {
964
965
  n != null || y(e, e.j, "Cannot convert '" + n + "' to object");
965
966
  }
@@ -1004,7 +1005,7 @@ function Zu(e, t) {
1004
1005
  }
1005
1006
  }, N(e, e.v, "isPrototypeOf", u);
1006
1007
  }
1007
- function zu(e, t) {
1008
+ function Zu(e, t) {
1008
1009
  var r = function(u) {
1009
1010
  var n = te(e) ? this : Ee(e), o = arguments[0];
1010
1011
  if (arguments.length === 1 && typeof o == "number")
@@ -1024,7 +1025,7 @@ function zu(e, t) {
1024
1025
  writable: !0
1025
1026
  }), 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(',');", "}", ");", "})();", "");
1026
1027
  }
1027
- function Qu(e, t) {
1028
+ function zu(e, t) {
1028
1029
  var r = function(u) {
1029
1030
  return u = arguments.length ? ie.String(u) : "", te(e) ? (this.data = u, this) : u;
1030
1031
  };
@@ -1107,12 +1108,12 @@ function Qu(e, t) {
1107
1108
  o(a.replace(u, n));
1108
1109
  }, Ne(e, e.J, "replace", r), 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;", "};", "})();", "");
1109
1110
  }
1110
- function qu(e, t) {
1111
+ function Qu(e, t) {
1111
1112
  e.mb = e.i(function(r) {
1112
1113
  return r = ie.Boolean(r), te(e) ? (this.data = r, this) : r;
1113
1114
  }, !0), e.g(t, "Boolean", e.mb, g);
1114
1115
  }
1115
- function er(e, t) {
1116
+ function qu(e, t) {
1116
1117
  var r = function(u) {
1117
1118
  return u = arguments.length ? ie.Number(u) : 0, te(e) ? (this.data = u, this) : u;
1118
1119
  };
@@ -1151,7 +1152,7 @@ function er(e, t) {
1151
1152
  }
1152
1153
  }, N(e, e.aa, "toLocaleString", r);
1153
1154
  }
1154
- function tr(e, t) {
1155
+ function er(e, t) {
1155
1156
  var r = function(n, o) {
1156
1157
  if (!te(e))
1157
1158
  return ie.Date();
@@ -1170,7 +1171,7 @@ function tr(e, t) {
1170
1171
  };
1171
1172
  }(t[u]), N(e, e.$, t[u], r);
1172
1173
  }
1173
- function ur(e, t) {
1174
+ function tr(e, t) {
1174
1175
  var r = function(u, n) {
1175
1176
  if (te(e))
1176
1177
  var o = this;
@@ -1212,7 +1213,7 @@ function ur(e, t) {
1212
1213
  u = a.exec(u), e.g(this, "lastIndex", a.lastIndex), n(o(u));
1213
1214
  }, Ne(e, e.I, "exec", r);
1214
1215
  }
1215
- function rr(e, t) {
1216
+ function ur(e, t) {
1216
1217
  function r(u) {
1217
1218
  var n = e.i(function(o) {
1218
1219
  var a = te(e) ? this : e.Aa(n);
@@ -1225,7 +1226,7 @@ function rr(e, t) {
1225
1226
  return Bt(e, n, u), n;
1226
1227
  }, !0), e.g(t, "Error", e.D, g), e.g(e.D.h.prototype, "message", "", g), e.g(e.D.h.prototype, "name", "Error", g), r("EvalError"), e.ob = r("RangeError"), e.pb = r("ReferenceError"), e.T = r("SyntaxError"), e.j = r("TypeError"), e.Gb = r("URIError");
1227
1228
  }
1228
- function nr(e, t) {
1229
+ function rr(e, t) {
1229
1230
  var r = e.s(e.M);
1230
1231
  e.g(t, "Math", r, g);
1231
1232
  var u = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
@@ -1234,7 +1235,7 @@ function nr(e, t) {
1234
1235
  for (u = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < u.length; t++)
1235
1236
  e.g(r, u[t], e.i(Math[u[t]], !1), g);
1236
1237
  }
1237
- function ir(e, t) {
1238
+ function nr(e, t) {
1238
1239
  var r = e.s(e.M);
1239
1240
  e.g(t, "JSON", r, g), t = function(u) {
1240
1241
  try {
@@ -1289,7 +1290,7 @@ function Bt(e, t, r) {
1289
1290
  }
1290
1291
  w.ha = function() {
1291
1292
  var e = this.ha.Mb;
1292
- return e || (e = new Blob([Yu.join(`
1293
+ return e || (e = new Blob([Ju.join(`
1293
1294
  `)], {
1294
1295
  type: "application/javascript"
1295
1296
  }), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
@@ -1568,7 +1569,7 @@ function wt(e, t, r) {
1568
1569
  var n = t.body && t.body[0];
1569
1570
  n && n.la && n.la.type === "Literal" && n.la.value === "use strict" && (u = !0);
1570
1571
  }
1571
- return n = e.s(null), u = new Su(r, u, n), r || $u(e, u.object), Ue(e, t, u), u;
1572
+ return n = e.s(null), u = new Su(r, u, n), r || Yu(e, u.object), Ue(e, t, u), u;
1572
1573
  }
1573
1574
  function Tt(e, t, r) {
1574
1575
  if (!t)
@@ -1753,7 +1754,7 @@ function Fu(e, t, r) {
1753
1754
  }
1754
1755
  a.type = "EvalProgram_", a.body = d.body, u = u.node.arguments[0], Ze(a, u ? u.start : void 0, u ? u.end : void 0), u = e.N, n.length = 0;
1755
1756
  }
1756
- return t = new or(h, n, u, a, t ? r : -1), xu(e, t, r), t.Db;
1757
+ return t = new ir(h, n, u, a, t ? r : -1), xu(e, t, r), t.Db;
1757
1758
  }
1758
1759
  function xu(e, t, r) {
1759
1760
  t.time = Date.now() + r, e.ca.push(t), e.ca.sort(function(u, n) {
@@ -1857,10 +1858,10 @@ w.toString = function() {
1857
1858
  w.valueOf = function() {
1858
1859
  return !Me || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
1859
1860
  };
1860
- function or(e, t, r, u, n) {
1861
- this.zb = e, this.Lb = t, this.scope = r, this.node = u, this.interval = n, this.Db = ++sr, this.time = 0;
1861
+ function ir(e, t, r, u, n) {
1862
+ this.zb = e, this.Lb = t, this.scope = r, this.node = u, this.interval = n, this.Db = ++or, this.time = 0;
1862
1863
  }
1863
- var sr = 0;
1864
+ var or = 0;
1864
1865
  f.prototype.stepArrayExpression = function(e, t, r) {
1865
1866
  r = r.elements;
1866
1867
  var u = t.A || 0;
@@ -2408,7 +2409,7 @@ f.prototype.getGlobalScope = f.prototype.Xb;
2408
2409
  f.prototype.getStateStack = f.prototype.Yb;
2409
2410
  f.prototype.setStateStack = f.prototype.ec;
2410
2411
  f.VALUE_IN_DESCRIPTOR = Pe;
2411
- const ar = (e) => e.split(`
2412
+ const sr = (e) => e.split(`
2412
2413
  `).map((t) => {
2413
2414
  const r = t.trim();
2414
2415
  if (t.includes("__awaiter"))
@@ -2428,18 +2429,19 @@ const ar = (e) => e.split(`
2428
2429
  rootState: u,
2429
2430
  localState: n,
2430
2431
  rootSetState: o,
2431
- code: a
2432
+ useCode: a
2432
2433
  }) => {
2433
2434
  const h = {
2434
2435
  ...u,
2435
2436
  ...n
2436
- }, d = Wu({
2437
+ }, d = {
2438
+ state: h,
2439
+ Builder: e,
2437
2440
  builder: e,
2438
2441
  context: t,
2439
- event: r,
2440
- state: h
2441
- }), b = d.map(([M]) => `var ${M} = JSON.parse(${du(M)});`).join(`
2442
- `), O = ar(a);
2442
+ event: r
2443
+ }, b = Object.keys(d).map((M) => `var ${M} = JSON.parse(${du(M)});`).join(`
2444
+ `), O = sr(a);
2443
2445
  if (O === "") {
2444
2446
  vu.warn("Skipping evaluation of empty code block.");
2445
2447
  return;
@@ -2452,12 +2454,12 @@ function theFunction() {
2452
2454
  }
2453
2455
  theFunction();
2454
2456
  `, Le = (M, H) => {
2455
- const ce = Hu(h, M, H);
2456
- o == null || o(ce);
2457
+ const se = Wu(h, M, H);
2458
+ o == null || o(se);
2457
2459
  }, oe = function(M, H) {
2458
- d.forEach(([ce, Ge]) => {
2459
- const D = JSON.stringify(Ge);
2460
- M.setProperty(H, du(ce), D);
2460
+ Object.keys(d).forEach((se) => {
2461
+ const Ge = d[se] || {}, D = JSON.stringify(Ge);
2462
+ M.setProperty(H, du(se), D);
2461
2463
  }), M.setProperty(H, "setRootState", M.createNativeFunction(Le));
2462
2464
  };
2463
2465
  try {