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

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 (238) hide show
  1. package/README.md +2 -14
  2. package/package.json +5 -4
  3. package/packages/_vue2/dist/{block-styles.c531694e.cjs → block-styles.7d59e6ba.cjs} +2 -2
  4. package/packages/_vue2/dist/{block-styles.234651b2.js → block-styles.bc1f94cc.js} +3 -3
  5. package/packages/_vue2/dist/get-processed-block.73e1ad82.js +40 -0
  6. package/packages/_vue2/dist/get-processed-block.c83086c1.cjs +1 -0
  7. package/packages/_vue2/dist/{index.19474a4f.js → index.02cbe11b.js} +302 -300
  8. package/packages/_vue2/dist/index.1d7bcb8c.cjs +4 -0
  9. package/packages/_vue2/dist/render-block.4d368620.cjs +3 -0
  10. package/packages/_vue2/dist/{render-block.3cf39e0e.js → render-block.4fdcffb1.js} +31 -38
  11. package/packages/_vue2/dist/render-component-with-context.45bddebc.js +53 -0
  12. package/packages/_vue2/dist/render-component-with-context.83718839.cjs +1 -0
  13. package/packages/_vue2/dist/{render-component.a9d4efb1.cjs → render-component.4b341c2e.cjs} +1 -1
  14. package/packages/_vue2/dist/{render-component.56e5101d.js → render-component.a8a981da.js} +3 -3
  15. package/packages/_vue2/dist/{render-inlined-styles.b6534355.js → render-inlined-styles.198fc516.js} +1 -1
  16. package/packages/_vue2/dist/{render-inlined-styles.9b6439ce.cjs → render-inlined-styles.d903e589.cjs} +1 -1
  17. package/packages/_vue2/dist/{render-repeated-block.3e536590.js → render-repeated-block.7547b966.js} +2 -2
  18. package/packages/_vue2/dist/{render-repeated-block.95861e2e.cjs → render-repeated-block.d2d7376a.cjs} +1 -1
  19. package/packages/_vue2/dist/{render-styles.9d4787d0.cjs → render-styles.2b14f2b8.cjs} +1 -1
  20. package/packages/_vue2/dist/{render-styles.ad89c45c.js → render-styles.d7585530.js} +2 -2
  21. package/packages/_vue2/dist/sdk.cjs +1 -1
  22. package/packages/_vue2/dist/sdk.js +4 -4
  23. package/packages/_vue2/dist/src/blocks/button/button.vue.d.ts +11 -0
  24. package/packages/_vue2/dist/src/blocks/button/component-info.d.ts +2 -0
  25. package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +306 -0
  26. package/packages/_vue2/dist/src/blocks/columns/component-info.d.ts +2 -0
  27. package/packages/_vue2/dist/src/blocks/custom-code/component-info.d.ts +2 -0
  28. package/packages/_vue2/dist/src/blocks/custom-code/custom-code.vue.d.ts +18 -0
  29. package/packages/_vue2/dist/src/blocks/embed/component-info.d.ts +2 -0
  30. package/packages/_vue2/dist/src/blocks/embed/embed.vue.d.ts +22 -0
  31. package/packages/_vue2/dist/src/blocks/embed/helpers.d.ts +1 -0
  32. package/packages/_vue2/dist/src/blocks/fragment/component-info.d.ts +2 -0
  33. package/packages/_vue2/dist/src/blocks/fragment/fragment.vue.d.ts +10 -0
  34. package/packages/_vue2/dist/src/blocks/image/component-info.d.ts +2 -0
  35. package/packages/_vue2/dist/src/blocks/image/image.helpers.d.ts +1 -0
  36. package/packages/_vue2/dist/src/blocks/img/component-info.d.ts +2 -0
  37. package/packages/_vue2/dist/src/blocks/img/img.vue.d.ts +17 -0
  38. package/packages/_vue2/dist/src/blocks/section/component-info.d.ts +2 -0
  39. package/packages/_vue2/dist/src/blocks/section/section.vue.d.ts +11 -0
  40. package/packages/_vue2/dist/src/blocks/symbol/component-info.d.ts +2 -0
  41. package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +396 -0
  42. package/packages/_vue2/dist/src/blocks/text/component-info.d.ts +2 -0
  43. package/packages/_vue2/dist/src/blocks/text/text.vue.d.ts +8 -0
  44. package/packages/_vue2/dist/src/blocks/util.d.ts +1 -0
  45. package/packages/_vue2/dist/src/blocks/video/component-info.d.ts +2 -0
  46. package/packages/_vue2/dist/src/blocks/video/video.vue.d.ts +25 -0
  47. package/packages/_vue2/dist/src/components/render-block/block-styles.vue.d.ts +31 -0
  48. package/packages/_vue2/dist/src/components/render-block/render-block.helpers.d.ts +1 -0
  49. package/packages/_vue2/dist/src/components/render-block/render-block.vue.d.ts +237 -0
  50. package/packages/_vue2/dist/src/components/render-block/render-component-with-context.vue.d.ts +116 -0
  51. package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +141 -0
  52. package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +231 -0
  53. package/packages/_vue2/dist/src/components/render-block/types.d.ts +6 -0
  54. package/packages/_vue2/dist/src/components/render-blocks.vue.d.ts +279 -0
  55. package/packages/_vue2/dist/src/components/render-content/components/render-styles.vue.d.ts +27 -0
  56. package/packages/_vue2/dist/src/components/render-content/render-content.vue.d.ts +368 -0
  57. package/packages/_vue2/dist/src/components/render-inlined-styles.vue.d.ts +12 -0
  58. package/packages/_vue2/dist/src/constants/builder-registered-components.d.ts +6 -0
  59. package/packages/_vue2/dist/src/constants/device-sizes.d.ts +2 -0
  60. package/packages/_vue2/dist/src/constants/target.d.ts +2 -0
  61. package/packages/_vue2/dist/src/context/builder.context.d.ts +2 -0
  62. package/packages/_vue2/dist/src/context/types.d.ts +17 -0
  63. package/packages/_vue2/dist/src/functions/camel-to-kebab-case.d.ts +1 -0
  64. package/packages/_vue2/dist/src/functions/evaluate.d.ts +5 -0
  65. package/packages/_vue2/dist/src/functions/event-handler-name.d.ts +1 -0
  66. package/packages/_vue2/dist/src/functions/extract-text-styles.d.ts +4 -0
  67. package/packages/_vue2/dist/src/functions/fast-clone.d.ts +4 -0
  68. package/packages/_vue2/dist/src/functions/get-block-actions-handler.d.ts +5 -0
  69. package/packages/_vue2/dist/src/functions/get-block-actions.d.ts +9 -0
  70. package/packages/_vue2/dist/src/functions/get-block-component-options.d.ts +2 -0
  71. package/packages/_vue2/dist/src/functions/get-block-properties.d.ts +5 -0
  72. package/packages/_vue2/dist/src/functions/get-block-tag.d.ts +3 -0
  73. package/packages/_vue2/dist/src/functions/get-builder-search-params/index.d.ts +6 -0
  74. package/packages/_vue2/dist/src/functions/get-content/ab-testing.d.ts +5 -0
  75. package/packages/_vue2/dist/src/functions/get-content/index.d.ts +9 -0
  76. package/packages/_vue2/dist/src/functions/get-content/types.d.ts +31 -0
  77. package/packages/_vue2/dist/src/functions/get-fetch.d.ts +1 -0
  78. package/packages/_vue2/dist/src/functions/get-global-this.d.ts +1 -0
  79. package/packages/_vue2/dist/src/functions/get-processed-block.d.ts +10 -0
  80. package/packages/_vue2/dist/src/functions/get-react-native-block-styles.d.ts +6 -0
  81. package/packages/_vue2/dist/src/functions/is-browser.d.ts +1 -0
  82. package/packages/_vue2/dist/src/functions/is-editing.d.ts +1 -0
  83. package/packages/_vue2/dist/src/functions/is-iframe.d.ts +1 -0
  84. package/packages/_vue2/dist/src/functions/is-previewing.d.ts +1 -0
  85. package/packages/_vue2/dist/src/functions/mark-mutable.d.ts +2 -0
  86. package/packages/_vue2/dist/src/functions/register-component.d.ts +14 -0
  87. package/packages/_vue2/dist/src/functions/register.d.ts +16 -0
  88. package/packages/_vue2/dist/src/functions/sanitize-react-native-block-styles.d.ts +3 -0
  89. package/packages/_vue2/dist/src/functions/set-editor-settings.d.ts +4 -0
  90. package/packages/_vue2/dist/src/functions/set.d.ts +7 -0
  91. package/packages/_vue2/dist/src/functions/track.d.ts +21 -0
  92. package/packages/_vue2/dist/src/functions/transform-block.d.ts +2 -0
  93. package/packages/_vue2/dist/src/helpers/ab-tests.d.ts +8 -0
  94. package/packages/_vue2/dist/src/helpers/cookie.d.ts +15 -0
  95. package/packages/_vue2/dist/src/helpers/css.d.ts +5 -0
  96. package/packages/_vue2/dist/src/helpers/flatten.d.ts +6 -0
  97. package/packages/_vue2/dist/src/helpers/localStorage.d.ts +8 -0
  98. package/packages/_vue2/dist/src/helpers/nullable.d.ts +2 -0
  99. package/packages/_vue2/dist/src/helpers/sessionId.d.ts +6 -0
  100. package/packages/_vue2/dist/src/helpers/url.d.ts +6 -0
  101. package/packages/_vue2/dist/src/helpers/uuid.d.ts +8 -0
  102. package/packages/_vue2/dist/src/helpers/visitorId.d.ts +6 -0
  103. package/packages/_vue2/dist/src/index-helpers/blocks-exports.d.ts +10 -0
  104. package/packages/_vue2/dist/src/index-helpers/top-of-file.d.ts +1 -0
  105. package/packages/_vue2/dist/src/index.d.ts +8 -0
  106. package/packages/_vue2/dist/src/scripts/init-editing.d.ts +2 -0
  107. package/packages/_vue2/dist/src/types/builder-block.d.ts +57 -0
  108. package/packages/_vue2/dist/src/types/builder-content.d.ts +38 -0
  109. package/packages/_vue2/dist/src/types/can-track.d.ts +3 -0
  110. package/packages/_vue2/dist/src/types/components.d.ts +177 -0
  111. package/packages/_vue2/dist/src/types/deep-partial.d.ts +3 -0
  112. package/packages/_vue2/dist/src/types/element.d.ts +59 -0
  113. package/packages/_vue2/dist/src/types/typescript.d.ts +5 -0
  114. package/packages/_vue2/dist/style.css +1 -1
  115. package/packages/_vue3/dist/{block-styles.e3632a69.cjs → block-styles.44a21830.cjs} +2 -2
  116. package/packages/_vue3/dist/{block-styles.88005ace.js → block-styles.4fb6c64e.js} +3 -3
  117. package/packages/_vue3/dist/get-processed-block.19c3700a.js +40 -0
  118. package/packages/_vue3/dist/get-processed-block.d0247791.cjs +1 -0
  119. package/packages/_vue3/dist/index.acbcbf48.cjs +4 -0
  120. package/packages/_vue3/dist/{index.2472a241.js → index.c45f283d.js} +305 -302
  121. package/packages/_vue3/dist/render-block.9c91f64e.cjs +3 -0
  122. package/packages/_vue3/dist/{render-block.593fc01c.js → render-block.a0b27065.js} +78 -95
  123. package/packages/_vue3/dist/{render-component-with-context.f5cab824.js → render-component-with-context.205a19d1.js} +15 -10
  124. package/packages/_vue3/dist/render-component-with-context.fd83122c.cjs +1 -0
  125. package/packages/_vue3/dist/{render-component.06b4587b.cjs → render-component.38a974b8.cjs} +1 -1
  126. package/packages/_vue3/dist/{render-component.d5c26257.js → render-component.fbf7bbcb.js} +3 -3
  127. package/packages/_vue3/dist/{render-inlined-styles.be1aba8b.js → render-inlined-styles.3f53b0f1.js} +1 -1
  128. package/packages/_vue3/dist/{render-inlined-styles.3fab5467.cjs → render-inlined-styles.631d4b7f.cjs} +1 -1
  129. package/packages/_vue3/dist/{render-repeated-block.d1580cb5.cjs → render-repeated-block.35b18332.cjs} +1 -1
  130. package/packages/_vue3/dist/{render-repeated-block.1d1c64a8.js → render-repeated-block.4f78496b.js} +2 -2
  131. package/packages/_vue3/dist/{render-styles.4717b645.cjs → render-styles.1482932c.cjs} +1 -1
  132. package/packages/_vue3/dist/{render-styles.efaaccdf.js → render-styles.32666ea6.js} +2 -2
  133. package/packages/_vue3/dist/sdk.cjs +1 -1
  134. package/packages/_vue3/dist/sdk.js +7 -7
  135. package/packages/_vue3/dist/src/blocks/button/button.vue.d.ts +11 -0
  136. package/packages/_vue3/dist/src/blocks/button/component-info.d.ts +2 -0
  137. package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +77 -0
  138. package/packages/_vue3/dist/src/blocks/columns/component-info.d.ts +2 -0
  139. package/packages/_vue3/dist/src/blocks/custom-code/component-info.d.ts +2 -0
  140. package/packages/_vue3/dist/src/blocks/custom-code/custom-code.vue.d.ts +18 -0
  141. package/packages/_vue3/dist/src/blocks/embed/component-info.d.ts +2 -0
  142. package/packages/_vue3/dist/src/blocks/embed/embed.vue.d.ts +22 -0
  143. package/packages/_vue3/dist/src/blocks/embed/helpers.d.ts +1 -0
  144. package/packages/_vue3/dist/src/blocks/fragment/component-info.d.ts +2 -0
  145. package/packages/_vue3/dist/src/blocks/fragment/fragment.vue.d.ts +10 -0
  146. package/packages/_vue3/dist/src/blocks/image/component-info.d.ts +2 -0
  147. package/packages/_vue3/dist/src/blocks/image/image.helpers.d.ts +1 -0
  148. package/packages/_vue3/dist/src/blocks/image/image.vue.d.ts +31 -0
  149. package/packages/_vue3/dist/src/blocks/img/component-info.d.ts +2 -0
  150. package/packages/_vue3/dist/src/blocks/img/img.vue.d.ts +17 -0
  151. package/packages/_vue3/dist/src/blocks/section/component-info.d.ts +2 -0
  152. package/packages/_vue3/dist/src/blocks/section/section.vue.d.ts +11 -0
  153. package/packages/_vue3/dist/src/blocks/symbol/component-info.d.ts +2 -0
  154. package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +167 -0
  155. package/packages/_vue3/dist/src/blocks/text/component-info.d.ts +2 -0
  156. package/packages/_vue3/dist/src/blocks/text/text.vue.d.ts +8 -0
  157. package/packages/_vue3/dist/src/blocks/util.d.ts +1 -0
  158. package/packages/_vue3/dist/src/blocks/video/component-info.d.ts +2 -0
  159. package/packages/_vue3/dist/src/blocks/video/video.vue.d.ts +25 -0
  160. package/packages/_vue3/dist/src/components/render-block/block-styles.vue.d.ts +31 -0
  161. package/packages/_vue3/dist/src/components/render-block/render-block.helpers.d.ts +1 -0
  162. package/packages/_vue3/dist/src/components/render-block/render-block.vue.d.ts +8 -0
  163. package/packages/_vue3/dist/src/components/render-block/render-component-with-context.vue.d.ts +51 -0
  164. package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +44 -0
  165. package/packages/_vue3/dist/src/components/render-block/render-repeated-block.vue.d.ts +2 -0
  166. package/packages/_vue3/dist/src/components/render-block/types.d.ts +6 -0
  167. package/packages/_vue3/dist/src/components/render-blocks.vue.d.ts +50 -0
  168. package/packages/_vue3/dist/src/components/render-content/components/render-styles.vue.d.ts +27 -0
  169. package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +139 -0
  170. package/packages/_vue3/dist/src/components/render-inlined-styles.vue.d.ts +12 -0
  171. package/packages/_vue3/dist/src/constants/builder-registered-components.d.ts +6 -0
  172. package/packages/_vue3/dist/src/constants/device-sizes.d.ts +2 -0
  173. package/packages/_vue3/dist/src/constants/target.d.ts +2 -0
  174. package/packages/_vue3/dist/src/context/builder.context.d.ts +2 -0
  175. package/packages/_vue3/dist/src/context/types.d.ts +17 -0
  176. package/packages/_vue3/dist/src/functions/camel-to-kebab-case.d.ts +1 -0
  177. package/packages/_vue3/dist/src/functions/evaluate.d.ts +5 -0
  178. package/packages/_vue3/dist/src/functions/event-handler-name.d.ts +1 -0
  179. package/packages/_vue3/dist/src/functions/extract-text-styles.d.ts +4 -0
  180. package/packages/_vue3/dist/src/functions/fast-clone.d.ts +4 -0
  181. package/packages/_vue3/dist/src/functions/get-block-actions-handler.d.ts +5 -0
  182. package/packages/_vue3/dist/src/functions/get-block-actions.d.ts +9 -0
  183. package/packages/_vue3/dist/src/functions/get-block-component-options.d.ts +2 -0
  184. package/packages/_vue3/dist/src/functions/get-block-properties.d.ts +5 -0
  185. package/packages/_vue3/dist/src/functions/get-block-tag.d.ts +3 -0
  186. package/packages/_vue3/dist/src/functions/get-builder-search-params/index.d.ts +6 -0
  187. package/packages/_vue3/dist/src/functions/get-content/ab-testing.d.ts +5 -0
  188. package/packages/_vue3/dist/src/functions/get-content/index.d.ts +9 -0
  189. package/packages/_vue3/dist/src/functions/get-content/types.d.ts +31 -0
  190. package/packages/_vue3/dist/src/functions/get-fetch.d.ts +1 -0
  191. package/packages/_vue3/dist/src/functions/get-global-this.d.ts +1 -0
  192. package/packages/_vue3/dist/src/functions/get-processed-block.d.ts +10 -0
  193. package/packages/_vue3/dist/src/functions/get-react-native-block-styles.d.ts +6 -0
  194. package/packages/_vue3/dist/src/functions/is-browser.d.ts +1 -0
  195. package/packages/_vue3/dist/src/functions/is-editing.d.ts +1 -0
  196. package/packages/_vue3/dist/src/functions/is-iframe.d.ts +1 -0
  197. package/packages/_vue3/dist/src/functions/is-previewing.d.ts +1 -0
  198. package/packages/_vue3/dist/src/functions/mark-mutable.d.ts +2 -0
  199. package/packages/_vue3/dist/src/functions/register-component.d.ts +14 -0
  200. package/packages/_vue3/dist/src/functions/register.d.ts +16 -0
  201. package/packages/_vue3/dist/src/functions/sanitize-react-native-block-styles.d.ts +3 -0
  202. package/packages/_vue3/dist/src/functions/set-editor-settings.d.ts +4 -0
  203. package/packages/_vue3/dist/src/functions/set.d.ts +7 -0
  204. package/packages/_vue3/dist/src/functions/track.d.ts +21 -0
  205. package/packages/_vue3/dist/src/functions/transform-block.d.ts +2 -0
  206. package/packages/_vue3/dist/src/helpers/ab-tests.d.ts +8 -0
  207. package/packages/_vue3/dist/src/helpers/cookie.d.ts +15 -0
  208. package/packages/_vue3/dist/src/helpers/css.d.ts +5 -0
  209. package/packages/_vue3/dist/src/helpers/flatten.d.ts +6 -0
  210. package/packages/_vue3/dist/src/helpers/localStorage.d.ts +8 -0
  211. package/packages/_vue3/dist/src/helpers/nullable.d.ts +2 -0
  212. package/packages/_vue3/dist/src/helpers/sessionId.d.ts +6 -0
  213. package/packages/_vue3/dist/src/helpers/url.d.ts +6 -0
  214. package/packages/_vue3/dist/src/helpers/uuid.d.ts +8 -0
  215. package/packages/_vue3/dist/src/helpers/visitorId.d.ts +6 -0
  216. package/packages/_vue3/dist/src/index-helpers/blocks-exports.d.ts +10 -0
  217. package/packages/_vue3/dist/src/index-helpers/top-of-file.d.ts +1 -0
  218. package/packages/_vue3/dist/src/index.d.ts +8 -0
  219. package/packages/_vue3/dist/src/scripts/init-editing.d.ts +2 -0
  220. package/packages/_vue3/dist/src/types/builder-block.d.ts +57 -0
  221. package/packages/_vue3/dist/src/types/builder-content.d.ts +38 -0
  222. package/packages/_vue3/dist/src/types/can-track.d.ts +3 -0
  223. package/packages/_vue3/dist/src/types/components.d.ts +177 -0
  224. package/packages/_vue3/dist/src/types/deep-partial.d.ts +3 -0
  225. package/packages/_vue3/dist/src/types/element.d.ts +59 -0
  226. package/packages/_vue3/dist/src/types/typescript.d.ts +5 -0
  227. package/packages/_vue3/dist/style.css +1 -1
  228. package/packages/_vue2/dist/get-processed-block.1ba91586.js +0 -40
  229. package/packages/_vue2/dist/get-processed-block.6a23a7de.cjs +0 -1
  230. package/packages/_vue2/dist/index.e85eb7cf.cjs +0 -4
  231. package/packages/_vue2/dist/render-block.4f260352.cjs +0 -3
  232. package/packages/_vue2/dist/render-component-with-context.dcb1f5da.js +0 -53
  233. package/packages/_vue2/dist/render-component-with-context.f76bfccc.cjs +0 -1
  234. package/packages/_vue3/dist/get-processed-block.0d475a13.js +0 -40
  235. package/packages/_vue3/dist/get-processed-block.c75eb6d1.cjs +0 -1
  236. package/packages/_vue3/dist/index.e7c6fe34.cjs +0 -4
  237. package/packages/_vue3/dist/render-block.92199649.cjs +0 -3
  238. package/packages/_vue3/dist/render-component-with-context.fb4f86a9.cjs +0 -1
