@builder.io/sdk-vue 0.6.4 → 0.7.1-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -2
- package/vue2/lib/{node/block-f8ec39b9.cjs → browser/block-b12c2a9e.cjs} +2 -2
- package/vue2/lib/browser/{block-7623343e.js → block-d44d5b8a.js} +7 -7
- package/vue2/lib/{node/block-styles-78f1fc51.js → browser/block-styles-b2bcecac.js} +5 -5
- package/vue2/lib/{edge/block-styles-d41b334a.cjs → browser/block-styles-fad43b2e.cjs} +1 -1
- package/vue2/lib/browser/{block-wrapper-d129f149.js → block-wrapper-230a8abf.js} +5 -5
- package/vue2/lib/browser/{block-wrapper-04c09786.cjs → block-wrapper-ecdc5285.cjs} +1 -1
- package/vue2/lib/browser/blocks/custom-code/custom-code.vue.d.ts +0 -1
- package/vue2/lib/browser/blocks/image/image.vue.d.ts +1 -1
- package/vue2/lib/{edge/blocks-wrapper-d1b2c241.js → browser/blocks-wrapper-37d1fbf5.js} +1 -1
- package/vue2/lib/{edge/blocks-wrapper-c1a59075.cjs → browser/blocks-wrapper-5f4ff269.cjs} +1 -1
- package/vue2/lib/{edge/component-ref-bac7483e.js → browser/component-ref-25028977.js} +6 -6
- package/vue2/lib/{edge/component-ref-f49d33aa.cjs → browser/component-ref-8d39a7f4.cjs} +1 -1
- package/vue2/lib/browser/components/content/components/enable-editor.vue.d.ts +2 -1
- package/vue2/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/{edge/content-ee5058bf.cjs → browser/content-e0b5be50.cjs} +1 -1
- package/vue2/lib/browser/{content-59001c88.js → content-e775e1b1.js} +66 -68
- package/vue2/lib/browser/{css-5244a373.js → css-41c2e31d.js} +1 -1
- package/vue2/lib/{node/css-e268cc90.cjs → browser/css-c292bae4.cjs} +1 -1
- package/vue2/lib/{node/enable-editor-0ec0fba2.js → browser/enable-editor-836e8731.js} +104 -90
- package/vue2/lib/browser/enable-editor-bf828ceb.cjs +1 -0
- package/vue2/lib/browser/evaluate-239c4f2e.js +86 -0
- package/vue2/lib/browser/evaluate-37bcc296.cjs +1 -0
- package/vue2/lib/browser/functions/evaluate/choose-eval.d.ts +6 -0
- package/vue2/lib/browser/functions/evaluate/evaluate.d.ts +1 -5
- package/vue2/lib/browser/functions/evaluate/helpers.d.ts +7 -1
- package/vue2/lib/browser/functions/evaluate/node-runtime/index.d.ts +1 -1
- package/vue2/lib/browser/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/vue2/lib/browser/functions/get-content/types.d.ts +94 -3
- package/vue2/lib/browser/functions/is-node-runtime.d.ts +4 -0
- package/vue2/lib/browser/{get-block-actions-72575937.cjs → get-block-actions-0e6055b8.cjs} +1 -1
- package/vue2/lib/{node/get-block-actions-19c074c1.js → browser/get-block-actions-eb308dbc.js} +2 -2
- package/vue2/lib/{node/get-block-properties-a61a4f44.cjs → browser/get-block-properties-a17c5ae7.cjs} +1 -1
- package/vue2/lib/browser/{get-block-properties-8bd6705f.js → get-block-properties-f1d87f5b.js} +2 -2
- package/vue2/lib/browser/{get-processed-block-df5bc2af.cjs → get-processed-block-469b6014.cjs} +1 -1
- package/vue2/lib/{node/get-processed-block-5ea5ad51.js → browser/get-processed-block-dac77b11.js} +2 -2
- package/vue2/lib/browser/index-0daf250a.cjs +32 -0
- package/vue2/lib/{node/index-cd218de0.js → browser/index-2c3e3aa0.js} +389 -370
- package/vue2/lib/browser/index.cjs +1 -1
- package/vue2/lib/browser/index.js +5 -5
- package/vue2/lib/browser/{inlined-script-b9da40ba.cjs → inlined-script-17a3e298.cjs} +1 -1
- package/vue2/lib/{edge/inlined-script-1c876548.js → browser/inlined-script-a2ce7e25.js} +1 -1
- package/vue2/lib/{node/inlined-styles-86ba9613.cjs → browser/inlined-styles-02129d25.cjs} +1 -1
- package/vue2/lib/{node/inlined-styles-cb8ac12b.js → browser/inlined-styles-25974197.js} +1 -1
- package/vue2/lib/{node/interactive-element-7034b3c2.cjs → browser/interactive-element-31618273.cjs} +1 -1
- package/vue2/lib/{node/interactive-element-c2e016e7.js → browser/interactive-element-95e7ed70.js} +5 -5
- package/vue2/lib/browser/{repeated-block-515aea68.cjs → repeated-block-dc24507b.cjs} +1 -1
- package/vue2/lib/{node/repeated-block-82b3437a.js → browser/repeated-block-df873ea1.js} +2 -2
- package/vue2/lib/browser/style.css +1 -1
- package/vue2/lib/{node/styles-b9bdec6e.js → browser/styles-c0e6af8c.js} +2 -2
- package/vue2/lib/{node/styles-f43008cc.cjs → browser/styles-eb6d5133.cjs} +2 -2
- package/vue2/lib/{browser/block-f8ec39b9.cjs → edge/block-6ae253d3.cjs} +2 -2
- package/vue2/lib/edge/{block-9a136438.js → block-ee5e6b30.js} +7 -7
- package/vue2/lib/{node/block-styles-442c9444.cjs → edge/block-styles-0db05976.cjs} +1 -1
- package/vue2/lib/edge/{block-styles-293e6520.js → block-styles-7ddd1160.js} +5 -5
- package/vue2/lib/{node/block-wrapper-d129f149.js → edge/block-wrapper-2516c8f0.js} +5 -5
- package/vue2/lib/edge/{block-wrapper-e6bc8771.cjs → block-wrapper-4a546b0f.cjs} +1 -1
- package/vue2/lib/edge/blocks/custom-code/custom-code.vue.d.ts +0 -1
- package/vue2/lib/edge/blocks/image/image.vue.d.ts +1 -1
- package/vue2/lib/{browser/blocks-wrapper-ffcf193b.cjs → edge/blocks-wrapper-be115723.cjs} +1 -1
- package/vue2/lib/{browser/blocks-wrapper-744d9c88.js → edge/blocks-wrapper-f30c1e2e.js} +1 -1
- package/vue2/lib/{node/component-ref-ad91463a.js → edge/component-ref-7ca49e69.js} +6 -6
- package/vue2/lib/{node/component-ref-c0bc64bb.cjs → edge/component-ref-f5f09e76.cjs} +1 -1
- package/vue2/lib/edge/components/content/components/enable-editor.vue.d.ts +2 -1
- package/vue2/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/edge/{content-dd98b5f2.js → content-32e8afd0.js} +66 -68
- package/vue2/lib/{browser/content-6391e001.cjs → edge/content-e389cb08.cjs} +1 -1
- package/vue2/lib/edge/{css-a40d0ce1.js → css-905123d6.js} +1 -1
- package/vue2/lib/{browser/css-e268cc90.cjs → edge/css-db1fb81d.cjs} +1 -1
- package/vue2/lib/{browser/enable-editor-0ec0fba2.js → edge/enable-editor-5339c72b.js} +104 -90
- package/vue2/lib/edge/enable-editor-8460bc4f.cjs +1 -0
- package/vue2/lib/edge/evaluate-7b0fdb29.cjs +21 -0
- package/vue2/lib/edge/{evaluate-5aed4676.js → evaluate-8d6921da.js} +379 -346
- package/vue2/lib/edge/functions/evaluate/choose-eval.d.ts +6 -0
- package/vue2/lib/edge/functions/evaluate/evaluate.d.ts +1 -5
- package/vue2/lib/edge/functions/evaluate/helpers.d.ts +7 -1
- package/vue2/lib/edge/functions/evaluate/node-runtime/index.d.ts +1 -1
- package/vue2/lib/edge/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/vue2/lib/edge/functions/get-content/types.d.ts +94 -3
- package/vue2/lib/edge/functions/is-node-runtime.d.ts +4 -0
- package/vue2/lib/edge/{get-block-actions-877fd5f9.cjs → get-block-actions-ac5cd221.cjs} +1 -1
- package/vue2/lib/{browser/get-block-actions-19c074c1.js → edge/get-block-actions-eb1322f1.js} +2 -2
- package/vue2/lib/{browser/get-block-properties-a61a4f44.cjs → edge/get-block-properties-e45bd13c.cjs} +1 -1
- package/vue2/lib/edge/{get-block-properties-8b0da7b7.js → get-block-properties-fc55bc69.js} +2 -2
- package/vue2/lib/edge/{get-processed-block-ccaa4214.cjs → get-processed-block-3a429bb7.cjs} +1 -1
- package/vue2/lib/edge/{get-processed-block-f0bfcc66.js → get-processed-block-9e3229f1.js} +2 -2
- package/vue2/lib/edge/{index-f8dc2e35.js → index-0840538e.js} +389 -370
- package/vue2/lib/edge/index-66f83dfa.cjs +32 -0
- package/vue2/lib/edge/index.cjs +1 -1
- package/vue2/lib/edge/index.js +5 -5
- package/vue2/lib/{node/inlined-script-4f903f8e.js → edge/inlined-script-8ceab368.js} +1 -1
- package/vue2/lib/{node/inlined-script-b9da40ba.cjs → edge/inlined-script-9311a8f4.cjs} +1 -1
- package/vue2/lib/edge/{inlined-styles-7ebd6646.js → inlined-styles-4826f427.js} +1 -1
- package/vue2/lib/{browser/inlined-styles-86ba9613.cjs → edge/inlined-styles-f0c5389f.cjs} +1 -1
- package/vue2/lib/edge/{interactive-element-3eaf0e7a.cjs → interactive-element-20464160.cjs} +1 -1
- package/vue2/lib/{browser/interactive-element-c2e016e7.js → edge/interactive-element-a4e1753a.js} +5 -5
- package/vue2/lib/{browser/repeated-block-82b3437a.js → edge/repeated-block-5ff563c4.js} +2 -2
- package/vue2/lib/edge/{repeated-block-446ae014.cjs → repeated-block-90ff0a8e.cjs} +1 -1
- package/vue2/lib/edge/style.css +1 -1
- package/vue2/lib/{browser/styles-b9bdec6e.js → edge/styles-0821e7bd.js} +2 -2
- package/vue2/lib/{browser/styles-f43008cc.cjs → edge/styles-8e148f6b.cjs} +2 -2
- package/vue2/lib/{edge/block-33134063.cjs → node/block-46a1926a.cjs} +2 -2
- package/vue2/lib/node/{block-7623343e.js → block-a1bcdc0f.js} +7 -7
- package/vue2/lib/{browser/block-styles-442c9444.cjs → node/block-styles-34b37b5f.cjs} +1 -1
- package/vue2/lib/{browser/block-styles-78f1fc51.js → node/block-styles-40dfb747.js} +5 -5
- package/vue2/lib/{edge/block-wrapper-2f05e945.js → node/block-wrapper-02a13832.js} +5 -5
- package/vue2/lib/node/{block-wrapper-04c09786.cjs → block-wrapper-d012bc77.cjs} +1 -1
- package/vue2/lib/node/blocks/custom-code/custom-code.vue.d.ts +0 -1
- package/vue2/lib/node/blocks/image/image.vue.d.ts +1 -1
- package/vue2/lib/node/{blocks-wrapper-ffcf193b.cjs → blocks-wrapper-111adf2e.cjs} +1 -1
- package/vue2/lib/node/{blocks-wrapper-744d9c88.js → blocks-wrapper-2cf7c243.js} +1 -1
- package/vue2/lib/{browser/component-ref-ad91463a.js → node/component-ref-686b70a8.js} +6 -6
- package/vue2/lib/{browser/component-ref-c0bc64bb.cjs → node/component-ref-8664d291.cjs} +1 -1
- package/vue2/lib/node/components/content/components/enable-editor.vue.d.ts +2 -1
- package/vue2/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/node/{content-59001c88.js → content-750b77c5.js} +66 -68
- package/vue2/lib/node/{content-6391e001.cjs → content-804eb1c1.cjs} +1 -1
- package/vue2/lib/node/{css-5244a373.js → css-0997fa70.js} +1 -1
- package/vue2/lib/{edge/css-6d51b919.cjs → node/css-698817f7.cjs} +1 -1
- package/vue2/lib/node/enable-editor-4c3b62ba.cjs +1 -0
- package/vue2/lib/{edge/enable-editor-aeb1f840.js → node/enable-editor-991cf703.js} +104 -90
- package/vue2/lib/node/evaluate-06bae117.js +187 -0
- package/vue2/lib/node/evaluate-fc74c806.cjs +41 -0
- package/vue2/lib/node/functions/evaluate/choose-eval.d.ts +6 -0
- package/vue2/lib/node/functions/evaluate/evaluate.d.ts +1 -5
- package/vue2/lib/node/functions/evaluate/helpers.d.ts +7 -1
- package/vue2/lib/node/functions/evaluate/node-runtime/index.d.ts +1 -1
- package/vue2/lib/node/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/vue2/lib/node/functions/get-content/types.d.ts +94 -3
- package/vue2/lib/node/functions/is-node-runtime.d.ts +4 -0
- package/vue2/lib/node/{get-block-actions-72575937.cjs → get-block-actions-779fa30b.cjs} +1 -1
- package/vue2/lib/{edge/get-block-actions-350bc978.js → node/get-block-actions-9781c926.js} +2 -2
- package/vue2/lib/{edge/get-block-properties-ece4e040.cjs → node/get-block-properties-090f2906.cjs} +1 -1
- package/vue2/lib/node/{get-block-properties-8bd6705f.js → get-block-properties-ed8d55a8.js} +2 -2
- package/vue2/lib/node/get-processed-block-267a96eb.js +52 -0
- package/vue2/lib/node/get-processed-block-270c0450.cjs +1 -0
- package/vue2/lib/node/index-55b86b2c.cjs +32 -0
- package/vue2/lib/{browser/index-cd218de0.js → node/index-fe4f9482.js} +389 -370
- package/vue2/lib/node/index.cjs +1 -1
- package/vue2/lib/node/index.js +5 -5
- package/vue2/lib/{edge/inlined-script-44721dc7.cjs → node/inlined-script-37af305a.cjs} +1 -1
- package/vue2/lib/{browser/inlined-script-4f903f8e.js → node/inlined-script-9bf9544a.js} +1 -1
- package/vue2/lib/{browser/inlined-styles-cb8ac12b.js → node/inlined-styles-7a704065.js} +1 -1
- package/vue2/lib/{edge/inlined-styles-eb80e4fe.cjs → node/inlined-styles-e812d54a.cjs} +1 -1
- package/vue2/lib/{edge/interactive-element-64d11339.js → node/interactive-element-a9adc81f.js} +5 -5
- package/vue2/lib/{browser/interactive-element-7034b3c2.cjs → node/interactive-element-e940e56b.cjs} +1 -1
- package/vue2/lib/{edge/repeated-block-b9a8feeb.js → node/repeated-block-acab5426.js} +2 -2
- package/vue2/lib/node/{repeated-block-515aea68.cjs → repeated-block-ef2bf12f.cjs} +1 -1
- package/vue2/lib/node/style.css +1 -1
- package/vue2/lib/{edge/styles-cfea6654.js → node/styles-34c3741a.js} +2 -2
- package/vue2/lib/{edge/styles-36552ab4.cjs → node/styles-93f84a1d.cjs} +2 -2
- package/vue2/package.json +2 -0
- package/vue3/lib/browser/{block-wrapper.1501b793.cjs → block-wrapper.75f65d10.cjs} +1 -1
- package/vue3/lib/{edge/block-wrapper.e3b7b422.js → browser/block-wrapper.eb12cfdc.js} +2 -2
- package/vue3/lib/browser/blocks/custom-code/custom-code.vue.d.ts +0 -1
- package/vue3/lib/browser/blocks/image/image.vue.d.ts +1 -1
- package/vue3/lib/{edge/component-ref.7035b91b.js → browser/component-ref.ce36b7ec.js} +2 -2
- package/vue3/lib/browser/{component-ref.4f5f964f.cjs → component-ref.f391a5ee.cjs} +1 -1
- package/vue3/lib/browser/components/content/components/enable-editor.vue.d.ts +8 -7
- package/vue3/lib/browser/components/content/content.vue.d.ts +6 -6
- package/vue3/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/browser/functions/evaluate/choose-eval.d.ts +6 -0
- package/vue3/lib/browser/functions/evaluate/evaluate.d.ts +1 -5
- package/vue3/lib/browser/functions/evaluate/helpers.d.ts +7 -1
- package/vue3/lib/browser/functions/evaluate/node-runtime/index.d.ts +1 -1
- package/vue3/lib/browser/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/vue3/lib/browser/functions/get-content/types.d.ts +94 -3
- package/vue3/lib/browser/functions/is-node-runtime.d.ts +4 -0
- package/vue3/lib/{edge/get-block-actions.7d762289.js → browser/get-block-actions.7c580dff.js} +1 -1
- package/vue3/lib/{node/get-block-actions.316f88d7.cjs → browser/get-block-actions.e6dfffe3.cjs} +1 -1
- package/vue3/lib/{node/index.67caa0a0.js → browser/index.188d2ee5.js} +673 -640
- package/vue3/lib/browser/index.cjs +1 -1
- package/vue3/lib/browser/index.fb1c2a1f.cjs +69 -0
- package/vue3/lib/browser/index.js +1 -1
- package/vue3/lib/browser/{repeated-block.3a15e789.cjs → repeated-block.2431c33d.cjs} +1 -1
- package/vue3/lib/{edge/repeated-block.59223c04.js → browser/repeated-block.7a8762fc.js} +2 -2
- package/vue3/lib/browser/style.css +1 -1
- package/vue3/lib/edge/{block-wrapper.8441fbe1.cjs → block-wrapper.0868030f.cjs} +1 -1
- package/vue3/lib/{node/block-wrapper.d71006fa.js → edge/block-wrapper.cab4805b.js} +2 -2
- package/vue3/lib/edge/blocks/custom-code/custom-code.vue.d.ts +0 -1
- package/vue3/lib/edge/blocks/image/image.vue.d.ts +1 -1
- package/vue3/lib/{node/component-ref.104f0d16.js → edge/component-ref.ace67608.js} +2 -2
- package/vue3/lib/{node/component-ref.4f5f964f.cjs → edge/component-ref.ae7eec27.cjs} +1 -1
- package/vue3/lib/edge/components/content/components/enable-editor.vue.d.ts +8 -7
- package/vue3/lib/edge/components/content/content.vue.d.ts +6 -6
- package/vue3/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/edge/functions/evaluate/choose-eval.d.ts +6 -0
- package/vue3/lib/edge/functions/evaluate/evaluate.d.ts +1 -5
- package/vue3/lib/edge/functions/evaluate/helpers.d.ts +7 -1
- package/vue3/lib/edge/functions/evaluate/node-runtime/index.d.ts +1 -1
- package/vue3/lib/edge/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/vue3/lib/edge/functions/get-content/types.d.ts +94 -3
- package/vue3/lib/edge/functions/is-node-runtime.d.ts +4 -0
- package/vue3/lib/edge/{get-block-actions.37ab332e.cjs → get-block-actions.83fca99e.cjs} +1 -1
- package/vue3/lib/{browser/get-block-actions.12becb73.js → edge/get-block-actions.cfa7e625.js} +1 -1
- package/vue3/lib/edge/{index.811ded87.js → index.28b94406.js} +1310 -1249
- package/vue3/lib/edge/index.8e0db5cb.cjs +89 -0
- package/vue3/lib/edge/index.cjs +1 -1
- package/vue3/lib/edge/index.js +1 -1
- package/vue3/lib/edge/{repeated-block.2c467c57.cjs → repeated-block.4515ae00.cjs} +1 -1
- package/vue3/lib/{node/repeated-block.ab5e93b5.js → edge/repeated-block.4f0522f0.js} +2 -2
- package/vue3/lib/edge/style.css +1 -1
- package/vue3/lib/node/block-wrapper.4b048f0a.cjs +1 -0
- package/vue3/lib/{browser/block-wrapper.d71006fa.js → node/block-wrapper.529d85d5.js} +9 -8
- package/vue3/lib/node/blocks/custom-code/custom-code.vue.d.ts +0 -1
- package/vue3/lib/node/blocks/image/image.vue.d.ts +1 -1
- package/vue3/lib/{browser/component-ref.104f0d16.js → node/component-ref.3c9a0fb1.js} +5 -4
- package/vue3/lib/node/component-ref.c78bd861.cjs +1 -0
- package/vue3/lib/node/components/content/components/enable-editor.vue.d.ts +8 -7
- package/vue3/lib/node/components/content/content.vue.d.ts +6 -6
- package/vue3/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/node/functions/evaluate/choose-eval.d.ts +6 -0
- package/vue3/lib/node/functions/evaluate/evaluate.d.ts +1 -5
- package/vue3/lib/node/functions/evaluate/helpers.d.ts +7 -1
- package/vue3/lib/node/functions/evaluate/node-runtime/index.d.ts +1 -1
- package/vue3/lib/node/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/vue3/lib/node/functions/get-content/types.d.ts +94 -3
- package/vue3/lib/node/functions/is-node-runtime.d.ts +4 -0
- package/vue3/lib/node/{get-block-actions.12becb73.js → get-block-actions.65678660.js} +1 -1
- package/vue3/lib/{browser/get-block-actions.316f88d7.cjs → node/get-block-actions.977f70db.cjs} +1 -1
- package/vue3/lib/{browser/index.67caa0a0.js → node/index.1a21f267.js} +845 -718
- package/vue3/lib/node/index.baa2a660.cjs +109 -0
- package/vue3/lib/node/index.cjs +1 -1
- package/vue3/lib/node/index.js +27 -26
- package/vue3/lib/{browser/repeated-block.ab5e93b5.js → node/repeated-block.04f4039b.js} +5 -4
- package/vue3/lib/node/repeated-block.33e03818.cjs +1 -0
- package/vue3/lib/node/style.css +1 -1
- package/vue3/package.json +2 -0
- package/vue2/lib/browser/enable-editor-68f3b7d1.cjs +0 -1
- package/vue2/lib/browser/evaluate-81e9d18d.js +0 -81
- package/vue2/lib/browser/evaluate-c6468e7e.cjs +0 -1
- package/vue2/lib/browser/get-processed-block-5ea5ad51.js +0 -58
- package/vue2/lib/browser/index-4480d5e4.cjs +0 -32
- package/vue2/lib/edge/enable-editor-86cc8a4d.cjs +0 -1
- package/vue2/lib/edge/evaluate-16c456b4.cjs +0 -21
- package/vue2/lib/edge/index-df9193d2.cjs +0 -32
- package/vue2/lib/node/enable-editor-68f3b7d1.cjs +0 -1
- package/vue2/lib/node/evaluate-81e9d18d.js +0 -81
- package/vue2/lib/node/evaluate-c6468e7e.cjs +0 -1
- package/vue2/lib/node/get-processed-block-df5bc2af.cjs +0 -1
- package/vue2/lib/node/index-4480d5e4.cjs +0 -32
- package/vue3/lib/browser/index.2b9eb004.cjs +0 -69
- package/vue3/lib/edge/component-ref.40439a7f.cjs +0 -1
- package/vue3/lib/edge/index.db87480a.cjs +0 -89
- package/vue3/lib/node/block-wrapper.1501b793.cjs +0 -1
- package/vue3/lib/node/index.2b9eb004.cjs +0 -69
- package/vue3/lib/node/repeated-block.3a15e789.cjs +0 -1
|
@@ -1,16 +1,64 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { i as $r, m as kt, w as Jr, v as Ze } from "./index-0840538e.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) => {
|
|
3
51
|
if (Object(e) !== e)
|
|
4
52
|
return e;
|
|
5
53
|
const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
6
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;
|
|
7
55
|
};
|
|
8
|
-
var C,
|
|
56
|
+
var C, qr = function(e) {
|
|
9
57
|
function t(o) {
|
|
10
|
-
return 48 > o ? o === 36 : 58 > o ? !0 : 65 > o ? !1 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= 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));
|
|
11
59
|
}
|
|
12
60
|
function n(o) {
|
|
13
|
-
return 65 > o ? o === 36 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o &&
|
|
61
|
+
return 65 > o ? o === 36 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && mr.test(String.fromCharCode(o));
|
|
14
62
|
}
|
|
15
63
|
function r(o, a) {
|
|
16
64
|
for (var l = g, p = 1, w = 0; ; ) {
|
|
@@ -38,39 +86,39 @@ var C, Yr = function(e) {
|
|
|
38
86
|
this.line = ue, this.ab = c - K;
|
|
39
87
|
}
|
|
40
88
|
function u(o, a) {
|
|
41
|
-
fe = c,
|
|
89
|
+
fe = c, j.C && (lt = new s()), d = o, E(), W = a, ke = o.m;
|
|
42
90
|
}
|
|
43
91
|
function h() {
|
|
44
|
-
for (var o = c, a =
|
|
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; )
|
|
45
93
|
++c, l = g.charCodeAt(c);
|
|
46
|
-
|
|
94
|
+
j.va && j.va(!1, g.slice(o + 2, c), o, c, a, j.C && new s());
|
|
47
95
|
}
|
|
48
|
-
function
|
|
96
|
+
function E() {
|
|
49
97
|
for (; c < pe; ) {
|
|
50
98
|
var o = g.charCodeAt(c);
|
|
51
99
|
if (o === 32)
|
|
52
100
|
++c;
|
|
53
101
|
else if (o === 13)
|
|
54
|
-
++c, o = g.charCodeAt(c), o === 10 && ++c,
|
|
102
|
+
++c, o = g.charCodeAt(c), o === 10 && ++c, j.C && (++ue, K = c);
|
|
55
103
|
else if (o === 10 || o === 8232 || o === 8233)
|
|
56
|
-
++c,
|
|
104
|
+
++c, j.C && (++ue, K = c);
|
|
57
105
|
else if (8 < o && 14 > o)
|
|
58
106
|
++c;
|
|
59
107
|
else if (o === 47)
|
|
60
108
|
if (o = g.charCodeAt(c + 1), o === 42) {
|
|
61
109
|
o = void 0;
|
|
62
|
-
var a =
|
|
63
|
-
if (p === -1 && r(c - 2, "Unterminated comment"), c = p + 2,
|
|
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)
|
|
64
112
|
for (Ke.lastIndex = l; (o = Ke.exec(g)) && o.index < c; )
|
|
65
113
|
++ue, K = o.index + o[0].length;
|
|
66
|
-
|
|
114
|
+
j.va && j.va(!0, g.slice(l + 2, p), l, c, a, j.C && new s());
|
|
67
115
|
} else if (o === 47)
|
|
68
116
|
h();
|
|
69
117
|
else
|
|
70
118
|
break;
|
|
71
119
|
else if (o === 160)
|
|
72
120
|
++c;
|
|
73
|
-
else if (5760 <= o &&
|
|
121
|
+
else if (5760 <= o && Vr.test(String.fromCharCode(o)))
|
|
74
122
|
++c;
|
|
75
123
|
else
|
|
76
124
|
break;
|
|
@@ -79,7 +127,7 @@ var C, Yr = function(e) {
|
|
|
79
127
|
function F(o) {
|
|
80
128
|
switch (o) {
|
|
81
129
|
case 46:
|
|
82
|
-
o = g.charCodeAt(c + 1), 48 <= o && 57 >= o ? U(!0) : (++c, u(
|
|
130
|
+
o = g.charCodeAt(c + 1), 48 <= o && 57 >= o ? U(!0) : (++c, u(lr));
|
|
83
131
|
return;
|
|
84
132
|
case 40:
|
|
85
133
|
return ++c, u(Z);
|
|
@@ -100,7 +148,7 @@ var C, Yr = function(e) {
|
|
|
100
148
|
case 58:
|
|
101
149
|
return ++c, u(Ie);
|
|
102
150
|
case 63:
|
|
103
|
-
return ++c, u(
|
|
151
|
+
return ++c, u(cr);
|
|
104
152
|
case 48:
|
|
105
153
|
if (o = g.charCodeAt(c + 1), o === 120 || o === 88) {
|
|
106
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);
|
|
@@ -169,7 +217,7 @@ var C, Yr = function(e) {
|
|
|
169
217
|
case 13:
|
|
170
218
|
g.charCodeAt(c) === 10 && ++c;
|
|
171
219
|
case 10:
|
|
172
|
-
|
|
220
|
+
j.C && (K = c, ++ue);
|
|
173
221
|
break;
|
|
174
222
|
default:
|
|
175
223
|
a += String.fromCharCode(l);
|
|
@@ -179,45 +227,45 @@ var C, Yr = function(e) {
|
|
|
179
227
|
}
|
|
180
228
|
return;
|
|
181
229
|
case 47:
|
|
182
|
-
o = g.charCodeAt(c + 1), ke ? (++c, Be()) : o === 61 ? O(le, 2) : O(
|
|
230
|
+
o = g.charCodeAt(c + 1), ke ? (++c, Be()) : o === 61 ? O(le, 2) : O(pr, 1);
|
|
183
231
|
return;
|
|
184
232
|
case 37:
|
|
185
233
|
case 42:
|
|
186
|
-
g.charCodeAt(c + 1) === 61 ? O(le, 2) : O(
|
|
234
|
+
g.charCodeAt(c + 1) === 61 ? O(le, 2) : O(Br, 1);
|
|
187
235
|
return;
|
|
188
236
|
case 124:
|
|
189
237
|
case 38:
|
|
190
|
-
a = g.charCodeAt(c + 1), a === o ? O(o === 124 ?
|
|
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);
|
|
191
239
|
return;
|
|
192
240
|
case 94:
|
|
193
|
-
g.charCodeAt(c + 1) === 61 ? O(le, 2) : O(
|
|
241
|
+
g.charCodeAt(c + 1) === 61 ? O(le, 2) : O(Ur, 1);
|
|
194
242
|
return;
|
|
195
243
|
case 43:
|
|
196
244
|
case 45:
|
|
197
|
-
a = g.charCodeAt(c + 1), a === o ? a === 45 && g.charCodeAt(c + 2) === 62 && Ye.test(g.slice(ne, c)) ? (c += 3, h(),
|
|
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);
|
|
198
246
|
return;
|
|
199
247
|
case 60:
|
|
200
248
|
case 62:
|
|
201
|
-
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(
|
|
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));
|
|
202
250
|
return;
|
|
203
251
|
case 61:
|
|
204
252
|
case 33:
|
|
205
|
-
g.charCodeAt(c + 1) === 61 ? O(
|
|
253
|
+
g.charCodeAt(c + 1) === 61 ? O(Dr, g.charCodeAt(c + 2) === 61 ? 3 : 2) : O(o === 61 ? fr : hr, 1);
|
|
206
254
|
return;
|
|
207
255
|
case 126:
|
|
208
|
-
return O(
|
|
256
|
+
return O(hr, 1);
|
|
209
257
|
}
|
|
210
258
|
return !1;
|
|
211
259
|
}
|
|
212
|
-
function
|
|
213
|
-
if (o ? c = M + 1 : M = c,
|
|
260
|
+
function N(o) {
|
|
261
|
+
if (o ? c = M + 1 : M = c, j.C && (ut = new s()), o)
|
|
214
262
|
return Be();
|
|
215
263
|
if (c >= pe)
|
|
216
264
|
return u(ft);
|
|
217
265
|
if (o = g.charCodeAt(c), n(o) || o === 92)
|
|
218
266
|
return Ge();
|
|
219
267
|
if (F(o) === !1) {
|
|
220
|
-
if (o = String.fromCharCode(o), o === "\\" ||
|
|
268
|
+
if (o = String.fromCharCode(o), o === "\\" || mr.test(o))
|
|
221
269
|
return Ge();
|
|
222
270
|
r(c, "Unexpected character '" + o + "'");
|
|
223
271
|
}
|
|
@@ -249,7 +297,7 @@ var C, Yr = function(e) {
|
|
|
249
297
|
} catch (R) {
|
|
250
298
|
throw R instanceof SyntaxError && r(l, R.message), R;
|
|
251
299
|
}
|
|
252
|
-
u(
|
|
300
|
+
u(Wt, w);
|
|
253
301
|
}
|
|
254
302
|
function se(o, a) {
|
|
255
303
|
for (var l = c, p = 0, w = a === void 0 ? 1 / 0 : a, R = 0; R < w; ++R) {
|
|
@@ -287,49 +335,49 @@ var C, Yr = function(e) {
|
|
|
287
335
|
}
|
|
288
336
|
function Ge() {
|
|
289
337
|
var o = ce(), a = he;
|
|
290
|
-
!ve &&
|
|
338
|
+
!ve && Xr(o) && (a = Mr[o]), u(a, o);
|
|
291
339
|
}
|
|
292
|
-
function
|
|
293
|
-
ct = M, ne = fe, pt = lt,
|
|
340
|
+
function S() {
|
|
341
|
+
ct = M, ne = fe, pt = lt, N();
|
|
294
342
|
}
|
|
295
343
|
function qe(o) {
|
|
296
|
-
if (V = o, c = M,
|
|
344
|
+
if (V = o, c = M, j.C)
|
|
297
345
|
for (; c < K; )
|
|
298
346
|
K = g.lastIndexOf(`
|
|
299
347
|
`, K - 2) + 1, --ue;
|
|
300
|
-
|
|
348
|
+
E(), N();
|
|
301
349
|
}
|
|
302
|
-
function
|
|
350
|
+
function Lt() {
|
|
303
351
|
this.type = null, this.start = M, this.end = null;
|
|
304
352
|
}
|
|
305
|
-
function
|
|
353
|
+
function Bt() {
|
|
306
354
|
this.start = ut, this.end = null, at && (this.source = at);
|
|
307
355
|
}
|
|
308
356
|
function b() {
|
|
309
|
-
var o = new
|
|
310
|
-
return
|
|
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;
|
|
311
359
|
}
|
|
312
360
|
function re(o) {
|
|
313
|
-
var a = new
|
|
314
|
-
return a.start = o.start,
|
|
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;
|
|
315
363
|
}
|
|
316
|
-
function
|
|
317
|
-
return o.type = a, o.end = ne,
|
|
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;
|
|
318
366
|
}
|
|
319
367
|
function et(o) {
|
|
320
368
|
return o.type === "ExpressionStatement" && o.la.type === "Literal" && o.la.value === "use strict";
|
|
321
369
|
}
|
|
322
370
|
function A(o) {
|
|
323
|
-
return d === o ? (
|
|
371
|
+
return d === o ? (S(), !0) : !1;
|
|
324
372
|
}
|
|
325
373
|
function Xe() {
|
|
326
|
-
return !
|
|
374
|
+
return !j.fc && (d === ft || d === ge || Ye.test(g.slice(ne, M)));
|
|
327
375
|
}
|
|
328
376
|
function ae() {
|
|
329
377
|
A(z) || Xe() || J();
|
|
330
378
|
}
|
|
331
|
-
function
|
|
332
|
-
d === o ?
|
|
379
|
+
function I(o) {
|
|
380
|
+
d === o ? S() : J();
|
|
333
381
|
}
|
|
334
382
|
function J() {
|
|
335
383
|
r(M, "Unexpected token");
|
|
@@ -338,70 +386,70 @@ var C, Yr = function(e) {
|
|
|
338
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");
|
|
339
387
|
}
|
|
340
388
|
function H() {
|
|
341
|
-
(d ===
|
|
389
|
+
(d === pr || d === le && W === "/=") && N(!0);
|
|
342
390
|
var o = d, a = b();
|
|
343
391
|
switch (o) {
|
|
344
392
|
case ht:
|
|
345
|
-
case
|
|
346
|
-
|
|
393
|
+
case $t:
|
|
394
|
+
S();
|
|
347
395
|
var l = o === ht;
|
|
348
396
|
A(z) || Xe() ? a.label = null : d !== he ? J() : (a.label = Y(), ae());
|
|
349
|
-
for (var p = 0; p <
|
|
350
|
-
var w =
|
|
397
|
+
for (var p = 0; p < T.length; ++p) {
|
|
398
|
+
var w = T[p];
|
|
351
399
|
if ((a.label === null || w.name === a.label.name) && (w.kind !== null && (l || w.kind === "loop") || a.label && l))
|
|
352
400
|
break;
|
|
353
401
|
}
|
|
354
|
-
return p ===
|
|
355
|
-
case
|
|
356
|
-
return
|
|
357
|
-
case
|
|
358
|
-
return
|
|
359
|
-
case zt:
|
|
360
|
-
return j(), N.push(xt), T(Z), d === z ? tt(a, null) : d === mt ? (o = b(), j(), Gt(o, !0), E(o, "VariableDeclaration"), o.fa.length === 1 && A($e) ? Bt(a, o) : tt(a, o)) : (o = _(!1, !0), A($e) ? (Ve(o), Bt(a, o)) : tt(a, o));
|
|
361
|
-
case vt:
|
|
362
|
-
return j(), ot(a, !0);
|
|
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");
|
|
363
407
|
case Qt:
|
|
364
|
-
return
|
|
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);
|
|
365
411
|
case qt:
|
|
366
|
-
return
|
|
367
|
-
case yt:
|
|
368
|
-
for (j(), a.Qb = xe(), a.tb = [], T(Ae), N.push(Wr); d !== ge; )
|
|
369
|
-
d === gt || d === Jt ? (o = d === gt, p && E(p, "SwitchCase"), a.tb.push(p = b()), p.da = [], j(), o ? p.test = _() : (l && r(ct, "Multiple default clauses"), l = !0, p.test = null), T(Ie)) : (p || J(), p.da.push(H()));
|
|
370
|
-
return p && E(p, "SwitchCase"), j(), N.pop(), E(a, "SwitchStatement");
|
|
412
|
+
return S(), a.test = xe(), a.da = H(), a.alternate = A(Zt) ? H() : null, x(a, "IfStatement");
|
|
371
413
|
case er:
|
|
372
|
-
return j(),
|
|
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");
|
|
373
419
|
case tr:
|
|
374
|
-
return
|
|
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");
|
|
375
423
|
case mt:
|
|
376
|
-
return
|
|
424
|
+
return S(), Xt(a), ae(), x(a, "VariableDeclaration");
|
|
377
425
|
case dt:
|
|
378
|
-
return
|
|
379
|
-
case
|
|
380
|
-
return V && r(M, "'with' in strict mode"),
|
|
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");
|
|
381
429
|
case Ae:
|
|
382
|
-
return
|
|
430
|
+
return je();
|
|
383
431
|
case z:
|
|
384
|
-
return
|
|
432
|
+
return S(), x(a, "EmptyStatement");
|
|
385
433
|
default:
|
|
386
434
|
if (l = W, w = _(), o === he && w.type === "Identifier" && A(Ie)) {
|
|
387
|
-
for (p = 0; p <
|
|
388
|
-
|
|
389
|
-
return
|
|
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({
|
|
390
438
|
name: l,
|
|
391
439
|
kind: d.W ? "loop" : d === yt ? "switch" : null
|
|
392
|
-
}), a.body = H(),
|
|
440
|
+
}), a.body = H(), T.pop(), a.label = w, x(a, "LabeledStatement");
|
|
393
441
|
}
|
|
394
|
-
return a.la = w, ae(),
|
|
442
|
+
return a.la = w, ae(), x(a, "ExpressionStatement");
|
|
395
443
|
}
|
|
396
444
|
}
|
|
397
445
|
function xe() {
|
|
398
|
-
|
|
446
|
+
I(Z);
|
|
399
447
|
var o = _();
|
|
400
|
-
return
|
|
448
|
+
return I($), o;
|
|
401
449
|
}
|
|
402
|
-
function
|
|
450
|
+
function je(o) {
|
|
403
451
|
var a = b(), l = !0, p = !1;
|
|
404
|
-
for (a.body = [],
|
|
452
|
+
for (a.body = [], I(Ae); !A(ge); ) {
|
|
405
453
|
var w = H();
|
|
406
454
|
if (a.body.push(w), l && o && et(w)) {
|
|
407
455
|
var R = p;
|
|
@@ -409,18 +457,18 @@ var C, Yr = function(e) {
|
|
|
409
457
|
}
|
|
410
458
|
l = !1;
|
|
411
459
|
}
|
|
412
|
-
return p && !R && qe(!1),
|
|
460
|
+
return p && !R && qe(!1), x(a, "BlockStatement");
|
|
413
461
|
}
|
|
414
462
|
function tt(o, a) {
|
|
415
|
-
return o.ua = a,
|
|
416
|
-
}
|
|
417
|
-
function Bt(o, a) {
|
|
418
|
-
return o.left = a, o.right = _(), T($), o.body = H(), N.pop(), E(o, "ForInStatement");
|
|
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");
|
|
419
464
|
}
|
|
420
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) {
|
|
421
469
|
for (o.fa = [], o.kind = "var"; ; ) {
|
|
422
470
|
var l = b();
|
|
423
|
-
if (l.id = Y(), V && Je(l.id.name) && r(l.id.start, "Binding " + l.id.name + " in strict mode"), l.ua = A(
|
|
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))
|
|
424
472
|
break;
|
|
425
473
|
}
|
|
426
474
|
}
|
|
@@ -429,70 +477,70 @@ var C, Yr = function(e) {
|
|
|
429
477
|
if (!o && d === ie) {
|
|
430
478
|
for (o = re(l), o.xb = [l]; A(ie); )
|
|
431
479
|
o.xb.push(rt(a));
|
|
432
|
-
return
|
|
480
|
+
return x(o, "SequenceExpression");
|
|
433
481
|
}
|
|
434
482
|
return l;
|
|
435
483
|
}
|
|
436
484
|
function rt(o) {
|
|
437
485
|
var a = nt(it(), -1, o);
|
|
438
|
-
if (A(
|
|
486
|
+
if (A(cr)) {
|
|
439
487
|
var l = re(a);
|
|
440
|
-
l.test = a, l.da = _(!0),
|
|
488
|
+
l.test = a, l.da = _(!0), I(Ie), l.alternate = _(!0, o), a = x(l, "ConditionalExpression");
|
|
441
489
|
}
|
|
442
|
-
return d.Cb ? (l = re(a), l.operator = W, l.left = a,
|
|
490
|
+
return d.Cb ? (l = re(a), l.operator = W, l.left = a, S(), l.right = rt(o), Ve(a), x(l, "AssignmentExpression")) : a;
|
|
443
491
|
}
|
|
444
492
|
function nt(o, a, l) {
|
|
445
493
|
var p = d.L;
|
|
446
494
|
if (p !== null && (!l || d !== $e) && p > a) {
|
|
447
495
|
var w = re(o);
|
|
448
|
-
return w.left = o, w.operator = W, o = d,
|
|
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);
|
|
449
497
|
}
|
|
450
498
|
return o;
|
|
451
499
|
}
|
|
452
500
|
function it() {
|
|
453
501
|
if (d.prefix) {
|
|
454
502
|
var o = b(), a = d.$b;
|
|
455
|
-
return o.operator = W, ke = o.prefix = !0,
|
|
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");
|
|
456
504
|
}
|
|
457
|
-
for (a =
|
|
458
|
-
o = re(a), o.operator = W, o.prefix = !1, o.K = a, Ve(a),
|
|
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");
|
|
459
507
|
return a;
|
|
460
508
|
}
|
|
461
|
-
function
|
|
462
|
-
if (A(
|
|
509
|
+
function Se(o, a) {
|
|
510
|
+
if (A(lr)) {
|
|
463
511
|
var l = re(o);
|
|
464
|
-
return l.object = o, l.Wa = Y(!0), l.bb = !1,
|
|
512
|
+
return l.object = o, l.Wa = Y(!0), l.bb = !1, Se(x(l, "MemberExpression"), a);
|
|
465
513
|
}
|
|
466
|
-
return A(wt) ? (l = re(o), l.object = o, l.Wa = _(), l.bb = !0,
|
|
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;
|
|
467
515
|
}
|
|
468
516
|
function We() {
|
|
469
517
|
switch (d) {
|
|
470
|
-
case
|
|
518
|
+
case or:
|
|
471
519
|
var o = b();
|
|
472
|
-
return
|
|
520
|
+
return S(), x(o, "ThisExpression");
|
|
473
521
|
case he:
|
|
474
522
|
return Y();
|
|
475
523
|
case Oe:
|
|
476
524
|
case He:
|
|
477
|
-
case
|
|
478
|
-
return o = b(), o.value = W, o.raw = g.slice(M, fe),
|
|
479
|
-
case or:
|
|
525
|
+
case Wt:
|
|
526
|
+
return o = b(), o.value = W, o.raw = g.slice(M, fe), S(), x(o, "Literal");
|
|
480
527
|
case sr:
|
|
481
528
|
case ar:
|
|
482
|
-
|
|
529
|
+
case ur:
|
|
530
|
+
return o = b(), o.value = d.$a, o.raw = d.l, S(), x(o, "Literal");
|
|
483
531
|
case Z:
|
|
484
532
|
o = ut;
|
|
485
533
|
var a = M;
|
|
486
|
-
|
|
534
|
+
S();
|
|
487
535
|
var l = _();
|
|
488
|
-
return l.start = a, l.end = fe,
|
|
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;
|
|
489
537
|
case wt:
|
|
490
|
-
return o = b(),
|
|
538
|
+
return o = b(), S(), o.elements = st(Et, !0, !0), x(o, "ArrayExpression");
|
|
491
539
|
case Ae:
|
|
492
|
-
for (o = b(), a = !0, l = !1, o.h = [],
|
|
540
|
+
for (o = b(), a = !0, l = !1, o.h = [], S(); !A(ge); ) {
|
|
493
541
|
if (a)
|
|
494
542
|
a = !1;
|
|
495
|
-
else if (
|
|
543
|
+
else if (I(ie), j.sb && A(ge))
|
|
496
544
|
break;
|
|
497
545
|
var p = {
|
|
498
546
|
key: d === Oe || d === He ? We() : Y(!0)
|
|
@@ -506,40 +554,40 @@ var C, Yr = function(e) {
|
|
|
506
554
|
for (var L = 0; L < o.h.length; ++L) {
|
|
507
555
|
var ye = o.h[L];
|
|
508
556
|
if (ye.key.name === p.key.name) {
|
|
509
|
-
var
|
|
510
|
-
|
|
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");
|
|
511
559
|
}
|
|
512
560
|
}
|
|
513
561
|
o.h.push(p);
|
|
514
562
|
}
|
|
515
|
-
return
|
|
563
|
+
return x(o, "ObjectExpression");
|
|
516
564
|
case vt:
|
|
517
|
-
return o = b(),
|
|
518
|
-
case
|
|
519
|
-
return o = b(),
|
|
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");
|
|
520
568
|
}
|
|
521
569
|
J();
|
|
522
570
|
}
|
|
523
571
|
function ot(o, a) {
|
|
524
572
|
d === he ? o.id = Y() : a ? J() : o.id = null, o.oa = [];
|
|
525
573
|
var l = !0;
|
|
526
|
-
for (
|
|
527
|
-
l ? l = !1 :
|
|
574
|
+
for (I(Z); !A($); )
|
|
575
|
+
l ? l = !1 : I(ie), o.oa.push(Y());
|
|
528
576
|
l = Ce;
|
|
529
|
-
var p =
|
|
530
|
-
if (Ce = !0,
|
|
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])) {
|
|
531
579
|
for (l = o.id ? -1 : 0; l < o.oa.length; ++l)
|
|
532
|
-
if (p = 0 > l ? o.id : o.oa[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)
|
|
533
581
|
for (var w = 0; w < l; ++w)
|
|
534
582
|
p.name === o.oa[w].name && r(p.start, "Argument name clash in strict mode");
|
|
535
583
|
}
|
|
536
|
-
return
|
|
584
|
+
return x(o, a ? "FunctionDeclaration" : "FunctionExpression");
|
|
537
585
|
}
|
|
538
586
|
function st(o, a, l) {
|
|
539
587
|
for (var p = [], w = !0; !A(o); ) {
|
|
540
588
|
if (w)
|
|
541
589
|
w = !1;
|
|
542
|
-
else if (
|
|
590
|
+
else if (I(ie), a && j.sb && A(o))
|
|
543
591
|
break;
|
|
544
592
|
p.push(l && d === ie ? null : _(!0));
|
|
545
593
|
}
|
|
@@ -547,19 +595,19 @@ var C, Yr = function(e) {
|
|
|
547
595
|
}
|
|
548
596
|
function Y(o) {
|
|
549
597
|
var a = b();
|
|
550
|
-
return o &&
|
|
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");
|
|
551
599
|
}
|
|
552
600
|
e.version = "0.5.0";
|
|
553
|
-
var
|
|
601
|
+
var j, g = "", pe, at;
|
|
554
602
|
e.parse = function(o, a) {
|
|
555
|
-
g = String(o), pe = g.length,
|
|
556
|
-
for (var l in
|
|
557
|
-
Object.prototype.hasOwnProperty.call(
|
|
558
|
-
for (at =
|
|
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; )
|
|
559
607
|
l = H(), o.body.push(l), a && et(l) && qe(!0), a = !1;
|
|
560
|
-
return
|
|
608
|
+
return x(o, "Program");
|
|
561
609
|
};
|
|
562
|
-
var
|
|
610
|
+
var Vt = {
|
|
563
611
|
fc: !1,
|
|
564
612
|
sb: !0,
|
|
565
613
|
yb: !1,
|
|
@@ -570,9 +618,9 @@ var C, Yr = function(e) {
|
|
|
570
618
|
dc: null,
|
|
571
619
|
sourceFile: null,
|
|
572
620
|
vb: null
|
|
573
|
-
}, c = 0, M = 0, fe = 0, ut, lt, d, W, ke, ue, K, ct = 0, ne = 0, pt, Ce,
|
|
621
|
+
}, c = 0, M = 0, fe = 0, ut, lt, d, W, ke, ue, K, ct = 0, ne = 0, pt, Ce, T, V, Nr = [], Oe = {
|
|
574
622
|
type: "num"
|
|
575
|
-
},
|
|
623
|
+
}, Wt = {
|
|
576
624
|
type: "regexp"
|
|
577
625
|
}, He = {
|
|
578
626
|
type: "string"
|
|
@@ -585,95 +633,95 @@ var C, Yr = function(e) {
|
|
|
585
633
|
}, gt = {
|
|
586
634
|
l: "case",
|
|
587
635
|
m: !0
|
|
588
|
-
}, Wt = {
|
|
589
|
-
l: "catch"
|
|
590
636
|
}, Ht = {
|
|
591
|
-
l: "
|
|
637
|
+
l: "catch"
|
|
592
638
|
}, $t = {
|
|
593
|
-
l: "
|
|
639
|
+
l: "continue"
|
|
594
640
|
}, Jt = {
|
|
595
|
-
l: "
|
|
641
|
+
l: "debugger"
|
|
596
642
|
}, Yt = {
|
|
643
|
+
l: "default"
|
|
644
|
+
}, Kt = {
|
|
597
645
|
l: "do",
|
|
598
646
|
W: !0
|
|
599
|
-
},
|
|
647
|
+
}, Zt = {
|
|
600
648
|
l: "else",
|
|
601
649
|
m: !0
|
|
602
|
-
}, Zt = {
|
|
603
|
-
l: "finally"
|
|
604
650
|
}, zt = {
|
|
651
|
+
l: "finally"
|
|
652
|
+
}, Qt = {
|
|
605
653
|
l: "for",
|
|
606
654
|
W: !0
|
|
607
655
|
}, vt = {
|
|
608
656
|
l: "function"
|
|
609
|
-
}, Qt = {
|
|
610
|
-
l: "if"
|
|
611
657
|
}, qt = {
|
|
658
|
+
l: "if"
|
|
659
|
+
}, er = {
|
|
612
660
|
l: "return",
|
|
613
661
|
m: !0
|
|
614
662
|
}, yt = {
|
|
615
663
|
l: "switch"
|
|
616
|
-
},
|
|
664
|
+
}, tr = {
|
|
617
665
|
l: "throw",
|
|
618
666
|
m: !0
|
|
619
|
-
},
|
|
667
|
+
}, rr = {
|
|
620
668
|
l: "try"
|
|
621
669
|
}, mt = {
|
|
622
670
|
l: "var"
|
|
623
671
|
}, dt = {
|
|
624
672
|
l: "while",
|
|
625
673
|
W: !0
|
|
626
|
-
}, rr = {
|
|
627
|
-
l: "with"
|
|
628
674
|
}, nr = {
|
|
675
|
+
l: "with"
|
|
676
|
+
}, ir = {
|
|
629
677
|
l: "new",
|
|
630
678
|
m: !0
|
|
631
|
-
}, ir = {
|
|
632
|
-
l: "this"
|
|
633
679
|
}, or = {
|
|
680
|
+
l: "this"
|
|
681
|
+
}, sr = {
|
|
634
682
|
l: "null",
|
|
635
683
|
$a: null
|
|
636
|
-
},
|
|
684
|
+
}, ar = {
|
|
637
685
|
l: "true",
|
|
638
686
|
$a: !0
|
|
639
|
-
},
|
|
687
|
+
}, ur = {
|
|
640
688
|
l: "false",
|
|
641
689
|
$a: !1
|
|
642
690
|
}, $e = {
|
|
643
691
|
l: "in",
|
|
644
692
|
L: 7,
|
|
645
693
|
m: !0
|
|
646
|
-
},
|
|
694
|
+
}, Mr = {
|
|
647
695
|
break: ht,
|
|
648
696
|
case: gt,
|
|
649
|
-
catch:
|
|
650
|
-
continue:
|
|
651
|
-
debugger:
|
|
652
|
-
default:
|
|
653
|
-
do:
|
|
654
|
-
else:
|
|
655
|
-
finally:
|
|
656
|
-
for:
|
|
697
|
+
catch: Ht,
|
|
698
|
+
continue: $t,
|
|
699
|
+
debugger: Jt,
|
|
700
|
+
default: Yt,
|
|
701
|
+
do: Kt,
|
|
702
|
+
else: Zt,
|
|
703
|
+
finally: zt,
|
|
704
|
+
for: Qt,
|
|
657
705
|
function: vt,
|
|
658
|
-
if:
|
|
659
|
-
return:
|
|
706
|
+
if: qt,
|
|
707
|
+
return: er,
|
|
660
708
|
switch: yt,
|
|
661
|
-
throw:
|
|
662
|
-
try:
|
|
709
|
+
throw: tr,
|
|
710
|
+
try: rr,
|
|
663
711
|
var: mt,
|
|
664
712
|
while: dt,
|
|
665
|
-
with:
|
|
666
|
-
null:
|
|
667
|
-
true:
|
|
668
|
-
false:
|
|
669
|
-
new:
|
|
713
|
+
with: nr,
|
|
714
|
+
null: sr,
|
|
715
|
+
true: ar,
|
|
716
|
+
false: ur,
|
|
717
|
+
new: ir,
|
|
670
718
|
in: $e,
|
|
671
719
|
instanceof: {
|
|
672
720
|
l: "instanceof",
|
|
673
721
|
L: 7,
|
|
674
722
|
m: !0
|
|
675
723
|
},
|
|
676
|
-
this:
|
|
724
|
+
this: or,
|
|
677
725
|
typeof: {
|
|
678
726
|
l: "typeof",
|
|
679
727
|
prefix: !0,
|
|
@@ -713,65 +761,65 @@ var C, Yr = function(e) {
|
|
|
713
761
|
}, Ie = {
|
|
714
762
|
type: ":",
|
|
715
763
|
m: !0
|
|
716
|
-
}, ur = {
|
|
717
|
-
type: "."
|
|
718
764
|
}, lr = {
|
|
765
|
+
type: "."
|
|
766
|
+
}, cr = {
|
|
719
767
|
type: "?",
|
|
720
768
|
m: !0
|
|
721
|
-
},
|
|
769
|
+
}, pr = {
|
|
722
770
|
L: 10,
|
|
723
771
|
m: !0
|
|
724
|
-
},
|
|
772
|
+
}, fr = {
|
|
725
773
|
Cb: !0,
|
|
726
774
|
m: !0
|
|
727
775
|
}, le = {
|
|
728
776
|
Cb: !0,
|
|
729
777
|
m: !0
|
|
730
|
-
},
|
|
778
|
+
}, Rr = {
|
|
731
779
|
cc: !0,
|
|
732
780
|
prefix: !0,
|
|
733
781
|
$b: !0
|
|
734
|
-
},
|
|
782
|
+
}, hr = {
|
|
735
783
|
prefix: !0,
|
|
736
784
|
m: !0
|
|
737
|
-
},
|
|
785
|
+
}, gr = {
|
|
738
786
|
L: 1,
|
|
739
787
|
m: !0
|
|
740
|
-
},
|
|
788
|
+
}, vr = {
|
|
741
789
|
L: 2,
|
|
742
790
|
m: !0
|
|
743
|
-
},
|
|
791
|
+
}, Pr = {
|
|
744
792
|
L: 3,
|
|
745
793
|
m: !0
|
|
746
|
-
},
|
|
794
|
+
}, Ur = {
|
|
747
795
|
L: 4,
|
|
748
796
|
m: !0
|
|
749
|
-
},
|
|
797
|
+
}, br = {
|
|
750
798
|
L: 5,
|
|
751
799
|
m: !0
|
|
752
|
-
},
|
|
800
|
+
}, Dr = {
|
|
753
801
|
L: 6,
|
|
754
802
|
m: !0
|
|
755
|
-
},
|
|
803
|
+
}, _r = {
|
|
756
804
|
L: 7,
|
|
757
805
|
m: !0
|
|
758
|
-
},
|
|
806
|
+
}, Fr = {
|
|
759
807
|
L: 8,
|
|
760
808
|
m: !0
|
|
761
|
-
},
|
|
809
|
+
}, Lr = {
|
|
762
810
|
L: 9,
|
|
763
811
|
prefix: !0,
|
|
764
812
|
m: !0
|
|
765
|
-
},
|
|
813
|
+
}, Br = {
|
|
766
814
|
L: 10,
|
|
767
815
|
m: !0
|
|
768
|
-
},
|
|
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 = {
|
|
769
817
|
kind: "loop"
|
|
770
|
-
},
|
|
818
|
+
}, Hr = {
|
|
771
819
|
kind: "switch"
|
|
772
820
|
};
|
|
773
|
-
},
|
|
774
|
-
|
|
821
|
+
}, Ct = Ct = typeof globalThis > "u" ? void 0 : globalThis;
|
|
822
|
+
qr(Ct.j || (Ct.j = {}));
|
|
775
823
|
function f(e, t) {
|
|
776
824
|
typeof e == "string" && (e = de(e, "code"));
|
|
777
825
|
var n = e.constructor;
|
|
@@ -787,13 +835,13 @@ function f(e, t) {
|
|
|
787
835
|
var s, u;
|
|
788
836
|
for (u in this)
|
|
789
837
|
typeof this[u] == "function" && (s = u.match(e)) && (this.rb[s[1]] = this[u].bind(this));
|
|
790
|
-
this.N =
|
|
838
|
+
this.N = At(this, this.ra, null), this.Na = this.N.object, this.ra = de(this.ba.join(`
|
|
791
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;
|
|
792
840
|
}
|
|
793
841
|
var dr = {
|
|
794
842
|
C: !0,
|
|
795
843
|
kc: 5
|
|
796
|
-
},
|
|
844
|
+
}, It = {
|
|
797
845
|
configurable: !0,
|
|
798
846
|
enumerable: !0,
|
|
799
847
|
writable: !1
|
|
@@ -813,7 +861,7 @@ var dr = {
|
|
|
813
861
|
configurable: !1,
|
|
814
862
|
enumerable: !0,
|
|
815
863
|
writable: !0
|
|
816
|
-
},
|
|
864
|
+
}, Cr = {
|
|
817
865
|
STEP_ERROR: !0
|
|
818
866
|
}, Ee = {
|
|
819
867
|
SCOPE_REFERENCE: !0
|
|
@@ -821,8 +869,8 @@ var dr = {
|
|
|
821
869
|
VALUE_IN_DESCRIPTOR: !0
|
|
822
870
|
}, me = {
|
|
823
871
|
REGEXP_TIMEOUT: !0
|
|
824
|
-
}, Er = [], q = null, Ue = null, oe = typeof globalThis > "u" ? void 0 : globalThis,
|
|
825
|
-
function
|
|
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) {
|
|
826
874
|
var t = e >>> 0;
|
|
827
875
|
return t === Number(e) ? t : NaN;
|
|
828
876
|
}
|
|
@@ -872,7 +920,7 @@ C.lb = function() {
|
|
|
872
920
|
if (n = this.ca[0], !n || n.time > Date.now())
|
|
873
921
|
n = null;
|
|
874
922
|
else {
|
|
875
|
-
this.ca.shift(), 0 <= n.interval &&
|
|
923
|
+
this.ca.shift(), 0 <= n.interval && Ir(this, n, n.interval);
|
|
876
924
|
var r = new y(n.node, n.scope);
|
|
877
925
|
n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
|
|
878
926
|
}
|
|
@@ -885,7 +933,7 @@ C.lb = function() {
|
|
|
885
933
|
try {
|
|
886
934
|
var s = this.rb[r.type](e, n, r);
|
|
887
935
|
} catch (u) {
|
|
888
|
-
if (u !==
|
|
936
|
+
if (u !== Cr)
|
|
889
937
|
throw this.value !== u && (this.value = void 0), u;
|
|
890
938
|
} finally {
|
|
891
939
|
Ue = i;
|
|
@@ -903,8 +951,8 @@ C.Eb = function() {
|
|
|
903
951
|
;
|
|
904
952
|
return this.za;
|
|
905
953
|
};
|
|
906
|
-
function
|
|
907
|
-
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,
|
|
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);
|
|
908
956
|
var n = e.i(function() {
|
|
909
957
|
throw EvalError("Can't happen");
|
|
910
958
|
}, !1);
|
|
@@ -924,34 +972,34 @@ function Zr(e, t) {
|
|
|
924
972
|
}, e.g(t, "setTimeout", e.i(n, !1), v), n = function(s) {
|
|
925
973
|
return xr(e, !0, arguments);
|
|
926
974
|
}, e.g(t, "setInterval", e.i(n, !1), v), n = function(s) {
|
|
927
|
-
|
|
975
|
+
jr(e, s);
|
|
928
976
|
}, e.g(t, "clearTimeout", e.i(n, !1), v), n = function(s) {
|
|
929
|
-
|
|
977
|
+
jr(e, s);
|
|
930
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);
|
|
931
979
|
}
|
|
932
980
|
C.Wb = 0;
|
|
933
|
-
function
|
|
981
|
+
function rn(e, t) {
|
|
934
982
|
var n = /^[A-Za-z_$][\w$]*$/, r = function(i) {
|
|
935
983
|
var s = arguments.length ? String(arguments[arguments.length - 1]) : "", u = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
936
984
|
if (u) {
|
|
937
985
|
u = u.split(/\s*,\s*/);
|
|
938
986
|
for (var h = 0; h < u.length; h++) {
|
|
939
|
-
var
|
|
940
|
-
n.test(
|
|
987
|
+
var E = u[h];
|
|
988
|
+
n.test(E) || m(e, e.T, "Invalid function argument: " + E);
|
|
941
989
|
}
|
|
942
990
|
u = u.join(", ");
|
|
943
991
|
}
|
|
944
992
|
try {
|
|
945
993
|
var F = de("(function(" + u + ") {" + s + "})", "function" + e.Wb++);
|
|
946
|
-
} catch (
|
|
947
|
-
m(e, e.T, "Invalid code: " +
|
|
994
|
+
} catch (N) {
|
|
995
|
+
m(e, e.T, "Invalid code: " + N.message);
|
|
948
996
|
}
|
|
949
|
-
return F.body.length !== 1 && m(e, e.T, "Invalid code in function body"),
|
|
997
|
+
return F.body.length !== 1 && m(e, e.T, "Invalid code in function body"), Rt(e, F.body[0].la, e.N, "anonymous");
|
|
950
998
|
};
|
|
951
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() {
|
|
952
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) {
|
|
953
1001
|
var u = e.o[e.o.length - 1];
|
|
954
|
-
u.U = this, u.B = i, u.F = [], s != null && (s instanceof k ? u.F =
|
|
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;
|
|
955
1003
|
}, P(e, e.O, "apply", r), r = function(i) {
|
|
956
1004
|
var s = e.o[e.o.length - 1];
|
|
957
1005
|
s.U = this, s.B = i, s.F = [];
|
|
@@ -964,7 +1012,7 @@ function zr(e, t) {
|
|
|
964
1012
|
return this.valueOf();
|
|
965
1013
|
}, P(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), v);
|
|
966
1014
|
}
|
|
967
|
-
function
|
|
1015
|
+
function nn(e, t) {
|
|
968
1016
|
function n(i) {
|
|
969
1017
|
i != null || m(e, e.j, "Cannot convert '" + i + "' to object");
|
|
970
1018
|
}
|
|
@@ -1009,11 +1057,11 @@ function Qr(e, t) {
|
|
|
1009
1057
|
}
|
|
1010
1058
|
}, P(e, e.v, "isPrototypeOf", r);
|
|
1011
1059
|
}
|
|
1012
|
-
function
|
|
1060
|
+
function on(e, t) {
|
|
1013
1061
|
var n = function(r) {
|
|
1014
1062
|
var i = te(e) ? this : we(e), s = arguments[0];
|
|
1015
1063
|
if (arguments.length === 1 && typeof s == "number")
|
|
1016
|
-
isNaN(
|
|
1064
|
+
isNaN(Tt(s)) && m(e, e.ob, "Invalid array length: " + s), i.h.length = s;
|
|
1017
1065
|
else {
|
|
1018
1066
|
for (s = 0; s < arguments.length; s++)
|
|
1019
1067
|
i.h[s] = arguments[s];
|
|
@@ -1029,7 +1077,7 @@ function qr(e, t) {
|
|
|
1029
1077
|
writable: !0
|
|
1030
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(',');", "}", ");", "})();", "");
|
|
1031
1079
|
}
|
|
1032
|
-
function
|
|
1080
|
+
function sn(e, t) {
|
|
1033
1081
|
var n = function(r) {
|
|
1034
1082
|
return r = arguments.length ? oe.String(r) : "", te(e) ? (this.data = r, this) : r;
|
|
1035
1083
|
};
|
|
@@ -1052,9 +1100,9 @@ function en(e, t) {
|
|
|
1052
1100
|
limit: i
|
|
1053
1101
|
}, r, s), r !== me && s(Q(e, r));
|
|
1054
1102
|
else {
|
|
1055
|
-
var h = e.ha(),
|
|
1103
|
+
var h = e.ha(), E = Re(e, r, h, s);
|
|
1056
1104
|
h.onmessage = function(F) {
|
|
1057
|
-
clearTimeout(
|
|
1105
|
+
clearTimeout(E), s(Q(e, F.data));
|
|
1058
1106
|
}, h.postMessage(["split", u, r, i]);
|
|
1059
1107
|
}
|
|
1060
1108
|
return;
|
|
@@ -1070,8 +1118,8 @@ function en(e, t) {
|
|
|
1070
1118
|
}, r, i), r !== me && i(r && Q(e, r));
|
|
1071
1119
|
else {
|
|
1072
1120
|
var u = e.ha(), h = Re(e, r, u, i);
|
|
1073
|
-
u.onmessage = function(
|
|
1074
|
-
clearTimeout(h), i(
|
|
1121
|
+
u.onmessage = function(E) {
|
|
1122
|
+
clearTimeout(h), i(E.data && Q(e, E.data));
|
|
1075
1123
|
}, u.postMessage(["match", s, r]);
|
|
1076
1124
|
}
|
|
1077
1125
|
else
|
|
@@ -1086,8 +1134,8 @@ function en(e, t) {
|
|
|
1086
1134
|
}, r, i), r !== me && i(r);
|
|
1087
1135
|
else {
|
|
1088
1136
|
var u = e.ha(), h = Re(e, r, u, i);
|
|
1089
|
-
u.onmessage = function(
|
|
1090
|
-
clearTimeout(h), i(
|
|
1137
|
+
u.onmessage = function(E) {
|
|
1138
|
+
clearTimeout(h), i(E.data);
|
|
1091
1139
|
}, u.postMessage(["search", s, r]);
|
|
1092
1140
|
}
|
|
1093
1141
|
else
|
|
@@ -1102,9 +1150,9 @@ function en(e, t) {
|
|
|
1102
1150
|
newSubstr: i
|
|
1103
1151
|
}, r, s), r !== me && s(r);
|
|
1104
1152
|
else {
|
|
1105
|
-
var h = e.ha(),
|
|
1153
|
+
var h = e.ha(), E = Re(e, r, h, s);
|
|
1106
1154
|
h.onmessage = function(F) {
|
|
1107
|
-
clearTimeout(
|
|
1155
|
+
clearTimeout(E), s(F.data);
|
|
1108
1156
|
}, h.postMessage(["replace", u, r, i]);
|
|
1109
1157
|
}
|
|
1110
1158
|
return;
|
|
@@ -1112,12 +1160,12 @@ function en(e, t) {
|
|
|
1112
1160
|
s(u.replace(r, i));
|
|
1113
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;", "};", "})();", "");
|
|
1114
1162
|
}
|
|
1115
|
-
function
|
|
1163
|
+
function an(e, t) {
|
|
1116
1164
|
e.mb = e.i(function(n) {
|
|
1117
1165
|
return n = oe.Boolean(n), te(e) ? (this.data = n, this) : n;
|
|
1118
1166
|
}, !0), e.g(t, "Boolean", e.mb, v);
|
|
1119
1167
|
}
|
|
1120
|
-
function
|
|
1168
|
+
function un(e, t) {
|
|
1121
1169
|
var n = function(r) {
|
|
1122
1170
|
return r = arguments.length ? oe.Number(r) : 0, te(e) ? (this.data = r, this) : r;
|
|
1123
1171
|
};
|
|
@@ -1156,7 +1204,7 @@ function rn(e, t) {
|
|
|
1156
1204
|
}
|
|
1157
1205
|
}, P(e, e.aa, "toLocaleString", n);
|
|
1158
1206
|
}
|
|
1159
|
-
function
|
|
1207
|
+
function ln(e, t) {
|
|
1160
1208
|
var n = function(i, s) {
|
|
1161
1209
|
if (!te(e))
|
|
1162
1210
|
return oe.Date();
|
|
@@ -1169,13 +1217,13 @@ function nn(e, t) {
|
|
|
1169
1217
|
return function(s) {
|
|
1170
1218
|
var u = this.data;
|
|
1171
1219
|
u instanceof Date || m(e, e.j, i + " not called on a Date");
|
|
1172
|
-
for (var h = [],
|
|
1173
|
-
h[
|
|
1220
|
+
for (var h = [], E = 0; E < arguments.length; E++)
|
|
1221
|
+
h[E] = e.R(arguments[E]);
|
|
1174
1222
|
return u[i].apply(u, h);
|
|
1175
1223
|
};
|
|
1176
1224
|
}(t[r]), P(e, e.$, t[r], n);
|
|
1177
1225
|
}
|
|
1178
|
-
function
|
|
1226
|
+
function cn(e, t) {
|
|
1179
1227
|
var n = function(r, i) {
|
|
1180
1228
|
if (te(e))
|
|
1181
1229
|
var s = this;
|
|
@@ -1190,13 +1238,13 @@ function on(e, t) {
|
|
|
1190
1238
|
} catch (h) {
|
|
1191
1239
|
m(e, e.T, h.message);
|
|
1192
1240
|
}
|
|
1193
|
-
return
|
|
1241
|
+
return Nt(e, s, u), s;
|
|
1194
1242
|
};
|
|
1195
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) {
|
|
1196
|
-
function s(
|
|
1197
|
-
if (
|
|
1198
|
-
var O = Q(e,
|
|
1199
|
-
return e.g(O, "index",
|
|
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;
|
|
1200
1248
|
}
|
|
1201
1249
|
return null;
|
|
1202
1250
|
}
|
|
@@ -1208,29 +1256,29 @@ function on(e, t) {
|
|
|
1208
1256
|
regexp: u
|
|
1209
1257
|
}, u, i), r !== me && (e.g(this, "lastIndex", u.lastIndex), i(s(r)));
|
|
1210
1258
|
else {
|
|
1211
|
-
var h = e.ha(),
|
|
1212
|
-
h.onmessage = function(
|
|
1213
|
-
clearTimeout(
|
|
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]));
|
|
1214
1262
|
}, h.postMessage(["exec", u, u.lastIndex, r]);
|
|
1215
1263
|
}
|
|
1216
1264
|
else
|
|
1217
1265
|
r = u.exec(r), e.g(this, "lastIndex", u.lastIndex), i(s(r));
|
|
1218
1266
|
}, Pe(e, e.I, "exec", n);
|
|
1219
1267
|
}
|
|
1220
|
-
function
|
|
1268
|
+
function pn(e, t) {
|
|
1221
1269
|
function n(r) {
|
|
1222
1270
|
var i = e.i(function(s) {
|
|
1223
1271
|
var u = te(e) ? this : e.Aa(i);
|
|
1224
|
-
return
|
|
1272
|
+
return Ot(e, u, s), u;
|
|
1225
1273
|
}, !0);
|
|
1226
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;
|
|
1227
1275
|
}
|
|
1228
1276
|
e.D = e.i(function(r) {
|
|
1229
1277
|
var i = te(e) ? this : e.Aa(e.D);
|
|
1230
|
-
return
|
|
1278
|
+
return Ot(e, i, r), i;
|
|
1231
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");
|
|
1232
1280
|
}
|
|
1233
|
-
function
|
|
1281
|
+
function fn(e, t) {
|
|
1234
1282
|
var n = e.s(e.M);
|
|
1235
1283
|
e.g(t, "Math", n, v);
|
|
1236
1284
|
var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
|
|
@@ -1239,7 +1287,7 @@ function an(e, t) {
|
|
|
1239
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++)
|
|
1240
1288
|
e.g(n, r[t], e.i(Math[r[t]], !1), v);
|
|
1241
1289
|
}
|
|
1242
|
-
function
|
|
1290
|
+
function hn(e, t) {
|
|
1243
1291
|
var n = e.s(e.M);
|
|
1244
1292
|
e.g(t, "JSON", n, v), t = function(r) {
|
|
1245
1293
|
try {
|
|
@@ -1249,7 +1297,7 @@ function un(e, t) {
|
|
|
1249
1297
|
}
|
|
1250
1298
|
return e.Ia(i);
|
|
1251
1299
|
}, e.g(n, "parse", e.i(t, !1)), t = function(r, i, s) {
|
|
1252
|
-
i && i.H === "Function" ? m(e, e.j, "Function replacer on JSON.stringify not supported") : i && i.H === "Array" ? (i =
|
|
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) {
|
|
1253
1301
|
return typeof h == "string" || typeof h == "number";
|
|
1254
1302
|
})) : i = null, typeof s != "string" && typeof s != "number" && (s = void 0), r = e.R(r);
|
|
1255
1303
|
try {
|
|
@@ -1272,10 +1320,10 @@ function D(e, t, n) {
|
|
|
1272
1320
|
}
|
|
1273
1321
|
return !1;
|
|
1274
1322
|
}
|
|
1275
|
-
function
|
|
1323
|
+
function Nt(e, t, n) {
|
|
1276
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);
|
|
1277
1325
|
}
|
|
1278
|
-
function
|
|
1326
|
+
function Ot(e, t, n) {
|
|
1279
1327
|
n && e.g(t, "message", String(n), v), n = [];
|
|
1280
1328
|
for (var r = e.o.length - 1; 0 <= r; r--) {
|
|
1281
1329
|
var i = e.o[r], s = i.node;
|
|
@@ -1294,7 +1342,7 @@ function Ct(e, t, n) {
|
|
|
1294
1342
|
}
|
|
1295
1343
|
C.ha = function() {
|
|
1296
1344
|
var e = this.ha.Mb;
|
|
1297
|
-
return e || (e = new Blob([
|
|
1345
|
+
return e || (e = new Blob([en.join(`
|
|
1298
1346
|
`)], {
|
|
1299
1347
|
type: "application/javascript"
|
|
1300
1348
|
}), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
|
|
@@ -1354,19 +1402,19 @@ function we(e) {
|
|
|
1354
1402
|
writable: !0
|
|
1355
1403
|
}), t.H = "Array", t;
|
|
1356
1404
|
}
|
|
1357
|
-
function
|
|
1405
|
+
function Mt(e, t, n) {
|
|
1358
1406
|
var r = e.s(e.Z);
|
|
1359
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;
|
|
1360
1408
|
}
|
|
1361
|
-
function
|
|
1362
|
-
var i =
|
|
1409
|
+
function Rt(e, t, n, r) {
|
|
1410
|
+
var i = Mt(e, t.oa.length, !0);
|
|
1363
1411
|
return i.Va = n, i.node = t, e.g(i, "name", t.id ? String(t.id.name) : r || "", G), i;
|
|
1364
1412
|
}
|
|
1365
1413
|
C.i = function(e, t) {
|
|
1366
|
-
return t =
|
|
1414
|
+
return t = Mt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, G), t;
|
|
1367
1415
|
};
|
|
1368
1416
|
C.ub = function(e) {
|
|
1369
|
-
var t =
|
|
1417
|
+
var t = Mt(this, e.length, !0);
|
|
1370
1418
|
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, G), t;
|
|
1371
1419
|
};
|
|
1372
1420
|
C.Ia = function(e) {
|
|
@@ -1376,7 +1424,7 @@ C.Ia = function(e) {
|
|
|
1376
1424
|
return e;
|
|
1377
1425
|
if (e instanceof RegExp) {
|
|
1378
1426
|
var t = this.s(this.Ma);
|
|
1379
|
-
return
|
|
1427
|
+
return Nt(this, t, e), t;
|
|
1380
1428
|
}
|
|
1381
1429
|
if (e instanceof Date)
|
|
1382
1430
|
return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
|
|
@@ -1435,11 +1483,11 @@ function Q(e, t) {
|
|
|
1435
1483
|
e.g(n, r[i], t[r[i]]);
|
|
1436
1484
|
return n;
|
|
1437
1485
|
}
|
|
1438
|
-
function
|
|
1486
|
+
function Or(e, t) {
|
|
1439
1487
|
var n = [], r;
|
|
1440
1488
|
for (r in t.h)
|
|
1441
1489
|
n[r] = e.G(t, r);
|
|
1442
|
-
return n.length =
|
|
1490
|
+
return n.length = Tt(e.G(t, "length")) || 0, n;
|
|
1443
1491
|
}
|
|
1444
1492
|
function ee(e, t) {
|
|
1445
1493
|
switch (typeof t) {
|
|
@@ -1492,7 +1540,7 @@ C.g = function(e, t, n, r) {
|
|
|
1492
1540
|
if (t = String(t), e != null || m(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof k))
|
|
1493
1541
|
throw TypeError("Expecting native value or pseudo object");
|
|
1494
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");
|
|
1495
|
-
var i = !this.o ||
|
|
1543
|
+
var i = !this.o || Pt(this).S;
|
|
1496
1544
|
if (e instanceof k) {
|
|
1497
1545
|
if (D(this, e, this.J)) {
|
|
1498
1546
|
var s = be(t);
|
|
@@ -1508,7 +1556,7 @@ C.g = function(e, t, n, r) {
|
|
|
1508
1556
|
return;
|
|
1509
1557
|
n = r.value;
|
|
1510
1558
|
}
|
|
1511
|
-
if (n =
|
|
1559
|
+
if (n = Tt(n), isNaN(n) && m(this, this.ob, "Invalid array length"), n < s)
|
|
1512
1560
|
for (u in e.h) {
|
|
1513
1561
|
var u = be(u);
|
|
1514
1562
|
!isNaN(u) && n <= u && delete e.h[u];
|
|
@@ -1560,12 +1608,12 @@ function P(e, t, n, r) {
|
|
|
1560
1608
|
function Pe(e, t, n, r) {
|
|
1561
1609
|
e.g(t.h.prototype, n, e.ub(r), v);
|
|
1562
1610
|
}
|
|
1563
|
-
function
|
|
1611
|
+
function Pt(e) {
|
|
1564
1612
|
if (e = e.o[e.o.length - 1].scope, !e)
|
|
1565
1613
|
throw Error("No scope found");
|
|
1566
1614
|
return e;
|
|
1567
1615
|
}
|
|
1568
|
-
function
|
|
1616
|
+
function At(e, t, n) {
|
|
1569
1617
|
var r = !1;
|
|
1570
1618
|
if (n && n.S)
|
|
1571
1619
|
r = !0;
|
|
@@ -1573,15 +1621,15 @@ function Ot(e, t, n) {
|
|
|
1573
1621
|
var i = t.body && t.body[0];
|
|
1574
1622
|
i && i.la && i.la.type === "Literal" && i.la.value === "use strict" && (r = !0);
|
|
1575
1623
|
}
|
|
1576
|
-
return i = e.s(null), r = new
|
|
1624
|
+
return i = e.s(null), r = new Tr(n, r, i), n || tn(e, r.object), _e(e, t, r), r;
|
|
1577
1625
|
}
|
|
1578
|
-
function
|
|
1626
|
+
function Ut(e, t, n) {
|
|
1579
1627
|
if (!t)
|
|
1580
1628
|
throw Error("parentScope required");
|
|
1581
|
-
return e = n || e.s(null), new
|
|
1629
|
+
return e = n || e.s(null), new Tr(t, t.S, e);
|
|
1582
1630
|
}
|
|
1583
|
-
function
|
|
1584
|
-
for (var n =
|
|
1631
|
+
function bt(e, t) {
|
|
1632
|
+
for (var n = Pt(e); n && n !== e.N; ) {
|
|
1585
1633
|
if (t in n.object.h)
|
|
1586
1634
|
return n.object.h[t];
|
|
1587
1635
|
n = n.Va;
|
|
@@ -1590,8 +1638,8 @@ function Ut(e, t) {
|
|
|
1590
1638
|
return e.G(n.object, t);
|
|
1591
1639
|
n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || m(e, e.pb, t + " is not defined");
|
|
1592
1640
|
}
|
|
1593
|
-
function
|
|
1594
|
-
for (var r =
|
|
1641
|
+
function Ar(e, t, n) {
|
|
1642
|
+
for (var r = Pt(e), i = r.S; r && r !== e.N; ) {
|
|
1595
1643
|
if (t in r.object.h) {
|
|
1596
1644
|
try {
|
|
1597
1645
|
r.object.h[t] = n;
|
|
@@ -1639,33 +1687,33 @@ function _e(e, t, n) {
|
|
|
1639
1687
|
if (Array.isArray(h)) {
|
|
1640
1688
|
for (i = 0; i < h.length; i++)
|
|
1641
1689
|
if (h[i] && h[i].constructor === s) {
|
|
1642
|
-
var
|
|
1643
|
-
for (u in
|
|
1644
|
-
r[u] =
|
|
1690
|
+
var E = _e(e, h[i], n);
|
|
1691
|
+
for (u in E)
|
|
1692
|
+
r[u] = E[u];
|
|
1645
1693
|
}
|
|
1646
1694
|
} else if (h.constructor === s)
|
|
1647
|
-
for (u in
|
|
1648
|
-
r[u] =
|
|
1695
|
+
for (u in E = _e(e, h, n), E)
|
|
1696
|
+
r[u] = E[u];
|
|
1649
1697
|
}
|
|
1650
1698
|
}
|
|
1651
1699
|
}
|
|
1652
1700
|
t.jb = r;
|
|
1653
1701
|
}
|
|
1654
1702
|
for (u in r)
|
|
1655
|
-
r[u] === !0 ? e.g(n.object, u, void 0, wr) : e.g(n.object, u,
|
|
1703
|
+
r[u] === !0 ? e.g(n.object, u, void 0, wr) : e.g(n.object, u, Rt(e, r[u], n), wr);
|
|
1656
1704
|
return r;
|
|
1657
1705
|
}
|
|
1658
1706
|
function te(e) {
|
|
1659
1707
|
return e.o[e.o.length - 1].isConstructor;
|
|
1660
1708
|
}
|
|
1661
|
-
function
|
|
1662
|
-
return t[0] === Ee ?
|
|
1709
|
+
function Dt(e, t) {
|
|
1710
|
+
return t[0] === Ee ? bt(e, t[1]) : e.G(t[0], t[1]);
|
|
1663
1711
|
}
|
|
1664
|
-
function
|
|
1665
|
-
return t[0] === Ee ?
|
|
1712
|
+
function _t(e, t, n) {
|
|
1713
|
+
return t[0] === Ee ? Ar(e, t[1], n) : e.g(t[0], t[1], n);
|
|
1666
1714
|
}
|
|
1667
1715
|
function m(e, t, n) {
|
|
1668
|
-
throw e.N ? (n !== void 0 && t instanceof k && (t = e.Aa(t),
|
|
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;
|
|
1669
1717
|
}
|
|
1670
1718
|
function Fe(e, t, n, r) {
|
|
1671
1719
|
if (t === 0)
|
|
@@ -1752,20 +1800,20 @@ function xr(e, t, n) {
|
|
|
1752
1800
|
u.type = "CallExpression", r = r.scope;
|
|
1753
1801
|
} else {
|
|
1754
1802
|
try {
|
|
1755
|
-
var
|
|
1803
|
+
var E = de(String(s), "taskCode" + e.ic++);
|
|
1756
1804
|
} catch (F) {
|
|
1757
1805
|
m(e, e.T, "Invalid code: " + F.message);
|
|
1758
1806
|
}
|
|
1759
|
-
u.type = "EvalProgram_", u.body =
|
|
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;
|
|
1760
1808
|
}
|
|
1761
|
-
return t = new
|
|
1809
|
+
return t = new gn(h, i, r, u, t ? n : -1), Ir(e, t, n), t.Db;
|
|
1762
1810
|
}
|
|
1763
|
-
function
|
|
1811
|
+
function Ir(e, t, n) {
|
|
1764
1812
|
t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, i) {
|
|
1765
1813
|
return r.time - i.time;
|
|
1766
1814
|
});
|
|
1767
1815
|
}
|
|
1768
|
-
function
|
|
1816
|
+
function jr(e, t) {
|
|
1769
1817
|
for (var n = 0; n < e.ca.length; n++)
|
|
1770
1818
|
if (e.ca[n].Db == t) {
|
|
1771
1819
|
e.ca.splice(n, 1);
|
|
@@ -1779,14 +1827,14 @@ function Le(e, t, n) {
|
|
|
1779
1827
|
var r = e.ya();
|
|
1780
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;
|
|
1781
1829
|
}
|
|
1782
|
-
function
|
|
1830
|
+
function Ft(e, t, n, r) {
|
|
1783
1831
|
if (!e.Ka)
|
|
1784
1832
|
throw Error("Unexpected call to createSetter");
|
|
1785
1833
|
e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
|
|
1786
1834
|
var i = e.ya();
|
|
1787
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;
|
|
1788
1836
|
}
|
|
1789
|
-
function
|
|
1837
|
+
function St(e, t) {
|
|
1790
1838
|
return t == null ? e.Na : t instanceof k ? t : (e = e.s(ee(e, t)), e.data = t, e);
|
|
1791
1839
|
}
|
|
1792
1840
|
C.Xb = function() {
|
|
@@ -1801,7 +1849,7 @@ C.ec = function(e) {
|
|
|
1801
1849
|
function y(e, t) {
|
|
1802
1850
|
this.node = e, this.scope = t;
|
|
1803
1851
|
}
|
|
1804
|
-
function
|
|
1852
|
+
function Tr(e, t, n) {
|
|
1805
1853
|
this.Va = e, this.S = t, this.object = n;
|
|
1806
1854
|
}
|
|
1807
1855
|
function k(e) {
|
|
@@ -1862,10 +1910,10 @@ C.toString = function() {
|
|
|
1862
1910
|
C.valueOf = function() {
|
|
1863
1911
|
return !Ue || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
1864
1912
|
};
|
|
1865
|
-
function
|
|
1866
|
-
this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = i, this.Db = ++
|
|
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;
|
|
1867
1915
|
}
|
|
1868
|
-
var
|
|
1916
|
+
var vn = 0;
|
|
1869
1917
|
f.prototype.stepArrayExpression = function(e, t, n) {
|
|
1870
1918
|
n = n.elements;
|
|
1871
1919
|
var r = t.A || 0;
|
|
@@ -1880,7 +1928,7 @@ f.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
1880
1928
|
if (!t.ja)
|
|
1881
1929
|
return t.ja = !0, t = new y(n.left, t.scope), t.sa = !0, t;
|
|
1882
1930
|
if (!t.Da)
|
|
1883
|
-
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e =
|
|
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));
|
|
1884
1932
|
if (t.ta)
|
|
1885
1933
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
1886
1934
|
else {
|
|
@@ -1925,8 +1973,8 @@ f.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
1925
1973
|
default:
|
|
1926
1974
|
throw SyntaxError("Unknown assignment expression: " + n.operator);
|
|
1927
1975
|
}
|
|
1928
|
-
if (n =
|
|
1929
|
-
return t.ta = !0, t.ib = r,
|
|
1976
|
+
if (n = _t(this, t.Fa, r))
|
|
1977
|
+
return t.ta = !0, t.ib = r, Ft(this, n, t.Fa, r);
|
|
1930
1978
|
e.pop(), e[e.length - 1].value = r;
|
|
1931
1979
|
}
|
|
1932
1980
|
};
|
|
@@ -2026,7 +2074,7 @@ f.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2026
2074
|
t.ia = 2;
|
|
2027
2075
|
var i = t.value;
|
|
2028
2076
|
if (Array.isArray(i)) {
|
|
2029
|
-
if (t.U =
|
|
2077
|
+
if (t.U = Dt(this, i), i[0] === Ee ? t.Pb = i[1] === "eval" : t.B = i[0], i = t.U, this.P)
|
|
2030
2078
|
return t.ia = 1, Le(this, i, t.value);
|
|
2031
2079
|
} else
|
|
2032
2080
|
t.U = i;
|
|
@@ -2050,11 +2098,11 @@ f.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2050
2098
|
e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
|
|
2051
2099
|
else {
|
|
2052
2100
|
if (t.eb = !0, i instanceof k || m(this, this.j, B(this, n.callee) + " is not a function"), e = i.node) {
|
|
2053
|
-
for (n =
|
|
2101
|
+
for (n = At(this, e.body, i.Va), r = we(this), i = 0; i < t.F.length; i++)
|
|
2054
2102
|
this.g(r, i, t.F[i]);
|
|
2055
2103
|
for (this.g(n.object, "arguments", r), i = 0; i < e.oa.length; i++)
|
|
2056
2104
|
this.g(n.object, e.oa[i].name, t.F.length > i ? t.F[i] : void 0);
|
|
2057
|
-
return n.S || (t.B =
|
|
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);
|
|
2058
2106
|
}
|
|
2059
2107
|
if (i.eval)
|
|
2060
2108
|
if (i = t.F[0], typeof i != "string")
|
|
@@ -2065,15 +2113,15 @@ f.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2065
2113
|
} catch (h) {
|
|
2066
2114
|
m(this, this.T, "Invalid code: " + h.message);
|
|
2067
2115
|
}
|
|
2068
|
-
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 =
|
|
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);
|
|
2069
2117
|
}
|
|
2070
2118
|
else if (i.Ta)
|
|
2071
|
-
t.scope.S || (t.B =
|
|
2119
|
+
t.scope.S || (t.B = St(this, t.B)), t.value = i.Ta.apply(t.B, t.F);
|
|
2072
2120
|
else if (i.Za) {
|
|
2073
2121
|
var u = this;
|
|
2074
2122
|
r = i.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(h) {
|
|
2075
2123
|
t.value = h, u.za = !1;
|
|
2076
|
-
}), this.za = !0, t.scope.S || (t.B =
|
|
2124
|
+
}), this.za = !0, t.scope.S || (t.B = St(this, t.B)), i.Za.apply(t.B, r);
|
|
2077
2125
|
} else
|
|
2078
2126
|
m(this, this.j, B(this, n.callee) + " is not callable");
|
|
2079
2127
|
}
|
|
@@ -2154,8 +2202,8 @@ f.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2154
2202
|
t.pa = [Ee, e.fa[0].id.name];
|
|
2155
2203
|
else
|
|
2156
2204
|
return t.pa = null, t = new y(e, t.scope), t.sa = !0, t;
|
|
2157
|
-
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r =
|
|
2158
|
-
return
|
|
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);
|
|
2159
2207
|
if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
|
|
2160
2208
|
return new y(n.body, t.scope);
|
|
2161
2209
|
};
|
|
@@ -2184,13 +2232,13 @@ f.prototype.stepFunctionDeclaration = function(e) {
|
|
|
2184
2232
|
e.pop();
|
|
2185
2233
|
};
|
|
2186
2234
|
f.prototype.stepFunctionExpression = function(e, t, n) {
|
|
2187
|
-
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e =
|
|
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);
|
|
2188
2236
|
};
|
|
2189
2237
|
f.prototype.stepIdentifier = function(e, t, n) {
|
|
2190
2238
|
if (e.pop(), t.sa)
|
|
2191
2239
|
e[e.length - 1].value = [Ee, n.name];
|
|
2192
2240
|
else {
|
|
2193
|
-
if (t =
|
|
2241
|
+
if (t = bt(this, n.name), this.P)
|
|
2194
2242
|
return Le(this, t, this.Na);
|
|
2195
2243
|
e[e.length - 1].value = t;
|
|
2196
2244
|
}
|
|
@@ -2200,7 +2248,7 @@ f.prototype.stepLabeledStatement = function(e, t, n) {
|
|
|
2200
2248
|
return e.pop(), e = t.labels || [], e.push(n.label.name), t = new y(n.body, t.scope), t.labels = e, t;
|
|
2201
2249
|
};
|
|
2202
2250
|
f.prototype.stepLiteral = function(e, t, n) {
|
|
2203
|
-
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma),
|
|
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;
|
|
2204
2252
|
};
|
|
2205
2253
|
f.prototype.stepLogicalExpression = function(e, t, n) {
|
|
2206
2254
|
if (n.operator !== "&&" && n.operator !== "||")
|
|
@@ -2303,7 +2351,7 @@ f.prototype.stepSwitchStatement = function(e, t, n) {
|
|
|
2303
2351
|
}
|
|
2304
2352
|
};
|
|
2305
2353
|
f.prototype.stepThisExpression = function(e) {
|
|
2306
|
-
e.pop(), e[e.length - 1].value =
|
|
2354
|
+
e.pop(), e[e.length - 1].value = bt(this, "this");
|
|
2307
2355
|
};
|
|
2308
2356
|
f.prototype.stepThrowStatement = function(e, t, n) {
|
|
2309
2357
|
if (t.ka)
|
|
@@ -2315,7 +2363,7 @@ f.prototype.stepTryStatement = function(e, t, n) {
|
|
|
2315
2363
|
if (!t.Rb)
|
|
2316
2364
|
return t.Rb = !0, new y(n.block, t.scope);
|
|
2317
2365
|
if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
|
|
2318
|
-
return t.Tb = !0, e =
|
|
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);
|
|
2319
2367
|
if (!t.Sb && n.fb)
|
|
2320
2368
|
return t.Sb = !0, new y(n.fb, t.scope);
|
|
2321
2369
|
e.pop(), t.ea && Fe(this, t.ea.type, t.ea.value, t.ea.label);
|
|
@@ -2365,7 +2413,7 @@ f.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2365
2413
|
if (!t.ja)
|
|
2366
2414
|
return t.ja = !0, e = new y(n.K, t.scope), e.sa = !0, e;
|
|
2367
2415
|
if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
|
|
2368
|
-
var r =
|
|
2416
|
+
var r = Dt(this, t.Ga);
|
|
2369
2417
|
if (t.ma = r, this.P)
|
|
2370
2418
|
return t.Ba = !0, Le(this, r, t.Ga);
|
|
2371
2419
|
}
|
|
@@ -2378,15 +2426,15 @@ f.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2378
2426
|
i = r - 1;
|
|
2379
2427
|
else
|
|
2380
2428
|
throw SyntaxError("Unknown update expression: " + n.operator);
|
|
2381
|
-
if (n = n.prefix ? i : r, r =
|
|
2382
|
-
return t.ta = !0, t.ib = n,
|
|
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);
|
|
2383
2431
|
e.pop(), e[e.length - 1].value = n;
|
|
2384
2432
|
}
|
|
2385
2433
|
};
|
|
2386
2434
|
f.prototype.stepVariableDeclaration = function(e, t, n) {
|
|
2387
2435
|
n = n.fa;
|
|
2388
2436
|
var r = t.A || 0, i = n[r];
|
|
2389
|
-
for (t.Bb && i && (
|
|
2437
|
+
for (t.Bb && i && (Ar(this, i.id.name, t.value), t.Bb = !1, i = n[++r]); i; ) {
|
|
2390
2438
|
if (i.ua)
|
|
2391
2439
|
return t.A = r, t.Bb = !0, t.Pa = i.id.name, new y(i.ua, t.scope);
|
|
2392
2440
|
i = n[++r];
|
|
@@ -2394,7 +2442,7 @@ f.prototype.stepVariableDeclaration = function(e, t, n) {
|
|
|
2394
2442
|
e.pop();
|
|
2395
2443
|
};
|
|
2396
2444
|
f.prototype.stepWithStatement = function(e, t, n) {
|
|
2397
|
-
return t.Ca ? (e.pop(), e =
|
|
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));
|
|
2398
2446
|
};
|
|
2399
2447
|
f.prototype.stepWhileStatement = f.prototype.stepDoWhileStatement;
|
|
2400
2448
|
oe.Interpreter = f;
|
|
@@ -2413,19 +2461,7 @@ f.prototype.getGlobalScope = f.prototype.Xb;
|
|
|
2413
2461
|
f.prototype.getStateStack = f.prototype.Yb;
|
|
2414
2462
|
f.prototype.setStateStack = f.prototype.ec;
|
|
2415
2463
|
f.VALUE_IN_DESCRIPTOR = De;
|
|
2416
|
-
const
|
|
2417
|
-
builder: e,
|
|
2418
|
-
context: t,
|
|
2419
|
-
event: n,
|
|
2420
|
-
state: r
|
|
2421
|
-
}) => Object.entries({
|
|
2422
|
-
state: r,
|
|
2423
|
-
Builder: e,
|
|
2424
|
-
// legacy
|
|
2425
|
-
builder: e,
|
|
2426
|
-
context: t,
|
|
2427
|
-
event: n
|
|
2428
|
-
}), fn = (e) => e.split(`
|
|
2464
|
+
const yn = (e) => e.split(`
|
|
2429
2465
|
`).map((t) => {
|
|
2430
2466
|
const n = t.trim();
|
|
2431
2467
|
if (t.includes("__awaiter"))
|
|
@@ -2438,7 +2474,7 @@ const pn = ({
|
|
|
2438
2474
|
${h}
|
|
2439
2475
|
`;
|
|
2440
2476
|
}).filter(Boolean).join(`
|
|
2441
|
-
`),
|
|
2477
|
+
`), Sr = (e) => e + "JSON", mn = ({
|
|
2442
2478
|
builder: e,
|
|
2443
2479
|
context: t,
|
|
2444
2480
|
event: n,
|
|
@@ -2450,17 +2486,17 @@ const pn = ({
|
|
|
2450
2486
|
const h = {
|
|
2451
2487
|
...r,
|
|
2452
2488
|
...i
|
|
2453
|
-
},
|
|
2489
|
+
}, E = kr({
|
|
2454
2490
|
builder: e,
|
|
2455
2491
|
context: t,
|
|
2456
2492
|
event: n,
|
|
2457
2493
|
state: h
|
|
2458
|
-
}), F =
|
|
2459
|
-
const X =
|
|
2494
|
+
}), F = E.map(([U]) => {
|
|
2495
|
+
const X = Sr(U);
|
|
2460
2496
|
return `var ${U} = ${X} === undefined ? undefined : JSON.parse(${X});`;
|
|
2461
2497
|
}).join(`
|
|
2462
|
-
`),
|
|
2463
|
-
if (
|
|
2498
|
+
`), N = yn(u);
|
|
2499
|
+
if (N === "") {
|
|
2464
2500
|
Ze.warn("Skipping evaluation of empty code block.");
|
|
2465
2501
|
return;
|
|
2466
2502
|
}
|
|
@@ -2468,16 +2504,16 @@ const pn = ({
|
|
|
2468
2504
|
function theFunction() {
|
|
2469
2505
|
${F}
|
|
2470
2506
|
|
|
2471
|
-
${
|
|
2507
|
+
${N}
|
|
2472
2508
|
}
|
|
2473
2509
|
theFunction();
|
|
2474
2510
|
`, Be = (U, X) => {
|
|
2475
|
-
const ce =
|
|
2511
|
+
const ce = Qr(h, U, X);
|
|
2476
2512
|
s == null || s(ce);
|
|
2477
2513
|
}, se = function(U, X) {
|
|
2478
|
-
|
|
2479
|
-
const
|
|
2480
|
-
U.setProperty(X,
|
|
2514
|
+
E.forEach(([ce, Ge]) => {
|
|
2515
|
+
const S = JSON.stringify(Ge);
|
|
2516
|
+
U.setProperty(X, Sr(ce), S);
|
|
2481
2517
|
}), U.setProperty(X, "setRootState", U.createNativeFunction(Be));
|
|
2482
2518
|
};
|
|
2483
2519
|
try {
|
|
@@ -2489,8 +2525,8 @@ theFunction();
|
|
|
2489
2525
|
});
|
|
2490
2526
|
return;
|
|
2491
2527
|
}
|
|
2492
|
-
};
|
|
2493
|
-
function
|
|
2528
|
+
}, dn = (e) => kt() ? Zr(e) : mn(e);
|
|
2529
|
+
function En({
|
|
2494
2530
|
code: e,
|
|
2495
2531
|
context: t,
|
|
2496
2532
|
localState: n,
|
|
@@ -2504,13 +2540,10 @@ function vn({
|
|
|
2504
2540
|
return;
|
|
2505
2541
|
}
|
|
2506
2542
|
const h = {
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
}, I = {
|
|
2512
|
-
code: /* we disable this for cases where we definitely don't want a return */ u && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e,
|
|
2513
|
-
builder: h,
|
|
2543
|
+
code: Kr(e, {
|
|
2544
|
+
isExpression: u
|
|
2545
|
+
}),
|
|
2546
|
+
builder: Yr(),
|
|
2514
2547
|
context: t,
|
|
2515
2548
|
event: s,
|
|
2516
2549
|
rootSetState: i,
|
|
@@ -2518,15 +2551,15 @@ function vn({
|
|
|
2518
2551
|
localState: n
|
|
2519
2552
|
};
|
|
2520
2553
|
try {
|
|
2521
|
-
return
|
|
2522
|
-
} catch (
|
|
2523
|
-
Ze.error("Failed code evaluation: " +
|
|
2554
|
+
return dn(h);
|
|
2555
|
+
} catch (E) {
|
|
2556
|
+
Ze.error("Failed code evaluation: " + E.message, {
|
|
2524
2557
|
code: e
|
|
2525
2558
|
});
|
|
2526
2559
|
return;
|
|
2527
2560
|
}
|
|
2528
2561
|
}
|
|
2529
2562
|
export {
|
|
2530
|
-
|
|
2531
|
-
|
|
2563
|
+
En as e,
|
|
2564
|
+
Qr as s
|
|
2532
2565
|
};
|