@builder.io/sdk-vue 0.7.3 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/package.json +1 -1
  2. package/vue2/lib/{edge/block-b774a93c.js → browser/block-b8bfcb77.js} +11 -9
  3. package/vue2/lib/browser/block-f18eeef5.cjs +3 -0
  4. package/vue2/lib/{node/block-styles-eba3ea7b.js → browser/block-styles-33adc3cd.js} +5 -5
  5. package/vue2/lib/{edge/block-styles-c8c8b8d3.cjs → browser/block-styles-e0d81772.cjs} +1 -1
  6. package/vue2/lib/browser/{block-wrapper-dd6ba030.cjs → block-wrapper-41011f58.cjs} +1 -1
  7. package/vue2/lib/browser/{block-wrapper-6e7d432c.js → block-wrapper-950d3006.js} +5 -5
  8. package/vue2/lib/browser/blocks/video/video.vue.d.ts +24 -2
  9. package/vue2/lib/{edge/blocks-wrapper-a3348911.cjs → browser/blocks-wrapper-77802ec6.cjs} +1 -1
  10. package/vue2/lib/{edge/blocks-wrapper-1d254421.js → browser/blocks-wrapper-a522cccb.js} +1 -1
  11. package/vue2/lib/{edge/component-ref-b47a7cb7.js → browser/component-ref-2413b882.js} +6 -6
  12. package/vue2/lib/{edge/component-ref-0621d5d9.cjs → browser/component-ref-f0dd90c7.cjs} +1 -1
  13. package/vue2/lib/browser/components/content/content.helpers.d.ts +1 -1
  14. package/vue2/lib/browser/components/content/content.types.d.ts +0 -4
  15. package/vue2/lib/browser/components/content/content.vue.d.ts +1 -1
  16. package/vue2/lib/browser/components/content-variants/content-variants.vue.d.ts +1 -1
  17. package/vue2/lib/browser/components/content-variants/helpers.d.ts +3 -3
  18. package/vue2/lib/browser/components/content-variants/inlined-fns.d.ts +14 -0
  19. package/vue2/lib/browser/constants/sdk-version.d.ts +1 -1
  20. package/vue2/lib/browser/{content-30d3c506.js → content-43a1dc9c.js} +32 -38
  21. package/vue2/lib/{node/content-88b32cda.cjs → browser/content-45906cc9.cjs} +1 -1
  22. package/vue2/lib/browser/{css-95da9602.js → css-42aa7f84.js} +1 -1
  23. package/vue2/lib/{node/css-efdd92ad.cjs → browser/css-605fcc40.cjs} +1 -1
  24. package/vue2/lib/browser/{enable-editor-89367603.js → enable-editor-bba63d74.js} +15 -16
  25. package/vue2/lib/browser/enable-editor-f0119e65.cjs +1 -0
  26. package/vue2/lib/browser/{evaluate-7de8534a.cjs → evaluate-0e925150.cjs} +1 -1
  27. package/vue2/lib/browser/{evaluate-53f7e690.js → evaluate-9a88b50c.js} +1 -1
  28. package/vue2/lib/{node/get-block-actions-becefe5e.js → browser/get-block-actions-abefbd5a.js} +2 -2
  29. package/vue2/lib/browser/{get-block-actions-cd507d3e.cjs → get-block-actions-f45b7d64.cjs} +1 -1
  30. package/vue2/lib/browser/{get-block-properties-af19618f.js → get-block-properties-6bf3a9f6.js} +2 -2
  31. package/vue2/lib/{node/get-block-properties-5bf39e63.cjs → browser/get-block-properties-deacdc91.cjs} +1 -1
  32. package/vue2/lib/browser/{get-processed-block-9288ea54.js → get-processed-block-2f7badd8.js} +2 -2
  33. package/vue2/lib/browser/{get-processed-block-91e4a6e7.cjs → get-processed-block-44868ee6.cjs} +1 -1
  34. package/vue2/lib/{node/index-c57f5973.js → browser/index-6ce45901.js} +390 -345
  35. package/vue2/lib/browser/index-bf80435b.cjs +124 -0
  36. package/vue2/lib/browser/index-helpers/blocks-exports.d.ts +1 -1
  37. package/vue2/lib/browser/index.cjs +1 -1
  38. package/vue2/lib/browser/index.js +1 -1
  39. package/vue2/lib/browser/inlined-script-567369fc.cjs +1 -0
  40. package/vue2/lib/{edge/inlined-script-fc1632d4.js → browser/inlined-script-c0cae21b.js} +2 -2
  41. package/vue2/lib/{node/inlined-styles-42260024.cjs → browser/inlined-styles-420ee28e.cjs} +1 -1
  42. package/vue2/lib/{node/inlined-styles-240de5b4.js → browser/inlined-styles-a5789a45.js} +1 -1
  43. package/vue2/lib/{node/interactive-element-1350568d.cjs → browser/interactive-element-3a8e1819.cjs} +1 -1
  44. package/vue2/lib/{node/interactive-element-b4e340c4.js → browser/interactive-element-be7c3cca.js} +5 -5
  45. package/vue2/lib/browser/{repeated-block-97182eb4.cjs → repeated-block-cda24fc1.cjs} +1 -1
  46. package/vue2/lib/{node/repeated-block-6878e061.js → browser/repeated-block-d2924830.js} +2 -2
  47. package/vue2/lib/{node/styles-5dab5d20.cjs → browser/styles-4394cb3b.cjs} +2 -2
  48. package/vue2/lib/{node/styles-10277cc4.js → browser/styles-761dab39.js} +2 -2
  49. package/vue2/lib/{browser/block-bbdd4bbb.js → edge/block-6b69b000.js} +11 -9
  50. package/vue2/lib/edge/block-ca6608fc.cjs +3 -0
  51. package/vue2/lib/edge/{block-styles-20474584.js → block-styles-4cc9f141.js} +5 -5
  52. package/vue2/lib/{node/block-styles-adf14a80.cjs → edge/block-styles-7b5f3a8f.cjs} +1 -1
  53. package/vue2/lib/{node/block-wrapper-54248068.js → edge/block-wrapper-2b945a1b.js} +5 -5
  54. package/vue2/lib/edge/{block-wrapper-c985a6b3.cjs → block-wrapper-47a17093.cjs} +1 -1
  55. package/vue2/lib/edge/blocks/video/video.vue.d.ts +24 -2
  56. package/vue2/lib/{browser/blocks-wrapper-a3b425e3.js → edge/blocks-wrapper-70a091a6.js} +1 -1
  57. package/vue2/lib/{browser/blocks-wrapper-d3c9afbc.cjs → edge/blocks-wrapper-7339087f.cjs} +1 -1
  58. package/vue2/lib/{node/component-ref-c8e396f3.js → edge/component-ref-560915c3.js} +6 -6
  59. package/vue2/lib/{node/component-ref-33c4e95f.cjs → edge/component-ref-d30e784b.cjs} +1 -1
  60. package/vue2/lib/edge/components/content/content.helpers.d.ts +1 -1
  61. package/vue2/lib/edge/components/content/content.types.d.ts +0 -4
  62. package/vue2/lib/edge/components/content/content.vue.d.ts +1 -1
  63. package/vue2/lib/edge/components/content-variants/content-variants.vue.d.ts +1 -1
  64. package/vue2/lib/edge/components/content-variants/helpers.d.ts +3 -3
  65. package/vue2/lib/edge/components/content-variants/inlined-fns.d.ts +14 -0
  66. package/vue2/lib/edge/constants/sdk-version.d.ts +1 -1
  67. package/vue2/lib/edge/{content-805edb5d.js → content-57bc4f42.js} +32 -38
  68. package/vue2/lib/{browser/content-484c1d94.cjs → edge/content-b151215b.cjs} +1 -1
  69. package/vue2/lib/{browser/css-a80a98f6.cjs → edge/css-212b6f26.cjs} +1 -1
  70. package/vue2/lib/edge/{css-9f79d13d.js → css-e71756bc.js} +1 -1
  71. package/vue2/lib/edge/enable-editor-7cda726f.cjs +1 -0
  72. package/vue2/lib/{node/enable-editor-e908239e.js → edge/enable-editor-f32de0ee.js} +15 -16
  73. package/vue2/lib/edge/{evaluate-b67dfd22.js → evaluate-7ef8d079.js} +1 -1
  74. package/vue2/lib/edge/{evaluate-d3b0ca3a.cjs → evaluate-ae242f0c.cjs} +1 -1
  75. package/vue2/lib/{browser/get-block-actions-b68490d6.js → edge/get-block-actions-16aad06a.js} +2 -2
  76. package/vue2/lib/edge/{get-block-actions-96e37194.cjs → get-block-actions-7ecb51a0.cjs} +1 -1
  77. package/vue2/lib/edge/{get-block-properties-778edb4c.js → get-block-properties-29a2d888.js} +2 -2
  78. package/vue2/lib/{browser/get-block-properties-286be966.cjs → edge/get-block-properties-8ea816eb.cjs} +1 -1
  79. package/vue2/lib/edge/{get-processed-block-602a1b01.cjs → get-processed-block-c2f59c36.cjs} +1 -1
  80. package/vue2/lib/{node/get-processed-block-81f805a3.js → edge/get-processed-block-ceeee74c.js} +2 -2
  81. package/vue2/lib/{browser/index-415058f0.js → edge/index-13a478c9.js} +390 -345
  82. package/vue2/lib/edge/index-17aded8e.cjs +124 -0
  83. package/vue2/lib/edge/index-helpers/blocks-exports.d.ts +1 -1
  84. package/vue2/lib/edge/index.cjs +1 -1
  85. package/vue2/lib/edge/index.js +1 -1
  86. package/vue2/lib/{node/inlined-script-dcb17d43.js → edge/inlined-script-46088a59.js} +2 -2
  87. package/vue2/lib/edge/inlined-script-c18f4bac.cjs +1 -0
  88. package/vue2/lib/{browser/inlined-styles-07758945.cjs → edge/inlined-styles-036d1968.cjs} +1 -1
  89. package/vue2/lib/edge/{inlined-styles-d20349d7.js → inlined-styles-7ddf1959.js} +1 -1
  90. package/vue2/lib/{browser/interactive-element-a3d3be9d.cjs → edge/interactive-element-473210e5.cjs} +1 -1
  91. package/vue2/lib/edge/{interactive-element-b4849ceb.js → interactive-element-50db3a7e.js} +5 -5
  92. package/vue2/lib/edge/{repeated-block-5aaeef66.cjs → repeated-block-2d730ce8.cjs} +1 -1
  93. package/vue2/lib/{browser/repeated-block-9791978c.js → edge/repeated-block-ae7fe7ad.js} +2 -2
  94. package/vue2/lib/{browser/styles-154aef3f.cjs → edge/styles-229bdcb6.cjs} +2 -2
  95. package/vue2/lib/{browser/styles-051d498f.js → edge/styles-514a7860.js} +2 -2
  96. package/vue2/lib/node/block-67819011.cjs +3 -0
  97. package/vue2/lib/node/{block-78ba2a3e.js → block-fe2e5888.js} +11 -9
  98. package/vue2/lib/{browser/block-styles-29b829dd.js → node/block-styles-6dd31eb8.js} +5 -5
  99. package/vue2/lib/{browser/block-styles-9328fb7d.cjs → node/block-styles-b28a2e1f.cjs} +1 -1
  100. package/vue2/lib/node/{block-wrapper-27fb6132.cjs → block-wrapper-403d207d.cjs} +1 -1
  101. package/vue2/lib/{edge/block-wrapper-32af7936.js → node/block-wrapper-c1574900.js} +5 -5
  102. package/vue2/lib/node/blocks/video/video.vue.d.ts +24 -2
  103. package/vue2/lib/node/{blocks-wrapper-e1d963b3.cjs → blocks-wrapper-0de6d65d.cjs} +1 -1
  104. package/vue2/lib/node/{blocks-wrapper-b59829bd.js → blocks-wrapper-ca5a81fb.js} +1 -1
  105. package/vue2/lib/{browser/component-ref-0589d5a6.cjs → node/component-ref-5c513a84.cjs} +1 -1
  106. package/vue2/lib/{browser/component-ref-b2801b9d.js → node/component-ref-efab49f4.js} +6 -6
  107. package/vue2/lib/node/components/content/content.helpers.d.ts +1 -1
  108. package/vue2/lib/node/components/content/content.types.d.ts +0 -4
  109. package/vue2/lib/node/components/content/content.vue.d.ts +1 -1
  110. package/vue2/lib/node/components/content-variants/content-variants.vue.d.ts +1 -1
  111. package/vue2/lib/node/components/content-variants/helpers.d.ts +3 -3
  112. package/vue2/lib/node/components/content-variants/inlined-fns.d.ts +14 -0
  113. package/vue2/lib/node/constants/sdk-version.d.ts +1 -1
  114. package/vue2/lib/node/{content-ab7f569f.js → content-55436eac.js} +32 -38
  115. package/vue2/lib/{edge/content-f7a25139.cjs → node/content-a5b1f8b2.cjs} +1 -1
  116. package/vue2/lib/node/{css-e106e812.js → css-a05e89b2.js} +1 -1
  117. package/vue2/lib/{edge/css-15966f53.cjs → node/css-a083942f.cjs} +1 -1
  118. package/vue2/lib/{edge/enable-editor-74dc919f.js → node/enable-editor-b1a0289d.js} +15 -16
  119. package/vue2/lib/node/enable-editor-f903aba9.cjs +1 -0
  120. package/vue2/lib/node/{evaluate-8ce74ed7.js → evaluate-524b960e.js} +1 -1
  121. package/vue2/lib/node/{evaluate-578e7319.cjs → evaluate-654ec4aa.cjs} +1 -1
  122. package/vue2/lib/node/{get-block-actions-e89270ee.cjs → get-block-actions-1fed2d11.cjs} +1 -1
  123. package/vue2/lib/{edge/get-block-actions-c94a37cf.js → node/get-block-actions-f7890b23.js} +2 -2
  124. package/vue2/lib/node/{get-block-properties-69b8d069.js → get-block-properties-12b28e9b.js} +2 -2
  125. package/vue2/lib/{edge/get-block-properties-f5fa3731.cjs → node/get-block-properties-f2ba3458.cjs} +1 -1
  126. package/vue2/lib/node/{get-processed-block-97df756c.cjs → get-processed-block-19c83033.cjs} +1 -1
  127. package/vue2/lib/{edge/get-processed-block-54bff0fc.js → node/get-processed-block-7aabe9a2.js} +2 -2
  128. package/vue2/lib/node/index-acebd2be.cjs +124 -0
  129. package/vue2/lib/{edge/index-77e26970.js → node/index-f0eb3cdd.js} +390 -345
  130. package/vue2/lib/node/index-helpers/blocks-exports.d.ts +1 -1
  131. package/vue2/lib/node/index.cjs +1 -1
  132. package/vue2/lib/node/index.js +1 -1
  133. package/vue2/lib/{browser/inlined-script-1c7edb12.js → node/inlined-script-87aaded8.js} +2 -2
  134. package/vue2/lib/node/inlined-script-cf7aba95.cjs +1 -0
  135. package/vue2/lib/{browser/inlined-styles-68e291c0.js → node/inlined-styles-6405713e.js} +1 -1
  136. package/vue2/lib/{edge/inlined-styles-caad3a42.cjs → node/inlined-styles-c8d067f7.cjs} +1 -1
  137. package/vue2/lib/{edge/interactive-element-9eab9ce1.cjs → node/interactive-element-552d9c1d.cjs} +1 -1
  138. package/vue2/lib/{browser/interactive-element-79a97fd6.js → node/interactive-element-891aeec9.js} +5 -5
  139. package/vue2/lib/node/{repeated-block-27a3e1d3.cjs → repeated-block-07c3fd09.cjs} +1 -1
  140. package/vue2/lib/{edge/repeated-block-d8050ade.js → node/repeated-block-e394bfe9.js} +2 -2
  141. package/vue2/lib/{edge/styles-0a856ca5.cjs → node/styles-58b07f41.cjs} +2 -2
  142. package/vue2/lib/{edge/styles-e5a274a0.js → node/styles-bd4da0bf.js} +2 -2
  143. package/vue2/package.json +7 -1
  144. package/vue3/lib/{edge/block-wrapper.1f927343.js → browser/block-wrapper.1f981181.js} +2 -2
  145. package/vue3/lib/browser/{block-wrapper.d6e60490.cjs → block-wrapper.a606ebe4.cjs} +1 -1
  146. package/vue3/lib/browser/blocks/video/video.vue.d.ts +23 -1
  147. package/vue3/lib/{edge/component-ref.f2ae1ebb.js → browser/component-ref.c8d76b1a.js} +2 -2
  148. package/vue3/lib/{edge/component-ref.534af9c2.cjs → browser/component-ref.dab1249c.cjs} +1 -1
  149. package/vue3/lib/browser/components/content/components/enable-editor.vue.d.ts +0 -3
  150. package/vue3/lib/browser/components/content/content.helpers.d.ts +1 -1
  151. package/vue3/lib/browser/components/content/content.types.d.ts +0 -4
  152. package/vue3/lib/browser/components/content/content.vue.d.ts +1 -4
  153. package/vue3/lib/browser/components/content-variants/content-variants.vue.d.ts +2 -4
  154. package/vue3/lib/browser/components/content-variants/helpers.d.ts +3 -3
  155. package/vue3/lib/browser/components/content-variants/inlined-fns.d.ts +14 -0
  156. package/vue3/lib/browser/constants/sdk-version.d.ts +1 -1
  157. package/vue3/lib/{edge/get-block-actions.a33a6af2.js → browser/get-block-actions.16dc4164.js} +1 -1
  158. package/vue3/lib/browser/{get-block-actions.eb7c0337.cjs → get-block-actions.79d46437.cjs} +1 -1
  159. package/vue3/lib/browser/index-helpers/blocks-exports.d.ts +1 -1
  160. package/vue3/lib/browser/index.27a34e20.cjs +161 -0
  161. package/vue3/lib/browser/{index.46955270.js → index.2d766828.js} +811 -747
  162. package/vue3/lib/browser/index.cjs +1 -1
  163. package/vue3/lib/browser/index.js +1 -1
  164. package/vue3/lib/browser/{repeated-block.89fbe870.cjs → repeated-block.4627ce3b.cjs} +1 -1
  165. package/vue3/lib/{edge/repeated-block.fe22cc98.js → browser/repeated-block.af88918c.js} +2 -2
  166. package/vue3/lib/{browser/block-wrapper.e408ea89.js → edge/block-wrapper.34ad49eb.js} +2 -2
  167. package/vue3/lib/edge/{block-wrapper.78571e4d.cjs → block-wrapper.3525d917.cjs} +1 -1
  168. package/vue3/lib/edge/blocks/video/video.vue.d.ts +23 -1
  169. package/vue3/lib/{browser/component-ref.0e8b6425.js → edge/component-ref.868e79d9.js} +2 -2
  170. package/vue3/lib/{browser/component-ref.50435d0f.cjs → edge/component-ref.9057a2c5.cjs} +1 -1
  171. package/vue3/lib/edge/components/content/components/enable-editor.vue.d.ts +0 -3
  172. package/vue3/lib/edge/components/content/content.helpers.d.ts +1 -1
  173. package/vue3/lib/edge/components/content/content.types.d.ts +0 -4
  174. package/vue3/lib/edge/components/content/content.vue.d.ts +1 -4
  175. package/vue3/lib/edge/components/content-variants/content-variants.vue.d.ts +2 -4
  176. package/vue3/lib/edge/components/content-variants/helpers.d.ts +3 -3
  177. package/vue3/lib/edge/components/content-variants/inlined-fns.d.ts +14 -0
  178. package/vue3/lib/edge/constants/sdk-version.d.ts +1 -1
  179. package/vue3/lib/{node/get-block-actions.29e1fd1c.cjs → edge/get-block-actions.a62ff620.cjs} +1 -1
  180. package/vue3/lib/{browser/get-block-actions.ace1771f.js → edge/get-block-actions.d5d9bee8.js} +1 -1
  181. package/vue3/lib/edge/index-helpers/blocks-exports.d.ts +1 -1
  182. package/vue3/lib/edge/{index.3e2fe9ff.js → index.78e1db34.js} +1251 -1187
  183. package/vue3/lib/edge/index.cjs +1 -1
  184. package/vue3/lib/edge/index.dfd25e6d.cjs +181 -0
  185. package/vue3/lib/edge/index.js +1 -1
  186. package/vue3/lib/{browser/repeated-block.b30c8a4a.js → edge/repeated-block.078146fa.js} +2 -2
  187. package/vue3/lib/edge/{repeated-block.76e3553f.cjs → repeated-block.c5a87c23.cjs} +1 -1
  188. package/vue3/lib/node/{block-wrapper.0414e44b.js → block-wrapper.1f42acaf.js} +2 -2
  189. package/vue3/lib/node/{block-wrapper.2cee43bd.cjs → block-wrapper.807f65f7.cjs} +1 -1
  190. package/vue3/lib/node/blocks/video/video.vue.d.ts +23 -1
  191. package/vue3/lib/node/{component-ref.c303a83f.js → component-ref.2e134a43.js} +2 -2
  192. package/vue3/lib/node/{component-ref.719df81c.cjs → component-ref.68fab46d.cjs} +1 -1
  193. package/vue3/lib/node/components/content/components/enable-editor.vue.d.ts +0 -3
  194. package/vue3/lib/node/components/content/content.helpers.d.ts +1 -1
  195. package/vue3/lib/node/components/content/content.types.d.ts +0 -4
  196. package/vue3/lib/node/components/content/content.vue.d.ts +1 -4
  197. package/vue3/lib/node/components/content-variants/content-variants.vue.d.ts +2 -4
  198. package/vue3/lib/node/components/content-variants/helpers.d.ts +3 -3
  199. package/vue3/lib/node/components/content-variants/inlined-fns.d.ts +14 -0
  200. package/vue3/lib/node/constants/sdk-version.d.ts +1 -1
  201. package/vue3/lib/{edge/get-block-actions.15671f27.cjs → node/get-block-actions.4aa48fd9.cjs} +1 -1
  202. package/vue3/lib/node/{get-block-actions.e790b914.js → get-block-actions.51b5b9e1.js} +1 -1
  203. package/vue3/lib/node/index-helpers/blocks-exports.d.ts +1 -1
  204. package/vue3/lib/node/index.cjs +1 -1
  205. package/vue3/lib/node/index.d650e668.cjs +201 -0
  206. package/vue3/lib/node/{index.f69e3181.js → index.fd3a9724.js} +773 -709
  207. package/vue3/lib/node/index.js +1 -1
  208. package/vue3/lib/node/{repeated-block.bd1fbe63.cjs → repeated-block.89e247ac.cjs} +1 -1
  209. package/vue3/lib/node/{repeated-block.7000302e.js → repeated-block.a5d8bef5.js} +2 -2
  210. package/vue3/package.json +7 -1
  211. package/vue2/lib/browser/block-7fc4bd0f.cjs +0 -3
  212. package/vue2/lib/browser/enable-editor-707dc987.cjs +0 -1
  213. package/vue2/lib/browser/index-da0b5822.cjs +0 -32
  214. package/vue2/lib/browser/inlined-script-e9825733.cjs +0 -1
  215. package/vue2/lib/edge/block-10ec81cd.cjs +0 -3
  216. package/vue2/lib/edge/enable-editor-d2f9e563.cjs +0 -1
  217. package/vue2/lib/edge/index-fa9296e5.cjs +0 -32
  218. package/vue2/lib/edge/inlined-script-cf7d9fb7.cjs +0 -1
  219. package/vue2/lib/node/block-09c38329.cjs +0 -3
  220. package/vue2/lib/node/enable-editor-96fb8ac5.cjs +0 -1
  221. package/vue2/lib/node/index-4d92a1cd.cjs +0 -32
  222. package/vue2/lib/node/inlined-script-589725e1.cjs +0 -1
  223. package/vue3/lib/browser/index.af59269f.cjs +0 -69
  224. package/vue3/lib/edge/index.2fc5bcab.cjs +0 -89
  225. package/vue3/lib/node/index.d4e23d88.cjs +0 -109
