@builder.io/sdk-vue 0.7.1-1 → 0.7.1

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 (1029) hide show
  1. package/package.json +1 -5
  2. package/vue2/package.json +1 -0
  3. package/vue3/package.json +1 -0
  4. package/vue2/lib/browser/block-2cb52597.cjs +0 -3
  5. package/vue2/lib/browser/block-dc97e982.js +0 -181
  6. package/vue2/lib/browser/block-styles-8f571c43.cjs +0 -1
  7. package/vue2/lib/browser/block-styles-bc460f14.js +0 -82
  8. package/vue2/lib/browser/block-wrapper-2d901f3f.cjs +0 -1
  9. package/vue2/lib/browser/block-wrapper-b1a6d78a.js +0 -66
  10. package/vue2/lib/browser/blocks/button/button.vue.d.ts +0 -17
  11. package/vue2/lib/browser/blocks/button/component-info.d.ts +0 -2
  12. package/vue2/lib/browser/blocks/columns/columns.vue.d.ts +0 -44
  13. package/vue2/lib/browser/blocks/columns/component-info.d.ts +0 -2
  14. package/vue2/lib/browser/blocks/custom-code/component-info.d.ts +0 -2
  15. package/vue2/lib/browser/blocks/custom-code/custom-code.vue.d.ts +0 -13
  16. package/vue2/lib/browser/blocks/embed/component-info.d.ts +0 -2
  17. package/vue2/lib/browser/blocks/embed/embed.vue.d.ts +0 -18
  18. package/vue2/lib/browser/blocks/embed/helpers.d.ts +0 -1
  19. package/vue2/lib/browser/blocks/form/component-info.d.ts +0 -2
  20. package/vue2/lib/browser/blocks/fragment/component-info.d.ts +0 -2
  21. package/vue2/lib/browser/blocks/fragment/fragment.vue.d.ts +0 -7
  22. package/vue2/lib/browser/blocks/helpers.d.ts +0 -13
  23. package/vue2/lib/browser/blocks/image/component-info.d.ts +0 -2
  24. package/vue2/lib/browser/blocks/image/image.helpers.d.ts +0 -1
  25. package/vue2/lib/browser/blocks/image/image.vue.d.ts +0 -72
  26. package/vue2/lib/browser/blocks/img/component-info.d.ts +0 -2
  27. package/vue2/lib/browser/blocks/img/img.vue.d.ts +0 -38
  28. package/vue2/lib/browser/blocks/input/component-info.d.ts +0 -2
  29. package/vue2/lib/browser/blocks/raw-text/component-info.d.ts +0 -2
  30. package/vue2/lib/browser/blocks/section/component-info.d.ts +0 -2
  31. package/vue2/lib/browser/blocks/section/section.vue.d.ts +0 -22
  32. package/vue2/lib/browser/blocks/select/component-info.d.ts +0 -2
  33. package/vue2/lib/browser/blocks/submit-button/component-info.d.ts +0 -2
  34. package/vue2/lib/browser/blocks/symbol/component-info.d.ts +0 -2
  35. package/vue2/lib/browser/blocks/symbol/symbol.helpers.d.ts +0 -14
  36. package/vue2/lib/browser/blocks/symbol/symbol.vue.d.ts +0 -37
  37. package/vue2/lib/browser/blocks/text/component-info.d.ts +0 -2
  38. package/vue2/lib/browser/blocks/text/text.vue.d.ts +0 -11
  39. package/vue2/lib/browser/blocks/textarea/component-info.d.ts +0 -2
  40. package/vue2/lib/browser/blocks/video/component-info.d.ts +0 -2
  41. package/vue2/lib/browser/blocks/video/video.vue.d.ts +0 -64
  42. package/vue2/lib/browser/blocks-wrapper-9e8dd7a2.cjs +0 -1
  43. package/vue2/lib/browser/blocks-wrapper-fcb480f0.js +0 -72
  44. package/vue2/lib/browser/component-ref-68e3a5b6.js +0 -102
  45. package/vue2/lib/browser/component-ref-bc236051.cjs +0 -1
  46. package/vue2/lib/browser/components/block/block.helpers.d.ts +0 -13
  47. package/vue2/lib/browser/components/block/block.vue.d.ts +0 -41
  48. package/vue2/lib/browser/components/block/components/block-styles.vue.d.ts +0 -22
  49. package/vue2/lib/browser/components/block/components/block-wrapper.vue.d.ts +0 -29
  50. package/vue2/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +0 -30
  51. package/vue2/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +0 -41
  52. package/vue2/lib/browser/components/block/components/interactive-element.vue.d.ts +0 -30
  53. package/vue2/lib/browser/components/block/components/repeated-block.vue.d.ts +0 -16
  54. package/vue2/lib/browser/components/block/types.d.ts +0 -6
  55. package/vue2/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +0 -30
  56. package/vue2/lib/browser/components/blocks/blocks.vue.d.ts +0 -29
  57. package/vue2/lib/browser/components/content/components/enable-editor.vue.d.ts +0 -57
  58. package/vue2/lib/browser/components/content/components/styles.helpers.d.ts +0 -15
  59. package/vue2/lib/browser/components/content/components/styles.vue.d.ts +0 -16
  60. package/vue2/lib/browser/components/content/content.helpers.d.ts +0 -7
  61. package/vue2/lib/browser/components/content/content.types.d.ts +0 -24
  62. package/vue2/lib/browser/components/content/content.vue.d.ts +0 -26
  63. package/vue2/lib/browser/components/content/index.d.ts +0 -1
  64. package/vue2/lib/browser/components/content/wrap-component-ref.d.ts +0 -6
  65. package/vue2/lib/browser/components/content-variants/content-variants.types.d.ts +0 -20
  66. package/vue2/lib/browser/components/content-variants/content-variants.vue.d.ts +0 -50
  67. package/vue2/lib/browser/components/content-variants/helpers.d.ts +0 -18
  68. package/vue2/lib/browser/components/inlined-script.vue.d.ts +0 -11
  69. package/vue2/lib/browser/components/inlined-styles.vue.d.ts +0 -11
  70. package/vue2/lib/browser/constants/builder-registered-components.d.ts +0 -6
  71. package/vue2/lib/browser/constants/device-sizes.d.ts +0 -13
  72. package/vue2/lib/browser/constants/sdk-version.d.ts +0 -1
  73. package/vue2/lib/browser/constants/target.d.ts +0 -2
  74. package/vue2/lib/browser/content-1a8d2e10.cjs +0 -1
  75. package/vue2/lib/browser/content-76b432c4.js +0 -926
  76. package/vue2/lib/browser/context/builder.context.d.ts +0 -15
  77. package/vue2/lib/browser/context/components.context.d.ts +0 -7
  78. package/vue2/lib/browser/context/types.d.ts +0 -35
  79. package/vue2/lib/browser/css-32f0c7fe.cjs +0 -6
  80. package/vue2/lib/browser/css-d68fe0e5.js +0 -21
  81. package/vue2/lib/browser/enable-editor-29804f7c.js +0 -443
  82. package/vue2/lib/browser/enable-editor-58cd5d33.cjs +0 -1
  83. package/vue2/lib/browser/evaluate-5f291a57.cjs +0 -1
  84. package/vue2/lib/browser/evaluate-c21703b5.js +0 -86
  85. package/vue2/lib/browser/functions/apply-patch-with-mutation.d.ts +0 -10
  86. package/vue2/lib/browser/functions/camel-to-kebab-case.d.ts +0 -1
  87. package/vue2/lib/browser/functions/deopt.d.ts +0 -4
  88. package/vue2/lib/browser/functions/evaluate/browser-runtime/browser.d.ts +0 -4
  89. package/vue2/lib/browser/functions/evaluate/browser-runtime/index.d.ts +0 -1
  90. package/vue2/lib/browser/functions/evaluate/choose-eval.d.ts +0 -6
  91. package/vue2/lib/browser/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +0 -2
  92. package/vue2/lib/browser/functions/evaluate/edge-runtime/edge-runtime.d.ts +0 -2
  93. package/vue2/lib/browser/functions/evaluate/edge-runtime/index.d.ts +0 -1
  94. package/vue2/lib/browser/functions/evaluate/evaluate.d.ts +0 -2
  95. package/vue2/lib/browser/functions/evaluate/helpers.d.ts +0 -24
  96. package/vue2/lib/browser/functions/evaluate/index.d.ts +0 -1
  97. package/vue2/lib/browser/functions/evaluate/node-runtime/index.d.ts +0 -1
  98. package/vue2/lib/browser/functions/evaluate/node-runtime/node-runtime.d.ts +0 -2
  99. package/vue2/lib/browser/functions/evaluate/placeholder-runtime.d.ts +0 -2
  100. package/vue2/lib/browser/functions/event-handler-name.d.ts +0 -1
  101. package/vue2/lib/browser/functions/extract-text-styles.d.ts +0 -4
  102. package/vue2/lib/browser/functions/fast-clone.d.ts +0 -4
  103. package/vue2/lib/browser/functions/fetch-builder-props.d.ts +0 -53
  104. package/vue2/lib/browser/functions/get-block-actions-handler.d.ts +0 -8
  105. package/vue2/lib/browser/functions/get-block-actions.d.ts +0 -10
  106. package/vue2/lib/browser/functions/get-block-component-options.d.ts +0 -2
  107. package/vue2/lib/browser/functions/get-block-properties.d.ts +0 -6
  108. package/vue2/lib/browser/functions/get-builder-search-params/index.d.ts +0 -12
  109. package/vue2/lib/browser/functions/get-content/generate-content-url.d.ts +0 -2
  110. package/vue2/lib/browser/functions/get-content/index.d.ts +0 -28
  111. package/vue2/lib/browser/functions/get-content/types.d.ts +0 -142
  112. package/vue2/lib/browser/functions/get-fetch.d.ts +0 -1
  113. package/vue2/lib/browser/functions/get-processed-block.d.ts +0 -10
  114. package/vue2/lib/browser/functions/get-react-native-block-styles.d.ts +0 -7
  115. package/vue2/lib/browser/functions/is-browser.d.ts +0 -1
  116. package/vue2/lib/browser/functions/is-edge-runtime.d.ts +0 -4
  117. package/vue2/lib/browser/functions/is-editing.d.ts +0 -1
  118. package/vue2/lib/browser/functions/is-iframe.d.ts +0 -1
  119. package/vue2/lib/browser/functions/is-node-runtime.d.ts +0 -4
  120. package/vue2/lib/browser/functions/is-previewing.d.ts +0 -1
  121. package/vue2/lib/browser/functions/on-change.d.ts +0 -7
  122. package/vue2/lib/browser/functions/register-component.d.ts +0 -15
  123. package/vue2/lib/browser/functions/register.d.ts +0 -16
  124. package/vue2/lib/browser/functions/sanitize-react-native-block-styles.d.ts +0 -3
  125. package/vue2/lib/browser/functions/set-editor-settings.d.ts +0 -4
  126. package/vue2/lib/browser/functions/set.d.ts +0 -7
  127. package/vue2/lib/browser/functions/track/helpers.d.ts +0 -5
  128. package/vue2/lib/browser/functions/track/index.d.ts +0 -51
  129. package/vue2/lib/browser/functions/track/interaction.d.ts +0 -13
  130. package/vue2/lib/browser/functions/transform-block-properties.d.ts +0 -2
  131. package/vue2/lib/browser/functions/transform-block.d.ts +0 -2
  132. package/vue2/lib/browser/get-block-actions-47eb8bee.js +0 -35
  133. package/vue2/lib/browser/get-block-actions-4f4fdc14.cjs +0 -1
  134. package/vue2/lib/browser/get-block-properties-14335b2d.js +0 -48
  135. package/vue2/lib/browser/get-block-properties-4c2072d0.cjs +0 -1
  136. package/vue2/lib/browser/get-processed-block-7dbd0508.cjs +0 -1
  137. package/vue2/lib/browser/get-processed-block-9c43bb30.js +0 -58
  138. package/vue2/lib/browser/helpers/ab-tests.d.ts +0 -9
  139. package/vue2/lib/browser/helpers/canTrack.d.ts +0 -1
  140. package/vue2/lib/browser/helpers/cookie.d.ts +0 -19
  141. package/vue2/lib/browser/helpers/css.d.ts +0 -7
  142. package/vue2/lib/browser/helpers/flatten.d.ts +0 -6
  143. package/vue2/lib/browser/helpers/localStorage.d.ts +0 -9
  144. package/vue2/lib/browser/helpers/logger.d.ts +0 -6
  145. package/vue2/lib/browser/helpers/nullable.d.ts +0 -2
  146. package/vue2/lib/browser/helpers/preview-lru-cache/get.d.ts +0 -2
  147. package/vue2/lib/browser/helpers/preview-lru-cache/helpers.d.ts +0 -0
  148. package/vue2/lib/browser/helpers/preview-lru-cache/init.d.ts +0 -6
  149. package/vue2/lib/browser/helpers/preview-lru-cache/set.d.ts +0 -7
  150. package/vue2/lib/browser/helpers/preview-lru-cache/types.d.ts +0 -0
  151. package/vue2/lib/browser/helpers/sessionId.d.ts +0 -6
  152. package/vue2/lib/browser/helpers/time.d.ts +0 -1
  153. package/vue2/lib/browser/helpers/url.d.ts +0 -6
  154. package/vue2/lib/browser/helpers/uuid.d.ts +0 -8
  155. package/vue2/lib/browser/helpers/visitorId.d.ts +0 -6
  156. package/vue2/lib/browser/index-7528c088.cjs +0 -32
  157. package/vue2/lib/browser/index-bb14138e.js +0 -1441
  158. package/vue2/lib/browser/index-helpers/blocks-exports.d.ts +0 -88
  159. package/vue2/lib/browser/index-helpers/top-of-file.d.ts +0 -1
  160. package/vue2/lib/browser/index.cjs +0 -1
  161. package/vue2/lib/browser/index.d.ts +0 -7
  162. package/vue2/lib/browser/index.js +0 -29
  163. package/vue2/lib/browser/inlined-script-431b5967.js +0 -23
  164. package/vue2/lib/browser/inlined-script-cc25d25c.cjs +0 -1
  165. package/vue2/lib/browser/inlined-styles-1717d4f0.js +0 -23
  166. package/vue2/lib/browser/inlined-styles-da08b05d.cjs +0 -1
  167. package/vue2/lib/browser/interactive-element-03353733.cjs +0 -1
  168. package/vue2/lib/browser/interactive-element-ac3e10b7.js +0 -42
  169. package/vue2/lib/browser/repeated-block-51e74834.js +0 -38
  170. package/vue2/lib/browser/repeated-block-ba80a339.cjs +0 -1
  171. package/vue2/lib/browser/scripts/init-editing.d.ts +0 -6
  172. package/vue2/lib/browser/server-index.d.ts +0 -15
  173. package/vue2/lib/browser/style.css +0 -1
  174. package/vue2/lib/browser/styles-5eb21cb8.js +0 -89
  175. package/vue2/lib/browser/styles-931da5e8.cjs +0 -31
  176. package/vue2/lib/browser/types/api-version.d.ts +0 -2
  177. package/vue2/lib/browser/types/builder-block.d.ts +0 -66
  178. package/vue2/lib/browser/types/builder-content.d.ts +0 -44
  179. package/vue2/lib/browser/types/builder-props.d.ts +0 -9
  180. package/vue2/lib/browser/types/can-track.d.ts +0 -3
  181. package/vue2/lib/browser/types/components.d.ts +0 -110
  182. package/vue2/lib/browser/types/deep-partial.d.ts +0 -3
  183. package/vue2/lib/browser/types/element.d.ts +0 -59
  184. package/vue2/lib/browser/types/enforced-partials.d.ts +0 -21
  185. package/vue2/lib/browser/types/input.d.ts +0 -121
  186. package/vue2/lib/browser/types/targets.d.ts +0 -1
  187. package/vue2/lib/browser/types/typescript.d.ts +0 -11
  188. package/vue2/lib/edge/block-2c7301d0.js +0 -181
  189. package/vue2/lib/edge/block-40b0f7b5.cjs +0 -3
  190. package/vue2/lib/edge/block-styles-ba691a55.cjs +0 -1
  191. package/vue2/lib/edge/block-styles-bd09453c.js +0 -82
  192. package/vue2/lib/edge/block-wrapper-4210f268.js +0 -66
  193. package/vue2/lib/edge/block-wrapper-8e1bd00b.cjs +0 -1
  194. package/vue2/lib/edge/blocks/button/button.vue.d.ts +0 -17
  195. package/vue2/lib/edge/blocks/button/component-info.d.ts +0 -2
  196. package/vue2/lib/edge/blocks/columns/columns.vue.d.ts +0 -44
  197. package/vue2/lib/edge/blocks/columns/component-info.d.ts +0 -2
  198. package/vue2/lib/edge/blocks/custom-code/component-info.d.ts +0 -2
  199. package/vue2/lib/edge/blocks/custom-code/custom-code.vue.d.ts +0 -13
  200. package/vue2/lib/edge/blocks/embed/component-info.d.ts +0 -2
  201. package/vue2/lib/edge/blocks/embed/embed.vue.d.ts +0 -18
  202. package/vue2/lib/edge/blocks/embed/helpers.d.ts +0 -1
  203. package/vue2/lib/edge/blocks/form/component-info.d.ts +0 -2
  204. package/vue2/lib/edge/blocks/fragment/component-info.d.ts +0 -2
  205. package/vue2/lib/edge/blocks/fragment/fragment.vue.d.ts +0 -7
  206. package/vue2/lib/edge/blocks/helpers.d.ts +0 -13
  207. package/vue2/lib/edge/blocks/image/component-info.d.ts +0 -2
  208. package/vue2/lib/edge/blocks/image/image.helpers.d.ts +0 -1
  209. package/vue2/lib/edge/blocks/image/image.vue.d.ts +0 -72
  210. package/vue2/lib/edge/blocks/img/component-info.d.ts +0 -2
  211. package/vue2/lib/edge/blocks/img/img.vue.d.ts +0 -38
  212. package/vue2/lib/edge/blocks/input/component-info.d.ts +0 -2
  213. package/vue2/lib/edge/blocks/raw-text/component-info.d.ts +0 -2
  214. package/vue2/lib/edge/blocks/section/component-info.d.ts +0 -2
  215. package/vue2/lib/edge/blocks/section/section.vue.d.ts +0 -22
  216. package/vue2/lib/edge/blocks/select/component-info.d.ts +0 -2
  217. package/vue2/lib/edge/blocks/submit-button/component-info.d.ts +0 -2
  218. package/vue2/lib/edge/blocks/symbol/component-info.d.ts +0 -2
  219. package/vue2/lib/edge/blocks/symbol/symbol.helpers.d.ts +0 -14
  220. package/vue2/lib/edge/blocks/symbol/symbol.vue.d.ts +0 -37
  221. package/vue2/lib/edge/blocks/text/component-info.d.ts +0 -2
  222. package/vue2/lib/edge/blocks/text/text.vue.d.ts +0 -11
  223. package/vue2/lib/edge/blocks/textarea/component-info.d.ts +0 -2
  224. package/vue2/lib/edge/blocks/video/component-info.d.ts +0 -2
  225. package/vue2/lib/edge/blocks/video/video.vue.d.ts +0 -64
  226. package/vue2/lib/edge/blocks-wrapper-7e831b51.cjs +0 -1
  227. package/vue2/lib/edge/blocks-wrapper-9c7effa2.js +0 -72
  228. package/vue2/lib/edge/component-ref-02d30d18.cjs +0 -1
  229. package/vue2/lib/edge/component-ref-0404fc38.js +0 -102
  230. package/vue2/lib/edge/components/block/block.helpers.d.ts +0 -13
  231. package/vue2/lib/edge/components/block/block.vue.d.ts +0 -41
  232. package/vue2/lib/edge/components/block/components/block-styles.vue.d.ts +0 -22
  233. package/vue2/lib/edge/components/block/components/block-wrapper.vue.d.ts +0 -29
  234. package/vue2/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +0 -30
  235. package/vue2/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +0 -41
  236. package/vue2/lib/edge/components/block/components/interactive-element.vue.d.ts +0 -30
  237. package/vue2/lib/edge/components/block/components/repeated-block.vue.d.ts +0 -16
  238. package/vue2/lib/edge/components/block/types.d.ts +0 -6
  239. package/vue2/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +0 -30
  240. package/vue2/lib/edge/components/blocks/blocks.vue.d.ts +0 -29
  241. package/vue2/lib/edge/components/content/components/enable-editor.vue.d.ts +0 -57
  242. package/vue2/lib/edge/components/content/components/styles.helpers.d.ts +0 -15
  243. package/vue2/lib/edge/components/content/components/styles.vue.d.ts +0 -16
  244. package/vue2/lib/edge/components/content/content.helpers.d.ts +0 -7
  245. package/vue2/lib/edge/components/content/content.types.d.ts +0 -24
  246. package/vue2/lib/edge/components/content/content.vue.d.ts +0 -26
  247. package/vue2/lib/edge/components/content/index.d.ts +0 -1
  248. package/vue2/lib/edge/components/content/wrap-component-ref.d.ts +0 -6
  249. package/vue2/lib/edge/components/content-variants/content-variants.types.d.ts +0 -20
  250. package/vue2/lib/edge/components/content-variants/content-variants.vue.d.ts +0 -50
  251. package/vue2/lib/edge/components/content-variants/helpers.d.ts +0 -18
  252. package/vue2/lib/edge/components/inlined-script.vue.d.ts +0 -11
  253. package/vue2/lib/edge/components/inlined-styles.vue.d.ts +0 -11
  254. package/vue2/lib/edge/constants/builder-registered-components.d.ts +0 -6
  255. package/vue2/lib/edge/constants/device-sizes.d.ts +0 -13
  256. package/vue2/lib/edge/constants/sdk-version.d.ts +0 -1
  257. package/vue2/lib/edge/constants/target.d.ts +0 -2
  258. package/vue2/lib/edge/content-173f7be0.js +0 -926
  259. package/vue2/lib/edge/content-36b34b86.cjs +0 -1
  260. package/vue2/lib/edge/context/builder.context.d.ts +0 -15
  261. package/vue2/lib/edge/context/components.context.d.ts +0 -7
  262. package/vue2/lib/edge/context/types.d.ts +0 -35
  263. package/vue2/lib/edge/css-00393f8a.cjs +0 -6
  264. package/vue2/lib/edge/css-081095c1.js +0 -21
  265. package/vue2/lib/edge/enable-editor-c36df3b5.cjs +0 -1
  266. package/vue2/lib/edge/enable-editor-d3f018c6.js +0 -443
  267. package/vue2/lib/edge/evaluate-47aeba42.cjs +0 -21
  268. package/vue2/lib/edge/evaluate-d31c253f.js +0 -2565
  269. package/vue2/lib/edge/functions/apply-patch-with-mutation.d.ts +0 -10
  270. package/vue2/lib/edge/functions/camel-to-kebab-case.d.ts +0 -1
  271. package/vue2/lib/edge/functions/deopt.d.ts +0 -4
  272. package/vue2/lib/edge/functions/evaluate/browser-runtime/browser.d.ts +0 -4
  273. package/vue2/lib/edge/functions/evaluate/browser-runtime/index.d.ts +0 -1
  274. package/vue2/lib/edge/functions/evaluate/choose-eval.d.ts +0 -6
  275. package/vue2/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +0 -2
  276. package/vue2/lib/edge/functions/evaluate/edge-runtime/edge-runtime.d.ts +0 -2
  277. package/vue2/lib/edge/functions/evaluate/edge-runtime/index.d.ts +0 -1
  278. package/vue2/lib/edge/functions/evaluate/evaluate.d.ts +0 -2
  279. package/vue2/lib/edge/functions/evaluate/helpers.d.ts +0 -24
  280. package/vue2/lib/edge/functions/evaluate/index.d.ts +0 -1
  281. package/vue2/lib/edge/functions/evaluate/node-runtime/index.d.ts +0 -1
  282. package/vue2/lib/edge/functions/evaluate/node-runtime/node-runtime.d.ts +0 -2
  283. package/vue2/lib/edge/functions/evaluate/placeholder-runtime.d.ts +0 -2
  284. package/vue2/lib/edge/functions/event-handler-name.d.ts +0 -1
  285. package/vue2/lib/edge/functions/extract-text-styles.d.ts +0 -4
  286. package/vue2/lib/edge/functions/fast-clone.d.ts +0 -4
  287. package/vue2/lib/edge/functions/fetch-builder-props.d.ts +0 -53
  288. package/vue2/lib/edge/functions/get-block-actions-handler.d.ts +0 -8
  289. package/vue2/lib/edge/functions/get-block-actions.d.ts +0 -10
  290. package/vue2/lib/edge/functions/get-block-component-options.d.ts +0 -2
  291. package/vue2/lib/edge/functions/get-block-properties.d.ts +0 -6
  292. package/vue2/lib/edge/functions/get-builder-search-params/index.d.ts +0 -12
  293. package/vue2/lib/edge/functions/get-content/generate-content-url.d.ts +0 -2
  294. package/vue2/lib/edge/functions/get-content/index.d.ts +0 -28
  295. package/vue2/lib/edge/functions/get-content/types.d.ts +0 -142
  296. package/vue2/lib/edge/functions/get-fetch.d.ts +0 -1
  297. package/vue2/lib/edge/functions/get-processed-block.d.ts +0 -10
  298. package/vue2/lib/edge/functions/get-react-native-block-styles.d.ts +0 -7
  299. package/vue2/lib/edge/functions/is-browser.d.ts +0 -1
  300. package/vue2/lib/edge/functions/is-edge-runtime.d.ts +0 -4
  301. package/vue2/lib/edge/functions/is-editing.d.ts +0 -1
  302. package/vue2/lib/edge/functions/is-iframe.d.ts +0 -1
  303. package/vue2/lib/edge/functions/is-node-runtime.d.ts +0 -4
  304. package/vue2/lib/edge/functions/is-previewing.d.ts +0 -1
  305. package/vue2/lib/edge/functions/on-change.d.ts +0 -7
  306. package/vue2/lib/edge/functions/register-component.d.ts +0 -15
  307. package/vue2/lib/edge/functions/register.d.ts +0 -16
  308. package/vue2/lib/edge/functions/sanitize-react-native-block-styles.d.ts +0 -3
  309. package/vue2/lib/edge/functions/set-editor-settings.d.ts +0 -4
  310. package/vue2/lib/edge/functions/set.d.ts +0 -7
  311. package/vue2/lib/edge/functions/track/helpers.d.ts +0 -5
  312. package/vue2/lib/edge/functions/track/index.d.ts +0 -51
  313. package/vue2/lib/edge/functions/track/interaction.d.ts +0 -13
  314. package/vue2/lib/edge/functions/transform-block-properties.d.ts +0 -2
  315. package/vue2/lib/edge/functions/transform-block.d.ts +0 -2
  316. package/vue2/lib/edge/get-block-actions-33002e58.js +0 -35
  317. package/vue2/lib/edge/get-block-actions-fc18e691.cjs +0 -1
  318. package/vue2/lib/edge/get-block-properties-c1a43e4b.cjs +0 -1
  319. package/vue2/lib/edge/get-block-properties-d0176121.js +0 -48
  320. package/vue2/lib/edge/get-processed-block-1280c9d5.js +0 -52
  321. package/vue2/lib/edge/get-processed-block-2d9f33f5.cjs +0 -1
  322. package/vue2/lib/edge/helpers/ab-tests.d.ts +0 -9
  323. package/vue2/lib/edge/helpers/canTrack.d.ts +0 -1
  324. package/vue2/lib/edge/helpers/cookie.d.ts +0 -19
  325. package/vue2/lib/edge/helpers/css.d.ts +0 -7
  326. package/vue2/lib/edge/helpers/flatten.d.ts +0 -6
  327. package/vue2/lib/edge/helpers/localStorage.d.ts +0 -9
  328. package/vue2/lib/edge/helpers/logger.d.ts +0 -6
  329. package/vue2/lib/edge/helpers/nullable.d.ts +0 -2
  330. package/vue2/lib/edge/helpers/preview-lru-cache/get.d.ts +0 -2
  331. package/vue2/lib/edge/helpers/preview-lru-cache/helpers.d.ts +0 -0
  332. package/vue2/lib/edge/helpers/preview-lru-cache/init.d.ts +0 -6
  333. package/vue2/lib/edge/helpers/preview-lru-cache/set.d.ts +0 -7
  334. package/vue2/lib/edge/helpers/preview-lru-cache/types.d.ts +0 -0
  335. package/vue2/lib/edge/helpers/sessionId.d.ts +0 -6
  336. package/vue2/lib/edge/helpers/time.d.ts +0 -1
  337. package/vue2/lib/edge/helpers/url.d.ts +0 -6
  338. package/vue2/lib/edge/helpers/uuid.d.ts +0 -8
  339. package/vue2/lib/edge/helpers/visitorId.d.ts +0 -6
  340. package/vue2/lib/edge/index-6e4d121e.js +0 -1441
  341. package/vue2/lib/edge/index-ca5baf07.cjs +0 -32
  342. package/vue2/lib/edge/index-helpers/blocks-exports.d.ts +0 -88
  343. package/vue2/lib/edge/index-helpers/top-of-file.d.ts +0 -1
  344. package/vue2/lib/edge/index.cjs +0 -1
  345. package/vue2/lib/edge/index.d.ts +0 -7
  346. package/vue2/lib/edge/index.js +0 -29
  347. package/vue2/lib/edge/inlined-script-7a7207fd.js +0 -23
  348. package/vue2/lib/edge/inlined-script-e57329a5.cjs +0 -1
  349. package/vue2/lib/edge/inlined-styles-9a96b77e.cjs +0 -1
  350. package/vue2/lib/edge/inlined-styles-f109793f.js +0 -23
  351. package/vue2/lib/edge/interactive-element-6a866621.js +0 -42
  352. package/vue2/lib/edge/interactive-element-9c12c501.cjs +0 -1
  353. package/vue2/lib/edge/repeated-block-1093b757.cjs +0 -1
  354. package/vue2/lib/edge/repeated-block-f7b967cf.js +0 -38
  355. package/vue2/lib/edge/scripts/init-editing.d.ts +0 -6
  356. package/vue2/lib/edge/server-index.d.ts +0 -15
  357. package/vue2/lib/edge/style.css +0 -1
  358. package/vue2/lib/edge/styles-a211b4e1.cjs +0 -31
  359. package/vue2/lib/edge/styles-aa2c087b.js +0 -89
  360. package/vue2/lib/edge/types/api-version.d.ts +0 -2
  361. package/vue2/lib/edge/types/builder-block.d.ts +0 -66
  362. package/vue2/lib/edge/types/builder-content.d.ts +0 -44
  363. package/vue2/lib/edge/types/builder-props.d.ts +0 -9
  364. package/vue2/lib/edge/types/can-track.d.ts +0 -3
  365. package/vue2/lib/edge/types/components.d.ts +0 -110
  366. package/vue2/lib/edge/types/deep-partial.d.ts +0 -3
  367. package/vue2/lib/edge/types/element.d.ts +0 -59
  368. package/vue2/lib/edge/types/enforced-partials.d.ts +0 -21
  369. package/vue2/lib/edge/types/input.d.ts +0 -121
  370. package/vue2/lib/edge/types/targets.d.ts +0 -1
  371. package/vue2/lib/edge/types/typescript.d.ts +0 -11
  372. package/vue2/lib/node/block-979d66e1.js +0 -181
  373. package/vue2/lib/node/block-d7e689a7.cjs +0 -3
  374. package/vue2/lib/node/block-styles-00a3a4d7.cjs +0 -1
  375. package/vue2/lib/node/block-styles-50528f05.js +0 -82
  376. package/vue2/lib/node/block-wrapper-8bd5d40b.js +0 -66
  377. package/vue2/lib/node/block-wrapper-d7b449f1.cjs +0 -1
  378. package/vue2/lib/node/blocks/button/button.vue.d.ts +0 -17
  379. package/vue2/lib/node/blocks/button/component-info.d.ts +0 -2
  380. package/vue2/lib/node/blocks/columns/columns.vue.d.ts +0 -44
  381. package/vue2/lib/node/blocks/columns/component-info.d.ts +0 -2
  382. package/vue2/lib/node/blocks/custom-code/component-info.d.ts +0 -2
  383. package/vue2/lib/node/blocks/custom-code/custom-code.vue.d.ts +0 -13
  384. package/vue2/lib/node/blocks/embed/component-info.d.ts +0 -2
  385. package/vue2/lib/node/blocks/embed/embed.vue.d.ts +0 -18
  386. package/vue2/lib/node/blocks/embed/helpers.d.ts +0 -1
  387. package/vue2/lib/node/blocks/form/component-info.d.ts +0 -2
  388. package/vue2/lib/node/blocks/fragment/component-info.d.ts +0 -2
  389. package/vue2/lib/node/blocks/fragment/fragment.vue.d.ts +0 -7
  390. package/vue2/lib/node/blocks/helpers.d.ts +0 -13
  391. package/vue2/lib/node/blocks/image/component-info.d.ts +0 -2
  392. package/vue2/lib/node/blocks/image/image.helpers.d.ts +0 -1
  393. package/vue2/lib/node/blocks/image/image.vue.d.ts +0 -72
  394. package/vue2/lib/node/blocks/img/component-info.d.ts +0 -2
  395. package/vue2/lib/node/blocks/img/img.vue.d.ts +0 -38
  396. package/vue2/lib/node/blocks/input/component-info.d.ts +0 -2
  397. package/vue2/lib/node/blocks/raw-text/component-info.d.ts +0 -2
  398. package/vue2/lib/node/blocks/section/component-info.d.ts +0 -2
  399. package/vue2/lib/node/blocks/section/section.vue.d.ts +0 -22
  400. package/vue2/lib/node/blocks/select/component-info.d.ts +0 -2
  401. package/vue2/lib/node/blocks/submit-button/component-info.d.ts +0 -2
  402. package/vue2/lib/node/blocks/symbol/component-info.d.ts +0 -2
  403. package/vue2/lib/node/blocks/symbol/symbol.helpers.d.ts +0 -14
  404. package/vue2/lib/node/blocks/symbol/symbol.vue.d.ts +0 -37
  405. package/vue2/lib/node/blocks/text/component-info.d.ts +0 -2
  406. package/vue2/lib/node/blocks/text/text.vue.d.ts +0 -11
  407. package/vue2/lib/node/blocks/textarea/component-info.d.ts +0 -2
  408. package/vue2/lib/node/blocks/video/component-info.d.ts +0 -2
  409. package/vue2/lib/node/blocks/video/video.vue.d.ts +0 -64
  410. package/vue2/lib/node/blocks-wrapper-50937fc2.js +0 -72
  411. package/vue2/lib/node/blocks-wrapper-d425bec5.cjs +0 -1
  412. package/vue2/lib/node/component-ref-123ffd3c.js +0 -102
  413. package/vue2/lib/node/component-ref-3ba26510.cjs +0 -1
  414. package/vue2/lib/node/components/block/block.helpers.d.ts +0 -13
  415. package/vue2/lib/node/components/block/block.vue.d.ts +0 -41
  416. package/vue2/lib/node/components/block/components/block-styles.vue.d.ts +0 -22
  417. package/vue2/lib/node/components/block/components/block-wrapper.vue.d.ts +0 -29
  418. package/vue2/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +0 -30
  419. package/vue2/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +0 -41
  420. package/vue2/lib/node/components/block/components/interactive-element.vue.d.ts +0 -30
  421. package/vue2/lib/node/components/block/components/repeated-block.vue.d.ts +0 -16
  422. package/vue2/lib/node/components/block/types.d.ts +0 -6
  423. package/vue2/lib/node/components/blocks/blocks-wrapper.vue.d.ts +0 -30
  424. package/vue2/lib/node/components/blocks/blocks.vue.d.ts +0 -29
  425. package/vue2/lib/node/components/content/components/enable-editor.vue.d.ts +0 -57
  426. package/vue2/lib/node/components/content/components/styles.helpers.d.ts +0 -15
  427. package/vue2/lib/node/components/content/components/styles.vue.d.ts +0 -16
  428. package/vue2/lib/node/components/content/content.helpers.d.ts +0 -7
  429. package/vue2/lib/node/components/content/content.types.d.ts +0 -24
  430. package/vue2/lib/node/components/content/content.vue.d.ts +0 -26
  431. package/vue2/lib/node/components/content/index.d.ts +0 -1
  432. package/vue2/lib/node/components/content/wrap-component-ref.d.ts +0 -6
  433. package/vue2/lib/node/components/content-variants/content-variants.types.d.ts +0 -20
  434. package/vue2/lib/node/components/content-variants/content-variants.vue.d.ts +0 -50
  435. package/vue2/lib/node/components/content-variants/helpers.d.ts +0 -18
  436. package/vue2/lib/node/components/inlined-script.vue.d.ts +0 -11
  437. package/vue2/lib/node/components/inlined-styles.vue.d.ts +0 -11
  438. package/vue2/lib/node/constants/builder-registered-components.d.ts +0 -6
  439. package/vue2/lib/node/constants/device-sizes.d.ts +0 -13
  440. package/vue2/lib/node/constants/sdk-version.d.ts +0 -1
  441. package/vue2/lib/node/constants/target.d.ts +0 -2
  442. package/vue2/lib/node/content-d31377e7.js +0 -926
  443. package/vue2/lib/node/content-d8e76f5c.cjs +0 -1
  444. package/vue2/lib/node/context/builder.context.d.ts +0 -15
  445. package/vue2/lib/node/context/components.context.d.ts +0 -7
  446. package/vue2/lib/node/context/types.d.ts +0 -35
  447. package/vue2/lib/node/css-469bd1df.js +0 -21
  448. package/vue2/lib/node/css-c566c7a4.cjs +0 -6
  449. package/vue2/lib/node/enable-editor-8c4e460a.cjs +0 -1
  450. package/vue2/lib/node/enable-editor-96dbd852.js +0 -443
  451. package/vue2/lib/node/evaluate-45bac138.cjs +0 -41
  452. package/vue2/lib/node/evaluate-946bbbf4.js +0 -187
  453. package/vue2/lib/node/functions/apply-patch-with-mutation.d.ts +0 -10
  454. package/vue2/lib/node/functions/camel-to-kebab-case.d.ts +0 -1
  455. package/vue2/lib/node/functions/deopt.d.ts +0 -4
  456. package/vue2/lib/node/functions/evaluate/browser-runtime/browser.d.ts +0 -4
  457. package/vue2/lib/node/functions/evaluate/browser-runtime/index.d.ts +0 -1
  458. package/vue2/lib/node/functions/evaluate/choose-eval.d.ts +0 -6
  459. package/vue2/lib/node/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +0 -2
  460. package/vue2/lib/node/functions/evaluate/edge-runtime/edge-runtime.d.ts +0 -2
  461. package/vue2/lib/node/functions/evaluate/edge-runtime/index.d.ts +0 -1
  462. package/vue2/lib/node/functions/evaluate/evaluate.d.ts +0 -2
  463. package/vue2/lib/node/functions/evaluate/helpers.d.ts +0 -24
  464. package/vue2/lib/node/functions/evaluate/index.d.ts +0 -1
  465. package/vue2/lib/node/functions/evaluate/node-runtime/index.d.ts +0 -1
  466. package/vue2/lib/node/functions/evaluate/node-runtime/node-runtime.d.ts +0 -2
  467. package/vue2/lib/node/functions/evaluate/placeholder-runtime.d.ts +0 -2
  468. package/vue2/lib/node/functions/event-handler-name.d.ts +0 -1
  469. package/vue2/lib/node/functions/extract-text-styles.d.ts +0 -4
  470. package/vue2/lib/node/functions/fast-clone.d.ts +0 -4
  471. package/vue2/lib/node/functions/fetch-builder-props.d.ts +0 -53
  472. package/vue2/lib/node/functions/get-block-actions-handler.d.ts +0 -8
  473. package/vue2/lib/node/functions/get-block-actions.d.ts +0 -10
  474. package/vue2/lib/node/functions/get-block-component-options.d.ts +0 -2
  475. package/vue2/lib/node/functions/get-block-properties.d.ts +0 -6
  476. package/vue2/lib/node/functions/get-builder-search-params/index.d.ts +0 -12
  477. package/vue2/lib/node/functions/get-content/generate-content-url.d.ts +0 -2
  478. package/vue2/lib/node/functions/get-content/index.d.ts +0 -28
  479. package/vue2/lib/node/functions/get-content/types.d.ts +0 -142
  480. package/vue2/lib/node/functions/get-fetch.d.ts +0 -1
  481. package/vue2/lib/node/functions/get-processed-block.d.ts +0 -10
  482. package/vue2/lib/node/functions/get-react-native-block-styles.d.ts +0 -7
  483. package/vue2/lib/node/functions/is-browser.d.ts +0 -1
  484. package/vue2/lib/node/functions/is-edge-runtime.d.ts +0 -4
  485. package/vue2/lib/node/functions/is-editing.d.ts +0 -1
  486. package/vue2/lib/node/functions/is-iframe.d.ts +0 -1
  487. package/vue2/lib/node/functions/is-node-runtime.d.ts +0 -4
  488. package/vue2/lib/node/functions/is-previewing.d.ts +0 -1
  489. package/vue2/lib/node/functions/on-change.d.ts +0 -7
  490. package/vue2/lib/node/functions/register-component.d.ts +0 -15
  491. package/vue2/lib/node/functions/register.d.ts +0 -16
  492. package/vue2/lib/node/functions/sanitize-react-native-block-styles.d.ts +0 -3
  493. package/vue2/lib/node/functions/set-editor-settings.d.ts +0 -4
  494. package/vue2/lib/node/functions/set.d.ts +0 -7
  495. package/vue2/lib/node/functions/track/helpers.d.ts +0 -5
  496. package/vue2/lib/node/functions/track/index.d.ts +0 -51
  497. package/vue2/lib/node/functions/track/interaction.d.ts +0 -13
  498. package/vue2/lib/node/functions/transform-block-properties.d.ts +0 -2
  499. package/vue2/lib/node/functions/transform-block.d.ts +0 -2
  500. package/vue2/lib/node/get-block-actions-a7c25deb.js +0 -35
  501. package/vue2/lib/node/get-block-actions-fa0f60c5.cjs +0 -1
  502. package/vue2/lib/node/get-block-properties-5524be2a.js +0 -48
  503. package/vue2/lib/node/get-block-properties-75f3f91a.cjs +0 -1
  504. package/vue2/lib/node/get-processed-block-231c050b.js +0 -52
  505. package/vue2/lib/node/get-processed-block-e246d1ed.cjs +0 -1
  506. package/vue2/lib/node/helpers/ab-tests.d.ts +0 -9
  507. package/vue2/lib/node/helpers/canTrack.d.ts +0 -1
  508. package/vue2/lib/node/helpers/cookie.d.ts +0 -19
  509. package/vue2/lib/node/helpers/css.d.ts +0 -7
  510. package/vue2/lib/node/helpers/flatten.d.ts +0 -6
  511. package/vue2/lib/node/helpers/localStorage.d.ts +0 -9
  512. package/vue2/lib/node/helpers/logger.d.ts +0 -6
  513. package/vue2/lib/node/helpers/nullable.d.ts +0 -2
  514. package/vue2/lib/node/helpers/preview-lru-cache/get.d.ts +0 -2
  515. package/vue2/lib/node/helpers/preview-lru-cache/helpers.d.ts +0 -0
  516. package/vue2/lib/node/helpers/preview-lru-cache/init.d.ts +0 -6
  517. package/vue2/lib/node/helpers/preview-lru-cache/set.d.ts +0 -7
  518. package/vue2/lib/node/helpers/preview-lru-cache/types.d.ts +0 -0
  519. package/vue2/lib/node/helpers/sessionId.d.ts +0 -6
  520. package/vue2/lib/node/helpers/time.d.ts +0 -1
  521. package/vue2/lib/node/helpers/url.d.ts +0 -6
  522. package/vue2/lib/node/helpers/uuid.d.ts +0 -8
  523. package/vue2/lib/node/helpers/visitorId.d.ts +0 -6
  524. package/vue2/lib/node/index-7ce12494.js +0 -1441
  525. package/vue2/lib/node/index-ea4df31a.cjs +0 -32
  526. package/vue2/lib/node/index-helpers/blocks-exports.d.ts +0 -88
  527. package/vue2/lib/node/index-helpers/top-of-file.d.ts +0 -1
  528. package/vue2/lib/node/index.cjs +0 -1
  529. package/vue2/lib/node/index.d.ts +0 -7
  530. package/vue2/lib/node/index.js +0 -29
  531. package/vue2/lib/node/inlined-script-073d04d2.js +0 -23
  532. package/vue2/lib/node/inlined-script-dccfb7fc.cjs +0 -1
  533. package/vue2/lib/node/inlined-styles-08dbb945.cjs +0 -1
  534. package/vue2/lib/node/inlined-styles-8982c8a6.js +0 -23
  535. package/vue2/lib/node/interactive-element-caabd2d9.js +0 -42
  536. package/vue2/lib/node/interactive-element-fc5a4f1d.cjs +0 -1
  537. package/vue2/lib/node/repeated-block-0ab8e6be.js +0 -38
  538. package/vue2/lib/node/repeated-block-f65d29a5.cjs +0 -1
  539. package/vue2/lib/node/scripts/init-editing.d.ts +0 -6
  540. package/vue2/lib/node/server-index.d.ts +0 -15
  541. package/vue2/lib/node/style.css +0 -1
  542. package/vue2/lib/node/styles-6e09a0cc.js +0 -89
  543. package/vue2/lib/node/styles-96606872.cjs +0 -31
  544. package/vue2/lib/node/types/api-version.d.ts +0 -2
  545. package/vue2/lib/node/types/builder-block.d.ts +0 -66
  546. package/vue2/lib/node/types/builder-content.d.ts +0 -44
  547. package/vue2/lib/node/types/builder-props.d.ts +0 -9
  548. package/vue2/lib/node/types/can-track.d.ts +0 -3
  549. package/vue2/lib/node/types/components.d.ts +0 -110
  550. package/vue2/lib/node/types/deep-partial.d.ts +0 -3
  551. package/vue2/lib/node/types/element.d.ts +0 -59
  552. package/vue2/lib/node/types/enforced-partials.d.ts +0 -21
  553. package/vue2/lib/node/types/input.d.ts +0 -121
  554. package/vue2/lib/node/types/targets.d.ts +0 -1
  555. package/vue2/lib/node/types/typescript.d.ts +0 -11
  556. package/vue3/lib/browser/block-wrapper.09b54dd3.js +0 -54
  557. package/vue3/lib/browser/block-wrapper.49af98a6.cjs +0 -1
  558. package/vue3/lib/browser/blocks/button/button.vue.d.ts +0 -30
  559. package/vue3/lib/browser/blocks/button/component-info.d.ts +0 -2
  560. package/vue3/lib/browser/blocks/columns/columns.vue.d.ts +0 -69
  561. package/vue3/lib/browser/blocks/columns/component-info.d.ts +0 -2
  562. package/vue3/lib/browser/blocks/custom-code/component-info.d.ts +0 -2
  563. package/vue3/lib/browser/blocks/custom-code/custom-code.vue.d.ts +0 -20
  564. package/vue3/lib/browser/blocks/embed/component-info.d.ts +0 -2
  565. package/vue3/lib/browser/blocks/embed/embed.vue.d.ts +0 -22
  566. package/vue3/lib/browser/blocks/embed/helpers.d.ts +0 -1
  567. package/vue3/lib/browser/blocks/form/component-info.d.ts +0 -2
  568. package/vue3/lib/browser/blocks/fragment/component-info.d.ts +0 -2
  569. package/vue3/lib/browser/blocks/fragment/fragment.vue.d.ts +0 -7
  570. package/vue3/lib/browser/blocks/helpers.d.ts +0 -13
  571. package/vue3/lib/browser/blocks/image/component-info.d.ts +0 -2
  572. package/vue3/lib/browser/blocks/image/image.helpers.d.ts +0 -1
  573. package/vue3/lib/browser/blocks/image/image.vue.d.ts +0 -72
  574. package/vue3/lib/browser/blocks/img/component-info.d.ts +0 -2
  575. package/vue3/lib/browser/blocks/img/img.vue.d.ts +0 -38
  576. package/vue3/lib/browser/blocks/input/component-info.d.ts +0 -2
  577. package/vue3/lib/browser/blocks/raw-text/component-info.d.ts +0 -2
  578. package/vue3/lib/browser/blocks/section/component-info.d.ts +0 -2
  579. package/vue3/lib/browser/blocks/section/section.vue.d.ts +0 -22
  580. package/vue3/lib/browser/blocks/select/component-info.d.ts +0 -2
  581. package/vue3/lib/browser/blocks/submit-button/component-info.d.ts +0 -2
  582. package/vue3/lib/browser/blocks/symbol/component-info.d.ts +0 -2
  583. package/vue3/lib/browser/blocks/symbol/symbol.helpers.d.ts +0 -14
  584. package/vue3/lib/browser/blocks/symbol/symbol.vue.d.ts +0 -56
  585. package/vue3/lib/browser/blocks/text/component-info.d.ts +0 -2
  586. package/vue3/lib/browser/blocks/text/text.vue.d.ts +0 -11
  587. package/vue3/lib/browser/blocks/textarea/component-info.d.ts +0 -2
  588. package/vue3/lib/browser/blocks/video/component-info.d.ts +0 -2
  589. package/vue3/lib/browser/blocks/video/video.vue.d.ts +0 -64
  590. package/vue3/lib/browser/component-ref.63194b25.js +0 -111
  591. package/vue3/lib/browser/component-ref.78f795cd.cjs +0 -1
  592. package/vue3/lib/browser/components/block/block.helpers.d.ts +0 -13
  593. package/vue3/lib/browser/components/block/block.vue.d.ts +0 -41
  594. package/vue3/lib/browser/components/block/components/block-styles.vue.d.ts +0 -22
  595. package/vue3/lib/browser/components/block/components/block-wrapper.vue.d.ts +0 -29
  596. package/vue3/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +0 -30
  597. package/vue3/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +0 -41
  598. package/vue3/lib/browser/components/block/components/interactive-element.vue.d.ts +0 -30
  599. package/vue3/lib/browser/components/block/components/repeated-block.vue.d.ts +0 -16
  600. package/vue3/lib/browser/components/block/types.d.ts +0 -6
  601. package/vue3/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +0 -30
  602. package/vue3/lib/browser/components/blocks/blocks.vue.d.ts +0 -29
  603. package/vue3/lib/browser/components/content/components/enable-editor.vue.d.ts +0 -91
  604. package/vue3/lib/browser/components/content/components/styles.helpers.d.ts +0 -15
  605. package/vue3/lib/browser/components/content/components/styles.vue.d.ts +0 -16
  606. package/vue3/lib/browser/components/content/content.helpers.d.ts +0 -7
  607. package/vue3/lib/browser/components/content/content.types.d.ts +0 -24
  608. package/vue3/lib/browser/components/content/content.vue.d.ts +0 -69
  609. package/vue3/lib/browser/components/content/index.d.ts +0 -1
  610. package/vue3/lib/browser/components/content/wrap-component-ref.d.ts +0 -6
  611. package/vue3/lib/browser/components/content-variants/content-variants.types.d.ts +0 -20
  612. package/vue3/lib/browser/components/content-variants/content-variants.vue.d.ts +0 -73
  613. package/vue3/lib/browser/components/content-variants/helpers.d.ts +0 -41
  614. package/vue3/lib/browser/components/inlined-script.vue.d.ts +0 -11
  615. package/vue3/lib/browser/components/inlined-styles.vue.d.ts +0 -11
  616. package/vue3/lib/browser/constants/builder-registered-components.d.ts +0 -6
  617. package/vue3/lib/browser/constants/device-sizes.d.ts +0 -13
  618. package/vue3/lib/browser/constants/sdk-version.d.ts +0 -1
  619. package/vue3/lib/browser/constants/target.d.ts +0 -2
  620. package/vue3/lib/browser/context/builder.context.d.ts +0 -15
  621. package/vue3/lib/browser/context/components.context.d.ts +0 -7
  622. package/vue3/lib/browser/context/types.d.ts +0 -35
  623. package/vue3/lib/browser/functions/apply-patch-with-mutation.d.ts +0 -10
  624. package/vue3/lib/browser/functions/camel-to-kebab-case.d.ts +0 -1
  625. package/vue3/lib/browser/functions/deopt.d.ts +0 -4
  626. package/vue3/lib/browser/functions/evaluate/browser-runtime/browser.d.ts +0 -4
  627. package/vue3/lib/browser/functions/evaluate/browser-runtime/index.d.ts +0 -1
  628. package/vue3/lib/browser/functions/evaluate/choose-eval.d.ts +0 -6
  629. package/vue3/lib/browser/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +0 -2
  630. package/vue3/lib/browser/functions/evaluate/edge-runtime/edge-runtime.d.ts +0 -2
  631. package/vue3/lib/browser/functions/evaluate/edge-runtime/index.d.ts +0 -1
  632. package/vue3/lib/browser/functions/evaluate/evaluate.d.ts +0 -2
  633. package/vue3/lib/browser/functions/evaluate/helpers.d.ts +0 -24
  634. package/vue3/lib/browser/functions/evaluate/index.d.ts +0 -1
  635. package/vue3/lib/browser/functions/evaluate/node-runtime/index.d.ts +0 -1
  636. package/vue3/lib/browser/functions/evaluate/node-runtime/node-runtime.d.ts +0 -2
  637. package/vue3/lib/browser/functions/evaluate/placeholder-runtime.d.ts +0 -2
  638. package/vue3/lib/browser/functions/event-handler-name.d.ts +0 -1
  639. package/vue3/lib/browser/functions/extract-text-styles.d.ts +0 -4
  640. package/vue3/lib/browser/functions/fast-clone.d.ts +0 -4
  641. package/vue3/lib/browser/functions/fetch-builder-props.d.ts +0 -53
  642. package/vue3/lib/browser/functions/get-block-actions-handler.d.ts +0 -8
  643. package/vue3/lib/browser/functions/get-block-actions.d.ts +0 -10
  644. package/vue3/lib/browser/functions/get-block-component-options.d.ts +0 -2
  645. package/vue3/lib/browser/functions/get-block-properties.d.ts +0 -6
  646. package/vue3/lib/browser/functions/get-builder-search-params/index.d.ts +0 -12
  647. package/vue3/lib/browser/functions/get-content/generate-content-url.d.ts +0 -2
  648. package/vue3/lib/browser/functions/get-content/index.d.ts +0 -28
  649. package/vue3/lib/browser/functions/get-content/types.d.ts +0 -142
  650. package/vue3/lib/browser/functions/get-fetch.d.ts +0 -1
  651. package/vue3/lib/browser/functions/get-processed-block.d.ts +0 -10
  652. package/vue3/lib/browser/functions/get-react-native-block-styles.d.ts +0 -7
  653. package/vue3/lib/browser/functions/is-browser.d.ts +0 -1
  654. package/vue3/lib/browser/functions/is-edge-runtime.d.ts +0 -4
  655. package/vue3/lib/browser/functions/is-editing.d.ts +0 -1
  656. package/vue3/lib/browser/functions/is-iframe.d.ts +0 -1
  657. package/vue3/lib/browser/functions/is-node-runtime.d.ts +0 -4
  658. package/vue3/lib/browser/functions/is-previewing.d.ts +0 -1
  659. package/vue3/lib/browser/functions/on-change.d.ts +0 -7
  660. package/vue3/lib/browser/functions/register-component.d.ts +0 -15
  661. package/vue3/lib/browser/functions/register.d.ts +0 -16
  662. package/vue3/lib/browser/functions/sanitize-react-native-block-styles.d.ts +0 -3
  663. package/vue3/lib/browser/functions/set-editor-settings.d.ts +0 -4
  664. package/vue3/lib/browser/functions/set.d.ts +0 -7
  665. package/vue3/lib/browser/functions/track/helpers.d.ts +0 -5
  666. package/vue3/lib/browser/functions/track/index.d.ts +0 -51
  667. package/vue3/lib/browser/functions/track/interaction.d.ts +0 -13
  668. package/vue3/lib/browser/functions/transform-block-properties.d.ts +0 -2
  669. package/vue3/lib/browser/functions/transform-block.d.ts +0 -2
  670. package/vue3/lib/browser/get-block-actions.2e99e179.cjs +0 -1
  671. package/vue3/lib/browser/get-block-actions.4f330889.js +0 -79
  672. package/vue3/lib/browser/helpers/ab-tests.d.ts +0 -9
  673. package/vue3/lib/browser/helpers/canTrack.d.ts +0 -1
  674. package/vue3/lib/browser/helpers/cookie.d.ts +0 -19
  675. package/vue3/lib/browser/helpers/css.d.ts +0 -7
  676. package/vue3/lib/browser/helpers/flatten.d.ts +0 -6
  677. package/vue3/lib/browser/helpers/localStorage.d.ts +0 -9
  678. package/vue3/lib/browser/helpers/logger.d.ts +0 -6
  679. package/vue3/lib/browser/helpers/nullable.d.ts +0 -2
  680. package/vue3/lib/browser/helpers/preview-lru-cache/get.d.ts +0 -2
  681. package/vue3/lib/browser/helpers/preview-lru-cache/helpers.d.ts +0 -0
  682. package/vue3/lib/browser/helpers/preview-lru-cache/init.d.ts +0 -6
  683. package/vue3/lib/browser/helpers/preview-lru-cache/set.d.ts +0 -7
  684. package/vue3/lib/browser/helpers/preview-lru-cache/types.d.ts +0 -0
  685. package/vue3/lib/browser/helpers/sessionId.d.ts +0 -6
  686. package/vue3/lib/browser/helpers/time.d.ts +0 -1
  687. package/vue3/lib/browser/helpers/url.d.ts +0 -6
  688. package/vue3/lib/browser/helpers/uuid.d.ts +0 -8
  689. package/vue3/lib/browser/helpers/visitorId.d.ts +0 -6
  690. package/vue3/lib/browser/index-helpers/blocks-exports.d.ts +0 -111
  691. package/vue3/lib/browser/index-helpers/top-of-file.d.ts +0 -1
  692. package/vue3/lib/browser/index.88b433c6.js +0 -3281
  693. package/vue3/lib/browser/index.c04232f6.cjs +0 -69
  694. package/vue3/lib/browser/index.cjs +0 -1
  695. package/vue3/lib/browser/index.d.ts +0 -7
  696. package/vue3/lib/browser/index.js +0 -29
  697. package/vue3/lib/browser/repeated-block.067ee555.js +0 -33
  698. package/vue3/lib/browser/repeated-block.ef8176d8.cjs +0 -1
  699. package/vue3/lib/browser/scripts/init-editing.d.ts +0 -6
  700. package/vue3/lib/browser/server-index.d.ts +0 -15
  701. package/vue3/lib/browser/style.css +0 -1
  702. package/vue3/lib/browser/types/api-version.d.ts +0 -2
  703. package/vue3/lib/browser/types/builder-block.d.ts +0 -66
  704. package/vue3/lib/browser/types/builder-content.d.ts +0 -44
  705. package/vue3/lib/browser/types/builder-props.d.ts +0 -9
  706. package/vue3/lib/browser/types/can-track.d.ts +0 -3
  707. package/vue3/lib/browser/types/components.d.ts +0 -110
  708. package/vue3/lib/browser/types/deep-partial.d.ts +0 -3
  709. package/vue3/lib/browser/types/element.d.ts +0 -59
  710. package/vue3/lib/browser/types/enforced-partials.d.ts +0 -21
  711. package/vue3/lib/browser/types/input.d.ts +0 -121
  712. package/vue3/lib/browser/types/targets.d.ts +0 -1
  713. package/vue3/lib/browser/types/typescript.d.ts +0 -11
  714. package/vue3/lib/edge/block-wrapper.2d4ec833.cjs +0 -1
  715. package/vue3/lib/edge/block-wrapper.4b2f2fb3.js +0 -54
  716. package/vue3/lib/edge/blocks/button/button.vue.d.ts +0 -30
  717. package/vue3/lib/edge/blocks/button/component-info.d.ts +0 -2
  718. package/vue3/lib/edge/blocks/columns/columns.vue.d.ts +0 -69
  719. package/vue3/lib/edge/blocks/columns/component-info.d.ts +0 -2
  720. package/vue3/lib/edge/blocks/custom-code/component-info.d.ts +0 -2
  721. package/vue3/lib/edge/blocks/custom-code/custom-code.vue.d.ts +0 -20
  722. package/vue3/lib/edge/blocks/embed/component-info.d.ts +0 -2
  723. package/vue3/lib/edge/blocks/embed/embed.vue.d.ts +0 -22
  724. package/vue3/lib/edge/blocks/embed/helpers.d.ts +0 -1
  725. package/vue3/lib/edge/blocks/form/component-info.d.ts +0 -2
  726. package/vue3/lib/edge/blocks/fragment/component-info.d.ts +0 -2
  727. package/vue3/lib/edge/blocks/fragment/fragment.vue.d.ts +0 -7
  728. package/vue3/lib/edge/blocks/helpers.d.ts +0 -13
  729. package/vue3/lib/edge/blocks/image/component-info.d.ts +0 -2
  730. package/vue3/lib/edge/blocks/image/image.helpers.d.ts +0 -1
  731. package/vue3/lib/edge/blocks/image/image.vue.d.ts +0 -72
  732. package/vue3/lib/edge/blocks/img/component-info.d.ts +0 -2
  733. package/vue3/lib/edge/blocks/img/img.vue.d.ts +0 -38
  734. package/vue3/lib/edge/blocks/input/component-info.d.ts +0 -2
  735. package/vue3/lib/edge/blocks/raw-text/component-info.d.ts +0 -2
  736. package/vue3/lib/edge/blocks/section/component-info.d.ts +0 -2
  737. package/vue3/lib/edge/blocks/section/section.vue.d.ts +0 -22
  738. package/vue3/lib/edge/blocks/select/component-info.d.ts +0 -2
  739. package/vue3/lib/edge/blocks/submit-button/component-info.d.ts +0 -2
  740. package/vue3/lib/edge/blocks/symbol/component-info.d.ts +0 -2
  741. package/vue3/lib/edge/blocks/symbol/symbol.helpers.d.ts +0 -14
  742. package/vue3/lib/edge/blocks/symbol/symbol.vue.d.ts +0 -56
  743. package/vue3/lib/edge/blocks/text/component-info.d.ts +0 -2
  744. package/vue3/lib/edge/blocks/text/text.vue.d.ts +0 -11
  745. package/vue3/lib/edge/blocks/textarea/component-info.d.ts +0 -2
  746. package/vue3/lib/edge/blocks/video/component-info.d.ts +0 -2
  747. package/vue3/lib/edge/blocks/video/video.vue.d.ts +0 -64
  748. package/vue3/lib/edge/component-ref.98beaea3.js +0 -111
  749. package/vue3/lib/edge/component-ref.d8514fb0.cjs +0 -1
  750. package/vue3/lib/edge/components/block/block.helpers.d.ts +0 -13
  751. package/vue3/lib/edge/components/block/block.vue.d.ts +0 -41
  752. package/vue3/lib/edge/components/block/components/block-styles.vue.d.ts +0 -22
  753. package/vue3/lib/edge/components/block/components/block-wrapper.vue.d.ts +0 -29
  754. package/vue3/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +0 -30
  755. package/vue3/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +0 -41
  756. package/vue3/lib/edge/components/block/components/interactive-element.vue.d.ts +0 -30
  757. package/vue3/lib/edge/components/block/components/repeated-block.vue.d.ts +0 -16
  758. package/vue3/lib/edge/components/block/types.d.ts +0 -6
  759. package/vue3/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +0 -30
  760. package/vue3/lib/edge/components/blocks/blocks.vue.d.ts +0 -29
  761. package/vue3/lib/edge/components/content/components/enable-editor.vue.d.ts +0 -91
  762. package/vue3/lib/edge/components/content/components/styles.helpers.d.ts +0 -15
  763. package/vue3/lib/edge/components/content/components/styles.vue.d.ts +0 -16
  764. package/vue3/lib/edge/components/content/content.helpers.d.ts +0 -7
  765. package/vue3/lib/edge/components/content/content.types.d.ts +0 -24
  766. package/vue3/lib/edge/components/content/content.vue.d.ts +0 -69
  767. package/vue3/lib/edge/components/content/index.d.ts +0 -1
  768. package/vue3/lib/edge/components/content/wrap-component-ref.d.ts +0 -6
  769. package/vue3/lib/edge/components/content-variants/content-variants.types.d.ts +0 -20
  770. package/vue3/lib/edge/components/content-variants/content-variants.vue.d.ts +0 -73
  771. package/vue3/lib/edge/components/content-variants/helpers.d.ts +0 -41
  772. package/vue3/lib/edge/components/inlined-script.vue.d.ts +0 -11
  773. package/vue3/lib/edge/components/inlined-styles.vue.d.ts +0 -11
  774. package/vue3/lib/edge/constants/builder-registered-components.d.ts +0 -6
  775. package/vue3/lib/edge/constants/device-sizes.d.ts +0 -13
  776. package/vue3/lib/edge/constants/sdk-version.d.ts +0 -1
  777. package/vue3/lib/edge/constants/target.d.ts +0 -2
  778. package/vue3/lib/edge/context/builder.context.d.ts +0 -15
  779. package/vue3/lib/edge/context/components.context.d.ts +0 -7
  780. package/vue3/lib/edge/context/types.d.ts +0 -35
  781. package/vue3/lib/edge/functions/apply-patch-with-mutation.d.ts +0 -10
  782. package/vue3/lib/edge/functions/camel-to-kebab-case.d.ts +0 -1
  783. package/vue3/lib/edge/functions/deopt.d.ts +0 -4
  784. package/vue3/lib/edge/functions/evaluate/browser-runtime/browser.d.ts +0 -4
  785. package/vue3/lib/edge/functions/evaluate/browser-runtime/index.d.ts +0 -1
  786. package/vue3/lib/edge/functions/evaluate/choose-eval.d.ts +0 -6
  787. package/vue3/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +0 -2
  788. package/vue3/lib/edge/functions/evaluate/edge-runtime/edge-runtime.d.ts +0 -2
  789. package/vue3/lib/edge/functions/evaluate/edge-runtime/index.d.ts +0 -1
  790. package/vue3/lib/edge/functions/evaluate/evaluate.d.ts +0 -2
  791. package/vue3/lib/edge/functions/evaluate/helpers.d.ts +0 -24
  792. package/vue3/lib/edge/functions/evaluate/index.d.ts +0 -1
  793. package/vue3/lib/edge/functions/evaluate/node-runtime/index.d.ts +0 -1
  794. package/vue3/lib/edge/functions/evaluate/node-runtime/node-runtime.d.ts +0 -2
  795. package/vue3/lib/edge/functions/evaluate/placeholder-runtime.d.ts +0 -2
  796. package/vue3/lib/edge/functions/event-handler-name.d.ts +0 -1
  797. package/vue3/lib/edge/functions/extract-text-styles.d.ts +0 -4
  798. package/vue3/lib/edge/functions/fast-clone.d.ts +0 -4
  799. package/vue3/lib/edge/functions/fetch-builder-props.d.ts +0 -53
  800. package/vue3/lib/edge/functions/get-block-actions-handler.d.ts +0 -8
  801. package/vue3/lib/edge/functions/get-block-actions.d.ts +0 -10
  802. package/vue3/lib/edge/functions/get-block-component-options.d.ts +0 -2
  803. package/vue3/lib/edge/functions/get-block-properties.d.ts +0 -6
  804. package/vue3/lib/edge/functions/get-builder-search-params/index.d.ts +0 -12
  805. package/vue3/lib/edge/functions/get-content/generate-content-url.d.ts +0 -2
  806. package/vue3/lib/edge/functions/get-content/index.d.ts +0 -28
  807. package/vue3/lib/edge/functions/get-content/types.d.ts +0 -142
  808. package/vue3/lib/edge/functions/get-fetch.d.ts +0 -1
  809. package/vue3/lib/edge/functions/get-processed-block.d.ts +0 -10
  810. package/vue3/lib/edge/functions/get-react-native-block-styles.d.ts +0 -7
  811. package/vue3/lib/edge/functions/is-browser.d.ts +0 -1
  812. package/vue3/lib/edge/functions/is-edge-runtime.d.ts +0 -4
  813. package/vue3/lib/edge/functions/is-editing.d.ts +0 -1
  814. package/vue3/lib/edge/functions/is-iframe.d.ts +0 -1
  815. package/vue3/lib/edge/functions/is-node-runtime.d.ts +0 -4
  816. package/vue3/lib/edge/functions/is-previewing.d.ts +0 -1
  817. package/vue3/lib/edge/functions/on-change.d.ts +0 -7
  818. package/vue3/lib/edge/functions/register-component.d.ts +0 -15
  819. package/vue3/lib/edge/functions/register.d.ts +0 -16
  820. package/vue3/lib/edge/functions/sanitize-react-native-block-styles.d.ts +0 -3
  821. package/vue3/lib/edge/functions/set-editor-settings.d.ts +0 -4
  822. package/vue3/lib/edge/functions/set.d.ts +0 -7
  823. package/vue3/lib/edge/functions/track/helpers.d.ts +0 -5
  824. package/vue3/lib/edge/functions/track/index.d.ts +0 -51
  825. package/vue3/lib/edge/functions/track/interaction.d.ts +0 -13
  826. package/vue3/lib/edge/functions/transform-block-properties.d.ts +0 -2
  827. package/vue3/lib/edge/functions/transform-block.d.ts +0 -2
  828. package/vue3/lib/edge/get-block-actions.407fbfa9.cjs +0 -1
  829. package/vue3/lib/edge/get-block-actions.b460cca3.js +0 -79
  830. package/vue3/lib/edge/helpers/ab-tests.d.ts +0 -9
  831. package/vue3/lib/edge/helpers/canTrack.d.ts +0 -1
  832. package/vue3/lib/edge/helpers/cookie.d.ts +0 -19
  833. package/vue3/lib/edge/helpers/css.d.ts +0 -7
  834. package/vue3/lib/edge/helpers/flatten.d.ts +0 -6
  835. package/vue3/lib/edge/helpers/localStorage.d.ts +0 -9
  836. package/vue3/lib/edge/helpers/logger.d.ts +0 -6
  837. package/vue3/lib/edge/helpers/nullable.d.ts +0 -2
  838. package/vue3/lib/edge/helpers/preview-lru-cache/get.d.ts +0 -2
  839. package/vue3/lib/edge/helpers/preview-lru-cache/helpers.d.ts +0 -0
  840. package/vue3/lib/edge/helpers/preview-lru-cache/init.d.ts +0 -6
  841. package/vue3/lib/edge/helpers/preview-lru-cache/set.d.ts +0 -7
  842. package/vue3/lib/edge/helpers/preview-lru-cache/types.d.ts +0 -0
  843. package/vue3/lib/edge/helpers/sessionId.d.ts +0 -6
  844. package/vue3/lib/edge/helpers/time.d.ts +0 -1
  845. package/vue3/lib/edge/helpers/url.d.ts +0 -6
  846. package/vue3/lib/edge/helpers/uuid.d.ts +0 -8
  847. package/vue3/lib/edge/helpers/visitorId.d.ts +0 -6
  848. package/vue3/lib/edge/index-helpers/blocks-exports.d.ts +0 -111
  849. package/vue3/lib/edge/index-helpers/top-of-file.d.ts +0 -1
  850. package/vue3/lib/edge/index.8bdc4716.cjs +0 -89
  851. package/vue3/lib/edge/index.a8ffb479.js +0 -5753
  852. package/vue3/lib/edge/index.cjs +0 -1
  853. package/vue3/lib/edge/index.d.ts +0 -7
  854. package/vue3/lib/edge/index.js +0 -29
  855. package/vue3/lib/edge/repeated-block.cc9bbed2.js +0 -33
  856. package/vue3/lib/edge/repeated-block.f5d444e9.cjs +0 -1
  857. package/vue3/lib/edge/scripts/init-editing.d.ts +0 -6
  858. package/vue3/lib/edge/server-index.d.ts +0 -15
  859. package/vue3/lib/edge/style.css +0 -1
  860. package/vue3/lib/edge/types/api-version.d.ts +0 -2
  861. package/vue3/lib/edge/types/builder-block.d.ts +0 -66
  862. package/vue3/lib/edge/types/builder-content.d.ts +0 -44
  863. package/vue3/lib/edge/types/builder-props.d.ts +0 -9
  864. package/vue3/lib/edge/types/can-track.d.ts +0 -3
  865. package/vue3/lib/edge/types/components.d.ts +0 -110
  866. package/vue3/lib/edge/types/deep-partial.d.ts +0 -3
  867. package/vue3/lib/edge/types/element.d.ts +0 -59
  868. package/vue3/lib/edge/types/enforced-partials.d.ts +0 -21
  869. package/vue3/lib/edge/types/input.d.ts +0 -121
  870. package/vue3/lib/edge/types/targets.d.ts +0 -1
  871. package/vue3/lib/edge/types/typescript.d.ts +0 -11
  872. package/vue3/lib/node/block-wrapper.25e28ca3.cjs +0 -1
  873. package/vue3/lib/node/block-wrapper.56bce6c4.js +0 -55
  874. package/vue3/lib/node/blocks/button/button.vue.d.ts +0 -30
  875. package/vue3/lib/node/blocks/button/component-info.d.ts +0 -2
  876. package/vue3/lib/node/blocks/columns/columns.vue.d.ts +0 -69
  877. package/vue3/lib/node/blocks/columns/component-info.d.ts +0 -2
  878. package/vue3/lib/node/blocks/custom-code/component-info.d.ts +0 -2
  879. package/vue3/lib/node/blocks/custom-code/custom-code.vue.d.ts +0 -20
  880. package/vue3/lib/node/blocks/embed/component-info.d.ts +0 -2
  881. package/vue3/lib/node/blocks/embed/embed.vue.d.ts +0 -22
  882. package/vue3/lib/node/blocks/embed/helpers.d.ts +0 -1
  883. package/vue3/lib/node/blocks/form/component-info.d.ts +0 -2
  884. package/vue3/lib/node/blocks/fragment/component-info.d.ts +0 -2
  885. package/vue3/lib/node/blocks/fragment/fragment.vue.d.ts +0 -7
  886. package/vue3/lib/node/blocks/helpers.d.ts +0 -13
  887. package/vue3/lib/node/blocks/image/component-info.d.ts +0 -2
  888. package/vue3/lib/node/blocks/image/image.helpers.d.ts +0 -1
  889. package/vue3/lib/node/blocks/image/image.vue.d.ts +0 -72
  890. package/vue3/lib/node/blocks/img/component-info.d.ts +0 -2
  891. package/vue3/lib/node/blocks/img/img.vue.d.ts +0 -38
  892. package/vue3/lib/node/blocks/input/component-info.d.ts +0 -2
  893. package/vue3/lib/node/blocks/raw-text/component-info.d.ts +0 -2
  894. package/vue3/lib/node/blocks/section/component-info.d.ts +0 -2
  895. package/vue3/lib/node/blocks/section/section.vue.d.ts +0 -22
  896. package/vue3/lib/node/blocks/select/component-info.d.ts +0 -2
  897. package/vue3/lib/node/blocks/submit-button/component-info.d.ts +0 -2
  898. package/vue3/lib/node/blocks/symbol/component-info.d.ts +0 -2
  899. package/vue3/lib/node/blocks/symbol/symbol.helpers.d.ts +0 -14
  900. package/vue3/lib/node/blocks/symbol/symbol.vue.d.ts +0 -56
  901. package/vue3/lib/node/blocks/text/component-info.d.ts +0 -2
  902. package/vue3/lib/node/blocks/text/text.vue.d.ts +0 -11
  903. package/vue3/lib/node/blocks/textarea/component-info.d.ts +0 -2
  904. package/vue3/lib/node/blocks/video/component-info.d.ts +0 -2
  905. package/vue3/lib/node/blocks/video/video.vue.d.ts +0 -64
  906. package/vue3/lib/node/component-ref.c35ae123.cjs +0 -1
  907. package/vue3/lib/node/component-ref.cd59ca4d.js +0 -112
  908. package/vue3/lib/node/components/block/block.helpers.d.ts +0 -13
  909. package/vue3/lib/node/components/block/block.vue.d.ts +0 -41
  910. package/vue3/lib/node/components/block/components/block-styles.vue.d.ts +0 -22
  911. package/vue3/lib/node/components/block/components/block-wrapper.vue.d.ts +0 -29
  912. package/vue3/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +0 -30
  913. package/vue3/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +0 -41
  914. package/vue3/lib/node/components/block/components/interactive-element.vue.d.ts +0 -30
  915. package/vue3/lib/node/components/block/components/repeated-block.vue.d.ts +0 -16
  916. package/vue3/lib/node/components/block/types.d.ts +0 -6
  917. package/vue3/lib/node/components/blocks/blocks-wrapper.vue.d.ts +0 -30
  918. package/vue3/lib/node/components/blocks/blocks.vue.d.ts +0 -29
  919. package/vue3/lib/node/components/content/components/enable-editor.vue.d.ts +0 -91
  920. package/vue3/lib/node/components/content/components/styles.helpers.d.ts +0 -15
  921. package/vue3/lib/node/components/content/components/styles.vue.d.ts +0 -16
  922. package/vue3/lib/node/components/content/content.helpers.d.ts +0 -7
  923. package/vue3/lib/node/components/content/content.types.d.ts +0 -24
  924. package/vue3/lib/node/components/content/content.vue.d.ts +0 -69
  925. package/vue3/lib/node/components/content/index.d.ts +0 -1
  926. package/vue3/lib/node/components/content/wrap-component-ref.d.ts +0 -6
  927. package/vue3/lib/node/components/content-variants/content-variants.types.d.ts +0 -20
  928. package/vue3/lib/node/components/content-variants/content-variants.vue.d.ts +0 -73
  929. package/vue3/lib/node/components/content-variants/helpers.d.ts +0 -41
  930. package/vue3/lib/node/components/inlined-script.vue.d.ts +0 -11
  931. package/vue3/lib/node/components/inlined-styles.vue.d.ts +0 -11
  932. package/vue3/lib/node/constants/builder-registered-components.d.ts +0 -6
  933. package/vue3/lib/node/constants/device-sizes.d.ts +0 -13
  934. package/vue3/lib/node/constants/sdk-version.d.ts +0 -1
  935. package/vue3/lib/node/constants/target.d.ts +0 -2
  936. package/vue3/lib/node/context/builder.context.d.ts +0 -15
  937. package/vue3/lib/node/context/components.context.d.ts +0 -7
  938. package/vue3/lib/node/context/types.d.ts +0 -35
  939. package/vue3/lib/node/functions/apply-patch-with-mutation.d.ts +0 -10
  940. package/vue3/lib/node/functions/camel-to-kebab-case.d.ts +0 -1
  941. package/vue3/lib/node/functions/deopt.d.ts +0 -4
  942. package/vue3/lib/node/functions/evaluate/browser-runtime/browser.d.ts +0 -4
  943. package/vue3/lib/node/functions/evaluate/browser-runtime/index.d.ts +0 -1
  944. package/vue3/lib/node/functions/evaluate/choose-eval.d.ts +0 -6
  945. package/vue3/lib/node/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +0 -2
  946. package/vue3/lib/node/functions/evaluate/edge-runtime/edge-runtime.d.ts +0 -2
  947. package/vue3/lib/node/functions/evaluate/edge-runtime/index.d.ts +0 -1
  948. package/vue3/lib/node/functions/evaluate/evaluate.d.ts +0 -2
  949. package/vue3/lib/node/functions/evaluate/helpers.d.ts +0 -24
  950. package/vue3/lib/node/functions/evaluate/index.d.ts +0 -1
  951. package/vue3/lib/node/functions/evaluate/node-runtime/index.d.ts +0 -1
  952. package/vue3/lib/node/functions/evaluate/node-runtime/node-runtime.d.ts +0 -2
  953. package/vue3/lib/node/functions/evaluate/placeholder-runtime.d.ts +0 -2
  954. package/vue3/lib/node/functions/event-handler-name.d.ts +0 -1
  955. package/vue3/lib/node/functions/extract-text-styles.d.ts +0 -4
  956. package/vue3/lib/node/functions/fast-clone.d.ts +0 -4
  957. package/vue3/lib/node/functions/fetch-builder-props.d.ts +0 -53
  958. package/vue3/lib/node/functions/get-block-actions-handler.d.ts +0 -8
  959. package/vue3/lib/node/functions/get-block-actions.d.ts +0 -10
  960. package/vue3/lib/node/functions/get-block-component-options.d.ts +0 -2
  961. package/vue3/lib/node/functions/get-block-properties.d.ts +0 -6
  962. package/vue3/lib/node/functions/get-builder-search-params/index.d.ts +0 -12
  963. package/vue3/lib/node/functions/get-content/generate-content-url.d.ts +0 -2
  964. package/vue3/lib/node/functions/get-content/index.d.ts +0 -28
  965. package/vue3/lib/node/functions/get-content/types.d.ts +0 -142
  966. package/vue3/lib/node/functions/get-fetch.d.ts +0 -1
  967. package/vue3/lib/node/functions/get-processed-block.d.ts +0 -10
  968. package/vue3/lib/node/functions/get-react-native-block-styles.d.ts +0 -7
  969. package/vue3/lib/node/functions/is-browser.d.ts +0 -1
  970. package/vue3/lib/node/functions/is-edge-runtime.d.ts +0 -4
  971. package/vue3/lib/node/functions/is-editing.d.ts +0 -1
  972. package/vue3/lib/node/functions/is-iframe.d.ts +0 -1
  973. package/vue3/lib/node/functions/is-node-runtime.d.ts +0 -4
  974. package/vue3/lib/node/functions/is-previewing.d.ts +0 -1
  975. package/vue3/lib/node/functions/on-change.d.ts +0 -7
  976. package/vue3/lib/node/functions/register-component.d.ts +0 -15
  977. package/vue3/lib/node/functions/register.d.ts +0 -16
  978. package/vue3/lib/node/functions/sanitize-react-native-block-styles.d.ts +0 -3
  979. package/vue3/lib/node/functions/set-editor-settings.d.ts +0 -4
  980. package/vue3/lib/node/functions/set.d.ts +0 -7
  981. package/vue3/lib/node/functions/track/helpers.d.ts +0 -5
  982. package/vue3/lib/node/functions/track/index.d.ts +0 -51
  983. package/vue3/lib/node/functions/track/interaction.d.ts +0 -13
  984. package/vue3/lib/node/functions/transform-block-properties.d.ts +0 -2
  985. package/vue3/lib/node/functions/transform-block.d.ts +0 -2
  986. package/vue3/lib/node/get-block-actions.0d715e21.cjs +0 -1
  987. package/vue3/lib/node/get-block-actions.3df391e9.js +0 -79
  988. package/vue3/lib/node/helpers/ab-tests.d.ts +0 -9
  989. package/vue3/lib/node/helpers/canTrack.d.ts +0 -1
  990. package/vue3/lib/node/helpers/cookie.d.ts +0 -19
  991. package/vue3/lib/node/helpers/css.d.ts +0 -7
  992. package/vue3/lib/node/helpers/flatten.d.ts +0 -6
  993. package/vue3/lib/node/helpers/localStorage.d.ts +0 -9
  994. package/vue3/lib/node/helpers/logger.d.ts +0 -6
  995. package/vue3/lib/node/helpers/nullable.d.ts +0 -2
  996. package/vue3/lib/node/helpers/preview-lru-cache/get.d.ts +0 -2
  997. package/vue3/lib/node/helpers/preview-lru-cache/helpers.d.ts +0 -0
  998. package/vue3/lib/node/helpers/preview-lru-cache/init.d.ts +0 -6
  999. package/vue3/lib/node/helpers/preview-lru-cache/set.d.ts +0 -7
  1000. package/vue3/lib/node/helpers/preview-lru-cache/types.d.ts +0 -0
  1001. package/vue3/lib/node/helpers/sessionId.d.ts +0 -6
  1002. package/vue3/lib/node/helpers/time.d.ts +0 -1
  1003. package/vue3/lib/node/helpers/url.d.ts +0 -6
  1004. package/vue3/lib/node/helpers/uuid.d.ts +0 -8
  1005. package/vue3/lib/node/helpers/visitorId.d.ts +0 -6
  1006. package/vue3/lib/node/index-helpers/blocks-exports.d.ts +0 -111
  1007. package/vue3/lib/node/index-helpers/top-of-file.d.ts +0 -1
  1008. package/vue3/lib/node/index.88589866.js +0 -3375
  1009. package/vue3/lib/node/index.b2d2bb5e.cjs +0 -109
  1010. package/vue3/lib/node/index.cjs +0 -1
  1011. package/vue3/lib/node/index.d.ts +0 -7
  1012. package/vue3/lib/node/index.js +0 -30
  1013. package/vue3/lib/node/repeated-block.57ca2ba1.js +0 -34
  1014. package/vue3/lib/node/repeated-block.78ed5bbb.cjs +0 -1
  1015. package/vue3/lib/node/scripts/init-editing.d.ts +0 -6
  1016. package/vue3/lib/node/server-index.d.ts +0 -15
  1017. package/vue3/lib/node/style.css +0 -1
  1018. package/vue3/lib/node/types/api-version.d.ts +0 -2
  1019. package/vue3/lib/node/types/builder-block.d.ts +0 -66
  1020. package/vue3/lib/node/types/builder-content.d.ts +0 -44
  1021. package/vue3/lib/node/types/builder-props.d.ts +0 -9
  1022. package/vue3/lib/node/types/can-track.d.ts +0 -3
  1023. package/vue3/lib/node/types/components.d.ts +0 -110
  1024. package/vue3/lib/node/types/deep-partial.d.ts +0 -3
  1025. package/vue3/lib/node/types/element.d.ts +0 -59
  1026. package/vue3/lib/node/types/enforced-partials.d.ts +0 -21
  1027. package/vue3/lib/node/types/input.d.ts +0 -121
  1028. package/vue3/lib/node/types/targets.d.ts +0 -1
  1029. package/vue3/lib/node/types/typescript.d.ts +0 -11