@@ -1,18 +1,12 @@
1
- import { defineAsyncComponent as v, resolveComponent as x, openBlock as l, createElementBlock as u, normalizeStyle as C, Fragment as w, renderList as F, createVNode as q, createElementVNode as R, createCommentVNode as y, normalizeClass as U, renderSlot as S, mergeProps as _, toDisplayString as B, createBlock as I } from "vue";
2
- const V = "vue3";
3
- function f() {
1
+ import { defineAsyncComponent as y, resolveComponent as v, openBlock as l, createElementBlock as d, normalizeStyle as _, Fragment as C, renderList as E, createVNode as q, createElementVNode as T, createCommentVNode as b, normalizeClass as j, renderSlot as w, mergeProps as x, toDisplayString as P, createBlock as S } from "vue";
2
+ const U = "vue3";
3
+ function h() {
4
4
  return typeof window < "u" && typeof document < "u";
5
5
  }
6
- function ae() {
7
- return f() && window.self !== window.top;
8
- }
9
- function g() {
10
- return ae() && window.location.search.indexOf("builder.frameEditing=") !== -1;
11
- }
12
- const P = {};
13
- function ie(e, n) {
14
- let t = P[e];
15
- if (t || (t = P[e] = []), t.push(n), f()) {
6
+ const $ = {};
7
+ function ae(e, n) {
8
+ let t = $[e];
9
+ if (t || (t = $[e] = []), t.push(n), h()) {
16
10
  const o = {
17
11
  type: "builder.register",
18
12
  data: {
@@ -27,8 +21,8 @@ function ie(e, n) {
27
21
  }
28
22
  }
29
23
  }
30
- const ce = () => {
31
- ie("insertMenu", {
24
+ const ie = () => {
25
+ ae("insertMenu", {
32
26
  name: "_default",
33
27
  default: !0,
34
28
  items: [
@@ -42,56 +36,49 @@ const ce = () => {
42
36
  { name: "Custom Code" }
43
37
  ]
44
38
  });
45
- }, le = (e) => {
46
- var n, t;
47
- g() && ((n = window.parent) == null || n.postMessage(
39
+ }, ce = () => {
40
+ var e;
41
+ h() && ((e = window.parent) == null || e.postMessage(
48
42
  {
49
43
  type: "builder.sdkInfo",
50
44
  data: {
51
- target: V,
52
- supportsPatchUpdates: !1
53
- }
54
- },
55
- "*"
56
- ), (t = window.parent) == null || t.postMessage(
57
- {
58
- type: "builder.updateContent",
59
- data: {
60
- options: e
45
+ target: U,
46
+ supportsPatchUpdates: !1,
47
+ supportsAddBlockScoping: !0
61
48
  }
62
49
  },
63
50
  "*"
64
- ), window.addEventListener("message", ({ data: o }) => {
65
- var r, s;
66
- if (o)
67
- switch (o.type) {
51
+ ), window.addEventListener("message", ({ data: n }) => {
52
+ var t, o;
53
+ if (!!(n != null && n.type))
54
+ switch (n.type) {
68
55
  case "builder.evaluate": {
69
- const a = o.data.text, c = o.data.arguments || [], i = o.data.id, m = new Function(a);
70
- let d, p = null;
56
+ const r = n.data.text, s = n.data.arguments || [], a = n.data.id, c = new Function(r);
57
+ let i, u = null;
71
58
  try {
72
- d = m.apply(null, c);
73
- } catch (b) {
74
- p = b;
59
+ i = c.apply(null, s);
60
+ } catch (m) {
61
+ u = m;
75
62
  }
76
- p ? (r = window.parent) == null || r.postMessage(
63
+ u ? (t = window.parent) == null || t.postMessage(
77
64
  {
78
65
  type: "builder.evaluateError",
79
- data: { id: i, error: p.message }
66
+ data: { id: a, error: u.message }
80
67
  },
81
68
  "*"
82
- ) : d && typeof d.then == "function" ? d.then((b) => {
83
- var k;
84
- (k = window.parent) == null || k.postMessage(
69
+ ) : i && typeof i.then == "function" ? i.then((m) => {
70
+ var p;
71
+ (p = window.parent) == null || p.postMessage(
85
72
  {
86
73
  type: "builder.evaluateResult",
87
- data: { id: i, result: b }
74
+ data: { id: a, result: m }
88
75
  },
89
76
  "*"
90
77
  );
91
- }).catch(console.error) : (s = window.parent) == null || s.postMessage(
78
+ }).catch(console.error) : (o = window.parent) == null || o.postMessage(
92
79
  {
93
80
  type: "builder.evaluateResult",
94
- data: { result: d, id: i }
81
+ data: { result: i, id: a }
95
82
  },
96
83
  "*"
97
84
  );
@@ -106,14 +93,14 @@ function A(e) {
106
93
  function mn(e) {
107
94
  return e;
108
95
  }
109
- const de = () => Promise.resolve().then(() => se).then((e) => e.default).catch((e) => {
96
+ const le = () => Promise.resolve().then(() => se).then((e) => e.default).catch((e) => {
110
97
  throw console.error(
111
98
  "Error while attempting to dynamically import component RenderBlocks at ../../components/render-blocks.vue",
112
99
  e
113
100
  ), e;
114
- }), ue = {
101
+ }), de = {
115
102
  name: "builder-columns",
116
- components: { RenderBlocks: v(de) },
103
+ components: { RenderBlocks: y(le) },
117
104
  props: [
118
105
  "space",
119
106
  "columns",
@@ -161,22 +148,22 @@ const de = () => Promise.resolve().then(() => se).then((e) => e.default).catch((
161
148
  }
162
149
  }
163
150
  };
164
- const h = (e, n) => {
151
+ const f = (e, n) => {
165
152
  const t = e.__vccOpts || e;
166
153
  for (const [o, r] of n)
167
154
  t[o] = r;
168
155
  return t;
169
156
  };
170
- function me(e, n, t, o, r, s) {
171
- const a = x("render-blocks");
172
- return l(), u("div", {
173
- class: "builder-columns div-361b1o6wv2k",
174
- style: C(s.columnsCssVars)
157
+ function ue(e, n, t, o, r, s) {
158
+ const a = v("render-blocks");
159
+ return l(), d("div", {
160
+ class: "builder-columns div-256wrwn33ry",
161
+ style: _(s.columnsCssVars)
175
162
  }, [
176
- (l(!0), u(w, null, F(t.columns, (c, i) => (l(), u("div", {
163
+ (l(!0), d(C, null, E(t.columns, (c, i) => (l(), d("div", {
177
164
  key: i,
178
- class: "builder-column div-361b1o6wv2k-2",
179
- style: C({
165
+ class: "builder-column div-256wrwn33ry-2",
166
+ style: _({
180
167
  width: s.getColumnCssWidth(i),
181
168
  marginLeft: `${i === 0 ? 0 : s.getGutterSize()}px`,
182
169
  ...s.columnCssVars
@@ -186,22 +173,22 @@ function me(e, n, t, o, r, s) {
186
173
  blocks: e.markMutable(c.blocks),
187
174
  path: `component.options.columns.${i}.blocks`,
188
175
  parent: t.builderBlock.id,
189
- style: {
176
+ styleProp: {
190
177
  flexGrow: "1"
191
178
  }
192
179
  }, null, 8, ["blocks", "path", "parent"])
193
180
  ], 4))), 128))
194
181
  ], 4);
195
182
  }
196
- const pe = /* @__PURE__ */ h(ue, [["render", me], ["__scopeId", "data-v-c19c7ec1"]]);
183
+ const me = /* @__PURE__ */ f(de, [["render", ue], ["__scopeId", "data-v-2e5dc506"]]);
197
184
  function W(e) {
198
185
  return e.replace(/http(s)?:/, "");
199
186
  }
200
- function he(e = "", n, t) {
187
+ function pe(e = "", n, t) {
201
188
  const o = new RegExp("([?&])" + n + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
202
189
  return e.match(o) ? e.replace(o, "$1" + n + "=" + encodeURIComponent(t) + "$2") : e + r + n + "=" + encodeURIComponent(t);
203
190
  }
204
- function fe(e, n) {
191
+ function he(e, n) {
205
192
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !n)
206
193
  return e;
207
194
  if (n === "master")
@@ -215,18 +202,18 @@ function fe(e, n) {
215
202
  }
216
203
  return null;
217
204
  }
218
- function E(e) {
205
+ function R(e) {
219
206
  if (!e)
220
207
  return e;
221
208
  const n = [100, 200, 400, 800, 1200, 1600, 2e3];
222
209
  if (e.match(/builder\.io/)) {
223
210
  let t = e;
224
211
  const o = Number(e.split("?width=")[1]);
225
- return isNaN(o) || (t = `${t} ${o}w`), n.filter((r) => r !== o).map((r) => `${he(e, "width", r)} ${r}w`).concat([t]).join(", ");
212
+ return isNaN(o) || (t = `${t} ${o}w`), n.filter((r) => r !== o).map((r) => `${pe(e, "width", r)} ${r}w`).concat([t]).join(", ");
226
213
  }
227
- return e.match(/cdn\.shopify\.com/) ? n.map((t) => [fe(e, `${t}x${t}`), t]).filter(([t]) => !!t).map(([t, o]) => `${t} ${o}w`).concat([e]).join(", ") : e;
214
+ return e.match(/cdn\.shopify\.com/) ? n.map((t) => [he(e, `${t}x${t}`), t]).filter(([t]) => !!t).map(([t, o]) => `${t} ${o}w`).concat([e]).join(", ") : e;
228
215
  }
229
- const ge = {
216
+ const fe = {
230
217
  name: "builder-image",
231
218
  props: [
232
219
  "image",
@@ -249,10 +236,10 @@ const ge = {
249
236
  return this.srcset;
250
237
  if (this.srcset && ((t = this.image) == null ? void 0 : t.includes("builder.io/api/v1/image"))) {
251
238
  if (!this.srcset.includes(this.image.split("?")[0]))
252
- return console.debug("Removed given srcset"), E(n);
239
+ return console.debug("Removed given srcset"), R(n);
253
240
  } else if (this.image && !this.srcset)
254
- return E(n);
255
- return E(n);
241
+ return R(n);
242
+ return R(n);
256
243
  },
257
244
  webpSrcSet() {
258
245
  var e;
@@ -271,62 +258,62 @@ const ge = {
271
258
  }
272
259
  }
273
260
  };
274
- const be = ["srcset"], ye = ["alt", "role", "src", "srcset", "sizes"], ve = ["srcset"], xe = {
261
+ const ge = ["srcset"], be = ["alt", "role", "src", "srcset", "sizes"], ye = ["srcset"], ve = {
275
262
  key: 2,
276
- class: "div-256wrwn33ry-2"
263
+ class: "div-2inev3z4vnk-2"
277
264
  };
278
- function _e(e, n, t, o, r, s) {
279
- var a, c, i, m;
280
- return l(), u(w, null, [
281
- R("picture", null, [
282
- s.webpSrcSet ? (l(), u("source", {
265
+ function xe(e, n, t, o, r, s) {
266
+ var a, c, i, u;
267
+ return l(), d(C, null, [
268
+ T("picture", null, [
269
+ s.webpSrcSet ? (l(), d("source", {
283
270
  key: 0,
284
271
  type: "image/webp",
285
272
  srcset: s.webpSrcSet
286
- }, null, 8, be)) : y("", !0),
287
- R("img", {
273
+ }, null, 8, ge)) : b("", !0),
274
+ T("img", {
288
275
  loading: "lazy",
289
276
  alt: t.altText,
290
277
  role: t.altText ? "presentation" : void 0,
291
- style: C({
278
+ style: _({
292
279
  objectPosition: t.backgroundSize || "center",
293
280
  objectFit: t.backgroundSize || "cover"
294
281
  }),
295
- class: U(
282
+ class: j(
296
283
  s._classStringToObject(
297
- "builder-image" + (t.className ? " " + t.className : "") + " img-256wrwn33ry"
284
+ "builder-image" + (t.className ? " " + t.className : "") + " img-2inev3z4vnk"
298
285
  )
299
286
  ),
300
287
  src: t.image,
301
288
  srcset: s.srcSetToUse,
302
289
  sizes: t.sizes
303
- }, null, 14, ye),
304
- R("source", { srcset: s.srcSetToUse }, null, 8, ve)
290
+ }, null, 14, be),
291
+ T("source", { srcset: s.srcSetToUse }, null, 8, ye)
305
292
  ]),
306
- t.aspectRatio && !(((c = (a = t.builderBlock) == null ? void 0 : a.children) == null ? void 0 : c.length) && t.fitContent) ? (l(), u("div", {
293
+ t.aspectRatio && !(((c = (a = t.builderBlock) == null ? void 0 : a.children) == null ? void 0 : c.length) && t.fitContent) ? (l(), d("div", {
307
294
  key: 0,
308
- class: "builder-image-sizer div-256wrwn33ry",
309
- style: C({
295
+ class: "builder-image-sizer div-2inev3z4vnk",
296
+ style: _({
310
297
  paddingTop: t.aspectRatio * 100 + "%"
311
298
  })
312
- }, null, 4)) : y("", !0),
313
- ((m = (i = t.builderBlock) == null ? void 0 : i.children) == null ? void 0 : m.length) && t.fitContent ? S(e.$slots, "default", { key: 1 }, void 0, !0) : y("", !0),
314
- !t.fitContent && e.children ? (l(), u("div", xe, [
315
- S(e.$slots, "default", {}, void 0, !0)
316
- ])) : y("", !0)
299
+ }, null, 4)) : b("", !0),
300
+ ((u = (i = t.builderBlock) == null ? void 0 : i.children) == null ? void 0 : u.length) && t.fitContent ? w(e.$slots, "default", { key: 1 }, void 0, !0) : b("", !0),
301
+ !t.fitContent && e.children ? (l(), d("div", ve, [
302
+ w(e.$slots, "default", {}, void 0, !0)
303
+ ])) : b("", !0)
317
304
  ], 64);
318
305
  }
319
- const ke = /* @__PURE__ */ h(ge, [["render", _e], ["__scopeId", "data-v-bf4ee294"]]), Ce = {
306
+ const ke = /* @__PURE__ */ f(fe, [["render", xe], ["__scopeId", "data-v-219500ea"]]), _e = {
320
307
  name: "builder-text",
321
308
  props: ["text"]
322
- }, we = ["innerHTML"];
323
- function Se(e, n, t, o, r, s) {
324
- return l(), u("span", {
309
+ }, Ce = ["innerHTML"];
310
+ function we(e, n, t, o, r, s) {
311
+ return l(), d("span", {
325
312
  class: "builder-text",
326
313
  innerHTML: t.text
327
- }, null, 8, we);
314
+ }, null, 8, Ce);
328
315
  }
329
- const Ie = /* @__PURE__ */ h(Ce, [["render", Se]]), Te = {
316
+ const Se = /* @__PURE__ */ f(_e, [["render", we]]), Ie = {
330
317
  name: "builder-video",
331
318
  props: [
332
319
  "autoPlay",
@@ -359,12 +346,18 @@ const Ie = /* @__PURE__ */ h(Ce, [["render", Se]]), Te = {
359
346
  playsInline: !0
360
347
  } : {}
361
348
  };
349
+ },
350
+ spreadProps() {
351
+ return {
352
+ ...this.attributes,
353
+ ...this.videoProps
354
+ };
362
355
  }
363
356
  }
364
- }, Re = ["src", "poster"];
365
- function Ee(e, n, t, o, r, s) {
357
+ }, Te = ["src", "poster"];
358
+ function Re(e, n, t, o, r, s) {
366
359
  var a;
367
- return l(), u("video", _(s.videoProps, {
360
+ return l(), d("video", x(s.spreadProps, {
368
361
  style: {
369
362
  width: "100%",
370
363
  height: "100%",
@@ -375,25 +368,25 @@ function Ee(e, n, t, o, r, s) {
375
368
  },
376
369
  src: t.video || "no-src",
377
370
  poster: t.posterImage
378
- }), null, 16, Re);
371
+ }), null, 16, Te);
379
372
  }
380
- const Fe = /* @__PURE__ */ h(Te, [["render", Ee]]);
381
- function j(e, n = null, t = ".") {
373
+ const Ee = /* @__PURE__ */ f(Ie, [["render", Re]]);
374
+ function F(e, n = null, t = ".") {
382
375
  return Object.keys(e).reduce((o, r) => {
383
376
  const s = e[r], a = [n, r].filter(Boolean).join(t);
384
377
  return [
385
378
  typeof s == "object",
386
379
  s !== null,
387
380
  !(Array.isArray(s) && s.length === 0)
388
- ].every(Boolean) ? { ...o, ...j(s, a, t) } : { ...o, [a]: s };
381
+ ].every(Boolean) ? { ...o, ...F(s, a, t) } : { ...o, [a]: s };
389
382
  }, {});
390
383
  }
391
- const L = "builder.", je = (e) => {
384
+ const L = "builder.", Fe = (e) => {
392
385
  const n = {};
393
386
  return e.forEach((t, o) => {
394
387
  n[o] = t;
395
388
  }), n;
396
- }, Ue = (e) => {
389
+ }, je = (e) => {
397
390
  if (!e)
398
391
  return {};
399
392
  const n = D(e), t = {};
@@ -403,12 +396,12 @@ const L = "builder.", je = (e) => {
403
396
  t[r] = n[o];
404
397
  }
405
398
  }), t;
406
- }, Ve = () => {
407
- if (!f())
399
+ }, Ue = () => {
400
+ if (!h())
408
401
  return {};
409
402
  const e = new URLSearchParams(window.location.search);
410
- return Ue(e);
411
- }, D = (e) => e instanceof URLSearchParams ? je(e) : e;
403
+ return je(e);
404
+ }, D = (e) => e instanceof URLSearchParams ? Fe(e) : e;
412
405
  function Ae() {
413
406
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : null;
414
407
  }
@@ -420,7 +413,7 @@ async function K() {
420
413
  }
421
414
  return e.default || e;
422
415
  }
423
- const $e = (e) => {
416
+ const Ve = (e) => {
424
417
  const n = e.split(".");
425
418
  return n.length > 2 ? n.slice(1).join(".") : e;
426
419
  }, G = async ({
@@ -441,11 +434,11 @@ const $e = (e) => {
441
434
  value: n,
442
435
  expires: t
443
436
  }) => {
444
- const r = (f() ? location.protocol === "https:" : !0) ? Be : [[]], s = t ? [["expires", t.toUTCString()]] : [[]], a = [
437
+ const r = (h() ? location.protocol === "https:" : !0) ? Be : [[]], s = t ? [["expires", t.toUTCString()]] : [[]], a = [
445
438
  [e, n],
446
439
  ...s,
447
440
  ["path", "/"],
448
- ["domain", $e(window.location.hostname)],
441
+ ["domain", Ve(window.location.hostname)],
449
442
  ...r
450
443
  ];
451
444
  return Oe(a);
@@ -463,14 +456,14 @@ const $e = (e) => {
463
456
  } catch (r) {
464
457
  console.warn("[COOKIE] SET error: ", r);
465
458
  }
466
- }, We = "builderio.variations", Y = (e) => `${We}.${e}`, Le = ({
459
+ }, $e = "builderio.variations", Y = (e) => `${$e}.${e}`, We = ({
467
460
  contentId: e,
468
461
  canTrack: n
469
- }) => G({ name: Y(e), canTrack: n }), Me = ({
462
+ }) => G({ name: Y(e), canTrack: n }), Le = ({
470
463
  contentId: e,
471
464
  canTrack: n,
472
465
  value: t
473
- }) => J({ name: Y(e), value: t, canTrack: n }), T = (e) => e != null, Ne = (e) => T(e.id) && T(e.variations) && Object.keys(e.variations).length > 0, He = ({
466
+ }) => J({ name: Y(e), value: t, canTrack: n }), I = (e) => e != null, Me = (e) => I(e.id) && I(e.variations) && Object.keys(e.variations).length > 0, Ne = ({
474
467
  id: e,
475
468
  variations: n
476
469
  }) => {
@@ -498,18 +491,18 @@ const $e = (e) => {
498
491
  item: e,
499
492
  canTrack: n
500
493
  }) => {
501
- const t = await Le({
494
+ const t = await We({
502
495
  canTrack: n,
503
496
  contentId: e.id
504
497
  }), o = t ? M({ item: e, testGroupId: t }) : void 0;
505
498
  if (o)
506
499
  return o;
507
500
  {
508
- const r = He({
501
+ const r = Ne({
509
502
  variations: e.variations,
510
503
  id: e.id
511
504
  });
512
- return Me({
505
+ return Le({
513
506
  contentId: e.id,
514
507
  value: r,
515
508
  canTrack: n
@@ -517,19 +510,19 @@ const $e = (e) => {
517
510
  console.error("could not store A/B test variation: ", s);
518
511
  }), M({ item: e, testGroupId: r });
519
512
  }
520
- }, qe = async ({
513
+ }, He = async ({
521
514
  item: e,
522
515
  canTrack: n
523
516
  }) => {
524
- if (!Ne(e))
517
+ if (!Me(e))
525
518
  return;
526
519
  const t = await ze({ item: e, canTrack: n });
527
520
  Object.assign(e, t);
528
521
  };
529
522
  async function X(e) {
530
- return (await Ke({ ...e, limit: 1 })).results[0] || null;
523
+ return (await De({ ...e, limit: 1 })).results[0] || null;
531
524
  }
532
- const De = (e) => {
525
+ const qe = (e) => {
533
526
  const {
534
527
  limit: n = 30,
535
528
  userAttributes: t,
@@ -540,63 +533,67 @@ const De = (e) => {
540
533
  } = e, c = new URL(
541
534
  `https://cdn.builder.io/api/v2/content/${s}?apiKey=${a}&limit=${n}&noTraverse=${r}`
542
535
  ), i = {
543
- ...Ve(),
536
+ ...Ue(),
544
537
  ...D(e.options || {})
545
- }, m = j(i);
546
- for (const d in m)
547
- c.searchParams.set(d, String(m[d]));
538
+ }, u = F(i);
539
+ for (const m in u)
540
+ c.searchParams.set(m, String(u[m]));
548
541
  if (t && c.searchParams.set("userAttributes", JSON.stringify(t)), o) {
549
- const d = j({ query: o });
550
- for (const p in d)
551
- c.searchParams.set(p, JSON.stringify(d[p]));
542
+ const m = F({ query: o });
543
+ for (const p in m)
544
+ c.searchParams.set(p, JSON.stringify(m[p]));
552
545
  }
553
546
  return c;
554
547
  };
555
- async function Ke(e) {
556
- const n = De(e), o = await (await K())(n.href).then(
548
+ async function De(e) {
549
+ const n = qe(e), o = await (await K())(n.href).then(
557
550
  (s) => s.json()
558
551
  ), r = e.canTrack !== !1;
559
552
  if (r)
560
553
  for (const s of o.results)
561
- await qe({ item: s, canTrack: r });
554
+ await He({ item: s, canTrack: r });
562
555
  return o;
563
556
  }
564
- const Ge = () => Promise.resolve().then(() => on).then((e) => e.default).catch((e) => {
557
+ const Ke = () => Promise.resolve().then(() => on).then((e) => e.default).catch((e) => {
565
558
  throw console.error(
566
559
  "Error while attempting to dynamically import component RenderContent at ../../components/render-content/render-content.vue",
567
560
  e
568
561
  ), e;
569
- }), Je = {
562
+ }), Ge = {
570
563
  name: "builder-symbol",
571
- components: { RenderContent: v(Ge) },
564
+ components: { RenderContent: y(Ke) },
572
565
  props: ["symbol", "attributes"],
573
- data: () => ({ className: "builder-symbol", content: null, markMutable: A }),
566
+ data: () => ({
567
+ className: "builder-symbol",
568
+ fetchedContent: null,
569
+ markMutable: A
570
+ }),
574
571
  inject: {
575
572
  builderContext: "BuilderContext"
576
573
  },
577
- mounted() {
578
- var e;
579
- this.content = (e = this.symbol) == null ? void 0 : e.content;
580
- },
581
574
  watch: {
582
575
  onUpdateHook0() {
583
576
  const e = this.symbol;
584
- e && !e.content && !this.content && e.model && X({
577
+ e && !e.content && !this.fetchedContent && e.model && X({
585
578
  model: e.model,
586
579
  apiKey: this.builderContext.apiKey,
587
580
  query: {
588
581
  id: e.entry
589
582
  }
590
583
  }).then((n) => {
591
- this.content = n;
584
+ this.fetchedContent = n;
592
585
  });
593
586
  }
594
587
  },
595
588
  computed: {
589
+ contentToUse() {
590
+ var e;
591
+ return ((e = this.symbol) == null ? void 0 : e.content) || this.fetchedContent;
592
+ },
596
593
  onUpdateHook0() {
597
594
  return {
598
595
  0: this.symbol,
599
- 1: this.content
596
+ 1: this.fetchedContent
600
597
  };
601
598
  }
602
599
  },
@@ -611,11 +608,11 @@ const Ge = () => Promise.resolve().then(() => on).then((e) => e.default).catch((
611
608
  return n;
612
609
  }
613
610
  }
614
- }, Ye = ["dataSet"];
615
- function Xe(e, n, t, o, r, s) {
616
- var c, i, m, d, p;
617
- const a = x("render-content");
618
- return l(), u("div", _(t.attributes, {
611
+ }, Je = ["dataSet"];
612
+ function Ye(e, n, t, o, r, s) {
613
+ var c, i, u, m, p;
614
+ const a = v("render-content");
615
+ return l(), d("div", x(t.attributes, {
619
616
  dataSet: {
620
617
  class: e.className
621
618
  },
@@ -628,48 +625,48 @@ function Xe(e, n, t, o, r, s) {
628
625
  data: e.markMutable({
629
626
  ...(c = t.symbol) == null ? void 0 : c.data,
630
627
  ...s.builderContext.state,
631
- ...(d = (m = (i = t.symbol) == null ? void 0 : i.content) == null ? void 0 : m.data) == null ? void 0 : d.state
628
+ ...(m = (u = (i = t.symbol) == null ? void 0 : i.content) == null ? void 0 : u.data) == null ? void 0 : m.state
632
629
  }),
633
630
  model: (p = t.symbol) == null ? void 0 : p.model,
634
- content: e.markMutable(e.content)
631
+ content: e.markMutable(s.contentToUse)
635
632
  }, null, 8, ["apiKey", "context", "customComponents", "data", "model", "content"])
636
- ], 16, Ye);
633
+ ], 16, Je);
637
634
  }
638
- const Qe = /* @__PURE__ */ h(Je, [["render", Xe]]), Ze = {
635
+ const Xe = /* @__PURE__ */ f(Ge, [["render", Ye]]), Qe = {
639
636
  name: "builder-button",
640
637
  props: ["attributes", "text", "link", "openLinkInNewTab"]
641
638
  };
642
- const et = ["href", "target"];
643
- function tt(e, n, t, o, r, s) {
644
- return t.link ? (l(), u("a", _({ key: 0 }, t.attributes, {
639
+ const Ze = ["href", "target"];
640
+ function et(e, n, t, o, r, s) {
641
+ return t.link ? (l(), d("a", x({ key: 0 }, t.attributes, {
645
642
  role: "button",
646
643
  href: t.link,
647
644
  target: t.openLinkInNewTab ? "_blank" : void 0
648
- }), B(t.text), 17, et)) : (l(), u("button", _({ key: 1 }, t.attributes, { class: "button-1yj9n7yt24z" }), B(t.text), 17));
645
+ }), P(t.text), 17, Ze)) : (l(), d("button", x({ key: 1 }, t.attributes, { class: "button-20vehov4ay6" }), P(t.text), 17));
649
646
  }
650
- const nt = /* @__PURE__ */ h(Ze, [["render", tt], ["__scopeId", "data-v-a1cb1b3e"]]), ot = {
647
+ const tt = /* @__PURE__ */ f(Qe, [["render", et], ["__scopeId", "data-v-4f342625"]]), nt = {
651
648
  name: "builder-section-component",
652
649
  props: ["attributes", "maxWidth"]
653
650
  };
654
- function st(e, n, t, o, r, s) {
655
- return l(), u("section", _(t.attributes, {
651
+ function ot(e, n, t, o, r, s) {
652
+ return l(), d("section", x(t.attributes, {
656
653
  style: t.maxWidth && typeof t.maxWidth == "number" ? {
657
654
  maxWidth: t.maxWidth
658
655
  } : void 0
659
656
  }), [
660
- S(e.$slots, "default")
657
+ w(e.$slots, "default")
661
658
  ], 16);
662
659
  }
663
- const rt = /* @__PURE__ */ h(ot, [["render", st]]), at = {
660
+ const st = /* @__PURE__ */ f(nt, [["render", ot]]), rt = {
664
661
  name: "builder-fragment-component",
665
662
  props: []
666
663
  };
667
- function it(e, n, t, o, r, s) {
668
- return l(), u("span", null, [
669
- S(e.$slots, "default")
664
+ function at(e, n, t, o, r, s) {
665
+ return l(), d("span", null, [
666
+ w(e.$slots, "default")
670
667
  ]);
671
668
  }
672
- const ct = /* @__PURE__ */ h(at, [["render", it]]), lt = {
669
+ const it = /* @__PURE__ */ f(rt, [["render", at]]), ct = {
673
670
  name: "Core:Button",
674
671
  builtIn: !0,
675
672
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
@@ -707,10 +704,10 @@ const ct = /* @__PURE__ */ h(at, [["render", it]]), lt = {
707
704
  static: !0,
708
705
  noWrap: !0
709
706
  };
710
- function $(e) {
707
+ function V(e) {
711
708
  return e.__qwik_serializable__ = !0, e;
712
709
  }
713
- const dt = {
710
+ const lt = {
714
711
  name: "Columns",
715
712
  builtIn: !0,
716
713
  inputs: [
@@ -898,7 +895,7 @@ const dt = {
898
895
  ]
899
896
  }
900
897
  ],
901
- onChange: $((e) => {
898
+ onChange: V((e) => {
902
899
  function n() {
903
900
  t.forEach((o) => {
904
901
  o.delete("width");
@@ -935,14 +932,14 @@ const dt = {
935
932
  advanced: !0
936
933
  }
937
934
  ]
938
- }, ut = {
935
+ }, dt = {
939
936
  name: "Fragment",
940
937
  static: !0,
941
938
  hidden: !0,
942
939
  builtIn: !0,
943
940
  canHaveChildren: !0,
944
941
  noWrap: !0
945
- }, mt = {
942
+ }, ut = {
946
943
  name: "Image",
947
944
  static: !0,
948
945
  builtIn: !0,
@@ -962,18 +959,18 @@ const dt = {
962
959
  allowedFileTypes: ["jpeg", "jpg", "png", "svg"],
963
960
  required: !0,
964
961
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",
965
- onChange: $((e) => {
962
+ onChange: V((e) => {
966
963
  e.delete("srcset"), e.delete("noWebp");
967
964
  function t(a, c = 6e4) {
968
- return new Promise((i, m) => {
969
- const d = document.createElement("img");
965
+ return new Promise((i, u) => {
966
+ const m = document.createElement("img");
970
967
  let p = !1;
971
- d.onload = () => {
972
- p = !0, i(d);
973
- }, d.addEventListener("error", (b) => {
974
- console.warn("Image load failed", b.error), m(b.error);
975
- }), d.src = a, setTimeout(() => {
976
- p || m(new Error("Image load timed out"));
968
+ m.onload = () => {
969
+ p = !0, i(m);
970
+ }, m.addEventListener("error", (k) => {
971
+ console.warn("Image load failed", k.error), u(k.error);
972
+ }), m.src = a, setTimeout(() => {
973
+ p || u(new Error("Image load timed out"));
977
974
  }, c);
978
975
  });
979
976
  }
@@ -1068,7 +1065,7 @@ const dt = {
1068
1065
  defaultValue: 0.7041
1069
1066
  }
1070
1067
  ]
1071
- }, pt = {
1068
+ }, mt = {
1072
1069
  name: "Core:Section",
1073
1070
  static: !0,
1074
1071
  builtIn: !0,
@@ -1113,7 +1110,7 @@ const dt = {
1113
1110
  }
1114
1111
  }
1115
1112
  ]
1116
- }, ht = {
1113
+ }, pt = {
1117
1114
  name: "Symbol",
1118
1115
  noWrap: !0,
1119
1116
  static: !0,
@@ -1152,7 +1149,7 @@ const dt = {
1152
1149
  type: "boolean"
1153
1150
  }
1154
1151
  ]
1155
- }, ft = {
1152
+ }, ht = {
1156
1153
  name: "Text",
1157
1154
  static: !0,
1158
1155
  builtIn: !0,
@@ -1172,7 +1169,7 @@ const dt = {
1172
1169
  height: "auto",
1173
1170
  textAlign: "center"
1174
1171
  }
1175
- }, gt = {
1172
+ }, ft = {
1176
1173
  name: "Video",
1177
1174
  canHaveChildren: !0,
1178
1175
  builtIn: !0,
@@ -1274,7 +1271,7 @@ const dt = {
1274
1271
  advanced: !0
1275
1272
  }
1276
1273
  ]
1277
- }, bt = {
1274
+ }, gt = {
1278
1275
  name: "Embed",
1279
1276
  static: !0,
1280
1277
  builtIn: !0,
@@ -1285,7 +1282,7 @@ const dt = {
1285
1282
  required: !0,
1286
1283
  defaultValue: "",
1287
1284
  helperText: "e.g. enter a youtube url, google map, etc",
1288
- onChange: $((e) => {
1285
+ onChange: V((e) => {
1289
1286
  const n = e.get("url");
1290
1287
  if (n)
1291
1288
  return e.set("content", "Loading..."), fetch(
@@ -1308,11 +1305,11 @@ const dt = {
1308
1305
  hideFromUI: !0
1309
1306
  }
1310
1307
  ]
1311
- }, yt = [
1308
+ }, bt = [
1312
1309
  "text/javascript",
1313
1310
  "application/javascript",
1314
1311
  "application/ecmascript"
1315
- ], vt = (e) => yt.includes(e.type), xt = {
1312
+ ], yt = (e) => bt.includes(e.type), vt = {
1316
1313
  name: "builder-embed",
1317
1314
  props: ["content"],
1318
1315
  data: () => ({ scriptsInserted: [], scriptsRun: [], ranInitFn: !1 }),
@@ -1340,7 +1337,7 @@ const dt = {
1340
1337
  this.scriptsInserted.push(t.src);
1341
1338
  const o = document.createElement("script");
1342
1339
  o.async = !0, o.src = t.src, document.head.appendChild(o);
1343
- } else if (vt(t) && !this.scriptsRun.includes(t.innerText))
1340
+ } else if (yt(t) && !this.scriptsRun.includes(t.innerText))
1344
1341
  try {
1345
1342
  this.scriptsRun.push(t.innerText), new Function(t.innerText)();
1346
1343
  } catch (o) {
@@ -1349,15 +1346,22 @@ const dt = {
1349
1346
  }
1350
1347
  }
1351
1348
  }
1352
- }, _t = ["innerHTML"];
1349
+ }, xt = ["innerHTML"];
1353
1350
  function kt(e, n, t, o, r, s) {
1354
- return l(), u("div", {
1351
+ return l(), d("div", {
1355
1352
  class: "builder-embed",
1356
1353
  ref: "elem",
1357
1354
  innerHTML: t.content
1358
- }, null, 8, _t);
1355
+ }, null, 8, xt);
1359
1356
  }
1360
- const Ct = /* @__PURE__ */ h(xt, [["render", kt]]), wt = {
1357
+ const _t = /* @__PURE__ */ f(vt, [["render", kt]]);
1358
+ function Ct() {
1359
+ return h() && window.self !== window.top;
1360
+ }
1361
+ function g() {
1362
+ return Ct() && window.location.search.indexOf("builder.frameEditing=") !== -1;
1363
+ }
1364
+ const wt = {
1361
1365
  name: "builder-img-component",
1362
1366
  props: [
1363
1367
  "backgroundSize",
@@ -1370,7 +1374,7 @@ const Ct = /* @__PURE__ */ h(xt, [["render", kt]]), wt = {
1370
1374
  data: () => ({ isEditing: g })
1371
1375
  }, St = ["alt", "src"];
1372
1376
  function It(e, n, t, o, r, s) {
1373
- return l(), u("img", _(t.attributes, {
1377
+ return l(), d("img", x(t.attributes, {
1374
1378
  style: {
1375
1379
  objectFit: t.backgroundSize || "cover",
1376
1380
  objectPosition: t.backgroundPosition || "center"
@@ -1380,7 +1384,7 @@ function It(e, n, t, o, r, s) {
1380
1384
  src: t.imgSrc || t.image
1381
1385
  }), null, 16, St);
1382
1386
  }
1383
- const Tt = /* @__PURE__ */ h(wt, [["render", It]]), Rt = {
1387
+ const Tt = /* @__PURE__ */ f(wt, [["render", It]]), Rt = {
1384
1388
  name: "Raw:Img",
1385
1389
  hideFromInsertMenu: !0,
1386
1390
  builtIn: !0,
@@ -1443,9 +1447,9 @@ const Tt = /* @__PURE__ */ h(wt, [["render", It]]), Rt = {
1443
1447
  }
1444
1448
  }, Ft = ["innerHTML"];
1445
1449
  function jt(e, n, t, o, r, s) {
1446
- return l(), u("div", {
1450
+ return l(), d("div", {
1447
1451
  ref: "elem",
1448
- class: U(
1452
+ class: j(
1449
1453
  s._classStringToObject(
1450
1454
  "builder-custom-code" + (t.replaceNodes ? " replace-nodes" : "")
1451
1455
  )
@@ -1453,7 +1457,7 @@ function jt(e, n, t, o, r, s) {
1453
1457
  innerHTML: t.code
1454
1458
  }, null, 10, Ft);
1455
1459
  }
1456
- const Ut = /* @__PURE__ */ h(Et, [["render", jt]]), Vt = {
1460
+ const Ut = /* @__PURE__ */ f(Et, [["render", jt]]), At = {
1457
1461
  name: "Custom Code",
1458
1462
  static: !0,
1459
1463
  builtIn: !0,
@@ -1480,18 +1484,18 @@ const Ut = /* @__PURE__ */ h(Et, [["render", jt]]), Vt = {
1480
1484
  advanced: !0
1481
1485
  }
1482
1486
  ]
1483
- }, At = () => [
1484
- { component: pe, ...dt },
1485
- { component: ke, ...mt },
1487
+ }, Vt = () => [
1488
+ { component: me, ...lt },
1489
+ { component: ke, ...ut },
1486
1490
  { component: Tt, ...Rt },
1487
- { component: Ie, ...ft },
1488
- { component: Fe, ...gt },
1489
- { component: Qe, ...ht },
1490
- { component: nt, ...lt },
1491
- { component: rt, ...pt },
1492
- { component: ct, ...ut },
1493
- { component: Ct, ...bt },
1494
- { component: Ut, ...Vt }
1491
+ { component: Se, ...ht },
1492
+ { component: Ee, ...ft },
1493
+ { component: Xe, ...pt },
1494
+ { component: tt, ...ct },
1495
+ { component: st, ...mt },
1496
+ { component: it, ...dt },
1497
+ { component: _t, ...gt },
1498
+ { component: Ut, ...At }
1495
1499
  ];
1496
1500
  function N({
1497
1501
  code: e,
@@ -1505,8 +1509,8 @@ function N({
1505
1509
  }
1506
1510
  const r = {
1507
1511
  isEditing: g(),
1508
- isBrowser: f(),
1509
- isServer: !f()
1512
+ isBrowser: h(),
1513
+ isServer: !h()
1510
1514
  }, a = !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e;
1511
1515
  try {
1512
1516
  return new Function(
@@ -1529,34 +1533,34 @@ function N({
1529
1533
  );
1530
1534
  }
1531
1535
  }
1532
- function $t() {
1533
- return !f() || g() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
1536
+ function Ot() {
1537
+ return !h() || g() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
1534
1538
  }
1535
- const Q = [];
1539
+ const Q = (e) => JSON.parse(JSON.stringify(e)), Z = [];
1536
1540
  function pn(e, n) {
1537
- return Q.push({ component: e, ...n }), console.warn(
1541
+ return Z.push({ component: e, ...n }), console.warn(
1538
1542
  "registerComponent is deprecated. Use the `customComponents` prop in RenderContent instead to provide your custom components to the builder SDK."
1539
1543
  ), e;
1540
1544
  }
1541
- const Ot = ({
1545
+ const Bt = ({
1542
1546
  component: e,
1543
1547
  ...n
1544
1548
  }) => ({
1545
1549
  type: "builder.registerComponent",
1546
1550
  data: Wt(n)
1547
- }), Z = (e) => JSON.parse(JSON.stringify(e)), Bt = (e) => typeof e == "function" ? Pt(e) : Z(e), Pt = (e) => {
1551
+ }), Pt = (e) => typeof e == "function" ? $t(e) : Q(e), $t = (e) => {
1548
1552
  const n = e.toString().trim();
1549
1553
  return `return (${!n.startsWith("function") && !n.startsWith("(") ? "function " : ""}${n}).apply(this, arguments)`;
1550
1554
  }, Wt = ({
1551
1555
  inputs: e,
1552
1556
  ...n
1553
1557
  }) => ({
1554
- ...Z(n),
1558
+ ...Q(n),
1555
1559
  inputs: e == null ? void 0 : e.map(
1556
1560
  (t) => Object.entries(t).reduce(
1557
1561
  (o, [r, s]) => ({
1558
1562
  ...o,
1559
- [r]: Bt(s)
1563
+ [r]: Pt(s)
1560
1564
  }),
1561
1565
  {}
1562
1566
  )
@@ -1578,16 +1582,16 @@ const te = "builderSessionId", Mt = async ({ canTrack: e }) => {
1578
1582
  name: te,
1579
1583
  canTrack: e
1580
1584
  });
1581
- if (T(n))
1585
+ if (I(n))
1582
1586
  return n;
1583
1587
  {
1584
1588
  const t = Nt();
1585
- Ht({ id: t, canTrack: e });
1589
+ zt({ id: t, canTrack: e });
1586
1590
  }
1587
- }, Nt = () => ee(), Ht = ({
1591
+ }, Nt = () => ee(), zt = ({
1588
1592
  id: e,
1589
1593
  canTrack: n
1590
- }) => J({ name: te, value: e, canTrack: n }), ne = () => f() && typeof localStorage < "u" ? localStorage : void 0, zt = ({
1594
+ }) => J({ name: te, value: e, canTrack: n }), ne = () => h() && typeof localStorage < "u" ? localStorage : void 0, Ht = ({
1591
1595
  key: e,
1592
1596
  canTrack: n
1593
1597
  }) => {
@@ -1611,11 +1615,11 @@ const te = "builderSessionId", Mt = async ({ canTrack: e }) => {
1611
1615
  }, oe = "builderVisitorId", Dt = ({ canTrack: e }) => {
1612
1616
  if (!e)
1613
1617
  return;
1614
- const n = zt({
1618
+ const n = Ht({
1615
1619
  key: oe,
1616
1620
  canTrack: e
1617
1621
  });
1618
- if (T(n))
1622
+ if (I(n))
1619
1623
  return n;
1620
1624
  {
1621
1625
  const t = Kt();
@@ -1653,8 +1657,8 @@ const te = "builderSessionId", Mt = async ({ canTrack: e }) => {
1653
1657
  contentId: o
1654
1658
  }
1655
1659
  });
1656
- async function H(e) {
1657
- if (!!e.canTrack && !g() && !!(f() || V === "reactNative"))
1660
+ async function z(e) {
1661
+ if (!!e.canTrack && !g() && !!(h() || U === "reactNative"))
1658
1662
  return fetch("https://builder.io/api/v1/track", {
1659
1663
  method: "POST",
1660
1664
  body: JSON.stringify({
@@ -1673,7 +1677,7 @@ const Xt = () => Promise.resolve().then(() => se).then((e) => e.default).catch((
1673
1677
  "Error while attempting to dynamically import component RenderBlocks at ../render-blocks.vue",
1674
1678
  e
1675
1679
  ), e;
1676
- }), Qt = () => import("./render-styles.efaaccdf.js").then((e) => e.default).catch((e) => {
1680
+ }), Qt = () => import("./render-styles.32666ea6.js").then((e) => e.default).catch((e) => {
1677
1681
  throw console.error(
1678
1682
  "Error while attempting to dynamically import component RenderContentStyles at ./components/render-styles.vue",
1679
1683
  e
@@ -1681,8 +1685,8 @@ const Xt = () => Promise.resolve().then(() => se).then((e) => e.default).catch((
1681
1685
  }), Zt = {
1682
1686
  name: "render-content",
1683
1687
  components: {
1684
- RenderContentStyles: v(Qt),
1685
- RenderBlocks: v(Xt)
1688
+ RenderContentStyles: y(Qt),
1689
+ RenderBlocks: y(Xt)
1686
1690
  },
1687
1691
  props: [
1688
1692
  "content",
@@ -1691,9 +1695,7 @@ const Xt = () => Promise.resolve().then(() => se).then((e) => e.default).catch((
1691
1695
  "context",
1692
1696
  "customComponents",
1693
1697
  "model",
1694
- "apiKey",
1695
- "locale",
1696
- "includeRefs"
1698
+ "apiKey"
1697
1699
  ],
1698
1700
  data: () => ({
1699
1701
  forceReRenderCount: 0,
@@ -1726,29 +1728,22 @@ const Xt = () => Promise.resolve().then(() => se).then((e) => e.default).catch((
1726
1728
  },
1727
1729
  mounted() {
1728
1730
  var e;
1729
- if (f()) {
1730
- if (g() && (this.forceReRenderCount = this.forceReRenderCount + 1, ce(), le({
1731
- ...this.locale ? {
1732
- locale: this.locale
1733
- } : {},
1734
- ...this.includeRefs ? {
1735
- includeRefs: this.includeRefs
1736
- } : {}
1737
- }), Object.values(this.allRegisteredComponents).forEach(
1731
+ if (h()) {
1732
+ if (g() && (this.forceReRenderCount = this.forceReRenderCount + 1, ie(), ce(), Object.values(this.allRegisteredComponents).forEach(
1738
1733
  (n) => {
1739
1734
  var o;
1740
- const t = Ot(n);
1735
+ const t = Bt(n);
1741
1736
  (o = window.parent) == null || o.postMessage(t, "*");
1742
1737
  }
1743
1738
  ), window.addEventListener("message", this.processMessage), window.addEventListener(
1744
1739
  "builder:component:stateChangeListenerActivated",
1745
1740
  this.emitStateUpdate
1746
- )), this.useContent && H({
1741
+ )), this.useContent && z({
1747
1742
  type: "impression",
1748
1743
  canTrack: this.canTrackToUse,
1749
1744
  contentId: (e = this.useContent) == null ? void 0 : e.id,
1750
1745
  orgId: this.apiKey
1751
- }), $t()) {
1746
+ }), Ot()) {
1752
1747
  const n = new URL(location.href).searchParams;
1753
1748
  if (this.model && n.get("builder.preview") === this.model) {
1754
1749
  const t = n.get("apiKey") || n.get("builder.space");
@@ -1775,7 +1770,7 @@ const Xt = () => Promise.resolve().then(() => se).then((e) => e.default).catch((
1775
1770
  }
1776
1771
  },
1777
1772
  unmounted() {
1778
- f() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
1773
+ h() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
1779
1774
  "builder:component:stateChangeListenerActivated",
1780
1775
  this.emitStateUpdate
1781
1776
  ));
@@ -1809,11 +1804,14 @@ const Xt = () => Promise.resolve().then(() => se).then((e) => e.default).catch((
1809
1804
  },
1810
1805
  allRegisteredComponents() {
1811
1806
  return [
1812
- ...At(),
1813
- ...Q,
1807
+ ...Vt(),
1808
+ ...Z,
1814
1809
  ...this.customComponents || []
1815
1810
  ].reduce(
1816
- (t, o) => ({ ...t, [o.name]: o }),
1811
+ (t, o) => ({
1812
+ ...t,
1813
+ [o.name]: o
1814
+ }),
1817
1815
  {}
1818
1816
  );
1819
1817
  },
@@ -1823,7 +1821,7 @@ const Xt = () => Promise.resolve().then(() => se).then((e) => e.default).catch((
1823
1821
  shouldRenderContentStyles() {
1824
1822
  var e, n, t, o, r;
1825
1823
  return Boolean(
1826
- (((n = (e = this.useContent) == null ? void 0 : e.data) == null ? void 0 : n.cssCode) || ((r = (o = (t = this.useContent) == null ? void 0 : t.data) == null ? void 0 : o.customFonts) == null ? void 0 : r.length)) && V !== "reactNative"
1824
+ (((n = (e = this.useContent) == null ? void 0 : e.data) == null ? void 0 : n.cssCode) || ((r = (o = (t = this.useContent) == null ? void 0 : t.data) == null ? void 0 : o.customFonts) == null ? void 0 : r.length)) && U !== "reactNative"
1827
1825
  );
1828
1826
  },
1829
1827
  onUpdateHook0() {
@@ -1867,7 +1865,7 @@ const Xt = () => Promise.resolve().then(() => se).then((e) => e.default).catch((
1867
1865
  },
1868
1866
  onClick(e) {
1869
1867
  var n;
1870
- this.useContent && H({
1868
+ this.useContent && z({
1871
1869
  type: "click",
1872
1870
  canTrack: this.canTrackToUse,
1873
1871
  contentId: (n = this.useContent) == null ? void 0 : n.id,
@@ -1886,7 +1884,10 @@ const Xt = () => Promise.resolve().then(() => se).then((e) => e.default).catch((
1886
1884
  },
1887
1885
  handleRequest({ url: e, key: n }) {
1888
1886
  K().then((t) => t(e)).then((t) => t.json()).then((t) => {
1889
- const o = { ...this.overrideState, [n]: t };
1887
+ const o = {
1888
+ ...this.overrideState,
1889
+ [n]: t
1890
+ };
1890
1891
  this.overrideState = o;
1891
1892
  }).catch((t) => {
1892
1893
  console.log("error fetching dynamic data", e, t);
@@ -1918,36 +1919,37 @@ const Xt = () => Promise.resolve().then(() => se).then((e) => e.default).catch((
1918
1919
  );
1919
1920
  }
1920
1921
  }
1921
- }, en = ["builder-content-id"];
1922
+ }, en = ["builder-content-id", "builder-model"];
1922
1923
  function tn(e, n, t, o, r, s) {
1923
- var i, m, d, p, b, k, O;
1924
- const a = x("render-content-styles"), c = x("render-blocks");
1925
- return s.useContent ? (l(), u("div", {
1924
+ var i, u, m, p, k, O, B;
1925
+ const a = v("render-content-styles"), c = v("render-blocks");
1926
+ return s.useContent ? (l(), d("div", {
1926
1927
  key: 0,
1927
1928
  ref: "elementRef",
1928
1929
  onClick: n[0] || (n[0] = (re) => s.onClick(re)),
1929
- "builder-content-id": (i = s.useContent) == null ? void 0 : i.id
1930
+ "builder-content-id": (i = s.useContent) == null ? void 0 : i.id,
1931
+ "builder-model": t.model
1930
1932
  }, [
1931
- s.shouldRenderContentStyles ? (l(), I(a, {
1933
+ s.shouldRenderContentStyles ? (l(), S(a, {
1932
1934
  key: 0,
1933
- cssCode: (d = (m = s.useContent) == null ? void 0 : m.data) == null ? void 0 : d.cssCode,
1934
- customFonts: (b = (p = s.useContent) == null ? void 0 : p.data) == null ? void 0 : b.customFonts
1935
- }, null, 8, ["cssCode", "customFonts"])) : y("", !0),
1936
- (l(), I(c, {
1937
- blocks: e.markMutable((O = (k = s.useContent) == null ? void 0 : k.data) == null ? void 0 : O.blocks),
1935
+ cssCode: (m = (u = s.useContent) == null ? void 0 : u.data) == null ? void 0 : m.cssCode,
1936
+ customFonts: (k = (p = s.useContent) == null ? void 0 : p.data) == null ? void 0 : k.customFonts
1937
+ }, null, 8, ["cssCode", "customFonts"])) : b("", !0),
1938
+ (l(), S(c, {
1939
+ blocks: e.markMutable((B = (O = s.useContent) == null ? void 0 : O.data) == null ? void 0 : B.blocks),
1938
1940
  key: e.forceReRenderCount
1939
1941
  }, null, 8, ["blocks"]))
1940
- ], 8, en)) : y("", !0);
1942
+ ], 8, en)) : b("", !0);
1941
1943
  }
1942
- const nn = /* @__PURE__ */ h(Zt, [["render", tn]]), on = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1944
+ const nn = /* @__PURE__ */ f(Zt, [["render", tn]]), on = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1943
1945
  __proto__: null,
1944
1946
  default: nn
1945
- }, Symbol.toStringTag, { value: "Module" })), sn = () => import("./block-styles.88005ace.js").then((e) => e.default).catch((e) => {
1947
+ }, Symbol.toStringTag, { value: "Module" })), sn = () => import("./block-styles.4fb6c64e.js").then((e) => e.default).catch((e) => {
1946
1948
  throw console.error(
1947
1949
  "Error while attempting to dynamically import component BlockStyles at ./render-block/block-styles.vue",
1948
1950
  e
1949
1951
  ), e;
1950
- }), rn = () => import("./render-block.593fc01c.js").then((e) => e.default).catch((e) => {
1952
+ }), rn = () => import("./render-block.a0b27065.js").then((e) => e.default).catch((e) => {
1951
1953
  throw console.error(
1952
1954
  "Error while attempting to dynamically import component RenderBlock at ./render-block/render-block.vue",
1953
1955
  e
@@ -1955,10 +1957,10 @@ const nn = /* @__PURE__ */ h(Zt, [["render", tn]]), on = /* @__PURE__ */ Object.
1955
1957
  }), an = {
1956
1958
  name: "render-blocks",
1957
1959
  components: {
1958
- RenderBlock: v(rn),
1959
- BlockStyles: v(sn)
1960
+ RenderBlock: y(rn),
1961
+ BlockStyles: y(sn)
1960
1962
  },
1961
- props: ["blocks", "parent", "path", "style"],
1963
+ props: ["blocks", "parent", "path", "styleProp"],
1962
1964
  inject: {
1963
1965
  builderContext: "BuilderContext"
1964
1966
  },
@@ -2008,71 +2010,72 @@ const nn = /* @__PURE__ */ h(Zt, [["render", tn]]), on = /* @__PURE__ */ Object.
2008
2010
  };
2009
2011
  const cn = ["builder-path", "builder-parent-id", "dataSet"];
2010
2012
  function ln(e, n, t, o, r, s) {
2011
- const a = x("render-block"), c = x("block-styles");
2012
- return l(), u("div", {
2013
- class: U(s._classStringToObject(s.className + " div-7fq9d0i380")),
2013
+ const a = v("render-block"), c = v("block-styles");
2014
+ return l(), d("div", {
2015
+ class: j(s._classStringToObject(s.className + " div-2oa2wtipkzk")),
2014
2016
  "builder-path": t.path,
2015
2017
  "builder-parent-id": t.parent,
2016
2018
  dataSet: {
2017
2019
  class: s.className
2018
2020
  },
2019
- style: C(t.style),
2021
+ style: _(t.styleProp),
2020
2022
  onClick: n[0] || (n[0] = (i) => s.onClick()),
2021
2023
  onMouseenter: n[1] || (n[1] = (i) => s.onMouseEnter())
2022
2024
  }, [
2023
- t.blocks ? (l(!0), u(w, { key: 0 }, F(t.blocks, (i, m) => (l(), I(a, {
2025
+ t.blocks ? (l(!0), d(C, { key: 0 }, E(t.blocks, (i, u) => (l(), S(a, {
2024
2026
  key: "render-block-" + i.id,
2025
2027
  block: i,
2026
2028
  context: s.builderContext
2027
- }, null, 8, ["block", "context"]))), 128)) : y("", !0),
2028
- t.blocks ? (l(!0), u(w, { key: 1 }, F(t.blocks, (i, m) => (l(), I(c, {
2029
+ }, null, 8, ["block", "context"]))), 128)) : b("", !0),
2030
+ t.blocks ? (l(!0), d(C, { key: 1 }, E(t.blocks, (i, u) => (l(), S(c, {
2029
2031
  key: "block-style-" + i.id,
2030
2032
  block: i,
2031
2033
  context: s.builderContext
2032
- }, null, 8, ["block", "context"]))), 128)) : y("", !0)
2034
+ }, null, 8, ["block", "context"]))), 128)) : b("", !0)
2033
2035
  ], 46, cn);
2034
2036
  }
2035
- const dn = /* @__PURE__ */ h(an, [["render", ln], ["__scopeId", "data-v-768b9dd4"]]), se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2037
+ const dn = /* @__PURE__ */ f(an, [["render", ln], ["__scopeId", "data-v-75c39314"]]), se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2036
2038
  __proto__: null,
2037
2039
  default: dn
2038
- }, Symbol.toStringTag, { value: "Module" })), z = {};
2040
+ }, Symbol.toStringTag, { value: "Module" })), H = {};
2039
2041
  function hn(e) {
2040
- if (f()) {
2041
- Object.assign(z, e);
2042
+ if (h()) {
2043
+ Object.assign(H, e);
2042
2044
  const n = {
2043
2045
  type: "builder.settingsChange",
2044
- data: z
2046
+ data: H
2045
2047
  };
2046
2048
  parent.postMessage(n, "*");
2047
2049
  }
2048
2050
  }
2049
2051
  export {
2050
- nt as B,
2051
- pe as C,
2052
- ct as F,
2052
+ tt as B,
2053
+ me as C,
2054
+ it as F,
2053
2055
  ke as I,
2054
- Qe as S,
2055
- V as T,
2056
- Fe as V,
2057
- h as _,
2058
- Ie as a,
2059
- rt as b,
2056
+ Xe as S,
2057
+ U as T,
2058
+ Ee as V,
2059
+ f as _,
2060
+ Se as a,
2061
+ st as b,
2060
2062
  dn as c,
2061
- $t as d,
2063
+ Ot as d,
2062
2064
  N as e,
2063
2065
  Q as f,
2064
- pn as g,
2065
- Ot as h,
2066
+ Z as g,
2067
+ pn as h,
2066
2068
  g as i,
2067
- ie as j,
2068
- X as k,
2069
- De as l,
2069
+ Bt as j,
2070
+ ae as k,
2071
+ X as l,
2070
2072
  mn as m,
2071
- Ke as n,
2072
- je as o,
2073
- Ue as p,
2074
- Ve as q,
2073
+ qe as n,
2074
+ De as o,
2075
+ Fe as p,
2076
+ je as q,
2075
2077
  nn as r,
2076
2078
  hn as s,
2077
- D as t
2079
+ Ue as t,
2080
+ D as u
2078
2081
  };