@@ -1,19 +1,19 @@
1
- import { defineComponent as g, openBlock as d, createElementBlock as p, mergeProps as I, toHandlers as F, toDisplayString as ie, defineAsyncComponent as W, resolveComponent as k, Fragment as T, createBlock as v, createCommentVNode as S, renderList as V, withCtx as te, createVNode as O, h as Se, renderSlot as N, createElementVNode as ae, normalizeStyle as le, normalizeClass as Ce, markRaw as Je } from "vue";
2
- function q(e = {}, t, n) {
1
+ import { defineComponent as b, openBlock as d, createElementBlock as u, mergeProps as w, toHandlers as N, toDisplayString as le, defineAsyncComponent as W, resolveComponent as y, Fragment as C, createBlock as k, createCommentVNode as f, renderList as A, withCtx as ne, createVNode as B, h as Se, renderSlot as P, createElementVNode as Q, normalizeStyle as X, normalizeClass as Ce, markRaw as Je } from "vue";
2
+ function z(e = {}, t, n) {
3
3
  const o = {};
4
- for (const r in e) {
5
- if (!e[r] || n && !r.startsWith(t))
4
+ for (const i in e) {
5
+ if (!e[i] || n && !i.startsWith(t))
6
6
  continue;
7
- const s = n ? r.replace(t, "") : r;
8
- o[s] = e[r];
7
+ const r = n ? i.replace(t, "") : i;
8
+ o[r] = e[i];
9
9
  }
10
10
  return o;
11
11
  }
12
- const Ye = g({
12
+ const Ye = b({
13
13
  name: "builder-button",
14
14
  props: ["attributes", "text", "link", "openLinkInNewTab"],
15
15
  data() {
16
- return { filterAttrs: q };
16
+ return { filterAttrs: z };
17
17
  },
18
18
  methods: {
19
19
  _classStringToObject(e) {
@@ -27,25 +27,25 @@ const Ye = g({
27
27
  }
28
28
  }
29
29
  });
30
- const y = (e, t) => {
30
+ const g = (e, t) => {
31
31
  const n = e.__vccOpts || e;
32
- for (const [o, r] of t)
33
- n[o] = r;
32
+ for (const [o, i] of t)
33
+ n[o] = i;
34
34
  return n;
35
- }, Xe = ["href", "target"];
36
- function Qe(e, t, n, o, r, s) {
37
- return e.link ? (d(), p("a", I({
35
+ }, Qe = ["href", "target"];
36
+ function Xe(e, t, n, o, i, r) {
37
+ return e.link ? (d(), u("a", w({
38
38
  key: 0,
39
39
  href: e.link,
40
40
  target: e.openLinkInNewTab ? "_blank" : void 0,
41
41
  role: "button"
42
- }, e.filterAttrs(e.attributes, "v-on:", !1), F(e.filterAttrs(e.attributes, "v-on:", !0), !0)), ie(e.text), 17, Xe)) : (d(), p("button", I({
42
+ }, e.filterAttrs(e.attributes, "v-on:", !1), N(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17, Qe)) : (d(), u("button", w({
43
43
  key: 1,
44
44
  style: e.attributes.style,
45
45
  class: e._classStringToObject(e.attributes.class + " button-21azgz5avex")
46
- }, e.filterAttrs(e.attributes, "v-on:", !1), F(e.filterAttrs(e.attributes, "v-on:", !0), !0)), ie(e.text), 17));
46
+ }, e.filterAttrs(e.attributes, "v-on:", !1), N(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17));
47
47
  }
48
- const Ze = /* @__PURE__ */ y(Ye, [["render", Qe], ["__scopeId", "data-v-becdf225"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/button/button.vue"]]), et = Symbol(), Q = {
48
+ const Ze = /* @__PURE__ */ g(Ye, [["render", Xe], ["__scopeId", "data-v-becdf225"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/button/button.vue"]]), et = Symbol(), Z = {
49
49
  Builder: {
50
50
  content: null,
51
51
  context: {},
@@ -71,43 +71,43 @@ function nt(e) {
71
71
  builderBlock: e
72
72
  };
73
73
  }
74
- const A = "vue3", ot = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), B = (e) => e != null, rt = (e) => Object.entries(e).map(([n, o]) => {
74
+ const x = "vue3", ot = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), T = (e) => e != null, it = (e) => Object.entries(e).map(([n, o]) => {
75
75
  if (typeof o == "string")
76
76
  return `${ot(n)}: ${o};`;
77
- }).filter(B), st = (e) => rt(e).join(`
78
- `), Y = ({
77
+ }).filter(T), rt = (e) => it(e).join(`
78
+ `), J = ({
79
79
  mediaQuery: e,
80
80
  className: t,
81
81
  styles: n
82
82
  }) => {
83
83
  const o = `.${t} {
84
- ${st(n)}
84
+ ${rt(n)}
85
85
  }`;
86
86
  return e ? `${e} {
87
87
  ${o}
88
88
  }` : o;
89
- }, L = "[Builder.io]: ", x = {
90
- log: (...e) => console.log(L, ...e),
91
- error: (...e) => console.error(L, ...e),
92
- warn: (...e) => console.warn(L, ...e),
93
- debug: (...e) => console.debug(L, ...e)
89
+ }, M = "[Builder.io]: ", $ = {
90
+ log: (...e) => console.log(M, ...e),
91
+ error: (...e) => console.error(M, ...e),
92
+ warn: (...e) => console.warn(M, ...e),
93
+ debug: (...e) => console.debug(M, ...e)
94
94
  };
95
- function w() {
95
+ function v() {
96
96
  return typeof window < "u" && typeof document < "u";
97
97
  }
98
- function it() {
99
- return w() && window.self !== window.top;
98
+ function st() {
99
+ return v() && window.self !== window.top;
100
100
  }
101
- function P() {
102
- return it() && window.location.search.indexOf("builder.frameEditing=") !== -1;
101
+ function R() {
102
+ return st() && window.location.search.indexOf("builder.frameEditing=") !== -1;
103
103
  }
104
104
  const at = () => {
105
- if (w()) {
105
+ if (v()) {
106
106
  const e = new URL(location.href);
107
107
  return e.pathname === "" && (e.pathname = "/"), e;
108
108
  } else
109
109
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
110
- }, lt = () => typeof navigator == "object" && navigator.userAgent || "", $e = () => {
110
+ }, lt = () => typeof navigator == "object" && navigator.userAgent || "", Ie = () => {
111
111
  const e = lt(), t = {
112
112
  Android() {
113
113
  return e.match(/Android/i);
@@ -125,7 +125,7 @@ const at = () => {
125
125
  return e.match(/IEMobile/i) || e.match(/WPDesktop/i);
126
126
  },
127
127
  any() {
128
- return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || A === "reactNative";
128
+ return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || x === "reactNative";
129
129
  }
130
130
  }, n = e.match(/Tablet|iPad/i), o = at();
131
131
  return {
@@ -145,10 +145,10 @@ const at = () => {
145
145
  context: t,
146
146
  event: n
147
147
  }), dt = () => ({
148
- isEditing: P(),
149
- isBrowser: w(),
150
- isServer: !w(),
151
- getUserAttributes: () => $e()
148
+ isEditing: R(),
149
+ isBrowser: v(),
150
+ isServer: !v(),
151
+ getUserAttributes: () => Ie()
152
152
  }), ut = (e, {
153
153
  isExpression: t = !0
154
154
  }) => t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, ce = ({
@@ -156,15 +156,15 @@ const at = () => {
156
156
  builder: t,
157
157
  context: n,
158
158
  event: o,
159
- localState: r,
160
- rootSetState: s,
161
- rootState: i
159
+ localState: i,
160
+ rootSetState: r,
161
+ rootState: s
162
162
  }) => {
163
163
  const a = ct({
164
164
  builder: t,
165
165
  context: n,
166
166
  event: o,
167
- state: pt(i, r, s)
167
+ state: pt(s, i, r)
168
168
  });
169
169
  return new Function(...a.map(([l]) => l), e)(...a.map(([, l]) => l));
170
170
  };
@@ -172,120 +172,120 @@ function pt(e, t, n) {
172
172
  if (e === t)
173
173
  throw new Error("rootState === localState");
174
174
  return new Proxy(e, {
175
- get: (o, r) => t && r in t ? t[r] : e[r],
176
- set: (o, r, s) => {
177
- if (t && r in t)
175
+ get: (o, i) => t && i in t ? t[i] : e[i],
176
+ set: (o, i, r) => {
177
+ if (t && i in t)
178
178
  throw new Error("Writing to local state is not allowed as it is read-only.");
179
- return e[r] = s, n == null || n(e), !0;
179
+ return e[i] = r, n == null || n(e), !0;
180
180
  }
181
181
  });
182
182
  }
183
- const mt = (e) => (w(), ce(e));
184
- function z({
183
+ const mt = (e) => (v(), ce(e));
184
+ function K({
185
185
  code: e,
186
186
  context: t,
187
187
  localState: n,
188
188
  rootState: o,
189
- rootSetState: r,
190
- event: s,
191
- isExpression: i = !0
189
+ rootSetState: i,
190
+ event: r,
191
+ isExpression: s = !0
192
192
  }) {
193
193
  if (e === "") {
194
- x.warn("Skipping evaluation of empty code block.");
194
+ $.warn("Skipping evaluation of empty code block.");
195
195
  return;
196
196
  }
197
197
  const a = {
198
198
  code: ut(e, {
199
- isExpression: i
199
+ isExpression: s
200
200
  }),
201
201
  builder: dt(),
202
202
  context: t,
203
- event: s,
204
- rootSetState: r,
203
+ event: r,
204
+ rootSetState: i,
205
205
  rootState: o,
206
206
  localState: n
207
207
  };
208
208
  try {
209
209
  return mt(a);
210
210
  } catch (l) {
211
- x.error("Failed code evaluation: " + l.message, {
211
+ $.error("Failed code evaluation: " + l.message, {
212
212
  code: e
213
213
  });
214
214
  return;
215
215
  }
216
216
  }
217
- const M = (e) => JSON.parse(JSON.stringify(e)), ht = (e, t, n) => {
217
+ const F = (e) => JSON.parse(JSON.stringify(e)), ht = (e, t, n) => {
218
218
  if (Object(e) !== e)
219
219
  return e;
220
220
  const o = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
221
- return o.slice(0, -1).reduce((r, s, i) => Object(r[s]) === r[s] ? r[s] : r[s] = Math.abs(Number(o[i + 1])) >> 0 === +o[i + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
221
+ return o.slice(0, -1).reduce((i, r, s) => Object(i[r]) === i[r] ? i[r] : i[r] = Math.abs(Number(o[s + 1])) >> 0 === +o[s + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
222
222
  };
223
223
  const ft = ({
224
224
  block: e,
225
225
  context: t,
226
226
  localState: n,
227
227
  rootState: o,
228
- rootSetState: r
228
+ rootSetState: i
229
229
  }) => {
230
230
  if (!e.bindings)
231
231
  return e;
232
- const s = M(e), i = {
233
- ...s,
232
+ const r = F(e), s = {
233
+ ...r,
234
234
  properties: {
235
- ...s.properties
235
+ ...r.properties
236
236
  },
237
237
  actions: {
238
- ...s.actions
238
+ ...r.actions
239
239
  }
240
240
  };
241
241
  for (const a in e.bindings) {
242
- const l = e.bindings[a], c = z({
242
+ const l = e.bindings[a], c = K({
243
243
  code: l,
244
244
  localState: n,
245
245
  rootState: o,
246
- rootSetState: r,
246
+ rootSetState: i,
247
247
  context: t
248
248
  });
249
- ht(i, a, c);
249
+ ht(s, a, c);
250
250
  }
251
- return i;
251
+ return s;
252
252
  };
253
253
  function D({
254
254
  block: e,
255
255
  context: t,
256
256
  shouldEvaluateBindings: n,
257
257
  localState: o,
258
- rootState: r,
259
- rootSetState: s
258
+ rootState: i,
259
+ rootSetState: r
260
260
  }) {
261
- const i = e;
261
+ const s = e;
262
262
  return n ? ft({
263
- block: i,
263
+ block: s,
264
264
  localState: o,
265
- rootState: r,
266
- rootSetState: s,
265
+ rootState: i,
266
+ rootSetState: r,
267
267
  context: t
268
- }) : i;
268
+ }) : s;
269
269
  }
270
270
  const bt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"], gt = (e) => typeof e == "string" && bt.includes(e.toLowerCase()), yt = ({
271
271
  block: e,
272
272
  context: t,
273
273
  registeredComponents: n
274
274
  }) => {
275
- var s;
276
- const o = (s = D({
275
+ var r;
276
+ const o = (r = D({
277
277
  block: e,
278
278
  localState: t.localState,
279
279
  rootState: t.rootState,
280
280
  rootSetState: t.rootSetState,
281
281
  context: t.context,
282
282
  shouldEvaluateBindings: !1
283
- }).component) == null ? void 0 : s.name;
283
+ }).component) == null ? void 0 : r.name;
284
284
  if (!o)
285
285
  return null;
286
- const r = n[o];
287
- if (r)
288
- return r;
286
+ const i = n[o];
287
+ if (i)
288
+ return i;
289
289
  console.warn(`
290
290
  Could not find a registered component named "${o}".
291
291
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
@@ -299,25 +299,25 @@ const bt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
299
299
  } = e;
300
300
  if (!(n != null && n.collection))
301
301
  return;
302
- const r = z({
302
+ const i = K({
303
303
  code: n.collection,
304
304
  localState: t.localState,
305
305
  rootState: t.rootState,
306
306
  rootSetState: t.rootSetState,
307
307
  context: t.context
308
308
  });
309
- if (!Array.isArray(r))
309
+ if (!Array.isArray(i))
310
310
  return;
311
- const s = n.collection.split(".").pop(), i = n.itemName || (s ? s + "Item" : "item");
312
- return r.map((l, c) => ({
311
+ const r = n.collection.split(".").pop(), s = n.itemName || (r ? r + "Item" : "item");
312
+ return i.map((l, c) => ({
313
313
  context: {
314
314
  ...t,
315
315
  localState: {
316
316
  ...t.localState,
317
317
  $index: c,
318
318
  $item: l,
319
- [i]: l,
320
- [`$${i}Index`]: c
319
+ [s]: l,
320
+ [`$${s}Index`]: c
321
321
  }
322
322
  },
323
323
  block: o
@@ -327,22 +327,22 @@ const bt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
327
327
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
328
328
  e
329
329
  ), e;
330
- }), St = () => import("./block-wrapper.e408ea89.js").then((e) => e.default).catch((e) => {
330
+ }), St = () => import("./block-wrapper.1f981181.js").then((e) => e.default).catch((e) => {
331
331
  throw console.error(
332
332
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
333
333
  e
334
334
  ), e;
335
- }), Ct = () => import("./component-ref.0e8b6425.js").then((e) => e.default).catch((e) => {
335
+ }), Ct = () => import("./component-ref.c8d76b1a.js").then((e) => e.default).catch((e) => {
336
336
  throw console.error(
337
337
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
338
338
  e
339
339
  ), e;
340
- }), wt = () => import("./repeated-block.b30c8a4a.js").then((e) => e.default).catch((e) => {
340
+ }), wt = () => import("./repeated-block.af88918c.js").then((e) => e.default).catch((e) => {
341
341
  throw console.error(
342
342
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
343
343
  e
344
344
  ), e;
345
- }), $t = g({
345
+ }), It = b({
346
346
  name: "block",
347
347
  components: {
348
348
  ComponentRef: W(Ct),
@@ -369,7 +369,8 @@ const bt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
369
369
  });
370
370
  },
371
371
  processedBlock() {
372
- return this.repeatItem ? this.block : D({
372
+ var e;
373
+ return (e = this.block.repeat) != null && e.collection ? this.block : D({
373
374
  block: this.block,
374
375
  localState: this.context.localState,
375
376
  rootState: this.context.rootState,
@@ -382,14 +383,15 @@ const bt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
382
383
  return this.block.tagName || "div";
383
384
  },
384
385
  canShowBlock() {
385
- return "hide" in this.processedBlock ? !this.processedBlock.hide : "show" in this.processedBlock ? this.processedBlock.show : !0;
386
+ var e, t;
387
+ return "hide" in this.processedBlock ? !this.processedBlock.hide : "show" in this.processedBlock ? this.processedBlock.show : !(((e = this.block.repeat) == null ? void 0 : e.collection) && !((t = this.repeatItem) != null && t.length));
386
388
  },
387
389
  childrenWithoutParentComponent() {
388
390
  var t, n;
389
391
  return !((t = this.blockComponent) != null && t.component) && !this.repeatItem ? (n = this.processedBlock.children) != null ? n : [] : [];
390
392
  },
391
393
  componentRefProps() {
392
- var e, t, n, o, r, s;
394
+ var e, t, n, o, i, r;
393
395
  return {
394
396
  blockChildren: (e = this.processedBlock.children) != null ? e : [],
395
397
  componentRef: (t = this.blockComponent) == null ? void 0 : t.component,
@@ -403,17 +405,17 @@ const bt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
403
405
  context: this.childrenContext,
404
406
  registeredComponents: this.registeredComponents,
405
407
  builderBlock: this.processedBlock,
406
- includeBlockProps: ((r = this.blockComponent) == null ? void 0 : r.noWrap) === !0,
407
- isInteractive: !((s = this.blockComponent) != null && s.isRSC)
408
+ includeBlockProps: ((i = this.blockComponent) == null ? void 0 : i.noWrap) === !0,
409
+ isInteractive: !((r = this.blockComponent) != null && r.isRSC)
408
410
  };
409
411
  }
410
412
  }
411
413
  });
412
- function Rt(e, t, n, o, r, s) {
414
+ function $t(e, t, n, o, i, r) {
413
415
  var h;
414
- const i = k("block-wrapper"), a = k("repeated-block"), l = k("component-ref"), c = k("block", !0), u = k("block-styles");
415
- return e.canShowBlock ? (d(), p(T, { key: 0 }, [
416
- (h = e.blockComponent) != null && h.noWrap ? (d(), v(l, {
416
+ const s = y("block-wrapper"), a = y("repeated-block"), l = y("component-ref"), c = y("block", !0), p = y("block-styles");
417
+ return e.canShowBlock ? (d(), u(C, { key: 0 }, [
418
+ (h = e.blockComponent) != null && h.noWrap ? (d(), k(l, {
417
419
  key: 1,
418
420
  componentRef: e.componentRefProps.componentRef,
419
421
  componentOptions: e.componentRefProps.componentOptions,
@@ -423,29 +425,29 @@ function Rt(e, t, n, o, r, s) {
423
425
  builderBlock: e.componentRefProps.builderBlock,
424
426
  includeBlockProps: e.componentRefProps.includeBlockProps,
425
427
  isInteractive: e.componentRefProps.isInteractive
426
- }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "builderBlock", "includeBlockProps", "isInteractive"])) : (d(), p(T, { key: 0 }, [
427
- e.isEmptyHtmlElement(e.Tag) ? (d(), v(i, {
428
+ }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "builderBlock", "includeBlockProps", "isInteractive"])) : (d(), u(C, { key: 0 }, [
429
+ e.isEmptyHtmlElement(e.Tag) ? (d(), k(s, {
428
430
  key: 0,
429
431
  Wrapper: e.Tag,
430
432
  block: e.processedBlock,
431
433
  context: e.context,
432
434
  hasChildren: !1
433
- }, null, 8, ["Wrapper", "block", "context"])) : S("v-if", !0),
434
- !e.isEmptyHtmlElement(e.Tag) && e.repeatItem ? (d(!0), p(T, { key: 1 }, V(e.repeatItem, (m, f) => (d(), v(a, {
435
- key: f,
435
+ }, null, 8, ["Wrapper", "block", "context"])) : f("v-if", !0),
436
+ !e.isEmptyHtmlElement(e.Tag) && e.repeatItem ? (d(!0), u(C, { key: 1 }, A(e.repeatItem, (m, S) => (d(), k(a, {
437
+ key: S,
436
438
  repeatContext: m.context,
437
439
  block: m.block,
438
440
  registeredComponents: e.registeredComponents
439
- }, null, 8, ["repeatContext", "block", "registeredComponents"]))), 128)) : S("v-if", !0),
440
- !e.isEmptyHtmlElement(e.Tag) && !e.repeatItem ? (d(), v(i, {
441
+ }, null, 8, ["repeatContext", "block", "registeredComponents"]))), 128)) : f("v-if", !0),
442
+ !e.isEmptyHtmlElement(e.Tag) && !e.repeatItem ? (d(), k(s, {
441
443
  key: 2,
442
444
  Wrapper: e.Tag,
443
445
  block: e.processedBlock,
444
446
  context: e.context,
445
447
  hasChildren: !0
446
448
  }, {
447
- default: te(() => [
448
- O(l, {
449
+ default: ne(() => [
450
+ B(l, {
449
451
  componentRef: e.componentRefProps.componentRef,
450
452
  componentOptions: e.componentRefProps.componentOptions,
451
453
  blockChildren: e.componentRefProps.blockChildren,
@@ -455,27 +457,27 @@ function Rt(e, t, n, o, r, s) {
455
457
  includeBlockProps: e.componentRefProps.includeBlockProps,
456
458
  isInteractive: e.componentRefProps.isInteractive
457
459
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "builderBlock", "includeBlockProps", "isInteractive"]),
458
- (d(!0), p(T, null, V(e.childrenWithoutParentComponent, (m, f) => (d(), v(c, {
460
+ (d(!0), u(C, null, A(e.childrenWithoutParentComponent, (m, S) => (d(), k(c, {
459
461
  key: "block-" + m.id,
460
462
  block: m,
461
463
  context: e.childrenContext,
462
464
  registeredComponents: e.registeredComponents
463
465
  }, null, 8, ["block", "context", "registeredComponents"]))), 128)),
464
- (d(!0), p(T, null, V(e.childrenWithoutParentComponent, (m, f) => (d(), v(u, {
466
+ (d(!0), u(C, null, A(e.childrenWithoutParentComponent, (m, S) => (d(), k(p, {
465
467
  key: "block-style-" + m.id,
466
468
  block: m,
467
469
  context: e.childrenContext
468
470
  }, null, 8, ["block", "context"]))), 128))
469
471
  ]),
470
472
  _: 1
471
- }, 8, ["Wrapper", "block", "context"])) : S("v-if", !0)
473
+ }, 8, ["Wrapper", "block", "context"])) : f("v-if", !0)
472
474
  ], 64))
473
- ], 64)) : S("v-if", !0);
475
+ ], 64)) : f("v-if", !0);
474
476
  }
475
- const Re = /* @__PURE__ */ y($t, [["render", Rt], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/block.vue"]]), Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
477
+ const $e = /* @__PURE__ */ g(It, [["render", $t], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/block.vue"]]), oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
476
478
  __proto__: null,
477
- default: Re
478
- }, Symbol.toStringTag, { value: "Module" })), Te = {
479
+ default: $e
480
+ }, Symbol.toStringTag, { value: "Module" })), Re = {
479
481
  small: {
480
482
  min: 320,
481
483
  default: 321,
@@ -491,11 +493,11 @@ const Re = /* @__PURE__ */ y($t, [["render", Rt], ["__file", "/home/runner/work/
491
493
  default: 991,
492
494
  max: 1200
493
495
  }
494
- }, de = (e, t = Te) => `@media (max-width: ${t[e].max}px)`, Ie = ({
496
+ }, de = (e, t = Re) => `@media (max-width: ${t[e].max}px)`, Te = ({
495
497
  small: e,
496
498
  medium: t
497
499
  }) => {
498
- const n = M(Te);
500
+ const n = F(Re);
499
501
  if (!e || !t)
500
502
  return n;
501
503
  const o = Math.floor(e / 2);
@@ -504,30 +506,30 @@ const Re = /* @__PURE__ */ y($t, [["render", Rt], ["__file", "/home/runner/work/
504
506
  min: o,
505
507
  default: o + 1
506
508
  };
507
- const r = n.small.max + 1;
509
+ const i = n.small.max + 1;
508
510
  n.medium = {
509
511
  max: t,
510
- min: r,
511
- default: r + 1
512
+ min: i,
513
+ default: i + 1
512
514
  };
513
- const s = n.medium.max + 1;
515
+ const r = n.medium.max + 1;
514
516
  return n.large = {
515
517
  max: 2e3,
516
- min: s,
517
- default: s + 1
518
+ min: r,
519
+ default: r + 1
518
520
  }, n;
519
- }, Tt = g({
521
+ }, Rt = b({
520
522
  render() {
521
523
  return Se("style", { id: this.id, innerHTML: this.styles });
522
524
  },
523
525
  name: "inlined-styles",
524
526
  props: ["styles", "id"]
525
- }), G = /* @__PURE__ */ y(Tt, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/inlined-styles.vue"]]), It = g({
527
+ }), q = /* @__PURE__ */ g(Rt, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/inlined-styles.vue"]]), Tt = b({
526
528
  name: "block-styles",
527
- components: { InlinedStyles: G },
529
+ components: { InlinedStyles: q },
528
530
  props: ["block", "context"],
529
531
  data() {
530
- return { TARGET: A };
532
+ return { TARGET: x };
531
533
  },
532
534
  computed: {
533
535
  canShowBlock() {
@@ -539,7 +541,7 @@ const Re = /* @__PURE__ */ y($t, [["render", Rt], ["__file", "/home/runner/work/
539
541
  context: this.context.context,
540
542
  shouldEvaluateBindings: !0
541
543
  });
542
- return B(e.hide) ? !e.hide : B(e.show) ? e.show : !0;
544
+ return T(e.hide) ? !e.hide : T(e.show) ? e.show : !0;
543
545
  },
544
546
  css() {
545
547
  var h;
@@ -550,44 +552,44 @@ const Re = /* @__PURE__ */ y($t, [["render", Rt], ["__file", "/home/runner/work/
550
552
  rootSetState: this.context.rootSetState,
551
553
  context: this.context.context,
552
554
  shouldEvaluateBindings: !0
553
- }), t = e.responsiveStyles, n = this.context.content, o = Ie(
555
+ }), t = e.responsiveStyles, n = this.context.content, o = Te(
554
556
  ((h = n == null ? void 0 : n.meta) == null ? void 0 : h.breakpoints) || {}
555
- ), r = t == null ? void 0 : t.large, s = t == null ? void 0 : t.medium, i = t == null ? void 0 : t.small, a = e.id;
557
+ ), i = t == null ? void 0 : t.large, r = t == null ? void 0 : t.medium, s = t == null ? void 0 : t.small, a = e.id;
556
558
  if (!a)
557
559
  return "";
558
- const l = r ? Y({
560
+ const l = i ? J({
559
561
  className: a,
560
- styles: r
561
- }) : "", c = s ? Y({
562
+ styles: i
563
+ }) : "", c = r ? J({
562
564
  className: a,
563
- styles: s,
565
+ styles: r,
564
566
  mediaQuery: de(
565
567
  "medium",
566
568
  o
567
569
  )
568
- }) : "", u = i ? Y({
570
+ }) : "", p = s ? J({
569
571
  className: a,
570
- styles: i,
572
+ styles: s,
571
573
  mediaQuery: de(
572
574
  "small",
573
575
  o
574
576
  )
575
577
  }) : "";
576
- return [l, c, u].join(" ");
578
+ return [l, c, p].join(" ");
577
579
  }
578
580
  }
579
581
  });
580
- function xt(e, t, n, o, r, s) {
581
- const i = k("inlined-styles");
582
- return e.TARGET !== "reactNative" && e.css && e.canShowBlock ? (d(), v(i, {
582
+ function xt(e, t, n, o, i, r) {
583
+ const s = y("inlined-styles");
584
+ return e.TARGET !== "reactNative" && e.css && e.canShowBlock ? (d(), k(s, {
583
585
  key: 0,
584
586
  styles: e.css
585
- }, null, 8, ["styles"])) : S("v-if", !0);
587
+ }, null, 8, ["styles"])) : f("v-if", !0);
586
588
  }
587
- const xe = /* @__PURE__ */ y(It, [["render", xt], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/block-styles.vue"]]), Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
589
+ const xe = /* @__PURE__ */ g(Tt, [["render", xt], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/block-styles.vue"]]), Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
588
590
  __proto__: null,
589
591
  default: xe
590
- }, Symbol.toStringTag, { value: "Module" })), Pt = g({
592
+ }, Symbol.toStringTag, { value: "Module" })), Pt = b({
591
593
  name: "builder-blocks-wrapper",
592
594
  props: ["blocks", "parent", "path", "styleProp"],
593
595
  computed: {
@@ -599,7 +601,7 @@ const xe = /* @__PURE__ */ y(It, [["render", xt], ["__file", "/home/runner/work/
599
601
  methods: {
600
602
  onClick() {
601
603
  var e, t;
602
- P() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
604
+ R() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
603
605
  {
604
606
  type: "builder.clickEmptyBlocks",
605
607
  data: {
@@ -612,7 +614,7 @@ const xe = /* @__PURE__ */ y(It, [["render", xt], ["__file", "/home/runner/work/
612
614
  },
613
615
  onMouseEnter() {
614
616
  var e, t;
615
- P() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
617
+ R() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
616
618
  {
617
619
  type: "builder.hoverEmptyBlocks",
618
620
  data: {
@@ -634,25 +636,25 @@ const xe = /* @__PURE__ */ y(It, [["render", xt], ["__file", "/home/runner/work/
634
636
  }
635
637
  }
636
638
  });
637
- const Bt = ["builder-path", "builder-parent-id"];
638
- function At(e, t, n, o, r, s) {
639
- return d(), p("div", I({
639
+ const At = ["builder-path", "builder-parent-id"];
640
+ function Bt(e, t, n, o, i, r) {
641
+ return d(), u("div", w({
640
642
  class: e._classStringToObject(e.className + " div-178o76acnws"),
641
643
  "builder-path": e.path,
642
644
  "builder-parent-id": e.parent,
643
645
  style: e.styleProp,
644
- onClick: t[0] || (t[0] = (i) => e.onClick()),
645
- onMouseenter: t[1] || (t[1] = (i) => e.onMouseEnter()),
646
- onKeypress: t[2] || (t[2] = (i) => e.onClick())
646
+ onClick: t[0] || (t[0] = (s) => e.onClick()),
647
+ onMouseenter: t[1] || (t[1] = (s) => e.onMouseEnter()),
648
+ onKeypress: t[2] || (t[2] = (s) => e.onClick())
647
649
  }, {}), [
648
- N(e.$slots, "default", {}, void 0, !0)
649
- ], 16, Bt);
650
+ P(e.$slots, "default", {}, void 0, !0)
651
+ ], 16, At);
650
652
  }
651
- const _t = /* @__PURE__ */ y(Pt, [["render", At], ["__scopeId", "data-v-1f8aab9f"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks-wrapper.vue"]]), Vt = g({
653
+ const Vt = /* @__PURE__ */ g(Pt, [["render", Bt], ["__scopeId", "data-v-1f8aab9f"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks-wrapper.vue"]]), _t = b({
652
654
  name: "builder-blocks",
653
655
  components: {
654
- BlocksWrapper: _t,
655
- Block: Re,
656
+ BlocksWrapper: Vt,
657
+ Block: $e,
656
658
  BlockStyles: xe
657
659
  },
658
660
  props: [
@@ -664,37 +666,37 @@ const _t = /* @__PURE__ */ y(Pt, [["render", At], ["__scopeId", "data-v-1f8aab9f
664
666
  "registeredComponents"
665
667
  ],
666
668
  inject: {
667
- builderContext: Q.key,
669
+ builderContext: Z.key,
668
670
  componentsContext: we.key
669
671
  }
670
672
  });
671
- function Ot(e, t, n, o, r, s) {
672
- const i = k("block"), a = k("block-styles"), l = k("blocks-wrapper");
673
- return d(), v(l, {
673
+ function Ot(e, t, n, o, i, r) {
674
+ const s = y("block"), a = y("block-styles"), l = y("blocks-wrapper");
675
+ return d(), k(l, {
674
676
  blocks: e.blocks,
675
677
  parent: e.parent,
676
678
  path: e.path,
677
679
  styleProp: e.styleProp
678
680
  }, {
679
- default: te(() => [
680
- e.blocks ? (d(!0), p(T, { key: 0 }, V(e.blocks, (c, u) => (d(), v(i, {
681
+ default: ne(() => [
682
+ e.blocks ? (d(!0), u(C, { key: 0 }, A(e.blocks, (c, p) => (d(), k(s, {
681
683
  key: "render-block-" + c.id,
682
684
  block: c,
683
685
  context: e.context || e.builderContext,
684
686
  registeredComponents: e.registeredComponents || e.componentsContext.registeredComponents
685
- }, null, 8, ["block", "context", "registeredComponents"]))), 128)) : S("v-if", !0),
686
- e.blocks ? (d(!0), p(T, { key: 1 }, V(e.blocks, (c, u) => (d(), v(a, {
687
+ }, null, 8, ["block", "context", "registeredComponents"]))), 128)) : f("v-if", !0),
688
+ e.blocks ? (d(!0), u(C, { key: 1 }, A(e.blocks, (c, p) => (d(), k(a, {
687
689
  key: "block-style-" + c.id,
688
690
  block: c,
689
691
  context: e.context || e.builderContext
690
- }, null, 8, ["block", "context"]))), 128)) : S("v-if", !0)
692
+ }, null, 8, ["block", "context"]))), 128)) : f("v-if", !0)
691
693
  ]),
692
694
  _: 1
693
695
  }, 8, ["blocks", "parent", "path", "styleProp"]);
694
696
  }
695
- const ne = /* @__PURE__ */ y(Vt, [["render", Ot], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks.vue"]]), Nt = g({
697
+ const oe = /* @__PURE__ */ g(_t, [["render", Ot], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks.vue"]]), jt = b({
696
698
  name: "builder-columns",
697
- components: { InlinedStyles: G, Blocks: ne },
699
+ components: { InlinedStyles: q, Blocks: oe },
698
700
  props: [
699
701
  "js",
700
702
  "space",
@@ -711,7 +713,7 @@ const ne = /* @__PURE__ */ y(Vt, [["render", Ot], ["__file", "/home/runner/work/
711
713
  cols: this.columns || [],
712
714
  stackAt: this.stackColumnsAt || "tablet",
713
715
  flexDir: this.stackColumnsAt === "never" ? "row" : this.reverseColumnsWhenStacked ? "column-reverse" : "column",
714
- TARGET: A
716
+ TARGET: x
715
717
  };
716
718
  },
717
719
  computed: {
@@ -774,31 +776,31 @@ const ne = /* @__PURE__ */ y(Vt, [["render", Ot], ["__file", "/home/runner/work/
774
776
  return this.stackAt === "never" ? t : e;
775
777
  },
776
778
  columnCssVars(e) {
777
- const t = e === 0 ? 0 : this.gutterSize, n = this.getColumnCssWidth(e), o = `${t}px`, r = "100%", s = 0;
779
+ const t = e === 0 ? 0 : this.gutterSize, n = this.getColumnCssWidth(e), o = `${t}px`, i = "100%", r = 0;
778
780
  return {
779
781
  width: n,
780
782
  ["margin-left"]: o,
781
783
  "--column-width-mobile": this.getMobileStyle({
782
- stackedStyle: r,
784
+ stackedStyle: i,
783
785
  desktopStyle: n
784
786
  }),
785
787
  "--column-margin-left-mobile": this.getMobileStyle({
786
- stackedStyle: s,
788
+ stackedStyle: r,
787
789
  desktopStyle: o
788
790
  }),
789
791
  "--column-width-tablet": this.getTabletStyle({
790
- stackedStyle: r,
792
+ stackedStyle: i,
791
793
  desktopStyle: n
792
794
  }),
793
795
  "--column-margin-left-tablet": this.getTabletStyle({
794
- stackedStyle: s,
796
+ stackedStyle: r,
795
797
  desktopStyle: o
796
798
  })
797
799
  };
798
800
  },
799
801
  getWidthForBreakpointSize(e) {
800
802
  var n, o;
801
- return Ie(
803
+ return Te(
802
804
  ((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
803
805
  )[e].max;
804
806
  },
@@ -813,24 +815,24 @@ const ne = /* @__PURE__ */ y(Vt, [["render", Ot], ["__file", "/home/runner/work/
813
815
  }
814
816
  }
815
817
  });
816
- function jt(e, t, n, o, r, s) {
817
- const i = k("inlined-styles"), a = k("blocks");
818
- return d(), p("div", I({
818
+ function Nt(e, t, n, o, i, r) {
819
+ const s = y("inlined-styles"), a = y("blocks");
820
+ return d(), u("div", w({
819
821
  class: e._classStringToObject(
820
822
  `builder-columns ${e.builderBlock.id}-breakpoints div-16nol0lwi20`
821
823
  ),
822
824
  style: e.columnsCssVars
823
825
  }, {}), [
824
- e.TARGET !== "reactNative" ? (d(), v(i, {
826
+ e.TARGET !== "reactNative" ? (d(), k(s, {
825
827
  key: 0,
826
828
  styles: e.columnsStyles
827
- }, null, 8, ["styles"])) : S("v-if", !0),
828
- (d(!0), p(T, null, V(e.columns, (l, c) => (d(), p("div", I({
829
+ }, null, 8, ["styles"])) : f("v-if", !0),
830
+ (d(!0), u(C, null, A(e.columns, (l, c) => (d(), u("div", w({
829
831
  key: c,
830
832
  class: "builder-column div-16nol0lwi20-2",
831
833
  style: e.columnCssVars(c)
832
834
  }, {}), [
833
- O(a, {
835
+ B(a, {
834
836
  path: `component.options.columns.${c}.blocks`,
835
837
  parent: e.builderBlock.id,
836
838
  styleProp: {
@@ -843,47 +845,47 @@ function jt(e, t, n, o, r, s) {
843
845
  ], 16))), 128))
844
846
  ], 16);
845
847
  }
846
- const Ft = /* @__PURE__ */ y(Nt, [["render", jt], ["__scopeId", "data-v-7be099dc"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/columns/columns.vue"]]), Ut = g({
848
+ const Ut = /* @__PURE__ */ g(jt, [["render", Nt], ["__scopeId", "data-v-7be099dc"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/columns/columns.vue"]]), Ft = b({
847
849
  name: "builder-fragment-component",
848
850
  props: []
849
851
  });
850
- function Mt(e, t, n, o, r, s) {
851
- return d(), p("span", null, [
852
- N(e.$slots, "default")
852
+ function Wt(e, t, n, o, i, r) {
853
+ return d(), u("span", null, [
854
+ P(e.$slots, "default")
853
855
  ]);
854
856
  }
855
- const Wt = /* @__PURE__ */ y(Ut, [["render", Mt], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/fragment/fragment.vue"]]);
857
+ const Mt = /* @__PURE__ */ g(Ft, [["render", Wt], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/fragment/fragment.vue"]]);
856
858
  function ue(e) {
857
859
  return e.replace(/http(s)?:/, "");
858
860
  }
859
861
  function Lt(e = "", t, n) {
860
- const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
861
- return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
862
+ const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), i = e.indexOf("?") !== -1 ? "&" : "?";
863
+ return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + i + t + "=" + encodeURIComponent(n);
862
864
  }
863
- function Kt(e, t) {
865
+ function Ht(e, t) {
864
866
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
865
867
  return e;
866
868
  if (t === "master")
867
869
  return ue(e);
868
870
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
869
871
  if (n) {
870
- const o = e.split(n[0]), r = n[3], s = t.match("x") ? t : `${t}x`;
871
- return ue(`${o[0]}_${s}${r}`);
872
+ const o = e.split(n[0]), i = n[3], r = t.match("x") ? t : `${t}x`;
873
+ return ue(`${o[0]}_${r}${i}`);
872
874
  }
873
875
  return null;
874
876
  }
875
- function X(e) {
877
+ function Y(e) {
876
878
  if (!e)
877
879
  return e;
878
880
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
879
881
  if (e.match(/builder\.io/)) {
880
882
  let n = e;
881
883
  const o = Number(e.split("?width=")[1]);
882
- return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${Lt(e, "width", r)} ${r}w`).concat([n]).join(", ");
884
+ return isNaN(o) || (n = `${n} ${o}w`), t.filter((i) => i !== o).map((i) => `${Lt(e, "width", i)} ${i}w`).concat([n]).join(", ");
883
885
  }
884
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Kt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
886
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Ht(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
885
887
  }
886
- const Ht = g({
888
+ const Kt = b({
887
889
  name: "builder-image",
888
890
  props: [
889
891
  "image",
@@ -907,10 +909,10 @@ const Ht = g({
907
909
  return this.srcset;
908
910
  if (this.srcset && ((n = this.image) == null ? void 0 : n.includes("builder.io/api/v1/image"))) {
909
911
  if (!this.srcset.includes(this.image.split("?")[0]))
910
- return console.debug("Removed given srcset"), X(t);
912
+ return console.debug("Removed given srcset"), Y(t);
911
913
  } else if (this.image && !this.srcset)
912
- return X(t);
913
- return X(t);
914
+ return Y(t);
915
+ return Y(t);
914
916
  },
915
917
  webpSrcSet() {
916
918
  var e;
@@ -939,24 +941,24 @@ const Ht = g({
939
941
  }
940
942
  }
941
943
  });
942
- const zt = ["srcset"], Dt = ["alt", "role", "src", "srcset", "sizes"], qt = {
944
+ const Dt = ["srcset"], zt = ["alt", "role", "src", "srcset", "sizes"], qt = {
943
945
  key: 2,
944
946
  class: "div-1be3j8m9ewb-2"
945
947
  };
946
- function Gt(e, t, n, o, r, s) {
947
- var i, a, l, c;
948
- return d(), p(T, null, [
949
- ae("picture", null, [
950
- e.webpSrcSet ? (d(), p("source", {
948
+ function Gt(e, t, n, o, i, r) {
949
+ var s, a, l, c;
950
+ return d(), u(C, null, [
951
+ Q("picture", null, [
952
+ e.webpSrcSet ? (d(), u("source", {
951
953
  key: 0,
952
954
  type: "image/webp",
953
955
  srcset: e.webpSrcSet
954
- }, null, 8, zt)) : S("v-if", !0),
955
- ae("img", {
956
+ }, null, 8, Dt)) : f("v-if", !0),
957
+ Q("img", {
956
958
  loading: "lazy",
957
959
  alt: e.altText,
958
960
  role: e.altText ? "presentation" : void 0,
959
- style: le({
961
+ style: X({
960
962
  objectPosition: e.backgroundPosition || "center",
961
963
  objectFit: e.backgroundSize || "cover",
962
964
  ...e.aspectRatioCss
@@ -969,30 +971,30 @@ function Gt(e, t, n, o, r, s) {
969
971
  src: e.image,
970
972
  srcset: e.srcSetToUse,
971
973
  sizes: e.sizes
972
- }, null, 14, Dt)
974
+ }, null, 14, zt)
973
975
  ]),
974
- e.aspectRatio && !(((a = (i = e.builderBlock) == null ? void 0 : i.children) == null ? void 0 : a.length) && e.fitContent) ? (d(), p("div", {
976
+ e.aspectRatio && !(((a = (s = e.builderBlock) == null ? void 0 : s.children) == null ? void 0 : a.length) && e.fitContent) ? (d(), u("div", {
975
977
  key: 0,
976
978
  class: "builder-image-sizer div-1be3j8m9ewb",
977
- style: le({
979
+ style: X({
978
980
  paddingTop: e.aspectRatio * 100 + "%"
979
981
  })
980
- }, null, 4)) : S("v-if", !0),
981
- ((c = (l = e.builderBlock) == null ? void 0 : l.children) == null ? void 0 : c.length) && e.fitContent ? N(e.$slots, "default", { key: 1 }, void 0, !0) : S("v-if", !0),
982
- !e.fitContent && e.$slots.default ? (d(), p("div", qt, [
983
- N(e.$slots, "default", {}, void 0, !0)
984
- ])) : S("v-if", !0)
982
+ }, null, 4)) : f("v-if", !0),
983
+ ((c = (l = e.builderBlock) == null ? void 0 : l.children) == null ? void 0 : c.length) && e.fitContent ? P(e.$slots, "default", { key: 1 }, void 0, !0) : f("v-if", !0),
984
+ !e.fitContent && e.$slots.default ? (d(), u("div", qt, [
985
+ P(e.$slots, "default", {}, void 0, !0)
986
+ ])) : f("v-if", !0)
985
987
  ], 64);
986
988
  }
987
- const Jt = /* @__PURE__ */ y(Ht, [["render", Gt], ["__scopeId", "data-v-58ca75d1"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/image/image.vue"]]), Yt = g({
989
+ const Jt = /* @__PURE__ */ g(Kt, [["render", Gt], ["__scopeId", "data-v-58ca75d1"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/image/image.vue"]]), Yt = b({
988
990
  name: "builder-section-component",
989
991
  props: ["attributes", "maxWidth"],
990
992
  data() {
991
- return { filterAttrs: q };
993
+ return { filterAttrs: z };
992
994
  }
993
995
  });
994
- function Xt(e, t, n, o, r, s) {
995
- return d(), p("section", I({
996
+ function Qt(e, t, n, o, i, r) {
997
+ return d(), u("section", w({
996
998
  style: {
997
999
  width: "100%",
998
1000
  alignSelf: "stretch",
@@ -1005,11 +1007,11 @@ function Xt(e, t, n, o, r, s) {
1005
1007
  marginLeft: "auto",
1006
1008
  marginRight: "auto"
1007
1009
  }
1008
- }, e.filterAttrs(e.attributes, "v-on:", !1), F(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1009
- N(e.$slots, "default")
1010
+ }, e.filterAttrs(e.attributes, "v-on:", !1), N(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1011
+ P(e.$slots, "default")
1010
1012
  ], 16);
1011
1013
  }
1012
- const Qt = /* @__PURE__ */ y(Yt, [["render", Xt], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/section/section.vue"]]), Zt = (e) => {
1014
+ const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/section/section.vue"]]), Zt = (e) => {
1013
1015
  if (e === "localhost" || e === "127.0.0.1")
1014
1016
  return e;
1015
1017
  const t = e.split(".");
@@ -1022,17 +1024,17 @@ const Qt = /* @__PURE__ */ y(Yt, [["render", Xt], ["__file", "/home/runner/work/
1022
1024
  try {
1023
1025
  return t ? (n = document.cookie.split("; ").find((o) => o.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
1024
1026
  } catch (o) {
1025
- x.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
1027
+ $.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
1026
1028
  return;
1027
1029
  }
1028
- }, Pe = async (e) => Ee(e), en = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(B).join("; "), tn = [["secure", ""], ["SameSite", "None"]], nn = ({
1030
+ }, Pe = async (e) => Ee(e), en = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(T).join("; "), tn = [["secure", ""], ["SameSite", "None"]], nn = ({
1029
1031
  name: e,
1030
1032
  value: t,
1031
1033
  expires: n
1032
1034
  }) => {
1033
- const r = (w() ? location.protocol === "https:" : !0) ? tn : [[]], s = n ? [["expires", n.toUTCString()]] : [[]], i = [[e, t], ...s, ["path", "/"], ["domain", Zt(window.location.hostname)], ...r];
1034
- return en(i);
1035
- }, Be = async ({
1035
+ const i = (v() ? location.protocol === "https:" : !0) ? tn : [[]], r = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...r, ["path", "/"], ["domain", Zt(window.location.hostname)], ...i];
1036
+ return en(s);
1037
+ }, Ae = async ({
1036
1038
  name: e,
1037
1039
  value: t,
1038
1040
  expires: n,
@@ -1041,54 +1043,54 @@ const Qt = /* @__PURE__ */ y(Yt, [["render", Xt], ["__file", "/home/runner/work/
1041
1043
  try {
1042
1044
  if (!o)
1043
1045
  return;
1044
- const r = nn({
1046
+ const i = nn({
1045
1047
  name: e,
1046
1048
  value: t,
1047
1049
  expires: n
1048
1050
  });
1049
- document.cookie = r;
1050
- } catch (r) {
1051
- x.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
1051
+ document.cookie = i;
1052
+ } catch (i) {
1053
+ $.warn("[COOKIE] SET error: ", (i == null ? void 0 : i.message) || i);
1052
1054
  }
1053
- }, on = "builder.tests", oe = (e) => `${on}.${e}`, rn = ({
1055
+ }, on = "builder.tests", ie = (e) => `${on}.${e}`, rn = ({
1054
1056
  contentId: e
1055
1057
  }) => Pe({
1056
- name: oe(e),
1058
+ name: ie(e),
1057
1059
  canTrack: !0
1058
1060
  }), sn = ({
1059
1061
  contentId: e
1060
1062
  }) => Ee({
1061
- name: oe(e),
1063
+ name: ie(e),
1062
1064
  canTrack: !0
1063
1065
  }), an = ({
1064
1066
  contentId: e,
1065
1067
  value: t
1066
- }) => Be({
1067
- name: oe(e),
1068
+ }) => Ae({
1069
+ name: ie(e),
1068
1070
  value: t,
1069
1071
  canTrack: !0
1070
- }), Ae = (e) => B(e.id) && B(e.variations) && Object.keys(e.variations).length > 0, ln = ({
1072
+ }), Be = (e) => T(e.id) && T(e.variations) && Object.keys(e.variations).length > 0, ln = ({
1071
1073
  id: e,
1072
1074
  variations: t
1073
1075
  }) => {
1074
- var r;
1076
+ var i;
1075
1077
  let n = 0;
1076
1078
  const o = Math.random();
1077
- for (const s in t) {
1078
- const i = (r = t[s]) == null ? void 0 : r.testRatio;
1079
- if (n += i, o < n)
1080
- return s;
1079
+ for (const r in t) {
1080
+ const s = (i = t[r]) == null ? void 0 : i.testRatio;
1081
+ if (n += s, o < n)
1082
+ return r;
1081
1083
  }
1082
1084
  return e;
1083
- }, _e = (e) => {
1085
+ }, Ve = (e) => {
1084
1086
  const t = ln(e);
1085
1087
  return an({
1086
1088
  contentId: e.id,
1087
1089
  value: t
1088
1090
  }).catch((n) => {
1089
- x.error("could not store A/B test variation: ", n);
1091
+ $.error("could not store A/B test variation: ", n);
1090
1092
  }), t;
1091
- }, Ve = ({
1093
+ }, _e = ({
1092
1094
  item: e,
1093
1095
  testGroupId: t
1094
1096
  }) => {
@@ -1109,14 +1111,14 @@ const Qt = /* @__PURE__ */ y(Yt, [["render", Xt], ["__file", "/home/runner/work/
1109
1111
  return e;
1110
1112
  if (!e)
1111
1113
  return;
1112
- if (!Ae(e))
1114
+ if (!Be(e))
1113
1115
  return e;
1114
1116
  const n = sn({
1115
1117
  contentId: e.id
1116
- }) || _e({
1118
+ }) || Ve({
1117
1119
  variations: e.variations,
1118
1120
  id: e.id
1119
- }), o = Ve({
1121
+ }), o = _e({
1120
1122
  item: e,
1121
1123
  testGroupId: n
1122
1124
  });
@@ -1128,22 +1130,22 @@ const Qt = /* @__PURE__ */ y(Yt, [["render", Xt], ["__file", "/home/runner/work/
1128
1130
  item: e,
1129
1131
  canTrack: t
1130
1132
  }) => {
1131
- if (!t || !Ae(e))
1133
+ if (!t || !Be(e))
1132
1134
  return e;
1133
1135
  const o = await rn({
1134
1136
  contentId: e.id
1135
- }) || _e({
1137
+ }) || Ve({
1136
1138
  variations: e.variations,
1137
1139
  id: e.id
1138
- }), r = Ve({
1140
+ }), i = _e({
1139
1141
  item: e,
1140
1142
  testGroupId: o
1141
1143
  });
1142
1144
  return {
1143
1145
  ...e,
1144
- ...r
1146
+ ...i
1145
1147
  };
1146
- }, U = (e) => B(e) ? e : !0, un = {
1148
+ }, U = (e) => T(e) ? e : !0, un = {
1147
1149
  name: "Core:Button",
1148
1150
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1149
1151
  defaultStyles: {
@@ -1353,7 +1355,7 @@ const Qt = /* @__PURE__ */ y(Yt, [["render", Xt], ["__file", "/home/runner/work/
1353
1355
  });
1354
1356
  }
1355
1357
  const n = e.get("columns");
1356
- Array.isArray(n) && !!n.find((r) => r.get("width")) && (!!n.find((s) => !s.get("width")) || n.reduce((a, l) => a + l.get("width"), 0) !== 100) && t();
1358
+ Array.isArray(n) && !!n.find((i) => i.get("width")) && (!!n.find((r) => !r.get("width")) || n.reduce((a, l) => a + l.get("width"), 0) !== 100) && t();
1357
1359
  }
1358
1360
  }, {
1359
1361
  name: "space",
@@ -1397,7 +1399,7 @@ const Qt = /* @__PURE__ */ y(Yt, [["render", Xt], ["__file", "/home/runner/work/
1397
1399
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
1398
1400
  advanced: !0
1399
1401
  }]
1400
- }, hn = g({
1402
+ }, hn = b({
1401
1403
  name: "builder-custom-code",
1402
1404
  props: ["replaceNodes", "code"],
1403
1405
  data() {
@@ -1414,8 +1416,8 @@ const Qt = /* @__PURE__ */ y(Yt, [["render", Xt], ["__file", "/home/runner/work/
1414
1416
  if (this.scriptsInserted.includes(o.src))
1415
1417
  continue;
1416
1418
  this.scriptsInserted.push(o.src);
1417
- const r = document.createElement("script");
1418
- r.async = !0, r.src = o.src, document.head.appendChild(r);
1419
+ const i = document.createElement("script");
1420
+ i.async = !0, i.src = o.src, document.head.appendChild(i);
1419
1421
  } else if (!o.type || [
1420
1422
  "text/javascript",
1421
1423
  "application/javascript",
@@ -1425,8 +1427,8 @@ const Qt = /* @__PURE__ */ y(Yt, [["render", Xt], ["__file", "/home/runner/work/
1425
1427
  continue;
1426
1428
  try {
1427
1429
  this.scriptsRun.push(o.innerText), new Function(o.innerText)();
1428
- } catch (r) {
1429
- console.warn("`CustomCode`: Error running script:", r);
1430
+ } catch (i) {
1431
+ console.warn("`CustomCode`: Error running script:", i);
1430
1432
  }
1431
1433
  }
1432
1434
  }
@@ -1443,8 +1445,8 @@ const Qt = /* @__PURE__ */ y(Yt, [["render", Xt], ["__file", "/home/runner/work/
1443
1445
  }
1444
1446
  }
1445
1447
  }), fn = ["innerHTML"];
1446
- function bn(e, t, n, o, r, s) {
1447
- return d(), p("div", {
1448
+ function bn(e, t, n, o, i, r) {
1449
+ return d(), u("div", {
1448
1450
  ref: "elementRef",
1449
1451
  class: Ce(
1450
1452
  e._classStringToObject(
@@ -1454,7 +1456,7 @@ function bn(e, t, n, o, r, s) {
1454
1456
  innerHTML: e.code
1455
1457
  }, null, 10, fn);
1456
1458
  }
1457
- const gn = /* @__PURE__ */ y(hn, [["render", bn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/custom-code/custom-code.vue"]]), yn = {
1459
+ const gn = /* @__PURE__ */ g(hn, [["render", bn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/custom-code/custom-code.vue"]]), yn = {
1458
1460
  name: "Embed",
1459
1461
  static: !0,
1460
1462
  inputs: [{
@@ -1479,7 +1481,7 @@ const gn = /* @__PURE__ */ y(hn, [["render", bn], ["__file", "/home/runner/work/
1479
1481
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
1480
1482
  hideFromUI: !0
1481
1483
  }]
1482
- }, kn = ["text/javascript", "application/javascript", "application/ecmascript"], vn = (e) => kn.includes(e.type), Sn = g({
1484
+ }, kn = ["text/javascript", "application/javascript", "application/ecmascript"], vn = (e) => kn.includes(e.type), Sn = b({
1483
1485
  name: "builder-embed",
1484
1486
  props: ["content"],
1485
1487
  data() {
@@ -1522,20 +1524,20 @@ const gn = /* @__PURE__ */ y(hn, [["render", bn], ["__file", "/home/runner/work/
1522
1524
  }
1523
1525
  }
1524
1526
  }), Cn = ["innerHTML"];
1525
- function wn(e, t, n, o, r, s) {
1526
- return d(), p("div", {
1527
+ function wn(e, t, n, o, i, r) {
1528
+ return d(), u("div", {
1527
1529
  class: "builder-embed",
1528
1530
  ref: "elem",
1529
1531
  innerHTML: e.content
1530
1532
  }, null, 8, Cn);
1531
1533
  }
1532
- const $n = /* @__PURE__ */ y(Sn, [["render", wn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/embed/embed.vue"]]), Rn = {
1534
+ const In = /* @__PURE__ */ g(Sn, [["render", wn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/embed/embed.vue"]]), $n = {
1533
1535
  name: "Fragment",
1534
1536
  static: !0,
1535
1537
  hidden: !0,
1536
1538
  canHaveChildren: !0,
1537
1539
  noWrap: !0
1538
- }, Tn = {
1540
+ }, Rn = {
1539
1541
  name: "Image",
1540
1542
  static: !0,
1541
1543
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -1555,29 +1557,29 @@ const $n = /* @__PURE__ */ y(Sn, [["render", wn], ["__file", "/home/runner/work/
1555
1557
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
1556
1558
  onChange: (e) => {
1557
1559
  e.delete("srcset"), e.delete("noWebp");
1558
- function n(i, a = 6e4) {
1560
+ function n(s, a = 6e4) {
1559
1561
  return new Promise((l, c) => {
1560
- const u = document.createElement("img");
1562
+ const p = document.createElement("img");
1561
1563
  let h = !1;
1562
- u.onload = () => {
1563
- h = !0, l(u);
1564
- }, u.addEventListener("error", (m) => {
1564
+ p.onload = () => {
1565
+ h = !0, l(p);
1566
+ }, p.addEventListener("error", (m) => {
1565
1567
  console.warn("Image load failed", m.error), c(m.error);
1566
- }), u.src = i, setTimeout(() => {
1568
+ }), p.src = s, setTimeout(() => {
1567
1569
  h || c(new Error("Image load timed out"));
1568
1570
  }, a);
1569
1571
  });
1570
1572
  }
1571
- function o(i) {
1572
- return Math.round(i * 1e3) / 1e3;
1573
+ function o(s) {
1574
+ return Math.round(s * 1e3) / 1e3;
1573
1575
  }
1574
- const r = e.get("image"), s = e.get("aspectRatio");
1575
- if (fetch(r).then((i) => i.blob()).then((i) => {
1576
- i.type.includes("svg") && e.set("noWebp", !0);
1577
- }), r && (!s || s === 0.7041))
1578
- return n(r).then((i) => {
1576
+ const i = e.get("image"), r = e.get("aspectRatio");
1577
+ if (fetch(i).then((s) => s.blob()).then((s) => {
1578
+ s.type.includes("svg") && e.set("noWebp", !0);
1579
+ }), i && (!r || r === 0.7041))
1580
+ return n(i).then((s) => {
1579
1581
  const a = e.get("aspectRatio");
1580
- e.get("image") === r && (!a || a === 0.7041) && i.width && i.height && (e.set("aspectRatio", o(i.height / i.width)), e.set("height", i.height), e.set("width", i.width));
1582
+ e.get("image") === i && (!a || a === 0.7041) && s.width && s.height && (e.set("aspectRatio", o(s.height / s.width)), e.set("height", s.height), e.set("width", s.width));
1581
1583
  });
1582
1584
  }
1583
1585
  }, {
@@ -1635,7 +1637,7 @@ const $n = /* @__PURE__ */ y(Sn, [["render", wn], ["__file", "/home/runner/work/
1635
1637
  advanced: !0,
1636
1638
  defaultValue: 0.7041
1637
1639
  }]
1638
- }, In = {
1640
+ }, Tn = {
1639
1641
  name: "Raw:Img",
1640
1642
  hideFromInsertMenu: !0,
1641
1643
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -1648,7 +1650,7 @@ const $n = /* @__PURE__ */ y(Sn, [["render", wn], ["__file", "/home/runner/work/
1648
1650
  }],
1649
1651
  noWrap: !0,
1650
1652
  static: !0
1651
- }, xn = g({
1653
+ }, xn = b({
1652
1654
  name: "builder-img-component",
1653
1655
  props: [
1654
1656
  "backgroundSize",
@@ -1659,11 +1661,11 @@ const $n = /* @__PURE__ */ y(Sn, [["render", wn], ["__file", "/home/runner/work/
1659
1661
  "attributes"
1660
1662
  ],
1661
1663
  data() {
1662
- return { isEditing: P, filterAttrs: q };
1664
+ return { isEditing: R, filterAttrs: z };
1663
1665
  }
1664
1666
  }), En = ["alt", "src"];
1665
- function Pn(e, t, n, o, r, s) {
1666
- return d(), p("img", I({
1667
+ function Pn(e, t, n, o, i, r) {
1668
+ return d(), u("img", w({
1667
1669
  style: {
1668
1670
  objectFit: e.backgroundSize || "cover",
1669
1671
  objectPosition: e.backgroundPosition || "center"
@@ -1671,9 +1673,9 @@ function Pn(e, t, n, o, r, s) {
1671
1673
  key: e.isEditing() && e.imgSrc || "default-key",
1672
1674
  alt: e.altText,
1673
1675
  src: e.imgSrc || e.image
1674
- }, e.filterAttrs(e.attributes, "v-on:", !1), F(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, En);
1676
+ }, e.filterAttrs(e.attributes, "v-on:", !1), N(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, En);
1675
1677
  }
1676
- const Bn = /* @__PURE__ */ y(xn, [["render", Pn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/img/img.vue"]]), An = {
1678
+ const An = /* @__PURE__ */ g(xn, [["render", Pn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/img/img.vue"]]), Bn = {
1677
1679
  name: "Core:Section",
1678
1680
  static: !0,
1679
1681
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -1712,7 +1714,7 @@ const Bn = /* @__PURE__ */ y(xn, [["render", Pn], ["__file", "/home/runner/work/
1712
1714
  }
1713
1715
  }
1714
1716
  }]
1715
- }, _n = {
1717
+ }, Vn = {
1716
1718
  name: "Symbol",
1717
1719
  noWrap: !0,
1718
1720
  static: !0,
@@ -1745,7 +1747,7 @@ const Bn = /* @__PURE__ */ y(xn, [["render", Pn], ["__file", "/home/runner/work/
1745
1747
  hideFromUI: !0,
1746
1748
  type: "boolean"
1747
1749
  }]
1748
- }, Vn = {
1750
+ }, _n = {
1749
1751
  name: "Text",
1750
1752
  static: !0,
1751
1753
  isRSC: !0,
@@ -1763,21 +1765,21 @@ const Bn = /* @__PURE__ */ y(xn, [["render", Pn], ["__file", "/home/runner/work/
1763
1765
  height: "auto",
1764
1766
  textAlign: "center"
1765
1767
  }
1766
- }, On = g({
1768
+ }, On = b({
1767
1769
  name: "builder-text",
1768
1770
  props: ["text"]
1769
- }), Nn = ["innerHTML"];
1770
- function jn(e, t, n, o, r, s) {
1771
- var i;
1772
- return d(), p("div", {
1771
+ }), jn = ["innerHTML"];
1772
+ function Nn(e, t, n, o, i, r) {
1773
+ var s;
1774
+ return d(), u("div", {
1773
1775
  class: "builder-text",
1774
- innerHTML: ((i = e.text) == null ? void 0 : i.toString()) || "",
1776
+ innerHTML: ((s = e.text) == null ? void 0 : s.toString()) || "",
1775
1777
  style: {
1776
1778
  outline: "none"
1777
1779
  }
1778
- }, null, 8, Nn);
1780
+ }, null, 8, jn);
1779
1781
  }
1780
- const Fn = /* @__PURE__ */ y(On, [["render", jn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/text/text.vue"]]), Un = {
1782
+ const Un = /* @__PURE__ */ g(On, [["render", Nn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/text/text.vue"]]), Fn = {
1781
1783
  name: "Video",
1782
1784
  canHaveChildren: !0,
1783
1785
  defaultStyles: {
@@ -1858,7 +1860,7 @@ const Fn = /* @__PURE__ */ y(On, [["render", jn], ["__file", "/home/runner/work/
1858
1860
  defaultValue: !0,
1859
1861
  advanced: !0
1860
1862
  }]
1861
- }, Mn = g({
1863
+ }, Wn = b({
1862
1864
  name: "builder-video",
1863
1865
  props: [
1864
1866
  "autoPlay",
@@ -1866,12 +1868,16 @@ const Fn = /* @__PURE__ */ y(On, [["render", jn], ["__file", "/home/runner/work/
1866
1868
  "controls",
1867
1869
  "loop",
1868
1870
  "playsInline",
1869
- "attributes",
1870
1871
  "preload",
1872
+ "attributes",
1871
1873
  "fit",
1872
1874
  "position",
1875
+ "aspectRatio",
1873
1876
  "video",
1874
- "posterImage"
1877
+ "posterImage",
1878
+ "lazyLoad",
1879
+ "fitContent",
1880
+ "builderBlock"
1875
1881
  ],
1876
1882
  computed: {
1877
1883
  videoProps() {
@@ -1895,392 +1901,458 @@ const Fn = /* @__PURE__ */ y(On, [["render", jn], ["__file", "/home/runner/work/
1895
1901
  },
1896
1902
  spreadProps() {
1897
1903
  return {
1898
- ...this.attributes,
1899
1904
  ...this.videoProps
1900
1905
  };
1901
1906
  }
1902
1907
  }
1903
- }), Wn = ["preload", "src", "poster"];
1904
- function Ln(e, t, n, o, r, s) {
1905
- var i;
1906
- return d(), p("video", I({
1907
- preload: e.preload || "metadata",
1908
- style: {
1909
- width: "100%",
1910
- height: "100%",
1911
- ...(i = e.attributes) == null ? void 0 : i.style,
1912
- objectFit: e.fit,
1913
- objectPosition: e.position,
1914
- borderRadius: 1
1915
- },
1916
- src: e.video || "no-src",
1917
- poster: e.posterImage
1918
- }, e.spreadProps), null, 16, Wn);
1908
+ }), Mn = { style: {
1909
+ position: "relative"
1910
+ } }, Ln = ["preload", "src", "poster"], Hn = ["src"], Kn = {
1911
+ key: 1,
1912
+ style: {
1913
+ display: "flex",
1914
+ flexDirection: "column",
1915
+ alignItems: "stretch"
1916
+ }
1917
+ }, Dn = {
1918
+ key: 2,
1919
+ style: {
1920
+ pointerEvents: "none",
1921
+ display: "flex",
1922
+ flexDirection: "column",
1923
+ alignItems: "stretch",
1924
+ position: "absolute",
1925
+ top: "0",
1926
+ left: "0",
1927
+ width: "100%",
1928
+ height: "100%"
1929
+ }
1930
+ };
1931
+ function zn(e, t, n, o, i, r) {
1932
+ var s, a, l, c, p, h, m;
1933
+ return d(), u("div", Mn, [
1934
+ Q("video", w({
1935
+ class: "builder-video",
1936
+ preload: e.preload || "metadata",
1937
+ style: {
1938
+ width: "100%",
1939
+ height: "100%",
1940
+ ...(s = e.attributes) == null ? void 0 : s.style,
1941
+ objectFit: e.fit,
1942
+ objectPosition: e.position,
1943
+ zIndex: 2,
1944
+ borderRadius: "1px",
1945
+ ...e.aspectRatio ? {
1946
+ position: "absolute"
1947
+ } : null
1948
+ },
1949
+ src: e.video || "no-src",
1950
+ poster: e.posterImage
1951
+ }, e.spreadProps), [
1952
+ e.lazyLoad ? f("v-if", !0) : (d(), u("source", {
1953
+ key: 0,
1954
+ type: "video/mp4",
1955
+ src: e.video
1956
+ }, null, 8, Hn))
1957
+ ], 16, Ln),
1958
+ e.aspectRatio && !(e.fitContent && ((l = (a = e.builderBlock) == null ? void 0 : a.children) == null ? void 0 : l.length)) ? (d(), u("div", {
1959
+ key: 0,
1960
+ style: X({
1961
+ width: "100%",
1962
+ paddingTop: e.aspectRatio * 100 + "%",
1963
+ pointerEvents: "none",
1964
+ fontSize: "0px"
1965
+ })
1966
+ }, null, 4)) : f("v-if", !0),
1967
+ ((p = (c = e.builderBlock) == null ? void 0 : c.children) == null ? void 0 : p.length) && e.fitContent ? (d(), u("div", Kn, [
1968
+ P(e.$slots, "default")
1969
+ ])) : f("v-if", !0),
1970
+ ((m = (h = e.builderBlock) == null ? void 0 : h.children) == null ? void 0 : m.length) && !e.fitContent ? (d(), u("div", Dn, [
1971
+ P(e.$slots, "default")
1972
+ ])) : f("v-if", !0)
1973
+ ]);
1919
1974
  }
1920
- const Kn = /* @__PURE__ */ y(Mn, [["render", Ln], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/video/video.vue"]]), pe = () => [{
1975
+ const qn = /* @__PURE__ */ g(Wn, [["render", zn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/video/video.vue"]]), pe = () => [{
1921
1976
  component: Ze,
1922
1977
  ...un
1923
1978
  }, {
1924
- component: Ft,
1979
+ component: Ut,
1925
1980
  ...pn
1926
1981
  }, {
1927
1982
  component: gn,
1928
1983
  ...mn
1929
1984
  }, {
1930
- component: $n,
1985
+ component: In,
1931
1986
  ...yn
1932
1987
  }, {
1933
- component: Wt,
1934
- ...Rn
1988
+ component: Mt,
1989
+ ...$n
1935
1990
  }, {
1936
1991
  component: Jt,
1992
+ ...Rn
1993
+ }, {
1994
+ component: An,
1937
1995
  ...Tn
1938
1996
  }, {
1939
- component: Bn,
1940
- ...In
1997
+ component: Xt,
1998
+ ...Bn
1941
1999
  }, {
1942
- component: Qt,
1943
- ...An
2000
+ component: ti,
2001
+ ...Vn
1944
2002
  }, {
1945
- component: Xo,
2003
+ component: Un,
1946
2004
  ..._n
1947
2005
  }, {
1948
- component: Fn,
1949
- ...Vn
1950
- }, {
1951
- component: Kn,
1952
- ...Un
1953
- }], me = [], Hn = (e) => ({
2006
+ component: qn,
2007
+ ...Fn
2008
+ }], me = [], Gn = (e) => ({
1954
2009
  type: "builder.registerComponent",
1955
- data: Z(e)
1956
- }), zn = (e) => {
2010
+ data: ee(e)
2011
+ }), Jn = (e) => {
1957
2012
  const t = e.toString().trim();
1958
2013
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
1959
- }, Dn = (e) => typeof e == "function" ? zn(e) : M(e), Z = ({
2014
+ }, Yn = (e) => typeof e == "function" ? Jn(e) : F(e), ee = ({
1960
2015
  inputs: e,
1961
2016
  ...t
1962
2017
  }) => ({
1963
- ...M(t),
1964
- inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [r, s]) => ({
2018
+ ...F(t),
2019
+ inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [i, r]) => ({
1965
2020
  ...o,
1966
- [r]: Dn(s)
2021
+ [i]: Yn(r)
1967
2022
  }), {}))
1968
- }), K = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
1969
- ...t,
1970
- testVariationId: t.id,
1971
- id: e == null ? void 0 : e.id
1972
- })), qn = ({
1973
- canTrack: e,
1974
- content: t
1975
- }) => !(!(K(t).length > 0) || !e);
1976
- function Gn(e, t, n) {
1977
- var i;
1978
- function o() {
1979
- function a(C, $, R) {
1980
- let E = "";
1981
- if (R) {
1982
- const b = new Date();
1983
- b.setTime(b.getTime() + R * 24 * 60 * 60 * 1e3), E = "; expires=" + b.toUTCString();
2023
+ }), Qn = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
2024
+ function getAndSetVariantId() {
2025
+ function setCookie(name, value, days) {
2026
+ let expires = '';
2027
+ if (days) {
2028
+ const date = new Date();
2029
+ date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);
2030
+ expires = '; expires=' + date.toUTCString();
1984
2031
  }
1985
- document.cookie = C + "=" + ($ || "") + E + "; path=/; Secure; SameSite=None";
2032
+ document.cookie = name + '=' + (value || '') + expires + '; path=/' + '; Secure; SameSite=None';
1986
2033
  }
1987
- function l(C) {
1988
- const $ = C + "=", R = document.cookie.split(";");
1989
- for (let E = 0; E < R.length; E++) {
1990
- let b = R[E];
1991
- for (; b.charAt(0) === " "; )
1992
- b = b.substring(1, b.length);
1993
- if (b.indexOf($) === 0)
1994
- return b.substring($.length, b.length);
2034
+ function getCookie(name) {
2035
+ const nameEQ = name + '=';
2036
+ const ca = document.cookie.split(';');
2037
+ for (let i = 0; i < ca.length; i++) {
2038
+ let c = ca[i];
2039
+ while (c.charAt(0) === ' ') c = c.substring(1, c.length);
2040
+ if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);
1995
2041
  }
1996
2042
  return null;
1997
2043
  }
1998
- const c = `builder.tests.${e}`, u = l(c), h = t.map((C) => C.id).concat(e);
1999
- if (u && h.includes(u))
2000
- return u;
2001
- let m = 0;
2002
- const f = Math.random();
2003
- for (let C = 0; C < t.length; C++) {
2004
- const $ = t[C], R = $.testRatio;
2005
- if (m += R, f < m)
2006
- return a(c, $.id), $.id;
2044
+ const cookieName = \`builder.tests.\${contentId}\`;
2045
+ const variantInCookie = getCookie(cookieName);
2046
+ const availableIDs = variants.map(vr => vr.id).concat(contentId);
2047
+ if (variantInCookie && availableIDs.includes(variantInCookie)) {
2048
+ return variantInCookie;
2049
+ }
2050
+ let n = 0;
2051
+ const random = Math.random();
2052
+ for (let i = 0; i < variants.length; i++) {
2053
+ const variant = variants[i];
2054
+ const testRatio = variant.testRatio;
2055
+ n += testRatio;
2056
+ if (random < n) {
2057
+ setCookie(cookieName, variant.id);
2058
+ return variant.id;
2059
+ }
2007
2060
  }
2008
- return a(c, e), e;
2061
+ setCookie(cookieName, contentId);
2062
+ return contentId;
2009
2063
  }
2010
- const r = o(), s = (i = document.currentScript) == null ? void 0 : i.previousElementSibling;
2011
- if (n) {
2012
- s.remove();
2013
- const a = document.currentScript;
2014
- a == null || a.remove();
2064
+ const winningVariantId = getAndSetVariantId();
2065
+ const styleEl = document.currentScript?.previousElementSibling;
2066
+ if (isHydrationTarget) {
2067
+ styleEl.remove();
2068
+ const thisScriptEl = document.currentScript;
2069
+ thisScriptEl?.remove();
2015
2070
  } else {
2016
- const a = t.concat({
2017
- id: e
2018
- }).filter((l) => l.id !== r).map((l) => `.variant-${l.id} { display: none; }
2019
- `).join("");
2020
- s.innerHTML = a;
2071
+ const newStyleStr = variants.concat({
2072
+ id: contentId
2073
+ }).filter(variant => variant.id !== winningVariantId).map(value => {
2074
+ return \`.variant-\${value.id} { display: none; }
2075
+ \`;
2076
+ }).join('');
2077
+ styleEl.innerHTML = newStyleStr;
2021
2078
  }
2022
- }
2023
- function Jn(e, t, n) {
2024
- var l;
2025
- if (!navigator.cookieEnabled)
2079
+ }`, Xn = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
2080
+ if (!navigator.cookieEnabled) {
2026
2081
  return;
2027
- function o(c) {
2028
- const u = c + "=", h = document.cookie.split(";");
2029
- for (let m = 0; m < h.length; m++) {
2030
- let f = h[m];
2031
- for (; f.charAt(0) === " "; )
2032
- f = f.substring(1, f.length);
2033
- if (f.indexOf(u) === 0)
2034
- return f.substring(u.length, f.length);
2082
+ }
2083
+ function getCookie(name) {
2084
+ const nameEQ = name + '=';
2085
+ const ca = document.cookie.split(';');
2086
+ for (let i = 0; i < ca.length; i++) {
2087
+ let c = ca[i];
2088
+ while (c.charAt(0) === ' ') c = c.substring(1, c.length);
2089
+ if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);
2035
2090
  }
2036
2091
  return null;
2037
2092
  }
2038
- const r = `builder.tests.${t}`, s = o(r), i = (l = document.currentScript) == null ? void 0 : l.parentElement, a = e === t;
2039
- if (s === e) {
2040
- if (a)
2041
- return;
2042
- i == null || i.removeAttribute("hidden"), i == null || i.removeAttribute("aria-hidden");
2043
- } else {
2044
- a && (n ? i == null || i.remove() : (i == null || i.setAttribute("hidden", "true"), i == null || i.setAttribute("aria-hidden", "true")));
2045
- return;
2093
+ const cookieName = \`builder.tests.\${defaultContentId}\`;
2094
+ const winningVariant = getCookie(cookieName);
2095
+ const parentDiv = document.currentScript?.parentElement;
2096
+ const isDefaultContent = variantContentId === defaultContentId;
2097
+ const isWinningVariant = winningVariant === variantContentId;
2098
+ if (isWinningVariant && !isDefaultContent) {
2099
+ parentDiv?.removeAttribute('hidden');
2100
+ parentDiv?.removeAttribute('aria-hidden');
2101
+ } else if (!isWinningVariant && isDefaultContent) {
2102
+ parentDiv?.setAttribute('hidden', 'true');
2103
+ parentDiv?.setAttribute('aria-hidden', 'true');
2046
2104
  }
2047
- }
2048
- const Yn = (e) => e === "react" || e === "reactNative", Oe = Yn(A), Ne = "builderIoAbTest", je = "builderIoRenderContent", Xn = () => {
2049
- const e = Gn.toString().replace(/\s+/g, " "), t = Jn.toString().replace(/\s+/g, " ");
2050
- return `
2051
- window.${Ne} = ${e}
2052
- window.${je} = ${t}
2053
- `;
2054
- }, Qn = (e, t) => `
2055
- window.${Ne}("${t}",${JSON.stringify(e)}, ${Oe})`, Zn = ({
2105
+ if (isHydrationTarget) {
2106
+ if (!isWinningVariant) {
2107
+ parentDiv?.remove();
2108
+ }
2109
+ const thisScriptEl = document.currentScript;
2110
+ thisScriptEl?.remove();
2111
+ }
2112
+ return;
2113
+ }`, Oe = "builderIoAbTest", je = "builderIoRenderContent", L = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
2114
+ ...t,
2115
+ testVariationId: t.id,
2116
+ id: e == null ? void 0 : e.id
2117
+ })), Zn = ({
2118
+ canTrack: e,
2119
+ content: t
2120
+ }) => !(!(L(t).length > 0) || !e), eo = (e) => e === "react" || e === "reactNative", Ne = eo(x), to = () => `
2121
+ window.${Oe} = ${Qn}
2122
+ window.${je} = ${Xn}
2123
+ `, no = (e, t) => `
2124
+ window.${Oe}(
2125
+ "${t}",${JSON.stringify(e)}, ${Ne}
2126
+ )`, oo = ({
2056
2127
  contentId: e,
2057
2128
  variationId: t
2058
- }) => `
2059
- window.${je}("${t}", "${e}", ${Oe})`, eo = g({
2129
+ }) => `window.${je}(
2130
+ "${t}", "${e}", ${Ne}
2131
+ )`, io = b({
2060
2132
  render() {
2061
2133
  return Se("script", { id: this.id, innerHTML: this.scriptStr });
2062
2134
  },
2063
2135
  name: "inlined-script",
2064
2136
  props: ["scriptStr", "id"]
2065
- }), Fe = /* @__PURE__ */ y(eo, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/inlined-script.vue"]]);
2066
- function to() {
2137
+ }), Ue = /* @__PURE__ */ g(io, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/inlined-script.vue"]]);
2138
+ function ro() {
2067
2139
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
2068
2140
  }
2069
- function no() {
2070
- const e = to().fetch;
2141
+ function so() {
2142
+ const e = ro().fetch;
2071
2143
  if (typeof e > "u")
2072
2144
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
2073
2145
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
2074
2146
  return e;
2075
2147
  }
2076
- const Ue = no();
2148
+ const Fe = so();
2077
2149
  function H(e, t = null, n = ".") {
2078
- return Object.keys(e).reduce((o, r) => {
2079
- const s = e[r], i = [t, r].filter(Boolean).join(n);
2080
- return [typeof s == "object", s !== null, !(Array.isArray(s) && s.length === 0)].every(Boolean) ? {
2150
+ return Object.keys(e).reduce((o, i) => {
2151
+ const r = e[i], s = [t, i].filter(Boolean).join(n);
2152
+ return [typeof r == "object", r !== null, !(Array.isArray(r) && r.length === 0)].every(Boolean) ? {
2081
2153
  ...o,
2082
- ...H(s, i, n)
2154
+ ...H(r, s, n)
2083
2155
  } : {
2084
2156
  ...o,
2085
- [i]: s
2157
+ [s]: r
2086
2158
  };
2087
2159
  }, {});
2088
2160
  }
2089
- const oo = "v3", he = "builder.", ro = "options.", so = (e) => {
2161
+ const ao = "v3", he = "builder.", lo = "options.", co = (e) => {
2090
2162
  const t = {};
2091
2163
  return e.forEach((n, o) => {
2092
2164
  t[o] = n;
2093
2165
  }), t;
2094
- }, Me = (e) => {
2166
+ }, We = (e) => {
2095
2167
  if (!e)
2096
2168
  return {};
2097
- const t = We(e), n = {};
2169
+ const t = Me(e), n = {};
2098
2170
  return Object.keys(t).forEach((o) => {
2099
2171
  if (o.startsWith(he)) {
2100
- const r = o.replace(he, "").replace(ro, "");
2101
- n[r] = t[o];
2172
+ const i = o.replace(he, "").replace(lo, "");
2173
+ n[i] = t[o];
2102
2174
  }
2103
2175
  }), n;
2104
- }, io = () => {
2105
- if (!w())
2176
+ }, uo = () => {
2177
+ if (!v())
2106
2178
  return {};
2107
2179
  const e = new URLSearchParams(window.location.search);
2108
- return Me(e);
2109
- }, We = (e) => e instanceof URLSearchParams ? so(e) : e, fe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, re = (e) => {
2180
+ return We(e);
2181
+ }, Me = (e) => e instanceof URLSearchParams ? co(e) : e, fe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, re = (e) => {
2110
2182
  let {
2111
2183
  noTraverse: t = !1
2112
2184
  } = e;
2113
2185
  const {
2114
2186
  limit: n = 30,
2115
2187
  userAttributes: o,
2116
- query: r,
2117
- model: s,
2118
- apiKey: i,
2188
+ query: i,
2189
+ model: r,
2190
+ apiKey: s,
2119
2191
  includeRefs: a = !0,
2120
2192
  enrich: l,
2121
2193
  locale: c,
2122
- apiVersion: u = oo,
2194
+ apiVersion: p = ao,
2123
2195
  fields: h,
2124
2196
  omit: m,
2125
- offset: f,
2126
- cacheSeconds: C,
2127
- staleCacheSeconds: $,
2128
- sort: R,
2129
- includeUnpublished: E
2197
+ offset: S,
2198
+ cacheSeconds: V,
2199
+ staleCacheSeconds: _,
2200
+ sort: O,
2201
+ includeUnpublished: se
2130
2202
  } = e;
2131
- if (!i)
2203
+ if (!s)
2132
2204
  throw new Error("Missing API key");
2133
- if (!["v2", "v3"].includes(u))
2134
- throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${u}'`);
2205
+ if (!["v2", "v3"].includes(p))
2206
+ throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${p}'`);
2135
2207
  (e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
2136
- const b = new URL(`https://cdn.builder.io/api/${u}/content/${s}?apiKey=${i}&limit=${n}&noTraverse=${t}&includeRefs=${a}${c ? `&locale=${c}` : ""}${l ? `&enrich=${l}` : ""}`);
2137
- if (b.searchParams.set("omit", m || "meta.componentsUsed"), h && b.searchParams.set("fields", h), Number.isFinite(f) && f > -1 && b.searchParams.set("offset", String(Math.floor(f))), typeof E == "boolean" && b.searchParams.set("includeUnpublished", String(E)), C && fe(C) && b.searchParams.set("cacheSeconds", String(C)), $ && fe($) && b.searchParams.set("staleCacheSeconds", String($)), R) {
2138
- const _ = H({
2139
- sort: R
2208
+ const I = new URL(`https://cdn.builder.io/api/${p}/content/${r}?apiKey=${s}&limit=${n}&noTraverse=${t}&includeRefs=${a}${c ? `&locale=${c}` : ""}${l ? `&enrich=${l}` : ""}`);
2209
+ if (I.searchParams.set("omit", m || "meta.componentsUsed"), h && I.searchParams.set("fields", h), Number.isFinite(S) && S > -1 && I.searchParams.set("offset", String(Math.floor(S))), typeof se == "boolean" && I.searchParams.set("includeUnpublished", String(se)), V && fe(V) && I.searchParams.set("cacheSeconds", String(V)), _ && fe(_) && I.searchParams.set("staleCacheSeconds", String(_)), O) {
2210
+ const E = H({
2211
+ sort: O
2140
2212
  });
2141
- for (const j in _)
2142
- b.searchParams.set(j, JSON.stringify(_[j]));
2213
+ for (const j in E)
2214
+ I.searchParams.set(j, JSON.stringify(E[j]));
2143
2215
  }
2144
2216
  const Ge = {
2145
- ...io(),
2146
- ...We(e.options || {})
2147
- }, se = H(Ge);
2148
- for (const _ in se)
2149
- b.searchParams.set(_, String(se[_]));
2150
- if (o && b.searchParams.set("userAttributes", JSON.stringify(o)), r) {
2151
- const _ = H({
2152
- query: r
2217
+ ...uo(),
2218
+ ...Me(e.options || {})
2219
+ }, ae = H(Ge);
2220
+ for (const E in ae)
2221
+ I.searchParams.set(E, String(ae[E]));
2222
+ if (o && I.searchParams.set("userAttributes", JSON.stringify(o)), i) {
2223
+ const E = H({
2224
+ query: i
2153
2225
  });
2154
- for (const j in _)
2155
- b.searchParams.set(j, JSON.stringify(_[j]));
2226
+ for (const j in E)
2227
+ I.searchParams.set(j, JSON.stringify(E[j]));
2156
2228
  }
2157
- return b;
2158
- }, ao = (e) => "results" in e;
2159
- async function J(e) {
2229
+ return I;
2230
+ }, po = (e) => "results" in e;
2231
+ async function G(e) {
2160
2232
  const t = await Le({
2161
2233
  ...e,
2162
2234
  limit: 1
2163
2235
  });
2164
2236
  return t && t.results[0] || null;
2165
2237
  }
2166
- const er = J, lo = async (e) => {
2238
+ const ii = G, mo = async (e) => {
2167
2239
  const t = re(e);
2168
- return await (await Ue(t.href)).json();
2169
- }, co = async (e, t, n = re(e)) => {
2240
+ return await (await Fe(t.href)).json();
2241
+ }, ho = async (e, t, n = re(e)) => {
2170
2242
  const o = U(e.canTrack);
2171
- if (n.search.includes("preview="), !o || !(w() || A === "reactNative"))
2243
+ if (n.search.includes("preview="), !o || !(v() || x === "reactNative"))
2172
2244
  return t;
2173
2245
  try {
2174
- const r = [];
2175
- for (const s of t.results)
2176
- r.push(await dn({
2177
- item: s,
2246
+ const i = [];
2247
+ for (const r of t.results)
2248
+ i.push(await dn({
2249
+ item: r,
2178
2250
  canTrack: o
2179
2251
  }));
2180
- t.results = r;
2181
- } catch (r) {
2182
- x.error("Could not process A/B tests. ", r);
2252
+ t.results = i;
2253
+ } catch (i) {
2254
+ $.error("Could not process A/B tests. ", i);
2183
2255
  }
2184
2256
  return t;
2185
2257
  };
2186
2258
  async function Le(e) {
2187
2259
  try {
2188
- const t = re(e), n = await lo(e);
2189
- return ao(n) ? co(e, n) : (x.error("Error fetching data. ", {
2260
+ const t = re(e), n = await mo(e);
2261
+ return po(n) ? ho(e, n) : ($.error("Error fetching data. ", {
2190
2262
  url: t,
2191
2263
  content: n,
2192
2264
  options: e
2193
2265
  }), null);
2194
2266
  } catch (t) {
2195
- return x.error("Error fetching data. ", t), null;
2267
+ return $.error("Error fetching data. ", t), null;
2196
2268
  }
2197
2269
  }
2198
- const tr = Le;
2199
- function uo() {
2200
- return !w() || P() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
2270
+ const ri = Le;
2271
+ function fo() {
2272
+ return !v() || R() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
2201
2273
  }
2202
- function po() {
2274
+ function bo() {
2203
2275
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
2204
2276
  const t = Math.random() * 16 | 0;
2205
2277
  return (e == "x" ? t : t & 3 | 8).toString(16);
2206
2278
  });
2207
2279
  }
2208
- function Ke() {
2209
- return po().replace(/-/g, "");
2280
+ function He() {
2281
+ return bo().replace(/-/g, "");
2210
2282
  }
2211
- const He = "builderSessionId", mo = async ({
2283
+ const Ke = "builderSessionId", go = async ({
2212
2284
  canTrack: e
2213
2285
  }) => {
2214
2286
  if (!e)
2215
2287
  return;
2216
2288
  const t = await Pe({
2217
- name: He,
2289
+ name: Ke,
2218
2290
  canTrack: e
2219
2291
  });
2220
- if (B(t))
2292
+ if (T(t))
2221
2293
  return t;
2222
2294
  {
2223
- const n = ho();
2224
- return fo({
2295
+ const n = yo();
2296
+ return ko({
2225
2297
  id: n,
2226
2298
  canTrack: e
2227
2299
  }), n;
2228
2300
  }
2229
- }, ho = () => Ke(), fo = ({
2301
+ }, yo = () => He(), ko = ({
2230
2302
  id: e,
2231
2303
  canTrack: t
2232
- }) => Be({
2233
- name: He,
2304
+ }) => Ae({
2305
+ name: Ke,
2234
2306
  value: e,
2235
2307
  canTrack: t
2236
- }), ze = () => w() && typeof localStorage < "u" ? localStorage : void 0, bo = ({
2308
+ }), De = () => v() && typeof localStorage < "u" ? localStorage : void 0, vo = ({
2237
2309
  key: e,
2238
2310
  canTrack: t
2239
2311
  }) => {
2240
2312
  var n;
2241
2313
  try {
2242
- return t ? (n = ze()) == null ? void 0 : n.getItem(e) : void 0;
2314
+ return t ? (n = De()) == null ? void 0 : n.getItem(e) : void 0;
2243
2315
  } catch (o) {
2244
2316
  console.debug("[LocalStorage] GET error: ", o);
2245
2317
  return;
2246
2318
  }
2247
- }, go = ({
2319
+ }, So = ({
2248
2320
  key: e,
2249
2321
  canTrack: t,
2250
2322
  value: n
2251
2323
  }) => {
2252
2324
  var o;
2253
2325
  try {
2254
- t && ((o = ze()) == null || o.setItem(e, n));
2255
- } catch (r) {
2256
- console.debug("[LocalStorage] SET error: ", r);
2326
+ t && ((o = De()) == null || o.setItem(e, n));
2327
+ } catch (i) {
2328
+ console.debug("[LocalStorage] SET error: ", i);
2257
2329
  }
2258
- }, De = "builderVisitorId", yo = ({
2330
+ }, ze = "builderVisitorId", Co = ({
2259
2331
  canTrack: e
2260
2332
  }) => {
2261
2333
  if (!e)
2262
2334
  return;
2263
- const t = bo({
2264
- key: De,
2335
+ const t = vo({
2336
+ key: ze,
2265
2337
  canTrack: e
2266
2338
  });
2267
- if (B(t))
2339
+ if (T(t))
2268
2340
  return t;
2269
2341
  {
2270
- const n = ko();
2271
- return vo({
2342
+ const n = wo();
2343
+ return Io({
2272
2344
  id: n,
2273
2345
  canTrack: e
2274
2346
  }), n;
2275
2347
  }
2276
- }, ko = () => Ke(), vo = ({
2348
+ }, wo = () => He(), Io = ({
2277
2349
  id: e,
2278
2350
  canTrack: t
2279
- }) => go({
2280
- key: De,
2351
+ }) => So({
2352
+ key: ze,
2281
2353
  value: e,
2282
2354
  canTrack: t
2283
- }), So = async ({
2355
+ }), $o = async ({
2284
2356
  canTrack: e
2285
2357
  }) => {
2286
2358
  if (!e)
@@ -2288,46 +2360,46 @@ const He = "builderSessionId", mo = async ({
2288
2360
  visitorId: void 0,
2289
2361
  sessionId: void 0
2290
2362
  };
2291
- const t = await mo({
2363
+ const t = await go({
2292
2364
  canTrack: e
2293
- }), n = yo({
2365
+ }), n = Co({
2294
2366
  canTrack: e
2295
2367
  });
2296
2368
  return {
2297
2369
  sessionId: t,
2298
2370
  visitorId: n
2299
2371
  };
2300
- }, Co = async ({
2372
+ }, Ro = async ({
2301
2373
  type: e,
2302
2374
  canTrack: t,
2303
2375
  apiKey: n,
2304
2376
  metadata: o,
2305
- ...r
2377
+ ...i
2306
2378
  }) => ({
2307
2379
  type: e,
2308
2380
  data: {
2309
- ...r,
2381
+ ...i,
2310
2382
  metadata: {
2311
2383
  url: location.href,
2312
2384
  ...o
2313
2385
  },
2314
- ...await So({
2386
+ ...await $o({
2315
2387
  canTrack: t
2316
2388
  }),
2317
- userAttributes: $e(),
2389
+ userAttributes: Ie(),
2318
2390
  ownerId: n
2319
2391
  }
2320
2392
  });
2321
- async function ee(e) {
2393
+ async function te(e) {
2322
2394
  if (!e.apiKey) {
2323
- x.error("Missing API key for track call. Please provide your API key.");
2395
+ $.error("Missing API key for track call. Please provide your API key.");
2324
2396
  return;
2325
2397
  }
2326
- if (!!e.canTrack && !P() && !!(w() || A === "reactNative"))
2398
+ if (!!e.canTrack && !R() && !!(v() || x === "reactNative"))
2327
2399
  return fetch("https://cdn.builder.io/api/v1/track", {
2328
2400
  method: "POST",
2329
2401
  body: JSON.stringify({
2330
- events: [await Co(e)]
2402
+ events: [await Ro(e)]
2331
2403
  }),
2332
2404
  headers: {
2333
2405
  "content-type": "application/json"
@@ -2337,14 +2409,14 @@ async function ee(e) {
2337
2409
  console.error("Failed to track: ", t);
2338
2410
  });
2339
2411
  }
2340
- const nr = (e) => ee({
2412
+ const si = (e) => te({
2341
2413
  ...e,
2342
2414
  canTrack: !0
2343
2415
  });
2344
2416
  function be(e) {
2345
2417
  return Math.round(e * 1e3) / 1e3;
2346
2418
  }
2347
- const wo = (e, t, n = !0) => {
2419
+ const To = (e, t, n = !0) => {
2348
2420
  if (!(e instanceof HTMLElement))
2349
2421
  return null;
2350
2422
  let o = n ? e : e.parentElement;
@@ -2355,20 +2427,20 @@ const wo = (e, t, n = !0) => {
2355
2427
  return o;
2356
2428
  } while (o = o.parentElement);
2357
2429
  return null;
2358
- }, $o = (e) => wo(e, (t) => {
2430
+ }, xo = (e) => To(e, (t) => {
2359
2431
  const n = t.getAttribute("builder-id") || t.id;
2360
2432
  return Boolean((n == null ? void 0 : n.indexOf("builder-")) === 0);
2361
2433
  }), ge = ({
2362
2434
  event: e,
2363
2435
  target: t
2364
2436
  }) => {
2365
- const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, s = be(o / n.width), i = be(r / n.height);
2437
+ const n = t.getBoundingClientRect(), o = e.clientX - n.left, i = e.clientY - n.top, r = be(o / n.width), s = be(i / n.height);
2366
2438
  return {
2367
- x: s,
2368
- y: i
2439
+ x: r,
2440
+ y: s
2369
2441
  };
2370
- }, Ro = (e) => {
2371
- const t = e.target, n = t && $o(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
2442
+ }, Eo = (e) => {
2443
+ const t = e.target, n = t && xo(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
2372
2444
  return {
2373
2445
  targetBuilderElement: o || void 0,
2374
2446
  metadata: {
@@ -2383,10 +2455,10 @@ const wo = (e, t, n = !0) => {
2383
2455
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
2384
2456
  }
2385
2457
  };
2386
- }, To = "0.7.3", ye = {};
2387
- function Io(e, t) {
2458
+ }, Po = "0.7.5", ye = {};
2459
+ function Ao(e, t) {
2388
2460
  let n = ye[e];
2389
- if (n || (n = ye[e] = []), n.push(t), w()) {
2461
+ if (n || (n = ye[e] = []), n.push(t), v()) {
2390
2462
  const o = {
2391
2463
  type: "builder.register",
2392
2464
  data: {
@@ -2396,13 +2468,13 @@ function Io(e, t) {
2396
2468
  };
2397
2469
  try {
2398
2470
  parent.postMessage(o, "*"), parent !== window && window.postMessage(o, "*");
2399
- } catch (r) {
2400
- console.debug("Could not postmessage", r);
2471
+ } catch (i) {
2472
+ console.debug("Could not postmessage", i);
2401
2473
  }
2402
2474
  }
2403
2475
  }
2404
- const xo = () => {
2405
- Io("insertMenu", {
2476
+ const Bo = () => {
2477
+ Ao("insertMenu", {
2406
2478
  name: "_default",
2407
2479
  default: !0,
2408
2480
  items: [{
@@ -2425,13 +2497,13 @@ const xo = () => {
2425
2497
  });
2426
2498
  };
2427
2499
  let ke = !1;
2428
- const Eo = (e = {}) => {
2500
+ const Vo = (e = {}) => {
2429
2501
  var t, n;
2430
- ke || (ke = !0, w() && ((t = window.parent) == null || t.postMessage({
2502
+ ke || (ke = !0, v() && ((t = window.parent) == null || t.postMessage({
2431
2503
  type: "builder.sdkInfo",
2432
2504
  data: {
2433
- target: A,
2434
- version: To,
2505
+ target: x,
2506
+ version: Po,
2435
2507
  supportsPatchUpdates: !1,
2436
2508
  supportsAddBlockScoping: !0,
2437
2509
  supportsCustomBreakpoints: !0
@@ -2444,36 +2516,36 @@ const Eo = (e = {}) => {
2444
2516
  }, "*"), window.addEventListener("message", ({
2445
2517
  data: o
2446
2518
  }) => {
2447
- var r, s;
2519
+ var i, r;
2448
2520
  if (!!(o != null && o.type))
2449
2521
  switch (o.type) {
2450
2522
  case "builder.evaluate": {
2451
- const i = o.data.text, a = o.data.arguments || [], l = o.data.id, c = new Function(i);
2452
- let u, h = null;
2523
+ const s = o.data.text, a = o.data.arguments || [], l = o.data.id, c = new Function(s);
2524
+ let p, h = null;
2453
2525
  try {
2454
- u = c.apply(null, a);
2526
+ p = c.apply(null, a);
2455
2527
  } catch (m) {
2456
2528
  h = m;
2457
2529
  }
2458
- h ? (r = window.parent) == null || r.postMessage({
2530
+ h ? (i = window.parent) == null || i.postMessage({
2459
2531
  type: "builder.evaluateError",
2460
2532
  data: {
2461
2533
  id: l,
2462
2534
  error: h.message
2463
2535
  }
2464
- }, "*") : u && typeof u.then == "function" ? u.then((m) => {
2465
- var f;
2466
- (f = window.parent) == null || f.postMessage({
2536
+ }, "*") : p && typeof p.then == "function" ? p.then((m) => {
2537
+ var S;
2538
+ (S = window.parent) == null || S.postMessage({
2467
2539
  type: "builder.evaluateResult",
2468
2540
  data: {
2469
2541
  id: l,
2470
2542
  result: m
2471
2543
  }
2472
2544
  }, "*");
2473
- }).catch(console.error) : (s = window.parent) == null || s.postMessage({
2545
+ }).catch(console.error) : (r = window.parent) == null || r.postMessage({
2474
2546
  type: "builder.evaluateResult",
2475
2547
  data: {
2476
- result: u,
2548
+ result: p,
2477
2549
  id: l
2478
2550
  }
2479
2551
  }, "*");
@@ -2481,7 +2553,7 @@ const Eo = (e = {}) => {
2481
2553
  }
2482
2554
  }
2483
2555
  })));
2484
- }, Po = g({
2556
+ }, _o = b({
2485
2557
  name: "enable-editor",
2486
2558
  props: [
2487
2559
  "builderContextSignal",
@@ -2493,8 +2565,7 @@ const Eo = (e = {}) => {
2493
2565
  "includeRefs",
2494
2566
  "enrich",
2495
2567
  "content",
2496
- "showContent",
2497
- "classNameProp"
2568
+ "showContent"
2498
2569
  ],
2499
2570
  data() {
2500
2571
  return {
@@ -2503,37 +2574,37 @@ const Eo = (e = {}) => {
2503
2574
  shouldSendResetCookie: !1,
2504
2575
  httpReqsData: {},
2505
2576
  clicked: !1,
2506
- builderContext: Q
2577
+ builderContext: Z
2507
2578
  };
2508
2579
  },
2509
2580
  provide() {
2510
2581
  const e = this;
2511
2582
  return {
2512
- [Q.key]: e.builderContextSignal
2583
+ [Z.key]: e.builderContextSignal
2513
2584
  };
2514
2585
  },
2515
2586
  mounted() {
2516
2587
  (() => {
2517
2588
  var n, o;
2518
- if (w()) {
2519
- if (P() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
2589
+ if (v()) {
2590
+ if (R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
2520
2591
  new CustomEvent("initeditingbldr")
2521
2592
  ), this.builderContextSignal.content && U(this.canTrack)) {
2522
- const s = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, i = (o = this.builderContextSignal.content) == null ? void 0 : o.id, a = this.apiKey;
2523
- ee({
2593
+ const r = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, s = (o = this.builderContextSignal.content) == null ? void 0 : o.id, a = this.apiKey;
2594
+ te({
2524
2595
  type: "impression",
2525
2596
  canTrack: !0,
2526
- contentId: i,
2597
+ contentId: s,
2527
2598
  apiKey: a,
2528
- variationId: s !== i ? s : void 0
2599
+ variationId: r !== s ? r : void 0
2529
2600
  });
2530
2601
  }
2531
- uo() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
2602
+ fo() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
2532
2603
  new CustomEvent("initpreviewingbldr")
2533
2604
  );
2534
2605
  }
2535
2606
  })(), (() => {
2536
- this.apiKey || x.error(
2607
+ this.apiKey || $.error(
2537
2608
  "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
2538
2609
  ), this.evaluateJsCode(), this.runHttpRequests(), this.emitStateUpdate();
2539
2610
  })();
@@ -2567,7 +2638,7 @@ const Eo = (e = {}) => {
2567
2638
  }
2568
2639
  },
2569
2640
  unmounted() {
2570
- w() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
2641
+ v() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
2571
2642
  "builder:component:stateChangeListenerActivated",
2572
2643
  this.emitStateUpdate
2573
2644
  ));
@@ -2604,7 +2675,7 @@ const Eo = (e = {}) => {
2604
2675
  },
2605
2676
  methods: {
2606
2677
  mergeNewContent(e) {
2607
- var n, o, r, s, i;
2678
+ var n, o, i, r, s;
2608
2679
  const t = {
2609
2680
  ...this.builderContextSignal.content,
2610
2681
  ...e,
@@ -2615,7 +2686,7 @@ const Eo = (e = {}) => {
2615
2686
  meta: {
2616
2687
  ...(o = this.builderContextSignal.content) == null ? void 0 : o.meta,
2617
2688
  ...e == null ? void 0 : e.meta,
2618
- breakpoints: ((r = e == null ? void 0 : e.meta) == null ? void 0 : r.breakpoints) || ((i = (s = this.builderContextSignal.content) == null ? void 0 : s.meta) == null ? void 0 : i.breakpoints)
2689
+ breakpoints: ((i = e == null ? void 0 : e.meta) == null ? void 0 : i.breakpoints) || ((s = (r = this.builderContextSignal.content) == null ? void 0 : r.meta) == null ? void 0 : s.breakpoints)
2619
2690
  }
2620
2691
  };
2621
2692
  this.builderContextSignal.content = t;
@@ -2626,19 +2697,19 @@ const Eo = (e = {}) => {
2626
2697
  if (t)
2627
2698
  switch (t.type) {
2628
2699
  case "builder.configureSdk": {
2629
- const o = t.data, { breakpoints: r, contentId: s } = o;
2630
- if (!s || s !== ((n = this.builderContextSignal.content) == null ? void 0 : n.id))
2700
+ const o = t.data, { breakpoints: i, contentId: r } = o;
2701
+ if (!r || r !== ((n = this.builderContextSignal.content) == null ? void 0 : n.id))
2631
2702
  return;
2632
- r && this.mergeNewContent({
2703
+ i && this.mergeNewContent({
2633
2704
  meta: {
2634
- breakpoints: r
2705
+ breakpoints: i
2635
2706
  }
2636
2707
  }), this.forceReRenderCount = this.forceReRenderCount + 1;
2637
2708
  break;
2638
2709
  }
2639
2710
  case "builder.contentUpdate": {
2640
- const o = t.data, r = o.key || o.alias || o.entry || o.modelName, s = o.data;
2641
- r === this.model && (this.mergeNewContent(s), this.forceReRenderCount = this.forceReRenderCount + 1);
2711
+ const o = t.data, i = o.key || o.alias || o.entry || o.modelName, r = o.data;
2712
+ i === this.model && (this.mergeNewContent(r), this.forceReRenderCount = this.forceReRenderCount + 1);
2642
2713
  break;
2643
2714
  }
2644
2715
  }
@@ -2646,7 +2717,7 @@ const Eo = (e = {}) => {
2646
2717
  evaluateJsCode() {
2647
2718
  var t, n;
2648
2719
  const e = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.jsCode;
2649
- e && z({
2720
+ e && K({
2650
2721
  code: e,
2651
2722
  context: this.context || {},
2652
2723
  localState: void 0,
@@ -2657,14 +2728,14 @@ const Eo = (e = {}) => {
2657
2728
  onClick(e) {
2658
2729
  var t, n;
2659
2730
  if (this.builderContextSignal.content) {
2660
- const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
2661
- ee({
2731
+ const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, i = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
2732
+ te({
2662
2733
  type: "click",
2663
2734
  canTrack: U(this.canTrack),
2664
- contentId: r,
2735
+ contentId: i,
2665
2736
  apiKey: this.apiKey,
2666
- variationId: o !== r ? o : void 0,
2667
- ...Ro(e),
2737
+ variationId: o !== i ? o : void 0,
2738
+ ...Eo(e),
2668
2739
  unique: !this.clicked
2669
2740
  });
2670
2741
  }
@@ -2673,7 +2744,7 @@ const Eo = (e = {}) => {
2673
2744
  evalExpression(e) {
2674
2745
  return e.replace(
2675
2746
  /{{([^}]+)}}/g,
2676
- (t, n) => z({
2747
+ (t, n) => K({
2677
2748
  code: n,
2678
2749
  context: this.context || {},
2679
2750
  localState: void 0,
@@ -2683,13 +2754,13 @@ const Eo = (e = {}) => {
2683
2754
  );
2684
2755
  },
2685
2756
  handleRequest({ url: e, key: t }) {
2686
- Ue(e).then((n) => n.json()).then((n) => {
2687
- var r, s;
2757
+ Fe(e).then((n) => n.json()).then((n) => {
2758
+ var i, r;
2688
2759
  const o = {
2689
2760
  ...this.builderContextSignal.rootState,
2690
2761
  [t]: n
2691
2762
  };
2692
- (s = (r = this.builderContextSignal).rootSetState) == null || s.call(r, o), this.httpReqsData[t] = !0;
2763
+ (r = (i = this.builderContextSignal).rootSetState) == null || r.call(i, o), this.httpReqsData[t] = !0;
2693
2764
  }).catch((n) => {
2694
2765
  console.error("error fetching dynamic data", e, n);
2695
2766
  });
@@ -2697,23 +2768,23 @@ const Eo = (e = {}) => {
2697
2768
  runHttpRequests() {
2698
2769
  var t, n, o;
2699
2770
  const e = (o = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.httpRequests) != null ? o : {};
2700
- Object.entries(e).forEach(([r, s]) => {
2701
- if (s && (!this.httpReqsData[r] || P())) {
2702
- const i = this.evalExpression(s);
2771
+ Object.entries(e).forEach(([i, r]) => {
2772
+ if (r && (!this.httpReqsData[i] || R())) {
2773
+ const s = this.evalExpression(r);
2703
2774
  this.handleRequest({
2704
- url: i,
2705
- key: r
2775
+ url: s,
2776
+ key: i
2706
2777
  });
2707
2778
  }
2708
2779
  });
2709
2780
  },
2710
2781
  emitStateUpdate() {
2711
- P() && window.dispatchEvent(
2782
+ R() && window.dispatchEvent(
2712
2783
  new CustomEvent(
2713
2784
  "builder:component:stateChange",
2714
2785
  {
2715
2786
  detail: {
2716
- state: M(this.builderContextSignal.rootState),
2787
+ state: F(this.builderContextSignal.rootState),
2717
2788
  ref: {
2718
2789
  name: this.model
2719
2790
  }
@@ -2723,7 +2794,7 @@ const Eo = (e = {}) => {
2723
2794
  );
2724
2795
  },
2725
2796
  elementRef_onIniteditingbldr(e) {
2726
- this.forceReRenderCount = this.forceReRenderCount + 1, window.addEventListener("message", this.processMessage), xo(), Eo({
2797
+ this.forceReRenderCount = this.forceReRenderCount + 1, window.addEventListener("message", this.processMessage), Bo(), Vo({
2727
2798
  ...this.locale ? {
2728
2799
  locale: this.locale
2729
2800
  } : {},
@@ -2737,7 +2808,7 @@ const Eo = (e = {}) => {
2737
2808
  this.builderContextSignal.componentInfos
2738
2809
  ).forEach((t) => {
2739
2810
  var o;
2740
- const n = Hn(t);
2811
+ const n = Gn(t);
2741
2812
  (o = window.parent) == null || o.postMessage(n, "*");
2742
2813
  }), window.addEventListener(
2743
2814
  "builder:component:stateChangeListenerActivated",
@@ -2747,13 +2818,13 @@ const Eo = (e = {}) => {
2747
2818
  elementRef_onInitpreviewingbldr(e) {
2748
2819
  const t = new URL(location.href).searchParams, n = t.get("builder.preview"), o = t.get(
2749
2820
  `builder.preview.${n}`
2750
- ), r = t.get("apiKey") || t.get("builder.space");
2751
- n === this.model && r === this.apiKey && (!this.content || o === this.content.id) && J({
2821
+ ), i = t.get("apiKey") || t.get("builder.space");
2822
+ n === this.model && i === this.apiKey && (!this.content || o === this.content.id) && G({
2752
2823
  model: this.model,
2753
2824
  apiKey: this.apiKey,
2754
2825
  apiVersion: this.builderContextSignal.apiVersion
2755
- }).then((s) => {
2756
- s && this.mergeNewContent(s);
2826
+ }).then((r) => {
2827
+ r && this.mergeNewContent(r);
2757
2828
  });
2758
2829
  },
2759
2830
  _classStringToObject(e) {
@@ -2766,32 +2837,34 @@ const Eo = (e = {}) => {
2766
2837
  return t;
2767
2838
  }
2768
2839
  }
2769
- }), Bo = ["builder-content-id", "builder-model"];
2770
- function Ao(e, t, n, o, r, s) {
2771
- var i;
2772
- return e.builderContextSignal.content ? (d(), p("div", I({
2840
+ }), Oo = ["builder-content-id", "builder-model"];
2841
+ function jo(e, t, n, o, i, r) {
2842
+ var s, a, l;
2843
+ return e.builderContextSignal.content ? (d(), u("div", w({
2773
2844
  key: e.forceReRenderCount,
2774
2845
  ref: "elementRef",
2775
- onClick: t[0] || (t[0] = (a) => e.onClick(a)),
2776
- "builder-content-id": (i = e.builderContextSignal.content) == null ? void 0 : i.id,
2846
+ onClick: t[0] || (t[0] = (c) => e.onClick(c)),
2847
+ "builder-content-id": (s = e.builderContextSignal.content) == null ? void 0 : s.id,
2777
2848
  "builder-model": e.model,
2778
- class: e._classStringToObject(e.classNameProp),
2779
- onIniteditingbldr: t[1] || (t[1] = (a) => e.elementRef_onIniteditingbldr(a)),
2780
- onInitpreviewingbldr: t[2] || (t[2] = (a) => e.elementRef_onInitpreviewingbldr(a))
2849
+ class: e._classStringToObject(
2850
+ `variant-${((a = e.content) == null ? void 0 : a.testVariationId) || ((l = e.content) == null ? void 0 : l.id)}`
2851
+ ),
2852
+ onIniteditingbldr: t[1] || (t[1] = (c) => e.elementRef_onIniteditingbldr(c)),
2853
+ onInitpreviewingbldr: t[2] || (t[2] = (c) => e.elementRef_onInitpreviewingbldr(c))
2781
2854
  }, {
2782
2855
  ...e.showContent ? {} : {
2783
2856
  hidden: !0,
2784
2857
  "aria-hidden": !0
2785
2858
  }
2786
2859
  }), [
2787
- N(e.$slots, "default")
2788
- ], 16, Bo)) : S("v-if", !0);
2860
+ P(e.$slots, "default")
2861
+ ], 16, Oo)) : f("v-if", !0);
2789
2862
  }
2790
- const _o = /* @__PURE__ */ y(Po, [["render", Ao], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/components/enable-editor.vue"]]), Vo = (e) => {
2791
- var s, i;
2792
- const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = (i = e.fileUrl) != null ? i : (s = e == null ? void 0 : e.files) == null ? void 0 : s.regular;
2793
- let r = "";
2794
- if (o && t && n && (r += `
2863
+ const No = /* @__PURE__ */ g(_o, [["render", jo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/components/enable-editor.vue"]]), Uo = (e) => {
2864
+ var r, s;
2865
+ const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = (s = e.fileUrl) != null ? s : (r = e == null ? void 0 : e.files) == null ? void 0 : r.regular;
2866
+ let i = "";
2867
+ if (o && t && n && (i += `
2795
2868
  @font-face {
2796
2869
  font-family: "${t}";
2797
2870
  src: local("${n}"), url('${o}') format('woff2');
@@ -2803,7 +2876,7 @@ font-weight: 400;
2803
2876
  if (!(String(Number(a)) === a))
2804
2877
  continue;
2805
2878
  const c = e.files[a];
2806
- c && c !== o && (r += `
2879
+ c && c !== o && (i += `
2807
2880
  @font-face {
2808
2881
  font-family: "${t}";
2809
2882
  src: url('${c}') format('woff2');
@@ -2812,27 +2885,27 @@ font-weight: ${a};
2812
2885
  }
2813
2886
  `.trim());
2814
2887
  }
2815
- return r;
2816
- }, Oo = ({
2888
+ return i;
2889
+ }, Fo = ({
2817
2890
  customFonts: e
2818
2891
  }) => {
2819
2892
  var t;
2820
- return ((t = e == null ? void 0 : e.map((n) => Vo(n))) == null ? void 0 : t.join(" ")) || "";
2821
- }, No = ({
2893
+ return ((t = e == null ? void 0 : e.map((n) => Uo(n))) == null ? void 0 : t.join(" ")) || "";
2894
+ }, Wo = ({
2822
2895
  cssCode: e,
2823
2896
  contentId: t
2824
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", jo = g({
2897
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Mo = b({
2825
2898
  name: "content-styles",
2826
- components: { InlinedStyles: G },
2899
+ components: { InlinedStyles: q },
2827
2900
  props: ["cssCode", "contentId", "customFonts"],
2828
2901
  data() {
2829
2902
  return {
2830
2903
  injectedStyles: `
2831
- ${No({
2904
+ ${Wo({
2832
2905
  cssCode: this.cssCode,
2833
2906
  contentId: this.contentId
2834
2907
  })}
2835
- ${Oo({
2908
+ ${Fo({
2836
2909
  customFonts: this.customFonts
2837
2910
  })}
2838
2911
 
@@ -2852,33 +2925,28 @@ ${Oo({
2852
2925
  };
2853
2926
  }
2854
2927
  });
2855
- function Fo(e, t, n, o, r, s) {
2856
- const i = k("inlined-styles");
2857
- return d(), v(i, { styles: e.injectedStyles }, null, 8, ["styles"]);
2928
+ function Lo(e, t, n, o, i, r) {
2929
+ const s = y("inlined-styles");
2930
+ return d(), k(s, { styles: e.injectedStyles }, null, 8, ["styles"]);
2858
2931
  }
2859
- const Uo = /* @__PURE__ */ y(jo, [["render", Fo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/components/styles.vue"]]), Mo = ({
2932
+ const Ho = /* @__PURE__ */ g(Mo, [["render", Lo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/components/styles.vue"]]), Ko = ({
2860
2933
  content: e,
2861
2934
  data: t,
2862
2935
  locale: n
2863
2936
  }) => {
2864
- var s, i, a;
2865
- const o = {};
2866
- (i = (s = e == null ? void 0 : e.data) == null ? void 0 : s.inputs) == null || i.forEach((l) => {
2867
- var c;
2868
- l.name && l.defaultValue !== void 0 && ((c = e == null ? void 0 : e.data) == null ? void 0 : c.state) && e.data.state[l.name] === void 0 && (o[l.name] = l.defaultValue);
2869
- });
2870
- const r = {
2871
- ...(a = e == null ? void 0 : e.data) == null ? void 0 : a.state,
2937
+ var r, s, a;
2938
+ const o = {}, i = ((r = e == null ? void 0 : e.data) == null ? void 0 : r.state) || {};
2939
+ return (a = (s = e == null ? void 0 : e.data) == null ? void 0 : s.inputs) == null || a.forEach((l) => {
2940
+ l.name && l.defaultValue !== void 0 && (o[l.name] = l.defaultValue);
2941
+ }), {
2942
+ ...o,
2943
+ ...i,
2872
2944
  ...t,
2873
2945
  ...n ? {
2874
2946
  locale: n
2875
2947
  } : {}
2876
2948
  };
2877
- return {
2878
- ...o,
2879
- ...r
2880
- };
2881
- }, Wo = ({
2949
+ }, Do = ({
2882
2950
  content: e,
2883
2951
  data: t
2884
2952
  }) => e ? {
@@ -2888,13 +2956,13 @@ const Uo = /* @__PURE__ */ y(jo, [["render", Fo], ["__file", "/home/runner/work/
2888
2956
  ...t
2889
2957
  },
2890
2958
  meta: e == null ? void 0 : e.meta
2891
- } : void 0, Lo = Je, Ko = g({
2959
+ } : void 0, zo = Je, qo = b({
2892
2960
  name: "content-component",
2893
2961
  components: {
2894
- EnableEditor: _o,
2895
- InlinedScript: Fe,
2896
- ContentStyles: Uo,
2897
- Blocks: ne
2962
+ EnableEditor: No,
2963
+ InlinedScript: Ue,
2964
+ ContentStyles: Ho,
2965
+ Blocks: oe
2898
2966
  },
2899
2967
  props: [
2900
2968
  "content",
@@ -2908,14 +2976,13 @@ const Uo = /* @__PURE__ */ y(jo, [["render", Fo], ["__file", "/home/runner/work/
2908
2976
  "canTrack",
2909
2977
  "includeRefs",
2910
2978
  "enrich",
2911
- "classNameProp",
2912
2979
  "showContent",
2913
2980
  "isSsrAbTest"
2914
2981
  ],
2915
2982
  data() {
2916
2983
  var e, t;
2917
2984
  return {
2918
- scriptStr: Zn({
2985
+ scriptStr: oo({
2919
2986
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
2920
2987
  contentId: (t = this.content) == null ? void 0 : t.id
2921
2988
  }),
@@ -2924,22 +2991,22 @@ const Uo = /* @__PURE__ */ y(jo, [["render", Fo], ["__file", "/home/runner/work/
2924
2991
  ...me,
2925
2992
  ...this.customComponents || []
2926
2993
  ].reduce(
2927
- (n, { component: o, ...r }) => ({
2994
+ (n, { component: o, ...i }) => ({
2928
2995
  ...n,
2929
- [r.name]: {
2930
- component: Lo(o),
2931
- ...Z(r)
2996
+ [i.name]: {
2997
+ component: zo(o),
2998
+ ...ee(i)
2932
2999
  }
2933
3000
  }),
2934
3001
  {}
2935
3002
  ),
2936
3003
  builderContextSignal: {
2937
- content: Wo({
3004
+ content: Do({
2938
3005
  content: this.content,
2939
3006
  data: this.data
2940
3007
  }),
2941
3008
  localState: void 0,
2942
- rootState: Mo({
3009
+ rootState: Ko({
2943
3010
  content: this.content,
2944
3011
  data: this.data,
2945
3012
  locale: this.locale
@@ -2953,15 +3020,15 @@ const Uo = /* @__PURE__ */ y(jo, [["render", Fo], ["__file", "/home/runner/work/
2953
3020
  ...me,
2954
3021
  ...this.customComponents || []
2955
3022
  ].reduce(
2956
- (n, { component: o, ...r }) => ({
3023
+ (n, { component: o, ...i }) => ({
2957
3024
  ...n,
2958
- [r.name]: Z(r)
3025
+ [i.name]: ee(i)
2959
3026
  }),
2960
3027
  {}
2961
3028
  ),
2962
3029
  inheritedStyles: {}
2963
3030
  },
2964
- TARGET: A
3031
+ TARGET: x
2965
3032
  };
2966
3033
  },
2967
3034
  provide() {
@@ -2978,9 +3045,9 @@ const Uo = /* @__PURE__ */ y(jo, [["render", Fo], ["__file", "/home/runner/work/
2978
3045
  }
2979
3046
  }
2980
3047
  });
2981
- function Ho(e, t, n, o, r, s) {
2982
- const i = k("inlined-script"), a = k("content-styles"), l = k("blocks"), c = k("enable-editor");
2983
- return d(), v(c, I({
3048
+ function Go(e, t, n, o, i, r) {
3049
+ const s = y("inlined-script"), a = y("content-styles"), l = y("blocks"), c = y("enable-editor");
3050
+ return d(), k(c, w({
2984
3051
  content: e.content,
2985
3052
  model: e.model,
2986
3053
  context: e.context,
@@ -2989,39 +3056,38 @@ function Ho(e, t, n, o, r, s) {
2989
3056
  locale: e.locale,
2990
3057
  includeRefs: e.includeRefs,
2991
3058
  enrich: e.enrich,
2992
- classNameProp: e.classNameProp,
2993
3059
  showContent: e.showContent,
2994
3060
  builderContextSignal: e.builderContextSignal
2995
3061
  }, {}), {
2996
- default: te(() => {
2997
- var u, h, m, f, C, $, R;
3062
+ default: ne(() => {
3063
+ var p, h, m, S, V, _, O;
2998
3064
  return [
2999
- e.isSsrAbTest ? (d(), v(i, {
3065
+ e.isSsrAbTest ? (d(), k(s, {
3000
3066
  key: 0,
3001
3067
  scriptStr: e.scriptStr
3002
- }, null, 8, ["scriptStr"])) : S("v-if", !0),
3003
- e.TARGET !== "reactNative" ? (d(), v(a, {
3068
+ }, null, 8, ["scriptStr"])) : f("v-if", !0),
3069
+ e.TARGET !== "reactNative" ? (d(), k(a, {
3004
3070
  key: 1,
3005
- contentId: (u = e.builderContextSignal.content) == null ? void 0 : u.id,
3071
+ contentId: (p = e.builderContextSignal.content) == null ? void 0 : p.id,
3006
3072
  cssCode: (m = (h = e.builderContextSignal.content) == null ? void 0 : h.data) == null ? void 0 : m.cssCode,
3007
- customFonts: (C = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : C.customFonts
3008
- }, null, 8, ["contentId", "cssCode", "customFonts"])) : S("v-if", !0),
3009
- O(l, {
3010
- blocks: (R = ($ = e.builderContextSignal.content) == null ? void 0 : $.data) == null ? void 0 : R.blocks,
3073
+ customFonts: (V = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : V.customFonts
3074
+ }, null, 8, ["contentId", "cssCode", "customFonts"])) : f("v-if", !0),
3075
+ B(l, {
3076
+ blocks: (O = (_ = e.builderContextSignal.content) == null ? void 0 : _.data) == null ? void 0 : O.blocks,
3011
3077
  context: e.builderContextSignal,
3012
3078
  registeredComponents: e.registeredComponents
3013
3079
  }, null, 8, ["blocks", "context", "registeredComponents"])
3014
3080
  ];
3015
3081
  }),
3016
3082
  _: 1
3017
- }, 16, ["content", "model", "context", "apiKey", "canTrack", "locale", "includeRefs", "enrich", "classNameProp", "showContent", "builderContextSignal"]);
3083
+ }, 16, ["content", "model", "context", "apiKey", "canTrack", "locale", "includeRefs", "enrich", "showContent", "builderContextSignal"]);
3018
3084
  }
3019
- const zo = /* @__PURE__ */ y(Ko, [["render", Ho], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/content.vue"]]), Do = g({
3085
+ const Jo = /* @__PURE__ */ g(qo, [["render", Go], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/content.vue"]]), Yo = b({
3020
3086
  name: "content-variants",
3021
3087
  components: {
3022
- InlinedScript: Fe,
3023
- InlinedStyles: G,
3024
- ContentComponent: zo
3088
+ InlinedScript: Ue,
3089
+ InlinedStyles: q,
3090
+ ContentComponent: Jo
3025
3091
  },
3026
3092
  props: [
3027
3093
  "canTrack",
@@ -3039,23 +3105,23 @@ const zo = /* @__PURE__ */ y(Ko, [["render", Ho], ["__file", "/home/runner/work/
3039
3105
  ],
3040
3106
  data() {
3041
3107
  return {
3042
- shouldRenderVariants: qn({
3108
+ shouldRenderVariants: Zn({
3043
3109
  canTrack: U(this.canTrack),
3044
3110
  content: this.content
3045
3111
  }),
3046
- TARGET: A,
3047
- getScriptString: Xn,
3048
- getVariants: K
3112
+ TARGET: x,
3113
+ getScriptString: to,
3114
+ getVariants: L
3049
3115
  };
3050
3116
  },
3051
3117
  mounted() {
3052
3118
  this.shouldRenderVariants = !1;
3053
3119
  },
3054
3120
  computed: {
3055
- variantScriptStr() {
3121
+ updateCookieAndStylesScriptStr() {
3056
3122
  var e;
3057
- return Qn(
3058
- K(this.content).map((t) => ({
3123
+ return no(
3124
+ L(this.content).map((t) => ({
3059
3125
  id: t.testVariationId,
3060
3126
  testRatio: t.testRatio
3061
3127
  })),
@@ -3063,7 +3129,7 @@ const zo = /* @__PURE__ */ y(Ko, [["render", Ho], ["__file", "/home/runner/work/
3063
3129
  );
3064
3130
  },
3065
3131
  hideVariantsStyleString() {
3066
- return K(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
3132
+ return L(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
3067
3133
  },
3068
3134
  defaultContent() {
3069
3135
  var e;
@@ -3077,25 +3143,24 @@ const zo = /* @__PURE__ */ y(Ko, [["render", Ho], ["__file", "/home/runner/work/
3077
3143
  }
3078
3144
  }
3079
3145
  });
3080
- function qo(e, t, n, o, r, s) {
3081
- var c, u;
3082
- const i = k("inlined-script"), a = k("inlined-styles"), l = k("content-component");
3083
- return d(), p(T, null, [
3084
- !e.__isNestedRender && e.TARGET !== "reactNative" ? (d(), v(i, {
3146
+ function Qo(e, t, n, o, i, r) {
3147
+ var c;
3148
+ const s = y("inlined-script"), a = y("inlined-styles"), l = y("content-component");
3149
+ return d(), u(C, null, [
3150
+ !e.__isNestedRender && e.TARGET !== "reactNative" ? (d(), k(s, {
3085
3151
  key: 0,
3086
3152
  scriptStr: e.getScriptString()
3087
- }, null, 8, ["scriptStr"])) : S("v-if", !0),
3088
- e.shouldRenderVariants ? (d(), p(T, { key: 1 }, [
3089
- O(a, {
3153
+ }, null, 8, ["scriptStr"])) : f("v-if", !0),
3154
+ e.shouldRenderVariants ? (d(), u(C, { key: 1 }, [
3155
+ B(a, {
3090
3156
  id: `variants-styles-${(c = e.content) == null ? void 0 : c.id}`,
3091
3157
  styles: e.hideVariantsStyleString
3092
3158
  }, null, 8, ["id", "styles"]),
3093
- O(i, { scriptStr: e.variantScriptStr }, null, 8, ["scriptStr"]),
3094
- (d(!0), p(T, null, V(e.getVariants(e.content), (h, m) => (d(), v(l, {
3095
- key: h.testVariationId,
3096
- content: h,
3159
+ B(s, { scriptStr: e.updateCookieAndStylesScriptStr }, null, 8, ["scriptStr"]),
3160
+ (d(!0), u(C, null, A(e.getVariants(e.content), (p, h) => (d(), k(l, {
3161
+ key: p.testVariationId,
3162
+ content: p,
3097
3163
  showContent: !1,
3098
- classNameProp: void 0,
3099
3164
  model: e.model,
3100
3165
  data: e.data,
3101
3166
  context: e.context,
@@ -3108,10 +3173,9 @@ function qo(e, t, n, o, r, s) {
3108
3173
  enrich: e.enrich,
3109
3174
  isSsrAbTest: e.shouldRenderVariants
3110
3175
  }, null, 8, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest"]))), 128))
3111
- ], 64)) : S("v-if", !0),
3112
- O(l, I({
3176
+ ], 64)) : f("v-if", !0),
3177
+ B(l, w({
3113
3178
  content: e.defaultContent,
3114
- classNameProp: `variant-${(u = e.content) == null ? void 0 : u.id}`,
3115
3179
  showContent: !0,
3116
3180
  model: e.model,
3117
3181
  data: e.data,
@@ -3126,15 +3190,15 @@ function qo(e, t, n, o, r, s) {
3126
3190
  isSsrAbTest: e.shouldRenderVariants
3127
3191
  }, {
3128
3192
  key: e.shouldRenderVariants.toString()
3129
- }), null, 16, ["content", "classNameProp", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest"])
3193
+ }), null, 16, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest"])
3130
3194
  ], 64);
3131
3195
  }
3132
- const qe = /* @__PURE__ */ y(Do, [["render", qo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content-variants/content-variants.vue"]]), Go = async ({
3196
+ const qe = /* @__PURE__ */ g(Yo, [["render", Qo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content-variants/content-variants.vue"]]), Xo = async ({
3133
3197
  builderContextValue: e,
3134
3198
  symbol: t
3135
3199
  }) => {
3136
3200
  if ((t == null ? void 0 : t.model) && (e == null ? void 0 : e.apiKey))
3137
- return J({
3201
+ return G({
3138
3202
  model: t.model,
3139
3203
  apiKey: e.apiKey,
3140
3204
  apiVersion: e.apiVersion,
@@ -3144,9 +3208,9 @@ const qe = /* @__PURE__ */ y(Do, [["render", qo], ["__file", "/home/runner/work/
3144
3208
  }
3145
3209
  }
3146
3210
  }).catch((n) => {
3147
- x.error("Could not fetch symbol content: ", n);
3211
+ $.error("Could not fetch symbol content: ", n);
3148
3212
  });
3149
- }, Jo = g({
3213
+ }, Zo = b({
3150
3214
  name: "builder-symbol",
3151
3215
  components: { ContentVariants: qe },
3152
3216
  props: [
@@ -3159,7 +3223,7 @@ const qe = /* @__PURE__ */ y(Do, [["render", qo], ["__file", "/home/runner/work/
3159
3223
  ],
3160
3224
  data() {
3161
3225
  var e;
3162
- return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs: q };
3226
+ return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs: z };
3163
3227
  },
3164
3228
  mounted() {
3165
3229
  this.setContent();
@@ -3190,7 +3254,7 @@ const qe = /* @__PURE__ */ y(Do, [["render", qo], ["__file", "/home/runner/work/
3190
3254
  },
3191
3255
  methods: {
3192
3256
  setContent() {
3193
- this.contentToUse || Go({
3257
+ this.contentToUse || Xo({
3194
3258
  symbol: this.symbol,
3195
3259
  builderContextValue: this.builderContext
3196
3260
  }).then((e) => {
@@ -3208,13 +3272,13 @@ const qe = /* @__PURE__ */ y(Do, [["render", qo], ["__file", "/home/runner/work/
3208
3272
  }
3209
3273
  }
3210
3274
  });
3211
- function Yo(e, t, n, o, r, s) {
3212
- var a, l, c, u;
3213
- const i = k("content-variants");
3214
- return d(), p("div", I({
3275
+ function ei(e, t, n, o, i, r) {
3276
+ var a, l, c, p;
3277
+ const s = y("content-variants");
3278
+ return d(), u("div", w({
3215
3279
  class: e._classStringToObject(e.className)
3216
- }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, F(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3217
- O(i, {
3280
+ }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, N(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3281
+ B(s, {
3218
3282
  __isNestedRender: !0,
3219
3283
  apiVersion: e.builderContext.apiVersion,
3220
3284
  apiKey: e.builderContext.apiKey,
@@ -3225,14 +3289,14 @@ function Yo(e, t, n, o, r, s) {
3225
3289
  ...e.builderContext.localState,
3226
3290
  ...(c = (l = e.contentToUse) == null ? void 0 : l.data) == null ? void 0 : c.state
3227
3291
  },
3228
- model: (u = e.symbol) == null ? void 0 : u.model,
3292
+ model: (p = e.symbol) == null ? void 0 : p.model,
3229
3293
  content: e.contentToUse
3230
3294
  }, null, 8, ["apiVersion", "apiKey", "context", "customComponents", "data", "model", "content"])
3231
3295
  ], 16);
3232
3296
  }
3233
- const Xo = /* @__PURE__ */ y(Jo, [["render", Yo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/symbol/symbol.vue"]]), or = ne, rr = qe, ve = {};
3234
- function sr(e) {
3235
- if (w()) {
3297
+ const ti = /* @__PURE__ */ g(Zo, [["render", ei], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/symbol/symbol.vue"]]), ai = oe, li = qe, ve = {};
3298
+ function ci(e) {
3299
+ if (v()) {
3236
3300
  Object.assign(ve, e);
3237
3301
  const t = {
3238
3302
  type: "builder.settingsChange",
@@ -3241,9 +3305,9 @@ function sr(e) {
3241
3305
  parent.postMessage(t, "*");
3242
3306
  }
3243
3307
  }
3244
- const ir = async (e) => {
3245
- var o, r, s;
3246
- const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
3308
+ const di = async (e) => {
3309
+ var o, i, r;
3310
+ const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((i = e.userAttributes) == null ? void 0 : i.urlPath), n = {
3247
3311
  ...e,
3248
3312
  apiKey: e.apiKey,
3249
3313
  model: e.model || "page",
@@ -3253,47 +3317,47 @@ const ir = async (e) => {
3253
3317
  urlPath: t
3254
3318
  } : {}
3255
3319
  },
3256
- options: Me(e.searchParams || ((s = e.url) == null ? void 0 : s.searchParams) || e.options)
3320
+ options: We(e.searchParams || ((r = e.url) == null ? void 0 : r.searchParams) || e.options)
3257
3321
  };
3258
3322
  return {
3259
3323
  apiKey: n.apiKey,
3260
3324
  model: n.model,
3261
- content: await J(n)
3325
+ content: await G(n)
3262
3326
  };
3263
3327
  };
3264
3328
  export {
3265
- Re as B,
3329
+ $e as B,
3266
3330
  qe as C,
3267
- Wt as F,
3331
+ Mt as F,
3268
3332
  Jt as I,
3269
- or as R,
3270
- Qt as S,
3271
- A as T,
3272
- Kn as V,
3273
- y as _,
3333
+ ai as R,
3334
+ Xt as S,
3335
+ x as T,
3336
+ qn as V,
3337
+ g as _,
3274
3338
  xe as a,
3275
- Q as b,
3276
- rt as c,
3277
- ne as d,
3278
- z as e,
3279
- rr as f,
3339
+ Z as b,
3340
+ it as c,
3341
+ oe as d,
3342
+ K as e,
3343
+ li as f,
3280
3344
  Ze as g,
3281
- Ft as h,
3282
- Xo as i,
3283
- Fn as j,
3284
- P as k,
3285
- uo as l,
3286
- Hn as m,
3287
- co as n,
3345
+ Ut as h,
3346
+ ti as i,
3347
+ Un as j,
3348
+ R as k,
3349
+ fo as l,
3350
+ Gn as m,
3351
+ ho as n,
3288
3352
  Le as o,
3289
- J as p,
3290
- tr as q,
3291
- Io as r,
3292
- sr as s,
3293
- er as t,
3294
- Me as u,
3295
- nr as v,
3296
- Lo as w,
3297
- ir as x,
3298
- Zo as y
3353
+ G as p,
3354
+ ri as q,
3355
+ Ao as r,
3356
+ ci as s,
3357
+ ii as t,
3358
+ We as u,
3359
+ si as v,
3360
+ zo as w,
3361
+ di as x,
3362
+ oi as y
3299
3363
  };