@@ -1,2565 +0,0 @@
1
- import { i as $r, m as kt, w as Jr, v as Ze } from "./index-6e4d121e.js";
2
- const kr = ({
3
- builder: e,
4
- context: t,
5
- event: n,
6
- state: r
7
- }) => Object.entries({
8
- state: r,
9
- Builder: e,
10
- // legacy
11
- builder: e,
12
- context: t,
13
- event: n
14
- }), Yr = () => ({
15
- isEditing: $r(),
16
- isBrowser: kt(),
17
- isServer: !kt(),
18
- getUserAttributes: () => Jr()
19
- }), Kr = (e, {
20
- isExpression: t = !0
21
- }) => /* 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, Zr = ({
22
- code: e,
23
- builder: t,
24
- context: n,
25
- event: r,
26
- localState: i,
27
- rootSetState: s,
28
- rootState: u
29
- }) => {
30
- const h = kr({
31
- builder: t,
32
- context: n,
33
- event: r,
34
- state: zr(u, i, s)
35
- });
36
- return new Function(...h.map(([E]) => E), e)(...h.map(([, E]) => E));
37
- };
38
- function zr(e, t, n) {
39
- if (e === t)
40
- throw new Error("rootState === localState");
41
- return new Proxy(e, {
42
- get: (r, i) => t && i in t ? t[i] : e[i],
43
- set: (r, i, s) => {
44
- if (t && i in t)
45
- throw new Error("Writing to local state is not allowed as it is read-only.");
46
- return e[i] = s, n == null || n(e), !0;
47
- }
48
- });
49
- }
50
- const Qr = (e, t, n) => {
51
- if (Object(e) !== e)
52
- return e;
53
- const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
54
- return r.slice(0, -1).reduce((i, s, u) => Object(i[s]) === i[s] ? i[s] : i[s] = Math.abs(Number(r[u + 1])) >> 0 === +r[u + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
55
- };
56
- var C, qr = function(e) {
57
- function t(o) {
58
- return 48 > o ? o === 36 : 58 > o ? !0 : 65 > o ? !1 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && Wr.test(String.fromCharCode(o));
59
- }
60
- function n(o) {
61
- return 65 > o ? o === 36 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && mr.test(String.fromCharCode(o));
62
- }
63
- function r(o, a) {
64
- for (var l = g, p = 1, w = 0; ; ) {
65
- Ke.lastIndex = w;
66
- var R = Ke.exec(l);
67
- if (R && R.index < o)
68
- ++p, w = R.index + R[0].length;
69
- else
70
- break;
71
- }
72
- throw l = {
73
- line: p,
74
- ab: o - w
75
- }, a += " (" + l.line + ":" + l.ab + ")", a = new SyntaxError(a), a.j = o, a.X = l, a.o = c, a;
76
- }
77
- function i(o) {
78
- o = o.split(" ");
79
- for (var a = /* @__PURE__ */ Object.create(null), l = 0; l < o.length; l++)
80
- a[o[l]] = !0;
81
- return function(p) {
82
- return a[p] || !1;
83
- };
84
- }
85
- function s() {
86
- this.line = ue, this.ab = c - K;
87
- }
88
- function u(o, a) {
89
- fe = c, j.C && (lt = new s()), d = o, E(), W = a, ke = o.m;
90
- }
91
- function h() {
92
- for (var o = c, a = j.va && j.C && new s(), l = g.charCodeAt(c += 2); c < pe && l !== 10 && l !== 13 && l !== 8232 && l !== 8233; )
93
- ++c, l = g.charCodeAt(c);
94
- j.va && j.va(!1, g.slice(o + 2, c), o, c, a, j.C && new s());
95
- }
96
- function E() {
97
- for (; c < pe; ) {
98
- var o = g.charCodeAt(c);
99
- if (o === 32)
100
- ++c;
101
- else if (o === 13)
102
- ++c, o = g.charCodeAt(c), o === 10 && ++c, j.C && (++ue, K = c);
103
- else if (o === 10 || o === 8232 || o === 8233)
104
- ++c, j.C && (++ue, K = c);
105
- else if (8 < o && 14 > o)
106
- ++c;
107
- else if (o === 47)
108
- if (o = g.charCodeAt(c + 1), o === 42) {
109
- o = void 0;
110
- var a = j.va && j.C && new s(), l = c, p = g.indexOf("*/", c += 2);
111
- if (p === -1 && r(c - 2, "Unterminated comment"), c = p + 2, j.C)
112
- for (Ke.lastIndex = l; (o = Ke.exec(g)) && o.index < c; )
113
- ++ue, K = o.index + o[0].length;
114
- j.va && j.va(!0, g.slice(l + 2, p), l, c, a, j.C && new s());
115
- } else if (o === 47)
116
- h();
117
- else
118
- break;
119
- else if (o === 160)
120
- ++c;
121
- else if (5760 <= o && Vr.test(String.fromCharCode(o)))
122
- ++c;
123
- else
124
- break;
125
- }
126
- }
127
- function F(o) {
128
- switch (o) {
129
- case 46:
130
- o = g.charCodeAt(c + 1), 48 <= o && 57 >= o ? U(!0) : (++c, u(lr));
131
- return;
132
- case 40:
133
- return ++c, u(Z);
134
- case 41:
135
- return ++c, u($);
136
- case 59:
137
- return ++c, u(z);
138
- case 44:
139
- return ++c, u(ie);
140
- case 91:
141
- return ++c, u(wt);
142
- case 93:
143
- return ++c, u(Et);
144
- case 123:
145
- return ++c, u(Ae);
146
- case 125:
147
- return ++c, u(ge);
148
- case 58:
149
- return ++c, u(Ie);
150
- case 63:
151
- return ++c, u(cr);
152
- case 48:
153
- if (o = g.charCodeAt(c + 1), o === 120 || o === 88) {
154
- c += 2, o = se(16), o === null && r(M + 2, "Expected hexadecimal number"), n(g.charCodeAt(c)) && r(c, "Identifier directly after number"), u(Oe, o);
155
- return;
156
- }
157
- case 49:
158
- case 50:
159
- case 51:
160
- case 52:
161
- case 53:
162
- case 54:
163
- case 55:
164
- case 56:
165
- case 57:
166
- return U(!1);
167
- case 34:
168
- case 39:
169
- c++;
170
- for (var a = ""; ; ) {
171
- c >= pe && r(M, "Unterminated string constant");
172
- var l = g.charCodeAt(c);
173
- if (l === o) {
174
- ++c, u(He, a);
175
- break;
176
- }
177
- if (l === 92) {
178
- l = g.charCodeAt(++c);
179
- var p = /^[0-7]+/.exec(g.slice(c, c + 3));
180
- for (p && (p = p[0]); p && 255 < parseInt(p, 8); )
181
- p = p.slice(0, -1);
182
- if (p === "0" && (p = null), ++c, p)
183
- V && r(c - 2, "Octal literal in strict mode"), a += String.fromCharCode(parseInt(p, 8)), c += p.length - 1;
184
- else
185
- switch (l) {
186
- case 110:
187
- a += `
188
- `;
189
- break;
190
- case 114:
191
- a += "\r";
192
- break;
193
- case 120:
194
- a += String.fromCharCode(X(2));
195
- break;
196
- case 117:
197
- a += String.fromCharCode(X(4));
198
- break;
199
- case 85:
200
- a += String.fromCharCode(X(8));
201
- break;
202
- case 116:
203
- a += " ";
204
- break;
205
- case 98:
206
- a += "\b";
207
- break;
208
- case 118:
209
- a += "\v";
210
- break;
211
- case 102:
212
- a += "\f";
213
- break;
214
- case 48:
215
- a += "\0";
216
- break;
217
- case 13:
218
- g.charCodeAt(c) === 10 && ++c;
219
- case 10:
220
- j.C && (K = c, ++ue);
221
- break;
222
- default:
223
- a += String.fromCharCode(l);
224
- }
225
- } else
226
- l !== 13 && l !== 10 && l !== 8232 && l !== 8233 || r(M, "Unterminated string constant"), a += String.fromCharCode(l), ++c;
227
- }
228
- return;
229
- case 47:
230
- o = g.charCodeAt(c + 1), ke ? (++c, Be()) : o === 61 ? O(le, 2) : O(pr, 1);
231
- return;
232
- case 37:
233
- case 42:
234
- g.charCodeAt(c + 1) === 61 ? O(le, 2) : O(Br, 1);
235
- return;
236
- case 124:
237
- case 38:
238
- a = g.charCodeAt(c + 1), a === o ? O(o === 124 ? gr : vr, 2) : a === 61 ? O(le, 2) : O(o === 124 ? Pr : br, 1);
239
- return;
240
- case 94:
241
- g.charCodeAt(c + 1) === 61 ? O(le, 2) : O(Ur, 1);
242
- return;
243
- case 43:
244
- case 45:
245
- a = g.charCodeAt(c + 1), a === o ? a === 45 && g.charCodeAt(c + 2) === 62 && Ye.test(g.slice(ne, c)) ? (c += 3, h(), E(), N()) : O(Rr, 2) : a === 61 ? O(le, 2) : O(Lr, 1);
246
- return;
247
- case 60:
248
- case 62:
249
- a = g.charCodeAt(c + 1), l = 1, a === o ? (l = o === 62 && g.charCodeAt(c + 2) === 62 ? 3 : 2, g.charCodeAt(c + l) === 61 ? O(le, l + 1) : O(Fr, l)) : a === 33 && o === 60 && g.charCodeAt(c + 2) === 45 && g.charCodeAt(c + 3) === 45 ? (c += 4, h(), E(), N()) : (a === 61 && (l = g.charCodeAt(c + 2) === 61 ? 3 : 2), O(_r, l));
250
- return;
251
- case 61:
252
- case 33:
253
- g.charCodeAt(c + 1) === 61 ? O(Dr, g.charCodeAt(c + 2) === 61 ? 3 : 2) : O(o === 61 ? fr : hr, 1);
254
- return;
255
- case 126:
256
- return O(hr, 1);
257
- }
258
- return !1;
259
- }
260
- function N(o) {
261
- if (o ? c = M + 1 : M = c, j.C && (ut = new s()), o)
262
- return Be();
263
- if (c >= pe)
264
- return u(ft);
265
- if (o = g.charCodeAt(c), n(o) || o === 92)
266
- return Ge();
267
- if (F(o) === !1) {
268
- if (o = String.fromCharCode(o), o === "\\" || mr.test(o))
269
- return Ge();
270
- r(c, "Unexpected character '" + o + "'");
271
- }
272
- }
273
- function O(o, a) {
274
- var l = g.slice(c, c + a);
275
- c += a, u(o, l);
276
- }
277
- function Be() {
278
- for (var o, a, l = c; ; ) {
279
- c >= pe && r(l, "Unterminated regexp");
280
- var p = g.charAt(c);
281
- if (Ye.test(p) && r(l, "Unterminated regexp"), o)
282
- o = !1;
283
- else {
284
- if (p === "[")
285
- a = !0;
286
- else if (p === "]" && a)
287
- a = !1;
288
- else if (p === "/" && !a)
289
- break;
290
- o = p === "\\";
291
- }
292
- ++c;
293
- }
294
- o = g.slice(l, c), ++c, (a = ce()) && !/^[gmi]*$/.test(a) && r(l, "Invalid regexp flag");
295
- try {
296
- var w = new RegExp(o, a);
297
- } catch (R) {
298
- throw R instanceof SyntaxError && r(l, R.message), R;
299
- }
300
- u(Wt, w);
301
- }
302
- function se(o, a) {
303
- for (var l = c, p = 0, w = a === void 0 ? 1 / 0 : a, R = 0; R < w; ++R) {
304
- var L = g.charCodeAt(c);
305
- if (L = 97 <= L ? L - 97 + 10 : 65 <= L ? L - 65 + 10 : 48 <= L && 57 >= L ? L - 48 : 1 / 0, L >= o)
306
- break;
307
- ++c, p = p * o + L;
308
- }
309
- return c === l || a !== void 0 && c - l !== a ? null : p;
310
- }
311
- function U(o) {
312
- var a = c, l = !1, p = g.charCodeAt(c) === 48;
313
- o || se(10) !== null || r(a, "Invalid number"), g.charCodeAt(c) === 46 && (++c, se(10), l = !0), o = g.charCodeAt(c), (o === 69 || o === 101) && (o = g.charCodeAt(++c), o !== 43 && o !== 45 || ++c, se(10) === null && r(a, "Invalid number"), l = !0), n(g.charCodeAt(c)) && r(c, "Identifier directly after number"), o = g.slice(a, c);
314
- var w;
315
- l ? w = parseFloat(o) : p && o.length !== 1 ? /[89]/.test(o) || V ? r(a, "Invalid number") : w = parseInt(o, 8) : w = parseInt(o, 10), u(Oe, w);
316
- }
317
- function X(o) {
318
- return o = se(16, o), o === null && r(M, "Bad character escape sequence"), o;
319
- }
320
- function ce() {
321
- ve = !1;
322
- for (var o, a = !0, l = c; ; ) {
323
- var p = g.charCodeAt(c);
324
- if (t(p))
325
- ve && (o += g.charAt(c)), ++c;
326
- else if (p === 92) {
327
- ve || (o = g.slice(l, c)), ve = !0, g.charCodeAt(++c) !== 117 && r(c, "Expecting Unicode escape sequence \\uXXXX"), ++c, p = X(4);
328
- var w = String.fromCharCode(p);
329
- w || r(c - 1, "Invalid Unicode escape"), (a ? n(p) : t(p)) || r(c - 4, "Invalid Unicode escape"), o += w;
330
- } else
331
- break;
332
- a = !1;
333
- }
334
- return ve ? o : g.slice(l, c);
335
- }
336
- function Ge() {
337
- var o = ce(), a = he;
338
- !ve && Xr(o) && (a = Mr[o]), u(a, o);
339
- }
340
- function S() {
341
- ct = M, ne = fe, pt = lt, N();
342
- }
343
- function qe(o) {
344
- if (V = o, c = M, j.C)
345
- for (; c < K; )
346
- K = g.lastIndexOf(`
347
- `, K - 2) + 1, --ue;
348
- E(), N();
349
- }
350
- function Lt() {
351
- this.type = null, this.start = M, this.end = null;
352
- }
353
- function Bt() {
354
- this.start = ut, this.end = null, at && (this.source = at);
355
- }
356
- function b() {
357
- var o = new Lt();
358
- return j.C && (o.X = new Bt()), j.vb && (o.sourceFile = j.vb), j.Xa && (o.j = [M, 0]), o;
359
- }
360
- function re(o) {
361
- var a = new Lt();
362
- return a.start = o.start, j.C && (a.X = new Bt(), a.X.start = o.X.start), j.Xa && (a.j = [o.j[0], 0]), a;
363
- }
364
- function x(o, a) {
365
- return o.type = a, o.end = ne, j.C && (o.X.end = pt), j.Xa && (o.j[1] = ne), o;
366
- }
367
- function et(o) {
368
- return o.type === "ExpressionStatement" && o.la.type === "Literal" && o.la.value === "use strict";
369
- }
370
- function A(o) {
371
- return d === o ? (S(), !0) : !1;
372
- }
373
- function Xe() {
374
- return !j.fc && (d === ft || d === ge || Ye.test(g.slice(ne, M)));
375
- }
376
- function ae() {
377
- A(z) || Xe() || J();
378
- }
379
- function I(o) {
380
- d === o ? S() : J();
381
- }
382
- function J() {
383
- r(M, "Unexpected token");
384
- }
385
- function Ve(o) {
386
- o.type !== "Identifier" && o.type !== "MemberExpression" && r(o.start, "Assigning to rvalue"), V && o.type === "Identifier" && Je(o.name) && r(o.start, "Assigning to " + o.name + " in strict mode");
387
- }
388
- function H() {
389
- (d === pr || d === le && W === "/=") && N(!0);
390
- var o = d, a = b();
391
- switch (o) {
392
- case ht:
393
- case $t:
394
- S();
395
- var l = o === ht;
396
- A(z) || Xe() ? a.label = null : d !== he ? J() : (a.label = Y(), ae());
397
- for (var p = 0; p < T.length; ++p) {
398
- var w = T[p];
399
- if ((a.label === null || w.name === a.label.name) && (w.kind !== null && (l || w.kind === "loop") || a.label && l))
400
- break;
401
- }
402
- return p === T.length && r(a.start, "Unsyntactic " + o.l), x(a, l ? "BreakStatement" : "ContinueStatement");
403
- case Jt:
404
- return S(), ae(), x(a, "DebuggerStatement");
405
- case Kt:
406
- return S(), T.push(xt), a.body = H(), T.pop(), I(dt), a.test = xe(), ae(), x(a, "DoWhileStatement");
407
- case Qt:
408
- return S(), T.push(xt), I(Z), d === z ? tt(a, null) : d === mt ? (o = b(), S(), Xt(o, !0), x(o, "VariableDeclaration"), o.fa.length === 1 && A($e) ? Gt(a, o) : tt(a, o)) : (o = _(!1, !0), A($e) ? (Ve(o), Gt(a, o)) : tt(a, o));
409
- case vt:
410
- return S(), ot(a, !0);
411
- case qt:
412
- return S(), a.test = xe(), a.da = H(), a.alternate = A(Zt) ? H() : null, x(a, "IfStatement");
413
- case er:
414
- return Ce || j.Ib || r(M, "'return' outside of function"), S(), A(z) || Xe() ? a.K = null : (a.K = _(), ae()), x(a, "ReturnStatement");
415
- case yt:
416
- for (S(), a.Qb = xe(), a.tb = [], I(Ae), T.push(Hr); d !== ge; )
417
- d === gt || d === Yt ? (o = d === gt, p && x(p, "SwitchCase"), a.tb.push(p = b()), p.da = [], S(), o ? p.test = _() : (l && r(ct, "Multiple default clauses"), l = !0, p.test = null), I(Ie)) : (p || J(), p.da.push(H()));
418
- return p && x(p, "SwitchCase"), S(), T.pop(), x(a, "SwitchStatement");
419
- case tr:
420
- return S(), Ye.test(g.slice(ne, M)) && r(ne, "Illegal newline after throw"), a.K = _(), ae(), x(a, "ThrowStatement");
421
- case rr:
422
- return S(), a.block = je(), a.Ea = null, d === Ht && (o = b(), S(), I(Z), o.Ua = Y(), V && Je(o.Ua.name) && r(o.Ua.start, "Binding " + o.Ua.name + " in strict mode"), I($), o.body = je(), a.Ea = x(o, "CatchClause")), a.fb = A(zt) ? je() : null, a.Ea || a.fb || r(a.start, "Missing catch or finally clause"), x(a, "TryStatement");
423
- case mt:
424
- return S(), Xt(a), ae(), x(a, "VariableDeclaration");
425
- case dt:
426
- return S(), a.test = xe(), T.push(xt), a.body = H(), T.pop(), x(a, "WhileStatement");
427
- case nr:
428
- return V && r(M, "'with' in strict mode"), S(), a.object = xe(), a.body = H(), x(a, "WithStatement");
429
- case Ae:
430
- return je();
431
- case z:
432
- return S(), x(a, "EmptyStatement");
433
- default:
434
- if (l = W, w = _(), o === he && w.type === "Identifier" && A(Ie)) {
435
- for (p = 0; p < T.length; ++p)
436
- T[p].name === l && r(w.start, "Label '" + l + "' is already declared");
437
- return T.push({
438
- name: l,
439
- kind: d.W ? "loop" : d === yt ? "switch" : null
440
- }), a.body = H(), T.pop(), a.label = w, x(a, "LabeledStatement");
441
- }
442
- return a.la = w, ae(), x(a, "ExpressionStatement");
443
- }
444
- }
445
- function xe() {
446
- I(Z);
447
- var o = _();
448
- return I($), o;
449
- }
450
- function je(o) {
451
- var a = b(), l = !0, p = !1;
452
- for (a.body = [], I(Ae); !A(ge); ) {
453
- var w = H();
454
- if (a.body.push(w), l && o && et(w)) {
455
- var R = p;
456
- qe(p = !0);
457
- }
458
- l = !1;
459
- }
460
- return p && !R && qe(!1), x(a, "BlockStatement");
461
- }
462
- function tt(o, a) {
463
- return o.ua = a, I(z), o.test = d === z ? null : _(), I(z), o.update = d === $ ? null : _(), I($), o.body = H(), T.pop(), x(o, "ForStatement");
464
- }
465
- function Gt(o, a) {
466
- return o.left = a, o.right = _(), I($), o.body = H(), T.pop(), x(o, "ForInStatement");
467
- }
468
- function Xt(o, a) {
469
- for (o.fa = [], o.kind = "var"; ; ) {
470
- var l = b();
471
- if (l.id = Y(), V && Je(l.id.name) && r(l.id.start, "Binding " + l.id.name + " in strict mode"), l.ua = A(fr) ? _(!0, a) : null, o.fa.push(x(l, "VariableDeclarator")), !A(ie))
472
- break;
473
- }
474
- }
475
- function _(o, a) {
476
- var l = rt(a);
477
- if (!o && d === ie) {
478
- for (o = re(l), o.xb = [l]; A(ie); )
479
- o.xb.push(rt(a));
480
- return x(o, "SequenceExpression");
481
- }
482
- return l;
483
- }
484
- function rt(o) {
485
- var a = nt(it(), -1, o);
486
- if (A(cr)) {
487
- var l = re(a);
488
- l.test = a, l.da = _(!0), I(Ie), l.alternate = _(!0, o), a = x(l, "ConditionalExpression");
489
- }
490
- return d.Cb ? (l = re(a), l.operator = W, l.left = a, S(), l.right = rt(o), Ve(a), x(l, "AssignmentExpression")) : a;
491
- }
492
- function nt(o, a, l) {
493
- var p = d.L;
494
- if (p !== null && (!l || d !== $e) && p > a) {
495
- var w = re(o);
496
- return w.left = o, w.operator = W, o = d, S(), w.right = nt(it(), p, l), p = x(w, o === gr || o === vr ? "LogicalExpression" : "BinaryExpression"), nt(p, a, l);
497
- }
498
- return o;
499
- }
500
- function it() {
501
- if (d.prefix) {
502
- var o = b(), a = d.$b;
503
- return o.operator = W, ke = o.prefix = !0, S(), o.K = it(), a ? Ve(o.K) : V && o.operator === "delete" && o.K.type === "Identifier" && r(o.start, "Deleting local variable in strict mode"), x(o, a ? "UpdateExpression" : "UnaryExpression");
504
- }
505
- for (a = Se(We()); d.cc && !Xe(); )
506
- o = re(a), o.operator = W, o.prefix = !1, o.K = a, Ve(a), S(), a = x(o, "UpdateExpression");
507
- return a;
508
- }
509
- function Se(o, a) {
510
- if (A(lr)) {
511
- var l = re(o);
512
- return l.object = o, l.Wa = Y(!0), l.bb = !1, Se(x(l, "MemberExpression"), a);
513
- }
514
- return A(wt) ? (l = re(o), l.object = o, l.Wa = _(), l.bb = !0, I(Et), Se(x(l, "MemberExpression"), a)) : !a && A(Z) ? (l = re(o), l.callee = o, l.arguments = st($, !1), Se(x(l, "CallExpression"), a)) : o;
515
- }
516
- function We() {
517
- switch (d) {
518
- case or:
519
- var o = b();
520
- return S(), x(o, "ThisExpression");
521
- case he:
522
- return Y();
523
- case Oe:
524
- case He:
525
- case Wt:
526
- return o = b(), o.value = W, o.raw = g.slice(M, fe), S(), x(o, "Literal");
527
- case sr:
528
- case ar:
529
- case ur:
530
- return o = b(), o.value = d.$a, o.raw = d.l, S(), x(o, "Literal");
531
- case Z:
532
- o = ut;
533
- var a = M;
534
- S();
535
- var l = _();
536
- return l.start = a, l.end = fe, j.C && (l.X.start = o, l.X.end = lt), j.Xa && (l.j = [a, fe]), I($), l;
537
- case wt:
538
- return o = b(), S(), o.elements = st(Et, !0, !0), x(o, "ArrayExpression");
539
- case Ae:
540
- for (o = b(), a = !0, l = !1, o.h = [], S(); !A(ge); ) {
541
- if (a)
542
- a = !1;
543
- else if (I(ie), j.sb && A(ge))
544
- break;
545
- var p = {
546
- key: d === Oe || d === He ? We() : Y(!0)
547
- }, w = !1;
548
- if (A(Ie)) {
549
- p.value = _(!0);
550
- var R = p.kind = "init";
551
- } else
552
- p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? J() : (w = l = !0, R = p.kind = p.key.name, p.key = d === Oe || d === He ? We() : Y(!0), d !== Z && J(), p.value = ot(b(), !1));
553
- if (p.key.type === "Identifier" && (V || l))
554
- for (var L = 0; L < o.h.length; ++L) {
555
- var ye = o.h[L];
556
- if (ye.key.name === p.key.name) {
557
- var jt = R === ye.kind || w && ye.kind === "init" || R === "init" && (ye.kind === "get" || ye.kind === "set");
558
- jt && !V && R === "init" && ye.kind === "init" && (jt = !1), jt && r(p.key.start, "Redefinition of property");
559
- }
560
- }
561
- o.h.push(p);
562
- }
563
- return x(o, "ObjectExpression");
564
- case vt:
565
- return o = b(), S(), ot(o, !1);
566
- case ir:
567
- return o = b(), S(), o.callee = Se(We(), !0), o.arguments = A(Z) ? st($, !1) : Nr, x(o, "NewExpression");
568
- }
569
- J();
570
- }
571
- function ot(o, a) {
572
- d === he ? o.id = Y() : a ? J() : o.id = null, o.oa = [];
573
- var l = !0;
574
- for (I(Z); !A($); )
575
- l ? l = !1 : I(ie), o.oa.push(Y());
576
- l = Ce;
577
- var p = T;
578
- if (Ce = !0, T = [], o.body = je(!0), Ce = l, T = p, V || o.body.body.length && et(o.body.body[0])) {
579
- for (l = o.id ? -1 : 0; l < o.oa.length; ++l)
580
- if (p = 0 > l ? o.id : o.oa[l], (yr(p.name) || Je(p.name)) && r(p.start, "Defining '" + p.name + "' in strict mode"), 0 <= l)
581
- for (var w = 0; w < l; ++w)
582
- p.name === o.oa[w].name && r(p.start, "Argument name clash in strict mode");
583
- }
584
- return x(o, a ? "FunctionDeclaration" : "FunctionExpression");
585
- }
586
- function st(o, a, l) {
587
- for (var p = [], w = !0; !A(o); ) {
588
- if (w)
589
- w = !1;
590
- else if (I(ie), a && j.sb && A(o))
591
- break;
592
- p.push(l && d === ie ? null : _(!0));
593
- }
594
- return p;
595
- }
596
- function Y(o) {
597
- var a = b();
598
- return o && j.yb === "everywhere" && (o = !1), d === he ? (!o && (j.yb && Gr(W) || V && yr(W)) && g.slice(M, fe).indexOf("\\") === -1 && r(M, "The keyword '" + W + "' is reserved"), a.name = W) : o && d.l ? a.name = d.l : J(), ke = !1, S(), x(a, "Identifier");
599
- }
600
- e.version = "0.5.0";
601
- var j, g = "", pe, at;
602
- e.parse = function(o, a) {
603
- g = String(o), pe = g.length, j = a || {};
604
- for (var l in Vt)
605
- Object.prototype.hasOwnProperty.call(j, l) || (j[l] = Vt[l]);
606
- for (at = j.sourceFile, ue = 1, c = K = 0, ke = !0, E(), l = j.dc, ct = ne = c, j.C && (pt = new s()), Ce = V = !1, T = [], N(), o = l || b(), a = !0, l || (o.body = []); d !== ft; )
607
- l = H(), o.body.push(l), a && et(l) && qe(!0), a = !1;
608
- return x(o, "Program");
609
- };
610
- var Vt = {
611
- fc: !1,
612
- sb: !0,
613
- yb: !1,
614
- Ib: !1,
615
- C: !1,
616
- va: null,
617
- Xa: !1,
618
- dc: null,
619
- sourceFile: null,
620
- vb: null
621
- }, c = 0, M = 0, fe = 0, ut, lt, d, W, ke, ue, K, ct = 0, ne = 0, pt, Ce, T, V, Nr = [], Oe = {
622
- type: "num"
623
- }, Wt = {
624
- type: "regexp"
625
- }, He = {
626
- type: "string"
627
- }, he = {
628
- type: "name"
629
- }, ft = {
630
- type: "eof"
631
- }, ht = {
632
- l: "break"
633
- }, gt = {
634
- l: "case",
635
- m: !0
636
- }, Ht = {
637
- l: "catch"
638
- }, $t = {
639
- l: "continue"
640
- }, Jt = {
641
- l: "debugger"
642
- }, Yt = {
643
- l: "default"
644
- }, Kt = {
645
- l: "do",
646
- W: !0
647
- }, Zt = {
648
- l: "else",
649
- m: !0
650
- }, zt = {
651
- l: "finally"
652
- }, Qt = {
653
- l: "for",
654
- W: !0
655
- }, vt = {
656
- l: "function"
657
- }, qt = {
658
- l: "if"
659
- }, er = {
660
- l: "return",
661
- m: !0
662
- }, yt = {
663
- l: "switch"
664
- }, tr = {
665
- l: "throw",
666
- m: !0
667
- }, rr = {
668
- l: "try"
669
- }, mt = {
670
- l: "var"
671
- }, dt = {
672
- l: "while",
673
- W: !0
674
- }, nr = {
675
- l: "with"
676
- }, ir = {
677
- l: "new",
678
- m: !0
679
- }, or = {
680
- l: "this"
681
- }, sr = {
682
- l: "null",
683
- $a: null
684
- }, ar = {
685
- l: "true",
686
- $a: !0
687
- }, ur = {
688
- l: "false",
689
- $a: !1
690
- }, $e = {
691
- l: "in",
692
- L: 7,
693
- m: !0
694
- }, Mr = {
695
- break: ht,
696
- case: gt,
697
- catch: Ht,
698
- continue: $t,
699
- debugger: Jt,
700
- default: Yt,
701
- do: Kt,
702
- else: Zt,
703
- finally: zt,
704
- for: Qt,
705
- function: vt,
706
- if: qt,
707
- return: er,
708
- switch: yt,
709
- throw: tr,
710
- try: rr,
711
- var: mt,
712
- while: dt,
713
- with: nr,
714
- null: sr,
715
- true: ar,
716
- false: ur,
717
- new: ir,
718
- in: $e,
719
- instanceof: {
720
- l: "instanceof",
721
- L: 7,
722
- m: !0
723
- },
724
- this: or,
725
- typeof: {
726
- l: "typeof",
727
- prefix: !0,
728
- m: !0
729
- },
730
- void: {
731
- l: "void",
732
- prefix: !0,
733
- m: !0
734
- },
735
- delete: {
736
- l: "delete",
737
- prefix: !0,
738
- m: !0
739
- }
740
- }, wt = {
741
- type: "[",
742
- m: !0
743
- }, Et = {
744
- type: "]"
745
- }, Ae = {
746
- type: "{",
747
- m: !0
748
- }, ge = {
749
- type: "}"
750
- }, Z = {
751
- type: "(",
752
- m: !0
753
- }, $ = {
754
- type: ")"
755
- }, ie = {
756
- type: ",",
757
- m: !0
758
- }, z = {
759
- type: ";",
760
- m: !0
761
- }, Ie = {
762
- type: ":",
763
- m: !0
764
- }, lr = {
765
- type: "."
766
- }, cr = {
767
- type: "?",
768
- m: !0
769
- }, pr = {
770
- L: 10,
771
- m: !0
772
- }, fr = {
773
- Cb: !0,
774
- m: !0
775
- }, le = {
776
- Cb: !0,
777
- m: !0
778
- }, Rr = {
779
- cc: !0,
780
- prefix: !0,
781
- $b: !0
782
- }, hr = {
783
- prefix: !0,
784
- m: !0
785
- }, gr = {
786
- L: 1,
787
- m: !0
788
- }, vr = {
789
- L: 2,
790
- m: !0
791
- }, Pr = {
792
- L: 3,
793
- m: !0
794
- }, Ur = {
795
- L: 4,
796
- m: !0
797
- }, br = {
798
- L: 5,
799
- m: !0
800
- }, Dr = {
801
- L: 6,
802
- m: !0
803
- }, _r = {
804
- L: 7,
805
- m: !0
806
- }, Fr = {
807
- L: 8,
808
- m: !0
809
- }, Lr = {
810
- L: 9,
811
- prefix: !0,
812
- m: !0
813
- }, Br = {
814
- L: 10,
815
- m: !0
816
- }, Gr = i("class enum extends super const export import"), yr = i("implements interface let package private protected public static yield"), Je = i("eval arguments"), Xr = i("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"), Vr = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, mr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Wr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), Ye = /[\n\r\u2028\u2029]/, Ke = /\r\n|[\n\r\u2028\u2029]/g, ve, xt = {
817
- kind: "loop"
818
- }, Hr = {
819
- kind: "switch"
820
- };
821
- }, Ct = Ct = typeof globalThis > "u" ? void 0 : globalThis;
822
- qr(Ct.j || (Ct.j = {}));
823
- function f(e, t) {
824
- typeof e == "string" && (e = de(e, "code"));
825
- var n = e.constructor;
826
- this.ya = function() {
827
- return new n({
828
- options: {}
829
- });
830
- };
831
- var r = this.ya(), i;
832
- for (i in e)
833
- r[i] = i === "body" ? e[i].slice() : e[i];
834
- this.ra = r, this.ca = [], this.qb = t, this.za = !1, this.ba = [], this.Ya = 0, this.rb = /* @__PURE__ */ Object.create(null), e = /^step([A-Z]\w*)$/;
835
- var s, u;
836
- for (u in this)
837
- typeof this[u] == "function" && (s = u.match(e)) && (this.rb[s[1]] = this[u].bind(this));
838
- this.N = At(this, this.ra, null), this.Na = this.N.object, this.ra = de(this.ba.join(`
839
- `), "polyfills"), this.ba = void 0, ze(this.ra), s = new y(this.ra, this.N), s.done = !1, this.o = [s], this.Eb(), this.value = void 0, this.ra = r, s = new y(this.ra, this.N), s.done = !1, this.o.length = 0, this.o[0] = s;
840
- }
841
- var dr = {
842
- C: !0,
843
- kc: 5
844
- }, It = {
845
- configurable: !0,
846
- enumerable: !0,
847
- writable: !1
848
- }, v = {
849
- configurable: !0,
850
- enumerable: !1,
851
- writable: !0
852
- }, G = {
853
- configurable: !0,
854
- enumerable: !1,
855
- writable: !1
856
- }, Te = {
857
- configurable: !1,
858
- enumerable: !1,
859
- writable: !1
860
- }, wr = {
861
- configurable: !1,
862
- enumerable: !0,
863
- writable: !0
864
- }, Cr = {
865
- STEP_ERROR: !0
866
- }, Ee = {
867
- SCOPE_REFERENCE: !0
868
- }, De = {
869
- VALUE_IN_DESCRIPTOR: !0
870
- }, me = {
871
- REGEXP_TIMEOUT: !0
872
- }, Er = [], q = null, Ue = null, oe = typeof globalThis > "u" ? void 0 : globalThis, en = ["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();", "};"];
873
- function Tt(e) {
874
- var t = e >>> 0;
875
- return t === Number(e) ? t : NaN;
876
- }
877
- function be(e) {
878
- var t = e >>> 0;
879
- return String(t) === String(e) && t !== 4294967295 ? t : NaN;
880
- }
881
- function ze(e, t, n) {
882
- t ? e.start = t : delete e.start, n ? e.end = n : delete e.end;
883
- for (var r in e)
884
- if (r !== "loc" && e.hasOwnProperty(r)) {
885
- var i = e[r];
886
- i && typeof i == "object" && ze(i, t, n);
887
- }
888
- }
889
- f.prototype.REGEXP_MODE = 2;
890
- f.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
891
- f.prototype.POLYFILL_TIMEOUT = 1e3;
892
- C = f.prototype;
893
- C.P = !1;
894
- C.Ka = !1;
895
- C.Kb = 0;
896
- C.ic = 0;
897
- function de(e, t) {
898
- var n = {}, r;
899
- for (r in dr)
900
- n[r] = dr[r];
901
- return n.sourceFile = t, oe.j.parse(e, n);
902
- }
903
- C.Jb = function(e) {
904
- var t = this.o[0];
905
- if (!t || t.node.type !== "Program")
906
- throw Error("Expecting original AST to start with a Program node");
907
- if (typeof e == "string" && (e = de(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
908
- throw Error("Expecting new AST to start with a Program node");
909
- _e(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
910
- };
911
- C.lb = function() {
912
- var e = this.o, t;
913
- do {
914
- var n = e[e.length - 1];
915
- if (this.za)
916
- break;
917
- if (!n || n.node.type === "Program" && n.done) {
918
- if (!this.ca.length)
919
- return !1;
920
- if (n = this.ca[0], !n || n.time > Date.now())
921
- n = null;
922
- else {
923
- this.ca.shift(), 0 <= n.interval && Ir(this, n, n.interval);
924
- var r = new y(n.node, n.scope);
925
- n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
926
- }
927
- if (!n)
928
- break;
929
- }
930
- r = n.node;
931
- var i = Ue;
932
- Ue = this;
933
- try {
934
- var s = this.rb[r.type](e, n, r);
935
- } catch (u) {
936
- if (u !== Cr)
937
- throw this.value !== u && (this.value = void 0), u;
938
- } finally {
939
- Ue = i;
940
- }
941
- if (s && e.push(s), this.P)
942
- throw this.value = void 0, Error("Getter not supported in this context");
943
- if (this.Ka)
944
- throw this.value = void 0, Error("Setter not supported in this context");
945
- t || r.end || (t = Date.now() + this.POLYFILL_TIMEOUT);
946
- } while (!r.end && t > Date.now());
947
- return !0;
948
- };
949
- C.Eb = function() {
950
- for (; !this.za && this.lb(); )
951
- ;
952
- return this.za;
953
- };
954
- function tn(e, t) {
955
- e.g(t, "NaN", NaN, Te), e.g(t, "Infinity", 1 / 0, Te), e.g(t, "undefined", void 0, Te), e.g(t, "window", t, It), e.g(t, "this", t, Te), e.g(t, "self", t), e.M = new k(null), e.Z = new k(e.M), rn(e, t), nn(e, t), t.xa = e.M, e.g(t, "constructor", e.v, v), on(e, t), sn(e, t), an(e, t), un(e, t), ln(e, t), cn(e, t), pn(e, t), fn(e, t), hn(e, t);
956
- var n = e.i(function() {
957
- throw EvalError("Can't happen");
958
- }, !1);
959
- n.eval = !0, e.g(t, "eval", n, v), e.g(t, "parseInt", e.i(parseInt, !1), v), e.g(t, "parseFloat", e.i(parseFloat, !1), v), e.g(t, "isNaN", e.i(isNaN, !1), v), e.g(t, "isFinite", e.i(isFinite, !1), v);
960
- for (var r = [[escape, "escape"], [unescape, "unescape"], [decodeURI, "decodeURI"], [decodeURIComponent, "decodeURIComponent"], [encodeURI, "encodeURI"], [encodeURIComponent, "encodeURIComponent"]], i = 0; i < r.length; i++)
961
- n = function(s) {
962
- return function(u) {
963
- try {
964
- return s(u);
965
- } catch (h) {
966
- m(e, e.Gb, h.message);
967
- }
968
- };
969
- }(r[i][0]), e.g(t, r[i][1], e.i(n, !1), v);
970
- n = function(s) {
971
- return xr(e, !1, arguments);
972
- }, e.g(t, "setTimeout", e.i(n, !1), v), n = function(s) {
973
- return xr(e, !0, arguments);
974
- }, e.g(t, "setInterval", e.i(n, !1), v), n = function(s) {
975
- jr(e, s);
976
- }, e.g(t, "clearTimeout", e.i(n, !1), v), n = function(s) {
977
- jr(e, s);
978
- }, e.g(t, "clearInterval", e.i(n, !1), v), 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);
979
- }
980
- C.Wb = 0;
981
- function rn(e, t) {
982
- var n = /^[A-Za-z_$][\w$]*$/, r = function(i) {
983
- var s = arguments.length ? String(arguments[arguments.length - 1]) : "", u = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
984
- if (u) {
985
- u = u.split(/\s*,\s*/);
986
- for (var h = 0; h < u.length; h++) {
987
- var E = u[h];
988
- n.test(E) || m(e, e.T, "Invalid function argument: " + E);
989
- }
990
- u = u.join(", ");
991
- }
992
- try {
993
- var F = de("(function(" + u + ") {" + s + "})", "function" + e.Wb++);
994
- } catch (N) {
995
- m(e, e.T, "Invalid code: " + N.message);
996
- }
997
- return F.body.length !== 1 && m(e, e.T, "Invalid code in function body"), Rt(e, F.body[0].la, e.N, "anonymous");
998
- };
999
- e.O = e.i(r, !0), e.g(t, "Function", e.O, v), e.g(e.O, "prototype", e.Z, v), e.g(e.Z, "constructor", e.O, v), e.Z.Ta = function() {
1000
- }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, G), e.Z.H = "Function", r = function(i, s) {
1001
- var u = e.o[e.o.length - 1];
1002
- u.U = this, u.B = i, u.F = [], s != null && (s instanceof k ? u.F = Or(e, s) : m(e, e.j, "CreateListFromArrayLike called on non-object")), u.eb = !1;
1003
- }, P(e, e.O, "apply", r), r = function(i) {
1004
- var s = e.o[e.o.length - 1];
1005
- s.U = this, s.B = i, s.F = [];
1006
- for (var u = 1; u < arguments.length; u++)
1007
- s.F.push(arguments[u]);
1008
- s.eb = !1;
1009
- }, P(e, e.O, "call", r), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), r = function() {
1010
- return String(this);
1011
- }, P(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), v), r = function() {
1012
- return this.valueOf();
1013
- }, P(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), v);
1014
- }
1015
- function nn(e, t) {
1016
- function n(i) {
1017
- i != null || m(e, e.j, "Cannot convert '" + i + "' to object");
1018
- }
1019
- var r = function(i) {
1020
- if (i == null)
1021
- return te(e) ? this : e.s(e.M);
1022
- if (!(i instanceof k)) {
1023
- var s = e.s(ee(e, i));
1024
- return s.data = i, s;
1025
- }
1026
- return i;
1027
- };
1028
- e.v = e.i(r, !0), e.g(e.v, "prototype", e.M, v), e.g(e.M, "constructor", e.v, v), e.g(t, "Object", e.v, v), r = function(i) {
1029
- return n(i), Q(e, Object.getOwnPropertyNames(i instanceof k ? i.h : i));
1030
- }, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), v), r = function(i) {
1031
- return n(i), i instanceof k && (i = i.h), Q(e, Object.keys(i));
1032
- }, e.g(e.v, "keys", e.i(r, !1), v), r = function(i) {
1033
- return i === null ? e.s(null) : (i instanceof k || m(e, e.j, "Object prototype may only be an Object or null, not " + i), e.s(i));
1034
- }, e.g(e.v, "create", e.i(r, !1), v), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), r = function(i, s, u) {
1035
- return s = String(s), i instanceof k || m(e, e.j, "Object.defineProperty called on non-object: " + i), u instanceof k || m(e, e.j, "Property description must be an object"), !i.preventExtensions || s in i.h || m(e, e.j, "Can't define property '" + s + "', object is not extensible"), e.g(i, s, De, u.h), i;
1036
- }, e.g(e.v, "defineProperty", e.i(r, !1), v), e.ba.push("(function() {", "var defineProperty_ = Object.defineProperty;", "Object.defineProperty = function defineProperty(obj, prop, d1) {", "var d2 = {};", "if ('configurable' in d1) d2.configurable = d1.configurable;", "if ('enumerable' in d1) d2.enumerable = d1.enumerable;", "if ('writable' in d1) d2.writable = d1.writable;", "if ('value' in d1) d2.value = d1.value;", "if ('get' in d1) d2.get = d1.get;", "if ('set' in d1) d2.set = d1.set;", "return defineProperty_(obj, prop, d2);", "};", "})();", "Object.defineProperty(Object, 'defineProperties',", "{configurable: true, writable: true, value:", "function defineProperties(obj, props) {", "var keys = Object.keys(props);", "for (var i = 0; i < keys.length; i++) {", "Object.defineProperty(obj, keys[i], props[keys[i]]);", "}", "return obj;", "}", "});", ""), r = function(i, s) {
1037
- if (i instanceof k || m(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + i), s = String(s), s in i.h) {
1038
- var u = Object.getOwnPropertyDescriptor(i.h, s), h = i.V[s];
1039
- return i = i.Y[s], s = e.s(e.M), h || i ? (e.g(s, "get", h), e.g(s, "set", i)) : (e.g(s, "value", u.value), e.g(s, "writable", u.writable)), e.g(s, "configurable", u.configurable), e.g(s, "enumerable", u.enumerable), s;
1040
- }
1041
- }, e.g(e.v, "getOwnPropertyDescriptor", e.i(r, !1), v), r = function(i) {
1042
- return n(i), ee(e, i);
1043
- }, e.g(e.v, "getPrototypeOf", e.i(r, !1), v), r = function(i) {
1044
- return !!i && !i.preventExtensions;
1045
- }, e.g(e.v, "isExtensible", e.i(r, !1), v), r = function(i) {
1046
- return i instanceof k && (i.preventExtensions = !0), i;
1047
- }, e.g(e.v, "preventExtensions", e.i(r, !1), v), P(e, e.v, "toString", k.prototype.toString), P(e, e.v, "toLocaleString", k.prototype.toString), P(e, e.v, "valueOf", k.prototype.valueOf), r = function(i) {
1048
- return n(this), this instanceof k ? String(i) in this.h : this.hasOwnProperty(i);
1049
- }, P(e, e.v, "hasOwnProperty", r), r = function(i) {
1050
- return n(this), this instanceof k ? Object.prototype.propertyIsEnumerable.call(this.h, i) : this.propertyIsEnumerable(i);
1051
- }, P(e, e.v, "propertyIsEnumerable", r), r = function(i) {
1052
- for (; ; ) {
1053
- if (i = ee(e, i), !i)
1054
- return !1;
1055
- if (i === this)
1056
- return !0;
1057
- }
1058
- }, P(e, e.v, "isPrototypeOf", r);
1059
- }
1060
- function on(e, t) {
1061
- var n = function(r) {
1062
- var i = te(e) ? this : we(e), s = arguments[0];
1063
- if (arguments.length === 1 && typeof s == "number")
1064
- isNaN(Tt(s)) && m(e, e.ob, "Invalid array length: " + s), i.h.length = s;
1065
- else {
1066
- for (s = 0; s < arguments.length; s++)
1067
- i.h[s] = arguments[s];
1068
- i.h.length = s;
1069
- }
1070
- return i;
1071
- };
1072
- e.qa = e.i(n, !0), e.La = e.qa.h.prototype, e.g(t, "Array", e.qa, v), n = function(r) {
1073
- return r && r.H === "Array";
1074
- }, e.g(e.qa, "isArray", e.i(n, !1), v), e.g(e.La, "length", 0, {
1075
- configurable: !1,
1076
- enumerable: !1,
1077
- writable: !0
1078
- }), 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(',');", "}", ");", "})();", "");
1079
- }
1080
- function sn(e, t) {
1081
- var n = function(r) {
1082
- return r = arguments.length ? oe.String(r) : "", te(e) ? (this.data = r, this) : r;
1083
- };
1084
- for (e.J = e.i(n, !0), e.g(t, "String", e.J, v), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), v), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
1085
- P(e, e.J, t[n], String.prototype[t[n]]);
1086
- n = function(r, i, s) {
1087
- i = e.R(i), s = e.R(s);
1088
- try {
1089
- return String(this).localeCompare(r, i, s);
1090
- } catch (u) {
1091
- m(e, e.D, "localeCompare: " + u.message);
1092
- }
1093
- }, P(e, e.J, "localeCompare", n), n = function(r, i, s) {
1094
- var u = String(this);
1095
- if (i = i ? Number(i) : void 0, D(e, r, e.I) && (r = r.data, Me(e, r, s), e.REGEXP_MODE === 2)) {
1096
- if (q)
1097
- r = Ne(e, "string.split(separator, limit)", {
1098
- string: u,
1099
- separator: r,
1100
- limit: i
1101
- }, r, s), r !== me && s(Q(e, r));
1102
- else {
1103
- var h = e.ha(), E = Re(e, r, h, s);
1104
- h.onmessage = function(F) {
1105
- clearTimeout(E), s(Q(e, F.data));
1106
- }, h.postMessage(["split", u, r, i]);
1107
- }
1108
- return;
1109
- }
1110
- r = u.split(r, i), s(Q(e, r));
1111
- }, Pe(e, e.J, "split", n), n = function(r, i) {
1112
- var s = String(this);
1113
- if (r = D(e, r, e.I) ? r.data : new RegExp(r), Me(e, r, i), e.REGEXP_MODE === 2)
1114
- if (q)
1115
- r = Ne(e, "string.match(regexp)", {
1116
- string: s,
1117
- regexp: r
1118
- }, r, i), r !== me && i(r && Q(e, r));
1119
- else {
1120
- var u = e.ha(), h = Re(e, r, u, i);
1121
- u.onmessage = function(E) {
1122
- clearTimeout(h), i(E.data && Q(e, E.data));
1123
- }, u.postMessage(["match", s, r]);
1124
- }
1125
- else
1126
- r = s.match(r), i(r && Q(e, r));
1127
- }, Pe(e, e.J, "match", n), n = function(r, i) {
1128
- var s = String(this);
1129
- if (D(e, r, e.I) ? r = r.data : r = new RegExp(r), Me(e, r, i), e.REGEXP_MODE === 2)
1130
- if (q)
1131
- r = Ne(e, "string.search(regexp)", {
1132
- string: s,
1133
- regexp: r
1134
- }, r, i), r !== me && i(r);
1135
- else {
1136
- var u = e.ha(), h = Re(e, r, u, i);
1137
- u.onmessage = function(E) {
1138
- clearTimeout(h), i(E.data);
1139
- }, u.postMessage(["search", s, r]);
1140
- }
1141
- else
1142
- i(s.search(r));
1143
- }, Pe(e, e.J, "search", n), n = function(r, i, s) {
1144
- var u = String(this);
1145
- if (i = String(i), D(e, r, e.I) && (r = r.data, Me(e, r, s), e.REGEXP_MODE === 2)) {
1146
- if (q)
1147
- r = Ne(e, "string.replace(substr, newSubstr)", {
1148
- string: u,
1149
- substr: r,
1150
- newSubstr: i
1151
- }, r, s), r !== me && s(r);
1152
- else {
1153
- var h = e.ha(), E = Re(e, r, h, s);
1154
- h.onmessage = function(F) {
1155
- clearTimeout(E), s(F.data);
1156
- }, h.postMessage(["replace", u, r, i]);
1157
- }
1158
- return;
1159
- }
1160
- s(u.replace(r, i));
1161
- }, Pe(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;", "};", "})();", "");
1162
- }
1163
- function an(e, t) {
1164
- e.mb = e.i(function(n) {
1165
- return n = oe.Boolean(n), te(e) ? (this.data = n, this) : n;
1166
- }, !0), e.g(t, "Boolean", e.mb, v);
1167
- }
1168
- function un(e, t) {
1169
- var n = function(r) {
1170
- return r = arguments.length ? oe.Number(r) : 0, te(e) ? (this.data = r, this) : r;
1171
- };
1172
- for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, v), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
1173
- e.g(e.aa, t[n], Number[t[n]], Te);
1174
- n = function(r) {
1175
- try {
1176
- return Number(this).toExponential(r);
1177
- } catch (i) {
1178
- m(e, e.D, i.message);
1179
- }
1180
- }, P(e, e.aa, "toExponential", n), n = function(r) {
1181
- try {
1182
- return Number(this).toFixed(r);
1183
- } catch (i) {
1184
- m(e, e.D, i.message);
1185
- }
1186
- }, P(e, e.aa, "toFixed", n), n = function(r) {
1187
- try {
1188
- return Number(this).toPrecision(r);
1189
- } catch (i) {
1190
- m(e, e.D, i.message);
1191
- }
1192
- }, P(e, e.aa, "toPrecision", n), n = function(r) {
1193
- try {
1194
- return Number(this).toString(r);
1195
- } catch (i) {
1196
- m(e, e.D, i.message);
1197
- }
1198
- }, P(e, e.aa, "toString", n), n = function(r, i) {
1199
- r = r ? e.R(r) : void 0, i = i ? e.R(i) : void 0;
1200
- try {
1201
- return Number(this).toLocaleString(r, i);
1202
- } catch (s) {
1203
- m(e, e.D, "toLocaleString: " + s.message);
1204
- }
1205
- }, P(e, e.aa, "toLocaleString", n);
1206
- }
1207
- function ln(e, t) {
1208
- var n = function(i, s) {
1209
- if (!te(e))
1210
- return oe.Date();
1211
- var u = [null].concat(Array.from(arguments));
1212
- return this.data = new (Function.prototype.bind.apply(oe.Date, u))(), this;
1213
- };
1214
- e.$ = e.i(n, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, v), e.g(e.$, "now", e.i(Date.now, !1), v), e.g(e.$, "parse", e.i(Date.parse, !1), v), e.g(e.$, "UTC", e.i(Date.UTC, !1), v), 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(" ");
1215
- for (var r = 0; r < t.length; r++)
1216
- n = function(i) {
1217
- return function(s) {
1218
- var u = this.data;
1219
- u instanceof Date || m(e, e.j, i + " not called on a Date");
1220
- for (var h = [], E = 0; E < arguments.length; E++)
1221
- h[E] = e.R(arguments[E]);
1222
- return u[i].apply(u, h);
1223
- };
1224
- }(t[r]), P(e, e.$, t[r], n);
1225
- }
1226
- function cn(e, t) {
1227
- var n = function(r, i) {
1228
- if (te(e))
1229
- var s = this;
1230
- else {
1231
- if (i === void 0 && D(e, r, e.I))
1232
- return r;
1233
- s = e.s(e.Ma);
1234
- }
1235
- r = r === void 0 ? "" : String(r), i = i ? String(i) : "", /^[gmi]*$/.test(i) || m(e, e.T, "Invalid regexp flag: " + i);
1236
- try {
1237
- var u = new oe.RegExp(r, i);
1238
- } catch (h) {
1239
- m(e, e.T, h.message);
1240
- }
1241
- return Nt(e, s, u), s;
1242
- };
1243
- e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, v), e.g(e.I.h.prototype, "global", void 0, G), e.g(e.I.h.prototype, "ignoreCase", void 0, G), e.g(e.I.h.prototype, "multiline", void 0, G), e.g(e.I.h.prototype, "source", "(?:)", G), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, i) {
1244
- function s(N) {
1245
- if (N) {
1246
- var O = Q(e, N);
1247
- return e.g(O, "index", N.index), e.g(O, "input", N.input), O;
1248
- }
1249
- return null;
1250
- }
1251
- var u = this.data;
1252
- if (r = String(r), u.lastIndex = Number(e.G(this, "lastIndex")), Me(e, u, i), e.REGEXP_MODE === 2)
1253
- if (q)
1254
- r = Ne(e, "regexp.exec(string)", {
1255
- string: r,
1256
- regexp: u
1257
- }, u, i), r !== me && (e.g(this, "lastIndex", u.lastIndex), i(s(r)));
1258
- else {
1259
- var h = e.ha(), E = Re(e, u, h, i), F = this;
1260
- h.onmessage = function(N) {
1261
- clearTimeout(E), e.g(F, "lastIndex", N.data[1]), i(s(N.data[0]));
1262
- }, h.postMessage(["exec", u, u.lastIndex, r]);
1263
- }
1264
- else
1265
- r = u.exec(r), e.g(this, "lastIndex", u.lastIndex), i(s(r));
1266
- }, Pe(e, e.I, "exec", n);
1267
- }
1268
- function pn(e, t) {
1269
- function n(r) {
1270
- var i = e.i(function(s) {
1271
- var u = te(e) ? this : e.Aa(i);
1272
- return Ot(e, u, s), u;
1273
- }, !0);
1274
- return e.g(i, "prototype", e.Aa(e.D), v), e.g(i.h.prototype, "name", r, v), e.g(t, r, i, v), i;
1275
- }
1276
- e.D = e.i(function(r) {
1277
- var i = te(e) ? this : e.Aa(e.D);
1278
- return Ot(e, i, r), i;
1279
- }, !0), e.g(t, "Error", e.D, v), e.g(e.D.h.prototype, "message", "", v), e.g(e.D.h.prototype, "name", "Error", v), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
1280
- }
1281
- function fn(e, t) {
1282
- var n = e.s(e.M);
1283
- e.g(t, "Math", n, v);
1284
- var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
1285
- for (t = 0; t < r.length; t++)
1286
- e.g(n, r[t], Math[r[t]], G);
1287
- 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++)
1288
- e.g(n, r[t], e.i(Math[r[t]], !1), v);
1289
- }
1290
- function hn(e, t) {
1291
- var n = e.s(e.M);
1292
- e.g(t, "JSON", n, v), t = function(r) {
1293
- try {
1294
- var i = JSON.parse(String(r));
1295
- } catch (s) {
1296
- m(e, e.T, s.message);
1297
- }
1298
- return e.Ia(i);
1299
- }, e.g(n, "parse", e.i(t, !1)), t = function(r, i, s) {
1300
- i && i.H === "Function" ? m(e, e.j, "Function replacer on JSON.stringify not supported") : i && i.H === "Array" ? (i = Or(e, i), i = i.filter(function(h) {
1301
- return typeof h == "string" || typeof h == "number";
1302
- })) : i = null, typeof s != "string" && typeof s != "number" && (s = void 0), r = e.R(r);
1303
- try {
1304
- var u = JSON.stringify(r, i, s);
1305
- } catch (h) {
1306
- m(e, e.j, h.message);
1307
- }
1308
- return u;
1309
- }, e.g(n, "stringify", e.i(t, !1));
1310
- }
1311
- function D(e, t, n) {
1312
- if (t == null || !n)
1313
- return !1;
1314
- if (n = n.h.prototype, t === n)
1315
- return !0;
1316
- for (t = ee(e, t); t; ) {
1317
- if (t === n)
1318
- return !0;
1319
- t = t.xa;
1320
- }
1321
- return !1;
1322
- }
1323
- function Nt(e, t, n) {
1324
- t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, v), e.g(t, "source", n.source, G), e.g(t, "global", n.global, G), e.g(t, "ignoreCase", n.ignoreCase, G), e.g(t, "multiline", n.multiline, G);
1325
- }
1326
- function Ot(e, t, n) {
1327
- n && e.g(t, "message", String(n), v), n = [];
1328
- for (var r = e.o.length - 1; 0 <= r; r--) {
1329
- var i = e.o[r], s = i.node;
1330
- s.type === "CallExpression" && (i = i.U) && n.length && (n[n.length - 1].Ob = e.G(i, "name")), !s.X || n.length && s.type !== "CallExpression" || n.push({
1331
- Nb: s.X
1332
- });
1333
- }
1334
- for (r = String(e.G(t, "name")), s = String(e.G(t, "message")), s = r + ": " + s + `
1335
- `, r = 0; r < n.length; r++) {
1336
- var u = n[r].Nb;
1337
- i = n[r].Ob, u = u.source + ":" + u.start.line + ":" + u.start.ab, s = i ? s + (" at " + i + " (" + u + `)
1338
- `) : s + (" at " + u + `
1339
- `);
1340
- }
1341
- e.g(t, "stack", s.trim(), v);
1342
- }
1343
- C.ha = function() {
1344
- var e = this.ha.Mb;
1345
- return e || (e = new Blob([en.join(`
1346
- `)], {
1347
- type: "application/javascript"
1348
- }), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
1349
- };
1350
- function Ne(e, t, n, r, i) {
1351
- var s = {
1352
- timeout: e.REGEXP_THREAD_TIMEOUT
1353
- };
1354
- try {
1355
- return q.runInNewContext(t, n, s);
1356
- } catch {
1357
- i(null), m(e, e.D, "RegExp Timeout: " + r);
1358
- }
1359
- return me;
1360
- }
1361
- function Me(e, t, n) {
1362
- if (e.REGEXP_MODE === 0)
1363
- var r = !1;
1364
- else if (e.REGEXP_MODE === 1)
1365
- r = !0;
1366
- else if (q)
1367
- r = !0;
1368
- else if (typeof Worker == "function" && typeof URL == "function")
1369
- r = !0;
1370
- else if (typeof require == "function") {
1371
- try {
1372
- q = require("vm");
1373
- } catch {
1374
- }
1375
- r = !!q;
1376
- } else
1377
- r = !1;
1378
- r || (n(null), m(e, e.D, "Regular expressions not supported: " + t));
1379
- }
1380
- function Re(e, t, n, r) {
1381
- return setTimeout(function() {
1382
- n.terminate(), r(null);
1383
- try {
1384
- m(e, e.D, "RegExp Timeout: " + t);
1385
- } catch {
1386
- }
1387
- }, e.REGEXP_THREAD_TIMEOUT);
1388
- }
1389
- C.Aa = function(e) {
1390
- return this.s(e && e.h.prototype);
1391
- };
1392
- C.s = function(e) {
1393
- if (typeof e != "object")
1394
- throw Error("Non object prototype");
1395
- return e = new k(e), D(this, e, this.D) && (e.H = "Error"), e;
1396
- };
1397
- function we(e) {
1398
- var t = e.s(e.La);
1399
- return e.g(t, "length", 0, {
1400
- configurable: !1,
1401
- enumerable: !1,
1402
- writable: !0
1403
- }), t.H = "Array", t;
1404
- }
1405
- function Mt(e, t, n) {
1406
- var r = e.s(e.Z);
1407
- return n ? (n = e.s(e.M), e.g(r, "prototype", n, v), e.g(n, "constructor", r, v)) : r.Ab = !0, e.g(r, "length", t, G), r.H = "Function", r;
1408
- }
1409
- function Rt(e, t, n, r) {
1410
- var i = Mt(e, t.oa.length, !0);
1411
- return i.Va = n, i.node = t, e.g(i, "name", t.id ? String(t.id.name) : r || "", G), i;
1412
- }
1413
- C.i = function(e, t) {
1414
- return t = Mt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, G), t;
1415
- };
1416
- C.ub = function(e) {
1417
- var t = Mt(this, e.length, !0);
1418
- return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, G), t;
1419
- };
1420
- C.Ia = function(e) {
1421
- if (e instanceof k)
1422
- throw Error("Object is already pseudo");
1423
- if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
1424
- return e;
1425
- if (e instanceof RegExp) {
1426
- var t = this.s(this.Ma);
1427
- return Nt(this, t, e), t;
1428
- }
1429
- if (e instanceof Date)
1430
- return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
1431
- if (typeof e == "function") {
1432
- var n = this;
1433
- return t = Object.getOwnPropertyDescriptor(e, "prototype"), this.i(function() {
1434
- var i = Array.prototype.slice.call(arguments).map(function(s) {
1435
- return n.R(s);
1436
- });
1437
- return i = e.apply(n, i), n.Ia(i);
1438
- }, !!t);
1439
- }
1440
- if (Array.isArray(e)) {
1441
- t = we(this);
1442
- for (var r = 0; r < e.length; r++)
1443
- r in e && this.g(t, r, this.Ia(e[r]));
1444
- return t;
1445
- }
1446
- t = this.s(this.M);
1447
- for (r in e)
1448
- this.g(t, r, this.Ia(e[r]));
1449
- return t;
1450
- };
1451
- C.R = function(e, t) {
1452
- if (typeof e != "object" && typeof e != "function" || e === null)
1453
- return e;
1454
- if (!(e instanceof k))
1455
- throw Error("Object is not pseudo");
1456
- if (D(this, e, this.I))
1457
- return t = new RegExp(e.data.source, e.data.flags), t.lastIndex = e.data.lastIndex, t;
1458
- if (D(this, e, this.$))
1459
- return new Date(e.data.valueOf());
1460
- t = t || {
1461
- hb: [],
1462
- Sa: []
1463
- };
1464
- var n = t.hb.indexOf(e);
1465
- if (n !== -1)
1466
- return t.Sa[n];
1467
- if (t.hb.push(e), D(this, e, this.qa)) {
1468
- n = [], t.Sa.push(n);
1469
- for (var r = this.G(e, "length"), i = 0; i < r; i++)
1470
- Qe(this, e, i) && (n[i] = this.R(this.G(e, i), t));
1471
- } else
1472
- for (r in n = {}, t.Sa.push(n), e.h)
1473
- i = this.R(e.h[r], t), Object.defineProperty(n, r, {
1474
- value: i,
1475
- writable: !0,
1476
- enumerable: !0,
1477
- configurable: !0
1478
- });
1479
- return t.hb.pop(), t.Sa.pop(), n;
1480
- };
1481
- function Q(e, t) {
1482
- for (var n = we(e), r = Object.getOwnPropertyNames(t), i = 0; i < r.length; i++)
1483
- e.g(n, r[i], t[r[i]]);
1484
- return n;
1485
- }
1486
- function Or(e, t) {
1487
- var n = [], r;
1488
- for (r in t.h)
1489
- n[r] = e.G(t, r);
1490
- return n.length = Tt(e.G(t, "length")) || 0, n;
1491
- }
1492
- function ee(e, t) {
1493
- switch (typeof t) {
1494
- case "number":
1495
- return e.aa.h.prototype;
1496
- case "boolean":
1497
- return e.mb.h.prototype;
1498
- case "string":
1499
- return e.J.h.prototype;
1500
- }
1501
- return t ? t.xa : null;
1502
- }
1503
- C.G = function(e, t) {
1504
- if (this.P)
1505
- throw Error("Getter not supported in that context");
1506
- if (t = String(t), e != null || m(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof k))
1507
- throw TypeError("Expecting native value or pseudo object");
1508
- if (t === "length") {
1509
- if (D(this, e, this.J))
1510
- return String(e).length;
1511
- } else if (64 > t.charCodeAt(0) && D(this, e, this.J)) {
1512
- var n = be(t);
1513
- if (!isNaN(n) && n < String(e).length)
1514
- return String(e)[n];
1515
- }
1516
- do
1517
- if (e.h && t in e.h)
1518
- return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
1519
- while (e = ee(this, e));
1520
- };
1521
- function Qe(e, t, n) {
1522
- if (!(t instanceof k))
1523
- throw TypeError("Primitive data type has no properties");
1524
- if (n = String(n), n === "length" && D(e, t, e.J))
1525
- return !0;
1526
- if (D(e, t, e.J)) {
1527
- var r = be(n);
1528
- if (!isNaN(r) && r < String(t).length)
1529
- return !0;
1530
- }
1531
- do
1532
- if (t.h && n in t.h)
1533
- return !0;
1534
- while (t = ee(e, t));
1535
- return !1;
1536
- }
1537
- C.g = function(e, t, n, r) {
1538
- if (this.Ka)
1539
- throw Error("Setter not supported in that context");
1540
- if (t = String(t), e != null || m(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof k))
1541
- throw TypeError("Expecting native value or pseudo object");
1542
- r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && m(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1543
- var i = !this.o || Pt(this).S;
1544
- if (e instanceof k) {
1545
- if (D(this, e, this.J)) {
1546
- var s = be(t);
1547
- if (t === "length" || !isNaN(s) && s < String(e).length) {
1548
- i && m(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1549
- return;
1550
- }
1551
- }
1552
- if (e.H === "Array")
1553
- if (s = e.h.length, t === "length") {
1554
- if (r) {
1555
- if (!("value" in r))
1556
- return;
1557
- n = r.value;
1558
- }
1559
- if (n = Tt(n), isNaN(n) && m(this, this.ob, "Invalid array length"), n < s)
1560
- for (u in e.h) {
1561
- var u = be(u);
1562
- !isNaN(u) && n <= u && delete e.h[u];
1563
- }
1564
- } else
1565
- isNaN(u = be(t)) || (e.h.length = Math.max(s, u + 1));
1566
- if (!e.preventExtensions || t in e.h)
1567
- if (r) {
1568
- i = {}, "get" in r && r.get && (e.V[t] = r.get, i.get = this.g.ac), "set" in r && r.set && (e.Y[t] = r.set, i.set = this.g.bc), "configurable" in r && (i.configurable = r.configurable), "enumerable" in r && (i.enumerable = r.enumerable), "writable" in r && (i.writable = r.writable, delete e.V[t], delete e.Y[t]), "value" in r ? (i.value = r.value, delete e.V[t], delete e.Y[t]) : n !== De && (i.value = n, delete e.V[t], delete e.Y[t]);
1569
- try {
1570
- Object.defineProperty(e.h, t, i);
1571
- } catch {
1572
- m(this, this.j, "Cannot redefine property: " + t);
1573
- }
1574
- "get" in r && !r.get && delete e.V[t], "set" in r && !r.set && delete e.Y[t];
1575
- } else {
1576
- if (n === De)
1577
- throw ReferenceError("Value not specified");
1578
- for (r = e; !(t in r.h); )
1579
- if (r = ee(this, r), !r) {
1580
- r = e;
1581
- break;
1582
- }
1583
- if (r.Y && r.Y[t])
1584
- return this.Ka = !0, r.Y[t];
1585
- if (r.V && r.V[t])
1586
- i && m(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
1587
- else
1588
- try {
1589
- e.h[t] = n;
1590
- } catch {
1591
- i && m(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
1592
- }
1593
- }
1594
- else
1595
- i && m(this, this.j, "Can't add property '" + t + "', object is not extensible");
1596
- } else
1597
- i && m(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1598
- };
1599
- C.g.ac = function() {
1600
- throw Error("Placeholder getter");
1601
- };
1602
- C.g.bc = function() {
1603
- throw Error("Placeholder setter");
1604
- };
1605
- function P(e, t, n, r) {
1606
- e.g(t.h.prototype, n, e.i(r, !1), v);
1607
- }
1608
- function Pe(e, t, n, r) {
1609
- e.g(t.h.prototype, n, e.ub(r), v);
1610
- }
1611
- function Pt(e) {
1612
- if (e = e.o[e.o.length - 1].scope, !e)
1613
- throw Error("No scope found");
1614
- return e;
1615
- }
1616
- function At(e, t, n) {
1617
- var r = !1;
1618
- if (n && n.S)
1619
- r = !0;
1620
- else {
1621
- var i = t.body && t.body[0];
1622
- i && i.la && i.la.type === "Literal" && i.la.value === "use strict" && (r = !0);
1623
- }
1624
- return i = e.s(null), r = new Tr(n, r, i), n || tn(e, r.object), _e(e, t, r), r;
1625
- }
1626
- function Ut(e, t, n) {
1627
- if (!t)
1628
- throw Error("parentScope required");
1629
- return e = n || e.s(null), new Tr(t, t.S, e);
1630
- }
1631
- function bt(e, t) {
1632
- for (var n = Pt(e); n && n !== e.N; ) {
1633
- if (t in n.object.h)
1634
- return n.object.h[t];
1635
- n = n.Va;
1636
- }
1637
- if (n === e.N && Qe(e, n.object, t))
1638
- return e.G(n.object, t);
1639
- n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || m(e, e.pb, t + " is not defined");
1640
- }
1641
- function Ar(e, t, n) {
1642
- for (var r = Pt(e), i = r.S; r && r !== e.N; ) {
1643
- if (t in r.object.h) {
1644
- try {
1645
- r.object.h[t] = n;
1646
- } catch {
1647
- i && m(e, e.j, "Cannot assign to read only variable '" + t + "'");
1648
- }
1649
- return;
1650
- }
1651
- r = r.Va;
1652
- }
1653
- if (r === e.N && (!i || Qe(e, r.object, t)))
1654
- return e.g(r.object, t, n);
1655
- m(e, e.pb, t + " is not defined");
1656
- }
1657
- function _e(e, t, n) {
1658
- if (t.jb)
1659
- var r = t.jb;
1660
- else {
1661
- switch (r = /* @__PURE__ */ Object.create(null), t.type) {
1662
- case "VariableDeclaration":
1663
- for (var i = 0; i < t.fa.length; i++)
1664
- r[t.fa[i].id.name] = !0;
1665
- break;
1666
- case "FunctionDeclaration":
1667
- r[t.id.name] = t;
1668
- break;
1669
- case "BlockStatement":
1670
- case "CatchClause":
1671
- case "DoWhileStatement":
1672
- case "ForInStatement":
1673
- case "ForStatement":
1674
- case "IfStatement":
1675
- case "LabeledStatement":
1676
- case "Program":
1677
- case "SwitchCase":
1678
- case "SwitchStatement":
1679
- case "TryStatement":
1680
- case "WithStatement":
1681
- case "WhileStatement":
1682
- var s = t.constructor, u;
1683
- for (u in t)
1684
- if (u !== "loc") {
1685
- var h = t[u];
1686
- if (h && typeof h == "object") {
1687
- if (Array.isArray(h)) {
1688
- for (i = 0; i < h.length; i++)
1689
- if (h[i] && h[i].constructor === s) {
1690
- var E = _e(e, h[i], n);
1691
- for (u in E)
1692
- r[u] = E[u];
1693
- }
1694
- } else if (h.constructor === s)
1695
- for (u in E = _e(e, h, n), E)
1696
- r[u] = E[u];
1697
- }
1698
- }
1699
- }
1700
- t.jb = r;
1701
- }
1702
- for (u in r)
1703
- r[u] === !0 ? e.g(n.object, u, void 0, wr) : e.g(n.object, u, Rt(e, r[u], n), wr);
1704
- return r;
1705
- }
1706
- function te(e) {
1707
- return e.o[e.o.length - 1].isConstructor;
1708
- }
1709
- function Dt(e, t) {
1710
- return t[0] === Ee ? bt(e, t[1]) : e.G(t[0], t[1]);
1711
- }
1712
- function _t(e, t, n) {
1713
- return t[0] === Ee ? Ar(e, t[1], n) : e.g(t[0], t[1], n);
1714
- }
1715
- function m(e, t, n) {
1716
- throw e.N ? (n !== void 0 && t instanceof k && (t = e.Aa(t), Ot(e, t, n)), Fe(e, 4, t), Cr) : n === void 0 ? t : n;
1717
- }
1718
- function Fe(e, t, n, r) {
1719
- if (t === 0)
1720
- throw TypeError("Should not unwind for NORMAL completions");
1721
- var i = e.o;
1722
- e:
1723
- for (; 0 < i.length; i.pop()) {
1724
- var s = i[i.length - 1];
1725
- switch (s.node.type) {
1726
- case "TryStatement":
1727
- s.ea = {
1728
- type: t,
1729
- value: n,
1730
- label: r
1731
- };
1732
- return;
1733
- case "CallExpression":
1734
- case "NewExpression":
1735
- if (t === 3) {
1736
- s.value = n;
1737
- return;
1738
- }
1739
- if (t !== 4)
1740
- throw Error("Unsynatctic break/continue not rejected by Acorn");
1741
- break;
1742
- case "Program":
1743
- s.done = !0;
1744
- break e;
1745
- }
1746
- if (t === 1) {
1747
- if (r ? s.labels && s.labels.indexOf(r) !== -1 : s.W || s.Zb) {
1748
- i.pop();
1749
- return;
1750
- }
1751
- } else if (t === 2 && (r ? s.labels && s.labels.indexOf(r) !== -1 : s.W))
1752
- return;
1753
- }
1754
- throw D(e, n, e.D) ? (t = {
1755
- EvalError,
1756
- RangeError,
1757
- ReferenceError,
1758
- SyntaxError,
1759
- TypeError,
1760
- URIError
1761
- }, r = String(e.G(n, "name")), i = e.G(n, "message").valueOf(), t = (t[r] || Error)(i), t.stack = String(e.G(n, "stack"))) : t = String(n), e.value = t, t;
1762
- }
1763
- function B(e, t) {
1764
- switch (t.type) {
1765
- case "ArrayExpression":
1766
- return "[...]";
1767
- case "BinaryExpression":
1768
- case "LogicalExpression":
1769
- return B(e, t.left) + " " + t.operator + " " + B(e, t.right);
1770
- case "CallExpression":
1771
- return B(e, t.callee) + "(...)";
1772
- case "ConditionalExpression":
1773
- return B(e, t.test) + " ? " + B(e, t.da) + " : " + B(e, t.alternate);
1774
- case "Identifier":
1775
- return t.name;
1776
- case "Literal":
1777
- return t.raw;
1778
- case "MemberExpression":
1779
- var n = B(e, t.object);
1780
- return e = B(e, t.Wa), t.bb ? n + "[" + e + "]" : n + "." + e;
1781
- case "NewExpression":
1782
- return "new " + B(e, t.callee) + "(...)";
1783
- case "ObjectExpression":
1784
- return "{...}";
1785
- case "ThisExpression":
1786
- return "this";
1787
- case "UnaryExpression":
1788
- return t.operator + " " + B(e, t.K);
1789
- case "UpdateExpression":
1790
- return n = B(e, t.K), t.prefix ? t.operator + n : n + t.operator;
1791
- }
1792
- return "???";
1793
- }
1794
- function xr(e, t, n) {
1795
- var r = e.o[e.o.length - 1], i = Array.from(n), s = i.shift();
1796
- n = Math.max(Number(i.shift() || 0), 0);
1797
- var u = e.ya();
1798
- if (s instanceof k && s.H === "Function") {
1799
- var h = s;
1800
- u.type = "CallExpression", r = r.scope;
1801
- } else {
1802
- try {
1803
- var E = de(String(s), "taskCode" + e.ic++);
1804
- } catch (F) {
1805
- m(e, e.T, "Invalid code: " + F.message);
1806
- }
1807
- u.type = "EvalProgram_", u.body = E.body, r = r.node.arguments[0], ze(u, r ? r.start : void 0, r ? r.end : void 0), r = e.N, i.length = 0;
1808
- }
1809
- return t = new gn(h, i, r, u, t ? n : -1), Ir(e, t, n), t.Db;
1810
- }
1811
- function Ir(e, t, n) {
1812
- t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, i) {
1813
- return r.time - i.time;
1814
- });
1815
- }
1816
- function jr(e, t) {
1817
- for (var n = 0; n < e.ca.length; n++)
1818
- if (e.ca[n].Db == t) {
1819
- e.ca.splice(n, 1);
1820
- break;
1821
- }
1822
- }
1823
- function Le(e, t, n) {
1824
- if (!e.P)
1825
- throw Error("Unexpected call to createGetter");
1826
- e.P = !1, n = Array.isArray(n) ? n[0] : n;
1827
- var r = e.ya();
1828
- return r.type = "CallExpression", e = new y(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
1829
- }
1830
- function Ft(e, t, n, r) {
1831
- if (!e.Ka)
1832
- throw Error("Unexpected call to createSetter");
1833
- e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
1834
- var i = e.ya();
1835
- return i.type = "CallExpression", e = new y(i, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
1836
- }
1837
- function St(e, t) {
1838
- return t == null ? e.Na : t instanceof k ? t : (e = e.s(ee(e, t)), e.data = t, e);
1839
- }
1840
- C.Xb = function() {
1841
- return this.N;
1842
- };
1843
- C.Yb = function() {
1844
- return this.o;
1845
- };
1846
- C.ec = function(e) {
1847
- this.o = e;
1848
- };
1849
- function y(e, t) {
1850
- this.node = e, this.scope = t;
1851
- }
1852
- function Tr(e, t, n) {
1853
- this.Va = e, this.S = t, this.object = n;
1854
- }
1855
- function k(e) {
1856
- this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
1857
- }
1858
- C = k.prototype;
1859
- C.xa = null;
1860
- C.H = "Object";
1861
- C.data = null;
1862
- C.toString = function() {
1863
- if (!Ue)
1864
- return "[object Interpreter.Object]";
1865
- if (!(this instanceof k))
1866
- return String(this);
1867
- if (this.H === "Array") {
1868
- var e = Er;
1869
- e.push(this);
1870
- try {
1871
- var t = [], n = this.h.length, r = !1;
1872
- 1024 < n && (n = 1e3, r = !0);
1873
- for (var i = 0; i < n; i++) {
1874
- var s = this.h[i];
1875
- t[i] = s instanceof k && e.indexOf(s) !== -1 ? "..." : s;
1876
- }
1877
- r && t.push("...");
1878
- } finally {
1879
- e.pop();
1880
- }
1881
- return t.join(",");
1882
- }
1883
- if (this.H === "Error") {
1884
- if (e = Er, e.indexOf(this) !== -1)
1885
- return "[object Error]";
1886
- n = this;
1887
- do
1888
- if ("name" in n.h) {
1889
- t = n.h.name;
1890
- break;
1891
- }
1892
- while (n = n.xa);
1893
- n = this;
1894
- do
1895
- if ("message" in n.h) {
1896
- r = n.h.message;
1897
- break;
1898
- }
1899
- while (n = n.xa);
1900
- e.push(this);
1901
- try {
1902
- t = t && String(t), r = r && String(r);
1903
- } finally {
1904
- e.pop();
1905
- }
1906
- return r ? t + ": " + r : String(t);
1907
- }
1908
- return this.data !== null ? String(this.data) : "[object " + this.H + "]";
1909
- };
1910
- C.valueOf = function() {
1911
- return !Ue || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
1912
- };
1913
- function gn(e, t, n, r, i) {
1914
- this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = i, this.Db = ++vn, this.time = 0;
1915
- }
1916
- var vn = 0;
1917
- f.prototype.stepArrayExpression = function(e, t, n) {
1918
- n = n.elements;
1919
- var r = t.A || 0;
1920
- for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = we(this), t.Oa.h.length = n.length); r < n.length; ) {
1921
- if (n[r])
1922
- return t.A = r, new y(n[r], t.scope);
1923
- r++;
1924
- }
1925
- e.pop(), e[e.length - 1].value = t.Oa;
1926
- };
1927
- f.prototype.stepAssignmentExpression = function(e, t, n) {
1928
- if (!t.ja)
1929
- return t.ja = !0, t = new y(n.left, t.scope), t.sa = !0, t;
1930
- if (!t.Da)
1931
- return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = Dt(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, Le(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new y(n.right, t.scope));
1932
- if (t.ta)
1933
- e.pop(), e[e.length - 1].value = t.ib;
1934
- else {
1935
- var r = t.ma, i = t.value;
1936
- switch (n.operator) {
1937
- case "=":
1938
- r = i;
1939
- break;
1940
- case "+=":
1941
- r += i;
1942
- break;
1943
- case "-=":
1944
- r -= i;
1945
- break;
1946
- case "*=":
1947
- r *= i;
1948
- break;
1949
- case "/=":
1950
- r /= i;
1951
- break;
1952
- case "%=":
1953
- r %= i;
1954
- break;
1955
- case "<<=":
1956
- r <<= i;
1957
- break;
1958
- case ">>=":
1959
- r >>= i;
1960
- break;
1961
- case ">>>=":
1962
- r >>>= i;
1963
- break;
1964
- case "&=":
1965
- r &= i;
1966
- break;
1967
- case "^=":
1968
- r ^= i;
1969
- break;
1970
- case "|=":
1971
- r |= i;
1972
- break;
1973
- default:
1974
- throw SyntaxError("Unknown assignment expression: " + n.operator);
1975
- }
1976
- if (n = _t(this, t.Fa, r))
1977
- return t.ta = !0, t.ib = r, Ft(this, n, t.Fa, r);
1978
- e.pop(), e[e.length - 1].value = r;
1979
- }
1980
- };
1981
- f.prototype.stepBinaryExpression = function(e, t, n) {
1982
- if (!t.ja)
1983
- return t.ja = !0, new y(n.left, t.scope);
1984
- if (!t.Da)
1985
- return t.Da = !0, t.ma = t.value, new y(n.right, t.scope);
1986
- e.pop();
1987
- var r = t.ma;
1988
- switch (t = t.value, n.operator) {
1989
- case "==":
1990
- n = r == t;
1991
- break;
1992
- case "!=":
1993
- n = r != t;
1994
- break;
1995
- case "===":
1996
- n = r === t;
1997
- break;
1998
- case "!==":
1999
- n = r !== t;
2000
- break;
2001
- case ">":
2002
- n = r > t;
2003
- break;
2004
- case ">=":
2005
- n = r >= t;
2006
- break;
2007
- case "<":
2008
- n = r < t;
2009
- break;
2010
- case "<=":
2011
- n = r <= t;
2012
- break;
2013
- case "+":
2014
- n = r + t;
2015
- break;
2016
- case "-":
2017
- n = r - t;
2018
- break;
2019
- case "*":
2020
- n = r * t;
2021
- break;
2022
- case "/":
2023
- n = r / t;
2024
- break;
2025
- case "%":
2026
- n = r % t;
2027
- break;
2028
- case "&":
2029
- n = r & t;
2030
- break;
2031
- case "|":
2032
- n = r | t;
2033
- break;
2034
- case "^":
2035
- n = r ^ t;
2036
- break;
2037
- case "<<":
2038
- n = r << t;
2039
- break;
2040
- case ">>":
2041
- n = r >> t;
2042
- break;
2043
- case ">>>":
2044
- n = r >>> t;
2045
- break;
2046
- case "in":
2047
- t instanceof k || m(this, this.j, "'in' expects an object, not '" + t + "'"), n = Qe(this, t, r);
2048
- break;
2049
- case "instanceof":
2050
- D(this, t, this.O) || m(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof k ? D(this, r, t) : !1;
2051
- break;
2052
- default:
2053
- throw SyntaxError("Unknown binary operator: " + n.operator);
2054
- }
2055
- e[e.length - 1].value = n;
2056
- };
2057
- f.prototype.stepBlockStatement = function(e, t, n) {
2058
- var r = t.A || 0;
2059
- if (n = n.body[r])
2060
- return t.A = r + 1, new y(n, t.scope);
2061
- e.pop();
2062
- };
2063
- f.prototype.stepBreakStatement = function(e, t, n) {
2064
- Fe(this, 1, void 0, n.label && n.label.name);
2065
- };
2066
- f.prototype.Hb = 0;
2067
- f.prototype.stepCallExpression = function(e, t, n) {
2068
- if (!t.ia) {
2069
- t.ia = 1;
2070
- var r = new y(n.callee, t.scope);
2071
- return r.sa = !0, r;
2072
- }
2073
- if (t.ia === 1) {
2074
- t.ia = 2;
2075
- var i = t.value;
2076
- if (Array.isArray(i)) {
2077
- if (t.U = Dt(this, i), i[0] === Ee ? t.Pb = i[1] === "eval" : t.B = i[0], i = t.U, this.P)
2078
- return t.ia = 1, Le(this, i, t.value);
2079
- } else
2080
- t.U = i;
2081
- t.F = [], t.A = 0;
2082
- }
2083
- if (i = t.U, !t.Qa) {
2084
- if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
2085
- return new y(n.arguments[t.A++], t.scope);
2086
- if (n.type === "NewExpression") {
2087
- if (i instanceof k && !i.Ab || m(this, this.j, B(this, n.callee) + " is not a constructor"), i === this.qa)
2088
- t.B = we(this);
2089
- else {
2090
- var s = i.h.prototype;
2091
- (typeof s != "object" || s === null) && (s = this.M), t.B = this.s(s);
2092
- }
2093
- t.isConstructor = !0;
2094
- }
2095
- t.Qa = !0;
2096
- }
2097
- if (t.eb)
2098
- e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2099
- else {
2100
- if (t.eb = !0, i instanceof k || m(this, this.j, B(this, n.callee) + " is not a function"), e = i.node) {
2101
- for (n = At(this, e.body, i.Va), r = we(this), i = 0; i < t.F.length; i++)
2102
- this.g(r, i, t.F[i]);
2103
- for (this.g(n.object, "arguments", r), i = 0; i < e.oa.length; i++)
2104
- this.g(n.object, e.oa[i].name, t.F.length > i ? t.F[i] : void 0);
2105
- return n.S || (t.B = St(this, t.B)), this.g(n.object, "this", t.B, It), t.value = void 0, new y(e.body, n);
2106
- }
2107
- if (i.eval)
2108
- if (i = t.F[0], typeof i != "string")
2109
- t.value = i;
2110
- else {
2111
- try {
2112
- r = de(String(i), "eval" + this.Hb++);
2113
- } catch (h) {
2114
- m(this, this.T, "Invalid code: " + h.message);
2115
- }
2116
- return i = this.ya(), i.type = "EvalProgram_", i.body = r.body, ze(i, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = At(this, r, n) : _e(this, r, n), this.value = void 0, new y(i, n);
2117
- }
2118
- else if (i.Ta)
2119
- t.scope.S || (t.B = St(this, t.B)), t.value = i.Ta.apply(t.B, t.F);
2120
- else if (i.Za) {
2121
- var u = this;
2122
- r = i.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(h) {
2123
- t.value = h, u.za = !1;
2124
- }), this.za = !0, t.scope.S || (t.B = St(this, t.B)), i.Za.apply(t.B, r);
2125
- } else
2126
- m(this, this.j, B(this, n.callee) + " is not callable");
2127
- }
2128
- };
2129
- f.prototype.stepConditionalExpression = function(e, t, n) {
2130
- var r = t.na || 0;
2131
- if (r === 0)
2132
- return t.na = 1, new y(n.test, t.scope);
2133
- if (r === 1) {
2134
- if (t.na = 2, (r = !!t.value) && n.da)
2135
- return new y(n.da, t.scope);
2136
- if (!r && n.alternate)
2137
- return new y(n.alternate, t.scope);
2138
- this.value = void 0;
2139
- }
2140
- e.pop(), n.type === "ConditionalExpression" && (e[e.length - 1].value = t.value);
2141
- };
2142
- f.prototype.stepContinueStatement = function(e, t, n) {
2143
- Fe(this, 2, void 0, n.label && n.label.name);
2144
- };
2145
- f.prototype.stepDebuggerStatement = function(e) {
2146
- e.pop();
2147
- };
2148
- f.prototype.stepDoWhileStatement = function(e, t, n) {
2149
- if (n.type === "DoWhileStatement" && t.ga === void 0 && (t.value = !0, t.ga = !0), !t.ga)
2150
- return t.ga = !0, new y(n.test, t.scope);
2151
- if (!t.value)
2152
- e.pop();
2153
- else if (n.body)
2154
- return t.ga = !1, t.W = !0, new y(n.body, t.scope);
2155
- };
2156
- f.prototype.stepEmptyStatement = function(e) {
2157
- e.pop();
2158
- };
2159
- f.prototype.stepEvalProgram_ = function(e, t, n) {
2160
- var r = t.A || 0;
2161
- if (n = n.body[r])
2162
- return t.A = r + 1, new y(n, t.scope);
2163
- e.pop(), e[e.length - 1].value = this.value;
2164
- };
2165
- f.prototype.stepExpressionStatement = function(e, t, n) {
2166
- if (!t.ka)
2167
- return this.value = void 0, t.ka = !0, new y(n.la, t.scope);
2168
- e.pop(), this.value = t.value;
2169
- };
2170
- f.prototype.stepForInStatement = function(e, t, n) {
2171
- if (!t.Ub && (t.Ub = !0, n.left.fa && n.left.fa[0].ua))
2172
- return t.scope.S && m(this, this.T, "for-in loop variable declaration may not have an initializer"), new y(n.left, t.scope);
2173
- if (!t.Ca)
2174
- return t.Ca = !0, t.pa || (t.pa = t.value), new y(n.right, t.scope);
2175
- if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
2176
- e:
2177
- for (; ; ) {
2178
- if (t.u instanceof k)
2179
- for (t.wa || (t.wa = Object.getOwnPropertyNames(t.u.h)); ; ) {
2180
- var r = t.wa.shift();
2181
- if (r === void 0)
2182
- break;
2183
- if (Object.prototype.hasOwnProperty.call(t.u.h, r) && !t.kb[r] && (t.kb[r] = !0, Object.prototype.propertyIsEnumerable.call(t.u.h, r))) {
2184
- t.Ra = r;
2185
- break e;
2186
- }
2187
- }
2188
- else if (t.u !== null && t.u !== void 0) {
2189
- for (t.wa || (t.wa = Object.getOwnPropertyNames(t.u)); r = t.wa.shift(), r !== void 0; )
2190
- if (t.kb[r] = !0, Object.prototype.propertyIsEnumerable.call(t.u, r)) {
2191
- t.Ra = r;
2192
- break e;
2193
- }
2194
- }
2195
- if (t.u = ee(this, t.u), t.wa = null, t.u === null) {
2196
- e.pop();
2197
- return;
2198
- }
2199
- }
2200
- if (!t.wb)
2201
- if (t.wb = !0, e = n.left, e.type === "VariableDeclaration")
2202
- t.pa = [Ee, e.fa[0].id.name];
2203
- else
2204
- return t.pa = null, t = new y(e, t.scope), t.sa = !0, t;
2205
- if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = _t(this, t.pa, e)))
2206
- return Ft(this, r, t.pa, e);
2207
- if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
2208
- return new y(n.body, t.scope);
2209
- };
2210
- f.prototype.stepForStatement = function(e, t, n) {
2211
- switch (t.na) {
2212
- default:
2213
- if (t.na = 1, n.ua)
2214
- return new y(n.ua, t.scope);
2215
- break;
2216
- case 1:
2217
- if (t.na = 2, n.test)
2218
- return new y(n.test, t.scope);
2219
- break;
2220
- case 2:
2221
- if (t.na = 3, n.test && !t.value)
2222
- e.pop();
2223
- else
2224
- return t.W = !0, new y(n.body, t.scope);
2225
- break;
2226
- case 3:
2227
- if (t.na = 1, n.update)
2228
- return new y(n.update, t.scope);
2229
- }
2230
- };
2231
- f.prototype.stepFunctionDeclaration = function(e) {
2232
- e.pop();
2233
- };
2234
- f.prototype.stepFunctionExpression = function(e, t, n) {
2235
- e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = Ut(this, e)), t.value = Rt(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, It);
2236
- };
2237
- f.prototype.stepIdentifier = function(e, t, n) {
2238
- if (e.pop(), t.sa)
2239
- e[e.length - 1].value = [Ee, n.name];
2240
- else {
2241
- if (t = bt(this, n.name), this.P)
2242
- return Le(this, t, this.Na);
2243
- e[e.length - 1].value = t;
2244
- }
2245
- };
2246
- f.prototype.stepIfStatement = f.prototype.stepConditionalExpression;
2247
- f.prototype.stepLabeledStatement = function(e, t, n) {
2248
- return e.pop(), e = t.labels || [], e.push(n.label.name), t = new y(n.body, t.scope), t.labels = e, t;
2249
- };
2250
- f.prototype.stepLiteral = function(e, t, n) {
2251
- e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), Nt(this, n, t), t = n), e[e.length - 1].value = t;
2252
- };
2253
- f.prototype.stepLogicalExpression = function(e, t, n) {
2254
- if (n.operator !== "&&" && n.operator !== "||")
2255
- throw SyntaxError("Unknown logical operator: " + n.operator);
2256
- if (!t.ja)
2257
- return t.ja = !0, new y(n.left, t.scope);
2258
- if (t.Da)
2259
- e.pop(), e[e.length - 1].value = t.value;
2260
- else if (n.operator === "&&" && !t.value || n.operator === "||" && t.value)
2261
- e.pop(), e[e.length - 1].value = t.value;
2262
- else
2263
- return t.Da = !0, new y(n.right, t.scope);
2264
- };
2265
- f.prototype.stepMemberExpression = function(e, t, n) {
2266
- if (!t.Ca)
2267
- return t.Ca = !0, new y(n.object, t.scope);
2268
- if (n.bb)
2269
- if (t.Vb)
2270
- n = t.value;
2271
- else
2272
- return t.u = t.value, t.Vb = !0, new y(n.Wa, t.scope);
2273
- else
2274
- t.u = t.value, n = n.Wa.name;
2275
- if (e.pop(), t.sa)
2276
- e[e.length - 1].value = [t.u, n];
2277
- else {
2278
- if (n = this.G(t.u, n), this.P)
2279
- return Le(this, n, t.u);
2280
- e[e.length - 1].value = n;
2281
- }
2282
- };
2283
- f.prototype.stepNewExpression = f.prototype.stepCallExpression;
2284
- f.prototype.stepObjectExpression = function(e, t, n) {
2285
- var r = t.A || 0, i = n.h[r];
2286
- if (t.u) {
2287
- var s = t.Pa;
2288
- t.Ja[s] || (t.Ja[s] = {}), t.Ja[s][i.kind] = t.value, t.A = ++r, i = n.h[r];
2289
- } else
2290
- t.u = this.s(this.M), t.Ja = /* @__PURE__ */ Object.create(null);
2291
- if (i) {
2292
- var u = i.key;
2293
- if (u.type === "Identifier")
2294
- s = u.name;
2295
- else if (u.type === "Literal")
2296
- s = u.value;
2297
- else
2298
- throw SyntaxError("Unknown object structure: " + u.type);
2299
- return t.Pa = s, new y(i.value, t.scope);
2300
- }
2301
- for (u in t.Ja)
2302
- n = t.Ja[u], "get" in n || "set" in n ? this.g(t.u, u, De, {
2303
- configurable: !0,
2304
- enumerable: !0,
2305
- get: n.get,
2306
- set: n.set
2307
- }) : this.g(t.u, u, n.init);
2308
- e.pop(), e[e.length - 1].value = t.u;
2309
- };
2310
- f.prototype.stepProgram = function(e, t, n) {
2311
- if (e = n.body.shift())
2312
- return t.done = !1, new y(e, t.scope);
2313
- t.done = !0;
2314
- };
2315
- f.prototype.stepReturnStatement = function(e, t, n) {
2316
- if (n.K && !t.ka)
2317
- return t.ka = !0, new y(n.K, t.scope);
2318
- Fe(this, 3, t.value);
2319
- };
2320
- f.prototype.stepSequenceExpression = function(e, t, n) {
2321
- var r = t.A || 0;
2322
- if (n = n.xb[r])
2323
- return t.A = r + 1, new y(n, t.scope);
2324
- e.pop(), e[e.length - 1].value = t.value;
2325
- };
2326
- f.prototype.stepSwitchStatement = function(e, t, n) {
2327
- if (!t.ga)
2328
- return t.ga = 1, new y(n.Qb, t.scope);
2329
- for (t.ga === 1 && (t.ga = 2, t.hc = t.value, t.cb = -1); ; ) {
2330
- var r = t.gb || 0, i = n.tb[r];
2331
- if (t.Ha || !i || i.test)
2332
- if (i || t.Ha || t.cb === -1)
2333
- if (i) {
2334
- if (!t.Ha && !t.Fb && i.test)
2335
- return t.Fb = !0, new y(i.test, t.scope);
2336
- if (t.Ha || t.value === t.hc) {
2337
- t.Ha = !0;
2338
- var s = t.A || 0;
2339
- if (i.da[s])
2340
- return t.Zb = !0, t.A = s + 1, new y(i.da[s], t.scope);
2341
- }
2342
- t.Fb = !1, t.A = 0, t.gb = r + 1;
2343
- } else {
2344
- e.pop();
2345
- break;
2346
- }
2347
- else
2348
- t.Ha = !0, t.gb = t.cb;
2349
- else
2350
- t.cb = r, t.gb = r + 1;
2351
- }
2352
- };
2353
- f.prototype.stepThisExpression = function(e) {
2354
- e.pop(), e[e.length - 1].value = bt(this, "this");
2355
- };
2356
- f.prototype.stepThrowStatement = function(e, t, n) {
2357
- if (t.ka)
2358
- m(this, t.value);
2359
- else
2360
- return t.ka = !0, new y(n.K, t.scope);
2361
- };
2362
- f.prototype.stepTryStatement = function(e, t, n) {
2363
- if (!t.Rb)
2364
- return t.Rb = !0, new y(n.block, t.scope);
2365
- if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
2366
- return t.Tb = !0, e = Ut(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new y(n.Ea.body, e);
2367
- if (!t.Sb && n.fb)
2368
- return t.Sb = !0, new y(n.fb, t.scope);
2369
- e.pop(), t.ea && Fe(this, t.ea.type, t.ea.value, t.ea.label);
2370
- };
2371
- f.prototype.stepUnaryExpression = function(e, t, n) {
2372
- if (!t.ka)
2373
- return t.ka = !0, e = new y(n.K, t.scope), e.sa = n.operator === "delete", e;
2374
- e.pop();
2375
- var r = t.value;
2376
- switch (n.operator) {
2377
- case "-":
2378
- r = -r;
2379
- break;
2380
- case "+":
2381
- r = +r;
2382
- break;
2383
- case "!":
2384
- r = !r;
2385
- break;
2386
- case "~":
2387
- r = ~r;
2388
- break;
2389
- case "delete":
2390
- if (n = !0, Array.isArray(r)) {
2391
- var i = r[0];
2392
- i === Ee && (i = t.scope), r = String(r[1]);
2393
- try {
2394
- delete i.h[r];
2395
- } catch {
2396
- t.scope.S ? m(this, this.j, "Cannot delete property '" + r + "' of '" + i + "'") : n = !1;
2397
- }
2398
- }
2399
- r = n;
2400
- break;
2401
- case "typeof":
2402
- r = r && r.H === "Function" ? "function" : typeof r;
2403
- break;
2404
- case "void":
2405
- r = void 0;
2406
- break;
2407
- default:
2408
- throw SyntaxError("Unknown unary operator: " + n.operator);
2409
- }
2410
- e[e.length - 1].value = r;
2411
- };
2412
- f.prototype.stepUpdateExpression = function(e, t, n) {
2413
- if (!t.ja)
2414
- return t.ja = !0, e = new y(n.K, t.scope), e.sa = !0, e;
2415
- if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
2416
- var r = Dt(this, t.Ga);
2417
- if (t.ma = r, this.P)
2418
- return t.Ba = !0, Le(this, r, t.Ga);
2419
- }
2420
- if (t.ta)
2421
- e.pop(), e[e.length - 1].value = t.ib;
2422
- else {
2423
- if (r = Number(t.ma), n.operator === "++")
2424
- var i = r + 1;
2425
- else if (n.operator === "--")
2426
- i = r - 1;
2427
- else
2428
- throw SyntaxError("Unknown update expression: " + n.operator);
2429
- if (n = n.prefix ? i : r, r = _t(this, t.Ga, i))
2430
- return t.ta = !0, t.ib = n, Ft(this, r, t.Ga, i);
2431
- e.pop(), e[e.length - 1].value = n;
2432
- }
2433
- };
2434
- f.prototype.stepVariableDeclaration = function(e, t, n) {
2435
- n = n.fa;
2436
- var r = t.A || 0, i = n[r];
2437
- for (t.Bb && i && (Ar(this, i.id.name, t.value), t.Bb = !1, i = n[++r]); i; ) {
2438
- if (i.ua)
2439
- return t.A = r, t.Bb = !0, t.Pa = i.id.name, new y(i.ua, t.scope);
2440
- i = n[++r];
2441
- }
2442
- e.pop();
2443
- };
2444
- f.prototype.stepWithStatement = function(e, t, n) {
2445
- return t.Ca ? (e.pop(), e = Ut(this, t.scope, t.value), new y(n.body, e)) : (t.Ca = !0, new y(n.object, t.scope));
2446
- };
2447
- f.prototype.stepWhileStatement = f.prototype.stepDoWhileStatement;
2448
- oe.Interpreter = f;
2449
- f.prototype.step = f.prototype.lb;
2450
- f.prototype.run = f.prototype.Eb;
2451
- f.prototype.appendCode = f.prototype.Jb;
2452
- f.prototype.createObject = f.prototype.Aa;
2453
- f.prototype.createObjectProto = f.prototype.s;
2454
- f.prototype.createAsyncFunction = f.prototype.ub;
2455
- f.prototype.createNativeFunction = f.prototype.i;
2456
- f.prototype.getProperty = f.prototype.G;
2457
- f.prototype.setProperty = f.prototype.g;
2458
- f.prototype.nativeToPseudo = f.prototype.Ia;
2459
- f.prototype.pseudoToNative = f.prototype.R;
2460
- f.prototype.getGlobalScope = f.prototype.Xb;
2461
- f.prototype.getStateStack = f.prototype.Yb;
2462
- f.prototype.setStateStack = f.prototype.ec;
2463
- f.VALUE_IN_DESCRIPTOR = De;
2464
- const yn = (e) => e.split(`
2465
- `).map((t) => {
2466
- const n = t.trim();
2467
- if (t.includes("__awaiter"))
2468
- return;
2469
- if (!n.startsWith("state."))
2470
- return t;
2471
- const [i, s] = n.split("="), h = `setRootState('${i.replace("state.", "").trim()}', ${s.trim()})`;
2472
- return `
2473
- ${t}
2474
- ${h}
2475
- `;
2476
- }).filter(Boolean).join(`
2477
- `), Sr = (e) => e + "JSON", mn = ({
2478
- builder: e,
2479
- context: t,
2480
- event: n,
2481
- rootState: r,
2482
- localState: i,
2483
- rootSetState: s,
2484
- code: u
2485
- }) => {
2486
- const h = {
2487
- ...r,
2488
- ...i
2489
- }, E = kr({
2490
- builder: e,
2491
- context: t,
2492
- event: n,
2493
- state: h
2494
- }), F = E.map(([U]) => {
2495
- const X = Sr(U);
2496
- return `var ${U} = ${X} === undefined ? undefined : JSON.parse(${X});`;
2497
- }).join(`
2498
- `), N = yn(u);
2499
- if (N === "") {
2500
- Ze.warn("Skipping evaluation of empty code block.");
2501
- return;
2502
- }
2503
- const O = `
2504
- function theFunction() {
2505
- ${F}
2506
-
2507
- ${N}
2508
- }
2509
- theFunction();
2510
- `, Be = (U, X) => {
2511
- const ce = Qr(h, U, X);
2512
- s == null || s(ce);
2513
- }, se = function(U, X) {
2514
- E.forEach(([ce, Ge]) => {
2515
- const S = JSON.stringify(Ge);
2516
- U.setProperty(X, Sr(ce), S);
2517
- }), U.setProperty(X, "setRootState", U.createNativeFunction(Be));
2518
- };
2519
- try {
2520
- const U = new f(O, se);
2521
- return U.run(), U.pseudoToNative(U.value);
2522
- } catch (U) {
2523
- Ze.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2524
- e: U
2525
- });
2526
- return;
2527
- }
2528
- }, dn = (e) => kt() ? Zr(e) : mn(e);
2529
- function En({
2530
- code: e,
2531
- context: t,
2532
- localState: n,
2533
- rootState: r,
2534
- rootSetState: i,
2535
- event: s,
2536
- isExpression: u = !0
2537
- }) {
2538
- if (e === "") {
2539
- Ze.warn("Skipping evaluation of empty code block.");
2540
- return;
2541
- }
2542
- const h = {
2543
- code: Kr(e, {
2544
- isExpression: u
2545
- }),
2546
- builder: Yr(),
2547
- context: t,
2548
- event: s,
2549
- rootSetState: i,
2550
- rootState: r,
2551
- localState: n
2552
- };
2553
- try {
2554
- return dn(h);
2555
- } catch (E) {
2556
- Ze.error("Failed code evaluation: " + E.message, {
2557
- code: e
2558
- });
2559
- return;
2560
- }
2561
- }
2562
- export {
2563
- En as e,
2564
- Qr as s
2565
- };