@builder.io/sdk-vue 0.8.1 → 0.10.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/README.md +1 -4
- package/package.json +1 -1
- package/vue2/lib/browser/{block-a0c2b259.cjs → block-36cac25a.cjs} +2 -2
- package/vue2/lib/{node/block-7f67e05d.js → browser/block-861bf355.js} +7 -7
- package/vue2/lib/{node/block-styles-c993aa90.cjs → browser/block-styles-c455ab54.cjs} +1 -1
- package/vue2/lib/{edge/block-styles-df04ce35.js → browser/block-styles-faed2449.js} +5 -5
- package/vue2/lib/browser/{block-wrapper-57736e55.js → block-wrapper-37b64344.js} +5 -5
- package/vue2/lib/browser/{block-wrapper-899031dc.cjs → block-wrapper-74b1fda9.cjs} +1 -1
- package/vue2/lib/browser/blocks-wrapper-2b49452c.cjs +1 -0
- package/vue2/lib/browser/blocks-wrapper-490b6501.js +74 -0
- package/vue2/lib/{edge/component-ref-406288b4.js → browser/component-ref-92ea8509.js} +6 -6
- package/vue2/lib/{node/component-ref-19d8d4a8.cjs → browser/component-ref-9693d3b5.cjs} +1 -1
- package/vue2/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
- package/vue2/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
- package/vue2/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +14 -0
- package/vue2/lib/browser/components/blocks/blocks.vue.d.ts +1 -1
- package/vue2/lib/browser/components/content/components/enable-editor.vue.d.ts +3 -0
- package/vue2/lib/browser/components/content/content.vue.d.ts +2 -0
- package/vue2/lib/browser/components/content-variants/content-variants.types.d.ts +16 -0
- package/vue2/lib/browser/components/content-variants/content-variants.vue.d.ts +12 -0
- package/vue2/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/browser/{content-3cada794.cjs → content-53eb5655.cjs} +1 -1
- package/vue2/lib/{edge/content-fbac6557.js → browser/content-8f812a38.js} +29 -23
- package/vue2/lib/browser/context/builder.context.d.ts +2 -0
- package/vue2/lib/browser/context/types.d.ts +2 -1
- package/vue2/lib/{node/css-3747a91a.cjs → browser/css-38eebc34.cjs} +1 -1
- package/vue2/lib/browser/{css-445df887.js → css-c5e3c46b.js} +1 -1
- package/vue2/lib/browser/enable-editor-1f6a54ac.cjs +1 -0
- package/vue2/lib/{edge/enable-editor-f4bb4d8e.js → browser/enable-editor-7ccc9be9.js} +25 -27
- package/vue2/lib/browser/{evaluate-a8ca82e7.cjs → evaluate-5b9ba4c5.cjs} +1 -1
- package/vue2/lib/browser/{evaluate-b3a4e37f.js → evaluate-6fd688e4.js} +1 -1
- package/vue2/lib/browser/functions/get-block-properties.d.ts +1 -1
- package/vue2/lib/browser/functions/get-content/index.d.ts +2 -2
- package/vue2/lib/browser/functions/transform-block-properties.d.ts +5 -2
- package/vue2/lib/{edge/get-block-actions-89cffb9a.js → browser/get-block-actions-9d967845.js} +2 -2
- package/vue2/lib/browser/{get-block-actions-3bd34049.cjs → get-block-actions-ea954589.cjs} +1 -1
- package/vue2/lib/browser/get-block-properties-d54aca83.cjs +1 -0
- package/vue2/lib/browser/{get-block-properties-4030d3b5.js → get-block-properties-ddf880dc.js} +10 -4
- package/vue2/lib/browser/{get-processed-block-14ea8201.cjs → get-processed-block-6a4110c3.cjs} +1 -1
- package/vue2/lib/browser/{get-processed-block-497309fc.js → get-processed-block-8eee466e.js} +2 -2
- package/vue2/lib/{node/index-f335cf42.js → browser/index-7a45f7e8.js} +113 -106
- package/vue2/lib/{edge/index-56af5fb4.cjs → browser/index-fae2823a.cjs} +7 -7
- package/vue2/lib/browser/index-helpers/blocks-exports.d.ts +12 -0
- package/vue2/lib/browser/index.cjs +1 -1
- package/vue2/lib/browser/index.js +1 -1
- package/vue2/lib/browser/{inlined-script-3dc8b278.cjs → inlined-script-310b1b78.cjs} +1 -1
- package/vue2/lib/{edge/inlined-script-a166a386.js → browser/inlined-script-93bcd870.js} +1 -1
- package/vue2/lib/browser/{inlined-styles-f1203db0.cjs → inlined-styles-52d0d9db.cjs} +1 -1
- package/vue2/lib/{node/inlined-styles-c3091b9e.js → browser/inlined-styles-f0555ea7.js} +1 -1
- package/vue2/lib/{node/interactive-element-72f51043.js → browser/interactive-element-35f60577.js} +5 -5
- package/vue2/lib/{node/interactive-element-64032c60.cjs → browser/interactive-element-d7adf963.cjs} +1 -1
- package/vue2/lib/{node/repeated-block-c2df83ff.cjs → browser/repeated-block-20b005e0.cjs} +1 -1
- package/vue2/lib/{node/repeated-block-f033b120.js → browser/repeated-block-ba6d35cc.js} +2 -2
- package/vue2/lib/browser/style.css +1 -1
- package/vue2/lib/{node/styles-7d3b3741.cjs → browser/styles-917a4f34.cjs} +2 -2
- package/vue2/lib/browser/{styles-e141b29e.js → styles-dc764ba9.js} +2 -2
- package/vue2/lib/browser/types/enforced-partials.d.ts +7 -2
- package/vue2/lib/{node/block-9f7dfe6d.cjs → edge/block-0f92a227.cjs} +2 -2
- package/vue2/lib/{browser/block-f1233138.js → edge/block-49c9733d.js} +7 -7
- package/vue2/lib/{node/block-styles-6d96e69c.js → edge/block-styles-ce2d9d5e.js} +5 -5
- package/vue2/lib/edge/{block-styles-236afaf6.cjs → block-styles-df90677b.cjs} +1 -1
- package/vue2/lib/{node/block-wrapper-4772c4ae.js → edge/block-wrapper-59785121.js} +5 -5
- package/vue2/lib/{node/block-wrapper-08f3c04a.cjs → edge/block-wrapper-f0eef937.cjs} +1 -1
- package/vue2/lib/edge/blocks-wrapper-79845ab6.js +74 -0
- package/vue2/lib/edge/blocks-wrapper-b7c8852b.cjs +1 -0
- package/vue2/lib/{browser/component-ref-de2bce5c.cjs → edge/component-ref-3248243b.cjs} +1 -1
- package/vue2/lib/{node/component-ref-6b1013d0.js → edge/component-ref-921b715d.js} +6 -6
- package/vue2/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
- package/vue2/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
- package/vue2/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +14 -0
- package/vue2/lib/edge/components/blocks/blocks.vue.d.ts +1 -1
- package/vue2/lib/edge/components/content/components/enable-editor.vue.d.ts +3 -0
- package/vue2/lib/edge/components/content/content.vue.d.ts +2 -0
- package/vue2/lib/edge/components/content-variants/content-variants.types.d.ts +16 -0
- package/vue2/lib/edge/components/content-variants/content-variants.vue.d.ts +12 -0
- package/vue2/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/{node/content-7e6f95d2.cjs → edge/content-5c261489.cjs} +1 -1
- package/vue2/lib/{browser/content-bd41cd51.js → edge/content-98b184de.js} +29 -23
- package/vue2/lib/edge/context/builder.context.d.ts +2 -0
- package/vue2/lib/edge/context/types.d.ts +2 -1
- package/vue2/lib/{browser/css-535c5d1c.cjs → edge/css-4311a890.cjs} +1 -1
- package/vue2/lib/{node/css-ab629ac6.js → edge/css-b08d1e02.js} +1 -1
- package/vue2/lib/{node/enable-editor-58b89268.js → edge/enable-editor-52c3ad3c.js} +25 -27
- package/vue2/lib/edge/enable-editor-a382ccc8.cjs +1 -0
- package/vue2/lib/edge/{evaluate-0145ba88.cjs → evaluate-0bfb6f5e.cjs} +1 -1
- package/vue2/lib/edge/{evaluate-063c5f7a.js → evaluate-636aee70.js} +1 -1
- package/vue2/lib/edge/functions/get-block-properties.d.ts +1 -1
- package/vue2/lib/edge/functions/get-content/index.d.ts +2 -2
- package/vue2/lib/edge/functions/transform-block-properties.d.ts +5 -2
- package/vue2/lib/{node/get-block-actions-261b93f6.js → edge/get-block-actions-01697843.js} +2 -2
- package/vue2/lib/edge/{get-block-actions-7f885c3f.cjs → get-block-actions-d1222ac0.cjs} +1 -1
- package/vue2/lib/{node/get-block-properties-49526534.js → edge/get-block-properties-2332f899.js} +10 -4
- package/vue2/lib/edge/get-block-properties-c4077926.cjs +1 -0
- package/vue2/lib/edge/{get-processed-block-adb656ef.cjs → get-processed-block-0a1ec6ea.cjs} +1 -1
- package/vue2/lib/{node/get-processed-block-7242c9a8.js → edge/get-processed-block-1e4b19d3.js} +2 -2
- package/vue2/lib/{node/index-00b54a2d.cjs → edge/index-255d62bb.cjs} +7 -7
- package/vue2/lib/{browser/index-f3618847.js → edge/index-34d29a8a.js} +113 -106
- package/vue2/lib/edge/index-helpers/blocks-exports.d.ts +12 -0
- package/vue2/lib/edge/index.cjs +1 -1
- package/vue2/lib/edge/index.js +1 -1
- package/vue2/lib/{node/inlined-script-b0441af1.js → edge/inlined-script-48390289.js} +1 -1
- package/vue2/lib/edge/{inlined-script-a5b3779c.cjs → inlined-script-b88e2ef6.cjs} +1 -1
- package/vue2/lib/edge/{inlined-styles-029c0f2b.cjs → inlined-styles-0caaacb4.cjs} +1 -1
- package/vue2/lib/edge/{inlined-styles-f7c080fd.js → inlined-styles-8a6dd3b8.js} +1 -1
- package/vue2/lib/{browser/interactive-element-3720d577.js → edge/interactive-element-6bdf0962.js} +5 -5
- package/vue2/lib/edge/{interactive-element-960a9e10.cjs → interactive-element-bfb79ccc.cjs} +1 -1
- package/vue2/lib/{browser/repeated-block-711036ce.js → edge/repeated-block-72e17122.js} +2 -2
- package/vue2/lib/{browser/repeated-block-37646894.cjs → edge/repeated-block-c02fe8e4.cjs} +1 -1
- package/vue2/lib/edge/style.css +1 -1
- package/vue2/lib/edge/{styles-5c035753.js → styles-204a75db.js} +2 -2
- package/vue2/lib/{browser/styles-18e2ee39.cjs → edge/styles-61420111.cjs} +2 -2
- package/vue2/lib/edge/types/enforced-partials.d.ts +7 -2
- package/vue2/lib/{edge/block-65659a3f.cjs → node/block-79274dc2.cjs} +2 -2
- package/vue2/lib/{edge/block-35ad0e3f.js → node/block-e9ed3688.js} +7 -7
- package/vue2/lib/{browser/block-styles-33d86077.cjs → node/block-styles-09e2b9ad.cjs} +1 -1
- package/vue2/lib/{browser/block-styles-ebf9b1a6.js → node/block-styles-7bd04542.js} +5 -5
- package/vue2/lib/{edge/block-wrapper-ed85d5e5.js → node/block-wrapper-8924bb4a.js} +5 -5
- package/vue2/lib/{edge/block-wrapper-92227702.cjs → node/block-wrapper-a86bfb8b.cjs} +1 -1
- package/vue2/lib/node/blocks-wrapper-cccd83c0.cjs +1 -0
- package/vue2/lib/node/blocks-wrapper-f0f089d5.js +74 -0
- package/vue2/lib/{edge/component-ref-6fe256db.cjs → node/component-ref-f57085a0.cjs} +1 -1
- package/vue2/lib/{browser/component-ref-8822545e.js → node/component-ref-fbc7880f.js} +6 -6
- package/vue2/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
- package/vue2/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
- package/vue2/lib/node/components/blocks/blocks-wrapper.vue.d.ts +14 -0
- package/vue2/lib/node/components/blocks/blocks.vue.d.ts +1 -1
- package/vue2/lib/node/components/content/components/enable-editor.vue.d.ts +3 -0
- package/vue2/lib/node/components/content/content.vue.d.ts +2 -0
- package/vue2/lib/node/components/content-variants/content-variants.types.d.ts +16 -0
- package/vue2/lib/node/components/content-variants/content-variants.vue.d.ts +12 -0
- package/vue2/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/node/{content-5de9cb53.js → content-59b2396d.js} +29 -23
- package/vue2/lib/{edge/content-78b300bf.cjs → node/content-d39cec9a.cjs} +1 -1
- package/vue2/lib/node/context/builder.context.d.ts +2 -0
- package/vue2/lib/node/context/types.d.ts +2 -1
- package/vue2/lib/{edge/css-15965af3.cjs → node/css-51ee2b3d.cjs} +1 -1
- package/vue2/lib/{edge/css-11eef1df.js → node/css-daa1c065.js} +1 -1
- package/vue2/lib/{browser/enable-editor-9486d0af.js → node/enable-editor-b2f063a7.js} +25 -27
- package/vue2/lib/node/enable-editor-e72e68d4.cjs +1 -0
- package/vue2/lib/node/{evaluate-5237e8df.cjs → evaluate-2c4b0c95.cjs} +1 -1
- package/vue2/lib/node/{evaluate-e40501d4.js → evaluate-a1bee057.js} +1 -1
- package/vue2/lib/node/functions/get-block-properties.d.ts +1 -1
- package/vue2/lib/node/functions/get-content/index.d.ts +2 -2
- package/vue2/lib/node/functions/transform-block-properties.d.ts +5 -2
- package/vue2/lib/{browser/get-block-actions-e5886236.js → node/get-block-actions-c172c6db.js} +2 -2
- package/vue2/lib/node/{get-block-actions-5d60bb63.cjs → get-block-actions-e0b74d12.cjs} +1 -1
- package/vue2/lib/{edge/get-block-properties-aedb780e.js → node/get-block-properties-281909a9.js} +10 -4
- package/vue2/lib/node/get-block-properties-f861d489.cjs +1 -0
- package/vue2/lib/node/{get-processed-block-3b811708.cjs → get-processed-block-0f04fb43.cjs} +1 -1
- package/vue2/lib/{edge/get-processed-block-c0f0da5d.js → node/get-processed-block-52f3ad4e.js} +2 -2
- package/vue2/lib/{edge/index-7870efd8.js → node/index-2a78d8bb.js} +113 -106
- package/vue2/lib/{browser/index-c5b74b20.cjs → node/index-ca2796c1.cjs} +7 -7
- package/vue2/lib/node/index-helpers/blocks-exports.d.ts +12 -0
- package/vue2/lib/node/index.cjs +1 -1
- package/vue2/lib/node/index.js +1 -1
- package/vue2/lib/node/{inlined-script-e7e8cc4a.cjs → inlined-script-b064e35e.cjs} +1 -1
- package/vue2/lib/{browser/inlined-script-84f7b988.js → node/inlined-script-f844d064.js} +1 -1
- package/vue2/lib/{browser/inlined-styles-9918b05e.js → node/inlined-styles-7bd96b02.js} +1 -1
- package/vue2/lib/node/{inlined-styles-a8e61790.cjs → inlined-styles-8bc76deb.cjs} +1 -1
- package/vue2/lib/{browser/interactive-element-5656c996.cjs → node/interactive-element-0ad1f701.cjs} +1 -1
- package/vue2/lib/{edge/interactive-element-c889d9dc.js → node/interactive-element-58f52f69.js} +5 -5
- package/vue2/lib/{edge/repeated-block-0c2cb139.cjs → node/repeated-block-8cc1a441.cjs} +1 -1
- package/vue2/lib/{edge/repeated-block-07d2d25b.js → node/repeated-block-bbb43376.js} +2 -2
- package/vue2/lib/node/style.css +1 -1
- package/vue2/lib/{edge/styles-ed45e5cf.cjs → node/styles-08d4bba5.cjs} +2 -2
- package/vue2/lib/node/{styles-a1697843.js → styles-23471dd5.js} +2 -2
- package/vue2/lib/node/types/enforced-partials.d.ts +7 -2
- package/vue3/lib/{edge/block-wrapper.57daa012.cjs → browser/block-wrapper.79de0d1b.cjs} +1 -1
- package/vue3/lib/{edge/block-wrapper.0d57b295.js → browser/block-wrapper.d8753b7e.js} +2 -2
- package/vue3/lib/browser/blocks/image/image.vue.d.ts +3 -3
- package/vue3/lib/{edge/component-ref.47f4d835.js → browser/component-ref.0fcf8f81.js} +2 -2
- package/vue3/lib/{edge/component-ref.5f18534f.cjs → browser/component-ref.e571e4c0.cjs} +1 -1
- package/vue3/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
- package/vue3/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
- package/vue3/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +14 -0
- package/vue3/lib/browser/components/blocks/blocks.vue.d.ts +7 -7
- package/vue3/lib/browser/components/content/components/enable-editor.vue.d.ts +9 -0
- package/vue3/lib/browser/components/content/content.vue.d.ts +14 -0
- package/vue3/lib/browser/components/content-variants/content-variants.types.d.ts +16 -0
- package/vue3/lib/browser/components/content-variants/content-variants.vue.d.ts +12 -0
- package/vue3/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/browser/context/builder.context.d.ts +2 -0
- package/vue3/lib/browser/context/types.d.ts +2 -1
- package/vue3/lib/browser/functions/get-block-properties.d.ts +1 -1
- package/vue3/lib/browser/functions/get-content/index.d.ts +2 -2
- package/vue3/lib/browser/functions/transform-block-properties.d.ts +5 -2
- package/vue3/lib/{edge/get-block-actions.e18a650e.js → browser/get-block-actions.532ddca6.js} +17 -11
- package/vue3/lib/browser/get-block-actions.cf4a0fd3.cjs +1 -0
- package/vue3/lib/browser/index-helpers/blocks-exports.d.ts +18 -6
- package/vue3/lib/browser/{index.796bf63b.cjs → index.85b3d46a.cjs} +19 -19
- package/vue3/lib/browser/index.cjs +1 -1
- package/vue3/lib/browser/{index.c5cd33f5.js → index.d5883cd5.js} +678 -637
- package/vue3/lib/browser/index.js +1 -1
- package/vue3/lib/{edge/repeated-block.dbf2ac5d.js → browser/repeated-block.612b0dc8.js} +2 -2
- package/vue3/lib/browser/{repeated-block.293b3b51.cjs → repeated-block.d9744c29.cjs} +1 -1
- package/vue3/lib/browser/style.css +1 -1
- package/vue3/lib/browser/types/enforced-partials.d.ts +7 -2
- package/vue3/lib/{browser/block-wrapper.93359482.js → edge/block-wrapper.48cbd4ad.js} +2 -2
- package/vue3/lib/{browser/block-wrapper.2dba8fb9.cjs → edge/block-wrapper.5f54529d.cjs} +1 -1
- package/vue3/lib/edge/blocks/image/image.vue.d.ts +3 -3
- package/vue3/lib/{browser/component-ref.5d332cbe.cjs → edge/component-ref.779a5527.cjs} +1 -1
- package/vue3/lib/{browser/component-ref.348e3f3c.js → edge/component-ref.cd17a2b8.js} +2 -2
- package/vue3/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
- package/vue3/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
- package/vue3/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +14 -0
- package/vue3/lib/edge/components/blocks/blocks.vue.d.ts +7 -7
- package/vue3/lib/edge/components/content/components/enable-editor.vue.d.ts +9 -0
- package/vue3/lib/edge/components/content/content.vue.d.ts +14 -0
- package/vue3/lib/edge/components/content-variants/content-variants.types.d.ts +16 -0
- package/vue3/lib/edge/components/content-variants/content-variants.vue.d.ts +12 -0
- package/vue3/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/edge/context/builder.context.d.ts +2 -0
- package/vue3/lib/edge/context/types.d.ts +2 -1
- package/vue3/lib/edge/functions/get-block-properties.d.ts +1 -1
- package/vue3/lib/edge/functions/get-content/index.d.ts +2 -2
- package/vue3/lib/edge/functions/transform-block-properties.d.ts +5 -2
- package/vue3/lib/edge/get-block-actions.e213d5e5.cjs +1 -0
- package/vue3/lib/{browser/get-block-actions.ca6fe762.js → edge/get-block-actions.e90f22a0.js} +17 -11
- package/vue3/lib/edge/index-helpers/blocks-exports.d.ts +18 -6
- package/vue3/lib/edge/{index.a7c064ed.js → index.26869e2b.js} +849 -808
- package/vue3/lib/edge/{index.c0fdb424.cjs → index.9551e853.cjs} +26 -26
- package/vue3/lib/edge/index.cjs +1 -1
- package/vue3/lib/edge/index.js +1 -1
- package/vue3/lib/edge/{repeated-block.0dedccc0.cjs → repeated-block.1a05344c.cjs} +1 -1
- package/vue3/lib/{browser/repeated-block.aa5dc36f.js → edge/repeated-block.f6f04e89.js} +2 -2
- package/vue3/lib/edge/style.css +1 -1
- package/vue3/lib/edge/types/enforced-partials.d.ts +7 -2
- package/vue3/lib/node/{block-wrapper.9e3f2443.cjs → block-wrapper.4e8f944e.cjs} +1 -1
- package/vue3/lib/node/{block-wrapper.1140bc59.js → block-wrapper.9be5f8cd.js} +2 -2
- package/vue3/lib/node/blocks/image/image.vue.d.ts +3 -3
- package/vue3/lib/node/{component-ref.814bc23c.cjs → component-ref.64358a5b.cjs} +1 -1
- package/vue3/lib/node/{component-ref.cad6e759.js → component-ref.b1bfb450.js} +2 -2
- package/vue3/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
- package/vue3/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
- package/vue3/lib/node/components/blocks/blocks-wrapper.vue.d.ts +14 -0
- package/vue3/lib/node/components/blocks/blocks.vue.d.ts +7 -7
- package/vue3/lib/node/components/content/components/enable-editor.vue.d.ts +9 -0
- package/vue3/lib/node/components/content/content.vue.d.ts +14 -0
- package/vue3/lib/node/components/content-variants/content-variants.types.d.ts +16 -0
- package/vue3/lib/node/components/content-variants/content-variants.vue.d.ts +12 -0
- package/vue3/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/node/context/builder.context.d.ts +2 -0
- package/vue3/lib/node/context/types.d.ts +2 -1
- package/vue3/lib/node/functions/get-block-properties.d.ts +1 -1
- package/vue3/lib/node/functions/get-content/index.d.ts +2 -2
- package/vue3/lib/node/functions/transform-block-properties.d.ts +5 -2
- package/vue3/lib/node/get-block-actions.37f280b9.cjs +1 -0
- package/vue3/lib/node/{get-block-actions.46d61b25.js → get-block-actions.f7d97db3.js} +17 -11
- package/vue3/lib/node/index-helpers/blocks-exports.d.ts +18 -6
- package/vue3/lib/node/{index.456bef99.cjs → index.1e45420a.cjs} +7 -7
- package/vue3/lib/node/index.cjs +1 -1
- package/vue3/lib/node/{index.14c688da.js → index.f52ac974.js} +143 -101
- package/vue3/lib/node/index.js +1 -1
- package/vue3/lib/node/{repeated-block.19d21383.cjs → repeated-block.21ee0d19.cjs} +1 -1
- package/vue3/lib/node/{repeated-block.e72a8275.js → repeated-block.9f1ca9a7.js} +2 -2
- package/vue3/lib/node/style.css +1 -1
- package/vue3/lib/node/types/enforced-partials.d.ts +7 -2
- package/vue2/lib/browser/blocks-wrapper-542bca6e.cjs +0 -1
- package/vue2/lib/browser/blocks-wrapper-a93bf471.js +0 -73
- package/vue2/lib/browser/enable-editor-4491b5dd.cjs +0 -1
- package/vue2/lib/browser/functions/get-react-native-block-styles.d.ts +0 -7
- package/vue2/lib/browser/functions/sanitize-react-native-block-styles.d.ts +0 -3
- package/vue2/lib/browser/get-block-properties-d090641d.cjs +0 -1
- package/vue2/lib/edge/blocks-wrapper-c1bdb5b4.js +0 -73
- package/vue2/lib/edge/blocks-wrapper-ed1c3990.cjs +0 -1
- package/vue2/lib/edge/enable-editor-d4895e04.cjs +0 -1
- package/vue2/lib/edge/functions/get-react-native-block-styles.d.ts +0 -7
- package/vue2/lib/edge/functions/sanitize-react-native-block-styles.d.ts +0 -3
- package/vue2/lib/edge/get-block-properties-3f6858d3.cjs +0 -1
- package/vue2/lib/node/blocks-wrapper-0a06ae61.js +0 -73
- package/vue2/lib/node/blocks-wrapper-c8ab561d.cjs +0 -1
- package/vue2/lib/node/enable-editor-a05ea891.cjs +0 -1
- package/vue2/lib/node/functions/get-react-native-block-styles.d.ts +0 -7
- package/vue2/lib/node/functions/sanitize-react-native-block-styles.d.ts +0 -3
- package/vue2/lib/node/get-block-properties-ff0444df.cjs +0 -1
- package/vue3/lib/browser/functions/get-react-native-block-styles.d.ts +0 -7
- package/vue3/lib/browser/functions/sanitize-react-native-block-styles.d.ts +0 -3
- package/vue3/lib/browser/get-block-actions.91d70ba2.cjs +0 -1
- package/vue3/lib/edge/functions/get-react-native-block-styles.d.ts +0 -7
- package/vue3/lib/edge/functions/sanitize-react-native-block-styles.d.ts +0 -3
- package/vue3/lib/edge/get-block-actions.51f2dc73.cjs +0 -1
- package/vue3/lib/node/functions/get-react-native-block-styles.d.ts +0 -7
- package/vue3/lib/node/functions/sanitize-react-native-block-styles.d.ts +0 -3
- package/vue3/lib/node/get-block-actions.68f47245.cjs +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as k } from "vue";
|
|
3
|
-
import { r as w, m as
|
|
4
|
-
import { e as
|
|
5
|
-
function
|
|
3
|
+
import { r as w, m as h, T as y, l as f, _ as g, o as b, p as _, i as p, f as E, q as I, t as U, u as M, v as H, n as P } from "./index-34d29a8a.js";
|
|
4
|
+
import { e as C } from "./evaluate-636aee70.js";
|
|
5
|
+
function S(n) {
|
|
6
6
|
return Math.round(n * 1e3) / 1e3;
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const T = (n, e, t = !0) => {
|
|
9
9
|
if (!(n instanceof HTMLElement))
|
|
10
10
|
return null;
|
|
11
11
|
let i = t ? n : n.parentElement;
|
|
@@ -16,14 +16,14 @@ const P = (n, e, t = !0) => {
|
|
|
16
16
|
return i;
|
|
17
17
|
} while (i = i.parentElement);
|
|
18
18
|
return null;
|
|
19
|
-
}, K = (n) =>
|
|
19
|
+
}, K = (n) => T(n, (e) => {
|
|
20
20
|
const t = e.getAttribute("builder-id") || e.id;
|
|
21
21
|
return (t == null ? void 0 : t.indexOf("builder-")) === 0;
|
|
22
22
|
}), v = ({
|
|
23
23
|
event: n,
|
|
24
24
|
target: e
|
|
25
25
|
}) => {
|
|
26
|
-
const t = e.getBoundingClientRect(), i = n.clientX - t.left, o = n.clientY - t.top, s =
|
|
26
|
+
const t = e.getBoundingClientRect(), i = n.clientX - t.left, o = n.clientY - t.top, s = S(i / t.width), a = S(o / t.height);
|
|
27
27
|
return {
|
|
28
28
|
x: s,
|
|
29
29
|
y: a
|
|
@@ -44,7 +44,7 @@ const P = (n, e, t = !0) => {
|
|
|
44
44
|
builderElementIndex: t && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(t) : void 0
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
|
-
}, O = "0.
|
|
47
|
+
}, O = "0.10.0", N = () => {
|
|
48
48
|
w("insertMenu", {
|
|
49
49
|
name: "_default",
|
|
50
50
|
default: !0,
|
|
@@ -70,7 +70,7 @@ const P = (n, e, t = !0) => {
|
|
|
70
70
|
let R = !1;
|
|
71
71
|
const j = (n = {}) => {
|
|
72
72
|
var e, t;
|
|
73
|
-
R || (R = !0,
|
|
73
|
+
R || (R = !0, h() && ((e = window.parent) == null || e.postMessage({
|
|
74
74
|
type: "builder.sdkInfo",
|
|
75
75
|
data: {
|
|
76
76
|
target: y,
|
|
@@ -130,6 +130,7 @@ const j = (n = {}) => {
|
|
|
130
130
|
name: "enable-editor",
|
|
131
131
|
props: [
|
|
132
132
|
"builderContextSignal",
|
|
133
|
+
"contentWrapper",
|
|
133
134
|
"model",
|
|
134
135
|
"context",
|
|
135
136
|
"canTrack",
|
|
@@ -138,13 +139,15 @@ const j = (n = {}) => {
|
|
|
138
139
|
"includeRefs",
|
|
139
140
|
"enrich",
|
|
140
141
|
"content",
|
|
141
|
-
"showContent"
|
|
142
|
+
"showContent",
|
|
143
|
+
"contentWrapperProps"
|
|
142
144
|
],
|
|
143
145
|
data() {
|
|
144
146
|
return {
|
|
145
147
|
forceReRenderCount: 0,
|
|
146
148
|
lastUpdated: 0,
|
|
147
149
|
shouldSendResetCookie: !1,
|
|
150
|
+
ContentWrapper: this.contentWrapper || "div",
|
|
148
151
|
httpReqsData: {},
|
|
149
152
|
clicked: !1,
|
|
150
153
|
builderContext: f
|
|
@@ -159,8 +162,8 @@ const j = (n = {}) => {
|
|
|
159
162
|
mounted() {
|
|
160
163
|
(() => {
|
|
161
164
|
var t, i;
|
|
162
|
-
if (
|
|
163
|
-
if (
|
|
165
|
+
if (h()) {
|
|
166
|
+
if (p() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
164
167
|
new CustomEvent("initeditingbldr")
|
|
165
168
|
), this.builderContextSignal.content && b(this.canTrack)) {
|
|
166
169
|
const s = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, a = (i = this.builderContextSignal.content) == null ? void 0 : i.id, d = this.apiKey;
|
|
@@ -211,7 +214,7 @@ const j = (n = {}) => {
|
|
|
211
214
|
}
|
|
212
215
|
},
|
|
213
216
|
unmounted() {
|
|
214
|
-
|
|
217
|
+
h() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
|
|
215
218
|
"builder:component:stateChangeListenerActivated",
|
|
216
219
|
this.emitStateUpdate
|
|
217
220
|
));
|
|
@@ -290,7 +293,7 @@ const j = (n = {}) => {
|
|
|
290
293
|
evaluateJsCode() {
|
|
291
294
|
var e, t;
|
|
292
295
|
const n = (t = (e = this.builderContextSignal.content) == null ? void 0 : e.data) == null ? void 0 : t.jsCode;
|
|
293
|
-
n &&
|
|
296
|
+
n && C({
|
|
294
297
|
code: n,
|
|
295
298
|
context: this.context || {},
|
|
296
299
|
localState: void 0,
|
|
@@ -317,7 +320,7 @@ const j = (n = {}) => {
|
|
|
317
320
|
evalExpression(n) {
|
|
318
321
|
return n.replace(
|
|
319
322
|
/{{([^}]+)}}/g,
|
|
320
|
-
(e, t) =>
|
|
323
|
+
(e, t) => C({
|
|
321
324
|
code: t,
|
|
322
325
|
context: this.context || {},
|
|
323
326
|
localState: void 0,
|
|
@@ -342,7 +345,7 @@ const j = (n = {}) => {
|
|
|
342
345
|
var e, t;
|
|
343
346
|
const n = ((t = (e = this.builderContextSignal.content) == null ? void 0 : e.data) == null ? void 0 : t.httpRequests) ?? {};
|
|
344
347
|
Object.entries(n).forEach(([i, o]) => {
|
|
345
|
-
if (o && (!this.httpReqsData[i] ||
|
|
348
|
+
if (o && (!this.httpReqsData[i] || p())) {
|
|
346
349
|
const s = this.evalExpression(o);
|
|
347
350
|
this.handleRequest({
|
|
348
351
|
url: s,
|
|
@@ -352,7 +355,7 @@ const j = (n = {}) => {
|
|
|
352
355
|
});
|
|
353
356
|
},
|
|
354
357
|
emitStateUpdate() {
|
|
355
|
-
|
|
358
|
+
p() && window.dispatchEvent(
|
|
356
359
|
new CustomEvent(
|
|
357
360
|
"builder:component:stateChange",
|
|
358
361
|
{
|
|
@@ -414,19 +417,14 @@ const j = (n = {}) => {
|
|
|
414
417
|
var L = function() {
|
|
415
418
|
var i, o, s;
|
|
416
419
|
var e = this, t = e._self._c;
|
|
417
|
-
return e._self._setupProxy, e.builderContextSignal.content ? t(
|
|
418
|
-
return e.onClick(a);
|
|
419
|
-
}, initeditingbldr: function(a) {
|
|
420
|
-
return e.elementRef_onIniteditingbldr(a);
|
|
421
|
-
}, initpreviewingbldr: function(a) {
|
|
422
|
-
return e.elementRef_onInitpreviewingbldr(a);
|
|
423
|
-
} } }, "div", {
|
|
420
|
+
return e._self._setupProxy, e.builderContextSignal.content ? t(e.ContentWrapper, e._b({ key: e.forceReRenderCount, ref: "elementRef", tag: "component", class: e._classStringToObject(`variant-${((i = e.content) == null ? void 0 : i.testVariationId) || ((o = e.content) == null ? void 0 : o.id)}`), attrs: { onClick: (a) => e.onClick(a), "builder-content-id": (s = e.builderContextSignal.content) == null ? void 0 : s.id, "builder-model": e.model, onIniteditingbldr: (a) => e.elementRef_onIniteditingbldr(a), onInitpreviewingbldr: (a) => e.elementRef_onInitpreviewingbldr(a) } }, "component", {
|
|
424
421
|
...e.showContent ? {} : {
|
|
425
422
|
hidden: !0,
|
|
426
423
|
"aria-hidden": !0
|
|
427
|
-
}
|
|
424
|
+
},
|
|
425
|
+
...e.contentWrapperProps
|
|
428
426
|
}, !1), [e._t("default")], 2) : e._e();
|
|
429
|
-
}, B = [], V = /* @__PURE__ */
|
|
427
|
+
}, B = [], V = /* @__PURE__ */ P(
|
|
430
428
|
A,
|
|
431
429
|
L,
|
|
432
430
|
B,
|
|
@@ -436,7 +434,7 @@ var L = function() {
|
|
|
436
434
|
null,
|
|
437
435
|
null
|
|
438
436
|
);
|
|
439
|
-
const
|
|
437
|
+
const J = V.exports;
|
|
440
438
|
export {
|
|
441
|
-
|
|
439
|
+
J as default
|
|
442
440
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var P=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("vue"),r=require("./index-255d62bb.cjs"),m=require("./evaluate-0bfb6f5e.cjs");function f(n){return Math.round(n*1e3)/1e3}const v=(n,e,t=!0)=>{if(!(n instanceof HTMLElement))return null;let i=t?n:n.parentElement;do{if(!i)return null;if(e(i))return i}while(i=i.parentElement);return null},x=n=>v(n,e=>{const t=e.getAttribute("builder-id")||e.id;return(t==null?void 0:t.indexOf("builder-"))===0}),g=({event:n,target:e})=>{const t=e.getBoundingClientRect(),i=n.clientX-t.left,o=n.clientY-t.top,s=f(i/t.width),a=f(o/t.height);return{x:s,y:a}},R=n=>{const e=n.target,t=e&&x(e),i=(t==null?void 0:t.getAttribute("builder-id"))||(t==null?void 0:t.id);return{targetBuilderElement:i||void 0,metadata:{targetOffset:e?g({event:n,target:e}):void 0,builderTargetOffset:t?g({event:n,target:t}):void 0,builderElementIndex:t&&i?[].slice.call(document.getElementsByClassName(i)).indexOf(t):void 0}}},k="0.10.0",w=()=>{r.register("insertMenu",{name:"_default",default:!0,items:[{name:"Box"},{name:"Text"},{name:"Image"},{name:"Columns"},{name:"Core:Section"},{name:"Core:Button"},{name:"Embed"},{name:"Custom Code"}]})};let b=!1;const y=(n={})=>{var e,t;b||(b=!0,r.isBrowser()&&((e=window.parent)==null||e.postMessage({type:"builder.sdkInfo",data:{target:r.TARGET,version:k,supportsPatchUpdates:!1,supportsAddBlockScoping:!0,supportsCustomBreakpoints:!0}},"*"),(t=window.parent)==null||t.postMessage({type:"builder.updateContent",data:{options:n}},"*"),window.addEventListener("message",({data:i})=>{var o,s;if(i!=null&&i.type)switch(i.type){case"builder.evaluate":{const a=i.data.text,l=i.data.arguments||[],c=i.data.id,C=new Function(a);let d,u=null;try{d=C.apply(null,l)}catch(h){u=h}u?(o=window.parent)==null||o.postMessage({type:"builder.evaluateError",data:{id:c,error:u.message}},"*"):d&&typeof d.then=="function"?d.then(h=>{var p;(p=window.parent)==null||p.postMessage({type:"builder.evaluateResult",data:{id:c,result:h}},"*")}).catch(console.error):(s=window.parent)==null||s.postMessage({type:"builder.evaluateResult",data:{result:d,id:c}},"*");break}}})))},_=S.defineComponent({name:"enable-editor",props:["builderContextSignal","contentWrapper","model","context","canTrack","apiKey","locale","includeRefs","enrich","content","showContent","contentWrapperProps"],data(){return{forceReRenderCount:0,lastUpdated:0,shouldSendResetCookie:!1,ContentWrapper:this.contentWrapper||"div",httpReqsData:{},clicked:!1,builderContext:r.builderContext}},provide(){const n=this;return{[r.builderContext.key]:n.builderContextSignal}},mounted(){(()=>{var t,i;if(r.isBrowser()){if(r.isEditing()&&this.$refs.elementRef&&this.$refs.elementRef.dispatchEvent(new CustomEvent("initeditingbldr")),this.builderContextSignal.content&&r.getDefaultCanTrack(this.canTrack)){const s=(t=this.builderContextSignal.content)==null?void 0:t.testVariationId,a=(i=this.builderContextSignal.content)==null?void 0:i.id,l=this.apiKey;r._track({type:"impression",canTrack:!0,contentId:a,apiKey:l,variationId:s!==a?s:void 0})}r.isPreviewing()&&this.$refs.elementRef&&this.$refs.elementRef.dispatchEvent(new CustomEvent("initpreviewingbldr"))}})(),(()=>{this.apiKey||r.logger.error("No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."),this.evaluateJsCode(),this.runHttpRequests(),this.emitStateUpdate()})()},watch:{onUpdateHook0:{handler(){this.content&&this.mergeNewContent(this.content)},immediate:!0},onUpdateHook1:{handler(){},immediate:!0},onUpdateHook2:{handler(){this.evaluateJsCode()},immediate:!0},onUpdateHook3:{handler(){this.runHttpRequests()},immediate:!0},onUpdateHook4:{handler(){this.emitStateUpdate()},immediate:!0}},unmounted(){r.isBrowser()&&(window.removeEventListener("message",this.processMessage),window.removeEventListener("builder:component:stateChangeListenerActivated",this.emitStateUpdate))},computed:{onUpdateHook0(){return{0:this.content}},onUpdateHook1(){return{0:this.shouldSendResetCookie}},onUpdateHook2(){var n,e;return{0:(e=(n=this.builderContextSignal.content)==null?void 0:n.data)==null?void 0:e.jsCode,1:this.builderContextSignal.rootState}},onUpdateHook3(){var n,e;return{0:(e=(n=this.builderContextSignal.content)==null?void 0:n.data)==null?void 0:e.httpRequests}},onUpdateHook4(){return{0:this.builderContextSignal.rootState}}},methods:{mergeNewContent(n){var t,i,o,s,a;const e={...this.builderContextSignal.content,...n,data:{...(t=this.builderContextSignal.content)==null?void 0:t.data,...n==null?void 0:n.data},meta:{...(i=this.builderContextSignal.content)==null?void 0:i.meta,...n==null?void 0:n.meta,breakpoints:((o=n==null?void 0:n.meta)==null?void 0:o.breakpoints)||((a=(s=this.builderContextSignal.content)==null?void 0:s.meta)==null?void 0:a.breakpoints)}};this.builderContextSignal.content=e},processMessage(n){var t;const{data:e}=n;if(e)switch(e.type){case"builder.configureSdk":{const i=e.data,{breakpoints:o,contentId:s}=i;if(!s||s!==((t=this.builderContextSignal.content)==null?void 0:t.id))return;o&&this.mergeNewContent({meta:{breakpoints:o}}),this.forceReRenderCount=this.forceReRenderCount+1;break}case"builder.contentUpdate":{const i=e.data,o=i.key||i.alias||i.entry||i.modelName,s=i.data;o===this.model&&(this.mergeNewContent(s),this.forceReRenderCount=this.forceReRenderCount+1);break}}},evaluateJsCode(){var e,t;const n=(t=(e=this.builderContextSignal.content)==null?void 0:e.data)==null?void 0:t.jsCode;n&&m.evaluate({code:n,context:this.context||{},localState:void 0,rootState:this.builderContextSignal.rootState,rootSetState:this.builderContextSignal.rootSetState})},onClick(n){var e,t;if(this.builderContextSignal.content){const i=(e=this.builderContextSignal.content)==null?void 0:e.testVariationId,o=(t=this.builderContextSignal.content)==null?void 0:t.id;r._track({type:"click",canTrack:r.getDefaultCanTrack(this.canTrack),contentId:o,apiKey:this.apiKey,variationId:i!==o?i:void 0,...R(n),unique:!this.clicked})}this.clicked||(this.clicked=!0)},evalExpression(n){return n.replace(/{{([^}]+)}}/g,(e,t)=>m.evaluate({code:t,context:this.context||{},localState:void 0,rootState:this.builderContextSignal.rootState,rootSetState:this.builderContextSignal.rootSetState}))},handleRequest({url:n,key:e}){r.fetch(n).then(t=>t.json()).then(t=>{var o,s;const i={...this.builderContextSignal.rootState,[e]:t};(s=(o=this.builderContextSignal).rootSetState)==null||s.call(o,i),this.httpReqsData[e]=!0}).catch(t=>{console.error("error fetching dynamic data",n,t)})},runHttpRequests(){var e,t;const n=((t=(e=this.builderContextSignal.content)==null?void 0:e.data)==null?void 0:t.httpRequests)??{};Object.entries(n).forEach(([i,o])=>{if(o&&(!this.httpReqsData[i]||r.isEditing())){const s=this.evalExpression(o);this.handleRequest({url:s,key:i})}})},emitStateUpdate(){r.isEditing()&&window.dispatchEvent(new CustomEvent("builder:component:stateChange",{detail:{state:r.fastClone(this.builderContextSignal.rootState),ref:{name:this.model}}}))},elementRef_onIniteditingbldr(n){this.forceReRenderCount=this.forceReRenderCount+1,window.addEventListener("message",this.processMessage),w(),y({...this.locale?{locale:this.locale}:{},...this.includeRefs?{includeRefs:this.includeRefs}:{},...this.enrich?{enrich:this.enrich}:{}}),Object.values(this.builderContextSignal.componentInfos).forEach(e=>{var i;const t=r.createRegisterComponentMessage(e);(i=window.parent)==null||i.postMessage(t,"*")}),window.addEventListener("builder:component:stateChangeListenerActivated",this.emitStateUpdate)},elementRef_onInitpreviewingbldr(n){const e=new URL(location.href).searchParams,t=e.get("builder.preview"),i=e.get(`builder.preview.${t}`),o=e.get("apiKey")||e.get("builder.space");t===this.model&&o===this.apiKey&&(!this.content||i===this.content.id)&&r.fetchOneEntry({model:this.model,apiKey:this.apiKey,apiVersion:this.builderContextSignal.apiVersion}).then(s=>{s&&this.mergeNewContent(s)})},_classStringToObject(n){const e={};if(typeof n!="string")return e;const t=n.trim().split(/\s+/);for(const i of t)e[i]=!0;return e}}});var E=function(){var i,o,s;var e=this,t=e._self._c;return e._self._setupProxy,e.builderContextSignal.content?t(e.ContentWrapper,e._b({key:e.forceReRenderCount,ref:"elementRef",tag:"component",class:e._classStringToObject(`variant-${((i=e.content)==null?void 0:i.testVariationId)||((o=e.content)==null?void 0:o.id)}`),attrs:{onClick:a=>e.onClick(a),"builder-content-id":(s=e.builderContextSignal.content)==null?void 0:s.id,"builder-model":e.model,onIniteditingbldr:a=>e.elementRef_onIniteditingbldr(a),onInitpreviewingbldr:a=>e.elementRef_onInitpreviewingbldr(a)}},"component",{...e.showContent?{}:{hidden:!0,"aria-hidden":!0},...e.contentWrapperProps},!1),[e._t("default")],2):e._e()},I=[],M=r.normalizeComponent(_,E,I,!1,null,null,null,null);const U=M.exports;exports.default=U;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var dn=require("./style.css");const q=require("./index-
|
|
1
|
+
"use strict";var dn=require("./style.css");const q=require("./index-255d62bb.cjs"),Sr=({builder:e,context:t,event:n,state:r})=>Object.entries({state:r,Builder:e,builder:e,context:t,event:n}),$r=()=>({isEditing:q.isEditing(),isBrowser:q.isBrowser(),isServer:!q.isBrowser(),getUserAttributes:()=>q.getUserAttributes()}),Jr=(e,{isExpression:t=!0})=>t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e,Yr=({code:e,builder:t,context:n,event:r,localState:i,rootSetState:s,rootState:u})=>{const h=Sr({builder:t,context:n,event:r,state:Kr(u,i,s)});return new Function(...h.map(([E])=>E),e)(...h.map(([,E])=>E))};function Kr(e,t,n){if(e===t)throw new Error("rootState === localState");return new Proxy(e,{get:(r,i)=>t&&i in t?t[i]:e[i],set:(r,i,s)=>{if(t&&i in t)throw new Error("Writing to local state is not allowed as it is read-only.");return e[i]=s,n==null||n(e),!0}})}const kr=(e,t,n)=>{if(Object(e)!==e)return e;const r=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);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};var C,Zr=function(e){function t(o){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))}function n(o){return 65>o?o===36:91>o?!0:97>o?o===95:123>o?!0:170<=o&&yr.test(String.fromCharCode(o))}function r(o,a){for(var l=g,p=1,w=0;;){Ze.lastIndex=w;var R=Ze.exec(l);if(R&&R.index<o)++p,w=R.index+R[0].length;else break}throw l={line:p,ab:o-w},a+=" ("+l.line+":"+l.ab+")",a=new SyntaxError(a),a.j=o,a.X=l,a.o=c,a}function i(o){o=o.split(" ");for(var a=Object.create(null),l=0;l<o.length;l++)a[o[l]]=!0;return function(p){return a[p]||!1}}function s(){this.line=le,this.ab=c-K}function u(o,a){he=c,j.C&&(lt=new s),m=o,E(),W=a,Ce=o.m}function h(){for(var o=c,a=j.va&&j.C&&new s,l=g.charCodeAt(c+=2);c<fe&&l!==10&&l!==13&&l!==8232&&l!==8233;)++c,l=g.charCodeAt(c);j.va&&j.va(!1,g.slice(o+2,c),o,c,a,j.C&&new s)}function E(){for(;c<fe;){var o=g.charCodeAt(c);if(o===32)++c;else if(o===13)++c,o=g.charCodeAt(c),o===10&&++c,j.C&&(++le,K=c);else if(o===10||o===8232||o===8233)++c,j.C&&(++le,K=c);else if(8<o&&14>o)++c;else if(o===47)if(o=g.charCodeAt(c+1),o===42){o=void 0;var a=j.va&&j.C&&new s,l=c,p=g.indexOf("*/",c+=2);if(p===-1&&r(c-2,"Unterminated comment"),c=p+2,j.C)for(Ze.lastIndex=l;(o=Ze.exec(g))&&o.index<c;)++le,K=o.index+o[0].length;j.va&&j.va(!0,g.slice(l+2,p),l,c,a,j.C&&new s)}else if(o===47)h();else break;else if(o===160)++c;else if(5760<=o&&Vr.test(String.fromCharCode(o)))++c;else break}}function F(o){switch(o){case 46:o=g.charCodeAt(c+1),48<=o&&57>=o?U(!0):(++c,u(ur));return;case 40:return++c,u(Z);case 41:return++c,u($);case 59:return++c,u(z);case 44:return++c,u(oe);case 91:return++c,u(wt);case 93:return++c,u(Et);case 123:return++c,u(Ie);case 125:return++c,u(ve);case 58:return++c,u(Te);case 63:return++c,u(lr);case 48:if(o=g.charCodeAt(c+1),o===120||o===88){c+=2,o=ae(16),o===null&&r(M+2,"Expected hexadecimal number"),n(g.charCodeAt(c))&&r(c,"Identifier directly after number"),u(Ae,o);return}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return U(!1);case 34:case 39:c++;for(var a="";;){c>=fe&&r(M,"Unterminated string constant");var l=g.charCodeAt(c);if(l===o){++c,u($e,a);break}if(l===92){l=g.charCodeAt(++c);var p=/^[0-7]+/.exec(g.slice(c,c+3));for(p&&(p=p[0]);p&&255<parseInt(p,8);)p=p.slice(0,-1);if(p==="0"&&(p=null),++c,p)V&&r(c-2,"Octal literal in strict mode"),a+=String.fromCharCode(parseInt(p,8)),c+=p.length-1;else switch(l){case 110:a+=`
|
|
2
2
|
`;break;case 114:a+="\r";break;case 120:a+=String.fromCharCode(X(2));break;case 117:a+=String.fromCharCode(X(4));break;case 85:a+=String.fromCharCode(X(8));break;case 116:a+=" ";break;case 98:a+="\b";break;case 118:a+="\v";break;case 102:a+="\f";break;case 48:a+="\0";break;case 13:g.charCodeAt(c)===10&&++c;case 10:j.C&&(K=c,++le);break;default:a+=String.fromCharCode(l)}}else l!==13&&l!==10&&l!==8232&&l!==8233||r(M,"Unterminated string constant"),a+=String.fromCharCode(l),++c}return;case 47:o=g.charCodeAt(c+1),Ce?(++c,Ge()):o===61?O(ce,2):O(cr,1);return;case 37:case 42:g.charCodeAt(c+1)===61?O(ce,2):O(Br,1);return;case 124:case 38:a=g.charCodeAt(c+1),a===o?O(o===124?hr:gr,2):a===61?O(ce,2):O(o===124?Pr:br,1);return;case 94:g.charCodeAt(c+1)===61?O(ce,2):O(Ur,1);return;case 43:case 45:a=g.charCodeAt(c+1),a===o?a===45&&g.charCodeAt(c+2)===62&&Ke.test(g.slice(ie,c))?(c+=3,h(),E(),N()):O(Rr,2):a===61?O(ce,2):O(Lr,1);return;case 60:case 62: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(ce,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));return;case 61:case 33:g.charCodeAt(c+1)===61?O(Dr,g.charCodeAt(c+2)===61?3:2):O(o===61?pr:fr,1);return;case 126:return O(fr,1)}return!1}function N(o){if(o?c=M+1:M=c,j.C&&(ut=new s),o)return Ge();if(c>=fe)return u(ft);if(o=g.charCodeAt(c),n(o)||o===92)return Xe();if(F(o)===!1){if(o=String.fromCharCode(o),o==="\\"||yr.test(o))return Xe();r(c,"Unexpected character '"+o+"'")}}function O(o,a){var l=g.slice(c,c+a);c+=a,u(o,l)}function Ge(){for(var o,a,l=c;;){c>=fe&&r(l,"Unterminated regexp");var p=g.charAt(c);if(Ke.test(p)&&r(l,"Unterminated regexp"),o)o=!1;else{if(p==="[")a=!0;else if(p==="]"&&a)a=!1;else if(p==="/"&&!a)break;o=p==="\\"}++c}o=g.slice(l,c),++c,(a=pe())&&!/^[gmi]*$/.test(a)&&r(l,"Invalid regexp flag");try{var w=new RegExp(o,a)}catch(R){throw R instanceof SyntaxError&&r(l,R.message),R}u(Vt,w)}function ae(o,a){for(var l=c,p=0,w=a===void 0?1/0:a,R=0;R<w;++R){var L=g.charCodeAt(c);if(L=97<=L?L-97+10:65<=L?L-65+10:48<=L&&57>=L?L-48:1/0,L>=o)break;++c,p=p*o+L}return c===l||a!==void 0&&c-l!==a?null:p}function U(o){var a=c,l=!1,p=g.charCodeAt(c)===48;o||ae(10)!==null||r(a,"Invalid number"),g.charCodeAt(c)===46&&(++c,ae(10),l=!0),o=g.charCodeAt(c),(o===69||o===101)&&(o=g.charCodeAt(++c),o!==43&&o!==45||++c,ae(10)===null&&r(a,"Invalid number"),l=!0),n(g.charCodeAt(c))&&r(c,"Identifier directly after number"),o=g.slice(a,c);var w;l?w=parseFloat(o):p&&o.length!==1?/[89]/.test(o)||V?r(a,"Invalid number"):w=parseInt(o,8):w=parseInt(o,10),u(Ae,w)}function X(o){return o=ae(16,o),o===null&&r(M,"Bad character escape sequence"),o}function pe(){ye=!1;for(var o,a=!0,l=c;;){var p=g.charCodeAt(c);if(t(p))ye&&(o+=g.charAt(c)),++c;else if(p===92){ye||(o=g.slice(l,c)),ye=!0,g.charCodeAt(++c)!==117&&r(c,"Expecting Unicode escape sequence \\uXXXX"),++c,p=X(4);var w=String.fromCharCode(p);w||r(c-1,"Invalid Unicode escape"),(a?n(p):t(p))||r(c-4,"Invalid Unicode escape"),o+=w}else break;a=!1}return ye?o:g.slice(l,c)}function Xe(){var o=pe(),a=ge;!ye&&Xr(o)&&(a=Mr[o]),u(a,o)}function S(){ct=M,ie=he,pt=lt,N()}function qe(o){if(V=o,c=M,j.C)for(;c<K;)K=g.lastIndexOf(`
|
|
3
3
|
`,K-2)+1,--le;E(),N()}function Ft(){this.type=null,this.start=M,this.end=null}function Lt(){this.start=ut,this.end=null,at&&(this.source=at)}function b(){var o=new Ft;return j.C&&(o.X=new Lt),j.vb&&(o.sourceFile=j.vb),j.Xa&&(o.j=[M,0]),o}function ne(o){var a=new Ft;return a.start=o.start,j.C&&(a.X=new Lt,a.X.start=o.X.start),j.Xa&&(a.j=[o.j[0],0]),a}function x(o,a){return o.type=a,o.end=ie,j.C&&(o.X.end=pt),j.Xa&&(o.j[1]=ie),o}function et(o){return o.type==="ExpressionStatement"&&o.la.type==="Literal"&&o.la.value==="use strict"}function A(o){return m===o?(S(),!0):!1}function Ve(){return!j.fc&&(m===ft||m===ve||Ke.test(g.slice(ie,M)))}function ue(){A(z)||Ve()||J()}function I(o){m===o?S():J()}function J(){r(M,"Unexpected token")}function We(o){o.type!=="Identifier"&&o.type!=="MemberExpression"&&r(o.start,"Assigning to rvalue"),V&&o.type==="Identifier"&&Ye(o.name)&&r(o.start,"Assigning to "+o.name+" in strict mode")}function H(){(m===cr||m===ce&&W==="/=")&&N(!0);var o=m,a=b();switch(o){case ht:case Ht:S();var l=o===ht;A(z)||Ve()?a.label=null:m!==ge?J():(a.label=Y(),ue());for(var p=0;p<T.length;++p){var w=T[p];if((a.label===null||w.name===a.label.name)&&(w.kind!==null&&(l||w.kind==="loop")||a.label&&l))break}return p===T.length&&r(a.start,"Unsyntactic "+o.l),x(a,l?"BreakStatement":"ContinueStatement");case $t:return S(),ue(),x(a,"DebuggerStatement");case Yt:return S(),T.push(xt),a.body=H(),T.pop(),I(mt),a.test=je(),ue(),x(a,"DoWhileStatement");case zt:return S(),T.push(xt),I(Z),m===z?tt(a,null):m===dt?(o=b(),S(),Gt(o,!0),x(o,"VariableDeclaration"),o.fa.length===1&&A(Je)?Bt(a,o):tt(a,o)):(o=_(!1,!0),A(Je)?(We(o),Bt(a,o)):tt(a,o));case vt:return S(),ot(a,!0);case Qt:return S(),a.test=je(),a.da=H(),a.alternate=A(Kt)?H():null,x(a,"IfStatement");case qt:return Oe||j.Ib||r(M,"'return' outside of function"),S(),A(z)||Ve()?a.K=null:(a.K=_(),ue()),x(a,"ReturnStatement");case yt:for(S(),a.Qb=je(),a.tb=[],I(Ie),T.push(Hr);m!==ve;)m===gt||m===Jt?(o=m===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(Te)):(p||J(),p.da.push(H()));return p&&x(p,"SwitchCase"),S(),T.pop(),x(a,"SwitchStatement");case er:return S(),Ke.test(g.slice(ie,M))&&r(ie,"Illegal newline after throw"),a.K=_(),ue(),x(a,"ThrowStatement");case tr:return S(),a.block=Se(),a.Ea=null,m===Wt&&(o=b(),S(),I(Z),o.Ua=Y(),V&&Ye(o.Ua.name)&&r(o.Ua.start,"Binding "+o.Ua.name+" in strict mode"),I($),o.body=Se(),a.Ea=x(o,"CatchClause")),a.fb=A(Zt)?Se():null,a.Ea||a.fb||r(a.start,"Missing catch or finally clause"),x(a,"TryStatement");case dt:return S(),Gt(a),ue(),x(a,"VariableDeclaration");case mt:return S(),a.test=je(),T.push(xt),a.body=H(),T.pop(),x(a,"WhileStatement");case rr:return V&&r(M,"'with' in strict mode"),S(),a.object=je(),a.body=H(),x(a,"WithStatement");case Ie:return Se();case z:return S(),x(a,"EmptyStatement");default:if(l=W,w=_(),o===ge&&w.type==="Identifier"&&A(Te)){for(p=0;p<T.length;++p)T[p].name===l&&r(w.start,"Label '"+l+"' is already declared");return T.push({name:l,kind:m.W?"loop":m===yt?"switch":null}),a.body=H(),T.pop(),a.label=w,x(a,"LabeledStatement")}return a.la=w,ue(),x(a,"ExpressionStatement")}}function je(){I(Z);var o=_();return I($),o}function Se(o){var a=b(),l=!0,p=!1;for(a.body=[],I(Ie);!A(ve);){var w=H();if(a.body.push(w),l&&o&&et(w)){var R=p;qe(p=!0)}l=!1}return p&&!R&&qe(!1),x(a,"BlockStatement")}function tt(o,a){return o.ua=a,I(z),o.test=m===z?null:_(),I(z),o.update=m===$?null:_(),I($),o.body=H(),T.pop(),x(o,"ForStatement")}function Bt(o,a){return o.left=a,o.right=_(),I($),o.body=H(),T.pop(),x(o,"ForInStatement")}function Gt(o,a){for(o.fa=[],o.kind="var";;){var l=b();if(l.id=Y(),V&&Ye(l.id.name)&&r(l.id.start,"Binding "+l.id.name+" in strict mode"),l.ua=A(pr)?_(!0,a):null,o.fa.push(x(l,"VariableDeclarator")),!A(oe))break}}function _(o,a){var l=rt(a);if(!o&&m===oe){for(o=ne(l),o.xb=[l];A(oe);)o.xb.push(rt(a));return x(o,"SequenceExpression")}return l}function rt(o){var a=nt(it(),-1,o);if(A(lr)){var l=ne(a);l.test=a,l.da=_(!0),I(Te),l.alternate=_(!0,o),a=x(l,"ConditionalExpression")}return m.Cb?(l=ne(a),l.operator=W,l.left=a,S(),l.right=rt(o),We(a),x(l,"AssignmentExpression")):a}function nt(o,a,l){var p=m.L;if(p!==null&&(!l||m!==Je)&&p>a){var w=ne(o);return w.left=o,w.operator=W,o=m,S(),w.right=nt(it(),p,l),p=x(w,o===hr||o===gr?"LogicalExpression":"BinaryExpression"),nt(p,a,l)}return o}function it(){if(m.prefix){var o=b(),a=m.$b;return o.operator=W,Ce=o.prefix=!0,S(),o.K=it(),a?We(o.K):V&&o.operator==="delete"&&o.K.type==="Identifier"&&r(o.start,"Deleting local variable in strict mode"),x(o,a?"UpdateExpression":"UnaryExpression")}for(a=ke(He());m.cc&&!Ve();)o=ne(a),o.operator=W,o.prefix=!1,o.K=a,We(a),S(),a=x(o,"UpdateExpression");return a}function ke(o,a){if(A(ur)){var l=ne(o);return l.object=o,l.Wa=Y(!0),l.bb=!1,ke(x(l,"MemberExpression"),a)}return A(wt)?(l=ne(o),l.object=o,l.Wa=_(),l.bb=!0,I(Et),ke(x(l,"MemberExpression"),a)):!a&&A(Z)?(l=ne(o),l.callee=o,l.arguments=st($,!1),ke(x(l,"CallExpression"),a)):o}function He(){switch(m){case ir:var o=b();return S(),x(o,"ThisExpression");case ge:return Y();case Ae:case $e:case Vt:return o=b(),o.value=W,o.raw=g.slice(M,he),S(),x(o,"Literal");case or:case sr:case ar:return o=b(),o.value=m.$a,o.raw=m.l,S(),x(o,"Literal");case Z:o=ut;var a=M;S();var l=_();return l.start=a,l.end=he,j.C&&(l.X.start=o,l.X.end=lt),j.Xa&&(l.j=[a,he]),I($),l;case wt:return o=b(),S(),o.elements=st(Et,!0,!0),x(o,"ArrayExpression");case Ie:for(o=b(),a=!0,l=!1,o.h=[],S();!A(ve);){if(a)a=!1;else if(I(oe),j.sb&&A(ve))break;var p={key:m===Ae||m===$e?He():Y(!0)},w=!1;if(A(Te)){p.value=_(!0);var R=p.kind="init"}else p.key.type!=="Identifier"||p.key.name!=="get"&&p.key.name!=="set"?J():(w=l=!0,R=p.kind=p.key.name,p.key=m===Ae||m===$e?He():Y(!0),m!==Z&&J(),p.value=ot(b(),!1));if(p.key.type==="Identifier"&&(V||l))for(var L=0;L<o.h.length;++L){var de=o.h[L];if(de.key.name===p.key.name){var jt=R===de.kind||w&&de.kind==="init"||R==="init"&&(de.kind==="get"||de.kind==="set");jt&&!V&&R==="init"&&de.kind==="init"&&(jt=!1),jt&&r(p.key.start,"Redefinition of property")}}o.h.push(p)}return x(o,"ObjectExpression");case vt:return o=b(),S(),ot(o,!1);case nr:return o=b(),S(),o.callee=ke(He(),!0),o.arguments=A(Z)?st($,!1):Nr,x(o,"NewExpression")}J()}function ot(o,a){m===ge?o.id=Y():a?J():o.id=null,o.oa=[];var l=!0;for(I(Z);!A($);)l?l=!1:I(oe),o.oa.push(Y());l=Oe;var p=T;if(Oe=!0,T=[],o.body=Se(!0),Oe=l,T=p,V||o.body.body.length&&et(o.body.body[0])){for(l=o.id?-1:0;l<o.oa.length;++l)if(p=0>l?o.id:o.oa[l],(vr(p.name)||Ye(p.name))&&r(p.start,"Defining '"+p.name+"' in strict mode"),0<=l)for(var w=0;w<l;++w)p.name===o.oa[w].name&&r(p.start,"Argument name clash in strict mode")}return x(o,a?"FunctionDeclaration":"FunctionExpression")}function st(o,a,l){for(var p=[],w=!0;!A(o);){if(w)w=!1;else if(I(oe),a&&j.sb&&A(o))break;p.push(l&&m===oe?null:_(!0))}return p}function Y(o){var a=b();return o&&j.yb==="everywhere"&&(o=!1),m===ge?(!o&&(j.yb&&Gr(W)||V&&vr(W))&&g.slice(M,he).indexOf("\\")===-1&&r(M,"The keyword '"+W+"' is reserved"),a.name=W):o&&m.l?a.name=m.l:J(),Ce=!1,S(),x(a,"Identifier")}e.version="0.5.0";var j,g="",fe,at;e.parse=function(o,a){g=String(o),fe=g.length,j=a||{};for(var l in Xt)Object.prototype.hasOwnProperty.call(j,l)||(j[l]=Xt[l]);for(at=j.sourceFile,le=1,c=K=0,Ce=!0,E(),l=j.dc,ct=ie=c,j.C&&(pt=new s),Oe=V=!1,T=[],N(),o=l||b(),a=!0,l||(o.body=[]);m!==ft;)l=H(),o.body.push(l),a&&et(l)&&qe(!0),a=!1;return x(o,"Program")};var Xt={fc:!1,sb:!0,yb:!1,Ib:!1,C:!1,va:null,Xa:!1,dc:null,sourceFile:null,vb:null},c=0,M=0,he=0,ut,lt,m,W,Ce,le,K,ct=0,ie=0,pt,Oe,T,V,Nr=[],Ae={type:"num"},Vt={type:"regexp"},$e={type:"string"},ge={type:"name"},ft={type:"eof"},ht={l:"break"},gt={l:"case",m:!0},Wt={l:"catch"},Ht={l:"continue"},$t={l:"debugger"},Jt={l:"default"},Yt={l:"do",W:!0},Kt={l:"else",m:!0},Zt={l:"finally"},zt={l:"for",W:!0},vt={l:"function"},Qt={l:"if"},qt={l:"return",m:!0},yt={l:"switch"},er={l:"throw",m:!0},tr={l:"try"},dt={l:"var"},mt={l:"while",W:!0},rr={l:"with"},nr={l:"new",m:!0},ir={l:"this"},or={l:"null",$a:null},sr={l:"true",$a:!0},ar={l:"false",$a:!1},Je={l:"in",L:7,m:!0},Mr={break:ht,case:gt,catch:Wt,continue:Ht,debugger:$t,default:Jt,do:Yt,else:Kt,finally:Zt,for:zt,function:vt,if:Qt,return:qt,switch:yt,throw:er,try:tr,var:dt,while:mt,with:rr,null:or,true:sr,false:ar,new:nr,in:Je,instanceof:{l:"instanceof",L:7,m:!0},this:ir,typeof:{l:"typeof",prefix:!0,m:!0},void:{l:"void",prefix:!0,m:!0},delete:{l:"delete",prefix:!0,m:!0}},wt={type:"[",m:!0},Et={type:"]"},Ie={type:"{",m:!0},ve={type:"}"},Z={type:"(",m:!0},$={type:")"},oe={type:",",m:!0},z={type:";",m:!0},Te={type:":",m:!0},ur={type:"."},lr={type:"?",m:!0},cr={L:10,m:!0},pr={Cb:!0,m:!0},ce={Cb:!0,m:!0},Rr={cc:!0,prefix:!0,$b:!0},fr={prefix:!0,m:!0},hr={L:1,m:!0},gr={L:2,m:!0},Pr={L:3,m:!0},Ur={L:4,m:!0},br={L:5,m:!0},Dr={L:6,m:!0},_r={L:7,m:!0},Fr={L:8,m:!0},Lr={L:9,prefix:!0,m:!0},Br={L:10,m:!0},Gr=i("class enum extends super const export import"),vr=i("implements interface let package private protected public static yield"),Ye=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]/,yr=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),Wr=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),Ke=/[\n\r\u2028\u2029]/,Ze=/\r\n|[\n\r\u2028\u2029]/g,ye,xt={kind:"loop"},Hr={kind:"switch"}},kt=kt=typeof globalThis>"u"?void 0:globalThis;Zr(kt.j||(kt.j={}));function f(e,t){typeof e=="string"&&(e=we(e,"code"));var n=e.constructor;this.ya=function(){return new n({options:{}})};var r=this.ya(),i;for(i in e)r[i]=i==="body"?e[i].slice():e[i];this.ra=r,this.ca=[],this.qb=t,this.za=!1,this.ba=[],this.Ya=0,this.rb=Object.create(null),e=/^step([A-Z]\w*)$/;var s,u;for(u in this)typeof this[u]=="function"&&(s=u.match(e))&&(this.rb[s[1]]=this[u].bind(this));this.N=Ot(this,this.ra,null),this.Na=this.N.object,this.ra=we(this.ba.join(`
|
|
4
4
|
`),"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}var dr={C:!0,kc:5},At={configurable:!0,enumerable:!0,writable:!1},v={configurable:!0,enumerable:!1,writable:!0},G={configurable:!0,enumerable:!1,writable:!1},Ne={configurable:!1,enumerable:!1,writable:!1},mr={configurable:!1,enumerable:!0,writable:!0},Cr={STEP_ERROR:!0},xe={SCOPE_REFERENCE:!0},_e={VALUE_IN_DESCRIPTOR:!0},me={REGEXP_TIMEOUT:!0},wr=[],ee=null,be=null,se=typeof globalThis>"u"?void 0:globalThis,zr=["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();","};"];function It(e){var t=e>>>0;return t===Number(e)?t:NaN}function De(e){var t=e>>>0;return String(t)===String(e)&&t!==4294967295?t:NaN}function ze(e,t,n){t?e.start=t:delete e.start,n?e.end=n:delete e.end;for(var r in e)if(r!=="loc"&&e.hasOwnProperty(r)){var i=e[r];i&&typeof i=="object"&&ze(i,t,n)}}f.prototype.REGEXP_MODE=2;f.prototype.REGEXP_THREAD_TIMEOUT=1e3;f.prototype.POLYFILL_TIMEOUT=1e3;C=f.prototype;C.P=!1;C.Ka=!1;C.Kb=0;C.ic=0;function we(e,t){var n={},r;for(r in dr)n[r]=dr[r];return n.sourceFile=t,se.j.parse(e,n)}C.Jb=function(e){var t=this.o[0];if(!t||t.node.type!=="Program")throw Error("Expecting original AST to start with a Program node");if(typeof e=="string"&&(e=we(e,"appendCode"+this.Kb++)),!e||e.type!=="Program")throw Error("Expecting new AST to start with a Program node");Fe(this,e,t.scope),Array.prototype.push.apply(t.node.body,e.body),t.node.body.jb=null,t.done=!1};C.lb=function(){var e=this.o,t;do{var n=e[e.length-1];if(this.za)break;if(!n||n.node.type==="Program"&&n.done){if(!this.ca.length)return!1;if(n=this.ca[0],!n||n.time>Date.now())n=null;else{this.ca.shift(),0<=n.interval&&Ir(this,n,n.interval);var r=new y(n.node,n.scope);n.zb&&(r.ia=2,r.B=this.Na,r.U=n.zb,r.Qa=!0,r.F=n.Lb),n=r}if(!n)break}r=n.node;var i=be;be=this;try{var s=this.rb[r.type](e,n,r)}catch(u){if(u!==Cr)throw this.value!==u&&(this.value=void 0),u}finally{be=i}if(s&&e.push(s),this.P)throw this.value=void 0,Error("Getter not supported in this context");if(this.Ka)throw this.value=void 0,Error("Setter not supported in this context");t||r.end||(t=Date.now()+this.POLYFILL_TIMEOUT)}while(!r.end&&t>Date.now());return!0};C.Eb=function(){for(;!this.za&&this.lb(););return this.za};function Qr(e,t){e.g(t,"NaN",NaN,Ne),e.g(t,"Infinity",1/0,Ne),e.g(t,"undefined",void 0,Ne),e.g(t,"window",t,At),e.g(t,"this",t,Ne),e.g(t,"self",t),e.M=new k(null),e.Z=new k(e.M),qr(e,t),en(e,t),t.xa=e.M,e.g(t,"constructor",e.v,v),tn(e,t),rn(e,t),nn(e,t),on(e,t),sn(e,t),an(e,t),un(e,t),ln(e,t),cn(e,t);var n=e.i(function(){throw EvalError("Can't happen")},!1);n.eval=!0,e.g(t,"eval",n,v),e.g(t,"parseInt",e.i(parseInt,!1),v),e.g(t,"parseFloat",e.i(parseFloat,!1),v),e.g(t,"isNaN",e.i(isNaN,!1),v),e.g(t,"isFinite",e.i(isFinite,!1),v);for(var r=[[escape,"escape"],[unescape,"unescape"],[decodeURI,"decodeURI"],[decodeURIComponent,"decodeURIComponent"],[encodeURI,"encodeURI"],[encodeURIComponent,"encodeURIComponent"]],i=0;i<r.length;i++)n=function(s){return function(u){try{return s(u)}catch(h){d(e,e.Gb,h.message)}}}(r[i][0]),e.g(t,r[i][1],e.i(n,!1),v);n=function(s){return Er(e,!1,arguments)},e.g(t,"setTimeout",e.i(n,!1),v),n=function(s){return Er(e,!0,arguments)},e.g(t,"setInterval",e.i(n,!1),v),n=function(s){xr(e,s)},e.g(t,"clearTimeout",e.i(n,!1),v),n=function(s){xr(e,s)},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)}C.Wb=0;function qr(e,t){var n=/^[A-Za-z_$][\w$]*$/,r=function(i){var s=arguments.length?String(arguments[arguments.length-1]):"",u=Array.prototype.slice.call(arguments,0,-1).join(",").trim();if(u){u=u.split(/\s*,\s*/);for(var h=0;h<u.length;h++){var E=u[h];n.test(E)||d(e,e.T,"Invalid function argument: "+E)}u=u.join(", ")}try{var F=we("(function("+u+") {"+s+"})","function"+e.Wb++)}catch(N){d(e,e.T,"Invalid code: "+N.message)}return F.body.length!==1&&d(e,e.T,"Invalid code in function body"),Mt(e,F.body[0].la,e.N,"anonymous")};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(){},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){var u=e.o[e.o.length-1];u.U=this,u.B=i,u.F=[],s!=null&&(s instanceof k?u.F=Or(e,s):d(e,e.j,"CreateListFromArrayLike called on non-object")),u.eb=!1},P(e,e.O,"apply",r),r=function(i){var s=e.o[e.o.length-1];s.U=this,s.B=i,s.F=[];for(var u=1;u<arguments.length;u++)s.F.push(arguments[u]);s.eb=!1},P(e,e.O,"call",r),e.ba.push("Object.defineProperty(Function.prototype, 'bind',","{configurable: true, writable: true, value:","function bind(oThis) {","if (typeof this !== 'function') {","throw TypeError('What is trying to be bound is not callable');","}","var aArgs = Array.prototype.slice.call(arguments, 1),","fToBind = this,","fNOP = function() {},","fBound = function() {","return fToBind.apply(this instanceof fNOP","? this",": oThis,","aArgs.concat(Array.prototype.slice.call(arguments)));","};","if (this.prototype) {","fNOP.prototype = this.prototype;","}","fBound.prototype = new fNOP();","return fBound;","}","});",""),r=function(){return String(this)},P(e,e.O,"toString",r),e.g(e.O,"toString",e.i(r,!1),v),r=function(){return this.valueOf()},P(e,e.O,"valueOf",r),e.g(e.O,"valueOf",e.i(r,!1),v)}function en(e,t){function n(i){i!=null||d(e,e.j,"Cannot convert '"+i+"' to object")}var r=function(i){if(i==null)return re(e)?this:e.s(e.M);if(!(i instanceof k)){var s=e.s(te(e,i));return s.data=i,s}return i};e.v=e.i(r,!0),e.g(e.v,"prototype",e.M,v),e.g(e.M,"constructor",e.v,v),e.g(t,"Object",e.v,v),r=function(i){return n(i),Q(e,Object.getOwnPropertyNames(i instanceof k?i.h:i))},e.g(e.v,"getOwnPropertyNames",e.i(r,!1),v),r=function(i){return n(i),i instanceof k&&(i=i.h),Q(e,Object.keys(i))},e.g(e.v,"keys",e.i(r,!1),v),r=function(i){return i===null?e.s(null):(i instanceof k||d(e,e.j,"Object prototype may only be an Object or null, not "+i),e.s(i))},e.g(e.v,"create",e.i(r,!1),v),e.ba.push("(function() {","var create_ = Object.create;","Object.create = function create(proto, props) {","var obj = create_(proto);","props && Object.defineProperties(obj, props);","return obj;","};","})();",""),r=function(i,s,u){return s=String(s),i instanceof k||d(e,e.j,"Object.defineProperty called on non-object: "+i),u instanceof k||d(e,e.j,"Property description must be an object"),!i.preventExtensions||s in i.h||d(e,e.j,"Can't define property '"+s+"', object is not extensible"),e.g(i,s,_e,u.h),i},e.g(e.v,"defineProperty",e.i(r,!1),v),e.ba.push("(function() {","var defineProperty_ = Object.defineProperty;","Object.defineProperty = function defineProperty(obj, prop, d1) {","var d2 = {};","if ('configurable' in d1) d2.configurable = d1.configurable;","if ('enumerable' in d1) d2.enumerable = d1.enumerable;","if ('writable' in d1) d2.writable = d1.writable;","if ('value' in d1) d2.value = d1.value;","if ('get' in d1) d2.get = d1.get;","if ('set' in d1) d2.set = d1.set;","return defineProperty_(obj, prop, d2);","};","})();","Object.defineProperty(Object, 'defineProperties',","{configurable: true, writable: true, value:","function defineProperties(obj, props) {","var keys = Object.keys(props);","for (var i = 0; i < keys.length; i++) {","Object.defineProperty(obj, keys[i], props[keys[i]]);","}","return obj;","}","});",""),r=function(i,s){if(i instanceof k||d(e,e.j,"Object.getOwnPropertyDescriptor called on non-object: "+i),s=String(s),s in i.h){var u=Object.getOwnPropertyDescriptor(i.h,s),h=i.V[s];return i=i.Y[s],s=e.s(e.M),h||i?(e.g(s,"get",h),e.g(s,"set",i)):(e.g(s,"value",u.value),e.g(s,"writable",u.writable)),e.g(s,"configurable",u.configurable),e.g(s,"enumerable",u.enumerable),s}},e.g(e.v,"getOwnPropertyDescriptor",e.i(r,!1),v),r=function(i){return n(i),te(e,i)},e.g(e.v,"getPrototypeOf",e.i(r,!1),v),r=function(i){return!!i&&!i.preventExtensions},e.g(e.v,"isExtensible",e.i(r,!1),v),r=function(i){return i instanceof k&&(i.preventExtensions=!0),i},e.g(e.v,"preventExtensions",e.i(r,!1),v),P(e,e.v,"toString",k.prototype.toString),P(e,e.v,"toLocaleString",k.prototype.toString),P(e,e.v,"valueOf",k.prototype.valueOf),r=function(i){return n(this),this instanceof k?String(i)in this.h:this.hasOwnProperty(i)},P(e,e.v,"hasOwnProperty",r),r=function(i){return n(this),this instanceof k?Object.prototype.propertyIsEnumerable.call(this.h,i):this.propertyIsEnumerable(i)},P(e,e.v,"propertyIsEnumerable",r),r=function(i){for(;;){if(i=te(e,i),!i)return!1;if(i===this)return!0}},P(e,e.v,"isPrototypeOf",r)}function tn(e,t){var n=function(r){var i=re(e)?this:Ee(e),s=arguments[0];if(arguments.length===1&&typeof s=="number")isNaN(It(s))&&d(e,e.ob,"Invalid array length: "+s),i.h.length=s;else{for(s=0;s<arguments.length;s++)i.h[s]=arguments[s];i.h.length=s}return i};e.qa=e.i(n,!0),e.La=e.qa.h.prototype,e.g(t,"Array",e.qa,v),n=function(r){return r&&r.H==="Array"},e.g(e.qa,"isArray",e.i(n,!1),v),e.g(e.La,"length",0,{configurable:!1,enumerable:!1,writable:!0}),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(',');","}",");","})();","")}function rn(e,t){var n=function(r){return r=arguments.length?se.String(r):"",re(e)?(this.data=r,this):r};for(e.J=e.i(n,!0),e.g(t,"String",e.J,v),e.g(e.J,"fromCharCode",e.i(String.fromCharCode,!1),v),t="charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "),n=0;n<t.length;n++)P(e,e.J,t[n],String.prototype[t[n]]);n=function(r,i,s){i=e.R(i),s=e.R(s);try{return String(this).localeCompare(r,i,s)}catch(u){d(e,e.D,"localeCompare: "+u.message)}},P(e,e.J,"localeCompare",n),n=function(r,i,s){var u=String(this);if(i=i?Number(i):void 0,D(e,r,e.I)&&(r=r.data,Re(e,r,s),e.REGEXP_MODE===2)){if(ee)r=Me(e,"string.split(separator, limit)",{string:u,separator:r,limit:i},r,s),r!==me&&s(Q(e,r));else{var h=e.ha(),E=Pe(e,r,h,s);h.onmessage=function(F){clearTimeout(E),s(Q(e,F.data))},h.postMessage(["split",u,r,i])}return}r=u.split(r,i),s(Q(e,r))},Ue(e,e.J,"split",n),n=function(r,i){var s=String(this);if(r=D(e,r,e.I)?r.data:new RegExp(r),Re(e,r,i),e.REGEXP_MODE===2)if(ee)r=Me(e,"string.match(regexp)",{string:s,regexp:r},r,i),r!==me&&i(r&&Q(e,r));else{var u=e.ha(),h=Pe(e,r,u,i);u.onmessage=function(E){clearTimeout(h),i(E.data&&Q(e,E.data))},u.postMessage(["match",s,r])}else r=s.match(r),i(r&&Q(e,r))},Ue(e,e.J,"match",n),n=function(r,i){var s=String(this);if(D(e,r,e.I)?r=r.data:r=new RegExp(r),Re(e,r,i),e.REGEXP_MODE===2)if(ee)r=Me(e,"string.search(regexp)",{string:s,regexp:r},r,i),r!==me&&i(r);else{var u=e.ha(),h=Pe(e,r,u,i);u.onmessage=function(E){clearTimeout(h),i(E.data)},u.postMessage(["search",s,r])}else i(s.search(r))},Ue(e,e.J,"search",n),n=function(r,i,s){var u=String(this);if(i=String(i),D(e,r,e.I)&&(r=r.data,Re(e,r,s),e.REGEXP_MODE===2)){if(ee)r=Me(e,"string.replace(substr, newSubstr)",{string:u,substr:r,newSubstr:i},r,s),r!==me&&s(r);else{var h=e.ha(),E=Pe(e,r,h,s);h.onmessage=function(F){clearTimeout(E),s(F.data)},h.postMessage(["replace",u,r,i])}return}s(u.replace(r,i))},Ue(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;","};","})();","")}function nn(e,t){e.mb=e.i(function(n){return n=se.Boolean(n),re(e)?(this.data=n,this):n},!0),e.g(t,"Boolean",e.mb,v)}function on(e,t){var n=function(r){return r=arguments.length?se.Number(r):0,re(e)?(this.data=r,this):r};for(e.aa=e.i(n,!0),e.g(t,"Number",e.aa,v),t=["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"],n=0;n<t.length;n++)e.g(e.aa,t[n],Number[t[n]],Ne);n=function(r){try{return Number(this).toExponential(r)}catch(i){d(e,e.D,i.message)}},P(e,e.aa,"toExponential",n),n=function(r){try{return Number(this).toFixed(r)}catch(i){d(e,e.D,i.message)}},P(e,e.aa,"toFixed",n),n=function(r){try{return Number(this).toPrecision(r)}catch(i){d(e,e.D,i.message)}},P(e,e.aa,"toPrecision",n),n=function(r){try{return Number(this).toString(r)}catch(i){d(e,e.D,i.message)}},P(e,e.aa,"toString",n),n=function(r,i){r=r?e.R(r):void 0,i=i?e.R(i):void 0;try{return Number(this).toLocaleString(r,i)}catch(s){d(e,e.D,"toLocaleString: "+s.message)}},P(e,e.aa,"toLocaleString",n)}function sn(e,t){var n=function(i,s){if(!re(e))return se.Date();var u=[null].concat(Array.from(arguments));return this.data=new(Function.prototype.bind.apply(se.Date,u)),this};e.$=e.i(n,!0),e.nb=e.$.h.prototype,e.g(t,"Date",e.$,v),e.g(e.$,"now",e.i(Date.now,!1),v),e.g(e.$,"parse",e.i(Date.parse,!1),v),e.g(e.$,"UTC",e.i(Date.UTC,!1),v),t="getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");for(var r=0;r<t.length;r++)n=function(i){return function(s){var u=this.data;u instanceof Date||d(e,e.j,i+" not called on a Date");for(var h=[],E=0;E<arguments.length;E++)h[E]=e.R(arguments[E]);return u[i].apply(u,h)}}(t[r]),P(e,e.$,t[r],n)}function an(e,t){var n=function(r,i){if(re(e))var s=this;else{if(i===void 0&&D(e,r,e.I))return r;s=e.s(e.Ma)}r=r===void 0?"":String(r),i=i?String(i):"",/^[gmi]*$/.test(i)||d(e,e.T,"Invalid regexp flag: "+i);try{var u=new se.RegExp(r,i)}catch(h){d(e,e.T,h.message)}return Tt(e,s,u),s};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){function s(N){if(N){var O=Q(e,N);return e.g(O,"index",N.index),e.g(O,"input",N.input),O}return null}var u=this.data;if(r=String(r),u.lastIndex=Number(e.G(this,"lastIndex")),Re(e,u,i),e.REGEXP_MODE===2)if(ee)r=Me(e,"regexp.exec(string)",{string:r,regexp:u},u,i),r!==me&&(e.g(this,"lastIndex",u.lastIndex),i(s(r)));else{var h=e.ha(),E=Pe(e,u,h,i),F=this;h.onmessage=function(N){clearTimeout(E),e.g(F,"lastIndex",N.data[1]),i(s(N.data[0]))},h.postMessage(["exec",u,u.lastIndex,r])}else r=u.exec(r),e.g(this,"lastIndex",u.lastIndex),i(s(r))},Ue(e,e.I,"exec",n)}function un(e,t){function n(r){var i=e.i(function(s){var u=re(e)?this:e.Aa(i);return Ct(e,u,s),u},!0);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}e.D=e.i(function(r){var i=re(e)?this:e.Aa(e.D);return Ct(e,i,r),i},!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")}function ln(e,t){var n=e.s(e.M);e.g(t,"Math",n,v);var r="E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");for(t=0;t<r.length;t++)e.g(n,r[t],Math[r[t]],G);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++)e.g(n,r[t],e.i(Math[r[t]],!1),v)}function cn(e,t){var n=e.s(e.M);e.g(t,"JSON",n,v),t=function(r){try{var i=JSON.parse(String(r))}catch(s){d(e,e.T,s.message)}return e.Ia(i)},e.g(n,"parse",e.i(t,!1)),t=function(r,i,s){i&&i.H==="Function"?d(e,e.j,"Function replacer on JSON.stringify not supported"):i&&i.H==="Array"?(i=Or(e,i),i=i.filter(function(h){return typeof h=="string"||typeof h=="number"})):i=null,typeof s!="string"&&typeof s!="number"&&(s=void 0),r=e.R(r);try{var u=JSON.stringify(r,i,s)}catch(h){d(e,e.j,h.message)}return u},e.g(n,"stringify",e.i(t,!1))}function D(e,t,n){if(t==null||!n)return!1;if(n=n.h.prototype,t===n)return!0;for(t=te(e,t);t;){if(t===n)return!0;t=t.xa}return!1}function Tt(e,t,n){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)}function Ct(e,t,n){n&&e.g(t,"message",String(n),v),n=[];for(var r=e.o.length-1;0<=r;r--){var i=e.o[r],s=i.node;s.type==="CallExpression"&&(i=i.U)&&n.length&&(n[n.length-1].Ob=e.G(i,"name")),!s.X||n.length&&s.type!=="CallExpression"||n.push({Nb:s.X})}for(r=String(e.G(t,"name")),s=String(e.G(t,"message")),s=r+": "+s+`
|
|
@@ -16,11 +16,11 @@ type ContentResults = {
|
|
|
16
16
|
/**
|
|
17
17
|
* @internal Exported only for testing purposes. Do not use.
|
|
18
18
|
*/
|
|
19
|
-
export declare const _processContentResult: (options: GetContentOptions, content: ContentResults, url?: URL) => Promise<
|
|
19
|
+
export declare const _processContentResult: (options: GetContentOptions, content: ContentResults, url?: URL) => Promise<BuilderContent[]>;
|
|
20
20
|
/**
|
|
21
21
|
* Returns a paginated array of entries that match the given options.
|
|
22
22
|
*/
|
|
23
|
-
export declare function fetchEntries(options: GetContentOptions): Promise<
|
|
23
|
+
export declare function fetchEntries(options: GetContentOptions): Promise<BuilderContent[] | null>;
|
|
24
24
|
/**
|
|
25
25
|
* @deprecated `getAllContent` was renamed to `fetchEntries`. This is a temporary alias to avoid breaking changes.
|
|
26
26
|
*/
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare function transformBlockProperties({ properties, }: {
|
|
2
|
+
properties: any;
|
|
3
|
+
block: any;
|
|
4
|
+
context: any;
|
|
5
|
+
}): any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { T as n } from "./index-
|
|
3
|
-
import { e as s } from "./evaluate-
|
|
2
|
+
import { T as n } from "./index-34d29a8a.js";
|
|
3
|
+
import { e as s } from "./evaluate-636aee70.js";
|
|
4
4
|
const l = (e) => `v-on:${e.toLowerCase()}`, i = (e, t) => (o) => s({
|
|
5
5
|
code: e,
|
|
6
6
|
context: t.context,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var v=require("./style.css");const r=require("./index-
|
|
1
|
+
"use strict";var v=require("./style.css");const r=require("./index-255d62bb.cjs"),s=require("./evaluate-0bfb6f5e.cjs"),l=e=>`v-on:${e.toLowerCase()}`,i=(e,t)=>o=>s.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:o,isExpression:!1});function u(e){const t={},o=e.block.actions??{};for(const c in o){if(!o.hasOwnProperty(c))continue;const n=o[c];let a=l(c);if(e.stripPrefix)switch(r.TARGET){case"vue2":case"vue3":a=a.replace("v-on:","");break;case"svelte":a=a.replace("on:","");break}t[a]=i(n,e)}return t}exports.getBlockActions=u;
|
package/vue2/lib/{node/get-block-properties-49526534.js → edge/get-block-properties-2332f899.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { T as o } from "./index-
|
|
3
|
-
import { a } from "./css-
|
|
2
|
+
import { T as o } from "./index-34d29a8a.js";
|
|
3
|
+
import { a } from "./css-b08d1e02.js";
|
|
4
4
|
function i(e) {
|
|
5
5
|
const t = {};
|
|
6
6
|
if (typeof e != "string")
|
|
@@ -10,7 +10,9 @@ function i(e) {
|
|
|
10
10
|
t[r] = !0;
|
|
11
11
|
return t;
|
|
12
12
|
}
|
|
13
|
-
function n(
|
|
13
|
+
function n({
|
|
14
|
+
properties: e
|
|
15
|
+
}) {
|
|
14
16
|
return e.class = i(e.class), e;
|
|
15
17
|
}
|
|
16
18
|
const c = (e) => ({
|
|
@@ -28,7 +30,11 @@ function m({
|
|
|
28
30
|
style: e.style ? u(e.style) : void 0,
|
|
29
31
|
class: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
|
|
30
32
|
};
|
|
31
|
-
return n(
|
|
33
|
+
return n({
|
|
34
|
+
properties: s,
|
|
35
|
+
context: t,
|
|
36
|
+
block: e
|
|
37
|
+
});
|
|
32
38
|
}
|
|
33
39
|
function u(e) {
|
|
34
40
|
switch (o) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var f=require("./style.css");const i=require("./index-255d62bb.cjs"),c=require("./css-4311a890.cjs");function n(e){const t={};if(typeof e!="string")return t;const s=e.trim().split(/\\s+/);for(const r of s)t[r]=!0;return t}function o({properties:e}){return e.class=n(e.class),e}const a=e=>({href:e.href});function u({block:e,context:t}){var r;const s={...a(e),...e.properties,"builder-id":e.id,style:e.style?l(e.style):void 0,class:[e.id,"builder-block",e.class,(r=e.properties)==null?void 0:r.class].filter(Boolean).join(" ")};return o({properties:s,context:t,block:e})}function l(e){switch(i.TARGET){case"svelte":case"vue2":case"vue3":case"solid":return c.convertStyleMapToCSSArray(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}exports.getBlockProperties=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var l=require("./style.css");const f=require("./index-
|
|
1
|
+
"use strict";var l=require("./style.css");const f=require("./index-255d62bb.cjs"),u=require("./evaluate-0bfb6f5e.cjs");const p=({block:e,context:s,localState:r,rootState:o,rootSetState:i})=>{if(!e.bindings)return e;const n=f.fastClone(e),t={...n,properties:{...n.properties},actions:{...n.actions}};for(const c in e.bindings){const a=e.bindings[c],d=u.evaluate({code:a,localState:r,rootState:o,rootSetState:i,context:s});u.set(t,c,d)}return t};function g({block:e,context:s,shouldEvaluateBindings:r,localState:o,rootState:i,rootSetState:n}){const t=e;return r?p({block:t,localState:o,rootState:i,rootSetState:n,context:s}):t}exports.getProcessedBlock=g;
|
package/vue2/lib/{node/get-processed-block-7242c9a8.js → edge/get-processed-block-1e4b19d3.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { f as p } from "./index-
|
|
3
|
-
import { e as u, s as d } from "./evaluate-
|
|
2
|
+
import { f as p } from "./index-34d29a8a.js";
|
|
3
|
+
import { e as u, s as d } from "./evaluate-636aee70.js";
|
|
4
4
|
const g = ({
|
|
5
5
|
block: n,
|
|
6
6
|
context: e,
|