@builder.io/sdk-vue 0.7.1-1 → 0.7.2
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 +4 -4
- package/vue2/lib/browser/block-750d8ed7.cjs +3 -0
- package/vue2/lib/{node/block-979d66e1.js → browser/block-86d82810.js} +62 -62
- package/vue2/lib/{node/block-styles-50528f05.js → browser/block-styles-132270d0.js} +5 -5
- package/vue2/lib/{edge/block-styles-ba691a55.cjs → browser/block-styles-5b5e9888.cjs} +1 -1
- package/vue2/lib/browser/{block-wrapper-2d901f3f.cjs → block-wrapper-571b134c.cjs} +1 -1
- package/vue2/lib/browser/{block-wrapper-b1a6d78a.js → block-wrapper-f011d1f2.js} +5 -5
- package/vue2/lib/browser/blocks/button/button.vue.d.ts +2 -1
- package/vue2/lib/browser/blocks/columns/columns.vue.d.ts +2 -2
- package/vue2/lib/browser/blocks/img/img.vue.d.ts +2 -1
- package/vue2/lib/browser/blocks/section/section.vue.d.ts +2 -1
- package/vue2/lib/browser/blocks/symbol/symbol.vue.d.ts +4 -2
- package/vue2/lib/{edge/blocks-wrapper-7e831b51.cjs → browser/blocks-wrapper-1d620d76.cjs} +1 -1
- package/vue2/lib/{edge/blocks-wrapper-9c7effa2.js → browser/blocks-wrapper-33f35ea5.js} +1 -1
- package/vue2/lib/{edge/component-ref-02d30d18.cjs → browser/component-ref-26a164ea.cjs} +1 -1
- package/vue2/lib/{edge/component-ref-0404fc38.js → browser/component-ref-d6254a68.js} +10 -10
- package/vue2/lib/browser/components/block/block.vue.d.ts +3 -3
- package/vue2/lib/browser/components/block/components/block-styles.vue.d.ts +3 -3
- package/vue2/lib/browser/components/block/components/block-wrapper.vue.d.ts +3 -3
- package/vue2/lib/browser/components/block/components/interactive-element.vue.d.ts +3 -3
- package/vue2/lib/browser/components/blocks/blocks.vue.d.ts +2 -2
- package/vue2/lib/browser/components/content-variants/content-variants.vue.d.ts +4 -4
- package/vue2/lib/browser/components/inlined-styles.vue.d.ts +3 -3
- package/vue2/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/browser/content-859f190b.cjs +1 -0
- package/vue2/lib/{edge/content-173f7be0.js → browser/content-dc49d77b.js} +232 -232
- package/vue2/lib/browser/context/types.d.ts +1 -1
- package/vue2/lib/browser/{css-d68fe0e5.js → css-67efb2d0.js} +1 -1
- package/vue2/lib/browser/{css-32f0c7fe.cjs → css-a19d330c.cjs} +1 -1
- package/vue2/lib/browser/{enable-editor-29804f7c.js → enable-editor-4054558e.js} +59 -60
- package/vue2/lib/browser/enable-editor-ed3f647e.cjs +1 -0
- package/vue2/lib/browser/{evaluate-c21703b5.js → evaluate-28c12253.js} +1 -1
- package/vue2/lib/browser/{evaluate-5f291a57.cjs → evaluate-6cd69c12.cjs} +1 -1
- package/vue2/lib/{node/get-block-actions-a7c25deb.js → browser/get-block-actions-63de56e5.js} +2 -2
- package/vue2/lib/browser/{get-block-actions-4f4fdc14.cjs → get-block-actions-f19965b6.cjs} +1 -1
- package/vue2/lib/{node/get-block-properties-75f3f91a.cjs → browser/get-block-properties-21c833e6.cjs} +1 -1
- package/vue2/lib/browser/{get-block-properties-14335b2d.js → get-block-properties-a5f2574c.js} +2 -2
- package/vue2/lib/browser/{get-processed-block-7dbd0508.cjs → get-processed-block-981ce262.cjs} +1 -1
- package/vue2/lib/browser/{get-processed-block-9c43bb30.js → get-processed-block-9b23550f.js} +2 -2
- package/vue2/lib/browser/helpers/ab-tests.d.ts +1 -1
- package/vue2/lib/{node/index-ea4df31a.cjs → browser/index-63eb9f8d.cjs} +9 -9
- package/vue2/lib/{node/index-7ce12494.js → browser/index-f82eab8f.js} +170 -170
- package/vue2/lib/browser/index-helpers/blocks-exports.d.ts +4 -4
- package/vue2/lib/browser/index.cjs +1 -1
- package/vue2/lib/browser/index.js +1 -1
- package/vue2/lib/{edge/inlined-script-7a7207fd.js → browser/inlined-script-2d16b8db.js} +1 -1
- package/vue2/lib/browser/{inlined-script-cc25d25c.cjs → inlined-script-95114af2.cjs} +1 -1
- package/vue2/lib/{node/inlined-styles-08dbb945.cjs → browser/inlined-styles-9637cb58.cjs} +1 -1
- package/vue2/lib/{node/inlined-styles-8982c8a6.js → browser/inlined-styles-fbbf7fd9.js} +1 -1
- package/vue2/lib/{node/interactive-element-caabd2d9.js → browser/interactive-element-c87a6c35.js} +5 -5
- package/vue2/lib/{node/interactive-element-fc5a4f1d.cjs → browser/interactive-element-d37313e0.cjs} +1 -1
- package/vue2/lib/{node/repeated-block-0ab8e6be.js → browser/repeated-block-231b11b1.js} +2 -2
- package/vue2/lib/browser/{repeated-block-ba80a339.cjs → repeated-block-49fef627.cjs} +1 -1
- package/vue2/lib/browser/server-index.d.ts +2 -2
- package/vue2/lib/browser/style.css +1 -1
- package/vue2/lib/{node/styles-6e09a0cc.js → browser/styles-28f7ec70.js} +2 -2
- package/vue2/lib/{node/styles-96606872.cjs → browser/styles-6a6b8114.cjs} +2 -2
- package/vue2/lib/edge/block-85fe2549.cjs +3 -0
- package/vue2/lib/{browser/block-dc97e982.js → edge/block-88cc78c4.js} +62 -62
- package/vue2/lib/{node/block-styles-00a3a4d7.cjs → edge/block-styles-65d9a724.cjs} +1 -1
- package/vue2/lib/edge/{block-styles-bd09453c.js → block-styles-9140aecf.js} +5 -5
- package/vue2/lib/{node/block-wrapper-8bd5d40b.js → edge/block-wrapper-36a4a767.js} +5 -5
- package/vue2/lib/edge/{block-wrapper-8e1bd00b.cjs → block-wrapper-e6392713.cjs} +1 -1
- package/vue2/lib/edge/blocks/button/button.vue.d.ts +2 -1
- package/vue2/lib/edge/blocks/columns/columns.vue.d.ts +2 -2
- package/vue2/lib/edge/blocks/img/img.vue.d.ts +2 -1
- package/vue2/lib/edge/blocks/section/section.vue.d.ts +2 -1
- package/vue2/lib/edge/blocks/symbol/symbol.vue.d.ts +4 -2
- package/vue2/lib/{browser/blocks-wrapper-9e8dd7a2.cjs → edge/blocks-wrapper-96489519.cjs} +1 -1
- package/vue2/lib/{browser/blocks-wrapper-fcb480f0.js → edge/blocks-wrapper-dcd7b27a.js} +1 -1
- package/vue2/lib/{node/component-ref-3ba26510.cjs → edge/component-ref-0bf4a838.cjs} +1 -1
- package/vue2/lib/{node/component-ref-123ffd3c.js → edge/component-ref-9b2c6138.js} +10 -10
- package/vue2/lib/edge/components/block/block.vue.d.ts +3 -3
- package/vue2/lib/edge/components/block/components/block-styles.vue.d.ts +3 -3
- package/vue2/lib/edge/components/block/components/block-wrapper.vue.d.ts +3 -3
- package/vue2/lib/edge/components/block/components/interactive-element.vue.d.ts +3 -3
- package/vue2/lib/edge/components/blocks/blocks.vue.d.ts +2 -2
- package/vue2/lib/edge/components/content-variants/content-variants.vue.d.ts +4 -4
- package/vue2/lib/edge/components/inlined-styles.vue.d.ts +3 -3
- package/vue2/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/edge/content-199e7143.cjs +1 -0
- package/vue2/lib/{browser/content-76b432c4.js → edge/content-ad722031.js} +232 -232
- package/vue2/lib/edge/context/types.d.ts +1 -1
- package/vue2/lib/{node/css-c566c7a4.cjs → edge/css-05af2335.cjs} +1 -1
- package/vue2/lib/edge/{css-081095c1.js → css-5bd5388a.js} +1 -1
- package/vue2/lib/{node/enable-editor-96dbd852.js → edge/enable-editor-a32a425e.js} +59 -60
- package/vue2/lib/edge/enable-editor-ee8b2ba3.cjs +1 -0
- package/vue2/lib/edge/{evaluate-47aeba42.cjs → evaluate-7661cdf7.cjs} +1 -1
- package/vue2/lib/edge/{evaluate-d31c253f.js → evaluate-79ba5368.js} +1 -1
- package/vue2/lib/edge/{get-block-actions-fc18e691.cjs → get-block-actions-4ed31703.cjs} +1 -1
- package/vue2/lib/{browser/get-block-actions-47eb8bee.js → edge/get-block-actions-5ae9dffc.js} +2 -2
- package/vue2/lib/edge/{get-block-properties-d0176121.js → get-block-properties-c72eb3c0.js} +2 -2
- package/vue2/lib/{browser/get-block-properties-4c2072d0.cjs → edge/get-block-properties-e0553a33.cjs} +1 -1
- package/vue2/lib/edge/{get-processed-block-2d9f33f5.cjs → get-processed-block-e8256b7e.cjs} +1 -1
- package/vue2/lib/{node/get-processed-block-231c050b.js → edge/get-processed-block-f3dbc4e7.js} +2 -2
- package/vue2/lib/edge/helpers/ab-tests.d.ts +1 -1
- package/vue2/lib/edge/{index-6e4d121e.js → index-4cf9f60c.js} +170 -170
- package/vue2/lib/edge/{index-ca5baf07.cjs → index-946de873.cjs} +9 -9
- package/vue2/lib/edge/index-helpers/blocks-exports.d.ts +4 -4
- package/vue2/lib/edge/index.cjs +1 -1
- package/vue2/lib/edge/index.js +1 -1
- package/vue2/lib/{node/inlined-script-073d04d2.js → edge/inlined-script-58b1138d.js} +1 -1
- package/vue2/lib/{node/inlined-script-dccfb7fc.cjs → edge/inlined-script-cd8bf7d3.cjs} +1 -1
- package/vue2/lib/edge/{inlined-styles-f109793f.js → inlined-styles-8c6cdbc5.js} +1 -1
- package/vue2/lib/{browser/inlined-styles-da08b05d.cjs → edge/inlined-styles-a1951810.cjs} +1 -1
- package/vue2/lib/edge/{interactive-element-9c12c501.cjs → interactive-element-1a5ee50b.cjs} +1 -1
- package/vue2/lib/{browser/interactive-element-ac3e10b7.js → edge/interactive-element-2f0d2294.js} +5 -5
- package/vue2/lib/edge/{repeated-block-1093b757.cjs → repeated-block-8721baa8.cjs} +1 -1
- package/vue2/lib/{browser/repeated-block-51e74834.js → edge/repeated-block-a32b01bc.js} +2 -2
- package/vue2/lib/edge/server-index.d.ts +2 -2
- package/vue2/lib/edge/style.css +1 -1
- package/vue2/lib/{browser/styles-931da5e8.cjs → edge/styles-b2c8a706.cjs} +2 -2
- package/vue2/lib/{browser/styles-5eb21cb8.js → edge/styles-eab59896.js} +2 -2
- package/vue2/lib/node/block-575160ba.cjs +3 -0
- package/vue2/lib/{edge/block-2c7301d0.js → node/block-6c3981dc.js} +62 -62
- package/vue2/lib/{browser/block-styles-8f571c43.cjs → node/block-styles-258f0e47.cjs} +1 -1
- package/vue2/lib/{browser/block-styles-bc460f14.js → node/block-styles-b1b9a610.js} +5 -5
- package/vue2/lib/{edge/block-wrapper-4210f268.js → node/block-wrapper-1bdc3ca4.js} +5 -5
- package/vue2/lib/node/{block-wrapper-d7b449f1.cjs → block-wrapper-fed00059.cjs} +1 -1
- package/vue2/lib/node/blocks/button/button.vue.d.ts +2 -1
- package/vue2/lib/node/blocks/columns/columns.vue.d.ts +2 -2
- package/vue2/lib/node/blocks/img/img.vue.d.ts +2 -1
- package/vue2/lib/node/blocks/section/section.vue.d.ts +2 -1
- package/vue2/lib/node/blocks/symbol/symbol.vue.d.ts +4 -2
- package/vue2/lib/node/{blocks-wrapper-50937fc2.js → blocks-wrapper-031887f0.js} +1 -1
- package/vue2/lib/node/{blocks-wrapper-d425bec5.cjs → blocks-wrapper-80b3a22f.cjs} +1 -1
- package/vue2/lib/{browser/component-ref-bc236051.cjs → node/component-ref-5be913d9.cjs} +1 -1
- package/vue2/lib/{browser/component-ref-68e3a5b6.js → node/component-ref-ccb3e639.js} +10 -10
- package/vue2/lib/node/components/block/block.vue.d.ts +3 -3
- package/vue2/lib/node/components/block/components/block-styles.vue.d.ts +3 -3
- package/vue2/lib/node/components/block/components/block-wrapper.vue.d.ts +3 -3
- package/vue2/lib/node/components/block/components/interactive-element.vue.d.ts +3 -3
- package/vue2/lib/node/components/blocks/blocks.vue.d.ts +2 -2
- package/vue2/lib/node/components/content-variants/content-variants.vue.d.ts +4 -4
- package/vue2/lib/node/components/inlined-styles.vue.d.ts +3 -3
- package/vue2/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/node/content-8b7678bc.cjs +1 -0
- package/vue2/lib/node/{content-d31377e7.js → content-f80acd05.js} +232 -232
- package/vue2/lib/node/context/types.d.ts +1 -1
- package/vue2/lib/{edge/css-00393f8a.cjs → node/css-44cbcf3f.cjs} +1 -1
- package/vue2/lib/node/{css-469bd1df.js → css-ad18a8ab.js} +1 -1
- package/vue2/lib/node/enable-editor-405441b9.cjs +1 -0
- package/vue2/lib/{edge/enable-editor-d3f018c6.js → node/enable-editor-8b4a5b45.js} +59 -60
- package/vue2/lib/node/{evaluate-45bac138.cjs → evaluate-19fac854.cjs} +1 -1
- package/vue2/lib/node/{evaluate-946bbbf4.js → evaluate-52887aac.js} +8 -8
- package/vue2/lib/{edge/get-block-actions-33002e58.js → node/get-block-actions-1a6b19ce.js} +2 -2
- package/vue2/lib/node/{get-block-actions-fa0f60c5.cjs → get-block-actions-65751661.cjs} +1 -1
- package/vue2/lib/{edge/get-block-properties-c1a43e4b.cjs → node/get-block-properties-2204d735.cjs} +1 -1
- package/vue2/lib/node/{get-block-properties-5524be2a.js → get-block-properties-cbc0612e.js} +2 -2
- package/vue2/lib/{edge/get-processed-block-1280c9d5.js → node/get-processed-block-78fabb02.js} +2 -2
- package/vue2/lib/node/{get-processed-block-e246d1ed.cjs → get-processed-block-902c8e72.cjs} +1 -1
- package/vue2/lib/node/helpers/ab-tests.d.ts +1 -1
- package/vue2/lib/{browser/index-bb14138e.js → node/index-43273102.js} +170 -170
- package/vue2/lib/{browser/index-7528c088.cjs → node/index-d8e34fec.cjs} +9 -9
- package/vue2/lib/node/index-helpers/blocks-exports.d.ts +4 -4
- package/vue2/lib/node/index.cjs +1 -1
- package/vue2/lib/node/index.js +1 -1
- package/vue2/lib/{edge/inlined-script-e57329a5.cjs → node/inlined-script-82af82d4.cjs} +1 -1
- package/vue2/lib/{browser/inlined-script-431b5967.js → node/inlined-script-da97caa2.js} +1 -1
- package/vue2/lib/{edge/inlined-styles-9a96b77e.cjs → node/inlined-styles-73c1efea.cjs} +1 -1
- package/vue2/lib/{browser/inlined-styles-1717d4f0.js → node/inlined-styles-f35650e9.js} +1 -1
- package/vue2/lib/{browser/interactive-element-03353733.cjs → node/interactive-element-07235e63.cjs} +1 -1
- package/vue2/lib/{edge/interactive-element-6a866621.js → node/interactive-element-22405343.js} +5 -5
- package/vue2/lib/{edge/repeated-block-f7b967cf.js → node/repeated-block-53bf7a45.js} +2 -2
- package/vue2/lib/node/{repeated-block-f65d29a5.cjs → repeated-block-771e5e8b.cjs} +1 -1
- package/vue2/lib/node/server-index.d.ts +2 -2
- package/vue2/lib/node/style.css +1 -1
- package/vue2/lib/{edge/styles-a211b4e1.cjs → node/styles-6a9d7ee1.cjs} +2 -2
- package/vue2/lib/{edge/styles-aa2c087b.js → node/styles-c2fd2724.js} +2 -2
- package/vue2/package.json +1 -0
- package/vue3/lib/{edge/block-wrapper.4b2f2fb3.js → browser/block-wrapper.32fa4b39.js} +8 -8
- package/vue3/lib/browser/{block-wrapper.49af98a6.cjs → block-wrapper.fc71d4d3.cjs} +1 -1
- package/vue3/lib/browser/blocks/button/button.vue.d.ts +2 -1
- package/vue3/lib/browser/blocks/columns/columns.vue.d.ts +2 -2
- package/vue3/lib/browser/blocks/image/image.vue.d.ts +3 -3
- package/vue3/lib/browser/blocks/img/img.vue.d.ts +2 -1
- package/vue3/lib/browser/blocks/section/section.vue.d.ts +2 -1
- package/vue3/lib/browser/blocks/symbol/symbol.vue.d.ts +4 -2
- package/vue3/lib/{edge/component-ref.98beaea3.js → browser/component-ref.52b4ab91.js} +17 -17
- package/vue3/lib/browser/component-ref.f8946ad7.cjs +1 -0
- package/vue3/lib/browser/components/block/block.vue.d.ts +3 -3
- package/vue3/lib/browser/components/block/components/block-styles.vue.d.ts +3 -3
- package/vue3/lib/browser/components/block/components/block-wrapper.vue.d.ts +3 -3
- package/vue3/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +4 -4
- package/vue3/lib/browser/components/block/components/interactive-element.vue.d.ts +3 -3
- package/vue3/lib/browser/components/blocks/blocks.vue.d.ts +1 -1
- package/vue3/lib/browser/components/content/components/enable-editor.vue.d.ts +3 -3
- package/vue3/lib/browser/components/content/content.vue.d.ts +3 -3
- package/vue3/lib/browser/components/content-variants/content-variants.vue.d.ts +7 -5
- package/vue3/lib/browser/components/inlined-styles.vue.d.ts +3 -3
- package/vue3/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/browser/context/types.d.ts +1 -1
- package/vue3/lib/{edge/get-block-actions.b460cca3.js → browser/get-block-actions.33a95ae9.js} +1 -1
- package/vue3/lib/{edge/get-block-actions.407fbfa9.cjs → browser/get-block-actions.720b385e.cjs} +1 -1
- package/vue3/lib/browser/helpers/ab-tests.d.ts +1 -1
- package/vue3/lib/browser/index-helpers/blocks-exports.d.ts +4 -4
- package/vue3/lib/browser/index.abbd01ce.cjs +69 -0
- package/vue3/lib/browser/{index.88b433c6.js → index.bd816233.js} +1303 -1285
- package/vue3/lib/browser/index.cjs +1 -1
- package/vue3/lib/browser/index.js +1 -1
- package/vue3/lib/{edge/repeated-block.cc9bbed2.js → browser/repeated-block.41d43763.js} +6 -6
- package/vue3/lib/{edge/repeated-block.f5d444e9.cjs → browser/repeated-block.4bb78d4d.cjs} +1 -1
- package/vue3/lib/browser/server-index.d.ts +2 -2
- package/vue3/lib/{browser/block-wrapper.09b54dd3.js → edge/block-wrapper.4bb452b4.js} +8 -8
- package/vue3/lib/edge/{block-wrapper.2d4ec833.cjs → block-wrapper.d36a195b.cjs} +1 -1
- package/vue3/lib/edge/blocks/button/button.vue.d.ts +2 -1
- package/vue3/lib/edge/blocks/columns/columns.vue.d.ts +2 -2
- package/vue3/lib/edge/blocks/image/image.vue.d.ts +3 -3
- package/vue3/lib/edge/blocks/img/img.vue.d.ts +2 -1
- package/vue3/lib/edge/blocks/section/section.vue.d.ts +2 -1
- package/vue3/lib/edge/blocks/symbol/symbol.vue.d.ts +4 -2
- package/vue3/lib/edge/component-ref.09c0c561.cjs +1 -0
- package/vue3/lib/{browser/component-ref.63194b25.js → edge/component-ref.215d8eb3.js} +17 -17
- package/vue3/lib/edge/components/block/block.vue.d.ts +3 -3
- package/vue3/lib/edge/components/block/components/block-styles.vue.d.ts +3 -3
- package/vue3/lib/edge/components/block/components/block-wrapper.vue.d.ts +3 -3
- package/vue3/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +4 -4
- package/vue3/lib/edge/components/block/components/interactive-element.vue.d.ts +3 -3
- package/vue3/lib/edge/components/blocks/blocks.vue.d.ts +1 -1
- package/vue3/lib/edge/components/content/components/enable-editor.vue.d.ts +3 -3
- package/vue3/lib/edge/components/content/content.vue.d.ts +3 -3
- package/vue3/lib/edge/components/content-variants/content-variants.vue.d.ts +7 -5
- package/vue3/lib/edge/components/inlined-styles.vue.d.ts +3 -3
- package/vue3/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/edge/context/types.d.ts +1 -1
- package/vue3/lib/{browser/get-block-actions.4f330889.js → edge/get-block-actions.32987a91.js} +1 -1
- package/vue3/lib/{browser/get-block-actions.2e99e179.cjs → edge/get-block-actions.b7d0a3c2.cjs} +1 -1
- package/vue3/lib/edge/helpers/ab-tests.d.ts +1 -1
- package/vue3/lib/edge/index-helpers/blocks-exports.d.ts +4 -4
- package/vue3/lib/edge/{index.a8ffb479.js → index.cc0efb3b.js} +1526 -1507
- package/vue3/lib/edge/index.ceec697c.cjs +89 -0
- package/vue3/lib/edge/index.cjs +1 -1
- package/vue3/lib/edge/index.js +1 -1
- package/vue3/lib/{browser/repeated-block.ef8176d8.cjs → edge/repeated-block.b5d1a5b6.cjs} +1 -1
- package/vue3/lib/{browser/repeated-block.067ee555.js → edge/repeated-block.d1e4f878.js} +6 -6
- package/vue3/lib/edge/server-index.d.ts +2 -2
- package/vue3/lib/node/{block-wrapper.25e28ca3.cjs → block-wrapper.027e2e58.cjs} +1 -1
- package/vue3/lib/node/{block-wrapper.56bce6c4.js → block-wrapper.1f5bec88.js} +5 -5
- package/vue3/lib/node/blocks/button/button.vue.d.ts +2 -1
- package/vue3/lib/node/blocks/columns/columns.vue.d.ts +2 -2
- package/vue3/lib/node/blocks/image/image.vue.d.ts +3 -3
- package/vue3/lib/node/blocks/img/img.vue.d.ts +2 -1
- package/vue3/lib/node/blocks/section/section.vue.d.ts +2 -1
- package/vue3/lib/node/blocks/symbol/symbol.vue.d.ts +4 -2
- package/vue3/lib/node/component-ref.5c293120.cjs +1 -0
- package/vue3/lib/node/{component-ref.cd59ca4d.js → component-ref.d2c6eedf.js} +17 -17
- package/vue3/lib/node/components/block/block.vue.d.ts +3 -3
- package/vue3/lib/node/components/block/components/block-styles.vue.d.ts +3 -3
- package/vue3/lib/node/components/block/components/block-wrapper.vue.d.ts +3 -3
- package/vue3/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +4 -4
- package/vue3/lib/node/components/block/components/interactive-element.vue.d.ts +3 -3
- package/vue3/lib/node/components/blocks/blocks.vue.d.ts +1 -1
- package/vue3/lib/node/components/content/components/enable-editor.vue.d.ts +3 -3
- package/vue3/lib/node/components/content/content.vue.d.ts +3 -3
- package/vue3/lib/node/components/content-variants/content-variants.vue.d.ts +7 -5
- package/vue3/lib/node/components/inlined-styles.vue.d.ts +3 -3
- package/vue3/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/node/context/types.d.ts +1 -1
- package/vue3/lib/node/{get-block-actions.0d715e21.cjs → get-block-actions.3bf73664.cjs} +1 -1
- package/vue3/lib/node/{get-block-actions.3df391e9.js → get-block-actions.68279ccf.js} +1 -1
- package/vue3/lib/node/helpers/ab-tests.d.ts +1 -1
- package/vue3/lib/node/index-helpers/blocks-exports.d.ts +4 -4
- package/vue3/lib/node/index.44e0d18b.cjs +109 -0
- package/vue3/lib/node/{index.88589866.js → index.bb1871d7.js} +1402 -1384
- package/vue3/lib/node/index.cjs +1 -1
- package/vue3/lib/node/index.js +1 -1
- package/vue3/lib/node/{repeated-block.78ed5bbb.cjs → repeated-block.6533598e.cjs} +1 -1
- package/vue3/lib/node/{repeated-block.57ca2ba1.js → repeated-block.c5b9936f.js} +5 -5
- package/vue3/lib/node/server-index.d.ts +2 -2
- package/vue3/package.json +1 -0
- package/vue2/lib/browser/block-2cb52597.cjs +0 -3
- package/vue2/lib/browser/content-1a8d2e10.cjs +0 -1
- package/vue2/lib/browser/enable-editor-58cd5d33.cjs +0 -1
- package/vue2/lib/edge/block-40b0f7b5.cjs +0 -3
- package/vue2/lib/edge/content-36b34b86.cjs +0 -1
- package/vue2/lib/edge/enable-editor-c36df3b5.cjs +0 -1
- package/vue2/lib/node/block-d7e689a7.cjs +0 -3
- package/vue2/lib/node/content-d8e76f5c.cjs +0 -1
- package/vue2/lib/node/enable-editor-8c4e460a.cjs +0 -1
- package/vue3/lib/browser/component-ref.78f795cd.cjs +0 -1
- package/vue3/lib/browser/index.c04232f6.cjs +0 -69
- package/vue3/lib/edge/component-ref.d8514fb0.cjs +0 -1
- package/vue3/lib/edge/index.8bdc4716.cjs +0 -89
- package/vue3/lib/node/component-ref.c35ae123.cjs +0 -1
- package/vue3/lib/node/index.b2d2bb5e.cjs +0 -109
|
@@ -48,8 +48,8 @@ function y(e, t, n, o, r, s, i, u) {
|
|
|
48
48
|
return d.call(m), p(f, m);
|
|
49
49
|
};
|
|
50
50
|
} else {
|
|
51
|
-
var
|
|
52
|
-
a.beforeCreate =
|
|
51
|
+
var b = a.beforeCreate;
|
|
52
|
+
a.beforeCreate = b ? [].concat(b, d) : [d];
|
|
53
53
|
}
|
|
54
54
|
return {
|
|
55
55
|
exports: e,
|
|
@@ -58,14 +58,14 @@ function y(e, t, n, o, r, s, i, u) {
|
|
|
58
58
|
}
|
|
59
59
|
var dt = function() {
|
|
60
60
|
var t = this, n = t._self._c;
|
|
61
|
-
return t._self._setupProxy, t.link ? n("a", t._g(t._b({ attrs: {
|
|
61
|
+
return t._self._setupProxy, t.link ? n("a", t._g(t._b({ attrs: { href: t.link, target: t.openLinkInNewTab ? "_blank" : void 0, role: "button" } }, "a", t.filterAttrs(t.attributes, "v-on:", !1), !1), t.filterAttrs(t.attributes, "v-on:", !0)), [t._v(" " + t._s(t.text) + " ")]) : n("button", t._g(t._b({ class: t._classStringToObject(t.attributes.class + " button-2fnk003dqad"), style: t.attributes.style }, "button", t.filterAttrs(t.attributes, "v-on:", !1), !1), t.filterAttrs(t.attributes, "v-on:", !0)), [t._v(" " + t._s(t.text) + " ")]);
|
|
62
62
|
}, mt = [], ft = /* @__PURE__ */ y(
|
|
63
63
|
ut,
|
|
64
64
|
dt,
|
|
65
65
|
mt,
|
|
66
66
|
!1,
|
|
67
67
|
null,
|
|
68
|
-
"
|
|
68
|
+
"ab46b8bd",
|
|
69
69
|
null,
|
|
70
70
|
null
|
|
71
71
|
);
|
|
@@ -116,14 +116,14 @@ const ln = ft.exports, V = (e) => JSON.parse(JSON.stringify(e)), K = {
|
|
|
116
116
|
"Error while attempting to dynamically import component Blocks at ../../components/blocks/blocks.vue",
|
|
117
117
|
e
|
|
118
118
|
), e;
|
|
119
|
-
}),
|
|
119
|
+
}), bt = () => import("./inlined-styles-f35650e9.js").then((e) => e.default).catch((e) => {
|
|
120
120
|
throw console.error(
|
|
121
121
|
"Error while attempting to dynamically import component InlinedStyles at ../../components/inlined-styles.vue",
|
|
122
122
|
e
|
|
123
123
|
), e;
|
|
124
|
-
}),
|
|
124
|
+
}), _t = g({
|
|
125
125
|
name: "builder-columns",
|
|
126
|
-
components: { "inlined-styles":
|
|
126
|
+
components: { "inlined-styles": bt, blocks: ht },
|
|
127
127
|
props: [
|
|
128
128
|
"js",
|
|
129
129
|
"space",
|
|
@@ -252,12 +252,12 @@ var gt = function() {
|
|
|
252
252
|
}, context: t.builderContext, registeredComponents: t.builderComponents, blocks: o.blocks } })], 1);
|
|
253
253
|
})], 2);
|
|
254
254
|
}, yt = [], vt = /* @__PURE__ */ y(
|
|
255
|
-
|
|
255
|
+
_t,
|
|
256
256
|
gt,
|
|
257
257
|
yt,
|
|
258
258
|
!1,
|
|
259
259
|
null,
|
|
260
|
-
"
|
|
260
|
+
"bd1575ca",
|
|
261
261
|
null,
|
|
262
262
|
null
|
|
263
263
|
);
|
|
@@ -548,7 +548,7 @@ var Wt = function() {
|
|
|
548
548
|
null,
|
|
549
549
|
null
|
|
550
550
|
);
|
|
551
|
-
const
|
|
551
|
+
const bn = zt.exports, Gt = g({
|
|
552
552
|
name: "builder-video",
|
|
553
553
|
props: [
|
|
554
554
|
"autoPlay",
|
|
@@ -614,7 +614,7 @@ var Dt = function() {
|
|
|
614
614
|
null,
|
|
615
615
|
null
|
|
616
616
|
);
|
|
617
|
-
const
|
|
617
|
+
const _n = Jt.exports, Xt = Symbol(), qt = {
|
|
618
618
|
Builder: {
|
|
619
619
|
content: null,
|
|
620
620
|
context: {},
|
|
@@ -631,17 +631,17 @@ const bn = Jt.exports, Xt = Symbol(), qt = {
|
|
|
631
631
|
}, Qt = Symbol(), Yt = {
|
|
632
632
|
Components: { registeredComponents: {} },
|
|
633
633
|
key: Qt
|
|
634
|
-
}, Zt = () => import("./block-
|
|
634
|
+
}, Zt = () => import("./block-6c3981dc.js").then((e) => e.default).catch((e) => {
|
|
635
635
|
throw console.error(
|
|
636
|
-
"Error while attempting to dynamically import component
|
|
636
|
+
"Error while attempting to dynamically import component Block at ../block/block.vue",
|
|
637
637
|
e
|
|
638
638
|
), e;
|
|
639
|
-
}), te = () => import("./block-
|
|
639
|
+
}), te = () => import("./block-styles-b1b9a610.js").then((e) => e.default).catch((e) => {
|
|
640
640
|
throw console.error(
|
|
641
|
-
"Error while attempting to dynamically import component
|
|
641
|
+
"Error while attempting to dynamically import component BlockStyles at ../block/components/block-styles.vue",
|
|
642
642
|
e
|
|
643
643
|
), e;
|
|
644
|
-
}), ee = () => import("./blocks-wrapper-
|
|
644
|
+
}), ee = () => import("./blocks-wrapper-031887f0.js").then((e) => e.default).catch((e) => {
|
|
645
645
|
throw console.error(
|
|
646
646
|
"Error while attempting to dynamically import component BlocksWrapper at ./blocks-wrapper.vue",
|
|
647
647
|
e
|
|
@@ -650,8 +650,8 @@ const bn = Jt.exports, Xt = Symbol(), qt = {
|
|
|
650
650
|
name: "builder-blocks",
|
|
651
651
|
components: {
|
|
652
652
|
"blocks-wrapper": ee,
|
|
653
|
-
block:
|
|
654
|
-
"block-styles":
|
|
653
|
+
block: Zt,
|
|
654
|
+
"block-styles": te
|
|
655
655
|
},
|
|
656
656
|
props: [
|
|
657
657
|
"blocks",
|
|
@@ -686,107 +686,16 @@ var oe = function() {
|
|
|
686
686
|
const z = se.exports, ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
687
687
|
__proto__: null,
|
|
688
688
|
default: z
|
|
689
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
689
|
+
}, Symbol.toStringTag, { value: "Module" })), w = (e) => e != null;
|
|
690
690
|
function v() {
|
|
691
691
|
return typeof window < "u" && typeof document < "u";
|
|
692
692
|
}
|
|
693
|
-
const
|
|
694
|
-
...t,
|
|
695
|
-
testVariationId: t.id,
|
|
696
|
-
id: e == null ? void 0 : e.id
|
|
697
|
-
})), ae = ({
|
|
698
|
-
canTrack: e,
|
|
699
|
-
content: t
|
|
700
|
-
}) => !(!(I(t).length > 0) || !e);
|
|
701
|
-
function ce(e, t, n) {
|
|
702
|
-
var i;
|
|
703
|
-
function o() {
|
|
704
|
-
function u(m, h, b) {
|
|
705
|
-
let S = "";
|
|
706
|
-
if (b) {
|
|
707
|
-
const c = /* @__PURE__ */ new Date();
|
|
708
|
-
c.setTime(c.getTime() + b * 24 * 60 * 60 * 1e3), S = "; expires=" + c.toUTCString();
|
|
709
|
-
}
|
|
710
|
-
document.cookie = m + "=" + (h || "") + S + "; path=/; Secure; SameSite=None";
|
|
711
|
-
}
|
|
712
|
-
function a(m) {
|
|
713
|
-
const h = m + "=", b = document.cookie.split(";");
|
|
714
|
-
for (let S = 0; S < b.length; S++) {
|
|
715
|
-
let c = b[S];
|
|
716
|
-
for (; c.charAt(0) === " "; )
|
|
717
|
-
c = c.substring(1, c.length);
|
|
718
|
-
if (c.indexOf(h) === 0)
|
|
719
|
-
return c.substring(h.length, c.length);
|
|
720
|
-
}
|
|
721
|
-
return null;
|
|
722
|
-
}
|
|
723
|
-
const d = `builder.tests.${e}`, p = a(d), _ = t.map((m) => m.id).concat(e);
|
|
724
|
-
if (p && _.includes(p))
|
|
725
|
-
return p;
|
|
726
|
-
let l = 0;
|
|
727
|
-
const f = Math.random();
|
|
728
|
-
for (let m = 0; m < t.length; m++) {
|
|
729
|
-
const h = t[m], b = h.testRatio;
|
|
730
|
-
if (l += b, f < l)
|
|
731
|
-
return u(d, h.id), h.id;
|
|
732
|
-
}
|
|
733
|
-
return u(d, e), e;
|
|
734
|
-
}
|
|
735
|
-
const r = o(), s = (i = document.currentScript) == null ? void 0 : i.previousElementSibling;
|
|
736
|
-
if (n) {
|
|
737
|
-
s.remove();
|
|
738
|
-
const u = document.currentScript;
|
|
739
|
-
u == null || u.remove();
|
|
740
|
-
} else {
|
|
741
|
-
const u = t.concat({
|
|
742
|
-
id: e
|
|
743
|
-
}).filter((a) => a.id !== r).map((a) => `.variant-${a.id} { display: none; }
|
|
744
|
-
`).join("");
|
|
745
|
-
s.innerHTML = u;
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
function le(e, t, n) {
|
|
749
|
-
var a;
|
|
750
|
-
if (!navigator.cookieEnabled)
|
|
751
|
-
return;
|
|
752
|
-
function o(d) {
|
|
753
|
-
const p = d + "=", _ = document.cookie.split(";");
|
|
754
|
-
for (let l = 0; l < _.length; l++) {
|
|
755
|
-
let f = _[l];
|
|
756
|
-
for (; f.charAt(0) === " "; )
|
|
757
|
-
f = f.substring(1, f.length);
|
|
758
|
-
if (f.indexOf(p) === 0)
|
|
759
|
-
return f.substring(p.length, f.length);
|
|
760
|
-
}
|
|
761
|
-
return null;
|
|
762
|
-
}
|
|
763
|
-
const r = `builder.tests.${t}`, s = o(r), i = (a = document.currentScript) == null ? void 0 : a.parentElement, u = e === t;
|
|
764
|
-
if (s === e) {
|
|
765
|
-
if (u)
|
|
766
|
-
return;
|
|
767
|
-
i == null || i.removeAttribute("hidden"), i == null || i.removeAttribute("aria-hidden");
|
|
768
|
-
} else {
|
|
769
|
-
u && (n ? i == null || i.remove() : (i == null || i.setAttribute("hidden", "true"), i == null || i.setAttribute("aria-hidden", "true")));
|
|
770
|
-
return;
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
const ue = (e) => e === "react" || e === "reactNative", G = ue(C), D = "builderIoAbTest", H = "builderIoRenderContent", de = () => {
|
|
774
|
-
const e = ce.toString().replace(/\s+/g, " "), t = le.toString().replace(/\s+/g, " ");
|
|
775
|
-
return `
|
|
776
|
-
window.${D} = ${e}
|
|
777
|
-
window.${H} = ${t}
|
|
778
|
-
`;
|
|
779
|
-
}, me = (e, t) => `
|
|
780
|
-
window.${D}("${t}",${JSON.stringify(e)}, ${G})`, gn = ({
|
|
781
|
-
contentId: e,
|
|
782
|
-
variationId: t
|
|
783
|
-
}) => `
|
|
784
|
-
window.${H}("${t}", "${e}", ${G})`, w = (e) => e != null, A = (e) => w(e) ? e : !0, fe = (e) => {
|
|
693
|
+
const ae = (e) => {
|
|
785
694
|
if (e === "localhost" || e === "127.0.0.1")
|
|
786
695
|
return e;
|
|
787
696
|
const t = e.split(".");
|
|
788
697
|
return t.length > 2 ? t.slice(1).join(".") : e;
|
|
789
|
-
},
|
|
698
|
+
}, G = ({
|
|
790
699
|
name: e,
|
|
791
700
|
canTrack: t
|
|
792
701
|
}) => {
|
|
@@ -797,14 +706,14 @@ const ue = (e) => e === "react" || e === "reactNative", G = ue(C), D = "builderI
|
|
|
797
706
|
x.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
|
|
798
707
|
return;
|
|
799
708
|
}
|
|
800
|
-
},
|
|
709
|
+
}, D = async (e) => G(e), ce = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(w).join("; "), le = [["secure", ""], ["SameSite", "None"]], ue = ({
|
|
801
710
|
name: e,
|
|
802
711
|
value: t,
|
|
803
712
|
expires: n
|
|
804
713
|
}) => {
|
|
805
|
-
const r = (v() ? location.protocol === "https:" : !0) ?
|
|
806
|
-
return
|
|
807
|
-
},
|
|
714
|
+
const r = (v() ? location.protocol === "https:" : !0) ? le : [[]], s = n ? [["expires", n.toUTCString()]] : [[]], i = [[e, t], ...s, ["path", "/"], ["domain", ae(window.location.hostname)], ...r];
|
|
715
|
+
return ce(i);
|
|
716
|
+
}, H = async ({
|
|
808
717
|
name: e,
|
|
809
718
|
value: t,
|
|
810
719
|
expires: n,
|
|
@@ -813,7 +722,7 @@ const ue = (e) => e === "react" || e === "reactNative", G = ue(C), D = "builderI
|
|
|
813
722
|
try {
|
|
814
723
|
if (!o)
|
|
815
724
|
return;
|
|
816
|
-
const r =
|
|
725
|
+
const r = ue({
|
|
817
726
|
name: e,
|
|
818
727
|
value: t,
|
|
819
728
|
expires: n
|
|
@@ -822,24 +731,24 @@ const ue = (e) => e === "react" || e === "reactNative", G = ue(C), D = "builderI
|
|
|
822
731
|
} catch (r) {
|
|
823
732
|
x.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
|
|
824
733
|
}
|
|
825
|
-
},
|
|
734
|
+
}, de = "builder.tests", E = (e) => `${de}.${e}`, me = ({
|
|
826
735
|
contentId: e
|
|
827
|
-
}) =>
|
|
736
|
+
}) => D({
|
|
828
737
|
name: E(e),
|
|
829
738
|
canTrack: !0
|
|
830
|
-
}),
|
|
739
|
+
}), fe = ({
|
|
831
740
|
contentId: e
|
|
832
|
-
}) =>
|
|
741
|
+
}) => G({
|
|
833
742
|
name: E(e),
|
|
834
743
|
canTrack: !0
|
|
835
|
-
}),
|
|
744
|
+
}), pe = ({
|
|
836
745
|
contentId: e,
|
|
837
746
|
value: t
|
|
838
|
-
}) =>
|
|
747
|
+
}) => H({
|
|
839
748
|
name: E(e),
|
|
840
749
|
value: t,
|
|
841
750
|
canTrack: !0
|
|
842
|
-
}),
|
|
751
|
+
}), J = (e) => w(e.id) && w(e.variations) && Object.keys(e.variations).length > 0, he = ({
|
|
843
752
|
id: e,
|
|
844
753
|
variations: t
|
|
845
754
|
}) => {
|
|
@@ -852,15 +761,15 @@ const ue = (e) => e === "react" || e === "reactNative", G = ue(C), D = "builderI
|
|
|
852
761
|
return s;
|
|
853
762
|
}
|
|
854
763
|
return e;
|
|
855
|
-
},
|
|
856
|
-
const t =
|
|
857
|
-
return
|
|
764
|
+
}, X = (e) => {
|
|
765
|
+
const t = he(e);
|
|
766
|
+
return pe({
|
|
858
767
|
contentId: e.id,
|
|
859
768
|
value: t
|
|
860
769
|
}).catch((n) => {
|
|
861
770
|
x.error("could not store A/B test variation: ", n);
|
|
862
771
|
}), t;
|
|
863
|
-
},
|
|
772
|
+
}, q = ({
|
|
864
773
|
item: e,
|
|
865
774
|
testGroupId: t
|
|
866
775
|
}) => {
|
|
@@ -874,7 +783,7 @@ const ue = (e) => e === "react" || e === "reactNative", G = ue(C), D = "builderI
|
|
|
874
783
|
testVariationId: n.id,
|
|
875
784
|
testVariationName: n.name || (n.id === e.id ? "Default" : "")
|
|
876
785
|
};
|
|
877
|
-
},
|
|
786
|
+
}, be = ({
|
|
878
787
|
item: e,
|
|
879
788
|
canTrack: t
|
|
880
789
|
}) => {
|
|
@@ -882,14 +791,14 @@ const ue = (e) => e === "react" || e === "reactNative", G = ue(C), D = "builderI
|
|
|
882
791
|
return e;
|
|
883
792
|
if (!e)
|
|
884
793
|
return;
|
|
885
|
-
if (!
|
|
794
|
+
if (!J(e))
|
|
886
795
|
return e;
|
|
887
|
-
const n =
|
|
796
|
+
const n = fe({
|
|
888
797
|
contentId: e.id
|
|
889
|
-
}) ||
|
|
798
|
+
}) || X({
|
|
890
799
|
variations: e.variations,
|
|
891
800
|
id: e.id
|
|
892
|
-
}), o =
|
|
801
|
+
}), o = q({
|
|
893
802
|
item: e,
|
|
894
803
|
testGroupId: n
|
|
895
804
|
});
|
|
@@ -897,18 +806,18 @@ const ue = (e) => e === "react" || e === "reactNative", G = ue(C), D = "builderI
|
|
|
897
806
|
...e,
|
|
898
807
|
...o
|
|
899
808
|
};
|
|
900
|
-
},
|
|
809
|
+
}, _e = async ({
|
|
901
810
|
item: e,
|
|
902
811
|
canTrack: t
|
|
903
812
|
}) => {
|
|
904
|
-
if (!t || !
|
|
813
|
+
if (!t || !J(e))
|
|
905
814
|
return e;
|
|
906
|
-
const o = await
|
|
815
|
+
const o = await me({
|
|
907
816
|
contentId: e.id
|
|
908
|
-
}) ||
|
|
817
|
+
}) || X({
|
|
909
818
|
variations: e.variations,
|
|
910
819
|
id: e.id
|
|
911
|
-
}), r =
|
|
820
|
+
}), r = q({
|
|
912
821
|
item: e,
|
|
913
822
|
testGroupId: o
|
|
914
823
|
});
|
|
@@ -916,26 +825,117 @@ const ue = (e) => e === "react" || e === "reactNative", G = ue(C), D = "builderI
|
|
|
916
825
|
...e,
|
|
917
826
|
...r
|
|
918
827
|
};
|
|
919
|
-
},
|
|
828
|
+
}, A = (e) => w(e) ? e : !0, I = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
829
|
+
...t,
|
|
830
|
+
testVariationId: t.id,
|
|
831
|
+
id: e == null ? void 0 : e.id
|
|
832
|
+
})), ge = ({
|
|
833
|
+
canTrack: e,
|
|
834
|
+
content: t
|
|
835
|
+
}) => !(!(I(t).length > 0) || !e);
|
|
836
|
+
function ye(e, t, n) {
|
|
837
|
+
var i;
|
|
838
|
+
function o() {
|
|
839
|
+
function u(m, h, _) {
|
|
840
|
+
let S = "";
|
|
841
|
+
if (_) {
|
|
842
|
+
const c = /* @__PURE__ */ new Date();
|
|
843
|
+
c.setTime(c.getTime() + _ * 24 * 60 * 60 * 1e3), S = "; expires=" + c.toUTCString();
|
|
844
|
+
}
|
|
845
|
+
document.cookie = m + "=" + (h || "") + S + "; path=/; Secure; SameSite=None";
|
|
846
|
+
}
|
|
847
|
+
function a(m) {
|
|
848
|
+
const h = m + "=", _ = document.cookie.split(";");
|
|
849
|
+
for (let S = 0; S < _.length; S++) {
|
|
850
|
+
let c = _[S];
|
|
851
|
+
for (; c.charAt(0) === " "; )
|
|
852
|
+
c = c.substring(1, c.length);
|
|
853
|
+
if (c.indexOf(h) === 0)
|
|
854
|
+
return c.substring(h.length, c.length);
|
|
855
|
+
}
|
|
856
|
+
return null;
|
|
857
|
+
}
|
|
858
|
+
const d = `builder.tests.${e}`, p = a(d), b = t.map((m) => m.id).concat(e);
|
|
859
|
+
if (p && b.includes(p))
|
|
860
|
+
return p;
|
|
861
|
+
let l = 0;
|
|
862
|
+
const f = Math.random();
|
|
863
|
+
for (let m = 0; m < t.length; m++) {
|
|
864
|
+
const h = t[m], _ = h.testRatio;
|
|
865
|
+
if (l += _, f < l)
|
|
866
|
+
return u(d, h.id), h.id;
|
|
867
|
+
}
|
|
868
|
+
return u(d, e), e;
|
|
869
|
+
}
|
|
870
|
+
const r = o(), s = (i = document.currentScript) == null ? void 0 : i.previousElementSibling;
|
|
871
|
+
if (n) {
|
|
872
|
+
s.remove();
|
|
873
|
+
const u = document.currentScript;
|
|
874
|
+
u == null || u.remove();
|
|
875
|
+
} else {
|
|
876
|
+
const u = t.concat({
|
|
877
|
+
id: e
|
|
878
|
+
}).filter((a) => a.id !== r).map((a) => `.variant-${a.id} { display: none; }
|
|
879
|
+
`).join("");
|
|
880
|
+
s.innerHTML = u;
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
function ve(e, t, n) {
|
|
884
|
+
var a;
|
|
885
|
+
if (!navigator.cookieEnabled)
|
|
886
|
+
return;
|
|
887
|
+
function o(d) {
|
|
888
|
+
const p = d + "=", b = document.cookie.split(";");
|
|
889
|
+
for (let l = 0; l < b.length; l++) {
|
|
890
|
+
let f = b[l];
|
|
891
|
+
for (; f.charAt(0) === " "; )
|
|
892
|
+
f = f.substring(1, f.length);
|
|
893
|
+
if (f.indexOf(p) === 0)
|
|
894
|
+
return f.substring(p.length, f.length);
|
|
895
|
+
}
|
|
896
|
+
return null;
|
|
897
|
+
}
|
|
898
|
+
const r = `builder.tests.${t}`, s = o(r), i = (a = document.currentScript) == null ? void 0 : a.parentElement, u = e === t;
|
|
899
|
+
if (s === e) {
|
|
900
|
+
if (u)
|
|
901
|
+
return;
|
|
902
|
+
i == null || i.removeAttribute("hidden"), i == null || i.removeAttribute("aria-hidden");
|
|
903
|
+
} else {
|
|
904
|
+
u && (n ? i == null || i.remove() : (i == null || i.setAttribute("hidden", "true"), i == null || i.setAttribute("aria-hidden", "true")));
|
|
905
|
+
return;
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
const Se = (e) => e === "react" || e === "reactNative", Q = Se(C), Y = "builderIoAbTest", Z = "builderIoRenderContent", ke = () => {
|
|
909
|
+
const e = ye.toString().replace(/\s+/g, " "), t = ve.toString().replace(/\s+/g, " ");
|
|
910
|
+
return `
|
|
911
|
+
window.${Y} = ${e}
|
|
912
|
+
window.${Z} = ${t}
|
|
913
|
+
`;
|
|
914
|
+
}, xe = (e, t) => `
|
|
915
|
+
window.${Y}("${t}",${JSON.stringify(e)}, ${Q})`, gn = ({
|
|
916
|
+
contentId: e,
|
|
917
|
+
variationId: t
|
|
918
|
+
}) => `
|
|
919
|
+
window.${Z}("${t}", "${e}", ${Q})`, we = () => import("./content-f80acd05.js").then((e) => e.default).catch((e) => {
|
|
920
920
|
throw console.error(
|
|
921
921
|
"Error while attempting to dynamically import component ContentComponent at ../content/content.vue",
|
|
922
922
|
e
|
|
923
923
|
), e;
|
|
924
|
-
}), Ce = () => import("./inlined-
|
|
924
|
+
}), Ce = () => import("./inlined-script-da97caa2.js").then((e) => e.default).catch((e) => {
|
|
925
925
|
throw console.error(
|
|
926
|
-
"Error while attempting to dynamically import component
|
|
926
|
+
"Error while attempting to dynamically import component InlinedScript at ../inlined-script.vue",
|
|
927
927
|
e
|
|
928
928
|
), e;
|
|
929
|
-
}), $e = () => import("./inlined-
|
|
929
|
+
}), $e = () => import("./inlined-styles-f35650e9.js").then((e) => e.default).catch((e) => {
|
|
930
930
|
throw console.error(
|
|
931
|
-
"Error while attempting to dynamically import component
|
|
931
|
+
"Error while attempting to dynamically import component InlinedStyles at ../inlined-styles.vue",
|
|
932
932
|
e
|
|
933
933
|
), e;
|
|
934
934
|
}), Te = g({
|
|
935
935
|
name: "content-variants",
|
|
936
936
|
components: {
|
|
937
|
-
"inlined-script":
|
|
938
|
-
"inlined-styles":
|
|
937
|
+
"inlined-script": Ce,
|
|
938
|
+
"inlined-styles": $e,
|
|
939
939
|
"content-component": we
|
|
940
940
|
},
|
|
941
941
|
props: [
|
|
@@ -954,13 +954,13 @@ const ue = (e) => e === "react" || e === "reactNative", G = ue(C), D = "builderI
|
|
|
954
954
|
],
|
|
955
955
|
data() {
|
|
956
956
|
return {
|
|
957
|
-
shouldRenderVariants:
|
|
957
|
+
shouldRenderVariants: ge({
|
|
958
958
|
canTrack: A(this.canTrack),
|
|
959
959
|
content: this.content
|
|
960
960
|
}),
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
961
|
+
TARGET: C,
|
|
962
|
+
getScriptString: ke,
|
|
963
|
+
getVariants: I
|
|
964
964
|
};
|
|
965
965
|
},
|
|
966
966
|
mounted() {
|
|
@@ -969,7 +969,7 @@ const ue = (e) => e === "react" || e === "reactNative", G = ue(C), D = "builderI
|
|
|
969
969
|
computed: {
|
|
970
970
|
variantScriptStr() {
|
|
971
971
|
var e;
|
|
972
|
-
return
|
|
972
|
+
return xe(
|
|
973
973
|
I(this.content).map((t) => ({
|
|
974
974
|
id: t.testVariationId,
|
|
975
975
|
testRatio: t.testRatio
|
|
@@ -985,7 +985,7 @@ const ue = (e) => e === "react" || e === "reactNative", G = ue(C), D = "builderI
|
|
|
985
985
|
return this.shouldRenderVariants ? {
|
|
986
986
|
...this.content,
|
|
987
987
|
testVariationId: (e = this.content) == null ? void 0 : e.id
|
|
988
|
-
} :
|
|
988
|
+
} : be({
|
|
989
989
|
item: this.content,
|
|
990
990
|
canTrack: A(this.canTrack)
|
|
991
991
|
});
|
|
@@ -1090,7 +1090,7 @@ function R(e, t = null, n = ".") {
|
|
|
1090
1090
|
};
|
|
1091
1091
|
}, {});
|
|
1092
1092
|
}
|
|
1093
|
-
const L = "builder.",
|
|
1093
|
+
const Ue = "v3", L = "builder.", Me = "options.", Le = (e) => {
|
|
1094
1094
|
const t = {};
|
|
1095
1095
|
return e.forEach((n, o) => {
|
|
1096
1096
|
t[o] = n;
|
|
@@ -1101,16 +1101,16 @@ const L = "builder.", Ue = "options.", Me = (e) => {
|
|
|
1101
1101
|
const t = ot(e), n = {};
|
|
1102
1102
|
return Object.keys(t).forEach((o) => {
|
|
1103
1103
|
if (o.startsWith(L)) {
|
|
1104
|
-
const r = o.replace(L, "").replace(
|
|
1104
|
+
const r = o.replace(L, "").replace(Me, "");
|
|
1105
1105
|
n[r] = t[o];
|
|
1106
1106
|
}
|
|
1107
1107
|
}), n;
|
|
1108
|
-
},
|
|
1108
|
+
}, We = () => {
|
|
1109
1109
|
if (!v())
|
|
1110
1110
|
return {};
|
|
1111
1111
|
const e = new URLSearchParams(window.location.search);
|
|
1112
1112
|
return nt(e);
|
|
1113
|
-
}, ot = (e) => e instanceof URLSearchParams ?
|
|
1113
|
+
}, ot = (e) => e instanceof URLSearchParams ? Le(e) : e, W = (e) => typeof e == "number" && !isNaN(e) && e >= 0, N = (e) => {
|
|
1114
1114
|
let {
|
|
1115
1115
|
noTraverse: t = !1
|
|
1116
1116
|
} = e;
|
|
@@ -1123,13 +1123,13 @@ const L = "builder.", Ue = "options.", Me = (e) => {
|
|
|
1123
1123
|
includeRefs: u = !0,
|
|
1124
1124
|
enrich: a,
|
|
1125
1125
|
locale: d,
|
|
1126
|
-
apiVersion: p =
|
|
1127
|
-
fields:
|
|
1126
|
+
apiVersion: p = Ue,
|
|
1127
|
+
fields: b,
|
|
1128
1128
|
omit: l,
|
|
1129
1129
|
offset: f,
|
|
1130
1130
|
cacheSeconds: m,
|
|
1131
1131
|
staleCacheSeconds: h,
|
|
1132
|
-
sort:
|
|
1132
|
+
sort: _,
|
|
1133
1133
|
includeUnpublished: S
|
|
1134
1134
|
} = e;
|
|
1135
1135
|
if (!i)
|
|
@@ -1138,15 +1138,15 @@ const L = "builder.", Ue = "options.", Me = (e) => {
|
|
|
1138
1138
|
throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${p}'`);
|
|
1139
1139
|
(e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
|
|
1140
1140
|
const c = new URL(`https://cdn.builder.io/api/${p}/content/${s}?apiKey=${i}&limit=${n}&noTraverse=${t}&includeRefs=${u}${d ? `&locale=${d}` : ""}${a ? `&enrich=${a}` : ""}`);
|
|
1141
|
-
if (c.searchParams.set("omit", l || "meta.componentsUsed"),
|
|
1141
|
+
if (c.searchParams.set("omit", l || "meta.componentsUsed"), b && c.searchParams.set("fields", b), Number.isFinite(f) && f > -1 && c.searchParams.set("offset", String(Math.floor(f))), typeof S == "boolean" && c.searchParams.set("includeUnpublished", String(S)), m && W(m) && c.searchParams.set("cacheSeconds", String(m)), h && W(h) && c.searchParams.set("staleCacheSeconds", String(h)), _) {
|
|
1142
1142
|
const k = R({
|
|
1143
|
-
sort:
|
|
1143
|
+
sort: _
|
|
1144
1144
|
});
|
|
1145
1145
|
for (const $ in k)
|
|
1146
1146
|
c.searchParams.set($, JSON.stringify(k[$]));
|
|
1147
1147
|
}
|
|
1148
1148
|
const lt = {
|
|
1149
|
-
...
|
|
1149
|
+
...We(),
|
|
1150
1150
|
...ot(e.options || {})
|
|
1151
1151
|
}, j = R(lt);
|
|
1152
1152
|
for (const k in j)
|
|
@@ -1177,7 +1177,7 @@ const $n = B, ze = async (e) => {
|
|
|
1177
1177
|
try {
|
|
1178
1178
|
const r = [];
|
|
1179
1179
|
for (const s of t.results)
|
|
1180
|
-
r.push(await
|
|
1180
|
+
r.push(await _e({
|
|
1181
1181
|
item: s,
|
|
1182
1182
|
canTrack: o
|
|
1183
1183
|
}));
|
|
@@ -1214,7 +1214,7 @@ const it = "builderSessionId", He = async ({
|
|
|
1214
1214
|
}) => {
|
|
1215
1215
|
if (!e)
|
|
1216
1216
|
return;
|
|
1217
|
-
const t = await
|
|
1217
|
+
const t = await D({
|
|
1218
1218
|
name: it,
|
|
1219
1219
|
canTrack: e
|
|
1220
1220
|
});
|
|
@@ -1230,7 +1230,7 @@ const it = "builderSessionId", He = async ({
|
|
|
1230
1230
|
}, Je = () => st(), Xe = ({
|
|
1231
1231
|
id: e,
|
|
1232
1232
|
canTrack: t
|
|
1233
|
-
}) =>
|
|
1233
|
+
}) => H({
|
|
1234
1234
|
name: it,
|
|
1235
1235
|
value: e,
|
|
1236
1236
|
canTrack: t
|
|
@@ -1397,11 +1397,11 @@ export {
|
|
|
1397
1397
|
Cn as A,
|
|
1398
1398
|
ln as B,
|
|
1399
1399
|
dn as C,
|
|
1400
|
-
|
|
1401
|
-
|
|
1400
|
+
Ge as D,
|
|
1401
|
+
rt as E,
|
|
1402
1402
|
mn as F,
|
|
1403
|
-
|
|
1404
|
-
|
|
1403
|
+
Tn as G,
|
|
1404
|
+
$n as H,
|
|
1405
1405
|
fn as I,
|
|
1406
1406
|
nt as J,
|
|
1407
1407
|
In as K,
|
|
@@ -1410,13 +1410,13 @@ export {
|
|
|
1410
1410
|
yn as R,
|
|
1411
1411
|
pn as S,
|
|
1412
1412
|
C as T,
|
|
1413
|
-
|
|
1413
|
+
_n as V,
|
|
1414
1414
|
an as _,
|
|
1415
1415
|
un as a,
|
|
1416
1416
|
O as b,
|
|
1417
1417
|
w as c,
|
|
1418
1418
|
hn as d,
|
|
1419
|
-
|
|
1419
|
+
bn as e,
|
|
1420
1420
|
V as f,
|
|
1421
1421
|
pt as g,
|
|
1422
1422
|
gn as h,
|